@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/sharing/index.cjs
CHANGED
|
@@ -97,7 +97,8 @@ __export(sharing_exports, {
|
|
|
97
97
|
normalizeShareText: () => normalizeShareText,
|
|
98
98
|
shareMessageFooterPlacementForType: () => shareMessageFooterPlacementForType,
|
|
99
99
|
shareSlugResourceId: () => shareSlugResourceId,
|
|
100
|
-
splitShareDescriptionSections: () => splitShareDescriptionSections
|
|
100
|
+
splitShareDescriptionSections: () => splitShareDescriptionSections,
|
|
101
|
+
stripOverlaySubtitleSpecialChars: () => stripOverlaySubtitleSpecialChars
|
|
101
102
|
});
|
|
102
103
|
module.exports = __toCommonJS(sharing_exports);
|
|
103
104
|
|
|
@@ -385,6 +386,18 @@ var AFFILIATE_REWARDS = {
|
|
|
385
386
|
["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
|
|
386
387
|
description: "5 points for new vendor registration (one-time reward)",
|
|
387
388
|
value: 5
|
|
389
|
+
},
|
|
390
|
+
["ACTIVE_VENDOR_PRO_SUBSCRIPTION" /* ACTIVE_VENDOR_PRO_SUBSCRIPTION */]: {
|
|
391
|
+
description: "3 points for active vendor pro subscription (monthly reward)",
|
|
392
|
+
value: 3
|
|
393
|
+
},
|
|
394
|
+
["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION" /* ACTIVE_VENDOR_STANDARD_SUBSCRIPTION */]: {
|
|
395
|
+
description: "1 point for active vendor standard subscription (monthly reward)",
|
|
396
|
+
value: 1
|
|
397
|
+
},
|
|
398
|
+
["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS" /* ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS */]: {
|
|
399
|
+
description: "50 points for active event with vendor registrations (one-time reward)",
|
|
400
|
+
value: 50
|
|
388
401
|
}
|
|
389
402
|
};
|
|
390
403
|
|
|
@@ -1685,6 +1698,9 @@ function buildShareOgDescription(_title, description) {
|
|
|
1685
1698
|
splitShareDescriptionSections(description)
|
|
1686
1699
|
);
|
|
1687
1700
|
}
|
|
1701
|
+
function stripOverlaySubtitleSpecialChars(text) {
|
|
1702
|
+
return text.replace(/\p{Extended_Pictographic}/gu, "").replace(/[^\p{L}\p{M}\p{N}\s.,!?'"&\-():;/]/gu, "");
|
|
1703
|
+
}
|
|
1688
1704
|
|
|
1689
1705
|
// src/sharing/normalizeShareRouteId.ts
|
|
1690
1706
|
function normalizeShareRouteId(id) {
|
|
@@ -1771,6 +1787,7 @@ function shareSlugResourceId(resource) {
|
|
|
1771
1787
|
normalizeShareText,
|
|
1772
1788
|
shareMessageFooterPlacementForType,
|
|
1773
1789
|
shareSlugResourceId,
|
|
1774
|
-
splitShareDescriptionSections
|
|
1790
|
+
splitShareDescriptionSections,
|
|
1791
|
+
stripOverlaySubtitleSpecialChars
|
|
1775
1792
|
});
|
|
1776
1793
|
//# sourceMappingURL=index.cjs.map
|