@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
package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js}
RENAMED
|
@@ -8,7 +8,7 @@ const global = require('./global-c3637175.js');
|
|
|
8
8
|
const index_module = require('./index.module-b8d9d0ba.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
|
-
require('./mixins-fe9d4112.js');
|
|
11
|
+
const mixins = require('./mixins-fe9d4112.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
14
14
|
const reRender = require('./re-render-5bde3d2e.js');
|
|
@@ -16,10 +16,12 @@ const useChildElements = require('./useChildElements-410d2435.js');
|
|
|
16
16
|
const luxon = require('./luxon-05098e19.js');
|
|
17
17
|
const useReferralTable = require('./useReferralTable-824ac152.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
|
-
const
|
|
19
|
+
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
20
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-4fcf021f.js');
|
|
20
21
|
const keys = require('./keys-cff24974.js');
|
|
21
|
-
const usePayoutStatus = require('./usePayoutStatus-8f924372.js');
|
|
22
22
|
const extractProps = require('./extractProps-fd93ba62.js');
|
|
23
|
+
const usePayoutStatus = require('./usePayoutStatus-8f924372.js');
|
|
24
|
+
const useVerificationEmail = require('./useVerificationEmail-2eb28c2a.js');
|
|
23
25
|
|
|
24
26
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
25
27
|
const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
|
|
@@ -994,7 +996,7 @@ function parseImpactThreshold(threshold) {
|
|
|
994
996
|
return parsed.toString();
|
|
995
997
|
}
|
|
996
998
|
function useBankingInfoForm(props) {
|
|
997
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
999
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
998
1000
|
const host = index_module.T();
|
|
999
1001
|
const locale = index_module.Q();
|
|
1000
1002
|
const user = index_module.K();
|
|
@@ -1268,6 +1270,7 @@ function useBankingInfoForm(props) {
|
|
|
1268
1270
|
hasPayPal,
|
|
1269
1271
|
bankCountry: formState.bankCountry,
|
|
1270
1272
|
countrySearch,
|
|
1273
|
+
email: (_j = userData === null || userData === void 0 ? void 0 : userData.user) === null || _j === void 0 ? void 0 : _j.email,
|
|
1271
1274
|
},
|
|
1272
1275
|
refs: {
|
|
1273
1276
|
formRef,
|
|
@@ -1475,6 +1478,15 @@ const BankingInfoForm = class {
|
|
|
1475
1478
|
* @uiWidget textArea
|
|
1476
1479
|
*/
|
|
1477
1480
|
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.";
|
|
1481
|
+
/**
|
|
1482
|
+
* Text for verify email dialog
|
|
1483
|
+
* @uiName Verify email header
|
|
1484
|
+
*/
|
|
1485
|
+
this.verifyEmailHeaderText = "Verify your email";
|
|
1486
|
+
/**
|
|
1487
|
+
* @uiName Verify code widget header text
|
|
1488
|
+
*/
|
|
1489
|
+
this.verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
|
|
1478
1490
|
/**
|
|
1479
1491
|
* Part of the alert displayed at the top of the page.
|
|
1480
1492
|
* @uiName Form submission error message title
|
|
@@ -1575,14 +1587,21 @@ const BankingInfoForm = class {
|
|
|
1575
1587
|
});
|
|
1576
1588
|
const style = {
|
|
1577
1589
|
Dialog: {
|
|
1590
|
+
position: "relative",
|
|
1578
1591
|
"&::part(panel)": {
|
|
1579
1592
|
maxWidth: "420px",
|
|
1580
1593
|
},
|
|
1594
|
+
"&::part(title)": {
|
|
1595
|
+
padding: "var(--sl-spacing-large) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
|
|
1596
|
+
},
|
|
1597
|
+
"&::part(base)": {
|
|
1598
|
+
position: "absolute",
|
|
1599
|
+
},
|
|
1581
1600
|
"&::part(close-button)": {
|
|
1582
|
-
marginBottom: "var(--sl-spacing-
|
|
1601
|
+
marginBottom: "var(--sl-spacing-large)",
|
|
1583
1602
|
},
|
|
1584
1603
|
"&::part(body)": {
|
|
1585
|
-
padding: "0 var(--sl-spacing-
|
|
1604
|
+
padding: "0 var(--sl-spacing-large) 0 var(--sl-spacing-large)",
|
|
1586
1605
|
fontSize: "var(--sl-font-size-small)",
|
|
1587
1606
|
},
|
|
1588
1607
|
"&::part(footer)": {
|
|
@@ -1599,7 +1618,14 @@ const BankingInfoForm = class {
|
|
|
1599
1618
|
},
|
|
1600
1619
|
};
|
|
1601
1620
|
const sheet = JSS.createStyleSheet(style);
|
|
1602
|
-
|
|
1621
|
+
const styleString = sheet.toString();
|
|
1622
|
+
const verifyDescription = global.intl.formatMessage({
|
|
1623
|
+
id: "codeResentSuccessfully",
|
|
1624
|
+
defaultMessage: props.text.verifyEmailDescriptionText,
|
|
1625
|
+
}, {
|
|
1626
|
+
email: props.states.email,
|
|
1627
|
+
});
|
|
1628
|
+
return (index.h(index.Host, null, index.h("style", { type: "text/css" }, styleString), props.states.isPartner && props.states.showVerification ? (index.h("sl-dialog", { class: sheet.classes.Dialog, open: true, "onSl-hide": props.callbacks.onVerificationHide, label: props.text.verifyEmailHeaderText }, index.h("sqm-code-verification", { verifyCodeHeaderText: verifyDescription, reverifyCodeHeaderText: verifyDescription, onVerification: props.callbacks.onVerification }))) : null, index.h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
|
|
1603
1629
|
formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
|
|
1604
1630
|
countryInputSlot: (index.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) && {
|
|
1605
1631
|
class: "error-input",
|
|
@@ -1741,6 +1767,331 @@ function useDemoBankingInfoForm(props) {
|
|
|
1741
1767
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1742
1768
|
}
|
|
1743
1769
|
|
|
1770
|
+
const style$1 = {
|
|
1771
|
+
Wrapper: {
|
|
1772
|
+
display: "flex",
|
|
1773
|
+
flexDirection: "column",
|
|
1774
|
+
gap: "var(--sl-spacing-medium)",
|
|
1775
|
+
maxWidth: "550px",
|
|
1776
|
+
},
|
|
1777
|
+
HeaderContainer: {
|
|
1778
|
+
display: "flex",
|
|
1779
|
+
flexDirection: "column",
|
|
1780
|
+
},
|
|
1781
|
+
InputsContainer: {
|
|
1782
|
+
display: "flex",
|
|
1783
|
+
gap: "var(--sl-spacing-medium)",
|
|
1784
|
+
position: "relative",
|
|
1785
|
+
flexDirection: "column",
|
|
1786
|
+
},
|
|
1787
|
+
CodeInputContainer: {
|
|
1788
|
+
display: "flex",
|
|
1789
|
+
gap: "var(--sl-spacing-medium)",
|
|
1790
|
+
},
|
|
1791
|
+
CodeInput: {
|
|
1792
|
+
maxWidth: "40px",
|
|
1793
|
+
"&::part(input)": {
|
|
1794
|
+
margin: "0",
|
|
1795
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
1796
|
+
fontSize: "var(--sl-font-size-large)",
|
|
1797
|
+
},
|
|
1798
|
+
},
|
|
1799
|
+
CodeInputError: {
|
|
1800
|
+
...mixins.ErrorStyles,
|
|
1801
|
+
maxWidth: "40px",
|
|
1802
|
+
"&::part(input)": {
|
|
1803
|
+
margin: "0",
|
|
1804
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
1805
|
+
fontSize: "var(--sl-font-size-large)",
|
|
1806
|
+
},
|
|
1807
|
+
},
|
|
1808
|
+
ErrorText: {
|
|
1809
|
+
color: "var(--sl-color-danger-500)",
|
|
1810
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1811
|
+
margin: "0",
|
|
1812
|
+
},
|
|
1813
|
+
ContinueButton: {
|
|
1814
|
+
width: "100%",
|
|
1815
|
+
maxWidth: "100px",
|
|
1816
|
+
},
|
|
1817
|
+
FooterContainer: {
|
|
1818
|
+
display: "flex",
|
|
1819
|
+
flexDirection: "column",
|
|
1820
|
+
},
|
|
1821
|
+
SkeletonOne: {
|
|
1822
|
+
width: "50%",
|
|
1823
|
+
height: "16px",
|
|
1824
|
+
},
|
|
1825
|
+
SkeletonTwo: {
|
|
1826
|
+
width: "30%",
|
|
1827
|
+
height: "34px",
|
|
1828
|
+
},
|
|
1829
|
+
SkeletonThree: {
|
|
1830
|
+
width: "15%",
|
|
1831
|
+
height: "24px",
|
|
1832
|
+
},
|
|
1833
|
+
};
|
|
1834
|
+
const vanillaStyle$1 = `
|
|
1835
|
+
:host {
|
|
1836
|
+
display: block;
|
|
1837
|
+
}
|
|
1838
|
+
:host([hidden]): {
|
|
1839
|
+
display: none;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
`;
|
|
1844
|
+
const sheet$1 = JSS.createStyleSheet(style$1);
|
|
1845
|
+
const styleString$1 = sheet$1.toString();
|
|
1846
|
+
function WidgetCodeVerificationView(props) {
|
|
1847
|
+
const { states, refs, callbacks, text } = props;
|
|
1848
|
+
const resendCodeText = global.intl.formatMessage({
|
|
1849
|
+
id: "resendCodeText",
|
|
1850
|
+
defaultMessage: text.resendCodeText,
|
|
1851
|
+
}, {
|
|
1852
|
+
resendCodeLink: (index.h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
|
|
1853
|
+
e.preventDefault();
|
|
1854
|
+
callbacks.resendEmail();
|
|
1855
|
+
} }, text.resendCodeLabel)),
|
|
1856
|
+
});
|
|
1857
|
+
const codeResentSuccessfully = global.intl.formatMessage({
|
|
1858
|
+
id: "codeResentSuccessfully",
|
|
1859
|
+
defaultMessage: text.codeResentSuccessfullyText,
|
|
1860
|
+
}, {
|
|
1861
|
+
email: states.email,
|
|
1862
|
+
});
|
|
1863
|
+
const inputClass = states.verifyFailed
|
|
1864
|
+
? sheet$1.classes.CodeInputError
|
|
1865
|
+
: sheet$1.classes.CodeInput;
|
|
1866
|
+
return (index.h("div", { part: "sqm-base" },
|
|
1867
|
+
index.h("style", { type: "text/css" },
|
|
1868
|
+
vanillaStyle$1,
|
|
1869
|
+
styleString$1),
|
|
1870
|
+
index.h("div", { class: sheet$1.classes.Wrapper },
|
|
1871
|
+
index.h("div", { class: sheet$1.classes.HeaderContainer },
|
|
1872
|
+
index.h(sqmTextSpanView.TextSpanView, { type: "p" }, global.intl.formatMessage({
|
|
1873
|
+
id: `emailHeaderText`,
|
|
1874
|
+
defaultMessage: states.verifyFailed
|
|
1875
|
+
? text.reverifyCodeHeaderText
|
|
1876
|
+
: text.verifyCodeHeaderText,
|
|
1877
|
+
}, { email: states.email }))),
|
|
1878
|
+
states.emailResent && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
1879
|
+
index.h("b", null, codeResentSuccessfully))),
|
|
1880
|
+
index.h("div", { class: sheet$1.classes.InputsContainer },
|
|
1881
|
+
index.h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
|
|
1882
|
+
index.h("sl-input", { class: inputClass, name: "code" }),
|
|
1883
|
+
index.h("sl-input", { class: inputClass, name: "code" }),
|
|
1884
|
+
index.h("sl-input", { class: inputClass, name: "code" }),
|
|
1885
|
+
index.h("sl-input", { class: inputClass, name: "code" }),
|
|
1886
|
+
index.h("sl-input", { class: inputClass, name: "code" }),
|
|
1887
|
+
index.h("sl-input", { class: inputClass, name: "code" })),
|
|
1888
|
+
states.verifyFailed && (index.h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
|
|
1889
|
+
index.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)),
|
|
1890
|
+
index.h("div", { class: sheet$1.classes.FooterContainer },
|
|
1891
|
+
index.h(sqmTextSpanView.TextSpanView, { type: "p" }, resendCodeText)))));
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
const VerifyEmailWithCodeMutation = index_module.dist.gql `
|
|
1895
|
+
mutation submitImpactPublisherEmail2FACode(
|
|
1896
|
+
$user: UserIdInput!
|
|
1897
|
+
$code: String!
|
|
1898
|
+
) {
|
|
1899
|
+
submitImpactPublisherEmail2FACode(user: $user, code: $code) {
|
|
1900
|
+
verifiedEmail
|
|
1901
|
+
accessKey
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
`;
|
|
1905
|
+
function useWidgetCodeVerification(props) {
|
|
1906
|
+
const host = stencilHooks_module.l();
|
|
1907
|
+
const [_, setShowCode] = index_module.Mn(keys.SHOW_CODE_NAMESPACE);
|
|
1908
|
+
const email = index_module.Dn(keys.VERIFICATION_EMAIL_NAMESPACE);
|
|
1909
|
+
const [emailSent, setEmailSent] = stencilHooks_module.useState(false);
|
|
1910
|
+
const [emailResent, setEmailResent] = stencilHooks_module.useState(false);
|
|
1911
|
+
const [codeRef, setCodeRef] = stencilHooks_module.useState(null);
|
|
1912
|
+
const [validationError, setValidationError] = stencilHooks_module.useState(false);
|
|
1913
|
+
const [emailError, setEmailError] = stencilHooks_module.useState(false);
|
|
1914
|
+
const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail.useVerificationEmail();
|
|
1915
|
+
stencilHooks_module.useEffect(() => {
|
|
1916
|
+
if (!codeRef)
|
|
1917
|
+
return;
|
|
1918
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
1919
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
1920
|
+
codeElements.forEach((element, idx) => {
|
|
1921
|
+
element.addEventListener("focus", (e) => {
|
|
1922
|
+
e.target.select();
|
|
1923
|
+
});
|
|
1924
|
+
element.addEventListener("keydown", (e) => {
|
|
1925
|
+
if (e.key === "Backspace" && e.target.value === "") {
|
|
1926
|
+
codeElements[Math.max(0, idx - 1)].focus();
|
|
1927
|
+
}
|
|
1928
|
+
});
|
|
1929
|
+
element.addEventListener("input", (e) => {
|
|
1930
|
+
const input = e.data;
|
|
1931
|
+
if (!input)
|
|
1932
|
+
return;
|
|
1933
|
+
if (idx === codeElements.length - 1) {
|
|
1934
|
+
e.target.value = input.slice(0, 1);
|
|
1935
|
+
return;
|
|
1936
|
+
}
|
|
1937
|
+
if (input.length > 1) {
|
|
1938
|
+
const rest = input.slice(1);
|
|
1939
|
+
e.target.value = input.slice(0, 1);
|
|
1940
|
+
codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
|
|
1941
|
+
inputType: "insertFromPaste",
|
|
1942
|
+
data: rest,
|
|
1943
|
+
}));
|
|
1944
|
+
}
|
|
1945
|
+
codeElements[idx + 1].focus();
|
|
1946
|
+
});
|
|
1947
|
+
});
|
|
1948
|
+
}, [codeRef]);
|
|
1949
|
+
const reset = () => {
|
|
1950
|
+
setShowCode(false);
|
|
1951
|
+
setValidationError(false);
|
|
1952
|
+
};
|
|
1953
|
+
const resendEmail = async () => {
|
|
1954
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
1955
|
+
if (!initialized)
|
|
1956
|
+
return;
|
|
1957
|
+
const result = await sendEmail();
|
|
1958
|
+
if (!result) {
|
|
1959
|
+
setEmailError(true);
|
|
1960
|
+
return;
|
|
1961
|
+
}
|
|
1962
|
+
if (emailSent)
|
|
1963
|
+
setEmailResent(true);
|
|
1964
|
+
setEmailSent(true);
|
|
1965
|
+
};
|
|
1966
|
+
const submitCode = async () => {
|
|
1967
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
1968
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
1969
|
+
if (codeElements.find((el) => !el.value)) {
|
|
1970
|
+
setValidationError(true);
|
|
1971
|
+
return;
|
|
1972
|
+
}
|
|
1973
|
+
let code = "";
|
|
1974
|
+
codeElements.forEach((element) => {
|
|
1975
|
+
code = `${code}${element.value}`;
|
|
1976
|
+
});
|
|
1977
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
1978
|
+
if (!initialized)
|
|
1979
|
+
return;
|
|
1980
|
+
setValidationError(false);
|
|
1981
|
+
const res = await verifyEmail(code);
|
|
1982
|
+
if (res === null || res === void 0 ? void 0 : res.success) {
|
|
1983
|
+
props.onVerification(res.accessKey);
|
|
1984
|
+
reset();
|
|
1985
|
+
}
|
|
1986
|
+
else {
|
|
1987
|
+
setValidationError(true);
|
|
1988
|
+
}
|
|
1989
|
+
};
|
|
1990
|
+
stencilHooks_module.useEffect(() => {
|
|
1991
|
+
// Wait for mutations to be determined from user lookup
|
|
1992
|
+
if (!initialized)
|
|
1993
|
+
return;
|
|
1994
|
+
// email should already exist if user has completed email-verification
|
|
1995
|
+
if (!email)
|
|
1996
|
+
resendEmail();
|
|
1997
|
+
else
|
|
1998
|
+
setEmailSent(true);
|
|
1999
|
+
}, [initialized]);
|
|
2000
|
+
return {
|
|
2001
|
+
refs: {
|
|
2002
|
+
codeWrapperRef: setCodeRef,
|
|
2003
|
+
},
|
|
2004
|
+
states: {
|
|
2005
|
+
email: verificationEmail,
|
|
2006
|
+
emailResent,
|
|
2007
|
+
resendError: sendErrors || verifyErrors,
|
|
2008
|
+
initialiseLoading: !initialized,
|
|
2009
|
+
loading: sendLoading || verifyLoading,
|
|
2010
|
+
verifyFailed: !!validationError,
|
|
2011
|
+
},
|
|
2012
|
+
callbacks: {
|
|
2013
|
+
resendEmail,
|
|
2014
|
+
submitCode,
|
|
2015
|
+
},
|
|
2016
|
+
text: props.getTextProps(),
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
const WidgetCodeVerification = class {
|
|
2021
|
+
constructor(hostRef) {
|
|
2022
|
+
index.registerInstance(this, hostRef);
|
|
2023
|
+
/**
|
|
2024
|
+
* @uiName Verify code widget header text
|
|
2025
|
+
*/
|
|
2026
|
+
this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
2027
|
+
/**
|
|
2028
|
+
* @uiName Reverify code widget header text
|
|
2029
|
+
*/
|
|
2030
|
+
this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
2031
|
+
/**
|
|
2032
|
+
* Text displayed under verify button
|
|
2033
|
+
* @uiName Resend code text
|
|
2034
|
+
*/
|
|
2035
|
+
this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
2036
|
+
/**
|
|
2037
|
+
* The link that appears in the resend code link
|
|
2038
|
+
* @uiName Resend code label
|
|
2039
|
+
*/
|
|
2040
|
+
this.resendCodeLabel = "Resend code";
|
|
2041
|
+
/**
|
|
2042
|
+
* Link text displayed under verify button
|
|
2043
|
+
* @uiName Resend code text
|
|
2044
|
+
*/
|
|
2045
|
+
this.codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
2046
|
+
/**
|
|
2047
|
+
* Error text displayed under verification input
|
|
2048
|
+
* @uiName Invalid code text
|
|
2049
|
+
*/
|
|
2050
|
+
this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
2051
|
+
/**
|
|
2052
|
+
* @uiName Verify code button text
|
|
2053
|
+
*/
|
|
2054
|
+
this.verifyText = "Verify";
|
|
2055
|
+
/**
|
|
2056
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
2057
|
+
* @uiName Network error message
|
|
2058
|
+
*/
|
|
2059
|
+
this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
2060
|
+
stencilHooks_module.h$1(this);
|
|
2061
|
+
}
|
|
2062
|
+
disconnectedCallback() { }
|
|
2063
|
+
getTextProps() {
|
|
2064
|
+
return utils.getProps(this);
|
|
2065
|
+
}
|
|
2066
|
+
render() {
|
|
2067
|
+
const props = index_module.isDemo()
|
|
2068
|
+
? useDemoWidgetCodeVerification(this)
|
|
2069
|
+
: useWidgetCodeVerification(this);
|
|
2070
|
+
return index.h(WidgetCodeVerificationView, Object.assign({}, props));
|
|
2071
|
+
}
|
|
2072
|
+
};
|
|
2073
|
+
function useDemoWidgetCodeVerification(props) {
|
|
2074
|
+
const [emailResent, setEmailResent] = stencilHooks_module.useState(false);
|
|
2075
|
+
const setVerifiedContext = index_module.Sn(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
2076
|
+
return cjs.cjs({
|
|
2077
|
+
states: {
|
|
2078
|
+
loading: false,
|
|
2079
|
+
email: "test@example.com",
|
|
2080
|
+
emailResent,
|
|
2081
|
+
resendError: true,
|
|
2082
|
+
verifyFailed: true,
|
|
2083
|
+
},
|
|
2084
|
+
refs: {
|
|
2085
|
+
codeWrapperRef: () => { },
|
|
2086
|
+
},
|
|
2087
|
+
callbacks: {
|
|
2088
|
+
resendEmail: async () => setEmailResent(true),
|
|
2089
|
+
submitCode: async () => setVerifiedContext(true),
|
|
2090
|
+
},
|
|
2091
|
+
text: props.getTextProps(),
|
|
2092
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2093
|
+
}
|
|
2094
|
+
|
|
1744
2095
|
const GET_TAX_DOCUMENT = index_module.dist.gql `
|
|
1745
2096
|
mutation createImpactPublisherTaxDocument(
|
|
1746
2097
|
$vars: CreateImpactPublisherTaxDocumentInput!
|
|
@@ -1898,7 +2249,7 @@ function getDocumentType(p) {
|
|
|
1898
2249
|
return undefined;
|
|
1899
2250
|
}
|
|
1900
2251
|
|
|
1901
|
-
const style$
|
|
2252
|
+
const style$2 = {
|
|
1902
2253
|
DocusignStatusContainer: {
|
|
1903
2254
|
width: "100%",
|
|
1904
2255
|
minHeight: "600px",
|
|
@@ -1925,13 +2276,13 @@ const style$1 = {
|
|
|
1925
2276
|
},
|
|
1926
2277
|
},
|
|
1927
2278
|
};
|
|
1928
|
-
const sheet$
|
|
1929
|
-
const styleString$
|
|
2279
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
2280
|
+
const styleString$2 = sheet$2.toString();
|
|
1930
2281
|
const DocusignExpiredView = (props) => {
|
|
1931
|
-
const { classes } = sheet$
|
|
2282
|
+
const { classes } = sheet$2;
|
|
1932
2283
|
const { text } = props;
|
|
1933
2284
|
return (index.h("div", null,
|
|
1934
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
2285
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
1935
2286
|
index.h("div", { class: classes.DocusignStatusContainer },
|
|
1936
2287
|
index.h("sl-icon", { style: {
|
|
1937
2288
|
width: "50px",
|
|
@@ -1943,10 +2294,10 @@ const DocusignExpiredView = (props) => {
|
|
|
1943
2294
|
index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
|
|
1944
2295
|
};
|
|
1945
2296
|
const DocusignErrorView = (props) => {
|
|
1946
|
-
const { classes } = sheet$
|
|
2297
|
+
const { classes } = sheet$2;
|
|
1947
2298
|
const { text } = props;
|
|
1948
2299
|
return (index.h("div", null,
|
|
1949
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
2300
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
1950
2301
|
index.h("div", { class: classes.DocusignStatusContainer },
|
|
1951
2302
|
index.h("sl-icon", { style: {
|
|
1952
2303
|
width: "50px",
|
|
@@ -1958,14 +2309,14 @@ const DocusignErrorView = (props) => {
|
|
|
1958
2309
|
index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
|
|
1959
2310
|
};
|
|
1960
2311
|
const DocusignLoadingView = () => {
|
|
1961
|
-
const { classes } = sheet$
|
|
2312
|
+
const { classes } = sheet$2;
|
|
1962
2313
|
return (index.h("div", null,
|
|
1963
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
2314
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
1964
2315
|
index.h("div", { class: classes.DocusignStatusContainer },
|
|
1965
2316
|
index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
|
|
1966
2317
|
};
|
|
1967
2318
|
const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
1968
|
-
const { classes } = sheet$
|
|
2319
|
+
const { classes } = sheet$2;
|
|
1969
2320
|
const [iFrameHeight, setiFrameHeight] = stencilHooks_module.useState("100%");
|
|
1970
2321
|
const allowedDomains = [
|
|
1971
2322
|
"referralsaasquatch.com",
|
|
@@ -1998,12 +2349,12 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
|
1998
2349
|
return index.h(DocusignExpiredView, { text: text });
|
|
1999
2350
|
// Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
|
|
2000
2351
|
return (index.h("div", { style: { height: iFrameHeight } },
|
|
2001
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
2352
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
2002
2353
|
index.h("div", { class: classes.IFrameContainer },
|
|
2003
2354
|
index.h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
|
|
2004
2355
|
};
|
|
2005
2356
|
|
|
2006
|
-
const style$
|
|
2357
|
+
const style$3 = {
|
|
2007
2358
|
FormWrapper: {
|
|
2008
2359
|
display: "flex",
|
|
2009
2360
|
justifyContent: "flex-start",
|
|
@@ -2116,9 +2467,9 @@ const style$2 = {
|
|
|
2116
2467
|
fontSize: "var(--sl-font-size-medium)",
|
|
2117
2468
|
},
|
|
2118
2469
|
};
|
|
2119
|
-
const sheet$
|
|
2120
|
-
const styleString$
|
|
2121
|
-
const vanillaStyle$
|
|
2470
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
2471
|
+
const styleString$3 = sheet$3.toString();
|
|
2472
|
+
const vanillaStyle$2 = `
|
|
2122
2473
|
:host{
|
|
2123
2474
|
display: block;
|
|
2124
2475
|
}
|
|
@@ -2143,11 +2494,11 @@ const vanillaStyle$1 = `
|
|
|
2143
2494
|
const DocusignFormView = (props) => {
|
|
2144
2495
|
var _a;
|
|
2145
2496
|
const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
|
|
2146
|
-
const { classes } = sheet$
|
|
2497
|
+
const { classes } = sheet$3;
|
|
2147
2498
|
return (index.h("div", { class: classes.Container },
|
|
2148
2499
|
index.h("style", { type: "text/css" },
|
|
2149
|
-
styleString$
|
|
2150
|
-
vanillaStyle$
|
|
2500
|
+
styleString$3,
|
|
2501
|
+
vanillaStyle$2),
|
|
2151
2502
|
index.h("div", { class: classes.TextContainer },
|
|
2152
2503
|
index.h("div", null,
|
|
2153
2504
|
!states.hideSteps && (index.h("p", null, global.intl.formatMessage({
|
|
@@ -2157,7 +2508,7 @@ const DocusignFormView = (props) => {
|
|
|
2157
2508
|
index.h("h3", null, text.taxForm),
|
|
2158
2509
|
index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
2159
2510
|
states.loadingError && (index.h("div", null,
|
|
2160
|
-
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
2511
|
+
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
|
|
2161
2512
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2162
2513
|
index.h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2163
2514
|
index.h("br", null),
|
|
@@ -2167,7 +2518,7 @@ const DocusignFormView = (props) => {
|
|
|
2167
2518
|
}, {
|
|
2168
2519
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2169
2520
|
})))),
|
|
2170
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
2521
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.ErrorAlertContainer },
|
|
2171
2522
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2172
2523
|
index.h("strong", null, text.error.generalTitle),
|
|
2173
2524
|
index.h("br", null),
|
|
@@ -2387,7 +2738,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
|
|
|
2387
2738
|
} }, index.h("span", null, "Placeholder for docusign iframe"), index.h("div", { style: { display: "flex", gap: "8px" } }, index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
|
|
2388
2739
|
};
|
|
2389
2740
|
|
|
2390
|
-
const style$
|
|
2741
|
+
const style$4 = {
|
|
2391
2742
|
FormWrapper: {
|
|
2392
2743
|
display: "flex",
|
|
2393
2744
|
justifyContent: "flex-start",
|
|
@@ -2493,9 +2844,9 @@ const style$3 = {
|
|
|
2493
2844
|
marginBottom: "var(--sl-spacing-small)",
|
|
2494
2845
|
},
|
|
2495
2846
|
};
|
|
2496
|
-
const sheet$
|
|
2497
|
-
const styleString$
|
|
2498
|
-
const vanillaStyle$
|
|
2847
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
2848
|
+
const styleString$4 = sheet$4.toString();
|
|
2849
|
+
const vanillaStyle$3 = `
|
|
2499
2850
|
:host{
|
|
2500
2851
|
display: block;
|
|
2501
2852
|
}
|
|
@@ -2514,11 +2865,11 @@ const vanillaStyle$2 = `
|
|
|
2514
2865
|
const IndirectTaxFormView = (props) => {
|
|
2515
2866
|
var _a;
|
|
2516
2867
|
const { states, states: { formState }, callbacks, text, refs, slots, } = props;
|
|
2517
|
-
const { classes } = sheet$
|
|
2868
|
+
const { classes } = sheet$4;
|
|
2518
2869
|
return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
2519
2870
|
index.h("style", { type: "text/css" },
|
|
2520
|
-
styleString$
|
|
2521
|
-
vanillaStyle$
|
|
2871
|
+
styleString$4,
|
|
2872
|
+
vanillaStyle$3),
|
|
2522
2873
|
index.h("div", { class: classes.TextContainer },
|
|
2523
2874
|
index.h("div", null,
|
|
2524
2875
|
!states.hideSteps && (index.h("p", null,
|
|
@@ -2531,7 +2882,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2531
2882
|
index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
|
|
2532
2883
|
index.h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
|
|
2533
2884
|
states.loadingError && (index.h("div", null,
|
|
2534
|
-
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
2885
|
+
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
|
|
2535
2886
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2536
2887
|
index.h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2537
2888
|
index.h("br", null),
|
|
@@ -2541,7 +2892,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2541
2892
|
}, {
|
|
2542
2893
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2543
2894
|
})))),
|
|
2544
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
2895
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$4.classes.AlertContainer },
|
|
2545
2896
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2546
2897
|
index.h("strong", null, text.error.generalTitle),
|
|
2547
2898
|
index.h("br", null),
|
|
@@ -2551,7 +2902,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2551
2902
|
}, {
|
|
2552
2903
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2553
2904
|
}))),
|
|
2554
|
-
states.isPartner && (index.h("sl-alert", { type: "primary", open: true, class: sheet$
|
|
2905
|
+
states.isPartner && (index.h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
2555
2906
|
index.h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
2556
2907
|
index.h("strong", null, text.isPartnerAlertHeader),
|
|
2557
2908
|
index.h("br", null),
|
|
@@ -3526,7 +3877,7 @@ const PayPalIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
3526
3877
|
index.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" }),
|
|
3527
3878
|
index.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" })));
|
|
3528
3879
|
|
|
3529
|
-
const style$
|
|
3880
|
+
const style$5 = {
|
|
3530
3881
|
CardContainer: {
|
|
3531
3882
|
display: "grid",
|
|
3532
3883
|
gridTemplateColumns: "1fr",
|
|
@@ -3660,7 +4011,7 @@ const style$4 = {
|
|
|
3660
4011
|
},
|
|
3661
4012
|
};
|
|
3662
4013
|
function PayoutDetailsCardView(props) {
|
|
3663
|
-
const sheet = JSS.createStyleSheet(style$
|
|
4014
|
+
const sheet = JSS.createStyleSheet(style$5);
|
|
3664
4015
|
const styleString = sheet.toString();
|
|
3665
4016
|
const { classes } = sheet;
|
|
3666
4017
|
const { states, text } = props;
|
|
@@ -4973,7 +5324,7 @@ function useDemoTaxAndCash(props) {
|
|
|
4973
5324
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4974
5325
|
}
|
|
4975
5326
|
|
|
4976
|
-
const style$
|
|
5327
|
+
const style$6 = {
|
|
4977
5328
|
ErrorAlertContainer: {
|
|
4978
5329
|
"&::part(base)": {
|
|
4979
5330
|
backgroundColor: "var(--sl-color-red-100)",
|
|
@@ -5164,8 +5515,8 @@ const style$5 = {
|
|
|
5164
5515
|
},
|
|
5165
5516
|
DialogButton: { margin: "auto", width: "100%" },
|
|
5166
5517
|
};
|
|
5167
|
-
const sheet$
|
|
5168
|
-
const styleString$
|
|
5518
|
+
const sheet$5 = JSS.createStyleSheet(style$6);
|
|
5519
|
+
const styleString$5 = sheet$5.toString();
|
|
5169
5520
|
const TaxAndCashDashboardView = (props) => {
|
|
5170
5521
|
var _a, _b, _c, _d;
|
|
5171
5522
|
const { states, text, callbacks, slots } = props;
|
|
@@ -5183,7 +5534,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5183
5534
|
buttonText: text.verificationRequiredButtonText,
|
|
5184
5535
|
alertType: "warning",
|
|
5185
5536
|
icon: "exclamation-triangle",
|
|
5186
|
-
class: sheet$
|
|
5537
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5187
5538
|
};
|
|
5188
5539
|
case "VERIFICATION:INTERNAL":
|
|
5189
5540
|
return {
|
|
@@ -5196,7 +5547,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5196
5547
|
}),
|
|
5197
5548
|
alertType: "warning",
|
|
5198
5549
|
icon: "exclamation-triangle",
|
|
5199
|
-
class: sheet$
|
|
5550
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5200
5551
|
};
|
|
5201
5552
|
case "VERIFICATION:REVIEW":
|
|
5202
5553
|
return {
|
|
@@ -5209,7 +5560,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5209
5560
|
}),
|
|
5210
5561
|
alertType: "warning",
|
|
5211
5562
|
icon: "exclamation-triangle",
|
|
5212
|
-
class: sheet$
|
|
5563
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5213
5564
|
};
|
|
5214
5565
|
case "VERIFICATION:FAILED":
|
|
5215
5566
|
return {
|
|
@@ -5222,7 +5573,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5222
5573
|
}),
|
|
5223
5574
|
alertType: "critical",
|
|
5224
5575
|
icon: "exclamation-octagon",
|
|
5225
|
-
class: sheet$
|
|
5576
|
+
class: sheet$5.classes.ErrorHoldAlertContainer,
|
|
5226
5577
|
};
|
|
5227
5578
|
case "HOLD":
|
|
5228
5579
|
return {
|
|
@@ -5236,14 +5587,14 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5236
5587
|
buttonText: null,
|
|
5237
5588
|
alertType: "warning",
|
|
5238
5589
|
icon: "exclamation-triangle",
|
|
5239
|
-
class: sheet$
|
|
5590
|
+
class: sheet$5.classes.WarningHoldAlertContainer,
|
|
5240
5591
|
};
|
|
5241
5592
|
default:
|
|
5242
5593
|
return;
|
|
5243
5594
|
}
|
|
5244
5595
|
}
|
|
5245
5596
|
const statusMap = {
|
|
5246
|
-
NOT_VERIFIED: (index.h("div", { class: sheet$
|
|
5597
|
+
NOT_VERIFIED: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5247
5598
|
index.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
|
|
5248
5599
|
index.h("p", null, global.intl.formatMessage({
|
|
5249
5600
|
id: `badgeTextAwaitingReview`,
|
|
@@ -5251,7 +5602,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5251
5602
|
}, {
|
|
5252
5603
|
dateSubmitted: states.dateSubmitted,
|
|
5253
5604
|
})))),
|
|
5254
|
-
ACTIVE: (index.h("div", { class: sheet$
|
|
5605
|
+
ACTIVE: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5255
5606
|
index.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
|
|
5256
5607
|
index.h("p", null, global.intl.formatMessage({
|
|
5257
5608
|
id: `badgeTextSubmittedOn`,
|
|
@@ -5261,12 +5612,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5261
5612
|
}, {
|
|
5262
5613
|
dateSubmitted: states.dateSubmitted,
|
|
5263
5614
|
})))),
|
|
5264
|
-
INACTIVE: (index.h("div", { class: sheet$
|
|
5615
|
+
INACTIVE: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5265
5616
|
index.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
|
|
5266
5617
|
index.h("p", null, text.invalidForm))),
|
|
5267
5618
|
};
|
|
5268
5619
|
const alertMap = {
|
|
5269
|
-
INACTIVE: (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5620
|
+
INACTIVE: (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
5270
5621
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5271
5622
|
index.h("strong", null, global.intl.formatMessage({
|
|
5272
5623
|
id: `taxAlertHeaderNotActive`,
|
|
@@ -5316,9 +5667,9 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5316
5667
|
};
|
|
5317
5668
|
return (index.h("div", null,
|
|
5318
5669
|
index.h("div", null,
|
|
5319
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
5670
|
+
index.h("style", { type: "text/css" }, styleString$5),
|
|
5320
5671
|
states.loadingError && (index.h("div", null,
|
|
5321
|
-
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5672
|
+
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
5322
5673
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5323
5674
|
index.h("strong", null, text.error.loadingErrorAlertHeader),
|
|
5324
5675
|
index.h("br", null),
|
|
@@ -5328,7 +5679,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5328
5679
|
}, {
|
|
5329
5680
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5330
5681
|
})))),
|
|
5331
|
-
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
5682
|
+
((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
|
|
5332
5683
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5333
5684
|
index.h("strong", null, text.error.generalTitle),
|
|
5334
5685
|
index.h("br", null),
|
|
@@ -5343,49 +5694,49 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5343
5694
|
index.h("strong", null, getAlert(states.payoutStatus).header),
|
|
5344
5695
|
index.h("p", { style: { margin: "0" } }, getAlert(states.payoutStatus).description),
|
|
5345
5696
|
getAlert(states.payoutStatus).buttonText && (index.h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, getAlert(states.payoutStatus).buttonText)))),
|
|
5346
|
-
index.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$
|
|
5697
|
+
index.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
|
|
5347
5698
|
index.h("p", null, text.replaceTaxFormModalBodyText),
|
|
5348
|
-
index.h("sl-button", { slot: "footer", type: "primary", class: sheet$
|
|
5349
|
-
index.h("sl-button", { slot: "footer", type: "default", class: sheet$
|
|
5699
|
+
index.h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
|
|
5700
|
+
index.h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
|
|
5350
5701
|
states.status === "INACTIVE" && alertMap[states.status],
|
|
5351
5702
|
index.h("div", null,
|
|
5352
5703
|
index.h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
|
|
5353
|
-
index.h("p", { class: sheet$
|
|
5354
|
-
index.h("div", { class: sheet$
|
|
5704
|
+
index.h("p", { class: sheet$5.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
|
|
5705
|
+
index.h("div", { class: sheet$5.classes.BankingInformationContainer },
|
|
5355
5706
|
slots.payoutDetailsCardSlot,
|
|
5356
|
-
!states.loading && (index.h("p", { class: sheet$
|
|
5357
|
-
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$
|
|
5358
|
-
index.h("div", { class: sheet$
|
|
5359
|
-
index.h("div", null, states.loading ? (index.h("div", { class: sheet$
|
|
5360
|
-
index.h("sl-skeleton", { class: sheet$
|
|
5361
|
-
index.h("sl-skeleton", { class: sheet$
|
|
5362
|
-
index.h("h3", { class: sheet$
|
|
5363
|
-
index.h("p", { class: sheet$
|
|
5364
|
-
index.h("span", { class: sheet$
|
|
5365
|
-
index.h("div", { class: sheet$
|
|
5707
|
+
!states.loading && (index.h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
|
|
5708
|
+
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
5709
|
+
index.h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
5710
|
+
index.h("div", null, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
5711
|
+
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
5712
|
+
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null, states.noFormNeeded ? (index.h("div", null,
|
|
5713
|
+
index.h("h3", { class: sheet$5.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
|
|
5714
|
+
index.h("p", { class: sheet$5.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (index.h("div", null,
|
|
5715
|
+
index.h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
|
|
5716
|
+
index.h("div", { class: sheet$5.classes.StatusContainer },
|
|
5366
5717
|
index.h("h3", null, global.intl.formatMessage({
|
|
5367
5718
|
id: "section-subheader",
|
|
5368
5719
|
defaultMessage: text.taxDocumentSectionSubHeader,
|
|
5369
5720
|
}, {
|
|
5370
5721
|
documentType: states.documentTypeString,
|
|
5371
5722
|
})),
|
|
5372
|
-
index.h("span", { class: sheet$
|
|
5373
|
-
states.status !== "NOT_VERIFIED" && (index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$
|
|
5374
|
-
index.h("div", { class: sheet$
|
|
5375
|
-
index.h("sl-skeleton", { class: sheet$
|
|
5376
|
-
index.h("sl-skeleton", { class: sheet$
|
|
5377
|
-
index.h("h3", { class: sheet$
|
|
5723
|
+
index.h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
|
|
5724
|
+
states.status !== "NOT_VERIFIED" && (index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
5725
|
+
index.h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
5726
|
+
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
5727
|
+
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null,
|
|
5728
|
+
index.h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
|
|
5378
5729
|
text.indirectTaxInfoSectionHeader,
|
|
5379
|
-
index.h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$
|
|
5380
|
-
index.h("sl-icon", { name: "info-circle", class: sheet$
|
|
5381
|
-
index.h("div", { class: sheet$
|
|
5382
|
-
index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet$
|
|
5730
|
+
index.h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
|
|
5731
|
+
index.h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
|
|
5732
|
+
index.h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
|
|
5733
|
+
index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, global.intl.formatMessage({
|
|
5383
5734
|
id: "notRegisteredForTax",
|
|
5384
5735
|
defaultMessage: text.notRegisteredForTax,
|
|
5385
5736
|
}, {
|
|
5386
5737
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5387
5738
|
}))) : (getIndirectTaxRegisteredIn())),
|
|
5388
|
-
!states.notRegistered && (index.h("div", { class: sheet$
|
|
5739
|
+
!states.notRegistered && (index.h("div", { class: sheet$5.classes.TaxNumberContainer },
|
|
5389
5740
|
index.h("span", null, global.intl.formatMessage({
|
|
5390
5741
|
id: `indirectTaxDetails`,
|
|
5391
5742
|
defaultMessage: text.indirectTaxDetails,
|
|
@@ -5408,7 +5759,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5408
5759
|
}, {
|
|
5409
5760
|
subRegionTaxNumber: states.subRegionTaxNumber,
|
|
5410
5761
|
})))),
|
|
5411
|
-
!states.notRegistered && (index.h("div", { class: sheet$
|
|
5762
|
+
!states.notRegistered && (index.h("div", { class: sheet$5.classes.InvoiceTableContainer },
|
|
5412
5763
|
index.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 },
|
|
5413
5764
|
index.h("sqm-invoice-table-download-column", null),
|
|
5414
5765
|
index.h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
|
|
@@ -6864,7 +7215,7 @@ const PHONE_EXTENSIONS = {
|
|
|
6864
7215
|
},
|
|
6865
7216
|
};
|
|
6866
7217
|
|
|
6867
|
-
const style$
|
|
7218
|
+
const style$7 = {
|
|
6868
7219
|
FormWrapper: {},
|
|
6869
7220
|
ErrorInput: {
|
|
6870
7221
|
"&::part(base)": {
|
|
@@ -6962,9 +7313,9 @@ const style$6 = {
|
|
|
6962
7313
|
},
|
|
6963
7314
|
},
|
|
6964
7315
|
};
|
|
6965
|
-
const sheet$
|
|
6966
|
-
const styleString$
|
|
6967
|
-
const vanillaStyle$
|
|
7316
|
+
const sheet$6 = JSS.createStyleSheet(style$7);
|
|
7317
|
+
const styleString$6 = sheet$6.toString();
|
|
7318
|
+
const vanillaStyle$4 = `
|
|
6968
7319
|
:host{
|
|
6969
7320
|
display: block;
|
|
6970
7321
|
}
|
|
@@ -6992,7 +7343,7 @@ const vanillaStyle$3 = `
|
|
|
6992
7343
|
const UserInfoFormView = (props) => {
|
|
6993
7344
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
6994
7345
|
const { states, states: { formState }, callbacks, text, refs, data, } = props;
|
|
6995
|
-
const { classes } = sheet$
|
|
7346
|
+
const { classes } = sheet$6;
|
|
6996
7347
|
const bankingCollectionText = global.intl.formatMessage({
|
|
6997
7348
|
id: "bankingCollectionText",
|
|
6998
7349
|
defaultMessage: text.allowBankingCollection,
|
|
@@ -7015,10 +7366,10 @@ const UserInfoFormView = (props) => {
|
|
|
7015
7366
|
}
|
|
7016
7367
|
return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
7017
7368
|
index.h("style", { type: "text/css" },
|
|
7018
|
-
styleString$
|
|
7019
|
-
vanillaStyle$
|
|
7369
|
+
styleString$6,
|
|
7370
|
+
vanillaStyle$4),
|
|
7020
7371
|
states.loadingError && (index.h("div", null,
|
|
7021
|
-
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$
|
|
7372
|
+
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
|
|
7022
7373
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
7023
7374
|
index.h("strong", null, text.error.loadingErrorAlertHeader),
|
|
7024
7375
|
index.h("br", null),
|
|
@@ -7038,7 +7389,7 @@ const UserInfoFormView = (props) => {
|
|
|
7038
7389
|
}, { step: states.step, count: FORM_STEPS }))),
|
|
7039
7390
|
index.h("h3", null, text.personalInformation),
|
|
7040
7391
|
index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
7041
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$
|
|
7392
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$6.classes.AlertContainer },
|
|
7042
7393
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
7043
7394
|
index.h("strong", null, text.error.generalTitle),
|
|
7044
7395
|
index.h("br", null),
|
|
@@ -7048,7 +7399,7 @@ const UserInfoFormView = (props) => {
|
|
|
7048
7399
|
}, {
|
|
7049
7400
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
7050
7401
|
}))),
|
|
7051
|
-
(states.isPartner || states.isUser) && (index.h("sl-alert", { type: "primary", open: true, class: sheet$
|
|
7402
|
+
(states.isPartner || states.isUser) && (index.h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
7052
7403
|
index.h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
7053
7404
|
index.h("strong", null, text.isPartnerAlertHeader),
|
|
7054
7405
|
index.h("br", null),
|
|
@@ -7594,6 +7945,7 @@ function useDemoUserInfoForm(props) {
|
|
|
7594
7945
|
}
|
|
7595
7946
|
|
|
7596
7947
|
exports.sqm_banking_info_form = BankingInfoForm;
|
|
7948
|
+
exports.sqm_code_verification = WidgetCodeVerification;
|
|
7597
7949
|
exports.sqm_docusign_form = DocusignForm;
|
|
7598
7950
|
exports.sqm_indirect_tax_form = IndirectTaxForm;
|
|
7599
7951
|
exports.sqm_invoice_table = InvoiceTable;
|