@saasquatch/mint-components 2.0.0-43 → 2.0.0-45
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 -7
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +4 -7
- package/dist/esm/sqm-banking-info-form_10.entry.js +4 -7
- 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-5ef6fb32.system.entry.js → p-3c8c9226.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-afabe607.entry.js → p-f8e0684f.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -4696,11 +4696,8 @@ const TaxAndCashDashboard = class {
|
|
|
4696
4696
|
}
|
|
4697
4697
|
};
|
|
4698
4698
|
function useDemoTaxAndCashDashboard(props) {
|
|
4699
|
-
const
|
|
4700
|
-
|
|
4701
|
-
? { ...prev, ...states[key] }
|
|
4702
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4703
|
-
console.log({ formatted });
|
|
4699
|
+
const stateController = parseStates.parseStates(props.stateController);
|
|
4700
|
+
console.log({ stateController });
|
|
4704
4701
|
// @ts-ignore
|
|
4705
4702
|
return cjs.cjs({
|
|
4706
4703
|
states: {
|
|
@@ -4723,7 +4720,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4723
4720
|
province: undefined,
|
|
4724
4721
|
notRegistered: true,
|
|
4725
4722
|
loadingError: false,
|
|
4726
|
-
payoutStatus:
|
|
4723
|
+
payoutStatus: "DONE",
|
|
4727
4724
|
veriffLoading: false,
|
|
4728
4725
|
canEditPayoutInfo: true,
|
|
4729
4726
|
},
|
|
@@ -4742,7 +4739,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4742
4739
|
},
|
|
4743
4740
|
} })),
|
|
4744
4741
|
},
|
|
4745
|
-
},
|
|
4742
|
+
}, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4746
4743
|
}
|
|
4747
4744
|
|
|
4748
4745
|
const PHONE_EXTENSIONS = {
|
|
@@ -1902,11 +1902,8 @@ export class TaxAndCashDashboard {
|
|
|
1902
1902
|
}; }
|
|
1903
1903
|
}
|
|
1904
1904
|
function useDemoTaxAndCashDashboard(props) {
|
|
1905
|
-
const
|
|
1906
|
-
|
|
1907
|
-
? { ...prev, ...states[key] }
|
|
1908
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1909
|
-
console.log({ formatted });
|
|
1905
|
+
const stateController = parseStates(props.stateController);
|
|
1906
|
+
console.log({ stateController });
|
|
1910
1907
|
// @ts-ignore
|
|
1911
1908
|
return deepmerge({
|
|
1912
1909
|
states: {
|
|
@@ -1929,7 +1926,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1929
1926
|
province: undefined,
|
|
1930
1927
|
notRegistered: true,
|
|
1931
1928
|
loadingError: false,
|
|
1932
|
-
payoutStatus:
|
|
1929
|
+
payoutStatus: "DONE",
|
|
1933
1930
|
veriffLoading: false,
|
|
1934
1931
|
canEditPayoutInfo: true,
|
|
1935
1932
|
},
|
|
@@ -1948,5 +1945,5 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1948
1945
|
},
|
|
1949
1946
|
} })),
|
|
1950
1947
|
},
|
|
1951
|
-
},
|
|
1948
|
+
}, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1952
1949
|
}
|
|
@@ -4692,11 +4692,8 @@ const TaxAndCashDashboard = class {
|
|
|
4692
4692
|
}
|
|
4693
4693
|
};
|
|
4694
4694
|
function useDemoTaxAndCashDashboard(props) {
|
|
4695
|
-
const
|
|
4696
|
-
|
|
4697
|
-
? { ...prev, ...states[key] }
|
|
4698
|
-
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4699
|
-
console.log({ formatted });
|
|
4695
|
+
const stateController = parseStates(props.stateController);
|
|
4696
|
+
console.log({ stateController });
|
|
4700
4697
|
// @ts-ignore
|
|
4701
4698
|
return cjs({
|
|
4702
4699
|
states: {
|
|
@@ -4719,7 +4716,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4719
4716
|
province: undefined,
|
|
4720
4717
|
notRegistered: true,
|
|
4721
4718
|
loadingError: false,
|
|
4722
|
-
payoutStatus:
|
|
4719
|
+
payoutStatus: "DONE",
|
|
4723
4720
|
veriffLoading: false,
|
|
4724
4721
|
canEditPayoutInfo: true,
|
|
4725
4722
|
},
|
|
@@ -4738,7 +4735,7 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
4738
4735
|
},
|
|
4739
4736
|
} })),
|
|
4740
4737
|
},
|
|
4741
|
-
},
|
|
4738
|
+
}, stateController || props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4742
4739
|
}
|
|
4743
4740
|
|
|
4744
4741
|
const PHONE_EXTENSIONS = {
|