@saasquatch/mint-components 1.6.2-0 → 1.6.2-3
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-7b7dd5e3.js → ShadowViewAddon-1c9ca20c.js} +17 -17
- package/dist/cjs/{global-6e1584a6.js → global-58e5d657.js} +2 -2
- package/dist/cjs/{index.module-d169a23f.js → index.module-7eab8006.js} +26 -26
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-83d1c1f0.js → re-render-111a3ebb.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +75 -75
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-navigation-sidebar-item-view-7ff14840.js → sqm-navigation-sidebar-item-view-6020bdf9.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-email-verification-view-6b4ef802.js → sqm-portal-email-verification-view-eebe6329.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-footer-view-204583ac.js → sqm-portal-footer-view-531c12fe.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-444c8e2c.js → sqm-portal-profile-view-d0818828.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +13 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +83 -83
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-36106d83.js → useChildElements-3a4087c1.js} +2 -2
- package/dist/cjs/{useReferralTable-1aab8416.js → useReferralTable-a04fa0e5.js} +8 -8
- package/dist/cjs/{useValidationState-733d7e8c.js → useValidationState-942d11da.js} +2 -2
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +27 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +1 -0
- package/dist/esm/{ShadowViewAddon-82a3c62b.js → ShadowViewAddon-77643eb3.js} +19 -19
- package/dist/esm/{global-59aa17be.js → global-79d68d1f.js} +3 -3
- package/dist/esm/{index.module-c6c6943f.js → index.module-8e654eb1.js} +5 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-578505e2.js → luxon-38ca2169.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-e804551e.js → re-render-cd65b629.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-big-stat_35.entry.js +78 -78
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/{sqm-hero-view-b54265df.js → sqm-hero-view-93fac447.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-navigation-sidebar-item-view-4181f286.js → sqm-navigation-sidebar-item-view-52b5e3b9.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-5b888e5c.js → sqm-portal-email-verification-view-7dafea6c.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/{sqm-portal-footer-view-56689d55.js → sqm-portal-footer-view-a857dd94.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +5 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +6 -6
- package/dist/esm/{sqm-portal-profile-view-148efa76.js → sqm-portal-profile-view-785773e9.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -8
- package/dist/esm/sqm-portal-registration-form.entry.js +15 -8
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
- package/dist/esm/sqm-portal-verify-email.entry.js +8 -8
- package/dist/esm/sqm-qa-referral-card.entry.js +1 -1
- package/dist/esm/sqm-qa-tabs.entry.js +5 -5
- package/dist/esm/sqm-qa.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +9 -9
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +13 -13
- package/dist/esm/sqm-stencilbook.entry.js +87 -87
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-e39af977.js → stencil-hooks.module-66fea7dc.js} +1 -1
- package/dist/esm/{use-callback-697e2ff0.js → use-callback-69ec5c5c.js} +1 -1
- package/dist/esm/{useChildElements-31287783.js → useChildElements-5a1262d5.js} +3 -3
- package/dist/esm/{useReferralTable-1693d531.js → useReferralTable-6c14c78f.js} +9 -9
- package/dist/esm/{useValidationState-f5db8783.js → useValidationState-34e24357.js} +3 -3
- package/dist/esm-es5/{ShadowViewAddon-82a3c62b.js → ShadowViewAddon-77643eb3.js} +1 -1
- package/dist/esm-es5/{global-59aa17be.js → global-79d68d1f.js} +2 -2
- package/dist/esm-es5/{index.module-c6c6943f.js → index.module-8e654eb1.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-578505e2.js → luxon-38ca2169.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-cd65b629.js +1 -0
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-b54265df.js → sqm-hero-view-93fac447.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-52b5e3b9.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-5b888e5c.js → sqm-portal-email-verification-view-7dafea6c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-56689d55.js → sqm-portal-footer-view-a857dd94.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-148efa76.js → sqm-portal-profile-view-785773e9.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-qa-referral-card.entry.js +1 -1
- package/dist/esm-es5/sqm-qa-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-qa.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-cell.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-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e39af977.js → stencil-hooks.module-66fea7dc.js} +1 -1
- package/dist/esm-es5/use-callback-69ec5c5c.js +1 -0
- package/dist/esm-es5/{useChildElements-31287783.js → useChildElements-5a1262d5.js} +1 -1
- package/dist/esm-es5/{useReferralTable-1693d531.js → useReferralTable-6c14c78f.js} +1 -1
- package/dist/esm-es5/{useValidationState-f5db8783.js → useValidationState-34e24357.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-0b3b7596.entry.js → p-0049fc60.entry.js} +1 -1
- package/dist/mint-components/{p-e00abc43.system.entry.js → p-00893b1e.system.entry.js} +1 -1
- package/dist/mint-components/{p-51c3cec9.system.entry.js → p-0c6077a8.system.entry.js} +1 -1
- package/dist/mint-components/{p-1125c6ef.entry.js → p-1260d387.entry.js} +1 -1
- package/dist/mint-components/{p-5674fe4d.js → p-12b08957.js} +1 -1
- package/dist/mint-components/{p-916a8f50.js → p-1644c8e4.js} +1 -1
- package/dist/mint-components/{p-dced4933.system.entry.js → p-1670c8d5.system.entry.js} +1 -1
- package/dist/mint-components/{p-b1918aeb.system.entry.js → p-16beb451.system.entry.js} +1 -1
- package/dist/mint-components/{p-648022ed.entry.js → p-1d11d313.entry.js} +8 -8
- package/dist/mint-components/{p-e3acae66.system.js → p-201076d0.system.js} +1 -1
- package/dist/mint-components/{p-c1c9bd9d.system.js → p-20f0c0cc.system.js} +1 -1
- package/dist/mint-components/{p-965b2770.system.entry.js → p-250e8ca9.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4a62f35.entry.js → p-27557cc8.entry.js} +1 -1
- package/dist/mint-components/{p-f86ba72a.system.entry.js → p-27a8ee57.system.entry.js} +1 -1
- package/dist/mint-components/{p-1706b667.system.entry.js → p-29f82c6d.system.entry.js} +1 -1
- package/dist/mint-components/{p-33e657bf.entry.js → p-2db3e574.entry.js} +1 -1
- package/dist/mint-components/{p-0616e87e.system.entry.js → p-2e827a20.system.entry.js} +1 -1
- package/dist/mint-components/{p-22b1898f.entry.js → p-36ff7a62.entry.js} +1 -1
- package/dist/mint-components/{p-c8c83a9e.system.entry.js → p-433f243c.system.entry.js} +1 -1
- package/dist/mint-components/{p-a8efda40.js → p-4392ba94.js} +1 -1
- package/dist/mint-components/p-458416a0.system.js +1 -0
- package/dist/mint-components/{p-6dc6ed05.entry.js → p-4587520e.entry.js} +1 -1
- package/dist/mint-components/p-45d161fe.entry.js +1 -0
- package/dist/mint-components/{p-6352cbee.entry.js → p-46ed891a.entry.js} +1 -1
- package/dist/mint-components/{p-ea5afb36.system.entry.js → p-47aa639f.system.entry.js} +1 -1
- package/dist/mint-components/{p-73046229.js → p-494c99f7.js} +1 -1
- package/dist/mint-components/p-4b34c8b6.system.js +1 -0
- package/dist/mint-components/{p-c14b6ff9.system.entry.js → p-4c2cec5c.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5debea4.entry.js → p-4c93df52.entry.js} +1 -1
- package/dist/mint-components/{p-4d90bec1.system.entry.js → p-4cdef37c.system.entry.js} +1 -1
- package/dist/mint-components/p-4e89da81.js +1 -0
- package/dist/mint-components/{p-72ebbd38.js → p-50cb9888.js} +1 -1
- package/dist/mint-components/{p-946de27f.system.js → p-5aedc3a5.system.js} +1 -1
- package/dist/mint-components/{p-199defdf.js → p-5f2d84e2.js} +2 -2
- package/dist/mint-components/{p-b0bcbf67.js → p-60ae6839.js} +1 -1
- package/dist/mint-components/p-6d0a42f8.system.entry.js +1 -0
- package/dist/mint-components/{p-8153deff.entry.js → p-72435015.entry.js} +1 -1
- package/dist/mint-components/{p-2ba9b60a.system.entry.js → p-72dd2010.system.entry.js} +1 -1
- package/dist/mint-components/{p-30b3592f.js → p-78c7b4b7.js} +1 -1
- package/dist/mint-components/{p-e175ad25.js → p-7ba78151.js} +1 -1
- package/dist/mint-components/{p-1537ba4c.system.entry.js → p-89841802.system.entry.js} +1 -1
- package/dist/mint-components/{p-8f09f202.entry.js → p-89d8133d.entry.js} +1 -1
- package/dist/mint-components/{p-dc7b06ef.system.js → p-8a0cf4be.system.js} +1 -1
- package/dist/mint-components/p-9311fb68.entry.js +1 -0
- package/dist/mint-components/{p-6dabc870.system.entry.js → p-955ecee3.system.entry.js} +1 -1
- package/dist/mint-components/{p-79c04821.system.entry.js → p-986000f9.system.entry.js} +1 -1
- package/dist/mint-components/{p-4519c6d9.system.js → p-9bac73dc.system.js} +1 -1
- package/dist/mint-components/p-9c58002f.entry.js +1 -0
- package/dist/mint-components/{p-7cec4e63.entry.js → p-a3f87461.entry.js} +1 -1
- package/dist/mint-components/{p-0accfb5c.system.entry.js → p-a6291305.system.entry.js} +1 -1
- package/dist/mint-components/p-a7895b97.system.entry.js +1 -0
- package/dist/mint-components/{p-dfb6765a.system.js → p-a94d07d9.system.js} +1 -1
- package/dist/mint-components/{p-6882f2bb.js → p-ad04fd37.js} +1 -1
- package/dist/mint-components/p-af290d9f.entry.js +1 -0
- package/dist/mint-components/{p-675d6c48.system.entry.js → p-b2ad0a75.system.entry.js} +1 -1
- package/dist/mint-components/p-b670cff3.system.js +1 -0
- package/dist/mint-components/{p-7c660f98.entry.js → p-b7b610d9.entry.js} +1 -1
- package/dist/mint-components/{p-706e42f0.system.js → p-bc796bc0.system.js} +1 -1
- package/dist/mint-components/{p-8f12df83.js → p-bdf8f103.js} +1 -1
- package/dist/mint-components/{p-82d1bb86.entry.js → p-c14b8c38.entry.js} +1 -1
- package/dist/mint-components/{p-aa998fc1.entry.js → p-c2b5997d.entry.js} +1 -1
- package/dist/mint-components/{p-97a63829.js → p-c6fc021c.js} +1 -1
- package/dist/mint-components/{p-3913a42f.system.entry.js → p-c7514dbd.system.entry.js} +1 -1
- package/dist/mint-components/{p-8425534f.entry.js → p-c7bc2261.entry.js} +1 -1
- package/dist/mint-components/{p-ddeba605.system.entry.js → p-c7eaa296.system.entry.js} +1 -1
- package/dist/mint-components/{p-90efeeb4.entry.js → p-c88cb982.entry.js} +1 -1
- package/dist/mint-components/{p-f0e2df53.system.entry.js → p-c9977e50.system.entry.js} +1 -1
- package/dist/mint-components/p-ca2819e8.system.js +1 -0
- package/dist/mint-components/{p-55678b75.system.entry.js → p-cbe1f72a.system.entry.js} +1 -1
- package/dist/mint-components/{p-69f10938.entry.js → p-cc6f7cb5.entry.js} +1 -1
- package/dist/mint-components/{p-eeca87d4.system.entry.js → p-cd4ae408.system.entry.js} +1 -1
- package/dist/mint-components/p-cdabe7a8.js +1 -0
- package/dist/mint-components/{p-144583fb.entry.js → p-cfce9e5c.entry.js} +1 -1
- package/dist/mint-components/{p-46aabfb7.entry.js → p-d1aef95c.entry.js} +1 -1
- package/dist/mint-components/p-d3c61681.system.js +1 -0
- package/dist/mint-components/{p-10483359.entry.js → p-d5be4f5e.entry.js} +2 -2
- package/dist/mint-components/{p-98eab726.system.js → p-d78b809c.system.js} +1 -1
- package/dist/mint-components/{p-29ceaa99.system.entry.js → p-d7d007fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-ae1a283d.entry.js → p-d8c1aa2f.entry.js} +1 -1
- package/dist/mint-components/{p-11a1a6a8.js → p-d8f4703a.js} +1 -1
- package/dist/mint-components/{p-92c99ab9.system.js → p-da02c4e6.system.js} +1 -1
- package/dist/mint-components/{p-5ad360ab.entry.js → p-dc2120a9.entry.js} +2 -2
- package/dist/mint-components/{p-48a1e759.entry.js → p-dd627dd0.entry.js} +1 -1
- package/dist/mint-components/p-e013289c.entry.js +1 -0
- package/dist/mint-components/{p-c4b55529.system.entry.js → p-e0140005.system.entry.js} +1 -1
- package/dist/mint-components/p-e2fe2d6f.entry.js +1 -0
- package/dist/mint-components/{p-8858d00c.system.js → p-e5d4a15d.system.js} +1 -1
- package/dist/mint-components/p-e647c594.entry.js +1 -0
- package/dist/mint-components/{p-fb7288a2.system.js → p-e907c45c.system.js} +1 -1
- package/dist/mint-components/{p-5b2d40f4.system.entry.js → p-f2efaa41.system.entry.js} +1 -1
- package/dist/mint-components/{p-1e665fe0.system.entry.js → p-f79a103c.system.entry.js} +1 -1
- package/dist/mint-components/{p-d8d0ec81.system.entry.js → p-fb8715c9.system.entry.js} +1 -1
- package/dist/mint-components/{p-c11237bf.system.entry.js → p-fd2e16a3.system.entry.js} +1 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +6 -0
- package/dist/types/components.d.ts +10 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/re-render-e804551e.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-4181f286.js +0 -1
- package/dist/esm-es5/use-callback-697e2ff0.js +0 -1
- package/dist/mint-components/p-154958ee.system.js +0 -1
- package/dist/mint-components/p-165bfabc.entry.js +0 -1
- package/dist/mint-components/p-2c64d0fb.entry.js +0 -1
- package/dist/mint-components/p-31553b15.entry.js +0 -1
- package/dist/mint-components/p-3521c62c.entry.js +0 -1
- package/dist/mint-components/p-3915b77c.entry.js +0 -1
- package/dist/mint-components/p-3b99eaf1.js +0 -1
- package/dist/mint-components/p-408f983a.system.js +0 -1
- package/dist/mint-components/p-71a504fd.system.js +0 -1
- package/dist/mint-components/p-745255d9.entry.js +0 -1
- package/dist/mint-components/p-c8c4e727.system.entry.js +0 -1
- package/dist/mint-components/p-d67a6057.entry.js +0 -1
- package/dist/mint-components/p-d9c3f39a.system.entry.js +0 -1
- package/dist/mint-components/p-e28dd7a3.system.js +0 -1
- package/dist/mint-components/p-e39919d4.system.js +0 -1
- package/dist/mint-components/p-ee461c80.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { J } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
|
|
@@ -16,10 +16,10 @@ const PopupContainerView = (props) => {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
function usePopupContainer(props) {
|
|
19
|
-
const engagementMedium =
|
|
19
|
+
const engagementMedium = J();
|
|
20
20
|
function closePopup() {
|
|
21
21
|
var _a;
|
|
22
|
-
if (
|
|
22
|
+
if (J() === "POPUP") {
|
|
23
23
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -33,7 +33,7 @@ function usePopupContainer(props) {
|
|
|
33
33
|
? "0"
|
|
34
34
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
35
35
|
: "0";
|
|
36
|
-
const padding =
|
|
36
|
+
const padding = J() === "POPUP" ? popupPadding : embedPadding;
|
|
37
37
|
return {
|
|
38
38
|
states: {
|
|
39
39
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-79d68d1f.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './global-79d68d1f.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { v as vn, a as ae, L } from './index.module-8e654eb1.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import './JSS-f00f9536.js';
|
|
10
10
|
import './sqm-text-span-view-0ba1484d.js';
|
|
11
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
11
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-7dafea6c.js';
|
|
12
12
|
|
|
13
13
|
function usePortalEmailVerification(props) {
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
15
|
-
const [request, { loading, data, errors }] =
|
|
16
|
-
const userIdent =
|
|
15
|
+
const [request, { loading, data, errors }] = vn();
|
|
16
|
+
const userIdent = ae();
|
|
17
17
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
18
18
|
const [success, setSuccess] = useState(false);
|
|
19
19
|
const [error, setError] = useState("");
|
|
@@ -85,7 +85,7 @@ const PortalEmailVerification = class {
|
|
|
85
85
|
}
|
|
86
86
|
disconnectedCallback() { }
|
|
87
87
|
render() {
|
|
88
|
-
const { states, callbacks, content } =
|
|
88
|
+
const { states, callbacks, content } = L()
|
|
89
89
|
? usePortalEmailVerificationDemo(this)
|
|
90
90
|
: usePortalEmailVerification(this);
|
|
91
91
|
return (h$1(PortalEmailVerificationView, { states: states, callbacks: callbacks, content: content }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-79d68d1f.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
4
4
|
|
|
5
5
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './global-79d68d1f.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import './index.module-8e654eb1.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import './JSS-f00f9536.js';
|
|
8
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
|
-
import { P as PortalFooterView } from './sqm-portal-footer-view-
|
|
9
|
+
import { P as PortalFooterView } from './sqm-portal-footer-view-a857dd94.js';
|
|
10
10
|
|
|
11
11
|
const PortalFooter = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { f as fn, L, I as In } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -14,7 +14,7 @@ function usePortalForgotPassword(props) {
|
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
15
15
|
const [success, setSuccess] = useState(false);
|
|
16
16
|
const [error, setError] = useState("");
|
|
17
|
-
const [request, { loading, data, errors }] =
|
|
17
|
+
const [request, { loading, data, errors }] = fn();
|
|
18
18
|
const urlParams = new URLSearchParams(window.location.search);
|
|
19
19
|
const nextPage = urlParams.get("nextPage");
|
|
20
20
|
const submit = async (event) => {
|
|
@@ -80,11 +80,11 @@ const PortalForgotPassword = class {
|
|
|
80
80
|
}
|
|
81
81
|
disconnectedCallback() { }
|
|
82
82
|
render() {
|
|
83
|
-
const { states, callbacks } =
|
|
83
|
+
const { states, callbacks } = L()
|
|
84
84
|
? usePortalForgotPasswordDemo(this)
|
|
85
85
|
: usePortalForgotPassword(this);
|
|
86
86
|
const content = {
|
|
87
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
87
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => In.push(states.loginPath) }, "Sign In"))),
|
|
88
88
|
messageSlot: (h$1("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
|
|
89
89
|
emailLabel: this.emailLabel,
|
|
90
90
|
submitLabel: this.submitLabel,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { t as te, I as In, L } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
function usePortalLogout({ nextPage }) {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
te(undefined);
|
|
9
|
+
In.push({ pathname: nextPage, search: "" });
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const PortalLogout = class {
|
|
@@ -21,7 +21,7 @@ const PortalLogout = class {
|
|
|
21
21
|
}
|
|
22
22
|
disconnectedCallback() { }
|
|
23
23
|
render() {
|
|
24
|
-
|
|
24
|
+
L() ? useLogoutDemo() : usePortalLogout(this);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
function useLogoutDemo({}) { }
|
package/dist/esm/{sqm-portal-profile-view-148efa76.js → sqm-portal-profile-view-785773e9.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-79d68d1f.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
5
5
|
import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { d as dist,
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './global-79d68d1f.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { d as dist, a as ae, w as wn, j as je, L } from './index.module-8e654eb1.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './JSS-f00f9536.js';
|
|
9
9
|
import { g as getProps } from './utils-334c1e34.js';
|
|
10
10
|
import './sqm-text-span-view-0ba1484d.js';
|
|
11
11
|
import './sqm-portal-container-view-ca454627.js';
|
|
12
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
12
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-785773e9.js';
|
|
13
13
|
|
|
14
14
|
const GET_USER = dist.gql `
|
|
15
15
|
query {
|
|
@@ -55,12 +55,12 @@ const defaultFormState = {
|
|
|
55
55
|
error: "",
|
|
56
56
|
};
|
|
57
57
|
function usePortalProfile(props) {
|
|
58
|
-
const userIdent =
|
|
58
|
+
const userIdent = ae();
|
|
59
59
|
const [success, setSuccess] = useState(false);
|
|
60
60
|
const [userData, setUserData] = useState(undefined);
|
|
61
61
|
const [formState, setFormState] = useState(defaultFormState);
|
|
62
|
-
const userDataResponse =
|
|
63
|
-
const [upsertUser, upsertUserResponse] =
|
|
62
|
+
const userDataResponse = wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
63
|
+
const [upsertUser, upsertUserResponse] = je(UPSERT_USER);
|
|
64
64
|
useEffect(() => {
|
|
65
65
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
66
66
|
return;
|
|
@@ -208,7 +208,7 @@ const PortalProfile = class {
|
|
|
208
208
|
}
|
|
209
209
|
disconnectedCallback() { }
|
|
210
210
|
render() {
|
|
211
|
-
const props =
|
|
211
|
+
const props = L()
|
|
212
212
|
? usePortalProfileDemo(getProps(this))
|
|
213
213
|
: usePortalProfile(getProps(this));
|
|
214
214
|
return h$1(PortalProfileView, Object.assign({}, props));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { e as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { a as ae, F as Fn, I as In, L } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
|
|
7
7
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
8
8
|
var _a;
|
|
9
|
-
const userIdent =
|
|
9
|
+
const userIdent = ae();
|
|
10
10
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
11
11
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
12
|
-
const { pathname, search } =
|
|
12
|
+
const { pathname, search } = Fn();
|
|
13
13
|
const nextPageParam = new URLSearchParams();
|
|
14
14
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
15
15
|
useEffect(() => {
|
|
16
16
|
if (!authenticated) {
|
|
17
|
-
return
|
|
17
|
+
return In.push({
|
|
18
18
|
pathname: redirectTo,
|
|
19
19
|
search: "?" + nextPageParam.toString(),
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
if (requireEmailVerification && !emailVerified) {
|
|
23
|
-
return
|
|
23
|
+
return In.push({
|
|
24
24
|
pathname: redirectToUnverified || redirectTo,
|
|
25
25
|
search: "?" + nextPageParam.toString(),
|
|
26
26
|
});
|
|
@@ -50,7 +50,7 @@ const PortalProtectedRoute = class {
|
|
|
50
50
|
}
|
|
51
51
|
disconnectedCallback() { }
|
|
52
52
|
render() {
|
|
53
|
-
const hasUser =
|
|
53
|
+
const hasUser = L()
|
|
54
54
|
? usePortalProtectedRouteDemo()
|
|
55
55
|
: usePortalProtectedRoute(this);
|
|
56
56
|
return (h$1(Host, { style: { display: hasUser ? "contents" : "none" } }, h$1("slot", null)));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { j as useRef, e as useEffect, m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-69ec5c5c.js';
|
|
4
|
+
import { W as We, I as In, L } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
9
9
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
10
10
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
11
|
-
import { u as useValidationState, A as AsYouType } from './useValidationState-
|
|
11
|
+
import { u as useValidationState, A as AsYouType } from './useValidationState-34e24357.js';
|
|
12
12
|
|
|
13
13
|
const style = {
|
|
14
14
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
@@ -85,7 +85,7 @@ function usePortalRegistrationForm(props) {
|
|
|
85
85
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
86
86
|
const formRef = useRef(null);
|
|
87
87
|
const { validationState, setValidationState } = useValidationState({});
|
|
88
|
-
const [request, { loading, errors, data, formError }] =
|
|
88
|
+
const [request, { loading, errors, data, formError }] = We();
|
|
89
89
|
const submit = async (event) => {
|
|
90
90
|
let formControls = event.target.getFormControls();
|
|
91
91
|
let formData = {};
|
|
@@ -127,6 +127,7 @@ function usePortalRegistrationForm(props) {
|
|
|
127
127
|
formData = { ...formData };
|
|
128
128
|
const redirectPath = props.redirectPath;
|
|
129
129
|
const variables = {
|
|
130
|
+
key: props.formKey,
|
|
130
131
|
email,
|
|
131
132
|
password,
|
|
132
133
|
formData,
|
|
@@ -154,7 +155,7 @@ function usePortalRegistrationForm(props) {
|
|
|
154
155
|
managedIdentityResponse.result.results.length &&
|
|
155
156
|
managedIdentityResponse.result.results[0].success &&
|
|
156
157
|
managedIdentityResponse.result.results[0].data.token) {
|
|
157
|
-
|
|
158
|
+
In.push(props.nextPage);
|
|
158
159
|
}
|
|
159
160
|
}, [data === null || data === void 0 ? void 0 : data.submitForm]);
|
|
160
161
|
useEffect(() => {
|
|
@@ -260,16 +261,22 @@ const PortalRegistrationForm = class {
|
|
|
260
261
|
* @uiName Login Path
|
|
261
262
|
*/
|
|
262
263
|
this.loginPath = "/login";
|
|
264
|
+
/**
|
|
265
|
+
* Microsite Registration Form Key
|
|
266
|
+
*
|
|
267
|
+
* @uiName Form Key
|
|
268
|
+
*/
|
|
269
|
+
this.formKey = "microsite-registration-form";
|
|
263
270
|
h$1(this);
|
|
264
271
|
}
|
|
265
272
|
disconnectedCallback() { }
|
|
266
273
|
render() {
|
|
267
|
-
const { states, callbacks, refs } =
|
|
274
|
+
const { states, callbacks, refs } = L()
|
|
268
275
|
? useRegisterDemo(this)
|
|
269
276
|
: usePortalRegistrationForm(this);
|
|
270
277
|
const content = {
|
|
271
278
|
formData: h("slot", { name: "formData" }),
|
|
272
|
-
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
279
|
+
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => In.push(states.loginPath) }, this.loginLabel))),
|
|
273
280
|
terms: h("slot", { name: "terms" }),
|
|
274
281
|
emailLabel: this.emailLabel,
|
|
275
282
|
passwordLabel: this.passwordLabel,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { K as Ke, G as Ge, I as In, L } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -15,8 +15,8 @@ function usePortalResetPassword(props) {
|
|
|
15
15
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
16
16
|
const [reset, setReset] = useState(false);
|
|
17
17
|
const [error, setError] = useState("");
|
|
18
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
19
|
-
const [resetPassword, resetPasswordState] =
|
|
18
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Ke();
|
|
19
|
+
const [resetPassword, resetPasswordState] = Ge();
|
|
20
20
|
const urlParams = new URLSearchParams(window.location.search);
|
|
21
21
|
const oobCode = urlParams.get("oobCode");
|
|
22
22
|
urlParams.delete("oobCode");
|
|
@@ -37,10 +37,10 @@ function usePortalResetPassword(props) {
|
|
|
37
37
|
const gotoNextPage = () => {
|
|
38
38
|
urlParams.delete("nextPage");
|
|
39
39
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
40
|
-
|
|
40
|
+
In.push(url.href);
|
|
41
41
|
};
|
|
42
42
|
const failed = () => {
|
|
43
|
-
|
|
43
|
+
In.push({
|
|
44
44
|
pathname: props.failedPage,
|
|
45
45
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
46
46
|
});
|
|
@@ -146,7 +146,7 @@ const PortalResetPassword = class {
|
|
|
146
146
|
}
|
|
147
147
|
disconnectedCallback() { }
|
|
148
148
|
render() {
|
|
149
|
-
const { states, callbacks } =
|
|
149
|
+
const { states, callbacks } = L()
|
|
150
150
|
? usePortalResetPasswordDemo(this)
|
|
151
151
|
: usePortalResetPassword(this);
|
|
152
152
|
return h$1(PortalResetPasswordView, { states: states, callbacks: callbacks });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { a as ae, c as dn, I as In, L } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
@@ -14,15 +14,15 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
15
15
|
const [verified, setVerified] = useState(false);
|
|
16
16
|
const [disableContinue, setDisableContinue] = useState(true);
|
|
17
|
-
const userIdent =
|
|
18
|
-
const [request, { loading, data, errors }] =
|
|
17
|
+
const userIdent = ae();
|
|
18
|
+
const [request, { loading, data, errors }] = dn();
|
|
19
19
|
const [error, setError] = useState("");
|
|
20
20
|
const urlParams = new URLSearchParams(window.location.search);
|
|
21
21
|
const oobCode = urlParams.get("oobCode");
|
|
22
22
|
const nextPageOverride = urlParams.get("nextPage");
|
|
23
23
|
urlParams.delete("oobCode");
|
|
24
24
|
const failed = () => {
|
|
25
|
-
return
|
|
25
|
+
return In.push({
|
|
26
26
|
pathname: failedPage,
|
|
27
27
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
28
28
|
});
|
|
@@ -30,7 +30,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
30
30
|
const gotoNextPage = () => {
|
|
31
31
|
urlParams.delete("nextPage");
|
|
32
32
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
33
|
-
|
|
33
|
+
In.push(url.href);
|
|
34
34
|
};
|
|
35
35
|
const submit = async () => {
|
|
36
36
|
if (oobCode) {
|
|
@@ -108,7 +108,7 @@ const PortalVerifyEmail = class {
|
|
|
108
108
|
}
|
|
109
109
|
disconnectedCallback() { }
|
|
110
110
|
render() {
|
|
111
|
-
const { states, data, callbacks } =
|
|
111
|
+
const { states, data, callbacks } = L()
|
|
112
112
|
? usePortalVerifyEmailDemo(this)
|
|
113
113
|
: usePortalVerifyEmail(this);
|
|
114
114
|
return (h$1(PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as h$1 } from './stencil-hooks.module-
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
3
|
import './extends-c31f1eff.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { l,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { l, k as useMemo, e as useEffect, m as h$1 } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import { P } from './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { u as useChildElements } from './useChildElements-
|
|
6
|
+
import { u as useChildElements } from './useChildElements-5a1262d5.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
|
|
9
9
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -39,7 +39,7 @@ const TabsView = ({ content, placement, }) => {
|
|
|
39
39
|
const REVEAL_EVENT = "sq:reveal";
|
|
40
40
|
function useTabs() {
|
|
41
41
|
const rawTabs = useChildElements();
|
|
42
|
-
const host =
|
|
42
|
+
const host = P();
|
|
43
43
|
const tabs = useMemo(() => rawTabs
|
|
44
44
|
.filter((tab) => tab.tagName === "SQM-TAB" || tab.tagName === "RAISINS-PLOP-TARGET")
|
|
45
45
|
.map((tab, i) => {
|
package/dist/esm/sqm-qa.entry.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h, u as useReducer,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { m as h, u as useReducer, k as useMemo, e as useEffect } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { i as intl } from './global-79d68d1f.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { L } from './index.module-8e654eb1.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-59c5d47c.js';
|
|
11
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
13
|
-
import { l as luxon } from './luxon-
|
|
14
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
11
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-cd65b629.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-5a1262d5.js';
|
|
13
|
+
import { l as luxon } from './luxon-38ca2169.js';
|
|
14
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-6c14c78f.js';
|
|
15
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
16
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
17
17
|
|
|
@@ -194,7 +194,7 @@ const ReferralTable = class {
|
|
|
194
194
|
render() {
|
|
195
195
|
const empty = h$1(EmptySlot, null);
|
|
196
196
|
const loading = h$1(LoadingSlot, null);
|
|
197
|
-
const { states, data, callbacks, elements } =
|
|
197
|
+
const { states, data, callbacks, elements } = L()
|
|
198
198
|
? useReferralTableDemo(this, empty, loading)
|
|
199
199
|
: useReferralTable(this, empty, loading);
|
|
200
200
|
useRequestRerender([this.showReferrer, this.perPage]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
3
|
import './extends-c31f1eff.js';
|
|
4
4
|
import './JSS-f00f9536.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import './use-callback-69ec5c5c.js';
|
|
4
|
+
import './index.module-8e654eb1.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { a as useRequestRerender } from './re-render-
|
|
6
|
+
import { a as useRequestRerender } from './re-render-cd65b629.js';
|
|
7
7
|
|
|
8
8
|
const RewardTableCustomerNoteColumn = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser, u as useReducer, e as useEffect, m as h$1,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { d as dist,
|
|
2
|
+
import { b as browser, u as useReducer, e as useEffect, m as h$1, k as useMemo } from './stencil-hooks.module-66fea7dc.js';
|
|
3
|
+
import { i as intl } from './global-79d68d1f.js';
|
|
4
|
+
import './use-callback-69ec5c5c.js';
|
|
5
|
+
import { d as dist, a as ae, M, O, q as qn, L } from './index.module-8e654eb1.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import { c as createStyleSheet } from './JSS-f00f9536.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-59c5d47c.js';
|
|
11
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
12
|
-
import { u as useChildElements } from './useChildElements-
|
|
13
|
-
import { l as luxon } from './luxon-
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
11
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-cd65b629.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-5a1262d5.js';
|
|
13
|
+
import { l as luxon } from './luxon-38ca2169.js';
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-6c14c78f.js';
|
|
15
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
16
|
|
|
17
17
|
const mockRewardData = (count = 4) => {
|
|
@@ -214,9 +214,9 @@ const GET_REWARDS = dist.gql `
|
|
|
214
214
|
`;
|
|
215
215
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
216
216
|
var _a, _b;
|
|
217
|
-
const user =
|
|
218
|
-
const programIdContext =
|
|
219
|
-
const locale =
|
|
217
|
+
const user = ae();
|
|
218
|
+
const programIdContext = M();
|
|
219
|
+
const locale = O();
|
|
220
220
|
// Default to context, overriden by props
|
|
221
221
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
222
222
|
const rewardFilter = {
|
|
@@ -238,7 +238,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
238
238
|
loading: false,
|
|
239
239
|
page: 0,
|
|
240
240
|
});
|
|
241
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
241
|
+
const { envelope: rewardsData, states, callbacks, } = qn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
242
242
|
limit: props.perPage,
|
|
243
243
|
offset: 0,
|
|
244
244
|
}, {
|
|
@@ -365,7 +365,7 @@ const RewardsTable = class {
|
|
|
365
365
|
render() {
|
|
366
366
|
const empty = h(EmptySlot, null);
|
|
367
367
|
const loading = h(LoadingSlot, null);
|
|
368
|
-
const { states, data, callbacks, elements } =
|
|
368
|
+
const { states, data, callbacks, elements } = L()
|
|
369
369
|
? useRewardsTableDemo(this, empty, loading)
|
|
370
370
|
: useRewardsTable(this, empty, loading);
|
|
371
371
|
useRequestRerender([this.perPage]);
|