@saasquatch/mint-components 2.1.5-6 → 2.1.5-7
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-2473bb5f.js → ShadowViewAddon-72c43888.js} +127 -298
- package/dist/cjs/{copy-text-view-322436c2.js → copy-text-view-bb2c0ea7.js} +1 -1
- package/dist/cjs/{data-62fc9ba5.js → data-ee577cc1.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-ab5fc787.js} +57 -56
- package/dist/cjs/imageUrl-a7880cab.js +60 -0
- package/dist/cjs/{index-a43a63b4.js → index-8277cbb3.js} +1 -1
- package/dist/cjs/{index.module-4f54e412.js → index.module-9d33658c.js} +4 -2
- 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-2ebec4aa.js} +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +37 -56
- package/dist/cjs/{sqm-big-stat_49.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +71 -764
- 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 +7 -6
- 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 +6 -3
- 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-e5306128.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-a4a9b883.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-5cf03a1f.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-43a20d6f.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-31b1a9d9.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-c8d9a614.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 +13 -13
- 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 +14 -13
- 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 +150 -318
- 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-96f0351e.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-6b1f61c5.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-08bcb487.js → useInstantAccessRegistration-1ba143b1.js} +3 -3
- package/dist/cjs/{useLeadFormState-91999606.js → useLeadFormState-eace28b3.js} +4 -4
- package/dist/cjs/{usePayoutStatus-a81d05a2.js → usePayoutStatus-c812303d.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-8ed0d753.js → usePortalRegistrationForm-ae89c992.js} +3 -3
- package/dist/cjs/{useReferralCodes-11cdf43b.js → useReferralCodes-d78c563e.js} +2 -2
- package/dist/cjs/{useReferralTable-d0c7097e.js → useReferralTable-b8414623.js} +7 -6
- package/dist/cjs/{useRegistrationFormState-bbee6e7b.js → useRegistrationFormState-1a8a6507.js} +2 -2
- package/dist/cjs/{useVerificationEmail-9dd3997a.js → useVerificationEmail-c6363436.js} +2 -2
- package/dist/cjs/{utilities-9a0c5e91.js → utilities-15548f3e.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-empty/sqm-empty-view.js +2 -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-header-logo/sqm-header-logo.js +4 -1
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +2 -1
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +7 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +55 -0
- package/dist/collection/components/sqm-image/sqm-image-view.js +2 -1
- 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/LeadForm.stories.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-program-explainer-step/sqm-program-explainer-step-view.js +5 -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/columns/sqm-referral-table-user-column.js +3 -3
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -2
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +2 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +15 -14
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +5 -5
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -3
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +2 -2
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +2 -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-tabs/Tabs.stories.js +10 -10
- 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/TaxForm.stories.js +0 -182
- 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/PayoutStatusAlert.stories.js +2 -13
- 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-payout-status-alert/sqm-payout-status-alert.js +3 -3
- 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 +17 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -29
- 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/collection/utils/imageUrl.js +56 -0
- 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-795579b1.js → ShadowViewAddon-cb1ee90e.js} +128 -296
- package/dist/esm/{copy-text-view-fac47254.js → copy-text-view-87259b11.js} +1 -1
- package/dist/esm/{data-4a551ba6.js → data-32eff0f9.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-52a25cf2.js} +57 -56
- package/dist/esm/imageUrl-4775f17b.js +58 -0
- package/dist/esm/{index-b3a06de8.js → index-38ad4957.js} +1 -1
- package/dist/esm/{index.module-234e8f5e.js → index.module-8ba90d99.js} +5 -3
- 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-6d98f869.js} +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +37 -56
- package/dist/esm/{sqm-big-stat_49.entry.js → sqm-big-stat_45.entry.js} +73 -762
- 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 +7 -6
- 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 +6 -3
- 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-a38ea688.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-e94e861c.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-8e354314.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-b2637296.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-0f1eec15.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-42f7bb1e.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 +13 -13
- 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 +14 -13
- 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 +135 -303
- 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-1703b56b.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-6d7c412e.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-89e7dfc8.js → useInstantAccessRegistration-e27f5083.js} +3 -3
- package/dist/esm/{useLeadFormState-d2f1c87d.js → useLeadFormState-5a52a0ba.js} +4 -4
- package/dist/esm/{usePayoutStatus-4792d2e4.js → usePayoutStatus-2d5683d8.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-fb06b600.js → usePortalRegistrationForm-0f11909c.js} +3 -3
- package/dist/esm/{useReferralCodes-75d67509.js → useReferralCodes-2415f732.js} +2 -2
- package/dist/esm/{useReferralTable-8128f0b2.js → useReferralTable-30b590ba.js} +7 -6
- package/dist/esm/{useRegistrationFormState-a9e156e6.js → useRegistrationFormState-0666533e.js} +2 -2
- package/dist/esm/{useVerificationEmail-66b40965.js → useVerificationEmail-11a52af0.js} +2 -2
- package/dist/esm/{utilities-e6f8716e.js → utilities-e613f25f.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-cb1ee90e.js +1 -0
- package/dist/esm-es5/{copy-text-view-fac47254.js → copy-text-view-87259b11.js} +1 -1
- package/dist/esm-es5/data-32eff0f9.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-52a25cf2.js} +2 -2
- package/dist/esm-es5/imageUrl-4775f17b.js +1 -0
- package/dist/esm-es5/index-38ad4957.js +1 -0
- package/dist/esm-es5/index.module-8ba90d99.js +1 -0
- 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-6d98f869.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-a38ea688.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-e94e861c.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-8e354314.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-b2637296.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-0f1eec15.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-42f7bb1e.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-1703b56b.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-6d7c412e.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-89e7dfc8.js → useInstantAccessRegistration-e27f5083.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-d2f1c87d.js → useLeadFormState-5a52a0ba.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-4792d2e4.js → usePayoutStatus-2d5683d8.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-fb06b600.js → usePortalRegistrationForm-0f11909c.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-75d67509.js → useReferralCodes-2415f732.js} +1 -1
- package/dist/esm-es5/{useReferralTable-8128f0b2.js → useReferralTable-30b590ba.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-a9e156e6.js → useRegistrationFormState-0666533e.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-66b40965.js → useVerificationEmail-11a52af0.js} +1 -1
- package/dist/esm-es5/{utilities-e6f8716e.js → utilities-e613f25f.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-c16d9c80.system.entry.js → p-05671529.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a0440ed.system.entry.js → p-07a23d1e.system.entry.js} +1 -1
- package/dist/mint-components/p-0815a612.entry.js +1 -0
- package/dist/mint-components/{p-c7c11325.js → p-083180bf.js} +1 -1
- package/dist/mint-components/p-08f82f9e.system.entry.js +1 -0
- package/dist/mint-components/p-09cb5c1c.js +1 -0
- package/dist/mint-components/{p-ad550231.entry.js → p-0c044117.entry.js} +1 -1
- package/dist/mint-components/{p-04603078.system.entry.js → p-0d4888ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-84911f08.system.js → p-0e216006.system.js} +1 -1
- 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-1289b9f2.system.js +1 -0
- package/dist/mint-components/{p-8901a533.system.js → p-150b29bd.system.js} +1 -1
- package/dist/mint-components/{p-a82c8b60.js → p-16fdec57.js} +32 -32
- 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-323c6d02.js → p-1a7c8d21.js} +1 -1
- package/dist/mint-components/{p-51e5a7da.system.js → p-1dc2531d.system.js} +1 -1
- package/dist/mint-components/{p-e599f3fb.system.js → p-234b171f.system.js} +1 -1
- package/dist/mint-components/{p-536a5aff.system.entry.js → p-251061ac.system.entry.js} +1 -1
- package/dist/mint-components/p-266ab4eb.system.entry.js +1 -0
- package/dist/mint-components/{p-08700497.js → p-2786819c.js} +1 -1
- package/dist/mint-components/{p-eff405e5.js → p-28001794.js} +1 -1
- package/dist/mint-components/p-284e0746.entry.js +1 -0
- package/dist/mint-components/{p-2ce4c7a3.js → p-28d44f6b.js} +2 -2
- package/dist/mint-components/p-2a1e5cea.entry.js +147 -0
- package/dist/mint-components/p-2b4344cb.system.js +1 -0
- package/dist/mint-components/{p-62d018f0.system.entry.js → p-2b500e23.system.entry.js} +1 -1
- package/dist/mint-components/p-30b7d2ee.entry.js +1 -0
- package/dist/mint-components/{p-73aeefed.system.entry.js → p-31b28c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-e08b7435.js → p-356e21e5.js} +1 -1
- package/dist/mint-components/{p-8dda2a7f.system.entry.js → p-35e8f965.system.entry.js} +1 -1
- package/dist/mint-components/{p-cbf3a928.entry.js → p-366caa9f.entry.js} +1 -1
- package/dist/mint-components/{p-c7f385d3.entry.js → p-399a9cff.entry.js} +1 -1
- package/dist/mint-components/p-3bb8129c.system.js +1 -0
- package/dist/mint-components/{p-64997b59.system.js → p-3c46b4dd.system.js} +1 -1
- package/dist/mint-components/{p-c09d2b35.system.js → p-3d6f55c5.system.js} +1 -1
- package/dist/mint-components/{p-fe14d2af.entry.js → p-4180348b.entry.js} +1 -1
- package/dist/mint-components/{p-4363a896.entry.js → p-43d7e25b.entry.js} +1 -1
- package/dist/mint-components/{p-0e1f3ce2.js → p-44f5d470.js} +1 -1
- package/dist/mint-components/{p-527c0244.system.entry.js → p-4513c967.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8f2c3b8.system.entry.js → p-452b38fd.system.entry.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-473ba636.system.entry.js +1 -0
- package/dist/mint-components/{p-177a4691.js → p-48421440.js} +1 -1
- package/dist/mint-components/{p-26796f69.system.entry.js → p-49ccf070.system.entry.js} +1 -1
- package/dist/mint-components/{p-476a8091.system.entry.js → p-4a6584bd.system.entry.js} +1 -1
- package/dist/mint-components/{p-3ed269bf.system.entry.js → p-4e30fa14.system.entry.js} +1 -1
- package/dist/mint-components/{p-964b09f2.js → p-53d64ee3.js} +1 -1
- package/dist/mint-components/p-53f78339.system.entry.js +1 -0
- package/dist/mint-components/{p-bb476395.entry.js → p-566b2e16.entry.js} +1 -1
- package/dist/mint-components/{p-07dc6d68.js → p-56ca7e3c.js} +1 -1
- package/dist/mint-components/{p-3825831b.entry.js → p-56cc925f.entry.js} +1 -1
- package/dist/mint-components/{p-42b62299.system.entry.js → p-573ea3fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ab26f3d.js → p-57885487.js} +1 -1
- package/dist/mint-components/{p-f1f6a13d.system.js → p-58dbdf63.system.js} +1 -1
- package/dist/mint-components/p-5e4307c3.entry.js +9 -0
- package/dist/mint-components/p-6143cba9.js +1 -0
- package/dist/mint-components/p-641f968d.system.js +1 -0
- package/dist/mint-components/p-645074fb.entry.js +1 -0
- package/dist/mint-components/{p-5d17b387.entry.js → p-6607998b.entry.js} +1 -1
- package/dist/mint-components/{p-68043f30.js → p-669d52c4.js} +1 -1
- package/dist/mint-components/p-6c3a1d86.js +1 -0
- package/dist/mint-components/p-6c903a59.js +1 -0
- package/dist/mint-components/{p-4b4d3179.entry.js → p-6df71479.entry.js} +7 -7
- package/dist/mint-components/{p-e1a7d141.system.entry.js → p-6e1fb6c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-5ff2da11.js → p-7010498f.js} +1 -1
- package/dist/mint-components/{p-286aa5b9.system.js → p-73d58f8c.system.js} +1 -1
- package/dist/mint-components/{p-ebde83fc.entry.js → p-75f9bd55.entry.js} +1 -1
- package/dist/mint-components/{p-67ad2252.system.js → p-7b909aa5.system.js} +1 -1
- package/dist/mint-components/{p-3d02278d.entry.js → p-7e3ef4dd.entry.js} +1 -1
- package/dist/mint-components/{p-9c4cac09.entry.js → p-7fe4b989.entry.js} +2 -2
- package/dist/mint-components/{p-7159c51c.system.js → p-8452837a.system.js} +1 -1
- package/dist/mint-components/p-86c36896.entry.js +17 -0
- package/dist/mint-components/{p-4df0492c.js → p-86c73bdf.js} +2 -2
- package/dist/mint-components/{p-f9c7248e.js → p-88e16945.js} +1 -1
- package/dist/mint-components/p-8c490639.js +1 -0
- package/dist/mint-components/{p-3d12a14b.system.entry.js → p-8f27f0a3.system.entry.js} +1 -1
- package/dist/mint-components/{p-d49de8ea.entry.js → p-90032cd8.entry.js} +1 -1
- package/dist/mint-components/{p-8752bcd1.system.entry.js → p-94330c2a.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c80871f.system.entry.js → p-94e91de7.system.entry.js} +1 -1
- package/dist/mint-components/{p-825b39e0.system.js → p-95d2832e.system.js} +1 -1
- package/dist/mint-components/p-95f684b0.entry.js +1 -0
- package/dist/mint-components/{p-8bf8afb9.system.js → p-9733d6c5.system.js} +1 -1
- package/dist/mint-components/{p-eacd3c8f.system.entry.js → p-974ec817.system.entry.js} +1 -1
- package/dist/mint-components/{p-01aa5c0d.entry.js → p-979aef8a.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-b5559e34.system.js → p-99c505b3.system.js} +1 -1
- package/dist/mint-components/{p-e1a08323.system.entry.js → p-9d03498c.system.entry.js} +1 -1
- package/dist/mint-components/{p-7fde6790.js → p-a3f545d5.js} +1 -1
- package/dist/mint-components/p-a43a9fa9.system.js +1 -0
- package/dist/mint-components/{p-63e29387.js → p-a7fc1e02.js} +1 -1
- package/dist/mint-components/p-aa40cb85.system.entry.js +1 -0
- package/dist/mint-components/{p-ec9027cf.entry.js → p-ab2f1ee7.entry.js} +1 -1
- package/dist/mint-components/{p-f237f96d.system.entry.js → p-ab5c9c50.system.entry.js} +1 -1
- package/dist/mint-components/{p-4204a6e3.entry.js → p-acaf505d.entry.js} +1 -1
- package/dist/mint-components/p-adcc3c9a.system.entry.js +1 -0
- package/dist/mint-components/{p-68139da3.system.js → p-aebd34d3.system.js} +2 -2
- package/dist/mint-components/p-b0aa9348.entry.js +1 -0
- package/dist/mint-components/{p-f1dc581f.js → p-b1eb2a6a.js} +1 -1
- package/dist/mint-components/{p-de0566e1.entry.js → p-b39f5ac8.entry.js} +1 -1
- package/dist/mint-components/p-b61be711.entry.js +1 -0
- package/dist/mint-components/{p-f61005ce.system.js → p-b63ed655.system.js} +1 -1
- 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-d9f01878.entry.js → p-b713513d.entry.js} +1 -1
- package/dist/mint-components/{p-fb2976fc.system.entry.js → p-b9f57e84.system.entry.js} +1 -1
- package/dist/mint-components/{p-5de55368.entry.js → p-bd37467f.entry.js} +1 -1
- package/dist/mint-components/p-bdfdee11.entry.js +1 -0
- package/dist/mint-components/{p-5af01051.system.entry.js → p-be3aba12.system.entry.js} +1 -1
- 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-9da60671.entry.js → p-c0d3046c.entry.js} +1 -1
- package/dist/mint-components/p-c406455b.system.entry.js +1 -0
- package/dist/mint-components/{p-96b16a48.system.js → p-c49108fb.system.js} +1 -1
- package/dist/mint-components/p-c4b96dab.system.entry.js +1 -0
- package/dist/mint-components/{p-c4e08253.js → p-c82c7a24.js} +1 -1
- package/dist/mint-components/{p-c2e5108e.js → p-c9829d6e.js} +5 -5
- package/dist/mint-components/{p-204861a6.js → p-cabf6326.js} +1 -1
- package/dist/mint-components/{p-38ed3cbd.system.entry.js → p-cd0fe00d.system.entry.js} +1 -1
- package/dist/mint-components/p-cdf37d29.system.js +1 -0
- package/dist/mint-components/{p-23d089ee.system.js → p-cfe751eb.system.js} +1 -1
- package/dist/mint-components/{p-a45680fe.js → p-d0559e66.js} +1 -1
- package/dist/mint-components/p-d1faf170.system.js +1 -0
- 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-0935f9b7.system.js → p-d5eb601d.system.js} +1 -1
- package/dist/mint-components/p-d65991d0.entry.js +1 -0
- package/dist/mint-components/p-d7751b2c.js +1 -0
- package/dist/mint-components/{p-0b6b03fa.entry.js → p-d798a676.entry.js} +2 -2
- package/dist/mint-components/{p-0ba04831.system.js → p-da549c7e.system.js} +1 -1
- package/dist/mint-components/{p-b6911812.system.js → p-dac20392.system.js} +1 -1
- package/dist/mint-components/p-dd519b1b.system.entry.js +1 -0
- package/dist/mint-components/p-df28013f.system.entry.js +1 -0
- package/dist/mint-components/{p-7602eb6a.entry.js → p-dffad4a8.entry.js} +1 -1
- package/dist/mint-components/p-e02af932.entry.js +273 -0
- package/dist/mint-components/{p-828d27ac.system.js → p-e02e6d8e.system.js} +1 -1
- package/dist/mint-components/{p-f84706aa.entry.js → p-e0ad48c6.entry.js} +2 -2
- package/dist/mint-components/{p-c3dce602.system.entry.js → p-e31c7242.system.entry.js} +1 -1
- package/dist/mint-components/p-e3240742.entry.js +1 -0
- package/dist/mint-components/{p-0bd7de3e.entry.js → p-e6d2da4a.entry.js} +2 -2
- package/dist/mint-components/{p-d170e29a.system.entry.js → p-e7a04b2c.system.entry.js} +1 -1
- package/dist/mint-components/{p-2dcb0db6.system.js → p-ebceb45c.system.js} +2 -2
- package/dist/mint-components/{p-9953648f.js → p-ec94b3a7.js} +1 -1
- package/dist/mint-components/{p-702f3adb.system.entry.js → p-f051702e.system.entry.js} +1 -1
- package/dist/mint-components/{p-24e20ee2.js → p-f08e25e6.js} +1 -1
- package/dist/mint-components/{p-674d9089.system.entry.js → p-f1584abb.system.entry.js} +1 -1
- package/dist/mint-components/p-f2226e5b.entry.js +1 -0
- package/dist/mint-components/p-f395bf09.system.js +1 -0
- package/dist/mint-components/{p-1363c4ab.system.js → p-f45e076d.system.js} +1 -1
- package/dist/mint-components/{p-612091c6.system.entry.js → p-f5491692.system.entry.js} +1 -1
- package/dist/mint-components/p-f583e90c.js +463 -0
- package/dist/mint-components/p-f75de169.js +1 -0
- package/dist/mint-components/{p-eaeddfe2.system.js → p-f89c6a57.system.js} +1 -1
- package/dist/mint-components/p-fa144e88.system.entry.js +1 -0
- package/dist/mint-components/p-fb5c9802.entry.js +1 -0
- package/dist/mint-components/{p-fc7d85c7.entry.js → p-fb98cee0.entry.js} +1 -1
- package/dist/mint-components/{p-ed7ab864.system.entry.js → p-fc0de1ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-68be450f.js → p-fdfef4b0.js} +1 -1
- package/dist/mint-components/{p-72d6c425.system.js → p-ffb58369.system.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-hero-image/sqm-hero-image-view.d.ts +2 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +13 -0
- package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +1 -1
- 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-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.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/tax-and-cash/TaxForm.stories.d.ts +0 -9
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -6
- package/dist/types/components.d.ts +60 -11
- package/dist/types/saasquatch.d.ts +4 -0
- package/dist/types/utils/imageUrl.d.ts +14 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/docs/stats.json +122783 -0
- 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-795579b1.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/index.module-234e8f5e.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-01b0693c.system.entry.js +0 -1
- package/dist/mint-components/p-0446a6bc.entry.js +0 -1
- package/dist/mint-components/p-08c49143.system.js +0 -1
- package/dist/mint-components/p-09419d46.system.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-104f7610.system.entry.js +0 -1
- package/dist/mint-components/p-1830bbfb.js +0 -1
- 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-27ddb9b6.entry.js +0 -9
- package/dist/mint-components/p-2a006ce3.system.entry.js +0 -1
- package/dist/mint-components/p-2b7993d6.entry.js +0 -1
- 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-5784be79.system.entry.js +0 -1
- package/dist/mint-components/p-59b028db.system.js +0 -1
- package/dist/mint-components/p-5d41a780.js +0 -463
- 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-65d0e9a7.system.entry.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-747479dc.js +0 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +0 -1
- package/dist/mint-components/p-7e550c3b.system.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-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-a6e177d8.system.entry.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-af123d2b.system.js +0 -1
- package/dist/mint-components/p-bdb6194c.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-f56b1a29.entry.js +0 -273
- package/dist/mint-components/p-f776cd83.entry.js +0 -1
- package/dist/mint-components/p-f862be0b.entry.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -2,35 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const global = require('./global-
|
|
7
|
-
const domContextHooks_module = require('./dom-context-hooks.module-
|
|
8
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index = require('./index-8277cbb3.js');
|
|
6
|
+
const global = require('./global-ab5fc787.js');
|
|
7
|
+
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
8
|
+
const index_module = require('./index.module-9d33658c.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
|
-
require('./useReferralCodes-
|
|
13
|
+
require('./useReferralCodes-d78c563e.js');
|
|
14
14
|
require('./mixins-4761d472.js');
|
|
15
|
-
const copyTextView = require('./copy-text-view-
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
require('./
|
|
19
|
-
require('./sqm-
|
|
15
|
+
const copyTextView = require('./copy-text-view-bb2c0ea7.js');
|
|
16
|
+
require('./sqm-text-span-view-f274fdf2.js');
|
|
17
|
+
const usePortalRegistrationForm = require('./usePortalRegistrationForm-ae89c992.js');
|
|
18
|
+
const useRegistrationFormState = require('./useRegistrationFormState-1a8a6507.js');
|
|
19
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-020f661c.js');
|
|
20
|
+
const reRender = require('./re-render-2ebec4aa.js');
|
|
21
|
+
const useChildElements = require('./useChildElements-6b1f61c5.js');
|
|
22
|
+
require('./luxon-c1ad356a.js');
|
|
20
23
|
const index$1 = require('./index-8c6255f5.js');
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
24
|
-
const useLeadFormState = require('./useLeadFormState-
|
|
25
|
-
const utilities = require('./utilities-
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
require('./sqm-portal-container-view-07e4343f.js');
|
|
31
|
-
const data = require('./data-62fc9ba5.js');
|
|
24
|
+
const imageUrl = require('./imageUrl-a7880cab.js');
|
|
25
|
+
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
26
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-1ba143b1.js');
|
|
27
|
+
const useLeadFormState = require('./useLeadFormState-eace28b3.js');
|
|
28
|
+
const utilities = require('./utilities-15548f3e.js');
|
|
29
|
+
const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-72c43888.js');
|
|
31
|
+
require('./sqm-portal-container-view-70a47420.js');
|
|
32
|
+
const data = require('./data-ee577cc1.js');
|
|
32
33
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
33
|
-
const usePayoutStatus = require('./usePayoutStatus-
|
|
34
|
+
const usePayoutStatus = require('./usePayoutStatus-c812303d.js');
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
37
|
*
|
|
@@ -56,6 +57,10 @@ const Netflix = {
|
|
|
56
57
|
borderThickness: 1,
|
|
57
58
|
},
|
|
58
59
|
color: {
|
|
60
|
+
loadingSkeleton: {
|
|
61
|
+
background: "#272727",
|
|
62
|
+
animationBackground: "#E50914",
|
|
63
|
+
},
|
|
59
64
|
textColorShades: {
|
|
60
65
|
mainText: "white",
|
|
61
66
|
subduedText: "#B3B3B3",
|
|
@@ -147,6 +152,10 @@ const Amazon = {
|
|
|
147
152
|
},
|
|
148
153
|
color: {
|
|
149
154
|
backgroundColor: "#ffffff",
|
|
155
|
+
loadingSkeleton: {
|
|
156
|
+
background: "hsl(240 4.8% 95.9%)",
|
|
157
|
+
animationBackground: "#FF9900",
|
|
158
|
+
},
|
|
150
159
|
textColorShades: {
|
|
151
160
|
mainText: "#2f2f2f",
|
|
152
161
|
subduedText: "#565959",
|
|
@@ -235,6 +244,10 @@ const Spotify = {
|
|
|
235
244
|
borderThickness: 1,
|
|
236
245
|
},
|
|
237
246
|
color: {
|
|
247
|
+
loadingSkeleton: {
|
|
248
|
+
background: "#282928",
|
|
249
|
+
animationBackground: "#1ed760",
|
|
250
|
+
},
|
|
238
251
|
textColorShades: {
|
|
239
252
|
mainText: "white",
|
|
240
253
|
subduedText: "white",
|
|
@@ -1629,7 +1642,7 @@ function HeroImageView(props, children) {
|
|
|
1629
1642
|
objectFit: "cover",
|
|
1630
1643
|
},
|
|
1631
1644
|
Background: {
|
|
1632
|
-
backgroundImage: `url(${props.imageUrl})`,
|
|
1645
|
+
backgroundImage: `url(${imageUrl.optimizeCloudinaryUrl(props.imageUrl)})`,
|
|
1633
1646
|
backgroundSize: "cover",
|
|
1634
1647
|
backgroundPosition: props.imagePos || "center",
|
|
1635
1648
|
display: "flex",
|
|
@@ -1656,6 +1669,7 @@ function HeroImageView(props, children) {
|
|
|
1656
1669
|
flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
|
|
1657
1670
|
lineHeight: "var(--sl-line-height-dense)",
|
|
1658
1671
|
color: props.textColor || "var(--sqm-text)",
|
|
1672
|
+
minHeight: props.minHeight ? props.minHeight + "px" : undefined,
|
|
1659
1673
|
"& .image-area": {
|
|
1660
1674
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
1661
1675
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
@@ -1663,6 +1677,7 @@ function HeroImageView(props, children) {
|
|
|
1663
1677
|
display: "flex",
|
|
1664
1678
|
justifyContent: "center",
|
|
1665
1679
|
alignItems: "center",
|
|
1680
|
+
minHeight: props.minHeight ? props.minHeight + "px" : undefined,
|
|
1666
1681
|
"@media (max-width: 599px)": {
|
|
1667
1682
|
width: "100%",
|
|
1668
1683
|
},
|
|
@@ -1737,7 +1752,9 @@ function HeroImageView(props, children) {
|
|
|
1737
1752
|
return (index.h("div", null,
|
|
1738
1753
|
index.h("div", { class: sheet.classes.Column },
|
|
1739
1754
|
index.h("div", { class: "image-area" },
|
|
1740
|
-
index.h("img", { class: sheet.classes.Image, src: props.imageUrl,
|
|
1755
|
+
index.h("img", { class: sheet.classes.Image, src: imageUrl.optimizeCloudinaryUrl(props.imageUrl), alt: props.imageAlt || "", loading: "eager", decoding: "async",
|
|
1756
|
+
// @ts-ignore - fetchpriority is valid but not yet in JSX types
|
|
1757
|
+
fetchpriority: "high", part: "sqm-columns-image" })),
|
|
1741
1758
|
index.h("div", { class: "text-area", part: "sqm-columns-text-area" },
|
|
1742
1759
|
props.header && (index.h("div", { class: sheet.classes.Header, part: "sqm-columns-header" }, props.header)),
|
|
1743
1760
|
props.description && (index.h("div", { class: sheet.classes.Description, part: "sqm-columns-description" }, props.description)),
|
|
@@ -1815,6 +1832,18 @@ const HeroImage = class {
|
|
|
1815
1832
|
* @uiGroup Style
|
|
1816
1833
|
*/
|
|
1817
1834
|
this.buttonType = "primary";
|
|
1835
|
+
/**
|
|
1836
|
+
* Minimum height of the component in pixels. Reserves vertical space to prevent layout shift while the image loads.
|
|
1837
|
+
*
|
|
1838
|
+
* @uiName Minimum height (px)
|
|
1839
|
+
*/
|
|
1840
|
+
this.minHeight = 400;
|
|
1841
|
+
/**
|
|
1842
|
+
* Alt text for the hero image (columns layout). Leave empty for decorative images.
|
|
1843
|
+
*
|
|
1844
|
+
* @uiName Image alt text
|
|
1845
|
+
*/
|
|
1846
|
+
this.imageAlt = "";
|
|
1818
1847
|
domContextHooks_module.h$1(this);
|
|
1819
1848
|
}
|
|
1820
1849
|
disconnectedCallback() { }
|
|
@@ -1864,7 +1893,7 @@ function ImageView(props) {
|
|
|
1864
1893
|
styleString,
|
|
1865
1894
|
vanillaStyle),
|
|
1866
1895
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
1867
|
-
index.h("img", { part: "sqm-image", src: props.imageUrl, class: sheet.classes.Image }))));
|
|
1896
|
+
index.h("img", { part: "sqm-image", src: imageUrl.optimizeCloudinaryUrl(props.imageUrl), class: sheet.classes.Image, decoding: "async" }))));
|
|
1868
1897
|
}
|
|
1869
1898
|
|
|
1870
1899
|
const Image = class {
|
|
@@ -3068,8 +3097,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3068
3097
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3069
3098
|
}),
|
|
3070
3099
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3071
|
-
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3072
|
-
index.h("sl-button", { disabled: states.loading, type: "
|
|
3100
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3101
|
+
index.h("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3073
3102
|
alertType: "warning",
|
|
3074
3103
|
icon: "exclamation-triangle",
|
|
3075
3104
|
};
|
|
@@ -3083,8 +3112,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3083
3112
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3084
3113
|
}),
|
|
3085
3114
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3086
|
-
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3087
|
-
index.h("sl-button", { disabled: states.loading, type: "
|
|
3115
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3116
|
+
index.h("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3088
3117
|
alertType: "warning",
|
|
3089
3118
|
icon: "exclamation-triangle",
|
|
3090
3119
|
};
|
|
@@ -3098,8 +3127,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3098
3127
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3099
3128
|
}),
|
|
3100
3129
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3101
|
-
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3102
|
-
index.h("sl-button", { disabled: states.loading, type: "
|
|
3130
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3131
|
+
index.h("sl-button", { disabled: states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3103
3132
|
alertType: "warning",
|
|
3104
3133
|
icon: "exclamation-triangle",
|
|
3105
3134
|
};
|
|
@@ -3113,7 +3142,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3113
3142
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3114
3143
|
}),
|
|
3115
3144
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3116
|
-
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3145
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3117
3146
|
alertType: "warning",
|
|
3118
3147
|
icon: "exclamation-triangle",
|
|
3119
3148
|
};
|
|
@@ -3127,7 +3156,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3127
3156
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3128
3157
|
}),
|
|
3129
3158
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3130
|
-
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3159
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3131
3160
|
alertType: "error",
|
|
3132
3161
|
icon: "exclamation-triangle",
|
|
3133
3162
|
};
|
|
@@ -3152,9 +3181,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3152
3181
|
case "OVER_W9_THRESHOLD":
|
|
3153
3182
|
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
3154
3183
|
return;
|
|
3155
|
-
return data.type === "SquatchJS2" ? (index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (index.h("sl-button", { type: "
|
|
3184
|
+
return data.type === "SquatchJS2" ? (index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
3156
3185
|
// Demo case
|
|
3157
|
-
index.h("sl-button", { type: "
|
|
3186
|
+
index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base" }, text.w9RequiredButtonText));
|
|
3158
3187
|
case "INFORMATION_REQUIRED":
|
|
3159
3188
|
return data.type === "SquatchJS2" ? (index.h("div", { style: { paddingTop: "10px" } },
|
|
3160
3189
|
index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (index.h("div", { style: { paddingTop: "10px" } },
|
|
@@ -3171,9 +3200,6 @@ function PayoutStatusAlertView(props) {
|
|
|
3171
3200
|
return;
|
|
3172
3201
|
}
|
|
3173
3202
|
}
|
|
3174
|
-
if (states.loading) {
|
|
3175
|
-
return index.h("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3176
|
-
}
|
|
3177
3203
|
const alertDetails = getAlert(states.status);
|
|
3178
3204
|
if (states.status === "DONE" || !alertDetails) {
|
|
3179
3205
|
return index.h("div", null);
|
|
@@ -3181,7 +3207,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3181
3207
|
return (index.h("div", { part: "sqm-base" },
|
|
3182
3208
|
index.h("style", { type: "text/css" }, styleString$2),
|
|
3183
3209
|
index.h("style", { type: "text/css" }, vanillaStyle$1),
|
|
3184
|
-
index.h("sqm-form-message", { type: alertDetails.alertType },
|
|
3210
|
+
index.h("sqm-form-message", { loading: states.loading, type: alertDetails.alertType },
|
|
3185
3211
|
index.h("p", { part: "alert-title" }, alertDetails.header),
|
|
3186
3212
|
index.h("p", { part: "alert-description" }, alertDetails.description),
|
|
3187
3213
|
getButton(states.status))));
|
|
@@ -3310,7 +3336,7 @@ const PayoutStatusAlert = class {
|
|
|
3310
3336
|
/**
|
|
3311
3337
|
* @uiName W-9 payment threshold alert description
|
|
3312
3338
|
*/
|
|
3313
|
-
this.w9RequiredDescription = "You have surpassed the $
|
|
3339
|
+
this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
|
|
3314
3340
|
/**
|
|
3315
3341
|
* @uiName W-9 payment threshold alert button text
|
|
3316
3342
|
*/
|
|
@@ -3384,7 +3410,7 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
3384
3410
|
onPaymentInfoClick: () => { },
|
|
3385
3411
|
onNewFormClick: () => { },
|
|
3386
3412
|
},
|
|
3387
|
-
}, props.demoData ||
|
|
3413
|
+
}, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3388
3414
|
}
|
|
3389
3415
|
|
|
3390
3416
|
const GET_USER$1 = index_module.dist.gql `
|
|
@@ -3812,147 +3838,6 @@ const PortalFooter = class {
|
|
|
3812
3838
|
static get assetsDirs() { return ["../../assets"]; }
|
|
3813
3839
|
};
|
|
3814
3840
|
|
|
3815
|
-
function usePortalForgotPassword(props) {
|
|
3816
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
3817
|
-
const [success, setSuccess] = domContextHooks_module.useState(false);
|
|
3818
|
-
const [error, setError] = domContextHooks_module.useState("");
|
|
3819
|
-
const [request, { loading, data, errors }] = index_module.un();
|
|
3820
|
-
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
3821
|
-
const nextPage = urlParams.get("nextPage");
|
|
3822
|
-
const submit = async (event) => {
|
|
3823
|
-
var _a;
|
|
3824
|
-
setError("");
|
|
3825
|
-
setSuccess(false);
|
|
3826
|
-
let formData = event.detail.formData;
|
|
3827
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
3828
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
3829
|
-
});
|
|
3830
|
-
const urlParams = nextPage ? { nextPage } : null;
|
|
3831
|
-
const redirectPath = props.redirectPath;
|
|
3832
|
-
const variables = { email: formData.email, urlParams, redirectPath };
|
|
3833
|
-
const result = await request(variables);
|
|
3834
|
-
if (result instanceof Error) {
|
|
3835
|
-
if (result.message)
|
|
3836
|
-
setError(props.networkErrorMessage);
|
|
3837
|
-
return;
|
|
3838
|
-
}
|
|
3839
|
-
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
3840
|
-
setSuccess(true);
|
|
3841
|
-
}
|
|
3842
|
-
};
|
|
3843
|
-
return {
|
|
3844
|
-
states: {
|
|
3845
|
-
loading,
|
|
3846
|
-
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) ||
|
|
3847
|
-
error,
|
|
3848
|
-
success,
|
|
3849
|
-
loginPath: props.loginPath,
|
|
3850
|
-
headerText: props.headerText,
|
|
3851
|
-
loginText: props.loginText,
|
|
3852
|
-
},
|
|
3853
|
-
callbacks: {
|
|
3854
|
-
submit,
|
|
3855
|
-
},
|
|
3856
|
-
};
|
|
3857
|
-
}
|
|
3858
|
-
|
|
3859
|
-
const PortalForgotPassword = class {
|
|
3860
|
-
constructor(hostRef) {
|
|
3861
|
-
index.registerInstance(this, hostRef);
|
|
3862
|
-
this.ignored = true;
|
|
3863
|
-
/**
|
|
3864
|
-
* Redirect participants to this page after they verify their email.
|
|
3865
|
-
*
|
|
3866
|
-
* @uiName Email redirect
|
|
3867
|
-
* @uiWidget pageSelect
|
|
3868
|
-
*/
|
|
3869
|
-
this.redirectPath = "/resetPassword";
|
|
3870
|
-
/**
|
|
3871
|
-
* @uiName Email field label
|
|
3872
|
-
*/
|
|
3873
|
-
this.emailLabel = "Email";
|
|
3874
|
-
/**
|
|
3875
|
-
* @uiName Password reset button text
|
|
3876
|
-
*/
|
|
3877
|
-
this.submitLabel = "Request Password Reset";
|
|
3878
|
-
/**
|
|
3879
|
-
* @uiName Login redirect path
|
|
3880
|
-
* @uiWidget pageSelect
|
|
3881
|
-
*/
|
|
3882
|
-
this.loginPath = "/login";
|
|
3883
|
-
/**
|
|
3884
|
-
* @uiName Header text
|
|
3885
|
-
* @uiWidget textArea
|
|
3886
|
-
*/
|
|
3887
|
-
this.headerText = "Enter your email below to receive a password reset link.";
|
|
3888
|
-
/**
|
|
3889
|
-
* @uiName Sign in link text
|
|
3890
|
-
*/
|
|
3891
|
-
this.loginText = "Sign In";
|
|
3892
|
-
/**
|
|
3893
|
-
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
3894
|
-
* @uiName Network error message
|
|
3895
|
-
*/
|
|
3896
|
-
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
3897
|
-
/**
|
|
3898
|
-
* @uiName Email verification sent text
|
|
3899
|
-
*/
|
|
3900
|
-
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
3901
|
-
/**
|
|
3902
|
-
* @uiName Background color
|
|
3903
|
-
* @uiWidget color
|
|
3904
|
-
*/
|
|
3905
|
-
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
3906
|
-
/**
|
|
3907
|
-
* @uiName Border radius
|
|
3908
|
-
* @uiWidget number
|
|
3909
|
-
*/
|
|
3910
|
-
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
3911
|
-
/**
|
|
3912
|
-
* @uiName Border style
|
|
3913
|
-
* @uiWidget textArea
|
|
3914
|
-
*/
|
|
3915
|
-
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
3916
|
-
domContextHooks_module.h$1(this);
|
|
3917
|
-
}
|
|
3918
|
-
disconnectedCallback() { }
|
|
3919
|
-
render() {
|
|
3920
|
-
const { states, callbacks } = index_module.isDemo()
|
|
3921
|
-
? usePortalForgotPasswordDemo(this)
|
|
3922
|
-
: usePortalForgotPassword(this);
|
|
3923
|
-
const content = {
|
|
3924
|
-
messageSlot: index.h("slot", { name: "messageSlot" }, this.headerText),
|
|
3925
|
-
emailLabel: this.emailLabel,
|
|
3926
|
-
submitLabel: this.submitLabel,
|
|
3927
|
-
successAlertText: this.successAlertText,
|
|
3928
|
-
loginText: this.loginText,
|
|
3929
|
-
backgroundColor: this.backgroundColor,
|
|
3930
|
-
borderRadius: this.borderRadius,
|
|
3931
|
-
border: this.border,
|
|
3932
|
-
};
|
|
3933
|
-
return (index.h(ShadowViewAddon.PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
3934
|
-
}
|
|
3935
|
-
};
|
|
3936
|
-
function usePortalForgotPasswordDemo(props) {
|
|
3937
|
-
return cjs.cjs({
|
|
3938
|
-
states: { error: "", loading: false, success: false },
|
|
3939
|
-
callbacks: {
|
|
3940
|
-
submit: async (_event) => { },
|
|
3941
|
-
},
|
|
3942
|
-
content: {
|
|
3943
|
-
secondaryButton: (index.h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => index_module.jn.push(props.loginPath) }, props.loginText)),
|
|
3944
|
-
messageSlot: index.h("span", null, props.headerText),
|
|
3945
|
-
emailLabel: props.emailLabel,
|
|
3946
|
-
submitLabel: props.submitLabel,
|
|
3947
|
-
successAlertText: props.successAlertText,
|
|
3948
|
-
loginText: props.loginText,
|
|
3949
|
-
backgroundColor: props.backgroundColor,
|
|
3950
|
-
borderRadius: props.borderRadius,
|
|
3951
|
-
border: props.border,
|
|
3952
|
-
},
|
|
3953
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
3954
|
-
}
|
|
3955
|
-
|
|
3956
3841
|
function usePortalFrame(footerContent, headerContent, props) {
|
|
3957
3842
|
const [, rerender] = index_module.yn();
|
|
3958
3843
|
return {
|
|
@@ -4027,186 +3912,6 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
4027
3912
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4028
3913
|
}
|
|
4029
3914
|
|
|
4030
|
-
function usePortalLogin(props) {
|
|
4031
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
4032
|
-
const [request, { loading, errors, data }] = index_module.je();
|
|
4033
|
-
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = index_module.hn();
|
|
4034
|
-
const [error, setError] = domContextHooks_module.useState("");
|
|
4035
|
-
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
4036
|
-
const nextPageOverride = urlParams.get("nextPage");
|
|
4037
|
-
const googleSubmit = async (e) => {
|
|
4038
|
-
var _a, _b, _c, _d;
|
|
4039
|
-
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
4040
|
-
return;
|
|
4041
|
-
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
4042
|
-
if (result instanceof Error) {
|
|
4043
|
-
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"]))
|
|
4044
|
-
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."; })) {
|
|
4045
|
-
setError(props.googleUserNotRegisteredError);
|
|
4046
|
-
}
|
|
4047
|
-
else {
|
|
4048
|
-
setError(props.networkErrorMessage);
|
|
4049
|
-
}
|
|
4050
|
-
return;
|
|
4051
|
-
}
|
|
4052
|
-
if ((_d = result.authenticateManagedIdentityWithGoogle) === null || _d === void 0 ? void 0 : _d.token) {
|
|
4053
|
-
urlParams.delete("nextPage");
|
|
4054
|
-
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
4055
|
-
index_module.jn.push(url.href);
|
|
4056
|
-
}
|
|
4057
|
-
};
|
|
4058
|
-
const submit = async (event) => {
|
|
4059
|
-
var _a, _b;
|
|
4060
|
-
setError("");
|
|
4061
|
-
let formData = event.detail.formData;
|
|
4062
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
4063
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
4064
|
-
});
|
|
4065
|
-
const variables = { email: formData.email, password: formData.password };
|
|
4066
|
-
const result = await request(variables);
|
|
4067
|
-
if (result instanceof Error) {
|
|
4068
|
-
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"]))
|
|
4069
|
-
setError(props.networkErrorMessage);
|
|
4070
|
-
return;
|
|
4071
|
-
}
|
|
4072
|
-
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
4073
|
-
urlParams.delete("nextPage");
|
|
4074
|
-
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
4075
|
-
index_module.jn.push(url.href);
|
|
4076
|
-
}
|
|
4077
|
-
};
|
|
4078
|
-
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) ||
|
|
4079
|
-
error;
|
|
4080
|
-
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) ||
|
|
4081
|
-
error;
|
|
4082
|
-
return {
|
|
4083
|
-
states: {
|
|
4084
|
-
loading: loading || gLoading,
|
|
4085
|
-
error: errorMessage || googleErrorMessage,
|
|
4086
|
-
registerPath: props.registerPath,
|
|
4087
|
-
forgotPasswordPath: props.forgotPasswordPath,
|
|
4088
|
-
},
|
|
4089
|
-
callbacks: {
|
|
4090
|
-
googleSubmit,
|
|
4091
|
-
submit,
|
|
4092
|
-
},
|
|
4093
|
-
};
|
|
4094
|
-
}
|
|
4095
|
-
|
|
4096
|
-
const PortalGoogleLogin = class {
|
|
4097
|
-
constructor(hostRef) {
|
|
4098
|
-
index.registerInstance(this, hostRef);
|
|
4099
|
-
this.ignored = true;
|
|
4100
|
-
/**
|
|
4101
|
-
* Redirect participants to this page after they successfully login.
|
|
4102
|
-
*
|
|
4103
|
-
* @uiName Login redirect
|
|
4104
|
-
* @uiWidget pageSelect
|
|
4105
|
-
*/
|
|
4106
|
-
this.nextPage = "/";
|
|
4107
|
-
/**
|
|
4108
|
-
* @uiName Email field label
|
|
4109
|
-
*/
|
|
4110
|
-
this.emailLabel = "Email";
|
|
4111
|
-
/**
|
|
4112
|
-
* @uiName Password field label
|
|
4113
|
-
*/
|
|
4114
|
-
this.passwordLabel = "Password";
|
|
4115
|
-
/**
|
|
4116
|
-
* @uiName Submit button text
|
|
4117
|
-
*/
|
|
4118
|
-
this.submitLabel = "Sign In";
|
|
4119
|
-
/**
|
|
4120
|
-
* Redirect participants to this page to reset their password
|
|
4121
|
-
* @uiName Forgot password redirect
|
|
4122
|
-
* @uiWidget pageSelect
|
|
4123
|
-
*/
|
|
4124
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
4125
|
-
/**
|
|
4126
|
-
* @uiName Forgot password text
|
|
4127
|
-
*/
|
|
4128
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
4129
|
-
/**
|
|
4130
|
-
* @uiName Register button text
|
|
4131
|
-
*/
|
|
4132
|
-
this.registerLabel = "Register";
|
|
4133
|
-
/**
|
|
4134
|
-
* Redirect participants to this page to start registration.
|
|
4135
|
-
* @uiName Register button redirect
|
|
4136
|
-
* @uiWidget pageSelect
|
|
4137
|
-
*/
|
|
4138
|
-
this.registerPath = "/register";
|
|
4139
|
-
/**
|
|
4140
|
-
* @uiName Heading label
|
|
4141
|
-
* @uiWidget textArea
|
|
4142
|
-
*/
|
|
4143
|
-
this.pageLabel = "Sign in to your account";
|
|
4144
|
-
/**
|
|
4145
|
-
* @uiName Network error message
|
|
4146
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
4147
|
-
*/
|
|
4148
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
4149
|
-
/**
|
|
4150
|
-
* @uiName Google account error message
|
|
4151
|
-
* Displayed when user tries to sign in with Google account but has not registered.
|
|
4152
|
-
*/
|
|
4153
|
-
this.googleUserNotRegisteredError = "Your Google account has not registered on our platform. Please complete the registration process with your Google account.";
|
|
4154
|
-
/**
|
|
4155
|
-
* @uiName Register CTA
|
|
4156
|
-
*/
|
|
4157
|
-
this.registerCTA = "Don't have an account?";
|
|
4158
|
-
domContextHooks_module.h$1(this);
|
|
4159
|
-
}
|
|
4160
|
-
disconnectedCallback() { }
|
|
4161
|
-
render() {
|
|
4162
|
-
const { states, callbacks } = index_module.isDemo()
|
|
4163
|
-
? useLoginDemo(this)
|
|
4164
|
-
: usePortalLogin(this);
|
|
4165
|
-
const styles = {
|
|
4166
|
-
RegisterButton: {
|
|
4167
|
-
"&::part(label)": {
|
|
4168
|
-
padding: "0",
|
|
4169
|
-
},
|
|
4170
|
-
},
|
|
4171
|
-
};
|
|
4172
|
-
const sheet = JSS.createStyleSheet(styles);
|
|
4173
|
-
const styleString = sheet.toString();
|
|
4174
|
-
const content = {
|
|
4175
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
4176
|
-
googleButton: (index.h("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
|
|
4177
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("span", null, this.registerCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
|
|
4178
|
-
emailLabel: this.emailLabel,
|
|
4179
|
-
passwordLabel: this.passwordLabel,
|
|
4180
|
-
submitLabel: this.submitLabel,
|
|
4181
|
-
pageLabel: this.pageLabel,
|
|
4182
|
-
};
|
|
4183
|
-
return (index.h(ShadowViewAddon.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
4184
|
-
}
|
|
4185
|
-
};
|
|
4186
|
-
function useLoginDemo(props) {
|
|
4187
|
-
var _a, _b;
|
|
4188
|
-
return cjs.cjs({
|
|
4189
|
-
states: {
|
|
4190
|
-
error: ((_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.error) || "",
|
|
4191
|
-
loading: false,
|
|
4192
|
-
forgotPasswordPath: "/forgotPassword",
|
|
4193
|
-
registerPath: "/register",
|
|
4194
|
-
showLoginForm: "manual",
|
|
4195
|
-
},
|
|
4196
|
-
callbacks: {
|
|
4197
|
-
googleSubmit: async () => {
|
|
4198
|
-
console.log("google submit");
|
|
4199
|
-
},
|
|
4200
|
-
submit: async (_event) => {
|
|
4201
|
-
console.log("submit");
|
|
4202
|
-
},
|
|
4203
|
-
},
|
|
4204
|
-
content: {
|
|
4205
|
-
googleButton: null,
|
|
4206
|
-
},
|
|
4207
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4208
|
-
}
|
|
4209
|
-
|
|
4210
3915
|
class InvalidTokenError extends Error {
|
|
4211
3916
|
}
|
|
4212
3917
|
InvalidTokenError.prototype.name = "InvalidTokenError";
|
|
@@ -4569,403 +4274,6 @@ function useGoogleDemo(props) {
|
|
|
4569
4274
|
}, props.demoGoogleData || {}, { arrayMerge: (_, a) => a });
|
|
4570
4275
|
}
|
|
4571
4276
|
|
|
4572
|
-
const PortalLogin = class {
|
|
4573
|
-
constructor(hostRef) {
|
|
4574
|
-
index.registerInstance(this, hostRef);
|
|
4575
|
-
this.ignored = true;
|
|
4576
|
-
/**
|
|
4577
|
-
* Redirect participants to this page after they successfully login.
|
|
4578
|
-
*
|
|
4579
|
-
* @uiName Login redirect
|
|
4580
|
-
* @uiWidget pageSelect
|
|
4581
|
-
*/
|
|
4582
|
-
this.nextPage = "/";
|
|
4583
|
-
/**
|
|
4584
|
-
* @uiName Email field label
|
|
4585
|
-
*/
|
|
4586
|
-
this.emailLabel = "Email";
|
|
4587
|
-
/**
|
|
4588
|
-
* @uiName Password field label
|
|
4589
|
-
*/
|
|
4590
|
-
this.passwordLabel = "Password";
|
|
4591
|
-
/**
|
|
4592
|
-
* @uiName Submit button text
|
|
4593
|
-
*/
|
|
4594
|
-
this.submitLabel = "Sign In";
|
|
4595
|
-
/**
|
|
4596
|
-
* Redirect participants to this page to reset their password
|
|
4597
|
-
* @uiName Forgot password redirect
|
|
4598
|
-
* @uiWidget pageSelect
|
|
4599
|
-
*/
|
|
4600
|
-
this.forgotPasswordPath = "/forgotPassword";
|
|
4601
|
-
/**
|
|
4602
|
-
* @uiName Forgot password text
|
|
4603
|
-
*/
|
|
4604
|
-
this.forgotPasswordLabel = "Forgot Password?";
|
|
4605
|
-
/**
|
|
4606
|
-
* @uiName Register button text
|
|
4607
|
-
*/
|
|
4608
|
-
this.registerLabel = "Register";
|
|
4609
|
-
/**
|
|
4610
|
-
* Redirect participants to this page to start registration.
|
|
4611
|
-
* @uiName Register button redirect
|
|
4612
|
-
* @uiWidget pageSelect
|
|
4613
|
-
*/
|
|
4614
|
-
this.registerPath = "/register";
|
|
4615
|
-
/**
|
|
4616
|
-
* @uiName Heading label
|
|
4617
|
-
* @uiWidget textArea
|
|
4618
|
-
*/
|
|
4619
|
-
this.pageLabel = "Sign in to your account";
|
|
4620
|
-
/**
|
|
4621
|
-
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
4622
|
-
* @uiName Network error message
|
|
4623
|
-
*/
|
|
4624
|
-
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
4625
|
-
domContextHooks_module.h$1(this);
|
|
4626
|
-
}
|
|
4627
|
-
disconnectedCallback() { }
|
|
4628
|
-
render() {
|
|
4629
|
-
const { states, callbacks } = index_module.isDemo()
|
|
4630
|
-
? useLoginDemo$1(this)
|
|
4631
|
-
: usePortalLogin(this);
|
|
4632
|
-
const styles = {
|
|
4633
|
-
RegisterButton: {
|
|
4634
|
-
"&::part(label)": {
|
|
4635
|
-
padding: "0",
|
|
4636
|
-
},
|
|
4637
|
-
},
|
|
4638
|
-
};
|
|
4639
|
-
const sheet = JSS.createStyleSheet(styles);
|
|
4640
|
-
const styleString = sheet.toString();
|
|
4641
|
-
const content = {
|
|
4642
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
4643
|
-
googleButton: null,
|
|
4644
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath) }, this.registerLabel))),
|
|
4645
|
-
emailLabel: this.emailLabel,
|
|
4646
|
-
passwordLabel: this.passwordLabel,
|
|
4647
|
-
submitLabel: this.submitLabel,
|
|
4648
|
-
pageLabel: this.pageLabel,
|
|
4649
|
-
};
|
|
4650
|
-
return (index.h(ShadowViewAddon.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
4651
|
-
}
|
|
4652
|
-
};
|
|
4653
|
-
function useLoginDemo$1(props) {
|
|
4654
|
-
return cjs.cjs({
|
|
4655
|
-
states: {
|
|
4656
|
-
error: "",
|
|
4657
|
-
loading: false,
|
|
4658
|
-
forgotPasswordPath: "/forgotPassword",
|
|
4659
|
-
registerPath: "/register",
|
|
4660
|
-
showLoginForm: "manual",
|
|
4661
|
-
},
|
|
4662
|
-
callbacks: {
|
|
4663
|
-
googleSubmit: async () => {
|
|
4664
|
-
console.log("google submit");
|
|
4665
|
-
},
|
|
4666
|
-
submit: async (_event) => {
|
|
4667
|
-
console.log("submit");
|
|
4668
|
-
},
|
|
4669
|
-
},
|
|
4670
|
-
content: {
|
|
4671
|
-
googleButton: null,
|
|
4672
|
-
},
|
|
4673
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4674
|
-
}
|
|
4675
|
-
|
|
4676
|
-
function usePortalRegister(props) {
|
|
4677
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
4678
|
-
const formRef = domContextHooks_module.useRef(null);
|
|
4679
|
-
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
4680
|
-
const [request, { loading, errors, data }] = index_module.Ve();
|
|
4681
|
-
domContextHooks_module.useEffect(() => {
|
|
4682
|
-
if (!formRef.current)
|
|
4683
|
-
return;
|
|
4684
|
-
const form = formRef.current;
|
|
4685
|
-
form.addEventListener("sl-input", inputFunction);
|
|
4686
|
-
return () => {
|
|
4687
|
-
form.removeEventListener("sl-input", inputFunction);
|
|
4688
|
-
};
|
|
4689
|
-
}, [formRef.current]);
|
|
4690
|
-
const submit = async (event) => {
|
|
4691
|
-
var _a;
|
|
4692
|
-
let formControls = event.target.getFormControls();
|
|
4693
|
-
let formData = {};
|
|
4694
|
-
let validationErrors = {};
|
|
4695
|
-
formControls === null || formControls === void 0 ? void 0 : formControls.forEach((control) => {
|
|
4696
|
-
if (!control.name)
|
|
4697
|
-
return;
|
|
4698
|
-
const key = control.name;
|
|
4699
|
-
const value = control.value;
|
|
4700
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
4701
|
-
// required validation
|
|
4702
|
-
if (control.required && !value) {
|
|
4703
|
-
jsonpointer.jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
|
|
4704
|
-
}
|
|
4705
|
-
// custom validation
|
|
4706
|
-
if (typeof control.validationError === "function") {
|
|
4707
|
-
const validate = control.validationError;
|
|
4708
|
-
const validationError = validate({ control, key, value });
|
|
4709
|
-
if (validationError)
|
|
4710
|
-
jsonpointer.jsonpointer.set(validationErrors, key, validationError);
|
|
4711
|
-
}
|
|
4712
|
-
});
|
|
4713
|
-
if ((props.confirmPassword || formData.confirmPassword) &&
|
|
4714
|
-
formData.password !== formData.confirmPassword) {
|
|
4715
|
-
validationErrors = {
|
|
4716
|
-
...validationErrors,
|
|
4717
|
-
confirmPassword: props.passwordMismatchErrorMessage,
|
|
4718
|
-
};
|
|
4719
|
-
}
|
|
4720
|
-
if (Object.keys(validationErrors).length) {
|
|
4721
|
-
setRegistrationFormState({ loading: false, error: "", validationErrors });
|
|
4722
|
-
// early return for validation errors
|
|
4723
|
-
return;
|
|
4724
|
-
}
|
|
4725
|
-
setRegistrationFormState({
|
|
4726
|
-
loading: true,
|
|
4727
|
-
error: "",
|
|
4728
|
-
validationErrors: {},
|
|
4729
|
-
});
|
|
4730
|
-
const { email, password } = formData;
|
|
4731
|
-
delete formData.email;
|
|
4732
|
-
delete formData.password;
|
|
4733
|
-
delete formData.confirmPassword;
|
|
4734
|
-
formData = { ...formData };
|
|
4735
|
-
const redirectPath = props.redirectPath;
|
|
4736
|
-
const variables = {
|
|
4737
|
-
email,
|
|
4738
|
-
password,
|
|
4739
|
-
formData,
|
|
4740
|
-
redirectPath,
|
|
4741
|
-
};
|
|
4742
|
-
try {
|
|
4743
|
-
const result = await request(variables);
|
|
4744
|
-
if (result instanceof Error) {
|
|
4745
|
-
throw result;
|
|
4746
|
-
}
|
|
4747
|
-
setRegistrationFormState({
|
|
4748
|
-
loading: false,
|
|
4749
|
-
error: "",
|
|
4750
|
-
validationErrors: {},
|
|
4751
|
-
});
|
|
4752
|
-
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
4753
|
-
index_module.jn.push(props.nextPage);
|
|
4754
|
-
}
|
|
4755
|
-
}
|
|
4756
|
-
catch (error) {
|
|
4757
|
-
setRegistrationFormState({
|
|
4758
|
-
loading: false,
|
|
4759
|
-
error: props.networkErrorMessage,
|
|
4760
|
-
validationErrors: {},
|
|
4761
|
-
});
|
|
4762
|
-
}
|
|
4763
|
-
};
|
|
4764
|
-
const inputFunction = index_module.useCallback((e) => {
|
|
4765
|
-
var _a, _b;
|
|
4766
|
-
const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
|
|
4767
|
-
if (name !== "tel")
|
|
4768
|
-
return;
|
|
4769
|
-
const asYouType = new usePortalRegistrationForm.AsYouType("US");
|
|
4770
|
-
e.target.value = asYouType.input(e.target.value);
|
|
4771
|
-
}, []);
|
|
4772
|
-
let errorMessage = "";
|
|
4773
|
-
if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
|
|
4774
|
-
errorMessage = props.networkErrorMessage;
|
|
4775
|
-
}
|
|
4776
|
-
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)) {
|
|
4777
|
-
errorMessage = props.networkErrorMessage;
|
|
4778
|
-
}
|
|
4779
|
-
else {
|
|
4780
|
-
errorMessage =
|
|
4781
|
-
((_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);
|
|
4782
|
-
}
|
|
4783
|
-
return {
|
|
4784
|
-
states: {
|
|
4785
|
-
loading,
|
|
4786
|
-
error: errorMessage,
|
|
4787
|
-
registrationFormState,
|
|
4788
|
-
confirmPassword: props.confirmPassword,
|
|
4789
|
-
hideInputs: props.hideInputs,
|
|
4790
|
-
loginPath: props.loginPath,
|
|
4791
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4792
|
-
},
|
|
4793
|
-
callbacks: {
|
|
4794
|
-
submit,
|
|
4795
|
-
inputFunction,
|
|
4796
|
-
},
|
|
4797
|
-
refs: {
|
|
4798
|
-
formRef,
|
|
4799
|
-
},
|
|
4800
|
-
};
|
|
4801
|
-
}
|
|
4802
|
-
|
|
4803
|
-
const PortalRegister = class {
|
|
4804
|
-
constructor(hostRef) {
|
|
4805
|
-
index.registerInstance(this, hostRef);
|
|
4806
|
-
this.ignored = false;
|
|
4807
|
-
/**
|
|
4808
|
-
* Redirect participants to this page from their verification email
|
|
4809
|
-
*
|
|
4810
|
-
* @uiName Registration redirect
|
|
4811
|
-
* @uiWidget pageSelect
|
|
4812
|
-
*/
|
|
4813
|
-
this.nextPage = "/";
|
|
4814
|
-
/**
|
|
4815
|
-
* The page that participants are redirected to from the verification email.
|
|
4816
|
-
*
|
|
4817
|
-
* @uiName Email verification redirect
|
|
4818
|
-
* @uiWidget pageSelect
|
|
4819
|
-
*/
|
|
4820
|
-
this.redirectPath = "/verifyEmail";
|
|
4821
|
-
/**
|
|
4822
|
-
* @uiName Email field label
|
|
4823
|
-
*/
|
|
4824
|
-
this.emailLabel = "Email";
|
|
4825
|
-
/**
|
|
4826
|
-
* @uiName Password field label
|
|
4827
|
-
*/
|
|
4828
|
-
this.passwordLabel = "Password";
|
|
4829
|
-
/**
|
|
4830
|
-
* @uiName Submit button text
|
|
4831
|
-
*/
|
|
4832
|
-
this.submitLabel = "Register";
|
|
4833
|
-
/**
|
|
4834
|
-
* @uiName Login button text
|
|
4835
|
-
*/
|
|
4836
|
-
this.loginLabel = "Sign in";
|
|
4837
|
-
/**
|
|
4838
|
-
* @uiName Confirm password field label
|
|
4839
|
-
*/
|
|
4840
|
-
this.confirmPasswordLabel = "Confirm Password";
|
|
4841
|
-
/**
|
|
4842
|
-
* @uiName Show confirm password field
|
|
4843
|
-
*/
|
|
4844
|
-
this.confirmPassword = false;
|
|
4845
|
-
/**
|
|
4846
|
-
* @uiName Disable password validation
|
|
4847
|
-
*/
|
|
4848
|
-
this.disablePasswordValidation = false;
|
|
4849
|
-
/**
|
|
4850
|
-
* 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.
|
|
4851
|
-
*
|
|
4852
|
-
* @uiName Hide default fields
|
|
4853
|
-
*/
|
|
4854
|
-
this.hideInputs = false;
|
|
4855
|
-
/**
|
|
4856
|
-
* @uiName Header text
|
|
4857
|
-
*/
|
|
4858
|
-
this.pageLabel = "Register";
|
|
4859
|
-
/**
|
|
4860
|
-
* Redirect participants to this page after clicking the login button.
|
|
4861
|
-
*
|
|
4862
|
-
* @uiName Login redirect
|
|
4863
|
-
* @uiWidget pageSelect
|
|
4864
|
-
*/
|
|
4865
|
-
this.loginPath = "/login";
|
|
4866
|
-
/**
|
|
4867
|
-
* The message to be displayed when a required field is not filled.
|
|
4868
|
-
*
|
|
4869
|
-
* @uiName Required field message
|
|
4870
|
-
* @uiWidget textArea
|
|
4871
|
-
*/
|
|
4872
|
-
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
4873
|
-
/**
|
|
4874
|
-
* The message to be displayed when a the form submission fails unexpectedly.
|
|
4875
|
-
*
|
|
4876
|
-
* @uiName Network error message
|
|
4877
|
-
* @uiWidget textArea
|
|
4878
|
-
*/
|
|
4879
|
-
this.networkErrorMessage = "Network request failed.";
|
|
4880
|
-
/**
|
|
4881
|
-
* The message to be displayed when password inputs do not match.
|
|
4882
|
-
*
|
|
4883
|
-
* @uiName Password mismatch message
|
|
4884
|
-
* @uiWidget textArea
|
|
4885
|
-
*/
|
|
4886
|
-
this.passwordMismatchErrorMessage = "Passwords do not match.";
|
|
4887
|
-
/**
|
|
4888
|
-
* The message to be displayed when the email used is invalid or blocked.
|
|
4889
|
-
*
|
|
4890
|
-
* @uiName Invalid email message
|
|
4891
|
-
* @uiWidget textArea
|
|
4892
|
-
*/
|
|
4893
|
-
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
4894
|
-
/**
|
|
4895
|
-
* @uiName Password requirement met
|
|
4896
|
-
*/
|
|
4897
|
-
this.meetsRequirementsText = "Password has met all requirements";
|
|
4898
|
-
/**
|
|
4899
|
-
* @uiName Password requirement failed
|
|
4900
|
-
*/
|
|
4901
|
-
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
4902
|
-
/**
|
|
4903
|
-
* @uiName Minimum length text
|
|
4904
|
-
*/
|
|
4905
|
-
this.minErrorText = "be a minimum of 8 characters";
|
|
4906
|
-
/**
|
|
4907
|
-
* @uiName Missing uppercase text
|
|
4908
|
-
*/
|
|
4909
|
-
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
4910
|
-
/**
|
|
4911
|
-
* @uiName Missing lowercase text
|
|
4912
|
-
*/
|
|
4913
|
-
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
4914
|
-
/**
|
|
4915
|
-
* @uiName Missing number or symbol text
|
|
4916
|
-
*/
|
|
4917
|
-
this.hasErrorText = "contain at least 1 number or symbol";
|
|
4918
|
-
domContextHooks_module.h$1(this);
|
|
4919
|
-
}
|
|
4920
|
-
disconnectedCallback() { }
|
|
4921
|
-
render() {
|
|
4922
|
-
const { states, callbacks, refs } = index_module.isDemo()
|
|
4923
|
-
? useRegisterDemo$2(this)
|
|
4924
|
-
: usePortalRegister(this);
|
|
4925
|
-
const content = {
|
|
4926
|
-
formData: index.h("slot", { name: "formData" }),
|
|
4927
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, this.loginLabel))),
|
|
4928
|
-
terms: index.h("slot", { name: "terms" }),
|
|
4929
|
-
emailLabel: this.emailLabel,
|
|
4930
|
-
passwordLabel: this.passwordLabel,
|
|
4931
|
-
submitLabel: this.submitLabel,
|
|
4932
|
-
pageLabel: this.pageLabel,
|
|
4933
|
-
confirmPasswordLabel: this.confirmPasswordLabel,
|
|
4934
|
-
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
4935
|
-
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
4936
|
-
meetsRequirementsText: this.meetsRequirementsText,
|
|
4937
|
-
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
4938
|
-
minErrorText: this.minErrorText,
|
|
4939
|
-
uppercaseErrorText: this.uppercaseErrorText,
|
|
4940
|
-
lowercaseErrorText: this.lowercaseErrorText,
|
|
4941
|
-
hasErrorText: this.hasErrorText,
|
|
4942
|
-
};
|
|
4943
|
-
return (index.h(ShadowViewAddon.PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
4944
|
-
}
|
|
4945
|
-
};
|
|
4946
|
-
function useRegisterDemo$2(props) {
|
|
4947
|
-
return cjs.cjs({
|
|
4948
|
-
states: {
|
|
4949
|
-
error: "",
|
|
4950
|
-
loading: false,
|
|
4951
|
-
confirmPassword: props.confirmPassword,
|
|
4952
|
-
hideInputs: props.hideInputs || false,
|
|
4953
|
-
customPasswordField: false,
|
|
4954
|
-
loginPath: props.loginPath,
|
|
4955
|
-
disablePasswordValidation: props.disablePasswordValidation,
|
|
4956
|
-
},
|
|
4957
|
-
callbacks: {
|
|
4958
|
-
submit: async (_event) => {
|
|
4959
|
-
console.log("submit");
|
|
4960
|
-
},
|
|
4961
|
-
inputFunction: () => { },
|
|
4962
|
-
},
|
|
4963
|
-
refs: {
|
|
4964
|
-
formRef: {},
|
|
4965
|
-
},
|
|
4966
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4967
|
-
}
|
|
4968
|
-
|
|
4969
4277
|
function ProgramExplainerView(props, children) {
|
|
4970
4278
|
const style = {
|
|
4971
4279
|
Container: {
|
|
@@ -5082,7 +4390,10 @@ function ProgramExplainerStepView(props) {
|
|
|
5082
4390
|
const styleString = sheet.toString();
|
|
5083
4391
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
5084
4392
|
index.h("style", { type: "text/css" }, styleString),
|
|
5085
|
-
index.h("div", null, props.imageUrl ? (index.h("img", { class: sheet.classes.Media, src: props.imageUrl,
|
|
4393
|
+
index.h("div", null, props.imageUrl ? (index.h("img", { class: sheet.classes.Media, src: imageUrl.optimizeCloudinaryUrl(props.imageUrl, {
|
|
4394
|
+
width: 128,
|
|
4395
|
+
height: 128,
|
|
4396
|
+
}), part: "sqm-media", decoding: "async" })) : (index.h("div", { class: sheet.classes.Media, part: "sqm-media" },
|
|
5086
4397
|
index.h("sl-icon", { name: props.icon })))),
|
|
5087
4398
|
index.h("div", { class: sheet.classes.Text },
|
|
5088
4399
|
index.h("div", { class: sheet.classes.Header, part: "sqm-header" }, props.header),
|
|
@@ -8645,12 +7956,8 @@ exports.sqm_payout_status_alert = PayoutStatusAlert;
|
|
|
8645
7956
|
exports.sqm_portal_change_marketing = PortalChangeMarketing;
|
|
8646
7957
|
exports.sqm_portal_change_password = PortalChangePassword;
|
|
8647
7958
|
exports.sqm_portal_footer = PortalFooter;
|
|
8648
|
-
exports.sqm_portal_forgot_password = PortalForgotPassword;
|
|
8649
7959
|
exports.sqm_portal_frame = PortalFrame;
|
|
8650
|
-
exports.sqm_portal_google_login = PortalGoogleLogin;
|
|
8651
7960
|
exports.sqm_portal_google_registration_form = PortalGoogleRegistrationForm;
|
|
8652
|
-
exports.sqm_portal_login = PortalLogin;
|
|
8653
|
-
exports.sqm_portal_register = PortalRegister;
|
|
8654
7961
|
exports.sqm_program_explainer = ProgramExplainer;
|
|
8655
7962
|
exports.sqm_program_explainer_step = ProgramExplainerStep;
|
|
8656
7963
|
exports.sqm_program_menu = ProgramMenu;
|