@saasquatch/mint-components 1.12.0-8 → 1.12.0
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/{GenericTableView-80d7642e.js → GenericTableView-bb2fcd95.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-040cffad.js → ShadowViewAddon-652aa5e4.js} +178 -236
- package/dist/cjs/copy-text-view-f1ce8888.js +231 -0
- package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-54cedb43.js} +2 -2
- package/dist/cjs/{global-c3637175.js → global-ae358e7d.js} +3 -3
- package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-191d84c2.js} +19 -52
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-811491ef.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +927 -239
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +226 -164
- package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-6a709e00.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-email-verification.cjs.entry.js +30 -22
- package/dist/cjs/sqm-empty_4.cjs.entry.js +12 -8
- 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 +7 -7
- package/dist/cjs/{sqm-invoice-table-view-5d3a2d35.js → sqm-invoice-table-view-bfea11c8.js} +117 -5
- package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-67d1184c.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +392 -0
- package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-1a852b01.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-24339191.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-a2ed3b27.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-1b85b8cf.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cc3c87c3.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -13
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +17 -17
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +427 -183
- 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-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +104 -111
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-d64dfedd.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-fb1d317a.js} +4 -4
- package/dist/cjs/usePayoutStatus-9f25038a.js +1045 -0
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-b09d9b9e.js} +11 -11
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-b07ba3d4.js} +3 -3
- package/dist/cjs/{useVerificationEmail-6aacdb71.js → useVerificationEmail-f3db90da.js} +13 -9
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec246be.js} +2 -2
- package/dist/collection/collection-manifest.json +11 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +32 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +112 -0
- package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -1
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +63 -0
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +219 -0
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +131 -0
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -2
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +8 -15
- package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +3 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +10 -6
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +106 -127
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +5 -1
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +18 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +111 -3
- package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +127 -14
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +5 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +84 -24
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +186 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +31 -20
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +414 -23
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +133 -15
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +276 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +15 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -0
- package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
- package/dist/collection/components/views/copy-text-view.js +18 -3
- package/dist/collection/stories/Widget.stories.js +5 -0
- package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +2 -2
- package/dist/esm/{ShadowViewAddon-69b61037.js → ShadowViewAddon-a0cff36f.js} +177 -234
- package/dist/esm/copy-text-view-200d6958.js +225 -0
- package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +2 -2
- package/dist/esm/{global-6306a9b8.js → global-9832e13a.js} +3 -3
- package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
- package/dist/esm/{index.module-6c840c4e.js → index.module-32d2bf62.js} +4 -37
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-1bcfd0de.js → re-render-6977623c.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +927 -240
- package/dist/esm/sqm-big-stat_39.entry.js +223 -161
- package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +31 -23
- package/dist/esm/sqm-empty_4.entry.js +12 -8
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
- package/dist/esm/{sqm-invoice-table-view-e9075c0b.js → sqm-invoice-table-view-e3a1287a.js} +117 -5
- package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -7
- package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-pagination_3.entry.js +386 -0
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +12 -12
- package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +9 -9
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +11 -11
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form.entry.js +11 -11
- package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +12 -12
- package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +12 -12
- package/dist/esm/sqm-referral-table_11.entry.js +15 -13
- package/dist/esm/sqm-referred-registration.entry.js +7 -7
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +17 -17
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +414 -170
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +105 -112
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-dd86d4a4.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +4 -4
- package/dist/esm/usePayoutStatus-a7510912.js +1039 -0
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +11 -11
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-6e89095a.js} +3 -3
- package/dist/esm/{useVerificationEmail-c32696ba.js → useVerificationEmail-7e3eb7c0.js} +13 -9
- package/dist/esm/{utilities-443732be.js → utilities-34fdb9e3.js} +2 -2
- package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-a0cff36f.js +1 -0
- package/dist/esm-es5/copy-text-view-200d6958.js +1 -0
- package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +1 -1
- package/dist/esm-es5/{global-6306a9b8.js → global-9832e13a.js} +2 -2
- package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
- package/dist/esm-es5/index.module-32d2bf62.js +1 -0
- package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-6977623c.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.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 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.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-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-e3a1287a.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
- 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-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.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-route.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-view-8d140661.js → sqm-text-span-view-d6e03f93.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 -0
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm-es5/useChildElements-dd86d4a4.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +1 -1
- package/dist/esm-es5/usePayoutStatus-a7510912.js +6 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-6e89095a.js +1 -0
- package/dist/esm-es5/useVerificationEmail-7e3eb7c0.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-34fdb9e3.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-fd2c5407.js → p-019506c4.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-01d6c1f0.system.js} +1 -1
- package/dist/mint-components/{p-59818690.system.entry.js → p-04a17b6f.system.entry.js} +1 -1
- package/dist/mint-components/p-062051ad.entry.js +1 -0
- package/dist/mint-components/{p-c5577dd7.system.js → p-06b8a582.system.js} +1 -1
- package/dist/mint-components/p-0740469e.entry.js +33 -0
- package/dist/mint-components/p-0d485762.system.entry.js +1 -0
- package/dist/mint-components/{p-a51533cb.system.js → p-0dc18b5c.system.js} +1 -1
- package/dist/mint-components/p-11c8ad61.entry.js +9 -0
- package/dist/mint-components/{p-d468925f.entry.js → p-135356c8.entry.js} +1 -1
- package/dist/mint-components/p-147eddc7.system.js +1 -0
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-14f23e8b.system.entry.js} +1 -1
- package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
- package/dist/mint-components/p-1d00f622.entry.js +25 -0
- package/dist/mint-components/{p-cb433855.system.entry.js → p-1da85c55.system.entry.js} +1 -1
- package/dist/mint-components/{p-7d5e0645.system.js → p-1e03d640.system.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-1f03999a.entry.js} +1 -1
- package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
- package/dist/mint-components/p-2478ab2e.js +1 -0
- package/dist/mint-components/p-26989f51.system.entry.js +1 -0
- package/dist/mint-components/{p-04348a9b.js → p-27063220.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-27f4da12.entry.js} +1 -1
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-28e02729.system.entry.js} +1 -1
- package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
- package/dist/mint-components/p-2a2fb958.system.js +1 -0
- package/dist/mint-components/{p-ac51940e.system.js → p-2ae74e3d.system.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-2bc74e74.system.js} +1 -1
- package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-2be940fd.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-346b0453.js} +1 -1
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/p-38e25302.system.js +1 -0
- package/dist/mint-components/{p-cd44de66.system.js → p-38eeea85.system.js} +1 -1
- package/dist/mint-components/p-3a82938a.system.js +1 -0
- package/dist/mint-components/p-3b9a0443.js +1 -0
- package/dist/mint-components/{p-3ed71bef.system.js → p-3c6bc373.system.js} +1 -1
- package/dist/mint-components/{p-fb93c962.js → p-42390bcc.js} +1 -1
- package/dist/mint-components/p-437d9179.entry.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-4460a1b5.system.entry.js} +1 -1
- package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
- package/dist/mint-components/{p-5291891c.entry.js → p-45348151.entry.js} +2 -2
- package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-4665c2df.system.js} +1 -1
- package/dist/mint-components/p-4769ea4e.js +1 -0
- package/dist/mint-components/p-4810eded.js +52 -0
- package/dist/mint-components/p-493ceeaa.system.entry.js +1 -0
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4d50c2fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-4e88b1cc.system.entry.js} +1 -1
- package/dist/mint-components/p-5327c91f.system.js +1 -0
- package/dist/mint-components/p-533a6058.entry.js +1 -0
- package/dist/mint-components/p-558daf4f.system.js +1 -0
- package/dist/mint-components/p-55a5bbca.system.entry.js +1 -0
- package/dist/mint-components/{p-3925bcd6.entry.js → p-567510ed.entry.js} +1 -1
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/p-57f92fe0.entry.js +1 -0
- package/dist/mint-components/{p-c3b37bbf.js → p-597d9584.js} +1 -1
- package/dist/mint-components/{p-1b9e6fc6.js → p-59e310c8.js} +1 -1
- package/dist/mint-components/p-59fb25c9.system.entry.js +1 -0
- package/dist/mint-components/{p-2816bf6a.js → p-5c3bf70d.js} +1 -1
- package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
- package/dist/mint-components/p-606f8320.js +31 -0
- package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
- package/dist/mint-components/{p-509e29e6.js → p-6568392b.js} +1 -1
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-6765a6d5.entry.js} +1 -1
- package/dist/mint-components/{p-0c9ad5f3.system.entry.js → p-69429d09.system.entry.js} +1 -1
- package/dist/mint-components/p-6b3cb50a.entry.js +1 -0
- package/dist/mint-components/{p-0121e044.js → p-6c03512b.js} +1 -1
- package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-70f4aab2.system.entry.js} +1 -1
- package/dist/mint-components/p-72aff425.js +48 -0
- package/dist/mint-components/p-72b57205.js +1 -0
- package/dist/mint-components/p-73e9caad.system.js +1 -0
- package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-775685a2.system.entry.js} +1 -1
- package/dist/mint-components/p-7a4a47b2.entry.js +205 -0
- package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
- package/dist/mint-components/{p-f450654b.system.entry.js → p-7c1650bb.system.entry.js} +1 -1
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-7d85fba4.system.entry.js} +1 -1
- package/dist/mint-components/p-7ddd0248.entry.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7e0c2fd5.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-813f6633.entry.js} +1 -1
- package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
- package/dist/mint-components/p-81fd8e56.system.js +1 -0
- package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-87bde6c3.system.entry.js} +1 -1
- package/dist/mint-components/{p-64491210.system.entry.js → p-89283c37.system.entry.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-8b24b795.entry.js} +2 -2
- package/dist/mint-components/{p-6c928c7d.entry.js → p-8b66735f.entry.js} +1 -1
- package/dist/mint-components/p-8e6c97b5.system.entry.js +1 -0
- package/dist/mint-components/{p-8d554a89.system.js → p-90b906e3.system.js} +1 -1
- package/dist/mint-components/p-95f71da6.entry.js +1 -0
- package/dist/mint-components/p-96755021.entry.js +16 -0
- package/dist/mint-components/{p-ead27698.system.entry.js → p-98c5589b.system.entry.js} +1 -1
- package/dist/mint-components/p-9a3612e3.system.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-9c980a21.entry.js} +1 -1
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e48267b.system.js → p-9fc73ff8.system.js} +1 -1
- package/dist/mint-components/p-a13c83c5.entry.js +1 -0
- package/dist/mint-components/p-a1cc7c75.system.js +6 -0
- package/dist/mint-components/{p-e8dde8f4.system.js → p-a2aed0da.system.js} +1 -1
- package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
- package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
- package/dist/mint-components/p-a5c46b1f.system.entry.js +1 -0
- package/dist/mint-components/p-a966450d.entry.js +1 -0
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-a9ad04e3.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5d2e4ba.js → p-a9ff5495.js} +1 -1
- package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
- package/dist/mint-components/{p-bc826117.system.entry.js → p-b38c43c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-04ced592.system.entry.js → p-b4fd6877.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8610d0c.js → p-b7705066.js} +1 -1
- package/dist/mint-components/p-b7ea46a9.system.entry.js +1 -0
- package/dist/mint-components/{p-a85f57bb.entry.js → p-b8e79be3.entry.js} +1 -1
- package/dist/mint-components/p-bc827206.entry.js +241 -0
- package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
- package/dist/mint-components/{p-51d53165.system.entry.js → p-bf1ce947.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-c10eb4d9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-c49e034d.js} +2 -2
- package/dist/mint-components/p-c5a86ae0.system.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-c6b10310.entry.js} +1 -1
- package/dist/mint-components/p-c7d74b3d.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-c9a1e91f.system.entry.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce7d155e.entry.js} +1 -1
- package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-d2ce8962.system.entry.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-d2fdccaf.entry.js} +1 -1
- package/dist/mint-components/p-d30d4615.system.entry.js +1 -0
- package/dist/mint-components/p-d72ca162.entry.js +13 -0
- package/dist/mint-components/p-d8d97ff5.js +1 -0
- package/dist/mint-components/p-d9125705.entry.js +1 -0
- package/dist/mint-components/{p-bdd6bb13.js → p-d998f2cf.js} +1 -1
- package/dist/mint-components/{p-e0e7635a.js → p-da694498.js} +1 -1
- package/dist/mint-components/p-dc10f1c8.entry.js +1 -0
- package/dist/mint-components/p-dd5a844d.entry.js +1 -0
- package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
- package/dist/mint-components/{p-68747d88.js → p-e445df4e.js} +1 -1
- package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
- package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
- package/dist/mint-components/p-e9561792.entry.js +1 -0
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-ea99fae7.system.entry.js} +1 -1
- package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-f1a8e889.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
- package/dist/mint-components/{p-9eae245f.js → p-f754e08b.js} +23 -23
- package/dist/mint-components/p-f831ddd1.entry.js +13 -0
- package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
- package/dist/types/components/sqm-pagination/usePagination.d.ts +16 -0
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +3 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +39 -0
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +52 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +13 -4
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +4 -0
- package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +3 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +8 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +30 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +5 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +82 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +14 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +45 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
- package/dist/types/components/views/copy-text-view.d.ts +3 -0
- package/dist/types/components.d.ts +625 -92
- package/dist/types/stories/Widget.stories.d.ts +6 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -345
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -103
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -339
- package/dist/esm/sqm-code-verification.entry.js +0 -341
- package/dist/esm/sqm-widget-verification-internal.entry.js +0 -99
- package/dist/esm-es5/ShadowViewAddon-69b61037.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-e9075c0b.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
- package/dist/esm-es5/useChildElements-fc84e640.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
- package/dist/mint-components/p-0893073b.entry.js +0 -1
- package/dist/mint-components/p-0a898ab1.js +0 -1
- package/dist/mint-components/p-11d1b212.js +0 -1
- package/dist/mint-components/p-1649ee1e.entry.js +0 -240
- package/dist/mint-components/p-1712a9fd.entry.js +0 -11
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-1e616d45.system.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-39e412e8.system.entry.js +0 -1
- package/dist/mint-components/p-4364001c.entry.js +0 -12
- package/dist/mint-components/p-4671e644.entry.js +0 -1
- package/dist/mint-components/p-4babe350.system.js +0 -1
- package/dist/mint-components/p-4e373c3d.system.js +0 -1
- package/dist/mint-components/p-4eae91a9.system.js +0 -1
- package/dist/mint-components/p-54ffae13.entry.js +0 -194
- package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
- package/dist/mint-components/p-639d3dd3.entry.js +0 -1
- package/dist/mint-components/p-63ac51e1.system.entry.js +0 -1
- package/dist/mint-components/p-84b25a46.entry.js +0 -1
- package/dist/mint-components/p-8690f682.system.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
- package/dist/mint-components/p-974070c4.system.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-9dcfa187.system.js +0 -1
- package/dist/mint-components/p-9ec008cb.system.entry.js +0 -1
- package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-c510fb88.entry.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-ca809fdd.system.js +0 -1
- package/dist/mint-components/p-d238372a.system.entry.js +0 -1
- package/dist/mint-components/p-d49e2f7a.js +0 -1
- package/dist/mint-components/p-d7806f31.js +0 -48
- package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-e01ac27c.system.js +0 -1
- package/dist/mint-components/p-e45a8501.system.entry.js +0 -1
- package/dist/mint-components/p-f340214f.entry.js +0 -25
- package/dist/mint-components/p-f36e33ff.entry.js +0 -13
- package/dist/mint-components/p-f55060db.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
- package/dist/mint-components/p-fffc3590.entry.js +0 -9
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo,
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-014ddfa3.js';
|
|
2
|
+
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-576d7f01.js';
|
|
3
|
+
import { i as intl } from './global-9832e13a.js';
|
|
4
|
+
import { i as isDemo, _, d as dist, Q, H, $ as $e, y as yn, B, L, g as gn, f as $n, q as Ue, r as qe, x as xe, u as useCallback, z as ze, S as Sn } from './index.module-32d2bf62.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import './mixins-f60a614c.js';
|
|
8
|
-
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { a as useRequestRerender } from './re-render-1bcfd0de.js';
|
|
10
|
-
import { u as useChildElements } from './useChildElements-fc84e640.js';
|
|
11
|
-
import './luxon-7600be8d.js';
|
|
12
7
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
13
|
-
import './
|
|
8
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
+
import { C as CopyTextView } from './copy-text-view-200d6958.js';
|
|
10
|
+
import './mixins-f60a614c.js';
|
|
11
|
+
import { a as useRequestRerender } from './re-render-6977623c.js';
|
|
12
|
+
import { u as useChildElements } from './useChildElements-dd86d4a4.js';
|
|
13
|
+
import './luxon-12195d94.js';
|
|
14
|
+
import './sqm-text-span-view-d6e03f93.js';
|
|
14
15
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
15
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
16
|
-
import { i as isEmpty } from './utilities-
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-6e89095a.js';
|
|
17
|
+
import { i as isEmpty } from './utilities-34fdb9e3.js';
|
|
17
18
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
|
-
import { b as useDemoBigStat,
|
|
19
|
-
import './sqm-portal-container-view-
|
|
19
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-a0cff36f.js';
|
|
20
|
+
import './sqm-portal-container-view-83df005d.js';
|
|
21
|
+
import { u as usePayoutStatus } from './usePayoutStatus-a7510912.js';
|
|
20
22
|
|
|
21
23
|
const BigStat = class {
|
|
22
24
|
constructor(hostRef) {
|
|
@@ -35,7 +37,7 @@ const BigStat = class {
|
|
|
35
37
|
render() {
|
|
36
38
|
var _a;
|
|
37
39
|
const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
|
|
38
|
-
const host =
|
|
40
|
+
const host = _();
|
|
39
41
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
40
42
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
41
43
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
@@ -156,7 +158,7 @@ const styleString = sheet.toString();
|
|
|
156
158
|
function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
|
|
157
159
|
if (!missingProps)
|
|
158
160
|
return false;
|
|
159
|
-
const host =
|
|
161
|
+
const host = _();
|
|
160
162
|
const [detailsOpen, setDetailsOpen] = useState(false);
|
|
161
163
|
return (h$1("sl-alert", { type: "danger", open: true },
|
|
162
164
|
h$1("style", { type: "text/css" }, styleString),
|
|
@@ -298,11 +300,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
298
300
|
`;
|
|
299
301
|
function useCouponCode(props) {
|
|
300
302
|
var _a, _b, _c;
|
|
301
|
-
const user =
|
|
302
|
-
const programId =
|
|
303
|
-
const engagementMedium =
|
|
304
|
-
const [sendLoadEvent] =
|
|
305
|
-
const { data, loading, refetch, errors } =
|
|
303
|
+
const user = Q();
|
|
304
|
+
const programId = H();
|
|
305
|
+
const engagementMedium = B();
|
|
306
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
307
|
+
const { data, loading, refetch, errors } = yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
306
308
|
const getStatus = (reward) => {
|
|
307
309
|
if (!reward || !reward.statuses)
|
|
308
310
|
return "ERROR";
|
|
@@ -692,13 +694,13 @@ const defaultFormState = {
|
|
|
692
694
|
error: "",
|
|
693
695
|
};
|
|
694
696
|
function useEditProfile(props) {
|
|
695
|
-
const userIdent =
|
|
697
|
+
const userIdent = Q();
|
|
696
698
|
const [showEdit, setShowEdit] = useState(false);
|
|
697
699
|
const [error, setError] = useState("");
|
|
698
700
|
const [userData, setUserData] = useState(undefined);
|
|
699
701
|
const [formState, setFormState] = useState(defaultFormState);
|
|
700
|
-
const userDataResponse =
|
|
701
|
-
const [upsertUser, upsertUserResponse] =
|
|
702
|
+
const userDataResponse = yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
703
|
+
const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
|
|
702
704
|
useEffect(() => {
|
|
703
705
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
704
706
|
return;
|
|
@@ -1337,11 +1339,11 @@ const GET_RANK_WITHOUT_NAMES = dist.gql `
|
|
|
1337
1339
|
`;
|
|
1338
1340
|
function useLeaderboard(props) {
|
|
1339
1341
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1340
|
-
const programIdContext =
|
|
1342
|
+
const programIdContext = H();
|
|
1341
1343
|
// Default to context, overriden by props
|
|
1342
1344
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1343
|
-
const user =
|
|
1344
|
-
const locale =
|
|
1345
|
+
const user = Q();
|
|
1346
|
+
const locale = L();
|
|
1345
1347
|
const variables = programId
|
|
1346
1348
|
? {
|
|
1347
1349
|
type: props.leaderboardType,
|
|
@@ -1360,8 +1362,8 @@ function useLeaderboard(props) {
|
|
|
1360
1362
|
if (props.maxRows > 0) {
|
|
1361
1363
|
variables["limit"] = props.maxRows;
|
|
1362
1364
|
}
|
|
1363
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } =
|
|
1364
|
-
const { data: rankData } =
|
|
1365
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1366
|
+
const { data: rankData } = yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1365
1367
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1366
1368
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1367
1369
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1659,12 +1661,12 @@ function NavigationMenuView(props) {
|
|
|
1659
1661
|
}
|
|
1660
1662
|
|
|
1661
1663
|
function handleMenu(e) {
|
|
1662
|
-
|
|
1664
|
+
$n.push(e.detail.item.value);
|
|
1663
1665
|
}
|
|
1664
1666
|
function useNavigationMenu(props) {
|
|
1665
1667
|
const ref = useRef();
|
|
1666
|
-
const [, rerender] =
|
|
1667
|
-
const user =
|
|
1668
|
+
const [, rerender] = gn();
|
|
1669
|
+
const user = Q();
|
|
1668
1670
|
useEffect(() => {
|
|
1669
1671
|
var _a;
|
|
1670
1672
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1719,6 +1721,7 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
1719
1721
|
const style$2 = {
|
|
1720
1722
|
Wrapper: {
|
|
1721
1723
|
maxWidth: "200px",
|
|
1724
|
+
marginLeft: "auto",
|
|
1722
1725
|
},
|
|
1723
1726
|
PayoutButtonDescription: {
|
|
1724
1727
|
color: "var(--sl-color-neutral-500)",
|
|
@@ -1732,12 +1735,47 @@ function PayoutButtonScrollView(props) {
|
|
|
1732
1735
|
const { text, states } = props;
|
|
1733
1736
|
if (!states.payoutSettingsComplete)
|
|
1734
1737
|
return h$1("div", null);
|
|
1735
|
-
return (h$1("div", {
|
|
1738
|
+
return (h$1("div", { class: sheet$2.classes.Wrapper },
|
|
1736
1739
|
h$1("style", { type: "text/css" }, styleString$2),
|
|
1737
1740
|
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.payoutButtonText, "scroll-animation": "smooth" }),
|
|
1738
1741
|
h$1("p", { class: sheet$2.classes.PayoutButtonDescription }, text.payoutButtonDescription)));
|
|
1739
1742
|
}
|
|
1740
1743
|
|
|
1744
|
+
const GET_PAYOUT_DETAILS = dist.gql `
|
|
1745
|
+
query getPayoutDetails {
|
|
1746
|
+
user: viewer {
|
|
1747
|
+
... on User {
|
|
1748
|
+
id
|
|
1749
|
+
impactConnection {
|
|
1750
|
+
connected
|
|
1751
|
+
publisher {
|
|
1752
|
+
id
|
|
1753
|
+
payoutsAccount {
|
|
1754
|
+
hold
|
|
1755
|
+
balance
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
`;
|
|
1763
|
+
function usePayoutButton(props) {
|
|
1764
|
+
var _a, _b, _c;
|
|
1765
|
+
const { data, refetch } = yn(GET_PAYOUT_DETAILS, {});
|
|
1766
|
+
useEffect(() => {
|
|
1767
|
+
const cb = () => refetch();
|
|
1768
|
+
window.addEventListener("sqm:tax-form-updated", cb);
|
|
1769
|
+
return () => window.removeEventListener("sqm:tax-form-updated", cb);
|
|
1770
|
+
}, []);
|
|
1771
|
+
return {
|
|
1772
|
+
states: {
|
|
1773
|
+
payoutSettingsComplete: !!((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.payoutsAccount),
|
|
1774
|
+
},
|
|
1775
|
+
text: props.getTextProps(),
|
|
1776
|
+
};
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1741
1779
|
const PayoutButtonScroll = class {
|
|
1742
1780
|
constructor(hostRef) {
|
|
1743
1781
|
registerInstance(this, hostRef);
|
|
@@ -1758,7 +1796,9 @@ const PayoutButtonScroll = class {
|
|
|
1758
1796
|
return getProps(this);
|
|
1759
1797
|
}
|
|
1760
1798
|
render() {
|
|
1761
|
-
const props =
|
|
1799
|
+
const props = isDemo()
|
|
1800
|
+
? useDemoPayoutButtonScroll(this)
|
|
1801
|
+
: usePayoutButton(this);
|
|
1762
1802
|
return h$1(PayoutButtonScrollView, Object.assign({}, props));
|
|
1763
1803
|
}
|
|
1764
1804
|
};
|
|
@@ -1807,18 +1847,25 @@ const style$3 = {
|
|
|
1807
1847
|
color: "var(--sl-color-blue-500)",
|
|
1808
1848
|
},
|
|
1809
1849
|
},
|
|
1850
|
+
Dialog: {
|
|
1851
|
+
"&::part(panel)": {
|
|
1852
|
+
height: "600px",
|
|
1853
|
+
},
|
|
1854
|
+
"&::part(close-button)": {
|
|
1855
|
+
marginBottom: "var(--sl-spacing-xx-large)",
|
|
1856
|
+
},
|
|
1857
|
+
"&::part(title)": {
|
|
1858
|
+
display: "none",
|
|
1859
|
+
},
|
|
1860
|
+
"&::part(header)": {},
|
|
1861
|
+
"&::part(body)": { padding: "0" },
|
|
1862
|
+
"&::part(footer)": {},
|
|
1863
|
+
},
|
|
1810
1864
|
};
|
|
1811
1865
|
const sheet$3 = createStyleSheet(style$3);
|
|
1812
1866
|
const styleString$3 = sheet$3.toString();
|
|
1813
1867
|
function PayoutStatusAlertView(props) {
|
|
1814
|
-
var _a, _b, _c, _d, _e;
|
|
1815
1868
|
const { text, states, data, callbacks } = props;
|
|
1816
|
-
if (states.loading) {
|
|
1817
|
-
return h$1("sl-skeleton", { class: sheet$3.classes.SkeletonOne });
|
|
1818
|
-
}
|
|
1819
|
-
if (states.status === "DONE") {
|
|
1820
|
-
return h$1("div", null);
|
|
1821
|
-
}
|
|
1822
1869
|
function getAlert(status) {
|
|
1823
1870
|
if (states.error)
|
|
1824
1871
|
return {
|
|
@@ -1839,19 +1886,68 @@ function PayoutStatusAlertView(props) {
|
|
|
1839
1886
|
icon: "info-circle",
|
|
1840
1887
|
class: sheet$3.classes.InfoAlertContainer,
|
|
1841
1888
|
};
|
|
1842
|
-
case "
|
|
1889
|
+
case "VERIFICATION:REQUIRED":
|
|
1843
1890
|
return {
|
|
1844
1891
|
header: text.verificationRequiredHeader,
|
|
1845
|
-
description:
|
|
1892
|
+
description: intl.formatMessage({
|
|
1893
|
+
id: "verificationRequiredDescription",
|
|
1894
|
+
defaultMessage: text.verificationRequiredDescription,
|
|
1895
|
+
}, {
|
|
1896
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1897
|
+
}),
|
|
1846
1898
|
buttonText: text.verificationRequiredButtonText,
|
|
1847
1899
|
alertType: "warning",
|
|
1848
1900
|
icon: "exclamation-triangle",
|
|
1849
1901
|
class: sheet$3.classes.WarningAlertContainer,
|
|
1850
1902
|
};
|
|
1903
|
+
case "VERIFICATION:INTERNAL":
|
|
1904
|
+
return {
|
|
1905
|
+
header: text.verificationRequiredInternalHeader,
|
|
1906
|
+
description: intl.formatMessage({
|
|
1907
|
+
id: "verificationRequiredInternalDescription",
|
|
1908
|
+
defaultMessage: text.verificationRequiredInternalDescription,
|
|
1909
|
+
}, {
|
|
1910
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1911
|
+
}),
|
|
1912
|
+
alertType: "warning",
|
|
1913
|
+
icon: "exclamation-triangle",
|
|
1914
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1915
|
+
};
|
|
1916
|
+
case "VERIFICATION:REVIEW":
|
|
1917
|
+
return {
|
|
1918
|
+
header: text.verificationReviewInternalHeader,
|
|
1919
|
+
description: intl.formatMessage({
|
|
1920
|
+
id: "verificationReviewInternalDescription",
|
|
1921
|
+
defaultMessage: text.verificationReviewInternalDescription,
|
|
1922
|
+
}, {
|
|
1923
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1924
|
+
}),
|
|
1925
|
+
alertType: "warning",
|
|
1926
|
+
icon: "exclamation-triangle",
|
|
1927
|
+
class: sheet$3.classes.WarningAlertContainer,
|
|
1928
|
+
};
|
|
1929
|
+
case "VERIFICATION:FAILED":
|
|
1930
|
+
return {
|
|
1931
|
+
header: text.verificationFailedInternalHeader,
|
|
1932
|
+
description: intl.formatMessage({
|
|
1933
|
+
id: "verificationFailedInternalDescription",
|
|
1934
|
+
defaultMessage: text.verificationFailedInternalDescription,
|
|
1935
|
+
}, {
|
|
1936
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1937
|
+
}),
|
|
1938
|
+
alertType: "critical",
|
|
1939
|
+
icon: "exclamation-octagon",
|
|
1940
|
+
class: sheet$3.classes.ErrorAlertContainer,
|
|
1941
|
+
};
|
|
1851
1942
|
case "HOLD":
|
|
1852
1943
|
return {
|
|
1853
1944
|
header: text.holdHeader,
|
|
1854
|
-
description:
|
|
1945
|
+
description: intl.formatMessage({
|
|
1946
|
+
id: "holdDescription",
|
|
1947
|
+
defaultMessage: text.holdDescription,
|
|
1948
|
+
}, {
|
|
1949
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1950
|
+
}),
|
|
1855
1951
|
buttonText: null,
|
|
1856
1952
|
alertType: "warning",
|
|
1857
1953
|
icon: "exclamation-triangle",
|
|
@@ -1861,92 +1957,32 @@ function PayoutStatusAlertView(props) {
|
|
|
1861
1957
|
return;
|
|
1862
1958
|
}
|
|
1863
1959
|
}
|
|
1864
|
-
//AL: TODO hookup ID
|
|
1865
1960
|
function getButton(status) {
|
|
1866
1961
|
switch (status) {
|
|
1867
1962
|
case "INFORMATION_REQUIRED":
|
|
1868
|
-
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1963
|
+
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
1964
|
+
// Demo case
|
|
1965
|
+
h$1("sl-button", { type: "default" }, text.informationRequiredButtonText));
|
|
1966
|
+
case "VERIFICATION:REQUIRED":
|
|
1967
|
+
return (h$1("sl-button", { type: "default", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText));
|
|
1873
1968
|
default:
|
|
1874
1969
|
return;
|
|
1875
1970
|
}
|
|
1876
1971
|
}
|
|
1972
|
+
if (states.loading) {
|
|
1973
|
+
return h$1("sl-skeleton", { class: sheet$3.classes.SkeletonOne });
|
|
1974
|
+
}
|
|
1975
|
+
const alertDetails = getAlert(states.status);
|
|
1976
|
+
if (states.status === "DONE" || !alertDetails) {
|
|
1977
|
+
return h$1("div", null);
|
|
1978
|
+
}
|
|
1877
1979
|
return (h$1("div", { part: "sqm-base" },
|
|
1878
1980
|
h$1("style", { type: "text/css" }, styleString$3),
|
|
1879
|
-
h$1("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type:
|
|
1880
|
-
h$1("sl-icon", { slot: "icon", name:
|
|
1881
|
-
h$1("strong", null,
|
|
1882
|
-
h$1("p", { class: sheet$3.classes.AlertDescriptionText },
|
|
1883
|
-
getButton(states.status))
|
|
1884
|
-
h$1("sl-dialog", {
|
|
1885
|
-
// class={sheet.classes.Dialog}
|
|
1886
|
-
open: states.showVerifyIdentity, "onSl-hide": callbacks.onCancel }, "AL: TODO add IFRAME URL")));
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
const GET_USER_STATUS = dist.gql `
|
|
1890
|
-
query getUserStatus {
|
|
1891
|
-
user: viewer {
|
|
1892
|
-
... on User {
|
|
1893
|
-
id
|
|
1894
|
-
impactConnection {
|
|
1895
|
-
connected
|
|
1896
|
-
publisher {
|
|
1897
|
-
id
|
|
1898
|
-
payoutsAccount {
|
|
1899
|
-
hold
|
|
1900
|
-
}
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
}
|
|
1906
|
-
`;
|
|
1907
|
-
function usePayoutStatus(props) {
|
|
1908
|
-
const { type } = getEnvironmentSDK();
|
|
1909
|
-
const { loading, data, errors, refetch } = En(GET_USER_STATUS, {});
|
|
1910
|
-
const [status, setStatus] = useState(undefined);
|
|
1911
|
-
const [showDialog, setShowDialog] = useState(false);
|
|
1912
|
-
useEffect(() => {
|
|
1913
|
-
if (!data)
|
|
1914
|
-
return;
|
|
1915
|
-
function getStatus(data) {
|
|
1916
|
-
var _a, _b;
|
|
1917
|
-
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
1918
|
-
if (!account)
|
|
1919
|
-
return "INFORMATION_REQUIRED";
|
|
1920
|
-
if (account.hold)
|
|
1921
|
-
return "HOLD";
|
|
1922
|
-
// @ts-ignore, TODO: add check for account verification
|
|
1923
|
-
if (!account.verified)
|
|
1924
|
-
return "VERIFICATION_NEEDED";
|
|
1925
|
-
return "DONE";
|
|
1926
|
-
}
|
|
1927
|
-
const s = getStatus(data);
|
|
1928
|
-
setStatus(s);
|
|
1929
|
-
}, [data]);
|
|
1930
|
-
useEffect(() => {
|
|
1931
|
-
const cb = () => refetch();
|
|
1932
|
-
window.addEventListener("sqm:tax-form-updated", cb);
|
|
1933
|
-
return () => window.removeEventListener("sqm:tax-form-updated", cb);
|
|
1934
|
-
}, []);
|
|
1935
|
-
return {
|
|
1936
|
-
states: {
|
|
1937
|
-
loading,
|
|
1938
|
-
status,
|
|
1939
|
-
showVerifyIdentity: showDialog,
|
|
1940
|
-
error: !!errors,
|
|
1941
|
-
},
|
|
1942
|
-
data: { type },
|
|
1943
|
-
text: props.getTextProps(),
|
|
1944
|
-
callbacks: {
|
|
1945
|
-
onTermsClick: () => window.open(props.termsUrl, "_blank").focus(),
|
|
1946
|
-
onClick: () => setShowDialog(true),
|
|
1947
|
-
onCancel: () => setShowDialog(false),
|
|
1948
|
-
},
|
|
1949
|
-
};
|
|
1981
|
+
h$1("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertDetails.alertType, class: alertDetails.class, open: true },
|
|
1982
|
+
h$1("sl-icon", { slot: "icon", name: alertDetails.icon }),
|
|
1983
|
+
h$1("strong", null, alertDetails.header),
|
|
1984
|
+
h$1("p", { class: sheet$3.classes.AlertDescriptionText }, alertDetails.description),
|
|
1985
|
+
getButton(states.status))));
|
|
1950
1986
|
}
|
|
1951
1987
|
|
|
1952
1988
|
const PayoutStatusAlert = class {
|
|
@@ -1971,11 +2007,35 @@ const PayoutStatusAlert = class {
|
|
|
1971
2007
|
/**
|
|
1972
2008
|
* @uiName Verification required alert description
|
|
1973
2009
|
*/
|
|
1974
|
-
this.verificationRequiredDescription = "
|
|
2010
|
+
this.verificationRequiredDescription = "It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
|
|
1975
2011
|
/**
|
|
1976
2012
|
* @uiName Verification required alert button text
|
|
1977
2013
|
*/
|
|
1978
2014
|
this.verificationRequiredButtonText = "Start Verification";
|
|
2015
|
+
/**
|
|
2016
|
+
* @uiName Verification required internal alert header
|
|
2017
|
+
*/
|
|
2018
|
+
this.verificationRequiredInternalHeader = "Identity Verification in Progress";
|
|
2019
|
+
/**
|
|
2020
|
+
* @uiName Verification required internal alert description
|
|
2021
|
+
*/
|
|
2022
|
+
this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
|
|
2023
|
+
/**
|
|
2024
|
+
* @uiName Verification review internal alert header
|
|
2025
|
+
*/
|
|
2026
|
+
this.verificationReviewInternalHeader = "Identity Verification Under Review";
|
|
2027
|
+
/**
|
|
2028
|
+
* @uiName Verification review internal alert description
|
|
2029
|
+
*/
|
|
2030
|
+
this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
|
|
2031
|
+
/**
|
|
2032
|
+
* @uiName Verification failed internal alert header
|
|
2033
|
+
*/
|
|
2034
|
+
this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
|
|
2035
|
+
/**
|
|
2036
|
+
* @uiName Verification failed internal alert description
|
|
2037
|
+
*/
|
|
2038
|
+
this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
|
|
1979
2039
|
/**
|
|
1980
2040
|
* @uiName Payout on hold alert header
|
|
1981
2041
|
*/
|
|
@@ -1983,11 +2043,15 @@ const PayoutStatusAlert = class {
|
|
|
1983
2043
|
/**
|
|
1984
2044
|
* @uiName Payout on hold alert description
|
|
1985
2045
|
*/
|
|
1986
|
-
this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to {
|
|
2046
|
+
this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our {supportLink}.";
|
|
1987
2047
|
/**
|
|
1988
|
-
* @uiName Cash & Payouts
|
|
2048
|
+
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
1989
2049
|
*/
|
|
1990
|
-
this.
|
|
2050
|
+
this.cashPayoutsPageUrl = "/cash";
|
|
2051
|
+
/**
|
|
2052
|
+
* @uiName Support link text
|
|
2053
|
+
*/
|
|
2054
|
+
this.supportLink = "support team";
|
|
1991
2055
|
/**
|
|
1992
2056
|
* @uiName Error header
|
|
1993
2057
|
*/
|
|
@@ -2006,7 +2070,6 @@ const PayoutStatusAlert = class {
|
|
|
2006
2070
|
const props = isDemo()
|
|
2007
2071
|
? useDemoPayoutStatusAlert(this)
|
|
2008
2072
|
: usePayoutStatus(this);
|
|
2009
|
-
console.log({ props });
|
|
2010
2073
|
return h$1(PayoutStatusAlertView, Object.assign({}, props));
|
|
2011
2074
|
}
|
|
2012
2075
|
};
|
|
@@ -2023,18 +2086,17 @@ function useDemoPayoutStatusAlert(props) {
|
|
|
2023
2086
|
callbacks: {
|
|
2024
2087
|
onTermsClick: () => { },
|
|
2025
2088
|
onClick: () => console.log("show"),
|
|
2026
|
-
onCancel: () => console.log("hide"),
|
|
2027
2089
|
},
|
|
2028
2090
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2029
2091
|
}
|
|
2030
2092
|
|
|
2031
2093
|
function usePortalChangePassword(props) {
|
|
2032
2094
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2033
|
-
const [request, { loading, errors, data }] =
|
|
2095
|
+
const [request, { loading, errors, data }] = Ue();
|
|
2034
2096
|
const [open, setOpen] = useState(false);
|
|
2035
2097
|
const [error, setError] = useState("");
|
|
2036
2098
|
const [success, setSuccess] = useState(false);
|
|
2037
|
-
const user =
|
|
2099
|
+
const user = Q();
|
|
2038
2100
|
const submit = async (event) => {
|
|
2039
2101
|
var _a, _b;
|
|
2040
2102
|
setSuccess(false);
|
|
@@ -2276,7 +2338,7 @@ const PortalFooter = class {
|
|
|
2276
2338
|
};
|
|
2277
2339
|
|
|
2278
2340
|
function usePortalFrame(footerContent, headerContent) {
|
|
2279
|
-
const [, rerender] =
|
|
2341
|
+
const [, rerender] = gn();
|
|
2280
2342
|
return {
|
|
2281
2343
|
data: {
|
|
2282
2344
|
footer: footerContent,
|
|
@@ -2326,9 +2388,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2326
2388
|
|
|
2327
2389
|
function usePortalLogin(props) {
|
|
2328
2390
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2329
|
-
const [request, { loading, errors, data }] =
|
|
2391
|
+
const [request, { loading, errors, data }] = qe();
|
|
2330
2392
|
const [error, setError] = useState("");
|
|
2331
|
-
const urlParams = new URLSearchParams(
|
|
2393
|
+
const urlParams = new URLSearchParams($n.location.search);
|
|
2332
2394
|
const nextPageOverride = urlParams.get("nextPage");
|
|
2333
2395
|
const submit = async (event) => {
|
|
2334
2396
|
var _a, _b;
|
|
@@ -2347,7 +2409,7 @@ function usePortalLogin(props) {
|
|
|
2347
2409
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2348
2410
|
urlParams.delete("nextPage");
|
|
2349
2411
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2350
|
-
|
|
2412
|
+
$n.push(url.href);
|
|
2351
2413
|
}
|
|
2352
2414
|
};
|
|
2353
2415
|
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
@@ -2426,8 +2488,8 @@ const PortalLogin = class {
|
|
|
2426
2488
|
? useLoginDemo(this)
|
|
2427
2489
|
: usePortalLogin(this);
|
|
2428
2490
|
const content = {
|
|
2429
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
2430
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2491
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => $n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2492
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath) }, this.registerLabel))),
|
|
2431
2493
|
emailLabel: this.emailLabel,
|
|
2432
2494
|
passwordLabel: this.passwordLabel,
|
|
2433
2495
|
submitLabel: this.submitLabel,
|
|
@@ -2456,7 +2518,7 @@ function usePortalRegister(props) {
|
|
|
2456
2518
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2457
2519
|
const formRef = useRef(null);
|
|
2458
2520
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
2459
|
-
const [request, { loading, errors, data }] =
|
|
2521
|
+
const [request, { loading, errors, data }] = xe();
|
|
2460
2522
|
useEffect(() => {
|
|
2461
2523
|
if (!formRef.current)
|
|
2462
2524
|
return;
|
|
@@ -2529,7 +2591,7 @@ function usePortalRegister(props) {
|
|
|
2529
2591
|
validationErrors: {},
|
|
2530
2592
|
});
|
|
2531
2593
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2532
|
-
|
|
2594
|
+
$n.push(props.nextPage);
|
|
2533
2595
|
}
|
|
2534
2596
|
}
|
|
2535
2597
|
catch (error) {
|
|
@@ -2703,7 +2765,7 @@ const PortalRegister = class {
|
|
|
2703
2765
|
: usePortalRegister(this);
|
|
2704
2766
|
const content = {
|
|
2705
2767
|
formData: h$1("slot", { name: "formData" }),
|
|
2706
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2768
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
|
|
2707
2769
|
terms: h$1("slot", { name: "terms" }),
|
|
2708
2770
|
emailLabel: this.emailLabel,
|
|
2709
2771
|
passwordLabel: this.passwordLabel,
|
|
@@ -2874,11 +2936,11 @@ const ProgramExplainerStep = class {
|
|
|
2874
2936
|
const debug = browser("sq:useProgramMenu");
|
|
2875
2937
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
2876
2938
|
function useProgramMenu(props) {
|
|
2877
|
-
const programId =
|
|
2878
|
-
const host =
|
|
2939
|
+
const programId = H();
|
|
2940
|
+
const host = _();
|
|
2879
2941
|
debug({ programId, props });
|
|
2880
2942
|
const ref = useRef();
|
|
2881
|
-
const [, rerender] =
|
|
2943
|
+
const [, rerender] = gn();
|
|
2882
2944
|
useEffect(() => {
|
|
2883
2945
|
var _a;
|
|
2884
2946
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -3056,9 +3118,9 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
3056
3118
|
`;
|
|
3057
3119
|
function useReferralIframe(props) {
|
|
3058
3120
|
var _a;
|
|
3059
|
-
const programId =
|
|
3060
|
-
const user =
|
|
3061
|
-
const { data } =
|
|
3121
|
+
const programId = H();
|
|
3122
|
+
const user = Q();
|
|
3123
|
+
const { data } = yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
3062
3124
|
return {
|
|
3063
3125
|
states: {
|
|
3064
3126
|
content: props,
|
|
@@ -3783,9 +3845,9 @@ function useRewardExchangeList(props) {
|
|
|
3783
3845
|
});
|
|
3784
3846
|
const [open, setOpen] = useState(false);
|
|
3785
3847
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3786
|
-
const user =
|
|
3787
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] =
|
|
3788
|
-
const { data, loading, refetch, errors: queryError, } =
|
|
3848
|
+
const user = Q();
|
|
3849
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
|
|
3850
|
+
const { data, loading, refetch, errors: queryError, } = yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3789
3851
|
useEffect(() => {
|
|
3790
3852
|
var _a, _b;
|
|
3791
3853
|
if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
|
|
@@ -3804,7 +3866,7 @@ function useRewardExchangeList(props) {
|
|
|
3804
3866
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3805
3867
|
canvas.confetti();
|
|
3806
3868
|
}, [canvasRef.current]);
|
|
3807
|
-
const { refresh } =
|
|
3869
|
+
const { refresh } = ze();
|
|
3808
3870
|
async function exchangeReward() {
|
|
3809
3871
|
if (!selectedItem)
|
|
3810
3872
|
return;
|
|
@@ -4112,8 +4174,8 @@ function matchPath(pattern, page) {
|
|
|
4112
4174
|
return regexp.exec(page);
|
|
4113
4175
|
}
|
|
4114
4176
|
function useRouter() {
|
|
4115
|
-
const location =
|
|
4116
|
-
const host =
|
|
4177
|
+
const location = Sn();
|
|
4178
|
+
const host = _();
|
|
4117
4179
|
const [slot, setSlot] = useState(undefined);
|
|
4118
4180
|
const [container, setContainer] = useState(undefined);
|
|
4119
4181
|
const page = location.pathname;
|
|
@@ -4274,11 +4336,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
|
|
|
4274
4336
|
`;
|
|
4275
4337
|
function useShareCode(props) {
|
|
4276
4338
|
var _a, _b;
|
|
4277
|
-
const { programId =
|
|
4278
|
-
const user =
|
|
4279
|
-
const engagementMedium =
|
|
4280
|
-
const { data } =
|
|
4281
|
-
const [sendLoadEvent] =
|
|
4339
|
+
const { programId = H() } = props;
|
|
4340
|
+
const user = Q();
|
|
4341
|
+
const engagementMedium = B();
|
|
4342
|
+
const { data } = yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4343
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4282
4344
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
4283
4345
|
// Shown during loading
|
|
4284
4346
|
"...";
|
|
@@ -4477,10 +4539,10 @@ const SEND_EVENT = dist.gql `
|
|
|
4477
4539
|
}
|
|
4478
4540
|
`;
|
|
4479
4541
|
function useTaskCard(props) {
|
|
4480
|
-
const user =
|
|
4481
|
-
const locale =
|
|
4482
|
-
const [sendUserEvent, { data, loading: loadingEvent }] =
|
|
4483
|
-
const { refresh } =
|
|
4542
|
+
const user = Q();
|
|
4543
|
+
const locale = L();
|
|
4544
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
|
|
4545
|
+
const { refresh } = ze();
|
|
4484
4546
|
useEffect(() => {
|
|
4485
4547
|
if (data) {
|
|
4486
4548
|
refresh();
|
|
@@ -4801,8 +4863,8 @@ const GET_USER_NAME = dist.gql `
|
|
|
4801
4863
|
`;
|
|
4802
4864
|
function useUserName(props) {
|
|
4803
4865
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4804
|
-
const user =
|
|
4805
|
-
const res =
|
|
4866
|
+
const user = Q();
|
|
4867
|
+
const res = yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4806
4868
|
const loading = res.loading;
|
|
4807
4869
|
const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
|
|
4808
4870
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|