@saasquatch/mint-components 1.11.1-22 → 1.11.1-24

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.
Files changed (34) hide show
  1. package/dist/cjs/{ShadowViewAddon-b618dae6.js → ShadowViewAddon-8234611d.js} +2 -1
  2. package/dist/cjs/{copy-text-view-55c3f652.js → copy-text-view-94a99075.js} +4 -4
  3. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +2 -2
  4. package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
  6. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +4 -4
  7. package/dist/collection/components/sqm-share-button/useShareButton.js +1 -0
  8. package/dist/esm/{ShadowViewAddon-7e04ae86.js → ShadowViewAddon-18b8c586.js} +2 -1
  9. package/dist/esm/{copy-text-view-6f392f49.js → copy-text-view-7fd4b4cc.js} +4 -4
  10. package/dist/esm/sqm-big-stat_38.entry.js +2 -2
  11. package/dist/esm/sqm-pagination_3.entry.js +1 -1
  12. package/dist/esm/sqm-stencilbook.entry.js +2 -2
  13. package/dist/esm-es5/ShadowViewAddon-18b8c586.js +1 -0
  14. package/dist/esm-es5/{copy-text-view-6f392f49.js → copy-text-view-7fd4b4cc.js} +1 -1
  15. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  16. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  17. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  18. package/dist/mint-components/mint-components.esm.js +1 -1
  19. package/dist/mint-components/{p-03b54875.js → p-2e591554.js} +2 -2
  20. package/dist/mint-components/{p-ce0e674b.system.entry.js → p-3cb5469b.system.entry.js} +1 -1
  21. package/dist/mint-components/{p-2d5832ae.system.js → p-4d61ae51.system.js} +1 -1
  22. package/dist/mint-components/{p-50c7fc8c.entry.js → p-53c6b387.entry.js} +1 -1
  23. package/dist/mint-components/p-6cb7da90.system.js +1 -0
  24. package/dist/mint-components/{p-7f9e062d.system.entry.js → p-74012208.system.entry.js} +1 -1
  25. package/dist/mint-components/{p-f9db5839.entry.js → p-767a3a0d.entry.js} +1 -1
  26. package/dist/mint-components/{p-67aa131b.system.entry.js → p-83beb03c.system.entry.js} +1 -1
  27. package/dist/mint-components/p-9ed09b3a.system.js +1 -1
  28. package/dist/mint-components/{p-944f352e.js → p-a5c4a5f8.js} +2 -2
  29. package/dist/mint-components/{p-65a2872a.entry.js → p-b9286488.entry.js} +1 -1
  30. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +2 -2
  31. package/docs/docs.docx +0 -0
  32. package/package.json +1 -1
  33. package/dist/esm-es5/ShadowViewAddon-7e04ae86.js +0 -1
  34. package/dist/mint-components/p-60899021.system.js +0 -1
@@ -6,7 +6,7 @@ const global = require('./global-e067aa06.js');
6
6
  const index_module = require('./index.module-224d7b8d.js');
7
7
  const utils = require('./utils-6847bc06.js');
8
8
  const JSS = require('./JSS-8503a151.js');
9
- const copyTextView = require('./copy-text-view-55c3f652.js');
9
+ const copyTextView = require('./copy-text-view-94a99075.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
11
11
  const mixins = require('./mixins-fe9d4112.js');
12
12
  const useChildElements = require('./useChildElements-176ac928.js');
@@ -476,6 +476,7 @@ function useShareButton(props) {
476
476
  };
477
477
  const contextData = index_module.In(copyTextView.REFERRAL_CODES_NAMESPACE);
478
478
  const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
479
+ console.log({ contextData });
479
480
  // only queries if a programId is available
480
481
  const res = index_module.yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
481
482
  const [setCopied, copiedRes] = index_module.$e(copyTextView.SET_CODE_COPIED);
@@ -92,11 +92,11 @@ function useReferralCodes(props) {
92
92
  email: {
93
93
  messageLink: "",
94
94
  },
95
- fbMessenger: {
95
+ fbmessenger: {
96
96
  messageLink: "",
97
97
  shareLink: "",
98
98
  },
99
- whatsApp: { messageLink: "" },
99
+ whatsapp: { messageLink: "" },
100
100
  },
101
101
  });
