@saasquatch/mint-components 1.11.1-6 → 1.11.1-60
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-75ebafd6.js → ShadowViewAddon-c3e91cee.js} +211 -145
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +3 -3
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +5 -6
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +70 -46
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +84 -241
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +0 -10
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +135 -109
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +15 -19
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -9
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -6
- package/dist/collection/components/views/copy-text-view.js +2 -16
- package/dist/esm/{ShadowViewAddon-69360ca6.js → ShadowViewAddon-e012b2aa.js} +213 -148
- package/dist/esm/{global-b89b6edc.js → global-04c7d3b5.js} +1 -1
- package/dist/esm/{index.module-f122af7b.js → index.module-def4aec5.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-c64289f3.js → re-render-12fd274a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +9 -9
- package/dist/esm/sqm-big-stat_38.entry.js +9 -10
- package/dist/esm/sqm-close-button.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-6e13a323.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-4307c992.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +4 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +4 -4
- package/dist/esm/sqm-referral-table_11.entry.js +75 -51
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +77 -234
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-37daf533.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-46b89952.js} +2 -2
- package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-f4de0650.js} +3 -3
- package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-9fc1ac80.js} +1 -1
- package/dist/esm/{utilities-18d10876.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +1 -0
- package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
- package/dist/esm-es5/{global-b89b6edc.js → global-04c7d3b5.js} +1 -1
- package/dist/esm-es5/{index.module-f122af7b.js → index.module-def4aec5.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-c64289f3.js → re-render-12fd274a.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_38.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- 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-09cc28d6.js → sqm-invoice-table-view-6e13a323.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-60ef06cc.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.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-d72dd5ac.js → sqm-portal-profile-view-ffe955c8.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-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.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-37daf533.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-46b89952.js} +1 -1
- package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
- package/dist/esm-es5/{utilities-18d10876.js → utilities-3f5bba22.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-021a735d.entry.js +1 -0
- package/dist/mint-components/{p-21d4f6ce.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-c1ba2ad0.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/p-0b9fa97f.js +1 -0
- package/dist/mint-components/{p-55588b46.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/{p-969075f6.js → p-10685090.js} +23 -23
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-12c56ba6.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/{p-32cf8417.js → p-1b9e6fc6.js} +1 -1
- package/dist/mint-components/{p-942d1c22.entry.js → p-1c857edb.entry.js} +2 -2
- package/dist/mint-components/{p-a1150633.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/p-2a784d42.entry.js +1 -0
- package/dist/mint-components/{p-cfbe2f86.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-991c9787.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-d3d281ff.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-1c710e16.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-f52c3aec.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-0f028514.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-1c6e4a5f.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/{p-59c141a2.system.js → p-3ed71bef.system.js} +1 -1
- package/dist/mint-components/{p-aa933e70.entry.js → p-3f385f47.entry.js} +9 -9
- package/dist/mint-components/{p-8077e9c6.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/{p-43a990b6.system.js → p-44787d6e.system.js} +1 -1
- package/dist/mint-components/{p-67846dce.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e41cb11f.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-f44d88fa.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-03a647c2.system.js → p-4e48267b.system.js} +1 -1
- package/dist/mint-components/{p-daba8cd2.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-798ed3a2.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/{p-0806343b.js → p-509e29e6.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-3cc5474d.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-7962ab58.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-46ca288c.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/{p-ecefeaa9.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-14dac608.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/p-5f1c4160.system.entry.js +1 -0
- package/dist/mint-components/p-61eab172.js +1 -0
- package/dist/mint-components/{p-9deac406.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/p-6c59f08a.system.entry.js +1 -0
- package/dist/mint-components/{p-6e62f207.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-18a7f543.system.entry.js → p-711ba77e.system.entry.js} +1 -1
- package/dist/mint-components/{p-22de9f73.system.entry.js → p-733825fa.system.entry.js} +1 -1
- package/dist/mint-components/p-76b2506e.system.entry.js +1 -0
- package/dist/mint-components/{p-6e7e8af6.system.js → p-770368bc.system.js} +1 -1
- package/dist/mint-components/{p-ff41c804.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/{p-bb6f6681.system.js → p-7d5e0645.system.js} +1 -1
- package/dist/mint-components/{p-41499327.entry.js → p-7f088154.entry.js} +1 -1
- package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-96cb9c17.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-9c3d78e9.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
- package/dist/mint-components/{p-26306ac4.system.entry.js → p-8e907ac7.system.entry.js} +1 -1
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/p-95771f79.system.js +1 -0
- package/dist/mint-components/{p-acc93caa.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7c1ebb1.entry.js → p-9df2fe24.entry.js} +2 -2
- package/dist/mint-components/{p-476182e7.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/{p-523ed056.system.js → p-a51533cb.system.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-9288cca6.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/{p-00be5090.js → p-a8f7cb95.js} +1 -1
- package/dist/mint-components/{p-1b1d10e5.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-fae82751.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-de2a8fae.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/{p-1099290c.system.js → p-b370fca8.system.js} +1 -1
- package/dist/mint-components/{p-246a2827.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-a474b0ec.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/{p-ea88142c.js → p-bb00db59.js} +1 -1
- package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-18a19cb5.system.js → p-c5577dd7.system.js} +1 -1
- package/dist/mint-components/{p-02f6cda4.js → p-c5d2e4ba.js} +1 -1
- package/dist/mint-components/{p-73decce7.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-ed161025.js → p-c8610d0c.js} +1 -1
- package/dist/mint-components/p-ce5afa40.entry.js +1 -0
- package/dist/mint-components/{p-3373d84e.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-82e09b8d.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/p-d495896f.system.entry.js +1 -0
- package/dist/mint-components/{p-15dee492.js → p-d49e2f7a.js} +1 -1
- package/dist/mint-components/{p-110dddfe.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/p-dd7ee007.system.js +1 -0
- package/dist/mint-components/p-e3735866.entry.js +11 -0
- package/dist/mint-components/{p-b334bde8.entry.js → p-e5a0c50e.entry.js} +2 -2
- package/dist/mint-components/{p-ce746af8.system.js → p-e8dde8f4.system.js} +1 -1
- package/dist/mint-components/{p-1df19ea2.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-48b7d703.entry.js → p-ec41d6a4.entry.js} +6 -6
- package/dist/mint-components/{p-bf834367.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/p-ed17e637.system.js +1 -0
- package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/mint-components/{p-855ae1b5.js → p-fb93c962.js} +1 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +2 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
- package/dist/types/components/views/copy-text-view.d.ts +0 -2
- package/dist/types/components.d.ts +0 -170
- 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/cjs/copy-text-view-ec6055a6.js +0 -198
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -321
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -30
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -86
- package/dist/collection/components/sqm-pagination/usePagination.js +0 -8
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -315
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -55
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -35
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -59
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -99
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -99
- package/dist/esm/copy-text-view-730ad677.js +0 -192
- package/dist/esm/sqm-pagination_3.entry.js +0 -315
- package/dist/esm-es5/ShadowViewAddon-69360ca6.js +0 -1
- package/dist/esm-es5/copy-text-view-730ad677.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-14114804.js +0 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
- package/dist/mint-components/p-01434e4a.entry.js +0 -1
- package/dist/mint-components/p-0fcec6ab.system.js +0 -1
- package/dist/mint-components/p-1ce4fa30.system.entry.js +0 -1
- package/dist/mint-components/p-2d98dd8b.js +0 -29
- package/dist/mint-components/p-2e16db11.entry.js +0 -1
- package/dist/mint-components/p-3d90aa82.entry.js +0 -13
- package/dist/mint-components/p-494e407e.entry.js +0 -1
- package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
- package/dist/mint-components/p-5c845bc2.system.entry.js +0 -1
- package/dist/mint-components/p-5d1791f2.system.entry.js +0 -1
- package/dist/mint-components/p-5d37482d.entry.js +0 -1
- package/dist/mint-components/p-5fc8d87c.system.js +0 -1
- package/dist/mint-components/p-6790974f.system.entry.js +0 -1
- package/dist/mint-components/p-6b0e6a6c.js +0 -1
- package/dist/mint-components/p-89a760ea.js +0 -1
- package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
- package/dist/mint-components/p-b5176703.entry.js +0 -1
- package/dist/mint-components/p-bd4e9c2b.js +0 -1
- package/dist/mint-components/p-c02ffc85.system.entry.js +0 -1
- package/dist/mint-components/p-c7ce2c1e.system.js +0 -1
- package/dist/mint-components/p-ca17d998.entry.js +0 -1
- package/dist/mint-components/p-d666b326.js +0 -1
- package/dist/mint-components/p-dc41ff27.entry.js +0 -1
- package/dist/mint-components/p-e78d511b.system.js +0 -1
- package/dist/mint-components/p-f1ec1180.entry.js +0 -1
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +0 -5
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -7
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -17
- package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -15
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -9
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -9
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -10
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -21
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -47
- package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-80d7642e.js} +1 -1
- package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-248652bb.js} +1 -1
- package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-fd6e8f60.js} +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-7ffcc0d4.js} +1 -1
- package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
- package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, H, Q,
|
|
5
|
-
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
6
|
-
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
7
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_USED, C as CopyTextView } from './copy-text-view-730ad677.js';
|
|
3
|
+
import { i as intl } from './global-04c7d3b5.js';
|
|
4
|
+
import { d as dist, H, Q, y as yn, f as $e, B, a as getEnvironmentSDK, L } from './index.module-def4aec5.js';
|
|
8
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
9
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
10
|
-
import {
|
|
7
|
+
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
11
9
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
10
|
+
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
12
11
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
13
12
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
14
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
13
|
+
import { a as isValidColor, b as isMobile } from './utilities-3f5bba22.js';
|
|
15
14
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-6c582684.js';
|
|
16
15
|
|
|
17
16
|
const medium = {
|
|
@@ -217,6 +216,80 @@ function LeaderboardView(props) {
|
|
|
217
216
|
h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
|
|
218
217
|
}
|
|
219
218
|
|
|
219
|
+
const style$2 = {
|
|
220
|
+
HostBlock: HostBlock,
|
|
221
|
+
inputStyle: {
|
|
222
|
+
"&::part(input)": { textOverflow: "ellipsis", width: "100%" },
|
|
223
|
+
"&::part(base)": { cursor: "pointer", overflow: "visible" },
|
|
224
|
+
width: "100%",
|
|
225
|
+
},
|
|
226
|
+
inputErrorStyle: {
|
|
227
|
+
"&::part(base)": {
|
|
228
|
+
border: "2px solid red",
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
containerStyle: {
|
|
232
|
+
display: "flex",
|
|
233
|
+
alignItems: "center",
|
|
234
|
+
gap: "var(--sl-spacing-x-small)",
|
|
235
|
+
width: "100%",
|
|
236
|
+
},
|
|
237
|
+
errorTextStyle: {
|
|
238
|
+
margin: "0",
|
|
239
|
+
color: "var(--sl-color-danger-500)",
|
|
240
|
+
},
|
|
241
|
+
};
|
|
242
|
+
const vanillaStyle$1 = `
|
|
243
|
+
:host{
|
|
244
|
+
display: block;
|
|
245
|
+
width: 100%;
|
|
246
|
+
}
|
|
247
|
+
`;
|
|
248
|
+
const textAlignStyle = {
|
|
249
|
+
right: `
|
|
250
|
+
sl-input::part(input){
|
|
251
|
+
text-align: right;
|
|
252
|
+
}`,
|
|
253
|
+
center: `
|
|
254
|
+
sl-input::part(input){
|
|
255
|
+
text-align: center;
|
|
256
|
+
}`,
|
|
257
|
+
left: ``,
|
|
258
|
+
};
|
|
259
|
+
const disabledStyles = `
|
|
260
|
+
sl-input::part(input){
|
|
261
|
+
cursor: default;
|
|
262
|
+
}
|
|
263
|
+
`;
|
|
264
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
265
|
+
const styleString$2 = sheet$2.toString();
|
|
266
|
+
function CopyTextView(props) {
|
|
267
|
+
const { buttonStyle = "icon" } = props;
|
|
268
|
+
const error = !props.loading && props.error;
|
|
269
|
+
const inputText = error ? props.inputPlaceholderText : props.copyString;
|
|
270
|
+
const disabled = error || props.loading || props.disabled;
|
|
271
|
+
const tooltipPlacement = props.buttonStyle === "button-below"
|
|
272
|
+
? "bottom"
|
|
273
|
+
: props.buttonStyle === "button-outside"
|
|
274
|
+
? "top"
|
|
275
|
+
: "top-end";
|
|
276
|
+
const copyButton = (h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: tooltipPlacement, disabled: props.disabled, open: props.open, skidding: props.buttonStyle === "icon" ? -5 : 0, slot: "suffix" }, buttonStyle === "icon" ? (h("sl-icon-button", { exportparts: "base: icon-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, name: "files", disabled: disabled })) : (h("sl-button", { exportparts: "base: copy-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: "medium", style: { width: `${buttonStyle === "button-below" && "100%"}` }, disabled: disabled, type: "primary" }, props.copyButtonLabel || "Copy"))));
|
|
277
|
+
return (h("div", null,
|
|
278
|
+
h("style", { type: "text/css" },
|
|
279
|
+
styleString$2,
|
|
280
|
+
vanillaStyle$1,
|
|
281
|
+
textAlignStyle[props.textAlign],
|
|
282
|
+
disabled && disabledStyles),
|
|
283
|
+
h("div", { class: sheet$2.classes.containerStyle, style: {
|
|
284
|
+
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
285
|
+
} },
|
|
286
|
+
h("sl-input", { class: `${sheet$2.classes.inputStyle} ${error ? sheet$2.classes.inputErrorStyle : ""}`, exportparts: "base: input-base, input: input-label", value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
287
|
+
buttonStyle === "icon" && copyButton,
|
|
288
|
+
error && (h("p", { slot: "help-text", class: sheet$2.classes.errorTextStyle }, props.errorText))),
|
|
289
|
+
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
290
|
+
copyButton)));
|
|
291
|
+
}
|
|
292
|
+
|
|
220
293
|
function BigStatView(props) {
|
|
221
294
|
const { statvalue, flexReverse, alignment } = props;
|
|
222
295
|
// Dependent on props, not feasiable to move out
|
|
@@ -252,7 +325,7 @@ function BigStatView(props) {
|
|
|
252
325
|
h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
|
|
253
326
|
}
|
|
254
327
|
|
|
255
|
-
const style$
|
|
328
|
+
const style$3 = {
|
|
256
329
|
HostBlock: HostBlock,
|
|
257
330
|
Frame: {
|
|
258
331
|
display: "flex",
|
|
@@ -286,17 +359,17 @@ const style$2 = {
|
|
|
286
359
|
},
|
|
287
360
|
},
|
|
288
361
|
};
|
|
289
|
-
const sheet$
|
|
290
|
-
const styleString$
|
|
362
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
363
|
+
const styleString$3 = sheet$3.toString();
|
|
291
364
|
function PortalFrameView(props, children) {
|
|
292
365
|
const { data, notFullScreen } = props;
|
|
293
|
-
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$
|
|
294
|
-
h("style", { type: "text/css" }, styleString$
|
|
295
|
-
h("div", { class: sheet$
|
|
366
|
+
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$3.classes.Frame, part: "sqm-base" },
|
|
367
|
+
h("style", { type: "text/css" }, styleString$3),
|
|
368
|
+
h("div", { class: sheet$3.classes.HeaderWrapper, part: "sqm-header" },
|
|
296
369
|
data.header,
|
|
297
370
|
h("slot", { name: "sqm-navigation-menu" })),
|
|
298
371
|
children,
|
|
299
|
-
h("div", { class: sheet$
|
|
372
|
+
h("div", { class: sheet$3.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
|
|
300
373
|
}
|
|
301
374
|
|
|
302
375
|
const EditProfileView = (props) => {
|
|
@@ -376,18 +449,13 @@ function useShareLink(props) {
|
|
|
376
449
|
const { programId = H() } = props;
|
|
377
450
|
const user = Q();
|
|
378
451
|
const engagementMedium = B();
|
|
379
|
-
const
|
|
380
|
-
const { data } = yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
452
|
+
const { data } = yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
381
453
|
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
382
|
-
const
|
|
383
|
-
const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink))) !== null && _b !== void 0 ? _b :
|
|
454
|
+
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
384
455
|
// Shown during loading
|
|
385
456
|
"...";
|
|
386
457
|
const [open, setOpen] = useState(false);
|
|
387
458
|
function onClick() {
|
|
388
|
-
if (contextData) {
|
|
389
|
-
setUsed(true);
|
|
390
|
-
}
|
|
391
459
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
392
460
|
// Only if called from a user-initiated event
|
|
393
461
|
navigator.clipboard.writeText(copyString);
|
|
@@ -446,19 +514,23 @@ function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformT
|
|
|
446
514
|
alert(unsupportedPlatformText);
|
|
447
515
|
}
|
|
448
516
|
}
|
|
449
|
-
function FacebookShare(directLink,
|
|
450
|
-
|
|
517
|
+
function FacebookShare(directLink, res, errorText) {
|
|
518
|
+
var _a, _b;
|
|
519
|
+
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) === "undefined" ||
|
|
520
|
+
directLink === "undefined") {
|
|
451
521
|
return alert(errorText);
|
|
452
522
|
}
|
|
453
523
|
if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
|
|
454
|
-
return SquatchAndroid.shareOnFacebook(directLink, messageLink);
|
|
524
|
+
return SquatchAndroid.shareOnFacebook(directLink, res.data.viewer.messageLink);
|
|
455
525
|
}
|
|
456
526
|
else {
|
|
457
|
-
return GenericShare(
|
|
527
|
+
return GenericShare(res, errorText);
|
|
458
528
|
}
|
|
459
529
|
}
|
|
460
|
-
function GenericShare(
|
|
461
|
-
|
|
530
|
+
function GenericShare(res, errorText) {
|
|
531
|
+
var _a, _b;
|
|
532
|
+
return ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) ? window.open(res.data.viewer.messageLink)
|
|
533
|
+
: alert(errorText);
|
|
462
534
|
}
|
|
463
535
|
function useShareButton(props) {
|
|
464
536
|
var _a, _b;
|
|
@@ -470,30 +542,23 @@ function useShareButton(props) {
|
|
|
470
542
|
programId: programId,
|
|
471
543
|
shareMedium: medium.toUpperCase(),
|
|
472
544
|
};
|
|
473
|
-
const data = In(REFERRAL_CODES_NAMESPACE);
|
|
474
|
-
const overrideData = data === null || data === void 0 ? void 0 : data[medium];
|
|
475
545
|
// only queries if a programId is available
|
|
476
|
-
const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId
|
|
477
|
-
const
|
|
478
|
-
const directLink = (overrideData === null || overrideData === void 0 ? void 0 : overrideData.shareLink) || ((_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink);
|
|
546
|
+
const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
547
|
+
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
479
548
|
const environment = getEnvironmentSDK();
|
|
480
549
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
481
550
|
window.orientation === undefined) ||
|
|
482
551
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
483
552
|
function onClick() {
|
|
484
|
-
var _a, _b, _c, _d;
|
|
485
|
-
if (overrideData) {
|
|
486
|
-
setUsed(true);
|
|
487
|
-
}
|
|
488
553
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
489
554
|
environment.type === "SquatchAndroid") {
|
|
490
|
-
FacebookShare(directLink,
|
|
555
|
+
FacebookShare(directLink, res, props.errorText);
|
|
491
556
|
}
|
|
492
557
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
493
558
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
494
559
|
}
|
|
495
560
|
else {
|
|
496
|
-
GenericShare(
|
|
561
|
+
GenericShare(res, props.errorText);
|
|
497
562
|
}
|
|
498
563
|
}
|
|
499
564
|
return { ...props, loading: res.loading, onClick, hide };
|
|
@@ -1569,7 +1634,7 @@ function PortalChangePasswordView(props) {
|
|
|
1569
1634
|
h("style", { type: "text/css" }, styleString))));
|
|
1570
1635
|
}
|
|
1571
1636
|
|
|
1572
|
-
const style$
|
|
1637
|
+
const style$4 = {
|
|
1573
1638
|
Wrapper: AuthWrapper,
|
|
1574
1639
|
Column: AuthColumn,
|
|
1575
1640
|
ForgotButtonContainer: {
|
|
@@ -1582,7 +1647,7 @@ const style$3 = {
|
|
|
1582
1647
|
},
|
|
1583
1648
|
ButtonsContainer: AuthButtonsContainer,
|
|
1584
1649
|
};
|
|
1585
|
-
const vanillaStyle$
|
|
1650
|
+
const vanillaStyle$2 = `
|
|
1586
1651
|
:host {
|
|
1587
1652
|
display: block;
|
|
1588
1653
|
}
|
|
@@ -1590,28 +1655,28 @@ const vanillaStyle$1 = `
|
|
|
1590
1655
|
display: none;
|
|
1591
1656
|
}
|
|
1592
1657
|
`;
|
|
1593
|
-
const sheet$
|
|
1594
|
-
const styleString$
|
|
1658
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1659
|
+
const styleString$4 = sheet$4.toString();
|
|
1595
1660
|
function PortalLoginView(props) {
|
|
1596
1661
|
const { states, callbacks, content } = props;
|
|
1597
|
-
return (h("div", { class: sheet$
|
|
1662
|
+
return (h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
|
|
1598
1663
|
h("style", { type: "text/css" },
|
|
1599
|
-
vanillaStyle$
|
|
1600
|
-
styleString$
|
|
1664
|
+
vanillaStyle$2,
|
|
1665
|
+
styleString$4),
|
|
1601
1666
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1602
|
-
h("sl-form", { class: sheet$
|
|
1667
|
+
h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit },
|
|
1603
1668
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1604
1669
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1605
1670
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1606
1671
|
h("div", null,
|
|
1607
1672
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1608
|
-
h("div", { class: sheet$
|
|
1609
|
-
h("div", { class: sheet$
|
|
1673
|
+
h("div", { class: sheet$4.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1674
|
+
h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1610
1675
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1611
1676
|
content.secondaryButton))));
|
|
1612
1677
|
}
|
|
1613
1678
|
|
|
1614
|
-
const style$
|
|
1679
|
+
const style$5 = {
|
|
1615
1680
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1616
1681
|
Column: AuthColumn,
|
|
1617
1682
|
HostBlock: HostBlock,
|
|
@@ -1622,7 +1687,7 @@ const style$4 = {
|
|
|
1622
1687
|
ButtonsContainer: AuthButtonsContainer,
|
|
1623
1688
|
ErrorStyle: ErrorStyles,
|
|
1624
1689
|
};
|
|
1625
|
-
const vanillaStyle$
|
|
1690
|
+
const vanillaStyle$3 = `
|
|
1626
1691
|
sqm-portal-register {
|
|
1627
1692
|
margin: 0 auto;
|
|
1628
1693
|
width: 100%;
|
|
@@ -1637,20 +1702,20 @@ sqm-portal-register {
|
|
|
1637
1702
|
display: none;
|
|
1638
1703
|
}
|
|
1639
1704
|
`;
|
|
1640
|
-
const sheet$
|
|
1641
|
-
const styleString$
|
|
1705
|
+
const sheet$5 = createStyleSheet(style$5);
|
|
1706
|
+
const styleString$5 = sheet$5.toString();
|
|
1642
1707
|
function PortalRegisterView(props) {
|
|
1643
1708
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1644
1709
|
const { states, refs, callbacks, content } = props;
|
|
1645
1710
|
if (states.error) {
|
|
1646
1711
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1647
1712
|
}
|
|
1648
|
-
return (h("div", { class: sheet$
|
|
1713
|
+
return (h("div", { class: sheet$5.classes.Wrapper, part: "sqm-base" },
|
|
1649
1714
|
h("style", { type: "text/css" },
|
|
1650
|
-
vanillaStyle$
|
|
1651
|
-
styleString$
|
|
1715
|
+
vanillaStyle$3,
|
|
1716
|
+
styleString$5),
|
|
1652
1717
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1653
|
-
h("sl-form", { class: sheet$
|
|
1718
|
+
h("sl-form", { class: sheet$5.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1654
1719
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1655
1720
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1656
1721
|
content.formData,
|
|
@@ -1663,7 +1728,7 @@ function PortalRegisterView(props) {
|
|
|
1663
1728
|
return content.invalidEmailErrorMessage;
|
|
1664
1729
|
}
|
|
1665
1730
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1666
|
-
class: sheet$
|
|
1731
|
+
class: sheet$5.classes.ErrorStyle,
|
|
1667
1732
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1668
1733
|
content.requiredFieldErrorMessage,
|
|
1669
1734
|
}
|
|
@@ -1671,17 +1736,17 @@ function PortalRegisterView(props) {
|
|
|
1671
1736
|
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
1672
1737
|
content.passwordField,
|
|
1673
1738
|
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
1674
|
-
class: sheet$
|
|
1739
|
+
class: sheet$5.classes.ErrorStyle,
|
|
1675
1740
|
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1676
1741
|
}
|
|
1677
1742
|
: [])))),
|
|
1678
1743
|
content.terms,
|
|
1679
|
-
h("div", { class: sheet$
|
|
1744
|
+
h("div", { class: sheet$5.classes.ButtonsContainer },
|
|
1680
1745
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1681
1746
|
content.secondaryButton))));
|
|
1682
1747
|
}
|
|
1683
1748
|
|
|
1684
|
-
const style$
|
|
1749
|
+
const style$6 = {
|
|
1685
1750
|
Description: {
|
|
1686
1751
|
"& input[type=checkbox]": {
|
|
1687
1752
|
display: "none",
|
|
@@ -1720,13 +1785,13 @@ const style$5 = {
|
|
|
1720
1785
|
},
|
|
1721
1786
|
},
|
|
1722
1787
|
};
|
|
1723
|
-
const sheet$
|
|
1724
|
-
const styleString$
|
|
1788
|
+
const sheet$6 = createStyleSheet(style$6);
|
|
1789
|
+
const styleString$6 = sheet$6.toString();
|
|
1725
1790
|
function Details(props) {
|
|
1726
1791
|
const rid = Math.random().toString(36).slice(2);
|
|
1727
1792
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1728
|
-
h("style", { type: "text/css" }, styleString$
|
|
1729
|
-
h("span", { class: sheet$
|
|
1793
|
+
h("style", { type: "text/css" }, styleString$6),
|
|
1794
|
+
h("span", { class: sheet$6.classes.Description },
|
|
1730
1795
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1731
1796
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1732
1797
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1748,7 +1813,7 @@ const GreyGift = () => {
|
|
|
1748
1813
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
|
|
1749
1814
|
};
|
|
1750
1815
|
|
|
1751
|
-
const style$
|
|
1816
|
+
const style$7 = {
|
|
1752
1817
|
ProgressBar: {
|
|
1753
1818
|
"& .progress-bar": {
|
|
1754
1819
|
height: "0",
|
|
@@ -1860,14 +1925,14 @@ const style$6 = {
|
|
|
1860
1925
|
},
|
|
1861
1926
|
},
|
|
1862
1927
|
};
|
|
1863
|
-
const sheet$
|
|
1864
|
-
const styleString$
|
|
1928
|
+
const sheet$7 = createStyleSheet(style$7, { classNamePrefix: "sqm-prog-bar" });
|
|
1929
|
+
const styleString$7 = sheet$7.toString();
|
|
1865
1930
|
function ProgressBarView(props) {
|
|
1866
1931
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1867
1932
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1868
1933
|
const { columns, items } = aggregate;
|
|
1869
|
-
return (h("div", { class: sheet$
|
|
1870
|
-
h("style", { type: "text/css" }, styleString$
|
|
1934
|
+
return (h("div", { class: sheet$7.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1935
|
+
h("style", { type: "text/css" }, styleString$7),
|
|
1871
1936
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1872
1937
|
(Boolean(finite) && progress > 2 * goal)
|
|
1873
1938
|
? "progress-bar repeatable-steps"
|
|
@@ -2158,7 +2223,7 @@ const arrow_left_right = () => {
|
|
|
2158
2223
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
2159
2224
|
};
|
|
2160
2225
|
|
|
2161
|
-
const style$
|
|
2226
|
+
const style$8 = {
|
|
2162
2227
|
TaskCard: {
|
|
2163
2228
|
display: "inline-block",
|
|
2164
2229
|
width: "100%",
|
|
@@ -2312,8 +2377,8 @@ const style$7 = {
|
|
|
2312
2377
|
},
|
|
2313
2378
|
},
|
|
2314
2379
|
};
|
|
2315
|
-
const sheet$
|
|
2316
|
-
const styleString$
|
|
2380
|
+
const sheet$8 = createStyleSheet(style$8);
|
|
2381
|
+
const styleString$8 = sheet$8.toString();
|
|
2317
2382
|
function TaskCardView(props) {
|
|
2318
2383
|
var _a, _b;
|
|
2319
2384
|
const { callbacks, states, content } = props;
|
|
@@ -2349,11 +2414,11 @@ function TaskCardView(props) {
|
|
|
2349
2414
|
}
|
|
2350
2415
|
|
|
2351
2416
|
`;
|
|
2352
|
-
return (h("div", { class: sheet$
|
|
2417
|
+
return (h("div", { class: sheet$8.classes.TaskCard, part: "sqm-base" },
|
|
2353
2418
|
h("style", { type: "text/css" },
|
|
2354
|
-
styleString$
|
|
2419
|
+
styleString$8,
|
|
2355
2420
|
vanillaStyle),
|
|
2356
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2421
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$8.classes.NotStarted },
|
|
2357
2422
|
h("span", { class: "icon" },
|
|
2358
2423
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2359
2424
|
intl.formatMessage({
|
|
@@ -2364,7 +2429,7 @@ function TaskCardView(props) {
|
|
|
2364
2429
|
.setLocale(luxonLocale(states.locale))
|
|
2365
2430
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2366
2431
|
}))),
|
|
2367
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2432
|
+
!states.loading && taskEnded && (h("div", { class: sheet$8.classes.Ended },
|
|
2368
2433
|
h("span", { class: "icon" },
|
|
2369
2434
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2370
2435
|
intl.formatMessage({
|
|
@@ -2384,7 +2449,7 @@ function TaskCardView(props) {
|
|
|
2384
2449
|
? "main complete"
|
|
2385
2450
|
: "main" },
|
|
2386
2451
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2387
|
-
h("div", { class: sheet$
|
|
2452
|
+
h("div", { class: sheet$8.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2388
2453
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2389
2454
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2390
2455
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2400,7 +2465,7 @@ function TaskCardView(props) {
|
|
|
2400
2465
|
} }, content.cardTitle)),
|
|
2401
2466
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2402
2467
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2403
|
-
h("div", { class: sheet$
|
|
2468
|
+
h("div", { class: sheet$8.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2404
2469
|
h("span", { class: "text" },
|
|
2405
2470
|
content.repeatable && (h("div", null,
|
|
2406
2471
|
h("span", { class: repetitions > 0
|
|
@@ -2471,7 +2536,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2471
2536
|
h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
2472
2537
|
}
|
|
2473
2538
|
|
|
2474
|
-
const vanillaStyle$
|
|
2539
|
+
const vanillaStyle$4 = `
|
|
2475
2540
|
:host{
|
|
2476
2541
|
margin: 0 auto;
|
|
2477
2542
|
width: 100%;
|
|
@@ -2527,7 +2592,7 @@ function PortalFooterView(props) {
|
|
|
2527
2592
|
const styleString = sheet.toString();
|
|
2528
2593
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2529
2594
|
h("style", { type: "text/css" },
|
|
2530
|
-
vanillaStyle$
|
|
2595
|
+
vanillaStyle$4,
|
|
2531
2596
|
styleString),
|
|
2532
2597
|
h("div", { class: sheet.classes.RowContainer },
|
|
2533
2598
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2699,7 +2764,7 @@ function ReferralIframeView(props) {
|
|
|
2699
2764
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2700
2765
|
}
|
|
2701
2766
|
|
|
2702
|
-
const style$
|
|
2767
|
+
const style$9 = {
|
|
2703
2768
|
ErrorStyle: ErrorStyles,
|
|
2704
2769
|
FieldsContainer: {
|
|
2705
2770
|
"& sl-input": {
|
|
@@ -2707,7 +2772,7 @@ const style$8 = {
|
|
|
2707
2772
|
},
|
|
2708
2773
|
},
|
|
2709
2774
|
};
|
|
2710
|
-
const vanillaStyle$
|
|
2775
|
+
const vanillaStyle$5 = `
|
|
2711
2776
|
:host {
|
|
2712
2777
|
margin: 0 auto;
|
|
2713
2778
|
width: 100%;
|
|
@@ -2719,21 +2784,21 @@ sl-input::part(label){
|
|
|
2719
2784
|
font-weight: var(--sl-font-weight-semibold);
|
|
2720
2785
|
}
|
|
2721
2786
|
`;
|
|
2722
|
-
const sheet$
|
|
2723
|
-
const styleString$
|
|
2787
|
+
const sheet$9 = createStyleSheet(style$9);
|
|
2788
|
+
const styleString$9 = sheet$9.toString();
|
|
2724
2789
|
function NameFieldsView(props) {
|
|
2725
2790
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2726
2791
|
const { states } = props;
|
|
2727
2792
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2728
|
-
return (h("div", { class: sheet$
|
|
2793
|
+
return (h("div", { class: sheet$9.classes.FieldsContainer },
|
|
2729
2794
|
h("style", { type: "text/css" },
|
|
2730
|
-
vanillaStyle$
|
|
2731
|
-
styleString$
|
|
2795
|
+
vanillaStyle$5,
|
|
2796
|
+
styleString$9),
|
|
2732
2797
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2733
2798
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2734
2799
|
}
|
|
2735
2800
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2736
|
-
class: sheet$
|
|
2801
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2737
2802
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2738
2803
|
}
|
|
2739
2804
|
: []))),
|
|
@@ -2741,13 +2806,13 @@ function NameFieldsView(props) {
|
|
|
2741
2806
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2742
2807
|
}
|
|
2743
2808
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2744
|
-
class: sheet$
|
|
2809
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2745
2810
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2746
2811
|
}
|
|
2747
2812
|
: [])))));
|
|
2748
2813
|
}
|
|
2749
2814
|
|
|
2750
|
-
const style$
|
|
2815
|
+
const style$a = {
|
|
2751
2816
|
ErrorStyle: {
|
|
2752
2817
|
"&::part(control)": {
|
|
2753
2818
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2770,7 +2835,7 @@ const style$9 = {
|
|
|
2770
2835
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2771
2836
|
},
|
|
2772
2837
|
};
|
|
2773
|
-
const vanillaStyle$
|
|
2838
|
+
const vanillaStyle$6 = `
|
|
2774
2839
|
:host {
|
|
2775
2840
|
margin: 0 auto;
|
|
2776
2841
|
width: 100%;
|
|
@@ -2786,22 +2851,22 @@ sl-checkbox::part(base){
|
|
|
2786
2851
|
}
|
|
2787
2852
|
`;
|
|
2788
2853
|
jss.setup(create());
|
|
2789
|
-
const sheet$
|
|
2790
|
-
const styleString$
|
|
2854
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2855
|
+
const styleString$a = sheet$a.toString();
|
|
2791
2856
|
function CheckboxFieldView(props) {
|
|
2792
2857
|
var _a, _b, _c;
|
|
2793
2858
|
const { states, content, callbacks } = props;
|
|
2794
2859
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2795
|
-
return (h("div", { class: sheet$
|
|
2860
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2796
2861
|
h("style", { type: "text/css" },
|
|
2797
|
-
vanillaStyle$
|
|
2798
|
-
styleString$
|
|
2862
|
+
vanillaStyle$6,
|
|
2863
|
+
styleString$a),
|
|
2799
2864
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2800
2865
|
e.target.value = e.target.checked;
|
|
2801
2866
|
callbacks.setChecked(e.target.value);
|
|
2802
2867
|
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2803
2868
|
? {
|
|
2804
|
-
class: sheet$
|
|
2869
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2805
2870
|
}
|
|
2806
2871
|
: [])),
|
|
2807
2872
|
intl.formatMessage({
|
|
@@ -2810,13 +2875,13 @@ function CheckboxFieldView(props) {
|
|
|
2810
2875
|
}, {
|
|
2811
2876
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2812
2877
|
}),
|
|
2813
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2878
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2814
2879
|
id: `errorMessage-${content.checkboxName}`,
|
|
2815
2880
|
defaultMessage: content.errorMessage,
|
|
2816
2881
|
}))))));
|
|
2817
2882
|
}
|
|
2818
2883
|
|
|
2819
|
-
const style$
|
|
2884
|
+
const style$b = {
|
|
2820
2885
|
ErrorStyle: {
|
|
2821
2886
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2822
2887
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2832,7 +2897,7 @@ const style$a = {
|
|
|
2832
2897
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2833
2898
|
},
|
|
2834
2899
|
};
|
|
2835
|
-
const vanillaStyle$
|
|
2900
|
+
const vanillaStyle$7 = `
|
|
2836
2901
|
:host {
|
|
2837
2902
|
margin: 0 auto;
|
|
2838
2903
|
width: 100%;
|
|
@@ -2844,36 +2909,36 @@ sl-select::part(label){
|
|
|
2844
2909
|
}
|
|
2845
2910
|
`;
|
|
2846
2911
|
jss.setup(create());
|
|
2847
|
-
const sheet$
|
|
2848
|
-
const styleString$
|
|
2912
|
+
const sheet$b = jss.createStyleSheet(style$b);
|
|
2913
|
+
const styleString$b = sheet$b.toString();
|
|
2849
2914
|
function DropdownFieldView(props) {
|
|
2850
2915
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2851
2916
|
const { states, content } = props;
|
|
2852
2917
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2853
|
-
return (h("div", { class: sheet$
|
|
2918
|
+
return (h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2854
2919
|
h("style", { type: "text/css" },
|
|
2855
|
-
vanillaStyle$
|
|
2856
|
-
styleString$
|
|
2920
|
+
vanillaStyle$7,
|
|
2921
|
+
styleString$b),
|
|
2857
2922
|
h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2858
2923
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2859
2924
|
}
|
|
2860
2925
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2861
|
-
class: sheet$
|
|
2926
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2862
2927
|
}
|
|
2863
2928
|
: [])), content.selectOptions),
|
|
2864
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2929
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$b.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2865
2930
|
id: `errorMessage-${content.dropdownName}`,
|
|
2866
2931
|
defaultMessage: content.errorMessage,
|
|
2867
2932
|
})))));
|
|
2868
2933
|
}
|
|
2869
2934
|
|
|
2870
|
-
const style$
|
|
2935
|
+
const style$c = {
|
|
2871
2936
|
ErrorStyle: ErrorStyles,
|
|
2872
2937
|
FieldContainer: {
|
|
2873
2938
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2874
2939
|
},
|
|
2875
2940
|
};
|
|
2876
|
-
const vanillaStyle$
|
|
2941
|
+
const vanillaStyle$8 = `
|
|
2877
2942
|
:host {
|
|
2878
2943
|
margin: 0 auto;
|
|
2879
2944
|
width: 100%;
|
|
@@ -2881,21 +2946,21 @@ const vanillaStyle$7 = `
|
|
|
2881
2946
|
}
|
|
2882
2947
|
`;
|
|
2883
2948
|
jss.setup(create());
|
|
2884
|
-
const sheet$
|
|
2885
|
-
const styleString$
|
|
2949
|
+
const sheet$c = jss.createStyleSheet(style$c);
|
|
2950
|
+
const styleString$c = sheet$c.toString();
|
|
2886
2951
|
function InputFieldView(props) {
|
|
2887
2952
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2888
2953
|
const { states, content } = props;
|
|
2889
2954
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2890
|
-
return (h("div", { class: sheet$
|
|
2955
|
+
return (h("div", { class: sheet$c.classes.FieldContainer, part: "sqm-base" },
|
|
2891
2956
|
h("style", { type: "text/css" },
|
|
2892
|
-
vanillaStyle$
|
|
2893
|
-
styleString$
|
|
2957
|
+
vanillaStyle$8,
|
|
2958
|
+
styleString$c),
|
|
2894
2959
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2895
2960
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2896
2961
|
}
|
|
2897
2962
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2898
|
-
class: sheet$
|
|
2963
|
+
class: sheet$c.classes.ErrorStyle,
|
|
2899
2964
|
helpText: intl.formatMessage({
|
|
2900
2965
|
id: `errorMessage-${content.fieldName}`,
|
|
2901
2966
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2990,7 +3055,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
2990
3055
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
2991
3056
|
}
|
|
2992
3057
|
|
|
2993
|
-
const style$
|
|
3058
|
+
const style$d = {
|
|
2994
3059
|
HostBlock: HostBlock,
|
|
2995
3060
|
Container: {
|
|
2996
3061
|
minWidth: "300px",
|
|
@@ -3341,8 +3406,8 @@ const style$c = {
|
|
|
3341
3406
|
},
|
|
3342
3407
|
};
|
|
3343
3408
|
// JSS config
|
|
3344
|
-
const sheet$
|
|
3345
|
-
const styleString$
|
|
3409
|
+
const sheet$d = createStyleSheet(style$d);
|
|
3410
|
+
const styleString$d = sheet$d.toString();
|
|
3346
3411
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3347
3412
|
function RewardExchangeView(props) {
|
|
3348
3413
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3365,7 +3430,7 @@ function RewardExchangeView(props) {
|
|
|
3365
3430
|
sourceUnit: item.sourceUnit,
|
|
3366
3431
|
})));
|
|
3367
3432
|
}
|
|
3368
|
-
return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3433
|
+
return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$d.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3369
3434
|
var _a, _b, _c, _d, _e;
|
|
3370
3435
|
return callbacks.setExchangeState({
|
|
3371
3436
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3373,7 +3438,7 @@ function RewardExchangeView(props) {
|
|
|
3373
3438
|
});
|
|
3374
3439
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3375
3440
|
var _a, _b;
|
|
3376
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3441
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$d.classes.SelectItem },
|
|
3377
3442
|
step.prettyDestinationValue,
|
|
3378
3443
|
h("br", null),
|
|
3379
3444
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3392,8 +3457,8 @@ function RewardExchangeView(props) {
|
|
|
3392
3457
|
var _a;
|
|
3393
3458
|
return [
|
|
3394
3459
|
h("div", { part: "choose-reward-container" },
|
|
3395
|
-
h("div", { class: sheet$
|
|
3396
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3460
|
+
h("div", { class: sheet$d.classes.Title }, states.content.text.rewardTitle),
|
|
3461
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$d.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3397
3462
|
var _a, _b, _c, _d, _e;
|
|
3398
3463
|
const style = {
|
|
3399
3464
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3402,7 +3467,7 @@ function RewardExchangeView(props) {
|
|
|
3402
3467
|
borderRadius: "4px",
|
|
3403
3468
|
};
|
|
3404
3469
|
return (h("div", { key: item.key, style: style },
|
|
3405
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3470
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$d.classes.Card, style: {
|
|
3406
3471
|
cursor: item.unavailableReasonCode
|
|
3407
3472
|
? "not-allowed"
|
|
3408
3473
|
: "pointer",
|
|
@@ -3419,14 +3484,14 @@ function RewardExchangeView(props) {
|
|
|
3419
3484
|
? "rgba(0, 0, 0, 0.05)"
|
|
3420
3485
|
: "rgba(0, 0, 0, 0)",
|
|
3421
3486
|
} },
|
|
3422
|
-
h("div", { class: sheet$
|
|
3487
|
+
h("div", { class: sheet$d.classes.Image, style: {
|
|
3423
3488
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3424
3489
|
} },
|
|
3425
3490
|
h("img", { class: item.unavailableReasonCode
|
|
3426
3491
|
? "image subdued"
|
|
3427
3492
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3428
3493
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3429
|
-
h("div", { class: sheet$
|
|
3494
|
+
h("div", { class: sheet$d.classes.TextArea, style: {
|
|
3430
3495
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3431
3496
|
} },
|
|
3432
3497
|
h("div", { class: "title", style: {
|
|
@@ -3459,7 +3524,7 @@ function RewardExchangeView(props) {
|
|
|
3459
3524
|
item.prettySourceMinValue,
|
|
3460
3525
|
}))))))));
|
|
3461
3526
|
}))),
|
|
3462
|
-
h("div", { class: sheet$
|
|
3527
|
+
h("div", { class: sheet$d.classes.Button },
|
|
3463
3528
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3464
3529
|
];
|
|
3465
3530
|
}
|
|
@@ -3470,7 +3535,7 @@ function RewardExchangeView(props) {
|
|
|
3470
3535
|
? false
|
|
3471
3536
|
: input && !states.amount;
|
|
3472
3537
|
return (h("div", null,
|
|
3473
|
-
h("div", { class: sheet$
|
|
3538
|
+
h("div", { class: sheet$d.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3474
3539
|
h("div", { class: "wrapper" },
|
|
3475
3540
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3476
3541
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3479,7 +3544,7 @@ function RewardExchangeView(props) {
|
|
|
3479
3544
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3480
3545
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3481
3546
|
h("div", { class: "space" }))),
|
|
3482
|
-
h("div", { class: sheet$
|
|
3547
|
+
h("div", { class: sheet$d.classes.Button },
|
|
3483
3548
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3484
3549
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3485
3550
|
}
|
|
@@ -3487,8 +3552,8 @@ function RewardExchangeView(props) {
|
|
|
3487
3552
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3488
3553
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3489
3554
|
return (h("div", null,
|
|
3490
|
-
h("div", { class: sheet$
|
|
3491
|
-
h("div", { class: sheet$
|
|
3555
|
+
h("div", { class: sheet$d.classes.Confirmation, part: "confirmation-container" },
|
|
3556
|
+
h("div", { class: sheet$d.classes.Title }, states.content.text.redeemTitle),
|
|
3492
3557
|
h("div", { class: "wrapper" },
|
|
3493
3558
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3494
3559
|
h("div", { class: "reward-item-container" },
|
|
@@ -3503,13 +3568,13 @@ function RewardExchangeView(props) {
|
|
|
3503
3568
|
h("div", { class: "wrapper top-border padding" },
|
|
3504
3569
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3505
3570
|
h("div", { class: "value" }, cost)),
|
|
3506
|
-
h("div", { class: sheet$
|
|
3571
|
+
h("div", { class: sheet$d.classes.Button },
|
|
3507
3572
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3508
3573
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3509
3574
|
}
|
|
3510
3575
|
function success() {
|
|
3511
3576
|
var _a, _b, _c, _d, _e, _f;
|
|
3512
|
-
return (h("div", { class: sheet$
|
|
3577
|
+
return (h("div", { class: sheet$d.classes.Success, part: "success-container" },
|
|
3513
3578
|
h(Gift$1, null),
|
|
3514
3579
|
h(Confetti, null),
|
|
3515
3580
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3524,7 +3589,7 @@ function RewardExchangeView(props) {
|
|
|
3524
3589
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3525
3590
|
states.content.text.promoCode,
|
|
3526
3591
|
h(CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3527
|
-
h("div", { class: sheet$
|
|
3592
|
+
h("div", { class: sheet$d.classes.Button },
|
|
3528
3593
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3529
3594
|
}
|
|
3530
3595
|
const stages = {
|
|
@@ -3536,7 +3601,7 @@ function RewardExchangeView(props) {
|
|
|
3536
3601
|
const currentStage = stages[states.redeemStage];
|
|
3537
3602
|
function stageMap() {
|
|
3538
3603
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3539
|
-
return (h("div", { class: sheet$
|
|
3604
|
+
return (h("div", { class: sheet$d.classes.ProgressBar },
|
|
3540
3605
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3541
3606
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3542
3607
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3548,10 +3613,10 @@ function RewardExchangeView(props) {
|
|
|
3548
3613
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3549
3614
|
}
|
|
3550
3615
|
function loading() {
|
|
3551
|
-
return (h("div", { class: sheet$
|
|
3616
|
+
return (h("div", { class: sheet$d.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3552
3617
|
return (h("div", null,
|
|
3553
|
-
h("sl-card", { class: sheet$
|
|
3554
|
-
h("div", { class: sheet$
|
|
3618
|
+
h("sl-card", { class: sheet$d.classes.Card },
|
|
3619
|
+
h("div", { class: sheet$d.classes.CardLayout },
|
|
3555
3620
|
h("div", null,
|
|
3556
3621
|
h("sl-skeleton", { style: {
|
|
3557
3622
|
width: "100px",
|
|
@@ -3583,12 +3648,12 @@ function RewardExchangeView(props) {
|
|
|
3583
3648
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3584
3649
|
return;
|
|
3585
3650
|
refs.canvasRef.current = canvas;
|
|
3586
|
-
}, id: "my-canvas", class: sheet$
|
|
3651
|
+
}, id: "my-canvas", class: sheet$d.classes.Confetti }));
|
|
3587
3652
|
}
|
|
3588
3653
|
if (states.noExchangeOptions)
|
|
3589
3654
|
return states.content.text.empty;
|
|
3590
|
-
return (h("div", { class: sheet$
|
|
3591
|
-
h("style", { type: "text/css" }, styleString$
|
|
3655
|
+
return (h("div", { class: sheet$d.classes.Container, part: "sqm-base" },
|
|
3656
|
+
h("style", { type: "text/css" }, styleString$d),
|
|
3592
3657
|
h("div", null,
|
|
3593
3658
|
stageMap(),
|
|
3594
3659
|
states.exchangeError && errorMessage(),
|
|
@@ -4004,7 +4069,7 @@ function CardFeedView(props, children) {
|
|
|
4004
4069
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4005
4070
|
}
|
|
4006
4071
|
|
|
4007
|
-
const style$
|
|
4072
|
+
const style$e = {
|
|
4008
4073
|
HostBlock: HostBlock,
|
|
4009
4074
|
couponCodeLabel: {
|
|
4010
4075
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4012,21 +4077,21 @@ const style$d = {
|
|
|
4012
4077
|
fontSize: "var(--sl-font-size-small)",
|
|
4013
4078
|
},
|
|
4014
4079
|
};
|
|
4015
|
-
const vanillaStyle$
|
|
4080
|
+
const vanillaStyle$9 = `
|
|
4016
4081
|
:host{
|
|
4017
4082
|
display: block;
|
|
4018
4083
|
width: 100%;
|
|
4019
4084
|
}
|
|
4020
4085
|
`;
|
|
4021
|
-
const sheet$
|
|
4022
|
-
const styleString$
|
|
4086
|
+
const sheet$e = createStyleSheet(style$e);
|
|
4087
|
+
const styleString$e = sheet$e.toString();
|
|
4023
4088
|
function CouponCodeView(props) {
|
|
4024
4089
|
const error = !props.loading && props.error;
|
|
4025
4090
|
return (h("div", null,
|
|
4026
4091
|
h("style", { type: "text/css" },
|
|
4027
|
-
styleString$
|
|
4028
|
-
vanillaStyle$
|
|
4029
|
-
h("p", { class: sheet$
|
|
4092
|
+
styleString$e,
|
|
4093
|
+
vanillaStyle$9),
|
|
4094
|
+
h("p", { class: sheet$e.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4030
4095
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4031
4096
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4032
4097
|
}
|
|
@@ -4116,4 +4181,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4116
4181
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4117
4182
|
};
|
|
4118
4183
|
|
|
4119
|
-
export {
|
|
4184
|
+
export { successVariable as A, BigStatView as B, CopyTextView as C, DropdownFieldView as D, EditProfileView as E, loading as F, empty as G, HeroView as H, InputFieldView as I, rewardExchange as J, CardFeedView as K, LeaderboardView as L, CouponCodeView as M, NameFieldsView as N, ProgressBar as O, PortalFrameView as P, autoColorScaleCss as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, ShadowViewAddon as U, useBigStat as V, withShadowView as W, demoRewardExchange as X, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalLoginView as e, PortalRegisterView as f, ProgressBarView as g, PoweredByImg as h, PortalFooterView as i, CheckboxFieldView as j, RewardExchangeView as k, rewardExchangeLongText as l, rewardExchangeSelected as m, chooseAmountFixed as n, chooseAmountFixedNoDescription as o, chooseAmountVariable as p, chooseAmountVariableNoDescription as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableDisabled as s, chooseAmountVariableUnavailable as t, useShareLink as u, confirmFixed as v, confirmVariable as w, redemptionError as x, queryError as y, success as z };
|