@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,30 +1,30 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { a as commonjsGlobal, k as useMemo, i as useState,
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { a as commonjsGlobal, k as useMemo, i as useState, e as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './global-2546adae.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { I as In, F as Fn, t as te$1, d as dist, e as tn, A as A$1 } from './index.module-9cd4623b.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import './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 './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
11
|
+
import './useChildElements-480800ed.js';
|
|
12
|
+
import { l as luxon } from './luxon-38ca2169.js';
|
|
13
13
|
import './utils-334c1e34.js';
|
|
14
14
|
import './sqm-text-span-view-0ba1484d.js';
|
|
15
15
|
import { A as AssetCardView } from './sqm-asset-card-view-08e68656.js';
|
|
16
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
16
|
+
import { H as HeroView } from './sqm-hero-view-93fac447.js';
|
|
17
17
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
18
18
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-06d444ca.js';
|
|
19
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
20
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
21
|
-
import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-
|
|
19
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-7e6199c2.js';
|
|
20
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-e08d4947.js';
|
|
21
|
+
import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-796b8f12.js';
|
|
22
22
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-86d13eef.js';
|
|
23
23
|
import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
|
|
24
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
24
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-251555a8.js';
|
|
25
25
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-213b3af6.js';
|
|
26
26
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c32dfd7e.js';
|
|
27
|
-
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-
|
|
27
|
+
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-88454bed.js';
|
|
28
28
|
import { P as PortalSectionView } from './sqm-portal-section-view-6c249c74.js';
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -2354,36 +2354,36 @@ const routes = `
|
|
|
2354
2354
|
`;
|
|
2355
2355
|
const TemplateNavigation = createHookStory(() => {
|
|
2356
2356
|
return (h("div", null,
|
|
2357
|
-
h("button", { onClick: () =>
|
|
2358
|
-
h("button", { onClick: () =>
|
|
2359
|
-
h("button", { onClick: () =>
|
|
2360
|
-
h("button", { onClick: () =>
|
|
2361
|
-
h("button", { onClick: () =>
|
|
2362
|
-
h("button", { onClick: () =>
|
|
2363
|
-
h("button", { onClick: () =>
|
|
2364
|
-
h("button", { onClick: () =>
|
|
2365
|
-
h("button", { onClick: () =>
|
|
2357
|
+
h("button", { onClick: () => In.push("/") }, "/"),
|
|
2358
|
+
h("button", { onClick: () => In.push("/foo") }, "/foo"),
|
|
2359
|
+
h("button", { onClick: () => In.push("/bar") }, "/bar"),
|
|
2360
|
+
h("button", { onClick: () => In.push("/baz/bang") }, "/baz/bang"),
|
|
2361
|
+
h("button", { onClick: () => In.push("/refer") }, "/refer"),
|
|
2362
|
+
h("button", { onClick: () => In.push("/refer/1") }, "/refer/1"),
|
|
2363
|
+
h("button", { onClick: () => In.push("/refer/2") }, "/refer/2"),
|
|
2364
|
+
h("button", { onClick: () => In.back() }, "Back"),
|
|
2365
|
+
h("button", { onClick: () => In.forward() }, "Forward"),
|
|
2366
2366
|
h("hr", null),
|
|
2367
2367
|
h("sqm-router", { innerHTML: templates })));
|
|
2368
2368
|
});
|
|
2369
2369
|
const RouteNavigation = createHookStory(() => {
|
|
2370
2370
|
return (h("div", null,
|
|
2371
|
-
h("button", { onClick: () =>
|
|
2372
|
-
h("button", { onClick: () =>
|
|
2373
|
-
h("button", { onClick: () =>
|
|
2374
|
-
h("button", { onClick: () =>
|
|
2375
|
-
h("button", { onClick: () =>
|
|
2376
|
-
h("button", { onClick: () =>
|
|
2377
|
-
h("button", { onClick: () =>
|
|
2378
|
-
h("button", { onClick: () =>
|
|
2379
|
-
h("button", { onClick: () =>
|
|
2371
|
+
h("button", { onClick: () => In.push("/") }, "/"),
|
|
2372
|
+
h("button", { onClick: () => In.push("/foo") }, "/foo"),
|
|
2373
|
+
h("button", { onClick: () => In.push("/bar") }, "/bar"),
|
|
2374
|
+
h("button", { onClick: () => In.push("/baz/bang") }, "/baz/bang"),
|
|
2375
|
+
h("button", { onClick: () => In.push("/refer") }, "/refer"),
|
|
2376
|
+
h("button", { onClick: () => In.push("/refer/1") }, "/refer/1"),
|
|
2377
|
+
h("button", { onClick: () => In.push("/refer/2") }, "/refer/2"),
|
|
2378
|
+
h("button", { onClick: () => In.back() }, "Back"),
|
|
2379
|
+
h("button", { onClick: () => In.forward() }, "Forward"),
|
|
2380
2380
|
h("hr", null),
|
|
2381
2381
|
h("sqm-router", { innerHTML: routes })));
|
|
2382
2382
|
});
|
|
2383
2383
|
const Styling = createHookStory(() => {
|
|
2384
2384
|
return (h("div", null,
|
|
2385
|
-
h("button", { onClick: () =>
|
|
2386
|
-
h("button", { onClick: () =>
|
|
2385
|
+
h("button", { onClick: () => In.push("/") }, "/"),
|
|
2386
|
+
h("button", { onClick: () => In.push("/foo") }, "/foo"),
|
|
2387
2387
|
h("hr", null),
|
|
2388
2388
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2389
2389
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2397,7 +2397,7 @@ function useTemplate(templateString) {
|
|
|
2397
2397
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2398
2398
|
function setPath(e) {
|
|
2399
2399
|
//@ts-ignore
|
|
2400
|
-
|
|
2400
|
+
In.push(e.target.value);
|
|
2401
2401
|
}
|
|
2402
2402
|
return {
|
|
2403
2403
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2561,8 +2561,8 @@ const FullStackFrame = () => {
|
|
|
2561
2561
|
"Current path:",
|
|
2562
2562
|
" ",
|
|
2563
2563
|
h("code", null,
|
|
2564
|
-
h("strong", null, (_a =
|
|
2565
|
-
h("button", { onClick:
|
|
2564
|
+
h("strong", null, (_a = Fn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2565
|
+
h("button", { onClick: In.back }, "Go Back")));
|
|
2566
2566
|
};
|
|
2567
2567
|
const FullStackFrameLoggedOut = () => {
|
|
2568
2568
|
var _a;
|
|
@@ -2586,8 +2586,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2586
2586
|
"Current path:",
|
|
2587
2587
|
" ",
|
|
2588
2588
|
h("code", null,
|
|
2589
|
-
h("strong", null, (_a =
|
|
2590
|
-
h("button", { onClick:
|
|
2589
|
+
h("strong", null, (_a = Fn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2590
|
+
h("button", { onClick: In.back }, "Go Back")));
|
|
2591
2591
|
};
|
|
2592
2592
|
|
|
2593
2593
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -2681,14 +2681,14 @@ function setupGraphQL$1() {
|
|
|
2681
2681
|
programId,
|
|
2682
2682
|
};
|
|
2683
2683
|
useEffect(() => {
|
|
2684
|
-
|
|
2684
|
+
te$1({
|
|
2685
2685
|
accountId,
|
|
2686
2686
|
id,
|
|
2687
2687
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
2688
2688
|
});
|
|
2689
2689
|
return () => {
|
|
2690
2690
|
window.widgetIdent = undefined;
|
|
2691
|
-
|
|
2691
|
+
te$1(undefined);
|
|
2692
2692
|
};
|
|
2693
2693
|
}, []);
|
|
2694
2694
|
}
|
|
@@ -2743,14 +2743,14 @@ function setupGraphQL$2() {
|
|
|
2743
2743
|
programId,
|
|
2744
2744
|
};
|
|
2745
2745
|
useEffect(() => {
|
|
2746
|
-
|
|
2746
|
+
te$1({
|
|
2747
2747
|
accountId,
|
|
2748
2748
|
id,
|
|
2749
2749
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
2750
2750
|
});
|
|
2751
2751
|
return () => {
|
|
2752
2752
|
window.widgetIdent = undefined;
|
|
2753
|
-
|
|
2753
|
+
te$1(undefined);
|
|
2754
2754
|
};
|
|
2755
2755
|
}, []);
|
|
2756
2756
|
}
|
|
@@ -2805,14 +2805,14 @@ function setupGraphQL$3() {
|
|
|
2805
2805
|
programId,
|
|
2806
2806
|
};
|
|
2807
2807
|
useEffect(() => {
|
|
2808
|
-
|
|
2808
|
+
te$1({
|
|
2809
2809
|
accountId,
|
|
2810
2810
|
id,
|
|
2811
2811
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
|
|
2812
2812
|
});
|
|
2813
2813
|
return () => {
|
|
2814
2814
|
window.widgetIdent = undefined;
|
|
2815
|
-
|
|
2815
|
+
te$1(undefined);
|
|
2816
2816
|
};
|
|
2817
2817
|
}, []);
|
|
2818
2818
|
}
|
|
@@ -2946,14 +2946,14 @@ function setupGraphQL$4() {
|
|
|
2946
2946
|
programId,
|
|
2947
2947
|
};
|
|
2948
2948
|
useEffect(() => {
|
|
2949
|
-
|
|
2949
|
+
te$1({
|
|
2950
2950
|
accountId,
|
|
2951
2951
|
id,
|
|
2952
2952
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
|
|
2953
2953
|
});
|
|
2954
2954
|
return () => {
|
|
2955
2955
|
window.widgetIdent = undefined;
|
|
2956
|
-
|
|
2956
|
+
te$1(undefined);
|
|
2957
2957
|
};
|
|
2958
2958
|
}, []);
|
|
2959
2959
|
}
|
|
@@ -2993,14 +2993,14 @@ function setupGraphQL$5() {
|
|
|
2993
2993
|
programId,
|
|
2994
2994
|
};
|
|
2995
2995
|
useEffect(() => {
|
|
2996
|
-
|
|
2996
|
+
te$1({
|
|
2997
2997
|
accountId,
|
|
2998
2998
|
id,
|
|
2999
2999
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3000
3000
|
});
|
|
3001
3001
|
return () => {
|
|
3002
3002
|
window.widgetIdent = undefined;
|
|
3003
|
-
|
|
3003
|
+
te$1(undefined);
|
|
3004
3004
|
};
|
|
3005
3005
|
}, []);
|
|
3006
3006
|
}
|
|
@@ -3016,14 +3016,14 @@ function setupOtherGraphQL() {
|
|
|
3016
3016
|
programId,
|
|
3017
3017
|
};
|
|
3018
3018
|
useEffect(() => {
|
|
3019
|
-
|
|
3019
|
+
te$1({
|
|
3020
3020
|
accountId,
|
|
3021
3021
|
id,
|
|
3022
3022
|
jwt: JWT,
|
|
3023
3023
|
});
|
|
3024
3024
|
return () => {
|
|
3025
3025
|
window.widgetIdent = undefined;
|
|
3026
|
-
|
|
3026
|
+
te$1(undefined);
|
|
3027
3027
|
};
|
|
3028
3028
|
}, []);
|
|
3029
3029
|
return { id, accountId };
|
|
@@ -3257,14 +3257,14 @@ function setupGraphQL$6() {
|
|
|
3257
3257
|
programId,
|
|
3258
3258
|
};
|
|
3259
3259
|
useEffect(() => {
|
|
3260
|
-
|
|
3260
|
+
te$1({
|
|
3261
3261
|
accountId,
|
|
3262
3262
|
id,
|
|
3263
3263
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3264
3264
|
});
|
|
3265
3265
|
return () => {
|
|
3266
3266
|
window.widgetIdent = undefined;
|
|
3267
|
-
|
|
3267
|
+
te$1(undefined);
|
|
3268
3268
|
};
|
|
3269
3269
|
}, []);
|
|
3270
3270
|
return { id, accountId };
|
|
@@ -3273,7 +3273,7 @@ function useExchangeButton() {
|
|
|
3273
3273
|
const { id, accountId } = setupGraphQL$6();
|
|
3274
3274
|
const [points, setPoints] = useState(10);
|
|
3275
3275
|
const [rate, setRate] = useState(100);
|
|
3276
|
-
const [exchange, { data, errors }] =
|
|
3276
|
+
const [exchange, { data, errors }] = tn(EXCHANGE);
|
|
3277
3277
|
return {
|
|
3278
3278
|
states: {
|
|
3279
3279
|
points,
|
|
@@ -3388,14 +3388,14 @@ function setupGraphQL$7() {
|
|
|
3388
3388
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
3389
3389
|
};
|
|
3390
3390
|
useEffect(() => {
|
|
3391
|
-
|
|
3391
|
+
te$1({
|
|
3392
3392
|
accountId,
|
|
3393
3393
|
id,
|
|
3394
3394
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3395
3395
|
});
|
|
3396
3396
|
return () => {
|
|
3397
3397
|
window.widgetIdent = undefined;
|
|
3398
|
-
|
|
3398
|
+
te$1(undefined);
|
|
3399
3399
|
};
|
|
3400
3400
|
}, []);
|
|
3401
3401
|
return { id, accountId };
|
|
@@ -3409,14 +3409,14 @@ function setupGraphQLKlip({ token, id }) {
|
|
|
3409
3409
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
3410
3410
|
};
|
|
3411
3411
|
useEffect(() => {
|
|
3412
|
-
|
|
3412
|
+
te$1({
|
|
3413
3413
|
accountId,
|
|
3414
3414
|
id,
|
|
3415
3415
|
jwt: token,
|
|
3416
3416
|
});
|
|
3417
3417
|
return () => {
|
|
3418
3418
|
window.widgetIdent = undefined;
|
|
3419
|
-
|
|
3419
|
+
te$1(undefined);
|
|
3420
3420
|
};
|
|
3421
3421
|
}, []);
|
|
3422
3422
|
return { id, accountId };
|
|
@@ -3430,7 +3430,7 @@ const RewardTableDemoHook = createHookStory(() => {
|
|
|
3430
3430
|
});
|
|
3431
3431
|
const RewardsTableWithProgram = createHookStory(() => {
|
|
3432
3432
|
setupGraphQL$7();
|
|
3433
|
-
|
|
3433
|
+
A$1("sam-partner-test-2");
|
|
3434
3434
|
return (h("sqm-rewards-table", null,
|
|
3435
3435
|
h("sqm-rewards-table-reward-column", null),
|
|
3436
3436
|
h("sqm-rewards-table-status-column", null),
|
|
@@ -3439,7 +3439,7 @@ const RewardsTableWithProgram = createHookStory(() => {
|
|
|
3439
3439
|
});
|
|
3440
3440
|
const RewardsTableNoProgram = createHookStory(() => {
|
|
3441
3441
|
setupGraphQL$7();
|
|
3442
|
-
|
|
3442
|
+
A$1(undefined);
|
|
3443
3443
|
return (h("sqm-rewards-table", null,
|
|
3444
3444
|
h("sqm-rewards-table-reward-column", null),
|
|
3445
3445
|
h("sqm-rewards-table-status-column", null),
|
|
@@ -3451,7 +3451,7 @@ const RewardsTableEn = createHookStory(() => {
|
|
|
3451
3451
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
3452
3452
|
id: "samenglish",
|
|
3453
3453
|
});
|
|
3454
|
-
|
|
3454
|
+
A$1(undefined);
|
|
3455
3455
|
return (h("sqm-rewards-table", { "per-page": "4" },
|
|
3456
3456
|
h("sqm-rewards-table-reward-column", null),
|
|
3457
3457
|
h("sqm-rewards-table-status-column", null),
|
|
@@ -3463,7 +3463,7 @@ const RewardsTableTr = createHookStory(() => {
|
|
|
3463
3463
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
3464
3464
|
id: "samturkey",
|
|
3465
3465
|
});
|
|
3466
|
-
|
|
3466
|
+
A$1(undefined);
|
|
3467
3467
|
return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
|
|
3468
3468
|
h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
|
|
3469
3469
|
h("sqm-rewards-table-source-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131", "reward-exchange-text": "\u00D6d\u00FClleri Kulann\u0131n", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Y\u00F6nlendiren} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}" }),
|
|
@@ -3475,7 +3475,7 @@ const RewardsTableFr = createHookStory(() => {
|
|
|
3475
3475
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
3476
3476
|
id: "samfrench",
|
|
3477
3477
|
});
|
|
3478
|
-
|
|
3478
|
+
A$1(undefined);
|
|
3479
3479
|
return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
|
|
3480
3480
|
h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
|
|
3481
3481
|
h("sqm-rewards-table-source-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9", "reward-exchange-text": "\u00C9change de R\u00E9compenses", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {R\u00E9f\u00E9rence \u00E0} REFERRED {R\u00E9f\u00E9renc\u00E9 par} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}" }),
|
|
@@ -3509,14 +3509,14 @@ function setupGraphQL$8() {
|
|
|
3509
3509
|
programId,
|
|
3510
3510
|
};
|
|
3511
3511
|
useEffect(() => {
|
|
3512
|
-
|
|
3512
|
+
te$1({
|
|
3513
3513
|
accountId,
|
|
3514
3514
|
id,
|
|
3515
3515
|
jwt: JWT,
|
|
3516
3516
|
});
|
|
3517
3517
|
return () => {
|
|
3518
3518
|
window.widgetIdent = undefined;
|
|
3519
|
-
|
|
3519
|
+
te$1(undefined);
|
|
3520
3520
|
};
|
|
3521
3521
|
}, []);
|
|
3522
3522
|
return { id, accountId };
|
|
@@ -9631,16 +9631,16 @@ function DefaultTemplateView$1(props) {
|
|
|
9631
9631
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
9632
9632
|
gridGap: "10px",
|
|
9633
9633
|
} },
|
|
9634
|
-
h("button", { onClick: () =>
|
|
9635
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
9636
|
-
h("button", { onClick: () =>
|
|
9637
|
-
h("button", { onClick: () =>
|
|
9638
|
-
h("button", { onClick: () =>
|
|
9639
|
-
h("button", { onClick: () =>
|
|
9640
|
-
h("button", { onClick: () =>
|
|
9641
|
-
h("button", { onClick: () =>
|
|
9642
|
-
h("button", { onClick: () =>
|
|
9643
|
-
h("button", { onClick: () =>
|
|
9634
|
+
h("button", { onClick: () => In.push("/") }, "Dashboard"),
|
|
9635
|
+
props.leadSubmit && (h("button", { onClick: () => In.push("/refer") }, "Submit a Referral")),
|
|
9636
|
+
h("button", { onClick: () => In.push("/activity") }, "Activity"),
|
|
9637
|
+
h("button", { onClick: () => In.push("/editProfile") }, "Edit Profile"),
|
|
9638
|
+
h("button", { onClick: () => In.push("/login") }, "Login"),
|
|
9639
|
+
h("button", { onClick: () => In.push("/register") }, "Register"),
|
|
9640
|
+
h("button", { onClick: () => In.push("/emailVerification") }, "Email Verification"),
|
|
9641
|
+
h("button", { onClick: () => In.push("/verifyEmail") }, "Verify Email"),
|
|
9642
|
+
h("button", { onClick: () => In.push("/forgotPassword") }, "Forgot Password"),
|
|
9643
|
+
h("button", { onClick: () => In.push("/resetPassword") }, "Reset Password")),
|
|
9644
9644
|
h("br", null),
|
|
9645
9645
|
h("div", { innerHTML: states.previewTemplate })));
|
|
9646
9646
|
}
|
|
@@ -10214,14 +10214,14 @@ function setupGraphQL$9() {
|
|
|
10214
10214
|
programId,
|
|
10215
10215
|
};
|
|
10216
10216
|
useEffect(() => {
|
|
10217
|
-
|
|
10217
|
+
te$1({
|
|
10218
10218
|
accountId,
|
|
10219
10219
|
id,
|
|
10220
10220
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10221
10221
|
});
|
|
10222
10222
|
return () => {
|
|
10223
10223
|
window.widgetIdent = undefined;
|
|
10224
|
-
|
|
10224
|
+
te$1(undefined);
|
|
10225
10225
|
};
|
|
10226
10226
|
}, []);
|
|
10227
10227
|
return { id, accountId };
|
|
@@ -10330,14 +10330,14 @@ function setupGraphQL$a() {
|
|
|
10330
10330
|
programId,
|
|
10331
10331
|
};
|
|
10332
10332
|
useEffect(() => {
|
|
10333
|
-
|
|
10333
|
+
te$1({
|
|
10334
10334
|
accountId,
|
|
10335
10335
|
id,
|
|
10336
10336
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10337
10337
|
});
|
|
10338
10338
|
return () => {
|
|
10339
10339
|
window.widgetIdent = undefined;
|
|
10340
|
-
|
|
10340
|
+
te$1(undefined);
|
|
10341
10341
|
};
|
|
10342
10342
|
}, []);
|
|
10343
10343
|
return { id, accountId };
|
|
@@ -10485,14 +10485,14 @@ function setupGraphQL$b() {
|
|
|
10485
10485
|
programId,
|
|
10486
10486
|
};
|
|
10487
10487
|
useEffect(() => {
|
|
10488
|
-
|
|
10488
|
+
te$1({
|
|
10489
10489
|
accountId,
|
|
10490
10490
|
id,
|
|
10491
10491
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10492
10492
|
});
|
|
10493
10493
|
return () => {
|
|
10494
10494
|
window.widgetIdent = undefined;
|
|
10495
|
-
|
|
10495
|
+
te$1(undefined);
|
|
10496
10496
|
};
|
|
10497
10497
|
}, []);
|
|
10498
10498
|
return { id, accountId };
|
|
@@ -11631,14 +11631,14 @@ function setupGraphQL$c() {
|
|
|
11631
11631
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
11632
11632
|
};
|
|
11633
11633
|
useEffect(() => {
|
|
11634
|
-
|
|
11634
|
+
te$1({
|
|
11635
11635
|
accountId,
|
|
11636
11636
|
id,
|
|
11637
11637
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
11638
11638
|
});
|
|
11639
11639
|
return () => {
|
|
11640
11640
|
window.widgetIdent = undefined;
|
|
11641
|
-
|
|
11641
|
+
te$1(undefined);
|
|
11642
11642
|
};
|
|
11643
11643
|
}, []);
|
|
11644
11644
|
return { id, accountId };
|
|
@@ -11652,21 +11652,21 @@ function setupGraphQLKlip$1({ token, id }) {
|
|
|
11652
11652
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
11653
11653
|
};
|
|
11654
11654
|
useEffect(() => {
|
|
11655
|
-
|
|
11655
|
+
te$1({
|
|
11656
11656
|
accountId,
|
|
11657
11657
|
id,
|
|
11658
11658
|
jwt: token,
|
|
11659
11659
|
});
|
|
11660
11660
|
return () => {
|
|
11661
11661
|
window.widgetIdent = undefined;
|
|
11662
|
-
|
|
11662
|
+
te$1(undefined);
|
|
11663
11663
|
};
|
|
11664
11664
|
}, []);
|
|
11665
11665
|
return { id, accountId };
|
|
11666
11666
|
}
|
|
11667
11667
|
const ReferralTable$1 = createHookStory(() => {
|
|
11668
11668
|
setupGraphQL$c();
|
|
11669
|
-
|
|
11669
|
+
A$1("sam-partner-test-2");
|
|
11670
11670
|
return (h("sqm-referral-table", null,
|
|
11671
11671
|
h("sqm-referral-table-user-column", null),
|
|
11672
11672
|
h("sqm-referral-table-status-column", null),
|
|
@@ -11692,7 +11692,7 @@ const ReferralTableEn = createHookStory(() => {
|
|
|
11692
11692
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
11693
11693
|
id: "samenglish",
|
|
11694
11694
|
});
|
|
11695
|
-
|
|
11695
|
+
A$1("klip-referral-program");
|
|
11696
11696
|
return (h("sqm-referral-table", { "per-page": "4" },
|
|
11697
11697
|
h("sqm-referral-table-user-column", { "column-title": "User" }),
|
|
11698
11698
|
h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
|
|
@@ -11704,7 +11704,7 @@ const ReferralTableTr = createHookStory(() => {
|
|
|
11704
11704
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
11705
11705
|
id: "samturkey",
|
|
11706
11706
|
});
|
|
11707
|
-
|
|
11707
|
+
A$1("klip-referral-program");
|
|
11708
11708
|
return (h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
|
|
11709
11709
|
h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
|
|
11710
11710
|
h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
|
|
@@ -11716,7 +11716,7 @@ const ReferralTableFr = createHookStory(() => {
|
|
|
11716
11716
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
11717
11717
|
id: "samfrench",
|
|
11718
11718
|
});
|
|
11719
|
-
|
|
11719
|
+
A$1("klip-referral-program");
|
|
11720
11720
|
return (h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
|
|
11721
11721
|
h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
|
|
11722
11722
|
h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import './index.module-
|
|
2
|
+
import { m as h$1 } 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 TabView = ({}, children) => {
|
|
9
9
|
return h(Host, null, children);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { l, k as useMemo,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { l, k as useMemo, e as useEffect, m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { P } from './index.module-9cd4623b.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { u as useRerenderListener } from './re-render-
|
|
7
|
-
import { u as useChildElements } from './useChildElements-
|
|
6
|
+
import { u as useRerenderListener } from './re-render-d1b2a0de.js';
|
|
7
|
+
import { u as useChildElements } from './useChildElements-480800ed.js';
|
|
8
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
9
|
|
|
10
10
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -40,7 +40,7 @@ const TabsView = ({ content, placement, }) => {
|
|
|
40
40
|
const REVEAL_EVENT = "sq:reveal";
|
|
41
41
|
function useTabs() {
|
|
42
42
|
const rawTabs = useChildElements();
|
|
43
|
-
const host =
|
|
43
|
+
const host = P();
|
|
44
44
|
const tick = useRerenderListener();
|
|
45
45
|
const tabs = useMemo(() => rawTabs
|
|
46
46
|
.filter((tab) => tab.tagName === "SQM-TAB" || tab.tagName === "RAISINS-PLOP-TARGET")
|
|
@@ -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';
|
|
@@ -1111,4 +1111,4 @@ function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.le
|
|
|
1111
1111
|
|
|
1112
1112
|
function s$2(){return getRenderingRef()}function l$1(){var e=s$2();return getElement(e)}function d$2(e,t){void 0===t&&(t={});var n=l$1();return h$1(n,e,t)}function m$2(e,t){var n=l$1();return y$1(n,e,t)}var p$1=browser("stencil-hook");function h$2(t){var r,u=getElement(t),c=(r=!1,new State(function(){p$1("Queue update on element",u),r||(r=!0,Promise.resolve().then(function(){p$1("Forced update on element",u),r=!1,forceUpdate(u);}));},u)),a=t.disconnectedCallback;if(!a)throw new Error("Stencil hooks requires `disconnectedCallback` to be defined (even if it's empty). This is because of how the Stencil compiler works internally");t.disconnectedCallback=function(){c.teardown(),v(a);};var i=t.connectedCallback;t.connectedCallback=function(){c.update(),v(i);};var f=t.render.bind(t);t.render=function(){var e=c.run(f);return c.runEffects(),e};}function v(e){"function"==typeof e&&e();}
|
|
1113
1113
|
|
|
1114
|
-
export { commonjsGlobal as a, browser as b, createCommonjsModule as c,
|
|
1114
|
+
export { commonjsGlobal as a, browser as b, createCommonjsModule as c, getDefaultExportFromCjs as d, useEffect as e, c as f, getAugmentedNamespace as g, h$1 as h, useState as i, useRef as j, useMemo as k, l$1 as l, h$2 as m, m$2 as n, d$2 as o, useReducer as u, y$1 as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as useState, k as useMemo } from './stencil-hooks.module-
|
|
2
|
-
import {
|
|
1
|
+
import { i as useState, k as useMemo } from './stencil-hooks.module-66fea7dc.js';
|
|
2
|
+
import { P } from './index.module-9cd4623b.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
|
-
import { b as browser, u as useReducer,
|
|
3
|
-
import { d as dist,
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { b as browser, u as useReducer, e as useEffect } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { d as dist, a as ae, M, O, w as wn, q as qn } from './index.module-9cd4623b.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-d1b2a0de.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-480800ed.js';
|
|
6
6
|
|
|
7
7
|
const debug = browser("sq:useReferralTable");
|
|
8
8
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
@@ -176,8 +176,8 @@ const GET_REFERRAL_DATA = dist.gql `
|
|
|
176
176
|
`;
|
|
177
177
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
178
178
|
var _a, _b, _c;
|
|
179
|
-
const user =
|
|
180
|
-
const programIdContext =
|
|
179
|
+
const user = ae();
|
|
180
|
+
const programIdContext = M();
|
|
181
181
|
// Default to context, overriden by props
|
|
182
182
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
183
183
|
// If no program ID, shows all programs
|
|
@@ -199,15 +199,15 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
199
199
|
loading: false,
|
|
200
200
|
page: 0,
|
|
201
201
|
});
|
|
202
|
-
const locale =
|
|
203
|
-
const { data: referrerResponse, loading: referrerLoading, refetch, } =
|
|
202
|
+
const locale = O();
|
|
203
|
+
const { data: referrerResponse, loading: referrerLoading, refetch, } = wn(GET_REFERRER_DATA, {
|
|
204
204
|
programId: programId === "classic" ? null : programId,
|
|
205
205
|
rewardFilter,
|
|
206
206
|
locale,
|
|
207
207
|
}, !props.showReferrer || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
208
208
|
const referrerData = (_b = referrerResponse === null || referrerResponse === void 0 ? void 0 : referrerResponse.viewer) === null || _b === void 0 ? void 0 : _b.referredByReferral;
|
|
209
209
|
const showReferrerRow = props.showReferrer && !!(referrerData === null || referrerData === void 0 ? void 0 : referrerData.dateReferralStarted);
|
|
210
|
-
const { envelope: referralData, states, callbacks, } =
|
|
210
|
+
const { envelope: referralData, states, callbacks, } = qn(GET_REFERRAL_DATA, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.referrals; }, {
|
|
211
211
|
limit: props.perPage,
|
|
212
212
|
offset: 0,
|
|
213
213
|
}, {
|
package/dist/esm/{useRegistrationFormState-61148598.js → useRegistrationFormState-699c3e59.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { y } from './stencil-hooks.module-
|
|
2
|
-
import {
|
|
1
|
+
import { y } from './stencil-hooks.module-66fea7dc.js';
|
|
2
|
+
import { P } from './index.module-9cd4623b.js';
|
|
3
3
|
|
|
4
4
|
const FORM_VALIDATION_CONTEXT = "sq:validation-state";
|
|
5
5
|
function useValidationState(formState) {
|
|
6
|
-
const host =
|
|
6
|
+
const host = P();
|
|
7
7
|
const [validationState, setValidationState] = y(host, FORM_VALIDATION_CONTEXT, formState);
|
|
8
8
|
return { validationState, setValidationState };
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
12
12
|
function useRegistrationFormState(formState) {
|
|
13
|
-
const host =
|
|
13
|
+
const host = P();
|
|
14
14
|
const [registrationFormState, setRegistrationFormState] = y(host, REGISTRATION_FORM_STATE_CONTEXT, formState);
|
|
15
15
|
return { registrationFormState, setRegistrationFormState };
|
|
16
16
|
}
|