@saasquatch/mint-components 2.0.0-9 → 2.0.1
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-016bebfd.js → ShadowViewAddon-1b38dcfc.js} +12 -8
- package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
- package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
- package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +79 -42
- package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-69a4b615.js} +10 -4
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1322 -24
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +27 -19
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +38 -19
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
- package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
- package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +10 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +7 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
- package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +10 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +8 -32
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
- package/dist/collection/components/views/copy-text-view.js +2 -8
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-1adaf077.js} +12 -8
- package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
- package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
- package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +72 -35
- package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-9e97d8b4.js} +10 -4
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1320 -23
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-form-message.entry.js +9 -5
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-google-registration-form.entry.js +27 -19
- package/dist/esm/sqm-portal-profile.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -3
- package/dist/esm/sqm-stencilbook.entry.js +38 -19
- package/dist/esm/sqm-tabs.entry.js +1 -4
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
- package/dist/esm/sqm-widget-verification.entry.js +2 -3
- package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
- package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-1adaf077.js} +1 -1
- package/dist/esm-es5/data-acdb790f.js +6 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +1 -0
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile.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-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_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm-es5/utils-334c1e34.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-ab79297a.entry.js → p-010957a1.entry.js} +6 -6
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ffc5bce.js → p-0e1a1b14.js} +4 -4
- package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-14e813a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-9fed62f8.system.entry.js → p-18720462.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
- package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
- package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
- package/dist/mint-components/{p-e110688b.entry.js → p-31bba357.entry.js} +2 -2
- package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
- package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
- package/dist/mint-components/p-469a6450.system.js +6 -0
- package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
- package/dist/mint-components/{p-7b8cd420.system.entry.js → p-4ce51b1c.system.entry.js} +1 -1
- package/dist/mint-components/p-51a6a779.js +1 -0
- package/dist/mint-components/{p-cb845a3a.system.entry.js → p-56009bf0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
- package/dist/mint-components/{p-0caad0db.entry.js → p-5d059c95.entry.js} +1 -1
- package/dist/mint-components/{p-f370bddc.entry.js → p-60c14cec.entry.js} +1 -1
- package/dist/mint-components/p-6333265f.system.js +1 -0
- package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-6445e926.system.entry.js} +1 -1
- package/dist/mint-components/p-662ed116.system.entry.js +1 -0
- package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
- package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
- package/dist/mint-components/p-6c006998.entry.js +33 -0
- package/dist/mint-components/{p-b1eafaae.entry.js → p-6d9ce4e5.entry.js} +1 -1
- package/dist/mint-components/{p-b703c89f.system.entry.js → p-717b6730.system.entry.js} +1 -1
- package/dist/mint-components/p-720341b1.entry.js +273 -0
- package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
- package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
- package/dist/mint-components/p-80569911.system.js +1 -0
- package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
- package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
- package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf22cf56.entry.js → p-8b5b2acc.entry.js} +1 -1
- package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-95b6e903.entry.js +1 -0
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
- package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
- package/dist/mint-components/{p-c62b277d.system.js → p-9f8d34d1.system.js} +1 -1
- package/dist/mint-components/{p-4250b06d.entry.js → p-a217cc8d.entry.js} +1 -1
- package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
- package/dist/mint-components/{p-61157c6a.entry.js → p-a5c63310.entry.js} +1 -1
- package/dist/mint-components/p-a6f4fb03.system.js +1 -0
- package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
- package/dist/mint-components/p-ac9138fd.entry.js +1 -0
- package/dist/mint-components/{p-3bf5cd51.entry.js → p-aefaec37.entry.js} +1 -1
- package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
- package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
- package/dist/mint-components/{p-06f13966.system.entry.js → p-bec87ac9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
- package/dist/mint-components/p-d2bb770d.system.entry.js +1 -0
- package/dist/mint-components/{p-d4edce6c.system.entry.js → p-d3120982.system.entry.js} +1 -1
- package/dist/mint-components/p-d69c0a32.system.entry.js +1 -0
- package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
- package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
- package/dist/mint-components/p-e1e7d01c.js +157 -0
- package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-0d21194c.entry.js → p-ea0bc627.entry.js} +1 -1
- package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
- package/dist/mint-components/{p-2623b232.system.entry.js → p-f401ef19.system.entry.js} +1 -1
- package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/mint-components/p-fedb9ab8.system.entry.js +1 -0
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +3 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -10
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
- package/dist/types/components.d.ts +40 -32
- 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/data-88adb95b.js +0 -146
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
- package/dist/esm/data-807686c2.js +0 -130
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
- package/dist/esm-es5/data-807686c2.js +0 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
- package/dist/esm-es5/utils-84b4b092.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-26468242.js +0 -1
- package/dist/mint-components/p-38263521.entry.js +0 -273
- package/dist/mint-components/p-3d713973.system.entry.js +0 -1
- package/dist/mint-components/p-3ea29bac.system.entry.js +0 -1
- package/dist/mint-components/p-402984b3.system.entry.js +0 -1
- package/dist/mint-components/p-4306a11d.entry.js +0 -33
- package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
- package/dist/mint-components/p-4b9976cc.system.js +0 -1
- package/dist/mint-components/p-60f1cca2.system.js +0 -1
- package/dist/mint-components/p-69d8b4f2.system.entry.js +0 -1
- package/dist/mint-components/p-7837f69e.js +0 -46
- package/dist/mint-components/p-7b8232f8.system.js +0 -6
- package/dist/mint-components/p-8c3c4e92.js +0 -112
- package/dist/mint-components/p-916a2045.system.entry.js +0 -1
- package/dist/mint-components/p-92bed2ad.system.js +0 -1
- package/dist/mint-components/p-a44a912b.entry.js +0 -1
- package/dist/mint-components/p-a597b136.entry.js +0 -1
- package/dist/mint-components/p-a8645c1b.system.js +0 -1
- package/dist/mint-components/p-be88596c.system.js +0 -1
- package/dist/mint-components/p-ddf3c05e.js +0 -1
- package/dist/mint-components/p-ea063d99.entry.js +0 -1
- package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
- /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
- /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
- /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
|
@@ -133,11 +133,11 @@ export class TaskCard {
|
|
|
133
133
|
disconnectedCallback() { }
|
|
134
134
|
render() {
|
|
135
135
|
const { props } = isDemo()
|
|
136
|
-
? useDemoBigStat(this)
|
|
136
|
+
? useDemoBigStat(getProps(this))
|
|
137
137
|
: useBigStat({ ...getProps(this), programId: this.programId });
|
|
138
138
|
const { value, loading } = props;
|
|
139
139
|
const { states, callbacks } = isDemo()
|
|
140
|
-
? useTaskCardDemo(this)
|
|
140
|
+
? useTaskCardDemo(getProps(this))
|
|
141
141
|
: useTaskCard(this);
|
|
142
142
|
return (h(TaskCardView, { callbacks: callbacks, states: {
|
|
143
143
|
loading,
|
|
@@ -4,7 +4,7 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { PortalSectionView } from "./sqm-portal-section-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Titled Section
|
|
7
|
-
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-hero","sqm-tab", "sqm-referred-registration", "sqb-program-section","sqb-conditional-section", "sqm-instant-access-registration", "sqm-referral-card"]
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-hero","sqm-tab", "sqm-referred-registration", "sqb-program-section","sqb-conditional-section", "sqm-instant-access-registration", "sqm-referral-card", "sqm-referred-registration"]
|
|
8
8
|
* @validChildren ["div","sqm-portal-container","p","sqm-timeline","h1","h2","h3","h5","h4","sqm-qr-code","sqm-referral-code","sqm-referral-codes","sqm-share-code","sqm-share-link","sqm-text","span", "sqm-user-name"]
|
|
9
9
|
* @slots [{"name":"label", "title":"Label"},{"name":"content", "title":"Content"}]
|
|
10
10
|
* @exampleGroup Layout
|
package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js
CHANGED
|
@@ -34,13 +34,16 @@ function useTemplateChildren({ parent, callback }) {
|
|
|
34
34
|
/**
|
|
35
35
|
* @uiName Widget Verification Controller
|
|
36
36
|
* @slots [{"name":"not-verified","title":"Not Verified template"},{"name":"verified","title":"Verified template"}]
|
|
37
|
+
* @exampleGroup Tax and Cash
|
|
38
|
+
* @example Widget Cash Payout Form - <sqm-widget-verification-controller><template slot="not-verified"><sqm-widget-verification></sqm-widget-verification></template><template slot="verified"><sqm-tax-and-cash></sqm-tax-and-cash></template></sqm-widget-verification-controller>
|
|
37
39
|
* @canvasRenderer always-replace
|
|
38
40
|
*/
|
|
39
41
|
export class WidgetVerificationController {
|
|
40
42
|
constructor() {
|
|
41
43
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* @componentState { "title": "
|
|
44
|
+
* @undocumented
|
|
45
|
+
* @componentState { "title": "Verify email", "slot": "not-verified", "props": { "isAuth": false }, "disabled": "true" }
|
|
46
|
+
* @componentState { "title": "Tax and cash", "slot": "verified", "props": { "isAuth": true }, "disabled": "true" }
|
|
44
47
|
*/
|
|
45
48
|
this.stateController = "{}";
|
|
46
49
|
withHooks(this);
|
|
@@ -136,10 +139,13 @@ export class WidgetVerificationController {
|
|
|
136
139
|
"optional": false,
|
|
137
140
|
"docs": {
|
|
138
141
|
"tags": [{
|
|
139
|
-
"text":
|
|
142
|
+
"text": undefined,
|
|
143
|
+
"name": "undocumented"
|
|
144
|
+
}, {
|
|
145
|
+
"text": "{ \"title\": \"Verify email\", \"slot\": \"not-verified\", \"props\": { \"isAuth\": false }, \"disabled\": \"true\" }",
|
|
140
146
|
"name": "componentState"
|
|
141
147
|
}, {
|
|
142
|
-
"text": "{ \"title\": \"Tax and cash\", \"slot\": \"verified\", \"props\": { \"isAuth\": true } }",
|
|
148
|
+
"text": "{ \"title\": \"Tax and cash\", \"slot\": \"verified\", \"props\": { \"isAuth\": true }, \"disabled\": \"true\" }",
|
|
143
149
|
"name": "componentState"
|
|
144
150
|
}],
|
|
145
151
|
"text": ""
|
|
@@ -1253,13 +1253,9 @@ export const TaxAndCashDashboardDisabled = () => {
|
|
|
1253
1253
|
},
|
|
1254
1254
|
} }));
|
|
1255
1255
|
};
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
//
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
// }}
|
|
1263
|
-
// ></sqm-tax-and-cash>
|
|
1264
|
-
// );
|
|
1265
|
-
// };
|
|
1256
|
+
export const TaxAndCashTextProps = () => {
|
|
1257
|
+
return (h("sqm-tax-and-cash", { demoData: {
|
|
1258
|
+
// @ts-ignore
|
|
1259
|
+
showTextProps: true,
|
|
1260
|
+
} }));
|
|
1261
|
+
};
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -112,16 +112,10 @@ export class PayoutStatusAlert {
|
|
|
112
112
|
this.errorDescription = "There was an error with determining your payout status.";
|
|
113
113
|
/**
|
|
114
114
|
* @undocumented
|
|
115
|
-
* @componentState { "title": "
|
|
116
|
-
* @componentState { "title": "
|
|
117
|
-
* @componentState { "title": "
|
|
118
|
-
* @componentState { "title": "
|
|
119
|
-
* @componentState { "title": "Verification Internal", "props": { "demoData": { "states": { "status": "VERIFICATION:INTERNAL" } } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
120
|
-
* @componentState { "title": "Verification Review", "props": { "demoData": { "states": { "status": "VERIFICATION:REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
121
|
-
* @componentState { "title": "Verification Failed", "props": { "demoData": { "states": { "status": "VERIFICATION:FAILED" } } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
122
|
-
* @componentState { "title": "Account Review", "props": { "demoData": { "states": { "status": "ACCOUNT_REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
123
|
-
* @componentState { "title": "Hold", "props": { "demoData": { "states": { "status": "HOLD" } } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
124
|
-
* @componentState { "title": "Error State", "props": { "demoData": { "states": { "error": true } } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
115
|
+
* @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
116
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
117
|
+
* @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
118
|
+
* @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
|
|
125
119
|
*/
|
|
126
120
|
this.stateController = "{}";
|
|
127
121
|
withHooks(this);
|
|
@@ -658,34 +652,16 @@ export class PayoutStatusAlert {
|
|
|
658
652
|
"text": undefined,
|
|
659
653
|
"name": "undocumented"
|
|
660
654
|
}, {
|
|
661
|
-
"text": "{ \"title\": \"
|
|
655
|
+
"text": "{ \"title\": \"Payout Info Required\", \"props\": { \"states\": { \"status\": \"INFORMATION_REQUIRED\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
662
656
|
"name": "componentState"
|
|
663
657
|
}, {
|
|
664
|
-
"text": "{ \"title\": \"
|
|
658
|
+
"text": "{ \"title\": \"Verification Required\", \"props\": { \"states\": { \"status\": \"VERIFICATION:REQUIRED\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
665
659
|
"name": "componentState"
|
|
666
660
|
}, {
|
|
667
|
-
"text": "{ \"title\": \"
|
|
661
|
+
"text": "{ \"title\": \"Identity Verification\", \"props\": { \"states\": { \"status\": \"VERIFICATION:REVIEW\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
668
662
|
"name": "componentState"
|
|
669
663
|
}, {
|
|
670
|
-
"text": "{ \"title\": \"
|
|
671
|
-
"name": "componentState"
|
|
672
|
-
}, {
|
|
673
|
-
"text": "{ \"title\": \"Verification Internal\", \"props\": { \"demoData\": { \"states\": { \"status\": \"VERIFICATION:INTERNAL\" } } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
674
|
-
"name": "componentState"
|
|
675
|
-
}, {
|
|
676
|
-
"text": "{ \"title\": \"Verification Review\", \"props\": { \"demoData\": { \"states\": { \"status\": \"VERIFICATION:REVIEW\" } } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
677
|
-
"name": "componentState"
|
|
678
|
-
}, {
|
|
679
|
-
"text": "{ \"title\": \"Verification Failed\", \"props\": { \"demoData\": { \"states\": { \"status\": \"VERIFICATION:FAILED\" } } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
680
|
-
"name": "componentState"
|
|
681
|
-
}, {
|
|
682
|
-
"text": "{ \"title\": \"Account Review\", \"props\": { \"demoData\": { \"states\": { \"status\": \"ACCOUNT_REVIEW\" } } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
683
|
-
"name": "componentState"
|
|
684
|
-
}, {
|
|
685
|
-
"text": "{ \"title\": \"Hold\", \"props\": { \"demoData\": { \"states\": { \"status\": \"HOLD\" } } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
686
|
-
"name": "componentState"
|
|
687
|
-
}, {
|
|
688
|
-
"text": "{ \"title\": \"Error State\", \"props\": { \"demoData\": { \"states\": { \"error\": true } } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
664
|
+
"text": "{ \"title\": \"Account Hold\", \"props\": { \"states\": { \"status\": \"HOLD\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] }",
|
|
689
665
|
"name": "componentState"
|
|
690
666
|
}],
|
|
691
667
|
"text": ""
|
|
@@ -14,8 +14,7 @@ import { intl } from "../../../global/global";
|
|
|
14
14
|
* @uiName Tax and Cash
|
|
15
15
|
* @exampleGroup Tax and Cash
|
|
16
16
|
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section", "template"]
|
|
17
|
-
* @example
|
|
18
|
-
* @example 2FA Protected Tax and Cash Form - <sqm-widget-verification-controller><template slot="not-verified"><sqm-widget-verification></sqm-widget-verification></template><template slot="verified"><sqm-tax-and-cash></sqm-tax-and-cash></template></sqm-widget-verification-controller>
|
|
17
|
+
* @example Microsite Cash Payout Form - <sqm-tax-and-cash></sqm-tax-and-cash>
|
|
19
18
|
*/
|
|
20
19
|
export class TaxAndCashMonolith {
|
|
21
20
|
constructor() {
|
|
@@ -1125,7 +1124,7 @@ export class TaxAndCashMonolith {
|
|
|
1125
1124
|
case "/4":
|
|
1126
1125
|
return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1127
1126
|
case "/dashboard":
|
|
1128
|
-
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
1127
|
+
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), { stateController: props["sqm-tax-and-cash-dashboard_stateController"] || "{}" })));
|
|
1129
1128
|
case "/error":
|
|
1130
1129
|
return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
|
|
1131
1130
|
id: "loadingErrorAlertDescription",
|
|
@@ -7,9 +7,6 @@ const style = {
|
|
|
7
7
|
backgroundColor: "var(--sl-color-red-100)",
|
|
8
8
|
borderTop: "none",
|
|
9
9
|
},
|
|
10
|
-
"& sl-icon::part(base)": {
|
|
11
|
-
color: "var(--sl-color-danger-500)",
|
|
12
|
-
},
|
|
13
10
|
},
|
|
14
11
|
WarningAlertContainer: {
|
|
15
12
|
"&::part(base)": {
|
|
@@ -17,9 +14,6 @@ const style = {
|
|
|
17
14
|
borderTop: "none",
|
|
18
15
|
maxWidth: "600px",
|
|
19
16
|
},
|
|
20
|
-
"& sl-icon::part(base)": {
|
|
21
|
-
color: "var(--sl-color-warning-500)",
|
|
22
|
-
},
|
|
23
17
|
},
|
|
24
18
|
WarningHoldAlertContainer: {
|
|
25
19
|
marginLeft: "-20px",
|
|
@@ -27,9 +21,10 @@ const style = {
|
|
|
27
21
|
maxWidth: "850px",
|
|
28
22
|
border: "none",
|
|
29
23
|
backgroundColor: "transparent",
|
|
24
|
+
color: "var(--sqm-text)",
|
|
30
25
|
},
|
|
31
26
|
"& sl-icon::part(base)": {
|
|
32
|
-
color: "var(--
|
|
27
|
+
color: "var(--sqm-warning-color-icon)",
|
|
33
28
|
},
|
|
34
29
|
},
|
|
35
30
|
ErrorHoldAlertContainer: {
|
|
@@ -38,9 +33,10 @@ const style = {
|
|
|
38
33
|
maxWidth: "850px",
|
|
39
34
|
border: "none",
|
|
40
35
|
backgroundColor: "transparent",
|
|
36
|
+
color: "var(--sqm-text)",
|
|
41
37
|
},
|
|
42
38
|
"& sl-icon::part(base)": {
|
|
43
|
-
color: "var(--
|
|
39
|
+
color: "var(--sqm-danger-color-icon)",
|
|
44
40
|
},
|
|
45
41
|
},
|
|
46
42
|
ExpiringSoonAlertContainer: {
|
|
@@ -63,7 +59,7 @@ const style = {
|
|
|
63
59
|
display: "flex",
|
|
64
60
|
gap: "var(--sl-spacing-x-small)",
|
|
65
61
|
"&::part(base)": {
|
|
66
|
-
color: "var(--
|
|
62
|
+
color: "var(--sqm-text)",
|
|
67
63
|
},
|
|
68
64
|
},
|
|
69
65
|
IndirectTaxPreviewDetails: {
|
|
@@ -72,12 +68,13 @@ const style = {
|
|
|
72
68
|
flexDirection: "column",
|
|
73
69
|
lineHeight: "var(--sl-spacing-medium)",
|
|
74
70
|
fontSize: "var(--sl-font-size-small)",
|
|
71
|
+
color: "var(--sqm-text-subdued)",
|
|
75
72
|
},
|
|
76
73
|
InvoiceTableContainer: {
|
|
77
74
|
marginTop: "var(--sl-spacing-medium)",
|
|
78
75
|
},
|
|
79
76
|
NotRegisteredIndirectTaxText: {
|
|
80
|
-
color: "var(--
|
|
77
|
+
color: "var(--sqm-text-subdued)",
|
|
81
78
|
},
|
|
82
79
|
TaxDocumentsContainer: {
|
|
83
80
|
marginTop: "var(--sl-spacing-xx-large)",
|
|
@@ -98,7 +95,6 @@ const style = {
|
|
|
98
95
|
"& p": {
|
|
99
96
|
margin: "0",
|
|
100
97
|
paddingTop: "2px",
|
|
101
|
-
color: "var(--sl-color-gray-500)",
|
|
102
98
|
},
|
|
103
99
|
},
|
|
104
100
|
StatusAlert: {
|
|
@@ -133,7 +129,7 @@ const style = {
|
|
|
133
129
|
},
|
|
134
130
|
TaxDocSubtext: {
|
|
135
131
|
margin: "0",
|
|
136
|
-
color: "var(--
|
|
132
|
+
color: "var(--sqm-text-subdued)",
|
|
137
133
|
lineHeight: "var(--sl-spacing-medium)",
|
|
138
134
|
fontSize: "var(--sl-font-size-small)",
|
|
139
135
|
marginLeft: "1px",
|
|
@@ -154,13 +150,13 @@ const style = {
|
|
|
154
150
|
gap: "6px",
|
|
155
151
|
},
|
|
156
152
|
DescriptionText: {
|
|
157
|
-
color: "var(--
|
|
153
|
+
color: "var(--sqm-text-subdued)",
|
|
158
154
|
fontSize: "var(--sl-font-size-x-small)",
|
|
159
155
|
marginBottom: "none",
|
|
160
156
|
maxWidth: "492px",
|
|
161
157
|
},
|
|
162
158
|
PageDescriptionText: {
|
|
163
|
-
color: "var(--
|
|
159
|
+
color: "var(--sqm-text-subdued)",
|
|
164
160
|
fontSize: "var(--sl-font-size-medium)",
|
|
165
161
|
marginTop: "0",
|
|
166
162
|
},
|
|
@@ -191,9 +187,53 @@ const style = {
|
|
|
191
187
|
},
|
|
192
188
|
},
|
|
193
189
|
DialogButton: { margin: "auto", width: "100%" },
|
|
190
|
+
SuccessBadge: {
|
|
191
|
+
"&::part(base)": {
|
|
192
|
+
textAlign: "center",
|
|
193
|
+
whiteSpace: "pre-line",
|
|
194
|
+
background: "var(--sqm-success-color-icon)",
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
WarningBadge: {
|
|
198
|
+
"&::part(base)": {
|
|
199
|
+
textAlign: "center",
|
|
200
|
+
whiteSpace: "pre-line",
|
|
201
|
+
background: "var(--sqm-warning-color-icon)",
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
ErrorBadge: {
|
|
205
|
+
"&::part(base)": {
|
|
206
|
+
textAlign: "center",
|
|
207
|
+
whiteSpace: "pre-line",
|
|
208
|
+
background: "var(--sqm-danger-color-icon)",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
SubduedText: {
|
|
212
|
+
color: "var(--sqm-text-subdued)",
|
|
213
|
+
},
|
|
194
214
|
};
|
|
195
215
|
const sheet = createStyleSheet(style);
|
|
196
216
|
const styleString = sheet.toString();
|
|
217
|
+
const vanillaStyle = `
|
|
218
|
+
:host{
|
|
219
|
+
display: block;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
sl-button[type="secondary"]::part(base) {
|
|
223
|
+
font-family: var(--sqm-primary-font);
|
|
224
|
+
background-color: var(--sqm-secondary-button-background);
|
|
225
|
+
color: var(--sqm-secondary-button-color);
|
|
226
|
+
border-color: var(--sqm-secondary-button-color-border);
|
|
227
|
+
border-radius: var(--sqm-secondary-button-radius);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
sl-button[type="secondary"]::part(base):hover {
|
|
231
|
+
background-color: var(--sqm-secondary-button-background-hover);
|
|
232
|
+
color: var(--sqm-secondary-button-color-hover);
|
|
233
|
+
border-color: var(--sqm-secondary-button-border-color-hover);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
`;
|
|
197
237
|
export const TaxAndCashDashboardView = (props) => {
|
|
198
238
|
var _a;
|
|
199
239
|
const { states, text, callbacks, slots } = props;
|
|
@@ -210,7 +250,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
210
250
|
termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
|
|
211
251
|
}),
|
|
212
252
|
button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
|
|
213
|
-
alertType: "
|
|
253
|
+
alertType: "warning",
|
|
214
254
|
icon: "info-circle",
|
|
215
255
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
216
256
|
};
|
|
@@ -317,16 +357,16 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
317
357
|
}
|
|
318
358
|
const statusMap = {
|
|
319
359
|
NOT_VERIFIED: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
|
|
320
|
-
h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
|
|
321
|
-
h("p",
|
|
360
|
+
h("sl-badge", { class: sheet.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
|
|
361
|
+
h("p", { class: sheet.classes.SubduedText }, intl.formatMessage({
|
|
322
362
|
id: `badgeTextAwaitingReview`,
|
|
323
363
|
defaultMessage: text.badgeTextAwaitingReview,
|
|
324
364
|
}, {
|
|
325
365
|
dateSubmitted: states.dateSubmitted,
|
|
326
366
|
})))),
|
|
327
367
|
ACTIVE: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
|
|
328
|
-
h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
|
|
329
|
-
h("p",
|
|
368
|
+
h("sl-badge", { class: sheet.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
|
|
369
|
+
h("p", { class: sheet.classes.SubduedText }, intl.formatMessage({
|
|
330
370
|
id: `badgeTextSubmittedOn`,
|
|
331
371
|
defaultMessage: states.documentType === "W9"
|
|
332
372
|
? text.badgeTextSubmittedOn
|
|
@@ -335,8 +375,8 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
335
375
|
dateSubmitted: states.dateSubmitted,
|
|
336
376
|
})))),
|
|
337
377
|
INACTIVE: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
|
|
338
|
-
h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
|
|
339
|
-
h("p",
|
|
378
|
+
h("sl-badge", { class: sheet.classes.ErrorBadge, type: "danger", pill: true }, text.statusTextNotActive),
|
|
379
|
+
h("p", { class: sheet.classes.SubduedText }, text.invalidForm))),
|
|
340
380
|
undefined: (h("div", { class: sheet.classes.TaxFormDetailsContainer },
|
|
341
381
|
h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
|
|
342
382
|
h("p", null, intl.formatMessage({
|
|
@@ -398,9 +438,11 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
398
438
|
const alertInfo = getAlert(states.payoutStatus);
|
|
399
439
|
return (h("div", null,
|
|
400
440
|
h("div", null,
|
|
401
|
-
h("style", { type: "text/css" },
|
|
441
|
+
h("style", { type: "text/css" },
|
|
442
|
+
styleString,
|
|
443
|
+
vanillaStyle),
|
|
402
444
|
states.loadingError && (h("div", null,
|
|
403
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
|
|
445
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet.classes.ErrorAlertContainer },
|
|
404
446
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
405
447
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
406
448
|
h("br", null),
|
|
@@ -420,8 +462,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
420
462
|
}, {
|
|
421
463
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
422
464
|
}))),
|
|
423
|
-
alertInfo && (h("
|
|
424
|
-
h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
|
|
465
|
+
alertInfo && (h("sqm-form-message", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
|
|
425
466
|
h("strong", null, alertInfo.header),
|
|
426
467
|
h("p", { style: { margin: "0" } }, alertInfo.description),
|
|
427
468
|
alertInfo.buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
|
|
@@ -436,7 +477,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
436
477
|
h("div", { class: sheet.classes.BankingInformationContainer },
|
|
437
478
|
slots.payoutDetailsCardSlot,
|
|
438
479
|
!states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
|
|
439
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
480
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
440
481
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
441
482
|
h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
442
483
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { intl } from "../../../global/global";
|
|
3
3
|
import { createStyleSheet } from "../../../styling/JSS";
|
|
4
|
-
// import { GeneralLoadingView } from "../TaxForm.stories";
|
|
5
4
|
import { FORM_STEPS } from "../data";
|
|
6
5
|
import { PHONE_EXTENSIONS } from "../phoneExtensions";
|
|
7
6
|
import LoadingView from "../sqm-tax-and-cash/LoadingView";
|
|
@@ -183,9 +183,7 @@ export class TaxForm {
|
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
185
|
const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
|
|
186
|
-
return (h(UserInfoFormView, { data: props.data,
|
|
187
|
-
// @ts-ignore
|
|
188
|
-
states: props.states, callbacks: {
|
|
186
|
+
return (h(UserInfoFormView, { data: props.data, states: props.states, callbacks: {
|
|
189
187
|
...props.callbacks,
|
|
190
188
|
onSubmit: props.onSubmit,
|
|
191
189
|
}, text: props.text, refs: props.refs }));
|
|
@@ -923,7 +921,6 @@ export class TaxForm {
|
|
|
923
921
|
}
|
|
924
922
|
function useDemoUserInfoForm(props) {
|
|
925
923
|
const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
|
|
926
|
-
// @ts-ignore
|
|
927
924
|
return deepmerge({
|
|
928
925
|
setStep,
|
|
929
926
|
onSubmit: async () => {
|
|
@@ -56,11 +56,7 @@ export function CopyTextView(props) {
|
|
|
56
56
|
color: props.textColor || "var(--sqm-text)",
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
|
-
inputErrorStyle: {
|
|
60
|
-
// "&::part(base)": {
|
|
61
|
-
// border: "1px solid red",
|
|
62
|
-
// },
|
|
63
|
-
},
|
|
59
|
+
inputErrorStyle: {},
|
|
64
60
|
ContainerDiv: {
|
|
65
61
|
display: "flex",
|
|
66
62
|
alignItems: "flex-start",
|
|
@@ -104,9 +100,7 @@ export function CopyTextView(props) {
|
|
|
104
100
|
h("div", { class: sheet.classes.containerStyle, style: {
|
|
105
101
|
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
106
102
|
} },
|
|
107
|
-
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`,
|
|
108
|
-
// exportparts="base: input-base, input: input-field"
|
|
109
|
-
value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
103
|
+
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`, value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
110
104
|
buttonStyle === "icon" && copyButton,
|
|
111
105
|
error && (h("p", { slot: "help-text", class: sheet.classes.errorTextStyle }, props.errorText))),
|
|
112
106
|
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
@@ -3,17 +3,17 @@ import { i as intl } from './global-1099f20d.js';
|
|
|
3
3
|
import { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { H, L, J, d as dist, w as wn, j as jn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { l as luxonLocale } from './utils-
|
|
6
|
+
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
8
|
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-c2e809cf.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
|
|
10
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
10
|
+
import { C as CopyTextView } from './copy-text-view-fac47254.js';
|
|
11
11
|
import { u as useChildElements } from './useChildElements-3d872cef.js';
|
|
12
12
|
import { l as luxon } from './luxon-bbf75a9d.js';
|
|
13
13
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
14
14
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
15
15
|
import { a as isValidColor, b as isMobile } from './utilities-72c07b09.js';
|
|
16
|
-
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-
|
|
16
|
+
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-176e92e3.js';
|
|
17
17
|
|
|
18
18
|
function BigStatView(props) {
|
|
19
19
|
const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
|
|
@@ -21,8 +21,6 @@ function BigStatView(props) {
|
|
|
21
21
|
const style = {
|
|
22
22
|
Container: {
|
|
23
23
|
display: "flex",
|
|
24
|
-
// height: "inherit",
|
|
25
|
-
// "justify-content": "space-between",
|
|
26
24
|
"flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
|
|
27
25
|
"align-items": `${alignment === "left"
|
|
28
26
|
? "flex-start"
|
|
@@ -407,12 +405,18 @@ const referralsMonthQuery = (programId, status) => {
|
|
|
407
405
|
});
|
|
408
406
|
});
|
|
409
407
|
};
|
|
410
|
-
const referralsWeekQuery = (programId) => {
|
|
408
|
+
const referralsWeekQuery = (programId, status) => {
|
|
411
409
|
const programFilter = programId === "classic"
|
|
412
410
|
? { programId_exists: false }
|
|
413
411
|
: { programId_eq: programId };
|
|
412
|
+
const convertedFilter = status && status == "converted"
|
|
413
|
+
? { dateConverted_exists: true }
|
|
414
|
+
: status && status == "started"
|
|
415
|
+
? { dateConverted_exists: false }
|
|
416
|
+
: {};
|
|
414
417
|
const filter = {
|
|
415
418
|
...programFilter,
|
|
419
|
+
...convertedFilter,
|
|
416
420
|
dateReferralStarted_timeframe: "this_week",
|
|
417
421
|
};
|
|
418
422
|
return debugQuery(dist.gql `
|
|
@@ -2782,7 +2786,7 @@ function NameFieldsView(props) {
|
|
|
2782
2786
|
h("style", { type: "text/css" },
|
|
2783
2787
|
vanillaStyle$4,
|
|
2784
2788
|
styleString$7),
|
|
2785
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required:
|
|
2789
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: !states.optional, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2786
2790
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2787
2791
|
}
|
|
2788
2792
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
@@ -2790,7 +2794,7 @@ function NameFieldsView(props) {
|
|
|
2790
2794
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2791
2795
|
}
|
|
2792
2796
|
: []))),
|
|
2793
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required:
|
|
2797
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: !states.optional, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
|
|
2794
2798
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2795
2799
|
}
|
|
2796
2800
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
@@ -57,11 +57,7 @@ function CopyTextView(props) {
|
|
|
57
57
|
color: props.textColor || "var(--sqm-text)",
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
|
-
inputErrorStyle: {
|
|
61
|
-
// "&::part(base)": {
|
|
62
|
-
// border: "1px solid red",
|
|
63
|
-
// },
|
|
64
|
-
},
|
|
60
|
+
inputErrorStyle: {},
|
|
65
61
|
ContainerDiv: {
|
|
66
62
|
display: "flex",
|
|
67
63
|
alignItems: "flex-start",
|
|
@@ -105,9 +101,7 @@ function CopyTextView(props) {
|
|
|
105
101
|
h("div", { class: sheet.classes.containerStyle, style: {
|
|
106
102
|
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
107
103
|
} },
|
|
108
|
-
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`,
|
|
109
|
-
// exportparts="base: input-base, input: input-field"
|
|
110
|
-
value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
104
|
+
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`, value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
111
105
|
buttonStyle === "icon" && copyButton,
|
|
112
106
|
error && (h("p", { slot: "help-text", class: sheet.classes.errorTextStyle }, props.errorText))),
|
|
113
107
|
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|