@saasquatch/mint-components 1.16.0-15 → 1.16.0-2

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 (75) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +2 -58
  4. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +4 -50
  5. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
  6. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  8. package/dist/cjs/{usePayoutStatus-d69345f3.js → usePayoutStatus-c84a7d98.js} +11 -29
  9. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +2 -2
  10. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +3 -3
  11. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
  12. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +1 -1
  13. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +3 -3
  14. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
  15. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +0 -4
  16. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +0 -4
  17. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +3 -41
  18. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -51
  19. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +11 -29
  20. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +0 -79
  21. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -20
  22. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -75
  23. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +0 -4
  24. package/dist/esm/loader.js +1 -1
  25. package/dist/esm/mint-components.js +1 -1
  26. package/dist/esm/sqm-banking-info-form_17.entry.js +2 -58
  27. package/dist/esm/sqm-big-stat_43.entry.js +4 -50
  28. package/dist/esm/sqm-referral-table_11.entry.js +2 -2
  29. package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
  30. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  31. package/dist/esm/{usePayoutStatus-1b6c3dbd.js → usePayoutStatus-f07bcf90.js} +11 -29
  32. package/dist/esm-es5/loader.js +1 -1
  33. package/dist/esm-es5/mint-components.js +1 -1
  34. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  35. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  36. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  37. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  38. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  39. package/dist/esm-es5/{usePayoutStatus-1b6c3dbd.js → usePayoutStatus-f07bcf90.js} +2 -2
  40. package/dist/mint-components/mint-components.esm.js +1 -1
  41. package/dist/mint-components/{p-9e6ce01f.system.js → p-0c9debc1.system.js} +2 -2
  42. package/dist/mint-components/{p-58ae268a.system.entry.js → p-0e864c3c.system.entry.js} +1 -1
  43. package/dist/mint-components/p-1c67bf1c.system.entry.js +1 -0
  44. package/dist/mint-components/p-37996351.system.js +1 -1
  45. package/dist/mint-components/p-43b4bb99.entry.js +1 -0
  46. package/dist/mint-components/p-47bd2d7a.entry.js +205 -0
  47. package/dist/mint-components/{p-03ebb740.js → p-6bb25c02.js} +3 -9
  48. package/dist/mint-components/p-6f65f9e1.system.entry.js +1 -0
  49. package/dist/mint-components/{p-37a4452c.system.entry.js → p-776733b5.system.entry.js} +1 -1
  50. package/dist/mint-components/p-9a176cdf.entry.js +273 -0
  51. package/dist/mint-components/{p-e4f853ff.entry.js → p-c46a0007.entry.js} +1 -1
  52. package/dist/mint-components/p-ef75f3a9.system.entry.js +1 -0
  53. package/dist/mint-components/{p-267c8f8c.entry.js → p-eff2e68b.entry.js} +2 -2
  54. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -1
  55. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
  56. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -1
  57. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -1
  58. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
  59. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +1 -4
  60. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -8
  61. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -8
  62. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -13
  63. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -3
  64. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -12
  65. package/dist/types/components.d.ts +0 -66
  66. package/docs/docs.docx +0 -0
  67. package/docs/raisins.json +1 -1
  68. package/grapesjs/grapesjs.js +1 -1
  69. package/package.json +1 -1
  70. package/dist/mint-components/p-0309fdfa.entry.js +0 -1
  71. package/dist/mint-components/p-641dae37.system.entry.js +0 -1
  72. package/dist/mint-components/p-986d4c17.system.entry.js +0 -1
  73. package/dist/mint-components/p-b58e2197.entry.js +0 -273
  74. package/dist/mint-components/p-bfeb0690.system.entry.js +0 -1
  75. package/dist/mint-components/p-e1167a80.entry.js +0 -205
