@saasquatch/mint-components 1.12.0-14 → 1.12.0-15
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 +182 -56
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +46 -14
- package/dist/cjs/sqm-email-verification.cjs.entry.js +15 -7
- package/dist/cjs/{sqm-invoice-table-view-ed76d7bd.js → sqm-invoice-table-view-b0602970.js} +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +41 -18
- package/dist/cjs/{usePayoutStatus-5ac536a3.js → usePayoutStatus-8f924372.js} +1 -1
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -0
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +9 -5
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +29 -4
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +3 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +34 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +41 -16
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +49 -16
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +51 -8
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +43 -18
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
- 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 +182 -56
- package/dist/esm/sqm-big-stat_39.entry.js +46 -14
- package/dist/esm/sqm-email-verification.entry.js +15 -7
- package/dist/esm/{sqm-invoice-table-view-6601d8f2.js → sqm-invoice-table-view-b1ac1bfc.js} +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +41 -18
- package/dist/esm/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.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_16.entry.js +1 -1
- 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-invoice-table-view-b1ac1bfc.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +2 -2
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-158568e5.system.entry.js +1 -0
- package/dist/mint-components/{p-2c99add0.js → p-47b47e3b.js} +1 -1
- package/dist/mint-components/p-7789349d.system.js +1 -0
- package/dist/mint-components/p-9e788a1a.js +1 -0
- package/dist/mint-components/p-a5c96f2a.entry.js +195 -0
- package/dist/mint-components/p-a8e79cad.entry.js +9 -0
- package/dist/mint-components/p-b99108a6.system.entry.js +1 -0
- package/dist/mint-components/{p-209eab38.system.js → p-bd1372d2.system.js} +1 -1
- package/dist/mint-components/p-bfd92031.system.entry.js +1 -0
- package/dist/mint-components/p-c58250e6.system.entry.js +1 -0
- package/dist/mint-components/p-ca809fdd.system.js +1 -1
- package/dist/mint-components/p-e11b605d.entry.js +25 -0
- package/dist/mint-components/{p-30ac8e59.entry.js → p-fc17c2d2.entry.js} +11 -11
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +6 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
- package/dist/types/components.d.ts +72 -4
- 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/esm-es5/sqm-invoice-table-view-6601d8f2.js +0 -1
- package/dist/mint-components/p-21aa318a.entry.js +0 -195
- package/dist/mint-components/p-2d836e58.js +0 -1
- package/dist/mint-components/p-45a8d0fc.system.js +0 -1
- package/dist/mint-components/p-4adff550.system.entry.js +0 -1
- package/dist/mint-components/p-856c09f1.entry.js +0 -9
- package/dist/mint-components/p-9a21cc81.system.entry.js +0 -1
- package/dist/mint-components/p-a9b7e11f.entry.js +0 -25
- package/dist/mint-components/p-c5d26757.system.entry.js +0 -1
- package/dist/mint-components/p-e0c54a41.system.entry.js +0 -1
|
@@ -17,7 +17,7 @@ import { i as isEmpty } from './utilities-443732be.js';
|
|
|
17
17
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
18
|
import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-69b61037.js';
|
|
19
19
|
import './sqm-portal-container-view-6c582684.js';
|
|
20
|
-
import { u as usePayoutStatus } from './usePayoutStatus-
|
|
20
|
+
import { u as usePayoutStatus } from './usePayoutStatus-0bc0380f.js';
|
|
21
21
|
|
|
22
22
|
const BigStat = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -1720,6 +1720,7 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
1720
1720
|
const style$2 = {
|
|
1721
1721
|
Wrapper: {
|
|
1722
1722
|
maxWidth: "200px",
|
|
1723
|
+
border: "1px solid black",
|
|
1723
1724
|
},
|
|
1724
1725
|
PayoutButtonDescription: {
|
|
1725
1726
|
color: "var(--sl-color-neutral-500)",
|
|
@@ -1894,7 +1895,12 @@ function PayoutStatusAlertView(props) {
|
|
|
1894
1895
|
case "VERIFICATION:REQUIRED":
|
|
1895
1896
|
return {
|
|
1896
1897
|
header: text.verificationRequiredHeader,
|
|
1897
|
-
description:
|
|
1898
|
+
description: intl.formatMessage({
|
|
1899
|
+
id: "verificationRequiredDescription",
|
|
1900
|
+
defaultMessage: text.verificationRequiredDescription,
|
|
1901
|
+
}, {
|
|
1902
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1903
|
+
}),
|
|
1898
1904
|
buttonText: text.verificationRequiredButtonText,
|
|
1899
1905
|
alertType: "warning",
|
|
1900
1906
|
icon: "exclamation-triangle",
|
|
@@ -1903,7 +1909,12 @@ function PayoutStatusAlertView(props) {
|
|
|
1903
1909
|
case "VERIFICATION:INTERNAL":
|
|
1904
1910
|
return {
|
|
1905
1911
|
header: text.verificationRequiredInternalHeader,
|
|
1906
|
-
description:
|
|
1912
|
+
description: intl.formatMessage({
|
|
1913
|
+
id: "verificationRequiredInternalDescription",
|
|
1914
|
+
defaultMessage: text.verificationRequiredInternalDescription,
|
|
1915
|
+
}, {
|
|
1916
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1917
|
+
}),
|
|
1907
1918
|
alertType: "warning",
|
|
1908
1919
|
icon: "exclamation-triangle",
|
|
1909
1920
|
class: sheet$3.classes.WarningAlertContainer,
|
|
@@ -1911,7 +1922,12 @@ function PayoutStatusAlertView(props) {
|
|
|
1911
1922
|
case "VERIFICATION:REVIEW":
|
|
1912
1923
|
return {
|
|
1913
1924
|
header: text.verificationReviewInternalHeader,
|
|
1914
|
-
description:
|
|
1925
|
+
description: intl.formatMessage({
|
|
1926
|
+
id: "verificationReviewInternalDescription",
|
|
1927
|
+
defaultMessage: text.verificationReviewInternalDescription,
|
|
1928
|
+
}, {
|
|
1929
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1930
|
+
}),
|
|
1915
1931
|
alertType: "warning",
|
|
1916
1932
|
icon: "exclamation-triangle",
|
|
1917
1933
|
class: sheet$3.classes.WarningAlertContainer,
|
|
@@ -1919,7 +1935,12 @@ function PayoutStatusAlertView(props) {
|
|
|
1919
1935
|
case "VERIFICATION:FAILED":
|
|
1920
1936
|
return {
|
|
1921
1937
|
header: text.verificationFailedInternalHeader,
|
|
1922
|
-
description:
|
|
1938
|
+
description: intl.formatMessage({
|
|
1939
|
+
id: "verificationFailedInternalDescription",
|
|
1940
|
+
defaultMessage: text.verificationFailedInternalDescription,
|
|
1941
|
+
}, {
|
|
1942
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1943
|
+
}),
|
|
1923
1944
|
alertType: "critical",
|
|
1924
1945
|
icon: "exclamation-octagon",
|
|
1925
1946
|
class: sheet$3.classes.ErrorAlertContainer,
|
|
@@ -1927,7 +1948,12 @@ function PayoutStatusAlertView(props) {
|
|
|
1927
1948
|
case "HOLD":
|
|
1928
1949
|
return {
|
|
1929
1950
|
header: text.holdHeader,
|
|
1930
|
-
description:
|
|
1951
|
+
description: intl.formatMessage({
|
|
1952
|
+
id: "holdDescription",
|
|
1953
|
+
defaultMessage: text.holdDescription,
|
|
1954
|
+
}, {
|
|
1955
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1956
|
+
}),
|
|
1931
1957
|
buttonText: null,
|
|
1932
1958
|
alertType: "warning",
|
|
1933
1959
|
icon: "exclamation-triangle",
|
|
@@ -1940,7 +1966,9 @@ function PayoutStatusAlertView(props) {
|
|
|
1940
1966
|
function getButton(status) {
|
|
1941
1967
|
switch (status) {
|
|
1942
1968
|
case "INFORMATION_REQUIRED":
|
|
1943
|
-
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
1969
|
+
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.informationRequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.informationRequiredButtonText)) : (
|
|
1970
|
+
// Demo case
|
|
1971
|
+
h$1("sl-button", { type: "default" }, text.informationRequiredButtonText));
|
|
1944
1972
|
case "VERIFICATION:REQUIRED":
|
|
1945
1973
|
return (h$1("sl-button", { type: "default", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText));
|
|
1946
1974
|
default:
|
|
@@ -1978,7 +2006,7 @@ const PayoutStatusAlert = class {
|
|
|
1978
2006
|
/**
|
|
1979
2007
|
* @uiName Verification required alert description
|
|
1980
2008
|
*/
|
|
1981
|
-
this.verificationRequiredDescription = "
|
|
2009
|
+
this.verificationRequiredDescription = "It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
|
|
1982
2010
|
/**
|
|
1983
2011
|
* @uiName Verification required alert button text
|
|
1984
2012
|
*/
|
|
@@ -1990,7 +2018,7 @@ const PayoutStatusAlert = class {
|
|
|
1990
2018
|
/**
|
|
1991
2019
|
* @uiName Verification required internal alert description
|
|
1992
2020
|
*/
|
|
1993
|
-
this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley.";
|
|
2021
|
+
this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley. If you don't hear from us contact our {supportLink}.";
|
|
1994
2022
|
/**
|
|
1995
2023
|
* @uiName Verification review internal alert header
|
|
1996
2024
|
*/
|
|
@@ -1998,7 +2026,7 @@ const PayoutStatusAlert = class {
|
|
|
1998
2026
|
/**
|
|
1999
2027
|
* @uiName Verification review internal alert description
|
|
2000
2028
|
*/
|
|
2001
|
-
this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly.";
|
|
2029
|
+
this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
|
|
2002
2030
|
/**
|
|
2003
2031
|
* @uiName Verification failed internal alert header
|
|
2004
2032
|
*/
|
|
@@ -2006,7 +2034,7 @@ const PayoutStatusAlert = class {
|
|
|
2006
2034
|
/**
|
|
2007
2035
|
* @uiName Verification failed internal alert description
|
|
2008
2036
|
*/
|
|
2009
|
-
this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information.";
|
|
2037
|
+
this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
|
|
2010
2038
|
/**
|
|
2011
2039
|
* @uiName Payout on hold alert header
|
|
2012
2040
|
*/
|
|
@@ -2015,11 +2043,15 @@ const PayoutStatusAlert = class {
|
|
|
2015
2043
|
* @uiName Payout on hold alert description
|
|
2016
2044
|
* AL: TODO copy not finalized for support section
|
|
2017
2045
|
*/
|
|
2018
|
-
this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our
|
|
2046
|
+
this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our {supportLink}.";
|
|
2019
2047
|
/**
|
|
2020
|
-
* @uiName Cash & Payouts
|
|
2048
|
+
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
2021
2049
|
*/
|
|
2022
|
-
this.
|
|
2050
|
+
this.cashPayoutsPageUrl = "/cash";
|
|
2051
|
+
/**
|
|
2052
|
+
* @uiName Support link text
|
|
2053
|
+
*/
|
|
2054
|
+
this.supportLink = "support team";
|
|
2023
2055
|
/**
|
|
2024
2056
|
* @uiName Error header
|
|
2025
2057
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-6306a9b8.js';
|
|
3
4
|
import { d as dist, M as Mn, E as En, K, c as xe, i as isDemo, S as Sn } from './index.module-6c840c4e.js';
|
|
4
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
@@ -149,10 +150,7 @@ const style = {
|
|
|
149
150
|
backgroundColor: "var(--sl-color-red-100)",
|
|
150
151
|
borderTop: "none",
|
|
151
152
|
},
|
|
152
|
-
"&::part(message)": {
|
|
153
|
-
display: "flex",
|
|
154
|
-
flexDirection: "column",
|
|
155
|
-
},
|
|
153
|
+
"&::part(message)": {},
|
|
156
154
|
},
|
|
157
155
|
ContinueButton: {
|
|
158
156
|
width: "100%",
|
|
@@ -205,7 +203,13 @@ function WidgetEmailVerificationView(props) {
|
|
|
205
203
|
states.sendCodeError && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet.classes.ErrorAlertContainer, open: true },
|
|
206
204
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
207
205
|
h("b", null, text.sendCodeErrorHeader),
|
|
208
|
-
|
|
206
|
+
h("br", null),
|
|
207
|
+
intl.formatMessage({
|
|
208
|
+
id: "sendCodeErrorDescription",
|
|
209
|
+
defaultMessage: text.sendCodeErrorDescription,
|
|
210
|
+
}, {
|
|
211
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
212
|
+
}))),
|
|
209
213
|
states.initialLoading ? (renderLoadingSkeleton()) : (h("div", { class: sheet.classes.Wrapper },
|
|
210
214
|
h(TextSpanView, { type: "p" }, text.verifyEmailHeaderText),
|
|
211
215
|
h("sl-form", { "onSl-submit": callbacks.submitEmail },
|
|
@@ -229,11 +233,15 @@ const WidgetEmailVerification = class {
|
|
|
229
233
|
/**
|
|
230
234
|
* @uiName Send code to email alert header
|
|
231
235
|
*/
|
|
232
|
-
this.sendCodeErrorHeader = "There was an error sending your code
|
|
236
|
+
this.sendCodeErrorHeader = "There was an error sending your code";
|
|
237
|
+
/**
|
|
238
|
+
* @uiName Support link text
|
|
239
|
+
*/
|
|
240
|
+
this.supportLink = "support team";
|
|
233
241
|
/**
|
|
234
242
|
* @uiName Send code to email alert description
|
|
235
243
|
*/
|
|
236
|
-
this.sendCodeErrorDescription = "Please try again. If this problem continues, contact our program
|
|
244
|
+
this.sendCodeErrorDescription = "Please try again. If this problem continues, contact our program {supportLink}.";
|
|
237
245
|
/**
|
|
238
246
|
* @uiName Email input label
|
|
239
247
|
*/
|
|
@@ -777,7 +777,7 @@ const GeneralLoadingView = () => {
|
|
|
777
777
|
return h(LoadingView, null);
|
|
778
778
|
};
|
|
779
779
|
const GeneralErrorView = () => {
|
|
780
|
-
return (h(ErrorView, { loadingErrorAlertHeader: "There was a problem loading your form", loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact
|
|
780
|
+
return (h(ErrorView, { loadingErrorAlertHeader: "There was a problem loading your form", loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact our support team." }));
|
|
781
781
|
};
|
|
782
782
|
// STEP ONE
|
|
783
783
|
const StepOne = () => {
|
|
@@ -26,7 +26,7 @@ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-7
|
|
|
26
26
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
27
27
|
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-69b61037.js';
|
|
28
28
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
|
|
29
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
29
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-b1ac1bfc.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -8434,6 +8434,9 @@ const deniedReward = {
|
|
|
8434
8434
|
const payoutFailedReward = {
|
|
8435
8435
|
statuses: ["PAYOUT_FAILED"],
|
|
8436
8436
|
};
|
|
8437
|
+
const payoutCancelledReward = {
|
|
8438
|
+
statuses: ["PAYOUT_CANCELLED"],
|
|
8439
|
+
};
|
|
8437
8440
|
const pendingReviewReward = {
|
|
8438
8441
|
statuses: ["PENDING_REVIEW"],
|
|
8439
8442
|
};
|
|
@@ -8513,8 +8516,8 @@ function getMonths() {
|
|
|
8513
8516
|
function getYears() {
|
|
8514
8517
|
return luxon.DateTime.now().toMillis() + 200000000000;
|
|
8515
8518
|
}
|
|
8516
|
-
const statusText = "{status, select, AVAILABLE {Available}
|
|
8517
|
-
const statusLongText = "{status, select, AVAILABLE {Reward expiring on}
|
|
8519
|
+
const statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
|
|
8520
|
+
const statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward approved for payout and was scheduled for payment based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }";
|
|
8518
8521
|
const PendingNoUnpend = () => {
|
|
8519
8522
|
return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReward, ...nullScheduledFor }], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8520
8523
|
};
|
|
@@ -8597,8 +8600,7 @@ const PayoutFailed = () => {
|
|
|
8597
8600
|
},
|
|
8598
8601
|
], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8599
8602
|
};
|
|
8600
|
-
|
|
8601
|
-
const PayoutCancelled = () => {
|
|
8603
|
+
const PayoutDenied = () => {
|
|
8602
8604
|
return (h("sqm-referral-table-rewards-cell", { rewards: [
|
|
8603
8605
|
{
|
|
8604
8606
|
...cashPayoutSentReward,
|
|
@@ -8608,6 +8610,16 @@ const PayoutCancelled = () => {
|
|
|
8608
8610
|
},
|
|
8609
8611
|
], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8610
8612
|
};
|
|
8613
|
+
const PayoutCancelled = () => {
|
|
8614
|
+
return (h("sqm-referral-table-rewards-cell", { rewards: [
|
|
8615
|
+
{
|
|
8616
|
+
...cashPayoutSentReward,
|
|
8617
|
+
...payoutCancelledReward,
|
|
8618
|
+
datePayoutRetried: getDays(),
|
|
8619
|
+
dateGiven: null,
|
|
8620
|
+
},
|
|
8621
|
+
], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8622
|
+
};
|
|
8611
8623
|
const PendingReview = () => {
|
|
8612
8624
|
return (h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReviewReward }], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
|
|
8613
8625
|
};
|
|
@@ -8665,6 +8677,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
|
8665
8677
|
Expired: Expired,
|
|
8666
8678
|
Denied: Denied,
|
|
8667
8679
|
PayoutFailed: PayoutFailed,
|
|
8680
|
+
PayoutDenied: PayoutDenied,
|
|
8668
8681
|
PayoutCancelled: PayoutCancelled,
|
|
8669
8682
|
PendingReview: PendingReview,
|
|
8670
8683
|
PendingTaxReview: PendingTaxReview,
|
|
@@ -8895,6 +8908,12 @@ const simpleUserTableProps = {
|
|
|
8895
8908
|
h(DateCell, null),
|
|
8896
8909
|
h(PayoutFailed, null),
|
|
8897
8910
|
],
|
|
8911
|
+
[
|
|
8912
|
+
h("sqm-referral-table-user-cell", { name: "Sarah Joseph" }),
|
|
8913
|
+
h(Converted, null),
|
|
8914
|
+
h(DateCell, null),
|
|
8915
|
+
h(PayoutCancelled, null),
|
|
8916
|
+
],
|
|
8898
8917
|
[
|
|
8899
8918
|
h("sqm-referral-table-user-cell", { name: "Sarah Joseph" }),
|
|
8900
8919
|
h(Converted, null),
|
|
@@ -12012,24 +12031,16 @@ const StatusCellExpired = () => {
|
|
|
12012
12031
|
const pending = {
|
|
12013
12032
|
statuses: ["PENDING"],
|
|
12014
12033
|
};
|
|
12015
|
-
// const pendingTaxReview = {
|
|
12016
|
-
// statuses: ["PENDING_TAX_REVIEW"],
|
|
12017
|
-
// };
|
|
12018
|
-
// const pendingNewTaxForm = {
|
|
12019
|
-
// statuses: ["PENDING_NEW_TAX_FORM"],
|
|
12020
|
-
// };
|
|
12021
|
-
// const pendingTaxSubmission = {
|
|
12022
|
-
// statuses: ["PENDING_TAX_SUBMISSION"],
|
|
12023
|
-
// };
|
|
12024
|
-
// const pendingPartnerCreation = {
|
|
12025
|
-
// statuses: ["PENDING_PARTNER_CREATION"],
|
|
12026
|
-
// };
|
|
12027
12034
|
const payoutSent = {
|
|
12028
12035
|
statuses: ["PAYOUT_SENT"],
|
|
12029
12036
|
};
|
|
12030
12037
|
const payoutFailed = {
|
|
12031
12038
|
statuses: ["PAYOUT_FAILED"],
|
|
12032
12039
|
};
|
|
12040
|
+
const payoutCancelled = {
|
|
12041
|
+
statuses: ["PAYOUT_CANCELLED"],
|
|
12042
|
+
dateCancelled: 1355612521321,
|
|
12043
|
+
};
|
|
12033
12044
|
const us_tax = {
|
|
12034
12045
|
pendingReasons: ["US_TAX"],
|
|
12035
12046
|
};
|
|
@@ -12091,6 +12102,9 @@ const StatusCellPayoutSent = () => {
|
|
|
12091
12102
|
const StatusCellPayoutFailed = () => {
|
|
12092
12103
|
return (h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: { ...rewardsData$1, ...payoutFailed } }));
|
|
12093
12104
|
};
|
|
12105
|
+
const StatusCellPayoutCancelled = () => {
|
|
12106
|
+
return (h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: { ...rewardsData$1, ...payoutCancelled } }));
|
|
12107
|
+
};
|
|
12094
12108
|
const StatusCellPendingWithLongText = () => {
|
|
12095
12109
|
return (h("div", { style: { width: "200px" } },
|
|
12096
12110
|
h("sqm-rewards-table-status-cell", { statusText: "Pending for 300,000,000 months and some change", reward: { ...rewardsData$1, ...pending } })));
|
|
@@ -12194,6 +12208,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
12194
12208
|
StatusCellPendingPartnerCreation: StatusCellPendingPartnerCreation,
|
|
12195
12209
|
StatusCellPayoutSent: StatusCellPayoutSent,
|
|
12196
12210
|
StatusCellPayoutFailed: StatusCellPayoutFailed,
|
|
12211
|
+
StatusCellPayoutCancelled: StatusCellPayoutCancelled,
|
|
12197
12212
|
StatusCellPendingWithLongText: StatusCellPendingWithLongText,
|
|
12198
12213
|
StatusCellPendingUsTax: StatusCellPendingUsTax,
|
|
12199
12214
|
StatusCellPendingScheduled: StatusCellPendingScheduled,
|
|
@@ -15090,11 +15105,19 @@ const defaultProps$m = {
|
|
|
15090
15105
|
payoutSettingsComplete: true,
|
|
15091
15106
|
};
|
|
15092
15107
|
const CompletedTaxForm = () => (h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } }));
|
|
15108
|
+
const CompletedTaxFormWithStatsContainer = () => (h("sqm-portal-container", { display: "flex", maxWidth: "100%", minWidth: "100%", "justify-content": "space-between", flexWrap: "nowrap" },
|
|
15109
|
+
h("sqm-portal-container", { display: "flex", "max-width": "fit-content" },
|
|
15110
|
+
h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/referralsCount" },
|
|
15111
|
+
h("p", null, "Referrals")),
|
|
15112
|
+
h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/payoutBalance" },
|
|
15113
|
+
h("p", null, "Cash Balance"))),
|
|
15114
|
+
h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } })));
|
|
15093
15115
|
|
|
15094
15116
|
const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
15095
15117
|
__proto__: null,
|
|
15096
15118
|
'default': PayoutButtonScroll_stories,
|
|
15097
|
-
CompletedTaxForm: CompletedTaxForm
|
|
15119
|
+
CompletedTaxForm: CompletedTaxForm,
|
|
15120
|
+
CompletedTaxFormWithStatsContainer: CompletedTaxFormWithStatsContainer
|
|
15098
15121
|
});
|
|
15099
15122
|
|
|
15100
15123
|
const PayoutStatusAlert_stories = {
|
|
@@ -1030,7 +1030,7 @@ function usePayoutStatus(props) {
|
|
|
1030
1030
|
data: { type },
|
|
1031
1031
|
text: props.getTextProps(),
|
|
1032
1032
|
callbacks: {
|
|
1033
|
-
onTermsClick: () => window.open(props.
|
|
1033
|
+
onTermsClick: () => window.open(props.cashPayoutsPageUrl, "_blank").focus(),
|
|
1034
1034
|
onClick: render,
|
|
1035
1035
|
},
|
|
1036
1036
|
};
|