@saasquatch/mint-components 2.0.2-1 → 2.0.2-3

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 (33) hide show
  1. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +5 -5
  2. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +13 -7
  3. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  4. package/dist/cjs/{usePayoutStatus-67c78085.js → usePayoutStatus-95874989.js} +6 -12
  5. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +6 -6
  6. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +12 -6
  7. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +6 -12
  8. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +4 -4
  9. package/dist/esm/sqm-banking-info-form_10.entry.js +5 -5
  10. package/dist/esm/sqm-big-stat_47.entry.js +13 -7
  11. package/dist/esm/sqm-header-logo.entry.js +3 -3
  12. package/dist/esm/{usePayoutStatus-f064247b.js → usePayoutStatus-c515b24b.js} +6 -12
  13. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  14. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  15. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  16. package/dist/esm-es5/{usePayoutStatus-f064247b.js → usePayoutStatus-c515b24b.js} +2 -2
  17. package/dist/mint-components/mint-components.esm.js +1 -1
  18. package/dist/mint-components/{p-2933bbe9.system.entry.js → p-09ab53fb.system.entry.js} +1 -1
  19. package/dist/mint-components/{p-40e0251f.system.js → p-1c1ae908.system.js} +2 -2
  20. package/dist/mint-components/{p-2c86af62.system.entry.js → p-363289da.system.entry.js} +1 -1
  21. package/dist/mint-components/{p-b1c4500e.entry.js → p-69ed04cc.entry.js} +2 -2
  22. package/dist/mint-components/p-6eb050f1.system.entry.js +1 -0
  23. package/dist/mint-components/p-967a9040.system.js +1 -1
  24. package/dist/mint-components/{p-2ed300e9.entry.js → p-ab111e29.entry.js} +1 -1
  25. package/dist/mint-components/{p-f17b6de6.js → p-c9cceb05.js} +7 -7
  26. package/dist/mint-components/{p-3219fdbe.entry.js → p-eb1475a1.entry.js} +2 -2
  27. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +2 -2
  28. package/dist/types/components.d.ts +4 -4
  29. package/docs/docs.docx +0 -0
  30. package/docs/raisins.json +1 -1
  31. package/grapesjs/grapesjs.js +1 -1
  32. package/package.json +1 -1
  33. package/dist/mint-components/p-2e87159a.system.entry.js +0 -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-67c78085.js');
22
+ const usePayoutStatus = require('./usePayoutStatus-95874989.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;
@@ -4072,7 +4072,7 @@ const TaxAndCashDashboardView = (props) => {
4072
4072
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4073
4073
  }),
