@saasquatch/mint-components 2.0.0-22 → 2.0.0-24
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 +45 -47
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +47 -49
- package/dist/esm/sqm-banking-info-form_10.entry.js +45 -47
- 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-a0971e67.entry.js → p-1e71fb76.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-be1e0de1.system.entry.js → p-96abb638.system.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
|
@@ -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" } }, "dependencies": ["sqm-tax-and-cash"] }
|
|
4669
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
|
|
4670
4670
|
*/
|
|
4671
4671
|
this.stateController = "{}";
|
|
4672
4672
|
domContextHooks_module.h$1(this);
|
|
@@ -4694,53 +4694,51 @@ const TaxAndCashDashboard = class {
|
|
|
4694
4694
|
}
|
|
4695
4695
|
};
|
|
4696
4696
|
function useDemoTaxAndCashDashboard(props) {
|
|
4697
|
-
const
|
|
4698
|
-
const formatted =
|
|
4699
|
-
?
|
|
4700
|
-
: {};
|
|
4701
|
-
|
|
4702
|
-
{
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4697
|
+
const states = parseStates.parseStates(props.stateController);
|
|
4698
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4699
|
+
? { ...prev, ...states[key] }
|
|
4700
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4701
|
+
return cjs.cjs({
|
|
4702
|
+
states: {
|
|
4703
|
+
dateSubmitted: "today",
|
|
4704
|
+
documentType: "W9",
|
|
4705
|
+
documentTypeString: "W-9",
|
|
4706
|
+
status: "ACTIVE",
|
|
4707
|
+
country: "United States",
|
|
4708
|
+
indirectTaxNumber: "55555555",
|
|
4709
|
+
indirectTaxType: "Indirect Tax",
|
|
4710
|
+
noFormNeeded: false,
|
|
4711
|
+
disabled: false,
|
|
4712
|
+
loading: false,
|
|
4713
|
+
showNewFormDialog: false,
|
|
4714
|
+
hasHold: false,
|
|
4715
|
+
subRegion: "CA",
|
|
4716
|
+
subRegionTaxNumber: undefined,
|
|
4717
|
+
qstNumber: undefined,
|
|
4718
|
+
isBusinessEntity: false,
|
|
4719
|
+
province: undefined,
|
|
4720
|
+
notRegistered: true,
|
|
4721
|
+
loadingError: false,
|
|
4722
|
+
payoutStatus: "DONE",
|
|
4723
|
+
veriffLoading: false,
|
|
4724
|
+
canEditPayoutInfo: true,
|
|
4725
|
+
},
|
|
4726
|
+
callbacks: {
|
|
4727
|
+
onClick: () => console.debug("check step"),
|
|
4728
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
4729
|
+
onNewFormCancel: () => console.log("hide"),
|
|
4730
|
+
onNewFormClick: () => console.log("show"),
|
|
4731
|
+
onVerifyClick: () => console.log("verify"),
|
|
4732
|
+
},
|
|
4733
|
+
text: props.getTextProps(),
|
|
4734
|
+
slots: {
|
|
4735
|
+
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { demoData: {
|
|
4736
|
+
states: {
|
|
4737
|
+
badgeStatus: "nextPayout",
|
|
4738
|
+
},
|
|
4739
|
+
} })),
|
|
4739
4740
|
},
|
|
4740
|
-
|
|
4741
|
-
formatted || {},
|
|
4742
|
-
], { arrayMerge: (_, a) => a });
|
|
4743
|
-
return merged;
|
|
4741
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4744
4742
|
}
|
|
4745
4743
|
|
|
4746
4744
|
const PHONE_EXTENSIONS = {
|
|
@@ -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" } }, "dependencies": ["sqm-tax-and-cash"] }
|
|
344
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
|
|
345
345
|
*/
|
|
346
346
|
this.stateController = "{}";
|
|
347
347
|
withHooks(this);
|
|
@@ -1889,7 +1889,7 @@ export class TaxAndCashDashboard {
|
|
|
1889
1889
|
"text": undefined,
|
|
1890
1890
|
"name": "undocumented"
|
|
1891
1891
|
}, {
|
|
1892
|
-
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"dependencies\": [\"sqm-tax-and-cash\"] }",
|
|
1892
|
+
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"dependencies\": [\"sqm-tax-and-cash-dashboard\"], \"uiGroup\": \"Dashboard Properties\" }",
|
|
1893
1893
|
"name": "componentState"
|
|
1894
1894
|
}],
|
|
1895
1895
|
"text": ""
|
|
@@ -1901,51 +1901,49 @@ export class TaxAndCashDashboard {
|
|
|
1901
1901
|
}; }
|
|
1902
1902
|
}
|
|
1903
1903
|
function useDemoTaxAndCashDashboard(props) {
|
|
1904
|
-
const
|
|
1905
|
-
const formatted =
|
|
1906
|
-
?
|
|
1907
|
-
: {};
|
|
1908
|
-
|
|
1909
|
-
{
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
], { arrayMerge: (_, a) => a });
|
|
1950
|
-
return merged;
|
|
1904
|
+
const states = parseStates(props.stateController);
|
|
1905
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
1906
|
+
? { ...prev, ...states[key] }
|
|
1907
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
1908
|
+
return deepmerge({
|
|
1909
|
+
states: {
|
|
1910
|
+
dateSubmitted: "today",
|
|
1911
|
+
documentType: "W9",
|
|
1912
|
+
documentTypeString: "W-9",
|
|
1913
|
+
status: "ACTIVE",
|
|
1914
|
+
country: "United States",
|
|
1915
|
+
indirectTaxNumber: "55555555",
|
|
1916
|
+
indirectTaxType: "Indirect Tax",
|
|
1917
|
+
noFormNeeded: false,
|
|
1918
|
+
disabled: false,
|
|
1919
|
+
loading: false,
|
|
1920
|
+
showNewFormDialog: false,
|
|
1921
|
+
hasHold: false,
|
|
1922
|
+
subRegion: "CA",
|
|
1923
|
+
subRegionTaxNumber: undefined,
|
|
1924
|
+
qstNumber: undefined,
|
|
1925
|
+
isBusinessEntity: false,
|
|
1926
|
+
province: undefined,
|
|
1927
|
+
notRegistered: true,
|
|
1928
|
+
loadingError: false,
|
|
1929
|
+
payoutStatus: "DONE",
|
|
1930
|
+
veriffLoading: false,
|
|
1931
|
+
canEditPayoutInfo: true,
|
|
1932
|
+
},
|
|
1933
|
+
callbacks: {
|
|
1934
|
+
onClick: () => console.debug("check step"),
|
|
1935
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
1936
|
+
onNewFormCancel: () => console.log("hide"),
|
|
1937
|
+
onNewFormClick: () => console.log("show"),
|
|
1938
|
+
onVerifyClick: () => console.log("verify"),
|
|
1939
|
+
},
|
|
1940
|
+
text: props.getTextProps(),
|
|
1941
|
+
slots: {
|
|
1942
|
+
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
1943
|
+
states: {
|
|
1944
|
+
badgeStatus: "nextPayout",
|
|
1945
|
+
},
|
|
1946
|
+
} })),
|
|
1947
|
+
},
|
|
1948
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
1951
1949
|
}
|
|
@@ -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" } }, "dependencies": ["sqm-tax-and-cash"] }
|
|
4665
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
|
|
4666
4666
|
*/
|
|
4667
4667
|
this.stateController = "{}";
|
|
4668
4668
|
h$1(this);
|
|
@@ -4690,53 +4690,51 @@ const TaxAndCashDashboard = class {
|
|
|
4690
4690
|
}
|
|
4691
4691
|
};
|
|
4692
4692
|
function useDemoTaxAndCashDashboard(props) {
|
|
4693
|
-
const
|
|
4694
|
-
const formatted =
|
|
4695
|
-
?
|
|
4696
|
-
: {};
|
|
4697
|
-
|
|
4698
|
-
{
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4693
|
+
const states = parseStates(props.stateController);
|
|
4694
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash-dashboard"
|
|
4695
|
+
? { ...prev, ...states[key] }
|
|
4696
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
4697
|
+
return cjs({
|
|
4698
|
+
states: {
|
|
4699
|
+
dateSubmitted: "today",
|
|
4700
|
+
documentType: "W9",
|
|
4701
|
+
documentTypeString: "W-9",
|
|
4702
|
+
status: "ACTIVE",
|
|
4703
|
+
country: "United States",
|
|
4704
|
+
indirectTaxNumber: "55555555",
|
|
4705
|
+
indirectTaxType: "Indirect Tax",
|
|
4706
|
+
noFormNeeded: false,
|
|
4707
|
+
disabled: false,
|
|
4708
|
+
loading: false,
|
|
4709
|
+
showNewFormDialog: false,
|
|
4710
|
+
hasHold: false,
|
|
4711
|
+
subRegion: "CA",
|
|
4712
|
+
subRegionTaxNumber: undefined,
|
|
4713
|
+
qstNumber: undefined,
|
|
4714
|
+
isBusinessEntity: false,
|
|
4715
|
+
province: undefined,
|
|
4716
|
+
notRegistered: true,
|
|
4717
|
+
loadingError: false,
|
|
4718
|
+
payoutStatus: "DONE",
|
|
4719
|
+
veriffLoading: false,
|
|
4720
|
+
canEditPayoutInfo: true,
|
|
4721
|
+
},
|
|
4722
|
+
callbacks: {
|
|
4723
|
+
onClick: () => console.debug("check step"),
|
|
4724
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
4725
|
+
onNewFormCancel: () => console.log("hide"),
|
|
4726
|
+
onNewFormClick: () => console.log("show"),
|
|
4727
|
+
onVerifyClick: () => console.log("verify"),
|
|
4728
|
+
},
|
|
4729
|
+
text: props.getTextProps(),
|
|
4730
|
+
slots: {
|
|
4731
|
+
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
4732
|
+
states: {
|
|
4733
|
+
badgeStatus: "nextPayout",
|
|
4734
|
+
},
|
|
4735
|
+
} })),
|
|
4735
4736
|
},
|
|
4736
|
-
|
|
4737
|
-
formatted || {},
|
|
4738
|
-
], { arrayMerge: (_, a) => a });
|
|
4739
|
-
return merged;
|
|
4737
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4740
4738
|
}
|
|
4741
4739
|
|
|
4742
4740
|
const PHONE_EXTENSIONS = {
|