@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,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module.
|
|
38
|
+
index_module.pn.push(data.path);
|
|
39
39
|
}, class: sheet.classes.ItemContainer },
|
|
40
40
|
index.h("style", { type: "text/css" }, styleString),
|
|
41
41
|
index.h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
12
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-7e751389.js');
|
|
13
13
|
|
|
14
14
|
function useNavigationSidebarItem(props) {
|
|
15
15
|
const currentPage = index_module.vn();
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-dd53f947.js');
|
|
9
9
|
|
|
10
10
|
const NavigationSidebar = class {
|
|
@@ -21,7 +21,7 @@ const NavigationSidebar = class {
|
|
|
21
21
|
};
|
|
22
22
|
function useNavigationSidebar() {
|
|
23
23
|
const location = index_module.vn();
|
|
24
|
-
const programId = index_module.
|
|
24
|
+
const programId = index_module.O();
|
|
25
25
|
const [checked, setChecked] = stencilHooks_module.useState(false);
|
|
26
26
|
// Close hamburger menu after navigation
|
|
27
27
|
stencilHooks_module.useEffect(() => {
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
const mixins = require('./mixins-fe9d4112.js');
|
|
10
10
|
const JSS = require('./JSS-8503a151.js');
|
|
11
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
11
|
+
const useRegistrationFormState = require('./useRegistrationFormState-7e9641c4.js');
|
|
12
12
|
|
|
13
13
|
var constants = {
|
|
14
14
|
error: {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
|
|
10
10
|
const PopupContainerView = (props) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-de2bf4f7.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
@@ -4,21 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-de2bf4f7.js');
|
|
8
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-6f0aea50.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
17
17
|
const [request, { loading, data, errors }] = index_module.on();
|
|
18
18
|
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.Ke();
|
|
19
|
-
const userIdent = index_module.
|
|
19
|
+
const userIdent = index_module.L();
|
|
20
20
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
21
|
-
const urlParams = new URLSearchParams(index_module.
|
|
21
|
+
const urlParams = new URLSearchParams(index_module.pn.location.search);
|
|
22
22
|
const nextPage = urlParams.get("nextPage");
|
|
23
23
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
24
24
|
const [error, setError] = stencilHooks_module.useState("");
|
|
@@ -48,7 +48,7 @@ function usePortalEmailVerification(props) {
|
|
|
48
48
|
const data = (await getVerificationStatus());
|
|
49
49
|
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
50
50
|
clearInterval(timerRef.current);
|
|
51
|
-
return index_module.
|
|
51
|
+
return index_module.pn.push({
|
|
52
52
|
pathname: props.redirectPath,
|
|
53
53
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
54
54
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
@@ -16,8 +16,8 @@ function usePortalForgotPassword(props) {
|
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
17
17
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
18
18
|
const [error, setError] = stencilHooks_module.useState("");
|
|
19
|
-
const [request, { loading, data, errors }] = index_module.
|
|
20
|
-
const urlParams = new URLSearchParams(index_module.
|
|
19
|
+
const [request, { loading, data, errors }] = index_module.tn();
|
|
20
|
+
const urlParams = new URLSearchParams(index_module.pn.location.search);
|
|
21
21
|
const nextPage = urlParams.get("nextPage");
|
|
22
22
|
const submit = async (event) => {
|
|
23
23
|
var _a;
|
|
@@ -97,7 +97,7 @@ const PortalForgotPassword = class {
|
|
|
97
97
|
? usePortalForgotPasswordDemo(this)
|
|
98
98
|
: usePortalForgotPassword(this);
|
|
99
99
|
const content = {
|
|
100
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
100
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.pn.push(states.loginPath) }, "Sign In"))),
|
|
101
101
|
messageSlot: (index.h("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
|
|
102
102
|
emailLabel: this.emailLabel,
|
|
103
103
|
submitLabel: this.submitLabel,
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
|
|
9
9
|
function usePortalLogout({ nextPage }) {
|
|
10
10
|
index_module.setUserIdentity(undefined);
|
|
11
|
-
index_module.
|
|
11
|
+
index_module.pn.push({ pathname: nextPage, search: "" });
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const PortalLogout = class {
|
package/dist/cjs/{sqm-portal-profile-view-13a1229f.js → sqm-portal-profile-view-0abcf3b8.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-de2bf4f7.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
7
7
|
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-de2bf4f7.js');
|
|
8
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-0abcf3b8.js');
|
|
14
14
|
|
|
15
15
|
const GET_USER = index_module.dist.gql `
|
|
16
16
|
query {
|
|
@@ -56,12 +56,12 @@ const defaultFormState = {
|
|
|
56
56
|
error: "",
|
|
57
57
|
};
|
|
58
58
|
function usePortalProfile(props) {
|
|
59
|
-
const userIdent = index_module.
|
|
59
|
+
const userIdent = index_module.L();
|
|
60
60
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
61
61
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
62
62
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
63
63
|
const userDataResponse = index_module.mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
64
|
-
const [upsertUser, upsertUserResponse] = index_module.
|
|
64
|
+
const [upsertUser, upsertUserResponse] = index_module.Ie(UPSERT_USER);
|
|
65
65
|
stencilHooks_module.useEffect(() => {
|
|
66
66
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
67
67
|
return;
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
|
|
9
9
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
10
10
|
var _a;
|
|
11
|
-
const userIdent = index_module.
|
|
11
|
+
const userIdent = index_module.L();
|
|
12
12
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
13
13
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
14
14
|
const { pathname, search } = index_module.vn();
|
|
@@ -16,13 +16,13 @@ function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirec
|
|
|
16
16
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
17
17
|
stencilHooks_module.useEffect(() => {
|
|
18
18
|
if (!authenticated) {
|
|
19
|
-
return index_module.
|
|
19
|
+
return index_module.pn.push({
|
|
20
20
|
pathname: redirectTo,
|
|
21
21
|
search: "?" + nextPageParam.toString(),
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
if (requireEmailVerification && !emailVerified) {
|
|
25
|
-
return index_module.
|
|
25
|
+
return index_module.pn.push({
|
|
26
26
|
pathname: redirectToUnverified || redirectTo,
|
|
27
27
|
search: "?" + nextPageParam.toString(),
|
|
28
28
|
});
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const mixins = require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
13
|
+
const useRegistrationFormState = require('./useRegistrationFormState-7e9641c4.js');
|
|
14
14
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
15
15
|
|
|
16
16
|
const style = {
|
|
@@ -210,7 +210,7 @@ function usePortalRegistrationForm(props) {
|
|
|
210
210
|
managedIdentityResponse.result.results.length &&
|
|
211
211
|
managedIdentityResponse.result.results[0].success &&
|
|
212
212
|
managedIdentityResponse.result.results[0].data.token) {
|
|
213
|
-
index_module.
|
|
213
|
+
index_module.pn.push(props.nextPage);
|
|
214
214
|
}
|
|
215
215
|
else if (
|
|
216
216
|
// check for blocked email error response
|
|
@@ -399,7 +399,7 @@ const PortalRegistrationForm = class {
|
|
|
399
399
|
: usePortalRegistrationForm(this);
|
|
400
400
|
const content = {
|
|
401
401
|
formData: index.h("slot", { name: "formData" }),
|
|
402
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
402
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.pn.push(states.loginPath) }, this.loginLabel))),
|
|
403
403
|
terms: index.h("slot", { name: "terms" }),
|
|
404
404
|
emailLabel: this.emailLabel,
|
|
405
405
|
passwordLabel: this.passwordLabel,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
@@ -17,9 +17,9 @@ function usePortalResetPassword(props) {
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [reset, setReset] = stencilHooks_module.useState(false);
|
|
19
19
|
const [error, setError] = stencilHooks_module.useState("");
|
|
20
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.
|
|
20
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.Le();
|
|
21
21
|
const [resetPassword, resetPasswordState] = index_module.Ne();
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.pn.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
urlParams.delete("oobCode");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -57,10 +57,10 @@ function usePortalResetPassword(props) {
|
|
|
57
57
|
const gotoNextPage = () => {
|
|
58
58
|
urlParams.delete("nextPage");
|
|
59
59
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
60
|
-
index_module.
|
|
60
|
+
index_module.pn.push(url.href);
|
|
61
61
|
};
|
|
62
62
|
const failed = () => {
|
|
63
|
-
index_module.
|
|
63
|
+
index_module.pn.push({
|
|
64
64
|
pathname: props.failedPage,
|
|
65
65
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
66
66
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
@@ -14,9 +14,9 @@ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-f6c7287
|
|
|
14
14
|
|
|
15
15
|
function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
17
|
-
const userIdent = index_module.
|
|
17
|
+
const userIdent = index_module.L();
|
|
18
18
|
const [request, { loading, data, errors }] = index_module.Ye();
|
|
19
|
-
const urlParams = new URLSearchParams(index_module.
|
|
19
|
+
const urlParams = new URLSearchParams(index_module.pn.location.search);
|
|
20
20
|
const oobCode = urlParams.get("oobCode");
|
|
21
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
22
22
|
// derived from useMutation in component boilerplate initialState
|
|
@@ -24,7 +24,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
24
24
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
25
25
|
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));
|
|
26
26
|
const failed = () => {
|
|
27
|
-
return index_module.
|
|
27
|
+
return index_module.pn.push({
|
|
28
28
|
pathname: failedPage,
|
|
29
29
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
30
30
|
});
|
|
@@ -32,7 +32,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
32
32
|
const gotoNextPage = () => {
|
|
33
33
|
urlParams.delete("nextPage");
|
|
34
34
|
const url = utils.sanitizeUrlPath(nextPageOverride || nextPage);
|
|
35
|
-
index_module.
|
|
35
|
+
index_module.pn.push(url.href);
|
|
36
36
|
};
|
|
37
37
|
const submit = async () => {
|
|
38
38
|
var _a;
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-de2bf4f7.js');
|
|
8
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-380b83e2.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-378abee0.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-4cfa421a.js');
|
|
15
15
|
const luxon = require('./luxon-53e983a6.js');
|
|
16
|
-
const useReferralTable = require('./useReferralTable-
|
|
16
|
+
const useReferralTable = require('./useReferralTable-f1f85db9.js');
|
|
17
17
|
const utils = require('./utils-6847bc06.js');
|
|
18
18
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
19
19
|
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-a6b6430e.js');
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
13
|
+
require('./useRegistrationFormState-7e9641c4.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-45026b1f.js');
|
|
15
15
|
|
|
16
16
|
const ReferredRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-ccd9cbad.js');
|
|
8
|
+
const reRender = require('./re-render-378abee0.js');
|
|
9
9
|
|
|
10
10
|
const RewardTableCustomerNoteColumn = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-de2bf4f7.js');
|
|
8
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-380b83e2.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-378abee0.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-4cfa421a.js');
|
|
15
15
|
const luxon = require('./luxon-53e983a6.js');
|
|
16
|
-
const useReferralTable = require('./useReferralTable-
|
|
16
|
+
const useReferralTable = require('./useReferralTable-f1f85db9.js');
|
|
17
17
|
const utils = require('./utils-6847bc06.js');
|
|
18
18
|
|
|
19
19
|
const debug = stencilHooks_module.browser("sq:useRewardsTable");
|
|
@@ -131,9 +131,9 @@ const GET_REWARDS = index_module.dist.gql `
|
|
|
131
131
|
`;
|
|
132
132
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
133
133
|
var _a, _b;
|
|
134
|
-
const user = index_module.
|
|
135
|
-
const programIdContext = index_module.
|
|
136
|
-
const locale = index_module.
|
|
134
|
+
const user = index_module.L();
|
|
135
|
+
const programIdContext = index_module.O();
|
|
136
|
+
const locale = index_module.W();
|
|
137
137
|
// Default to context, overriden by props
|
|
138
138
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
139
139
|
const rewardFilter = {
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-de2bf4f7.js');
|
|
8
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-380b83e2.js');
|
|
13
|
-
require('./useChildElements-
|
|
13
|
+
require('./useChildElements-4cfa421a.js');
|
|
14
14
|
const luxon = require('./luxon-53e983a6.js');
|
|
15
15
|
require('./utils-6847bc06.js');
|
|
16
16
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
@@ -20,13 +20,13 @@ const emailRegistrationView = require('./email-registration-view-a6b6430e.js');
|
|
|
20
20
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
21
21
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-555c7729.js');
|
|
22
22
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-dd53f947.js');
|
|
23
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
24
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
23
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-7e751389.js');
|
|
24
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-6f0aea50.js');
|
|
25
25
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-0142350f.js');
|
|
26
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
26
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-0abcf3b8.js');
|
|
27
27
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-d5bc7afc.js');
|
|
28
28
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-f6c7287e.js');
|
|
29
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
29
|
+
const ShadowViewAddon = require('./ShadowViewAddon-b997bca7.js');
|
|
30
30
|
const sqmPortalContainerView = require('./sqm-portal-container-view-5fb2ad49.js');
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -2393,36 +2393,36 @@ const routes = `
|
|
|
2393
2393
|
`;
|
|
2394
2394
|
const TemplateNavigation = createHookStory(() => {
|
|
2395
2395
|
return (index.h("div", null,
|
|
2396
|
-
index.h("button", { onClick: () => index_module.
|
|
2397
|
-
index.h("button", { onClick: () => index_module.
|
|
2398
|
-
index.h("button", { onClick: () => index_module.
|
|
2399
|
-
index.h("button", { onClick: () => index_module.
|
|
2400
|
-
index.h("button", { onClick: () => index_module.
|
|
2401
|
-
index.h("button", { onClick: () => index_module.
|
|
2402
|
-
index.h("button", { onClick: () => index_module.
|
|
2403
|
-
index.h("button", { onClick: () => index_module.
|
|
2404
|
-
index.h("button", { onClick: () => index_module.
|
|
2396
|
+
index.h("button", { onClick: () => index_module.pn.push("/") }, "/"),
|
|
2397
|
+
index.h("button", { onClick: () => index_module.pn.push("/foo") }, "/foo"),
|
|
2398
|
+
index.h("button", { onClick: () => index_module.pn.push("/bar") }, "/bar"),
|
|
2399
|
+
index.h("button", { onClick: () => index_module.pn.push("/baz/bang") }, "/baz/bang"),
|
|
2400
|
+
index.h("button", { onClick: () => index_module.pn.push("/refer") }, "/refer"),
|
|
2401
|
+
index.h("button", { onClick: () => index_module.pn.push("/refer/1") }, "/refer/1"),
|
|
2402
|
+
index.h("button", { onClick: () => index_module.pn.push("/refer/2") }, "/refer/2"),
|
|
2403
|
+
index.h("button", { onClick: () => index_module.pn.back() }, "Back"),
|
|
2404
|
+
index.h("button", { onClick: () => index_module.pn.forward() }, "Forward"),
|
|
2405
2405
|
index.h("hr", null),
|
|
2406
2406
|
index.h("sqm-router", { innerHTML: templates })));
|
|
2407
2407
|
});
|
|
2408
2408
|
const RouteNavigation = createHookStory(() => {
|
|
2409
2409
|
return (index.h("div", null,
|
|
2410
|
-
index.h("button", { onClick: () => index_module.
|
|
2411
|
-
index.h("button", { onClick: () => index_module.
|
|
2412
|
-
index.h("button", { onClick: () => index_module.
|
|
2413
|
-
index.h("button", { onClick: () => index_module.
|
|
2414
|
-
index.h("button", { onClick: () => index_module.
|
|
2415
|
-
index.h("button", { onClick: () => index_module.
|
|
2416
|
-
index.h("button", { onClick: () => index_module.
|
|
2417
|
-
index.h("button", { onClick: () => index_module.
|
|
2418
|
-
index.h("button", { onClick: () => index_module.
|
|
2410
|
+
index.h("button", { onClick: () => index_module.pn.push("/") }, "/"),
|
|
2411
|
+
index.h("button", { onClick: () => index_module.pn.push("/foo") }, "/foo"),
|
|
2412
|
+
index.h("button", { onClick: () => index_module.pn.push("/bar") }, "/bar"),
|
|
2413
|
+
index.h("button", { onClick: () => index_module.pn.push("/baz/bang") }, "/baz/bang"),
|
|
2414
|
+
index.h("button", { onClick: () => index_module.pn.push("/refer") }, "/refer"),
|
|
2415
|
+
index.h("button", { onClick: () => index_module.pn.push("/refer/1") }, "/refer/1"),
|
|
2416
|
+
index.h("button", { onClick: () => index_module.pn.push("/refer/2") }, "/refer/2"),
|
|
2417
|
+
index.h("button", { onClick: () => index_module.pn.back() }, "Back"),
|
|
2418
|
+
index.h("button", { onClick: () => index_module.pn.forward() }, "Forward"),
|
|
2419
2419
|
index.h("hr", null),
|
|
2420
2420
|
index.h("sqm-router", { innerHTML: routes })));
|
|
2421
2421
|
});
|
|
2422
2422
|
const Styling = createHookStory(() => {
|
|
2423
2423
|
return (index.h("div", null,
|
|
2424
|
-
index.h("button", { onClick: () => index_module.
|
|
2425
|
-
index.h("button", { onClick: () => index_module.
|
|
2424
|
+
index.h("button", { onClick: () => index_module.pn.push("/") }, "/"),
|
|
2425
|
+
index.h("button", { onClick: () => index_module.pn.push("/foo") }, "/foo"),
|
|
2426
2426
|
index.h("hr", null),
|
|
2427
2427
|
index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2428
2428
|
index.h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2436,7 +2436,7 @@ function useTemplate(templateString) {
|
|
|
2436
2436
|
const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
|
|
2437
2437
|
function setPath(e) {
|
|
2438
2438
|
//@ts-ignore
|
|
2439
|
-
index_module.
|
|
2439
|
+
index_module.pn.push(e.target.value);
|
|
2440
2440
|
}
|
|
2441
2441
|
return {
|
|
2442
2442
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2601,7 +2601,7 @@ const FullStackFrame = () => {
|
|
|
2601
2601
|
" ",
|
|
2602
2602
|
index.h("code", null,
|
|
2603
2603
|
index.h("strong", null, (_a = index_module.vn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2604
|
-
index.h("button", { onClick: index_module.
|
|
2604
|
+
index.h("button", { onClick: index_module.pn.back }, "Go Back")));
|
|
2605
2605
|
};
|
|
2606
2606
|
const FullStackFrameLoggedOut = () => {
|
|
2607
2607
|
var _a;
|
|
@@ -2626,7 +2626,7 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2626
2626
|
" ",
|
|
2627
2627
|
index.h("code", null,
|
|
2628
2628
|
index.h("strong", null, (_a = index_module.vn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2629
|
-
index.h("button", { onClick: index_module.
|
|
2629
|
+
index.h("button", { onClick: index_module.pn.back }, "Go Back")));
|
|
2630
2630
|
};
|
|
2631
2631
|
|
|
2632
2632
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -3351,7 +3351,7 @@ function useExchangeButton() {
|
|
|
3351
3351
|
const { id, accountId } = setupGraphQL$6();
|
|
3352
3352
|
const [points, setPoints] = stencilHooks_module.useState(10);
|
|
3353
3353
|
const [rate, setRate] = stencilHooks_module.useState(100);
|
|
3354
|
-
const [exchange, { data, errors }] = index_module.
|
|
3354
|
+
const [exchange, { data, errors }] = index_module.Je(EXCHANGE);
|
|
3355
3355
|
return {
|
|
3356
3356
|
states: {
|
|
3357
3357
|
points,
|
|
@@ -3952,16 +3952,16 @@ function DefaultTemplateView(props) {
|
|
|
3952
3952
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
3953
3953
|
gridGap: "10px",
|
|
3954
3954
|
} },
|
|
3955
|
-
index.h("button", { onClick: () => index_module.
|
|
3956
|
-
props.leadSubmit && (index.h("button", { onClick: () => index_module.
|
|
3957
|
-
index.h("button", { onClick: () => index_module.
|
|
3958
|
-
index.h("button", { onClick: () => index_module.
|
|
3959
|
-
index.h("button", { onClick: () => index_module.
|
|
3960
|
-
index.h("button", { onClick: () => index_module.
|
|
3961
|
-
index.h("button", { onClick: () => index_module.
|
|
3962
|
-
index.h("button", { onClick: () => index_module.
|
|
3963
|
-
index.h("button", { onClick: () => index_module.
|
|
3964
|
-
index.h("button", { onClick: () => index_module.
|
|
3955
|
+
index.h("button", { onClick: () => index_module.pn.push("/") }, "Dashboard"),
|
|
3956
|
+
props.leadSubmit && (index.h("button", { onClick: () => index_module.pn.push("/refer") }, "Submit a Referral")),
|
|
3957
|
+
index.h("button", { onClick: () => index_module.pn.push("/activity") }, "Activity"),
|
|
3958
|
+
index.h("button", { onClick: () => index_module.pn.push("/editProfile") }, "Edit Profile"),
|
|
3959
|
+
index.h("button", { onClick: () => index_module.pn.push("/login") }, "Login"),
|
|
3960
|
+
index.h("button", { onClick: () => index_module.pn.push("/register") }, "Register"),
|
|
3961
|
+
index.h("button", { onClick: () => index_module.pn.push("/emailVerification") }, "Email Verification"),
|
|
3962
|
+
index.h("button", { onClick: () => index_module.pn.push("/verifyEmail") }, "Verify Email"),
|
|
3963
|
+
index.h("button", { onClick: () => index_module.pn.push("/forgotPassword") }, "Forgot Password"),
|
|
3964
|
+
index.h("button", { onClick: () => index_module.pn.push("/resetPassword") }, "Reset Password")),
|
|
3965
3965
|
index.h("br", null),
|
|
3966
3966
|
index.h("div", { innerHTML: states.previewTemplate })));
|
|
3967
3967
|
}
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-ccd9cbad.js');
|
|
8
|
+
const reRender = require('./re-render-378abee0.js');
|
|
9
9
|
|
|
10
10
|
const TabView = ({}, children) => {
|
|
11
11
|
return index.h(index.Host, null, children);
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
9
|
-
const useChildElements = require('./useChildElements-
|
|
7
|
+
const index_module = require('./index.module-ccd9cbad.js');
|
|
8
|
+
const reRender = require('./re-render-378abee0.js');
|
|
9
|
+
const useChildElements = require('./useChildElements-4cfa421a.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
|
|
12
12
|
const TabsView = ({ content, placement, }) => {
|