@saasquatch/mint-components 1.15.0-15 → 1.15.0-150
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-f0e9c531.js → GenericTableView-a9845e80.js} +6 -6
- package/dist/cjs/IndirectTaxDetailsView-ee748536.js +646 -0
- package/dist/cjs/{ShadowViewAddon-d2ed86e8.js → ShadowViewAddon-8efaa12a.js} +1606 -1408
- package/dist/cjs/{copy-text-view-b2f47da0.js → copy-text-view-51c8ee5d.js} +23 -12
- package/dist/cjs/data-d4339c2e.js +137 -0
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
- package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
- package/dist/cjs/{global-19fe8600.js → global-6b7ecbf9.js} +11844 -11611
- package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
- package/dist/cjs/{index.module-ee84433d.js → index.module-4f54e412.js} +191 -191
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-2926d85f.js → luxon-949beaf2.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
- package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-df37c8a3.js} +2 -2
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-b324deab.js → re-render-d516138a.js} +4 -4
- package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +914 -2412
- package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
- package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_44.cjs.entry.js} +1193 -245
- package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
- package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
- package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
- package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
- package/dist/cjs/sqm-empty_4.cjs.entry.js +9 -15
- package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar-item-view-4e88f774.js +56 -0
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +28 -18
- package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
- package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-9f7b86a9.js → sqm-portal-email-verification-view-53967416.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-e77710f0.js → sqm-portal-profile-view-ad2ac139.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
- package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +21 -67
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13719 -12490
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
- package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +25 -13
- package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
- package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
- package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
- package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
- package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
- package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
- package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
- package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
- package/dist/cjs/utils-7698ae04.js +105 -0
- package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +169 -4
- package/dist/collection/components/sqm-big-stat/useBigStat.js +127 -8
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +14 -5
- package/dist/collection/components/sqm-brand/sqm-brand.js +12 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +2 -2
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +61 -4
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +5 -5
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +16 -8
- package/dist/collection/components/sqm-hero/sqm-hero.js +39 -5
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +5 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +3 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +5 -5
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +5 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +5 -5
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +6 -4
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +7 -13
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +4 -4
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +3 -2
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -10
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +32 -6
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +45 -49
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +81 -35
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +22 -101
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +12 -24
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +5 -5
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +13 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +6 -4
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
- package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +80 -100
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +23 -26
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
- package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -7
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +45 -8
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +58 -62
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
- 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/docusign-iframe/DocusignIframe.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +60 -63
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +284 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +135 -93
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +50 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -54
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/components/views/copy-text-view.js +21 -10
- package/dist/collection/components/views/email-registration-view.js +3 -1
- package/dist/collection/global/global.js +27 -12
- package/dist/collection/global/mixins.js +6 -6
- package/dist/collection/global/styles.js +322 -136
- package/dist/collection/global/styles.ts +422 -136
- package/dist/collection/insertfont.js +18 -0
- package/dist/collection/stories/PortalTemplates.stories.js +22 -30
- package/dist/collection/tables/GenericTableView.js +4 -4
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-e43d310f.js} +6 -6
- package/dist/esm/IndirectTaxDetailsView-4b65b2f5.js +639 -0
- package/dist/esm/{ShadowViewAddon-3651cb42.js → ShadowViewAddon-b509d5ae.js} +1603 -1405
- package/dist/esm/{copy-text-view-0ac6e1d1.js → copy-text-view-83b09456.js} +23 -12
- package/dist/esm/data-dea73d4d.js +121 -0
- package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
- package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
- package/dist/esm/{global-9d6f3bbe.js → global-0b22cb9d.js} +12160 -11928
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-c9811a48.js} +154 -154
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-7e22fb0d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +762 -2253
- package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
- package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_44.entry.js} +1104 -159
- package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -5
- package/dist/esm/sqm-code-verification.entry.js +348 -0
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +145 -21
- package/dist/esm/sqm-empty_4.entry.js +6 -12
- package/dist/esm/sqm-form-message.entry.js +7 -7
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar-item-view-5a452423.js +54 -0
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
- package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
- package/dist/esm/sqm-pagination_3.entry.js +22 -12
- package/dist/esm/sqm-password-field.entry.js +6 -6
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-14f1c22c.js → sqm-portal-email-verification-view-c16f386c.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/sqm-portal-google-login.entry.js +8 -8
- package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
- package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-41116f1d.js → sqm-portal-profile-view-0f1befa8.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +8 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
- package/dist/esm/sqm-qr-code.entry.js +6 -7
- package/dist/esm/sqm-referral-table_11.entry.js +122 -33
- 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 +70 -23
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +20 -66
- package/dist/esm/sqm-stencilbook.entry.js +10918 -9689
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +24 -10
- package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
- package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +6 -6
- package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
- package/dist/esm/sqm-widget-verification.entry.js +22 -10
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-3d872cef.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-dda1f52b.js} +3 -3
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-93462be3.js} +10 -7
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-e95df3c3.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-1eb3cd72.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-c2e809cf.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-909ccb28.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-24d594ea.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-55e0e98f.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-72c07b09.js} +2 -2
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/utils-3d7dd5b5.js +97 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-4b65b2f5.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-b509d5ae.js +1 -0
- package/dist/esm-es5/copy-text-view-83b09456.js +1 -0
- package/dist/esm-es5/data-dea73d4d.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
- package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
- package/dist/esm-es5/{global-9d6f3bbe.js → global-0b22cb9d.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-c9811a48.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-7e22fb0d.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_44.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-5a452423.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-14f1c22c.js → sqm-portal-email-verification-view-c16f386c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-41116f1d.js → sqm-portal-profile-view-0f1befa8.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-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-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-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/useChildElements-3d872cef.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-dda1f52b.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-93462be3.js} +2 -2
- package/dist/esm-es5/usePortalLogin-e95df3c3.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-1eb3cd72.js +1 -0
- package/dist/esm-es5/useReferralCodes-c2e809cf.js +1 -0
- package/dist/esm-es5/useReferralTable-909ccb28.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-24d594ea.js +1 -0
- package/dist/esm-es5/useVerificationEmail-55e0e98f.js +1 -0
- package/dist/esm-es5/utilities-72c07b09.js +1 -0
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/utils-3d7dd5b5.js +1 -0
- package/dist/mint-components/global/styles.ts +422 -136
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-0087ad39.system.js +1 -0
- package/dist/mint-components/p-00efef36.system.entry.js +1 -0
- package/dist/mint-components/p-074a077f.system.js +1 -0
- package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
- package/dist/mint-components/{p-5bedb58c.js → p-08700497.js} +1 -1
- package/dist/mint-components/p-0935f9b7.system.js +1 -0
- package/dist/mint-components/p-0b9b1421.system.js +1 -0
- package/dist/mint-components/{p-b385c9f0.system.entry.js → p-0c092e80.system.entry.js} +1 -1
- package/dist/mint-components/p-0cdf5b70.entry.js +144 -0
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/p-0ec54f97.js +1 -0
- package/dist/mint-components/p-10c63703.entry.js +1 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-125a894f.js +1 -0
- package/dist/mint-components/p-1363c4ab.system.js +1 -0
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/p-14128c84.system.entry.js +1 -0
- package/dist/mint-components/{p-a81b507f.entry.js → p-155f7d25.entry.js} +2 -2
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-171310d9.system.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-17a0f310.system.js} +1 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/p-1e7f67bf.system.js +1 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-20916402.entry.js} +2 -2
- package/dist/mint-components/p-20a9d630.js +1 -0
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/p-26067d70.js +1233 -0
- package/dist/mint-components/p-262cc492.system.entry.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-26a7051d.system.entry.js} +1 -1
- package/dist/mint-components/p-26b1971c.entry.js +1 -0
- package/dist/mint-components/{p-0559d880.entry.js → p-27a7f6a6.entry.js} +1 -1
- package/dist/mint-components/p-29398c98.entry.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-293e3b25.js} +2 -2
- package/dist/mint-components/p-29ba2eaa.entry.js +1 -0
- package/dist/mint-components/p-2d3f7ce6.system.entry.js +1 -0
- package/dist/mint-components/p-2d5176fa.entry.js +1 -0
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-355079f4.system.entry.js} +1 -1
- package/dist/mint-components/p-35599a22.system.entry.js +1 -0
- package/dist/mint-components/{p-44891949.entry.js → p-386ec00c.entry.js} +1 -1
- package/dist/mint-components/p-3d6f5042.entry.js +13 -0
- package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/p-40752a0f.entry.js +1 -0
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4d91a1d6.system.js → p-415a3293.system.js} +1 -1
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/p-42900ff4.entry.js +1 -0
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/{p-345fd28e.system.entry.js → p-43d9c1c5.system.entry.js} +1 -1
- package/dist/mint-components/p-45c3ff6d.js +1 -0
- package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
- package/dist/mint-components/{p-c0f19490.js → p-49400aab.js} +2 -2
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-ac9f4085.system.entry.js → p-4f5a3dad.system.entry.js} +1 -1
- package/dist/mint-components/p-513f5d80.js +1 -0
- package/dist/mint-components/p-52bfb039.system.entry.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-537a3894.system.js} +1 -1
- package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-54abb144.system.entry.js} +1 -1
- package/dist/mint-components/p-552a6d1b.js +103 -0
- package/dist/mint-components/p-55d72ea7.entry.js +13 -0
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-58e0eccc.system.entry.js} +1 -1
- package/dist/mint-components/p-5963effd.entry.js +25 -0
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-5b29d833.system.entry.js} +1 -1
- package/dist/mint-components/p-5e145a54.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-5e8d6f3a.system.entry.js} +1 -1
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-60ec0961.system.entry.js} +1 -1
- package/dist/mint-components/p-61d6b2bc.entry.js +11 -0
- package/dist/mint-components/p-61fc1a54.system.entry.js +1 -0
- package/dist/mint-components/p-621f3e30.entry.js +1 -0
- package/dist/mint-components/p-625ca62f.entry.js +1 -0
- package/dist/mint-components/p-63134386.entry.js +9 -0
- package/dist/mint-components/p-63e29387.js +42 -0
- package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/p-67ad2252.system.js +1 -0
- package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-692bacf3.js +1 -0
- package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
- package/dist/mint-components/{p-28b011a0.js → p-6ae77224.js} +1 -1
- package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
- package/dist/mint-components/{p-8175e85f.system.js → p-6c82d60c.system.js} +1 -1
- package/dist/mint-components/{p-4027c743.system.entry.js → p-6e88c68e.system.entry.js} +1 -1
- package/dist/mint-components/p-71271fbd.system.js +1 -0
- package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
- package/dist/mint-components/{p-05f29f64.js → p-71af93e3.js} +1 -1
- package/dist/mint-components/{p-cc7af682.system.js → p-71daeed9.system.js} +2 -2
- package/dist/mint-components/p-73a12b6c.entry.js +258 -0
- package/dist/mint-components/p-75b8fd75.entry.js +1 -0
- package/dist/mint-components/p-7602eb6a.entry.js +1 -0
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-78c754de.system.entry.js} +1 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-7eb0573c.entry.js} +1 -1
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-867b2baf.system.js} +1 -1
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/p-8d83c9bb.system.js +1 -0
- package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-906bb139.entry.js +1 -0
- package/dist/mint-components/p-916a2045.system.entry.js +1 -0
- package/dist/mint-components/p-92a54b0c.entry.js +1 -0
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/p-976ee669.js +1 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-97dc6863.js} +2 -2
- package/dist/mint-components/{p-284e4ed5.entry.js → p-9943f53e.entry.js} +1 -1
- package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-9ab8a0fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-3f7b81b8.js → p-9c79ab08.js} +2 -2
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9eba8408.js +1 -0
- package/dist/mint-components/p-a1b89894.system.entry.js +1 -0
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a4e8eb33.entry.js +1 -0
- package/dist/mint-components/{p-87c21535.entry.js → p-a52df294.entry.js} +1 -1
- package/dist/mint-components/p-a556ca55.system.entry.js +1 -0
- package/dist/mint-components/p-a597b136.entry.js +1 -0
- package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
- package/dist/mint-components/{p-faba3198.entry.js → p-a7ee19dc.entry.js} +1 -1
- package/dist/mint-components/p-a8c86cd8.system.entry.js +1 -0
- package/dist/mint-components/{p-4e526a94.js → p-aa596749.js} +1 -1
- package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-af69ee79.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-b2fdb0b1.entry.js} +1 -1
- package/dist/mint-components/p-b4a922e1.system.entry.js +1 -0
- package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-b6aac194.system.entry.js +1 -0
- package/dist/mint-components/p-bad50dc1.entry.js +1 -0
- package/dist/mint-components/{p-642b0650.system.js → p-bad99a2d.system.js} +21 -21
- package/dist/mint-components/p-bb4a71a7.entry.js +93 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-bb5d153f.system.js} +1 -1
- package/dist/mint-components/p-bcac83f0.system.js +1 -0
- package/dist/mint-components/p-bd093069.system.entry.js +1 -0
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/p-c210374a.system.js +1 -0
- package/dist/mint-components/{p-d6831af5.js → p-c30ad421.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/{p-1b7e6ee9.entry.js → p-c97d24a3.entry.js} +1 -1
- package/dist/mint-components/{p-605c2904.system.entry.js → p-cc8ca3ff.system.entry.js} +1 -1
- package/dist/mint-components/{p-aaff68dc.entry.js → p-d08bcd88.entry.js} +1 -1
- package/dist/mint-components/{p-a71b9154.system.js → p-d09d3b8f.system.js} +1 -1
- package/dist/mint-components/p-d14f3149.system.js +1 -0
- package/dist/mint-components/p-d399b343.system.entry.js +1 -0
- package/dist/mint-components/p-d848957e.system.entry.js +1 -0
- package/dist/mint-components/{p-17da19a2.system.js → p-d966d3ca.system.js} +1 -1
- package/dist/mint-components/p-db975ff3.entry.js +33 -0
- package/dist/mint-components/p-dcc50d90.entry.js +1 -0
- package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-2d52e2d7.system.js → p-e174b704.system.js} +1 -1
- package/dist/mint-components/p-e4c5e8ef.system.entry.js +1 -0
- package/dist/mint-components/{p-45bb63c7.system.entry.js → p-e56b445f.system.entry.js} +1 -1
- package/dist/mint-components/{p-ccf8c9aa.entry.js → p-ea063d99.entry.js} +1 -1
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/p-ee92a728.system.entry.js +1 -0
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/p-ef2188a8.system.entry.js +1 -0
- package/dist/mint-components/p-efeee55e.js +448 -0
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-f3392945.system.js} +1 -1
- package/dist/mint-components/p-f4202a64.system.entry.js +1 -0
- package/dist/mint-components/{p-3c96533f.js → p-f46f7f4b.js} +1 -1
- package/dist/mint-components/{p-4e451f75.js → p-f5fff87e.js} +1 -1
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f764e51f.entry.js +16 -0
- package/dist/mint-components/p-f8eb241c.js +1 -0
- package/dist/mint-components/{p-3af1ec4c.entry.js → p-f9295990.entry.js} +1 -1
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-59274a91.system.js → p-ff0e1564.system.js} +1 -1
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +45 -1
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +14 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +9 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +5 -5
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
- package/dist/types/components/sqm-portal-forgot-password/PortalForgotPassword.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +3 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +6 -5
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +8 -1
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -8
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
- package/dist/types/components/sqm-text/sqm-text.d.ts +1 -1
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -2
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
- 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 +16 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +47 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +718 -120
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +10 -2
- package/dist/types/insertfont.d.ts +1 -0
- package/dist/types/saasquatch.d.ts +142 -0
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -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/ErrorView-b2fcf954.js +0 -35
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
- package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
- package/dist/cjs/sqm-invoice-table-view-55066ec6.js +0 -2038
- package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
- package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password-view-b986086e.js +0 -45
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +0 -127
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
- package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
- package/dist/esm/ErrorView-48e2b969.js +0 -33
- package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
- package/dist/esm/sqm-asset-card.entry.js +0 -41
- package/dist/esm/sqm-invoice-table-view-fda573e4.js +0 -2022
- package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
- package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
- package/dist/esm/sqm-portal-forgot-password-view-50444a7c.js +0 -43
- package/dist/esm/sqm-portal-forgot-password.entry.js +0 -123
- package/dist/esm/sqm-referred-registration.entry.js +0 -174
- package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
- package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
- package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-3651cb42.js +0 -1
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +0 -1
- package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
- package/dist/esm-es5/index.module-89a79f66.js +0 -1
- package/dist/esm-es5/luxon-8d51c92b.js +0 -1
- package/dist/esm-es5/mixins-83f90fa1.js +0 -1
- package/dist/esm-es5/re-render-cc945f38.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-fda573e4.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
- package/dist/esm-es5/sqm-qr-code-view-10b8b4cb.js +0 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
- package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +0 -53
- package/dist/esm-es5/useChildElements-7945ae56.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +0 -1
- package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +0 -1
- package/dist/esm-es5/useReferralCodes-8f75921a.js +0 -1
- package/dist/esm-es5/useReferralTable-b3876ed6.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-d6f33135.js +0 -1
- package/dist/esm-es5/useVerificationEmail-edc318cb.js +0 -1
- package/dist/esm-es5/utilities-5b0ca040.js +0 -1
- package/dist/esm-es5/utils-334c1e34.js +0 -1
- package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
- package/dist/mint-components/p-04a6e457.entry.js +0 -1
- package/dist/mint-components/p-12536a1f.system.entry.js +0 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
- package/dist/mint-components/p-14a65f29.system.js +0 -1
- package/dist/mint-components/p-1513309d.entry.js +0 -1
- package/dist/mint-components/p-16dba1eb.system.js +0 -1
- package/dist/mint-components/p-18425f38.system.entry.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-1ae6c418.entry.js +0 -1
- package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
- package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
- package/dist/mint-components/p-217514ac.system.js +0 -1
- package/dist/mint-components/p-229f797b.js +0 -1
- package/dist/mint-components/p-24db5c70.js +0 -1
- package/dist/mint-components/p-275b4767.entry.js +0 -1
- package/dist/mint-components/p-2bbff88f.entry.js +0 -1
- package/dist/mint-components/p-2c7ebd5b.js +0 -1
- package/dist/mint-components/p-2dca9e1a.system.js +0 -1
- package/dist/mint-components/p-2e110002.system.js +0 -1
- package/dist/mint-components/p-320d3c31.entry.js +0 -205
- package/dist/mint-components/p-32dbde60.system.js +0 -1
- package/dist/mint-components/p-33c96e14.entry.js +0 -16
- package/dist/mint-components/p-38de17fa.system.js +0 -1
- package/dist/mint-components/p-38e5c429.system.js +0 -1
- package/dist/mint-components/p-38fc919b.entry.js +0 -1
- package/dist/mint-components/p-3a62a7e2.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-42187319.system.entry.js +0 -1
- package/dist/mint-components/p-4428294b.entry.js +0 -1
- package/dist/mint-components/p-48135f99.system.js +0 -53
- package/dist/mint-components/p-49206a9c.entry.js +0 -1
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-52858682.system.js +0 -1
- package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
- package/dist/mint-components/p-6055eb4c.system.js +0 -1
- package/dist/mint-components/p-60e72631.entry.js +0 -9
- package/dist/mint-components/p-6333265f.system.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-65ba9e94.entry.js +0 -1
- package/dist/mint-components/p-6b7a595f.system.js +0 -1
- package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
- package/dist/mint-components/p-6d8f7c71.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-70c8fea5.system.entry.js +0 -1
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- package/dist/mint-components/p-776260e8.js +0 -1248
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-7cbec088.system.entry.js +0 -1
- package/dist/mint-components/p-7e3a84bc.js +0 -1
- package/dist/mint-components/p-7e3d84a3.entry.js +0 -13
- package/dist/mint-components/p-802b9f7e.entry.js +0 -1
- package/dist/mint-components/p-8053366e.system.entry.js +0 -1
- package/dist/mint-components/p-8119a65e.system.entry.js +0 -1
- package/dist/mint-components/p-82d04fd3.entry.js +0 -25
- package/dist/mint-components/p-868daffd.system.entry.js +0 -1
- package/dist/mint-components/p-893d7ab4.js +0 -1
- package/dist/mint-components/p-8ab87bd4.entry.js +0 -144
- package/dist/mint-components/p-8abfeff8.entry.js +0 -1
- package/dist/mint-components/p-8c23d1b8.js +0 -1
- package/dist/mint-components/p-8c494bf1.js +0 -1
- package/dist/mint-components/p-8d9328dd.entry.js +0 -33
- package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
- package/dist/mint-components/p-91521e9d.js +0 -1
- package/dist/mint-components/p-92816d1f.js +0 -1
- package/dist/mint-components/p-94a876b9.js +0 -1
- package/dist/mint-components/p-9617685e.system.entry.js +0 -1
- package/dist/mint-components/p-97d4d651.system.js +0 -1
- package/dist/mint-components/p-98698131.js +0 -1
- package/dist/mint-components/p-9abb9ab0.entry.js +0 -13
- package/dist/mint-components/p-9acb5038.js +0 -1
- package/dist/mint-components/p-9b2e60ce.entry.js +0 -258
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-a6ca754f.js +0 -394
- package/dist/mint-components/p-afbb3f73.entry.js +0 -1
- package/dist/mint-components/p-b12e132b.system.entry.js +0 -1
- package/dist/mint-components/p-b7d1469d.system.entry.js +0 -1
- package/dist/mint-components/p-bd2a2546.system.js +0 -1
- package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-ccb5699b.js +0 -1
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-da7708a7.entry.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-dce51a2e.system.entry.js +0 -1
- package/dist/mint-components/p-df89186f.system.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-eab1c9f3.js +0 -1
- package/dist/mint-components/p-ee06426a.system.js +0 -1
- package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
- package/dist/mint-components/p-f26aedcd.system.js +0 -1
- package/dist/mint-components/p-f708da7b.js +0 -1
- package/dist/mint-components/p-f9da2c34.system.entry.js +0 -1
- package/dist/mint-components/p-fd0a013f.entry.js +0 -1
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
- /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,e,h as o,g as n}from"./p-
|
|
1
|
+
import{r as t,e,h as o,g as n}from"./p-c7c11325.js";import{k as s,f as i,n as c}from"./p-63e29387.js";import{g as l,i as r}from"./p-0ec54f97.js";const u=class{constructor(o){t(this,o),this.initComplete=e(this,"initComplete",7),this.googleButtonDiv=null,c(this)}disconnectedCallback(){}connectedCallback(){if(!document.head.querySelector('script[src="https://accounts.google.com/gsi/client"]')){const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client",t.async=!0,document.head.appendChild(t)}}render(){const{setGoogleButtonDiv:t}=r()?function(t){const[e,o]=s(!1),[n,c]=s(null);return i((()=>{const t=()=>{window.onGoogleLibraryLoad=null,o(!0)};window.google&&t(),window.onGoogleLibraryLoad=t}),[]),i((()=>{if(!n||!e)return;google.accounts.id.initialize({client_id:"PLACEHOLDER",cb:()=>{}}),google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,click_listener:()=>{t.initComplete.emit({credential:null})}})}),[n,e]),{setGoogleButtonDiv:c}}(this):function(t){const[e,o]=s(!1),[n,c]=s(null),[r,u]=s(400);let g=null;const a=()=>{n&&u(n.clientWidth)};return i((()=>{if(!n)return;const t=new ResizeObserver((()=>{g&&clearTimeout(g),g=setTimeout((()=>{a()}),50)}));return t.observe(n),a(),()=>t.disconnect()}),[n]),i((()=>{const e=()=>{window.onGoogleLibraryLoad=null;const e=l();"SquatchPortal"===e.type&&(google.accounts.id.initialize({client_id:e.env.googleOAuthId,callback:e=>{t.initComplete.emit(e)}}),o(!0))};window.google&&e(),window.onGoogleLibraryLoad=e}),[]),i((()=>{n&&e&&google.accounts.id.renderButton(n,{theme:"outline",size:"large",text:t.text,height:40,width:r})}),[n,e,r]),{setGoogleButtonDiv:c}}(this);return o("div",{ref:t,style:{width:"100%"}})}get el(){return n(this)}};export{u as sqm_google_sign_in}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{h as t,F as e,r as a}from"./p-c7c11325.js";import{i as n}from"./p-26067d70.js";import{n as s,k as o}from"./p-63e29387.js";import{F as r,i,d as l,H as c,J as d,B as u,w as p,$ as g}from"./p-0ec54f97.js";import{c as m}from"./p-c1086930.js";import{g as f}from"./p-6951663b.js";import{c as h}from"./p-cef45012.js";import{R as v,a as x,S as y,u as b}from"./p-9c79ab08.js";import"./p-49b20dae.js";import{C}from"./p-45c3ff6d.js";const T=h({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),P=T.toString();function j(a){const{states:n,callbacks:s,text:o,buttonType:r}=a,{onNext:i,onPrev:l}=s,{currentPage:c,totalPages:d,loading:u}=n;return 1===d?t(e,null):t("span",{class:T.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},P),!u&&t(e,null,t("sl-button",{exportparts:`base: ${r}button-base`,onClick:l,part:"sqm-pagination-button",circle:!0,disabled:1===c},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:T.classes.TextContainer},o.paginationText)),t("sl-button",{exportparts:`base: ${r}button-base`,onClick:i,part:"sqm-pagination-button",circle:!0,disabled:c===d},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const k=class{constructor(t){a(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",this.buttonType="secondary",s(this)}disconnectedCallback(){}render(){const e=i()?function(t){const[e,a]=o(1);return m({states:{currentPage:e,totalPages:5,loading:!1},buttonType:t.buttonType,callbacks:{onNext:()=>a(e+1),onPrev:()=>a(e-1)},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:e,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(f(this)):function(t){var e;const a=r(v),s=a.states.currentPage+1,o=null===(e=a.states)||void 0===e?void 0:e.pageCount;return{states:{currentPage:s,totalPages:o,loading:a.states.loading},callbacks:{onNext:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)-1)}},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:s,totalPages:o})}}}(f(this));return t(j,Object.assign({},e))}},E=l.gql`
|
|
2
|
+
query getReferralCode($programId: ID) {
|
|
3
|
+
user: viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
referralCode(programId: $programId)
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`,I=l.gql`
|
|
10
|
+
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
11
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
12
|
+
}
|
|
13
|
+
`,w=class{constructor(t){a(this,t),this.tooltiptext="Copied to Clipboard",this.showNotificationText=!1,this.notificationText="You've copied this code before",this.tooltiplifespan=1e3,this.textAlign="left",this.copyButtonLabel="Copy Code",this.buttonStyle="icon",this.buttonType="primary",s(this)}disconnectedCallback(){}render(){const e=f(this),a=i()?function(t){const[e,a]=o(!1),n="REFERRALCODE001";return m({copyString:n,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,borderColor:t.borderColor,backgroundColor:t.backgroundColor,textColor:t.textColor,borderRadius:t.borderRadius,buttonType:t.buttonType,isUsed:!1,rewardStatus:"AVAILABLE",open:e,onClick:()=>{navigator.clipboard.writeText(n),a(!0),setTimeout((()=>a(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):function(t){var e,a;const{programId:n=c()}=t,s=d(),i=u(),l=r(x),{data:m}=p(E,{programId:n},!(null==s?void 0:s.jwt)||void 0!==(null==l?void 0:l.referralCode)),[f]=g(I),[h]=g(y),v=null!==(a=(null==l?void 0:l.referralCode)||(null===(e=null==m?void 0:m.user)||void 0===e?void 0:e.referralCode))&&void 0!==a?a:"...",[b,C]=o(!1);return{...t,onClick:async function(){l&&(await h({referralCode:l.referralCode}),l.refresh()),navigator.clipboard.writeText(v),C(!0),setTimeout((()=>C(!1)),t.tooltiplifespan),f({eventMeta:{programId:n,id:null==s?void 0:s.id,accountId:null==s?void 0:s.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:i,shareMedium:"DIRECT"}}})},open:b,copyString:v,isCopied:null==l?void 0:l.isCopied,showNotificationText:t.showNotificationText&&!!(null==l?void 0:l.singleUse)}}(e);return t(C,Object.assign({},a))}};function M(e){const{slots:a,titleText:n,states:s,textColor:o="var(--sqm-text-subdued)"}=e,r=h({Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)",color:o},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{fontSize:"var(--sl-font-size-large)",margin:"0"}}),i=r.toString();return t("div",{class:r.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n :host {\n display: block;\n }\n :host([hidden]): {\n display: none;\n }\n ",i),t("div",{class:r.classes.HeaderContainer},t("h2",{class:r.classes.TitleText},n),!s.noCodes&&!s.loading&&a.pagination),(e=>e.noCodes?a.empty:e.loading?a.loading:t("div",{class:r.classes.Wrapper},t("div",{class:r.classes.ShareCodeContainer},a.shareCodes),t("div",{class:r.classes.ShareButtonContainer},a.shareButtons)))(s))}const R=class{constructor(t){a(this,t),this.titleText="Start sharing",this.emptyStateHeaderText="Your new codes and links aren’t ready yet",this.emptyStateDescriptionText="Please contact our program support team to let them know you’re out of codes.",this.emptyStateImageUrl="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",s(this)}disconnectedCallback(){}render(){const e=f(this),a=i()?function(t){return m({titleText:t.titleText,textColor:t.textColor,states:{noCodes:!1,loading:!1}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):b(e),n={slots:{shareButtons:t("slot",{name:"shareButtons"}),shareCodes:t("slot",{name:"shareCodes"}),pagination:t("slot",{name:"pagination"}),empty:t(S,{headerText:this.emptyStateHeaderText,descriptionText:this.emptyStateDescriptionText,imageUrl:this.emptyStateImageUrl}),loading:t(q,null)},...a,loading:a.states.loading,noCodes:a.states.noCodes};return t(M,Object.assign({},n))}};function S({headerText:e,descriptionText:a,imageUrl:n}){return t("slot",{name:"empty"},t("sqm-empty",{emptyStateHeader:e,emptyStateText:a,emptyStateImage:n}))}function q(){return t("slot",{name:"loading"},t(A,null),t(A,null),t(A,null),t(A,null))}function A(){return t("sl-skeleton",{style:{width:"100%"}})}export{k as sqm_pagination,w as sqm_referral_code,R as sqm_referral_codes}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-c7c11325.js";import{c as s}from"./p-cef45012.js";import{A as r,a as e}from"./p-49b20dae.js";import{T as a}from"./p-204861a6.js";const o=s({Wrapper:r,Column:e,ContinueButton:{width:"100%"}}),p=o.toString();function n(s){const{states:r,data:e,callbacks:n,content:i}=s;if(!r.loading)return r.success?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{exportparts:"success-icon"},t("div",{part:"successalert-text"},i.verifySuccessText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.gotoNextPage,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):r.error||!e.oobCode?t("div",{class:o.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},p),t(a,{type:"h3"},i.verifyEmailText),t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},i.verifyInvalidText)),t("sl-button",{class:o.classes.ContinueButton,onClick:n.failed,disabled:r.loading,exportparts:"base: primarybutton-base",type:"primary"},i.continueText)):void 0}export{n as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,c as r,r as t}from"./p-c7c11325.js";import{n as o}from"./p-63e29387.js";import"./p-0ec54f97.js";import{a as c}from"./p-f5fff87e.js";const a=({},t)=>s(r,null,t),l=class{constructor(s){t(this,s),o(this)}disconnectedCallback(){}render(){return c([this.header]),s(a,null,s("slot",null))}};export{l as sqm_tab}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-1a673057.system.js"],(function(e){"use strict";var t,r;return{setters:[function(e){t=e.h},function(e){r=e.c}],execute:function(){e("Q",o);var n=function(e){return t("sqm-form-message",{type:"error"},t("p",{part:"alert-title"},e.loadingErrorAlertHeader),t("p",{part:"alert-description"},e.loadingErrorAlertDescription))};var i={DialogContainer:{maxWidth:"390px !important"},Container:{width:"100%",display:"flex",flexDirection:"row",gap:"var(--sl-spacing-small)"},TextContainer:{display:"flex",gap:"var(--sl-spacing-medium)",flexDirection:"column",alignItems:"center"},ButtonContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},FooterContainer:{textAlign:"left",display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)"},CodeContainer:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center"},Code:{width:"100%",height:"100%",maxWidth:"335px"},LoadingSkeleton:{"&::part(indicator)":{borderRadius:"0px !important"}}};var a=r(i);var s=a.toString();var l="\n :host{\n display: flex;\n width: 100%;\n }\n @media (max-width: 499px) {\n :host{\n display: block;\n }\n\n }";function o(e){var r=e.error,i=e.qrLink,o=e.titleText,d=e.downloadCodeText,p=e.printCodeText,c=e.errorHeaderText,m=e.errorDescriptionText,u=e.createDownloadable,x=e.createPrintable,g=e.hideTitle,f=e.alignment,h=e.loading;var y=f==="left"?"flex-start":f==="right"?"flex-end":"center";var v=function(e,r,i){if(e){return t(n,{loadingErrorAlertDescription:c,loadingErrorAlertHeader:m})}else if(i){return t("sl-skeleton",{className:a.classes.LoadingSkeleton,effect:"sheen",style:{width:"100px",height:"100px",borderRadius:"0px !important"}})}else if(r){return t("svg",{width:"100",height:"100"},t("image",{href:r,width:"100",height:"100"}))}return null};var C=v(r,i,h);return t("div",{class:a.classes.Container,style:{justifyContent:y},part:"sqm-base"},t("style",null,l),t("style",null,s),t("div",{class:a.classes.TextContainer,style:{alignItems:y}},!g&&t("span",{part:"sqm-title"},o),C,t("div",{class:a.classes.ButtonContainer},t("sl-button",{size:"small",exportparts:"base: primarybutton-base",type:"primary",onClick:u},d),t("sl-button",{size:"small",exportparts:"base: secondarybutton-base",type:"text",onClick:x},p))))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-bb5d153f.system.js"],(function(t){"use strict";var n,e,s,r,u;return{setters:[function(t){n=t.h;e=t.c;s=t.r},function(t){r=t.n},function(){},function(t){u=t.a}],execute:function(){var c=function(t,s){return n(e,null,s)};var i=t("sqm_tab",function(){function t(t){s(this,t);r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){u([this.header]);return n(c,null,n("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-bad99a2d.system.js","./p-1a673057.system.js","./p-67ad2252.system.js"],(function(e){"use strict";var t,s,a,i;return{setters:[function(e){t=e.h},function(e){s=e.i},function(e){a=e.c},function(e){i=e.T}],execute:function(){e("P",l);function l(e){var l,r,n,o,d;var u=e.states,m=e.callbacks;var p=u.text,c=u.formState;var v=c.errors,b=c.error;var x={Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}};var f=a(x);var g=f.toString();var y=((l=u.user)===null||l===void 0?void 0:l.countryCode)?s.formatDisplayName((r=u.user)===null||r===void 0?void 0:r.countryCode,{type:"region"}):"";return t("div",{class:f.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},g),t(i,Object.assign({},{type:"h1"}),p.editProfileHeader),t(i,Object.assign({},{type:"h2"}),p.editProfileSubHeader),t("form",{class:f.classes.FormStyle,onSubmit:m.onSubmit},u.success&&t("sqm-form-message",{class:f.classes.Success,exportparts:"success-icon"},t("div",{part:"successalert-text"},p.submissionSuccessText)),b&&t("sqm-form-message",{class:f.classes.Error,type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},b)),t("div",{class:f.classes.NameInputContainer},t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(n=u.user)===null||n===void 0?void 0:n.firstName,onInput:m.onChange,label:p.firstnametext,disabled:u.loading},(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{id:"firstName",name:"firstName",error:(v===null||v===void 0?void 0:v.firstName)&&(v===null||v===void 0?void 0:v.firstName.status)!=="valid"?v===null||v===void 0?void 0:v.firstName.message:undefined})),t("sl-input",Object.assign({class:f.classes.NameInputStyle,exportparts:"label: input-label, base: input-base",value:(o=u.user)===null||o===void 0?void 0:o.lastName,onInput:m.onChange,label:p.lastnametext,disabled:u.loading,id:"lastName",name:"lastName"},(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?{class:"ErrorStyles",helpText:p.fieldEmptyText}:[],{error:(v===null||v===void 0?void 0:v.lastName)&&(v===null||v===void 0?void 0:v.lastName.status)!=="valid"?v===null||v===void 0?void 0:v.lastName.message:undefined}))),t("sl-input",{label:p.emailtext,value:(d=u.user)===null||d===void 0?void 0:d.email,exportparts:"label: input-label, base: input-base",disabled:true}),u.showCountry&&t("sl-input",{label:p.countrytext,value:y,exportparts:"label: input-label, base: input-base",disabled:true}),t("sl-button",{type:"primary",exportparts:"base: primarybutton-base",loading:u.loading,disabled:u.submitDisabled,onClick:function(e){m.onSubmit(e)},submit:true},p.submitChangeButtonText)))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as n,c as s}from"./p-
|
|
1
|
+
import{r,h as n,c as s}from"./p-c7c11325.js";const e=class{constructor(n){r(this,n)}async renderCell(){return n("span",null)}async renderLabel(r){return n("slot",{name:`column-${r}`})}render(){return n(s,null)}};export{e as raisins_plop_target}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,c as s}from"./p-c7c11325.js";import{i as n}from"./p-26067d70.js";import{n as a}from"./p-63e29387.js";import"./p-0ec54f97.js";import{g as i}from"./p-6951663b.js";import"./p-cef45012.js";import{P as r,a as o}from"./p-9580aac3.js";function l(e){const{emptyStateHeader:s,emptyStateImage:a,emptyStateText:i,supportText:r,missingFeature:o=""}=e;return t("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},t("img",{style:{height:"100px",margin:"auto"},src:a}),t("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},t("sqm-text",{slot:"label"},t("p",{part:"header-text"},s)),t("sqm-text",{slot:"content"},t("p",{part:"description-text"},n.formatMessage({id:"emptyStateText",defaultMessage:i},{supportText:t("a",{target:"_blank",href:`mailto:saasquatch-support@impact.com?subject=Next steps for ${o} feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the ${o} feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: ${o}%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you`},r)})))))}const m=class{constructor(t){e(this,t),this.emptyStateImage="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png"}render(){return t(s,{slot:"empty"},t(l,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))}},h=class{constructor(t){e(this,t),this.ignored=!0,this.direction="column",this.gap="xxx-large",this.display="grid",this.maxWidth="100%",this.flexWrap="wrap",a(this)}disconnectedCallback(){}render(){return t(r,Object.assign({},i(this)),t("slot",null))}},p=class{constructor(t){e(this,t),this.ignored=!0,a(this)}disconnectedCallback(){}componentWillLoad(){}render(){return t("div",null,t("style",null,`\n sqm-text {\n display: block;\n color: ${this.textColor||"var(--sqm-text)"};\n }\n\n sqm-text h1 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xxx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-x-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-large)"};\n font-weight: var(--sl-font-weight-bold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text p {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-medium)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text sub {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-small)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n `),t("slot",null))}},c=class{constructor(t){e(this,t),this.textAlign="left",this.labelMargin="small",this.padding="none",a(this)}disconnectedCallback(){}render(){const e=t("slot",{name:"label"},this.label),s=t("slot",{name:"content"});return t(o,Object.assign({},{...i(this),label:e,content:s}))}};export{m as sqm_empty,h as sqm_portal_container,p as sqm_text,c as sqm_titled_section}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?e(t.value):o(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?e(t.value):o(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.c}],execute:function(){var o=t("raisins_plop_target",function(){function t(t){n(this,t)}t.prototype.renderCell=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,e("span",null)]}))}))};t.prototype.renderLabel=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,e("slot",{name:"column-"+t})]}))}))};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-6c82d60c.system.js","./p-be88596c.system.js","./p-b6911812.system.js","./p-9d362d44.system.js","./p-537a3894.system.js"],(function(e){"use strict";var t,r,n,a,i,s,o,l,u,c,d,f,h;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;a=e.n},function(e){i=e.i;s=e.j},function(e){o=e.j},function(e){l=e.c},function(e){u=e.c},function(){},function(){},function(e){c=e.a},function(e){d=e.B},function(e){f=e.P},function(){},function(e){h=e.u}],execute:function(){var m=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);m.prototype.name="InvalidTokenError";function g(e){return decodeURIComponent(atob(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function p(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return g(t)}catch(e){return atob(t)}}function b(e,t){if(typeof e!=="string"){throw new m("Invalid token specified: must be a string")}t||(t={});var r=t.header===true?0:1;var n=e.split(".")[r];if(typeof n!=="string"){throw new m("Invalid token specified: missing part #"+(r+1))}var a;try{a=p(n)}catch(e){throw new m("Invalid token specified: invalid base64 for part #"+(r+1)+" ("+e.message+")")}try{return JSON.parse(a)}catch(e){throw new m("Invalid token specified: invalid json for part #"+(r+1)+" ("+e.message+")")}}function v(e){var t=this;var r=n(null),a=r[0],i=r[1];var s=c(),l=s[0],u=s[1];var d=n({mode:"base"}),f=d[0],h=d[1];var m=function(r){return __awaiter(t,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(s){t=r.target.getFormControls();n={};a=null;t.forEach((function(t){if(!t.name||t.name!=="/email")return;o.set(n,t.name,t.value);if(t.required&&!t.value)a=e.requiredFieldErrorMessage;if(typeof t.validationError==="function"){var r=t.validationError;var i=r({control:t,key:"email",value:t.value});if(i)a=i}}));if(a){i(a);return[2]}u(__assign(__assign({},l),{initialData:__assign(__assign({},l===null||l===void 0?void 0:l.initialData),n)}));h({mode:"manual"});return[2]}))}))};var g=function(e){var t;if(!((t=e.detail)===null||t===void 0?void 0:t.credential))return;try{var r=b(e.detail.credential);u(__assign(__assign({},l),{_googleOAuthIdToken:e.detail.credential,initialData:{email:r.email,firstName:r.given_name,lastName:r.family_name}}));h({mode:"google"})}catch(e){console.error("Failed to decode Google Sign In credential JWT:",e)}};return{showRegistrationForm:f,emailValidationError:a,handleGoogleInit:g,handleEmailSubmit:m}}var _=e("sqm_portal_google_registration_form",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.disablePasswordValidation=false;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.loginCTA="Already have an account?";this.requiredFieldErrorMessage="Cannot be empty";this.networkErrorMessage="Network request failed.";this.passwordMismatchErrorMessage="Passwords do not match.";this.invalidEmailErrorMessage="Must be a valid email address";this.formDisabledErrorMessage="The registration form is currently disabled.";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.googleButtonText="signup_with";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=i()?w(this):h(this),t=e.states,n=e.callbacks,a=e.refs;var o={LoginButton:{"&::part(label)":{padding:"0"}}};var l=u(o);var c=l.toString();var m=i()?y(this):v(this),g=m.handleGoogleInit,p=m.handleEmailSubmit,b=m.showRegistrationForm,_=m.emailValidationError;var E={formData:r("slot",{name:"formData"}),googleButton:r("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:g}),secondaryButton:r("slot",{name:"secondaryButton"},r("style",null,c),r("span",null,this.loginCTA," ",r("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)},className:l.classes.LoginButton},this.loginLabel)," ")),terms:r("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel,networkErrorMessage:this.networkErrorMessage,passwordMismatchErrorMessage:this.passwordMismatchErrorMessage,invalidEmailErrorMessage:this.invalidEmailErrorMessage,formDisabledErrorMessage:this.formDisabledErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,meetsRequirementsText:this.meetsRequirementsText,doesNotMeetRequirementsText:this.doesNotMeetRequirementsText,minErrorText:this.minErrorText,uppercaseErrorText:this.uppercaseErrorText,lowercaseErrorText:this.lowercaseErrorText,hasErrorText:this.hasErrorText};if(b.mode==="base"){return r(d,{states:{error:_},callbacks:{handleEmailSubmit:p},content:E})}return r(f,{states:__assign(__assign({},t),{emailDisabled:true,hidePasswords:b.mode==="google"}),callbacks:n,content:__assign({},E),refs:a})};return e}());function w(e){var t=this;return l({states:{error:"",loading:false,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{handleGoogleInit:function(){},setShowRegistrationForm:function(){},submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}function y(e){var t=n({mode:"base"}),r=t[0],a=t[1];return l({emailValidationError:true,handleEmailSubmit:function(){return a({mode:"manual"})},showRegistrationForm:r,handleGoogleInit:function(){return a({mode:"google"})}},e.demoGoogleData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-c7c11325.js";import{c as o}from"./p-cef45012.js";import{H as r}from"./p-49b20dae.js";const n={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};function i(i){const{buttonStyle:s="icon"}=i,l=o({HostBlock:r,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:i.textColor||"var(--sl-input-color)"},"&::part(base)":{"--sl-input-border-radius":`${i.borderRadius}px`||"var(--sqm-border-radius-normal)","--sl-input-border-color":"var(--sqm-border-color)","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-input-background)","--sl-input-background-color-hover":"var(--sqm-input-background)",cursor:"pointer",overflow:"visible",borderRadius:`${i.borderRadius}px`||"var(--sqm-border-radius-normal)",background:i.backgroundColor||"var(--sqm-input-background)",border:`var(--sqm-border-thickness) solid ${i.borderColor||"var(--sqm-input-border-color)"}`},width:"100%"},icon:{"&::part(base)":{color:i.textColor||"var(--sqm-text)"}},inputErrorStyle:{},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}}),e=l.toString(),a=!i.loading&&i.error,c=a?i.inputPlaceholderText:i.copyString,u=a||i.loading||i.disabled,p=t("sl-tooltip",{trigger:"manual",content:i.tooltiptext,placement:"button-below"===i.buttonStyle?"bottom":"button-outside"===i.buttonStyle?"top":"top-end",disabled:i.disabled,open:i.open,skidding:"icon"===i.buttonStyle?-5:0,slot:"suffix"},"icon"===s?t("sl-icon-button",{class:l.classes.icon,exportparts:"base: icon-button-base",onClick:()=>{var t;return null===(t=i.onClick)||void 0===t?void 0:t.call(i)},name:"files",disabled:u}):t("sl-button",{exportparts:`base: ${i.buttonType||"primary"}button-base`,onClick:()=>{var t;return null===(t=i.onClick)||void 0===t?void 0:t.call(i)},size:"medium",style:{width:`${"button-below"===s&&"100%"}`},disabled:u,type:"primary"},i.copyButtonLabel||"Copy"));return t("div",{class:l.classes.ContainerDiv},t("style",{type:"text/css"},e,"\n :host{\n display: block; \n width: 100%;\n }\n",n[i.textAlign],u&&"\n sl-input::part(input){\n cursor: default;\n }\n"),t("div",{class:l.classes.containerStyle,style:{flexDirection:"button-below"===s?"column":"row"}},t("sl-input",{class:`${l.classes.inputStyle} ${a?l.classes.inputErrorStyle:""}`,value:i.loading?"Loading...":c,readonly:!0,disabled:u},"icon"===s&&p,a&&t("p",{slot:"help-text",class:l.classes.errorTextStyle},i.errorText)),("button-outside"===s||"button-below"===s)&&p),i.isCopied&&i.showNotificationText&&i.notificationText&&t("p",{part:"sqm-notification-text",class:l.classes.notificationTextStyle},i.notificationText))}export{i as C}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./p-
|
|
1
|
+
import{l as e}from"./p-08700497.js";const t=(e=4,t)=>({data:[...Array(e)].map((()=>s(t)))}),a=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var t,a;const d=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const t=Math.floor(10*Math.random());return E[t]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=t=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=t||r[Math.floor(5*Math.random())],m=a[M],y=d[M],p=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*p),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*p),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const N=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:p,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${p} ${y}`,prettyValueNumber:`${p}`,prettyAvailableNumber:R?"0":""+(p-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===N?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===N?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${p} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${p-o} ${y}`,exchangedRewardRedemptionTransaction:2===N?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,t as m}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e}from"./p-
|
|
1
|
+
import{h as e}from"./p-c7c11325.js";import{b as a,j as r,f as t}from"./p-63e29387.js";import{d,J as l,H as o,L as n,w as s,R as i}from"./p-0ec54f97.js";import{u}from"./p-f5fff87e.js";import{u as c}from"./p-976ee669.js";const m=a("sq:useReferralTable"),f=d.gql`
|
|
2
2
|
query getReferrals(
|
|
3
3
|
$programId: ID
|
|
4
4
|
$rewardFilter: RewardFilterInput
|
|
@@ -230,4 +230,4 @@ import{h as e}from"./p-f708da7b.js";import{b as a,j as r,f as t}from"./p-cd651f8
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
`;function v(a,d,m){var v,w,R,h;const C=l(),
|
|
233
|
+
`;function v(a,d,m){var v,w,R,h;const C=l(),I=o(),F=null!==(v=a.programId)&&void 0!==v?v:I,b=F?"classic"===F?{programId_exists:!1}:{programId_eq:F}:{},T={userId_eq:null==C?void 0:C.id,accountId_eq:null==C?void 0:C.accountId},[$,S]=r(((e,a)=>({...e,...a})),{columns:[],rows:[],loading:!1,page:0}),k=n(),{data:x,loading:M}=s(f,{programId:"classic"===F?null:F,rewardFilter:T,locale:k},!a.showReferrer||!(null==C?void 0:C.jwt)),E=null===(w=null==x?void 0:x.viewer)||void 0===w?void 0:w.referredByReferral,P=a.showReferrer&&!!(null==E?void 0:E.dateReferralStarted),{data:q,loading:U}=s(g,{},!(null==C?void 0:C.jwt)),D=null===(R=null==q?void 0:q.viewer)||void 0===R?void 0:R.impactConnection,{envelope:N,states:_,callbacks:j}=i(p,(e=>{var a;return null===(a=null==e?void 0:e.viewer)||void 0===a?void 0:a.referrals}),{limit:a.perPage,offset:0},{referralFilter:b,rewardFilter:T,locale:k},a.showReferrer&&M&&!x||!(null==C?void 0:C.jwt));t((()=>{0===_.currentPage&&P&&j.setLimit(a.perPage-1)}),[P]),t((()=>{a.showReferrer&&P?(j.setLimit(a.perPage-1),j.setCurrentPage(0)):(j.setLimit(a.perPage),j.setCurrentPage(0))}),[a.showReferrer]);const K=u(),L=null==N?void 0:N.data,V=c();t((()=>{S({loading:!0}),N&&async function(a){const r=a.filter((e=>"loading"!==e.slot&&"empty"!==e.slot)),t=null==r?void 0:r.map((async e=>y(e,(()=>e.renderLabel()))));let d;if(P&&0===_.currentPage){const a=null==r?void 0:r.map((async a=>y(a,(()=>a.renderReferrerCell(E,k,e)))));d=await Promise.all(a)}const l=null==L?void 0:L.map((async a=>{const t=null==r?void 0:r.map((async r=>y(r,(()=>r.renderCell(a,{locale:k,taxConnection:D},e)))));return await Promise.all(t)})),o=l&&[d,...await Promise.all(l)].filter((e=>e));S({rows:o});const n=t&&await Promise.all(t);S({columns:n,loading:!1,page:_.currentPage})}(V)}),[N,V,K]);const B=!(null===(h=null==$?void 0:$.rows)||void 0===h?void 0:h.length)&&!(null==L?void 0:L.length);return{states:{hasNext:_.currentPage<_.pageCount-1,hasPrev:_.currentPage>0,show:_.loading||$.loading||U?"loading":B?"empty":"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!a.hideLabels,prevLabel:a.prevLabel,moreLabel:a.moreLabel},hiddenColumns:a.hiddenColumns,smBreakpoint:a.smBreakpoint,mdBreakpoint:a.mdBreakpoint},elements:{columns:$.columns,rows:$.rows,emptyElement:d,loadingElement:m},callbacks:{nextPage:()=>{0===_.currentPage&&P&&j.setLimit(a.perPage),j.setCurrentPage(_.currentPage+1)},prevPage:()=>{1===_.currentPage&&P&&j.setLimit(a.perPage-1),j.setCurrentPage(_.currentPage-1)}}}}function w(e){try{return JSON.stringify(e)}catch(e){return"An unknown error"}}async function y(a,r){const t=a.tagName.toLowerCase();let d;await customElements.whenDefined(t);try{d=r()}catch(a){return"renderReferrerCell"===r.name?m("column does not have a renderReferrerCell method."):m("label promise failed",a),m("label promise failed",a),e("span",null)}try{return await d}catch(a){m("Error rendering label",a);const r=w(a);return e("details",null,e("summary",null,"Error"),r)}}export{w as g,y as t,v as u}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const r=r=>"row"===r.direction?{"& > :not(:last-child)":{"margin-right":r.size}}:{"& > :not(:last-child)":{"margin-bottom":r.size}},o={":host":{display:"block"},":host([hidden])":{display:"none"}},a={display:"flex","flex-direction":"column"},i={"&::part(base)":{background:"var(--sl-color-danger-10)",borderColor:"var(--sl-color-danger-500)",outline:"var(--sl-color-danger-500)"},"&:host":{"--something-random":"red","--focus-ring":"0 0 0 var(--sl-focus-ring-width) red !important"},"&::part(input)":{color:"var(--sl-color-danger-500) !important","&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active":{boxShadow:"0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important","-webkit-text-fill-color":"var(--sl-color-danger-500)"}},"&::part(help-text)":{color:"var(--sl-color-danger-500)"}},l={margin:"auto",boxSizing:"border-box",width:"100%",maxWidth:"var(--sqm-content-max-width)",height:"auto",display:"flex",padding:"var(--sl-spacing-xxx-large)",background:"var(--sqm-portal-background)",border:"var(--sqm-border-thickness) solid var(--sqm-border-color)",borderRadius:"var(--sqm-border-radius-normal)",maxWidth:"500px",...a,...r({direction:"column",size:"var(--sl-spacing-x-large)"})},t={...a,"& > *:not(style, div, slot)":{display:"block"},...r({direction:"column",size:"var(--sl-spacing-large)"})},e={"padding-top":"var(--sl-spacing-medium)",display:"flex","flex-direction":"column",width:"100%","&>*":{width:"100%"},...r({direction:"column",size:"var(--sl-spacing-x-large)"}),"& > div":{"text-align":"center"}};export{l as A,i as E,o as H,t as a,e as b,r as g}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var s=arguments[t],i=0,a=s.length;i<a;i++,o++)r[o]=s[i];return r};System.register(["./p-59b028db.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.g;n=e.a;r=e.f}],execute:function(){e({c:i,e:s,g:a,h:ve,i:ne,l:te,n:se,o:re,y:ge});var o=e("a",typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{});function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function i(e,t,n){return n={path:t,exports:{},require:function(e,t){return u()}},e(n,n.exports),n.exports}function a(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:true});Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:true,get:function(){return e[n]}})}));return t}function u(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}var l=e("s",function(){function e(e){var t=this,n=this;this._status="Initial",this.onChange=function(e,t){n.options.onChange&&n.options.onChange(e,t)},this.onConnect=function(e){try{return t.status="Connected",t.options.onChange&&t.options.onChange(e,e),Promise.resolve(new Promise((function(e){t.resolvePromise=e})))}catch(e){return Promise.reject(e)}},this.onDisconnect=function(){n.status="Connecting",n.start()},this.options=e}var t=e.prototype;return t.start=function(){var e=this,t=0;this.status="Connecting";var n=function(){return e.status},r=h(this.options.attempts)||10,o=function(){if("Connected"!==n()){var o=new CustomEvent(e.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:e.onConnect,onChange:e.onChange,onDisconnect:e.onDisconnect}});h(e.options.element).dispatchEvent(o),"Connected"!==n()?++t>=r&&(e._interval&&clearInterval(e._interval),e.status="Timeout"):"Connected"===n()&&e._interval&&clearInterval(e._interval)}};return(h(this.options.pollingMs)||100)>0&&r>1&&(this._interval=setInterval(o,h(this.options.pollingMs)||100)),o(),this},t.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},f(e,[{key:"status",set:function(e){this._status=e,this.options.onStatus&&this.options.onStatus(e)},get:function(){return this._status}}]),e}()),d=e("d",function(){function e(e){var t=this;this.__listeners=[],this.connectListener=function(e){try{e.stopPropagation(),t.__listeners=[].concat(t.__listeners,[e.detail]);var n=function(n,r){try{var o=Promise.resolve(e.detail.onConnect(t.__current)).then((function(){}))}catch(e){return r(!0,e)}return o&&o.then?o.then(r.bind(null,!1),r.bind(null,!0)):r(!1,o)}(0,(function(n,r){var o,s;if(t.__listeners=(s=(o=t.__listeners).indexOf(e.detail),o.slice(0,s).concat(o.slice(s+1,o.length))),n)throw r;return r}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},this.options=e,this.__current=h(e.initialState)}var t=e.prototype;return t.start=function(){return h(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},t.stop=function(){return h(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map((function(e){e.onDisconnect()})),this.__listeners=[],this},f(e,[{key:"context",set:function(e){var t=this.__current;this.__current=e,this.__listeners.forEach((function(n){return n.onChange(e,t)}))},get:function(){return h(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),e}());function h(e){return"function"==typeof typeof e?e():e}
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
14
|
+
*/var p="{{lit-"+String(Math.random()).slice(2)+"}}";
|
|
15
|
+
/**
|
|
16
|
+
* @license
|
|
17
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
18
|
+
* This code may only be used under the BSD style license found at
|
|
19
|
+
* http://polymer.github.io/LICENSE.txt
|
|
20
|
+
* The complete set of authors may be found at
|
|
21
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
22
|
+
* The complete set of contributors may be found at
|
|
23
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
24
|
+
* Code distributed by Google as part of the polymer project is also
|
|
25
|
+
* subject to an additional IP rights grant found at
|
|
26
|
+
* http://polymer.github.io/PATENTS.txt
|
|
27
|
+
*/var C=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(e){return e}});
|
|
28
|
+
/**
|
|
29
|
+
* @license
|
|
30
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
31
|
+
* This code may only be used under the BSD style license found at
|
|
32
|
+
* http://polymer.github.io/LICENSE.txt
|
|
33
|
+
* The complete set of authors may be found at
|
|
34
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
35
|
+
* The complete set of contributors may be found at
|
|
36
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
37
|
+
* Code distributed by Google as part of the polymer project is also
|
|
38
|
+
* subject to an additional IP rights grant found at
|
|
39
|
+
* http://polymer.github.io/PATENTS.txt
|
|
40
|
+
*/(function(){try{var e={get capture(){return false}};window.addEventListener("test",e,e);window.removeEventListener("test",e,e)}catch(e){}})();
|
|
41
|
+
/**
|
|
42
|
+
* @license
|
|
43
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
44
|
+
* This code may only be used under the BSD style license found at
|
|
45
|
+
* http://polymer.github.io/LICENSE.txt
|
|
46
|
+
* The complete set of authors may be found at
|
|
47
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
48
|
+
* The complete set of contributors may be found at
|
|
49
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
50
|
+
* Code distributed by Google as part of the polymer project is also
|
|
51
|
+
* subject to an additional IP rights grant found at
|
|
52
|
+
* http://polymer.github.io/PATENTS.txt
|
|
53
|
+
*/if(typeof window!=="undefined"){(window["litHtmlVersions"]||(window["litHtmlVersions"]=[])).push("1.4.1")}var v;var g=0;function m(e){v=e}function y(){v=null;g=0}function F(){return g++}var b=Symbol("haunted.hook");var w=Symbol("haunted.effects");var _=Symbol("haunted.layoutEffects");var x="haunted.context";var k=function(){function e(e,t){this.update=e;this.host=t;this[b]=new Map;this[w]=[];this[_]=[]}e.prototype.run=function(e){m(this);var t=e();y();return t};e.prototype._runEffects=function(e){var t=this[e];m(this);for(var n=0,r=t;n<r.length;n++){var o=r[n];o.call(this)}y()};e.prototype.runEffects=function(){this._runEffects(w)};e.prototype.runLayoutEffects=function(){this._runEffects(_)};e.prototype.teardown=function(){var e=this[b];e.forEach((function(e){if(typeof e.teardown==="function"){e.teardown()}}))};return e}();var E=Promise.resolve().then.bind(Promise.resolve());var A=function(){function e(e,t){this.id=e;this.state=t}return e}();function j(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}var r=F();var o=v[b];var s=o.get(r);if(!s){s=new(e.bind.apply(e,__spreadArrays([void 0,r,v],t)));o.set(r,s)}return s.update.apply(s,t)}function O(e){return j.bind(null,e)}function P(e){return O(function(t){__extends(n,t);function n(n,r,o,s){var i=t.call(this,n,r)||this;e(r,i);return i}n.prototype.update=function(e,t){this.callback=e;this.values=t};n.prototype.call=function(){if(!this.values||this.hasChanged()){this.run()}this.lastValues=this.values};n.prototype.run=function(){this.teardown();this._teardown=this.callback.call(this.state)};n.prototype.teardown=function(){if(typeof this._teardown==="function"){this._teardown()}};n.prototype.hasChanged=function(){var e=this;return!this.lastValues||this.values.some((function(t,n){return e.lastValues[n]!==t}))};return n}(A))}function S(e,t){e[w].push(t)}var M=e("f",P(S));var I=O(function(e){__extends(t,e);function t(t,n,r){var o=e.call(this,t,n)||this;o._updater=o._updater.bind(o);o._ranEffect=false;o._unsubscribe=null;S(n,o);return o}t.prototype.update=function(e){if(this.state.virtual){throw new Error("can't be used with virtual components")}if(this.Context!==e){this._subscribe(e);this.Context=e}return this.value};t.prototype.call=function(){if(!this._ranEffect){this._ranEffect=true;if(this._unsubscribe)this._unsubscribe();this._subscribe(this.Context);this.state.update()}};t.prototype._updater=function(e){this.value=e;this.state.update()};t.prototype._subscribe=function(e){var t={Context:e,callback:this._updater};this.state.host.dispatchEvent(new CustomEvent(x,{detail:t,bubbles:true,cancelable:true,composed:true}));var n=t.unsubscribe,r=n===void 0?null:n,o=t.value;this.value=r?o:e.defaultValue;this._unsubscribe=r};t.prototype.teardown=function(){if(this._unsubscribe){this._unsubscribe()}};return t}(A));var L=e("u",O(function(e){__extends(t,e);function t(t,n,r,o){var s=e.call(this,t,n)||this;s.value=r();s.values=o;return s}t.prototype.update=function(e,t){if(this.hasChanged(t)){this.values=t;this.value=e()}return this.value};t.prototype.hasChanged=function(e){var t=this;if(e===void 0){e=[]}return e.some((function(e,n){return t.values[n]!==e}))};return t}(A)));function N(e,t){e[_].push(t)}var z=P(N);var D=e("k",O(function(e){__extends(t,e);function t(t,n,r){var o=e.call(this,t,n)||this;o.updater=o.updater.bind(o);if(typeof r==="function"){r=r()}o.makeArgs(r);return o}t.prototype.update=function(){return this.args};t.prototype.updater=function(e){if(typeof e==="function"){var t=e;var n=this.args[0];e=t(n)}this.makeArgs(e);this.state.update()};t.prototype.makeArgs=function(e){this.args=Object.freeze([e,this.updater])};return t}(A)));var $=e("j",O(function(e){__extends(t,e);function t(t,n,r,o,s){var i=e.call(this,t,n)||this;i.dispatch=i.dispatch.bind(i);i.currentState=s!==undefined?s(o):o;return i}t.prototype.update=function(e){this.reducer=e;return[this.currentState,this.dispatch]};t.prototype.dispatch=function(e){this.currentState=this.reducer(this.currentState,e);this.state.update()};return t}(A)));var T=e("m",(function(e){return L((function(){return{current:e}}),[])}));var J=1e3;var R=J*60;var V=R*60;var U=V*24;var Z=U*7;var q=U*365.25;var H=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0){return B(e)}else if(n==="number"&&isFinite(e)){return t.long?W(e):G(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function B(e){e=String(e);if(e.length>100){return}var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t){return}var n=parseFloat(t[1]);var r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*q;case"weeks":case"week":case"w":return n*Z;case"days":case"day":case"d":return n*U;case"hours":case"hour":case"hrs":case"hr":case"h":return n*V;case"minutes":case"minute":case"mins":case"min":case"m":return n*R;case"seconds":case"second":case"secs":case"sec":case"s":return n*J;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return undefined}}function G(e){var t=Math.abs(e);if(t>=U){return Math.round(e/U)+"d"}if(t>=V){return Math.round(e/V)+"h"}if(t>=R){return Math.round(e/R)+"m"}if(t>=J){return Math.round(e/J)+"s"}return e+"ms"}function W(e){var t=Math.abs(e);if(t>=U){return Q(e,t,U,"day")}if(t>=V){return Q(e,t,V,"hour")}if(t>=R){return Q(e,t,R,"minute")}if(t>=J){return Q(e,t,J,"second")}return e+" ms"}function Q(e,t,n,r){var o=t>=n*1.5;return Math.round(e/n)+" "+r+(o?"s":"")}function K(e){n.debug=n;n.default=n;n.coerce=u;n.disable=s;n.enable=o;n.enabled=i;n.humanize=H;n.destroy=c;Object.keys(e).forEach((function(t){n[t]=e[t]}));n.names=[];n.skips=[];n.formatters={};function t(e){var t=0;for(var r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return n.colors[Math.abs(t)%n.colors.length]}n.selectColor=t;function n(e){var t;var o=null;var s;var i;function a(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}if(!a.enabled){return}var o=a;var s=Number(new Date);var i=s-(t||s);o.diff=i;o.prev=t;o.curr=s;t=s;e[0]=n.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}var u=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(function(t,r){if(t==="%%"){return"%"}u++;var s=n.formatters[r];if(typeof s==="function"){var i=e[u];t=s.call(o,i);e.splice(u,1);u--}return t}));n.formatArgs.call(o,e);var c=o.log||n.log;c.apply(o,e)}a.namespace=e;a.useColors=n.useColors();a.color=n.selectColor(e);a.extend=r;a.destroy=n.destroy;Object.defineProperty(a,"enabled",{enumerable:true,configurable:false,get:function(){if(o!==null){return o}if(s!==n.namespaces){s=n.namespaces;i=n.enabled(e)}return i},set:function(e){o=e}});if(typeof n.init==="function"){n.init(a)}return a}function r(e,t){var r=n(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function o(e){n.save(e);n.namespaces=e;n.names=[];n.skips=[];var t;var r=(typeof e==="string"?e:"").split(/[\s,]+/);var o=r.length;for(t=0;t<o;t++){if(!r[t]){continue}e=r[t].replace(/\*/g,".*?");if(e[0]==="-"){n.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{n.names.push(new RegExp("^"+e+"$"))}}}function s(){var e=__spreadArrays(n.names.map(a),n.skips.map(a).map((function(e){return"-"+e}))).join(",");n.enable("");return e}function i(e){if(e[e.length-1]==="*"){return true}var t;var r;for(t=0,r=n.skips.length;t<r;t++){if(n.skips[t].test(e)){return false}}for(t=0,r=n.names.length;t<r;t++){if(n.names[t].test(e)){return true}}return false}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function u(e){if(e instanceof Error){return e.stack||e.message}return e}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}n.enable(n.load());return n}var X=K;var Y=e("b",i((function(e,t){t.formatArgs=r;t.save=o;t.load=s;t.useColors=n;t.storage=i();t.destroy=function(){var e=false;return function(){if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}}();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0;var o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){if(e==="%%"){return}r++;if(e==="%c"){o=r}}));t.splice(o,0,n)}t.log=console.debug||console.log||function(){};function o(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function s(){var e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function i(){try{return localStorage}catch(e){}}e.exports=X(t);var a=e.exports.formatters;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})));function ee(){return n()}function te(){var e=ee();return t(e)}function ne(e,t){void 0===t&&(t={});var n=te();return ve(n,e,t)}function re(e,t){var n=te();return ge(n,e,t)}var oe=Y("stencil-hook");function se(e){var n,o=t(e),s=(n=!1,new k((function(){oe("Queue update on element",o),n||(n=!0,Promise.resolve().then((function(){oe("Forced update on element",o),n=!1,r(o)})))}),o)),i=e.disconnectedCallback;if(!i)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");e.disconnectedCallback=function(){s.teardown(),ie(i)};var a=e.connectedCallback;e.connectedCallback=function(){s.update(),ie(a)};var u=e.render.bind(e);e.render=function(){var e=s.run(u);return s.runEffects(),e}}function ie(e){"function"==typeof e&&e()}function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ue=1e3,ce=60*ue,fe=60*ce,le=24*fe,de=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*le;case"hours":case"hour":case"hrs":case"hr":case"h":return n*fe;case"minutes":case"minute":case"mins":case"min":case"m":return n*ce;case"seconds":case"second":case"secs":case"sec":case"s":return n*ue;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=le?he(e,t,le,"day"):t>=fe?he(e,t,fe,"hour"):t>=ce?he(e,t,ce,"minute"):t>=ue?he(e,t,ue,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=le?Math.round(e/le)+"d":t>=fe?Math.round(e/fe)+"h":t>=ce?Math.round(e/ce)+"m":t>=ue?Math.round(e/ue)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function he(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}var pe,Ce=(function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=function(e){function t(e){var r,o=null;function s(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}if(!s.enabled)return;var o=s,i=Number(new Date);o.diff=i-(r||i),o.prev=r,o.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return"%";a++;var s=t.formatters[r];return"function"==typeof s&&(n=s.call(o,e[a]),e.splice(a,1),a--),n})),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:function(){return null===o?t.enabled(e):o},set:function(e){o=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){var r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){var e=__spreadArrays(t.names.map(r),t.skips.map(r).map((function(e){return"-"+e}))).join(",");return t.enable(""),e},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=de,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((function(n){t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){var n=0;for(var r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}(t);var n=e.exports.formatters;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(pe={exports:{}},pe.exports),pe.exports)("useDomContext");function ve(e,t,n){void 0===n&&(n={});var r=T(void 0),o=D(void 0),s=o[0],i=o[1],a=L((function(){var o;try{(o=new l(ae({contextName:t,element:e,onChange:function(e){r&&(r.current=e),i(e)}},n))).start()}catch(e){Ce("Listener failed to start",e)}return Ce("Listener initialized",o),{listener:o}}),[t,r]).listener;return M((function(){return Ce("Listener starting (or restarting)",a),a.start(),function(){Ce("Listener stopping (or restopping)",a),a.stop()}}),[a,e.isConnected]),s||(null==r?void 0:r.current)}function ge(e,t,n){var r=L((function(){var r=new d({contextName:t,element:e,initialState:n});return r.start(),Ce("Provider initialized",r),r}),[t,e]);M((function(){return Ce("Provider starting (or restarting)",r),r.start(),function(){Ce("Provider stopping (or re-stopping)",r),r.stop()}}),[r,e.isConnected]);var o=$((function(e,t){var n;return Ce("New context value",t),n="function"==typeof t?t(r.context):t,r.context=n,r.context}),r.context);return[o[0],o[1],r]}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,s){function a(t){try{u(o.next(t))}catch(t){s(t)}}function i(t){try{u(o["throw"](t))}catch(t){s(t)}}function u(t){t.done?n(t.value):r(t.value).then(a,i)}u((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,r,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(t){return function(e){return u([t,e])}}function u(a){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){n.label=a[1];break}if(a[0]===6&&n.label<s[1]){n.label=s[1];s=a;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(a);break}if(s[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];r=0}finally{o=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,s){function a(t){try{u(o.next(t))}catch(t){s(t)}}function i(t){try{u(o["throw"](t))}catch(t){s(t)}}function u(t){t.done?n(t.value):r(t.value).then(a,i)}u((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,r,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(t){return function(e){return u([t,e])}}function u(a){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){n.label=a[1];break}if(a[0]===6&&n.label<s[1]){n.label=s[1];s=a;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(a);break}if(s[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];r=0}finally{o=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-1cd0e1e9.system.js","./p-f3392945.system.js"],(function(t){"use strict";var e,n,o,r,s,a,i,u,l;return{setters:[function(t){e=t.r;n=t.h},function(t){o=t.n},function(t){r=t.i;s=t.j},function(){},function(t){a=t.c},function(){},function(t){i=t.c},function(){},function(){},function(t){u=t.P},function(t){l=t.u}],execute:function(){var c=t("sqm_portal_google_login",function(){function t(t){e(this,t);this.ignored=true;this.nextPage="/";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Sign In";this.forgotPasswordPath="/forgotPassword";this.forgotPasswordLabel="Forgot Password?";this.registerLabel="Register";this.registerPath="/register";this.pageLabel="Sign in to your account";this.networkErrorMessage="An error occurred while logging you in. Please refresh the page and try again.";this.googleUserNotRegisteredError="Your Google account has not registered on our platform. Please complete the registration process with your Google account.";this.registerCTA="Don't have an account?";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r()?g(this):l(this),e=t.states,o=t.callbacks;var a={RegisterButton:{"&::part(label)":{padding:"0"}}};var c=i(a);var f=c.toString();var h={forgotPasswordButton:n("slot",{name:"forgotPassword"},n("a",{onClick:function(){return s.push(e.forgotPasswordPath)}},this.forgotPasswordLabel)),googleButton:n("sqm-google-sign-in",{onInitComplete:o.googleSubmit}),secondaryButton:n("slot",{name:"secondaryButton"},n("style",null,f),n("span",null,this.registerCTA," ",n("sl-button",{size:"large",type:"text",disabled:e.loading,onClick:function(){return s.push(e.registerPath)},className:c.classes.RegisterButton},this.registerLabel))),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel};return n(u,{states:e,callbacks:o,content:h})};return t}());function g(t){var e=this;return a({states:{error:"",loading:false,forgotPasswordPath:"/forgotPassword",registerPath:"/register",showLoginForm:"manual"},callbacks:{googleSubmit:function(){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(t){console.log("google submit");return[2]}))}))},submit:function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(t){console.log("submit");return[2]}))}))}},content:{googleButton:null}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as o,f as n}from"./p-63e29387.js";import{u as r}from"./p-0ec54f97.js";function e(e){const[i,t]=o(window.innerWidth),s=r((()=>t(window.innerWidth)),[]);return n((()=>(window.addEventListener("resize",s),()=>window.removeEventListener("resize",s))),[]),!(i>e)}function i(o){return CSS.supports(`(color: ${o})`)}function t(o){return!o||0===Object.keys(o).length&&o.constructor===Object}export{i as a,e as b,t as i}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-bad99a2d.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-a6f4fb03.system.js"],(function(t){"use strict";var e,n,s,i,o,a,r,l;return{setters:[function(t){e=t.h;n=t.r;s=t.c},function(t){i=t.i},function(t){o=t.n},function(){},function(t){a=t.g},function(){},function(t){r=t.P;l=t.a}],execute:function(){function m(t){var n=t.emptyStateHeader,s=t.emptyStateImage,o=t.emptyStateText,a=t.supportText,r=t.missingFeature,l=r===void 0?"":r;return e("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},e("img",{style:{height:"100px",margin:"auto"},src:s}),e("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},e("sqm-text",{slot:"label"},e("p",{part:"header-text"},n)),e("sqm-text",{slot:"content"},e("p",{part:"description-text"},i.formatMessage({id:"emptyStateText",defaultMessage:o},{supportText:e("a",{target:"_blank",href:"mailto:saasquatch-support@impact.com?subject=Next steps for "+l+" feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the "+l+" feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: "+l+"%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you"},a)})))))}var p=t("sqm_empty",function(){function t(t){n(this,t);this.emptyStateImage="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png"}t.prototype.render=function(){return e(s,{slot:"empty"},e(m,{emptyStateImage:this.emptyStateImage,emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))};return t}());var f=t("sqm_portal_container",function(){function t(t){n(this,t);this.ignored=true;this.direction="column";this.gap="xxx-large";this.display="grid";this.maxWidth="100%";this.flexWrap="wrap";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return e(r,Object.assign({},a(this)),e("slot",null))};return t}());var h=t("sqm_text",function(){function t(t){n(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){var t="\n sqm-text {\n display: block;\n color: "+(this.textColor||"var(--sqm-text)")+";\n }\n\n sqm-text h1 {\n font-size: "+(this.fontSize?this.fontSize+"px":"var(--sl-font-size-xxx-large)")+";\n font-weight: var(--sl-font-weight-semibold);\n color: "+(this.textColor||"var(--sqm-text)")+";\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: "+(this.fontSize?this.fontSize+"px":"var(--sl-font-size-xx-large)")+";\n font-weight: var(--sl-font-weight-semibold);\n color: "+(this.textColor||"var(--sqm-text)")+";\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: "+(this.fontSize?this.fontSize+"px":"var(--sl-font-size-x-large)")+";\n font-weight: var(--sl-font-weight-semibold);\n color: "+(this.textColor||"var(--sqm-text)")+";\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: "+(this.fontSize?this.fontSize+"px":"var(--sl-font-size-large)")+";\n font-weight: var(--sl-font-weight-bold);\n color: "+(this.textColor||"var(--sqm-text)")+";\n margin: 0;\n }\n\n sqm-text p {\n font-size: "+(this.fontSize?this.fontSize+"px":"var(--sl-font-size-medium)")+";\n font-weight: var(--sl-font-weight-normal);\n color: "+(this.textColor||"var(--sqm-text)")+";\n margin: 0;\n }\n\n sqm-text sub {\n font-size: "+(this.fontSize?this.fontSize+"px":"var(--sl-font-size-small)")+";\n font-weight: var(--sl-font-weight-normal);\n color: "+(this.textColor||"var(--sqm-text)")+";\n margin: 0;\n }\n ";return e("div",null,e("style",null,t),e("slot",null))};return t}());var c=t("sqm_titled_section",function(){function t(t){n(this,t);this.textAlign="left";this.labelMargin="small";this.padding="none";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=e("slot",{name:"label"},this.label);var n=e("slot",{name:"content"});return e(l,Object.assign({},__assign(__assign({},a(this)),{label:t,content:n})))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(r,e){if(Object.defineProperty){Object.defineProperty(r,"raw",{value:e})}else{r.raw=e}return r};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(r,e){if(Object.defineProperty){Object.defineProperty(r,"raw",{value:e})}else{r.raw=e}return r};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,i,n){function a(r){return r instanceof i?r:new i((function(e){e(r)}))}return new(i||(i=Promise))((function(i,o){function t(r){try{l(n.next(r))}catch(r){o(r)}}function s(r){try{l(n["throw"](r))}catch(r){o(r)}}function l(r){r.done?i(r.value):a(r.value).then(t,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,t;return t={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function s(r){return function(e){return l([r,e])}}function l(t){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=t[0]&2?a["return"]:t[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,t[1])).done)return o;if(a=0,o)t=[t[0]&2,o.value];switch(t[0]){case 0:case 1:o=t;break;case 4:i.label++;return{value:t[1],done:false};case 5:i.label++;a=t[1];t=[0];continue;case 7:t=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(t[0]===6||t[0]===2)){i=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]<o[3])){i.label=t[1];break}if(t[0]===6&&i.label<o[1]){i.label=o[1];o=t;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(t);break}if(o[2])i.ops.pop();i.trys.pop();continue}t=e.call(r,i)}catch(r){t=[6,r];a=0}finally{n=o=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:true}}};System.register(["./p-4f5329a2.system.js","./p-171310d9.system.js","./p-b2295bc5.system.js","./p-6c82d60c.system.js","./p-9d362d44.system.js"],(function(r){"use strict";var e,i,n,a,o,t,s,l,d,u,v;return{setters:[function(r){e=r.m;i=r.f},function(r){n=r.d;a=r.L;o=r.O;t=r.w;s=r.j;l=r.u},function(r){d=r.j},function(r){u=r.u},function(r){v=r.A}],execute:function(){r("u",c);var f=n.gql(__makeTemplateObject(["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"],["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]));function c(r){var n=this;var c,g,m,_,p,h,y,b,w;var E=e(null);var k=a();var P=u({}),j=P.registrationFormState,D=P.setRegistrationFormState;var M=o(),F=M[0],O=M[1],S=O.loading,x=O.errors,T=O.data,q=O.formError;var I=t(f,{key:r.formKey});var L=S||I.loading;i((function(){var e,i,n;var a=(e=I===null||I===void 0?void 0:I.data)===null||e===void 0?void 0:e.form.initialData.initialData;var o=((i=I===null||I===void 0?void 0:I.data)===null||i===void 0?void 0:i.form.initialData.isEnabled)===false;var t=((n=I===null||I===void 0?void 0:I.data)===null||n===void 0?void 0:n.form.initialData.isEnabledErrorMessage)||r.formDisabledErrorMessage;var s={loading:L,disabled:o,disabledMessage:t,initialData:a};D(s)}),[(c=I===null||I===void 0?void 0:I.data)===null||c===void 0?void 0:c.form.initialData]);i((function(){if(!E.current)return;var r=E.current;r.addEventListener("sl-input",$);return function(){r.removeEventListener("sl-input",$)}}),[E.current]);var R=function(e){return __awaiter(n,void 0,void 0,(function(){var i,n,a,o,t,l,u,v,f,c,g,m,_,p,h,y,b,w,E,P,M,O,S,x,T,q,I,L,R;return __generator(this,(function($){switch($.label){case 0:E=e.target.getFormControls();P={};M={};E===null||E===void 0?void 0:E.forEach((function(e){if(!e.name)return;var i=e.name;var n=e.value;d.set(P,i,n);if(e.required&&!n){d.set(M,i,r.requiredFieldErrorMessage)}if(typeof e.validationError==="function"){var a=e.validationError;var o=a({control:e,key:i,value:n});if(o)d.set(M,i,o)}}));if((r.confirmPassword||P.confirmPassword)&&P.password!==P.confirmPassword){M=__assign(__assign({},M),{confirmPassword:r.passwordMismatchErrorMessage})}if(Object.keys(M).length){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:M}));return[2]}D(__assign(__assign({},j),{loading:true,error:"",validationErrors:{}}));O=P.email,S=P.password;delete P.email;delete P.password;delete P.confirmPassword;x=r.redirectPath;T=j._googleOAuthIdToken;q={key:r.formKey,formData:__assign(__assign(__assign({},T?{_googleOAuthIdToken:T}:{}),{locale:k,email:O,password:S,redirectPath:x}),P)};$.label=1;case 1:$.trys.push([1,3,,4]);return[4,F(q)];case 2:I=$.sent();if(I instanceof Error){throw I}D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{}}));L=(i=I.submitForm)===null||i===void 0?void 0:i.results.find((function(r){var e;return((e=r===null||r===void 0?void 0:r.formHandler)===null||e===void 0?void 0:e.namespace)==="identity"}));if(L&&L.result.results.length&&L.result.results[0].success&&L.result.results[0].data.token){s.push(r.nextPage)}else if(((n=I.submitForm)===null||n===void 0?void 0:n.results.length)===1&&((l=(t=(o=(a=I.submitForm)===null||a===void 0?void 0:a.results[0])===null||o===void 0?void 0:o.result)===null||t===void 0?void 0:t.results)===null||l===void 0?void 0:l.length)===1&&((g=(c=(f=(v=(u=I.submitForm)===null||u===void 0?void 0:u.results[0])===null||v===void 0?void 0:v.result)===null||f===void 0?void 0:f.results)===null||c===void 0?void 0:c[0])===null||g===void 0?void 0:g.success)===false&&((b=(y=(h=(p=(_=(m=I.submitForm)===null||m===void 0?void 0:m.results[0])===null||_===void 0?void 0:_.result)===null||p===void 0?void 0:p.results)===null||h===void 0?void 0:h[0])===null||y===void 0?void 0:y.message)===null||b===void 0?void 0:b.startsWith("Blocked email"))){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}return[3,4];case 3:R=$.sent();if((w=R===null||R===void 0?void 0:R.message)===null||w===void 0?void 0:w.includes("is not a valid email address")){D(__assign(__assign({},j),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}else{D(__assign(__assign({},j),{loading:false,error:r.networkErrorMessage,validationErrors:{}}))}return[3,4];case 4:return[2]}}))}))};var $=l((function(r){var e,i;var n=(i=(e=r.target)===null||e===void 0?void 0:e.type)===null||i===void 0?void 0:i.toLowerCase();if(n!=="tel")return;var a=new v("US");r.target.value=a.input(r.target.value)}),[]);var A="";if(((g=I===null||I===void 0?void 0:I.data)===null||g===void 0?void 0:g.form.initialData.isEnabled)===false){A=((m=I===null||I===void 0?void 0:I.data)===null||m===void 0?void 0:m.form.initialData.isEnabledErrorMessage)||r.formDisabledErrorMessage}else if((_=x===null||x===void 0?void 0:x.response)===null||_===void 0?void 0:_["error"]){A=r.networkErrorMessage}else if((x===null||x===void 0?void 0:x.message)&&!((p=x===null||x===void 0?void 0:x.response)===null||p===void 0?void 0:p.errors.length)){A=r.networkErrorMessage}else{A=q||((w=(b=(y=(h=I===null||I===void 0?void 0:I.errors)===null||h===void 0?void 0:h.response)===null||y===void 0?void 0:y.errors)===null||b===void 0?void 0:b[0])===null||w===void 0?void 0:w.message)||(j===null||j===void 0?void 0:j.error)}return{states:{loading:S||I.loading,error:A,registrationFormState:j,confirmPassword:r.confirmPassword,hideInputs:r.hideInputs,loginPath:r.loginPath,enablePasswordValidation:!r.disablePasswordValidation},callbacks:{submit:R,inputFunction:$},refs:{formRef:E}}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-6578ea31.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,u,l,c,f,d,v,y;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.f;a=e.n},function(e){o=e.J;s=e.f;u=e.j;l=e.b;c=e.i},function(e){f=e.c},function(e){d=e.s;v=e.g},function(){},function(){},function(){},function(e){y=e.P}],execute:function(){var h=null;function g(e){var t=this;var n=e.nextPage,a=e.failedPage,c=e.verifySuccessText,f=e.verifyEmailText,v=e.verifyInvalidText,y=e.networkErrorMessage,g=e.continueText;var p,m,x,b,T,w,_,k,P,E;var S=i(false),j=S[0],I=S[1];var C=i(false),M=C[0],N=C[1];var V=o();var q=s(),A=q[0],D=q[1],G=D.loading,J=D.data,L=D.errors;var R=new URLSearchParams(u.location.search);var U=R.get("oobCode");var Y=R.get("email");var z=R.get("nextPage");var B=J===undefined&&L===undefined&&!!U;var F=!!(((p=V===null||V===void 0?void 0:V.managedIdentity)===null||p===void 0?void 0:p.emailVerified)||((m=J===null||J===void 0?void 0:J.verifyManagedIdentityEmail)===null||m===void 0?void 0:m.success)||M);var H=((x=V===null||V===void 0?void 0:V.managedIdentity)===null||x===void 0?void 0:x.email)===Y;var K=function(){return u.push({pathname:a,search:R.toString()&&"?"+R.toString()})};var O=function(){R.delete("nextPage");var e=d(z||n);u.push(e.href)};var Q=function(){setTimeout((function(){l(undefined);O()}),3e3)};var W=function(){setTimeout(O,3e3)};r((function(){var e=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!h)h=A({oobCode:U});return[4,h];case 1:e=t.sent();if(!(e instanceof Error)&&e.verifyManagedIdentityEmail.success){N(true)}I(true);return[2]}}))}))};e()}),[]);r((function(){if(!j)return;if(F&&H)W();else Q()}),[j,F]);return{states:{loading:G||!j,disableContinue:B,error:((_=(w=(T=(b=L===null||L===void 0?void 0:L.response)===null||b===void 0?void 0:b.errors)===null||T===void 0?void 0:T[0])===null||w===void 0?void 0:w.extensions)===null||_===void 0?void 0:_.message)||((E=(P=(k=L===null||L===void 0?void 0:L.response)===null||k===void 0?void 0:k.errors)===null||P===void 0?void 0:P[0])===null||E===void 0?void 0:E.message)||((L===null||L===void 0?void 0:L.message)||!H)&&y,success:j&&(F||H)},data:{oobCode:U},callbacks:{failed:K,gotoNextPage:O},content:{verifySuccessText:c,verifyEmailText:f,verifyInvalidText:v,continueText:g}}}var p=e("sqm_portal_verify_email",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.verifyEmailText="Verify your email";this.verifySuccessText="Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";this.verifyInvalidText="The email verification code is invalid or has expired, please try again.";this.continueText="Continue";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(v(this)):g(v(this)),t=e.states,i=e.data,r=e.callbacks,a=e.content;return n(y,{states:t,data:i,callbacks:r,content:a})};return e}());function m(e){return f({states:{error:"",loading:false,success:true},data:{oobCode:"code"},callbacks:{failed:function(){console.log("failed")},gotoNextPage:function(){}},content:{verifySuccessText:e.verifySuccessText,verifyEmailText:e.verifyEmailText,verifyInvalidText:e.verifyInvalidText,continueText:e.continueText}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import{d as e}from"./p-0ec54f97.js";const t="sq:tax-and-cash",a="sq:tax-form-context",n="sq:user-info-query",i="sq:user-form-context",r="sq:finance-network-settings",o="sq:countries:list",s="sq:countries:sorted",d="sq:countries:query",c="sq:currencies:list",l="sq:currencies:query",u=e.gql`
|
|
2
|
+
query getUserTaxInfo {
|
|
3
|
+
user: viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
id
|
|
6
|
+
firstName
|
|
7
|
+
lastName
|
|
8
|
+
email
|
|
9
|
+
countryCode
|
|
10
|
+
customFields
|
|
11
|
+
managedIdentity {
|
|
12
|
+
uid
|
|
13
|
+
email
|
|
14
|
+
emailVerified
|
|
15
|
+
}
|
|
16
|
+
impactConnection {
|
|
17
|
+
connected
|
|
18
|
+
user {
|
|
19
|
+
firstName
|
|
20
|
+
lastName
|
|
21
|
+
}
|
|
22
|
+
publisher {
|
|
23
|
+
id
|
|
24
|
+
brandedSignup
|
|
25
|
+
countryCode
|
|
26
|
+
currency
|
|
27
|
+
billingAddress
|
|
28
|
+
billingCity
|
|
29
|
+
billingState
|
|
30
|
+
billingCountryCode
|
|
31
|
+
billingPostalCode
|
|
32
|
+
phoneNumberCountryCode
|
|
33
|
+
phoneNumber
|
|
34
|
+
taxInformation {
|
|
35
|
+
indirectTaxId
|
|
36
|
+
indirectTaxCountryCode
|
|
37
|
+
indirectTaxRegion
|
|
38
|
+
additionalTaxId
|
|
39
|
+
withholdingTaxId
|
|
40
|
+
withholdingTaxCountryCode
|
|
41
|
+
}
|
|
42
|
+
requiredTaxDocumentType
|
|
43
|
+
currentTaxDocument {
|
|
44
|
+
status
|
|
45
|
+
type
|
|
46
|
+
dateCreated
|
|
47
|
+
}
|
|
48
|
+
withdrawalSettings {
|
|
49
|
+
paymentMethod
|
|
50
|
+
paypalEmailAddress
|
|
51
|
+
bankCountry
|
|
52
|
+
bankAccountNumber
|
|
53
|
+
paymentSchedulingType
|
|
54
|
+
paymentThreshold
|
|
55
|
+
paymentDay
|
|
56
|
+
}
|
|
57
|
+
payoutsAccount {
|
|
58
|
+
hold
|
|
59
|
+
holdReasons
|
|
60
|
+
balance
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
`,m=e.gql`
|
|
68
|
+
query getCountries {
|
|
69
|
+
impactPayoutCountries(limit: 1000) {
|
|
70
|
+
data {
|
|
71
|
+
countryCode
|
|
72
|
+
displayName
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`,y=e.gql`
|
|
77
|
+
query currencies($locale: RSLocale) {
|
|
78
|
+
currencies(limit: 300) {
|
|
79
|
+
data {
|
|
80
|
+
displayName(locale: $locale)
|
|
81
|
+
currencyCode
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
`,p=e.gql`
|
|
86
|
+
query impactFinanceNetworkSettings(
|
|
87
|
+
$filter: ImpactFinanceNetworkSettingsFilterInput
|
|
88
|
+
) {
|
|
89
|
+
impactFinanceNetworkSettings(filter: $filter, limit: 1000) {
|
|
90
|
+
data {
|
|
91
|
+
countryCode
|
|
92
|
+
currency
|
|
93
|
+
defaultFinancePaymentMethodId
|
|
94
|
+
thresholdOptions
|
|
95
|
+
withdrawalSettingId
|
|
96
|
+
internationalEftFee
|
|
97
|
+
foreignFxFee
|
|
98
|
+
defaultFxFee
|
|
99
|
+
}
|
|
100
|
+
totalCount
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
`,C=4;export{c as C,r as F,u as G,s as S,t as T,i as U,a,o as b,n as c,d,m as e,p as f,l as g,y as h,C as i}
|