@timardex/cluemart-shared 1.5.790 → 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-B1RBuV0w.d.ts → affiliate-C09PnHJx.d.ts} +5 -0
- package/dist/{affiliate-qEbJvGVD.d.mts → affiliate-ISt4ujwI.d.mts} +5 -0
- package/dist/{chunk-B6DDY5XL.mjs → chunk-2US6BYNF.mjs} +3 -1
- package/dist/{chunk-B6DDY5XL.mjs.map → chunk-2US6BYNF.mjs.map} +1 -1
- package/dist/{chunk-TWPPOPRF.mjs → chunk-5DA4KGDS.mjs} +6 -2
- package/dist/{chunk-TWPPOPRF.mjs.map → chunk-5DA4KGDS.mjs.map} +1 -1
- package/dist/{chunk-R6ONCJE5.mjs → chunk-G4HKDB7T.mjs} +14 -2
- package/dist/chunk-G4HKDB7T.mjs.map +1 -0
- package/dist/{chunk-Q23R46FE.mjs → chunk-VZPFJYPL.mjs} +2 -2
- package/dist/{chunk-LPPBP3LJ.mjs → chunk-XY5XRXR3.mjs} +4 -1
- package/dist/{chunk-LPPBP3LJ.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.cjs +2 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +18 -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 +9 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +22 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.mjs +21 -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-R6ONCJE5.mjs.map +0 -1
- /package/dist/{chunk-Q23R46FE.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) {
|
|
@@ -8517,6 +8533,8 @@ var AFFILIATE_FIELDS_FRAGMENT = import_client74.gql`
|
|
|
8517
8533
|
}
|
|
8518
8534
|
createdAt
|
|
8519
8535
|
deletedAt
|
|
8536
|
+
lastRewardRedemptionAt
|
|
8537
|
+
lastRewardRedemptionPoints
|
|
8520
8538
|
overallPoints
|
|
8521
8539
|
owner {
|
|
8522
8540
|
...OwnerFields
|
|
@@ -8985,6 +9003,9 @@ function buildShareOgDescription(_title, description) {
|
|
|
8985
9003
|
splitShareDescriptionSections(description)
|
|
8986
9004
|
);
|
|
8987
9005
|
}
|
|
9006
|
+
function stripOverlaySubtitleSpecialChars(text) {
|
|
9007
|
+
return text.replace(/\p{Extended_Pictographic}/gu, "").replace(/[^\p{L}\p{M}\p{N}\s.,!?'"&\-():;/]/gu, "");
|
|
9008
|
+
}
|
|
8988
9009
|
|
|
8989
9010
|
// src/sharing/normalizeShareRouteId.ts
|
|
8990
9011
|
function normalizeShareRouteId(id) {
|
|
@@ -9299,6 +9320,7 @@ var fonts = {
|
|
|
9299
9320
|
splitShareDescriptionSections,
|
|
9300
9321
|
stallTypeOptions,
|
|
9301
9322
|
statusOptions,
|
|
9323
|
+
stripOverlaySubtitleSpecialChars,
|
|
9302
9324
|
tagOptions,
|
|
9303
9325
|
timeFormat,
|
|
9304
9326
|
toCalendarIsoDate,
|