@primer-io/primer-js 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/chunks/{ar.KRXB3WQO.js → ar.44J7SJG6.js} +1 -1
- package/dist/chunks/{bg.6SKJRXIR.js → bg.LT2YIFOH.js} +1 -1
- package/dist/chunks/{ca.SANDLFEK.js → ca.KUW6ECYF.js} +1 -1
- package/dist/chunks/{chunk.QMLIEEKM.js → chunk.TIWM3PQ7.js} +1 -1
- package/dist/chunks/{cs.FC4I5M3C.js → cs.XQGMKIF3.js} +1 -1
- package/dist/chunks/{da.YI32NZ7B.js → da.HKIIDZRJ.js} +1 -1
- package/dist/chunks/{de.7M7UFQB7.js → de.O6IUA6FB.js} +1 -1
- package/dist/chunks/{el.XSGTYDZR.js → el.F35KS4NO.js} +1 -1
- package/dist/chunks/en-GB.PU23XE2E.js +1 -0
- package/dist/chunks/en.HQJMDTVQ.js +1 -0
- package/dist/chunks/{es-AR.TBWVUZEF.js → es-AR.OZ6CT5HA.js} +1 -1
- package/dist/chunks/{es-MX.6EMWUABR.js → es-MX.E4FWJ3FK.js} +1 -1
- package/dist/chunks/{es.XZLDFHYI.js → es.HEWO2JY7.js} +1 -1
- package/dist/chunks/{et-EE.JBSFMKZ2.js → et-EE.3GAJR6UB.js} +1 -1
- package/dist/chunks/{fi-FI.I75VK2ID.js → fi-FI.4TB5AYVQ.js} +1 -1
- package/dist/chunks/{fr.JBNP6RXT.js → fr.5GQNZ4TX.js} +1 -1
- package/dist/chunks/{he.PW253QAL.js → he.WGVF57WV.js} +1 -1
- package/dist/chunks/{hr.LM4RITYJ.js → hr.YPXJZUYV.js} +1 -1
- package/dist/chunks/{hu.JGCKQA6J.js → hu.RX3HFOR5.js} +1 -1
- package/dist/chunks/{id.VBXULDDY.js → id.3SO7FJHW.js} +1 -1
- package/dist/chunks/{it.7Q6BFLDK.js → it.Y7247AOF.js} +1 -1
- package/dist/chunks/{ja.QOC76SSC.js → ja.L6PF6O6A.js} +1 -1
- package/dist/chunks/{ko.BANZIFNH.js → ko.X53AFCXY.js} +1 -1
- package/dist/chunks/{lt-LT.Q2SRJOKH.js → lt-LT.HMQT67X4.js} +1 -1
- package/dist/chunks/{lt.XMNFEN5T.js → lt.YJ3FR7A2.js} +1 -1
- package/dist/chunks/{lv-LV.3AJDTMU5.js → lv-LV.HLFWSCCR.js} +1 -1
- package/dist/chunks/{lv.TFPDXNEV.js → lv.DEK5WXQB.js} +1 -1
- package/dist/chunks/{ms.FPTX4NM4.js → ms.E6PXJ4SR.js} +1 -1
- package/dist/chunks/{nb.CAFSKRQ2.js → nb.7357HC5J.js} +1 -1
- package/dist/chunks/{nl.7BPSDYTC.js → nl.QBFQWQBY.js} +1 -1
- package/dist/chunks/{nl_NL.6ZVCFPVW.js → nl_NL.RS7W3XGO.js} +1 -1
- package/dist/chunks/{pl.RF34QM23.js → pl.FSJRWYQ5.js} +1 -1
- package/dist/chunks/{pt-BR.AKDHLRUA.js → pt-BR.WVYS3Y2I.js} +1 -1
- package/dist/chunks/{pt.VBALOWHZ.js → pt.LUSIBC5X.js} +1 -1
- package/dist/chunks/{ro.WN7VCF27.js → ro.TKERTYBG.js} +1 -1
- package/dist/chunks/{ru.ICXGVGRR.js → ru.VPEQHZ2S.js} +1 -1
- package/dist/chunks/{sk.SIP5JIOX.js → sk.QFMGH6WL.js} +1 -1
- package/dist/chunks/{sl.R77UEKCA.js → sl.RUAKKCKD.js} +1 -1
- package/dist/chunks/{sr-RS.6M2YSTDX.js → sr-RS.WSZIECEH.js} +1 -1
- package/dist/chunks/{sv.33ZY4CDS.js → sv.AHI2S45X.js} +1 -1
- package/dist/chunks/{th.M27YUIZC.js → th.ZKRE26WN.js} +1 -1
- package/dist/chunks/{tr.Q2SIY6NA.js → tr.6NOOTQVO.js} +1 -1
- package/dist/chunks/{uk-UA.EJZOGSJR.js → uk-UA.A6S7PXDN.js} +1 -1
- package/dist/chunks/{vi.3RROGLXM.js → vi.4Z5L3EAS.js} +1 -1
- package/dist/chunks/{zh-CN.MQHNRMN4.js → zh-CN.SN6TXY6W.js} +1 -1
- package/dist/chunks/{zh-HK.WNR7XUSX.js → zh-HK.SQG5YIVQ.js} +1 -1
- package/dist/chunks/{zh-TW.GNCY2PNY.js → zh-TW.P2X3B7LC.js} +1 -1
- package/dist/custom-elements.json +1234 -967
- package/dist/jsx/index.d.ts +2 -2
- package/dist/primer-loader.d.ts +150 -19
- package/dist/primer-loader.js +15 -10
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +2 -2
- package/package.json +1 -1
- package/dist/chunks/en-GB.VO4GDE3X.js +0 -1
- package/dist/chunks/en.MNFLVOE3.js +0 -1
|
@@ -49,268 +49,268 @@
|
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"kind": "variable",
|
|
52
|
-
"name": "
|
|
52
|
+
"name": "dr",
|
|
53
53
|
"default": "class{constructor(t){this._methods=t}get(t){return this._methods.get(t)}toArray(){return Array.from(this._methods.values())}size(){return this._methods.size}}"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"kind": "variable",
|
|
57
|
-
"name": "
|
|
57
|
+
"name": "cr",
|
|
58
58
|
"default": "class{constructor(t){this._methods=t}get(t){return this._methods.get(t)}toArray(){return Array.from(this._methods.values())}size(){return this._methods.size}}"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"kind": "variable",
|
|
62
|
-
"name": "
|
|
63
|
-
"default": "class extends v{constructor(){super(...arguments);this.size=\"large\";this.showCloseButton=!1;this.open=!1}openDialog(){this.open=!0}closeDialog(){let e=document.querySelector(\"primer-dialog\");if(e){e.startExitAnimation();let a=()=>{this.open=!1,this.removeEventListener(\"primer-dialog-close\",a)};this.addEventListener(\"primer-dialog-close\",a)}else this.open=!1}renderContent(){return p`<div class=\"content-container\"><slot></slot>${this.renderSecureHtmlContent()}</div>`}renderSecureHtmlContent(){return this.secureHtmlContent?
|
|
62
|
+
"name": "ue",
|
|
63
|
+
"default": "class extends v{constructor(){super(...arguments);this.size=\"large\";this.showCloseButton=!1;this.open=!1}openDialog(){this.open=!0}closeDialog(){let e=document.querySelector(\"primer-dialog\");if(e){e.startExitAnimation();let a=()=>{this.open=!1,this.removeEventListener(\"primer-dialog-close\",a)};this.addEventListener(\"primer-dialog-close\",a)}else this.open=!1}renderContent(){return p`<div class=\"content-container\"><slot></slot>${this.renderSecureHtmlContent()}</div>`}renderSecureHtmlContent(){return this.secureHtmlContent?Wi(this.secureHtmlContent)?p`${ds(this.secureHtmlContent.content)}`:(T.warn(\"PortalDialogComponent: Invalid access token provided for htmlContent. Content will not be rendered.\"),y):y}renderDialog(){return this.open?p`<primer-portal><primer-dialog .open=${this.open} size=${this.size} .showCloseButton=${!1} @primer-dialog-close=\"${()=>this.closeDialog()}\" >${this.renderContent()}</primer-dialog></primer-portal>`:y}connectedCallback(){super.connectedCallback(),this.open||this.openDialog()}updated(e){if(super.updated(e),e.has(\"secureHtmlContent\")){let a=this.secureHtmlContent;a&&!Wi(a)&&(T.errorWithDatadog(\"PortalDialogComponent: Invalid access token provided for htmlContent. Content will not be rendered.\"),this.secureHtmlContent=void 0)}e.has(\"open\")&&this.open&&this.onOpen&&this.onOpen(),e.has(\"open\")&&this.open&&this.onContentRendered&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this.onContentRendered?.()})})}render(){return p`${this.renderDialog()}`}}"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"kind": "variable",
|
|
67
|
-
"name": "
|
|
68
|
-
"default": "class extends v{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this.disableLoader=!1;this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this._eventListenerController=null;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new
|
|
67
|
+
"name": "Te",
|
|
68
|
+
"default": "class extends v{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this.disableLoader=!1;this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this._eventListenerController=null;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new ar(this),this.sdkStateController=new tr(this),this.primerEventsController=new jt(this),this.styleProcessingController=new rr(this),this.vaultManagerController=new ua(this),this.cardNetworkController=new Ra(this),this.achPaymentEventsController=new Rr(this),this.headlessSdkController=new Lr(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}get primerJS(){return this.headlessSdkController?.primerJSInstance??void 0}connectedCallback(){super.connectedCallback(),this.sdkContextController.setEventsController(this.primerEventsController),this._eventListenerController=new AbortController,document.addEventListener(\"primer:card-submit\",this.handleExternalCardSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:vault-submit\",this.handleExternalVaultSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:show-other-payments-toggle\",this.handleExternalShowOtherPaymentsToggle.bind(this),{signal:this._eventListenerController.signal})}attributeChangedCallback(e,a,i){e===yp.CUSTOM_STYLES?this.styleProcessingController.processCustomStyles(i):super.attributeChangedCallback(e,a,i)}disconnectedCallback(){this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null),this.sdkStateController?.currentState.isLoading&&this.sdkStateController.forceCompleteLoading(),this._eventListenerController&&(this._eventListenerController.abort(),this._eventListenerController=null),super.disconnectedCallback()}willUpdate(e){e.has(\"options\")&&(this.options?.locale&&(Ki(this.options?.locale)?this.locale=Ui(this.options?.locale):T.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to default locale `en-GB`\")),Oi(this.locale||\"en-GB\"))}updated(){let e=getComputedStyle(this);this.sdkContextController.setComputedStyles(e),this.checkLoadingStateChange()}handleExternalCardSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:card-submit\",e.detail)}handleExternalVaultSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:vault-submit\",e.detail)}handleExternalShowOtherPaymentsToggle(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:show-other-payments-toggle\",e.detail)}checkLoadingStateChange(){let e=this.sdkStateController?.currentState.isLoading||!1;if(this.previousLoadingState&&!e){this.jsInitialized=!0,Z({eventName:\"CHECKOUT_FLOW_STARTED\"});let a=Fe.getSdkInitStartTime(),i=a?Date.now()-a:void 0;So(i)}this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.currentState.isLoading&&(T.warn(\"Loading timeout in component, forcing completion\"),this.sdkStateController.forceCompleteLoading(),this.jsInitialized=!0),this._loadingTimeoutId=null},1e4):!e&&this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null)}render(){let e=this.sdkStateController.currentState,a=e.isLoading,i=e.primerJsError,n=!a&&!i;return p` ${R(a,()=>y)} ${R(i,()=>p`<primer-checkout-error></primer-checkout-error>`)} ${R(n,()=>p`<slot name=\"main\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<primer-main></primer-main>`)} `,()=>y)} `}addEventListener(e,a,i){super.addEventListener(e,a,i)}removeEventListener(e,a,i){super.removeEventListener(e,a,i)}}"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"kind": "function",
|
|
72
|
-
"name": "
|
|
72
|
+
"name": "Cs"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"kind": "function",
|
|
76
|
-
"name": "
|
|
76
|
+
"name": "Ms"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"kind": "function",
|
|
80
|
-
"name": "
|
|
80
|
+
"name": "Ap"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"kind": "function",
|
|
84
|
-
"name": "
|
|
84
|
+
"name": "Cp"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"kind": "variable",
|
|
88
|
-
"name": "
|
|
89
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in
|
|
88
|
+
"name": "$e",
|
|
89
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in Xi)return Xi[this.size];let e=parseInt(this.size,10);return isNaN(e)?Xi.medium:e}render(){let e=this.getSize(),a=20,i=`0 0 ${a} ${a}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),p`<div class=\"spinner-container ${this.compact?\"compact\":\"\"}\"><svg class=\"spinner\" width=\"${e}\" height=\"${e}\" viewBox=\"${i}\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"status\" aria-label=\"Loading\" ><path d=\"M4.27827 10.002C4.27827 6.84166 6.84019 4.27973 10.0005 4.27973C10.7676 4.27973 11.3894 3.6579 11.3894 2.89084C11.3894 2.12378 10.7676 1.50195 10.0005 1.50195C5.30607 1.50195 1.50049 5.30753 1.50049 10.002C1.50049 14.6964 5.30607 18.502 10.0005 18.502C14.6949 18.502 18.5005 14.6964 18.5005 10.002C18.5005 9.23489 17.8787 8.61306 17.1116 8.61306C16.3445 8.61306 15.7227 9.23489 15.7227 10.002C15.7227 13.1622 13.1608 15.7242 10.0005 15.7242C6.84019 15.7242 4.27827 13.1622 4.27827 10.002Z\" fill=\"currentColor\" class=\"path\" /></svg></div>`}}"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"kind": "variable",
|
|
93
|
-
"name": "
|
|
94
|
-
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let a=this.findSlottedPrimerInput();a?a.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),a=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(a)return a;for(let i of e){let n=i.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return p`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${
|
|
93
|
+
"name": "ze",
|
|
94
|
+
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let a=this.findSlottedPrimerInput();a?a.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),a=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(a)return a;for(let i of e){let n=i.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return p`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${oe(e)}\" @click=\"${this.handleWrapperClick}\"><slot name=\"input\"></slot></div><slot name=\"error\"></slot></div>`}}"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"kind": "variable",
|
|
98
|
-
"name": "
|
|
98
|
+
"name": "it",
|
|
99
99
|
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.disabled=!1}render(){return p`<label for=${this.for}><slot></slot></label>`}}"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"kind": "variable",
|
|
103
|
-
"name": "
|
|
104
|
-
"default": "class extends v{constructor(){super(...arguments);this.variant=\"primary\";this.disabled=!1;this.loading=!1;this.buttonType=\"button\";this.selectionState=\"default\";this.selectable=!1;this.flex=!0;this.handleClick=()=>{!this.selectable||this.disabled||this.loading||(this.selectionState=this.selectionState===\"default\"?\"checked\":\"default\",this.dispatchEvent(new CustomEvent(\"selection-change\",{bubbles:!0,composed:!0,detail:{state:this.selectionState}})))}}renderCheckmark(){return!this.selectable||this.selectionState!==\"checked\"||this.loading?
|
|
103
|
+
"name": "ve",
|
|
104
|
+
"default": "class extends v{constructor(){super(...arguments);this.variant=\"primary\";this.disabled=!1;this.loading=!1;this.buttonType=\"button\";this.selectionState=\"default\";this.selectable=!1;this.flex=!0;this.handleClick=()=>{!this.selectable||this.disabled||this.loading||(this.selectionState=this.selectionState===\"default\"?\"checked\":\"default\",this.dispatchEvent(new CustomEvent(\"selection-change\",{bubbles:!0,composed:!0,detail:{state:this.selectionState}})))}}renderCheckmark(){return!this.selectable||this.selectionState!==\"checked\"||this.loading?y:p`<primer-icon name=\"checkmark\" size=\"sm\" color=\"var(--primer-color-brand)\" ></primer-icon>`}renderSpinner(){if(!this.loading)return y;let e;return this.variant===\"primary\"?e=\"var(--primer-color-background-outlined-default)\":(this.variant===\"secondary\"||this.variant===\"tertiary\")&&(e=\"var(--primer-color-gray-900)\"),p`<primer-spinner size=\"small\" color=\"${e}\" compact ></primer-spinner>`}render(){return p`<button type=${this.buttonType} ?disabled=${this.disabled||this.loading} @click=${this.handleClick} part=\"button\" aria-checked=${this.selectionState===\"checked\"} aria-busy=${this.loading} aria-label=${this.ariaLabel?this.ariaLabel:y} >${this.renderSpinner()} ${this.flex?p`<span class=\"button-content ${this.loading?\"loading\":\"\"}\"><slot></slot></span>`:p`<span class=\"button-content-base ${this.loading?\"loading\":\"\"}\" ><slot></slot></span>`} ${this.renderCheckmark()}</button>`}}"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"kind": "variable",
|
|
108
|
-
"name": "
|
|
108
|
+
"name": "nt",
|
|
109
109
|
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.active=!0}render(){return p`<span class=\"error\" role=\"alert\" aria-live=\"polite\" id=\"${this.for||\"\"}\" ><slot></slot></span>`}}"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"kind": "variable",
|
|
113
|
-
"name": "
|
|
114
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?
|
|
113
|
+
"name": "je",
|
|
114
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?ks[this.name]:null;return p`<div style=\"--internal-icon-color: ${this.color}\">${e||p`<slot></slot>`}</div>`}}"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"kind": "variable",
|
|
118
|
-
"name": "
|
|
118
|
+
"name": "ot",
|
|
119
119
|
"default": "class extends v{constructor(){super(...arguments);this.type=\"complete\"}render(){return this.type===\"complete\"?p`<primer-icon size=\"lg\" name=\"successful-check\" color=\"var(--primer-color-icon-positive)\" ></primer-icon><p>Checkout complete!</p><p class=\"secondary\"> You'll be redirected to the order confirmation page soon. </p>`:p`<primer-icon size=\"lg\" name=\"failure-icon\" color=\"var(--primer-color-icon-negative)\" ></primer-icon><p>Payment failed</p>${this.description?p`<p class=\"secondary\">${this.description}</p>`:p`<p class=\"secondary\">Something went wrong.</p>`} `}}"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"kind": "variable",
|
|
123
|
-
"name": "
|
|
123
|
+
"name": "Y",
|
|
124
124
|
"default": "class extends v{constructor(){super(...arguments);this.value=\"\";this.placeholder=\"\";this.disabled=!1;this.name=\"\";this.type=\"text\";this.required=!1;this.readonly=!1;this.pattern=\"\";this.min=\"\";this.max=\"\";this.step=\"\";this.autocomplete=\"\";this._id=\"\";this.hasFocus=!1;this.hasError=!1;this.handleInput=e=>{e.stopPropagation();let a=e.target;this.value=a.value;let i=new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0});this.dispatchEvent(i)};this.handleChange=e=>{e.stopPropagation();let a=e.target;this.value=a.value;let i=new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0});this.dispatchEvent(i)};this.handleFocus=()=>{this.hasFocus=!0,this.dispatchEvent(new FocusEvent(\"focus\",{bubbles:!0,composed:!0}))};this.handleBlur=()=>{this.hasFocus=!1,this.dispatchEvent(new FocusEvent(\"blur\",{bubbles:!0,composed:!0}))};this.handleInvalid=e=>{e.stopPropagation(),this.hasError=!0,this.dispatchEvent(new Event(\"invalid\",{bubbles:!0,composed:!0}))}}get id(){return this._id}set id(e){this._id=e,this.setAttribute(\"id\",e)}focus(e){this.inputElement?.focus(e)}blur(){this.inputElement?.blur()}select(){this.inputElement?.select()}setSelectionRange(e,a,i){this.inputElement?.setSelectionRange(e,a,i)}get validity(){return this.inputElement?.validity||{}}get validationMessage(){return this.inputElement?.validationMessage||\"\"}checkValidity(){return this.inputElement?.checkValidity()||!1}reportValidity(){return this.inputElement?.reportValidity()||!1}render(){let e={input:!0,\"input--focused\":this.hasFocus,\"input--disabled\":this.disabled,\"input--error\":this.hasError,\"input--readonly\":this.readonly},a=Object.entries(e).filter(([,i])=>i).map(([i])=>i).join(\" \");return p`<input part=\"input\" class=${a} .value=${this.value} .type=${this.type} ?disabled=${this.disabled} ?required=${this.required} ?readonly=${this.readonly} placeholder=${this.placeholder} pattern=${this.pattern} minlength=${this.minlength??\"\"} maxlength=${this.maxlength??\"\"} min=${this.min} max=${this.max} step=${this.step} autocomplete=${this.autocomplete} name=${this.name} id=${this.id} @input=${this.handleInput} @change=${this.handleChange} @focus=${this.handleFocus} @blur=${this.handleBlur} @invalid=${this.handleInvalid} />`}addEventListener(e,a,i){super.addEventListener(e,a,i)}removeEventListener(e,a,i){super.removeEventListener(e,a,i)}}"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"kind": "variable",
|
|
128
|
-
"name": "
|
|
129
|
-
"default": "class extends v{constructor(){super(...arguments);this.name=\"\";this.id=\"\";this.value=\"\";this.disabled=!1;this.hasError=!1;this.placeholder=\"\";this.options=[]}handleChange(e){let a=e.target,i=this.value;this.value=a.value,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.requestUpdate(\"value\",i)}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}renderSelectOptions(){let e=[];for(let a of this.options)e.push(p`<option value=${a.value}>${a.label}</option>`);return e}render(){return p`<select id=${this.id} name=${this.name} .value=${
|
|
128
|
+
"name": "Se",
|
|
129
|
+
"default": "class extends v{constructor(){super(...arguments);this.name=\"\";this.id=\"\";this.value=\"\";this.disabled=!1;this.hasError=!1;this.placeholder=\"\";this.options=[]}handleChange(e){let a=e.target,i=this.value;this.value=a.value,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.requestUpdate(\"value\",i)}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}renderSelectOptions(){let e=[];for(let a of this.options)e.push(p`<option value=${a.value}>${a.label}</option>`);return e}render(){return p`<select id=${this.id} name=${this.name} .value=${ws(this.value)} ?disabled=${this.disabled} ?required=${!this.value} @change=${this.handleChange} @focus=${this.handleFocus} @blur=${this.handleBlur} aria-invalid=${this.hasError?\"true\":\"false\"} ><option value=\"\" disabled ?selected=${!this.value}>${this.placeholder||\"Select an option\"}</option>${this.renderSelectOptions()}</select>`}}"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"kind": "variable",
|
|
133
|
-
"name": "
|
|
133
|
+
"name": "be",
|
|
134
134
|
"default": "class extends v{constructor(){super(...arguments);this.header=\"\";this.expanded=!1;this.expandText=\"Expand\";this.collapseText=\"Collapse\";this.ariaLabel=\"\";this.buttonVariant=\"primary\";this.isExpanded=!1;this.toggleExpanded=()=>{this.isExpanded=!this.isExpanded,this.dispatchExpandedChangedEvent(this.isExpanded)}}connectedCallback(){super.connectedCallback(),this.isExpanded=this.expanded}dispatchExpandedChangedEvent(e){this.dispatchEvent(new CustomEvent(\"expanded-changed\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedChangedEvent(!0))}collapse(){this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedChangedEvent(!1))}render(){let e=this.isExpanded?this.collapseText:this.expandText,a=this.ariaLabel||this.header||e,i=this.header||e;return p`<div class=\"collapsable\"><primer-button variant=${this.buttonVariant} buttonType=\"button\" @click=${this.toggleExpanded} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${a} ><span>${i}</span></primer-button><div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" id=\"collapsable-content\" role=\"region\" aria-labelledby=\"collapsable-header\" ><div class=\"collapsable-content\"><slot></slot></div></div></div>`}}"
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"kind": "variable",
|
|
138
|
-
"name": "
|
|
139
|
-
"default": "class extends v{constructor(){super();this.message=\"\";this.visible=!1;this._role=\"alert\";this.showMessage=!1;this.role=\"alert\"}get role(){return this._role}set role(e){this._role=e,this.setAttribute(\"role\",e)}updated(e){e.has(\"visible\")&&this.handleVisibilityChange()}handleVisibilityChange(){this.visible?(this.showMessage=!0,this.setAttribute(\"aria-hidden\",\"false\")):setTimeout(()=>{this.showMessage=!1,this.setAttribute(\"aria-hidden\",\"true\")},200)}render(){if(!this.showMessage&&!this.visible)return
|
|
138
|
+
"name": "We",
|
|
139
|
+
"default": "class extends v{constructor(){super();this.message=\"\";this.visible=!1;this._role=\"alert\";this.showMessage=!1;this.role=\"alert\"}get role(){return this._role}set role(e){this._role=e,this.setAttribute(\"role\",e)}updated(e){e.has(\"visible\")&&this.handleVisibilityChange()}handleVisibilityChange(){this.visible?(this.showMessage=!0,this.setAttribute(\"aria-hidden\",\"false\")):setTimeout(()=>{this.showMessage=!1,this.setAttribute(\"aria-hidden\",\"true\")},200)}render(){if(!this.showMessage&&!this.visible)return y;let e={\"error-message\":!0,hidden:!this.visible};return p`<div part=\"error-message\" class=${oe(e)} aria-live=\"assertive\" aria-atomic=\"true\" ><div part=\"error-icon\" class=\"error-icon\"><primer-icon name=\"failure-icon\" size=\"sm\" color=\"var(--primer-color-icon-negative)\" ></primer-icon></div><div part=\"error-content\" class=\"error-content\">${this.message}</div></div>`}}"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"kind": "variable",
|
|
143
|
-
"name": "
|
|
143
|
+
"name": "bt",
|
|
144
144
|
"default": "class extends v{constructor(){super(...arguments);this._id=`d${Math.random().toString(36).substring(7)}`;this._handleSlotChange=e=>{let i=e.target.assignedNodes();if(!i.length)return;let n=this.getContainer();i.forEach(o=>n.appendChild(o))}}get id(){return this._id}getContainer(){let e=document.querySelector(`#${this._id}`);return e||(e=document.createElement(\"div\"),e.id=this._id,document.body.appendChild(e),this._setupEventListeners(e)),e}_setupEventListeners(e){[\"primer-ach-error\",\"primer-ach-bank-details-collected\",\"primer-ach-mandate-confirmed\",\"primer-ach-mandate-declined\",\"primer-dialog-close\"].forEach(a=>{e.addEventListener(a,i=>{i.stopPropagation(),this.dispatchEvent(new CustomEvent(a,{bubbles:!0,composed:!0,detail:i.detail}))})})}disconnectedCallback(){super.disconnectedCallback(),this.getContainer().remove()}render(){return p`<slot @slotchange=${this._handleSlotChange}></slot>`}}"
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"kind": "variable",
|
|
148
148
|
"name": "Be",
|
|
149
|
-
"default": "class extends v{constructor(){super(...arguments);this.size=\"flex\";this.showCloseButton=!0;this._animationState=\"entering\";this._isVisible=!1;this._handleCloseClick=()=>{this._startExitAnimation()}}startExitAnimation(){this._startExitAnimation()}connectedCallback(){super.connectedCallback(),document.body.style.overflow=\"hidden\",this._startEnterAnimation()}disconnectedCallback(){super.disconnectedCallback(),document.body.style.overflow=\"\",this._animationTimeout&&clearTimeout(this._animationTimeout)}_startEnterAnimation(){this._animationState=\"entering\",this._isVisible=!0,requestAnimationFrame(()=>{this._animationTimeout=window.setTimeout(()=>{this._animationState=\"entered\"},500)})}_startExitAnimation(){this._animationTimeout&&clearTimeout(this._animationTimeout),this._animationState=\"exiting\",this._animationTimeout=window.setTimeout(()=>{this._animationState=\"exited\",this._isVisible=!1,this.dispatchEvent(new CustomEvent(\"primer-dialog-close\",{bubbles:!0,composed:!0}))},500)}render(){return this._isVisible?p`<div class=${
|
|
149
|
+
"default": "class extends v{constructor(){super(...arguments);this.size=\"flex\";this.showCloseButton=!0;this._animationState=\"entering\";this._isVisible=!1;this._handleCloseClick=()=>{this._startExitAnimation()}}startExitAnimation(){this._startExitAnimation()}connectedCallback(){super.connectedCallback(),document.body.style.overflow=\"hidden\",this._startEnterAnimation()}disconnectedCallback(){super.disconnectedCallback(),document.body.style.overflow=\"\",this._animationTimeout&&clearTimeout(this._animationTimeout)}_startEnterAnimation(){this._animationState=\"entering\",this._isVisible=!0,requestAnimationFrame(()=>{this._animationTimeout=window.setTimeout(()=>{this._animationState=\"entered\"},500)})}_startExitAnimation(){this._animationTimeout&&clearTimeout(this._animationTimeout),this._animationState=\"exiting\",this._animationTimeout=window.setTimeout(()=>{this._animationState=\"exited\",this._isVisible=!1,this.dispatchEvent(new CustomEvent(\"primer-dialog-close\",{bubbles:!0,composed:!0}))},500)}render(){return this._isVisible?p`<div class=${oe({backdrop:!0,\"backdrop--entering\":this._animationState===\"entering\",\"backdrop--entered\":this._animationState===\"entered\",\"backdrop--exiting\":this._animationState===\"exiting\"})} @click=${e=>{e.preventDefault()}} ><div class=${oe({dialog:!0,[this.size]:!0,\"dialog--entering\":this._animationState===\"entering\",\"dialog--entered\":this._animationState===\"entered\",\"dialog--exiting\":this._animationState===\"exiting\"})} ><div class=\"header\">${this.showCloseButton?p`<primer-button variant=\"tertiary\" @click=${this._handleCloseClick} ><primer-icon name=\"close\"></primer-icon></primer-button>`:\"\"}</div><div class=\"content\"><slot></slot></div></div></div>`:p``}}"
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"kind": "variable",
|
|
153
|
-
"name": "
|
|
154
|
-
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.disabled=!1;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=b(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new
|
|
153
|
+
"name": "se",
|
|
154
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.disabled=!1;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=b(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new B(this,{task:async([e,a])=>{if(!e||!a)return w;let i=await a.getCDNAssets(\"KLARNA\");return{manager:e.manager,klarnaIcon:i?.assets?.icon?`${i.goatCdnUrl}/${i.assets.icon}`:\"\"}},args:()=>[this.paymentManagers.get(\"KLARNA\"),this.headlessUtils]});this.toggleExpand=()=>{this.disabled||(this.isExpanded=!this.isExpanded,this.isExpanded||(this.selectedCategory=null))}}async startKlarnaPayment(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory))try{await this._paymentMethodManagerTask.value.manager.start({paymentMethodCategoryId:this.selectedCategory})}catch(e){T.errorWithDatadog(\"Failed to start Klarna payment\",{error:e})}}async renderSelectedCategory(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory||!this.klarnaContainer))try{this.klarnaContainer.innerHTML=\"\",await this._paymentMethodManagerTask.value.manager.renderCategory({containerId:this.klarnaContainer,paymentMethodCategoryId:this.selectedCategory,onHeightChange:e=>{e>0&&(this.klarnaContainer.style.height=`${e}px`)}})}catch(e){T.errorWithDatadog(\"Failed to render Klarna category\",{error:e})}}selectCategory(e){this.disabled||(this.selectedCategory=e,this.renderSelectedCategory())}updated(e){e.has(\"selectedCategory\")&&this.selectedCategory&&this.renderSelectedCategory()}renderCategorySelection(){let e=this.klarnaCategories?.categories||[];return this.klarnaCategories?.isLoading||!1?p`<div class=\"loading\"><primer-spinner size=\"small\"></primer-spinner></div>`:p`<div class=\"category-selection\">${e.map(i=>p`<button class=${oe({\"category-button\":!0,selected:i.id===this.selectedCategory})} @click=${()=>{this.selectCategory(i.id)}} ?disabled=${this.disabled} >${i.name}</button>`)}</div>`}renderExpandedContent(){return p` ${this.renderCategorySelection()} ${this.selectedCategory?p`<div id=\"klarna-category-container\" class=\"klarna-category-container\" ></div>`:y}<button class=${oe({\"klarna-pay-button\":!0,loading:!!this.sdkState?.isProcessing,disabled:!this.selectedCategory||this.disabled})} ?disabled=${!this.selectedCategory||this.sdkState?.isProcessing||this.disabled} @click=${()=>this.startKlarnaPayment()} >${b(\"confirm\",{id:\"confirm\"})}</button>`}render(){return this._paymentMethodManagerTask.render({error:e=>{let a=e instanceof Error?e.message:\"Unknown error in Klarna\";return p`<div class=\"error\"> Error loading Klarna: ${a}</div>`},complete:({manager:e,klarnaIcon:a})=>e?p`<div class=\"klarna-container ${this.isExpanded?\"expanded\":\"\"}\"><div class=\"klarna-button-header\"><primer-button buttonType=\"button\" variant=\"secondary\" class=\"klarna-button\" @click=${this.toggleExpand} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${this.headerAriaLabel} ?disabled=${this.disabled} ><img src=${a} alt=\"Klarna logo\" /><span>${b(\"pay_with\",{id:\"pay_with\"})} Klarna</span><span class=\"klarna-accordion-icon ${this.isExpanded?\"expanded\":\"\"}\" > ▼ </span></primer-button></div><div class=\"klarna-expanded-content ${this.isExpanded?\"visible\":\"\"}\" ><div class=\"klarna-accordion-content\">${this.renderExpandedContent()}</div></div></div>`:y})}}"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"kind": "variable",
|
|
158
|
-
"name": "
|
|
159
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new
|
|
158
|
+
"name": "Je",
|
|
159
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"GOOGLE_PAY\")throw new Error(\"Invalid payment method type for Google Pay component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=e.createButton();return await a.render(this.shadowRoot?.getRootNode(),{style:{shadowRoot:!0}}),this.disabled&&await a.setDisabled(this.disabled),this.disabled&&this.shadowRoot&&(await this.updateComplete,_r(this.disabled,this.shadowRoot)),a}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&this.shadowRoot&&_r(this.disabled,this.shadowRoot)}render(){return y}}"
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
"kind": "variable",
|
|
163
|
-
"name": "
|
|
164
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=
|
|
163
|
+
"name": "Ze",
|
|
164
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=Gt();this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"APPLE_PAY\")throw new Error(\"Invalid payment method type for Apple Pay component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=Dr(a);return await i.render(a,{style:{buttonHeight:n}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,Xt(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&Xt(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${Ct(this.buttonContainerRef)} ></div>`}}"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"kind": "variable",
|
|
168
|
-
"name": "
|
|
169
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=
|
|
168
|
+
"name": "qe",
|
|
169
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=Gt();this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"PAYPAL\")throw new Error(\"Invalid payment method type for PayPal component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=Dr(this);return await i.render(a,{style:{buttonHeight:String(n)}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,Xt(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&Xt(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${Ct(this.buttonContainerRef)} ></div>`}}"
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"kind": "variable",
|
|
173
|
-
"name": "
|
|
174
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.currentState=\"collapsed\";this.blikCode=\"\";this.errorMessage=\"\";this.pollingDuration=0;this.pollingTimer=null;this.loadManagerTask=new
|
|
173
|
+
"name": "Ae",
|
|
174
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.currentState=\"collapsed\";this.blikCode=\"\";this.errorMessage=\"\";this.pollingDuration=0;this.pollingTimer=null;this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(\"BLIK payment method manager not initialized\");if(a.type!==\"ADYEN_BLIK\")throw new Error(\"Invalid payment method type for BLIK component\");return a.manager}});this.handleButtonClick=async()=>{if(this.disabled)return;if(this.currentState===\"expanded-input\"){this.handleCollapse();return}if(this.currentState!==\"collapsed\")return;let e=this.paymentMethod?.type;if(!e){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"}),this.currentState=\"error\",T.error(\"Payment method type not available\");return}let a=this.paymentManagers.get(e);if(!a||a.type!==\"ADYEN_BLIK\"){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"}),this.currentState=\"error\",T.error(\"Manager not available when expanding BLIK form\");return}this.currentState=\"expanded-input\",await this.updateComplete,this.shadowRoot?.querySelector(\"#blik-code\")?.focus()};this.handleCollapse=()=>{this.currentState=\"collapsed\",this.blikCode=\"\",this.errorMessage=\"\",this.stopPollingTimer()};this.handleInput=e=>{let a=e.target,i=a.value,o=i.replace(/\\D/g,\"\").slice(0,6);i!==o&&(a.value=o),this.blikCode=o,this.currentState===\"error\"&&(this.currentState=\"expanded-input\",this.errorMessage=\"\"),o.length===6&&this.submitBlikCode()};this.handleRetry=async()=>{this.currentState=\"expanded-input\",this.errorMessage=\"\",this.blikCode=\"\",await this.updateComplete,this.shadowRoot?.querySelector(\"#blik-code\")?.focus()}}startPollingTimer(){this.pollingDuration=0,this.pollingTimer=window.setInterval(()=>{this.pollingDuration+=1},1e3)}stopPollingTimer(){this.pollingTimer!==null&&(window.clearInterval(this.pollingTimer),this.pollingTimer=null),this.pollingDuration=0}async submitBlikCode(){if(this.blikCode.length!==6){this.errorMessage=b(\"sixDigitCodeErrorTooShort\",{id:\"sixDigitCodeErrorTooShort\"}),this.currentState=\"error\";return}let e=this.loadManagerTask.value;if(!e){this.errorMessage=\"BLIK payment method not initialized\",this.currentState=\"error\",T.error(\"BLIK manager not available via loadManagerTask\");return}this.currentState=\"loading\",this.errorMessage=\"\",this.startPollingTimer();try{await e.start({blikCode:this.blikCode}),this.stopPollingTimer(),this.currentState=\"collapsed\",this.blikCode=\"\"}catch(a){this.stopPollingTimer(),this.currentState=\"error\",this.errorMessage=a instanceof Error?a.message:b(\"tokenizationError\",{id:\"tokenizationError\"}),T.errorWithDatadog(\"BLIK payment failed\",{error:a instanceof Error?{message:a.message,name:a.name}:\"Unknown error\"})}}renderCollapsed(){return p`<primer-button class=\"blik-button\" @click=${this.handleButtonClick} ?disabled=${this.disabled} aria-label=\"${b(\"pay_with\",{id:\"pay_with\"})} BLIK\" aria-expanded=\"${this.currentState!==\"collapsed\"}\" title=\"BLIK\" ><span class=\"image-container\"><img src=\"https://goat-assets.production.core.primer.io/button/blik/inverted.png\" alt=\"BLIK\" /></span></primer-button>`}renderExpandedInput(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-input-wrapper\"><label for=\"blik-code\" class=\"blik-label\">${b(\"getCodeFromBankingApp\",{id:\"getCodeFromBankingApp\"})}</label><input id=\"blik-code\" type=\"text\" inputmode=\"numeric\" pattern=\"[0-9]*\" maxlength=\"6\" class=\"blik-input\" .value=\"${this.blikCode}\" @input=\"${this.handleInput}\" ?disabled=\"${this.disabled}\" placeholder=\"000000\" aria-label=\"${b(\"sixDigitCodeLabel\",{id:\"sixDigitCodeLabel\"})}\" autocomplete=\"off\" spellcheck=\"false\" /></div></div></div>`}renderLoading(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-loading\"><primer-spinner size=\"medium\"></primer-spinner>${this.pollingDuration>30?p`<div class=\"blik-timeout-warning\"> This is taking longer than expected... </div>`:y}</div></div></div>`}renderError(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-error\"><div class=\"blik-error-message\" role=\"alert\">${this.errorMessage||b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}</div><button class=\"blik-retry-button\" @click=\"${this.handleRetry}\" ?disabled=\"${this.disabled}\" >${b(\"retry_button\",{id:\"retry_button\"})}</button></div></div></div>`}renderExpandedState(){switch(this.currentState){case\"expanded-input\":return this.renderExpandedInput();case\"loading\":return this.renderLoading();case\"error\":return this.renderError();default:return y}}disconnectedCallback(){super.disconnectedCallback(),this.stopPollingTimer()}render(){return p`<div class=\"blik-container ${this.currentState!==\"collapsed\"?\"expanded\":\"\"}\" >${this.renderCollapsed()} ${this.currentState!==\"collapsed\"?this.renderExpandedState():y}</div>`}}"
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
"kind": "variable",
|
|
178
|
-
"name": "
|
|
179
|
-
"default": "class extends v{constructor(){super(...arguments);this.type=void 0;this.disabled=!1;this.paymentMethods=null;this.analyticsUtils=null;this.handleClick=()=>{this.paymentMethods?.get(this.type)?.managerType!==\"CARD\"&&this.sendPaymentMethodSelectionEvent()}}sendPaymentMethodSelectionEvent(){this.type&&
|
|
178
|
+
"name": "Oe",
|
|
179
|
+
"default": "class extends v{constructor(){super(...arguments);this.type=void 0;this.disabled=!1;this.paymentMethods=null;this.analyticsUtils=null;this.handleClick=()=>{this.paymentMethods?.get(this.type)?.managerType!==\"CARD\"&&this.sendPaymentMethodSelectionEvent()}}sendPaymentMethodSelectionEvent(){this.type&&Z({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:this.type})}render(){if(!this.type)return y;let e=this.paymentMethods?.get(this.type);if(!e)return y;let a;switch(e?.managerType){case\"CARD\":a=p`<primer-card-form ?disabled=${this.disabled} ></primer-card-form>`;break;case\"NATIVE\":{let i=e.type;i===Pa.GOOGLE_PAY?a=p`<primer-google-pay .paymentMethod=${e} ?disabled=${this.disabled} ></primer-google-pay>`:i===Pa.APPLE_PAY?a=p`<primer-apple-pay .paymentMethod=${e} ?disabled=${this.disabled} ></primer-apple-pay>`:i===Pa.PAYPAL?a=p`<primer-paypal .paymentMethod=${e} ?disabled=${this.disabled} ></primer-paypal>`:i===Pa.ADYEN_BLIK&&(a=p`<primer-blik .paymentMethod=${e} ?disabled=${this.disabled} ></primer-blik>`);break}case\"REDIRECT\":a=p`<primer-redirect-payment .paymentMethod=${e} ?disabled=${this.disabled} ></primer-redirect-payment>`;break;case\"KLARNA\":a=p`<primer-klarna ?disabled=${this.disabled} ></primer-klarna>`;break;case\"ACH\":a=p`<primer-dynamic-payment .paymentMethod=${e} ></primer-dynamic-payment>`;break;default:return y}return p`<div @click=${this.handleClick}>${a}</div>`}}"
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"kind": "variable",
|
|
183
|
-
"name": "
|
|
184
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentMethods=null;this.clientOptions=null}getFilteredMethods(){if(!this.paymentMethods)return[];let e=this.paymentMethods.toArray();if(this.include){let a=this.include.split(\",\").map(i=>i.trim());e=e.filter(i=>a.includes(i.type))}if(this.exclude){let a=this.exclude.split(\",\").map(i=>i.trim());e=e.filter(i=>!a.includes(i.type))}return e}render(){let e=this.getFilteredMethods();return e.length===0?
|
|
183
|
+
"name": "Re",
|
|
184
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentMethods=null;this.clientOptions=null}getFilteredMethods(){if(!this.paymentMethods)return[];let e=this.paymentMethods.toArray();if(this.include){let a=this.include.split(\",\").map(i=>i.trim());e=e.filter(i=>a.includes(i.type))}if(this.exclude){let a=this.exclude.split(\",\").map(i=>i.trim());e=e.filter(i=>!a.includes(i.type))}return e}render(){let e=this.getFilteredMethods();return e.length===0?y:p`<div class=\"payment-methods-container\">${e.map(a=>p`<primer-payment-method type=\"${a.type}\" ?disabled=\"${this.disabled||this.clientOptions?.disabledPayments===!0}\" ></primer-payment-method>`)}</div>`}}"
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
"kind": "variable",
|
|
188
|
-
"name": "
|
|
189
|
-
"default": "class extends v{constructor(){super(...arguments);this.formController=new
|
|
188
|
+
"name": "Pe",
|
|
189
|
+
"default": "class extends v{constructor(){super(...arguments);this.formController=new Br(this,e=>this._paymentMethodManagerTask.value.setAndValidate(e));this.paymentManagers=new Map;this.sdkState=void 0;this.clientOptions=void 0;this.screen=\"form\";this.isSubmitting=!1;this._paymentMethodManagerTask=new B(this,{task:([e])=>e!==\"STRIPE_ACH\"?w:this.paymentManagers.get(e)?.manager,args:()=>[this.paymentMethod?.type]})}_handleInput(e,a){let i=e.target;this.formController.setFieldValue(a,i.value)}_handleBlur(e){this.formController.setFieldTouched(e)}_handleError(e){this.dispatchEvent(new CustomEvent(\"primer-ach-error\",{bubbles:!0,composed:!0,detail:{error:e instanceof Error?e:new Error(typeof e==\"string\"?e:\"Unknown error occurred\")}}))}async _handleSubmitButtonClick(e){if(!this.isSubmitting){this.isSubmitting=!0;try{let a=await e.start(this.formController.formData);if(!a||a.valid)return await this._handleCollectBankAccountDetails(e);a&&this.formController.setValidation(a,!0)}catch(a){this._handleError(a)}finally{this.isSubmitting=!1}}}async _handleCollectBankAccountDetails(e){try{await e.collectBankAccountDetails(),this.screen=\"mandate\",this.dispatchEvent(new CustomEvent(\"primer-ach-bank-details-collected\",{bubbles:!0,composed:!0}))}catch(a){this._handleError(a)}}async _handleConfirmMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.confirmMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-confirmed\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}async _handleDeclineMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.declineMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-declined\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}renderForm(e){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${b(\"stripe_ach_user_details_collection_subtitle_label\",{id:\"stripe_ach_user_details_collection_subtitle_label\"})}</p><form @submit=${a=>a.preventDefault()}><div class=\"form-row\"><primer-input-wrapper .hasError=${this.formController.hasError.firstName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_first_name_label\",{id:\"stripe_ach_user_details_collection_first_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.firstName.value} @input=${a=>this._handleInput(a,\"firstName\")} @blur=${()=>this._handleBlur(\"firstName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.firstName?this.formController.formState.firstName.error:y}</primer-input-error></primer-input-wrapper><primer-input-wrapper .hasError=${this.formController.hasError.lastName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_last_name_label\",{id:\"stripe_ach_user_details_collection_last_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.lastName.value} @input=${a=>this._handleInput(a,\"lastName\")} @blur=${()=>this._handleBlur(\"lastName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.lastName?this.formController.formState.lastName.error:y}</primer-input-error></primer-input-wrapper></div><primer-input-wrapper .hasError=${this.formController.hasError.emailAddress} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_email_address_label\",{id:\"stripe_ach_user_details_collection_email_address_label\"})}</primer-input-label><primer-input slot=\"input\" type=\"email\" .value=${this.formController.formState.emailAddress.value} @input=${a=>this._handleInput(a,\"emailAddress\")} @blur=${()=>this._handleBlur(\"emailAddress\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.emailAddress?this.formController.formState.emailAddress.error:y}</primer-input-error></primer-input-wrapper><p>${b(\"stripe_ach_user_details_collection_data_usage_label\",{id:\"stripe_ach_user_details_collection_data_usage_label\"})}</p><primer-button buttonType=\"submit\" variant=\"primary\" @click=${()=>this._handleSubmitButtonClick(e)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_user_details_collection_continue_button\",{id:\"stripe_ach_user_details_collection_continue_button\"})}</primer-button></form>`}renderMandate(){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${this.clientOptions?.stripe?.mandateData.fullMandateText??b(\"stripe_ach_mandate_template_web\",{id:\"stripe_ach_mandate_template_web\"}).replace(/\\{merchantName\\}/g,this.clientOptions?.stripe?.mandateData.merchantName??\"Merchant\")}</p><div class=\"button-group\"><primer-button variant=\"primary\" @click=${this._handleConfirmMandate.bind(this)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_mandate_accept_button\",{id:\"stripe_ach_mandate_accept_button\"})}</primer-button><primer-button variant=\"tertiary\" @click=${this._handleDeclineMandate.bind(this)} ?disabled=${this.isSubmitting} >${b(\"stripe_ach_mandate_cancel_payment_button\",{id:\"stripe_ach_mandate_cancel_payment_button\"})}</primer-button></div>`}render(){return this._paymentMethodManagerTask.render({complete:e=>e?this.screen===\"form\"?this.renderForm(e):this.renderMandate():y})}}"
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
"kind": "variable",
|
|
193
|
-
"name": "
|
|
194
|
-
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new
|
|
193
|
+
"name": "xe",
|
|
194
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new B(this,{task:([e,a])=>!e||!a?w:a.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new B(this,{task:([e,a])=>{if(!e||!a)return w;let i=a.getPaymentMethodConfiguration(e);return i?{backgroundColor:i.displayMetadata.button.backgroundColor.colored,name:i.name,displayName:this._legacyGetButtonLabel(i.displayMetadata.button.text),iconUrl:i.displayMetadata.button.iconUrl.colored||i.displayMetadata.button.iconUrl.light||i.displayMetadata.button.iconUrl.dark}:w},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new B(this,{task:([e,a])=>!e||!a?w:{paymentMethodManager:e,assetsConfig:a},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let a=e?ka(e):\"\";return a===\"payWith\"&&(a=\"pay_with\"),b(a,{id:a})}start(){this._paymentMethodManagerTask.value&&(this.open=!0)}renderDialog(){return this.open?p`<primer-portal><primer-dialog @primer-dialog-close=\"${()=>this.open=!1}\"><primer-ach-payment .paymentMethod=${this.paymentMethod} @primer-ach-error=${()=>this.open=!1} @primer-ach-mandate-confirmed=${()=>this.open=!1} @primer-ach-mandate-declined=${()=>this.open=!1} ></primer-ach-payment></primer-dialog></primer-portal>`:y}render(){return this._setupTasks.render({error:()=>y,complete:({assetsConfig:e})=>(this.style.setProperty(\"--dynamic-payment-button-bg-color\",e.backgroundColor),p`<primer-button @click=\"${()=>this.start()}\" class=${oe({loading:!!this.sdkState?.isProcessing,reverse:!0})} title=\"${b(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ><span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>${e.displayName}</primer-button>${this.renderDialog()} `)})}}"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"kind": "variable",
|
|
198
|
-
"name": "
|
|
199
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new
|
|
198
|
+
"name": "_e",
|
|
199
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new B(this,{task:([e,a])=>!e||!a?w:a.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new B(this,{task:([e,a])=>{if(!e||!a)return w;let i=a.getPaymentMethodConfiguration(e);if(!i)return w;let n=i.displayMetadata.button.backgroundColor.colored??i.displayMetadata.button.backgroundColor.light,o=i.displayMetadata.button.iconPositionRelativeToText||\"START\";return{backgroundColor:n,name:i.name,displayName:this._legacyGetButtonLabel(i.displayMetadata.button.text),iconUrl:i.displayMetadata.button.iconUrl.colored??i.displayMetadata.button.iconUrl.light,iconPosition:o}},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new B(this,{task:([e,a])=>!e||!a?w:{paymentMethodManager:e,assetsConfig:a},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let a=e?ka(e):\"\";return a===\"payWith\"&&(a=\"pay_with\"),b(a,{id:a})}startRedirectPayment(){this.disabled||this._paymentMethodManagerTask.value&&this._paymentMethodManagerTask.value.start()}render(){return this._setupTasks.render({error:()=>y,complete:({assetsConfig:e})=>{this.style.setProperty(\"--redirect-payment-button-bg-color\",e.backgroundColor);let a={loading:!!this.sdkState?.isProcessing,\"icon-end\":e.iconPosition===\"END\",\"image-only\":!e.displayName},i=e.displayName?p`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span><span class=\"button-text\">${e.displayName}</span>`:p`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>`;return p`<primer-button @click=\"${()=>this.startRedirectPayment()}\" class=${oe(a)} title=\"${b(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ?disabled=${this.disabled} >${i}</primer-button>`}})}}"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"kind": "variable",
|
|
203
|
-
"name": "
|
|
204
|
-
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new
|
|
203
|
+
"name": "le",
|
|
204
|
+
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new B(this,{task:async([e,a])=>{if(!e||!a)return w;let i=this.extractFieldConfig(e);return await this.initializeCountryOptions(),i},args:()=>[this.configuration,this.headlessUtils]})}connectedCallback(){super.connectedCallback(),this._initializationTask.value}extractFieldConfig(e){if(e?.checkoutModules){let a=e.checkoutModules.find(i=>i.type===\"BILLING_ADDRESS\");if(a?.options){let i=a.options;return Object.keys(on).reduce((n,o)=>({...n,[o]:i[o]??!1}),{})}}return this.defaultFieldConfig}async initializeCountryOptions(){try{let e=nn(\"en\");this.countryOptions=[...e.map(([n,o])=>({value:n,label:o}))],this.requestUpdate(\"countryOptions\");let a=Gi();if(a===\"en\"||a===\"en-GB\"||a.startsWith(\"en-\"))return;if(await Bl(a)){let n=nn(a);this.countryOptions=[...n.map(([o,s])=>({value:o,label:s}))],this.requestUpdate(\"countryOptions\")}}catch(e){T.errorWithDatadog(\"Failed to load country locale\",{error:e})}}get fieldConfig(){return this.extractFieldConfig(this.configuration)}get defaultFieldConfig(){return Object.keys(on).reduce((e,a)=>({...e,[a]:!1}),{})}get shouldShowForm(){return this.fieldConfig.postalCode}handleInput(e,a){this.formData={...this.formData,[e]:a},this.dirtyFields.add(e),(this.submitted||this.dirtyFields.has(e)&&this.touchedFields.has(e))&&this.validateField(e),this.dispatchEvent(new CustomEvent(\"primer-billing-address-change\",{detail:this.formData,bubbles:!0,composed:!0}))}handleFocus(e){this.focusedField=e}handleBlur(e){this.focusedField=null,this.touchedFields.add(e),this.validateField(e)}validateField(e){let a=this.formData[e],i=this.fieldConfig[e];if(!i){delete this.errors[e];return}if(i&&(!a||a.trim()===\"\")){let n=`${e}ErrorRequired`;this.errors={...this.errors,[e]:b(\"This field is required\",{id:n})}}else{let n={...this.errors};delete n[e],this.errors=n}}validateForm(){return Object.keys(on).forEach(e=>{let a=e;this.fieldConfig[a]&&this.validateField(a)}),Object.keys(this.errors).length===0}async validateForSubmission(){if(!this.shouldShowForm)return!0;this.submitted=!0,Object.keys(this.fieldConfig).forEach(a=>{this.fieldConfig[a]&&this.touchedFields.add(a)});let e=this.validateForm();return this.requestUpdate(),await this.updateComplete,e}async submitToSDK(){if(this.headlessUtils?.setBillingAddress)try{return await this.headlessUtils.setBillingAddress(this.formData),this.dispatchEvent(new CustomEvent(\"primer-billing-address-submit\",{detail:this.formData,bubbles:!0,composed:!0})),!0}catch(e){return T.errorWithDatadog(\"Failed to set billing address\",{error:e}),!1}return!0}shouldShowError(e){let a=!!this.errors[e],i=this.dirtyFields.has(e),n=this.touchedFields.has(e);return a&&(this.submitted||i&&n)}render(){return this._initializationTask.render({pending:()=>y,error:()=>y,complete:()=>this.shouldShowForm?(this.removeAttribute(\"hidden\"),p`<div class=\"billing-address-form\"><div class=\"billing-address-title\">${b(\"Billing address\",{id:\"billingAddressLabel\"})}</div>${R(this.fieldConfig.countryCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"countryCode\"} .hasError=${this.shouldShowError(\"countryCode\")} ><primer-input-label slot=\"label\">${b(\"Country code\",{id:\"countryCodeLabel\"})}</primer-input-label><primer-select slot=\"input\" id=\"countryCode\" name=\"countryCode\" .value=${this.formData.countryCode||\"\"} .options=${this.countryOptions} .hasError=${this.shouldShowError(\"countryCode\")} placeholder=${b(\"Select a country\",{id:\"countrySelectPlaceholder\"})} @input=${e=>this.handleInput(\"countryCode\",e.detail)} @focus=${()=>this.handleFocus(\"countryCode\")} @blur=${()=>this.handleBlur(\"countryCode\")} ></primer-select>${R(this.shouldShowError(\"countryCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.countryCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.firstName||this.fieldConfig.lastName,()=>p`<div class=\"billing-address-row\">${R(this.fieldConfig.firstName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"firstName\"} .hasError=${this.shouldShowError(\"firstName\")} ><primer-input-label slot=\"label\">${b(\"First name\",{id:\"firstNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"firstName\" name=\"firstName\" type=\"text\" .value=${this.formData.firstName||\"\"} placeholder=${b(\"First name\",{id:\"firstNamePlaceholder\"})} @input=${e=>this.handleInput(\"firstName\",e.detail)} @focus=${()=>this.handleFocus(\"firstName\")} @blur=${()=>this.handleBlur(\"firstName\")} ></primer-input>${R(this.shouldShowError(\"firstName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.firstName}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.lastName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"lastName\"} .hasError=${this.shouldShowError(\"lastName\")} ><primer-input-label slot=\"label\">${b(\"Last name\",{id:\"lastNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"lastName\" name=\"lastName\" type=\"text\" .value=${this.formData.lastName||\"\"} placeholder=${b(\"Last name\",{id:\"lastNamePlaceholder\"})} @input=${e=>this.handleInput(\"lastName\",e.detail)} @focus=${()=>this.handleFocus(\"lastName\")} @blur=${()=>this.handleBlur(\"lastName\")} ></primer-input>${R(this.shouldShowError(\"lastName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.lastName}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${R(this.fieldConfig.addressLine1,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine1\"} .hasError=${this.shouldShowError(\"addressLine1\")} ><primer-input-label slot=\"label\">${b(\"Address line 1\",{id:\"addressLine1\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine1\" name=\"addressLine1\" type=\"text\" .value=${this.formData.addressLine1||\"\"} placeholder=${b(\"Address line 1\",{id:\"addressLine1Placeholder\"})} @input=${e=>this.handleInput(\"addressLine1\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine1\")} @blur=${()=>this.handleBlur(\"addressLine1\")} ></primer-input>${R(this.shouldShowError(\"addressLine1\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine1}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.addressLine2,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine2\"} .hasError=${this.shouldShowError(\"addressLine2\")} ><primer-input-label slot=\"label\">${b(\"Address line 2\",{id:\"addressLine2\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine2\" name=\"addressLine2\" type=\"text\" .value=${this.formData.addressLine2||\"\"} placeholder=${b(\"Address line 2\",{id:\"addressLine2Placeholder\"})} @input=${e=>this.handleInput(\"addressLine2\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine2\")} @blur=${()=>this.handleBlur(\"addressLine2\")} ></primer-input>${R(this.shouldShowError(\"addressLine2\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine2}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.postalCode||this.fieldConfig.city,()=>p`<div class=\"billing-address-row\">${R(this.fieldConfig.postalCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"postalCode\"} .hasError=${this.shouldShowError(\"postalCode\")} ><primer-input-label slot=\"label\">${b(\"Postal code\",{id:\"postalCodeLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"postalCode\" name=\"postalCode\" type=\"text\" .value=${this.formData.postalCode||\"\"} placeholder=${b(\"90210\",{id:\"postalCodePlaceholder\"})} @input=${e=>this.handleInput(\"postalCode\",e.detail)} @focus=${()=>this.handleFocus(\"postalCode\")} @blur=${()=>this.handleBlur(\"postalCode\")} ></primer-input>${R(this.shouldShowError(\"postalCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.postalCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.city,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"city\"} .hasError=${this.shouldShowError(\"city\")} ><primer-input-label slot=\"label\">${b(\"City\",{id:\"cityLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"city\" name=\"city\" type=\"text\" .value=${this.formData.city||\"\"} placeholder=${b(\"Cape Town\",{id:\"cityPlaceholder\"})} @input=${e=>this.handleInput(\"city\",e.detail)} @focus=${()=>this.handleFocus(\"city\")} @blur=${()=>this.handleBlur(\"city\")} ></primer-input>${R(this.shouldShowError(\"city\"),()=>p`<primer-input-error slot=\"error\">${this.errors.city}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${R(this.fieldConfig.state,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"state\"} .hasError=${this.shouldShowError(\"state\")} ><primer-input-label slot=\"label\">${b(\"State / Region / County\",{id:\"stateLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"state\" name=\"state\" type=\"text\" .value=${this.formData.state||\"\"} placeholder=${b(\"State / Region / County\",{id:\"statePlaceholder\"})} @input=${e=>this.handleInput(\"state\",e.detail)} @focus=${()=>this.handleFocus(\"state\")} @blur=${()=>this.handleBlur(\"state\")} ></primer-input>${R(this.shouldShowError(\"state\"),()=>p`<primer-input-error slot=\"error\">${this.errors.state}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`):(this.setAttribute(\"hidden\",\"\"),y)})}}"
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
"kind": "variable",
|
|
208
|
-
"name": "
|
|
209
|
-
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await
|
|
208
|
+
"name": "q",
|
|
209
|
+
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await Gr(a,this.headlessUtils,this.vaultManagerContext))}};this.handleCancelDelete=()=>{this.deletePaymentMethodId=null,this.deleteAssetConfig=null};this.handleConfirmDelete=async()=>{if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"});return}try{this.isDeleting=!0,await this.vaultManagerContext.deleteVaultedPaymentMethod(this.deletePaymentMethodId),this.deletePaymentMethodId=null,this.deleteAssetConfig=null}catch(e){this.errorMessage=e instanceof Error?e.message:b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}};this.handlePaymentError=e=>{let a=e.detail?.error;this.errorMessage=a instanceof Error?a.message:b(\"payment_processing_error\",{id:\"payment_processing_error\"})};this.handleCloseError=()=>{this.errorMessage=\"\"};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitVaultPayment())};this.handleDirectSubmit=()=>{this.submitVaultPayment()};this.handleContextVaultSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitVaultPayment())}finally{this._isHandlingContextEvent=!1}}};new ea(this,{defaultOptions:{keyframeOptions:{duration:Number(getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-duration\").trim().replace(\"ms\",\"\")),easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim()}}})}getAnimationConfig(){return{keyframeOptions:{duration:this.animationDuration,easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim(),fill:\"both\"}}}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitVaultPayment(){if(this.vaultManagerContext)try{await this.vaultManagerContext.startVaultedPaymentFlow()}catch(e){this.dispatchEvent(new CustomEvent(\"primer-vault-payment-error\",{detail:{error:e},bubbles:!0,composed:!0}))}}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===e);if(!a)return\"\";try{return sn(a).description||\"\"}catch{return\"\"}}setupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this._contextVaultSubmitListener=e=>{this.handleContextVaultSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}renderLoadingOverlay(){return p`<div class=\"loading-overlay\" ${Mt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ><primer-spinner size=\"medium\" color=\"var(--primer-color-loader)\" ></primer-spinner></div>`}renderDeleteConfirmation(){if(!this.deletePaymentMethodId||!this.deleteAssetConfig)return y;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return p`<div class=\"delete-confirmation-container\"><primer-button disabled variant=\"secondary\"><primer-payment-method-content .assetConfig=${this.deleteAssetConfig} ></primer-payment-method-content></primer-button><primer-vault-delete-confirmation .isDeleting=${this.isDeleting} .paymentMethodId=${this.deletePaymentMethodId} .paymentMethodName=${e} @confirm-delete=${this.handleConfirmDelete} @cancel-delete=${this.handleCancelDelete} ${Mt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-delete-confirmation></div>`}renderPaymentMethodItem(e){return this.deletePaymentMethodId===e.id?y:p`<primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ${Mt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-payment-method-item>`}renderPaymentMethodList(){let e=this.vaultManagerContext?.vaultedPaymentMethods||[],a=!this.isEditMode&&e.length>0&&!this.deletePaymentMethodId;return p`<div class=\"payment-methods-list\">${e.map(i=>this.renderPaymentMethodItem(i))} ${R(a,()=>p`<div class=\"submit-button-container\"><slot name=\"submit-button\" @slotchange=${this.handleSubmitSlotChange} ${Mt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></slot>${R(!this.hasSlottedSubmit,()=>p`<primer-vault-payment-submit class=\"submit-button\" @primer-vault-payment-error=${this.handlePaymentError} ></primer-vault-payment-submit>`)}</div>`,()=>y)}</div>`}render(){if(!this.vaultManagerContext?.enabled||this.vaultManagerContext?.headless)return y;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,a=this.vaultManagerContext.isLoading,i=this.vaultManagerContext.isUpdating;return p` ${R(!this.vaultManagerContext?.showEmptyState&&!e,()=>y,()=>p`<slot name=\"vault-empty-state\"><div class=\"vault-manager ${i?\"is-updating\":\"\"}\"><primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header>${R(this.errorMessage,()=>p`<primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ${Mt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-error-message>`,()=>y)}<div class=\"vault-manager-content\">${R(!a&&!e,()=>p`<div class=\"content-container\"><primer-vault-empty-state ${Mt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-empty-state></div>`,()=>y)} ${R(!a&&e,()=>p`<div class=\"content-container\">${R(this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>this.renderPaymentMethodList())}</div>`,()=>y)}</div>${R(i,()=>this.renderLoadingOverlay(),()=>y)}</div></slot>`)} `}}"
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"kind": "variable",
|
|
213
213
|
"name": "Ce",
|
|
214
|
-
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new
|
|
214
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new B(this,{task:async([e,a,i])=>await Gr(e,a,i),args:()=>[this.paymentMethod,this.headlessUtils,this.vaultManagerContext]});this.handleClick=()=>{this.isEditMode||!this.vaultManagerContext||!this.paymentMethod||(this.isSelected()?this.vaultItemContext?.setSelectedVaultedPaymentMethod(null):this.vaultItemContext?.setSelectedVaultedPaymentMethod(this.paymentMethod))};this.handleDeleteClick=e=>{e.stopPropagation(),this.dispatchEvent(new CustomEvent(\"delete-payment-method\",{detail:this.paymentMethod?.id,bubbles:!0,composed:!0}))}}isSelected(){if(!this.vaultManagerContext||!this.paymentMethod)return!1;let e=this.vaultItemContext?.selectedVaultedPaymentMethod;return!!e&&e.id===this.paymentMethod.id}render(){return this._getAssetsTask.render({error:()=>y,complete:e=>{let a=this.isSelected()?\"checked\":\"default\",i=!1,n=e?.description;return p`<div class=\"payment-method-wrapper\"><div class=\"payment-method-container\"><primer-button variant=\"secondary\" class=\"payment-method-button ${e.shouldShowCVV?\"with-cvv\":\"\"}\" selectable ?disabled=${this.isEditMode} selectionState=${a} .flex=${i} @click=${this.handleClick} ><primer-payment-method-content .assetConfig=${e} ></primer-payment-method-content>${R(e.shouldShowCVV&&this.isSelected()&&!this.isEditMode,()=>p`<div class=\"payment-method-row mt-2\"><span class=\"flex-center\"><primer-icon name=\"lock\" size=\"sm\"></primer-icon><span class=\"payment-method-subtitle\"> Input the card CVV for a secure payment</span ></span><span class=\"cell-2\"><primer-vault-cvv-input .paymentMethod=\"${this.paymentMethod}\" ><span slot=\"label\"></span></primer-vault-cvv-input></span></div>`,()=>y)}</primer-button>${this.isEditMode?p`<primer-button variant=\"tertiary\" class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${b(\"delete\",{id:\"delete\"})} ${n}`} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:y}</div></div>`}})}}"
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
"kind": "variable",
|
|
218
|
-
"name": "
|
|
219
|
-
"default": "class extends v{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1;this.toggleEditMode=()=>{this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}}render(){return p`<div class=\"vault-manager-header\"><h3>${b(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3>${this.hasPaymentMethods?p`<primer-button variant=\"tertiary\" class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?b(\"confirm\",{id:\"confirm\"}):b(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} >${this.isEditMode?p`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:p`<primer-icon name=\"edit\" size=\"sm\"></primer-icon>`}</primer-button>`:
|
|
218
|
+
"name": "Ge",
|
|
219
|
+
"default": "class extends v{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1;this.toggleEditMode=()=>{this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}}render(){return p`<div class=\"vault-manager-header\"><h3>${b(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3>${this.hasPaymentMethods?p`<primer-button variant=\"tertiary\" class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?b(\"confirm\",{id:\"confirm\"}):b(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} >${this.isEditMode?p`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:p`<primer-icon name=\"edit\" size=\"sm\"></primer-icon>`}</primer-button>`:y}</div>`}}"
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"kind": "variable",
|
|
223
|
-
"name": "
|
|
223
|
+
"name": "Ie",
|
|
224
224
|
"default": "class extends v{constructor(){super(...arguments);this.isDeleting=!1;this.paymentMethodId=\"\";this.paymentMethodName=\"\";this.vaultManager=null;this.handleConfirmClick=()=>{this.dispatchEvent(new CustomEvent(\"confirm-delete\",{bubbles:!0,composed:!0}))};this.handleCancelClick=()=>{this.dispatchEvent(new CustomEvent(\"cancel-delete\",{bubbles:!0,composed:!0}))}}render(){return p`<div class=\"delete-confirmation\"><p class=\"delete-confirmation-text\"> Are you sure you want to delete this payment method? </p><div class=\"delete-actions\"><primer-button variant=\"secondary\" @click=${this.handleCancelClick} ?disabled=${this.isDeleting} >${b(\"cancel\",{id:\"cancel\"})}</primer-button><primer-button @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} >${this.isDeleting?b(\"deleting\",{id:\"deleting\"}):b(\"confirmVaultedPaymentMethodDeletion\",{id:\"confirmVaultedPaymentMethodDeletion\"})}</primer-button></div></div>`}}"
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
"kind": "variable",
|
|
228
|
-
"name": "
|
|
228
|
+
"name": "st",
|
|
229
229
|
"default": "class extends v{render(){return p`<div class=\"empty-state\"><p>${b(\"savedPaymentMethodsEmpty\",{id:\"savedPaymentMethodsEmpty\"})}</p></div>`}}"
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
"kind": "variable",
|
|
233
|
-
"name": "
|
|
233
|
+
"name": "Qe",
|
|
234
234
|
"default": "class extends v{constructor(){super(...arguments);this.errorMessage=\"\";this.handleDismiss=()=>{this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}}render(){return p`<div class=\"error-message\"><div class=\"error-content\"><primer-icon name=\"warning\" size=\"sm\" color=\"var(--primer-color-red-500)\" ></primer-icon><p>${this.errorMessage}</p></div><button @click=${this.handleDismiss} aria-label=${b(\"closeErrorMessage\",{id:\"closeErrorMessage\"})} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></button></div>`}}"
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"kind": "variable",
|
|
238
|
-
"name": "
|
|
239
|
-
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.sdkState=null;this.vaultItemContext=null;this.vaultManager=null;this.clientOptions=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=async e=>{if(e.preventDefault(),!this.isButtonDisabled)try{await this.vaultManager?.startVaultedPaymentFlow()}catch(a){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:a}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,a=e?` ${e}`:
|
|
238
|
+
"name": "ae",
|
|
239
|
+
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.sdkState=null;this.vaultItemContext=null;this.vaultManager=null;this.clientOptions=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=async e=>{if(e.preventDefault(),!this.isButtonDisabled)try{await this.vaultManager?.startVaultedPaymentFlow()}catch(a){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:a}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,a=e?` ${e}`:y;return p`<primer-button buttonType=\"submit\" variant=${this.variant} @click=${this.handleClick} .disabled=${this.isButtonDisabled} .loading=${this.sdkState?.isProcessing} data-submit >${this.buttonText}${a}</primer-button>`}}"
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"kind": "variable",
|
|
243
|
-
"name": "
|
|
244
|
-
"default": "class extends v{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this.isFocused=!1;this._setupCVVIframe=new
|
|
243
|
+
"name": "Q",
|
|
244
|
+
"default": "class extends v{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this.isFocused=!1;this._setupCVVIframe=new B(this,{task:([e,a])=>!e||!a||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||a.createCvvInput===null?w:{network:e.paymentInstrumentData.network,createCvvInput:a.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new B(this,{task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!a)return;let i=Hr(this.computedStyles),n=i?{input:{base:i}}:void 0,o={cardNetwork:e.network,container:a,name:\"cvv\",placeholder:\"123\",style:n,ariaLabel:b(\"CVV\",{id:\"cardCVV\"})};this.cvvInput=await e.createCvvInput?.(o)??null,this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.errorCode||null,this.vaultManagerCvvContext?.setCvvInput(this.cvvInput),this.cvvInput.addListener(\"change\",()=>{this.onCvvInputChange()}),this.cvvInput.addListener(\"blur\",()=>{this.onBlur()}),this.cvvInput.addListener(\"focus\",()=>{this.onFocus()}))},args:()=>[this._setupCVVIframe.value]})}disconnectedCallback(){super.disconnectedCallback(),this.cvvInput&&(this.cvvInput.remove(),this.cvvInput=null,this.cvvError=null,this.vaultManagerCvvContext?.setCvvInput(null))}onCvvInputChange(){!this.cvvInput||!this.vaultManagerCvvContext||(this.cvvInputIsDirty=!0,this.cvvError=this.cvvInput.metadata.errorCode||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.errorCode||null,this.isFocused=!1)}onFocus(){this.isFocused=!0}render(){return this._setupCVVIframe.render({error:()=>y,complete:()=>p`<div class=\"cvv-input-container\"><primer-input-wrapper .focusWithin=${this.isFocused} .hasError=${!!this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred)} ><slot name=\"label\" slot=\"label\"><primer-input-label>CVV</primer-input-label></slot><div slot=\"input\" id=\"${this.cvvContainerId}\"></div>${R(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>p`<primer-input-error slot=\"error\">${b(this.cvvError,{id:this.cvvError})}</primer-input-error>`)}</primer-input-wrapper></div>`})}}"
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
"kind": "variable",
|
|
248
|
-
"name": "
|
|
249
|
-
"default": "class extends v{constructor(){super(...arguments);this.assetConfig=null}render(){if(!this.assetConfig)return
|
|
248
|
+
"name": "Xe",
|
|
249
|
+
"default": "class extends v{constructor(){super(...arguments);this.assetConfig=null}render(){if(!this.assetConfig)return y;let e=this.assetConfig.description,a=this.assetConfig.icon,i=R(this.assetConfig.icon,()=>p`<img class=\"payment-method-icon\" src=${a} alt=${e} />`,()=>p`<div class=\"payment-method-icon payment-method-icon-generic\"><primer-icon name=\"payment-card\" size=\"sm\"></primer-icon></div>`);return this.assetConfig.type===\"paypal\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.fullName}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.paymentMethodType}</span ></span></div></span>`:this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType!==\"ACH\"?p`<div class=\"payment-method-card-other\"><div class=\"left-column\"><div class=\"payment-method-header\">${this.assetConfig.fullName}</div><div class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.paymentMethodType}</span ></div></div><div class=\"payment-method-right-column-text\">${this.assetConfig.email||`\\u2022\\u2022\\u2022\\u2022 ${this.assetConfig.last4}`}</div></div>`:this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType===\"ACH\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.fullName}</span ><span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.bankName}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.accountType}</span ></div></span>`:this.assetConfig.type===\"card\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.cardholderName}</span ><span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.network}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.expiresDate}</span ></div></span>`:y}}"
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"kind": "variable",
|
|
253
|
-
"name": "
|
|
254
|
-
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new
|
|
253
|
+
"name": "re",
|
|
254
|
+
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new z(this,{context:ta,initialValue:null});this.eventsController=new jt(this);this._contextCardSubmitListener=null;this._isHandlingContextEvent=!1;this.inputControllers=new Map;this.setupCardFormTask=new B(this,{task:([e])=>{if(!e?.manager)return w;let{manager:a}=e,i=a.createHostedInputs(),{cardNumberInput:n,expiryInput:o,cvvInput:s}=i;return this.cardFormProvider.setValue({cardholderNameInput:i.cardholderNameInput,cardNumberInput:n,expiryInput:o,cvvInput:s,setCardholderName:l=>{a.setCardholderName(l),this.shouldRequireCardholderName&&a.validate?.().then(c=>{let g=c?.validationErrors?.find(C=>C.name===od.cardholderName),h=this.inputControllers.get(\"cardholderName\");h&&h.updateMetaFromValidation({valid:!1,error:g?.message||g?.error||null,errorCode:g?.message||g?.error||null})})},setCardNetwork:l=>{this.selectedCardNetwork=l},validate:()=>a.validate(),submit:l=>a.submit(l),hideLabels:this.hideLabels,disabled:this.disabled,setSubmissionState:l=>{this.inputControllers.forEach(c=>{c.setSubmitted(l)})},propagateValidationErrors:l=>{l&&l.forEach(c=>{let m=c.field||c.name,g=c.message||c.error,h=od[m];if(h){let C=this.inputControllers.get(h);if(C){let P={valid:!1,error:g,errorCode:g};C.updateMetaFromValidation(P)}}})},registerInputController:(l,c)=>{this.inputControllers.set(l,c)},unregisterInputController:l=>{this.inputControllers.delete(l)},onUserInteraction:()=>{this.sendPaymentMethodSelectionEvent(),this.checkAndSendPaymentDetailsEnteredEvent()}}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.paymentDetailsEnteredSent=!1;this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitCardPayment())};this.handleDirectSubmit=e=>{e.stopPropagation(),this.submitCardPayment()};this.handleContextCardSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitCardPayment())}finally{this._isHandlingContextEvent=!1}}};this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0};this.handleFormSubmit=e=>{e.preventDefault(),e.stopPropagation(),this.submitCardPayment()}}updated(e){if(super.updated(e),(e.has(\"hideLabels\")||e.has(\"disabled\"))&&this.cardFormProvider.value&&this.cardFormProvider.setValue({...this.cardFormProvider.value,hideLabels:this.hideLabels,disabled:this.disabled}),e.has(\"contextEventsController\")){let a=e.get(\"contextEventsController\");a?.host&&this._contextCardSubmitListener&&a.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener),this.setupContextEventListeners()}}get shouldShowCardholderName(){let e=this.clientOptions?.card?.cardholderName;return typeof e?.visible==\"boolean\"?e.visible:!0}get shouldRequireCardholderName(){if(!this.shouldShowCardholderName)return!1;let e=this.clientOptions?.card?.cardholderName;return typeof e?.required==\"boolean\"?e.required:!0}sendPaymentMethodSelectionEvent(){this.paymentMethodSelectionSent||(this.paymentMethodSelectionSent=!0,Z({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:\"PAYMENT_CARD\"}))}checkAndSendPaymentDetailsEnteredEvent(){if(this.paymentDetailsEnteredSent)return;let e=this.inputControllers.get(\"cardNumber\"),a=this.inputControllers.get(\"expire\"),i=this.inputControllers.get(\"cvv\"),n=e?.meta?.dirty===!0,o=a?.meta?.dirty===!0,s=i?.meta?.dirty===!0,l=!0;this.shouldRequireCardholderName&&(l=this.inputControllers.get(\"cardholderName\")?.meta?.dirty===!0),n&&o&&s&&l&&(this.sendPaymentDetailsEnteredEvent(),this.paymentDetailsEnteredSent=!0)}sendPaymentDetailsEnteredEvent(){Z({eventName:\"PAYMENT_DETAILS_ENTERED\",paymentMethod:\"PAYMENT_CARD\"})}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:card-submit\",this.handleDirectSubmit),this._contextCardSubmitListener=e=>{this.handleContextCardSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:card-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitCardPayment(){let e=this.cardFormProvider.value;if(!e||this.disabled)return;this.formErrorMessage=null,e.setSubmissionState?.(!0);let a=this.querySelector(\"primer-billing-address\")||this.renderRoot.querySelector(\"primer-billing-address\"),i=!0;a&&(i=await a.validateForSubmission());let n=await e.validate?.();if(n?.valid&&i){if(a&&!await a.submitToSDK()){let c=b(\"tokenizationError\",{id:\"tokenizationError\"});this.formErrorMessage=c,this.eventsController.dispatchFormSubmitErrors([{field:\"billingAddress\",name:\"billingAddress\",error:\"BILLING_ADDRESS_SUBMISSION_FAILED\",message:c}]);return}let o=this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0;await e.submit?.(o);let s={success:!0};this.eventsController.dispatchFormSubmitSuccess(s)}else{let o=n?.validationErrors;e.propagateValidationErrors?.(o||[]),this.cardFormProvider.setValue({...e,errors:o}),this.eventsController.dispatchFormSubmitErrors(o)}}render(){return this.setupCardFormTask.status===vt.ERROR||this.setupCardFormTask.status===vt.INITIAL?y:p`<form @submit=${this.handleFormSubmit}><slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot>${this.setupCardFormTask.render({complete:()=>R(this.hasAssignedContent,()=>y,()=>p`<div class=\"card-form\"><primer-input-card-number></primer-input-card-number><div class=\"card-form-row\"><primer-input-card-expiry></primer-input-card-expiry><primer-input-cvv></primer-input-cvv></div>${R(this.shouldShowCardholderName,()=>p`<primer-input-card-holder-name></primer-input-card-holder-name>`,()=>y)}<primer-billing-address></primer-billing-address></div><primer-card-form-submit></primer-card-form-submit><primer-error-message message=\"${this.formErrorMessage||\"\"}\" ?visible=\"${!!this.formErrorMessage}\" ></primer-error-message>`)})}</form>`}}"
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"kind": "variable",
|
|
258
|
-
"name": "
|
|
259
|
-
"default": "class extends
|
|
258
|
+
"name": "lt",
|
|
259
|
+
"default": "class extends pe{constructor(){super();this.config={inputType:\"cardNumber\",containerSelector:\"#cardNumber\",errorName:\"cardNumber-card\",translations:{label:{id:\"cardNumber\",defaultMessage:\"Card Number\"},placeholder:\"4111 1111 1111 1111\",ariaLabel:{id:\"cardNumber\",defaultMessage:\"Card Number\"}}};this.handleNetworkSelected=e=>{let{network:a}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(a)};this.childUpdated()}renderInput(){if(this.hostedInputController.setupTask.status===vt.ERROR)return y;let e=this.getError();return p`<primer-input-wrapper .focusWithin=\"${this.hostedInputController.meta.active}\" .hasError=${!!e} >${R(!this.cardFormContext?.hideLabels,()=>p`<primer-input-label slot=\"label\" >${this.label}</primer-input-label >`,()=>y)}<div slot=\"input\" class=\"card-number-container\" aria-label=\"${this.ariaLabel}\" ><div id=\"${this.config.containerSelector.substring(1)}\"></div><div class=\"network-selector-container\"><primer-card-network-selector @network-selected=${this.handleNetworkSelected} ></primer-card-network-selector></div></div>${R(e,a=>p`<primer-input-error slot=\"error\">${b(a,{id:a})}</primer-input-error>`,()=>y)}</primer-input-wrapper>`}render(){return this.renderInput()}}"
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"kind": "variable",
|
|
263
|
-
"name": "
|
|
264
|
-
"default": "class extends
|
|
263
|
+
"name": "dt",
|
|
264
|
+
"default": "class extends pe{constructor(){super();this.config={inputType:\"cvv\",containerSelector:\"#cvv\",errorName:\"cvv-card\",translations:{label:\"CVV\",placeholder:\"123\"}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"kind": "variable",
|
|
268
|
-
"name": "
|
|
269
|
-
"default": "class extends
|
|
268
|
+
"name": "ct",
|
|
269
|
+
"default": "class extends pe{constructor(){super();this.config={inputType:\"expire\",containerSelector:\"#expiry\",errorName:\"expiryDate-card\",translations:{label:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"},placeholder:{id:\"cardExpiryPlaceholder\",defaultMessage:\"MM/YY\"},ariaLabel:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"}}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
"kind": "variable",
|
|
273
|
-
"name": "
|
|
274
|
-
"default": "class extends
|
|
273
|
+
"name": "ut",
|
|
274
|
+
"default": "class extends pe{constructor(){super();this.config={inputType:\"cardholderName\",containerSelector:\"#cardFormName\",errorName:\"cardholderName\",translations:{label:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"},placeholder:{id:\"cardholderNamePlaceholder\",defaultMessage:\"Name on card\"},ariaLabel:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"}},onInput:e=>this.handleInput(e)};this.childUpdated()}handleInput(e){this.cardFormContext?.setCardholderName?.(e)}render(){return this.renderInput()}}"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
"kind": "variable",
|
|
278
|
-
"name": "
|
|
279
|
-
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessUtils=null;this.clientOptions=null;this.sdkState=null;this.cardFormContext=null;this.analyticsUtils=null;this.contextEventsController=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;
|
|
278
|
+
"name": "X",
|
|
279
|
+
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessUtils=null;this.clientOptions=null;this.sdkState=null;this.cardFormContext=null;this.analyticsUtils=null;this.contextEventsController=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;Z({eventName:\"PAYMENT_SUBMITTED\",paymentMethod:\"PAYMENT_CARD\"});let a=new CustomEvent(\"primer:card-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(a)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get submitButtonConfig(){return this.clientOptions?.submitButton??null}get shouldShowBuiltInButton(){return this.submitButtonConfig?.useBuiltInButton??!0}render(){if(!this.shouldShowBuiltInButton)return y;let e=this.submitButtonConfig?.amountVisible?this.headlessUtils?.getUIOrderAmount():null,a=e?` ${e}`:y,i=this.disabled||this.cardFormContext?.disabled||!1;return p`<primer-button type=\"submit\" variant=${this.variant} ?disabled=${i} @click=${this.handleClick} .loading=${!!this.sdkState?.isProcessing} data-submit >${this.buttonText}${a}</primer-button>`}}"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
"kind": "variable",
|
|
283
|
-
"name": "
|
|
284
|
-
"default": "class extends v{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef=
|
|
283
|
+
"name": "me",
|
|
284
|
+
"default": "class extends v{constructor(){super(...arguments);this.cardNetworks=null;this.headlessUtils=null;this.selectedCardNetwork=null;this.isDropdownOpen=!1;this.focusedNetworkIndex=0;this.isKeyboardNavigation=!1;this.buttonRef=Gt();this.dropdownRef=Gt();this.networkOptionRefs=[];this.toggleDropdown=e=>{this.isKeyboardNavigation=!1,e.stopPropagation(),this.getSelectableNetworks().length>1&&(this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))};this.handleClickOutside=e=>{this.isDropdownOpen&&(this.contains(e.target)||(this.isDropdownOpen=!1,this.isKeyboardNavigation=!1))};this.handleMouseMove=()=>{this.isKeyboardNavigation&&(this.isKeyboardNavigation=!1)};this.handleKeyDown=e=>{if(!(!(this.getSelectableNetworks().length>1)||!(this.contains(e.target)||this===e.target||this.isDropdownOpen&&e.target===document.body)))switch(this.isKeyboardNavigation=!0,e.key){case\"ArrowDown\":e.preventDefault(),this.isDropdownOpen?(this.focusedNetworkIndex=(this.focusedNetworkIndex+1)%this.getSelectableNetworks().length,this.focusNetworkOption()):(this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"ArrowUp\":e.preventDefault(),this.isDropdownOpen?(this.focusedNetworkIndex=(this.focusedNetworkIndex-1+this.getSelectableNetworks().length)%this.getSelectableNetworks().length,this.focusNetworkOption()):(this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"Enter\":case\" \":this.isDropdownOpen&&this.focusedNetworkIndex>=0?(e.preventDefault(),this.selectNetwork(e,this.getSelectableNetworks()[this.focusedNetworkIndex])):!this.isDropdownOpen&&this.buttonRef.value===document.activeElement&&(e.preventDefault(),this.isDropdownOpen=!0,this.focusedNetworkIndex=this.getSelectedNetworkIndex());break;case\"Escape\":this.isDropdownOpen&&(e.preventDefault(),this.isDropdownOpen=!1,this.buttonRef.value?.focus());break;case\"Tab\":this.isDropdownOpen&&(this.isDropdownOpen=!1);break}};this.handleDocumentKeyDown=e=>{this.isDropdownOpen&&this.handleKeyDown(e)}}getNetworkIconUrl(e){return this.headlessUtils?.getCardNetworkAsset(e.network)?.cardUrl}getSelectableNetworks(){return this.cardNetworks?.selectableCardNetworks||[]}getDetectedNetwork(){return this.selectedCardNetwork??(this.cardNetworks?.detectedCardNetwork||null)}getSelectedNetworkIndex(){let e=this.getDetectedNetwork();if(!e)return 0;let a=this.getSelectableNetworks().findIndex(i=>i.network===e.network);return a>=0?a:0}selectNetwork(e,a){e.stopPropagation(),this.selectedCardNetwork=a,this.isDropdownOpen=!1,this.buttonRef.value?.focus(),this.cardNetworks&&this.dispatchEvent(new CustomEvent(\"network-selected\",{detail:{network:a.network},bubbles:!0,composed:!0}))}focusNetworkOption(){requestAnimationFrame(()=>{this.networkOptionRefs[this.focusedNetworkIndex]&&this.networkOptionRefs[this.focusedNetworkIndex].focus()})}setNetworkOptionRef(e,a){this.networkOptionRefs[a]=e}connectedCallback(){super.connectedCallback(),setTimeout(()=>{document.addEventListener(\"click\",this.handleClickOutside),document.addEventListener(\"mousemove\",this.handleMouseMove),this.addEventListener(\"keydown\",this.handleKeyDown),document.addEventListener(\"keydown\",this.handleDocumentKeyDown)},0)}disconnectedCallback(){document.removeEventListener(\"click\",this.handleClickOutside),document.removeEventListener(\"keydown\",this.handleDocumentKeyDown),document.removeEventListener(\"mousemove\",this.handleMouseMove),this.removeEventListener(\"keydown\",this.handleKeyDown),super.disconnectedCallback()}render(){if(this.cardNetworks?.isLoading)return p`<primer-spinner size=\"small\" compact></primer-spinner>`;let e=this.getSelectableNetworks();if(!this.getDetectedNetwork()&&e.length===0)return p`<primer-icon name=\"payment-card\" size=\"sm\"></primer-icon>`;let a=this.getDetectedNetwork()||(e.length>0?e[0]:null);if(!a)return p`<primer-icon name=\"payment-card\" size=\"sm\"></primer-icon>`;let i=e.length>1;return p`<button ${Ct(this.buttonRef)} class=\"network-selector\" @click=${this.toggleDropdown} @keydown=${n=>{(n.key===\" \"||n.key===\"Enter\")&&i&&(n.preventDefault(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}} aria-label=${i?`Selected card network: ${a.displayName}. Click to change.`:`Card network: ${a.displayName}`} aria-expanded=${i?this.isDropdownOpen:y} aria-haspopup=${i?\"true\":y} aria-controls=${i?\"network-dropdown\":y} ><img class=\"network-icon\" src=${this.getNetworkIconUrl(a)} alt=${a.displayName} />${R(i,()=>p`<primer-icon class=\"caret ${this.isDropdownOpen?\"open\":\"\"}\" size=\"sm\" name=\"chevron-down\" ></primer-icon>`,()=>y)}</button>${R(this.isDropdownOpen,()=>p`<div ${Ct(this.dropdownRef)} id=\"network-dropdown\" class=\"dropdown open\" role=\"listbox\" aria-label=\"Select card network\" >${e.map((n,o)=>p`<div ${Ct(s=>this.setNetworkOptionRef(s,o))} class=\"network-option ${this.isKeyboardNavigation&&o===this.focusedNetworkIndex?\"focused\":\"\"}\" @click=${s=>this.selectNetwork(s,n)} @keydown=${s=>{(s.key===\"Enter\"||s.key===\" \")&&this.selectNetwork(s,n)}} role=\"option\" aria-selected=${n.network===a.network} tabindex=\"${o===this.focusedNetworkIndex?\"0\":\"-1\"}\" ><img class=\"network-option-icon\" src=${this.getNetworkIconUrl(n)} alt=${n.displayName} /><span class=\"network-name\">${n.displayName}</span>${R(n.network===a.network,()=>p`<primer-icon class=\"checkmark\" name=\"checkmark\" size=\"sm\" ></primer-icon>`,()=>y)}</div>`)}</div>`,()=>y)} `}}"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
"kind": "variable",
|
|
288
|
-
"name": "
|
|
289
|
-
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null;this.contextEventsController=null;this.hasSlottedToggle=!1;this.isExpanded=!1;this._isHandlingContextEvent=!1;this._contextToggleListener=null;this.handleToggleSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedToggle=i.length>0};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isToggleButton(n)&&(e.preventDefault(),this.toggleAccordion())};this.handleDirectToggle=e=>{let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()};this.handleContextToggle=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{if(e.target!==this){e.stopPropagation();let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()}}finally{this._isHandlingContextEvent=!1}}}}isToggleButton(e){let a=this.shadowRoot?.querySelector('slot[name=\"show-other-payments-toggle-button\"]');return a?a.assignedElements({flatten:!0}).some(n=>n===e||n.contains(e)):!1}toggleAccordion(){this.hasSlottedToggle?(this.isExpanded=!this.isExpanded,this.dispatchExpandedEvent(this.isExpanded)):this.collapsableElement&&(this.collapsableElement.isExpanded?this.collapsableElement.collapse():this.collapsableElement.expand())}dispatchExpandedEvent(e){this.dispatchEvent(new CustomEvent(\"primer:show-other-payments-toggled\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.hasSlottedToggle?this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedEvent(!0)):this.collapsableElement?.expand()}collapse(){this.hasSlottedToggle?this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedEvent(!1)):this.collapsableElement?.collapse()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.addEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.removeEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}connectedCallback(){super.connectedCallback(),this.isExpanded=this.vaultManager?.vaultedPaymentMethods.length===0,this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this._contextToggleListener=e=>{this.handleContextToggle(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this.cleanupContextEventListeners(),super.disconnectedCallback()}render(){if(this.vaultManager?.isLoading)return
|
|
288
|
+
"name": "we",
|
|
289
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null;this.contextEventsController=null;this.hasSlottedToggle=!1;this.isExpanded=!1;this._isHandlingContextEvent=!1;this._contextToggleListener=null;this.handleToggleSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedToggle=i.length>0};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isToggleButton(n)&&(e.preventDefault(),this.toggleAccordion())};this.handleDirectToggle=e=>{let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()};this.handleContextToggle=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{if(e.target!==this){e.stopPropagation();let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()}}finally{this._isHandlingContextEvent=!1}}}}isToggleButton(e){let a=this.shadowRoot?.querySelector('slot[name=\"show-other-payments-toggle-button\"]');return a?a.assignedElements({flatten:!0}).some(n=>n===e||n.contains(e)):!1}toggleAccordion(){this.hasSlottedToggle?(this.isExpanded=!this.isExpanded,this.dispatchExpandedEvent(this.isExpanded)):this.collapsableElement&&(this.collapsableElement.isExpanded?this.collapsableElement.collapse():this.collapsableElement.expand())}dispatchExpandedEvent(e){this.dispatchEvent(new CustomEvent(\"primer:show-other-payments-toggled\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.hasSlottedToggle?this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedEvent(!0)):this.collapsableElement?.expand()}collapse(){this.hasSlottedToggle?this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedEvent(!1)):this.collapsableElement?.collapse()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.addEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.removeEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}connectedCallback(){super.connectedCallback(),this.isExpanded=this.vaultManager?.vaultedPaymentMethods.length===0,this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this._contextToggleListener=e=>{this.handleContextToggle(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this.cleanupContextEventListeners(),super.disconnectedCallback()}render(){if(this.vaultManager?.isLoading)return y;let e=this.vaultManager?.showEmptyState||this.vaultManager?.vaultedPaymentMethods.length;return!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.headless||!e?p`<slot name=\"other-payments\"></slot>`:p`<div class=\"other-payment-methods-container\"><slot name=\"show-other-payments-toggle-button\" @slotchange=${this.handleToggleSlotChange} ></slot>${R(!this.hasSlottedToggle,()=>p`<primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.vaultManager?.vaultedPaymentMethods.length===0}\" .header=\"${b(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" ><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></primer-collapsable>`,()=>p`<div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" role=\"region\" aria-labelledby=\"custom-toggle-button\" ><div class=\"collapsable-content\"><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></div></div>`)}</div>`}}"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
"kind": "variable",
|
|
293
|
-
"name": "
|
|
293
|
+
"name": "aa",
|
|
294
294
|
"default": "class extends v{render(){return p`<primer-checkout-state type=\"complete\"></primer-checkout-state>`}}"
|
|
295
295
|
},
|
|
296
296
|
{
|
|
297
297
|
"kind": "variable",
|
|
298
|
-
"name": "
|
|
298
|
+
"name": "Kt",
|
|
299
299
|
"default": "class extends v{constructor(){super(...arguments);this.sdkState=null}render(){return p`<primer-checkout-state type=\"failure\" description=${this.sdkState?.primerJsError?.message||\"\"} ></primer-checkout-state>`}}"
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
"kind": "variable",
|
|
303
|
-
"name": "
|
|
304
|
-
"default": "class extends v{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.paymentFailure&&this.showProcessingErrors)}render(){return this.sdkState?p`<primer-error-message message=\"${b(this.sdkState.paymentFailure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message>`:
|
|
303
|
+
"name": "pt",
|
|
304
|
+
"default": "class extends v{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.paymentFailure&&this.showProcessingErrors)}render(){return this.sdkState?p`<primer-error-message message=\"${b(this.sdkState.paymentFailure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message>`:y}}"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
"kind": "variable",
|
|
308
|
-
"name": "
|
|
309
|
-
"default": "class extends v{constructor(){super(...arguments);this.hasAssignedContent=!1;this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.paymentMethods=null;this.sdkState=null;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?p`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:p`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${
|
|
308
|
+
"name": "et",
|
|
309
|
+
"default": "class extends v{constructor(){super(...arguments);this.hasAssignedContent=!1;this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.paymentMethods=null;this.sdkState=null;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?p`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:p`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<div class=${oe({\"primer-is-processing\":!!this.sdkState?.isProcessing})} ><primer-vault-manager></primer-vault-manager><primer-show-other-payments><div slot=\"other-payments\" class=\"primer-main-list\">${this.paymentMethods?.toArray().map(e=>p`<primer-payment-method type=${e.type} ?disabled=${this.clientOptions?.disabledPayments===!0} ></primer-payment-method>`)}</div></primer-show-other-payments><primer-error-message-container></primer-error-message-container></div>`)} `}}"
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"kind": "function",
|
|
313
|
-
"name": "
|
|
313
|
+
"name": "iB"
|
|
314
314
|
}
|
|
315
315
|
],
|
|
316
316
|
"exports": [
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
"kind": "js",
|
|
335
335
|
"name": "AchPayment",
|
|
336
336
|
"declaration": {
|
|
337
|
-
"name": "
|
|
337
|
+
"name": "Pe",
|
|
338
338
|
"module": "dist/primer-loader.js"
|
|
339
339
|
}
|
|
340
340
|
},
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
"kind": "js",
|
|
343
343
|
"name": "ApplePay",
|
|
344
344
|
"declaration": {
|
|
345
|
-
"name": "
|
|
345
|
+
"name": "Ze",
|
|
346
346
|
"module": "dist/primer-loader.js"
|
|
347
347
|
}
|
|
348
348
|
},
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"kind": "js",
|
|
351
351
|
"name": "BillingAddress",
|
|
352
352
|
"declaration": {
|
|
353
|
-
"name": "
|
|
353
|
+
"name": "le",
|
|
354
354
|
"module": "dist/primer-loader.js"
|
|
355
355
|
}
|
|
356
356
|
},
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"kind": "js",
|
|
359
359
|
"name": "Blik",
|
|
360
360
|
"declaration": {
|
|
361
|
-
"name": "
|
|
361
|
+
"name": "Ae",
|
|
362
362
|
"module": "dist/primer-loader.js"
|
|
363
363
|
}
|
|
364
364
|
},
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
"kind": "js",
|
|
367
367
|
"name": "Button",
|
|
368
368
|
"declaration": {
|
|
369
|
-
"name": "
|
|
369
|
+
"name": "ve",
|
|
370
370
|
"module": "dist/primer-loader.js"
|
|
371
371
|
}
|
|
372
372
|
},
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"kind": "js",
|
|
375
375
|
"name": "CardForm",
|
|
376
376
|
"declaration": {
|
|
377
|
-
"name": "
|
|
377
|
+
"name": "re",
|
|
378
378
|
"module": "dist/primer-loader.js"
|
|
379
379
|
}
|
|
380
380
|
},
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
"kind": "js",
|
|
383
383
|
"name": "CardFormCVV",
|
|
384
384
|
"declaration": {
|
|
385
|
-
"name": "
|
|
385
|
+
"name": "dt",
|
|
386
386
|
"module": "dist/primer-loader.js"
|
|
387
387
|
}
|
|
388
388
|
},
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"kind": "js",
|
|
391
391
|
"name": "CardFormCardNetworkSelector",
|
|
392
392
|
"declaration": {
|
|
393
|
-
"name": "
|
|
393
|
+
"name": "me",
|
|
394
394
|
"module": "dist/primer-loader.js"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
"kind": "js",
|
|
399
399
|
"name": "CardFormCardNumber",
|
|
400
400
|
"declaration": {
|
|
401
|
-
"name": "
|
|
401
|
+
"name": "lt",
|
|
402
402
|
"module": "dist/primer-loader.js"
|
|
403
403
|
}
|
|
404
404
|
},
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
"kind": "js",
|
|
407
407
|
"name": "CardFormError",
|
|
408
408
|
"declaration": {
|
|
409
|
-
"name": "
|
|
409
|
+
"name": "nt",
|
|
410
410
|
"module": "dist/primer-loader.js"
|
|
411
411
|
}
|
|
412
412
|
},
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
"kind": "js",
|
|
415
415
|
"name": "CardFormExpiry",
|
|
416
416
|
"declaration": {
|
|
417
|
-
"name": "
|
|
417
|
+
"name": "ct",
|
|
418
418
|
"module": "dist/primer-loader.js"
|
|
419
419
|
}
|
|
420
420
|
},
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
"kind": "js",
|
|
423
423
|
"name": "CardFormName",
|
|
424
424
|
"declaration": {
|
|
425
|
-
"name": "
|
|
425
|
+
"name": "ut",
|
|
426
426
|
"module": "dist/primer-loader.js"
|
|
427
427
|
}
|
|
428
428
|
},
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
"kind": "js",
|
|
431
431
|
"name": "CardFormSubmit",
|
|
432
432
|
"declaration": {
|
|
433
|
-
"name": "
|
|
433
|
+
"name": "X",
|
|
434
434
|
"module": "dist/primer-loader.js"
|
|
435
435
|
}
|
|
436
436
|
},
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"kind": "js",
|
|
439
439
|
"name": "Collapsable",
|
|
440
440
|
"declaration": {
|
|
441
|
-
"name": "
|
|
441
|
+
"name": "be",
|
|
442
442
|
"module": "dist/primer-loader.js"
|
|
443
443
|
}
|
|
444
444
|
},
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
"kind": "js",
|
|
455
455
|
"name": "DynamicPayment",
|
|
456
456
|
"declaration": {
|
|
457
|
-
"name": "
|
|
457
|
+
"name": "xe",
|
|
458
458
|
"module": "dist/primer-loader.js"
|
|
459
459
|
}
|
|
460
460
|
},
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
"kind": "js",
|
|
463
463
|
"name": "ErrorMessage",
|
|
464
464
|
"declaration": {
|
|
465
|
-
"name": "
|
|
465
|
+
"name": "We",
|
|
466
466
|
"module": "dist/primer-loader.js"
|
|
467
467
|
}
|
|
468
468
|
},
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"kind": "js",
|
|
471
471
|
"name": "ErrorMessageContainer",
|
|
472
472
|
"declaration": {
|
|
473
|
-
"name": "
|
|
473
|
+
"name": "pt",
|
|
474
474
|
"module": "dist/primer-loader.js"
|
|
475
475
|
}
|
|
476
476
|
},
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
"kind": "js",
|
|
479
479
|
"name": "GooglePay",
|
|
480
480
|
"declaration": {
|
|
481
|
-
"name": "
|
|
481
|
+
"name": "Je",
|
|
482
482
|
"module": "dist/primer-loader.js"
|
|
483
483
|
}
|
|
484
484
|
},
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"kind": "js",
|
|
487
487
|
"name": "InitializedPayments",
|
|
488
488
|
"declaration": {
|
|
489
|
-
"name": "
|
|
489
|
+
"name": "dr",
|
|
490
490
|
"module": "dist/primer-loader.js"
|
|
491
491
|
}
|
|
492
492
|
},
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
"kind": "js",
|
|
495
495
|
"name": "InitializedVaultedPayments",
|
|
496
496
|
"declaration": {
|
|
497
|
-
"name": "
|
|
497
|
+
"name": "cr",
|
|
498
498
|
"module": "dist/primer-loader.js"
|
|
499
499
|
}
|
|
500
500
|
},
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
"kind": "js",
|
|
503
503
|
"name": "Input",
|
|
504
504
|
"declaration": {
|
|
505
|
-
"name": "
|
|
505
|
+
"name": "Y",
|
|
506
506
|
"module": "dist/primer-loader.js"
|
|
507
507
|
}
|
|
508
508
|
},
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
"kind": "js",
|
|
511
511
|
"name": "InputLabel",
|
|
512
512
|
"declaration": {
|
|
513
|
-
"name": "
|
|
513
|
+
"name": "it",
|
|
514
514
|
"module": "dist/primer-loader.js"
|
|
515
515
|
}
|
|
516
516
|
},
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
"kind": "js",
|
|
519
519
|
"name": "InputWrapper",
|
|
520
520
|
"declaration": {
|
|
521
|
-
"name": "
|
|
521
|
+
"name": "ze",
|
|
522
522
|
"module": "dist/primer-loader.js"
|
|
523
523
|
}
|
|
524
524
|
},
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
"kind": "js",
|
|
527
527
|
"name": "PayPal",
|
|
528
528
|
"declaration": {
|
|
529
|
-
"name": "
|
|
529
|
+
"name": "qe",
|
|
530
530
|
"module": "dist/primer-loader.js"
|
|
531
531
|
}
|
|
532
532
|
},
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
"kind": "js",
|
|
535
535
|
"name": "PaymentMethod",
|
|
536
536
|
"declaration": {
|
|
537
|
-
"name": "
|
|
537
|
+
"name": "Oe",
|
|
538
538
|
"module": "dist/primer-loader.js"
|
|
539
539
|
}
|
|
540
540
|
},
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
"kind": "js",
|
|
543
543
|
"name": "PaymentMethodContainer",
|
|
544
544
|
"declaration": {
|
|
545
|
-
"name": "
|
|
545
|
+
"name": "Re",
|
|
546
546
|
"module": "dist/primer-loader.js"
|
|
547
547
|
}
|
|
548
548
|
},
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
"kind": "js",
|
|
551
551
|
"name": "PaymentMethodContentComponent",
|
|
552
552
|
"declaration": {
|
|
553
|
-
"name": "
|
|
553
|
+
"name": "Xe",
|
|
554
554
|
"module": "dist/primer-loader.js"
|
|
555
555
|
}
|
|
556
556
|
},
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
"kind": "js",
|
|
559
559
|
"name": "Portal",
|
|
560
560
|
"declaration": {
|
|
561
|
-
"name": "
|
|
561
|
+
"name": "bt",
|
|
562
562
|
"module": "dist/primer-loader.js"
|
|
563
563
|
}
|
|
564
564
|
},
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
"kind": "js",
|
|
567
567
|
"name": "PortalDialog",
|
|
568
568
|
"declaration": {
|
|
569
|
-
"name": "
|
|
569
|
+
"name": "ue",
|
|
570
570
|
"module": "dist/primer-loader.js"
|
|
571
571
|
}
|
|
572
572
|
},
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
"kind": "js",
|
|
575
575
|
"name": "PrimerCheckoutComplete",
|
|
576
576
|
"declaration": {
|
|
577
|
-
"name": "
|
|
577
|
+
"name": "aa",
|
|
578
578
|
"module": "dist/primer-loader.js"
|
|
579
579
|
}
|
|
580
580
|
},
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
"kind": "js",
|
|
583
583
|
"name": "PrimerCheckoutComponent",
|
|
584
584
|
"declaration": {
|
|
585
|
-
"name": "
|
|
585
|
+
"name": "Te",
|
|
586
586
|
"module": "dist/primer-loader.js"
|
|
587
587
|
}
|
|
588
588
|
},
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
"kind": "js",
|
|
591
591
|
"name": "PrimerCheckoutFailure",
|
|
592
592
|
"declaration": {
|
|
593
|
-
"name": "
|
|
593
|
+
"name": "Kt",
|
|
594
594
|
"module": "dist/primer-loader.js"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
"kind": "js",
|
|
599
599
|
"name": "PrimerCheckoutState",
|
|
600
600
|
"declaration": {
|
|
601
|
-
"name": "
|
|
601
|
+
"name": "ot",
|
|
602
602
|
"module": "dist/primer-loader.js"
|
|
603
603
|
}
|
|
604
604
|
},
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"kind": "js",
|
|
607
607
|
"name": "PrimerIcon",
|
|
608
608
|
"declaration": {
|
|
609
|
-
"name": "
|
|
609
|
+
"name": "je",
|
|
610
610
|
"module": "dist/primer-loader.js"
|
|
611
611
|
}
|
|
612
612
|
},
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
"kind": "js",
|
|
615
615
|
"name": "PrimerKlarna",
|
|
616
616
|
"declaration": {
|
|
617
|
-
"name": "
|
|
617
|
+
"name": "se",
|
|
618
618
|
"module": "dist/primer-loader.js"
|
|
619
619
|
}
|
|
620
620
|
},
|
|
@@ -622,7 +622,7 @@
|
|
|
622
622
|
"kind": "js",
|
|
623
623
|
"name": "PrimerMain",
|
|
624
624
|
"declaration": {
|
|
625
|
-
"name": "
|
|
625
|
+
"name": "et",
|
|
626
626
|
"module": "dist/primer-loader.js"
|
|
627
627
|
}
|
|
628
628
|
},
|
|
@@ -630,7 +630,7 @@
|
|
|
630
630
|
"kind": "js",
|
|
631
631
|
"name": "RedirectPayment",
|
|
632
632
|
"declaration": {
|
|
633
|
-
"name": "
|
|
633
|
+
"name": "_e",
|
|
634
634
|
"module": "dist/primer-loader.js"
|
|
635
635
|
}
|
|
636
636
|
},
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
"kind": "js",
|
|
639
639
|
"name": "Select",
|
|
640
640
|
"declaration": {
|
|
641
|
-
"name": "
|
|
641
|
+
"name": "Se",
|
|
642
642
|
"module": "dist/primer-loader.js"
|
|
643
643
|
}
|
|
644
644
|
},
|
|
@@ -646,7 +646,7 @@
|
|
|
646
646
|
"kind": "js",
|
|
647
647
|
"name": "ShowOtherPayments",
|
|
648
648
|
"declaration": {
|
|
649
|
-
"name": "
|
|
649
|
+
"name": "we",
|
|
650
650
|
"module": "dist/primer-loader.js"
|
|
651
651
|
}
|
|
652
652
|
},
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
"kind": "js",
|
|
655
655
|
"name": "Spinner",
|
|
656
656
|
"declaration": {
|
|
657
|
-
"name": "
|
|
657
|
+
"name": "$e",
|
|
658
658
|
"module": "dist/primer-loader.js"
|
|
659
659
|
}
|
|
660
660
|
},
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
"kind": "js",
|
|
663
663
|
"name": "VaultCvvInput",
|
|
664
664
|
"declaration": {
|
|
665
|
-
"name": "
|
|
665
|
+
"name": "Q",
|
|
666
666
|
"module": "dist/primer-loader.js"
|
|
667
667
|
}
|
|
668
668
|
},
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
"kind": "js",
|
|
671
671
|
"name": "VaultDeleteConfirmation",
|
|
672
672
|
"declaration": {
|
|
673
|
-
"name": "
|
|
673
|
+
"name": "Ie",
|
|
674
674
|
"module": "dist/primer-loader.js"
|
|
675
675
|
}
|
|
676
676
|
},
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
"kind": "js",
|
|
679
679
|
"name": "VaultEmptyState",
|
|
680
680
|
"declaration": {
|
|
681
|
-
"name": "
|
|
681
|
+
"name": "st",
|
|
682
682
|
"module": "dist/primer-loader.js"
|
|
683
683
|
}
|
|
684
684
|
},
|
|
@@ -686,7 +686,7 @@
|
|
|
686
686
|
"kind": "js",
|
|
687
687
|
"name": "VaultErrorMessage",
|
|
688
688
|
"declaration": {
|
|
689
|
-
"name": "
|
|
689
|
+
"name": "Qe",
|
|
690
690
|
"module": "dist/primer-loader.js"
|
|
691
691
|
}
|
|
692
692
|
},
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
"kind": "js",
|
|
695
695
|
"name": "VaultManager",
|
|
696
696
|
"declaration": {
|
|
697
|
-
"name": "
|
|
697
|
+
"name": "q",
|
|
698
698
|
"module": "dist/primer-loader.js"
|
|
699
699
|
}
|
|
700
700
|
},
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
"kind": "js",
|
|
703
703
|
"name": "VaultManagerHeader",
|
|
704
704
|
"declaration": {
|
|
705
|
-
"name": "
|
|
705
|
+
"name": "Ge",
|
|
706
706
|
"module": "dist/primer-loader.js"
|
|
707
707
|
}
|
|
708
708
|
},
|
|
@@ -718,7 +718,7 @@
|
|
|
718
718
|
"kind": "js",
|
|
719
719
|
"name": "VaultPaymentSubmit",
|
|
720
720
|
"declaration": {
|
|
721
|
-
"name": "
|
|
721
|
+
"name": "ae",
|
|
722
722
|
"module": "dist/primer-loader.js"
|
|
723
723
|
}
|
|
724
724
|
},
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
"kind": "js",
|
|
727
727
|
"name": "injectDarkTheme",
|
|
728
728
|
"declaration": {
|
|
729
|
-
"name": "
|
|
729
|
+
"name": "Cp",
|
|
730
730
|
"module": "dist/primer-loader.js"
|
|
731
731
|
}
|
|
732
732
|
},
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
"kind": "js",
|
|
735
735
|
"name": "injectLightTheme",
|
|
736
736
|
"declaration": {
|
|
737
|
-
"name": "
|
|
737
|
+
"name": "Ap",
|
|
738
738
|
"module": "dist/primer-loader.js"
|
|
739
739
|
}
|
|
740
740
|
},
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
"kind": "js",
|
|
743
743
|
"name": "injectLoaderStyles",
|
|
744
744
|
"declaration": {
|
|
745
|
-
"name": "
|
|
745
|
+
"name": "Cs",
|
|
746
746
|
"module": "dist/primer-loader.js"
|
|
747
747
|
}
|
|
748
748
|
},
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
"kind": "js",
|
|
751
751
|
"name": "injectThemeStyles",
|
|
752
752
|
"declaration": {
|
|
753
|
-
"name": "
|
|
753
|
+
"name": "Ms",
|
|
754
754
|
"module": "dist/primer-loader.js"
|
|
755
755
|
}
|
|
756
756
|
},
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
"kind": "js",
|
|
759
759
|
"name": "loadPrimer",
|
|
760
760
|
"declaration": {
|
|
761
|
-
"name": "
|
|
761
|
+
"name": "iB",
|
|
762
762
|
"module": "dist/primer-loader.js"
|
|
763
763
|
}
|
|
764
764
|
}
|
|
@@ -1682,7 +1682,7 @@
|
|
|
1682
1682
|
},
|
|
1683
1683
|
{
|
|
1684
1684
|
"kind": "javascript-module",
|
|
1685
|
-
"path": "dist/chunks/ar.
|
|
1685
|
+
"path": "dist/chunks/ar.44J7SJG6.js",
|
|
1686
1686
|
"declarations": [
|
|
1687
1687
|
{
|
|
1688
1688
|
"kind": "variable",
|
|
@@ -1696,14 +1696,14 @@
|
|
|
1696
1696
|
"name": "templates",
|
|
1697
1697
|
"declaration": {
|
|
1698
1698
|
"name": "o",
|
|
1699
|
-
"module": "dist/chunks/ar.
|
|
1699
|
+
"module": "dist/chunks/ar.44J7SJG6.js"
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
1702
|
]
|
|
1703
1703
|
},
|
|
1704
1704
|
{
|
|
1705
1705
|
"kind": "javascript-module",
|
|
1706
|
-
"path": "dist/chunks/bg.
|
|
1706
|
+
"path": "dist/chunks/bg.LT2YIFOH.js",
|
|
1707
1707
|
"declarations": [
|
|
1708
1708
|
{
|
|
1709
1709
|
"kind": "variable",
|
|
@@ -1717,19 +1717,19 @@
|
|
|
1717
1717
|
"name": "templates",
|
|
1718
1718
|
"declaration": {
|
|
1719
1719
|
"name": "o",
|
|
1720
|
-
"module": "dist/chunks/bg.
|
|
1720
|
+
"module": "dist/chunks/bg.LT2YIFOH.js"
|
|
1721
1721
|
}
|
|
1722
1722
|
}
|
|
1723
1723
|
]
|
|
1724
1724
|
},
|
|
1725
1725
|
{
|
|
1726
1726
|
"kind": "javascript-module",
|
|
1727
|
-
"path": "dist/chunks/ca.
|
|
1727
|
+
"path": "dist/chunks/ca.KUW6ECYF.js",
|
|
1728
1728
|
"declarations": [
|
|
1729
1729
|
{
|
|
1730
1730
|
"kind": "variable",
|
|
1731
1731
|
"name": "i",
|
|
1732
|
-
"default": "
|
|
1732
|
+
"default": "a"
|
|
1733
1733
|
}
|
|
1734
1734
|
],
|
|
1735
1735
|
"exports": [
|
|
@@ -1738,7 +1738,7 @@
|
|
|
1738
1738
|
"name": "templates",
|
|
1739
1739
|
"declaration": {
|
|
1740
1740
|
"name": "i",
|
|
1741
|
-
"module": "dist/chunks/ca.
|
|
1741
|
+
"module": "dist/chunks/ca.KUW6ECYF.js"
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
1744
|
]
|
|
@@ -1824,7 +1824,7 @@
|
|
|
1824
1824
|
},
|
|
1825
1825
|
{
|
|
1826
1826
|
"kind": "javascript-module",
|
|
1827
|
-
"path": "dist/chunks/chunk.
|
|
1827
|
+
"path": "dist/chunks/chunk.TIWM3PQ7.js",
|
|
1828
1828
|
"declarations": [
|
|
1829
1829
|
{
|
|
1830
1830
|
"kind": "variable",
|
|
@@ -1832,7 +1832,7 @@
|
|
|
1832
1832
|
"type": {
|
|
1833
1833
|
"text": "object"
|
|
1834
1834
|
},
|
|
1835
|
-
"default": "{accountHolder:\"Account Holder\",accountHolderEmail:\"me@domain.com\",accountHolderEmailErrorInvalid:\"Provided email is not valid\",accountHolderEmailErrorRequired:\"Account holder email is required\",accountHolderName:\"Account holder name\",accountHolderNameErrorRequired:\"Account holder name is required\",accountHolderNameLabel:\"Account holder name\",accountHolderNamePlaceholder:\"Account holder name\",addCard:\"Add Card\",additionalCardFees:\"Additional card fees may apply\",address:\"Address\",addressLine1:\"Address line 1\",addressLine1ErrorRequired:\"Address line 1 is required\",addressLine1Placeholder:\"Address line 1\",addressLine2:\"Address line 2\",addressLine2ErrorRequired:\"Address line 2 is required\",addressLine2Placeholder:\"Address line 2\",amount:\"Amount\",applePayFailedToTokenize:\"Failed to tokenize\",applePayMissingFirstNameOrLastName:\"Missing first name or last name\",bankHolderNameErrorRequired:\"Account holder name is required\",bankListErrorRequired:\"Bank is required\",bankListLabel:\"List of banks\",bankNameErrorRequired:\"Bank name is required\",bankNameLabel:\"Select your bank from the list\",bankNetworkErrorButton:\"Load again\",bankNetworkErrorTitle:\"Failed to load banks. Check your connection and try again.\",bankSearchInputPlaceholder:\"Search bank\",bankSelectTitle:\"Select your bank\",billingAddressLabel:\"Billing address\",cancel:\"Cancel\",cardCVV:\"CVV\",cardDescription:\"Card description (optional)\",cardDescriptionPlaceholder:\"My favourite card\",cardEndingWith:\"Card ending with\",cardExpired:\"Card has expired\",cardExpiry:\"Expiry (MM/YY)\",cardExpiryPlaceholder:\"MM/YY\",cardholderName:\"Name on card\",cardholderNameErrorRequired:\"Name on card is required\",cardholderNameLabel:\"Name on card\",cardholderNamePlaceholder:\"Full name\",cardIncomplete:\"Card number is incomplete\",cardInvalid:\"Card number is invalid\",cardNameContainsNumbers:\"Name cannot contain numbers\",cardNameLength:\"Name must have between 2 and 45 characters\",cardNameRequired:\"Name on card is required\",cardNumber:\"Card number\",cardRequired:\"Card number is required\",checkSuccessTitle:\"Your payment was successful!\",checkoutWith:\"Checkout with\",chooseAnotherPaymentMethod:\"Choose another payment method\",city:\"City\",cityErrorRequired:\"City is required\",cityLabel:\"City\",cityPlaceholder:\"Cape Town\",completeYourPayment:\"Complete your payment\",completeYourPaymentInTheApp:\"Complete your payment in %s\",confirm:\"Confirm\",confirmCardDeletion:\"Confirm - Delete Card\",confirmPayPalDeletion:\"Confirm - Delete PayPal\",confirmVaultedPaymentMethodDeletion:\"Yes, delete it\",countryCodeErrorRequired:\"Country is required\",countryCodeLabel:\"Country code\",countryCodePlaceholder:\"Country code\",countrySelectPlaceholder:\"Select a country\",creditOrDebitCard:\"Credit or debit card\",creditTransfer:\"Credit Transfer\",cvvIncomplete:\"CVV number is incomplete\",cvvInvalid3:\"CVV must be 3 digits\",cvvInvalid4:\"CVV must be 4 digits\",cvvRequired:\"CVV number is required\",delete:\"Delete\",digits:\"digits\",directDebit:\"Direct debit\",directDebitMandateTitle:\"SEPA Core Direct Debit Mandate\",directDebitSmallPrint:\"By signing this mandate form, you authorise (A) {companyName} to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instruction from {companyName}\",directDebitSuccessDescription:\"{companyName} will appear on your bank statement when payments are taken against the Direct Debit\",directDebitSuccessReference:\"Reference\",directDebitSuccessTitle:\"Direct Debit set up successfully\",dueAt:\"Due at\",dummyApmDescription:\"This is a mocked flow for sandbox. Choose the result you want to test from the list below:\",duplicatePaymentMethodError:\"This payment method is already saved.\",editPaymentMethods:\"Edit saved payment methods\",email:\"Email\",entity:\"Entity\",expiresAt:\"Expires at\",expiryIncomplete:\"Expiry date is incomplete\",expiryInvalid:\"Expiry date is invalid\",expiryMonthInvalid:\"Expiry date month is invalid\",expiryRequired:\"Expiry date is required\",expiryYearInvalid:\"Expiry date year is invalid\",fee_label_fallback:\"Fee\",firstNameErrorRequired:\"First name is required\",firstNameLabel:\"First name\",firstNamePlaceholder:\"First name\",forgetPaymentMethods:\"Forget payment methods\",forgetPayPal:\"Forget PayPal account\",forgetSavedCard:\"Forget saved card ending in {last4Digits}\",fullName:\"First and last name\",getCodeFromBankingApp:\"Get the code from your banking app\",giftCard:\"Gift card\",iban:\"IBAN\",ibanErrorInvalid:\"IBAN is invalid\",ibanErrorRequired:\"IBAN is required\",ibanPlaceholder:\"e.g. GB60 BARC 2000 0055 7799 11\",invalid:\"Invalid\",item_label_fallback:\"Item\",lastNameErrorRequired:\"Last name is required\",lastNameLabel:\"Last name\",lastNamePlaceholder:\"Last name\",loading:\"Loading...\",managePaymentMethods:\"Manage your payment methods\",multibancoFirstStep:\"Payment details for a Multibanco Reference will be created.\",multibancoPayWith:\"Pay with Multibanco\",multibancoPleaseMakePayment:\"Please make the payment at a Multibanco ATM, or through your home banking app.\",multibancoSecondStep:\"Go to a Multibanco ATM or login to your home banking app, then select \\u201CPay for Services\\u201D.\",multibancoThirdStep:\"Enter the Entity, Reference and Amount.\",navigateToPaymentMethods:\"Show other ways to pay\",newPaymentMethod:\"Add a new payment method\",noAdditionalFees:\"No additional fees\",otherWaysToPay:\"Other ways to pay\",pay_with_ach:\"Pay with ACH\",pay_with:\"Pay with\",pay:\"Pay\",payByCard:\"Pay by card\",payByImmediateTransfer:\"Pay by Immediate transfer\",payBySmartTransfer:\"Pay by Bank transfer\",payInInstallments:\"Pay in installments\",paymentMethodPopupLoadingScreenText:\"Hold on! {paymentMethodName} is loading.\",paymentMethodPopupOverlayBringBackThePaymentPage:\"Bring back the payment page\",paymentMethodPopupOverlayClose:\"Close\",paymentMethodPopupOverlayDescription:\"Having trouble viewing the {paymentMethodName} payment page? We'll help you find it!\",paymentMethodPopupOverlayNonFocusDescription:\"Open the {paymentMethodName} payment page to review your payment.\",paymentMethodTypeKlarna:\"Pay later\",paymentMethodTypeKlarnaAccount:\"Pay over time\",paymentMethodTypeKlarnaPaynow:\"Pay now\",payViaBankTransfer:\"Pay via bank transfer\",payWithAch:\"Pay with ACH\",payWithCard:\"Or pay with card\",payWithCrypto:\"Pay with crypto\",pleaseTransferFunds:\"Please Transfer funds to the provided DBS bank account using your Singapore based bank account via FAST (preferred), MEPS or GIRO.\",postalCode:\"Postal code\",postalCodeErrorRequired:\"Postal code is required\",postalCodeLabel:\"Postal code\",postalCodePlaceholder:\"90210\",previouslyUsed:\"Previously used:\",qrCode:\"QR Code\",reference:\"Reference\",required:\"Required\",retry_button:\"Retry\",savedPaymentMethodsEmpty:\"Enter your card details below to add a new payment method\",savePaymentMethod:\"Save payment method\",scanToPay:\"Scan to pay or take a screenshot\",sepaCreditTransfer:\"SEPA Credit Transfer\",sepaDirectDebit:\"SEPA Direct Debit\",session_complete_payment_cancellation_title:\"Payment cancelled\",session_complete_payment_failure_title:\"Payment failed\",session_complete_payment_success_title:\"Payment authorized\",setUpDirectDebit:\"Set up Direct Debit\",shipping_address_unsupported_error:\"We do not ship to this address\",shipping:\"Shipping\",showPaymentDetails:\"Show payment details\",sixDigitCodeErrorNumeric:\"Six digit code should only contain numbers\",sixDigitCodeErrorRequired:\"Six digit code is required\",sixDigitCodeErrorTooShort:\"Code is too short\",sixDigitCodeLabel:\"Six digit code\",sixDigitCodePlaceholder:\"123456\",something_went_wrong_error:\"Something went wrong. Please try again.\",stateErrorRequired:\"State, Region or County is required\",stateLabel:\"State / Region / County\",statePlaceholder:\"State / Region / County\",street:\"Street\",streetPlaceholder:\"My street\",stripe_ach_mandate_accept_button:\"Accept\",stripe_ach_mandate_cancel_payment_button:\"Cancel payment\",stripe_ach_mandate_not_accepted_description:\"Mandate was not accepted\",stripe_ach_mandate_template_web:`By clicking Accept, you authorize {merchantName} to debit the selected bank account for any amount owed for charges arising from your use of {merchantName}\\u2019s services and/or purchase of products from {merchantName}, pursuant to {merchantName}\\u2019s website and terms, until this authorization is revoked. You may amend or cancel this authorization at any time by providing notice to {merchantName} with 30 (thirty) days notice. If you use {merchantName}\\u2019s services or purchase additional products periodically pursuant to {merchantName}\\u2019s terms, you authorize {merchantName} to debit your bank account periodically. Payments that fall outside the regular debits authorized above will only be debited after your authorization is obtained.`,stripe_ach_payment_request_cancelled:\"Please try again or select another bank\",stripe_ach_payment_request_completed_successfully:\"You have now authorized your bank account to be debited. You will be notified via email once the payment has been collected successfully.\",stripe_ach_user_details_collection_continue_button:\"Continue\",stripe_ach_user_details_collection_data_usage_label:\"We'll only use this to keep you updated about your payment\",stripe_ach_user_details_collection_email_address_label:\"Email address\",stripe_ach_user_details_collection_first_name_label:\"First name\",stripe_ach_user_details_collection_invalid_email_address:\"The email address you entered doesn't look like a real email address. Please make sure it includes an '@' and a domain (like '@example.com').\",stripe_ach_user_details_collection_invalid_first_name:\"Please enter a valid first name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_invalid_last_name:\"Please enter a valid last name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_last_name_label:\"Last name\",stripe_ach_user_details_collection_subtitle_label:\"Your personal details\",suburb:\"Suburb\",suburbPlaceholder:\"My suburb\",telephoneNumberErrorRequired:\"Phone number is required\",telephoneNumberErrorTooShort:\"Phone number is too short\",telephoneNumberLabel:\"Phone number\",telephoneNumberPlaceholder:\"123xxxxxx\",timeOnDate:\"{time} on {date}\",tokenizationError:\"Your payment could not be processed. Please try another payment method.\",unsupportedCardType:\"Unsupported card type\",uploadScreenshot:\"Upload the screenshot in your banking app\",yourBankDetails:\"Your bank details\"}"
|
|
1835
|
+
"default": "{accountHolder:\"Account Holder\",accountHolderEmail:\"me@domain.com\",accountHolderEmailErrorInvalid:\"Provided email is not valid\",accountHolderEmailErrorRequired:\"Account holder email is required\",accountHolderName:\"Account holder name\",accountHolderNameErrorRequired:\"Account holder name is required\",accountHolderNameLabel:\"Account holder name\",accountHolderNamePlaceholder:\"Account holder name\",addCard:\"Add Card\",additionalCardFees:\"Additional card fees may apply\",address:\"Address\",addressLine1:\"Address line 1\",addressLine1ErrorRequired:\"Address line 1 is required\",addressLine1Placeholder:\"Address line 1\",addressLine2:\"Address line 2\",addressLine2ErrorRequired:\"Address line 2 is required\",addressLine2Placeholder:\"Address line 2\",amount:\"Amount\",applePayFailedToTokenize:\"Failed to tokenize\",applePayMissingFirstNameOrLastName:\"Missing first name or last name\",bankHolderNameErrorRequired:\"Account holder name is required\",bankListErrorRequired:\"Bank is required\",bankListLabel:\"List of banks\",bankNameErrorRequired:\"Bank name is required\",bankNameLabel:\"Select your bank from the list\",bankNetworkErrorButton:\"Load again\",bankNetworkErrorTitle:\"Failed to load banks. Check your connection and try again.\",bankSearchInputPlaceholder:\"Search bank\",bankSelectTitle:\"Select your bank\",billingAddressLabel:\"Billing address\",cancel:\"Cancel\",cardCVV:\"CVV\",cardDescription:\"Card description (optional)\",cardDescriptionPlaceholder:\"My favourite card\",cardEndingWith:\"Card ending with\",cardExpired:\"Card has expired\",cardExpiry:\"Expiry (MM/YY)\",cardExpiryPlaceholder:\"MM/YY\",cardholderName:\"Name on card\",cardholderNameErrorRequired:\"Name on card is required\",cardholderNameLabel:\"Name on card\",cardholderNamePlaceholder:\"Full name\",cardIncomplete:\"Card number is incomplete\",cardInvalid:\"Card number is invalid\",cardNameContainsNumbers:\"Name cannot contain numbers\",cardNameLength:\"Name must have between 2 and 45 characters\",cardNameRequired:\"Name on card is required\",cardNumber:\"Card number\",cardRequired:\"Card number is required\",checkSuccessTitle:\"Your payment was successful!\",checkoutWith:\"Checkout with\",chooseAnotherPaymentMethod:\"Choose another payment method\",city:\"City\",cityErrorRequired:\"City is required\",cityLabel:\"City\",cityPlaceholder:\"Cape Town\",completeYourPayment:\"Complete your payment\",completeYourPaymentInTheApp:\"Complete your payment in %s\",confirm:\"Confirm\",confirmCardDeletion:\"Confirm - Delete Card\",confirmPayPalDeletion:\"Confirm - Delete PayPal\",confirmVaultedPaymentMethodDeletion:\"Yes, delete it\",countryCodeErrorRequired:\"Country is required\",countryCodeLabel:\"Country code\",countryCodePlaceholder:\"Country code\",countrySelectPlaceholder:\"Select a country\",creditOrDebitCard:\"Credit or debit card\",creditTransfer:\"Credit Transfer\",cvvIncomplete:\"CVV number is incomplete\",cvvInvalid3:\"CVV must be 3 digits\",cvvInvalid4:\"CVV must be 4 digits\",cvvRequired:\"CVV number is required\",delete:\"Delete\",digits:\"digits\",directDebit:\"Direct debit\",directDebitMandateTitle:\"SEPA Core Direct Debit Mandate\",directDebitSmallPrint:\"By signing this mandate form, you authorise (A) {companyName} to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instruction from {companyName}\",directDebitSuccessDescription:\"{companyName} will appear on your bank statement when payments are taken against the Direct Debit\",directDebitSuccessReference:\"Reference\",directDebitSuccessTitle:\"Direct Debit set up successfully\",dueAt:\"Due at\",dummyApmDescription:\"This is a mocked flow for sandbox. Choose the result you want to test from the list below:\",duplicatePaymentMethodError:\"This payment method is already saved.\",editPaymentMethods:\"Edit saved payment methods\",email:\"Email\",entity:\"Entity\",expiresAt:\"Expires at\",expiryIncomplete:\"Expiry date is incomplete\",expiryInvalid:\"Expiry date is invalid\",expiryMonthInvalid:\"Expiry date month is invalid\",expiryRequired:\"Expiry date is required\",expiryYearInvalid:\"Expiry date year is invalid\",fee_label_fallback:\"Fee\",firstNameErrorRequired:\"First name is required\",firstNameLabel:\"First name\",firstNamePlaceholder:\"First name\",forgetPaymentMethods:\"Forget payment methods\",forgetPayPal:\"Forget PayPal account\",forgetSavedCard:\"Forget saved card ending in {last4Digits}\",fullName:\"First and last name\",getCodeFromBankingApp:\"Get the code from your banking app\",giftCard:\"Gift card\",iban:\"IBAN\",ibanErrorInvalid:\"IBAN is invalid\",ibanErrorRequired:\"IBAN is required\",ibanPlaceholder:\"e.g. GB60 BARC 2000 0055 7799 11\",invalid:\"Invalid\",item_label_fallback:\"Item\",lastNameErrorRequired:\"Last name is required\",lastNameLabel:\"Last name\",lastNamePlaceholder:\"Last name\",loading:\"Loading...\",managePaymentMethods:\"Manage your payment methods\",multibancoFirstStep:\"Payment details for a Multibanco Reference will be created.\",multibancoPayWith:\"Pay with Multibanco\",multibancoPleaseMakePayment:\"Please make the payment at a Multibanco ATM, or through your home banking app.\",multibancoSecondStep:\"Go to a Multibanco ATM or login to your home banking app, then select \\u201CPay for Services\\u201D.\",multibancoThirdStep:\"Enter the Entity, Reference and Amount.\",navigateToPaymentMethods:\"Show other ways to pay\",newPaymentMethod:\"Add a new payment method\",noAdditionalFees:\"No additional fees\",otherWaysToPay:\"Other ways to pay\",pay_with_ach:\"Pay with ACH\",pay_with:\"Pay with\",pay:\"Pay\",payByCard:\"Pay by card\",payByImmediateTransfer:\"Pay by Immediate transfer\",payBySmartTransfer:\"Pay by Bank transfer\",payInInstallments:\"Pay in installments\",paymentMethodPopupLoadingScreenText:\"Hold on! {paymentMethodName} is loading.\",paymentMethodPopupOverlayBringBackThePaymentPage:\"Bring back the payment page\",paymentMethodPopupOverlayClose:\"Close\",paymentMethodPopupOverlayDescription:\"Having trouble viewing the {paymentMethodName} payment page? We'll help you find it!\",paymentMethodPopupOverlayNonFocusDescription:\"Open the {paymentMethodName} payment page to review your payment.\",paymentMethodTypeKlarna:\"Pay later\",paymentMethodTypeKlarnaAccount:\"Pay over time\",paymentMethodTypeKlarnaPaynow:\"Pay now\",payViaBankTransfer:\"Pay via bank transfer\",payWithAch:\"Pay with ACH\",payWithCard:\"Or pay with card\",payWithCrypto:\"Pay with crypto\",pleaseTransferFunds:\"Please Transfer funds to the provided DBS bank account using your Singapore based bank account via FAST (preferred), MEPS or GIRO.\",postalCode:\"Postal code\",postalCodeErrorRequired:\"Postal code is required\",postalCodeLabel:\"Postal code\",postalCodePlaceholder:\"90210\",previouslyUsed:\"Previously used:\",qrCode:\"QR Code\",reference:\"Reference\",required:\"Required\",retry_button:\"Retry\",savedPaymentMethodsEmpty:\"Enter your card details below to add a new payment method\",savePaymentMethod:\"Save payment method\",scanToPay:\"Scan to pay or take a screenshot\",sepaCreditTransfer:\"SEPA Credit Transfer\",sepaDirectDebit:\"SEPA Direct Debit\",session_complete_payment_cancellation_title:\"Payment cancelled\",session_complete_payment_failure_title:\"Payment failed\",session_complete_payment_success_title:\"Payment authorized\",setUpDirectDebit:\"Set up Direct Debit\",shipping_address_unsupported_error:\"We do not ship to this address\",shipping:\"Shipping\",subtotal:\"Subtotal\",showPaymentDetails:\"Show payment details\",sixDigitCodeErrorNumeric:\"Six digit code should only contain numbers\",sixDigitCodeErrorRequired:\"Six digit code is required\",sixDigitCodeErrorTooShort:\"Code is too short\",sixDigitCodeLabel:\"Six digit code\",sixDigitCodePlaceholder:\"123456\",something_went_wrong_error:\"Something went wrong. Please try again.\",stateErrorRequired:\"State, Region or County is required\",stateLabel:\"State / Region / County\",statePlaceholder:\"State / Region / County\",street:\"Street\",streetPlaceholder:\"My street\",stripe_ach_mandate_accept_button:\"Accept\",stripe_ach_mandate_cancel_payment_button:\"Cancel payment\",stripe_ach_mandate_not_accepted_description:\"Mandate was not accepted\",stripe_ach_mandate_template_web:`By clicking Accept, you authorize {merchantName} to debit the selected bank account for any amount owed for charges arising from your use of {merchantName}\\u2019s services and/or purchase of products from {merchantName}, pursuant to {merchantName}\\u2019s website and terms, until this authorization is revoked. You may amend or cancel this authorization at any time by providing notice to {merchantName} with 30 (thirty) days notice. If you use {merchantName}\\u2019s services or purchase additional products periodically pursuant to {merchantName}\\u2019s terms, you authorize {merchantName} to debit your bank account periodically. Payments that fall outside the regular debits authorized above will only be debited after your authorization is obtained.`,stripe_ach_payment_request_cancelled:\"Please try again or select another bank\",stripe_ach_payment_request_completed_successfully:\"You have now authorized your bank account to be debited. You will be notified via email once the payment has been collected successfully.\",stripe_ach_user_details_collection_continue_button:\"Continue\",stripe_ach_user_details_collection_data_usage_label:\"We'll only use this to keep you updated about your payment\",stripe_ach_user_details_collection_email_address_label:\"Email address\",stripe_ach_user_details_collection_first_name_label:\"First name\",stripe_ach_user_details_collection_invalid_email_address:\"The email address you entered doesn't look like a real email address. Please make sure it includes an '@' and a domain (like '@example.com').\",stripe_ach_user_details_collection_invalid_first_name:\"Please enter a valid first name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_invalid_last_name:\"Please enter a valid last name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_last_name_label:\"Last name\",stripe_ach_user_details_collection_subtitle_label:\"Your personal details\",suburb:\"Suburb\",suburbPlaceholder:\"My suburb\",telephoneNumberErrorRequired:\"Phone number is required\",telephoneNumberErrorTooShort:\"Phone number is too short\",telephoneNumberLabel:\"Phone number\",telephoneNumberPlaceholder:\"123xxxxxx\",timeOnDate:\"{time} on {date}\",tokenizationError:\"Your payment could not be processed. Please try another payment method.\",unsupportedCardType:\"Unsupported card type\",uploadScreenshot:\"Upload the screenshot in your banking app\",yourBankDetails:\"Your bank details\"}"
|
|
1836
1836
|
}
|
|
1837
1837
|
],
|
|
1838
1838
|
"exports": [
|
|
@@ -1841,14 +1841,14 @@
|
|
|
1841
1841
|
"name": "a",
|
|
1842
1842
|
"declaration": {
|
|
1843
1843
|
"name": "t",
|
|
1844
|
-
"module": "dist/chunks/chunk.
|
|
1844
|
+
"module": "dist/chunks/chunk.TIWM3PQ7.js"
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
]
|
|
1848
1848
|
},
|
|
1849
1849
|
{
|
|
1850
1850
|
"kind": "javascript-module",
|
|
1851
|
-
"path": "dist/chunks/cs.
|
|
1851
|
+
"path": "dist/chunks/cs.XQGMKIF3.js",
|
|
1852
1852
|
"declarations": [
|
|
1853
1853
|
{
|
|
1854
1854
|
"kind": "variable",
|
|
@@ -1862,14 +1862,14 @@
|
|
|
1862
1862
|
"name": "templates",
|
|
1863
1863
|
"declaration": {
|
|
1864
1864
|
"name": "n",
|
|
1865
|
-
"module": "dist/chunks/cs.
|
|
1865
|
+
"module": "dist/chunks/cs.XQGMKIF3.js"
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
1868
|
]
|
|
1869
1869
|
},
|
|
1870
1870
|
{
|
|
1871
1871
|
"kind": "javascript-module",
|
|
1872
|
-
"path": "dist/chunks/da.
|
|
1872
|
+
"path": "dist/chunks/da.HKIIDZRJ.js",
|
|
1873
1873
|
"declarations": [
|
|
1874
1874
|
{
|
|
1875
1875
|
"kind": "variable",
|
|
@@ -1883,14 +1883,14 @@
|
|
|
1883
1883
|
"name": "templates",
|
|
1884
1884
|
"declaration": {
|
|
1885
1885
|
"name": "a",
|
|
1886
|
-
"module": "dist/chunks/da.
|
|
1886
|
+
"module": "dist/chunks/da.HKIIDZRJ.js"
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
1889
|
]
|
|
1890
1890
|
},
|
|
1891
1891
|
{
|
|
1892
1892
|
"kind": "javascript-module",
|
|
1893
|
-
"path": "dist/chunks/de.
|
|
1893
|
+
"path": "dist/chunks/de.O6IUA6FB.js",
|
|
1894
1894
|
"declarations": [
|
|
1895
1895
|
{
|
|
1896
1896
|
"kind": "variable",
|
|
@@ -1904,14 +1904,14 @@
|
|
|
1904
1904
|
"name": "templates",
|
|
1905
1905
|
"declaration": {
|
|
1906
1906
|
"name": "t",
|
|
1907
|
-
"module": "dist/chunks/de.
|
|
1907
|
+
"module": "dist/chunks/de.O6IUA6FB.js"
|
|
1908
1908
|
}
|
|
1909
1909
|
}
|
|
1910
1910
|
]
|
|
1911
1911
|
},
|
|
1912
1912
|
{
|
|
1913
1913
|
"kind": "javascript-module",
|
|
1914
|
-
"path": "dist/chunks/el.
|
|
1914
|
+
"path": "dist/chunks/el.F35KS4NO.js",
|
|
1915
1915
|
"declarations": [
|
|
1916
1916
|
{
|
|
1917
1917
|
"kind": "variable",
|
|
@@ -1925,14 +1925,14 @@
|
|
|
1925
1925
|
"name": "templates",
|
|
1926
1926
|
"declaration": {
|
|
1927
1927
|
"name": "o",
|
|
1928
|
-
"module": "dist/chunks/el.
|
|
1928
|
+
"module": "dist/chunks/el.F35KS4NO.js"
|
|
1929
1929
|
}
|
|
1930
1930
|
}
|
|
1931
1931
|
]
|
|
1932
1932
|
},
|
|
1933
1933
|
{
|
|
1934
1934
|
"kind": "javascript-module",
|
|
1935
|
-
"path": "dist/chunks/en-GB.
|
|
1935
|
+
"path": "dist/chunks/en-GB.PU23XE2E.js",
|
|
1936
1936
|
"declarations": [
|
|
1937
1937
|
{
|
|
1938
1938
|
"kind": "variable",
|
|
@@ -1946,14 +1946,14 @@
|
|
|
1946
1946
|
"name": "templates",
|
|
1947
1947
|
"declaration": {
|
|
1948
1948
|
"name": "o",
|
|
1949
|
-
"module": "dist/chunks/en-GB.
|
|
1949
|
+
"module": "dist/chunks/en-GB.PU23XE2E.js"
|
|
1950
1950
|
}
|
|
1951
1951
|
}
|
|
1952
1952
|
]
|
|
1953
1953
|
},
|
|
1954
1954
|
{
|
|
1955
1955
|
"kind": "javascript-module",
|
|
1956
|
-
"path": "dist/chunks/en.
|
|
1956
|
+
"path": "dist/chunks/en.HQJMDTVQ.js",
|
|
1957
1957
|
"declarations": [
|
|
1958
1958
|
{
|
|
1959
1959
|
"kind": "variable",
|
|
@@ -1967,14 +1967,14 @@
|
|
|
1967
1967
|
"name": "templates",
|
|
1968
1968
|
"declaration": {
|
|
1969
1969
|
"name": "o",
|
|
1970
|
-
"module": "dist/chunks/en.
|
|
1970
|
+
"module": "dist/chunks/en.HQJMDTVQ.js"
|
|
1971
1971
|
}
|
|
1972
1972
|
}
|
|
1973
1973
|
]
|
|
1974
1974
|
},
|
|
1975
1975
|
{
|
|
1976
1976
|
"kind": "javascript-module",
|
|
1977
|
-
"path": "dist/chunks/es-AR.
|
|
1977
|
+
"path": "dist/chunks/es-AR.OZ6CT5HA.js",
|
|
1978
1978
|
"declarations": [
|
|
1979
1979
|
{
|
|
1980
1980
|
"kind": "variable",
|
|
@@ -1988,18 +1988,18 @@
|
|
|
1988
1988
|
"name": "templates",
|
|
1989
1989
|
"declaration": {
|
|
1990
1990
|
"name": "i",
|
|
1991
|
-
"module": "dist/chunks/es-AR.
|
|
1991
|
+
"module": "dist/chunks/es-AR.OZ6CT5HA.js"
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
1994
|
]
|
|
1995
1995
|
},
|
|
1996
1996
|
{
|
|
1997
1997
|
"kind": "javascript-module",
|
|
1998
|
-
"path": "dist/chunks/es-MX.
|
|
1998
|
+
"path": "dist/chunks/es-MX.E4FWJ3FK.js",
|
|
1999
1999
|
"declarations": [
|
|
2000
2000
|
{
|
|
2001
2001
|
"kind": "variable",
|
|
2002
|
-
"name": "
|
|
2002
|
+
"name": "t",
|
|
2003
2003
|
"default": "e"
|
|
2004
2004
|
}
|
|
2005
2005
|
],
|
|
@@ -2008,15 +2008,15 @@
|
|
|
2008
2008
|
"kind": "js",
|
|
2009
2009
|
"name": "templates",
|
|
2010
2010
|
"declaration": {
|
|
2011
|
-
"name": "
|
|
2012
|
-
"module": "dist/chunks/es-MX.
|
|
2011
|
+
"name": "t",
|
|
2012
|
+
"module": "dist/chunks/es-MX.E4FWJ3FK.js"
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
]
|
|
2016
2016
|
},
|
|
2017
2017
|
{
|
|
2018
2018
|
"kind": "javascript-module",
|
|
2019
|
-
"path": "dist/chunks/es.
|
|
2019
|
+
"path": "dist/chunks/es.HEWO2JY7.js",
|
|
2020
2020
|
"declarations": [
|
|
2021
2021
|
{
|
|
2022
2022
|
"kind": "variable",
|
|
@@ -2030,14 +2030,14 @@
|
|
|
2030
2030
|
"name": "templates",
|
|
2031
2031
|
"declaration": {
|
|
2032
2032
|
"name": "i",
|
|
2033
|
-
"module": "dist/chunks/es.
|
|
2033
|
+
"module": "dist/chunks/es.HEWO2JY7.js"
|
|
2034
2034
|
}
|
|
2035
2035
|
}
|
|
2036
2036
|
]
|
|
2037
2037
|
},
|
|
2038
2038
|
{
|
|
2039
2039
|
"kind": "javascript-module",
|
|
2040
|
-
"path": "dist/chunks/et-EE.
|
|
2040
|
+
"path": "dist/chunks/et-EE.3GAJR6UB.js",
|
|
2041
2041
|
"declarations": [
|
|
2042
2042
|
{
|
|
2043
2043
|
"kind": "variable",
|
|
@@ -2051,14 +2051,14 @@
|
|
|
2051
2051
|
"name": "templates",
|
|
2052
2052
|
"declaration": {
|
|
2053
2053
|
"name": "r",
|
|
2054
|
-
"module": "dist/chunks/et-EE.
|
|
2054
|
+
"module": "dist/chunks/et-EE.3GAJR6UB.js"
|
|
2055
2055
|
}
|
|
2056
2056
|
}
|
|
2057
2057
|
]
|
|
2058
2058
|
},
|
|
2059
2059
|
{
|
|
2060
2060
|
"kind": "javascript-module",
|
|
2061
|
-
"path": "dist/chunks/fi-FI.
|
|
2061
|
+
"path": "dist/chunks/fi-FI.4TB5AYVQ.js",
|
|
2062
2062
|
"declarations": [
|
|
2063
2063
|
{
|
|
2064
2064
|
"kind": "variable",
|
|
@@ -2072,14 +2072,14 @@
|
|
|
2072
2072
|
"name": "templates",
|
|
2073
2073
|
"declaration": {
|
|
2074
2074
|
"name": "n",
|
|
2075
|
-
"module": "dist/chunks/fi-FI.
|
|
2075
|
+
"module": "dist/chunks/fi-FI.4TB5AYVQ.js"
|
|
2076
2076
|
}
|
|
2077
2077
|
}
|
|
2078
2078
|
]
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
"kind": "javascript-module",
|
|
2082
|
-
"path": "dist/chunks/fr.
|
|
2082
|
+
"path": "dist/chunks/fr.5GQNZ4TX.js",
|
|
2083
2083
|
"declarations": [
|
|
2084
2084
|
{
|
|
2085
2085
|
"kind": "variable",
|
|
@@ -2093,14 +2093,14 @@
|
|
|
2093
2093
|
"name": "templates",
|
|
2094
2094
|
"declaration": {
|
|
2095
2095
|
"name": "i",
|
|
2096
|
-
"module": "dist/chunks/fr.
|
|
2096
|
+
"module": "dist/chunks/fr.5GQNZ4TX.js"
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
2099
|
]
|
|
2100
2100
|
},
|
|
2101
2101
|
{
|
|
2102
2102
|
"kind": "javascript-module",
|
|
2103
|
-
"path": "dist/chunks/he.
|
|
2103
|
+
"path": "dist/chunks/he.WGVF57WV.js",
|
|
2104
2104
|
"declarations": [
|
|
2105
2105
|
{
|
|
2106
2106
|
"kind": "variable",
|
|
@@ -2114,14 +2114,14 @@
|
|
|
2114
2114
|
"name": "templates",
|
|
2115
2115
|
"declaration": {
|
|
2116
2116
|
"name": "o",
|
|
2117
|
-
"module": "dist/chunks/he.
|
|
2117
|
+
"module": "dist/chunks/he.WGVF57WV.js"
|
|
2118
2118
|
}
|
|
2119
2119
|
}
|
|
2120
2120
|
]
|
|
2121
2121
|
},
|
|
2122
2122
|
{
|
|
2123
2123
|
"kind": "javascript-module",
|
|
2124
|
-
"path": "dist/chunks/hr.
|
|
2124
|
+
"path": "dist/chunks/hr.YPXJZUYV.js",
|
|
2125
2125
|
"declarations": [
|
|
2126
2126
|
{
|
|
2127
2127
|
"kind": "variable",
|
|
@@ -2135,14 +2135,14 @@
|
|
|
2135
2135
|
"name": "templates",
|
|
2136
2136
|
"declaration": {
|
|
2137
2137
|
"name": "t",
|
|
2138
|
-
"module": "dist/chunks/hr.
|
|
2138
|
+
"module": "dist/chunks/hr.YPXJZUYV.js"
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
]
|
|
2142
2142
|
},
|
|
2143
2143
|
{
|
|
2144
2144
|
"kind": "javascript-module",
|
|
2145
|
-
"path": "dist/chunks/hu.
|
|
2145
|
+
"path": "dist/chunks/hu.RX3HFOR5.js",
|
|
2146
2146
|
"declarations": [
|
|
2147
2147
|
{
|
|
2148
2148
|
"kind": "variable",
|
|
@@ -2156,14 +2156,14 @@
|
|
|
2156
2156
|
"name": "templates",
|
|
2157
2157
|
"declaration": {
|
|
2158
2158
|
"name": "s",
|
|
2159
|
-
"module": "dist/chunks/hu.
|
|
2159
|
+
"module": "dist/chunks/hu.RX3HFOR5.js"
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
2162
2162
|
]
|
|
2163
2163
|
},
|
|
2164
2164
|
{
|
|
2165
2165
|
"kind": "javascript-module",
|
|
2166
|
-
"path": "dist/chunks/id.
|
|
2166
|
+
"path": "dist/chunks/id.3SO7FJHW.js",
|
|
2167
2167
|
"declarations": [
|
|
2168
2168
|
{
|
|
2169
2169
|
"kind": "variable",
|
|
@@ -2177,14 +2177,14 @@
|
|
|
2177
2177
|
"name": "templates",
|
|
2178
2178
|
"declaration": {
|
|
2179
2179
|
"name": "r",
|
|
2180
|
-
"module": "dist/chunks/id.
|
|
2180
|
+
"module": "dist/chunks/id.3SO7FJHW.js"
|
|
2181
2181
|
}
|
|
2182
2182
|
}
|
|
2183
2183
|
]
|
|
2184
2184
|
},
|
|
2185
2185
|
{
|
|
2186
2186
|
"kind": "javascript-module",
|
|
2187
|
-
"path": "dist/chunks/it.
|
|
2187
|
+
"path": "dist/chunks/it.Y7247AOF.js",
|
|
2188
2188
|
"declarations": [
|
|
2189
2189
|
{
|
|
2190
2190
|
"kind": "variable",
|
|
@@ -2198,14 +2198,14 @@
|
|
|
2198
2198
|
"name": "templates",
|
|
2199
2199
|
"declaration": {
|
|
2200
2200
|
"name": "r",
|
|
2201
|
-
"module": "dist/chunks/it.
|
|
2201
|
+
"module": "dist/chunks/it.Y7247AOF.js"
|
|
2202
2202
|
}
|
|
2203
2203
|
}
|
|
2204
2204
|
]
|
|
2205
2205
|
},
|
|
2206
2206
|
{
|
|
2207
2207
|
"kind": "javascript-module",
|
|
2208
|
-
"path": "dist/chunks/ja.
|
|
2208
|
+
"path": "dist/chunks/ja.L6PF6O6A.js",
|
|
2209
2209
|
"declarations": [
|
|
2210
2210
|
{
|
|
2211
2211
|
"kind": "variable",
|
|
@@ -2219,14 +2219,14 @@
|
|
|
2219
2219
|
"name": "templates",
|
|
2220
2220
|
"declaration": {
|
|
2221
2221
|
"name": "o",
|
|
2222
|
-
"module": "dist/chunks/ja.
|
|
2222
|
+
"module": "dist/chunks/ja.L6PF6O6A.js"
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
2225
|
]
|
|
2226
2226
|
},
|
|
2227
2227
|
{
|
|
2228
2228
|
"kind": "javascript-module",
|
|
2229
|
-
"path": "dist/chunks/ko.
|
|
2229
|
+
"path": "dist/chunks/ko.X53AFCXY.js",
|
|
2230
2230
|
"declarations": [
|
|
2231
2231
|
{
|
|
2232
2232
|
"kind": "variable",
|
|
@@ -2240,14 +2240,14 @@
|
|
|
2240
2240
|
"name": "templates",
|
|
2241
2241
|
"declaration": {
|
|
2242
2242
|
"name": "o",
|
|
2243
|
-
"module": "dist/chunks/ko.
|
|
2243
|
+
"module": "dist/chunks/ko.X53AFCXY.js"
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
2246
|
]
|
|
2247
2247
|
},
|
|
2248
2248
|
{
|
|
2249
2249
|
"kind": "javascript-module",
|
|
2250
|
-
"path": "dist/chunks/lt-LT.
|
|
2250
|
+
"path": "dist/chunks/lt-LT.HMQT67X4.js",
|
|
2251
2251
|
"declarations": [
|
|
2252
2252
|
{
|
|
2253
2253
|
"kind": "variable",
|
|
@@ -2261,18 +2261,18 @@
|
|
|
2261
2261
|
"name": "templates",
|
|
2262
2262
|
"declaration": {
|
|
2263
2263
|
"name": "t",
|
|
2264
|
-
"module": "dist/chunks/lt-LT.
|
|
2264
|
+
"module": "dist/chunks/lt-LT.HMQT67X4.js"
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
2267
|
]
|
|
2268
2268
|
},
|
|
2269
2269
|
{
|
|
2270
2270
|
"kind": "javascript-module",
|
|
2271
|
-
"path": "dist/chunks/lt.
|
|
2271
|
+
"path": "dist/chunks/lt.YJ3FR7A2.js",
|
|
2272
2272
|
"declarations": [
|
|
2273
2273
|
{
|
|
2274
2274
|
"kind": "variable",
|
|
2275
|
-
"name": "
|
|
2275
|
+
"name": "t",
|
|
2276
2276
|
"default": "a"
|
|
2277
2277
|
}
|
|
2278
2278
|
],
|
|
@@ -2281,15 +2281,15 @@
|
|
|
2281
2281
|
"kind": "js",
|
|
2282
2282
|
"name": "templates",
|
|
2283
2283
|
"declaration": {
|
|
2284
|
-
"name": "
|
|
2285
|
-
"module": "dist/chunks/lt.
|
|
2284
|
+
"name": "t",
|
|
2285
|
+
"module": "dist/chunks/lt.YJ3FR7A2.js"
|
|
2286
2286
|
}
|
|
2287
2287
|
}
|
|
2288
2288
|
]
|
|
2289
2289
|
},
|
|
2290
2290
|
{
|
|
2291
2291
|
"kind": "javascript-module",
|
|
2292
|
-
"path": "dist/chunks/lv-LV.
|
|
2292
|
+
"path": "dist/chunks/lv-LV.HLFWSCCR.js",
|
|
2293
2293
|
"declarations": [
|
|
2294
2294
|
{
|
|
2295
2295
|
"kind": "variable",
|
|
@@ -2303,14 +2303,14 @@
|
|
|
2303
2303
|
"name": "templates",
|
|
2304
2304
|
"declaration": {
|
|
2305
2305
|
"name": "t",
|
|
2306
|
-
"module": "dist/chunks/lv-LV.
|
|
2306
|
+
"module": "dist/chunks/lv-LV.HLFWSCCR.js"
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
2309
|
]
|
|
2310
2310
|
},
|
|
2311
2311
|
{
|
|
2312
2312
|
"kind": "javascript-module",
|
|
2313
|
-
"path": "dist/chunks/lv.
|
|
2313
|
+
"path": "dist/chunks/lv.DEK5WXQB.js",
|
|
2314
2314
|
"declarations": [
|
|
2315
2315
|
{
|
|
2316
2316
|
"kind": "variable",
|
|
@@ -2324,14 +2324,14 @@
|
|
|
2324
2324
|
"name": "templates",
|
|
2325
2325
|
"declaration": {
|
|
2326
2326
|
"name": "t",
|
|
2327
|
-
"module": "dist/chunks/lv.
|
|
2327
|
+
"module": "dist/chunks/lv.DEK5WXQB.js"
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
2330
|
]
|
|
2331
2331
|
},
|
|
2332
2332
|
{
|
|
2333
2333
|
"kind": "javascript-module",
|
|
2334
|
-
"path": "dist/chunks/ms.
|
|
2334
|
+
"path": "dist/chunks/ms.E6PXJ4SR.js",
|
|
2335
2335
|
"declarations": [
|
|
2336
2336
|
{
|
|
2337
2337
|
"kind": "variable",
|
|
@@ -2345,14 +2345,14 @@
|
|
|
2345
2345
|
"name": "templates",
|
|
2346
2346
|
"declaration": {
|
|
2347
2347
|
"name": "i",
|
|
2348
|
-
"module": "dist/chunks/ms.
|
|
2348
|
+
"module": "dist/chunks/ms.E6PXJ4SR.js"
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
2351
|
]
|
|
2352
2352
|
},
|
|
2353
2353
|
{
|
|
2354
2354
|
"kind": "javascript-module",
|
|
2355
|
-
"path": "dist/chunks/nb.
|
|
2355
|
+
"path": "dist/chunks/nb.7357HC5J.js",
|
|
2356
2356
|
"declarations": [
|
|
2357
2357
|
{
|
|
2358
2358
|
"kind": "variable",
|
|
@@ -2366,14 +2366,14 @@
|
|
|
2366
2366
|
"name": "templates",
|
|
2367
2367
|
"declaration": {
|
|
2368
2368
|
"name": "a",
|
|
2369
|
-
"module": "dist/chunks/nb.
|
|
2369
|
+
"module": "dist/chunks/nb.7357HC5J.js"
|
|
2370
2370
|
}
|
|
2371
2371
|
}
|
|
2372
2372
|
]
|
|
2373
2373
|
},
|
|
2374
2374
|
{
|
|
2375
2375
|
"kind": "javascript-module",
|
|
2376
|
-
"path": "dist/chunks/nl.
|
|
2376
|
+
"path": "dist/chunks/nl.QBFQWQBY.js",
|
|
2377
2377
|
"declarations": [
|
|
2378
2378
|
{
|
|
2379
2379
|
"kind": "variable",
|
|
@@ -2387,14 +2387,14 @@
|
|
|
2387
2387
|
"name": "templates",
|
|
2388
2388
|
"declaration": {
|
|
2389
2389
|
"name": "n",
|
|
2390
|
-
"module": "dist/chunks/nl.
|
|
2390
|
+
"module": "dist/chunks/nl.QBFQWQBY.js"
|
|
2391
2391
|
}
|
|
2392
2392
|
}
|
|
2393
2393
|
]
|
|
2394
2394
|
},
|
|
2395
2395
|
{
|
|
2396
2396
|
"kind": "javascript-module",
|
|
2397
|
-
"path": "dist/chunks/nl_NL.
|
|
2397
|
+
"path": "dist/chunks/nl_NL.RS7W3XGO.js",
|
|
2398
2398
|
"declarations": [
|
|
2399
2399
|
{
|
|
2400
2400
|
"kind": "variable",
|
|
@@ -2408,14 +2408,14 @@
|
|
|
2408
2408
|
"name": "templates",
|
|
2409
2409
|
"declaration": {
|
|
2410
2410
|
"name": "n",
|
|
2411
|
-
"module": "dist/chunks/nl_NL.
|
|
2411
|
+
"module": "dist/chunks/nl_NL.RS7W3XGO.js"
|
|
2412
2412
|
}
|
|
2413
2413
|
}
|
|
2414
2414
|
]
|
|
2415
2415
|
},
|
|
2416
2416
|
{
|
|
2417
2417
|
"kind": "javascript-module",
|
|
2418
|
-
"path": "dist/chunks/pl.
|
|
2418
|
+
"path": "dist/chunks/pl.FSJRWYQ5.js",
|
|
2419
2419
|
"declarations": [
|
|
2420
2420
|
{
|
|
2421
2421
|
"kind": "variable",
|
|
@@ -2429,14 +2429,14 @@
|
|
|
2429
2429
|
"name": "templates",
|
|
2430
2430
|
"declaration": {
|
|
2431
2431
|
"name": "i",
|
|
2432
|
-
"module": "dist/chunks/pl.
|
|
2432
|
+
"module": "dist/chunks/pl.FSJRWYQ5.js"
|
|
2433
2433
|
}
|
|
2434
2434
|
}
|
|
2435
2435
|
]
|
|
2436
2436
|
},
|
|
2437
2437
|
{
|
|
2438
2438
|
"kind": "javascript-module",
|
|
2439
|
-
"path": "dist/chunks/pt-BR.
|
|
2439
|
+
"path": "dist/chunks/pt-BR.WVYS3Y2I.js",
|
|
2440
2440
|
"declarations": [
|
|
2441
2441
|
{
|
|
2442
2442
|
"kind": "variable",
|
|
@@ -2450,14 +2450,14 @@
|
|
|
2450
2450
|
"name": "templates",
|
|
2451
2451
|
"declaration": {
|
|
2452
2452
|
"name": "t",
|
|
2453
|
-
"module": "dist/chunks/pt-BR.
|
|
2453
|
+
"module": "dist/chunks/pt-BR.WVYS3Y2I.js"
|
|
2454
2454
|
}
|
|
2455
2455
|
}
|
|
2456
2456
|
]
|
|
2457
2457
|
},
|
|
2458
2458
|
{
|
|
2459
2459
|
"kind": "javascript-module",
|
|
2460
|
-
"path": "dist/chunks/pt.
|
|
2460
|
+
"path": "dist/chunks/pt.LUSIBC5X.js",
|
|
2461
2461
|
"declarations": [
|
|
2462
2462
|
{
|
|
2463
2463
|
"kind": "variable",
|
|
@@ -2471,14 +2471,14 @@
|
|
|
2471
2471
|
"name": "templates",
|
|
2472
2472
|
"declaration": {
|
|
2473
2473
|
"name": "t",
|
|
2474
|
-
"module": "dist/chunks/pt.
|
|
2474
|
+
"module": "dist/chunks/pt.LUSIBC5X.js"
|
|
2475
2475
|
}
|
|
2476
2476
|
}
|
|
2477
2477
|
]
|
|
2478
2478
|
},
|
|
2479
2479
|
{
|
|
2480
2480
|
"kind": "javascript-module",
|
|
2481
|
-
"path": "dist/chunks/ro.
|
|
2481
|
+
"path": "dist/chunks/ro.TKERTYBG.js",
|
|
2482
2482
|
"declarations": [
|
|
2483
2483
|
{
|
|
2484
2484
|
"kind": "variable",
|
|
@@ -2492,14 +2492,14 @@
|
|
|
2492
2492
|
"name": "templates",
|
|
2493
2493
|
"declaration": {
|
|
2494
2494
|
"name": "i",
|
|
2495
|
-
"module": "dist/chunks/ro.
|
|
2495
|
+
"module": "dist/chunks/ro.TKERTYBG.js"
|
|
2496
2496
|
}
|
|
2497
2497
|
}
|
|
2498
2498
|
]
|
|
2499
2499
|
},
|
|
2500
2500
|
{
|
|
2501
2501
|
"kind": "javascript-module",
|
|
2502
|
-
"path": "dist/chunks/ru.
|
|
2502
|
+
"path": "dist/chunks/ru.VPEQHZ2S.js",
|
|
2503
2503
|
"declarations": [
|
|
2504
2504
|
{
|
|
2505
2505
|
"kind": "variable",
|
|
@@ -2513,14 +2513,14 @@
|
|
|
2513
2513
|
"name": "templates",
|
|
2514
2514
|
"declaration": {
|
|
2515
2515
|
"name": "o",
|
|
2516
|
-
"module": "dist/chunks/ru.
|
|
2516
|
+
"module": "dist/chunks/ru.VPEQHZ2S.js"
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
2519
|
]
|
|
2520
2520
|
},
|
|
2521
2521
|
{
|
|
2522
2522
|
"kind": "javascript-module",
|
|
2523
|
-
"path": "dist/chunks/sk.
|
|
2523
|
+
"path": "dist/chunks/sk.QFMGH6WL.js",
|
|
2524
2524
|
"declarations": [
|
|
2525
2525
|
{
|
|
2526
2526
|
"kind": "variable",
|
|
@@ -2534,14 +2534,14 @@
|
|
|
2534
2534
|
"name": "templates",
|
|
2535
2535
|
"declaration": {
|
|
2536
2536
|
"name": "r",
|
|
2537
|
-
"module": "dist/chunks/sk.
|
|
2537
|
+
"module": "dist/chunks/sk.QFMGH6WL.js"
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
2540
|
]
|
|
2541
2541
|
},
|
|
2542
2542
|
{
|
|
2543
2543
|
"kind": "javascript-module",
|
|
2544
|
-
"path": "dist/chunks/sl.
|
|
2544
|
+
"path": "dist/chunks/sl.RUAKKCKD.js",
|
|
2545
2545
|
"declarations": [
|
|
2546
2546
|
{
|
|
2547
2547
|
"kind": "variable",
|
|
@@ -2555,14 +2555,14 @@
|
|
|
2555
2555
|
"name": "templates",
|
|
2556
2556
|
"declaration": {
|
|
2557
2557
|
"name": "r",
|
|
2558
|
-
"module": "dist/chunks/sl.
|
|
2558
|
+
"module": "dist/chunks/sl.RUAKKCKD.js"
|
|
2559
2559
|
}
|
|
2560
2560
|
}
|
|
2561
2561
|
]
|
|
2562
2562
|
},
|
|
2563
2563
|
{
|
|
2564
2564
|
"kind": "javascript-module",
|
|
2565
|
-
"path": "dist/chunks/sr-RS.
|
|
2565
|
+
"path": "dist/chunks/sr-RS.WSZIECEH.js",
|
|
2566
2566
|
"declarations": [
|
|
2567
2567
|
{
|
|
2568
2568
|
"kind": "variable",
|
|
@@ -2576,14 +2576,14 @@
|
|
|
2576
2576
|
"name": "templates",
|
|
2577
2577
|
"declaration": {
|
|
2578
2578
|
"name": "o",
|
|
2579
|
-
"module": "dist/chunks/sr-RS.
|
|
2579
|
+
"module": "dist/chunks/sr-RS.WSZIECEH.js"
|
|
2580
2580
|
}
|
|
2581
2581
|
}
|
|
2582
2582
|
]
|
|
2583
2583
|
},
|
|
2584
2584
|
{
|
|
2585
2585
|
"kind": "javascript-module",
|
|
2586
|
-
"path": "dist/chunks/sv.
|
|
2586
|
+
"path": "dist/chunks/sv.AHI2S45X.js",
|
|
2587
2587
|
"declarations": [
|
|
2588
2588
|
{
|
|
2589
2589
|
"kind": "variable",
|
|
@@ -2597,14 +2597,14 @@
|
|
|
2597
2597
|
"name": "templates",
|
|
2598
2598
|
"declaration": {
|
|
2599
2599
|
"name": "n",
|
|
2600
|
-
"module": "dist/chunks/sv.
|
|
2600
|
+
"module": "dist/chunks/sv.AHI2S45X.js"
|
|
2601
2601
|
}
|
|
2602
2602
|
}
|
|
2603
2603
|
]
|
|
2604
2604
|
},
|
|
2605
2605
|
{
|
|
2606
2606
|
"kind": "javascript-module",
|
|
2607
|
-
"path": "dist/chunks/th.
|
|
2607
|
+
"path": "dist/chunks/th.ZKRE26WN.js",
|
|
2608
2608
|
"declarations": [
|
|
2609
2609
|
{
|
|
2610
2610
|
"kind": "variable",
|
|
@@ -2618,14 +2618,14 @@
|
|
|
2618
2618
|
"name": "templates",
|
|
2619
2619
|
"declaration": {
|
|
2620
2620
|
"name": "o",
|
|
2621
|
-
"module": "dist/chunks/th.
|
|
2621
|
+
"module": "dist/chunks/th.ZKRE26WN.js"
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
2624
|
]
|
|
2625
2625
|
},
|
|
2626
2626
|
{
|
|
2627
2627
|
"kind": "javascript-module",
|
|
2628
|
-
"path": "dist/chunks/tr.
|
|
2628
|
+
"path": "dist/chunks/tr.6NOOTQVO.js",
|
|
2629
2629
|
"declarations": [
|
|
2630
2630
|
{
|
|
2631
2631
|
"kind": "variable",
|
|
@@ -2639,14 +2639,14 @@
|
|
|
2639
2639
|
"name": "templates",
|
|
2640
2640
|
"declaration": {
|
|
2641
2641
|
"name": "n",
|
|
2642
|
-
"module": "dist/chunks/tr.
|
|
2642
|
+
"module": "dist/chunks/tr.6NOOTQVO.js"
|
|
2643
2643
|
}
|
|
2644
2644
|
}
|
|
2645
2645
|
]
|
|
2646
2646
|
},
|
|
2647
2647
|
{
|
|
2648
2648
|
"kind": "javascript-module",
|
|
2649
|
-
"path": "dist/chunks/uk-UA.
|
|
2649
|
+
"path": "dist/chunks/uk-UA.A6S7PXDN.js",
|
|
2650
2650
|
"declarations": [
|
|
2651
2651
|
{
|
|
2652
2652
|
"kind": "variable",
|
|
@@ -2660,14 +2660,14 @@
|
|
|
2660
2660
|
"name": "templates",
|
|
2661
2661
|
"declaration": {
|
|
2662
2662
|
"name": "o",
|
|
2663
|
-
"module": "dist/chunks/uk-UA.
|
|
2663
|
+
"module": "dist/chunks/uk-UA.A6S7PXDN.js"
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
2666
|
]
|
|
2667
2667
|
},
|
|
2668
2668
|
{
|
|
2669
2669
|
"kind": "javascript-module",
|
|
2670
|
-
"path": "dist/chunks/vi.
|
|
2670
|
+
"path": "dist/chunks/vi.4Z5L3EAS.js",
|
|
2671
2671
|
"declarations": [
|
|
2672
2672
|
{
|
|
2673
2673
|
"kind": "variable",
|
|
@@ -2681,7 +2681,7 @@
|
|
|
2681
2681
|
"name": "templates",
|
|
2682
2682
|
"declaration": {
|
|
2683
2683
|
"name": "a",
|
|
2684
|
-
"module": "dist/chunks/vi.
|
|
2684
|
+
"module": "dist/chunks/vi.4Z5L3EAS.js"
|
|
2685
2685
|
}
|
|
2686
2686
|
}
|
|
2687
2687
|
]
|
|
@@ -2709,7 +2709,7 @@
|
|
|
2709
2709
|
},
|
|
2710
2710
|
{
|
|
2711
2711
|
"kind": "javascript-module",
|
|
2712
|
-
"path": "dist/chunks/zh-CN.
|
|
2712
|
+
"path": "dist/chunks/zh-CN.SN6TXY6W.js",
|
|
2713
2713
|
"declarations": [
|
|
2714
2714
|
{
|
|
2715
2715
|
"kind": "variable",
|
|
@@ -2723,14 +2723,14 @@
|
|
|
2723
2723
|
"name": "templates",
|
|
2724
2724
|
"declaration": {
|
|
2725
2725
|
"name": "o",
|
|
2726
|
-
"module": "dist/chunks/zh-CN.
|
|
2726
|
+
"module": "dist/chunks/zh-CN.SN6TXY6W.js"
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
2729
|
]
|
|
2730
2730
|
},
|
|
2731
2731
|
{
|
|
2732
2732
|
"kind": "javascript-module",
|
|
2733
|
-
"path": "dist/chunks/zh-HK.
|
|
2733
|
+
"path": "dist/chunks/zh-HK.SQG5YIVQ.js",
|
|
2734
2734
|
"declarations": [
|
|
2735
2735
|
{
|
|
2736
2736
|
"kind": "variable",
|
|
@@ -2744,14 +2744,14 @@
|
|
|
2744
2744
|
"name": "templates",
|
|
2745
2745
|
"declaration": {
|
|
2746
2746
|
"name": "o",
|
|
2747
|
-
"module": "dist/chunks/zh-HK.
|
|
2747
|
+
"module": "dist/chunks/zh-HK.SQG5YIVQ.js"
|
|
2748
2748
|
}
|
|
2749
2749
|
}
|
|
2750
2750
|
]
|
|
2751
2751
|
},
|
|
2752
2752
|
{
|
|
2753
2753
|
"kind": "javascript-module",
|
|
2754
|
-
"path": "dist/chunks/zh-TW.
|
|
2754
|
+
"path": "dist/chunks/zh-TW.P2X3B7LC.js",
|
|
2755
2755
|
"declarations": [
|
|
2756
2756
|
{
|
|
2757
2757
|
"kind": "variable",
|
|
@@ -2765,72 +2765,48 @@
|
|
|
2765
2765
|
"name": "templates",
|
|
2766
2766
|
"declaration": {
|
|
2767
2767
|
"name": "o",
|
|
2768
|
-
"module": "dist/chunks/zh-TW.
|
|
2768
|
+
"module": "dist/chunks/zh-TW.P2X3B7LC.js"
|
|
2769
2769
|
}
|
|
2770
2770
|
}
|
|
2771
2771
|
]
|
|
2772
2772
|
},
|
|
2773
2773
|
{
|
|
2774
2774
|
"kind": "javascript-module",
|
|
2775
|
-
"path": "e2e/mocks/
|
|
2775
|
+
"path": "e2e/mocks/shared.ts",
|
|
2776
2776
|
"declarations": [
|
|
2777
|
-
{
|
|
2778
|
-
"kind": "variable",
|
|
2779
|
-
"name": "settings",
|
|
2780
|
-
"type": {
|
|
2781
|
-
"text": "string"
|
|
2782
|
-
},
|
|
2783
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJDdXN0b21lcjEyMyIsIm9yZGVySWQiOiIxMjU3NyIsImFtb3VudCI6MTA1MCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsiZXhwcmVzc0NoZWNrb3V0IjoidHJ1ZSJ9LCJvcmRlciI6eyJzaGlwcGluZyI6eyJhbW91bnQiOjUwLCJtZXRob2RJZCI6IlJlZ3VsYXIiLCJtZXRob2ROYW1lIjoiUmVndWxhciA1MCIsIm1ldGhvZERlc2NyaXB0aW9uIjoiUmVndWxhciJ9LCJjb3VudHJ5Q29kZSI6IkZSIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjk1MCwicXVhbnRpdHkiOjF9LHsiaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ibHVlIiwiZGVzY3JpcHRpb24iOiJQcmltZXIgQmx1ZSIsImFtb3VudCI6NTAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6eyJiaWxsaW5nQWRkcmVzcyI6eyJmaXJzdE5hbWUiOiJ0ZXN0dCIsImxhc3ROYW1lIjoidGVzdCIsInBvc3RhbENvZGUiOiI1MTY2MiIsImFkZHJlc3NMaW5lMSI6ImFrc2psa2FqbCIsImFkZHJlc3NMaW5lMiI6ImpmamthaGsiLCJjb3VudHJ5Q29kZSI6IlBMIiwiY2l0eSI6Indyb2NsYXciLCJzdGF0ZSI6InRlc3QifSwic2hpcHBpbmdBZGRyZXNzIjp7fSwibmF0aW9uYWxEb2N1bWVudElkIjoiOTAxMTIxMTIzNDU2NyJ9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsInZhdWx0T25BZ3JlZW1lbnQiOmZhbHNlLCJvcmRlcmVkQWxsb3dlZENhcmROZXR3b3JrcyI6WyJWSVNBIiwiTUFTVEVSQ0FSRCIsIkFNRVgiLCJNQUVTVFJPIiwiVU5JT05QQVkiLCJDQVJURVNfQkFOQ0FJUkVTIiwiREFOS09SVCIsIkRJTkVSU19DTFVCIiwiRElTQ09WRVIiLCJFTlJPVVRFIiwiRUxPIiwiSElQRVIiLCJJTlRFUkFDIiwiSkNCIiwiTUlSIiwiT1RIRVIiXX19LCJjbGllbnRPcHRpb25zIjp7ImxvY2FsZSI6ImVuIiwiYXBpVmVyc2lvbiI6IjIuNCIsInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwidmF1bHQiOnsidmlzaWJsZSI6ZmFsc2V9LCJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiZXlKMGVYQWlPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LmV5SnpkV0lpT2lJM05XUmpOekF4TWkwM09EVmpMVFEwTTJFdE9EQmlNUzB3WlRGbU9EaG1aRFJtWVdRaUxDSnBZWFFpT2pFM05UazBPRGd4TkRJc0ltdHBaQ0k2SW5ZeElpd2lhblJwSWpvaVlXWXhZemcxWW1VdE16UmhOaTAwWWpGakxUa3pObVl0WWpnME5tVXlOV1k1TnpFeEluMC5CaElodFpBcGotdWJJckJ3bW1zR1U4dGlCdWNEMU93WFpySmcxdXRRRzZjIiwiYXBpVmVyc2lvbiI6IjIuNCIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6eyJsb2NhbGUiOiJmci1GUiIsInN0cmlwZSI6eyJwdWJsaXNoYWJsZUtleSI6InBrX3Rlc3RfNTFPOHpmUUtVSzZiWElkQzJ4UHZTUzZVdnJpRTlrd3B2dHR3QjdIOVBBemhOQVpvR3pMZ2lET3lkNFdvb296ZVdIeG9ScktvNmIyVmpaWXhOQ01YM1c3YmswMHJNRGl2amF1In0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6dHJ1ZX19'"
|
|
2784
|
-
},
|
|
2785
|
-
{
|
|
2786
|
-
"kind": "variable",
|
|
2787
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2788
|
-
"type": {
|
|
2789
|
-
"text": "object"
|
|
2790
|
-
},
|
|
2791
|
-
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'BILLING_ADDRESS', options: { firstName: false, lastName: false, city: true, countryCode: true, postalCode: true, addressLine1: true, addressLine2: true, state: false, }, }, ], clientSession: { clientSessionId: '0ad5b471-5b80-436b-ad03-57850585e3fd', order: { orderId: '12577', currencyCode: 'EUR', countryCode: 'FR', totalOrderAmount: 1050, merchantAmount: 1050, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 950, quantity: 1, }, { itemId: 'primer-hoodie-blue', description: 'Primer Blue', amount: 50, quantity: 1, }, ], shipping: { amount: 50, methodId: 'Regular', methodName: 'Regular 50', methodDescription: 'Regular', }, }, customer: { customerId: 'Customer123', billingAddress: { firstName: 'testt', lastName: 'test', postalCode: '51662', addressLine1: 'aksjlkajl', addressLine2: 'jfjkahk', countryCode: 'PL', city: 'wroclaw', state: 'test', }, shippingAddress: {}, nationalDocumentId: '9011211234567', }, paymentMethod: { vaultOnSuccess: false, orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '75dc7012-785c-443a-80b1-0e1f88fd4fad', env: 'SANDBOX', paymentMethods: [ { id: '42e32c6e-7faa-4f5a-97d0-9c4f7b848ae1', type: 'APPLE_PAY', options: { merchantId: '75dc7012785c443a80b10e1f88fd4fad', merchantName: 'Primer', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
2792
|
-
},
|
|
2793
|
-
{
|
|
2794
|
-
"kind": "variable",
|
|
2795
|
-
"name": "CARD_NUMBER",
|
|
2796
|
-
"type": {
|
|
2797
|
-
"text": "string"
|
|
2798
|
-
},
|
|
2799
|
-
"default": "'4242 4242 4242 4242'"
|
|
2800
|
-
},
|
|
2801
2777
|
{
|
|
2802
2778
|
"kind": "function",
|
|
2803
|
-
"name": "
|
|
2779
|
+
"name": "mockConfigurationCallSBX",
|
|
2804
2780
|
"parameters": [
|
|
2805
2781
|
{
|
|
2806
2782
|
"name": "page",
|
|
2807
2783
|
"type": {
|
|
2808
2784
|
"text": "Page"
|
|
2809
2785
|
}
|
|
2810
|
-
}
|
|
2811
|
-
]
|
|
2812
|
-
},
|
|
2813
|
-
{
|
|
2814
|
-
"kind": "function",
|
|
2815
|
-
"name": "mockPaymentInstruments",
|
|
2816
|
-
"parameters": [
|
|
2786
|
+
},
|
|
2817
2787
|
{
|
|
2818
|
-
"name": "
|
|
2788
|
+
"name": "config",
|
|
2819
2789
|
"type": {
|
|
2820
|
-
"text": "
|
|
2790
|
+
"text": "unknown"
|
|
2821
2791
|
}
|
|
2822
2792
|
}
|
|
2823
2793
|
]
|
|
2824
2794
|
},
|
|
2825
2795
|
{
|
|
2826
2796
|
"kind": "function",
|
|
2827
|
-
"name": "
|
|
2797
|
+
"name": "mockConfigurationCallSTG",
|
|
2828
2798
|
"parameters": [
|
|
2829
2799
|
{
|
|
2830
2800
|
"name": "page",
|
|
2831
2801
|
"type": {
|
|
2832
2802
|
"text": "Page"
|
|
2833
2803
|
}
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"name": "config",
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "unknown"
|
|
2809
|
+
}
|
|
2834
2810
|
}
|
|
2835
2811
|
]
|
|
2836
2812
|
}
|
|
@@ -2838,913 +2814,455 @@
|
|
|
2838
2814
|
"exports": [
|
|
2839
2815
|
{
|
|
2840
2816
|
"kind": "js",
|
|
2841
|
-
"name": "
|
|
2817
|
+
"name": "mockConfigurationCallSBX",
|
|
2842
2818
|
"declaration": {
|
|
2843
|
-
"name": "
|
|
2844
|
-
"module": "e2e/mocks/
|
|
2819
|
+
"name": "mockConfigurationCallSBX",
|
|
2820
|
+
"module": "e2e/mocks/shared.ts"
|
|
2845
2821
|
}
|
|
2846
2822
|
},
|
|
2847
2823
|
{
|
|
2848
2824
|
"kind": "js",
|
|
2849
|
-
"name": "
|
|
2825
|
+
"name": "mockConfigurationCallSTG",
|
|
2850
2826
|
"declaration": {
|
|
2851
|
-
"name": "
|
|
2852
|
-
"module": "e2e/mocks/
|
|
2827
|
+
"name": "mockConfigurationCallSTG",
|
|
2828
|
+
"module": "e2e/mocks/shared.ts"
|
|
2853
2829
|
}
|
|
2854
|
-
}
|
|
2830
|
+
}
|
|
2831
|
+
]
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "javascript-module",
|
|
2835
|
+
"path": "src/__tests__/setup.ts",
|
|
2836
|
+
"declarations": [],
|
|
2837
|
+
"exports": []
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"kind": "javascript-module",
|
|
2841
|
+
"path": "src/atoms/index.ts",
|
|
2842
|
+
"declarations": [],
|
|
2843
|
+
"exports": [
|
|
2855
2844
|
{
|
|
2856
2845
|
"kind": "js",
|
|
2857
|
-
"name": "
|
|
2846
|
+
"name": "Spinner",
|
|
2858
2847
|
"declaration": {
|
|
2859
|
-
"name": "
|
|
2860
|
-
"module": "
|
|
2848
|
+
"name": "Spinner",
|
|
2849
|
+
"module": "./spinner/spinner"
|
|
2861
2850
|
}
|
|
2862
2851
|
},
|
|
2863
2852
|
{
|
|
2864
2853
|
"kind": "js",
|
|
2865
|
-
"name": "
|
|
2854
|
+
"name": "InputWrapper",
|
|
2866
2855
|
"declaration": {
|
|
2867
|
-
"name": "
|
|
2868
|
-
"
|
|
2856
|
+
"name": "InputWrapper",
|
|
2857
|
+
"package": "@components/atoms/input-wrapper/input-wrapper"
|
|
2869
2858
|
}
|
|
2870
2859
|
},
|
|
2871
2860
|
{
|
|
2872
2861
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2862
|
+
"name": "InputLabel",
|
|
2874
2863
|
"declaration": {
|
|
2875
|
-
"name": "
|
|
2876
|
-
"
|
|
2864
|
+
"name": "InputLabel",
|
|
2865
|
+
"package": "@components/atoms/input-label/input-label"
|
|
2877
2866
|
}
|
|
2878
2867
|
},
|
|
2879
2868
|
{
|
|
2880
2869
|
"kind": "js",
|
|
2881
|
-
"name": "
|
|
2870
|
+
"name": "Button",
|
|
2882
2871
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"
|
|
2872
|
+
"name": "Button",
|
|
2873
|
+
"package": "@components/atoms/button/button"
|
|
2885
2874
|
}
|
|
2886
|
-
}
|
|
2887
|
-
]
|
|
2888
|
-
},
|
|
2889
|
-
{
|
|
2890
|
-
"kind": "javascript-module",
|
|
2891
|
-
"path": "e2e/mocks/card-3ds.ts",
|
|
2892
|
-
"declarations": [
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "variable",
|
|
2895
|
-
"name": "settings",
|
|
2896
|
-
"type": {
|
|
2897
|
-
"text": "string"
|
|
2898
|
-
},
|
|
2899
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
2900
2875
|
},
|
|
2901
|
-
{
|
|
2902
|
-
"kind": "variable",
|
|
2903
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2904
|
-
"type": {
|
|
2905
|
-
"text": "object"
|
|
2906
|
-
},
|
|
2907
|
-
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: '0d5f31b6-5848-49ce-9625-3254d5dd8a78', order: { orderId: '74527', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
2908
|
-
}
|
|
2909
|
-
],
|
|
2910
|
-
"exports": [
|
|
2911
2876
|
{
|
|
2912
2877
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
2878
|
+
"name": "CardFormError",
|
|
2914
2879
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"
|
|
2880
|
+
"name": "CardFormError",
|
|
2881
|
+
"package": "@components/atoms/input-error/input-error"
|
|
2917
2882
|
}
|
|
2918
2883
|
},
|
|
2919
2884
|
{
|
|
2920
2885
|
"kind": "js",
|
|
2921
|
-
"name": "
|
|
2886
|
+
"name": "PrimerIcon",
|
|
2922
2887
|
"declaration": {
|
|
2923
|
-
"name": "
|
|
2924
|
-
"module": "
|
|
2888
|
+
"name": "PrimerIcon",
|
|
2889
|
+
"module": "./icon/icon"
|
|
2925
2890
|
}
|
|
2926
|
-
}
|
|
2927
|
-
]
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "javascript-module",
|
|
2931
|
-
"path": "e2e/mocks/card-basic.ts",
|
|
2932
|
-
"declarations": [
|
|
2933
|
-
{
|
|
2934
|
-
"kind": "variable",
|
|
2935
|
-
"name": "settings",
|
|
2936
|
-
"type": {
|
|
2937
|
-
"text": "string"
|
|
2938
|
-
},
|
|
2939
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6ZmFsc2V9fQ=='"
|
|
2940
2891
|
},
|
|
2941
2892
|
{
|
|
2942
|
-
"kind": "
|
|
2943
|
-
"name": "
|
|
2944
|
-
"
|
|
2945
|
-
"
|
|
2946
|
-
|
|
2947
|
-
"default": "{ coreUrl: 'https://api.staging.primer.io', pciUrl: 'https://sdk.api.staging.primer.io', binDataUrl: 'https://bin-data.api.staging.core.primer.io', assetsUrl: 'https://assets.staging.core.primer.io', checkoutModules: [ { type: 'CARD_INFORMATION', options: { cardHolderName: true, cardholderName: true, }, }, { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, ], clientSession: { clientSessionId: '7430ecc6-a520-4353-bf03-030bb09ba4b7', order: { orderId: '34775', currencyCode: 'EUR', countryCode: 'GB', totalOrderAmount: 1000, merchantAmount: 1000, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 1000, quantity: 1, }, ], }, customer: { customerId: 'airwallex-customer-id-demo', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: 'd634b2c6-17d8-4347-bac0-df642c2d6469', env: 'STAGING', paymentMethods: [ { id: 'd2862cfb-05a8-4304-9d80-6652450d19d7', type: 'AFTERPAY', options: { merchantId: 'wont-work', merchantAccountId: '04070052-bcd7-5d2f-92d0-70d1c9b30ce0', }, processorConfigId: '2805ab6e-6b0b-40e2-9d65-1e5c800a530e', implementationType: 'WEB_REDIRECT', name: 'Afterpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#000000', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#000000', dark: '#FFFFFF', light: '#000000', }, textColor: { dark: '#FFFFFF', light: '#FFFFFF', }, iconPositionRelativeToText: 'END', }, }, forceRedirect: false, implementation: {}, }, { id: 'f4105e92-bf54-4652-a7ac-63a2adf3a96d', type: 'ALMA', options: { merchantId: '9b7d77ef-4862-4900-902c-8ff623476826', merchantAccountId: 'e11ef8e1-10a8-542d-924d-ae0546a03d35', }, processorConfigId: '9b7d77ef-4862-4900-902c-8ff623476826', implementationType: 'WEB_REDIRECT', name: 'Alma', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALMA/alma-logo@3x.png', }, backgroundColor: { colored: '#FA5022', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#FA5022', dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '588df103-82e2-4888-bf49-63f0182e516e', type: 'BRAINTREE_VENMO', options: { merchantId: 'primer', merchantAccountId: '4dd30736-e360-5562-994a-b9de0dc2c2da', }, processorConfigId: '99b3dd12-2d18-48b4-a700-acd8f7943bcb', implementationType: 'WEB_REDIRECT', name: 'Venmo', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VENMO/venmo-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-light@3x.png', }, backgroundColor: { colored: '#008CFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4cc272a3-69eb-46b6-9938-cd672d7a7cbd', type: 'ADYEN_MULTIBANCO', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'NATIVE_SDK', name: 'Multibanco', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', dark: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', light: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: { headless: { supportedManagerCategories: ['RAW_DATA'], }, events: [ { eventType: 'ON_START', uiAction: { actionType: 'NAVIGATE', screenId: 'start_screen', }, }, { eventType: 'ON_REQUIRED_ACTION_RECEIVED', uiAction: { actionType: 'NAVIGATE', screenId: 'voucher_screen', }, }, { eventType: 'ON_ERROR', uiAction: { actionType: 'NAVIGATE', screenId: 'error_screen', }, }, ], screens: [ { screenId: 'start_screen', isBackButtonEnabled: true, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, {}, ], }, { screenId: 'voucher_screen', isBackButtonEnabled: true, isShareButtonEnabled: true, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, ], alignment: 'FILL', distribution: 'FILL', }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, {}, ], alignment: 'FILL', distribution: 'FILL', }, ], }, { screenId: 'error_screen', isBackButtonEnabled: false, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [{}], }, ], }, }, { id: '642bb622-b133-4445-904e-0e844967d4bb', type: 'FINTECTURE_IMMEDIATE_TRANSFER', options: { merchantId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', merchantAccountId: '55bbc227-ddf7-57f9-a0e8-4ebde5505ce5', }, processorConfigId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', implementationType: 'WEB_REDIRECT', name: 'Fintecture Immediate Transfer', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/FINTECTURE/inverted@3x.png', light: 'https://assets.staging.core.primer.io/FINTECTURE/default@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by Immediate transfer', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'START', }, }, forceRedirect: true, implementation: {}, }, { id: '8f057fb9-2737-44f4-aca8-7021ca5689bc', type: 'APPLE_PAY', options: { merchantId: 'd634b2c617d84347bac0df642c2d6469', merchantName: 'Connections', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '418673aa-954f-4f3e-89e9-d447574a1e14', type: 'SIPS_CPAY', options: { merchantId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', merchantAccountId: '946e95a0-63d0-5afd-9389-c4aea5a9b1fa', }, processorConfigId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', implementationType: 'WEB_REDIRECT', name: 'Cpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/CPAY/cpay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-light@3x.png', }, backgroundColor: { colored: '#FFFFFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'ba29b47f-bd66-46d6-a3e3-aa27c3b1d110', type: 'ADYEN_ALIPAY', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Alipay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-light@3x.png', }, backgroundColor: { colored: '#31B1F0', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd5b11ef6-c0da-4b85-9095-cc260ddeb009', type: 'ADYEN_VIPPS', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Vipps', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-light@3x.png', }, backgroundColor: { colored: '#FF5B24', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd180c74e-3616-4ada-b9ae-b9ad1c554efe', type: 'TRIPLE_A', options: { merchantId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', merchantAccountId: 'ebac4f47-a9be-5523-94a9-6b381619ce07', }, processorConfigId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', implementationType: 'WEB_REDIRECT', name: 'Triple-A', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo@3x.png', light: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay with Crypto', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'END', }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'fe2aa1da-6cad-41dc-885f-ea5483f49441', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'bc5908a7-3b62-5696-804b-274eaa68fc3e', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '0a5952b4-cbdf-49b6-a982-022bc0bd0f7f', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: '5f36bcaa-6479-4f4a-87ab-b526348c520f', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
2893
|
+
"kind": "js",
|
|
2894
|
+
"name": "PrimerCheckoutState",
|
|
2895
|
+
"declaration": {
|
|
2896
|
+
"name": "PrimerCheckoutState",
|
|
2897
|
+
"module": "./checkout-state/checkout-state"
|
|
2898
|
+
}
|
|
2948
2899
|
},
|
|
2949
2900
|
{
|
|
2950
|
-
"kind": "
|
|
2951
|
-
"name": "
|
|
2952
|
-
"
|
|
2953
|
-
"
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"kind": "variable",
|
|
2959
|
-
"name": "FAILURE_CARD_NUMBER",
|
|
2960
|
-
"type": {
|
|
2961
|
-
"text": "string"
|
|
2962
|
-
},
|
|
2963
|
-
"default": "'4242 4242 4242 4242'"
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
"kind": "function",
|
|
2967
|
-
"name": "mockPaymentInstruments",
|
|
2968
|
-
"parameters": [
|
|
2969
|
-
{
|
|
2970
|
-
"name": "page",
|
|
2971
|
-
"type": {
|
|
2972
|
-
"text": "Page"
|
|
2973
|
-
}
|
|
2974
|
-
}
|
|
2975
|
-
]
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "function",
|
|
2979
|
-
"name": "mockPayments",
|
|
2980
|
-
"parameters": [
|
|
2981
|
-
{
|
|
2982
|
-
"name": "page",
|
|
2983
|
-
"type": {
|
|
2984
|
-
"text": "Page"
|
|
2985
|
-
}
|
|
2986
|
-
}
|
|
2987
|
-
]
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
"kind": "function",
|
|
2991
|
-
"name": "mockPaymentInstrumentsFailure",
|
|
2992
|
-
"parameters": [
|
|
2993
|
-
{
|
|
2994
|
-
"name": "page",
|
|
2995
|
-
"type": {
|
|
2996
|
-
"text": "Page"
|
|
2997
|
-
}
|
|
2998
|
-
}
|
|
2999
|
-
]
|
|
2901
|
+
"kind": "js",
|
|
2902
|
+
"name": "Input",
|
|
2903
|
+
"declaration": {
|
|
2904
|
+
"name": "Input",
|
|
2905
|
+
"module": "./input/input"
|
|
2906
|
+
}
|
|
3000
2907
|
},
|
|
3001
|
-
{
|
|
3002
|
-
"kind": "function",
|
|
3003
|
-
"name": "mockPaymentsFailure",
|
|
3004
|
-
"parameters": [
|
|
3005
|
-
{
|
|
3006
|
-
"name": "page",
|
|
3007
|
-
"type": {
|
|
3008
|
-
"text": "Page"
|
|
3009
|
-
}
|
|
3010
|
-
}
|
|
3011
|
-
]
|
|
3012
|
-
}
|
|
3013
|
-
],
|
|
3014
|
-
"exports": [
|
|
3015
2908
|
{
|
|
3016
2909
|
"kind": "js",
|
|
3017
|
-
"name": "
|
|
2910
|
+
"name": "Select",
|
|
3018
2911
|
"declaration": {
|
|
3019
|
-
"name": "
|
|
3020
|
-
"module": "
|
|
2912
|
+
"name": "Select",
|
|
2913
|
+
"module": "./select/select"
|
|
3021
2914
|
}
|
|
3022
2915
|
},
|
|
3023
2916
|
{
|
|
3024
2917
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2918
|
+
"name": "SelectOption",
|
|
3026
2919
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "
|
|
2920
|
+
"name": "SelectOption",
|
|
2921
|
+
"module": "./select/select"
|
|
3029
2922
|
}
|
|
3030
2923
|
},
|
|
3031
2924
|
{
|
|
3032
2925
|
"kind": "js",
|
|
3033
|
-
"name": "
|
|
2926
|
+
"name": "Collapsable",
|
|
3034
2927
|
"declaration": {
|
|
3035
|
-
"name": "
|
|
3036
|
-
"module": "
|
|
2928
|
+
"name": "Collapsable",
|
|
2929
|
+
"module": "./collapsable/collapsable"
|
|
3037
2930
|
}
|
|
3038
2931
|
},
|
|
3039
2932
|
{
|
|
3040
2933
|
"kind": "js",
|
|
3041
|
-
"name": "
|
|
2934
|
+
"name": "ButtonVariant",
|
|
3042
2935
|
"declaration": {
|
|
3043
|
-
"name": "
|
|
3044
|
-
"module": "
|
|
2936
|
+
"name": "ButtonVariant",
|
|
2937
|
+
"module": "./collapsable/collapsable"
|
|
3045
2938
|
}
|
|
3046
2939
|
},
|
|
3047
2940
|
{
|
|
3048
2941
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2942
|
+
"name": "ExpandedChangedDetail",
|
|
3050
2943
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "
|
|
2944
|
+
"name": "ExpandedChangedDetail",
|
|
2945
|
+
"module": "./collapsable/collapsable"
|
|
3053
2946
|
}
|
|
3054
2947
|
},
|
|
3055
2948
|
{
|
|
3056
2949
|
"kind": "js",
|
|
3057
|
-
"name": "
|
|
2950
|
+
"name": "ErrorMessage",
|
|
3058
2951
|
"declaration": {
|
|
3059
|
-
"name": "
|
|
3060
|
-
"module": "
|
|
2952
|
+
"name": "ErrorMessage",
|
|
2953
|
+
"module": "./error-message/error-message"
|
|
3061
2954
|
}
|
|
3062
2955
|
},
|
|
3063
2956
|
{
|
|
3064
2957
|
"kind": "js",
|
|
3065
|
-
"name": "
|
|
2958
|
+
"name": "Portal",
|
|
3066
2959
|
"declaration": {
|
|
3067
|
-
"name": "
|
|
3068
|
-
"module": "
|
|
2960
|
+
"name": "Portal",
|
|
2961
|
+
"module": "./portal/portal"
|
|
3069
2962
|
}
|
|
3070
2963
|
},
|
|
3071
2964
|
{
|
|
3072
2965
|
"kind": "js",
|
|
3073
|
-
"name": "
|
|
2966
|
+
"name": "Dialog",
|
|
3074
2967
|
"declaration": {
|
|
3075
|
-
"name": "
|
|
3076
|
-
"module": "
|
|
2968
|
+
"name": "Dialog",
|
|
2969
|
+
"module": "./dialog/dialog"
|
|
3077
2970
|
}
|
|
3078
2971
|
}
|
|
3079
2972
|
]
|
|
3080
2973
|
},
|
|
3081
2974
|
{
|
|
3082
2975
|
"kind": "javascript-module",
|
|
3083
|
-
"path": "
|
|
3084
|
-
"declarations": [
|
|
3085
|
-
{
|
|
3086
|
-
"kind": "variable",
|
|
3087
|
-
"name": "settings",
|
|
3088
|
-
"type": {
|
|
3089
|
-
"text": "string"
|
|
3090
|
-
},
|
|
3091
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
3092
|
-
},
|
|
3093
|
-
{
|
|
3094
|
-
"kind": "variable",
|
|
3095
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
3096
|
-
"type": {
|
|
3097
|
-
"text": "object"
|
|
3098
|
-
},
|
|
3099
|
-
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: 'ff9ecd24-537f-4928-a8e4-5534d2375200', order: { orderId: '45858', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], }, customer: { customerId: 'Euler is the best', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
3100
|
-
}
|
|
3101
|
-
],
|
|
2976
|
+
"path": "src/containers/index.ts",
|
|
2977
|
+
"declarations": [],
|
|
3102
2978
|
"exports": [
|
|
3103
2979
|
{
|
|
3104
2980
|
"kind": "js",
|
|
3105
|
-
"name": "
|
|
2981
|
+
"name": "PrimerKlarna",
|
|
3106
2982
|
"declaration": {
|
|
3107
|
-
"name": "
|
|
3108
|
-
"module": "
|
|
2983
|
+
"name": "PrimerKlarna",
|
|
2984
|
+
"module": "./klarna/klarna"
|
|
3109
2985
|
}
|
|
3110
2986
|
},
|
|
3111
2987
|
{
|
|
3112
2988
|
"kind": "js",
|
|
3113
|
-
"name": "
|
|
2989
|
+
"name": "PaymentMethod",
|
|
3114
2990
|
"declaration": {
|
|
3115
|
-
"name": "
|
|
3116
|
-
"module": "
|
|
2991
|
+
"name": "PaymentMethod",
|
|
2992
|
+
"module": "./payment-method/payment-method"
|
|
3117
2993
|
}
|
|
3118
|
-
}
|
|
3119
|
-
]
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"kind": "javascript-module",
|
|
3123
|
-
"path": "e2e/mocks/shared.ts",
|
|
3124
|
-
"declarations": [
|
|
3125
|
-
{
|
|
3126
|
-
"kind": "function",
|
|
3127
|
-
"name": "mockConfigurationCallSBX",
|
|
3128
|
-
"parameters": [
|
|
3129
|
-
{
|
|
3130
|
-
"name": "page",
|
|
3131
|
-
"type": {
|
|
3132
|
-
"text": "Page"
|
|
3133
|
-
}
|
|
3134
|
-
},
|
|
3135
|
-
{
|
|
3136
|
-
"name": "config",
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "unknown"
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
]
|
|
3142
2994
|
},
|
|
3143
|
-
{
|
|
3144
|
-
"kind": "function",
|
|
3145
|
-
"name": "mockConfigurationCallSTG",
|
|
3146
|
-
"parameters": [
|
|
3147
|
-
{
|
|
3148
|
-
"name": "page",
|
|
3149
|
-
"type": {
|
|
3150
|
-
"text": "Page"
|
|
3151
|
-
}
|
|
3152
|
-
},
|
|
3153
|
-
{
|
|
3154
|
-
"name": "config",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "unknown"
|
|
3157
|
-
}
|
|
3158
|
-
}
|
|
3159
|
-
]
|
|
3160
|
-
}
|
|
3161
|
-
],
|
|
3162
|
-
"exports": [
|
|
3163
2995
|
{
|
|
3164
2996
|
"kind": "js",
|
|
3165
|
-
"name": "
|
|
2997
|
+
"name": "PaymentMethodContainer",
|
|
3166
2998
|
"declaration": {
|
|
3167
|
-
"name": "
|
|
3168
|
-
"module": "
|
|
2999
|
+
"name": "PaymentMethodContainer",
|
|
3000
|
+
"module": "./payment-method-container/payment-method-container"
|
|
3169
3001
|
}
|
|
3170
3002
|
},
|
|
3171
3003
|
{
|
|
3172
3004
|
"kind": "js",
|
|
3173
|
-
"name": "
|
|
3005
|
+
"name": "AchPayment",
|
|
3174
3006
|
"declaration": {
|
|
3175
|
-
"name": "
|
|
3176
|
-
"module": "
|
|
3007
|
+
"name": "AchPayment",
|
|
3008
|
+
"module": "./ach-payment/ach-payment"
|
|
3177
3009
|
}
|
|
3178
|
-
}
|
|
3179
|
-
]
|
|
3180
|
-
},
|
|
3181
|
-
{
|
|
3182
|
-
"kind": "javascript-module",
|
|
3183
|
-
"path": "e2e/mocks/vaulted-paypal.ts",
|
|
3184
|
-
"declarations": [
|
|
3185
|
-
{
|
|
3186
|
-
"kind": "variable",
|
|
3187
|
-
"name": "settings",
|
|
3188
|
-
"type": {
|
|
3189
|
-
"text": "string"
|
|
3190
|
-
},
|
|
3191
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwidmF1bHRPbkFncmVlbWVudCI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmMzA4ODVmMC04MjljLTRmMGEtYjIyMi1iN2Y1OWQzNzZlYWYiLCJhcGlWZXJzaW9uIjoiMi40IiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9LCJzZGtDb3JlIjpmYWxzZX19'"
|
|
3192
3010
|
},
|
|
3193
3011
|
{
|
|
3194
|
-
"kind": "
|
|
3195
|
-
"name": "
|
|
3196
|
-
"
|
|
3197
|
-
"
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
},
|
|
3201
|
-
{
|
|
3202
|
-
"kind": "function",
|
|
3203
|
-
"name": "mockExchangeCall",
|
|
3204
|
-
"parameters": [
|
|
3205
|
-
{
|
|
3206
|
-
"name": "page",
|
|
3207
|
-
"type": {
|
|
3208
|
-
"text": "Page"
|
|
3209
|
-
}
|
|
3210
|
-
}
|
|
3211
|
-
]
|
|
3012
|
+
"kind": "js",
|
|
3013
|
+
"name": "DynamicPayment",
|
|
3014
|
+
"declaration": {
|
|
3015
|
+
"name": "DynamicPayment",
|
|
3016
|
+
"module": "./dynamic-payment/dynamic-payment"
|
|
3017
|
+
}
|
|
3212
3018
|
},
|
|
3213
|
-
{
|
|
3214
|
-
"kind": "function",
|
|
3215
|
-
"name": "mockPaymentsCall",
|
|
3216
|
-
"parameters": [
|
|
3217
|
-
{
|
|
3218
|
-
"name": "page",
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "Page"
|
|
3221
|
-
}
|
|
3222
|
-
}
|
|
3223
|
-
]
|
|
3224
|
-
}
|
|
3225
|
-
],
|
|
3226
|
-
"exports": [
|
|
3227
3019
|
{
|
|
3228
3020
|
"kind": "js",
|
|
3229
|
-
"name": "
|
|
3021
|
+
"name": "RedirectPayment",
|
|
3230
3022
|
"declaration": {
|
|
3231
|
-
"name": "
|
|
3232
|
-
"module": "
|
|
3023
|
+
"name": "RedirectPayment",
|
|
3024
|
+
"module": "./redirect-payment/redirect-payment"
|
|
3233
3025
|
}
|
|
3234
3026
|
},
|
|
3235
3027
|
{
|
|
3236
3028
|
"kind": "js",
|
|
3237
|
-
"name": "
|
|
3029
|
+
"name": "BillingAddress",
|
|
3238
3030
|
"declaration": {
|
|
3239
|
-
"name": "
|
|
3240
|
-
"module": "
|
|
3031
|
+
"name": "BillingAddress",
|
|
3032
|
+
"module": "./billing-address/billing-address"
|
|
3241
3033
|
}
|
|
3242
3034
|
},
|
|
3243
3035
|
{
|
|
3244
3036
|
"kind": "js",
|
|
3245
|
-
"name": "
|
|
3037
|
+
"name": "PortalDialog",
|
|
3246
3038
|
"declaration": {
|
|
3247
|
-
"name": "
|
|
3248
|
-
"module": "
|
|
3039
|
+
"name": "PortalDialog",
|
|
3040
|
+
"module": "./portal-dialog/portal-dialog"
|
|
3249
3041
|
}
|
|
3250
3042
|
},
|
|
3251
3043
|
{
|
|
3252
3044
|
"kind": "js",
|
|
3253
|
-
"name": "
|
|
3254
|
-
"declaration": {
|
|
3255
|
-
"name": "mockPaymentsCall",
|
|
3256
|
-
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
3257
|
-
}
|
|
3258
|
-
}
|
|
3259
|
-
]
|
|
3260
|
-
},
|
|
3261
|
-
{
|
|
3262
|
-
"kind": "javascript-module",
|
|
3263
|
-
"path": "e2e/tests/card-3ds.spec.ts",
|
|
3264
|
-
"declarations": [],
|
|
3265
|
-
"exports": []
|
|
3266
|
-
},
|
|
3267
|
-
{
|
|
3268
|
-
"kind": "javascript-module",
|
|
3269
|
-
"path": "e2e/tests/card-basic.spec.ts",
|
|
3270
|
-
"declarations": [],
|
|
3271
|
-
"exports": []
|
|
3272
|
-
},
|
|
3273
|
-
{
|
|
3274
|
-
"kind": "javascript-module",
|
|
3275
|
-
"path": "e2e/tests/card-form-billing-address.spec.ts",
|
|
3276
|
-
"declarations": [],
|
|
3277
|
-
"exports": []
|
|
3278
|
-
},
|
|
3279
|
-
{
|
|
3280
|
-
"kind": "javascript-module",
|
|
3281
|
-
"path": "e2e/tests/disabled-payments.spec.ts",
|
|
3282
|
-
"declarations": [
|
|
3283
|
-
{
|
|
3284
|
-
"kind": "variable",
|
|
3285
|
-
"name": "settingsEnabled",
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "string"
|
|
3288
|
-
},
|
|
3289
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2UsInNka0NvcmUiOmZhbHNlfX0='"
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
|
-
"exports": [
|
|
3293
|
-
{
|
|
3294
|
-
"kind": "js",
|
|
3295
|
-
"name": "settingsEnabled",
|
|
3296
|
-
"declaration": {
|
|
3297
|
-
"name": "settingsEnabled",
|
|
3298
|
-
"module": "e2e/tests/disabled-payments.spec.ts"
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
|
-
]
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
"kind": "javascript-module",
|
|
3305
|
-
"path": "e2e/tests/klarna.spec.ts",
|
|
3306
|
-
"declarations": [],
|
|
3307
|
-
"exports": []
|
|
3308
|
-
},
|
|
3309
|
-
{
|
|
3310
|
-
"kind": "javascript-module",
|
|
3311
|
-
"path": "e2e/tests/vaulted-paypal.spec.ts",
|
|
3312
|
-
"declarations": [],
|
|
3313
|
-
"exports": []
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "javascript-module",
|
|
3317
|
-
"path": "src/__tests__/setup.ts",
|
|
3318
|
-
"declarations": [],
|
|
3319
|
-
"exports": []
|
|
3320
|
-
},
|
|
3321
|
-
{
|
|
3322
|
-
"kind": "javascript-module",
|
|
3323
|
-
"path": "src/atoms/index.ts",
|
|
3324
|
-
"declarations": [],
|
|
3325
|
-
"exports": [
|
|
3326
|
-
{
|
|
3327
|
-
"kind": "js",
|
|
3328
|
-
"name": "Spinner",
|
|
3045
|
+
"name": "PortalDialogData",
|
|
3329
3046
|
"declaration": {
|
|
3330
|
-
"name": "
|
|
3331
|
-
"module": "./
|
|
3047
|
+
"name": "PortalDialogData",
|
|
3048
|
+
"module": "./portal-dialog/portal-dialog"
|
|
3332
3049
|
}
|
|
3333
3050
|
},
|
|
3334
3051
|
{
|
|
3335
3052
|
"kind": "js",
|
|
3336
|
-
"name": "
|
|
3053
|
+
"name": "VaultManager",
|
|
3337
3054
|
"declaration": {
|
|
3338
|
-
"name": "
|
|
3339
|
-
"
|
|
3055
|
+
"name": "VaultManager",
|
|
3056
|
+
"module": "./vault-manager/vault-manager"
|
|
3340
3057
|
}
|
|
3341
3058
|
},
|
|
3342
3059
|
{
|
|
3343
3060
|
"kind": "js",
|
|
3344
|
-
"name": "
|
|
3061
|
+
"name": "VaultPaymentMethodItem",
|
|
3345
3062
|
"declaration": {
|
|
3346
|
-
"name": "
|
|
3347
|
-
"
|
|
3063
|
+
"name": "VaultPaymentMethodItem",
|
|
3064
|
+
"module": "./vault-manager/vault-manager"
|
|
3348
3065
|
}
|
|
3349
3066
|
},
|
|
3350
3067
|
{
|
|
3351
3068
|
"kind": "js",
|
|
3352
|
-
"name": "
|
|
3069
|
+
"name": "VaultManagerHeader",
|
|
3353
3070
|
"declaration": {
|
|
3354
|
-
"name": "
|
|
3355
|
-
"
|
|
3071
|
+
"name": "VaultManagerHeader",
|
|
3072
|
+
"module": "./vault-manager/vault-manager"
|
|
3356
3073
|
}
|
|
3357
3074
|
},
|
|
3358
3075
|
{
|
|
3359
3076
|
"kind": "js",
|
|
3360
|
-
"name": "
|
|
3077
|
+
"name": "VaultDeleteConfirmation",
|
|
3361
3078
|
"declaration": {
|
|
3362
|
-
"name": "
|
|
3363
|
-
"
|
|
3079
|
+
"name": "VaultDeleteConfirmation",
|
|
3080
|
+
"module": "./vault-manager/vault-manager"
|
|
3364
3081
|
}
|
|
3365
3082
|
},
|
|
3366
3083
|
{
|
|
3367
3084
|
"kind": "js",
|
|
3368
|
-
"name": "
|
|
3085
|
+
"name": "VaultEmptyState",
|
|
3369
3086
|
"declaration": {
|
|
3370
|
-
"name": "
|
|
3371
|
-
"module": "./
|
|
3087
|
+
"name": "VaultEmptyState",
|
|
3088
|
+
"module": "./vault-manager/vault-manager"
|
|
3372
3089
|
}
|
|
3373
3090
|
},
|
|
3374
3091
|
{
|
|
3375
3092
|
"kind": "js",
|
|
3376
|
-
"name": "
|
|
3093
|
+
"name": "VaultErrorMessage",
|
|
3377
3094
|
"declaration": {
|
|
3378
|
-
"name": "
|
|
3379
|
-
"module": "./
|
|
3095
|
+
"name": "VaultErrorMessage",
|
|
3096
|
+
"module": "./vault-manager/vault-manager"
|
|
3380
3097
|
}
|
|
3381
3098
|
},
|
|
3382
3099
|
{
|
|
3383
3100
|
"kind": "js",
|
|
3384
|
-
"name": "
|
|
3101
|
+
"name": "VaultPaymentSubmit",
|
|
3385
3102
|
"declaration": {
|
|
3386
|
-
"name": "
|
|
3387
|
-
"module": "./
|
|
3103
|
+
"name": "VaultPaymentSubmit",
|
|
3104
|
+
"module": "./vault-manager/vault-manager"
|
|
3388
3105
|
}
|
|
3389
3106
|
},
|
|
3390
3107
|
{
|
|
3391
3108
|
"kind": "js",
|
|
3392
|
-
"name": "
|
|
3109
|
+
"name": "VaultCvvInput",
|
|
3393
3110
|
"declaration": {
|
|
3394
|
-
"name": "
|
|
3395
|
-
"module": "./
|
|
3111
|
+
"name": "VaultCvvInput",
|
|
3112
|
+
"module": "./vault-manager/vault-manager"
|
|
3396
3113
|
}
|
|
3397
3114
|
},
|
|
3398
3115
|
{
|
|
3399
3116
|
"kind": "js",
|
|
3400
|
-
"name": "
|
|
3117
|
+
"name": "PaymentMethodContentComponent",
|
|
3401
3118
|
"declaration": {
|
|
3402
|
-
"name": "
|
|
3403
|
-
"module": "./
|
|
3119
|
+
"name": "PaymentMethodContentComponent",
|
|
3120
|
+
"module": "./vault-manager/vault-manager"
|
|
3404
3121
|
}
|
|
3405
3122
|
},
|
|
3406
3123
|
{
|
|
3407
3124
|
"kind": "js",
|
|
3408
|
-
"name": "
|
|
3125
|
+
"name": "CardForm",
|
|
3409
3126
|
"declaration": {
|
|
3410
|
-
"name": "
|
|
3411
|
-
"module": "./
|
|
3127
|
+
"name": "CardForm",
|
|
3128
|
+
"module": "./card-form/card-form"
|
|
3412
3129
|
}
|
|
3413
3130
|
},
|
|
3414
3131
|
{
|
|
3415
3132
|
"kind": "js",
|
|
3416
|
-
"name": "
|
|
3133
|
+
"name": "CardFormCardNumber",
|
|
3417
3134
|
"declaration": {
|
|
3418
|
-
"name": "
|
|
3419
|
-
"module": "./
|
|
3135
|
+
"name": "CardFormCardNumber",
|
|
3136
|
+
"module": "./card-form/card-form"
|
|
3420
3137
|
}
|
|
3421
3138
|
},
|
|
3422
3139
|
{
|
|
3423
3140
|
"kind": "js",
|
|
3424
|
-
"name": "
|
|
3141
|
+
"name": "CardFormCVV",
|
|
3425
3142
|
"declaration": {
|
|
3426
|
-
"name": "
|
|
3427
|
-
"module": "./
|
|
3143
|
+
"name": "CardFormCVV",
|
|
3144
|
+
"module": "./card-form/card-form"
|
|
3428
3145
|
}
|
|
3429
3146
|
},
|
|
3430
3147
|
{
|
|
3431
3148
|
"kind": "js",
|
|
3432
|
-
"name": "
|
|
3149
|
+
"name": "CardFormExpiry",
|
|
3433
3150
|
"declaration": {
|
|
3434
|
-
"name": "
|
|
3435
|
-
"module": "./
|
|
3151
|
+
"name": "CardFormExpiry",
|
|
3152
|
+
"module": "./card-form/card-form"
|
|
3436
3153
|
}
|
|
3437
3154
|
},
|
|
3438
3155
|
{
|
|
3439
3156
|
"kind": "js",
|
|
3440
|
-
"name": "
|
|
3157
|
+
"name": "CardFormName",
|
|
3441
3158
|
"declaration": {
|
|
3442
|
-
"name": "
|
|
3443
|
-
"module": "./
|
|
3159
|
+
"name": "CardFormName",
|
|
3160
|
+
"module": "./card-form/card-form"
|
|
3444
3161
|
}
|
|
3445
3162
|
},
|
|
3446
3163
|
{
|
|
3447
3164
|
"kind": "js",
|
|
3448
|
-
"name": "
|
|
3165
|
+
"name": "CardFormSubmit",
|
|
3449
3166
|
"declaration": {
|
|
3450
|
-
"name": "
|
|
3451
|
-
"module": "./
|
|
3167
|
+
"name": "CardFormSubmit",
|
|
3168
|
+
"module": "./card-form/card-form"
|
|
3452
3169
|
}
|
|
3453
|
-
}
|
|
3454
|
-
]
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "javascript-module",
|
|
3458
|
-
"path": "src/containers/index.ts",
|
|
3459
|
-
"declarations": [],
|
|
3460
|
-
"exports": [
|
|
3170
|
+
},
|
|
3461
3171
|
{
|
|
3462
3172
|
"kind": "js",
|
|
3463
|
-
"name": "
|
|
3173
|
+
"name": "CardFormCardNetworkSelector",
|
|
3464
3174
|
"declaration": {
|
|
3465
|
-
"name": "
|
|
3466
|
-
"module": "./
|
|
3175
|
+
"name": "CardFormCardNetworkSelector",
|
|
3176
|
+
"module": "./card-form/card-form"
|
|
3467
3177
|
}
|
|
3468
3178
|
},
|
|
3469
3179
|
{
|
|
3470
3180
|
"kind": "js",
|
|
3471
|
-
"name": "
|
|
3181
|
+
"name": "ShowOtherPayments",
|
|
3472
3182
|
"declaration": {
|
|
3473
|
-
"name": "
|
|
3474
|
-
"module": "./
|
|
3183
|
+
"name": "ShowOtherPayments",
|
|
3184
|
+
"module": "./show-other-payments/show-other-payments"
|
|
3475
3185
|
}
|
|
3476
3186
|
},
|
|
3477
3187
|
{
|
|
3478
3188
|
"kind": "js",
|
|
3479
|
-
"name": "
|
|
3189
|
+
"name": "GooglePay",
|
|
3480
3190
|
"declaration": {
|
|
3481
|
-
"name": "
|
|
3482
|
-
"module": "./payment-
|
|
3191
|
+
"name": "GooglePay",
|
|
3192
|
+
"module": "./native-payment/components/google-pay/google-pay"
|
|
3483
3193
|
}
|
|
3484
3194
|
},
|
|
3485
3195
|
{
|
|
3486
3196
|
"kind": "js",
|
|
3487
|
-
"name": "
|
|
3197
|
+
"name": "ApplePay",
|
|
3488
3198
|
"declaration": {
|
|
3489
|
-
"name": "
|
|
3490
|
-
"module": "./
|
|
3199
|
+
"name": "ApplePay",
|
|
3200
|
+
"module": "./native-payment/components/apple-pay/apple-pay"
|
|
3491
3201
|
}
|
|
3492
3202
|
},
|
|
3493
3203
|
{
|
|
3494
3204
|
"kind": "js",
|
|
3495
|
-
"name": "
|
|
3205
|
+
"name": "PayPal",
|
|
3496
3206
|
"declaration": {
|
|
3497
|
-
"name": "
|
|
3498
|
-
"module": "./
|
|
3207
|
+
"name": "PayPal",
|
|
3208
|
+
"module": "./native-payment/components/paypal/paypal"
|
|
3499
3209
|
}
|
|
3500
3210
|
},
|
|
3501
3211
|
{
|
|
3502
3212
|
"kind": "js",
|
|
3503
|
-
"name": "
|
|
3213
|
+
"name": "Blik",
|
|
3504
3214
|
"declaration": {
|
|
3505
|
-
"name": "
|
|
3506
|
-
"module": "./
|
|
3215
|
+
"name": "Blik",
|
|
3216
|
+
"module": "./blik/blik"
|
|
3507
3217
|
}
|
|
3508
3218
|
},
|
|
3509
3219
|
{
|
|
3510
3220
|
"kind": "js",
|
|
3511
|
-
"name": "
|
|
3221
|
+
"name": "PrimerCheckoutComplete",
|
|
3512
3222
|
"declaration": {
|
|
3513
|
-
"name": "
|
|
3514
|
-
"module": "./
|
|
3223
|
+
"name": "PrimerCheckoutComplete",
|
|
3224
|
+
"module": "./primer-checkout-complete/primer-checkout-complete"
|
|
3515
3225
|
}
|
|
3516
3226
|
},
|
|
3517
3227
|
{
|
|
3518
3228
|
"kind": "js",
|
|
3519
|
-
"name": "
|
|
3229
|
+
"name": "PrimerCheckoutFailure",
|
|
3520
3230
|
"declaration": {
|
|
3521
|
-
"name": "
|
|
3522
|
-
"
|
|
3231
|
+
"name": "PrimerCheckoutFailure",
|
|
3232
|
+
"package": "@components/containers/primer-checkout-error/primer-checkout-error"
|
|
3523
3233
|
}
|
|
3524
3234
|
},
|
|
3525
3235
|
{
|
|
3526
3236
|
"kind": "js",
|
|
3527
|
-
"name": "
|
|
3237
|
+
"name": "ErrorMessageContainer",
|
|
3528
3238
|
"declaration": {
|
|
3529
|
-
"name": "
|
|
3530
|
-
"module": "./
|
|
3239
|
+
"name": "ErrorMessageContainer",
|
|
3240
|
+
"module": "./error-message-container/error-message-container"
|
|
3531
3241
|
}
|
|
3532
3242
|
},
|
|
3533
3243
|
{
|
|
3534
3244
|
"kind": "js",
|
|
3535
|
-
"name": "
|
|
3245
|
+
"name": "PrimerMain",
|
|
3536
3246
|
"declaration": {
|
|
3537
|
-
"name": "
|
|
3538
|
-
"module": "./
|
|
3247
|
+
"name": "PrimerMain",
|
|
3248
|
+
"module": "./primer-main/primer-main"
|
|
3539
3249
|
}
|
|
3540
|
-
}
|
|
3250
|
+
}
|
|
3251
|
+
]
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"kind": "javascript-module",
|
|
3255
|
+
"path": "src/contexts/analytics-context.ts",
|
|
3256
|
+
"declarations": [
|
|
3257
|
+
{
|
|
3258
|
+
"kind": "variable",
|
|
3259
|
+
"name": "analyticsContext"
|
|
3260
|
+
}
|
|
3261
|
+
],
|
|
3262
|
+
"exports": [
|
|
3541
3263
|
{
|
|
3542
3264
|
"kind": "js",
|
|
3543
|
-
"name": "
|
|
3544
|
-
"declaration": {
|
|
3545
|
-
"name": "VaultPaymentMethodItem",
|
|
3546
|
-
"module": "./vault-manager/vault-manager"
|
|
3547
|
-
}
|
|
3548
|
-
},
|
|
3549
|
-
{
|
|
3550
|
-
"kind": "js",
|
|
3551
|
-
"name": "VaultManagerHeader",
|
|
3552
|
-
"declaration": {
|
|
3553
|
-
"name": "VaultManagerHeader",
|
|
3554
|
-
"module": "./vault-manager/vault-manager"
|
|
3555
|
-
}
|
|
3556
|
-
},
|
|
3557
|
-
{
|
|
3558
|
-
"kind": "js",
|
|
3559
|
-
"name": "VaultDeleteConfirmation",
|
|
3560
|
-
"declaration": {
|
|
3561
|
-
"name": "VaultDeleteConfirmation",
|
|
3562
|
-
"module": "./vault-manager/vault-manager"
|
|
3563
|
-
}
|
|
3564
|
-
},
|
|
3565
|
-
{
|
|
3566
|
-
"kind": "js",
|
|
3567
|
-
"name": "VaultEmptyState",
|
|
3568
|
-
"declaration": {
|
|
3569
|
-
"name": "VaultEmptyState",
|
|
3570
|
-
"module": "./vault-manager/vault-manager"
|
|
3571
|
-
}
|
|
3572
|
-
},
|
|
3573
|
-
{
|
|
3574
|
-
"kind": "js",
|
|
3575
|
-
"name": "VaultErrorMessage",
|
|
3576
|
-
"declaration": {
|
|
3577
|
-
"name": "VaultErrorMessage",
|
|
3578
|
-
"module": "./vault-manager/vault-manager"
|
|
3579
|
-
}
|
|
3580
|
-
},
|
|
3581
|
-
{
|
|
3582
|
-
"kind": "js",
|
|
3583
|
-
"name": "VaultPaymentSubmit",
|
|
3584
|
-
"declaration": {
|
|
3585
|
-
"name": "VaultPaymentSubmit",
|
|
3586
|
-
"module": "./vault-manager/vault-manager"
|
|
3587
|
-
}
|
|
3588
|
-
},
|
|
3589
|
-
{
|
|
3590
|
-
"kind": "js",
|
|
3591
|
-
"name": "VaultCvvInput",
|
|
3592
|
-
"declaration": {
|
|
3593
|
-
"name": "VaultCvvInput",
|
|
3594
|
-
"module": "./vault-manager/vault-manager"
|
|
3595
|
-
}
|
|
3596
|
-
},
|
|
3597
|
-
{
|
|
3598
|
-
"kind": "js",
|
|
3599
|
-
"name": "PaymentMethodContentComponent",
|
|
3600
|
-
"declaration": {
|
|
3601
|
-
"name": "PaymentMethodContentComponent",
|
|
3602
|
-
"module": "./vault-manager/vault-manager"
|
|
3603
|
-
}
|
|
3604
|
-
},
|
|
3605
|
-
{
|
|
3606
|
-
"kind": "js",
|
|
3607
|
-
"name": "CardForm",
|
|
3608
|
-
"declaration": {
|
|
3609
|
-
"name": "CardForm",
|
|
3610
|
-
"module": "./card-form/card-form"
|
|
3611
|
-
}
|
|
3612
|
-
},
|
|
3613
|
-
{
|
|
3614
|
-
"kind": "js",
|
|
3615
|
-
"name": "CardFormCardNumber",
|
|
3616
|
-
"declaration": {
|
|
3617
|
-
"name": "CardFormCardNumber",
|
|
3618
|
-
"module": "./card-form/card-form"
|
|
3619
|
-
}
|
|
3620
|
-
},
|
|
3621
|
-
{
|
|
3622
|
-
"kind": "js",
|
|
3623
|
-
"name": "CardFormCVV",
|
|
3624
|
-
"declaration": {
|
|
3625
|
-
"name": "CardFormCVV",
|
|
3626
|
-
"module": "./card-form/card-form"
|
|
3627
|
-
}
|
|
3628
|
-
},
|
|
3629
|
-
{
|
|
3630
|
-
"kind": "js",
|
|
3631
|
-
"name": "CardFormExpiry",
|
|
3632
|
-
"declaration": {
|
|
3633
|
-
"name": "CardFormExpiry",
|
|
3634
|
-
"module": "./card-form/card-form"
|
|
3635
|
-
}
|
|
3636
|
-
},
|
|
3637
|
-
{
|
|
3638
|
-
"kind": "js",
|
|
3639
|
-
"name": "CardFormName",
|
|
3640
|
-
"declaration": {
|
|
3641
|
-
"name": "CardFormName",
|
|
3642
|
-
"module": "./card-form/card-form"
|
|
3643
|
-
}
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"kind": "js",
|
|
3647
|
-
"name": "CardFormSubmit",
|
|
3648
|
-
"declaration": {
|
|
3649
|
-
"name": "CardFormSubmit",
|
|
3650
|
-
"module": "./card-form/card-form"
|
|
3651
|
-
}
|
|
3652
|
-
},
|
|
3653
|
-
{
|
|
3654
|
-
"kind": "js",
|
|
3655
|
-
"name": "CardFormCardNetworkSelector",
|
|
3656
|
-
"declaration": {
|
|
3657
|
-
"name": "CardFormCardNetworkSelector",
|
|
3658
|
-
"module": "./card-form/card-form"
|
|
3659
|
-
}
|
|
3660
|
-
},
|
|
3661
|
-
{
|
|
3662
|
-
"kind": "js",
|
|
3663
|
-
"name": "ShowOtherPayments",
|
|
3664
|
-
"declaration": {
|
|
3665
|
-
"name": "ShowOtherPayments",
|
|
3666
|
-
"module": "./show-other-payments/show-other-payments"
|
|
3667
|
-
}
|
|
3668
|
-
},
|
|
3669
|
-
{
|
|
3670
|
-
"kind": "js",
|
|
3671
|
-
"name": "GooglePay",
|
|
3672
|
-
"declaration": {
|
|
3673
|
-
"name": "GooglePay",
|
|
3674
|
-
"module": "./native-payment/components/google-pay/google-pay"
|
|
3675
|
-
}
|
|
3676
|
-
},
|
|
3677
|
-
{
|
|
3678
|
-
"kind": "js",
|
|
3679
|
-
"name": "ApplePay",
|
|
3680
|
-
"declaration": {
|
|
3681
|
-
"name": "ApplePay",
|
|
3682
|
-
"module": "./native-payment/components/apple-pay/apple-pay"
|
|
3683
|
-
}
|
|
3684
|
-
},
|
|
3685
|
-
{
|
|
3686
|
-
"kind": "js",
|
|
3687
|
-
"name": "PayPal",
|
|
3688
|
-
"declaration": {
|
|
3689
|
-
"name": "PayPal",
|
|
3690
|
-
"module": "./native-payment/components/paypal/paypal"
|
|
3691
|
-
}
|
|
3692
|
-
},
|
|
3693
|
-
{
|
|
3694
|
-
"kind": "js",
|
|
3695
|
-
"name": "Blik",
|
|
3696
|
-
"declaration": {
|
|
3697
|
-
"name": "Blik",
|
|
3698
|
-
"module": "./blik/blik"
|
|
3699
|
-
}
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "js",
|
|
3703
|
-
"name": "PrimerCheckoutComplete",
|
|
3704
|
-
"declaration": {
|
|
3705
|
-
"name": "PrimerCheckoutComplete",
|
|
3706
|
-
"module": "./primer-checkout-complete/primer-checkout-complete"
|
|
3707
|
-
}
|
|
3708
|
-
},
|
|
3709
|
-
{
|
|
3710
|
-
"kind": "js",
|
|
3711
|
-
"name": "PrimerCheckoutFailure",
|
|
3712
|
-
"declaration": {
|
|
3713
|
-
"name": "PrimerCheckoutFailure",
|
|
3714
|
-
"package": "@components/containers/primer-checkout-error/primer-checkout-error"
|
|
3715
|
-
}
|
|
3716
|
-
},
|
|
3717
|
-
{
|
|
3718
|
-
"kind": "js",
|
|
3719
|
-
"name": "ErrorMessageContainer",
|
|
3720
|
-
"declaration": {
|
|
3721
|
-
"name": "ErrorMessageContainer",
|
|
3722
|
-
"module": "./error-message-container/error-message-container"
|
|
3723
|
-
}
|
|
3724
|
-
},
|
|
3725
|
-
{
|
|
3726
|
-
"kind": "js",
|
|
3727
|
-
"name": "PrimerMain",
|
|
3728
|
-
"declaration": {
|
|
3729
|
-
"name": "PrimerMain",
|
|
3730
|
-
"module": "./primer-main/primer-main"
|
|
3731
|
-
}
|
|
3732
|
-
}
|
|
3733
|
-
]
|
|
3734
|
-
},
|
|
3735
|
-
{
|
|
3736
|
-
"kind": "javascript-module",
|
|
3737
|
-
"path": "src/contexts/analytics-context.ts",
|
|
3738
|
-
"declarations": [
|
|
3739
|
-
{
|
|
3740
|
-
"kind": "variable",
|
|
3741
|
-
"name": "analyticsContext"
|
|
3742
|
-
}
|
|
3743
|
-
],
|
|
3744
|
-
"exports": [
|
|
3745
|
-
{
|
|
3746
|
-
"kind": "js",
|
|
3747
|
-
"name": "analyticsContext",
|
|
3265
|
+
"name": "analyticsContext",
|
|
3748
3266
|
"declaration": {
|
|
3749
3267
|
"name": "analyticsContext",
|
|
3750
3268
|
"module": "src/contexts/analytics-context.ts"
|
|
@@ -4472,49 +3990,172 @@
|
|
|
4472
3990
|
},
|
|
4473
3991
|
{
|
|
4474
3992
|
"kind": "javascript-module",
|
|
4475
|
-
"path": "src/controllers/
|
|
3993
|
+
"path": "src/controllers/payment-lifecycle-callbacks.ts",
|
|
4476
3994
|
"declarations": [
|
|
4477
3995
|
{
|
|
4478
|
-
"kind": "
|
|
4479
|
-
"
|
|
4480
|
-
"
|
|
4481
|
-
|
|
3996
|
+
"kind": "function",
|
|
3997
|
+
"name": "handlePaymentStart",
|
|
3998
|
+
"return": {
|
|
3999
|
+
"type": {
|
|
4000
|
+
"text": "void"
|
|
4001
|
+
}
|
|
4002
|
+
},
|
|
4003
|
+
"parameters": [
|
|
4482
4004
|
{
|
|
4483
|
-
"
|
|
4484
|
-
"name": "host",
|
|
4005
|
+
"name": "context",
|
|
4485
4006
|
"type": {
|
|
4486
|
-
"text": "
|
|
4007
|
+
"text": "PaymentLifecycleContext"
|
|
4487
4008
|
}
|
|
4488
4009
|
},
|
|
4489
4010
|
{
|
|
4490
|
-
"
|
|
4491
|
-
"
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4011
|
+
"name": "paymentMethodType",
|
|
4012
|
+
"type": {
|
|
4013
|
+
"text": "PaymentMethodType"
|
|
4014
|
+
}
|
|
4015
|
+
}
|
|
4016
|
+
],
|
|
4017
|
+
"description": "Handle common payment start logic including reattempt tracking.\nCentralizes state updates and analytics for payment initiation."
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
"kind": "function",
|
|
4021
|
+
"name": "handlePaymentSuccess",
|
|
4022
|
+
"return": {
|
|
4023
|
+
"type": {
|
|
4024
|
+
"text": "void"
|
|
4025
|
+
}
|
|
4026
|
+
},
|
|
4027
|
+
"parameters": [
|
|
4028
|
+
{
|
|
4029
|
+
"name": "context",
|
|
4030
|
+
"type": {
|
|
4031
|
+
"text": "PaymentLifecycleContext"
|
|
4496
4032
|
}
|
|
4497
4033
|
},
|
|
4498
4034
|
{
|
|
4499
|
-
"
|
|
4500
|
-
"
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
"
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4035
|
+
"name": "payment",
|
|
4036
|
+
"type": {
|
|
4037
|
+
"text": "Payment"
|
|
4038
|
+
}
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
"name": "paymentMethodType",
|
|
4042
|
+
"type": {
|
|
4043
|
+
"text": "PaymentMethodType | undefined"
|
|
4044
|
+
}
|
|
4045
|
+
}
|
|
4046
|
+
],
|
|
4047
|
+
"description": "Handle common payment success logic.\nCentralizes state updates, event dispatching, analytics, and callback invocation.\n\nNote: paymentMethodType may be undefined when the payment object doesn't include\npaymentMethodData (e.g., in legacy SDK mode responses)."
|
|
4048
|
+
},
|
|
4049
|
+
{
|
|
4050
|
+
"kind": "function",
|
|
4051
|
+
"name": "handlePaymentFailure",
|
|
4052
|
+
"return": {
|
|
4053
|
+
"type": {
|
|
4054
|
+
"text": "void"
|
|
4055
|
+
}
|
|
4056
|
+
},
|
|
4057
|
+
"parameters": [
|
|
4058
|
+
{
|
|
4059
|
+
"name": "context",
|
|
4060
|
+
"type": {
|
|
4061
|
+
"text": "PaymentLifecycleContext"
|
|
4062
|
+
}
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
"name": "error",
|
|
4066
|
+
"type": {
|
|
4067
|
+
"text": "unknown"
|
|
4068
|
+
}
|
|
4069
|
+
},
|
|
4070
|
+
{
|
|
4071
|
+
"name": "paymentMethodType",
|
|
4072
|
+
"type": {
|
|
4073
|
+
"text": "PaymentMethodType | undefined"
|
|
4074
|
+
}
|
|
4075
|
+
},
|
|
4076
|
+
{
|
|
4077
|
+
"name": "payment",
|
|
4078
|
+
"optional": true,
|
|
4079
|
+
"type": {
|
|
4080
|
+
"text": "Payment"
|
|
4081
|
+
}
|
|
4082
|
+
}
|
|
4083
|
+
],
|
|
4084
|
+
"description": "Handle common payment failure logic.\nCentralizes error processing, state updates, event dispatching, analytics, and callback invocation.\n\nNote: paymentMethodType may be undefined when the payment object is not returned in the callback."
|
|
4085
|
+
}
|
|
4086
|
+
],
|
|
4087
|
+
"exports": [
|
|
4088
|
+
{
|
|
4089
|
+
"kind": "js",
|
|
4090
|
+
"name": "handlePaymentStart",
|
|
4091
|
+
"declaration": {
|
|
4092
|
+
"name": "handlePaymentStart",
|
|
4093
|
+
"module": "src/controllers/payment-lifecycle-callbacks.ts"
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
"kind": "js",
|
|
4098
|
+
"name": "handlePaymentSuccess",
|
|
4099
|
+
"declaration": {
|
|
4100
|
+
"name": "handlePaymentSuccess",
|
|
4101
|
+
"module": "src/controllers/payment-lifecycle-callbacks.ts"
|
|
4102
|
+
}
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
"kind": "js",
|
|
4106
|
+
"name": "handlePaymentFailure",
|
|
4107
|
+
"declaration": {
|
|
4108
|
+
"name": "handlePaymentFailure",
|
|
4109
|
+
"module": "src/controllers/payment-lifecycle-callbacks.ts"
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
]
|
|
4113
|
+
},
|
|
4114
|
+
{
|
|
4115
|
+
"kind": "javascript-module",
|
|
4116
|
+
"path": "src/controllers/primer-events-controller.ts",
|
|
4117
|
+
"declarations": [
|
|
4118
|
+
{
|
|
4119
|
+
"kind": "class",
|
|
4120
|
+
"description": "",
|
|
4121
|
+
"name": "PrimerEventsController",
|
|
4122
|
+
"members": [
|
|
4123
|
+
{
|
|
4124
|
+
"kind": "field",
|
|
4125
|
+
"name": "host",
|
|
4126
|
+
"type": {
|
|
4127
|
+
"text": "ReactiveControllerHost & LitElement"
|
|
4128
|
+
}
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"kind": "method",
|
|
4132
|
+
"name": "hostConnected",
|
|
4133
|
+
"return": {
|
|
4134
|
+
"type": {
|
|
4135
|
+
"text": "void"
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
"kind": "method",
|
|
4141
|
+
"name": "dispatchEvent",
|
|
4142
|
+
"return": {
|
|
4143
|
+
"type": {
|
|
4144
|
+
"text": "void"
|
|
4145
|
+
}
|
|
4146
|
+
},
|
|
4147
|
+
"parameters": [
|
|
4148
|
+
{
|
|
4149
|
+
"name": "type",
|
|
4150
|
+
"type": {
|
|
4151
|
+
"text": "K"
|
|
4152
|
+
},
|
|
4153
|
+
"description": "The event name as defined in PrimerEvents."
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
"name": "detail",
|
|
4157
|
+
"type": {
|
|
4158
|
+
"text": "PrimerEvents[K]['detail']"
|
|
4518
4159
|
},
|
|
4519
4160
|
"description": "The payload for the event."
|
|
4520
4161
|
}
|
|
@@ -4688,7 +4329,7 @@
|
|
|
4688
4329
|
{
|
|
4689
4330
|
"name": "paymentMethodType",
|
|
4690
4331
|
"type": {
|
|
4691
|
-
"text": "
|
|
4332
|
+
"text": "PaymentMethodType | undefined"
|
|
4692
4333
|
}
|
|
4693
4334
|
}
|
|
4694
4335
|
],
|
|
@@ -4712,7 +4353,7 @@
|
|
|
4712
4353
|
{
|
|
4713
4354
|
"name": "paymentMethodType",
|
|
4714
4355
|
"type": {
|
|
4715
|
-
"text": "
|
|
4356
|
+
"text": "PaymentMethodType | undefined"
|
|
4716
4357
|
}
|
|
4717
4358
|
},
|
|
4718
4359
|
{
|
|
@@ -6419,6 +6060,38 @@
|
|
|
6419
6060
|
"name": "PaymentSummary",
|
|
6420
6061
|
"package": "@primer-io/sdk-core"
|
|
6421
6062
|
}
|
|
6063
|
+
},
|
|
6064
|
+
{
|
|
6065
|
+
"kind": "js",
|
|
6066
|
+
"name": "GooglePayClientOptions",
|
|
6067
|
+
"declaration": {
|
|
6068
|
+
"name": "GooglePayClientOptions",
|
|
6069
|
+
"package": "@primer-io/sdk-core"
|
|
6070
|
+
}
|
|
6071
|
+
},
|
|
6072
|
+
{
|
|
6073
|
+
"kind": "js",
|
|
6074
|
+
"name": "GooglePayButtonType",
|
|
6075
|
+
"declaration": {
|
|
6076
|
+
"name": "GooglePayButtonType",
|
|
6077
|
+
"package": "@primer-io/sdk-core"
|
|
6078
|
+
}
|
|
6079
|
+
},
|
|
6080
|
+
{
|
|
6081
|
+
"kind": "js",
|
|
6082
|
+
"name": "GooglePayButtonColor",
|
|
6083
|
+
"declaration": {
|
|
6084
|
+
"name": "GooglePayButtonColor",
|
|
6085
|
+
"package": "@primer-io/sdk-core"
|
|
6086
|
+
}
|
|
6087
|
+
},
|
|
6088
|
+
{
|
|
6089
|
+
"kind": "js",
|
|
6090
|
+
"name": "GooglePayButtonSizeMode",
|
|
6091
|
+
"declaration": {
|
|
6092
|
+
"name": "GooglePayButtonSizeMode",
|
|
6093
|
+
"package": "@primer-io/sdk-core"
|
|
6094
|
+
}
|
|
6422
6095
|
}
|
|
6423
6096
|
]
|
|
6424
6097
|
},
|
|
@@ -6603,6 +6276,38 @@
|
|
|
6603
6276
|
"module": "./compatibility-types"
|
|
6604
6277
|
}
|
|
6605
6278
|
},
|
|
6279
|
+
{
|
|
6280
|
+
"kind": "js",
|
|
6281
|
+
"name": "GooglePayClientOptions",
|
|
6282
|
+
"declaration": {
|
|
6283
|
+
"name": "GooglePayClientOptions",
|
|
6284
|
+
"module": "./compatibility-types"
|
|
6285
|
+
}
|
|
6286
|
+
},
|
|
6287
|
+
{
|
|
6288
|
+
"kind": "js",
|
|
6289
|
+
"name": "GooglePayButtonType",
|
|
6290
|
+
"declaration": {
|
|
6291
|
+
"name": "GooglePayButtonType",
|
|
6292
|
+
"module": "./compatibility-types"
|
|
6293
|
+
}
|
|
6294
|
+
},
|
|
6295
|
+
{
|
|
6296
|
+
"kind": "js",
|
|
6297
|
+
"name": "GooglePayButtonColor",
|
|
6298
|
+
"declaration": {
|
|
6299
|
+
"name": "GooglePayButtonColor",
|
|
6300
|
+
"module": "./compatibility-types"
|
|
6301
|
+
}
|
|
6302
|
+
},
|
|
6303
|
+
{
|
|
6304
|
+
"kind": "js",
|
|
6305
|
+
"name": "GooglePayButtonSizeMode",
|
|
6306
|
+
"declaration": {
|
|
6307
|
+
"name": "GooglePayButtonSizeMode",
|
|
6308
|
+
"module": "./compatibility-types"
|
|
6309
|
+
}
|
|
6310
|
+
},
|
|
6606
6311
|
{
|
|
6607
6312
|
"kind": "js",
|
|
6608
6313
|
"name": "HeadlessManagerType",
|
|
@@ -7061,6 +6766,85 @@
|
|
|
7061
6766
|
}
|
|
7062
6767
|
]
|
|
7063
6768
|
},
|
|
6769
|
+
{
|
|
6770
|
+
"kind": "javascript-module",
|
|
6771
|
+
"path": "src/utils/createTranslate.ts",
|
|
6772
|
+
"declarations": [
|
|
6773
|
+
{
|
|
6774
|
+
"kind": "function",
|
|
6775
|
+
"name": "createTranslateFunction",
|
|
6776
|
+
"return": {
|
|
6777
|
+
"type": {
|
|
6778
|
+
"text": ""
|
|
6779
|
+
}
|
|
6780
|
+
},
|
|
6781
|
+
"parameters": [
|
|
6782
|
+
{
|
|
6783
|
+
"name": "locale",
|
|
6784
|
+
"type": {
|
|
6785
|
+
"text": "string"
|
|
6786
|
+
},
|
|
6787
|
+
"description": "The locale code (e.g., 'en-GB', 'fr', 'de')"
|
|
6788
|
+
}
|
|
6789
|
+
],
|
|
6790
|
+
"description": "Creates a translate function for sdk-core that looks up translations by key.\nThis is used for translating labels in payment methods like Google Pay."
|
|
6791
|
+
},
|
|
6792
|
+
{
|
|
6793
|
+
"kind": "function",
|
|
6794
|
+
"name": "createSyncTranslateFunction",
|
|
6795
|
+
"return": {
|
|
6796
|
+
"type": {
|
|
6797
|
+
"text": ""
|
|
6798
|
+
}
|
|
6799
|
+
},
|
|
6800
|
+
"description": "Creates a synchronous translate function using cached templates.\nCall loadTranslationTemplates first to ensure templates are cached."
|
|
6801
|
+
},
|
|
6802
|
+
{
|
|
6803
|
+
"kind": "function",
|
|
6804
|
+
"name": "preloadTranslations",
|
|
6805
|
+
"return": {
|
|
6806
|
+
"type": {
|
|
6807
|
+
"text": "Promise<void>"
|
|
6808
|
+
}
|
|
6809
|
+
},
|
|
6810
|
+
"parameters": [
|
|
6811
|
+
{
|
|
6812
|
+
"name": "locale",
|
|
6813
|
+
"type": {
|
|
6814
|
+
"text": "string"
|
|
6815
|
+
}
|
|
6816
|
+
}
|
|
6817
|
+
],
|
|
6818
|
+
"description": "Preloads translation templates for a locale.\nCall this when locale is set to ensure translations are available."
|
|
6819
|
+
}
|
|
6820
|
+
],
|
|
6821
|
+
"exports": [
|
|
6822
|
+
{
|
|
6823
|
+
"kind": "js",
|
|
6824
|
+
"name": "createTranslateFunction",
|
|
6825
|
+
"declaration": {
|
|
6826
|
+
"name": "createTranslateFunction",
|
|
6827
|
+
"module": "src/utils/createTranslate.ts"
|
|
6828
|
+
}
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
"kind": "js",
|
|
6832
|
+
"name": "createSyncTranslateFunction",
|
|
6833
|
+
"declaration": {
|
|
6834
|
+
"name": "createSyncTranslateFunction",
|
|
6835
|
+
"module": "src/utils/createTranslate.ts"
|
|
6836
|
+
}
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
"kind": "js",
|
|
6840
|
+
"name": "preloadTranslations",
|
|
6841
|
+
"declaration": {
|
|
6842
|
+
"name": "preloadTranslations",
|
|
6843
|
+
"module": "src/utils/createTranslate.ts"
|
|
6844
|
+
}
|
|
6845
|
+
}
|
|
6846
|
+
]
|
|
6847
|
+
},
|
|
7064
6848
|
{
|
|
7065
6849
|
"kind": "javascript-module",
|
|
7066
6850
|
"path": "src/utils/getFormInputBaseStyles.ts",
|
|
@@ -7263,6 +7047,489 @@
|
|
|
7263
7047
|
}
|
|
7264
7048
|
]
|
|
7265
7049
|
},
|
|
7050
|
+
{
|
|
7051
|
+
"kind": "javascript-module",
|
|
7052
|
+
"path": "e2e/mocks/sdkcore-false/card-3ds.ts",
|
|
7053
|
+
"declarations": [
|
|
7054
|
+
{
|
|
7055
|
+
"kind": "variable",
|
|
7056
|
+
"name": "settings",
|
|
7057
|
+
"type": {
|
|
7058
|
+
"text": "string"
|
|
7059
|
+
},
|
|
7060
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
7061
|
+
},
|
|
7062
|
+
{
|
|
7063
|
+
"kind": "variable",
|
|
7064
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7065
|
+
"type": {
|
|
7066
|
+
"text": "object"
|
|
7067
|
+
},
|
|
7068
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: '0d5f31b6-5848-49ce-9625-3254d5dd8a78', order: { orderId: '74527', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
7069
|
+
}
|
|
7070
|
+
],
|
|
7071
|
+
"exports": [
|
|
7072
|
+
{
|
|
7073
|
+
"kind": "js",
|
|
7074
|
+
"name": "settings",
|
|
7075
|
+
"declaration": {
|
|
7076
|
+
"name": "settings",
|
|
7077
|
+
"module": "e2e/mocks/sdkcore-false/card-3ds.ts"
|
|
7078
|
+
}
|
|
7079
|
+
},
|
|
7080
|
+
{
|
|
7081
|
+
"kind": "js",
|
|
7082
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7083
|
+
"declaration": {
|
|
7084
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7085
|
+
"module": "e2e/mocks/sdkcore-false/card-3ds.ts"
|
|
7086
|
+
}
|
|
7087
|
+
}
|
|
7088
|
+
]
|
|
7089
|
+
},
|
|
7090
|
+
{
|
|
7091
|
+
"kind": "javascript-module",
|
|
7092
|
+
"path": "e2e/mocks/sdkcore-false/card-basic.ts",
|
|
7093
|
+
"declarations": [
|
|
7094
|
+
{
|
|
7095
|
+
"kind": "variable",
|
|
7096
|
+
"name": "settings",
|
|
7097
|
+
"type": {
|
|
7098
|
+
"text": "string"
|
|
7099
|
+
},
|
|
7100
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6ZmFsc2V9fQ=='"
|
|
7101
|
+
},
|
|
7102
|
+
{
|
|
7103
|
+
"kind": "variable",
|
|
7104
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7105
|
+
"type": {
|
|
7106
|
+
"text": "object"
|
|
7107
|
+
},
|
|
7108
|
+
"default": "{ coreUrl: 'https://api.staging.primer.io', pciUrl: 'https://sdk.api.staging.primer.io', binDataUrl: 'https://bin-data.api.staging.core.primer.io', assetsUrl: 'https://assets.staging.core.primer.io', checkoutModules: [ { type: 'CARD_INFORMATION', options: { cardHolderName: true, cardholderName: true, }, }, { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, ], clientSession: { clientSessionId: '7430ecc6-a520-4353-bf03-030bb09ba4b7', order: { orderId: '34775', currencyCode: 'EUR', countryCode: 'GB', totalOrderAmount: 1000, merchantAmount: 1000, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 1000, quantity: 1, }, ], }, customer: { customerId: 'airwallex-customer-id-demo', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: 'd634b2c6-17d8-4347-bac0-df642c2d6469', env: 'STAGING', paymentMethods: [ { id: 'd2862cfb-05a8-4304-9d80-6652450d19d7', type: 'AFTERPAY', options: { merchantId: 'wont-work', merchantAccountId: '04070052-bcd7-5d2f-92d0-70d1c9b30ce0', }, processorConfigId: '2805ab6e-6b0b-40e2-9d65-1e5c800a530e', implementationType: 'WEB_REDIRECT', name: 'Afterpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#000000', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#000000', dark: '#FFFFFF', light: '#000000', }, textColor: { dark: '#FFFFFF', light: '#FFFFFF', }, iconPositionRelativeToText: 'END', }, }, forceRedirect: false, implementation: {}, }, { id: 'f4105e92-bf54-4652-a7ac-63a2adf3a96d', type: 'ALMA', options: { merchantId: '9b7d77ef-4862-4900-902c-8ff623476826', merchantAccountId: 'e11ef8e1-10a8-542d-924d-ae0546a03d35', }, processorConfigId: '9b7d77ef-4862-4900-902c-8ff623476826', implementationType: 'WEB_REDIRECT', name: 'Alma', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALMA/alma-logo@3x.png', }, backgroundColor: { colored: '#FA5022', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#FA5022', dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '588df103-82e2-4888-bf49-63f0182e516e', type: 'BRAINTREE_VENMO', options: { merchantId: 'primer', merchantAccountId: '4dd30736-e360-5562-994a-b9de0dc2c2da', }, processorConfigId: '99b3dd12-2d18-48b4-a700-acd8f7943bcb', implementationType: 'WEB_REDIRECT', name: 'Venmo', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VENMO/venmo-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-light@3x.png', }, backgroundColor: { colored: '#008CFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4cc272a3-69eb-46b6-9938-cd672d7a7cbd', type: 'ADYEN_MULTIBANCO', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'NATIVE_SDK', name: 'Multibanco', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', dark: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', light: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: { headless: { supportedManagerCategories: ['RAW_DATA'], }, events: [ { eventType: 'ON_START', uiAction: { actionType: 'NAVIGATE', screenId: 'start_screen', }, }, { eventType: 'ON_REQUIRED_ACTION_RECEIVED', uiAction: { actionType: 'NAVIGATE', screenId: 'voucher_screen', }, }, { eventType: 'ON_ERROR', uiAction: { actionType: 'NAVIGATE', screenId: 'error_screen', }, }, ], screens: [ { screenId: 'start_screen', isBackButtonEnabled: true, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, {}, ], }, { screenId: 'voucher_screen', isBackButtonEnabled: true, isShareButtonEnabled: true, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, ], alignment: 'FILL', distribution: 'FILL', }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, {}, ], alignment: 'FILL', distribution: 'FILL', }, ], }, { screenId: 'error_screen', isBackButtonEnabled: false, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [{}], }, ], }, }, { id: '642bb622-b133-4445-904e-0e844967d4bb', type: 'FINTECTURE_IMMEDIATE_TRANSFER', options: { merchantId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', merchantAccountId: '55bbc227-ddf7-57f9-a0e8-4ebde5505ce5', }, processorConfigId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', implementationType: 'WEB_REDIRECT', name: 'Fintecture Immediate Transfer', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/FINTECTURE/inverted@3x.png', light: 'https://assets.staging.core.primer.io/FINTECTURE/default@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by Immediate transfer', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'START', }, }, forceRedirect: true, implementation: {}, }, { id: '8f057fb9-2737-44f4-aca8-7021ca5689bc', type: 'APPLE_PAY', options: { merchantId: 'd634b2c617d84347bac0df642c2d6469', merchantName: 'Connections', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '418673aa-954f-4f3e-89e9-d447574a1e14', type: 'SIPS_CPAY', options: { merchantId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', merchantAccountId: '946e95a0-63d0-5afd-9389-c4aea5a9b1fa', }, processorConfigId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', implementationType: 'WEB_REDIRECT', name: 'Cpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/CPAY/cpay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-light@3x.png', }, backgroundColor: { colored: '#FFFFFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'ba29b47f-bd66-46d6-a3e3-aa27c3b1d110', type: 'ADYEN_ALIPAY', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Alipay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-light@3x.png', }, backgroundColor: { colored: '#31B1F0', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd5b11ef6-c0da-4b85-9095-cc260ddeb009', type: 'ADYEN_VIPPS', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Vipps', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-light@3x.png', }, backgroundColor: { colored: '#FF5B24', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd180c74e-3616-4ada-b9ae-b9ad1c554efe', type: 'TRIPLE_A', options: { merchantId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', merchantAccountId: 'ebac4f47-a9be-5523-94a9-6b381619ce07', }, processorConfigId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', implementationType: 'WEB_REDIRECT', name: 'Triple-A', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo@3x.png', light: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay with Crypto', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'END', }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'fe2aa1da-6cad-41dc-885f-ea5483f49441', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'bc5908a7-3b62-5696-804b-274eaa68fc3e', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '0a5952b4-cbdf-49b6-a982-022bc0bd0f7f', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: '5f36bcaa-6479-4f4a-87ab-b526348c520f', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
7109
|
+
},
|
|
7110
|
+
{
|
|
7111
|
+
"kind": "variable",
|
|
7112
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
7113
|
+
"type": {
|
|
7114
|
+
"text": "string"
|
|
7115
|
+
},
|
|
7116
|
+
"default": "'4035 5010 0000 0008'"
|
|
7117
|
+
},
|
|
7118
|
+
{
|
|
7119
|
+
"kind": "variable",
|
|
7120
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
7121
|
+
"type": {
|
|
7122
|
+
"text": "string"
|
|
7123
|
+
},
|
|
7124
|
+
"default": "'4242 4242 4242 4242'"
|
|
7125
|
+
},
|
|
7126
|
+
{
|
|
7127
|
+
"kind": "function",
|
|
7128
|
+
"name": "mockPaymentInstruments",
|
|
7129
|
+
"parameters": [
|
|
7130
|
+
{
|
|
7131
|
+
"name": "page",
|
|
7132
|
+
"type": {
|
|
7133
|
+
"text": "Page"
|
|
7134
|
+
}
|
|
7135
|
+
}
|
|
7136
|
+
]
|
|
7137
|
+
},
|
|
7138
|
+
{
|
|
7139
|
+
"kind": "function",
|
|
7140
|
+
"name": "mockPayments",
|
|
7141
|
+
"parameters": [
|
|
7142
|
+
{
|
|
7143
|
+
"name": "page",
|
|
7144
|
+
"type": {
|
|
7145
|
+
"text": "Page"
|
|
7146
|
+
}
|
|
7147
|
+
}
|
|
7148
|
+
]
|
|
7149
|
+
},
|
|
7150
|
+
{
|
|
7151
|
+
"kind": "function",
|
|
7152
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
7153
|
+
"parameters": [
|
|
7154
|
+
{
|
|
7155
|
+
"name": "page",
|
|
7156
|
+
"type": {
|
|
7157
|
+
"text": "Page"
|
|
7158
|
+
}
|
|
7159
|
+
}
|
|
7160
|
+
]
|
|
7161
|
+
},
|
|
7162
|
+
{
|
|
7163
|
+
"kind": "function",
|
|
7164
|
+
"name": "mockPaymentsFailure",
|
|
7165
|
+
"parameters": [
|
|
7166
|
+
{
|
|
7167
|
+
"name": "page",
|
|
7168
|
+
"type": {
|
|
7169
|
+
"text": "Page"
|
|
7170
|
+
}
|
|
7171
|
+
}
|
|
7172
|
+
]
|
|
7173
|
+
}
|
|
7174
|
+
],
|
|
7175
|
+
"exports": [
|
|
7176
|
+
{
|
|
7177
|
+
"kind": "js",
|
|
7178
|
+
"name": "settings",
|
|
7179
|
+
"declaration": {
|
|
7180
|
+
"name": "settings",
|
|
7181
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7182
|
+
}
|
|
7183
|
+
},
|
|
7184
|
+
{
|
|
7185
|
+
"kind": "js",
|
|
7186
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7187
|
+
"declaration": {
|
|
7188
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7189
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7190
|
+
}
|
|
7191
|
+
},
|
|
7192
|
+
{
|
|
7193
|
+
"kind": "js",
|
|
7194
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
7195
|
+
"declaration": {
|
|
7196
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
7197
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7198
|
+
}
|
|
7199
|
+
},
|
|
7200
|
+
{
|
|
7201
|
+
"kind": "js",
|
|
7202
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
7203
|
+
"declaration": {
|
|
7204
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
7205
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7206
|
+
}
|
|
7207
|
+
},
|
|
7208
|
+
{
|
|
7209
|
+
"kind": "js",
|
|
7210
|
+
"name": "mockPaymentInstruments",
|
|
7211
|
+
"declaration": {
|
|
7212
|
+
"name": "mockPaymentInstruments",
|
|
7213
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7214
|
+
}
|
|
7215
|
+
},
|
|
7216
|
+
{
|
|
7217
|
+
"kind": "js",
|
|
7218
|
+
"name": "mockPayments",
|
|
7219
|
+
"declaration": {
|
|
7220
|
+
"name": "mockPayments",
|
|
7221
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7222
|
+
}
|
|
7223
|
+
},
|
|
7224
|
+
{
|
|
7225
|
+
"kind": "js",
|
|
7226
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
7227
|
+
"declaration": {
|
|
7228
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
7229
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7230
|
+
}
|
|
7231
|
+
},
|
|
7232
|
+
{
|
|
7233
|
+
"kind": "js",
|
|
7234
|
+
"name": "mockPaymentsFailure",
|
|
7235
|
+
"declaration": {
|
|
7236
|
+
"name": "mockPaymentsFailure",
|
|
7237
|
+
"module": "e2e/mocks/sdkcore-false/card-basic.ts"
|
|
7238
|
+
}
|
|
7239
|
+
}
|
|
7240
|
+
]
|
|
7241
|
+
},
|
|
7242
|
+
{
|
|
7243
|
+
"kind": "javascript-module",
|
|
7244
|
+
"path": "e2e/mocks/sdkcore-false/klarna.ts",
|
|
7245
|
+
"declarations": [
|
|
7246
|
+
{
|
|
7247
|
+
"kind": "variable",
|
|
7248
|
+
"name": "settings",
|
|
7249
|
+
"type": {
|
|
7250
|
+
"text": "string"
|
|
7251
|
+
},
|
|
7252
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
7253
|
+
},
|
|
7254
|
+
{
|
|
7255
|
+
"kind": "variable",
|
|
7256
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7257
|
+
"type": {
|
|
7258
|
+
"text": "object"
|
|
7259
|
+
},
|
|
7260
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: 'ff9ecd24-537f-4928-a8e4-5534d2375200', order: { orderId: '45858', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], }, customer: { customerId: 'Euler is the best', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
7261
|
+
}
|
|
7262
|
+
],
|
|
7263
|
+
"exports": [
|
|
7264
|
+
{
|
|
7265
|
+
"kind": "js",
|
|
7266
|
+
"name": "settings",
|
|
7267
|
+
"declaration": {
|
|
7268
|
+
"name": "settings",
|
|
7269
|
+
"module": "e2e/mocks/sdkcore-false/klarna.ts"
|
|
7270
|
+
}
|
|
7271
|
+
},
|
|
7272
|
+
{
|
|
7273
|
+
"kind": "js",
|
|
7274
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7275
|
+
"declaration": {
|
|
7276
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7277
|
+
"module": "e2e/mocks/sdkcore-false/klarna.ts"
|
|
7278
|
+
}
|
|
7279
|
+
}
|
|
7280
|
+
]
|
|
7281
|
+
},
|
|
7282
|
+
{
|
|
7283
|
+
"kind": "javascript-module",
|
|
7284
|
+
"path": "e2e/mocks/sdkcore-false/vaulted-paypal.ts",
|
|
7285
|
+
"declarations": [
|
|
7286
|
+
{
|
|
7287
|
+
"kind": "variable",
|
|
7288
|
+
"name": "settings",
|
|
7289
|
+
"type": {
|
|
7290
|
+
"text": "string"
|
|
7291
|
+
},
|
|
7292
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwidmF1bHRPbkFncmVlbWVudCI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmMzA4ODVmMC04MjljLTRmMGEtYjIyMi1iN2Y1OWQzNzZlYWYiLCJhcGlWZXJzaW9uIjoiMi40IiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9LCJzZGtDb3JlIjpmYWxzZX19'"
|
|
7293
|
+
},
|
|
7294
|
+
{
|
|
7295
|
+
"kind": "variable",
|
|
7296
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7297
|
+
"type": {
|
|
7298
|
+
"text": "object"
|
|
7299
|
+
},
|
|
7300
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [], clientSession: { clientSessionId: '3b40a6e3-8fa9-4f2d-90b5-2691e644ff81', order: { orderId: '089357018253670', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '166fd38f-d8a6-4f39-805f-62a6bbd64bee', env: 'SANDBOX', paymentMethods: [ { id: 'd3ced3db-ca91-44bb-889d-d1a687c2db17', type: 'RAPYD_GRABPAY', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'WEB_REDIRECT', name: 'GrabPay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo-light@3x.png', }, backgroundColor: { colored: '#01B14E', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'f37f1a42-1270-476e-a8d8-3698215596c2', type: 'RAPYD_GCASH', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'WEB_REDIRECT', name: 'GCash', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo-light@3x.png', }, backgroundColor: { colored: '#297BFA', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '1bde0ef5-9ae7-41f8-b627-4ecaaddc76a5', type: 'RAPYD_PROMPTPAY', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'NATIVE_SDK', name: 'PromptPay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo-light@3x.png', }, backgroundColor: { colored: '#023C68', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '2b0b7149-a4c2-4bf4-adb3-a56ec6e2f09f', type: 'ADYEN_IDEAL', options: { merchantId: 'Primerio254_SECOND_TEST', merchantAccountId: 'ddeca4e9-6cee-55f0-ae0d-ddb8d1100977', }, processorConfigId: 'af152714-66c6-48b9-a67e-314f5eb3ab15', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: '6e7a8a26-7737-45dc-b4e5-721f0b180f2f', type: 'GOOGLE_PAY', options: { merchantId: 'test', merchantName: 'test', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '2f32f120-d2a9-49d2-96d0-6b21546dec34', type: 'KLARNA', options: { merchantId: 'EG100723', merchantAccountId: '5cdd4a63-9762-5364-8ab8-30aa082a03b5', clientId: 'EG100723', }, processorConfigId: 'c65b140d-3faf-43af-ae3b-8d278b7d7221', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e550cea-749e-46d2-b01d-6867b34eec9a', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'fc6c22da-065a-5a44-8c39-a4a1fcaf5723', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '6b506d09-48b0-495c-ba32-49c6d2016cb0', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
7301
|
+
},
|
|
7302
|
+
{
|
|
7303
|
+
"kind": "function",
|
|
7304
|
+
"name": "mockExchangeCall",
|
|
7305
|
+
"parameters": [
|
|
7306
|
+
{
|
|
7307
|
+
"name": "page",
|
|
7308
|
+
"type": {
|
|
7309
|
+
"text": "Page"
|
|
7310
|
+
}
|
|
7311
|
+
}
|
|
7312
|
+
]
|
|
7313
|
+
},
|
|
7314
|
+
{
|
|
7315
|
+
"kind": "function",
|
|
7316
|
+
"name": "mockPaymentsCall",
|
|
7317
|
+
"parameters": [
|
|
7318
|
+
{
|
|
7319
|
+
"name": "page",
|
|
7320
|
+
"type": {
|
|
7321
|
+
"text": "Page"
|
|
7322
|
+
}
|
|
7323
|
+
}
|
|
7324
|
+
]
|
|
7325
|
+
}
|
|
7326
|
+
],
|
|
7327
|
+
"exports": [
|
|
7328
|
+
{
|
|
7329
|
+
"kind": "js",
|
|
7330
|
+
"name": "settings",
|
|
7331
|
+
"declaration": {
|
|
7332
|
+
"name": "settings",
|
|
7333
|
+
"module": "e2e/mocks/sdkcore-false/vaulted-paypal.ts"
|
|
7334
|
+
}
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
"kind": "js",
|
|
7338
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7339
|
+
"declaration": {
|
|
7340
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7341
|
+
"module": "e2e/mocks/sdkcore-false/vaulted-paypal.ts"
|
|
7342
|
+
}
|
|
7343
|
+
},
|
|
7344
|
+
{
|
|
7345
|
+
"kind": "js",
|
|
7346
|
+
"name": "mockExchangeCall",
|
|
7347
|
+
"declaration": {
|
|
7348
|
+
"name": "mockExchangeCall",
|
|
7349
|
+
"module": "e2e/mocks/sdkcore-false/vaulted-paypal.ts"
|
|
7350
|
+
}
|
|
7351
|
+
},
|
|
7352
|
+
{
|
|
7353
|
+
"kind": "js",
|
|
7354
|
+
"name": "mockPaymentsCall",
|
|
7355
|
+
"declaration": {
|
|
7356
|
+
"name": "mockPaymentsCall",
|
|
7357
|
+
"module": "e2e/mocks/sdkcore-false/vaulted-paypal.ts"
|
|
7358
|
+
}
|
|
7359
|
+
}
|
|
7360
|
+
]
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"kind": "javascript-module",
|
|
7364
|
+
"path": "e2e/mocks/sdkcore-true/billing-address.ts",
|
|
7365
|
+
"declarations": [
|
|
7366
|
+
{
|
|
7367
|
+
"kind": "variable",
|
|
7368
|
+
"name": "settings",
|
|
7369
|
+
"type": {
|
|
7370
|
+
"text": "string"
|
|
7371
|
+
},
|
|
7372
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJDdXN0b21lcjEyMyIsIm9yZGVySWQiOiIxMjU3NyIsImFtb3VudCI6MTA1MCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsiZXhwcmVzc0NoZWNrb3V0IjoidHJ1ZSJ9LCJvcmRlciI6eyJzaGlwcGluZyI6eyJhbW91bnQiOjUwLCJtZXRob2RJZCI6IlJlZ3VsYXIiLCJtZXRob2ROYW1lIjoiUmVndWxhciA1MCIsIm1ldGhvZERlc2NyaXB0aW9uIjoiUmVndWxhciJ9LCJjb3VudHJ5Q29kZSI6IkZSIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjk1MCwicXVhbnRpdHkiOjF9LHsiaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ibHVlIiwiZGVzY3JpcHRpb24iOiJQcmltZXIgQmx1ZSIsImFtb3VudCI6NTAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6eyJiaWxsaW5nQWRkcmVzcyI6eyJmaXJzdE5hbWUiOiJ0ZXN0dCIsImxhc3ROYW1lIjoidGVzdCIsInBvc3RhbENvZGUiOiI1MTY2MiIsImFkZHJlc3NMaW5lMSI6ImFrc2psa2FqbCIsImFkZHJlc3NMaW5lMiI6ImpmamthaGsiLCJjb3VudHJ5Q29kZSI6IlBMIiwiY2l0eSI6Indyb2NsYXciLCJzdGF0ZSI6InRlc3QifSwic2hpcHBpbmdBZGRyZXNzIjp7fSwibmF0aW9uYWxEb2N1bWVudElkIjoiOTAxMTIxMTIzNDU2NyJ9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsInZhdWx0T25BZ3JlZW1lbnQiOmZhbHNlLCJvcmRlcmVkQWxsb3dlZENhcmROZXR3b3JrcyI6WyJWSVNBIiwiTUFTVEVSQ0FSRCIsIkFNRVgiLCJNQUVTVFJPIiwiVU5JT05QQVkiLCJDQVJURVNfQkFOQ0FJUkVTIiwiREFOS09SVCIsIkRJTkVSU19DTFVCIiwiRElTQ09WRVIiLCJFTlJPVVRFIiwiRUxPIiwiSElQRVIiLCJJTlRFUkFDIiwiSkNCIiwiTUlSIiwiT1RIRVIiXX19LCJjbGllbnRPcHRpb25zIjp7ImxvY2FsZSI6ImVuIiwiYXBpVmVyc2lvbiI6IjIuNCIsInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwidmF1bHQiOnsidmlzaWJsZSI6ZmFsc2V9LCJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiZXlKMGVYQWlPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LmV5SnpkV0lpT2lJM05XUmpOekF4TWkwM09EVmpMVFEwTTJFdE9EQmlNUzB3WlRGbU9EaG1aRFJtWVdRaUxDSnBZWFFpT2pFM05UazBPRGd4TkRJc0ltdHBaQ0k2SW5ZeElpd2lhblJwSWpvaVlXWXhZemcxWW1VdE16UmhOaTAwWWpGakxUa3pObVl0WWpnME5tVXlOV1k1TnpFeEluMC5CaElodFpBcGotdWJJckJ3bW1zR1U4dGlCdWNEMU93WFpySmcxdXRRRzZjIiwiYXBpVmVyc2lvbiI6IjIuNCIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6eyJsb2NhbGUiOiJmci1GUiIsInN0cmlwZSI6eyJwdWJsaXNoYWJsZUtleSI6InBrX3Rlc3RfNTFPOHpmUUtVSzZiWElkQzJ4UHZTUzZVdnJpRTlrd3B2dHR3QjdIOVBBemhOQVpvR3pMZ2lET3lkNFdvb296ZVdIeG9ScktvNmIyVmpaWXhOQ01YM1c3YmswMHJNRGl2amF1In0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6dHJ1ZX19'",
|
|
7373
|
+
"description": "sdkCore is set to true (encoded in the base64 settings below)\n{ \"sdkCore\": true }"
|
|
7374
|
+
},
|
|
7375
|
+
{
|
|
7376
|
+
"kind": "variable",
|
|
7377
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7378
|
+
"type": {
|
|
7379
|
+
"text": "object"
|
|
7380
|
+
},
|
|
7381
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'BILLING_ADDRESS', options: { firstName: false, lastName: false, city: true, countryCode: true, postalCode: true, addressLine1: true, addressLine2: true, state: false, }, }, ], clientSession: { clientSessionId: '0ad5b471-5b80-436b-ad03-57850585e3fd', order: { orderId: '12577', currencyCode: 'EUR', countryCode: 'FR', totalOrderAmount: 1050, merchantAmount: 1050, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 950, quantity: 1, }, { itemId: 'primer-hoodie-blue', description: 'Primer Blue', amount: 50, quantity: 1, }, ], shipping: { amount: 50, methodId: 'Regular', methodName: 'Regular 50', methodDescription: 'Regular', }, }, customer: { customerId: 'Customer123', billingAddress: { firstName: 'testt', lastName: 'test', postalCode: '51662', addressLine1: 'aksjlkajl', addressLine2: 'jfjkahk', countryCode: 'PL', city: 'wroclaw', state: 'test', }, shippingAddress: {}, nationalDocumentId: '9011211234567', }, paymentMethod: { vaultOnSuccess: false, orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '75dc7012-785c-443a-80b1-0e1f88fd4fad', env: 'SANDBOX', paymentMethods: [ { id: '42e32c6e-7faa-4f5a-97d0-9c4f7b848ae1', type: 'APPLE_PAY', options: { merchantId: '75dc7012785c443a80b10e1f88fd4fad', merchantName: 'Primer', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
7382
|
+
},
|
|
7383
|
+
{
|
|
7384
|
+
"kind": "variable",
|
|
7385
|
+
"name": "CARD_NUMBER",
|
|
7386
|
+
"type": {
|
|
7387
|
+
"text": "string"
|
|
7388
|
+
},
|
|
7389
|
+
"default": "'4242 4242 4242 4242'"
|
|
7390
|
+
},
|
|
7391
|
+
{
|
|
7392
|
+
"kind": "function",
|
|
7393
|
+
"name": "mockBinData",
|
|
7394
|
+
"parameters": [
|
|
7395
|
+
{
|
|
7396
|
+
"name": "page",
|
|
7397
|
+
"type": {
|
|
7398
|
+
"text": "Page"
|
|
7399
|
+
}
|
|
7400
|
+
}
|
|
7401
|
+
]
|
|
7402
|
+
},
|
|
7403
|
+
{
|
|
7404
|
+
"kind": "function",
|
|
7405
|
+
"name": "mockPaymentInstruments",
|
|
7406
|
+
"parameters": [
|
|
7407
|
+
{
|
|
7408
|
+
"name": "page",
|
|
7409
|
+
"type": {
|
|
7410
|
+
"text": "Page"
|
|
7411
|
+
}
|
|
7412
|
+
}
|
|
7413
|
+
]
|
|
7414
|
+
},
|
|
7415
|
+
{
|
|
7416
|
+
"kind": "function",
|
|
7417
|
+
"name": "mockPayments",
|
|
7418
|
+
"parameters": [
|
|
7419
|
+
{
|
|
7420
|
+
"name": "page",
|
|
7421
|
+
"type": {
|
|
7422
|
+
"text": "Page"
|
|
7423
|
+
}
|
|
7424
|
+
}
|
|
7425
|
+
]
|
|
7426
|
+
}
|
|
7427
|
+
],
|
|
7428
|
+
"exports": [
|
|
7429
|
+
{
|
|
7430
|
+
"kind": "js",
|
|
7431
|
+
"name": "settings",
|
|
7432
|
+
"declaration": {
|
|
7433
|
+
"name": "settings",
|
|
7434
|
+
"module": "e2e/mocks/sdkcore-true/billing-address.ts"
|
|
7435
|
+
}
|
|
7436
|
+
},
|
|
7437
|
+
{
|
|
7438
|
+
"kind": "js",
|
|
7439
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7440
|
+
"declaration": {
|
|
7441
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
7442
|
+
"module": "e2e/mocks/sdkcore-true/billing-address.ts"
|
|
7443
|
+
}
|
|
7444
|
+
},
|
|
7445
|
+
{
|
|
7446
|
+
"kind": "js",
|
|
7447
|
+
"name": "CARD_NUMBER",
|
|
7448
|
+
"declaration": {
|
|
7449
|
+
"name": "CARD_NUMBER",
|
|
7450
|
+
"module": "e2e/mocks/sdkcore-true/billing-address.ts"
|
|
7451
|
+
}
|
|
7452
|
+
},
|
|
7453
|
+
{
|
|
7454
|
+
"kind": "js",
|
|
7455
|
+
"name": "mockBinData",
|
|
7456
|
+
"declaration": {
|
|
7457
|
+
"name": "mockBinData",
|
|
7458
|
+
"module": "e2e/mocks/sdkcore-true/billing-address.ts"
|
|
7459
|
+
}
|
|
7460
|
+
},
|
|
7461
|
+
{
|
|
7462
|
+
"kind": "js",
|
|
7463
|
+
"name": "mockPaymentInstruments",
|
|
7464
|
+
"declaration": {
|
|
7465
|
+
"name": "mockPaymentInstruments",
|
|
7466
|
+
"module": "e2e/mocks/sdkcore-true/billing-address.ts"
|
|
7467
|
+
}
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"kind": "js",
|
|
7471
|
+
"name": "mockPayments",
|
|
7472
|
+
"declaration": {
|
|
7473
|
+
"name": "mockPayments",
|
|
7474
|
+
"module": "e2e/mocks/sdkcore-true/billing-address.ts"
|
|
7475
|
+
}
|
|
7476
|
+
}
|
|
7477
|
+
]
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
"kind": "javascript-module",
|
|
7481
|
+
"path": "e2e/tests/sdkcore-false-tests/card-3ds.spec.ts",
|
|
7482
|
+
"declarations": [],
|
|
7483
|
+
"exports": []
|
|
7484
|
+
},
|
|
7485
|
+
{
|
|
7486
|
+
"kind": "javascript-module",
|
|
7487
|
+
"path": "e2e/tests/sdkcore-false-tests/card-basic.spec.ts",
|
|
7488
|
+
"declarations": [],
|
|
7489
|
+
"exports": []
|
|
7490
|
+
},
|
|
7491
|
+
{
|
|
7492
|
+
"kind": "javascript-module",
|
|
7493
|
+
"path": "e2e/tests/sdkcore-false-tests/disabled-payments.spec.ts",
|
|
7494
|
+
"declarations": [
|
|
7495
|
+
{
|
|
7496
|
+
"kind": "variable",
|
|
7497
|
+
"name": "settingsEnabled",
|
|
7498
|
+
"type": {
|
|
7499
|
+
"text": "string"
|
|
7500
|
+
},
|
|
7501
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2UsInNka0NvcmUiOmZhbHNlfX0='"
|
|
7502
|
+
}
|
|
7503
|
+
],
|
|
7504
|
+
"exports": [
|
|
7505
|
+
{
|
|
7506
|
+
"kind": "js",
|
|
7507
|
+
"name": "settingsEnabled",
|
|
7508
|
+
"declaration": {
|
|
7509
|
+
"name": "settingsEnabled",
|
|
7510
|
+
"module": "e2e/tests/sdkcore-false-tests/disabled-payments.spec.ts"
|
|
7511
|
+
}
|
|
7512
|
+
}
|
|
7513
|
+
]
|
|
7514
|
+
},
|
|
7515
|
+
{
|
|
7516
|
+
"kind": "javascript-module",
|
|
7517
|
+
"path": "e2e/tests/sdkcore-false-tests/klarna.spec.ts",
|
|
7518
|
+
"declarations": [],
|
|
7519
|
+
"exports": []
|
|
7520
|
+
},
|
|
7521
|
+
{
|
|
7522
|
+
"kind": "javascript-module",
|
|
7523
|
+
"path": "e2e/tests/sdkcore-false-tests/vaulted-paypal.spec.ts",
|
|
7524
|
+
"declarations": [],
|
|
7525
|
+
"exports": []
|
|
7526
|
+
},
|
|
7527
|
+
{
|
|
7528
|
+
"kind": "javascript-module",
|
|
7529
|
+
"path": "e2e/tests/sdkcore-true-tests/card-form-billing-address.spec.ts",
|
|
7530
|
+
"declarations": [],
|
|
7531
|
+
"exports": []
|
|
7532
|
+
},
|
|
7266
7533
|
{
|
|
7267
7534
|
"kind": "javascript-module",
|
|
7268
7535
|
"path": "src/__tests__/mocks/sdk-core.ts",
|
|
@@ -17975,7 +18242,7 @@
|
|
|
17975
18242
|
"declarations": [
|
|
17976
18243
|
{
|
|
17977
18244
|
"kind": "class",
|
|
17978
|
-
"description": "PayPal component with standard button container rendering.\n\nPayPal uses the standard button container approach:\n- Renders to a button container div (not shadow root)\n- Passes buttonHeight in render options
|
|
18245
|
+
"description": "PayPal component with standard button container rendering.\n\nPayPal uses the standard button container approach:\n- Renders to a button container div (not shadow root)\n- Passes buttonHeight in render options (sdk-core constrains to 25-55px)\n- Uses updateOverlayForContainer for disabled state\n- Height is calculated from CSS (PAYMENT_METHOD_LINE_HEIGHT + padding)",
|
|
17979
18246
|
"name": "PayPalComponent",
|
|
17980
18247
|
"members": [
|
|
17981
18248
|
{
|
|
@@ -18022,7 +18289,7 @@
|
|
|
18022
18289
|
"kind": "field",
|
|
18023
18290
|
"name": "renderButtonTask",
|
|
18024
18291
|
"privacy": "private",
|
|
18025
|
-
"default": "new Task(this, { args: () => [this.loadManagerTask.value], task: async ([manager]) => { if (!manager) { return initialState; } // Ensure the component's DOM is updated await this.updateComplete; const buttonContainer = this.buttonContainerRef.value; if (!buttonContainer) { throw new Error('Button container not found'); } const button = manager.createButton(); // Calculate button height from the host element (where :host styles are applied) // The buttonContainer itself has no height, but the host element has min-height from CSS
|
|
18292
|
+
"default": "new Task(this, { args: () => [this.loadManagerTask.value], task: async ([manager]) => { if (!manager) { return initialState; } // Ensure the component's DOM is updated await this.updateComplete; const buttonContainer = this.buttonContainerRef.value; if (!buttonContainer) { throw new Error('Button container not found'); } const button = manager.createButton(); // Calculate button height from the host element (where :host styles are applied) // The buttonContainer itself has no height, but the host element has min-height from CSS // sdk-core will constrain the height to PayPal SDK limits (25-55px) const buttonHeight = calculateButtonHeight( this as unknown as HTMLElement, ); // Render to button container with height as string (sdk-core handles PayPal SDK constraints) await button.render(buttonContainer as Element, { style: { buttonHeight: String(buttonHeight), }, }); // Apply current disabled state to newly created button if (this.disabled) { await button.setDisabled(this.disabled); } // Apply disabled overlay if needed if (this.disabled) { await this.updateComplete; updateOverlayForContainer(this.disabled, this.buttonContainerRef); } return button; }, })"
|
|
18026
18293
|
}
|
|
18027
18294
|
],
|
|
18028
18295
|
"attributes": [
|