@saasquatch/mint-components 1.15.0-8 → 1.15.0-80
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-b3b7bb6e.js +646 -0
- package/dist/cjs/{ShadowViewAddon-afc40c22.js → ShadowViewAddon-9bf35bfe.js} +1570 -1398
- package/dist/cjs/{copy-text-view-9d4259f4.js → copy-text-view-e5223a96.js} +19 -8
- 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-124aec2c.js → global-16279e95.js} +12152 -11932
- 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} +871 -2415
- 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_43.cjs.entry.js} +1141 -301
- 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 +57 -63
- 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-ec7a5c53.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 +97 -70
- 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-f5ce25cc.js → sqm-portal-email-verification-view-e2590f1b.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
- package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-0a8d3243.js} +24 -16
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +39 -10
- 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-07d13061.js → sqm-portal-profile-view-5310d41a.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 +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13753 -12462
- 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 +1255 -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 +24 -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-6847bc06.js → utils-7cbd60cc.js} +5 -0
- package/dist/cjs/utils-d5821f8d.js +105 -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 +169 -1
- 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 +60 -3
- 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 +4 -4
- package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +13 -6
- package/dist/collection/components/sqm-hero/sqm-hero.js +30 -5
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +2 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
- 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/Leaderboard.stories.js +37 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +202 -61
- 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 +4 -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-step/sqm-program-explainer-step-view.js +5 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +4 -4
- 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 +34 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +80 -11
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
- 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 +31 -5
- 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 +39 -42
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +44 -3
- 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-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +6 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +10 -5
- 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 +81 -99
- 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 +18 -20
- 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/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +100 -49
- 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/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- 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 -5
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -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 +54 -58
- 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 +55 -62
- 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 +96 -92
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
- 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 +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -52
- 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 +17 -6
- 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 +307 -134
- package/dist/collection/global/styles.ts +396 -135
- 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-451cf5e2.js +639 -0
- package/dist/esm/{ShadowViewAddon-bdedf635.js → ShadowViewAddon-3c2957fe.js} +1569 -1396
- package/dist/esm/{copy-text-view-ca98ab38.js → copy-text-view-8d1713d7.js} +19 -8
- package/dist/esm/data-ee3ae298.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-6dc825bc.js → global-2f3b2adb.js} +11849 -11630
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-38dad6c9.js} +153 -153
- 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-9c90767d.js} +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +720 -2257
- 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_43.entry.js} +1053 -215
- 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 +54 -60
- 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-797601b0.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 +91 -64
- 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-d96d6c43.js → sqm-portal-email-verification-view-e68275d7.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
- package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-0e795cdd.js} +24 -16
- package/dist/esm/sqm-portal-forgot-password.entry.js +36 -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-4ce1c7c3.js → sqm-portal-profile-view-fe781f47.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 +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +13578 -12287
- 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 +1251 -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 +21 -10
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-4e70ac0e.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-0f04459e.js} +3 -3
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +10 -7
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-d0720c81.js} +3 -3
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-afc0171e.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-311e6d72.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-65a01a6a.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-18c2cea7.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-f9413de9.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-ad9c2893.js} +2 -2
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/utils-c416c7e4.js +97 -0
- package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-451cf5e2.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-3c2957fe.js +1 -0
- package/dist/esm-es5/copy-text-view-8d1713d7.js +1 -0
- package/dist/esm-es5/data-ee3ae298.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-6dc825bc.js → global-2f3b2adb.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/index.module-38dad6c9.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-9c90767d.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_43.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-797601b0.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-d96d6c43.js → sqm-portal-email-verification-view-e68275d7.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +1 -0
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-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-4ce1c7c3.js → sqm-portal-profile-view-fe781f47.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-4e70ac0e.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +2 -2
- package/dist/esm-es5/usePortalLogin-d0720c81.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
- package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
- package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
- package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
- package/dist/esm-es5/utilities-ad9c2893.js +1 -0
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/utils-c416c7e4.js +1 -0
- package/dist/mint-components/global/styles.ts +396 -135
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-000c91b1.js +1 -0
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-002e6205.system.entry.js} +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- 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-284e4ed5.entry.js → p-0b0f49ad.entry.js} +1 -1
- package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
- package/dist/mint-components/{p-164a9103.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/{p-480e08e9.js → p-0e59a91e.js} +2 -2
- package/dist/mint-components/p-0ea61502.system.js +1 -0
- package/dist/mint-components/p-100c878b.system.entry.js +1 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-1337f47c.entry.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-7c2b9fe4.system.js → p-15012f59.system.js} +1 -1
- package/dist/mint-components/p-153a122d.system.js +1 -0
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-1a278658.entry.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-1c1f4ce7.system.js} +1 -1
- package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
- package/dist/mint-components/p-204861a6.js +1 -0
- package/dist/mint-components/p-209ea185.js +1 -0
- package/dist/mint-components/p-21fab6ef.system.js +1 -0
- package/dist/mint-components/{p-3af1ec4c.entry.js → p-22c11f0e.entry.js} +1 -1
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-22d20816.system.entry.js} +1 -1
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/p-240bec23.js +1 -0
- package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
- package/dist/mint-components/p-2a8e2f28.system.js +1 -0
- package/dist/mint-components/p-2c310c7d.entry.js +1 -0
- package/dist/mint-components/p-3055141d.entry.js +11 -0
- package/dist/mint-components/p-33703509.system.entry.js +1 -0
- package/dist/mint-components/p-35a2332d.js +448 -0
- package/dist/mint-components/p-36b1414b.system.js +1 -0
- package/dist/mint-components/{p-c0f19490.js → p-3787a4d6.js} +1 -1
- package/dist/mint-components/p-3cb249c3.js +1 -0
- package/dist/mint-components/p-3d1b91a1.system.entry.js +1 -0
- package/dist/mint-components/p-3d99fa43.entry.js +1 -0
- package/dist/mint-components/{p-13ed8586.system.js → p-3dc34570.system.js} +1 -1
- package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/p-404daf1c.entry.js +144 -0
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-4271f436.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/p-42da8239.system.js +1 -0
- package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
- package/dist/mint-components/{p-301ddcaa.system.entry.js → p-485e2d9f.system.entry.js} +1 -1
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/p-49e92a7c.js +1233 -0
- package/dist/mint-components/{p-6d2f5a1d.js → p-4d19270b.js} +2 -2
- package/dist/mint-components/p-4d741ccd.js +1 -0
- package/dist/mint-components/p-4eee6c40.entry.js +93 -0
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-cf8677ea.js → p-577a4c97.js} +1 -1
- package/dist/mint-components/{p-59274a91.system.js → p-578a27c8.system.js} +1 -1
- package/dist/mint-components/p-5800e049.entry.js +1 -0
- package/dist/mint-components/p-587115cb.system.entry.js +1 -0
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/p-5ccee28f.system.entry.js +1 -0
- package/dist/mint-components/{p-e8ffcc68.entry.js → p-5e0af707.entry.js} +2 -2
- package/dist/mint-components/{p-4e526a94.js → p-5ed49bf2.js} +1 -1
- package/dist/mint-components/p-5fca2bd3.system.entry.js +1 -0
- package/dist/mint-components/p-5ff2da11.js +1 -0
- package/dist/mint-components/p-621575fa.system.entry.js +1 -0
- package/dist/mint-components/p-63e29387.js +42 -0
- package/dist/mint-components/{p-ad985d37.system.entry.js → p-64457acd.system.entry.js} +1 -1
- package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/p-64d7775b.entry.js +9 -0
- package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/p-672d144e.entry.js +1 -0
- 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-69d64372.system.entry.js +1 -0
- package/dist/mint-components/p-6ad674c2.js +103 -0
- package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
- package/dist/mint-components/p-6e069052.entry.js +1 -0
- package/dist/mint-components/{p-b7d1469d.system.entry.js → p-7059ee40.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-711bc624.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-7752408c.js +1 -0
- package/dist/mint-components/p-7970e73a.js +1 -0
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
- package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-82505f6e.system.js} +1 -1
- package/dist/mint-components/{p-95ae4ab9.system.js → p-82560b78.system.js} +1 -1
- package/dist/mint-components/{p-3f7b81b8.js → p-862845d7.js} +2 -2
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/p-8bcdb9a4.entry.js +13 -0
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-aaff68dc.entry.js → p-8dc1cd0f.entry.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-8e2bead4.js +1 -0
- package/dist/mint-components/p-9049b387.entry.js +1 -0
- package/dist/mint-components/{p-2d52e2d7.system.js → p-91014439.system.js} +1 -1
- package/dist/mint-components/{p-18425f38.system.entry.js → p-910f56ca.system.entry.js} +1 -1
- package/dist/mint-components/p-9374b5bb.system.entry.js +1 -0
- package/dist/mint-components/{p-ccf8c9aa.entry.js → p-94f9fbf7.entry.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/{p-87c21535.entry.js → p-9aadc253.entry.js} +1 -1
- package/dist/mint-components/{p-619c2aa3.entry.js → p-9c2d515d.entry.js} +2 -2
- package/dist/mint-components/p-9e00773c.entry.js +258 -0
- package/dist/mint-components/p-9e297104.entry.js +1 -0
- package/dist/mint-components/p-9f82e69d.entry.js +1 -0
- package/dist/mint-components/{p-5488fdd9.system.js → p-9fb8b33a.system.js} +1 -1
- package/dist/mint-components/{p-8175e85f.system.js → p-a148663a.system.js} +1 -1
- package/dist/mint-components/{p-ac9f4085.system.entry.js → p-a2533860.system.entry.js} +1 -1
- package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/p-a5c9ce6c.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-abd33116.system.entry.js +1 -0
- package/dist/mint-components/{p-abefb7cc.js → p-ac11e10a.js} +1 -1
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
- package/dist/mint-components/p-b065215a.entry.js +1 -0
- package/dist/mint-components/{p-d6831af5.js → p-b22b7891.js} +1 -1
- package/dist/mint-components/{p-a37541ae.system.entry.js → p-b3112c88.system.entry.js} +1 -1
- package/dist/mint-components/{p-345fd28e.system.entry.js → p-b3da317b.system.entry.js} +1 -1
- package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-b710c7e0.js +1 -0
- package/dist/mint-components/p-b86f944c.entry.js +25 -0
- package/dist/mint-components/p-b8fed018.system.js +1 -0
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-b9bccc55.entry.js} +1 -1
- package/dist/mint-components/p-ba16858e.system.entry.js +1 -0
- package/dist/mint-components/p-bad50dc1.entry.js +1 -0
- package/dist/mint-components/{p-a81b507f.entry.js → p-bb627d95.entry.js} +2 -2
- package/dist/mint-components/{p-44a82cf3.system.js → p-bcb48c32.system.js} +22 -22
- package/dist/mint-components/p-bd288a80.system.js +1 -0
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/p-bfc16195.system.entry.js +1 -0
- package/dist/mint-components/{p-44891949.entry.js → p-c3884e55.entry.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/p-c3fe8514.system.entry.js +1 -0
- package/dist/mint-components/p-c4886223.entry.js +1 -0
- package/dist/mint-components/p-c7965639.entry.js +1 -0
- package/dist/mint-components/p-c79bb1c6.entry.js +16 -0
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/p-c9252c59.system.entry.js +1 -0
- package/dist/mint-components/p-cab1f502.js +1 -0
- package/dist/mint-components/{p-a71b9154.system.js → p-d399162b.system.js} +1 -1
- package/dist/mint-components/{p-0559d880.entry.js → p-d5f1df29.entry.js} +1 -1
- package/dist/mint-components/p-d785a297.system.entry.js +1 -0
- package/dist/mint-components/p-d821418e.system.js +1 -0
- package/dist/mint-components/p-d8c5b80a.system.js +1 -0
- package/dist/mint-components/{p-d3e5704c.entry.js → p-da34d4f7.entry.js} +1 -1
- package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
- package/dist/mint-components/{p-605c2904.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
- package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/p-e1a5f64a.entry.js +1 -0
- package/dist/mint-components/{p-da7708a7.entry.js → p-e27ff213.entry.js} +1 -1
- package/dist/mint-components/p-e539fed3.entry.js +1 -0
- package/dist/mint-components/p-e57d61af.system.js +1 -0
- package/dist/mint-components/{p-9209a016.system.entry.js → p-e8dc94cc.system.entry.js} +1 -1
- package/dist/mint-components/p-eaeddfe2.system.js +1 -0
- package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/p-f0e0d0b9.system.entry.js +1 -0
- package/dist/mint-components/p-f0ebccea.system.entry.js +1 -0
- package/dist/mint-components/p-f1dc581f.js +1 -0
- package/dist/mint-components/{p-05f29f64.js → p-f307b716.js} +1 -1
- package/dist/mint-components/p-f6665d99.system.entry.js +1 -0
- package/dist/mint-components/p-f6762bb5.entry.js +13 -0
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/p-f9c7248e.js +1 -0
- package/dist/mint-components/{p-cc7af682.system.js → p-fa6fba34.system.js} +2 -2
- package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e451f75.js → p-fb5be0c5.js} +1 -1
- package/dist/mint-components/p-fb77f662.entry.js +1 -0
- 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 +42 -0
- 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 +13 -0
- 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 +6 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
- 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/Leaderboard.stories.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +53 -17
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
- 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/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-step/sqm-program-explainer-step-view.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +24 -3
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
- 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 +7 -0
- 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-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/sqm-share-link.d.ts +5 -3
- 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/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
- 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-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -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 +46 -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-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 +1090 -100
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- 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/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -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-f369b0a6.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-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-1bd8afaa.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-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-bdedf635.js +0 -1
- package/dist/esm-es5/copy-text-view-ca98ab38.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-1bd8afaa.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-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-09a77c82.system.entry.js +0 -1
- package/dist/mint-components/p-11519322.system.js +0 -1
- package/dist/mint-components/p-11542862.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-19ccb4ce.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-208d8d75.system.entry.js +0 -1
- package/dist/mint-components/p-217514ac.system.js +0 -1
- package/dist/mint-components/p-2195c312.entry.js +0 -13
- 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-2c07df76.entry.js +0 -144
- 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-338bcfd6.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-3a49811c.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-469ad274.js +0 -394
- package/dist/mint-components/p-48135f99.system.js +0 -53
- package/dist/mint-components/p-484196f8.entry.js +0 -9
- package/dist/mint-components/p-49206a9c.entry.js +0 -1
- package/dist/mint-components/p-49deb225.entry.js +0 -1
- package/dist/mint-components/p-4dbe2d08.entry.js +0 -25
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-55c16fb9.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-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-642909e6.system.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-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-6f34c2c2.entry.js +0 -13
- package/dist/mint-components/p-734695a0.entry.js +0 -205
- package/dist/mint-components/p-775f3ded.entry.js +0 -1
- 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-802b9f7e.entry.js +0 -1
- package/dist/mint-components/p-8053366e.system.entry.js +0 -1
- package/dist/mint-components/p-837dbf90.system.entry.js +0 -1
- package/dist/mint-components/p-893d7ab4.js +0 -1
- 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-8d9d04b7.system.entry.js +0 -1
- package/dist/mint-components/p-90421929.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-93fed35b.system.js +0 -1
- package/dist/mint-components/p-94a876b9.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-9acb5038.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-9fe143f5.js +0 -1
- package/dist/mint-components/p-b889ec31.entry.js +0 -258
- 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-c39db551.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-cd63a965.system.entry.js +0 -1
- package/dist/mint-components/p-cd651f81.js +0 -42
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-df89186f.system.js +0 -1
- package/dist/mint-components/p-e01fe915.js +0 -1248
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-eab1c9f3.js +0 -1
- package/dist/mint-components/p-ed11966d.system.js +0 -1
- package/dist/mint-components/p-eda5e82c.entry.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-f2d8d3d3.system.entry.js +0 -1
- package/dist/mint-components/p-f708da7b.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};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 i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?r(e.value):i(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,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 c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(o[0]===6&&r.label<a[1]){r.label=a[1];a=o;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(o);break}if(a[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{n=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-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-115dfc03.system.js","./p-a8645c1b.system.js","./p-57dd28bd.system.js"],(function(e){"use strict";var t,r,n,i,a,o,s,c,l,u,d,f,p,m,v,h,y,_;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;i=e.f;a=e.n},function(e){o=e.d;s=e.J;c=e.I;l=e.q;u=e.X;d=e.i},function(e){f=e.c},function(e){p=e.g},function(e){m=e.p},function(e){v=e.e},function(e){h=e.S;y=e.V;_=e.a}],execute:function(){var g=o.gql(__makeTemplateObject(["\n query checkUserVerification {\n viewer {\n ... on User {\n id\n accountId\n email\n emailVerified\n managedIdentity {\n email\n emailVerified\n }\n }\n }\n }\n"],["\n query checkUserVerification {\n viewer {\n ... on User {\n id\n accountId\n email\n emailVerified\n managedIdentity {\n email\n emailVerified\n }\n }\n }\n }\n"]));function b(){var e=this;var t=s();var r=c({namespace:h,initialValue:false}),a=r[0],o=r[1];var d=c({namespace:y,initialValue:t===null||t===void 0?void 0:t.email}),f=d[0],p=d[1];var m=l(_);var v=n(true),b=v[0],w=v[1];var S=u(g)[0];i((function(){var t=function(){return __awaiter(e,void 0,void 0,(function(){var e,t,r,n,i;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,2,3,4]);return[4,S({})];case 1:n=a.sent();if(!n||n instanceof Error)throw new Error;if((e=n===null||n===void 0?void 0:n.viewer)===null||e===void 0?void 0:e.emailVerified)m(true);else if((r=(t=n===null||n===void 0?void 0:n.viewer)===null||t===void 0?void 0:t.managedIdentity)===null||r===void 0?void 0:r.emailVerified)m(true);return[3,4];case 2:i=a.sent();console.error("Could not fetch user information:",i);return[3,4];case 3:w(false);return[7];case 4:return[2]}}))}))};t()}),[]);var x=function(){m(true)};return{showCode:a,onVerification:x,loading:b}}var w=e("sqm_widget_verification",function(){function e(e){t(this,e);this.general_verifyEmailHeader="Verify your email";this.general_verifyEmailDescription="To get your cash paid out directly to your bank account, please complete your account setup";this.emailStep_verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";this.emailStep_sendCodeErrorHeader="There was an error sending your code.";this.emailStep_sendCodeErrorDescription="Please try again. If this problem continues, contact our program support team.";this.emailStep_emailLabel="Email";this.emailStep_sendCodeText="Send code";this.emailStep_emailValidationErrorText="Please enter a valid email";this.codeStep_verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.codeStep_reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.codeStep_resendCodeText="Didn't receive your code? {resendCodeLink}";this.codeStep_resendCodeLabel="Resend code";this.codeStep_codeResentSuccessfullyText="Another code has been sent to {email}";this.codeStep_invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.";this.codeStep_verifyText="Verify";this.codeStep_networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";this.stateController="{}";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getStepTextProps=function(e){var t=p(this);return v(t,e)};e.prototype.render=function(){var e=d()?S(this):b();if(e.loading)return r("sl-spinner",null);var t=this.getStepTextProps("general_");return r("div",null,r("h3",{style:{fontSize:"24px",margin:"0"}},t.verifyEmailHeader),r("p",{style:{color:"var(--sl-color-neutral-500)",fontSize:"var(--sl-font-size-medium)",margin:"0"}},t.verifyEmailDescription),e.showCode?r("sqm-code-verification",Object.assign({onVerification:e.onVerification},this.getStepTextProps("codeStep_"),v(e,"sqm-code-verification_"))):r("sqm-email-verification",Object.assign({},this.getStepTextProps("emailStep_"),v(e,"sqm-email-verification_"))))};return e}());function S(e){var t=c({namespace:h,initialValue:false}),r=t[0],n=t[1];var i=c({namespace:y,initialValue:undefined}),a=i[0],o=i[1];var s=l(_);var u=m(e.stateController);var d=Object.keys(u).reduce((function(e,t){var r;return t==="sqm-widget-verification"?__assign(__assign({},e),u[t]):__assign(__assign({},e),(r={},r[t+"_stateController"]=u[t],r))}),{});var p=function(){s(true)};return f({showCode:r,onVerification:p,loading:false},d||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-
|
|
1
|
+
import{h as e}from"./p-c7c11325.js";import{i as t}from"./p-49e92a7c.js";import{c as o}from"./p-cef45012.js";import{A as s,a as r}from"./p-49b20dae.js";import{T as a}from"./p-204861a6.js";const i=o({Wrapper:s,Column:{...r},ButtonLink:{fontSize:"14px",color:"var(--sl-color-primary-500)",display:"inline-block !important","&:hover":{cursor:"pointer",textDecoration:"underline"}},ButtonLinkLoading:{fontSize:"14px",color:"var(--sl-color-gray-500)",opacity:"0.6",display:"inline-block !important",textDecoration:"underline","&:hover":{cursor:"not-allowed"}}}),n=i.toString();function l(o){const{states:s,callbacks:r,content:{email:l,verifyMessage:c,emailVerificationHeader:p,resendEmailButtonText:m,verificationStatusMessage:d,verificationLoadingMessage:f,verificationResentMessage:u}}=o;return e("div",{class:i.classes.Wrapper},e("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",n),e(a,{type:"h3"},p),e("sl-form",{class:i.classes.Column,"onSl-submit":r.submit},o.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},o.states.error)),o.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},u)),e(a,{type:"p"},t.formatMessage({id:"verifyMessage",defaultMessage:c},{email:e("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},l)})),e("p",{style:{color:"var(--sl-color-gray-500)",fontSize:"14px"}},t.formatMessage({id:"verificationStatus",defaultMessage:s.loadingVerification?f+" {countdown}":d},{countdown:s.loadingVerification?e("sl-spinner",null):s.countdown})),e("a",{class:s.loading?i.classes.ButtonLinkLoading:i.classes.ButtonLink,onClick:r.submit},m)))}export{l as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(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(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,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,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=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 i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(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(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,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,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js"],(function(t){"use strict";var n,e,r,i,o,u,a,c,s,l;return{setters:[function(t){n=t.r;e=t.h;r=t.c},function(t){i=t.o;o=t.f;u=t.n},function(t){a=t.G;c=t.a;s=t.E;l=t.P}],execute:function(){function f(t){var n=t.domain;return __awaiter(this,void 0,void 0,(function(){var t,e,r,u,f,h;return __generator(this,(function(p){t=a();e=n;r=c();u=s(e,r,t);f=i(l,u),h=f[1];o((function(){h(u)}),[u]);return[2]}))}))}var h=t("sqm_graphql_client_provider",function(){function t(t){n(this,t);this.ignored=true;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){f(this);return e(r,{style:{display:"contents"}},e("slot",null))};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,c as s}from"./p-c7c11325.js";import{n as t}from"./p-63e29387.js";import"./p-8e2bead4.js";import{a as o}from"./p-fb5be0c5.js";const n=class{constructor(r){e(this,r),this.columnTitle="Note",t(this)}disconnectedCallback(){}async renderCell(e,s){var t;return r("sqm-rewards-table-customer-note-cell",{note:null===(t=null==e?void 0:e.meta)||void 0===t?void 0:t.message,locale:null==s?void 0:s.locale})}async renderLabel(){return this.columnTitle}render(){return o([this.columnTitle]),r(s,{style:{display:"none"}})}};export{n as sqm_rewards_table_customer_note_column}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as i,f as r}from"./p-
|
|
1
|
+
import{k as i,f as r}from"./p-63e29387.js";import{d as e,J as o,X as n,$ as s}from"./p-8e2bead4.js";const t=e.gql`
|
|
2
2
|
query userLookup {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-59b028db.system.js","./p-bcb48c32.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-71271fbd.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,d,l,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.i},function(e){a=e.n},function(e){i=e.d;o=e.H;s=e.J;d=e.w;l=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var v=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function c(e){var r,n,a,i;var l=o();var u=(r=e.programId)!==null&&r!==void 0?r:l;var f=s();var c=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){c.filter["interval"]=e.interval}var p=d(v,c,!(f===null||f===void 0?void 0:f.jwt)).data;var b=((n=p===null||p===void 0?void 0:p.viewer)===null||n===void 0?void 0:n.leaderboardRank)?t.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(a=p===null||p===void 0?void 0:p.viewer)===null||a===void 0?void 0:a.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:b}}}var p="p,.P{font-size:var(--sl-font-size-small);color:var(--sqm-text);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sqm-text-subdued);margin:0px}";var b=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=l()?y(this):c(this);return n(f,Object.assign({},e))};return e}());function y(e){var r=t.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}b.style=p}}}));
|
|
@@ -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-d8c5b80a.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-a148663a.system.js","./p-be88596c.system.js","./p-b6911812.system.js","./p-9d362d44.system.js","./p-3dc34570.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}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js"],(function(r){"use strict";var e,t,i,a,o,s,l,n;return{setters:[function(r){e=r.h},function(r){t=r.c},function(r){i=r.A;a=r.a;o=r.H;s=r.b;l=r.E},function(r){n=r.T}],execute:function(){r("P",p);var d={Wrapper:i,Column:a,HostBlock:o,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:s,ErrorStyle:l};var u="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var m=t(d);var v=m.toString();function p(r){var t,i,a,o,s,l,d,p,c,b,g,f,x,E,y,w,h,S,F,T;var q=r.states,P=r.refs,M=r.callbacks,j=r.content;if(q.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return e("div",{class:m.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},u,v),e(n,{type:"h3"},j.pageLabel),e("sl-form",{class:m.classes.Column,"onSl-submit":M.submit,ref:function(r){return P.formRef.current=r},novalidate:true},((t=q.registrationFormState)===null||t===void 0?void 0:t.disabled)?e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},q.registrationFormState.disabledMessage)):q.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},r.states.error)),j.formData,!q.hideInputs&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:j.emailLabel||"Email",disabled:q.loading||((i=q.registrationFormState)===null||i===void 0?void 0:i.disabled)||q.emailDisabled,required:true,validationError:function(r){var e=r.value;if(!e){return j.requiredFieldErrorMessage}if(!e.includes("@")){return j.invalidEmailErrorMessage}}},((o=(a=q.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.email)?{value:(l=(s=q.registrationFormState)===null||s===void 0?void 0:s.initialData)===null||l===void 0?void 0:l.email}:{},((p=(d=q.registrationFormState)===null||d===void 0?void 0:d.validationErrors)===null||p===void 0?void 0:p.email)?{class:m.classes.ErrorStyle,helpText:((b=(c=q.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||b===void 0?void 0:b.email)||j.requiredFieldErrorMessage}:[])),!(q.hideInputs||q.hidePasswords)&&e("sqm-password-field",{fieldLabel:j.passwordLabel,"disable-validation":!q.enablePasswordValidation,meetsRequirementsText:j.meetsRequirementsText,doesNotMeetRequirementsText:j.doesNotMeetRequirementsText,minErrorText:j.minErrorText,uppercaseErrorText:j.uppercaseErrorText,lowercaseErrorText:j.lowercaseErrorText,hasErrorText:j.hasErrorText}),j.passwordField,!(q.hideInputs||q.hidePasswords)&&q.confirmPassword&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:j.confirmPasswordLabel,disabled:q.loading||((g=q.registrationFormState)===null||g===void 0?void 0:g.disabled),required:true},((x=(f=q.registrationFormState)===null||f===void 0?void 0:f.initialData)===null||x===void 0?void 0:x.confirmPassword)?{value:(y=(E=q.registrationFormState)===null||E===void 0?void 0:E.initialData)===null||y===void 0?void 0:y.confirmPassword}:{},((h=(w=q.registrationFormState)===null||w===void 0?void 0:w.validationErrors)===null||h===void 0?void 0:h.confirmPassword)?{class:m.classes.ErrorStyle,helpText:((F=(S=q.registrationFormState)===null||S===void 0?void 0:S.validationErrors)===null||F===void 0?void 0:F.confirmPassword)||j.requiredFieldErrorMessage}:[])),j.emailOptIn,j.terms,e("div",{class:m.classes.ButtonsContainer},e("sl-button",{submit:true,loading:q.loading,disabled:(T=q.registrationFormState)===null||T===void 0?void 0:T.disabled,exportparts:"base: primarybutton-base",type:"primary"},j.submitLabel||"Register"),j.secondaryButton)))}}}}));
|
|
@@ -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 s(s){const{buttonStyle:l="icon"}=s,e=o({HostBlock:r,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:s.textColor||"var(--sqm-text)"},"&::part(base)":{"--sl-input-border-radius":`${s.borderRadius}px`||"var(--sqm-border-radius-normal)","--sl-input-background-color":s.backgroundColor||"var(--sqm-portal-background)","--sl-input-color":"var(--sqm-text)","--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-portal-background)","--sl-input-background-color-hover":"var(--sqm-portal-background)",cursor:"pointer",overflow:"visible",borderRadius:`${s.borderRadius}px`||"var(--sqm-border-radius-normal)",background:s.backgroundColor||"var(--sqm-portal-background)",border:`var(--sqm-border-thickness) solid ${s.borderColor||"var(--sqm-border-color)"}`},width:"100%"},icon:{"&::part(base)":{color:s.textColor||"var(--sqm-text)"}},inputErrorStyle:{"&::part(base)":{border:"2px solid red"}},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"}}),i=e.toString(),a=!s.loading&&s.error,p=a?s.inputPlaceholderText:s.copyString,c=a||s.loading||s.disabled,u=t("sl-tooltip",{trigger:"manual",content:s.tooltiptext,placement:"button-below"===s.buttonStyle?"bottom":"button-outside"===s.buttonStyle?"top":"top-end",disabled:s.disabled,open:s.open,skidding:"icon"===s.buttonStyle?-5:0,slot:"suffix"},"icon"===l?t("sl-icon-button",{class:e.classes.icon,exportparts:"base: icon-button-base",onClick:()=>{var t;return null===(t=s.onClick)||void 0===t?void 0:t.call(s)},name:"files",disabled:c}):t("sl-button",{exportparts:`base: ${s.buttonType||"primary"}button-base`,onClick:()=>{var t;return null===(t=s.onClick)||void 0===t?void 0:t.call(s)},size:"medium",style:{width:`${"button-below"===l&&"100%"}`},disabled:c,type:"primary"},s.copyButtonLabel||"Copy"));return t("div",{class:e.classes.ContainerDiv},t("style",{type:"text/css"},i,"\n :host{\n display: block; \n width: 100%;\n }\n",n[s.textAlign],c&&"\n sl-input::part(input){\n cursor: default;\n }\n"),t("div",{class:e.classes.containerStyle,style:{flexDirection:"button-below"===l?"column":"row"}},t("sl-input",{class:`${e.classes.inputStyle} ${a?e.classes.inputErrorStyle:""}`,exportparts:"base: input-base, input: input-label",value:s.loading?"Loading...":p,readonly:!0,disabled:c},"icon"===l&&u,a&&t("p",{slot:"help-text",class:e.classes.errorTextStyle},s.errorText)),("button-outside"===l||"button-below"===l)&&u),s.isCopied&&s.showNotificationText&&s.notificationText&&t("p",{part:"sqm-notification-text",class:e.classes.notificationTextStyle},s.notificationText))}export{s as C}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{h as r,r as t}from"./p-c7c11325.js";import{i as a}from"./p-49e92a7c.js";import{k as o,f as n,n as e}from"./p-63e29387.js";import{d as s,t as i,w as l,J as p,$ as c,i as d,q as u}from"./p-8e2bead4.js";import{c as m}from"./p-c1086930.js";import{g as b}from"./p-6951663b.js";import{c as f}from"./p-cef45012.js";import{T as v}from"./p-204861a6.js";import{S as h,V as y}from"./p-38c7775a.js";import{u as q}from"./p-b22b7891.js";const x=s.gql`
|
|
2
|
+
mutation upsertUser($userInput: UserInput!) {
|
|
3
|
+
upsertUser(userInput: $userInput) {
|
|
4
|
+
id
|
|
5
|
+
accountId
|
|
6
|
+
email
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`,g=s.gql`
|
|
10
|
+
query user {
|
|
11
|
+
viewer {
|
|
12
|
+
... on User {
|
|
13
|
+
id
|
|
14
|
+
accountId
|
|
15
|
+
email
|
|
16
|
+
impactConnection {
|
|
17
|
+
user {
|
|
18
|
+
id
|
|
19
|
+
email
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`;const k=f({Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",marginTop:"var(--sl-spacing-medium)"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column",maxWidth:"320px"},ContinueButton:{width:"100%",maxWidth:"100px"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"},ErrorInput:{"&::part(base)":{border:"var(--sqm-border-thickness) solid var(--sqm-danger-color-border)",borderRadius:"var(--sqm-input-border-radius)"},"&::part(help-text)":{color:"var(--sqm-danger-color-text)"}}}),w=k.toString();function j(t){const{states:o,callbacks:n,text:e}=t;return r("div",{part:"sqm-base"},r("style",{type:"text/css"},'\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\na {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n\n*::part(primarybutton-base),\nsl-button[type="primary"]::part(base) {\n font-family: var(--sqm-primary-font);\n width: 100%;\n background-color: var(--sqm-primary-button-background);\n color: var(--sqm-primary-button-color);\n border-color: var(--sqm-primary-button-color-border);\n border-radius: var(--sqm-primary-button-radius);\n}\n\n*::part(primarybutton-base):hover,\nsl-button[type="primary"]::part(base):hover{\n background-color: var(--sqm-primary-button-background-hover);\n border-color: var(--sqm-primary-button-border-color-hover);\n color: var(--sqm-primary-button-color-hover);\n}\n\n\n*::part(primarybutton-base):focus,\nsl-button[type="primary"]::part(base):focus {\n box-shadow: none;\n}\n\n*::part(secondarybutton-base),\nsl-button[type="secondary"]::part(base) {\nfont-family: var(--sqm-primary-font);\n background-color: var(--sqm-secondary-button-background);\n color: var(--sqm-secondary-button-color);\n border-color: var(--sqm-secondary-button-color-border);\n border-radius: var(--sqm-secondary-button-radius);\n}\n\n*::part(secondarybutton-base):hover,\nsl-button[type="secondary"]::part(base):hover {\n background-color: var(--sqm-secondary-button-background-hover);\n color: var(--sqm-secondary-button-color-hover);\n border-color: var(--sqm-secondary-button-border-color-hover);\n}\n\n*::part(input-label), *::part(select-label), *::part(textarea-label){\n font-family: var(--sqm-primary-font);\n font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sqm-input-label-color, var(--sqm-text), black);\n}\n\n*::part(input-base), *::part(select-base), *::part(textarea-base){\n font-family: var(--sqm-primary-font);\n background-color: var(--sqm-input-background, #fff);\n border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);\n color: var(--sqm-input-color, white);\n border-width: var(--sqm-border-thickness, 1px);\n}\n\n*::part(input-base):hover, *::part(select-base):hover, *::part(textarea-base):hover{\n border-color: var(--sqm-border-color-hover);\n}\n\n*::part(input-base):focus, *::part(select-base):focus, *::part(textarea-base):focus{\n border-color: var(--sqm-border-color-focus);\n}\n\nsqm-name-fields::part(input-base) {\n font-family: var(--sqm-primary-font);\n background-color: var(--sqm-input-background, #fff);\n border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);\n color: var(--sqm-input-color, white);\n border-width: var(--sqm-border-thickness, 1px);\n}\n\nsl-input::part(base):focus,\nsl-select::part(form-control-wrapper):focus,\nsl-textarea::part(textarea-label):focus {\n border-color: var(--sqm-border-color-focus);\n}\n\n*::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{\n background: var(--sqm-input-disabled-background, #f5f5f5);\n color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));\n}\n\n*::part(input):-webkit-autofill {\n box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;\n -webkit-text-fill-color: var(--sqm-input-color, white) !important;\n}\n\n*::part(input):-webkit-autofill:hover {\n box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;\n -webkit-text-fill-color: var(--sqm-input-color, white) !important;\n}\n\n*::part(input):-webkit-autofill:focus {\n box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;\n -webkit-text-fill-color: var(--sqm-input-color, white) !important;\n}\n\n*::part(input)::placeholder,\n*::part(select)::placeholder, \n*::part(textarea)::placeholder {\n font-family: var(--sqm-primary-font);\n color: var(--sqm-text-subdued);\n}\n\n*::part(input)::-webkit-input-placeholder,\n*::part(select)::-webkit-input-placeholder,\n*::part(textarea)::-webkit-input-placeholder {\n font-family: var(--sqm-primary-font);\n color: var(--sqm-text-subdued);\n}\n\n*::part(input)::-moz-placeholder,\n*::part(select)::-moz-placeholder,\n*::part(textarea)::-moz-placeholder {\n font-family: var(--sqm-primary-font);\n opacity: 1; /* Firefox adds an opacity to placeholders by default */\n color: var(--sqm-text-subdued);\n}\n\n*::part(input)::-ms-input-placeholder,\n*::part(select)::-ms-input-placeholder,\n*::part(textarea)::-ms-input-placeholder {\n font-family: var(--sqm-primary-font);\n color: var(--sqm-text-subdued);\n}\n\n\n',w),o.sendCodeError&&r("sqm-form-message",{type:"error"},r("p",{part:"alert-title"},e.sendCodeErrorHeader),a.formatMessage({id:"sendCodeErrorDescription",defaultMessage:e.sendCodeErrorDescription},{supportLink:r("a",{target:"_blank",href:"mailto:advocate-support@impact.com"},e.supportLink)})),o.initialLoading?r("div",{class:k.classes.Wrapper},r("sl-skeleton",{class:k.classes.SkeletonOne}),r("sl-skeleton",{class:k.classes.SkeletonTwo}),r("sl-skeleton",{class:k.classes.SkeletonThree})):r("div",{class:k.classes.Wrapper},r(v,{type:"p"},e.verifyEmailHeaderText),r("sl-form",{"onSl-submit":n.submitEmail},r("div",{class:k.classes.InputsContainer},r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",label:e.emailLabel,value:o.email||"",type:"email",id:"email",name:"email",disabled:!!o.email||o.loading},o.error?{class:k.classes.ErrorInput,helpText:e.emailValidationErrorText}:{})),r("sl-button",{submit:!0,class:k.classes.ContinueButton,loading:o.loading,exportparts:"base: primarybutton-base",type:"primary"},e.sendCodeText)))))}const I=class{constructor(r){t(this,r),this.verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.",this.sendCodeErrorHeader="There was an error sending your code",this.supportLink="support team",this.sendCodeErrorDescription="Please try again. If this problem continues, contact our program {supportLink}.",this.emailLabel="Email",this.sendCodeText="Send code",this.emailValidationErrorText="Please enter a valid email",e(this)}disconnectedCallback(){}getTextProps(){return b(this)}render(){const t=d()?function(r){const t=u(h);return m({states:{error:!0,initialLoading:!1,loading:!1,email:"test@example.com",sendCodeError:!0},callbacks:{submitEmail:async()=>t(!0)},text:r.getTextProps()},r.demoData||{},{arrayMerge:(r,t)=>t})}(this):function(r){const[t,a]=i(h),[e,s]=i(y),[d,u]=o(!1),[m,b]=o(!1),[f,v]=o(!1),{initialized:k,send:[w,{}]}=q(),[j]=function(){const r=p(),[t,{loading:a,data:o,errors:n}]=c(x);return[async a=>{try{const o=await t({userInput:{id:r.id,accountId:r.accountId,email:a}});if(o instanceof Error||!o)throw new Error;return o}catch(r){return void console.error("Could not set email on user",r)}},{loading:a,data:o,errors:n}]}(),[I,z]=o(!0),{data:E,loading:C}=l(g,{}),S=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return n((()=>{(null==E?void 0:E.viewer)&&u(!!E.viewer.email)}),[E]),n((()=>{k&&z(!1)}),[k]),{callbacks:{submitEmail:async r=>{if(r.preventDefault(),!(null==E?void 0:E.viewer))return;z(!0);const t=E.viewer.email;if(!t){const t=r.detail.formData.get("email").toString();if(!S.test(t))return void b(!0);const a=await j(t);a&&a.user.email||b(!0)}if(!k)return;const o=await w();o&&o.success?(s(t),a(!0)):v(!0),z(!1)}},states:{loading:I,initialLoading:C&&!k,error:m,email:null==E?void 0:E.viewer.email,sendCodeError:f},text:r.getTextProps()}}(this);return r(j,Object.assign({},t))}};export{I as sqm_email_verification}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-bcb48c32.system.js","./p-1a673057.system.js","./p-36b1414b.system.js"],(function(e){"use strict";var a,l,r,i;return{setters:[function(e){a=e.h},function(e){l=e.i},function(e){r=e.c},function(e){i=e.f}],execute:function(){e("I",s);var n={Description:{fontSize:"var(--sl-font-size-small)",marginTop:"var(--sl-spacing-small)",margin:"0 0 var(--sl-spacing-large)",color:"var(--sqm-text-subdued)"},Header:{fontSize:"var(--sl-font-size-large)",fontWeight:"var(-sl-font-weight-semibold)",margin:"0 0 var(--sl-spacing-xxx-small)"},Container:{},InvoiceTableContaier:{"& sl-details::part(base)":{border:"none"},"& sl-details::part(content)":{padding:0},"& sl-details::part(header)":{fontSize:"var(--sl-font-size-medium)",padding:"0px"},"& sl-details::part(summary)":{fontWeight:"var(-sl-font-weight-semibold)"},"& sl-details::part(summary-icon)":{marginRight:"100%",marginLeft:"var(--sl-spacing-x-small)",transform:"rotate(90deg)"},"& sl-details[open]::part(summary-icon)":{transform:"rotate(270deg)"}}};function s(e,l){var i=r(n);var s=i.toString();var t="\n :host{\n display: block;\n }";return a("div",{class:i.classes.Container},a("style",{type:"text/css"},t,s),a("div",{class:i.classes.InvoiceTableContaier},a("sl-details",{summary:e.header},a("p",{class:i.classes.Description},e.description),l)))}var t=e("b",[{regionCode:"ALBERTA",taxType:"GST",displayName:"Alberta"},{regionCode:"BRITISHCOLUMBIA",taxType:"HST",displayName:"British Columbia"},{regionCode:"MANITOBA",taxType:"HST",displayName:"Manitoba"},{regionCode:"NEWBRUNSWICK",taxType:"HST",displayName:"New Brunswick"},{regionCode:"NEWFOUNDLANDLABRADOR",taxType:"HST",displayName:"Newfoundland"},{regionCode:"NORTHWESTTERRITORIES",taxType:"GST",displayName:"North West Territories"},{regionCode:"NOVASCOTIA",taxType:"HST",displayName:"Nova Scotia"},{regionCode:"NUNAVUT",taxType:"HST",displayName:"Nunavut"},{regionCode:"ONTARIO",taxType:"HST",displayName:"Ontario"},{regionCode:"PRINCEEDWARDISLAND",taxType:"HST",displayName:"Prince Edward Island"},{regionCode:"QUEBEC",taxType:"GST",displayName:"Quebec"},{regionCode:"SASKATCHEWAN",taxType:"HST",displayName:"Saskatchewan"},{regionCode:"YUKON",taxType:"GST",displayName:"Yukon"}]);var o=e("a",[{regionCode:"SPAINPROPER",taxType:"VAT",displayName:"Spain Proper"},{regionCode:"CANARYISLANDS",taxType:"VAT",displayName:"Canary Islands"}]);var u=e("A",{CA:{labelEnum:"PROVINCE",regions:[{label:"Alberta",value:"ALBERTA"},{label:"British Columbia",value:"BRITISHCOLUMBIA"},{label:"Manitoba",value:"MANITOBA"},{label:"New Brunswick",value:"NEWBRUNSWICK"},{label:"Newfoundland & Labrador",value:"NEWFOUNDLANDANDLABRADOR"},{label:"Northwest Territories",value:"NORTHWESTTERRITORIES"},{label:"Nova Scotia",value:"NOVASCOTIA"},{label:"Nunavut",value:"NUNAVUT"},{label:"Ontario",value:"ONTARIO"},{label:"Prince Edward Island",value:"PRINCEEDWARDISLAND"},{label:"Quebec",value:"QUEBEC"},{label:"Saskatchewan",value:"SASKATCHEWAN"},{label:"Yukon",value:"YUKON"}]},ES:{labelEnum:"REGION",regions:[{label:"Canary Islands",value:"CANARYISLANDS"},{label:"Spain Proper",value:"SPAINPROPER"}]},AU:{labelEnum:"STATE",regions:[{label:"Australian Capital Territory",value:"CAPITALTERRITORY"},{label:"New South Wales",value:"NEWSOUTHWALES"},{label:"Northern Territory",value:"NORTHERNTERRITORY"},{label:"Queensland",value:"QUEENSLAND"},{label:"South Australia",value:"SOUTHAUSTRALIA"},{label:"Tasmania",value:"TASMANIA"},{label:"Victoria",value:"VICTORIA"},{label:"Western Australia",value:"WESTERNAUSTRALIA"}]},US:{labelEnum:"STATE",regions:[{label:"Alabama",value:"ALABAMA"},{label:"Alaska",value:"ALASKA"},{label:"Arizona",value:"ARIZONA"},{label:"Arkansas",value:"ARKANSAS"},{label:"California",value:"CALIFORNIA"},{label:"Colorado",value:"COLORADO"},{label:"Connecticut",value:"CONNECTICUT"},{label:"Delaware",value:"DELAWARE"},{label:"District of Columbia",value:"DISTRICTOFCOLUMBIA"},{label:"Florida",value:"FLORIDA"},{label:"Georgia",value:"GEORGIA"},{label:"Hawaii",value:"HAWAII"},{label:"Idaho",value:"IDAHO"},{label:"Illinois",value:"ILLINOIS"},{label:"Indiana",value:"INDIANA"},{label:"Iowa",value:"IOWA"},{label:"Kansas",value:"KANSAS"},{label:"Kentucky",value:"KENTUCKY"},{label:"Louisiana",value:"LOUISIANA"},{label:"Maine",value:"MAINE"},{label:"Maryland",value:"MARYLAND"},{label:"Massachusetts",value:"MASSACHUSETTS"},{label:"Michigan",value:"MICHIGAN"},{label:"Minnesota",value:"MINNESOTA"},{label:"Mississippi",value:"MISSISSIPPI"},{label:"Missouri",value:"MISSOURI"},{label:"Montana",value:"MONTANA"},{label:"Nebraska",value:"NEBRASKA"},{label:"Nevada",value:"NEVADA"},{label:"New Hampshire",value:"NEWHAMPSHIRE"},{label:"New Jersey",value:"NEWJERSEY"},{label:"New Mexico",value:"NEWMEXICO"},{label:"New York",value:"NEWYORK"},{label:"North Carolina",value:"NORTHCAROLINA"},{label:"North Dakota",value:"NORTHDAKOTA"},{label:"Ohio",value:"OHIO"},{label:"Oklahoma",value:"OKLAHOMA"},{label:"Oregon",value:"OREGON"},{label:"Pennsylvania",value:"PENNSYLVANIA"},{label:"Rhode Island",value:"RHODEISLAND"},{label:"South Carolina",value:"SOUTHCAROLINA"},{label:"South Dakota",value:"SOUTHDAKOTA"},{label:"Tennessee",value:"TENNESSEE"},{label:"Texas",value:"TEXAS"},{label:"Utah",value:"UTAH"},{label:"Vermont",value:"VERMONT"},{label:"Virgin Islands",value:"VIRGINISLANDS"},{label:"Virginia",value:"VIRGINIA"},{label:"Washington",value:"WASHINGTON"},{label:"West Virginia",value:"WESTVIRGINIA"},{label:"Wisconsin",value:"WISCONSIN"},{label:"Wyoming",value:"WYOMING"},{label:"Americas Forces",value:"AAMILITARY"},{label:"Europe, Middle East, Canada, Africa and Canada Forces",value:"AEMILITARY"},{label:"Pacific Forces",value:"APMILITARY"},{label:"Other",value:"OTHER"}]}});var d=e("v",{GB:"VAT",AU:"GST",NZ:"GST",CA:"HST",AT:"VAT",BE:"VAT",BG:"VAT",HR:"VAT",CY:"VAT",CZ:"VAT",DK:"VAT",EE:"VAT",FI:"VAT",FR:"VAT",DE:"VAT",GR:"VAT",HU:"VAT",IE:"VAT",IT:"VAT",LV:"VAT",LT:"VAT",LU:"VAT",MT:"VAT",NL:"VAT",PL:"VAT",PT:"VAT",RO:"VAT",SK:"VAT",SI:"VAT",ES:"VAT",SE:"VAT",IS:"VAT",IN:"GST",IL:"VAT",JP:"CT",MX:"VAT",NO:"VAT",SG:"GST",ZA:"VAT",KR:"VAT",CH:"VAT",TW:"VAT",TH:"VAT",PH:"VAT",MY:"SST",AE:"VAT",TR:"VAT",RU:"VAT"});var b={Container:{width:"100%"},InputContainer:{width:"100%",display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"16px",padding:"16px",maxWidth:"450px"},ConditionalInputsContainer:{width:"100%",display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"16px"},HR:{border:"var(--sqm-border-thickness, 1px) solid #E0E0E0",margin:"10px 0"},Input:{maxWidth:"500px"},Checkbox:{"&::part(control)":{borderRadius:"0 !important"}},SearchInput:{padding:"var(--sl-spacing-x-small)"},ErrorInput:{maxWidth:"500px","&::part(base)":{border:"var(--sqm-border-thickness, 1px) solid var(--sl-color-danger-500)",borderRadius:"var(--sl-input-border-radius-medium)"},"&::part(help-text)":{color:"var(--sl-color-danger-500)"}}};var T=r(b);var A=T.toString();var v="\n :host{\n display: block; \n }\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n ";var p=e("O",(function(e){var r,n,s;var o=e.states,u=e.states.formState,b=e.callbacks,p=e.text;var c=T.classes;var N=function(e){return l.formatMessage({id:"tax-field-label"+e,defaultMessage:p.indirectTaxNumber},{taxType:e})};var I=function(e){return l.formatMessage({id:"tax-field-label"+e,defaultMessage:p.error.indirectTaxNumber},{taxType:e})};var S=function(e){var l=e.label,r=e.error,i=e.name;var n;return a("sl-input",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,label:l,disabled:o.loading||o.disabled,value:u[i]},((n=u.errors)===null||n===void 0?void 0:n[i])&&{class:c.ErrorInput,helpText:r},{id:i,name:"/"+i}))};var m=function(){var l,r;return a("div",{class:c.ConditionalInputsContainer},a("sl-select",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,value:u.subRegion,label:p.subRegion,disabled:o.loading||o.disabled},((l=u.errors)===null||l===void 0?void 0:l.indirectTaxNumber)&&{class:c.ErrorInput,helpText:i(p.subRegion,p.error.fieldRequiredError)},{id:"subRegion",name:"/subRegion"}),e.data.esRegions.map((function(e){return a("sl-menu-item",{value:e.regionCode},e.displayName)}))),a(S,{name:"indirectTaxNumber",label:N("VAT"),error:I("VAT")}),a("sl-checkbox",{class:c.Checkbox,exportparts:"label: input-label, base: input-base",checked:u.hasSubRegionTaxNumber,"onSl-change":b.onSpainToggle,disabled:o.disabled||o.isPartner},p.isRegisteredSubRegionIncomeTax),u.hasSubRegionTaxNumber&&a("sl-input",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,label:p.subRegionTaxNumberLabel,disabled:o.loading||o.disabled,value:u.subRegionTaxNumber},((r=u.errors)===null||r===void 0?void 0:r.subRegionTaxNumber)&&{class:c.ErrorInput,helpText:i(p.subRegionTaxNumberLabel,p.error.fieldRequiredError)},{id:"subRegionTaxNumber",name:"/subRegionTaxNumber"})))};var R=function(){var l,r;var n=T.classes;var s=(l=t===null||t===void 0?void 0:t.find((function(e){return e.regionCode===u.province})))===null||l===void 0?void 0:l.taxType;return a("div",{class:n.ConditionalInputsContainer},a("sl-select",Object.assign({required:true,value:u.province,exportparts:"label: input-label, base: input-base",class:n.Input,label:p.province,disabled:o.loading||o.disabled,"onSl-select":function(e){return b.onFormChange("province",e)}},((r=u.errors)===null||r===void 0?void 0:r.province)&&{class:n.ErrorInput,helpText:i(p.province,p.error.fieldRequiredError)},{id:"province",name:"/province"}),e.data.provinces.map((function(e){return a("sl-menu-item",{value:e.regionCode},e.displayName)}))),s==="GST"&&a(S,{label:N("GST"),error:I("GST"),name:"indirectTaxNumber"}),s==="HST"&&a(S,{label:N("HST"),error:I("HST"),name:"indirectTaxNumber"}),u.province==="QUEBEC"&&a("div",{class:n.ConditionalInputsContainer},a("sl-checkbox",{class:n.Checkbox,exportparts:"label: input-label, base: input-base","onSl-change":b.onQstToggle,checked:u.hasQst,disabled:o.isPartner||o.disabled},p.isRegisteredQST),u.hasQst&&a(S,{name:"qstNumber",label:p.qstNumber,error:i(p.qstNumber,p.error.fieldRequiredError)})))};var g=function(e){var l;switch(e){case"CA":return a(R,null);case"ES":return a(m,null);default:return a("sl-input",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,value:u.indirectTaxNumber,label:N(d[e]||"GENERAL"),disabled:o.loading||o.disabled},((l=u.errors)===null||l===void 0?void 0:l.indirectTaxNumber)&&{class:c.ErrorInput,helpText:I(d[e]||"GENERAL")},{id:"indirectTaxNumber",name:"/indirectTaxNumber"}))}};var E=g(u.selectedRegion);return a("div",{style:o.hide?{display:"none"}:{}},a("form",{class:c.Container},a("style",{type:"text/css"},A,v),a("hr",{class:c.HR}),a("div",{class:c.InputContainer},a("sl-select",Object.assign({required:true,class:c.Input,value:u.selectedRegion,exportparts:"label: input-label, base: input-base",label:p.selectedRegion,disabled:o.loading||o.disabled,"onSl-select":function(e){return b.onFormChange("selectedRegion",e)}},((r=u.errors)===null||r===void 0?void 0:r.selectedRegion)&&{class:c.ErrorInput,helpText:i(p.selectedRegion,p.error.fieldRequiredError)},{id:"selectedRegion",name:"/selectedRegion"}),a("sl-input",{class:c.SearchInput,placeholder:p.searchForCountryText,onKeyDown:function(e){e.stopPropagation()},"onSl-input":function(e){b.setCountrySearch(e.target.value)}}),(n=e.data.countries)===null||n===void 0?void 0:n.map((function(e){return a("sl-menu-item",{value:e.countryCode},e.displayName)})),(s=e.data.allCountries)===null||s===void 0?void 0:s.map((function(e){return a("sl-menu-item",{value:e.countryCode,style:{display:"none"}},e.displayName)}))),E),a("hr",{class:c.HR})))}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as s}from"./p-
|
|
1
|
+
import{h as t,r as s}from"./p-c7c11325.js";import{i,k as n,n as e}from"./p-63e29387.js";import{i as r}from"./p-8e2bead4.js";import{c as l}from"./p-c1086930.js";import{g as a}from"./p-6951663b.js";import{c as o}from"./p-cef45012.js";import{E as u}from"./p-49b20dae.js";import{R as c}from"./p-cab1f502.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,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",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(a(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(a(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
|