@saasquatch/mint-components 2.0.2-7 → 2.0.2-9

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.
Files changed (24) hide show
  1. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +4 -4
  2. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +7 -7
  3. package/dist/cjs/{usePayoutStatus-95874989.js → usePayoutStatus-9abe2de8.js} +10 -7
  4. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +6 -6
  5. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +10 -7
  6. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
  7. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +6 -6
  8. package/dist/esm/sqm-banking-info-form_10.entry.js +4 -4
  9. package/dist/esm/sqm-big-stat_47.entry.js +7 -7
  10. package/dist/esm/{usePayoutStatus-c515b24b.js → usePayoutStatus-e0ef2374.js} +10 -7
  11. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  12. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  13. package/dist/esm-es5/{usePayoutStatus-c515b24b.js → usePayoutStatus-e0ef2374.js} +1 -1
  14. package/dist/mint-components/mint-components.esm.js +1 -1
  15. package/dist/mint-components/{p-8b726fe1.system.entry.js → p-35576752.system.entry.js} +1 -1
  16. package/dist/mint-components/{p-49da7b73.entry.js → p-408a3798.entry.js} +9 -9
  17. package/dist/mint-components/{p-1c1ae908.system.js → p-59bb2d52.system.js} +2 -2
  18. package/dist/mint-components/{p-8b73f5bf.entry.js → p-60e35884.entry.js} +2 -2
  19. package/dist/mint-components/{p-37544d95.system.entry.js → p-680a7162.system.entry.js} +1 -1
  20. package/dist/mint-components/p-967a9040.system.js +1 -1
  21. package/dist/mint-components/{p-c9cceb05.js → p-c41108ae.js} +2 -2
  22. package/docs/docs.docx +0 -0
  23. package/docs/raisins.json +1 -1
  24. package/package.json +1 -1
@@ -19,7 +19,7 @@ const useReferralTable = require('./useReferralTable-90d4d6e9.js');
19
19
  const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-e5f70b8b.js');
20
20
  const utils$1 = require('./utils-83d125fa.js');
21
21
  const keys = require('./keys-cff24974.js');
22
- const usePayoutStatus = require('./usePayoutStatus-95874989.js');
22
+ const usePayoutStatus = require('./usePayoutStatus-9abe2de8.js');
23
23
 
24
24
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
25
25
  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;
