@primer-io/primer-js 0.3.10 → 0.3.11
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 +7 -0
- package/dist/custom-elements.json +903 -903
- package/dist/jsx/index.d.ts +14 -14
- package/dist/primer-loader.d.ts +1 -0
- package/dist/primer-loader.js +11 -11
- package/dist/vscode.html-custom-data.json +6 -6
- package/dist/web-types.json +18 -18
- package/package.json +1 -1
|
@@ -2,34 +2,6 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "e2e/utils.ts",
|
|
8
|
-
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "variable",
|
|
11
|
-
"name": "test"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"exports": [
|
|
15
|
-
{
|
|
16
|
-
"kind": "js",
|
|
17
|
-
"name": "expect",
|
|
18
|
-
"declaration": {
|
|
19
|
-
"name": "expect",
|
|
20
|
-
"package": "@chromatic-com/playwright"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"kind": "js",
|
|
25
|
-
"name": "test",
|
|
26
|
-
"declaration": {
|
|
27
|
-
"name": "test",
|
|
28
|
-
"module": "e2e/utils.ts"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
5
|
{
|
|
34
6
|
"kind": "javascript-module",
|
|
35
7
|
"path": "dist/primer-loader.js",
|
|
@@ -44,7 +16,7 @@
|
|
|
44
16
|
},
|
|
45
17
|
{
|
|
46
18
|
"kind": "variable",
|
|
47
|
-
"name": "
|
|
19
|
+
"name": "Rr",
|
|
48
20
|
"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}}"
|
|
49
21
|
},
|
|
50
22
|
{
|
|
@@ -83,173 +55,173 @@
|
|
|
83
55
|
{
|
|
84
56
|
"kind": "variable",
|
|
85
57
|
"name": "ie",
|
|
86
|
-
"default": "class extends
|
|
58
|
+
"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 r=()=>{this.open=!1,this.removeEventListener(\"primer-dialog-close\",r)};this.addEventListener(\"primer-dialog-close\",r)}else this.open=!1}renderContent(){return u`<div class=\"content-container\"><slot></slot>${this.renderSecureHtmlContent()}</div>`}renderSecureHtmlContent(){return this.secureHtmlContent?oo(this.secureHtmlContent)?u`${ea(this.secureHtmlContent.content)}`:(E.warn(\"PortalDialogComponent: Invalid access token provided for htmlContent. Content will not be rendered.\"),h):h}renderDialog(){return this.open?u`<primer-portal><primer-dialog .open=${this.open} size=${this.size} .showCloseButton=${!1} @primer-dialog-close=\"${()=>this.closeDialog()}\" >${this.renderContent()}</primer-dialog></primer-portal>`:h}connectedCallback(){super.connectedCallback(),this.open||this.openDialog()}updated(e){if(super.updated(e),e.has(\"secureHtmlContent\")){let r=this.secureHtmlContent;r&&!oo(r)&&(E.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 u`${this.renderDialog()}`}}"
|
|
87
59
|
},
|
|
88
60
|
{
|
|
89
61
|
"kind": "variable",
|
|
90
62
|
"name": "ue",
|
|
91
|
-
"default": "class extends
|
|
63
|
+
"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 o=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=o.length>0,this.requestUpdate()};this.sdkContextController=new hr(this),this.sdkStateController=new mr(this),this.primerEventsController=new Pt(this),this.styleProcessingController=new fr(this),this.vaultManagerController=new Ut(this),this.cardNetworkController=new sr(this),this.achPaymentEventsController=new ei(this),new Qr(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}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})}attributeChangedCallback(e,r,o){e===bd.CUSTOM_STYLES?this.styleProcessingController.processCustomStyles(o):super.attributeChangedCallback(e,r,o)}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&&(Ti(this.options?.locale)?this.locale=wi(this.options?.locale):E.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to default locale `en-GB`\")),Pi(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)}checkLoadingStateChange(){let e=this.sdkStateController?.currentState.isLoading||!1;this.previousLoadingState&&!e&&(this.jsInitialized=!0,G({eventName:\"CHECKOUT_FLOW_STARTED\"})),this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.currentState.isLoading&&(E.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,r=e.isLoading,o=e.error,n=!r&&!o;return u` ${$(r,()=>h)} ${$(o,()=>u`<primer-checkout-error></primer-checkout-error>`)} ${$(n,()=>u`<slot name=\"main\" @slotchange=${this.onSlotChange}></slot>${$(this.hasAssignedContent,()=>h,()=>u`<primer-main></primer-main>`)} `,()=>h)} `}addEventListener(e,r,o){super.addEventListener(e,r,o)}removeEventListener(e,r,o){super.removeEventListener(e,r,o)}}"
|
|
92
64
|
},
|
|
93
65
|
{
|
|
94
66
|
"kind": "function",
|
|
95
|
-
"name": "
|
|
67
|
+
"name": "la"
|
|
96
68
|
},
|
|
97
69
|
{
|
|
98
70
|
"kind": "function",
|
|
99
|
-
"name": "
|
|
71
|
+
"name": "da"
|
|
100
72
|
},
|
|
101
73
|
{
|
|
102
74
|
"kind": "function",
|
|
103
|
-
"name": "
|
|
75
|
+
"name": "Sd"
|
|
104
76
|
},
|
|
105
77
|
{
|
|
106
78
|
"kind": "function",
|
|
107
|
-
"name": "
|
|
79
|
+
"name": "_d"
|
|
108
80
|
},
|
|
109
81
|
{
|
|
110
82
|
"kind": "variable",
|
|
111
83
|
"name": "ke",
|
|
112
|
-
"default": "class extends
|
|
84
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in so)return so[this.size];let e=parseInt(this.size,10);return isNaN(e)?so.medium:e}render(){let e=this.getSize(),r=20,o=`0 0 ${r} ${r}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),u`<div class=\"spinner-container ${this.compact?\"compact\":\"\"}\"><svg class=\"spinner\" width=\"${e}\" height=\"${e}\" viewBox=\"${o}\" 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>`}}"
|
|
113
85
|
},
|
|
114
86
|
{
|
|
115
87
|
"kind": "variable",
|
|
116
88
|
"name": "Ne",
|
|
117
|
-
"default": "class extends
|
|
89
|
+
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let r=this.findSlottedPrimerInput();r?r.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),r=e.find(o=>o.tagName.toLowerCase()===\"primer-input\");if(r)return r;for(let o of e){let n=o.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return u`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${Z(e)}\" @click=\"${this.handleWrapperClick}\"><slot name=\"input\"></slot></div><slot name=\"error\"></slot></div>`}}"
|
|
118
90
|
},
|
|
119
91
|
{
|
|
120
92
|
"kind": "variable",
|
|
121
93
|
"name": "He",
|
|
122
|
-
"default": "class extends
|
|
94
|
+
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.disabled=!1}render(){return u`<label for=${this.for}><slot></slot></label>`}}"
|
|
123
95
|
},
|
|
124
96
|
{
|
|
125
97
|
"kind": "variable",
|
|
126
98
|
"name": "de",
|
|
127
|
-
"default": "class extends
|
|
99
|
+
"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?h:u`<primer-icon name=\"checkmark\" size=\"sm\" color=\"var(--primer-color-brand)\" ></primer-icon>`}renderSpinner(){if(!this.loading)return h;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)\"),u`<primer-spinner size=\"small\" color=\"${e}\" compact ></primer-spinner>`}render(){return u`<button type=${this.buttonType} ?disabled=${this.disabled||this.loading} @click=${this.handleClick} part=\"button\" aria-checked=${this.selectionState===\"checked\"} aria-busy=${this.loading} >${this.renderSpinner()} ${this.flex?u`<span class=\"button-content ${this.loading?\"loading\":\"\"}\"><slot></slot></span>`:u`<span class=\"button-content-base ${this.loading?\"loading\":\"\"}\" ><slot></slot></span>`} ${this.renderCheckmark()}</button>`}}"
|
|
128
100
|
},
|
|
129
101
|
{
|
|
130
102
|
"kind": "variable",
|
|
131
103
|
"name": "Be",
|
|
132
|
-
"default": "class extends
|
|
104
|
+
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.active=!0}render(){return u`<span class=\"error\" role=\"alert\" aria-live=\"polite\" id=\"${this.for||\"\"}\" ><slot></slot></span>`}}"
|
|
133
105
|
},
|
|
134
106
|
{
|
|
135
107
|
"kind": "variable",
|
|
136
108
|
"name": "Le",
|
|
137
|
-
"default": "class extends
|
|
109
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?fa[this.name]:null;return u`<div style=\"--internal-icon-color: ${this.color}\">${e||u`<slot></slot>`}</div>`}}"
|
|
138
110
|
},
|
|
139
111
|
{
|
|
140
112
|
"kind": "variable",
|
|
141
113
|
"name": "Fe",
|
|
142
|
-
"default": "class extends
|
|
114
|
+
"default": "class extends v{constructor(){super(...arguments);this.type=\"complete\"}render(){return this.type===\"complete\"?u`<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>`:u`<primer-icon size=\"lg\" name=\"failure-icon\" color=\"var(--primer-color-icon-negative)\" ></primer-icon><p>Payment failed</p>${this.description?u`<p class=\"secondary\">${this.description}</p>`:u`<p class=\"secondary\">Something went wrong.</p>`} `}}"
|
|
143
115
|
},
|
|
144
116
|
{
|
|
145
117
|
"kind": "variable",
|
|
146
|
-
"name": "
|
|
147
|
-
"default": "class extends
|
|
118
|
+
"name": "Y",
|
|
119
|
+
"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 r=e.target;this.value=r.value;let o=new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0});this.dispatchEvent(o)};this.handleChange=e=>{e.stopPropagation();let r=e.target;this.value=r.value;let o=new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0});this.dispatchEvent(o)};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,r,o){this.inputElement?.setSelectionRange(e,r,o)}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},r=Object.entries(e).filter(([,o])=>o).map(([o])=>o).join(\" \");return u`<input part=\"input\" class=${r} .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,r,o){super.addEventListener(e,r,o)}removeEventListener(e,r,o){super.removeEventListener(e,r,o)}}"
|
|
148
120
|
},
|
|
149
121
|
{
|
|
150
122
|
"kind": "variable",
|
|
151
123
|
"name": "ce",
|
|
152
|
-
"default": "class extends
|
|
124
|
+
"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,r=this.ariaLabel||this.header||e,o=this.header||e;return u`<div class=\"collapsable\"><primer-button variant=${this.buttonVariant} buttonType=\"button\" @click=${this.toggleExpanded} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${r} ><span>${o}</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>`}}"
|
|
153
125
|
},
|
|
154
126
|
{
|
|
155
127
|
"kind": "variable",
|
|
156
|
-
"name": "
|
|
157
|
-
"default": "class extends
|
|
128
|
+
"name": "Oe",
|
|
129
|
+
"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 h;let e={\"error-message\":!0,hidden:!this.visible};return u`<div part=\"error-message\" class=${Z(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>`}}"
|
|
158
130
|
},
|
|
159
131
|
{
|
|
160
132
|
"kind": "variable",
|
|
161
133
|
"name": "lt",
|
|
162
|
-
"default": "class extends
|
|
134
|
+
"default": "class extends v{constructor(){super(...arguments);this._id=`d${Math.random().toString(36).substring(7)}`;this._handleSlotChange=e=>{let o=e.target.assignedNodes();if(!o.length)return;let n=this.getContainer();o.forEach(a=>n.appendChild(a))}}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(r=>{e.addEventListener(r,o=>{o.stopPropagation(),this.dispatchEvent(new CustomEvent(r,{bubbles:!0,composed:!0,detail:o.detail}))})})}disconnectedCallback(){super.disconnectedCallback(),this.getContainer().remove()}render(){return u`<slot @slotchange=${this._handleSlotChange}></slot>`}}"
|
|
163
135
|
},
|
|
164
136
|
{
|
|
165
137
|
"kind": "variable",
|
|
166
138
|
"name": "xe",
|
|
167
|
-
"default": "class extends
|
|
139
|
+
"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?u`<div class=${Z({backdrop:!0,\"backdrop--entering\":this._animationState===\"entering\",\"backdrop--entered\":this._animationState===\"entered\",\"backdrop--exiting\":this._animationState===\"exiting\"})} @click=${e=>{e.preventDefault()}} ><div class=${Z({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?u`<primer-button variant=\"tertiary\" @click=${this._handleCloseClick} ><primer-icon name=\"close\"></primer-icon></primer-button>`:\"\"}</div><div class=\"content\"><slot></slot></div></div></div>`:u``}}"
|
|
168
140
|
},
|
|
169
141
|
{
|
|
170
142
|
"kind": "variable",
|
|
171
143
|
"name": "X",
|
|
172
|
-
"default": "class extends
|
|
144
|
+
"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=P(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new V(this,{task:async([e,r])=>{if(!e||!r)return D;let o=await r.getCDNAssets(\"KLARNA\");return{manager:e.manager,klarnaIcon:o?.assets?.icon?`${o.goatCdnUrl}/${o.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){E.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){E.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?u`<div class=\"loading\"><primer-spinner size=\"small\"></primer-spinner></div>`:u`<div class=\"category-selection\">${e.map(o=>u`<button class=${Z({\"category-button\":!0,selected:o.id===this.selectedCategory})} @click=${()=>{this.selectCategory(o.id)}} ?disabled=${this.disabled} >${o.name}</button>`)}</div>`}renderExpandedContent(){return u` ${this.renderCategorySelection()} ${this.selectedCategory?u`<div id=\"klarna-category-container\" class=\"klarna-category-container\" ></div>`:h}<button class=${Z({\"klarna-pay-button\":!0,loading:!!this.sdkState?.isProcessing,disabled:!this.selectedCategory||this.disabled})} ?disabled=${!this.selectedCategory||this.sdkState?.isProcessing||this.disabled} @click=${()=>this.startKlarnaPayment()} >${P(\"confirm\",{id:\"confirm\"})}</button>`}render(){return this._paymentMethodManagerTask.render({error:e=>{let r=e instanceof Error?e.message:\"Unknown error in Klarna\";return u`<div class=\"error\"> Error loading Klarna: ${r}</div>`},complete:({manager:e,klarnaIcon:r})=>e?u`<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=${r} alt=\"Klarna logo\" /><span>${P(\"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>`:h})}}"
|
|
173
145
|
},
|
|
174
146
|
{
|
|
175
147
|
"kind": "variable",
|
|
176
148
|
"name": "Se",
|
|
177
|
-
"default": "class extends
|
|
149
|
+
"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&&G({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:this.type})}render(){if(!this.type)return h;let e=this.paymentMethods?.get(this.type);if(!e)return h;let r;switch(e?.managerType){case\"CARD\":r=u`<primer-card-form ?disabled=${this.disabled} ></primer-card-form>`;break;case\"NATIVE\":r=u`<primer-native-payment .paymentMethod=${e} ?disabled=${this.disabled} ></primer-native-payment>`;break;case\"REDIRECT\":r=u`<primer-redirect-payment .paymentMethod=${e} ?disabled=${this.disabled} ></primer-redirect-payment>`;break;case\"KLARNA\":r=u`<primer-klarna ?disabled=${this.disabled} ></primer-klarna>`;break;case\"ACH\":r=u`<primer-dynamic-payment .paymentMethod=${e} ></primer-dynamic-payment>`;break;default:return h}return u`<div @click=${this.handleClick}>${r}</div>`}}"
|
|
178
150
|
},
|
|
179
151
|
{
|
|
180
152
|
"kind": "variable",
|
|
181
153
|
"name": "ve",
|
|
182
|
-
"default": "class extends
|
|
154
|
+
"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 r=this.include.split(\",\").map(o=>o.trim());e=e.filter(o=>r.includes(o.type))}if(this.exclude){let r=this.exclude.split(\",\").map(o=>o.trim());e=e.filter(o=>!r.includes(o.type))}return e}render(){let e=this.getFilteredMethods();return e.length===0?h:u`<div class=\"payment-methods-container\">${e.map(r=>u`<primer-payment-method type=\"${r.type}\" ?disabled=\"${this.disabled||this.clientOptions?.disabledPayments===!0}\" ></primer-payment-method>`)}</div>`}}"
|
|
183
155
|
},
|
|
184
156
|
{
|
|
185
157
|
"kind": "variable",
|
|
186
158
|
"name": "he",
|
|
187
|
-
"default": "class extends
|
|
159
|
+
"default": "class extends v{constructor(){super(...arguments);this.formController=new ti(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 V(this,{task:([e])=>e!==\"STRIPE_ACH\"?D:this.paymentManagers.get(e)?.manager,args:()=>[this.paymentMethod?.type]})}_handleInput(e,r){let o=e.target;this.formController.setFieldValue(r,o.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 r=await e.start(this.formController.formData);if(!r||r.valid)return await this._handleCollectBankAccountDetails(e);r&&this.formController.setValidation(r,!0)}catch(r){this._handleError(r)}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(r){this._handleError(r)}}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 u`<h2>${P(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${P(\"stripe_ach_user_details_collection_subtitle_label\",{id:\"stripe_ach_user_details_collection_subtitle_label\"})}</p><form @submit=${r=>r.preventDefault()}><div class=\"form-row\"><primer-input-wrapper .hasError=${this.formController.hasError.firstName} ><primer-input-label slot=\"label\">${P(\"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=${r=>this._handleInput(r,\"firstName\")} @blur=${()=>this._handleBlur(\"firstName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.firstName?this.formController.formState.firstName.error:h}</primer-input-error></primer-input-wrapper><primer-input-wrapper .hasError=${this.formController.hasError.lastName} ><primer-input-label slot=\"label\">${P(\"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=${r=>this._handleInput(r,\"lastName\")} @blur=${()=>this._handleBlur(\"lastName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.lastName?this.formController.formState.lastName.error:h}</primer-input-error></primer-input-wrapper></div><primer-input-wrapper .hasError=${this.formController.hasError.emailAddress} ><primer-input-label slot=\"label\">${P(\"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=${r=>this._handleInput(r,\"emailAddress\")} @blur=${()=>this._handleBlur(\"emailAddress\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.emailAddress?this.formController.formState.emailAddress.error:h}</primer-input-error></primer-input-wrapper><p>${P(\"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} >${P(\"stripe_ach_user_details_collection_continue_button\",{id:\"stripe_ach_user_details_collection_continue_button\"})}</primer-button></form>`}renderMandate(){return u`<h2>${P(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${this.clientOptions?.stripe?.mandateData.fullMandateText??P(\"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} >${P(\"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} >${P(\"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():h})}}"
|
|
188
160
|
},
|
|
189
161
|
{
|
|
190
162
|
"kind": "variable",
|
|
191
163
|
"name": "be",
|
|
192
|
-
"default": "class extends
|
|
164
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new V(this,{task:([e,r])=>!e||!r?D:r.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new V(this,{task:([e,r])=>{if(!e||!r)return D;let o=r.getPaymentMethodConfiguration(e);return o?{backgroundColor:o.displayMetadata.button.backgroundColor.colored,name:o.name,displayName:this._legacyGetButtonLabel(o.displayMetadata.button.text),iconUrl:o.displayMetadata.button.iconUrl.colored||o.displayMetadata.button.iconUrl.light||o.displayMetadata.button.iconUrl.dark}:D},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new V(this,{task:([e,r])=>!e||!r?D:{paymentMethodManager:e,assetsConfig:r},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let r=e?nr(e):\"\";return r===\"payWith\"&&(r=\"pay_with\"),P(r,{id:r})}start(){this._paymentMethodManagerTask.value&&(this.open=!0)}renderDialog(){return this.open?u`<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>`:h}render(){return this._setupTasks.render({error:()=>h,complete:({assetsConfig:e})=>(this.style.setProperty(\"--dynamic-payment-button-bg-color\",e.backgroundColor),u`<primer-button @click=\"${()=>this.start()}\" class=${Z({loading:!!this.sdkState?.isProcessing,reverse:!0})} title=\"${P(\"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()} `)})}}"
|
|
193
165
|
},
|
|
194
166
|
{
|
|
195
167
|
"kind": "variable",
|
|
196
168
|
"name": "Ce",
|
|
197
|
-
"default": "class extends
|
|
169
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new V(this,{task:([e,r])=>!e||!r?D:r.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new V(this,{task:([e,r])=>{if(!e||!r)return D;let o=r.getPaymentMethodConfiguration(e);if(!o)return D;let n=o.displayMetadata.button.backgroundColor.colored??o.displayMetadata.button.backgroundColor.light,a=o.displayMetadata.button.iconPositionRelativeToText||\"START\";return{backgroundColor:n,name:o.name,displayName:this._legacyGetButtonLabel(o.displayMetadata.button.text),iconUrl:o.displayMetadata.button.iconUrl.colored??o.displayMetadata.button.iconUrl.light,iconPosition:a}},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new V(this,{task:([e,r])=>!e||!r?D:{paymentMethodManager:e,assetsConfig:r},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let r=e?nr(e):\"\";return r===\"payWith\"&&(r=\"pay_with\"),P(r,{id:r})}startRedirectPayment(){this.disabled||this._paymentMethodManagerTask.value&&this._paymentMethodManagerTask.value.start()}render(){return this._setupTasks.render({error:()=>h,complete:({assetsConfig:e})=>{this.style.setProperty(\"--redirect-payment-button-bg-color\",e.backgroundColor);let r={loading:!!this.sdkState?.isProcessing,\"icon-end\":e.iconPosition===\"END\",\"image-only\":!e.displayName},o=e.displayName?u`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span><span class=\"button-text\">${e.displayName}</span>`:u`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>`;return u`<primer-button @click=\"${()=>this.startRedirectPayment()}\" class=${Z(r)} title=\"${P(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ?disabled=${this.disabled} >${o}</primer-button>`}})}}"
|
|
198
170
|
},
|
|
199
171
|
{
|
|
200
172
|
"kind": "variable",
|
|
201
173
|
"name": "Q",
|
|
202
|
-
"default": "class extends
|
|
174
|
+
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this.deleteAssetConfig=null;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 r=this.vaultManagerContext.vaultedPaymentMethods.find(o=>o.id===this.deletePaymentMethodId);r&&(this.deleteAssetConfig=await ri(r,this.headlessUtils,this.vaultManagerContext))}};this.handleCancelDelete=()=>{this.deletePaymentMethodId=null,this.deleteAssetConfig=null};this.handleConfirmDelete=async()=>{if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=P(\"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:P(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}};this.handlePaymentError=e=>{let r=e.detail?.error;this.errorMessage=r instanceof Error?r.message:P(\"payment_processing_error\",{id:\"payment_processing_error\"})};this.handleCloseError=()=>{this.errorMessage=\"\"};new Lt(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\"}}}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let r=this.vaultManagerContext.vaultedPaymentMethods.find(o=>o.id===e);if(!r)return\"\";try{return lo(r).description||\"\"}catch{return\"\"}}renderLoadingOverlay(){return u`<div class=\"loading-overlay\" ${ct({...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 h;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return u`<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} ${ct({...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?h:u`<primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ${ct({...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||[],r=!this.isEditMode&&e.length>0&&!this.deletePaymentMethodId;return u`<div class=\"payment-methods-list\">${e.map(o=>this.renderPaymentMethodItem(o))} ${$(r,()=>u`<div class=\"submit-button-container\"><primer-vault-payment-submit class=\"submit-button\" @primer-vault-payment-error=${this.handlePaymentError} ${ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-payment-submit></div>`,()=>h)}</div>`}render(){if(!this.vaultManagerContext?.enabled)return h;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,r=this.vaultManagerContext.isLoading,o=this.vaultManagerContext.isUpdating;return u` ${$(!this.vaultManagerContext?.showEmptyState&&!e,()=>h,()=>u`<slot name=\"vault-empty-state\"><div class=\"vault-manager ${o?\"is-updating\":\"\"}\"><primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header>${$(this.errorMessage,()=>u`<primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ${ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-error-message>`,()=>h)}<div class=\"vault-manager-content\">${$(!r&&!e,()=>u`<div class=\"content-container\"><primer-vault-empty-state ${ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-empty-state></div>`,()=>h)} ${$(!r&&e,()=>u`<div class=\"content-container\">${$(this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>this.renderPaymentMethodList())}</div>`,()=>h)}</div>${$(o,()=>this.renderLoadingOverlay(),()=>h)}</div></slot>`)} `}}"
|
|
203
175
|
},
|
|
204
176
|
{
|
|
205
177
|
"kind": "variable",
|
|
206
178
|
"name": "pe",
|
|
207
|
-
"default": "class extends
|
|
179
|
+
"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 V(this,{task:async([e,r,o])=>await ri(e,r,o),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:()=>h,complete:e=>{let r=this.isSelected()?\"checked\":\"default\",o=!1,n=e?.description;return u`<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=${r} .flex=${o} @click=${this.handleClick} ><primer-payment-method-content .assetConfig=${e} ></primer-payment-method-content>${$(e.shouldShowCVV&&this.isSelected()&&!this.isEditMode,()=>u`<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>`,()=>h)}</primer-button>${this.isEditMode?u`<primer-button variant=\"tertiary\" class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${P(\"delete\",{id:\"delete\"})} ${n}`} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:h}</div></div>`}})}}"
|
|
208
180
|
},
|
|
209
181
|
{
|
|
210
182
|
"kind": "variable",
|
|
211
183
|
"name": "_e",
|
|
212
|
-
"default": "class extends
|
|
184
|
+
"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 u`<div class=\"vault-manager-header\"><h3>${P(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3>${this.hasPaymentMethods?u`<primer-button variant=\"tertiary\" class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?P(\"confirm\",{id:\"confirm\"}):P(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} >${this.isEditMode?u`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:u`<primer-icon name=\"edit\" size=\"sm\"></primer-icon>`}</primer-button>`:h}</div>`}}"
|
|
213
185
|
},
|
|
214
186
|
{
|
|
215
187
|
"kind": "variable",
|
|
216
188
|
"name": "fe",
|
|
217
|
-
"default": "class extends
|
|
189
|
+
"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 u`<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} >${P(\"cancel\",{id:\"cancel\"})}</primer-button><primer-button @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} >${this.isDeleting?P(\"deleting\",{id:\"deleting\"}):P(\"confirmVaultedPaymentMethodDeletion\",{id:\"confirmVaultedPaymentMethodDeletion\"})}</primer-button></div></div>`}}"
|
|
218
190
|
},
|
|
219
191
|
{
|
|
220
192
|
"kind": "variable",
|
|
221
193
|
"name": "ze",
|
|
222
|
-
"default": "class extends
|
|
194
|
+
"default": "class extends v{render(){return u`<div class=\"empty-state\"><p>${P(\"savedPaymentMethodsEmpty\",{id:\"savedPaymentMethodsEmpty\"})}</p></div>`}}"
|
|
223
195
|
},
|
|
224
196
|
{
|
|
225
197
|
"kind": "variable",
|
|
226
|
-
"name": "
|
|
227
|
-
"default": "class extends
|
|
198
|
+
"name": "Re",
|
|
199
|
+
"default": "class extends v{constructor(){super(...arguments);this.errorMessage=\"\";this.handleDismiss=()=>{this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}}render(){return u`<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=${P(\"closeErrorMessage\",{id:\"closeErrorMessage\"})} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></button></div>`}}"
|
|
228
200
|
},
|
|
229
201
|
{
|
|
230
202
|
"kind": "variable",
|
|
231
|
-
"name": "
|
|
232
|
-
"default": "class extends
|
|
203
|
+
"name": "J",
|
|
204
|
+
"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(r){let o=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:r}});this.dispatchEvent(o)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:P(\"pay\",{id:\"pay\"})}set buttonText(e){let r=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",r)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,r=e?` ${e}`:h;return u`<primer-button buttonType=\"submit\" variant=${this.variant} @click=${this.handleClick} .disabled=${this.isButtonDisabled} .loading=${this.sdkState?.isProcessing} data-submit >${this.buttonText}${r}</primer-button>`}}"
|
|
233
205
|
},
|
|
234
206
|
{
|
|
235
207
|
"kind": "variable",
|
|
236
208
|
"name": "j",
|
|
237
|
-
"default": "class extends
|
|
209
|
+
"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 V(this,{task:([e,r])=>!e||!r||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||r.createCvvInput===null?D:{network:e.paymentInstrumentData.network,createCvvInput:r.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new V(this,{task:async([e])=>{if(!e)return D;await this.updateComplete;let r=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!r)return;let o=li(this.computedStyles),n=o?{input:{base:o}}:void 0,a={cardNetwork:e.network,container:r,name:\"cvv\",placeholder:\"123\",style:n};this.cvvInput=await e.createCvvInput?.(a)??null,this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.error||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.error||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.error||null,this.isFocused=!1)}onFocus(){this.isFocused=!0}render(){return this._setupCVVIframe.render({error:()=>h,complete:()=>u`<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>${$(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>u`<primer-input-error slot=\"error\">${this.cvvError}</primer-input-error>`)}</primer-input-wrapper></div>`})}}"
|
|
238
210
|
},
|
|
239
211
|
{
|
|
240
212
|
"kind": "variable",
|
|
241
213
|
"name": "De",
|
|
242
|
-
"default": "class extends
|
|
214
|
+
"default": "class extends v{constructor(){super(...arguments);this.assetConfig=null}render(){if(!this.assetConfig)return h;let e=this.assetConfig.description,r=this.assetConfig.icon,o=$(this.assetConfig.icon,()=>u`<img class=\"payment-method-icon\" src=${r} alt=${e} />`,()=>u`<div class=\"payment-method-icon payment-method-icon-generic\"><primer-icon name=\"payment-card\" size=\"sm\"></primer-icon></div>`);return this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType!==\"ACH\"?u`<div class=\"payment-method-card-other\"><div class=\"left-column\"><div class=\"payment-method-header\">${this.assetConfig.fullName}</div><div class=\"flex\">${o}<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\"?u`<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\">${o}<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\"?u`<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\">${o}<span class=\"payment-method-subtitle\" >${this.assetConfig.network}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.expiresDate}</span ></div></span>`:h}}"
|
|
243
215
|
},
|
|
244
216
|
{
|
|
245
217
|
"kind": "variable",
|
|
246
218
|
"name": "ee",
|
|
247
|
-
"default": "class extends
|
|
219
|
+
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=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:Ot,initialValue:null});this.eventsController=new Pt(this);this._contextCardSubmitListener=null;this._isHandlingContextEvent=!1;this.inputControllers=new Map;this.setupCardFormTask=new V(this,{task:([e])=>{if(!e?.manager)return D;let{manager:r}=e,o=r.createHostedInputs(),{cardNumberInput:n,expiryInput:a,cvvInput:l}=o;return this.cardFormProvider.setValue({cardholderNameInput:o.cardholderNameInput,cardNumberInput:n,expiryInput:a,cvvInput:l,setCardholderName:s=>{r.setCardholderName(s),this.shouldRequireCardholderName&&r.validate?.().then(c=>{let f=c?.validationErrors?.find(S=>S.name===ts.cardholderName),y=this.inputControllers.get(\"cardholderName\");y&&y.updateMetaFromValidation({valid:!1,error:f?.message||f?.error||null,errorCode:f?.message||f?.error||null})})},setCardNetwork:s=>{this.selectedCardNetwork=s},validate:()=>r.validate(),submit:s=>r.submit(s),hideLabels:this.hideLabels,disabled:this.disabled,setSubmissionState:s=>{this.inputControllers.forEach(c=>{c.setSubmitted(s)})},propagateValidationErrors:s=>{s&&s.forEach(c=>{let m=c.field||c.name,f=c.message||c.error,y=ts[m];if(y){let S=this.inputControllers.get(y);if(S){let A={valid:!1,error:f,errorCode:f};S.updateMetaFromValidation(A)}}})},registerInputController:(s,c)=>{this.inputControllers.set(s,c)},unregisterInputController:s=>{this.inputControllers.delete(s)},onUserInteraction:()=>{this.sendPaymentMethodSelectionEvent(),this.checkAndSendPaymentDetailsEnteredEvent()}}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.paymentDetailsEnteredSent=!1;this.handleSlotButtonClick=e=>{let o=e.target.closest(\"button, primer-button\");if(!o)return;let n=o;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 o=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=o.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 r=e.get(\"contextEventsController\");r?.host&&this._contextCardSubmitListener&&r.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,G({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:\"PAYMENT_CARD\"}))}checkAndSendPaymentDetailsEnteredEvent(){if(this.paymentDetailsEnteredSent)return;let e=this.inputControllers.get(\"cardNumber\"),r=this.inputControllers.get(\"expire\"),o=this.inputControllers.get(\"cvv\"),n=e?.meta?.dirty===!0,a=r?.meta?.dirty===!0,l=o?.meta?.dirty===!0,s=!0;this.shouldRequireCardholderName&&(s=this.inputControllers.get(\"cardholderName\")?.meta?.dirty===!0),n&&a&&l&&s&&(this.sendPaymentDetailsEnteredEvent(),this.paymentDetailsEnteredSent=!0)}sendPaymentDetailsEnteredEvent(){G({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 r=e.tagName.toLowerCase(),o=r===\"button\",n=r===\"primer-button\";return o&&(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;e.setSubmissionState?.(!0);let r=await e.validate?.();if(r?.valid){let o=this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0;await e.submit?.(o);let n={success:!0};this.eventsController.dispatchFormSubmitSuccess(n)}else{let o=r?.validationErrors;e.propagateValidationErrors?.(o||[]),this.cardFormProvider.setValue({...e,errors:o}),this.eventsController.dispatchFormSubmitErrors(o)}}render(){return this.setupCardFormTask.status===rt.ERROR||this.setupCardFormTask.status===rt.INITIAL?h:u`<form @submit=${this.handleFormSubmit}><slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot>${this.setupCardFormTask.render({complete:()=>$(this.hasAssignedContent,()=>h,()=>u`<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>${$(this.shouldShowCardholderName,()=>u`<primer-input-card-holder-name></primer-input-card-holder-name>`,()=>h)}</div><primer-card-form-submit></primer-card-form-submit>`)})}</form>`}}"
|
|
248
220
|
},
|
|
249
221
|
{
|
|
250
222
|
"kind": "variable",
|
|
251
223
|
"name": "je",
|
|
252
|
-
"default": "class extends oe{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:r}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(r)};this.childUpdated()}renderInput(){if(this.hostedInputController.setupTask.status===rt.ERROR)return
|
|
224
|
+
"default": "class extends oe{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:r}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(r)};this.childUpdated()}renderInput(){if(this.hostedInputController.setupTask.status===rt.ERROR)return h;let e=this.getError();return u`<primer-input-wrapper .focusWithin=\"${this.hostedInputController.meta.active}\" .hasError=${!!e} >${$(!this.cardFormContext?.hideLabels,()=>u`<primer-input-label slot=\"label\" >${this.label}</primer-input-label >`,()=>h)}<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>${$(e,r=>u`<primer-input-error slot=\"error\">${P(r,{id:r})}</primer-input-error>`,()=>h)}</primer-input-wrapper>`}render(){return this.renderInput()}}"
|
|
253
225
|
},
|
|
254
226
|
{
|
|
255
227
|
"kind": "variable",
|
|
@@ -263,52 +235,52 @@
|
|
|
263
235
|
},
|
|
264
236
|
{
|
|
265
237
|
"kind": "variable",
|
|
266
|
-
"name": "
|
|
238
|
+
"name": "We",
|
|
267
239
|
"default": "class extends oe{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()}}"
|
|
268
240
|
},
|
|
269
241
|
{
|
|
270
242
|
"kind": "variable",
|
|
271
243
|
"name": "K",
|
|
272
|
-
"default": "class extends
|
|
244
|
+
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=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;G({eventName:\"PAYMENT_SUBMITTED\",paymentMethod:\"PAYMENT_CARD\"});let r=new CustomEvent(\"primer:card-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(r)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:P(\"pay\",{id:\"pay\"})}set buttonText(e){let r=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",r)}get submitButtonConfig(){return this.clientOptions?.submitButton??null}get shouldShowBuiltInButton(){return this.submitButtonConfig?.useBuiltInButton??!0}render(){if(!this.shouldShowBuiltInButton)return h;let e=this.submitButtonConfig?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,r=e?` ${e}`:h,o=this.disabled||this.cardFormContext?.disabled||!1;return u`<primer-button type=\"submit\" variant=${this.variant} ?disabled=${o} @click=${this.handleClick} .loading=${!!this.sdkState?.isProcessing} data-submit >${this.buttonText}${r}</primer-button>`}}"
|
|
273
245
|
},
|
|
274
246
|
{
|
|
275
247
|
"kind": "variable",
|
|
276
|
-
"name": "
|
|
277
|
-
"default": "class extends
|
|
248
|
+
"name": "ne",
|
|
249
|
+
"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=ho();this.dropdownRef=ho();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 r=this.getSelectableNetworks().findIndex(o=>o.network===e.network);return r>=0?r:0}selectNetwork(e,r){e.stopPropagation(),this.selectedCardNetwork=r,this.isDropdownOpen=!1,this.buttonRef.value?.focus(),this.cardNetworks&&this.dispatchEvent(new CustomEvent(\"network-selected\",{detail:{network:r.network},bubbles:!0,composed:!0}))}focusNetworkOption(){requestAnimationFrame(()=>{this.networkOptionRefs[this.focusedNetworkIndex]&&this.networkOptionRefs[this.focusedNetworkIndex].focus()})}setNetworkOptionRef(e,r){this.networkOptionRefs[r]=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 u`<primer-spinner size=\"small\" compact></primer-spinner>`;let e=this.getSelectableNetworks();if(!this.getDetectedNetwork()&&e.length===0)return u`<primer-icon name=\"payment-card\" size=\"sm\"></primer-icon>`;let r=this.getDetectedNetwork()||(e.length>0?e[0]:null);if(!r)return u`<primer-icon name=\"payment-card\" size=\"sm\"></primer-icon>`;let o=e.length>1;return u`<button ${ci(this.buttonRef)} class=\"network-selector\" @click=${this.toggleDropdown} @keydown=${n=>{(n.key===\" \"||n.key===\"Enter\")&&o&&(n.preventDefault(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}} aria-label=${o?`Selected card network: ${r.displayName}. Click to change.`:`Card network: ${r.displayName}`} aria-expanded=${o?this.isDropdownOpen:h} aria-haspopup=${o?\"true\":h} aria-controls=${o?\"network-dropdown\":h} ><img class=\"network-icon\" src=${this.getNetworkIconUrl(r)} alt=${r.displayName} />${$(o,()=>u`<primer-icon class=\"caret ${this.isDropdownOpen?\"open\":\"\"}\" size=\"sm\" name=\"chevron-down\" ></primer-icon>`,()=>h)}</button>${$(this.isDropdownOpen,()=>u`<div ${ci(this.dropdownRef)} id=\"network-dropdown\" class=\"dropdown open\" role=\"listbox\" aria-label=\"Select card network\" >${e.map((n,a)=>u`<div ${ci(l=>this.setNetworkOptionRef(l,a))} class=\"network-option ${this.isKeyboardNavigation&&a===this.focusedNetworkIndex?\"focused\":\"\"}\" @click=${l=>this.selectNetwork(l,n)} @keydown=${l=>{(l.key===\"Enter\"||l.key===\" \")&&this.selectNetwork(l,n)}} role=\"option\" aria-selected=${n.network===r.network} tabindex=\"${a===this.focusedNetworkIndex?\"0\":\"-1\"}\" ><img class=\"network-option-icon\" src=${this.getNetworkIconUrl(n)} alt=${n.displayName} /><span class=\"network-name\">${n.displayName}</span>${$(n.network===r.network,()=>u`<primer-icon class=\"checkmark\" name=\"checkmark\" size=\"sm\" ></primer-icon>`,()=>h)}</div>`)}</div>`,()=>h)} `}}"
|
|
278
250
|
},
|
|
279
251
|
{
|
|
280
252
|
"kind": "variable",
|
|
281
253
|
"name": "mt",
|
|
282
|
-
"default": "class extends
|
|
254
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null}render(){if(this.vaultManager?.isLoading)return h;let e=this.vaultManager?.showEmptyState&&this.vaultManager?.vaultedPaymentMethods.length;return!this.vaultManager||!this.vaultManager.enabled||!e?u`<slot name=\"other-payments\"></slot>`:u`<div class=\"other-payment-methods-container\"><primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.vaultManager?.vaultedPaymentMethods.length===0}\" .header=\"${P(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" ><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></primer-collapsable></div>`}}"
|
|
283
255
|
},
|
|
284
256
|
{
|
|
285
257
|
"kind": "variable",
|
|
286
258
|
"name": "Pe",
|
|
287
|
-
"default": "class extends
|
|
259
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.computedStyles=null;this.disabled=!1;this._buttonId=\"button-container\";this.loadManagerTask=new V(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return D;let r=this.paymentManagers.get(e)?.manager;if(!r)throw new Error(`No manager found for payment method type ${e}`);return r}}),this.nativeButtonTask=new V(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return D;await this.updateComplete;let r=this.shadowRoot?.getElementById(this._buttonId);if(!r)return;let o=this.calculateButtonHeight(),n=e.createButton(),a=this.createRenderOptions(o);return await n.render(this.paymentMethod?.type===\"GOOGLE_PAY\"?this.shadowRoot?.getRootNode():r,a),this.disabled&&await n.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,this.updateDisabledOverlay()),n}})}attributeChangedCallback(e,r,o){if(super.attributeChangedCallback(e,r,o),e===\"disabled\"&&r!==o){let n=o!==null,a=this.nativeButtonTask.value;a&&a.setDisabled(n)}}calculateButtonHeight(){return typeof window>\"u\"||!this.isConnected?0:parseFloat(getComputedStyle(this).height)}createRenderOptions(e){let r=this.paymentMethod?.type;if(r===\"GOOGLE_PAY\")return{style:{shadowRoot:!0}};if(r===\"APPLE_PAY\")return{style:{buttonHeight:e}};if(r===\"PAYPAL\"){let a=Math.max(25,Math.min(55,e));return e>55&&E.warn(`PayPal button height (${e}px) exceeds maximum allowed height of 55px. Button will be capped at 55px. This is a PayPal SDK limitation.`),{style:{buttonHeight:a}}}return{style:{buttonHeight:e}}}updated(e){e.has(\"paymentMethod\")&&this.paymentMethod&&(this._buttonId=`button-container-${this.paymentMethod.type}`),e.has(\"disabled\")&&this.updateDisabledOverlay()}updateDisabledOverlay(){this.paymentMethod?.type===\"GOOGLE_PAY\"?this.updateGooglePayOverlay():this.updateRegularOverlay()}updateGooglePayOverlay(){let e=null;if(e=this.shadowRoot?.getRootNode()?.querySelector(\".gpay-card-info-container-fill\"),e||(e=document.querySelector(\".gpay-card-info-container-fill\")),e||(e=this.shadowRoot?.querySelector(\".gpay-card-info-container-fill\")),!e){setTimeout(()=>this.updateGooglePayOverlay(),100);return}let o=e.querySelector(\".disabled-overlay\");if(o&&o.remove(),this.disabled){let n=document.createElement(\"div\");n.className=\"disabled-overlay\",n.style.cssText=` position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.4); border-radius: var(--primer-radius-medium); cursor: not-allowed; z-index: 1000; pointer-events: all; backdrop-filter: grayscale(100%); `,e.style.position=\"relative\",e.appendChild(n)}}updateRegularOverlay(){let e=this.shadowRoot?.querySelector(\".native-button-container\");if(!e)return;let r=e.querySelector(\".disabled-overlay\");if(r&&r.remove(),this.disabled){let o=document.createElement(\"div\");o.className=\"disabled-overlay\",o.style.cssText=` position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.4); border-radius: var(--primer-radius-medium); cursor: not-allowed; z-index: 1000; pointer-events: all; backdrop-filter: grayscale(100%); `,e.appendChild(o)}}render(){return this.loadManagerTask.render({error:()=>h,complete:()=>u`<div class=\"native-button-container\" id=\"${this._buttonId}\"></div>`,pending:()=>h})}}"
|
|
288
260
|
},
|
|
289
261
|
{
|
|
290
262
|
"kind": "variable",
|
|
291
|
-
"name": "
|
|
292
|
-
"default": "class extends
|
|
263
|
+
"name": "Rt",
|
|
264
|
+
"default": "class extends v{render(){return u`<primer-checkout-state type=\"complete\"></primer-checkout-state>`}}"
|
|
293
265
|
},
|
|
294
266
|
{
|
|
295
267
|
"kind": "variable",
|
|
296
268
|
"name": "_t",
|
|
297
|
-
"default": "class extends
|
|
269
|
+
"default": "class extends v{constructor(){super(...arguments);this.sdkState=null}render(){return u`<primer-checkout-state type=\"failure\" description=${this.sdkState?.error?.message||\"\"} ></primer-checkout-state>`}}"
|
|
298
270
|
},
|
|
299
271
|
{
|
|
300
272
|
"kind": "variable",
|
|
301
|
-
"name": "
|
|
302
|
-
"default": "class extends
|
|
273
|
+
"name": "qe",
|
|
274
|
+
"default": "class extends v{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.failure&&this.showProcessingErrors)}render(){return this.sdkState?u`<primer-error-message message=\"${P(this.sdkState.failure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message>`:h}}"
|
|
303
275
|
},
|
|
304
276
|
{
|
|
305
277
|
"kind": "variable",
|
|
306
278
|
"name": "$e",
|
|
307
|
-
"default": "class extends
|
|
279
|
+
"default": "class extends v{constructor(){super(...arguments);this.hasAssignedContent=!1;this.onSlotChange=e=>{let o=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=o.length>0,this.requestUpdate()};this.paymentMethods=null;this.sdkState=null;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?u`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:u`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${$(this.hasAssignedContent,()=>h,()=>u`<div class=${Z({\"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=>u`<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>`)} `}}"
|
|
308
280
|
},
|
|
309
281
|
{
|
|
310
282
|
"kind": "function",
|
|
311
|
-
"name": "
|
|
283
|
+
"name": "hT"
|
|
312
284
|
}
|
|
313
285
|
],
|
|
314
286
|
"exports": [
|
|
@@ -364,7 +336,7 @@
|
|
|
364
336
|
"kind": "js",
|
|
365
337
|
"name": "CardFormCardNetworkSelector",
|
|
366
338
|
"declaration": {
|
|
367
|
-
"name": "
|
|
339
|
+
"name": "ne",
|
|
368
340
|
"module": "dist/primer-loader.js"
|
|
369
341
|
}
|
|
370
342
|
},
|
|
@@ -396,7 +368,7 @@
|
|
|
396
368
|
"kind": "js",
|
|
397
369
|
"name": "CardFormName",
|
|
398
370
|
"declaration": {
|
|
399
|
-
"name": "
|
|
371
|
+
"name": "We",
|
|
400
372
|
"module": "dist/primer-loader.js"
|
|
401
373
|
}
|
|
402
374
|
},
|
|
@@ -436,7 +408,7 @@
|
|
|
436
408
|
"kind": "js",
|
|
437
409
|
"name": "ErrorMessage",
|
|
438
410
|
"declaration": {
|
|
439
|
-
"name": "
|
|
411
|
+
"name": "Oe",
|
|
440
412
|
"module": "dist/primer-loader.js"
|
|
441
413
|
}
|
|
442
414
|
},
|
|
@@ -444,7 +416,7 @@
|
|
|
444
416
|
"kind": "js",
|
|
445
417
|
"name": "ErrorMessageContainer",
|
|
446
418
|
"declaration": {
|
|
447
|
-
"name": "
|
|
419
|
+
"name": "qe",
|
|
448
420
|
"module": "dist/primer-loader.js"
|
|
449
421
|
}
|
|
450
422
|
},
|
|
@@ -452,7 +424,7 @@
|
|
|
452
424
|
"kind": "js",
|
|
453
425
|
"name": "InitializedPayments",
|
|
454
426
|
"declaration": {
|
|
455
|
-
"name": "
|
|
427
|
+
"name": "Rr",
|
|
456
428
|
"module": "dist/primer-loader.js"
|
|
457
429
|
}
|
|
458
430
|
},
|
|
@@ -460,7 +432,7 @@
|
|
|
460
432
|
"kind": "js",
|
|
461
433
|
"name": "Input",
|
|
462
434
|
"declaration": {
|
|
463
|
-
"name": "
|
|
435
|
+
"name": "Y",
|
|
464
436
|
"module": "dist/primer-loader.js"
|
|
465
437
|
}
|
|
466
438
|
},
|
|
@@ -532,7 +504,7 @@
|
|
|
532
504
|
"kind": "js",
|
|
533
505
|
"name": "PrimerCheckoutComplete",
|
|
534
506
|
"declaration": {
|
|
535
|
-
"name": "
|
|
507
|
+
"name": "Rt",
|
|
536
508
|
"module": "dist/primer-loader.js"
|
|
537
509
|
}
|
|
538
510
|
},
|
|
@@ -636,7 +608,7 @@
|
|
|
636
608
|
"kind": "js",
|
|
637
609
|
"name": "VaultErrorMessage",
|
|
638
610
|
"declaration": {
|
|
639
|
-
"name": "
|
|
611
|
+
"name": "Re",
|
|
640
612
|
"module": "dist/primer-loader.js"
|
|
641
613
|
}
|
|
642
614
|
},
|
|
@@ -668,7 +640,7 @@
|
|
|
668
640
|
"kind": "js",
|
|
669
641
|
"name": "VaultPaymentSubmit",
|
|
670
642
|
"declaration": {
|
|
671
|
-
"name": "
|
|
643
|
+
"name": "J",
|
|
672
644
|
"module": "dist/primer-loader.js"
|
|
673
645
|
}
|
|
674
646
|
},
|
|
@@ -676,7 +648,7 @@
|
|
|
676
648
|
"kind": "js",
|
|
677
649
|
"name": "injectDarkTheme",
|
|
678
650
|
"declaration": {
|
|
679
|
-
"name": "
|
|
651
|
+
"name": "_d",
|
|
680
652
|
"module": "dist/primer-loader.js"
|
|
681
653
|
}
|
|
682
654
|
},
|
|
@@ -684,7 +656,7 @@
|
|
|
684
656
|
"kind": "js",
|
|
685
657
|
"name": "injectLightTheme",
|
|
686
658
|
"declaration": {
|
|
687
|
-
"name": "
|
|
659
|
+
"name": "Sd",
|
|
688
660
|
"module": "dist/primer-loader.js"
|
|
689
661
|
}
|
|
690
662
|
},
|
|
@@ -692,7 +664,7 @@
|
|
|
692
664
|
"kind": "js",
|
|
693
665
|
"name": "injectLoaderStyles",
|
|
694
666
|
"declaration": {
|
|
695
|
-
"name": "
|
|
667
|
+
"name": "la",
|
|
696
668
|
"module": "dist/primer-loader.js"
|
|
697
669
|
}
|
|
698
670
|
},
|
|
@@ -700,7 +672,7 @@
|
|
|
700
672
|
"kind": "js",
|
|
701
673
|
"name": "injectThemeStyles",
|
|
702
674
|
"declaration": {
|
|
703
|
-
"name": "
|
|
675
|
+
"name": "da",
|
|
704
676
|
"module": "dist/primer-loader.js"
|
|
705
677
|
}
|
|
706
678
|
},
|
|
@@ -708,12 +680,40 @@
|
|
|
708
680
|
"kind": "js",
|
|
709
681
|
"name": "loadPrimer",
|
|
710
682
|
"declaration": {
|
|
711
|
-
"name": "
|
|
683
|
+
"name": "hT",
|
|
712
684
|
"module": "dist/primer-loader.js"
|
|
713
685
|
}
|
|
714
686
|
}
|
|
715
687
|
]
|
|
716
688
|
},
|
|
689
|
+
{
|
|
690
|
+
"kind": "javascript-module",
|
|
691
|
+
"path": "e2e/utils.ts",
|
|
692
|
+
"declarations": [
|
|
693
|
+
{
|
|
694
|
+
"kind": "variable",
|
|
695
|
+
"name": "test"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"exports": [
|
|
699
|
+
{
|
|
700
|
+
"kind": "js",
|
|
701
|
+
"name": "expect",
|
|
702
|
+
"declaration": {
|
|
703
|
+
"name": "expect",
|
|
704
|
+
"package": "@chromatic-com/playwright"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"kind": "js",
|
|
709
|
+
"name": "test",
|
|
710
|
+
"declaration": {
|
|
711
|
+
"name": "test",
|
|
712
|
+
"module": "e2e/utils.ts"
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
717
|
{
|
|
718
718
|
"kind": "javascript-module",
|
|
719
719
|
"path": "src/consts.ts",
|
|
@@ -1478,125 +1478,115 @@
|
|
|
1478
1478
|
},
|
|
1479
1479
|
{
|
|
1480
1480
|
"kind": "javascript-module",
|
|
1481
|
-
"path": "
|
|
1481
|
+
"path": "dist/chunks/ar.KRXB3WQO.js",
|
|
1482
1482
|
"declarations": [
|
|
1483
1483
|
{
|
|
1484
1484
|
"kind": "variable",
|
|
1485
|
-
"name": "
|
|
1486
|
-
"
|
|
1487
|
-
"text": "string"
|
|
1488
|
-
},
|
|
1489
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7fX0='"
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"kind": "variable",
|
|
1493
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1494
|
-
"type": {
|
|
1495
|
-
"text": "object"
|
|
1496
|
-
},
|
|
1497
|
-
"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: {}, }"
|
|
1485
|
+
"name": "o",
|
|
1486
|
+
"default": "e"
|
|
1498
1487
|
}
|
|
1499
1488
|
],
|
|
1500
1489
|
"exports": [
|
|
1501
1490
|
{
|
|
1502
1491
|
"kind": "js",
|
|
1503
|
-
"name": "
|
|
1492
|
+
"name": "templates",
|
|
1504
1493
|
"declaration": {
|
|
1505
|
-
"name": "
|
|
1506
|
-
"module": "
|
|
1494
|
+
"name": "o",
|
|
1495
|
+
"module": "dist/chunks/ar.KRXB3WQO.js"
|
|
1507
1496
|
}
|
|
1508
|
-
}
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"kind": "javascript-module",
|
|
1502
|
+
"path": "dist/chunks/bg.6SKJRXIR.js",
|
|
1503
|
+
"declarations": [
|
|
1504
|
+
{
|
|
1505
|
+
"kind": "variable",
|
|
1506
|
+
"name": "o",
|
|
1507
|
+
"default": "e"
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"exports": [
|
|
1509
1511
|
{
|
|
1510
1512
|
"kind": "js",
|
|
1511
|
-
"name": "
|
|
1513
|
+
"name": "templates",
|
|
1512
1514
|
"declaration": {
|
|
1513
|
-
"name": "
|
|
1514
|
-
"module": "
|
|
1515
|
+
"name": "o",
|
|
1516
|
+
"module": "dist/chunks/bg.6SKJRXIR.js"
|
|
1515
1517
|
}
|
|
1516
1518
|
}
|
|
1517
1519
|
]
|
|
1518
1520
|
},
|
|
1519
1521
|
{
|
|
1520
1522
|
"kind": "javascript-module",
|
|
1521
|
-
"path": "
|
|
1523
|
+
"path": "dist/chunks/ca.SANDLFEK.js",
|
|
1522
1524
|
"declarations": [
|
|
1523
1525
|
{
|
|
1524
1526
|
"kind": "variable",
|
|
1525
|
-
"name": "
|
|
1526
|
-
"
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
},
|
|
1531
|
-
{
|
|
1532
|
-
"kind": "variable",
|
|
1533
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1534
|
-
"type": {
|
|
1535
|
-
"text": "object"
|
|
1536
|
-
},
|
|
1537
|
-
"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: {}, }"
|
|
1538
|
-
},
|
|
1539
|
-
{
|
|
1540
|
-
"kind": "variable",
|
|
1541
|
-
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
1542
|
-
"type": {
|
|
1543
|
-
"text": "string"
|
|
1544
|
-
},
|
|
1545
|
-
"default": "'4035 5010 0000 0008'"
|
|
1546
|
-
},
|
|
1527
|
+
"name": "i",
|
|
1528
|
+
"default": "e"
|
|
1529
|
+
}
|
|
1530
|
+
],
|
|
1531
|
+
"exports": [
|
|
1547
1532
|
{
|
|
1548
|
-
"kind": "
|
|
1549
|
-
"name": "
|
|
1550
|
-
"
|
|
1551
|
-
"
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
}
|
|
1533
|
+
"kind": "js",
|
|
1534
|
+
"name": "templates",
|
|
1535
|
+
"declaration": {
|
|
1536
|
+
"name": "i",
|
|
1537
|
+
"module": "dist/chunks/ca.SANDLFEK.js"
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
]
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"kind": "javascript-module",
|
|
1544
|
+
"path": "dist/chunks/chunk.DV3REKZU.js",
|
|
1545
|
+
"declarations": [
|
|
1555
1546
|
{
|
|
1556
1547
|
"kind": "function",
|
|
1557
|
-
"name": "
|
|
1548
|
+
"name": "k",
|
|
1558
1549
|
"parameters": [
|
|
1559
1550
|
{
|
|
1560
|
-
"name": "
|
|
1561
|
-
"type": {
|
|
1562
|
-
"text": "Page"
|
|
1563
|
-
}
|
|
1551
|
+
"name": "c"
|
|
1564
1552
|
}
|
|
1565
1553
|
]
|
|
1566
1554
|
},
|
|
1567
1555
|
{
|
|
1568
|
-
"kind": "
|
|
1569
|
-
"name": "
|
|
1570
|
-
"
|
|
1571
|
-
{
|
|
1572
|
-
"name": "page",
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "Page"
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1577
|
-
]
|
|
1556
|
+
"kind": "variable",
|
|
1557
|
+
"name": "b",
|
|
1558
|
+
"default": "c[a]"
|
|
1578
1559
|
},
|
|
1579
1560
|
{
|
|
1580
1561
|
"kind": "function",
|
|
1581
|
-
"name": "
|
|
1562
|
+
"name": "l",
|
|
1582
1563
|
"parameters": [
|
|
1583
1564
|
{
|
|
1584
|
-
"name": "
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1565
|
+
"name": "c"
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"name": "a"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "b"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"name": "e"
|
|
1588
1575
|
}
|
|
1589
1576
|
]
|
|
1590
1577
|
},
|
|
1591
1578
|
{
|
|
1592
1579
|
"kind": "function",
|
|
1593
|
-
"name": "
|
|
1580
|
+
"name": "m",
|
|
1594
1581
|
"parameters": [
|
|
1595
1582
|
{
|
|
1596
|
-
"name": "
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1583
|
+
"name": "c"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"name": "a"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "b"
|
|
1600
1590
|
}
|
|
1601
1591
|
]
|
|
1602
1592
|
}
|
|
@@ -1604,407 +1594,292 @@
|
|
|
1604
1594
|
"exports": [
|
|
1605
1595
|
{
|
|
1606
1596
|
"kind": "js",
|
|
1607
|
-
"name": "
|
|
1597
|
+
"name": "a",
|
|
1608
1598
|
"declaration": {
|
|
1609
|
-
"name": "
|
|
1610
|
-
"module": "
|
|
1599
|
+
"name": "k",
|
|
1600
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1611
1601
|
}
|
|
1612
1602
|
},
|
|
1613
1603
|
{
|
|
1614
1604
|
"kind": "js",
|
|
1615
|
-
"name": "
|
|
1605
|
+
"name": "b",
|
|
1616
1606
|
"declaration": {
|
|
1617
|
-
"name": "
|
|
1618
|
-
"module": "
|
|
1607
|
+
"name": "l",
|
|
1608
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1619
1609
|
}
|
|
1620
1610
|
},
|
|
1621
1611
|
{
|
|
1622
1612
|
"kind": "js",
|
|
1623
|
-
"name": "
|
|
1613
|
+
"name": "c",
|
|
1624
1614
|
"declaration": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "
|
|
1615
|
+
"name": "m",
|
|
1616
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1627
1617
|
}
|
|
1628
|
-
}
|
|
1618
|
+
}
|
|
1619
|
+
]
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "javascript-module",
|
|
1623
|
+
"path": "dist/chunks/chunk.QMLIEEKM.js",
|
|
1624
|
+
"declarations": [
|
|
1625
|
+
{
|
|
1626
|
+
"kind": "variable",
|
|
1627
|
+
"name": "t",
|
|
1628
|
+
"type": {
|
|
1629
|
+
"text": "object"
|
|
1630
|
+
},
|
|
1631
|
+
"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\"}"
|
|
1632
|
+
}
|
|
1633
|
+
],
|
|
1634
|
+
"exports": [
|
|
1629
1635
|
{
|
|
1630
1636
|
"kind": "js",
|
|
1631
|
-
"name": "
|
|
1637
|
+
"name": "a",
|
|
1632
1638
|
"declaration": {
|
|
1633
|
-
"name": "
|
|
1634
|
-
"module": "
|
|
1639
|
+
"name": "t",
|
|
1640
|
+
"module": "dist/chunks/chunk.QMLIEEKM.js"
|
|
1635
1641
|
}
|
|
1636
|
-
}
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "javascript-module",
|
|
1647
|
+
"path": "dist/chunks/cs.FC4I5M3C.js",
|
|
1648
|
+
"declarations": [
|
|
1637
1649
|
{
|
|
1638
|
-
"kind": "
|
|
1639
|
-
"name": "
|
|
1640
|
-
"
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
},
|
|
1650
|
+
"kind": "variable",
|
|
1651
|
+
"name": "n",
|
|
1652
|
+
"default": "e"
|
|
1653
|
+
}
|
|
1654
|
+
],
|
|
1655
|
+
"exports": [
|
|
1645
1656
|
{
|
|
1646
1657
|
"kind": "js",
|
|
1647
|
-
"name": "
|
|
1658
|
+
"name": "templates",
|
|
1648
1659
|
"declaration": {
|
|
1649
|
-
"name": "
|
|
1650
|
-
"module": "
|
|
1660
|
+
"name": "n",
|
|
1661
|
+
"module": "dist/chunks/cs.FC4I5M3C.js"
|
|
1651
1662
|
}
|
|
1652
|
-
}
|
|
1663
|
+
}
|
|
1664
|
+
]
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "javascript-module",
|
|
1668
|
+
"path": "dist/chunks/da.YI32NZ7B.js",
|
|
1669
|
+
"declarations": [
|
|
1653
1670
|
{
|
|
1654
|
-
"kind": "
|
|
1655
|
-
"name": "
|
|
1656
|
-
"
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
},
|
|
1671
|
+
"kind": "variable",
|
|
1672
|
+
"name": "a",
|
|
1673
|
+
"default": "e"
|
|
1674
|
+
}
|
|
1675
|
+
],
|
|
1676
|
+
"exports": [
|
|
1661
1677
|
{
|
|
1662
1678
|
"kind": "js",
|
|
1663
|
-
"name": "
|
|
1679
|
+
"name": "templates",
|
|
1664
1680
|
"declaration": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "
|
|
1681
|
+
"name": "a",
|
|
1682
|
+
"module": "dist/chunks/da.YI32NZ7B.js"
|
|
1667
1683
|
}
|
|
1668
1684
|
}
|
|
1669
1685
|
]
|
|
1670
1686
|
},
|
|
1671
1687
|
{
|
|
1672
1688
|
"kind": "javascript-module",
|
|
1673
|
-
"path": "
|
|
1689
|
+
"path": "dist/chunks/de.7M7UFQB7.js",
|
|
1674
1690
|
"declarations": [
|
|
1675
1691
|
{
|
|
1676
1692
|
"kind": "variable",
|
|
1677
|
-
"name": "
|
|
1678
|
-
"
|
|
1679
|
-
"text": "string"
|
|
1680
|
-
},
|
|
1681
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiZW52IjoiQ1VTVE9NX1NBTkRCT1giLCJhcGlWZXJzaW9uIjoiMi4zIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7fX0='"
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"kind": "variable",
|
|
1685
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "object"
|
|
1688
|
-
},
|
|
1689
|
-
"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: {}, }"
|
|
1693
|
+
"name": "t",
|
|
1694
|
+
"default": "e"
|
|
1690
1695
|
}
|
|
1691
1696
|
],
|
|
1692
1697
|
"exports": [
|
|
1693
1698
|
{
|
|
1694
1699
|
"kind": "js",
|
|
1695
|
-
"name": "
|
|
1696
|
-
"declaration": {
|
|
1697
|
-
"name": "settings",
|
|
1698
|
-
"module": "e2e/mocks/klarna.ts"
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"kind": "js",
|
|
1703
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1700
|
+
"name": "templates",
|
|
1704
1701
|
"declaration": {
|
|
1705
|
-
"name": "
|
|
1706
|
-
"module": "
|
|
1702
|
+
"name": "t",
|
|
1703
|
+
"module": "dist/chunks/de.7M7UFQB7.js"
|
|
1707
1704
|
}
|
|
1708
1705
|
}
|
|
1709
1706
|
]
|
|
1710
1707
|
},
|
|
1711
1708
|
{
|
|
1712
1709
|
"kind": "javascript-module",
|
|
1713
|
-
"path": "
|
|
1710
|
+
"path": "dist/chunks/el.XSGTYDZR.js",
|
|
1714
1711
|
"declarations": [
|
|
1715
1712
|
{
|
|
1716
|
-
"kind": "
|
|
1717
|
-
"name": "
|
|
1718
|
-
"
|
|
1719
|
-
{
|
|
1720
|
-
"name": "page",
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "Page"
|
|
1723
|
-
}
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
"name": "config",
|
|
1727
|
-
"type": {
|
|
1728
|
-
"text": "unknown"
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
]
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"kind": "function",
|
|
1735
|
-
"name": "mockConfigurationCallSTG",
|
|
1736
|
-
"parameters": [
|
|
1737
|
-
{
|
|
1738
|
-
"name": "page",
|
|
1739
|
-
"type": {
|
|
1740
|
-
"text": "Page"
|
|
1741
|
-
}
|
|
1742
|
-
},
|
|
1743
|
-
{
|
|
1744
|
-
"name": "config",
|
|
1745
|
-
"type": {
|
|
1746
|
-
"text": "unknown"
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
]
|
|
1713
|
+
"kind": "variable",
|
|
1714
|
+
"name": "o",
|
|
1715
|
+
"default": "e"
|
|
1750
1716
|
}
|
|
1751
1717
|
],
|
|
1752
1718
|
"exports": [
|
|
1753
1719
|
{
|
|
1754
1720
|
"kind": "js",
|
|
1755
|
-
"name": "
|
|
1721
|
+
"name": "templates",
|
|
1756
1722
|
"declaration": {
|
|
1757
|
-
"name": "
|
|
1758
|
-
"module": "
|
|
1723
|
+
"name": "o",
|
|
1724
|
+
"module": "dist/chunks/el.XSGTYDZR.js"
|
|
1759
1725
|
}
|
|
1760
|
-
}
|
|
1726
|
+
}
|
|
1727
|
+
]
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"kind": "javascript-module",
|
|
1731
|
+
"path": "dist/chunks/en-GB.VO4GDE3X.js",
|
|
1732
|
+
"declarations": [
|
|
1733
|
+
{
|
|
1734
|
+
"kind": "variable",
|
|
1735
|
+
"name": "o",
|
|
1736
|
+
"default": "t"
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"exports": [
|
|
1761
1740
|
{
|
|
1762
1741
|
"kind": "js",
|
|
1763
|
-
"name": "
|
|
1742
|
+
"name": "templates",
|
|
1764
1743
|
"declaration": {
|
|
1765
|
-
"name": "
|
|
1766
|
-
"module": "
|
|
1744
|
+
"name": "o",
|
|
1745
|
+
"module": "dist/chunks/en-GB.VO4GDE3X.js"
|
|
1767
1746
|
}
|
|
1768
1747
|
}
|
|
1769
1748
|
]
|
|
1770
1749
|
},
|
|
1771
1750
|
{
|
|
1772
1751
|
"kind": "javascript-module",
|
|
1773
|
-
"path": "
|
|
1752
|
+
"path": "dist/chunks/en.MNFLVOE3.js",
|
|
1774
1753
|
"declarations": [
|
|
1775
1754
|
{
|
|
1776
1755
|
"kind": "variable",
|
|
1777
|
-
"name": "
|
|
1778
|
-
"
|
|
1779
|
-
"text": "string"
|
|
1780
|
-
},
|
|
1781
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwidmF1bHRPbkFncmVlbWVudCI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmMzA4ODVmMC04MjljLTRmMGEtYjIyMi1iN2Y1OWQzNzZlYWYiLCJhcGlWZXJzaW9uIjoiMi40IiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fX0='"
|
|
1782
|
-
},
|
|
1783
|
-
{
|
|
1784
|
-
"kind": "variable",
|
|
1785
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1786
|
-
"type": {
|
|
1787
|
-
"text": "object"
|
|
1788
|
-
},
|
|
1789
|
-
"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: {}, }"
|
|
1790
|
-
},
|
|
1791
|
-
{
|
|
1792
|
-
"kind": "function",
|
|
1793
|
-
"name": "mockExchangeCall",
|
|
1794
|
-
"parameters": [
|
|
1795
|
-
{
|
|
1796
|
-
"name": "page",
|
|
1797
|
-
"type": {
|
|
1798
|
-
"text": "Page"
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
]
|
|
1802
|
-
},
|
|
1803
|
-
{
|
|
1804
|
-
"kind": "function",
|
|
1805
|
-
"name": "mockPaymentsCall",
|
|
1806
|
-
"parameters": [
|
|
1807
|
-
{
|
|
1808
|
-
"name": "page",
|
|
1809
|
-
"type": {
|
|
1810
|
-
"text": "Page"
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
]
|
|
1756
|
+
"name": "o",
|
|
1757
|
+
"default": "t"
|
|
1814
1758
|
}
|
|
1815
1759
|
],
|
|
1816
1760
|
"exports": [
|
|
1817
1761
|
{
|
|
1818
1762
|
"kind": "js",
|
|
1819
|
-
"name": "
|
|
1763
|
+
"name": "templates",
|
|
1820
1764
|
"declaration": {
|
|
1821
|
-
"name": "
|
|
1822
|
-
"module": "
|
|
1765
|
+
"name": "o",
|
|
1766
|
+
"module": "dist/chunks/en.MNFLVOE3.js"
|
|
1823
1767
|
}
|
|
1824
|
-
}
|
|
1768
|
+
}
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"kind": "javascript-module",
|
|
1773
|
+
"path": "dist/chunks/es-AR.TBWVUZEF.js",
|
|
1774
|
+
"declarations": [
|
|
1825
1775
|
{
|
|
1826
|
-
"kind": "
|
|
1827
|
-
"name": "
|
|
1828
|
-
"
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
},
|
|
1776
|
+
"kind": "variable",
|
|
1777
|
+
"name": "i",
|
|
1778
|
+
"default": "e"
|
|
1779
|
+
}
|
|
1780
|
+
],
|
|
1781
|
+
"exports": [
|
|
1833
1782
|
{
|
|
1834
1783
|
"kind": "js",
|
|
1835
|
-
"name": "
|
|
1784
|
+
"name": "templates",
|
|
1836
1785
|
"declaration": {
|
|
1837
|
-
"name": "
|
|
1838
|
-
"module": "
|
|
1786
|
+
"name": "i",
|
|
1787
|
+
"module": "dist/chunks/es-AR.TBWVUZEF.js"
|
|
1839
1788
|
}
|
|
1840
|
-
}
|
|
1789
|
+
}
|
|
1790
|
+
]
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "javascript-module",
|
|
1794
|
+
"path": "dist/chunks/es-MX.6EMWUABR.js",
|
|
1795
|
+
"declarations": [
|
|
1796
|
+
{
|
|
1797
|
+
"kind": "variable",
|
|
1798
|
+
"name": "i",
|
|
1799
|
+
"default": "e"
|
|
1800
|
+
}
|
|
1801
|
+
],
|
|
1802
|
+
"exports": [
|
|
1841
1803
|
{
|
|
1842
1804
|
"kind": "js",
|
|
1843
|
-
"name": "
|
|
1805
|
+
"name": "templates",
|
|
1844
1806
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "
|
|
1807
|
+
"name": "i",
|
|
1808
|
+
"module": "dist/chunks/es-MX.6EMWUABR.js"
|
|
1847
1809
|
}
|
|
1848
1810
|
}
|
|
1849
1811
|
]
|
|
1850
1812
|
},
|
|
1851
1813
|
{
|
|
1852
1814
|
"kind": "javascript-module",
|
|
1853
|
-
"path": "
|
|
1815
|
+
"path": "dist/chunks/es.XZLDFHYI.js",
|
|
1854
1816
|
"declarations": [
|
|
1855
1817
|
{
|
|
1856
1818
|
"kind": "variable",
|
|
1857
|
-
"name": "
|
|
1858
|
-
"
|
|
1859
|
-
"text": "string"
|
|
1860
|
-
},
|
|
1861
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJjdXN0b21lcklkIiwib3JkZXJJZCI6IjM4NjYyIiwiYW1vdW50Ijo1MDAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6e30sIm9yZGVyIjp7ImNvdW50cnlDb2RlIjoiRlIiLCJsaW5lSXRlbXMiOlt7Iml0ZW1JZCI6InByaW1lci1ob29kaWUtZ3JheSIsImRlc2NyaXB0aW9uIjoiUHJpbWVyIEhvb2RpZSIsImFtb3VudCI6NTAwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImNvdW50cnlDb2RlIjoiRlIifSwibmF0aW9uYWxEb2N1bWVudElkIjoiOTAxMTIxMTIzNDU2NyJ9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjp0cnVlLCJwYXltZW50VHlwZSI6IkZJUlNUX1BBWU1FTlQiLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlNRU5UX0NBUkQiOnsiY2FwdHVyZVZhdWx0ZWRDYXJkQ3Z2Ijp0cnVlfX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmZTRkNzFiMi1mNzJmLTQ4NGItYjlkMS1hNDBkMDM0ZGRmNmMiLCJhcGlWZXJzaW9uIjoiMi4zIiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7InN0cmlwZSI6eyJwdWJsaXNoYWJsZUtleSI6InBrX3Rlc3RfNTFPOHpmUUtVSzZiWElkQzJ4UHZTUzZVdnJpRTlrd3B2dHR3QjdIOVBBemhOQVpvR3pMZ2lET3lkNFdvb296ZVdIeG9ScktvNmIyVmpaWXhOQ01YM1c3YmswMHJNRGl2amF1In0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fX0='"
|
|
1862
|
-
},
|
|
1863
|
-
{
|
|
1864
|
-
"kind": "variable",
|
|
1865
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1866
|
-
"type": {
|
|
1867
|
-
"text": "object"
|
|
1868
|
-
},
|
|
1869
|
-
"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: '73195f20-be41-43ac-abad-d6fdf786c4cb', order: { orderId: '38662', currencyCode: 'EUR', countryCode: 'FR', totalOrderAmount: 5000, merchantAmount: 5000, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 5000, quantity: 1, }, ], }, customer: { customerId: 'customerId', billingAddress: { countryCode: 'FR', }, nationalDocumentId: '9011211234567', }, paymentMethod: { vaultOnSuccess: true, options: [ { type: 'PAYMENT_CARD', }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '6723b06a-37c5-4b93-87bf-9dadf4aa62f8', env: 'SANDBOX', paymentMethods: [ { id: '0b4775b8-4c43-4261-88ec-24d4f891912a', type: 'STRIPE_ACH', options: { merchantId: '7804d409-4caa-4fa8-8adb-ab34217d6c4e', merchantAccountId: '42dd7bba-3c06-5c50-b009-d1aafdd18a51', }, processorConfigId: '7804d409-4caa-4fa8-8adb-ab34217d6c4e', implementationType: 'NATIVE_SDK', name: 'Automated Clearing House (ACH)', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/BANK_TRANSFER/bank-transfer-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/BANK_TRANSFER/bank-transfer-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay with ACH', textColor: { dark: '#FFFFFF', light: '#000000', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'f7e3b1d5-9922-4269-8d69-98a021c3c7ab', type: 'PRIMER_TEST_KLARNA', options: { merchantId: 'acct_primer-test_1', merchantAccountId: 'f49628b3-fc15-5e89-a710-1ad4a78a1b3b', }, processorConfigId: '7799d7a0-21b3-4778-bac4-de4bb302a702', 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: 'f43bbce8-2d0c-497e-b35c-7eeb647e0f9f', type: 'NOL_PAY', options: { merchantId: 'b89640a1-f1fd-47ca-857a-dac21d52f778', merchantAccountId: 'a3b4cecc-2305-54db-86f5-9670e237ed2d', appId: '1301', }, processorConfigId: 'b89640a1-f1fd-47ca-857a-dac21d52f778', implementationType: 'NATIVE_SDK', name: 'Nol Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/NOL_PAY/nol-pay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/NOL_PAY/nol-pay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/NOL_PAY/nol-pay-logo-light@3x.png', }, backgroundColor: { colored: '#171e90', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFFFFF', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, captureVaultedCardCvv: 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: {}, }"
|
|
1870
|
-
},
|
|
1871
|
-
{
|
|
1872
|
-
"kind": "variable",
|
|
1873
|
-
"name": "SUCCESSFUL_CARD_TO_VAULT",
|
|
1874
|
-
"type": {
|
|
1875
|
-
"text": "string"
|
|
1876
|
-
},
|
|
1877
|
-
"default": "'4000002500001001'"
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"kind": "function",
|
|
1881
|
-
"name": "mockPaymentInstruments",
|
|
1882
|
-
"parameters": [
|
|
1883
|
-
{
|
|
1884
|
-
"name": "page",
|
|
1885
|
-
"type": {
|
|
1886
|
-
"text": "Page"
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
]
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
"kind": "function",
|
|
1893
|
-
"name": "mockPayments",
|
|
1894
|
-
"parameters": [
|
|
1895
|
-
{
|
|
1896
|
-
"name": "page",
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "Page"
|
|
1899
|
-
}
|
|
1900
|
-
}
|
|
1901
|
-
]
|
|
1819
|
+
"name": "i",
|
|
1820
|
+
"default": "e"
|
|
1902
1821
|
}
|
|
1903
1822
|
],
|
|
1904
1823
|
"exports": [
|
|
1905
1824
|
{
|
|
1906
1825
|
"kind": "js",
|
|
1907
|
-
"name": "
|
|
1908
|
-
"declaration": {
|
|
1909
|
-
"name": "settings",
|
|
1910
|
-
"module": "e2e/mocks/vaulting-card.ts"
|
|
1911
|
-
}
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"kind": "js",
|
|
1915
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1916
|
-
"declaration": {
|
|
1917
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1918
|
-
"module": "e2e/mocks/vaulting-card.ts"
|
|
1919
|
-
}
|
|
1920
|
-
},
|
|
1921
|
-
{
|
|
1922
|
-
"kind": "js",
|
|
1923
|
-
"name": "SUCCESSFUL_CARD_TO_VAULT",
|
|
1826
|
+
"name": "templates",
|
|
1924
1827
|
"declaration": {
|
|
1925
|
-
"name": "
|
|
1926
|
-
"module": "
|
|
1828
|
+
"name": "i",
|
|
1829
|
+
"module": "dist/chunks/es.XZLDFHYI.js"
|
|
1927
1830
|
}
|
|
1928
|
-
}
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "javascript-module",
|
|
1836
|
+
"path": "dist/chunks/et-EE.JBSFMKZ2.js",
|
|
1837
|
+
"declarations": [
|
|
1929
1838
|
{
|
|
1930
|
-
"kind": "
|
|
1931
|
-
"name": "
|
|
1932
|
-
"
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
},
|
|
1839
|
+
"kind": "variable",
|
|
1840
|
+
"name": "r",
|
|
1841
|
+
"default": "e"
|
|
1842
|
+
}
|
|
1843
|
+
],
|
|
1844
|
+
"exports": [
|
|
1937
1845
|
{
|
|
1938
1846
|
"kind": "js",
|
|
1939
|
-
"name": "
|
|
1847
|
+
"name": "templates",
|
|
1940
1848
|
"declaration": {
|
|
1941
|
-
"name": "
|
|
1942
|
-
"module": "
|
|
1849
|
+
"name": "r",
|
|
1850
|
+
"module": "dist/chunks/et-EE.JBSFMKZ2.js"
|
|
1943
1851
|
}
|
|
1944
1852
|
}
|
|
1945
1853
|
]
|
|
1946
1854
|
},
|
|
1947
1855
|
{
|
|
1948
1856
|
"kind": "javascript-module",
|
|
1949
|
-
"path": "
|
|
1950
|
-
"declarations": [],
|
|
1951
|
-
"exports": []
|
|
1952
|
-
},
|
|
1953
|
-
{
|
|
1954
|
-
"kind": "javascript-module",
|
|
1955
|
-
"path": "e2e/tests/card-basic.spec.ts",
|
|
1956
|
-
"declarations": [],
|
|
1957
|
-
"exports": []
|
|
1958
|
-
},
|
|
1959
|
-
{
|
|
1960
|
-
"kind": "javascript-module",
|
|
1961
|
-
"path": "e2e/tests/disabled-payments.spec.ts",
|
|
1857
|
+
"path": "dist/chunks/fi-FI.I75VK2ID.js",
|
|
1962
1858
|
"declarations": [
|
|
1963
1859
|
{
|
|
1964
1860
|
"kind": "variable",
|
|
1965
|
-
"name": "
|
|
1966
|
-
"
|
|
1967
|
-
"text": "string"
|
|
1968
|
-
},
|
|
1969
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2V9fQ=='"
|
|
1861
|
+
"name": "n",
|
|
1862
|
+
"default": "a"
|
|
1970
1863
|
}
|
|
1971
1864
|
],
|
|
1972
1865
|
"exports": [
|
|
1973
1866
|
{
|
|
1974
1867
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1868
|
+
"name": "templates",
|
|
1976
1869
|
"declaration": {
|
|
1977
|
-
"name": "
|
|
1978
|
-
"module": "
|
|
1870
|
+
"name": "n",
|
|
1871
|
+
"module": "dist/chunks/fi-FI.I75VK2ID.js"
|
|
1979
1872
|
}
|
|
1980
1873
|
}
|
|
1981
1874
|
]
|
|
1982
1875
|
},
|
|
1983
1876
|
{
|
|
1984
1877
|
"kind": "javascript-module",
|
|
1985
|
-
"path": "
|
|
1986
|
-
"declarations": [],
|
|
1987
|
-
"exports": []
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
"kind": "javascript-module",
|
|
1991
|
-
"path": "e2e/tests/vaulted-paypal.spec.ts",
|
|
1992
|
-
"declarations": [],
|
|
1993
|
-
"exports": []
|
|
1994
|
-
},
|
|
1995
|
-
{
|
|
1996
|
-
"kind": "javascript-module",
|
|
1997
|
-
"path": "e2e/tests/vaulting-card.spec.ts",
|
|
1998
|
-
"declarations": [],
|
|
1999
|
-
"exports": []
|
|
2000
|
-
},
|
|
2001
|
-
{
|
|
2002
|
-
"kind": "javascript-module",
|
|
2003
|
-
"path": "dist/chunks/ar.KRXB3WQO.js",
|
|
1878
|
+
"path": "dist/chunks/fr.JBNP6RXT.js",
|
|
2004
1879
|
"declarations": [
|
|
2005
1880
|
{
|
|
2006
1881
|
"kind": "variable",
|
|
2007
|
-
"name": "
|
|
1882
|
+
"name": "i",
|
|
2008
1883
|
"default": "e"
|
|
2009
1884
|
}
|
|
2010
1885
|
],
|
|
@@ -2013,15 +1888,15 @@
|
|
|
2013
1888
|
"kind": "js",
|
|
2014
1889
|
"name": "templates",
|
|
2015
1890
|
"declaration": {
|
|
2016
|
-
"name": "
|
|
2017
|
-
"module": "dist/chunks/
|
|
1891
|
+
"name": "i",
|
|
1892
|
+
"module": "dist/chunks/fr.JBNP6RXT.js"
|
|
2018
1893
|
}
|
|
2019
1894
|
}
|
|
2020
1895
|
]
|
|
2021
1896
|
},
|
|
2022
1897
|
{
|
|
2023
1898
|
"kind": "javascript-module",
|
|
2024
|
-
"path": "dist/chunks/
|
|
1899
|
+
"path": "dist/chunks/he.PW253QAL.js",
|
|
2025
1900
|
"declarations": [
|
|
2026
1901
|
{
|
|
2027
1902
|
"kind": "variable",
|
|
@@ -2035,18 +1910,18 @@
|
|
|
2035
1910
|
"name": "templates",
|
|
2036
1911
|
"declaration": {
|
|
2037
1912
|
"name": "o",
|
|
2038
|
-
"module": "dist/chunks/
|
|
1913
|
+
"module": "dist/chunks/he.PW253QAL.js"
|
|
2039
1914
|
}
|
|
2040
1915
|
}
|
|
2041
1916
|
]
|
|
2042
1917
|
},
|
|
2043
1918
|
{
|
|
2044
1919
|
"kind": "javascript-module",
|
|
2045
|
-
"path": "dist/chunks/
|
|
1920
|
+
"path": "dist/chunks/hr.LM4RITYJ.js",
|
|
2046
1921
|
"declarations": [
|
|
2047
1922
|
{
|
|
2048
1923
|
"kind": "variable",
|
|
2049
|
-
"name": "
|
|
1924
|
+
"name": "t",
|
|
2050
1925
|
"default": "e"
|
|
2051
1926
|
}
|
|
2052
1927
|
],
|
|
@@ -2055,122 +1930,61 @@
|
|
|
2055
1930
|
"kind": "js",
|
|
2056
1931
|
"name": "templates",
|
|
2057
1932
|
"declaration": {
|
|
2058
|
-
"name": "
|
|
2059
|
-
"module": "dist/chunks/
|
|
1933
|
+
"name": "t",
|
|
1934
|
+
"module": "dist/chunks/hr.LM4RITYJ.js"
|
|
2060
1935
|
}
|
|
2061
1936
|
}
|
|
2062
1937
|
]
|
|
2063
1938
|
},
|
|
2064
1939
|
{
|
|
2065
1940
|
"kind": "javascript-module",
|
|
2066
|
-
"path": "dist/chunks/
|
|
1941
|
+
"path": "dist/chunks/hu.JGCKQA6J.js",
|
|
2067
1942
|
"declarations": [
|
|
2068
|
-
{
|
|
2069
|
-
"kind": "function",
|
|
2070
|
-
"name": "k",
|
|
2071
|
-
"parameters": [
|
|
2072
|
-
{
|
|
2073
|
-
"name": "c"
|
|
2074
|
-
}
|
|
2075
|
-
]
|
|
2076
|
-
},
|
|
2077
1943
|
{
|
|
2078
1944
|
"kind": "variable",
|
|
2079
|
-
"name": "
|
|
2080
|
-
"default": "
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
"kind": "function",
|
|
2084
|
-
"name": "l",
|
|
2085
|
-
"parameters": [
|
|
2086
|
-
{
|
|
2087
|
-
"name": "c"
|
|
2088
|
-
},
|
|
2089
|
-
{
|
|
2090
|
-
"name": "a"
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
"name": "b"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"name": "e"
|
|
2097
|
-
}
|
|
2098
|
-
]
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
"kind": "function",
|
|
2102
|
-
"name": "m",
|
|
2103
|
-
"parameters": [
|
|
2104
|
-
{
|
|
2105
|
-
"name": "c"
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"name": "a"
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"name": "b"
|
|
2112
|
-
}
|
|
2113
|
-
]
|
|
1945
|
+
"name": "s",
|
|
1946
|
+
"default": "e"
|
|
2114
1947
|
}
|
|
2115
1948
|
],
|
|
2116
1949
|
"exports": [
|
|
2117
1950
|
{
|
|
2118
1951
|
"kind": "js",
|
|
2119
|
-
"name": "
|
|
2120
|
-
"declaration": {
|
|
2121
|
-
"name": "k",
|
|
2122
|
-
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2123
|
-
}
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
"kind": "js",
|
|
2127
|
-
"name": "b",
|
|
2128
|
-
"declaration": {
|
|
2129
|
-
"name": "l",
|
|
2130
|
-
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2131
|
-
}
|
|
2132
|
-
},
|
|
2133
|
-
{
|
|
2134
|
-
"kind": "js",
|
|
2135
|
-
"name": "c",
|
|
1952
|
+
"name": "templates",
|
|
2136
1953
|
"declaration": {
|
|
2137
|
-
"name": "
|
|
2138
|
-
"module": "dist/chunks/
|
|
1954
|
+
"name": "s",
|
|
1955
|
+
"module": "dist/chunks/hu.JGCKQA6J.js"
|
|
2139
1956
|
}
|
|
2140
1957
|
}
|
|
2141
1958
|
]
|
|
2142
1959
|
},
|
|
2143
1960
|
{
|
|
2144
1961
|
"kind": "javascript-module",
|
|
2145
|
-
"path": "dist/chunks/
|
|
1962
|
+
"path": "dist/chunks/id.VBXULDDY.js",
|
|
2146
1963
|
"declarations": [
|
|
2147
1964
|
{
|
|
2148
1965
|
"kind": "variable",
|
|
2149
|
-
"name": "
|
|
2150
|
-
"
|
|
2151
|
-
"text": "object"
|
|
2152
|
-
},
|
|
2153
|
-
"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\"}"
|
|
1966
|
+
"name": "r",
|
|
1967
|
+
"default": "a"
|
|
2154
1968
|
}
|
|
2155
1969
|
],
|
|
2156
1970
|
"exports": [
|
|
2157
1971
|
{
|
|
2158
1972
|
"kind": "js",
|
|
2159
|
-
"name": "
|
|
1973
|
+
"name": "templates",
|
|
2160
1974
|
"declaration": {
|
|
2161
|
-
"name": "
|
|
2162
|
-
"module": "dist/chunks/
|
|
1975
|
+
"name": "r",
|
|
1976
|
+
"module": "dist/chunks/id.VBXULDDY.js"
|
|
2163
1977
|
}
|
|
2164
1978
|
}
|
|
2165
1979
|
]
|
|
2166
1980
|
},
|
|
2167
1981
|
{
|
|
2168
1982
|
"kind": "javascript-module",
|
|
2169
|
-
"path": "dist/chunks/
|
|
1983
|
+
"path": "dist/chunks/it.7Q6BFLDK.js",
|
|
2170
1984
|
"declarations": [
|
|
2171
1985
|
{
|
|
2172
1986
|
"kind": "variable",
|
|
2173
|
-
"name": "
|
|
1987
|
+
"name": "r",
|
|
2174
1988
|
"default": "e"
|
|
2175
1989
|
}
|
|
2176
1990
|
],
|
|
@@ -2179,19 +1993,19 @@
|
|
|
2179
1993
|
"kind": "js",
|
|
2180
1994
|
"name": "templates",
|
|
2181
1995
|
"declaration": {
|
|
2182
|
-
"name": "
|
|
2183
|
-
"module": "dist/chunks/
|
|
1996
|
+
"name": "r",
|
|
1997
|
+
"module": "dist/chunks/it.7Q6BFLDK.js"
|
|
2184
1998
|
}
|
|
2185
1999
|
}
|
|
2186
2000
|
]
|
|
2187
2001
|
},
|
|
2188
2002
|
{
|
|
2189
2003
|
"kind": "javascript-module",
|
|
2190
|
-
"path": "dist/chunks/
|
|
2004
|
+
"path": "dist/chunks/ja.QOC76SSC.js",
|
|
2191
2005
|
"declarations": [
|
|
2192
2006
|
{
|
|
2193
2007
|
"kind": "variable",
|
|
2194
|
-
"name": "
|
|
2008
|
+
"name": "o",
|
|
2195
2009
|
"default": "e"
|
|
2196
2010
|
}
|
|
2197
2011
|
],
|
|
@@ -2200,19 +2014,19 @@
|
|
|
2200
2014
|
"kind": "js",
|
|
2201
2015
|
"name": "templates",
|
|
2202
2016
|
"declaration": {
|
|
2203
|
-
"name": "
|
|
2204
|
-
"module": "dist/chunks/
|
|
2017
|
+
"name": "o",
|
|
2018
|
+
"module": "dist/chunks/ja.QOC76SSC.js"
|
|
2205
2019
|
}
|
|
2206
2020
|
}
|
|
2207
2021
|
]
|
|
2208
2022
|
},
|
|
2209
2023
|
{
|
|
2210
2024
|
"kind": "javascript-module",
|
|
2211
|
-
"path": "dist/chunks/
|
|
2025
|
+
"path": "dist/chunks/ko.BANZIFNH.js",
|
|
2212
2026
|
"declarations": [
|
|
2213
2027
|
{
|
|
2214
2028
|
"kind": "variable",
|
|
2215
|
-
"name": "
|
|
2029
|
+
"name": "o",
|
|
2216
2030
|
"default": "e"
|
|
2217
2031
|
}
|
|
2218
2032
|
],
|
|
@@ -2221,20 +2035,20 @@
|
|
|
2221
2035
|
"kind": "js",
|
|
2222
2036
|
"name": "templates",
|
|
2223
2037
|
"declaration": {
|
|
2224
|
-
"name": "
|
|
2225
|
-
"module": "dist/chunks/
|
|
2038
|
+
"name": "o",
|
|
2039
|
+
"module": "dist/chunks/ko.BANZIFNH.js"
|
|
2226
2040
|
}
|
|
2227
2041
|
}
|
|
2228
2042
|
]
|
|
2229
2043
|
},
|
|
2230
2044
|
{
|
|
2231
2045
|
"kind": "javascript-module",
|
|
2232
|
-
"path": "dist/chunks/
|
|
2046
|
+
"path": "dist/chunks/lt-LT.Q2SRJOKH.js",
|
|
2233
2047
|
"declarations": [
|
|
2234
2048
|
{
|
|
2235
2049
|
"kind": "variable",
|
|
2236
|
-
"name": "
|
|
2237
|
-
"default": "
|
|
2050
|
+
"name": "t",
|
|
2051
|
+
"default": "a"
|
|
2238
2052
|
}
|
|
2239
2053
|
],
|
|
2240
2054
|
"exports": [
|
|
@@ -2242,20 +2056,20 @@
|
|
|
2242
2056
|
"kind": "js",
|
|
2243
2057
|
"name": "templates",
|
|
2244
2058
|
"declaration": {
|
|
2245
|
-
"name": "
|
|
2246
|
-
"module": "dist/chunks/
|
|
2059
|
+
"name": "t",
|
|
2060
|
+
"module": "dist/chunks/lt-LT.Q2SRJOKH.js"
|
|
2247
2061
|
}
|
|
2248
2062
|
}
|
|
2249
2063
|
]
|
|
2250
2064
|
},
|
|
2251
2065
|
{
|
|
2252
2066
|
"kind": "javascript-module",
|
|
2253
|
-
"path": "dist/chunks/
|
|
2067
|
+
"path": "dist/chunks/lt.XMNFEN5T.js",
|
|
2254
2068
|
"declarations": [
|
|
2255
2069
|
{
|
|
2256
2070
|
"kind": "variable",
|
|
2257
2071
|
"name": "o",
|
|
2258
|
-
"default": "
|
|
2072
|
+
"default": "a"
|
|
2259
2073
|
}
|
|
2260
2074
|
],
|
|
2261
2075
|
"exports": [
|
|
@@ -2264,19 +2078,19 @@
|
|
|
2264
2078
|
"name": "templates",
|
|
2265
2079
|
"declaration": {
|
|
2266
2080
|
"name": "o",
|
|
2267
|
-
"module": "dist/chunks/
|
|
2081
|
+
"module": "dist/chunks/lt.XMNFEN5T.js"
|
|
2268
2082
|
}
|
|
2269
2083
|
}
|
|
2270
2084
|
]
|
|
2271
2085
|
},
|
|
2272
2086
|
{
|
|
2273
2087
|
"kind": "javascript-module",
|
|
2274
|
-
"path": "dist/chunks/
|
|
2088
|
+
"path": "dist/chunks/lv-LV.3AJDTMU5.js",
|
|
2275
2089
|
"declarations": [
|
|
2276
2090
|
{
|
|
2277
2091
|
"kind": "variable",
|
|
2278
|
-
"name": "
|
|
2279
|
-
"default": "
|
|
2092
|
+
"name": "t",
|
|
2093
|
+
"default": "a"
|
|
2280
2094
|
}
|
|
2281
2095
|
],
|
|
2282
2096
|
"exports": [
|
|
@@ -2284,20 +2098,20 @@
|
|
|
2284
2098
|
"kind": "js",
|
|
2285
2099
|
"name": "templates",
|
|
2286
2100
|
"declaration": {
|
|
2287
|
-
"name": "
|
|
2288
|
-
"module": "dist/chunks/
|
|
2101
|
+
"name": "t",
|
|
2102
|
+
"module": "dist/chunks/lv-LV.3AJDTMU5.js"
|
|
2289
2103
|
}
|
|
2290
2104
|
}
|
|
2291
2105
|
]
|
|
2292
2106
|
},
|
|
2293
2107
|
{
|
|
2294
2108
|
"kind": "javascript-module",
|
|
2295
|
-
"path": "dist/chunks/
|
|
2109
|
+
"path": "dist/chunks/lv.TFPDXNEV.js",
|
|
2296
2110
|
"declarations": [
|
|
2297
2111
|
{
|
|
2298
2112
|
"kind": "variable",
|
|
2299
|
-
"name": "
|
|
2300
|
-
"default": "
|
|
2113
|
+
"name": "t",
|
|
2114
|
+
"default": "a"
|
|
2301
2115
|
}
|
|
2302
2116
|
],
|
|
2303
2117
|
"exports": [
|
|
@@ -2305,20 +2119,20 @@
|
|
|
2305
2119
|
"kind": "js",
|
|
2306
2120
|
"name": "templates",
|
|
2307
2121
|
"declaration": {
|
|
2308
|
-
"name": "
|
|
2309
|
-
"module": "dist/chunks/
|
|
2122
|
+
"name": "t",
|
|
2123
|
+
"module": "dist/chunks/lv.TFPDXNEV.js"
|
|
2310
2124
|
}
|
|
2311
2125
|
}
|
|
2312
2126
|
]
|
|
2313
2127
|
},
|
|
2314
2128
|
{
|
|
2315
2129
|
"kind": "javascript-module",
|
|
2316
|
-
"path": "dist/chunks/
|
|
2130
|
+
"path": "dist/chunks/ms.FPTX4NM4.js",
|
|
2317
2131
|
"declarations": [
|
|
2318
2132
|
{
|
|
2319
2133
|
"kind": "variable",
|
|
2320
2134
|
"name": "i",
|
|
2321
|
-
"default": "
|
|
2135
|
+
"default": "a"
|
|
2322
2136
|
}
|
|
2323
2137
|
],
|
|
2324
2138
|
"exports": [
|
|
@@ -2327,18 +2141,18 @@
|
|
|
2327
2141
|
"name": "templates",
|
|
2328
2142
|
"declaration": {
|
|
2329
2143
|
"name": "i",
|
|
2330
|
-
"module": "dist/chunks/
|
|
2144
|
+
"module": "dist/chunks/ms.FPTX4NM4.js"
|
|
2331
2145
|
}
|
|
2332
2146
|
}
|
|
2333
2147
|
]
|
|
2334
2148
|
},
|
|
2335
2149
|
{
|
|
2336
2150
|
"kind": "javascript-module",
|
|
2337
|
-
"path": "dist/chunks/
|
|
2151
|
+
"path": "dist/chunks/nb.CAFSKRQ2.js",
|
|
2338
2152
|
"declarations": [
|
|
2339
2153
|
{
|
|
2340
2154
|
"kind": "variable",
|
|
2341
|
-
"name": "
|
|
2155
|
+
"name": "a",
|
|
2342
2156
|
"default": "e"
|
|
2343
2157
|
}
|
|
2344
2158
|
],
|
|
@@ -2347,19 +2161,19 @@
|
|
|
2347
2161
|
"kind": "js",
|
|
2348
2162
|
"name": "templates",
|
|
2349
2163
|
"declaration": {
|
|
2350
|
-
"name": "
|
|
2351
|
-
"module": "dist/chunks/
|
|
2164
|
+
"name": "a",
|
|
2165
|
+
"module": "dist/chunks/nb.CAFSKRQ2.js"
|
|
2352
2166
|
}
|
|
2353
2167
|
}
|
|
2354
2168
|
]
|
|
2355
2169
|
},
|
|
2356
2170
|
{
|
|
2357
2171
|
"kind": "javascript-module",
|
|
2358
|
-
"path": "dist/chunks/
|
|
2172
|
+
"path": "dist/chunks/nl.7BPSDYTC.js",
|
|
2359
2173
|
"declarations": [
|
|
2360
2174
|
{
|
|
2361
2175
|
"kind": "variable",
|
|
2362
|
-
"name": "
|
|
2176
|
+
"name": "n",
|
|
2363
2177
|
"default": "e"
|
|
2364
2178
|
}
|
|
2365
2179
|
],
|
|
@@ -2368,20 +2182,20 @@
|
|
|
2368
2182
|
"kind": "js",
|
|
2369
2183
|
"name": "templates",
|
|
2370
2184
|
"declaration": {
|
|
2371
|
-
"name": "
|
|
2372
|
-
"module": "dist/chunks/
|
|
2185
|
+
"name": "n",
|
|
2186
|
+
"module": "dist/chunks/nl.7BPSDYTC.js"
|
|
2373
2187
|
}
|
|
2374
2188
|
}
|
|
2375
2189
|
]
|
|
2376
2190
|
},
|
|
2377
2191
|
{
|
|
2378
2192
|
"kind": "javascript-module",
|
|
2379
|
-
"path": "dist/chunks/
|
|
2193
|
+
"path": "dist/chunks/nl_NL.6ZVCFPVW.js",
|
|
2380
2194
|
"declarations": [
|
|
2381
2195
|
{
|
|
2382
2196
|
"kind": "variable",
|
|
2383
2197
|
"name": "n",
|
|
2384
|
-
"default": "
|
|
2198
|
+
"default": "e"
|
|
2385
2199
|
}
|
|
2386
2200
|
],
|
|
2387
2201
|
"exports": [
|
|
@@ -2390,19 +2204,19 @@
|
|
|
2390
2204
|
"name": "templates",
|
|
2391
2205
|
"declaration": {
|
|
2392
2206
|
"name": "n",
|
|
2393
|
-
"module": "dist/chunks/
|
|
2207
|
+
"module": "dist/chunks/nl_NL.6ZVCFPVW.js"
|
|
2394
2208
|
}
|
|
2395
2209
|
}
|
|
2396
2210
|
]
|
|
2397
2211
|
},
|
|
2398
2212
|
{
|
|
2399
2213
|
"kind": "javascript-module",
|
|
2400
|
-
"path": "dist/chunks/
|
|
2214
|
+
"path": "dist/chunks/pl.RF34QM23.js",
|
|
2401
2215
|
"declarations": [
|
|
2402
2216
|
{
|
|
2403
2217
|
"kind": "variable",
|
|
2404
2218
|
"name": "i",
|
|
2405
|
-
"default": "
|
|
2219
|
+
"default": "a"
|
|
2406
2220
|
}
|
|
2407
2221
|
],
|
|
2408
2222
|
"exports": [
|
|
@@ -2411,18 +2225,18 @@
|
|
|
2411
2225
|
"name": "templates",
|
|
2412
2226
|
"declaration": {
|
|
2413
2227
|
"name": "i",
|
|
2414
|
-
"module": "dist/chunks/
|
|
2228
|
+
"module": "dist/chunks/pl.RF34QM23.js"
|
|
2415
2229
|
}
|
|
2416
2230
|
}
|
|
2417
2231
|
]
|
|
2418
2232
|
},
|
|
2419
2233
|
{
|
|
2420
2234
|
"kind": "javascript-module",
|
|
2421
|
-
"path": "dist/chunks/
|
|
2235
|
+
"path": "dist/chunks/pt-BR.AKDHLRUA.js",
|
|
2422
2236
|
"declarations": [
|
|
2423
2237
|
{
|
|
2424
2238
|
"kind": "variable",
|
|
2425
|
-
"name": "
|
|
2239
|
+
"name": "t",
|
|
2426
2240
|
"default": "e"
|
|
2427
2241
|
}
|
|
2428
2242
|
],
|
|
@@ -2431,15 +2245,15 @@
|
|
|
2431
2245
|
"kind": "js",
|
|
2432
2246
|
"name": "templates",
|
|
2433
2247
|
"declaration": {
|
|
2434
|
-
"name": "
|
|
2435
|
-
"module": "dist/chunks/
|
|
2248
|
+
"name": "t",
|
|
2249
|
+
"module": "dist/chunks/pt-BR.AKDHLRUA.js"
|
|
2436
2250
|
}
|
|
2437
2251
|
}
|
|
2438
2252
|
]
|
|
2439
2253
|
},
|
|
2440
2254
|
{
|
|
2441
2255
|
"kind": "javascript-module",
|
|
2442
|
-
"path": "dist/chunks/
|
|
2256
|
+
"path": "dist/chunks/pt.VBALOWHZ.js",
|
|
2443
2257
|
"declarations": [
|
|
2444
2258
|
{
|
|
2445
2259
|
"kind": "variable",
|
|
@@ -2453,18 +2267,18 @@
|
|
|
2453
2267
|
"name": "templates",
|
|
2454
2268
|
"declaration": {
|
|
2455
2269
|
"name": "t",
|
|
2456
|
-
"module": "dist/chunks/
|
|
2270
|
+
"module": "dist/chunks/pt.VBALOWHZ.js"
|
|
2457
2271
|
}
|
|
2458
2272
|
}
|
|
2459
2273
|
]
|
|
2460
2274
|
},
|
|
2461
2275
|
{
|
|
2462
2276
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "dist/chunks/
|
|
2277
|
+
"path": "dist/chunks/ro.WN7VCF27.js",
|
|
2464
2278
|
"declarations": [
|
|
2465
2279
|
{
|
|
2466
2280
|
"kind": "variable",
|
|
2467
|
-
"name": "
|
|
2281
|
+
"name": "i",
|
|
2468
2282
|
"default": "e"
|
|
2469
2283
|
}
|
|
2470
2284
|
],
|
|
@@ -2473,20 +2287,20 @@
|
|
|
2473
2287
|
"kind": "js",
|
|
2474
2288
|
"name": "templates",
|
|
2475
2289
|
"declaration": {
|
|
2476
|
-
"name": "
|
|
2477
|
-
"module": "dist/chunks/
|
|
2290
|
+
"name": "i",
|
|
2291
|
+
"module": "dist/chunks/ro.WN7VCF27.js"
|
|
2478
2292
|
}
|
|
2479
2293
|
}
|
|
2480
2294
|
]
|
|
2481
2295
|
},
|
|
2482
2296
|
{
|
|
2483
2297
|
"kind": "javascript-module",
|
|
2484
|
-
"path": "dist/chunks/
|
|
2298
|
+
"path": "dist/chunks/ru.ICXGVGRR.js",
|
|
2485
2299
|
"declarations": [
|
|
2486
2300
|
{
|
|
2487
2301
|
"kind": "variable",
|
|
2488
|
-
"name": "
|
|
2489
|
-
"default": "
|
|
2302
|
+
"name": "o",
|
|
2303
|
+
"default": "e"
|
|
2490
2304
|
}
|
|
2491
2305
|
],
|
|
2492
2306
|
"exports": [
|
|
@@ -2494,15 +2308,15 @@
|
|
|
2494
2308
|
"kind": "js",
|
|
2495
2309
|
"name": "templates",
|
|
2496
2310
|
"declaration": {
|
|
2497
|
-
"name": "
|
|
2498
|
-
"module": "dist/chunks/
|
|
2311
|
+
"name": "o",
|
|
2312
|
+
"module": "dist/chunks/ru.ICXGVGRR.js"
|
|
2499
2313
|
}
|
|
2500
2314
|
}
|
|
2501
2315
|
]
|
|
2502
2316
|
},
|
|
2503
2317
|
{
|
|
2504
2318
|
"kind": "javascript-module",
|
|
2505
|
-
"path": "dist/chunks/
|
|
2319
|
+
"path": "dist/chunks/sk.SIP5JIOX.js",
|
|
2506
2320
|
"declarations": [
|
|
2507
2321
|
{
|
|
2508
2322
|
"kind": "variable",
|
|
@@ -2516,18 +2330,18 @@
|
|
|
2516
2330
|
"name": "templates",
|
|
2517
2331
|
"declaration": {
|
|
2518
2332
|
"name": "r",
|
|
2519
|
-
"module": "dist/chunks/
|
|
2333
|
+
"module": "dist/chunks/sk.SIP5JIOX.js"
|
|
2520
2334
|
}
|
|
2521
2335
|
}
|
|
2522
2336
|
]
|
|
2523
2337
|
},
|
|
2524
2338
|
{
|
|
2525
2339
|
"kind": "javascript-module",
|
|
2526
|
-
"path": "dist/chunks/
|
|
2340
|
+
"path": "dist/chunks/sl.R77UEKCA.js",
|
|
2527
2341
|
"declarations": [
|
|
2528
2342
|
{
|
|
2529
2343
|
"kind": "variable",
|
|
2530
|
-
"name": "
|
|
2344
|
+
"name": "r",
|
|
2531
2345
|
"default": "e"
|
|
2532
2346
|
}
|
|
2533
2347
|
],
|
|
@@ -2536,15 +2350,15 @@
|
|
|
2536
2350
|
"kind": "js",
|
|
2537
2351
|
"name": "templates",
|
|
2538
2352
|
"declaration": {
|
|
2539
|
-
"name": "
|
|
2540
|
-
"module": "dist/chunks/
|
|
2353
|
+
"name": "r",
|
|
2354
|
+
"module": "dist/chunks/sl.R77UEKCA.js"
|
|
2541
2355
|
}
|
|
2542
2356
|
}
|
|
2543
2357
|
]
|
|
2544
2358
|
},
|
|
2545
2359
|
{
|
|
2546
2360
|
"kind": "javascript-module",
|
|
2547
|
-
"path": "dist/chunks/
|
|
2361
|
+
"path": "dist/chunks/sr-RS.6M2YSTDX.js",
|
|
2548
2362
|
"declarations": [
|
|
2549
2363
|
{
|
|
2550
2364
|
"kind": "variable",
|
|
@@ -2558,19 +2372,19 @@
|
|
|
2558
2372
|
"name": "templates",
|
|
2559
2373
|
"declaration": {
|
|
2560
2374
|
"name": "o",
|
|
2561
|
-
"module": "dist/chunks/
|
|
2375
|
+
"module": "dist/chunks/sr-RS.6M2YSTDX.js"
|
|
2562
2376
|
}
|
|
2563
2377
|
}
|
|
2564
2378
|
]
|
|
2565
2379
|
},
|
|
2566
2380
|
{
|
|
2567
2381
|
"kind": "javascript-module",
|
|
2568
|
-
"path": "dist/chunks/
|
|
2382
|
+
"path": "dist/chunks/sv.33ZY4CDS.js",
|
|
2569
2383
|
"declarations": [
|
|
2570
2384
|
{
|
|
2571
2385
|
"kind": "variable",
|
|
2572
|
-
"name": "
|
|
2573
|
-
"default": "
|
|
2386
|
+
"name": "n",
|
|
2387
|
+
"default": "e"
|
|
2574
2388
|
}
|
|
2575
2389
|
],
|
|
2576
2390
|
"exports": [
|
|
@@ -2578,20 +2392,20 @@
|
|
|
2578
2392
|
"kind": "js",
|
|
2579
2393
|
"name": "templates",
|
|
2580
2394
|
"declaration": {
|
|
2581
|
-
"name": "
|
|
2582
|
-
"module": "dist/chunks/
|
|
2395
|
+
"name": "n",
|
|
2396
|
+
"module": "dist/chunks/sv.33ZY4CDS.js"
|
|
2583
2397
|
}
|
|
2584
2398
|
}
|
|
2585
2399
|
]
|
|
2586
2400
|
},
|
|
2587
2401
|
{
|
|
2588
2402
|
"kind": "javascript-module",
|
|
2589
|
-
"path": "dist/chunks/
|
|
2403
|
+
"path": "dist/chunks/th.M27YUIZC.js",
|
|
2590
2404
|
"declarations": [
|
|
2591
2405
|
{
|
|
2592
2406
|
"kind": "variable",
|
|
2593
2407
|
"name": "o",
|
|
2594
|
-
"default": "
|
|
2408
|
+
"default": "e"
|
|
2595
2409
|
}
|
|
2596
2410
|
],
|
|
2597
2411
|
"exports": [
|
|
@@ -2600,19 +2414,19 @@
|
|
|
2600
2414
|
"name": "templates",
|
|
2601
2415
|
"declaration": {
|
|
2602
2416
|
"name": "o",
|
|
2603
|
-
"module": "dist/chunks/
|
|
2417
|
+
"module": "dist/chunks/th.M27YUIZC.js"
|
|
2604
2418
|
}
|
|
2605
2419
|
}
|
|
2606
2420
|
]
|
|
2607
2421
|
},
|
|
2608
2422
|
{
|
|
2609
2423
|
"kind": "javascript-module",
|
|
2610
|
-
"path": "dist/chunks/
|
|
2424
|
+
"path": "dist/chunks/tr.Q2SIY6NA.js",
|
|
2611
2425
|
"declarations": [
|
|
2612
2426
|
{
|
|
2613
2427
|
"kind": "variable",
|
|
2614
|
-
"name": "
|
|
2615
|
-
"default": "
|
|
2428
|
+
"name": "n",
|
|
2429
|
+
"default": "e"
|
|
2616
2430
|
}
|
|
2617
2431
|
],
|
|
2618
2432
|
"exports": [
|
|
@@ -2620,20 +2434,20 @@
|
|
|
2620
2434
|
"kind": "js",
|
|
2621
2435
|
"name": "templates",
|
|
2622
2436
|
"declaration": {
|
|
2623
|
-
"name": "
|
|
2624
|
-
"module": "dist/chunks/
|
|
2437
|
+
"name": "n",
|
|
2438
|
+
"module": "dist/chunks/tr.Q2SIY6NA.js"
|
|
2625
2439
|
}
|
|
2626
2440
|
}
|
|
2627
2441
|
]
|
|
2628
2442
|
},
|
|
2629
2443
|
{
|
|
2630
2444
|
"kind": "javascript-module",
|
|
2631
|
-
"path": "dist/chunks/
|
|
2445
|
+
"path": "dist/chunks/uk-UA.EJZOGSJR.js",
|
|
2632
2446
|
"declarations": [
|
|
2633
2447
|
{
|
|
2634
2448
|
"kind": "variable",
|
|
2635
|
-
"name": "
|
|
2636
|
-
"default": "
|
|
2449
|
+
"name": "o",
|
|
2450
|
+
"default": "e"
|
|
2637
2451
|
}
|
|
2638
2452
|
],
|
|
2639
2453
|
"exports": [
|
|
@@ -2641,20 +2455,20 @@
|
|
|
2641
2455
|
"kind": "js",
|
|
2642
2456
|
"name": "templates",
|
|
2643
2457
|
"declaration": {
|
|
2644
|
-
"name": "
|
|
2645
|
-
"module": "dist/chunks/
|
|
2458
|
+
"name": "o",
|
|
2459
|
+
"module": "dist/chunks/uk-UA.EJZOGSJR.js"
|
|
2646
2460
|
}
|
|
2647
2461
|
}
|
|
2648
2462
|
]
|
|
2649
2463
|
},
|
|
2650
2464
|
{
|
|
2651
2465
|
"kind": "javascript-module",
|
|
2652
|
-
"path": "dist/chunks/
|
|
2466
|
+
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
2653
2467
|
"declarations": [
|
|
2654
2468
|
{
|
|
2655
2469
|
"kind": "variable",
|
|
2656
|
-
"name": "
|
|
2657
|
-
"default": "
|
|
2470
|
+
"name": "a",
|
|
2471
|
+
"default": "n"
|
|
2658
2472
|
}
|
|
2659
2473
|
],
|
|
2660
2474
|
"exports": [
|
|
@@ -2662,20 +2476,20 @@
|
|
|
2662
2476
|
"kind": "js",
|
|
2663
2477
|
"name": "templates",
|
|
2664
2478
|
"declaration": {
|
|
2665
|
-
"name": "
|
|
2666
|
-
"module": "dist/chunks/
|
|
2479
|
+
"name": "a",
|
|
2480
|
+
"module": "dist/chunks/vi.3RROGLXM.js"
|
|
2667
2481
|
}
|
|
2668
2482
|
}
|
|
2669
2483
|
]
|
|
2670
2484
|
},
|
|
2671
2485
|
{
|
|
2672
2486
|
"kind": "javascript-module",
|
|
2673
|
-
"path": "dist/chunks/
|
|
2487
|
+
"path": "dist/chunks/zf.GGWFQ3Y7.js",
|
|
2674
2488
|
"declarations": [
|
|
2675
2489
|
{
|
|
2676
2490
|
"kind": "variable",
|
|
2677
2491
|
"name": "a",
|
|
2678
|
-
"default": "
|
|
2492
|
+
"default": "t"
|
|
2679
2493
|
}
|
|
2680
2494
|
],
|
|
2681
2495
|
"exports": [
|
|
@@ -2684,18 +2498,18 @@
|
|
|
2684
2498
|
"name": "templates",
|
|
2685
2499
|
"declaration": {
|
|
2686
2500
|
"name": "a",
|
|
2687
|
-
"module": "dist/chunks/
|
|
2501
|
+
"module": "dist/chunks/zf.GGWFQ3Y7.js"
|
|
2688
2502
|
}
|
|
2689
2503
|
}
|
|
2690
2504
|
]
|
|
2691
2505
|
},
|
|
2692
2506
|
{
|
|
2693
2507
|
"kind": "javascript-module",
|
|
2694
|
-
"path": "dist/chunks/
|
|
2508
|
+
"path": "dist/chunks/zh-CN.MQHNRMN4.js",
|
|
2695
2509
|
"declarations": [
|
|
2696
2510
|
{
|
|
2697
2511
|
"kind": "variable",
|
|
2698
|
-
"name": "
|
|
2512
|
+
"name": "o",
|
|
2699
2513
|
"default": "e"
|
|
2700
2514
|
}
|
|
2701
2515
|
],
|
|
@@ -2704,19 +2518,19 @@
|
|
|
2704
2518
|
"kind": "js",
|
|
2705
2519
|
"name": "templates",
|
|
2706
2520
|
"declaration": {
|
|
2707
|
-
"name": "
|
|
2708
|
-
"module": "dist/chunks/
|
|
2521
|
+
"name": "o",
|
|
2522
|
+
"module": "dist/chunks/zh-CN.MQHNRMN4.js"
|
|
2709
2523
|
}
|
|
2710
2524
|
}
|
|
2711
2525
|
]
|
|
2712
2526
|
},
|
|
2713
2527
|
{
|
|
2714
2528
|
"kind": "javascript-module",
|
|
2715
|
-
"path": "dist/chunks/
|
|
2529
|
+
"path": "dist/chunks/zh-HK.WNR7XUSX.js",
|
|
2716
2530
|
"declarations": [
|
|
2717
2531
|
{
|
|
2718
2532
|
"kind": "variable",
|
|
2719
|
-
"name": "
|
|
2533
|
+
"name": "o",
|
|
2720
2534
|
"default": "e"
|
|
2721
2535
|
}
|
|
2722
2536
|
],
|
|
@@ -2725,20 +2539,20 @@
|
|
|
2725
2539
|
"kind": "js",
|
|
2726
2540
|
"name": "templates",
|
|
2727
2541
|
"declaration": {
|
|
2728
|
-
"name": "
|
|
2729
|
-
"module": "dist/chunks/
|
|
2542
|
+
"name": "o",
|
|
2543
|
+
"module": "dist/chunks/zh-HK.WNR7XUSX.js"
|
|
2730
2544
|
}
|
|
2731
2545
|
}
|
|
2732
2546
|
]
|
|
2733
2547
|
},
|
|
2734
2548
|
{
|
|
2735
2549
|
"kind": "javascript-module",
|
|
2736
|
-
"path": "dist/chunks/
|
|
2550
|
+
"path": "dist/chunks/zh-TW.GNCY2PNY.js",
|
|
2737
2551
|
"declarations": [
|
|
2738
2552
|
{
|
|
2739
2553
|
"kind": "variable",
|
|
2740
|
-
"name": "
|
|
2741
|
-
"default": "
|
|
2554
|
+
"name": "o",
|
|
2555
|
+
"default": "e"
|
|
2742
2556
|
}
|
|
2743
2557
|
],
|
|
2744
2558
|
"exports": [
|
|
@@ -2746,348 +2560,534 @@
|
|
|
2746
2560
|
"kind": "js",
|
|
2747
2561
|
"name": "templates",
|
|
2748
2562
|
"declaration": {
|
|
2749
|
-
"name": "
|
|
2750
|
-
"module": "dist/chunks/
|
|
2563
|
+
"name": "o",
|
|
2564
|
+
"module": "dist/chunks/zh-TW.GNCY2PNY.js"
|
|
2751
2565
|
}
|
|
2752
2566
|
}
|
|
2753
2567
|
]
|
|
2754
2568
|
},
|
|
2755
2569
|
{
|
|
2756
2570
|
"kind": "javascript-module",
|
|
2757
|
-
"path": "
|
|
2571
|
+
"path": "e2e/mocks/card-3ds.ts",
|
|
2758
2572
|
"declarations": [
|
|
2759
2573
|
{
|
|
2760
2574
|
"kind": "variable",
|
|
2761
|
-
"name": "
|
|
2762
|
-
"
|
|
2575
|
+
"name": "settings",
|
|
2576
|
+
"type": {
|
|
2577
|
+
"text": "string"
|
|
2578
|
+
},
|
|
2579
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7fX0='"
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"kind": "variable",
|
|
2583
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2584
|
+
"type": {
|
|
2585
|
+
"text": "object"
|
|
2586
|
+
},
|
|
2587
|
+
"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: {}, }"
|
|
2763
2588
|
}
|
|
2764
2589
|
],
|
|
2765
2590
|
"exports": [
|
|
2766
2591
|
{
|
|
2767
2592
|
"kind": "js",
|
|
2768
|
-
"name": "
|
|
2593
|
+
"name": "settings",
|
|
2769
2594
|
"declaration": {
|
|
2770
|
-
"name": "
|
|
2771
|
-
"module": "
|
|
2595
|
+
"name": "settings",
|
|
2596
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
2772
2597
|
}
|
|
2773
|
-
}
|
|
2774
|
-
]
|
|
2775
|
-
},
|
|
2776
|
-
{
|
|
2777
|
-
"kind": "javascript-module",
|
|
2778
|
-
"path": "dist/chunks/pt.VBALOWHZ.js",
|
|
2779
|
-
"declarations": [
|
|
2780
|
-
{
|
|
2781
|
-
"kind": "variable",
|
|
2782
|
-
"name": "t",
|
|
2783
|
-
"default": "e"
|
|
2784
|
-
}
|
|
2785
|
-
],
|
|
2786
|
-
"exports": [
|
|
2598
|
+
},
|
|
2787
2599
|
{
|
|
2788
2600
|
"kind": "js",
|
|
2789
|
-
"name": "
|
|
2601
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2790
2602
|
"declaration": {
|
|
2791
|
-
"name": "
|
|
2792
|
-
"module": "
|
|
2603
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2604
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
2793
2605
|
}
|
|
2794
2606
|
}
|
|
2795
2607
|
]
|
|
2796
2608
|
},
|
|
2797
2609
|
{
|
|
2798
2610
|
"kind": "javascript-module",
|
|
2799
|
-
"path": "
|
|
2611
|
+
"path": "e2e/mocks/card-basic.ts",
|
|
2800
2612
|
"declarations": [
|
|
2801
2613
|
{
|
|
2802
2614
|
"kind": "variable",
|
|
2803
|
-
"name": "
|
|
2804
|
-
"
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
"kind": "js",
|
|
2810
|
-
"name": "templates",
|
|
2811
|
-
"declaration": {
|
|
2812
|
-
"name": "i",
|
|
2813
|
-
"module": "dist/chunks/ro.WN7VCF27.js"
|
|
2814
|
-
}
|
|
2815
|
-
}
|
|
2816
|
-
]
|
|
2817
|
-
},
|
|
2818
|
-
{
|
|
2819
|
-
"kind": "javascript-module",
|
|
2820
|
-
"path": "dist/chunks/ru.ICXGVGRR.js",
|
|
2821
|
-
"declarations": [
|
|
2615
|
+
"name": "settings",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"text": "string"
|
|
2618
|
+
},
|
|
2619
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJlbnYiOiJDVVNUT01fU1RBR0lORyIsImFwaVZlcnNpb24iOiIyLjIifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnt9fQ=='"
|
|
2620
|
+
},
|
|
2822
2621
|
{
|
|
2823
2622
|
"kind": "variable",
|
|
2824
|
-
"name": "
|
|
2825
|
-
"
|
|
2623
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2624
|
+
"type": {
|
|
2625
|
+
"text": "object"
|
|
2626
|
+
},
|
|
2627
|
+
"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: {}, }"
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
"kind": "variable",
|
|
2631
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2632
|
+
"type": {
|
|
2633
|
+
"text": "string"
|
|
2634
|
+
},
|
|
2635
|
+
"default": "'4035 5010 0000 0008'"
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"kind": "variable",
|
|
2639
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
2640
|
+
"type": {
|
|
2641
|
+
"text": "string"
|
|
2642
|
+
},
|
|
2643
|
+
"default": "'4242 4242 4242 4242'"
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
"kind": "function",
|
|
2647
|
+
"name": "mockPaymentInstruments",
|
|
2648
|
+
"parameters": [
|
|
2649
|
+
{
|
|
2650
|
+
"name": "page",
|
|
2651
|
+
"type": {
|
|
2652
|
+
"text": "Page"
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
]
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
"kind": "function",
|
|
2659
|
+
"name": "mockPayments",
|
|
2660
|
+
"parameters": [
|
|
2661
|
+
{
|
|
2662
|
+
"name": "page",
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "Page"
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
]
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"kind": "function",
|
|
2671
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
2672
|
+
"parameters": [
|
|
2673
|
+
{
|
|
2674
|
+
"name": "page",
|
|
2675
|
+
"type": {
|
|
2676
|
+
"text": "Page"
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
]
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"kind": "function",
|
|
2683
|
+
"name": "mockPaymentsFailure",
|
|
2684
|
+
"parameters": [
|
|
2685
|
+
{
|
|
2686
|
+
"name": "page",
|
|
2687
|
+
"type": {
|
|
2688
|
+
"text": "Page"
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
]
|
|
2826
2692
|
}
|
|
2827
2693
|
],
|
|
2828
2694
|
"exports": [
|
|
2829
2695
|
{
|
|
2830
2696
|
"kind": "js",
|
|
2831
|
-
"name": "
|
|
2697
|
+
"name": "settings",
|
|
2832
2698
|
"declaration": {
|
|
2833
|
-
"name": "
|
|
2834
|
-
"module": "
|
|
2699
|
+
"name": "settings",
|
|
2700
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2835
2701
|
}
|
|
2836
|
-
}
|
|
2837
|
-
]
|
|
2838
|
-
},
|
|
2839
|
-
{
|
|
2840
|
-
"kind": "javascript-module",
|
|
2841
|
-
"path": "dist/chunks/sk.SIP5JIOX.js",
|
|
2842
|
-
"declarations": [
|
|
2843
|
-
{
|
|
2844
|
-
"kind": "variable",
|
|
2845
|
-
"name": "r",
|
|
2846
|
-
"default": "e"
|
|
2847
|
-
}
|
|
2848
|
-
],
|
|
2849
|
-
"exports": [
|
|
2702
|
+
},
|
|
2850
2703
|
{
|
|
2851
2704
|
"kind": "js",
|
|
2852
|
-
"name": "
|
|
2705
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2853
2706
|
"declaration": {
|
|
2854
|
-
"name": "
|
|
2855
|
-
"module": "
|
|
2707
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2708
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2856
2709
|
}
|
|
2857
|
-
}
|
|
2858
|
-
]
|
|
2859
|
-
},
|
|
2860
|
-
{
|
|
2861
|
-
"kind": "javascript-module",
|
|
2862
|
-
"path": "dist/chunks/sl.R77UEKCA.js",
|
|
2863
|
-
"declarations": [
|
|
2710
|
+
},
|
|
2864
2711
|
{
|
|
2865
|
-
"kind": "
|
|
2866
|
-
"name": "
|
|
2867
|
-
"
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2712
|
+
"kind": "js",
|
|
2713
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2714
|
+
"declaration": {
|
|
2715
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2716
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2871
2719
|
{
|
|
2872
2720
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2721
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
2874
2722
|
"declaration": {
|
|
2875
|
-
"name": "
|
|
2876
|
-
"module": "
|
|
2723
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
2724
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2877
2725
|
}
|
|
2878
|
-
}
|
|
2879
|
-
]
|
|
2880
|
-
},
|
|
2881
|
-
{
|
|
2882
|
-
"kind": "javascript-module",
|
|
2883
|
-
"path": "dist/chunks/sr-RS.6M2YSTDX.js",
|
|
2884
|
-
"declarations": [
|
|
2726
|
+
},
|
|
2885
2727
|
{
|
|
2886
|
-
"kind": "
|
|
2887
|
-
"name": "
|
|
2888
|
-
"
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2728
|
+
"kind": "js",
|
|
2729
|
+
"name": "mockPaymentInstruments",
|
|
2730
|
+
"declaration": {
|
|
2731
|
+
"name": "mockPaymentInstruments",
|
|
2732
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2892
2735
|
{
|
|
2893
2736
|
"kind": "js",
|
|
2894
|
-
"name": "
|
|
2737
|
+
"name": "mockPayments",
|
|
2895
2738
|
"declaration": {
|
|
2896
|
-
"name": "
|
|
2897
|
-
"module": "
|
|
2739
|
+
"name": "mockPayments",
|
|
2740
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2898
2741
|
}
|
|
2899
|
-
}
|
|
2900
|
-
]
|
|
2901
|
-
},
|
|
2902
|
-
{
|
|
2903
|
-
"kind": "javascript-module",
|
|
2904
|
-
"path": "dist/chunks/sv.33ZY4CDS.js",
|
|
2905
|
-
"declarations": [
|
|
2742
|
+
},
|
|
2906
2743
|
{
|
|
2907
|
-
"kind": "
|
|
2908
|
-
"name": "
|
|
2909
|
-
"
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2744
|
+
"kind": "js",
|
|
2745
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
2746
|
+
"declaration": {
|
|
2747
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
2748
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2913
2751
|
{
|
|
2914
2752
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2753
|
+
"name": "mockPaymentsFailure",
|
|
2916
2754
|
"declaration": {
|
|
2917
|
-
"name": "
|
|
2918
|
-
"module": "
|
|
2755
|
+
"name": "mockPaymentsFailure",
|
|
2756
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2919
2757
|
}
|
|
2920
2758
|
}
|
|
2921
2759
|
]
|
|
2922
2760
|
},
|
|
2923
2761
|
{
|
|
2924
2762
|
"kind": "javascript-module",
|
|
2925
|
-
"path": "
|
|
2763
|
+
"path": "e2e/mocks/klarna.ts",
|
|
2926
2764
|
"declarations": [
|
|
2927
2765
|
{
|
|
2928
2766
|
"kind": "variable",
|
|
2929
|
-
"name": "
|
|
2930
|
-
"
|
|
2767
|
+
"name": "settings",
|
|
2768
|
+
"type": {
|
|
2769
|
+
"text": "string"
|
|
2770
|
+
},
|
|
2771
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiZW52IjoiQ1VTVE9NX1NBTkRCT1giLCJhcGlWZXJzaW9uIjoiMi4zIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7fX0='"
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
"kind": "variable",
|
|
2775
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2776
|
+
"type": {
|
|
2777
|
+
"text": "object"
|
|
2778
|
+
},
|
|
2779
|
+
"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: {}, }"
|
|
2931
2780
|
}
|
|
2932
2781
|
],
|
|
2933
2782
|
"exports": [
|
|
2934
2783
|
{
|
|
2935
2784
|
"kind": "js",
|
|
2936
|
-
"name": "
|
|
2785
|
+
"name": "settings",
|
|
2937
2786
|
"declaration": {
|
|
2938
|
-
"name": "
|
|
2939
|
-
"module": "
|
|
2787
|
+
"name": "settings",
|
|
2788
|
+
"module": "e2e/mocks/klarna.ts"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"kind": "js",
|
|
2793
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2794
|
+
"declaration": {
|
|
2795
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2796
|
+
"module": "e2e/mocks/klarna.ts"
|
|
2940
2797
|
}
|
|
2941
2798
|
}
|
|
2942
2799
|
]
|
|
2943
2800
|
},
|
|
2944
2801
|
{
|
|
2945
2802
|
"kind": "javascript-module",
|
|
2946
|
-
"path": "
|
|
2803
|
+
"path": "e2e/mocks/shared.ts",
|
|
2947
2804
|
"declarations": [
|
|
2948
2805
|
{
|
|
2949
|
-
"kind": "
|
|
2950
|
-
"name": "
|
|
2951
|
-
"
|
|
2806
|
+
"kind": "function",
|
|
2807
|
+
"name": "mockConfigurationCallSBX",
|
|
2808
|
+
"parameters": [
|
|
2809
|
+
{
|
|
2810
|
+
"name": "page",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "Page"
|
|
2813
|
+
}
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"name": "config",
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "unknown"
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
]
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"kind": "function",
|
|
2825
|
+
"name": "mockConfigurationCallSTG",
|
|
2826
|
+
"parameters": [
|
|
2827
|
+
{
|
|
2828
|
+
"name": "page",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "Page"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"name": "config",
|
|
2835
|
+
"type": {
|
|
2836
|
+
"text": "unknown"
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
]
|
|
2952
2840
|
}
|
|
2953
2841
|
],
|
|
2954
2842
|
"exports": [
|
|
2955
2843
|
{
|
|
2956
2844
|
"kind": "js",
|
|
2957
|
-
"name": "
|
|
2845
|
+
"name": "mockConfigurationCallSBX",
|
|
2958
2846
|
"declaration": {
|
|
2959
|
-
"name": "
|
|
2960
|
-
"module": "
|
|
2847
|
+
"name": "mockConfigurationCallSBX",
|
|
2848
|
+
"module": "e2e/mocks/shared.ts"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "js",
|
|
2853
|
+
"name": "mockConfigurationCallSTG",
|
|
2854
|
+
"declaration": {
|
|
2855
|
+
"name": "mockConfigurationCallSTG",
|
|
2856
|
+
"module": "e2e/mocks/shared.ts"
|
|
2961
2857
|
}
|
|
2962
2858
|
}
|
|
2963
2859
|
]
|
|
2964
2860
|
},
|
|
2965
2861
|
{
|
|
2966
2862
|
"kind": "javascript-module",
|
|
2967
|
-
"path": "
|
|
2863
|
+
"path": "e2e/mocks/vaulted-paypal.ts",
|
|
2968
2864
|
"declarations": [
|
|
2969
2865
|
{
|
|
2970
2866
|
"kind": "variable",
|
|
2971
|
-
"name": "
|
|
2972
|
-
"
|
|
2867
|
+
"name": "settings",
|
|
2868
|
+
"type": {
|
|
2869
|
+
"text": "string"
|
|
2870
|
+
},
|
|
2871
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwidmF1bHRPbkFncmVlbWVudCI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmMzA4ODVmMC04MjljLTRmMGEtYjIyMi1iN2Y1OWQzNzZlYWYiLCJhcGlWZXJzaW9uIjoiMi40IiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fX0='"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"kind": "variable",
|
|
2875
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2876
|
+
"type": {
|
|
2877
|
+
"text": "object"
|
|
2878
|
+
},
|
|
2879
|
+
"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: {}, }"
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"kind": "function",
|
|
2883
|
+
"name": "mockExchangeCall",
|
|
2884
|
+
"parameters": [
|
|
2885
|
+
{
|
|
2886
|
+
"name": "page",
|
|
2887
|
+
"type": {
|
|
2888
|
+
"text": "Page"
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
]
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"kind": "function",
|
|
2895
|
+
"name": "mockPaymentsCall",
|
|
2896
|
+
"parameters": [
|
|
2897
|
+
{
|
|
2898
|
+
"name": "page",
|
|
2899
|
+
"type": {
|
|
2900
|
+
"text": "Page"
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
]
|
|
2973
2904
|
}
|
|
2974
2905
|
],
|
|
2975
2906
|
"exports": [
|
|
2976
2907
|
{
|
|
2977
2908
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2909
|
+
"name": "settings",
|
|
2979
2910
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "
|
|
2911
|
+
"name": "settings",
|
|
2912
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2982
2913
|
}
|
|
2983
|
-
}
|
|
2984
|
-
]
|
|
2985
|
-
},
|
|
2986
|
-
{
|
|
2987
|
-
"kind": "javascript-module",
|
|
2988
|
-
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
2989
|
-
"declarations": [
|
|
2914
|
+
},
|
|
2990
2915
|
{
|
|
2991
|
-
"kind": "
|
|
2992
|
-
"name": "
|
|
2993
|
-
"
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2916
|
+
"kind": "js",
|
|
2917
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2918
|
+
"declaration": {
|
|
2919
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2920
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2997
2923
|
{
|
|
2998
2924
|
"kind": "js",
|
|
2999
|
-
"name": "
|
|
2925
|
+
"name": "mockExchangeCall",
|
|
3000
2926
|
"declaration": {
|
|
3001
|
-
"name": "
|
|
3002
|
-
"module": "
|
|
2927
|
+
"name": "mockExchangeCall",
|
|
2928
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"kind": "js",
|
|
2933
|
+
"name": "mockPaymentsCall",
|
|
2934
|
+
"declaration": {
|
|
2935
|
+
"name": "mockPaymentsCall",
|
|
2936
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
3003
2937
|
}
|
|
3004
2938
|
}
|
|
3005
2939
|
]
|
|
3006
2940
|
},
|
|
3007
2941
|
{
|
|
3008
2942
|
"kind": "javascript-module",
|
|
3009
|
-
"path": "
|
|
2943
|
+
"path": "e2e/mocks/vaulting-card.ts",
|
|
3010
2944
|
"declarations": [
|
|
3011
2945
|
{
|
|
3012
2946
|
"kind": "variable",
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
2947
|
+
"name": "settings",
|
|
2948
|
+
"type": {
|
|
2949
|
+
"text": "string"
|
|
2950
|
+
},
|
|
2951
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJjdXN0b21lcklkIiwib3JkZXJJZCI6IjM4NjYyIiwiYW1vdW50Ijo1MDAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6e30sIm9yZGVyIjp7ImNvdW50cnlDb2RlIjoiRlIiLCJsaW5lSXRlbXMiOlt7Iml0ZW1JZCI6InByaW1lci1ob29kaWUtZ3JheSIsImRlc2NyaXB0aW9uIjoiUHJpbWVyIEhvb2RpZSIsImFtb3VudCI6NTAwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImNvdW50cnlDb2RlIjoiRlIifSwibmF0aW9uYWxEb2N1bWVudElkIjoiOTAxMTIxMTIzNDU2NyJ9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjp0cnVlLCJwYXltZW50VHlwZSI6IkZJUlNUX1BBWU1FTlQiLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlNRU5UX0NBUkQiOnsiY2FwdHVyZVZhdWx0ZWRDYXJkQ3Z2Ijp0cnVlfX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmZTRkNzFiMi1mNzJmLTQ4NGItYjlkMS1hNDBkMDM0ZGRmNmMiLCJhcGlWZXJzaW9uIjoiMi4zIiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7InN0cmlwZSI6eyJwdWJsaXNoYWJsZUtleSI6InBrX3Rlc3RfNTFPOHpmUUtVSzZiWElkQzJ4UHZTUzZVdnJpRTlrd3B2dHR3QjdIOVBBemhOQVpvR3pMZ2lET3lkNFdvb296ZVdIeG9ScktvNmIyVmpaWXhOQ01YM1c3YmswMHJNRGl2amF1In0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fX0='"
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "variable",
|
|
2955
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2956
|
+
"type": {
|
|
2957
|
+
"text": "object"
|
|
2958
|
+
},
|
|
2959
|
+
"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: '73195f20-be41-43ac-abad-d6fdf786c4cb', order: { orderId: '38662', currencyCode: 'EUR', countryCode: 'FR', totalOrderAmount: 5000, merchantAmount: 5000, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 5000, quantity: 1, }, ], }, customer: { customerId: 'customerId', billingAddress: { countryCode: 'FR', }, nationalDocumentId: '9011211234567', }, paymentMethod: { vaultOnSuccess: true, options: [ { type: 'PAYMENT_CARD', }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '6723b06a-37c5-4b93-87bf-9dadf4aa62f8', env: 'SANDBOX', paymentMethods: [ { id: '0b4775b8-4c43-4261-88ec-24d4f891912a', type: 'STRIPE_ACH', options: { merchantId: '7804d409-4caa-4fa8-8adb-ab34217d6c4e', merchantAccountId: '42dd7bba-3c06-5c50-b009-d1aafdd18a51', }, processorConfigId: '7804d409-4caa-4fa8-8adb-ab34217d6c4e', implementationType: 'NATIVE_SDK', name: 'Automated Clearing House (ACH)', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/BANK_TRANSFER/bank-transfer-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/BANK_TRANSFER/bank-transfer-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay with ACH', textColor: { dark: '#FFFFFF', light: '#000000', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'f7e3b1d5-9922-4269-8d69-98a021c3c7ab', type: 'PRIMER_TEST_KLARNA', options: { merchantId: 'acct_primer-test_1', merchantAccountId: 'f49628b3-fc15-5e89-a710-1ad4a78a1b3b', }, processorConfigId: '7799d7a0-21b3-4778-bac4-de4bb302a702', 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: 'f43bbce8-2d0c-497e-b35c-7eeb647e0f9f', type: 'NOL_PAY', options: { merchantId: 'b89640a1-f1fd-47ca-857a-dac21d52f778', merchantAccountId: 'a3b4cecc-2305-54db-86f5-9670e237ed2d', appId: '1301', }, processorConfigId: 'b89640a1-f1fd-47ca-857a-dac21d52f778', implementationType: 'NATIVE_SDK', name: 'Nol Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/NOL_PAY/nol-pay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/NOL_PAY/nol-pay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/NOL_PAY/nol-pay-logo-light@3x.png', }, backgroundColor: { colored: '#171e90', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFFFFF', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, captureVaultedCardCvv: 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: {}, }"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"kind": "variable",
|
|
2963
|
+
"name": "SUCCESSFUL_CARD_TO_VAULT",
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "string"
|
|
2966
|
+
},
|
|
2967
|
+
"default": "'4000002500001001'"
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "function",
|
|
2971
|
+
"name": "mockPaymentInstruments",
|
|
2972
|
+
"parameters": [
|
|
2973
|
+
{
|
|
2974
|
+
"name": "page",
|
|
2975
|
+
"type": {
|
|
2976
|
+
"text": "Page"
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
]
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"kind": "function",
|
|
2983
|
+
"name": "mockPayments",
|
|
2984
|
+
"parameters": [
|
|
2985
|
+
{
|
|
2986
|
+
"name": "page",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "Page"
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
]
|
|
3015
2992
|
}
|
|
3016
2993
|
],
|
|
3017
2994
|
"exports": [
|
|
3018
2995
|
{
|
|
3019
2996
|
"kind": "js",
|
|
3020
|
-
"name": "
|
|
2997
|
+
"name": "settings",
|
|
3021
2998
|
"declaration": {
|
|
3022
|
-
"name": "
|
|
3023
|
-
"module": "
|
|
2999
|
+
"name": "settings",
|
|
3000
|
+
"module": "e2e/mocks/vaulting-card.ts"
|
|
3024
3001
|
}
|
|
3025
|
-
}
|
|
3026
|
-
]
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"kind": "javascript-module",
|
|
3030
|
-
"path": "dist/chunks/zh-CN.MQHNRMN4.js",
|
|
3031
|
-
"declarations": [
|
|
3002
|
+
},
|
|
3032
3003
|
{
|
|
3033
|
-
"kind": "
|
|
3034
|
-
"name": "
|
|
3035
|
-
"
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3004
|
+
"kind": "js",
|
|
3005
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3006
|
+
"declaration": {
|
|
3007
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3008
|
+
"module": "e2e/mocks/vaulting-card.ts"
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3039
3011
|
{
|
|
3040
3012
|
"kind": "js",
|
|
3041
|
-
"name": "
|
|
3013
|
+
"name": "SUCCESSFUL_CARD_TO_VAULT",
|
|
3042
3014
|
"declaration": {
|
|
3043
|
-
"name": "
|
|
3044
|
-
"module": "
|
|
3015
|
+
"name": "SUCCESSFUL_CARD_TO_VAULT",
|
|
3016
|
+
"module": "e2e/mocks/vaulting-card.ts"
|
|
3045
3017
|
}
|
|
3046
|
-
}
|
|
3047
|
-
]
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"kind": "javascript-module",
|
|
3051
|
-
"path": "dist/chunks/zh-HK.WNR7XUSX.js",
|
|
3052
|
-
"declarations": [
|
|
3018
|
+
},
|
|
3053
3019
|
{
|
|
3054
|
-
"kind": "
|
|
3055
|
-
"name": "
|
|
3056
|
-
"
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3020
|
+
"kind": "js",
|
|
3021
|
+
"name": "mockPaymentInstruments",
|
|
3022
|
+
"declaration": {
|
|
3023
|
+
"name": "mockPaymentInstruments",
|
|
3024
|
+
"module": "e2e/mocks/vaulting-card.ts"
|
|
3025
|
+
}
|
|
3026
|
+
},
|
|
3060
3027
|
{
|
|
3061
3028
|
"kind": "js",
|
|
3062
|
-
"name": "
|
|
3029
|
+
"name": "mockPayments",
|
|
3063
3030
|
"declaration": {
|
|
3064
|
-
"name": "
|
|
3065
|
-
"module": "
|
|
3031
|
+
"name": "mockPayments",
|
|
3032
|
+
"module": "e2e/mocks/vaulting-card.ts"
|
|
3066
3033
|
}
|
|
3067
3034
|
}
|
|
3068
3035
|
]
|
|
3069
3036
|
},
|
|
3070
3037
|
{
|
|
3071
3038
|
"kind": "javascript-module",
|
|
3072
|
-
"path": "
|
|
3039
|
+
"path": "e2e/tests/card-3ds.spec.ts",
|
|
3040
|
+
"declarations": [],
|
|
3041
|
+
"exports": []
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"kind": "javascript-module",
|
|
3045
|
+
"path": "e2e/tests/card-basic.spec.ts",
|
|
3046
|
+
"declarations": [],
|
|
3047
|
+
"exports": []
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"kind": "javascript-module",
|
|
3051
|
+
"path": "e2e/tests/disabled-payments.spec.ts",
|
|
3073
3052
|
"declarations": [
|
|
3074
3053
|
{
|
|
3075
3054
|
"kind": "variable",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"
|
|
3055
|
+
"name": "settingsEnabled",
|
|
3056
|
+
"type": {
|
|
3057
|
+
"text": "string"
|
|
3058
|
+
},
|
|
3059
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2V9fQ=='"
|
|
3078
3060
|
}
|
|
3079
3061
|
],
|
|
3080
3062
|
"exports": [
|
|
3081
3063
|
{
|
|
3082
3064
|
"kind": "js",
|
|
3083
|
-
"name": "
|
|
3065
|
+
"name": "settingsEnabled",
|
|
3084
3066
|
"declaration": {
|
|
3085
|
-
"name": "
|
|
3086
|
-
"module": "
|
|
3067
|
+
"name": "settingsEnabled",
|
|
3068
|
+
"module": "e2e/tests/disabled-payments.spec.ts"
|
|
3087
3069
|
}
|
|
3088
3070
|
}
|
|
3089
3071
|
]
|
|
3090
3072
|
},
|
|
3073
|
+
{
|
|
3074
|
+
"kind": "javascript-module",
|
|
3075
|
+
"path": "e2e/tests/klarna.spec.ts",
|
|
3076
|
+
"declarations": [],
|
|
3077
|
+
"exports": []
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "javascript-module",
|
|
3081
|
+
"path": "e2e/tests/vaulted-paypal.spec.ts",
|
|
3082
|
+
"declarations": [],
|
|
3083
|
+
"exports": []
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"kind": "javascript-module",
|
|
3087
|
+
"path": "e2e/tests/vaulting-card.spec.ts",
|
|
3088
|
+
"declarations": [],
|
|
3089
|
+
"exports": []
|
|
3090
|
+
},
|
|
3091
3091
|
{
|
|
3092
3092
|
"kind": "javascript-module",
|
|
3093
3093
|
"path": "src/__tests__/setup.ts",
|
|
@@ -15235,6 +15235,81 @@
|
|
|
15235
15235
|
}
|
|
15236
15236
|
]
|
|
15237
15237
|
},
|
|
15238
|
+
{
|
|
15239
|
+
"kind": "javascript-module",
|
|
15240
|
+
"path": "src/containers/vault-manager/components/payment-method-content/payment-method-content.component.ts",
|
|
15241
|
+
"declarations": [
|
|
15242
|
+
{
|
|
15243
|
+
"kind": "class",
|
|
15244
|
+
"description": "PaymentMethodContentComponent - renders payment method information with icon and details\nThis component encapsulates the display logic and styles for payment method content\nso it can be reused across different containers without style conflicts",
|
|
15245
|
+
"name": "PaymentMethodContentComponent",
|
|
15246
|
+
"members": [
|
|
15247
|
+
{
|
|
15248
|
+
"kind": "field",
|
|
15249
|
+
"name": "assetConfig",
|
|
15250
|
+
"type": {
|
|
15251
|
+
"text": "AssetConfig | null"
|
|
15252
|
+
},
|
|
15253
|
+
"default": "null",
|
|
15254
|
+
"description": "The asset configuration containing icon and display data"
|
|
15255
|
+
}
|
|
15256
|
+
],
|
|
15257
|
+
"superclass": {
|
|
15258
|
+
"name": "LitElement",
|
|
15259
|
+
"package": "lit"
|
|
15260
|
+
},
|
|
15261
|
+
"tagName": "primer-payment-method-content",
|
|
15262
|
+
"customElement": true
|
|
15263
|
+
}
|
|
15264
|
+
],
|
|
15265
|
+
"exports": [
|
|
15266
|
+
{
|
|
15267
|
+
"kind": "js",
|
|
15268
|
+
"name": "PaymentMethodContentComponent",
|
|
15269
|
+
"declaration": {
|
|
15270
|
+
"name": "PaymentMethodContentComponent",
|
|
15271
|
+
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.component.ts"
|
|
15272
|
+
}
|
|
15273
|
+
},
|
|
15274
|
+
{
|
|
15275
|
+
"kind": "custom-element-definition",
|
|
15276
|
+
"name": "primer-payment-method-content",
|
|
15277
|
+
"declaration": {
|
|
15278
|
+
"name": "PaymentMethodContentComponent",
|
|
15279
|
+
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.component.ts"
|
|
15280
|
+
}
|
|
15281
|
+
}
|
|
15282
|
+
]
|
|
15283
|
+
},
|
|
15284
|
+
{
|
|
15285
|
+
"kind": "javascript-module",
|
|
15286
|
+
"path": "src/containers/vault-manager/components/payment-method-content/payment-method-content.styles.ts",
|
|
15287
|
+
"declarations": [],
|
|
15288
|
+
"exports": [
|
|
15289
|
+
{
|
|
15290
|
+
"kind": "js",
|
|
15291
|
+
"name": "default",
|
|
15292
|
+
"declaration": {
|
|
15293
|
+
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.styles.ts"
|
|
15294
|
+
}
|
|
15295
|
+
}
|
|
15296
|
+
]
|
|
15297
|
+
},
|
|
15298
|
+
{
|
|
15299
|
+
"kind": "javascript-module",
|
|
15300
|
+
"path": "src/containers/vault-manager/components/payment-method-content/payment-method-content.ts",
|
|
15301
|
+
"declarations": [],
|
|
15302
|
+
"exports": [
|
|
15303
|
+
{
|
|
15304
|
+
"kind": "js",
|
|
15305
|
+
"name": "PaymentMethodContentComponent",
|
|
15306
|
+
"declaration": {
|
|
15307
|
+
"name": "PaymentMethodContentComponent",
|
|
15308
|
+
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.ts"
|
|
15309
|
+
}
|
|
15310
|
+
}
|
|
15311
|
+
]
|
|
15312
|
+
},
|
|
15238
15313
|
{
|
|
15239
15314
|
"kind": "javascript-module",
|
|
15240
15315
|
"path": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.component.ts",
|
|
@@ -15430,81 +15505,6 @@
|
|
|
15430
15505
|
}
|
|
15431
15506
|
]
|
|
15432
15507
|
},
|
|
15433
|
-
{
|
|
15434
|
-
"kind": "javascript-module",
|
|
15435
|
-
"path": "src/containers/vault-manager/components/payment-method-content/payment-method-content.component.ts",
|
|
15436
|
-
"declarations": [
|
|
15437
|
-
{
|
|
15438
|
-
"kind": "class",
|
|
15439
|
-
"description": "PaymentMethodContentComponent - renders payment method information with icon and details\nThis component encapsulates the display logic and styles for payment method content\nso it can be reused across different containers without style conflicts",
|
|
15440
|
-
"name": "PaymentMethodContentComponent",
|
|
15441
|
-
"members": [
|
|
15442
|
-
{
|
|
15443
|
-
"kind": "field",
|
|
15444
|
-
"name": "assetConfig",
|
|
15445
|
-
"type": {
|
|
15446
|
-
"text": "AssetConfig | null"
|
|
15447
|
-
},
|
|
15448
|
-
"default": "null",
|
|
15449
|
-
"description": "The asset configuration containing icon and display data"
|
|
15450
|
-
}
|
|
15451
|
-
],
|
|
15452
|
-
"superclass": {
|
|
15453
|
-
"name": "LitElement",
|
|
15454
|
-
"package": "lit"
|
|
15455
|
-
},
|
|
15456
|
-
"tagName": "primer-payment-method-content",
|
|
15457
|
-
"customElement": true
|
|
15458
|
-
}
|
|
15459
|
-
],
|
|
15460
|
-
"exports": [
|
|
15461
|
-
{
|
|
15462
|
-
"kind": "js",
|
|
15463
|
-
"name": "PaymentMethodContentComponent",
|
|
15464
|
-
"declaration": {
|
|
15465
|
-
"name": "PaymentMethodContentComponent",
|
|
15466
|
-
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.component.ts"
|
|
15467
|
-
}
|
|
15468
|
-
},
|
|
15469
|
-
{
|
|
15470
|
-
"kind": "custom-element-definition",
|
|
15471
|
-
"name": "primer-payment-method-content",
|
|
15472
|
-
"declaration": {
|
|
15473
|
-
"name": "PaymentMethodContentComponent",
|
|
15474
|
-
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.component.ts"
|
|
15475
|
-
}
|
|
15476
|
-
}
|
|
15477
|
-
]
|
|
15478
|
-
},
|
|
15479
|
-
{
|
|
15480
|
-
"kind": "javascript-module",
|
|
15481
|
-
"path": "src/containers/vault-manager/components/payment-method-content/payment-method-content.styles.ts",
|
|
15482
|
-
"declarations": [],
|
|
15483
|
-
"exports": [
|
|
15484
|
-
{
|
|
15485
|
-
"kind": "js",
|
|
15486
|
-
"name": "default",
|
|
15487
|
-
"declaration": {
|
|
15488
|
-
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.styles.ts"
|
|
15489
|
-
}
|
|
15490
|
-
}
|
|
15491
|
-
]
|
|
15492
|
-
},
|
|
15493
|
-
{
|
|
15494
|
-
"kind": "javascript-module",
|
|
15495
|
-
"path": "src/containers/vault-manager/components/payment-method-content/payment-method-content.ts",
|
|
15496
|
-
"declarations": [],
|
|
15497
|
-
"exports": [
|
|
15498
|
-
{
|
|
15499
|
-
"kind": "js",
|
|
15500
|
-
"name": "PaymentMethodContentComponent",
|
|
15501
|
-
"declaration": {
|
|
15502
|
-
"name": "PaymentMethodContentComponent",
|
|
15503
|
-
"module": "src/containers/vault-manager/components/payment-method-content/payment-method-content.ts"
|
|
15504
|
-
}
|
|
15505
|
-
}
|
|
15506
|
-
]
|
|
15507
|
-
},
|
|
15508
15508
|
{
|
|
15509
15509
|
"kind": "javascript-module",
|
|
15510
15510
|
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts",
|