// 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);
export {
  ACTIVITY_FILTER_STATUS_OPTIONS,
  GenericApiStatus as ActivityApiStatus,
  BadgeActionType as ActivityBadgeActionType,
  GenericDisplayStatus as ActivityDisplayStatus,
  ActivityDraftType,
  getActivityStatusBadgeAction,
  mapActivityStatusToDisplay
};
//# sourceMappingURL=index.mjs.map