102
102
  stencilHooks_module.useEffect(() => {
@@ -112,11 +112,11 @@ function useReferralCodes(props) {
112
112
  email: {
113
113
  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,
114
114
  },
115
- fbMessenger: {
115
+ fbmessenger: {
116
116
  messageLink: (_k = (_j = (_h = data.shareLinkCodes) === null || _h === void 0 ? void 0 : _h.data) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.fbMessenger,
117
117
  shareLink: (_o = (_m = (_l = data.shareLinkCodes) === null || _l === void 0 ? void 0 : _l.data) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.fbMessenger,
118
118
  },
119
- whatsApp: { messageLink: (_r = (_q = (_p = data.shareLinkCodes) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.whatsApp },
119
+ whatsapp: { messageLink: (_r = (_q = (_p = data.shareLinkCodes) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.whatsApp },
120
120
  });
121
121
  setPaginationContext({ states, callbacks });
122
122
  }
@@ -9,7 +9,7 @@ const index_module = require('./index.module-224d7b8d.js');
9
9
  const jsonpointer = require('./jsonpointer-11327262.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
- const copyTextView = require('./copy-text-view-55c3f652.js');
12
+ const copyTextView = require('./copy-text-view-94a99075.js');
13
13
  const cjs = require('./cjs-1066ec21.js');
14
14
  require('./mixins-fe9d4112.js');
15
15
  const reRender = require('./re-render-cd2f8774.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-b618dae6.js');
23
+ const ShadowViewAddon = require('./ShadowViewAddon-8234611d.js');
24
24
  require('./sqm-portal-container-view-976bf0f5.js');
25
25
 
26
26
  const BigStat = class {
@@ -7,7 +7,7 @@ const stencilHooks_module = require('./stencil-hooks.module-8f69ed33.js');
7
7
  const index_module = require('./index.module-224d7b8d.js');
8
8
  const utils = require('./utils-6847bc06.js');
9
9
  const JSS = require('./JSS-8503a151.js');
10
- const copyTextView = require('./copy-text-view-55c3f652.js');
10
+ const copyTextView = require('./copy-text-view-94a99075.js');
11
11
  const cjs = require('./cjs-1066ec21.js');
12
12
  require('./mixins-fe9d4112.js');
13
13
 
@@ -8,7 +8,7 @@ require('./global-e067aa06.js');
8
8
  const index_module = require('./index.module-224d7b8d.js');
9
9
  require('./utils-6847bc06.js');
10
10
  const JSS = require('./JSS-8503a151.js');
11
- const copyTextView = require('./copy-text-view-55c3f652.js');
11
+ const copyTextView = require('./copy-text-view-94a99075.js');
12
12
  require('./cjs-1066ec21.js');
13
13
  require('./mixins-fe9d4112.js');
14
14
  const GenericTableView = require('./GenericTableView-bb2fcd95.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-b618dae6.js');
32
+ const ShadowViewAddon = require('./ShadowViewAddon-8234611d.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
 
@@ -87,11 +87,11 @@ export function useReferralCodes(props) {
87
87
  email: {
88
88
  messageLink: "",
89
89
  },
90
- fbMessenger: {
90
+ fbmessenger: {
91
91
  messageLink: "",
92
92
  shareLink: "",
93
93
  },
94
- whatsApp: { messageLink: "" },
94
+ whatsapp: { messageLink: "" },
95
95
  },
96
96
  });
97
97
  useEffect(() => {
@@ -107,11 +107,11 @@ export function useReferralCodes(props) {
107
107
  email: {
108
108
  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,
109
109
  },
110
- fbMessenger: {
110
+ fbmessenger: {
111
111
  messageLink: (_k = (_j = (_h = data.shareLinkCodes) === null || _h === void 0 ? void 0 : _h.data) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.fbMessenger,
112
112
  shareLink: (_o = (_m = (_l = data.shareLinkCodes) === null || _l === void 0 ? void 0 : _l.data) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.fbMessenger,
113
113
  },
114
- whatsApp: { messageLink: (_r = (_q = (_p = data.shareLinkCodes) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.whatsApp },
114
+ whatsapp: { messageLink: (_r = (_q = (_p = data.shareLinkCodes) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.whatsApp },
115
115
  });
116
116
  setPaginationContext({ states, callbacks });
117
117
  }
@@ -66,6 +66,7 @@ export function useShareButton(props) {
66
66
  };
67
67
  const contextData = useParentValue(REFERRAL_CODES_NAMESPACE);
68
68
  const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
69
+ console.log({ contextData });
69
70
  // only queries if a programId is available
70
71
  const res = useQuery(MessageLinkQuery, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
71
72
  const [setCopied, copiedRes] = useMutation(SET_CODE_COPIED);
@@ -4,7 +4,7 @@ import { i as intl } from './global-701bd5b0.js';
4
4
  import { d as dist, H, Q, I as In, y as yn, $ as $e, B, a as getEnvironmentSDK, L } from './index.module-5eb0926c.js';
5
5
  import { l as luxonLocale } from './utils-334c1e34.js';
6
6
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
7
- import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-6f392f49.js';
7
+ import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-7fd4b4cc.js';
8
8
  import { c as cjs } from './cjs-bdfb4486.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';
@@ -474,6 +474,7 @@ function useShareButton(props) {
474
474
  };
475
475
  const contextData = In(REFERRAL_CODES_NAMESPACE);
476
476
  const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
477
+ console.log({ contextData });
477
478
  // only queries if a programId is available
478
479
  const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
479
480
  const [setCopied, copiedRes] = $e(SET_CODE_COPIED);
@@ -90,11 +90,11 @@ function useReferralCodes(props) {
90
90
  email: {
91
91
  messageLink: "",
92
92
  },
93
- fbMessenger: {
93
+ fbmessenger: {
94
94
  messageLink: "",
95
95
  shareLink: "",
96
96
  },
97
- whatsApp: { messageLink: "" },
97
+ whatsapp: { messageLink: "" },
98
98
  },
99
99
  });
100
100
  useEffect(() => {
@@ -110,11 +110,11 @@ function useReferralCodes(props) {
110
110
  email: {
111
111
  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,
112
112
  },
113
- fbMessenger: {
113
+ fbmessenger: {
114
114
  messageLink: (_k = (_j = (_h = data.shareLinkCodes) === null || _h === void 0 ? void 0 : _h.data) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.fbMessenger,
115
115
  shareLink: (_o = (_m = (_l = data.shareLinkCodes) === null || _l === void 0 ? void 0 : _l.data) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.fbMessenger,
116
116
  },
117
- whatsApp: { messageLink: (_r = (_q = (_p = data.shareLinkCodes) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.whatsApp },
117
+ whatsapp: { messageLink: (_r = (_q = (_p = data.shareLinkCodes) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.whatsApp },
118
118
  });
119
119
  setPaginationContext({ states, callbacks });
120
120
  }
@@ -5,7 +5,7 @@ import { i as isDemo, _, d as dist, Q, H, $ as $e, y as yn, B, L, g as gn, f as
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
- import { C as CopyTextView } from './copy-text-view-6f392f49.js';
8
+ import { C as CopyTextView } from './copy-text-view-7fd4b4cc.js';
9
9
  import { c as cjs } from './cjs-bdfb4486.js';
10
10
  import './mixins-f60a614c.js';
11
11
  import { a as useRequestRerender } from './re-render-b31d83d7.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-7e04ae86.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-18b8c586.js';
20
20
  import './sqm-portal-container-view-83df005d.js';
21
21
 
22
22
  const BigStat = class {
@@ -3,7 +3,7 @@ import { n as h$1, k as useState } from './stencil-hooks.module-576d7f01.js';
3
3
  import { I as In, i as isDemo, d as dist, H, Q, y as yn, $ as $e, B } from './index.module-5eb0926c.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
6
- 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-6f392f49.js';
6
+ 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-7fd4b4cc.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-f60a614c.js';
9
9
 
@@ -4,7 +4,7 @@ import './global-701bd5b0.js';
4
4
  import { f as $n, S as Sn, c as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-5eb0926c.js';
5
5
  import './utils-334c1e34.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
- import { C as CopyTextView } from './copy-text-view-6f392f49.js';
7
+ import { C as CopyTextView } from './copy-text-view-7fd4b4cc.js';
8
8
  import './cjs-bdfb4486.js';
9
9
  import './mixins-f60a614c.js';
10
10
  import { G as GenericTableView } from './GenericTableView-706f5b56.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-7e04ae86.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-18b8c586.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