@saasquatch/mint-components 1.12.0-8 → 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 -224
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +218 -386
- 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-5d3a2d35.js → sqm-invoice-table-view-e3b03a00.js} +1 -59
- 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 -56
- 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 -6
- 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 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +9 -10
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -2
- 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 -223
- package/dist/esm/sqm-big-stat_39.entry.js +217 -385
- 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-e9075c0b.js → sqm-invoice-table-view-6e13a323.js} +1 -59
- 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 -5
- 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 -5
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +2 -2
- package/dist/types/components.d.ts +108 -591
- 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 -345
- 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/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 -156
- 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 -116
- 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 -341
- 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/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-e9075c0b.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/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-1649ee1e.entry.js +0 -240
- 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-26468242.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-3925bcd6.entry.js +0 -13
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-39e412e8.system.entry.js +0 -1
- package/dist/mint-components/p-4364001c.entry.js +0 -12
- package/dist/mint-components/p-54ffae13.entry.js +0 -194
- package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
- package/dist/mint-components/p-63ac51e1.system.entry.js +0 -1
- package/dist/mint-components/p-64491210.system.entry.js +0 -1
- package/dist/mint-components/p-8690f682.system.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-bdd6bb13.js +0 -1
- package/dist/mint-components/p-c3b37bbf.js +0 -1
- package/dist/mint-components/p-c510fb88.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-d238372a.system.entry.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-ead27698.system.entry.js +0 -1
- package/dist/mint-components/p-f340214f.entry.js +0 -25
- package/dist/mint-components/p-f55060db.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
- package/dist/mint-components/p-fffc3590.entry.js +0 -9
- 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 -19
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-df530553.js');
|
|
8
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
9
9
|
|
|
10
10
|
const TabView = ({}, children) => {
|
|
11
11
|
return index.h(index.Host, null, children);
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
9
|
-
const useChildElements = require('./useChildElements-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
9
|
+
const useChildElements = require('./useChildElements-e0d44916.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
|
|
12
12
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -41,7 +41,7 @@ const TabsView = ({ content, placement, }) => {
|
|
|
41
41
|
const REVEAL_EVENT = "sq:reveal";
|
|
42
42
|
function useTabs() {
|
|
43
43
|
const rawTabs = useChildElements.useChildElements();
|
|
44
|
-
const host = index_module.
|
|
44
|
+
const host = index_module._();
|
|
45
45
|
const tick = reRender.useRerenderListener();
|
|
46
46
|
const tabs = stencilHooks_module.useMemo(() => rawTabs
|
|
47
47
|
.filter((tab) => tab.tagName === "SQM-TAB" || tab.tagName === "RAISINS-PLOP-TARGET")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
|
-
const host = index_module.
|
|
7
|
+
const host = index_module._();
|
|
8
8
|
const initialState = host.children.length
|
|
9
9
|
? Array.from(host.children)
|
|
10
10
|
: [];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const cookie = new URLSearchParams(window.location.search);
|
|
10
10
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
11
11
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState();
|
|
12
|
-
const [request, { loading, errors, data }] = index_module.
|
|
12
|
+
const [request, { loading, errors, data }] = index_module.mn();
|
|
13
13
|
const [error, setError] = stencilHooks_module.useState("");
|
|
14
14
|
const submit = async (event) => {
|
|
15
15
|
var _a;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
5
|
+
const index_module = require('./index.module-df530553.js');
|
|
6
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-e0d44916.js');
|
|
8
8
|
|
|
9
9
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
10
10
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
@@ -245,8 +245,8 @@ const GET_IMPACT_TAX = index_module.dist.gql `
|
|
|
245
245
|
`;
|
|
246
246
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
247
247
|
var _a, _b, _c, _d;
|
|
248
|
-
const user = index_module.
|
|
249
|
-
const programIdContext = index_module.
|
|
248
|
+
const user = index_module.Q();
|
|
249
|
+
const programIdContext = index_module.H();
|
|
250
250
|
// Default to context, overriden by props
|
|
251
251
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
252
252
|
// If no program ID, shows all programs
|
|
@@ -268,17 +268,17 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
268
268
|
loading: false,
|
|
269
269
|
page: 0,
|
|
270
270
|
});
|
|
271
|
-
const locale = index_module.
|
|
272
|
-
const { data: referrerResponse, loading: referrerLoading, refetch, } = index_module.
|
|
271
|
+
const locale = index_module.L();
|
|
272
|
+
const { data: referrerResponse, loading: referrerLoading, refetch, } = index_module.yn(GET_REFERRER_DATA, {
|
|
273
273
|
programId: programId === "classic" ? null : programId,
|
|
274
274
|
rewardFilter,
|
|
275
275
|
locale,
|
|
276
276
|
}, !props.showReferrer || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
277
277
|
const referrerData = (_b = referrerResponse === null || referrerResponse === void 0 ? void 0 : referrerResponse.viewer) === null || _b === void 0 ? void 0 : _b.referredByReferral;
|
|
278
278
|
const showReferrerRow = props.showReferrer && !!(referrerData === null || referrerData === void 0 ? void 0 : referrerData.dateReferralStarted);
|
|
279
|
-
const { data: taxResponse, loading: taxLoading } = index_module.
|
|
279
|
+
const { data: taxResponse, loading: taxLoading } = index_module.yn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
280
280
|
const taxConnection = (_c = taxResponse === null || taxResponse === void 0 ? void 0 : taxResponse.viewer) === null || _c === void 0 ? void 0 : _c.impactConnection;
|
|
281
|
-
const { envelope: referralData, states, callbacks, } = index_module.
|
|
281
|
+
const { envelope: referralData, states, callbacks, } = index_module.kn(GET_REFERRAL_DATA, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.referrals; }, {
|
|
282
282
|
limit: props.perPage,
|
|
283
283
|
offset: 0,
|
|
284
284
|
}, {
|
package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
function useRegistrationFormState(formState) {
|
|
8
|
-
const host = index_module.
|
|
8
|
+
const host = index_module._();
|
|
9
9
|
const [registrationFormState, setRegistrationFormState] = stencilHooks_module.y(host, REGISTRATION_FORM_STATE_CONTEXT, formState);
|
|
10
10
|
return { registrationFormState, setRegistrationFormState };
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"./components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js",
|
|
5
5
|
"./components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js",
|
|
6
6
|
"./components/sqm-password-field/sqm-password-field.js",
|
|
7
|
-
"./components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js",
|
|
8
7
|
"./components/sqm-referral-table/sqm-referral-table.js",
|
|
9
8
|
"./components/sqm-reward-exchange-list/sqm-reward-exchange-list.js",
|
|
10
9
|
"./components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js",
|
|
@@ -43,11 +42,11 @@
|
|
|
43
42
|
"./components/sqm-leaderboard-rank/sqm-leaderboard-rank.js",
|
|
44
43
|
"./components/sqm-link-button/sqm-link-button.js",
|
|
45
44
|
"./components/sqm-logout-current-user/sqm-logout-current-user.js",
|
|
45
|
+
"./components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js",
|
|
46
46
|
"./components/sqm-name-fields/sqm-name-fields.js",
|
|
47
47
|
"./components/sqm-navigation-menu/sqm-navigation-menu.js",
|
|
48
48
|
"./components/sqm-navigation-sidebar/sqm-navigation-sidebar.js",
|
|
49
49
|
"./components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js",
|
|
50
|
-
"./components/sqm-payout-button-scroll/sqm-payout-button-scroll.js",
|
|
51
50
|
"./components/sqm-popup-container/sqm-popup-container.js",
|
|
52
51
|
"./components/sqm-portal-change-password/sqm-portal-change-password.js",
|
|
53
52
|
"./components/sqm-portal-container/sqm-portal-container.js",
|
|
@@ -108,10 +107,6 @@
|
|
|
108
107
|
"./components/sqm-timeline/sqm-timeline.js",
|
|
109
108
|
"./components/sqm-titled-section/sqm-titled-section.js",
|
|
110
109
|
"./components/sqm-user-name/sqm-user-name.js",
|
|
111
|
-
"./components/sqm-widget-verification/sqm-widget-verification-internal.js",
|
|
112
|
-
"./components/sqm-widget-verification/sqm-widget-verification.js",
|
|
113
|
-
"./components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js",
|
|
114
|
-
"./components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js",
|
|
115
110
|
"./components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js",
|
|
116
111
|
"./components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js"
|
|
117
112
|
],
|
|
@@ -709,12 +709,9 @@ const payoutBalanceQuery = () => {
|
|
|
709
709
|
query payoutBalance {
|
|
710
710
|
viewer: viewer {
|
|
711
711
|
... on User {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
payoutsAccount {
|
|
716
|
-
balance
|
|
717
|
-
}
|
|
712
|
+
publisher {
|
|
713
|
+
payoutsAccount {
|
|
714
|
+
balance
|
|
718
715
|
}
|
|
719
716
|
}
|
|
720
717
|
}
|
|
@@ -10,7 +10,7 @@ import { useCheckboxField } from "./useCheckboxField";
|
|
|
10
10
|
* @uiName Form Checkbox Field
|
|
11
11
|
* @validParents ["sqm-portal-register","sqm-portal-registration-form"]
|
|
12
12
|
* @exampleGroup Microsite Components
|
|
13
|
-
* @example Form Checkbox Field - <sqm-checkbox-field checkbox-label="By signing up you agree to the {labelLink}" checkbox-label-link="https://example.com" checkbox-label-link-text="Terms and Conditions" error-message="Must be checked" ></sqm-checkbox-field>
|
|
13
|
+
* @example Form Checkbox Field - <sqm-checkbox-field checkbox-name="terms" checkbox-label="By signing up you agree to the {labelLink}" checkbox-label-link="https://example.com" checkbox-label-link-text="Terms and Conditions" error-message="Must be checked" ></sqm-checkbox-field>
|
|
14
14
|
*/
|
|
15
15
|
export class CheckboxField {
|
|
16
16
|
constructor() {
|
|
@@ -117,7 +117,7 @@ export class CheckboxField {
|
|
|
117
117
|
"references": {}
|
|
118
118
|
},
|
|
119
119
|
"required": false,
|
|
120
|
-
"optional":
|
|
120
|
+
"optional": true,
|
|
121
121
|
"docs": {
|
|
122
122
|
"tags": [{
|
|
123
123
|
"text": "Checkbox label link",
|
|
@@ -138,7 +138,7 @@ export class CheckboxField {
|
|
|
138
138
|
"references": {}
|
|
139
139
|
},
|
|
140
140
|
"required": false,
|
|
141
|
-
"optional":
|
|
141
|
+
"optional": true,
|
|
142
142
|
"docs": {
|
|
143
143
|
"tags": [{
|
|
144
144
|
"text": "Checkbox label link lext",
|
|
@@ -159,7 +159,7 @@ export class CheckboxField {
|
|
|
159
159
|
"references": {}
|
|
160
160
|
},
|
|
161
161
|
"required": false,
|
|
162
|
-
"optional":
|
|
162
|
+
"optional": true,
|
|
163
163
|
"docs": {
|
|
164
164
|
"tags": [{
|
|
165
165
|
"text": "Unchecked error message",
|
|
@@ -197,7 +197,7 @@ export class CheckboxField {
|
|
|
197
197
|
"mutable": false,
|
|
198
198
|
"complexType": {
|
|
199
199
|
"original": "DemoData<CheckboxFieldViewProps>",
|
|
200
|
-
"resolved": "{ states?: { registrationFormState?: RegistrationFormState; checked: boolean; }; content?: { checkboxName: string; checkboxLabel: string; checkboxLabelLink?: string; checkboxLabelLinkText?: string; checkboxOptional?: boolean; errorMessage
|
|
200
|
+
"resolved": "{ states?: { registrationFormState?: RegistrationFormState; checked: boolean; }; content?: { checkboxName: string; checkboxLabel: string; checkboxLabelLink?: string; checkboxLabelLinkText?: string; checkboxOptional?: boolean; errorMessage?: string; }; }",
|
|
201
201
|
"references": {
|
|
202
202
|
"DemoData": {
|
|
203
203
|
"location": "import",
|
package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import scenario from "./sqm-marketing-emails-checkbox.feature";
|
|
3
|
+
export default {
|
|
4
|
+
title: "Components/Marketing Emails Checkbox",
|
|
5
|
+
parameters: {
|
|
6
|
+
scenario,
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
export const Default = () => {
|
|
10
|
+
return h("sqm-marketing-emails-checkbox", null);
|
|
11
|
+
};
|
package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
+
import { Component, h, Prop, State } from "@stencil/core";
|
|
4
|
+
import deepmerge from "deepmerge";
|
|
5
|
+
import { getProps } from "../../utils/utils";
|
|
6
|
+
import { CheckboxFieldView, } from "../sqm-checkbox-field/sqm-checkbox-field-view";
|
|
7
|
+
import { useCheckboxField } from "../sqm-checkbox-field/useCheckboxField";
|
|
8
|
+
/**
|
|
9
|
+
* @uiName Form Checkbox Field
|
|
10
|
+
* @validParents ["sqm-portal-register","sqm-portal-registration-form"]
|
|
11
|
+
* @exampleGroup Microsite Components
|
|
12
|
+
* @example Form Checkbox Field - <sqm-marketing-emails-checkbox checkbox-label="I would like to receive marketing and promotional emails for this referral program" required="false" name="marketing-emails" ></sqm-marketing-emails-checkbox>
|
|
13
|
+
*/
|
|
14
|
+
export class MarketingEmailsCheckbox {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.ignored = true;
|
|
17
|
+
/**
|
|
18
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
19
|
+
* @uiName Checkbox name attribute
|
|
20
|
+
* @required
|
|
21
|
+
*/
|
|
22
|
+
this.checkboxName = "marketing-emails";
|
|
23
|
+
/**
|
|
24
|
+
* @uiName Checkbox label
|
|
25
|
+
* @uiWidget textArea
|
|
26
|
+
*/
|
|
27
|
+
this.checkboxLabel = "I would like to receive marketing and promotional emails for this referral program";
|
|
28
|
+
/**
|
|
29
|
+
* @uiName Required
|
|
30
|
+
*/
|
|
31
|
+
this.checkboxRequired = false;
|
|
32
|
+
withHooks(this);
|
|
33
|
+
}
|
|
34
|
+
disconnectedCallback() { }
|
|
35
|
+
render() {
|
|
36
|
+
const content = {
|
|
37
|
+
...getProps(this),
|
|
38
|
+
};
|
|
39
|
+
const { states, callbacks } = isDemo()
|
|
40
|
+
? useCheckboxFieldDemo(this)
|
|
41
|
+
: useCheckboxField(this);
|
|
42
|
+
return (h(CheckboxFieldView, { states: states, content: content, callbacks: callbacks }));
|
|
43
|
+
}
|
|
44
|
+
static get is() { return "sqm-marketing-emails-checkbox"; }
|
|
45
|
+
static get properties() { return {
|
|
46
|
+
"checkboxName": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "string",
|
|
51
|
+
"resolved": "string",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [{
|
|
58
|
+
"text": "Checkbox name attribute",
|
|
59
|
+
"name": "uiName"
|
|
60
|
+
}, {
|
|
61
|
+
"text": undefined,
|
|
62
|
+
"name": "required"
|
|
63
|
+
}],
|
|
64
|
+
"text": "This name is used as the key for this form field on submission. The name must be unique within this specific form."
|
|
65
|
+
},
|
|
66
|
+
"attribute": "checkbox-name",
|
|
67
|
+
"reflect": false,
|
|
68
|
+
"defaultValue": "\"marketing-emails\""
|
|
69
|
+
},
|
|
70
|
+
"checkboxLabel": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"mutable": false,
|
|
73
|
+
"complexType": {
|
|
74
|
+
"original": "string",
|
|
75
|
+
"resolved": "string",
|
|
76
|
+
"references": {}
|
|
77
|
+
},
|
|
78
|
+
"required": false,
|
|
79
|
+
"optional": false,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [{
|
|
82
|
+
"text": "Checkbox label",
|
|
83
|
+
"name": "uiName"
|
|
84
|
+
}, {
|
|
85
|
+
"text": "textArea",
|
|
86
|
+
"name": "uiWidget"
|
|
87
|
+
}],
|
|
88
|
+
"text": ""
|
|
89
|
+
},
|
|
90
|
+
"attribute": "checkbox-label",
|
|
91
|
+
"reflect": false,
|
|
92
|
+
"defaultValue": "\"I would like to receive marketing and promotional emails for this referral program\""
|
|
93
|
+
},
|
|
94
|
+
"checkboxRequired": {
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"mutable": false,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "boolean",
|
|
99
|
+
"resolved": "boolean",
|
|
100
|
+
"references": {}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": true,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [{
|
|
106
|
+
"text": "Required",
|
|
107
|
+
"name": "uiName"
|
|
108
|
+
}],
|
|
109
|
+
"text": ""
|
|
110
|
+
},
|
|
111
|
+
"attribute": "checkbox-required",
|
|
112
|
+
"reflect": false,
|
|
113
|
+
"defaultValue": "false"
|
|
114
|
+
},
|
|
115
|
+
"demoData": {
|
|
116
|
+
"type": "unknown",
|
|
117
|
+
"mutable": false,
|
|
118
|
+
"complexType": {
|
|
119
|
+
"original": "DemoData<CheckboxFieldViewProps>",
|
|
120
|
+
"resolved": "{ states?: { registrationFormState?: RegistrationFormState; checked: boolean; }; content?: { checkboxName: string; checkboxLabel: string; checkboxLabelLink?: string; checkboxLabelLinkText?: string; checkboxOptional?: boolean; errorMessage?: string; }; }",
|
|
121
|
+
"references": {
|
|
122
|
+
"DemoData": {
|
|
123
|
+
"location": "import",
|
|
124
|
+
"path": "../../global/demo"
|
|
125
|
+
},
|
|
126
|
+
"CheckboxFieldViewProps": {
|
|
127
|
+
"location": "import",
|
|
128
|
+
"path": "../sqm-checkbox-field/sqm-checkbox-field-view"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": false,
|
|
133
|
+
"optional": true,
|
|
134
|
+
"docs": {
|
|
135
|
+
"tags": [{
|
|
136
|
+
"text": undefined,
|
|
137
|
+
"name": "undocumented"
|
|
138
|
+
}, {
|
|
139
|
+
"text": "object",
|
|
140
|
+
"name": "uiType"
|
|
141
|
+
}],
|
|
142
|
+
"text": ""
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}; }
|
|
146
|
+
static get states() { return {
|
|
147
|
+
"ignored": {}
|
|
148
|
+
}; }
|
|
149
|
+
}
|
|
150
|
+
function useCheckboxFieldDemo(props) {
|
|
151
|
+
return deepmerge({
|
|
152
|
+
states: {
|
|
153
|
+
registrationFormState: {},
|
|
154
|
+
checked: false,
|
|
155
|
+
},
|
|
156
|
+
callbacks: {
|
|
157
|
+
setChecked: () => { },
|
|
158
|
+
},
|
|
159
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
160
|
+
}
|
package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { PortalRegistrationFormView, } from "./sqm-portal-registration-form-view";
|
|
3
3
|
export default {
|
|
4
|
-
title: "Components/Microsite Register",
|
|
4
|
+
title: "Components/Microsite Register Form New",
|
|
5
5
|
};
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
states: {
|
|
@@ -96,6 +96,10 @@ export const FieldsHidden = () => {
|
|
|
96
96
|
} }));
|
|
97
97
|
};
|
|
98
98
|
export const SlottedInputs = () => (h(PortalRegistrationFormView, Object.assign({}, slottedProps)));
|
|
99
|
+
export const RegisterWithMarketingEmailsCheckbox = () => (h(PortalRegistrationFormView, Object.assign({}, defaultProps, { content: {
|
|
100
|
+
...defaultProps.content,
|
|
101
|
+
emailOptIn: (h("sqm-checkbox-field", { checkboxLabel: "I would like to receive marketing and promotional emails for this referral program" })),
|
|
102
|
+
} })));
|
|
99
103
|
export const TermsAndConditions = () => (h(PortalRegistrationFormView, Object.assign({}, defaultProps, { content: {
|
|
100
104
|
...defaultProps.content,
|
|
101
105
|
terms: (h("p", null,
|
package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js
CHANGED
|
@@ -64,7 +64,6 @@ export function PortalRegistrationFormView(props) {
|
|
|
64
64
|
}
|
|
65
65
|
: [])))),
|
|
66
66
|
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
67
|
-
content.passwordField,
|
|
68
67
|
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.disabled), required: true }, (((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.confirmPassword) ? {
|
|
69
68
|
value: (_q = (_p = states.registrationFormState) === null || _p === void 0 ? void 0 : _p.initialData) === null || _q === void 0 ? void 0 : _q.confirmPassword,
|
|
70
69
|
}
|
|
@@ -73,6 +72,7 @@ export function PortalRegistrationFormView(props) {
|
|
|
73
72
|
helpText: ((_u = (_t = states.registrationFormState) === null || _t === void 0 ? void 0 : _t.validationErrors) === null || _u === void 0 ? void 0 : _u.confirmPassword) || content.requiredFieldErrorMessage,
|
|
74
73
|
}
|
|
75
74
|
: [])))),
|
|
75
|
+
content.emailOptIn,
|
|
76
76
|
content.terms,
|
|
77
77
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
78
78
|
h("sl-button", { submit: true, loading: states.loading, disabled: (_v = states.registrationFormState) === null || _v === void 0 ? void 0 : _v.disabled, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js
CHANGED
|
@@ -6,7 +6,7 @@ import { PortalRegistrationFormView, } from "./sqm-portal-registration-form-view
|
|
|
6
6
|
import { usePortalRegistrationForm } from "./usePortalRegistrationForm";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Microsite Registration
|
|
9
|
-
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"}]
|
|
9
|
+
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"},{"name":"emailOptIn","title":"Email Opt-in Fields"}]
|
|
10
10
|
*/
|
|
11
11
|
export class PortalRegistrationForm {
|
|
12
12
|
constructor() {
|
|
@@ -141,6 +141,7 @@ export class PortalRegistrationForm {
|
|
|
141
141
|
secondaryButton: (h("slot", { name: "secondaryButton" },
|
|
142
142
|
h("sl-button", { type: "text", disabled: states.loading, onClick: () => navigation.push(states.loginPath) }, this.loginLabel))),
|
|
143
143
|
terms: h("slot", { name: "terms" }),
|
|
144
|
+
emailOptIn: h("slot", { name: "emailOptIn" }),
|
|
144
145
|
emailLabel: this.emailLabel,
|
|
145
146
|
passwordLabel: this.passwordLabel,
|
|
146
147
|
submitLabel: this.submitLabel,
|
|
@@ -698,7 +699,7 @@ export class PortalRegistrationForm {
|
|
|
698
699
|
"mutable": false,
|
|
699
700
|
"complexType": {
|
|
700
701
|
"original": "DemoData<PortalRegistrationFormViewProps>",
|
|
701
|
-
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
|
|
702
|
+
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; emailOptIn?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
|
|
702
703
|
"references": {
|
|
703
704
|
"DemoData": {
|
|
704
705
|
"location": "import",
|
|
@@ -25,6 +25,7 @@ import * as SidebarItem from "../sqm-navigation-sidebar-item/SidebarItem.stories
|
|
|
25
25
|
import * as NavigationSidebar from "../sqm-navigation-sidebar/NavigationSidebar.stories";
|
|
26
26
|
import * as PortalLogin from "../sqm-portal-login/PortalLogin.stories";
|
|
27
27
|
import * as PortalRegister from "../sqm-portal-register/PortalRegister.stories";
|
|
28
|
+
import * as NewPortalRegistrationForm from "../sqm-portal-registration-form/PortalRegistrationForm.stories";
|
|
28
29
|
import * as PortalForgotPassword from "../sqm-portal-forgot-password/PortalForgotPassword.stories";
|
|
29
30
|
import * as PortalEmailVerification from "../sqm-portal-email-verification/PortalEmailVerification.stories";
|
|
30
31
|
import * as PortalResetPassword from "../sqm-portal-reset-password/PortalResetPassword.stories";
|
|
@@ -47,6 +48,7 @@ import * as Hero from "../sqm-hero/Hero.stories";
|
|
|
47
48
|
import * as ReferralIframe from "../sqm-referral-iframe/ReferralIframe.stories";
|
|
48
49
|
import * as NameFields from "../sqm-name-fields/NameFields.stories";
|
|
49
50
|
import * as CheckboxField from "../sqm-checkbox-field/CheckboxField.stories";
|
|
51
|
+
import * as MarketingEmailsCheckbox from "../sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories";
|
|
50
52
|
import * as UseCheckboxField from "../sqm-checkbox-field/UseCheckboxField.stories";
|
|
51
53
|
import * as DropdownField from "../sqm-dropdown-field/DropdownField.stories";
|
|
52
54
|
import * as UseDropdownField from "../sqm-dropdown-field/UseDropdownField.stories";
|
|
@@ -83,10 +85,6 @@ import * as BankingInfoForm from "../tax-and-cash/BankingForm.stories";
|
|
|
83
85
|
import * as InvoiceTable from "../sqm-invoice-table/InvoiceTable.stories";
|
|
84
86
|
import * as InvoiceTableCells from "../sqm-invoice-table/InvoiceTableCell.stories";
|
|
85
87
|
import * as UseInvoiceTableCells from "../sqm-invoice-table/UseInvoiceTable.stories";
|
|
86
|
-
import * as WidgetEmailVerification from "../sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories";
|
|
87
|
-
import * as WidgetCodeVerification from "../sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories";
|
|
88
|
-
import * as PayoutButtonScroll from "../sqm-payout-button-scroll/PayoutButtonScroll.stories";
|
|
89
|
-
import * as PayoutStatusAlert from "../tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories";
|
|
90
88
|
import * as Themes from "./Themes";
|
|
91
89
|
import { CucumberAddon } from "./CucumberAddon";
|
|
92
90
|
import { HookStoryAddon } from "./HookStoryAddon";
|
|
@@ -142,6 +140,7 @@ const stories = [
|
|
|
142
140
|
ReferralIframe,
|
|
143
141
|
NameFields,
|
|
144
142
|
CheckboxField,
|
|
143
|
+
MarketingEmailsCheckbox,
|
|
145
144
|
DropdownField,
|
|
146
145
|
InputField,
|
|
147
146
|
RewardExchangeList,
|
|
@@ -175,10 +174,7 @@ const stories = [
|
|
|
175
174
|
TaxFormSlots,
|
|
176
175
|
PayoutDetailsCard,
|
|
177
176
|
BankingInfoForm,
|
|
178
|
-
|
|
179
|
-
WidgetCodeVerification,
|
|
180
|
-
PayoutButtonScroll,
|
|
181
|
-
PayoutStatusAlert,
|
|
177
|
+
NewPortalRegistrationForm,
|
|
182
178
|
];
|
|
183
179
|
/**
|
|
184
180
|
* For internal documentation
|
|
@@ -4,7 +4,6 @@ export default {
|
|
|
4
4
|
};
|
|
5
5
|
const bankingFormProps = {
|
|
6
6
|
states: {
|
|
7
|
-
showVerification: false,
|
|
8
7
|
hideSteps: false,
|
|
9
8
|
disabled: false,
|
|
10
9
|
loading: false,
|
|
@@ -21,7 +20,6 @@ const bankingFormProps = {
|
|
|
21
20
|
loadingError: false,
|
|
22
21
|
},
|
|
23
22
|
callbacks: {
|
|
24
|
-
onVerification: () => { },
|
|
25
23
|
onSubmit: async () => console.log("Submit"),
|
|
26
24
|
setPaymentMethodChecked: () => { },
|
|
27
25
|
setPaymentScheduleChecked: () => { },
|