@timardex/cluemart-shared 2.2.22 → 2.2.24

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.
Files changed (35) hide show
  1. package/dist/{chunk-YKJAOTF7.mjs → chunk-6O6TRUOV.mjs} +2 -2
  2. package/dist/{chunk-FWKZZMQR.mjs → chunk-IKRXLKJ3.mjs} +1 -1
  3. package/dist/{chunk-FWKZZMQR.mjs.map → chunk-IKRXLKJ3.mjs.map} +1 -1
  4. package/dist/{chunk-MTBH5LMV.mjs → chunk-MUDAYKZ6.mjs} +16 -2
  5. package/dist/chunk-MUDAYKZ6.mjs.map +1 -0
  6. package/dist/{chunk-JWWUTS56.mjs → chunk-PNGFNH7J.mjs} +2 -2
  7. package/dist/{chunk-64RGRFSO.mjs → chunk-UOJGSBHK.mjs} +34 -18
  8. package/dist/chunk-UOJGSBHK.mjs.map +1 -0
  9. package/dist/formFields/index.cjs +14 -14
  10. package/dist/formFields/index.cjs.map +1 -1
  11. package/dist/formFields/index.mjs +4 -4
  12. package/dist/hooks/index.cjs +14 -14
  13. package/dist/hooks/index.cjs.map +1 -1
  14. package/dist/hooks/index.mjs +5 -5
  15. package/dist/index.cjs +47 -15
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.mts +41 -8
  18. package/dist/index.d.ts +41 -8
  19. package/dist/index.mjs +44 -15
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/sharing/index.cjs +14 -1
  22. package/dist/sharing/index.cjs.map +1 -1
  23. package/dist/sharing/index.mjs +2 -2
  24. package/dist/types/index.cjs.map +1 -1
  25. package/dist/types/index.mjs +1 -1
  26. package/dist/utils/index.cjs +47 -15
  27. package/dist/utils/index.cjs.map +1 -1
  28. package/dist/utils/index.d.mts +41 -8
  29. package/dist/utils/index.d.ts +41 -8
  30. package/dist/utils/index.mjs +10 -4
  31. package/package.json +1 -1
  32. package/dist/chunk-64RGRFSO.mjs.map +0 -1
  33. package/dist/chunk-MTBH5LMV.mjs.map +0 -1
  34. /package/dist/{chunk-YKJAOTF7.mjs.map → chunk-6O6TRUOV.mjs.map} +0 -0
  35. /package/dist/{chunk-JWWUTS56.mjs.map → chunk-PNGFNH7J.mjs.map} +0 -0
@@ -42,14 +42,14 @@ import {
42
42
  vendorStallSize,
43
43
  vendorStartDateFields,
44
44
  vendorTable
45
- } from "../chunk-JWWUTS56.mjs";
45
+ } from "../chunk-PNGFNH7J.mjs";
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-64RGRFSO.mjs";
49
+ } from "../chunk-UOJGSBHK.mjs";
50
50
  import "../chunk-RE4NZPYY.mjs";
51
- import "../chunk-MTBH5LMV.mjs";
52
- import "../chunk-FWKZZMQR.mjs";
51
+ import "../chunk-MUDAYKZ6.mjs";
52
+ import "../chunk-IKRXLKJ3.mjs";
53
53
  import "../chunk-RAYUJODN.mjs";
54
54
  import "../chunk-DQ7ZHIXW.mjs";
55
55
  import "../chunk-7DQBUZXY.mjs";
@@ -397,6 +397,19 @@ var import_customParseFormat = __toESM(require("dayjs/plugin/customParseFormat.j
397
397
  var import_isoWeek = __toESM(require("dayjs/plugin/isoWeek.js"));
398
398
  import_dayjs.default.extend(import_customParseFormat.default);
399
399
  import_dayjs.default.extend(import_isoWeek.default);
400
+ var EVENT_DATE_STATUS_LABELS = {
401
+ ["Starting_Soon" /* STARTING_SOON */]: "Starting Soon",
402
+ ["Started" /* STARTED */]: "Started",
403
+ ["Today" /* TODAY */]: "Today",
404
+ ["Tomorrow" /* TOMORROW */]: "Tomorrow",
405
+ ["This_Week" /* THIS_WEEK */]: "This Week",
406
+ ["Next_Week" /* NEXT_WEEK */]: "Next Week",
407
+ ["Upcoming" /* UPCOMING */]: "Upcoming",
408
+ ["Ended" /* ENDED */]: "Ended",
409
+ ["Rescheduled" /* RE_SCHEDULED */]: "Rescheduled",
410
+ ["Canceled" /* CANCELED */]: "Canceled",
411
+ ["Invalid" /* INVALID */]: "Invalid"
412
+ };
400
413
  var EVENT_DATE_STATUS_PERIOD_MAP = {
401
414
  ["Today" /* TODAY */]: [
402
415
  "Started" /* STARTED */,
@@ -432,7 +445,7 @@ import_dayjs2.default.extend(import_isSameOrAfter.default);
432
445
  var futureTimePeriods = FUTURE_EVENT_DATE_STATUSES.filter(
433
446
  (status) => status !== "Starting_Soon" /* STARTING_SOON */
434
447
  ).map((status) => ({
435
- label: status.replaceAll("_", " "),
448
+ label: EVENT_DATE_STATUS_LABELS[status],
436
449
  value: status
437
450
  }));
438
451
 
@@ -635,19 +648,6 @@ var SCHOOL_MIN_STUDENT_COUNT = 300;
635
648
 
636
649
  // src/calendar/eventCalendar.ts
637
650
  var import_dayjs3 = __toESM(require("dayjs"));
638
- var EVENT_DATE_STATUS_LABELS = {
639
- ["Starting_Soon" /* STARTING_SOON */]: "Starting Soon",
640
- ["Started" /* STARTED */]: "Started",
641
- ["Today" /* TODAY */]: "Today",
642
- ["Tomorrow" /* TOMORROW */]: "Tomorrow",
643
- ["This_Week" /* THIS_WEEK */]: "This Week",
644
- ["Next_Week" /* NEXT_WEEK */]: "Next Week",
645
- ["Upcoming" /* UPCOMING */]: "Upcoming",
646
- ["Ended" /* ENDED */]: "Ended",
647
- ["Rescheduled" /* RE_SCHEDULED */]: "Rescheduled",
648
- ["Canceled" /* CANCELED */]: "Canceled",
649
- ["Invalid" /* INVALID */]: "Invalid"
650
- };
651
651
 
652
652
  // src/formFields/categories/clothingAndFashion.ts
653
653
  var clothingAndFashion = [