4074
4074
  button: (index.h(index.Fragment, null,
4075
- index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4075
+ index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4076
4076
  index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4077
4077
  alertType: "warning",
4078
4078
  icon: "exclamation-triangle",
@@ -4088,7 +4088,7 @@ const TaxAndCashDashboardView = (props) => {
4088
4088
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4089
4089
  }),
4090
4090
  button: (index.h(index.Fragment, null,
4091
- index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4091
+ index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4092
4092
  index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4093
4093
  alertType: "warning",
4094
4094
  icon: "exclamation-triangle",
@@ -4104,7 +4104,7 @@ const TaxAndCashDashboardView = (props) => {
4104
4104
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4105
4105
  }),
4106
4106
  button: (index.h(index.Fragment, null,
4107
- index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4107
+ index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4108
4108
  index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4109
4109
  alertType: "warning",
4110
4110
  icon: "exclamation-triangle",
@@ -4133,7 +4133,7 @@ const TaxAndCashDashboardView = (props) => {
4133
4133
  }, {
4134
4134
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4135
4135
  }),
4136
- button: (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4136
+ button: (index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4137
4137
  alertType: "warning",
4138
4138
  icon: "exclamation-triangle",
4139
4139
  class: sheet$4.classes.WarningHoldAlertContainer,
@@ -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-67c78085.js');
34
+ const usePayoutStatus = require('./usePayoutStatus-95874989.js');
35
35
 
36
36
  /**
37
37
  *
@@ -3062,7 +3062,9 @@ function PayoutStatusAlertView(props) {
3062
3062
  }, {
3063
3063
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3064
3064
  }),
3065
- buttonText: text.editPaymentInformationButton,
3065
+ button: (index.h(index.Fragment, null,
3066
+ index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3067
+ index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3066
3068
  alertType: "warning",
3067
3069
  icon: "exclamation-triangle",
3068
3070
  };
@@ -3075,7 +3077,9 @@ function PayoutStatusAlertView(props) {
3075
3077
  }, {
3076
3078
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3077
3079
  }),
3078
- buttonText: text.editPaymentInformationButton,
3080
+ button: (index.h(index.Fragment, null,
3081
+ index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3082
+ index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3079
3083
  alertType: "warning",
3080
3084
  icon: "exclamation-triangle",
3081
3085
  };
@@ -3088,7 +3092,9 @@ function PayoutStatusAlertView(props) {
3088
3092
  }, {
3089
3093
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3090
3094
  }),
3091
- buttonText: text.editPaymentInformationButton,
3095
+ button: (index.h(index.Fragment, null,
3096
+ index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3097
+ index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3092
3098
  alertType: "warning",
3093
3099
  icon: "exclamation-triangle",
3094
3100
  };
@@ -3101,7 +3107,8 @@ function PayoutStatusAlertView(props) {
3101
3107
  }, {
3102
3108
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3103
3109
  }),
3104
- buttonText: text.editPaymentInformationButton,
3110
+ button: (index.h(index.Fragment, null,
3111
+ index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3105
3112
  alertType: "warning",
3106
3113
  icon: "exclamation-triangle",
3107
3114
  };
@@ -3115,8 +3122,7 @@ function PayoutStatusAlertView(props) {
3115
3122
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3116
3123
  }),
3117
3124
  button: (index.h(index.Fragment, null,
3118
- index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3119
- index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3125
+ index.h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3120
3126
  alertType: "warning",
3121
3127
  icon: "exclamation-triangle",
3122
3128
  };
@@ -9,12 +9,12 @@ const HeroImage = class {
9
9
  constructor(hostRef) {
10
10
  index.registerInstance(this, hostRef);
11
11
  /**
12
- * @uiName Logo text
12
+ * @uiName Logo text size
13
13
  */
14
- this.logoTextSize = 24;
14
+ this.logoTextSize = 32;
15
15
  /**
16
16
  * @uiWidget color
17
- * @uiName Logo text
17
+ * @uiName Logo text color
18
18
  */
19
19
  this.logoTextColor = "#555555";
20
20
  /**
@@ -1201,20 +1201,14 @@ function usePayoutStatus(props) {
1201
1201
  window.history.pushState(null, "", url);
1202
1202
  };
1203
1203
  const onPaymentInfoClick = () => {
1204
- setContext({
1205
- overrideNextStep: "/dashboard",
1206
- overrideBackStep: "/dashboard",
1207
- hideSteps: true,
1208
- });
1209
- setStep("/4");
1204
+ let url = props.cashPayoutsPageUrl;
1205
+ url += "#4";
1206
+ window.history.pushState(null, "", url);
1210
1207
  };
1211
1208
  const onNewFormClick = () => {
1212
- setContext({
1213
- overrideNextStep: "/dashboard",
1214
- overrideBackStep: "/dashboard",
1215
- hideSteps: true,
1216
- });
1217
- setStep("/3");
1209
+ let url = props.cashPayoutsPageUrl;
1210
+ url += "#3";
1211
+ window.history.pushState(null, "", url);
1218
1212
  };
1219
1213
  return {
1220
1214
  states: {
@@ -7,12 +7,12 @@ import { Component, h, Host, Prop } from "@stencil/core";
7
7
  export class HeroImage {
8
8
  constructor() {
9
9
  /**
10
- * @uiName Logo text
10
+ * @uiName Logo text size
11
11
  */
12
- this.logoTextSize = 24;
12
+ this.logoTextSize = 32;
13
13
  /**
14
14
  * @uiWidget color
15
- * @uiName Logo text
15
+ * @uiName Logo text color
16
16
  */
17
17
  this.logoTextColor = "#555555";
18
18
  /**
@@ -98,14 +98,14 @@ export class HeroImage {
98
98
  "optional": true,
99
99
  "docs": {
100
100
  "tags": [{
101
- "text": "Logo text",
101
+ "text": "Logo text size",
102
102
  "name": "uiName"
103
103
  }],
104
104
  "text": ""
105
105
  },
106
106
  "attribute": "logo-text-size",
107
107
  "reflect": false,
108
- "defaultValue": "24"
108
+ "defaultValue": "32"
109
109
  },
110
110
  "logoTextColor": {
111
111
  "type": "string",
@@ -122,7 +122,7 @@ export class HeroImage {
122
122
  "text": "color",
123
123
  "name": "uiWidget"
124
124
  }, {
125
- "text": "Logo text",
125
+ "text": "Logo text color",
126
126
  "name": "uiName"
127
127
  }],
128
128
  "text": ""
@@ -161,7 +161,9 @@ export function PayoutStatusAlertView(props) {
161
161
  }, {
162
162
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
163
163
  }),
164
- buttonText: text.editPaymentInformationButton,
164
+ button: (h(Fragment, null,
165
+ h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
166
+ h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
165
167
  alertType: "warning",
166
168
  icon: "exclamation-triangle",
167
169
  };
@@ -174,7 +176,9 @@ export function PayoutStatusAlertView(props) {
174
176
  }, {
175
177
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
176
178
  }),
177
- buttonText: text.editPaymentInformationButton,
179
+ button: (h(Fragment, null,
180
+ h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
181
+ h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
178
182
  alertType: "warning",
179
183
  icon: "exclamation-triangle",
180
184
  };
@@ -187,7 +191,9 @@ export function PayoutStatusAlertView(props) {
187
191
  }, {
188
192
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
189
193
  }),
190
- buttonText: text.editPaymentInformationButton,
194
+ button: (h(Fragment, null,
195
+ h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
196
+ h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
191
197
  alertType: "warning",
192
198
  icon: "exclamation-triangle",
193
199
  };
@@ -200,7 +206,8 @@ export function PayoutStatusAlertView(props) {
200
206
  }, {
201
207
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
202
208
  }),
203
- buttonText: text.editPaymentInformationButton,
209
+ button: (h(Fragment, null,
210
+ h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
204
211
  alertType: "warning",
205
212
  icon: "exclamation-triangle",
206
213
  };
@@ -214,8 +221,7 @@ export function PayoutStatusAlertView(props) {
214
221
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
215
222
  }),
216
223
  button: (h(Fragment, null,
217
- h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
218
- h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
224
+ h("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
219
225
  alertType: "warning",
220
226
  icon: "exclamation-triangle",
221
227
  };
@@ -112,20 +112,14 @@ export function usePayoutStatus(props) {
112
112
  window.history.pushState(null, "", url);
113
113
  };
114
114
  const onPaymentInfoClick = () => {
115
- setContext({
116
- overrideNextStep: "/dashboard",
117
- overrideBackStep: "/dashboard",
118
- hideSteps: true,
119
- });
120
- setStep("/4");
115
+ let url = props.cashPayoutsPageUrl;
116
+ url += "#4";
117
+ window.history.pushState(null, "", url);
121
118
  };
122
119
  const onNewFormClick = () => {
123
- setContext({
124
- overrideNextStep: "/dashboard",
125
- overrideBackStep: "/dashboard",
126
- hideSteps: true,
127
- });
128
- setStep("/3");
120
+ let url = props.cashPayoutsPageUrl;
121
+ url += "#3";
122
+ window.history.pushState(null, "", url);
129
123
  };
130
124
  return {
131
125
  states: {
@@ -361,7 +361,7 @@ export const TaxAndCashDashboardView = (props) => {
361
361
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
362
362
  }),
363
363
  button: (h(Fragment, null,
364
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
364
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
365
365
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
366
366
  alertType: "warning",
367
367
  icon: "exclamation-triangle",
@@ -377,7 +377,7 @@ export const TaxAndCashDashboardView = (props) => {
377
377
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
378
378
  }),
379
379
  button: (h(Fragment, null,
380
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
380
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
381
381
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
382
382
  alertType: "warning",
383
383
  icon: "exclamation-triangle",
@@ -393,7 +393,7 @@ export const TaxAndCashDashboardView = (props) => {
393
393
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
394
394
  }),
395
395
  button: (h(Fragment, null,
396
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
396
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
397
397
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
398
398
  alertType: "warning",
399
399
  icon: "exclamation-triangle",
@@ -422,7 +422,7 @@ export const TaxAndCashDashboardView = (props) => {
422
422
  }, {
423
423
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
424
424
  }),
425
- button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
425
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
426
426
  alertType: "warning",
427
427
  icon: "exclamation-triangle",
428
428
  class: sheet.classes.WarningHoldAlertContainer,
@@ -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-f064247b.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';
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;
@@ -4068,7 +4068,7 @@ const TaxAndCashDashboardView = (props) => {
4068
4068
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4069
4069
  }),
4070
4070
  button: (h(Fragment, null,
4071
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4071
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4072
4072
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4073
4073
  alertType: "warning",
4074
4074
  icon: "exclamation-triangle",
@@ -4084,7 +4084,7 @@ const TaxAndCashDashboardView = (props) => {
4084
4084
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4085
4085
  }),
4086
4086
  button: (h(Fragment, null,
4087
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4087
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4088
4088
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4089
4089
  alertType: "warning",
4090
4090
  icon: "exclamation-triangle",
@@ -4100,7 +4100,7 @@ const TaxAndCashDashboardView = (props) => {
4100
4100
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4101
4101
  }),
4102
4102
  button: (h(Fragment, null,
4103
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4103
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4104
4104
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4105
4105
  alertType: "warning",
4106
4106
  icon: "exclamation-triangle",
@@ -4129,7 +4129,7 @@ const TaxAndCashDashboardView = (props) => {
4129
4129
  }, {
4130
4130
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4131
4131
  }),
4132
- button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4132
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4133
4133
  alertType: "warning",
4134
4134
  icon: "exclamation-triangle",
4135
4135
  class: sheet$4.classes.WarningHoldAlertContainer,
@@ -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-f064247b.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';
31
31
 
32
32
  /**
33
33
  *
@@ -3058,7 +3058,9 @@ function PayoutStatusAlertView(props) {
3058
3058
  }, {
3059
3059
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3060
3060
  }),
3061
- buttonText: text.editPaymentInformationButton,
3061
+ button: (h$1(Fragment, null,
3062
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3063
+ h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3062
3064
  alertType: "warning",
3063
3065
  icon: "exclamation-triangle",
3064
3066
  };
@@ -3071,7 +3073,9 @@ function PayoutStatusAlertView(props) {
3071
3073
  }, {
3072
3074
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3073
3075
  }),
3074
- buttonText: text.editPaymentInformationButton,
3076
+ button: (h$1(Fragment, null,
3077
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3078
+ h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3075
3079
  alertType: "warning",
3076
3080
  icon: "exclamation-triangle",
3077
3081
  };
@@ -3084,7 +3088,9 @@ function PayoutStatusAlertView(props) {
3084
3088
  }, {
3085
3089
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3086
3090
  }),
3087
- buttonText: text.editPaymentInformationButton,
3091
+ button: (h$1(Fragment, null,
3092
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3093
+ h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3088
3094
  alertType: "warning",
3089
3095
  icon: "exclamation-triangle",
3090
3096
  };
@@ -3097,7 +3103,8 @@ function PayoutStatusAlertView(props) {
3097
3103
  }, {
3098
3104
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3099
3105
  }),
3100
- buttonText: text.editPaymentInformationButton,
3106
+ button: (h$1(Fragment, null,
3107
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3101
3108
  alertType: "warning",
3102
3109
  icon: "exclamation-triangle",
3103
3110
  };
@@ -3111,8 +3118,7 @@ function PayoutStatusAlertView(props) {
3111
3118
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3112
3119
  }),
3113
3120
  button: (h$1(Fragment, null,
3114
- h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3115
- h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3121
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3116
3122
  alertType: "warning",
3117
3123
  icon: "exclamation-triangle",
3118
3124
  };
@@ -5,12 +5,12 @@ const HeroImage = class {
5
5
  constructor(hostRef) {
6
6
  registerInstance(this, hostRef);
7
7
  /**
8
- * @uiName Logo text
8
+ * @uiName Logo text size
9
9
  */
10
- this.logoTextSize = 24;
10
+ this.logoTextSize = 32;
11
11
  /**
12
12
  * @uiWidget color
13
- * @uiName Logo text
13
+ * @uiName Logo text color
14
14
  */
15
15
  this.logoTextColor = "#555555";
16
16
  /**
@@ -1199,20 +1199,14 @@ function usePayoutStatus(props) {
1199
1199
  window.history.pushState(null, "", url);
1200
1200
  };
1201
1201
  const onPaymentInfoClick = () => {
1202
- setContext({
1203
- overrideNextStep: "/dashboard",
1204
- overrideBackStep: "/dashboard",
1205
- hideSteps: true,
1206
- });
1207
- setStep("/4");
1202
+ let url = props.cashPayoutsPageUrl;
1203
+ url += "#4";
1204
+ window.history.pushState(null, "", url);
1208
1205
  };
1209
1206
  const onNewFormClick = () => {
1210
- setContext({
1211
- overrideNextStep: "/dashboard",
1212
- overrideBackStep: "/dashboard",
1213
- hideSteps: true,
1214
- });
1215
- setStep("/3");
1207
+ let url = props.cashPayoutsPageUrl;
1208
+ url += "#3";
1209
+ window.history.pushState(null, "", url);
1216
1210
  };
1217
1211
  return {
1218
1212
  states: {