@saasquatch/mint-components 1.7.0 → 1.7.1-0
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-bcadc95c.js → ShadowViewAddon-b997bca7.js} +14 -14
- package/dist/cjs/{global-6785de71.js → global-de2bf4f7.js} +1 -1
- package/dist/cjs/{index.module-02576958.js → index.module-ccd9cbad.js} +8 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-c484d9ab.js → re-render-378abee0.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +37 -37
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-21dcca39.js → sqm-navigation-sidebar-item-view-7e751389.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-d6e14e8d.js → sqm-portal-email-verification-view-6f0aea50.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-13a1229f.js → sqm-portal-profile-view-0abcf3b8.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +41 -41
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-74eb05b6.js → useChildElements-4cfa421a.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-11ff69f8.js → useInstantAccessRegistration-45026b1f.js} +2 -2
- package/dist/cjs/{useReferralTable-6ca43436.js → useReferralTable-f1f85db9.js} +6 -6
- package/dist/cjs/{useRegistrationFormState-01d63bda.js → useRegistrationFormState-7e9641c4.js} +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
- package/dist/esm/{ShadowViewAddon-982ba11b.js → ShadowViewAddon-5508ac9d.js} +14 -14
- package/dist/esm/{global-91edfca0.js → global-3cb5aea4.js} +1 -1
- package/dist/esm/{index.module-99d8522e.js → index.module-c549b2c8.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-096db0eb.js → re-render-3211b893.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat_39.entry.js +39 -39
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/sqm-logout-current-user.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-eb765b9c.js → sqm-navigation-sidebar-item-view-e9296d4b.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-408af676.js → sqm-portal-email-verification-view-87413403.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-efa44888.js → sqm-portal-profile-view-977710a3.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +4 -4
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +41 -41
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-b945a965.js → useChildElements-a97f3864.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-7f9f4360.js → useInstantAccessRegistration-47501f2c.js} +2 -2
- package/dist/esm/{useReferralTable-e425f29d.js → useReferralTable-d5398ef2.js} +6 -6
- package/dist/esm/{useRegistrationFormState-c9d54ef3.js → useRegistrationFormState-b1f730bd.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-5508ac9d.js +1 -0
- package/dist/esm-es5/{global-91edfca0.js → global-3cb5aea4.js} +1 -1
- package/dist/esm-es5/{index.module-99d8522e.js → index.module-c549b2c8.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-096db0eb.js → re-render-3211b893.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-eb765b9c.js → sqm-navigation-sidebar-item-view-e9296d4b.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-408af676.js → sqm-portal-email-verification-view-87413403.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-efa44888.js → sqm-portal-profile-view-977710a3.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-b945a965.js → useChildElements-a97f3864.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-7f9f4360.js → useInstantAccessRegistration-47501f2c.js} +1 -1
- package/dist/esm-es5/{useReferralTable-e425f29d.js → useReferralTable-d5398ef2.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-b1f730bd.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-f60d9f3e.system.entry.js → p-01be40a8.system.entry.js} +1 -1
- package/dist/mint-components/{p-ed9374ef.system.entry.js → p-01d691c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-0943b547.system.js → p-086bc650.system.js} +1 -1
- package/dist/mint-components/{p-7d5ee633.system.entry.js → p-10b03137.system.entry.js} +1 -1
- package/dist/mint-components/{p-b5b9aaba.system.entry.js → p-125c8c60.system.entry.js} +1 -1
- package/dist/mint-components/{p-b4fddf49.entry.js → p-1527ce05.entry.js} +1 -1
- package/dist/mint-components/{p-8f1974f8.system.entry.js → p-18ecc54e.system.entry.js} +1 -1
- package/dist/mint-components/{p-8b2b5d37.system.js → p-1d78d8ba.system.js} +1 -1
- package/dist/mint-components/{p-a79208b8.system.js → p-1f4828ad.system.js} +1 -1
- package/dist/mint-components/p-2108937d.js +1 -0
- package/dist/mint-components/{p-57a89487.entry.js → p-239f4be8.entry.js} +1 -1
- package/dist/mint-components/{p-f04ce58d.system.entry.js → p-25fd6ee0.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a74f167.entry.js → p-2d6f3bbc.entry.js} +1 -1
- package/dist/mint-components/{p-d5e83056.entry.js → p-2ff85968.entry.js} +1 -1
- package/dist/mint-components/{p-84ee5462.system.entry.js → p-34c90e51.system.entry.js} +1 -1
- package/dist/mint-components/{p-1e884e97.system.entry.js → p-35604900.system.entry.js} +1 -1
- package/dist/mint-components/{p-b9c7b7ef.entry.js → p-36182652.entry.js} +1 -1
- package/dist/mint-components/p-37678b57.entry.js +1 -0
- package/dist/mint-components/p-3c02b80b.entry.js +1 -0
- package/dist/mint-components/{p-b0ef4f17.entry.js → p-4069a5ac.entry.js} +1 -1
- package/dist/mint-components/{p-146f16b0.js → p-428256ab.js} +5 -5
- package/dist/mint-components/{p-9f3a0252.system.js → p-46f41615.system.js} +1 -1
- package/dist/mint-components/{p-42844992.js → p-4f09f749.js} +1 -1
- package/dist/mint-components/p-5da880d1.js +1 -0
- package/dist/mint-components/{p-b6dafb9b.system.js → p-5ef6521c.system.js} +1 -1
- package/dist/mint-components/{p-6d1a2821.system.entry.js → p-600b792e.system.entry.js} +1 -1
- package/dist/mint-components/{p-a43ab9f7.entry.js → p-626dc2ce.entry.js} +5 -5
- package/dist/mint-components/{p-eb2a23eb.system.entry.js → p-66a30837.system.entry.js} +1 -1
- package/dist/mint-components/p-6a15c0c5.system.entry.js +1 -0
- package/dist/mint-components/{p-b0f3c6c5.entry.js → p-6a578070.entry.js} +2 -2
- package/dist/mint-components/{p-9b2e0735.system.entry.js → p-6cb2eff2.system.entry.js} +1 -1
- package/dist/mint-components/{p-66e3cb0c.system.entry.js → p-6fc0c1a8.system.entry.js} +1 -1
- package/dist/mint-components/{p-eab33344.js → p-6ff1de8a.js} +1 -1
- package/dist/mint-components/{p-d9ae5de3.entry.js → p-706a112f.entry.js} +1 -1
- package/dist/mint-components/{p-a6c026bc.system.entry.js → p-7195cdd7.system.entry.js} +1 -1
- package/dist/mint-components/p-79787bf3.system.js +1 -0
- package/dist/mint-components/p-844b9513.entry.js +1 -0
- package/dist/mint-components/p-87a6bfa4.entry.js +1 -0
- package/dist/mint-components/{p-abfb3897.system.entry.js → p-8b02bfc7.system.entry.js} +1 -1
- package/dist/mint-components/{p-ba295930.system.entry.js → p-8f13044b.system.entry.js} +1 -1
- package/dist/mint-components/p-99ec46fe.js +1 -0
- package/dist/mint-components/{p-f63961b4.system.js → p-9df46d84.system.js} +1 -1
- package/dist/mint-components/{p-41c62fef.system.js → p-a3e28532.system.js} +1 -1
- package/dist/mint-components/p-a984852e.entry.js +1 -0
- package/dist/mint-components/{p-be8f19ba.system.entry.js → p-ac453316.system.entry.js} +1 -1
- package/dist/mint-components/p-ad1fb768.entry.js +1 -0
- package/dist/mint-components/{p-0a892e0f.system.entry.js → p-b0008fd2.system.entry.js} +1 -1
- package/dist/mint-components/{p-05f069ce.entry.js → p-b16930c5.entry.js} +2 -2
- package/dist/mint-components/p-b2f447a6.entry.js +1 -0
- package/dist/mint-components/{p-c2bd46e2.entry.js → p-b43ea640.entry.js} +1 -1
- package/dist/mint-components/{p-e058ba88.entry.js → p-b4deff58.entry.js} +1 -1
- package/dist/mint-components/{p-2bba85ac.system.entry.js → p-b4f1239f.system.entry.js} +1 -1
- package/dist/mint-components/{p-f71cfd64.js → p-b953ae7f.js} +1 -1
- package/dist/mint-components/{p-d65bf9dc.js → p-bb5ec5c2.js} +1 -1
- package/dist/mint-components/{p-3e0bb7f9.entry.js → p-bb7f5f8b.entry.js} +1 -1
- package/dist/mint-components/{p-ef6a3ff3.entry.js → p-bb9a9cf3.entry.js} +2 -2
- package/dist/mint-components/p-c0e7d16e.system.js +1 -0
- package/dist/mint-components/{p-e3de804b.entry.js → p-c1962b42.entry.js} +1 -1
- package/dist/mint-components/p-c32a8733.system.js +1 -0
- package/dist/mint-components/{p-13570402.system.entry.js → p-c5fe9915.system.entry.js} +1 -1
- package/dist/mint-components/{p-a23a2a86.entry.js → p-c9210918.entry.js} +1 -1
- package/dist/mint-components/{p-8b28c511.js → p-cdddccfe.js} +1 -1
- package/dist/mint-components/{p-a372d9cf.system.js → p-cf5b20fc.system.js} +1 -1
- package/dist/mint-components/{p-c24d34d8.entry.js → p-d41556bd.entry.js} +1 -1
- package/dist/mint-components/{p-e49392c3.system.entry.js → p-d9e05949.system.entry.js} +1 -1
- package/dist/mint-components/{p-ee7bc1c7.system.js → p-e0604038.system.js} +1 -1
- package/dist/mint-components/{p-f7b5c0ac.system.entry.js → p-e3fc9e65.system.entry.js} +1 -1
- package/dist/mint-components/{p-0b8f38a8.entry.js → p-e5883a5f.entry.js} +1 -1
- package/dist/mint-components/p-e61bedb4.system.entry.js +1 -0
- package/dist/mint-components/{p-2e9a5714.js → p-eaf2b723.js} +1 -1
- package/dist/mint-components/{p-831d1332.js → p-f2ec822a.js} +1 -1
- package/dist/mint-components/{p-2adb5310.entry.js → p-f60232ab.entry.js} +1 -1
- package/dist/mint-components/{p-a65e2e14.system.entry.js → p-f6ee8a24.system.entry.js} +1 -1
- package/dist/mint-components/{p-25ad41bd.system.entry.js → p-fc7d9d19.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d0131b8.system.entry.js → p-fd8addea.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-982ba11b.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-c9d54ef3.js +0 -1
- package/dist/mint-components/p-0ad6459e.entry.js +0 -1
- package/dist/mint-components/p-0de80de6.js +0 -1
- package/dist/mint-components/p-1fa097d3.entry.js +0 -1
- package/dist/mint-components/p-22d1e92e.system.js +0 -1
- package/dist/mint-components/p-59318941.system.js +0 -1
- package/dist/mint-components/p-6e793d76.system.entry.js +0 -1
- package/dist/mint-components/p-6fed24de.entry.js +0 -1
- package/dist/mint-components/p-878daf52.js +0 -1
- package/dist/mint-components/p-89e86134.entry.js +0 -1
- package/dist/mint-components/p-ce748fab.js +0 -1
- package/dist/mint-components/p-db9652e7.system.entry.js +0 -1
- package/dist/mint-components/p-e205fcdb.system.js +0 -1
- package/dist/mint-components/p-e9197aac.entry.js +0 -1
- package/dist/mint-components/p-f064bf28.entry.js +0 -1
- package/dist/mint-components/p-f21aa0bd.entry.js +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { i as isDemo, e as setUserIdentity } from './index.module-
|
|
3
|
+
import { i as isDemo, e as setUserIdentity } from './index.module-c549b2c8.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-4a4202e7.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
9
|
+
import './useRegistrationFormState-b1f730bd.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-47501f2c.js';
|
|
11
11
|
|
|
12
12
|
const InstantAccessRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import { i as intl } from './global-3cb5aea4.js';
|
|
4
|
+
import { d as dist, O, L, b as mn, i as isDemo } from './index.module-c549b2c8.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
7
7
|
|
|
@@ -20,10 +20,10 @@ const GET_RANK = dist.gql `
|
|
|
20
20
|
`;
|
|
21
21
|
function useLeaderboardRank(props) {
|
|
22
22
|
var _a, _b, _c, _d;
|
|
23
|
-
const programIdContext =
|
|
23
|
+
const programIdContext = O();
|
|
24
24
|
// Default to context, overriden by props
|
|
25
25
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
26
|
-
const user =
|
|
26
|
+
const user = L();
|
|
27
27
|
const rankVariables = programId
|
|
28
28
|
? {
|
|
29
29
|
type: props.leaderboardType,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import {
|
|
3
|
+
import { L, e as setUserIdentity, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -8,7 +8,7 @@ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2d740
|
|
|
8
8
|
|
|
9
9
|
function useLogoutCurrentUser(props) {
|
|
10
10
|
var _a;
|
|
11
|
-
const user =
|
|
11
|
+
const user = L();
|
|
12
12
|
const onSwitchClick = () => {
|
|
13
13
|
setUserIdentity(undefined);
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { p as pn } from './index.module-c549b2c8.js';
|
|
3
3
|
import { g as gap } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
|
|
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
|
|
|
33
33
|
const styleString = sheet.toString();
|
|
34
34
|
return (h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
35
35
|
e.preventDefault();
|
|
36
|
-
|
|
36
|
+
pn.push(data.path);
|
|
37
37
|
}, class: sheet.classes.ItemContainer },
|
|
38
38
|
h("style", { type: "text/css" }, styleString),
|
|
39
39
|
h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { v as vn, i as isDemo } from './index.module-
|
|
3
|
+
import { v as vn, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
8
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-e9296d4b.js';
|
|
9
9
|
|
|
10
10
|
function useNavigationSidebarItem(props) {
|
|
11
11
|
const currentPage = vn();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h, j as useState, f as useEffect } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { v as vn,
|
|
3
|
+
import { v as vn, O } from './index.module-c549b2c8.js';
|
|
4
4
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-414bcb19.js';
|
|
5
5
|
|
|
6
6
|
const NavigationSidebar = class {
|
|
@@ -17,7 +17,7 @@ const NavigationSidebar = class {
|
|
|
17
17
|
};
|
|
18
18
|
function useNavigationSidebar() {
|
|
19
19
|
const location = vn();
|
|
20
|
-
const programId =
|
|
20
|
+
const programId = O();
|
|
21
21
|
const [checked, setChecked] = useState(false);
|
|
22
22
|
// Close hamburger menu after navigation
|
|
23
23
|
useEffect(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { o as d, j as useState, m as h$1 } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { i as isDemo } from './index.module-
|
|
3
|
+
import { i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
7
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-b1f730bd.js';
|
|
8
8
|
|
|
9
9
|
var constants = {
|
|
10
10
|
error: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h$1 } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { T } from './index.module-
|
|
3
|
+
import { T } from './index.module-c549b2c8.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-3cb5aea4.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, k as useRef, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import { o as on, K as Ke,
|
|
3
|
+
import './global-3cb5aea4.js';
|
|
4
|
+
import { o as on, K as Ke, L, p as pn, f as useCallback, i as isDemo } from './index.module-c549b2c8.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-87413403.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
13
13
|
const [request, { loading, data, errors }] = on();
|
|
14
14
|
const [getVerificationStatus, { data: user, loading: loadingVerification }] = Ke();
|
|
15
|
-
const userIdent =
|
|
15
|
+
const userIdent = L();
|
|
16
16
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
17
|
-
const urlParams = new URLSearchParams(
|
|
17
|
+
const urlParams = new URLSearchParams(pn.location.search);
|
|
18
18
|
const nextPage = urlParams.get("nextPage");
|
|
19
19
|
const [success, setSuccess] = useState(false);
|
|
20
20
|
const [error, setError] = useState("");
|
|
@@ -44,7 +44,7 @@ function usePortalEmailVerification(props) {
|
|
|
44
44
|
const data = (await getVerificationStatus());
|
|
45
45
|
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
46
46
|
clearInterval(timerRef.current);
|
|
47
|
-
return
|
|
47
|
+
return pn.push({
|
|
48
48
|
pathname: props.redirectPath,
|
|
49
49
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
50
50
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import {
|
|
3
|
+
import { t as tn, p as pn, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
@@ -12,8 +12,8 @@ function usePortalForgotPassword(props) {
|
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
13
13
|
const [success, setSuccess] = useState(false);
|
|
14
14
|
const [error, setError] = useState("");
|
|
15
|
-
const [request, { loading, data, errors }] =
|
|
16
|
-
const urlParams = new URLSearchParams(
|
|
15
|
+
const [request, { loading, data, errors }] = tn();
|
|
16
|
+
const urlParams = new URLSearchParams(pn.location.search);
|
|
17
17
|
const nextPage = urlParams.get("nextPage");
|
|
18
18
|
const submit = async (event) => {
|
|
19
19
|
var _a;
|
|
@@ -93,7 +93,7 @@ const PortalForgotPassword = class {
|
|
|
93
93
|
? usePortalForgotPasswordDemo(this)
|
|
94
94
|
: usePortalForgotPassword(this);
|
|
95
95
|
const content = {
|
|
96
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
96
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.loginPath) }, "Sign In"))),
|
|
97
97
|
messageSlot: (h$1("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
|
|
98
98
|
emailLabel: this.emailLabel,
|
|
99
99
|
submitLabel: this.submitLabel,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { e as setUserIdentity,
|
|
3
|
+
import { e as setUserIdentity, p as pn, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
|
|
5
5
|
function usePortalLogout({ nextPage }) {
|
|
6
6
|
setUserIdentity(undefined);
|
|
7
|
-
|
|
7
|
+
pn.push({ pathname: nextPage, search: "" });
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
const PortalLogout = class {
|
package/dist/esm/{sqm-portal-profile-view-efa44888.js → sqm-portal-profile-view-977710a3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-3cb5aea4.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import './global-3cb5aea4.js';
|
|
4
|
+
import { d as dist, L, b as mn, I as Ie, i as isDemo } from './index.module-c549b2c8.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-977710a3.js';
|
|
10
10
|
|
|
11
11
|
const GET_USER = dist.gql `
|
|
12
12
|
query {
|
|
@@ -52,12 +52,12 @@ const defaultFormState = {
|
|
|
52
52
|
error: "",
|
|
53
53
|
};
|
|
54
54
|
function usePortalProfile(props) {
|
|
55
|
-
const userIdent =
|
|
55
|
+
const userIdent = L();
|
|
56
56
|
const [success, setSuccess] = useState(false);
|
|
57
57
|
const [userData, setUserData] = useState(undefined);
|
|
58
58
|
const [formState, setFormState] = useState(defaultFormState);
|
|
59
59
|
const userDataResponse = mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
60
|
-
const [upsertUser, upsertUserResponse] =
|
|
60
|
+
const [upsertUser, upsertUserResponse] = Ie(UPSERT_USER);
|
|
61
61
|
useEffect(() => {
|
|
62
62
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
63
63
|
return;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import {
|
|
3
|
+
import { L, v as vn, p as pn, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
|
|
5
5
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
6
6
|
var _a;
|
|
7
|
-
const userIdent =
|
|
7
|
+
const userIdent = L();
|
|
8
8
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
9
9
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
10
10
|
const { pathname, search } = vn();
|
|
@@ -12,13 +12,13 @@ function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirec
|
|
|
12
12
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
13
13
|
useEffect(() => {
|
|
14
14
|
if (!authenticated) {
|
|
15
|
-
return
|
|
15
|
+
return pn.push({
|
|
16
16
|
pathname: redirectTo,
|
|
17
17
|
search: "?" + nextPageParam.toString(),
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
if (requireEmailVerification && !emailVerified) {
|
|
21
|
-
return
|
|
21
|
+
return pn.push({
|
|
22
22
|
pathname: redirectToUnverified || redirectTo,
|
|
23
23
|
search: "?" + nextPageParam.toString(),
|
|
24
24
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { k as useRef, f as useEffect, m as h$1 } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { d as dist, q as qe, b as mn,
|
|
3
|
+
import { d as dist, q as qe, b as mn, p as pn, f as useCallback, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
9
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-b1f730bd.js';
|
|
10
10
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
11
11
|
|
|
12
12
|
const style = {
|
|
@@ -206,7 +206,7 @@ function usePortalRegistrationForm(props) {
|
|
|
206
206
|
managedIdentityResponse.result.results.length &&
|
|
207
207
|
managedIdentityResponse.result.results[0].success &&
|
|
208
208
|
managedIdentityResponse.result.results[0].data.token) {
|
|
209
|
-
|
|
209
|
+
pn.push(props.nextPage);
|
|
210
210
|
}
|
|
211
211
|
else if (
|
|
212
212
|
// check for blocked email error response
|
|
@@ -395,7 +395,7 @@ const PortalRegistrationForm = class {
|
|
|
395
395
|
: usePortalRegistrationForm(this);
|
|
396
396
|
const content = {
|
|
397
397
|
formData: h("slot", { name: "formData" }),
|
|
398
|
-
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
398
|
+
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.loginPath) }, this.loginLabel))),
|
|
399
399
|
terms: h("slot", { name: "terms" }),
|
|
400
400
|
emailLabel: this.emailLabel,
|
|
401
401
|
passwordLabel: this.passwordLabel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { j as useState, f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import {
|
|
3
|
+
import { h as Le, N as Ne, p as pn, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
@@ -13,9 +13,9 @@ function usePortalResetPassword(props) {
|
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
14
14
|
const [reset, setReset] = useState(false);
|
|
15
15
|
const [error, setError] = useState("");
|
|
16
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
16
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Le();
|
|
17
17
|
const [resetPassword, resetPasswordState] = Ne();
|
|
18
|
-
const urlParams = new URLSearchParams(
|
|
18
|
+
const urlParams = new URLSearchParams(pn.location.search);
|
|
19
19
|
const oobCode = urlParams.get("oobCode");
|
|
20
20
|
urlParams.delete("oobCode");
|
|
21
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -53,10 +53,10 @@ function usePortalResetPassword(props) {
|
|
|
53
53
|
const gotoNextPage = () => {
|
|
54
54
|
urlParams.delete("nextPage");
|
|
55
55
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
56
|
-
|
|
56
|
+
pn.push(url.href);
|
|
57
57
|
};
|
|
58
58
|
const failed = () => {
|
|
59
|
-
|
|
59
|
+
pn.push({
|
|
60
60
|
pathname: props.failedPage,
|
|
61
61
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
62
62
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { f as useEffect, m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import {
|
|
3
|
+
import { L, Y as Ye, p as pn, i as isDemo } from './index.module-c549b2c8.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
@@ -10,9 +10,9 @@ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-1db4f
|
|
|
10
10
|
|
|
11
11
|
function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
13
|
-
const userIdent =
|
|
13
|
+
const userIdent = L();
|
|
14
14
|
const [request, { loading, data, errors }] = Ye();
|
|
15
|
-
const urlParams = new URLSearchParams(
|
|
15
|
+
const urlParams = new URLSearchParams(pn.location.search);
|
|
16
16
|
const oobCode = urlParams.get("oobCode");
|
|
17
17
|
const nextPageOverride = urlParams.get("nextPage");
|
|
18
18
|
// derived from useMutation in component boilerplate initialState
|
|
@@ -20,7 +20,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
20
20
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
21
21
|
const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || (data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail.success));
|
|
22
22
|
const failed = () => {
|
|
23
|
-
return
|
|
23
|
+
return pn.push({
|
|
24
24
|
pathname: failedPage,
|
|
25
25
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
26
26
|
});
|
|
@@ -28,7 +28,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
28
28
|
const gotoNextPage = () => {
|
|
29
29
|
urlParams.delete("nextPage");
|
|
30
30
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
31
|
-
|
|
31
|
+
pn.push(url.href);
|
|
32
32
|
};
|
|
33
33
|
const submit = async () => {
|
|
34
34
|
var _a;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h, i as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
3
|
+
import { i as intl } from './global-3cb5aea4.js';
|
|
4
|
+
import { i as isDemo } from './index.module-c549b2c8.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-266126f9.js';
|
|
9
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-3211b893.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-a97f3864.js';
|
|
11
11
|
import { l as luxon } from './luxon-f01e85fe.js';
|
|
12
|
-
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
12
|
+
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-d5398ef2.js';
|
|
13
13
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
14
14
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
15
15
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { i as isDemo, e as setUserIdentity } from './index.module-
|
|
3
|
+
import { i as isDemo, e as setUserIdentity } from './index.module-c549b2c8.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-4a4202e7.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
9
|
+
import './useRegistrationFormState-b1f730bd.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-47501f2c.js';
|
|
11
11
|
|
|
12
12
|
const ReferredRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-c549b2c8.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-3211b893.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, i as useReducer, f as useEffect, m as h$1, u as useMemo } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import { i as intl } from './global-3cb5aea4.js';
|
|
4
|
+
import { d as dist, L, O, W, y as yn, i as isDemo } from './index.module-c549b2c8.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-266126f9.js';
|
|
9
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-3211b893.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-a97f3864.js';
|
|
11
11
|
import { l as luxon } from './luxon-f01e85fe.js';
|
|
12
|
-
import { g as generateUserError, m as mockRewardData } from './useReferralTable-
|
|
12
|
+
import { g as generateUserError, m as mockRewardData } from './useReferralTable-d5398ef2.js';
|
|
13
13
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
14
14
|
|
|
15
15
|
const debug = browser("sq:useRewardsTable");
|
|
@@ -127,9 +127,9 @@ const GET_REWARDS = dist.gql `
|
|
|
127
127
|
`;
|
|
128
128
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
129
129
|
var _a, _b;
|
|
130
|
-
const user =
|
|
131
|
-
const programIdContext =
|
|
132
|
-
const locale =
|
|
130
|
+
const user = L();
|
|
131
|
+
const programIdContext = O();
|
|
132
|
+
const locale = W();
|
|
133
133
|
// Default to context, overriden by props
|
|
134
134
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
135
135
|
const rewardFilter = {
|