@saasquatch/mint-components 2.2.0-7 → 2.2.0
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-1c054d52.js → ShadowViewAddon-3b477e58.js} +429 -27
- package/dist/cjs/{data-c03e282a.js → data-8c8a08f6.js} +90 -1
- package/dist/cjs/extractProps-e9c55ba8.js +35 -0
- package/dist/cjs/{keys-5a2c9ed2.js → keys-cff24974.js} +0 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +101 -482
- package/dist/cjs/sqm-big-stat_46.cjs.entry.js +360 -424
- package/dist/cjs/sqm-code-verification.cjs.entry.js +6 -5
- package/dist/cjs/sqm-email-verification.cjs.entry.js +418 -0
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
- package/dist/cjs/{sqm-portal-email-verification-view-d51c2a06.js → sqm-portal-email-verification-view-abb773a7.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-profile-view-e6927959.js → sqm-portal-profile-view-3515e1e5.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-registration-form-view-fd48f1d3.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-d90d77f9.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-6258dcae.js → sqm-portal-verify-email-view-717d0633.js} +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +10 -28
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +9 -30
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +532 -740
- package/dist/cjs/{sqm-text-span-view-8a32dd8c.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-4d56b339.js → sqm-user-info-form-view-53306f6e.js} +40 -33
- 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/{usePayoutStatus-0a98ee05.js → usePayoutStatus-0192fccd.js} +5 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +5 -6
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +2 -3
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
- 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-referral-table/ReferralTable.stories.js +0 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +0 -1
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +145 -209
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +10 -30
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +0 -1
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +137 -223
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +10 -30
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +0 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -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 +935 -48
- package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -4
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +43 -0
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +19 -0
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +175 -0
- package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +30 -0
- package/dist/collection/components/sqm-widget-verification/keys.js +0 -2
- 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-email-verification/useEmailVerification.js +9 -19
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +46 -486
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +11 -43
- package/dist/collection/components/tax-and-cash/data.js +0 -1
- 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-indirect-tax-form/useIndirectTaxForm.js +12 -51
- 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 +36 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +0 -3
- 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/UserInfoFormView.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +25 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +17 -34
- package/dist/esm/{ShadowViewAddon-4d554869.js → ShadowViewAddon-0b980200.js} +435 -34
- package/dist/esm/data-12e6aae1.js +216 -0
- package/dist/esm/extractProps-54064fb0.js +32 -0
- package/dist/esm/{global-75e96214.js → global-96c14d63.js} +1 -1
- package/dist/esm/{index.module-02cb914c.js → index.module-b23fdad8.js} +1 -1
- package/dist/esm/keys-406491dc.js +6 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-bf46ba54.js → re-render-f30aeb6b.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +95 -476
- package/dist/esm/sqm-big-stat_46.entry.js +364 -428
- 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 +3 -3
- 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-bfafee56.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-b945edf4.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-8d98fcf3.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-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
- package/dist/esm/{sqm-portal-email-verification-view-58bad294.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-115bad4a.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-9bf30b56.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f8d1689c.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-c053ead1.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 +15 -33
- 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 +14 -35
- package/dist/esm/sqm-stencilbook.entry.js +506 -714
- 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-4db9e33f.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-d13f9d3e.js → sqm-user-info-form-view-19d81a2b.js} +20 -13
- 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-06937df7.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-69c9ffe0.js → useInstantAccessRegistration-69fefed0.js} +2 -2
- package/dist/esm/{useLeadFormState-332b2796.js → useLeadFormState-dd4e8b08.js} +2 -2
- package/dist/esm/{usePayoutStatus-227ae365.js → usePayoutStatus-46c0c289.js} +4 -3
- package/dist/esm/{usePortalRegistrationForm-3a1f36a2.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
- package/dist/esm/{useReferralCodes-25f8b792.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm/{useReferralTable-03d32c6f.js → useReferralTable-92af4133.js} +3 -3
- package/dist/esm/{useRegistrationFormState-aa44cfff.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm/{useVerificationEmail-9f2c0bab.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm/{utilities-cbd8f2eb.js → utilities-77b1e0cc.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-0b980200.js +1 -0
- package/dist/esm-es5/data-12e6aae1.js +1 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/{global-75e96214.js → global-96c14d63.js} +1 -1
- package/dist/esm-es5/{index.module-02cb914c.js → index.module-b23fdad8.js} +1 -1
- package/dist/esm-es5/keys-406491dc.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-bf46ba54.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_46.entry.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 -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-bfafee56.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-b945edf4.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-8d98fcf3.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-container-view-200c9df8.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-58bad294.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-115bad4a.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-9bf30b56.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-f8d1689c.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-c053ead1.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-4db9e33f.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-19d81a2b.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
- package/dist/esm-es5/{useChildElements-06937df7.js → useChildElements-9bccfb72.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-69c9ffe0.js → useInstantAccessRegistration-69fefed0.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-332b2796.js → useLeadFormState-dd4e8b08.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-227ae365.js → usePayoutStatus-46c0c289.js} +2 -2
- package/dist/esm-es5/{usePortalRegistrationForm-3a1f36a2.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-25f8b792.js → useReferralCodes-52ca720f.js} +1 -1
- package/dist/esm-es5/{useReferralTable-03d32c6f.js → useReferralTable-92af4133.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-aa44cfff.js → useRegistrationFormState-2c090c38.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-9f2c0bab.js → useVerificationEmail-c13c3b51.js} +1 -1
- package/dist/esm-es5/{utilities-cbd8f2eb.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-00b235c5.system.entry.js +1 -0
- package/dist/mint-components/{p-4eadbd5b.entry.js → p-013564b3.entry.js} +1 -1
- package/dist/mint-components/{p-1b0326d1.entry.js → p-02499e08.entry.js} +1 -1
- package/dist/mint-components/{p-d34564f8.system.entry.js → p-027fc3be.system.entry.js} +1 -1
- package/dist/mint-components/{p-bb0b5e4b.js → p-035d9b65.js} +1 -1
- package/dist/mint-components/{p-e651593c.system.js → p-036a2617.system.js} +1 -1
- package/dist/mint-components/p-044f930a.system.js +1 -0
- 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-60b1f3d9.entry.js → p-09348341.entry.js} +1 -1
- package/dist/mint-components/{p-29bc5f50.entry.js → p-09f7aacd.entry.js} +2 -2
- package/dist/mint-components/p-0b1e90fe.system.js +1 -0
- package/dist/{esm/data-017e5ef2.js → mint-components/p-0c0d4065.js} +5 -24
- package/dist/mint-components/{p-cfea215d.js → p-0d83907e.js} +1 -1
- package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
- package/dist/mint-components/p-13292317.entry.js +11 -0
- package/dist/mint-components/{p-731c4d33.entry.js → p-13d1b10d.entry.js} +1 -1
- package/dist/mint-components/{p-d284ae70.system.js → p-172675ca.system.js} +1 -1
- package/dist/mint-components/{p-b2ad3fca.system.js → p-19c441b2.system.js} +1 -1
- package/dist/mint-components/{p-dafe30c3.entry.js → p-1d92c169.entry.js} +1 -1
- package/dist/mint-components/{p-0815b973.system.js → p-205cfdcd.system.js} +1 -1
- package/dist/mint-components/{p-ae4994e1.js → p-2668335b.js} +1 -1
- package/dist/mint-components/{p-13bb56a8.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
- package/dist/mint-components/p-2d5c2bd4.system.entry.js +1 -0
- package/dist/mint-components/{p-2190dc73.system.js → p-30c1ef36.system.js} +1 -1
- package/dist/mint-components/{p-4eaa3eb7.js → p-3286ef38.js} +1 -1
- package/dist/mint-components/{p-eae44b42.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-4e3db52b.entry.js → p-3bc62ca6.entry.js} +1 -1
- package/dist/mint-components/{p-d71a8b38.entry.js → p-40bad95a.entry.js} +2 -2
- package/dist/mint-components/{p-bd972473.system.js → p-43c31fd5.system.js} +1 -1
- package/dist/mint-components/{p-df897432.system.entry.js → p-4da5a3fe.system.entry.js} +1 -1
- package/dist/mint-components/{p-bcfdb510.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-5b1d2866.system.js +1 -0
- package/dist/mint-components/{p-02c0f88e.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-7ea3f49c.entry.js → p-5c4ba8a0.entry.js} +1 -1
- package/dist/mint-components/{p-81bc6dca.system.entry.js → p-5ce78407.system.entry.js} +1 -1
- package/dist/mint-components/{p-14183edc.entry.js → p-61897e72.entry.js} +1 -1
- package/dist/mint-components/{p-025ddad2.system.entry.js → p-626b31cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-bf9ab2d3.js → p-642f2c89.js} +1 -1
- package/dist/mint-components/{p-78e6dc8d.entry.js → p-653db72e.entry.js} +1 -1
- package/dist/mint-components/{p-27daf264.entry.js → p-6668f9f0.entry.js} +1 -1
- package/dist/mint-components/{p-f368f04a.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/p-6c4ad51a.js +1 -0
- package/dist/mint-components/{p-8e148cb0.system.js → p-7265bbcb.system.js} +1 -1
- package/dist/mint-components/{p-2d3f7b76.system.entry.js → p-738dce27.system.entry.js} +1 -1
- package/dist/mint-components/{p-379cb9f1.system.js → p-7562cd98.system.js} +1 -1
- package/dist/mint-components/{p-5fdf0286.system.js → p-77b9cde8.system.js} +1 -1
- package/dist/mint-components/p-77fa2383.entry.js +1 -0
- package/dist/mint-components/{p-f6de2e5c.system.entry.js → p-782af7ae.system.entry.js} +1 -1
- package/dist/mint-components/p-7939e4af.entry.js +1 -0
- package/dist/mint-components/{p-1317cc92.system.js → p-7b59e13c.system.js} +1 -1
- package/dist/mint-components/{p-f32050f6.system.js → p-7efb8782.system.js} +1 -1
- package/dist/mint-components/{p-24f1d342.system.entry.js → p-80e116ec.system.entry.js} +1 -1
- package/dist/mint-components/p-8285869e.entry.js +9 -0
- package/dist/mint-components/{p-614723aa.js → p-832aea99.js} +1 -1
- package/dist/mint-components/{p-e920c95c.system.js → p-85721089.system.js} +1 -1
- package/dist/mint-components/{p-376c7608.system.js → p-8583ce0c.system.js} +1 -1
- package/dist/mint-components/{p-71561bb2.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-2ab31786.js → p-8962e023.js} +1 -1
- package/dist/mint-components/{p-1599a178.entry.js → p-8f2d03c7.entry.js} +1 -1
- package/dist/mint-components/{p-ab59c5eb.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-ca5b9f4d.system.entry.js → p-9390586b.system.entry.js} +1 -1
- package/dist/mint-components/{p-38d04e4b.entry.js → p-95510f27.entry.js} +1 -1
- package/dist/mint-components/{p-432a44de.entry.js → p-982d1f6f.entry.js} +2 -3
- package/dist/mint-components/{p-c66e5217.system.js → p-a0c5631b.system.js} +1 -1
- package/dist/mint-components/{p-df88dcaa.system.js → p-a4825ec2.system.js} +1 -1
- package/dist/mint-components/{p-0766438e.js → p-a4f8abad.js} +1 -1
- package/dist/mint-components/{p-209157a9.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
- package/dist/mint-components/{p-eee0bcf4.entry.js → p-af407cce.entry.js} +1 -1
- package/dist/mint-components/p-b2b85238.entry.js +1 -0
- package/dist/mint-components/p-b395470f.entry.js +16 -0
- package/dist/mint-components/{p-45e2a83a.js → p-b3ad957c.js} +1 -1
- package/dist/mint-components/{p-921eb024.entry.js → p-b66f45d1.entry.js} +1 -1
- package/dist/mint-components/{p-cfba6b4e.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-45230a44.js → p-bab4929e.js} +1 -1
- package/dist/mint-components/p-bba16a46.system.entry.js +1 -0
- package/dist/mint-components/{p-c0a85e22.js → p-bc386a7b.js} +1 -1
- package/dist/mint-components/p-be12607e.entry.js +281 -0
- package/dist/mint-components/{p-a7f72a66.js → p-bee4af5d.js} +1 -1
- package/dist/mint-components/p-bf188b72.system.entry.js +1 -0
- package/dist/mint-components/{p-6b4e5d94.system.entry.js → p-c30d0049.system.entry.js} +1 -1
- package/dist/mint-components/{p-30cfe3e3.system.entry.js → p-c45a929a.system.entry.js} +1 -1
- package/dist/mint-components/{p-50d959bd.js → p-c813ec64.js} +1 -1
- package/dist/mint-components/p-c8a3f3b0.js +499 -0
- package/dist/mint-components/{p-b3309d9b.entry.js → p-c8a8d231.entry.js} +2 -2
- package/dist/mint-components/{p-3354cc75.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-623a0a0b.system.entry.js → p-d005df28.system.entry.js} +1 -1
- package/dist/mint-components/{p-8a6531d2.js → p-d0993bb9.js} +1 -1
- package/dist/mint-components/p-d18dedd4.js +1 -0
- package/dist/mint-components/{p-e1292288.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-b1765c78.system.js → p-d55c50af.system.js} +1 -1
- package/dist/mint-components/p-d6193876.system.js +1 -0
- package/dist/mint-components/{p-092c2606.entry.js → p-db0a2afd.entry.js} +1 -1
- package/dist/mint-components/p-de0d6fd7.js +49 -0
- package/dist/mint-components/p-e00ec007.js +1 -0
- package/dist/mint-components/{p-9a15cd5a.system.entry.js → p-e12754f5.system.entry.js} +1 -1
- package/dist/mint-components/p-e30abc44.js +1 -0
- package/dist/mint-components/{p-3218bb1d.entry.js → p-e506bf7f.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-3bbc0db2.entry.js → p-e5ea43b1.entry.js} +2 -2
- package/dist/mint-components/{p-abd717d4.js → p-e6240c72.js} +1 -1
- package/dist/mint-components/{p-3a41b39c.js → p-e84b874c.js} +1 -1
- package/dist/mint-components/{p-dbc8afaa.system.entry.js → p-e9485160.system.entry.js} +1 -1
- package/dist/mint-components/p-ea03e50e.system.js +1 -0
- package/dist/mint-components/p-ec0b649a.entry.js +1 -0
- package/dist/mint-components/{p-925aa740.system.entry.js → p-f1374258.system.entry.js} +1 -1
- package/dist/mint-components/{p-e6de31a7.system.entry.js → p-f39cf252.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f6c3ac6.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
- package/dist/mint-components/{p-02e2b13b.system.js → p-f55ecf35.system.js} +1 -1
- package/dist/mint-components/{p-7a091fa7.js → p-f581aac7.js} +1 -1
- package/dist/mint-components/{p-8d073bdf.entry.js → p-f6528f8a.entry.js} +1 -1
- package/dist/mint-components/{p-9ba8b28b.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
- package/dist/mint-components/p-f8026ed6.system.js +1 -0
- package/dist/mint-components/{p-13d8ecad.js → p-f8a09b0f.js} +1 -1
- package/dist/mint-components/p-fb804001.system.entry.js +1 -0
- package/dist/mint-components/{p-0b32e1d4.system.entry.js → p-fc284f91.system.entry.js} +1 -1
- package/dist/mint-components/{p-099ce3d5.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-ff118a19.system.js +1 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +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-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +1 -18
- package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +7 -19
- 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 +41 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
- package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +11 -0
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute-view.d.ts +8 -0
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +45 -0
- package/dist/types/components/sqm-user-attribute/useUserAttribute.d.ts +3 -0
- package/dist/types/components/sqm-widget-verification/keys.d.ts +0 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +7 -75
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
- package/dist/types/components/tax-and-cash/data.d.ts +0 -1
- 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/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -7
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
- package/dist/types/components.d.ts +472 -613
- package/dist/types/saasquatch.d.ts +0 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +15 -3
- package/readme.md +60 -1
- 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 -886
- package/dist/cjs/sqm-partner-info-modal-view-97770d03.js +0 -149
- package/dist/cjs/utils-15ce04e3.js +0 -93
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -171
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -143
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -669
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -269
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/keys-1054056a.js +0 -8
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-email-verification_2.entry.js +0 -881
- package/dist/esm/sqm-partner-info-modal-view-5709904e.js +0 -146
- package/dist/esm/utils-17daa419.js +0 -85
- package/dist/esm-es5/ShadowViewAddon-4d554869.js +0 -1
- package/dist/esm-es5/data-017e5ef2.js +0 -1
- package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
- package/dist/esm-es5/keys-1054056a.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-5709904e.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-d13f9d3e.js +0 -1
- package/dist/esm-es5/utils-17daa419.js +0 -1
- package/dist/mint-components/p-00046ec1.js +0 -116
- package/dist/mint-components/p-00dd7f08.js +0 -1
- package/dist/mint-components/p-0102ad17.system.entry.js +0 -1
- package/dist/mint-components/p-0a6489fa.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-1d86895f.system.js +0 -1
- package/dist/mint-components/p-1f387c7b.system.js +0 -1
- package/dist/mint-components/p-1faa6ddf.system.entry.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-31edeff4.system.js +0 -1
- package/dist/mint-components/p-3254fbb4.entry.js +0 -291
- package/dist/mint-components/p-4034f157.js +0 -1
- package/dist/mint-components/p-4691e9d5.system.js +0 -1
- package/dist/mint-components/p-4a8ffa03.system.js +0 -1
- package/dist/mint-components/p-4e34bcb1.system.js +0 -1
- package/dist/mint-components/p-4f9dc974.js +0 -1
- package/dist/mint-components/p-53d90eb5.js +0 -463
- package/dist/mint-components/p-5e300ec1.system.js +0 -6
- package/dist/mint-components/p-6af71f23.entry.js +0 -9
- package/dist/mint-components/p-6c23abd8.entry.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- package/dist/mint-components/p-753d06ef.entry.js +0 -133
- package/dist/mint-components/p-7699d40a.system.entry.js +0 -1
- package/dist/mint-components/p-7aace2b3.system.js +0 -1
- package/dist/mint-components/p-87f86492.js +0 -1
- package/dist/mint-components/p-8ae8968c.js +0 -1
- package/dist/mint-components/p-8f15bf17.entry.js +0 -1
- package/dist/mint-components/p-99eecdcb.system.entry.js +0 -1
- package/dist/mint-components/p-9b15ee47.system.js +0 -1
- package/dist/mint-components/p-a49d9288.entry.js +0 -1
- package/dist/mint-components/p-b0ab1065.system.entry.js +0 -1
- package/dist/mint-components/p-b1b20d42.entry.js +0 -11
- package/dist/mint-components/p-b52a7da9.system.entry.js +0 -1
- package/dist/mint-components/p-b699f76e.system.js +0 -1
- package/dist/mint-components/p-b6a1e2ac.js +0 -1
- package/dist/mint-components/p-b7370480.js +0 -1
- package/dist/mint-components/p-badf28bb.system.js +0 -1
- package/dist/mint-components/p-c41d536d.entry.js +0 -1
- package/dist/mint-components/p-ce7d824b.js +0 -49
- package/dist/mint-components/p-d08408b3.entry.js +0 -1
- package/dist/mint-components/p-d1c1c2c9.entry.js +0 -116
- package/dist/mint-components/p-d6ccb6fc.entry.js +0 -1
- package/dist/mint-components/p-e93cdcbd.system.js +0 -1
- package/dist/mint-components/p-eb285d38.system.entry.js +0 -1
- package/dist/mint-components/p-f782ff10.system.entry.js +0 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -15
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -50
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -122
- 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/docs/stats.json +0 -122783
|
@@ -13,13 +13,13 @@ const JSS = require('./JSS-8503a151.js');
|
|
|
13
13
|
require('./useReferralCodes-0f7948af.js');
|
|
14
14
|
require('./mixins-4761d472.js');
|
|
15
15
|
const copyTextView = require('./copy-text-view-bb2c0ea7.js');
|
|
16
|
-
require('./sqm-text-span-view-
|
|
16
|
+
require('./sqm-text-span-view-b9e10f5d.js');
|
|
17
17
|
const usePortalRegistrationForm = require('./usePortalRegistrationForm-23ee2d62.js');
|
|
18
18
|
const useRegistrationFormState = require('./useRegistrationFormState-4fe5b770.js');
|
|
19
|
-
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-
|
|
19
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-a45f7a52.js');
|
|
20
20
|
const reRender = require('./re-render-72a0ef45.js');
|
|
21
21
|
const useChildElements = require('./useChildElements-041127d7.js');
|
|
22
|
-
require('./luxon-c1ad356a.js');
|
|
22
|
+
const luxon = require('./luxon-c1ad356a.js');
|
|
23
23
|
const index$1 = require('./index-8c6255f5.js');
|
|
24
24
|
const imageUrl = require('./imageUrl-a7880cab.js');
|
|
25
25
|
const emailRegistrationView = require('./email-registration-view-306c8878.js');
|
|
@@ -27,14 +27,11 @@ const useInstantAccessRegistration = require('./useInstantAccessRegistration-239
|
|
|
27
27
|
const useLeadFormState = require('./useLeadFormState-b4c2ab5b.js');
|
|
28
28
|
const utilities = require('./utilities-fcdb9504.js');
|
|
29
29
|
const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
31
|
-
require('./sqm-portal-container-view-
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
require('./eventKeys-7af4df4d.js');
|
|
36
|
-
const usePayoutStatus = require('./usePayoutStatus-0a98ee05.js');
|
|
37
|
-
const parseStates = require('./parseStates-d1effc19.js');
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-3b477e58.js');
|
|
31
|
+
require('./sqm-portal-container-view-757f921b.js');
|
|
32
|
+
const data = require('./data-8c8a08f6.js');
|
|
33
|
+
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
34
|
+
const usePayoutStatus = require('./usePayoutStatus-0192fccd.js');
|
|
38
35
|
|
|
39
36
|
/**
|
|
40
37
|
*
|
|
@@ -791,7 +788,7 @@ const CheckboxField = class {
|
|
|
791
788
|
*/
|
|
792
789
|
this.checkboxLabelLink = "https://example.com";
|
|
793
790
|
/**
|
|
794
|
-
* @uiName Checkbox label link
|
|
791
|
+
* @uiName Checkbox label link text
|
|
795
792
|
*/
|
|
796
793
|
this.checkboxLabelLinkText = "Terms and Conditions";
|
|
797
794
|
/**
|
|
@@ -3394,7 +3391,7 @@ const PayoutStatusAlert = class {
|
|
|
3394
3391
|
}
|
|
3395
3392
|
};
|
|
3396
3393
|
function useDemoPayoutStatusAlert(props) {
|
|
3397
|
-
const states =
|
|
3394
|
+
const states = extractProps.parseStates(props.stateController);
|
|
3398
3395
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3399
3396
|
? { ...prev, ...states[key] }
|
|
3400
3397
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -4623,6 +4620,11 @@ const SqmReferralIframe = class {
|
|
|
4623
4620
|
* @uiName IFrame width
|
|
4624
4621
|
*/
|
|
4625
4622
|
this.iframeWidth = "100%";
|
|
4623
|
+
/**
|
|
4624
|
+
* Override the default parameter name used in the iframe
|
|
4625
|
+
* @uiName Referral code parameter name
|
|
4626
|
+
*/
|
|
4627
|
+
this.codeParam = "rsCode";
|
|
4626
4628
|
domContextHooks_module.h$1(this);
|
|
4627
4629
|
}
|
|
4628
4630
|
disconnectedCallback() { }
|
|
@@ -5773,7 +5775,7 @@ function EmptySlot$1() {
|
|
|
5773
5775
|
return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })));
|
|
5774
5776
|
}
|
|
5775
5777
|
function useRewardExchangeListDemo(props) {
|
|
5776
|
-
const states =
|
|
5778
|
+
const states = extractProps.parseStates(props.stateController);
|
|
5777
5779
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-reward-exchange-list"
|
|
5778
5780
|
? { ...prev, ...states[key] }
|
|
5779
5781
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -6057,7 +6059,6 @@ function useDemoShareCode(props) {
|
|
|
6057
6059
|
borderRadius: props.borderRadius,
|
|
6058
6060
|
borderColor: props.borderColor,
|
|
6059
6061
|
buttonType: props.buttonType,
|
|
6060
|
-
rewardStatus: "AVAILABLE",
|
|
6061
6062
|
open,
|
|
6062
6063
|
onClick: () => {
|
|
6063
6064
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6117,6 +6118,199 @@ const ShareLink = class {
|
|
|
6117
6118
|
* @uiGroup Style
|
|
6118
6119
|
*/
|
|
6119
6120
|
this.buttonStyle = "icon";
|
|
6121
|
+
/**
|
|
6122
|
+
* Let advocates customize their share links up to 5 times.
|
|
6123
|
+
*
|
|
6124
|
+
* @uiName Allow customization
|
|
6125
|
+
* @uiType boolean
|
|
6126
|
+
* @uiGroup Customizable Vanity Link
|
|
6127
|
+
* @uiWidget CustomLinkSwitch
|
|
6128
|
+
* @requiredFlavor impact
|
|
6129
|
+
*/
|
|
6130
|
+
this.allowCustomization = false;
|
|
6131
|
+
/**
|
|
6132
|
+
* Text for the cancel button in editing mode
|
|
6133
|
+
*
|
|
6134
|
+
* @uiName Cancel button label
|
|
6135
|
+
* @uiType string
|
|
6136
|
+
* @uiGroup Customizable Vanity Link
|
|
6137
|
+
* @requiredFlavor impact
|
|
6138
|
+
*/
|
|
6139
|
+
this.cancelLabelText = "Cancel";
|
|
6140
|
+
/**
|
|
6141
|
+
* Tooltip text shown when link customization is disabled
|
|
6142
|
+
*
|
|
6143
|
+
* @uiName Customize disabled tooltip
|
|
6144
|
+
* @uiType string
|
|
6145
|
+
* @uiGroup Customizable Vanity Link
|
|
6146
|
+
* @requiredFlavor impact
|
|
6147
|
+
*/
|
|
6148
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6149
|
+
/**
|
|
6150
|
+
* Displayed below the share link.
|
|
6151
|
+
*
|
|
6152
|
+
* @uiName Customize link button label
|
|
6153
|
+
* @uiType string
|
|
6154
|
+
* @uiGroup Customizable Vanity Link
|
|
6155
|
+
* @requiredFlavor impact
|
|
6156
|
+
*/
|
|
6157
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6158
|
+
/**
|
|
6159
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6160
|
+
*
|
|
6161
|
+
* @uiName Edit limit reached text
|
|
6162
|
+
* @uiType string
|
|
6163
|
+
* @uiWidget textarea
|
|
6164
|
+
* @uiGroup Customizable Vanity Link
|
|
6165
|
+
* @requiredFlavor impact
|
|
6166
|
+
*/
|
|
6167
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6168
|
+
/**
|
|
6169
|
+
* Subtext shown while the user is customizing their URL.
|
|
6170
|
+
*
|
|
6171
|
+
* @uiName Edit limit text
|
|
6172
|
+
* @uiType string
|
|
6173
|
+
* @uiGroup Customizable Vanity Link
|
|
6174
|
+
* @requiredFlavor impact
|
|
6175
|
+
*/
|
|
6176
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
|
|
6177
|
+
/**
|
|
6178
|
+
* Description text shown when the link contains invalid special characters.
|
|
6179
|
+
*
|
|
6180
|
+
* @uiName Invalid characters error description
|
|
6181
|
+
* @uiType string
|
|
6182
|
+
* @uiWidget textarea
|
|
6183
|
+
* @uiGroup Customizable Vanity Link
|
|
6184
|
+
* @requiredFlavor impact
|
|
6185
|
+
*/
|
|
6186
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6187
|
+
/**
|
|
6188
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6189
|
+
*
|
|
6190
|
+
* @uiName Invalid characters error title
|
|
6191
|
+
* @uiType string
|
|
6192
|
+
* @uiGroup Customizable Vanity Link
|
|
6193
|
+
* @requiredFlavor impact
|
|
6194
|
+
*/
|
|
6195
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6196
|
+
/**
|
|
6197
|
+
* Description text shown when the link has already been taken
|
|
6198
|
+
*
|
|
6199
|
+
* @uiName Link taken error message
|
|
6200
|
+
* @uiType string
|
|
6201
|
+
* @uiWidget textarea
|
|
6202
|
+
* @uiGroup Customizable Vanity Link
|
|
6203
|
+
* @requiredFlavor impact
|
|
6204
|
+
*/
|
|
6205
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6206
|
+
/**
|
|
6207
|
+
* Title of the error message shown when the link has already been taken
|
|
6208
|
+
*
|
|
6209
|
+
* @uiName Link taken error title
|
|
6210
|
+
* @uiType string
|
|
6211
|
+
* @uiGroup Customizable Vanity Link
|
|
6212
|
+
* @requiredFlavor impact
|
|
6213
|
+
*/
|
|
6214
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6215
|
+
/**
|
|
6216
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6217
|
+
*
|
|
6218
|
+
* @uiName Restricted words error description
|
|
6219
|
+
* @uiType string
|
|
6220
|
+
* @uiWidget textarea
|
|
6221
|
+
* @uiGroup Customizable Vanity Link
|
|
6222
|
+
* @requiredFlavor impact
|
|
6223
|
+
*/
|
|
6224
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6225
|
+
/**
|
|
6226
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6227
|
+
*
|
|
6228
|
+
* @uiName Restricted words error title
|
|
6229
|
+
* @uiType string
|
|
6230
|
+
* @uiGroup Customizable Vanity Link
|
|
6231
|
+
* @requiredFlavor impact
|
|
6232
|
+
*/
|
|
6233
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6234
|
+
/**
|
|
6235
|
+
* Text for the save button in editing mode
|
|
6236
|
+
*
|
|
6237
|
+
* @uiName Save button label
|
|
6238
|
+
* @uiType string
|
|
6239
|
+
* @uiGroup Customizable Vanity Link
|
|
6240
|
+
* @requiredFlavor impact
|
|
6241
|
+
*/
|
|
6242
|
+
this.saveLabelText = "Save";
|
|
6243
|
+
/**
|
|
6244
|
+
* Text for the save button while saving is in progress
|
|
6245
|
+
*
|
|
6246
|
+
* @uiName Saving button label
|
|
6247
|
+
* @uiType string
|
|
6248
|
+
* @uiGroup Customizable Vanity Link
|
|
6249
|
+
* @requiredFlavor impact
|
|
6250
|
+
*/
|
|
6251
|
+
this.savingLabelText = "Saving...";
|
|
6252
|
+
/**
|
|
6253
|
+
* Label shown above the link input while editing
|
|
6254
|
+
*
|
|
6255
|
+
* @uiName Edit input label
|
|
6256
|
+
* @uiType string
|
|
6257
|
+
* @uiGroup Customizable Vanity Link
|
|
6258
|
+
* @requiredFlavor impact
|
|
6259
|
+
*/
|
|
6260
|
+
this.editLabelText = "Enter your link";
|
|
6261
|
+
/**
|
|
6262
|
+
* Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
|
|
6263
|
+
*
|
|
6264
|
+
* @uiName Characters remaining text
|
|
6265
|
+
* @uiType string
|
|
6266
|
+
* @uiGroup Customizable Vanity Link
|
|
6267
|
+
* @requiredFlavor impact
|
|
6268
|
+
*/
|
|
6269
|
+
this.charactersRemainingText = "Characters remaining: {charactersRemaining}";
|
|
6270
|
+
/**
|
|
6271
|
+
* Text shown while the link is being validated
|
|
6272
|
+
*
|
|
6273
|
+
* @uiName Validating label
|
|
6274
|
+
* @uiType string
|
|
6275
|
+
* @uiGroup Customizable Vanity Link
|
|
6276
|
+
* @requiredFlavor impact
|
|
6277
|
+
*/
|
|
6278
|
+
this.validatingLabelText = "Validating...";
|
|
6279
|
+
/**
|
|
6280
|
+
* @uiName Min characters text
|
|
6281
|
+
* @uiType string
|
|
6282
|
+
* @uiGroup Customizable Vanity Link
|
|
6283
|
+
* @requiredFlavor impact
|
|
6284
|
+
*/
|
|
6285
|
+
this.minCharactersText = "Minimum 3 characters.";
|
|
6286
|
+
/**
|
|
6287
|
+
* Display text for the support link in the edit limit reached message
|
|
6288
|
+
*
|
|
6289
|
+
* @uiName Support link text
|
|
6290
|
+
* @uiType string
|
|
6291
|
+
* @uiGroup Customizable Vanity Link
|
|
6292
|
+
* @requiredFlavor impact
|
|
6293
|
+
*/
|
|
6294
|
+
this.supportLinkText = "Support";
|
|
6295
|
+
/**
|
|
6296
|
+
* Title shown when saving fails with an unknown error
|
|
6297
|
+
*
|
|
6298
|
+
* @uiName Save error title
|
|
6299
|
+
* @uiType string
|
|
6300
|
+
* @uiGroup Customizable Vanity Link
|
|
6301
|
+
* @requiredFlavor impact
|
|
6302
|
+
*/
|
|
6303
|
+
this.saveErrorTitle = "Error";
|
|
6304
|
+
/**
|
|
6305
|
+
* Description shown when saving fails with an unknown error
|
|
6306
|
+
*
|
|
6307
|
+
* @uiName Save error description
|
|
6308
|
+
* @uiType string
|
|
6309
|
+
* @uiWidget textarea
|
|
6310
|
+
* @uiGroup Customizable Vanity Link
|
|
6311
|
+
* @requiredFlavor impact
|
|
6312
|
+
*/
|
|
6313
|
+
this.saveErrorDescription = "Failed to save custom link. Please try again.";
|
|
6120
6314
|
domContextHooks_module.h$1(this);
|
|
6121
6315
|
}
|
|
6122
6316
|
disconnectedCallback() { }
|
|
@@ -6125,33 +6319,79 @@ const ShareLink = class {
|
|
|
6125
6319
|
const props = index_module.isDemo()
|
|
6126
6320
|
? useDemoShareLink(thisProps)
|
|
6127
6321
|
: ShadowViewAddon.useShareLink(thisProps);
|
|
6128
|
-
return index.h(
|
|
6322
|
+
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
|
|
6129
6323
|
}
|
|
6130
6324
|
};
|
|
6131
6325
|
function useDemoShareLink(props) {
|
|
6326
|
+
var _a;
|
|
6132
6327
|
const [open, setOpen] = domContextHooks_module.useState(false);
|
|
6328
|
+
const [isEditing, setIsEditing] = domContextHooks_module.useState(false);
|
|
6329
|
+
const [editValue, setEditValue] = domContextHooks_module.useState("");
|
|
6133
6330
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6331
|
+
const domainPrefix = "https://www.example.com/";
|
|
6332
|
+
const baseProps = {
|
|
6333
|
+
copyTextViewProps: {
|
|
6334
|
+
copyString,
|
|
6335
|
+
tooltiptext: props.tooltiptext,
|
|
6336
|
+
textAlign: props.textAlign,
|
|
6337
|
+
buttonStyle: props.buttonStyle,
|
|
6338
|
+
backgroundColor: props.backgroundColor,
|
|
6339
|
+
textColor: props.textColor,
|
|
6340
|
+
borderRadius: props.borderRadius,
|
|
6341
|
+
buttonType: props.buttonType,
|
|
6342
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
6343
|
+
borderColor: props.borderColor,
|
|
6344
|
+
open,
|
|
6345
|
+
onClick: () => {
|
|
6346
|
+
navigator.clipboard.writeText(copyString);
|
|
6347
|
+
setOpen(true);
|
|
6348
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
6349
|
+
},
|
|
6153
6350
|
},
|
|
6154
|
-
|
|
6351
|
+
allowCustomization: props.allowCustomization,
|
|
6352
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6353
|
+
saveLabelText: props.saveLabelText,
|
|
6354
|
+
savingLabelText: props.savingLabelText,
|
|
6355
|
+
cancelLabelText: props.cancelLabelText,
|
|
6356
|
+
editLabelText: props.editLabelText,
|
|
6357
|
+
charactersRemainingText: props.charactersRemainingText,
|
|
6358
|
+
validatingLabelText: props.validatingLabelText,
|
|
6359
|
+
isEditing,
|
|
6360
|
+
editValue,
|
|
6361
|
+
domainPrefix,
|
|
6362
|
+
editsRemaining: 5,
|
|
6363
|
+
maxEdits: 5,
|
|
6364
|
+
limitReached: false,
|
|
6365
|
+
validationError: null,
|
|
6366
|
+
isValidating: false,
|
|
6367
|
+
isSaving: false,
|
|
6368
|
+
characterLimit: 15,
|
|
6369
|
+
minCharacters: 3,
|
|
6370
|
+
charactersRemaining: 15 - editValue.length,
|
|
6371
|
+
editLimitText: props.editLimitText,
|
|
6372
|
+
editLimitReachedText: props.editLimitReachedText,
|
|
6373
|
+
supportLinkText: props.supportLinkText,
|
|
6374
|
+
minCharactersText: props.minCharactersText,
|
|
6375
|
+
customizeDisabled: false,
|
|
6376
|
+
customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
|
|
6377
|
+
onCustomizeClick: () => {
|
|
6378
|
+
setIsEditing(true);
|
|
6379
|
+
setEditValue("");
|
|
6380
|
+
},
|
|
6381
|
+
onEditValueChange: (value) => {
|
|
6382
|
+
setEditValue(value);
|
|
6383
|
+
},
|
|
6384
|
+
onSave: () => {
|
|
6385
|
+
setIsEditing(false);
|
|
6386
|
+
},
|
|
6387
|
+
onCancel: () => {
|
|
6388
|
+
setIsEditing(false);
|
|
6389
|
+
setEditValue("");
|
|
6390
|
+
},
|
|
6391
|
+
};
|
|
6392
|
+
return cjs.cjs(baseProps, props.demoData || {}, {
|
|
6393
|
+
arrayMerge: (_, a) => a,
|
|
6394
|
+
});
|
|
6155
6395
|
}
|
|
6156
6396
|
|
|
6157
6397
|
const StatContainer = class {
|
|
@@ -6395,33 +6635,12 @@ function useTaskCardDemo(props) {
|
|
|
6395
6635
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6396
6636
|
}
|
|
6397
6637
|
|
|
6398
|
-
/**
|
|
6399
|
-
* Util function for getting just the props with a certain prefix.
|
|
6400
|
-
* @param props Text props on stencil component
|
|
6401
|
-
* @param prefix Prefix denoting which group the text prop belongs to
|
|
6402
|
-
* @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
|
|
6403
|
-
*/
|
|
6404
|
-
function extractProps(props, prefix) {
|
|
6405
|
-
const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
|
|
6406
|
-
const formattedProps = keys.reduce((prev, k) => {
|
|
6407
|
-
const key = k.replace(prefix, "");
|
|
6408
|
-
return {
|
|
6409
|
-
...prev,
|
|
6410
|
-
[key]: props[k],
|
|
6411
|
-
};
|
|
6412
|
-
}, {});
|
|
6413
|
-
return formattedProps;
|
|
6414
|
-
}
|
|
6415
|
-
|
|
6416
6638
|
function getCurrentStep(user) {
|
|
6417
6639
|
var _a, _b;
|
|
6418
6640
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
6419
6641
|
return "/1";
|
|
6420
6642
|
}
|
|
6421
6643
|
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
6422
|
-
if (user.impactConnection.connectionStatus === "STARTED") {
|
|
6423
|
-
return "/1";
|
|
6424
|
-
}
|
|
6425
6644
|
// If they do have a required document, look at current document
|
|
6426
6645
|
if (requiredTaxDocumentType && !currentTaxDocument) {
|
|
6427
6646
|
// Specific to custom CASH setting,
|
|
@@ -6530,7 +6749,7 @@ function useTaxAndCash() {
|
|
|
6530
6749
|
const availableCountries = domContextHooks_module.useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
|
|
6531
6750
|
const _topCountries = ["CA", "GB", "US"];
|
|
6532
6751
|
const sortedCountries = domContextHooks_module.useMemo(() => Array.from(availableCountries)
|
|
6533
|
-
.map((countryCode) =>
|
|
6752
|
+
.map((countryCode) => data.getCountryObj({ countryCode, locale: intlLocale }))
|
|
6534
6753
|
.sort(sortByName)
|
|
6535
6754
|
.reduce((prev, countryObj) => {
|
|
6536
6755
|
if (_topCountries.includes(countryObj.countryCode))
|
|
@@ -6650,6 +6869,11 @@ const TaxAndCashMonolith = class {
|
|
|
6650
6869
|
* @uiGroup Step 1 Properties
|
|
6651
6870
|
*/
|
|
6652
6871
|
this.step1_currency = "Currency";
|
|
6872
|
+
/**
|
|
6873
|
+
* @uiName Currency field help text
|
|
6874
|
+
* @uiGroup Step 1 Properties
|
|
6875
|
+
*/
|
|
6876
|
+
this.step1_currencyHelpText = "Choose your preferred payout currency";
|
|
6653
6877
|
/**
|
|
6654
6878
|
* Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
|
|
6655
6879
|
* @uiName Terms and conditions checkbox
|
|
@@ -6737,7 +6961,7 @@ const TaxAndCashMonolith = class {
|
|
|
6737
6961
|
* @uiName Indirect tax number field label
|
|
6738
6962
|
* @uiGroup Step 2 Properties
|
|
6739
6963
|
*/
|
|
6740
|
-
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
|
|
6964
|
+
this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}}";
|
|
6741
6965
|
/**
|
|
6742
6966
|
* @uiName Province field label
|
|
6743
6967
|
* @uiGroup Step 2 Properties
|
|
@@ -6747,7 +6971,7 @@ const TaxAndCashMonolith = class {
|
|
|
6747
6971
|
* @uiName Missing indirect tax number error message
|
|
6748
6972
|
* @uiGroup Step 2 Properties
|
|
6749
6973
|
*/
|
|
6750
|
-
this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
|
|
6974
|
+
this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}} is required";
|
|
6751
6975
|
/**
|
|
6752
6976
|
* Displayed to participants registered for QST.
|
|
6753
6977
|
* @uiName QST number field label
|
|
@@ -7315,7 +7539,7 @@ const TaxAndCashMonolith = class {
|
|
|
7315
7539
|
* @uiName Payout status badge
|
|
7316
7540
|
* @uiGroup Dashboard Properties
|
|
7317
7541
|
*/
|
|
7318
|
-
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
|
|
7542
|
+
this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
|
|
7319
7543
|
/**
|
|
7320
7544
|
* Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
|
|
7321
7545
|
* @uiName Payout schedule by threshold text
|
|
@@ -7686,7 +7910,7 @@ const TaxAndCashMonolith = class {
|
|
|
7686
7910
|
getGeneralStepTextProps(prefix) {
|
|
7687
7911
|
const props = utils.getProps(this);
|
|
7688
7912
|
return {
|
|
7689
|
-
...extractProps(props, prefix),
|
|
7913
|
+
...extractProps.extractProps(props, prefix),
|
|
7690
7914
|
generalErrorTitle: props.generalErrorTitle,
|
|
7691
7915
|
generalErrorDescription: props.generalErrorDescription,
|
|
7692
7916
|
fieldRequiredError: props.fieldRequiredError,
|
|
@@ -7736,7 +7960,7 @@ const TaxAndCashMonolith = class {
|
|
|
7736
7960
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
|
|
7737
7961
|
}) }));
|
|
7738
7962
|
}
|
|
7739
|
-
return index.h(
|
|
7963
|
+
return index.h(data.LoadingView, null);
|
|
7740
7964
|
}
|
|
7741
7965
|
};
|
|
7742
7966
|
function useDemoTaxAndCash(props) {
|
|
@@ -7744,7 +7968,7 @@ function useDemoTaxAndCash(props) {
|
|
|
7744
7968
|
namespace: data.TAX_CONTEXT_NAMESPACE,
|
|
7745
7969
|
initialValue: "/1",
|
|
7746
7970
|
});
|
|
7747
|
-
const states =
|
|
7971
|
+
const states = extractProps.parseStates(props.stateController);
|
|
7748
7972
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
|
|
7749
7973
|
? { ...prev, ...states[key] }
|
|
7750
7974
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -7891,6 +8115,77 @@ const TimelineReward = class {
|
|
|
7891
8115
|
}
|
|
7892
8116
|
};
|
|
7893
8117
|
|
|
8118
|
+
function UserAttributeView(props) {
|
|
8119
|
+
const style = {
|
|
8120
|
+
P: {
|
|
8121
|
+
margin: "0",
|
|
8122
|
+
padding: "0",
|
|
8123
|
+
fontSize: props.fontSize ? `${props.fontSize}px` : "inherit",
|
|
8124
|
+
fontWeight: props.fontWeight || "inherit",
|
|
8125
|
+
color: props.color || "var(--sqm-text)",
|
|
8126
|
+
},
|
|
8127
|
+
};
|
|
8128
|
+
const sheet = JSS.createStyleSheet(style);
|
|
8129
|
+
const styleString = sheet.toString();
|
|
8130
|
+
const loadingSkeleton = (index.h("sqm-skeleton", { width: "200px", height: "20px" }));
|
|
8131
|
+
return (index.h(index.Host, null,
|
|
8132
|
+
index.h("style", null, styleString),
|
|
8133
|
+
index.h("p", { class: sheet.classes.P, part: "sqm-base" }, props.loading ? loadingSkeleton : props.value)));
|
|
8134
|
+
}
|
|
8135
|
+
|
|
8136
|
+
const GET_CUSTOM_FIELDS = index_module.dist.gql `
|
|
8137
|
+
query getCustomFields {
|
|
8138
|
+
viewer {
|
|
8139
|
+
... on User {
|
|
8140
|
+
customFields
|
|
8141
|
+
}
|
|
8142
|
+
}
|
|
8143
|
+
}
|
|
8144
|
+
`;
|
|
8145
|
+
function useUserAttribute(props) {
|
|
8146
|
+
var _a, _b;
|
|
8147
|
+
const user = index_module.J();
|
|
8148
|
+
const res = index_module.wn(GET_CUSTOM_FIELDS, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
8149
|
+
const loading = res.loading;
|
|
8150
|
+
const customFields = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.customFields;
|
|
8151
|
+
let value = customFields === null || customFields === void 0 ? void 0 : customFields[props.value];
|
|
8152
|
+
if (props.value === "lastSeenDate" && typeof value === "number") {
|
|
8153
|
+
value = luxon.luxon.DateTime.fromMillis(value).toLocaleString(luxon.luxon.DateTime.DATE_MED);
|
|
8154
|
+
}
|
|
8155
|
+
return {
|
|
8156
|
+
loading,
|
|
8157
|
+
value,
|
|
8158
|
+
fontSize: props.fontSize,
|
|
8159
|
+
color: props.color,
|
|
8160
|
+
fontWeight: props.fontWeight,
|
|
8161
|
+
};
|
|
8162
|
+
}
|
|
8163
|
+
|
|
8164
|
+
const UserAttribute = class {
|
|
8165
|
+
constructor(hostRef) {
|
|
8166
|
+
index.registerInstance(this, hostRef);
|
|
8167
|
+
this.ignored = true;
|
|
8168
|
+
domContextHooks_module.h$1(this);
|
|
8169
|
+
}
|
|
8170
|
+
disconnectedCallback() { }
|
|
8171
|
+
render() {
|
|
8172
|
+
const props = index_module.isDemo() ? useCustomFieldsDemo(this) : useUserAttribute(this);
|
|
8173
|
+
if (props.value == null) {
|
|
8174
|
+
return index.h(index.Host, { style: { display: "none" } });
|
|
8175
|
+
}
|
|
8176
|
+
return index.h(UserAttributeView, Object.assign({}, props));
|
|
8177
|
+
}
|
|
8178
|
+
};
|
|
8179
|
+
function useCustomFieldsDemo(props) {
|
|
8180
|
+
return cjs.cjs({
|
|
8181
|
+
loading: false,
|
|
8182
|
+
value: "Custom Field Value",
|
|
8183
|
+
fontSize: props.fontSize,
|
|
8184
|
+
color: props.color,
|
|
8185
|
+
fontWeight: props.fontWeight,
|
|
8186
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
8187
|
+
}
|
|
8188
|
+
|
|
7894
8189
|
function UserNameView(props) {
|
|
7895
8190
|
return index.h(index.Host, null, props.loading ? props.loadingText : props.username);
|
|
7896
8191
|
}
|
|
@@ -7949,365 +8244,6 @@ function useUserNameDemo(props) {
|
|
|
7949
8244
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7950
8245
|
}
|
|
7951
8246
|
|
|
7952
|
-
const USER_LOOKUP = index_module.dist.gql `
|
|
7953
|
-
query checkUserVerification {
|
|
7954
|
-
viewer {
|
|
7955
|
-
... on User {
|
|
7956
|
-
id
|
|
7957
|
-
accountId
|
|
7958
|
-
email
|
|
7959
|
-
emailVerified
|
|
7960
|
-
managedIdentity {
|
|
7961
|
-
email
|
|
7962
|
-
emailVerified
|
|
7963
|
-
}
|
|
7964
|
-
impactConnection {
|
|
7965
|
-
connected
|
|
7966
|
-
}
|
|
7967
|
-
}
|
|
7968
|
-
}
|
|
7969
|
-
}
|
|
7970
|
-
`;
|
|
7971
|
-
function useWidgetVerification() {
|
|
7972
|
-
const [showCode] = index_module.In({
|
|
7973
|
-
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
7974
|
-
initialValue: false,
|
|
7975
|
-
});
|
|
7976
|
-
index_module.In({
|
|
7977
|
-
namespace: keys.VERIFICATION_EMAIL_NAMESPACE,
|
|
7978
|
-
initialValue: undefined,
|
|
7979
|
-
});
|
|
7980
|
-
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
7981
|
-
const [loading, setLoading] = domContextHooks_module.useState(true);
|
|
7982
|
-
const [showPartnerModal, setShowPartnerModal] = index_module.In({
|
|
7983
|
-
namespace: keys.SHOW_PARTNER_MODAL_NAMESPACE,
|
|
7984
|
-
initialValue: false,
|
|
7985
|
-
});
|
|
7986
|
-
const [partnerCreated, setPartnerCreated] = index_module.In({
|
|
7987
|
-
namespace: keys.PARTNER_CREATED_NAMESPACE,
|
|
7988
|
-
initialValue: false,
|
|
7989
|
-
});
|
|
7990
|
-
const [fetch] = index_module.Xe(USER_LOOKUP);
|
|
7991
|
-
domContextHooks_module.useEffect(() => {
|
|
7992
|
-
const checkUser = async () => {
|
|
7993
|
-
var _a, _b, _c, _d, _e;
|
|
7994
|
-
try {
|
|
7995
|
-
const res = await fetch({});
|
|
7996
|
-
if (!res || res instanceof Error)
|
|
7997
|
-
throw new Error();
|
|
7998
|
-
// Flow changed to send email -> verify code -> show early partner creation modal
|
|
7999
|
-
const emailVerified = ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_c = (_b = res === null || res === void 0 ? void 0 : res.viewer) === null || _b === void 0 ? void 0 : _b.managedIdentity) === null || _c === void 0 ? void 0 : _c.emailVerified);
|
|
8000
|
-
const isConnected = (_e = (_d = res === null || res === void 0 ? void 0 : res.viewer) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.connected;
|
|
8001
|
-
if (isConnected) {
|
|
8002
|
-
// Partner already created, show widget content
|
|
8003
|
-
setContext(true);
|
|
8004
|
-
}
|
|
8005
|
-
else if (emailVerified) {
|
|
8006
|
-
// Email verified but no partner yet, show partner modal
|
|
8007
|
-
setShowPartnerModal(true);
|
|
8008
|
-
}
|
|
8009
|
-
}
|
|
8010
|
-
catch (e) {
|
|
8011
|
-
console.error("Could not fetch user information:", e);
|
|
8012
|
-
}
|
|
8013
|
-
finally {
|
|
8014
|
-
setLoading(false);
|
|
8015
|
-
}
|
|
8016
|
-
};
|
|
8017
|
-
checkUser();
|
|
8018
|
-
}, []);
|
|
8019
|
-
const onVerification = () => {
|
|
8020
|
-
setShowPartnerModal(true);
|
|
8021
|
-
};
|
|
8022
|
-
const onPartnerModalComplete = () => {
|
|
8023
|
-
setShowPartnerModal(false);
|
|
8024
|
-
setPartnerCreated(false);
|
|
8025
|
-
setContext(true);
|
|
8026
|
-
};
|
|
8027
|
-
domContextHooks_module.useEffect(() => {
|
|
8028
|
-
if (partnerCreated)
|
|
8029
|
-
onPartnerModalComplete();
|
|
8030
|
-
}, [partnerCreated]);
|
|
8031
|
-
return {
|
|
8032
|
-
showCode,
|
|
8033
|
-
showPartnerModal,
|
|
8034
|
-
onVerification,
|
|
8035
|
-
onPartnerModalComplete,
|
|
8036
|
-
loading,
|
|
8037
|
-
};
|
|
8038
|
-
}
|
|
8039
|
-
|
|
8040
|
-
const style$3 = {
|
|
8041
|
-
Dialog: {
|
|
8042
|
-
"&::part(panel)": {
|
|
8043
|
-
maxWidth: "480px",
|
|
8044
|
-
},
|
|
8045
|
-
"&::part(body)": {
|
|
8046
|
-
padding: "0 var(--sl-spacing-x-large)",
|
|
8047
|
-
fontSize: "var(--sl-font-size-small)",
|
|
8048
|
-
overflow: "visible",
|
|
8049
|
-
},
|
|
8050
|
-
"&::part(footer)": {
|
|
8051
|
-
display: "flex",
|
|
8052
|
-
flexDirection: "column",
|
|
8053
|
-
gap: "var(--sl-spacing-small)",
|
|
8054
|
-
},
|
|
8055
|
-
"&::part(overlay)": {
|
|
8056
|
-
background: "rgba(0, 0, 0, 0.5)",
|
|
8057
|
-
},
|
|
8058
|
-
},
|
|
8059
|
-
DialogTitle: {
|
|
8060
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
8061
|
-
fontWeight: "600",
|
|
8062
|
-
padding: "var(--sl-spacing-x-large) 0 0 0",
|
|
8063
|
-
margin: "0",
|
|
8064
|
-
},
|
|
8065
|
-
};
|
|
8066
|
-
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
8067
|
-
const styleString$3 = sheet$3.toString();
|
|
8068
|
-
const WidgetVerification = class {
|
|
8069
|
-
constructor(hostRef) {
|
|
8070
|
-
index.registerInstance(this, hostRef);
|
|
8071
|
-
// ! Any updated must be reflected in sqm-widget-verification-internal AND sqm-email-verification AND sqm-code-verification AND sqm-partner-info-modal
|
|
8072
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8073
|
-
GENERAL PROPS
|
|
8074
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8075
|
-
/**
|
|
8076
|
-
* @uiName General widget header text with partner creation
|
|
8077
|
-
* @uiGroup General Text
|
|
8078
|
-
*/
|
|
8079
|
-
this.general_widgetHeaderWithPartnerCreation = "Let's get you ready for rewards";
|
|
8080
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8081
|
-
EMAIL STEP PROPS
|
|
8082
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8083
|
-
/**
|
|
8084
|
-
* @uiName Verify email widget header text
|
|
8085
|
-
* @uiGroup Email Verification Step
|
|
8086
|
-
*/
|
|
8087
|
-
this.emailStep_verifyEmailHeaderText = "Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";
|
|
8088
|
-
/**
|
|
8089
|
-
* @uiName Send code to email alert header
|
|
8090
|
-
* @uiGroup Email Verification Step
|
|
8091
|
-
*/
|
|
8092
|
-
this.emailStep_sendCodeErrorHeader = "There was an error sending your code.";
|
|
8093
|
-
/**
|
|
8094
|
-
* @uiName Send code to email alert description
|
|
8095
|
-
* @uiGroup Email Verification Step
|
|
8096
|
-
*/
|
|
8097
|
-
this.emailStep_sendCodeErrorDescription = "Please try again. If this problem continues, contact our program support team.";
|
|
8098
|
-
/**
|
|
8099
|
-
* @uiName Email input label
|
|
8100
|
-
* @uiGroup Email Verification Step
|
|
8101
|
-
*/
|
|
8102
|
-
this.emailStep_emailLabel = "Email";
|
|
8103
|
-
/**
|
|
8104
|
-
* @uiName Send code button text
|
|
8105
|
-
* @uiGroup Email Verification Step
|
|
8106
|
-
*/
|
|
8107
|
-
this.emailStep_sendCodeText = "Send code";
|
|
8108
|
-
/**
|
|
8109
|
-
* @uiName Send code button text
|
|
8110
|
-
* @uiGroup Email Verification Step
|
|
8111
|
-
*/
|
|
8112
|
-
this.emailStep_emailValidationErrorText = "Please enter a valid email";
|
|
8113
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8114
|
-
CODE STEP PROPS
|
|
8115
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8116
|
-
/**
|
|
8117
|
-
* @uiName Verify code widget header text
|
|
8118
|
-
* @uiGroup Code Verification Step
|
|
8119
|
-
*/
|
|
8120
|
-
this.codeStep_verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8121
|
-
/**
|
|
8122
|
-
* @uiName Reverify code widget header text
|
|
8123
|
-
* @uiGroup Code Verification Step
|
|
8124
|
-
*/
|
|
8125
|
-
this.codeStep_reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8126
|
-
/**
|
|
8127
|
-
* Text displayed under verify button
|
|
8128
|
-
* @uiName Resend code text
|
|
8129
|
-
* @uiGroup Code Verification Step
|
|
8130
|
-
*/
|
|
8131
|
-
this.codeStep_resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
8132
|
-
/**
|
|
8133
|
-
* The link that appears in the resend code link
|
|
8134
|
-
* @uiName Resend code label
|
|
8135
|
-
* @uiGroup Code Verification Step
|
|
8136
|
-
*/
|
|
8137
|
-
this.codeStep_resendCodeLabel = "Resend code";
|
|
8138
|
-
/**
|
|
8139
|
-
* Link text displayed under verify button
|
|
8140
|
-
* @uiName Resend code text
|
|
8141
|
-
* @uiGroup Code Verification Step
|
|
8142
|
-
*/
|
|
8143
|
-
this.codeStep_codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
8144
|
-
/**
|
|
8145
|
-
* Error text displayed under verification input
|
|
8146
|
-
* @uiName Invalid code text
|
|
8147
|
-
* @uiGroup Code Verification Step
|
|
8148
|
-
*/
|
|
8149
|
-
this.codeStep_invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
8150
|
-
/**
|
|
8151
|
-
* @uiName Verify code button text
|
|
8152
|
-
* @uiGroup Code Verification Step
|
|
8153
|
-
*/
|
|
8154
|
-
this.codeStep_verifyText = "Verify";
|
|
8155
|
-
/**
|
|
8156
|
-
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
8157
|
-
* @uiName Network error message
|
|
8158
|
-
* @uiGroup Code Verification Step
|
|
8159
|
-
*/
|
|
8160
|
-
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
8161
|
-
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8162
|
-
PARTNER CREATION STEP PROPS
|
|
8163
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8164
|
-
/**
|
|
8165
|
-
* @uiName New partner header
|
|
8166
|
-
* @uiGroup Partner Creation Step
|
|
8167
|
-
* @uiWidget textArea
|
|
8168
|
-
*/
|
|
8169
|
-
this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
|
|
8170
|
-
/**
|
|
8171
|
-
* @uiName Existing partner header
|
|
8172
|
-
* @uiGroup Partner Creation Step
|
|
8173
|
-
* @uiWidget textArea
|
|
8174
|
-
*/
|
|
8175
|
-
this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
|
|
8176
|
-
/**
|
|
8177
|
-
* @uiName New partner description
|
|
8178
|
-
* @uiGroup Partner Creation Step
|
|
8179
|
-
* @uiWidget textArea
|
|
8180
|
-
*/
|
|
8181
|
-
this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
|
|
8182
|
-
/**
|
|
8183
|
-
* @uiName Existing partner description
|
|
8184
|
-
* @uiGroup Partner Creation Step
|
|
8185
|
-
* @uiWidget textArea
|
|
8186
|
-
*/
|
|
8187
|
-
this.createPartnerStep_descriptionExistingPartner = "We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.";
|
|
8188
|
-
/**
|
|
8189
|
-
* @uiName Existing partner support description
|
|
8190
|
-
* @uiGroup Partner Creation Step
|
|
8191
|
-
* @uiWidget textArea
|
|
8192
|
-
*/
|
|
8193
|
-
this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
|
|
8194
|
-
/**
|
|
8195
|
-
* @uiName Country label
|
|
8196
|
-
* @uiGroup Partner Creation Step
|
|
8197
|
-
*/
|
|
8198
|
-
this.createPartnerStep_countryLabel = "Country";
|
|
8199
|
-
/**
|
|
8200
|
-
* @uiName Currency label
|
|
8201
|
-
* @uiGroup Partner Creation Step
|
|
8202
|
-
*/
|
|
8203
|
-
this.createPartnerStep_currencyLabel = "Currency";
|
|
8204
|
-
/**
|
|
8205
|
-
* @uiName Submit button label
|
|
8206
|
-
* @uiGroup Partner Creation Step
|
|
8207
|
-
*/
|
|
8208
|
-
this.createPartnerStep_submitButtonLabel = "Submit";
|
|
8209
|
-
/**
|
|
8210
|
-
* @uiName Confirm button label
|
|
8211
|
-
* @uiGroup Partner Creation Step
|
|
8212
|
-
*/
|
|
8213
|
-
this.createPartnerStep_confirmButtonLabel = "Confirm";
|
|
8214
|
-
/**
|
|
8215
|
-
* @uiName Search country placeholder
|
|
8216
|
-
* @uiGroup Partner Creation Step
|
|
8217
|
-
*/
|
|
8218
|
-
this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
|
|
8219
|
-
/**
|
|
8220
|
-
* @uiName Search currency placeholder
|
|
8221
|
-
* @uiGroup Partner Creation Step
|
|
8222
|
-
*/
|
|
8223
|
-
this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
|
|
8224
|
-
/**
|
|
8225
|
-
* @uiName Network error text
|
|
8226
|
-
* @uiGroup Partner Creation Step
|
|
8227
|
-
* @uiWidget textArea
|
|
8228
|
-
*/
|
|
8229
|
-
this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
|
|
8230
|
-
/**
|
|
8231
|
-
* @uiName Missing fields error text
|
|
8232
|
-
* @uiGroup Partner Creation Step
|
|
8233
|
-
* @uiWidget textArea
|
|
8234
|
-
*/
|
|
8235
|
-
this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
|
|
8236
|
-
/**
|
|
8237
|
-
* @undocumented
|
|
8238
|
-
* @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
|
|
8239
|
-
* @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
|
|
8240
|
-
* @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
|
|
8241
|
-
*/
|
|
8242
|
-
this.stateController = "{}";
|
|
8243
|
-
domContextHooks_module.h$1(this);
|
|
8244
|
-
}
|
|
8245
|
-
disconnectedCallback() { }
|
|
8246
|
-
getStepTextProps(prefix) {
|
|
8247
|
-
const props = utils.getProps(this);
|
|
8248
|
-
return extractProps(props, prefix);
|
|
8249
|
-
}
|
|
8250
|
-
render() {
|
|
8251
|
-
var _a;
|
|
8252
|
-
const props = index_module.isDemo()
|
|
8253
|
-
? useDemoWidgetVerificationInternal(this)
|
|
8254
|
-
: useWidgetVerification();
|
|
8255
|
-
if (props.loading)
|
|
8256
|
-
return index.h("sl-spinner", null);
|
|
8257
|
-
// for handling state previews in content editor
|
|
8258
|
-
const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
|
|
8259
|
-
? parseStates.parseStates(props["sqm-partner-info-modal_stateController"])
|
|
8260
|
-
: props["sqm-partner-info-modal_stateController"];
|
|
8261
|
-
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
8262
|
-
return index.h("div", null);
|
|
8263
|
-
}
|
|
8264
|
-
const partnerText = this.getStepTextProps("createPartnerStep_");
|
|
8265
|
-
const dialogLabel = this.general_widgetHeaderWithPartnerCreation;
|
|
8266
|
-
const renderStepContent = () => {
|
|
8267
|
-
if (props.showPartnerModal) {
|
|
8268
|
-
return (index.h("sqm-partner-info-modal", Object.assign({ inModal: true }, partnerText, { stateController: props["sqm-partner-info-modal_stateController"] || "{}" })));
|
|
8269
|
-
}
|
|
8270
|
-
if (props.showCode) {
|
|
8271
|
-
return (index.h("sqm-code-verification", Object.assign({ onVerification: props.onVerification }, this.getStepTextProps("codeStep_"), extractProps(props, "sqm-code-verification_"))));
|
|
8272
|
-
}
|
|
8273
|
-
return (index.h("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"), extractProps(props, "sqm-email-verification_"))));
|
|
8274
|
-
};
|
|
8275
|
-
return (index.h("div", null, index.h("style", { type: "text/css" }, styleString$3), index.h("sl-dialog", { class: sheet$3.classes.Dialog, noHeader: true, open: true, label: dialogLabel, "onSl-request-close": (e) => {
|
|
8276
|
-
e.preventDefault();
|
|
8277
|
-
}, "onSl-hide": (e) => {
|
|
8278
|
-
var _a;
|
|
8279
|
-
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
8280
|
-
e.preventDefault();
|
|
8281
|
-
}
|
|
8282
|
-
} }, index.h("h2", { class: sheet$3.classes.DialogTitle }, dialogLabel), renderStepContent())));
|
|
8283
|
-
}
|
|
8284
|
-
};
|
|
8285
|
-
function useDemoWidgetVerificationInternal(props) {
|
|
8286
|
-
const [showCode, setShowCode] = index_module.In({
|
|
8287
|
-
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
8288
|
-
initialValue: false,
|
|
8289
|
-
});
|
|
8290
|
-
const [email, setEmail] = index_module.In({
|
|
8291
|
-
namespace: keys.VERIFICATION_EMAIL_NAMESPACE,
|
|
8292
|
-
initialValue: undefined,
|
|
8293
|
-
});
|
|
8294
|
-
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
8295
|
-
const states = parseStates.parseStates(props.stateController);
|
|
8296
|
-
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
|
|
8297
|
-
? { ...prev, ...states[key] }
|
|
8298
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
8299
|
-
const onVerification = () => {
|
|
8300
|
-
setContext(true);
|
|
8301
|
-
};
|
|
8302
|
-
return cjs.cjs({
|
|
8303
|
-
showCode,
|
|
8304
|
-
showPartnerModal: false,
|
|
8305
|
-
onVerification,
|
|
8306
|
-
onPartnerModalComplete: () => { },
|
|
8307
|
-
loading: false,
|
|
8308
|
-
}, formatted || {}, { arrayMerge: (_, a) => a });
|
|
8309
|
-
}
|
|
8310
|
-
|
|
8311
8247
|
exports.sqm_big_stat = BigStat;
|
|
8312
8248
|
exports.sqm_brand = BrandComponent;
|
|
8313
8249
|
exports.sqm_brand_selector = SqmBrandSelector;
|
|
@@ -8352,5 +8288,5 @@ exports.sqm_task_card = TaskCard;
|
|
|
8352
8288
|
exports.sqm_tax_and_cash = TaxAndCashMonolith;
|
|
8353
8289
|
exports.sqm_timeline = Timeline;
|
|
8354
8290
|
exports.sqm_timeline_entry = TimelineReward;
|
|
8291
|
+
exports.sqm_user_attribute = UserAttribute;
|
|
8355
8292
|
exports.sqm_user_name = UserName;
|
|
8356
|
-
exports.sqm_widget_verification = WidgetVerification;
|