@saasquatch/mint-components 2.0.5-2 → 2.0.5-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ErrorView-ee7b0f36.js → ErrorView-3f91e5ab.js} +1 -1
- package/dist/cjs/{GenericTableView-be5648e4.js → GenericTableView-a9845e80.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-5a9d4a55.js → ShadowViewAddon-ae3a32c3.js} +221 -102
- package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-322436c2.js} +1 -1
- package/dist/cjs/data-24028727.js +248 -0
- package/dist/cjs/{dom-context-hooks.module-e7b6727c.js → dom-context-hooks.module-7fa676ae.js} +1 -1
- package/dist/cjs/{email-registration-view-306c8878.js → email-registration-view-ace50780.js} +1 -1
- package/dist/cjs/{global-d90f3195.js → global-e862bfd4.js} +3178 -3127
- package/dist/cjs/{index-8277cbb3.js → index-a43a63b4.js} +1 -1
- package/dist/cjs/{index.module-f267fad6.js → index.module-4f54e412.js} +154 -147
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-c1ad356a.js → luxon-949beaf2.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-ed603fca.js → mockRewardData-df37c8a3.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-f59ad8a9.js → re-render-d516138a.js} +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +351 -1500
- package/dist/cjs/{sqm-base-registration-form-view-992c7f18.js → sqm-base-registration-form-view-69a4b615.js} +2 -2
- package/dist/cjs/{sqm-big-stat_44.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +782 -34
- package/dist/cjs/{sqm-close-button-view-e9f2a454.js → sqm-close-button-view-5e85ac51.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
- package/dist/cjs/sqm-code-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-header-logo.cjs.entry.js +17 -4
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-f4c57a50.js → sqm-lead-checkbox-field-view-dca40eb4.js} +2 -2
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-lead-input-field-view-b6d70217.js → sqm-lead-input-field-view-2006001f.js} +2 -2
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-leaderboard-rank-view-67fd7934.js → sqm-leaderboard-rank-view-6a1e63de.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-logout-current-user-view-f330d641.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-item-view-41edbbc4.js → sqm-navigation-sidebar-item-view-4e88f774.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-view-6616e3e0.js → sqm-navigation-sidebar-view-de90ef03.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +6 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-07e4343f.js} +6 -7
- package/dist/cjs/{sqm-portal-email-verification-view-9f1b4ba4.js → sqm-portal-email-verification-view-1745d9a2.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +130 -0
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-login-view-bb50304c.js +58 -0
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-7defab25.js → sqm-portal-profile-view-5c5e29b1.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-5a96c2f5.js} +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +194 -0
- package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-25eb2099.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email-view-1c4e781f.js +49 -0
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +171 -0
- package/dist/cjs/{sqm-qr-code-view-b388e408.js → sqm-qr-code-view-4ccf89da.js} +2 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +11 -11
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +451 -82
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-7a61ae4c.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-user-info-form-view-c14ba407.js +2074 -0
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-84b623d1.js → useChildElements-966c9041.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-dbe420fb.js → useInstantAccessRegistration-08bcb487.js} +3 -3
- package/dist/cjs/{useLeadFormState-1895ef0d.js → useLeadFormState-91999606.js} +4 -4
- package/dist/cjs/{data-6a389e7b.js → usePayoutStatus-98f2ca76.js} +31 -146
- package/dist/cjs/usePortalLogin-1c022d8d.js +74 -0
- package/dist/cjs/{usePortalRegistrationForm-a0a45299.js → usePortalRegistrationForm-75b647fe.js} +3 -3
- package/dist/cjs/{useReferralCodes-03024ff4.js → useReferralCodes-11cdf43b.js} +2 -2
- package/dist/cjs/{useReferralTable-207b4ff0.js → useReferralTable-90d4d6e9.js} +5 -5
- package/dist/cjs/{useRegistrationFormState-0f85c946.js → useRegistrationFormState-bbee6e7b.js} +2 -2
- package/dist/cjs/{useVerificationEmail-c2acd737.js → useVerificationEmail-9dd3997a.js} +2 -2
- package/dist/cjs/{utilities-3577b60d.js → utilities-9a0c5e91.js} +2 -2
- package/dist/collection/collection-manifest.json +0 -10
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +85 -5
- package/dist/collection/components/sqm-navigation-menu/useNavigationMenu.js +2 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -3
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
- package/dist/collection/components/sqm-portal-protected-route/usePortalProtectedRoute.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +5 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +10 -5
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +11 -5
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +46 -40
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +13 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +95 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +360 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +29 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +311 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +310 -10
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +7 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +325 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +21 -12
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +101 -9
- package/dist/esm/{ErrorView-74cb3af8.js → ErrorView-bbf0a042.js} +1 -1
- package/dist/esm/{GenericTableView-8c72ac30.js → GenericTableView-e43d310f.js} +1 -1
- package/dist/esm/{ShadowViewAddon-2b061a3a.js → ShadowViewAddon-78a1c35c.js} +221 -104
- package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-fac47254.js} +1 -1
- package/dist/esm/data-a581119a.js +225 -0
- package/dist/esm/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-63370afd.js} +1 -1
- package/dist/esm/{email-registration-view-4cdb4129.js → email-registration-view-1f587f8b.js} +1 -1
- package/dist/esm/{global-fc653a2a.js → global-58a69018.js} +3178 -3127
- package/dist/esm/{index-38ad4957.js → index-b3a06de8.js} +1 -1
- package/dist/esm/{index.module-849b7d56.js → index.module-c9811a48.js} +153 -148
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-1be92a8e.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-9b27d6f1.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-2a5345de.js → re-render-7e22fb0d.js} +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +328 -1477
- package/dist/esm/{sqm-base-registration-form-view-ee556e5f.js → sqm-base-registration-form-view-9e97d8b4.js} +2 -2
- package/dist/esm/{sqm-big-stat_44.entry.js → sqm-big-stat_47.entry.js} +777 -32
- package/dist/esm/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +4 -4
- package/dist/esm/sqm-code-verification.entry.js +6 -6
- package/dist/esm/sqm-context-router.entry.js +3 -3
- package/dist/esm/sqm-email-verification.entry.js +6 -6
- package/dist/esm/sqm-empty_4.entry.js +5 -5
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +17 -4
- package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-3d012143.js → sqm-lead-checkbox-field-view-81541e40.js} +2 -2
- package/dist/esm/sqm-lead-checkbox-field.entry.js +6 -6
- package/dist/esm/{sqm-lead-input-field-view-0199ee1e.js → sqm-lead-input-field-view-d543d939.js} +2 -2
- package/dist/esm/sqm-lead-input-field.entry.js +6 -6
- package/dist/esm/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-18baae5b.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-5283300c.js → sqm-navigation-sidebar-item-view-5a452423.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-0a2ec560.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-pagination_3.entry.js +6 -6
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +3 -3
- package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-176e92e3.js} +6 -7
- package/dist/esm/{sqm-portal-email-verification-view-03707cd9.js → sqm-portal-email-verification-view-5fb1a99e.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-google-login.entry.js +126 -0
- package/dist/esm/sqm-portal-google-registration-form.entry.js +8 -8
- package/dist/esm/sqm-portal-login-view-7670cd86.js +56 -0
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-cbef4855.js → sqm-portal-profile-view-e3aef106.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-8bdc3804.js} +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +190 -0
- package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-abef7286.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email-view-33805220.js +47 -0
- package/dist/esm/sqm-portal-verify-email.entry.js +167 -0
- package/dist/esm/{sqm-qr-code-view-0e88b4bd.js → sqm-qr-code-view-ea505213.js} +2 -2
- package/dist/esm/sqm-qr-code.entry.js +6 -6
- package/dist/esm/sqm-referral-table_11.entry.js +11 -11
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +402 -33
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-4c17b8c9.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/sqm-user-info-form-view-9a3048d9.js +2066 -0
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -3
- package/dist/esm/sqm-widget-verification.entry.js +3 -3
- package/dist/esm/{useChildElements-14eb2cd7.js → useChildElements-3d872cef.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-6685ce53.js → useInstantAccessRegistration-dda1f52b.js} +3 -3
- package/dist/esm/{useLeadFormState-0d1c899e.js → useLeadFormState-8d4b2620.js} +4 -4
- package/dist/esm/{data-4390ef62.js → usePayoutStatus-7404eb9d.js} +32 -132
- package/dist/esm/usePortalLogin-f95bbc67.js +72 -0
- package/dist/esm/{usePortalRegistrationForm-65765105.js → usePortalRegistrationForm-1eb3cd72.js} +3 -3
- package/dist/esm/{useReferralCodes-f87eea47.js → useReferralCodes-c2e809cf.js} +2 -2
- package/dist/esm/{useReferralTable-bcf191be.js → useReferralTable-909ccb28.js} +5 -5
- package/dist/esm/{useRegistrationFormState-f149c3ba.js → useRegistrationFormState-24d594ea.js} +2 -2
- package/dist/esm/{useVerificationEmail-ca464d15.js → useVerificationEmail-55e0e98f.js} +2 -2
- package/dist/esm/{utilities-8dba1079.js → utilities-72c07b09.js} +2 -2
- package/dist/esm-es5/{ErrorView-74cb3af8.js → ErrorView-bbf0a042.js} +1 -1
- package/dist/esm-es5/{GenericTableView-8c72ac30.js → GenericTableView-e43d310f.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-78a1c35c.js +1 -0
- package/dist/esm-es5/{copy-text-view-87259b11.js → copy-text-view-fac47254.js} +1 -1
- package/dist/esm-es5/data-a581119a.js +1 -0
- package/dist/esm-es5/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-63370afd.js} +1 -1
- package/dist/esm-es5/{email-registration-view-4cdb4129.js → email-registration-view-1f587f8b.js} +1 -1
- package/dist/esm-es5/global-58a69018.js +285 -0
- package/dist/esm-es5/index-b3a06de8.js +1 -0
- package/dist/esm-es5/index.module-c9811a48.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-1be92a8e.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-9b27d6f1.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-2a5345de.js → re-render-7e22fb0d.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-ee556e5f.js → sqm-base-registration-form-view-9e97d8b4.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-3d012143.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-0199ee1e.js → sqm-lead-input-field-view-d543d939.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-5283300c.js → sqm-navigation-sidebar-item-view-5a452423.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-0a2ec560.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.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-container-view-176e92e3.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-03707cd9.js → sqm-portal-email-verification-view-5fb1a99e.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -0
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-cbef4855.js → sqm-portal-profile-view-e3aef106.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-view-2f4936ef.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-33805220.js +1 -0
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -0
- package/dist/esm-es5/{sqm-qr-code-view-0e88b4bd.js → sqm-qr-code-view-ea505213.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.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-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.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-view-738acfb3.js → sqm-text-span-view-4c17b8c9.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-9a3048d9.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-14eb2cd7.js → useChildElements-3d872cef.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-6685ce53.js → useInstantAccessRegistration-dda1f52b.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-0d1c899e.js → useLeadFormState-8d4b2620.js} +1 -1
- package/dist/esm-es5/{data-4390ef62.js → usePayoutStatus-7404eb9d.js} +2 -2
- package/dist/esm-es5/usePortalLogin-f95bbc67.js +1 -0
- package/dist/esm-es5/{usePortalRegistrationForm-65765105.js → usePortalRegistrationForm-1eb3cd72.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-f87eea47.js → useReferralCodes-c2e809cf.js} +1 -1
- package/dist/esm-es5/{useReferralTable-bcf191be.js → useReferralTable-909ccb28.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-f149c3ba.js → useRegistrationFormState-24d594ea.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-ca464d15.js → useVerificationEmail-55e0e98f.js} +1 -1
- package/dist/esm-es5/{utilities-8dba1079.js → utilities-72c07b09.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-1a3a57c0.js → p-00791abc.js} +1 -1
- package/dist/mint-components/{p-2076f887.system.js → p-0087ad39.system.js} +1 -1
- package/dist/mint-components/{p-ab927359.system.entry.js → p-011c0990.system.entry.js} +1 -1
- package/dist/mint-components/{p-b4a8a34b.js → p-027c0b10.js} +152 -152
- package/dist/mint-components/{p-56ca7e3c.js → p-07dc6d68.js} +1 -1
- package/dist/mint-components/{p-2786819c.js → p-08700497.js} +1 -1
- package/dist/mint-components/p-088f082f.js +1 -0
- package/dist/mint-components/{p-d5eb601d.system.js → p-0935f9b7.system.js} +1 -1
- package/dist/mint-components/{p-c4151e26.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
- package/dist/mint-components/{p-118e4a22.system.entry.js → p-0c024cf0.system.entry.js} +1 -1
- package/dist/mint-components/p-0d71303d.js +1 -0
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/p-0ec54f97.js +1 -0
- package/dist/mint-components/{p-494497c2.system.js → p-1215518e.system.js} +1 -1
- package/dist/mint-components/p-125a894f.js +1 -0
- package/dist/mint-components/{p-39599251.entry.js → p-12e6cea7.entry.js} +2 -2
- package/dist/mint-components/{p-f45e076d.system.js → p-1363c4ab.system.js} +1 -1
- package/dist/mint-components/{p-18133026.system.entry.js → p-14128c84.system.entry.js} +1 -1
- package/dist/mint-components/p-171310d9.system.js +1 -0
- package/dist/mint-components/{p-2851c89b.system.js → p-17a0f310.system.js} +1 -1
- package/dist/mint-components/{p-ae867ea6.js → p-1aa9136c.js} +1 -1
- package/dist/mint-components/p-1b79b186.entry.js +11 -0
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/{p-cabf6326.js → p-204861a6.js} +1 -1
- package/dist/mint-components/p-20c40fdf.system.js +1 -0
- package/dist/mint-components/{p-d267f4bb.system.js → p-2403c6e1.system.js} +1 -1
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/{p-bbdbefce.system.entry.js → p-26a7051d.system.entry.js} +1 -1
- package/dist/mint-components/{p-07f47f18.system.entry.js → p-2700136f.system.entry.js} +1 -1
- package/dist/mint-components/p-28e23d75.system.entry.js +1 -0
- package/dist/mint-components/{p-8a85f8f5.entry.js → p-29398c98.entry.js} +1 -1
- package/dist/mint-components/p-29ba2eaa.entry.js +1 -0
- package/dist/mint-components/{p-73eaa31b.system.entry.js → p-2ea3eea9.system.entry.js} +1 -1
- package/dist/mint-components/{p-9046552e.entry.js → p-30278955.entry.js} +1 -1
- package/dist/mint-components/{p-3710c2e1.system.entry.js → p-36a1fa33.system.entry.js} +1 -1
- package/dist/mint-components/{p-c23f5630.entry.js → p-386ec00c.entry.js} +1 -1
- package/dist/mint-components/{p-505f91d6.entry.js → p-3b46fae5.entry.js} +2 -2
- package/dist/mint-components/p-3eba9036.js +1 -0
- package/dist/mint-components/p-40752a0f.entry.js +1 -0
- package/dist/mint-components/{p-eb123e88.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
- package/dist/mint-components/{p-acaf505d.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-573ea3fd.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4290ba4.entry.js → p-43ad51bc.entry.js} +1 -1
- package/dist/mint-components/p-44fc6029.js +1 -0
- package/dist/mint-components/{p-11c127f5.js → p-460155de.js} +1 -1
- package/dist/mint-components/{p-2072706c.system.entry.js → p-478ad7c8.system.entry.js} +1 -1
- package/dist/mint-components/{p-ebfaa71d.js → p-49400aab.js} +2 -2
- package/dist/mint-components/{p-d1c64df4.system.js → p-4965dae4.system.js} +1 -1
- package/dist/mint-components/{p-d276468c.js → p-4a0a76a5.js} +1 -1
- package/dist/mint-components/p-4cc72a4e.system.js +285 -0
- package/dist/mint-components/{p-b6504987.system.js → p-4f5329a2.system.js} +1 -1
- package/dist/mint-components/{p-051908cf.js → p-513f5d80.js} +1 -1
- package/dist/mint-components/{p-eb0cb2a5.js → p-51a6a779.js} +1 -1
- package/dist/mint-components/{p-74141e43.system.js → p-537a3894.system.js} +1 -1
- package/dist/mint-components/{p-ff38a567.entry.js → p-58c79873.entry.js} +1 -1
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/p-5b7a896e.system.entry.js +1 -0
- package/dist/mint-components/p-5cb697b3.system.entry.js +1 -0
- package/dist/mint-components/p-5e145a54.system.entry.js +1 -0
- package/dist/mint-components/{p-7c74ad5c.system.js → p-5fbe6356.system.js} +1 -1
- package/dist/mint-components/{p-7010498f.js → p-5ff2da11.js} +1 -1
- package/dist/mint-components/{p-287a9c63.entry.js → p-6076dbaf.entry.js} +1 -1
- package/dist/mint-components/{p-ed74b25a.system.entry.js → p-60ec0961.system.entry.js} +1 -1
- package/dist/mint-components/p-621f3e30.entry.js +1 -0
- package/dist/mint-components/p-625ca62f.entry.js +1 -0
- package/dist/mint-components/{p-a7fc1e02.js → p-63e29387.js} +1 -1
- package/dist/mint-components/{p-3c46b4dd.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/p-6578ea31.system.js +1 -0
- package/dist/mint-components/{p-f1584abb.system.entry.js → p-674d9089.system.entry.js} +1 -1
- package/dist/mint-components/{p-7b909aa5.system.js → p-67ad2252.system.js} +1 -1
- package/dist/mint-components/{p-669d52c4.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-6a0ddee0.entry.js +1 -0
- package/dist/mint-components/p-6a5df328.js +46 -0
- package/dist/mint-components/{p-832579bf.system.js → p-6c82d60c.system.js} +1 -1
- package/dist/mint-components/{p-456ccda6.system.js → p-71271fbd.system.js} +1 -1
- package/dist/mint-components/{p-8452837a.system.js → p-7159c51c.system.js} +1 -1
- package/dist/mint-components/{p-3c27540c.js → p-71af93e3.js} +1 -1
- package/dist/mint-components/p-720f03e2.system.js +1 -0
- package/dist/mint-components/{p-23eb911d.system.entry.js → p-72b914b9.system.entry.js} +1 -1
- package/dist/mint-components/p-7468c79e.entry.js +273 -0
- package/dist/mint-components/{p-d57bdb68.entry.js → p-75b8fd75.entry.js} +1 -1
- package/dist/mint-components/{p-dffad4a8.entry.js → p-7602eb6a.entry.js} +1 -1
- package/dist/mint-components/{p-4320e2dc.system.entry.js → p-78c754de.system.entry.js} +1 -1
- package/dist/mint-components/p-79c0db17.system.entry.js +1 -0
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/p-7e323f2c.entry.js +1 -0
- package/dist/mint-components/p-7e550c3b.system.entry.js +1 -0
- package/dist/mint-components/{p-c1a8b5f4.system.js → p-80569911.system.js} +1 -1
- package/dist/mint-components/{p-c7b4e749.system.entry.js → p-829cb9ed.system.entry.js} +1 -1
- package/dist/mint-components/{p-0ec9eb9b.entry.js → p-85029918.entry.js} +1 -1
- package/dist/mint-components/{p-fc850132.system.js → p-8618e8f6.system.js} +1 -1
- package/dist/mint-components/{p-479202a9.system.js → p-867b2baf.system.js} +1 -1
- package/dist/mint-components/{p-fbcd2ae2.entry.js → p-8931d05e.entry.js} +2 -2
- package/dist/mint-components/{p-4308b18f.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-8a11659b.system.js → p-8d9fa981.system.js} +1 -1
- package/dist/mint-components/p-8de73da9.js +112 -0
- package/dist/mint-components/{p-45be99ae.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/{p-7295c99c.entry.js → p-92a54b0c.entry.js} +1 -1
- package/dist/mint-components/p-947bacd1.system.js +1 -0
- package/dist/mint-components/{p-9652e637.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
- package/dist/mint-components/p-9580aac3.js +1 -0
- package/dist/mint-components/{p-aeb00548.entry.js → p-95b6e903.entry.js} +1 -1
- package/dist/mint-components/p-976ee669.js +1 -0
- package/dist/mint-components/{p-39ad8f1b.js → p-97dc6863.js} +2 -2
- package/dist/mint-components/p-988f236f.js +1 -0
- package/dist/mint-components/p-9a172a0f.entry.js +106 -0
- package/dist/mint-components/{p-0fe8d9fc.system.entry.js → p-9ba07029.system.entry.js} +1 -1
- package/dist/mint-components/{p-e230562f.js → p-9c79ab08.js} +2 -2
- package/dist/mint-components/{p-de293f9f.system.entry.js → p-9d46f87f.system.entry.js} +1 -1
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9eba8408.js +1 -0
- package/dist/mint-components/{p-256763e8.entry.js → p-a32afaaa.entry.js} +1 -1
- package/dist/mint-components/{p-d0559e66.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a470e203.entry.js +13 -0
- package/dist/mint-components/{p-9ba932a9.entry.js → p-a4e8eb33.entry.js} +1 -1
- package/dist/mint-components/{p-044a76f1.js → p-a513c1a6.js} +1 -1
- package/dist/mint-components/p-a6f4fb03.system.js +1 -0
- package/dist/mint-components/p-a7e35f51.system.js +6 -0
- package/dist/mint-components/{p-a13d7d73.system.entry.js → p-a8c86cd8.system.entry.js} +1 -1
- package/dist/mint-components/{p-bf3e7bc8.js → p-a974c549.js} +1 -1
- package/dist/mint-components/{p-fb0ea0df.system.entry.js → p-ac86903a.system.entry.js} +1 -1
- package/dist/mint-components/{p-df728783.entry.js → p-ac9138fd.entry.js} +1 -1
- package/dist/mint-components/p-ad3ebf4d.entry.js +1 -0
- package/dist/mint-components/{p-f1cf660f.system.entry.js → p-af69ee79.system.entry.js} +1 -1
- package/dist/mint-components/{p-0bdf0a4b.entry.js → p-b00e8365.entry.js} +1 -1
- package/dist/mint-components/p-b3510ca0.system.entry.js +1 -0
- package/dist/mint-components/{p-dac20392.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-ba79655c.system.js +1 -0
- package/dist/mint-components/{p-9bea2329.system.js → p-bb5d153f.system.js} +1 -1
- package/dist/mint-components/{p-a81690ae.system.js → p-bcac83f0.system.js} +1 -1
- package/dist/mint-components/p-bd093069.system.entry.js +1 -0
- package/dist/mint-components/p-bdb6194c.entry.js +1 -0
- package/dist/mint-components/{p-e9b0160b.js → p-bf044217.js} +1 -1
- package/dist/mint-components/{p-ca3f598c.js → p-c30ad421.js} +1 -1
- package/dist/mint-components/{p-e31c7242.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/{p-f59cf0a8.system.entry.js → p-c6e8086f.system.entry.js} +1 -1
- package/dist/mint-components/{p-083180bf.js → p-c7c11325.js} +1 -1
- package/dist/mint-components/p-c95a437e.entry.js +1 -0
- package/dist/mint-components/p-cc8ca3ff.system.entry.js +1 -0
- package/dist/mint-components/{p-97b8073f.system.js → p-ce81839d.system.js} +1 -1
- package/dist/mint-components/p-d08bcd88.entry.js +1 -0
- package/dist/mint-components/{p-dd28cd8c.system.js → p-d09d3b8f.system.js} +1 -1
- package/dist/mint-components/p-d399b343.system.entry.js +1 -0
- package/dist/mint-components/{p-a9f72689.system.entry.js → p-d69c0a32.system.entry.js} +1 -1
- package/dist/mint-components/{p-f32d8d19.entry.js → p-d88d8ffe.entry.js} +1 -1
- package/dist/mint-components/{p-e6c7c09c.entry.js → p-d9780ae9.entry.js} +1 -1
- package/dist/mint-components/{p-128dad3d.entry.js → p-dc5bca55.entry.js} +1 -1
- package/dist/mint-components/p-dcc50d90.entry.js +1 -0
- package/dist/mint-components/{p-e82ffaee.system.entry.js → p-deecffd0.system.entry.js} +1 -1
- package/dist/mint-components/p-e115d0a2.entry.js +9 -0
- package/dist/mint-components/{p-6890a3b2.entry.js → p-e1422b78.entry.js} +1 -1
- package/dist/mint-components/{p-5c3bb317.system.js → p-e174b704.system.js} +1 -1
- package/dist/mint-components/{p-7e04b813.entry.js → p-e19f0908.entry.js} +1 -1
- package/dist/mint-components/{p-c857676d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
- package/dist/mint-components/p-e3ee8c37.system.js +1 -0
- package/dist/mint-components/{p-ca71dfff.system.entry.js → p-e8bda98a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f89c6a57.system.js → p-eaeddfe2.system.js} +1 -1
- package/dist/mint-components/{p-aaf290ce.entry.js → p-ee3a7577.entry.js} +2 -2
- package/dist/mint-components/p-ee83de0e.js +448 -0
- package/dist/mint-components/{p-4d3c4cc5.system.entry.js → p-ee92a728.system.entry.js} +1 -1
- package/dist/mint-components/{p-b1eb2a6a.js → p-f1dc581f.js} +1 -1
- package/dist/mint-components/{p-58dbdf63.system.js → p-f1f6a13d.system.js} +1 -1
- package/dist/mint-components/{p-266e25fd.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-8b9f6e1e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
- package/dist/mint-components/{p-cb225348.system.entry.js → p-f5256738.system.entry.js} +1 -1
- package/dist/mint-components/p-f5820d03.system.js +1 -0
- package/dist/mint-components/{p-5708d347.js → p-f5fff87e.js} +1 -1
- package/dist/mint-components/{p-c09ae087.system.js → p-f6baa0c9.system.js} +1 -1
- package/dist/mint-components/p-f6eae77c.js +1 -0
- package/dist/mint-components/{p-1aebfc0e.entry.js → p-f7e49c12.entry.js} +3 -3
- package/dist/mint-components/{p-88e16945.js → p-f9c7248e.js} +1 -1
- package/dist/mint-components/{p-b9f57e84.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-2c70a817.system.entry.js → p-fcf8bdbc.system.entry.js} +1 -1
- package/dist/mint-components/{p-aaa0ed28.system.js → p-ff0e1564.system.js} +1 -1
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +17 -2
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +11 -1
- package/dist/types/components/sqm-password-field/usePasswordField.d.ts +0 -11
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/data.d.ts +5 -4
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +24 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +7 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +57 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +48 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +48 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.d.ts +17 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +2 -0
- package/dist/types/components.d.ts +338 -4
- package/docs/docs.docx +0 -0
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/IndirectTaxDetailsView-d339f4a2.js +0 -660
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +0 -1078
- package/dist/cjs/sqm-portal-verify-email-view-6fcde0e7.js +0 -220
- package/dist/cjs/utils-064a7c83.js +0 -105
- package/dist/esm/IndirectTaxDetailsView-4cf9514a.js +0 -653
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +0 -1069
- package/dist/esm/sqm-portal-verify-email-view-e02a49b1.js +0 -215
- package/dist/esm/utils-3c8913e6.js +0 -97
- package/dist/esm-es5/IndirectTaxDetailsView-4cf9514a.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-2b061a3a.js +0 -1
- package/dist/esm-es5/global-fc653a2a.js +0 -271
- package/dist/esm-es5/index-38ad4957.js +0 -1
- package/dist/esm-es5/index.module-849b7d56.js +0 -1
- package/dist/esm-es5/sqm-big-stat_44.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7a682cc3.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-e02a49b1.js +0 -1
- package/dist/esm-es5/utils-3c8913e6.js +0 -1
- package/dist/mint-components/p-01eab918.js +0 -1
- package/dist/mint-components/p-071b49c1.entry.js +0 -11
- package/dist/mint-components/p-080fdd32.entry.js +0 -1
- package/dist/mint-components/p-128979ef.js +0 -1
- package/dist/mint-components/p-191fc062.entry.js +0 -273
- package/dist/mint-components/p-1b50850b.entry.js +0 -13
- package/dist/mint-components/p-2c9dc1ff.js +0 -1
- package/dist/mint-components/p-2fa1f10f.entry.js +0 -9
- package/dist/mint-components/p-301b5e90.js +0 -1
- package/dist/mint-components/p-382aa99f.entry.js +0 -1
- package/dist/mint-components/p-3c25bdb4.system.entry.js +0 -1
- package/dist/mint-components/p-3f00929b.entry.js +0 -99
- package/dist/mint-components/p-51428d05.system.js +0 -271
- package/dist/mint-components/p-53b079e9.system.entry.js +0 -1
- package/dist/mint-components/p-5b542964.entry.js +0 -1
- package/dist/mint-components/p-6306b75e.system.entry.js +0 -1
- package/dist/mint-components/p-641f968d.system.js +0 -1
- package/dist/mint-components/p-670b2ab4.system.js +0 -1
- package/dist/mint-components/p-6c3a1d86.js +0 -1
- package/dist/mint-components/p-7646a6a4.entry.js +0 -1
- package/dist/mint-components/p-7a5cabc8.system.entry.js +0 -1
- package/dist/mint-components/p-80569727.system.js +0 -1
- package/dist/mint-components/p-831af05f.js +0 -157
- package/dist/mint-components/p-8766952b.entry.js +0 -1
- package/dist/mint-components/p-8d25a7f7.js +0 -448
- package/dist/mint-components/p-9191b949.system.entry.js +0 -1
- package/dist/mint-components/p-941776f2.entry.js +0 -1
- package/dist/mint-components/p-95fe044b.js +0 -1
- package/dist/mint-components/p-972d5086.entry.js +0 -1
- package/dist/mint-components/p-9d31def7.js +0 -1
- package/dist/mint-components/p-9f44a4bd.js +0 -1
- package/dist/mint-components/p-b131b384.system.js +0 -1
- package/dist/mint-components/p-b35a43d1.system.js +0 -1
- package/dist/mint-components/p-b54da510.system.entry.js +0 -1
- package/dist/mint-components/p-b61be711.entry.js +0 -1
- package/dist/mint-components/p-b699f76e.system.js +0 -1
- package/dist/mint-components/p-b6a1e2ac.js +0 -1
- package/dist/mint-components/p-c5e6c28e.js +0 -1
- package/dist/mint-components/p-ca3dbd51.js +0 -1
- package/dist/mint-components/p-ce4a36b2.system.js +0 -6
- package/dist/mint-components/p-d65991d0.entry.js +0 -1
- package/dist/mint-components/p-d9a88615.system.js +0 -1
- package/dist/mint-components/p-df28013f.system.entry.js +0 -1
- package/dist/mint-components/p-e21dad58.entry.js +0 -1
- package/dist/mint-components/p-f207070d.entry.js +0 -1
- package/dist/mint-components/p-f62aa495.system.js +0 -1
- package/dist/mint-components/p-f72cf379.js +0 -1
- package/dist/mint-components/p-f998a53a.system.entry.js +0 -1
- package/dist/mint-components/p-fb5c9802.entry.js +0 -1
- package/dist/mint-components/p-fc66ec16.system.js +0 -1
- package/docs/stats.json +0 -122783
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r,c as s}from"./p-
|
|
1
|
+
import{r as e,h as r,c as s}from"./p-c7c11325.js";import{n as t}from"./p-63e29387.js";import"./p-0ec54f97.js";import{a as o}from"./p-f5fff87e.js";const n=class{constructor(r){e(this,r),this.columnTitle="Note",t(this)}disconnectedCallback(){}async renderCell(e,s){var t;return r("sqm-rewards-table-customer-note-cell",{note:null===(t=null==e?void 0:e.meta)||void 0===t?void 0:t.message,locale:null==s?void 0:s.locale})}async renderLabel(){return this.columnTitle}render(){return o([this.columnTitle]),r(s,{style:{display:"none"}})}};export{n as sqm_rewards_table_customer_note_column}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o}from"./p-c7c11325.js";import{n as t}from"./p-63e29387.js";import{g as r}from"./p-0ec54f97.js";import"./p-cef45012.js";import"./p-49b20dae.js";import{C as c}from"./p-a45680fe.js";const i=class{constructor(o){s(this,o),this.color="#000000",t(this)}disconnectedCallback(){}render(){var s;const t=r();return"SquatchJS2"!==t.type||"POPUP"!==(null===(s=t.widgetIdent)||void 0===s?void 0:s.engagementMedium)?o("div",{style:{display:"none"}}):o(c,{onClick:()=>{var s,o;"SquatchJS2"===t.type&&(null===(o=(s=t.api).close)||void 0===o||o.call(s))},color:this.color})}};export{i as sqm_close_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,s=1,n=arguments.length;s<n;s++){e=arguments[s];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};System.register(["./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,s=1,n=arguments.length;s<n;s++){e=arguments[s];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4cc72a4e.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8618e8f6.system.js","./p-5fbe6356.system.js"],(function(t){"use strict";var e,s,n,i,r,o,a,c,u,h,f;return{setters:[function(t){e=t.r;s=t.h},function(){},function(t){n=t.i;i=t.n},function(t){r=t.i},function(t){o=t.c},function(t){a=t.a;c=t.g},function(){},function(t){u=t.L;h=t.R},function(t){f=t.L}],execute:function(){function l(){var t=n(u);return{states:{leadFormState:t}}}var p=t("sqm_lead_checkbox_field",function(){function t(t){e(this,t);this.ignored=true;this.checkboxLabel="By signing up you agree to the {labelLink}";this.checkboxLabelLink="https://example.com";this.checkboxLabelLinkText="Terms and Conditions";this.errorMessage="Must be checked";this.checkboxOptional=false;i(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=a([{attribute:"checkbox-name",value:this.checkboxName}]);if(!r()&&t){return s(h,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"})}var e=__assign({},c(this));var n=(r()?b(this):l()).states;return s(f,{states:n,content:e})};return t}());function b(t){return o({states:{leadFormState:{}}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as s}from"./p-
|
|
1
|
+
import{h as t,r as s}from"./p-c7c11325.js";import{i,k as n,n as e}from"./p-63e29387.js";import{i as r}from"./p-0ec54f97.js";import{c as l}from"./p-c1086930.js";import{g as o}from"./p-9ec99ced.js";import{c as a}from"./p-cef45012.js";import{E as u}from"./p-49b20dae.js";import{R as c}from"./p-125a894f.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=a({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=a({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,o,a,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(o=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===o?void 0:o.password}:{},(null===(u=null===(a=d.registrationFormState)||void 0===a?void 0:a.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,o,a,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(a=null===(o=null==t?void 0:t.demoData)||void 0===o?void 0:o.states)||void 0===a?void 0:a.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(o(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(o(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4cc72a4e.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-67ad2252.system.js","./p-1215518e.system.js","./p-e174b704.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,m,f,c,v;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.f;s=e.n},function(e){a=e.d;o=e.J;u=e.w;l=e.$;d=e.i},function(e){m=e.c},function(e){f=e.g},function(){},function(){},function(e){c=e.P},function(e){v=e.i}],execute:function(){var g=a.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var _=a.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var h={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function p(e){var t=o();var n=i(false),s=n[0],a=n[1];var d=i(undefined),m=d[0],f=d[1];var c=i(h),p=c[0],y=c[1];var b=u(g,{},!(t===null||t===void 0?void 0:t.jwt));var x=l(_),N=x[0],S=x[1];r((function(){if(S===null||S===void 0?void 0:S.loading)return;if(S===null||S===void 0?void 0:S.errors){y((function(e){var t,n,i;return __assign(__assign({},e),{error:(i=(n=(t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{f((function(e){var t;return __assign(__assign({},e),(t=S===null||S===void 0?void 0:S.data)===null||t===void 0?void 0:t.upsertUser)}));if(S===null||S===void 0?void 0:S.data)a(true)}}),[S===null||S===void 0?void 0:S.loading]);r((function(){var e,t;f((function(e){var t;return __assign(__assign({},e),(t=b===null||b===void 0?void 0:b.data)===null||t===void 0?void 0:t.viewer)}));y(__assign(__assign(__assign({},h),(e=b.data)===null||e===void 0?void 0:e.viewer),(t=S.data)===null||t===void 0?void 0:t.upsertUser))}),[b===null||b===void 0?void 0:b.data]);r((function(){var t,n;if((t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.message){y(__assign(__assign({},(n=b.data)===null||n===void 0?void 0:n.viewer),{error:e.networkRequestMessage}))}}),[S===null||S===void 0?void 0:S.errors]);var j=function(){a(false);if(p.firstName&&p.lastName){N({id:t===null||t===void 0?void 0:t.id,accountId:t===null||t===void 0?void 0:t.accountId,firstName:p.firstName,lastName:p.lastName});y((function(e){return __assign(__assign({},e),{errors:{},error:""})}));return}var n={};if(!p.firstName){n["firstName"]={message:e.fieldEmptyText}}if(!p.lastName){n["lastName"]={message:e.fieldEmptyText}}if(!v(n)){y((function(t){return __assign(__assign({},t),{error:e.formErrorText})}))}y((function(e){return __assign(__assign({},e),{errors:n})}))};return{states:{success:s,loading:(b===null||b===void 0?void 0:b.loading)||S.loading,submitDisabled:false,showCountry:!e.hideCountry,formState:p,user:m,text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,countrytext:e.countrytext,emailtext:e.emailtext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(e){var t=e.target,n=t.name,i=t.value;y((function(e){var t;return __assign(__assign({},e),(t={},t[n]=i,t))}))}}}}var y=e("sqm_portal_profile",function(){function e(e){t(this,e);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;this.networkRequestMessage="An error occurred while loading this page. Please refresh the page.";this.fieldEmptyText="Field is required";this.formErrorText="Please correct the errors below to update your profile.";this.submissionSuccessText="Your profile has been successfully updated.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?b(f(this)):p(f(this));return n(c,Object.assign({},e))};return e}());function b(e){return m({states:{success:false,loading:false,submitDisabled:false,showCountry:!e.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,emailtext:e.emailtext,countrytext:e.countrytext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText,submissionSuccessText:e.submissionSuccessText,fieldEmptyText:e.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,e,h as o,g as n}from"./p-
|
|
1
|
+
import{r as t,e,h as o,g as n}from"./p-c7c11325.js";import{k as s,f as i,n as c}from"./p-63e29387.js";import{g as l,i as r}from"./p-0ec54f97.js";const u=class{constructor(o){t(this,o),this.initComplete=e(this,"initComplete",7),this.googleButtonDiv=null,c(this)}disconnectedCallback(){}connectedCallback(){if(!document.head.querySelector('script[src="https://accounts.google.com/gsi/client"]')){const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client",t.async=!0,document.head.appendChild(t)}}render(){const{setGoogleButtonDiv:t}=r()?function(t){const[e,o]=s(!1),[n,c]=s(null);return i((()=>{const t=()=>{window.onGoogleLibraryLoad=null,o(!0)};window.google&&t(),window.onGoogleLibraryLoad=t}),[]),i((()=>{if(!n||!e)return;google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:()=>{}}),google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,click_listener:()=>{t.initComplete.emit({credential:null})}})}),[n,e]),{setGoogleButtonDiv:c}}(this):function(t){const[e,o]=s(!1),[n,c]=s(null),[r,u]=s(400);let g=null;const a=()=>{n&&u(n.clientWidth)};return i((()=>{if(!n)return;const t=new ResizeObserver((()=>{g&&clearTimeout(g),g=setTimeout((()=>{a()}),50)}));return t.observe(n),a(),()=>t.disconnect()}),[n]),i((()=>{const e=()=>{window.onGoogleLibraryLoad=null;const e=l();"SquatchPortal"===e.type&&(google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:e=>{t.initComplete.emit(e)}}),o(!0))};window.google&&e(),window.onGoogleLibraryLoad=e}),[]),i((()=>{n&&e&&google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,height:40,width:r})}),[n,e,r]),{setGoogleButtonDiv:c}}(this);return o("div",{ref:t,style:{width:"100%"}})}get el(){return n(this)}};export{u as sqm_google_sign_in}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-
|
|
1
|
+
import{r as e,h as i}from"./p-c7c11325.js";import{k as r,f as o,n as t}from"./p-63e29387.js";import{d as a,J as n,I as s,p as c,X as l,i as d}from"./p-0ec54f97.js";import{c as m}from"./p-c1086930.js";import{g as u}from"./p-9ec99ced.js";import{e as h,p as f}from"./p-0797a946.js";import{S as p,V as y,a as v}from"./p-38c7775a.js";const g=a.gql`
|
|
2
2
|
query checkUserVerification {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -13,4 +13,4 @@ import{r as e,h as i}from"./p-083180bf.js";import{k as r,f as o,n as t}from"./p-
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,V=class{constructor(i){e(this,i),this.general_verifyEmailHeader="Verify your email",this.general_verifyEmailDescription="To get your cash paid out directly to your bank account, please complete your account setup",this.emailStep_verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.",this.emailStep_sendCodeErrorHeader="There was an error sending your code.",this.emailStep_sendCodeErrorDescription="Please try again. If this problem continues, contact our program support team.",this.emailStep_emailLabel="Email",this.emailStep_sendCodeText="Send code",this.emailStep_emailValidationErrorText="Please enter a valid email",this.codeStep_verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_resendCodeText="Didn't receive your code? {resendCodeLink}",this.codeStep_resendCodeLabel="Resend code",this.codeStep_codeResentSuccessfullyText="Another code has been sent to {email}",this.codeStep_invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.",this.codeStep_verifyText="Verify",this.codeStep_networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.",this.stateController="{}",t(this)}disconnectedCallback(){}getStepTextProps(e){const i=u(this);return
|
|
16
|
+
`,V=class{constructor(i){e(this,i),this.general_verifyEmailHeader="Verify your email",this.general_verifyEmailDescription="To get your cash paid out directly to your bank account, please complete your account setup",this.emailStep_verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.",this.emailStep_sendCodeErrorHeader="There was an error sending your code.",this.emailStep_sendCodeErrorDescription="Please try again. If this problem continues, contact our program support team.",this.emailStep_emailLabel="Email",this.emailStep_sendCodeText="Send code",this.emailStep_emailValidationErrorText="Please enter a valid email",this.codeStep_verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_resendCodeText="Didn't receive your code? {resendCodeLink}",this.codeStep_resendCodeLabel="Resend code",this.codeStep_codeResentSuccessfullyText="Another code has been sent to {email}",this.codeStep_invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.",this.codeStep_verifyText="Verify",this.codeStep_networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.",this.stateController="{}",t(this)}disconnectedCallback(){}getStepTextProps(e){const i=u(this);return h(i,e)}render(){const e=d()?function(e){const[i,r]=s({namespace:p,initialValue:!1}),[o,t]=s({namespace:y,initialValue:void 0}),a=c(v),n=f(e.stateController),l=Object.keys(n).reduce(((e,i)=>"sqm-widget-verification"===i?{...e,...n[i]}:{...e,[`${i}_stateController`]:n[i]}),{});return m({showCode:i,onVerification:()=>{a(!0)},loading:!1},l||{},{arrayMerge:(e,i)=>i})}(this):function(){const e=n(),[i,t]=s({namespace:p,initialValue:!1}),[a,d]=s({namespace:y,initialValue:null==e?void 0:e.email}),m=c(v),[u,h]=r(!0),[f]=l(g);return o((()=>{(async()=>{var e,i,r;try{const o=await f({});if(!o||o instanceof Error)throw new Error;((null===(e=null==o?void 0:o.viewer)||void 0===e?void 0:e.emailVerified)||(null===(r=null===(i=null==o?void 0:o.viewer)||void 0===i?void 0:i.managedIdentity)||void 0===r?void 0:r.emailVerified))&&m(!0)}catch(e){console.error("Could not fetch user information:",e)}finally{h(!1)}})()}),[]),{showCode:i,onVerification:()=>{m(!0)},loading:u}}();if(e.loading)return i("sl-spinner",null);const t=this.getStepTextProps("general_");return i("div",null,i("h3",{style:{fontSize:"24px",margin:"0"}},t.verifyEmailHeader),i("p",{style:{color:"var(--sl-color-neutral-500)",fontSize:"var(--sl-font-size-medium)",margin:"0"}},t.verifyEmailDescription),e.showCode?i("sqm-code-verification",Object.assign({onVerification:e.onVerification},this.getStepTextProps("codeStep_"),h(e,"sqm-code-verification_"))):i("sqm-email-verification",Object.assign({},this.getStepTextProps("emailStep_"),h(e,"sqm-email-verification_"))))}};export{V as sqm_widget_verification}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-c7c11325.js";import{c as s}from"./p-cef45012.js";import{A as r,a as e}from"./p-49b20dae.js";import{T as a}from"./p-204861a6.js";const o=s({Wrapper:r,Column:e,ContinueButton:{width:"100%"}}),p=o.toString();function n(s){const{states:r,data:e,callbacks:n,content:i}=s;if(!r.loading)return r.success?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{exportparts:"success-icon"},t("div",{part:"successalert-text"},i.verifySuccessText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.gotoNextPage,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):r.error||!e.oobCode?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},i.verifyInvalidText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.failed,disabled:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):void 0}export{n as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,c as r,r as t}from"./p-c7c11325.js";import{n as o}from"./p-63e29387.js";import"./p-0ec54f97.js";import{a as c}from"./p-f5fff87e.js";const a=({},t)=>s(r,null,t),l=class{constructor(s){t(this,s),o(this)}disconnectedCallback(){}render(){return c([this.header]),s(a,null,s("slot",null))}};export{l as sqm_tab}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-bb5d153f.system.js"],(function(t){"use strict";var n,e,s,r,u;return{setters:[function(t){n=t.h;e=t.c;s=t.r},function(t){r=t.n},function(){},function(t){u=t.a}],execute:function(){var c=function(t,s){return n(e,null,s)};var i=t("sqm_tab",function(){function t(t){s(this,t);r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){u([this.header]);return n(c,null,n("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as n,c as s}from"./p-
|
|
1
|
+
import{r,h as n,c as s}from"./p-c7c11325.js";const e=class{constructor(n){r(this,n)}async renderCell(){return n("span",null)}async renderLabel(r){return n("slot",{name:`column-${r}`})}render(){return n(s,null)}};export{e as raisins_plop_target}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?e(t.value):o(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?e(t.value):o(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.c}],execute:function(){var o=t("raisins_plop_target",function(){function t(t){n(this,t)}t.prototype.renderCell=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,e("span",null)]}))}))};t.prototype.renderLabel=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,e("slot",{name:"column-"+t})]}))}))};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,c as s}from"./p-
|
|
1
|
+
import{h as t,r as e,c as s}from"./p-c7c11325.js";import{i as n}from"./p-027c0b10.js";import{n as a}from"./p-63e29387.js";import"./p-0ec54f97.js";import{g as i}from"./p-9ec99ced.js";import"./p-cef45012.js";import{P as r,a as o}from"./p-9580aac3.js";function l(e){const{emptyStateHeader:s,emptyStateImage:a,emptyStateText:i,supportText:r,missingFeature:o=""}=e;return t("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},t("img",{style:{height:"100px",margin:"auto"},src:a}),t("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},t("sqm-text",{slot:"label"},t("p",{part:"header-text"},s)),t("sqm-text",{slot:"content"},t("p",{part:"description-text"},n.formatMessage({id:"emptyStateText",defaultMessage:i},{supportText:t("a",{target:"_blank",href:`mailto:saasquatch-support@impact.com?subject=Next steps for ${o} feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the ${o} feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: ${o}%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you`},r)})))))}const m=class{constructor(t){e(this,t),this.emptyStateImage="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png"}render(){return t(s,{slot:"empty"},t(l,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))}},h=class{constructor(t){e(this,t),this.ignored=!0,this.direction="column",this.gap="xxx-large",this.display="grid",this.maxWidth="100%",this.flexWrap="wrap",a(this)}disconnectedCallback(){}render(){return t(r,Object.assign({},i(this)),t("slot",null))}},c=class{constructor(t){e(this,t),this.ignored=!0,a(this)}disconnectedCallback(){}componentWillLoad(){}render(){return t("div",null,t("style",null,`\n sqm-text {\n display: block;\n color: ${this.textColor||"var(--sqm-text)"};\n }\n\n sqm-text h1 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xxx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-x-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-large)"};\n font-weight: var(--sl-font-weight-bold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text p {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-medium)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text sub {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-small)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n `),t("slot",null))}},p=class{constructor(t){e(this,t),this.textAlign="left",this.labelMargin="small",this.padding="none",a(this)}disconnectedCallback(){}render(){const e=t("slot",{name:"label"},this.label),s=t("slot",{name:"content"});return t(o,Object.assign({},{...i(this),label:e,content:s}))}};export{m as sqm_empty,h as sqm_portal_container,c as sqm_text,p as sqm_titled_section}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as o}from"./p-63e29387.js";import{c as i,h as l,j as d}from"./p-0ec54f97.js";import{j as n}from"./p-e7e129ac.js";import{s as v}from"./p-9ec99ced.js";function r(r){var a,u,e,s,t,c,f,m,g,p,P,j,w,h;const[x,{loading:b,errors:k}]=i(),[y,{loading:E,errors:S}]=l(),[C,I]=o(""),L=new URLSearchParams(d.location.search),R=L.get("nextPage"),T=(null===(s=null===(e=null===(u=null===(a=null==k?void 0:k.response)||void 0===a?void 0:a.errors)||void 0===u?void 0:u[0])||void 0===e?void 0:e.extensions)||void 0===s?void 0:s.message)||(null===(f=null===(c=null===(t=null==k?void 0:k.response)||void 0===t?void 0:t.errors)||void 0===c?void 0:c[0])||void 0===f?void 0:f.message)||C,U=(null===(P=null===(p=null===(g=null===(m=null==S?void 0:S.response)||void 0===m?void 0:m.errors)||void 0===g?void 0:g[0])||void 0===p?void 0:p.extensions)||void 0===P?void 0:P.message)||(null===(h=null===(w=null===(j=null==S?void 0:S.response)||void 0===j?void 0:j.errors)||void 0===w?void 0:w[0])||void 0===h?void 0:h.message)||C;return{states:{loading:b||E,error:T||U,registerPath:r.registerPath,forgotPasswordPath:r.forgotPasswordPath},callbacks:{googleSubmit:async o=>{var i,l,n,a;if(!(null===(i=o.detail)||void 0===i?void 0:i.credential))return;const u=await y({idToken:o.detail.credential});if(u instanceof Error)((null==u?void 0:u.message)||(null===(l=null==u?void 0:u.response)||void 0===l?void 0:l.error))&&((null===(n=null==u?void 0:u.response)||void 0===n?void 0:n.errors.some((o=>{var i;return"Invalid Credentials."===(null===(i=null==o?void 0:o.extensions)||void 0===i?void 0:i.message)})))?I(r.googleUserNotRegisteredError):I(r.networkErrorMessage));else if(null===(a=u.authenticateManagedIdentityWithGoogle)||void 0===a?void 0:a.token){L.delete("nextPage");const o=v(R||r.nextPage);d.push(o.href)}},submit:async o=>{var i,l;I("");let a=o.detail.formData;null==a||a.forEach(((o,i)=>{n.set(a,i,o)}));const u={email:a.email,password:a.password},e=await x(u);if(e instanceof Error)((null==e?void 0:e.message)||(null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.error))&&I(r.networkErrorMessage);else if(null===(l=e.authenticateManagedIdentityWithEmailAndPassword)||void 0===l?void 0:l.token){L.delete("nextPage");const o=v(R||r.nextPage);d.push(o.href)}}}}}export{r as u}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./p-
|
|
1
|
+
import{l as e}from"./p-08700497.js";const t=(e=4,t)=>({data:[...Array(e)].map((()=>s(t)))}),a=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var t,a;const d=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const t=Math.floor(10*Math.random());return E[t]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=t=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=t||r[Math.floor(5*Math.random())],m=a[M],y=d[M],p=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*p),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*p),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const N=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:p,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${p} ${y}`,prettyValueNumber:`${p}`,prettyAvailableNumber:R?"0":""+(p-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===N?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===N?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${p} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${p-o} ${y}`,exchangedRewardRedemptionTransaction:2===N?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,t as m}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js"],(function(r){"use strict";var o,n,e;return{setters:[function(r){o=r.r;n=r.h},function(r){e=r.n}],execute:function(){var t="sl-alert::part(base){border:var(--sqm-border-thickness) solid;border-radius:var(--sqm-border-radius-normal);font-family:var(--sqm-primary-font)}.Error::part(base){color:var(--sqm-danger-color-text);background-color:var(--sqm-danger-color-background);border-color:var(--sqm-danger-color-border);font-size:14px}.Error #icon{color:var(--sqm-danger-color-icon);font-size:24px}.Warning::part(base){color:var(--sqm-warning-color-text);background-color:var(--sqm-warning-color-background);border-color:var(--sqm-warning-color-border)}.Warning #icon{color:var(--sqm-warning-color-icon);font-size:24px}.Success::part(base){color:var(--sqm-success-color-text);background-color:var(--sqm-success-color-background);border-color:var(--sqm-success-color-border)}.Success #icon{color:var(--sqm-success-color-icon);font-size:24px}.Info::part(base){color:var(--sqm-informative-color-text);background-color:var(--sqm-informative-color-background);border-color:var(--sqm-informative-color-border)}.Info #icon{color:var(--sqm-informative-color-icon);font-size:24px}.Transparent::part(base){background-color:transparent;border:none;color:var(--sqm-text);margin-left:-20px}::slotted(*){margin:0}::slotted(*[part=alert-title]){font-size:16px;font-weight:bold}::slotted(*[part=alert-description]),::slotted(*[part=erroralert-text]){font-size:14px}";var s=r("sqm_form_message",function(){function r(r){o(this,r);this.ignored=true;this.transparent=false;e(this)}r.prototype.disconnectedCallback=function(){};r.prototype.render=function(){if(this.type==="error"){return n("sl-alert",{exportparts:"base: erroralert-base, icon:erroralert-icon",class:"Error "+(this.transparent?"Transparent":""),type:"danger",open:true},n("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"exclamation-octagon")}),n("slot",null))}else if(this.type==="info"){return n("sl-alert",{id:"icon",exportparts:"base: infoalert-base, icon:infoalert-icon",class:"Info "+(this.transparent?"Transparent":""),type:"info",open:true},n("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"info-circle")}),n("slot",null))}else if(this.type==="warning"){return n("sl-alert",{exportparts:"base: warningalert-base, icon:warningalert-icon",class:"Warning "+(this.transparent?"Transparent":""),type:"warning",open:true},n("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"exclamation-triangle")}),n("slot",null))}else{return n("sl-alert",{exportparts:"base: successalert-base, icon:successalert-icon",class:"Success "+(this.transparent?"Transparent":""),type:"success",open:true},n("sl-icon",{id:"icon",slot:"icon",name:""+(this.icon?this.icon:"check2-circle")}),n("slot",null))}};return r}());s.style=t}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e}from"./p-
|
|
1
|
+
import{h as e}from"./p-c7c11325.js";import{b as a,j as r,f as t}from"./p-63e29387.js";import{d,J as l,H as o,L as n,w as s,R as i}from"./p-0ec54f97.js";import{u}from"./p-f5fff87e.js";import{u as c}from"./p-976ee669.js";const m=a("sq:useReferralTable"),f=d.gql`
|
|
2
2
|
query getReferrals(
|
|
3
3
|
$programId: ID
|
|
4
4
|
$rewardFilter: RewardFilterInput
|
|
@@ -230,4 +230,4 @@ import{h as e}from"./p-083180bf.js";import{b as a,j as r,f as t}from"./p-a7fc1e0
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
`;function v(a,d,m){var v,w,R,h;const C=l(),
|
|
233
|
+
`;function v(a,d,m){var v,w,R,h;const C=l(),I=o(),F=null!==(v=a.programId)&&void 0!==v?v:I,b=F?"classic"===F?{programId_exists:!1}:{programId_eq:F}:{},T={userId_eq:null==C?void 0:C.id,accountId_eq:null==C?void 0:C.accountId},[$,S]=r(((e,a)=>({...e,...a})),{columns:[],rows:[],loading:!1,page:0}),k=n(),{data:x,loading:M}=s(f,{programId:"classic"===F?null:F,rewardFilter:T,locale:k},!a.showReferrer||!(null==C?void 0:C.jwt)),E=null===(w=null==x?void 0:x.viewer)||void 0===w?void 0:w.referredByReferral,P=a.showReferrer&&!!(null==E?void 0:E.dateReferralStarted),{data:q,loading:U}=s(g,{},!(null==C?void 0:C.jwt)),D=null===(R=null==q?void 0:q.viewer)||void 0===R?void 0:R.impactConnection,{envelope:N,states:_,callbacks:j}=i(p,(e=>{var a;return null===(a=null==e?void 0:e.viewer)||void 0===a?void 0:a.referrals}),{limit:a.perPage,offset:0},{referralFilter:b,rewardFilter:T,locale:k},a.showReferrer&&M&&!x||!(null==C?void 0:C.jwt));t((()=>{0===_.currentPage&&P&&j.setLimit(a.perPage-1)}),[P]),t((()=>{a.showReferrer&&P?(j.setLimit(a.perPage-1),j.setCurrentPage(0)):(j.setLimit(a.perPage),j.setCurrentPage(0))}),[a.showReferrer]);const K=u(),L=null==N?void 0:N.data,V=c();t((()=>{S({loading:!0}),N&&async function(a){const r=a.filter((e=>"loading"!==e.slot&&"empty"!==e.slot)),t=null==r?void 0:r.map((async e=>y(e,(()=>e.renderLabel()))));let d;if(P&&0===_.currentPage){const a=null==r?void 0:r.map((async a=>y(a,(()=>a.renderReferrerCell(E,k,e)))));d=await Promise.all(a)}const l=null==L?void 0:L.map((async a=>{const t=null==r?void 0:r.map((async r=>y(r,(()=>r.renderCell(a,{locale:k,taxConnection:D},e)))));return await Promise.all(t)})),o=l&&[d,...await Promise.all(l)].filter((e=>e));S({rows:o});const n=t&&await Promise.all(t);S({columns:n,loading:!1,page:_.currentPage})}(V)}),[N,V,K]);const B=!(null===(h=null==$?void 0:$.rows)||void 0===h?void 0:h.length)&&!(null==L?void 0:L.length);return{states:{hasNext:_.currentPage<_.pageCount-1,hasPrev:_.currentPage>0,show:_.loading||$.loading||U?"loading":B?"empty":"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!a.hideLabels,prevLabel:a.prevLabel,moreLabel:a.moreLabel},hiddenColumns:a.hiddenColumns,smBreakpoint:a.smBreakpoint,mdBreakpoint:a.mdBreakpoint},elements:{columns:$.columns,rows:$.rows,emptyElement:d,loadingElement:m},callbacks:{nextPage:()=>{0===_.currentPage&&P&&j.setLimit(a.perPage),j.setCurrentPage(_.currentPage+1)},prevPage:()=>{1===_.currentPage&&P&&j.setLimit(a.perPage-1),j.setCurrentPage(_.currentPage-1)}}}}function w(e){try{return JSON.stringify(e)}catch(e){return"An unknown error"}}async function y(a,r){const t=a.tagName.toLowerCase();let d;await customElements.whenDefined(t);try{d=r()}catch(a){return"renderReferrerCell"===r.name?m("column does not have a renderReferrerCell method."):m("label promise failed",a),m("label promise failed",a),e("span",null)}try{return await d}catch(a){m("Error rendering label",a);const r=w(a);return e("details",null,e("summary",null,"Error"),r)}}export{w as g,y as t,v as u}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-f1f6a13d.system.js"],(function(e){"use strict";var t,n,i;return{setters:[function(e){t=e.h},function(e){n=e.c},function(e){i=e.E}],execute:function(){e("Q",o);var r={DialogContainer:{maxWidth:"390px !important"},Container:{width:"100%",display:"flex",flexDirection:"row",gap:"var(--sl-spacing-small)"},TextContainer:{display:"flex",gap:"var(--sl-spacing-medium)",flexDirection:"column",alignItems:"center"},ButtonContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},FooterContainer:{textAlign:"left",display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)"},CodeContainer:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center"},Code:{width:"100%",height:"100%",maxWidth:"335px"},LoadingSkeleton:{"&::part(indicator)":{borderRadius:"0px !important"}}};var a=n(r);var s=a.toString();var l="\n :host{\n display: flex;\n width: 100%;\n }\n @media (max-width: 499px) {\n :host{\n display: block;\n }\n\n }";function o(e){var n=e.error,r=e.qrLink,o=e.titleText,d=e.downloadCodeText,p=e.printCodeText,c=e.errorHeaderText,u=e.errorDescriptionText,x=e.createDownloadable,m=e.createPrintable,f=e.hideTitle,g=e.alignment,h=e.loading;var y=g==="left"?"flex-start":g==="right"?"flex-end":"center";var v=function(e,n,r){if(e){return t(i,{loadingErrorAlertDescription:c,loadingErrorAlertHeader:u})}else if(r){return t("sl-skeleton",{className:a.classes.LoadingSkeleton,effect:"sheen",style:{width:"100px",height:"100px",borderRadius:"0px !important"}})}else if(n){return t("svg",{width:"100",height:"100"},t("image",{href:n,width:"100",height:"100"}))}return null};var C=v(n,r,h);return t("div",{class:a.classes.Container,style:{justifyContent:y},part:"sqm-base"},t("style",null,l),t("style",null,s),t("div",{class:a.classes.TextContainer,style:{alignItems:y}},!f&&t("span",{part:"sqm-title"},o),C,t("div",{class:a.classes.ButtonContainer},t("sl-button",{size:"small",exportparts:"base: primarybutton-base",type:"primary",onClick:x},d),t("sl-button",{size:"small",exportparts:"base: secondarybutton-base",type:"text",onClick:m},p))))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-c7c11325.js";import{c as o}from"./p-cef45012.js";import{H as r}from"./p-49b20dae.js";const n={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};function i(i){const{buttonStyle:s="icon"}=i,l=o({HostBlock:r,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:i.textColor||"var(--sl-input-color)"},"&::part(base)":{"--sl-input-border-radius":`${i.borderRadius}px`||"var(--sqm-border-radius-normal)","--sl-input-border-color":"var(--sqm-border-color)","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-input-background)","--sl-input-background-color-hover":"var(--sqm-input-background)",cursor:"pointer",overflow:"visible",borderRadius:`${i.borderRadius}px`||"var(--sqm-border-radius-normal)",background:i.backgroundColor||"var(--sqm-input-background)",border:`var(--sqm-border-thickness) solid ${i.borderColor||"var(--sqm-input-border-color)"}`},width:"100%"},icon:{"&::part(base)":{color:i.textColor||"var(--sqm-text)"}},inputErrorStyle:{},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}}),e=l.toString(),a=!i.loading&&i.error,c=a?i.inputPlaceholderText:i.copyString,u=a||i.loading||i.disabled,p=t("sl-tooltip",{trigger:"manual",content:i.tooltiptext,placement:"button-below"===i.buttonStyle?"bottom":"button-outside"===i.buttonStyle?"top":"top-end",disabled:i.disabled,open:i.open,skidding:"icon"===i.buttonStyle?-5:0,slot:"suffix"},"icon"===s?t("sl-icon-button",{class:l.classes.icon,exportparts:"base: icon-button-base",onClick:()=>{var t;return null===(t=i.onClick)||void 0===t?void 0:t.call(i)},name:"files",disabled:u}):t("sl-button",{exportparts:`base: ${i.buttonType||"primary"}button-base`,onClick:()=>{var t;return null===(t=i.onClick)||void 0===t?void 0:t.call(i)},size:"medium",style:{width:`${"button-below"===s&&"100%"}`},disabled:u,type:"primary"},i.copyButtonLabel||"Copy"));return t("div",{class:l.classes.ContainerDiv},t("style",{type:"text/css"},e,"\n :host{\n display: block; \n width: 100%;\n }\n",n[i.textAlign],u&&"\n sl-input::part(input){\n cursor: default;\n }\n"),t("div",{class:l.classes.containerStyle,style:{flexDirection:"button-below"===s?"column":"row"}},t("sl-input",{class:`${l.classes.inputStyle} ${a?l.classes.inputErrorStyle:""}`,value:i.loading?"Loading...":c,readonly:!0,disabled:u},"icon"===s&&p,a&&t("p",{slot:"help-text",class:l.classes.errorTextStyle},i.errorText)),("button-outside"===s||"button-below"===s)&&p),i.isCopied&&i.showNotificationText&&i.notificationText&&t("p",{part:"sqm-notification-text",class:l.classes.notificationTextStyle},i.notificationText))}export{i as C}
|