@saasquatch/mint-components 2.0.0-39 → 2.0.0-40
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.
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +2 -4
- package/dist/cjs/sqm-big-stat_46.cjs.entry.js +1 -0
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +6 -6
- package/dist/esm/sqm-banking-info-form_10.entry.js +2 -4
- package/dist/esm/sqm-big-stat_46.entry.js +1 -0
- package/dist/esm/sqm-tax-and-cash.entry.js +1 -2
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-7d23f71a.system.entry.js → p-402984b3.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-a898d088.entry.js → p-a44a912b.entry.js} +1 -1
- package/dist/mint-components/{p-38263521.entry.js → p-be3d8440.entry.js} +1 -1
- package/dist/mint-components/{p-08325696.system.entry.js → p-dc91d92f.system.entry.js} +1 -1
- package/dist/mint-components/{p-69d8b4f2.system.entry.js → p-e1c9351d.system.entry.js} +1 -1
- package/dist/mint-components/{p-b3847cfe.entry.js → p-f7876e57.entry.js} +6 -6
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/shoelace/assets/icons/twitter-x.svg +4 -0
|
@@ -4666,9 +4666,9 @@ const TaxAndCashDashboard = class {
|
|
|
4666
4666
|
this.cancelButton = "Cancel";
|
|
4667
4667
|
/**
|
|
4668
4668
|
* @undocumented
|
|
4669
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
4669
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] "uiGroup": "Dashboard Properties" }
|
|
4670
4670
|
*/
|
|
4671
|
-
this.stateController = "{}";
|
|
4671
|
+
this.stateController = "{ states: { payoutStatus: 'HOLD' } }";
|
|
4672
4672
|
domContextHooks_module.h$1(this);
|
|
4673
4673
|
}
|
|
4674
4674
|
disconnectedCallback() { }
|
|
@@ -4688,7 +4688,6 @@ const TaxAndCashDashboard = class {
|
|
|
4688
4688
|
const props = index_module.isDemo()
|
|
4689
4689
|
? useDemoTaxAndCashDashboard(this)
|
|
4690
4690
|
: useTaxAndCashDashboard(this);
|
|
4691
|
-
console.log({ stateController: this.stateController });
|
|
4692
4691
|
return (index.h(index.Host, null, index.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
4693
4692
|
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
4694
4693
|
} })));
|
|
@@ -4699,7 +4698,6 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4699
4698
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4700
4699
|
? { ...prev, ...states[key] }
|
|
4701
4700
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4702
|
-
console.log({ formatted });
|
|
4703
4701
|
// @ts-ignore
|
|
4704
4702
|
return cjs.cjs({
|
|
4705
4703
|
states: {
|
|
@@ -3206,6 +3206,7 @@ const PayoutStatusAlert = class {
|
|
|
3206
3206
|
}
|
|
3207
3207
|
};
|
|
3208
3208
|
function useDemoPayoutStatusAlert(props) {
|
|
3209
|
+
console.log(props.stateController, "stateController in sqm-payout-status-alert");
|
|
3209
3210
|
const states = parseStates.parseStates(props.stateController);
|
|
3210
3211
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3211
3212
|
? { ...prev, ...states[key] }
|
|
@@ -1264,7 +1264,6 @@ const TaxAndCashMonolith = class {
|
|
|
1264
1264
|
render() {
|
|
1265
1265
|
var _a, _b;
|
|
1266
1266
|
const props = index_module.isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1267
|
-
console.log({ props });
|
|
1268
1267
|
// @ts-ignore
|
|
1269
1268
|
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1270
1269
|
const textProps = utils$1.getProps(this);
|
|
@@ -1284,7 +1283,7 @@ const TaxAndCashMonolith = class {
|
|
|
1284
1283
|
case "/4":
|
|
1285
1284
|
return (index.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1286
1285
|
case "/dashboard":
|
|
1287
|
-
return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_")
|
|
1286
|
+
return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
1288
1287
|
case "/error":
|
|
1289
1288
|
return (index.h(ErrorView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: global.intl.formatMessage({
|
|
1290
1289
|
id: "loadingErrorAlertDescription",
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -703,6 +703,7 @@ export class PayoutStatusAlert {
|
|
|
703
703
|
}; }
|
|
704
704
|
}
|
|
705
705
|
function useDemoPayoutStatusAlert(props) {
|
|
706
|
+
console.log(props.stateController, "stateController in sqm-payout-status-alert");
|
|
706
707
|
const states = parseStates(props.stateController);
|
|
707
708
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
708
709
|
? { ...prev, ...states[key] }
|
|
@@ -1100,7 +1100,6 @@ export class TaxAndCashMonolith {
|
|
|
1100
1100
|
render() {
|
|
1101
1101
|
var _a, _b;
|
|
1102
1102
|
const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1103
|
-
console.log({ props });
|
|
1104
1103
|
// @ts-ignore
|
|
1105
1104
|
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1106
1105
|
const textProps = getProps(this);
|
|
@@ -1126,7 +1125,7 @@ export class TaxAndCashMonolith {
|
|
|
1126
1125
|
case "/4":
|
|
1127
1126
|
return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1128
1127
|
case "/dashboard":
|
|
1129
|
-
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_")
|
|
1128
|
+
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
1130
1129
|
case "/error":
|
|
1131
1130
|
return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
|
|
1132
1131
|
id: "loadingErrorAlertDescription",
|
|
@@ -341,9 +341,9 @@ export class TaxAndCashDashboard {
|
|
|
341
341
|
this.cancelButton = "Cancel";
|
|
342
342
|
/**
|
|
343
343
|
* @undocumented
|
|
344
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
344
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] "uiGroup": "Dashboard Properties" }
|
|
345
345
|
*/
|
|
346
|
-
this.stateController = "{}";
|
|
346
|
+
this.stateController = "{ states: { payoutStatus: 'HOLD' } }";
|
|
347
347
|
withHooks(this);
|
|
348
348
|
}
|
|
349
349
|
disconnectedCallback() { }
|
|
@@ -363,7 +363,6 @@ export class TaxAndCashDashboard {
|
|
|
363
363
|
const props = isDemo()
|
|
364
364
|
? useDemoTaxAndCashDashboard(this)
|
|
365
365
|
: useTaxAndCashDashboard(this);
|
|
366
|
-
console.log({ stateController: this.stateController });
|
|
367
366
|
return (h(Host, null,
|
|
368
367
|
h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
369
368
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
@@ -1890,23 +1889,24 @@ export class TaxAndCashDashboard {
|
|
|
1890
1889
|
"text": undefined,
|
|
1891
1890
|
"name": "undocumented"
|
|
1892
1891
|
}, {
|
|
1893
|
-
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"uiGroup\": \"Dashboard Properties\" }",
|
|
1892
|
+
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] \"uiGroup\": \"Dashboard Properties\" }",
|
|
1894
1893
|
"name": "componentState"
|
|
1895
1894
|
}],
|
|
1896
1895
|
"text": ""
|
|
1897
1896
|
},
|
|
1898
1897
|
"attribute": "state-controller",
|
|
1899
1898
|
"reflect": false,
|
|
1900
|
-
"defaultValue": "\"{}\""
|
|
1899
|
+
"defaultValue": "\"{ states: { payoutStatus: 'HOLD' } }\""
|
|
1901
1900
|
}
|
|
1902
1901
|
}; }
|
|
1903
1902
|
}
|
|
1904
1903
|
function useDemoTaxAndCashDashboard(props) {
|
|
1904
|
+
var _a, _b, _c, _d;
|
|
1905
1905
|
const states = parseStates(props.stateController);
|
|
1906
1906
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
1907
1907
|
? { ...prev, ...states[key] }
|
|
1908
1908
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1909
|
-
|
|
1909
|
+
const parsedPayoutStatus = (_b = (_a = formatted === null || formatted === void 0 ? void 0 : formatted.states) === null || _a === void 0 ? void 0 : _a.payoutStatus) !== null && _b !== void 0 ? _b : (_d = (_c = props.demoData) === null || _c === void 0 ? void 0 : _c.states) === null || _d === void 0 ? void 0 : _d.payoutStatus;
|
|
1910
1910
|
// @ts-ignore
|
|
1911
1911
|
return deepmerge({
|
|
1912
1912
|
states: {
|
|
@@ -4662,9 +4662,9 @@ const TaxAndCashDashboard = class {
|
|
|
4662
4662
|
this.cancelButton = "Cancel";
|
|
4663
4663
|
/**
|
|
4664
4664
|
* @undocumented
|
|
4665
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
4665
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] "uiGroup": "Dashboard Properties" }
|
|
4666
4666
|
*/
|
|
4667
|
-
this.stateController = "{}";
|
|
4667
|
+
this.stateController = "{ states: { payoutStatus: 'HOLD' } }";
|
|
4668
4668
|
h$1(this);
|
|
4669
4669
|
}
|
|
4670
4670
|
disconnectedCallback() { }
|
|
@@ -4684,7 +4684,6 @@ const TaxAndCashDashboard = class {
|
|
|
4684
4684
|
const props = isDemo()
|
|
4685
4685
|
? useDemoTaxAndCashDashboard(this)
|
|
4686
4686
|
: useTaxAndCashDashboard(this);
|
|
4687
|
-
console.log({ stateController: this.stateController });
|
|
4688
4687
|
return (h(Host, null, h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
4689
4688
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
4690
4689
|
} })));
|
|
@@ -4695,7 +4694,6 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4695
4694
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4696
4695
|
? { ...prev, ...states[key] }
|
|
4697
4696
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4698
|
-
console.log({ formatted });
|
|
4699
4697
|
// @ts-ignore
|
|
4700
4698
|
return cjs({
|
|
4701
4699
|
states: {
|
|
@@ -3202,6 +3202,7 @@ const PayoutStatusAlert = class {
|
|
|
3202
3202
|
}
|
|
3203
3203
|
};
|
|
3204
3204
|
function useDemoPayoutStatusAlert(props) {
|
|
3205
|
+
console.log(props.stateController, "stateController in sqm-payout-status-alert");
|
|
3205
3206
|
const states = parseStates(props.stateController);
|
|
3206
3207
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3207
3208
|
? { ...prev, ...states[key] }
|
|
@@ -1260,7 +1260,6 @@ const TaxAndCashMonolith = class {
|
|
|
1260
1260
|
render() {
|
|
1261
1261
|
var _a, _b;
|
|
1262
1262
|
const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1263
|
-
console.log({ props });
|
|
1264
1263
|
// @ts-ignore
|
|
1265
1264
|
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1266
1265
|
const textProps = getProps(this);
|
|
@@ -1280,7 +1279,7 @@ const TaxAndCashMonolith = class {
|
|
|
1280
1279
|
case "/4":
|
|
1281
1280
|
return (h$1("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1282
1281
|
case "/dashboard":
|
|
1283
|
-
return (h$1("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_")
|
|
1282
|
+
return (h$1("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
|
|
1284
1283
|
case "/error":
|
|
1285
1284
|
return (h$1(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
|
|
1286
1285
|
id: "loadingErrorAlertDescription",
|