@saasquatch/mint-components 1.6.2-7 → 1.6.2-8
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-efc84247.js → ShadowViewAddon-ad683b80.js} +19 -19
- package/dist/cjs/{global-0a3fc724.js → global-348a8750.js} +3 -3
- package/dist/cjs/{index.module-458fac5c.js → index.module-ff45cbf1.js} +5876 -6227
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-479fc825.js → luxon-59ca7d19.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{re-render-60cd2050.js → re-render-e5491a50.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +104 -118
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-hero-view-bc763ed2.js → sqm-hero-view-46223e34.js} +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +5 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-navigation-sidebar-item-view-c96b19cd.js → sqm-navigation-sidebar-item-view-e8f500f9.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +5 -5
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-email-verification-view-37960787.js → sqm-portal-email-verification-view-64b5109a.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +11 -10
- package/dist/cjs/{sqm-portal-footer-view-8735a488.js → sqm-portal-footer-view-ab13a649.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +13 -5
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +21 -10
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +9 -7
- package/dist/cjs/{sqm-portal-profile-view-567d9c38.js → sqm-portal-profile-view-89995e7b.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +13 -21
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -10
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +20 -22
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +17 -17
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +9 -9
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +13 -13
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +87 -87
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{stencil-hooks.module-6fe43579.js → stencil-hooks.module-87a1f4f7.js} +0 -1
- package/dist/cjs/{use-callback-5d15897d.js → use-callback-e754042f.js} +1 -1
- package/dist/cjs/{useChildElements-c05ab04d.js → useChildElements-b3043b63.js} +3 -3
- package/dist/cjs/{useReferralTable-4e8de241.js → useReferralTable-438d176c.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-012c5483.js → useRegistrationFormState-793a7958.js} +4 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +8 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +4 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -1
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +4 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +4 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +7 -3
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +9 -5
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +32 -0
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +60 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -0
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +44 -54
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +6 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +13 -21
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +24 -31
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +24 -31
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -21
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +9 -9
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/esm/{ShadowViewAddon-cec39cd8.js → ShadowViewAddon-88454bed.js} +19 -19
- package/dist/esm/{global-5b9a6254.js → global-2546adae.js} +3 -3
- package/dist/esm/{index.module-f1d6a79a.js → index.module-9cd4623b.js} +5854 -6205
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-5a398612.js → luxon-38ca2169.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{re-render-bd3232df.js → re-render-d1b2a0de.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-big-stat_35.entry.js +104 -118
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
- package/dist/esm/{sqm-hero-view-9fb2be89.js → sqm-hero-view-93fac447.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +5 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-navigation-sidebar-item-view-df7ce8d3.js → sqm-navigation-sidebar-item-view-7e6199c2.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +5 -5
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-efaa0c2a.js → sqm-portal-email-verification-view-e08d4947.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +11 -10
- package/dist/esm/{sqm-portal-footer-view-135108bc.js → sqm-portal-footer-view-796b8f12.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +13 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +21 -10
- package/dist/esm/sqm-portal-logout.entry.js +9 -7
- package/dist/esm/{sqm-portal-profile-view-af9d221b.js → sqm-portal-profile-view-251555a8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +13 -21
- package/dist/esm/sqm-portal-protected-route.entry.js +13 -10
- package/dist/esm/sqm-portal-registration-form.entry.js +20 -22
- package/dist/esm/sqm-portal-reset-password.entry.js +19 -19
- package/dist/esm/sqm-portal-verify-email.entry.js +12 -12
- package/dist/esm/sqm-referral-table_11.entry.js +9 -9
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +13 -13
- package/dist/esm/sqm-stencilbook.entry.js +87 -87
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-eefa3570.js → stencil-hooks.module-66fea7dc.js} +1 -1
- package/dist/esm/{use-callback-684c8bb7.js → use-callback-69ec5c5c.js} +1 -1
- package/dist/esm/{useChildElements-06e99bd3.js → useChildElements-480800ed.js} +3 -3
- package/dist/esm/{useReferralTable-ec3f383a.js → useReferralTable-512070e3.js} +9 -9
- package/dist/esm/{useRegistrationFormState-61148598.js → useRegistrationFormState-699c3e59.js} +4 -4
- package/dist/esm-es5/ShadowViewAddon-88454bed.js +1 -0
- package/dist/esm-es5/{global-5b9a6254.js → global-2546adae.js} +2 -2
- package/dist/esm-es5/index.module-9cd4623b.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-5a398612.js → luxon-38ca2169.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-bd3232df.js → re-render-d1b2a0de.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-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-9fb2be89.js → sqm-hero-view-93fac447.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-df7ce8d3.js → sqm-navigation-sidebar-item-view-7e6199c2.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-efaa0c2a.js → sqm-portal-email-verification-view-e08d4947.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-135108bc.js → sqm-portal-footer-view-796b8f12.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-af9d221b.js → sqm-portal-profile-view-251555a8.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-rewards-table-customer-note-cell.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/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-eefa3570.js → stencil-hooks.module-66fea7dc.js} +1 -1
- package/dist/esm-es5/use-callback-69ec5c5c.js +1 -0
- package/dist/esm-es5/useChildElements-480800ed.js +1 -0
- package/dist/esm-es5/useReferralTable-512070e3.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-61148598.js → useRegistrationFormState-699c3e59.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-154677b7.js +1 -0
- package/dist/mint-components/{p-e733843b.js → p-1644c8e4.js} +1 -1
- package/dist/mint-components/{p-00d4636f.system.entry.js → p-16beb451.system.entry.js} +1 -1
- package/dist/mint-components/{p-5860deff.entry.js → p-17aae439.entry.js} +1 -1
- package/dist/mint-components/{p-32948762.system.entry.js → p-190e24e4.system.entry.js} +1 -1
- package/dist/mint-components/{p-39617ebd.system.entry.js → p-1d7a015c.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd3ddece.system.entry.js → p-1ec3dacc.system.entry.js} +1 -1
- package/dist/mint-components/p-1fed6a09.entry.js +1 -0
- package/dist/mint-components/{p-50553269.system.entry.js → p-27a8ee57.system.entry.js} +1 -1
- package/dist/mint-components/{p-ceefa54a.system.entry.js → p-29f82c6d.system.entry.js} +1 -1
- package/dist/mint-components/{p-81ea8b81.js → p-2ce5d3da.js} +1 -1
- package/dist/mint-components/{p-ff2aea1e.system.entry.js → p-2d2f7abb.system.entry.js} +1 -1
- package/dist/mint-components/p-32ba0da3.entry.js +1 -0
- package/dist/mint-components/{p-1c43e9bc.system.entry.js → p-33910ee5.system.entry.js} +1 -1
- package/dist/mint-components/{p-88b62a7d.entry.js → p-36d50757.entry.js} +1 -1
- package/dist/mint-components/{p-2b533296.system.entry.js → p-37abb804.system.entry.js} +1 -1
- package/dist/mint-components/{p-088d9242.system.js → p-3fddd002.system.js} +1 -1
- package/dist/mint-components/{p-3c6f3be9.system.entry.js → p-433f243c.system.entry.js} +1 -1
- package/dist/mint-components/{p-4df7fe07.entry.js → p-44c6c5bc.entry.js} +1 -1
- package/dist/mint-components/p-4f994970.js +1 -0
- package/dist/mint-components/{p-52a2beaf.js → p-50cb9888.js} +1 -1
- package/dist/mint-components/{p-62bed275.js → p-51e40132.js} +1 -1
- package/dist/mint-components/p-5c347c93.system.entry.js +1 -0
- package/dist/mint-components/{p-d0da2a7a.system.entry.js → p-5d7de7cd.system.entry.js} +1 -1
- package/dist/mint-components/{p-33ad07f7.system.entry.js → p-5ef24d6c.system.entry.js} +1 -1
- package/dist/mint-components/{p-68ee4e8e.entry.js → p-5fa7ceb8.entry.js} +1 -1
- package/dist/mint-components/p-624c4a8d.system.js +1 -0
- package/dist/mint-components/{p-6fbe2dc3.entry.js → p-638b48bc.entry.js} +1 -1
- package/dist/mint-components/{p-5d93c50c.system.entry.js → p-63c99941.system.entry.js} +1 -1
- package/dist/mint-components/{p-2160da9c.system.entry.js → p-64752747.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d62a64e.js → p-67bc2aa5.js} +1 -1
- package/dist/mint-components/{p-373d93c0.system.js → p-73e11b3f.system.js} +1 -1
- package/dist/mint-components/{p-a8bd051e.entry.js → p-7513c118.entry.js} +2 -2
- package/dist/mint-components/{p-6486c807.system.entry.js → p-771b778b.system.entry.js} +1 -1
- package/dist/mint-components/{p-538904bd.js → p-78c7b4b7.js} +1 -1
- package/dist/mint-components/{p-5f4e5442.system.entry.js → p-7bab148d.system.entry.js} +1 -1
- package/dist/mint-components/{p-18d7fb36.system.entry.js → p-7df17d8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-0fc6d62e.system.entry.js → p-7e9b5623.system.entry.js} +1 -1
- package/dist/mint-components/{p-222e5418.entry.js → p-89d8133d.entry.js} +1 -1
- package/dist/mint-components/{p-d4ee07e6.system.js → p-8a0cf4be.system.js} +2 -2
- package/dist/mint-components/p-92e8b7b5.entry.js +1 -0
- package/dist/mint-components/{p-684aadb5.system.js → p-9bac73dc.system.js} +1 -1
- package/dist/mint-components/{p-57dafb17.entry.js → p-9bf6a21c.entry.js} +1 -1
- package/dist/mint-components/{p-01639b5f.system.entry.js → p-9f8067ab.system.entry.js} +1 -1
- package/dist/mint-components/p-a16556fd.entry.js +1 -0
- package/dist/mint-components/{p-af23900d.system.entry.js → p-a2ca95d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-a1acdbb4.entry.js → p-a3f87461.entry.js} +1 -1
- package/dist/mint-components/{p-a4335cb5.system.entry.js → p-a6291305.system.entry.js} +1 -1
- package/dist/mint-components/p-a63204e2.js +1 -0
- package/dist/mint-components/p-a750f034.js +1 -0
- package/dist/mint-components/p-ab1509b0.entry.js +13 -0
- package/dist/mint-components/{p-302f5c8d.js → p-abc426c4.js} +1 -1
- package/dist/mint-components/{p-add3f638.system.entry.js → p-ac052dc7.system.entry.js} +1 -1
- package/dist/mint-components/{p-76bd561b.js → p-ad9a9da8.js} +2 -2
- package/dist/mint-components/{p-7b4dc3ec.system.js → p-b5592439.system.js} +1 -1
- package/dist/mint-components/{p-29165926.system.entry.js → p-b5faa04d.system.entry.js} +1 -1
- package/dist/mint-components/{p-0ef78846.system.entry.js → p-b7fc1ee1.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9f58c48.system.js → p-b86c4916.system.js} +1 -1
- package/dist/mint-components/{p-d4dbc7b7.entry.js → p-b96505f5.entry.js} +1 -1
- package/dist/mint-components/{p-ea6f3130.entry.js → p-b9e4e254.entry.js} +1 -1
- package/dist/mint-components/p-c12e3282.entry.js +13 -0
- package/dist/mint-components/{p-108cf81e.system.js → p-c501d76f.system.js} +1 -1
- package/dist/mint-components/{p-ce6f7e0e.entry.js → p-c88cb982.entry.js} +1 -1
- package/dist/mint-components/p-ca2819e8.system.js +1 -0
- package/dist/mint-components/p-cbb61c41.entry.js +1 -0
- package/dist/mint-components/{p-ca08cf71.entry.js → p-cc6f7cb5.entry.js} +1 -1
- package/dist/mint-components/p-cdabe7a8.js +1 -0
- package/dist/mint-components/p-cdf2914a.entry.js +1 -0
- package/dist/mint-components/{p-3b0f33f3.system.js → p-ce5a3693.system.js} +1 -1
- package/dist/mint-components/{p-ceeeb344.entry.js → p-d1aef95c.entry.js} +1 -1
- package/dist/mint-components/{p-2dd51663.system.js → p-d2884941.system.js} +1 -1
- package/dist/mint-components/p-d35f8c06.entry.js +1 -0
- package/dist/mint-components/{p-8a2c78e0.entry.js → p-dd627dd0.entry.js} +1 -1
- package/dist/mint-components/{p-d6c804c5.entry.js → p-de4f0622.entry.js} +1 -1
- package/dist/mint-components/p-e0140005.system.entry.js +1 -0
- package/dist/mint-components/{p-b6b4acce.entry.js → p-e19b0706.entry.js} +4 -4
- package/dist/mint-components/p-e5eebca6.system.entry.js +1 -0
- package/dist/mint-components/p-e6456af0.system.js +1 -0
- package/dist/mint-components/{p-893681b9.system.js → p-e774e573.system.js} +1 -1
- package/dist/mint-components/{p-0e441a14.system.js → p-e907c45c.system.js} +1 -1
- package/dist/mint-components/p-ec18b601.system.js +1 -0
- package/dist/mint-components/{p-f912a4da.entry.js → p-ef0a4f7f.entry.js} +1 -1
- package/dist/mint-components/p-efbc0ee0.system.js +1 -0
- package/dist/mint-components/{p-aa637746.entry.js → p-f5a54725.entry.js} +1 -1
- package/dist/mint-components/{p-793e934b.js → p-f7ecad90.js} +1 -1
- package/dist/mint-components/{p-821a487a.js → p-fb2ef762.js} +3 -3
- package/dist/mint-components/{p-b32d2a0b.system.entry.js → p-fcd5890a.system.entry.js} +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +5 -1
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +4 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +4 -1
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +3 -2
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +4 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +8 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +14 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +13 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +4 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +5 -13
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +13 -14
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +13 -14
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -10
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +5 -5
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- package/dist/types/components.d.ts +160 -142
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/ShadowViewAddon-cec39cd8.js +0 -1
- package/dist/esm-es5/index.module-f1d6a79a.js +0 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +0 -1
- package/dist/esm-es5/useChildElements-06e99bd3.js +0 -1
- package/dist/esm-es5/useReferralTable-ec3f383a.js +0 -1
- package/dist/mint-components/p-0fb3eb79.entry.js +0 -1
- package/dist/mint-components/p-21b6ab78.system.js +0 -1
- package/dist/mint-components/p-34eb3bdc.system.js +0 -1
- package/dist/mint-components/p-57592ac0.entry.js +0 -1
- package/dist/mint-components/p-5d250c32.js +0 -1
- package/dist/mint-components/p-5f61bd8b.system.js +0 -1
- package/dist/mint-components/p-65d698c7.entry.js +0 -1
- package/dist/mint-components/p-666ec4a5.js +0 -1
- package/dist/mint-components/p-68aaeaa0.js +0 -1
- package/dist/mint-components/p-68f75eff.system.entry.js +0 -1
- package/dist/mint-components/p-797e733a.entry.js +0 -13
- package/dist/mint-components/p-89086f34.entry.js +0 -1
- package/dist/mint-components/p-8b7a19d3.system.entry.js +0 -1
- package/dist/mint-components/p-90a375c5.system.entry.js +0 -1
- package/dist/mint-components/p-90e71268.entry.js +0 -1
- package/dist/mint-components/p-99397ef5.system.js +0 -1
- package/dist/mint-components/p-9a4e1964.entry.js +0 -1
- package/dist/mint-components/p-aa4ca962.system.js +0 -1
- package/dist/mint-components/p-ad4e74e4.entry.js +0 -1
- package/dist/mint-components/p-cfbab766.entry.js +0 -13
- package/dist/mint-components/p-dbfb865e.js +0 -1
- package/dist/mint-components/p-f5994865.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -1
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { j as useRef,
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
4
|
-
import { d as dist,
|
|
2
|
+
import { j as useRef, e as useEffect, m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-69ec5c5c.js';
|
|
4
|
+
import { d as dist, W as We, w as wn, I as In, L } from './index.module-9cd4623b.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';
|
|
@@ -9,7 +9,7 @@ import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsCont
|
|
|
9
9
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
10
10
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
11
11
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
12
|
-
import { u as useRegistrationFormState, a as useValidationState } from './useRegistrationFormState-
|
|
12
|
+
import { u as useRegistrationFormState, a as useValidationState } from './useRegistrationFormState-699c3e59.js';
|
|
13
13
|
|
|
14
14
|
const style = {
|
|
15
15
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
@@ -107,8 +107,8 @@ function usePortalRegistrationForm(props) {
|
|
|
107
107
|
const formRef = useRef(null);
|
|
108
108
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
109
109
|
const { validationState, setValidationState } = useValidationState({});
|
|
110
|
-
const [request, { loading, errors, data, formError }] =
|
|
111
|
-
const queryResponse =
|
|
110
|
+
const [request, { loading, errors, data, formError }] = We();
|
|
111
|
+
const queryResponse = wn(RegistrationFormQuery, { key: props.formKey });
|
|
112
112
|
const formLoading = loading || queryResponse.loading;
|
|
113
113
|
useEffect(() => {
|
|
114
114
|
var _a, _b, _c;
|
|
@@ -195,7 +195,7 @@ function usePortalRegistrationForm(props) {
|
|
|
195
195
|
managedIdentityResponse.result.results.length &&
|
|
196
196
|
managedIdentityResponse.result.results[0].success &&
|
|
197
197
|
managedIdentityResponse.result.results[0].data.token) {
|
|
198
|
-
|
|
198
|
+
In.push(props.nextPage);
|
|
199
199
|
}
|
|
200
200
|
}, [data === null || data === void 0 ? void 0 : data.submitForm]);
|
|
201
201
|
useEffect(() => {
|
|
@@ -248,23 +248,23 @@ const PortalRegistrationForm = class {
|
|
|
248
248
|
registerInstance(this, hostRef);
|
|
249
249
|
this.ignored = true;
|
|
250
250
|
/**
|
|
251
|
-
* Page navigated to after registration
|
|
251
|
+
* Page participants are navigated to after registration.
|
|
252
252
|
*
|
|
253
|
-
* @uiName
|
|
253
|
+
* @uiName Registration Redirect Path
|
|
254
254
|
*/
|
|
255
255
|
this.nextPage = "/";
|
|
256
256
|
/**
|
|
257
|
-
* The page that
|
|
257
|
+
* The page that participants are redirected to from the verification email.
|
|
258
258
|
*
|
|
259
|
-
* @uiName Email Redirection
|
|
259
|
+
* @uiName Email Redirection Path
|
|
260
260
|
*/
|
|
261
261
|
this.redirectPath = "/verifyEmail";
|
|
262
262
|
/**
|
|
263
|
-
* @uiName Email Label
|
|
263
|
+
* @uiName Email Field Label
|
|
264
264
|
*/
|
|
265
265
|
this.emailLabel = "Email";
|
|
266
266
|
/**
|
|
267
|
-
* @uiName Password Label
|
|
267
|
+
* @uiName Password Field Label
|
|
268
268
|
*/
|
|
269
269
|
this.passwordLabel = "Password";
|
|
270
270
|
/**
|
|
@@ -280,10 +280,9 @@ const PortalRegistrationForm = class {
|
|
|
280
280
|
*/
|
|
281
281
|
this.confirmPasswordLabel = "Confirm Password";
|
|
282
282
|
/**
|
|
283
|
-
* Show or hide the confirm password input
|
|
283
|
+
* Show or hide the confirm password input.
|
|
284
284
|
*
|
|
285
285
|
* @uiName Show Confirm Password Field
|
|
286
|
-
* @default
|
|
287
286
|
*/
|
|
288
287
|
this.confirmPassword = false;
|
|
289
288
|
/**
|
|
@@ -291,20 +290,19 @@ const PortalRegistrationForm = class {
|
|
|
291
290
|
*/
|
|
292
291
|
this.enablePasswordValidation = true;
|
|
293
292
|
/**
|
|
294
|
-
* Hide default input fields to use custom fields
|
|
293
|
+
* Hide default input fields to use custom fields.
|
|
295
294
|
*
|
|
296
295
|
* @uiName Hide Default Inputs
|
|
297
|
-
* @default
|
|
298
296
|
*/
|
|
299
297
|
this.hideInputs = false;
|
|
300
298
|
/**
|
|
301
|
-
* @uiName
|
|
299
|
+
* @uiName Header Text
|
|
302
300
|
*/
|
|
303
301
|
this.pageLabel = "Register";
|
|
304
302
|
/**
|
|
305
|
-
* Login button redirection path
|
|
303
|
+
* Login button redirection path.
|
|
306
304
|
*
|
|
307
|
-
* @uiName Login Path
|
|
305
|
+
* @uiName Login Redirect Path
|
|
308
306
|
*/
|
|
309
307
|
this.loginPath = "/login";
|
|
310
308
|
/**
|
|
@@ -317,12 +315,12 @@ const PortalRegistrationForm = class {
|
|
|
317
315
|
}
|
|
318
316
|
disconnectedCallback() { }
|
|
319
317
|
render() {
|
|
320
|
-
const { states, callbacks, refs } =
|
|
318
|
+
const { states, callbacks, refs } = L()
|
|
321
319
|
? useRegisterDemo(this)
|
|
322
320
|
: usePortalRegistrationForm(this);
|
|
323
321
|
const content = {
|
|
324
322
|
formData: h("slot", { name: "formData" }),
|
|
325
|
-
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
323
|
+
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => In.push(states.loginPath) }, this.loginLabel))),
|
|
326
324
|
terms: h("slot", { name: "terms" }),
|
|
327
325
|
emailLabel: this.emailLabel,
|
|
328
326
|
passwordLabel: this.passwordLabel,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { K as Ke, G as Ge, I as In, L } from './index.module-9cd4623b.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';
|
|
@@ -12,11 +12,11 @@ import './sqm-text-span-view-0ba1484d.js';
|
|
|
12
12
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-213b3af6.js';
|
|
13
13
|
|
|
14
14
|
function usePortalResetPassword(props) {
|
|
15
|
-
var _a, _b, _c, _d, _e
|
|
15
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
16
16
|
const [reset, setReset] = useState(false);
|
|
17
17
|
const [error, setError] = useState("");
|
|
18
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
19
|
-
const [resetPassword, resetPasswordState] =
|
|
18
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Ke();
|
|
19
|
+
const [resetPassword, resetPasswordState] = Ge();
|
|
20
20
|
const urlParams = new URLSearchParams(window.location.search);
|
|
21
21
|
const oobCode = urlParams.get("oobCode");
|
|
22
22
|
urlParams.delete("oobCode");
|
|
@@ -37,10 +37,10 @@ function usePortalResetPassword(props) {
|
|
|
37
37
|
const gotoNextPage = () => {
|
|
38
38
|
urlParams.delete("nextPage");
|
|
39
39
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
40
|
-
|
|
40
|
+
In.push(url.href);
|
|
41
41
|
};
|
|
42
42
|
const failed = () => {
|
|
43
|
-
|
|
43
|
+
In.push({
|
|
44
44
|
pathname: props.failedPage,
|
|
45
45
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
46
46
|
});
|
|
@@ -74,7 +74,7 @@ function usePortalResetPassword(props) {
|
|
|
74
74
|
loading: resetPasswordState.loading,
|
|
75
75
|
reset,
|
|
76
76
|
confirmPassword: props.confirmPassword,
|
|
77
|
-
error: ((_f = (_e
|
|
77
|
+
error: ((_f = (_e = (_d = (_c = (_b = resetPasswordState.errors) === null || _b === void 0 ? void 0 : _b.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_k = (_j = (_h = (_g = resetPasswordState.errors) === null || _g === void 0 ? void 0 : _g.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) ||
|
|
78
78
|
error,
|
|
79
79
|
oobCodeValidating: verifyPasswordResetCodeState.loading,
|
|
80
80
|
oobCodeValid: (_l = verifyPasswordResetCodeState.data) === null || _l === void 0 ? void 0 : _l.verifyManagedIdentityPasswordResetCode.success,
|
|
@@ -96,22 +96,21 @@ const PortalResetPassword = class {
|
|
|
96
96
|
registerInstance(this, hostRef);
|
|
97
97
|
this.ignored = true;
|
|
98
98
|
/**
|
|
99
|
-
* The page that
|
|
99
|
+
* The page that participants are redirected to when the password reset succeeds.
|
|
100
100
|
*
|
|
101
|
-
* @uiName
|
|
101
|
+
* @uiName Reset Successful Redirect Path
|
|
102
102
|
*/
|
|
103
103
|
this.nextPage = "/";
|
|
104
104
|
/**
|
|
105
|
-
* The page that
|
|
105
|
+
* The page that participants are redirected to if the reset fails due to outdated password reset attempt.
|
|
106
106
|
*
|
|
107
|
-
* @uiName Failed
|
|
107
|
+
* @uiName Reset Failed Redirect Path
|
|
108
108
|
*/
|
|
109
109
|
this.failedPage = "/";
|
|
110
110
|
/**
|
|
111
|
-
* Show or hide confirm password field
|
|
111
|
+
* Show or hide confirm password field.
|
|
112
112
|
*
|
|
113
113
|
* @uiName Show Confirm Password
|
|
114
|
-
* @default
|
|
115
114
|
*/
|
|
116
115
|
this.confirmPassword = false;
|
|
117
116
|
/**
|
|
@@ -119,9 +118,10 @@ const PortalResetPassword = class {
|
|
|
119
118
|
*/
|
|
120
119
|
this.resetPasswordHeader = "Reset your password";
|
|
121
120
|
/**
|
|
122
|
-
* Displayed after a successful password reset
|
|
121
|
+
* Displayed after a successful password reset.
|
|
123
122
|
*
|
|
124
123
|
* @uiName Successful Password Reset Text
|
|
124
|
+
* @uiWidget textArea
|
|
125
125
|
*/
|
|
126
126
|
this.passwordResetHeader = "Password reset";
|
|
127
127
|
/**
|
|
@@ -129,13 +129,13 @@ const PortalResetPassword = class {
|
|
|
129
129
|
*/
|
|
130
130
|
this.resetPasswordButtonText = "Reset Password";
|
|
131
131
|
/**
|
|
132
|
-
* Button text displayed after a successful password reset
|
|
132
|
+
* Button text displayed after a successful password reset.
|
|
133
133
|
*
|
|
134
134
|
* @uiName Continue Button Text
|
|
135
135
|
*/
|
|
136
136
|
this.continueButtonText = "Continue";
|
|
137
137
|
/**
|
|
138
|
-
* @uiName
|
|
138
|
+
* @uiName Password Comfirmation Label
|
|
139
139
|
*/
|
|
140
140
|
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
141
141
|
/**
|
|
@@ -146,7 +146,7 @@ const PortalResetPassword = class {
|
|
|
146
146
|
}
|
|
147
147
|
disconnectedCallback() { }
|
|
148
148
|
render() {
|
|
149
|
-
const { states, callbacks } =
|
|
149
|
+
const { states, callbacks } = L()
|
|
150
150
|
? usePortalResetPasswordDemo(this)
|
|
151
151
|
: usePortalResetPassword(this);
|
|
152
152
|
return h$1(PortalResetPasswordView, { states: states, callbacks: callbacks });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { a as ae, c as dn, I as In, L } from './index.module-9cd4623b.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
@@ -14,14 +14,14 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
15
15
|
const [verified, setVerified] = useState(false);
|
|
16
16
|
const [disableContinue, setDisableContinue] = useState(true);
|
|
17
|
-
const userIdent =
|
|
18
|
-
const [request, { loading, data, errors }] =
|
|
17
|
+
const userIdent = ae();
|
|
18
|
+
const [request, { loading, data, errors }] = dn();
|
|
19
19
|
const [error, setError] = useState("");
|
|
20
20
|
const urlParams = new URLSearchParams(window.location.search);
|
|
21
21
|
const oobCode = urlParams.get("oobCode");
|
|
22
22
|
const nextPageOverride = urlParams.get("nextPage");
|
|
23
23
|
const failed = () => {
|
|
24
|
-
return
|
|
24
|
+
return In.push({
|
|
25
25
|
pathname: failedPage,
|
|
26
26
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
27
27
|
});
|
|
@@ -29,7 +29,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
29
29
|
const gotoNextPage = () => {
|
|
30
30
|
urlParams.delete("nextPage");
|
|
31
31
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
32
|
-
|
|
32
|
+
In.push(url.href);
|
|
33
33
|
};
|
|
34
34
|
const submit = async () => {
|
|
35
35
|
if (oobCode) {
|
|
@@ -92,22 +92,22 @@ const PortalVerifyEmail = class {
|
|
|
92
92
|
registerInstance(this, hostRef);
|
|
93
93
|
this.ignored = true;
|
|
94
94
|
/**
|
|
95
|
-
* The page that
|
|
95
|
+
* The page that participants are redirected to when the verification succeeds.
|
|
96
96
|
*
|
|
97
|
-
* @uiName
|
|
97
|
+
* @uiName Verification Redirect Path
|
|
98
98
|
*/
|
|
99
99
|
this.nextPage = "/";
|
|
100
100
|
/**
|
|
101
|
-
* The page that
|
|
101
|
+
* The page that participants are redirected to if verification fails due to outdated verification attempt.
|
|
102
102
|
*
|
|
103
|
-
* @uiName Failed
|
|
103
|
+
* @uiName Verification Failed Redirect Path
|
|
104
104
|
*/
|
|
105
105
|
this.failedPage = "/";
|
|
106
106
|
h(this);
|
|
107
107
|
}
|
|
108
108
|
disconnectedCallback() { }
|
|
109
109
|
render() {
|
|
110
|
-
const { states, data, callbacks } =
|
|
110
|
+
const { states, data, callbacks } = L()
|
|
111
111
|
? usePortalVerifyEmailDemo(this)
|
|
112
112
|
: usePortalVerifyEmail(this);
|
|
113
113
|
return (h$1(PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks }));
|
|
@@ -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
|
-
import { m as h, u as useReducer, k as useMemo,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { m as h, u as useReducer, k as useMemo, e as useEffect } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { i as intl } from './global-2546adae.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { L } from './index.module-9cd4623b.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-10cac7d6.js';
|
|
11
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
13
|
-
import { l as luxon } from './luxon-
|
|
14
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
11
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-d1b2a0de.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-480800ed.js';
|
|
13
|
+
import { l as luxon } from './luxon-38ca2169.js';
|
|
14
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-512070e3.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
|
|
|
@@ -194,7 +194,7 @@ const ReferralTable = class {
|
|
|
194
194
|
render() {
|
|
195
195
|
const empty = h$1(EmptySlot, null);
|
|
196
196
|
const loading = h$1(LoadingSlot, null);
|
|
197
|
-
const { states, data, callbacks, elements } =
|
|
197
|
+
const { states, data, callbacks, elements } = L()
|
|
198
198
|
? useReferralTableDemo(this, empty, loading)
|
|
199
199
|
: useReferralTable(this, empty, loading);
|
|
200
200
|
useRequestRerender([this.showReferrer, this.perPage]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
3
|
import './extends-c31f1eff.js';
|
|
4
4
|
import './JSS-f00f9536.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import './index.module-9cd4623b.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { a as useRequestRerender } from './re-render-
|
|
6
|
+
import { a as useRequestRerender } from './re-render-d1b2a0de.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
|
-
import { b as browser, u as useReducer,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { d as dist,
|
|
2
|
+
import { b as browser, u as useReducer, e as useEffect, m as h$1, k as useMemo } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { i as intl } from './global-2546adae.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { d as dist, a as ae, M, O, q as qn, L } from './index.module-9cd4623b.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-10cac7d6.js';
|
|
11
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
13
|
-
import { l as luxon } from './luxon-
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
11
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-d1b2a0de.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-480800ed.js';
|
|
13
|
+
import { l as luxon } from './luxon-38ca2169.js';
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-512070e3.js';
|
|
15
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
16
|
|
|
17
17
|
const mockRewardData = (count = 4) => {
|
|
@@ -214,9 +214,9 @@ const GET_REWARDS = dist.gql `
|
|
|
214
214
|
`;
|
|
215
215
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
216
216
|
var _a, _b;
|
|
217
|
-
const user =
|
|
218
|
-
const programIdContext =
|
|
219
|
-
const locale =
|
|
217
|
+
const user = ae();
|
|
218
|
+
const programIdContext = M();
|
|
219
|
+
const locale = O();
|
|
220
220
|
// Default to context, overriden by props
|
|
221
221
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
222
222
|
const rewardFilter = {
|
|
@@ -238,7 +238,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
238
238
|
loading: false,
|
|
239
239
|
page: 0,
|
|
240
240
|
});
|
|
241
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
241
|
+
const { envelope: rewardsData, states, callbacks, } = qn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
242
242
|
limit: props.perPage,
|
|
243
243
|
offset: 0,
|
|
244
244
|
}, {
|
|
@@ -365,7 +365,7 @@ const RewardsTable = class {
|
|
|
365
365
|
render() {
|
|
366
366
|
const empty = h(EmptySlot, null);
|
|
367
367
|
const loading = h(LoadingSlot, null);
|
|
368
|
-
const { states, data, callbacks, elements } =
|
|
368
|
+
const { states, data, callbacks, elements } = L()
|
|
369
369
|
? useRewardsTableDemo(this, empty, loading)
|
|
370
370
|
: useRewardsTable(this, empty, loading);
|
|
371
371
|
useRequestRerender([this.perPage]);
|