@timardex/cluemart-shared 2.2.27 → 2.2.28
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-RVTFPYR6.mjs → chunk-356ZQFAQ.mjs} +2 -2
- package/dist/{chunk-SVP23BRG.mjs → chunk-RQPB4TAM.mjs} +9 -1
- package/dist/chunk-RQPB4TAM.mjs.map +1 -0
- package/dist/formFields/index.cjs +7 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/hooks/index.cjs +7 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +9 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +9 -1
- package/dist/utils/index.d.ts +9 -1
- package/dist/utils/index.mjs +3 -1
- package/package.json +1 -1
- package/dist/chunk-SVP23BRG.mjs.map +0 -1
- /package/dist/{chunk-RVTFPYR6.mjs.map → chunk-356ZQFAQ.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import "../chunk-6O6TRUOV.mjs";
|
|
|
2
2
|
import "../chunk-VA5YN2K3.mjs";
|
|
3
3
|
import "../chunk-VPANTTZI.mjs";
|
|
4
4
|
import "../chunk-DWO35OY4.mjs";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-356ZQFAQ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
SCHOOL_MIN_STUDENT_COUNT,
|
|
8
8
|
isValidIrdNumber,
|
|
9
9
|
normalizeUrl
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-RQPB4TAM.mjs";
|
|
11
11
|
import "../chunk-RE4NZPYY.mjs";
|
|
12
12
|
import {
|
|
13
13
|
dateFormat,
|
package/dist/index.cjs
CHANGED
|
@@ -130,6 +130,7 @@ __export(index_exports, {
|
|
|
130
130
|
OG_DESCRIPTION_LINE_BREAK: () => OG_DESCRIPTION_LINE_BREAK,
|
|
131
131
|
PERMISSIONS: () => PERMISSIONS,
|
|
132
132
|
POST_SHARE_RESOURCE_TYPES: () => POST_SHARE_RESOURCE_TYPES,
|
|
133
|
+
PRESERVED_RELATION_DATE_STATUSES: () => PRESERVED_RELATION_DATE_STATUSES,
|
|
133
134
|
PROMO_CODE_PREFIX: () => PROMO_CODE_PREFIX,
|
|
134
135
|
PUBLIC_SHARE_PATH_TYPES: () => PUBLIC_SHARE_PATH_TYPES,
|
|
135
136
|
PostTypeLabels: () => PostTypeLabels,
|
|
@@ -3562,6 +3563,13 @@ function getVendorEventsData({
|
|
|
3562
3563
|
};
|
|
3563
3564
|
}
|
|
3564
3565
|
|
|
3566
|
+
// src/utils/relations/preservedRelationDateStatuses.ts
|
|
3567
|
+
var PRESERVED_RELATION_DATE_STATUSES = /* @__PURE__ */ new Set([
|
|
3568
|
+
"Accepted" /* ACCEPTED */,
|
|
3569
|
+
"Completed" /* COMPLETED */,
|
|
3570
|
+
"Rejected" /* REJECTED */
|
|
3571
|
+
]);
|
|
3572
|
+
|
|
3565
3573
|
// src/utils/toUserFacingErrorMessage.ts
|
|
3566
3574
|
var DEFAULT_USER_FACING_ERROR = "Something went wrong. Please try again.";
|
|
3567
3575
|
var NETWORK_USER_FACING_ERROR = "Unable to connect. Please check your internet connection and try again.";
|
|
@@ -10379,6 +10387,7 @@ function canAccessAdminPath(roles, pathname) {
|
|
|
10379
10387
|
OG_DESCRIPTION_LINE_BREAK,
|
|
10380
10388
|
PERMISSIONS,
|
|
10381
10389
|
POST_SHARE_RESOURCE_TYPES,
|
|
10390
|
+
PRESERVED_RELATION_DATE_STATUSES,
|
|
10382
10391
|
PROMO_CODE_PREFIX,
|
|
10383
10392
|
PUBLIC_SHARE_PATH_TYPES,
|
|
10384
10393
|
PostTypeLabels,
|