@saasquatch/mint-components 1.7.1-0 → 1.7.2-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-b997bca7.js → ShadowViewAddon-d0a52d38.js} +17 -12
- package/dist/cjs/{global-de2bf4f7.js → global-6785de71.js} +1 -1
- package/dist/cjs/{index.module-ccd9cbad.js → index.module-02576958.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-378abee0.js → re-render-c484d9ab.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-7e751389.js → sqm-navigation-sidebar-item-view-21dcca39.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-6f0aea50.js → sqm-portal-email-verification-view-d6e14e8d.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-0abcf3b8.js → sqm-portal-profile-view-13a1229f.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 +48 -48
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-4cfa421a.js → useChildElements-74eb05b6.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-45026b1f.js → useInstantAccessRegistration-11ff69f8.js} +2 -2
- package/dist/cjs/{useReferralTable-f1f85db9.js → useReferralTable-6ca43436.js} +6 -6
- package/dist/cjs/{useRegistrationFormState-7e9641c4.js → useRegistrationFormState-01d63bda.js} +1 -1
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +7 -7
- package/dist/collection/components/sqm-share-link/useShareLink.js +6 -1
- package/dist/esm/{ShadowViewAddon-5508ac9d.js → ShadowViewAddon-2c82b555.js} +17 -12
- package/dist/esm/{global-3cb5aea4.js → global-91edfca0.js} +1 -1
- package/dist/esm/{index.module-c549b2c8.js → index.module-99d8522e.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-3211b893.js → re-render-096db0eb.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-e9296d4b.js → sqm-navigation-sidebar-item-view-eb765b9c.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-87413403.js → sqm-portal-email-verification-view-408af676.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-977710a3.js → sqm-portal-profile-view-efa44888.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 +48 -48
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-a97f3864.js → useChildElements-b945a965.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-47501f2c.js → useInstantAccessRegistration-7f9f4360.js} +2 -2
- package/dist/esm/{useReferralTable-d5398ef2.js → useReferralTable-e425f29d.js} +6 -6
- package/dist/esm/{useRegistrationFormState-b1f730bd.js → useRegistrationFormState-c9d54ef3.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-2c82b555.js +1 -0
- package/dist/esm-es5/{global-3cb5aea4.js → global-91edfca0.js} +1 -1
- package/dist/esm-es5/{index.module-c549b2c8.js → index.module-99d8522e.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-3211b893.js → re-render-096db0eb.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-e9296d4b.js → sqm-navigation-sidebar-item-view-eb765b9c.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-87413403.js → sqm-portal-email-verification-view-408af676.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-977710a3.js → sqm-portal-profile-view-efa44888.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-a97f3864.js → useChildElements-b945a965.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-47501f2c.js → useInstantAccessRegistration-7f9f4360.js} +1 -1
- package/dist/esm-es5/{useReferralTable-d5398ef2.js → useReferralTable-e425f29d.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-c9d54ef3.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-626dc2ce.entry.js → p-00196b47.entry.js} +5 -5
- package/dist/mint-components/{p-b16930c5.entry.js → p-05f069ce.entry.js} +2 -2
- package/dist/mint-components/{p-086bc650.system.js → p-0943b547.system.js} +1 -1
- package/dist/mint-components/p-09cdd442.system.entry.js +1 -0
- package/dist/mint-components/{p-b0008fd2.system.entry.js → p-0a892e0f.system.entry.js} +1 -1
- package/dist/mint-components/p-0ad6459e.entry.js +1 -0
- package/dist/mint-components/{p-e5883a5f.entry.js → p-0b8f38a8.entry.js} +1 -1
- package/dist/mint-components/p-0de80de6.js +1 -0
- package/dist/mint-components/{p-c5fe9915.system.entry.js → p-13570402.system.entry.js} +1 -1
- package/dist/mint-components/{p-35604900.system.entry.js → p-1e884e97.system.entry.js} +1 -1
- package/dist/mint-components/p-1fa097d3.entry.js +1 -0
- package/dist/mint-components/p-22d1e92e.system.js +1 -0
- package/dist/mint-components/{p-fc7d9d19.system.entry.js → p-25ad41bd.system.entry.js} +1 -1
- package/dist/mint-components/{p-f60232ab.entry.js → p-2adb5310.entry.js} +1 -1
- package/dist/mint-components/{p-b4f1239f.system.entry.js → p-2bba85ac.system.entry.js} +1 -1
- package/dist/mint-components/{p-eaf2b723.js → p-2e9a5714.js} +1 -1
- package/dist/mint-components/{p-bb7f5f8b.entry.js → p-3e0bb7f9.entry.js} +1 -1
- package/dist/mint-components/{p-a3e28532.system.js → p-41c62fef.system.js} +1 -1
- package/dist/mint-components/{p-4f09f749.js → p-42844992.js} +1 -1
- package/dist/mint-components/{p-66a30837.system.entry.js → p-53f4f635.system.entry.js} +1 -1
- package/dist/mint-components/{p-239f4be8.entry.js → p-57a89487.entry.js} +1 -1
- package/dist/mint-components/p-59318941.system.js +1 -0
- package/dist/mint-components/{p-6fc0c1a8.system.entry.js → p-66e3cb0c.system.entry.js} +1 -1
- package/dist/mint-components/{p-600b792e.system.entry.js → p-6d1a2821.system.entry.js} +1 -1
- package/dist/mint-components/p-6e793d76.system.entry.js +1 -0
- package/dist/mint-components/p-6fed24de.entry.js +1 -0
- package/dist/mint-components/{p-10b03137.system.entry.js → p-7d5ee633.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2ec822a.js → p-831d1332.js} +1 -1
- package/dist/mint-components/{p-34c90e51.system.entry.js → p-84ee5462.system.entry.js} +1 -1
- package/dist/mint-components/p-878daf52.js +1 -0
- package/dist/mint-components/p-89e86134.entry.js +1 -0
- package/dist/mint-components/{p-cdddccfe.js → p-8b28c511.js} +1 -1
- package/dist/mint-components/{p-1d78d8ba.system.js → p-8b2b5d37.system.js} +1 -1
- package/dist/mint-components/{p-18ecc54e.system.entry.js → p-8f1974f8.system.entry.js} +1 -1
- package/dist/mint-components/{p-2d6f3bbc.entry.js → p-9a74f167.entry.js} +1 -1
- package/dist/mint-components/{p-6cb2eff2.system.entry.js → p-9b2e0735.system.entry.js} +1 -1
- package/dist/mint-components/{p-46f41615.system.js → p-9f3a0252.system.js} +1 -1
- package/dist/mint-components/{p-c9210918.entry.js → p-a23a2a86.entry.js} +1 -1
- package/dist/mint-components/{p-cf5b20fc.system.js → p-a372d9cf.system.js} +1 -1
- package/dist/mint-components/{p-f6ee8a24.system.entry.js → p-a65e2e14.system.entry.js} +1 -1
- package/dist/mint-components/{p-7195cdd7.system.entry.js → p-a6c026bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f4828ad.system.js → p-a79208b8.system.js} +1 -1
- package/dist/mint-components/{p-8b02bfc7.system.entry.js → p-abfb3897.system.entry.js} +1 -1
- package/dist/mint-components/{p-4069a5ac.entry.js → p-b0ef4f17.entry.js} +1 -1
- package/dist/mint-components/{p-6a578070.entry.js → p-b0f3c6c5.entry.js} +2 -2
- package/dist/mint-components/{p-1527ce05.entry.js → p-b4fddf49.entry.js} +1 -1
- package/dist/mint-components/{p-125c8c60.system.entry.js → p-b5b9aaba.system.entry.js} +1 -1
- package/dist/mint-components/{p-5ef6521c.system.js → p-b6dafb9b.system.js} +1 -1
- package/dist/mint-components/p-b9bf7576.system.js +1 -0
- package/dist/mint-components/{p-36182652.entry.js → p-b9c7b7ef.entry.js} +1 -1
- package/dist/mint-components/{p-8f13044b.system.entry.js → p-ba295930.system.entry.js} +1 -1
- package/dist/mint-components/{p-ac453316.system.entry.js → p-be8f19ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-d41556bd.entry.js → p-c24d34d8.entry.js} +1 -1
- package/dist/mint-components/{p-b43ea640.entry.js → p-c2bd46e2.entry.js} +1 -1
- package/dist/mint-components/{p-428256ab.js → p-ce5b03c8.js} +8 -3
- package/dist/mint-components/p-ce748fab.js +1 -0
- package/dist/mint-components/{p-2ff85968.entry.js → p-d5e83056.entry.js} +1 -1
- package/dist/mint-components/{p-bb5ec5c2.js → p-d65bf9dc.js} +1 -1
- package/dist/mint-components/{p-706a112f.entry.js → p-d846f34f.entry.js} +2 -2
- package/dist/mint-components/p-db9652e7.system.entry.js +1 -0
- package/dist/mint-components/{p-b4deff58.entry.js → p-e058ba88.entry.js} +1 -1
- package/dist/mint-components/{p-c1962b42.entry.js → p-e3de804b.entry.js} +1 -1
- package/dist/mint-components/{p-d9e05949.system.entry.js → p-e49392c3.system.entry.js} +1 -1
- package/dist/mint-components/p-e9197aac.entry.js +1 -0
- package/dist/mint-components/{p-6ff1de8a.js → p-eab33344.js} +1 -1
- package/dist/mint-components/{p-01d691c5.system.entry.js → p-ed9374ef.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0604038.system.js → p-ee7bc1c7.system.js} +1 -1
- package/dist/mint-components/{p-bb9a9cf3.entry.js → p-ef6a3ff3.entry.js} +2 -2
- package/dist/mint-components/{p-25fd6ee0.system.entry.js → p-f04ce58d.system.entry.js} +1 -1
- package/dist/mint-components/p-f064bf28.entry.js +1 -0
- package/dist/mint-components/p-f21aa0bd.entry.js +1 -0
- package/dist/mint-components/{p-01be40a8.system.entry.js → p-f60d9f3e.system.entry.js} +1 -1
- package/dist/mint-components/{p-9df46d84.system.js → p-f63961b4.system.js} +1 -1
- package/dist/mint-components/{p-b953ae7f.js → p-f71cfd64.js} +1 -1
- package/dist/mint-components/{p-e3fc9e65.system.entry.js → p-f7b5c0ac.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-5508ac9d.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-b1f730bd.js +0 -1
- package/dist/mint-components/p-2108937d.js +0 -1
- package/dist/mint-components/p-37678b57.entry.js +0 -1
- package/dist/mint-components/p-3c02b80b.entry.js +0 -1
- package/dist/mint-components/p-5da880d1.js +0 -1
- package/dist/mint-components/p-6a15c0c5.system.entry.js +0 -1
- package/dist/mint-components/p-79787bf3.system.js +0 -1
- package/dist/mint-components/p-844b9513.entry.js +0 -1
- package/dist/mint-components/p-87a6bfa4.entry.js +0 -1
- package/dist/mint-components/p-99ec46fe.js +0 -1
- package/dist/mint-components/p-a984852e.entry.js +0 -1
- package/dist/mint-components/p-ad1fb768.entry.js +0 -1
- package/dist/mint-components/p-b2f447a6.entry.js +0 -1
- package/dist/mint-components/p-c0e7d16e.system.js +0 -1
- package/dist/mint-components/p-c32a8733.system.js +0 -1
- package/dist/mint-components/p-e61bedb4.system.entry.js +0 -1
- package/dist/mint-components/p-fd8addea.system.entry.js +0 -1
|
@@ -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 { H, Y as Ye, h as hn, i as isDemo } from './index.module-99d8522e.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 = H();
|
|
14
14
|
const [request, { loading, data, errors }] = Ye();
|
|
15
|
-
const urlParams = new URLSearchParams(
|
|
15
|
+
const urlParams = new URLSearchParams(hn.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 hn.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
|
+
hn.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-91edfca0.js';
|
|
4
|
+
import { i as isDemo } from './index.module-99d8522e.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-096db0eb.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-b945a965.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-e425f29d.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-99d8522e.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-c9d54ef3.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-7f9f4360.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-99d8522e.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-096db0eb.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-91edfca0.js';
|
|
4
|
+
import { d as dist, H, W, O, y as yn, i as isDemo } from './index.module-99d8522e.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-096db0eb.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-b945a965.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-e425f29d.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 = H();
|
|
131
|
+
const programIdContext = W();
|
|
132
|
+
const locale = O();
|
|
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 = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { a as commonjsGlobal, u as useMemo, j as useState, f as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import {
|
|
3
|
+
import './global-91edfca0.js';
|
|
4
|
+
import { h as hn, v as vn, e as setUserIdentity, d as dist, z as ze, k as setProgramId } from './index.module-99d8522e.js';
|
|
5
5
|
import './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 './useChildElements-
|
|
9
|
+
import './useChildElements-b945a965.js';
|
|
10
10
|
import { l as luxon } from './luxon-f01e85fe.js';
|
|
11
11
|
import './utils-334c1e34.js';
|
|
12
12
|
import './sqm-text-span-view-8d140661.js';
|
|
@@ -16,13 +16,13 @@ import { E as EmailRegistrationView } from './email-registration-view-4a4202e7.j
|
|
|
16
16
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
17
17
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2d740794.js';
|
|
18
18
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-414bcb19.js';
|
|
19
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
20
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
19
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-eb765b9c.js';
|
|
20
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-408af676.js';
|
|
21
21
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-41afcace.js';
|
|
22
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
22
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-efa44888.js';
|
|
23
23
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-0df781f6.js';
|
|
24
24
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-1db4fae6.js';
|
|
25
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, 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, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-
|
|
25
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, 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, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-2c82b555.js';
|
|
26
26
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -2389,36 +2389,36 @@ const routes = `
|
|
|
2389
2389
|
`;
|
|
2390
2390
|
const TemplateNavigation = createHookStory(() => {
|
|
2391
2391
|
return (h("div", null,
|
|
2392
|
-
h("button", { onClick: () =>
|
|
2393
|
-
h("button", { onClick: () =>
|
|
2394
|
-
h("button", { onClick: () =>
|
|
2395
|
-
h("button", { onClick: () =>
|
|
2396
|
-
h("button", { onClick: () =>
|
|
2397
|
-
h("button", { onClick: () =>
|
|
2398
|
-
h("button", { onClick: () =>
|
|
2399
|
-
h("button", { onClick: () =>
|
|
2400
|
-
h("button", { onClick: () =>
|
|
2392
|
+
h("button", { onClick: () => hn.push("/") }, "/"),
|
|
2393
|
+
h("button", { onClick: () => hn.push("/foo") }, "/foo"),
|
|
2394
|
+
h("button", { onClick: () => hn.push("/bar") }, "/bar"),
|
|
2395
|
+
h("button", { onClick: () => hn.push("/baz/bang") }, "/baz/bang"),
|
|
2396
|
+
h("button", { onClick: () => hn.push("/refer") }, "/refer"),
|
|
2397
|
+
h("button", { onClick: () => hn.push("/refer/1") }, "/refer/1"),
|
|
2398
|
+
h("button", { onClick: () => hn.push("/refer/2") }, "/refer/2"),
|
|
2399
|
+
h("button", { onClick: () => hn.back() }, "Back"),
|
|
2400
|
+
h("button", { onClick: () => hn.forward() }, "Forward"),
|
|
2401
2401
|
h("hr", null),
|
|
2402
2402
|
h("sqm-router", { innerHTML: templates })));
|
|
2403
2403
|
});
|
|
2404
2404
|
const RouteNavigation = createHookStory(() => {
|
|
2405
2405
|
return (h("div", null,
|
|
2406
|
-
h("button", { onClick: () =>
|
|
2407
|
-
h("button", { onClick: () =>
|
|
2408
|
-
h("button", { onClick: () =>
|
|
2409
|
-
h("button", { onClick: () =>
|
|
2410
|
-
h("button", { onClick: () =>
|
|
2411
|
-
h("button", { onClick: () =>
|
|
2412
|
-
h("button", { onClick: () =>
|
|
2413
|
-
h("button", { onClick: () =>
|
|
2414
|
-
h("button", { onClick: () =>
|
|
2406
|
+
h("button", { onClick: () => hn.push("/") }, "/"),
|
|
2407
|
+
h("button", { onClick: () => hn.push("/foo") }, "/foo"),
|
|
2408
|
+
h("button", { onClick: () => hn.push("/bar") }, "/bar"),
|
|
2409
|
+
h("button", { onClick: () => hn.push("/baz/bang") }, "/baz/bang"),
|
|
2410
|
+
h("button", { onClick: () => hn.push("/refer") }, "/refer"),
|
|
2411
|
+
h("button", { onClick: () => hn.push("/refer/1") }, "/refer/1"),
|
|
2412
|
+
h("button", { onClick: () => hn.push("/refer/2") }, "/refer/2"),
|
|
2413
|
+
h("button", { onClick: () => hn.back() }, "Back"),
|
|
2414
|
+
h("button", { onClick: () => hn.forward() }, "Forward"),
|
|
2415
2415
|
h("hr", null),
|
|
2416
2416
|
h("sqm-router", { innerHTML: routes })));
|
|
2417
2417
|
});
|
|
2418
2418
|
const Styling = createHookStory(() => {
|
|
2419
2419
|
return (h("div", null,
|
|
2420
|
-
h("button", { onClick: () =>
|
|
2421
|
-
h("button", { onClick: () =>
|
|
2420
|
+
h("button", { onClick: () => hn.push("/") }, "/"),
|
|
2421
|
+
h("button", { onClick: () => hn.push("/foo") }, "/foo"),
|
|
2422
2422
|
h("hr", null),
|
|
2423
2423
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2424
2424
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2432,7 +2432,7 @@ function useTemplate(templateString) {
|
|
|
2432
2432
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2433
2433
|
function setPath(e) {
|
|
2434
2434
|
//@ts-ignore
|
|
2435
|
-
|
|
2435
|
+
hn.push(e.target.value);
|
|
2436
2436
|
}
|
|
2437
2437
|
return {
|
|
2438
2438
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2597,7 +2597,7 @@ const FullStackFrame = () => {
|
|
|
2597
2597
|
" ",
|
|
2598
2598
|
h("code", null,
|
|
2599
2599
|
h("strong", null, (_a = vn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2600
|
-
h("button", { onClick:
|
|
2600
|
+
h("button", { onClick: hn.back }, "Go Back")));
|
|
2601
2601
|
};
|
|
2602
2602
|
const FullStackFrameLoggedOut = () => {
|
|
2603
2603
|
var _a;
|
|
@@ -2622,7 +2622,7 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2622
2622
|
" ",
|
|
2623
2623
|
h("code", null,
|
|
2624
2624
|
h("strong", null, (_a = vn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2625
|
-
h("button", { onClick:
|
|
2625
|
+
h("button", { onClick: hn.back }, "Go Back")));
|
|
2626
2626
|
};
|
|
2627
2627
|
|
|
2628
2628
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -2706,12 +2706,12 @@ const UseShareLink_stories = {
|
|
|
2706
2706
|
title: "Hooks / useShareLink",
|
|
2707
2707
|
};
|
|
2708
2708
|
function setupGraphQL$1() {
|
|
2709
|
-
const id = "
|
|
2709
|
+
const id = "zach.harrison@referralsaasquatch.com";
|
|
2710
2710
|
const accountId = id;
|
|
2711
|
-
const programId = "
|
|
2711
|
+
const programId = "klip-referral-program";
|
|
2712
2712
|
//@ts-ignore
|
|
2713
2713
|
window.widgetIdent = {
|
|
2714
|
-
tenantAlias: "
|
|
2714
|
+
tenantAlias: "test_a74miwdpofztj",
|
|
2715
2715
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
2716
2716
|
programId,
|
|
2717
2717
|
};
|
|
@@ -2719,7 +2719,7 @@ function setupGraphQL$1() {
|
|
|
2719
2719
|
setUserIdentity({
|
|
2720
2720
|
accountId,
|
|
2721
2721
|
id,
|
|
2722
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
2722
|
+
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIiwiYWNjb3VudElkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIn19.Wi8Vd5r64g5n8VNhiY-v5cqFcLwGxPG3Wi3dVSfkFZI",
|
|
2723
2723
|
});
|
|
2724
2724
|
return () => {
|
|
2725
2725
|
window.widgetIdent = undefined;
|
|
@@ -2730,7 +2730,7 @@ function setupGraphQL$1() {
|
|
|
2730
2730
|
const BareBonesView = createHookStory(() => {
|
|
2731
2731
|
setupGraphQL$1();
|
|
2732
2732
|
const res = useShareLink({
|
|
2733
|
-
programId: "
|
|
2733
|
+
programId: "klip-referral-program",
|
|
2734
2734
|
tooltiplifespan: 0,
|
|
2735
2735
|
tooltiptext: "",
|
|
2736
2736
|
});
|
|
@@ -2742,7 +2742,7 @@ const BareBonesView = createHookStory(() => {
|
|
|
2742
2742
|
const RegularView = createHookStory(() => {
|
|
2743
2743
|
setupGraphQL$1();
|
|
2744
2744
|
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
2745
|
-
programId: "
|
|
2745
|
+
programId: "klip-referral-program",
|
|
2746
2746
|
tooltiptext: "Copied to clipboard",
|
|
2747
2747
|
tooltiplifespan: 1000,
|
|
2748
2748
|
}))));
|
|
@@ -2750,7 +2750,7 @@ const RegularView = createHookStory(() => {
|
|
|
2750
2750
|
const FastTooltip = createHookStory(() => {
|
|
2751
2751
|
setupGraphQL$1();
|
|
2752
2752
|
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
2753
|
-
programId: "
|
|
2753
|
+
programId: "klip-referral-program",
|
|
2754
2754
|
tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
|
|
2755
2755
|
tooltiplifespan: 500,
|
|
2756
2756
|
}))));
|
|
@@ -3347,7 +3347,7 @@ function useExchangeButton() {
|
|
|
3347
3347
|
const { id, accountId } = setupGraphQL$6();
|
|
3348
3348
|
const [points, setPoints] = useState(10);
|
|
3349
3349
|
const [rate, setRate] = useState(100);
|
|
3350
|
-
const [exchange, { data, errors }] =
|
|
3350
|
+
const [exchange, { data, errors }] = ze(EXCHANGE);
|
|
3351
3351
|
return {
|
|
3352
3352
|
states: {
|
|
3353
3353
|
points,
|
|
@@ -3948,16 +3948,16 @@ function DefaultTemplateView(props) {
|
|
|
3948
3948
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
3949
3949
|
gridGap: "10px",
|
|
3950
3950
|
} },
|
|
3951
|
-
h("button", { onClick: () =>
|
|
3952
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
3953
|
-
h("button", { onClick: () =>
|
|
3954
|
-
h("button", { onClick: () =>
|
|
3955
|
-
h("button", { onClick: () =>
|
|
3956
|
-
h("button", { onClick: () =>
|
|
3957
|
-
h("button", { onClick: () =>
|
|
3958
|
-
h("button", { onClick: () =>
|
|
3959
|
-
h("button", { onClick: () =>
|
|
3960
|
-
h("button", { onClick: () =>
|
|
3951
|
+
h("button", { onClick: () => hn.push("/") }, "Dashboard"),
|
|
3952
|
+
props.leadSubmit && (h("button", { onClick: () => hn.push("/refer") }, "Submit a Referral")),
|
|
3953
|
+
h("button", { onClick: () => hn.push("/activity") }, "Activity"),
|
|
3954
|
+
h("button", { onClick: () => hn.push("/editProfile") }, "Edit Profile"),
|
|
3955
|
+
h("button", { onClick: () => hn.push("/login") }, "Login"),
|
|
3956
|
+
h("button", { onClick: () => hn.push("/register") }, "Register"),
|
|
3957
|
+
h("button", { onClick: () => hn.push("/emailVerification") }, "Email Verification"),
|
|
3958
|
+
h("button", { onClick: () => hn.push("/verifyEmail") }, "Verify Email"),
|
|
3959
|
+
h("button", { onClick: () => hn.push("/forgotPassword") }, "Forgot Password"),
|
|
3960
|
+
h("button", { onClick: () => hn.push("/resetPassword") }, "Reset Password")),
|
|
3961
3961
|
h("br", null),
|
|
3962
3962
|
h("div", { innerHTML: states.previewTemplate })));
|
|
3963
3963
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
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 './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
3
|
+
import './index.module-99d8522e.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-096db0eb.js';
|
|
5
5
|
|
|
6
6
|
const TabView = ({}, children) => {
|
|
7
7
|
return h(Host, null, children);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { l, u as useMemo, f as useEffect, m as h$1 } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { V } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
3
|
+
import { V } from './index.module-99d8522e.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-096db0eb.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-b945a965.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
|
|
8
8
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as useState } from './stencil-hooks.module-14b87f98.js';
|
|
2
|
-
import { u as un } from './index.module-
|
|
2
|
+
import { u as un } from './index.module-99d8522e.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-c9d54ef3.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
7
|
const cookie = new URLSearchParams(window.location.search);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, i as useReducer, f as useEffect } from './stencil-hooks.module-14b87f98.js';
|
|
3
|
-
import { d as dist,
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
3
|
+
import { d as dist, H, W, O, b as mn, y as yn } from './index.module-99d8522e.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-096db0eb.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-b945a965.js';
|
|
6
6
|
import { l as luxon } from './luxon-f01e85fe.js';
|
|
7
7
|
|
|
8
8
|
const mockRewardData = (count = 4) => {
|
|
@@ -354,8 +354,8 @@ const GET_REFERRAL_DATA = dist.gql `
|
|
|
354
354
|
`;
|
|
355
355
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
356
356
|
var _a, _b, _c;
|
|
357
|
-
const user =
|
|
358
|
-
const programIdContext =
|
|
357
|
+
const user = H();
|
|
358
|
+
const programIdContext = W();
|
|
359
359
|
// Default to context, overriden by props
|
|
360
360
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
361
361
|
// If no program ID, shows all programs
|
|
@@ -377,7 +377,7 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
377
377
|
loading: false,
|
|
378
378
|
page: 0,
|
|
379
379
|
});
|
|
380
|
-
const locale =
|
|
380
|
+
const locale = O();
|
|
381
381
|
const { data: referrerResponse, loading: referrerLoading, refetch, } = mn(GET_REFERRER_DATA, {
|
|
382
382
|
programId: programId === "classic" ? null : programId,
|
|
383
383
|
rewardFilter,
|
package/dist/esm/{useRegistrationFormState-b1f730bd.js → useRegistrationFormState-c9d54ef3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y } from './stencil-hooks.module-14b87f98.js';
|
|
2
|
-
import { V } from './index.module-
|
|
2
|
+
import { V } from './index.module-99d8522e.js';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
5
5
|
function useRegistrationFormState(formState) {
|