@saasquatch/mint-components 1.11.0-5 → 1.11.0-6
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-21aa34f8.js → ShadowViewAddon-ba87315e.js} +48 -47
- package/dist/cjs/{global-4a59a374.js → global-0e1b8019.js} +162 -11
- package/dist/cjs/index-56d1fa5b.js +2227 -0
- package/dist/cjs/{index.module-df530553.js → index.module-2d82a984.js} +1444 -244
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-05098e19.js → luxon-20eafbd9.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-3c470512.js} +1 -1
- package/dist/cjs/{re-render-1976e05e.js → re-render-7744b75a.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +457 -456
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +114 -113
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-invoice-table-view-7739a5b4.js → sqm-invoice-table-view-e75291d8.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +12 -11
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +10 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-34d8941e.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-email-verification-view-07161940.js → sqm-portal-email-verification-view-a056e53e.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -10
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-07b99f80.js → sqm-portal-profile-view-c1753d1a.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -14
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +12 -11
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +67 -66
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +50 -49
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-a5a04d8a.js} +1 -4
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-079a23aa.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-615a4dec.js} +4 -4
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-034e8eb1.js} +20 -19
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-cabaa291.js} +3 -3
- package/dist/cjs/{utilities-cec9dd36.js → utilities-a4072d5b.js} +2 -2
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/esm/{ShadowViewAddon-90897c22.js → ShadowViewAddon-cebdd86a.js} +22 -21
- package/dist/esm/{global-e7bb0343.js → global-ce667547.js} +162 -11
- package/dist/esm/index-0c7b14c5.js +2225 -0
- package/dist/esm/{index.module-def4aec5.js → index.module-cfe48b0e.js} +1426 -223
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
- package/dist/esm/{re-render-12fd274a.js → re-render-9f58806b.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +65 -64
- package/dist/esm/sqm-big-stat_38.entry.js +63 -62
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +3 -3
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +7 -6
- package/dist/esm/sqm-logout-current-user.entry.js +5 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-407d8d6a.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +5 -5
- package/dist/esm/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +6 -6
- package/dist/esm/sqm-portal-registration-form.entry.js +10 -9
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/sqm-referral-table_11.entry.js +9 -8
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- 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 +14 -13
- package/dist/esm/sqm-stencilbook.entry.js +48 -47
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
- package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-55ba77b1.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-c8486b92.js} +4 -4
- package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-1671695f.js} +11 -10
- package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-554eed2c.js} +3 -3
- package/dist/esm/{utilities-3f5bba22.js → utilities-aa00400c.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-cebdd86a.js +1 -0
- package/dist/esm-es5/global-ce667547.js +285 -0
- package/dist/esm-es5/index-0c7b14c5.js +1 -0
- package/dist/esm-es5/index.module-cfe48b0e.js +53 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
- package/dist/esm-es5/{re-render-12fd274a.js → re-render-9f58806b.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.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-form-message.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-fb2f95b9.js → sqm-invoice-table-view-bccf5bbc.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 → sqm-navigation-sidebar-item-view-407d8d6a.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-0b32261f.js → sqm-portal-email-verification-view-b8ba7573.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-03026a5e.js → sqm-portal-profile-view-9cbfeaf9.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-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/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
- package/dist/esm-es5/useChildElements-55ba77b1.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-c8486b92.js +1 -0
- package/dist/esm-es5/useReferralTable-1671695f.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-554eed2c.js +1 -0
- package/dist/esm-es5/{utilities-3f5bba22.js → utilities-aa00400c.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-674a64fe.system.js → p-0034b33b.system.js} +1 -1
- package/dist/mint-components/{p-2a414b2e.system.js → p-0979f82e.system.js} +2 -2
- package/dist/mint-components/{p-cde759a7.entry.js → p-1128f16d.entry.js} +14 -14
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-14beec1b.system.entry.js} +1 -1
- package/dist/mint-components/{p-5956a47e.entry.js → p-155e5795.entry.js} +1 -1
- package/dist/mint-components/p-175cf117.system.entry.js +1 -0
- package/dist/mint-components/{p-fd2c5407.js → p-1b24bb52.js} +1 -1
- package/dist/mint-components/p-1bb39bf3.js +1 -0
- package/dist/mint-components/p-1c021084.system.js +1 -0
- package/dist/mint-components/p-1cb0c56c.js +1 -0
- package/dist/mint-components/p-22082cf5.entry.js +1 -0
- package/dist/mint-components/{p-4502ed11.system.entry.js → p-2669e88d.system.entry.js} +1 -1
- package/dist/mint-components/{p-0e556260.js → p-2a82e591.js} +1 -1
- package/dist/mint-components/p-2c1ec58d.system.entry.js +1 -0
- package/dist/mint-components/{p-573fab0f.system.js → p-2c8c2ae9.system.js} +22 -22
- package/dist/mint-components/p-2d713a4a.entry.js +1 -0
- package/dist/mint-components/{p-58ef25d3.system.entry.js → p-2f75d0c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-5cac90e8.system.entry.js → p-349315e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-64491c96.system.entry.js → p-37518555.system.entry.js} +1 -1
- package/dist/mint-components/{p-3223ba7b.entry.js → p-3912f9af.entry.js} +1 -1
- package/dist/mint-components/{p-f3053c61.js → p-48704504.js} +1 -1
- package/dist/mint-components/{p-ce5afa40.entry.js → p-4baf9ec9.entry.js} +1 -1
- package/dist/mint-components/p-4e5ff6d5.system.entry.js +1 -0
- package/dist/mint-components/p-4fd5cde2.entry.js +1 -0
- package/dist/mint-components/{p-e84a74fe.system.entry.js → p-5464dd3c.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd7ee007.system.js → p-553a92e2.system.js} +1 -1
- package/dist/mint-components/p-55ba5de4.js +42 -0
- package/dist/mint-components/p-569acf5d.entry.js +1 -0
- package/dist/mint-components/p-58151230.system.entry.js +1 -0
- package/dist/mint-components/p-5a9e6c23.system.js +1 -0
- package/dist/mint-components/{p-dd0d79bf.entry.js → p-5c602e84.entry.js} +1 -1
- package/dist/mint-components/p-5e346208.system.entry.js +1 -0
- package/dist/mint-components/{p-a9050eb0.entry.js → p-5f4a0d5a.entry.js} +1 -1
- package/dist/mint-components/p-5f4cf5f4.system.js +53 -0
- package/dist/mint-components/p-6361cd09.system.entry.js +1 -0
- package/dist/mint-components/p-65976f70.system.entry.js +1 -0
- package/dist/mint-components/{p-3d4656bb.system.js → p-69ae3f41.system.js} +1 -1
- package/dist/mint-components/p-6fbfd683.js +1 -0
- package/dist/mint-components/{p-57e4ef5f.entry.js → p-709c0d6d.entry.js} +1 -1
- package/dist/mint-components/{p-86990110.entry.js → p-747e6ce6.entry.js} +1 -1
- package/dist/mint-components/{p-8fe21979.system.entry.js → p-74ba2bdd.system.entry.js} +1 -1
- package/dist/mint-components/p-77150ca3.entry.js +1 -0
- package/dist/mint-components/{p-fbdf0738.entry.js → p-79097c07.entry.js} +1 -1
- package/dist/mint-components/{p-ebcec043.entry.js → p-7a1e23b0.entry.js} +1 -1
- package/dist/mint-components/{p-f0806232.system.entry.js → p-7ab14d4b.system.entry.js} +1 -1
- package/dist/mint-components/p-81ef4d8d.system.entry.js +1 -0
- package/dist/mint-components/{p-41a11a7f.js → p-83a759a6.js} +1 -1
- package/dist/mint-components/p-84a5feb6.js +1 -0
- package/dist/mint-components/p-858a87ce.entry.js +1 -0
- package/dist/mint-components/p-89669879.system.js +1 -0
- package/dist/mint-components/p-8a82d287.entry.js +1 -0
- package/dist/mint-components/{p-7a572b34.entry.js → p-8b37f9fa.entry.js} +3 -3
- package/dist/mint-components/{p-d7df3dfd.system.js → p-8c616b35.system.js} +1 -1
- package/dist/mint-components/p-8d0312ad.entry.js +13 -0
- package/dist/mint-components/{p-66172a05.js → p-8d2d99b5.js} +1 -1
- package/dist/mint-components/{p-251e7567.js → p-9223640e.js} +1 -1
- package/dist/mint-components/{p-eaada4da.js → p-92990ceb.js} +1 -1
- package/dist/mint-components/{p-51721f6b.system.js → p-93c4b92a.system.js} +1 -1
- package/dist/mint-components/p-93feb565.system.entry.js +1 -0
- package/dist/mint-components/{p-0d8c53ac.system.js → p-94b397d0.system.js} +1 -1
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-95af445c.system.entry.js} +1 -1
- package/dist/mint-components/p-97f9ea19.system.js +1 -0
- package/dist/mint-components/{p-4edde470.entry.js → p-9a02b093.entry.js} +1 -1
- package/dist/mint-components/{p-007383e1.entry.js → p-9c1011db.entry.js} +2 -2
- package/dist/mint-components/{p-137ea86e.entry.js → p-a05a21b8.entry.js} +1 -1
- package/dist/mint-components/p-a1dddd9c.entry.js +1 -0
- package/dist/mint-components/{p-07f675ab.system.entry.js → p-a2189daf.system.entry.js} +1 -1
- package/dist/mint-components/p-a230e0f7.entry.js +1 -0
- package/dist/mint-components/{p-2ee2ebba.js → p-a2fc8ec6.js} +4 -4
- package/dist/mint-components/{p-5f1c4160.system.entry.js → p-a56fbe1f.system.entry.js} +1 -1
- package/dist/mint-components/p-a63607fe.js +1 -0
- package/dist/mint-components/p-a6ad8082.system.js +1 -0
- package/dist/mint-components/{p-9774fbc5.js → p-a7e84030.js} +153 -153
- package/dist/mint-components/{p-28b6106f.js → p-aa1750ad.js} +1 -1
- package/dist/mint-components/{p-cf690d55.system.entry.js → p-ad218d0b.system.entry.js} +1 -1
- package/dist/mint-components/p-b9e629c4.entry.js +1 -0
- package/dist/mint-components/{p-cf158064.entry.js → p-ba9642a9.entry.js} +3 -3
- package/dist/mint-components/{p-4864ed8a.system.entry.js → p-bf161aff.system.entry.js} +1 -1
- package/dist/mint-components/p-cac64545.system.entry.js +1 -0
- package/dist/mint-components/{p-370a1a73.system.js → p-cb45d0a8.system.js} +1 -1
- package/dist/mint-components/{p-c7a3fd1b.system.js → p-cc24f7e0.system.js} +1 -1
- package/dist/mint-components/p-cc2a5934.entry.js +13 -0
- package/dist/mint-components/p-cca80c2e.system.entry.js +1 -0
- package/dist/mint-components/{p-178d2d2e.entry.js → p-cdd04337.entry.js} +1 -1
- package/dist/mint-components/{p-b12f7281.system.entry.js → p-ce23dbff.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe5675b3.entry.js → p-cf8ccbf5.entry.js} +1 -1
- package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-cfc4a126.system.entry.js} +1 -1
- package/dist/mint-components/{p-05948592.js → p-d491eac5.js} +24 -24
- package/dist/mint-components/{p-671ee3fd.entry.js → p-d5e0b017.entry.js} +2 -2
- package/dist/mint-components/{p-6cef104b.entry.js → p-db7b9e12.entry.js} +1 -1
- package/dist/mint-components/p-dbb74fc2.system.entry.js +1 -0
- package/dist/mint-components/{p-8e907ac7.system.entry.js → p-de9b0bcf.system.entry.js} +1 -1
- package/dist/mint-components/p-e3ddb67b.system.entry.js +1 -0
- package/dist/mint-components/{p-ce9e7c98.system.js → p-e5299352.system.js} +1 -1
- package/dist/mint-components/p-eb8cb617.system.js +1 -0
- package/dist/mint-components/{p-9dc3f592.entry.js → p-ec2390ee.entry.js} +10 -10
- package/dist/mint-components/p-ef4336c4.system.entry.js +1 -0
- package/dist/mint-components/{p-afd366ae.system.entry.js → p-f0553edd.system.entry.js} +1 -1
- package/dist/mint-components/{p-7731f793.system.entry.js → p-fd8496a0.system.entry.js} +1 -1
- package/dist/mint-components/p-fec47694.entry.js +1 -0
- package/dist/mint-components/p-ff87ca9c.system.entry.js +1 -0
- package/dist/types/components.d.ts +0 -26
- 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/sqm-cash-payouts.cjs.entry.js +0 -19
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -89
- package/dist/collection/components/sqm-cash-payouts/sqm-cash-payouts.js +0 -16
- package/dist/collection/components/sqm-cash-payouts/sqm-widget-verification/sqm-widget-verification.js +0 -47
- package/dist/collection/components/sqm-cash-payouts/sqm-widget-verification/useWidgetVerification.js +0 -53
- package/dist/esm/sqm-cash-payouts.entry.js +0 -15
- package/dist/esm/sqm-widget-verification.entry.js +0 -85
- package/dist/esm-es5/ShadowViewAddon-90897c22.js +0 -1
- package/dist/esm-es5/global-e7bb0343.js +0 -285
- package/dist/esm-es5/index.module-def4aec5.js +0 -1
- package/dist/esm-es5/sqm-cash-payouts.entry.js +0 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
- package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
- package/dist/esm-es5/useReferralTable-f4de0650.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
- package/dist/mint-components/p-02424350.system.js +0 -1
- package/dist/mint-components/p-03494732.entry.js +0 -1
- package/dist/mint-components/p-0b9fa97f.js +0 -1
- package/dist/mint-components/p-10e89d0a.entry.js +0 -1
- package/dist/mint-components/p-1b485560.system.entry.js +0 -1
- package/dist/mint-components/p-217ad395.entry.js +0 -1
- package/dist/mint-components/p-2434470e.system.entry.js +0 -1
- package/dist/mint-components/p-2dd67762.entry.js +0 -1
- package/dist/mint-components/p-51f517a2.js +0 -1
- package/dist/mint-components/p-55a782cf.system.entry.js +0 -1
- package/dist/mint-components/p-5be235f9.entry.js +0 -1
- package/dist/mint-components/p-5c55dc92.system.entry.js +0 -1
- package/dist/mint-components/p-5d485450.entry.js +0 -1
- package/dist/mint-components/p-5db9aa17.system.entry.js +0 -1
- package/dist/mint-components/p-61eab172.js +0 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +0 -1
- package/dist/mint-components/p-733825fa.system.entry.js +0 -1
- package/dist/mint-components/p-770368bc.system.js +0 -1
- package/dist/mint-components/p-79191f88.entry.js +0 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
- package/dist/mint-components/p-91669312.entry.js +0 -1
- package/dist/mint-components/p-956ed10a.entry.js +0 -13
- package/dist/mint-components/p-97198e2c.system.js +0 -1
- package/dist/mint-components/p-973f6501.system.entry.js +0 -1
- package/dist/mint-components/p-9c310991.system.entry.js +0 -1
- package/dist/mint-components/p-a61e6394.system.entry.js +0 -1
- package/dist/mint-components/p-a6a7dcaa.js +0 -1
- package/dist/mint-components/p-a8f7cb95.js +0 -1
- package/dist/mint-components/p-aad11a68.entry.js +0 -1
- package/dist/mint-components/p-af062c8f.system.entry.js +0 -1
- package/dist/mint-components/p-b370fca8.system.js +0 -1
- package/dist/mint-components/p-b3b5b4b7.system.entry.js +0 -1
- package/dist/mint-components/p-b5861974.system.entry.js +0 -1
- package/dist/mint-components/p-b8dbb809.system.entry.js +0 -1
- package/dist/mint-components/p-be38de26.system.js +0 -1
- package/dist/mint-components/p-c84659a3.system.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-dab544d9.entry.js +0 -1
- package/dist/mint-components/p-db6fbcf4.entry.js +0 -1
- package/dist/mint-components/p-dc63e429.system.entry.js +0 -1
- package/dist/mint-components/p-e5a0c50e.entry.js +0 -13
- package/dist/mint-components/p-eba44835.system.entry.js +0 -1
- package/dist/mint-components/p-f8f6c99d.system.entry.js +0 -1
- package/dist/types/components/sqm-cash-payouts/sqm-cash-payouts.d.ts +0 -8
- package/dist/types/components/sqm-cash-payouts/sqm-widget-verification/sqm-widget-verification.d.ts +0 -9
- package/dist/types/components/sqm-cash-payouts/sqm-widget-verification/useWidgetVerification.d.ts +0 -9
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import {
|
|
2
|
+
import { b as browser, h as useReducer, d as useEffect, j as h$1, u as useMemo } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { i as intl } from './global-ce667547.js';
|
|
4
|
+
import { K, z, Q, E as En, O as On, i as isDemo } from './index.module-cfe48b0e.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
-
import { l as luxon } from './luxon-
|
|
12
|
-
import { m as mockRewardData } from './mockRewardData-
|
|
13
|
-
import {
|
|
9
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-9f58806b.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-55ba77b1.js';
|
|
11
|
+
import { l as luxon } from './luxon-63e24900.js';
|
|
12
|
+
import { m as mockRewardData } from './mockRewardData-e6b763d1.js';
|
|
13
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
14
|
+
import { g as generateUserError } from './useReferralTable-1671695f.js';
|
|
14
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
16
|
|
|
16
17
|
const debug = browser("sq:useRewardsTable");
|
|
@@ -162,9 +163,9 @@ const GET_IMPACT_TAX = dist.gql `
|
|
|
162
163
|
`;
|
|
163
164
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
164
165
|
var _a, _b, _c;
|
|
165
|
-
const user =
|
|
166
|
-
const programIdContext =
|
|
167
|
-
const locale =
|
|
166
|
+
const user = K();
|
|
167
|
+
const programIdContext = z();
|
|
168
|
+
const locale = Q();
|
|
168
169
|
// Default to context, overriden by props
|
|
169
170
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
170
171
|
const rewardFilter = {
|
|
@@ -186,8 +187,8 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
186
187
|
loading: false,
|
|
187
188
|
page: 0,
|
|
188
189
|
});
|
|
189
|
-
const { data: impactTaxData, loading: taxLoading } =
|
|
190
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
190
|
+
const { data: impactTaxData, loading: taxLoading } = En(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
191
|
+
const { envelope: rewardsData, states, callbacks, } = On(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
191
192
|
limit: props.perPage,
|
|
192
193
|
offset: 0,
|
|
193
194
|
}, {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { a as commonjsGlobal, u as useMemo,
|
|
3
|
-
import './global-
|
|
4
|
-
import {
|
|
2
|
+
import { a as commonjsGlobal, u as useMemo, f as useState, d as useEffect, c as createCommonjsModule, j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import './global-ce667547.js';
|
|
4
|
+
import { x as xn, j as jn, s as setUserIdentity, e as an, f as setProgramId } from './index.module-cfe48b0e.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import './useChildElements-
|
|
10
|
-
import { l as luxon } from './luxon-
|
|
9
|
+
import './useChildElements-55ba77b1.js';
|
|
10
|
+
import { l as luxon } from './luxon-63e24900.js';
|
|
11
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
11
12
|
import './utils-334c1e34.js';
|
|
12
13
|
import './sqm-text-span-view-8d140661.js';
|
|
13
14
|
import { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
|
|
@@ -17,16 +18,16 @@ import { E as EmailRegistrationView } from './email-registration-view-07d80492.j
|
|
|
17
18
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
18
19
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
|
|
19
20
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
|
|
20
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
21
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
21
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-407d8d6a.js';
|
|
22
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-b8ba7573.js';
|
|
22
23
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
24
|
-
import './utilities-
|
|
24
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-9cbfeaf9.js';
|
|
25
|
+
import './utilities-aa00400c.js';
|
|
25
26
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
|
|
26
27
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
27
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, 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 PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-
|
|
28
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, 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 PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-cebdd86a.js';
|
|
28
29
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
|
|
29
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
30
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-bccf5bbc.js';
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2425,36 +2426,36 @@ const routes = `
|
|
|
2425
2426
|
`;
|
|
2426
2427
|
const TemplateNavigation = createHookStory(() => {
|
|
2427
2428
|
return (h("div", null,
|
|
2428
|
-
h("button", { onClick: () =>
|
|
2429
|
-
h("button", { onClick: () =>
|
|
2430
|
-
h("button", { onClick: () =>
|
|
2431
|
-
h("button", { onClick: () =>
|
|
2432
|
-
h("button", { onClick: () =>
|
|
2433
|
-
h("button", { onClick: () =>
|
|
2434
|
-
h("button", { onClick: () =>
|
|
2435
|
-
h("button", { onClick: () =>
|
|
2436
|
-
h("button", { onClick: () =>
|
|
2429
|
+
h("button", { onClick: () => xn.push("/") }, "/"),
|
|
2430
|
+
h("button", { onClick: () => xn.push("/foo") }, "/foo"),
|
|
2431
|
+
h("button", { onClick: () => xn.push("/bar") }, "/bar"),
|
|
2432
|
+
h("button", { onClick: () => xn.push("/baz/bang") }, "/baz/bang"),
|
|
2433
|
+
h("button", { onClick: () => xn.push("/refer") }, "/refer"),
|
|
2434
|
+
h("button", { onClick: () => xn.push("/refer/1") }, "/refer/1"),
|
|
2435
|
+
h("button", { onClick: () => xn.push("/refer/2") }, "/refer/2"),
|
|
2436
|
+
h("button", { onClick: () => xn.back() }, "Back"),
|
|
2437
|
+
h("button", { onClick: () => xn.forward() }, "Forward"),
|
|
2437
2438
|
h("hr", null),
|
|
2438
2439
|
h("sqm-router", { innerHTML: templates })));
|
|
2439
2440
|
});
|
|
2440
2441
|
const RouteNavigation = createHookStory(() => {
|
|
2441
2442
|
return (h("div", null,
|
|
2442
|
-
h("button", { onClick: () =>
|
|
2443
|
-
h("button", { onClick: () =>
|
|
2444
|
-
h("button", { onClick: () =>
|
|
2445
|
-
h("button", { onClick: () =>
|
|
2446
|
-
h("button", { onClick: () =>
|
|
2447
|
-
h("button", { onClick: () =>
|
|
2448
|
-
h("button", { onClick: () =>
|
|
2449
|
-
h("button", { onClick: () =>
|
|
2450
|
-
h("button", { onClick: () =>
|
|
2443
|
+
h("button", { onClick: () => xn.push("/") }, "/"),
|
|
2444
|
+
h("button", { onClick: () => xn.push("/foo") }, "/foo"),
|
|
2445
|
+
h("button", { onClick: () => xn.push("/bar") }, "/bar"),
|
|
2446
|
+
h("button", { onClick: () => xn.push("/baz/bang") }, "/baz/bang"),
|
|
2447
|
+
h("button", { onClick: () => xn.push("/refer") }, "/refer"),
|
|
2448
|
+
h("button", { onClick: () => xn.push("/refer/1") }, "/refer/1"),
|
|
2449
|
+
h("button", { onClick: () => xn.push("/refer/2") }, "/refer/2"),
|
|
2450
|
+
h("button", { onClick: () => xn.back() }, "Back"),
|
|
2451
|
+
h("button", { onClick: () => xn.forward() }, "Forward"),
|
|
2451
2452
|
h("hr", null),
|
|
2452
2453
|
h("sqm-router", { innerHTML: routes })));
|
|
2453
2454
|
});
|
|
2454
2455
|
const Styling = createHookStory(() => {
|
|
2455
2456
|
return (h("div", null,
|
|
2456
|
-
h("button", { onClick: () =>
|
|
2457
|
-
h("button", { onClick: () =>
|
|
2457
|
+
h("button", { onClick: () => xn.push("/") }, "/"),
|
|
2458
|
+
h("button", { onClick: () => xn.push("/foo") }, "/foo"),
|
|
2458
2459
|
h("hr", null),
|
|
2459
2460
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2460
2461
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2468,7 +2469,7 @@ function useTemplate(templateString) {
|
|
|
2468
2469
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2469
2470
|
function setPath(e) {
|
|
2470
2471
|
//@ts-ignore
|
|
2471
|
-
|
|
2472
|
+
xn.push(e.target.value);
|
|
2472
2473
|
}
|
|
2473
2474
|
return {
|
|
2474
2475
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2632,8 +2633,8 @@ const FullStackFrame = () => {
|
|
|
2632
2633
|
"Current path:",
|
|
2633
2634
|
" ",
|
|
2634
2635
|
h("code", null,
|
|
2635
|
-
h("strong", null, (_a =
|
|
2636
|
-
h("button", { onClick:
|
|
2636
|
+
h("strong", null, (_a = jn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2637
|
+
h("button", { onClick: xn.back }, "Go Back")));
|
|
2637
2638
|
};
|
|
2638
2639
|
const FullStackFrameLoggedOut = () => {
|
|
2639
2640
|
var _a;
|
|
@@ -2657,8 +2658,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2657
2658
|
"Current path:",
|
|
2658
2659
|
" ",
|
|
2659
2660
|
h("code", null,
|
|
2660
|
-
h("strong", null, (_a =
|
|
2661
|
-
h("button", { onClick:
|
|
2661
|
+
h("strong", null, (_a = jn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2662
|
+
h("button", { onClick: xn.back }, "Go Back")));
|
|
2662
2663
|
};
|
|
2663
2664
|
|
|
2664
2665
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -3385,7 +3386,7 @@ function useExchangeButton() {
|
|
|
3385
3386
|
const { id, accountId } = setupGraphQL$6();
|
|
3386
3387
|
const [points, setPoints] = useState(10);
|
|
3387
3388
|
const [rate, setRate] = useState(100);
|
|
3388
|
-
const [exchange, { data, errors }] =
|
|
3389
|
+
const [exchange, { data, errors }] = an(EXCHANGE);
|
|
3389
3390
|
return {
|
|
3390
3391
|
states: {
|
|
3391
3392
|
points,
|
|
@@ -3986,16 +3987,16 @@ function DefaultTemplateView(props) {
|
|
|
3986
3987
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
3987
3988
|
gridGap: "10px",
|
|
3988
3989
|
} },
|
|
3989
|
-
h("button", { onClick: () =>
|
|
3990
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
3991
|
-
h("button", { onClick: () =>
|
|
3992
|
-
h("button", { onClick: () =>
|
|
3993
|
-
h("button", { onClick: () =>
|
|
3994
|
-
h("button", { onClick: () =>
|
|
3995
|
-
h("button", { onClick: () =>
|
|
3996
|
-
h("button", { onClick: () =>
|
|
3997
|
-
h("button", { onClick: () =>
|
|
3998
|
-
h("button", { onClick: () =>
|
|
3990
|
+
h("button", { onClick: () => xn.push("/") }, "Dashboard"),
|
|
3991
|
+
props.leadSubmit && (h("button", { onClick: () => xn.push("/refer") }, "Submit a Referral")),
|
|
3992
|
+
h("button", { onClick: () => xn.push("/activity") }, "Activity"),
|
|
3993
|
+
h("button", { onClick: () => xn.push("/editProfile") }, "Edit Profile"),
|
|
3994
|
+
h("button", { onClick: () => xn.push("/login") }, "Login"),
|
|
3995
|
+
h("button", { onClick: () => xn.push("/register") }, "Register"),
|
|
3996
|
+
h("button", { onClick: () => xn.push("/emailVerification") }, "Email Verification"),
|
|
3997
|
+
h("button", { onClick: () => xn.push("/verifyEmail") }, "Verify Email"),
|
|
3998
|
+
h("button", { onClick: () => xn.push("/forgotPassword") }, "Forgot Password"),
|
|
3999
|
+
h("button", { onClick: () => xn.push("/resetPassword") }, "Reset Password")),
|
|
3999
4000
|
h("br", null),
|
|
4000
4001
|
h("div", { innerHTML: states.previewTemplate })));
|
|
4001
4002
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import './index.module-cfe48b0e.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-9f58806b.js';
|
|
5
5
|
|
|
6
6
|
const TabView = ({}, children) => {
|
|
7
7
|
return h(Host, null, children);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { u as useMemo,
|
|
3
|
-
import {
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { u as useMemo, d as useEffect, j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { T } from './index.module-cfe48b0e.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-9f58806b.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-55ba77b1.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
|
|
8
8
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -37,7 +37,7 @@ const TabsView = ({ content, placement, }) => {
|
|
|
37
37
|
const REVEAL_EVENT = "sq:reveal";
|
|
38
38
|
function useTabs() {
|
|
39
39
|
const rawTabs = useChildElements();
|
|
40
|
-
const host =
|
|
40
|
+
const host = T();
|
|
41
41
|
const tick = useRerenderListener();
|
|
42
42
|
const tabs = useMemo(() => rawTabs
|
|
43
43
|
.filter((tab) => tab.tagName === "SQM-TAB" || tab.tagName === "RAISINS-PLOP-TARGET")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { j as h } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
5
5
|
|
|
@@ -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,
|
|
1114
|
+
export { commonjsGlobal as a, browser as b, createCommonjsModule as c, useEffect as d, useRef as e, useState as f, getAugmentedNamespace as g, useReducer as h, getDefaultExportFromCjs as i, h$2 as j, d$2 as k, l$1 as l, m$2 as m, useMemo as u, y$1 as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { f as useState, u as useMemo } from './stencil-hooks.module-3c7f7c90.js';
|
|
2
|
+
import { T } from './index.module-cfe48b0e.js';
|
|
3
3
|
|
|
4
4
|
function useChildElements() {
|
|
5
|
-
const host =
|
|
5
|
+
const host = T();
|
|
6
6
|
const initialState = host.children.length
|
|
7
7
|
? Array.from(host.children)
|
|
8
8
|
: [];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { f as useState } from './stencil-hooks.module-3c7f7c90.js';
|
|
2
|
+
import { C as Cn } from './index.module-cfe48b0e.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-554eed2c.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
7
|
const cookie = new URLSearchParams(window.location.search);
|
|
8
8
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
9
9
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState();
|
|
10
|
-
const [request, { loading, errors, data }] =
|
|
10
|
+
const [request, { loading, errors, data }] = Cn();
|
|
11
11
|
const [error, setError] = useState("");
|
|
12
12
|
const submit = async (event) => {
|
|
13
13
|
var _a;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser,
|
|
3
|
-
import {
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { b as browser, h as useReducer, d as useEffect } from './stencil-hooks.module-3c7f7c90.js';
|
|
3
|
+
import { K, z, Q, E as En, O as On } from './index.module-cfe48b0e.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-9f58806b.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-55ba77b1.js';
|
|
6
|
+
import { d as dist } from './index-0c7b14c5.js';
|
|
6
7
|
|
|
7
8
|
const debug = browser("sq:useReferralTable");
|
|
8
9
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
@@ -243,8 +244,8 @@ const GET_IMPACT_TAX = dist.gql `
|
|
|
243
244
|
`;
|
|
244
245
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
245
246
|
var _a, _b, _c, _d;
|
|
246
|
-
const user =
|
|
247
|
-
const programIdContext =
|
|
247
|
+
const user = K();
|
|
248
|
+
const programIdContext = z();
|
|
248
249
|
// Default to context, overriden by props
|
|
249
250
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
250
251
|
// If no program ID, shows all programs
|
|
@@ -266,17 +267,17 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
266
267
|
loading: false,
|
|
267
268
|
page: 0,
|
|
268
269
|
});
|
|
269
|
-
const locale =
|
|
270
|
-
const { data: referrerResponse, loading: referrerLoading, refetch, } =
|
|
270
|
+
const locale = Q();
|
|
271
|
+
const { data: referrerResponse, loading: referrerLoading, refetch, } = En(GET_REFERRER_DATA, {
|
|
271
272
|
programId: programId === "classic" ? null : programId,
|
|
272
273
|
rewardFilter,
|
|
273
274
|
locale,
|
|
274
275
|
}, !props.showReferrer || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
275
276
|
const referrerData = (_b = referrerResponse === null || referrerResponse === void 0 ? void 0 : referrerResponse.viewer) === null || _b === void 0 ? void 0 : _b.referredByReferral;
|
|
276
277
|
const showReferrerRow = props.showReferrer && !!(referrerData === null || referrerData === void 0 ? void 0 : referrerData.dateReferralStarted);
|
|
277
|
-
const { data: taxResponse, loading: taxLoading } =
|
|
278
|
+
const { data: taxResponse, loading: taxLoading } = En(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
278
279
|
const taxConnection = (_c = taxResponse === null || taxResponse === void 0 ? void 0 : taxResponse.viewer) === null || _c === void 0 ? void 0 : _c.impactConnection;
|
|
279
|
-
const { envelope: referralData, states, callbacks, } =
|
|
280
|
+
const { envelope: referralData, states, callbacks, } = On(GET_REFERRAL_DATA, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.referrals; }, {
|
|
280
281
|
limit: props.perPage,
|
|
281
282
|
offset: 0,
|
|
282
283
|
}, {
|
package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-554eed2c.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { y } from './stencil-hooks.module-
|
|
2
|
-
import {
|
|
1
|
+
import { y } from './stencil-hooks.module-3c7f7c90.js';
|
|
2
|
+
import { T } from './index.module-cfe48b0e.js';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
5
5
|
function useRegistrationFormState(formState) {
|
|
6
|
-
const host =
|
|
6
|
+
const host = T();
|
|
7
7
|
const [registrationFormState, setRegistrationFormState] = y(host, REGISTRATION_FORM_STATE_CONTEXT, formState);
|
|
8
8
|
return { registrationFormState, setRegistrationFormState };
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { f as useState, d as useEffect } from './stencil-hooks.module-3c7f7c90.js';
|
|
2
|
+
import { a as useCallback } from './index.module-cfe48b0e.js';
|
|
3
3
|
|
|
4
4
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
5
5
|
function isMobile(breakPoint) {
|