@saasquatch/mint-components 2.0.2-1 → 2.0.2-11
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/sqm-banking-info-form_10.cjs.entry.js +16 -15
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +20 -14
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/{usePayoutStatus-67c78085.js → usePayoutStatus-9abe2de8.js} +16 -19
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +2 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +13 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +16 -19
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +8 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +4 -4
- package/dist/esm/sqm-banking-info-form_10.entry.js +16 -15
- package/dist/esm/sqm-big-stat_47.entry.js +20 -14
- package/dist/esm/sqm-header-logo.entry.js +3 -3
- package/dist/esm/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +16 -19
- 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-header-logo.entry.js +1 -1
- package/dist/esm-es5/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +2 -2
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-2933bbe9.system.entry.js → p-09ab53fb.system.entry.js} +1 -1
- package/dist/mint-components/p-35576752.system.entry.js +1 -0
- package/dist/mint-components/{p-b1c4500e.entry.js → p-408a3798.entry.js} +9 -9
- package/dist/mint-components/{p-40e0251f.system.js → p-59bb2d52.system.js} +2 -2
- package/dist/mint-components/{p-3219fdbe.entry.js → p-65808084.entry.js} +6 -6
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-2ed300e9.entry.js → p-ab111e29.entry.js} +1 -1
- package/dist/mint-components/{p-f17b6de6.js → p-c41108ae.js} +7 -7
- package/dist/mint-components/p-ebb22a4a.system.entry.js +1 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-2c86af62.system.entry.js +0 -1
- package/dist/mint-components/p-2e87159a.system.entry.js +0 -1
|
@@ -361,7 +361,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
361
361
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
362
362
|
}),
|
|
363
363
|
button: (h(Fragment, null,
|
|
364
|
-
h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
364
|
+
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
365
365
|
h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
366
366
|
alertType: "warning",
|
|
367
367
|
icon: "exclamation-triangle",
|
|
@@ -377,7 +377,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
377
377
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
378
378
|
}),
|
|
379
379
|
button: (h(Fragment, null,
|
|
380
|
-
h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
380
|
+
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
381
381
|
h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
382
382
|
alertType: "warning",
|
|
383
383
|
icon: "exclamation-triangle",
|
|
@@ -393,7 +393,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
393
393
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
394
394
|
}),
|
|
395
395
|
button: (h(Fragment, null,
|
|
396
|
-
h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
396
|
+
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
397
397
|
h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
398
398
|
alertType: "warning",
|
|
399
399
|
icon: "exclamation-triangle",
|
|
@@ -422,8 +422,8 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
422
422
|
}, {
|
|
423
423
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
424
424
|
}),
|
|
425
|
-
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
426
|
-
alertType: "
|
|
425
|
+
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
426
|
+
alertType: "error",
|
|
427
427
|
icon: "exclamation-triangle",
|
|
428
428
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
429
429
|
};
|
|
@@ -144,7 +144,7 @@ export class TaxAndCashDashboard {
|
|
|
144
144
|
*
|
|
145
145
|
* @uiName Edit payment info button label
|
|
146
146
|
*/
|
|
147
|
-
this.editPaymentInformationButton = "Edit
|
|
147
|
+
this.editPaymentInformationButton = "Edit payout information";
|
|
148
148
|
/**
|
|
149
149
|
* @uiName Not registered for indirect tax text
|
|
150
150
|
* @uiWidget textArea
|
|
@@ -205,7 +205,7 @@ export class TaxAndCashDashboard {
|
|
|
205
205
|
/**
|
|
206
206
|
* @uiName Verification required internal alert header
|
|
207
207
|
*/
|
|
208
|
-
this.verificationRequiredInternalHeader = "Identity
|
|
208
|
+
this.verificationRequiredInternalHeader = "Identity verification in progress";
|
|
209
209
|
/**
|
|
210
210
|
* @uiName Verification required internal alert description
|
|
211
211
|
*/
|
|
@@ -213,7 +213,7 @@ export class TaxAndCashDashboard {
|
|
|
213
213
|
/**
|
|
214
214
|
* @uiName Verification review internal alert header
|
|
215
215
|
*/
|
|
216
|
-
this.verificationReviewInternalHeader = "Identity
|
|
216
|
+
this.verificationReviewInternalHeader = "Identity verification under review";
|
|
217
217
|
/**
|
|
218
218
|
* @uiName Verification review internal alert description
|
|
219
219
|
*/
|
|
@@ -221,7 +221,7 @@ export class TaxAndCashDashboard {
|
|
|
221
221
|
/**
|
|
222
222
|
* @uiName Verification failed internal alert header
|
|
223
223
|
*/
|
|
224
|
-
this.verificationFailedInternalHeader = "Identity
|
|
224
|
+
this.verificationFailedInternalHeader = "Identity verification unsuccessful";
|
|
225
225
|
/**
|
|
226
226
|
* @uiName Verification failed internal alert description
|
|
227
227
|
*/
|
|
@@ -935,7 +935,7 @@ export class TaxAndCashDashboard {
|
|
|
935
935
|
},
|
|
936
936
|
"attribute": "edit-payment-information-button",
|
|
937
937
|
"reflect": false,
|
|
938
|
-
"defaultValue": "\"Edit
|
|
938
|
+
"defaultValue": "\"Edit payout information\""
|
|
939
939
|
},
|
|
940
940
|
"notRegisteredForTax": {
|
|
941
941
|
"type": "string",
|
|
@@ -1202,7 +1202,7 @@ export class TaxAndCashDashboard {
|
|
|
1202
1202
|
},
|
|
1203
1203
|
"attribute": "verification-required-internal-header",
|
|
1204
1204
|
"reflect": false,
|
|
1205
|
-
"defaultValue": "\"Identity
|
|
1205
|
+
"defaultValue": "\"Identity verification in progress\""
|
|
1206
1206
|
},
|
|
1207
1207
|
"verificationRequiredInternalDescription": {
|
|
1208
1208
|
"type": "string",
|
|
@@ -1244,7 +1244,7 @@ export class TaxAndCashDashboard {
|
|
|
1244
1244
|
},
|
|
1245
1245
|
"attribute": "verification-review-internal-header",
|
|
1246
1246
|
"reflect": false,
|
|
1247
|
-
"defaultValue": "\"Identity
|
|
1247
|
+
"defaultValue": "\"Identity verification under review\""
|
|
1248
1248
|
},
|
|
1249
1249
|
"verificationReviewInternalDescription": {
|
|
1250
1250
|
"type": "string",
|
|
@@ -1286,7 +1286,7 @@ export class TaxAndCashDashboard {
|
|
|
1286
1286
|
},
|
|
1287
1287
|
"attribute": "verification-failed-internal-header",
|
|
1288
1288
|
"reflect": false,
|
|
1289
|
-
"defaultValue": "\"Identity
|
|
1289
|
+
"defaultValue": "\"Identity verification unsuccessful\""
|
|
1290
1290
|
},
|
|
1291
1291
|
"verificationFailedInternalDescription": {
|
|
1292
1292
|
"type": "string",
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -399,7 +399,7 @@ export const UserInfoFormView = (props) => {
|
|
|
399
399
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
|
|
400
400
|
// Checks for non-ASCII characters
|
|
401
401
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
402
|
-
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("
|
|
402
|
+
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
|
|
403
403
|
class: classes.ErrorInput,
|
|
404
404
|
helpText: formatErrorMessage(text.address, formState.errors.address),
|
|
405
405
|
}
|
|
@@ -407,17 +407,17 @@ export const UserInfoFormView = (props) => {
|
|
|
407
407
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
|
|
408
408
|
// Checks for non-ASCII characters
|
|
409
409
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
410
|
-
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("
|
|
410
|
+
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
|
|
411
411
|
class: classes.ErrorInput,
|
|
412
412
|
helpText: formatErrorMessage(text.city, formState.errors.city),
|
|
413
413
|
}
|
|
414
414
|
: {}), { required: true })),
|
|
415
|
-
!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 || isDisabledInput("
|
|
415
|
+
!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 || isDisabledInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
|
|
416
416
|
class: classes.ErrorInput,
|
|
417
417
|
helpText: formatErrorMessage(text.state, formState.errors.state),
|
|
418
418
|
}
|
|
419
419
|
: {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
|
|
420
|
-
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 || isDisabledInput("
|
|
420
|
+
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 || isDisabledInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
|
|
421
421
|
class: classes.ErrorInput,
|
|
422
422
|
helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
423
423
|
}
|
|
@@ -15,7 +15,7 @@ import { g as generateUserError } from './useReferralTable-909ccb28.js';
|
|
|
15
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-0a57b622.js';
|
|
16
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-6122971b.js';
|
|
17
17
|
import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
|
|
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 './usePayoutStatus-
|
|
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 './usePayoutStatus-e0ef2374.js';
|
|
19
19
|
|
|
20
20
|
function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
|
|
@@ -901,7 +901,8 @@ function useBankingInfoForm(props) {
|
|
|
901
901
|
: _paymentMethodChecked;
|
|
902
902
|
useEffect(() => {
|
|
903
903
|
// reset redirect hash
|
|
904
|
-
window.location.hash
|
|
904
|
+
if (window.location.hash !== "#4")
|
|
905
|
+
window.location.hash = "";
|
|
905
906
|
}, []);
|
|
906
907
|
useEffect(() => {
|
|
907
908
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -4068,7 +4069,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4068
4069
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4069
4070
|
}),
|
|
4070
4071
|
button: (h(Fragment, null,
|
|
4071
|
-
h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
4072
|
+
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
4072
4073
|
h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
4073
4074
|
alertType: "warning",
|
|
4074
4075
|
icon: "exclamation-triangle",
|
|
@@ -4084,7 +4085,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4084
4085
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4085
4086
|
}),
|
|
4086
4087
|
button: (h(Fragment, null,
|
|
4087
|
-
h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
4088
|
+
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
4088
4089
|
h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
4089
4090
|
alertType: "warning",
|
|
4090
4091
|
icon: "exclamation-triangle",
|
|
@@ -4100,7 +4101,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4100
4101
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4101
4102
|
}),
|
|
4102
4103
|
button: (h(Fragment, null,
|
|
4103
|
-
h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
4104
|
+
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
4104
4105
|
h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
4105
4106
|
alertType: "warning",
|
|
4106
4107
|
icon: "exclamation-triangle",
|
|
@@ -4129,8 +4130,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4129
4130
|
}, {
|
|
4130
4131
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4131
4132
|
}),
|
|
4132
|
-
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "
|
|
4133
|
-
alertType: "
|
|
4133
|
+
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
4134
|
+
alertType: "error",
|
|
4134
4135
|
icon: "exclamation-triangle",
|
|
4135
4136
|
class: sheet$4.classes.WarningHoldAlertContainer,
|
|
4136
4137
|
};
|
|
@@ -4601,7 +4602,7 @@ const TaxAndCashDashboard = class {
|
|
|
4601
4602
|
*
|
|
4602
4603
|
* @uiName Edit payment info button label
|
|
4603
4604
|
*/
|
|
4604
|
-
this.editPaymentInformationButton = "Edit
|
|
4605
|
+
this.editPaymentInformationButton = "Edit payout information";
|
|
4605
4606
|
/**
|
|
4606
4607
|
* @uiName Not registered for indirect tax text
|
|
4607
4608
|
* @uiWidget textArea
|
|
@@ -4662,7 +4663,7 @@ const TaxAndCashDashboard = class {
|
|
|
4662
4663
|
/**
|
|
4663
4664
|
* @uiName Verification required internal alert header
|
|
4664
4665
|
*/
|
|
4665
|
-
this.verificationRequiredInternalHeader = "Identity
|
|
4666
|
+
this.verificationRequiredInternalHeader = "Identity verification in progress";
|
|
4666
4667
|
/**
|
|
4667
4668
|
* @uiName Verification required internal alert description
|
|
4668
4669
|
*/
|
|
@@ -4670,7 +4671,7 @@ const TaxAndCashDashboard = class {
|
|
|
4670
4671
|
/**
|
|
4671
4672
|
* @uiName Verification review internal alert header
|
|
4672
4673
|
*/
|
|
4673
|
-
this.verificationReviewInternalHeader = "Identity
|
|
4674
|
+
this.verificationReviewInternalHeader = "Identity verification under review";
|
|
4674
4675
|
/**
|
|
4675
4676
|
* @uiName Verification review internal alert description
|
|
4676
4677
|
*/
|
|
@@ -4678,7 +4679,7 @@ const TaxAndCashDashboard = class {
|
|
|
4678
4679
|
/**
|
|
4679
4680
|
* @uiName Verification failed internal alert header
|
|
4680
4681
|
*/
|
|
4681
|
-
this.verificationFailedInternalHeader = "Identity
|
|
4682
|
+
this.verificationFailedInternalHeader = "Identity verification unsuccessful";
|
|
4682
4683
|
/**
|
|
4683
4684
|
* @uiName Verification failed internal alert description
|
|
4684
4685
|
*/
|
|
@@ -6282,7 +6283,7 @@ const UserInfoFormView = (props) => {
|
|
|
6282
6283
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
|
|
6283
6284
|
// Checks for non-ASCII characters
|
|
6284
6285
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6285
|
-
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("
|
|
6286
|
+
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
|
|
6286
6287
|
class: classes.ErrorInput,
|
|
6287
6288
|
helpText: formatErrorMessage(text.address, formState.errors.address),
|
|
6288
6289
|
}
|
|
@@ -6290,17 +6291,17 @@ const UserInfoFormView = (props) => {
|
|
|
6290
6291
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
|
|
6291
6292
|
// Checks for non-ASCII characters
|
|
6292
6293
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6293
|
-
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("
|
|
6294
|
+
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
|
|
6294
6295
|
class: classes.ErrorInput,
|
|
6295
6296
|
helpText: formatErrorMessage(text.city, formState.errors.city),
|
|
6296
6297
|
}
|
|
6297
6298
|
: {}), { required: true })),
|
|
6298
|
-
!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 || isDisabledInput("
|
|
6299
|
+
!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 || isDisabledInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
|
|
6299
6300
|
class: classes.ErrorInput,
|
|
6300
6301
|
helpText: formatErrorMessage(text.state, formState.errors.state),
|
|
6301
6302
|
}
|
|
6302
6303
|
: {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
|
|
6303
|
-
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 || isDisabledInput("
|
|
6304
|
+
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 || isDisabledInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
|
|
6304
6305
|
class: classes.ErrorInput,
|
|
6305
6306
|
helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
6306
6307
|
}
|
|
@@ -27,7 +27,7 @@ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedVi
|
|
|
27
27
|
import './sqm-portal-container-view-176e92e3.js';
|
|
28
28
|
import { g as getCountryObj, L as LoadingView } from './utils-6122971b.js';
|
|
29
29
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
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 './usePayoutStatus-
|
|
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 './usePayoutStatus-e0ef2374.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
@@ -3058,7 +3058,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3058
3058
|
}, {
|
|
3059
3059
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3060
3060
|
}),
|
|
3061
|
-
|
|
3061
|
+
button: (h$1(Fragment, null,
|
|
3062
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3063
|
+
h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3062
3064
|
alertType: "warning",
|
|
3063
3065
|
icon: "exclamation-triangle",
|
|
3064
3066
|
};
|
|
@@ -3071,7 +3073,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3071
3073
|
}, {
|
|
3072
3074
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3073
3075
|
}),
|
|
3074
|
-
|
|
3076
|
+
button: (h$1(Fragment, null,
|
|
3077
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3078
|
+
h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3075
3079
|
alertType: "warning",
|
|
3076
3080
|
icon: "exclamation-triangle",
|
|
3077
3081
|
};
|
|
@@ -3084,7 +3088,9 @@ function PayoutStatusAlertView(props) {
|
|
|
3084
3088
|
}, {
|
|
3085
3089
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3086
3090
|
}),
|
|
3087
|
-
|
|
3091
|
+
button: (h$1(Fragment, null,
|
|
3092
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
3093
|
+
h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
3088
3094
|
alertType: "warning",
|
|
3089
3095
|
icon: "exclamation-triangle",
|
|
3090
3096
|
};
|
|
@@ -3097,7 +3103,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3097
3103
|
}, {
|
|
3098
3104
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3099
3105
|
}),
|
|
3100
|
-
|
|
3106
|
+
button: (h$1(Fragment, null,
|
|
3107
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3101
3108
|
alertType: "warning",
|
|
3102
3109
|
icon: "exclamation-triangle",
|
|
3103
3110
|
};
|
|
@@ -3111,9 +3118,8 @@ function PayoutStatusAlertView(props) {
|
|
|
3111
3118
|
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3112
3119
|
}),
|
|
3113
3120
|
button: (h$1(Fragment, null,
|
|
3114
|
-
h$1("sl-button", { disabled: states.loading, type: "
|
|
3115
|
-
|
|
3116
|
-
alertType: "warning",
|
|
3121
|
+
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3122
|
+
alertType: "error",
|
|
3117
3123
|
icon: "exclamation-triangle",
|
|
3118
3124
|
};
|
|
3119
3125
|
case "HOLD":
|
|
@@ -3211,7 +3217,7 @@ const PayoutStatusAlert = class {
|
|
|
3211
3217
|
/**
|
|
3212
3218
|
* @uiName Verification required internal alert header
|
|
3213
3219
|
*/
|
|
3214
|
-
this.verificationRequiredInternalHeader = "Identity Verification in
|
|
3220
|
+
this.verificationRequiredInternalHeader = "Identity Verification in progress";
|
|
3215
3221
|
/**
|
|
3216
3222
|
* @uiName Verification required internal alert description
|
|
3217
3223
|
*/
|
|
@@ -3219,7 +3225,7 @@ const PayoutStatusAlert = class {
|
|
|
3219
3225
|
/**
|
|
3220
3226
|
* @uiName Verification review internal alert header
|
|
3221
3227
|
*/
|
|
3222
|
-
this.verificationReviewInternalHeader = "Identity Verification
|
|
3228
|
+
this.verificationReviewInternalHeader = "Identity Verification under review";
|
|
3223
3229
|
/**
|
|
3224
3230
|
* @uiName Verification review internal alert description
|
|
3225
3231
|
*/
|
|
@@ -3227,7 +3233,7 @@ const PayoutStatusAlert = class {
|
|
|
3227
3233
|
/**
|
|
3228
3234
|
* @uiName Verification failed internal alert header
|
|
3229
3235
|
*/
|
|
3230
|
-
this.verificationFailedInternalHeader = "Identity
|
|
3236
|
+
this.verificationFailedInternalHeader = "Identity verification unsuccessful";
|
|
3231
3237
|
/**
|
|
3232
3238
|
* @uiName Verification failed internal alert description
|
|
3233
3239
|
*/
|
|
@@ -7562,7 +7568,7 @@ const TaxAndCashMonolith = class {
|
|
|
7562
7568
|
* @uiGroup Dashboard Properties
|
|
7563
7569
|
* @uiWidget textArea
|
|
7564
7570
|
*/
|
|
7565
|
-
this.dashboard_verificationRequiredInternalHeader = "Identity
|
|
7571
|
+
this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
|
|
7566
7572
|
/**
|
|
7567
7573
|
* @uiName Verification required internal alert description
|
|
7568
7574
|
* @uiGroup Dashboard Properties
|
|
@@ -7574,7 +7580,7 @@ const TaxAndCashMonolith = class {
|
|
|
7574
7580
|
* @uiGroup Dashboard Properties
|
|
7575
7581
|
* @uiWidget textArea
|
|
7576
7582
|
*/
|
|
7577
|
-
this.dashboard_verificationReviewInternalHeader = "Identity
|
|
7583
|
+
this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
|
|
7578
7584
|
/**
|
|
7579
7585
|
* @uiName Verification review internal alert description
|
|
7580
7586
|
* @uiGroup Dashboard Properties
|
|
@@ -7586,7 +7592,7 @@ const TaxAndCashMonolith = class {
|
|
|
7586
7592
|
* @uiGroup Dashboard Properties
|
|
7587
7593
|
* @uiWidget textArea
|
|
7588
7594
|
*/
|
|
7589
|
-
this.dashboard_verificationFailedInternalHeader = "Identity
|
|
7595
|
+
this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
|
|
7590
7596
|
/**
|
|
7591
7597
|
* @uiName Verification failed internal alert description
|
|
7592
7598
|
* @uiGroup Dashboard Properties
|
|
@@ -5,12 +5,12 @@ const HeroImage = class {
|
|
|
5
5
|
constructor(hostRef) {
|
|
6
6
|
registerInstance(this, hostRef);
|
|
7
7
|
/**
|
|
8
|
-
* @uiName Logo text
|
|
8
|
+
* @uiName Logo text size
|
|
9
9
|
*/
|
|
10
|
-
this.logoTextSize =
|
|
10
|
+
this.logoTextSize = 32;
|
|
11
11
|
/**
|
|
12
12
|
* @uiWidget color
|
|
13
|
-
* @uiName Logo text
|
|
13
|
+
* @uiName Logo text color
|
|
14
14
|
*/
|
|
15
15
|
this.logoTextColor = "#555555";
|
|
16
16
|
/**
|
|
@@ -1127,7 +1127,7 @@ const GET_TAX_SETTING = dist.gql `
|
|
|
1127
1127
|
}
|
|
1128
1128
|
`;
|
|
1129
1129
|
function getStatus(data) {
|
|
1130
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
1130
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
1131
1131
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
1132
1132
|
const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
|
|
1133
1133
|
reward.partnerFundsTransfer.status === "TRANSFERRED");
|
|
@@ -1144,19 +1144,22 @@ function getStatus(data) {
|
|
|
1144
1144
|
return "VERIFICATION:REVIEW";
|
|
1145
1145
|
if ((_p = account.holdReasons) === null || _p === void 0 ? void 0 : _p.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
1146
1146
|
return "VERIFICATION:FAILED";
|
|
1147
|
+
// only show banner for NEW_PAYEE_REVIEW if a PFT was created
|
|
1147
1148
|
if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
|
|
1148
1149
|
return "NEW_PAYEE_REVIEW";
|
|
1149
|
-
if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("
|
|
1150
|
+
if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
|
|
1151
|
+
return "DONE";
|
|
1152
|
+
if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("PAYMENT_HOLD_ON_CHANGE"))
|
|
1150
1153
|
return "PAYMENT_HOLD_ON_CHANGE";
|
|
1151
|
-
if ((
|
|
1154
|
+
if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_INVALID"))
|
|
1152
1155
|
return "BENEFICIARY_NAME_INVALID";
|
|
1153
|
-
if ((
|
|
1156
|
+
if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BENEFICIARY_NAME_MISMATCH"))
|
|
1154
1157
|
return "BENEFICIARY_NAME_MISMATCH";
|
|
1155
|
-
if ((
|
|
1158
|
+
if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("BANK_TAX_NAME_MISMATCH"))
|
|
1156
1159
|
return "BANK_TAX_NAME_MISMATCH";
|
|
1157
|
-
if ((
|
|
1160
|
+
if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("WITHDRAWAL_SETTINGS_INVALID"))
|
|
1158
1161
|
return "WITHDRAWAL_SETTINGS_INVALID";
|
|
1159
|
-
if ((
|
|
1162
|
+
if ((_x = account.holdReasons) === null || _x === void 0 ? void 0 : _x.includes("PAYMENT_RETURNED"))
|
|
1160
1163
|
return "PAYMENT_RETURNED";
|
|
1161
1164
|
if (account.hold)
|
|
1162
1165
|
return "HOLD";
|
|
@@ -1199,20 +1202,14 @@ function usePayoutStatus(props) {
|
|
|
1199
1202
|
window.history.pushState(null, "", url);
|
|
1200
1203
|
};
|
|
1201
1204
|
const onPaymentInfoClick = () => {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
hideSteps: true,
|
|
1206
|
-
});
|
|
1207
|
-
setStep("/4");
|
|
1205
|
+
let url = props.cashPayoutsPageUrl;
|
|
1206
|
+
url += "#4";
|
|
1207
|
+
window.history.pushState(null, "", url);
|
|
1208
1208
|
};
|
|
1209
1209
|
const onNewFormClick = () => {
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
hideSteps: true,
|
|
1214
|
-
});
|
|
1215
|
-
setStep("/3");
|
|
1210
|
+
let url = props.cashPayoutsPageUrl;
|
|
1211
|
+
url += "#3";
|
|
1212
|
+
window.history.pushState(null, "", url);
|
|
1216
1213
|
};
|
|
1217
1214
|
return {
|
|
1218
1215
|
states: {
|