@@ -931,19 +931,6 @@ export class TaxAndCashMonolith {
931
931
  * @uiWidget textArea
932
932
  */
933
933
  this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.";
934
- /**
935
- * @uiName Account review alert header
936
- */
937
- this.dashboard_accountReviewHeader = "Your account is under review";
938
- /**
939
- * @uiName Account review alert description
940
- */
941
- this.dashboard_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}.";
942
- /**
943
- * @uiName Terms and Conditions text
944
- * @uiGroup Dashboard Properties
945
- */
946
- this.dashboard_termsAndConditions = "Terms and Conditions";
947
934
  /**
948
935
  * @uiName W9 payment threshold alert button text
949
936
  * @uiGroup Dashboard Properties
@@ -4960,72 +4947,6 @@ export class TaxAndCashMonolith {
4960
4947
  "reflect": false,
4961
4948
  "defaultValue": "\"You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.\""
4962
4949
  },
4963
- "dashboard_accountReviewHeader": {
4964
- "type": "string",
4965
- "mutable": false,
4966
- "complexType": {
4967
- "original": "string",
4968
- "resolved": "string",
4969
- "references": {}
4970
- },
4971
- "required": false,
4972
- "optional": false,
4973
- "docs": {
4974
- "tags": [{
4975
- "text": "Account review alert header",
4976
- "name": "uiName"
4977
- }],
4978
- "text": ""
4979
- },
4980
- "attribute": "dashboard_account-review-header",
4981
- "reflect": false,
4982
- "defaultValue": "\"Your account is under review\""
4983
- },
4984
- "dashboard_accountReviewDescription": {
4985
- "type": "string",
4986
- "mutable": false,
4987
- "complexType": {
4988
- "original": "string",
4989
- "resolved": "string",
4990
- "references": {}
4991
- },
4992
- "required": false,
4993
- "optional": false,
4994
- "docs": {
4995
- "tags": [{
4996
- "text": "Account review alert description",
4997
- "name": "uiName"
4998
- }],
4999
- "text": ""
5000
- },
5001
- "attribute": "dashboard_account-review-description",
5002
- "reflect": false,
5003
- "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}.\""
5004
- },
5005
- "dashboard_termsAndConditions": {
5006
- "type": "string",
5007
- "mutable": false,
5008
- "complexType": {
5009
- "original": "string",
5010
- "resolved": "string",
5011
- "references": {}
5012
- },
5013
- "required": false,
5014
- "optional": false,
5015
- "docs": {
5016
- "tags": [{
5017
- "text": "Terms and Conditions text",
5018
- "name": "uiName"
5019
- }, {
5020
- "text": "Dashboard Properties",
5021
- "name": "uiGroup"
5022
- }],
5023
- "text": ""
5024
- },
5025
- "attribute": "dashboard_terms-and-conditions",
5026
- "reflect": false,
5027
- "defaultValue": "\"Terms and Conditions\""
5028
- },
5029
4950
  "dashboard_w9RequiredButtonText": {
5030
4951
  "type": "string",
5031
4952
  "mutable": false,
@@ -202,12 +202,7 @@ export const TaxAndCashDashboardView = (props) => {
202
202
  case "OVER_W9_THRESHOLD":
203
203
  return {
204
204
  header: text.w9RequiredHeader,
205
- description: intl.formatMessage({
206
- id: "w9RequiredDescription",
207
- defaultMessage: text.w9RequiredDescription,
208
- }, {
209
- termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
210
- }),
205
+ description: text.w9RequiredDescription,
211
206
  button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
212
207
  alertType: "info",
213
208
  icon: "info-circle",
@@ -266,20 +261,6 @@ export const TaxAndCashDashboardView = (props) => {
266
261
  icon: "exclamation-octagon",
267
262
  class: sheet.classes.ErrorHoldAlertContainer,
268
263
  };
269
- case "ACCOUNT_REVIEW":
270
- return {
271
- header: text.accountReviewHeader,
272
- description: intl.formatMessage({
273
- id: "accountReviewDescription",
274
- defaultMessage: text.accountReviewDescription,
275
- }, {
276
- supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
277
- }),
278
- buttonText: null,
279
- alertType: "warning",
280
- icon: "exclamation-triangle",
281
- class: sheet.classes.WarningHoldAlertContainer,
282
- };
283
264
  case "HOLD":
284
265
  return {
285
266
  header: text.payoutHoldAlertHeader,
@@ -239,18 +239,6 @@ export class TaxAndCashDashboard {
239
239
  * @uiName W9 payment threshold alert description
240
240
  */
241
241
  this.w9RequiredDescription = "You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.";
242
- /**
243
- * @uiName Account review alert header
244
- */
245
- this.accountReviewHeader = "Your account is under review";
246
- /**
247
- * @uiName Account review alert description
248
- */
249
- this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
250
- /**
251
- * @uiName Terms and Conditions text
252
- */
253
- this.termsAndConditions = "Terms and Conditions";
254
242
  /**
255
243
  * @uiName W9 payment threshold alert button text
256
244
  */
@@ -1324,69 +1312,6 @@ export class TaxAndCashDashboard {
1324
1312
  "reflect": false,
1325
1313
  "defaultValue": "\"You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.\""
1326
1314
  },
1327
- "accountReviewHeader": {
1328
- "type": "string",
1329
- "mutable": false,
1330
- "complexType": {
1331
- "original": "string",
1332
- "resolved": "string",
1333
- "references": {}
1334
- },
1335
- "required": false,
1336
- "optional": false,
1337
- "docs": {
1338
- "tags": [{
1339
- "text": "Account review alert header",
1340
- "name": "uiName"
1341
- }],
1342
- "text": ""
1343
- },
1344
- "attribute": "account-review-header",
1345
- "reflect": false,
1346
- "defaultValue": "\"Your account is under review\""
1347
- },
1348
- "accountReviewDescription": {
1349
- "type": "string",
1350
- "mutable": false,
1351
- "complexType": {
1352
- "original": "string",
1353
- "resolved": "string",
1354
- "references": {}
1355
- },
1356
- "required": false,
1357
- "optional": false,
1358
- "docs": {
1359
- "tags": [{
1360
- "text": "Account review alert description",
1361
- "name": "uiName"
1362
- }],
1363
- "text": ""
1364
- },
1365
- "attribute": "account-review-description",
1366
- "reflect": false,
1367
- "defaultValue": "\"This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.\""
1368
- },
1369
- "termsAndConditions": {
1370
- "type": "string",
1371
- "mutable": false,
1372
- "complexType": {
1373
- "original": "string",
1374
- "resolved": "string",
1375
- "references": {}
1376
- },
1377
- "required": false,
1378
- "optional": false,
1379
- "docs": {
1380
- "tags": [{
1381
- "text": "Terms and Conditions text",
1382
- "name": "uiName"
1383
- }],
1384
- "text": ""
1385
- },
1386
- "attribute": "terms-and-conditions",
1387
- "reflect": false,
1388
- "defaultValue": "\"Terms and Conditions\""
1389
- },
1390
1315
  "w9RequiredButtonText": {
1391
1316
  "type": "string",
1392
1317
  "mutable": false,
@@ -23,10 +23,6 @@ export function useUserInfoForm(props) {
23
23
  const [currencySearch, setCurrencySearch] = useState("");
24
24
  const [filteredCurrencies, setFilteredCurrencies] = useState(currencies || []);
25
25
  const [formErrors, setErrors] = useState({});
26
- useEffect(() => {
27
- // reset redirect hash
28
- window.location.hash = "";
29
- }, []);
30
26
  useEffect(() => {
31
27
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
32
28
  const user = data === null || data === void 0 ? void 0 : data.user;