@saasquatch/mint-components 1.12.0-15 → 1.12.0-20
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/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +443 -91
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-invoice-table-view-b0602970.js → sqm-invoice-table-view-4fcf021f.js} +1 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +43 -8
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +86 -108
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -2
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +95 -125
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +17 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +71 -5
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +2 -1
- package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +445 -94
- package/dist/esm/sqm-big-stat_39.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-invoice-table-view-b1ac1bfc.js → sqm-invoice-table-view-b3127605.js} +1 -0
- package/dist/esm/sqm-stencilbook.entry.js +43 -8
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +90 -112
- package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-b3127605.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-e11b605d.entry.js → p-021ccc29.entry.js} +1 -1
- package/dist/mint-components/{p-158568e5.system.entry.js → p-0a94fe9f.system.entry.js} +1 -1
- package/dist/mint-components/p-156e37c2.system.entry.js +1 -0
- package/dist/mint-components/{p-c58250e6.system.entry.js → p-2c342de3.system.entry.js} +1 -1
- package/dist/mint-components/p-3007fb7d.system.entry.js +1 -0
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/{p-a8e79cad.entry.js → p-478a3755.entry.js} +2 -2
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-70af9ba2.system.entry.js} +1 -1
- package/dist/mint-components/p-97c92e75.entry.js +16 -0
- package/dist/mint-components/p-9bd417fd.entry.js +1 -0
- package/dist/mint-components/{p-a5c96f2a.entry.js → p-a954c299.entry.js} +21 -11
- package/dist/mint-components/p-c1fa5e04.system.js +1 -0
- package/dist/mint-components/p-ca809fdd.system.js +1 -1
- package/dist/mint-components/p-cb55d3c4.system.entry.js +1 -0
- package/dist/mint-components/{p-4671e644.entry.js → p-cd200c95.entry.js} +1 -1
- package/dist/mint-components/p-d4877a65.system.entry.js +1 -0
- package/dist/mint-components/p-f1184442.js +1 -0
- package/dist/mint-components/{p-fc17c2d2.entry.js → p-f196d71a.entry.js} +11 -11
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +3 -4
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +9 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -1
- package/dist/types/components.d.ts +27 -37
- 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/cjs/sqm-code-verification.cjs.entry.js +0 -342
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -109
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -345
- package/dist/esm/sqm-code-verification.entry.js +0 -338
- package/dist/esm/sqm-widget-verification-internal.entry.js +0 -105
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-b1ac1bfc.js +0 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
- package/dist/mint-components/p-02892b2a.entry.js +0 -11
- package/dist/mint-components/p-03e1ac96.system.entry.js +0 -1
- package/dist/mint-components/p-2584baa5.entry.js +0 -16
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-7789349d.system.js +0 -1
- package/dist/mint-components/p-8fa2809f.system.entry.js +0 -1
- package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
- package/dist/mint-components/p-9e788a1a.js +0 -1
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-b99108a6.system.entry.js +0 -1
- package/dist/mint-components/p-bfd92031.system.entry.js +0 -1
- package/dist/mint-components/p-c510fb88.entry.js +0 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host, g as getElement } from './index-17b4da69.js';
|
|
2
|
-
import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
+
import { m as useRef, k as useState, f as useEffect, n as h$1, l, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
3
|
import { i as intl } from './global-6306a9b8.js';
|
|
4
4
|
import { d as dist, T, Q, K, M as Mn, D as Dn, t as qn, c as xe, i as isDemo, S as Sn, b as useCallback, O as On, y as $n, F as Fn, A as An } from './index.module-6c840c4e.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import './mixins-f60a614c.js';
|
|
7
|
+
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
10
10
|
import { u as useRerenderListener, a as useRequestRerender } from './re-render-1bcfd0de.js';
|
|
@@ -12,10 +12,12 @@ import { u as useChildElements } from './useChildElements-fc84e640.js';
|
|
|
12
12
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
13
13
|
import { g as generateUserError } from './useReferralTable-f6ffa103.js';
|
|
14
14
|
import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
|
|
15
|
-
import {
|
|
16
|
-
import { b as
|
|
17
|
-
import {
|
|
15
|
+
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
16
|
+
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-b3127605.js';
|
|
17
|
+
import { b as VERIFICATION_EVENT_KEY, V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
18
18
|
import { e as extractProps } from './extractProps-ae1afbb3.js';
|
|
19
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-0bc0380f.js';
|
|
20
|
+
import { u as useVerificationEmail } from './useVerificationEmail-2a21d0e3.js';
|
|
19
21
|
|
|
20
22
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
21
23
|
const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
|
|
@@ -990,7 +992,7 @@ function parseImpactThreshold(threshold) {
|
|
|
990
992
|
return parsed.toString();
|
|
991
993
|
}
|
|
992
994
|
function useBankingInfoForm(props) {
|
|
993
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
995
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
994
996
|
const host = T();
|
|
995
997
|
const locale = Q();
|
|
996
998
|
const user = K();
|
|
@@ -1264,6 +1266,7 @@ function useBankingInfoForm(props) {
|
|
|
1264
1266
|
hasPayPal,
|
|
1265
1267
|
bankCountry: formState.bankCountry,
|
|
1266
1268
|
countrySearch,
|
|
1269
|
+
email: (_j = userData === null || userData === void 0 ? void 0 : userData.user) === null || _j === void 0 ? void 0 : _j.email,
|
|
1267
1270
|
},
|
|
1268
1271
|
refs: {
|
|
1269
1272
|
formRef,
|
|
@@ -1471,6 +1474,15 @@ const BankingInfoForm = class {
|
|
|
1471
1474
|
* @uiWidget textArea
|
|
1472
1475
|
*/
|
|
1473
1476
|
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
|
|
1477
|
+
/**
|
|
1478
|
+
* Text for verify email dialog
|
|
1479
|
+
* @uiName Verify email header
|
|
1480
|
+
*/
|
|
1481
|
+
this.verifyEmailHeaderText = "Verify your email";
|
|
1482
|
+
/**
|
|
1483
|
+
* @uiName Verify code widget header text
|
|
1484
|
+
*/
|
|
1485
|
+
this.verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
|
|
1474
1486
|
/**
|
|
1475
1487
|
* Part of the alert displayed at the top of the page.
|
|
1476
1488
|
* @uiName Form submission error message title
|
|
@@ -1571,14 +1583,21 @@ const BankingInfoForm = class {
|
|
|
1571
1583
|
});
|
|
1572
1584
|
const style = {
|
|
1573
1585
|
Dialog: {
|
|
1586
|
+
position: "relative",
|
|
1574
1587
|
"&::part(panel)": {
|
|
1575
1588
|
maxWidth: "420px",
|
|
1576
1589
|
},
|
|
1590
|
+
"&::part(title)": {
|
|
1591
|
+
padding: "var(--sl-spacing-large) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
|
|
1592
|
+
},
|
|
1593
|
+
"&::part(base)": {
|
|
1594
|
+
position: "absolute",
|
|
1595
|
+
},
|
|
1577
1596
|
"&::part(close-button)": {
|
|
1578
|
-
marginBottom: "var(--sl-spacing-
|
|
1597
|
+
marginBottom: "var(--sl-spacing-large)",
|
|
1579
1598
|
},
|
|
1580
1599
|
"&::part(body)": {
|
|
1581
|
-
padding: "0 var(--sl-spacing-
|
|
1600
|
+
padding: "0 var(--sl-spacing-large) 0 var(--sl-spacing-large)",
|
|
1582
1601
|
fontSize: "var(--sl-font-size-small)",
|
|
1583
1602
|
},
|
|
1584
1603
|
"&::part(footer)": {
|
|
@@ -1595,7 +1614,14 @@ const BankingInfoForm = class {
|
|
|
1595
1614
|
},
|
|
1596
1615
|
};
|
|
1597
1616
|
const sheet = createStyleSheet(style);
|
|
1598
|
-
|
|
1617
|
+
const styleString = sheet.toString();
|
|
1618
|
+
const verifyDescription = intl.formatMessage({
|
|
1619
|
+
id: "codeResentSuccessfully",
|
|
1620
|
+
defaultMessage: props.text.verifyEmailDescriptionText,
|
|
1621
|
+
}, {
|
|
1622
|
+
email: props.states.email,
|
|
1623
|
+
});
|
|
1624
|
+
return (h(Host, null, h("style", { type: "text/css" }, styleString), props.states.isPartner && props.states.showVerification ? (h("sl-dialog", { class: sheet.classes.Dialog, open: true, "onSl-hide": props.callbacks.onVerificationHide, label: props.text.verifyEmailHeaderText }, h("sqm-code-verification", { verifyCodeHeaderText: verifyDescription, reverifyCodeHeaderText: verifyDescription, onVerification: props.callbacks.onVerification }))) : null, h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
|
|
1599
1625
|
formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
|
|
1600
1626
|
countryInputSlot: (h("sl-select", Object.assign({ label: props.text.bankLocationLabel, disabled: props.states.saveLoading, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
|
|
1601
1627
|
class: "error-input",
|
|
@@ -1737,6 +1763,331 @@ function useDemoBankingInfoForm(props) {
|
|
|
1737
1763
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1738
1764
|
}
|
|
1739
1765
|
|
|
1766
|
+
const style$1 = {
|
|
1767
|
+
Wrapper: {
|
|
1768
|
+
display: "flex",
|
|
1769
|
+
flexDirection: "column",
|
|
1770
|
+
gap: "var(--sl-spacing-medium)",
|
|
1771
|
+
maxWidth: "550px",
|
|
1772
|
+
},
|
|
1773
|
+
HeaderContainer: {
|
|
1774
|
+
display: "flex",
|
|
1775
|
+
flexDirection: "column",
|
|
1776
|
+
},
|
|
1777
|
+
InputsContainer: {
|
|
1778
|
+
display: "flex",
|
|
1779
|
+
gap: "var(--sl-spacing-medium)",
|
|
1780
|
+
position: "relative",
|
|
1781
|
+
flexDirection: "column",
|
|
1782
|
+
},
|
|
1783
|
+
CodeInputContainer: {
|
|
1784
|
+
display: "flex",
|
|
1785
|
+
gap: "var(--sl-spacing-medium)",
|
|
1786
|
+
},
|
|
1787
|
+
CodeInput: {
|
|
1788
|
+
maxWidth: "40px",
|
|
1789
|
+
"&::part(input)": {
|
|
1790
|
+
margin: "0",
|
|
1791
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
1792
|
+
fontSize: "var(--sl-font-size-large)",
|
|
1793
|
+
},
|
|
1794
|
+
},
|
|
1795
|
+
CodeInputError: {
|
|
1796
|
+
...ErrorStyles,
|
|
1797
|
+
maxWidth: "40px",
|
|
1798
|
+
"&::part(input)": {
|
|
1799
|
+
margin: "0",
|
|
1800
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
1801
|
+
fontSize: "var(--sl-font-size-large)",
|
|
1802
|
+
},
|
|
1803
|
+
},
|
|
1804
|
+
ErrorText: {
|
|
1805
|
+
color: "var(--sl-color-danger-500)",
|
|
1806
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1807
|
+
margin: "0",
|
|
1808
|
+
},
|
|
1809
|
+
ContinueButton: {
|
|
1810
|
+
width: "100%",
|
|
1811
|
+
maxWidth: "100px",
|
|
1812
|
+
},
|
|
1813
|
+
FooterContainer: {
|
|
1814
|
+
display: "flex",
|
|
1815
|
+
flexDirection: "column",
|
|
1816
|
+
},
|
|
1817
|
+
SkeletonOne: {
|
|
1818
|
+
width: "50%",
|
|
1819
|
+
height: "16px",
|
|
1820
|
+
},
|
|
1821
|
+
SkeletonTwo: {
|
|
1822
|
+
width: "30%",
|
|
1823
|
+
height: "34px",
|
|
1824
|
+
},
|
|
1825
|
+
SkeletonThree: {
|
|
1826
|
+
width: "15%",
|
|
1827
|
+
height: "24px",
|
|
1828
|
+
},
|
|
1829
|
+
};
|
|
1830
|
+
const vanillaStyle$1 = `
|
|
1831
|
+
:host {
|
|
1832
|
+
display: block;
|
|
1833
|
+
}
|
|
1834
|
+
:host([hidden]): {
|
|
1835
|
+
display: none;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
`;
|
|
1840
|
+
const sheet$1 = createStyleSheet(style$1);
|
|
1841
|
+
const styleString$1 = sheet$1.toString();
|
|
1842
|
+
function WidgetCodeVerificationView(props) {
|
|
1843
|
+
const { states, refs, callbacks, text } = props;
|
|
1844
|
+
const resendCodeText = intl.formatMessage({
|
|
1845
|
+
id: "resendCodeText",
|
|
1846
|
+
defaultMessage: text.resendCodeText,
|
|
1847
|
+
}, {
|
|
1848
|
+
resendCodeLink: (h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
|
|
1849
|
+
e.preventDefault();
|
|
1850
|
+
callbacks.resendEmail();
|
|
1851
|
+
} }, text.resendCodeLabel)),
|
|
1852
|
+
});
|
|
1853
|
+
const codeResentSuccessfully = intl.formatMessage({
|
|
1854
|
+
id: "codeResentSuccessfully",
|
|
1855
|
+
defaultMessage: text.codeResentSuccessfullyText,
|
|
1856
|
+
}, {
|
|
1857
|
+
email: states.email,
|
|
1858
|
+
});
|
|
1859
|
+
const inputClass = states.verifyFailed
|
|
1860
|
+
? sheet$1.classes.CodeInputError
|
|
1861
|
+
: sheet$1.classes.CodeInput;
|
|
1862
|
+
return (h("div", { part: "sqm-base" },
|
|
1863
|
+
h("style", { type: "text/css" },
|
|
1864
|
+
vanillaStyle$1,
|
|
1865
|
+
styleString$1),
|
|
1866
|
+
h("div", { class: sheet$1.classes.Wrapper },
|
|
1867
|
+
h("div", { class: sheet$1.classes.HeaderContainer },
|
|
1868
|
+
h(TextSpanView, { type: "p" }, intl.formatMessage({
|
|
1869
|
+
id: `emailHeaderText`,
|
|
1870
|
+
defaultMessage: states.verifyFailed
|
|
1871
|
+
? text.reverifyCodeHeaderText
|
|
1872
|
+
: text.verifyCodeHeaderText,
|
|
1873
|
+
}, { email: states.email }))),
|
|
1874
|
+
states.emailResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
1875
|
+
h("b", null, codeResentSuccessfully))),
|
|
1876
|
+
h("div", { class: sheet$1.classes.InputsContainer },
|
|
1877
|
+
h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
|
|
1878
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1879
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1880
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1881
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1882
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
1883
|
+
h("sl-input", { class: inputClass, name: "code" })),
|
|
1884
|
+
states.verifyFailed && (h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
|
|
1885
|
+
h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
|
|
1886
|
+
h("div", { class: sheet$1.classes.FooterContainer },
|
|
1887
|
+
h(TextSpanView, { type: "p" }, resendCodeText)))));
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
const VerifyEmailWithCodeMutation = dist.gql `
|
|
1891
|
+
mutation submitImpactPublisherEmail2FACode(
|
|
1892
|
+
$user: UserIdInput!
|
|
1893
|
+
$code: String!
|
|
1894
|
+
) {
|
|
1895
|
+
submitImpactPublisherEmail2FACode(user: $user, code: $code) {
|
|
1896
|
+
verifiedEmail
|
|
1897
|
+
accessKey
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
`;
|
|
1901
|
+
function useWidgetCodeVerification(props) {
|
|
1902
|
+
const host = l();
|
|
1903
|
+
const [_, setShowCode] = Mn(SHOW_CODE_NAMESPACE);
|
|
1904
|
+
const email = Dn(VERIFICATION_EMAIL_NAMESPACE);
|
|
1905
|
+
const [emailSent, setEmailSent] = useState(false);
|
|
1906
|
+
const [emailResent, setEmailResent] = useState(false);
|
|
1907
|
+
const [codeRef, setCodeRef] = useState(null);
|
|
1908
|
+
const [validationError, setValidationError] = useState(false);
|
|
1909
|
+
const [emailError, setEmailError] = useState(false);
|
|
1910
|
+
const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail();
|
|
1911
|
+
useEffect(() => {
|
|
1912
|
+
if (!codeRef)
|
|
1913
|
+
return;
|
|
1914
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
1915
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
1916
|
+
codeElements.forEach((element, idx) => {
|
|
1917
|
+
element.addEventListener("focus", (e) => {
|
|
1918
|
+
e.target.select();
|
|
1919
|
+
});
|
|
1920
|
+
element.addEventListener("keydown", (e) => {
|
|
1921
|
+
if (e.key === "Backspace" && e.target.value === "") {
|
|
1922
|
+
codeElements[Math.max(0, idx - 1)].focus();
|
|
1923
|
+
}
|
|
1924
|
+
});
|
|
1925
|
+
element.addEventListener("input", (e) => {
|
|
1926
|
+
const input = e.data;
|
|
1927
|
+
if (!input)
|
|
1928
|
+
return;
|
|
1929
|
+
if (idx === codeElements.length - 1) {
|
|
1930
|
+
e.target.value = input.slice(0, 1);
|
|
1931
|
+
return;
|
|
1932
|
+
}
|
|
1933
|
+
if (input.length > 1) {
|
|
1934
|
+
const rest = input.slice(1);
|
|
1935
|
+
e.target.value = input.slice(0, 1);
|
|
1936
|
+
codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
|
|
1937
|
+
inputType: "insertFromPaste",
|
|
1938
|
+
data: rest,
|
|
1939
|
+
}));
|
|
1940
|
+
}
|
|
1941
|
+
codeElements[idx + 1].focus();
|
|
1942
|
+
});
|
|
1943
|
+
});
|
|
1944
|
+
}, [codeRef]);
|
|
1945
|
+
const reset = () => {
|
|
1946
|
+
setShowCode(false);
|
|
1947
|
+
setValidationError(false);
|
|
1948
|
+
};
|
|
1949
|
+
const resendEmail = async () => {
|
|
1950
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
1951
|
+
if (!initialized)
|
|
1952
|
+
return;
|
|
1953
|
+
const result = await sendEmail();
|
|
1954
|
+
if (!result) {
|
|
1955
|
+
setEmailError(true);
|
|
1956
|
+
return;
|
|
1957
|
+
}
|
|
1958
|
+
if (emailSent)
|
|
1959
|
+
setEmailResent(true);
|
|
1960
|
+
setEmailSent(true);
|
|
1961
|
+
};
|
|
1962
|
+
const submitCode = async () => {
|
|
1963
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
1964
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
1965
|
+
if (codeElements.find((el) => !el.value)) {
|
|
1966
|
+
setValidationError(true);
|
|
1967
|
+
return;
|
|
1968
|
+
}
|
|
1969
|
+
let code = "";
|
|
1970
|
+
codeElements.forEach((element) => {
|
|
1971
|
+
code = `${code}${element.value}`;
|
|
1972
|
+
});
|
|
1973
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
1974
|
+
if (!initialized)
|
|
1975
|
+
return;
|
|
1976
|
+
setValidationError(false);
|
|
1977
|
+
const res = await verifyEmail(code);
|
|
1978
|
+
if (res === null || res === void 0 ? void 0 : res.success) {
|
|
1979
|
+
props.onVerification(res.accessKey);
|
|
1980
|
+
reset();
|
|
1981
|
+
}
|
|
1982
|
+
else {
|
|
1983
|
+
setValidationError(true);
|
|
1984
|
+
}
|
|
1985
|
+
};
|
|
1986
|
+
useEffect(() => {
|
|
1987
|
+
// Wait for mutations to be determined from user lookup
|
|
1988
|
+
if (!initialized)
|
|
1989
|
+
return;
|
|
1990
|
+
// email should already exist if user has completed email-verification
|
|
1991
|
+
if (!email)
|
|
1992
|
+
resendEmail();
|
|
1993
|
+
else
|
|
1994
|
+
setEmailSent(true);
|
|
1995
|
+
}, [initialized]);
|
|
1996
|
+
return {
|
|
1997
|
+
refs: {
|
|
1998
|
+
codeWrapperRef: setCodeRef,
|
|
1999
|
+
},
|
|
2000
|
+
states: {
|
|
2001
|
+
email: verificationEmail,
|
|
2002
|
+
emailResent,
|
|
2003
|
+
resendError: sendErrors || verifyErrors,
|
|
2004
|
+
initialiseLoading: !initialized,
|
|
2005
|
+
loading: sendLoading || verifyLoading,
|
|
2006
|
+
verifyFailed: !!validationError,
|
|
2007
|
+
},
|
|
2008
|
+
callbacks: {
|
|
2009
|
+
resendEmail,
|
|
2010
|
+
submitCode,
|
|
2011
|
+
},
|
|
2012
|
+
text: props.getTextProps(),
|
|
2013
|
+
};
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
const WidgetCodeVerification = class {
|
|
2017
|
+
constructor(hostRef) {
|
|
2018
|
+
registerInstance(this, hostRef);
|
|
2019
|
+
/**
|
|
2020
|
+
* @uiName Verify code widget header text
|
|
2021
|
+
*/
|
|
2022
|
+
this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
2023
|
+
/**
|
|
2024
|
+
* @uiName Reverify code widget header text
|
|
2025
|
+
*/
|
|
2026
|
+
this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
2027
|
+
/**
|
|
2028
|
+
* Text displayed under verify button
|
|
2029
|
+
* @uiName Resend code text
|
|
2030
|
+
*/
|
|
2031
|
+
this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
2032
|
+
/**
|
|
2033
|
+
* The link that appears in the resend code link
|
|
2034
|
+
* @uiName Resend code label
|
|
2035
|
+
*/
|
|
2036
|
+
this.resendCodeLabel = "Resend code";
|
|
2037
|
+
/**
|
|
2038
|
+
* Link text displayed under verify button
|
|
2039
|
+
* @uiName Resend code text
|
|
2040
|
+
*/
|
|
2041
|
+
this.codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
2042
|
+
/**
|
|
2043
|
+
* Error text displayed under verification input
|
|
2044
|
+
* @uiName Invalid code text
|
|
2045
|
+
*/
|
|
2046
|
+
this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
2047
|
+
/**
|
|
2048
|
+
* @uiName Verify code button text
|
|
2049
|
+
*/
|
|
2050
|
+
this.verifyText = "Verify";
|
|
2051
|
+
/**
|
|
2052
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
2053
|
+
* @uiName Network error message
|
|
2054
|
+
*/
|
|
2055
|
+
this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
2056
|
+
h$1(this);
|
|
2057
|
+
}
|
|
2058
|
+
disconnectedCallback() { }
|
|
2059
|
+
getTextProps() {
|
|
2060
|
+
return getProps(this);
|
|
2061
|
+
}
|
|
2062
|
+
render() {
|
|
2063
|
+
const props = isDemo()
|
|
2064
|
+
? useDemoWidgetCodeVerification(this)
|
|
2065
|
+
: useWidgetCodeVerification(this);
|
|
2066
|
+
return h(WidgetCodeVerificationView, Object.assign({}, props));
|
|
2067
|
+
}
|
|
2068
|
+
};
|
|
2069
|
+
function useDemoWidgetCodeVerification(props) {
|
|
2070
|
+
const [emailResent, setEmailResent] = useState(false);
|
|
2071
|
+
const setVerifiedContext = Sn(VERIFICATION_PARENT_NAMESPACE);
|
|
2072
|
+
return cjs({
|
|
2073
|
+
states: {
|
|
2074
|
+
loading: false,
|
|
2075
|
+
email: "test@example.com",
|
|
2076
|
+
emailResent,
|
|
2077
|
+
resendError: true,
|
|
2078
|
+
verifyFailed: true,
|
|
2079
|
+
},
|
|
2080
|
+
refs: {
|
|
2081
|
+
codeWrapperRef: () => { },
|
|
2082
|
+
},
|
|
2083
|
+
callbacks: {
|
|
2084
|
+
resendEmail: async () => setEmailResent(true),
|
|
2085
|
+
submitCode: async () => setVerifiedContext(true),
|
|
2086
|
+
},
|
|
2087
|
+
text: props.getTextProps(),
|
|
2088
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2089
|
+
}
|
|
2090
|
+
|
|
1740
2091
|
const GET_TAX_DOCUMENT = dist.gql `
|
|
1741
2092
|
mutation createImpactPublisherTaxDocument(
|
|
1742
2093
|
$vars: CreateImpactPublisherTaxDocumentInput!
|
|
@@ -1894,7 +2245,7 @@ function getDocumentType(p) {
|
|
|
1894
2245
|
return undefined;
|
|
1895
2246
|
}
|
|
1896
2247
|
|
|
1897
|
-
const style$
|
|
2248
|
+
const style$2 = {
|
|
1898
2249
|
DocusignStatusContainer: {
|
|
1899
2250
|
width: "100%",
|
|
1900
2251
|
minHeight: "600px",
|
|
@@ -1921,13 +2272,13 @@ const style$1 = {
|
|
|
1921
2272
|
},
|
|
1922
2273
|
},
|
|
1923
2274
|
};
|
|
1924
|
-
const sheet$
|
|
1925
|
-
const styleString$
|
|
2275
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
2276
|
+
const styleString$2 = sheet$2.toString();
|
|
1926
2277
|
const DocusignExpiredView = (props) => {
|
|
1927
|
-
const { classes } = sheet$
|
|
2278
|
+
const { classes } = sheet$2;
|
|
1928
2279
|
const { text } = props;
|
|
1929
2280
|
return (h("div", null,
|
|
1930
|
-
h("style", { type: "text/css" }, styleString$
|
|
2281
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1931
2282
|
h("div", { class: classes.DocusignStatusContainer },
|
|
1932
2283
|
h("sl-icon", { style: {
|
|
1933
2284
|
width: "50px",
|
|
@@ -1939,10 +2290,10 @@ const DocusignExpiredView = (props) => {
|
|
|
1939
2290
|
h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
|
|
1940
2291
|
};
|
|
1941
2292
|
const DocusignErrorView = (props) => {
|
|
1942
|
-
const { classes } = sheet$
|
|
2293
|
+
const { classes } = sheet$2;
|
|
1943
2294
|
const { text } = props;
|
|
1944
2295
|
return (h("div", null,
|
|
1945
|
-
h("style", { type: "text/css" }, styleString$
|
|
2296
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1946
2297
|
h("div", { class: classes.DocusignStatusContainer },
|
|
1947
2298
|
h("sl-icon", { style: {
|
|
1948
2299
|
width: "50px",
|
|
@@ -1954,14 +2305,14 @@ const DocusignErrorView = (props) => {
|
|
|
1954
2305
|
h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
|
|
1955
2306
|
};
|
|
1956
2307
|
const DocusignLoadingView = () => {
|
|
1957
|
-
const { classes } = sheet$
|
|
2308
|
+
const { classes } = sheet$2;
|
|
1958
2309
|
return (h("div", null,
|
|
1959
|
-
h("style", { type: "text/css" }, styleString$
|
|
2310
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1960
2311
|
h("div", { class: classes.DocusignStatusContainer },
|
|
1961
2312
|
h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
|
|
1962
2313
|
};
|
|
1963
2314
|
const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
1964
|
-
const { classes } = sheet$
|
|
2315
|
+
const { classes } = sheet$2;
|
|
1965
2316
|
const [iFrameHeight, setiFrameHeight] = useState("100%");
|
|
1966
2317
|
const allowedDomains = [
|
|
1967
2318
|
"referralsaasquatch.com",
|
|
@@ -1994,12 +2345,12 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
|
1994
2345
|
return h(DocusignExpiredView, { text: text });
|
|
1995
2346
|
// Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
|
|
1996
2347
|
return (h("div", { style: { height: iFrameHeight } },
|
|
1997
|
-
h("style", { type: "text/css" }, styleString$
|
|
2348
|
+
h("style", { type: "text/css" }, styleString$2),
|
|
1998
2349
|
h("div", { class: classes.IFrameContainer },
|
|
1999
2350
|
h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
|
|
2000
2351
|
};
|
|
2001
2352
|
|
|
2002
|
-
const style$
|
|
2353
|
+
const style$3 = {
|
|
2003
2354
|
FormWrapper: {
|
|
2004
2355
|
display: "flex",
|
|
2005
2356
|
justifyContent: "flex-start",
|
|
@@ -2112,9 +2463,9 @@ const style$2 = {
|
|
|
2112
2463
|
fontSize: "var(--sl-font-size-medium)",
|
|
2113
2464
|
},
|
|
2114
2465
|
};
|
|
2115
|
-
const sheet$
|
|
2116
|
-
const styleString$
|
|
2117
|
-
const vanillaStyle$
|
|
2466
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
2467
|
+
const styleString$3 = sheet$3.toString();
|
|
2468
|
+
const vanillaStyle$2 = `
|
|
2118
2469
|
:host{
|
|
2119
2470
|
display: block;
|
|
2120
2471
|
}
|
|
@@ -2139,11 +2490,11 @@ const vanillaStyle$1 = `
|
|
|
2139
2490
|
const DocusignFormView = (props) => {
|
|
2140
2491
|
var _a;
|
|
2141
2492
|
const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
|
|
2142
|
-
const { classes } = sheet$
|
|
2493
|
+
const { classes } = sheet$3;
|
|
2143
2494
|
return (h("div", { class: classes.Container },
|
|
2144
2495
|
h("style", { type: "text/css" },
|
|
2145
|
-
styleString$
|
|
2146
|
-
vanillaStyle$
|
|
2496
|
+
styleString$3,
|
|
2497
|
+
vanillaStyle$2),
|
|
2147
2498
|
h("div", { class: classes.TextContainer },
|
|
2148
2499
|
h("div", null,
|
|
2149
2500
|
!states.hideSteps && (h("p", null, intl.formatMessage({
|
|
@@ -2153,7 +2504,7 @@ const DocusignFormView = (props) => {
|
|
|
2153
2504
|
h("h3", null, text.taxForm),
|
|
2154
2505
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
2155
2506
|
states.loadingError && (h("div", null,
|
|
2156
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
2507
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
|
|
2157
2508
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2158
2509
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2159
2510
|
h("br", null),
|
|
@@ -2163,7 +2514,7 @@ const DocusignFormView = (props) => {
|
|
|
2163
2514
|
}, {
|
|
2164
2515
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2165
2516
|
})))),
|
|
2166
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
2517
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.ErrorAlertContainer },
|
|
2167
2518
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2168
2519
|
h("strong", null, text.error.generalTitle),
|
|
2169
2520
|
h("br", null),
|
|
@@ -2383,7 +2734,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
|
|
|
2383
2734
|
} }, h("span", null, "Placeholder for docusign iframe"), h("div", { style: { display: "flex", gap: "8px" } }, h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
|
|
2384
2735
|
};
|
|
2385
2736
|
|
|
2386
|
-
const style$
|
|
2737
|
+
const style$4 = {
|
|
2387
2738
|
FormWrapper: {
|
|
2388
2739
|
display: "flex",
|
|
2389
2740
|
justifyContent: "flex-start",
|
|
@@ -2489,9 +2840,9 @@ const style$3 = {
|
|
|
2489
2840
|
marginBottom: "var(--sl-spacing-small)",
|
|
2490
2841
|
},
|
|
2491
2842
|
};
|
|
2492
|
-
const sheet$
|
|
2493
|
-
const styleString$
|
|
2494
|
-
const vanillaStyle$
|
|
2843
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
2844
|
+
const styleString$4 = sheet$4.toString();
|
|
2845
|
+
const vanillaStyle$3 = `
|
|
2495
2846
|
:host{
|
|
2496
2847
|
display: block;
|
|
2497
2848
|
}
|
|
@@ -2510,11 +2861,11 @@ const vanillaStyle$2 = `
|
|
|
2510
2861
|
const IndirectTaxFormView = (props) => {
|
|
2511
2862
|
var _a;
|
|
2512
2863
|
const { states, states: { formState }, callbacks, text, refs, slots, } = props;
|
|
2513
|
-
const { classes } = sheet$
|
|
2864
|
+
const { classes } = sheet$4;
|
|
2514
2865
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2515
2866
|
h("style", { type: "text/css" },
|
|
2516
|
-
styleString$
|
|
2517
|
-
vanillaStyle$
|
|
2867
|
+
styleString$4,
|
|
2868
|
+
vanillaStyle$3),
|
|
2518
2869
|
h("div", { class: classes.TextContainer },
|
|
2519
2870
|
h("div", null,
|
|
2520
2871
|
!states.hideSteps && (h("p", null,
|
|
@@ -2527,7 +2878,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2527
2878
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
|
|
2528
2879
|
h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
|
|
2529
2880
|
states.loadingError && (h("div", null,
|
|
2530
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
2881
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
|
|
2531
2882
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2532
2883
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2533
2884
|
h("br", null),
|
|
@@ -2537,7 +2888,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2537
2888
|
}, {
|
|
2538
2889
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2539
2890
|
})))),
|
|
2540
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
2891
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$4.classes.AlertContainer },
|
|
2541
2892
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2542
2893
|
h("strong", null, text.error.generalTitle),
|
|
2543
2894
|
h("br", null),
|
|
@@ -2547,7 +2898,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2547
2898
|
}, {
|
|
2548
2899
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2549
2900
|
}))),
|
|
2550
|
-
states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$
|
|
2901
|
+
states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
2551
2902
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
2552
2903
|
h("strong", null, text.isPartnerAlertHeader),
|
|
2553
2904
|
h("br", null),
|
|
@@ -3522,7 +3873,7 @@ const PayPalIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width:
|
|
|
3522
3873
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
|
|
3523
3874
|
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
|
|
3524
3875
|
|
|
3525
|
-
const style$
|
|
3876
|
+
const style$5 = {
|
|
3526
3877
|
CardContainer: {
|
|
3527
3878
|
display: "grid",
|
|
3528
3879
|
gridTemplateColumns: "1fr",
|
|
@@ -3656,7 +4007,7 @@ const style$4 = {
|
|
|
3656
4007
|
},
|
|
3657
4008
|
};
|
|
3658
4009
|
function PayoutDetailsCardView(props) {
|
|
3659
|
-
const sheet = createStyleSheet(style$
|
|
4010
|
+
const sheet = createStyleSheet(style$5);
|
|
3660
4011
|
const styleString = sheet.toString();
|
|
3661
4012
|
const { classes } = sheet;
|
|
3662
4013
|
const { states, text } = props;
|
|
@@ -4969,7 +5320,7 @@ function useDemoTaxAndCash(props) {
|
|
|
4969
5320
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4970
5321
|
}
|
|
4971
5322
|
|
|
4972
|
-
const style$
|
|
5323
|
+
const style$6 = {
|
|
4973
5324
|
ErrorAlertContainer: {
|
|
4974
5325
|
"&::part(base)": {
|
|
4975
5326
|
backgroundColor: "var(--sl-color-red-100)",
|
|
@@ -5160,8 +5511,8 @@ const style$5 = {
|
|
|
5160
5511
|
},
|
|
5161
5512
|
DialogButton: { margin: "auto", width: "100%" },
|
|
5162
5513
|
};
|
|
5163
|
-
const sheet$
|
|
5164
|
-
const styleString$
|
|
5514
|
+
const sheet$5 = createStyleSheet(style$6);
|
|
5515
|
+
const styleString$5 = sheet$5.toString();
|
|
5165
5516
|
const TaxAndCashDashboardView = (props) => {
|
|
5166
5517
|
var _a, _b, _c, _d;
|
|
5167
5518
|
const { states, text, callbacks, slots } = props;
|
|
@@ -5179,7 +5530,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5179
5530
|
buttonText: text.verificationRequiredButtonText,
|
|
5180
5531
|
alertType: "warning",
|
|
5181
5532
|
icon: "exclamation-triangle",
|
|
5182
|
-
class: sheet$
|
|
5533
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5183
5534
|
};
|
|
5184
5535
|
case "VERIFICATION:INTERNAL":
|
|
5185
5536
|
return {
|
|
@@ -5192,7 +5543,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5192
5543
|
}),
|
|
5193
5544
|
alertType: "warning",
|
|
5194
5545
|
icon: "exclamation-triangle",
|
|
5195
|
-
class: sheet$
|
|
5546
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5196
5547
|
};
|
|
5197
5548
|
case "VERIFICATION:REVIEW":
|
|
5198
5549
|
return {
|
|
@@ -5205,7 +5556,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5205
5556
|
}),
|
|
5206
5557
|
alertType: "warning",
|
|
5207
5558
|
icon: "exclamation-triangle",
|
|
5208
|
-
class: sheet$
|
|
5559
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5209
5560
|
};
|
|
5210
5561
|
case "VERIFICATION:FAILED":
|
|
5211
5562
|
return {
|
|
@@ -5218,7 +5569,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5218
5569
|
}),
|
|
5219
5570
|
alertType: "critical",
|
|
5220
5571
|
icon: "exclamation-octagon",
|
|
5221
|
-
class: sheet$
|
|
5572
|
+
class: sheet$5.classes.ErrorHoldAlertContainer,
|
|
5222
5573
|
};
|
|
5223
5574
|
case "HOLD":
|
|
5224
5575
|
return {
|
|
@@ -5232,14 +5583,14 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5232
5583
|
buttonText: null,
|
|
5233
5584
|
alertType: "warning",
|
|
5234
5585
|
icon: "exclamation-triangle",
|
|
5235
|
-
class: sheet$
|
|
5586
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5236
5587
|
};
|
|
5237
5588
|
default:
|
|
5238
5589
|
return;
|
|
5239
5590
|
}
|
|
5240
5591
|
}
|
|
5241
5592
|
const statusMap = {
|
|
5242
|
-
NOT_VERIFIED: (h("div", { class: sheet$
|
|
5593
|
+
NOT_VERIFIED: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5243
5594
|
h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
|
|
5244
5595
|
h("p", null, intl.formatMessage({
|
|
5245
5596
|
id: `badgeTextAwaitingReview`,
|
|
@@ -5247,7 +5598,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5247
5598
|
}, {
|
|
5248
5599
|
dateSubmitted: states.dateSubmitted,
|
|
5249
5600
|
})))),
|
|
5250
|
-
ACTIVE: (h("div", { class: sheet$
|
|
5601
|
+
ACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5251
5602
|
h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
|
|
5252
5603
|
h("p", null, intl.formatMessage({
|
|
5253
5604
|
id: `badgeTextSubmittedOn`,
|
|
@@ -5257,12 +5608,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5257
5608
|
}, {
|
|
5258
5609
|
dateSubmitted: states.dateSubmitted,
|
|
5259
5610
|
})))),
|
|
5260
|
-
INACTIVE: (h("div", { class: sheet$
|
|
5611
|
+
INACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5261
5612
|
h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
|
|
5262
5613
|
h("p", null, text.invalidForm))),
|
|
5263
5614
|
};
|
|
5264
5615
|
const alertMap = {
|
|
5265
|
-
INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5616
|
+
INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
5266
5617
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5267
5618
|
h("strong", null, intl.formatMessage({
|
|
5268
5619
|
id: `taxAlertHeaderNotActive`,
|
|
@@ -5312,9 +5663,9 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5312
5663
|
};
|
|
5313
5664
|
return (h("div", null,
|
|
5314
5665
|
h("div", null,
|
|
5315
|
-
h("style", { type: "text/css" }, styleString$
|
|
5666
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
5316
5667
|
states.loadingError && (h("div", null,
|
|
5317
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5668
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
5318
5669
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5319
5670
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
5320
5671
|
h("br", null),
|
|
@@ -5324,7 +5675,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5324
5675
|
}, {
|
|
5325
5676
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5326
5677
|
})))),
|
|
5327
|
-
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5678
|
+
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
5328
5679
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5329
5680
|
h("strong", null, text.error.generalTitle),
|
|
5330
5681
|
h("br", null),
|
|
@@ -5339,49 +5690,49 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5339
5690
|
h("strong", null, getAlert(states.payoutStatus).header),
|
|
5340
5691
|
h("p", { style: { margin: "0" } }, getAlert(states.payoutStatus).description),
|
|
5341
5692
|
getAlert(states.payoutStatus).buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, getAlert(states.payoutStatus).buttonText)))),
|
|
5342
|
-
h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$
|
|
5693
|
+
h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
|
|
5343
5694
|
h("p", null, text.replaceTaxFormModalBodyText),
|
|
5344
|
-
h("sl-button", { slot: "footer", type: "primary", class: sheet$
|
|
5345
|
-
h("sl-button", { slot: "footer", type: "default", class: sheet$
|
|
5695
|
+
h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
|
|
5696
|
+
h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
|
|
5346
5697
|
states.status === "INACTIVE" && alertMap[states.status],
|
|
5347
5698
|
h("div", null,
|
|
5348
5699
|
h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
|
|
5349
|
-
h("p", { class: sheet$
|
|
5350
|
-
h("div", { class: sheet$
|
|
5700
|
+
h("p", { class: sheet$5.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
|
|
5701
|
+
h("div", { class: sheet$5.classes.BankingInformationContainer },
|
|
5351
5702
|
slots.payoutDetailsCardSlot,
|
|
5352
|
-
!states.loading && (h("p", { class: sheet$
|
|
5353
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$
|
|
5354
|
-
h("div", { class: sheet$
|
|
5355
|
-
h("div", null, states.loading ? (h("div", { class: sheet$
|
|
5356
|
-
h("sl-skeleton", { class: sheet$
|
|
5357
|
-
h("sl-skeleton", { class: sheet$
|
|
5358
|
-
h("h3", { class: sheet$
|
|
5359
|
-
h("p", { class: sheet$
|
|
5360
|
-
h("span", { class: sheet$
|
|
5361
|
-
h("div", { class: sheet$
|
|
5703
|
+
!states.loading && (h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
|
|
5704
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
5705
|
+
h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
5706
|
+
h("div", null, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
5707
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
5708
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null, states.noFormNeeded ? (h("div", null,
|
|
5709
|
+
h("h3", { class: sheet$5.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
|
|
5710
|
+
h("p", { class: sheet$5.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (h("div", null,
|
|
5711
|
+
h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5712
|
+
h("div", { class: sheet$5.classes.StatusContainer },
|
|
5362
5713
|
h("h3", null, intl.formatMessage({
|
|
5363
5714
|
id: "section-subheader",
|
|
5364
5715
|
defaultMessage: text.taxDocumentSectionSubHeader,
|
|
5365
5716
|
}, {
|
|
5366
5717
|
documentType: states.documentTypeString,
|
|
5367
5718
|
})),
|
|
5368
|
-
h("span", { class: sheet$
|
|
5369
|
-
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$
|
|
5370
|
-
h("div", { class: sheet$
|
|
5371
|
-
h("sl-skeleton", { class: sheet$
|
|
5372
|
-
h("sl-skeleton", { class: sheet$
|
|
5373
|
-
h("h3", { class: sheet$
|
|
5719
|
+
h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
|
|
5720
|
+
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
5721
|
+
h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
5722
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
5723
|
+
h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
|
|
5724
|
+
h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
|
|
5374
5725
|
text.indirectTaxInfoSectionHeader,
|
|
5375
|
-
h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$
|
|
5376
|
-
h("sl-icon", { name: "info-circle", class: sheet$
|
|
5377
|
-
h("div", { class: sheet$
|
|
5378
|
-
h("span", null, states.notRegistered ? (h("span", { class: sheet$
|
|
5726
|
+
h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
|
|
5727
|
+
h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
|
|
5728
|
+
h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
|
|
5729
|
+
h("span", null, states.notRegistered ? (h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
|
|
5379
5730
|
id: "notRegisteredForTax",
|
|
5380
5731
|
defaultMessage: text.notRegisteredForTax,
|
|
5381
5732
|
}, {
|
|
5382
5733
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5383
5734
|
}))) : (getIndirectTaxRegisteredIn())),
|
|
5384
|
-
!states.notRegistered && (h("div", { class: sheet$
|
|
5735
|
+
!states.notRegistered && (h("div", { class: sheet$5.classes.TaxNumberContainer },
|
|
5385
5736
|
h("span", null, intl.formatMessage({
|
|
5386
5737
|
id: `indirectTaxDetails`,
|
|
5387
5738
|
defaultMessage: text.indirectTaxDetails,
|
|
@@ -5404,7 +5755,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5404
5755
|
}, {
|
|
5405
5756
|
subRegionTaxNumber: states.subRegionTaxNumber,
|
|
5406
5757
|
})))),
|
|
5407
|
-
!states.notRegistered && (h("div", { class: sheet$
|
|
5758
|
+
!states.notRegistered && (h("div", { class: sheet$5.classes.InvoiceTableContainer },
|
|
5408
5759
|
h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
|
|
5409
5760
|
h("sqm-invoice-table-download-column", null),
|
|
5410
5761
|
h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
|
|
@@ -6860,7 +7211,7 @@ const PHONE_EXTENSIONS = {
|
|
|
6860
7211
|
},
|
|
6861
7212
|
};
|
|
6862
7213
|
|
|
6863
|
-
const style$
|
|
7214
|
+
const style$7 = {
|
|
6864
7215
|
FormWrapper: {},
|
|
6865
7216
|
ErrorInput: {
|
|
6866
7217
|
"&::part(base)": {
|
|
@@ -6958,9 +7309,9 @@ const style$6 = {
|
|
|
6958
7309
|
},
|
|
6959
7310
|
},
|
|
6960
7311
|
};
|
|
6961
|
-
const sheet$
|
|
6962
|
-
const styleString$
|
|
6963
|
-
const vanillaStyle$
|
|
7312
|
+
const sheet$6 = createStyleSheet(style$7);
|
|
7313
|
+
const styleString$6 = sheet$6.toString();
|
|
7314
|
+
const vanillaStyle$4 = `
|
|
6964
7315
|
:host{
|
|
6965
7316
|
display: block;
|
|
6966
7317
|
}
|
|
@@ -6988,7 +7339,7 @@ const vanillaStyle$3 = `
|
|
|
6988
7339
|
const UserInfoFormView = (props) => {
|
|
6989
7340
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
6990
7341
|
const { states, states: { formState }, callbacks, text, refs, data, } = props;
|
|
6991
|
-
const { classes } = sheet$
|
|
7342
|
+
const { classes } = sheet$6;
|
|
6992
7343
|
const bankingCollectionText = intl.formatMessage({
|
|
6993
7344
|
id: "bankingCollectionText",
|
|
6994
7345
|
defaultMessage: text.allowBankingCollection,
|
|
@@ -7011,10 +7362,10 @@ const UserInfoFormView = (props) => {
|
|
|
7011
7362
|
}
|
|
7012
7363
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
7013
7364
|
h("style", { type: "text/css" },
|
|
7014
|
-
styleString$
|
|
7015
|
-
vanillaStyle$
|
|
7365
|
+
styleString$6,
|
|
7366
|
+
vanillaStyle$4),
|
|
7016
7367
|
states.loadingError && (h("div", null,
|
|
7017
|
-
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
7368
|
+
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
|
|
7018
7369
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
7019
7370
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
7020
7371
|
h("br", null),
|
|
@@ -7034,7 +7385,7 @@ const UserInfoFormView = (props) => {
|
|
|
7034
7385
|
}, { step: states.step, count: FORM_STEPS }))),
|
|
7035
7386
|
h("h3", null, text.personalInformation),
|
|
7036
7387
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
7037
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
7388
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$6.classes.AlertContainer },
|
|
7038
7389
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
7039
7390
|
h("strong", null, text.error.generalTitle),
|
|
7040
7391
|
h("br", null),
|
|
@@ -7044,7 +7395,7 @@ const UserInfoFormView = (props) => {
|
|
|
7044
7395
|
}, {
|
|
7045
7396
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
7046
7397
|
}))),
|
|
7047
|
-
(states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$
|
|
7398
|
+
(states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
7048
7399
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
7049
7400
|
h("strong", null, text.isPartnerAlertHeader),
|
|
7050
7401
|
h("br", null),
|
|
@@ -7589,4 +7940,4 @@ function useDemoUserInfoForm(props) {
|
|
|
7589
7940
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7590
7941
|
}
|
|
7591
7942
|
|
|
7592
|
-
export { BankingInfoForm as sqm_banking_info_form, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataCell as sqm_invoice_table_data_cell, InvoiceTableDataColumn as sqm_invoice_table_data_column, RewardTableDateCell as sqm_invoice_table_date_cell, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableDownloadCell as sqm_invoice_table_download_cell, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaxAndCashMonolith as sqm_tax_and_cash, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };
|
|
7943
|
+
export { BankingInfoForm as sqm_banking_info_form, WidgetCodeVerification as sqm_code_verification, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataCell as sqm_invoice_table_data_cell, InvoiceTableDataColumn as sqm_invoice_table_data_column, RewardTableDateCell as sqm_invoice_table_date_cell, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableDownloadCell as sqm_invoice_table_download_cell, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaxAndCashMonolith as sqm_tax_and_cash, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };
|