@@ -4667,7 +4667,7 @@ const TaxAndCashDashboard = class {
4667
4667
  /**
4668
4668
  * @uiName Verification required internal alert header
4669
4669
  */
4670
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
4670
+ this.verificationRequiredInternalHeader = "Identity verification in progress";
4671
4671
  /**
4672
4672
  * @uiName Verification required internal alert description
4673
4673
  */
@@ -4675,7 +4675,7 @@ const TaxAndCashDashboard = class {
4675
4675
  /**
4676
4676
  * @uiName Verification review internal alert header
4677
4677
  */
4678
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
4678
+ this.verificationReviewInternalHeader = "Identity verification under review";
4679
4679
  /**
4680
4680
  * @uiName Verification review internal alert description
4681
4681
  */
@@ -4683,7 +4683,7 @@ const TaxAndCashDashboard = class {
4683
4683
  /**
4684
4684
  * @uiName Verification failed internal alert header
4685
4685
  */
4686
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
4686
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
4687
4687
  /**
4688
4688
  * @uiName Verification failed internal alert description
4689
4689
  */
@@ -31,7 +31,7 @@ const ShadowViewAddon = require('./ShadowViewAddon-925a8fa6.js');
31
31
  require('./sqm-portal-container-view-07e4343f.js');
32
32
  const utils$1 = require('./utils-83d125fa.js');
33
33
  const extractProps = require('./extractProps-e9c55ba8.js');
34
- const usePayoutStatus = require('./usePayoutStatus-95874989.js');
34
+ const usePayoutStatus = require('./usePayoutStatus-9abe2de8.js');
35
35
 
36
36
  /**
37
37
  *
@@ -3221,7 +3221,7 @@ const PayoutStatusAlert = class {
3221
3221
  /**
3222
3222
  * @uiName Verification required internal alert header
3223
3223
  */
3224
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
3224
+ this.verificationRequiredInternalHeader = "Identity Verification in progress";
3225
3225
  /**
3226
3226
  * @uiName Verification required internal alert description
3227
3227
  */
@@ -3229,7 +3229,7 @@ const PayoutStatusAlert = class {
3229
3229
  /**
3230
3230
  * @uiName Verification review internal alert header
3231
3231
  */
3232
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
3232
+ this.verificationReviewInternalHeader = "Identity Verification under review";
3233
3233
  /**
3234
3234
  * @uiName Verification review internal alert description
3235
3235
  */
@@ -3237,7 +3237,7 @@ const PayoutStatusAlert = class {
3237
3237
  /**
3238
3238
  * @uiName Verification failed internal alert header
3239
3239
  */
3240
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
3240
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
3241
3241
  /**
3242
3242
  * @uiName Verification failed internal alert description
3243
3243
  */
@@ -7572,7 +7572,7 @@ const TaxAndCashMonolith = class {
7572
7572
  * @uiGroup Dashboard Properties
7573
7573
  * @uiWidget textArea
7574
7574
  */
7575
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
7575
+ this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
7576
7576
  /**
7577
7577
  * @uiName Verification required internal alert description
7578
7578
  * @uiGroup Dashboard Properties
@@ -7584,7 +7584,7 @@ const TaxAndCashMonolith = class {
7584
7584
  * @uiGroup Dashboard Properties
7585
7585
  * @uiWidget textArea
7586
7586
  */
7587
- this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
7587
+ this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
7588
7588
  /**
7589
7589
  * @uiName Verification review internal alert description
7590
7590
  * @uiGroup Dashboard Properties
@@ -7596,7 +7596,7 @@ const TaxAndCashMonolith = class {
7596
7596
  * @uiGroup Dashboard Properties
7597
7597
  * @uiWidget textArea
7598
7598
  */
7599
- this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
7599
+ this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
7600
7600
  /**
7601
7601
  * @uiName Verification failed internal alert description
7602
7602
  * @uiGroup Dashboard Properties
@@ -1129,7 +1129,7 @@ const GET_TAX_SETTING = index_module.dist.gql `
1129
1129
  }
1130
1130
  `;
1131
1131
  function getStatus(data) {
1132
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
1132
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
1133
1133
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
1134
1134
  const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
1135
1135
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -1146,19 +1146,22 @@ function getStatus(data) {
1146
1146
  return "VERIFICATION:REVIEW";
1147
1147
  if ((_p = account.holdReasons) === null || _p === void 0 ? void 0 : _p.includes("IDV_CHECK_FAILED_INTERNAL"))
1148
1148
  return "VERIFICATION:FAILED";
1149
+ // only show banner for NEW_PAYEE_REVIEW if a PFT was created
1149
1150
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
1150
1151
  return "NEW_PAYEE_REVIEW";
1151
- if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("PAYMENT_HOLD_ON_CHANGE"))
1152
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
1153
+ return "DONE";
1154
+ if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("PAYMENT_HOLD_ON_CHANGE"))
1152
1155
  return "PAYMENT_HOLD_ON_CHANGE";
1153
- if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("BENEFICIARY_NAME_INVALID"))
1156
+ if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_INVALID"))
1154
1157
  return "BENEFICIARY_NAME_INVALID";
1155
- if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_MISMATCH"))
1158
+ if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BENEFICIARY_NAME_MISMATCH"))
1156
1159
  return "BENEFICIARY_NAME_MISMATCH";
1157
- if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BANK_TAX_NAME_MISMATCH"))
1160
+ if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("BANK_TAX_NAME_MISMATCH"))
1158
1161
  return "BANK_TAX_NAME_MISMATCH";
1159
- if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("WITHDRAWAL_SETTINGS_INVALID"))
1162
+ if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("WITHDRAWAL_SETTINGS_INVALID"))
1160
1163
  return "WITHDRAWAL_SETTINGS_INVALID";
1161
- if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("PAYMENT_RETURNED"))
1164
+ if ((_x = account.holdReasons) === null || _x === void 0 ? void 0 : _x.includes("PAYMENT_RETURNED"))
1162
1165
  return "PAYMENT_RETURNED";
1163
1166
  if (account.hold)
1164
1167
  return "HOLD";
@@ -50,7 +50,7 @@ export class PayoutStatusAlert {
50
50
  /**
51
51
  * @uiName Verification required internal alert header
52
52
  */
53
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
53
+ this.verificationRequiredInternalHeader = "Identity Verification in progress";
54
54
  /**
55
55
  * @uiName Verification required internal alert description
56
56
  */
@@ -58,7 +58,7 @@ export class PayoutStatusAlert {
58
58
  /**
59
59
  * @uiName Verification review internal alert header
60
60
  */
61
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
61
+ this.verificationReviewInternalHeader = "Identity Verification under review";
62
62
  /**
63
63
  * @uiName Verification review internal alert description
64
64
  */
@@ -66,7 +66,7 @@ export class PayoutStatusAlert {
66
66
  /**
67
67
  * @uiName Verification failed internal alert header
68
68
  */
69
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
69
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
70
70
  /**
71
71
  * @uiName Verification failed internal alert description
72
72
  */
@@ -377,7 +377,7 @@ export class PayoutStatusAlert {
377
377
  },
378
378
  "attribute": "verification-required-internal-header",
379
379
  "reflect": false,
380
- "defaultValue": "\"Identity Verification in Progress\""
380
+ "defaultValue": "\"Identity Verification in progress\""
381
381
  },
382
382
  "verificationRequiredInternalDescription": {
383
383
  "type": "string",
@@ -419,7 +419,7 @@ export class PayoutStatusAlert {
419
419
  },
420
420
  "attribute": "verification-review-internal-header",
421
421
  "reflect": false,
422
- "defaultValue": "\"Identity Verification Under Review\""
422
+ "defaultValue": "\"Identity Verification under review\""
423
423
  },
424
424
  "verificationReviewInternalDescription": {
425
425
  "type": "string",
@@ -461,7 +461,7 @@ export class PayoutStatusAlert {
461
461
  },
462
462
  "attribute": "verification-failed-internal-header",
463
463
  "reflect": false,
464
- "defaultValue": "\"Identity Verification Unsuccessful\""
464
+ "defaultValue": "\"Identity verification unsuccessful\""
465
465
  },
466
466
  "verificationFailedInternalDescription": {
467
467
  "type": "string",
@@ -40,7 +40,7 @@ const GET_TAX_SETTING = gql `
40
40
  }
41
41
  `;
42
42
  export function getStatus(data) {
43
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
43
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
44
44
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
45
45
  const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
46
46
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -57,19 +57,22 @@ export function getStatus(data) {
57
57
  return "VERIFICATION:REVIEW";
58
58
  if ((_p = account.holdReasons) === null || _p === void 0 ? void 0 : _p.includes("IDV_CHECK_FAILED_INTERNAL"))
59
59
  return "VERIFICATION:FAILED";
60
+ // only show banner for NEW_PAYEE_REVIEW if a PFT was created
60
61
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
61
62
  return "NEW_PAYEE_REVIEW";
62
- if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("PAYMENT_HOLD_ON_CHANGE"))
63
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
64
+ return "DONE";
65
+ if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("PAYMENT_HOLD_ON_CHANGE"))
63
66
  return "PAYMENT_HOLD_ON_CHANGE";
64
- if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("BENEFICIARY_NAME_INVALID"))
67
+ if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_INVALID"))
65
68
  return "BENEFICIARY_NAME_INVALID";
66
- if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_MISMATCH"))
69
+ if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BENEFICIARY_NAME_MISMATCH"))
67
70
  return "BENEFICIARY_NAME_MISMATCH";
68
- if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BANK_TAX_NAME_MISMATCH"))
71
+ if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("BANK_TAX_NAME_MISMATCH"))
69
72
  return "BANK_TAX_NAME_MISMATCH";
70
- if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("WITHDRAWAL_SETTINGS_INVALID"))
73
+ if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("WITHDRAWAL_SETTINGS_INVALID"))
71
74
  return "WITHDRAWAL_SETTINGS_INVALID";
72
- if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("PAYMENT_RETURNED"))
75
+ if ((_x = account.holdReasons) === null || _x === void 0 ? void 0 : _x.includes("PAYMENT_RETURNED"))
73
76
  return "PAYMENT_RETURNED";
74
77
  if (account.hold)
75
78
  return "HOLD";
@@ -884,7 +884,7 @@ export class TaxAndCashMonolith {
884
884
  * @uiGroup Dashboard Properties
885
885
  * @uiWidget textArea
886
886
  */
887
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
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 Verification Under Review";
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 Verification Unsuccessful";
911
+ this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
912
912
  /**
913
913
  * @uiName Verification failed internal alert description
914
914
  * @uiGroup Dashboard Properties
@@ -4808,7 +4808,7 @@ export class TaxAndCashMonolith {
4808
4808
  },
4809
4809
  "attribute": "dashboard_verification-required-internal-header",
4810
4810
  "reflect": false,
4811
- "defaultValue": "\"Identity Verification in Progress\""
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 Verification Under Review\""
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 Verification Unsuccessful\""
4919
+ "defaultValue": "\"Identity verification usuccessful\""
4920
4920
  },
4921
4921
  "dashboard_verificationFailedInternalDescription": {
4922
4922
  "type": "string",
@@ -205,7 +205,7 @@ export class TaxAndCashDashboard {
205
205
  /**
206
206
  * @uiName Verification required internal alert header
207
207
  */
208
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
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 Verification Under Review";
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 Verification Unsuccessful";
224
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
225
225
  /**
226
226
  * @uiName Verification failed internal alert description
227
227
  */
@@ -1202,7 +1202,7 @@ export class TaxAndCashDashboard {
1202
1202
  },
1203
1203
  "attribute": "verification-required-internal-header",
1204
1204
  "reflect": false,
1205
- "defaultValue": "\"Identity Verification in Progress\""
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 Verification Under Review\""
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 Verification Unsuccessful\""
1289
+ "defaultValue": "\"Identity verification unsuccessful\""
1290
1290
  },
1291
1291
  "verificationFailedInternalDescription": {
1292
1292
  "type": "string",
@@ -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-c515b24b.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-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;
@@ -4663,7 +4663,7 @@ const TaxAndCashDashboard = class {
4663
4663
  /**
4664
4664
  * @uiName Verification required internal alert header
4665
4665
  */
4666
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
4666
+ this.verificationRequiredInternalHeader = "Identity verification in progress";
4667
4667
  /**
4668
4668
  * @uiName Verification required internal alert description
4669
4669
  */
@@ -4671,7 +4671,7 @@ const TaxAndCashDashboard = class {
4671
4671
  /**
4672
4672
  * @uiName Verification review internal alert header
4673
4673
  */
4674
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
4674
+ this.verificationReviewInternalHeader = "Identity verification under review";
4675
4675
  /**
4676
4676
  * @uiName Verification review internal alert description
4677
4677
  */
@@ -4679,7 +4679,7 @@ const TaxAndCashDashboard = class {
4679
4679
  /**
4680
4680
  * @uiName Verification failed internal alert header
4681
4681
  */
4682
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
4682
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
4683
4683
  /**
4684
4684
  * @uiName Verification failed internal alert description
4685
4685
  */
@@ -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-c515b24b.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-e0ef2374.js';
31
31
 
32
32
  /**
33
33
  *
@@ -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 Progress";
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 Under Review";
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 Verification Unsuccessful";
3236
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
3237
3237
  /**
3238
3238
  * @uiName Verification failed internal alert description
3239
3239
  */
@@ -7568,7 +7568,7 @@ const TaxAndCashMonolith = class {
7568
7568
  * @uiGroup Dashboard Properties
7569
7569
  * @uiWidget textArea
7570
7570
  */
7571
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
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 Verification Under Review";
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 Verification Unsuccessful";
7595
+ this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
7596
7596
  /**
7597
7597
  * @uiName Verification failed internal alert description
7598
7598
  * @uiGroup Dashboard Properties
@@ -1127,7 +1127,7 @@ const GET_TAX_SETTING = dist.gql `
1127
1127
  }
1128
1128
  `;
1129
1129
  function getStatus(data) {
1130
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
1130
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
1131
1131
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
1132
1132
  const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
1133
1133
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -1144,19 +1144,22 @@ function getStatus(data) {
1144
1144
  return "VERIFICATION:REVIEW";
1145
1145
  if ((_p = account.holdReasons) === null || _p === void 0 ? void 0 : _p.includes("IDV_CHECK_FAILED_INTERNAL"))
1146
1146
  return "VERIFICATION:FAILED";
1147
+ // only show banner for NEW_PAYEE_REVIEW if a PFT was created
1147
1148
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
1148
1149
  return "NEW_PAYEE_REVIEW";
1149
- if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("PAYMENT_HOLD_ON_CHANGE"))
1150
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
1151
+ return "DONE";
1152
+ if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("PAYMENT_HOLD_ON_CHANGE"))
1150
1153
  return "PAYMENT_HOLD_ON_CHANGE";
1151
- if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("BENEFICIARY_NAME_INVALID"))
1154
+ if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_INVALID"))
1152
1155
  return "BENEFICIARY_NAME_INVALID";
1153
- if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_MISMATCH"))
1156
+ if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BENEFICIARY_NAME_MISMATCH"))
1154
1157
  return "BENEFICIARY_NAME_MISMATCH";
1155
- if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BANK_TAX_NAME_MISMATCH"))
1158
+ if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("BANK_TAX_NAME_MISMATCH"))
1156
1159
  return "BANK_TAX_NAME_MISMATCH";
1157
- if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("WITHDRAWAL_SETTINGS_INVALID"))
1160
+ if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("WITHDRAWAL_SETTINGS_INVALID"))
1158
1161
  return "WITHDRAWAL_SETTINGS_INVALID";
1159
- if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("PAYMENT_RETURNED"))
1162
+ if ((_x = account.holdReasons) === null || _x === void 0 ? void 0 : _x.includes("PAYMENT_RETURNED"))
1160
1163
  return "PAYMENT_RETURNED";
1161
1164
  if (account.hold)
1162
1165
  return "HOLD";