@saasquatch/mint-components 2.0.3-3 → 2.0.3
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/{ShadowViewAddon-ae3a32c3.js → ShadowViewAddon-fbc33c53.js} +3 -3
- package/dist/cjs/{data-44260010.js → data-16106637.js} +2 -29
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +76 -339
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +12 -213
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -15
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -24
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +5 -85
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +1 -1
- package/dist/collection/components/sqm-image/sqm-image.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +5 -10
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +5 -11
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +40 -46
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +0 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +1 -95
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +7 -360
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +2 -29
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +11 -311
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -96
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +10 -310
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -7
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +12 -21
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -100
- package/dist/esm/{ShadowViewAddon-78a1c35c.js → ShadowViewAddon-7a242b65.js} +3 -3
- package/dist/esm/{data-68816061.js → data-acdb790f.js} +2 -29
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +76 -339
- package/dist/esm/sqm-big-stat_47.entry.js +12 -213
- package/dist/esm/sqm-header-logo.entry.js +2 -15
- package/dist/esm/sqm-stencilbook.entry.js +3 -24
- package/dist/esm-es5/{ShadowViewAddon-78a1c35c.js → ShadowViewAddon-7a242b65.js} +1 -1
- package/dist/esm-es5/{data-68816061.js → data-acdb790f.js} +2 -2
- 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-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-012d31bc.entry.js +99 -0
- package/dist/mint-components/p-2ea6e2fa.entry.js +273 -0
- package/dist/mint-components/p-303b84d7.system.entry.js +1 -0
- package/dist/mint-components/p-469a6450.system.js +6 -0
- package/dist/mint-components/p-6976099f.entry.js +9 -0
- package/dist/mint-components/p-752ede25.system.entry.js +1 -0
- package/dist/mint-components/p-947bacd1.system.js +1 -1
- package/dist/mint-components/p-97747228.system.entry.js +1 -0
- package/dist/mint-components/p-a7ee19dc.entry.js +1 -0
- package/dist/mint-components/{p-e3ee8c37.system.js → p-d7635535.system.js} +1 -1
- package/dist/mint-components/p-e1e7d01c.js +157 -0
- package/dist/mint-components/p-eea87fdc.system.entry.js +1 -0
- package/dist/mint-components/{p-ee83de0e.js → p-ffc3cd7c.js} +1 -1
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +2 -17
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -24
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +0 -7
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +0 -16
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -57
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -48
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -12
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -48
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -2
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +0 -1
- package/dist/types/components.d.ts +43 -337
- 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-3f661133.system.entry.js +0 -1
- package/dist/mint-components/p-6c6344d9.system.entry.js +0 -1
- package/dist/mint-components/p-775214ef.entry.js +0 -273
- package/dist/mint-components/p-7e550c3b.system.entry.js +0 -1
- package/dist/mint-components/p-92b5c376.js +0 -157
- package/dist/mint-components/p-93c8ab95.entry.js +0 -106
- package/dist/mint-components/p-9a3ff9b9.entry.js +0 -9
- package/dist/mint-components/p-a2dbc9ad.system.js +0 -6
- package/dist/mint-components/p-bdb6194c.entry.js +0 -1
- package/dist/mint-components/p-c7ac295d.system.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -139,12 +139,12 @@ export class TaxAndCashDashboard {
|
|
|
139
139
|
/**
|
|
140
140
|
* @uiName Submit new tax form button label
|
|
141
141
|
*/
|
|
142
|
-
this.newFormButton = "Submit new
|
|
142
|
+
this.newFormButton = "Submit new form";
|
|
143
143
|
/**
|
|
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
|
*/
|
|
@@ -247,54 +247,6 @@ export class TaxAndCashDashboard {
|
|
|
247
247
|
* @uiName Account review alert description
|
|
248
248
|
*/
|
|
249
249
|
this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
|
|
250
|
-
/**
|
|
251
|
-
* @uiName Payment hold on change alert header
|
|
252
|
-
*/
|
|
253
|
-
this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
|
|
254
|
-
/**
|
|
255
|
-
* @uiName Payment hold on change alert description
|
|
256
|
-
*/
|
|
257
|
-
this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
|
|
258
|
-
/**
|
|
259
|
-
* @uiName Beneficiary name invalid alert header
|
|
260
|
-
*/
|
|
261
|
-
this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
|
|
262
|
-
/**
|
|
263
|
-
* @uiName Beneficiary name invalid description
|
|
264
|
-
*/
|
|
265
|
-
this.beneficiaryNameInvalidDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
266
|
-
/**
|
|
267
|
-
* @uiName Beneficiary name mismatch alert header
|
|
268
|
-
*/
|
|
269
|
-
this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
|
|
270
|
-
/**
|
|
271
|
-
* @uiName Beneficiary name mismatch alert description
|
|
272
|
-
*/
|
|
273
|
-
this.beneficiaryNameMismatchDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
274
|
-
/**
|
|
275
|
-
* @uiName Bank name mismatch alert header
|
|
276
|
-
*/
|
|
277
|
-
this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
|
|
278
|
-
/**
|
|
279
|
-
* @uiName Bank name mismatch alert description
|
|
280
|
-
*/
|
|
281
|
-
this.bankTaxNameMismatchDescription = "The bank account (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
|
|
282
|
-
/**
|
|
283
|
-
* @uiName Withdrawal settings invalid alert header
|
|
284
|
-
*/
|
|
285
|
-
this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
286
|
-
/**
|
|
287
|
-
* @uiName Withdrawal settings invalid alert description
|
|
288
|
-
*/
|
|
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
|
-
/**
|
|
291
|
-
* @uiName Payment returned alert header
|
|
292
|
-
*/
|
|
293
|
-
this.paymentReturnedHeader = "Payout unsuccessful";
|
|
294
|
-
/**
|
|
295
|
-
* @uiName Payment returned alert description
|
|
296
|
-
*/
|
|
297
|
-
this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
|
|
298
250
|
/**
|
|
299
251
|
* @uiName Terms and Conditions text
|
|
300
252
|
*/
|
|
@@ -914,7 +866,7 @@ export class TaxAndCashDashboard {
|
|
|
914
866
|
},
|
|
915
867
|
"attribute": "new-form-button",
|
|
916
868
|
"reflect": false,
|
|
917
|
-
"defaultValue": "\"Submit new
|
|
869
|
+
"defaultValue": "\"Submit new form\""
|
|
918
870
|
},
|
|
919
871
|
"editPaymentInformationButton": {
|
|
920
872
|
"type": "string",
|
|
@@ -935,7 +887,7 @@ export class TaxAndCashDashboard {
|
|
|
935
887
|
},
|
|
936
888
|
"attribute": "edit-payment-information-button",
|
|
937
889
|
"reflect": false,
|
|
938
|
-
"defaultValue": "\"Edit
|
|
890
|
+
"defaultValue": "\"Edit Payout Information\""
|
|
939
891
|
},
|
|
940
892
|
"notRegisteredForTax": {
|
|
941
893
|
"type": "string",
|
|
@@ -1202,7 +1154,7 @@ export class TaxAndCashDashboard {
|
|
|
1202
1154
|
},
|
|
1203
1155
|
"attribute": "verification-required-internal-header",
|
|
1204
1156
|
"reflect": false,
|
|
1205
|
-
"defaultValue": "\"Identity
|
|
1157
|
+
"defaultValue": "\"Identity Verification in Progress\""
|
|
1206
1158
|
},
|
|
1207
1159
|
"verificationRequiredInternalDescription": {
|
|
1208
1160
|
"type": "string",
|
|
@@ -1244,7 +1196,7 @@ export class TaxAndCashDashboard {
|
|
|
1244
1196
|
},
|
|
1245
1197
|
"attribute": "verification-review-internal-header",
|
|
1246
1198
|
"reflect": false,
|
|
1247
|
-
"defaultValue": "\"Identity
|
|
1199
|
+
"defaultValue": "\"Identity Verification Under Review\""
|
|
1248
1200
|
},
|
|
1249
1201
|
"verificationReviewInternalDescription": {
|
|
1250
1202
|
"type": "string",
|
|
@@ -1286,7 +1238,7 @@ export class TaxAndCashDashboard {
|
|
|
1286
1238
|
},
|
|
1287
1239
|
"attribute": "verification-failed-internal-header",
|
|
1288
1240
|
"reflect": false,
|
|
1289
|
-
"defaultValue": "\"Identity
|
|
1241
|
+
"defaultValue": "\"Identity Verification Unsuccessful\""
|
|
1290
1242
|
},
|
|
1291
1243
|
"verificationFailedInternalDescription": {
|
|
1292
1244
|
"type": "string",
|
|
@@ -1414,258 +1366,6 @@ export class TaxAndCashDashboard {
|
|
|
1414
1366
|
"reflect": false,
|
|
1415
1367
|
"defaultValue": "\"This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.\""
|
|
1416
1368
|
},
|
|
1417
|
-
"paymentHoldOnChangeHeader": {
|
|
1418
|
-
"type": "string",
|
|
1419
|
-
"mutable": false,
|
|
1420
|
-
"complexType": {
|
|
1421
|
-
"original": "string",
|
|
1422
|
-
"resolved": "string",
|
|
1423
|
-
"references": {}
|
|
1424
|
-
},
|
|
1425
|
-
"required": false,
|
|
1426
|
-
"optional": false,
|
|
1427
|
-
"docs": {
|
|
1428
|
-
"tags": [{
|
|
1429
|
-
"text": "Payment hold on change alert header",
|
|
1430
|
-
"name": "uiName"
|
|
1431
|
-
}],
|
|
1432
|
-
"text": ""
|
|
1433
|
-
},
|
|
1434
|
-
"attribute": "payment-hold-on-change-header",
|
|
1435
|
-
"reflect": false,
|
|
1436
|
-
"defaultValue": "\"We are reviewing your new payout settings\""
|
|
1437
|
-
},
|
|
1438
|
-
"paymentHoldOnChangeDescription": {
|
|
1439
|
-
"type": "string",
|
|
1440
|
-
"mutable": false,
|
|
1441
|
-
"complexType": {
|
|
1442
|
-
"original": "string",
|
|
1443
|
-
"resolved": "string",
|
|
1444
|
-
"references": {}
|
|
1445
|
-
},
|
|
1446
|
-
"required": false,
|
|
1447
|
-
"optional": false,
|
|
1448
|
-
"docs": {
|
|
1449
|
-
"tags": [{
|
|
1450
|
-
"text": "Payment hold on change alert description",
|
|
1451
|
-
"name": "uiName"
|
|
1452
|
-
}],
|
|
1453
|
-
"text": ""
|
|
1454
|
-
},
|
|
1455
|
-
"attribute": "payment-hold-on-change-description",
|
|
1456
|
-
"reflect": false,
|
|
1457
|
-
"defaultValue": "\"Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.\""
|
|
1458
|
-
},
|
|
1459
|
-
"beneficiaryNameInvalidHeader": {
|
|
1460
|
-
"type": "string",
|
|
1461
|
-
"mutable": false,
|
|
1462
|
-
"complexType": {
|
|
1463
|
-
"original": "string",
|
|
1464
|
-
"resolved": "string",
|
|
1465
|
-
"references": {}
|
|
1466
|
-
},
|
|
1467
|
-
"required": false,
|
|
1468
|
-
"optional": false,
|
|
1469
|
-
"docs": {
|
|
1470
|
-
"tags": [{
|
|
1471
|
-
"text": "Beneficiary name invalid alert header",
|
|
1472
|
-
"name": "uiName"
|
|
1473
|
-
}],
|
|
1474
|
-
"text": ""
|
|
1475
|
-
},
|
|
1476
|
-
"attribute": "beneficiary-name-invalid-header",
|
|
1477
|
-
"reflect": false,
|
|
1478
|
-
"defaultValue": "\"Your payment information does not match your tax form\""
|
|
1479
|
-
},
|
|
1480
|
-
"beneficiaryNameInvalidDescription": {
|
|
1481
|
-
"type": "string",
|
|
1482
|
-
"mutable": false,
|
|
1483
|
-
"complexType": {
|
|
1484
|
-
"original": "string",
|
|
1485
|
-
"resolved": "string",
|
|
1486
|
-
"references": {}
|
|
1487
|
-
},
|
|
1488
|
-
"required": false,
|
|
1489
|
-
"optional": false,
|
|
1490
|
-
"docs": {
|
|
1491
|
-
"tags": [{
|
|
1492
|
-
"text": "Beneficiary name invalid description",
|
|
1493
|
-
"name": "uiName"
|
|
1494
|
-
}],
|
|
1495
|
-
"text": ""
|
|
1496
|
-
},
|
|
1497
|
-
"attribute": "beneficiary-name-invalid-description",
|
|
1498
|
-
"reflect": false,
|
|
1499
|
-
"defaultValue": "\"The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.\""
|
|
1500
|
-
},
|
|
1501
|
-
"beneficiaryNameMismatchHeader": {
|
|
1502
|
-
"type": "string",
|
|
1503
|
-
"mutable": false,
|
|
1504
|
-
"complexType": {
|
|
1505
|
-
"original": "string",
|
|
1506
|
-
"resolved": "string",
|
|
1507
|
-
"references": {}
|
|
1508
|
-
},
|
|
1509
|
-
"required": false,
|
|
1510
|
-
"optional": false,
|
|
1511
|
-
"docs": {
|
|
1512
|
-
"tags": [{
|
|
1513
|
-
"text": "Beneficiary name mismatch alert header",
|
|
1514
|
-
"name": "uiName"
|
|
1515
|
-
}],
|
|
1516
|
-
"text": ""
|
|
1517
|
-
},
|
|
1518
|
-
"attribute": "beneficiary-name-mismatch-header",
|
|
1519
|
-
"reflect": false,
|
|
1520
|
-
"defaultValue": "\"Your payment information does not match your tax form\""
|
|
1521
|
-
},
|
|
1522
|
-
"beneficiaryNameMismatchDescription": {
|
|
1523
|
-
"type": "string",
|
|
1524
|
-
"mutable": false,
|
|
1525
|
-
"complexType": {
|
|
1526
|
-
"original": "string",
|
|
1527
|
-
"resolved": "string",
|
|
1528
|
-
"references": {}
|
|
1529
|
-
},
|
|
1530
|
-
"required": false,
|
|
1531
|
-
"optional": false,
|
|
1532
|
-
"docs": {
|
|
1533
|
-
"tags": [{
|
|
1534
|
-
"text": "Beneficiary name mismatch alert description",
|
|
1535
|
-
"name": "uiName"
|
|
1536
|
-
}],
|
|
1537
|
-
"text": ""
|
|
1538
|
-
},
|
|
1539
|
-
"attribute": "beneficiary-name-mismatch-description",
|
|
1540
|
-
"reflect": false,
|
|
1541
|
-
"defaultValue": "\"The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.\""
|
|
1542
|
-
},
|
|
1543
|
-
"bankTaxNameMismatchHeader": {
|
|
1544
|
-
"type": "string",
|
|
1545
|
-
"mutable": false,
|
|
1546
|
-
"complexType": {
|
|
1547
|
-
"original": "string",
|
|
1548
|
-
"resolved": "string",
|
|
1549
|
-
"references": {}
|
|
1550
|
-
},
|
|
1551
|
-
"required": false,
|
|
1552
|
-
"optional": false,
|
|
1553
|
-
"docs": {
|
|
1554
|
-
"tags": [{
|
|
1555
|
-
"text": "Bank name mismatch alert header",
|
|
1556
|
-
"name": "uiName"
|
|
1557
|
-
}],
|
|
1558
|
-
"text": ""
|
|
1559
|
-
},
|
|
1560
|
-
"attribute": "bank-tax-name-mismatch-header",
|
|
1561
|
-
"reflect": false,
|
|
1562
|
-
"defaultValue": "\"Your payment information does not match your tax form\""
|
|
1563
|
-
},
|
|
1564
|
-
"bankTaxNameMismatchDescription": {
|
|
1565
|
-
"type": "string",
|
|
1566
|
-
"mutable": false,
|
|
1567
|
-
"complexType": {
|
|
1568
|
-
"original": "string",
|
|
1569
|
-
"resolved": "string",
|
|
1570
|
-
"references": {}
|
|
1571
|
-
},
|
|
1572
|
-
"required": false,
|
|
1573
|
-
"optional": false,
|
|
1574
|
-
"docs": {
|
|
1575
|
-
"tags": [{
|
|
1576
|
-
"text": "Bank name mismatch alert description",
|
|
1577
|
-
"name": "uiName"
|
|
1578
|
-
}],
|
|
1579
|
-
"text": ""
|
|
1580
|
-
},
|
|
1581
|
-
"attribute": "bank-tax-name-mismatch-description",
|
|
1582
|
-
"reflect": false,
|
|
1583
|
-
"defaultValue": "\"The bank account (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.\""
|
|
1584
|
-
},
|
|
1585
|
-
"withdrawalSettingsInvalidHeader": {
|
|
1586
|
-
"type": "string",
|
|
1587
|
-
"mutable": false,
|
|
1588
|
-
"complexType": {
|
|
1589
|
-
"original": "string",
|
|
1590
|
-
"resolved": "string",
|
|
1591
|
-
"references": {}
|
|
1592
|
-
},
|
|
1593
|
-
"required": false,
|
|
1594
|
-
"optional": false,
|
|
1595
|
-
"docs": {
|
|
1596
|
-
"tags": [{
|
|
1597
|
-
"text": "Withdrawal settings invalid alert header",
|
|
1598
|
-
"name": "uiName"
|
|
1599
|
-
}],
|
|
1600
|
-
"text": ""
|
|
1601
|
-
},
|
|
1602
|
-
"attribute": "withdrawal-settings-invalid-header",
|
|
1603
|
-
"reflect": false,
|
|
1604
|
-
"defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
|
|
1605
|
-
},
|
|
1606
|
-
"withdrawalSettingsInvalidDescription": {
|
|
1607
|
-
"type": "string",
|
|
1608
|
-
"mutable": false,
|
|
1609
|
-
"complexType": {
|
|
1610
|
-
"original": "string",
|
|
1611
|
-
"resolved": "string",
|
|
1612
|
-
"references": {}
|
|
1613
|
-
},
|
|
1614
|
-
"required": false,
|
|
1615
|
-
"optional": false,
|
|
1616
|
-
"docs": {
|
|
1617
|
-
"tags": [{
|
|
1618
|
-
"text": "Withdrawal settings invalid alert description",
|
|
1619
|
-
"name": "uiName"
|
|
1620
|
-
}],
|
|
1621
|
-
"text": ""
|
|
1622
|
-
},
|
|
1623
|
-
"attribute": "withdrawal-settings-invalid-description",
|
|
1624
|
-
"reflect": false,
|
|
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
|
-
},
|
|
1627
|
-
"paymentReturnedHeader": {
|
|
1628
|
-
"type": "string",
|
|
1629
|
-
"mutable": false,
|
|
1630
|
-
"complexType": {
|
|
1631
|
-
"original": "string",
|
|
1632
|
-
"resolved": "string",
|
|
1633
|
-
"references": {}
|
|
1634
|
-
},
|
|
1635
|
-
"required": false,
|
|
1636
|
-
"optional": false,
|
|
1637
|
-
"docs": {
|
|
1638
|
-
"tags": [{
|
|
1639
|
-
"text": "Payment returned alert header",
|
|
1640
|
-
"name": "uiName"
|
|
1641
|
-
}],
|
|
1642
|
-
"text": ""
|
|
1643
|
-
},
|
|
1644
|
-
"attribute": "payment-returned-header",
|
|
1645
|
-
"reflect": false,
|
|
1646
|
-
"defaultValue": "\"Payout unsuccessful\""
|
|
1647
|
-
},
|
|
1648
|
-
"paymentReturnedDescription": {
|
|
1649
|
-
"type": "string",
|
|
1650
|
-
"mutable": false,
|
|
1651
|
-
"complexType": {
|
|
1652
|
-
"original": "string",
|
|
1653
|
-
"resolved": "string",
|
|
1654
|
-
"references": {}
|
|
1655
|
-
},
|
|
1656
|
-
"required": false,
|
|
1657
|
-
"optional": false,
|
|
1658
|
-
"docs": {
|
|
1659
|
-
"tags": [{
|
|
1660
|
-
"text": "Payment returned alert description",
|
|
1661
|
-
"name": "uiName"
|
|
1662
|
-
}],
|
|
1663
|
-
"text": ""
|
|
1664
|
-
},
|
|
1665
|
-
"attribute": "payment-returned-description",
|
|
1666
|
-
"reflect": false,
|
|
1667
|
-
"defaultValue": "\"Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.\""
|
|
1668
|
-
},
|
|
1669
1369
|
"termsAndConditions": {
|
|
1670
1370
|
"type": "string",
|
|
1671
1371
|
"mutable": false,
|
package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js
CHANGED
|
@@ -60,14 +60,8 @@ export const useTaxAndCashDashboard = (props) => {
|
|
|
60
60
|
useEffect(() => {
|
|
61
61
|
// Clear override context once on submitted
|
|
62
62
|
setContext({});
|
|
63
|
-
if (window.location.hash)
|
|
64
|
-
setContext({
|
|
65
|
-
overrideNextStep: "/dashboard",
|
|
66
|
-
overrideBackStep: "/dashboard",
|
|
67
|
-
hideSteps: true,
|
|
68
|
-
});
|
|
63
|
+
if (window.location.hash)
|
|
69
64
|
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
70
|
-
}
|
|
71
65
|
}, []);
|
|
72
66
|
const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
|
|
73
67
|
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
|
@@ -287,10 +287,6 @@ export const UserInfoFormView = (props) => {
|
|
|
287
287
|
default:
|
|
288
288
|
regionLabel = text.state;
|
|
289
289
|
}
|
|
290
|
-
function isDisabledInput(field) {
|
|
291
|
-
var _a;
|
|
292
|
-
return states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
293
|
-
}
|
|
294
290
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
295
291
|
h("style", { type: "text/css" },
|
|
296
292
|
styleString,
|
|
@@ -331,22 +327,18 @@ export const UserInfoFormView = (props) => {
|
|
|
331
327
|
})))),
|
|
332
328
|
h("div", null,
|
|
333
329
|
h("div", { class: classes.InputContainer },
|
|
334
|
-
h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled ||
|
|
335
|
-
states.isUser ||
|
|
336
|
-
isDisabledInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|
|
330
|
+
h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|
|
337
331
|
class: classes.ErrorInput,
|
|
338
332
|
helpText: formatErrorMessage(text.firstName, formState.errors.firstName),
|
|
339
333
|
}
|
|
340
334
|
: {}), { id: "firstName", name: "/firstName", required: true })),
|
|
341
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled ||
|
|
342
|
-
states.isUser ||
|
|
343
|
-
isDisabledInput("lastName") }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
|
|
335
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled || states.isUser || states.isPartner }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
|
|
344
336
|
class: classes.ErrorInput,
|
|
345
337
|
helpText: formatErrorMessage(text.lastName, formState.errors.lastName),
|
|
346
338
|
}
|
|
347
339
|
: {}), { id: "lastName", name: "/lastName", required: true })),
|
|
348
340
|
h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
|
|
349
|
-
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 ||
|
|
341
|
+
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 || states.isPartner }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
|
|
350
342
|
class: classes.ErrorInput,
|
|
351
343
|
helpText: formatErrorMessage(text.country, formState.errors.countryCode),
|
|
352
344
|
}
|
|
@@ -362,8 +354,7 @@ export const UserInfoFormView = (props) => {
|
|
|
362
354
|
h("div", { class: classes.PhoneInputsSection },
|
|
363
355
|
h("p", null, text.phoneNumber),
|
|
364
356
|
h("div", { class: classes.PhoneInputsContainer },
|
|
365
|
-
h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled ||
|
|
366
|
-
isDisabledInput("phoneNumberCountryCode"), ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
|
|
357
|
+
h("sl-select", Object.assign({ id: "phoneNumberCountryCode", exportparts: "label: input-label, base: input-base", name: "/phoneNumberCountryCode", value: formState.phoneNumberCountryCode, disabled: states.disabled || states.isPartner, ref: (el) => (refs.phoneCountryRef.current = el) }, (((_g = formState.errors) === null || _g === void 0 ? void 0 : _g.phoneNumberCountryCode) ? {
|
|
367
358
|
class: classes.ErrorInput,
|
|
368
359
|
}
|
|
369
360
|
: {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("phoneCountry", e) }),
|
|
@@ -389,7 +380,7 @@ export const UserInfoFormView = (props) => {
|
|
|
389
380
|
// Naive phone number validation
|
|
390
381
|
validateBillingField(/[a-zA-Z]+/, value) &&
|
|
391
382
|
formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError);
|
|
392
|
-
}, disabled: states.disabled ||
|
|
383
|
+
}, disabled: states.disabled || states.isPartner }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
|
|
393
384
|
class: classes.ErrorInput,
|
|
394
385
|
helpText: formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
|
|
395
386
|
}
|
|
@@ -397,7 +388,7 @@ export const UserInfoFormView = (props) => {
|
|
|
397
388
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
|
|
398
389
|
// Checks for non-ASCII characters
|
|
399
390
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
400
|
-
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled ||
|
|
391
|
+
formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
|
|
401
392
|
class: classes.ErrorInput,
|
|
402
393
|
helpText: formatErrorMessage(text.address, formState.errors.address),
|
|
403
394
|
}
|
|
@@ -405,22 +396,22 @@ export const UserInfoFormView = (props) => {
|
|
|
405
396
|
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
|
|
406
397
|
// Checks for non-ASCII characters
|
|
407
398
|
!validateBillingField(/^[\x20-\xFF]+$/, value) &&
|
|
408
|
-
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled ||
|
|
399
|
+
formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
|
|
409
400
|
class: classes.ErrorInput,
|
|
410
401
|
helpText: formatErrorMessage(text.city, formState.errors.city),
|
|
411
402
|
}
|
|
412
403
|
: {}), { required: true })),
|
|
413
|
-
!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 ||
|
|
404
|
+
!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 || states.isPartner }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
|
|
414
405
|
class: classes.ErrorInput,
|
|
415
406
|
helpText: formatErrorMessage(text.state, formState.errors.state),
|
|
416
407
|
}
|
|
417
408
|
: {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
|
|
418
|
-
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 ||
|
|
409
|
+
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 || states.isPartner }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
|
|
419
410
|
class: classes.ErrorInput,
|
|
420
411
|
helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
421
412
|
}
|
|
422
413
|
: {}), { required: true })),
|
|
423
|
-
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 ||
|
|
414
|
+
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 || states.isPartner, helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
|
|
424
415
|
class: classes.ErrorInput,
|
|
425
416
|
helpText: formatErrorMessage(text.currency, formState.errors.currency),
|
|
426
417
|
}
|
|
@@ -442,7 +433,7 @@ export const UserInfoFormView = (props) => {
|
|
|
442
433
|
h("div", { class: classes.CheckboxWrapper },
|
|
443
434
|
h("sl-checkbox", { checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
|
|
444
435
|
e.target.value = e.target.checked;
|
|
445
|
-
}, disabled: states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
|
|
436
|
+
}, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
|
|
446
437
|
((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (h("p", { class: classes.ErrorText }, formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
|
|
447
|
-
h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
|
|
438
|
+
h("sl-button", { type: "primary", disabled: states.isPartner ? false : states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
|
|
448
439
|
};
|
|
@@ -889,7 +889,7 @@ export class TaxForm {
|
|
|
889
889
|
"mutable": false,
|
|
890
890
|
"complexType": {
|
|
891
891
|
"original": "DemoData<UseUserInfoFormResult>",
|
|
892
|
-
"resolved": "{ states?: { step: string; hideState: boolean; hideSteps: boolean; disabled: boolean; loadingError: boolean; loading: boolean; isPartner: boolean; isUser: boolean; formState: { errors: {}; firstName: string; lastName: string; email: string; phoneNumberCountryCode: string; phoneNumber: string; countryCode: string; currency: string; address: string; city: string; state: string; postalCode: string; }; }; refs?: { formRef: Ref<HTMLFormElement>; currencyRef: Ref<HTMLSelectElement>; phoneCountryRef: Ref<HTMLSelectElement>; }; data?: { currencies: { displayName: string; currencyCode: string; }[]; countries: TaxCountry[]; phoneCountries: TaxCountry[]; allCurrencies: { displayName: string; currencyCode: string; }[]; allCountries: TaxCountry[]; regionLabelEnum: \"STATE\" | \"PROVINCE\" | \"REGION\"; regions: { label: string; value: string; }[];
|
|
892
|
+
"resolved": "{ states?: { step: string; hideState: boolean; hideSteps: boolean; disabled: boolean; loadingError: boolean; loading: boolean; isPartner: boolean; isUser: boolean; formState: { errors: {}; firstName: string; lastName: string; email: string; phoneNumberCountryCode: string; phoneNumber: string; countryCode: string; currency: string; address: string; city: string; state: string; postalCode: string; }; }; refs?: { formRef: Ref<HTMLFormElement>; currencyRef: Ref<HTMLSelectElement>; phoneCountryRef: Ref<HTMLSelectElement>; }; data?: { currencies: { displayName: string; currencyCode: string; }[]; countries: TaxCountry[]; phoneCountries: TaxCountry[]; allCurrencies: { displayName: string; currencyCode: string; }[]; allCountries: TaxCountry[]; regionLabelEnum: \"STATE\" | \"PROVINCE\" | \"REGION\"; regions: { label: string; value: string; }[]; }; setStep?: (value: string) => void; onSubmit?: (event: any) => Promise<void>; }",
|
|
893
893
|
"references": {
|
|
894
894
|
"DemoData": {
|
|
895
895
|
"location": "import",
|