@saasquatch/mint-components 2.0.0-8 → 2.0.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/{IndirectTaxDetailsView-e5f70b8b.js → IndirectTaxDetailsView-3e88d710.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-646dec73.js} +13 -9
- 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/{global-8bba5b3a.js → global-39cb0afc.js} +745 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +82 -46
- 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} +1334 -51
- package/dist/cjs/sqm-code-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- 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-view-340acad0.js → sqm-lead-checkbox-field-view-f1c46d4b.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-06ed3632.js → sqm-lead-input-field-view-6d388092.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.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 +3 -3
- 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-email-verification-view-5518eb0d.js → sqm-portal-email-verification-view-6b17e545.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- 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-view-615e6975.js → sqm-portal-profile-view-845367bb.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +49 -29
- 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/{useLeadFormState-fd0445f9.js → useLeadFormState-b355759b.js} +1 -1
- package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
- package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
- package/dist/cjs/{utils-83d125fa.js → utils-ac82f977.js} +1 -1
- 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-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-reward-exchange-list/sqm-reward-exchange-list.js +1 -34
- 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-widget-verification/sqm-widget-verification-controller.js +10 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +10 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +48 -2
- 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-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -1
- 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/global/global.js +14 -3
- package/dist/collection/global/styles.v1.js +733 -0
- package/dist/collection/global/styles.v1.ts +735 -0
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +2 -2
- package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +13 -9
- 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/{global-1099f20d.js → global-943536b9.js} +745 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +75 -39
- 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} +1333 -51
- package/dist/esm/sqm-code-verification.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- 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-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.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 +3 -3
- 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-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- 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-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +3 -4
- package/dist/esm/sqm-stencilbook.entry.js +49 -29
- 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/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
- 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/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.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/{global-1099f20d.js → global-943536b9.js} +4 -4
- 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-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.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-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.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-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.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/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.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/esm-es5/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
- package/dist/mint-components/global/styles.v1.ts +735 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-06b4fa6a.entry.js +273 -0
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-aa08457e.system.js → p-08b373b9.system.js} +1 -1
- package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-0ac84da5.system.entry.js} +1 -1
- package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
- package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-0cb51ea1.system.entry.js} +1 -1
- package/dist/mint-components/p-11927355.system.entry.js +1 -0
- package/dist/mint-components/{p-61157c6a.entry.js → p-124af9d6.entry.js} +1 -1
- package/dist/mint-components/{p-d4edce6c.system.entry.js → p-19de8749.system.entry.js} +1 -1
- package/dist/mint-components/{p-7b8cd420.system.entry.js → p-1e406d04.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
- package/dist/mint-components/p-20f8e7ca.entry.js +99 -0
- package/dist/mint-components/{p-6d5bd95a.js → p-252465eb.js} +1 -1
- package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
- package/dist/mint-components/{p-3bf5cd51.entry.js → p-2fd2f22b.entry.js} +1 -1
- package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
- package/dist/mint-components/p-37ef2ce1.entry.js +1 -0
- package/dist/mint-components/{p-aa8c6332.js → p-38c4653d.js} +1 -1
- package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
- package/dist/mint-components/{p-511c87ce.system.entry.js → p-3fa99fea.system.entry.js} +1 -1
- 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-51a6a779.js +1 -0
- package/dist/mint-components/p-53b49d27.system.js +1 -0
- package/dist/mint-components/{p-2623b232.system.entry.js → p-54c250de.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ffc5bce.js → p-58b668a0.js} +4 -4
- package/dist/mint-components/{p-f370bddc.entry.js → p-58f4bf7a.entry.js} +1 -1
- package/dist/mint-components/{p-4c811d12.entry.js → p-5a3e2966.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-06f13966.system.entry.js → p-5bb24669.system.entry.js} +1 -1
- package/dist/mint-components/p-6333265f.system.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-c85f204b.system.js → p-6b55555b.system.js} +1 -1
- package/dist/mint-components/{p-f0eae4e6.system.js → p-6dd86003.system.js} +1 -1
- package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f5c49a83.entry.js → p-735c9185.entry.js} +2 -2
- 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-0caad0db.entry.js → p-8677688c.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-4250b06d.entry.js → p-8e913ce5.entry.js} +1 -1
- package/dist/mint-components/p-8ea16fb6.js +1233 -0
- package/dist/mint-components/{p-ed16b35a.js → p-946f8a2c.js} +1 -1
- package/dist/mint-components/{p-0d21194c.entry.js → p-94ae86fc.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-9ba07029.system.entry.js +1 -0
- package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
- package/dist/mint-components/{p-cb845a3a.system.entry.js → p-9f57e731.system.entry.js} +1 -1
- package/dist/mint-components/{p-00bc7211.js → p-a1b3f61a.js} +1 -1
- package/dist/mint-components/{p-74f43a08.system.js → p-a275725a.system.js} +1 -1
- package/dist/mint-components/{p-22a9114f.system.entry.js → p-a30d7069.system.entry.js} +1 -1
- package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.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-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-c994512c.system.js → p-b5fd4fb6.system.js} +1 -1
- package/dist/mint-components/{p-47c83656.entry.js → p-bef123be.entry.js} +1 -1
- package/dist/mint-components/{p-79a3344f.js → p-c44b3725.js} +1 -1
- package/dist/mint-components/p-c4f275db.system.entry.js +1 -0
- package/dist/mint-components/p-c5f92183.system.entry.js +1 -0
- package/dist/mint-components/{p-9fed62f8.system.entry.js → p-c67ffd25.system.entry.js} +1 -1
- package/dist/mint-components/{p-60465a2d.system.js → p-c90fcb02.system.js} +1 -1
- package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
- package/dist/mint-components/{p-7a268047.js → p-d181b17c.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-db64c957.entry.js +33 -0
- package/dist/mint-components/{p-4fed8672.js → p-dbb79392.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-b1eafaae.entry.js → p-e4017ba5.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-ad4348c3.system.js → p-ee290b30.system.js} +1 -1
- package/dist/mint-components/{p-c62b277d.system.js → p-ee3d2ae4.system.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-e0a724dd.system.js → p-f3ccba80.system.js} +19 -19
- package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/mint-components/{p-b703c89f.system.entry.js → p-fc86ba65.system.entry.js} +1 -1
- 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-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-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 +8 -0
- 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 +48 -12
- package/dist/types/global/styles.v1.d.ts +2 -0
- 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-13e66b37.system.entry.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-3c09c632.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-46b88149.entry.js +0 -273
- package/dist/mint-components/p-4b9976cc.system.js +0 -1
- package/dist/mint-components/p-5853132a.system.entry.js +0 -1
- package/dist/mint-components/p-60f1cca2.system.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-967a9040.system.js +0 -1
- package/dist/mint-components/p-a0730259.entry.js +0 -99
- 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-cf22cf56.entry.js +0 -1
- package/dist/mint-components/p-db1a0db1.js +0 -1233
- 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/dist/collection/global/{styles.js → styles.v2.js} +0 -0
- /package/dist/collection/global/{styles.ts → styles.v2.ts} +0 -0
- /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
- /package/dist/mint-components/global/{styles.ts → styles.v2.ts} +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
- /package/dist/types/global/{styles.d.ts → styles.v2.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { l, k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, t as Pn, F as Fn, i as isDemo, p as En } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { g as getProps } from './utils-
|
|
6
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
9
9
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
|
|
2
2
|
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { _ } from './index.module-c9811a48.js';
|
|
4
|
-
import { g as getProps } from './utils-
|
|
4
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|
|
7
7
|
const debug = browser("sq:useRouter");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, p as En } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { g as getProps } from './utils-
|
|
6
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
9
9
|
import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE } from './keys-406491dc.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import './index.module-c9811a48.js';
|
|
5
|
-
import { g as getProps } from './utils-
|
|
5
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-
|
|
7
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
|
|
8
8
|
|
|
9
9
|
function EmptyStateView(props) {
|
|
10
10
|
const { emptyStateHeader, emptyStateImage, emptyStateText, supportText, missingFeature = "", } = props;
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
|
|
4
|
-
const sqmFormMessageCss = "sl-alert::part(base){border:var(--sqm-border-thickness) solid;border-radius:var(--sqm-border-radius-normal);font-family:var(--sqm-primary-font)}.Error::part(base){color:var(--sqm-danger-color-text);background-color:var(--sqm-danger-color-background);border-color:var(--sqm-danger-color-border);font-size:14px}.Error #icon{color:var(--sqm-danger-color-icon);font-size:24px}.Warning::part(base){color:var(--sqm-warning-color-text);background-color:var(--sqm-warning-color-background);border-color:var(--sqm-warning-color-border)}.Warning #icon{color:var(--sqm-warning-color-icon);font-size:24px}.Success::part(base){color:var(--sqm-success-color-text);background-color:var(--sqm-success-color-background);border-color:var(--sqm-success-color-border)}.Success #icon{color:var(--sqm-success-color-icon);font-size:24px}.Info::part(base){color:var(--sqm-informative-color-text);background-color:var(--sqm-informative-color-background);border-color:var(--sqm-informative-color-border)}.Info #icon{color:var(--sqm-informative-color-icon);font-size:24px}::slotted(*){margin:0}::slotted(*[part=alert-title]){font-size:16px;font-weight:bold}::slotted(*[part=alert-description]),::slotted(*[part=erroralert-text]){font-size:14px}";
|
|
4
|
+
const sqmFormMessageCss = "sl-alert::part(base){border:var(--sqm-border-thickness) solid;border-radius:var(--sqm-border-radius-normal);font-family:var(--sqm-primary-font)}.Error::part(base){color:var(--sqm-danger-color-text);background-color:var(--sqm-danger-color-background);border-color:var(--sqm-danger-color-border);font-size:14px}.Error #icon{color:var(--sqm-danger-color-icon);font-size:24px}.Warning::part(base){color:var(--sqm-warning-color-text);background-color:var(--sqm-warning-color-background);border-color:var(--sqm-warning-color-border)}.Warning #icon{color:var(--sqm-warning-color-icon);font-size:24px}.Success::part(base){color:var(--sqm-success-color-text);background-color:var(--sqm-success-color-background);border-color:var(--sqm-success-color-border)}.Success #icon{color:var(--sqm-success-color-icon);font-size:24px}.Info::part(base){color:var(--sqm-informative-color-text);background-color:var(--sqm-informative-color-background);border-color:var(--sqm-informative-color-border)}.Info #icon{color:var(--sqm-informative-color-icon);font-size:24px}.Transparent::part(base){background-color:transparent;border:none;color:var(--sqm-text);margin-left:-20px}::slotted(*){margin:0}::slotted(*[part=alert-title]){font-size:16px;font-weight:bold}::slotted(*[part=alert-description]),::slotted(*[part=erroralert-text]){font-size:14px}";
|
|
5
5
|
|
|
6
6
|
const FormMessage = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.ignored = true;
|
|
10
|
+
/**
|
|
11
|
+
* Render the alert with transparent styles
|
|
12
|
+
*/
|
|
13
|
+
this.transparent = false;
|
|
10
14
|
h(this);
|
|
11
15
|
}
|
|
12
16
|
disconnectedCallback() { }
|
|
13
17
|
render() {
|
|
14
18
|
if (this.type === "error") {
|
|
15
|
-
return (h$1("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class:
|
|
19
|
+
return (h$1("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: `Error ${this.transparent ? "Transparent" : ""}`, type: "danger", open: true }, h$1("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }), h$1("slot", null)));
|
|
16
20
|
}
|
|
17
21
|
else if (this.type === "info") {
|
|
18
|
-
return (h$1("sl-alert", { id: "icon", exportparts: "base: infoalert-base, icon:infoalert-icon", class:
|
|
22
|
+
return (h$1("sl-alert", { id: "icon", exportparts: "base: infoalert-base, icon:infoalert-icon", class: `Info ${this.transparent ? "Transparent" : ""}`, type: "info", open: true }, h$1("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "info-circle"}` }), h$1("slot", null)));
|
|
19
23
|
}
|
|
20
24
|
else if (this.type === "warning") {
|
|
21
|
-
return (h$1("sl-alert", { exportparts: "base: warningalert-base, icon:warningalert-icon", class:
|
|
25
|
+
return (h$1("sl-alert", { exportparts: "base: warningalert-base, icon:warningalert-icon", class: `Warning ${this.transparent ? "Transparent" : ""}`, type: "warning", open: true }, h$1("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-triangle"}` }), h$1("slot", null)));
|
|
22
26
|
}
|
|
23
27
|
else {
|
|
24
|
-
return (h$1("sl-alert", { exportparts: "base: successalert-base, icon:successalert-icon", class:
|
|
28
|
+
return (h$1("sl-alert", { exportparts: "base: successalert-base, icon:successalert-icon", class: `Success ${this.transparent ? "Transparent" : ""}`, type: "success", open: true }, h$1("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "check2-circle"}` }), h$1("slot", null)));
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
31
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
|
-
import { l as luxonLocale } from './utils-
|
|
3
|
+
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
4
4
|
import { l as luxon } from './luxon-bbf75a9d.js';
|
|
5
5
|
|
|
6
6
|
const InvoiceTableDataCell = class {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-943536b9.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { a as getMissingProps, g as getProps } from './utils-
|
|
6
|
+
import { a as getMissingProps, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
9
|
-
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-
|
|
8
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-9a652a42.js';
|
|
9
|
+
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-adcc49c0.js';
|
|
10
10
|
|
|
11
11
|
function useLeadCheckboxField() {
|
|
12
12
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-943536b9.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { g as getProps, a as getMissingProps } from './utils-
|
|
6
|
+
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
10
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
9
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-9a652a42.js';
|
|
10
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-c0b5aed5.js';
|
|
11
11
|
|
|
12
12
|
function useLeadInputField() {
|
|
13
13
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { d as dist, J, w as wn, b as setUserIdentity, i as isDemo } from './index.module-c9811a48.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
-
import { g as getProps } from './utils-
|
|
5
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-f21e54e3.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { k as kn, i as isDemo } from './index.module-c9811a48.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
-
import { g as getProps } from './utils-
|
|
5
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-5a452423.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { n as h$1, k as useState } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { F as Fn, i as isDemo, d as dist, H, J, B, w as wn, $ as $e } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { g as getProps } from './utils-
|
|
6
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, u as useReferralCodes } from './useReferralCodes-c2e809cf.js';
|
|
9
9
|
import './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
|
|
|
12
12
|
const style = {
|
|
13
13
|
Container: {
|
|
@@ -2,7 +2,7 @@ import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
|
2
2
|
import { i as d, k as useState, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
-
import { g as getProps } from './utils-
|
|
5
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
8
8
|
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-24d594ea.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { B } from './index.module-c9811a48.js';
|
|
4
|
-
import { g as getProps } from './utils-
|
|
4
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
7
7
|
const { states, callbacks } = props;
|
package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js}
RENAMED
|
@@ -36,7 +36,7 @@ function PortalContainerView(props, children) {
|
|
|
36
36
|
maxWidth: props.maxWidth,
|
|
37
37
|
margin: props.center && "auto",
|
|
38
38
|
justifyContent: props.justifyContent,
|
|
39
|
-
backgroundColor: props.backgroundColor || "
|
|
39
|
+
backgroundColor: props.backgroundColor || "var(--sqm-portal-background)",
|
|
40
40
|
},
|
|
41
41
|
};
|
|
42
42
|
const vanillaStyle = `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-943536b9.js';
|
|
3
3
|
import { k as useState, m as useRef, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { l as ln, n as nn, J, j as jn, u as useCallback, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-8ceb6302.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -3,12 +3,12 @@ import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
|
3
3
|
import { i as isDemo, j as jn } from './index.module-c9811a48.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import './utils-
|
|
6
|
+
import './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
10
10
|
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
11
|
-
import { u as usePortalLogin } from './usePortalLogin-
|
|
11
|
+
import { u as usePortalLogin } from './usePortalLogin-f95bbc67.js';
|
|
12
12
|
|
|
13
13
|
const PortalGoogleLogin = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -7,7 +7,7 @@ import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
9
|
import { a as useRegistrationForm } from './useRegistrationFormState-24d594ea.js';
|
|
10
|
-
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-
|
|
10
|
+
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-9e97d8b4.js';
|
|
11
11
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-8bdc3804.js';
|
|
12
12
|
import './AsYouType-46f67d0d.js';
|
|
13
13
|
import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-1eb3cd72.js';
|
|
@@ -71,7 +71,6 @@ function jwtDecode(token, options) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
function usePortalGoogleRegistrationForm(props) {
|
|
74
|
-
const [emailValidationError, setEmailValidationError] = useState(null);
|
|
75
74
|
const [registrationFormState, setRegistrationFormState] = useRegistrationForm();
|
|
76
75
|
const [showRegistrationForm, setShowRegistrationForm] = useState({
|
|
77
76
|
mode: "base",
|
|
@@ -79,30 +78,40 @@ function usePortalGoogleRegistrationForm(props) {
|
|
|
79
78
|
const handleEmailSubmit = async (event) => {
|
|
80
79
|
const formControls = event.target.getFormControls();
|
|
81
80
|
let formData = {};
|
|
82
|
-
let
|
|
81
|
+
let validationErrors = {};
|
|
83
82
|
formControls.forEach((control) => {
|
|
84
|
-
if (!control.name
|
|
83
|
+
if (!control.name)
|
|
85
84
|
return;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
const key = control.name;
|
|
86
|
+
const value = control.value;
|
|
87
|
+
jsonpointer.set(formData, key, value);
|
|
88
|
+
if (control.required && !value) {
|
|
89
|
+
jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
|
|
90
|
+
}
|
|
89
91
|
if (typeof control.validationError === "function") {
|
|
90
92
|
const validate = control.validationError;
|
|
91
93
|
const validationError = validate({
|
|
92
94
|
control,
|
|
93
|
-
key
|
|
94
|
-
value
|
|
95
|
+
key,
|
|
96
|
+
value,
|
|
95
97
|
});
|
|
96
98
|
if (validationError)
|
|
97
|
-
|
|
99
|
+
jsonpointer.set(validationErrors, key, validationError);
|
|
98
100
|
}
|
|
99
101
|
});
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
+
if (Object.keys(validationErrors).length) {
|
|
103
|
+
// early return for validation errors
|
|
104
|
+
setRegistrationFormState({
|
|
105
|
+
...registrationFormState,
|
|
106
|
+
loading: false,
|
|
107
|
+
error: "",
|
|
108
|
+
validationErrors,
|
|
109
|
+
});
|
|
102
110
|
return;
|
|
103
111
|
}
|
|
104
112
|
setRegistrationFormState({
|
|
105
113
|
...registrationFormState,
|
|
114
|
+
validationErrors: {},
|
|
106
115
|
initialData: {
|
|
107
116
|
...registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.initialData,
|
|
108
117
|
...formData,
|
|
@@ -132,8 +141,9 @@ function usePortalGoogleRegistrationForm(props) {
|
|
|
132
141
|
}
|
|
133
142
|
};
|
|
134
143
|
return {
|
|
144
|
+
registrationFormState,
|
|
135
145
|
showRegistrationForm,
|
|
136
|
-
|
|
146
|
+
validationErrors: registrationFormState.validationErrors,
|
|
137
147
|
handleGoogleInit,
|
|
138
148
|
handleEmailSubmit,
|
|
139
149
|
};
|
|
@@ -289,7 +299,7 @@ const PortalGoogleRegistrationForm = class {
|
|
|
289
299
|
};
|
|
290
300
|
const sheet = createStyleSheet(styles);
|
|
291
301
|
const styleString = sheet.toString();
|
|
292
|
-
const { handleGoogleInit, handleEmailSubmit, showRegistrationForm,
|
|
302
|
+
const { handleGoogleInit, handleEmailSubmit, showRegistrationForm, validationErrors, } = isDemo() ? useGoogleDemo(this) : usePortalGoogleRegistrationForm(this);
|
|
293
303
|
const content = {
|
|
294
304
|
formData: h$1("slot", { name: "formData" }),
|
|
295
305
|
googleButton: (h$1("sqm-google-sign-in", { text: this.googleButtonText, onInitComplete: handleGoogleInit })),
|
|
@@ -314,16 +324,14 @@ const PortalGoogleRegistrationForm = class {
|
|
|
314
324
|
};
|
|
315
325
|
if (showRegistrationForm.mode === "base") {
|
|
316
326
|
return (h$1(BaseRegistrationFormView, { states: {
|
|
317
|
-
|
|
327
|
+
validationErrors,
|
|
318
328
|
}, callbacks: { handleEmailSubmit }, content: content }));
|
|
319
329
|
}
|
|
320
330
|
return (h$1(PortalRegistrationFormView, { states: {
|
|
321
331
|
...states,
|
|
322
332
|
emailDisabled: true,
|
|
323
333
|
hidePasswords: showRegistrationForm.mode === "google",
|
|
324
|
-
}, callbacks: callbacks, content:
|
|
325
|
-
...content,
|
|
326
|
-
}, refs: refs }));
|
|
334
|
+
}, callbacks: callbacks, content: content, refs: refs }));
|
|
327
335
|
}
|
|
328
336
|
};
|
|
329
337
|
function useRegisterDemo(props) {
|
|
@@ -359,7 +367,7 @@ function useGoogleDemo(props) {
|
|
|
359
367
|
mode: "base",
|
|
360
368
|
});
|
|
361
369
|
return cjs({
|
|
362
|
-
|
|
370
|
+
validationErrors: {},
|
|
363
371
|
handleEmailSubmit: () => setShowRegistrationForm({ mode: "manual" }),
|
|
364
372
|
showRegistrationForm,
|
|
365
373
|
handleGoogleInit: () => setShowRegistrationForm({ mode: "google" }),
|
package/dist/esm/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-943536b9.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { g as getProps } from './utils-
|
|
6
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-2ec60449.js';
|
|
10
10
|
import { i as isEmpty } from './utilities-72c07b09.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
@@ -3,7 +3,7 @@ import { k as useState, f as useEffect, n as h } from './dom-context-hooks.modul
|
|
|
3
3
|
import { e as Je, T as Te, j as jn, i as isDemo } from './index.module-c9811a48.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { s as sanitizeUrlPath } from './utils-
|
|
6
|
+
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { J, f as an, j as jn, b as setUserIdentity, i as isDemo } from './index.module-c9811a48.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
-
import { s as sanitizeUrlPath, g as getProps } from './utils-
|
|
5
|
+
import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
3
|
import { d as dist, H, J, B, F as Fn, w as wn, $ as $e, i as isDemo } from './index.module-c9811a48.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
-
import { g as getProps } from './utils-
|
|
5
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-c2e809cf.js';
|
|
8
8
|
import './ErrorView-bbf0a042.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } 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 } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-e43d310f.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-943536b9.js';
|
|
3
3
|
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } 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 } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-e43d310f.js';
|
|
@@ -979,8 +979,7 @@ const RewardTableStatusCell = class {
|
|
|
979
979
|
: rewardStatus === "DENIED"
|
|
980
980
|
? this.deniedText
|
|
981
981
|
: null;
|
|
982
|
-
|
|
983
|
-
const getBadgeCSSClass = (badgeType) => {
|
|
982
|
+
const getBadgeCSSClass = () => {
|
|
984
983
|
switch (rewardStatus) {
|
|
985
984
|
case "AVAILABLE":
|
|
986
985
|
return sheet$1.classes.SuccessBadge;
|