@saasquatch/mint-components 1.15.5-5 → 1.15.6

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 (125) hide show
  1. package/dist/cjs/{ShadowViewAddon-28865623.js → ShadowViewAddon-e9dc77e3.js} +2 -2
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +234 -384
  5. package/dist/cjs/{sqm-base-registration-form-view-8029d30e.js → sqm-base-registration-form-view-66f99821.js} +9 -4
  6. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +10 -150
  7. package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -8
  8. package/dist/cjs/{sqm-invoice-table-view-3f60fba9.js → sqm-invoice-table-view-5c74607f.js} +0 -1
  9. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +25 -18
  10. package/dist/cjs/sqm-stencilbook.cjs.entry.js +8 -5
  11. package/dist/cjs/{usePayoutStatus-7892433f.js → usePayoutStatus-1ffd1cd4.js} +4 -176
  12. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
  13. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +9 -4
  14. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
  15. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
  16. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +3 -73
  17. package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
  18. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
  19. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
  20. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +3 -3
  21. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
  22. package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
  23. package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
  24. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
  25. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +4 -4
  26. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +22 -15
  27. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +0 -1
  28. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +40 -46
  29. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +2 -90
  30. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -353
  31. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +5 -36
  32. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +0 -300
  33. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +2 -92
  34. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -300
  35. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +12 -23
  36. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
  37. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -92
  38. package/dist/esm/{ShadowViewAddon-f2176779.js → ShadowViewAddon-e0d5f1c9.js} +2 -2
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/esm/mint-components.js +1 -1
  41. package/dist/esm/sqm-banking-info-form_17.entry.js +189 -339
  42. package/dist/esm/{sqm-base-registration-form-view-dafba287.js → sqm-base-registration-form-view-d81e316a.js} +9 -4
  43. package/dist/esm/sqm-big-stat_43.entry.js +11 -151
  44. package/dist/esm/sqm-header-logo.entry.js +1 -8
  45. package/dist/esm/{sqm-invoice-table-view-01453fa3.js → sqm-invoice-table-view-3491dd80.js} +0 -1
  46. package/dist/esm/sqm-portal-google-registration-form.entry.js +25 -18
  47. package/dist/esm/sqm-stencilbook.entry.js +8 -5
  48. package/dist/esm/{usePayoutStatus-c21ef382.js → usePayoutStatus-f09f2ec8.js} +6 -163
  49. package/dist/esm-es5/{ShadowViewAddon-f2176779.js → ShadowViewAddon-e0d5f1c9.js} +1 -1
  50. package/dist/esm-es5/loader.js +1 -1
  51. package/dist/esm-es5/mint-components.js +1 -1
  52. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  53. package/dist/esm-es5/sqm-base-registration-form-view-d81e316a.js +1 -0
  54. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  55. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  56. package/dist/esm-es5/sqm-invoice-table-view-3491dd80.js +1 -0
  57. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  58. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  59. package/dist/esm-es5/usePayoutStatus-f09f2ec8.js +6 -0
  60. package/dist/mint-components/mint-components.esm.js +1 -1
  61. package/dist/mint-components/p-15364635.entry.js +273 -0
  62. package/dist/mint-components/{p-4a731079.entry.js → p-1edebab1.entry.js} +2 -2
  63. package/dist/mint-components/p-2d8045c2.entry.js +220 -0
  64. package/dist/mint-components/p-3439af2f.system.entry.js +1 -0
  65. package/dist/mint-components/p-37996351.system.js +1 -1
  66. package/dist/mint-components/{p-02832118.system.entry.js → p-3ac8613d.system.entry.js} +1 -1
  67. package/dist/mint-components/{p-c1b074b6.js → p-3b6dccec.js} +1 -1
  68. package/dist/mint-components/p-3df72337.js +46 -0
  69. package/dist/mint-components/p-43e274e9.entry.js +1 -0
  70. package/dist/mint-components/p-49932f12.system.js +1 -0
  71. package/dist/mint-components/p-5cda9960.system.entry.js +1 -0
  72. package/dist/mint-components/p-7dabdca6.system.entry.js +1 -0
  73. package/dist/mint-components/p-8db18561.system.entry.js +1 -0
  74. package/dist/mint-components/p-9308221f.js +1 -0
  75. package/dist/mint-components/p-bc021969.system.js +1 -0
  76. package/dist/mint-components/{p-0d939b73.system.js → p-d15b642f.system.js} +1 -1
  77. package/dist/mint-components/p-e8e48982.js +1 -0
  78. package/dist/mint-components/p-f82e3152.system.js +6 -0
  79. package/dist/mint-components/p-faba3198.entry.js +1 -0
  80. package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +2 -1
  81. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
  82. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
  83. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -14
  84. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
  85. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
  86. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
  87. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
  88. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
  89. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
  90. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
  91. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -23
  92. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +0 -16
  93. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -57
  94. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -3
  95. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -48
  96. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -12
  97. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -48
  98. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -2
  99. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +0 -1
  100. package/dist/types/components.d.ts +11 -331
  101. package/dist/types/global/android.d.ts +7 -0
  102. package/dist/types/global/demo.d.ts +2 -0
  103. package/dist/types/stories/features.d.ts +4 -0
  104. package/dist/types/stories/templates.d.ts +4 -0
  105. package/docs/docs.docx +0 -0
  106. package/docs/raisins.json +1 -1
  107. package/grapesjs/grapesjs.js +1 -1
  108. package/package.json +1 -1
  109. package/dist/esm-es5/sqm-base-registration-form-view-dafba287.js +0 -1
  110. package/dist/esm-es5/sqm-invoice-table-view-01453fa3.js +0 -1
  111. package/dist/esm-es5/usePayoutStatus-c21ef382.js +0 -6
  112. package/dist/mint-components/p-2651ef99.system.js +0 -1
  113. package/dist/mint-components/p-35701119.js +0 -1
  114. package/dist/mint-components/p-48552798.system.entry.js +0 -1
  115. package/dist/mint-components/p-498bbce7.system.entry.js +0 -1
  116. package/dist/mint-components/p-59fe6066.js +0 -1
  117. package/dist/mint-components/p-67035b70.system.entry.js +0 -1
  118. package/dist/mint-components/p-86a5db85.system.js +0 -1
  119. package/dist/mint-components/p-9c4f4cd6.entry.js +0 -1
  120. package/dist/mint-components/p-a3647f70.system.entry.js +0 -1
  121. package/dist/mint-components/p-aa595246.system.js +0 -6
  122. package/dist/mint-components/p-bdbf26da.entry.js +0 -273
  123. package/dist/mint-components/p-cb87eadd.entry.js +0 -1
  124. package/dist/mint-components/p-d289d251.entry.js +0 -109
  125. package/dist/mint-components/p-d9da598f.js +0 -157
