@saasquatch/mint-components 2.0.0-36 → 2.0.0-37
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 +42 -44
- package/dist/cjs/sqm-big-stat_46.cjs.entry.js +0 -1
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +44 -46
- package/dist/esm/sqm-banking-info-form_10.entry.js +42 -44
- package/dist/esm/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-be3d8440.entry.js → p-38263521.entry.js} +1 -1
- package/dist/mint-components/p-3d713973.system.entry.js +1 -0
- package/dist/mint-components/{p-e1c9351d.system.entry.js → p-69d8b4f2.system.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-ab79297a.entry.js +99 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
- 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 +10 -10
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-13dc75cf.entry.js +0 -99
- package/dist/mint-components/p-acb990b8.system.entry.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -18,7 +18,6 @@ const luxon = require('./luxon-949beaf2.js');
|
|
|
18
18
|
const useReferralTable = require('./useReferralTable-90d4d6e9.js');
|
|
19
19
|
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-e5f70b8b.js');
|
|
20
20
|
const utils$1 = require('./utils-83d125fa.js');
|
|
21
|
-
const parseStates = require('./parseStates-d1effc19.js');
|
|
22
21
|
const data = require('./data-88adb95b.js');
|
|
23
22
|
const keys = require('./keys-cff24974.js');
|
|
24
23
|
const usePayoutStatus = require('./usePayoutStatus-fe32dd1a.js');
|
|
@@ -4666,7 +4665,7 @@ const TaxAndCashDashboard = class {
|
|
|
4666
4665
|
this.cancelButton = "Cancel";
|
|
4667
4666
|
/**
|
|
4668
4667
|
* @undocumented
|
|
4669
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "
|
|
4668
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
4670
4669
|
*/
|
|
4671
4670
|
this.stateController = "{}";
|
|
4672
4671
|
domContextHooks_module.h$1(this);
|
|
@@ -4694,49 +4693,48 @@ const TaxAndCashDashboard = class {
|
|
|
4694
4693
|
}
|
|
4695
4694
|
};
|
|
4696
4695
|
function useDemoTaxAndCashDashboard(props) {
|
|
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
|
-
|
|
4696
|
+
// @ts-ignore
|
|
4697
|
+
return cjs.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: (index.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 || props.stateController || {}, { arrayMerge: (_, a) => a });
|
|
4740
4738
|
}
|
|
4741
4739
|
|
|
4742
4740
|
const PHONE_EXTENSIONS = {
|
|
@@ -3206,7 +3206,6 @@ const PayoutStatusAlert = class {
|
|
|
3206
3206
|
}
|
|
3207
3207
|
};
|
|
3208
3208
|
function useDemoPayoutStatusAlert(props) {
|
|
3209
|
-
console.log(props.stateController, "stateController in sqm-payout-status-alert");
|
|
3210
3209
|
const states = parseStates.parseStates(props.stateController);
|
|
3211
3210
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3212
3211
|
? { ...prev, ...states[key] }
|
|
@@ -122,13 +122,13 @@ export class Hero {
|
|
|
122
122
|
"optional": true,
|
|
123
123
|
"docs": {
|
|
124
124
|
"tags": [{
|
|
125
|
-
"text": "
|
|
125
|
+
"text": "Splash image",
|
|
126
126
|
"name": "uiName"
|
|
127
127
|
}, {
|
|
128
128
|
"text": "Background",
|
|
129
129
|
"name": "uiWidget"
|
|
130
130
|
}],
|
|
131
|
-
"text": "
|
|
131
|
+
"text": "Splash image or background color (for use in the left column)"
|
|
132
132
|
},
|
|
133
133
|
"attribute": "background",
|
|
134
134
|
"reflect": false
|
|
@@ -172,13 +172,13 @@ export class Hero {
|
|
|
172
172
|
"optional": true,
|
|
173
173
|
"docs": {
|
|
174
174
|
"tags": [{
|
|
175
|
-
"text": "
|
|
175
|
+
"text": "Content background",
|
|
176
176
|
"name": "uiName"
|
|
177
177
|
}, {
|
|
178
178
|
"text": "Background",
|
|
179
179
|
"name": "uiWidget"
|
|
180
180
|
}],
|
|
181
|
-
"text": "
|
|
181
|
+
"text": "Content background color or image (for use in the right column)"
|
|
182
182
|
},
|
|
183
183
|
"attribute": "secondary-background",
|
|
184
184
|
"reflect": false
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -703,7 +703,6 @@ export class PayoutStatusAlert {
|
|
|
703
703
|
}; }
|
|
704
704
|
}
|
|
705
705
|
function useDemoPayoutStatusAlert(props) {
|
|
706
|
-
console.log(props.stateController, "stateController in sqm-payout-status-alert");
|
|
707
706
|
const states = parseStates(props.stateController);
|
|
708
707
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
709
708
|
? { ...prev, ...states[key] }
|
|
@@ -5,7 +5,6 @@ import deepmerge from "deepmerge";
|
|
|
5
5
|
import { getProps } from "../../../utils/utils";
|
|
6
6
|
import { TaxAndCashDashboardView } from "./sqm-tax-and-cash-dashboard-view";
|
|
7
7
|
import { useTaxAndCashDashboard, } from "./useTaxAndCashDashboard";
|
|
8
|
-
import { parseStates } from "../../../utils/parseStates";
|
|
9
8
|
/**
|
|
10
9
|
* @uiName Tax and Cash Status Dashboard
|
|
11
10
|
*/
|
|
@@ -341,7 +340,7 @@ export class TaxAndCashDashboard {
|
|
|
341
340
|
this.cancelButton = "Cancel";
|
|
342
341
|
/**
|
|
343
342
|
* @undocumented
|
|
344
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "
|
|
343
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
345
344
|
*/
|
|
346
345
|
this.stateController = "{}";
|
|
347
346
|
withHooks(this);
|
|
@@ -1889,7 +1888,7 @@ export class TaxAndCashDashboard {
|
|
|
1889
1888
|
"text": undefined,
|
|
1890
1889
|
"name": "undocumented"
|
|
1891
1890
|
}, {
|
|
1892
|
-
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"
|
|
1891
|
+
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"states\": { \"payoutStatus\": \"HOLD\" } }, \"uiGroup\": \"Dashboard Properties\" }",
|
|
1893
1892
|
"name": "componentState"
|
|
1894
1893
|
}],
|
|
1895
1894
|
"text": ""
|
|
@@ -1901,47 +1900,46 @@ export class TaxAndCashDashboard {
|
|
|
1901
1900
|
}; }
|
|
1902
1901
|
}
|
|
1903
1902
|
function useDemoTaxAndCashDashboard(props) {
|
|
1904
|
-
|
|
1905
|
-
|
|
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
|
-
return merged;
|
|
1903
|
+
// @ts-ignore
|
|
1904
|
+
return deepmerge({
|
|
1905
|
+
states: {
|
|
1906
|
+
dateSubmitted: "today",
|
|
1907
|
+
documentType: "W9",
|
|
1908
|
+
documentTypeString: "W-9",
|
|
1909
|
+
status: "ACTIVE",
|
|
1910
|
+
country: "United States",
|
|
1911
|
+
indirectTaxNumber: "55555555",
|
|
1912
|
+
indirectTaxType: "Indirect Tax",
|
|
1913
|
+
noFormNeeded: false,
|
|
1914
|
+
disabled: false,
|
|
1915
|
+
loading: false,
|
|
1916
|
+
showNewFormDialog: false,
|
|
1917
|
+
hasHold: false,
|
|
1918
|
+
subRegion: "CA",
|
|
1919
|
+
subRegionTaxNumber: undefined,
|
|
1920
|
+
qstNumber: undefined,
|
|
1921
|
+
isBusinessEntity: false,
|
|
1922
|
+
province: undefined,
|
|
1923
|
+
notRegistered: true,
|
|
1924
|
+
loadingError: false,
|
|
1925
|
+
payoutStatus: "DONE",
|
|
1926
|
+
veriffLoading: false,
|
|
1927
|
+
canEditPayoutInfo: true,
|
|
1928
|
+
},
|
|
1929
|
+
callbacks: {
|
|
1930
|
+
onClick: () => console.debug("check step"),
|
|
1931
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
1932
|
+
onNewFormCancel: () => console.log("hide"),
|
|
1933
|
+
onNewFormClick: () => console.log("show"),
|
|
1934
|
+
onVerifyClick: () => console.log("verify"),
|
|
1935
|
+
},
|
|
1936
|
+
text: props.getTextProps(),
|
|
1937
|
+
slots: {
|
|
1938
|
+
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
1939
|
+
states: {
|
|
1940
|
+
badgeStatus: "nextPayout",
|
|
1941
|
+
},
|
|
1942
|
+
} })),
|
|
1943
|
+
},
|
|
1944
|
+
}, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
|
|
1947
1945
|
}
|
|
@@ -14,7 +14,6 @@ import { l as luxon } from './luxon-bbf75a9d.js';
|
|
|
14
14
|
import { g as generateUserError } from './useReferralTable-909ccb28.js';
|
|
15
15
|
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-0a57b622.js';
|
|
16
16
|
import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-6122971b.js';
|
|
17
|
-
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
18
17
|
import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, C as CURRENCIES_NAMESPACE } from './data-807686c2.js';
|
|
19
18
|
import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
|
|
20
19
|
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-42cc6a2c.js';
|
|
@@ -4662,7 +4661,7 @@ const TaxAndCashDashboard = class {
|
|
|
4662
4661
|
this.cancelButton = "Cancel";
|
|
4663
4662
|
/**
|
|
4664
4663
|
* @undocumented
|
|
4665
|
-
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "
|
|
4664
|
+
* @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
|
|
4666
4665
|
*/
|
|
4667
4666
|
this.stateController = "{}";
|
|
4668
4667
|
h$1(this);
|
|
@@ -4690,49 +4689,48 @@ const TaxAndCashDashboard = class {
|
|
|
4690
4689
|
}
|
|
4691
4690
|
};
|
|
4692
4691
|
function useDemoTaxAndCashDashboard(props) {
|
|
4693
|
-
|
|
4694
|
-
|
|
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
|
-
|
|
4692
|
+
// @ts-ignore
|
|
4693
|
+
return cjs({
|
|
4694
|
+
states: {
|
|
4695
|
+
dateSubmitted: "today",
|
|
4696
|
+
documentType: "W9",
|
|
4697
|
+
documentTypeString: "W-9",
|
|
4698
|
+
status: "ACTIVE",
|
|
4699
|
+
country: "United States",
|
|
4700
|
+
indirectTaxNumber: "55555555",
|
|
4701
|
+
indirectTaxType: "Indirect Tax",
|
|
4702
|
+
noFormNeeded: false,
|
|
4703
|
+
disabled: false,
|
|
4704
|
+
loading: false,
|
|
4705
|
+
showNewFormDialog: false,
|
|
4706
|
+
hasHold: false,
|
|
4707
|
+
subRegion: "CA",
|
|
4708
|
+
subRegionTaxNumber: undefined,
|
|
4709
|
+
qstNumber: undefined,
|
|
4710
|
+
isBusinessEntity: false,
|
|
4711
|
+
province: undefined,
|
|
4712
|
+
notRegistered: true,
|
|
4713
|
+
loadingError: false,
|
|
4714
|
+
payoutStatus: "DONE",
|
|
4715
|
+
veriffLoading: false,
|
|
4716
|
+
canEditPayoutInfo: true,
|
|
4717
|
+
},
|
|
4718
|
+
callbacks: {
|
|
4719
|
+
onClick: () => console.debug("check step"),
|
|
4720
|
+
onEditPayoutInfo: () => console.debug("payout info"),
|
|
4721
|
+
onNewFormCancel: () => console.log("hide"),
|
|
4722
|
+
onNewFormClick: () => console.log("show"),
|
|
4723
|
+
onVerifyClick: () => console.log("verify"),
|
|
4724
|
+
},
|
|
4725
|
+
text: props.getTextProps(),
|
|
4726
|
+
slots: {
|
|
4727
|
+
payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
|
|
4728
|
+
states: {
|
|
4729
|
+
badgeStatus: "nextPayout",
|
|
4730
|
+
},
|
|
4731
|
+
} })),
|
|
4731
4732
|
},
|
|
4732
|
-
|
|
4733
|
-
formatted,
|
|
4734
|
-
], { arrayMerge: (_, a) => a });
|
|
4735
|
-
return merged;
|
|
4733
|
+
}, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
|
|
4736
4734
|
}
|
|
4737
4735
|
|
|
4738
4736
|
const PHONE_EXTENSIONS = {
|
|
@@ -3202,7 +3202,6 @@ const PayoutStatusAlert = class {
|
|
|
3202
3202
|
}
|
|
3203
3203
|
};
|
|
3204
3204
|
function useDemoPayoutStatusAlert(props) {
|
|
3205
|
-
console.log(props.stateController, "stateController in sqm-payout-status-alert");
|
|
3206
3205
|
const states = parseStates(props.stateController);
|
|
3207
3206
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3208
3207
|
? { ...prev, ...states[key] }
|