@saasquatch/mint-components 2.1.9-9 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-d679ec76.js → ShadowViewAddon-1798acd3.js} +410 -24
- package/dist/cjs/{data-e83f8a41.js → data-8c8a08f6.js} +2 -2
- package/dist/cjs/extractProps-e9c55ba8.js +35 -0
- package/dist/cjs/{global-0f8b1267.js → global-b7b1b8fe.js} +3126 -3177
- package/dist/cjs/{index.module-42d413d9.js → index.module-f8c8495f.js} +149 -154
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-69bde9ee.js → re-render-72a0ef45.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +68 -401
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +229 -421
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +8 -7
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +418 -0
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-d90f8941.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-818d9e9a.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-20693e59.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-2b4b92da.js → sqm-portal-email-verification-view-abb773a7.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-bfdbb98d.js → sqm-portal-profile-view-3515e1e5.js} +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-90cd89e3.js → sqm-portal-verify-email-view-717d0633.js} +2 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +174 -220
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-user-info-form-view-923ff8d9.js → sqm-user-info-form-view-53306f6e.js} +12 -9
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +214 -0
- package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-651aa95b.js → useInstantAccessRegistration-2398df36.js} +2 -2
- package/dist/cjs/{useLeadFormState-76d3b511.js → useLeadFormState-b4c2ab5b.js} +2 -2
- package/dist/cjs/{usePayoutStatus-cf050a03.js → usePayoutStatus-0192fccd.js} +6 -4
- package/dist/cjs/{usePortalRegistrationForm-31822dc4.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
- package/dist/cjs/{useReferralCodes-89c2b972.js → useReferralCodes-0f7948af.js} +1 -1
- package/dist/cjs/{useReferralTable-d3ddfd05.js → useReferralTable-6e9de0d5.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-a223f597.js → useRegistrationFormState-4fe5b770.js} +1 -1
- package/dist/cjs/{useVerificationEmail-994bc32f.js → useVerificationEmail-5d19aa99.js} +1 -1
- package/dist/cjs/{utilities-096934ea.js → utilities-fcdb9504.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +132 -11
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +685 -27
- package/dist/collection/components/sqm-share-link/useShareLink.js +210 -14
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -4
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +4 -3
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +4 -473
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +37 -75
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +13 -688
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -10
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -7
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -7
- package/dist/esm/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-44c263e0.js} +411 -26
- package/dist/esm/{data-2b0feb3f.js → data-12e6aae1.js} +2 -2
- package/dist/esm/extractProps-54064fb0.js +32 -0
- package/dist/esm/{global-39f55ec2.js → global-96c14d63.js} +3126 -3177
- package/dist/esm/{index.module-cede12c6.js → index.module-b23fdad8.js} +150 -153
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +65 -398
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +226 -417
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +9 -8
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +414 -0
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-04528277.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +8 -8
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-b5ea620f.js} +2 -2
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-c61536b7.js} +2 -2
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +6 -6
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +174 -220
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +12 -9
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/sqm-widget-verification.entry.js +210 -0
- package/dist/esm/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +2 -2
- package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +2 -2
- package/dist/esm/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +4 -3
- package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
- package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +3 -3
- package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-44c263e0.js +1 -0
- package/dist/esm-es5/{data-2b0feb3f.js → data-12e6aae1.js} +1 -1
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/global-96c14d63.js +271 -0
- package/dist/esm-es5/index.module-b23fdad8.js +1 -0
- package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-7a0c7976.js → re-render-f30aeb6b.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.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 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-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-email-verification-view-80736644.js → sqm-portal-email-verification-view-04528277.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-c61536b7.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-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.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 -0
- package/dist/esm-es5/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +2 -2
- package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm-es5/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-66c0100c.system.entry.js → p-00b235c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-62212b9a.entry.js → p-013564b3.entry.js} +1 -1
- package/dist/mint-components/p-02499e08.entry.js +1 -0
- package/dist/mint-components/{p-998c989a.system.entry.js → p-027fc3be.system.entry.js} +1 -1
- package/dist/mint-components/{p-32d078a3.js → p-035d9b65.js} +1 -1
- package/dist/mint-components/{p-e4dbca9a.system.js → p-036a2617.system.js} +1 -1
- package/dist/mint-components/{p-886fb141.entry.js → p-058aefe1.entry.js} +1 -1
- package/dist/mint-components/p-0706cf9e.system.entry.js +1 -0
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-f11d29fd.entry.js → p-09348341.entry.js} +1 -1
- package/dist/mint-components/{p-991f60fc.entry.js → p-09f7aacd.entry.js} +2 -2
- package/dist/mint-components/{p-a5912b2f.js → p-0c0d4065.js} +3 -3
- package/dist/mint-components/{p-8f9c1387.js → p-0d83907e.js} +1 -1
- package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
- package/dist/mint-components/{p-e5ee6cf5.entry.js → p-13292317.entry.js} +2 -2
- package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
- package/dist/mint-components/{p-a86ce218.system.js → p-172675ca.system.js} +1 -1
- package/dist/mint-components/{p-d355336b.system.js → p-19c441b2.system.js} +1 -1
- package/dist/mint-components/{p-ba953c21.entry.js → p-1d92c169.entry.js} +1 -1
- package/dist/mint-components/{p-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
- package/dist/mint-components/{p-a7ee6531.js → p-2668335b.js} +1 -1
- package/dist/mint-components/{p-45475cf9.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-e9e05970.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
- package/dist/mint-components/p-30c1ef36.system.js +1 -0
- package/dist/mint-components/{p-bcadd021.js → p-3286ef38.js} +1 -1
- package/dist/mint-components/{p-0d75a207.js → p-3366b81e.js} +2 -2
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-3adbfd0b.system.js +6 -0
- package/dist/mint-components/p-3af3e2c1.entry.js +25 -0
- package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
- package/dist/mint-components/p-40bad95a.entry.js +33 -0
- package/dist/mint-components/{p-31dde9fc.system.js → p-43c31fd5.system.js} +1 -1
- package/dist/mint-components/p-4900c740.system.entry.js +1 -0
- package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
- package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
- package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/{p-c84a2512.system.js → p-5b1d2866.system.js} +1 -1
- package/dist/mint-components/{p-5c9d030a.system.entry.js → p-5b871e38.system.entry.js} +1 -1
- package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
- package/dist/mint-components/{p-b5fed7c6.entry.js → p-5c4ba8a0.entry.js} +1 -1
- package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-5ce78407.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c1b0c8b.entry.js → p-61897e72.entry.js} +1 -1
- package/dist/mint-components/{p-52748a87.system.entry.js → p-626b31cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-092db51a.js → p-642f2c89.js} +1 -1
- package/dist/mint-components/{p-f4a57aed.entry.js → p-653db72e.entry.js} +1 -1
- package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
- package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/{p-014977d7.js → p-6c4ad51a.js} +1 -1
- package/dist/mint-components/p-7265bbcb.system.js +271 -0
- package/dist/mint-components/p-738dce27.system.entry.js +1 -0
- package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
- package/dist/mint-components/{p-7547180f.system.js → p-77b9cde8.system.js} +1 -1
- package/dist/mint-components/{p-96e4e6a4.entry.js → p-77fa2383.entry.js} +1 -1
- package/dist/mint-components/{p-d5a1c979.system.entry.js → p-782af7ae.system.entry.js} +1 -1
- package/dist/mint-components/{p-93c5c8ec.entry.js → p-7939e4af.entry.js} +1 -1
- package/dist/mint-components/{p-9b33e2a7.system.js → p-7b59e13c.system.js} +1 -1
- package/dist/mint-components/p-7efb8782.system.js +1 -0
- package/dist/mint-components/{p-60085f20.system.entry.js → p-80e116ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-f18a6658.js → p-832aea99.js} +1 -1
- package/dist/mint-components/{p-36395228.system.js → p-85721089.system.js} +1 -1
- package/dist/mint-components/{p-28e0062c.system.js → p-8583ce0c.system.js} +1 -1
- package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
- package/dist/mint-components/p-892797eb.system.entry.js +1 -0
- package/dist/mint-components/{p-b5f57914.js → p-8962e023.js} +1 -1
- package/dist/mint-components/{p-3461a8cb.entry.js → p-8f2d03c7.entry.js} +1 -1
- package/dist/mint-components/{p-357040e6.system.entry.js → p-90833864.system.entry.js} +1 -1
- package/dist/mint-components/p-91a96e98.entry.js +1 -0
- package/dist/mint-components/{p-b297016f.system.entry.js → p-9390586b.system.entry.js} +1 -1
- package/dist/mint-components/{p-0c43b6ff.entry.js → p-95510f27.entry.js} +1 -1
- package/dist/mint-components/{p-9e43f1eb.entry.js → p-982d1f6f.entry.js} +2 -2
- package/dist/mint-components/{p-77117f6c.system.js → p-a0c5631b.system.js} +1 -1
- package/dist/mint-components/p-a171767a.system.entry.js +1 -0
- package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
- package/dist/mint-components/{p-095b7128.js → p-a4f8abad.js} +1 -1
- package/dist/mint-components/{p-21e7079a.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
- package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
- package/dist/mint-components/p-b04289d6.entry.js +9 -0
- package/dist/mint-components/{p-86a70151.entry.js → p-b2b85238.entry.js} +1 -1
- package/dist/mint-components/p-b395470f.entry.js +16 -0
- package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
- package/dist/mint-components/{p-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
- package/dist/mint-components/{p-71545bfd.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
- package/dist/mint-components/p-bba16a46.system.entry.js +1 -0
- package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
- package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
- package/dist/mint-components/{p-16deb1a9.system.entry.js → p-c30d0049.system.entry.js} +1 -1
- package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
- package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
- package/dist/mint-components/{p-5dc9e95b.entry.js → p-c8a8d231.entry.js} +2 -2
- package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -0
- package/dist/mint-components/{p-95aaf35a.system.entry.js → p-d005df28.system.entry.js} +1 -1
- package/dist/mint-components/p-d0993bb9.js +1 -0
- package/dist/mint-components/{p-7e36a1ff.js → p-d18dedd4.js} +1 -1
- package/dist/mint-components/p-d2e8359a.entry.js +273 -0
- package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
- package/dist/mint-components/p-d4f332a7.entry.js +106 -0
- package/dist/mint-components/{p-be63f29b.system.js → p-d55c50af.system.js} +1 -1
- package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
- package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
- package/dist/mint-components/p-de0d6fd7.js +49 -0
- package/dist/mint-components/p-df073770.system.js +1 -0
- package/dist/mint-components/{p-ce11858c.js → p-e00ec007.js} +1 -1
- package/dist/mint-components/{p-b5c0bad5.system.entry.js → p-e12754f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-f972e5c9.entry.js → p-e5ea43b1.entry.js} +2 -2
- package/dist/mint-components/{p-8474aa63.js → p-e6240c72.js} +1 -1
- package/dist/mint-components/{p-857a2d77.js → p-e84b874c.js} +1 -1
- package/dist/mint-components/{p-eaf5d0af.system.js → p-ea03e50e.system.js} +1 -1
- package/dist/mint-components/p-eab25269.js +499 -0
- package/dist/mint-components/{p-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
- package/dist/mint-components/{p-2f4d8ab8.system.entry.js → p-f1374258.system.entry.js} +1 -1
- package/dist/mint-components/{p-6194855b.system.entry.js → p-f39cf252.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8e45671.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
- package/dist/mint-components/{p-140e6a15.system.js → p-f55ecf35.system.js} +1 -1
- package/dist/mint-components/{p-3c333076.js → p-f581aac7.js} +1 -1
- package/dist/mint-components/{p-8139fdec.entry.js → p-f6528f8a.entry.js} +1 -1
- package/dist/mint-components/{p-15a703c7.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
- package/dist/mint-components/{p-d798004f.system.js → p-f8026ed6.system.js} +1 -1
- package/dist/mint-components/{p-438f6702.js → p-f8a09b0f.js} +152 -152
- package/dist/mint-components/{p-3756d0d1.system.entry.js → p-fc284f91.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a4496b3.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
- package/dist/mint-components/p-fe70e20c.entry.js +1 -0
- package/dist/mint-components/{p-54bf015a.system.js → p-ff118a19.system.js} +1 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
- package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +37 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +140 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +27 -4
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -73
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -165
- package/dist/types/components.d.ts +261 -564
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/eventKeys-7af4df4d.js +0 -5
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -810
- package/dist/cjs/sqm-partner-info-modal-view-cd758f12.js +0 -107
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -145
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -102
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -553
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -232
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-email-verification_2.entry.js +0 -805
- package/dist/esm/sqm-partner-info-modal-view-dbedda28.js +0 -105
- package/dist/esm-es5/ShadowViewAddon-657d18f0.js +0 -1
- package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
- package/dist/esm-es5/global-39f55ec2.js +0 -285
- package/dist/esm-es5/index.module-cede12c6.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-dbedda28.js +0 -1
- package/dist/mint-components/p-098d134a.system.entry.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-1b2fcd7f.entry.js +0 -108
- package/dist/mint-components/p-1c413a06.system.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-59f69bdc.system.entry.js +0 -1
- package/dist/mint-components/p-604e548b.entry.js +0 -291
- package/dist/mint-components/p-63c299f1.system.js +0 -1
- package/dist/mint-components/p-64b56141.system.entry.js +0 -1
- package/dist/mint-components/p-64f56cc9.system.js +0 -285
- package/dist/mint-components/p-6638c7c6.system.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- package/dist/mint-components/p-70e34ae1.system.js +0 -6
- package/dist/mint-components/p-7144ac40.js +0 -1
- package/dist/mint-components/p-74aac245.system.js +0 -1
- package/dist/mint-components/p-7a5814ef.system.entry.js +0 -1
- package/dist/mint-components/p-896390f9.js +0 -463
- package/dist/mint-components/p-996eb820.entry.js +0 -1
- package/dist/mint-components/p-a8ecdc44.system.js +0 -1
- package/dist/mint-components/p-adcc37f3.entry.js +0 -105
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-b2bde2f5.entry.js +0 -1
- package/dist/mint-components/p-b451970a.system.entry.js +0 -1
- package/dist/mint-components/p-bba694e4.entry.js +0 -1
- package/dist/mint-components/p-bf81b818.system.entry.js +0 -1
- package/dist/mint-components/p-bfbfde38.entry.js +0 -33
- package/dist/mint-components/p-c7535e70.system.entry.js +0 -1
- package/dist/mint-components/p-d20188db.js +0 -1
- package/dist/mint-components/p-d2927531.entry.js +0 -9
- package/dist/mint-components/p-d6714617.entry.js +0 -1
- package/dist/mint-components/p-dac1f2cb.system.entry.js +0 -1
- package/dist/mint-components/p-e95402dc.js +0 -49
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -13
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -43
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -101
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
- package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./p-083180bf.js";import{n as t}from"./p-a7fc1e02.js";import{
|
|
1
|
+
import{r as s}from"./p-083180bf.js";import{n as t}from"./p-a7fc1e02.js";import{s as o,j as a,i as r}from"./p-d0993bb9.js";const i=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){o(void 0),a.push({pathname:s,search:""})}(this)}};export{i as sqm_portal_logout}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js"],(function(t){"use strict";var e,n,o,i,r,c,u,l,a;return{setters:[function(t){e=t.r;n=t.e;o=t.h;i=t.g},function(t){r=t.k;c=t.f;u=t.n},function(t){l=t.g;a=t.i}],execute:function(){function s(t){var e=r(false),n=e[0],o=e[1];var i=r(null),u=i[0],a=i[1];var s=r(400),f=s[0],g=s[1];var d=null;var v=function(){if(u){g(u.clientWidth)}};c((function(){if(!u)return;var t=new ResizeObserver((function(){if(d){clearTimeout(d)}d=setTimeout((function(){v()}),50)}));t.observe(u);v();return function(){return t.disconnect()}}),[u]);c((function(){var e=function(){window.onGoogleLibraryLoad=null;var e=l();if(e.type!=="SquatchPortal")return;var n=function(e){t.initComplete.emit(e)};google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:n});o(true)};if(window.google)e();window.onGoogleLibraryLoad=e}),[]);c((function(){if(!u||!n)return;google.accounts.id.renderButton(u,{theme:"outline",size:"large",text:t.text,height:40,width:f})}),[u,n,f]);return{setGoogleButtonDiv:a}}var f=t("sqm_google_sign_in",function(){function t(t){e(this,t);this.initComplete=n(this,"initComplete",7);this.googleButtonDiv=null;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.connectedCallback=function(){var t="https://accounts.google.com/gsi/client";if(!document.head.querySelector('script[src="'+t+'"]')){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client";e.async=true;document.head.appendChild(e)}};t.prototype.render=function(){var t=(a()?g(this):s(this)).setGoogleButtonDiv;return o("div",{ref:t,style:{width:"100%"}})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());function g(t){var e=r(false),n=e[0],o=e[1];var i=r(null),u=i[0],l=i[1];c((function(){var t=function(){window.onGoogleLibraryLoad=null;o(true)};if(window.google)t();window.onGoogleLibraryLoad=t}),[]);c((function(){if(!u||!n)return;var e=function(){t.initComplete.emit({credential:null})};google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:function(){}});google.accounts.id.renderButton(u,{theme:"outline",size:"large",text:t.text,click_listener:e})}),[u,n]);return{setGoogleButtonDiv:l}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-57dd28bd.system.js"],(function(e){"use strict";var t,n,r,i,o,s,l,a,f,u,c;return{setters:[function(e){t=e.r;n=e.h;r=e.c},function(e){i=e.b;o=e.n;s=e.k;l=e.f},function(e){a=e.I;f=e.b;u=e.i},function(e){c=e.a}],execute:function(){var d=i("sq:widget-verification");function v(e){var t=e.parent,n=e.callback;var r=new MutationObserver(o);var i=new MutationObserver(n);r.observe(t,{childList:true,subtree:false});o({addedNodes:t.querySelectorAll("template")});function o(e){var t;(t=e.addedNodes)===null||t===void 0?void 0:t.forEach((function(e){i.observe(e.content,{childList:true,attributes:true,subtree:true})}))}return function(){r.disconnect();i.disconnect()}}var y=e("sqm_widget_verification_controller",function(){function e(e){t(this,e);this.stateController="{}";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e;var t=a({namespace:c,initialValue:false}),i=t[0],o=t[1];var y=JSON.parse(this.stateController);var p=u()&&((e=y["sqm-widget-verification-controller"])===null||e===void 0?void 0:e.isAuth);var h=s(undefined),m=h[0],b=h[1];var g=s(undefined),x=g[0],A=g[1];var L=f((function(){var e=p||i;var t=x.querySelectorAll("template");var n=Array.from(t).find((function(t){return t.slot===(e?"verified":"not-verified")}));if(n){var r=n.innerHTML||n.firstElementChild.outerHTML;if(r===m.innerHTML){d("don't rerender")}else if(n){m.innerHTML=r}}var o=Array.from(x.children).filter((function(e){return e.tagName==="RAISINS-PLOP-TARGET"}));if(o.length){var s=o.filter((function(e){return e.slot==="verified"}));var l=o.filter((function(e){return e.slot==="not-verified"}));l.forEach((function(t,n){if(e){t.style.display="none";return}if(n===l.length-1){t.style.bottom="0px";t.style.left="0px";t.style.right="0px";t.style.position="absolute"}t.style.height="25px"}));s.forEach((function(t,n){if(!e){t.style.display="none";return}if(n===s.length-1){t.style.bottom="0px";t.style.left="0px";t.style.right="0px";t.style.position="absolute"}t.style.height="25px"}))}}),[m,x,i,p]);l((function(){if(!m||!x){d("DOM not ready:");return}L();return v({parent:x,callback:L})}),[x,m,i,p]);return n(r,null,n("div",{ref:A,style:{display:"contents"}},n("slot",{name:"not-verified"}),n("slot",{name:"verified"})),n("div",{ref:b},n("slot",{name:"shown"})))};return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7b59e13c.system.js","./p-f45e076d.system.js","./p-f55ecf35.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.n},function(e){n=e.i;a=e.s},function(){},function(e){s=e.c},function(){},function(){},function(){},function(e){o=e.E},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.hideBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Please enter a valid email address";this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="var(--sqm-portal-background)";this.includeCookies=false;r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l(this),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:a})};return e}());function u(e){var t=this;var i=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"});return[2]}))}))};return s({states:{loading:false,error:""},callbacks:{submit:i}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function a(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function s(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?t(r.value):a(r.value).then(o,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(r){return function(e){return l([r,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=e.call(r,t)}catch(r){o=[6,r];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-b6504987.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function a(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function s(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?t(r.value):a(r.value).then(o,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(r){return function(e){return l([r,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=e.call(r,t)}catch(r){o=[6,r];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-b6504987.system.js","./p-30c1ef36.system.js","./p-b2295bc5.system.js","./p-7b59e13c.system.js"],(function(r){"use strict";var e,t,n,a,i;return{setters:[function(r){e=r.k},function(r){t=r.L;n=r.v},function(r){a=r.j},function(r){i=r.u}],execute:function(){r("u",o);function o(r){var o=this;var s=t();var l=new URLSearchParams(window.location.search);var u=l===null||l===void 0?void 0:l.get("_saasquatch");var c=i(),f=c.registrationFormState,v=c.setRegistrationFormState;var d=n(),_=d[0],g=d[1],h=g.loading,p=g.errors,m=g.data;var y=e(""),b=y[0],w=y[1];var E=function(e){return __awaiter(o,void 0,void 0,(function(){var t,n,i,o,l,c,d;return __generator(this,(function(g){switch(g.label){case 0:w("");n=e.target.getFormControls();i=e.detail.formData;o={};n===null||n===void 0?void 0:n.map((function(e){if(!e.name)return;var t=e.name;var n=e.value;a.set(i,t,n);if(e.required&&!n){a.set(o,t,r.requiredFieldErrorMessage)}if(typeof e.validationError==="function"){var s=e.validationError;var l=s({control:e,key:t,value:n});if(l)a.set(o,t,l)}}));l=__assign({firstName:i.firstName,lastName:i.lastName,email:i.email,locale:s},(r===null||r===void 0?void 0:r.includeCookies)&&u?{cookies:u}:{});g.label=1;case 1:g.trys.push([1,3,,4]);return[4,_(l)];case 2:c=g.sent();if(c instanceof Error){throw c}v(__assign(__assign({},f),{loading:false,error:"",validationErrors:{}}));return[3,4];case 3:d=g.sent();if((t=d===null||d===void 0?void 0:d.message)===null||t===void 0?void 0:t.includes("is not valid")){v(__assign(__assign({},f),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}else if((d===null||d===void 0?void 0:d.name)==="fraud_error"){v(__assign(__assign({},f),{loading:false,error:"FRAUD"}))}else{v(__assign(__assign({},f),{loading:false,error:r.networkErrorMessage,validationErrors:{}}))}return[3,4];case 4:return[2]}}))}))};return{states:{loading:h,error:f===null||f===void 0?void 0:f.error,registrationFormState:f},callbacks:{submit:E}}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as r}from"./p-083180bf.js";import{j as a}from"./p-
|
|
1
|
+
import{h as r}from"./p-083180bf.js";import{j as a}from"./p-d0993bb9.js";import{c as o}from"./p-cef45012.js";import{g as s}from"./p-49b20dae.js";function t(t){const{states:n,data:e,padding:i="x-small"}=t,m=t.backgroundHoverColor||"var(--sqm-primary-button-background-hover)",l=t.backgroundFocusedColor||"var(--sqm-primary-button-background)",c=t.textFocusedColor||"var(--sqm-primary-button-color)",p={ItemContainer:{display:"flex","background-color":`${n.active?l:t.backgroundColor||"var(--sqm-portal-background)"}`,borderRadius:t.borderRadius?`${t.borderRadius}px`:"var(--sqm-border-radius-normal)",padding:`var(--sl-spacing-${i})`,"text-decoration":"none",color:n.active?c:t.textColor||"var(--sqm-text)","align-items":"center",...s({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:n.active?l:m,color:n.active?c:t.textHoverColor||"var(--sqm-primary-button-color-hover)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}},d=o(p),b=d.toString();return r("a",{part:"sqm-link",href:e.path,onClick:r=>{r.preventDefault(),a.push(e.path)},class:d.classes.ItemContainer},r("style",{type:"text/css"},b),r("sl-icon",{class:d.classes.Icon,name:e.icon}),r("p",{class:d.classes.Label,part:"sqm-label"},e.label))}export{t as N}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as s}from"./p-083180bf.js";import{k as t,f as o,n as r}from"./p-a7fc1e02.js";import{
|
|
1
|
+
import{r as e,h as s}from"./p-083180bf.js";import{k as t,f as o,n as r}from"./p-a7fc1e02.js";import{f as a,T as i,j as n,i as d}from"./p-d0993bb9.js";import{j as c}from"./p-e7e129ac.js";import{c as l}from"./p-c1086930.js";import{s as m}from"./p-9ec99ced.js";import"./p-cef45012.js";import"./p-49b20dae.js";import"./p-c813ec64.js";import{P as u}from"./p-b3ad957c.js";const p=class{constructor(s){e(this,s),this.ignored=!0,this.nextPage="/",this.failedPage="/",this.confirmPassword=!1,this.resetPasswordHeader="Reset your password",this.passwordResetHeader="Password reset",this.resetPasswordButtonText="Reset Password",this.continueButtonText="Continue",this.confirmPasswordFieldLabel="Confirm Password",this.passwordFieldLabel="New Password",this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",this.passwordMismatchText="Passwords do not match.",this.codeInvalidText="The password reset code is invalid or has expired, please try again.",this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.",this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.",r(this)}disconnectedCallback(){}render(){const{states:e,callbacks:r}=d()?l({states:{error:"",loading:!1,reset:!1,confirmPassword:(p=this).confirmPassword,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:p.passwordResetHeader,resetPasswordHeader:p.resetPasswordHeader,continueButtonText:p.continueButtonText,resetPasswordButtonText:p.resetPasswordButtonText,confirmPasswordFieldLabel:p.confirmPasswordFieldLabel,passwordFieldLabel:p.passwordFieldLabel,meetsRequirementsText:p.meetsRequirementsText,doesNotMeetRequirementsText:p.doesNotMeetRequirementsText,minErrorText:p.minErrorText,uppercaseErrorText:p.uppercaseErrorText,lowercaseErrorText:p.lowercaseErrorText,hasErrorText:p.hasErrorText,passwordMismatchText:p.passwordMismatchText,codeInvalidText:p.codeInvalidText,resetSuccessText:p.resetSuccessText}},callbacks:{submit:async()=>{console.log("submit")},failed:()=>{},gotoNextPage:()=>{}}},p.demoData||{},{arrayMerge:(e,s)=>s}):function(e){var s,r,d,l,u,p,h,w,b,f;const[x,v]=t(!1),[T,P]=t(""),[g,j]=a(),[C,y]=i(),E=new URLSearchParams(n.location.search),R=E.get("oobCode");E.delete("oobCode");const k=E.get("nextPage");o((()=>{(async()=>{await g({oobCode:R})instanceof Error&&P(e.networkErrorMessage)})()}),[]);const q=()=>{E.delete("nextPage");const s=m(k||e.nextPage);n.push(s.href)};return{states:{loading:y.loading,reset:x,confirmPassword:e.confirmPassword,error:(null===(u=null===(l=null===(d=null===(r=null===(s=y.errors)||void 0===s?void 0:s.response)||void 0===r?void 0:r.errors)||void 0===d?void 0:d[0])||void 0===l?void 0:l.extensions)||void 0===u?void 0:u.message)||(null===(b=null===(w=null===(h=null===(p=y.errors)||void 0===p?void 0:p.response)||void 0===h?void 0:h.errors)||void 0===w?void 0:w[0])||void 0===b?void 0:b.message)||T,oobCodeValidating:j.loading,oobCodeValid:null===(f=j.data)||void 0===f?void 0:f.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:async s=>{P("");let t=s.detail.formData;null==t||t.forEach(((e,s)=>{c.set(t,s,e)}));const o={oobCode:R,password:t.password};if(t.password!==t.confirmPassword)return void P(e.passwordMismatchText);const r=await C(o);if(r instanceof Error)return P(e.networkErrorMessage);r.resetManagedIdentityPassword&&(v(!0),setTimeout((()=>{q()}),5e3))},failed:()=>{n.push({pathname:e.failedPage,search:E.toString()&&"?"+E.toString()})},gotoNextPage:q}}}(this);var p;return s(u,{states:e,callbacks:r})}};export{p as sqm_portal_reset_password}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-7265bbcb.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-7562cd98.system.js","./p-43c31fd5.system.js","./p-5b1d2866.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,m,f,c,v;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.f;s=e.n},function(e){a=e.d;o=e.J;u=e.w;l=e.$;d=e.i},function(e){m=e.c},function(e){f=e.g},function(){},function(){},function(e){c=e.P},function(e){v=e.i}],execute:function(){var g=a.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var _=a.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var h={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function p(e){var t=o();var n=i(false),s=n[0],a=n[1];var d=i(undefined),m=d[0],f=d[1];var c=i(h),p=c[0],y=c[1];var b=u(g,{},!(t===null||t===void 0?void 0:t.jwt));var x=l(_),N=x[0],S=x[1];r((function(){if(S===null||S===void 0?void 0:S.loading)return;if(S===null||S===void 0?void 0:S.errors){y((function(e){var t,n,i;return __assign(__assign({},e),{error:(i=(n=(t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{f((function(e){var t;return __assign(__assign({},e),(t=S===null||S===void 0?void 0:S.data)===null||t===void 0?void 0:t.upsertUser)}));if(S===null||S===void 0?void 0:S.data)a(true)}}),[S===null||S===void 0?void 0:S.loading]);r((function(){var e,t;f((function(e){var t;return __assign(__assign({},e),(t=b===null||b===void 0?void 0:b.data)===null||t===void 0?void 0:t.viewer)}));y(__assign(__assign(__assign({},h),(e=b.data)===null||e===void 0?void 0:e.viewer),(t=S.data)===null||t===void 0?void 0:t.upsertUser))}),[b===null||b===void 0?void 0:b.data]);r((function(){var t,n;if((t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.message){y(__assign(__assign({},(n=b.data)===null||n===void 0?void 0:n.viewer),{error:e.networkRequestMessage}))}}),[S===null||S===void 0?void 0:S.errors]);var j=function(){a(false);if(p.firstName&&p.lastName){N({id:t===null||t===void 0?void 0:t.id,accountId:t===null||t===void 0?void 0:t.accountId,firstName:p.firstName,lastName:p.lastName});y((function(e){return __assign(__assign({},e),{errors:{},error:""})}));return}var n={};if(!p.firstName){n["firstName"]={message:e.fieldEmptyText}}if(!p.lastName){n["lastName"]={message:e.fieldEmptyText}}if(!v(n)){y((function(t){return __assign(__assign({},t),{error:e.formErrorText})}))}y((function(e){return __assign(__assign({},e),{errors:n})}))};return{states:{success:s,loading:(b===null||b===void 0?void 0:b.loading)||S.loading,submitDisabled:false,showCountry:!e.hideCountry,formState:p,user:m,text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,countrytext:e.countrytext,emailtext:e.emailtext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(e){var t=e.target,n=t.name,i=t.value;y((function(e){var t;return __assign(__assign({},e),(t={},t[n]=i,t))}))}}}}var y=e("sqm_portal_profile",function(){function e(e){t(this,e);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;this.networkRequestMessage="An error occurred while loading this page. Please refresh the page.";this.fieldEmptyText="Field is required";this.formErrorText="Please correct the errors below to update your profile.";this.submissionSuccessText="Your profile has been successfully updated.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?b(f(this)):p(f(this));return n(c,Object.assign({},e))};return e}());function b(e){return m({states:{success:false,loading:false,submitDisabled:false,showCountry:!e.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,emailtext:e.emailtext,countrytext:e.countrytext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText,submissionSuccessText:e.submissionSuccessText,fieldEmptyText:e.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,s=1,n=arguments.length;s<n;s++){e=arguments[s];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,s=1,n=arguments.length;s<n;s++){e=arguments[s];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-7265bbcb.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js"],(function(t){"use strict";var e,s,n,r,i,a;return{setters:[function(t){e=t.h},function(t){s=t.i},function(t){n=t.c},function(t){r=t.A;i=t.a},function(t){a=t.T}],execute:function(){t("P",u);var o={Wrapper:r,Column:__assign({},i),ButtonLink:{fontSize:"14px",color:"var(--sl-color-primary-500)",display:"inline-block !important","&:hover":{cursor:"pointer",textDecoration:"underline"}},ButtonLinkLoading:{fontSize:"14px",color:"var(--sqm-text-subdued)",opacity:"0.6",display:"inline-block !important",textDecoration:"underline","&:hover":{cursor:"not-allowed"}}};var c="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var l=n(o);var p=l.toString();function u(t){var n=t.states,r=t.callbacks,i=t.content,o=i.email,u=i.verifyMessage,f=i.emailVerificationHeader,d=i.resendEmailButtonText,m=i.verificationStatusMessage,g=i.verificationLoadingMessage,y=i.verificationResentMessage;return e("div",{class:l.classes.Wrapper},e("style",{type:"text/css"},c,p),e(a,{type:"h3"},f),e("sl-form",{class:l.classes.Column,"onSl-submit":r.submit},t.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},t.states.error)),t.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},y)),e(a,{type:"p"},s.formatMessage({id:"verifyMessage",defaultMessage:u},{email:e("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},o)})),e("p",{style:{color:"var(--sqm-text-subdued)",fontSize:"14px"}},s.formatMessage({id:"verificationStatus",defaultMessage:n.loadingVerification?g+" {countdown}":m},{countdown:n.loadingVerification?e("sl-spinner",null):n.countdown})),e("sl-button",{type:"primary",exportparts:"base: primarybutton-base",onClick:r.submit,loading:n.loading},d)))}}}}));
|