@saasquatch/mint-components 1.12.1-1 → 1.12.1-10
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 +221 -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 +112 -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 +217 -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-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-60bf4471.system.entry.js +1 -0
- 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-7624c91a.entry.js +18 -0
- 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-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
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-
|
|
1
|
+
import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-9b4a99c4.js";import{c as l}from"./p-c1086930.js";import{E as a}from"./p-02be1a88.js";import{c as o}from"./p-cef45012.js";import{g as u}from"./p-9ec99ced.js";import{R as c}from"./p-b07a88fd.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:a}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(u(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(u(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t}from"./p-64c3217a.js";import{n as o,k as c,f as r}from"./p-fd2c5407.js";import{S as n,H as a}from"./p-9b4a99c4.js";import{N as i}from"./p-ac1bf045.js";const e=class{constructor(t){s(this,t),this.ignored=!0,o(this)}disconnectedCallback(){}render(){const s=function(){const s=n(),t=a(),[o,i]=c(!1);return r((()=>{i(!1)}),[s.pathname,t]),{checked:o,onClick:function(s){i(s.target.checked)}}}();return t(i,Object.assign({},s),t("slot",null))}};export{e as sqm_navigation_sidebar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{u(i.next(e))}catch(e){a(e)}}function o(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{u(i.next(e))}catch(e){a(e)}}function o(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-6f980faf.system.js","./p-481dedf2.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-4f775e84.system.js","./p-74609159.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,u,c,l,f,v,d,g;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.m;a=e.f;s=e.n},function(){},function(e){o=e.l;u=e.n;c=e.Q;l=e.$;f=e.u;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){g=e.P}],execute:function(){function h(e){var t=this;var n,s,v,d,g,h,m,y,p;var w=o(),b=w[0],M=w[1],_=M.loading,k=M.data,E=M.errors;var x=u(),S=x[0],I=x[1],P=I.data,V=I.loading;var j=c();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var R=new URLSearchParams(l.location.search);var T=R.get("nextPage");var B=i(false),H=B[0],C=B[1];var q=i(""),A=q[0],D=q[1];var G=i(10),Q=G[0],U=G[1];var Y=r(undefined);var $=r(undefined);var z=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(s){switch(s.label){case 0:if(!L)return[2];D("");C(false);n=T?{nextPage:T}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,b(r)];case 1:a=s.sent();if(a instanceof Error){if(a.message)D(e.networkErrorMessage);return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)C(true);return[2]}}))}))};function F(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,S()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(Y.current);return[2,l.push({pathname:e.redirectPath,search:R.toString()&&"?"+R.toString()})]}N(10);return[2]}}))}))}var J=function(e){if(e===void 0){e=1e4}return setInterval(F,e)};var K=function(e){return setInterval((function(){return U(e)}),1e3)};function N(e){clearInterval($.current);clearInterval(Y.current);if(document.visibilityState==="hidden")return;if(e)U(e);var t=Q||10;$.current=K(e-1||t-1);Y.current=J(e*1e3||t*1e3)}var O=f((function(){return N()}),[Q]);a((function(){if(!Y.current){F();Y.current=J()}return function(){clearInterval(Y.current)}}),[]);a((function(){if(Q>0){clearInterval($.current);$.current=K(Q-1)}document.addEventListener("visibilitychange",O);return function(){clearInterval($.current);document.removeEventListener("visibilitychange",O)}}),[Q]);return{states:{loading:_,error:((g=(d=(v=(s=E===null||E===void 0?void 0:E.response)===null||s===void 0?void 0:s.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||g===void 0?void 0:g.message)||((y=(m=(h=E===null||E===void 0?void 0:E.response)===null||h===void 0?void 0:h.errors)===null||m===void 0?void 0:m[0])===null||y===void 0?void 0:y.message)||A,success:H,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:Q},callbacks:{submit:z},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}var m=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";this.verificationResentMessage="Your verification email has been resent successfully";this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(g,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-481dedf2.system.js","./p-5da7c982.system.js","./p-175075e7.system.js","./p-6333265f.system.js"],(function(t){"use strict";var e,n,a,r,s,o,i,l,u,c;return{setters:[function(t){e=t.h;n=t.c;a=t.r},function(t){r=t.u;s=t.f;o=t.n},function(t){i=t._},function(t){l=t.u},function(t){u=t.u},function(t){c=t.g}],execute:function(){var p=function(t){var a=t.content,r=t.placement;var s=!r||r==="top"||r==="bottom"?"var(--sl-spacing-x-large) 0;":"0 var(--sl-spacing-xx-large);";var o="\n sl-tab-panel::part(base) {\n padding: "+s+";\n }\n ";return e(n,null,e("style",{type:"text/css"},o),e("sl-tab-group",{placement:r},a.tabs.map((function(t){var n=t.getAttribute("slot");if(t.tagName==="RAISINS-PLOP-TARGET"){return e("sl-tab",{slot:"nav"},e("div",{style:{marginTop:"10px"}},e("slot",{name:n})))}return[e("sl-tab",{slot:"nav",panel:n,id:t.getAttribute("id")||n},t.getAttribute("header")),e("sl-tab-panel",{name:n},e("slot",{name:n}))]}))),e("div",{style:{display:"none"}},e("slot",null)))};var v="sq:reveal";function f(){var t=u();var e=i();var n=l();var a=r((function(){return t.filter((function(t){return t.tagName==="SQM-TAB"||t.tagName==="RAISINS-PLOP-TARGET"})).map((function(t,e){if(t.tagName==="RAISINS-PLOP-TARGET"){var n=t;n.style.position="absolute";n.style.left="6px";var a=t.firstElementChild.childNodes[1];a.innerHTML="+";a.style.lineHeight="20px"}t.setAttribute("slot","tab-"+e);t.setAttribute("id","tab-"+e);return t}))}),[t,n]);s((function(){var t=function(t){var n;var a=t.target;t.stopPropagation();if(!a)return;var r=a.closest("sqm-tabs");if(!e.contains(a)||!r)return;var s=a.closest("sqm-tab");var o=r.shadowRoot.querySelector("sl-tab-group");(n=o)===null||n===void 0?void 0:n.show(s.id)};e.addEventListener(v,t);return function(){e.removeEventListener(v,t)}}),[]);return{content:{tabs:a}}}var m=t("sqm_tabs",function(){function t(t){a(this,t);o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=f().content;var n=c(this).placement;return e(p,{placement:n,content:t},e("slot",null))};return t}())}}}));
|
package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts
CHANGED
|
@@ -4,25 +4,19 @@ import { CheckboxFieldViewProps } from "../sqm-checkbox-field/sqm-checkbox-field
|
|
|
4
4
|
* @uiName Marketing Emails Checkbox Field
|
|
5
5
|
* @validParents ["sqm-portal-register","sqm-portal-registration-form"]
|
|
6
6
|
* @exampleGroup Microsite Components
|
|
7
|
-
* @example
|
|
7
|
+
* @example Marketing Emails Checkbox - <sqm-marketing-emails-checkbox slot="emailOptIn" name="marketingEmails" checkbox-label="I would like to receive marketing and promotional emails for this referral program" required="false" name="marketing-emails" required="false" ></sqm-marketing-emails-checkbox>
|
|
8
8
|
*/
|
|
9
9
|
export declare class MarketingEmailsCheckbox {
|
|
10
10
|
ignored: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
13
|
-
* @uiName Checkbox name attribute
|
|
14
|
-
* @required
|
|
15
|
-
*/
|
|
16
|
-
checkboxName: string;
|
|
17
11
|
/**
|
|
18
12
|
* @uiName Checkbox label
|
|
19
13
|
* @uiWidget textArea
|
|
20
14
|
*/
|
|
21
15
|
checkboxLabel: string;
|
|
22
16
|
/**
|
|
23
|
-
* @
|
|
17
|
+
* @undocumented
|
|
24
18
|
*/
|
|
25
|
-
|
|
19
|
+
checkboxName: string;
|
|
26
20
|
/**
|
|
27
21
|
* @undocumented
|
|
28
22
|
* @uiType object
|
package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface PortalProfileViewProps {
|
|
2
|
+
states: {
|
|
3
|
+
success: boolean;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
submitDisabled: boolean;
|
|
6
|
+
formState: {
|
|
7
|
+
marketingEmailOptIn: boolean;
|
|
8
|
+
errors: any;
|
|
9
|
+
error: string;
|
|
10
|
+
};
|
|
11
|
+
user: {
|
|
12
|
+
id: string;
|
|
13
|
+
accountId: string;
|
|
14
|
+
marketingEmailOptIn: boolean;
|
|
15
|
+
};
|
|
16
|
+
text: {
|
|
17
|
+
emailPreferencesHeader: string;
|
|
18
|
+
marketingCheckboxLabel: string;
|
|
19
|
+
submitChangeButtonText: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
callbacks: {
|
|
23
|
+
onSubmit: (props: any) => void;
|
|
24
|
+
setChecked: (value: boolean) => void;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export declare function PortalProfileView(props: PortalProfileViewProps): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PortalProfileViewProps } from "./sqm-portal-change-marketing-view";
|
|
2
|
+
import { DemoData } from "../../global/demo";
|
|
3
|
+
/**
|
|
4
|
+
* @uiName Change Marketing Opt-in Status
|
|
5
|
+
* @exampleGroup Microsite Components
|
|
6
|
+
* @example Change Marketing Opt-in Status - <sqm-portal-container direction="column" gap="xxx-large"><sqm-portal-change-marketing></sqm-portal-change-marketing></sqm-portal-container>
|
|
7
|
+
*/
|
|
8
|
+
export declare class PortalChangeMarketing {
|
|
9
|
+
ignored: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @uiName Email preferences header
|
|
12
|
+
*/
|
|
13
|
+
emailPreferencesHeader: string;
|
|
14
|
+
/**
|
|
15
|
+
* @uiName Marketing checkbox label
|
|
16
|
+
*/
|
|
17
|
+
marketingCheckboxLabel: string;
|
|
18
|
+
/**
|
|
19
|
+
* @uiName Submit changes button text
|
|
20
|
+
*/
|
|
21
|
+
submitChangeButtonText: string;
|
|
22
|
+
/**
|
|
23
|
+
* @uiName Network request error message
|
|
24
|
+
* Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
|
|
25
|
+
*/
|
|
26
|
+
networkRequestMessage: string;
|
|
27
|
+
/**
|
|
28
|
+
* @undocumented
|
|
29
|
+
* @uiType object
|
|
30
|
+
*/
|
|
31
|
+
demoData?: DemoData<PortalProfileViewProps>;
|
|
32
|
+
constructor();
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
render(): any;
|
|
35
|
+
}
|
|
@@ -27,12 +27,13 @@ import { NameFieldsViewProps } from "./components/sqm-name-fields/sqm-name-field
|
|
|
27
27
|
import { NavigationMenuViewProps } from "./components/sqm-navigation-menu/sqm-navigation-menu-view";
|
|
28
28
|
import { NavigationSidebarItemViewProps } from "./components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view";
|
|
29
29
|
import { PasswordFieldViewDemoProps } from "./components/sqm-password-field/sqm-password-field";
|
|
30
|
+
import { PortalProfileViewProps } from "./components/sqm-portal-change-marketing/sqm-portal-change-marketing-view";
|
|
30
31
|
import { PortalChangePasswordViewProps } from "./components/sqm-portal-change-password/sqm-portal-change-password-view";
|
|
31
32
|
import { PortalEmailVerificationViewProps } from "./components/sqm-portal-email-verification/sqm-portal-email-verification-view";
|
|
32
33
|
import { PortalForgotPasswordViewProps } from "./components/sqm-portal-forgot-password/sqm-portal-forgot-password-view";
|
|
33
34
|
import { PortalFrameViewProps } from "./components/sqm-portal-frame/sqm-portal-frame-view";
|
|
34
35
|
import { PortalLoginViewProps } from "./components/sqm-portal-login/sqm-portal-login-view";
|
|
35
|
-
import { PortalProfileViewProps } from "./components/sqm-portal-profile/sqm-portal-profile-view";
|
|
36
|
+
import { PortalProfileViewProps as PortalProfileViewProps1 } from "./components/sqm-portal-profile/sqm-portal-profile-view";
|
|
36
37
|
import { PortalRegisterViewProps } from "./components/sqm-portal-register/sqm-portal-register-view";
|
|
37
38
|
import { PortalRegistrationFormViewProps } from "./components/sqm-portal-registration-form/sqm-portal-registration-form-view";
|
|
38
39
|
import { PortalResetPasswordViewProps } from "./components/sqm-portal-reset-password/sqm-portal-reset-password-view";
|
|
@@ -1495,15 +1496,9 @@ export namespace Components {
|
|
|
1495
1496
|
*/
|
|
1496
1497
|
"checkboxLabel": string;
|
|
1497
1498
|
/**
|
|
1498
|
-
*
|
|
1499
|
-
* @uiName Checkbox name attribute
|
|
1500
|
-
* @required
|
|
1499
|
+
* @undocumented
|
|
1501
1500
|
*/
|
|
1502
1501
|
"checkboxName": string;
|
|
1503
|
-
/**
|
|
1504
|
-
* @uiName Required
|
|
1505
|
-
*/
|
|
1506
|
-
"checkboxRequired"?: boolean;
|
|
1507
1502
|
/**
|
|
1508
1503
|
* @undocumented
|
|
1509
1504
|
* @uiType object
|
|
@@ -1681,6 +1676,29 @@ export namespace Components {
|
|
|
1681
1676
|
*/
|
|
1682
1677
|
"poweredByText": string;
|
|
1683
1678
|
}
|
|
1679
|
+
interface SqmPortalChangeMarketing {
|
|
1680
|
+
/**
|
|
1681
|
+
* @undocumented
|
|
1682
|
+
* @uiType object
|
|
1683
|
+
*/
|
|
1684
|
+
"demoData"?: DemoData<PortalProfileViewProps>;
|
|
1685
|
+
/**
|
|
1686
|
+
* @uiName Email preferences header
|
|
1687
|
+
*/
|
|
1688
|
+
"emailPreferencesHeader": string;
|
|
1689
|
+
/**
|
|
1690
|
+
* @uiName Marketing checkbox label
|
|
1691
|
+
*/
|
|
1692
|
+
"marketingCheckboxLabel": string;
|
|
1693
|
+
/**
|
|
1694
|
+
* @uiName Network request error message Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
|
|
1695
|
+
*/
|
|
1696
|
+
"networkRequestMessage": string;
|
|
1697
|
+
/**
|
|
1698
|
+
* @uiName Submit changes button text
|
|
1699
|
+
*/
|
|
1700
|
+
"submitChangeButtonText": string;
|
|
1701
|
+
}
|
|
1684
1702
|
interface SqmPortalChangePassword {
|
|
1685
1703
|
/**
|
|
1686
1704
|
* Found in modal
|
|
@@ -5421,6 +5439,12 @@ declare global {
|
|
|
5421
5439
|
prototype: HTMLSqmPopupContainerElement;
|
|
5422
5440
|
new (): HTMLSqmPopupContainerElement;
|
|
5423
5441
|
};
|
|
5442
|
+
interface HTMLSqmPortalChangeMarketingElement extends Components.SqmPortalChangeMarketing, HTMLStencilElement {
|
|
5443
|
+
}
|
|
5444
|
+
var HTMLSqmPortalChangeMarketingElement: {
|
|
5445
|
+
prototype: HTMLSqmPortalChangeMarketingElement;
|
|
5446
|
+
new (): HTMLSqmPortalChangeMarketingElement;
|
|
5447
|
+
};
|
|
5424
5448
|
interface HTMLSqmPortalChangePasswordElement extends Components.SqmPortalChangePassword, HTMLStencilElement {
|
|
5425
5449
|
}
|
|
5426
5450
|
var HTMLSqmPortalChangePasswordElement: {
|
|
@@ -5856,6 +5880,7 @@ declare global {
|
|
|
5856
5880
|
"sqm-password-field": HTMLSqmPasswordFieldElement;
|
|
5857
5881
|
"sqm-payout-details-card": HTMLSqmPayoutDetailsCardElement;
|
|
5858
5882
|
"sqm-popup-container": HTMLSqmPopupContainerElement;
|
|
5883
|
+
"sqm-portal-change-marketing": HTMLSqmPortalChangeMarketingElement;
|
|
5859
5884
|
"sqm-portal-change-password": HTMLSqmPortalChangePasswordElement;
|
|
5860
5885
|
"sqm-portal-container": HTMLSqmPortalContainerElement;
|
|
5861
5886
|
"sqm-portal-email-verification": HTMLSqmPortalEmailVerificationElement;
|
|
@@ -7364,15 +7389,9 @@ declare namespace LocalJSX {
|
|
|
7364
7389
|
*/
|
|
7365
7390
|
"checkboxLabel"?: string;
|
|
7366
7391
|
/**
|
|
7367
|
-
*
|
|
7368
|
-
* @uiName Checkbox name attribute
|
|
7369
|
-
* @required
|
|
7392
|
+
* @undocumented
|
|
7370
7393
|
*/
|
|
7371
7394
|
"checkboxName"?: string;
|
|
7372
|
-
/**
|
|
7373
|
-
* @uiName Required
|
|
7374
|
-
*/
|
|
7375
|
-
"checkboxRequired"?: boolean;
|
|
7376
7395
|
/**
|
|
7377
7396
|
* @undocumented
|
|
7378
7397
|
* @uiType object
|
|
@@ -7550,6 +7569,29 @@ declare namespace LocalJSX {
|
|
|
7550
7569
|
*/
|
|
7551
7570
|
"poweredByText"?: string;
|
|
7552
7571
|
}
|
|
7572
|
+
interface SqmPortalChangeMarketing {
|
|
7573
|
+
/**
|
|
7574
|
+
* @undocumented
|
|
7575
|
+
* @uiType object
|
|
7576
|
+
*/
|
|
7577
|
+
"demoData"?: DemoData<PortalProfileViewProps>;
|
|
7578
|
+
/**
|
|
7579
|
+
* @uiName Email preferences header
|
|
7580
|
+
*/
|
|
7581
|
+
"emailPreferencesHeader"?: string;
|
|
7582
|
+
/**
|
|
7583
|
+
* @uiName Marketing checkbox label
|
|
7584
|
+
*/
|
|
7585
|
+
"marketingCheckboxLabel"?: string;
|
|
7586
|
+
/**
|
|
7587
|
+
* @uiName Network request error message Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
|
|
7588
|
+
*/
|
|
7589
|
+
"networkRequestMessage"?: string;
|
|
7590
|
+
/**
|
|
7591
|
+
* @uiName Submit changes button text
|
|
7592
|
+
*/
|
|
7593
|
+
"submitChangeButtonText"?: string;
|
|
7594
|
+
}
|
|
7553
7595
|
interface SqmPortalChangePassword {
|
|
7554
7596
|
/**
|
|
7555
7597
|
* Found in modal
|
|
@@ -11044,6 +11086,7 @@ declare namespace LocalJSX {
|
|
|
11044
11086
|
"sqm-password-field": SqmPasswordField;
|
|
11045
11087
|
"sqm-payout-details-card": SqmPayoutDetailsCard;
|
|
11046
11088
|
"sqm-popup-container": SqmPopupContainer;
|
|
11089
|
+
"sqm-portal-change-marketing": SqmPortalChangeMarketing;
|
|
11047
11090
|
"sqm-portal-change-password": SqmPortalChangePassword;
|
|
11048
11091
|
"sqm-portal-container": SqmPortalContainer;
|
|
11049
11092
|
"sqm-portal-email-verification": SqmPortalEmailVerification;
|
|
@@ -11159,6 +11202,7 @@ declare module "@stencil/core" {
|
|
|
11159
11202
|
"sqm-password-field": LocalJSX.SqmPasswordField & JSXBase.HTMLAttributes<HTMLSqmPasswordFieldElement>;
|
|
11160
11203
|
"sqm-payout-details-card": LocalJSX.SqmPayoutDetailsCard & JSXBase.HTMLAttributes<HTMLSqmPayoutDetailsCardElement>;
|
|
11161
11204
|
"sqm-popup-container": LocalJSX.SqmPopupContainer & JSXBase.HTMLAttributes<HTMLSqmPopupContainerElement>;
|
|
11205
|
+
"sqm-portal-change-marketing": LocalJSX.SqmPortalChangeMarketing & JSXBase.HTMLAttributes<HTMLSqmPortalChangeMarketingElement>;
|
|
11162
11206
|
"sqm-portal-change-password": LocalJSX.SqmPortalChangePassword & JSXBase.HTMLAttributes<HTMLSqmPortalChangePasswordElement>;
|
|
11163
11207
|
"sqm-portal-container": LocalJSX.SqmPortalContainer & JSXBase.HTMLAttributes<HTMLSqmPortalContainerElement>;
|
|
11164
11208
|
"sqm-portal-email-verification": LocalJSX.SqmPortalEmailVerification & JSXBase.HTMLAttributes<HTMLSqmPortalEmailVerificationElement>;
|
package/docs/docs.docx
CHANGED
|
Binary file
|