@saasquatch/mint-components 2.1.9-9 → 2.1.10-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-d679ec76.js → ShadowViewAddon-a26deae6.js} +6 -6
- 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 +94 -401
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +37 -397
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +7 -6
- 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-c81fe7f1.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-bfdbb98d.js → sqm-portal-profile-view-639337e3.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-90cd89e3.js → sqm-portal-verify-email-view-424e406a.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- 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 +15 -200
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- 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-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-stencilbook/sqm-stencilbook.js +0 -4
- 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 +55 -75
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +63 -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 +65 -7
- 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-47f1e579.js} +6 -6
- 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 +91 -398
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +34 -393
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +8 -7
- 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-426370f1.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- 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 +15 -200
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- 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-657d18f0.js → ShadowViewAddon-47f1e579.js} +1 -1
- 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-426370f1.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-f015fd6a.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-1a638fae.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-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-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-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-0614dcbc.entry.js +9 -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-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-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-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
- package/dist/mint-components/{p-896390f9.js → p-217dedde.js} +2 -2
- package/dist/mint-components/{p-e5ee6cf5.entry.js → p-25558a33.entry.js} +2 -2
- 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-3687d433.entry.js +106 -0
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-3adbfd0b.system.js +6 -0
- package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
- package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
- package/dist/mint-components/{p-15a703c7.system.entry.js → p-5141769d.system.entry.js} +1 -1
- package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
- package/dist/mint-components/{p-bba694e4.entry.js → p-55676213.entry.js} +1 -1
- package/dist/mint-components/p-57ac2160.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-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-5ff7b000.entry.js +33 -0
- 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-6640bbd6.entry.js +273 -0
- package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
- package/dist/mint-components/{p-be63f29b.system.js → p-692e14c5.system.js} +1 -1
- package/dist/mint-components/{p-014977d7.js → p-6c4ad51a.js} +1 -1
- package/dist/mint-components/p-6e512063.entry.js +25 -0
- package/dist/mint-components/{p-71545bfd.system.entry.js → p-70570e4d.system.entry.js} +1 -1
- package/dist/mint-components/{p-a7ee6531.js → p-7161e1a6.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-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-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-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-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-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-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-66c0100c.system.entry.js → p-ab0ea688.system.entry.js} +1 -1
- package/dist/mint-components/p-abc28aeb.system.entry.js +1 -0
- package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
- 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-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
- package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
- package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
- package/dist/mint-components/p-bf545082.system.entry.js +1 -0
- 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-c67f8558.system.entry.js +1 -0
- 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-93c5c8ec.entry.js → p-cb0a5990.entry.js} +1 -1
- package/dist/mint-components/{p-74aac245.system.js → p-ce050888.system.js} +1 -1
- 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-ba953c21.entry.js → p-d4570314.entry.js} +1 -1
- package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
- package/dist/mint-components/{p-b5f57914.js → p-d997001a.js} +1 -1
- package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
- package/dist/mint-components/{p-b297016f.system.entry.js → p-dd368927.system.entry.js} +1 -1
- package/dist/mint-components/p-de0d6fd7.js +49 -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-098d134a.system.entry.js → p-e3497e0e.system.entry.js} +1 -1
- package/dist/mint-components/{p-d798004f.system.js → p-e4f17c21.system.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-f18a6658.js → p-e6ace3ab.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-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
- package/dist/mint-components/{p-8139fdec.entry.js → p-f0baeed0.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-31dde9fc.system.js → p-f35d856a.system.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-438f6702.js → p-f8a09b0f.js} +152 -152
- package/dist/mint-components/p-fbe00c97.system.entry.js +1 -0
- 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-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 +6 -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 +8 -165
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -0
- package/dist/types/components.d.ts +38 -554
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/docs/stats.json +122783 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -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 -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/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-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-7a5814ef.system.entry.js +0 -1
- 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-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 +0,0 @@
|
|
|
1
|
-
import{h as s,c as r,r as t}from"./p-083180bf.js";import{n as o}from"./p-a7fc1e02.js";import"./p-d20188db.js";import{a}from"./p-092db51a.js";const l=({},t)=>s(r,null,t),n=class{constructor(s){t(this,s),o(this)}disconnectedCallback(){}render(){return a([this.header]),s(l,null,s("slot",null))}};export{n as sqm_tab}
|
|
@@ -1 +0,0 @@
|
|
|
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,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,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?n(e.value):i(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,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(n)try{if(r=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=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-64f56cc9.system.js","./p-b6504987.system.js","./p-a8ecdc44.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7b909aa5.system.js","./p-b2a99637.system.js","./p-28e0062c.system.js"],(function(e){"use strict";var t,n,r,i,a,s,o,l,c,u,d,f,p,m,v,h,y,g,b,x,_;return{setters:[function(e){t=e.h;n=e.r},function(e){r=e.i},function(e){i=e.l;a=e.k;s=e.f;o=e.n},function(e){l=e.d;c=e.t;u=e.F;d=e.i;f=e.r},function(e){p=e.c},function(e){m=e.g},function(e){v=e.c},function(e){h=e.E},function(e){y=e.T},function(e){g=e.a;b=e.S;x=e.V},function(e){_=e.u}],execute:function(){var C={Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",maxWidth:"550px"},HeaderContainer:{display:"flex",flexDirection:"column"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column"},CodeInputContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},CodeInput:{maxWidth:"40px","&::part(base)":{borderRadius:"4px !important"},"&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}},CodeInputError:__assign(__assign({},h),{maxWidth:"40px","&::part(base)":{borderRadius:"4px !important"},"&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}}),ErrorText:{color:"var(--sqm-danger-color-text)",fontSize:"var(--sl-font-size-small)",margin:"0"},ContinueButton:{width:"100%"},FooterContainer:{display:"flex",flexDirection:"column"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"}};var w="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\n\n";var E=v(C);var T=E.toString();function k(e){var n=e.states,i=e.refs,a=e.callbacks,s=e.text;var o=r.formatMessage({id:"resendCodeText",defaultMessage:s.resendCodeText},{resendCodeLink:t("a",{href:"",style:{textDecoration:"underline",color:"inherit",cursor:"pointer"},onClick:function(e){e.preventDefault();a.resendEmail()}},s.resendCodeLabel)});var l=r.formatMessage({id:"codeResentSuccessfully",defaultMessage:s.codeResentSuccessfullyText},{email:n.email});var c=n.verifyFailed?E.classes.CodeInputError:E.classes.CodeInput;return t("div",{part:"sqm-base"},t("style",{type:"text/css"},w,T),t("div",{class:E.classes.Wrapper},t("div",{class:E.classes.HeaderContainer},t(y,{type:"p"},r.formatMessage({id:"emailHeaderText",defaultMessage:n.verifyFailed?s.reverifyCodeHeaderText:s.verifyCodeHeaderText},{email:n.email}))),n.emailResent&&t("sqm-form-message",{type:"success",exportparts:"successalert-icon"},t("b",null,l)),t("div",{class:E.classes.InputsContainer},t("div",{ref:i.codeWrapperRef,class:E.classes.CodeInputContainer},t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"})),n.verifyFailed&&t("p",{class:E.classes.ErrorText},s.invalidCodeText),t("div",{class:E.classes.FooterContainer},t(y,{type:"p"},o)),t("sl-button",{class:E.classes.ContinueButton,onClick:a.submitCode,disabled:n.loading||n.initialiseLoading,loading:n.loading||n.initialiseLoading,exportparts:"base: primarybutton-base",type:"primary"},s.verifyText))))}var S=l.gql(__makeTemplateObject(["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"],["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"]));function j(e){var t=this;var n=i();var r=c(b),o=r[0],l=r[1];var d=u(g);var f=a(false),p=f[0],m=f[1];var v=a(false),h=v[0],y=v[1];var x=a(null),C=x[0],w=x[1];var E=a(false),T=E[0],k=E[1];var S=a(false),j=S[0],I=S[1];var P=_(),R=P.initialized,F=P.verificationEmail,L=P.send,A=L[0],O=L[1],q=O.loading,M=O.errors,D=P.verify,W=D[0],$=D[1],z=$.loading,H=$.errors;s((function(){if(!C)return;var e=C.querySelectorAll("sl-input");var t=Array.from(e).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));t.forEach((function(e,n){e.addEventListener("focus",(function(e){e.target.select()}));e.addEventListener("keydown",(function(e){if(e.key==="Backspace"&&e.target.value===""){t[Math.max(0,n-1)].focus()}}));e.addEventListener("input",(function(e){var r=e.data;if(!r)return;if(n===t.length-1){e.target.value=r.slice(0,1);return}if(r.length>1){var i=r.slice(1);e.target.value=r.slice(0,1);t[n+1].dispatchEvent(new InputEvent("input",{inputType:"insertFromPaste",data:i}))}t[n+1].focus()}))}))}),[C]);var B=function(){l(false);k(false)};var K=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!R)return[2];return[4,A()];case 1:e=t.sent();if(!e){I(true);return[2]}if(p)y(true);m(true);return[2]}}))}))};var V=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,r,i;return __generator(this,(function(a){switch(a.label){case 0:t=C.querySelectorAll("sl-input");n=Array.from(t).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));if(n.find((function(e){return!e.value}))){k(true);return[2]}r="";n.forEach((function(e){r=""+r+e.value}));if(!R)return[2];k(false);return[4,W(r)];case 1:i=a.sent();if(i===null||i===void 0?void 0:i.success){e.onVerification(i.accessKey);B()}else{k(true)}return[2]}}))}))};s((function(){if(!R)return;if(!d)K();else m(true)}),[R]);return{refs:{codeWrapperRef:w},states:{email:F,emailResent:h,resendError:M||H,initialiseLoading:!R,loading:q||z,verifyFailed:!!T},callbacks:{resendEmail:K,submitCode:V},text:e.getTextProps()}}var I=e("sqm_code_verification",function(){function e(e){n(this,e);this.verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.resendCodeText="Didn't receive your code? {resendCodeLink}";this.resendCodeLabel="Resend code";this.codeResentSuccessfullyText="Another code has been sent to {email}";this.invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.";this.verifyText="Verify";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getTextProps=function(){return m(this)};e.prototype.render=function(){var e=d()?P(this):j(this);return t(k,Object.assign({},e))};return e}());function P(e){var t=this;var n=a(false),r=n[0],i=n[1];var s=f(x);return p({states:{initialiseLoading:false,loading:false,email:"test@example.com",emailResent:r,verifyFailed:false},refs:{codeWrapperRef:function(){}},callbacks:{resendEmail:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,i(true)]}))}))},submitCode:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,s(true)]}))}))}},text:e.getTextProps()},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import{k as n,f as t}from"./p-a7fc1e02.js";import{d as o,J as e,$ as i,g as r,w as u}from"./p-d20188db.js";import{T as d}from"./p-28ed2ae9.js";var c=function(n){for(var t=Array(n.length),o=0;o<n.length;++o)t[o]=n[o];return t},a=function(n){return Array.isArray(n)?n:[n]},f=function(n,t){var o=n.tabIndex-t.tabIndex;if(o){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return o||n.index-t.index},l=function(n,t,o){return c(n).map((function(n,t){return{node:n,index:t,tabIndex:o&&-1===n.tabIndex?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(f)};const s=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var v=s.join(","),E=v+", [data-focus-guard]",m=function(n,t){return n.reduce((function(n,o){return n.concat(c(o.querySelectorAll(t?E:v)),o.parentNode?c(o.parentNode.querySelectorAll(s.join(","))).filter((function(n){return n===o})):[])}),[])},I=function n(t){return!t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((o=window.getComputedStyle(t,null))&&o.getPropertyValue&&("none"===o.getPropertyValue("display")||"hidden"===o.getPropertyValue("visibility")))&&n(t.parentNode);var o},p=function n(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o.push(t),t.parentNode&&n(t.parentNode,o),o},_=function(n,t){for(var o=p(n),e=p(t),i=0;i<o.length;i+=1){var r=o[i];if(e.indexOf(r)>=0)return r}return!1},w=function(n){return c(n).filter((function(n){return I(n)})).filter((function(n){return function(n){return!(("INPUT"===n.tagName||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))}(n)}))},R=function(n,t){return l(w(m(n,t)),!0,t)},h=function(n){return"INPUT"===n.tagName&&"radio"===n.type},A=function(n,t){return t.filter(h).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n},N=function(n,t){return n.length>1&&h(n[t])&&n[t].name?n.indexOf(A(n[t],n)):t},T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b=function n(t){for(var o=t.length,e=0;e<o;e+=1)for(var i=function(o){if(e!==o&&t[e].contains(t[o]))return{v:n(t.filter((function(n){return n!==t[o]})))}},r=0;r<o;r+=1){var u=i(r);if("object"===(void 0===u?"undefined":T(u)))return u.v}return t},g=function n(t){return t.parentNode?n(t.parentNode):t},D=function(n){return a(n).filter(Boolean).reduce((function(n,t){var o=t.getAttribute("data-focus-lock");return n.push.apply(n,o?b(c(g(t).querySelectorAll('[data-focus-lock="'+o+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),n}),[])},y=function(n){return n&&n.dataset&&n.dataset.focusGuard},F=function(n){return!y(n)},S=function(n,t){var o=document&&document.activeElement,e=D(n).filter(F),i=function(n,t,o){var e=a(n),i=a(t),r=e[0],u=null;return i.filter(Boolean).forEach((function(n){u=_(u||n,n)||u,o.filter(Boolean).forEach((function(n){var t=_(r,n);t&&(u=!u||t.contains(u)?t:_(t,u))}))})),u}(o||n,n,e),r=R(e).filter((function(n){return F(n.node)}));if(r[0]||(r=(u=e,l(w(m(u)),!1)).filter((function(n){return F(n.node)})))[0]){var u,d,f,s,v,E=R([i]).map((function(n){return n.node})),I=(d=E,f=r,s=new Map,f.forEach((function(n){return s.set(n.node,n)})),d.map((function(n){return s.get(n)})).filter(Boolean)),p=I.map((function(n){return n.node})),T=function(n,t,o,e,i){var r,u=n.length,d=n[0],c=n[u-1],a=y(o);if(!(n.indexOf(o)>=0)){var f=t.indexOf(o),l=t.indexOf(e||f),s=n.indexOf(e),v=f-l,E=t.indexOf(d),m=t.indexOf(c),I=N(n,0),p=N(n,u-1);return-1===f||-1===s?n.indexOf((r=i&&i.length?i:n)[0]&&r.length>1&&h(r[0])&&r[0].name?A(r[0],r):r[0]):!v&&s>=0?s:f<=E&&a&&Math.abs(v)>1?p:f>=E&&a&&Math.abs(v)>1?I:v&&Math.abs(v)>1?s:f<=E?p:f>m?I:v?Math.abs(v)>1?s:(u+s+v)%u:void 0}}(p,E,o,t,p.filter((v=function(n){return n.reduce((function(n,t){return n.concat(function(n){return w((t=n.querySelectorAll("[data-autofocus-inside]"),c(t).map((function(n){return m([n])})).reduce((function(n,t){return n.concat(t)}),[])));var t}(t))}),[])}(e),function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||v.indexOf(n)>=0})));return void 0===T?T:I[T]}},C=function(n){return n===document.activeElement},O=0,V=!1,M=0,L=null,H=function(){var n,t,o=!1;if(M){var e=M;document&&document.activeElement===document.body||document&&c(document.querySelectorAll("[data-no-focus-lock]")).some((function(n){return n.contains(document.activeElement)}))||(e&&(n=e,!(!(!(t=document&&document.activeElement)||t.dataset&&t.dataset.focusGuard)&&D(n).reduce((function(n,o){return n||o.contains(t)||function(n){return t=c(n.querySelectorAll("iframe")),o=C,!!t.filter((function(n){return n===o}))[0];var t,o}(o)}),!1)))&&(o=function(n){var t,o=S(n,L);if(!V&&o){if(O>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),V=!0,void setTimeout((function(){V=!1}),1);O++,(t=o.node).focus(),t.contentWindow&&t.contentWindow.focus(),O--}}(e)),L=document.activeElement)}return o},U=[],x=function(n){return t=U.filter((function(n){return n})).slice(-1)[0],M=t,!!void(t&&H())&&(n&&n.preventDefault(),!0);var t},k=function(n){0===U.length&&document.addEventListener("focusin",x),U.indexOf(n)<0&&(U.push(n),x())},P=function(){return"undefined"==typeof window},W=function(n){n=n||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(n);return{ios:!t&&/(iPhone\sOS)\s([\d_]+)/.test(n)||t,android:/(Android);?[\s/]+([\d.]+)?/.test(n)}},B=0,Y=0,j=0,K=null,q=!1,Q=[],$=function(n){if(P())return!1;if(!n)throw new Error("options must be provided");var t=!1,o={get passive(){t=!0}},e=function(){},i="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(i,e,o),window.removeEventListener(i,e,o);var r=n.capture;return t?n:void 0!==r&&r}({passive:!1}),G=!P()&&"scrollBehavior"in document.documentElement.style,z=function(n){n.cancelable&&n.preventDefault()},X=function(n){var t,o,e,i,r;P()||(W().ios?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){n&&-1===Q.indexOf(n)&&(n.ontouchstart=function(n){Y=n.targetTouches[0].clientY,j=n.targetTouches[0].clientX},n.ontouchmove=function(t){1===t.targetTouches.length&&function(n,t){if(t){var o=t.scrollTop,e=t.scrollLeft,i=t.scrollWidth,r=t.scrollHeight,u=t.clientWidth,d=t.clientHeight,c=n.targetTouches[0].clientX-j,a=n.targetTouches[0].clientY-Y,f=Math.abs(a)>Math.abs(c);if(f&&(a>0&&0===o||a<0&&o+d+1>=r)||!f&&(c>0&&0===e||c<0&&e+u+1>=i))return z(n)}n.stopPropagation()}(t,n)},Q.push(n))})),q||(document.addEventListener("touchmove",z,$),q=!0)):B<=0&&(K=W().android?(t=document.documentElement,o=document.body,e=t.scrollTop||o.scrollTop,i=Object.assign({},t.style),r=Object.assign({},o.style),t.style.height="100%",t.style.overflow="hidden",o.style.top="-".concat(e,"px"),o.style.width="100%",o.style.height="auto",o.style.position="fixed",o.style.overflow="hidden",function(){t.style.height=i.height||"",t.style.overflow=i.overflow||"",["top","width","height","overflow","position"].forEach((function(n){o.style[n]=r[n]||""})),G?window.scrollTo({top:e,behavior:"instant"}):window.scrollTo(0,e)}):function(){var n=document.body,t=Object.assign({},n.style),o=window.innerWidth-n.clientWidth;return n.style.overflow="hidden",n.style.boxSizing="border-box",n.style.paddingRight="".concat(o,"px"),function(){["overflow","boxSizing","paddingRight"].forEach((function(o){n.style[o]=t[o]||""}))}}()),B+=1)},J=function(n){P()||(B-=1)>0||(W().ios||"function"!=typeof K?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){var t=Q.indexOf(n);-1!==t&&(n.ontouchmove=null,n.ontouchstart=null,Q.splice(t,1))})),q&&(document.removeEventListener("touchmove",z,$),q=!1)):K())};const Z="\n position: fixed !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n z-index: 9999999;\n display: block !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n background: rgba(0, 0, 0, 0.6);\n",nn="\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n background: none;\n border: none\n";let tn=function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n}({}),on=function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n}({});function en(n){let{url:t,lang:o,onEvent:e=(()=>{}),embedded:i=!1,embeddedOptions:r,onReload:u}=n;if(!t)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const d=function(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(n){return console.error("Error while checking if iframe is mobile",n),!1}return!1}(i);function c(){const n=document.getElementById("veriffFrame");if(n&&n.parentNode){t=n,U=U.filter((function(n){return n!==t})),x(),0===U.length&&document.removeEventListener("focusin",x),J(n);let o=n.parentNode.parentNode,e=n.parentNode;i&&!d&&(o=n.parentNode,e=n),o&&o.removeChild(e)}else J();var t;window.removeEventListener("message",a)}function a(n){const t=document.getElementById("veriffFrame");n.data===tn.VERIFF_HANDSHAKE&&function(n,t){n.contentWindow?.postMessage({name:tn.VERIFF_RENDER,payload:t},"*")}(t,{version:"2.3.1",isReloadHandled:"function"==typeof u,isVeriffIframeMobile:d,embeddedConfigured:i,embedded:!d&&i}),n.data===tn.VERIFF_STARTED&&e(on.STARTED),n.data===tn.VERIFF_CANCELED&&(c(),e(on.CANCELED)),n.data===tn.VERIFF_SUBMITTED&&e(on.SUBMITTED),n.data===tn.VERIFF_FINISHED&&(c(),e(on.FINISHED)),n.data===tn.VERIFF_FORCE_RELOAD&&window.location.reload(),n.data===tn.VERIFF_RELOAD_REQUEST&&("function"==typeof u&&u(),e(on.RELOAD_REQUEST))}return function(n,t,o,e){const i=document.createElement("iframe");if(i.src=n,i.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",i.id="veriffFrame",t)!function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{rootElementID:e}=t;if(o){n.style.cssText=nn;const t=document.createElement("div");t.style.cssText=Z,t.appendChild(n),document.body.appendChild(t),k(n),X(n)}else{if(!e)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(e))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText="\n position: static;\n width: 100%;\n height: 100%;\n",document.getElementById(e).appendChild(n)}}(i,o,e);else{i.style.cssText=nn;const n=function(){const n=document.createElement("div");return n.style.cssText=Z,n}();n.appendChild(i),document.body.appendChild(n),k(i),X(i)}}(o&&o.length>0?function(n,t,o){if(o){const t=new URL(n),e=t.searchParams;return e.set("lang",o),t.search=e.toString(),t.toString()}return n}(t,0,o):t,i,r,d),window.addEventListener("message",a),{close:c}}const rn=o.gql`
|
|
2
|
-
mutation createImpactVerificationSession($user: UserIdInput!) {
|
|
3
|
-
createImpactPublisherIdentityVerificationSession(user: $user) {
|
|
4
|
-
sessionUrl
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
`,un=o.gql`
|
|
8
|
-
mutation refreshImpactPublisherFinanceStatus($user: UserIdInput!) {
|
|
9
|
-
refreshImpactPublisherFinanceStatus(user: $user) {
|
|
10
|
-
id
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
`,dn="sqm:veriff-updated";function cn(){const{id:n,accountId:t}=e(),[o,{loading:r,errors:u}]=i(rn),[d,{loading:c,errors:a}]=i(un);return{render:async()=>{try{const e=await o({user:{id:n,accountId:t}});if(!e||e.message)throw new Error;en({url:e.createImpactPublisherIdentityVerificationSession.sessionUrl,onEvent:o=>{switch(o){case on.FINISHED:case on.CANCELED:(async()=>{try{const o=await d({user:{id:n,accountId:t}});if(!o||o.message)throw new Error;window.dispatchEvent(new Event("sqm:veriff-updated"))}catch(n){console.error("Failed to initialise Veriff:",n)}})()}}})}catch(n){console.error("Failed to initialise Veriff:",n)}},loading:r||c,errors:u||a}}const an=o.gql`
|
|
14
|
-
query getUserStatus {
|
|
15
|
-
user: viewer {
|
|
16
|
-
... on User {
|
|
17
|
-
id
|
|
18
|
-
impactConnection {
|
|
19
|
-
connected
|
|
20
|
-
publisher {
|
|
21
|
-
id
|
|
22
|
-
payoutsAccount {
|
|
23
|
-
hold
|
|
24
|
-
holdReasons
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
rewards(limit: 1000) {
|
|
29
|
-
data {
|
|
30
|
-
statuses
|
|
31
|
-
partnerFundsTransfer {
|
|
32
|
-
id
|
|
33
|
-
status
|
|
34
|
-
dateScheduled
|
|
35
|
-
dateCreated
|
|
36
|
-
dateTransferred
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`,fn=o.gql`
|
|
44
|
-
query getTenantSettings {
|
|
45
|
-
tenantSettings {
|
|
46
|
-
enforceUsTaxCompliance
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`;function ln(n){var t,o,e,i,r,u,d,c,a,f,l,s,v,E,m,I,p,_,w,R,h,A;const N=null===(o=null===(t=n.user.impactConnection)||void 0===t?void 0:t.publisher)||void 0===o?void 0:o.payoutsAccount,T=null===(r=null===(i=null===(e=null==n?void 0:n.user)||void 0===e?void 0:e.rewards)||void 0===i?void 0:i.data)||void 0===r?void 0:r.find((n=>{var t;return n.statuses.includes("REDEEMED")&&"TRANSFERRED"===(null===(t=n.partnerFundsTransfer)||void 0===t?void 0:t.status)}));if(!(null===(d=null===(u=n.user)||void 0===u?void 0:u.impactConnection)||void 0===d?void 0:d.connected)||!N)return"INFORMATION_REQUIRED";const b=null===(a=null===(c=n.user.impactConnection)||void 0===c?void 0:c.publisher)||void 0===a?void 0:a.currentTaxDocument;return(null===(f=N.holdReasons)||void 0===f?void 0:f.includes("NO_W9_DOCUMENT"))&&!b?"OVER_W9_THRESHOLD":(null===(l=N.holdReasons)||void 0===l?void 0:l.includes("IDV_CHECK_REQUIRED"))?"VERIFICATION:REQUIRED":(null===(s=N.holdReasons)||void 0===s?void 0:s.includes("IDV_CHECK_REQUIRED_INTERNAL"))?"VERIFICATION:INTERNAL":(null===(v=N.holdReasons)||void 0===v?void 0:v.includes("IDV_CHECK_REVIEW_INTERNAL"))?"VERIFICATION:REVIEW":(null===(E=N.holdReasons)||void 0===E?void 0:E.includes("IDV_CHECK_FAILED_INTERNAL"))?"VERIFICATION:FAILED":(null===(m=N.holdReasons)||void 0===m?void 0:m.includes("NEW_PAYEE_REVIEW"))&&T?"NEW_PAYEE_REVIEW":(null===(I=N.holdReasons)||void 0===I?void 0:I.includes("NEW_PAYEE_REVIEW"))?"DONE":(null===(p=N.holdReasons)||void 0===p?void 0:p.includes("PAYMENT_HOLD_ON_CHANGE"))?"PAYMENT_HOLD_ON_CHANGE":(null===(_=N.holdReasons)||void 0===_?void 0:_.includes("BENEFICIARY_NAME_INVALID"))?"BENEFICIARY_NAME_INVALID":(null===(w=N.holdReasons)||void 0===w?void 0:w.includes("BENEFICIARY_NAME_MISMATCH"))?"BENEFICIARY_NAME_MISMATCH":(null===(R=N.holdReasons)||void 0===R?void 0:R.includes("BANK_TAX_NAME_MISMATCH"))?"BANK_TAX_NAME_MISMATCH":(null===(h=N.holdReasons)||void 0===h?void 0:h.includes("WITHDRAWAL_SETTINGS_INVALID"))?"WITHDRAWAL_SETTINGS_INVALID":(null===(A=N.holdReasons)||void 0===A?void 0:A.includes("PAYMENT_RETURNED"))?"PAYMENT_RETURNED":N.hold?"HOLD":"DONE"}function sn(o){var e;const{type:i}=r(),{loading:c,data:a,errors:f,refetch:l}=u(an,{}),{data:s}=u(fn,{}),{render:v,loading:E}=cn(),[m,I]=n(void 0),p=null===(e=null==s?void 0:s.tenantSettings)||void 0===e?void 0:e.enforceUsTaxCompliance;return t((()=>{if(!a)return;const n=ln(a);I(n)}),[a]),t((()=>{const n=()=>l();return window.addEventListener(d,n),window.addEventListener("sqm:veriff-updated",n),()=>{window.removeEventListener(d,n),window.removeEventListener("sqm:veriff-updated",n)}}),[]),{states:{loading:c,veriffLoading:E,status:m,error:!!f,enforceUsTaxComplianceOption:p},data:{type:i},text:o.getTextProps(),callbacks:{onTermsClick:()=>{let n=o.cashPayoutsPageUrl;n.includes("#")&&(n=n.split("#")[0]),"INFORMATION_REQUIRED"===m?n+="#1":"OVER_W9_THRESHOLD"===m&&"CASH_ONLY_DEFER_W9"===p&&(n+="#3"),window.history.pushState(null,"",n)},onClick:v,onPaymentInfoClick:()=>{let n=o.cashPayoutsPageUrl;n+="#4",window.history.pushState(null,"",n)},onNewFormClick:()=>{let n=o.cashPayoutsPageUrl;n+="#3",window.history.pushState(null,"",n)}}}}export{dn as V,cn as a,ln as g,sn as u}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
};
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const NewPartnerEmpty: () => any;
|
|
6
|
-
export declare const NewPartnerPrefilled: () => any;
|
|
7
|
-
export declare const NewPartnerFullySelected: () => any;
|
|
8
|
-
export declare const ExistingPartnerConfirm: () => any;
|
|
9
|
-
export declare const Submitting: () => any;
|
|
10
|
-
export declare const WithError: () => any;
|
|
11
|
-
export declare const ValidationError: () => any;
|
|
12
|
-
export declare const Closed: () => any;
|
|
13
|
-
export declare const FullStackDemo: () => any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export interface PartnerInfoModalViewProps {
|
|
2
|
-
states: {
|
|
3
|
-
open: boolean;
|
|
4
|
-
loading: boolean;
|
|
5
|
-
submitting: boolean;
|
|
6
|
-
isExistingPartner: boolean;
|
|
7
|
-
countryCode: string;
|
|
8
|
-
currency: string;
|
|
9
|
-
error: string;
|
|
10
|
-
success: boolean;
|
|
11
|
-
brandName: string;
|
|
12
|
-
filteredCountries: {
|
|
13
|
-
countryCode: string;
|
|
14
|
-
displayName: string;
|
|
15
|
-
}[];
|
|
16
|
-
filteredCurrencies: {
|
|
17
|
-
currencyCode: string;
|
|
18
|
-
displayName: string;
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
21
|
-
callbacks: {
|
|
22
|
-
onCountryChange: (e: any) => void;
|
|
23
|
-
onCurrencyChange: (e: any) => void;
|
|
24
|
-
setCurrencySearch: (c: any) => void;
|
|
25
|
-
setCountrySearch: (c: any) => void;
|
|
26
|
-
onSubmit: () => void;
|
|
27
|
-
onClose: () => void;
|
|
28
|
-
};
|
|
29
|
-
text: {
|
|
30
|
-
modalHeader: string;
|
|
31
|
-
descriptionNewPartner: string;
|
|
32
|
-
descriptionExistingPartner: string;
|
|
33
|
-
countryLabel: string;
|
|
34
|
-
currencyLabel: string;
|
|
35
|
-
submitButtonLabel: string;
|
|
36
|
-
confirmButtonLabel: string;
|
|
37
|
-
searchCountryPlaceholder: string;
|
|
38
|
-
searchCurrencyPlaceholder: string;
|
|
39
|
-
supportDescriptionExistingPartner: string;
|
|
40
|
-
modalHeaderExistingPartner: string;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export declare function PartnerInfoModalView(props: PartnerInfoModalViewProps): any;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { DemoData } from "../../global/demo";
|
|
2
|
-
import { PartnerInfoModalResult } from "./usePartnerInfoModal";
|
|
3
|
-
/**
|
|
4
|
-
* @uiName Partner Info Modal
|
|
5
|
-
* @exampleGroup Tax and Cash
|
|
6
|
-
* @validParents ["sqm-portal-container", "sqm-portal-frame", "div", "sqb-program-section", "sqb-conditional-section"]
|
|
7
|
-
* @example Partner Info Modal - <sqm-partner-info-modal></sqm-partner-info-modal>
|
|
8
|
-
*/
|
|
9
|
-
export declare class PartnerInfoModal {
|
|
10
|
-
/**
|
|
11
|
-
* Brand name shown in the modal header
|
|
12
|
-
*
|
|
13
|
-
* @uiName Brand name
|
|
14
|
-
*/
|
|
15
|
-
brandName: string;
|
|
16
|
-
/**
|
|
17
|
-
* Header text when user has no existing partner
|
|
18
|
-
*
|
|
19
|
-
* @uiName New partner header
|
|
20
|
-
* @uiWidget textArea
|
|
21
|
-
*/
|
|
22
|
-
modalHeader: string;
|
|
23
|
-
/**
|
|
24
|
-
* Header text when user has an existing partner
|
|
25
|
-
*
|
|
26
|
-
* @uiName Existing partner header
|
|
27
|
-
* @uiWidget textArea
|
|
28
|
-
*/
|
|
29
|
-
modalHeaderExistingPartner: string;
|
|
30
|
-
/**
|
|
31
|
-
* Description for new partner setup
|
|
32
|
-
*
|
|
33
|
-
* @uiName New partner description
|
|
34
|
-
* @uiWidget textArea
|
|
35
|
-
*/
|
|
36
|
-
descriptionNewPartner: string;
|
|
37
|
-
/**
|
|
38
|
-
* Description for existing partner confirmation
|
|
39
|
-
*
|
|
40
|
-
* @uiName Existing partner description
|
|
41
|
-
* @uiWidget textArea
|
|
42
|
-
*/
|
|
43
|
-
descriptionExistingPartner: string;
|
|
44
|
-
/**
|
|
45
|
-
* Support description for existing partner confirmation
|
|
46
|
-
*
|
|
47
|
-
* @uiName Existing partner support description
|
|
48
|
-
* @uiWidget textArea
|
|
49
|
-
*/
|
|
50
|
-
supportDescriptionExistingPartner: string;
|
|
51
|
-
/**
|
|
52
|
-
* @uiName Country label
|
|
53
|
-
*/
|
|
54
|
-
countryLabel: string;
|
|
55
|
-
/**
|
|
56
|
-
* @uiName Currency label
|
|
57
|
-
*/
|
|
58
|
-
currencyLabel: string;
|
|
59
|
-
/**
|
|
60
|
-
* @uiName Submit button label
|
|
61
|
-
*/
|
|
62
|
-
submitButtonLabel: string;
|
|
63
|
-
/**
|
|
64
|
-
* @uiName Confirm button label
|
|
65
|
-
*/
|
|
66
|
-
confirmButtonLabel: string;
|
|
67
|
-
/**
|
|
68
|
-
* @uiName Search country placeholder
|
|
69
|
-
*/
|
|
70
|
-
searchCountryPlaceholder: string;
|
|
71
|
-
/**
|
|
72
|
-
* @uiName Search currency placeholder
|
|
73
|
-
*/
|
|
74
|
-
searchCurrencyPlaceholder: string;
|
|
75
|
-
/**
|
|
76
|
-
* @uiName Network error text
|
|
77
|
-
* @uiWidget textArea
|
|
78
|
-
*/
|
|
79
|
-
networkErrorText: string;
|
|
80
|
-
/**
|
|
81
|
-
* @uiName Missing fields error text
|
|
82
|
-
* @uiWidget textArea
|
|
83
|
-
*/
|
|
84
|
-
missingFieldsErrorText: string;
|
|
85
|
-
/**
|
|
86
|
-
* @undocumented
|
|
87
|
-
* @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
|
|
88
|
-
* @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
|
|
89
|
-
* @componentState { "title": "Connected (hidden)", "props": { "states": { "open": false } } }
|
|
90
|
-
*/
|
|
91
|
-
stateController: string;
|
|
92
|
-
/**
|
|
93
|
-
* @undocumented
|
|
94
|
-
* @uiType object
|
|
95
|
-
*/
|
|
96
|
-
demoData?: DemoData<PartnerInfoModalResult>;
|
|
97
|
-
constructor();
|
|
98
|
-
disconnectedCallback(): void;
|
|
99
|
-
getTextProps(): this;
|
|
100
|
-
render(): any;
|
|
101
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PartnerInfoModal } from "./sqm-partner-info-modal";
|
|
2
|
-
import { PartnerInfoModalViewProps } from "./sqm-partner-info-modal-view";
|
|
3
|
-
export declare const GET_USER_PARTNER_INFO: string;
|
|
4
|
-
export declare const GET_COUNTRIES: string;
|
|
5
|
-
export declare const GET_CURRENCIES: string;
|
|
6
|
-
export declare const CONNECT_PARTNER: string;
|
|
7
|
-
export declare type TaxCountry = {
|
|
8
|
-
countryCode: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export declare type CountriesQuery = {
|
|
12
|
-
impactPayoutCountries: {
|
|
13
|
-
data: TaxCountry[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare function usePartnerInfoModal(props: PartnerInfoModal): PartnerInfoModalViewProps;
|
|
17
|
-
export declare type PartnerInfoModalResult = ReturnType<typeof usePartnerInfoModal>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M0 2C0 0.895431 0.895431 0 2 0H14C15.1046 0 16 0.895431 16 2V14C16 15.1046 15.1046 16 14 16H2C0.895431 16 0 15.1046 0 14V2Z" fill="currentColor"/>
|
|
3
|
-
<path d="M8.86754 7.23214L12.5378 3H11.6681L8.48117 6.67471L5.93579 3H3L6.84911 8.55681L3 12.9949H3.86979L7.23525 9.11425L9.92336 12.9949H12.8592L8.86732 7.23214H8.86754ZM7.67624 8.60577L7.28624 8.05244L4.18319 3.64951H5.51914L8.02334 7.20281L8.41333 7.75615L11.6685 12.3749H10.3325L7.67624 8.60598V8.60577Z" fill="white"/>
|
|
4
|
-
</svg>
|