@saasquatch/mint-components 1.11.1-67 → 1.11.1-68
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/cjs/{ShadowViewAddon-d17dd153.js → ShadowViewAddon-a7926766.js} +1 -1
- package/dist/cjs/{copy-text-view-bb2d108f.js → copy-text-view-b70b5e73.js} +2 -0
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +2 -2
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +2 -2
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +1 -0
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +2 -0
- package/dist/esm/{ShadowViewAddon-1c2c3383.js → ShadowViewAddon-43305632.js} +1 -1
- package/dist/esm/{copy-text-view-32aad903.js → copy-text-view-e66261c5.js} +2 -0
- package/dist/esm/sqm-big-stat_38.entry.js +2 -2
- package/dist/esm/sqm-pagination_3.entry.js +3 -2
- package/dist/esm/sqm-stencilbook.entry.js +2 -2
- package/dist/esm-es5/{ShadowViewAddon-1c2c3383.js → ShadowViewAddon-43305632.js} +1 -1
- package/dist/esm-es5/{copy-text-view-32aad903.js → copy-text-view-e66261c5.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-b2718cfe.js → p-1cd93999.js} +1 -1
- package/dist/mint-components/p-4c5c84f5.js +52 -0
- package/dist/mint-components/{p-a2e71bdf.entry.js → p-4f467838.entry.js} +1 -1
- package/dist/mint-components/{p-cdbc9b2b.system.entry.js → p-9be2c9a1.system.entry.js} +1 -1
- package/dist/mint-components/p-9ed09b3a.system.js +1 -1
- package/dist/mint-components/{p-4b5ff38d.system.entry.js → p-b1f4cbc7.system.entry.js} +1 -1
- package/dist/mint-components/{p-a91c4564.entry.js → p-c2d49e51.entry.js} +2 -2
- package/dist/mint-components/{p-e7f5d3b2.system.js → p-c33c3b47.system.js} +1 -1
- package/dist/mint-components/{p-b8b7632b.entry.js → p-d9a55dc5.entry.js} +1 -1
- package/dist/mint-components/{p-a17fe959.system.entry.js → p-df6642a2.system.entry.js} +1 -1
- package/dist/mint-components/p-e14d1312.system.js +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +1 -1
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +2 -8
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +1 -0
- package/dist/types/components.d.ts +2 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-099b57de.system.js +0 -1
- package/dist/mint-components/p-6dec87e3.js +0 -52
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -7,7 +7,7 @@ const index_module = require('./index.module-224d7b8d.js');
|
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const copyTextView = require('./copy-text-view-
|
|
10
|
+
const copyTextView = require('./copy-text-view-b70b5e73.js');
|
|
11
11
|
const mixins = require('./mixins-fe9d4112.js');
|
|
12
12
|
const useChildElements = require('./useChildElements-176ac928.js');
|
|
13
13
|
const luxon = require('./luxon-45228ff5.js');
|
|
@@ -91,6 +91,7 @@ function useReferralCodes(props) {
|
|
|
91
91
|
shareLink: "",
|
|
92
92
|
isCopied: false,
|
|
93
93
|
isUsed: false,
|
|
94
|
+
singleUse: false,
|
|
94
95
|
email: {
|
|
95
96
|
messageLink: "",
|
|
96
97
|
},
|
|
@@ -110,6 +111,7 @@ function useReferralCodes(props) {
|
|
|
110
111
|
referralCode: data.code,
|
|
111
112
|
isCopied: !!data.dateCopied,
|
|
112
113
|
isUsed: !!data.dateUsed,
|
|
114
|
+
singleUse: !!data.singleUse,
|
|
113
115
|
shareLink: (_d = (_c = (_b = data.shareLinkCodes) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.direct,
|
|
114
116
|
email: {
|
|
115
117
|
messageLink: (_g = (_f = (_e = data.shareLinkCodes) === null || _e === void 0 ? void 0 : _e.data) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.email,
|
|
@@ -10,7 +10,7 @@ const jsonpointer = require('./jsonpointer-11327262.js');
|
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
|
-
const copyTextView = require('./copy-text-view-
|
|
13
|
+
const copyTextView = require('./copy-text-view-b70b5e73.js');
|
|
14
14
|
require('./mixins-fe9d4112.js');
|
|
15
15
|
const reRender = require('./re-render-cd2f8774.js');
|
|
16
16
|
const useChildElements = require('./useChildElements-176ac928.js');
|
|
@@ -20,7 +20,7 @@ const index$1 = require('./index-8c6255f5.js');
|
|
|
20
20
|
const useRegistrationFormState = require('./useRegistrationFormState-49dd9295.js');
|
|
21
21
|
const utilities = require('./utilities-719c980a.js');
|
|
22
22
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
23
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
23
|
+
const ShadowViewAddon = require('./ShadowViewAddon-a7926766.js');
|
|
24
24
|
require('./sqm-portal-container-view-976bf0f5.js');
|
|
25
25
|
|
|
26
26
|
const BigStat = class {
|
|
@@ -9,7 +9,7 @@ const index_module = require('./index.module-224d7b8d.js');
|
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
|
-
const copyTextView = require('./copy-text-view-
|
|
12
|
+
const copyTextView = require('./copy-text-view-b70b5e73.js');
|
|
13
13
|
require('./mixins-fe9d4112.js');
|
|
14
14
|
|
|
15
15
|
const style = {
|
|
@@ -168,6 +168,7 @@ function useReferralCode(props) {
|
|
|
168
168
|
open,
|
|
169
169
|
copyString: copyString,
|
|
170
170
|
isCopied: contextData === null || contextData === void 0 ? void 0 : contextData.isCopied,
|
|
171
|
+
showNotificationText: props.showNotificationText && !!(contextData === null || contextData === void 0 ? void 0 : contextData.singleUse),
|
|
171
172
|
};
|
|
172
173
|
}
|
|
173
174
|
|
|
@@ -187,7 +188,7 @@ const ReferralCode = class {
|
|
|
187
188
|
*/
|
|
188
189
|
this.showNotificationText = false;
|
|
189
190
|
/**
|
|
190
|
-
* Shown underneath
|
|
191
|
+
* Shown underneath single-use promo codes when the user has already copied the code
|
|
191
192
|
*
|
|
192
193
|
* @uiName Notification text
|
|
193
194
|
*/
|
|
@@ -9,7 +9,7 @@ const index_module = require('./index.module-224d7b8d.js');
|
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
|
-
const copyTextView = require('./copy-text-view-
|
|
12
|
+
const copyTextView = require('./copy-text-view-b70b5e73.js');
|
|
13
13
|
require('./mixins-fe9d4112.js');
|
|
14
14
|
const GenericTableView = require('./GenericTableView-bb2fcd95.js');
|
|
15
15
|
require('./useChildElements-176ac928.js');
|
|
@@ -29,7 +29,7 @@ const sqmPortalProfileView = require('./sqm-portal-profile-view-7c70d7f9.js');
|
|
|
29
29
|
require('./utilities-719c980a.js');
|
|
30
30
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-1b85b8cf.js');
|
|
31
31
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-cc3c87c3.js');
|
|
32
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
32
|
+
const ShadowViewAddon = require('./ShadowViewAddon-a7926766.js');
|
|
33
33
|
const sqmPortalContainerView = require('./sqm-portal-container-view-976bf0f5.js');
|
|
34
34
|
const sqmInvoiceTableView = require('./sqm-invoice-table-view-2f4f426b.js');
|
|
35
35
|
|
|
@@ -25,7 +25,7 @@ export class ReferralCode {
|
|
|
25
25
|
*/
|
|
26
26
|
this.showNotificationText = false;
|
|
27
27
|
/**
|
|
28
|
-
* Shown underneath
|
|
28
|
+
* Shown underneath single-use promo codes when the user has already copied the code
|
|
29
29
|
*
|
|
30
30
|
* @uiName Notification text
|
|
31
31
|
*/
|
|
@@ -151,7 +151,7 @@ export class ReferralCode {
|
|
|
151
151
|
"text": "Notification text",
|
|
152
152
|
"name": "uiName"
|
|
153
153
|
}],
|
|
154
|
-
"text": "Shown underneath
|
|
154
|
+
"text": "Shown underneath single-use promo codes when the user has already copied the code"
|
|
155
155
|
},
|
|
156
156
|
"attribute": "notification-text",
|
|
157
157
|
"reflect": false,
|
|
@@ -58,5 +58,6 @@ export function useReferralCode(props) {
|
|
|
58
58
|
open,
|
|
59
59
|
copyString: copyString,
|
|
60
60
|
isCopied: contextData === null || contextData === void 0 ? void 0 : contextData.isCopied,
|
|
61
|
+
showNotificationText: props.showNotificationText && !!(contextData === null || contextData === void 0 ? void 0 : contextData.singleUse),
|
|
61
62
|
};
|
|
62
63
|
}
|
|
@@ -86,6 +86,7 @@ export function useReferralCodes(props) {
|
|
|
86
86
|
shareLink: "",
|
|
87
87
|
isCopied: false,
|
|
88
88
|
isUsed: false,
|
|
89
|
+
singleUse: false,
|
|
89
90
|
email: {
|
|
90
91
|
messageLink: "",
|
|
91
92
|
},
|
|
@@ -105,6 +106,7 @@ export function useReferralCodes(props) {
|
|
|
105
106
|
referralCode: data.code,
|
|
106
107
|
isCopied: !!data.dateCopied,
|
|
107
108
|
isUsed: !!data.dateUsed,
|
|
109
|
+
singleUse: !!data.singleUse,
|
|
108
110
|
shareLink: (_d = (_c = (_b = data.shareLinkCodes) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.direct,
|
|
109
111
|
email: {
|
|
110
112
|
messageLink: (_g = (_f = (_e = data.shareLinkCodes) === null || _e === void 0 ? void 0 : _e.data) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.email,
|
|
@@ -5,7 +5,7 @@ import { d as dist, H, Q, I as In, y as yn, $ as $e, B, a as getEnvironmentSDK,
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-
|
|
8
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-e66261c5.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
10
10
|
import { u as useChildElements } from './useChildElements-ebcfbc19.js';
|
|
11
11
|
import { l as luxon } from './luxon-12195d94.js';
|
|
@@ -89,6 +89,7 @@ function useReferralCodes(props) {
|
|
|
89
89
|
shareLink: "",
|
|
90
90
|
isCopied: false,
|
|
91
91
|
isUsed: false,
|
|
92
|
+
singleUse: false,
|
|
92
93
|
email: {
|
|
93
94
|
messageLink: "",
|
|
94
95
|
},
|
|
@@ -108,6 +109,7 @@ function useReferralCodes(props) {
|
|
|
108
109
|
referralCode: data.code,
|
|
109
110
|
isCopied: !!data.dateCopied,
|
|
110
111
|
isUsed: !!data.dateUsed,
|
|
112
|
+
singleUse: !!data.singleUse,
|
|
111
113
|
shareLink: (_d = (_c = (_b = data.shareLinkCodes) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.direct,
|
|
112
114
|
email: {
|
|
113
115
|
messageLink: (_g = (_f = (_e = data.shareLinkCodes) === null || _e === void 0 ? void 0 : _e.data) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.email,
|
|
@@ -6,7 +6,7 @@ import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
9
|
+
import { C as CopyTextView } from './copy-text-view-e66261c5.js';
|
|
10
10
|
import './mixins-f60a614c.js';
|
|
11
11
|
import { a as useRequestRerender } from './re-render-b31d83d7.js';
|
|
12
12
|
import { u as useChildElements } from './useChildElements-ebcfbc19.js';
|
|
@@ -16,7 +16,7 @@ import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
|
16
16
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-faea9402.js';
|
|
17
17
|
import { i as isEmpty } from './utilities-292b61b9.js';
|
|
18
18
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
19
|
-
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
19
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-43305632.js';
|
|
20
20
|
import './sqm-portal-container-view-83df005d.js';
|
|
21
21
|
|
|
22
22
|
const BigStat = class {
|
|
@@ -5,7 +5,7 @@ import { I as In, i as isDemo, d as dist, H, Q, y as yn, $ as $e, B } from './in
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-
|
|
8
|
+
import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-e66261c5.js';
|
|
9
9
|
import './mixins-f60a614c.js';
|
|
10
10
|
|
|
11
11
|
const style = {
|
|
@@ -164,6 +164,7 @@ function useReferralCode(props) {
|
|
|
164
164
|
open,
|
|
165
165
|
copyString: copyString,
|
|
166
166
|
isCopied: contextData === null || contextData === void 0 ? void 0 : contextData.isCopied,
|
|
167
|
+
showNotificationText: props.showNotificationText && !!(contextData === null || contextData === void 0 ? void 0 : contextData.singleUse),
|
|
167
168
|
};
|
|
168
169
|
}
|
|
169
170
|
|
|
@@ -183,7 +184,7 @@ const ReferralCode = class {
|
|
|
183
184
|
*/
|
|
184
185
|
this.showNotificationText = false;
|
|
185
186
|
/**
|
|
186
|
-
* Shown underneath
|
|
187
|
+
* Shown underneath single-use promo codes when the user has already copied the code
|
|
187
188
|
*
|
|
188
189
|
* @uiName Notification text
|
|
189
190
|
*/
|
|
@@ -5,7 +5,7 @@ import { f as $n, S as Sn, c as setUserIdentity, d as dist, X as Xe, p as setPro
|
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
8
|
+
import { C as CopyTextView } from './copy-text-view-e66261c5.js';
|
|
9
9
|
import './mixins-f60a614c.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-706f5b56.js';
|
|
11
11
|
import './useChildElements-ebcfbc19.js';
|
|
@@ -25,7 +25,7 @@ import { P as PortalProfileView } from './sqm-portal-profile-view-847526a2.js';
|
|
|
25
25
|
import './utilities-292b61b9.js';
|
|
26
26
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-865655da.js';
|
|
27
27
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-6c60df25.js';
|
|
28
|
-
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-
|
|
28
|
+
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-43305632.js';
|
|
29
29
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83df005d.js';
|
|
30
30
|
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-7d1aa71f.js';
|
|
31
31
|
|