@saasquatch/mint-components 2.0.2-4 → 2.0.2-5

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 (182) hide show
  1. package/dist/cjs/{IndirectTaxDetailsView-e5f70b8b.js → IndirectTaxDetailsView-20d5b4c5.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-925a8fa6.js → ShadowViewAddon-21e729d3.js} +8 -8
  3. package/dist/cjs/{usePayoutStatus-95874989.js → data-16106637.js} +129 -155
  4. package/dist/cjs/{global-8bba5b3a.js → global-560ac58f.js} +4 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +115 -345
  8. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +29 -224
  9. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -14
  13. package/dist/cjs/{sqm-lead-checkbox-field-view-340acad0.js → sqm-lead-checkbox-field-view-f7910206.js} +1 -1
  14. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-lead-input-field-view-06ed3632.js → sqm-lead-input-field-view-4e2a0c1a.js} +1 -1
  16. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +3 -3
  17. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-5518eb0d.js → sqm-portal-email-verification-view-556c645c.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  21. package/dist/cjs/{sqm-portal-profile-view-615e6975.js → sqm-portal-profile-view-4a41c680.js} +1 -1
  22. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-stencilbook.cjs.entry.js +8 -9
  26. package/dist/cjs/{useLeadFormState-fd0445f9.js → useLeadFormState-b916bf5d.js} +1 -1
  27. package/dist/cjs/{utils-83d125fa.js → utils-f6c4eed4.js} +1 -1
  28. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +3 -80
  29. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
  30. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +4 -4
  31. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +0 -1
  32. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -2
  33. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +40 -46
  34. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +2 -90
  35. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -353
  36. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +3 -30
  37. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -301
  38. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +2 -92
  39. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -300
  40. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +14 -25
  41. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
  42. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -92
  43. package/dist/collection/global/styles.js +4 -0
  44. package/dist/collection/global/styles.ts +4 -0
  45. package/dist/esm/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-d1816a57.js} +2 -2
  46. package/dist/esm/{ShadowViewAddon-aae27c2e.js → ShadowViewAddon-5ecab399.js} +8 -8
  47. package/dist/esm/{usePayoutStatus-c515b24b.js → data-acdb790f.js} +130 -156
  48. package/dist/esm/{global-1099f20d.js → global-80e8f351.js} +4 -0
  49. package/dist/esm/loader.js +2 -2
  50. package/dist/esm/mint-components.js +2 -2
  51. package/dist/esm/sqm-banking-info-form_10.entry.js +67 -297
  52. package/dist/esm/sqm-big-stat_47.entry.js +7 -202
  53. package/dist/esm/sqm-code-verification.entry.js +1 -1
  54. package/dist/esm/sqm-email-verification.entry.js +1 -1
  55. package/dist/esm/sqm-empty_4.entry.js +1 -1
  56. package/dist/esm/sqm-header-logo.entry.js +1 -14
  57. package/dist/esm/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-babfef96.js} +1 -1
  58. package/dist/esm/sqm-lead-checkbox-field.entry.js +3 -3
  59. package/dist/esm/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-5e9001b5.js} +1 -1
  60. package/dist/esm/sqm-lead-input-field.entry.js +3 -3
  61. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  62. package/dist/esm/sqm-pagination_3.entry.js +1 -1
  63. package/dist/esm/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-2e84bb34.js} +1 -1
  64. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  65. package/dist/esm/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-87621310.js} +1 -1
  66. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  67. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  68. package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
  69. package/dist/esm/sqm-stencilbook.entry.js +8 -9
  70. package/dist/esm/{useLeadFormState-c379e5d7.js → useLeadFormState-53b556e3.js} +1 -1
  71. package/dist/esm/{utils-6122971b.js → utils-7e72d7ed.js} +1 -1
  72. package/dist/esm-es5/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-d1816a57.js} +1 -1
  73. package/dist/esm-es5/{ShadowViewAddon-aae27c2e.js → ShadowViewAddon-5ecab399.js} +1 -1
  74. package/dist/esm-es5/data-acdb790f.js +6 -0
  75. package/dist/esm-es5/{global-1099f20d.js → global-80e8f351.js} +1 -1
  76. package/dist/esm-es5/loader.js +1 -1
  77. package/dist/esm-es5/mint-components.js +1 -1
  78. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  79. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  80. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  81. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  82. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  83. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  84. package/dist/esm-es5/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-babfef96.js} +1 -1
  85. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  86. package/dist/esm-es5/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-5e9001b5.js} +1 -1
  87. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  88. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  89. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  90. package/dist/esm-es5/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-2e84bb34.js} +1 -1
  91. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  92. package/dist/esm-es5/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-87621310.js} +1 -1
  93. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  94. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  95. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  96. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  97. package/dist/esm-es5/{useLeadFormState-c379e5d7.js → useLeadFormState-53b556e3.js} +1 -1
  98. package/dist/esm-es5/{utils-6122971b.js → utils-7e72d7ed.js} +1 -1
  99. package/dist/mint-components/global/styles.ts +4 -0
  100. package/dist/mint-components/mint-components.esm.js +1 -1
  101. package/dist/mint-components/mint-components.js +1 -1
  102. package/dist/mint-components/{p-79a3344f.js → p-0605808e.js} +1 -1
  103. package/dist/mint-components/{p-aa8c6332.js → p-0d0cbf6a.js} +1 -1
  104. package/dist/mint-components/{p-60c14cec.entry.js → p-190407f1.entry.js} +1 -1
  105. package/dist/mint-components/{p-ed16b35a.js → p-21cb9d95.js} +1 -1
  106. package/dist/mint-components/p-27bb4223.system.js +1 -0
  107. package/dist/mint-components/{p-14e813a7.system.entry.js → p-2923b3b7.system.entry.js} +1 -1
  108. package/dist/mint-components/{p-56009bf0.system.entry.js → p-31d32dc8.system.entry.js} +1 -1
  109. package/dist/mint-components/{p-8b5b2acc.entry.js → p-35dd7d31.entry.js} +1 -1
  110. package/dist/mint-components/{p-18720462.system.entry.js → p-364e5ac9.system.entry.js} +1 -1
  111. package/dist/mint-components/{p-a217cc8d.entry.js → p-36d4d879.entry.js} +1 -1
  112. package/dist/mint-components/{p-db1a0db1.js → p-3dfd91d9.js} +1 -1
  113. package/dist/mint-components/p-469a6450.system.js +6 -0
  114. package/dist/mint-components/{p-6d5bd95a.js → p-4765a7b5.js} +1 -1
  115. package/dist/mint-components/{p-d3120982.system.entry.js → p-499c11c0.system.entry.js} +1 -1
  116. package/dist/mint-components/{p-0649123a.system.entry.js → p-4d5845ac.system.entry.js} +1 -1
  117. package/dist/mint-components/{p-511c87ce.system.entry.js → p-4deeebde.system.entry.js} +1 -1
  118. package/dist/mint-components/{p-4ce51b1c.system.entry.js → p-4f194ece.system.entry.js} +1 -1
  119. package/dist/mint-components/{p-aefaec37.entry.js → p-506f8db5.entry.js} +1 -1
  120. package/dist/mint-components/{p-00bc7211.js → p-51c8c4a3.js} +1 -1
  121. package/dist/mint-components/{p-ad4348c3.system.js → p-5eff6672.system.js} +1 -1
  122. package/dist/mint-components/{p-6c006998.entry.js → p-6483aea3.entry.js} +2 -2
  123. package/dist/mint-components/{p-c994512c.system.js → p-65bc35d5.system.js} +1 -1
  124. package/dist/mint-components/{p-c85f204b.system.js → p-6653236d.system.js} +1 -1
  125. package/dist/mint-components/{p-57ce33dd.js → p-6b287172.js} +2 -2
  126. package/dist/mint-components/{p-6d9ce4e5.entry.js → p-6c3f484f.entry.js} +1 -1
  127. package/dist/mint-components/{p-22a9114f.system.entry.js → p-70a53a17.system.entry.js} +1 -1
  128. package/dist/mint-components/{p-5d059c95.entry.js → p-70b14f52.entry.js} +1 -1
  129. package/dist/mint-components/{p-6445e926.system.entry.js → p-74bfa4d7.system.entry.js} +1 -1
  130. package/dist/mint-components/{p-47c83656.entry.js → p-84ec18aa.entry.js} +1 -1
  131. package/dist/mint-components/{p-f0eae4e6.system.js → p-8f07cca2.system.js} +1 -1
  132. package/dist/mint-components/{p-a5c63310.entry.js → p-909fe833.entry.js} +1 -1
  133. package/dist/mint-components/p-914e5b02.entry.js +99 -0
  134. package/dist/mint-components/{p-5f3eafd4.entry.js → p-9c235f83.entry.js} +2 -2
  135. package/dist/mint-components/{p-74f43a08.system.js → p-9dc453c2.system.js} +1 -1
  136. package/dist/mint-components/{p-60465a2d.system.js → p-9de8768b.system.js} +1 -1
  137. package/dist/mint-components/{p-4fed8672.js → p-a6264af4.js} +1 -1
  138. package/dist/mint-components/p-a7ee19dc.entry.js +1 -0
  139. package/dist/mint-components/{p-bec87ac9.system.entry.js → p-a9be3cea.system.entry.js} +1 -1
  140. package/dist/mint-components/{p-e0a724dd.system.js → p-abad7828.system.js} +1 -1
  141. package/dist/mint-components/{p-ea0bc627.entry.js → p-bffd1ff7.entry.js} +1 -1
  142. package/dist/mint-components/{p-aa08457e.system.js → p-c594cd6a.system.js} +1 -1
  143. package/dist/mint-components/{p-7a268047.js → p-d52d3dd7.js} +1 -1
  144. package/dist/mint-components/{p-38f932ae.system.js → p-d5db98bf.system.js} +1 -1
  145. package/dist/mint-components/p-db1e009d.system.entry.js +1 -0
  146. package/dist/mint-components/p-e1e7d01c.js +157 -0
  147. package/dist/mint-components/p-e8b74744.entry.js +273 -0
  148. package/dist/mint-components/p-ed5629ca.system.entry.js +1 -0
  149. package/dist/mint-components/{p-717b6730.system.entry.js → p-ee5fd8d3.system.entry.js} +1 -1
  150. package/dist/mint-components/p-eea87fdc.system.entry.js +1 -0
  151. package/dist/mint-components/{p-f401ef19.system.entry.js → p-f092162f.system.entry.js} +1 -1
  152. package/dist/mint-components/{p-4c811d12.entry.js → p-f5e9fa02.entry.js} +2 -2
  153. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -14
  154. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -24
  155. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +0 -16
  156. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -57
  157. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -3
  158. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -48
  159. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -12
  160. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -48
  161. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -2
  162. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +0 -1
  163. package/dist/types/components.d.ts +41 -331
  164. package/docs/docs.docx +0 -0
  165. package/docs/raisins.json +1 -1
  166. package/grapesjs/grapesjs.js +1 -1
  167. package/package.json +1 -1
  168. package/shoelace/assets/icons/twitter-x.svg +4 -0
  169. package/dist/esm-es5/usePayoutStatus-c515b24b.js +0 -6
  170. package/dist/mint-components/p-09ab53fb.system.entry.js +0 -1
  171. package/dist/mint-components/p-1c1ae908.system.js +0 -6
  172. package/dist/mint-components/p-296dea25.system.entry.js +0 -1
  173. package/dist/mint-components/p-69ed04cc.entry.js +0 -273
  174. package/dist/mint-components/p-6eb050f1.system.entry.js +0 -1
  175. package/dist/mint-components/p-967a9040.system.js +0 -1
  176. package/dist/mint-components/p-9c3ad5dc.entry.js +0 -99
  177. package/dist/mint-components/p-ab111e29.entry.js +0 -1
  178. package/dist/mint-components/p-c9cceb05.js +0 -157
  179. package/dist/types/global/android.d.ts +0 -7
  180. package/dist/types/global/demo.d.ts +0 -2
  181. package/dist/types/stories/features.d.ts +0 -4
  182. package/dist/types/stories/templates.d.ts +0 -4
