@saasquatch/mint-components 1.6.0-0 → 1.6.0-3
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-67ab6be4.js → ShadowViewAddon-0137b261.js} +2 -2
- package/dist/cjs/{global-aaa3f929.js → global-dadddab7.js} +1 -1
- package/dist/cjs/{index.module-b9e4136f.js → index.module-1c799b1f.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-90da06a2.js → re-render-1f64b7e4.js} +3 -3
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +10 -10
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-919190ec.js → sqm-navigation-sidebar-item-view-7b5192f8.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-83e44767.js → sqm-portal-email-verification-view-7aafc301.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -3
- package/dist/cjs/{sqm-portal-footer-view-b2dc31a2.js → sqm-portal-footer-view-eca61afc.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -1
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-3b7650df.js → sqm-portal-profile-view-8aac8922.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +8 -8
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-315320bd.js → useChildElements-5500a263.js} +2 -2
- package/dist/cjs/{useReferralTable-32fed069.js → useReferralTable-9c4f5958.js} +3 -3
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +1 -0
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +1 -0
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +6 -0
- package/dist/esm/{ShadowViewAddon-2b1e68bd.js → ShadowViewAddon-4558079b.js} +2 -2
- package/dist/esm/{global-3b481fc7.js → global-78c0c467.js} +1 -1
- package/dist/esm/{index.module-23da8fa0.js → index.module-2b4f1755.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-3368de52.js → re-render-5c1dfc11.js} +3 -3
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat_35.entry.js +10 -10
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-fbbc41b5.js → sqm-navigation-sidebar-item-view-3485c8f6.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-825ee492.js → sqm-portal-email-verification-view-b3110468.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -3
- package/dist/esm/{sqm-portal-footer-view-fd0225f4.js → sqm-portal-footer-view-f342a626.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +2 -1
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-61c2c482.js → sqm-portal-profile-view-0700f41d.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +8 -8
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-ad0746fa.js → useChildElements-3b3440e2.js} +2 -2
- package/dist/esm/{useReferralTable-8fe4bd12.js → useReferralTable-7cae0c08.js} +3 -3
- package/dist/esm-es5/{ShadowViewAddon-2b1e68bd.js → ShadowViewAddon-4558079b.js} +1 -1
- package/dist/esm-es5/{global-3b481fc7.js → global-78c0c467.js} +1 -1
- package/dist/esm-es5/{index.module-23da8fa0.js → index.module-2b4f1755.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-3368de52.js → re-render-5c1dfc11.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-fbbc41b5.js → sqm-navigation-sidebar-item-view-3485c8f6.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.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-825ee492.js → sqm-portal-email-verification-view-b3110468.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-fd0225f4.js → sqm-portal-footer-view-f342a626.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.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-61c2c482.js → sqm-portal-profile-view-0700f41d.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-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-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-tabs.entry.js +1 -1
- package/dist/esm-es5/useChildElements-3b3440e2.js +1 -0
- package/dist/esm-es5/{useReferralTable-8fe4bd12.js → useReferralTable-7cae0c08.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-036f21e8.js +1 -0
- package/dist/mint-components/{p-bc72afd4.entry.js → p-1b75e2de.entry.js} +1 -1
- package/dist/mint-components/p-1f7979c8.js +1 -0
- package/dist/mint-components/p-24f8c2f6.entry.js +1 -0
- package/dist/mint-components/{p-6cb7ca36.js → p-290fb781.js} +1 -1
- package/dist/mint-components/{p-a7fe3715.system.js → p-29b9535d.system.js} +1 -1
- package/dist/mint-components/{p-c6c911a5.system.entry.js → p-2b03ad0f.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a03d2d8.entry.js → p-2d8fe868.entry.js} +1 -1
- package/dist/mint-components/p-2f94fcc9.entry.js +1 -0
- package/dist/mint-components/{p-092c73b2.system.js → p-36e3a80f.system.js} +1 -1
- package/dist/mint-components/{p-c34200f5.entry.js → p-37f31887.entry.js} +1 -1
- package/dist/mint-components/p-3908f30f.entry.js +13 -0
- package/dist/mint-components/{p-e9a11c35.entry.js → p-429afd94.entry.js} +1 -1
- package/dist/mint-components/{p-79db0843.system.entry.js → p-4a5d60e4.system.entry.js} +1 -1
- package/dist/mint-components/{p-3d6b2357.system.js → p-4c574411.system.js} +1 -1
- package/dist/mint-components/{p-ab2f103f.system.entry.js → p-4cfdf659.system.entry.js} +1 -1
- package/dist/mint-components/{p-a2c865c1.system.entry.js → p-54c7b2d8.system.entry.js} +1 -1
- package/dist/mint-components/p-5530746b.entry.js +1 -0
- package/dist/mint-components/{p-bef21e92.system.js → p-5669b834.system.js} +1 -1
- package/dist/mint-components/{p-2620c909.system.entry.js → p-5fad64ff.system.entry.js} +1 -1
- package/dist/mint-components/{p-40104334.js → p-62145eed.js} +1 -1
- package/dist/mint-components/{p-41633759.entry.js → p-63b2d80f.entry.js} +1 -1
- package/dist/mint-components/{p-ce86e36f.system.entry.js → p-6882941e.system.entry.js} +1 -1
- package/dist/mint-components/{p-48476882.entry.js → p-69568af5.entry.js} +2 -2
- package/dist/mint-components/{p-1f1ea7b5.js → p-6a18a3b9.js} +1 -1
- package/dist/mint-components/{p-85087b21.js → p-6e2ca2a0.js} +1 -1
- package/dist/mint-components/p-719f652f.entry.js +1 -0
- package/dist/mint-components/{p-3dd20384.entry.js → p-72e2f41c.entry.js} +1 -1
- package/dist/mint-components/{p-c750d5c5.system.js → p-7feaa042.system.js} +1 -1
- package/dist/mint-components/{p-c9afecee.system.entry.js → p-81f4f037.system.entry.js} +1 -1
- package/dist/mint-components/p-850f2a6b.entry.js +1 -0
- package/dist/mint-components/{p-0568ccb2.system.entry.js → p-86fcb500.system.entry.js} +1 -1
- package/dist/mint-components/p-889dbba5.entry.js +1 -0
- package/dist/mint-components/{p-98164439.system.js → p-902c11bb.system.js} +1 -1
- package/dist/mint-components/{p-a96702e2.system.js → p-9744ae44.system.js} +1 -1
- package/dist/mint-components/p-9f672bee.js +1 -0
- package/dist/mint-components/p-a73784bb.entry.js +1 -0
- package/dist/mint-components/{p-7607d5b8.system.entry.js → p-ad18d528.system.entry.js} +1 -1
- package/dist/mint-components/p-adeacc26.entry.js +1 -0
- package/dist/mint-components/{p-692db6d6.entry.js → p-ae7b4ec1.entry.js} +2 -2
- package/dist/mint-components/p-aecf1b25.system.entry.js +1 -0
- package/dist/mint-components/{p-8a0aa2c2.system.js → p-b1db5e12.system.js} +1 -1
- package/dist/mint-components/{p-2d37c91f.js → p-be946087.js} +2 -2
- package/dist/mint-components/{p-2b7af7c4.system.entry.js → p-c3ac2563.system.entry.js} +1 -1
- package/dist/mint-components/{p-f4008f63.js → p-ccc2437d.js} +1 -1
- package/dist/mint-components/p-cfa61592.entry.js +1 -0
- package/dist/mint-components/{p-c9f239c4.system.entry.js → p-d0d34e3e.system.entry.js} +1 -1
- package/dist/mint-components/p-d3411faf.system.entry.js +1 -0
- package/dist/mint-components/{p-37f18cb2.js → p-d7c90aaf.js} +1 -1
- package/dist/mint-components/{p-6b5830c0.system.js → p-d7ce3b77.system.js} +1 -1
- package/dist/mint-components/{p-b0edbe25.system.entry.js → p-d9d9d571.system.entry.js} +1 -1
- package/dist/mint-components/{p-5eec9992.system.entry.js → p-dc25bb20.system.entry.js} +1 -1
- package/dist/mint-components/p-eb2a3eba.entry.js +9 -0
- package/dist/mint-components/{p-6badb7b8.system.entry.js → p-ec634002.system.entry.js} +1 -1
- package/dist/mint-components/{p-37232f63.system.js → p-ed22d613.system.js} +1 -1
- package/dist/mint-components/{p-db3637b4.system.entry.js → p-edc7f769.system.entry.js} +1 -1
- package/dist/mint-components/{p-69fbe6a4.entry.js → p-f13b29a6.entry.js} +1 -1
- package/dist/mint-components/{p-0732a954.system.js → p-f29d1061.system.js} +1 -1
- package/dist/mint-components/{p-cdf31925.system.entry.js → p-f38d11a5.system.entry.js} +1 -1
- package/dist/mint-components/{p-c922af25.system.entry.js → p-f44b04d0.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ae460a6.system.entry.js → p-f9358dc5.system.entry.js} +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/useChildElements-ad0746fa.js +0 -1
- package/dist/mint-components/p-076a5ca5.entry.js +0 -1
- package/dist/mint-components/p-09d29174.entry.js +0 -1
- package/dist/mint-components/p-0b115074.system.entry.js +0 -1
- package/dist/mint-components/p-2617d103.system.entry.js +0 -1
- package/dist/mint-components/p-4502a264.entry.js +0 -1
- package/dist/mint-components/p-6237c202.entry.js +0 -1
- package/dist/mint-components/p-69ebe7e3.entry.js +0 -9
- package/dist/mint-components/p-6e33fcfe.entry.js +0 -1
- package/dist/mint-components/p-75b9bdf1.js +0 -1
- package/dist/mint-components/p-7669b806.entry.js +0 -13
- package/dist/mint-components/p-b46d6eb0.entry.js +0 -1
- package/dist/mint-components/p-bfcd61f9.entry.js +0 -1
- package/dist/mint-components/p-c564c4bf.entry.js +0 -1
- package/dist/mint-components/p-ea63fd6f.entry.js +0 -1
- package/dist/mint-components/p-f97cf424.js +0 -1
- package/dist/mint-components/p-fc789a00.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import { f as cn, L, w as wn } from './index.module-
|
|
4
|
+
import { f as cn, L, w as wn } from './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -19,6 +19,7 @@ function usePortalForgotPassword(props) {
|
|
|
19
19
|
const nextPage = urlParams.get("nextPage");
|
|
20
20
|
const submit = async (event) => {
|
|
21
21
|
setError("");
|
|
22
|
+
setSuccess(false);
|
|
22
23
|
let formData = event.detail.formData;
|
|
23
24
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
24
25
|
jsonpointer.set(formData, key, value);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import { t as te, w as wn, L } from './index.module-
|
|
4
|
+
import { t as te, w as wn, L } from './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
function usePortalLogout({ nextPage }) {
|
package/dist/esm/{sqm-portal-profile-view-61c2c482.js → sqm-portal-profile-view-0700f41d.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-78c0c467.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
5
5
|
import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-78c0c467.js';
|
|
4
4
|
import './use-callback-697e2ff0.js';
|
|
5
|
-
import { d as dist, a as ae, p as pn, $ as $e, L } from './index.module-
|
|
5
|
+
import { d as dist, a as ae, p as pn, $ as $e, L } from './index.module-2b4f1755.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './JSS-f00f9536.js';
|
|
9
9
|
import { g as getProps } from './utils-334c1e34.js';
|
|
10
10
|
import './sqm-text-span-view-0ba1484d.js';
|
|
11
11
|
import './sqm-portal-container-view-ca454627.js';
|
|
12
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
12
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-0700f41d.js';
|
|
13
13
|
|
|
14
14
|
const GET_USER = dist.gql `
|
|
15
15
|
query {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import { a as ae, e as bn, w as wn, L } from './index.module-
|
|
4
|
+
import { a as ae, e as bn, w as wn, L } from './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import { z as ze, Q as Qe, w as wn, L } from './index.module-
|
|
4
|
+
import { z as ze, Q as Qe, w as wn, L } from './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -63,6 +63,12 @@ function usePortalResetPassword(props) {
|
|
|
63
63
|
setError("Network request failed.");
|
|
64
64
|
}
|
|
65
65
|
}, [verifyPasswordResetCodeState === null || verifyPasswordResetCodeState === void 0 ? void 0 : verifyPasswordResetCodeState.errors]);
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
var _a;
|
|
68
|
+
if ((_a = resetPasswordState === null || resetPasswordState === void 0 ? void 0 : resetPasswordState.errors) === null || _a === void 0 ? void 0 : _a.message) {
|
|
69
|
+
setError("Network request failed.");
|
|
70
|
+
}
|
|
71
|
+
}, [resetPasswordState === null || resetPasswordState === void 0 ? void 0 : resetPasswordState.errors]);
|
|
66
72
|
return {
|
|
67
73
|
states: {
|
|
68
74
|
loading: resetPasswordState.loading,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import { a as ae, o as on, w as wn, L } from './index.module-
|
|
4
|
+
import { a as ae, o as on, w as wn, L } from './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
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, u as useReducer, j as useMemo, e as useEffect } from './stencil-hooks.module-e39af977.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-78c0c467.js';
|
|
4
4
|
import './use-callback-697e2ff0.js';
|
|
5
|
-
import { L } from './index.module-
|
|
5
|
+
import { L } from './index.module-2b4f1755.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-ebc09be0.js';
|
|
11
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-5c1dfc11.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-3b3440e2.js';
|
|
13
13
|
import { l as luxon } from './luxon-578505e2.js';
|
|
14
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
14
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-7cae0c08.js';
|
|
15
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
16
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
17
17
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import './index.module-
|
|
4
|
+
import './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { a as useRequestRerender } from './re-render-
|
|
6
|
+
import { a as useRequestRerender } from './re-render-5c1dfc11.js';
|
|
7
7
|
|
|
8
8
|
const RewardTableCustomerNoteColumn = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, u as useReducer, e as useEffect, m as h$1, j as useMemo } from './stencil-hooks.module-e39af977.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-78c0c467.js';
|
|
4
4
|
import './use-callback-697e2ff0.js';
|
|
5
|
-
import { d as dist, a as ae, A, O, I as In, L } from './index.module-
|
|
5
|
+
import { d as dist, a as ae, A, O, I as In, L } from './index.module-2b4f1755.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-ebc09be0.js';
|
|
11
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-5c1dfc11.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-3b3440e2.js';
|
|
13
13
|
import { l as luxon } from './luxon-578505e2.js';
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-7cae0c08.js';
|
|
15
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
16
|
|
|
17
17
|
const mockRewardData = (count = 4) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { a as commonjsGlobal, j as useMemo, k as useState, e as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-e39af977.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-78c0c467.js';
|
|
4
4
|
import './use-callback-697e2ff0.js';
|
|
5
|
-
import { w as wn, e as bn, t as te$1, d as dist, Y as Ye, D as D$1 } from './index.module-
|
|
5
|
+
import { w as wn, e as bn, t as te$1, d as dist, Y as Ye, D as D$1 } from './index.module-2b4f1755.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
@@ -15,15 +15,15 @@ import { A as AssetCardView } from './sqm-asset-card-view-08e68656.js';
|
|
|
15
15
|
import { H as HeroView } from './sqm-hero-view-b54265df.js';
|
|
16
16
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
17
17
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-06d444ca.js';
|
|
18
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
19
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
20
|
-
import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-
|
|
18
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-3485c8f6.js';
|
|
19
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-b3110468.js';
|
|
20
|
+
import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-f342a626.js';
|
|
21
21
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-86d13eef.js';
|
|
22
22
|
import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-0700f41d.js';
|
|
24
24
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-213b3af6.js';
|
|
25
25
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c32dfd7e.js';
|
|
26
|
-
import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-
|
|
26
|
+
import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-4558079b.js';
|
|
27
27
|
import { P as PortalSectionView } from './sqm-portal-section-view-6c249c74.js';
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -4330,7 +4330,7 @@ const PortalEmailVerification = /*#__PURE__*/Object.freeze({
|
|
|
4330
4330
|
EmailVerificationSuccess: EmailVerificationSuccess
|
|
4331
4331
|
});
|
|
4332
4332
|
|
|
4333
|
-
const scenario$8 = "@author:derek\n@owner:ian\nFeature: Reset Password\n\n Background: A user in on the password reset page\n Given a user who has been redirected to the password reset page\n\n @motivating\n Scenario: Users can reset their password\n Given a user has a valid oob code as a url query parameter\n When they enter their password twice\n And they click \"Update\"\n Then their password is updated\n And a banner with a success message is displayed\n And they can log in with their new password\n\n @motivating\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> \"failed-page\" with <value>\n Then they see an error message saying that their password reset code is invalid/expired\n When they click \"Continue\"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn't have | N/A | / |\n | non existant oob code | doesn't have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users must enter the same password twice to successfully reset their password\n Given a user has been redirected to the password reset page\n And they have a valid oob code as a url query parameter\n When they enter two different passwords into the password reset form\n And they click \"Update\"\n Then their password is not be reset\n And an error banner stating the input passwords must match appears\n And their password is not be reset\n When they enter the same password twice\n And they click \"Update\"\n Then a banner appears with a success message\n And they can log in with their new password\n\n @motivating\n Scenario: Users are redirected to \"/\" by default\n Given the component does not have prop \"nextPage\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has entered their password twice\n When they click \"Update\"\n Then their password is updated\n And they are redirected to \"/\"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop \"nextPage\" with value \"/activity\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has entered their password twice\n When they click \"Update\"\n Then their password is updated\n And they are redirected to \"/activity\"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n When they click \"Update\"\n Then their password is updated\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n When they click \"Update\"\n Then their password is updated\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |";
|
|
4333
|
+
const scenario$8 = "@author:derek\n@owner:ian\nFeature: Reset Password\n\n Background: A user in on the password reset page\n Given a user who has been redirected to the password reset page\n\n @motivating\n Scenario: Users can reset their password\n Given a user has a valid oob code as a url query parameter\n When they enter their password twice\n And they click \"Update\"\n Then their password is updated\n And a banner with a success message is displayed\n And they can log in with their new password\n\n @motivating\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> \"failed-page\" with <value>\n Then they see an error message saying that their password reset code is invalid/expired\n When they click \"Continue\"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn't have | N/A | / |\n | non existant oob code | doesn't have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users must enter the same password twice to successfully reset their password\n Given a user has been redirected to the password reset page\n And they have a valid oob code as a url query parameter\n When they enter two different passwords into the password reset form\n And they click \"Update\"\n Then their password is not be reset\n And an error banner stating the input passwords must match appears\n And their password is not be reset\n When they enter the same password twice\n And they click \"Update\"\n Then a banner appears with a success message\n And they can log in with their new password\n\n @motivating\n Scenario: Users are notified if resetting their password fails\n Given a user has a valid oob code as a url query parameter\n When they enter their password twice\n And they click \"Update\"\n But the password reset fails\n Then the user's password does not reset\n And an error banner is shown\n\n @motivating\n Scenario: Users are redirected to \"/\" by default\n Given the component does not have prop \"nextPage\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has entered their password twice\n When they click \"Update\"\n Then their password is updated\n And they are redirected to \"/\"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop \"nextPage\" with value \"/activity\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has entered their password twice\n When they click \"Update\"\n Then their password is updated\n And they are redirected to \"/activity\"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n When they click \"Update\"\n Then their password is updated\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n When they click \"Update\"\n Then their password is updated\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |";
|
|
4334
4334
|
|
|
4335
4335
|
const PortalResetPassword_stories = {
|
|
4336
4336
|
title: "Components/Portal Reset Password",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { l, j as useMemo, e as useEffect, m as h$1 } from './stencil-hooks.module-e39af977.js';
|
|
3
3
|
import './use-callback-697e2ff0.js';
|
|
4
|
-
import {
|
|
4
|
+
import { P } from './index.module-2b4f1755.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { u as useChildElements } from './useChildElements-
|
|
6
|
+
import { u as useChildElements } from './useChildElements-3b3440e2.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
|
|
9
9
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -34,7 +34,7 @@ const TabsView = ({ content, placement, }) => {
|
|
|
34
34
|
const REVEAL_EVENT = "sq:reveal";
|
|
35
35
|
function useTabs() {
|
|
36
36
|
const rawTabs = useChildElements();
|
|
37
|
-
const host =
|
|
37
|
+
const host = P();
|
|
38
38
|
const tabs = useMemo(() => rawTabs
|
|
39
39
|
.filter((tab) => tab.tagName === "SQM-TAB")
|
|
40
40
|
.map((tab, i) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { k as useState, e as useEffect } from './stencil-hooks.module-e39af977.js';
|
|
2
|
-
import {
|
|
2
|
+
import { P } from './index.module-2b4f1755.js';
|
|
3
3
|
|
|
4
4
|
function useChildElements() {
|
|
5
|
-
const host =
|
|
5
|
+
const host = P();
|
|
6
6
|
const initialState = host.children.length
|
|
7
7
|
? Array.from(host.children)
|
|
8
8
|
: [];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, u as useReducer, e as useEffect } from './stencil-hooks.module-e39af977.js';
|
|
3
|
-
import { d as dist, a as ae, A, O, p as pn, I as In } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
3
|
+
import { d as dist, a as ae, A, O, p as pn, I as In } from './index.module-2b4f1755.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-5c1dfc11.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-3b3440e2.js';
|
|
6
6
|
|
|
7
7
|
const debug = browser("sq:useReferralTable");
|
|
8
8
|
const CSS_NAMESPACE = "sqm-referral-table";
|