@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
@@ -16,8 +16,8 @@ const reRender = require('./re-render-d516138a.js');
|
|
|
16
16
|
const useChildElements = require('./useChildElements-966c9041.js');
|
|
17
17
|
const luxon = require('./luxon-949beaf2.js');
|
|
18
18
|
const useReferralTable = require('./useReferralTable-90d4d6e9.js');
|
|
19
|
-
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-
|
|
20
|
-
const utils$1 = require('./utils-
|
|
19
|
+
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-659a139c.js');
|
|
20
|
+
const utils$1 = require('./utils-4eb18a29.js');
|
|
21
21
|
const keys = require('./keys-cff24974.js');
|
|
22
22
|
const data = require('./data-44260010.js');
|
|
23
23
|
|
|
@@ -2484,7 +2484,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2484
2484
|
}, {
|
|
2485
2485
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2486
2486
|
}))),
|
|
2487
|
-
states.isPartner && (index.h("sqm-form-message", {
|
|
2487
|
+
states.isPartner && (index.h("sqm-form-message", { type: "info" },
|
|
2488
2488
|
index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
2489
2489
|
global.intl.formatMessage({
|
|
2490
2490
|
id: "isPartnerAlertDescription",
|
|
@@ -3271,7 +3271,7 @@ function LoadingSlot() {
|
|
|
3271
3271
|
return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
|
|
3272
3272
|
}
|
|
3273
3273
|
function LoadingRow() {
|
|
3274
|
-
return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 6 }, index.h("
|
|
3274
|
+
return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 6 }, index.h("sl-skeleton", null))));
|
|
3275
3275
|
}
|
|
3276
3276
|
function useInvoiceTableDemo(props, emptyElement, loadingElement) {
|
|
3277
3277
|
const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
|
|
@@ -3557,11 +3557,11 @@ function PayoutDetailsCardView(props) {
|
|
|
3557
3557
|
const { states, text } = props;
|
|
3558
3558
|
const renderLoadingSkeleton = () => {
|
|
3559
3559
|
return (index.h("div", { class: classes.CardContainer },
|
|
3560
|
-
index.h("div", { class: classes.StatusContainer
|
|
3561
|
-
index.h("
|
|
3562
|
-
index.h("
|
|
3563
|
-
index.h("
|
|
3564
|
-
index.h("
|
|
3560
|
+
index.h("div", { class: classes.StatusContainer },
|
|
3561
|
+
index.h("sl-skeleton", { class: classes.SkeletonOne }),
|
|
3562
|
+
index.h("sl-skeleton", { class: classes.SkeletonTwo })),
|
|
3563
|
+
index.h("sl-skeleton", { class: classes.SkeletonThree }),
|
|
3564
|
+
index.h("sl-skeleton", { class: classes.SkeletonOne })));
|
|
3565
3565
|
};
|
|
3566
3566
|
const renderStatusBadge = (status, statusBadgeText) => {
|
|
3567
3567
|
const badgeType = status === "nextPayout" ? "success" : "primary";
|
|
@@ -3834,6 +3834,16 @@ const style$5 = {
|
|
|
3834
3834
|
EditBankDetailsButton: {
|
|
3835
3835
|
marginTop: "var(--sl-spacing-large)",
|
|
3836
3836
|
},
|
|
3837
|
+
SkeletonOne: {
|
|
3838
|
+
width: "15%",
|
|
3839
|
+
height: "10px",
|
|
3840
|
+
},
|
|
3841
|
+
SkeletonTwo: {
|
|
3842
|
+
width: "25%",
|
|
3843
|
+
height: "24px",
|
|
3844
|
+
top: "var(--sl-spacing-small)",
|
|
3845
|
+
marginBottom: "var(--sl-spacing-x-small)",
|
|
3846
|
+
},
|
|
3837
3847
|
TaxSectionSkeletonContainer: {
|
|
3838
3848
|
display: "flex",
|
|
3839
3849
|
flexDirection: "column",
|
|
@@ -4269,7 +4279,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4269
4279
|
}, {
|
|
4270
4280
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4271
4281
|
}))),
|
|
4272
|
-
alertInfo && (index.h("sqm-form-message", {
|
|
4282
|
+
alertInfo && (index.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 },
|
|
4273
4283
|
index.h("strong", null, alertInfo.header),
|
|
4274
4284
|
index.h("p", { style: { margin: "0" } }, alertInfo.description),
|
|
4275
4285
|
alertInfo.buttonText && (index.h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
|
|
@@ -4287,8 +4297,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4287
4297
|
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4288
4298
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
4289
4299
|
index.h("div", null, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4290
|
-
index.h("
|
|
4291
|
-
index.h("
|
|
4300
|
+
index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
4301
|
+
index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null,
|
|
4292
4302
|
index.h("div", null,
|
|
4293
4303
|
index.h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
|
|
4294
4304
|
index.h("div", { class: sheet$4.classes.StatusContainer },
|
|
@@ -4302,8 +4312,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4302
4312
|
states.noFormNeeded &&
|
|
4303
4313
|
states.status !== "NOT_VERIFIED" && (index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$4.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
4304
4314
|
index.h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4305
|
-
index.h("
|
|
4306
|
-
index.h("
|
|
4315
|
+
index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
4316
|
+
index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null,
|
|
4307
4317
|
index.h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
|
|
4308
4318
|
text.indirectTaxInfoSectionHeader,
|
|
4309
4319
|
index.h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
|
|
@@ -6186,10 +6196,14 @@ const UserInfoFormView = (props) => {
|
|
|
6186
6196
|
default:
|
|
6187
6197
|
regionLabel = text.state;
|
|
6188
6198
|
}
|
|
6189
|
-
function
|
|
6199
|
+
function isDisabledPartnerInput(field) {
|
|
6190
6200
|
var _a;
|
|
6191
6201
|
return states.isPartner && !!((_a = data$1.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
6192
6202
|
}
|
|
6203
|
+
function isDisabledUserInput(field) {
|
|
6204
|
+
var _a;
|
|
6205
|
+
return states.isUser && !!((_a = states.formState) === null || _a === void 0 ? void 0 : _a[field]);
|
|
6206
|
+
}
|
|
6193
6207
|
return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
6194
6208
|
index.h("style", { type: "text/css" },
|
|
6195
6209
|
styleString$5,
|
|
@@ -6220,7 +6234,7 @@ const UserInfoFormView = (props) => {
|
|
|
6220
6234
|
}, {
|
|
6221
6235
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
6222
6236
|
})))),
|
|
6223
|
-
(states.isPartner || states.isUser) && (index.h("sqm-form-message", {
|
|
6237
|
+
(states.isPartner || states.isUser) && (index.h("sqm-form-message", { type: "info" },
|
|
6224
6238
|
index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
6225
6239
|
index.h("p", { part: "alert-description" }, global.intl.formatMessage({
|
|
6226
6240
|
id: "isPartnerAlertDescription",
|
|
@@ -6231,21 +6245,21 @@ const UserInfoFormView = (props) => {
|
|
|
6231
6245
|
index.h("div", null,
|
|
6232
6246
|
index.h("div", { class: classes.InputContainer },
|
|
6233
6247
|
index.h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled ||
|
|
6234
|
-
|
|
6235
|
-
|
|
6248
|
+
isDisabledUserInput("firstName") ||
|
|
6249
|
+
isDisabledPartnerInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|
|
6236
6250
|
class: classes.ErrorInput,
|
|
6237
6251
|
helpText: utils$1.formatErrorMessage(text.firstName, formState.errors.firstName),
|
|
6238
6252
|
}
|
|
6239
6253
|
: {}), { id: "firstName", name: "/firstName", required: true })),
|
|
6240
6254
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled ||
|
|
6241
|
-
|
|
6242
|
-
|
|
6255
|
+
isDisabledUserInput("lastName") ||
|
|
6256
|
+
isDisabledPartnerInput("lastName") }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
|
|
6243
6257
|
class: classes.ErrorInput,
|
|
6244
6258
|
helpText: utils$1.formatErrorMessage(text.lastName, formState.errors.lastName),
|
|
6245
6259
|
}
|
|
6246
6260
|
: {}), { id: "lastName", name: "/lastName", required: true })),
|
|
6247
6261
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
|
|
6248
|
-
index.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 ||
|
|
6262
|
+
index.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) ? {
|
|
6249
6263
|
class: classes.ErrorInput,
|
|
6250
6264
|
helpText: utils$1.formatErrorMessage(text.country, formState.errors.countryCode),
|
|
6251
6265
|
}
|
|
@@ -6262,7 +6276,7 @@ const UserInfoFormView = (props) => {
|
|
|
6262
6276
|
index.h("p", null, text.phoneNumber),
|
|
6263
6277
|
index.h("div", { class: classes.PhoneInputsContainer },
|
|
6264
6278
|
index.h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled ||
|
|
6265
|
-
|
|
6279
|
+
isDisabledPartnerInput("phoneNumberCountryCode"), ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
|
|
6266
6280
|
class: classes.ErrorInput,
|
|
6267
6281
|
}
|
|
6268
6282
|
: {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("phoneCountry", e) }),
|
|
@@ -6288,7 +6302,7 @@ const UserInfoFormView = (props) => {
|
|
|
6288
6302
|
// Naive phone number validation
|
|
6289
6303
|
utils$1.validateBillingField(/[a-zA-Z]+/, value) &&
|
|
6290
6304
|
utils$1.formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError);
|
|
6291
|
-
}, disabled: states.disabled ||
|
|
6305
|
+
}, disabled: states.disabled || isDisabledPartnerInput("phoneNumber") }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
|
|
6292
6306
|
class: classes.ErrorInput,
|
|
6293
6307
|
helpText: utils$1.formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
|
|
6294
6308
|
}
|
|
@@ -6296,7 +6310,7 @@ const UserInfoFormView = (props) => {
|
|
|
6296
6310
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
|
|
6297
6311
|
// Checks for non-ASCII characters
|
|
6298
6312
|
!utils$1.validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6299
|
-
utils$1.formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled ||
|
|
6313
|
+
utils$1.formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledPartnerInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
|
|
6300
6314
|
class: classes.ErrorInput,
|
|
6301
6315
|
helpText: utils$1.formatErrorMessage(text.address, formState.errors.address),
|
|
6302
6316
|
}
|
|
@@ -6304,22 +6318,22 @@ const UserInfoFormView = (props) => {
|
|
|
6304
6318
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
|
|
6305
6319
|
// Checks for non-ASCII characters
|
|
6306
6320
|
!utils$1.validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6307
|
-
utils$1.formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled ||
|
|
6321
|
+
utils$1.formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledPartnerInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
|
|
6308
6322
|
class: classes.ErrorInput,
|
|
6309
6323
|
helpText: utils$1.formatErrorMessage(text.city, formState.errors.city),
|
|
6310
6324
|
}
|
|
6311
6325
|
: {}), { required: true })),
|
|
6312
|
-
!states.hideState && (index.h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled ||
|
|
6326
|
+
!states.hideState && (index.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) ? {
|
|
6313
6327
|
class: classes.ErrorInput,
|
|
6314
6328
|
helpText: utils$1.formatErrorMessage(text.state, formState.errors.state),
|
|
6315
6329
|
}
|
|
6316
6330
|
: {}), { required: true }), (_p = data$1.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index.h("sl-menu-item", { value: r.value }, r.label))))),
|
|
6317
|
-
index.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 ||
|
|
6331
|
+
index.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) ? {
|
|
6318
6332
|
class: classes.ErrorInput,
|
|
6319
6333
|
helpText: utils$1.formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
6320
6334
|
}
|
|
6321
6335
|
: {}), { required: true })),
|
|
6322
|
-
index.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 ||
|
|
6336
|
+
index.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) ? {
|
|
6323
6337
|
class: classes.ErrorInput,
|
|
6324
6338
|
helpText: utils$1.formatErrorMessage(text.currency, formState.errors.currency),
|
|
6325
6339
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
@@ -21,15 +21,15 @@ const index$1 = require('./index-8c6255f5.js');
|
|
|
21
21
|
const emailRegistrationView = require('./email-registration-view-ace50780.js');
|
|
22
22
|
const useRegistrationFormState = require('./useRegistrationFormState-bbee6e7b.js');
|
|
23
23
|
const useInstantAccessRegistration = require('./useInstantAccessRegistration-08bcb487.js');
|
|
24
|
-
const useLeadFormState = require('./useLeadFormState-
|
|
24
|
+
const useLeadFormState = require('./useLeadFormState-91999606.js');
|
|
25
25
|
const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
|
|
26
26
|
const usePortalLogin = require('./usePortalLogin-1c022d8d.js');
|
|
27
27
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
28
28
|
const utilities = require('./utilities-9a0c5e91.js');
|
|
29
29
|
const ErrorView = require('./ErrorView-3f91e5ab.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-ae3a32c3.js');
|
|
31
31
|
require('./sqm-portal-container-view-07e4343f.js');
|
|
32
|
-
const utils$1 = require('./utils-
|
|
32
|
+
const utils$1 = require('./utils-4eb18a29.js');
|
|
33
33
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
34
34
|
const data = require('./data-44260010.js');
|
|
35
35
|
|
|
@@ -57,10 +57,6 @@ const Netflix = {
|
|
|
57
57
|
borderThickness: 1,
|
|
58
58
|
},
|
|
59
59
|
color: {
|
|
60
|
-
loadingSkeleton: {
|
|
61
|
-
background: "#272727",
|
|
62
|
-
animationBackground: "#E50914",
|
|
63
|
-
},
|
|
64
60
|
textColorShades: {
|
|
65
61
|
mainText: "white",
|
|
66
62
|
subduedText: "#B3B3B3",
|
|
@@ -152,10 +148,6 @@ const Amazon = {
|
|
|
152
148
|
},
|
|
153
149
|
color: {
|
|
154
150
|
backgroundColor: "#ffffff",
|
|
155
|
-
loadingSkeleton: {
|
|
156
|
-
background: "hsl(240 4.8% 95.9%)",
|
|
157
|
-
animationBackground: "#FF9900",
|
|
158
|
-
},
|
|
159
151
|
textColorShades: {
|
|
160
152
|
mainText: "#2f2f2f",
|
|
161
153
|
subduedText: "#565959",
|
|
@@ -244,10 +236,6 @@ const Spotify = {
|
|
|
244
236
|
borderThickness: 1,
|
|
245
237
|
},
|
|
246
238
|
color: {
|
|
247
|
-
loadingSkeleton: {
|
|
248
|
-
background: "#282928",
|
|
249
|
-
animationBackground: "#1ed760",
|
|
250
|
-
},
|
|
251
239
|
textColorShades: {
|
|
252
240
|
mainText: "white",
|
|
253
241
|
subduedText: "white",
|
|
@@ -3081,8 +3069,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3081
3069
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3082
3070
|
}),
|
|
3083
3071
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3084
|
-
index.h("sl-button", { disabled: states.loading, type: "primary",
|
|
3085
|
-
index.h("sl-button", { disabled: states.loading, type: "
|
|
3072
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3073
|
+
index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3086
3074
|
alertType: "warning",
|
|
3087
3075
|
icon: "exclamation-triangle",
|
|
3088
3076
|
};
|
|
@@ -3096,8 +3084,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3096
3084
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3097
3085
|
}),
|
|
3098
3086
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3099
|
-
index.h("sl-button", { disabled: states.loading, type: "primary",
|
|
3100
|
-
index.h("sl-button", { disabled: states.loading, type: "
|
|
3087
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3088
|
+
index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3101
3089
|
alertType: "warning",
|
|
3102
3090
|
icon: "exclamation-triangle",
|
|
3103
3091
|
};
|
|
@@ -3111,8 +3099,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3111
3099
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3112
3100
|
}),
|
|
3113
3101
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3114
|
-
index.h("sl-button", { disabled: states.loading, type: "primary",
|
|
3115
|
-
index.h("sl-button", { disabled: states.loading, type: "
|
|
3102
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3103
|
+
index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3116
3104
|
alertType: "warning",
|
|
3117
3105
|
icon: "exclamation-triangle",
|
|
3118
3106
|
};
|
|
@@ -3126,7 +3114,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3126
3114
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3127
3115
|
}),
|
|
3128
3116
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3129
|
-
index.h("sl-button", { disabled: states.loading, type: "primary",
|
|
3117
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3130
3118
|
alertType: "warning",
|
|
3131
3119
|
icon: "exclamation-triangle",
|
|
3132
3120
|
};
|
|
@@ -3140,7 +3128,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3140
3128
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3141
3129
|
}),
|
|
3142
3130
|
button: (index.h("div", { class: sheet$2.classes.ButtonContainer },
|
|
3143
|
-
index.h("sl-button", { disabled: states.loading, type: "primary",
|
|
3131
|
+
index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3144
3132
|
alertType: "error",
|
|
3145
3133
|
icon: "exclamation-triangle",
|
|
3146
3134
|
};
|
|
@@ -3165,9 +3153,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3165
3153
|
case "OVER_W9_THRESHOLD":
|
|
3166
3154
|
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
3167
3155
|
return;
|
|
3168
|
-
return data.type === "SquatchJS2" ? (index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (index.h("sl-button", { type: "
|
|
3156
|
+
return data.type === "SquatchJS2" ? (index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (index.h("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
3169
3157
|
// Demo case
|
|
3170
|
-
index.h("sl-button", { type: "
|
|
3158
|
+
index.h("sl-button", { type: "default" }, text.w9RequiredButtonText));
|
|
3171
3159
|
case "INFORMATION_REQUIRED":
|
|
3172
3160
|
return data.type === "SquatchJS2" ? (index.h("div", { style: { paddingTop: "10px" } },
|
|
3173
3161
|
index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" }))) : data.type === "SquatchPortal" ? (index.h("div", { style: { paddingTop: "10px" } },
|
|
@@ -3184,6 +3172,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3184
3172
|
return;
|
|
3185
3173
|
}
|
|
3186
3174
|
}
|
|
3175
|
+
if (states.loading) {
|
|
3176
|
+
return index.h("sl-skeleton", { class: sheet$2.classes.SkeletonOne });
|
|
3177
|
+
}
|
|
3187
3178
|
const alertDetails = getAlert(states.status);
|
|
3188
3179
|
if (states.status === "DONE" || !alertDetails) {
|
|
3189
3180
|
return index.h("div", null);
|
|
@@ -3191,7 +3182,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3191
3182
|
return (index.h("div", { part: "sqm-base" },
|
|
3192
3183
|
index.h("style", { type: "text/css" }, styleString$2),
|
|
3193
3184
|
index.h("style", { type: "text/css" }, vanillaStyle$1),
|
|
3194
|
-
index.h("sqm-form-message", {
|
|
3185
|
+
index.h("sqm-form-message", { type: alertDetails.alertType },
|
|
3195
3186
|
index.h("p", { part: "alert-title" }, alertDetails.header),
|
|
3196
3187
|
index.h("p", { part: "alert-description" }, alertDetails.description),
|
|
3197
3188
|
getButton(states.status))));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -322,12 +322,9 @@ function WidgetEmailVerificationView(props) {
|
|
|
322
322
|
const { states, callbacks, text } = props;
|
|
323
323
|
const renderLoadingSkeleton = () => {
|
|
324
324
|
return (index.h("div", { class: sheet.classes.Wrapper },
|
|
325
|
-
index.h("
|
|
326
|
-
index.h("
|
|
327
|
-
index.h("
|
|
328
|
-
index.h("sqm-skeleton", { height: "34px", width: "30%" }),
|
|
329
|
-
index.h("sqm-skeleton", { height: "24px", width: "15%" }),
|
|
330
|
-
index.h("sl-button", { submit: true, class: sheet.classes.ContinueButton, loading: true, exportparts: "base: primarybutton-base", type: "primary" }, text.sendCodeText)));
|
|
325
|
+
index.h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
326
|
+
index.h("sl-skeleton", { class: sheet.classes.SkeletonTwo }),
|
|
327
|
+
index.h("sl-skeleton", { class: sheet.classes.SkeletonThree })));
|
|
331
328
|
};
|
|
332
329
|
return (index.h("div", { part: "sqm-base" },
|
|
333
330
|
index.h("style", { type: "text/css" },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
require('./index.module-4f54e412.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -11,12 +11,6 @@ const FormMessage = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ignored = true;
|
|
14
|
-
/**
|
|
15
|
-
* Loading state for the alert.
|
|
16
|
-
*
|
|
17
|
-
* @uiName Loading
|
|
18
|
-
*/
|
|
19
|
-
this.loading = false;
|
|
20
14
|
/**
|
|
21
15
|
* Render the alert with transparent styles
|
|
22
16
|
*/
|
|
@@ -25,9 +19,6 @@ const FormMessage = class {
|
|
|
25
19
|
}
|
|
26
20
|
disconnectedCallback() { }
|
|
27
21
|
render() {
|
|
28
|
-
if (this.loading) {
|
|
29
|
-
return index.h("sqm-skeleton", { height: "90px", width: "100%" });
|
|
30
|
-
}
|
|
31
22
|
if (this.type === "error") {
|
|
32
23
|
return (index.h("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: `Error ${this.transparent ? "Transparent" : ""}`, type: "danger", open: true }, index.h("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }), index.h("slot", null)));
|
|
33
24
|
}
|
|
@@ -44,45 +35,4 @@ const FormMessage = class {
|
|
|
44
35
|
};
|
|
45
36
|
FormMessage.style = sqmFormMessageCss;
|
|
46
37
|
|
|
47
|
-
const Skeleton = class {
|
|
48
|
-
constructor(hostRef) {
|
|
49
|
-
index.registerInstance(this, hostRef);
|
|
50
|
-
this.ignored = true;
|
|
51
|
-
/**
|
|
52
|
-
* @uiName Height (in pixels or %)
|
|
53
|
-
*/
|
|
54
|
-
this.height = "100%";
|
|
55
|
-
/**
|
|
56
|
-
* @uiName Width (in pixels or %)
|
|
57
|
-
*/
|
|
58
|
-
this.width = "100%";
|
|
59
|
-
this.vanillaStyle = `
|
|
60
|
-
sl-skeleton::part(indicator) {
|
|
61
|
-
--sheen-color: var(--sqm-skeleton-animation-background);
|
|
62
|
-
--color: var(--sqm-skeleton-background);
|
|
63
|
-
border-radius: var(--sqm-border-radius-normal);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
sl-skeleton::part(base) {
|
|
67
|
-
height:${this.height};
|
|
68
|
-
width:${this.width};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:host{
|
|
72
|
-
display: block;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host([hidden]) {
|
|
76
|
-
display: none;
|
|
77
|
-
}
|
|
78
|
-
`;
|
|
79
|
-
}
|
|
80
|
-
disconnectedCallback() { }
|
|
81
|
-
render() {
|
|
82
|
-
console.log("This is the height", this.height);
|
|
83
|
-
return (index.h("div", null, index.h("style", { type: "text/css" }, this.vanillaStyle), index.h("sl-skeleton", null)));
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
|
|
87
38
|
exports.sqm_form_message = FormMessage;
|
|
88
|
-
exports.sqm_skeleton = Skeleton;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
|
-
const useLeadFormState = require('./useLeadFormState-
|
|
13
|
-
const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-
|
|
12
|
+
const useLeadFormState = require('./useLeadFormState-91999606.js');
|
|
13
|
+
const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-dca40eb4.js');
|
|
14
14
|
|
|
15
15
|
function useLeadCheckboxField() {
|
|
16
16
|
const leadFormState = domContextHooks_module.d(useLeadFormState.LEAD_FORM_STATE_CONTEXT);
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
|
-
const useLeadFormState = require('./useLeadFormState-
|
|
14
|
-
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-
|
|
13
|
+
const useLeadFormState = require('./useLeadFormState-91999606.js');
|
|
14
|
+
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-2006001f.js');
|
|
15
15
|
|
|
16
16
|
function useLeadInputField() {
|
|
17
17
|
const leadFormState = domContextHooks_module.d(useLeadFormState.LEAD_FORM_STATE_CONTEXT);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -402,7 +402,7 @@ function LoadingSlot() {
|
|
|
402
402
|
return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
|
|
403
403
|
}
|
|
404
404
|
function LoadingRow() {
|
|
405
|
-
return index.h("
|
|
405
|
+
return index.h("sl-skeleton", { style: { width: "100%" } });
|
|
406
406
|
}
|
|
407
407
|
function useDemoReferralCodes(props) {
|
|
408
408
|
return cjs.cjs({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a43a63b4.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-e862bfd4.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const mixins = require('./mixins-4761d472.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
@@ -20,7 +20,7 @@ const style = {
|
|
|
20
20
|
},
|
|
21
21
|
ButtonLinkLoading: {
|
|
22
22
|
fontSize: "14px",
|
|
23
|
-
color: "var(--
|
|
23
|
+
color: "var(--sl-color-gray-500)",
|
|
24
24
|
opacity: "0.6",
|
|
25
25
|
display: "inline-block !important",
|
|
26
26
|
textDecoration: "underline",
|
|
@@ -57,7 +57,7 @@ function PortalEmailVerificationView(props) {
|
|
|
57
57
|
}, {
|
|
58
58
|
email: (index.h("span", { style: { fontWeight: "var(--sl-font-weight-semibold)" } }, email)),
|
|
59
59
|
})),
|
|
60
|
-
index.h("p", { style: { color: "var(--
|
|
60
|
+
index.h("p", { style: { color: "var(--sl-color-gray-500)", fontSize: "14px" } }, global.intl.formatMessage({
|
|
61
61
|
id: `verificationStatus`,
|
|
62
62
|
defaultMessage: states.loadingVerification
|
|
63
63
|
? verificationLoadingMessage + " {countdown}"
|
|
@@ -65,7 +65,9 @@ function PortalEmailVerificationView(props) {
|
|
|
65
65
|
}, {
|
|
66
66
|
countdown: states.loadingVerification ? (index.h("sl-spinner", null)) : (states.countdown),
|
|
67
67
|
})),
|
|
68
|
-
index.h("
|
|
68
|
+
index.h("a", { class: states.loading
|
|
69
|
+
? sheet.classes.ButtonLinkLoading
|
|
70
|
+
: sheet.classes.ButtonLink, onClick: callbacks.submit }, resendEmailButtonText))));
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
exports.PortalEmailVerificationView = PortalEmailVerificationView;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-e862bfd4.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
12
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-1745d9a2.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
package/dist/cjs/{sqm-portal-profile-view-f74b8d6c.js → sqm-portal-profile-view-5c5e29b1.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a43a63b4.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-e862bfd4.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
7
7
|
|