@saasquatch/mint-components 1.15.0-118 → 1.15.0-119
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-8fed996f.js → ShadowViewAddon-8d4ab3f3.js} +49 -3
- package/dist/cjs/{copy-text-view-44dfefc7.js → copy-text-view-e2782134.js} +5 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-big-stat_43.cjs.entry.js → sqm-big-stat_44.cjs.entry.js} +145 -2
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +23 -8
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +2 -2
- package/dist/collection/components/sqm-hero/Hero.stories.js +1 -1
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +3 -2
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +13 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +4 -4
- package/dist/collection/components/views/copy-text-view.js +5 -3
- package/dist/esm/{IndirectTaxDetailsView-084314d5.js → IndirectTaxDetailsView-a2beb98a.js} +2 -2
- package/dist/esm/{ShadowViewAddon-928bfc1a.js → ShadowViewAddon-ae08cb04.js} +54 -9
- package/dist/esm/{copy-text-view-a319c261.js → copy-text-view-d8822c16.js} +5 -3
- package/dist/esm/{data-ee3ae298.js → data-dea73d4d.js} +1 -1
- package/dist/esm/{global-80edfef3.js → global-ef7a7354.js} +1 -1
- package/dist/esm/{index.module-38dad6c9.js → index.module-c9811a48.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-9c90767d.js → re-render-7e22fb0d.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
- package/dist/esm/{sqm-big-stat_43.entry.js → sqm-big-stat_44.entry.js} +155 -13
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +3 -3
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-797601b0.js → sqm-navigation-sidebar-item-view-bedd6ed7.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-5719eb87.js → sqm-portal-email-verification-view-37bee5df.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-google-registration-form.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-9a82fe2e.js → sqm-portal-profile-view-afb6d879.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- 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 +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.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 +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +29 -14
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/sqm-tax-and-cash.entry.js +4 -4
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -3
- package/dist/esm/sqm-widget-verification.entry.js +1 -1
- package/dist/esm/{useChildElements-4e70ac0e.js → useChildElements-3d872cef.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-0f04459e.js → useInstantAccessRegistration-dda1f52b.js} +2 -2
- package/dist/esm/{usePayoutStatus-7eeec61b.js → usePayoutStatus-93462be3.js} +1 -1
- package/dist/esm/{usePortalLogin-d0720c81.js → usePortalLogin-e95df3c3.js} +1 -1
- package/dist/esm/{usePortalRegistrationForm-afc0171e.js → usePortalRegistrationForm-1eb3cd72.js} +2 -2
- package/dist/esm/{useReferralCodes-311e6d72.js → useReferralCodes-c2e809cf.js} +1 -1
- package/dist/esm/{useReferralTable-65a01a6a.js → useReferralTable-909ccb28.js} +3 -3
- package/dist/esm/{useRegistrationFormState-18c2cea7.js → useRegistrationFormState-24d594ea.js} +1 -1
- package/dist/esm/{useVerificationEmail-f9413de9.js → useVerificationEmail-55e0e98f.js} +1 -1
- package/dist/esm/{utilities-ad9c2893.js → utilities-72c07b09.js} +1 -1
- package/dist/esm/{utils-27b2ed4b.js → utils-a86c25e9.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-084314d5.js → IndirectTaxDetailsView-a2beb98a.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-ae08cb04.js +1 -0
- package/dist/esm-es5/copy-text-view-d8822c16.js +1 -0
- package/dist/esm-es5/{data-ee3ae298.js → data-dea73d4d.js} +1 -1
- package/dist/esm-es5/{global-80edfef3.js → global-ef7a7354.js} +1 -1
- package/dist/esm-es5/{index.module-38dad6c9.js → index.module-c9811a48.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-9c90767d.js → re-render-7e22fb0d.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_44.entry.js +1 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- 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-google-sign-in.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-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-797601b0.js → sqm-navigation-sidebar-item-view-bedd6ed7.js} +1 -1
- 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 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-5719eb87.js → sqm-portal-email-verification-view-37bee5df.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-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-9a82fe2e.js → sqm-portal-profile-view-afb6d879.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.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-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/sqm-tax-and-cash.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-4e70ac0e.js → useChildElements-3d872cef.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-0f04459e.js → useInstantAccessRegistration-dda1f52b.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-7eeec61b.js → usePayoutStatus-93462be3.js} +1 -1
- package/dist/esm-es5/{usePortalLogin-d0720c81.js → usePortalLogin-e95df3c3.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-afc0171e.js → usePortalRegistrationForm-1eb3cd72.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-311e6d72.js → useReferralCodes-c2e809cf.js} +1 -1
- package/dist/esm-es5/{useReferralTable-65a01a6a.js → useReferralTable-909ccb28.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-18c2cea7.js → useRegistrationFormState-24d594ea.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-f9413de9.js → useVerificationEmail-55e0e98f.js} +1 -1
- package/dist/esm-es5/{utilities-ad9c2893.js → utilities-72c07b09.js} +1 -1
- package/dist/esm-es5/{utils-27b2ed4b.js → utils-a86c25e9.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-087b86af.system.entry.js +1 -0
- package/dist/mint-components/{p-e34b460e.entry.js → p-0bc0f590.entry.js} +1 -1
- package/dist/mint-components/{p-8e2bead4.js → p-0ec54f97.js} +1 -1
- package/dist/mint-components/{p-aa77d858.system.entry.js → p-0ef925fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-3d99fa43.entry.js → p-10c63703.entry.js} +1 -1
- package/dist/mint-components/p-125a894f.js +1 -0
- package/dist/mint-components/{p-7270fb59.entry.js → p-14fd4b05.entry.js} +1 -1
- package/dist/mint-components/{p-bb627d95.entry.js → p-155f7d25.entry.js} +2 -2
- package/dist/mint-components/{p-d8c5b80a.system.js → p-171310d9.system.js} +1 -1
- package/dist/mint-components/{p-1c1f4ce7.system.js → p-17a0f310.system.js} +1 -1
- package/dist/mint-components/p-18d33a7f.js +448 -0
- package/dist/mint-components/{p-773ce89c.system.js → p-2074933f.system.js} +1 -1
- package/dist/mint-components/{p-5e0af707.entry.js → p-20916402.entry.js} +2 -2
- package/dist/mint-components/{p-14bc40a9.entry.js → p-261ef00a.entry.js} +1 -1
- package/dist/mint-components/{p-0cba75e6.system.entry.js → p-26a7051d.system.entry.js} +1 -1
- package/dist/mint-components/{p-d5f1df29.entry.js → p-27a7f6a6.entry.js} +1 -1
- package/dist/mint-components/{p-d2e2e10f.js → p-28c50364.js} +1 -1
- package/dist/mint-components/{p-b065215a.entry.js → p-29398c98.entry.js} +1 -1
- package/dist/mint-components/{p-0e59a91e.js → p-293e3b25.js} +1 -1
- package/dist/mint-components/{p-6e069052.entry.js → p-29ba2eaa.entry.js} +1 -1
- package/dist/mint-components/{p-433ca566.system.entry.js → p-29fa3d84.system.entry.js} +1 -1
- package/dist/mint-components/{p-00378aec.entry.js → p-2c0c8872.entry.js} +2 -2
- package/dist/mint-components/{p-9dbfdb41.system.entry.js → p-2e1eceb7.system.entry.js} +1 -1
- package/dist/mint-components/{p-a6234a78.entry.js → p-2fd59b38.entry.js} +1 -1
- package/dist/mint-components/{p-0d22c0e5.system.entry.js → p-355079f4.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2c59452.system.js → p-37ffa277.system.js} +1 -1
- package/dist/mint-components/{p-c3884e55.entry.js → p-386ec00c.entry.js} +1 -1
- package/dist/mint-components/{p-e425b7a1.entry.js → p-3b0e2094.entry.js} +2 -2
- package/dist/mint-components/p-40752a0f.entry.js +1 -0
- package/dist/mint-components/{p-485e2d9f.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4e56204.js → p-43246ab1.js} +1 -1
- package/dist/mint-components/{p-b3da317b.system.entry.js → p-43d9c1c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-3787a4d6.js → p-49400aab.js} +2 -2
- package/dist/mint-components/{p-f0e0d0b9.system.entry.js → p-4a0f42ac.system.entry.js} +1 -1
- package/dist/mint-components/{p-19f41a8e.js → p-4a379796.js} +1 -1
- package/dist/mint-components/p-4ae4db45.system.js +1 -0
- package/dist/mint-components/{p-e4e3ddb6.system.js → p-4ddf5eaa.system.js} +1 -1
- package/dist/mint-components/{p-a2533860.system.entry.js → p-4f5a3dad.system.entry.js} +1 -1
- package/dist/mint-components/{p-0e66f410.system.entry.js → p-5116afad.system.entry.js} +1 -1
- package/dist/mint-components/{p-3cb249c3.js → p-513f5d80.js} +1 -1
- package/dist/mint-components/{p-3dc34570.system.js → p-537a3894.system.js} +1 -1
- package/dist/mint-components/{p-258f4e5e.system.entry.js → p-54abb144.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ad674c2.js → p-552a6d1b.js} +1 -1
- package/dist/mint-components/p-5581ba8e.system.js +1 -0
- package/dist/mint-components/{p-c1629004.entry.js → p-56069d3f.entry.js} +1 -1
- package/dist/mint-components/{p-1394d253.system.js → p-574b08e7.system.js} +1 -1
- package/dist/mint-components/{p-002e6205.system.entry.js → p-58e0eccc.system.entry.js} +1 -1
- package/dist/mint-components/{p-8543a70f.system.entry.js → p-5aad9df5.system.entry.js} +1 -1
- package/dist/mint-components/{p-4271f436.system.entry.js → p-5b29d833.system.entry.js} +1 -1
- package/dist/mint-components/{p-ef8b70cd.system.entry.js → p-5bb59fa8.system.entry.js} +1 -1
- package/dist/mint-components/{p-22d20816.system.entry.js → p-5e8d6f3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-7af4fba0.system.entry.js → p-60ec0961.system.entry.js} +1 -1
- package/dist/mint-components/p-621f3e30.entry.js +1 -0
- package/dist/mint-components/p-625ca62f.entry.js +1 -0
- package/dist/mint-components/{p-1f511d5d.entry.js → p-682359ae.entry.js} +1 -1
- package/dist/mint-components/p-6919414d.entry.js +33 -0
- package/dist/mint-components/{p-1d4a327c.js → p-699a9b20.js} +1 -1
- package/dist/mint-components/{p-a148663a.system.js → p-6c82d60c.system.js} +1 -1
- package/dist/mint-components/{p-f307b716.js → p-71af93e3.js} +1 -1
- package/dist/mint-components/{p-fa6fba34.system.js → p-71daeed9.system.js} +1 -1
- package/dist/mint-components/p-7558f9ef.entry.js +258 -0
- package/dist/mint-components/{p-9f82e69d.entry.js → p-75b8fd75.entry.js} +1 -1
- package/dist/mint-components/{p-05650cb6.entry.js → p-78878a5a.entry.js} +1 -1
- package/dist/mint-components/{p-ac2fdad8.system.entry.js → p-78c754de.system.entry.js} +1 -1
- package/dist/mint-components/{p-b9bccc55.entry.js → p-7eb0573c.entry.js} +1 -1
- package/dist/mint-components/{p-df37ef17.system.js → p-7ff34e84.system.js} +1 -1
- package/dist/mint-components/{p-15012f59.system.js → p-867b2baf.system.js} +1 -1
- package/dist/mint-components/{p-1a278658.entry.js → p-92a54b0c.entry.js} +1 -1
- package/dist/mint-components/{p-dbe29e53.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
- package/dist/mint-components/p-976ee669.js +1 -0
- package/dist/mint-components/{p-4d19270b.js → p-97dc6863.js} +2 -2
- package/dist/mint-components/{p-0b0f49ad.entry.js → p-9943f53e.entry.js} +1 -1
- package/dist/mint-components/{p-ebb487d0.system.entry.js → p-9ab8a0fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b9297cd.system.entry.js → p-9b29f4f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-862845d7.js → p-9c79ab08.js} +2 -2
- package/dist/mint-components/p-a0f3c1f0.js +1 -0
- package/dist/mint-components/{p-89b859c7.system.entry.js → p-a4564acb.system.entry.js} +1 -1
- package/dist/mint-components/{p-a5c9ce6c.entry.js → p-a4e8eb33.entry.js} +1 -1
- package/dist/mint-components/{p-9aadc253.entry.js → p-a52df294.entry.js} +1 -1
- package/dist/mint-components/{p-e64fbb70.js → p-a5b58d30.js} +1 -1
- package/dist/mint-components/p-a5e8bfd4.system.js +1 -0
- package/dist/mint-components/{p-0bb21f5b.system.entry.js → p-a8c86cd8.system.entry.js} +1 -1
- package/dist/mint-components/p-a8e92144.js +1 -0
- package/dist/mint-components/{p-5ed49bf2.js → p-aa596749.js} +1 -1
- package/dist/mint-components/{p-3d1b91a1.system.entry.js → p-af69ee79.system.entry.js} +1 -1
- package/dist/mint-components/{p-711bc624.entry.js → p-b2fdb0b1.entry.js} +1 -1
- package/dist/mint-components/{p-da3ffd4e.system.entry.js → p-b4a922e1.system.entry.js} +1 -1
- package/dist/mint-components/{p-9fb8b33a.system.js → p-bb5d153f.system.js} +1 -1
- package/dist/mint-components/{p-0ea61502.system.js → p-bcac83f0.system.js} +1 -1
- package/dist/mint-components/p-bd093069.system.entry.js +1 -0
- package/dist/mint-components/{p-b22b7891.js → p-c30ad421.js} +1 -1
- package/dist/mint-components/{p-da6fe95f.system.entry.js → p-cc8ca3ff.system.entry.js} +1 -1
- package/dist/mint-components/{p-8dc1cd0f.entry.js → p-d08bcd88.entry.js} +1 -1
- package/dist/mint-components/{p-d399162b.system.js → p-d09d3b8f.system.js} +1 -1
- package/dist/mint-components/{p-d821418e.system.js → p-d14f3149.system.js} +1 -1
- package/dist/mint-components/{p-100c878b.system.entry.js → p-d399b343.system.entry.js} +1 -1
- package/dist/mint-components/{p-f51e41dd.system.entry.js → p-d51c9a98.system.entry.js} +1 -1
- package/dist/mint-components/p-d6ea42b6.entry.js +9 -0
- package/dist/mint-components/{p-abd33116.system.entry.js → p-d848957e.system.entry.js} +1 -1
- package/dist/mint-components/{p-672d144e.entry.js → p-dcc50d90.entry.js} +1 -1
- package/dist/mint-components/p-e05590ac.system.entry.js +1 -0
- package/dist/mint-components/{p-91014439.system.js → p-e174b704.system.js} +1 -1
- package/dist/mint-components/{p-9d29a0ff.system.entry.js → p-e71e147a.system.entry.js} +1 -1
- package/dist/mint-components/{p-94f9fbf7.entry.js → p-ea063d99.entry.js} +1 -1
- package/dist/mint-components/{p-587115cb.system.entry.js → p-ee92a728.system.entry.js} +1 -1
- package/dist/mint-components/{p-82505f6e.system.js → p-f3392945.system.js} +1 -1
- package/dist/mint-components/{p-d785a297.system.entry.js → p-f4202a64.system.entry.js} +1 -1
- package/dist/mint-components/{p-fb5be0c5.js → p-f5fff87e.js} +1 -1
- package/dist/mint-components/{p-c79bb1c6.entry.js → p-f764e51f.entry.js} +2 -2
- package/dist/mint-components/p-f7919872.system.js +1 -0
- package/dist/mint-components/{p-22c11f0e.entry.js → p-f9295990.entry.js} +1 -1
- package/dist/mint-components/p-fa0ad3f2.entry.js +11 -0
- package/dist/mint-components/{p-e539fed3.entry.js → p-fab109de.entry.js} +1 -1
- package/dist/mint-components/{p-ad586adc.system.entry.js → p-fcbed888.system.entry.js} +1 -1
- package/dist/mint-components/{p-578a27c8.system.js → p-ff0e1564.system.js} +1 -1
- package/dist/types/components/sqm-portal-forgot-password/PortalForgotPassword.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-portal-forgot-password-view-0a8d3243.js +0 -53
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +0 -156
- package/dist/esm/sqm-portal-forgot-password-view-0e795cdd.js +0 -51
- package/dist/esm/sqm-portal-forgot-password.entry.js +0 -152
- package/dist/esm-es5/ShadowViewAddon-928bfc1a.js +0 -1
- package/dist/esm-es5/copy-text-view-a319c261.js +0 -1
- package/dist/esm-es5/sqm-big-stat_43.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +0 -1
- package/dist/mint-components/p-000c91b1.js +0 -1
- package/dist/mint-components/p-10507209.system.entry.js +0 -1
- package/dist/mint-components/p-1337f47c.entry.js +0 -1
- package/dist/mint-components/p-1de49f76.js +0 -1
- package/dist/mint-components/p-209ea185.js +0 -1
- package/dist/mint-components/p-3f1f78c0.system.entry.js +0 -1
- package/dist/mint-components/p-42da8239.system.js +0 -1
- package/dist/mint-components/p-56a5e3b2.entry.js +0 -9
- package/dist/mint-components/p-7059ee40.system.entry.js +0 -1
- package/dist/mint-components/p-7970e73a.js +0 -1
- package/dist/mint-components/p-84a5b46a.system.js +0 -1
- package/dist/mint-components/p-9374b5bb.system.entry.js +0 -1
- package/dist/mint-components/p-a0c8162d.entry.js +0 -258
- package/dist/mint-components/p-a89baf7b.system.js +0 -1
- package/dist/mint-components/p-c4886223.entry.js +0 -1
- package/dist/mint-components/p-c7965639.entry.js +0 -1
- package/dist/mint-components/p-cab1f502.js +0 -1
- package/dist/mint-components/p-d278519f.js +0 -448
- package/dist/mint-components/p-e57d61af.system.js +0 -1
- package/dist/mint-components/p-e9d0caf7.entry.js +0 -11
- package/dist/mint-components/p-f4dc053e.entry.js +0 -33
- package/dist/mint-components/p-f4f57363.system.js +0 -1
- package/dist/mint-components/p-fb77f662.entry.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/mint-components",
|
|
3
3
|
"title": "Mint Components",
|
|
4
|
-
"version": "1.15.0-
|
|
4
|
+
"version": "1.15.0-119",
|
|
5
5
|
"description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
|
|
6
6
|
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
|
|
7
7
|
"raisins": "docs/raisins.json",
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const index = require('./index-a43a63b4.js');
|
|
4
|
-
const index_module = require('./index.module-4f54e412.js');
|
|
5
|
-
const JSS = require('./JSS-8503a151.js');
|
|
6
|
-
const mixins = require('./mixins-4761d472.js');
|
|
7
|
-
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
8
|
-
|
|
9
|
-
const vanillaStyle = `
|
|
10
|
-
:host {
|
|
11
|
-
display: block;
|
|
12
|
-
}
|
|
13
|
-
:host([hidden]): {
|
|
14
|
-
display: none;
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
function PortalForgotPasswordView(props) {
|
|
18
|
-
const { states, callbacks, content } = props;
|
|
19
|
-
const style = {
|
|
20
|
-
FormWrapper: {
|
|
21
|
-
...mixins.AuthWrapper,
|
|
22
|
-
background: content.backgroundColor || "var(--sqm-portal-background)",
|
|
23
|
-
borderRadius: content.borderRadius || "var(--sqm-border-radius-normal)",
|
|
24
|
-
border: content.border ||
|
|
25
|
-
"var(--sqm-border-thickness) solid var(--sqm-border-color)",
|
|
26
|
-
},
|
|
27
|
-
Column: { ...mixins.AuthColumn },
|
|
28
|
-
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
29
|
-
SecondaryButton: {
|
|
30
|
-
margin: "auto",
|
|
31
|
-
display: "block",
|
|
32
|
-
cursor: "pointer",
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
const sheet = JSS.createStyleSheet(style);
|
|
36
|
-
const styleString = sheet.toString();
|
|
37
|
-
return (index.h("div", { class: sheet.classes.FormWrapper, part: "sqm-base" },
|
|
38
|
-
index.h("style", { type: "text/css" },
|
|
39
|
-
vanillaStyle,
|
|
40
|
-
styleString),
|
|
41
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.messageSlot),
|
|
42
|
-
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
43
|
-
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
44
|
-
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
45
|
-
props.states.success && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
46
|
-
index.h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
47
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
48
|
-
index.h("div", { class: sheet.classes.ButtonsContainer },
|
|
49
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
50
|
-
index.h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", class: sheet.classes.SecondaryButton, disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, content.loginText)))));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
exports.PortalForgotPasswordView = PortalForgotPasswordView;
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
7
|
-
const index_module = require('./index.module-4f54e412.js');
|
|
8
|
-
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
|
-
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
require('./JSS-8503a151.js');
|
|
11
|
-
require('./mixins-4761d472.js');
|
|
12
|
-
require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
|
-
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-0a8d3243.js');
|
|
14
|
-
|
|
15
|
-
function usePortalForgotPassword(props) {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
17
|
-
const [success, setSuccess] = domContextHooks_module.useState(false);
|
|
18
|
-
const [error, setError] = domContextHooks_module.useState("");
|
|
19
|
-
const [request, { loading, data, errors }] = index_module.un();
|
|
20
|
-
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
21
|
-
const nextPage = urlParams.get("nextPage");
|
|
22
|
-
const submit = async (event) => {
|
|
23
|
-
var _a;
|
|
24
|
-
setError("");
|
|
25
|
-
setSuccess(false);
|
|
26
|
-
let formData = event.detail.formData;
|
|
27
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
28
|
-
jsonpointer.jsonpointer.set(formData, key, value);
|
|
29
|
-
});
|
|
30
|
-
const urlParams = nextPage ? { nextPage } : null;
|
|
31
|
-
const redirectPath = props.redirectPath;
|
|
32
|
-
const variables = { email: formData.email, urlParams, redirectPath };
|
|
33
|
-
const result = await request(variables);
|
|
34
|
-
if (result instanceof Error) {
|
|
35
|
-
if (result.message)
|
|
36
|
-
setError(props.networkErrorMessage);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
40
|
-
setSuccess(true);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
return {
|
|
44
|
-
states: {
|
|
45
|
-
loading,
|
|
46
|
-
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
47
|
-
error,
|
|
48
|
-
success,
|
|
49
|
-
loginPath: props.loginPath,
|
|
50
|
-
headerText: props.headerText,
|
|
51
|
-
loginText: props.loginText,
|
|
52
|
-
},
|
|
53
|
-
callbacks: {
|
|
54
|
-
submit,
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const PortalForgotPassword = class {
|
|
60
|
-
constructor(hostRef) {
|
|
61
|
-
index.registerInstance(this, hostRef);
|
|
62
|
-
this.ignored = true;
|
|
63
|
-
/**
|
|
64
|
-
* Redirect participants to this page after they verify their email.
|
|
65
|
-
*
|
|
66
|
-
* @uiName Email redirect
|
|
67
|
-
* @uiWidget pageSelect
|
|
68
|
-
*/
|
|
69
|
-
this.redirectPath = "/resetPassword";
|
|
70
|
-
/**
|
|
71
|
-
* @uiName Email field label
|
|
72
|
-
*/
|
|
73
|
-
this.emailLabel = "Email";
|
|
74
|
-
/**
|
|
75
|
-
* @uiName Password reset button text
|
|
76
|
-
*/
|
|
77
|
-
this.submitLabel = "Request Password Reset";
|
|
78
|
-
/**
|
|
79
|
-
* @uiName Login redirect path
|
|
80
|
-
* @uiWidget pageSelect
|
|
81
|
-
*/
|
|
82
|
-
this.loginPath = "/login";
|
|
83
|
-
/**
|
|
84
|
-
* @uiName Header text
|
|
85
|
-
* @uiWidget textArea
|
|
86
|
-
*/
|
|
87
|
-
this.headerText = "Enter your email below to receive a password reset link.";
|
|
88
|
-
/**
|
|
89
|
-
* @uiName Sign in link text
|
|
90
|
-
*/
|
|
91
|
-
this.loginText = "Sign In";
|
|
92
|
-
/**
|
|
93
|
-
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
94
|
-
* @uiName Network error message
|
|
95
|
-
*/
|
|
96
|
-
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
97
|
-
/**
|
|
98
|
-
* @uiName Email verification sent text
|
|
99
|
-
*/
|
|
100
|
-
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
101
|
-
/**
|
|
102
|
-
* @uiName Background color
|
|
103
|
-
* @uiWidget color
|
|
104
|
-
*/
|
|
105
|
-
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
106
|
-
/**
|
|
107
|
-
* @uiName Border radius
|
|
108
|
-
* @uiWidget number
|
|
109
|
-
*/
|
|
110
|
-
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
111
|
-
/**
|
|
112
|
-
* @uiName Border style
|
|
113
|
-
* @uiWidget textArea
|
|
114
|
-
*/
|
|
115
|
-
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
116
|
-
domContextHooks_module.h$1(this);
|
|
117
|
-
}
|
|
118
|
-
disconnectedCallback() { }
|
|
119
|
-
render() {
|
|
120
|
-
const { states, callbacks } = index_module.isDemo()
|
|
121
|
-
? usePortalForgotPasswordDemo(this)
|
|
122
|
-
: usePortalForgotPassword(this);
|
|
123
|
-
const content = {
|
|
124
|
-
messageSlot: index.h("slot", { name: "messageSlot" }, this.headerText),
|
|
125
|
-
emailLabel: this.emailLabel,
|
|
126
|
-
submitLabel: this.submitLabel,
|
|
127
|
-
successAlertText: this.successAlertText,
|
|
128
|
-
loginText: this.loginText,
|
|
129
|
-
backgroundColor: this.backgroundColor,
|
|
130
|
-
borderRadius: this.borderRadius,
|
|
131
|
-
border: this.border,
|
|
132
|
-
};
|
|
133
|
-
return (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
function usePortalForgotPasswordDemo(props) {
|
|
137
|
-
return cjs.cjs({
|
|
138
|
-
states: { error: "", loading: false, success: false },
|
|
139
|
-
callbacks: {
|
|
140
|
-
submit: async (_event) => { },
|
|
141
|
-
},
|
|
142
|
-
content: {
|
|
143
|
-
secondaryButton: (index.h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => index_module.jn.push(props.loginPath) }, props.loginText)),
|
|
144
|
-
messageSlot: index.h("span", null, props.headerText),
|
|
145
|
-
emailLabel: props.emailLabel,
|
|
146
|
-
submitLabel: props.submitLabel,
|
|
147
|
-
successAlertText: props.successAlertText,
|
|
148
|
-
loginText: props.loginText,
|
|
149
|
-
backgroundColor: props.backgroundColor,
|
|
150
|
-
borderRadius: props.borderRadius,
|
|
151
|
-
border: props.border,
|
|
152
|
-
},
|
|
153
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
exports.sqm_portal_forgot_password = PortalForgotPassword;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { j as jn } from './index.module-38dad6c9.js';
|
|
3
|
-
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f750863a.js';
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
6
|
-
|
|
7
|
-
const vanillaStyle = `
|
|
8
|
-
:host {
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
11
|
-
:host([hidden]): {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
`;
|
|
15
|
-
function PortalForgotPasswordView(props) {
|
|
16
|
-
const { states, callbacks, content } = props;
|
|
17
|
-
const style = {
|
|
18
|
-
FormWrapper: {
|
|
19
|
-
...AuthWrapper,
|
|
20
|
-
background: content.backgroundColor || "var(--sqm-portal-background)",
|
|
21
|
-
borderRadius: content.borderRadius || "var(--sqm-border-radius-normal)",
|
|
22
|
-
border: content.border ||
|
|
23
|
-
"var(--sqm-border-thickness) solid var(--sqm-border-color)",
|
|
24
|
-
},
|
|
25
|
-
Column: { ...AuthColumn },
|
|
26
|
-
ButtonsContainer: AuthButtonsContainer,
|
|
27
|
-
SecondaryButton: {
|
|
28
|
-
margin: "auto",
|
|
29
|
-
display: "block",
|
|
30
|
-
cursor: "pointer",
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
const sheet = createStyleSheet(style);
|
|
34
|
-
const styleString = sheet.toString();
|
|
35
|
-
return (h("div", { class: sheet.classes.FormWrapper, part: "sqm-base" },
|
|
36
|
-
h("style", { type: "text/css" },
|
|
37
|
-
vanillaStyle,
|
|
38
|
-
styleString),
|
|
39
|
-
h(TextSpanView, { type: "h3" }, content.messageSlot),
|
|
40
|
-
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
41
|
-
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
42
|
-
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
43
|
-
props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
44
|
-
h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
45
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
46
|
-
h("div", { class: sheet.classes.ButtonsContainer },
|
|
47
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
48
|
-
h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", class: sheet.classes.SecondaryButton, disabled: states.loading, onClick: () => jn.push(states.loginPath) }, content.loginText)))));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export { PortalForgotPasswordView as P };
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import { k as useState, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
3
|
-
import { c as un, j as jn, i as isDemo } from './index.module-38dad6c9.js';
|
|
4
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
|
-
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import './JSS-67b5cff8.js';
|
|
7
|
-
import './mixins-f750863a.js';
|
|
8
|
-
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-0e795cdd.js';
|
|
10
|
-
|
|
11
|
-
function usePortalForgotPassword(props) {
|
|
12
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
13
|
-
const [success, setSuccess] = useState(false);
|
|
14
|
-
const [error, setError] = useState("");
|
|
15
|
-
const [request, { loading, data, errors }] = un();
|
|
16
|
-
const urlParams = new URLSearchParams(jn.location.search);
|
|
17
|
-
const nextPage = urlParams.get("nextPage");
|
|
18
|
-
const submit = async (event) => {
|
|
19
|
-
var _a;
|
|
20
|
-
setError("");
|
|
21
|
-
setSuccess(false);
|
|
22
|
-
let formData = event.detail.formData;
|
|
23
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
24
|
-
jsonpointer.set(formData, key, value);
|
|
25
|
-
});
|
|
26
|
-
const urlParams = nextPage ? { nextPage } : null;
|
|
27
|
-
const redirectPath = props.redirectPath;
|
|
28
|
-
const variables = { email: formData.email, urlParams, redirectPath };
|
|
29
|
-
const result = await request(variables);
|
|
30
|
-
if (result instanceof Error) {
|
|
31
|
-
if (result.message)
|
|
32
|
-
setError(props.networkErrorMessage);
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
36
|
-
setSuccess(true);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
return {
|
|
40
|
-
states: {
|
|
41
|
-
loading,
|
|
42
|
-
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
43
|
-
error,
|
|
44
|
-
success,
|
|
45
|
-
loginPath: props.loginPath,
|
|
46
|
-
headerText: props.headerText,
|
|
47
|
-
loginText: props.loginText,
|
|
48
|
-
},
|
|
49
|
-
callbacks: {
|
|
50
|
-
submit,
|
|
51
|
-
},
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
const PortalForgotPassword = class {
|
|
56
|
-
constructor(hostRef) {
|
|
57
|
-
registerInstance(this, hostRef);
|
|
58
|
-
this.ignored = true;
|
|
59
|
-
/**
|
|
60
|
-
* Redirect participants to this page after they verify their email.
|
|
61
|
-
*
|
|
62
|
-
* @uiName Email redirect
|
|
63
|
-
* @uiWidget pageSelect
|
|
64
|
-
*/
|
|
65
|
-
this.redirectPath = "/resetPassword";
|
|
66
|
-
/**
|
|
67
|
-
* @uiName Email field label
|
|
68
|
-
*/
|
|
69
|
-
this.emailLabel = "Email";
|
|
70
|
-
/**
|
|
71
|
-
* @uiName Password reset button text
|
|
72
|
-
*/
|
|
73
|
-
this.submitLabel = "Request Password Reset";
|
|
74
|
-
/**
|
|
75
|
-
* @uiName Login redirect path
|
|
76
|
-
* @uiWidget pageSelect
|
|
77
|
-
*/
|
|
78
|
-
this.loginPath = "/login";
|
|
79
|
-
/**
|
|
80
|
-
* @uiName Header text
|
|
81
|
-
* @uiWidget textArea
|
|
82
|
-
*/
|
|
83
|
-
this.headerText = "Enter your email below to receive a password reset link.";
|
|
84
|
-
/**
|
|
85
|
-
* @uiName Sign in link text
|
|
86
|
-
*/
|
|
87
|
-
this.loginText = "Sign In";
|
|
88
|
-
/**
|
|
89
|
-
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
90
|
-
* @uiName Network error message
|
|
91
|
-
*/
|
|
92
|
-
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
93
|
-
/**
|
|
94
|
-
* @uiName Email verification sent text
|
|
95
|
-
*/
|
|
96
|
-
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
97
|
-
/**
|
|
98
|
-
* @uiName Background color
|
|
99
|
-
* @uiWidget color
|
|
100
|
-
*/
|
|
101
|
-
this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
|
|
102
|
-
/**
|
|
103
|
-
* @uiName Border radius
|
|
104
|
-
* @uiWidget number
|
|
105
|
-
*/
|
|
106
|
-
this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
|
|
107
|
-
/**
|
|
108
|
-
* @uiName Border style
|
|
109
|
-
* @uiWidget textArea
|
|
110
|
-
*/
|
|
111
|
-
this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
|
|
112
|
-
h(this);
|
|
113
|
-
}
|
|
114
|
-
disconnectedCallback() { }
|
|
115
|
-
render() {
|
|
116
|
-
const { states, callbacks } = isDemo()
|
|
117
|
-
? usePortalForgotPasswordDemo(this)
|
|
118
|
-
: usePortalForgotPassword(this);
|
|
119
|
-
const content = {
|
|
120
|
-
messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
|
|
121
|
-
emailLabel: this.emailLabel,
|
|
122
|
-
submitLabel: this.submitLabel,
|
|
123
|
-
successAlertText: this.successAlertText,
|
|
124
|
-
loginText: this.loginText,
|
|
125
|
-
backgroundColor: this.backgroundColor,
|
|
126
|
-
borderRadius: this.borderRadius,
|
|
127
|
-
border: this.border,
|
|
128
|
-
};
|
|
129
|
-
return (h$1(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
function usePortalForgotPasswordDemo(props) {
|
|
133
|
-
return cjs({
|
|
134
|
-
states: { error: "", loading: false, success: false },
|
|
135
|
-
callbacks: {
|
|
136
|
-
submit: async (_event) => { },
|
|
137
|
-
},
|
|
138
|
-
content: {
|
|
139
|
-
secondaryButton: (h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => jn.push(props.loginPath) }, props.loginText)),
|
|
140
|
-
messageSlot: h$1("span", null, props.headerText),
|
|
141
|
-
emailLabel: props.emailLabel,
|
|
142
|
-
submitLabel: props.submitLabel,
|
|
143
|
-
successAlertText: props.successAlertText,
|
|
144
|
-
loginText: props.loginText,
|
|
145
|
-
backgroundColor: props.backgroundColor,
|
|
146
|
-
borderRadius: props.borderRadius,
|
|
147
|
-
border: props.border,
|
|
148
|
-
},
|
|
149
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export { PortalForgotPassword as sqm_portal_forgot_password };
|