@primer-io/primer-js 0.3.9 → 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 +13 -0
- package/dist/custom-elements.json +842 -842
- package/dist/primer-loader.d.ts +4 -2
- package/dist/primer-loader.js +11 -11
- package/dist/web-types.json +1 -1
- 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,182 +55,182 @@
|
|
|
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
|
-
"name": "
|
|
112
|
-
"default": "class extends
|
|
83
|
+
"name": "ke",
|
|
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
|
-
"name": "
|
|
117
|
-
"default": "class extends
|
|
88
|
+
"name": "Ne",
|
|
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
|
-
"name": "
|
|
122
|
-
"default": "class extends
|
|
93
|
+
"name": "He",
|
|
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
|
-
"name": "
|
|
132
|
-
"default": "class extends
|
|
103
|
+
"name": "Be",
|
|
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
|
-
"name": "
|
|
137
|
-
"default": "class extends
|
|
108
|
+
"name": "Le",
|
|
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
|
-
"name": "
|
|
142
|
-
"default": "class extends
|
|
113
|
+
"name": "Fe",
|
|
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
128
|
"name": "Oe",
|
|
157
|
-
"default": "class extends
|
|
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
|
-
"name": "
|
|
167
|
-
"default": "class extends
|
|
138
|
+
"name": "xe",
|
|
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
|
-
"name": "
|
|
222
|
-
"default": "class extends
|
|
193
|
+
"name": "ze",
|
|
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
|
-
"name": "
|
|
242
|
-
"default": "class extends
|
|
213
|
+
"name": "De",
|
|
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
|
-
"name": "
|
|
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===
|
|
223
|
+
"name": "je",
|
|
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",
|
|
256
|
-
"name": "
|
|
228
|
+
"name": "Ke",
|
|
257
229
|
"default": "class extends oe{constructor(){super();this.config={inputType:\"cvv\",containerSelector:\"#cvv\",errorName:\"cvv-card\",translations:{label:\"CVV\",placeholder:\"123\"}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
258
230
|
},
|
|
259
231
|
{
|
|
260
232
|
"kind": "variable",
|
|
261
|
-
"name": "
|
|
233
|
+
"name": "Ge",
|
|
262
234
|
"default": "class extends oe{constructor(){super();this.config={inputType:\"expire\",containerSelector:\"#expiry\",errorName:\"expiryDate-card\",translations:{label:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"},placeholder:{id:\"cardExpiryPlaceholder\",defaultMessage:\"MM/YY\"},ariaLabel:{id:\"cardExpiry\",defaultMessage:\"Expiry Date\"}}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
263
235
|
},
|
|
264
236
|
{
|
|
@@ -269,46 +241,46 @@
|
|
|
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
|
-
"name": "
|
|
307
|
-
"default": "class extends
|
|
278
|
+
"name": "$e",
|
|
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": [
|
|
@@ -356,7 +328,7 @@
|
|
|
356
328
|
"kind": "js",
|
|
357
329
|
"name": "CardFormCVV",
|
|
358
330
|
"declaration": {
|
|
359
|
-
"name": "
|
|
331
|
+
"name": "Ke",
|
|
360
332
|
"module": "dist/primer-loader.js"
|
|
361
333
|
}
|
|
362
334
|
},
|
|
@@ -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
|
},
|
|
@@ -372,7 +344,7 @@
|
|
|
372
344
|
"kind": "js",
|
|
373
345
|
"name": "CardFormCardNumber",
|
|
374
346
|
"declaration": {
|
|
375
|
-
"name": "
|
|
347
|
+
"name": "je",
|
|
376
348
|
"module": "dist/primer-loader.js"
|
|
377
349
|
}
|
|
378
350
|
},
|
|
@@ -380,7 +352,7 @@
|
|
|
380
352
|
"kind": "js",
|
|
381
353
|
"name": "CardFormError",
|
|
382
354
|
"declaration": {
|
|
383
|
-
"name": "
|
|
355
|
+
"name": "Be",
|
|
384
356
|
"module": "dist/primer-loader.js"
|
|
385
357
|
}
|
|
386
358
|
},
|
|
@@ -388,7 +360,7 @@
|
|
|
388
360
|
"kind": "js",
|
|
389
361
|
"name": "CardFormExpiry",
|
|
390
362
|
"declaration": {
|
|
391
|
-
"name": "
|
|
363
|
+
"name": "Ge",
|
|
392
364
|
"module": "dist/primer-loader.js"
|
|
393
365
|
}
|
|
394
366
|
},
|
|
@@ -420,7 +392,7 @@
|
|
|
420
392
|
"kind": "js",
|
|
421
393
|
"name": "Dialog",
|
|
422
394
|
"declaration": {
|
|
423
|
-
"name": "
|
|
395
|
+
"name": "xe",
|
|
424
396
|
"module": "dist/primer-loader.js"
|
|
425
397
|
}
|
|
426
398
|
},
|
|
@@ -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
|
},
|
|
@@ -468,7 +440,7 @@
|
|
|
468
440
|
"kind": "js",
|
|
469
441
|
"name": "InputLabel",
|
|
470
442
|
"declaration": {
|
|
471
|
-
"name": "
|
|
443
|
+
"name": "He",
|
|
472
444
|
"module": "dist/primer-loader.js"
|
|
473
445
|
}
|
|
474
446
|
},
|
|
@@ -476,7 +448,7 @@
|
|
|
476
448
|
"kind": "js",
|
|
477
449
|
"name": "InputWrapper",
|
|
478
450
|
"declaration": {
|
|
479
|
-
"name": "
|
|
451
|
+
"name": "Ne",
|
|
480
452
|
"module": "dist/primer-loader.js"
|
|
481
453
|
}
|
|
482
454
|
},
|
|
@@ -508,7 +480,7 @@
|
|
|
508
480
|
"kind": "js",
|
|
509
481
|
"name": "PaymentMethodContentComponent",
|
|
510
482
|
"declaration": {
|
|
511
|
-
"name": "
|
|
483
|
+
"name": "De",
|
|
512
484
|
"module": "dist/primer-loader.js"
|
|
513
485
|
}
|
|
514
486
|
},
|
|
@@ -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
|
},
|
|
@@ -556,7 +528,7 @@
|
|
|
556
528
|
"kind": "js",
|
|
557
529
|
"name": "PrimerCheckoutState",
|
|
558
530
|
"declaration": {
|
|
559
|
-
"name": "
|
|
531
|
+
"name": "Fe",
|
|
560
532
|
"module": "dist/primer-loader.js"
|
|
561
533
|
}
|
|
562
534
|
},
|
|
@@ -564,7 +536,7 @@
|
|
|
564
536
|
"kind": "js",
|
|
565
537
|
"name": "PrimerIcon",
|
|
566
538
|
"declaration": {
|
|
567
|
-
"name": "
|
|
539
|
+
"name": "Le",
|
|
568
540
|
"module": "dist/primer-loader.js"
|
|
569
541
|
}
|
|
570
542
|
},
|
|
@@ -580,7 +552,7 @@
|
|
|
580
552
|
"kind": "js",
|
|
581
553
|
"name": "PrimerMain",
|
|
582
554
|
"declaration": {
|
|
583
|
-
"name": "
|
|
555
|
+
"name": "$e",
|
|
584
556
|
"module": "dist/primer-loader.js"
|
|
585
557
|
}
|
|
586
558
|
},
|
|
@@ -604,7 +576,7 @@
|
|
|
604
576
|
"kind": "js",
|
|
605
577
|
"name": "Spinner",
|
|
606
578
|
"declaration": {
|
|
607
|
-
"name": "
|
|
579
|
+
"name": "ke",
|
|
608
580
|
"module": "dist/primer-loader.js"
|
|
609
581
|
}
|
|
610
582
|
},
|
|
@@ -628,7 +600,7 @@
|
|
|
628
600
|
"kind": "js",
|
|
629
601
|
"name": "VaultEmptyState",
|
|
630
602
|
"declaration": {
|
|
631
|
-
"name": "
|
|
603
|
+
"name": "ze",
|
|
632
604
|
"module": "dist/primer-loader.js"
|
|
633
605
|
}
|
|
634
606
|
},
|
|
@@ -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,229 @@
|
|
|
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": "
|
|
1619
|
-
}
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "js",
|
|
1623
|
-
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
1624
|
-
"declaration": {
|
|
1625
|
-
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
1626
|
-
"module": "e2e/mocks/card-basic.ts"
|
|
1627
|
-
}
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
"kind": "js",
|
|
1631
|
-
"name": "FAILURE_CARD_NUMBER",
|
|
1632
|
-
"declaration": {
|
|
1633
|
-
"name": "FAILURE_CARD_NUMBER",
|
|
1634
|
-
"module": "e2e/mocks/card-basic.ts"
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
{
|
|
1638
|
-
"kind": "js",
|
|
1639
|
-
"name": "mockPaymentInstruments",
|
|
1640
|
-
"declaration": {
|
|
1641
|
-
"name": "mockPaymentInstruments",
|
|
1642
|
-
"module": "e2e/mocks/card-basic.ts"
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"kind": "js",
|
|
1647
|
-
"name": "mockPayments",
|
|
1648
|
-
"declaration": {
|
|
1649
|
-
"name": "mockPayments",
|
|
1650
|
-
"module": "e2e/mocks/card-basic.ts"
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"kind": "js",
|
|
1655
|
-
"name": "mockPaymentInstrumentsFailure",
|
|
1656
|
-
"declaration": {
|
|
1657
|
-
"name": "mockPaymentInstrumentsFailure",
|
|
1658
|
-
"module": "e2e/mocks/card-basic.ts"
|
|
1607
|
+
"name": "l",
|
|
1608
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1659
1609
|
}
|
|
1660
1610
|
},
|
|
1661
1611
|
{
|
|
1662
1612
|
"kind": "js",
|
|
1663
|
-
"name": "
|
|
1613
|
+
"name": "c",
|
|
1664
1614
|
"declaration": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "
|
|
1615
|
+
"name": "m",
|
|
1616
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1667
1617
|
}
|
|
1668
1618
|
}
|
|
1669
1619
|
]
|
|
1670
1620
|
},
|
|
1671
1621
|
{
|
|
1672
1622
|
"kind": "javascript-module",
|
|
1673
|
-
"path": "
|
|
1623
|
+
"path": "dist/chunks/chunk.QMLIEEKM.js",
|
|
1674
1624
|
"declarations": [
|
|
1675
1625
|
{
|
|
1676
1626
|
"kind": "variable",
|
|
1677
|
-
"name": "
|
|
1678
|
-
"type": {
|
|
1679
|
-
"text": "string"
|
|
1680
|
-
},
|
|
1681
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiZW52IjoiQ1VTVE9NX1NBTkRCT1giLCJhcGlWZXJzaW9uIjoiMi4zIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7fX0='"
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"kind": "variable",
|
|
1685
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1627
|
+
"name": "t",
|
|
1686
1628
|
"type": {
|
|
1687
1629
|
"text": "object"
|
|
1688
1630
|
},
|
|
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: {}, }"
|
|
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\"}"
|
|
1690
1632
|
}
|
|
1691
1633
|
],
|
|
1692
1634
|
"exports": [
|
|
1693
1635
|
{
|
|
1694
1636
|
"kind": "js",
|
|
1695
|
-
"name": "
|
|
1637
|
+
"name": "a",
|
|
1696
1638
|
"declaration": {
|
|
1697
|
-
"name": "
|
|
1698
|
-
"module": "
|
|
1639
|
+
"name": "t",
|
|
1640
|
+
"module": "dist/chunks/chunk.QMLIEEKM.js"
|
|
1699
1641
|
}
|
|
1700
|
-
}
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "javascript-module",
|
|
1647
|
+
"path": "dist/chunks/cs.FC4I5M3C.js",
|
|
1648
|
+
"declarations": [
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "variable",
|
|
1651
|
+
"name": "n",
|
|
1652
|
+
"default": "e"
|
|
1653
|
+
}
|
|
1654
|
+
],
|
|
1655
|
+
"exports": [
|
|
1701
1656
|
{
|
|
1702
1657
|
"kind": "js",
|
|
1703
|
-
"name": "
|
|
1658
|
+
"name": "templates",
|
|
1704
1659
|
"declaration": {
|
|
1705
|
-
"name": "
|
|
1706
|
-
"module": "
|
|
1660
|
+
"name": "n",
|
|
1661
|
+
"module": "dist/chunks/cs.FC4I5M3C.js"
|
|
1707
1662
|
}
|
|
1708
1663
|
}
|
|
1709
1664
|
]
|
|
1710
1665
|
},
|
|
1711
1666
|
{
|
|
1712
1667
|
"kind": "javascript-module",
|
|
1713
|
-
"path": "
|
|
1668
|
+
"path": "dist/chunks/da.YI32NZ7B.js",
|
|
1714
1669
|
"declarations": [
|
|
1715
1670
|
{
|
|
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
|
-
]
|
|
1671
|
+
"kind": "variable",
|
|
1672
|
+
"name": "a",
|
|
1673
|
+
"default": "e"
|
|
1750
1674
|
}
|
|
1751
1675
|
],
|
|
1752
1676
|
"exports": [
|
|
1753
1677
|
{
|
|
1754
1678
|
"kind": "js",
|
|
1755
|
-
"name": "
|
|
1679
|
+
"name": "templates",
|
|
1756
1680
|
"declaration": {
|
|
1757
|
-
"name": "
|
|
1758
|
-
"module": "
|
|
1681
|
+
"name": "a",
|
|
1682
|
+
"module": "dist/chunks/da.YI32NZ7B.js"
|
|
1759
1683
|
}
|
|
1760
|
-
}
|
|
1684
|
+
}
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"kind": "javascript-module",
|
|
1689
|
+
"path": "dist/chunks/de.7M7UFQB7.js",
|
|
1690
|
+
"declarations": [
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "variable",
|
|
1693
|
+
"name": "t",
|
|
1694
|
+
"default": "e"
|
|
1695
|
+
}
|
|
1696
|
+
],
|
|
1697
|
+
"exports": [
|
|
1761
1698
|
{
|
|
1762
1699
|
"kind": "js",
|
|
1763
|
-
"name": "
|
|
1700
|
+
"name": "templates",
|
|
1764
1701
|
"declaration": {
|
|
1765
|
-
"name": "
|
|
1766
|
-
"module": "
|
|
1702
|
+
"name": "t",
|
|
1703
|
+
"module": "dist/chunks/de.7M7UFQB7.js"
|
|
1767
1704
|
}
|
|
1768
1705
|
}
|
|
1769
1706
|
]
|
|
1770
1707
|
},
|
|
1771
1708
|
{
|
|
1772
1709
|
"kind": "javascript-module",
|
|
1773
|
-
"path": "
|
|
1710
|
+
"path": "dist/chunks/el.XSGTYDZR.js",
|
|
1774
1711
|
"declarations": [
|
|
1775
1712
|
{
|
|
1776
1713
|
"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
|
-
]
|
|
1714
|
+
"name": "o",
|
|
1715
|
+
"default": "e"
|
|
1814
1716
|
}
|
|
1815
1717
|
],
|
|
1816
1718
|
"exports": [
|
|
1817
1719
|
{
|
|
1818
1720
|
"kind": "js",
|
|
1819
|
-
"name": "
|
|
1721
|
+
"name": "templates",
|
|
1820
1722
|
"declaration": {
|
|
1821
|
-
"name": "
|
|
1822
|
-
"module": "
|
|
1723
|
+
"name": "o",
|
|
1724
|
+
"module": "dist/chunks/el.XSGTYDZR.js"
|
|
1823
1725
|
}
|
|
1824
|
-
}
|
|
1726
|
+
}
|
|
1727
|
+
]
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"kind": "javascript-module",
|
|
1731
|
+
"path": "dist/chunks/en-GB.VO4GDE3X.js",
|
|
1732
|
+
"declarations": [
|
|
1825
1733
|
{
|
|
1826
|
-
"kind": "
|
|
1827
|
-
"name": "
|
|
1828
|
-
"
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
},
|
|
1734
|
+
"kind": "variable",
|
|
1735
|
+
"name": "o",
|
|
1736
|
+
"default": "t"
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"exports": [
|
|
1833
1740
|
{
|
|
1834
1741
|
"kind": "js",
|
|
1835
|
-
"name": "
|
|
1742
|
+
"name": "templates",
|
|
1836
1743
|
"declaration": {
|
|
1837
|
-
"name": "
|
|
1838
|
-
"module": "
|
|
1744
|
+
"name": "o",
|
|
1745
|
+
"module": "dist/chunks/en-GB.VO4GDE3X.js"
|
|
1839
1746
|
}
|
|
1840
|
-
}
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"kind": "javascript-module",
|
|
1752
|
+
"path": "dist/chunks/en.MNFLVOE3.js",
|
|
1753
|
+
"declarations": [
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "variable",
|
|
1756
|
+
"name": "o",
|
|
1757
|
+
"default": "t"
|
|
1758
|
+
}
|
|
1759
|
+
],
|
|
1760
|
+
"exports": [
|
|
1841
1761
|
{
|
|
1842
1762
|
"kind": "js",
|
|
1843
|
-
"name": "
|
|
1763
|
+
"name": "templates",
|
|
1844
1764
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "
|
|
1765
|
+
"name": "o",
|
|
1766
|
+
"module": "dist/chunks/en.MNFLVOE3.js"
|
|
1847
1767
|
}
|
|
1848
1768
|
}
|
|
1849
1769
|
]
|
|
1850
1770
|
},
|
|
1851
1771
|
{
|
|
1852
1772
|
"kind": "javascript-module",
|
|
1853
|
-
"path": "
|
|
1773
|
+
"path": "dist/chunks/es-AR.TBWVUZEF.js",
|
|
1854
1774
|
"declarations": [
|
|
1855
1775
|
{
|
|
1856
1776
|
"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
|
-
]
|
|
1777
|
+
"name": "i",
|
|
1778
|
+
"default": "e"
|
|
1902
1779
|
}
|
|
1903
1780
|
],
|
|
1904
1781
|
"exports": [
|
|
1905
1782
|
{
|
|
1906
1783
|
"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",
|
|
1924
|
-
"declaration": {
|
|
1925
|
-
"name": "SUCCESSFUL_CARD_TO_VAULT",
|
|
1926
|
-
"module": "e2e/mocks/vaulting-card.ts"
|
|
1927
|
-
}
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"kind": "js",
|
|
1931
|
-
"name": "mockPaymentInstruments",
|
|
1932
|
-
"declaration": {
|
|
1933
|
-
"name": "mockPaymentInstruments",
|
|
1934
|
-
"module": "e2e/mocks/vaulting-card.ts"
|
|
1935
|
-
}
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "js",
|
|
1939
|
-
"name": "mockPayments",
|
|
1784
|
+
"name": "templates",
|
|
1940
1785
|
"declaration": {
|
|
1941
|
-
"name": "
|
|
1942
|
-
"module": "
|
|
1786
|
+
"name": "i",
|
|
1787
|
+
"module": "dist/chunks/es-AR.TBWVUZEF.js"
|
|
1943
1788
|
}
|
|
1944
1789
|
}
|
|
1945
1790
|
]
|
|
1946
1791
|
},
|
|
1947
1792
|
{
|
|
1948
1793
|
"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",
|
|
1794
|
+
"path": "dist/chunks/es-MX.6EMWUABR.js",
|
|
1962
1795
|
"declarations": [
|
|
1963
1796
|
{
|
|
1964
1797
|
"kind": "variable",
|
|
1965
|
-
"name": "
|
|
1966
|
-
"
|
|
1967
|
-
"text": "string"
|
|
1968
|
-
},
|
|
1969
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2V9fQ=='"
|
|
1798
|
+
"name": "i",
|
|
1799
|
+
"default": "e"
|
|
1970
1800
|
}
|
|
1971
1801
|
],
|
|
1972
1802
|
"exports": [
|
|
1973
1803
|
{
|
|
1974
1804
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1805
|
+
"name": "templates",
|
|
1976
1806
|
"declaration": {
|
|
1977
|
-
"name": "
|
|
1978
|
-
"module": "
|
|
1807
|
+
"name": "i",
|
|
1808
|
+
"module": "dist/chunks/es-MX.6EMWUABR.js"
|
|
1979
1809
|
}
|
|
1980
1810
|
}
|
|
1981
1811
|
]
|
|
1982
1812
|
},
|
|
1983
1813
|
{
|
|
1984
1814
|
"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",
|
|
1815
|
+
"path": "dist/chunks/es.XZLDFHYI.js",
|
|
2004
1816
|
"declarations": [
|
|
2005
1817
|
{
|
|
2006
1818
|
"kind": "variable",
|
|
2007
|
-
"name": "
|
|
1819
|
+
"name": "i",
|
|
2008
1820
|
"default": "e"
|
|
2009
1821
|
}
|
|
2010
1822
|
],
|
|
@@ -2013,19 +1825,19 @@
|
|
|
2013
1825
|
"kind": "js",
|
|
2014
1826
|
"name": "templates",
|
|
2015
1827
|
"declaration": {
|
|
2016
|
-
"name": "
|
|
2017
|
-
"module": "dist/chunks/
|
|
1828
|
+
"name": "i",
|
|
1829
|
+
"module": "dist/chunks/es.XZLDFHYI.js"
|
|
2018
1830
|
}
|
|
2019
1831
|
}
|
|
2020
1832
|
]
|
|
2021
1833
|
},
|
|
2022
1834
|
{
|
|
2023
1835
|
"kind": "javascript-module",
|
|
2024
|
-
"path": "dist/chunks/
|
|
1836
|
+
"path": "dist/chunks/et-EE.JBSFMKZ2.js",
|
|
2025
1837
|
"declarations": [
|
|
2026
1838
|
{
|
|
2027
1839
|
"kind": "variable",
|
|
2028
|
-
"name": "
|
|
1840
|
+
"name": "r",
|
|
2029
1841
|
"default": "e"
|
|
2030
1842
|
}
|
|
2031
1843
|
],
|
|
@@ -2034,20 +1846,20 @@
|
|
|
2034
1846
|
"kind": "js",
|
|
2035
1847
|
"name": "templates",
|
|
2036
1848
|
"declaration": {
|
|
2037
|
-
"name": "
|
|
2038
|
-
"module": "dist/chunks/
|
|
1849
|
+
"name": "r",
|
|
1850
|
+
"module": "dist/chunks/et-EE.JBSFMKZ2.js"
|
|
2039
1851
|
}
|
|
2040
1852
|
}
|
|
2041
1853
|
]
|
|
2042
1854
|
},
|
|
2043
1855
|
{
|
|
2044
1856
|
"kind": "javascript-module",
|
|
2045
|
-
"path": "dist/chunks/
|
|
1857
|
+
"path": "dist/chunks/fi-FI.I75VK2ID.js",
|
|
2046
1858
|
"declarations": [
|
|
2047
1859
|
{
|
|
2048
1860
|
"kind": "variable",
|
|
2049
|
-
"name": "
|
|
2050
|
-
"default": "
|
|
1861
|
+
"name": "n",
|
|
1862
|
+
"default": "a"
|
|
2051
1863
|
}
|
|
2052
1864
|
],
|
|
2053
1865
|
"exports": [
|
|
@@ -2055,122 +1867,61 @@
|
|
|
2055
1867
|
"kind": "js",
|
|
2056
1868
|
"name": "templates",
|
|
2057
1869
|
"declaration": {
|
|
2058
|
-
"name": "
|
|
2059
|
-
"module": "dist/chunks/
|
|
1870
|
+
"name": "n",
|
|
1871
|
+
"module": "dist/chunks/fi-FI.I75VK2ID.js"
|
|
2060
1872
|
}
|
|
2061
1873
|
}
|
|
2062
1874
|
]
|
|
2063
1875
|
},
|
|
2064
1876
|
{
|
|
2065
1877
|
"kind": "javascript-module",
|
|
2066
|
-
"path": "dist/chunks/
|
|
1878
|
+
"path": "dist/chunks/fr.JBNP6RXT.js",
|
|
2067
1879
|
"declarations": [
|
|
2068
|
-
{
|
|
2069
|
-
"kind": "function",
|
|
2070
|
-
"name": "k",
|
|
2071
|
-
"parameters": [
|
|
2072
|
-
{
|
|
2073
|
-
"name": "c"
|
|
2074
|
-
}
|
|
2075
|
-
]
|
|
2076
|
-
},
|
|
2077
1880
|
{
|
|
2078
1881
|
"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
|
-
]
|
|
1882
|
+
"name": "i",
|
|
1883
|
+
"default": "e"
|
|
2114
1884
|
}
|
|
2115
1885
|
],
|
|
2116
1886
|
"exports": [
|
|
2117
1887
|
{
|
|
2118
1888
|
"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",
|
|
1889
|
+
"name": "templates",
|
|
2136
1890
|
"declaration": {
|
|
2137
|
-
"name": "
|
|
2138
|
-
"module": "dist/chunks/
|
|
1891
|
+
"name": "i",
|
|
1892
|
+
"module": "dist/chunks/fr.JBNP6RXT.js"
|
|
2139
1893
|
}
|
|
2140
1894
|
}
|
|
2141
1895
|
]
|
|
2142
1896
|
},
|
|
2143
1897
|
{
|
|
2144
1898
|
"kind": "javascript-module",
|
|
2145
|
-
"path": "dist/chunks/
|
|
1899
|
+
"path": "dist/chunks/he.PW253QAL.js",
|
|
2146
1900
|
"declarations": [
|
|
2147
1901
|
{
|
|
2148
1902
|
"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\"}"
|
|
1903
|
+
"name": "o",
|
|
1904
|
+
"default": "e"
|
|
2154
1905
|
}
|
|
2155
1906
|
],
|
|
2156
1907
|
"exports": [
|
|
2157
1908
|
{
|
|
2158
1909
|
"kind": "js",
|
|
2159
|
-
"name": "
|
|
1910
|
+
"name": "templates",
|
|
2160
1911
|
"declaration": {
|
|
2161
|
-
"name": "
|
|
2162
|
-
"module": "dist/chunks/
|
|
1912
|
+
"name": "o",
|
|
1913
|
+
"module": "dist/chunks/he.PW253QAL.js"
|
|
2163
1914
|
}
|
|
2164
1915
|
}
|
|
2165
1916
|
]
|
|
2166
1917
|
},
|
|
2167
1918
|
{
|
|
2168
1919
|
"kind": "javascript-module",
|
|
2169
|
-
"path": "dist/chunks/
|
|
1920
|
+
"path": "dist/chunks/hr.LM4RITYJ.js",
|
|
2170
1921
|
"declarations": [
|
|
2171
1922
|
{
|
|
2172
1923
|
"kind": "variable",
|
|
2173
|
-
"name": "
|
|
1924
|
+
"name": "t",
|
|
2174
1925
|
"default": "e"
|
|
2175
1926
|
}
|
|
2176
1927
|
],
|
|
@@ -2179,19 +1930,19 @@
|
|
|
2179
1930
|
"kind": "js",
|
|
2180
1931
|
"name": "templates",
|
|
2181
1932
|
"declaration": {
|
|
2182
|
-
"name": "
|
|
2183
|
-
"module": "dist/chunks/
|
|
1933
|
+
"name": "t",
|
|
1934
|
+
"module": "dist/chunks/hr.LM4RITYJ.js"
|
|
2184
1935
|
}
|
|
2185
1936
|
}
|
|
2186
1937
|
]
|
|
2187
1938
|
},
|
|
2188
1939
|
{
|
|
2189
1940
|
"kind": "javascript-module",
|
|
2190
|
-
"path": "dist/chunks/
|
|
1941
|
+
"path": "dist/chunks/hu.JGCKQA6J.js",
|
|
2191
1942
|
"declarations": [
|
|
2192
1943
|
{
|
|
2193
1944
|
"kind": "variable",
|
|
2194
|
-
"name": "
|
|
1945
|
+
"name": "s",
|
|
2195
1946
|
"default": "e"
|
|
2196
1947
|
}
|
|
2197
1948
|
],
|
|
@@ -2200,20 +1951,20 @@
|
|
|
2200
1951
|
"kind": "js",
|
|
2201
1952
|
"name": "templates",
|
|
2202
1953
|
"declaration": {
|
|
2203
|
-
"name": "
|
|
2204
|
-
"module": "dist/chunks/
|
|
1954
|
+
"name": "s",
|
|
1955
|
+
"module": "dist/chunks/hu.JGCKQA6J.js"
|
|
2205
1956
|
}
|
|
2206
1957
|
}
|
|
2207
1958
|
]
|
|
2208
1959
|
},
|
|
2209
1960
|
{
|
|
2210
1961
|
"kind": "javascript-module",
|
|
2211
|
-
"path": "dist/chunks/
|
|
1962
|
+
"path": "dist/chunks/id.VBXULDDY.js",
|
|
2212
1963
|
"declarations": [
|
|
2213
1964
|
{
|
|
2214
1965
|
"kind": "variable",
|
|
2215
|
-
"name": "
|
|
2216
|
-
"default": "
|
|
1966
|
+
"name": "r",
|
|
1967
|
+
"default": "a"
|
|
2217
1968
|
}
|
|
2218
1969
|
],
|
|
2219
1970
|
"exports": [
|
|
@@ -2221,19 +1972,19 @@
|
|
|
2221
1972
|
"kind": "js",
|
|
2222
1973
|
"name": "templates",
|
|
2223
1974
|
"declaration": {
|
|
2224
|
-
"name": "
|
|
2225
|
-
"module": "dist/chunks/
|
|
1975
|
+
"name": "r",
|
|
1976
|
+
"module": "dist/chunks/id.VBXULDDY.js"
|
|
2226
1977
|
}
|
|
2227
1978
|
}
|
|
2228
1979
|
]
|
|
2229
1980
|
},
|
|
2230
1981
|
{
|
|
2231
1982
|
"kind": "javascript-module",
|
|
2232
|
-
"path": "dist/chunks/
|
|
1983
|
+
"path": "dist/chunks/it.7Q6BFLDK.js",
|
|
2233
1984
|
"declarations": [
|
|
2234
1985
|
{
|
|
2235
1986
|
"kind": "variable",
|
|
2236
|
-
"name": "
|
|
1987
|
+
"name": "r",
|
|
2237
1988
|
"default": "e"
|
|
2238
1989
|
}
|
|
2239
1990
|
],
|
|
@@ -2242,20 +1993,20 @@
|
|
|
2242
1993
|
"kind": "js",
|
|
2243
1994
|
"name": "templates",
|
|
2244
1995
|
"declaration": {
|
|
2245
|
-
"name": "
|
|
2246
|
-
"module": "dist/chunks/
|
|
1996
|
+
"name": "r",
|
|
1997
|
+
"module": "dist/chunks/it.7Q6BFLDK.js"
|
|
2247
1998
|
}
|
|
2248
1999
|
}
|
|
2249
2000
|
]
|
|
2250
2001
|
},
|
|
2251
2002
|
{
|
|
2252
2003
|
"kind": "javascript-module",
|
|
2253
|
-
"path": "dist/chunks/
|
|
2004
|
+
"path": "dist/chunks/ja.QOC76SSC.js",
|
|
2254
2005
|
"declarations": [
|
|
2255
2006
|
{
|
|
2256
2007
|
"kind": "variable",
|
|
2257
2008
|
"name": "o",
|
|
2258
|
-
"default": "
|
|
2009
|
+
"default": "e"
|
|
2259
2010
|
}
|
|
2260
2011
|
],
|
|
2261
2012
|
"exports": [
|
|
@@ -2264,19 +2015,19 @@
|
|
|
2264
2015
|
"name": "templates",
|
|
2265
2016
|
"declaration": {
|
|
2266
2017
|
"name": "o",
|
|
2267
|
-
"module": "dist/chunks/
|
|
2018
|
+
"module": "dist/chunks/ja.QOC76SSC.js"
|
|
2268
2019
|
}
|
|
2269
2020
|
}
|
|
2270
2021
|
]
|
|
2271
2022
|
},
|
|
2272
2023
|
{
|
|
2273
2024
|
"kind": "javascript-module",
|
|
2274
|
-
"path": "dist/chunks/
|
|
2025
|
+
"path": "dist/chunks/ko.BANZIFNH.js",
|
|
2275
2026
|
"declarations": [
|
|
2276
2027
|
{
|
|
2277
2028
|
"kind": "variable",
|
|
2278
2029
|
"name": "o",
|
|
2279
|
-
"default": "
|
|
2030
|
+
"default": "e"
|
|
2280
2031
|
}
|
|
2281
2032
|
],
|
|
2282
2033
|
"exports": [
|
|
@@ -2285,19 +2036,19 @@
|
|
|
2285
2036
|
"name": "templates",
|
|
2286
2037
|
"declaration": {
|
|
2287
2038
|
"name": "o",
|
|
2288
|
-
"module": "dist/chunks/
|
|
2039
|
+
"module": "dist/chunks/ko.BANZIFNH.js"
|
|
2289
2040
|
}
|
|
2290
2041
|
}
|
|
2291
2042
|
]
|
|
2292
2043
|
},
|
|
2293
2044
|
{
|
|
2294
2045
|
"kind": "javascript-module",
|
|
2295
|
-
"path": "dist/chunks/
|
|
2046
|
+
"path": "dist/chunks/lt-LT.Q2SRJOKH.js",
|
|
2296
2047
|
"declarations": [
|
|
2297
2048
|
{
|
|
2298
2049
|
"kind": "variable",
|
|
2299
|
-
"name": "
|
|
2300
|
-
"default": "
|
|
2050
|
+
"name": "t",
|
|
2051
|
+
"default": "a"
|
|
2301
2052
|
}
|
|
2302
2053
|
],
|
|
2303
2054
|
"exports": [
|
|
@@ -2305,20 +2056,20 @@
|
|
|
2305
2056
|
"kind": "js",
|
|
2306
2057
|
"name": "templates",
|
|
2307
2058
|
"declaration": {
|
|
2308
|
-
"name": "
|
|
2309
|
-
"module": "dist/chunks/
|
|
2059
|
+
"name": "t",
|
|
2060
|
+
"module": "dist/chunks/lt-LT.Q2SRJOKH.js"
|
|
2310
2061
|
}
|
|
2311
2062
|
}
|
|
2312
2063
|
]
|
|
2313
2064
|
},
|
|
2314
2065
|
{
|
|
2315
2066
|
"kind": "javascript-module",
|
|
2316
|
-
"path": "dist/chunks/
|
|
2067
|
+
"path": "dist/chunks/lt.XMNFEN5T.js",
|
|
2317
2068
|
"declarations": [
|
|
2318
2069
|
{
|
|
2319
2070
|
"kind": "variable",
|
|
2320
|
-
"name": "
|
|
2321
|
-
"default": "
|
|
2071
|
+
"name": "o",
|
|
2072
|
+
"default": "a"
|
|
2322
2073
|
}
|
|
2323
2074
|
],
|
|
2324
2075
|
"exports": [
|
|
@@ -2326,20 +2077,20 @@
|
|
|
2326
2077
|
"kind": "js",
|
|
2327
2078
|
"name": "templates",
|
|
2328
2079
|
"declaration": {
|
|
2329
|
-
"name": "
|
|
2330
|
-
"module": "dist/chunks/
|
|
2080
|
+
"name": "o",
|
|
2081
|
+
"module": "dist/chunks/lt.XMNFEN5T.js"
|
|
2331
2082
|
}
|
|
2332
2083
|
}
|
|
2333
2084
|
]
|
|
2334
2085
|
},
|
|
2335
2086
|
{
|
|
2336
2087
|
"kind": "javascript-module",
|
|
2337
|
-
"path": "dist/chunks/
|
|
2088
|
+
"path": "dist/chunks/lv-LV.3AJDTMU5.js",
|
|
2338
2089
|
"declarations": [
|
|
2339
2090
|
{
|
|
2340
2091
|
"kind": "variable",
|
|
2341
|
-
"name": "
|
|
2342
|
-
"default": "
|
|
2092
|
+
"name": "t",
|
|
2093
|
+
"default": "a"
|
|
2343
2094
|
}
|
|
2344
2095
|
],
|
|
2345
2096
|
"exports": [
|
|
@@ -2347,20 +2098,20 @@
|
|
|
2347
2098
|
"kind": "js",
|
|
2348
2099
|
"name": "templates",
|
|
2349
2100
|
"declaration": {
|
|
2350
|
-
"name": "
|
|
2351
|
-
"module": "dist/chunks/
|
|
2101
|
+
"name": "t",
|
|
2102
|
+
"module": "dist/chunks/lv-LV.3AJDTMU5.js"
|
|
2352
2103
|
}
|
|
2353
2104
|
}
|
|
2354
2105
|
]
|
|
2355
2106
|
},
|
|
2356
2107
|
{
|
|
2357
2108
|
"kind": "javascript-module",
|
|
2358
|
-
"path": "dist/chunks/
|
|
2109
|
+
"path": "dist/chunks/lv.TFPDXNEV.js",
|
|
2359
2110
|
"declarations": [
|
|
2360
2111
|
{
|
|
2361
2112
|
"kind": "variable",
|
|
2362
|
-
"name": "
|
|
2363
|
-
"default": "
|
|
2113
|
+
"name": "t",
|
|
2114
|
+
"default": "a"
|
|
2364
2115
|
}
|
|
2365
2116
|
],
|
|
2366
2117
|
"exports": [
|
|
@@ -2368,19 +2119,19 @@
|
|
|
2368
2119
|
"kind": "js",
|
|
2369
2120
|
"name": "templates",
|
|
2370
2121
|
"declaration": {
|
|
2371
|
-
"name": "
|
|
2372
|
-
"module": "dist/chunks/
|
|
2122
|
+
"name": "t",
|
|
2123
|
+
"module": "dist/chunks/lv.TFPDXNEV.js"
|
|
2373
2124
|
}
|
|
2374
2125
|
}
|
|
2375
2126
|
]
|
|
2376
2127
|
},
|
|
2377
2128
|
{
|
|
2378
2129
|
"kind": "javascript-module",
|
|
2379
|
-
"path": "dist/chunks/
|
|
2130
|
+
"path": "dist/chunks/ms.FPTX4NM4.js",
|
|
2380
2131
|
"declarations": [
|
|
2381
2132
|
{
|
|
2382
2133
|
"kind": "variable",
|
|
2383
|
-
"name": "
|
|
2134
|
+
"name": "i",
|
|
2384
2135
|
"default": "a"
|
|
2385
2136
|
}
|
|
2386
2137
|
],
|
|
@@ -2389,19 +2140,19 @@
|
|
|
2389
2140
|
"kind": "js",
|
|
2390
2141
|
"name": "templates",
|
|
2391
2142
|
"declaration": {
|
|
2392
|
-
"name": "
|
|
2393
|
-
"module": "dist/chunks/
|
|
2143
|
+
"name": "i",
|
|
2144
|
+
"module": "dist/chunks/ms.FPTX4NM4.js"
|
|
2394
2145
|
}
|
|
2395
2146
|
}
|
|
2396
2147
|
]
|
|
2397
2148
|
},
|
|
2398
2149
|
{
|
|
2399
2150
|
"kind": "javascript-module",
|
|
2400
|
-
"path": "dist/chunks/
|
|
2151
|
+
"path": "dist/chunks/nb.CAFSKRQ2.js",
|
|
2401
2152
|
"declarations": [
|
|
2402
2153
|
{
|
|
2403
2154
|
"kind": "variable",
|
|
2404
|
-
"name": "
|
|
2155
|
+
"name": "a",
|
|
2405
2156
|
"default": "e"
|
|
2406
2157
|
}
|
|
2407
2158
|
],
|
|
@@ -2410,19 +2161,19 @@
|
|
|
2410
2161
|
"kind": "js",
|
|
2411
2162
|
"name": "templates",
|
|
2412
2163
|
"declaration": {
|
|
2413
|
-
"name": "
|
|
2414
|
-
"module": "dist/chunks/
|
|
2164
|
+
"name": "a",
|
|
2165
|
+
"module": "dist/chunks/nb.CAFSKRQ2.js"
|
|
2415
2166
|
}
|
|
2416
2167
|
}
|
|
2417
2168
|
]
|
|
2418
2169
|
},
|
|
2419
2170
|
{
|
|
2420
2171
|
"kind": "javascript-module",
|
|
2421
|
-
"path": "dist/chunks/
|
|
2172
|
+
"path": "dist/chunks/nl.7BPSDYTC.js",
|
|
2422
2173
|
"declarations": [
|
|
2423
2174
|
{
|
|
2424
2175
|
"kind": "variable",
|
|
2425
|
-
"name": "
|
|
2176
|
+
"name": "n",
|
|
2426
2177
|
"default": "e"
|
|
2427
2178
|
}
|
|
2428
2179
|
],
|
|
@@ -2431,19 +2182,19 @@
|
|
|
2431
2182
|
"kind": "js",
|
|
2432
2183
|
"name": "templates",
|
|
2433
2184
|
"declaration": {
|
|
2434
|
-
"name": "
|
|
2435
|
-
"module": "dist/chunks/
|
|
2185
|
+
"name": "n",
|
|
2186
|
+
"module": "dist/chunks/nl.7BPSDYTC.js"
|
|
2436
2187
|
}
|
|
2437
2188
|
}
|
|
2438
2189
|
]
|
|
2439
2190
|
},
|
|
2440
2191
|
{
|
|
2441
2192
|
"kind": "javascript-module",
|
|
2442
|
-
"path": "dist/chunks/
|
|
2193
|
+
"path": "dist/chunks/nl_NL.6ZVCFPVW.js",
|
|
2443
2194
|
"declarations": [
|
|
2444
2195
|
{
|
|
2445
2196
|
"kind": "variable",
|
|
2446
|
-
"name": "
|
|
2197
|
+
"name": "n",
|
|
2447
2198
|
"default": "e"
|
|
2448
2199
|
}
|
|
2449
2200
|
],
|
|
@@ -2452,20 +2203,20 @@
|
|
|
2452
2203
|
"kind": "js",
|
|
2453
2204
|
"name": "templates",
|
|
2454
2205
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "dist/chunks/
|
|
2206
|
+
"name": "n",
|
|
2207
|
+
"module": "dist/chunks/nl_NL.6ZVCFPVW.js"
|
|
2457
2208
|
}
|
|
2458
2209
|
}
|
|
2459
2210
|
]
|
|
2460
2211
|
},
|
|
2461
2212
|
{
|
|
2462
2213
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "dist/chunks/
|
|
2214
|
+
"path": "dist/chunks/pl.RF34QM23.js",
|
|
2464
2215
|
"declarations": [
|
|
2465
2216
|
{
|
|
2466
2217
|
"kind": "variable",
|
|
2467
|
-
"name": "
|
|
2468
|
-
"default": "
|
|
2218
|
+
"name": "i",
|
|
2219
|
+
"default": "a"
|
|
2469
2220
|
}
|
|
2470
2221
|
],
|
|
2471
2222
|
"exports": [
|
|
@@ -2473,20 +2224,20 @@
|
|
|
2473
2224
|
"kind": "js",
|
|
2474
2225
|
"name": "templates",
|
|
2475
2226
|
"declaration": {
|
|
2476
|
-
"name": "
|
|
2477
|
-
"module": "dist/chunks/
|
|
2227
|
+
"name": "i",
|
|
2228
|
+
"module": "dist/chunks/pl.RF34QM23.js"
|
|
2478
2229
|
}
|
|
2479
2230
|
}
|
|
2480
2231
|
]
|
|
2481
2232
|
},
|
|
2482
2233
|
{
|
|
2483
2234
|
"kind": "javascript-module",
|
|
2484
|
-
"path": "dist/chunks/
|
|
2235
|
+
"path": "dist/chunks/pt-BR.AKDHLRUA.js",
|
|
2485
2236
|
"declarations": [
|
|
2486
2237
|
{
|
|
2487
2238
|
"kind": "variable",
|
|
2488
|
-
"name": "
|
|
2489
|
-
"default": "
|
|
2239
|
+
"name": "t",
|
|
2240
|
+
"default": "e"
|
|
2490
2241
|
}
|
|
2491
2242
|
],
|
|
2492
2243
|
"exports": [
|
|
@@ -2494,19 +2245,19 @@
|
|
|
2494
2245
|
"kind": "js",
|
|
2495
2246
|
"name": "templates",
|
|
2496
2247
|
"declaration": {
|
|
2497
|
-
"name": "
|
|
2498
|
-
"module": "dist/chunks/
|
|
2248
|
+
"name": "t",
|
|
2249
|
+
"module": "dist/chunks/pt-BR.AKDHLRUA.js"
|
|
2499
2250
|
}
|
|
2500
2251
|
}
|
|
2501
2252
|
]
|
|
2502
2253
|
},
|
|
2503
2254
|
{
|
|
2504
2255
|
"kind": "javascript-module",
|
|
2505
|
-
"path": "dist/chunks/
|
|
2256
|
+
"path": "dist/chunks/pt.VBALOWHZ.js",
|
|
2506
2257
|
"declarations": [
|
|
2507
2258
|
{
|
|
2508
2259
|
"kind": "variable",
|
|
2509
|
-
"name": "
|
|
2260
|
+
"name": "t",
|
|
2510
2261
|
"default": "e"
|
|
2511
2262
|
}
|
|
2512
2263
|
],
|
|
@@ -2515,19 +2266,19 @@
|
|
|
2515
2266
|
"kind": "js",
|
|
2516
2267
|
"name": "templates",
|
|
2517
2268
|
"declaration": {
|
|
2518
|
-
"name": "
|
|
2519
|
-
"module": "dist/chunks/
|
|
2269
|
+
"name": "t",
|
|
2270
|
+
"module": "dist/chunks/pt.VBALOWHZ.js"
|
|
2520
2271
|
}
|
|
2521
2272
|
}
|
|
2522
2273
|
]
|
|
2523
2274
|
},
|
|
2524
2275
|
{
|
|
2525
2276
|
"kind": "javascript-module",
|
|
2526
|
-
"path": "dist/chunks/
|
|
2277
|
+
"path": "dist/chunks/ro.WN7VCF27.js",
|
|
2527
2278
|
"declarations": [
|
|
2528
2279
|
{
|
|
2529
2280
|
"kind": "variable",
|
|
2530
|
-
"name": "
|
|
2281
|
+
"name": "i",
|
|
2531
2282
|
"default": "e"
|
|
2532
2283
|
}
|
|
2533
2284
|
],
|
|
@@ -2536,15 +2287,15 @@
|
|
|
2536
2287
|
"kind": "js",
|
|
2537
2288
|
"name": "templates",
|
|
2538
2289
|
"declaration": {
|
|
2539
|
-
"name": "
|
|
2540
|
-
"module": "dist/chunks/
|
|
2290
|
+
"name": "i",
|
|
2291
|
+
"module": "dist/chunks/ro.WN7VCF27.js"
|
|
2541
2292
|
}
|
|
2542
2293
|
}
|
|
2543
2294
|
]
|
|
2544
2295
|
},
|
|
2545
2296
|
{
|
|
2546
2297
|
"kind": "javascript-module",
|
|
2547
|
-
"path": "dist/chunks/
|
|
2298
|
+
"path": "dist/chunks/ru.ICXGVGRR.js",
|
|
2548
2299
|
"declarations": [
|
|
2549
2300
|
{
|
|
2550
2301
|
"kind": "variable",
|
|
@@ -2558,19 +2309,19 @@
|
|
|
2558
2309
|
"name": "templates",
|
|
2559
2310
|
"declaration": {
|
|
2560
2311
|
"name": "o",
|
|
2561
|
-
"module": "dist/chunks/
|
|
2312
|
+
"module": "dist/chunks/ru.ICXGVGRR.js"
|
|
2562
2313
|
}
|
|
2563
2314
|
}
|
|
2564
2315
|
]
|
|
2565
2316
|
},
|
|
2566
2317
|
{
|
|
2567
2318
|
"kind": "javascript-module",
|
|
2568
|
-
"path": "dist/chunks/
|
|
2319
|
+
"path": "dist/chunks/sk.SIP5JIOX.js",
|
|
2569
2320
|
"declarations": [
|
|
2570
2321
|
{
|
|
2571
2322
|
"kind": "variable",
|
|
2572
|
-
"name": "
|
|
2573
|
-
"default": "
|
|
2323
|
+
"name": "r",
|
|
2324
|
+
"default": "e"
|
|
2574
2325
|
}
|
|
2575
2326
|
],
|
|
2576
2327
|
"exports": [
|
|
@@ -2578,20 +2329,20 @@
|
|
|
2578
2329
|
"kind": "js",
|
|
2579
2330
|
"name": "templates",
|
|
2580
2331
|
"declaration": {
|
|
2581
|
-
"name": "
|
|
2582
|
-
"module": "dist/chunks/
|
|
2332
|
+
"name": "r",
|
|
2333
|
+
"module": "dist/chunks/sk.SIP5JIOX.js"
|
|
2583
2334
|
}
|
|
2584
2335
|
}
|
|
2585
2336
|
]
|
|
2586
2337
|
},
|
|
2587
2338
|
{
|
|
2588
2339
|
"kind": "javascript-module",
|
|
2589
|
-
"path": "dist/chunks/
|
|
2340
|
+
"path": "dist/chunks/sl.R77UEKCA.js",
|
|
2590
2341
|
"declarations": [
|
|
2591
2342
|
{
|
|
2592
2343
|
"kind": "variable",
|
|
2593
|
-
"name": "
|
|
2594
|
-
"default": "
|
|
2344
|
+
"name": "r",
|
|
2345
|
+
"default": "e"
|
|
2595
2346
|
}
|
|
2596
2347
|
],
|
|
2597
2348
|
"exports": [
|
|
@@ -2599,20 +2350,20 @@
|
|
|
2599
2350
|
"kind": "js",
|
|
2600
2351
|
"name": "templates",
|
|
2601
2352
|
"declaration": {
|
|
2602
|
-
"name": "
|
|
2603
|
-
"module": "dist/chunks/
|
|
2353
|
+
"name": "r",
|
|
2354
|
+
"module": "dist/chunks/sl.R77UEKCA.js"
|
|
2604
2355
|
}
|
|
2605
2356
|
}
|
|
2606
2357
|
]
|
|
2607
2358
|
},
|
|
2608
2359
|
{
|
|
2609
2360
|
"kind": "javascript-module",
|
|
2610
|
-
"path": "dist/chunks/
|
|
2361
|
+
"path": "dist/chunks/sr-RS.6M2YSTDX.js",
|
|
2611
2362
|
"declarations": [
|
|
2612
2363
|
{
|
|
2613
2364
|
"kind": "variable",
|
|
2614
|
-
"name": "
|
|
2615
|
-
"default": "
|
|
2365
|
+
"name": "o",
|
|
2366
|
+
"default": "e"
|
|
2616
2367
|
}
|
|
2617
2368
|
],
|
|
2618
2369
|
"exports": [
|
|
@@ -2620,20 +2371,20 @@
|
|
|
2620
2371
|
"kind": "js",
|
|
2621
2372
|
"name": "templates",
|
|
2622
2373
|
"declaration": {
|
|
2623
|
-
"name": "
|
|
2624
|
-
"module": "dist/chunks/
|
|
2374
|
+
"name": "o",
|
|
2375
|
+
"module": "dist/chunks/sr-RS.6M2YSTDX.js"
|
|
2625
2376
|
}
|
|
2626
2377
|
}
|
|
2627
2378
|
]
|
|
2628
2379
|
},
|
|
2629
2380
|
{
|
|
2630
2381
|
"kind": "javascript-module",
|
|
2631
|
-
"path": "dist/chunks/
|
|
2382
|
+
"path": "dist/chunks/sv.33ZY4CDS.js",
|
|
2632
2383
|
"declarations": [
|
|
2633
2384
|
{
|
|
2634
2385
|
"kind": "variable",
|
|
2635
|
-
"name": "
|
|
2636
|
-
"default": "
|
|
2386
|
+
"name": "n",
|
|
2387
|
+
"default": "e"
|
|
2637
2388
|
}
|
|
2638
2389
|
],
|
|
2639
2390
|
"exports": [
|
|
@@ -2641,20 +2392,20 @@
|
|
|
2641
2392
|
"kind": "js",
|
|
2642
2393
|
"name": "templates",
|
|
2643
2394
|
"declaration": {
|
|
2644
|
-
"name": "
|
|
2645
|
-
"module": "dist/chunks/
|
|
2395
|
+
"name": "n",
|
|
2396
|
+
"module": "dist/chunks/sv.33ZY4CDS.js"
|
|
2646
2397
|
}
|
|
2647
2398
|
}
|
|
2648
2399
|
]
|
|
2649
2400
|
},
|
|
2650
2401
|
{
|
|
2651
2402
|
"kind": "javascript-module",
|
|
2652
|
-
"path": "dist/chunks/
|
|
2403
|
+
"path": "dist/chunks/th.M27YUIZC.js",
|
|
2653
2404
|
"declarations": [
|
|
2654
2405
|
{
|
|
2655
2406
|
"kind": "variable",
|
|
2656
|
-
"name": "
|
|
2657
|
-
"default": "
|
|
2407
|
+
"name": "o",
|
|
2408
|
+
"default": "e"
|
|
2658
2409
|
}
|
|
2659
2410
|
],
|
|
2660
2411
|
"exports": [
|
|
@@ -2662,19 +2413,19 @@
|
|
|
2662
2413
|
"kind": "js",
|
|
2663
2414
|
"name": "templates",
|
|
2664
2415
|
"declaration": {
|
|
2665
|
-
"name": "
|
|
2666
|
-
"module": "dist/chunks/
|
|
2416
|
+
"name": "o",
|
|
2417
|
+
"module": "dist/chunks/th.M27YUIZC.js"
|
|
2667
2418
|
}
|
|
2668
2419
|
}
|
|
2669
2420
|
]
|
|
2670
2421
|
},
|
|
2671
2422
|
{
|
|
2672
2423
|
"kind": "javascript-module",
|
|
2673
|
-
"path": "dist/chunks/
|
|
2424
|
+
"path": "dist/chunks/tr.Q2SIY6NA.js",
|
|
2674
2425
|
"declarations": [
|
|
2675
2426
|
{
|
|
2676
2427
|
"kind": "variable",
|
|
2677
|
-
"name": "
|
|
2428
|
+
"name": "n",
|
|
2678
2429
|
"default": "e"
|
|
2679
2430
|
}
|
|
2680
2431
|
],
|
|
@@ -2683,19 +2434,19 @@
|
|
|
2683
2434
|
"kind": "js",
|
|
2684
2435
|
"name": "templates",
|
|
2685
2436
|
"declaration": {
|
|
2686
|
-
"name": "
|
|
2687
|
-
"module": "dist/chunks/
|
|
2437
|
+
"name": "n",
|
|
2438
|
+
"module": "dist/chunks/tr.Q2SIY6NA.js"
|
|
2688
2439
|
}
|
|
2689
2440
|
}
|
|
2690
2441
|
]
|
|
2691
2442
|
},
|
|
2692
2443
|
{
|
|
2693
2444
|
"kind": "javascript-module",
|
|
2694
|
-
"path": "dist/chunks/
|
|
2445
|
+
"path": "dist/chunks/uk-UA.EJZOGSJR.js",
|
|
2695
2446
|
"declarations": [
|
|
2696
2447
|
{
|
|
2697
2448
|
"kind": "variable",
|
|
2698
|
-
"name": "
|
|
2449
|
+
"name": "o",
|
|
2699
2450
|
"default": "e"
|
|
2700
2451
|
}
|
|
2701
2452
|
],
|
|
@@ -2704,20 +2455,20 @@
|
|
|
2704
2455
|
"kind": "js",
|
|
2705
2456
|
"name": "templates",
|
|
2706
2457
|
"declaration": {
|
|
2707
|
-
"name": "
|
|
2708
|
-
"module": "dist/chunks/
|
|
2458
|
+
"name": "o",
|
|
2459
|
+
"module": "dist/chunks/uk-UA.EJZOGSJR.js"
|
|
2709
2460
|
}
|
|
2710
2461
|
}
|
|
2711
2462
|
]
|
|
2712
2463
|
},
|
|
2713
2464
|
{
|
|
2714
2465
|
"kind": "javascript-module",
|
|
2715
|
-
"path": "dist/chunks/
|
|
2466
|
+
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
2716
2467
|
"declarations": [
|
|
2717
2468
|
{
|
|
2718
2469
|
"kind": "variable",
|
|
2719
|
-
"name": "
|
|
2720
|
-
"default": "
|
|
2470
|
+
"name": "a",
|
|
2471
|
+
"default": "n"
|
|
2721
2472
|
}
|
|
2722
2473
|
],
|
|
2723
2474
|
"exports": [
|
|
@@ -2725,20 +2476,20 @@
|
|
|
2725
2476
|
"kind": "js",
|
|
2726
2477
|
"name": "templates",
|
|
2727
2478
|
"declaration": {
|
|
2728
|
-
"name": "
|
|
2729
|
-
"module": "dist/chunks/
|
|
2479
|
+
"name": "a",
|
|
2480
|
+
"module": "dist/chunks/vi.3RROGLXM.js"
|
|
2730
2481
|
}
|
|
2731
2482
|
}
|
|
2732
2483
|
]
|
|
2733
2484
|
},
|
|
2734
2485
|
{
|
|
2735
2486
|
"kind": "javascript-module",
|
|
2736
|
-
"path": "dist/chunks/
|
|
2487
|
+
"path": "dist/chunks/zf.GGWFQ3Y7.js",
|
|
2737
2488
|
"declarations": [
|
|
2738
2489
|
{
|
|
2739
2490
|
"kind": "variable",
|
|
2740
|
-
"name": "
|
|
2741
|
-
"default": "
|
|
2491
|
+
"name": "a",
|
|
2492
|
+
"default": "t"
|
|
2742
2493
|
}
|
|
2743
2494
|
],
|
|
2744
2495
|
"exports": [
|
|
@@ -2746,19 +2497,19 @@
|
|
|
2746
2497
|
"kind": "js",
|
|
2747
2498
|
"name": "templates",
|
|
2748
2499
|
"declaration": {
|
|
2749
|
-
"name": "
|
|
2750
|
-
"module": "dist/chunks/
|
|
2500
|
+
"name": "a",
|
|
2501
|
+
"module": "dist/chunks/zf.GGWFQ3Y7.js"
|
|
2751
2502
|
}
|
|
2752
2503
|
}
|
|
2753
2504
|
]
|
|
2754
2505
|
},
|
|
2755
2506
|
{
|
|
2756
2507
|
"kind": "javascript-module",
|
|
2757
|
-
"path": "dist/chunks/
|
|
2508
|
+
"path": "dist/chunks/zh-CN.MQHNRMN4.js",
|
|
2758
2509
|
"declarations": [
|
|
2759
2510
|
{
|
|
2760
2511
|
"kind": "variable",
|
|
2761
|
-
"name": "
|
|
2512
|
+
"name": "o",
|
|
2762
2513
|
"default": "e"
|
|
2763
2514
|
}
|
|
2764
2515
|
],
|
|
@@ -2767,19 +2518,19 @@
|
|
|
2767
2518
|
"kind": "js",
|
|
2768
2519
|
"name": "templates",
|
|
2769
2520
|
"declaration": {
|
|
2770
|
-
"name": "
|
|
2771
|
-
"module": "dist/chunks/
|
|
2521
|
+
"name": "o",
|
|
2522
|
+
"module": "dist/chunks/zh-CN.MQHNRMN4.js"
|
|
2772
2523
|
}
|
|
2773
2524
|
}
|
|
2774
2525
|
]
|
|
2775
2526
|
},
|
|
2776
2527
|
{
|
|
2777
2528
|
"kind": "javascript-module",
|
|
2778
|
-
"path": "dist/chunks/
|
|
2529
|
+
"path": "dist/chunks/zh-HK.WNR7XUSX.js",
|
|
2779
2530
|
"declarations": [
|
|
2780
2531
|
{
|
|
2781
2532
|
"kind": "variable",
|
|
2782
|
-
"name": "
|
|
2533
|
+
"name": "o",
|
|
2783
2534
|
"default": "e"
|
|
2784
2535
|
}
|
|
2785
2536
|
],
|
|
@@ -2788,19 +2539,19 @@
|
|
|
2788
2539
|
"kind": "js",
|
|
2789
2540
|
"name": "templates",
|
|
2790
2541
|
"declaration": {
|
|
2791
|
-
"name": "
|
|
2792
|
-
"module": "dist/chunks/
|
|
2542
|
+
"name": "o",
|
|
2543
|
+
"module": "dist/chunks/zh-HK.WNR7XUSX.js"
|
|
2793
2544
|
}
|
|
2794
2545
|
}
|
|
2795
2546
|
]
|
|
2796
2547
|
},
|
|
2797
2548
|
{
|
|
2798
2549
|
"kind": "javascript-module",
|
|
2799
|
-
"path": "dist/chunks/
|
|
2550
|
+
"path": "dist/chunks/zh-TW.GNCY2PNY.js",
|
|
2800
2551
|
"declarations": [
|
|
2801
2552
|
{
|
|
2802
2553
|
"kind": "variable",
|
|
2803
|
-
"name": "
|
|
2554
|
+
"name": "o",
|
|
2804
2555
|
"default": "e"
|
|
2805
2556
|
}
|
|
2806
2557
|
],
|
|
@@ -2809,285 +2560,534 @@
|
|
|
2809
2560
|
"kind": "js",
|
|
2810
2561
|
"name": "templates",
|
|
2811
2562
|
"declaration": {
|
|
2812
|
-
"name": "
|
|
2813
|
-
"module": "dist/chunks/
|
|
2563
|
+
"name": "o",
|
|
2564
|
+
"module": "dist/chunks/zh-TW.GNCY2PNY.js"
|
|
2814
2565
|
}
|
|
2815
2566
|
}
|
|
2816
2567
|
]
|
|
2817
2568
|
},
|
|
2818
2569
|
{
|
|
2819
2570
|
"kind": "javascript-module",
|
|
2820
|
-
"path": "
|
|
2571
|
+
"path": "e2e/mocks/card-3ds.ts",
|
|
2821
2572
|
"declarations": [
|
|
2822
2573
|
{
|
|
2823
2574
|
"kind": "variable",
|
|
2824
|
-
"name": "
|
|
2825
|
-
"
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
"kind": "js",
|
|
2831
|
-
"name": "templates",
|
|
2832
|
-
"declaration": {
|
|
2833
|
-
"name": "o",
|
|
2834
|
-
"module": "dist/chunks/ru.ICXGVGRR.js"
|
|
2835
|
-
}
|
|
2836
|
-
}
|
|
2837
|
-
]
|
|
2838
|
-
},
|
|
2839
|
-
{
|
|
2840
|
-
"kind": "javascript-module",
|
|
2841
|
-
"path": "dist/chunks/sk.SIP5JIOX.js",
|
|
2842
|
-
"declarations": [
|
|
2575
|
+
"name": "settings",
|
|
2576
|
+
"type": {
|
|
2577
|
+
"text": "string"
|
|
2578
|
+
},
|
|
2579
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7fX0='"
|
|
2580
|
+
},
|
|
2843
2581
|
{
|
|
2844
2582
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
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: {}, }"
|
|
2847
2588
|
}
|
|
2848
2589
|
],
|
|
2849
2590
|
"exports": [
|
|
2850
2591
|
{
|
|
2851
2592
|
"kind": "js",
|
|
2852
|
-
"name": "
|
|
2593
|
+
"name": "settings",
|
|
2853
2594
|
"declaration": {
|
|
2854
|
-
"name": "
|
|
2855
|
-
"module": "
|
|
2595
|
+
"name": "settings",
|
|
2596
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"kind": "js",
|
|
2601
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2602
|
+
"declaration": {
|
|
2603
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2604
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
2856
2605
|
}
|
|
2857
2606
|
}
|
|
2858
2607
|
]
|
|
2859
2608
|
},
|
|
2860
2609
|
{
|
|
2861
2610
|
"kind": "javascript-module",
|
|
2862
|
-
"path": "
|
|
2611
|
+
"path": "e2e/mocks/card-basic.ts",
|
|
2863
2612
|
"declarations": [
|
|
2864
2613
|
{
|
|
2865
2614
|
"kind": "variable",
|
|
2866
|
-
"name": "
|
|
2867
|
-
"
|
|
2615
|
+
"name": "settings",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"text": "string"
|
|
2618
|
+
},
|
|
2619
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJlbnYiOiJDVVNUT01fU1RBR0lORyIsImFwaVZlcnNpb24iOiIyLjIifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnt9fQ=='"
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"kind": "variable",
|
|
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
|
+
]
|
|
2868
2692
|
}
|
|
2869
2693
|
],
|
|
2870
2694
|
"exports": [
|
|
2871
2695
|
{
|
|
2872
2696
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2697
|
+
"name": "settings",
|
|
2874
2698
|
"declaration": {
|
|
2875
|
-
"name": "
|
|
2876
|
-
"module": "
|
|
2699
|
+
"name": "settings",
|
|
2700
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2877
2701
|
}
|
|
2878
|
-
}
|
|
2879
|
-
]
|
|
2880
|
-
},
|
|
2881
|
-
{
|
|
2882
|
-
"kind": "javascript-module",
|
|
2883
|
-
"path": "dist/chunks/sr-RS.6M2YSTDX.js",
|
|
2884
|
-
"declarations": [
|
|
2702
|
+
},
|
|
2885
2703
|
{
|
|
2886
|
-
"kind": "
|
|
2887
|
-
"name": "
|
|
2888
|
-
"
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2704
|
+
"kind": "js",
|
|
2705
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2706
|
+
"declaration": {
|
|
2707
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2708
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2892
2711
|
{
|
|
2893
2712
|
"kind": "js",
|
|
2894
|
-
"name": "
|
|
2713
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2895
2714
|
"declaration": {
|
|
2896
|
-
"name": "
|
|
2897
|
-
"module": "
|
|
2715
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2716
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"kind": "js",
|
|
2721
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
2722
|
+
"declaration": {
|
|
2723
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
2724
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
"kind": "js",
|
|
2729
|
+
"name": "mockPaymentInstruments",
|
|
2730
|
+
"declaration": {
|
|
2731
|
+
"name": "mockPaymentInstruments",
|
|
2732
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"kind": "js",
|
|
2737
|
+
"name": "mockPayments",
|
|
2738
|
+
"declaration": {
|
|
2739
|
+
"name": "mockPayments",
|
|
2740
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"kind": "js",
|
|
2745
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
2746
|
+
"declaration": {
|
|
2747
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
2748
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"kind": "js",
|
|
2753
|
+
"name": "mockPaymentsFailure",
|
|
2754
|
+
"declaration": {
|
|
2755
|
+
"name": "mockPaymentsFailure",
|
|
2756
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
2898
2757
|
}
|
|
2899
2758
|
}
|
|
2900
2759
|
]
|
|
2901
2760
|
},
|
|
2902
2761
|
{
|
|
2903
2762
|
"kind": "javascript-module",
|
|
2904
|
-
"path": "
|
|
2763
|
+
"path": "e2e/mocks/klarna.ts",
|
|
2905
2764
|
"declarations": [
|
|
2906
2765
|
{
|
|
2907
2766
|
"kind": "variable",
|
|
2908
|
-
"name": "
|
|
2909
|
-
"
|
|
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: {}, }"
|
|
2910
2780
|
}
|
|
2911
2781
|
],
|
|
2912
2782
|
"exports": [
|
|
2913
2783
|
{
|
|
2914
2784
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2785
|
+
"name": "settings",
|
|
2916
2786
|
"declaration": {
|
|
2917
|
-
"name": "
|
|
2918
|
-
"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"
|
|
2919
2797
|
}
|
|
2920
2798
|
}
|
|
2921
2799
|
]
|
|
2922
2800
|
},
|
|
2923
2801
|
{
|
|
2924
2802
|
"kind": "javascript-module",
|
|
2925
|
-
"path": "
|
|
2803
|
+
"path": "e2e/mocks/shared.ts",
|
|
2926
2804
|
"declarations": [
|
|
2927
2805
|
{
|
|
2928
|
-
"kind": "
|
|
2929
|
-
"name": "
|
|
2930
|
-
"
|
|
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
|
+
]
|
|
2931
2840
|
}
|
|
2932
2841
|
],
|
|
2933
2842
|
"exports": [
|
|
2934
2843
|
{
|
|
2935
2844
|
"kind": "js",
|
|
2936
|
-
"name": "
|
|
2845
|
+
"name": "mockConfigurationCallSBX",
|
|
2846
|
+
"declaration": {
|
|
2847
|
+
"name": "mockConfigurationCallSBX",
|
|
2848
|
+
"module": "e2e/mocks/shared.ts"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "js",
|
|
2853
|
+
"name": "mockConfigurationCallSTG",
|
|
2937
2854
|
"declaration": {
|
|
2938
|
-
"name": "
|
|
2939
|
-
"module": "
|
|
2855
|
+
"name": "mockConfigurationCallSTG",
|
|
2856
|
+
"module": "e2e/mocks/shared.ts"
|
|
2940
2857
|
}
|
|
2941
2858
|
}
|
|
2942
2859
|
]
|
|
2943
2860
|
},
|
|
2944
2861
|
{
|
|
2945
2862
|
"kind": "javascript-module",
|
|
2946
|
-
"path": "
|
|
2863
|
+
"path": "e2e/mocks/vaulted-paypal.ts",
|
|
2947
2864
|
"declarations": [
|
|
2948
2865
|
{
|
|
2949
2866
|
"kind": "variable",
|
|
2950
|
-
"name": "
|
|
2951
|
-
"
|
|
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
|
+
]
|
|
2952
2904
|
}
|
|
2953
2905
|
],
|
|
2954
2906
|
"exports": [
|
|
2955
2907
|
{
|
|
2956
2908
|
"kind": "js",
|
|
2957
|
-
"name": "
|
|
2909
|
+
"name": "settings",
|
|
2958
2910
|
"declaration": {
|
|
2959
|
-
"name": "
|
|
2960
|
-
"module": "
|
|
2911
|
+
"name": "settings",
|
|
2912
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2961
2913
|
}
|
|
2962
|
-
}
|
|
2963
|
-
]
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
"kind": "javascript-module",
|
|
2967
|
-
"path": "dist/chunks/uk-UA.EJZOGSJR.js",
|
|
2968
|
-
"declarations": [
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "variable",
|
|
2971
|
-
"name": "o",
|
|
2972
|
-
"default": "e"
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2914
|
+
},
|
|
2976
2915
|
{
|
|
2977
2916
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2917
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2979
2918
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "
|
|
2919
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2920
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2982
2921
|
}
|
|
2983
|
-
}
|
|
2984
|
-
]
|
|
2985
|
-
},
|
|
2986
|
-
{
|
|
2987
|
-
"kind": "javascript-module",
|
|
2988
|
-
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
2989
|
-
"declarations": [
|
|
2922
|
+
},
|
|
2990
2923
|
{
|
|
2991
|
-
"kind": "
|
|
2992
|
-
"name": "
|
|
2993
|
-
"
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2924
|
+
"kind": "js",
|
|
2925
|
+
"name": "mockExchangeCall",
|
|
2926
|
+
"declaration": {
|
|
2927
|
+
"name": "mockExchangeCall",
|
|
2928
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2997
2931
|
{
|
|
2998
2932
|
"kind": "js",
|
|
2999
|
-
"name": "
|
|
2933
|
+
"name": "mockPaymentsCall",
|
|
3000
2934
|
"declaration": {
|
|
3001
|
-
"name": "
|
|
3002
|
-
"module": "
|
|
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",
|
|
@@ -10074,7 +10074,7 @@
|
|
|
10074
10074
|
"text": "number"
|
|
10075
10075
|
}
|
|
10076
10076
|
},
|
|
10077
|
-
"description": "Calculates the button height
|
|
10077
|
+
"description": "Calculates the button height by reading the computed height from the element.\nThe CSS already calculates the correct height using CSS variables,\nso we just read the browser's computed value (which handles rem/em/% conversions)."
|
|
10078
10078
|
},
|
|
10079
10079
|
{
|
|
10080
10080
|
"kind": "method",
|