@saasquatch/mint-components 2.0.1 → 2.0.2-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-1b38dcfc.js → ShadowViewAddon-925a8fa6.js} +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +339 -110
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +215 -26
- package/dist/cjs/sqm-header-logo.cjs.entry.js +14 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -1
- package/dist/cjs/{data-16106637.js → usePayoutStatus-67c78085.js} +161 -129
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +80 -3
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +46 -40
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +84 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +353 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +36 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +301 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +92 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +300 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -12
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +92 -9
- package/dist/esm/{ShadowViewAddon-1adaf077.js → ShadowViewAddon-aae27c2e.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +290 -61
- package/dist/esm/sqm-big-stat_47.entry.js +193 -4
- package/dist/esm/sqm-header-logo.entry.js +14 -1
- package/dist/esm/sqm-stencilbook.entry.js +2 -1
- package/dist/esm/{data-acdb790f.js → usePayoutStatus-f064247b.js} +162 -130
- package/dist/esm-es5/{ShadowViewAddon-1adaf077.js → ShadowViewAddon-aae27c2e.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_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/usePayoutStatus-f064247b.js +6 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-662ed116.system.entry.js → p-0649123a.system.entry.js} +1 -1
- package/dist/mint-components/p-2933bbe9.system.entry.js +1 -0
- package/dist/mint-components/p-2c86af62.system.entry.js +1 -0
- package/dist/mint-components/p-2e87159a.system.entry.js +1 -0
- package/dist/mint-components/p-2ed300e9.entry.js +1 -0
- package/dist/mint-components/p-3219fdbe.entry.js +99 -0
- package/dist/mint-components/{p-9f8d34d1.system.js → p-38f932ae.system.js} +1 -1
- package/dist/mint-components/p-40e0251f.system.js +6 -0
- package/dist/mint-components/{p-0e1a1b14.js → p-57ce33dd.js} +1 -1
- package/dist/mint-components/{p-31bba357.entry.js → p-5f3eafd4.entry.js} +2 -2
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-b1c4500e.entry.js +273 -0
- package/dist/mint-components/p-f17b6de6.js +157 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +14 -1
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +24 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +57 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +48 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +48 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -0
- package/dist/types/components.d.ts +331 -1
- 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/data-acdb790f.js +0 -6
- package/dist/mint-components/p-010957a1.entry.js +0 -99
- package/dist/mint-components/p-469a6450.system.js +0 -6
- package/dist/mint-components/p-720341b1.entry.js +0 -273
- package/dist/mint-components/p-a7ee19dc.entry.js +0 -1
- package/dist/mint-components/p-d2bb770d.system.entry.js +0 -1
- package/dist/mint-components/p-e1e7d01c.js +0 -157
- package/dist/mint-components/p-eea87fdc.system.entry.js +0 -1
- package/dist/mint-components/p-fedb9ab8.system.entry.js +0 -1
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import{k as n,f as t}from"./p-63e29387.js";import{d as e,J as o,$ as i,g as r,w as u,p as a}from"./p-0ec54f97.js";const d="sq:tax-and-cash",c="sq:tax-form-context",s="sq:user-info-query",f="sq:user-form-context",l="sq:finance-network-settings",m="sq:countries:list",v="sq:countries:sorted",E="sq:countries:query",p="sq:currencies:list",I="sq:currencies:query",h=e.gql`
|
|
2
|
+
query getUserTaxInfo {
|
|
3
|
+
user: viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
id
|
|
6
|
+
firstName
|
|
7
|
+
lastName
|
|
8
|
+
email
|
|
9
|
+
countryCode
|
|
10
|
+
customFields
|
|
11
|
+
rewards(limit: 1000) {
|
|
12
|
+
data {
|
|
13
|
+
statuses
|
|
14
|
+
partnerFundsTransfer {
|
|
15
|
+
id
|
|
16
|
+
status
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
managedIdentity {
|
|
21
|
+
uid
|
|
22
|
+
email
|
|
23
|
+
emailVerified
|
|
24
|
+
}
|
|
25
|
+
impactConnection {
|
|
26
|
+
connected
|
|
27
|
+
user {
|
|
28
|
+
firstName
|
|
29
|
+
lastName
|
|
30
|
+
}
|
|
31
|
+
publisher {
|
|
32
|
+
id
|
|
33
|
+
brandedSignup
|
|
34
|
+
countryCode
|
|
35
|
+
currency
|
|
36
|
+
billingAddress
|
|
37
|
+
billingCity
|
|
38
|
+
billingState
|
|
39
|
+
billingCountryCode
|
|
40
|
+
billingPostalCode
|
|
41
|
+
phoneNumberCountryCode
|
|
42
|
+
phoneNumber
|
|
43
|
+
taxInformation {
|
|
44
|
+
indirectTaxId
|
|
45
|
+
indirectTaxCountryCode
|
|
46
|
+
indirectTaxRegion
|
|
47
|
+
additionalTaxId
|
|
48
|
+
withholdingTaxId
|
|
49
|
+
withholdingTaxCountryCode
|
|
50
|
+
}
|
|
51
|
+
requiredTaxDocumentType
|
|
52
|
+
currentTaxDocument {
|
|
53
|
+
status
|
|
54
|
+
type
|
|
55
|
+
dateCreated
|
|
56
|
+
}
|
|
57
|
+
withdrawalSettings {
|
|
58
|
+
paymentMethod
|
|
59
|
+
paypalEmailAddress
|
|
60
|
+
bankCountry
|
|
61
|
+
bankAccountNumber
|
|
62
|
+
paymentSchedulingType
|
|
63
|
+
paymentThreshold
|
|
64
|
+
paymentDay
|
|
65
|
+
}
|
|
66
|
+
payoutsAccount {
|
|
67
|
+
hold
|
|
68
|
+
holdReasons
|
|
69
|
+
balance
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`,y=e.gql`
|
|
77
|
+
query getCountries {
|
|
78
|
+
impactPayoutCountries(limit: 1000) {
|
|
79
|
+
data {
|
|
80
|
+
countryCode
|
|
81
|
+
displayName
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
`,w=e.gql`
|
|
86
|
+
query currencies($locale: RSLocale) {
|
|
87
|
+
currencies(limit: 300) {
|
|
88
|
+
data {
|
|
89
|
+
displayName(locale: $locale)
|
|
90
|
+
currencyCode
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
`,N=e.gql`
|
|
95
|
+
query impactFinanceNetworkSettings(
|
|
96
|
+
$filter: ImpactFinanceNetworkSettingsFilterInput
|
|
97
|
+
) {
|
|
98
|
+
impactFinanceNetworkSettings(filter: $filter, limit: 1000) {
|
|
99
|
+
data {
|
|
100
|
+
countryCode
|
|
101
|
+
currency
|
|
102
|
+
defaultFinancePaymentMethodId
|
|
103
|
+
thresholdOptions
|
|
104
|
+
withdrawalSettingId
|
|
105
|
+
internationalEftFee
|
|
106
|
+
foreignFxFee
|
|
107
|
+
defaultFxFee
|
|
108
|
+
}
|
|
109
|
+
totalCount
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
`,b=4,_="sqm:tax-form-updated";var A=function(n){for(var t=Array(n.length),e=0;e<n.length;++e)t[e]=n[e];return t},R=function(n){return Array.isArray(n)?n:[n]},g=function(n,t){var e=n.tabIndex-t.tabIndex;if(e){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return e||n.index-t.index},T=function(n,t,e){return A(n).map((function(n,t){return{node:n,index:t,tabIndex:e&&-1===n.tabIndex?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(g)};const C=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"];var F=C.join(","),S=F+", [data-focus-guard]",D=function(n,t){return n.reduce((function(n,e){return n.concat(A(e.querySelectorAll(t?S:F)),e.parentNode?A(e.parentNode.querySelectorAll(C.join(","))).filter((function(n){return n===e})):[])}),[])},x=function n(t){return!t||t===document||t.nodeType===Node.DOCUMENT_NODE||!((e=window.getComputedStyle(t,null))&&e.getPropertyValue&&("none"===e.getPropertyValue("display")||"hidden"===e.getPropertyValue("visibility")))&&n(t.parentNode);var e},M=function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.push(t),t.parentNode&&n(t.parentNode,e),e},O=function(n,t){for(var e=M(n),o=M(t),i=0;i<e.length;i+=1){var r=e[i];if(o.indexOf(r)>=0)return r}return!1},V=function(n){return A(n).filter((function(n){return x(n)})).filter((function(n){return function(n){return!(("INPUT"===n.tagName||"BUTTON"===n.tagName)&&("hidden"===n.type||n.disabled))}(n)}))},q=function(n,t){return T(V(D(n,t)),!0,t)},L=function(n){return"INPUT"===n.tagName&&"radio"===n.type},U=function(n,t){return t.filter(L).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n},k=function(n,t){return n.length>1&&L(n[t])&&n[t].name?n.indexOf(U(n[t],n)):t},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},P=function n(t){for(var e=t.length,o=0;o<e;o+=1)for(var i=function(e){if(o!==e&&t[o].contains(t[e]))return{v:n(t.filter((function(n){return n!==t[e]})))}},r=0;r<e;r+=1){var u=i(r);if("object"===(void 0===u?"undefined":H(u)))return u.v}return t},B=function n(t){return t.parentNode?n(t.parentNode):t},W=function(n){return R(n).filter(Boolean).reduce((function(n,t){var e=t.getAttribute("data-focus-lock");return n.push.apply(n,e?P(A(B(t).querySelectorAll('[data-focus-lock="'+e+'"]:not([data-focus-lock-disabled="disabled"])'))):[t]),n}),[])},Y=function(n){return n&&n.dataset&&n.dataset.focusGuard},$=function(n){return!Y(n)},j=function(n,t){var e=document&&document.activeElement,o=W(n).filter($),i=function(n,t,e){var o=R(n),i=R(t),r=o[0],u=null;return i.filter(Boolean).forEach((function(n){u=O(u||n,n)||u,e.filter(Boolean).forEach((function(n){var t=O(r,n);t&&(u=!u||t.contains(u)?t:O(t,u))}))})),u}(e||n,n,o),r=q(o).filter((function(n){return $(n.node)}));if(r[0]||(r=(u=o,T(V(D(u)),!1)).filter((function(n){return $(n.node)})))[0]){var u,a,d,c,s,f=q([i]).map((function(n){return n.node})),l=(a=f,d=r,c=new Map,d.forEach((function(n){return c.set(n.node,n)})),a.map((function(n){return c.get(n)})).filter(Boolean)),m=l.map((function(n){return n.node})),v=function(n,t,e,o,i){var r,u=n.length,a=n[0],d=n[u-1],c=Y(e);if(!(n.indexOf(e)>=0)){var s=t.indexOf(e),f=t.indexOf(o||s),l=n.indexOf(o),m=s-f,v=t.indexOf(a),E=t.indexOf(d),p=k(n,0),I=k(n,u-1);return-1===s||-1===l?n.indexOf((r=i&&i.length?i:n)[0]&&r.length>1&&L(r[0])&&r[0].name?U(r[0],r):r[0]):!m&&l>=0?l:s<=v&&c&&Math.abs(m)>1?I:s>=v&&c&&Math.abs(m)>1?p:m&&Math.abs(m)>1?l:s<=v?I:s>E?p:m?Math.abs(m)>1?l:(u+l+m)%u:void 0}}(m,f,e,t,m.filter((s=function(n){return n.reduce((function(n,t){return n.concat(function(n){return V((t=n.querySelectorAll("[data-autofocus-inside]"),A(t).map((function(n){return D([n])})).reduce((function(n,t){return n.concat(t)}),[])));var t}(t))}),[])}(o),function(n){return!!n.autofocus||n.dataset&&!!n.dataset.autofocus||s.indexOf(n)>=0})));return void 0===v?v:l[v]}},K=function(n){return n===document.activeElement},Q=0,G=!1,z=0,X=null,J=function(){var n,t,e=!1;if(z){var o=z;document&&document.activeElement===document.body||document&&A(document.querySelectorAll("[data-no-focus-lock]")).some((function(n){return n.contains(document.activeElement)}))||(o&&(n=o,!(!(!(t=document&&document.activeElement)||t.dataset&&t.dataset.focusGuard)&&W(n).reduce((function(n,e){return n||e.contains(t)||function(n){return t=A(n.querySelectorAll("iframe")),e=K,!!t.filter((function(n){return n===e}))[0];var t,e}(e)}),!1)))&&(e=function(n){var t,e=j(n,X);if(!G&&e){if(Q>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),G=!0,void setTimeout((function(){G=!1}),1);Q++,(t=e.node).focus(),t.contentWindow&&t.contentWindow.focus(),Q--}}(o)),X=document.activeElement)}return e},Z=[],nn=function(n){return t=Z.filter((function(n){return n})).slice(-1)[0],z=t,!!void(t&&J())&&(n&&n.preventDefault(),!0);var t},tn=function(n){0===Z.length&&document.addEventListener("focusin",nn),Z.indexOf(n)<0&&(Z.push(n),nn())},en=function(){return"undefined"==typeof window},on=function(n){n=n||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(n);return{ios:!t&&/(iPhone\sOS)\s([\d_]+)/.test(n)||t,android:/(Android);?[\s/]+([\d.]+)?/.test(n)}},rn=0,un=0,an=0,dn=null,cn=!1,sn=[],fn=function(n){if(en())return!1;if(!n)throw new Error("options must be provided");var t=!1,e={get passive(){t=!0}},o=function(){},i="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(i,o,e),window.removeEventListener(i,o,e);var r=n.capture;return t?n:void 0!==r&&r}({passive:!1}),ln=!en()&&"scrollBehavior"in document.documentElement.style,mn=function(n){n.cancelable&&n.preventDefault()},vn=function(n){var t,e,o,i,r;en()||(on().ios?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){n&&-1===sn.indexOf(n)&&(n.ontouchstart=function(n){un=n.targetTouches[0].clientY,an=n.targetTouches[0].clientX},n.ontouchmove=function(t){1===t.targetTouches.length&&function(n,t){if(t){var e=t.scrollTop,o=t.scrollLeft,i=t.scrollWidth,r=t.scrollHeight,u=t.clientWidth,a=t.clientHeight,d=n.targetTouches[0].clientX-an,c=n.targetTouches[0].clientY-un,s=Math.abs(c)>Math.abs(d);if(s&&(c>0&&0===e||c<0&&e+a+1>=r)||!s&&(d>0&&0===o||d<0&&o+u+1>=i))return mn(n)}n.stopPropagation()}(t,n)},sn.push(n))})),cn||(document.addEventListener("touchmove",mn,fn),cn=!0)):rn<=0&&(dn=on().android?(t=document.documentElement,e=document.body,o=t.scrollTop||e.scrollTop,i=Object.assign({},t.style),r=Object.assign({},e.style),t.style.height="100%",t.style.overflow="hidden",e.style.top="-".concat(o,"px"),e.style.width="100%",e.style.height="auto",e.style.position="fixed",e.style.overflow="hidden",function(){t.style.height=i.height||"",t.style.overflow=i.overflow||"",["top","width","height","overflow","position"].forEach((function(n){e.style[n]=r[n]||""})),ln?window.scrollTo({top:o,behavior:"instant"}):window.scrollTo(0,o)}):function(){var n=document.body,t=Object.assign({},n.style),e=window.innerWidth-n.clientWidth;return n.style.overflow="hidden",n.style.boxSizing="border-box",n.style.paddingRight="".concat(e,"px"),function(){["overflow","boxSizing","paddingRight"].forEach((function(e){n.style[e]=t[e]||""}))}}()),rn+=1)},En=function(n){en()||(rn-=1)>0||(on().ios||"function"!=typeof dn?(n&&(Array.isArray(n)?n:[n]).forEach((function(n){var t=sn.indexOf(n);-1!==t&&(n.ontouchmove=null,n.ontouchstart=null,sn.splice(t,1))})),cn&&(document.removeEventListener("touchmove",mn,fn),cn=!1)):dn())};const pn="\n position: fixed !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n z-index: 9999999;\n display: block !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n background: rgba(0, 0, 0, 0.6);\n",In="\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n width: 100vw;\n height: 100%;\n margin: 0 !important;\n padding: 0 !important;\n background: none;\n border: none\n";let hn=function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n}({}),yn=function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n}({});function wn(n){let{url:t,lang:e,onEvent:o=(()=>{}),embedded:i=!1,embeddedOptions:r,onReload:u}=n;if(!t)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const a=function(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(n){return console.error("Error while checking if iframe is mobile",n),!1}return!1}(i);function d(){const n=document.getElementById("veriffFrame");if(n&&n.parentNode){t=n,Z=Z.filter((function(n){return n!==t})),nn(),0===Z.length&&document.removeEventListener("focusin",nn),En(n);let e=n.parentNode.parentNode,o=n.parentNode;i&&!a&&(e=n.parentNode,o=n),e&&e.removeChild(o)}else En();var t;window.removeEventListener("message",c)}function c(n){const t=document.getElementById("veriffFrame");n.data===hn.VERIFF_HANDSHAKE&&function(n,t){n.contentWindow?.postMessage({name:hn.VERIFF_RENDER,payload:t},"*")}(t,{version:"2.3.1",isReloadHandled:"function"==typeof u,isVeriffIframeMobile:a,embeddedConfigured:i,embedded:!a&&i}),n.data===hn.VERIFF_STARTED&&o(yn.STARTED),n.data===hn.VERIFF_CANCELED&&(d(),o(yn.CANCELED)),n.data===hn.VERIFF_SUBMITTED&&o(yn.SUBMITTED),n.data===hn.VERIFF_FINISHED&&(d(),o(yn.FINISHED)),n.data===hn.VERIFF_FORCE_RELOAD&&window.location.reload(),n.data===hn.VERIFF_RELOAD_REQUEST&&("function"==typeof u&&u(),o(yn.RELOAD_REQUEST))}return function(n,t,e,o){const i=document.createElement("iframe");if(i.src=n,i.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",i.id="veriffFrame",t)!function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{rootElementID:o}=t;if(e){n.style.cssText=In;const t=document.createElement("div");t.style.cssText=pn,t.appendChild(n),document.body.appendChild(t),tn(n),vn(n)}else{if(!o)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(o))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText="\n position: static;\n width: 100%;\n height: 100%;\n",document.getElementById(o).appendChild(n)}}(i,e,o);else{i.style.cssText=In;const n=function(){const n=document.createElement("div");return n.style.cssText=pn,n}();n.appendChild(i),document.body.appendChild(n),tn(i),vn(i)}}(e&&e.length>0?function(n,t,e){if(e){const t=new URL(n),o=t.searchParams;return o.set("lang",e),t.search=o.toString(),t.toString()}return n}(t,0,e):t,i,r,a),window.addEventListener("message",c),{close:d}}const Nn=e.gql`
|
|
113
|
+
mutation createImpactVerificationSession($user: UserIdInput!) {
|
|
114
|
+
createImpactPublisherIdentityVerificationSession(user: $user) {
|
|
115
|
+
sessionUrl
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
`,bn=e.gql`
|
|
119
|
+
mutation refreshImpactPublisherFinanceStatus($user: UserIdInput!) {
|
|
120
|
+
refreshImpactPublisherFinanceStatus(user: $user) {
|
|
121
|
+
id
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
`,_n="sqm:veriff-updated";function An(){const{id:n,accountId:t}=o(),[e,{loading:r,errors:u}]=i(Nn),[a,{loading:d,errors:c}]=i(bn);return{render:async()=>{try{const o=await e({user:{id:n,accountId:t}});if(!o||o.message)throw new Error;wn({url:o.createImpactPublisherIdentityVerificationSession.sessionUrl,onEvent:e=>{switch(e){case yn.FINISHED:case yn.CANCELED:(async()=>{try{const e=await a({user:{id:n,accountId:t}});if(!e||e.message)throw new Error;window.dispatchEvent(new Event("sqm:veriff-updated"))}catch(n){console.error("Failed to initialise Veriff:",n)}})()}}})}catch(n){console.error("Failed to initialise Veriff:",n)}},loading:r||d,errors:u||c}}const Rn=e.gql`
|
|
125
|
+
query getUserStatus {
|
|
126
|
+
user: viewer {
|
|
127
|
+
... on User {
|
|
128
|
+
id
|
|
129
|
+
impactConnection {
|
|
130
|
+
connected
|
|
131
|
+
publisher {
|
|
132
|
+
id
|
|
133
|
+
payoutsAccount {
|
|
134
|
+
hold
|
|
135
|
+
holdReasons
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
rewards(limit: 1000) {
|
|
140
|
+
data {
|
|
141
|
+
statuses
|
|
142
|
+
partnerFundsTransfer {
|
|
143
|
+
id
|
|
144
|
+
status
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
`,gn=e.gql`
|
|
152
|
+
query getTenantSettings {
|
|
153
|
+
tenantSettings {
|
|
154
|
+
enforceUsTaxCompliance
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
`;function Tn(n){var t,e,o,i,r,u,a,d,c,s,f,l,m,v,E,p,I,h,y,w,N;const b=null===(e=null===(t=n.user.impactConnection)||void 0===t?void 0:t.publisher)||void 0===e?void 0:e.payoutsAccount,_=null===(r=null===(i=null===(o=null==n?void 0:n.user)||void 0===o?void 0:o.rewards)||void 0===i?void 0:i.data)||void 0===r?void 0:r.find((n=>n.statuses.includes("REDEEMED")&&"TRANSFERRED"===n.partnerFundsTransfer.status));if(!(null===(a=null===(u=n.user)||void 0===u?void 0:u.impactConnection)||void 0===a?void 0:a.connected)||!b)return"INFORMATION_REQUIRED";const A=null===(c=null===(d=n.user.impactConnection)||void 0===d?void 0:d.publisher)||void 0===c?void 0:c.currentTaxDocument;return(null===(s=b.holdReasons)||void 0===s?void 0:s.includes("NO_W9_DOCUMENT"))&&!A?"OVER_W9_THRESHOLD":(null===(f=b.holdReasons)||void 0===f?void 0:f.includes("IDV_CHECK_REQUIRED"))?"VERIFICATION:REQUIRED":(null===(l=b.holdReasons)||void 0===l?void 0:l.includes("IDV_CHECK_REQUIRED_INTERNAL"))?"VERIFICATION:INTERNAL":(null===(m=b.holdReasons)||void 0===m?void 0:m.includes("IDV_CHECK_REVIEW_INTERNAL"))?"VERIFICATION:REVIEW":(null===(v=b.holdReasons)||void 0===v?void 0:v.includes("IDV_CHECK_FAILED_INTERNAL"))?"VERIFICATION:FAILED":(null===(E=b.holdReasons)||void 0===E?void 0:E.includes("NEW_PAYEE_REVIEW"))&&_?"NEW_PAYEE_REVIEW":(null===(p=b.holdReasons)||void 0===p?void 0:p.includes("PAYMENT_HOLD_ON_CHANGE"))?"PAYMENT_HOLD_ON_CHANGE":(null===(I=b.holdReasons)||void 0===I?void 0:I.includes("BENEFICIARY_NAME_INVALID"))?"BENEFICIARY_NAME_INVALID":(null===(h=b.holdReasons)||void 0===h?void 0:h.includes("BENEFICIARY_NAME_MISMATCH"))?"BENEFICIARY_NAME_MISMATCH":(null===(y=b.holdReasons)||void 0===y?void 0:y.includes("BANK_TAX_NAME_MISMATCH"))?"BANK_TAX_NAME_MISMATCH":(null===(w=b.holdReasons)||void 0===w?void 0:w.includes("WITHDRAWAL_SETTINGS_INVALID"))?"WITHDRAWAL_SETTINGS_INVALID":(null===(N=b.holdReasons)||void 0===N?void 0:N.includes("PAYMENT_RETURNED"))?"PAYMENT_RETURNED":b.hold?"HOLD":"DONE"}function Cn(e){var o;const{type:i}=r(),{loading:d,data:c,errors:s,refetch:f}=u(Rn,{}),{data:l}=u(gn,{}),{render:m,loading:v}=An(),[E,p]=n(void 0),I=a("sq:tax-form-context"),h=a("sq:tax-and-cash"),y=null===(o=null==l?void 0:l.tenantSettings)||void 0===o?void 0:o.enforceUsTaxCompliance;return t((()=>{if(!c)return;const n=Tn(c);p(n)}),[c]),t((()=>{const n=()=>f();return window.addEventListener("sqm:tax-form-updated",n),window.addEventListener("sqm:veriff-updated",n),()=>{window.removeEventListener("sqm:tax-form-updated",n),window.removeEventListener("sqm:veriff-updated",n)}}),[]),{states:{loading:d,veriffLoading:v,status:E,error:!!s,enforceUsTaxComplianceOption:y},data:{type:i},text:e.getTextProps(),callbacks:{onTermsClick:()=>{let n=e.cashPayoutsPageUrl;n.includes("#")&&(n=n.split("#")[0]),"INFORMATION_REQUIRED"===E?n+="#1":"OVER_W9_THRESHOLD"===E&&"CASH_ONLY_DEFER_W9"===y&&(n+="#3"),window.history.pushState(null,"",n)},onClick:m,onPaymentInfoClick:()=>{I({overrideNextStep:"/dashboard",overrideBackStep:"/dashboard",hideSteps:!0}),h("/4")},onNewFormClick:()=>{I({overrideNextStep:"/dashboard",overrideBackStep:"/dashboard",hideSteps:!0}),h("/3")}}}}export{p as C,l as F,h as G,v as S,d as T,f as U,_n as V,c as a,m as b,s as c,E as d,y as e,N as f,I as g,w as h,b as i,_ as j,An as k,Tn as l,Cn as u}
|
|
@@ -8,7 +8,20 @@ export declare class HeroImage {
|
|
|
8
8
|
* @format url
|
|
9
9
|
* @uiName Logo image
|
|
10
10
|
*/
|
|
11
|
-
imageUrl
|
|
11
|
+
imageUrl?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @uiName Logo text
|
|
14
|
+
*/
|
|
15
|
+
logoText?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @uiName Logo text
|
|
18
|
+
*/
|
|
19
|
+
logoTextSize?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @uiWidget color
|
|
22
|
+
* @uiName Logo text
|
|
23
|
+
*/
|
|
24
|
+
logoTextColor?: string;
|
|
12
25
|
/**
|
|
13
26
|
* Page participants are navigated to after clicking the header logo.
|
|
14
27
|
*
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
+
import { CurrentTaxDocument } from "../../../saasquatch";
|
|
2
|
+
import { TaxDocumentType } from "../data";
|
|
1
3
|
import { IndirectTaxForm } from "./sqm-indirect-tax-form";
|
|
4
|
+
export declare type ConnectPartnerResult = {
|
|
5
|
+
createImpactConnection: {
|
|
6
|
+
success: boolean;
|
|
7
|
+
validationErrors: {
|
|
8
|
+
field: string;
|
|
9
|
+
message: string;
|
|
10
|
+
}[];
|
|
11
|
+
user: {
|
|
12
|
+
id: string;
|
|
13
|
+
accountId: string;
|
|
14
|
+
impactConnection: {
|
|
15
|
+
connected: boolean;
|
|
16
|
+
publisher: {
|
|
17
|
+
brandedSignup: boolean;
|
|
18
|
+
requiredTaxDocumentType: TaxDocumentType | null;
|
|
19
|
+
currentTaxDocument: null | CurrentTaxDocument;
|
|
20
|
+
};
|
|
21
|
+
} | null;
|
|
22
|
+
} | null;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const CONNECT_PARTNER: string;
|
|
2
26
|
export declare function useIndirectTaxForm(props: IndirectTaxForm): {
|
|
3
27
|
states: {
|
|
4
28
|
step: string;
|
package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts
CHANGED
|
@@ -13,8 +13,12 @@ export interface PayoutStatusAlertViewProps {
|
|
|
13
13
|
callbacks: {
|
|
14
14
|
onClick: () => void;
|
|
15
15
|
onTermsClick: () => void;
|
|
16
|
+
onPaymentInfoClick: () => void;
|
|
17
|
+
onNewFormClick: () => void;
|
|
16
18
|
};
|
|
17
19
|
text: {
|
|
20
|
+
editPaymentInformationButton: string;
|
|
21
|
+
newFormButton: string;
|
|
18
22
|
informationRequiredHeader: string;
|
|
19
23
|
informationRequiredDescription: string;
|
|
20
24
|
informationRequiredButtonText: string;
|
|
@@ -29,6 +33,18 @@ export interface PayoutStatusAlertViewProps {
|
|
|
29
33
|
verificationFailedInternalDescription: string;
|
|
30
34
|
accountReviewHeader: string;
|
|
31
35
|
accountReviewDescription: string;
|
|
36
|
+
paymentHoldOnChangeHeader: string;
|
|
37
|
+
paymentHoldOnChangeDescription: string;
|
|
38
|
+
beneficiaryNameInvalidHeader: string;
|
|
39
|
+
beneficiaryNameInvalidDescription: string;
|
|
40
|
+
beneficiaryNameMismatchHeader: string;
|
|
41
|
+
beneficiaryNameMismatchDescription: string;
|
|
42
|
+
bankTaxNameMismatchHeader: string;
|
|
43
|
+
bankTaxNameMismatchDescription: string;
|
|
44
|
+
withdrawalSettingsInvalidHeader: string;
|
|
45
|
+
withdrawalSettingsInvalidDescription: string;
|
|
46
|
+
paymentReturnedHeader: string;
|
|
47
|
+
paymentReturnedDescription: string;
|
|
32
48
|
w9RequiredHeader: string;
|
|
33
49
|
w9RequiredDescription: string;
|
|
34
50
|
w9RequiredButtonText: string;
|
package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts
CHANGED
|
@@ -11,6 +11,15 @@ export declare class PayoutStatusAlert {
|
|
|
11
11
|
* @uiName Info required alert header
|
|
12
12
|
*/
|
|
13
13
|
informationRequiredHeader: string;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @uiName Edit payment info button label
|
|
17
|
+
*/
|
|
18
|
+
editPaymentInformationButton: string;
|
|
19
|
+
/**
|
|
20
|
+
* @uiName Submit new tax form button label
|
|
21
|
+
*/
|
|
22
|
+
newFormButton: string;
|
|
14
23
|
/**
|
|
15
24
|
* @uiName Info required alert description
|
|
16
25
|
*/
|
|
@@ -63,6 +72,54 @@ export declare class PayoutStatusAlert {
|
|
|
63
72
|
* @uiName Account review alert description
|
|
64
73
|
*/
|
|
65
74
|
accountReviewDescription: string;
|
|
75
|
+
/**
|
|
76
|
+
* @uiName Payment on hold alert header
|
|
77
|
+
*/
|
|
78
|
+
paymentHoldOnChangeHeader: string;
|
|
79
|
+
/**
|
|
80
|
+
* @uiName Payment on hold alert description
|
|
81
|
+
*/
|
|
82
|
+
paymentHoldOnChangeDescription: string;
|
|
83
|
+
/**
|
|
84
|
+
* @uiName Beneficiary name invalid alert header
|
|
85
|
+
*/
|
|
86
|
+
beneficiaryNameInvalidHeader: string;
|
|
87
|
+
/**
|
|
88
|
+
* @uiName Beneficiary name invalid description
|
|
89
|
+
*/
|
|
90
|
+
beneficiaryNameInvalidDescription: string;
|
|
91
|
+
/**
|
|
92
|
+
* @uiName Beneficiary name mismatch alert header
|
|
93
|
+
*/
|
|
94
|
+
beneficiaryNameMismatchHeader: string;
|
|
95
|
+
/**
|
|
96
|
+
* @uiName Beneficiary name mismatch alert description
|
|
97
|
+
*/
|
|
98
|
+
beneficiaryNameMismatchDescription: string;
|
|
99
|
+
/**
|
|
100
|
+
* @uiName Bank name mismatch alert header
|
|
101
|
+
*/
|
|
102
|
+
bankTaxNameMismatchHeader: string;
|
|
103
|
+
/**
|
|
104
|
+
* @uiName Bank name mismatch alert description
|
|
105
|
+
*/
|
|
106
|
+
bankTaxNameMismatchDescription: string;
|
|
107
|
+
/**
|
|
108
|
+
* @uiName Withdrawal settings invalid alert header
|
|
109
|
+
*/
|
|
110
|
+
withdrawalSettingsInvalidHeader: string;
|
|
111
|
+
/**
|
|
112
|
+
* @uiName Withdrawal settings invalid alert description
|
|
113
|
+
*/
|
|
114
|
+
withdrawalSettingsInvalidDescription: string;
|
|
115
|
+
/**
|
|
116
|
+
* @uiName Payment returned alert header
|
|
117
|
+
*/
|
|
118
|
+
paymentReturnedHeader: string;
|
|
119
|
+
/**
|
|
120
|
+
* @uiName Payment returned alert description
|
|
121
|
+
*/
|
|
122
|
+
paymentReturnedDescription: string;
|
|
66
123
|
/**
|
|
67
124
|
* @uiName W-9 payment threshold alert header
|
|
68
125
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserQuery } from "../data";
|
|
2
2
|
import { PayoutStatusAlert } from "./sqm-payout-status-alert";
|
|
3
3
|
export declare type EnforceUsTaxComplianceOption = "NONE" | "EXPLICIT_COUNTRY_CODE" | "IMPLIED_COUNTRY_CODE" | "ALL" | "CASH_ONLY" | "CASH_ONLY_DEFER_W9";
|
|
4
|
-
export declare type PayoutStatus = "OVER_W9_THRESHOLD" | "INFORMATION_REQUIRED" | "VERIFICATION:REQUIRED" | "VERIFICATION:INTERNAL" | "VERIFICATION:REVIEW" | "VERIFICATION:FAILED" | "
|
|
4
|
+
export declare type PayoutStatus = "OVER_W9_THRESHOLD" | "INFORMATION_REQUIRED" | "VERIFICATION:REQUIRED" | "VERIFICATION:INTERNAL" | "VERIFICATION:REVIEW" | "VERIFICATION:FAILED" | "NEW_PAYEE_REVIEW" | "PAYMENT_HOLD_ON_CHANGE" | "BENEFICIARY_NAME_INVALID" | "BENEFICIARY_NAME_MISMATCH" | "BANK_TAX_NAME_MISMATCH" | "WITHDRAWAL_SETTINGS_INVALID" | "PAYMENT_RETURNED" | "HOLD" | "DONE";
|
|
5
5
|
export declare type TenantSettingsQuery = {
|
|
6
6
|
tenantSettings: {
|
|
7
7
|
enforceUsTaxCompliance: EnforceUsTaxComplianceOption;
|
|
@@ -23,5 +23,7 @@ export declare function usePayoutStatus(props: PayoutStatusAlert): {
|
|
|
23
23
|
callbacks: {
|
|
24
24
|
onTermsClick: () => void;
|
|
25
25
|
onClick: () => Promise<void>;
|
|
26
|
+
onPaymentInfoClick: () => void;
|
|
27
|
+
onNewFormClick: () => void;
|
|
26
28
|
};
|
|
27
29
|
};
|
|
@@ -915,6 +915,54 @@ export declare class TaxAndCashMonolith {
|
|
|
915
915
|
* @uiName Account review alert description
|
|
916
916
|
*/
|
|
917
917
|
dashboard_accountReviewDescription: string;
|
|
918
|
+
/**
|
|
919
|
+
* @uiName Payment on hold alert header
|
|
920
|
+
*/
|
|
921
|
+
dashboard_paymentOnHoldHeader: string;
|
|
922
|
+
/**
|
|
923
|
+
* @uiName Payment on hold alert description
|
|
924
|
+
*/
|
|
925
|
+
dashboard_paymentOnHoldDescription: string;
|
|
926
|
+
/**
|
|
927
|
+
* @uiName Beneficiary name invalid alert header
|
|
928
|
+
*/
|
|
929
|
+
dashboard_beneficiaryNameInvalidHeader: string;
|
|
930
|
+
/**
|
|
931
|
+
* @uiName Beneficiary name invalid description
|
|
932
|
+
*/
|
|
933
|
+
dashboard_beneficiaryNameInvalidDescription: string;
|
|
934
|
+
/**
|
|
935
|
+
* @uiName Beneficiary name mismatch alert header
|
|
936
|
+
*/
|
|
937
|
+
dashboard_beneficiaryNameMismatchHeader: string;
|
|
938
|
+
/**
|
|
939
|
+
* @uiName Beneficiary name mismatch alert description
|
|
940
|
+
*/
|
|
941
|
+
dashboard_beneficiaryNameMismatchDescription: string;
|
|
942
|
+
/**
|
|
943
|
+
* @uiName Bank name mismatch alert header
|
|
944
|
+
*/
|
|
945
|
+
dashboard_bankNameMismatchHeader: string;
|
|
946
|
+
/**
|
|
947
|
+
* @uiName Bank name mismatch alert description
|
|
948
|
+
*/
|
|
949
|
+
dashboard_bankNameMismatchDescription: string;
|
|
950
|
+
/**
|
|
951
|
+
* @uiName Withdrawal settings invalid alert header
|
|
952
|
+
*/
|
|
953
|
+
dashboard_withdrawalSettingsInvalidHeader: string;
|
|
954
|
+
/**
|
|
955
|
+
* @uiName Withdrawal settings invalid alert description
|
|
956
|
+
*/
|
|
957
|
+
dashboard_withdrawalSettingsInvalidDescription: string;
|
|
958
|
+
/**
|
|
959
|
+
* @uiName Payment returned alert header
|
|
960
|
+
*/
|
|
961
|
+
dashboard_paymentReturnedHeader: string;
|
|
962
|
+
/**
|
|
963
|
+
* @uiName Payment returned alert description
|
|
964
|
+
*/
|
|
965
|
+
dashboard_paymentReturnedDescription: string;
|
|
918
966
|
/**
|
|
919
967
|
* @uiName Terms and Conditions text
|
|
920
968
|
* @uiGroup Dashboard Properties
|
|
@@ -98,6 +98,18 @@ export interface TaxAndCashDashboardProps {
|
|
|
98
98
|
verificationFailedInternalDescription: string;
|
|
99
99
|
accountReviewHeader: string;
|
|
100
100
|
accountReviewDescription: string;
|
|
101
|
+
paymentHoldOnChangeHeader: string;
|
|
102
|
+
paymentHoldOnChangeDescription: string;
|
|
103
|
+
beneficiaryNameInvalidHeader: string;
|
|
104
|
+
beneficiaryNameInvalidDescription: string;
|
|
105
|
+
beneficiaryNameMismatchHeader: string;
|
|
106
|
+
beneficiaryNameMismatchDescription: string;
|
|
107
|
+
bankTaxNameMismatchHeader: string;
|
|
108
|
+
bankTaxNameMismatchDescription: string;
|
|
109
|
+
withdrawalSettingsInvalidHeader: string;
|
|
110
|
+
withdrawalSettingsInvalidDescription: string;
|
|
111
|
+
paymentReturnedHeader: string;
|
|
112
|
+
paymentReturnedDescription: string;
|
|
101
113
|
w9RequiredHeader: string;
|
|
102
114
|
w9RequiredDescription: string;
|
|
103
115
|
w9RequiredButtonText: string;
|
|
@@ -241,6 +241,54 @@ export declare class TaxAndCashDashboard {
|
|
|
241
241
|
* @uiName Account review alert description
|
|
242
242
|
*/
|
|
243
243
|
accountReviewDescription: string;
|
|
244
|
+
/**
|
|
245
|
+
* @uiName Payment hold on change alert header
|
|
246
|
+
*/
|
|
247
|
+
paymentHoldOnChangeHeader: string;
|
|
248
|
+
/**
|
|
249
|
+
* @uiName Payment hold on change alert description
|
|
250
|
+
*/
|
|
251
|
+
paymentHoldOnChangeDescription: string;
|
|
252
|
+
/**
|
|
253
|
+
* @uiName Beneficiary name invalid alert header
|
|
254
|
+
*/
|
|
255
|
+
beneficiaryNameInvalidHeader: string;
|
|
256
|
+
/**
|
|
257
|
+
* @uiName Beneficiary name invalid description
|
|
258
|
+
*/
|
|
259
|
+
beneficiaryNameInvalidDescription: string;
|
|
260
|
+
/**
|
|
261
|
+
* @uiName Beneficiary name mismatch alert header
|
|
262
|
+
*/
|
|
263
|
+
beneficiaryNameMismatchHeader: string;
|
|
264
|
+
/**
|
|
265
|
+
* @uiName Beneficiary name mismatch alert description
|
|
266
|
+
*/
|
|
267
|
+
beneficiaryNameMismatchDescription: string;
|
|
268
|
+
/**
|
|
269
|
+
* @uiName Bank name mismatch alert header
|
|
270
|
+
*/
|
|
271
|
+
bankTaxNameMismatchHeader: string;
|
|
272
|
+
/**
|
|
273
|
+
* @uiName Bank name mismatch alert description
|
|
274
|
+
*/
|
|
275
|
+
bankTaxNameMismatchDescription: string;
|
|
276
|
+
/**
|
|
277
|
+
* @uiName Withdrawal settings invalid alert header
|
|
278
|
+
*/
|
|
279
|
+
withdrawalSettingsInvalidHeader: string;
|
|
280
|
+
/**
|
|
281
|
+
* @uiName Withdrawal settings invalid alert description
|
|
282
|
+
*/
|
|
283
|
+
withdrawalSettingsInvalidDescription: string;
|
|
284
|
+
/**
|
|
285
|
+
* @uiName Payment returned alert header
|
|
286
|
+
*/
|
|
287
|
+
paymentReturnedHeader: string;
|
|
288
|
+
/**
|
|
289
|
+
* @uiName Payment returned alert description
|
|
290
|
+
*/
|
|
291
|
+
paymentReturnedDescription: string;
|
|
244
292
|
/**
|
|
245
293
|
* @uiName Terms and Conditions text
|
|
246
294
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ImpactPublisher } from "../data";
|
|
1
2
|
export interface UserInfoFormViewProps {
|
|
2
3
|
states: {
|
|
3
4
|
step?: string;
|
|
@@ -64,6 +65,7 @@ export interface UserInfoFormViewProps {
|
|
|
64
65
|
currencyCode: string;
|
|
65
66
|
displayName: string;
|
|
66
67
|
}[];
|
|
68
|
+
partnerData: ImpactPublisher;
|
|
67
69
|
};
|
|
68
70
|
callbacks: {
|
|
69
71
|
setCurrencySearch: (c: any) => void;
|