@saasquatch/mint-components 1.11.0 → 1.11.1-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-c3e91cee.js → ShadowViewAddon-2c6026c3.js} +137 -212
- package/dist/cjs/copy-text-view-a22ad7e7.js +173 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +3 -3
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +6 -5
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +316 -0
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +241 -84
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +30 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +85 -0
- package/dist/collection/components/sqm-pagination/usePagination.js +8 -0
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +315 -0
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +51 -0
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +35 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +59 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +99 -0
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +75 -0
- package/dist/collection/components/sqm-share-button/useShareButton.js +15 -16
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +5 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
- package/dist/collection/components/views/copy-text-view.js +16 -2
- package/dist/esm/{ShadowViewAddon-e012b2aa.js → ShadowViewAddon-5bb2b69a.js} +140 -214
- package/dist/esm/copy-text-view-bf55abeb.js +168 -0
- package/dist/esm/{global-04c7d3b5.js → global-b89b6edc.js} +1 -1
- package/dist/esm/{index.module-def4aec5.js → index.module-f122af7b.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-12fd274a.js → re-render-c64289f3.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +9 -9
- package/dist/esm/sqm-big-stat_38.entry.js +10 -9
- package/dist/esm/sqm-close-button.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-09cc28d6.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-14114804.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +310 -0
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-ced567c9.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-d72dd5ac.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +4 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +4 -4
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +234 -77
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-37daf533.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-9d4cb797.js} +2 -2
- package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-42f99ea2.js} +3 -3
- package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-53c71782.js} +1 -1
- package/dist/esm/{utilities-3f5bba22.js → utilities-18d10876.js} +1 -1
- package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-bf154727.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-5bb2b69a.js +1 -0
- package/dist/esm-es5/copy-text-view-bf55abeb.js +1 -0
- package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-12793040.js} +1 -1
- package/dist/esm-es5/{global-04c7d3b5.js → global-b89b6edc.js} +1 -1
- package/dist/esm-es5/{index.module-def4aec5.js → index.module-f122af7b.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-12fd274a.js → re-render-c64289f3.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_38.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-b24c708b.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 → sqm-invoice-table-view-09cc28d6.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-14114804.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-pagination_3.entry.js +1 -0
- 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-4307c992.js → sqm-portal-email-verification-view-ced567c9.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-95cd454f.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-ffe955c8.js → sqm-portal-profile-view-d72dd5ac.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.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-f1454d43.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-3739f523.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/{useChildElements-32e1bda1.js → useChildElements-37daf533.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-9d4cb797.js} +1 -1
- package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-42f99ea2.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-53c71782.js +1 -0
- package/dist/esm-es5/{utilities-3f5bba22.js → utilities-18d10876.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-a8f7cb95.js → p-00be5090.js} +1 -1
- package/dist/mint-components/{p-7049e9b0.entry.js → p-01434e4a.entry.js} +1 -1
- package/dist/mint-components/p-0161f5da.entry.js +13 -0
- package/dist/mint-components/{p-c5d2e4ba.js → p-02f6cda4.js} +1 -1
- package/dist/mint-components/{p-4e48267b.system.js → p-03a647c2.system.js} +1 -1
- package/dist/mint-components/{p-509e29e6.js → p-0806343b.js} +1 -1
- package/dist/mint-components/{p-3d4656bb.system.js → p-0f028514.system.js} +1 -1
- package/dist/mint-components/{p-b370fca8.system.js → p-1099290c.system.js} +1 -1
- package/dist/mint-components/{p-d8d2de11.entry.js → p-110dddfe.entry.js} +1 -1
- package/dist/mint-components/{p-137ea86e.entry.js → p-12c56ba6.entry.js} +1 -1
- package/dist/mint-components/{p-5cac90e8.system.entry.js → p-14dac608.system.entry.js} +1 -1
- package/dist/mint-components/{p-d49e2f7a.js → p-15dee492.js} +1 -1
- package/dist/mint-components/{p-c5577dd7.system.js → p-18a19cb5.system.js} +1 -1
- package/dist/mint-components/{p-711ba77e.system.entry.js → p-18a7f543.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9050eb0.entry.js → p-1b1d10e5.entry.js} +1 -1
- package/dist/mint-components/{p-3ec16698.entry.js → p-1c6e4a5f.entry.js} +2 -2
- package/dist/mint-components/{p-32d1d162.entry.js → p-1c710e16.entry.js} +1 -1
- package/dist/mint-components/{p-01cfff8a.system.entry.js → p-1ce4fa30.system.entry.js} +1 -1
- package/dist/mint-components/{p-eaada4da.js → p-1df19ea2.js} +1 -1
- package/dist/mint-components/{p-02424350.system.js → p-21d4f6ce.system.js} +1 -1
- package/dist/mint-components/{p-733825fa.system.entry.js → p-22de9f73.system.entry.js} +1 -1
- package/dist/mint-components/{p-b4c52c5a.entry.js → p-246a2827.entry.js} +2 -2
- package/dist/mint-components/{p-8e907ac7.system.entry.js → p-26306ac4.system.entry.js} +1 -1
- package/dist/mint-components/p-2e16db11.entry.js +1 -0
- package/dist/mint-components/{p-1b9e6fc6.js → p-32cf8417.js} +1 -1
- package/dist/mint-components/{p-ce621bcc.js → p-3373d84e.js} +1 -1
- package/dist/mint-components/{p-56f14840.entry.js → p-3cc5474d.entry.js} +1 -1
- package/dist/mint-components/{p-7f088154.entry.js → p-41499327.entry.js} +1 -1
- package/dist/mint-components/{p-44787d6e.system.js → p-43a990b6.system.js} +1 -1
- package/dist/mint-components/{p-59fe4ad1.system.js → p-46ca288c.system.js} +1 -1
- package/dist/mint-components/{p-9f0629ba.system.entry.js → p-476182e7.system.entry.js} +1 -1
- package/dist/mint-components/p-4856b234.system.entry.js +1 -0
- package/dist/mint-components/{p-ec41d6a4.entry.js → p-48b7d703.entry.js} +6 -6
- package/dist/mint-components/p-494e407e.entry.js +1 -0
- package/dist/mint-components/{p-a51533cb.system.js → p-523ed056.system.js} +1 -1
- package/dist/mint-components/{p-eba44835.system.entry.js → p-53ff8bd0.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d8c53ac.system.js → p-55588b46.system.js} +1 -1
- package/dist/mint-components/{p-3ed71bef.system.js → p-59c141a2.system.js} +1 -1
- package/dist/mint-components/p-5b7e2d53.entry.js +1 -0
- package/dist/mint-components/p-5c845bc2.system.entry.js +1 -0
- package/dist/mint-components/p-5d37482d.entry.js +1 -0
- package/dist/mint-components/p-5fc8d87c.system.js +1 -0
- package/dist/mint-components/p-646d302a.system.js +1 -0
- package/dist/mint-components/p-6628bc0e.system.js +1 -0
- package/dist/mint-components/{p-4502ed11.system.entry.js → p-67846dce.system.entry.js} +1 -1
- package/dist/mint-components/p-6b0e6a6c.js +1 -0
- package/dist/mint-components/{p-6cef104b.entry.js → p-6e62f207.entry.js} +1 -1
- package/dist/mint-components/{p-770368bc.system.js → p-6e7e8af6.system.js} +1 -1
- package/dist/mint-components/{p-3f385f47.entry.js → p-73c6b26d.entry.js} +9 -9
- package/dist/mint-components/{p-c84659a3.system.js → p-73decce7.system.js} +1 -1
- package/dist/mint-components/{p-58ef25d3.system.entry.js → p-7962ab58.system.entry.js} +1 -1
- package/dist/mint-components/{p-4edde470.entry.js → p-798ed3a2.entry.js} +1 -1
- package/dist/mint-components/{p-41a11a7f.js → p-8077e9c6.js} +1 -1
- package/dist/mint-components/{p-cf690d55.system.entry.js → p-82e09b8d.system.entry.js} +1 -1
- package/dist/mint-components/{p-fb93c962.js → p-855ae1b5.js} +1 -1
- package/dist/mint-components/p-89a760ea.js +1 -0
- package/dist/mint-components/{p-af062c8f.system.entry.js → p-8c97bfb1.system.entry.js} +1 -1
- package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-9288cca6.system.entry.js} +1 -1
- package/dist/mint-components/{p-1c857edb.entry.js → p-942d1c22.entry.js} +2 -2
- package/dist/mint-components/{p-86990110.entry.js → p-96cb9c17.entry.js} +1 -1
- package/dist/mint-components/{p-2ee2ebba.js → p-991c9787.js} +2 -2
- package/dist/mint-components/{p-8704937c.js → p-9c3d78e9.js} +1 -1
- package/dist/mint-components/{p-674a64fe.system.js → p-9deac406.system.js} +1 -1
- package/dist/mint-components/{p-1dd69917.system.entry.js → p-a1150633.system.entry.js} +1 -1
- package/dist/mint-components/{p-b5861974.system.entry.js → p-a474b0ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c310991.system.entry.js → p-acc93caa.system.entry.js} +1 -1
- package/dist/mint-components/{p-9df2fe24.entry.js → p-b0ce005d.entry.js} +2 -2
- package/dist/mint-components/{p-e5a0c50e.entry.js → p-b334bde8.entry.js} +2 -2
- package/dist/mint-components/p-b4eb9c46.entry.js +11 -0
- package/dist/mint-components/p-b5176703.entry.js +1 -0
- package/dist/mint-components/p-b71c0e2d.system.entry.js +1 -0
- package/dist/mint-components/{p-7d5e0645.system.js → p-bb6f6681.system.js} +1 -1
- package/dist/mint-components/p-bd4e9c2b.js +1 -0
- package/dist/mint-components/{p-ed095674.system.js → p-bf834367.system.js} +1 -1
- package/dist/mint-components/{p-07f675ab.system.entry.js → p-c1ba2ad0.system.entry.js} +1 -1
- package/dist/mint-components/p-c37137cd.js +2 -0
- package/dist/mint-components/{p-be4b748a.system.entry.js → p-c39f9dc1.system.entry.js} +1 -1
- package/dist/mint-components/p-c7ce2c1e.system.js +1 -0
- package/dist/mint-components/p-ca17d998.entry.js +1 -0
- package/dist/mint-components/{p-e8dde8f4.system.js → p-ce746af8.system.js} +1 -1
- package/dist/mint-components/{p-2dd67762.entry.js → p-cfbe2f86.entry.js} +1 -1
- package/dist/mint-components/{p-3223ba7b.entry.js → p-d3d281ff.entry.js} +1 -1
- package/dist/mint-components/p-d666b326.js +1 -0
- package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-d68ed4a6.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ea58025.system.entry.js → p-daba8cd2.system.entry.js} +1 -1
- package/dist/mint-components/p-dc41ff27.entry.js +1 -0
- package/dist/mint-components/{p-afd366ae.system.entry.js → p-de2a8fae.system.entry.js} +1 -1
- package/dist/mint-components/{p-8679ed9f.system.entry.js → p-e2bb72eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-4d233cd4.js → p-e41cb11f.js} +1 -1
- package/dist/mint-components/{p-bb00db59.js → p-ea88142c.js} +1 -1
- package/dist/mint-components/p-eb4e9efb.system.entry.js +1 -0
- package/dist/mint-components/{p-b6fc1227.system.entry.js → p-ec8a9e91.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b333fa8.system.entry.js → p-ecefeaa9.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8610d0c.js → p-ed161025.js} +1 -1
- package/dist/mint-components/p-f1ec1180.entry.js +1 -0
- package/dist/mint-components/{p-4df8f1d2.system.js → p-f44d88fa.system.js} +1 -1
- package/dist/mint-components/{p-35d84041.system.entry.js → p-f52c3aec.system.entry.js} +1 -1
- package/dist/mint-components/{p-aad11a68.entry.js → p-fae82751.entry.js} +1 -1
- package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-fb2c0ce4.system.entry.js} +1 -1
- package/dist/mint-components/{p-10685090.js → p-fec0ac31.js} +24 -24
- package/dist/mint-components/{p-7731f793.system.entry.js → p-ff41c804.system.entry.js} +1 -1
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +7 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +17 -0
- package/dist/types/components/sqm-pagination/usePagination.d.ts +15 -0
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +9 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +9 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +10 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +21 -0
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +59 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
- package/dist/types/components/views/copy-text-view.d.ts +2 -0
- package/dist/types/components.d.ts +170 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
- package/dist/mint-components/p-021a735d.entry.js +0 -1
- package/dist/mint-components/p-03494732.entry.js +0 -1
- package/dist/mint-components/p-0b9fa97f.js +0 -1
- package/dist/mint-components/p-10e89d0a.entry.js +0 -1
- package/dist/mint-components/p-51f517a2.js +0 -1
- package/dist/mint-components/p-5be235f9.entry.js +0 -1
- package/dist/mint-components/p-5f1c4160.system.entry.js +0 -1
- package/dist/mint-components/p-61eab172.js +0 -1
- package/dist/mint-components/p-76b2506e.system.entry.js +0 -1
- package/dist/mint-components/p-79191f88.entry.js +0 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
- package/dist/mint-components/p-91669312.entry.js +0 -1
- package/dist/mint-components/p-95771f79.system.js +0 -1
- package/dist/mint-components/p-a6a7dcaa.js +0 -1
- package/dist/mint-components/p-ce5afa40.entry.js +0 -1
- package/dist/mint-components/p-d495896f.system.entry.js +0 -1
- package/dist/mint-components/p-dd7ee007.system.js +0 -1
- package/dist/mint-components/p-e3735866.entry.js +0 -11
- package/dist/mint-components/p-ed17e637.system.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
- package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-a3f48e15.js} +1 -1
- package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-4c5d9379.js} +1 -1
- package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-217239b7.js} +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-4e90b6f5.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-bff9783d.js} +1 -1
- package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-3cd69fe7.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-34771d2c.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-c8f91506.js} +1 -1
- package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-bf154727.js} +1 -1
- package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-12793040.js} +1 -1
- package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-b24c708b.js} +1 -1
- package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-95cd454f.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-f1454d43.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-3739f523.js} +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-64c3217a.js";import{
|
|
1
|
+
import{h as t}from"./p-64c3217a.js";import{c as s}from"./p-cef45012.js";import{A as r,a as e}from"./p-02be1a88.js";import{T as a}from"./p-5d0c9424.js";const o=s({Wrapper:r,Column:e,ContinueButton:{width:"100%"}}),p=o.toString();function n(s){const{states:r,data:e,callbacks:n,content:i}=s;if(!r.loading)return r.success?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{exportparts:"success-icon"},t("div",{part:"successalert-text"},i.verifySuccessText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.gotoNextPage,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):r.error||!e.oobCode?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},i.verifyInvalidText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.failed,disabled:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):void 0}export{n as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,c as s}from"./p-64c3217a.js";import{f as r,n as a}from"./p-fd2c5407.js";import{Q as i,S as o,e as n,i as c}from"./p-00be5090.js";const l=class{constructor(t){e(this,t),this.ignored=!0,this.redirectTo="/",this.requireEmailVerification=!1,this.redirectToUnverified="/emailVerification",a(this)}disconnectedCallback(){}render(){const e=!!c()||function({requireEmailVerification:e,redirectTo:t,redirectToUnverified:s}){var a;const c=i(),l=!!(null==c?void 0:c.jwt),h=null===(a=null==c?void 0:c.managedIdentity)||void 0===a?void 0:a.emailVerified,{pathname:d,search:m}=o(),p=new URLSearchParams;return p.append("nextPage",`${d}${m}`),r((()=>l?e&&!h?n.push({pathname:s||t,search:"?"+p.toString()}):void 0:n.push({pathname:t,search:"?"+p.toString()})),[]),!!c}(this);return t(s,{style:{display:e?"contents":"none"}},t("slot",null))}};export{l as sqm_portal_protected_route}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))s[a]=e[a]}return s};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))s[a]=e[a]}return s};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-46ca288c.system.js","./p-1a673057.system.js","./p-f6934a55.system.js","./p-4f775e84.system.js"],(function(s){"use strict";var e,t,n,a,r,i;return{setters:[function(s){e=s.h},function(s){t=s.i},function(s){n=s.c},function(s){a=s.A;r=s.a},function(s){i=s.T}],execute:function(){s("P",p);var o={Wrapper:a,Column:__assign({},r),ButtonLink:{fontSize:"14px",color:"var(--sl-color-primary-500)",display:"inline-block !important","&:hover":{cursor:"pointer",textDecoration:"underline"}},ButtonLinkLoading:{fontSize:"14px",color:"var(--sl-color-gray-500)",opacity:"0.6",display:"inline-block !important",textDecoration:"underline","&:hover":{cursor:"not-allowed"}}};var c="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var l=n(o);var u=l.toString();function p(s){var n=s.states,a=s.callbacks,r=s.content,o=r.email,p=r.verifyMessage,f=r.emailVerificationHeader,g=r.resendEmailButtonText,d=r.verificationStatusMessage,m=r.verificationLoadingMessage,y=r.verificationResentMessage;return e("div",{class:l.classes.Wrapper},e("style",{type:"text/css"},c,u),e(i,{type:"h3"},f),e("sl-form",{class:l.classes.Column,"onSl-submit":a.submit},s.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s.states.error)),s.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},y)),e(i,{type:"p"},t.formatMessage({id:"verifyMessage",defaultMessage:p},{email:e("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},o)})),e("p",{style:{color:"var(--sl-color-gray-500)",fontSize:"14px"}},t.formatMessage({id:"verificationStatus",defaultMessage:n.loadingVerification?m+" {countdown}":d},{countdown:n.loadingVerification?e("sl-spinner",null):n.countdown})),e("a",{class:n.loading?l.classes.ButtonLinkLoading:l.classes.ButtonLink,onClick:a.submit},g)))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-46ca288c.system.js","./p-1099290c.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-4bd679a7.system.js","./p-4f775e84.system.js","./p-bf834367.system.js","./p-0f028514.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,f,m,c,v;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.f;s=e.n},function(){},function(e){a=e.d;o=e.Q;u=e.y;l=e.$;d=e.i},function(e){f=e.g},function(){},function(e){m=e.c},function(){},function(e){c=e.P},function(e){v=e.i}],execute:function(){var g=a.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var _=a.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var h={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function p(e){var t=o();var n=i(false),s=n[0],a=n[1];var d=i(undefined),f=d[0],m=d[1];var c=i(h),p=c[0],y=c[1];var b=u(g,{},!(t===null||t===void 0?void 0:t.jwt));var x=l(_),N=x[0],S=x[1];r((function(){if(S===null||S===void 0?void 0:S.loading)return;if(S===null||S===void 0?void 0:S.errors){y((function(e){var t,n,i;return __assign(__assign({},e),{error:(i=(n=(t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{m((function(e){var t;return __assign(__assign({},e),(t=S===null||S===void 0?void 0:S.data)===null||t===void 0?void 0:t.upsertUser)}));if(S===null||S===void 0?void 0:S.data)a(true)}}),[S===null||S===void 0?void 0:S.loading]);r((function(){var e,t;m((function(e){var t;return __assign(__assign({},e),(t=b===null||b===void 0?void 0:b.data)===null||t===void 0?void 0:t.viewer)}));y(__assign(__assign(__assign({},h),(e=b.data)===null||e===void 0?void 0:e.viewer),(t=S.data)===null||t===void 0?void 0:t.upsertUser))}),[b===null||b===void 0?void 0:b.data]);r((function(){var t,n;if((t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.message){y(__assign(__assign({},(n=b.data)===null||n===void 0?void 0:n.viewer),{error:e.networkRequestMessage}))}}),[S===null||S===void 0?void 0:S.errors]);var j=function(){a(false);if(p.firstName&&p.lastName){N({id:t===null||t===void 0?void 0:t.id,accountId:t===null||t===void 0?void 0:t.accountId,firstName:p.firstName,lastName:p.lastName});y((function(e){return __assign(__assign({},e),{errors:{},error:""})}));return}var n={};if(!p.firstName){n["firstName"]={message:e.fieldEmptyText}}if(!p.lastName){n["lastName"]={message:e.fieldEmptyText}}if(!v(n)){y((function(t){return __assign(__assign({},t),{error:e.formErrorText})}))}y((function(e){return __assign(__assign({},e),{errors:n})}))};return{states:{success:s,loading:(b===null||b===void 0?void 0:b.loading)||S.loading,submitDisabled:false,showCountry:!e.hideCountry,formState:p,user:f,text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,countrytext:e.countrytext,emailtext:e.emailtext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(e){var t=e.target,n=t.name,i=t.value;y((function(e){var t;return __assign(__assign({},e),(t={},t[n]=i,t))}))}}}}var y=e("sqm_portal_profile",function(){function e(e){t(this,e);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;this.networkRequestMessage="An error occurred while loading this page. Please refresh the page.";this.fieldEmptyText="Field is required";this.formErrorText="Please correct the errors below to update your profile.";this.submissionSuccessText="Your profile has been successfully updated.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?b(f(this)):p(f(this));return n(c,Object.assign({},e))};return e}());function b(e){return m({states:{success:false,loading:false,submitDisabled:false,showCountry:!e.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,emailtext:e.emailtext,countrytext:e.countrytext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText,submissionSuccessText:e.submissionSuccessText,fieldEmptyText:e.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-
|
|
1
|
+
import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-00be5090.js";import{g as l}from"./p-9ec99ced.js";import{c as o}from"./p-cef45012.js";import{c as a}from"./p-c1086930.js";import{E as u}from"./p-02be1a88.js";import{R as c}from"./p-d666b326.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,o,a,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(o=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===o?void 0:o.password}:{},(null===(u=null===(a=d.registrationFormState)||void 0===a?void 0:a.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,l,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return a({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(l=null==t?void 0:t.demoData)||void 0===l?void 0:l.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(l(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(l(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{c(s.next(e))}catch(e){a(e)}}function i(e){try{c(s["throw"](e))}catch(e){a(e)}}function c(e){e.done?r(e.value):o(e.value).then(n,i)}c((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return c([e,t])}}function c(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{c(s.next(e))}catch(e){a(e)}}function i(e){try{c(s["throw"](e))}catch(e){a(e)}}function c(e){e.done?r(e.value):o(e.value).then(n,i)}c((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return c([e,t])}}function c(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-1099290c.system.js","./p-b2295bc5.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-4f775e84.system.js","./p-03a647c2.system.js"],(function(e){"use strict";var t,r,s,o,a,n,i,c,d,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;a=e.n},function(e){n=e.h;i=e.T;c=e.e;d=e.i},function(e){u=e.j},function(e){l=e.s},function(){},function(e){f=e.c},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,a,d,f,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=n(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(c.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(a){switch(a.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=a.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=l(S||e.nextPage);c.push(t.href)};var I=function(){c.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(f=(d=(a=(r=C.errors)===null||r===void 0?void 0:r.response)===null||a===void 0?void 0:a.errors)===null||d===void 0?void 0:d[0])===null||f===void 0?void 0:f.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return f({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|