@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.
- package/dist/{chunk-6OBMKN7F.mjs → chunk-7JDAKGGH.mjs} +2 -2
- package/dist/{chunk-6YISZ3OD.mjs → chunk-L5BYCXXP.mjs} +2 -2
- package/dist/{chunk-XWFE6U3E.mjs → chunk-VPYYAF3L.mjs} +129 -117
- package/dist/chunk-VPYYAF3L.mjs.map +1 -0
- package/dist/formFields/index.cjs +28 -4
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/hooks/index.cjs +16 -6
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +153 -141
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +152 -141
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +82 -58
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/utils/index.cjs +167 -141
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +5 -1
- package/dist/utils/index.d.ts +5 -1
- package/dist/utils/index.mjs +3 -1
- package/package.json +1 -1
- package/dist/chunk-XWFE6U3E.mjs.map +0 -1
- /package/dist/{chunk-6OBMKN7F.mjs.map → chunk-7JDAKGGH.mjs.map} +0 -0
- /package/dist/{chunk-6YISZ3OD.mjs.map → chunk-L5BYCXXP.mjs.map} +0 -0
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
vendorStallSize,
|
|
44
44
|
vendorStartDateFields,
|
|
45
45
|
vendorTable
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
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 {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -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
|
|