@saasquatch/mint-components 2.0.0-31 → 2.0.0-32
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 +5 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +5 -4
- package/dist/esm/sqm-banking-info-form_10.entry.js +5 -4
- 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-69308e0d.system.entry.js → p-34b593e2.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-bfac0290.entry.js → p-ae2c66c2.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/cjs/sqm-tax-and-cash-dashboard.cjs.entry.js +0 -1059
- package/dist/esm/sqm-tax-and-cash-dashboard.entry.js +0 -1055
- package/dist/mint-components/sqm-tax-and-cash-dashboard.entry.js +0 -1055
|
@@ -4696,9 +4696,10 @@ const TaxAndCashDashboard = class {
|
|
|
4696
4696
|
function useDemoTaxAndCashDashboard(props) {
|
|
4697
4697
|
var _a, _b, _c, _d;
|
|
4698
4698
|
const parsed = parseStates.parseStates(props.stateController);
|
|
4699
|
-
const
|
|
4700
|
-
|
|
4701
|
-
|
|
4699
|
+
const states = parseStates.parseStates(props.stateController);
|
|
4700
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4701
|
+
? { ...prev, ...states[key] }
|
|
4702
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4702
4703
|
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;
|
|
4703
4704
|
// @ts-ignore
|
|
4704
4705
|
return cjs.cjs({
|
|
@@ -4741,7 +4742,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4741
4742
|
},
|
|
4742
4743
|
} })),
|
|
4743
4744
|
},
|
|
4744
|
-
}, props.demoData ||
|
|
4745
|
+
}, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4745
4746
|
}
|
|
4746
4747
|
|
|
4747
4748
|
const PHONE_EXTENSIONS = {
|
|
@@ -1903,9 +1903,10 @@ export class TaxAndCashDashboard {
|
|
|
1903
1903
|
function useDemoTaxAndCashDashboard(props) {
|
|
1904
1904
|
var _a, _b, _c, _d;
|
|
1905
1905
|
const parsed = parseStates(props.stateController);
|
|
1906
|
-
const
|
|
1907
|
-
|
|
1908
|
-
|
|
1906
|
+
const states = parseStates(props.stateController);
|
|
1907
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
1908
|
+
? { ...prev, ...states[key] }
|
|
1909
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1909
1910
|
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
1911
|
// @ts-ignore
|
|
1911
1912
|
return deepmerge({
|
|
@@ -1948,5 +1949,5 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1948
1949
|
},
|
|
1949
1950
|
} })),
|
|
1950
1951
|
},
|
|
1951
|
-
}, props.demoData ||
|
|
1952
|
+
}, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1952
1953
|
}
|
|
@@ -4692,9 +4692,10 @@ const TaxAndCashDashboard = class {
|
|
|
4692
4692
|
function useDemoTaxAndCashDashboard(props) {
|
|
4693
4693
|
var _a, _b, _c, _d;
|
|
4694
4694
|
const parsed = parseStates(props.stateController);
|
|
4695
|
-
const
|
|
4696
|
-
|
|
4697
|
-
|
|
4695
|
+
const states = parseStates(props.stateController);
|
|
4696
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4697
|
+
? { ...prev, ...states[key] }
|
|
4698
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4698
4699
|
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;
|
|
4699
4700
|
// @ts-ignore
|
|
4700
4701
|
return cjs({
|
|
@@ -4737,7 +4738,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4737
4738
|
},
|
|
4738
4739
|
} })),
|
|
4739
4740
|
},
|
|
4740
|
-
}, props.demoData ||
|
|
4741
|
+
}, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4741
4742
|
}
|
|
4742
4743
|
|
|
4743
4744
|
const PHONE_EXTENSIONS = {
|