@saasquatch/mint-components 2.0.0-30 → 2.0.0-31
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 +44 -39
- package/dist/cjs/sqm-tax-and-cash-dashboard.cjs.entry.js +1059 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +46 -41
- package/dist/esm/sqm-banking-info-form_10.entry.js +44 -39
- package/dist/esm/sqm-tax-and-cash-dashboard.entry.js +1055 -0
- 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-1ac5cbd6.system.entry.js → p-69308e0d.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-d460e0bd.entry.js → p-bfac0290.entry.js} +1 -1
- package/dist/mint-components/sqm-tax-and-cash-dashboard.entry.js +1055 -0
- 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
|
@@ -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-payout-status-alert"]
|
|
344
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] "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-payout-status-alert\"]
|
|
1892
|
+
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"dependencies\": [\"sqm-payout-status-alert\"] \"uiGroup\": \"Dashboard Properties\" }",
|
|
1893
1893
|
"name": "componentState"
|
|
1894
1894
|
}],
|
|
1895
1895
|
"text": ""
|
|
@@ -1901,47 +1901,52 @@ export class TaxAndCashDashboard {
|
|
|
1901
1901
|
}; }
|
|
1902
1902
|
}
|
|
1903
1903
|
function useDemoTaxAndCashDashboard(props) {
|
|
1904
|
+
var _a, _b, _c, _d;
|
|
1904
1905
|
const parsed = parseStates(props.stateController);
|
|
1905
1906
|
const formatted = parsed["sqm-tax-and-cash-dashboard"] !== undefined
|
|
1906
1907
|
? parsed["sqm-tax-and-cash-dashboard"]
|
|
1907
1908
|
: {};
|
|
1908
|
-
const
|
|
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
|
-
|
|
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
|
+
// @ts-ignore
|
|
1911
|
+
return deepmerge({
|
|
1912
|
+
states: {
|
|
1913
|
+
dateSubmitted: "today",
|
|
1914
|
+
documentType: "W9",
|
|
1915
|
+
documentTypeString: "W-9",
|
|
1916
|
+
status: "ACTIVE",
|
|
1917
|
+
country: "United States",
|
|
1918
|
+
indirectTaxNumber: "55555555",
|
|
1919
|
+
indirectTaxType: "Indirect Tax",
|
|
1920
|
+
noFormNeeded: false,
|
|
1921
|
+
disabled: false,
|
|
1922
|
+
loading: false,
|
|
1923
|
+
showNewFormDialog: false,
|
|
1924
|
+
hasHold: false,
|
|
1925
|
+
subRegion: "CA",
|
|
1926
|
+
subRegionTaxNumber: undefined,
|
|
1927
|
+
qstNumber: undefined,
|
|
1928
|
+
isBusinessEntity: false,
|
|
1929
|
+
province: undefined,
|
|
1930
|
+
notRegistered: true,
|
|
1931
|
+
loadingError: false,
|
|
1932
|
+
payoutStatus: parsedPayoutStatus || "DONE",
|
|
1933
|
+
veriffLoading: false,
|
|
1934
|
+
canEditPayoutInfo: true,
|
|
1935
|
+
},
|
|
1936
|
+
callbacks: {
|
|
1937
|
+
onClick: () => console.debug("check step"),
|
|
1938
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
1939
|
+
onNewFormCancel: () => console.log("hide"),
|
|
1940
|
+
onNewFormClick: () => console.log("show"),
|
|
1941
|
+
onVerifyClick: () => console.log("verify"),
|
|
1942
|
+
},
|
|
1943
|
+
text: props.getTextProps(),
|
|
1944
|
+
slots: {
|
|
1945
|
+
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
1946
|
+
states: {
|
|
1947
|
+
badgeStatus: "nextPayout",
|
|
1948
|
+
},
|
|
1949
|
+
} })),
|
|
1950
|
+
},
|
|
1951
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
1947
1952
|
}
|
|
@@ -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-payout-status-alert"]
|
|
4665
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] "uiGroup": "Dashboard Properties" }
|
|
4666
4666
|
*/
|
|
4667
4667
|
this.stateController = "{}";
|
|
4668
4668
|
h$1(this);
|
|
@@ -4690,49 +4690,54 @@ const TaxAndCashDashboard = class {
|
|
|
4690
4690
|
}
|
|
4691
4691
|
};
|
|
4692
4692
|
function useDemoTaxAndCashDashboard(props) {
|
|
4693
|
+
var _a, _b, _c, _d;
|
|
4693
4694
|
const parsed = parseStates(props.stateController);
|
|
4694
4695
|
const formatted = parsed["sqm-tax-and-cash-dashboard"] !== undefined
|
|
4695
4696
|
? parsed["sqm-tax-and-cash-dashboard"]
|
|
4696
4697
|
: {};
|
|
4697
|
-
const
|
|
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
|
-
|
|
4698
|
+
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
|
+
// @ts-ignore
|
|
4700
|
+
return cjs({
|
|
4701
|
+
states: {
|
|
4702
|
+
dateSubmitted: "today",
|
|
4703
|
+
documentType: "W9",
|
|
4704
|
+
documentTypeString: "W-9",
|
|
4705
|
+
status: "ACTIVE",
|
|
4706
|
+
country: "United States",
|
|
4707
|
+
indirectTaxNumber: "55555555",
|
|
4708
|
+
indirectTaxType: "Indirect Tax",
|
|
4709
|
+
noFormNeeded: false,
|
|
4710
|
+
disabled: false,
|
|
4711
|
+
loading: false,
|
|
4712
|
+
showNewFormDialog: false,
|
|
4713
|
+
hasHold: false,
|
|
4714
|
+
subRegion: "CA",
|
|
4715
|
+
subRegionTaxNumber: undefined,
|
|
4716
|
+
qstNumber: undefined,
|
|
4717
|
+
isBusinessEntity: false,
|
|
4718
|
+
province: undefined,
|
|
4719
|
+
notRegistered: true,
|
|
4720
|
+
loadingError: false,
|
|
4721
|
+
payoutStatus: parsedPayoutStatus || "DONE",
|
|
4722
|
+
veriffLoading: false,
|
|
4723
|
+
canEditPayoutInfo: true,
|
|
4724
|
+
},
|
|
4725
|
+
callbacks: {
|
|
4726
|
+
onClick: () => console.debug("check step"),
|
|
4727
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
4728
|
+
onNewFormCancel: () => console.log("hide"),
|
|
4729
|
+
onNewFormClick: () => console.log("show"),
|
|
4730
|
+
onVerifyClick: () => console.log("verify"),
|
|
4731
|
+
},
|
|
4732
|
+
text: props.getTextProps(),
|
|
4733
|
+
slots: {
|
|
4734
|
+
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
4735
|
+
states: {
|
|
4736
|
+
badgeStatus: "nextPayout",
|
|
4737
|
+
},
|
|
4738
|
+
} })),
|
|
4731
4739
|
},
|
|
4732
|
-
|
|
4733
|
-
formatted,
|
|
4734
|
-
], { arrayMerge: (_, a) => a });
|
|
4735
|
-
return merged;
|
|
4740
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4736
4741
|
}
|
|
4737
4742
|
|
|
4738
4743
|
const PHONE_EXTENSIONS = {
|