@@ -16,15 +16,6 @@ export class PayoutStatusAlert {
16
16
  * @uiName Info required alert header
17
17
  */
18
18
  this.informationRequiredHeader = "Payout and tax information required";
19
- /**
20
- *
21
- * @uiName Edit payment info button label
22
- */
23
- this.editPaymentInformationButton = "Edit Payout Information";
24
- /**
25
- * @uiName Submit new tax form button label
26
- */
27
- this.newFormButton = "Submit new form";
28
19
  /**
29
20
  * @uiName Info required alert description
30
21
  */
@@ -77,54 +68,6 @@ export class PayoutStatusAlert {
77
68
  * @uiName Account review alert description
78
69
  */
79
70
  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}.";
80
- /**
81
- * @uiName Payment on hold alert header
82
- */
83
- this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
84
- /**
85
- * @uiName Payment on hold alert description
86
- */
87
- this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
88
- /**
89
- * @uiName Beneficiary name invalid alert header
90
- */
91
- this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
92
- /**
93
- * @uiName Beneficiary name invalid description
94
- */
95
- this.beneficiaryNameInvalidDescription = "The 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.";
96
- /**
97
- * @uiName Beneficiary name mismatch alert header
98
- */
99
- this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
100
- /**
101
- * @uiName Beneficiary name mismatch alert description
102
- */
103
- this.beneficiaryNameMismatchDescription = "The 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.";
104
- /**
105
- * @uiName Bank name mismatch alert header
106
- */
107
- this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
108
- /**
109
- * @uiName Bank name mismatch alert description
110
- */
111
- this.bankTaxNameMismatchDescription = "The bank 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.";
112
- /**
113
- * @uiName Withdrawal settings invalid alert header
114
- */
115
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
116
- /**
117
- * @uiName Withdrawal settings invalid alert description
118
- */
119
- this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
120
- /**
121
- * @uiName Payment returned alert header
122
- */
123
- this.paymentReturnedHeader = "Payout unsuccessful";
124
- /**
125
- * @uiName Payment returned alert description
126
- */
127
- this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
128
71
  /**
129
72
  * @uiName W-9 payment threshold alert header
130
73
  */
@@ -201,48 +144,6 @@ export class PayoutStatusAlert {
201
144
  "reflect": false,
202
145
  "defaultValue": "\"Payout and tax information required\""
203
146
  },
204
- "editPaymentInformationButton": {
205
- "type": "string",
206
- "mutable": false,
207
- "complexType": {
208
- "original": "string",
209
- "resolved": "string",
210
- "references": {}
211
- },
212
- "required": false,
213
- "optional": false,
214
- "docs": {
215
- "tags": [{
216
- "text": "Edit payment info button label",
217
- "name": "uiName"
218
- }],
219
- "text": ""
220
- },
221
- "attribute": "edit-payment-information-button",
222
- "reflect": false,
223
- "defaultValue": "\"Edit Payout Information\""
224
- },
225
- "newFormButton": {
226
- "type": "string",
227
- "mutable": false,
228
- "complexType": {
229
- "original": "string",
230
- "resolved": "string",
231
- "references": {}
232
- },
233
- "required": false,
234
- "optional": false,
235
- "docs": {
236
- "tags": [{
237
- "text": "Submit new tax form button label",
238
- "name": "uiName"
239
- }],
240
- "text": ""
241
- },
242
- "attribute": "new-form-button",
243
- "reflect": false,
244
- "defaultValue": "\"Submit new form\""
245
- },
246
147
  "informationRequiredDescription": {
247
148
  "type": "string",
248
149
  "mutable": false,
@@ -516,258 +417,6 @@ export class PayoutStatusAlert {
516
417
  "reflect": false,
517
418
  "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}.\""
518
419
  },
519
- "paymentHoldOnChangeHeader": {
520
- "type": "string",
521
- "mutable": false,
522
- "complexType": {
523
- "original": "string",
524
- "resolved": "string",
525
- "references": {}
526
- },
527
- "required": false,
528
- "optional": false,
529
- "docs": {
530
- "tags": [{
531
- "text": "Payment on hold alert header",
532
- "name": "uiName"
533
- }],
534
- "text": ""
535
- },
536
- "attribute": "payment-hold-on-change-header",
537
- "reflect": false,
538
- "defaultValue": "\"We are reviewing your new payout settings\""
539
- },
540
- "paymentHoldOnChangeDescription": {
541
- "type": "string",
542
- "mutable": false,
543
- "complexType": {
544
- "original": "string",
545
- "resolved": "string",
546
- "references": {}
547
- },
548
- "required": false,
549
- "optional": false,
550
- "docs": {
551
- "tags": [{
552
- "text": "Payment on hold alert description",
553
- "name": "uiName"
554
- }],
555
- "text": ""
556
- },
557
- "attribute": "payment-hold-on-change-description",
558
- "reflect": false,
559
- "defaultValue": "\"Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.\""
560
- },
561
- "beneficiaryNameInvalidHeader": {
562
- "type": "string",
563
- "mutable": false,
564
- "complexType": {
565
- "original": "string",
566
- "resolved": "string",
567
- "references": {}
568
- },
569
- "required": false,
570
- "optional": false,
571
- "docs": {
572
- "tags": [{
573
- "text": "Beneficiary name invalid alert header",
574
- "name": "uiName"
575
- }],
576
- "text": ""
577
- },
578
- "attribute": "beneficiary-name-invalid-header",
579
- "reflect": false,
580
- "defaultValue": "\"Your payment information does not match your tax form\""
581
- },
582
- "beneficiaryNameInvalidDescription": {
583
- "type": "string",
584
- "mutable": false,
585
- "complexType": {
586
- "original": "string",
587
- "resolved": "string",
588
- "references": {}
589
- },
590
- "required": false,
591
- "optional": false,
592
- "docs": {
593
- "tags": [{
594
- "text": "Beneficiary name invalid description",
595
- "name": "uiName"
596
- }],
597
- "text": ""
598
- },
599
- "attribute": "beneficiary-name-invalid-description",
600
- "reflect": false,
601
- "defaultValue": "\"The 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.\""
602
- },
603
- "beneficiaryNameMismatchHeader": {
604
- "type": "string",
605
- "mutable": false,
606
- "complexType": {
607
- "original": "string",
608
- "resolved": "string",
609
- "references": {}
610
- },
611
- "required": false,
612
- "optional": false,
613
- "docs": {
614
- "tags": [{
615
- "text": "Beneficiary name mismatch alert header",
616
- "name": "uiName"
617
- }],
618
- "text": ""
619
- },
620
- "attribute": "beneficiary-name-mismatch-header",
621
- "reflect": false,
622
- "defaultValue": "\"Your payment information does not match your tax form\""
623
- },
624
- "beneficiaryNameMismatchDescription": {
625
- "type": "string",
626
- "mutable": false,
627
- "complexType": {
628
- "original": "string",
629
- "resolved": "string",
630
- "references": {}
631
- },
632
- "required": false,
633
- "optional": false,
634
- "docs": {
635
- "tags": [{
636
- "text": "Beneficiary name mismatch alert description",
637
- "name": "uiName"
638
- }],
639
- "text": ""
640
- },
641
- "attribute": "beneficiary-name-mismatch-description",
642
- "reflect": false,
643
- "defaultValue": "\"The 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.\""
644
- },
645
- "bankTaxNameMismatchHeader": {
646
- "type": "string",
647
- "mutable": false,
648
- "complexType": {
649
- "original": "string",
650
- "resolved": "string",
651
- "references": {}
652
- },
653
- "required": false,
654
- "optional": false,
655
- "docs": {
656
- "tags": [{
657
- "text": "Bank name mismatch alert header",
658
- "name": "uiName"
659
- }],
660
- "text": ""
661
- },
662
- "attribute": "bank-tax-name-mismatch-header",
663
- "reflect": false,
664
- "defaultValue": "\"Your payment information does not match your tax form\""
665
- },
666
- "bankTaxNameMismatchDescription": {
667
- "type": "string",
668
- "mutable": false,
669
- "complexType": {
670
- "original": "string",
671
- "resolved": "string",
672
- "references": {}
673
- },
674
- "required": false,
675
- "optional": false,
676
- "docs": {
677
- "tags": [{
678
- "text": "Bank name mismatch alert description",
679
- "name": "uiName"
680
- }],
681
- "text": ""
682
- },
683
- "attribute": "bank-tax-name-mismatch-description",
684
- "reflect": false,
685
- "defaultValue": "\"The bank 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.\""
686
- },
687
- "withdrawalSettingsInvalidHeader": {
688
- "type": "string",
689
- "mutable": false,
690
- "complexType": {
691
- "original": "string",
692
- "resolved": "string",
693
- "references": {}
694
- },
695
- "required": false,
696
- "optional": false,
697
- "docs": {
698
- "tags": [{
699
- "text": "Withdrawal settings invalid alert header",
700
- "name": "uiName"
701
- }],
702
- "text": ""
703
- },
704
- "attribute": "withdrawal-settings-invalid-header",
705
- "reflect": false,
706
- "defaultValue": "\"Your payment information includes invalid characters\""
707
- },
708
- "withdrawalSettingsInvalidDescription": {
709
- "type": "string",
710
- "mutable": false,
711
- "complexType": {
712
- "original": "string",
713
- "resolved": "string",
714
- "references": {}
715
- },
716
- "required": false,
717
- "optional": false,
718
- "docs": {
719
- "tags": [{
720
- "text": "Withdrawal settings invalid alert description",
721
- "name": "uiName"
722
- }],
723
- "text": ""
724
- },
725
- "attribute": "withdrawal-settings-invalid-description",
726
- "reflect": false,
727
- "defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.\""
728
- },
729
- "paymentReturnedHeader": {
730
- "type": "string",
731
- "mutable": false,
732
- "complexType": {
733
- "original": "string",
734
- "resolved": "string",
735
- "references": {}
736
- },
737
- "required": false,
738
- "optional": false,
739
- "docs": {
740
- "tags": [{
741
- "text": "Payment returned alert header",
742
- "name": "uiName"
743
- }],
744
- "text": ""
745
- },
746
- "attribute": "payment-returned-header",
747
- "reflect": false,
748
- "defaultValue": "\"Payout unsuccessful\""
749
- },
750
- "paymentReturnedDescription": {
751
- "type": "string",
752
- "mutable": false,
753
- "complexType": {
754
- "original": "string",
755
- "resolved": "string",
756
- "references": {}
757
- },
758
- "required": false,
759
- "optional": false,
760
- "docs": {
761
- "tags": [{
762
- "text": "Payment returned alert description",
763
- "name": "uiName"
764
- }],
765
- "text": ""
766
- },
767
- "attribute": "payment-returned-description",
768
- "reflect": false,
769
- "defaultValue": "\"Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.\""
770
- },
771
420
  "w9RequiredHeader": {
772
421
  "type": "string",
773
422
  "mutable": false,
@@ -1023,8 +672,6 @@ function useDemoPayoutStatusAlert(props) {
1023
672
  callbacks: {
1024
673
  onTermsClick: () => { },
1025
674
  onClick: () => console.log("show"),
1026
- onPaymentInfoClick: () => { },
1027
- onNewFormClick: () => { },
1028
675
  },
1029
676
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1030
677
  }
@@ -1,8 +1,7 @@
1
- import { getEnvironmentSDK, useQuery, useSetParent, } from "@saasquatch/component-boilerplate";
1
+ import { getEnvironmentSDK, useQuery } from "@saasquatch/component-boilerplate";
2
2
  import { useEffect, useState } from "@saasquatch/stencil-hooks";
3
3
  import { gql } from "graphql-request";
4
4
  import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
5
- import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, } from "../sqm-tax-and-cash/data";
6
5
  import { useVeriffApp, VERIFF_COMPLETE_EVENT_KEY } from "../useVeriffApp";
7
6
  const GET_USER_STATUS = gql `
8
7
  query getUserStatus {
@@ -40,7 +39,7 @@ const GET_TAX_SETTING = gql `
40
39
  }
41
40
  `;
42
41
  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;
42
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
44
43
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
45
44
  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
45
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -58,19 +57,9 @@ export function getStatus(data) {
58
57
  if ((_p = account.holdReasons) === null || _p === void 0 ? void 0 : _p.includes("IDV_CHECK_FAILED_INTERNAL"))
59
58
  return "VERIFICATION:FAILED";
60
59
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
61
- return "NEW_PAYEE_REVIEW";
62
- if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("PAYMENT_HOLD_ON_CHANGE"))
63
- return "PAYMENT_HOLD_ON_CHANGE";
64
- if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("BENEFICIARY_NAME_INVALID"))
65
- return "BENEFICIARY_NAME_INVALID";
66
- if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_MISMATCH"))
67
- return "BENEFICIARY_NAME_MISMATCH";
68
- if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BANK_TAX_NAME_MISMATCH"))
69
- return "BANK_TAX_NAME_MISMATCH";
70
- if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("WITHDRAWAL_SETTINGS_INVALID"))
71
- return "WITHDRAWAL_SETTINGS_INVALID";
72
- if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("PAYMENT_RETURNED"))
73
- return "PAYMENT_RETURNED";
60
+ return "ACCOUNT_REVIEW";
61
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
62
+ return "DONE";
74
63
  if (account.hold)
75
64
  return "HOLD";
76
65
  return "DONE";
@@ -82,8 +71,6 @@ export function usePayoutStatus(props) {
82
71
  const { data: taxSettingRes } = useQuery(GET_TAX_SETTING, {});
83
72
  const { render, loading: veriffLoading, errors: veriffErrors, } = useVeriffApp();
84
73
  const [status, setStatus] = useState(undefined);
85
- const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
86
- const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
87
74
  const enforceUsTaxComplianceOption = (_a = taxSettingRes === null || taxSettingRes === void 0 ? void 0 : taxSettingRes.tenantSettings) === null || _a === void 0 ? void 0 : _a.enforceUsTaxCompliance;
88
75
  useEffect(() => {
89
76
  if (!data)
@@ -111,22 +98,6 @@ export function usePayoutStatus(props) {
111
98
  url += "#3";
112
99
  window.history.pushState(null, "", url);
113
100
  };
114
- const onPaymentInfoClick = () => {
115
- setContext({
116
- overrideNextStep: "/dashboard",
117
- overrideBackStep: "/dashboard",
118
- hideSteps: true,
119
- });
120
- setStep("/4");
121
- };
122
- const onNewFormClick = () => {
123
- setContext({
124
- overrideNextStep: "/dashboard",
125
- overrideBackStep: "/dashboard",
126
- hideSteps: true,
127
- });
128
- setStep("/3");
129
- };
130
101
  return {
131
102
  states: {
132
103
  loading,
@@ -140,8 +111,6 @@ export function usePayoutStatus(props) {
140
111
  callbacks: {
141
112
  onTermsClick,
142
113
  onClick: render,
143
- onPaymentInfoClick,
144
- onNewFormClick,
145
114
  },
146
115
  };
147
116
  }