@saasquatch/mint-components 2.5.10-0 → 2.5.11-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/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 +27 -20
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +30 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +83 -3
- package/dist/cjs/{sqm-user-info-form-view-df5b95be.js → sqm-user-info-form-view-9416da92.js} +9 -7
- package/dist/cjs/{subregions-fd4e4ee2.js → subregions-e18b324d.js} +36 -0
- package/dist/cjs/{useIndirectTaxForm-76b94531.js → useIndirectTaxForm-31c63877.js} +8 -6
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +35 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +9 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +199 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +5 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +205 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.js +34 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +9 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +198 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +13 -16
- package/dist/collection/components/tax-and-cash/utils.js +33 -0
- 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 +27 -20
- package/dist/esm/sqm-big-stat_47.entry.js +30 -10
- package/dist/esm/sqm-stencilbook.entry.js +83 -3
- package/dist/esm/{sqm-user-info-form-view-d35324ba.js → sqm-user-info-form-view-6693aa82.js} +9 -7
- package/dist/esm/{subregions-c7df98a1.js → subregions-7f834e40.js} +34 -1
- package/dist/esm/{useIndirectTaxForm-6ea561e4.js → useIndirectTaxForm-58b0ea4b.js} +8 -6
- 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-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-6693aa82.js +1 -0
- package/dist/esm-es5/subregions-7f834e40.js +1 -0
- package/dist/esm-es5/useIndirectTaxForm-58b0ea4b.js +6 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0714330d.system.js +6 -0
- package/dist/mint-components/p-07f70909.system.entry.js +1 -0
- package/dist/mint-components/{p-4314e5c9.entry.js → p-11db4597.entry.js} +3 -3
- package/dist/mint-components/p-6116d239.js +108 -0
- package/dist/mint-components/p-7a324afd.entry.js +308 -0
- package/dist/mint-components/p-9098802a.entry.js +83 -0
- package/dist/mint-components/{p-477fe6fa.system.entry.js → p-97f5251b.system.entry.js} +1 -1
- package/dist/mint-components/p-9b9a9762.system.js +1 -0
- package/dist/mint-components/p-a1eb93fc.system.js +1 -0
- package/dist/mint-components/p-c9fc666c.system.entry.js +1 -0
- package/dist/mint-components/p-cb7d2088.js +1 -0
- package/dist/mint-components/p-d811796f.js +1 -0
- package/dist/mint-components/p-e78ec46b.system.js +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +10 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +36 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +2 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +38 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +9 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +36 -0
- package/dist/types/components/tax-and-cash/utils.d.ts +38 -1
- package/dist/types/components.d.ts +220 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/docs/stats.json +1588 -235
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-d35324ba.js +0 -1
- package/dist/esm-es5/subregions-c7df98a1.js +0 -1
- package/dist/esm-es5/useIndirectTaxForm-6ea561e4.js +0 -6
- package/dist/mint-components/p-089c0803.js +0 -1
- package/dist/mint-components/p-1cb0fc65.system.js +0 -6
- package/dist/mint-components/p-2401753b.js +0 -1
- package/dist/mint-components/p-59f9d9bb.js +0 -107
- package/dist/mint-components/p-615dbc66.system.entry.js +0 -1
- package/dist/mint-components/p-98659a12.system.js +0 -1
- package/dist/mint-components/p-9e90f38e.entry.js +0 -83
- package/dist/mint-components/p-aaf05ef1.entry.js +0 -308
- package/dist/mint-components/p-db8e74e0.system.entry.js +0 -1
- package/dist/mint-components/p-ed18f6a0.system.js +0 -1
|
@@ -186,14 +186,23 @@ export class TaxAndCashMonolith {
|
|
|
186
186
|
this.dashboard_paymentOnHoldDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
|
|
187
187
|
this.dashboard_beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
|
|
188
188
|
this.dashboard_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.";
|
|
189
|
+
this.dashboard_beneficiaryNameInvalidNonBrandedHeader = "Account holder name contains invalid characters";
|
|
190
|
+
this.dashboard_beneficiaryNameInvalidNonBrandedDescription = "The account holder name in your payment information contains characters we can't accept. Go to impact.com to update it so it is valid and matches the name on your tax form. Your payouts are on hold until this is resolved.";
|
|
189
191
|
this.dashboard_beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
|
|
190
192
|
this.dashboard_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.";
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
193
|
+
this.dashboard_beneficiaryNameMismatchNonBrandedHeader = "Account holder name doesn't match your tax form";
|
|
194
|
+
this.dashboard_beneficiaryNameMismatchNonBrandedDescription = "The account holder name in your payment information doesn't match the name on your tax form. Go to impact.com to update one or both so the names match exactly. Your payouts are on hold until this is resolved.";
|
|
195
|
+
this.dashboard_bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
|
|
196
|
+
this.dashboard_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.";
|
|
197
|
+
this.dashboard_bankTaxNameMismatchNonBrandedHeader = "Bank account name doesn't match your tax form";
|
|
198
|
+
this.dashboard_bankTaxNameMismatchNonBrandedDescription = "The name on your bank account doesn't match the name on your tax form. Go to impact.com to update your payment information or your tax form so the two names match exactly. Your payouts are on hold until this is resolved.";
|
|
193
199
|
this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
|
|
194
200
|
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.";
|
|
201
|
+
this.dashboard_withdrawalSettingsInvalidNonBrandedHeader = "Payment information is incomplete or contains errors";
|
|
202
|
+
this.dashboard_withdrawalSettingsInvalidNonBrandedDescription = "Some required details in your payment information are missing or contain invalid characters. Go to impact.com to review and complete your information. Your payouts are on hold until this is resolved.";
|
|
195
203
|
this.dashboard_paymentReturnedHeader = "Payout unsuccessful";
|
|
196
204
|
this.dashboard_paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
|
|
205
|
+
this.dashboard_paymentReturnedNonBrandedDescription = "Your most recent payment for your earnings was returned. Go to impact.com to check that your payment information is correct and up to date.";
|
|
197
206
|
this.dashboard_termsAndConditions = "Terms and Conditions";
|
|
198
207
|
this.dashboard_w9RequiredButtonText = "Submit W-9";
|
|
199
208
|
this.formStep = "Step {step} of {count}";
|
|
@@ -4319,6 +4328,48 @@ export class TaxAndCashMonolith {
|
|
|
4319
4328
|
"reflect": false,
|
|
4320
4329
|
"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.\""
|
|
4321
4330
|
},
|
|
4331
|
+
"dashboard_beneficiaryNameInvalidNonBrandedHeader": {
|
|
4332
|
+
"type": "string",
|
|
4333
|
+
"mutable": false,
|
|
4334
|
+
"complexType": {
|
|
4335
|
+
"original": "string",
|
|
4336
|
+
"resolved": "string",
|
|
4337
|
+
"references": {}
|
|
4338
|
+
},
|
|
4339
|
+
"required": false,
|
|
4340
|
+
"optional": false,
|
|
4341
|
+
"docs": {
|
|
4342
|
+
"tags": [{
|
|
4343
|
+
"name": "uiName",
|
|
4344
|
+
"text": "Beneficiary name invalid alert header (non-branded partners)"
|
|
4345
|
+
}],
|
|
4346
|
+
"text": ""
|
|
4347
|
+
},
|
|
4348
|
+
"attribute": "dashboard_beneficiary-name-invalid-non-branded-header",
|
|
4349
|
+
"reflect": false,
|
|
4350
|
+
"defaultValue": "\"Account holder name contains invalid characters\""
|
|
4351
|
+
},
|
|
4352
|
+
"dashboard_beneficiaryNameInvalidNonBrandedDescription": {
|
|
4353
|
+
"type": "string",
|
|
4354
|
+
"mutable": false,
|
|
4355
|
+
"complexType": {
|
|
4356
|
+
"original": "string",
|
|
4357
|
+
"resolved": "string",
|
|
4358
|
+
"references": {}
|
|
4359
|
+
},
|
|
4360
|
+
"required": false,
|
|
4361
|
+
"optional": false,
|
|
4362
|
+
"docs": {
|
|
4363
|
+
"tags": [{
|
|
4364
|
+
"name": "uiName",
|
|
4365
|
+
"text": "Beneficiary name invalid alert description (non-branded partners)"
|
|
4366
|
+
}],
|
|
4367
|
+
"text": ""
|
|
4368
|
+
},
|
|
4369
|
+
"attribute": "dashboard_beneficiary-name-invalid-non-branded-description",
|
|
4370
|
+
"reflect": false,
|
|
4371
|
+
"defaultValue": "\"The account holder name in your payment information contains characters we can't accept. Go to impact.com to update it so it is valid and matches the name on your tax form. Your payouts are on hold until this is resolved.\""
|
|
4372
|
+
},
|
|
4322
4373
|
"dashboard_beneficiaryNameMismatchHeader": {
|
|
4323
4374
|
"type": "string",
|
|
4324
4375
|
"mutable": false,
|
|
@@ -4361,7 +4412,49 @@ export class TaxAndCashMonolith {
|
|
|
4361
4412
|
"reflect": false,
|
|
4362
4413
|
"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.\""
|
|
4363
4414
|
},
|
|
4364
|
-
"
|
|
4415
|
+
"dashboard_beneficiaryNameMismatchNonBrandedHeader": {
|
|
4416
|
+
"type": "string",
|
|
4417
|
+
"mutable": false,
|
|
4418
|
+
"complexType": {
|
|
4419
|
+
"original": "string",
|
|
4420
|
+
"resolved": "string",
|
|
4421
|
+
"references": {}
|
|
4422
|
+
},
|
|
4423
|
+
"required": false,
|
|
4424
|
+
"optional": false,
|
|
4425
|
+
"docs": {
|
|
4426
|
+
"tags": [{
|
|
4427
|
+
"name": "uiName",
|
|
4428
|
+
"text": "Beneficiary name mismatch alert header (non-branded partners)"
|
|
4429
|
+
}],
|
|
4430
|
+
"text": ""
|
|
4431
|
+
},
|
|
4432
|
+
"attribute": "dashboard_beneficiary-name-mismatch-non-branded-header",
|
|
4433
|
+
"reflect": false,
|
|
4434
|
+
"defaultValue": "\"Account holder name doesn't match your tax form\""
|
|
4435
|
+
},
|
|
4436
|
+
"dashboard_beneficiaryNameMismatchNonBrandedDescription": {
|
|
4437
|
+
"type": "string",
|
|
4438
|
+
"mutable": false,
|
|
4439
|
+
"complexType": {
|
|
4440
|
+
"original": "string",
|
|
4441
|
+
"resolved": "string",
|
|
4442
|
+
"references": {}
|
|
4443
|
+
},
|
|
4444
|
+
"required": false,
|
|
4445
|
+
"optional": false,
|
|
4446
|
+
"docs": {
|
|
4447
|
+
"tags": [{
|
|
4448
|
+
"name": "uiName",
|
|
4449
|
+
"text": "Beneficiary name mismatch alert description (non-branded partners)"
|
|
4450
|
+
}],
|
|
4451
|
+
"text": ""
|
|
4452
|
+
},
|
|
4453
|
+
"attribute": "dashboard_beneficiary-name-mismatch-non-branded-description",
|
|
4454
|
+
"reflect": false,
|
|
4455
|
+
"defaultValue": "\"The account holder name in your payment information doesn't match the name on your tax form. Go to impact.com to update one or both so the names match exactly. Your payouts are on hold until this is resolved.\""
|
|
4456
|
+
},
|
|
4457
|
+
"dashboard_bankTaxNameMismatchHeader": {
|
|
4365
4458
|
"type": "string",
|
|
4366
4459
|
"mutable": false,
|
|
4367
4460
|
"complexType": {
|
|
@@ -4378,11 +4471,11 @@ export class TaxAndCashMonolith {
|
|
|
4378
4471
|
}],
|
|
4379
4472
|
"text": ""
|
|
4380
4473
|
},
|
|
4381
|
-
"attribute": "dashboard_bank-name-mismatch-header",
|
|
4474
|
+
"attribute": "dashboard_bank-tax-name-mismatch-header",
|
|
4382
4475
|
"reflect": false,
|
|
4383
4476
|
"defaultValue": "\"Your payment information does not match your tax form\""
|
|
4384
4477
|
},
|
|
4385
|
-
"
|
|
4478
|
+
"dashboard_bankTaxNameMismatchDescription": {
|
|
4386
4479
|
"type": "string",
|
|
4387
4480
|
"mutable": false,
|
|
4388
4481
|
"complexType": {
|
|
@@ -4399,10 +4492,52 @@ export class TaxAndCashMonolith {
|
|
|
4399
4492
|
}],
|
|
4400
4493
|
"text": ""
|
|
4401
4494
|
},
|
|
4402
|
-
"attribute": "dashboard_bank-name-mismatch-description",
|
|
4495
|
+
"attribute": "dashboard_bank-tax-name-mismatch-description",
|
|
4403
4496
|
"reflect": false,
|
|
4404
4497
|
"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.\""
|
|
4405
4498
|
},
|
|
4499
|
+
"dashboard_bankTaxNameMismatchNonBrandedHeader": {
|
|
4500
|
+
"type": "string",
|
|
4501
|
+
"mutable": false,
|
|
4502
|
+
"complexType": {
|
|
4503
|
+
"original": "string",
|
|
4504
|
+
"resolved": "string",
|
|
4505
|
+
"references": {}
|
|
4506
|
+
},
|
|
4507
|
+
"required": false,
|
|
4508
|
+
"optional": false,
|
|
4509
|
+
"docs": {
|
|
4510
|
+
"tags": [{
|
|
4511
|
+
"name": "uiName",
|
|
4512
|
+
"text": "Bank name mismatch alert header (non-branded partners)"
|
|
4513
|
+
}],
|
|
4514
|
+
"text": ""
|
|
4515
|
+
},
|
|
4516
|
+
"attribute": "dashboard_bank-tax-name-mismatch-non-branded-header",
|
|
4517
|
+
"reflect": false,
|
|
4518
|
+
"defaultValue": "\"Bank account name doesn't match your tax form\""
|
|
4519
|
+
},
|
|
4520
|
+
"dashboard_bankTaxNameMismatchNonBrandedDescription": {
|
|
4521
|
+
"type": "string",
|
|
4522
|
+
"mutable": false,
|
|
4523
|
+
"complexType": {
|
|
4524
|
+
"original": "string",
|
|
4525
|
+
"resolved": "string",
|
|
4526
|
+
"references": {}
|
|
4527
|
+
},
|
|
4528
|
+
"required": false,
|
|
4529
|
+
"optional": false,
|
|
4530
|
+
"docs": {
|
|
4531
|
+
"tags": [{
|
|
4532
|
+
"name": "uiName",
|
|
4533
|
+
"text": "Bank name mismatch alert description (non-branded partners)"
|
|
4534
|
+
}],
|
|
4535
|
+
"text": ""
|
|
4536
|
+
},
|
|
4537
|
+
"attribute": "dashboard_bank-tax-name-mismatch-non-branded-description",
|
|
4538
|
+
"reflect": false,
|
|
4539
|
+
"defaultValue": "\"The name on your bank account doesn't match the name on your tax form. Go to impact.com to update your payment information or your tax form so the two names match exactly. Your payouts are on hold until this is resolved.\""
|
|
4540
|
+
},
|
|
4406
4541
|
"dashboard_withdrawalSettingsInvalidHeader": {
|
|
4407
4542
|
"type": "string",
|
|
4408
4543
|
"mutable": false,
|
|
@@ -4445,6 +4580,48 @@ export class TaxAndCashMonolith {
|
|
|
4445
4580
|
"reflect": false,
|
|
4446
4581
|
"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.\""
|
|
4447
4582
|
},
|
|
4583
|
+
"dashboard_withdrawalSettingsInvalidNonBrandedHeader": {
|
|
4584
|
+
"type": "string",
|
|
4585
|
+
"mutable": false,
|
|
4586
|
+
"complexType": {
|
|
4587
|
+
"original": "string",
|
|
4588
|
+
"resolved": "string",
|
|
4589
|
+
"references": {}
|
|
4590
|
+
},
|
|
4591
|
+
"required": false,
|
|
4592
|
+
"optional": false,
|
|
4593
|
+
"docs": {
|
|
4594
|
+
"tags": [{
|
|
4595
|
+
"name": "uiName",
|
|
4596
|
+
"text": "Withdrawal settings invalid alert header (non-branded partners)"
|
|
4597
|
+
}],
|
|
4598
|
+
"text": ""
|
|
4599
|
+
},
|
|
4600
|
+
"attribute": "dashboard_withdrawal-settings-invalid-non-branded-header",
|
|
4601
|
+
"reflect": false,
|
|
4602
|
+
"defaultValue": "\"Payment information is incomplete or contains errors\""
|
|
4603
|
+
},
|
|
4604
|
+
"dashboard_withdrawalSettingsInvalidNonBrandedDescription": {
|
|
4605
|
+
"type": "string",
|
|
4606
|
+
"mutable": false,
|
|
4607
|
+
"complexType": {
|
|
4608
|
+
"original": "string",
|
|
4609
|
+
"resolved": "string",
|
|
4610
|
+
"references": {}
|
|
4611
|
+
},
|
|
4612
|
+
"required": false,
|
|
4613
|
+
"optional": false,
|
|
4614
|
+
"docs": {
|
|
4615
|
+
"tags": [{
|
|
4616
|
+
"name": "uiName",
|
|
4617
|
+
"text": "Withdrawal settings invalid alert description (non-branded partners)"
|
|
4618
|
+
}],
|
|
4619
|
+
"text": ""
|
|
4620
|
+
},
|
|
4621
|
+
"attribute": "dashboard_withdrawal-settings-invalid-non-branded-description",
|
|
4622
|
+
"reflect": false,
|
|
4623
|
+
"defaultValue": "\"Some required details in your payment information are missing or contain invalid characters. Go to impact.com to review and complete your information. Your payouts are on hold until this is resolved.\""
|
|
4624
|
+
},
|
|
4448
4625
|
"dashboard_paymentReturnedHeader": {
|
|
4449
4626
|
"type": "string",
|
|
4450
4627
|
"mutable": false,
|
|
@@ -4487,6 +4664,27 @@ export class TaxAndCashMonolith {
|
|
|
4487
4664
|
"reflect": false,
|
|
4488
4665
|
"defaultValue": "\"Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.\""
|
|
4489
4666
|
},
|
|
4667
|
+
"dashboard_paymentReturnedNonBrandedDescription": {
|
|
4668
|
+
"type": "string",
|
|
4669
|
+
"mutable": false,
|
|
4670
|
+
"complexType": {
|
|
4671
|
+
"original": "string",
|
|
4672
|
+
"resolved": "string",
|
|
4673
|
+
"references": {}
|
|
4674
|
+
},
|
|
4675
|
+
"required": false,
|
|
4676
|
+
"optional": false,
|
|
4677
|
+
"docs": {
|
|
4678
|
+
"tags": [{
|
|
4679
|
+
"name": "uiName",
|
|
4680
|
+
"text": "Payment returned alert description (non-branded partners)"
|
|
4681
|
+
}],
|
|
4682
|
+
"text": ""
|
|
4683
|
+
},
|
|
4684
|
+
"attribute": "dashboard_payment-returned-non-branded-description",
|
|
4685
|
+
"reflect": false,
|
|
4686
|
+
"defaultValue": "\"Your most recent payment for your earnings was returned. Go to impact.com to check that your payment information is correct and up to date.\""
|
|
4687
|
+
},
|
|
4490
4688
|
"dashboard_termsAndConditions": {
|
|
4491
4689
|
"type": "string",
|
|
4492
4690
|
"mutable": false,
|
|
@@ -5005,7 +5203,7 @@ export class TaxAndCashMonolith {
|
|
|
5005
5203
|
"mutable": false,
|
|
5006
5204
|
"complexType": {
|
|
5007
5205
|
"original": "DemoData<TaxAndCashMonolith>",
|
|
5008
|
-
"resolved": "{ render?: () => any; formStep?: string; taxAndPayoutsDescription?: string; searchForCountryText?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; fieldInvalidError?: string; supportLink?: string; continueButton?: string; backButton?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; demoData?: Partial<Omit<TaxAndCashMonolith, \"text\" | \"callbacks\">>; stateController?: string; termsAndConditions?: string; cancelButton?: string; disconnectedCallback?: () => void; invalidCharacterError?: string; step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step3_modalTitle?: string; step3_modalDescription?: string; step3_modalButtonText?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_beneficiaryAccountNameDescription?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_branchNameLabel?: string; step4_classificationLabel?: string; step4_classificationCodeLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; step4_modalTitle?: string; step4_modalDescription?: string; step4_modalButtonText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_statusTextRequired?: string; dashboard_requiredTaxForm?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; dashboard_w9RequiredHeader?: string; dashboard_w9RequiredDescription?: string; dashboard_accountReviewHeader?: string; dashboard_accountReviewDescription?: string; dashboard_balanceUnderThresholdHeader?: string; dashboard_balanceUnderThresholdDescription?: string; dashboard_paymentOnHoldHeader?: string; dashboard_paymentOnHoldDescription?: string; dashboard_beneficiaryNameInvalidHeader?: string; dashboard_beneficiaryNameInvalidDescription?: string; dashboard_beneficiaryNameMismatchHeader?: string; dashboard_beneficiaryNameMismatchDescription?: string;
|
|
5206
|
+
"resolved": "{ render?: () => any; formStep?: string; taxAndPayoutsDescription?: string; searchForCountryText?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; fieldInvalidError?: string; supportLink?: string; continueButton?: string; backButton?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; demoData?: Partial<Omit<TaxAndCashMonolith, \"text\" | \"callbacks\">>; stateController?: string; termsAndConditions?: string; cancelButton?: string; disconnectedCallback?: () => void; invalidCharacterError?: string; step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step3_modalTitle?: string; step3_modalDescription?: string; step3_modalButtonText?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_beneficiaryAccountNameDescription?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_branchNameLabel?: string; step4_classificationLabel?: string; step4_classificationCodeLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; step4_modalTitle?: string; step4_modalDescription?: string; step4_modalButtonText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_statusTextRequired?: string; dashboard_requiredTaxForm?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; dashboard_w9RequiredHeader?: string; dashboard_w9RequiredDescription?: string; dashboard_accountReviewHeader?: string; dashboard_accountReviewDescription?: string; dashboard_balanceUnderThresholdHeader?: string; dashboard_balanceUnderThresholdDescription?: string; dashboard_paymentOnHoldHeader?: string; dashboard_paymentOnHoldDescription?: string; dashboard_beneficiaryNameInvalidHeader?: string; dashboard_beneficiaryNameInvalidDescription?: string; dashboard_beneficiaryNameInvalidNonBrandedHeader?: string; dashboard_beneficiaryNameInvalidNonBrandedDescription?: string; dashboard_beneficiaryNameMismatchHeader?: string; dashboard_beneficiaryNameMismatchDescription?: string; dashboard_beneficiaryNameMismatchNonBrandedHeader?: string; dashboard_beneficiaryNameMismatchNonBrandedDescription?: string; dashboard_bankTaxNameMismatchHeader?: string; dashboard_bankTaxNameMismatchDescription?: string; dashboard_bankTaxNameMismatchNonBrandedHeader?: string; dashboard_bankTaxNameMismatchNonBrandedDescription?: string; dashboard_withdrawalSettingsInvalidHeader?: string; dashboard_withdrawalSettingsInvalidDescription?: string; dashboard_withdrawalSettingsInvalidNonBrandedHeader?: string; dashboard_withdrawalSettingsInvalidNonBrandedDescription?: string; dashboard_paymentReturnedHeader?: string; dashboard_paymentReturnedDescription?: string; dashboard_paymentReturnedNonBrandedDescription?: string; dashboard_termsAndConditions?: string; dashboard_w9RequiredButtonText?: string; getGeneralStepTextProps?: (prefix: string) => PickPrefix<TaxAndCashMonolith, string> & { generalErrorTitle: string; generalErrorDescription: string; fieldRequiredError: string; invalidCharacterError: string; fieldInvalidError: string; continueButton: string; backButton: string; cancelButton: string; isPartnerAlertHeader: string; isPartnerAlertDescription: string; loadingErrorAlertHeader: string; loadingErrorAlertDescription: string; taxAndPayoutsDescription: string; searchForCountryText: string; formStep: string; supportLink: string; }; }",
|
|
5009
5207
|
"references": {
|
|
5010
5208
|
"DemoData": {
|
|
5011
5209
|
"location": "import",
|
|
@@ -79,6 +79,15 @@ const defaultText = {
|
|
|
79
79
|
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.",
|
|
80
80
|
paymentReturnedHeader: "Payout unsuccessful",
|
|
81
81
|
paymentReturnedDescription: "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.",
|
|
82
|
+
beneficiaryNameInvalidNonBrandedHeader: "Account holder name contains invalid characters",
|
|
83
|
+
beneficiaryNameInvalidNonBrandedDescription: "The account holder name in your payment information contains characters we can't accept. Go to impact.com to update it so it is valid and matches the name on your tax form. Your payouts are on hold until this is resolved.",
|
|
84
|
+
beneficiaryNameMismatchNonBrandedHeader: "Account holder name doesn't match your tax form",
|
|
85
|
+
beneficiaryNameMismatchNonBrandedDescription: "The account holder name in your payment information doesn't match the name on your tax form. Go to impact.com to update one or both so the names match exactly. Your payouts are on hold until this is resolved.",
|
|
86
|
+
bankTaxNameMismatchNonBrandedHeader: "Bank account name doesn't match your tax form",
|
|
87
|
+
bankTaxNameMismatchNonBrandedDescription: "The name on your bank account doesn't match the name on your tax form. Go to impact.com to update your payment information or your tax form so the two names match exactly. Your payouts are on hold until this is resolved.",
|
|
88
|
+
withdrawalSettingsInvalidNonBrandedHeader: "Payment information is incomplete or contains errors",
|
|
89
|
+
withdrawalSettingsInvalidNonBrandedDescription: "Some required details in your payment information are missing or contain invalid characters. Go to impact.com to review and complete your information. Your payouts are on hold until this is resolved.",
|
|
90
|
+
paymentReturnedNonBrandedDescription: "Your most recent payment for your earnings was returned. Go to impact.com to check that your payment information is correct and up to date.",
|
|
82
91
|
termsAndConditions: "Terms and Conditions",
|
|
83
92
|
error: {
|
|
84
93
|
generalTitle: "There was a problem submitting your information",
|
|
@@ -146,6 +155,31 @@ export const BeneficiaryNameMismatch = () => (h(TaxAndCashDashboardView, { state
|
|
|
146
155
|
export const BankTaxNameMismatch = () => (h(TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BANK_TAX_NAME_MISMATCH" }, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
147
156
|
export const WithdrawalSettingsInvalid = () => (h(TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "WITHDRAWAL_SETTINGS_INVALID" }, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
148
157
|
export const PaymentReturned = () => (h(TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "PAYMENT_RETURNED" }, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
158
|
+
export const BeneficiaryNameInvalidNonBranded = () => (h(TaxAndCashDashboardView, { states: {
|
|
159
|
+
...baseStates,
|
|
160
|
+
payoutStatus: "BENEFICIARY_NAME_INVALID",
|
|
161
|
+
canEditPayoutInfo: false,
|
|
162
|
+
}, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
163
|
+
export const BeneficiaryNameMismatchNonBranded = () => (h(TaxAndCashDashboardView, { states: {
|
|
164
|
+
...baseStates,
|
|
165
|
+
payoutStatus: "BENEFICIARY_NAME_MISMATCH",
|
|
166
|
+
canEditPayoutInfo: false,
|
|
167
|
+
}, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
168
|
+
export const BankTaxNameMismatchNonBranded = () => (h(TaxAndCashDashboardView, { states: {
|
|
169
|
+
...baseStates,
|
|
170
|
+
payoutStatus: "BANK_TAX_NAME_MISMATCH",
|
|
171
|
+
canEditPayoutInfo: false,
|
|
172
|
+
}, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
173
|
+
export const WithdrawalSettingsInvalidNonBranded = () => (h(TaxAndCashDashboardView, { states: {
|
|
174
|
+
...baseStates,
|
|
175
|
+
payoutStatus: "WITHDRAWAL_SETTINGS_INVALID",
|
|
176
|
+
canEditPayoutInfo: false,
|
|
177
|
+
}, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
178
|
+
export const PaymentReturnedNonBranded = () => (h(TaxAndCashDashboardView, { states: {
|
|
179
|
+
...baseStates,
|
|
180
|
+
payoutStatus: "PAYMENT_RETURNED",
|
|
181
|
+
canEditPayoutInfo: false,
|
|
182
|
+
}, text: defaultText, callbacks: defaultCallbacks, slots: defaultSlots }));
|
|
149
183
|
export const W9ThresholdReachedHardBlock = () => (h(TaxAndCashDashboardView, { states: {
|
|
150
184
|
...baseStates,
|
|
151
185
|
payoutStatus: "OVER_W9_THRESHOLD",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { intl } from "../../../global/global";
|
|
3
3
|
import { createStyleSheet } from "../../../styling/JSS";
|
|
4
|
+
import { getEditPayoutInfoButtonProps, withPaymentInfoAlertCopy, } from "../utils";
|
|
4
5
|
const holdAlertContainer = (iconColor) => ({
|
|
5
6
|
marginLeft: "-20px",
|
|
6
7
|
"&::part(base)": {
|
|
@@ -263,7 +264,9 @@ const vanillaStyle = `
|
|
|
263
264
|
`;
|
|
264
265
|
export const TaxAndCashDashboardView = (props) => {
|
|
265
266
|
var _a;
|
|
266
|
-
const { states,
|
|
267
|
+
const { states, callbacks, slots } = props;
|
|
268
|
+
const text = withPaymentInfoAlertCopy(props.text, states.canEditPayoutInfo);
|
|
269
|
+
const editPayoutInfoButtonProps = getEditPayoutInfoButtonProps(states.canEditPayoutInfo, callbacks.onEditPayoutInfo);
|
|
267
270
|
function getAlert(status) {
|
|
268
271
|
switch (status) {
|
|
269
272
|
case "OVER_W9_THRESHOLD":
|
|
@@ -387,7 +390,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
387
390
|
}, {
|
|
388
391
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
389
392
|
}),
|
|
390
|
-
button: (h("div", { class: sheet.classes.ButtonContainer }, h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton,
|
|
393
|
+
button: (h("div", { class: sheet.classes.ButtonContainer }, h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton, ...editPayoutInfoButtonProps }, text.editPaymentInformationButton), h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: secondarybutton-base", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
391
394
|
alertType: "warning",
|
|
392
395
|
icon: "exclamation-triangle",
|
|
393
396
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
@@ -401,7 +404,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
401
404
|
}, {
|
|
402
405
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
403
406
|
}),
|
|
404
|
-
button: (h("div", { class: sheet.classes.ButtonContainer }, h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton,
|
|
407
|
+
button: (h("div", { class: sheet.classes.ButtonContainer }, h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton, ...editPayoutInfoButtonProps }, text.editPaymentInformationButton), h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: secondarybutton-base", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
405
408
|
alertType: "warning",
|
|
406
409
|
icon: "exclamation-triangle",
|
|
407
410
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
@@ -415,7 +418,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
415
418
|
}, {
|
|
416
419
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
417
420
|
}),
|
|
418
|
-
button: (h("div", { class: sheet.classes.ButtonContainer }, h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton,
|
|
421
|
+
button: (h("div", { class: sheet.classes.ButtonContainer }, h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton, ...editPayoutInfoButtonProps }, text.editPaymentInformationButton), h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: secondarybutton-base", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
|
|
419
422
|
alertType: "warning",
|
|
420
423
|
icon: "exclamation-triangle",
|
|
421
424
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
@@ -429,7 +432,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
429
432
|
}, {
|
|
430
433
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
431
434
|
}),
|
|
432
|
-
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton,
|
|
435
|
+
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton, ...editPayoutInfoButtonProps }, text.editPaymentInformationButton)),
|
|
433
436
|
alertType: "warning",
|
|
434
437
|
icon: "exclamation-triangle",
|
|
435
438
|
class: sheet.classes.WarningHoldAlertContainer,
|
|
@@ -443,7 +446,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
443
446
|
}, {
|
|
444
447
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
445
448
|
}),
|
|
446
|
-
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton,
|
|
449
|
+
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", class: sheet.classes.EditBankDetailsButton, ...editPayoutInfoButtonProps }, text.editPaymentInformationButton)),
|
|
447
450
|
alertType: "error",
|
|
448
451
|
icon: "exclamation-triangle",
|
|
449
452
|
class: sheet.classes.WarningHoldAlertContainer,
|