@@ -18,15 +18,6 @@ export class PayoutStatusAlert {
18
18
  * @uiName Info required alert header
19
19
  */
20
20
  this.informationRequiredHeader = "Payout and tax information required";
21
- /**
22
- *
23
- * @uiName Edit payment info button label
24
- */
25
- this.editPaymentInformationButton = "Edit Payout Information";
26
- /**
27
- * @uiName Submit new tax form button label
28
- */
29
- this.newFormButton = "Submit new form";
30
21
  /**
31
22
  * @uiName Info required alert description
32
23
  */
@@ -79,54 +70,6 @@ export class PayoutStatusAlert {
79
70
  * @uiName Account review alert description
80
71
  */
81
72
  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}.";
82
- /**
83
- * @uiName Payment on hold alert header
84
- */
85
- this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
86
- /**
87
- * @uiName Payment on hold alert description
88
- */
89
- this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
90
- /**
91
- * @uiName Beneficiary name invalid alert header
92
- */
93
- this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
94
- /**
95
- * @uiName Beneficiary name invalid description
96
- */
97
- 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.";
98
- /**
99
- * @uiName Beneficiary name mismatch alert header
100
- */
101
- this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
102
- /**
103
- * @uiName Beneficiary name mismatch alert description
104
- */
105
- 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.";
106
- /**
107
- * @uiName Bank name mismatch alert header
108
- */
109
- this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
110
- /**
111
- * @uiName Bank name mismatch alert description
112
- */
113
- 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.";
114
- /**
115
- * @uiName Withdrawal settings invalid alert header
116
- */
117
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
118
- /**
119
- * @uiName Withdrawal settings invalid alert description
120
- */
121
- 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.";
122
- /**
123
- * @uiName Payment returned alert header
124
- */
125
- this.paymentReturnedHeader = "Payout unsuccessful";
126
- /**
127
- * @uiName Payment returned alert description
128
- */
129
- this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
130
73
  /**
131
74
  * @uiName W-9 payment threshold alert header
132
75
  */
@@ -211,48 +154,6 @@ export class PayoutStatusAlert {
211
154
  "reflect": false,
212
155
  "defaultValue": "\"Payout and tax information required\""
213
156
  },
214
- "editPaymentInformationButton": {
215
- "type": "string",
216
- "mutable": false,
217
- "complexType": {
218
- "original": "string",
219
- "resolved": "string",
220
- "references": {}
221
- },
222
- "required": false,
223
- "optional": false,
224
- "docs": {
225
- "tags": [{
226
- "text": "Edit payment info button label",
227
- "name": "uiName"
228
- }],
229
- "text": ""
230
- },
231
- "attribute": "edit-payment-information-button",
232
- "reflect": false,
233
- "defaultValue": "\"Edit Payout Information\""
234
- },
235
- "newFormButton": {
236
- "type": "string",
237
- "mutable": false,
238
- "complexType": {
239
- "original": "string",
240
- "resolved": "string",
241
- "references": {}
242
- },
243
- "required": false,
244
- "optional": false,
245
- "docs": {
246
- "tags": [{
247
- "text": "Submit new tax form button label",
248
- "name": "uiName"
249
- }],
250
- "text": ""
251
- },
252
- "attribute": "new-form-button",
253
- "reflect": false,
254
- "defaultValue": "\"Submit new form\""
255
- },
256
157
  "informationRequiredDescription": {
257
158
  "type": "string",
258
159
  "mutable": false,
@@ -526,258 +427,6 @@ export class PayoutStatusAlert {
526
427
  "reflect": false,
527
428
  "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}.\""
528
429
  },
529
- "paymentHoldOnChangeHeader": {
530
- "type": "string",
531
- "mutable": false,
532
- "complexType": {
533
- "original": "string",
534
- "resolved": "string",
535
- "references": {}
536
- },
537
- "required": false,
538
- "optional": false,
539
- "docs": {
540
- "tags": [{
541
- "text": "Payment on hold alert header",
542
- "name": "uiName"
543
- }],
544
- "text": ""
545
- },
546
- "attribute": "payment-hold-on-change-header",
547
- "reflect": false,
548
- "defaultValue": "\"We are reviewing your new payout settings\""
549
- },
550
- "paymentHoldOnChangeDescription": {
551
- "type": "string",
552
- "mutable": false,
553
- "complexType": {
554
- "original": "string",
555
- "resolved": "string",
556
- "references": {}
557
- },
558
- "required": false,
559
- "optional": false,
560
- "docs": {
561
- "tags": [{
562
- "text": "Payment on hold alert description",
563
- "name": "uiName"
564
- }],
565
- "text": ""
566
- },
567
- "attribute": "payment-hold-on-change-description",
568
- "reflect": false,
569
- "defaultValue": "\"Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.\""
570
- },
571
- "beneficiaryNameInvalidHeader": {
572
- "type": "string",
573
- "mutable": false,
574
- "complexType": {
575
- "original": "string",
576
- "resolved": "string",
577
- "references": {}
578
- },
579
- "required": false,
580
- "optional": false,
581
- "docs": {
582
- "tags": [{
583
- "text": "Beneficiary name invalid alert header",
584
- "name": "uiName"
585
- }],
586
- "text": ""
587
- },
588
- "attribute": "beneficiary-name-invalid-header",
589
- "reflect": false,
590
- "defaultValue": "\"Your payment information does not match your tax form\""
591
- },
592
- "beneficiaryNameInvalidDescription": {
593
- "type": "string",
594
- "mutable": false,
595
- "complexType": {
596
- "original": "string",
597
- "resolved": "string",
598
- "references": {}
599
- },
600
- "required": false,
601
- "optional": false,
602
- "docs": {
603
- "tags": [{
604
- "text": "Beneficiary name invalid description",
605
- "name": "uiName"
606
- }],
607
- "text": ""
608
- },
609
- "attribute": "beneficiary-name-invalid-description",
610
- "reflect": false,
611
- "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.\""
612
- },
613
- "beneficiaryNameMismatchHeader": {
614
- "type": "string",
615
- "mutable": false,
616
- "complexType": {
617
- "original": "string",
618
- "resolved": "string",
619
- "references": {}
620
- },
621
- "required": false,
622
- "optional": false,
623
- "docs": {
624
- "tags": [{
625
- "text": "Beneficiary name mismatch alert header",
626
- "name": "uiName"
627
- }],
628
- "text": ""
629
- },
630
- "attribute": "beneficiary-name-mismatch-header",
631
- "reflect": false,
632
- "defaultValue": "\"Your payment information does not match your tax form\""
633
- },
634
- "beneficiaryNameMismatchDescription": {
635
- "type": "string",
636
- "mutable": false,
637
- "complexType": {
638
- "original": "string",
639
- "resolved": "string",
640
- "references": {}
641
- },
642
- "required": false,
643
- "optional": false,
644
- "docs": {
645
- "tags": [{
646
- "text": "Beneficiary name mismatch alert description",
647
- "name": "uiName"
648
- }],
649
- "text": ""
650
- },
651
- "attribute": "beneficiary-name-mismatch-description",
652
- "reflect": false,
653
- "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.\""
654
- },
655
- "bankTaxNameMismatchHeader": {
656
- "type": "string",
657
- "mutable": false,
658
- "complexType": {
659
- "original": "string",
660
- "resolved": "string",
661
- "references": {}
662
- },
663
- "required": false,
664
- "optional": false,
665
- "docs": {
666
- "tags": [{
667
- "text": "Bank name mismatch alert header",
668
- "name": "uiName"
669
- }],
670
- "text": ""
671
- },
672
- "attribute": "bank-tax-name-mismatch-header",
673
- "reflect": false,
674
- "defaultValue": "\"Your payment information does not match your tax form\""
675
- },
676
- "bankTaxNameMismatchDescription": {
677
- "type": "string",
678
- "mutable": false,
679
- "complexType": {
680
- "original": "string",
681
- "resolved": "string",
682
- "references": {}
683
- },
684
- "required": false,
685
- "optional": false,
686
- "docs": {
687
- "tags": [{
688
- "text": "Bank name mismatch alert description",
689
- "name": "uiName"
690
- }],
691
- "text": ""
692
- },
693
- "attribute": "bank-tax-name-mismatch-description",
694
- "reflect": false,
695
- "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.\""
696
- },
697
- "withdrawalSettingsInvalidHeader": {
698
- "type": "string",
699
- "mutable": false,
700
- "complexType": {
701
- "original": "string",
702
- "resolved": "string",
703
- "references": {}
704
- },
705
- "required": false,
706
- "optional": false,
707
- "docs": {
708
- "tags": [{
709
- "text": "Withdrawal settings invalid alert header",
710
- "name": "uiName"
711
- }],
712
- "text": ""
713
- },
714
- "attribute": "withdrawal-settings-invalid-header",
715
- "reflect": false,
716
- "defaultValue": "\"Your payment information includes invalid characters\""
717
- },
718
- "withdrawalSettingsInvalidDescription": {
719
- "type": "string",
720
- "mutable": false,
721
- "complexType": {
722
- "original": "string",
723
- "resolved": "string",
724
- "references": {}
725
- },
726
- "required": false,
727
- "optional": false,
728
- "docs": {
729
- "tags": [{
730
- "text": "Withdrawal settings invalid alert description",
731
- "name": "uiName"
732
- }],
733
- "text": ""
734
- },
735
- "attribute": "withdrawal-settings-invalid-description",
736
- "reflect": false,
737
- "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.\""
738
- },
739
- "paymentReturnedHeader": {
740
- "type": "string",
741
- "mutable": false,
742
- "complexType": {
743
- "original": "string",
744
- "resolved": "string",
745
- "references": {}
746
- },
747
- "required": false,
748
- "optional": false,
749
- "docs": {
750
- "tags": [{
751
- "text": "Payment returned alert header",
752
- "name": "uiName"
753
- }],
754
- "text": ""
755
- },
756
- "attribute": "payment-returned-header",
757
- "reflect": false,
758
- "defaultValue": "\"Payout unsuccessful\""
759
- },
760
- "paymentReturnedDescription": {
761
- "type": "string",
762
- "mutable": false,
763
- "complexType": {
764
- "original": "string",
765
- "resolved": "string",
766
- "references": {}
767
- },
768
- "required": false,
769
- "optional": false,
770
- "docs": {
771
- "tags": [{
772
- "text": "Payment returned alert description",
773
- "name": "uiName"
774
- }],
775
- "text": ""
776
- },
777
- "attribute": "payment-returned-description",
778
- "reflect": false,
779
- "defaultValue": "\"Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.\""
780
- },
781
430
  "w9RequiredHeader": {
782
431
  "type": "string",
783
432
  "mutable": false,
@@ -1070,8 +719,6 @@ function useDemoPayoutStatusAlert(props) {
1070
719
  callbacks: {
1071
720
  onTermsClick: () => { },
1072
721
  onClick: () => console.log("show"),
1073
- onPaymentInfoClick: () => { },
1074
- onNewFormClick: () => { },
1075
722
  },
1076
723
  }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
1077
724
  }
@@ -1,7 +1,6 @@
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
- import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, } from "../data";
5
4
  import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
6
5
  import { useVeriffApp, VERIFF_COMPLETE_EVENT_KEY } from "../useVeriffApp";
7
6
  const GET_USER_STATUS = gql `
@@ -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;
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,7 @@ 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";
74
61
  if (account.hold)
75
62
  return "HOLD";
76
63
  return "DONE";
@@ -82,8 +69,6 @@ export function usePayoutStatus(props) {
82
69
  const { data: taxSettingRes } = useQuery(GET_TAX_SETTING, {});
83
70
  const { render, loading: veriffLoading, errors: veriffErrors, } = useVeriffApp();
84
71
  const [status, setStatus] = useState(undefined);
85
- const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
86
- const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
87
72
  const enforceUsTaxComplianceOption = (_a = taxSettingRes === null || taxSettingRes === void 0 ? void 0 : taxSettingRes.tenantSettings) === null || _a === void 0 ? void 0 : _a.enforceUsTaxCompliance;
88
73
  useEffect(() => {
89
74
  if (!data)
@@ -111,16 +96,6 @@ export function usePayoutStatus(props) {
111
96
  url += "#3";
112
97
  window.history.pushState(null, "", url);
113
98
  };
114
- const onPaymentInfoClick = () => {
115
- let url = props.cashPayoutsPageUrl;
116
- url += "#4";
117
- window.history.pushState(null, "", url);
118
- };
119
- const onNewFormClick = () => {
120
- let url = props.cashPayoutsPageUrl;
121
- url += "#3";
122
- window.history.pushState(null, "", url);
123
- };
124
99
  return {
125
100
  states: {
126
101
  loading,
@@ -134,8 +109,6 @@ export function usePayoutStatus(props) {
134
109
  callbacks: {
135
110
  onTermsClick,
136
111
  onClick: render,
137
- onPaymentInfoClick,
138
- onNewFormClick,
139
112
  },
140
113
  };
141
114
  }