@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
|
@@ -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,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.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,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-2074933f.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-57dd28bd.system.js","./p-d09d3b8f.system.js"],(function(e){"use strict";var t,n,r,i,a,s,o,l,u,c,d,f,p,m,v,h,y,g,b,x,_;return{setters:[function(e){t=e.h;n=e.r},function(e){r=e.i},function(e){i=e.l;a=e.k;s=e.f;o=e.n},function(e){l=e.d;u=e.t;c=e.F;d=e.i;f=e.p},function(e){p=e.c},function(e){m=e.g},function(e){v=e.c},function(e){h=e.E},function(e){y=e.T},function(e){g=e.V;b=e.S;x=e.a},function(e){_=e.u}],execute:function(){var C={Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",maxWidth:"550px"},HeaderContainer:{display:"flex",flexDirection:"column"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column"},CodeInputContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},CodeInput:{maxWidth:"40px","&::part(base)":{borderRadius:"4px !important"},"&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}},CodeInputError:__assign(__assign({},h),{maxWidth:"40px","&::part(base)":{borderRadius:"4px !important"},"&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}}),ErrorText:{color:"var(--sqm-danger-color-text)",fontSize:"var(--sl-font-size-small)",margin:"0"},ContinueButton:{width:"100%",maxWidth:"100px"},FooterContainer:{display:"flex",flexDirection:"column"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"}};var w="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\n\n";var E=v(C);var T=E.toString();function k(e){var n=e.states,i=e.refs,a=e.callbacks,s=e.text;var o=r.formatMessage({id:"resendCodeText",defaultMessage:s.resendCodeText},{resendCodeLink:t("a",{href:"",style:{textDecoration:"underline",color:"inherit",cursor:"pointer"},onClick:function(e){e.preventDefault();a.resendEmail()}},s.resendCodeLabel)});var l=r.formatMessage({id:"codeResentSuccessfully",defaultMessage:s.codeResentSuccessfullyText},{email:n.email});var u=n.verifyFailed?E.classes.CodeInputError:E.classes.CodeInput;return t("div",{part:"sqm-base"},t("style",{type:"text/css"},w,T),t("div",{class:E.classes.Wrapper},t("div",{class:E.classes.HeaderContainer},t(y,{type:"p"},r.formatMessage({id:"emailHeaderText",defaultMessage:n.verifyFailed?s.reverifyCodeHeaderText:s.verifyCodeHeaderText},{email:n.email}))),n.emailResent&&t("sqm-form-message",{type:"success",exportparts:"successalert-icon"},t("b",null,l)),t("div",{class:E.classes.InputsContainer},t("div",{ref:i.codeWrapperRef,class:E.classes.CodeInputContainer},t("sl-input",{class:u,name:"code"}),t("sl-input",{class:u,name:"code"}),t("sl-input",{class:u,name:"code"}),t("sl-input",{class:u,name:"code"}),t("sl-input",{class:u,name:"code"}),t("sl-input",{class:u,name:"code"})),n.verifyFailed&&t("p",{class:E.classes.ErrorText},s.invalidCodeText),t("sl-button",{class:E.classes.ContinueButton,onClick:a.submitCode,disabled:n.loading||n.initialiseLoading,loading:n.loading||n.initialiseLoading,exportparts:"base: primarybutton-base",type:"primary"},s.verifyText)),t("div",{class:E.classes.FooterContainer},t(y,{type:"p"},o))))}var S=l.gql(__makeTemplateObject(["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"],["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"]));function j(e){var t=this;var n=i();var r=u(b),o=r[0],l=r[1];var d=c(g);var f=a(false),p=f[0],m=f[1];var v=a(false),h=v[0],y=v[1];var x=a(null),C=x[0],w=x[1];var E=a(false),T=E[0],k=E[1];var S=a(false),j=S[0],I=S[1];var P=_(),R=P.initialized,F=P.verificationEmail,L=P.send,A=L[0],O=L[1],q=O.loading,M=O.errors,W=P.verify,D=W[0],$=W[1],z=$.loading,H=$.errors;s((function(){if(!C)return;var e=C.querySelectorAll("sl-input");var t=Array.from(e).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));t.forEach((function(e,n){e.addEventListener("focus",(function(e){e.target.select()}));e.addEventListener("keydown",(function(e){if(e.key==="Backspace"&&e.target.value===""){t[Math.max(0,n-1)].focus()}}));e.addEventListener("input",(function(e){var r=e.data;if(!r)return;if(n===t.length-1){e.target.value=r.slice(0,1);return}if(r.length>1){var i=r.slice(1);e.target.value=r.slice(0,1);t[n+1].dispatchEvent(new InputEvent("input",{inputType:"insertFromPaste",data:i}))}t[n+1].focus()}))}))}),[C]);var B=function(){l(false);k(false)};var K=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!R)return[2];return[4,A()];case 1:e=t.sent();if(!e){I(true);return[2]}if(p)y(true);m(true);return[2]}}))}))};var V=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,r,i;return __generator(this,(function(a){switch(a.label){case 0:t=C.querySelectorAll("sl-input");n=Array.from(t).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));if(n.find((function(e){return!e.value}))){k(true);return[2]}r="";n.forEach((function(e){r=""+r+e.value}));if(!R)return[2];k(false);return[4,D(r)];case 1:i=a.sent();if(i===null||i===void 0?void 0:i.success){e.onVerification(i.accessKey);B()}else{k(true)}return[2]}}))}))};s((function(){if(!R)return;if(!d)K();else m(true)}),[R]);return{refs:{codeWrapperRef:w},states:{email:F,emailResent:h,resendError:M||H,initialiseLoading:!R,loading:q||z,verifyFailed:!!T},callbacks:{resendEmail:K,submitCode:V},text:e.getTextProps()}}var I=e("sqm_code_verification",function(){function e(e){n(this,e);this.verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.resendCodeText="Didn't receive your code? {resendCodeLink}";this.resendCodeLabel="Resend code";this.codeResentSuccessfullyText="Another code has been sent to {email}";this.invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.";this.verifyText="Verify";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getTextProps=function(){return m(this)};e.prototype.render=function(){var e=d()?P(this):j(this);return t(k,Object.assign({},e))};return e}());function P(e){var t=this;var n=a(false),r=n[0],i=n[1];var s=f(x);return p({states:{initialiseLoading:false,loading:false,email:"test@example.com",emailResent:r,verifyFailed:false},refs:{codeWrapperRef:function(){}},callbacks:{resendEmail:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,i(true)]}))}))},submitCode:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,s(true)]}))}))}},text:e.getTextProps()},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,e=1,n=arguments.length;e<n;e++){s=arguments[e];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a))t[a]=s[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,e=1,n=arguments.length;e<n;e++){s=arguments[e];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a))t[a]=s[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-15bfd7e2.system.js"],(function(t){"use strict";var s,e,n,a,o,r;return{setters:[function(t){s=t.h;e=t.c;n=t.r},function(t){a=t.n},function(t){o=t.B},function(t){r=t.g}],execute:function(){var c=function(t){var n=t.states,a=t.callbacks;var o=n.styles;return s(e,{class:"squatch-container"},s("div",{style:{padding:t.states.styles.padding},part:"sqm-base"},o.closeButton&&s("span",{part:"sqm-close-button",class:"close squatch-header-close","data-close-panel":"#squatch-panel",onClick:function(){return a.closePopup()}},o.closeButtonText),s("slot",null),o.poweredBy?s("a",{class:"sqh-attribution",href:"https://impact.com/advocate/",target:"_blank"},o.poweredByText):""))};function i(t){var s=o();function e(){var t;if(o()==="POPUP"){(t=window.frameElement["squatchJsApi"])===null||t===void 0?void 0:t.close()}}var n=t.popupPadding?t.popupPadding==="none"?"0":"var(--sl-spacing-"+t.popupPadding+")":"var(--sl-spacing-medium)";var a=t.embedPadding?t.embedPadding==="none"?"0":"var(--sl-spacing-"+t.embedPadding+")":"0";var r=o()==="POPUP"?n:a;return{states:{showCloseButton:t.closeButton&&s==="POPUP",styles:__assign(__assign({},t),{padding:r,closeButtonText:t.closeButtonText?t.closeButtonText:"X",poweredByText:t.poweredByText})},data:{},callbacks:{closePopup:e}}}var p=".squatch-header-close{position:absolute;right:20px;top:10px;cursor:pointer}.squatch-container{background-color:var(--widget-background-color);display:block}";var u=t("sqm_popup_container",function(){function t(t){n(this,t);this.poweredByText="Powered By";a(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r(this);return s(c,Object.assign({},i(t)))};return t}());u.style=p}}}));
|
|
@@ -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-59b028db.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-59b028db.system.js","./p-2074933f.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-67ad2252.system.js","./p-7ff34e84.system.js","./p-e174b704.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,m,f,c,v;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.f;s=e.n},function(e){a=e.d;o=e.J;u=e.w;l=e.$;d=e.i},function(e){m=e.c},function(e){f=e.g},function(){},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),m=d[0],f=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{f((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;f((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:m,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
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,s=arguments.length;e<s;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,s=arguments.length;e<s;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-6c82d60c.system.js"],(function(t){"use strict";var i,e,s,r,n,a,o,l,u,c,d;return{setters:[function(t){i=t.h;e=t.r},function(t){s=t.i;r=t.k;n=t.n},function(t){a=t.i},function(t){o=t.c},function(t){l=t.g},function(t){u=t.c},function(t){c=t.E},function(t){d=t.R}],execute:function(){var p={error:{length:"Length should be a valid positive number",password:"Password should be a valid string"},regex:{digits:"(\\d.*)",letters:"([a-zA-Z].*)",symbols:"([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",spaces:"([\\s].*)"}};var v=p.regex;function h(t,i){if(i&&i>1){var e=parseInt(i,10);return new RegExp(t+"{"+e+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function t(i){this.positive=false;if(i){return h.call(this,i)}return true},has:function t(i){this.positive=true;if(i){return h.call(this,i)}return true},is:function t(){this.positive=true;return true},min:function t(i){return this.password.length>=i},max:function t(i){return this.password.length<=i},digits:function t(i){return h.call(this,v.digits,i)},letters:function t(i){return h.call(this,v.letters,i)},uppercase:function t(i){if(i&&i>1){var e=0;var s=0;while(s<i&&e<this.password.length){var r=this.password.charAt(e);if(r!==r.toLowerCase()){s++}e++}return s===i===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function t(i){if(i&&i>1){var e=0;var s=0;while(s<i&&e<this.password.length){var r=this.password.charAt(e);if(r!==r.toUpperCase()){s++}e++}return s===i===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function t(i){return h.call(this,v.symbols,i)},spaces:function t(i){return h.call(this,v.spaces,i)},oneOf:function t(i){return i.indexOf(this.password)>=0===this.positive}};var m=p.error;function g(t){var i=Number(t);if(isNaN(i)||!Number.isInteger(i)||i<1){throw new Error(m.length)}}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,i){this.properties.push({method:t,arguments:i});return this}var b=function(){function t(){this.properties=[]}t.prototype.validate=function(t,i){var e=this;this.list=Boolean(i&&i.list);this.password=String(t);this.positive=true;if(this.list){return this.properties.reduce((function(t,i){if(!w.call(e,i)){return t.concat(i.method)}return t}),[])}return this.properties.every(w.bind(this))};t.prototype.letters=function(t){t&&g(t);return y.call(this,"letters",arguments)};t.prototype.digits=function(t){t&&g(t);return y.call(this,"digits",arguments)};t.prototype.symbols=function(t){t&&g(t);return y.call(this,"symbols",arguments)};t.prototype.min=function(t){g(t);return y.call(this,"min",arguments)};t.prototype.max=function(t){g(t);return y.call(this,"max",arguments)};t.prototype.lowercase=function(t){t&&g(t);return y.call(this,"lowercase",arguments)};t.prototype.uppercase=function(t){t&&g(t);return y.call(this,"uppercase",arguments)};t.prototype.spaces=function(t){t&&g(t);return y.call(this,"spaces",arguments)};t.prototype.has=function(){return y.call(this,"has",arguments)};t.prototype.not=function(){return y.call(this,"not",arguments)};t.prototype.is=function(){return y.call(this,"is",arguments)};t.prototype.oneOf=function(){return y.call(this,"oneOf",arguments)};return t}();var x=b;var L=(new x).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/);var V=function(t,i){var e=L.validate(t,{list:true});var s=j(e,t,i);return s};var C=function(){return i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},i("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"}))};var _=function(){return i("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("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"}))};var E={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}};var S={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:__assign(__assign({},E),{color:"var(--sl-color-success-600)"}),ValidationItemInvalid:__assign({},E)};var I=u(S);var T=I.toString();var j=function(t,e,s){var r={min:s.minErrorText,uppercase:s.uppercaseErrorText,lowercase:s.lowercaseErrorText,has:s.hasErrorText};if(!t.length&&e)return i("div",{class:I.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},i("style",{type:"text/css"},T),i(C,null)," ",i("span",null,s.meetsRequirementsText));return i("div",{class:I.classes.Base},i("style",{type:"text/css"},T),s.doesNotMeetRequirementsText,i("ul",{class:I.classes.ValidationList},Object.keys(r).map((function(e){return t.includes(e)?i("li",{class:I.classes.ValidationItemInvalid},i(_,null)," ",i("span",null,r[e])):i("li",{class:I.classes.ValidationItemValid},i(C,null)," ",i("span",null,r[e]))}))))};var k={InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:c};var q="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var D=u(k);var F=D.toString();function O(t){var e,s,r,n,a,o,l,u,c,d;var p=t.states,v=t.callbacks;return i("div",{class:D.classes.InputContainer,part:"sqm-base"},i("style",{type:"text/css"},q,F),i("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:p.content.fieldLabel||"Password",required:true,disabled:((e=p.registrationFormState)===null||e===void 0?void 0:e.loading)||((s=p.registrationFormState)===null||s===void 0?void 0:s.disabled),validationError:function(t){var i=t.value;if(!i){return"Cannot be empty"}}},((n=(r=p.registrationFormState)===null||r===void 0?void 0:r.initialData)===null||n===void 0?void 0:n.password)?{value:(o=(a=p.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.password}:{},((u=(l=p.registrationFormState)===null||l===void 0?void 0:l.validationErrors)===null||u===void 0?void 0:u.password)?{class:D.classes.ErrorStyle,helpText:((d=(c=p.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||d===void 0?void 0:d.password)||"Cannot be empty"}:[],{onInput:function(t){return p.enableValidation&&v.onInput(t)}})),p.dynamicValidation)}function M(t){var i=s(d);var e=r(""),n=e[0],a=e[1];function o(i){var e=V(i.target.value,t);a(e)}return{states:{enableValidation:!t.disableValidation,dynamicValidation:n,registrationFormState:i,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:o}}}var R=t("sqm_password_field",function(){function t(t){e(this,t);this.ignored=true;this.fieldLabel="Password";this.disableValidation=false;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";n(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=a()?B(l(this)):M(l(this)),e=t.states,s=t.callbacks;return i(O,{states:e,callbacks:s})};return t}());function B(t){var i,e,s,n,a,l,u;var c=r(""),d=c[0],p=c[1];var v=r(""),h=v[0],f=v[1];if(t.demoData&&h!=((i=t===null||t===void 0?void 0:t.demoData)===null||i===void 0?void 0:i.initValue)){var m=V(((e=t===null||t===void 0?void 0:t.demoData)===null||e===void 0?void 0:e.initValue)||"",t);p(((s=t===null||t===void 0?void 0:t.demoData)===null||s===void 0?void 0:s.initValue)===""?"":m);f((n=t===null||t===void 0?void 0:t.demoData)===null||n===void 0?void 0:n.initValue)}function g(i){var e=V(i.target.value,t);p(e)}return o({states:{enableValidation:!t.disableValidation,dynamicValidation:d,registrationFormState:((l=(a=t===null||t===void 0?void 0:t.demoData)===null||a===void 0?void 0:a.states)===null||l===void 0?void 0:l.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:g}},((u=t===null||t===void 0?void 0:t.demoData)===null||u===void 0?void 0:u.states)||{},{arrayMerge:function(t,i){return i}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js"],(function(t){"use strict";var e,n,o,i,r,c,u,l,a;return{setters:[function(t){e=t.r;n=t.e;o=t.h;i=t.g},function(t){r=t.k;c=t.f;u=t.n},function(t){l=t.g;a=t.i}],execute:function(){function s(t){var e=r(false),n=e[0],o=e[1];var i=r(null),u=i[0],a=i[1];var s=r(400),f=s[0],g=s[1];var d=null;var v=function(){if(u){g(u.clientWidth)}};c((function(){if(!u)return;var t=new ResizeObserver((function(){if(d){clearTimeout(d)}d=setTimeout((function(){v()}),50)}));t.observe(u);v();return function(){return t.disconnect()}}),[u]);c((function(){var e=function(){window.onGoogleLibraryLoad=null;var e=l();if(e.type!=="SquatchPortal")return;var n=function(e){t.initComplete.emit(e)};google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:n});o(true)};if(window.google)e();window.onGoogleLibraryLoad=e}),[]);c((function(){if(!u||!n)return;google.accounts.id.renderButton(u,{theme:"outline",size:"large",text:t.text,height:40,width:f})}),[u,n,f]);return{setGoogleButtonDiv:a}}var f=t("sqm_google_sign_in",function(){function t(t){e(this,t);this.initComplete=n(this,"initComplete",7);this.googleButtonDiv=null;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.connectedCallback=function(){var t="https://accounts.google.com/gsi/client";if(!document.head.querySelector('script[src="'+t+'"]')){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client";e.async=true;document.head.appendChild(e)}};t.prototype.render=function(){var t=(a()?g(this):s(this)).setGoogleButtonDiv;return o("div",{ref:t,style:{width:"100%"}})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());function g(t){var e=r(false),n=e[0],o=e[1];var i=r(null),u=i[0],l=i[1];c((function(){var t=function(){window.onGoogleLibraryLoad=null;o(true)};if(window.google)t();window.onGoogleLibraryLoad=t}),[]);c((function(){if(!u||!n)return;var e=function(){t.initComplete.emit({credential:null})};google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:function(){}});google.accounts.id.renderButton(u,{theme:"outline",size:"large",text:t.text,click_listener:e})}),[u,n]);return{setGoogleButtonDiv:l}}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o}from"./p-c7c11325.js";import{n as r,k as t,f as n}from"./p-63e29387.js";import{i as c,k as e,H as i}from"./p-0ec54f97.js";import{c as a}from"./p-c1086930.js";import{N as m}from"./p-f9c7248e.js";const f=class{constructor(o){s(this,o),this.ignored=!0,this.mobileMenuColor="var(--sqm-text, #444445)",r(this)}disconnectedCallback(){}render(){const s=c()?function(s){return a({mobileMenuColor:s.mobileMenuColor},s.demoData||{},{arrayMerge:(s,o)=>o})}(this):function(s){const o=e(),r=i(),[c,a]=t(!1);return n((()=>{a(!1)}),[o.pathname,r]),{mobileMenuColor:s.mobileMenuColor,checked:c,onClick:function(s){a(s.target.checked)}}}(this);return o(m,Object.assign({},s),o("slot",null))}};export{f as sqm_navigation_sidebar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,c as a}from"./p-c7c11325.js";import{o,f as r,n as c}from"./p-63e29387.js";import{G as n,a as i,E as e,P as l}from"./p-0ec54f97.js";const p=class{constructor(t){s(this,t),this.ignored=!0,c(this)}disconnectedCallback(){}render(){return async function({domain:s}){const t=n(),a=s,c=i(),p=e(a,c,t),[,m]=o(l,p);r((()=>{m(p)}),[p])}(this),t(a,{style:{display:"contents"}},t("slot",null))}};export{p as sqm_graphql_client_provider}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as r,r as t}from"./p-c7c11325.js";import{i as a}from"./p-
|
|
1
|
+
import{h as r,r as t}from"./p-c7c11325.js";import{i as a}from"./p-28c50364.js";import{k as o,f as n,n as e}from"./p-63e29387.js";import{d as s,t as i,w as l,J as p,$ as c,i as d,p as u}from"./p-0ec54f97.js";import{c as m}from"./p-c1086930.js";import{g as b}from"./p-6951663b.js";import{c as f}from"./p-cef45012.js";import{T as v}from"./p-204861a6.js";import{S as h,V as y}from"./p-38c7775a.js";import{u as q}from"./p-c30ad421.js";const x=s.gql`
|
|
2
2
|
mutation upsertUser($userInput: UserInput!) {
|
|
3
3
|
upsertUser(userInput: $userInput) {
|
|
4
4
|
id
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-c7c11325.js";import"./p-28c50364.js";import{k as r,f as i,n as o}from"./p-63e29387.js";import{d as s,J as a,w as l,$ as n,i as u}from"./p-0ec54f97.js";import{c as d}from"./p-c1086930.js";import{g as m}from"./p-6951663b.js";import"./p-cef45012.js";import"./p-204861a6.js";import{P as c}from"./p-699a9b20.js";import{i as v}from"./p-513f5d80.js";const f=s.gql`
|
|
2
|
+
query {
|
|
3
|
+
viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
id
|
|
6
|
+
accountId
|
|
7
|
+
firstName
|
|
8
|
+
lastName
|
|
9
|
+
email
|
|
10
|
+
countryCode
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
`,h=s.gql`
|
|
15
|
+
mutation (
|
|
16
|
+
$id: String!
|
|
17
|
+
$accountId: String!
|
|
18
|
+
$firstName: String!
|
|
19
|
+
$lastName: String!
|
|
20
|
+
) {
|
|
21
|
+
upsertUser(
|
|
22
|
+
userInput: {
|
|
23
|
+
id: $id
|
|
24
|
+
accountId: $accountId
|
|
25
|
+
firstName: $firstName
|
|
26
|
+
lastName: $lastName
|
|
27
|
+
}
|
|
28
|
+
) {
|
|
29
|
+
firstName
|
|
30
|
+
lastName
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`,p={country:"",email:"",firstName:"",lastName:"",errors:{},error:""},b=class{constructor(e){t(this,e),this.ignored=!0,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=!1,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.",o(this)}disconnectedCallback(){}render(){const t=u()?function(t){return d({states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!t.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:t.firstnametext,lastnametext:t.lastnametext,emailtext:t.emailtext,countrytext:t.countrytext,editProfileHeader:t.editProfileHeader,editProfileSubHeader:t.editProfileSubHeader,submitChangeButtonText:t.submitChangeButtonText,submissionSuccessText:t.submissionSuccessText,fieldEmptyText:t.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:t=>console.log(t),onChange:t=>console.log(t)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(m(this)):function(t){const e=a(),[o,s]=r(!1),[u,d]=r(void 0),[m,c]=r(p),b=l(f,{},!(null==e?void 0:e.jwt)),[N,g]=n(h);return i((()=>{(null==g?void 0:g.loading)||((null==g?void 0:g.errors)?c((t=>{var e,r,i;return{...t,error:null===(i=null===(r=null===(e=null==g?void 0:g.errors)||void 0===e?void 0:e.response)||void 0===r?void 0:r.errors)||void 0===i?void 0:i[0].message}})):(d((t=>{var e;return{...t,...null===(e=null==g?void 0:g.data)||void 0===e?void 0:e.upsertUser}})),(null==g?void 0:g.data)&&s(!0)))}),[null==g?void 0:g.loading]),i((()=>{var t,e;d((t=>{var e;return{...t,...null===(e=null==b?void 0:b.data)||void 0===e?void 0:e.viewer}})),c({...p,...null===(t=b.data)||void 0===t?void 0:t.viewer,...null===(e=g.data)||void 0===e?void 0:e.upsertUser})}),[null==b?void 0:b.data]),i((()=>{var e,r;(null===(e=null==g?void 0:g.errors)||void 0===e?void 0:e.message)&&c({...null===(r=b.data)||void 0===r?void 0:r.viewer,error:t.networkRequestMessage})}),[null==g?void 0:g.errors]),{states:{success:o,loading:(null==b?void 0:b.loading)||g.loading,submitDisabled:!1,showCountry:!t.hideCountry,formState:m,user:u,text:{firstnametext:t.firstnametext,lastnametext:t.lastnametext,countrytext:t.countrytext,emailtext:t.emailtext,editProfileHeader:t.editProfileHeader,editProfileSubHeader:t.editProfileSubHeader,submitChangeButtonText:t.submitChangeButtonText}},callbacks:{onSubmit:()=>{if(s(!1),m.firstName&&m.lastName)return N({id:null==e?void 0:e.id,accountId:null==e?void 0:e.accountId,firstName:m.firstName,lastName:m.lastName}),void c((t=>({...t,errors:{},error:""})));const r={};m.firstName||(r.firstName={message:t.fieldEmptyText}),m.lastName||(r.lastName={message:t.fieldEmptyText}),v(r)||c((e=>({...e,error:t.formErrorText}))),c((t=>({...t,errors:r})))},onChange:t=>{const{name:e,value:r}=t.target;c((t=>({...t,[e]:r})))}}}}(m(this));return e(c,Object.assign({},t))}};export{b as sqm_portal_profile}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-c7c11325.js";import{i as a}from"./p-
|
|
1
|
+
import{h as e}from"./p-c7c11325.js";import{i as a}from"./p-28c50364.js";import{c as l}from"./p-cef45012.js";import{T as t}from"./p-204861a6.js";function s(s){var i,r,o,n,p;const{states:d,callbacks:m}=s,{text:u,formState:c}=d,{errors:b,error:v}=c,x=l({Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}}),f=x.toString(),g=(null===(i=d.user)||void 0===i?void 0:i.countryCode)?a.formatDisplayName(null===(r=d.user)||void 0===r?void 0:r.countryCode,{type:"region"}):"";return e("div",{class:x.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},f),e(t,Object.assign({},{type:"h1"}),u.editProfileHeader),e(t,Object.assign({},{type:"h2"}),u.editProfileSubHeader),e("form",{class:x.classes.FormStyle,onSubmit:m.onSubmit},d.success&&e("sqm-form-message",{class:x.classes.Success,exportparts:"success-icon"},e("div",{part:"successalert-text"},u.submissionSuccessText)),v&&e("sqm-form-message",{class:x.classes.Error,type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},v)),e("div",{class:x.classes.NameInputContainer},e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:null===(o=d.user)||void 0===o?void 0:o.firstName,onInput:m.onChange,label:u.firstnametext,disabled:d.loading},(null==b?void 0:b.firstName)&&"valid"!==(null==b?void 0:b.firstName.status)?{class:"ErrorStyles",helpText:u.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(null==b?void 0:b.firstName)&&"valid"!==(null==b?void 0:b.firstName.status)?null==b?void 0:b.firstName.message:void 0})),e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:null===(n=d.user)||void 0===n?void 0:n.lastName,onInput:m.onChange,label:u.lastnametext,disabled:d.loading,id:"lastName",name:"lastName"},(null==b?void 0:b.lastName)&&"valid"!==(null==b?void 0:b.lastName.status)?{class:"ErrorStyles",helpText:u.fieldEmptyText}:[],{error:(null==b?void 0:b.lastName)&&"valid"!==(null==b?void 0:b.lastName.status)?null==b?void 0:b.lastName.message:void 0}))),e("sl-input",{label:u.emailtext,value:null===(p=d.user)||void 0===p?void 0:p.email,exportparts:"label: input-label, base: input-base",disabled:!0}),d.showCountry&&e("sl-input",{label:u.countrytext,value:g,exportparts:"label: input-label, base: input-base",disabled:!0}),e("sl-button",{type:"primary",exportparts:"base: primarybutton-base",loading:d.loading,disabled:d.submitDisabled,onClick:e=>{m.onSubmit(e)},submit:!0},u.submitChangeButtonText)))}export{s as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-4f5329a2.system.js","./p-
|
|
1
|
+
System.register(["./p-4f5329a2.system.js","./p-171310d9.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.i;e=t.y},function(t){n=t._}],execute:function(){t({a:a,u:u});var i=t("R","sq:registration-form-state");var s="sq:registration-form-state-internal";function a(){var t=r(s);var e=r(i);if(!t)return[undefined,undefined];return[e,t[1]]}function u(t){var r=n();var a=e(r,i,t),u=a[0],o=a[1];e(r,s,[u,o]);return{registrationFormState:u,setRegistrationFormState:o}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as r}from"./p-63e29387.js";import{L as o,v as a}from"./p-
|
|
1
|
+
import{k as r}from"./p-63e29387.js";import{L as o,v as a}from"./p-0ec54f97.js";import{j as t}from"./p-e7e129ac.js";import{u as i}from"./p-125a894f.js";function n(n){const e=o(),l=new URLSearchParams(window.location.search),s=null==l?void 0:l.get("_saasquatch"),{registrationFormState:c,setRegistrationFormState:d}=i(),[m,{loading:u}]=a(),[f,v]=r("");return{states:{loading:u,error:null==c?void 0:c.error,registrationFormState:c},callbacks:{submit:async r=>{var o;v("");let a=r.target.getFormControls(),i=r.detail.formData,l={};null==a||a.map((r=>{if(!r.name)return;const o=r.name,a=r.value;if(t.set(i,o,a),r.required&&!a&&t.set(l,o,n.requiredFieldErrorMessage),"function"==typeof r.validationError){const i=(0,r.validationError)({control:r,key:o,value:a});i&&t.set(l,o,i)}}));const u={firstName:i.firstName,lastName:i.lastName,email:i.email,locale:e,...(null==n?void 0:n.includeCookies)&&s?{cookies:s}:{}};try{const r=await m(u);if(r instanceof Error)throw r;d({...c,loading:!1,error:"",validationErrors:{}})}catch(r){(null===(o=null==r?void 0:r.message)||void 0===o?void 0:o.includes("is not valid"))?d({...c,loading:!1,error:"",validationErrors:{email:n.invalidEmailErrorMessage}}):d("fraud_error"===(null==r?void 0:r.name)?{...c,loading:!1,error:"FRAUD"}:{...c,loading:!1,error:n.networkErrorMessage,validationErrors:{}})}}}}}export{n as u}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,n){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:n})}else{e.raw=n}return e};var __awaiter=this&&this.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(a,u)}c((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(n){return c([e,n])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-4f5329a2.system.js","./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,n){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:n})}else{e.raw=n}return e};var __awaiter=this&&this.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(a,u)}c((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(n){return c([e,n])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-4f5329a2.system.js","./p-171310d9.system.js"],(function(e){"use strict";var n,t,r,o,i,a,u;return{setters:[function(e){n=e.k;t=e.f},function(e){r=e.d;o=e.J;i=e.$;a=e.g;u=e.w}],execute:function(){e({a:Ke,g:ze,u:Ye});var c=e("T","sqm:tax-form-updated");var f=function e(n){var t=Array(n.length);for(var r=0;r<n.length;++r){t[r]=n[r]}return t};var s=function e(n,t){return n.filter((function(e){return e===t}))[0]};var d=function e(n){return Array.isArray(n)?n:[n]};var l=function e(n,t){var r=n.tabIndex-t.tabIndex;var o=n.index-t.index;if(r){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return r||o};var v=function e(n,t,r){return f(n).map((function(e,n){return{node:e,index:n,tabIndex:r&&e.tabIndex===-1?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(l)};var m=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var E="data-focus-lock";var h="data-focus-lock-disabled";var p="data-no-focus-lock";var y="data-autofocus-inside";var I=m.join(",");var g=I+", [data-focus-guard]";var b=function e(n,t){return n.reduce((function(e,n){return e.concat(f(n.querySelectorAll(t?g:I)),n.parentNode?f(n.parentNode.querySelectorAll(m.join(","))).filter((function(e){return e===n})):[])}),[])};var w=function e(n){var t=n.querySelectorAll("["+y+"]");return f(t).map((function(e){return b([e])})).reduce((function(e,n){return e.concat(n)}),[])};var R=function e(n){if(!n||!n.getPropertyValue){return false}return n.getPropertyValue("display")==="none"||n.getPropertyValue("visibility")==="hidden"};var _=function e(n){return!n||n===document||n.nodeType===Node.DOCUMENT_NODE||!R(window.getComputedStyle(n,null))&&e(n.parentNode)};var F=function e(n){return!((n.tagName==="INPUT"||n.tagName==="BUTTON")&&(n.type==="hidden"||n.disabled))};var T=function e(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];t.push(n);if(n.parentNode){e(n.parentNode,t)}return t};var S=function e(n,t){var r=T(n);var o=T(t);for(var i=0;i<r.length;i+=1){var a=r[i];if(o.indexOf(a)>=0){return a}}return false};var D=function e(n){return f(n).filter((function(e){return _(e)})).filter((function(e){return F(e)}))};var A=function e(n,t){return v(D(b(n,t)),true,t)};var N=function e(n){return v(D(b(n)),false)};var O=function e(n){return D(w(n))};var x=function e(n){return n.tagName==="INPUT"&&n.type==="radio"};var V=function e(n,t){return t.filter(x).filter((function(e){return e.name===n.name})).filter((function(e){return e.checked}))[0]||n};var C=function e(n){if(n[0]&&n.length>1){if(x(n[0])&&n[0].name){return V(n[0],n)}}return n[0]};var L=function e(n,t){if(n.length>1){if(x(n[t])&&n[t].name){return n.indexOf(V(n[t],n))}}return t};var U=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var k=function e(n){var t=n.length;for(var r=0;r<t;r+=1){var o=function t(o){if(r!==o){if(n[r].contains(n[o])){return{v:e(n.filter((function(e){return e!==n[o]})))}}}};for(var i=0;i<t;i+=1){var a=o(i);if((typeof a==="undefined"?"undefined":U(a))==="object")return a.v}}return n};var P=function e(n){return n.parentNode?e(n.parentNode):n};var H=function e(n){var t=d(n);return t.filter(Boolean).reduce((function(e,n){var t=n.getAttribute(E);e.push.apply(e,t?k(f(P(n).querySelectorAll("["+E+'="'+t+'"]:not(['+h+'="disabled"])'))):[n]);return e}),[])};var M=function e(n){return function(e){return!!e.autofocus||e.dataset&&!!e.dataset.autofocus||n.indexOf(e)>=0}};var B=function e(n){return n&&n.dataset&&n.dataset.focusGuard};var j=function e(n){return!B(n)};var q=function e(n,t,r,o,i){var a=n.length;var u=n[0];var c=n[a-1];var f=B(r);if(n.indexOf(r)>=0){return undefined}var s=t.indexOf(r);var d=t.indexOf(o||s);var l=n.indexOf(o);var v=s-d;var m=t.indexOf(u);var E=t.indexOf(c);var h=L(n,0);var p=L(n,a-1);if(s===-1||l===-1){return n.indexOf(i&&i.length?C(i):C(n))}if(!v&&l>=0){return l}if(s<=m&&f&&Math.abs(v)>1){return p}if(s>=m&&f&&Math.abs(v)>1){return h}if(v&&Math.abs(v)>1){return l}if(s<=m){return p}if(s>E){return h}if(v){if(Math.abs(v)>1){return l}return(a+l+v)%a}return undefined};var W=function e(n,t,r){var o=d(n);var i=d(t);var a=o[0];var u=null;i.filter(Boolean).forEach((function(e){u=S(u||e,e)||u;r.filter(Boolean).forEach((function(e){var n=S(a,e);if(n){if(!u||n.contains(u)){u=n}else{u=S(n,u)}}}))}));return u};var Q=function e(n){return n.reduce((function(e,n){return e.concat(O(n))}),[])};var $=function e(n,t){var r=new Map;t.forEach((function(e){return r.set(e.node,e)}));return n.map((function(e){return r.get(e)})).filter(Boolean)};var K=function e(n,t){var r=document&&document.activeElement;var o=H(n).filter(j);var i=W(r||n,n,o);var a=A(o).filter((function(e){var n=e.node;return j(n)}));if(!a[0]){a=N(o).filter((function(e){var n=e.node;return j(n)}));if(!a[0]){return undefined}}var u=A([i]).map((function(e){var n=e.node;return n}));var c=$(u,a);var f=c.map((function(e){var n=e.node;return n}));var s=q(f,u,r,t,f.filter(M(Q(o))));if(s===undefined){return s}return c[s]};var G=function e(n){return n===document.activeElement};var z=function e(n){return!!s(f(n.querySelectorAll("iframe")),G)};var Y=function e(n){var t=document&&document.activeElement;if(!t||t.dataset&&t.dataset.focusGuard){return false}return H(n).reduce((function(e,n){return e||n.contains(t)||z(n)}),false)};var X=function e(){return document&&f(document.querySelectorAll("["+p+"]")).some((function(e){return e.contains(document.activeElement)}))};var J=function e(n){n.focus();if(n.contentWindow){n.contentWindow.focus()}};var Z=0;var ee=false;var ne=function(e,n){var t=K(e,n);if(ee){return}if(t){if(Z>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. "+"See https://github.com/theKashey/focus-lock/#focus-fighting");ee=true;setTimeout((function(){ee=false}),1);return}Z++;J(t.node);Z--}};var te=0;var re=null;var oe=function e(){return document&&document.activeElement===document.body};var ie=function e(){return oe()||X()};var ae=function e(){var n=false;if(te){var t=te;if(!ie()){if(t&&!Y(t)){n=ne(t,re)}re=document.activeElement}}return n};var ue=function e(n){return n.filter((function(e){return e})).slice(-1)[0]};var ce=function e(n){te=n;if(n){ae()}};var fe=[];var se=function e(n){if(ce(ue(fe))){n&&n.preventDefault();return true}return false};var de=function e(){document.addEventListener("focusin",se)};var le=function e(){document.removeEventListener("focusin",se)};var ve={on:function e(n){if(fe.length===0){de()}if(fe.indexOf(n)<0){fe.push(n);se()}},off:function e(n){fe=fe.filter((function(e){return e!==n}));se();if(fe.length===0){le()}}};
|
|
2
2
|
/**
|
|
3
3
|
* tua-body-scroll-lock v1.2.1
|
|
4
4
|
* (c) 2021 Evinma, BuptStEve
|