@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
|
@@ -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-payout-status-alert"]
|
|
4669
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] "uiGroup": "Dashboard Properties" }
|
|
4670
4670
|
*/
|
|
4671
4671
|
this.stateController = "{}";
|
|
4672
4672
|
domContextHooks_module.h$1(this);
|
|
@@ -4694,49 +4694,54 @@ const TaxAndCashDashboard = class {
|
|
|
4694
4694
|
}
|
|
4695
4695
|
};
|
|
4696
4696
|
function useDemoTaxAndCashDashboard(props) {
|
|
4697
|
+
var _a, _b, _c, _d;
|
|
4697
4698
|
const parsed = parseStates.parseStates(props.stateController);
|
|
4698
4699
|
const formatted = parsed["sqm-tax-and-cash-dashboard"] !== undefined
|
|
4699
4700
|
? parsed["sqm-tax-and-cash-dashboard"]
|
|
4700
4701
|
: {};
|
|
4701
|
-
const
|
|
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
|
-
|
|
4702
|
+
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
|
+
// @ts-ignore
|
|
4704
|
+
return cjs.cjs({
|
|
4705
|
+
states: {
|
|
4706
|
+
dateSubmitted: "today",
|
|
4707
|
+
documentType: "W9",
|
|
4708
|
+
documentTypeString: "W-9",
|
|
4709
|
+
status: "ACTIVE",
|
|
4710
|
+
country: "United States",
|
|
4711
|
+
indirectTaxNumber: "55555555",
|
|
4712
|
+
indirectTaxType: "Indirect Tax",
|
|
4713
|
+
noFormNeeded: false,
|
|
4714
|
+
disabled: false,
|
|
4715
|
+
loading: false,
|
|
4716
|
+
showNewFormDialog: false,
|
|
4717
|
+
hasHold: false,
|
|
4718
|
+
subRegion: "CA",
|
|
4719
|
+
subRegionTaxNumber: undefined,
|
|
4720
|
+
qstNumber: undefined,
|
|
4721
|
+
isBusinessEntity: false,
|
|
4722
|
+
province: undefined,
|
|
4723
|
+
notRegistered: true,
|
|
4724
|
+
loadingError: false,
|
|
4725
|
+
payoutStatus: parsedPayoutStatus || "DONE",
|
|
4726
|
+
veriffLoading: false,
|
|
4727
|
+
canEditPayoutInfo: true,
|
|
4728
|
+
},
|
|
4729
|
+
callbacks: {
|
|
4730
|
+
onClick: () => console.debug("check step"),
|
|
4731
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
4732
|
+
onNewFormCancel: () => console.log("hide"),
|
|
4733
|
+
onNewFormClick: () => console.log("show"),
|
|
4734
|
+
onVerifyClick: () => console.log("verify"),
|
|
4735
|
+
},
|
|
4736
|
+
text: props.getTextProps(),
|
|
4737
|
+
slots: {
|
|
4738
|
+
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { demoData: {
|
|
4739
|
+
states: {
|
|
4740
|
+
badgeStatus: "nextPayout",
|
|
4741
|
+
},
|
|
4742
|
+
} })),
|
|
4735
4743
|
},
|
|
4736
|
-
|
|
4737
|
-
formatted,
|
|
4738
|
-
], { arrayMerge: (_, a) => a });
|
|
4739
|
-
return merged;
|
|
4744
|
+
}, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
|
|
4740
4745
|
}
|
|
4741
4746
|
|
|
4742
4747
|
const PHONE_EXTENSIONS = {
|