@timardex/cluemart-shared 1.5.740 → 1.5.741

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,8 +43,8 @@ import {
43
43
  vendorStallSize,
44
44
  vendorStartDateFields,
45
45
  vendorTable
46
- } from "../chunk-6YISZ3OD.mjs";
47
- import "../chunk-XWFE6U3E.mjs";
46
+ } from "../chunk-L5BYCXXP.mjs";
47
+ import "../chunk-VPYYAF3L.mjs";
48
48
  import "../chunk-7VNXO63T.mjs";
49
49
  import "../chunk-4SNW63TJ.mjs";
50
50
  export {
@@ -387,12 +387,6 @@ var import_customParseFormat = __toESM(require("dayjs/plugin/customParseFormat.j
387
387
  var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter.js"));
388
388
  var import_timezone = __toESM(require("dayjs/plugin/timezone.js"));
389
389
  var import_utc = __toESM(require("dayjs/plugin/utc.js"));
390
- var dateFormat = "DD-MM-YYYY";
391
- var timeFormat = "HH:mm";
392
- import_dayjs.default.extend(import_customParseFormat.default);
393
- import_dayjs.default.extend(import_utc.default);
394
- import_dayjs.default.extend(import_timezone.default);
395
- import_dayjs.default.extend(import_isSameOrAfter.default);
396
390
 
397
391
  // src/types/ad.ts
398
392
  var EnumAdShowOn = /* @__PURE__ */ ((EnumAdShowOn2) => {
@@ -517,6 +511,22 @@ var PostTypeLabels = {
517
511
  ["play_and_win" /* PLAY_AND_WIN */]: "Play & Win"
518
512
  };
519
513
 
514
+ // src/utils/date.ts
515
+ var dateFormat = "DD-MM-YYYY";
516
+ var timeFormat = "HH:mm";
517
+ import_dayjs.default.extend(import_customParseFormat.default);
518
+ import_dayjs.default.extend(import_utc.default);
519
+ import_dayjs.default.extend(import_timezone.default);
520
+ import_dayjs.default.extend(import_isSameOrAfter.default);
521
+ var futureTimePeriods = mapArrayToOptions(
522
+ Object.values(EnumEventDateStatus)
523
+ ).filter(
524
+ (period) => period.value !== "Starting_Soon" /* STARTING_SOON */ && period.value !== "Canceled" /* CANCELED */ && period.value !== "Rescheduled" /* RE_SCHEDULED */ && period.value !== "Started" /* STARTED */ && period.value !== "Ended" /* ENDED */ && period.value !== "Invalid" /* INVALID */
525
+ ).map((period) => ({
526
+ label: period.value.replaceAll("_", " "),
527
+ value: period.value
528
+ }));
529
+
520
530
  // src/utils/school.ts
521
531
  var SCHOOL_MIN_STUDENT_COUNT = 300;
522
532