@saasquatch/mint-components 2.0.0-32 → 2.0.0-34
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 +4 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +5 -6
- package/dist/esm/sqm-banking-info-form_10.entry.js +4 -5
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-34b593e2.system.entry.js → p-08325696.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-ae2c66c2.entry.js → p-b3847cfe.entry.js} +1 -1
- 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/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -4666,7 +4666,7 @@ const TaxAndCashDashboard = class {
|
|
|
4666
4666
|
this.cancelButton = "Cancel";
|
|
4667
4667
|
/**
|
|
4668
4668
|
* @undocumented
|
|
4669
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "
|
|
4669
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
4670
4670
|
*/
|
|
4671
4671
|
this.stateController = "{}";
|
|
4672
4672
|
domContextHooks_module.h$1(this);
|
|
@@ -4688,19 +4688,18 @@ const TaxAndCashDashboard = class {
|
|
|
4688
4688
|
const props = index_module.isDemo()
|
|
4689
4689
|
? useDemoTaxAndCashDashboard(this)
|
|
4690
4690
|
: useTaxAndCashDashboard(this);
|
|
4691
|
+
console.log({ stateController: this.stateController });
|
|
4691
4692
|
return (index.h(index.Host, null, index.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
4692
4693
|
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
4693
4694
|
} })));
|
|
4694
4695
|
}
|
|
4695
4696
|
};
|
|
4696
4697
|
function useDemoTaxAndCashDashboard(props) {
|
|
4697
|
-
var _a, _b, _c, _d;
|
|
4698
|
-
const parsed = parseStates.parseStates(props.stateController);
|
|
4699
4698
|
const states = parseStates.parseStates(props.stateController);
|
|
4700
4699
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4701
4700
|
? { ...prev, ...states[key] }
|
|
4702
4701
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4703
|
-
|
|
4702
|
+
console.log({ formatted });
|
|
4704
4703
|
// @ts-ignore
|
|
4705
4704
|
return cjs.cjs({
|
|
4706
4705
|
states: {
|
|
@@ -4723,7 +4722,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4723
4722
|
province: undefined,
|
|
4724
4723
|
notRegistered: true,
|
|
4725
4724
|
loadingError: false,
|
|
4726
|
-
payoutStatus:
|
|
4725
|
+
payoutStatus: "DONE",
|
|
4727
4726
|
veriffLoading: false,
|
|
4728
4727
|
canEditPayoutInfo: true,
|
|
4729
4728
|
},
|
|
@@ -341,7 +341,7 @@ export class TaxAndCashDashboard {
|
|
|
341
341
|
this.cancelButton = "Cancel";
|
|
342
342
|
/**
|
|
343
343
|
* @undocumented
|
|
344
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "
|
|
344
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
345
345
|
*/
|
|
346
346
|
this.stateController = "{}";
|
|
347
347
|
withHooks(this);
|
|
@@ -363,6 +363,7 @@ export class TaxAndCashDashboard {
|
|
|
363
363
|
const props = isDemo()
|
|
364
364
|
? useDemoTaxAndCashDashboard(this)
|
|
365
365
|
: useTaxAndCashDashboard(this);
|
|
366
|
+
console.log({ stateController: this.stateController });
|
|
366
367
|
return (h(Host, null,
|
|
367
368
|
h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
368
369
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
@@ -1889,7 +1890,7 @@ export class TaxAndCashDashboard {
|
|
|
1889
1890
|
"text": undefined,
|
|
1890
1891
|
"name": "undocumented"
|
|
1891
1892
|
}, {
|
|
1892
|
-
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"
|
|
1893
|
+
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"uiGroup\": \"Dashboard Properties\" }",
|
|
1893
1894
|
"name": "componentState"
|
|
1894
1895
|
}],
|
|
1895
1896
|
"text": ""
|
|
@@ -1901,13 +1902,11 @@ export class TaxAndCashDashboard {
|
|
|
1901
1902
|
}; }
|
|
1902
1903
|
}
|
|
1903
1904
|
function useDemoTaxAndCashDashboard(props) {
|
|
1904
|
-
var _a, _b, _c, _d;
|
|
1905
|
-
const parsed = parseStates(props.stateController);
|
|
1906
1905
|
const states = parseStates(props.stateController);
|
|
1907
1906
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
1908
1907
|
? { ...prev, ...states[key] }
|
|
1909
1908
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1910
|
-
|
|
1909
|
+
console.log({ formatted });
|
|
1911
1910
|
// @ts-ignore
|
|
1912
1911
|
return deepmerge({
|
|
1913
1912
|
states: {
|
|
@@ -1930,7 +1929,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1930
1929
|
province: undefined,
|
|
1931
1930
|
notRegistered: true,
|
|
1932
1931
|
loadingError: false,
|
|
1933
|
-
payoutStatus:
|
|
1932
|
+
payoutStatus: "DONE",
|
|
1934
1933
|
veriffLoading: false,
|
|
1935
1934
|
canEditPayoutInfo: true,
|
|
1936
1935
|
},
|
|
@@ -4662,7 +4662,7 @@ const TaxAndCashDashboard = class {
|
|
|
4662
4662
|
this.cancelButton = "Cancel";
|
|
4663
4663
|
/**
|
|
4664
4664
|
* @undocumented
|
|
4665
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "
|
|
4665
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
4666
4666
|
*/
|
|
4667
4667
|
this.stateController = "{}";
|
|
4668
4668
|
h$1(this);
|
|
@@ -4684,19 +4684,18 @@ const TaxAndCashDashboard = class {
|
|
|
4684
4684
|
const props = isDemo()
|
|
4685
4685
|
? useDemoTaxAndCashDashboard(this)
|
|
4686
4686
|
: useTaxAndCashDashboard(this);
|
|
4687
|
+
console.log({ stateController: this.stateController });
|
|
4687
4688
|
return (h(Host, null, h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
4688
4689
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
4689
4690
|
} })));
|
|
4690
4691
|
}
|
|
4691
4692
|
};
|
|
4692
4693
|
function useDemoTaxAndCashDashboard(props) {
|
|
4693
|
-
var _a, _b, _c, _d;
|
|
4694
|
-
const parsed = parseStates(props.stateController);
|
|
4695
4694
|
const states = parseStates(props.stateController);
|
|
4696
4695
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4697
4696
|
? { ...prev, ...states[key] }
|
|
4698
4697
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4699
|
-
|
|
4698
|
+
console.log({ formatted });
|
|
4700
4699
|
// @ts-ignore
|
|
4701
4700
|
return cjs({
|
|
4702
4701
|
states: {
|
|
@@ -4719,7 +4718,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4719
4718
|
province: undefined,
|
|
4720
4719
|
notRegistered: true,
|
|
4721
4720
|
loadingError: false,
|
|
4722
|
-
payoutStatus:
|
|
4721
|
+
payoutStatus: "DONE",
|
|
4723
4722
|
veriffLoading: false,
|
|
4724
4723
|
canEditPayoutInfo: true,
|
|
4725
4724
|
},
|