@saasquatch/mint-components 2.1.0 → 2.1.1-1
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-3f91e5ab.js → ErrorView-ee7b0f36.js} +1 -1
- package/dist/cjs/{GenericTableView-a9845e80.js → GenericTableView-be5648e4.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-4753ff2d.js → ShadowViewAddon-41b86f34.js} +119 -291
- package/dist/cjs/{copy-text-view-322436c2.js → copy-text-view-bb2c0ea7.js} +1 -1
- package/dist/cjs/{data-62fc9ba5.js → data-e83f8a41.js} +20 -32
- package/dist/cjs/{dom-context-hooks.module-7fa676ae.js → dom-context-hooks.module-e7b6727c.js} +1 -1
- package/dist/cjs/{email-registration-view-ace50780.js → email-registration-view-306c8878.js} +1 -1
- package/dist/cjs/{global-e862bfd4.js → global-0f8b1267.js} +57 -56
- package/dist/cjs/{index-a43a63b4.js → index-8277cbb3.js} +1 -1
- package/dist/cjs/{index.module-4f54e412.js → index.module-42d413d9.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-949beaf2.js → luxon-c1ad356a.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-df37c8a3.js → mockRewardData-ed603fca.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-d516138a.js → re-render-69bde9ee.js} +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +24 -34
- package/dist/cjs/{sqm-big-stat_49.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +45 -758
- package/dist/cjs/{sqm-close-button-view-5e85ac51.js → sqm-close-button-view-e9f2a454.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 +12 -9
- package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-form-message.cjs.entry.js → sqm-form-message_2.cjs.entry.js} +51 -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 +2 -2
- 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-dca40eb4.js → sqm-lead-checkbox-field-view-d90f8941.js} +2 -2
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-lead-input-field-view-2006001f.js → sqm-lead-input-field-view-818d9e9a.js} +2 -2
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-leaderboard-rank-view-6a1e63de.js → sqm-leaderboard-rank-view-67fd7934.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-logout-current-user-view-b61c8bdf.js → sqm-logout-current-user-view-f330d641.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-item-view-4e88f774.js → sqm-navigation-sidebar-item-view-20693e59.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-view-de90ef03.js → sqm-navigation-sidebar-view-6616e3e0.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +7 -7
- 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-07e4343f.js → sqm-portal-container-view-70a47420.js} +7 -6
- package/dist/cjs/{sqm-portal-email-verification-view-1745d9a2.js → sqm-portal-email-verification-view-2b4b92da.js} +6 -8
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +1074 -0
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-5c5e29b1.js → sqm-portal-profile-view-bfdbb98d.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-5a96c2f5.js → sqm-portal-registration-form-view-020f661c.js} +2 -2
- package/dist/cjs/{sqm-portal-reset-password-view-25eb2099.js → sqm-portal-reset-password-view-6b1acd90.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email-view-90cd89e3.js +220 -0
- package/dist/cjs/{sqm-qr-code-view-4ccf89da.js → sqm-qr-code-view-1f2daa76.js} +5 -9
- package/dist/cjs/sqm-qr-code.cjs.entry.js +7 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +12 -12
- 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 +11 -11
- 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 +127 -94
- 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-7a61ae4c.js → sqm-text-span-view-f274fdf2.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-a61124db.js → sqm-user-info-form-view-93e996d6.js} +4 -4
- 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-966c9041.js → useChildElements-89bc50a9.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-08bcb487.js → useInstantAccessRegistration-651aa95b.js} +3 -3
- package/dist/cjs/{useLeadFormState-91999606.js → useLeadFormState-76d3b511.js} +4 -4
- package/dist/cjs/{usePayoutStatus-a81d05a2.js → usePayoutStatus-da7c44b3.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-8ed0d753.js → usePortalRegistrationForm-31822dc4.js} +3 -3
- package/dist/cjs/{useReferralCodes-11cdf43b.js → useReferralCodes-89c2b972.js} +2 -2
- package/dist/cjs/{useReferralTable-d0c7097e.js → useReferralTable-d512b6b7.js} +5 -5
- package/dist/cjs/{useRegistrationFormState-bbee6e7b.js → useRegistrationFormState-a223f597.js} +2 -2
- package/dist/cjs/{useVerificationEmail-9dd3997a.js → useVerificationEmail-994bc32f.js} +2 -2
- package/dist/cjs/{utilities-9a0c5e91.js → utilities-096934ea.js} +2 -2
- package/dist/collection/collection-manifest.json +11 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +5 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +30 -0
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +5 -5
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +5 -7
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-navigation-menu/useNavigationMenu.js +1 -2
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +3 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +7 -6
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +1 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +3 -5
- 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-qr-code/sqm-qr-code-view.js +3 -7
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +5 -5
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +8 -8
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +5 -5
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-skeleton/Skeleton.stories.js +16 -0
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +89 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +12 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +6 -3
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +11 -14
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +17 -29
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +5 -15
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -1
- package/dist/collection/global/styles.js +55 -54
- package/dist/collection/global/styles.ts +6 -1
- package/dist/collection/tables/TableSlots.js +6 -6
- package/dist/esm/{ErrorView-bbf0a042.js → ErrorView-74cb3af8.js} +1 -1
- package/dist/esm/{GenericTableView-e43d310f.js → GenericTableView-8c72ac30.js} +1 -1
- package/dist/esm/{ShadowViewAddon-4c1699d3.js → ShadowViewAddon-19a59d93.js} +120 -289
- package/dist/esm/{copy-text-view-fac47254.js → copy-text-view-87259b11.js} +1 -1
- package/dist/esm/{data-4a551ba6.js → data-a6752028.js} +20 -32
- package/dist/esm/{dom-context-hooks.module-63370afd.js → dom-context-hooks.module-50442785.js} +1 -1
- package/dist/esm/{email-registration-view-1f587f8b.js → email-registration-view-4cdb4129.js} +1 -1
- package/dist/esm/{global-5d501632.js → global-b2ee3a12.js} +57 -56
- package/dist/esm/{index-b3a06de8.js → index-38ad4957.js} +1 -1
- package/dist/esm/{index.module-234e8f5e.js → index.module-e266b4d7.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-bbf75a9d.js → luxon-1be92a8e.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-96a2d26d.js → mockRewardData-9b27d6f1.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-b56bc163.js → re-render-4f4bd4da.js} +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +24 -34
- package/dist/esm/{sqm-big-stat_49.entry.js → sqm-big-stat_45.entry.js} +47 -756
- package/dist/esm/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-fd9012e7.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 +12 -9
- package/dist/esm/sqm-empty_4.entry.js +5 -5
- package/dist/esm/{sqm-form-message.entry.js → sqm-form-message_2.entry.js} +51 -3
- 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 +2 -2
- 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-e461c8d6.js → sqm-lead-checkbox-field-view-00d76ba1.js} +2 -2
- package/dist/esm/sqm-lead-checkbox-field.entry.js +6 -6
- package/dist/esm/{sqm-lead-input-field-view-9cf60eea.js → sqm-lead-input-field-view-d8f76a9d.js} +2 -2
- package/dist/esm/sqm-lead-input-field.entry.js +6 -6
- package/dist/esm/{sqm-leaderboard-rank-view-18baae5b.js → sqm-leaderboard-rank-view-7a682cc3.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-376c1bf6.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-3d1b3be4.js → sqm-navigation-sidebar-item-view-7f966119.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-0a2ec560.js → sqm-navigation-sidebar-view-2b66457a.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-pagination_3.entry.js +7 -7
- 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-176e92e3.js → sqm-portal-container-view-a8c708cd.js} +7 -6
- package/dist/esm/{sqm-portal-email-verification-view-ec6d9b7e.js → sqm-portal-email-verification-view-13e25037.js} +6 -8
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +1065 -0
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-36eae0a3.js → sqm-portal-profile-view-a172bdcc.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-8bdc3804.js → sqm-portal-registration-form-view-2f4936ef.js} +2 -2
- package/dist/esm/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-cfbc0eb0.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email-view-c1a72c4f.js +215 -0
- package/dist/esm/{sqm-qr-code-view-ea505213.js → sqm-qr-code-view-ce476721.js} +5 -9
- package/dist/esm/sqm-qr-code.entry.js +7 -6
- package/dist/esm/sqm-referral-table_11.entry.js +12 -12
- 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 +11 -11
- 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 +112 -79
- 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-4c17b8c9.js → sqm-text-span-view-738acfb3.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-74dcb6d0.js → sqm-user-info-form-view-0ef6a58f.js} +4 -4
- 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-daf489b1.js → useChildElements-31ba3daf.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-89e7dfc8.js → useInstantAccessRegistration-1388dace.js} +3 -3
- package/dist/esm/{useLeadFormState-d2f1c87d.js → useLeadFormState-cec544ea.js} +4 -4
- package/dist/esm/{usePayoutStatus-4792d2e4.js → usePayoutStatus-1c12a397.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-fb06b600.js → usePortalRegistrationForm-6d562bf8.js} +3 -3
- package/dist/esm/{useReferralCodes-75d67509.js → useReferralCodes-1ca1fda0.js} +2 -2
- package/dist/esm/{useReferralTable-8128f0b2.js → useReferralTable-b76b09d5.js} +5 -5
- package/dist/esm/{useRegistrationFormState-a9e156e6.js → useRegistrationFormState-0cee2d21.js} +2 -2
- package/dist/esm/{useVerificationEmail-66b40965.js → useVerificationEmail-5c6cd733.js} +2 -2
- package/dist/esm/{utilities-e6f8716e.js → utilities-f05633da.js} +2 -2
- package/dist/esm-es5/{ErrorView-bbf0a042.js → ErrorView-74cb3af8.js} +1 -1
- package/dist/esm-es5/{GenericTableView-e43d310f.js → GenericTableView-8c72ac30.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-19a59d93.js +1 -0
- package/dist/esm-es5/{copy-text-view-fac47254.js → copy-text-view-87259b11.js} +1 -1
- package/dist/esm-es5/data-a6752028.js +1 -0
- package/dist/esm-es5/{dom-context-hooks.module-63370afd.js → dom-context-hooks.module-50442785.js} +1 -1
- package/dist/esm-es5/{email-registration-view-1f587f8b.js → email-registration-view-4cdb4129.js} +1 -1
- package/dist/esm-es5/{global-5d501632.js → global-b2ee3a12.js} +2 -2
- package/dist/esm-es5/index-38ad4957.js +1 -0
- package/dist/esm-es5/{index.module-234e8f5e.js → index.module-e266b4d7.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-bbf75a9d.js → luxon-1be92a8e.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-96a2d26d.js → mockRewardData-9b27d6f1.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-b56bc163.js → re-render-4f4bd4da.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-fd9012e7.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_2.entry.js +1 -0
- 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-e461c8d6.js → sqm-lead-checkbox-field-view-00d76ba1.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-9cf60eea.js → sqm-lead-input-field-view-d8f76a9d.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7a682cc3.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-376c1bf6.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-3d1b3be4.js → sqm-navigation-sidebar-item-view-7f966119.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-0a2ec560.js → sqm-navigation-sidebar-view-2b66457a.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-a8c708cd.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification-view-13e25037.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-36eae0a3.js → sqm-portal-profile-view-a172bdcc.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-8bdc3804.js → sqm-portal-registration-form-view-2f4936ef.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-cfbc0eb0.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-c1a72c4f.js +1 -0
- package/dist/esm-es5/{sqm-qr-code-view-ea505213.js → sqm-qr-code-view-ce476721.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-4c17b8c9.js → sqm-text-span-view-738acfb3.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-74dcb6d0.js → sqm-user-info-form-view-0ef6a58f.js} +1 -1
- 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-daf489b1.js → useChildElements-31ba3daf.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-89e7dfc8.js → useInstantAccessRegistration-1388dace.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-d2f1c87d.js → useLeadFormState-cec544ea.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-4792d2e4.js → usePayoutStatus-1c12a397.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-fb06b600.js → usePortalRegistrationForm-6d562bf8.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-75d67509.js → useReferralCodes-1ca1fda0.js} +1 -1
- package/dist/esm-es5/{useReferralTable-8128f0b2.js → useReferralTable-b76b09d5.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-a9e156e6.js → useRegistrationFormState-0cee2d21.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-66b40965.js → useVerificationEmail-5c6cd733.js} +1 -1
- package/dist/esm-es5/{utilities-e6f8716e.js → utilities-f05633da.js} +1 -1
- package/dist/mint-components/global/styles.ts +6 -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-a513c1a6.js → p-044a76f1.js} +1 -1
- package/dist/mint-components/{p-bdb6194c.entry.js → p-053caf01.entry.js} +1 -1
- package/dist/mint-components/{p-5de55368.entry.js → p-06ca4346.entry.js} +1 -1
- package/dist/mint-components/{p-eacd3c8f.system.entry.js → p-07da0ddd.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7c11325.js → p-083180bf.js} +1 -1
- package/dist/mint-components/p-091064d1.entry.js +1 -0
- package/dist/mint-components/{p-85029918.entry.js → p-0ec9eb9b.entry.js} +1 -1
- package/dist/mint-components/{p-460155de.js → p-11c127f5.js} +1 -1
- package/dist/mint-components/p-12456de7.system.entry.js +1 -0
- package/dist/mint-components/p-13335712.system.entry.js +1 -0
- package/dist/mint-components/{p-01aa5c0d.entry.js → p-1435edd4.entry.js} +1 -1
- package/dist/mint-components/{p-7e550c3b.system.entry.js → p-1752a3a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-14128c84.system.entry.js → p-18133026.system.entry.js} +1 -1
- package/dist/mint-components/{p-00791abc.js → p-1a3a57c0.js} +1 -1
- package/dist/mint-components/p-1b7b65ef.entry.js +13 -0
- package/dist/mint-components/{p-2dcb0db6.system.js → p-1b9705fd.system.js} +2 -2
- package/dist/mint-components/{p-68be450f.js → p-1c4fe8af.js} +1 -1
- package/dist/mint-components/{p-c16d9c80.system.entry.js → p-1c8889ed.system.entry.js} +1 -1
- package/dist/mint-components/{p-747479dc.js → p-1d450b85.js} +1 -1
- package/dist/mint-components/{p-6a0440ed.system.entry.js → p-20280398.system.entry.js} +1 -1
- package/dist/mint-components/p-212b507f.js +448 -0
- package/dist/mint-components/{p-2ce4c7a3.js → p-21851092.js} +2 -2
- package/dist/mint-components/{p-38ed3cbd.system.entry.js → p-2774c704.system.entry.js} +1 -1
- package/dist/mint-components/{p-08700497.js → p-2786819c.js} +1 -1
- package/dist/mint-components/p-2ad9470d.system.entry.js +1 -0
- package/dist/mint-components/{p-0bd7de3e.entry.js → p-2c0bb139.entry.js} +2 -2
- package/dist/mint-components/{p-9c4cac09.entry.js → p-2e2c5ec4.entry.js} +2 -2
- package/dist/mint-components/{p-e08b7435.js → p-30967f75.js} +1 -1
- package/dist/mint-components/{p-0e1f3ce2.js → p-320b306b.js} +1 -1
- package/dist/mint-components/{p-c4e08253.js → p-33a6ab09.js} +1 -1
- package/dist/mint-components/p-353ab6db.entry.js +1 -0
- package/dist/mint-components/p-35724e1c.entry.js +1 -0
- package/dist/mint-components/p-35fd5f81.entry.js +9 -0
- package/dist/mint-components/{p-64997b59.system.js → p-3c46b4dd.system.js} +1 -1
- package/dist/mint-components/{p-825b39e0.system.js → p-452f644f.system.js} +1 -1
- package/dist/mint-components/{p-71271fbd.system.js → p-456ccda6.system.js} +1 -1
- package/dist/mint-components/{p-8e28333b.system.js → p-45be99ae.system.js} +1 -1
- package/dist/mint-components/{p-8901a533.system.js → p-473562fc.system.js} +1 -1
- package/dist/mint-components/{p-af123d2b.system.js → p-4b365f1f.system.js} +1 -1
- package/dist/mint-components/p-4d93ec6b.system.entry.js +1 -0
- package/dist/mint-components/{p-3ed269bf.system.entry.js → p-4da8028d.system.entry.js} +1 -1
- package/dist/mint-components/p-4dbbc521.entry.js +147 -0
- package/dist/mint-components/{p-4363a896.entry.js → p-504ed1f2.entry.js} +1 -1
- package/dist/mint-components/p-5126508b.js +1 -0
- package/dist/mint-components/p-51bbc94e.entry.js +1 -0
- package/dist/mint-components/{p-536a5aff.system.entry.js → p-5245e4ce.system.entry.js} +1 -1
- package/dist/mint-components/{p-3825831b.entry.js → p-5450693e.entry.js} +1 -1
- package/dist/mint-components/{p-ed7ab864.system.entry.js → p-55b1be64.system.entry.js} +1 -1
- package/dist/mint-components/{p-07dc6d68.js → p-56ca7e3c.js} +1 -1
- package/dist/mint-components/{p-42b62299.system.entry.js → p-573ea3fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-612091c6.system.entry.js → p-5822a43f.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8f2c3b8.system.entry.js → p-5825aee6.system.entry.js} +1 -1
- package/dist/mint-components/{p-f1f6a13d.system.js → p-58dbdf63.system.js} +1 -1
- package/dist/mint-components/{p-72d6c425.system.js → p-59644ef8.system.js} +1 -1
- package/dist/mint-components/{p-0ba04831.system.js → p-5d79c8a0.system.js} +1 -1
- package/dist/mint-components/p-5e106c95.system.js +1 -0
- package/dist/mint-components/{p-cbf3a928.entry.js → p-5f6d617a.entry.js} +1 -1
- package/dist/mint-components/p-614630a8.system.js +1 -0
- package/dist/mint-components/p-62bdaf71.system.js +1 -0
- package/dist/mint-components/p-641f968d.system.js +1 -0
- package/dist/mint-components/{p-24e20ee2.js → p-6684e9ad.js} +1 -1
- package/dist/mint-components/{p-68043f30.js → p-669d52c4.js} +1 -1
- package/dist/mint-components/{p-51e5a7da.system.js → p-695ec086.system.js} +1 -1
- package/dist/mint-components/p-6c3a1d86.js +1 -0
- package/dist/mint-components/{p-f237f96d.system.entry.js → p-6e816a17.system.entry.js} +1 -1
- package/dist/mint-components/{p-5ff2da11.js → p-7010498f.js} +1 -1
- package/dist/mint-components/p-71c585b7.entry.js +1 -0
- package/dist/mint-components/{p-9da60671.entry.js → p-7528770e.entry.js} +2 -2
- package/dist/mint-components/{p-3d12a14b.system.entry.js → p-7767314d.system.entry.js} +1 -1
- package/dist/mint-components/p-79854479.system.js +1 -0
- package/dist/mint-components/p-7a7ebf08.js +1 -0
- package/dist/mint-components/{p-67ad2252.system.js → p-7b909aa5.system.js} +1 -1
- package/dist/mint-components/{p-d49de8ea.entry.js → p-7c0255ad.entry.js} +2 -2
- package/dist/mint-components/p-80174c14.entry.js +1 -0
- package/dist/mint-components/{p-f61005ce.system.js → p-811f2cf6.system.js} +1 -1
- package/dist/mint-components/{p-286aa5b9.system.js → p-82905fda.system.js} +1 -1
- package/dist/mint-components/{p-527c0244.system.entry.js → p-82be3d10.system.entry.js} +1 -1
- package/dist/mint-components/{p-7159c51c.system.js → p-8452837a.system.js} +1 -1
- package/dist/mint-components/p-84866680.entry.js +1 -0
- package/dist/mint-components/{p-9c80871f.system.entry.js → p-878bb2cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-f9c7248e.js → p-88e16945.js} +1 -1
- package/dist/mint-components/{p-de0566e1.entry.js → p-89f8ab67.entry.js} +1 -1
- package/dist/mint-components/{p-476a8091.system.entry.js → p-91c4b8d5.system.entry.js} +1 -1
- package/dist/mint-components/{p-8dda2a7f.system.entry.js → p-93cb9438.system.entry.js} +1 -1
- package/dist/mint-components/{p-4df0492c.js → p-940e6dbe.js} +1 -1
- package/dist/mint-components/{p-04603078.system.entry.js → p-96cbca52.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce81839d.system.js → p-97b8073f.system.js} +1 -1
- package/dist/mint-components/{p-4965dae4.system.js → p-97edaf26.system.js} +1 -1
- package/dist/mint-components/{p-8752bcd1.system.entry.js → p-9c381424.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2e5108e.js → p-9fa6606e.js} +5 -5
- package/dist/mint-components/p-a03189bd.js +1 -0
- package/dist/mint-components/p-a2b39137.system.entry.js +1 -0
- package/dist/mint-components/{p-68139da3.system.js → p-a4af948a.system.js} +1 -1
- package/dist/mint-components/p-a75b1917.entry.js +273 -0
- package/dist/mint-components/{p-63e29387.js → p-a7fc1e02.js} +1 -1
- package/dist/mint-components/{p-323c6d02.js → p-ab678644.js} +1 -1
- package/dist/mint-components/{p-4204a6e3.entry.js → p-acaf505d.entry.js} +1 -1
- package/dist/mint-components/{p-eff405e5.js → p-ad017a39.js} +1 -1
- package/dist/mint-components/{p-8bf8afb9.system.js → p-b179621d.system.js} +1 -1
- package/dist/mint-components/{p-f1dc581f.js → p-b1eb2a6a.js} +1 -1
- package/dist/mint-components/p-b61be711.entry.js +1 -0
- package/dist/mint-components/{p-4f5329a2.system.js → p-b6504987.system.js} +1 -1
- package/dist/mint-components/p-b699f76e.system.js +1 -0
- package/dist/mint-components/p-b6a1e2ac.js +1 -0
- package/dist/mint-components/{p-fe14d2af.entry.js → p-b6fc53c9.entry.js} +1 -1
- package/dist/mint-components/{p-73aeefed.system.entry.js → p-b8288385.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc7d85c7.entry.js → p-b8766db9.entry.js} +1 -1
- package/dist/mint-components/p-b9652150.entry.js +1 -0
- package/dist/mint-components/{p-fb2976fc.system.entry.js → p-b9f57e84.system.entry.js} +1 -1
- package/dist/mint-components/p-bd804f4c.js +1 -0
- package/dist/mint-components/p-bdfdee11.entry.js +1 -0
- package/dist/mint-components/p-be91c377.system.entry.js +1 -0
- package/dist/mint-components/p-bfb9b01a.system.entry.js +1 -0
- package/dist/mint-components/p-c0517032.js +1 -0
- package/dist/mint-components/{p-f6baa0c9.system.js → p-c09ae087.system.js} +1 -1
- package/dist/mint-components/{p-ad550231.entry.js → p-c2c01ab5.entry.js} +1 -1
- package/dist/mint-components/{p-702f3adb.system.entry.js → p-c487466f.system.entry.js} +1 -1
- package/dist/mint-components/{p-930f37bd.entry.js → p-c48a6e3d.entry.js} +1 -1
- package/dist/mint-components/{p-23d089ee.system.js → p-c756bc32.system.js} +1 -1
- package/dist/mint-components/{p-5d17b387.entry.js → p-c7815d0e.entry.js} +1 -1
- package/dist/mint-components/{p-e1a7d141.system.entry.js → p-c8060ef5.system.entry.js} +1 -1
- package/dist/mint-components/{p-204861a6.js → p-cabf6326.js} +1 -1
- package/dist/mint-components/{p-3d02278d.entry.js → p-cc0fe4a3.entry.js} +1 -1
- package/dist/mint-components/{p-a45680fe.js → p-d0559e66.js} +1 -1
- package/dist/mint-components/{p-a6e177d8.system.entry.js → p-d2448c85.system.entry.js} +1 -1
- package/dist/mint-components/{p-2403c6e1.system.js → p-d267f4bb.system.js} +1 -1
- package/dist/mint-components/{p-4a0a76a5.js → p-d276468c.js} +1 -1
- package/dist/mint-components/p-d42aba0e.system.js +1 -0
- package/dist/mint-components/{p-8d0be3a6.entry.js → p-d4fdfdf0.entry.js} +7 -7
- package/dist/mint-components/{p-9953648f.js → p-d5375baf.js} +1 -1
- package/dist/mint-components/{p-0935f9b7.system.js → p-d5eb601d.system.js} +1 -1
- package/dist/mint-components/p-d65991d0.entry.js +1 -0
- package/dist/mint-components/{p-08c49143.system.js → p-d6c1e876.system.js} +1 -1
- package/dist/mint-components/{p-b6911812.system.js → p-dac20392.system.js} +1 -1
- package/dist/mint-components/p-dece706f.js +1 -0
- package/dist/mint-components/p-df28013f.system.entry.js +1 -0
- package/dist/mint-components/{p-7fde6790.js → p-df9cfdc9.js} +3 -3
- package/dist/mint-components/p-dfb50245.entry.js +1 -0
- package/dist/mint-components/{p-7602eb6a.entry.js → p-dffad4a8.entry.js} +1 -1
- package/dist/mint-components/{p-c3dce602.system.entry.js → p-e31c7242.system.entry.js} +1 -1
- package/dist/mint-components/p-e44c816e.system.js +1 -0
- package/dist/mint-components/{p-828d27ac.system.js → p-e4d3b7a9.system.js} +1 -1
- package/dist/mint-components/{p-ebde83fc.entry.js → p-e502fd80.entry.js} +1 -1
- package/dist/mint-components/{p-964b09f2.js → p-e5e8e13e.js} +1 -1
- package/dist/mint-components/{p-0b6b03fa.entry.js → p-e6c8656e.entry.js} +2 -2
- package/dist/mint-components/{p-a82c8b60.js → p-e7a9ce16.js} +32 -32
- package/dist/mint-components/{p-d170e29a.system.entry.js → p-e9a596d6.system.entry.js} +1 -1
- package/dist/mint-components/{p-e599f3fb.system.js → p-ebfea206.system.js} +1 -1
- package/dist/mint-components/p-ed17e1b8.entry.js +17 -0
- package/dist/mint-components/{p-674d9089.system.entry.js → p-f1584abb.system.entry.js} +1 -1
- package/dist/mint-components/p-f3b21df2.system.js +1 -0
- package/dist/mint-components/p-f3ddbe2f.system.entry.js +1 -0
- package/dist/mint-components/{p-c7f34690.system.entry.js → p-f4173d5f.system.entry.js} +1 -1
- package/dist/mint-components/{p-1363c4ab.system.js → p-f45e076d.system.js} +1 -1
- package/dist/mint-components/p-f6fc7569.entry.js +1 -0
- package/dist/mint-components/{p-62d018f0.system.entry.js → p-f7948b16.system.entry.js} +1 -1
- package/dist/mint-components/{p-84911f08.system.js → p-f84605ec.system.js} +1 -1
- package/dist/mint-components/{p-eaeddfe2.system.js → p-f89c6a57.system.js} +1 -1
- package/dist/mint-components/{p-e1a08323.system.entry.js → p-fa32d8eb.system.entry.js} +1 -1
- package/dist/mint-components/p-fb5c9802.entry.js +1 -0
- package/dist/mint-components/{p-1830bbfb.js → p-fca34d77.js} +1 -1
- package/dist/mint-components/p-fcf4ac75.system.entry.js +1 -0
- package/dist/mint-components/{p-26796f69.system.entry.js → p-fe0eceba.system.entry.js} +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +6 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -11
- package/dist/types/components/sqm-password-field/usePasswordField.d.ts +11 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +1 -1
- package/dist/types/components/sqm-skeleton/Skeleton.stories.d.ts +8 -0
- package/dist/types/components/sqm-skeleton/sqm-skeleton.d.ts +14 -0
- package/dist/types/components.d.ts +40 -1
- package/dist/types/saasquatch.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +0 -193
- package/dist/cjs/sqm-portal-verify-email-view-1c4e781f.js +0 -49
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +0 -171
- package/dist/esm/sqm-portal-registration-form.entry.js +0 -189
- package/dist/esm/sqm-portal-verify-email-view-33805220.js +0 -47
- package/dist/esm/sqm-portal-verify-email.entry.js +0 -167
- package/dist/esm-es5/ShadowViewAddon-4c1699d3.js +0 -1
- package/dist/esm-es5/data-4a551ba6.js +0 -1
- package/dist/esm-es5/index-b3a06de8.js +0 -1
- package/dist/esm-es5/sqm-big-stat_49.entry.js +0 -1
- package/dist/esm-es5/sqm-form-message.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-176e92e3.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-ec6d9b7e.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-33805220.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +0 -1
- package/dist/mint-components/p-042fafad.system.entry.js +0 -1
- package/dist/mint-components/p-0446a6bc.entry.js +0 -1
- package/dist/mint-components/p-0d71303d.js +0 -1
- package/dist/mint-components/p-0e532b53.entry.js +0 -1
- package/dist/mint-components/p-177a4691.js +0 -1
- package/dist/mint-components/p-1d576be1.entry.js +0 -9
- package/dist/mint-components/p-234d0680.system.entry.js +0 -1
- package/dist/mint-components/p-26fdb210.js +0 -1
- package/dist/mint-components/p-2edc81c6.js +0 -448
- package/dist/mint-components/p-3eba9036.js +0 -1
- package/dist/mint-components/p-3ff0f231.entry.js +0 -1
- package/dist/mint-components/p-478ad7c8.system.entry.js +0 -1
- package/dist/mint-components/p-5566e628.entry.js +0 -273
- package/dist/mint-components/p-5784be79.system.entry.js +0 -1
- package/dist/mint-components/p-59b028db.system.js +0 -1
- package/dist/mint-components/p-5af01051.system.entry.js +0 -1
- package/dist/mint-components/p-5e145a54.system.entry.js +0 -1
- package/dist/mint-components/p-6578ea31.system.js +0 -1
- package/dist/mint-components/p-65f79e43.entry.js +0 -17
- package/dist/mint-components/p-68e65602.system.js +0 -1
- package/dist/mint-components/p-72321b06.system.entry.js +0 -1
- package/dist/mint-components/p-740c8bce.system.entry.js +0 -1
- package/dist/mint-components/p-7ab26f3d.js +0 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +0 -1
- package/dist/mint-components/p-844aaef2.system.js +0 -1
- package/dist/mint-components/p-86c5d61c.entry.js +0 -147
- package/dist/mint-components/p-8caef004.js +0 -1
- package/dist/mint-components/p-9580aac3.js +0 -1
- package/dist/mint-components/p-96b16a48.system.js +0 -1
- package/dist/mint-components/p-9ad42a61.entry.js +0 -1
- package/dist/mint-components/p-9e297104.entry.js +0 -1
- package/dist/mint-components/p-9ef4172c.entry.js +0 -1
- package/dist/mint-components/p-a15c24e1.system.js +0 -1
- package/dist/mint-components/p-a6f4fb03.system.js +0 -1
- package/dist/mint-components/p-ac9138fd.entry.js +0 -1
- package/dist/mint-components/p-b16e6dfa.system.entry.js +0 -1
- package/dist/mint-components/p-b5559e34.system.js +0 -1
- package/dist/mint-components/p-bb476395.entry.js +0 -1
- package/dist/mint-components/p-c09d2b35.system.js +0 -1
- package/dist/mint-components/p-c7f385d3.entry.js +0 -1
- package/dist/mint-components/p-cbbaec4c.system.entry.js +0 -1
- package/dist/mint-components/p-cd3ba2b4.js +0 -1
- package/dist/mint-components/p-d3f86ec6.entry.js +0 -1
- package/dist/mint-components/p-d9f01878.entry.js +0 -1
- package/dist/mint-components/p-e98cdc4f.system.entry.js +0 -1
- package/dist/mint-components/p-ec9027cf.entry.js +0 -1
- package/dist/mint-components/p-f776cd83.entry.js +0 -1
- package/dist/mint-components/p-f84706aa.entry.js +0 -13
- package/dist/mint-components/p-f862be0b.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
- package/docs/stats.json +0 -122783
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import { b as buildFontsCssUrl, i as intl } from './global-
|
|
3
|
-
import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-
|
|
4
|
-
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn,
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
|
|
2
|
+
import { b as buildFontsCssUrl, i as intl } from './global-b2ee3a12.js';
|
|
3
|
+
import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-50442785.js';
|
|
4
|
+
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, b as useCallback, L, y as yn, j as jn, r as Ue, e as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-e266b4d7.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { g as getProps, a as getMissingProps
|
|
7
|
+
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import './useReferralCodes-
|
|
9
|
+
import './useReferralCodes-1ca1fda0.js';
|
|
10
10
|
import './mixins-f750863a.js';
|
|
11
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
12
|
-
import
|
|
13
|
-
import { u as
|
|
14
|
-
import './
|
|
15
|
-
import './sqm-
|
|
11
|
+
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
12
|
+
import './sqm-text-span-view-738acfb3.js';
|
|
13
|
+
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-6d562bf8.js';
|
|
14
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-0cee2d21.js';
|
|
15
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-2f4936ef.js';
|
|
16
|
+
import { a as useRequestRerender } from './re-render-4f4bd4da.js';
|
|
17
|
+
import { u as useChildElements } from './useChildElements-31ba3daf.js';
|
|
18
|
+
import './luxon-1be92a8e.js';
|
|
16
19
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
17
|
-
import { E as EmailRegistrationView } from './email-registration-view-
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { P as
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import { u as useDemoBigStat, Y as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, f as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W as LeadDropdownFieldView, V as LeadFormView, Z as withShadowView, L as LeaderboardView, N as NameFieldsView, g as ChangeMarktingView, P as PortalChangePasswordView, h as PortalFooterView, i as PortalForgotPasswordView, j as PortalFrameView, k as PortalLoginView, c as BaseRegistrationFormView, e as PortalRegisterView, R as ReferralIframeView, l as RewardExchangeView, _ as demoRewardExchange, M as useShareButton, a as ShareButtonView, O as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-4c1699d3.js';
|
|
26
|
-
import './sqm-portal-container-view-176e92e3.js';
|
|
27
|
-
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-4a551ba6.js';
|
|
20
|
+
import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
|
|
21
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-1388dace.js';
|
|
22
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-cec544ea.js';
|
|
23
|
+
import { i as isEmpty } from './utilities-f05633da.js';
|
|
24
|
+
import { E as ErrorView } from './ErrorView-74cb3af8.js';
|
|
25
|
+
import { u as useDemoBigStat, V as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, X as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-19a59d93.js';
|
|
26
|
+
import './sqm-portal-container-view-a8c708cd.js';
|
|
27
|
+
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-a6752028.js';
|
|
28
28
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
29
|
-
import { u as usePayoutStatus } from './usePayoutStatus-
|
|
29
|
+
import { u as usePayoutStatus } from './usePayoutStatus-1c12a397.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -52,6 +52,10 @@ const Netflix = {
|
|
|
52
52
|
borderThickness: 1,
|
|
53
53
|
},
|
|
54
54
|
color: {
|
|
55
|
+
loadingSkeleton: {
|
|
56
|
+
background: "#272727",
|
|
57
|
+
animationBackground: "#E50914",
|
|
58
|
+
},
|
|
55
59
|
textColorShades: {
|
|
56
60
|
mainText: "white",
|
|
57
61
|
subduedText: "#B3B3B3",
|
|
@@ -143,6 +147,10 @@ const Amazon = {
|
|
|
143
147
|
},
|
|
144
148
|
color: {
|
|
145
149
|
backgroundColor: "#ffffff",
|
|
150
|
+
loadingSkeleton: {
|
|
151
|
+
background: "hsl(240 4.8% 95.9%)",
|
|
152
|
+
animationBackground: "#FF9900",
|
|
153
|
+
},
|
|
146
154
|
textColorShades: {
|
|
147
155
|
mainText: "#2f2f2f",
|
|
148
156
|
subduedText: "#565959",
|
|
@@ -231,6 +239,10 @@ const Spotify = {
|
|
|
231
239
|
borderThickness: 1,
|
|
232
240
|
},
|
|
233
241
|
color: {
|
|
242
|
+
loadingSkeleton: {
|
|
243
|
+
background: "#282928",
|
|
244
|
+
animationBackground: "#1ed760",
|
|
245
|
+
},
|
|
234
246
|
textColorShades: {
|
|
235
247
|
mainText: "white",
|
|
236
248
|
subduedText: "white",
|
|
@@ -3064,8 +3076,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3064
3076
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3065
3077
|
}),
|
|
3066
3078
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3067
|
-
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3068
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3079
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3080
|
+
h$1("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3069
3081
|
alertType: "warning",
|
|
3070
3082
|
icon: "exclamation-triangle",
|
|
3071
3083
|
};
|
|
@@ -3079,8 +3091,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3079
3091
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3080
3092
|
}),
|
|
3081
3093
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3082
|
-
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3083
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3094
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3095
|
+
h$1("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3084
3096
|
alertType: "warning",
|
|
3085
3097
|
icon: "exclamation-triangle",
|
|
3086
3098
|
};
|
|
@@ -3094,8 +3106,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3094
3106
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3095
3107
|
}),
|
|
3096
3108
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3097
|
-
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3098
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3109
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3110
|
+
h$1("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3099
3111
|
alertType: "warning",
|
|
3100
3112
|
icon: "exclamation-triangle",
|
|
3101
3113
|
};
|
|
@@ -3109,7 +3121,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3109
3121
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3110
3122
|
}),
|
|
3111
3123
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3112
|
-
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3124
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3113
3125
|
alertType: "warning",
|
|
3114
3126
|
icon: "exclamation-triangle",
|
|
3115
3127
|
};
|
|
@@ -3123,7 +3135,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3123
3135
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3124
3136
|
}),
|
|
3125
3137
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3126
|
-
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3138
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3127
3139
|
alertType: "error",
|
|
3128
3140
|
icon: "exclamation-triangle",
|
|
3129
3141
|
};
|
|
@@ -3148,9 +3160,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3148
3160
|
case "OVER_W9_THRESHOLD":
|
|
3149
3161
|
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
3150
3162
|
return;
|
|
3151
|
-
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "
|
|
3163
|
+
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
3152
3164
|
// Demo case
|
|
3153
|
-
h$1("sl-button", { type: "
|
|
3165
|
+
h$1("sl-button", { type: "primary", exportparts: "base: primarybutton-base" }, text.w9RequiredButtonText));
|
|
3154
3166
|
case "INFORMATION_REQUIRED":
|
|
3155
3167
|
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
3156
3168
|
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
@@ -3167,9 +3179,6 @@ function PayoutStatusAlertView(props) {
|
|
|
3167
3179
|
return;
|
|
3168
3180
|
}
|
|
3169
3181
|
}
|
|
3170
|
-
if (states.loading) {
|
|
3171
|
-
return h$1("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3172
|
-
}
|
|
3173
3182
|
const alertDetails = getAlert(states.status);
|
|
3174
3183
|
if (states.status === "DONE" || !alertDetails) {
|
|
3175
3184
|
return h$1("div", null);
|
|
@@ -3177,7 +3186,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3177
3186
|
return (h$1("div", { part: "sqm-base" },
|
|
3178
3187
|
h$1("style", { type: "text/css" }, styleString$2),
|
|
3179
3188
|
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
3180
|
-
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
3189
|
+
h$1("sqm-form-message", { loading: states.loading, type: alertDetails.alertType },
|
|
3181
3190
|
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
3182
3191
|
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
3183
3192
|
getButton(states.status))));
|
|
@@ -3808,147 +3817,6 @@ const PortalFooter = class {
|
|
|
3808
3817
|
static get assetsDirs() { return ["../../assets"]; }
|
|
3809
3818
|
};
|
|
3810
3819
|
|
|
3811
|
-
function usePortalForgotPassword(props) {
|
|
3812
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
3813
|
-
const [success, setSuccess] = useState(false);
|
|
3814
|
-
const [error, setError] = useState("");
|
|
3815
|
-
const [request, { loading, data, errors }] = un();
|
|
3816
|
-
const urlParams = new URLSearchParams(jn.location.search);
|
|
3817
|
-
const nextPage = urlParams.get("nextPage");
|
|
3818
|
-
const submit = async (event) => {
|
|
3819
|
-
var _a;
|
|
3820
|
-
setError("");
|
|
3821
|
-
setSuccess(false);
|
|
3822
|
-
let formData = event.detail.formData;
|
|
3823
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
3824
|
-
jsonpointer.set(formData, key, value);
|
|
3825
|
-
});
|
|
3826
|
-
const urlParams = nextPage ? { nextPage } : null;
|
|
3827
|
-
const redirectPath = props.redirectPath;
|
|
3828
|
-
const variables = { email: formData.email, urlParams, redirectPath };
|
|
3829
|
-
const result = await request(variables);
|
|
3830
|
-
if (result instanceof Error) {
|
|
3831
|
-
if (result.message)
|
|
3832
|
-
setError(props.networkErrorMessage);
|
|
3833
|
-
return;
|
|
3834
|
-
}
|
|
3835
|
-
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
3836
|
-
setSuccess(true);
|
|
3837
|
-
}
|
|
3838
|
-
};
|
|
3839
|
-
return {
|
|
3840
|
-
states: {
|
|
3841
|
-
loading,
|
|
3842
|
-
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
3843
|
-
error,
|
|
3844
|
-
success,
|
|
3845
|
-
loginPath: props.loginPath,
|
|
3846
|
-
headerText: props.headerText,
|
|
3847
|
-
loginText: props.loginText,
|
|
3848
|
-
},
|
|
3849
|
-
callbacks: {
|
|
3850
|
-
submit,
|
|
3851
|
-
},
|
|
3852
|
-
};
|
|
3853
|
-
}
|
|
3854
|
-
|
|
3855
|
-
const PortalForgotPassword = class {
|
|
3856
|
-
constructor(hostRef) {
|
|
3857
|
-
registerInstance(this, hostRef);
|
|
3858
|
-
this.ignored = true;
|
|
3859
|
-
/**
|
|
3860
|
-
* Redirect participants to this page after they verify their email.
|
|
3861
|
-
*
|
|
3862
|
-
* @uiName Email redirect
|
|
3863
|
-
* @uiWidget pageSelect
|
|
3864
|
-
*/
|
|
3865
|
-
this.redirectPath = "/resetPassword";
|
|
3866
|
-
/**
|
|
3867
|
-
* @uiName Email field label
|
|
3868
|
-
*/
|
|
3869
|
-
this.emailLabel = "Email";
|
|
3870
|
-
/**
|
|
3871
|
-
* @uiName Password reset button text
|
|
3872
|
-
*/
|
|
3873
|
-
this.submitLabel = "Request Password Reset";
|
|
3874
|
-
/**
|
|
3875
|
-
* @uiName Login redirect path
|
|
3876
|
-
* @uiWidget pageSelect
|
|
3877
|
-
*/
|
|
3878
|
-
this.loginPath = "/login";
|
|
3879
|
-
/**
|
|
3880
|
-
* @uiName Header text
|
|
3881
|
-
* @uiWidget textArea
|
|
3882
|
-
*/
|
|
3883
|
-
this.headerText = "Enter your email below to receive a password reset link.";
|
|
3884
|
-
/**
|
|
3885
|
-
* @uiName Sign in link text
|
|
3886
|
-
*/
|
|
3887
|
-
this.loginText = "Sign In";
|
|
3888
|
-
/**
|
|
3889
|
-
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
3890
|
-
* @uiName Network error message
|
|
3891
|
-
*/
|
|
3892
|
-
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
3893
|
-
/**
|
|
3894
|
-
* @uiName Email verification sent text
|
|
3895
|
-
*/
|
|
3896
|
-
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
3897
|
-
/**
|
|
3898
|
-
* @uiName Background color
|
|
3899
|
-
* @uiWidget color
|
|
3900
|
-
*/
|
|
3901
|
-
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
3902
|
-
/**
|
|
3903
|
-
* @uiName Border radius
|
|
3904
|
-
* @uiWidget number
|
|
3905
|
-
*/
|
|
3906
|
-
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
3907
|
-
/**
|
|
3908
|
-
* @uiName Border style
|
|
3909
|
-
* @uiWidget textArea
|
|
3910
|
-
*/
|
|
3911
|
-
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3912
|
-
h(this);
|
|
3913
|
-
}
|
|
3914
|
-
disconnectedCallback() { }
|
|
3915
|
-
render() {
|
|
3916
|
-
const { states, callbacks } = isDemo()
|
|
3917
|
-
? usePortalForgotPasswordDemo(this)
|
|
3918
|
-
: usePortalForgotPassword(this);
|
|
3919
|
-
const content = {
|
|
3920
|
-
messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
|
|
3921
|
-
emailLabel: this.emailLabel,
|
|
3922
|
-
submitLabel: this.submitLabel,
|
|
3923
|
-
successAlertText: this.successAlertText,
|
|
3924
|
-
loginText: this.loginText,
|
|
3925
|
-
backgroundColor: this.backgroundColor,
|
|
3926
|
-
borderRadius: this.borderRadius,
|
|
3927
|
-
border: this.border,
|
|
3928
|
-
};
|
|
3929
|
-
return (h$1(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
3930
|
-
}
|
|
3931
|
-
};
|
|
3932
|
-
function usePortalForgotPasswordDemo(props) {
|
|
3933
|
-
return cjs({
|
|
3934
|
-
states: { error: "", loading: false, success: false },
|
|
3935
|
-
callbacks: {
|
|
3936
|
-
submit: async (_event) => { },
|
|
3937
|
-
},
|
|
3938
|
-
content: {
|
|
3939
|
-
secondaryButton: (h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => jn.push(props.loginPath) }, props.loginText)),
|
|
3940
|
-
messageSlot: h$1("span", null, props.headerText),
|
|
3941
|
-
emailLabel: props.emailLabel,
|
|
3942
|
-
submitLabel: props.submitLabel,
|
|
3943
|
-
successAlertText: props.successAlertText,
|
|
3944
|
-
loginText: props.loginText,
|
|
3945
|
-
backgroundColor: props.backgroundColor,
|
|
3946
|
-
borderRadius: props.borderRadius,
|
|
3947
|
-
border: props.border,
|
|
3948
|
-
},
|
|
3949
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3950
|
-
}
|
|
3951
|
-
|
|
3952
3820
|
function usePortalFrame(footerContent, headerContent, props) {
|
|
3953
3821
|
const [, rerender] = yn();
|
|
3954
3822
|
return {
|
|
@@ -4023,186 +3891,6 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
4023
3891
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4024
3892
|
}
|
|
4025
3893
|
|
|
4026
|
-
function usePortalLogin(props) {
|
|
4027
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
4028
|
-
const [request, { loading, errors, data }] = je();
|
|
4029
|
-
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = hn();
|
|
4030
|
-
const [error, setError] = useState("");
|
|
4031
|
-
const urlParams = new URLSearchParams(jn.location.search);
|
|
4032
|
-
const nextPageOverride = urlParams.get("nextPage");
|
|
4033
|
-
const googleSubmit = async (e) => {
|
|
4034
|
-
var _a, _b, _c, _d;
|
|
4035
|
-
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
4036
|
-
return;
|
|
4037
|
-
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
4038
|
-
if (result instanceof Error) {
|
|
4039
|
-
if ((result === null || result === void 0 ? void 0 : result.message) || ((_b = result === null || result === void 0 ? void 0 : result["response"]) === null || _b === void 0 ? void 0 : _b["error"]))
|
|
4040
|
-
if ((_c = result === null || result === void 0 ? void 0 : result["response"]) === null || _c === void 0 ? void 0 : _c["errors"].some((error) => { var _a; return ((_a = error === null || error === void 0 ? void 0 : error["extensions"]) === null || _a === void 0 ? void 0 : _a["message"]) === "Invalid Credentials."; })) {
|
|
4041
|
-
setError(props.googleUserNotRegisteredError);
|
|
4042
|
-
}
|
|
4043
|
-
else {
|
|
4044
|
-
setError(props.networkErrorMessage);
|
|
4045
|
-
}
|
|
4046
|
-
return;
|
|
4047
|
-
}
|
|
4048
|
-
if ((_d = result.authenticateManagedIdentityWithGoogle) === null || _d === void 0 ? void 0 : _d.token) {
|
|
4049
|
-
urlParams.delete("nextPage");
|
|
4050
|
-
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
4051
|
-
jn.push(url.href);
|
|
4052
|
-
}
|
|
4053
|
-
};
|
|
4054
|
-
const submit = async (event) => {
|
|
4055
|
-
var _a, _b;
|
|
4056
|
-
setError("");
|
|
4057
|
-
let formData = event.detail.formData;
|
|
4058
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
4059
|
-
jsonpointer.set(formData, key, value);
|
|
4060
|
-
});
|
|
4061
|
-
const variables = { email: formData.email, password: formData.password };
|
|
4062
|
-
const result = await request(variables);
|
|
4063
|
-
if (result instanceof Error) {
|
|
4064
|
-
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
4065
|
-
setError(props.networkErrorMessage);
|
|
4066
|
-
return;
|
|
4067
|
-
}
|
|
4068
|
-
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
4069
|
-
urlParams.delete("nextPage");
|
|
4070
|
-
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
4071
|
-
jn.push(url.href);
|
|
4072
|
-
}
|
|
4073
|
-
};
|
|
4074
|
-
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
4075
|
-
error;
|
|
4076
|
-
const googleErrorMessage = ((_l = (_k = (_j = (_h = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.extensions) === null || _l === void 0 ? void 0 : _l.message) || ((_p = (_o = (_m = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _m === void 0 ? void 0 : _m.errors) === null || _o === void 0 ? void 0 : _o[0]) === null || _p === void 0 ? void 0 : _p.message) ||
|
|
4077
|
-
error;
|
|
4078
|
-
return {
|
|
4079
|
-
states: {
|
|
4080
|
-
loading: loading || gLoading,
|
|
4081
|
-
error: errorMessage || googleErrorMessage,
|
|
4082
|
-
registerPath: props.registerPath,
|
|
4083
|
-
forgotPasswordPath: props.forgotPasswordPath,
|
|
4084
|
-
},
|
|
4085
|
-
callbacks: {
|
|
4086
|
-
googleSubmit,
|
|
4087
|
-
submit,
|
|
4088
|
-
},
|
|
4089
|
-
};
|
|
4090
|
-
}
|
|
4091
|
-
|
|
4092
|
-
const PortalGoogleLogin = class {
|
|
4093
|
-
constructor(hostRef) {
|
|
4094
|
-
registerInstance(this, hostRef);
|
|
4095
|
-
this.ignored = true;
|
|
4096
|
-
/**
|
|
4097
|
-
* Redirect participants to this page after they successfully login.
|
|
4098
|
-
*
|
|
4099
|
-
* @uiName Login redirect
|
|
4100
|
-
* @uiWidget pageSelect
|
|
4101
|
-
*/
|
|
4102
|
-
this.nextPage = "/";
|
|
4103
|
-
/**
|
|
4104
|
-
* @uiName Email field label
|
|
4105
|
-
*/
|
|
4106
|
-
this.emailLabel = "Email";
|
|
4107
|
-
/**
|
|
4108
|
-
* @uiName Password field label
|
|
4109
|
-
*/
|
|
4110
|
-
this.passwordLabel = "Password";
|
|
4111
|
-
/**
|
|
4112
|
-
* @uiName Submit button text
|
|
4113
|
-
*/
|
|
4114
|
-
this.submitLabel = "Sign In";
|
|
4115
|
-
/**
|
|
4116
|
-
* Redirect participants to this page to reset their password
|
|
4117
|
-
* @uiName Forgot password redirect
|
|
4118
|
-
* @uiWidget pageSelect
|
|
4119
|
-
*/
|
|
4120
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
4121
|
-
/**
|
|
4122
|
-
* @uiName Forgot password text
|
|
4123
|
-
*/
|
|
4124
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
4125
|
-
/**
|
|
4126
|
-
* @uiName Register button text
|
|
4127
|
-
*/
|
|
4128
|
-
this.registerLabel = "Register";
|
|
4129
|
-
/**
|
|
4130
|
-
* Redirect participants to this page to start registration.
|
|
4131
|
-
* @uiName Register button redirect
|
|
4132
|
-
* @uiWidget pageSelect
|
|
4133
|
-
*/
|
|
4134
|
-
this.registerPath = "/register";
|
|
4135
|
-
/**
|
|
4136
|
-
* @uiName Heading label
|
|
4137
|
-
* @uiWidget textArea
|
|
4138
|
-
*/
|
|
4139
|
-
this.pageLabel = "Sign in to your account";
|
|
4140
|
-
/**
|
|
4141
|
-
* @uiName Network error message
|
|
4142
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
4143
|
-
*/
|
|
4144
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
4145
|
-
/**
|
|
4146
|
-
* @uiName Google account error message
|
|
4147
|
-
* Displayed when user tries to sign in with Google account but has not registered.
|
|
4148
|
-
*/
|
|
4149
|
-
this.googleUserNotRegisteredError = "Your Google account has not registered on our platform. Please complete the registration process with your Google account.";
|
|
4150
|
-
/**
|
|
4151
|
-
* @uiName Register CTA
|
|
4152
|
-
*/
|
|
4153
|
-
this.registerCTA = "Don't have an account?";
|
|
4154
|
-
h(this);
|
|
4155
|
-
}
|
|
4156
|
-
disconnectedCallback() { }
|
|
4157
|
-
render() {
|
|
4158
|
-
const { states, callbacks } = isDemo()
|
|
4159
|
-
? useLoginDemo(this)
|
|
4160
|
-
: usePortalLogin(this);
|
|
4161
|
-
const styles = {
|
|
4162
|
-
RegisterButton: {
|
|
4163
|
-
"&::part(label)": {
|
|
4164
|
-
padding: "0",
|
|
4165
|
-
},
|
|
4166
|
-
},
|
|
4167
|
-
};
|
|
4168
|
-
const sheet = createStyleSheet(styles);
|
|
4169
|
-
const styleString = sheet.toString();
|
|
4170
|
-
const content = {
|
|
4171
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
4172
|
-
googleButton: (h$1("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
|
|
4173
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("span", null, this.registerCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
|
|
4174
|
-
emailLabel: this.emailLabel,
|
|
4175
|
-
passwordLabel: this.passwordLabel,
|
|
4176
|
-
submitLabel: this.submitLabel,
|
|
4177
|
-
pageLabel: this.pageLabel,
|
|
4178
|
-
};
|
|
4179
|
-
return (h$1(PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
4180
|
-
}
|
|
4181
|
-
};
|
|
4182
|
-
function useLoginDemo(props) {
|
|
4183
|
-
var _a, _b;
|
|
4184
|
-
return cjs({
|
|
4185
|
-
states: {
|
|
4186
|
-
error: ((_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.error) || "",
|
|
4187
|
-
loading: false,
|
|
4188
|
-
forgotPasswordPath: "/forgotPassword",
|
|
4189
|
-
registerPath: "/register",
|
|
4190
|
-
showLoginForm: "manual",
|
|
4191
|
-
},
|
|
4192
|
-
callbacks: {
|
|
4193
|
-
googleSubmit: async () => {
|
|
4194
|
-
console.log("google submit");
|
|
4195
|
-
},
|
|
4196
|
-
submit: async (_event) => {
|
|
4197
|
-
console.log("submit");
|
|
4198
|
-
},
|
|
4199
|
-
},
|
|
4200
|
-
content: {
|
|
4201
|
-
googleButton: null,
|
|
4202
|
-
},
|
|
4203
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4204
|
-
}
|
|
4205
|
-
|
|
4206
3894
|
class InvalidTokenError extends Error {
|
|
4207
3895
|
}
|
|
4208
3896
|
InvalidTokenError.prototype.name = "InvalidTokenError";
|
|
@@ -4565,403 +4253,6 @@ function useGoogleDemo(props) {
|
|
|
4565
4253
|
}, props.demoGoogleData || {}, { arrayMerge: (_, a) => a });
|
|
4566
4254
|
}
|
|
4567
4255
|
|
|
4568
|
-
const PortalLogin = class {
|
|
4569
|
-
constructor(hostRef) {
|
|
4570
|
-
registerInstance(this, hostRef);
|
|
4571
|
-
this.ignored = true;
|
|
4572
|
-
/**
|
|
4573
|
-
* Redirect participants to this page after they successfully login.
|
|
4574
|
-
*
|
|
4575
|
-
* @uiName Login redirect
|
|
4576
|
-
* @uiWidget pageSelect
|
|
4577
|
-
*/
|
|
4578
|
-
this.nextPage = "/";
|
|
4579
|
-
/**
|
|
4580
|
-
* @uiName Email field label
|
|
4581
|
-
*/
|
|
4582
|
-
this.emailLabel = "Email";
|
|
4583
|
-
/**
|
|
4584
|
-
* @uiName Password field label
|
|
4585
|
-
*/
|
|
4586
|
-
this.passwordLabel = "Password";
|
|
4587
|
-
/**
|
|
4588
|
-
* @uiName Submit button text
|
|
4589
|
-
*/
|
|
4590
|
-
this.submitLabel = "Sign In";
|
|
4591
|
-
/**
|
|
4592
|
-
* Redirect participants to this page to reset their password
|
|
4593
|
-
* @uiName Forgot password redirect
|
|
4594
|
-
* @uiWidget pageSelect
|
|
4595
|
-
*/
|
|
4596
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
4597
|
-
/**
|
|
4598
|
-
* @uiName Forgot password text
|
|
4599
|
-
*/
|
|
4600
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
4601
|
-
/**
|
|
4602
|
-
* @uiName Register button text
|
|
4603
|
-
*/
|
|
4604
|
-
this.registerLabel = "Register";
|
|
4605
|
-
/**
|
|
4606
|
-
* Redirect participants to this page to start registration.
|
|
4607
|
-
* @uiName Register button redirect
|
|
4608
|
-
* @uiWidget pageSelect
|
|
4609
|
-
*/
|
|
4610
|
-
this.registerPath = "/register";
|
|
4611
|
-
/**
|
|
4612
|
-
* @uiName Heading label
|
|
4613
|
-
* @uiWidget textArea
|
|
4614
|
-
*/
|
|
4615
|
-
this.pageLabel = "Sign in to your account";
|
|
4616
|
-
/**
|
|
4617
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
4618
|
-
* @uiName Network error message
|
|
4619
|
-
*/
|
|
4620
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
4621
|
-
h(this);
|
|
4622
|
-
}
|
|
4623
|
-
disconnectedCallback() { }
|
|
4624
|
-
render() {
|
|
4625
|
-
const { states, callbacks } = isDemo()
|
|
4626
|
-
? useLoginDemo$1(this)
|
|
4627
|
-
: usePortalLogin(this);
|
|
4628
|
-
const styles = {
|
|
4629
|
-
RegisterButton: {
|
|
4630
|
-
"&::part(label)": {
|
|
4631
|
-
padding: "0",
|
|
4632
|
-
},
|
|
4633
|
-
},
|
|
4634
|
-
};
|
|
4635
|
-
const sheet = createStyleSheet(styles);
|
|
4636
|
-
const styleString = sheet.toString();
|
|
4637
|
-
const content = {
|
|
4638
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
4639
|
-
googleButton: null,
|
|
4640
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
4641
|
-
emailLabel: this.emailLabel,
|
|
4642
|
-
passwordLabel: this.passwordLabel,
|
|
4643
|
-
submitLabel: this.submitLabel,
|
|
4644
|
-
pageLabel: this.pageLabel,
|
|
4645
|
-
};
|
|
4646
|
-
return (h$1(PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
4647
|
-
}
|
|
4648
|
-
};
|
|
4649
|
-
function useLoginDemo$1(props) {
|
|
4650
|
-
return cjs({
|
|
4651
|
-
states: {
|
|
4652
|
-
error: "",
|
|
4653
|
-
loading: false,
|
|
4654
|
-
forgotPasswordPath: "/forgotPassword",
|
|
4655
|
-
registerPath: "/register",
|
|
4656
|
-
showLoginForm: "manual",
|
|
4657
|
-
},
|
|
4658
|
-
callbacks: {
|
|
4659
|
-
googleSubmit: async () => {
|
|
4660
|
-
console.log("google submit");
|
|
4661
|
-
},
|
|
4662
|
-
submit: async (_event) => {
|
|
4663
|
-
console.log("submit");
|
|
4664
|
-
},
|
|
4665
|
-
},
|
|
4666
|
-
content: {
|
|
4667
|
-
googleButton: null,
|
|
4668
|
-
},
|
|
4669
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4670
|
-
}
|
|
4671
|
-
|
|
4672
|
-
function usePortalRegister(props) {
|
|
4673
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
4674
|
-
const formRef = useRef(null);
|
|
4675
|
-
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
4676
|
-
const [request, { loading, errors, data }] = Ve();
|
|
4677
|
-
useEffect(() => {
|
|
4678
|
-
if (!formRef.current)
|
|
4679
|
-
return;
|
|
4680
|
-
const form = formRef.current;
|
|
4681
|
-
form.addEventListener("sl-input", inputFunction);
|
|
4682
|
-
return () => {
|
|
4683
|
-
form.removeEventListener("sl-input", inputFunction);
|
|
4684
|
-
};
|
|
4685
|
-
}, [formRef.current]);
|
|
4686
|
-
const submit = async (event) => {
|
|
4687
|
-
var _a;
|
|
4688
|
-
let formControls = event.target.getFormControls();
|
|
4689
|
-
let formData = {};
|
|
4690
|
-
let validationErrors = {};
|
|
4691
|
-
formControls === null || formControls === void 0 ? void 0 : formControls.forEach((control) => {
|
|
4692
|
-
if (!control.name)
|
|
4693
|
-
return;
|
|
4694
|
-
const key = control.name;
|
|
4695
|
-
const value = control.value;
|
|
4696
|
-
jsonpointer.set(formData, key, value);
|
|
4697
|
-
// required validation
|
|
4698
|
-
if (control.required && !value) {
|
|
4699
|
-
jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
|
|
4700
|
-
}
|
|
4701
|
-
// custom validation
|
|
4702
|
-
if (typeof control.validationError === "function") {
|
|
4703
|
-
const validate = control.validationError;
|
|
4704
|
-
const validationError = validate({ control, key, value });
|
|
4705
|
-
if (validationError)
|
|
4706
|
-
jsonpointer.set(validationErrors, key, validationError);
|
|
4707
|
-
}
|
|
4708
|
-
});
|
|
4709
|
-
if ((props.confirmPassword || formData.confirmPassword) &&
|
|
4710
|
-
formData.password !== formData.confirmPassword) {
|
|
4711
|
-
validationErrors = {
|
|
4712
|
-
...validationErrors,
|
|
4713
|
-
confirmPassword: props.passwordMismatchErrorMessage,
|
|
4714
|
-
};
|
|
4715
|
-
}
|
|
4716
|
-
if (Object.keys(validationErrors).length) {
|
|
4717
|
-
setRegistrationFormState({ loading: false, error: "", validationErrors });
|
|
4718
|
-
// early return for validation errors
|
|
4719
|
-
return;
|
|
4720
|
-
}
|
|
4721
|
-
setRegistrationFormState({
|
|
4722
|
-
loading: true,
|
|
4723
|
-
error: "",
|
|
4724
|
-
validationErrors: {},
|
|
4725
|
-
});
|
|
4726
|
-
const { email, password } = formData;
|
|
4727
|
-
delete formData.email;
|
|
4728
|
-
delete formData.password;
|
|
4729
|
-
delete formData.confirmPassword;
|
|
4730
|
-
formData = { ...formData };
|
|
4731
|
-
const redirectPath = props.redirectPath;
|
|
4732
|
-
const variables = {
|
|
4733
|
-
email,
|
|
4734
|
-
password,
|
|
4735
|
-
formData,
|
|
4736
|
-
redirectPath,
|
|
4737
|
-
};
|
|
4738
|
-
try {
|
|
4739
|
-
const result = await request(variables);
|
|
4740
|
-
if (result instanceof Error) {
|
|
4741
|
-
throw result;
|
|
4742
|
-
}
|
|
4743
|
-
setRegistrationFormState({
|
|
4744
|
-
loading: false,
|
|
4745
|
-
error: "",
|
|
4746
|
-
validationErrors: {},
|
|
4747
|
-
});
|
|
4748
|
-
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
4749
|
-
jn.push(props.nextPage);
|
|
4750
|
-
}
|
|
4751
|
-
}
|
|
4752
|
-
catch (error) {
|
|
4753
|
-
setRegistrationFormState({
|
|
4754
|
-
loading: false,
|
|
4755
|
-
error: props.networkErrorMessage,
|
|
4756
|
-
validationErrors: {},
|
|
4757
|
-
});
|
|
4758
|
-
}
|
|
4759
|
-
};
|
|
4760
|
-
const inputFunction = useCallback((e) => {
|
|
4761
|
-
var _a, _b;
|
|
4762
|
-
const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
|
|
4763
|
-
if (name !== "tel")
|
|
4764
|
-
return;
|
|
4765
|
-
const asYouType = new AsYouType("US");
|
|
4766
|
-
e.target.value = asYouType.input(e.target.value);
|
|
4767
|
-
}, []);
|
|
4768
|
-
let errorMessage = "";
|
|
4769
|
-
if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
|
|
4770
|
-
errorMessage = props.networkErrorMessage;
|
|
4771
|
-
}
|
|
4772
|
-
else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
|
|
4773
|
-
errorMessage = props.networkErrorMessage;
|
|
4774
|
-
}
|
|
4775
|
-
else {
|
|
4776
|
-
errorMessage =
|
|
4777
|
-
((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
|
|
4778
|
-
}
|
|
4779
|
-
return {
|
|
4780
|
-
states: {
|
|
4781
|
-
loading,
|
|
4782
|
-
error: errorMessage,
|
|
4783
|
-
registrationFormState,
|
|
4784
|
-
confirmPassword: props.confirmPassword,
|
|
4785
|
-
hideInputs: props.hideInputs,
|
|
4786
|
-
loginPath: props.loginPath,
|
|
4787
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4788
|
-
},
|
|
4789
|
-
callbacks: {
|
|
4790
|
-
submit,
|
|
4791
|
-
inputFunction,
|
|
4792
|
-
},
|
|
4793
|
-
refs: {
|
|
4794
|
-
formRef,
|
|
4795
|
-
},
|
|
4796
|
-
};
|
|
4797
|
-
}
|
|
4798
|
-
|
|
4799
|
-
const PortalRegister = class {
|
|
4800
|
-
constructor(hostRef) {
|
|
4801
|
-
registerInstance(this, hostRef);
|
|
4802
|
-
this.ignored = false;
|
|
4803
|
-
/**
|
|
4804
|
-
* Redirect participants to this page from their verification email
|
|
4805
|
-
*
|
|
4806
|
-
* @uiName Registration redirect
|
|
4807
|
-
* @uiWidget pageSelect
|
|
4808
|
-
*/
|
|
4809
|
-
this.nextPage = "/";
|
|
4810
|
-
/**
|
|
4811
|
-
* The page that participants are redirected to from the verification email.
|
|
4812
|
-
*
|
|
4813
|
-
* @uiName Email verification redirect
|
|
4814
|
-
* @uiWidget pageSelect
|
|
4815
|
-
*/
|
|
4816
|
-
this.redirectPath = "/verifyEmail";
|
|
4817
|
-
/**
|
|
4818
|
-
* @uiName Email field label
|
|
4819
|
-
*/
|
|
4820
|
-
this.emailLabel = "Email";
|
|
4821
|
-
/**
|
|
4822
|
-
* @uiName Password field label
|
|
4823
|
-
*/
|
|
4824
|
-
this.passwordLabel = "Password";
|
|
4825
|
-
/**
|
|
4826
|
-
* @uiName Submit button text
|
|
4827
|
-
*/
|
|
4828
|
-
this.submitLabel = "Register";
|
|
4829
|
-
/**
|
|
4830
|
-
* @uiName Login button text
|
|
4831
|
-
*/
|
|
4832
|
-
this.loginLabel = "Sign in";
|
|
4833
|
-
/**
|
|
4834
|
-
* @uiName Confirm password field label
|
|
4835
|
-
*/
|
|
4836
|
-
this.confirmPasswordLabel = "Confirm Password";
|
|
4837
|
-
/**
|
|
4838
|
-
* @uiName Show confirm password field
|
|
4839
|
-
*/
|
|
4840
|
-
this.confirmPassword = false;
|
|
4841
|
-
/**
|
|
4842
|
-
* @uiName Disable password validation
|
|
4843
|
-
*/
|
|
4844
|
-
this.disablePasswordValidation = false;
|
|
4845
|
-
/**
|
|
4846
|
-
* Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
|
|
4847
|
-
*
|
|
4848
|
-
* @uiName Hide default fields
|
|
4849
|
-
*/
|
|
4850
|
-
this.hideInputs = false;
|
|
4851
|
-
/**
|
|
4852
|
-
* @uiName Header text
|
|
4853
|
-
*/
|
|
4854
|
-
this.pageLabel = "Register";
|
|
4855
|
-
/**
|
|
4856
|
-
* Redirect participants to this page after clicking the login button.
|
|
4857
|
-
*
|
|
4858
|
-
* @uiName Login redirect
|
|
4859
|
-
* @uiWidget pageSelect
|
|
4860
|
-
*/
|
|
4861
|
-
this.loginPath = "/login";
|
|
4862
|
-
/**
|
|
4863
|
-
* The message to be displayed when a required field is not filled.
|
|
4864
|
-
*
|
|
4865
|
-
* @uiName Required field message
|
|
4866
|
-
* @uiWidget textArea
|
|
4867
|
-
*/
|
|
4868
|
-
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4869
|
-
/**
|
|
4870
|
-
* The message to be displayed when a the form submission fails unexpectedly.
|
|
4871
|
-
*
|
|
4872
|
-
* @uiName Network error message
|
|
4873
|
-
* @uiWidget textArea
|
|
4874
|
-
*/
|
|
4875
|
-
this.networkErrorMessage = "Network request failed.";
|
|
4876
|
-
/**
|
|
4877
|
-
* The message to be displayed when password inputs do not match.
|
|
4878
|
-
*
|
|
4879
|
-
* @uiName Password mismatch message
|
|
4880
|
-
* @uiWidget textArea
|
|
4881
|
-
*/
|
|
4882
|
-
this.passwordMismatchErrorMessage = "Passwords do not match.";
|
|
4883
|
-
/**
|
|
4884
|
-
* The message to be displayed when the email used is invalid or blocked.
|
|
4885
|
-
*
|
|
4886
|
-
* @uiName Invalid email message
|
|
4887
|
-
* @uiWidget textArea
|
|
4888
|
-
*/
|
|
4889
|
-
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
4890
|
-
/**
|
|
4891
|
-
* @uiName Password requirement met
|
|
4892
|
-
*/
|
|
4893
|
-
this.meetsRequirementsText = "Password has met all requirements";
|
|
4894
|
-
/**
|
|
4895
|
-
* @uiName Password requirement failed
|
|
4896
|
-
*/
|
|
4897
|
-
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
4898
|
-
/**
|
|
4899
|
-
* @uiName Minimum length text
|
|
4900
|
-
*/
|
|
4901
|
-
this.minErrorText = "be a minimum of 8 characters";
|
|
4902
|
-
/**
|
|
4903
|
-
* @uiName Missing uppercase text
|
|
4904
|
-
*/
|
|
4905
|
-
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
4906
|
-
/**
|
|
4907
|
-
* @uiName Missing lowercase text
|
|
4908
|
-
*/
|
|
4909
|
-
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
4910
|
-
/**
|
|
4911
|
-
* @uiName Missing number or symbol text
|
|
4912
|
-
*/
|
|
4913
|
-
this.hasErrorText = "contain at least 1 number or symbol";
|
|
4914
|
-
h(this);
|
|
4915
|
-
}
|
|
4916
|
-
disconnectedCallback() { }
|
|
4917
|
-
render() {
|
|
4918
|
-
const { states, callbacks, refs } = isDemo()
|
|
4919
|
-
? useRegisterDemo$2(this)
|
|
4920
|
-
: usePortalRegister(this);
|
|
4921
|
-
const content = {
|
|
4922
|
-
formData: h$1("slot", { name: "formData" }),
|
|
4923
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
|
|
4924
|
-
terms: h$1("slot", { name: "terms" }),
|
|
4925
|
-
emailLabel: this.emailLabel,
|
|
4926
|
-
passwordLabel: this.passwordLabel,
|
|
4927
|
-
submitLabel: this.submitLabel,
|
|
4928
|
-
pageLabel: this.pageLabel,
|
|
4929
|
-
confirmPasswordLabel: this.confirmPasswordLabel,
|
|
4930
|
-
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4931
|
-
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4932
|
-
meetsRequirementsText: this.meetsRequirementsText,
|
|
4933
|
-
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
4934
|
-
minErrorText: this.minErrorText,
|
|
4935
|
-
uppercaseErrorText: this.uppercaseErrorText,
|
|
4936
|
-
lowercaseErrorText: this.lowercaseErrorText,
|
|
4937
|
-
hasErrorText: this.hasErrorText,
|
|
4938
|
-
};
|
|
4939
|
-
return (h$1(PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
4940
|
-
}
|
|
4941
|
-
};
|
|
4942
|
-
function useRegisterDemo$2(props) {
|
|
4943
|
-
return cjs({
|
|
4944
|
-
states: {
|
|
4945
|
-
error: "",
|
|
4946
|
-
loading: false,
|
|
4947
|
-
confirmPassword: props.confirmPassword,
|
|
4948
|
-
hideInputs: props.hideInputs || false,
|
|
4949
|
-
customPasswordField: false,
|
|
4950
|
-
loginPath: props.loginPath,
|
|
4951
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4952
|
-
},
|
|
4953
|
-
callbacks: {
|
|
4954
|
-
submit: async (_event) => {
|
|
4955
|
-
console.log("submit");
|
|
4956
|
-
},
|
|
4957
|
-
inputFunction: () => { },
|
|
4958
|
-
},
|
|
4959
|
-
refs: {
|
|
4960
|
-
formRef: {},
|
|
4961
|
-
},
|
|
4962
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4963
|
-
}
|
|
4964
|
-
|
|
4965
4256
|
function ProgramExplainerView(props, children) {
|
|
4966
4257
|
const style = {
|
|
4967
4258
|
Container: {
|
|
@@ -8615,4 +7906,4 @@ function useUserNameDemo(props) {
|
|
|
8615
7906
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
8616
7907
|
}
|
|
8617
7908
|
|
|
8618
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer,
|
|
7909
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|