@saasquatch/mint-components 1.12.1-1 → 1.12.1-11
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-88821c64.js → ShadowViewAddon-63b78308.js} +67 -137
- package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +64 -69
- package/dist/cjs/sqm-checkbox-field-view-e0a31f2a.js +66 -0
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-a9133a11.js → sqm-invoice-table-view-e3b03a00.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- 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-change-marketing.cjs.entry.js +223 -0
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -11
- 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-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- 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 +54 -53
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +12 -42
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +39 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +191 -0
- package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +114 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -4
- package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-272f75a5.js} +68 -137
- package/dist/esm/{global-6306a9b8.js → global-62554cef.js} +2 -2
- package/dist/esm/{index.module-6c840c4e.js → index.module-48f73e70.js} +3 -40
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-1bcfd0de.js → re-render-cb4d43dc.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
- package/dist/esm/sqm-big-stat_39.entry.js +62 -67
- package/dist/esm/sqm-checkbox-field-view-0ef58cb3.js +64 -0
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-41a14ca6.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-af40eedb.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/sqm-portal-change-marketing.entry.js +219 -0
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-460bac1b.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-4caa9f28.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -11
- package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
- package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
- package/dist/esm/sqm-stencilbook.entry.js +49 -48
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-a6b895dd.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46a98499.js} +3 -3
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-6e8350db.js} +9 -9
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-de6b208e.js} +2 -2
- package/dist/esm/{utilities-443732be.js → utilities-e8022681.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-272f75a5.js +1 -0
- package/dist/esm-es5/{global-6306a9b8.js → global-62554cef.js} +2 -2
- package/dist/esm-es5/index.module-48f73e70.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-cb4d43dc.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-checkbox-field-view-0ef58cb3.js +1 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-41a14ca6.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-f8e78810.js → sqm-navigation-sidebar-item-view-af40eedb.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-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-change-marketing.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-460bac1b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.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-15ddbec8.js → sqm-portal-profile-view-4caa9f28.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-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-fc84e640.js → useChildElements-a6b895dd.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46a98499.js} +1 -1
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-6e8350db.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-de6b208e.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-e8022681.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-9e0230c3.entry.js → p-0068067d.entry.js} +1 -1
- package/dist/mint-components/p-018088cc.entry.js +13 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-099c59cc.system.entry.js} +1 -1
- package/dist/mint-components/{p-4babe350.system.js → p-0f010c01.system.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-0f30148d.system.entry.js} +1 -1
- package/dist/mint-components/p-0f859e4e.entry.js +18 -0
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-115edc43.system.entry.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-13976be9.system.entry.js} +1 -1
- package/dist/mint-components/p-175075e7.system.js +1 -0
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-1bb2fd65.system.entry.js} +1 -1
- package/dist/mint-components/{p-012daf3c.entry.js → p-1bdacfcb.entry.js} +1 -1
- package/dist/mint-components/{p-2816bf6a.js → p-1d803c85.js} +1 -1
- package/dist/mint-components/{p-17f56865.entry.js → p-1e0f4667.entry.js} +2 -2
- package/dist/mint-components/{p-8d554a89.system.js → p-1eb21821.system.js} +1 -1
- package/dist/mint-components/{p-51d53165.system.entry.js → p-215d9dce.system.entry.js} +1 -1
- package/dist/mint-components/{p-84b25a46.entry.js → p-23112de2.entry.js} +1 -1
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-2364eb2d.system.entry.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-275b2841.system.entry.js} +1 -1
- package/dist/mint-components/p-29023a9c.entry.js +1 -0
- package/dist/mint-components/{p-5becb2ff.system.js → p-2a2d4343.system.js} +1 -1
- package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-30797093.system.entry.js} +1 -1
- package/dist/mint-components/p-30f84f8b.system.js +1 -0
- package/dist/mint-components/p-32642d34.js +1 -0
- package/dist/mint-components/{p-6c928c7d.entry.js → p-3b08cc52.entry.js} +1 -1
- package/dist/mint-components/{p-acd77a6e.entry.js → p-3fefb1f4.entry.js} +8 -8
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-44c3791a.system.entry.js} +1 -1
- package/dist/mint-components/p-481dedf2.system.js +1 -0
- package/dist/mint-components/p-48b07ec7.system.entry.js +1 -0
- package/dist/mint-components/{p-cb433855.system.entry.js → p-498c4ffd.system.entry.js} +1 -1
- package/dist/mint-components/p-4dcdf9b6.js +1 -0
- package/dist/mint-components/{p-0121e044.js → p-512089bb.js} +1 -1
- package/dist/mint-components/{p-f36e33ff.entry.js → p-513f79fb.entry.js} +2 -2
- package/dist/mint-components/p-52553737.system.entry.js +1 -0
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-52acd113.entry.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-57ea9c0b.system.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-59111d6c.entry.js} +1 -1
- package/dist/mint-components/{p-947fe79b.entry.js → p-5ab5131c.entry.js} +1 -1
- package/dist/mint-components/{p-4eae91a9.system.js → p-5da7c982.system.js} +1 -1
- package/dist/mint-components/{p-b8233366.entry.js → p-5de3473d.entry.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-5f20200a.entry.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-64b25dd9.entry.js} +1 -1
- package/dist/mint-components/{p-4e373c3d.system.js → p-66d09e59.system.js} +1 -1
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-670d441e.system.entry.js} +1 -1
- package/dist/mint-components/{p-bc826117.system.entry.js → p-68160d49.system.entry.js} +1 -1
- package/dist/mint-components/{p-68747d88.js → p-6aed684b.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-6f980faf.system.js} +1 -1
- package/dist/mint-components/p-711bb8da.entry.js +1 -0
- package/dist/mint-components/{p-cd44de66.system.js → p-74609159.system.js} +1 -1
- package/dist/mint-components/{p-4671e644.entry.js → p-74d012fc.entry.js} +1 -1
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-7726e4ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-0893073b.entry.js → p-778b55a5.entry.js} +1 -1
- package/dist/mint-components/{p-9d34f4f0.entry.js → p-7ab32670.entry.js} +1 -1
- package/dist/mint-components/{p-11d1b212.js → p-7eabcffc.js} +1 -1
- package/dist/mint-components/p-804de0cf.system.entry.js +1 -0
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-83df7db2.system.entry.js} +1 -1
- package/dist/mint-components/p-8e3390b6.entry.js +1 -0
- package/dist/mint-components/{p-76392386.entry.js → p-902770d7.entry.js} +1 -1
- package/dist/mint-components/{p-f450654b.system.entry.js → p-92b08cb2.system.entry.js} +1 -1
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-94324315.system.entry.js} +1 -1
- package/dist/mint-components/{p-5cd917db.js → p-98602fa9.js} +1 -1
- package/dist/mint-components/{p-d468925f.entry.js → p-9982db11.entry.js} +1 -1
- package/dist/mint-components/{p-5291891c.entry.js → p-9a520e94.entry.js} +2 -2
- package/dist/mint-components/{p-59818690.system.entry.js → p-9aa177d6.system.entry.js} +1 -1
- package/dist/mint-components/p-9b4a99c4.js +1 -0
- package/dist/mint-components/{p-ac51940e.system.js → p-9bb9a767.system.js} +1 -1
- package/dist/mint-components/p-a178a449.system.js +1 -0
- package/dist/mint-components/p-a6b36268.system.js +1 -0
- package/dist/mint-components/p-b07a88fd.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-b169229a.entry.js} +1 -1
- package/dist/mint-components/{p-04348a9b.js → p-b348d95c.js} +1 -1
- package/dist/mint-components/p-b5b9f737.entry.js +1 -0
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-b7324c0e.system.entry.js} +1 -1
- package/dist/mint-components/p-b86003f6.entry.js +1 -0
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-baca1c93.system.entry.js} +1 -1
- package/dist/mint-components/{p-0c9ad5f3.system.entry.js → p-bd6d9d54.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-bda832b2.js} +2 -2
- package/dist/mint-components/{p-d83b0cf3.js → p-c4719154.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-c89c890e.entry.js} +2 -2
- package/dist/mint-components/{p-a4282d02.system.entry.js → p-c98cd85a.system.entry.js} +1 -1
- package/dist/mint-components/{p-3cb18382.system.js → p-ce5057f7.system.js} +1 -1
- package/dist/mint-components/p-cefffd56.system.entry.js +1 -0
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-d71ec46e.system.entry.js} +1 -1
- package/dist/mint-components/p-da1b5388.system.entry.js +1 -0
- package/dist/mint-components/{p-e0e7635a.js → p-da1e21f2.js} +1 -1
- package/dist/mint-components/{p-b651706a.js → p-de0a29b2.js} +2 -2
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-df2ada74.entry.js} +1 -1
- package/dist/mint-components/p-e169497d.entry.js +1 -0
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-f99765fe.system.entry.js} +1 -1
- package/dist/mint-components/{p-04ced592.system.entry.js → p-fc58dc2f.system.entry.js} +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +3 -9
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +27 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +35 -0
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
- package/dist/types/components.d.ts +59 -15
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/mint-components/p-1279f7a3.system.entry.js +0 -1
- package/dist/mint-components/p-15a64357.entry.js +0 -13
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-6792c8d8.system.entry.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-a02afa72.system.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b3e97f8a.system.entry.js +0 -1
- package/dist/mint-components/p-bdd6bb13.js +0 -1
- package/dist/mint-components/p-c3b37bbf.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-ca809fdd.system.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-f56348dc.system.entry.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
14
|
-
const utilities = require('./utilities-
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
|
|
14
|
+
const utilities = require('./utilities-cec9dd36.js');
|
|
15
15
|
|
|
16
16
|
const GET_USER = index_module.dist.gql `
|
|
17
17
|
query {
|
|
@@ -57,12 +57,12 @@ const defaultFormState = {
|
|
|
57
57
|
error: "",
|
|
58
58
|
};
|
|
59
59
|
function usePortalProfile(props) {
|
|
60
|
-
const userIdent = index_module.
|
|
60
|
+
const userIdent = index_module.Q();
|
|
61
61
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
62
62
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
63
63
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
64
|
-
const userDataResponse = index_module.
|
|
65
|
-
const [upsertUser, upsertUserResponse] = index_module
|
|
64
|
+
const userDataResponse = index_module.yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
65
|
+
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
|
|
66
66
|
stencilHooks_module.useEffect(() => {
|
|
67
67
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
68
68
|
return;
|
|
@@ -4,25 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
|
|
9
9
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
10
10
|
var _a;
|
|
11
|
-
const userIdent = index_module.
|
|
11
|
+
const userIdent = index_module.Q();
|
|
12
12
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
13
13
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
14
|
-
const { pathname, search } = index_module.
|
|
14
|
+
const { pathname, search } = index_module.Sn();
|
|
15
15
|
const nextPageParam = new URLSearchParams();
|
|
16
16
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
17
17
|
stencilHooks_module.useEffect(() => {
|
|
18
18
|
if (!authenticated) {
|
|
19
|
-
return index_module.
|
|
19
|
+
return index_module.$n.push({
|
|
20
20
|
pathname: redirectTo,
|
|
21
21
|
search: "?" + nextPageParam.toString(),
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
if (requireEmailVerification && !emailVerified) {
|
|
25
|
-
return index_module.
|
|
25
|
+
return index_module.$n.push({
|
|
26
26
|
pathname: redirectToUnverified || redirectTo,
|
|
27
27
|
search: "?" + nextPageParam.toString(),
|
|
28
28
|
});
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
13
|
+
const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
|
|
14
14
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-621348a6.js');
|
|
15
15
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
16
16
|
|
|
@@ -30,10 +30,10 @@ const RegistrationFormQuery = index_module.dist.gql `
|
|
|
30
30
|
function usePortalRegistrationForm(props) {
|
|
31
31
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
32
32
|
const formRef = stencilHooks_module.useRef(null);
|
|
33
|
-
const locale = index_module.
|
|
33
|
+
const locale = index_module.L();
|
|
34
34
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
35
|
-
const [request, { loading, errors, data, formError }] = index_module.
|
|
36
|
-
const queryResponse = index_module.
|
|
35
|
+
const [request, { loading, errors, data, formError }] = index_module.We();
|
|
36
|
+
const queryResponse = index_module.yn(RegistrationFormQuery, { key: props.formKey });
|
|
37
37
|
const formLoading = loading || queryResponse.loading;
|
|
38
38
|
stencilHooks_module.useEffect(() => {
|
|
39
39
|
var _a, _b, _c;
|
|
@@ -112,9 +112,6 @@ function usePortalRegistrationForm(props) {
|
|
|
112
112
|
delete formData.password;
|
|
113
113
|
delete formData.confirmPassword;
|
|
114
114
|
const redirectPath = props.redirectPath;
|
|
115
|
-
const marketingEmailOptInDate = formData.marketingEmails
|
|
116
|
-
? Date.now()
|
|
117
|
-
: null;
|
|
118
115
|
const variables = {
|
|
119
116
|
key: props.formKey,
|
|
120
117
|
formData: {
|
|
@@ -122,7 +119,6 @@ function usePortalRegistrationForm(props) {
|
|
|
122
119
|
email,
|
|
123
120
|
password,
|
|
124
121
|
redirectPath,
|
|
125
|
-
...(formData.marketingEmails && { marketingEmailOptInDate }),
|
|
126
122
|
...formData,
|
|
127
123
|
},
|
|
128
124
|
};
|
|
@@ -142,7 +138,7 @@ function usePortalRegistrationForm(props) {
|
|
|
142
138
|
managedIdentityResponse.result.results.length &&
|
|
143
139
|
managedIdentityResponse.result.results[0].success &&
|
|
144
140
|
managedIdentityResponse.result.results[0].data.token) {
|
|
145
|
-
index_module.
|
|
141
|
+
index_module.$n.push(props.nextPage);
|
|
146
142
|
}
|
|
147
143
|
else if (
|
|
148
144
|
// check for blocked email error response
|
|
@@ -355,7 +351,7 @@ const PortalRegistrationForm = class {
|
|
|
355
351
|
: usePortalRegistrationForm(this);
|
|
356
352
|
const content = {
|
|
357
353
|
formData: index.h("slot", { name: "formData" }),
|
|
358
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
354
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginLabel))),
|
|
359
355
|
terms: index.h("slot", { name: "terms" }),
|
|
360
356
|
emailOptIn: index.h("slot", { name: "emailOptIn" }),
|
|
361
357
|
emailLabel: this.emailLabel,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
@@ -17,9 +17,9 @@ function usePortalResetPassword(props) {
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [reset, setReset] = stencilHooks_module.useState(false);
|
|
19
19
|
const [error, setError] = stencilHooks_module.useState("");
|
|
20
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.
|
|
21
|
-
const [resetPassword, resetPasswordState] = index_module.
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
20
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.Qe();
|
|
21
|
+
const [resetPassword, resetPasswordState] = index_module.Te();
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
urlParams.delete("oobCode");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -57,10 +57,10 @@ function usePortalResetPassword(props) {
|
|
|
57
57
|
const gotoNextPage = () => {
|
|
58
58
|
urlParams.delete("nextPage");
|
|
59
59
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
60
|
-
index_module.
|
|
60
|
+
index_module.$n.push(url.href);
|
|
61
61
|
};
|
|
62
62
|
const failed = () => {
|
|
63
|
-
index_module.
|
|
63
|
+
index_module.$n.push({
|
|
64
64
|
pathname: props.failedPage,
|
|
65
65
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
66
66
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
@@ -17,9 +17,9 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [completed, setCompleted] = stencilHooks_module.useState(false);
|
|
19
19
|
const [successful, setSuccessful] = stencilHooks_module.useState(false);
|
|
20
|
-
const userIdent = index_module.
|
|
21
|
-
const [request, { loading, data, errors }] = index_module.
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
20
|
+
const userIdent = index_module.Q();
|
|
21
|
+
const [request, { loading, data, errors }] = index_module.an();
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.$n.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
const oobEmail = urlParams.get("email");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -30,7 +30,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
30
30
|
successful);
|
|
31
31
|
const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
|
|
32
32
|
const failed = () => {
|
|
33
|
-
return index_module.
|
|
33
|
+
return index_module.$n.push({
|
|
34
34
|
pathname: failedPage,
|
|
35
35
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
36
36
|
});
|
|
@@ -38,7 +38,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
38
38
|
const gotoNextPage = () => {
|
|
39
39
|
urlParams.delete("nextPage");
|
|
40
40
|
const url = utils.sanitizeUrlPath(nextPageOverride || nextPage);
|
|
41
|
-
index_module.
|
|
41
|
+
index_module.$n.push(url.href);
|
|
42
42
|
};
|
|
43
43
|
const logout = () => {
|
|
44
44
|
setTimeout(() => {
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-e0d44916.js');
|
|
15
15
|
const luxon = require('./luxon-05098e19.js');
|
|
16
16
|
const mockRewardData = require('./mockRewardData-4258e067.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-a76adb0d.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
20
20
|
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
13
|
+
require('./useRegistrationFormState-876ed65d.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-bbe746d1.js');
|
|
15
15
|
|
|
16
16
|
const ReferredRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-df530553.js');
|
|
8
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
9
9
|
|
|
10
10
|
const RewardTableCustomerNoteColumn = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-e0d44916.js');
|
|
15
15
|
const luxon = require('./luxon-05098e19.js');
|
|
16
16
|
const mockRewardData = require('./mockRewardData-4258e067.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-a76adb0d.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
|
|
20
20
|
const debug = stencilHooks_module.browser("sq:useRewardsTable");
|
|
@@ -166,9 +166,9 @@ const GET_IMPACT_TAX = index_module.dist.gql `
|
|
|
166
166
|
`;
|
|
167
167
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
168
168
|
var _a, _b, _c;
|
|
169
|
-
const user = index_module.
|
|
170
|
-
const programIdContext = index_module.
|
|
171
|
-
const locale = index_module.
|
|
169
|
+
const user = index_module.Q();
|
|
170
|
+
const programIdContext = index_module.H();
|
|
171
|
+
const locale = index_module.L();
|
|
172
172
|
// Default to context, overriden by props
|
|
173
173
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
174
174
|
const rewardFilter = {
|
|
@@ -190,8 +190,8 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
190
190
|
loading: false,
|
|
191
191
|
page: 0,
|
|
192
192
|
});
|
|
193
|
-
const { data: impactTaxData, loading: taxLoading } = index_module.
|
|
194
|
-
const { envelope: rewardsData, states, callbacks, } = index_module.
|
|
193
|
+
const { data: impactTaxData, loading: taxLoading } = index_module.yn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
194
|
+
const { envelope: rewardsData, states, callbacks, } = index_module.kn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
195
195
|
limit: props.perPage,
|
|
196
196
|
offset: 0,
|
|
197
197
|
}, {
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-02e50f09.js');
|
|
8
|
+
const index_module = require('./index.module-df530553.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
require('./useChildElements-
|
|
13
|
+
require('./useChildElements-e0d44916.js');
|
|
14
14
|
const luxon = require('./luxon-05098e19.js');
|
|
15
15
|
require('./utils-6847bc06.js');
|
|
16
16
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
@@ -21,17 +21,18 @@ const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
|
21
21
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
22
22
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
|
|
23
23
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
|
|
24
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
25
|
-
const
|
|
24
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a125ec5f.js');
|
|
25
|
+
const sqmCheckboxFieldView = require('./sqm-checkbox-field-view-e0a31f2a.js');
|
|
26
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-292b5bf4.js');
|
|
26
27
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
|
|
27
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
28
|
-
require('./utilities-
|
|
28
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
|
|
29
|
+
require('./utilities-cec9dd36.js');
|
|
29
30
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-621348a6.js');
|
|
30
31
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
|
|
31
32
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
|
|
32
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
33
|
+
const ShadowViewAddon = require('./ShadowViewAddon-63b78308.js');
|
|
33
34
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
34
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
35
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-e3b03a00.js');
|
|
35
36
|
|
|
36
37
|
/**
|
|
37
38
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2540,36 +2541,36 @@ const routes = `
|
|
|
2540
2541
|
`;
|
|
2541
2542
|
const TemplateNavigation = createHookStory(() => {
|
|
2542
2543
|
return (index.h("div", null,
|
|
2543
|
-
index.h("button", { onClick: () => index_module.
|
|
2544
|
-
index.h("button", { onClick: () => index_module.
|
|
2545
|
-
index.h("button", { onClick: () => index_module.
|
|
2546
|
-
index.h("button", { onClick: () => index_module.
|
|
2547
|
-
index.h("button", { onClick: () => index_module.
|
|
2548
|
-
index.h("button", { onClick: () => index_module.
|
|
2549
|
-
index.h("button", { onClick: () => index_module.
|
|
2550
|
-
index.h("button", { onClick: () => index_module.
|
|
2551
|
-
index.h("button", { onClick: () => index_module.
|
|
2544
|
+
index.h("button", { onClick: () => index_module.$n.push("/") }, "/"),
|
|
2545
|
+
index.h("button", { onClick: () => index_module.$n.push("/foo") }, "/foo"),
|
|
2546
|
+
index.h("button", { onClick: () => index_module.$n.push("/bar") }, "/bar"),
|
|
2547
|
+
index.h("button", { onClick: () => index_module.$n.push("/baz/bang") }, "/baz/bang"),
|
|
2548
|
+
index.h("button", { onClick: () => index_module.$n.push("/refer") }, "/refer"),
|
|
2549
|
+
index.h("button", { onClick: () => index_module.$n.push("/refer/1") }, "/refer/1"),
|
|
2550
|
+
index.h("button", { onClick: () => index_module.$n.push("/refer/2") }, "/refer/2"),
|
|
2551
|
+
index.h("button", { onClick: () => index_module.$n.back() }, "Back"),
|
|
2552
|
+
index.h("button", { onClick: () => index_module.$n.forward() }, "Forward"),
|
|
2552
2553
|
index.h("hr", null),
|
|
2553
2554
|
index.h("sqm-router", { innerHTML: templates })));
|
|
2554
2555
|
});
|
|
2555
2556
|
const RouteNavigation = createHookStory(() => {
|
|
2556
2557
|
return (index.h("div", null,
|
|
2557
|
-
index.h("button", { onClick: () => index_module.
|
|
2558
|
-
index.h("button", { onClick: () => index_module.
|
|
2559
|
-
index.h("button", { onClick: () => index_module.
|
|
2560
|
-
index.h("button", { onClick: () => index_module.
|
|
2561
|
-
index.h("button", { onClick: () => index_module.
|
|
2562
|
-
index.h("button", { onClick: () => index_module.
|
|
2563
|
-
index.h("button", { onClick: () => index_module.
|
|
2564
|
-
index.h("button", { onClick: () => index_module.
|
|
2565
|
-
index.h("button", { onClick: () => index_module.
|
|
2558
|
+
index.h("button", { onClick: () => index_module.$n.push("/") }, "/"),
|
|
2559
|
+
index.h("button", { onClick: () => index_module.$n.push("/foo") }, "/foo"),
|
|
2560
|
+
index.h("button", { onClick: () => index_module.$n.push("/bar") }, "/bar"),
|
|
2561
|
+
index.h("button", { onClick: () => index_module.$n.push("/baz/bang") }, "/baz/bang"),
|
|
2562
|
+
index.h("button", { onClick: () => index_module.$n.push("/refer") }, "/refer"),
|
|
2563
|
+
index.h("button", { onClick: () => index_module.$n.push("/refer/1") }, "/refer/1"),
|
|
2564
|
+
index.h("button", { onClick: () => index_module.$n.push("/refer/2") }, "/refer/2"),
|
|
2565
|
+
index.h("button", { onClick: () => index_module.$n.back() }, "Back"),
|
|
2566
|
+
index.h("button", { onClick: () => index_module.$n.forward() }, "Forward"),
|
|
2566
2567
|
index.h("hr", null),
|
|
2567
2568
|
index.h("sqm-router", { innerHTML: routes })));
|
|
2568
2569
|
});
|
|
2569
2570
|
const Styling = createHookStory(() => {
|
|
2570
2571
|
return (index.h("div", null,
|
|
2571
|
-
index.h("button", { onClick: () => index_module.
|
|
2572
|
-
index.h("button", { onClick: () => index_module.
|
|
2572
|
+
index.h("button", { onClick: () => index_module.$n.push("/") }, "/"),
|
|
2573
|
+
index.h("button", { onClick: () => index_module.$n.push("/foo") }, "/foo"),
|
|
2573
2574
|
index.h("hr", null),
|
|
2574
2575
|
index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2575
2576
|
index.h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2583,7 +2584,7 @@ function useTemplate(templateString) {
|
|
|
2583
2584
|
const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
|
|
2584
2585
|
function setPath(e) {
|
|
2585
2586
|
//@ts-ignore
|
|
2586
|
-
index_module.
|
|
2587
|
+
index_module.$n.push(e.target.value);
|
|
2587
2588
|
}
|
|
2588
2589
|
return {
|
|
2589
2590
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2747,8 +2748,8 @@ const FullStackFrame = () => {
|
|
|
2747
2748
|
"Current path:",
|
|
2748
2749
|
" ",
|
|
2749
2750
|
index.h("code", null,
|
|
2750
|
-
index.h("strong", null, (_a = index_module.
|
|
2751
|
-
index.h("button", { onClick: index_module.
|
|
2751
|
+
index.h("strong", null, (_a = index_module.Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2752
|
+
index.h("button", { onClick: index_module.$n.back }, "Go Back")));
|
|
2752
2753
|
};
|
|
2753
2754
|
const FullStackFrameLoggedOut = () => {
|
|
2754
2755
|
var _a;
|
|
@@ -2772,8 +2773,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2772
2773
|
"Current path:",
|
|
2773
2774
|
" ",
|
|
2774
2775
|
index.h("code", null,
|
|
2775
|
-
index.h("strong", null, (_a = index_module.
|
|
2776
|
-
index.h("button", { onClick: index_module.
|
|
2776
|
+
index.h("strong", null, (_a = index_module.Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2777
|
+
index.h("button", { onClick: index_module.$n.back }, "Go Back")));
|
|
2777
2778
|
};
|
|
2778
2779
|
|
|
2779
2780
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -3500,7 +3501,7 @@ function useExchangeButton() {
|
|
|
3500
3501
|
const { id, accountId } = setupGraphQL$6();
|
|
3501
3502
|
const [points, setPoints] = stencilHooks_module.useState(10);
|
|
3502
3503
|
const [rate, setRate] = stencilHooks_module.useState(100);
|
|
3503
|
-
const [exchange, { data, errors }] = index_module.
|
|
3504
|
+
const [exchange, { data, errors }] = index_module.Xe(EXCHANGE);
|
|
3504
3505
|
return {
|
|
3505
3506
|
states: {
|
|
3506
3507
|
points,
|
|
@@ -4101,16 +4102,16 @@ function DefaultTemplateView(props) {
|
|
|
4101
4102
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4102
4103
|
gridGap: "10px",
|
|
4103
4104
|
} },
|
|
4104
|
-
index.h("button", { onClick: () => index_module.
|
|
4105
|
-
props.leadSubmit && (index.h("button", { onClick: () => index_module.
|
|
4106
|
-
index.h("button", { onClick: () => index_module.
|
|
4107
|
-
index.h("button", { onClick: () => index_module.
|
|
4108
|
-
index.h("button", { onClick: () => index_module.
|
|
4109
|
-
index.h("button", { onClick: () => index_module.
|
|
4110
|
-
index.h("button", { onClick: () => index_module.
|
|
4111
|
-
index.h("button", { onClick: () => index_module.
|
|
4112
|
-
index.h("button", { onClick: () => index_module.
|
|
4113
|
-
index.h("button", { onClick: () => index_module.
|
|
4105
|
+
index.h("button", { onClick: () => index_module.$n.push("/") }, "Dashboard"),
|
|
4106
|
+
props.leadSubmit && (index.h("button", { onClick: () => index_module.$n.push("/refer") }, "Submit a Referral")),
|
|
4107
|
+
index.h("button", { onClick: () => index_module.$n.push("/activity") }, "Activity"),
|
|
4108
|
+
index.h("button", { onClick: () => index_module.$n.push("/editProfile") }, "Edit Profile"),
|
|
4109
|
+
index.h("button", { onClick: () => index_module.$n.push("/login") }, "Login"),
|
|
4110
|
+
index.h("button", { onClick: () => index_module.$n.push("/register") }, "Register"),
|
|
4111
|
+
index.h("button", { onClick: () => index_module.$n.push("/emailVerification") }, "Email Verification"),
|
|
4112
|
+
index.h("button", { onClick: () => index_module.$n.push("/verifyEmail") }, "Verify Email"),
|
|
4113
|
+
index.h("button", { onClick: () => index_module.$n.push("/forgotPassword") }, "Forgot Password"),
|
|
4114
|
+
index.h("button", { onClick: () => index_module.$n.push("/resetPassword") }, "Reset Password")),
|
|
4114
4115
|
index.h("br", null),
|
|
4115
4116
|
index.h("div", { innerHTML: states.previewTemplate })));
|
|
4116
4117
|
}
|
|
@@ -10183,7 +10184,7 @@ const dashboardTemplate = "<sqm-portal-container direction=\"column\" padding=\"
|
|
|
10183
10184
|
|
|
10184
10185
|
const leadSubmitTemplate = "<sqm-referral-iframe></sqm-referral-iframe>\n";
|
|
10185
10186
|
|
|
10186
|
-
const editProfileTemplate = "<sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n></sqm-portal-protected-route>\n<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n</sqm-portal-container>\n";
|
|
10187
|
+
const editProfileTemplate = "<sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n></sqm-portal-protected-route>\n<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n</sqm-portal-container>\n<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-marketing></sqm-portal-change-marketing>\n</sqm-portal-container>\n";
|
|
10187
10188
|
|
|
10188
10189
|
const activityTemplate = "<sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n></sqm-portal-protected-route>\n<sqm-portal-container direction=\"column\" padding=\"xxx-large\" gap=\"xxx-large\">\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space=\"xxxx-large\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsCountFiltered/AVAILABLE\"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/CENTS\"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title=\"Referred\"\n date-shown=\"dateReferralStarted\"\n ></sqm-referral-table-date-column> </sqm-referral-table\n></sqm-portal-container>\n";
|
|
10189
10190
|
|
|
@@ -10747,7 +10748,7 @@ const defaultProps$b = {
|
|
|
10747
10748
|
checked: false,
|
|
10748
10749
|
},
|
|
10749
10750
|
content: {
|
|
10750
|
-
checkboxName: "
|
|
10751
|
+
checkboxName: "terms",
|
|
10751
10752
|
checkboxLabel: "By signing up you agree to the {labelLink}",
|
|
10752
10753
|
checkboxLabelLink: "https://example.com",
|
|
10753
10754
|
checkboxLabelLinkText: "Terms and Conditions",
|
|
@@ -10780,16 +10781,16 @@ const defaultRegisterProps = {
|
|
|
10780
10781
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10781
10782
|
},
|
|
10782
10783
|
};
|
|
10783
|
-
const Default$c = createHookStory(() => (index.h(
|
|
10784
|
-
const DefaultChecked = createHookStory(() => (index.h(
|
|
10784
|
+
const Default$c = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$b))));
|
|
10785
|
+
const DefaultChecked = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$b, { states: {
|
|
10785
10786
|
...defaultProps$b.states,
|
|
10786
10787
|
checked: true,
|
|
10787
10788
|
} }))));
|
|
10788
|
-
const CustomLabel = createHookStory(() => (index.h(
|
|
10789
|
+
const CustomLabel = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10789
10790
|
...defaultProps$b.content,
|
|
10790
10791
|
checkboxLabel: "I Agree",
|
|
10791
10792
|
} }))));
|
|
10792
|
-
const Error$4 = createHookStory(() => (index.h(
|
|
10793
|
+
const Error$4 = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$b, { states: {
|
|
10793
10794
|
...defaultProps$b.states,
|
|
10794
10795
|
registrationFormState: {
|
|
10795
10796
|
validationErrors: {
|
|
@@ -10797,7 +10798,7 @@ const Error$4 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView
|
|
|
10797
10798
|
},
|
|
10798
10799
|
},
|
|
10799
10800
|
} }))));
|
|
10800
|
-
const CustomError = createHookStory(() => (index.h(
|
|
10801
|
+
const CustomError = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$b, { states: {
|
|
10801
10802
|
...defaultProps$b.states,
|
|
10802
10803
|
registrationFormState: {
|
|
10803
10804
|
validationErrors: {
|
|
@@ -10845,7 +10846,7 @@ const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
|
10845
10846
|
TermsAndConditionsLongCustomLabel: TermsAndConditionsLongCustomLabel
|
|
10846
10847
|
});
|
|
10847
10848
|
|
|
10848
|
-
const scenario$k = "@owner:zach\n@author:zach\nFeature: Marketing Emails Checkbox\n\n
|
|
10849
|
+
const scenario$k = "@owner:zach\n@author:zach\nFeature: Marketing Emails Checkbox\n\n A checkbox that is used to opt in for referral program marketing emails.\n\n Background: A user is on the portal registration page\n Given a user is viewing the \"/register\"\n And \"/register\" contains the registration form\n And the registration form has the following fields\n | fields |\n | first name |\n | last name |\n | email |\n | password |\n | Marketing Emails Checkbox |\n\n @motivating\n Scenario: Checkbox is optional by default\n Given the user is filling out the registration form\n And the name fields have valid input\n And the email field has valid input\n And the password field has valid input\n And the checkbox is not checked\n When they try to register\n Then the form is submitted\n And there is no error for the checkbox\n\n Scenario: The form field name is provided by default\n Given the customer has added a marketing emails checkbox to their registration form\n Then the field name is automatically set to \"marketingEmailOptIn\"\n And the name is not configurable";
|
|
10849
10850
|
|
|
10850
10851
|
const MarketingEmailsCheckbox_stories = {
|
|
10851
10852
|
title: "Components/Marketing Emails Checkbox",
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
7
|
+
require('./index.module-df530553.js');
|
|
8
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
9
9
|
|
|
10
10
|
const TabView = ({}, children) => {
|
|
11
11
|
return index.h(index.Host, null, children);
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
9
|
-
const useChildElements = require('./useChildElements-
|
|
7
|
+
const index_module = require('./index.module-df530553.js');
|
|
8
|
+
const reRender = require('./re-render-1976e05e.js');
|
|
9
|
+
const useChildElements = require('./useChildElements-e0d44916.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
|
|
12
12
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -41,7 +41,7 @@ const TabsView = ({ content, placement, }) => {
|
|
|
41
41
|
const REVEAL_EVENT = "sq:reveal";
|
|
42
42
|
function useTabs() {
|
|
43
43
|
const rawTabs = useChildElements.useChildElements();
|
|
44
|
-
const host = index_module.
|
|
44
|
+
const host = index_module._();
|
|
45
45
|
const tick = reRender.useRerenderListener();
|
|
46
46
|
const tabs = stencilHooks_module.useMemo(() => rawTabs
|
|
47
47
|
.filter((tab) => tab.tagName === "SQM-TAB" || tab.tagName === "RAISINS-PLOP-TARGET")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
|
-
const host = index_module.
|
|
7
|
+
const host = index_module._();
|
|
8
8
|
const initialState = host.children.length
|
|
9
9
|
? Array.from(host.children)
|
|
10
10
|
: [];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const cookie = new URLSearchParams(window.location.search);
|
|
10
10
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
11
11
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState();
|
|
12
|
-
const [request, { loading, errors, data }] = index_module.
|
|
12
|
+
const [request, { loading, errors, data }] = index_module.mn();
|
|
13
13
|
const [error, setError] = stencilHooks_module.useState("");
|
|
14
14
|
const submit = async (event) => {
|
|
15
15
|
var _a;
|