@saasquatch/mint-components 2.0.4-9 → 2.0.5-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{IndirectTaxDetailsView-d39b895d.js → IndirectTaxDetailsView-659a139c.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-7066fae7.js → ShadowViewAddon-ae3a32c3.js} +24 -22
- package/dist/cjs/{global-94f36ad7.js → global-e862bfd4.js} +54 -55
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +43 -29
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +18 -27
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +4 -7
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-form-message_2.cjs.entry.js → sqm-form-message.cjs.entry.js} +0 -50
- package/dist/cjs/{sqm-lead-checkbox-field-view-c0123bfa.js → sqm-lead-checkbox-field-view-dca40eb4.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-input-field-view-6983eaa1.js → sqm-lead-input-field-view-2006001f.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-d968178a.js → sqm-portal-email-verification-view-1745d9a2.js} +6 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-f74b8d6c.js → sqm-portal-profile-view-5c5e29b1.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-qr-code-view-a2889aee.js → sqm-qr-code-view-4ccf89da.js} +5 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +52 -85
- package/dist/cjs/{useLeadFormState-f8b33c07.js → useLeadFormState-91999606.js} +1 -1
- package/dist/cjs/{utils-5ecfecd9.js → utils-4eb18a29.js} +30 -18
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +0 -5
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +0 -30
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +5 -5
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +7 -5
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +0 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +5 -3
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +5 -1
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +5 -5
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +8 -8
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +5 -5
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-stencilbook/Themes.js +0 -12
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +3 -6
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +14 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +29 -17
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +15 -5
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -14
- package/dist/collection/global/styles.js +54 -55
- package/dist/collection/global/styles.ts +1 -6
- package/dist/collection/tables/TableSlots.js +6 -6
- package/dist/esm/{IndirectTaxDetailsView-a7dd6e4c.js → IndirectTaxDetailsView-8dec05e4.js} +2 -2
- package/dist/esm/{ShadowViewAddon-fe2896cb.js → ShadowViewAddon-78a1c35c.js} +24 -22
- package/dist/esm/{global-536c422d.js → global-58a69018.js} +54 -55
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +43 -29
- package/dist/esm/sqm-big-stat_47.entry.js +18 -27
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +4 -7
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-form-message_2.entry.js → sqm-form-message.entry.js} +1 -50
- package/dist/esm/{sqm-lead-checkbox-field-view-5c387852.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +3 -3
- package/dist/esm/{sqm-lead-input-field-view-fa2488c9.js → sqm-lead-input-field-view-d543d939.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-8bbe5fcf.js → sqm-portal-email-verification-view-5fb1a99e.js} +6 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/{sqm-qr-code-view-804b8bb6.js → sqm-qr-code-view-ea505213.js} +5 -1
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +52 -85
- package/dist/esm/{useLeadFormState-5a6188da.js → useLeadFormState-8d4b2620.js} +1 -1
- package/dist/esm/{utils-fafc712f.js → utils-2695a43e.js} +30 -18
- package/dist/esm-es5/{IndirectTaxDetailsView-a7dd6e4c.js → IndirectTaxDetailsView-8dec05e4.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-fe2896cb.js → ShadowViewAddon-78a1c35c.js} +1 -1
- package/dist/esm-es5/{global-536c422d.js → global-58a69018.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.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 -0
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-5c387852.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-fa2488c9.js → sqm-lead-input-field-view-d543d939.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-5fb1a99e.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-804b8bb6.js → sqm-qr-code-view-ea505213.js} +1 -1
- 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_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{useLeadFormState-5a6188da.js → useLeadFormState-8d4b2620.js} +1 -1
- package/dist/esm-es5/utils-2695a43e.js +1 -0
- package/dist/mint-components/global/styles.ts +1 -6
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-902b919d.system.entry.js → p-011c0990.system.entry.js} +1 -1
- package/dist/mint-components/{p-d6d31505.js → p-027c0b10.js} +32 -32
- package/dist/mint-components/{p-f6305644.js → p-088f082f.js} +1 -1
- package/dist/mint-components/{p-05e8620f.system.entry.js → p-0c024cf0.system.entry.js} +1 -1
- package/dist/mint-components/p-0d71303d.js +1 -0
- package/dist/mint-components/{p-33fff374.system.js → p-1215518e.system.js} +1 -1
- package/dist/mint-components/{p-b8878552.entry.js → p-12e6cea7.entry.js} +2 -2
- package/dist/mint-components/{p-19e407bd.system.js → p-13c6673e.system.js} +1 -1
- package/dist/mint-components/{p-4130caec.js → p-1aa9136c.js} +1 -1
- package/dist/mint-components/{p-a65610e3.entry.js → p-1b79b186.entry.js} +1 -1
- package/dist/mint-components/{p-ceb79149.js → p-1d8c5935.js} +1 -1
- package/dist/mint-components/{p-d07a46c6.system.entry.js → p-2ea3eea9.system.entry.js} +1 -1
- package/dist/mint-components/p-325c5476.js +1 -0
- package/dist/mint-components/{p-4b595fc3.system.entry.js → p-36a1fa33.system.entry.js} +1 -1
- package/dist/mint-components/p-3f661133.system.entry.js +1 -0
- package/dist/mint-components/{p-66effbef.entry.js → p-43ad51bc.entry.js} +1 -1
- package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
- package/dist/mint-components/{p-a71edffc.system.js → p-4965dae4.system.js} +1 -1
- package/dist/mint-components/{p-69bd9de3.entry.js → p-4c02afc8.entry.js} +7 -7
- package/dist/mint-components/{p-1e156272.system.js → p-4cc72a4e.system.js} +1 -1
- package/dist/mint-components/{p-8a24b9a9.entry.js → p-58c79873.entry.js} +1 -1
- package/dist/mint-components/{p-48bc3283.system.js → p-5fbe6356.system.js} +1 -1
- package/dist/mint-components/{p-30f37386.entry.js → p-6076dbaf.entry.js} +2 -2
- package/dist/mint-components/{p-1e0a8579.entry.js → p-775214ef.entry.js} +2 -2
- package/dist/mint-components/p-78dda262.system.js +1 -0
- package/dist/mint-components/p-829cb9ed.system.entry.js +1 -0
- package/dist/mint-components/{p-af02f28c.system.js → p-8618e8f6.system.js} +1 -1
- package/dist/mint-components/p-8d9fa981.system.js +1 -0
- package/dist/mint-components/p-947bacd1.system.js +1 -0
- package/dist/mint-components/{p-005ee5bf.js → p-988f236f.js} +1 -1
- package/dist/mint-components/{p-dcdd959e.entry.js → p-9a3ff9b9.entry.js} +2 -2
- package/dist/mint-components/{p-4e3303a8.system.entry.js → p-9d46f87f.system.entry.js} +1 -1
- package/dist/mint-components/{p-2192a6d7.entry.js → p-a470e203.entry.js} +2 -2
- package/dist/mint-components/p-a974c549.js +1 -0
- package/dist/mint-components/p-ab1e34f5.system.entry.js +1 -0
- package/dist/mint-components/p-ac9138fd.entry.js +1 -0
- package/dist/mint-components/{p-80196216.entry.js → p-ad3ebf4d.entry.js} +1 -1
- package/dist/mint-components/{p-78968e5f.js → p-bf044217.js} +1 -1
- package/dist/mint-components/{p-000dc98f.system.entry.js → p-c6e8086f.system.entry.js} +1 -1
- package/dist/mint-components/p-c7ac295d.system.entry.js +1 -0
- package/dist/mint-components/p-d88d8ffe.entry.js +1 -0
- package/dist/mint-components/p-dc5bca55.entry.js +1 -0
- package/dist/mint-components/{p-8f6b3391.system.entry.js → p-deecffd0.system.entry.js} +1 -1
- package/dist/mint-components/{p-e712a01d.entry.js → p-e19f0908.entry.js} +2 -2
- package/dist/mint-components/{p-648f881e.system.js → p-e3ee8c37.system.js} +1 -1
- package/dist/mint-components/p-e8bda98a.system.entry.js +1 -0
- package/dist/mint-components/p-ee3a7577.entry.js +144 -0
- package/dist/mint-components/p-ee83de0e.js +448 -0
- package/dist/mint-components/{p-f380bcd9.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45124c1.system.entry.js → p-f5256738.system.entry.js} +1 -1
- package/dist/mint-components/p-f5820d03.system.js +1 -0
- package/dist/mint-components/{p-a7157ef3.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/mint-components/{p-d8d818d9.system.entry.js → p-fcf8bdbc.system.entry.js} +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +0 -6
- package/dist/types/components.d.ts +0 -39
- package/dist/types/saasquatch.d.ts +0 -4
- package/docs/docs.docx +0 -0
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-skeleton/Skeleton.stories.js +0 -16
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +0 -90
- package/dist/esm-es5/sqm-form-message_2.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-8bbe5fcf.js +0 -1
- package/dist/esm-es5/utils-fafc712f.js +0 -1
- package/dist/mint-components/p-0d3803a2.js +0 -1
- package/dist/mint-components/p-10aea972.system.js +0 -1
- package/dist/mint-components/p-28973c9b.entry.js +0 -144
- package/dist/mint-components/p-397a5adf.system.entry.js +0 -1
- package/dist/mint-components/p-3ad8e1af.system.js +0 -1
- package/dist/mint-components/p-566d837b.system.js +0 -1
- package/dist/mint-components/p-59332a30.entry.js +0 -1
- package/dist/mint-components/p-5d39d345.system.entry.js +0 -1
- package/dist/mint-components/p-6c528a8c.system.entry.js +0 -1
- package/dist/mint-components/p-7c9520b7.system.js +0 -1
- package/dist/mint-components/p-8af550b9.system.entry.js +0 -1
- package/dist/mint-components/p-a115c57a.system.entry.js +0 -1
- package/dist/mint-components/p-a92c692b.js +0 -448
- package/dist/mint-components/p-ab4c0642.js +0 -1
- package/dist/mint-components/p-af758193.entry.js +0 -1
- package/dist/mint-components/p-c37744c7.entry.js +0 -1
- package/dist/mint-components/p-e0c7640f.js +0 -1
- package/dist/mint-components/p-ede77156.system.entry.js +0 -1
- package/dist/types/components/sqm-skeleton/Skeleton.stories.d.ts +0 -8
- package/dist/types/components/sqm-skeleton/sqm-skeleton.d.ts +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host, g as getElement } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, _, L, J, t as Pn, F as Fn, x as $n, $ as $e, i as isDemo, p as En, u as useCallback, R as Rn, w as wn } from './index.module-c9811a48.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
@@ -12,8 +12,8 @@ import { u as useRerenderListener, a as useRequestRerender } from './re-render-7
|
|
|
12
12
|
import { u as useChildElements } from './useChildElements-3d872cef.js';
|
|
13
13
|
import { l as luxon } from './luxon-bbf75a9d.js';
|
|
14
14
|
import { g as generateUserError } from './useReferralTable-909ccb28.js';
|
|
15
|
-
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-
|
|
16
|
-
import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-
|
|
15
|
+
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-8dec05e4.js';
|
|
16
|
+
import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-2695a43e.js';
|
|
17
17
|
import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
|
|
18
18
|
import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, j as TAX_FORM_UPDATED_EVENT_KEY, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, k as useVeriffApp, l as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, C as CURRENCIES_NAMESPACE } from './data-68816061.js';
|
|
19
19
|
|
|
@@ -2480,7 +2480,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2480
2480
|
}, {
|
|
2481
2481
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2482
2482
|
}))),
|
|
2483
|
-
states.isPartner && (h("sqm-form-message", {
|
|
2483
|
+
states.isPartner && (h("sqm-form-message", { type: "info" },
|
|
2484
2484
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
2485
2485
|
intl.formatMessage({
|
|
2486
2486
|
id: "isPartnerAlertDescription",
|
|
@@ -3267,7 +3267,7 @@ function LoadingSlot() {
|
|
|
3267
3267
|
return (h("slot", { name: "loading" }, h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null)));
|
|
3268
3268
|
}
|
|
3269
3269
|
function LoadingRow() {
|
|
3270
|
-
return (h("sqm-table-row", null, h("sqm-table-cell", { colspan: 6 }, h("
|
|
3270
|
+
return (h("sqm-table-row", null, h("sqm-table-cell", { colspan: 6 }, h("sl-skeleton", null))));
|
|
3271
3271
|
}
|
|
3272
3272
|
function useInvoiceTableDemo(props, emptyElement, loadingElement) {
|
|
3273
3273
|
const [content, setContent] = useReducer((state, next) => ({
|
|
@@ -3553,11 +3553,11 @@ function PayoutDetailsCardView(props) {
|
|
|
3553
3553
|
const { states, text } = props;
|
|
3554
3554
|
const renderLoadingSkeleton = () => {
|
|
3555
3555
|
return (h("div", { class: classes.CardContainer },
|
|
3556
|
-
h("div", { class: classes.StatusContainer
|
|
3557
|
-
h("
|
|
3558
|
-
h("
|
|
3559
|
-
h("
|
|
3560
|
-
h("
|
|
3556
|
+
h("div", { class: classes.StatusContainer },
|
|
3557
|
+
h("sl-skeleton", { class: classes.SkeletonOne }),
|
|
3558
|
+
h("sl-skeleton", { class: classes.SkeletonTwo })),
|
|
3559
|
+
h("sl-skeleton", { class: classes.SkeletonThree }),
|
|
3560
|
+
h("sl-skeleton", { class: classes.SkeletonOne })));
|
|
3561
3561
|
};
|
|
3562
3562
|
const renderStatusBadge = (status, statusBadgeText) => {
|
|
3563
3563
|
const badgeType = status === "nextPayout" ? "success" : "primary";
|
|
@@ -3830,6 +3830,16 @@ const style$5 = {
|
|
|
3830
3830
|
EditBankDetailsButton: {
|
|
3831
3831
|
marginTop: "var(--sl-spacing-large)",
|
|
3832
3832
|
},
|
|
3833
|
+
SkeletonOne: {
|
|
3834
|
+
width: "15%",
|
|
3835
|
+
height: "10px",
|
|
3836
|
+
},
|
|
3837
|
+
SkeletonTwo: {
|
|
3838
|
+
width: "25%",
|
|
3839
|
+
height: "24px",
|
|
3840
|
+
top: "var(--sl-spacing-small)",
|
|
3841
|
+
marginBottom: "var(--sl-spacing-x-small)",
|
|
3842
|
+
},
|
|
3833
3843
|
TaxSectionSkeletonContainer: {
|
|
3834
3844
|
display: "flex",
|
|
3835
3845
|
flexDirection: "column",
|
|
@@ -4265,7 +4275,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4265
4275
|
}, {
|
|
4266
4276
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4267
4277
|
}))),
|
|
4268
|
-
alertInfo && (h("sqm-form-message", {
|
|
4278
|
+
alertInfo && (h("sqm-form-message", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
|
|
4269
4279
|
h("strong", null, alertInfo.header),
|
|
4270
4280
|
h("p", { style: { margin: "0" } }, alertInfo.description),
|
|
4271
4281
|
alertInfo.buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
|
|
@@ -4283,8 +4293,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4283
4293
|
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4284
4294
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
4285
4295
|
h("div", null, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4286
|
-
h("
|
|
4287
|
-
h("
|
|
4296
|
+
h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
4297
|
+
h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null,
|
|
4288
4298
|
h("div", null,
|
|
4289
4299
|
h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
|
|
4290
4300
|
h("div", { class: sheet$4.classes.StatusContainer },
|
|
@@ -4298,8 +4308,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4298
4308
|
states.noFormNeeded &&
|
|
4299
4309
|
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$4.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
4300
4310
|
h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4301
|
-
h("
|
|
4302
|
-
h("
|
|
4311
|
+
h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
4312
|
+
h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null,
|
|
4303
4313
|
h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
|
|
4304
4314
|
text.indirectTaxInfoSectionHeader,
|
|
4305
4315
|
h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
|
|
@@ -6182,10 +6192,14 @@ const UserInfoFormView = (props) => {
|
|
|
6182
6192
|
default:
|
|
6183
6193
|
regionLabel = text.state;
|
|
6184
6194
|
}
|
|
6185
|
-
function
|
|
6195
|
+
function isDisabledPartnerInput(field) {
|
|
6186
6196
|
var _a;
|
|
6187
6197
|
return states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
6188
6198
|
}
|
|
6199
|
+
function isDisabledUserInput(field) {
|
|
6200
|
+
var _a;
|
|
6201
|
+
return states.isUser && !!((_a = states.formState) === null || _a === void 0 ? void 0 : _a[field]);
|
|
6202
|
+
}
|
|
6189
6203
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
6190
6204
|
h("style", { type: "text/css" },
|
|
6191
6205
|
styleString$5,
|
|
@@ -6216,7 +6230,7 @@ const UserInfoFormView = (props) => {
|
|
|
6216
6230
|
}, {
|
|
6217
6231
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
6218
6232
|
})))),
|
|
6219
|
-
(states.isPartner || states.isUser) && (h("sqm-form-message", {
|
|
6233
|
+
(states.isPartner || states.isUser) && (h("sqm-form-message", { type: "info" },
|
|
6220
6234
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
6221
6235
|
h("p", { part: "alert-description" }, intl.formatMessage({
|
|
6222
6236
|
id: "isPartnerAlertDescription",
|
|
@@ -6227,21 +6241,21 @@ const UserInfoFormView = (props) => {
|
|
|
6227
6241
|
h("div", null,
|
|
6228
6242
|
h("div", { class: classes.InputContainer },
|
|
6229
6243
|
h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled ||
|
|
6230
|
-
|
|
6231
|
-
|
|
6244
|
+
isDisabledUserInput("firstName") ||
|
|
6245
|
+
isDisabledPartnerInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|
|
6232
6246
|
class: classes.ErrorInput,
|
|
6233
6247
|
helpText: formatErrorMessage(text.firstName, formState.errors.firstName),
|
|
6234
6248
|
}
|
|
6235
6249
|
: {}), { id: "firstName", name: "/firstName", required: true })),
|
|
6236
6250
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled ||
|
|
6237
|
-
|
|
6238
|
-
|
|
6251
|
+
isDisabledUserInput("lastName") ||
|
|
6252
|
+
isDisabledPartnerInput("lastName") }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
|
|
6239
6253
|
class: classes.ErrorInput,
|
|
6240
6254
|
helpText: formatErrorMessage(text.lastName, formState.errors.lastName),
|
|
6241
6255
|
}
|
|
6242
6256
|
: {}), { id: "lastName", name: "/lastName", required: true })),
|
|
6243
6257
|
h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
|
|
6244
|
-
h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled ||
|
|
6258
|
+
h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || isDisabledPartnerInput("countryCode") }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
|
|
6245
6259
|
class: classes.ErrorInput,
|
|
6246
6260
|
helpText: formatErrorMessage(text.country, formState.errors.countryCode),
|
|
6247
6261
|
}
|
|
@@ -6258,7 +6272,7 @@ const UserInfoFormView = (props) => {
|
|
|
6258
6272
|
h("p", null, text.phoneNumber),
|
|
6259
6273
|
h("div", { class: classes.PhoneInputsContainer },
|
|
6260
6274
|
h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled ||
|
|
6261
|
-
|
|
6275
|
+
isDisabledPartnerInput("phoneNumberCountryCode"), ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
|
|
6262
6276
|
class: classes.ErrorInput,
|
|
6263
6277
|
}
|
|
6264
6278
|
: {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("phoneCountry", e) }),
|
|
@@ -6284,7 +6298,7 @@ const UserInfoFormView = (props) => {
|
|
|
6284
6298
|
// Naive phone number validation
|
|
6285
6299
|
validateBillingField(/[a-zA-Z]+/, value) &&
|
|
6286
6300
|
formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError);
|
|
6287
|
-
}, disabled: states.disabled ||
|
|
6301
|
+
}, disabled: states.disabled || isDisabledPartnerInput("phoneNumber") }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
|
|
6288
6302
|
class: classes.ErrorInput,
|
|
6289
6303
|
helpText: formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
|
|
6290
6304
|
}
|
|
@@ -6292,7 +6306,7 @@ const UserInfoFormView = (props) => {
|
|
|
6292
6306
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
|
|
6293
6307
|
// Checks for non-ASCII characters
|
|
6294
6308
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6295
|
-
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled ||
|
|
6309
|
+
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledPartnerInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
|
|
6296
6310
|
class: classes.ErrorInput,
|
|
6297
6311
|
helpText: formatErrorMessage(text.address, formState.errors.address),
|
|
6298
6312
|
}
|
|
@@ -6300,22 +6314,22 @@ const UserInfoFormView = (props) => {
|
|
|
6300
6314
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
|
|
6301
6315
|
// Checks for non-ASCII characters
|
|
6302
6316
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6303
|
-
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled ||
|
|
6317
|
+
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledPartnerInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
|
|
6304
6318
|
class: classes.ErrorInput,
|
|
6305
6319
|
helpText: formatErrorMessage(text.city, formState.errors.city),
|
|
6306
6320
|
}
|
|
6307
6321
|
: {}), { required: true })),
|
|
6308
|
-
!states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled ||
|
|
6322
|
+
!states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledPartnerInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
|
|
6309
6323
|
class: classes.ErrorInput,
|
|
6310
6324
|
helpText: formatErrorMessage(text.state, formState.errors.state),
|
|
6311
6325
|
}
|
|
6312
6326
|
: {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
|
|
6313
|
-
h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled ||
|
|
6327
|
+
h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledPartnerInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
|
|
6314
6328
|
class: classes.ErrorInput,
|
|
6315
6329
|
helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
6316
6330
|
}
|
|
6317
6331
|
: {}), { required: true })),
|
|
6318
|
-
h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled ||
|
|
6332
|
+
h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledPartnerInput("currency"), helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
|
|
6319
6333
|
class: classes.ErrorInput,
|
|
6320
6334
|
helpText: formatErrorMessage(text.currency, formState.errors.currency),
|
|
6321
6335
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { b as buildFontsCssUrl, i as intl } from './global-
|
|
2
|
+
import { b as buildFontsCssUrl, i as intl } from './global-58a69018.js';
|
|
3
3
|
import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, u as useCallback, L, y as yn, j as jn, q as Ue, r as un, V as Ve, b as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-c9811a48.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
@@ -17,15 +17,15 @@ import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
|
17
17
|
import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
|
|
18
18
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-24d594ea.js';
|
|
19
19
|
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dda1f52b.js';
|
|
20
|
-
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-
|
|
20
|
+
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-8d4b2620.js';
|
|
21
21
|
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
22
22
|
import { u as usePortalLogin } from './usePortalLogin-f95bbc67.js';
|
|
23
23
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
24
24
|
import { i as isEmpty } from './utilities-72c07b09.js';
|
|
25
25
|
import { E as ErrorView } from './ErrorView-bbf0a042.js';
|
|
26
|
-
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
26
|
+
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-78a1c35c.js';
|
|
27
27
|
import './sqm-portal-container-view-176e92e3.js';
|
|
28
|
-
import { g as getCountryObj, L as LoadingView } from './utils-
|
|
28
|
+
import { g as getCountryObj, L as LoadingView } from './utils-2695a43e.js';
|
|
29
29
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
30
30
|
import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-68816061.js';
|
|
31
31
|
|
|
@@ -53,10 +53,6 @@ const Netflix = {
|
|
|
53
53
|
borderThickness: 1,
|
|
54
54
|
},
|
|
55
55
|
color: {
|
|
56
|
-
loadingSkeleton: {
|
|
57
|
-
background: "#272727",
|
|
58
|
-
animationBackground: "#E50914",
|
|
59
|
-
},
|
|
60
56
|
textColorShades: {
|
|
61
57
|
mainText: "white",
|
|
62
58
|
subduedText: "#B3B3B3",
|
|
@@ -148,10 +144,6 @@ const Amazon = {
|
|
|
148
144
|
},
|
|
149
145
|
color: {
|
|
150
146
|
backgroundColor: "#ffffff",
|
|
151
|
-
loadingSkeleton: {
|
|
152
|
-
background: "hsl(240 4.8% 95.9%)",
|
|
153
|
-
animationBackground: "#FF9900",
|
|
154
|
-
},
|
|
155
147
|
textColorShades: {
|
|
156
148
|
mainText: "#2f2f2f",
|
|
157
149
|
subduedText: "#565959",
|
|
@@ -240,10 +232,6 @@ const Spotify = {
|
|
|
240
232
|
borderThickness: 1,
|
|
241
233
|
},
|
|
242
234
|
color: {
|
|
243
|
-
loadingSkeleton: {
|
|
244
|
-
background: "#282928",
|
|
245
|
-
animationBackground: "#1ed760",
|
|
246
|
-
},
|
|
247
235
|
textColorShades: {
|
|
248
236
|
mainText: "white",
|
|
249
237
|
subduedText: "white",
|
|
@@ -3077,8 +3065,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3077
3065
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3078
3066
|
}),
|
|
3079
3067
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3080
|
-
h$1("sl-button", { disabled: states.loading, type: "primary",
|
|
3081
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3068
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3069
|
+
h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3082
3070
|
alertType: "warning",
|
|
3083
3071
|
icon: "exclamation-triangle",
|
|
3084
3072
|
};
|
|
@@ -3092,8 +3080,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3092
3080
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3093
3081
|
}),
|
|
3094
3082
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3095
|
-
h$1("sl-button", { disabled: states.loading, type: "primary",
|
|
3096
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3083
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3084
|
+
h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3097
3085
|
alertType: "warning",
|
|
3098
3086
|
icon: "exclamation-triangle",
|
|
3099
3087
|
};
|
|
@@ -3107,8 +3095,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3107
3095
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3108
3096
|
}),
|
|
3109
3097
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3110
|
-
h$1("sl-button", { disabled: states.loading, type: "primary",
|
|
3111
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3098
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3099
|
+
h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3112
3100
|
alertType: "warning",
|
|
3113
3101
|
icon: "exclamation-triangle",
|
|
3114
3102
|
};
|
|
@@ -3122,7 +3110,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3122
3110
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3123
3111
|
}),
|
|
3124
3112
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3125
|
-
h$1("sl-button", { disabled: states.loading, type: "primary",
|
|
3113
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3126
3114
|
alertType: "warning",
|
|
3127
3115
|
icon: "exclamation-triangle",
|
|
3128
3116
|
};
|
|
@@ -3136,7 +3124,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3136
3124
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3137
3125
|
}),
|
|
3138
3126
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3139
|
-
h$1("sl-button", { disabled: states.loading, type: "primary",
|
|
3127
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3140
3128
|
alertType: "error",
|
|
3141
3129
|
icon: "exclamation-triangle",
|
|
3142
3130
|
};
|
|
@@ -3161,9 +3149,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3161
3149
|
case "OVER_W9_THRESHOLD":
|
|
3162
3150
|
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
3163
3151
|
return;
|
|
3164
|
-
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "
|
|
3152
|
+
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
3165
3153
|
// Demo case
|
|
3166
|
-
h$1("sl-button", { type: "
|
|
3154
|
+
h$1("sl-button", { type: "default" }, text.w9RequiredButtonText));
|
|
3167
3155
|
case "INFORMATION_REQUIRED":
|
|
3168
3156
|
return data.type === "SquatchJS2" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
3169
3157
|
h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (h$1("div", { style: { paddingTop: "10px" } },
|
|
@@ -3180,6 +3168,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3180
3168
|
return;
|
|
3181
3169
|
}
|
|
3182
3170
|
}
|
|
3171
|
+
if (states.loading) {
|
|
3172
|
+
return h$1("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3173
|
+
}
|
|
3183
3174
|
const alertDetails = getAlert(states.status);
|
|
3184
3175
|
if (states.status === "DONE" || !alertDetails) {
|
|
3185
3176
|
return h$1("div", null);
|
|
@@ -3187,7 +3178,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3187
3178
|
return (h$1("div", { part: "sqm-base" },
|
|
3188
3179
|
h$1("style", { type: "text/css" }, styleString$2),
|
|
3189
3180
|
h$1("style", { type: "text/css" }, vanillaStyle$1),
|
|
3190
|
-
h$1("sqm-form-message", {
|
|
3181
|
+
h$1("sqm-form-message", { type: alertDetails.alertType },
|
|
3191
3182
|
h$1("p", { part: "alert-title" }, alertDetails.header),
|
|
3192
3183
|
h$1("p", { part: "alert-description" }, alertDetails.description),
|
|
3193
3184
|
getButton(states.status))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { l, k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, t as Pn, F as Fn, i as isDemo, p as En } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, p as En } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -318,12 +318,9 @@ function WidgetEmailVerificationView(props) {
|
|
|
318
318
|
const { states, callbacks, text } = props;
|
|
319
319
|
const renderLoadingSkeleton = () => {
|
|
320
320
|
return (h("div", { class: sheet.classes.Wrapper },
|
|
321
|
-
h("
|
|
322
|
-
h("
|
|
323
|
-
h("
|
|
324
|
-
h("sqm-skeleton", { height: "34px", width: "30%" }),
|
|
325
|
-
h("sqm-skeleton", { height: "24px", width: "15%" }),
|
|
326
|
-
h("sl-button", { submit: true, class: sheet.classes.ContinueButton, loading: true, exportparts: "base: primarybutton-base", type: "primary" }, text.sendCodeText)));
|
|
321
|
+
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
322
|
+
h("sl-skeleton", { class: sheet.classes.SkeletonTwo }),
|
|
323
|
+
h("sl-skeleton", { class: sheet.classes.SkeletonThree })));
|
|
327
324
|
};
|
|
328
325
|
return (h("div", { part: "sqm-base" },
|
|
329
326
|
h("style", { type: "text/css" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import './index.module-c9811a48.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -7,12 +7,6 @@ const FormMessage = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.ignored = true;
|
|
10
|
-
/**
|
|
11
|
-
* Loading state for the alert.
|
|
12
|
-
*
|
|
13
|
-
* @uiName Loading
|
|
14
|
-
*/
|
|
15
|
-
this.loading = false;
|
|
16
10
|
/**
|
|
17
11
|
* Render the alert with transparent styles
|
|
18
12
|
*/
|
|
@@ -21,9 +15,6 @@ const FormMessage = class {
|
|
|
21
15
|
}
|
|
22
16
|
disconnectedCallback() { }
|
|
23
17
|
render() {
|
|
24
|
-
if (this.loading) {
|
|
25
|
-
return h$1("sqm-skeleton", { height: "90px", width: "100%" });
|
|
26
|
-
}
|
|
27
18
|
if (this.type === "error") {
|
|
28
19
|
return (h$1("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: `Error ${this.transparent ? "Transparent" : ""}`, type: "danger", open: true }, h$1("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }), h$1("slot", null)));
|
|
29
20
|
}
|
|
@@ -40,44 +31,4 @@ const FormMessage = class {
|
|
|
40
31
|
};
|
|
41
32
|
FormMessage.style = sqmFormMessageCss;
|
|
42
33
|
|
|
43
|
-
|
|
44
|
-
constructor(hostRef) {
|
|
45
|
-
registerInstance(this, hostRef);
|
|
46
|
-
this.ignored = true;
|
|
47
|
-
/**
|
|
48
|
-
* @uiName Height (in pixels or %)
|
|
49
|
-
*/
|
|
50
|
-
this.height = "100%";
|
|
51
|
-
/**
|
|
52
|
-
* @uiName Width (in pixels or %)
|
|
53
|
-
*/
|
|
54
|
-
this.width = "100%";
|
|
55
|
-
this.vanillaStyle = `
|
|
56
|
-
sl-skeleton::part(indicator) {
|
|
57
|
-
--sheen-color: var(--sqm-skeleton-animation-background);
|
|
58
|
-
--color: var(--sqm-skeleton-background);
|
|
59
|
-
border-radius: var(--sqm-border-radius-normal);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
sl-skeleton::part(base) {
|
|
63
|
-
height:${this.height};
|
|
64
|
-
width:${this.width};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
:host{
|
|
68
|
-
display: block;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:host([hidden]) {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
`;
|
|
75
|
-
}
|
|
76
|
-
disconnectedCallback() { }
|
|
77
|
-
render() {
|
|
78
|
-
console.log("This is the height", this.height);
|
|
79
|
-
return (h$1("div", null, h$1("style", { type: "text/css" }, this.vanillaStyle), h$1("sl-skeleton", null)));
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export { FormMessage as sqm_form_message, Skeleton as sqm_skeleton };
|
|
34
|
+
export { FormMessage as sqm_form_message };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-58a69018.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { a as getMissingProps, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
9
|
-
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-
|
|
8
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-8d4b2620.js';
|
|
9
|
+
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-81541e40.js';
|
|
10
10
|
|
|
11
11
|
function useLeadCheckboxField() {
|
|
12
12
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-58a69018.js';
|
|
3
3
|
import { i as d, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-
|
|
10
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
9
|
+
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-8d4b2620.js';
|
|
10
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-d543d939.js';
|
|
11
11
|
|
|
12
12
|
function useLeadInputField() {
|
|
13
13
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { n as h$1, k as useState } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { F as Fn, i as isDemo, d as dist, H, J, B, w as wn, $ as $e } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -398,7 +398,7 @@ function LoadingSlot() {
|
|
|
398
398
|
return (h("slot", { name: "loading" }, h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null)));
|
|
399
399
|
}
|
|
400
400
|
function LoadingRow() {
|
|
401
|
-
return h("
|
|
401
|
+
return h("sl-skeleton", { style: { width: "100%" } });
|
|
402
402
|
}
|
|
403
403
|
function useDemoReferralCodes(props) {
|
|
404
404
|
return cjs({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -18,7 +18,7 @@ const style = {
|
|
|
18
18
|
},
|
|
19
19
|
ButtonLinkLoading: {
|
|
20
20
|
fontSize: "14px",
|
|
21
|
-
color: "var(--
|
|
21
|
+
color: "var(--sl-color-gray-500)",
|
|
22
22
|
opacity: "0.6",
|
|
23
23
|
display: "inline-block !important",
|
|
24
24
|
textDecoration: "underline",
|
|
@@ -55,7 +55,7 @@ function PortalEmailVerificationView(props) {
|
|
|
55
55
|
}, {
|
|
56
56
|
email: (h("span", { style: { fontWeight: "var(--sl-font-weight-semibold)" } }, email)),
|
|
57
57
|
})),
|
|
58
|
-
h("p", { style: { color: "var(--
|
|
58
|
+
h("p", { style: { color: "var(--sl-color-gray-500)", fontSize: "14px" } }, intl.formatMessage({
|
|
59
59
|
id: `verificationStatus`,
|
|
60
60
|
defaultMessage: states.loadingVerification
|
|
61
61
|
? verificationLoadingMessage + " {countdown}"
|
|
@@ -63,7 +63,9 @@ function PortalEmailVerificationView(props) {
|
|
|
63
63
|
}, {
|
|
64
64
|
countdown: states.loadingVerification ? (h("sl-spinner", null)) : (states.countdown),
|
|
65
65
|
})),
|
|
66
|
-
h("
|
|
66
|
+
h("a", { class: states.loading
|
|
67
|
+
? sheet.classes.ButtonLinkLoading
|
|
68
|
+
: sheet.classes.ButtonLink, onClick: callbacks.submit }, resendEmailButtonText))));
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
export { PortalEmailVerificationView as P };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-58a69018.js';
|
|
3
3
|
import { k as useState, m as useRef, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { l as ln, n as nn, J, j as jn, u as useCallback, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-5fb1a99e.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
package/dist/esm/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-58a69018.js';
|
|
3
3
|
import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-e3aef106.js';
|
|
10
10
|
import { i as isEmpty } from './utilities-72c07b09.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|