@saasquatch/mint-components 2.0.2-2 → 2.0.2-21
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 +44 -23
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +12 -12
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/{usePayoutStatus-67c78085.js → usePayoutStatus-9abe2de8.js} +16 -19
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +5 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +10 -10
- 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 +10 -10
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +12 -12
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +7 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +20 -11
- package/dist/esm/sqm-banking-info-form_10.entry.js +44 -23
- package/dist/esm/sqm-big-stat_47.entry.js +12 -12
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- 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-2a404185.system.entry.js +1 -0
- package/dist/mint-components/{p-40e0251f.system.js → p-59bb2d52.system.js} +2 -2
- package/dist/mint-components/p-7fb4470e.entry.js +1 -0
- package/dist/mint-components/{p-09ab53fb.system.entry.js → p-8fa77acf.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-a3323ecb.system.entry.js +1 -0
- package/dist/mint-components/{p-838c6cf8.entry.js → p-bf2fc399.entry.js} +13 -6
- package/dist/mint-components/{p-f17b6de6.js → p-c41108ae.js} +7 -7
- package/dist/mint-components/{p-e728337d.entry.js → p-e4f6a6c8.entry.js} +9 -9
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-2dc720db.system.entry.js +0 -1
- package/dist/mint-components/p-7e009640.system.entry.js +0 -1
- package/dist/mint-components/p-ab111e29.entry.js +0 -1
|
@@ -884,7 +884,7 @@ export class TaxAndCashMonolith {
|
|
|
884
884
|
* @uiGroup Dashboard Properties
|
|
885
885
|
* @uiWidget textArea
|
|
886
886
|
*/
|
|
887
|
-
this.dashboard_verificationRequiredInternalHeader = "Identity
|
|
887
|
+
this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
|
|
888
888
|
/**
|
|
889
889
|
* @uiName Verification required internal alert description
|
|
890
890
|
* @uiGroup Dashboard Properties
|
|
@@ -896,7 +896,7 @@ export class TaxAndCashMonolith {
|
|
|
896
896
|
* @uiGroup Dashboard Properties
|
|
897
897
|
* @uiWidget textArea
|
|
898
898
|
*/
|
|
899
|
-
this.dashboard_verificationReviewInternalHeader = "Identity
|
|
899
|
+
this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
|
|
900
900
|
/**
|
|
901
901
|
* @uiName Verification review internal alert description
|
|
902
902
|
* @uiGroup Dashboard Properties
|
|
@@ -908,7 +908,7 @@ export class TaxAndCashMonolith {
|
|
|
908
908
|
* @uiGroup Dashboard Properties
|
|
909
909
|
* @uiWidget textArea
|
|
910
910
|
*/
|
|
911
|
-
this.dashboard_verificationFailedInternalHeader = "Identity
|
|
911
|
+
this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
|
|
912
912
|
/**
|
|
913
913
|
* @uiName Verification failed internal alert description
|
|
914
914
|
* @uiGroup Dashboard Properties
|
|
@@ -977,11 +977,11 @@ export class TaxAndCashMonolith {
|
|
|
977
977
|
/**
|
|
978
978
|
* @uiName Withdrawal settings invalid alert header
|
|
979
979
|
*/
|
|
980
|
-
this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
|
|
980
|
+
this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
981
981
|
/**
|
|
982
982
|
* @uiName Withdrawal settings invalid alert description
|
|
983
983
|
*/
|
|
984
|
-
this.dashboard_withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
984
|
+
this.dashboard_withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
985
985
|
/**
|
|
986
986
|
* @uiName Payment returned alert header
|
|
987
987
|
*/
|
|
@@ -4808,7 +4808,7 @@ export class TaxAndCashMonolith {
|
|
|
4808
4808
|
},
|
|
4809
4809
|
"attribute": "dashboard_verification-required-internal-header",
|
|
4810
4810
|
"reflect": false,
|
|
4811
|
-
"defaultValue": "\"Identity
|
|
4811
|
+
"defaultValue": "\"Identity verification in progress\""
|
|
4812
4812
|
},
|
|
4813
4813
|
"dashboard_verificationRequiredInternalDescription": {
|
|
4814
4814
|
"type": "string",
|
|
@@ -4862,7 +4862,7 @@ export class TaxAndCashMonolith {
|
|
|
4862
4862
|
},
|
|
4863
4863
|
"attribute": "dashboard_verification-review-internal-header",
|
|
4864
4864
|
"reflect": false,
|
|
4865
|
-
"defaultValue": "\"Identity
|
|
4865
|
+
"defaultValue": "\"Identity verification under review\""
|
|
4866
4866
|
},
|
|
4867
4867
|
"dashboard_verificationReviewInternalDescription": {
|
|
4868
4868
|
"type": "string",
|
|
@@ -4916,7 +4916,7 @@ export class TaxAndCashMonolith {
|
|
|
4916
4916
|
},
|
|
4917
4917
|
"attribute": "dashboard_verification-failed-internal-header",
|
|
4918
4918
|
"reflect": false,
|
|
4919
|
-
"defaultValue": "\"Identity
|
|
4919
|
+
"defaultValue": "\"Identity verification usuccessful\""
|
|
4920
4920
|
},
|
|
4921
4921
|
"dashboard_verificationFailedInternalDescription": {
|
|
4922
4922
|
"type": "string",
|
|
@@ -5255,7 +5255,7 @@ export class TaxAndCashMonolith {
|
|
|
5255
5255
|
},
|
|
5256
5256
|
"attribute": "dashboard_withdrawal-settings-invalid-header",
|
|
5257
5257
|
"reflect": false,
|
|
5258
|
-
"defaultValue": "\"Your payment information includes invalid characters\""
|
|
5258
|
+
"defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
|
|
5259
5259
|
},
|
|
5260
5260
|
"dashboard_withdrawalSettingsInvalidDescription": {
|
|
5261
5261
|
"type": "string",
|
|
@@ -5276,7 +5276,7 @@ export class TaxAndCashMonolith {
|
|
|
5276
5276
|
},
|
|
5277
5277
|
"attribute": "dashboard_withdrawal-settings-invalid-description",
|
|
5278
5278
|
"reflect": false,
|
|
5279
|
-
"defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
5279
|
+
"defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
|
|
5280
5280
|
},
|
|
5281
5281
|
"dashboard_paymentReturnedHeader": {
|
|
5282
5282
|
"type": "string",
|
|
@@ -423,7 +423,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
423
423
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
424
424
|
}),
|
|
425
425
|
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
426
|
-
alertType: "
|
|
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
|
*/
|
|
@@ -282,11 +282,11 @@ export class TaxAndCashDashboard {
|
|
|
282
282
|
/**
|
|
283
283
|
* @uiName Withdrawal settings invalid alert header
|
|
284
284
|
*/
|
|
285
|
-
this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
|
|
285
|
+
this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
286
286
|
/**
|
|
287
287
|
* @uiName Withdrawal settings invalid alert description
|
|
288
288
|
*/
|
|
289
|
-
this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
289
|
+
this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
290
290
|
/**
|
|
291
291
|
* @uiName Payment returned alert header
|
|
292
292
|
*/
|
|
@@ -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",
|
|
@@ -1601,7 +1601,7 @@ export class TaxAndCashDashboard {
|
|
|
1601
1601
|
},
|
|
1602
1602
|
"attribute": "withdrawal-settings-invalid-header",
|
|
1603
1603
|
"reflect": false,
|
|
1604
|
-
"defaultValue": "\"Your payment information includes invalid characters\""
|
|
1604
|
+
"defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
|
|
1605
1605
|
},
|
|
1606
1606
|
"withdrawalSettingsInvalidDescription": {
|
|
1607
1607
|
"type": "string",
|
|
@@ -1622,7 +1622,7 @@ export class TaxAndCashDashboard {
|
|
|
1622
1622
|
},
|
|
1623
1623
|
"attribute": "withdrawal-settings-invalid-description",
|
|
1624
1624
|
"reflect": false,
|
|
1625
|
-
"defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
1625
|
+
"defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
|
|
1626
1626
|
},
|
|
1627
1627
|
"paymentReturnedHeader": {
|
|
1628
1628
|
"type": "string",
|
package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js
CHANGED
|
@@ -60,8 +60,14 @@ export const useTaxAndCashDashboard = (props) => {
|
|
|
60
60
|
useEffect(() => {
|
|
61
61
|
// Clear override context once on submitted
|
|
62
62
|
setContext({});
|
|
63
|
-
if (window.location.hash)
|
|
63
|
+
if (window.location.hash) {
|
|
64
|
+
setContext({
|
|
65
|
+
overrideNextStep: "/dashboard",
|
|
66
|
+
overrideBackStep: "/dashboard",
|
|
67
|
+
hideSteps: true,
|
|
68
|
+
});
|
|
64
69
|
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
70
|
+
}
|
|
65
71
|
}, []);
|
|
66
72
|
const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
|
|
67
73
|
const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
|
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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useMutation, useParent, useParentQueryValue, useParentValue, useUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { useMutation, useParent, useParentQueryValue, useParentValue, useQuery, useUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { useEffect, useMemo, useRef, useState, } from "@saasquatch/universal-hooks";
|
|
3
3
|
import jsonpointer from "jsonpointer";
|
|
4
4
|
import { CURRENCIES_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
|
|
@@ -6,8 +6,17 @@ import { ADDRESS_REGIONS } from "../subregions";
|
|
|
6
6
|
import { objectIsFull, validTaxDocument } from "../utils";
|
|
7
7
|
import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
|
|
8
8
|
import { CONNECT_PARTNER, } from "../sqm-indirect-tax-form/useIndirectTaxForm";
|
|
9
|
+
import { gql } from "graphql-request";
|
|
10
|
+
const GET_INDIRECT_TAX_COUNTRY_CODE = gql `
|
|
11
|
+
query getIndirectTaxCountryCode {
|
|
12
|
+
tenantSettings {
|
|
13
|
+
impactBrandCountryCode
|
|
14
|
+
impactBrandIndirectTaxCountryCode
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
9
18
|
export function useUserInfoForm(props) {
|
|
10
|
-
var _a, _b, _c, _d, _e, _f;
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
11
20
|
const currencyRef = useRef(undefined);
|
|
12
21
|
const phoneCountryRef = useRef(undefined);
|
|
13
22
|
const formRef = useRef(null);
|
|
@@ -17,6 +26,7 @@ export function useUserInfoForm(props) {
|
|
|
17
26
|
const [userFormContext, setUserFormContext] = useParent(USER_FORM_CONTEXT_NAMESPACE);
|
|
18
27
|
const user = useUserIdentity();
|
|
19
28
|
const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = useMutation(CONNECT_PARTNER);
|
|
29
|
+
const { data: tenantData } = useQuery(GET_INDIRECT_TAX_COUNTRY_CODE, {});
|
|
20
30
|
const { data, loading, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
|
|
21
31
|
const _currencies = useParentValue(CURRENCIES_NAMESPACE);
|
|
22
32
|
const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
|
|
@@ -230,15 +240,14 @@ export function useUserInfoForm(props) {
|
|
|
230
240
|
const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
|
|
231
241
|
setStep(nextStep);
|
|
232
242
|
}
|
|
233
|
-
|
|
234
|
-
const hasIndirectTax =
|
|
235
|
-
const brandCountry = "";
|
|
243
|
+
const indirectTaxCountry = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenantSettings) === null || _a === void 0 ? void 0 : _a.impactBrandIndirectTaxCountryCode;
|
|
244
|
+
const hasIndirectTax = !!indirectTaxCountry;
|
|
236
245
|
function getSkipNextStep(userData) {
|
|
237
|
-
if (userData.countryCode === "US")
|
|
238
|
-
return true;
|
|
239
246
|
if (!hasIndirectTax)
|
|
240
247
|
return true;
|
|
241
|
-
if (
|
|
248
|
+
if (userData.countryCode === "US")
|
|
249
|
+
return true;
|
|
250
|
+
if (hasIndirectTax && userData.countryCode !== indirectTaxCountry)
|
|
242
251
|
return true;
|
|
243
252
|
return false;
|
|
244
253
|
}
|
|
@@ -269,7 +278,7 @@ export function useUserInfoForm(props) {
|
|
|
269
278
|
allCountries: countries,
|
|
270
279
|
regionLabelEnum: regionObj === null || regionObj === void 0 ? void 0 : regionObj.labelEnum,
|
|
271
280
|
regions: (regionObj === null || regionObj === void 0 ? void 0 : regionObj.regions) || [],
|
|
272
|
-
partnerData: (
|
|
281
|
+
partnerData: (_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher,
|
|
273
282
|
},
|
|
274
283
|
states: {
|
|
275
284
|
step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
|
|
@@ -278,8 +287,8 @@ export function useUserInfoForm(props) {
|
|
|
278
287
|
disabled: loading || connectLoading,
|
|
279
288
|
loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
|
|
280
289
|
loading: loading || connectLoading,
|
|
281
|
-
isPartner: !!((
|
|
282
|
-
isUser: !!((
|
|
290
|
+
isPartner: !!((_e = (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher),
|
|
291
|
+
isUser: !!((_g = (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.impactConnection) === null || _g === void 0 ? void 0 : _g.user),
|
|
283
292
|
formState: {
|
|
284
293
|
...userFormContext,
|
|
285
294
|
errors: formErrors,
|
|
@@ -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;
|
|
@@ -899,10 +899,6 @@ function useBankingInfoForm(props) {
|
|
|
899
899
|
const paymentMethodChecked = !hasPayPal
|
|
900
900
|
? "toBankAccount"
|
|
901
901
|
: _paymentMethodChecked;
|
|
902
|
-
useEffect(() => {
|
|
903
|
-
// reset redirect hash
|
|
904
|
-
window.location.hash = "";
|
|
905
|
-
}, []);
|
|
906
902
|
useEffect(() => {
|
|
907
903
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
908
904
|
if (!userData)
|
|
@@ -1074,6 +1070,7 @@ function useBankingInfoForm(props) {
|
|
|
1074
1070
|
}
|
|
1075
1071
|
await runMutation(formData, token);
|
|
1076
1072
|
setShowModal(false);
|
|
1073
|
+
window.location.hash = "";
|
|
1077
1074
|
};
|
|
1078
1075
|
const onVerification = async (token) => {
|
|
1079
1076
|
host.dispatchEvent(new CustomEvent(VERIFICATION_EVENT_KEY, {
|
|
@@ -1103,7 +1100,10 @@ function useBankingInfoForm(props) {
|
|
|
1103
1100
|
setBankCountry: updateBankCountry,
|
|
1104
1101
|
setPaymentMethodChecked,
|
|
1105
1102
|
setPaymentScheduleChecked,
|
|
1106
|
-
onBack: () =>
|
|
1103
|
+
onBack: () => {
|
|
1104
|
+
setStep("/dashboard");
|
|
1105
|
+
window.location.hash = "";
|
|
1106
|
+
},
|
|
1107
1107
|
setCountrySearch,
|
|
1108
1108
|
onVerification,
|
|
1109
1109
|
onVerificationHide: () => onVerification(null),
|
|
@@ -4130,7 +4130,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4130
4130
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
4131
4131
|
}),
|
|
4132
4132
|
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
4133
|
-
alertType: "
|
|
4133
|
+
alertType: "error",
|
|
4134
4134
|
icon: "exclamation-triangle",
|
|
4135
4135
|
class: sheet$4.classes.WarningHoldAlertContainer,
|
|
4136
4136
|
};
|
|
@@ -4390,8 +4390,14 @@ const useTaxAndCashDashboard = (props) => {
|
|
|
4390
4390
|
useEffect(() => {
|
|
4391
4391
|
// Clear override context once on submitted
|
|
4392
4392
|
setContext({});
|
|
4393
|
-
if (window.location.hash)
|
|
4393
|
+
if (window.location.hash) {
|
|
4394
|
+
setContext({
|
|
4395
|
+
overrideNextStep: "/dashboard",
|
|
4396
|
+
overrideBackStep: "/dashboard",
|
|
4397
|
+
hideSteps: true,
|
|
4398
|
+
});
|
|
4394
4399
|
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
4400
|
+
}
|
|
4395
4401
|
}, []);
|
|
4396
4402
|
const { data, loading, errors: userError, refetch, } = $n(USER_QUERY_NAMESPACE);
|
|
4397
4403
|
const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
|
|
@@ -4601,7 +4607,7 @@ const TaxAndCashDashboard = class {
|
|
|
4601
4607
|
*
|
|
4602
4608
|
* @uiName Edit payment info button label
|
|
4603
4609
|
*/
|
|
4604
|
-
this.editPaymentInformationButton = "Edit
|
|
4610
|
+
this.editPaymentInformationButton = "Edit payout information";
|
|
4605
4611
|
/**
|
|
4606
4612
|
* @uiName Not registered for indirect tax text
|
|
4607
4613
|
* @uiWidget textArea
|
|
@@ -4662,7 +4668,7 @@ const TaxAndCashDashboard = class {
|
|
|
4662
4668
|
/**
|
|
4663
4669
|
* @uiName Verification required internal alert header
|
|
4664
4670
|
*/
|
|
4665
|
-
this.verificationRequiredInternalHeader = "Identity
|
|
4671
|
+
this.verificationRequiredInternalHeader = "Identity verification in progress";
|
|
4666
4672
|
/**
|
|
4667
4673
|
* @uiName Verification required internal alert description
|
|
4668
4674
|
*/
|
|
@@ -4670,7 +4676,7 @@ const TaxAndCashDashboard = class {
|
|
|
4670
4676
|
/**
|
|
4671
4677
|
* @uiName Verification review internal alert header
|
|
4672
4678
|
*/
|
|
4673
|
-
this.verificationReviewInternalHeader = "Identity
|
|
4679
|
+
this.verificationReviewInternalHeader = "Identity verification under review";
|
|
4674
4680
|
/**
|
|
4675
4681
|
* @uiName Verification review internal alert description
|
|
4676
4682
|
*/
|
|
@@ -4678,7 +4684,7 @@ const TaxAndCashDashboard = class {
|
|
|
4678
4684
|
/**
|
|
4679
4685
|
* @uiName Verification failed internal alert header
|
|
4680
4686
|
*/
|
|
4681
|
-
this.verificationFailedInternalHeader = "Identity
|
|
4687
|
+
this.verificationFailedInternalHeader = "Identity verification unsuccessful";
|
|
4682
4688
|
/**
|
|
4683
4689
|
* @uiName Verification failed internal alert description
|
|
4684
4690
|
*/
|
|
@@ -4739,11 +4745,11 @@ const TaxAndCashDashboard = class {
|
|
|
4739
4745
|
/**
|
|
4740
4746
|
* @uiName Withdrawal settings invalid alert header
|
|
4741
4747
|
*/
|
|
4742
|
-
this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
|
|
4748
|
+
this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
4743
4749
|
/**
|
|
4744
4750
|
* @uiName Withdrawal settings invalid alert description
|
|
4745
4751
|
*/
|
|
4746
|
-
this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
4752
|
+
this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
4747
4753
|
/**
|
|
4748
4754
|
* @uiName Payment returned alert header
|
|
4749
4755
|
*/
|
|
@@ -6282,7 +6288,7 @@ const UserInfoFormView = (props) => {
|
|
|
6282
6288
|
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
6289
|
// Checks for non-ASCII characters
|
|
6284
6290
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6285
|
-
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("
|
|
6291
|
+
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
|
|
6286
6292
|
class: classes.ErrorInput,
|
|
6287
6293
|
helpText: formatErrorMessage(text.address, formState.errors.address),
|
|
6288
6294
|
}
|
|
@@ -6290,17 +6296,17 @@ const UserInfoFormView = (props) => {
|
|
|
6290
6296
|
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
6297
|
// Checks for non-ASCII characters
|
|
6292
6298
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
6293
|
-
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("
|
|
6299
|
+
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
|
|
6294
6300
|
class: classes.ErrorInput,
|
|
6295
6301
|
helpText: formatErrorMessage(text.city, formState.errors.city),
|
|
6296
6302
|
}
|
|
6297
6303
|
: {}), { 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("
|
|
6304
|
+
!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
6305
|
class: classes.ErrorInput,
|
|
6300
6306
|
helpText: formatErrorMessage(text.state, formState.errors.state),
|
|
6301
6307
|
}
|
|
6302
6308
|
: {}), { 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("
|
|
6309
|
+
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
6310
|
class: classes.ErrorInput,
|
|
6305
6311
|
helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
6306
6312
|
}
|
|
@@ -6332,8 +6338,16 @@ const UserInfoFormView = (props) => {
|
|
|
6332
6338
|
h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
|
|
6333
6339
|
};
|
|
6334
6340
|
|
|
6341
|
+
const GET_INDIRECT_TAX_COUNTRY_CODE = dist.gql `
|
|
6342
|
+
query getIndirectTaxCountryCode {
|
|
6343
|
+
tenantSettings {
|
|
6344
|
+
impactBrandCountryCode
|
|
6345
|
+
impactBrandIndirectTaxCountryCode
|
|
6346
|
+
}
|
|
6347
|
+
}
|
|
6348
|
+
`;
|
|
6335
6349
|
function useUserInfoForm(props) {
|
|
6336
|
-
var _a, _b, _c, _d, _e, _f;
|
|
6350
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6337
6351
|
const currencyRef = useRef(undefined);
|
|
6338
6352
|
const phoneCountryRef = useRef(undefined);
|
|
6339
6353
|
const formRef = useRef(null);
|
|
@@ -6343,6 +6357,7 @@ function useUserInfoForm(props) {
|
|
|
6343
6357
|
const [userFormContext, setUserFormContext] = Pn(USER_FORM_CONTEXT_NAMESPACE);
|
|
6344
6358
|
const user = J();
|
|
6345
6359
|
const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = $e(CONNECT_PARTNER);
|
|
6360
|
+
const { data: tenantData } = wn(GET_INDIRECT_TAX_COUNTRY_CODE, {});
|
|
6346
6361
|
const { data, loading, refetch, errors: userError, } = $n(USER_QUERY_NAMESPACE);
|
|
6347
6362
|
const _currencies = Fn(CURRENCIES_NAMESPACE);
|
|
6348
6363
|
const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
|
|
@@ -6556,10 +6571,16 @@ function useUserInfoForm(props) {
|
|
|
6556
6571
|
const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
|
|
6557
6572
|
setStep(nextStep);
|
|
6558
6573
|
}
|
|
6574
|
+
const indirectTaxCountry = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenantSettings) === null || _a === void 0 ? void 0 : _a.impactBrandIndirectTaxCountryCode;
|
|
6575
|
+
const hasIndirectTax = !!indirectTaxCountry;
|
|
6559
6576
|
function getSkipNextStep(userData) {
|
|
6577
|
+
if (!hasIndirectTax)
|
|
6578
|
+
return true;
|
|
6560
6579
|
if (userData.countryCode === "US")
|
|
6561
6580
|
return true;
|
|
6562
|
-
|
|
6581
|
+
if (hasIndirectTax && userData.countryCode !== indirectTaxCountry)
|
|
6582
|
+
return true;
|
|
6583
|
+
return false;
|
|
6563
6584
|
}
|
|
6564
6585
|
const hasStates = ["ES", "AU", "US", "CA"].includes(userFormContext.countryCode);
|
|
6565
6586
|
const regionObj = hasStates
|
|
@@ -6588,7 +6609,7 @@ function useUserInfoForm(props) {
|
|
|
6588
6609
|
allCountries: countries,
|
|
6589
6610
|
regionLabelEnum: regionObj === null || regionObj === void 0 ? void 0 : regionObj.labelEnum,
|
|
6590
6611
|
regions: (regionObj === null || regionObj === void 0 ? void 0 : regionObj.regions) || [],
|
|
6591
|
-
partnerData: (
|
|
6612
|
+
partnerData: (_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher,
|
|
6592
6613
|
},
|
|
6593
6614
|
states: {
|
|
6594
6615
|
step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
|
|
@@ -6597,8 +6618,8 @@ function useUserInfoForm(props) {
|
|
|
6597
6618
|
disabled: loading || connectLoading,
|
|
6598
6619
|
loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
|
|
6599
6620
|
loading: loading || connectLoading,
|
|
6600
|
-
isPartner: !!((
|
|
6601
|
-
isUser: !!((
|
|
6621
|
+
isPartner: !!((_e = (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher),
|
|
6622
|
+
isUser: !!((_g = (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.impactConnection) === null || _g === void 0 ? void 0 : _g.user),
|
|
6602
6623
|
formState: {
|
|
6603
6624
|
...userFormContext,
|
|
6604
6625
|
errors: formErrors,
|
|
@@ -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
|
*
|
|
@@ -3119,7 +3119,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3119
3119
|
}),
|
|
3120
3120
|
button: (h$1(Fragment, null,
|
|
3121
3121
|
h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
3122
|
-
alertType: "
|
|
3122
|
+
alertType: "error",
|
|
3123
3123
|
icon: "exclamation-triangle",
|
|
3124
3124
|
};
|
|
3125
3125
|
case "HOLD":
|
|
@@ -3217,7 +3217,7 @@ const PayoutStatusAlert = class {
|
|
|
3217
3217
|
/**
|
|
3218
3218
|
* @uiName Verification required internal alert header
|
|
3219
3219
|
*/
|
|
3220
|
-
this.verificationRequiredInternalHeader = "Identity Verification in
|
|
3220
|
+
this.verificationRequiredInternalHeader = "Identity Verification in progress";
|
|
3221
3221
|
/**
|
|
3222
3222
|
* @uiName Verification required internal alert description
|
|
3223
3223
|
*/
|
|
@@ -3225,7 +3225,7 @@ const PayoutStatusAlert = class {
|
|
|
3225
3225
|
/**
|
|
3226
3226
|
* @uiName Verification review internal alert header
|
|
3227
3227
|
*/
|
|
3228
|
-
this.verificationReviewInternalHeader = "Identity Verification
|
|
3228
|
+
this.verificationReviewInternalHeader = "Identity Verification under review";
|
|
3229
3229
|
/**
|
|
3230
3230
|
* @uiName Verification review internal alert description
|
|
3231
3231
|
*/
|
|
@@ -3233,7 +3233,7 @@ const PayoutStatusAlert = class {
|
|
|
3233
3233
|
/**
|
|
3234
3234
|
* @uiName Verification failed internal alert header
|
|
3235
3235
|
*/
|
|
3236
|
-
this.verificationFailedInternalHeader = "Identity
|
|
3236
|
+
this.verificationFailedInternalHeader = "Identity verification unsuccessful";
|
|
3237
3237
|
/**
|
|
3238
3238
|
* @uiName Verification failed internal alert description
|
|
3239
3239
|
*/
|
|
@@ -3281,11 +3281,11 @@ const PayoutStatusAlert = class {
|
|
|
3281
3281
|
/**
|
|
3282
3282
|
* @uiName Withdrawal settings invalid alert header
|
|
3283
3283
|
*/
|
|
3284
|
-
this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
|
|
3284
|
+
this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
3285
3285
|
/**
|
|
3286
3286
|
* @uiName Withdrawal settings invalid alert description
|
|
3287
3287
|
*/
|
|
3288
|
-
this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
3288
|
+
this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
3289
3289
|
/**
|
|
3290
3290
|
* @uiName Payment returned alert header
|
|
3291
3291
|
*/
|
|
@@ -7568,7 +7568,7 @@ const TaxAndCashMonolith = class {
|
|
|
7568
7568
|
* @uiGroup Dashboard Properties
|
|
7569
7569
|
* @uiWidget textArea
|
|
7570
7570
|
*/
|
|
7571
|
-
this.dashboard_verificationRequiredInternalHeader = "Identity
|
|
7571
|
+
this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
|
|
7572
7572
|
/**
|
|
7573
7573
|
* @uiName Verification required internal alert description
|
|
7574
7574
|
* @uiGroup Dashboard Properties
|
|
@@ -7580,7 +7580,7 @@ const TaxAndCashMonolith = class {
|
|
|
7580
7580
|
* @uiGroup Dashboard Properties
|
|
7581
7581
|
* @uiWidget textArea
|
|
7582
7582
|
*/
|
|
7583
|
-
this.dashboard_verificationReviewInternalHeader = "Identity
|
|
7583
|
+
this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
|
|
7584
7584
|
/**
|
|
7585
7585
|
* @uiName Verification review internal alert description
|
|
7586
7586
|
* @uiGroup Dashboard Properties
|
|
@@ -7592,7 +7592,7 @@ const TaxAndCashMonolith = class {
|
|
|
7592
7592
|
* @uiGroup Dashboard Properties
|
|
7593
7593
|
* @uiWidget textArea
|
|
7594
7594
|
*/
|
|
7595
|
-
this.dashboard_verificationFailedInternalHeader = "Identity
|
|
7595
|
+
this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
|
|
7596
7596
|
/**
|
|
7597
7597
|
* @uiName Verification failed internal alert description
|
|
7598
7598
|
* @uiGroup Dashboard Properties
|
|
@@ -7661,11 +7661,11 @@ const TaxAndCashMonolith = class {
|
|
|
7661
7661
|
/**
|
|
7662
7662
|
* @uiName Withdrawal settings invalid alert header
|
|
7663
7663
|
*/
|
|
7664
|
-
this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
|
|
7664
|
+
this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
7665
7665
|
/**
|
|
7666
7666
|
* @uiName Withdrawal settings invalid alert description
|
|
7667
7667
|
*/
|
|
7668
|
-
this.dashboard_withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct
|
|
7668
|
+
this.dashboard_withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
|
|
7669
7669
|
/**
|
|
7670
7670
|
* @uiName Payment returned alert header
|
|
7671
7671
|
*/
|