@saasquatch/mint-components 1.12.0-9 → 1.12.1-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-040cffad.js → ShadowViewAddon-c3e91cee.js} +22 -25
- package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +139 -262
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +218 -339
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-c58966f8.js → sqm-invoice-table-view-e3b03a00.js} +1 -99
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.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 +4 -4
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form-view-621348a6.js +85 -0
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +13 -88
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +366 -377
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -6
- package/dist/collection/components/sqm-big-stat/useBigStat.js +3 -6
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +5 -5
- package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +11 -0
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +160 -0
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +5 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +3 -2
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -8
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +0 -2
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +0 -96
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1 -5
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +38 -101
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -15
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +0 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +8 -8
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +0 -22
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +9 -99
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +11 -14
- package/dist/esm/{ShadowViewAddon-69b61037.js → ShadowViewAddon-e012b2aa.js} +22 -25
- package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.js} +3 -40
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-1bcfd0de.js → re-render-12fd274a.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +138 -261
- package/dist/esm/sqm-big-stat_39.entry.js +217 -338
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-d1cfdaf4.js → sqm-invoice-table-view-6e13a323.js} +1 -99
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form-view-1d3066e1.js +83 -0
- package/dist/esm/sqm-portal-registration-form.entry.js +18 -93
- package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
- package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
- package/dist/esm/sqm-stencilbook.entry.js +366 -377
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/stencil-hooks.module-ac12ca1c.js +1 -1
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
- package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +1 -0
- package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm-es5/index.module-def4aec5.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-1bcfd0de.js → re-render-12fd274a.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.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-invoice-table-view-6e13a323.js +1 -0
- 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-60ef06cc.js +1 -0
- 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-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-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.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-1d3066e1.js +1 -0
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.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/stencil-hooks.module-ac12ca1c.js +1 -1
- package/dist/esm-es5/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-3f5bba22.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-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
- package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/{p-9eae245f.js → p-10685090.js} +4 -7
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/p-1c857edb.entry.js +33 -0
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/p-2a414b2e.system.js +2 -2
- package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/p-40b1de58.js +1 -0
- package/dist/mint-components/p-4112e198.system.js +1 -0
- package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/p-44787d6e.system.js +1 -0
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/p-458b2894.entry.js +9 -0
- package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/p-5b333fa8.system.entry.js +1 -0
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
- package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
- package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
- package/dist/mint-components/p-770368bc.system.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/p-7f088154.entry.js +1 -0
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
- package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/p-95771f79.system.js +1 -0
- package/dist/mint-components/p-96242551.system.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/p-a8f7cb95.js +1 -0
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/p-aee2304a.entry.js +223 -0
- package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/p-b370fca8.system.js +1 -0
- package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/p-bb00db59.js +1 -0
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
- package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/p-d5de2646.system.entry.js +1 -0
- package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/p-d8e68e16.entry.js +13 -0
- package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
- package/dist/mint-components/p-e6d74386.system.entry.js +1 -0
- package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/p-ec41d6a4.entry.js +174 -0
- package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/p-ed17e637.system.js +1 -0
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/mint-components/p-fd2c5407.js +2 -2
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +4 -4
- package/dist/types/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts +8 -0
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +34 -0
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -1
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +0 -6
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -12
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +2 -19
- package/dist/types/components.d.ts +108 -625
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/extractProps-fd93ba62.js +0 -21
- package/dist/cjs/keys-cff24974.js +0 -11
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -342
- package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -283
- package/dist/cjs/sqm-scroll.cjs.entry.js +0 -109
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -103
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -210
- package/dist/cjs/usePayoutStatus-b9fb7399.js +0 -70
- package/dist/cjs/useVerificationEmail-6aacdb71.js +0 -169
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +0 -8
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +0 -23
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +0 -118
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +0 -44
- package/dist/collection/components/sqm-widget-verification/keys.js +0 -4
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +0 -36
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +0 -128
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +0 -301
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +0 -153
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +0 -42
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -91
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +0 -226
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +0 -126
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -339
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +0 -557
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +0 -165
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +0 -22
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +0 -131
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -354
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +0 -65
- package/dist/esm/extractProps-ae1afbb3.js +0 -19
- package/dist/esm/keys-db1897ae.js +0 -6
- package/dist/esm/sqm-code-verification.entry.js +0 -338
- package/dist/esm/sqm-email-verification.entry.js +0 -279
- package/dist/esm/sqm-scroll.entry.js +0 -105
- package/dist/esm/sqm-widget-verification-internal.entry.js +0 -99
- package/dist/esm/sqm-widget-verification.entry.js +0 -206
- package/dist/esm/usePayoutStatus-1a635054.js +0 -67
- package/dist/esm/useVerificationEmail-c32696ba.js +0 -167
- package/dist/esm-es5/ShadowViewAddon-69b61037.js +0 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/keys-db1897ae.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-d1cfdaf4.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
- package/dist/esm-es5/sqm-scroll.entry.js +0 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
- package/dist/esm-es5/usePayoutStatus-1a635054.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
- package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
- package/dist/mint-components/p-1712a9fd.entry.js +0 -11
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-1e616d45.system.js +0 -1
- package/dist/mint-components/p-24092973.entry.js +0 -9
- package/dist/mint-components/p-26468242.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-331d060e.entry.js +0 -223
- package/dist/mint-components/p-3925bcd6.entry.js +0 -13
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-4364001c.entry.js +0 -12
- package/dist/mint-components/p-4bd7a472.js +0 -1
- package/dist/mint-components/p-517224ef.js +0 -19
- package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
- package/dist/mint-components/p-64491210.system.entry.js +0 -1
- package/dist/mint-components/p-8300d8c8.system.js +0 -1
- package/dist/mint-components/p-8bddb468.system.entry.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
- package/dist/mint-components/p-974070c4.system.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
- package/dist/mint-components/p-a85f57bb.entry.js +0 -1
- package/dist/mint-components/p-a8645c1b.system.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-b62faaa5.system.entry.js +0 -1
- package/dist/mint-components/p-bdd6bb13.js +0 -1
- package/dist/mint-components/p-c05e7b9f.entry.js +0 -195
- package/dist/mint-components/p-c3b37bbf.js +0 -1
- package/dist/mint-components/p-c510fb88.entry.js +0 -1
- package/dist/mint-components/p-c7057066.system.entry.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-ca809fdd.system.js +0 -1
- package/dist/mint-components/p-d7806f31.js +0 -48
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-e01ac27c.system.js +0 -1
- package/dist/mint-components/p-e45a8501.system.entry.js +0 -1
- package/dist/mint-components/p-e990dc21.system.js +0 -1
- package/dist/mint-components/p-ead27698.system.entry.js +0 -1
- package/dist/mint-components/p-f340214f.entry.js +0 -25
- package/dist/mint-components/p-f655a7df.js +0 -1
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +0 -5
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +0 -10
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +0 -26
- package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +0 -7
- package/dist/types/components/sqm-widget-verification/keys.d.ts +0 -4
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +0 -9
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +0 -26
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +0 -54
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +0 -25
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +0 -10
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +0 -21
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +0 -40
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +0 -10
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -87
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +0 -14
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +0 -10
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +0 -30
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -62
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +0 -21
|
@@ -748,14 +748,14 @@ export class TaxAndCashMonolith {
|
|
|
748
748
|
* @uiGroup Dashboard Properties
|
|
749
749
|
* @uiWidget textArea
|
|
750
750
|
*/
|
|
751
|
-
this.
|
|
751
|
+
this.dashboard_errorTitleText = "Your payout is on hold ";
|
|
752
752
|
/**
|
|
753
753
|
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
754
754
|
* @uiName Payout error message description
|
|
755
755
|
* @uiGroup Dashboard Properties
|
|
756
756
|
* @uiWidget textArea
|
|
757
757
|
*/
|
|
758
|
-
this.
|
|
758
|
+
this.dashboard_errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
|
|
759
759
|
/**
|
|
760
760
|
* Text displayed for existing publishers that do not have saved banking information.
|
|
761
761
|
* @uiName Payout missing information subtext
|
|
@@ -3972,7 +3972,7 @@ export class TaxAndCashMonolith {
|
|
|
3972
3972
|
"reflect": false,
|
|
3973
3973
|
"defaultValue": "\"Earnings after tax\""
|
|
3974
3974
|
},
|
|
3975
|
-
"
|
|
3975
|
+
"dashboard_errorTitleText": {
|
|
3976
3976
|
"type": "string",
|
|
3977
3977
|
"mutable": false,
|
|
3978
3978
|
"complexType": {
|
|
@@ -3995,11 +3995,11 @@ export class TaxAndCashMonolith {
|
|
|
3995
3995
|
}],
|
|
3996
3996
|
"text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
|
|
3997
3997
|
},
|
|
3998
|
-
"attribute": "
|
|
3998
|
+
"attribute": "dashboard_error-title-text",
|
|
3999
3999
|
"reflect": false,
|
|
4000
|
-
"defaultValue": "\"Your payout is on hold\""
|
|
4000
|
+
"defaultValue": "\"Your payout is on hold \""
|
|
4001
4001
|
},
|
|
4002
|
-
"
|
|
4002
|
+
"dashboard_errorDescriptionText": {
|
|
4003
4003
|
"type": "string",
|
|
4004
4004
|
"mutable": false,
|
|
4005
4005
|
"complexType": {
|
|
@@ -4022,9 +4022,9 @@ export class TaxAndCashMonolith {
|
|
|
4022
4022
|
}],
|
|
4023
4023
|
"text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
|
|
4024
4024
|
},
|
|
4025
|
-
"attribute": "
|
|
4025
|
+
"attribute": "dashboard_error-description-text",
|
|
4026
4026
|
"reflect": false,
|
|
4027
|
-
"defaultValue": "\"
|
|
4027
|
+
"defaultValue": "\"If you\u2019ve recently added your payout information, please wait while we verify your information. If it\u2019s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
|
|
4028
4028
|
},
|
|
4029
4029
|
"dashboard_payoutMissingInformationText": {
|
|
4030
4030
|
"type": "string",
|
|
@@ -3,8 +3,8 @@ import { useEffect, useMemo } from "@saasquatch/universal-hooks";
|
|
|
3
3
|
import { getCountryObj } from "../utils";
|
|
4
4
|
import { COUNTRIES_NAMESPACE, COUNTRIES_QUERY_NAMESPACE, CURRENCIES_NAMESPACE, CURRENCIES_QUERY_NAMESPACE, FINANCE_NETWORK_SETTINGS_NAMESPACE, GET_COUNTRIES, GET_CURRENCIES, GET_FINANCE_NETWORK_SETTINGS, GET_USER, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "./data";
|
|
5
5
|
function getCurrentStep(user) {
|
|
6
|
-
var _a
|
|
7
|
-
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)
|
|
6
|
+
var _a;
|
|
7
|
+
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)) {
|
|
8
8
|
return "/1";
|
|
9
9
|
}
|
|
10
10
|
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, } = user.impactConnection.publisher;
|
|
@@ -8,12 +8,6 @@ const style = {
|
|
|
8
8
|
borderTop: "none",
|
|
9
9
|
},
|
|
10
10
|
},
|
|
11
|
-
HoldAlertContainer: {
|
|
12
|
-
"&::part(base)": {
|
|
13
|
-
border: "none",
|
|
14
|
-
backgroundColor: "transparent",
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
11
|
ExpiringSoonAlertContainer: {
|
|
18
12
|
"&::part(base)": {
|
|
19
13
|
backgroundColor: "var(--sl-color-yellow-100)",
|
|
@@ -253,22 +247,6 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
253
247
|
h("strong", null, text.error.generalTitle),
|
|
254
248
|
h("br", null),
|
|
255
249
|
text.error.generalDescription)),
|
|
256
|
-
states.hasHold && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.HoldAlertContainer },
|
|
257
|
-
h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
|
|
258
|
-
h("strong", null, text.payoutHoldAlertHeader),
|
|
259
|
-
h("br", null),
|
|
260
|
-
text.payoutHoldAlertDescription)),
|
|
261
|
-
states.payoutStatus === "VERIFICATION_NEEDED" && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.HoldAlertContainer },
|
|
262
|
-
h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
|
|
263
|
-
h("strong", null, text.verificationRequiredHeader),
|
|
264
|
-
h("p", { style: { margin: "0" } }, text.verificationRequiredDescription),
|
|
265
|
-
h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.loading,
|
|
266
|
-
//AL: TODO hooks
|
|
267
|
-
onClick: () => callbacks.onClick }, text.verificationRequiredButtonText))),
|
|
268
|
-
h("sl-dialog", { noDismiss: true, class: sheet.classes.Dialog, open: states.showVerifyIdentity, "onSl-hide": callbacks.onVerifyIdentityCancel },
|
|
269
|
-
h("iframe", {
|
|
270
|
-
// AL: TODO replace iframe URL with verification url when available
|
|
271
|
-
scrolling: "yes", frameBorder: "0", width: "100%", height: "100%", src: "https://impacttech.complytaxforms.com/ServiceRedirect.aspx?Language=eng&Param1=UxBORV4bOIrqNb4gbpNmtvW3wjdZJyx4gPElIGMJNR8=&UUID=B576EA3E-80FD-4D85-AA59-653D23A7CCE8" })),
|
|
272
250
|
h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
|
|
273
251
|
h("p", null, text.replaceTaxFormModalBodyText),
|
|
274
252
|
h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
|
|
@@ -173,35 +173,18 @@ export class TaxAndCashDashboard {
|
|
|
173
173
|
* @uiName Payout error message title
|
|
174
174
|
* @uiWidget textArea
|
|
175
175
|
*/
|
|
176
|
-
this.
|
|
176
|
+
this.errorTitleText = "Your payout is on hold ";
|
|
177
177
|
/**
|
|
178
178
|
* Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
|
|
179
179
|
* @uiName Payout error message description
|
|
180
180
|
* @uiWidget textArea
|
|
181
181
|
*/
|
|
182
|
-
this.
|
|
182
|
+
this.errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
|
|
183
183
|
/**
|
|
184
184
|
* Text displayed for existing publishers that do not have saved banking information.
|
|
185
185
|
* @uiName Payout missing information subtext
|
|
186
186
|
*/
|
|
187
187
|
this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
|
|
188
|
-
/**
|
|
189
|
-
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
190
|
-
* @uiName Verification required alert message title
|
|
191
|
-
* @uiWidget textArea
|
|
192
|
-
*/
|
|
193
|
-
this.verificationRequiredHeader = "Verify your identity";
|
|
194
|
-
/**
|
|
195
|
-
* Part of the alert displayed at the top of the page when the user needs to verify their identity
|
|
196
|
-
* @uiName Verification required alert message description
|
|
197
|
-
* @uiWidget textArea
|
|
198
|
-
*/
|
|
199
|
-
this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.";
|
|
200
|
-
/**
|
|
201
|
-
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
202
|
-
* @uiName Verification required alert button text
|
|
203
|
-
*/
|
|
204
|
-
this.verificationRequiredButtonText = "Start Verification";
|
|
205
188
|
/**
|
|
206
189
|
* Part of the alert displayed at the top of the page.
|
|
207
190
|
* @uiName Form submission error message title
|
|
@@ -943,7 +926,7 @@ export class TaxAndCashDashboard {
|
|
|
943
926
|
"reflect": false,
|
|
944
927
|
"defaultValue": "\"Account\""
|
|
945
928
|
},
|
|
946
|
-
"
|
|
929
|
+
"errorTitleText": {
|
|
947
930
|
"type": "string",
|
|
948
931
|
"mutable": false,
|
|
949
932
|
"complexType": {
|
|
@@ -963,11 +946,11 @@ export class TaxAndCashDashboard {
|
|
|
963
946
|
}],
|
|
964
947
|
"text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
|
|
965
948
|
},
|
|
966
|
-
"attribute": "
|
|
949
|
+
"attribute": "error-title-text",
|
|
967
950
|
"reflect": false,
|
|
968
|
-
"defaultValue": "\"Your payout is on hold\""
|
|
951
|
+
"defaultValue": "\"Your payout is on hold \""
|
|
969
952
|
},
|
|
970
|
-
"
|
|
953
|
+
"errorDescriptionText": {
|
|
971
954
|
"type": "string",
|
|
972
955
|
"mutable": false,
|
|
973
956
|
"complexType": {
|
|
@@ -987,9 +970,9 @@ export class TaxAndCashDashboard {
|
|
|
987
970
|
}],
|
|
988
971
|
"text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
|
|
989
972
|
},
|
|
990
|
-
"attribute": "
|
|
973
|
+
"attribute": "error-description-text",
|
|
991
974
|
"reflect": false,
|
|
992
|
-
"defaultValue": "\"
|
|
975
|
+
"defaultValue": "\"If you\u2019ve recently added your payout information, please wait while we verify your information. If it\u2019s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
|
|
993
976
|
},
|
|
994
977
|
"payoutMissingInformationText": {
|
|
995
978
|
"type": "string",
|
|
@@ -1012,75 +995,6 @@ export class TaxAndCashDashboard {
|
|
|
1012
995
|
"reflect": false,
|
|
1013
996
|
"defaultValue": "\"Missing banking information, go to Impact.com to resolve.\""
|
|
1014
997
|
},
|
|
1015
|
-
"verificationRequiredHeader": {
|
|
1016
|
-
"type": "string",
|
|
1017
|
-
"mutable": false,
|
|
1018
|
-
"complexType": {
|
|
1019
|
-
"original": "string",
|
|
1020
|
-
"resolved": "string",
|
|
1021
|
-
"references": {}
|
|
1022
|
-
},
|
|
1023
|
-
"required": false,
|
|
1024
|
-
"optional": false,
|
|
1025
|
-
"docs": {
|
|
1026
|
-
"tags": [{
|
|
1027
|
-
"text": "Verification required alert message title",
|
|
1028
|
-
"name": "uiName"
|
|
1029
|
-
}, {
|
|
1030
|
-
"text": "textArea",
|
|
1031
|
-
"name": "uiWidget"
|
|
1032
|
-
}],
|
|
1033
|
-
"text": "Part of the alert displayed at the top of the page when the user needs to verify their identity."
|
|
1034
|
-
},
|
|
1035
|
-
"attribute": "verification-required-header",
|
|
1036
|
-
"reflect": false,
|
|
1037
|
-
"defaultValue": "\"Verify your identity\""
|
|
1038
|
-
},
|
|
1039
|
-
"verificationRequiredDescription": {
|
|
1040
|
-
"type": "string",
|
|
1041
|
-
"mutable": false,
|
|
1042
|
-
"complexType": {
|
|
1043
|
-
"original": "string",
|
|
1044
|
-
"resolved": "string",
|
|
1045
|
-
"references": {}
|
|
1046
|
-
},
|
|
1047
|
-
"required": false,
|
|
1048
|
-
"optional": false,
|
|
1049
|
-
"docs": {
|
|
1050
|
-
"tags": [{
|
|
1051
|
-
"text": "Verification required alert message description",
|
|
1052
|
-
"name": "uiName"
|
|
1053
|
-
}, {
|
|
1054
|
-
"text": "textArea",
|
|
1055
|
-
"name": "uiWidget"
|
|
1056
|
-
}],
|
|
1057
|
-
"text": "Part of the alert displayed at the top of the page when the user needs to verify their identity"
|
|
1058
|
-
},
|
|
1059
|
-
"attribute": "verification-required-description",
|
|
1060
|
-
"reflect": false,
|
|
1061
|
-
"defaultValue": "\"Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.\""
|
|
1062
|
-
},
|
|
1063
|
-
"verificationRequiredButtonText": {
|
|
1064
|
-
"type": "string",
|
|
1065
|
-
"mutable": false,
|
|
1066
|
-
"complexType": {
|
|
1067
|
-
"original": "string",
|
|
1068
|
-
"resolved": "string",
|
|
1069
|
-
"references": {}
|
|
1070
|
-
},
|
|
1071
|
-
"required": false,
|
|
1072
|
-
"optional": false,
|
|
1073
|
-
"docs": {
|
|
1074
|
-
"tags": [{
|
|
1075
|
-
"text": "Verification required alert button text",
|
|
1076
|
-
"name": "uiName"
|
|
1077
|
-
}],
|
|
1078
|
-
"text": "Part of the alert displayed at the top of the page when the user needs to verify their identity."
|
|
1079
|
-
},
|
|
1080
|
-
"attribute": "verification-required-button-text",
|
|
1081
|
-
"reflect": false,
|
|
1082
|
-
"defaultValue": "\"Start Verification\""
|
|
1083
|
-
},
|
|
1084
998
|
"generalErrorTitle": {
|
|
1085
999
|
"type": "string",
|
|
1086
1000
|
"mutable": false,
|
|
@@ -1521,7 +1435,7 @@ export class TaxAndCashDashboard {
|
|
|
1521
1435
|
"mutable": false,
|
|
1522
1436
|
"complexType": {
|
|
1523
1437
|
"original": "DemoData<UseTaxAndCashDashboardResult>",
|
|
1524
|
-
"resolved": "{ states?: { status?: string; documentType: TaxDocumentType; documentTypeString: string; canEditPayoutInfo: boolean; disabled?: boolean; dateSubmitted?: string; noFormNeeded?: boolean; indirectTaxType?: string; qstNumber?: string; subRegionTaxNumber?: string; subRegion?: string; indirectTaxNumber?: string; province?: string; country?: string; notRegistered?: boolean; isBusinessEntity?: boolean; loading?: boolean; loadingError?: boolean; showNewFormDialog: boolean;
|
|
1438
|
+
"resolved": "{ states?: { status?: string; documentType: TaxDocumentType; documentTypeString: string; canEditPayoutInfo: boolean; disabled?: boolean; dateSubmitted?: string; noFormNeeded?: boolean; indirectTaxType?: string; qstNumber?: string; subRegionTaxNumber?: string; subRegion?: string; indirectTaxNumber?: string; province?: string; country?: string; notRegistered?: boolean; isBusinessEntity?: boolean; loading?: boolean; loadingError?: boolean; showNewFormDialog: boolean; errors?: { general?: boolean; }; }; }",
|
|
1525
1439
|
"references": {
|
|
1526
1440
|
"DemoData": {
|
|
1527
1441
|
"location": "import",
|
|
@@ -1562,16 +1476,12 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1562
1476
|
disabled: false,
|
|
1563
1477
|
loading: false,
|
|
1564
1478
|
showNewFormDialog: false,
|
|
1565
|
-
hasHold: false,
|
|
1566
|
-
showVerifyIdentity: false,
|
|
1567
|
-
payoutStatus: "DONE",
|
|
1568
1479
|
},
|
|
1569
1480
|
callbacks: {
|
|
1570
1481
|
onClick: () => console.debug("check step"),
|
|
1571
1482
|
onEditPayoutInfo: () => console.debug("payout info"),
|
|
1572
1483
|
onNewFormCancel: () => console.log("hide"),
|
|
1573
1484
|
onNewFormClick: () => console.log("show"),
|
|
1574
|
-
onVerifyIdentityCancel: () => console.log("hide"),
|
|
1575
1485
|
},
|
|
1576
1486
|
text: props.getTextProps(),
|
|
1577
1487
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js
CHANGED
|
@@ -5,7 +5,6 @@ import { vatLabels } from "../countries";
|
|
|
5
5
|
import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
|
|
6
6
|
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
|
|
7
7
|
import { taxTypeToName } from "../utils";
|
|
8
|
-
import { getStatus } from "../sqm-payout-status-alert/usePayoutStatus";
|
|
9
8
|
function getCountryName(countryCode, locale) {
|
|
10
9
|
if (!countryCode)
|
|
11
10
|
return undefined;
|
|
@@ -41,11 +40,10 @@ function getIndirectTaxType(taxInformation) {
|
|
|
41
40
|
return "Indirect Tax";
|
|
42
41
|
}
|
|
43
42
|
export const useTaxAndCashDashboard = (props) => {
|
|
44
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l
|
|
43
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
45
44
|
const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
|
|
46
45
|
const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
|
|
47
46
|
const [showDialog, setShowDialog] = useState(false);
|
|
48
|
-
const [showVerification, setShowVerification] = useState(false);
|
|
49
47
|
const locale = useLocale();
|
|
50
48
|
useEffect(() => {
|
|
51
49
|
// Clear override context once on submitted
|
|
@@ -76,7 +74,6 @@ export const useTaxAndCashDashboard = (props) => {
|
|
|
76
74
|
setStep("/3");
|
|
77
75
|
};
|
|
78
76
|
const provinceName = (_d = INDIRECT_TAX_PROVINCES.find((p) => { var _a; return p.regionCode === ((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxRegion); })) === null || _d === void 0 ? void 0 : _d.displayName;
|
|
79
|
-
const payoutStatus = getStatus(data);
|
|
80
77
|
return {
|
|
81
78
|
states: {
|
|
82
79
|
dateSubmitted,
|
|
@@ -98,16 +95,12 @@ export const useTaxAndCashDashboard = (props) => {
|
|
|
98
95
|
loading,
|
|
99
96
|
loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
|
|
100
97
|
showNewFormDialog: showDialog,
|
|
101
|
-
hasHold: !!((_m = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount) === null || _m === void 0 ? void 0 : _m.hold),
|
|
102
|
-
payoutStatus,
|
|
103
|
-
showVerifyIdentity: showVerification,
|
|
104
98
|
},
|
|
105
99
|
callbacks: {
|
|
106
100
|
onClick: () => setShowDialog(true),
|
|
107
101
|
onEditPayoutInfo,
|
|
108
102
|
onNewFormCancel: () => setShowDialog(false),
|
|
109
103
|
onNewFormClick,
|
|
110
|
-
onVerifyIdentityCancel: () => setShowVerification(false),
|
|
111
104
|
},
|
|
112
105
|
text: props.getTextProps(),
|
|
113
106
|
};
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -85,7 +85,7 @@ const style = {
|
|
|
85
85
|
},
|
|
86
86
|
PhoneInputsSection: {
|
|
87
87
|
display: "flex",
|
|
88
|
-
alignItems: "flex-
|
|
88
|
+
alignItems: "flex-start",
|
|
89
89
|
flexDirection: "column",
|
|
90
90
|
gap: "4px",
|
|
91
91
|
"& p": {
|
|
@@ -96,7 +96,7 @@ const style = {
|
|
|
96
96
|
},
|
|
97
97
|
PhoneInputsContainer: {
|
|
98
98
|
display: "flex",
|
|
99
|
-
alignItems: "flex-
|
|
99
|
+
alignItems: "flex-start",
|
|
100
100
|
gap: "4px",
|
|
101
101
|
width: "100%",
|
|
102
102
|
"& #phoneNumber": {
|
|
@@ -24,20 +24,17 @@ export function useUserInfoForm(props) {
|
|
|
24
24
|
const [filteredCurrencies, setFilteredCurrencies] = useState(currencies || []);
|
|
25
25
|
const [formErrors, setErrors] = useState({});
|
|
26
26
|
useEffect(() => {
|
|
27
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
27
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
28
28
|
const user = data === null || data === void 0 ? void 0 : data.user;
|
|
29
29
|
if (!user || step !== "/1")
|
|
30
30
|
return;
|
|
31
31
|
// If form already filled out, skip initialising it
|
|
32
32
|
if (objectIsFull(userFormContext))
|
|
33
33
|
return;
|
|
34
|
-
|
|
35
|
-
const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) ? user.managedIdentity.email
|
|
36
|
-
: user.email;
|
|
37
|
-
if (((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) && ((_c = user.impactConnection) === null || _c === void 0 ? void 0 : _c.user)) {
|
|
34
|
+
if (((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) && ((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.user)) {
|
|
38
35
|
// Initialise with partner information
|
|
39
36
|
setUserFormContext({
|
|
40
|
-
email,
|
|
37
|
+
email: user.email,
|
|
41
38
|
firstName: user.impactConnection.user.firstName,
|
|
42
39
|
lastName: user.impactConnection.user.lastName,
|
|
43
40
|
countryCode: user.impactConnection.publisher.countryCode,
|
|
@@ -53,17 +50,17 @@ export function useUserInfoForm(props) {
|
|
|
53
50
|
else if (!(userFormContext === null || userFormContext === void 0 ? void 0 : userFormContext.email)) {
|
|
54
51
|
// Initialise with user information
|
|
55
52
|
setUserFormContext({
|
|
56
|
-
email,
|
|
53
|
+
email: user.email,
|
|
57
54
|
firstName: user.firstName,
|
|
58
55
|
lastName: user.lastName,
|
|
59
56
|
countryCode: user.countryCode || "US",
|
|
60
|
-
currency: (
|
|
61
|
-
phoneNumberCountryCode: ((
|
|
62
|
-
phoneNumber: (
|
|
63
|
-
address: (
|
|
64
|
-
city: (
|
|
65
|
-
state: (
|
|
66
|
-
postalCode: (
|
|
57
|
+
currency: (_c = user.customFields) === null || _c === void 0 ? void 0 : _c.currency,
|
|
58
|
+
phoneNumberCountryCode: ((_d = user.customFields) === null || _d === void 0 ? void 0 : _d.phoneNumberCountryCode) || "US",
|
|
59
|
+
phoneNumber: (_e = user.customFields) === null || _e === void 0 ? void 0 : _e.phoneNumber,
|
|
60
|
+
address: (_f = user.customFields) === null || _f === void 0 ? void 0 : _f.address,
|
|
61
|
+
city: (_g = user.customFields) === null || _g === void 0 ? void 0 : _g.city,
|
|
62
|
+
state: (_h = user.customFields) === null || _h === void 0 ? void 0 : _h.state,
|
|
63
|
+
postalCode: (_j = user.customFields) === null || _j === void 0 ? void 0 : _j.postalCode,
|
|
67
64
|
});
|
|
68
65
|
}
|
|
69
66
|
}, [data, step, userFormContext]);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import { i as intl } from './global-04c7d3b5.js';
|
|
4
|
+
import { d as dist, H, Q, y as yn, f as $e, B, a as getEnvironmentSDK, L } from './index.module-def4aec5.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
8
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
9
9
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
10
10
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
12
12
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
13
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
13
|
+
import { a as isValidColor, b as isMobile } from './utilities-3f5bba22.js';
|
|
14
14
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-6c582684.js';
|
|
15
15
|
|
|
16
16
|
const medium = {
|
|
@@ -446,11 +446,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
446
446
|
`;
|
|
447
447
|
function useShareLink(props) {
|
|
448
448
|
var _a, _b;
|
|
449
|
-
const { programId =
|
|
450
|
-
const user =
|
|
451
|
-
const engagementMedium =
|
|
452
|
-
const { data } =
|
|
453
|
-
const [sendLoadEvent] =
|
|
449
|
+
const { programId = H() } = props;
|
|
450
|
+
const user = Q();
|
|
451
|
+
const engagementMedium = B();
|
|
452
|
+
const { data } = yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
453
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
454
454
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
455
455
|
// Shown during loading
|
|
456
456
|
"...";
|
|
@@ -535,15 +535,15 @@ function GenericShare(res, errorText) {
|
|
|
535
535
|
function useShareButton(props) {
|
|
536
536
|
var _a, _b;
|
|
537
537
|
const { sharetitle, sharetext, medium } = props;
|
|
538
|
-
const programId = props.programId ? props.programId :
|
|
539
|
-
const user =
|
|
538
|
+
const programId = props.programId ? props.programId : H();
|
|
539
|
+
const user = Q();
|
|
540
540
|
const variables = {
|
|
541
|
-
engagementMedium:
|
|
541
|
+
engagementMedium: B(),
|
|
542
542
|
programId: programId,
|
|
543
543
|
shareMedium: medium.toUpperCase(),
|
|
544
544
|
};
|
|
545
545
|
// only queries if a programId is available
|
|
546
|
-
const res =
|
|
546
|
+
const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
547
547
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
548
548
|
const environment = getEnvironmentSDK();
|
|
549
549
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -567,7 +567,7 @@ function useShareButton(props) {
|
|
|
567
567
|
const debug = browser("sq:useBigStat");
|
|
568
568
|
const LOADING = "...";
|
|
569
569
|
const debugQuery = (query, variables, getStat) => {
|
|
570
|
-
const res =
|
|
570
|
+
const res = yn(query, variables);
|
|
571
571
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
572
572
|
console.error("issue getting stat:", res);
|
|
573
573
|
}
|
|
@@ -978,7 +978,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
978
978
|
locale: $locale
|
|
979
979
|
formatType: UNIT_FORMATTED
|
|
980
980
|
)}`;
|
|
981
|
-
const result =
|
|
981
|
+
const result = yn(query, {
|
|
982
982
|
value: redeemedTotal,
|
|
983
983
|
unit,
|
|
984
984
|
locale,
|
|
@@ -1037,7 +1037,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1037
1037
|
locale: $locale
|
|
1038
1038
|
formatType: UNIT_FORMATTED
|
|
1039
1039
|
)}`;
|
|
1040
|
-
const result =
|
|
1040
|
+
const result = yn(query, {
|
|
1041
1041
|
value: redeemedTotal,
|
|
1042
1042
|
unit,
|
|
1043
1043
|
locale,
|
|
@@ -1269,12 +1269,9 @@ const payoutBalanceQuery = () => {
|
|
|
1269
1269
|
query payoutBalance {
|
|
1270
1270
|
viewer: viewer {
|
|
1271
1271
|
... on User {
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
payoutsAccount {
|
|
1276
|
-
balance
|
|
1277
|
-
}
|
|
1272
|
+
publisher {
|
|
1273
|
+
payoutsAccount {
|
|
1274
|
+
balance
|
|
1278
1275
|
}
|
|
1279
1276
|
}
|
|
1280
1277
|
}
|
|
@@ -1436,11 +1433,11 @@ const StatPaths = [
|
|
|
1436
1433
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1437
1434
|
function useBigStat(props) {
|
|
1438
1435
|
var _a;
|
|
1439
|
-
const { statType, flexReverse, alignment, programId =
|
|
1436
|
+
const { statType, flexReverse, alignment, programId = H(), } = props;
|
|
1440
1437
|
// triggers a re-render if the label is manually changed
|
|
1441
1438
|
useChildElements();
|
|
1442
|
-
const locale =
|
|
1443
|
-
const userIdent =
|
|
1439
|
+
const locale = L();
|
|
1440
|
+
const userIdent = Q();
|
|
1444
1441
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1445
1442
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1446
1443
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
-
import { s as src, m as memoize,
|
|
2
|
+
import { s as src, m as memoize, U } from './index.module-def4aec5.js';
|
|
3
3
|
|
|
4
4
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
5
5
|
__assign = Object.assign || function(t) {
|
|
@@ -26635,7 +26635,7 @@ sl-input::part(label){
|
|
|
26635
26635
|
|
|
26636
26636
|
`;
|
|
26637
26637
|
|
|
26638
|
-
|
|
26638
|
+
U(l$1);
|
|
26639
26639
|
const debug = browser("sq:global");
|
|
26640
26640
|
const cache = createIntlCache();
|
|
26641
26641
|
const intl = createIntl({
|