"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/types/activitiesHistory.ts
var activitiesHistory_exports = {};
__export(activitiesHistory_exports, {
  ACTIVITY_FILTER_STATUS_OPTIONS: () => ACTIVITY_FILTER_STATUS_OPTIONS,
  ActivityApiStatus: () => GenericApiStatus,
  ActivityBadgeActionType: () => BadgeActionType,
  ActivityDisplayStatus: () => GenericDisplayStatus,
  ActivityDraftType: () => ActivityDraftType,
  getActivityStatusBadgeAction: () => getActivityStatusBadgeAction,
  mapActivityStatusToDisplay: () => mapActivityStatusToDisplay
});
module.exports = __toCommonJS(activitiesHistory_exports);

// src/types/common.ts
var GenericApiStatus = /* @__PURE__ */ ((GenericApiStatus2) => {
  GenericApiStatus2["A_VENCER"] = "A_VENCER";
  GenericApiStatus2["VENCIDA"] = "VENCIDA";
  GenericApiStatus2["CONCLUIDA"] = "CONCLUIDA";
  return GenericApiStatus2;
})(GenericApiStatus || {});
var GenericDisplayStatus = /* @__PURE__ */ ((GenericDisplayStatus3) => {
  GenericDisplayStatus3["ATIVA"] = "ATIVA";
  GenericDisplayStatus3["VENCIDA"] = "VENCIDA";
  GenericDisplayStatus3["CONCLUIDA"] = "CONCLU\xCDDA";
  return GenericDisplayStatus3;
})(GenericDisplayStatus || {});
var BadgeActionType = /* @__PURE__ */ ((BadgeActionType3) => {
  BadgeActionType3["SUCCESS"] = "success";
  BadgeActionType3["WARNING"] = "warning";
  BadgeActionType3["ERROR"] = "error";
  BadgeActionType3["INFO"] = "info";
  return BadgeActionType3;
})(BadgeActionType || {});
var getStatusBadgeAction = (status) => {
  const actionMap = {
    ["CONCLU\xCDDA" /* CONCLUIDA */]: "success" /* SUCCESS */,
    ["ATIVA" /* ATIVA */]: "warning" /* WARNING */,
    ["VENCIDA" /* VENCIDA */]: "error" /* ERROR */
  };
  return actionMap[status] ?? "warning" /* WARNING */;
};
var mapApiStatusToDisplay = (apiStatus) => {
  const statusMap = {
    ["A_VENCER" /* A_VENCER */]: "ATIVA" /* ATIVA */,
    ["VENCIDA" /* VENCIDA */]: "VENCIDA" /* VENCIDA */,
    ["CONCLUIDA" /* CONCLUIDA */]: "CONCLU\xCDDA" /* CONCLUIDA */
  };
  return statusMap[apiStatus];
};

// src/types/activitiesHistory.ts
var ActivityDraftType = /* @__PURE__ */ ((ActivityDraftType2) => {
  ActivityDraftType2["MODELO"] = "MODELO";
  ActivityDraftType2["RASCUNHO"] = "RASCUNHO";
  return ActivityDraftType2;
})(ActivityDraftType || {});
var getActivityStatusBadgeAction = (status) => getStatusBadgeAction(status);
var ACTIVITY_FILTER_STATUS_OPTIONS = [
  { id: "A_VENCER" /* A_VENCER */, name: "A Vencer" },
  { id: "VENCIDA" /* VENCIDA */, name: "Vencida" },
  { id: "CONCLUIDA" /* CONCLUIDA */, name: "Conclu\xEDda" }
];
var mapActivityStatusToDisplay = (apiStatus) => mapApiStatusToDisplay(apiStatus);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ACTIVITY_FILTER_STATUS_OPTIONS,
  ActivityApiStatus,
  ActivityBadgeActionType,
  ActivityDisplayStatus,
  ActivityDraftType,
  getActivityStatusBadgeAction,
  mapActivityStatusToDisplay
});
//# sourceMappingURL=index.js.map