@saasquatch/mint-components 1.13.3-0 → 1.13.3-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ErrorView-b2fcf954.js +35 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +3 -2
- package/dist/cjs/{sqm-invoice-table-view-baded4af.js → sqm-invoice-table-view-16ac73d0.js} +2 -31
- package/dist/cjs/sqm-qr-code-view-06666132.js +94 -0
- package/dist/cjs/sqm-qr-code.cjs.entry.js +164 -31
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +51 -3
- package/dist/collection/components/sqm-qr-code/QRCode.stories.js +37 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +89 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +218 -56
- package/dist/collection/components/sqm-qr-code/useQRCode.js +129 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/esm/ErrorView-48e2b969.js +33 -0
- package/dist/esm/{ShadowViewAddon-d3c11480.js → ShadowViewAddon-499b1f86.js} +7 -7
- package/dist/esm/{global-19d115b9.js → global-be1f9992.js} +2 -2
- package/dist/esm/{index.module-8553586f.js → index.module-89a79f66.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-94dbc741.js → luxon-8d51c92b.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{mockRewardData-cc9b3ada.js → mockRewardData-8bd1b356.js} +1 -1
- package/dist/esm/{re-render-bc2b60fe.js → re-render-cc945f38.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_17.entry.js +11 -10
- package/dist/esm/sqm-big-stat_39.entry.js +12 -12
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-google-sign-in.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +4 -4
- package/dist/esm/{sqm-invoice-table-view-eb07d994.js → sqm-invoice-table-view-2c726568.js} +3 -31
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- package/dist/esm/sqm-logout-current-user.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-70b65660.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-pagination_3.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-84867a42.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
- package/dist/esm/sqm-portal-google-login.entry.js +3 -3
- package/dist/esm/sqm-portal-google-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-32088a59.js → sqm-portal-profile-view-93003974.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-qr-code-view-15fe1127.js +92 -0
- package/dist/esm/sqm-qr-code.entry.js +167 -34
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-referred-registration.entry.js +4 -4
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-scroll.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +62 -14
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/sqm-widget-verification.entry.js +2 -2
- package/dist/esm/{stencil-hooks.module-c643ef4a.js → stencil-hooks.module-4bc38af4.js} +1 -1
- package/dist/esm/{useChildElements-cbd0fedf.js → useChildElements-7945ae56.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-06e94ce3.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
- package/dist/esm/{usePayoutStatus-6701d491.js → usePayoutStatus-58aa56b4.js} +2 -2
- package/dist/esm/{usePortalLogin-e6f1ebd1.js → usePortalLogin-ef647a50.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-6f22d7d7.js → usePortalRegistrationForm-4b35a357.js} +3 -3
- package/dist/esm/{useReferralCodes-1fdb0d92.js → useReferralCodes-8f75921a.js} +2 -2
- package/dist/esm/{useReferralTable-055a8849.js → useReferralTable-b3876ed6.js} +4 -4
- package/dist/esm/{useRegistrationFormState-7229b088.js → useRegistrationFormState-d6f33135.js} +2 -2
- package/dist/esm/{useVerificationEmail-a142db0c.js → useVerificationEmail-edc318cb.js} +2 -2
- package/dist/esm/{utilities-559f8273.js → utilities-5b0ca040.js} +2 -2
- package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
- package/dist/esm-es5/{ShadowViewAddon-d3c11480.js → ShadowViewAddon-499b1f86.js} +1 -1
- package/dist/esm-es5/{global-19d115b9.js → global-be1f9992.js} +1 -1
- package/dist/esm-es5/{index.module-8553586f.js → index.module-89a79f66.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-94dbc741.js → luxon-8d51c92b.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-cc9b3ada.js → mockRewardData-8bd1b356.js} +1 -1
- package/dist/esm-es5/{re-render-bc2b60fe.js → re-render-cc945f38.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.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-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-2c726568.js +1 -0
- 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-70b65660.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-84867a42.js → sqm-portal-email-verification-view-35b4353b.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-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-32088a59.js → sqm-portal-profile-view-93003974.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-15fe1127.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-c643ef4a.js → stencil-hooks.module-4bc38af4.js} +1 -1
- package/dist/esm-es5/useChildElements-7945ae56.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-06e94ce3.js → useInstantAccessRegistration-dc4ad9f2.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-6701d491.js → usePayoutStatus-58aa56b4.js} +1 -1
- package/dist/esm-es5/{usePortalLogin-e6f1ebd1.js → usePortalLogin-ef647a50.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-6f22d7d7.js → usePortalRegistrationForm-4b35a357.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-1fdb0d92.js → useReferralCodes-8f75921a.js} +1 -1
- package/dist/esm-es5/{useReferralTable-055a8849.js → useReferralTable-b3876ed6.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-7229b088.js → useRegistrationFormState-d6f33135.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-a142db0c.js → useVerificationEmail-edc318cb.js} +1 -1
- package/dist/esm-es5/{utilities-559f8273.js → utilities-5b0ca040.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-afbe1fab.entry.js → p-00ed4c2e.entry.js} +1 -1
- package/dist/mint-components/{p-9ba03826.entry.js → p-012af236.entry.js} +4 -4
- package/dist/mint-components/{p-4d4c3fda.entry.js → p-04a6e457.entry.js} +1 -1
- package/dist/mint-components/{p-46361336.js → p-05f29f64.js} +1 -1
- package/dist/mint-components/{p-d270c7a9.entry.js → p-079405ff.entry.js} +1 -1
- package/dist/mint-components/{p-b509682c.system.js → p-0d182dc1.system.js} +1 -1
- package/dist/mint-components/{p-ff45a502.entry.js → p-10d17989.entry.js} +1 -1
- package/dist/mint-components/{p-05910568.system.js → p-13ed8586.system.js} +1 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +1 -0
- package/dist/mint-components/p-1513309d.entry.js +1 -0
- package/dist/mint-components/{p-4a332d4a.system.entry.js → p-164a9103.system.entry.js} +1 -1
- package/dist/mint-components/{p-7edd349f.system.entry.js → p-18425f38.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd5380e7.system.entry.js → p-19bc3406.system.entry.js} +1 -1
- package/dist/mint-components/p-19ccb4ce.js +1 -0
- package/dist/mint-components/{p-b8c8a7a2.entry.js → p-1a6b7d2a.entry.js} +1 -1
- package/dist/mint-components/{p-019a9a23.system.entry.js → p-1b3ab15a.system.entry.js} +1 -1
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +1 -0
- package/dist/mint-components/{p-b8c2452e.system.entry.js → p-21620f81.system.entry.js} +1 -1
- package/dist/mint-components/p-275b4767.entry.js +1 -0
- package/dist/mint-components/{p-f4b9d88e.entry.js → p-284e4ed5.entry.js} +1 -1
- package/dist/mint-components/p-29a1fdeb.system.js +1 -0
- package/dist/mint-components/{p-3107ff75.entry.js → p-2ae0e06a.entry.js} +1 -1
- package/dist/mint-components/{p-fea93ffb.entry.js → p-2bbff88f.entry.js} +1 -1
- package/dist/mint-components/{p-e0b16d7d.system.js → p-2d52e2d7.system.js} +1 -1
- package/dist/mint-components/p-2d76eb85.system.entry.js +1 -0
- package/dist/mint-components/{p-6b2b1f57.entry.js → p-2da21ba4.entry.js} +1 -1
- package/dist/mint-components/{p-35a1395e.entry.js → p-2f101bae.entry.js} +1 -1
- package/dist/mint-components/p-301ddcaa.system.entry.js +1 -0
- package/dist/mint-components/{p-206d5653.entry.js → p-33c96e14.entry.js} +1 -1
- package/dist/mint-components/{p-793d3aa3.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -0
- package/dist/mint-components/{p-a8e635c8.entry.js → p-380bfde1.entry.js} +1 -1
- package/dist/mint-components/p-38fc919b.entry.js +1 -0
- package/dist/mint-components/p-3a62a7e2.system.js +1 -0
- package/dist/mint-components/{p-5b65ad93.js → p-3db34d68.js} +1 -1
- package/dist/mint-components/p-3f067fd5.js +1 -0
- package/dist/mint-components/{p-113a3397.system.entry.js → p-3f6e0197.system.entry.js} +1 -1
- package/dist/mint-components/{p-30efd193.js → p-3f7b81b8.js} +2 -2
- package/dist/mint-components/{p-24168eeb.system.entry.js → p-420554af.system.entry.js} +1 -1
- package/dist/mint-components/{p-76734619.system.entry.js → p-42187319.system.entry.js} +1 -1
- package/dist/mint-components/{p-ebdf4e46.entry.js → p-4428294b.entry.js} +1 -1
- package/dist/mint-components/{p-568239eb.entry.js → p-44891949.entry.js} +1 -1
- package/dist/mint-components/{p-78a1029d.js → p-480e08e9.js} +1 -1
- package/dist/mint-components/{p-c9246591.system.js → p-48135f99.system.js} +1 -1
- package/dist/mint-components/{p-32e46793.js → p-4e451f75.js} +1 -1
- package/dist/mint-components/{p-3197b1e1.js → p-4e526a94.js} +1 -1
- package/dist/mint-components/{p-bebdae4a.system.entry.js → p-50c902ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f6203f6.system.entry.js → p-51d3cde7.system.entry.js} +1 -1
- package/dist/mint-components/{p-84ebf29b.system.js → p-527216de.system.js} +1 -1
- package/dist/mint-components/{p-073cc02e.system.js → p-5488fdd9.system.js} +1 -1
- package/dist/mint-components/{p-153fe35e.system.entry.js → p-54adee71.system.entry.js} +1 -1
- package/dist/mint-components/{p-00af0a40.system.js → p-59274a91.system.js} +1 -1
- package/dist/mint-components/p-5afd7e38.system.entry.js +1 -0
- package/dist/mint-components/{p-8b5a132d.js → p-5bedb58c.js} +1 -1
- package/dist/mint-components/{p-b885bf6a.system.entry.js → p-5c28406d.system.entry.js} +1 -1
- package/dist/mint-components/{p-e9a14ca4.system.entry.js → p-5cb7f9fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-c123040c.system.entry.js → p-5d7e308c.system.entry.js} +1 -1
- package/dist/mint-components/{p-2147f338.system.js → p-635d5ef2.system.js} +1 -1
- package/dist/mint-components/{p-f831af31.js → p-63a75798.js} +1 -1
- package/dist/mint-components/{p-2c521ce3.entry.js → p-6427e963.entry.js} +1 -1
- package/dist/mint-components/{p-a1ace139.js → p-65069b66.js} +1 -1
- package/dist/mint-components/{p-a1d63380.entry.js → p-653f963f.entry.js} +2 -2
- package/dist/mint-components/p-68d5ffd6.js +1 -0
- package/dist/mint-components/{p-b017802f.entry.js → p-693942df.entry.js} +2 -2
- package/dist/mint-components/{p-1d761b72.system.js → p-6b7a595f.system.js} +1 -1
- package/dist/mint-components/{p-9b01c219.system.js → p-6cd4f2b1.system.js} +1 -1
- package/dist/mint-components/{p-4831eb49.js → p-6d2f5a1d.js} +2 -2
- package/dist/mint-components/{p-2bcc52ff.system.js → p-6d9e52c7.system.js} +1 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
- package/dist/mint-components/{p-f4125c66.js → p-726a9924.js} +1 -1
- package/dist/mint-components/{p-fb1f75dc.entry.js → p-775f3ded.entry.js} +1 -1
- package/dist/mint-components/{p-adbde540.entry.js → p-7846937e.entry.js} +3 -3
- package/dist/mint-components/{p-84a0679b.entry.js → p-7ab21e4d.entry.js} +1 -1
- package/dist/mint-components/{p-8d60f98e.system.js → p-7c2b9fe4.system.js} +1 -1
- package/dist/mint-components/{p-bfe3fc89.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
- package/dist/mint-components/{p-1881b80d.system.js → p-8175e85f.system.js} +1 -1
- package/dist/mint-components/{p-f78ecf4d.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
- package/dist/mint-components/{p-feaa7733.system.js → p-8413ade9.system.js} +1 -1
- package/dist/mint-components/{p-f59a57a9.system.entry.js → p-85671c3d.system.entry.js} +1 -1
- package/dist/mint-components/p-8abfeff8.entry.js +1 -0
- package/dist/mint-components/p-8c23d1b8.js +1 -0
- package/dist/mint-components/{p-0cb94e55.system.entry.js → p-8d9d04b7.system.entry.js} +1 -1
- package/dist/mint-components/{p-7875a307.system.entry.js → p-90fc6774.system.entry.js} +1 -1
- package/dist/mint-components/{p-13ed46c5.entry.js → p-91903cd7.entry.js} +2 -2
- package/dist/mint-components/{p-134884eb.js → p-94a876b9.js} +1 -1
- package/dist/mint-components/{p-27f35214.system.entry.js → p-97038074.system.entry.js} +1 -1
- package/dist/mint-components/p-98698131.js +1 -0
- package/dist/mint-components/p-9acb5038.js +1 -0
- package/dist/mint-components/{p-de97f736.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4bed343.system.entry.js → p-9cf80e85.system.entry.js} +1 -1
- package/dist/mint-components/p-9d6705d5.system.entry.js +1 -0
- package/dist/mint-components/{p-4d62fce5.entry.js → p-a2fde301.entry.js} +1 -1
- package/dist/mint-components/{p-9bbe1a0a.system.js → p-a71b9154.system.js} +1 -1
- package/dist/mint-components/p-a7746488.system.js +1 -0
- package/dist/mint-components/p-b207beeb.entry.js +1 -0
- package/dist/mint-components/{p-889ac146.system.entry.js → p-b287833c.system.entry.js} +1 -1
- package/dist/mint-components/p-b4ff7f20.entry.js +17 -0
- package/dist/mint-components/{p-3af19e46.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
- package/dist/mint-components/{p-a0f61b8d.system.entry.js → p-b82e1935.system.entry.js} +1 -1
- package/dist/mint-components/{p-283588d9.js → p-bbcd824a.js} +1 -1
- package/dist/mint-components/{p-4edcc7dd.system.js → p-bdb7d451.system.js} +1 -1
- package/dist/mint-components/{p-f33a2774.system.entry.js → p-c060f770.system.entry.js} +1 -1
- package/dist/mint-components/{p-bc12e9a4.js → p-c0f19490.js} +2 -2
- package/dist/mint-components/{p-949c8454.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
- package/dist/mint-components/{p-86685076.system.entry.js → p-c36506f6.system.entry.js} +1 -1
- package/dist/mint-components/{p-2858d87a.entry.js → p-cb7bdbe4.entry.js} +1 -1
- package/dist/mint-components/{p-03b8a4b6.entry.js → p-cbbfac66.entry.js} +1 -1
- package/dist/mint-components/{p-e868baa2.system.js → p-cc7af682.system.js} +1 -1
- package/dist/mint-components/{p-033f460e.system.js → p-cd569259.system.js} +1 -1
- package/dist/mint-components/{p-f561fbbe.js → p-cd651f81.js} +1 -1
- package/dist/mint-components/{p-65ab288b.entry.js → p-d07f3090.entry.js} +1 -1
- package/dist/mint-components/{p-e75be0ce.js → p-d6831af5.js} +2 -2
- package/dist/mint-components/{p-3b0d6e3d.system.js → p-da4ff3b4.system.js} +1 -1
- package/dist/mint-components/{p-c876e133.entry.js → p-da7708a7.entry.js} +1 -1
- package/dist/mint-components/{p-2c16f513.system.js → p-dbc0e4f8.system.js} +1 -1
- package/dist/mint-components/{p-1e5685b1.entry.js → p-dcc81e90.entry.js} +1 -1
- package/dist/mint-components/{p-45df37c4.system.entry.js → p-de8e9981.system.entry.js} +1 -1
- package/dist/mint-components/{p-5fc6c6eb.js → p-e2d5cd22.js} +1 -1
- package/dist/mint-components/{p-e1e8ce01.system.entry.js → p-e5a5ae7f.system.entry.js} +1 -1
- package/dist/mint-components/{p-9966e72f.entry.js → p-e6045498.entry.js} +1 -1
- package/dist/mint-components/{p-5bd1129c.entry.js → p-e6f50ffd.entry.js} +1 -1
- package/dist/mint-components/{p-917daa81.entry.js → p-e8ffcc68.entry.js} +2 -2
- package/dist/mint-components/{p-6bc6b98a.system.entry.js → p-f0772618.system.entry.js} +1 -1
- package/dist/mint-components/p-f15c1a53.entry.js +241 -0
- package/dist/mint-components/{p-1a9efc82.system.entry.js → p-f2d8d3d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-945fc728.system.entry.js → p-f4a72903.system.entry.js} +1 -1
- package/dist/mint-components/{p-4d744c56.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
- package/dist/mint-components/{p-46411968.system.entry.js → p-fa37513e.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c962bcd.entry.js → p-faba3198.entry.js} +1 -1
- package/dist/mint-components/{p-acb16e2d.entry.js → p-fe2e2f4a.entry.js} +1 -1
- package/dist/mint-components/p-ff8b8067.entry.js +33 -0
- package/dist/types/components/sqm-qr-code/QRCode.stories.d.ts +8 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code-view.d.ts +17 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +36 -0
- package/dist/types/components/sqm-qr-code/useQRCode.d.ts +3 -0
- package/dist/types/components.d.ts +59 -0
- 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/sqm-invoice-table-view-eb07d994.js +0 -1
- package/dist/esm-es5/useChildElements-cbd0fedf.js +0 -1
- package/dist/mint-components/p-04eda48e.entry.js +0 -1
- package/dist/mint-components/p-0b00b770.system.entry.js +0 -1
- package/dist/mint-components/p-2175e4c3.js +0 -1
- package/dist/mint-components/p-2cae23f1.system.js +0 -1
- package/dist/mint-components/p-4a9f4710.system.js +0 -1
- package/dist/mint-components/p-5800426e.system.entry.js +0 -1
- package/dist/mint-components/p-621092ee.js +0 -1
- package/dist/mint-components/p-786d3e9a.entry.js +0 -1
- package/dist/mint-components/p-8052a165.entry.js +0 -241
- package/dist/mint-components/p-8e7dbf3d.js +0 -1
- package/dist/mint-components/p-95e8f60d.entry.js +0 -1
- package/dist/mint-components/p-9b0c175c.entry.js +0 -1
- package/dist/mint-components/p-9b37f5cb.system.entry.js +0 -1
- package/dist/mint-components/p-a18b8466.entry.js +0 -33
- package/dist/mint-components/p-a6d84577.system.entry.js +0 -1
- package/dist/mint-components/p-b7991001.entry.js +0 -1
- package/dist/mint-components/p-bdbf5f74.entry.js +0 -13
- package/dist/mint-components/p-d5cceea8.entry.js +0 -1
- package/dist/mint-components/p-d9b93305.system.entry.js +0 -1
- package/dist/mint-components/p-e847a6f5.system.entry.js +0 -1
- package/dist/mint-components/p-fe268f9d.js +0 -1
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
|
-
import {
|
|
3
|
-
import { d as dist, H, J, F as Fn, w as wn, B } from './index.module-
|
|
4
|
-
import {
|
|
2
|
+
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, i as isDemo } from './index.module-89a79f66.js';
|
|
4
|
+
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
6
|
+
import './JSS-67b5cff8.js';
|
|
7
|
+
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-8f75921a.js';
|
|
8
|
+
import './ErrorView-48e2b969.js';
|
|
9
|
+
import { Q as QrCodeView } from './sqm-qr-code-view-15fe1127.js';
|
|
5
10
|
|
|
6
11
|
const ShareLinkQuery = dist.gql `
|
|
7
12
|
query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
@@ -16,47 +21,175 @@ const ShareLinkQuery = dist.gql `
|
|
|
16
21
|
}
|
|
17
22
|
}
|
|
18
23
|
`;
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
h(this);
|
|
24
|
+
const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
25
|
+
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
26
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
23
27
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
`;
|
|
29
|
+
function useQRCode(props) {
|
|
30
|
+
var _a;
|
|
31
|
+
const programId = H();
|
|
32
|
+
const user = J();
|
|
33
|
+
const engagementMedium = B();
|
|
34
|
+
const contextData = Fn(REFERRAL_CODES_NAMESPACE);
|
|
35
|
+
const [dialogIsOpen, setDialog] = useState(false);
|
|
36
|
+
const [qrLink, setQrUrl] = useState(null);
|
|
37
|
+
const [error, setError] = useState(false);
|
|
38
|
+
const [viewError, setViewError] = useState(false);
|
|
39
|
+
const { data, errors } = wn(ShareLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
|
|
40
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
41
|
+
const shareLink = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink;
|
|
42
|
+
const qrPrefix = `${shareLink}?qrCode`;
|
|
43
|
+
useEffect(() => {
|
|
44
|
+
if (!shareLink)
|
|
45
|
+
return;
|
|
46
|
+
const getQrCode = async () => {
|
|
47
|
+
try {
|
|
48
|
+
const res = await fetch(`${shareLink}?qrCode&qrCodeImageFormat=svg`);
|
|
49
|
+
const blob = await res.blob();
|
|
50
|
+
const url = URL.createObjectURL(blob);
|
|
51
|
+
setQrUrl(url);
|
|
52
|
+
}
|
|
53
|
+
catch (e) {
|
|
54
|
+
setViewError(true);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
getQrCode();
|
|
58
|
+
}, [shareLink]);
|
|
59
|
+
const fireEvent = async () => {
|
|
60
|
+
sendLoadEvent({
|
|
61
|
+
eventMeta: {
|
|
62
|
+
programId,
|
|
63
|
+
id: user === null || user === void 0 ? void 0 : user.id,
|
|
64
|
+
accountId: user === null || user === void 0 ? void 0 : user.accountId,
|
|
65
|
+
type: "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",
|
|
66
|
+
meta: {
|
|
67
|
+
engagementMedium,
|
|
68
|
+
shareMedium: "DIRECT",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
const createDownloadable = async () => {
|
|
74
|
+
try {
|
|
75
|
+
const res = await fetch(`${qrPrefix}&qrCodeSize=800&qrCodeImageFormat=png`);
|
|
37
76
|
const blob = await res.blob();
|
|
38
77
|
const url = URL.createObjectURL(blob);
|
|
78
|
+
// Successful
|
|
79
|
+
if (blob)
|
|
80
|
+
fireEvent();
|
|
81
|
+
// Trigger download
|
|
39
82
|
const link = document.createElement("a");
|
|
40
83
|
link.href = url;
|
|
41
84
|
link.download = "qrCode.png";
|
|
42
85
|
document.body.appendChild(link);
|
|
43
86
|
link.click();
|
|
44
87
|
document.body.removeChild(link);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
88
|
+
}
|
|
89
|
+
catch (e) {
|
|
90
|
+
console.error("Failed to fetch QR code:", e);
|
|
91
|
+
setError(true);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
const createPrintable = async () => {
|
|
95
|
+
try {
|
|
96
|
+
const res = await fetch(`${qrPrefix}&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H`);
|
|
97
|
+
const blob = await res.blob();
|
|
98
|
+
const url = URL.createObjectURL(blob);
|
|
99
|
+
// Successful
|
|
100
|
+
if (blob)
|
|
101
|
+
fireEvent();
|
|
102
|
+
// Trigger print
|
|
103
|
+
const page = window.open("about:blank", "_new");
|
|
104
|
+
const img = page.document.createElement("img");
|
|
105
|
+
img.src = url;
|
|
106
|
+
img.onload = () => {
|
|
107
|
+
page.print();
|
|
108
|
+
page.close();
|
|
109
|
+
};
|
|
110
|
+
page.document.body.appendChild(img);
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
console.error("Failed to fetch QR code: ", e);
|
|
114
|
+
setError(true);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
return {
|
|
118
|
+
...props,
|
|
119
|
+
qrLink,
|
|
120
|
+
dialogIsOpen,
|
|
121
|
+
error: error,
|
|
122
|
+
viewError: viewError || !!(errors === null || errors === void 0 ? void 0 : errors.message),
|
|
123
|
+
showDialog: () => {
|
|
124
|
+
setError(false);
|
|
125
|
+
setDialog(true);
|
|
126
|
+
},
|
|
127
|
+
hideDialog: () => {
|
|
128
|
+
setError(false);
|
|
129
|
+
setDialog(false);
|
|
130
|
+
},
|
|
131
|
+
createDownloadable,
|
|
132
|
+
createPrintable,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const QrCode = class {
|
|
137
|
+
constructor(hostRef) {
|
|
138
|
+
registerInstance(this, hostRef);
|
|
139
|
+
/**
|
|
140
|
+
* @uiName Title
|
|
141
|
+
*/
|
|
142
|
+
this.titleText = "Share your QR code";
|
|
143
|
+
/**
|
|
144
|
+
* @uiName View QR code text
|
|
145
|
+
*/
|
|
146
|
+
this.viewCodeText = "View QR code";
|
|
147
|
+
/**
|
|
148
|
+
* @uiName Download QR code text
|
|
149
|
+
*/
|
|
150
|
+
this.downloadCodeText = "Download";
|
|
151
|
+
/**
|
|
152
|
+
* @uiName Print QR code text
|
|
153
|
+
*/
|
|
154
|
+
this.printCodeText = "Print";
|
|
155
|
+
/**
|
|
156
|
+
* @uiName Header for error banner
|
|
157
|
+
*/
|
|
158
|
+
this.errorHeaderText = "There was an error loading your QR code";
|
|
159
|
+
/**
|
|
160
|
+
* @uiName Description for error banner
|
|
161
|
+
*/
|
|
162
|
+
this.errorDescriptionText = "Please refresh this page and try again";
|
|
163
|
+
h(this);
|
|
164
|
+
}
|
|
165
|
+
disconnectedCallback() { }
|
|
166
|
+
render() {
|
|
167
|
+
const thisProps = getProps(this);
|
|
168
|
+
const props = isDemo() ? useDemoQRCode(thisProps) : useQRCode(thisProps);
|
|
169
|
+
return h$1(QrCodeView, Object.assign({}, props));
|
|
59
170
|
}
|
|
60
171
|
};
|
|
172
|
+
function useDemoQRCode(props) {
|
|
173
|
+
const [dialogIsOpen, setDialog] = useState(false);
|
|
174
|
+
return cjs({
|
|
175
|
+
dialogIsOpen,
|
|
176
|
+
showDialog: () => setDialog(true),
|
|
177
|
+
hideDialog: () => setDialog(false),
|
|
178
|
+
titleText: props.titleText,
|
|
179
|
+
viewCodeText: props.viewCodeText,
|
|
180
|
+
downloadCodeText: props.downloadCodeText,
|
|
181
|
+
printCodeText: props.printCodeText,
|
|
182
|
+
qrLink: "https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",
|
|
183
|
+
fireViewQrEvent: () => {
|
|
184
|
+
console.log("View QR Code clicked");
|
|
185
|
+
},
|
|
186
|
+
createDownloadable: async () => {
|
|
187
|
+
console.log("Download QR Code clicked");
|
|
188
|
+
},
|
|
189
|
+
createPrintable: async () => {
|
|
190
|
+
console.log("Print QR Code clicked");
|
|
191
|
+
},
|
|
192
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
193
|
+
}
|
|
61
194
|
|
|
62
195
|
export { QrCode as sqm_qr_code };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-91e7729f.js';
|
|
2
|
-
import { n as h,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { i as intl } from './global-be1f9992.js';
|
|
4
|
+
import { i as isDemo } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-83f90fa1.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-7b9087af.js';
|
|
10
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
13
|
-
import { g as getPaypalMeta } from './mockRewardData-
|
|
14
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
10
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-cc945f38.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
12
|
+
import { l as luxon } from './luxon-8d51c92b.js';
|
|
13
|
+
import { g as getPaypalMeta } from './mockRewardData-8bd1b356.js';
|
|
14
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-b3876ed6.js';
|
|
15
15
|
import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
|
|
16
16
|
|
|
17
17
|
const mockReferralData = (count = 4) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import { i as isDemo, b as setUserIdentity } from './index.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { i as isDemo, b as setUserIdentity } from './index.module-89a79f66.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-83f90fa1.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-a7818cf2.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
9
|
+
import './useRegistrationFormState-d6f33135.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dc4ad9f2.js';
|
|
11
11
|
|
|
12
12
|
const ReferredRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import './index.module-89a79f66.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-cc945f38.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-91e7729f.js';
|
|
2
|
-
import { b as browser,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-
|
|
2
|
+
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { i as intl } from './global-be1f9992.js';
|
|
4
|
+
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-83f90fa1.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-7b9087af.js';
|
|
10
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
13
|
-
import { m as mockRewardData } from './mockRewardData-
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-
|
|
10
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-cc945f38.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
12
|
+
import { l as luxon } from './luxon-8d51c92b.js';
|
|
13
|
+
import { m as mockRewardData } from './mockRewardData-8bd1b356.js';
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-b3876ed6.js';
|
|
15
15
|
|
|
16
16
|
const debug = browser("sq:useRewardsTable");
|
|
17
17
|
const CSS_NAMESPACE = "sqm-rewards-table";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
|
|
5
5
|
const REVEAL_EVENT = "sq:reveal";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-91e7729f.js';
|
|
2
|
-
import { a as commonjsGlobal, u as useMemo,
|
|
3
|
-
import './global-
|
|
4
|
-
import { j as jn, k as kn, b as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-
|
|
2
|
+
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import './global-be1f9992.js';
|
|
4
|
+
import { j as jn, k as kn, b as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-89a79f66.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import './useReferralCodes-
|
|
8
|
+
import './useReferralCodes-8f75921a.js';
|
|
9
9
|
import './mixins-83f90fa1.js';
|
|
10
10
|
import { C as CopyTextView } from './copy-text-view-782137ba.js';
|
|
11
11
|
import { G as GenericTableView } from './GenericTableView-7b9087af.js';
|
|
12
|
-
import './useChildElements-
|
|
13
|
-
import { l as luxon } from './luxon-
|
|
12
|
+
import './useChildElements-7945ae56.js';
|
|
13
|
+
import { l as luxon } from './luxon-8d51c92b.js';
|
|
14
14
|
import './sqm-text-span-view-ca32495e.js';
|
|
15
15
|
import { A as AssetCardView } from './sqm-asset-card-view-fe5db3c0.js';
|
|
16
16
|
import { C as CloseButtonView } from './sqm-close-button-view-f9819751.js';
|
|
@@ -19,19 +19,21 @@ import { E as EmailRegistrationView } from './email-registration-view-a7818cf2.j
|
|
|
19
19
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-753c8d4a.js';
|
|
20
20
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-8ef8180f.js';
|
|
21
21
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-9d802b78.js';
|
|
22
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
23
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
22
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-8f1c72bc.js';
|
|
23
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-35b4353b.js';
|
|
24
24
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-3d3182f1.js';
|
|
25
25
|
import { P as PortalLoginView } from './sqm-portal-login-view-7e49609a.js';
|
|
26
26
|
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-593d4ac3.js';
|
|
27
27
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-32c4b488.js';
|
|
28
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
29
|
-
import './utilities-
|
|
28
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-93003974.js';
|
|
29
|
+
import './utilities-5b0ca040.js';
|
|
30
30
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-54a8651f.js';
|
|
31
31
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-b12cb894.js';
|
|
32
|
-
import
|
|
32
|
+
import './ErrorView-48e2b969.js';
|
|
33
|
+
import { Q as QrCodeView } from './sqm-qr-code-view-15fe1127.js';
|
|
34
|
+
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalRegisterView, T as TaskCardView, f as ProgressBarView, g as PoweredByImg$1, h as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, J as CouponCodeView, K as ProgressBar$2, M as autoColorScaleCss, O as ShadowViewAddon } from './ShadowViewAddon-499b1f86.js';
|
|
33
35
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-1683ae32.js';
|
|
34
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
36
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-2c726568.js';
|
|
35
37
|
|
|
36
38
|
/**
|
|
37
39
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -15668,6 +15670,51 @@ const PortalGoogleRegistrationFormStories = /*#__PURE__*/Object.freeze({
|
|
|
15668
15670
|
TermsAndConditions: TermsAndConditions$4
|
|
15669
15671
|
});
|
|
15670
15672
|
|
|
15673
|
+
const QRCode_stories = {
|
|
15674
|
+
title: "Components/QR Code",
|
|
15675
|
+
};
|
|
15676
|
+
const defaultProps$r = {
|
|
15677
|
+
dialogIsOpen: false,
|
|
15678
|
+
error: false,
|
|
15679
|
+
viewError: false,
|
|
15680
|
+
showDialog: () => void 0,
|
|
15681
|
+
hideDialog: () => void 0,
|
|
15682
|
+
qrLink: "https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",
|
|
15683
|
+
createDownloadable: async () => {
|
|
15684
|
+
console.log("Download QR Code clicked");
|
|
15685
|
+
},
|
|
15686
|
+
createPrintable: async () => {
|
|
15687
|
+
console.log("Print QR Code clicked");
|
|
15688
|
+
},
|
|
15689
|
+
titleText: "Share your QR code",
|
|
15690
|
+
viewCodeText: "View QR code",
|
|
15691
|
+
downloadCodeText: "Download",
|
|
15692
|
+
printCodeText: "Print",
|
|
15693
|
+
errorHeaderText: "There was an error loading your QR code",
|
|
15694
|
+
errorDescriptionText: "Please refresh this page and try again",
|
|
15695
|
+
};
|
|
15696
|
+
const Default$o = () => {
|
|
15697
|
+
return h(QrCodeView, Object.assign({}, defaultProps$r));
|
|
15698
|
+
};
|
|
15699
|
+
const Expanded = () => {
|
|
15700
|
+
return h(QrCodeView, Object.assign({}, defaultProps$r, { dialogIsOpen: true }));
|
|
15701
|
+
};
|
|
15702
|
+
const Error$b = () => {
|
|
15703
|
+
return (h(QrCodeView, Object.assign({}, defaultProps$r, { dialogIsOpen: true, viewError: true })));
|
|
15704
|
+
};
|
|
15705
|
+
const DownloadError = () => {
|
|
15706
|
+
return (h(QrCodeView, Object.assign({}, defaultProps$r, { dialogIsOpen: false, error: true })));
|
|
15707
|
+
};
|
|
15708
|
+
|
|
15709
|
+
const QRCode = /*#__PURE__*/Object.freeze({
|
|
15710
|
+
__proto__: null,
|
|
15711
|
+
'default': QRCode_stories,
|
|
15712
|
+
Default: Default$o,
|
|
15713
|
+
Expanded: Expanded,
|
|
15714
|
+
Error: Error$b,
|
|
15715
|
+
DownloadError: DownloadError
|
|
15716
|
+
});
|
|
15717
|
+
|
|
15671
15718
|
/**
|
|
15672
15719
|
*
|
|
15673
15720
|
* Themes
|
|
@@ -15680,7 +15727,7 @@ const PortalGoogleRegistrationFormStories = /*#__PURE__*/Object.freeze({
|
|
|
15680
15727
|
*
|
|
15681
15728
|
*/
|
|
15682
15729
|
//
|
|
15683
|
-
const Default$
|
|
15730
|
+
const Default$p = `
|
|
15684
15731
|
// No CSS
|
|
15685
15732
|
`;
|
|
15686
15733
|
const Orangey = `
|
|
@@ -15714,7 +15761,7 @@ const Klip = `
|
|
|
15714
15761
|
|
|
15715
15762
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15716
15763
|
__proto__: null,
|
|
15717
|
-
Default: Default$
|
|
15764
|
+
Default: Default$p,
|
|
15718
15765
|
Orangey: Orangey,
|
|
15719
15766
|
Netflix: Netflix,
|
|
15720
15767
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -18401,6 +18448,7 @@ const stories = [
|
|
|
18401
18448
|
WidgetCodeVerification,
|
|
18402
18449
|
PayoutButtonScroll,
|
|
18403
18450
|
PayoutStatusAlert,
|
|
18451
|
+
QRCode,
|
|
18404
18452
|
];
|
|
18405
18453
|
const StencilStorybook = class {
|
|
18406
18454
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-91e7729f.js';
|
|
2
|
-
import { n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import './index.module-89a79f66.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-cc945f38.js';
|
|
5
5
|
|
|
6
6
|
const TabView = ({}, children) => {
|
|
7
7
|
return h(Host, null, children);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-91e7729f.js';
|
|
2
|
-
import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { _ } from './index.module-
|
|
2
|
+
import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { _ } from './index.module-89a79f66.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
|
-
import { u as useRerenderListener } from './re-render-
|
|
6
|
-
import { u as useChildElements } from './useChildElements-
|
|
5
|
+
import { u as useRerenderListener } from './re-render-cc945f38.js';
|
|
6
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
7
7
|
|
|
8
8
|
const TabsView = ({ content, placement, }) => {
|
|
9
9
|
// Vertical padding for top & bottom placement, horizontal for left & right.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
|
|
2
|
-
import { b as browser, n as h,
|
|
3
|
-
import { I as In, u as useCallback } from './index.module-
|
|
2
|
+
import { b as browser, n as h, k as useState, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { I as In, u as useCallback } from './index.module-89a79f66.js';
|
|
4
4
|
import { a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
5
5
|
|
|
6
6
|
const debug = browser("sq:widget-verification");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
|
-
import {
|
|
3
|
-
import { d as dist, J, I as In, q as En, X as Xe, i as isDemo } from './index.module-
|
|
2
|
+
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { d as dist, J, I as In, q as En, X as Xe, i as isDemo } from './index.module-89a79f66.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { e as extractProps } from './extractProps-ae1afbb3.js';
|
|
6
6
|
import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
@@ -1111,4 +1111,4 @@ function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.le
|
|
|
1111
1111
|
|
|
1112
1112
|
function s$2(){return getRenderingRef()}function l$1(){var e=s$2();return getElement(e)}function d$2(e,t){void 0===t&&(t={});var n=l$1();return h$1(n,e,t)}function m$2(e,t){var n=l$1();return y$1(n,e,t)}var p$1=browser("stencil-hook");function h$2(t){var r,u=getElement(t),c=(r=!1,new State(function(){p$1("Queue update on element",u),r||(r=!0,Promise.resolve().then(function(){p$1("Forced update on element",u),r=!1,forceUpdate(u);}));},u)),a=t.disconnectedCallback;if(!a)throw new Error("Stencil hooks requires `disconnectedCallback` to be defined (even if it's empty). This is because of how the Stencil compiler works internally");t.disconnectedCallback=function(){c.teardown(),v(a);};var i=t.connectedCallback;t.connectedCallback=function(){c.update(),v(i);};var f=t.render.bind(t);t.render=function(){var e=c.run(f);return c.runEffects(),e};}function v(e){"function"==typeof e&&e();}
|
|
1113
1113
|
|
|
1114
|
-
export { commonjsGlobal as a, browser as b, createCommonjsModule as c, c as d, getDefaultExportFromCjs as e, useEffect as f, getAugmentedNamespace as g, h$1 as h, d$2 as i,
|
|
1114
|
+
export { commonjsGlobal as a, browser as b, createCommonjsModule as c, c as d, getDefaultExportFromCjs as e, useEffect as f, getAugmentedNamespace as g, h$1 as h, d$2 as i, useReducer as j, useState as k, l$1 as l, useRef as m, h$2 as n, m$2 as o, s$1 as s, useMemo as u, y$1 as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ } from './index.module-
|
|
1
|
+
import { k as useState, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { _ } from './index.module-89a79f66.js';
|
|
3
3
|
|
|
4
4
|
function useChildElements() {
|
|
5
5
|
const host = _();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L, v as vn } from './index.module-
|
|
1
|
+
import { k as useState } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { L, v as vn } from './index.module-89a79f66.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-d6f33135.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
7
|
const locale = L();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as dist, J, $ as $e, g as getEnvironmentSDK, w as wn } from './index.module-
|
|
1
|
+
import { k as useState, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { d as dist, J, $ as $e, g as getEnvironmentSDK, w as wn } from './index.module-89a79f66.js';
|
|
3
3
|
|
|
4
4
|
const TAX_FORM_UPDATED_EVENT_KEY = "sqm:tax-form-updated";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as je, h as hn, j as jn } from './index.module-
|
|
1
|
+
import { k as useState } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { e as je, h as hn, j as jn } from './index.module-89a79f66.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
4
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
5
5
|
|
package/dist/esm/{usePortalRegistrationForm-6f22d7d7.js → usePortalRegistrationForm-4b35a357.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as dist, L, O as Oe, w as wn, j as jn, u as useCallback } from './index.module-
|
|
1
|
+
import { m as useRef, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { d as dist, L, O as Oe, w as wn, j as jn, u as useCallback } from './index.module-89a79f66.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-d6f33135.js';
|
|
5
5
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
6
6
|
|
|
7
7
|
const RegistrationFormQuery = dist.gql `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as useEffect } from './stencil-hooks.module-
|
|
2
|
-
import { d as dist, J, H, Q as Qe, R as Rn, I as In, B } from './index.module-
|
|
1
|
+
import { f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { d as dist, J, H, Q as Qe, R as Rn, I as In, B } from './index.module-89a79f66.js';
|
|
3
3
|
|
|
4
4
|
const GET_REFERRAL_CODES = dist.gql `
|
|
5
5
|
query getCodes(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
|
-
import { b as browser,
|
|
3
|
-
import { d as dist, J, H, L, w as wn, R as Rn } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { b as browser, j as useReducer, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
+
import { d as dist, J, H, L, w as wn, R as Rn } from './index.module-89a79f66.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-cc945f38.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
6
6
|
|
|
7
7
|
const debug = browser("sq:useReferralTable");
|
|
8
8
|
const CSS_NAMESPACE = "sqm-referral-table";
|
package/dist/esm/{useRegistrationFormState-7229b088.js → useRegistrationFormState-d6f33135.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as d, y } from './stencil-hooks.module-
|
|
2
|
-
import { _ } from './index.module-
|
|
1
|
+
import { i as d, y } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { _ } from './index.module-89a79f66.js';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
5
5
|
const REGISTRATION_FORM_STATE_CONTEXT_INTERNAL = "sq:registration-form-state-internal";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as dist, J, X as Xe, $ as $e } from './index.module-
|
|
1
|
+
import { k as useState, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { d as dist, J, X as Xe, $ as $e } from './index.module-89a79f66.js';
|
|
3
3
|
|
|
4
4
|
const UserLookupQuery = dist.gql `
|
|
5
5
|
query userLookup {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as useCallback } from './index.module-
|
|
1
|
+
import { k as useState, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
+
import { u as useCallback } from './index.module-89a79f66.js';
|
|
3
3
|
|
|
4
4
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
5
5
|
function isMobile(breakPoint) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h}from"./index-91e7729f.js";import{c as createStyleSheet}from"./JSS-67b5cff8.js";var styles={Alert:{"&::part(base)":{backgroundColor:"var(--sl-color-danger-100)",border:"1px solid var(--sl-color-danger-200)",padding:"0 16px"},"& sl-icon":{margin:0},"& sl-icon::part(base)":{color:"var(--sl-color-danger-500)",margin:0}}};var ErrorView=function(r){var e=createStyleSheet(styles);var o=e.toString();var a=e.classes;return h("div",null,h("style",null,o),h("sl-alert",{exportparts:"base: alert-base, icon:alert-icon",type:"danger",open:true,class:a.Alert},h("sl-icon",{slot:"icon",name:"exclamation-octagon",class:"Error"}),h("strong",null,r.loadingErrorAlertHeader),h("br",null),r.loadingErrorAlertDescription))};export{ErrorView as E};
|