@saasquatch/mint-components 1.13.5 → 1.14.0-0
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/{ShadowViewAddon-14a02da4.js → AutoColor-3b59126f.js} +1137 -1137
- package/dist/cjs/ErrorView-b2fcf954.js +35 -0
- package/dist/cjs/IndirectTaxDetailsView-409dae6f.js +646 -0
- package/dist/cjs/data-6d96b89c.js +137 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/parseStates-d1effc19.js +16 -0
- package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +209 -1885
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +30 -30
- package/dist/cjs/sqm-code-verification.cjs.entry.js +349 -0
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13619 -12323
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1221 -0
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -3
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +17 -6
- package/dist/cjs/utils-8257e7ab.js +105 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +78 -78
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +37 -3
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -6
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +12 -8
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +77 -28
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +62 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +5 -4
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +49 -11
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/esm/{ShadowViewAddon-23a6afab.js → AutoColor-d8d7f31d.js} +1141 -1141
- package/dist/esm/ErrorView-48e2b969.js +33 -0
- package/dist/esm/IndirectTaxDetailsView-c321099a.js +639 -0
- package/dist/esm/data-a05c78ae.js +121 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +133 -1802
- package/dist/esm/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +345 -0
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/sqm-stencilbook.entry.js +10610 -9314
- package/dist/esm/sqm-tax-and-cash.entry.js +1217 -0
- package/dist/esm/sqm-widget-verification-controller.entry.js +12 -4
- package/dist/esm/sqm-widget-verification.entry.js +17 -6
- package/dist/esm/utils-7c96856c.js +97 -0
- package/dist/esm-es5/AutoColor-d8d7f31d.js +1 -0
- package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
- package/dist/esm-es5/IndirectTaxDetailsView-c321099a.js +1 -0
- package/dist/esm-es5/data-a05c78ae.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/utils-7c96856c.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0603a39f.js +1 -0
- package/dist/mint-components/p-0a37a288.system.entry.js +1 -0
- package/dist/mint-components/p-0b8f6a39.entry.js +11 -0
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/p-1a7453c6.system.js +1 -0
- package/dist/mint-components/p-33d79be3.entry.js +93 -0
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/p-3a62a7e2.system.js +1 -0
- package/dist/mint-components/p-4a46897f.system.js +1 -0
- package/dist/mint-components/p-4d11920f.entry.js +1 -0
- package/dist/mint-components/p-5510be1e.system.entry.js +1 -0
- package/dist/mint-components/p-6ef506ba.entry.js +16 -0
- package/dist/mint-components/{p-33ed6f1c.system.entry.js → p-70adcf4f.system.entry.js} +1 -1
- package/dist/mint-components/p-70d3d873.system.entry.js +1 -0
- package/dist/mint-components/p-7e0bf3de.system.entry.js +1 -0
- package/dist/mint-components/p-83acd617.js +1 -0
- package/dist/mint-components/p-84a78d09.entry.js +1 -0
- package/dist/mint-components/{p-01010af0.entry.js → p-84ed9923.entry.js} +5 -5
- package/dist/mint-components/p-889ec1df.system.entry.js +1 -0
- package/dist/mint-components/p-8a784f2a.system.entry.js +1 -0
- package/dist/mint-components/p-93e4a3c3.system.js +1 -0
- package/dist/mint-components/p-98a48fc4.system.entry.js +1 -0
- package/dist/mint-components/p-9acb5038.js +1 -0
- package/dist/mint-components/p-a38ca165.entry.js +9 -0
- package/dist/mint-components/p-c75a3b4a.js +103 -0
- package/dist/mint-components/p-d75c462c.entry.js +1 -0
- package/dist/mint-components/p-ea7f379d.js +394 -0
- package/dist/mint-components/p-f8175201.system.js +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +6 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +10 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +7 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +96 -7
- package/dist/types/utils/parseStates.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/sqm-invoice-table-view-baded4af.js +0 -2067
- package/dist/esm/sqm-invoice-table-view-af69cd33.js +0 -2050
- package/dist/esm-es5/ShadowViewAddon-23a6afab.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-af69cd33.js +0 -1
- package/dist/mint-components/p-23ed5e6f.entry.js +0 -205
- package/dist/mint-components/p-33c96e14.entry.js +0 -16
- package/dist/mint-components/p-6427e963.entry.js +0 -1
- package/dist/mint-components/p-7e7cbccf.system.js +0 -1
- package/dist/mint-components/p-8da00a59.system.entry.js +0 -1
- package/dist/mint-components/p-8f8245da.system.entry.js +0 -1
- package/dist/mint-components/p-9320582e.system.js +0 -1
- package/dist/mint-components/p-962f3200.js +0 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
- package/dist/mint-components/p-ba9b5b20.entry.js +0 -9
- package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
- package/dist/mint-components/p-d3d74266.js +0 -394
- /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(n,e){if(Object.defineProperty){Object.defineProperty(n,"raw",{value:e})}else{n.raw=e}return n};System.register(["./p-6cd4f2b1.system.js"],(function(n){"use strict";var e;return{setters:[function(n){e=n.d}],execute:function(){var t=n("T","sq:tax-and-cash");var a=n("a","sq:tax-form-context");var i=n("c","sq:user-info-query");var r=n("U","sq:user-form-context");var o=n("F","sq:finance-network-settings");var d=n("b","sq:countries:list");var l=n("S","sq:countries:sorted");var c=n("d","sq:countries:query");var u=n("C","sq:currencies:list");var s=n("g","sq:currencies:query");var m=n("G",e.gql(__makeTemplateObject(["\n query getUserTaxInfo {\n user: viewer {\n ... on User {\n id\n firstName\n lastName\n email\n countryCode\n customFields\n managedIdentity {\n uid\n email\n emailVerified\n }\n impactConnection {\n connected\n user {\n firstName\n lastName\n }\n publisher {\n id\n brandedSignup\n countryCode\n currency\n billingAddress\n billingCity\n billingState\n billingCountryCode\n billingPostalCode\n phoneNumberCountryCode\n phoneNumber\n taxInformation {\n indirectTaxId\n indirectTaxCountryCode\n indirectTaxRegion\n additionalTaxId\n withholdingTaxId\n withholdingTaxCountryCode\n }\n requiredTaxDocumentType\n currentTaxDocument {\n status\n type\n dateCreated\n }\n withdrawalSettings {\n paymentMethod\n paypalEmailAddress\n bankCountry\n bankAccountNumber\n paymentSchedulingType\n paymentThreshold\n paymentDay\n }\n payoutsAccount {\n hold\n holdReasons\n balance\n }\n }\n }\n }\n }\n }\n"],["\n query getUserTaxInfo {\n user: viewer {\n ... on User {\n id\n firstName\n lastName\n email\n countryCode\n customFields\n managedIdentity {\n uid\n email\n emailVerified\n }\n impactConnection {\n connected\n user {\n firstName\n lastName\n }\n publisher {\n id\n brandedSignup\n countryCode\n currency\n billingAddress\n billingCity\n billingState\n billingCountryCode\n billingPostalCode\n phoneNumberCountryCode\n phoneNumber\n taxInformation {\n indirectTaxId\n indirectTaxCountryCode\n indirectTaxRegion\n additionalTaxId\n withholdingTaxId\n withholdingTaxCountryCode\n }\n requiredTaxDocumentType\n currentTaxDocument {\n status\n type\n dateCreated\n }\n withdrawalSettings {\n paymentMethod\n paypalEmailAddress\n bankCountry\n bankAccountNumber\n paymentSchedulingType\n paymentThreshold\n paymentDay\n }\n payoutsAccount {\n hold\n holdReasons\n balance\n }\n }\n }\n }\n }\n }\n"])));var y=n("e",e.gql(__makeTemplateObject(["\n query getCountries {\n impactPayoutCountries(limit: 1000) {\n data {\n countryCode\n displayName\n }\n }\n }\n"],["\n query getCountries {\n impactPayoutCountries(limit: 1000) {\n data {\n countryCode\n displayName\n }\n }\n }\n"])));var p=n("h",e.gql(__makeTemplateObject(["\n query currencies($locale: RSLocale) {\n currencies(limit: 300) {\n data {\n displayName(locale: $locale)\n currencyCode\n }\n }\n }\n"],["\n query currencies($locale: RSLocale) {\n currencies(limit: 300) {\n data {\n displayName(locale: $locale)\n currencyCode\n }\n }\n }\n"])));var g=n("f",e.gql(__makeTemplateObject(["\n query impactFinanceNetworkSettings(\n $filter: ImpactFinanceNetworkSettingsFilterInput\n ) {\n impactFinanceNetworkSettings(filter: $filter, limit: 1000) {\n data {\n countryCode\n currency\n defaultFinancePaymentMethodId\n thresholdOptions\n withdrawalSettingId\n internationalEftFee\n foreignFxFee\n defaultFxFee\n }\n totalCount\n }\n }\n"],["\n query impactFinanceNetworkSettings(\n $filter: ImpactFinanceNetworkSettingsFilterInput\n ) {\n impactFinanceNetworkSettings(filter: $filter, limit: 1000) {\n data {\n countryCode\n currency\n defaultFinancePaymentMethodId\n thresholdOptions\n withdrawalSettingId\n internationalEftFee\n foreignFxFee\n defaultFxFee\n }\n totalCount\n }\n }\n"])));var C=n("i",4)}}}));
|
|
@@ -3,7 +3,7 @@ import { UsePagination } from "./usePagination";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Pagination
|
|
5
5
|
* @exampleGroup Common Components
|
|
6
|
-
* @example
|
|
6
|
+
* @example Link Button - <sqm-pagination></sqm-pagination>
|
|
7
7
|
*/
|
|
8
8
|
export declare class Pagination {
|
|
9
9
|
ignored: boolean;
|
|
@@ -38,6 +38,12 @@ export declare class WidgetCodeVerification {
|
|
|
38
38
|
* @uiName Network error message
|
|
39
39
|
*/
|
|
40
40
|
networkErrorMessage: string;
|
|
41
|
+
/**
|
|
42
|
+
* @parentState {"parent": "sqm-widget-verification", "title": "Code Step" }
|
|
43
|
+
* @componentState { "title": "Verification Failed", "props": { "states": { "verifyFailed": true } } }
|
|
44
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
45
|
+
*/
|
|
46
|
+
stateController: string;
|
|
41
47
|
/**
|
|
42
48
|
* @undocumented
|
|
43
49
|
* @uiType object
|
package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
* @example Widget Verification Controller - <sqm-widget-verification-controller><template slot="not-verified"><sqm-widget-verification></sqm-widget-verification></template><template slot="verified"><sqm-tax-and-cash></sqm-tax-and-cash></template></sqm-widget-verification-controller>
|
|
7
7
|
*/
|
|
8
8
|
export declare class WidgetVerificationController {
|
|
9
|
+
/**
|
|
10
|
+
* @componentState { "title": "Not Verified", "slot": "not-verified", "props": { "isAuth": false } }
|
|
11
|
+
* @componentState { "title": "Verified", "slot": "verified", "props": { "isAuth": true } }
|
|
12
|
+
*/
|
|
13
|
+
stateController: string;
|
|
9
14
|
constructor();
|
|
10
15
|
disconnectedCallback(): void;
|
|
11
16
|
render(): any;
|
|
@@ -89,6 +89,11 @@ export declare class WidgetVerification {
|
|
|
89
89
|
* @uiGroup Code Verification Step
|
|
90
90
|
*/
|
|
91
91
|
codeStep_networkErrorMessage: string;
|
|
92
|
+
/**
|
|
93
|
+
* @componentState { "title": "Email Step", "props": { "showCode": false } }
|
|
94
|
+
* @componentState { "title": "Code Step", "props": { "showCode": true } }
|
|
95
|
+
*/
|
|
96
|
+
stateController: string;
|
|
92
97
|
constructor();
|
|
93
98
|
disconnectedCallback(): void;
|
|
94
99
|
getStepTextProps<T extends string>(prefix: T): { [K in keyof this as K extends `${T}${infer Suffix}` ? `${Suffix}` : never]: this[K]; };
|
|
@@ -66,4 +66,3 @@ export declare const TaxAndCashDashboardLoading: () => any;
|
|
|
66
66
|
export declare const TaxAndCashDashboardWithLoadingError: () => any;
|
|
67
67
|
export declare const TaxAndCashDashboardWithGeneralError: () => any;
|
|
68
68
|
export declare const TaxAndCashDashboardDisabled: () => any;
|
|
69
|
-
export declare const TaxAndCashTextProps: () => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from "../../../stencil-public-runtime";
|
|
2
|
-
import { TaxDocumentType } from "../
|
|
2
|
+
import { TaxDocumentType } from "../data";
|
|
3
3
|
import { ParticipantType } from "./useDocusignForm";
|
|
4
4
|
export interface DocusignFormViewProps {
|
|
5
5
|
states: {
|
|
@@ -19,12 +19,12 @@ export declare function useDocusignForm(props: DocusignForm): {
|
|
|
19
19
|
errors: {};
|
|
20
20
|
};
|
|
21
21
|
docusignStatus: DocusignStatus;
|
|
22
|
-
documentType: import("../
|
|
22
|
+
documentType: import("../data").TaxDocumentType;
|
|
23
23
|
documentTypeString: string;
|
|
24
24
|
showExitButton: boolean;
|
|
25
25
|
};
|
|
26
26
|
data: {
|
|
27
|
-
taxForm: import("../
|
|
27
|
+
taxForm: import("../data").TaxDocumentType;
|
|
28
28
|
documentUrl: string;
|
|
29
29
|
};
|
|
30
30
|
callbacks: {
|
package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export declare class PayoutDetailsCard {
|
|
|
24
24
|
* @uiName Payout missing information subtext
|
|
25
25
|
*/
|
|
26
26
|
payoutMissingInformationText: string;
|
|
27
|
+
/**
|
|
28
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
29
|
+
*/
|
|
30
|
+
stateController?: string;
|
|
27
31
|
/**
|
|
28
32
|
* @undocumented
|
|
29
33
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserQuery } from "../
|
|
1
|
+
import { UserQuery } from "../data";
|
|
2
2
|
import { PayoutStatusAlert } from "./sqm-payout-status-alert";
|
|
3
3
|
export declare type PayoutStatus = "INFORMATION_REQUIRED" | "VERIFICATION:REQUIRED" | "VERIFICATION:INTERNAL" | "VERIFICATION:REVIEW" | "VERIFICATION:FAILED" | "HOLD" | "DONE";
|
|
4
4
|
export declare function getStatus(data: UserQuery): PayoutStatus;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DemoData } from "../../../global/demo";
|
|
2
|
-
import { UseTaxAndCashResultType } from "./useTaxAndCash";
|
|
3
2
|
/**
|
|
4
3
|
* @uiName Tax and Cash
|
|
5
4
|
* @exampleGroup Tax and Cash
|
|
@@ -947,11 +946,18 @@ export declare class TaxAndCashMonolith {
|
|
|
947
946
|
*/
|
|
948
947
|
supportLink: string;
|
|
949
948
|
/**
|
|
950
|
-
*
|
|
949
|
+
* @uiName Monolith States
|
|
950
|
+
* @componentState { "title": "Step 1", "props": { "step": "/1" } }
|
|
951
|
+
* @componentState { "title": "Step 2", "props": { "step": "/2" } }
|
|
952
|
+
* @componentState { "title": "Step 3", "props": { "step": "/3" } }
|
|
953
|
+
* @componentState { "title": "Step 4", "props": { "step": "/4" } }
|
|
954
|
+
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" } }
|
|
955
|
+
*/
|
|
956
|
+
stateController: string;
|
|
957
|
+
/**
|
|
951
958
|
* @undocumented
|
|
952
|
-
* @uiType object
|
|
953
959
|
*/
|
|
954
|
-
demoData?: DemoData<
|
|
960
|
+
demoData?: DemoData<TaxAndCashMonolith>;
|
|
955
961
|
constructor();
|
|
956
962
|
disconnectedCallback(): void;
|
|
957
963
|
getGeneralStepTextProps(prefix: string): { [K in keyof this as K extends `${string}${infer Suffix}` ? `${Suffix}` : never]: this[K]; } & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from "../../../stencil-public-runtime";
|
|
2
|
-
import { TaxDocumentType } from "../
|
|
2
|
+
import { TaxDocumentType } from "../data";
|
|
3
3
|
import { PayoutStatus } from "../sqm-payout-status-alert/usePayoutStatus";
|
|
4
4
|
export interface TaxAndCashDashboardProps {
|
|
5
5
|
states: {
|
|
@@ -308,6 +308,16 @@ export declare class TaxAndCashDashboard {
|
|
|
308
308
|
* @uiName Cancel button label
|
|
309
309
|
*/
|
|
310
310
|
cancelButton: string;
|
|
311
|
+
/**
|
|
312
|
+
* @parentState { "parent": "sqm-tax-and-cash", "title": "Dashboard" }
|
|
313
|
+
* @componentState { "title": "Default", "props": { } }
|
|
314
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:REQUIRED" } } }
|
|
315
|
+
* @componentState { "title": "Internal Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:INTERNAL" } } }
|
|
316
|
+
* @componentState { "title": "Review in progress", "props": { "states": { "payoutStatus": "VERIFICATION:REVIEW" } } }
|
|
317
|
+
* @componentState { "title": "Verification failed", "props": { "states": { "payoutStatus": "VERIFICATION:FAILED" } } }
|
|
318
|
+
* @componentState { "title": "Payout hold", "props": { "states": { "payoutStatus": "HOLD" } } }
|
|
319
|
+
*/
|
|
320
|
+
stateController?: string;
|
|
311
321
|
/**
|
|
312
322
|
* @undocumented
|
|
313
323
|
* @uiType object
|
|
@@ -156,6 +156,13 @@ export declare class TaxForm {
|
|
|
156
156
|
* @uiName Support link text
|
|
157
157
|
*/
|
|
158
158
|
supportLink: string;
|
|
159
|
+
/**
|
|
160
|
+
* @uiName States
|
|
161
|
+
* @parentState { "parent": "sqm-tax-and-cash", "title": "Step 1" }
|
|
162
|
+
* @componentState { "title": "Errors", "props": { "states": { "loadingError": true, "formState": { "errors": { "email": true, "firstName": true, "lastName": true, "countryCode": true, "currency": true } } } } }
|
|
163
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
164
|
+
*/
|
|
165
|
+
stateController: string;
|
|
159
166
|
/**
|
|
160
167
|
* @undocumented
|
|
161
168
|
* @uiType object
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TaxDocumentType } from "./
|
|
1
|
+
import { TaxDocumentType } from "./data";
|
|
2
2
|
export declare function validTaxDocument(requiredType: TaxDocumentType | undefined): boolean;
|
|
3
3
|
export declare const objectIsFull: (obj: Record<string, unknown>) => boolean;
|
|
4
4
|
export declare const taxTypeToName: (taxType: TaxDocumentType) => "" | "W-9" | "W-8";
|
|
@@ -49,7 +49,6 @@ import { ReferralDates } from "./components/sqm-referral-table/useReferralTable"
|
|
|
49
49
|
import { RewardExchangeViewProps } from "./components/sqm-reward-exchange-list/sqm-reward-exchange-list-view";
|
|
50
50
|
import { ShareButtonViewProps } from "./components/sqm-share-button/sqm-share-button-view";
|
|
51
51
|
import { TaskCardViewProps } from "./components/sqm-task-card/sqm-task-card-view";
|
|
52
|
-
import { UseTaxAndCashResultType } from "./components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash";
|
|
53
52
|
import { UseTaxAndCashDashboardResult } from "./components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard";
|
|
54
53
|
import { UseUserInfoFormResult } from "./components/tax-and-cash/sqm-user-info-form/useUserInfoForm";
|
|
55
54
|
import { UserNameViewProps } from "./components/sqm-user-name/sqm-user-name-view";
|
|
@@ -475,6 +474,12 @@ export namespace Components {
|
|
|
475
474
|
* @uiName Reverify code widget header text
|
|
476
475
|
*/
|
|
477
476
|
"reverifyCodeHeaderText": string;
|
|
477
|
+
/**
|
|
478
|
+
* @parentState {"parent": "sqm-widget-verification", "title": "Code Step" }
|
|
479
|
+
* @componentState { "title": "Verification Failed", "props": { "states": { "verifyFailed": true } } }
|
|
480
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
481
|
+
*/
|
|
482
|
+
"stateController": string;
|
|
478
483
|
/**
|
|
479
484
|
* @uiName Verify code widget header text
|
|
480
485
|
*/
|
|
@@ -1759,6 +1764,10 @@ export namespace Components {
|
|
|
1759
1764
|
* @uiName Payout missing information subtext
|
|
1760
1765
|
*/
|
|
1761
1766
|
"payoutMissingInformationText": string;
|
|
1767
|
+
/**
|
|
1768
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
1769
|
+
*/
|
|
1770
|
+
"stateController"?: string;
|
|
1762
1771
|
/**
|
|
1763
1772
|
* Badge text indicating payout status
|
|
1764
1773
|
* @uiName Payout badge status text
|
|
@@ -4663,10 +4672,9 @@ export namespace Components {
|
|
|
4663
4672
|
*/
|
|
4664
4673
|
"dashboard_verificationReviewInternalHeader": string;
|
|
4665
4674
|
/**
|
|
4666
|
-
* @undocumented
|
|
4667
|
-
* @uiType object
|
|
4675
|
+
* @undocumented
|
|
4668
4676
|
*/
|
|
4669
|
-
"demoData"?: DemoData<
|
|
4677
|
+
"demoData"?: DemoData<TaxAndCashMonolith>;
|
|
4670
4678
|
/**
|
|
4671
4679
|
* Displayed under a field when it has an invalid entry.
|
|
4672
4680
|
* @uiName Form field error message
|
|
@@ -4738,6 +4746,15 @@ export namespace Components {
|
|
|
4738
4746
|
* @uiGroup General Form Properties
|
|
4739
4747
|
*/
|
|
4740
4748
|
"searchForCountryText": string;
|
|
4749
|
+
/**
|
|
4750
|
+
* @uiName Monolith States
|
|
4751
|
+
* @componentState { "title": "Step 1", "props": { "step": "/1" } }
|
|
4752
|
+
* @componentState { "title": "Step 2", "props": { "step": "/2" } }
|
|
4753
|
+
* @componentState { "title": "Step 3", "props": { "step": "/3" } }
|
|
4754
|
+
* @componentState { "title": "Step 4", "props": { "step": "/4" } }
|
|
4755
|
+
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" } }
|
|
4756
|
+
*/
|
|
4757
|
+
"stateController": string;
|
|
4741
4758
|
/**
|
|
4742
4759
|
* @uiName Address field label
|
|
4743
4760
|
* @uiGroup Step 1 Properties
|
|
@@ -5443,6 +5460,16 @@ export namespace Components {
|
|
|
5443
5460
|
* @uiName Replace tax form modal header
|
|
5444
5461
|
*/
|
|
5445
5462
|
"replaceTaxFormModalHeader": string;
|
|
5463
|
+
/**
|
|
5464
|
+
* @parentState { "parent": "sqm-tax-and-cash", "title": "Dashboard" }
|
|
5465
|
+
* @componentState { "title": "Default", "props": { } }
|
|
5466
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:REQUIRED" } } }
|
|
5467
|
+
* @componentState { "title": "Internal Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:INTERNAL" } } }
|
|
5468
|
+
* @componentState { "title": "Review in progress", "props": { "states": { "payoutStatus": "VERIFICATION:REVIEW" } } }
|
|
5469
|
+
* @componentState { "title": "Verification failed", "props": { "states": { "payoutStatus": "VERIFICATION:FAILED" } } }
|
|
5470
|
+
* @componentState { "title": "Payout hold", "props": { "states": { "payoutStatus": "HOLD" } } }
|
|
5471
|
+
*/
|
|
5472
|
+
"stateController"?: string;
|
|
5446
5473
|
/**
|
|
5447
5474
|
* @uiName Payout status badge
|
|
5448
5475
|
*/
|
|
@@ -5765,6 +5792,13 @@ export namespace Components {
|
|
|
5765
5792
|
* @uiName State field label
|
|
5766
5793
|
*/
|
|
5767
5794
|
"state": string;
|
|
5795
|
+
/**
|
|
5796
|
+
* @uiName States
|
|
5797
|
+
* @parentState { "parent": "sqm-tax-and-cash", "title": "Step 1" }
|
|
5798
|
+
* @componentState { "title": "Errors", "props": { "states": { "loadingError": true, "formState": { "errors": { "email": true, "firstName": true, "lastName": true, "countryCode": true, "currency": true } } } } }
|
|
5799
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
5800
|
+
*/
|
|
5801
|
+
"stateController": string;
|
|
5768
5802
|
/**
|
|
5769
5803
|
* @uiName Support link text
|
|
5770
5804
|
*/
|
|
@@ -5888,8 +5922,18 @@ export namespace Components {
|
|
|
5888
5922
|
* @uiGroup General Text
|
|
5889
5923
|
*/
|
|
5890
5924
|
"general_verifyEmailHeader": string;
|
|
5925
|
+
/**
|
|
5926
|
+
* @componentState { "title": "Email Step", "props": { "showCode": false } }
|
|
5927
|
+
* @componentState { "title": "Code Step", "props": { "showCode": true } }
|
|
5928
|
+
*/
|
|
5929
|
+
"stateController": string;
|
|
5891
5930
|
}
|
|
5892
5931
|
interface SqmWidgetVerificationController {
|
|
5932
|
+
/**
|
|
5933
|
+
* @componentState { "title": "Not Verified", "slot": "not-verified", "props": { "isAuth": false } }
|
|
5934
|
+
* @componentState { "title": "Verified", "slot": "verified", "props": { "isAuth": true } }
|
|
5935
|
+
*/
|
|
5936
|
+
"stateController": string;
|
|
5893
5937
|
}
|
|
5894
5938
|
}
|
|
5895
5939
|
declare global {
|
|
@@ -7170,6 +7214,12 @@ declare namespace LocalJSX {
|
|
|
7170
7214
|
* @uiName Reverify code widget header text
|
|
7171
7215
|
*/
|
|
7172
7216
|
"reverifyCodeHeaderText"?: string;
|
|
7217
|
+
/**
|
|
7218
|
+
* @parentState {"parent": "sqm-widget-verification", "title": "Code Step" }
|
|
7219
|
+
* @componentState { "title": "Verification Failed", "props": { "states": { "verifyFailed": true } } }
|
|
7220
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
7221
|
+
*/
|
|
7222
|
+
"stateController"?: string;
|
|
7173
7223
|
/**
|
|
7174
7224
|
* @uiName Verify code widget header text
|
|
7175
7225
|
*/
|
|
@@ -8449,6 +8499,10 @@ declare namespace LocalJSX {
|
|
|
8449
8499
|
* @uiName Payout missing information subtext
|
|
8450
8500
|
*/
|
|
8451
8501
|
"payoutMissingInformationText"?: string;
|
|
8502
|
+
/**
|
|
8503
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
8504
|
+
*/
|
|
8505
|
+
"stateController"?: string;
|
|
8452
8506
|
/**
|
|
8453
8507
|
* Badge text indicating payout status
|
|
8454
8508
|
* @uiName Payout badge status text
|
|
@@ -11329,10 +11383,9 @@ declare namespace LocalJSX {
|
|
|
11329
11383
|
*/
|
|
11330
11384
|
"dashboard_verificationReviewInternalHeader"?: string;
|
|
11331
11385
|
/**
|
|
11332
|
-
* @undocumented
|
|
11333
|
-
* @uiType object
|
|
11386
|
+
* @undocumented
|
|
11334
11387
|
*/
|
|
11335
|
-
"demoData"?: DemoData<
|
|
11388
|
+
"demoData"?: DemoData<TaxAndCashMonolith>;
|
|
11336
11389
|
/**
|
|
11337
11390
|
* Displayed under a field when it has an invalid entry.
|
|
11338
11391
|
* @uiName Form field error message
|
|
@@ -11404,6 +11457,15 @@ declare namespace LocalJSX {
|
|
|
11404
11457
|
* @uiGroup General Form Properties
|
|
11405
11458
|
*/
|
|
11406
11459
|
"searchForCountryText"?: string;
|
|
11460
|
+
/**
|
|
11461
|
+
* @uiName Monolith States
|
|
11462
|
+
* @componentState { "title": "Step 1", "props": { "step": "/1" } }
|
|
11463
|
+
* @componentState { "title": "Step 2", "props": { "step": "/2" } }
|
|
11464
|
+
* @componentState { "title": "Step 3", "props": { "step": "/3" } }
|
|
11465
|
+
* @componentState { "title": "Step 4", "props": { "step": "/4" } }
|
|
11466
|
+
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" } }
|
|
11467
|
+
*/
|
|
11468
|
+
"stateController"?: string;
|
|
11407
11469
|
/**
|
|
11408
11470
|
* @uiName Address field label
|
|
11409
11471
|
* @uiGroup Step 1 Properties
|
|
@@ -12109,6 +12171,16 @@ declare namespace LocalJSX {
|
|
|
12109
12171
|
* @uiName Replace tax form modal header
|
|
12110
12172
|
*/
|
|
12111
12173
|
"replaceTaxFormModalHeader"?: string;
|
|
12174
|
+
/**
|
|
12175
|
+
* @parentState { "parent": "sqm-tax-and-cash", "title": "Dashboard" }
|
|
12176
|
+
* @componentState { "title": "Default", "props": { } }
|
|
12177
|
+
* @componentState { "title": "Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:REQUIRED" } } }
|
|
12178
|
+
* @componentState { "title": "Internal Verification Required", "props": { "states": { "payoutStatus": "VERIFICATION:INTERNAL" } } }
|
|
12179
|
+
* @componentState { "title": "Review in progress", "props": { "states": { "payoutStatus": "VERIFICATION:REVIEW" } } }
|
|
12180
|
+
* @componentState { "title": "Verification failed", "props": { "states": { "payoutStatus": "VERIFICATION:FAILED" } } }
|
|
12181
|
+
* @componentState { "title": "Payout hold", "props": { "states": { "payoutStatus": "HOLD" } } }
|
|
12182
|
+
*/
|
|
12183
|
+
"stateController"?: string;
|
|
12112
12184
|
/**
|
|
12113
12185
|
* @uiName Payout status badge
|
|
12114
12186
|
*/
|
|
@@ -12430,6 +12502,13 @@ declare namespace LocalJSX {
|
|
|
12430
12502
|
* @uiName State field label
|
|
12431
12503
|
*/
|
|
12432
12504
|
"state"?: string;
|
|
12505
|
+
/**
|
|
12506
|
+
* @uiName States
|
|
12507
|
+
* @parentState { "parent": "sqm-tax-and-cash", "title": "Step 1" }
|
|
12508
|
+
* @componentState { "title": "Errors", "props": { "states": { "loadingError": true, "formState": { "errors": { "email": true, "firstName": true, "lastName": true, "countryCode": true, "currency": true } } } } }
|
|
12509
|
+
* @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
|
|
12510
|
+
*/
|
|
12511
|
+
"stateController"?: string;
|
|
12433
12512
|
/**
|
|
12434
12513
|
* @uiName Support link text
|
|
12435
12514
|
*/
|
|
@@ -12553,8 +12632,18 @@ declare namespace LocalJSX {
|
|
|
12553
12632
|
* @uiGroup General Text
|
|
12554
12633
|
*/
|
|
12555
12634
|
"general_verifyEmailHeader"?: string;
|
|
12635
|
+
/**
|
|
12636
|
+
* @componentState { "title": "Email Step", "props": { "showCode": false } }
|
|
12637
|
+
* @componentState { "title": "Code Step", "props": { "showCode": true } }
|
|
12638
|
+
*/
|
|
12639
|
+
"stateController"?: string;
|
|
12556
12640
|
}
|
|
12557
12641
|
interface SqmWidgetVerificationController {
|
|
12642
|
+
/**
|
|
12643
|
+
* @componentState { "title": "Not Verified", "slot": "not-verified", "props": { "isAuth": false } }
|
|
12644
|
+
* @componentState { "title": "Verified", "slot": "verified", "props": { "isAuth": true } }
|
|
12645
|
+
*/
|
|
12646
|
+
"stateController"?: string;
|
|
12558
12647
|
}
|
|
12559
12648
|
interface IntrinsicElements {
|
|
12560
12649
|
"raisins-plop-target": RaisinsPlopTarget;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parseStates(states: any): any;
|
package/docs/docs.docx
CHANGED
|
Binary file
|