@timardex/cluemart-shared 1.5.791 → 1.5.792
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/{affiliate-B-jSNkBB.d.ts → affiliate-C09PnHJx.d.ts} +3 -0
- package/dist/{affiliate-CfLsTGgF.d.mts → affiliate-ISt4ujwI.d.mts} +3 -0
- package/dist/{chunk-XR5RTNG3.mjs → chunk-5DA4KGDS.mjs} +6 -2
- package/dist/{chunk-XR5RTNG3.mjs.map → chunk-5DA4KGDS.mjs.map} +1 -1
- package/dist/{chunk-V25PPJEQ.mjs → chunk-G4HKDB7T.mjs} +14 -2
- package/dist/chunk-G4HKDB7T.mjs.map +1 -0
- package/dist/{chunk-HATC3Y5J.mjs → chunk-VZPFJYPL.mjs} +2 -2
- package/dist/{chunk-45PVMXYY.mjs → chunk-XY5XRXR3.mjs} +4 -1
- package/dist/{chunk-45PVMXYY.mjs.map → chunk-XY5XRXR3.mjs.map} +1 -1
- package/dist/formFields/index.cjs +12 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/hooks/index.cjs +16 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +8 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +20 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.mjs +19 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +19 -2
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +6 -1
- package/dist/sharing/index.d.ts +6 -1
- package/dist/sharing/index.mjs +7 -5
- package/dist/types/index.cjs +3 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +12 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +13 -1
- package/dist/utils/index.d.ts +13 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-V25PPJEQ.mjs.map +0 -1
- /package/dist/{chunk-HATC3Y5J.mjs.map → chunk-VZPFJYPL.mjs.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -276,6 +276,7 @@ __export(index_exports, {
|
|
|
276
276
|
splitShareDescriptionSections: () => splitShareDescriptionSections,
|
|
277
277
|
stallTypeOptions: () => stallTypeOptions,
|
|
278
278
|
statusOptions: () => statusOptions,
|
|
279
|
+
stripOverlaySubtitleSpecialChars: () => stripOverlaySubtitleSpecialChars,
|
|
279
280
|
tagOptions: () => tagOptions,
|
|
280
281
|
timeFormat: () => timeFormat,
|
|
281
282
|
toCalendarIsoDate: () => toCalendarIsoDate,
|
|
@@ -1112,6 +1113,9 @@ var TIER_FROM_LICENCE = {
|
|
|
1112
1113
|
|
|
1113
1114
|
// src/types/affiliate.ts
|
|
1114
1115
|
var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
|
|
1116
|
+
EnumAffiliateRewardType2["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS"] = "ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS";
|
|
1117
|
+
EnumAffiliateRewardType2["ACTIVE_VENDOR_PRO_SUBSCRIPTION"] = "ACTIVE_VENDOR_PRO_SUBSCRIPTION";
|
|
1118
|
+
EnumAffiliateRewardType2["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION"] = "ACTIVE_VENDOR_STANDARD_SUBSCRIPTION";
|
|
1115
1119
|
EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
|
|
1116
1120
|
EnumAffiliateRewardType2["NEW_VENDOR_REGISTRATION"] = "NEW_VENDOR_REGISTRATION";
|
|
1117
1121
|
return EnumAffiliateRewardType2;
|
|
@@ -1384,6 +1388,18 @@ var AFFILIATE_REWARDS = {
|
|
|
1384
1388
|
["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
|
|
1385
1389
|
description: "5 points for new vendor registration (one-time reward)",
|
|
1386
1390
|
value: 5
|
|
1391
|
+
},
|
|
1392
|
+
["ACTIVE_VENDOR_PRO_SUBSCRIPTION" /* ACTIVE_VENDOR_PRO_SUBSCRIPTION */]: {
|
|
1393
|
+
description: "3 points for active vendor pro subscription (monthly reward)",
|
|
1394
|
+
value: 3
|
|
1395
|
+
},
|
|
1396
|
+
["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION" /* ACTIVE_VENDOR_STANDARD_SUBSCRIPTION */]: {
|
|
1397
|
+
description: "1 point for active vendor standard subscription (monthly reward)",
|
|
1398
|
+
value: 1
|
|
1399
|
+
},
|
|
1400
|
+
["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS" /* ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS */]: {
|
|
1401
|
+
description: "50 points for active event with vendor registrations (one-time reward)",
|
|
1402
|
+
value: 50
|
|
1387
1403
|
}
|
|
1388
1404
|
};
|
|
1389
1405
|
function createAffiliateReward(rewardType, createdAt) {
|
|
@@ -8987,6 +9003,9 @@ function buildShareOgDescription(_title, description) {
|
|
|
8987
9003
|
splitShareDescriptionSections(description)
|
|
8988
9004
|
);
|
|
8989
9005
|
}
|
|
9006
|
+
function stripOverlaySubtitleSpecialChars(text) {
|
|
9007
|
+
return text.replace(/\p{Extended_Pictographic}/gu, "").replace(/[^\p{L}\p{M}\p{N}\s.,!?'"&\-():;/]/gu, "");
|
|
9008
|
+
}
|
|
8990
9009
|
|
|
8991
9010
|
// src/sharing/normalizeShareRouteId.ts
|
|
8992
9011
|
function normalizeShareRouteId(id) {
|
|
@@ -9301,6 +9320,7 @@ var fonts = {
|
|
|
9301
9320
|
splitShareDescriptionSections,
|
|
9302
9321
|
stallTypeOptions,
|
|
9303
9322
|
statusOptions,
|
|
9323
|
+
stripOverlaySubtitleSpecialChars,
|
|
9304
9324
|
tagOptions,
|
|
9305
9325
|
timeFormat,
|
|
9306
9326
|
toCalendarIsoDate,
|