@primer-io/primer-js 1.0.1 → 1.0.3
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/chunks/{ar.TR6QET27.js → ar.4ZFBST5B.js} +1 -1
- package/dist/chunks/{bg.EJ7QNYMP.js → bg.A6DFGUKU.js} +1 -1
- package/dist/chunks/{ca.7C2IYV2P.js → ca.3MVWILFG.js} +1 -1
- package/dist/chunks/chunk.QNO3CTH5.js +1 -0
- package/dist/chunks/{cs.JT4THDDV.js → cs.INYY7XZR.js} +1 -1
- package/dist/chunks/{da.EM7SEPAQ.js → da.Y5IIDRC3.js} +1 -1
- package/dist/chunks/{de.K6IE7XOI.js → de.JZT46DAB.js} +1 -1
- package/dist/chunks/{el.3CKRNQD5.js → el.FJQOSK4N.js} +1 -1
- package/dist/chunks/en-GB.TL522NMU.js +1 -0
- package/dist/chunks/en.JFPWSECQ.js +1 -0
- package/dist/chunks/{es-AR.ND7EGZHB.js → es-AR.GBZW2HPG.js} +1 -1
- package/dist/chunks/{es-MX.6QU35A6L.js → es-MX.NFJ7HXSV.js} +1 -1
- package/dist/chunks/{es.SMVRR5QO.js → es.FX4YBDVU.js} +1 -1
- package/dist/chunks/{et-EE.BRBL5QIG.js → et-EE.JZD334EI.js} +1 -1
- package/dist/chunks/{fi-FI.TPQGZ5V7.js → fi-FI.SHTM3UQK.js} +1 -1
- package/dist/chunks/{fr.WWOUUKQI.js → fr.MZYBSJWU.js} +1 -1
- package/dist/chunks/{he.OVEJBPUX.js → he.BQXGQQ4P.js} +1 -1
- package/dist/chunks/{hr.YPXJZUYV.js → hr.EK5WNO4N.js} +1 -1
- package/dist/chunks/{hu.7LEUFJ5J.js → hu.N2BVXVWY.js} +1 -1
- package/dist/chunks/{id.TFWG6VOU.js → id.IJ37WK5P.js} +1 -1
- package/dist/chunks/{it.3SV7XLRR.js → it.2ZUPJDRP.js} +1 -1
- package/dist/chunks/{ja.P6C656R7.js → ja.BNLF6BZT.js} +1 -1
- package/dist/chunks/{ko.VOUHNCJ7.js → ko.YJAZTBEF.js} +1 -1
- package/dist/chunks/{lt-LT.AFL7G4NO.js → lt-LT.GOVUI3KD.js} +1 -1
- package/dist/chunks/{lt.TRKH4J6L.js → lt.IPLRYI7A.js} +1 -1
- package/dist/chunks/{lv-LV.TGTBYQYP.js → lv-LV.EA76F4DL.js} +1 -1
- package/dist/chunks/{lv.HZTEA2Q2.js → lv.I7E6LMWA.js} +1 -1
- package/dist/chunks/{ms.QEKTVYHX.js → ms.6I2BVK63.js} +1 -1
- package/dist/chunks/{nb.HRDZEYXV.js → nb.BYMLE7EQ.js} +1 -1
- package/dist/chunks/{nl.2R7WVAV3.js → nl.QOSIJQZE.js} +1 -1
- package/dist/chunks/{nl_NL.KHWKCZMK.js → nl_NL.DVZWMQJN.js} +1 -1
- package/dist/chunks/{pl.D6YHYKB6.js → pl.VK5CNTV3.js} +1 -1
- package/dist/chunks/{pt-BR.3NGFYB4U.js → pt-BR.22GYWGY5.js} +1 -1
- package/dist/chunks/{pt.LYW2A6VH.js → pt.L2PBSEBD.js} +1 -1
- package/dist/chunks/{ro.ILTDKZ2H.js → ro.VFIM4IS3.js} +1 -1
- package/dist/chunks/{ru.KJZFKIJM.js → ru.VLLE4DKK.js} +1 -1
- package/dist/chunks/{sk.5POYRJGA.js → sk.JALTDVLO.js} +1 -1
- package/dist/chunks/{sl.GN5UGR5G.js → sl.PQOCETM2.js} +1 -1
- package/dist/chunks/{sr-RS.T3II5ZYL.js → sr-RS.RGO57OCW.js} +1 -1
- package/dist/chunks/{sv.63HB4O5X.js → sv.FQJP73FF.js} +1 -1
- package/dist/chunks/{th.AZ4SQZFW.js → th.QYA26J2E.js} +1 -1
- package/dist/chunks/{tr.WDGRPXBK.js → tr.5ZDAANBV.js} +1 -1
- package/dist/chunks/{uk-UA.GYXXM7FX.js → uk-UA.FWQ7KVBB.js} +1 -1
- package/dist/chunks/{vi.TBVAKNJJ.js → vi.GB6QZAMD.js} +1 -1
- package/dist/chunks/zf.LNP32XVM.js +1 -0
- package/dist/chunks/{zh-CN.NK7PKUS6.js → zh-CN.OEA7I6ZA.js} +1 -1
- package/dist/chunks/{zh-HK.SQG5YIVQ.js → zh-HK.OUXNL5ZM.js} +1 -1
- package/dist/chunks/{zh-TW.P2X3B7LC.js → zh-TW.C5STTOCA.js} +1 -1
- package/dist/custom-elements.json +654 -610
- package/dist/jsx/index.d.ts +31 -31
- package/dist/primer-loader.d.ts +1 -0
- package/dist/primer-loader.js +12 -12
- package/dist/vscode.html-custom-data.json +26 -26
- package/dist/web-types.json +67 -67
- package/package.json +1 -1
- package/dist/chunks/chunk.DV3REKZU.js +0 -1
- package/dist/chunks/en-GB.LG2PPT2V.js +0 -1
- package/dist/chunks/en.47EGLMYC.js +0 -1
- package/dist/chunks/zf.GGWFQ3Y7.js +0 -1
|
@@ -2,17 +2,42 @@
|
|
|
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
|
+
"default": "chromaticTest"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"exports": [
|
|
16
|
+
{
|
|
17
|
+
"kind": "js",
|
|
18
|
+
"name": "expect",
|
|
19
|
+
"declaration": {
|
|
20
|
+
"name": "expect",
|
|
21
|
+
"package": "@chromatic-com/playwright"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "js",
|
|
26
|
+
"name": "test",
|
|
27
|
+
"declaration": {
|
|
28
|
+
"name": "test",
|
|
29
|
+
"module": "e2e/utils.ts"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
5
34
|
{
|
|
6
35
|
"kind": "javascript-module",
|
|
7
36
|
"path": "dist/primer-loader.js",
|
|
8
37
|
"declarations": [
|
|
9
38
|
{
|
|
10
39
|
"kind": "variable",
|
|
11
|
-
"name": "t"
|
|
12
|
-
"type": {
|
|
13
|
-
"text": "object"
|
|
14
|
-
},
|
|
15
|
-
"default": "{detectedCardNetwork:null,selectableCardNetworks:[],isLoading:!0}"
|
|
40
|
+
"name": "t"
|
|
16
41
|
},
|
|
17
42
|
{
|
|
18
43
|
"kind": "function",
|
|
@@ -49,63 +74,63 @@
|
|
|
49
74
|
},
|
|
50
75
|
{
|
|
51
76
|
"kind": "variable",
|
|
52
|
-
"name": "
|
|
77
|
+
"name": "oe",
|
|
53
78
|
"default": "class extends v{constructor(){super(...arguments);this.size=\"large\";this.showCloseButton=!1;this.open=!1}openDialog(){this.open=!0}closeDialog(){let e=()=>{this.open=!1,this.removeEventListener(\"primer:dialog-close\",e)};this.addEventListener(\"primer:dialog-close\",e),this.dialog.startExitAnimation()}connectedCallback(){super.connectedCallback(),this.open||this.openDialog()}updated(e){super.updated(e),e.has(\"open\")&&this.open&&this.onOpen&&this.onOpen(),e.has(\"open\")&&this.open&&this.onContentRendered&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this.onContentRendered?.()})})}render(){return this.open?p`<primer-dialog .open=${this.open} size=${this.size} .showCloseButton=${this.showCloseButton} @primer:dialog-close=\"${()=>{this.open=!1}}\" ><slot></slot>${this.cta?p`<primer-button @click=${this.cta.onClick} class=\"cta-button\">${this.cta.icon?p`<primer-icon name=\"${this.cta.icon}\" size=\"sm\" color=\"var(--primer-color-background-outlined-default)\" ></primer-icon>`:y} ${this.cta.label}</primer-button>`:y}</primer-dialog>`:y}}"
|
|
54
79
|
},
|
|
55
80
|
{
|
|
56
81
|
"kind": "variable",
|
|
57
|
-
"name": "
|
|
58
|
-
"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=
|
|
82
|
+
"name": "Ne",
|
|
83
|
+
"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=na(xr());this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new br(this),this.sdkStateController=new Sr(this),this.primerEventsController=new aa(this),this.styleProcessingController=new Ar(this),this.vaultManagerController=new Ea(this),this.cardNetworkController=new Za(this),this.achPaymentEventsController=new Wr(this),this.headlessSdkController=new jr(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}get primerJS(){return this.headlessSdkController?.primerJSInstance??void 0}connectedCallback(){super.connectedCallback(),this.sdkContextController.setEventsController(this.primerEventsController),this._eventListenerController=new AbortController,document.addEventListener(\"primer:card-submit\",this.handleExternalCardSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:vault-submit\",this.handleExternalVaultSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:show-other-payments-toggle\",this.handleExternalShowOtherPaymentsToggle.bind(this),{signal:this._eventListenerController.signal})}attributeChangedCallback(e,a,i){e===Lm.CUSTOM_STYLES?this.styleProcessingController.processCustomStyles(i):super.attributeChangedCallback(e,a,i)}disconnectedCallback(){this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null),this.sdkStateController?.currentState.isLoading&&this.sdkStateController.forceCompleteLoading(),this._eventListenerController&&(this._eventListenerController.abort(),this._eventListenerController=null),super.disconnectedCallback()}willUpdate(e){e.has(\"options\")&&(this.options?.locale&&(bn(this.options?.locale)?this.locale=na(this.options?.locale):P.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to system locale\")),vn(this.locale))}updated(){let e=getComputedStyle(this);this.sdkContextController.setComputedStyles(e),this.checkLoadingStateChange()}handleExternalCardSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:card-submit\",e.detail)}handleExternalVaultSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:vault-submit\",e.detail)}handleExternalShowOtherPaymentsToggle(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:show-other-payments-toggle\",e.detail)}checkLoadingStateChange(){let e=this.sdkStateController?.currentState.isLoading||!1;if(this.previousLoadingState&&!e){this.jsInitialized=!0,X({eventName:\"CHECKOUT_FLOW_STARTED\"});let a=ze.getSdkInitStartTime(),i=a?Date.now()-a:void 0;ds(i)}this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.currentState.isLoading&&(P.warn(\"Loading timeout in component, forcing completion\"),this.sdkStateController.forceCompleteLoading(),this.jsInitialized=!0),this._loadingTimeoutId=null},1e4):!e&&this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null)}render(){let e=this.sdkStateController.currentState,a=e.isLoading,i=e.primerJsError,n=!a&&!i;return p` ${R(a,()=>y)} ${R(i,()=>p`<primer-checkout-error></primer-checkout-error>`)} ${R(n,()=>p`<slot name=\"main\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<primer-main></primer-main>`)} `,()=>y)} `}addEventListener(e,a,i){super.addEventListener(e,a,i)}removeEventListener(e,a,i){super.removeEventListener(e,a,i)}}"
|
|
59
84
|
},
|
|
60
85
|
{
|
|
61
86
|
"kind": "function",
|
|
62
|
-
"name": "
|
|
87
|
+
"name": "dl"
|
|
63
88
|
},
|
|
64
89
|
{
|
|
65
90
|
"kind": "function",
|
|
66
|
-
"name": "
|
|
91
|
+
"name": "cl"
|
|
67
92
|
},
|
|
68
93
|
{
|
|
69
94
|
"kind": "function",
|
|
70
|
-
"name": "
|
|
95
|
+
"name": "Dm"
|
|
71
96
|
},
|
|
72
97
|
{
|
|
73
98
|
"kind": "function",
|
|
74
|
-
"name": "
|
|
99
|
+
"name": "Om"
|
|
75
100
|
},
|
|
76
101
|
{
|
|
77
102
|
"kind": "variable",
|
|
78
|
-
"name": "
|
|
79
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in
|
|
103
|
+
"name": "je",
|
|
104
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in _n)return _n[this.size];let e=parseInt(this.size,10);return isNaN(e)?_n.medium:e}render(){let e=this.getSize(),a=20,i=`0 0 ${a} ${a}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),p`<div class=\"spinner-container ${this.compact?\"compact\":\"\"}\"><svg class=\"spinner\" width=\"${e}\" height=\"${e}\" viewBox=\"${i}\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"status\" aria-label=\"Loading\" ><path d=\"M4.27827 10.002C4.27827 6.84166 6.84019 4.27973 10.0005 4.27973C10.7676 4.27973 11.3894 3.6579 11.3894 2.89084C11.3894 2.12378 10.7676 1.50195 10.0005 1.50195C5.30607 1.50195 1.50049 5.30753 1.50049 10.002C1.50049 14.6964 5.30607 18.502 10.0005 18.502C14.6949 18.502 18.5005 14.6964 18.5005 10.002C18.5005 9.23489 17.8787 8.61306 17.1116 8.61306C16.3445 8.61306 15.7227 9.23489 15.7227 10.002C15.7227 13.1622 13.1608 15.7242 10.0005 15.7242C6.84019 15.7242 4.27827 13.1622 4.27827 10.002Z\" fill=\"currentColor\" class=\"path\" /></svg></div>`}}"
|
|
80
105
|
},
|
|
81
106
|
{
|
|
82
107
|
"kind": "variable",
|
|
83
|
-
"name": "
|
|
84
|
-
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let a=this.findSlottedPrimerInput();a?a.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),a=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(a)return a;for(let i of e){let n=i.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return p`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${
|
|
108
|
+
"name": "We",
|
|
109
|
+
"default": "class extends v{constructor(){super(...arguments);this.focusWithin=!1;this.hasError=!1;this.handleWrapperClick=e=>{if(e.target!==e.currentTarget)return;let a=this.findSlottedPrimerInput();a?a.focus():this.dispatchEvent(new CustomEvent(\"wrapper-click\",{bubbles:!0,composed:!0}))}}findSlottedPrimerInput(){if(!this.inputSlot)return null;let e=this.inputSlot.assignedElements({flatten:!0}),a=e.find(i=>i.tagName.toLowerCase()===\"primer-input\");if(a)return a;for(let i of e){let n=i.querySelector(\"primer-input\");if(n)return n}return null}render(){let e={\"input-slot\":!0,\"focus-within\":this.focusWithin};return p`<div class=\"input-wrapper\"><slot name=\"label\"></slot><div class=\"${se(e)}\" @click=\"${this.handleWrapperClick}\"><slot name=\"input\"></slot></div><slot name=\"error\"></slot></div>`}}"
|
|
85
110
|
},
|
|
86
111
|
{
|
|
87
112
|
"kind": "variable",
|
|
88
|
-
"name": "
|
|
113
|
+
"name": "ot",
|
|
89
114
|
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.disabled=!1}render(){return p`<label for=${this.for}><slot></slot></label>`}}"
|
|
90
115
|
},
|
|
91
116
|
{
|
|
92
117
|
"kind": "variable",
|
|
93
|
-
"name": "
|
|
118
|
+
"name": "Ae",
|
|
94
119
|
"default": "class extends v{constructor(){super(...arguments);this.variant=\"primary\";this.disabled=!1;this.loading=!1;this.buttonType=\"button\";this.selectionState=\"default\";this.selectable=!1;this.flex=!0;this.handleClick=()=>{!this.selectable||this.disabled||this.loading||(this.selectionState=this.selectionState===\"default\"?\"checked\":\"default\",this.dispatchEvent(new CustomEvent(\"selection-change\",{bubbles:!0,composed:!0,detail:{state:this.selectionState}})))}}renderCheckmark(){return!this.selectable||this.selectionState!==\"checked\"||this.loading?y:p`<primer-icon name=\"checkmark\" size=\"sm\" color=\"var(--primer-color-brand)\" ></primer-icon>`}renderSpinner(){if(!this.loading)return y;let e;return this.variant===\"primary\"?e=\"var(--primer-color-background-outlined-default)\":(this.variant===\"secondary\"||this.variant===\"tertiary\")&&(e=\"var(--primer-color-gray-900)\"),p`<primer-spinner size=\"small\" color=\"${e}\" compact ></primer-spinner>`}render(){return p`<button type=${this.buttonType} ?disabled=${this.disabled||this.loading} @click=${this.handleClick} part=\"button\" aria-checked=${this.selectionState===\"checked\"} aria-busy=${this.loading} aria-label=${this.ariaLabel?this.ariaLabel:y} >${this.renderSpinner()} ${this.flex?p`<span class=\"button-content ${this.loading?\"loading\":\"\"}\"><slot></slot></span>`:p`<span class=\"button-content-base ${this.loading?\"loading\":\"\"}\" ><slot></slot></span>`} ${this.renderCheckmark()}</button>`}}"
|
|
95
120
|
},
|
|
96
121
|
{
|
|
97
122
|
"kind": "variable",
|
|
98
|
-
"name": "
|
|
123
|
+
"name": "st",
|
|
99
124
|
"default": "class extends v{constructor(){super(...arguments);this.for=\"\";this.active=!0}render(){return p`<span class=\"error\" role=\"alert\" aria-live=\"polite\" id=\"${this.for||\"\"}\" ><slot></slot></span>`}}"
|
|
100
125
|
},
|
|
101
126
|
{
|
|
102
127
|
"kind": "variable",
|
|
103
|
-
"name": "
|
|
104
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?
|
|
128
|
+
"name": "Ze",
|
|
129
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-icon-primary)\";this.size=\"lg\"}render(){let e=this.name?Zr[this.name]:null;return p`<div style=\"--internal-icon-color: ${this.color}\">${e||p`<slot></slot>`}</div>`}}"
|
|
105
130
|
},
|
|
106
131
|
{
|
|
107
132
|
"kind": "variable",
|
|
108
|
-
"name": "
|
|
133
|
+
"name": "lt",
|
|
109
134
|
"default": "class extends v{constructor(){super(...arguments);this.type=\"complete\"}render(){return this.type===\"complete\"?p`<primer-icon size=\"lg\" name=\"successful-check\" color=\"var(--primer-color-icon-positive)\" ></primer-icon><p>Checkout complete!</p><p class=\"secondary\"> You'll be redirected to the order confirmation page soon. </p>`:p`<primer-icon size=\"lg\" name=\"failure-icon\" color=\"var(--primer-color-icon-negative)\" ></primer-icon><p>Payment failed</p>${this.description?p`<p class=\"secondary\">${this.description}</p>`:p`<p class=\"secondary\">Something went wrong.</p>`} `}}"
|
|
110
135
|
},
|
|
111
136
|
{
|
|
@@ -115,192 +140,192 @@
|
|
|
115
140
|
},
|
|
116
141
|
{
|
|
117
142
|
"kind": "variable",
|
|
118
|
-
"name": "
|
|
119
|
-
"default": "class extends v{constructor(){super(...arguments);this.name=\"\";this.id=\"\";this.value=\"\";this.disabled=!1;this.hasError=!1;this.placeholder=\"\";this.options=[]}handleChange(e){let a=e.target,i=this.value;this.value=a.value,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.requestUpdate(\"value\",i)}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}renderSelectOptions(){let e=[];for(let a of this.options)e.push(p`<option value=${a.value}>${a.label}</option>`);return e}render(){return p`<select id=${this.id} name=${this.name} .value=${
|
|
143
|
+
"name": "Ce",
|
|
144
|
+
"default": "class extends v{constructor(){super(...arguments);this.name=\"\";this.id=\"\";this.value=\"\";this.disabled=!1;this.hasError=!1;this.placeholder=\"\";this.options=[]}handleChange(e){let a=e.target,i=this.value;this.value=a.value,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.requestUpdate(\"value\",i)}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\",{bubbles:!0,composed:!0}))}handleBlur(){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}renderSelectOptions(){let e=[];for(let a of this.options)e.push(p`<option value=${a.value}>${a.label}</option>`);return e}render(){return p`<select id=${this.id} name=${this.name} .value=${bl(this.value)} ?disabled=${this.disabled} ?required=${!this.value} @change=${this.handleChange} @focus=${this.handleFocus} @blur=${this.handleBlur} aria-invalid=${this.hasError?\"true\":\"false\"} ><option value=\"\" disabled ?selected=${!this.value}>${this.placeholder||\"Select an option\"}</option>${this.renderSelectOptions()}</select>`}}"
|
|
120
145
|
},
|
|
121
146
|
{
|
|
122
147
|
"kind": "variable",
|
|
123
|
-
"name": "
|
|
148
|
+
"name": "Me",
|
|
124
149
|
"default": "class extends v{constructor(){super(...arguments);this.header=\"\";this.expanded=!1;this.expandText=\"Expand\";this.collapseText=\"Collapse\";this.ariaLabel=\"\";this.buttonVariant=\"primary\";this.isExpanded=!1;this.toggleExpanded=()=>{this.isExpanded=!this.isExpanded,this.dispatchExpandedChangedEvent(this.isExpanded)}}connectedCallback(){super.connectedCallback(),this.isExpanded=this.expanded}dispatchExpandedChangedEvent(e){this.dispatchEvent(new CustomEvent(\"expanded-changed\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedChangedEvent(!0))}collapse(){this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedChangedEvent(!1))}render(){let e=this.isExpanded?this.collapseText:this.expandText,a=this.ariaLabel||this.header||e,i=this.header||e;return p`<div class=\"collapsable\"><primer-button variant=${this.buttonVariant} buttonType=\"button\" @click=${this.toggleExpanded} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${a} ><span>${i}</span></primer-button><div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" id=\"collapsable-content\" role=\"region\" aria-labelledby=\"collapsable-header\" ><div class=\"collapsable-content\"><slot></slot></div></div></div>`}}"
|
|
125
150
|
},
|
|
126
151
|
{
|
|
127
152
|
"kind": "variable",
|
|
128
|
-
"name": "
|
|
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 y;let e={\"error-message\":!0,hidden:!this.visible};return p`<div part=\"error-message\" class=${
|
|
153
|
+
"name": "Je",
|
|
154
|
+
"default": "class extends v{constructor(){super();this.message=\"\";this.visible=!1;this._role=\"alert\";this.showMessage=!1;this.role=\"alert\"}get role(){return this._role}set role(e){this._role=e,this.setAttribute(\"role\",e)}updated(e){e.has(\"visible\")&&this.handleVisibilityChange()}handleVisibilityChange(){this.visible?(this.showMessage=!0,this.setAttribute(\"aria-hidden\",\"false\")):setTimeout(()=>{this.showMessage=!1,this.setAttribute(\"aria-hidden\",\"true\")},200)}render(){if(!this.showMessage&&!this.visible)return y;let e={\"error-message\":!0,hidden:!this.visible};return p`<div part=\"error-message\" class=${se(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>`}}"
|
|
130
155
|
},
|
|
131
156
|
{
|
|
132
157
|
"kind": "variable",
|
|
133
|
-
"name": "
|
|
158
|
+
"name": "Et",
|
|
134
159
|
"default": "class extends v{constructor(){super(...arguments);this._id=`d${Math.random().toString(36).substring(7)}`;this._handleSlotChange=e=>{let i=e.target.assignedNodes();if(!i.length)return;let n=this.getContainer();i.forEach(o=>n.appendChild(o))}}get id(){return this._id}getContainer(){let e=document.querySelector(`#${this._id}`);return e||(e=document.createElement(\"div\"),e.id=this._id,document.body.appendChild(e),this._setupEventListeners(e)),e}_setupEventListeners(e){[\"primer-ach-error\",\"primer-ach-bank-details-collected\",\"primer-ach-mandate-confirmed\",\"primer-ach-mandate-declined\",\"primer:dialog-close\"].forEach(a=>{e.addEventListener(a,i=>{i.stopPropagation(),this.dispatchEvent(new CustomEvent(a,{bubbles:!0,composed:!0,detail:i.detail}))})})}disconnectedCallback(){super.disconnectedCallback(),this.getContainer().remove()}render(){return p`<slot @slotchange=${this._handleSlotChange}></slot>`}}"
|
|
135
160
|
},
|
|
136
161
|
{
|
|
137
162
|
"kind": "variable",
|
|
138
|
-
"name": "
|
|
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\",this.dispatchEvent(new CustomEvent(\"primer:dialog-open\",{bubbles:!0,composed:!0}))},500)})}_startExitAnimation(){this._animationTimeout&&clearTimeout(this._animationTimeout),this._animationState=\"exiting\",this._animationTimeout=window.setTimeout(()=>{this._animationState=\"exited\",this._isVisible=!1,this.dispatchEvent(new CustomEvent(\"primer:dialog-close\",{bubbles:!0,composed:!0}))},500)}render(){return this._isVisible?p`<div class=${
|
|
163
|
+
"name": "Ve",
|
|
164
|
+
"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\",this.dispatchEvent(new CustomEvent(\"primer:dialog-open\",{bubbles:!0,composed:!0}))},500)})}_startExitAnimation(){this._animationTimeout&&clearTimeout(this._animationTimeout),this._animationState=\"exiting\",this._animationTimeout=window.setTimeout(()=>{this._animationState=\"exited\",this._isVisible=!1,this.dispatchEvent(new CustomEvent(\"primer:dialog-close\",{bubbles:!0,composed:!0}))},500)}render(){return this._isVisible?p`<div class=${se({backdrop:!0,\"backdrop--entering\":this._animationState===\"entering\",\"backdrop--entered\":this._animationState===\"entered\",\"backdrop--exiting\":this._animationState===\"exiting\"})} @click=${e=>{e.preventDefault()}} ><div class=${se({dialog:!0,[this.size]:!0,\"dialog--entering\":this._animationState===\"entering\",\"dialog--entered\":this._animationState===\"entered\",\"dialog--exiting\":this._animationState===\"exiting\"})} ><div class=\"header\">${this.showCloseButton?p`<primer-button class=\"close\" variant=\"tertiary\" @click=${this._handleCloseClick} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:\"\"}</div><div class=\"content\"><slot></slot></div></div></div>`:p``}}"
|
|
140
165
|
},
|
|
141
166
|
{
|
|
142
167
|
"kind": "variable",
|
|
143
|
-
"name": "
|
|
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=b(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new
|
|
168
|
+
"name": "le",
|
|
169
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.klarnaCategories=null;this.disabled=!1;this.selectedCategory=null;this.isExpanded=!1;this.headerAriaLabel=b(\"pay_with\",{id:\"pay_with\"});this._paymentMethodManagerTask=new B(this,{task:async([e,a])=>{if(!e||!a)return w;let i=await a.getCDNAssets(\"KLARNA\");return{manager:e.manager,klarnaIcon:i?.assets?.icon?`${i.goatCdnUrl}/${i.assets.icon}`:\"\"}},args:()=>[this.paymentManagers.get(\"KLARNA\"),this.headlessUtils]});this.toggleExpand=()=>{this.disabled||(this.isExpanded=!this.isExpanded,this.isExpanded||(this.selectedCategory=null))}}async startKlarnaPayment(){if(!(!this._paymentMethodManagerTask.value||!this.selectedCategory))try{await this._paymentMethodManagerTask.value.manager.start({paymentMethodCategoryId:this.selectedCategory})}catch(e){P.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){P.errorWithDatadog(\"Failed to render Klarna category\",{error:e})}}selectCategory(e){this.disabled||(this.selectedCategory=e,this.renderSelectedCategory())}updated(e){e.has(\"selectedCategory\")&&this.selectedCategory&&this.renderSelectedCategory()}renderCategorySelection(){let e=this.klarnaCategories?.categories||[];return this.klarnaCategories?.isLoading||!1?p`<div class=\"loading\"><primer-spinner size=\"small\"></primer-spinner></div>`:p`<div class=\"category-selection\">${e.map(i=>p`<button class=${se({\"category-button\":!0,selected:i.id===this.selectedCategory})} @click=${()=>{this.selectCategory(i.id)}} ?disabled=${this.disabled} >${i.name}</button>`)}</div>`}renderExpandedContent(){return p` ${this.renderCategorySelection()} ${this.selectedCategory?p`<div id=\"klarna-category-container\" class=\"klarna-category-container\" ></div>`:y}<button class=${se({\"klarna-pay-button\":!0,loading:!!this.sdkState?.isProcessing,disabled:!this.selectedCategory||this.disabled})} ?disabled=${!this.selectedCategory||this.sdkState?.isProcessing||this.disabled} @click=${()=>this.startKlarnaPayment()} >${b(\"confirm\",{id:\"confirm\"})}</button>`}render(){return this._paymentMethodManagerTask.render({error:e=>{let a=e instanceof Error?e.message:\"Unknown error in Klarna\";return p`<div class=\"error\"> Error loading Klarna: ${a}</div>`},complete:({manager:e,klarnaIcon:a})=>e?p`<div class=\"klarna-container ${this.isExpanded?\"expanded\":\"\"}\"><div class=\"klarna-button-header\"><primer-button buttonType=\"button\" variant=\"secondary\" class=\"klarna-button\" @click=${this.toggleExpand} aria-expanded=${this.isExpanded} aria-controls=\"collapsable-content\" aria-label=${this.headerAriaLabel} ?disabled=${this.disabled} ><img src=${a} alt=\"Klarna logo\" /><span>${b(\"pay_with\",{id:\"pay_with\"})} Klarna</span><span class=\"klarna-accordion-icon ${this.isExpanded?\"expanded\":\"\"}\" > ▼ </span></primer-button></div><div class=\"klarna-expanded-content ${this.isExpanded?\"visible\":\"\"}\" ><div class=\"klarna-accordion-content\">${this.renderExpandedContent()}</div></div></div>`:y})}}"
|
|
145
170
|
},
|
|
146
171
|
{
|
|
147
172
|
"kind": "variable",
|
|
148
|
-
"name": "
|
|
149
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new
|
|
173
|
+
"name": "qe",
|
|
174
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"GOOGLE_PAY\")throw new Error(\"Invalid payment method type for Google Pay component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=e.createButton();return await a.render(this.shadowRoot?.getRootNode(),{style:{shadowRoot:!0}}),this.disabled&&await a.setDisabled(this.disabled),this.disabled&&this.shadowRoot&&(await this.updateComplete,qr(this.disabled,this.shadowRoot)),a}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&this.shadowRoot&&qr(this.disabled,this.shadowRoot)}render(){return y}}"
|
|
150
175
|
},
|
|
151
176
|
{
|
|
152
177
|
"kind": "variable",
|
|
153
|
-
"name": "
|
|
154
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef
|
|
178
|
+
"name": "Qe",
|
|
179
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=$t();this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"APPLE_PAY\")throw new Error(\"Invalid payment method type for Apple Pay component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=Xr(a);return await i.render(a,{style:{buttonHeight:n}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,da(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&da(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${Pt(this.buttonContainerRef)} ></div>`}}"
|
|
155
180
|
},
|
|
156
181
|
{
|
|
157
182
|
"kind": "variable",
|
|
158
|
-
"name": "
|
|
159
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef
|
|
183
|
+
"name": "Xe",
|
|
184
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=$t();this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"PAYPAL\")throw new Error(\"Invalid payment method type for PayPal component\");return a.manager}}),this.renderButtonTask=new B(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=_l(Xr(this));return await i.render(a,{style:{buttonHeight:n}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,da(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&da(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${Pt(this.buttonContainerRef)} ></div>`}}"
|
|
160
185
|
},
|
|
161
186
|
{
|
|
162
187
|
"kind": "variable",
|
|
163
|
-
"name": "
|
|
164
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.currentState=\"collapsed\";this.blikCode=\"\";this.errorMessage=\"\";this.pollingDuration=0;this.pollingTimer=null;this.loadManagerTask=new
|
|
188
|
+
"name": "Ee",
|
|
189
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.currentState=\"collapsed\";this.blikCode=\"\";this.errorMessage=\"\";this.pollingDuration=0;this.pollingTimer=null;this.loadManagerTask=new B(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return w;let a=this.paymentManagers.get(e);if(!a)throw new Error(\"BLIK payment method manager not initialized\");if(a.type!==\"ADYEN_BLIK\")throw new Error(\"Invalid payment method type for BLIK component\");return a.manager}});this.handleButtonClick=async()=>{if(this.disabled)return;if(this.currentState===\"expanded-input\"){this.handleCollapse();return}if(this.currentState!==\"collapsed\")return;let e=this.paymentMethod?.type;if(!e){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"}),this.currentState=\"error\",P.error(\"Payment method type not available\");return}let a=this.paymentManagers.get(e);if(!a||a.type!==\"ADYEN_BLIK\"){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"}),this.currentState=\"error\",P.error(\"Manager not available when expanding BLIK form\");return}this.currentState=\"expanded-input\",await this.updateComplete,this.shadowRoot?.querySelector(\"#blik-code\")?.focus()};this.handleCollapse=()=>{this.currentState=\"collapsed\",this.blikCode=\"\",this.errorMessage=\"\",this.stopPollingTimer()};this.handleInput=e=>{let a=e.target,i=a.value,o=i.replace(/\\D/g,\"\").slice(0,6);i!==o&&(a.value=o),this.blikCode=o,this.currentState===\"error\"&&(this.currentState=\"expanded-input\",this.errorMessage=\"\"),o.length===6&&this.submitBlikCode()};this.handleRetry=async()=>{this.currentState=\"expanded-input\",this.errorMessage=\"\",this.blikCode=\"\",await this.updateComplete,this.shadowRoot?.querySelector(\"#blik-code\")?.focus()}}startPollingTimer(){this.pollingDuration=0,this.pollingTimer=window.setInterval(()=>{this.pollingDuration+=1},1e3)}stopPollingTimer(){this.pollingTimer!==null&&(window.clearInterval(this.pollingTimer),this.pollingTimer=null),this.pollingDuration=0}async submitBlikCode(){if(this.blikCode.length!==6){this.errorMessage=b(\"sixDigitCodeErrorTooShort\",{id:\"sixDigitCodeErrorTooShort\"}),this.currentState=\"error\";return}let e=this.loadManagerTask.value;if(!e){this.errorMessage=\"BLIK payment method not initialized\",this.currentState=\"error\",P.error(\"BLIK manager not available via loadManagerTask\");return}this.currentState=\"loading\",this.errorMessage=\"\",this.startPollingTimer();try{await e.start({blikCode:this.blikCode}),this.stopPollingTimer(),this.currentState=\"collapsed\",this.blikCode=\"\"}catch(a){this.stopPollingTimer(),this.currentState=\"error\",this.errorMessage=a instanceof Error?a.message:b(\"tokenizationError\",{id:\"tokenizationError\"}),P.errorWithDatadog(\"BLIK payment failed\",{error:a instanceof Error?{message:a.message,name:a.name}:\"Unknown error\"})}}renderCollapsed(){return p`<primer-button class=\"blik-button\" @click=${this.handleButtonClick} ?disabled=${this.disabled} aria-label=\"${b(\"pay_with\",{id:\"pay_with\"})} BLIK\" aria-expanded=\"${this.currentState!==\"collapsed\"}\" title=\"BLIK\" ><span class=\"image-container\"><img src=\"https://goat-assets.production.core.primer.io/button/blik/inverted.png\" alt=\"BLIK\" /></span></primer-button>`}renderExpandedInput(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-input-wrapper\"><label for=\"blik-code\" class=\"blik-label\">${b(\"getCodeFromBankingApp\",{id:\"getCodeFromBankingApp\"})}</label><input id=\"blik-code\" type=\"text\" inputmode=\"numeric\" pattern=\"[0-9]*\" maxlength=\"6\" class=\"blik-input\" .value=\"${this.blikCode}\" @input=\"${this.handleInput}\" ?disabled=\"${this.disabled}\" placeholder=\"000000\" aria-label=\"${b(\"sixDigitCodeLabel\",{id:\"sixDigitCodeLabel\"})}\" autocomplete=\"off\" spellcheck=\"false\" /></div></div></div>`}renderLoading(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-loading\"><primer-spinner size=\"medium\"></primer-spinner>${this.pollingDuration>30?p`<div class=\"blik-timeout-warning\"> This is taking longer than expected... </div>`:y}</div></div></div>`}renderError(){return p`<div class=\"blik-expanded-content\"><div class=\"blik-content-wrapper\"><div class=\"blik-error\"><div class=\"blik-error-message\" role=\"alert\">${this.errorMessage||b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}</div><button class=\"blik-retry-button\" @click=\"${this.handleRetry}\" ?disabled=\"${this.disabled}\" >${b(\"retry_button\",{id:\"retry_button\"})}</button></div></div></div>`}renderExpandedState(){switch(this.currentState){case\"expanded-input\":return this.renderExpandedInput();case\"loading\":return this.renderLoading();case\"error\":return this.renderError();default:return y}}disconnectedCallback(){super.disconnectedCallback(),this.stopPollingTimer()}render(){return p`<div class=\"blik-container ${this.currentState!==\"collapsed\"?\"expanded\":\"\"}\" >${this.renderCollapsed()} ${this.currentState!==\"collapsed\"?this.renderExpandedState():y}</div>`}}"
|
|
165
190
|
},
|
|
166
191
|
{
|
|
167
192
|
"kind": "variable",
|
|
168
|
-
"name": "
|
|
169
|
-
"default": "class extends v{constructor(){super(...arguments);this.type=void 0;this.disabled=!1;this.paymentMethods=null;this.analyticsUtils=null;this.handleClick=()=>{this.paymentMethods?.find(a=>a.type===this.type)?.managerType!==\"CARD\"&&this.sendPaymentMethodSelectionEvent()}}sendPaymentMethodSelectionEvent(){this.type&&
|
|
193
|
+
"name": "Ue",
|
|
194
|
+
"default": "class extends v{constructor(){super(...arguments);this.type=void 0;this.disabled=!1;this.paymentMethods=null;this.analyticsUtils=null;this.handleClick=()=>{this.paymentMethods?.find(a=>a.type===this.type)?.managerType!==\"CARD\"&&this.sendPaymentMethodSelectionEvent()}}sendPaymentMethodSelectionEvent(){this.type&&X({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:this.type})}render(){if(!this.type)return y;let e=this.paymentMethods?.find(i=>i.type===this.type);if(!e)return y;let a;switch(e?.managerType){case\"CARD\":a=p`<primer-card-form ?disabled=${this.disabled} ></primer-card-form>`;break;case\"NATIVE\":{let i=e.type;i===Ga.GOOGLE_PAY?a=p`<primer-google-pay .paymentMethod=${e} ?disabled=${this.disabled} ></primer-google-pay>`:i===Ga.APPLE_PAY?a=p`<primer-apple-pay .paymentMethod=${e} ?disabled=${this.disabled} ></primer-apple-pay>`:i===Ga.PAYPAL?a=p`<primer-paypal .paymentMethod=${e} ?disabled=${this.disabled} ></primer-paypal>`:i===Ga.ADYEN_BLIK&&(a=p`<primer-blik .paymentMethod=${e} ?disabled=${this.disabled} ></primer-blik>`);break}case\"REDIRECT\":a=p`<primer-redirect-payment .paymentMethod=${e} ?disabled=${this.disabled} ></primer-redirect-payment>`;break;case\"KLARNA\":a=p`<primer-klarna ?disabled=${this.disabled} ></primer-klarna>`;break;case\"ACH\":a=p`<primer-dynamic-payment .paymentMethod=${e} ></primer-dynamic-payment>`;break;default:return y}return p`<div @click=${this.handleClick}>${a}</div>`}}"
|
|
170
195
|
},
|
|
171
196
|
{
|
|
172
197
|
"kind": "variable",
|
|
173
|
-
"name": "
|
|
198
|
+
"name": "xe",
|
|
174
199
|
"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];if(this.include){let a=this.include.split(\",\").map(i=>i.trim());e=e.filter(i=>a.includes(i.type))}if(this.exclude){let a=this.exclude.split(\",\").map(i=>i.trim());e=e.filter(i=>!a.includes(i.type))}return e}render(){let e=this.getFilteredMethods();return e.length===0?y:p`<div class=\"payment-methods-container\">${e.map(a=>p`<primer-payment-method type=\"${a.type}\" ?disabled=\"${this.disabled||this.clientOptions?.disabledPayments===!0}\" ></primer-payment-method>`)}</div>`}}"
|
|
175
200
|
},
|
|
176
201
|
{
|
|
177
202
|
"kind": "variable",
|
|
178
|
-
"name": "
|
|
179
|
-
"default": "class extends v{constructor(){super(...arguments);this.formController=new
|
|
203
|
+
"name": "Ie",
|
|
204
|
+
"default": "class extends v{constructor(){super(...arguments);this.formController=new ei(this,e=>this._paymentMethodManagerTask.value.setAndValidate(e));this.paymentManagers=new Map;this.sdkState=void 0;this.clientOptions=void 0;this.screen=\"form\";this.isSubmitting=!1;this._paymentMethodManagerTask=new B(this,{task:([e])=>e!==\"STRIPE_ACH\"?w:this.paymentManagers.get(e)?.manager,args:()=>[this.paymentMethod?.type]})}_handleInput(e,a){let i=e.target;this.formController.setFieldValue(a,i.value)}_handleBlur(e){this.formController.setFieldTouched(e)}_handleError(e){this.dispatchEvent(new CustomEvent(\"primer-ach-error\",{bubbles:!0,composed:!0,detail:{error:e instanceof Error?e:new Error(typeof e==\"string\"?e:\"Unknown error occurred\")}}))}async _handleSubmitButtonClick(e){if(!this.isSubmitting){this.isSubmitting=!0;try{let a=await e.start(this.formController.formData);if(!a||a.valid)return await this._handleCollectBankAccountDetails(e);a&&this.formController.setValidation(a,!0)}catch(a){this._handleError(a)}finally{this.isSubmitting=!1}}}async _handleCollectBankAccountDetails(e){try{await e.collectBankAccountDetails(),this.screen=\"mandate\",this.dispatchEvent(new CustomEvent(\"primer-ach-bank-details-collected\",{bubbles:!0,composed:!0}))}catch(a){this._handleError(a)}}async _handleConfirmMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.confirmMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-confirmed\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}async _handleDeclineMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.declineMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-declined\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}renderForm(e){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${b(\"stripe_ach_user_details_collection_subtitle_label\",{id:\"stripe_ach_user_details_collection_subtitle_label\"})}</p><form @submit=${a=>a.preventDefault()}><div class=\"form-row\"><primer-input-wrapper .hasError=${this.formController.hasError.firstName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_first_name_label\",{id:\"stripe_ach_user_details_collection_first_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.firstName.value} @input=${a=>this._handleInput(a,\"firstName\")} @blur=${()=>this._handleBlur(\"firstName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.firstName?this.formController.formState.firstName.error:y}</primer-input-error></primer-input-wrapper><primer-input-wrapper .hasError=${this.formController.hasError.lastName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_last_name_label\",{id:\"stripe_ach_user_details_collection_last_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.lastName.value} @input=${a=>this._handleInput(a,\"lastName\")} @blur=${()=>this._handleBlur(\"lastName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.lastName?this.formController.formState.lastName.error:y}</primer-input-error></primer-input-wrapper></div><primer-input-wrapper .hasError=${this.formController.hasError.emailAddress} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_email_address_label\",{id:\"stripe_ach_user_details_collection_email_address_label\"})}</primer-input-label><primer-input slot=\"input\" type=\"email\" .value=${this.formController.formState.emailAddress.value} @input=${a=>this._handleInput(a,\"emailAddress\")} @blur=${()=>this._handleBlur(\"emailAddress\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.emailAddress?this.formController.formState.emailAddress.error:y}</primer-input-error></primer-input-wrapper><p>${b(\"stripe_ach_user_details_collection_data_usage_label\",{id:\"stripe_ach_user_details_collection_data_usage_label\"})}</p><primer-button buttonType=\"submit\" variant=\"primary\" @click=${()=>this._handleSubmitButtonClick(e)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_user_details_collection_continue_button\",{id:\"stripe_ach_user_details_collection_continue_button\"})}</primer-button></form>`}renderMandate(){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${this.clientOptions?.stripe?.mandateData.fullMandateText??b(\"stripe_ach_mandate_template_web\",{id:\"stripe_ach_mandate_template_web\"}).replace(/\\{merchantName\\}/g,this.clientOptions?.stripe?.mandateData.merchantName??\"Merchant\")}</p><div class=\"button-group\"><primer-button variant=\"primary\" @click=${this._handleConfirmMandate.bind(this)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_mandate_accept_button\",{id:\"stripe_ach_mandate_accept_button\"})}</primer-button><primer-button variant=\"tertiary\" @click=${this._handleDeclineMandate.bind(this)} ?disabled=${this.isSubmitting} >${b(\"stripe_ach_mandate_cancel_payment_button\",{id:\"stripe_ach_mandate_cancel_payment_button\"})}</primer-button></div>`}render(){return this._paymentMethodManagerTask.render({complete:e=>e?this.screen===\"form\"?this.renderForm(e):this.renderMandate():y})}}"
|
|
180
205
|
},
|
|
181
206
|
{
|
|
182
207
|
"kind": "variable",
|
|
183
|
-
"name": "
|
|
184
|
-
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new
|
|
208
|
+
"name": "we",
|
|
209
|
+
"default": "class extends v{constructor(){super(...arguments);this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this.open=!1;this._paymentMethodManagerTask=new B(this,{task:([e,a])=>!e||!a?w:a.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new B(this,{task:([e,a])=>{if(!e||!a)return w;let i=a.getPaymentMethodConfiguration(e);return i?{backgroundColor:i.displayMetadata.button.backgroundColor.colored,name:i.name,displayName:this._legacyGetButtonLabel(i.displayMetadata.button.text),iconUrl:i.displayMetadata.button.iconUrl.colored||i.displayMetadata.button.iconUrl.light||i.displayMetadata.button.iconUrl.dark}:w},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new B(this,{task:([e,a])=>!e||!a?w:{paymentMethodManager:e,assetsConfig:a},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let a=e?Va(e):\"\";return a===\"payWith\"&&(a=\"pay_with\"),b(a,{id:a})}start(){this._paymentMethodManagerTask.value&&(this.open=!0)}renderDialog(){return this.open?p`<primer-portal><primer-dialog @primer:dialog-close=\"${()=>this.open=!1}\"><primer-ach-payment .paymentMethod=${this.paymentMethod} @primer-ach-error=${()=>this.open=!1} @primer-ach-mandate-confirmed=${()=>this.open=!1} @primer-ach-mandate-declined=${()=>this.open=!1} ></primer-ach-payment></primer-dialog></primer-portal>`:y}render(){return this._setupTasks.render({error:()=>y,complete:({assetsConfig:e})=>(this.style.setProperty(\"--dynamic-payment-button-bg-color\",e.backgroundColor),p`<primer-button @click=\"${()=>this.start()}\" class=${se({loading:!!this.sdkState?.isProcessing,reverse:!0})} title=\"${b(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ><span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>${e.displayName}</primer-button>${this.renderDialog()} `)})}}"
|
|
185
210
|
},
|
|
186
211
|
{
|
|
187
212
|
"kind": "variable",
|
|
188
|
-
"name": "
|
|
189
|
-
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new
|
|
213
|
+
"name": "De",
|
|
214
|
+
"default": "class extends v{constructor(){super(...arguments);this.disabled=!1;this.paymentManagers=new Map;this.sdkState=null;this.headlessUtils=null;this._paymentMethodManagerTask=new B(this,{task:([e,a])=>!e||!a?w:a.get(e)?.manager,args:()=>[this.paymentMethod?.type,this.paymentManagers]});this._getAssetsTask=new B(this,{task:([e,a])=>{if(!e||!a)return w;let i=a.getPaymentMethodConfiguration(e);if(!i)return w;let n=i.displayMetadata.button.backgroundColor.colored??i.displayMetadata.button.backgroundColor.light,o=i.displayMetadata.button.iconPositionRelativeToText||\"START\";return{backgroundColor:n,name:i.name,displayName:this._legacyGetButtonLabel(i.displayMetadata.button.text),iconUrl:i.displayMetadata.button.iconUrl.colored??i.displayMetadata.button.iconUrl.light,iconPosition:o}},args:()=>[this.paymentMethod?.type,this.headlessUtils]});this._setupTasks=new B(this,{task:([e,a])=>!e||!a?w:{paymentMethodManager:e,assetsConfig:a},args:()=>[this._paymentMethodManagerTask.value,this._getAssetsTask.value]})}_legacyGetButtonLabel(e){if(!e)return;let a=e?Va(e):\"\";return a===\"payWith\"&&(a=\"pay_with\"),b(a,{id:a})}startRedirectPayment(){this.disabled||this._paymentMethodManagerTask.value&&this._paymentMethodManagerTask.value.start()}render(){return this._setupTasks.render({error:()=>y,complete:({assetsConfig:e})=>{this.style.setProperty(\"--redirect-payment-button-bg-color\",e.backgroundColor);let a={loading:!!this.sdkState?.isProcessing,\"icon-end\":e.iconPosition===\"END\",\"image-only\":!e.displayName},i=e.displayName?p`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span><span class=\"button-text\">${e.displayName}</span>`:p`<span class=\"image-container\"><img src=\"${e.iconUrl}\" alt=\"${e.name}\" /></span>`;return p`<primer-button @click=\"${()=>this.startRedirectPayment()}\" class=${se(a)} title=\"${b(\"pay_with\",{id:\"pay_with\"})} ${e.name}\" ?disabled=${this.disabled} >${i}</primer-button>`}})}}"
|
|
190
215
|
},
|
|
191
216
|
{
|
|
192
217
|
"kind": "variable",
|
|
193
|
-
"name": "
|
|
194
|
-
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new
|
|
218
|
+
"name": "de",
|
|
219
|
+
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new B(this,{task:async([e,a])=>{if(!e||!a)return w;let i=this.extractFieldConfig(e);return await this.initializeCountryOptions(),i},args:()=>[this.configuration,this.headlessUtils]})}connectedCallback(){super.connectedCallback(),this._initializationTask.value}extractFieldConfig(e){if(e?.checkoutModules){let a=e.checkoutModules.find(i=>i.type===\"BILLING_ADDRESS\");if(a?.options){let i=a.options;return Object.keys(Gn).reduce((n,o)=>({...n,[o]:i[o]??!1}),{})}}return this.defaultFieldConfig}async initializeCountryOptions(){try{let e=Bn(\"en\");this.countryOptions=[...e.map(([n,o])=>({value:n,label:o}))],this.requestUpdate(\"countryOptions\");let a=Sn();if(a===\"en\"||a===\"en-GB\"||a.startsWith(\"en-\"))return;if(await Md(a)){let n=Bn(a);this.countryOptions=[...n.map(([o,s])=>({value:o,label:s}))],this.requestUpdate(\"countryOptions\")}}catch(e){P.errorWithDatadog(\"Failed to load country locale\",{error:e})}}get fieldConfig(){return this.extractFieldConfig(this.configuration)}get defaultFieldConfig(){return Object.keys(Gn).reduce((e,a)=>({...e,[a]:!1}),{})}get shouldShowForm(){return this.fieldConfig.postalCode}handleInput(e,a){this.formData={...this.formData,[e]:a},this.dirtyFields.add(e),(this.submitted||this.dirtyFields.has(e)&&this.touchedFields.has(e))&&this.validateField(e),this.dispatchEvent(new CustomEvent(\"primer-billing-address-change\",{detail:this.formData,bubbles:!0,composed:!0}))}handleFocus(e){this.focusedField=e}handleBlur(e){this.focusedField=null,this.touchedFields.add(e),this.validateField(e)}validateField(e){let a=this.formData[e],i=this.fieldConfig[e];if(!i){delete this.errors[e];return}if(i&&(!a||a.trim()===\"\")){let n=`${e}ErrorRequired`;this.errors={...this.errors,[e]:b(\"This field is required\",{id:n})}}else{let n={...this.errors};delete n[e],this.errors=n}}validateForm(){return Object.keys(Gn).forEach(e=>{let a=e;this.fieldConfig[a]&&this.validateField(a)}),Object.keys(this.errors).length===0}async validateForSubmission(){if(!this.shouldShowForm)return!0;this.submitted=!0,Object.keys(this.fieldConfig).forEach(a=>{this.fieldConfig[a]&&this.touchedFields.add(a)});let e=this.validateForm();return this.requestUpdate(),await this.updateComplete,e}async submitToSDK(){if(this.headlessUtils?.setBillingAddress)try{return await this.headlessUtils.setBillingAddress(this.formData),this.dispatchEvent(new CustomEvent(\"primer-billing-address-submit\",{detail:this.formData,bubbles:!0,composed:!0})),!0}catch(e){return P.errorWithDatadog(\"Failed to set billing address\",{error:e}),!1}return!0}shouldShowError(e){let a=!!this.errors[e],i=this.dirtyFields.has(e),n=this.touchedFields.has(e);return a&&(this.submitted||i&&n)}render(){return this._initializationTask.render({pending:()=>y,error:()=>y,complete:()=>this.shouldShowForm?(this.removeAttribute(\"hidden\"),p`<div class=\"billing-address-form\"><div class=\"billing-address-title\">${b(\"Billing address\",{id:\"billingAddressLabel\"})}</div>${R(this.fieldConfig.countryCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"countryCode\"} .hasError=${this.shouldShowError(\"countryCode\")} ><primer-input-label slot=\"label\">${b(\"Country code\",{id:\"countryCodeLabel\"})}</primer-input-label><primer-select slot=\"input\" id=\"countryCode\" name=\"countryCode\" .value=${this.formData.countryCode||\"\"} .options=${this.countryOptions} .hasError=${this.shouldShowError(\"countryCode\")} placeholder=${b(\"Select a country\",{id:\"countrySelectPlaceholder\"})} @input=${e=>this.handleInput(\"countryCode\",e.detail)} @focus=${()=>this.handleFocus(\"countryCode\")} @blur=${()=>this.handleBlur(\"countryCode\")} ></primer-select>${R(this.shouldShowError(\"countryCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.countryCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.firstName||this.fieldConfig.lastName,()=>p`<div class=\"billing-address-row\">${R(this.fieldConfig.firstName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"firstName\"} .hasError=${this.shouldShowError(\"firstName\")} ><primer-input-label slot=\"label\">${b(\"First name\",{id:\"firstNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"firstName\" name=\"firstName\" type=\"text\" .value=${this.formData.firstName||\"\"} placeholder=${b(\"First name\",{id:\"firstNamePlaceholder\"})} @input=${e=>this.handleInput(\"firstName\",e.detail)} @focus=${()=>this.handleFocus(\"firstName\")} @blur=${()=>this.handleBlur(\"firstName\")} ></primer-input>${R(this.shouldShowError(\"firstName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.firstName}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.lastName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"lastName\"} .hasError=${this.shouldShowError(\"lastName\")} ><primer-input-label slot=\"label\">${b(\"Last name\",{id:\"lastNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"lastName\" name=\"lastName\" type=\"text\" .value=${this.formData.lastName||\"\"} placeholder=${b(\"Last name\",{id:\"lastNamePlaceholder\"})} @input=${e=>this.handleInput(\"lastName\",e.detail)} @focus=${()=>this.handleFocus(\"lastName\")} @blur=${()=>this.handleBlur(\"lastName\")} ></primer-input>${R(this.shouldShowError(\"lastName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.lastName}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${R(this.fieldConfig.addressLine1,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine1\"} .hasError=${this.shouldShowError(\"addressLine1\")} ><primer-input-label slot=\"label\">${b(\"Address line 1\",{id:\"addressLine1\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine1\" name=\"addressLine1\" type=\"text\" .value=${this.formData.addressLine1||\"\"} placeholder=${b(\"Address line 1\",{id:\"addressLine1Placeholder\"})} @input=${e=>this.handleInput(\"addressLine1\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine1\")} @blur=${()=>this.handleBlur(\"addressLine1\")} ></primer-input>${R(this.shouldShowError(\"addressLine1\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine1}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.addressLine2,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine2\"} .hasError=${this.shouldShowError(\"addressLine2\")} ><primer-input-label slot=\"label\">${b(\"Address line 2\",{id:\"addressLine2\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine2\" name=\"addressLine2\" type=\"text\" .value=${this.formData.addressLine2||\"\"} placeholder=${b(\"Address line 2\",{id:\"addressLine2Placeholder\"})} @input=${e=>this.handleInput(\"addressLine2\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine2\")} @blur=${()=>this.handleBlur(\"addressLine2\")} ></primer-input>${R(this.shouldShowError(\"addressLine2\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine2}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.postalCode||this.fieldConfig.city,()=>p`<div class=\"billing-address-row\">${R(this.fieldConfig.postalCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"postalCode\"} .hasError=${this.shouldShowError(\"postalCode\")} ><primer-input-label slot=\"label\">${b(\"Postal code\",{id:\"postalCodeLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"postalCode\" name=\"postalCode\" type=\"text\" .value=${this.formData.postalCode||\"\"} placeholder=${b(\"90210\",{id:\"postalCodePlaceholder\"})} @input=${e=>this.handleInput(\"postalCode\",e.detail)} @focus=${()=>this.handleFocus(\"postalCode\")} @blur=${()=>this.handleBlur(\"postalCode\")} ></primer-input>${R(this.shouldShowError(\"postalCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.postalCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${R(this.fieldConfig.city,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"city\"} .hasError=${this.shouldShowError(\"city\")} ><primer-input-label slot=\"label\">${b(\"City\",{id:\"cityLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"city\" name=\"city\" type=\"text\" .value=${this.formData.city||\"\"} placeholder=${b(\"Cape Town\",{id:\"cityPlaceholder\"})} @input=${e=>this.handleInput(\"city\",e.detail)} @focus=${()=>this.handleFocus(\"city\")} @blur=${()=>this.handleBlur(\"city\")} ></primer-input>${R(this.shouldShowError(\"city\"),()=>p`<primer-input-error slot=\"error\">${this.errors.city}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${R(this.fieldConfig.state,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"state\"} .hasError=${this.shouldShowError(\"state\")} ><primer-input-label slot=\"label\">${b(\"State / Region / County\",{id:\"stateLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"state\" name=\"state\" type=\"text\" .value=${this.formData.state||\"\"} placeholder=${b(\"State / Region / County\",{id:\"statePlaceholder\"})} @input=${e=>this.handleInput(\"state\",e.detail)} @focus=${()=>this.handleFocus(\"state\")} @blur=${()=>this.handleBlur(\"state\")} ></primer-input>${R(this.shouldShowError(\"state\"),()=>p`<primer-input-error slot=\"error\">${this.errors.state}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`):(this.setAttribute(\"hidden\",\"\"),y)})}}"
|
|
195
220
|
},
|
|
196
221
|
{
|
|
197
222
|
"kind": "variable",
|
|
198
|
-
"name": "
|
|
199
|
-
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await
|
|
223
|
+
"name": "ee",
|
|
224
|
+
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await ai(a,this.headlessUtils,this.vaultManagerContext))}};this.handleCancelDelete=()=>{this.deletePaymentMethodId=null,this.deleteAssetConfig=null};this.handleConfirmDelete=async()=>{if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"});return}try{this.isDeleting=!0,await this.vaultManagerContext.deleteVaultedPaymentMethod(this.deletePaymentMethodId),this.deletePaymentMethodId=null,this.deleteAssetConfig=null}catch(e){this.errorMessage=e instanceof Error?e.message:b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}};this.handlePaymentError=e=>{let a=e.detail?.error;this.errorMessage=a instanceof Error?a.message:b(\"payment_processing_error\",{id:\"payment_processing_error\"})};this.handleCloseError=()=>{this.errorMessage=\"\"};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitVaultPayment())};this.handleDirectSubmit=()=>{this.submitVaultPayment()};this.handleContextVaultSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitVaultPayment())}finally{this._isHandlingContextEvent=!1}}};new ca(this,{defaultOptions:{keyframeOptions:{duration:Number(getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-duration\").trim().replace(\"ms\",\"\")),easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim()}}})}getAnimationConfig(){return{keyframeOptions:{duration:this.animationDuration,easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim(),fill:\"both\"}}}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitVaultPayment(){if(this.vaultManagerContext)try{await this.vaultManagerContext.startVaultedPaymentFlow()}catch(e){this.dispatchEvent(new CustomEvent(\"primer-vault-payment-error\",{detail:{error:e},bubbles:!0,composed:!0}))}}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===e);if(!a)return\"\";try{return Fn(a).description||\"\"}catch{return\"\"}}setupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this._contextVaultSubmitListener=e=>{this.handleContextVaultSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}renderLoadingOverlay(){return p`<div class=\"loading-overlay\" ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ><primer-spinner size=\"medium\" color=\"var(--primer-color-loader)\" ></primer-spinner></div>`}renderDeleteConfirmation(){if(!this.deletePaymentMethodId||!this.deleteAssetConfig)return y;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return p`<div class=\"delete-confirmation-container\"><primer-button disabled variant=\"secondary\"><primer-payment-method-content .assetConfig=${this.deleteAssetConfig} ></primer-payment-method-content></primer-button><primer-vault-delete-confirmation .isDeleting=${this.isDeleting} .paymentMethodId=${this.deletePaymentMethodId} .paymentMethodName=${e} @confirm-delete=${this.handleConfirmDelete} @cancel-delete=${this.handleCancelDelete} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-delete-confirmation></div>`}renderPaymentMethodItem(e){return this.deletePaymentMethodId===e.id?y:p`<primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-payment-method-item>`}renderPaymentMethodList(){let e=this.vaultManagerContext?.vaultedPaymentMethods||[],a=!this.isEditMode&&e.length>0&&!this.deletePaymentMethodId;return p`<div class=\"payment-methods-list\">${e.map(i=>this.renderPaymentMethodItem(i))} ${R(a,()=>p`<div class=\"submit-button-container\"><slot name=\"submit-button\" @slotchange=${this.handleSubmitSlotChange} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></slot>${R(!this.hasSlottedSubmit,()=>p`<primer-vault-payment-submit class=\"submit-button\" @primer-vault-payment-error=${this.handlePaymentError} ></primer-vault-payment-submit>`)}</div>`,()=>y)}</div>`}render(){if(!this.vaultManagerContext?.enabled||this.vaultManagerContext?.headless)return y;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,a=this.vaultManagerContext.isLoading,i=this.vaultManagerContext.isUpdating;return p` ${R(!this.vaultManagerContext?.showEmptyState&&!e,()=>y,()=>p`<slot name=\"vault-empty-state\"><div class=\"vault-manager ${i?\"is-updating\":\"\"}\"><primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header>${R(this.errorMessage,()=>p`<primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-error-message>`,()=>y)}<div class=\"vault-manager-content\">${R(!a&&!e,()=>p`<div class=\"content-container\"><primer-vault-empty-state ${Nt({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-empty-state></div>`,()=>y)} ${R(!a&&e,()=>p`<div class=\"content-container\">${R(this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>this.renderPaymentMethodList())}</div>`,()=>y)}</div>${R(i,()=>this.renderLoadingOverlay(),()=>y)}</div></slot>`)} `}}"
|
|
200
225
|
},
|
|
201
226
|
{
|
|
202
227
|
"kind": "variable",
|
|
203
|
-
"name": "
|
|
204
|
-
"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
|
|
228
|
+
"name": "Te",
|
|
229
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new B(this,{task:async([e,a,i])=>await ai(e,a,i),args:()=>[this.paymentMethod,this.headlessUtils,this.vaultManagerContext]});this.handleClick=()=>{this.isEditMode||!this.vaultManagerContext||!this.paymentMethod||(this.isSelected()?this.vaultItemContext?.setSelectedVaultedPaymentMethod(null):this.vaultItemContext?.setSelectedVaultedPaymentMethod(this.paymentMethod))};this.handleDeleteClick=e=>{e.stopPropagation(),this.dispatchEvent(new CustomEvent(\"delete-payment-method\",{detail:this.paymentMethod?.id,bubbles:!0,composed:!0}))}}isSelected(){if(!this.vaultManagerContext||!this.paymentMethod)return!1;let e=this.vaultItemContext?.selectedVaultedPaymentMethod;return!!e&&e.id===this.paymentMethod.id}render(){return this._getAssetsTask.render({error:()=>y,complete:e=>{let a=this.isSelected()?\"checked\":\"default\",i=!1,n=e?.description;return p`<div class=\"payment-method-wrapper\"><div class=\"payment-method-container\"><primer-button variant=\"secondary\" class=\"payment-method-button ${e.shouldShowCVV?\"with-cvv\":\"\"}\" selectable ?disabled=${this.isEditMode} selectionState=${a} .flex=${i} @click=${this.handleClick} ><primer-payment-method-content .assetConfig=${e} ></primer-payment-method-content>${R(e.shouldShowCVV&&this.isSelected()&&!this.isEditMode,()=>p`<div class=\"payment-method-row mt-2\"><span class=\"flex-center\"><primer-icon name=\"lock\" size=\"sm\"></primer-icon><span class=\"payment-method-subtitle\"> Input the card CVV for a secure payment</span ></span><span class=\"cell-2\"><primer-vault-cvv-input .paymentMethod=\"${this.paymentMethod}\" ><span slot=\"label\"></span></primer-vault-cvv-input></span></div>`,()=>y)}</primer-button>${this.isEditMode?p`<primer-button variant=\"tertiary\" class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${b(\"delete\",{id:\"delete\"})} ${n}`} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:y}</div></div>`}})}}"
|
|
205
230
|
},
|
|
206
231
|
{
|
|
207
232
|
"kind": "variable",
|
|
208
|
-
"name": "
|
|
233
|
+
"name": "He",
|
|
209
234
|
"default": "class extends v{constructor(){super(...arguments);this.isEditMode=!1;this.hasPaymentMethods=!1;this.toggleEditMode=()=>{this.dispatchEvent(new CustomEvent(\"toggle-edit-mode\",{detail:!this.isEditMode,bubbles:!0,composed:!0}))}}render(){return p`<div class=\"vault-manager-header\"><h3>${b(\"previouslyUsed\",{id:\"previouslyUsed\"})}</h3>${this.hasPaymentMethods?p`<primer-button variant=\"tertiary\" class=\"edit-button ${this.isEditMode?\"active\":\"\"}\" @click=${this.toggleEditMode} aria-label=${this.isEditMode?b(\"confirm\",{id:\"confirm\"}):b(\"editPaymentMethods\",{id:\"editPaymentMethods\"})} >${this.isEditMode?p`<primer-icon name=\"checkmark\" size=\"sm\"></primer-icon>`:p`<primer-icon name=\"edit\" size=\"sm\"></primer-icon>`}</primer-button>`:y}</div>`}}"
|
|
210
235
|
},
|
|
211
236
|
{
|
|
212
237
|
"kind": "variable",
|
|
213
|
-
"name": "
|
|
238
|
+
"name": "ke",
|
|
214
239
|
"default": "class extends v{constructor(){super(...arguments);this.isDeleting=!1;this.paymentMethodId=\"\";this.paymentMethodName=\"\";this.vaultManager=null;this.handleConfirmClick=()=>{this.dispatchEvent(new CustomEvent(\"confirm-delete\",{bubbles:!0,composed:!0}))};this.handleCancelClick=()=>{this.dispatchEvent(new CustomEvent(\"cancel-delete\",{bubbles:!0,composed:!0}))}}render(){return p`<div class=\"delete-confirmation\"><p class=\"delete-confirmation-text\"> Are you sure you want to delete this payment method? </p><div class=\"delete-actions\"><primer-button variant=\"secondary\" @click=${this.handleCancelClick} ?disabled=${this.isDeleting} >${b(\"cancel\",{id:\"cancel\"})}</primer-button><primer-button @click=${this.handleConfirmClick} ?disabled=${this.isDeleting} >${this.isDeleting?b(\"deleting\",{id:\"deleting\"}):b(\"confirmVaultedPaymentMethodDeletion\",{id:\"confirmVaultedPaymentMethodDeletion\"})}</primer-button></div></div>`}}"
|
|
215
240
|
},
|
|
216
241
|
{
|
|
217
242
|
"kind": "variable",
|
|
218
|
-
"name": "
|
|
243
|
+
"name": "dt",
|
|
219
244
|
"default": "class extends v{render(){return p`<div class=\"empty-state\"><p>${b(\"savedPaymentMethodsEmpty\",{id:\"savedPaymentMethodsEmpty\"})}</p></div>`}}"
|
|
220
245
|
},
|
|
221
246
|
{
|
|
222
247
|
"kind": "variable",
|
|
223
|
-
"name": "
|
|
248
|
+
"name": "et",
|
|
224
249
|
"default": "class extends v{constructor(){super(...arguments);this.errorMessage=\"\";this.handleDismiss=()=>{this.dispatchEvent(new CustomEvent(\"close-error\",{bubbles:!0,composed:!0}))}}render(){return p`<div class=\"error-message\"><div class=\"error-content\"><primer-icon name=\"warning\" size=\"sm\" color=\"var(--primer-color-red-500)\" ></primer-icon><p>${this.errorMessage}</p></div><button @click=${this.handleDismiss} aria-label=${b(\"closeErrorMessage\",{id:\"closeErrorMessage\"})} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></button></div>`}}"
|
|
225
250
|
},
|
|
226
251
|
{
|
|
227
252
|
"kind": "variable",
|
|
228
|
-
"name": "
|
|
253
|
+
"name": "ie",
|
|
229
254
|
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessInstance=null;this.sdkState=null;this.vaultItemContext=null;this.vaultManager=null;this.clientOptions=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=async e=>{if(e.preventDefault(),!this.isButtonDisabled)try{await this.vaultManager?.startVaultedPaymentFlow()}catch(a){let i=new CustomEvent(\"primer-vault-payment-error\",{bubbles:!0,composed:!0,detail:{error:a}});this.dispatchEvent(i)}}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get isButtonDisabled(){return!!(this.disabled||!this.vaultItemContext?.selectedVaultedPaymentMethod||this.vaultManager?.isLoading)}render(){let e=this.clientOptions?.submitButton?.amountVisible?this.headlessInstance?.getUIOrderAmount():null,a=e?` ${e}`:y;return p`<primer-button buttonType=\"submit\" variant=${this.variant} @click=${this.handleClick} .disabled=${this.isButtonDisabled} .loading=${this.sdkState?.isProcessing} data-submit >${this.buttonText}${a}</primer-button>`}}"
|
|
230
255
|
},
|
|
231
256
|
{
|
|
232
257
|
"kind": "variable",
|
|
233
|
-
"name": "
|
|
234
|
-
"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
|
|
258
|
+
"name": "te",
|
|
259
|
+
"default": "class extends v{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this.isFocused=!1;this._setupCVVIframe=new B(this,{task:([e,a])=>!e||!a||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||a.createCvvInput===null?w:{network:e.paymentInstrumentData.network,createCvvInput:a.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new B(this,{task:async([e])=>{if(!e)return w;await this.updateComplete;let a=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!a)return;let i=si(this.computedStyles),n=i?{input:{base:i}}:void 0,o={cardNetwork:e.network,container:a,name:\"cvv\",placeholder:\"123\",style:n,ariaLabel:b(\"CVV\",{id:\"cardCVV\"})};this.cvvInput=await e.createCvvInput?.(o)??null,this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.errorCode||null,this.vaultManagerCvvContext?.setCvvInput(this.cvvInput),this.cvvInput.addListener(\"change\",()=>{this.onCvvInputChange()}),this.cvvInput.addListener(\"blur\",()=>{this.onBlur()}),this.cvvInput.addListener(\"focus\",()=>{this.onFocus()}))},args:()=>[this._setupCVVIframe.value]})}disconnectedCallback(){super.disconnectedCallback(),this.cvvInput&&(this.cvvInput.remove(),this.cvvInput=null,this.cvvError=null,this.vaultManagerCvvContext?.setCvvInput(null))}onCvvInputChange(){!this.cvvInput||!this.vaultManagerCvvContext||(this.cvvInputIsDirty=!0,this.cvvError=this.cvvInput.metadata.errorCode||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.errorCode||null,this.isFocused=!1)}onFocus(){this.isFocused=!0}render(){return this._setupCVVIframe.render({error:()=>y,complete:()=>p`<div class=\"cvv-input-container\"><primer-input-wrapper .focusWithin=${this.isFocused} .hasError=${!!this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred)} ><slot name=\"label\" slot=\"label\"><primer-input-label>CVV</primer-input-label></slot><div slot=\"input\" id=\"${this.cvvContainerId}\"></div>${R(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>p`<primer-input-error slot=\"error\">${b(this.cvvError,{id:this.cvvError})}</primer-input-error>`)}</primer-input-wrapper></div>`})}}"
|
|
235
260
|
},
|
|
236
261
|
{
|
|
237
262
|
"kind": "variable",
|
|
238
|
-
"name": "
|
|
263
|
+
"name": "tt",
|
|
239
264
|
"default": "class extends v{constructor(){super(...arguments);this.assetConfig=null}render(){if(!this.assetConfig)return y;let e=this.assetConfig.description,a=this.assetConfig.icon,i=R(this.assetConfig.icon,()=>p`<img class=\"payment-method-icon\" src=${a} alt=${e} />`,()=>p`<div class=\"payment-method-icon payment-method-icon-generic\"><primer-icon name=\"payment-card\" size=\"sm\"></primer-icon></div>`);return this.assetConfig.type===\"paypal\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.fullName}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.paymentMethodType}</span ></span></div></span>`:this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType!==\"ACH\"?p`<div class=\"payment-method-card-other\"><div class=\"left-column\"><div class=\"payment-method-header\">${this.assetConfig.fullName}</div><div class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.paymentMethodType}</span ></div></div><div class=\"payment-method-right-column-text\">${this.assetConfig.email||`\\u2022\\u2022\\u2022\\u2022 ${this.assetConfig.last4}`}</div></div>`:this.assetConfig.type===\"other\"&&this.assetConfig.paymentMethodType===\"ACH\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.fullName}</span ><span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.bankName}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.accountType}</span ></div></span>`:this.assetConfig.type===\"card\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\"><span class=\"payment-method-header\" >${this.assetConfig.cardholderName}</span ><span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"flex\">${i}<span class=\"payment-method-subtitle\" >${this.assetConfig.network}</span ></span><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.expiresDate}</span ></div></span>`:this.assetConfig.type===\"GOOGLE_PAY\"?p`<span class=\"payment-method-card\"><div class=\"payment-method-row\">${i}<span class=\"payment-method-header cell-2\" >•••• ${this.assetConfig.last4}</span ></div><div class=\"payment-method-row\"><span class=\"payment-method-subtitle\" >${this.assetConfig.network}</span ><span class=\"payment-method-subtitle cell-2\" >${this.assetConfig.expiresDate}</span ></div></span>`:y}}"
|
|
240
265
|
},
|
|
241
266
|
{
|
|
242
267
|
"kind": "variable",
|
|
243
|
-
"name": "
|
|
244
|
-
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new W(this,{context:
|
|
268
|
+
"name": "ne",
|
|
269
|
+
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new W(this,{context:ua,initialValue:null});this.eventsController=new aa(this);this._contextCardSubmitListener=null;this._isHandlingContextEvent=!1;this.inputControllers=new Map;this.setupCardFormTask=new B(this,{task:([e])=>{if(!e?.manager)return w;let{manager:a}=e,i=a.createHostedInputs(),{cardNumberInput:n,expiryInput:o,cvvInput:s}=i;return this.cardFormProvider.setValue({cardholderNameInput:i.cardholderNameInput,cardNumberInput:n,expiryInput:o,cvvInput:s,setCardholderName:l=>{a.setCardholderName(l),this.shouldRequireCardholderName&&a.validate?.().then(c=>{let g=c?.validationErrors?.find(T=>T.name===Wd.cardholderName),h=this.inputControllers.get(\"cardholderName\");h&&h.updateMetaFromValidation({valid:!1,error:g?.message||g?.error||null,errorCode:g?.message||g?.error||null})})},setCardNetwork:l=>{this.selectedCardNetwork=l},validate:()=>a.validate(),submit:l=>a.submit(l),hideLabels:this.hideLabels,disabled:this.disabled,setSubmissionState:l=>{this.inputControllers.forEach(c=>{c.setSubmitted(l)})},propagateValidationErrors:l=>{l&&l.forEach(c=>{let m=c.field||c.name,g=c.message||c.error,h=Wd[m];if(h){let T=this.inputControllers.get(h);if(T){let M={valid:!1,error:g,errorCode:g};T.updateMetaFromValidation(M)}}})},registerInputController:(l,c)=>{this.inputControllers.set(l,c)},unregisterInputController:l=>{this.inputControllers.delete(l)},onUserInteraction:()=>{this.sendPaymentMethodSelectionEvent(),this.checkAndSendPaymentDetailsEnteredEvent()}}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.paymentDetailsEnteredSent=!1;this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitCardPayment())};this.handleDirectSubmit=e=>{e.stopPropagation(),this.submitCardPayment()};this.handleContextCardSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitCardPayment())}finally{this._isHandlingContextEvent=!1}}};this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0};this.handleFormSubmit=e=>{e.preventDefault(),e.stopPropagation(),this.submitCardPayment()}}updated(e){if(super.updated(e),(e.has(\"hideLabels\")||e.has(\"disabled\"))&&this.cardFormProvider.value&&this.cardFormProvider.setValue({...this.cardFormProvider.value,hideLabels:this.hideLabels,disabled:this.disabled}),e.has(\"contextEventsController\")){let a=e.get(\"contextEventsController\");a?.host&&this._contextCardSubmitListener&&a.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener),this.setupContextEventListeners()}}get shouldShowCardholderName(){let e=this.clientOptions?.card?.cardholderName;return typeof e?.visible==\"boolean\"?e.visible:!0}get shouldRequireCardholderName(){if(!this.shouldShowCardholderName)return!1;let e=this.clientOptions?.card?.cardholderName;return typeof e?.required==\"boolean\"?e.required:!0}sendPaymentMethodSelectionEvent(){this.paymentMethodSelectionSent||(this.paymentMethodSelectionSent=!0,X({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:\"PAYMENT_CARD\"}))}checkAndSendPaymentDetailsEnteredEvent(){if(this.paymentDetailsEnteredSent)return;let e=this.inputControllers.get(\"cardNumber\"),a=this.inputControllers.get(\"expire\"),i=this.inputControllers.get(\"cvv\"),n=e?.meta?.dirty===!0,o=a?.meta?.dirty===!0,s=i?.meta?.dirty===!0,l=!0;this.shouldRequireCardholderName&&(l=this.inputControllers.get(\"cardholderName\")?.meta?.dirty===!0),n&&o&&s&&l&&(this.sendPaymentDetailsEnteredEvent(),this.paymentDetailsEnteredSent=!0)}sendPaymentDetailsEnteredEvent(){X({eventName:\"PAYMENT_DETAILS_ENTERED\",paymentMethod:\"PAYMENT_CARD\"})}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:card-submit\",this.handleDirectSubmit),this._contextCardSubmitListener=e=>{this.handleContextCardSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:card-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitCardPayment(){let e=this.cardFormProvider.value;if(!e||this.disabled)return;this.formErrorMessage=null,e.setSubmissionState?.(!0);let a=this.querySelector(\"primer-billing-address\")||this.renderRoot.querySelector(\"primer-billing-address\"),i=!0;a&&(i=await a.validateForSubmission());let n=await e.validate?.();if(n?.valid&&i){if(a&&!await a.submitToSDK()){let c=b(\"tokenizationError\",{id:\"tokenizationError\"});this.formErrorMessage=c,this.eventsController.dispatchFormSubmitErrors([{field:\"billingAddress\",name:\"billingAddress\",error:\"BILLING_ADDRESS_SUBMISSION_FAILED\",message:c}]);return}let o=this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0;await e.submit?.(o);let s={success:!0};this.eventsController.dispatchFormSubmitSuccess(s)}else{let o=n?.validationErrors;e.propagateValidationErrors?.(o||[]),this.cardFormProvider.setValue({...e,errors:o}),this.eventsController.dispatchFormSubmitErrors(o)}}render(){return this.setupCardFormTask.status===bt.ERROR||this.setupCardFormTask.status===bt.INITIAL?y:p`<form @submit=${this.handleFormSubmit}><slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot>${this.setupCardFormTask.render({complete:()=>R(this.hasAssignedContent,()=>y,()=>p`<div class=\"card-form\"><primer-input-card-number></primer-input-card-number><div class=\"card-form-row\"><primer-input-card-expiry></primer-input-card-expiry><primer-input-cvv></primer-input-cvv></div>${R(this.shouldShowCardholderName,()=>p`<primer-input-card-holder-name></primer-input-card-holder-name>`,()=>y)}<primer-billing-address></primer-billing-address></div><primer-card-form-submit></primer-card-form-submit><primer-error-message message=\"${this.formErrorMessage||\"\"}\" ?visible=\"${!!this.formErrorMessage}\" ></primer-error-message>`)})}</form>`}}"
|
|
245
270
|
},
|
|
246
271
|
{
|
|
247
272
|
"kind": "variable",
|
|
248
|
-
"name": "
|
|
249
|
-
"default": "class extends
|
|
273
|
+
"name": "ct",
|
|
274
|
+
"default": "class extends me{constructor(){super();this.config={inputType:\"cardNumber\",containerSelector:\"#cardNumber\",errorName:\"cardNumber-card\",translations:{label:{id:\"cardNumber\",defaultMessage:\"Card Number\"},placeholder:\"4111 1111 1111 1111\",ariaLabel:{id:\"cardNumber\",defaultMessage:\"Card Number\"}}};this.handleNetworkSelected=e=>{let{network:a}=e.detail;this.cardFormContext&&this.cardFormContext.setCardNetwork(a)};this.childUpdated()}renderInput(){if(this.hostedInputController.setupTask.status===bt.ERROR)return y;let e=this.getError();return p`<primer-input-wrapper .focusWithin=\"${this.hostedInputController.meta.active}\" .hasError=${!!e} >${R(!this.cardFormContext?.hideLabels,()=>p`<primer-input-label slot=\"label\" >${this.label}</primer-input-label >`,()=>y)}<div slot=\"input\" class=\"card-number-container\" aria-label=\"${this.ariaLabel}\" ><div id=\"${this.config.containerSelector.substring(1)}\"></div><div class=\"network-selector-container\"><primer-card-network-selector @network-selected=${this.handleNetworkSelected} ></primer-card-network-selector></div></div>${R(e,a=>p`<primer-input-error slot=\"error\">${b(a,{id:a})}</primer-input-error>`,()=>y)}</primer-input-wrapper>`}render(){return this.renderInput()}}"
|
|
250
275
|
},
|
|
251
276
|
{
|
|
252
277
|
"kind": "variable",
|
|
253
|
-
"name": "
|
|
254
|
-
"default": "class extends
|
|
278
|
+
"name": "ut",
|
|
279
|
+
"default": "class extends me{constructor(){super();this.config={inputType:\"cvv\",containerSelector:\"#cvv\",errorName:\"cvv-card\",translations:{label:\"CVV\",placeholder:\"123\"}};this.childUpdated()}render(){return this.renderInput()}}"
|
|
255
280
|
},
|
|
256
281
|
{
|
|
257
282
|
"kind": "variable",
|
|
258
|
-
"name": "
|
|
259
|
-
"default": "class extends
|
|
283
|
+
"name": "pt",
|
|
284
|
+
"default": "class extends me{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()}}"
|
|
260
285
|
},
|
|
261
286
|
{
|
|
262
287
|
"kind": "variable",
|
|
263
|
-
"name": "
|
|
264
|
-
"default": "class extends
|
|
288
|
+
"name": "mt",
|
|
289
|
+
"default": "class extends me{constructor(){super();this.config={inputType:\"cardholderName\",containerSelector:\"#cardFormName\",errorName:\"cardholderName\",translations:{label:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"},placeholder:{id:\"cardholderNamePlaceholder\",defaultMessage:\"Name on card\"},ariaLabel:{id:\"cardholderNameLabel\",defaultMessage:\"Cardholder Name\"}},onInput:e=>this.handleInput(e)};this.childUpdated()}handleInput(e){this.cardFormContext?.setCardholderName?.(e)}render(){return this.renderInput()}}"
|
|
265
290
|
},
|
|
266
291
|
{
|
|
267
292
|
"kind": "variable",
|
|
268
|
-
"name": "
|
|
269
|
-
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessUtils=null;this.clientOptions=null;this.sdkState=null;this.cardFormContext=null;this.analyticsUtils=null;this.contextEventsController=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;
|
|
293
|
+
"name": "ae",
|
|
294
|
+
"default": "class extends v{constructor(){super(...arguments);this._userAssignedProps=new Set;this._internalButtonText=\"\";this.headlessUtils=null;this.clientOptions=null;this.sdkState=null;this.cardFormContext=null;this.analyticsUtils=null;this.contextEventsController=null;this.variant=\"primary\";this.disabled=!1;this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;X({eventName:\"PAYMENT_SUBMITTED\",paymentMethod:\"PAYMENT_CARD\"});let a=new CustomEvent(\"primer:card-submit\",{bubbles:!0,composed:!0,detail:{source:\"primer-card-form-submit\"}});this.dispatchEvent(a)}}get buttonText(){return this._userAssignedProps.has(\"buttonText\")?this._internalButtonText:b(\"pay\",{id:\"pay\"})}set buttonText(e){let a=this.buttonText;e!==\"\"?(this._userAssignedProps.add(\"buttonText\"),this._internalButtonText=e):(this._userAssignedProps.delete(\"buttonText\"),this._internalButtonText=\"\"),this.requestUpdate(\"buttonText\",a)}get submitButtonConfig(){return this.clientOptions?.submitButton??null}get shouldShowBuiltInButton(){return this.submitButtonConfig?.useBuiltInButton??!0}render(){if(!this.shouldShowBuiltInButton)return y;let e=this.submitButtonConfig?.amountVisible?this.headlessUtils?.getUIOrderAmount():null,a=e?` ${e}`:y,i=this.disabled||this.cardFormContext?.disabled||!1;return p`<primer-button type=\"submit\" variant=${this.variant} ?disabled=${i} @click=${this.handleClick} .loading=${!!this.sdkState?.isProcessing} data-submit >${this.buttonText}${a}</primer-button>`}}"
|
|
270
295
|
},
|
|
271
296
|
{
|
|
272
297
|
"kind": "variable",
|
|
273
|
-
"name": "
|
|
274
|
-
"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
|
|
298
|
+
"name": "he",
|
|
299
|
+
"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=$t();this.dropdownRef=$t();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}renderDefaultCardIcon(){return p`<div class=\"network-icon\">${Zr[\"payment-card\"]}</div>`}getSelectableNetworks(){return this.cardNetworks?.selectableCardNetworks||[]}getDetectedNetwork(){return this.selectedCardNetwork??(this.cardNetworks?.detectedCardNetwork||null)}getSelectedNetworkIndex(){let e=this.getDetectedNetwork();if(!e)return 0;let a=this.getSelectableNetworks().findIndex(i=>i.network===e.network);return a>=0?a:0}selectNetwork(e,a){e.stopPropagation(),this.selectedCardNetwork=a,this.isDropdownOpen=!1,this.buttonRef.value?.focus(),this.cardNetworks&&this.dispatchEvent(new CustomEvent(\"network-selected\",{detail:{network:a.network},bubbles:!0,composed:!0}))}focusNetworkOption(){requestAnimationFrame(()=>{this.networkOptionRefs[this.focusedNetworkIndex]&&this.networkOptionRefs[this.focusedNetworkIndex].focus()})}setNetworkOptionRef(e,a){this.networkOptionRefs[a]=e}connectedCallback(){super.connectedCallback(),setTimeout(()=>{document.addEventListener(\"click\",this.handleClickOutside),document.addEventListener(\"mousemove\",this.handleMouseMove),this.addEventListener(\"keydown\",this.handleKeyDown),document.addEventListener(\"keydown\",this.handleDocumentKeyDown)},0)}disconnectedCallback(){document.removeEventListener(\"click\",this.handleClickOutside),document.removeEventListener(\"keydown\",this.handleDocumentKeyDown),document.removeEventListener(\"mousemove\",this.handleMouseMove),this.removeEventListener(\"keydown\",this.handleKeyDown),super.disconnectedCallback()}render(){if(this.cardNetworks?.isLoading)return p`<primer-spinner size=\"small\" compact></primer-spinner>`;let e=this.getSelectableNetworks();if(!this.getDetectedNetwork()&&e.length===0)return this.renderDefaultCardIcon();let a=this.getDetectedNetwork()||(e.length>0?e[0]:null);if(!a)return this.renderDefaultCardIcon();let i=e.length>1;return i&&!Tc(e.map(o=>o.network))?p`<div class=\"network-selector-inline\">${e.map(o=>p`<div class=\"network-icon-container\"><img class=\"network-icon\" src=${this.getNetworkIconUrl(o)} alt=${o.displayName} /></div>`)}</div>`:p`<button ${Pt(this.buttonRef)} class=\"network-selector\" @click=${this.toggleDropdown} @keydown=${o=>{(o.key===\" \"||o.key===\"Enter\")&&i&&(o.preventDefault(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&(this.focusedNetworkIndex=this.getSelectedNetworkIndex()))}} aria-label=${i?`Selected card network: ${a.displayName}. Click to change.`:`Card network: ${a.displayName}`} aria-expanded=${i?this.isDropdownOpen:y} aria-haspopup=${i?\"true\":y} aria-controls=${i?\"network-dropdown\":y} ><img class=\"network-icon\" src=${this.getNetworkIconUrl(a)} alt=${a.displayName} />${R(i,()=>p`<primer-icon class=\"caret ${this.isDropdownOpen?\"open\":\"\"}\" size=\"sm\" name=\"chevron-down\" ></primer-icon>`,()=>y)}</button>${R(this.isDropdownOpen,()=>p`<div ${Pt(this.dropdownRef)} id=\"network-dropdown\" class=\"dropdown open\" role=\"listbox\" aria-label=\"Select card network\" >${e.map((o,s)=>p`<div ${Pt(l=>this.setNetworkOptionRef(l,s))} class=\"network-option ${this.isKeyboardNavigation&&s===this.focusedNetworkIndex?\"focused\":\"\"}\" @click=${l=>this.selectNetwork(l,o)} @keydown=${l=>{(l.key===\"Enter\"||l.key===\" \")&&this.selectNetwork(l,o)}} role=\"option\" aria-selected=${o.network===a.network} tabindex=\"${s===this.focusedNetworkIndex?\"0\":\"-1\"}\" ><img class=\"network-option-icon\" src=${this.getNetworkIconUrl(o)} alt=${o.displayName} /><span class=\"network-name\">${o.displayName}</span>${R(o.network===a.network,()=>p`<primer-icon class=\"checkmark\" name=\"checkmark\" size=\"sm\" ></primer-icon>`,()=>y)}</div>`)}</div>`,()=>y)} `}}"
|
|
275
300
|
},
|
|
276
301
|
{
|
|
277
302
|
"kind": "variable",
|
|
278
|
-
"name": "
|
|
303
|
+
"name": "Oe",
|
|
279
304
|
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null;this.contextEventsController=null;this.hasSlottedToggle=!1;this.isExpanded=!1;this._isHandlingContextEvent=!1;this._contextToggleListener=null;this.handleToggleSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedToggle=i.length>0};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isToggleButton(n)&&(e.preventDefault(),this.toggleAccordion())};this.handleDirectToggle=e=>{let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()};this.handleContextToggle=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{if(e.target!==this){e.stopPropagation();let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()}}finally{this._isHandlingContextEvent=!1}}}}isToggleButton(e){let a=this.shadowRoot?.querySelector('slot[name=\"show-other-payments-toggle-button\"]');return a?a.assignedElements({flatten:!0}).some(n=>n===e||n.contains(e)):!1}toggleAccordion(){this.hasSlottedToggle?(this.isExpanded=!this.isExpanded,this.dispatchExpandedEvent(this.isExpanded)):this.collapsableElement&&(this.collapsableElement.isExpanded?this.collapsableElement.collapse():this.collapsableElement.expand())}dispatchExpandedEvent(e){this.dispatchEvent(new CustomEvent(\"primer:show-other-payments-toggled\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.hasSlottedToggle?this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedEvent(!0)):this.collapsableElement?.expand()}collapse(){this.hasSlottedToggle?this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedEvent(!1)):this.collapsableElement?.collapse()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.addEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.removeEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}connectedCallback(){super.connectedCallback(),this.isExpanded=this.vaultManager?.vaultedPaymentMethods.length===0,this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this._contextToggleListener=e=>{this.handleContextToggle(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this.cleanupContextEventListeners(),super.disconnectedCallback()}render(){if(this.vaultManager?.isLoading)return y;let e=this.vaultManager?.showEmptyState||this.vaultManager?.vaultedPaymentMethods.length;return!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.headless||!e?p`<slot name=\"other-payments\"></slot>`:p`<div class=\"other-payment-methods-container\"><slot name=\"show-other-payments-toggle-button\" @slotchange=${this.handleToggleSlotChange} ></slot>${R(!this.hasSlottedToggle,()=>p`<primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.vaultManager?.vaultedPaymentMethods.length===0}\" .header=\"${b(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" ><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></primer-collapsable>`,()=>p`<div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" role=\"region\" aria-labelledby=\"custom-toggle-button\" ><div class=\"collapsable-content\"><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></div></div>`)}</div>`}}"
|
|
280
305
|
},
|
|
281
306
|
{
|
|
282
307
|
"kind": "variable",
|
|
283
|
-
"name": "
|
|
308
|
+
"name": "ha",
|
|
284
309
|
"default": "class extends v{render(){return p`<primer-checkout-state type=\"complete\"></primer-checkout-state>`}}"
|
|
285
310
|
},
|
|
286
311
|
{
|
|
287
312
|
"kind": "variable",
|
|
288
|
-
"name": "
|
|
313
|
+
"name": "Wt",
|
|
289
314
|
"default": "class extends v{constructor(){super(...arguments);this.sdkState=null}render(){return p`<primer-checkout-state type=\"failure\" description=${this.sdkState?.primerJsError?.message||\"\"} ></primer-checkout-state>`}}"
|
|
290
315
|
},
|
|
291
316
|
{
|
|
292
317
|
"kind": "variable",
|
|
293
|
-
"name": "
|
|
318
|
+
"name": "ht",
|
|
294
319
|
"default": "class extends v{constructor(){super(...arguments);this.showProcessingErrors=!0}get shouldShowError(){return!this.sdkState||this.sdkState.isProcessing?!1:!!(this.sdkState.paymentFailure&&this.showProcessingErrors)}render(){return this.sdkState?p`<primer-error-message message=\"${b(this.sdkState.paymentFailure?.message??\"\",{id:\"tokenizationError\"})}\" ?visible=\"${this.shouldShowError}\" ></primer-error-message>`:y}}"
|
|
295
320
|
},
|
|
296
321
|
{
|
|
297
322
|
"kind": "variable",
|
|
298
|
-
"name": "
|
|
299
|
-
"default": "class extends v{constructor(){super(...arguments);this.hasAssignedContent=!1;this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.paymentMethods=null;this.sdkState=null;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?p`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:p`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<div class=${
|
|
323
|
+
"name": "at",
|
|
324
|
+
"default": "class extends v{constructor(){super(...arguments);this.hasAssignedContent=!1;this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.paymentMethods=null;this.sdkState=null;this.clientOptions=null}render(){return this.sdkState?.isSuccessful?p`<slot name=\"checkout-complete\"><primer-checkout-complete></primer-checkout-complete></slot>`:p`<slot name=\"payments\" @slotchange=${this.onSlotChange}></slot>${R(this.hasAssignedContent,()=>y,()=>p`<div class=${se({\"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?.map(e=>p`<primer-payment-method type=${e.type} ?disabled=${this.clientOptions?.disabledPayments===!0} ></primer-payment-method>`)}</div></primer-show-other-payments><primer-error-message-container></primer-error-message-container></div>`)} `}}"
|
|
300
325
|
},
|
|
301
326
|
{
|
|
302
327
|
"kind": "function",
|
|
303
|
-
"name": "
|
|
328
|
+
"name": "aG"
|
|
304
329
|
}
|
|
305
330
|
],
|
|
306
331
|
"exports": [
|
|
@@ -324,7 +349,7 @@
|
|
|
324
349
|
"kind": "js",
|
|
325
350
|
"name": "AchPayment",
|
|
326
351
|
"declaration": {
|
|
327
|
-
"name": "
|
|
352
|
+
"name": "Ie",
|
|
328
353
|
"module": "dist/primer-loader.js"
|
|
329
354
|
}
|
|
330
355
|
},
|
|
@@ -332,7 +357,7 @@
|
|
|
332
357
|
"kind": "js",
|
|
333
358
|
"name": "ApplePay",
|
|
334
359
|
"declaration": {
|
|
335
|
-
"name": "
|
|
360
|
+
"name": "Qe",
|
|
336
361
|
"module": "dist/primer-loader.js"
|
|
337
362
|
}
|
|
338
363
|
},
|
|
@@ -340,7 +365,7 @@
|
|
|
340
365
|
"kind": "js",
|
|
341
366
|
"name": "BillingAddress",
|
|
342
367
|
"declaration": {
|
|
343
|
-
"name": "
|
|
368
|
+
"name": "de",
|
|
344
369
|
"module": "dist/primer-loader.js"
|
|
345
370
|
}
|
|
346
371
|
},
|
|
@@ -348,7 +373,7 @@
|
|
|
348
373
|
"kind": "js",
|
|
349
374
|
"name": "Blik",
|
|
350
375
|
"declaration": {
|
|
351
|
-
"name": "
|
|
376
|
+
"name": "Ee",
|
|
352
377
|
"module": "dist/primer-loader.js"
|
|
353
378
|
}
|
|
354
379
|
},
|
|
@@ -356,7 +381,7 @@
|
|
|
356
381
|
"kind": "js",
|
|
357
382
|
"name": "Button",
|
|
358
383
|
"declaration": {
|
|
359
|
-
"name": "
|
|
384
|
+
"name": "Ae",
|
|
360
385
|
"module": "dist/primer-loader.js"
|
|
361
386
|
}
|
|
362
387
|
},
|
|
@@ -364,7 +389,7 @@
|
|
|
364
389
|
"kind": "js",
|
|
365
390
|
"name": "CardForm",
|
|
366
391
|
"declaration": {
|
|
367
|
-
"name": "
|
|
392
|
+
"name": "ne",
|
|
368
393
|
"module": "dist/primer-loader.js"
|
|
369
394
|
}
|
|
370
395
|
},
|
|
@@ -372,7 +397,7 @@
|
|
|
372
397
|
"kind": "js",
|
|
373
398
|
"name": "CardFormCVV",
|
|
374
399
|
"declaration": {
|
|
375
|
-
"name": "
|
|
400
|
+
"name": "ut",
|
|
376
401
|
"module": "dist/primer-loader.js"
|
|
377
402
|
}
|
|
378
403
|
},
|
|
@@ -380,7 +405,7 @@
|
|
|
380
405
|
"kind": "js",
|
|
381
406
|
"name": "CardFormCardNetworkSelector",
|
|
382
407
|
"declaration": {
|
|
383
|
-
"name": "
|
|
408
|
+
"name": "he",
|
|
384
409
|
"module": "dist/primer-loader.js"
|
|
385
410
|
}
|
|
386
411
|
},
|
|
@@ -388,7 +413,7 @@
|
|
|
388
413
|
"kind": "js",
|
|
389
414
|
"name": "CardFormCardNumber",
|
|
390
415
|
"declaration": {
|
|
391
|
-
"name": "
|
|
416
|
+
"name": "ct",
|
|
392
417
|
"module": "dist/primer-loader.js"
|
|
393
418
|
}
|
|
394
419
|
},
|
|
@@ -396,7 +421,7 @@
|
|
|
396
421
|
"kind": "js",
|
|
397
422
|
"name": "CardFormError",
|
|
398
423
|
"declaration": {
|
|
399
|
-
"name": "
|
|
424
|
+
"name": "st",
|
|
400
425
|
"module": "dist/primer-loader.js"
|
|
401
426
|
}
|
|
402
427
|
},
|
|
@@ -404,7 +429,7 @@
|
|
|
404
429
|
"kind": "js",
|
|
405
430
|
"name": "CardFormExpiry",
|
|
406
431
|
"declaration": {
|
|
407
|
-
"name": "
|
|
432
|
+
"name": "pt",
|
|
408
433
|
"module": "dist/primer-loader.js"
|
|
409
434
|
}
|
|
410
435
|
},
|
|
@@ -412,7 +437,7 @@
|
|
|
412
437
|
"kind": "js",
|
|
413
438
|
"name": "CardFormName",
|
|
414
439
|
"declaration": {
|
|
415
|
-
"name": "
|
|
440
|
+
"name": "mt",
|
|
416
441
|
"module": "dist/primer-loader.js"
|
|
417
442
|
}
|
|
418
443
|
},
|
|
@@ -420,7 +445,7 @@
|
|
|
420
445
|
"kind": "js",
|
|
421
446
|
"name": "CardFormSubmit",
|
|
422
447
|
"declaration": {
|
|
423
|
-
"name": "
|
|
448
|
+
"name": "ae",
|
|
424
449
|
"module": "dist/primer-loader.js"
|
|
425
450
|
}
|
|
426
451
|
},
|
|
@@ -428,7 +453,7 @@
|
|
|
428
453
|
"kind": "js",
|
|
429
454
|
"name": "Collapsable",
|
|
430
455
|
"declaration": {
|
|
431
|
-
"name": "
|
|
456
|
+
"name": "Me",
|
|
432
457
|
"module": "dist/primer-loader.js"
|
|
433
458
|
}
|
|
434
459
|
},
|
|
@@ -436,7 +461,7 @@
|
|
|
436
461
|
"kind": "js",
|
|
437
462
|
"name": "Dialog",
|
|
438
463
|
"declaration": {
|
|
439
|
-
"name": "
|
|
464
|
+
"name": "Ve",
|
|
440
465
|
"module": "dist/primer-loader.js"
|
|
441
466
|
}
|
|
442
467
|
},
|
|
@@ -444,7 +469,7 @@
|
|
|
444
469
|
"kind": "js",
|
|
445
470
|
"name": "DynamicPayment",
|
|
446
471
|
"declaration": {
|
|
447
|
-
"name": "
|
|
472
|
+
"name": "we",
|
|
448
473
|
"module": "dist/primer-loader.js"
|
|
449
474
|
}
|
|
450
475
|
},
|
|
@@ -452,7 +477,7 @@
|
|
|
452
477
|
"kind": "js",
|
|
453
478
|
"name": "ErrorMessage",
|
|
454
479
|
"declaration": {
|
|
455
|
-
"name": "
|
|
480
|
+
"name": "Je",
|
|
456
481
|
"module": "dist/primer-loader.js"
|
|
457
482
|
}
|
|
458
483
|
},
|
|
@@ -460,7 +485,7 @@
|
|
|
460
485
|
"kind": "js",
|
|
461
486
|
"name": "ErrorMessageContainer",
|
|
462
487
|
"declaration": {
|
|
463
|
-
"name": "
|
|
488
|
+
"name": "ht",
|
|
464
489
|
"module": "dist/primer-loader.js"
|
|
465
490
|
}
|
|
466
491
|
},
|
|
@@ -468,7 +493,7 @@
|
|
|
468
493
|
"kind": "js",
|
|
469
494
|
"name": "GooglePay",
|
|
470
495
|
"declaration": {
|
|
471
|
-
"name": "
|
|
496
|
+
"name": "qe",
|
|
472
497
|
"module": "dist/primer-loader.js"
|
|
473
498
|
}
|
|
474
499
|
},
|
|
@@ -484,7 +509,7 @@
|
|
|
484
509
|
"kind": "js",
|
|
485
510
|
"name": "InputLabel",
|
|
486
511
|
"declaration": {
|
|
487
|
-
"name": "
|
|
512
|
+
"name": "ot",
|
|
488
513
|
"module": "dist/primer-loader.js"
|
|
489
514
|
}
|
|
490
515
|
},
|
|
@@ -492,7 +517,7 @@
|
|
|
492
517
|
"kind": "js",
|
|
493
518
|
"name": "InputWrapper",
|
|
494
519
|
"declaration": {
|
|
495
|
-
"name": "
|
|
520
|
+
"name": "We",
|
|
496
521
|
"module": "dist/primer-loader.js"
|
|
497
522
|
}
|
|
498
523
|
},
|
|
@@ -500,7 +525,7 @@
|
|
|
500
525
|
"kind": "js",
|
|
501
526
|
"name": "PayPal",
|
|
502
527
|
"declaration": {
|
|
503
|
-
"name": "
|
|
528
|
+
"name": "Xe",
|
|
504
529
|
"module": "dist/primer-loader.js"
|
|
505
530
|
}
|
|
506
531
|
},
|
|
@@ -508,7 +533,7 @@
|
|
|
508
533
|
"kind": "js",
|
|
509
534
|
"name": "PaymentMethod",
|
|
510
535
|
"declaration": {
|
|
511
|
-
"name": "
|
|
536
|
+
"name": "Ue",
|
|
512
537
|
"module": "dist/primer-loader.js"
|
|
513
538
|
}
|
|
514
539
|
},
|
|
@@ -516,7 +541,7 @@
|
|
|
516
541
|
"kind": "js",
|
|
517
542
|
"name": "PaymentMethodContainer",
|
|
518
543
|
"declaration": {
|
|
519
|
-
"name": "
|
|
544
|
+
"name": "xe",
|
|
520
545
|
"module": "dist/primer-loader.js"
|
|
521
546
|
}
|
|
522
547
|
},
|
|
@@ -524,7 +549,7 @@
|
|
|
524
549
|
"kind": "js",
|
|
525
550
|
"name": "PaymentMethodContentComponent",
|
|
526
551
|
"declaration": {
|
|
527
|
-
"name": "
|
|
552
|
+
"name": "tt",
|
|
528
553
|
"module": "dist/primer-loader.js"
|
|
529
554
|
}
|
|
530
555
|
},
|
|
@@ -532,7 +557,7 @@
|
|
|
532
557
|
"kind": "js",
|
|
533
558
|
"name": "Portal",
|
|
534
559
|
"declaration": {
|
|
535
|
-
"name": "
|
|
560
|
+
"name": "Et",
|
|
536
561
|
"module": "dist/primer-loader.js"
|
|
537
562
|
}
|
|
538
563
|
},
|
|
@@ -540,7 +565,7 @@
|
|
|
540
565
|
"kind": "js",
|
|
541
566
|
"name": "PortalDialog",
|
|
542
567
|
"declaration": {
|
|
543
|
-
"name": "
|
|
568
|
+
"name": "oe",
|
|
544
569
|
"module": "dist/primer-loader.js"
|
|
545
570
|
}
|
|
546
571
|
},
|
|
@@ -548,7 +573,7 @@
|
|
|
548
573
|
"kind": "js",
|
|
549
574
|
"name": "PrimerCheckoutComplete",
|
|
550
575
|
"declaration": {
|
|
551
|
-
"name": "
|
|
576
|
+
"name": "ha",
|
|
552
577
|
"module": "dist/primer-loader.js"
|
|
553
578
|
}
|
|
554
579
|
},
|
|
@@ -556,7 +581,7 @@
|
|
|
556
581
|
"kind": "js",
|
|
557
582
|
"name": "PrimerCheckoutComponent",
|
|
558
583
|
"declaration": {
|
|
559
|
-
"name": "
|
|
584
|
+
"name": "Ne",
|
|
560
585
|
"module": "dist/primer-loader.js"
|
|
561
586
|
}
|
|
562
587
|
},
|
|
@@ -564,7 +589,7 @@
|
|
|
564
589
|
"kind": "js",
|
|
565
590
|
"name": "PrimerCheckoutFailure",
|
|
566
591
|
"declaration": {
|
|
567
|
-
"name": "
|
|
592
|
+
"name": "Wt",
|
|
568
593
|
"module": "dist/primer-loader.js"
|
|
569
594
|
}
|
|
570
595
|
},
|
|
@@ -572,7 +597,7 @@
|
|
|
572
597
|
"kind": "js",
|
|
573
598
|
"name": "PrimerCheckoutState",
|
|
574
599
|
"declaration": {
|
|
575
|
-
"name": "
|
|
600
|
+
"name": "lt",
|
|
576
601
|
"module": "dist/primer-loader.js"
|
|
577
602
|
}
|
|
578
603
|
},
|
|
@@ -580,7 +605,7 @@
|
|
|
580
605
|
"kind": "js",
|
|
581
606
|
"name": "PrimerIcon",
|
|
582
607
|
"declaration": {
|
|
583
|
-
"name": "
|
|
608
|
+
"name": "Ze",
|
|
584
609
|
"module": "dist/primer-loader.js"
|
|
585
610
|
}
|
|
586
611
|
},
|
|
@@ -588,7 +613,7 @@
|
|
|
588
613
|
"kind": "js",
|
|
589
614
|
"name": "PrimerKlarna",
|
|
590
615
|
"declaration": {
|
|
591
|
-
"name": "
|
|
616
|
+
"name": "le",
|
|
592
617
|
"module": "dist/primer-loader.js"
|
|
593
618
|
}
|
|
594
619
|
},
|
|
@@ -596,7 +621,7 @@
|
|
|
596
621
|
"kind": "js",
|
|
597
622
|
"name": "PrimerMain",
|
|
598
623
|
"declaration": {
|
|
599
|
-
"name": "
|
|
624
|
+
"name": "at",
|
|
600
625
|
"module": "dist/primer-loader.js"
|
|
601
626
|
}
|
|
602
627
|
},
|
|
@@ -604,7 +629,7 @@
|
|
|
604
629
|
"kind": "js",
|
|
605
630
|
"name": "RedirectPayment",
|
|
606
631
|
"declaration": {
|
|
607
|
-
"name": "
|
|
632
|
+
"name": "De",
|
|
608
633
|
"module": "dist/primer-loader.js"
|
|
609
634
|
}
|
|
610
635
|
},
|
|
@@ -612,7 +637,7 @@
|
|
|
612
637
|
"kind": "js",
|
|
613
638
|
"name": "Select",
|
|
614
639
|
"declaration": {
|
|
615
|
-
"name": "
|
|
640
|
+
"name": "Ce",
|
|
616
641
|
"module": "dist/primer-loader.js"
|
|
617
642
|
}
|
|
618
643
|
},
|
|
@@ -620,7 +645,7 @@
|
|
|
620
645
|
"kind": "js",
|
|
621
646
|
"name": "ShowOtherPayments",
|
|
622
647
|
"declaration": {
|
|
623
|
-
"name": "
|
|
648
|
+
"name": "Oe",
|
|
624
649
|
"module": "dist/primer-loader.js"
|
|
625
650
|
}
|
|
626
651
|
},
|
|
@@ -628,7 +653,7 @@
|
|
|
628
653
|
"kind": "js",
|
|
629
654
|
"name": "Spinner",
|
|
630
655
|
"declaration": {
|
|
631
|
-
"name": "
|
|
656
|
+
"name": "je",
|
|
632
657
|
"module": "dist/primer-loader.js"
|
|
633
658
|
}
|
|
634
659
|
},
|
|
@@ -636,7 +661,7 @@
|
|
|
636
661
|
"kind": "js",
|
|
637
662
|
"name": "VaultCvvInput",
|
|
638
663
|
"declaration": {
|
|
639
|
-
"name": "
|
|
664
|
+
"name": "te",
|
|
640
665
|
"module": "dist/primer-loader.js"
|
|
641
666
|
}
|
|
642
667
|
},
|
|
@@ -644,7 +669,7 @@
|
|
|
644
669
|
"kind": "js",
|
|
645
670
|
"name": "VaultDeleteConfirmation",
|
|
646
671
|
"declaration": {
|
|
647
|
-
"name": "
|
|
672
|
+
"name": "ke",
|
|
648
673
|
"module": "dist/primer-loader.js"
|
|
649
674
|
}
|
|
650
675
|
},
|
|
@@ -652,7 +677,7 @@
|
|
|
652
677
|
"kind": "js",
|
|
653
678
|
"name": "VaultEmptyState",
|
|
654
679
|
"declaration": {
|
|
655
|
-
"name": "
|
|
680
|
+
"name": "dt",
|
|
656
681
|
"module": "dist/primer-loader.js"
|
|
657
682
|
}
|
|
658
683
|
},
|
|
@@ -660,7 +685,7 @@
|
|
|
660
685
|
"kind": "js",
|
|
661
686
|
"name": "VaultErrorMessage",
|
|
662
687
|
"declaration": {
|
|
663
|
-
"name": "
|
|
688
|
+
"name": "et",
|
|
664
689
|
"module": "dist/primer-loader.js"
|
|
665
690
|
}
|
|
666
691
|
},
|
|
@@ -668,7 +693,7 @@
|
|
|
668
693
|
"kind": "js",
|
|
669
694
|
"name": "VaultManager",
|
|
670
695
|
"declaration": {
|
|
671
|
-
"name": "
|
|
696
|
+
"name": "ee",
|
|
672
697
|
"module": "dist/primer-loader.js"
|
|
673
698
|
}
|
|
674
699
|
},
|
|
@@ -676,7 +701,7 @@
|
|
|
676
701
|
"kind": "js",
|
|
677
702
|
"name": "VaultManagerHeader",
|
|
678
703
|
"declaration": {
|
|
679
|
-
"name": "
|
|
704
|
+
"name": "He",
|
|
680
705
|
"module": "dist/primer-loader.js"
|
|
681
706
|
}
|
|
682
707
|
},
|
|
@@ -684,7 +709,7 @@
|
|
|
684
709
|
"kind": "js",
|
|
685
710
|
"name": "VaultPaymentMethodItem",
|
|
686
711
|
"declaration": {
|
|
687
|
-
"name": "
|
|
712
|
+
"name": "Te",
|
|
688
713
|
"module": "dist/primer-loader.js"
|
|
689
714
|
}
|
|
690
715
|
},
|
|
@@ -692,7 +717,7 @@
|
|
|
692
717
|
"kind": "js",
|
|
693
718
|
"name": "VaultPaymentSubmit",
|
|
694
719
|
"declaration": {
|
|
695
|
-
"name": "
|
|
720
|
+
"name": "ie",
|
|
696
721
|
"module": "dist/primer-loader.js"
|
|
697
722
|
}
|
|
698
723
|
},
|
|
@@ -700,7 +725,7 @@
|
|
|
700
725
|
"kind": "js",
|
|
701
726
|
"name": "injectDarkTheme",
|
|
702
727
|
"declaration": {
|
|
703
|
-
"name": "
|
|
728
|
+
"name": "Om",
|
|
704
729
|
"module": "dist/primer-loader.js"
|
|
705
730
|
}
|
|
706
731
|
},
|
|
@@ -708,7 +733,7 @@
|
|
|
708
733
|
"kind": "js",
|
|
709
734
|
"name": "injectLightTheme",
|
|
710
735
|
"declaration": {
|
|
711
|
-
"name": "
|
|
736
|
+
"name": "Dm",
|
|
712
737
|
"module": "dist/primer-loader.js"
|
|
713
738
|
}
|
|
714
739
|
},
|
|
@@ -716,7 +741,7 @@
|
|
|
716
741
|
"kind": "js",
|
|
717
742
|
"name": "injectLoaderStyles",
|
|
718
743
|
"declaration": {
|
|
719
|
-
"name": "
|
|
744
|
+
"name": "dl",
|
|
720
745
|
"module": "dist/primer-loader.js"
|
|
721
746
|
}
|
|
722
747
|
},
|
|
@@ -724,7 +749,7 @@
|
|
|
724
749
|
"kind": "js",
|
|
725
750
|
"name": "injectThemeStyles",
|
|
726
751
|
"declaration": {
|
|
727
|
-
"name": "
|
|
752
|
+
"name": "cl",
|
|
728
753
|
"module": "dist/primer-loader.js"
|
|
729
754
|
}
|
|
730
755
|
},
|
|
@@ -732,41 +757,12 @@
|
|
|
732
757
|
"kind": "js",
|
|
733
758
|
"name": "loadPrimer",
|
|
734
759
|
"declaration": {
|
|
735
|
-
"name": "
|
|
760
|
+
"name": "aG",
|
|
736
761
|
"module": "dist/primer-loader.js"
|
|
737
762
|
}
|
|
738
763
|
}
|
|
739
764
|
]
|
|
740
765
|
},
|
|
741
|
-
{
|
|
742
|
-
"kind": "javascript-module",
|
|
743
|
-
"path": "e2e/utils.ts",
|
|
744
|
-
"declarations": [
|
|
745
|
-
{
|
|
746
|
-
"kind": "variable",
|
|
747
|
-
"name": "test",
|
|
748
|
-
"default": "chromaticTest"
|
|
749
|
-
}
|
|
750
|
-
],
|
|
751
|
-
"exports": [
|
|
752
|
-
{
|
|
753
|
-
"kind": "js",
|
|
754
|
-
"name": "expect",
|
|
755
|
-
"declaration": {
|
|
756
|
-
"name": "expect",
|
|
757
|
-
"package": "@chromatic-com/playwright"
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"kind": "js",
|
|
762
|
-
"name": "test",
|
|
763
|
-
"declaration": {
|
|
764
|
-
"name": "test",
|
|
765
|
-
"module": "e2e/utils.ts"
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
]
|
|
769
|
-
},
|
|
770
766
|
{
|
|
771
767
|
"kind": "javascript-module",
|
|
772
768
|
"path": "src/consts.ts",
|
|
@@ -1655,7 +1651,62 @@
|
|
|
1655
1651
|
},
|
|
1656
1652
|
{
|
|
1657
1653
|
"kind": "javascript-module",
|
|
1658
|
-
"path": "
|
|
1654
|
+
"path": "e2e/mocks/shared.ts",
|
|
1655
|
+
"declarations": [
|
|
1656
|
+
{
|
|
1657
|
+
"kind": "function",
|
|
1658
|
+
"name": "mockConfigurationCall",
|
|
1659
|
+
"parameters": [
|
|
1660
|
+
{
|
|
1661
|
+
"name": "page",
|
|
1662
|
+
"type": {
|
|
1663
|
+
"text": "Page"
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"name": "config",
|
|
1668
|
+
"type": {
|
|
1669
|
+
"text": "unknown"
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
]
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"kind": "function",
|
|
1676
|
+
"name": "mockDemoUrl",
|
|
1677
|
+
"parameters": [
|
|
1678
|
+
{
|
|
1679
|
+
"name": "primerCheckoutOptions",
|
|
1680
|
+
"optional": true,
|
|
1681
|
+
"type": {
|
|
1682
|
+
"text": "PrimerCheckoutOptions"
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
]
|
|
1686
|
+
}
|
|
1687
|
+
],
|
|
1688
|
+
"exports": [
|
|
1689
|
+
{
|
|
1690
|
+
"kind": "js",
|
|
1691
|
+
"name": "mockConfigurationCall",
|
|
1692
|
+
"declaration": {
|
|
1693
|
+
"name": "mockConfigurationCall",
|
|
1694
|
+
"module": "e2e/mocks/shared.ts"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"kind": "js",
|
|
1699
|
+
"name": "mockDemoUrl",
|
|
1700
|
+
"declaration": {
|
|
1701
|
+
"name": "mockDemoUrl",
|
|
1702
|
+
"module": "e2e/mocks/shared.ts"
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
]
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"kind": "javascript-module",
|
|
1709
|
+
"path": "dist/chunks/ar.4ZFBST5B.js",
|
|
1659
1710
|
"declarations": [
|
|
1660
1711
|
{
|
|
1661
1712
|
"kind": "variable",
|
|
@@ -1669,14 +1720,14 @@
|
|
|
1669
1720
|
"name": "templates",
|
|
1670
1721
|
"declaration": {
|
|
1671
1722
|
"name": "o",
|
|
1672
|
-
"module": "dist/chunks/ar.
|
|
1723
|
+
"module": "dist/chunks/ar.4ZFBST5B.js"
|
|
1673
1724
|
}
|
|
1674
1725
|
}
|
|
1675
1726
|
]
|
|
1676
1727
|
},
|
|
1677
1728
|
{
|
|
1678
1729
|
"kind": "javascript-module",
|
|
1679
|
-
"path": "dist/chunks/bg.
|
|
1730
|
+
"path": "dist/chunks/bg.A6DFGUKU.js",
|
|
1680
1731
|
"declarations": [
|
|
1681
1732
|
{
|
|
1682
1733
|
"kind": "variable",
|
|
@@ -1690,14 +1741,14 @@
|
|
|
1690
1741
|
"name": "templates",
|
|
1691
1742
|
"declaration": {
|
|
1692
1743
|
"name": "o",
|
|
1693
|
-
"module": "dist/chunks/bg.
|
|
1744
|
+
"module": "dist/chunks/bg.A6DFGUKU.js"
|
|
1694
1745
|
}
|
|
1695
1746
|
}
|
|
1696
1747
|
]
|
|
1697
1748
|
},
|
|
1698
1749
|
{
|
|
1699
1750
|
"kind": "javascript-module",
|
|
1700
|
-
"path": "dist/chunks/ca.
|
|
1751
|
+
"path": "dist/chunks/ca.3MVWILFG.js",
|
|
1701
1752
|
"declarations": [
|
|
1702
1753
|
{
|
|
1703
1754
|
"kind": "variable",
|
|
@@ -1711,7 +1762,7 @@
|
|
|
1711
1762
|
"name": "templates",
|
|
1712
1763
|
"declaration": {
|
|
1713
1764
|
"name": "i",
|
|
1714
|
-
"module": "dist/chunks/ca.
|
|
1765
|
+
"module": "dist/chunks/ca.3MVWILFG.js"
|
|
1715
1766
|
}
|
|
1716
1767
|
}
|
|
1717
1768
|
]
|
|
@@ -1742,52 +1793,79 @@
|
|
|
1742
1793
|
},
|
|
1743
1794
|
{
|
|
1744
1795
|
"kind": "javascript-module",
|
|
1745
|
-
"path": "dist/chunks/chunk.
|
|
1796
|
+
"path": "dist/chunks/chunk.QNO3CTH5.js",
|
|
1746
1797
|
"declarations": [
|
|
1747
1798
|
{
|
|
1748
1799
|
"kind": "function",
|
|
1749
|
-
"name": "
|
|
1800
|
+
"name": "p",
|
|
1750
1801
|
"parameters": [
|
|
1751
1802
|
{
|
|
1752
|
-
"name": "
|
|
1803
|
+
"name": "b"
|
|
1753
1804
|
}
|
|
1754
1805
|
]
|
|
1755
1806
|
},
|
|
1756
1807
|
{
|
|
1757
1808
|
"kind": "variable",
|
|
1758
|
-
"name": "
|
|
1759
|
-
"default": "
|
|
1809
|
+
"name": "c",
|
|
1810
|
+
"default": "b[a]"
|
|
1760
1811
|
},
|
|
1761
1812
|
{
|
|
1762
1813
|
"kind": "function",
|
|
1763
|
-
"name": "
|
|
1814
|
+
"name": "q",
|
|
1764
1815
|
"parameters": [
|
|
1765
1816
|
{
|
|
1766
|
-
"name": "
|
|
1817
|
+
"name": "b"
|
|
1767
1818
|
},
|
|
1768
1819
|
{
|
|
1769
1820
|
"name": "a"
|
|
1770
|
-
}
|
|
1821
|
+
}
|
|
1822
|
+
]
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"kind": "function",
|
|
1826
|
+
"name": "r",
|
|
1827
|
+
"parameters": [
|
|
1771
1828
|
{
|
|
1772
1829
|
"name": "b"
|
|
1773
1830
|
},
|
|
1774
1831
|
{
|
|
1775
|
-
"name": "
|
|
1832
|
+
"name": "a"
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"name": "c"
|
|
1776
1836
|
}
|
|
1777
1837
|
]
|
|
1778
1838
|
},
|
|
1779
1839
|
{
|
|
1780
1840
|
"kind": "function",
|
|
1781
|
-
"name": "
|
|
1841
|
+
"name": "s",
|
|
1782
1842
|
"parameters": [
|
|
1783
1843
|
{
|
|
1784
|
-
"name": "
|
|
1844
|
+
"name": "b"
|
|
1785
1845
|
},
|
|
1786
1846
|
{
|
|
1787
1847
|
"name": "a"
|
|
1788
1848
|
},
|
|
1789
1849
|
{
|
|
1790
|
-
"name": "
|
|
1850
|
+
"name": "c"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"name": "e"
|
|
1854
|
+
}
|
|
1855
|
+
]
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"kind": "function",
|
|
1859
|
+
"name": "t",
|
|
1860
|
+
"parameters": [
|
|
1861
|
+
{
|
|
1862
|
+
"name": "b"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "a"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"name": "c"
|
|
1791
1869
|
}
|
|
1792
1870
|
]
|
|
1793
1871
|
}
|
|
@@ -1797,31 +1875,47 @@
|
|
|
1797
1875
|
"kind": "js",
|
|
1798
1876
|
"name": "a",
|
|
1799
1877
|
"declaration": {
|
|
1800
|
-
"name": "
|
|
1801
|
-
"module": "dist/chunks/chunk.
|
|
1878
|
+
"name": "p",
|
|
1879
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1802
1880
|
}
|
|
1803
1881
|
},
|
|
1804
1882
|
{
|
|
1805
1883
|
"kind": "js",
|
|
1806
1884
|
"name": "b",
|
|
1807
1885
|
"declaration": {
|
|
1808
|
-
"name": "
|
|
1809
|
-
"module": "dist/chunks/chunk.
|
|
1886
|
+
"name": "q",
|
|
1887
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1810
1888
|
}
|
|
1811
1889
|
},
|
|
1812
1890
|
{
|
|
1813
1891
|
"kind": "js",
|
|
1814
1892
|
"name": "c",
|
|
1815
1893
|
"declaration": {
|
|
1816
|
-
"name": "
|
|
1817
|
-
"module": "dist/chunks/chunk.
|
|
1894
|
+
"name": "r",
|
|
1895
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"kind": "js",
|
|
1900
|
+
"name": "d",
|
|
1901
|
+
"declaration": {
|
|
1902
|
+
"name": "s",
|
|
1903
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "js",
|
|
1908
|
+
"name": "e",
|
|
1909
|
+
"declaration": {
|
|
1910
|
+
"name": "t",
|
|
1911
|
+
"module": "dist/chunks/chunk.QNO3CTH5.js"
|
|
1818
1912
|
}
|
|
1819
1913
|
}
|
|
1820
1914
|
]
|
|
1821
1915
|
},
|
|
1822
1916
|
{
|
|
1823
1917
|
"kind": "javascript-module",
|
|
1824
|
-
"path": "dist/chunks/cs.
|
|
1918
|
+
"path": "dist/chunks/cs.INYY7XZR.js",
|
|
1825
1919
|
"declarations": [
|
|
1826
1920
|
{
|
|
1827
1921
|
"kind": "variable",
|
|
@@ -1835,14 +1929,14 @@
|
|
|
1835
1929
|
"name": "templates",
|
|
1836
1930
|
"declaration": {
|
|
1837
1931
|
"name": "n",
|
|
1838
|
-
"module": "dist/chunks/cs.
|
|
1932
|
+
"module": "dist/chunks/cs.INYY7XZR.js"
|
|
1839
1933
|
}
|
|
1840
1934
|
}
|
|
1841
1935
|
]
|
|
1842
1936
|
},
|
|
1843
1937
|
{
|
|
1844
1938
|
"kind": "javascript-module",
|
|
1845
|
-
"path": "dist/chunks/da.
|
|
1939
|
+
"path": "dist/chunks/da.Y5IIDRC3.js",
|
|
1846
1940
|
"declarations": [
|
|
1847
1941
|
{
|
|
1848
1942
|
"kind": "variable",
|
|
@@ -1856,14 +1950,14 @@
|
|
|
1856
1950
|
"name": "templates",
|
|
1857
1951
|
"declaration": {
|
|
1858
1952
|
"name": "a",
|
|
1859
|
-
"module": "dist/chunks/da.
|
|
1953
|
+
"module": "dist/chunks/da.Y5IIDRC3.js"
|
|
1860
1954
|
}
|
|
1861
1955
|
}
|
|
1862
1956
|
]
|
|
1863
1957
|
},
|
|
1864
1958
|
{
|
|
1865
1959
|
"kind": "javascript-module",
|
|
1866
|
-
"path": "dist/chunks/de.
|
|
1960
|
+
"path": "dist/chunks/de.JZT46DAB.js",
|
|
1867
1961
|
"declarations": [
|
|
1868
1962
|
{
|
|
1869
1963
|
"kind": "variable",
|
|
@@ -1877,14 +1971,14 @@
|
|
|
1877
1971
|
"name": "templates",
|
|
1878
1972
|
"declaration": {
|
|
1879
1973
|
"name": "t",
|
|
1880
|
-
"module": "dist/chunks/de.
|
|
1974
|
+
"module": "dist/chunks/de.JZT46DAB.js"
|
|
1881
1975
|
}
|
|
1882
1976
|
}
|
|
1883
1977
|
]
|
|
1884
1978
|
},
|
|
1885
1979
|
{
|
|
1886
1980
|
"kind": "javascript-module",
|
|
1887
|
-
"path": "dist/chunks/el.
|
|
1981
|
+
"path": "dist/chunks/el.FJQOSK4N.js",
|
|
1888
1982
|
"declarations": [
|
|
1889
1983
|
{
|
|
1890
1984
|
"kind": "variable",
|
|
@@ -1898,14 +1992,14 @@
|
|
|
1898
1992
|
"name": "templates",
|
|
1899
1993
|
"declaration": {
|
|
1900
1994
|
"name": "o",
|
|
1901
|
-
"module": "dist/chunks/el.
|
|
1995
|
+
"module": "dist/chunks/el.FJQOSK4N.js"
|
|
1902
1996
|
}
|
|
1903
1997
|
}
|
|
1904
1998
|
]
|
|
1905
1999
|
},
|
|
1906
2000
|
{
|
|
1907
2001
|
"kind": "javascript-module",
|
|
1908
|
-
"path": "dist/chunks/en-GB.
|
|
2002
|
+
"path": "dist/chunks/en-GB.TL522NMU.js",
|
|
1909
2003
|
"declarations": [
|
|
1910
2004
|
{
|
|
1911
2005
|
"kind": "variable",
|
|
@@ -1919,14 +2013,14 @@
|
|
|
1919
2013
|
"name": "templates",
|
|
1920
2014
|
"declaration": {
|
|
1921
2015
|
"name": "o",
|
|
1922
|
-
"module": "dist/chunks/en-GB.
|
|
2016
|
+
"module": "dist/chunks/en-GB.TL522NMU.js"
|
|
1923
2017
|
}
|
|
1924
2018
|
}
|
|
1925
2019
|
]
|
|
1926
2020
|
},
|
|
1927
2021
|
{
|
|
1928
2022
|
"kind": "javascript-module",
|
|
1929
|
-
"path": "dist/chunks/en.
|
|
2023
|
+
"path": "dist/chunks/en.JFPWSECQ.js",
|
|
1930
2024
|
"declarations": [
|
|
1931
2025
|
{
|
|
1932
2026
|
"kind": "variable",
|
|
@@ -1940,14 +2034,14 @@
|
|
|
1940
2034
|
"name": "templates",
|
|
1941
2035
|
"declaration": {
|
|
1942
2036
|
"name": "o",
|
|
1943
|
-
"module": "dist/chunks/en.
|
|
2037
|
+
"module": "dist/chunks/en.JFPWSECQ.js"
|
|
1944
2038
|
}
|
|
1945
2039
|
}
|
|
1946
2040
|
]
|
|
1947
2041
|
},
|
|
1948
2042
|
{
|
|
1949
2043
|
"kind": "javascript-module",
|
|
1950
|
-
"path": "dist/chunks/es-AR.
|
|
2044
|
+
"path": "dist/chunks/es-AR.GBZW2HPG.js",
|
|
1951
2045
|
"declarations": [
|
|
1952
2046
|
{
|
|
1953
2047
|
"kind": "variable",
|
|
@@ -1961,14 +2055,14 @@
|
|
|
1961
2055
|
"name": "templates",
|
|
1962
2056
|
"declaration": {
|
|
1963
2057
|
"name": "i",
|
|
1964
|
-
"module": "dist/chunks/es-AR.
|
|
2058
|
+
"module": "dist/chunks/es-AR.GBZW2HPG.js"
|
|
1965
2059
|
}
|
|
1966
2060
|
}
|
|
1967
2061
|
]
|
|
1968
2062
|
},
|
|
1969
2063
|
{
|
|
1970
2064
|
"kind": "javascript-module",
|
|
1971
|
-
"path": "dist/chunks/es-MX.
|
|
2065
|
+
"path": "dist/chunks/es-MX.NFJ7HXSV.js",
|
|
1972
2066
|
"declarations": [
|
|
1973
2067
|
{
|
|
1974
2068
|
"kind": "variable",
|
|
@@ -1982,14 +2076,14 @@
|
|
|
1982
2076
|
"name": "templates",
|
|
1983
2077
|
"declaration": {
|
|
1984
2078
|
"name": "t",
|
|
1985
|
-
"module": "dist/chunks/es-MX.
|
|
2079
|
+
"module": "dist/chunks/es-MX.NFJ7HXSV.js"
|
|
1986
2080
|
}
|
|
1987
2081
|
}
|
|
1988
2082
|
]
|
|
1989
2083
|
},
|
|
1990
2084
|
{
|
|
1991
2085
|
"kind": "javascript-module",
|
|
1992
|
-
"path": "dist/chunks/es.
|
|
2086
|
+
"path": "dist/chunks/es.FX4YBDVU.js",
|
|
1993
2087
|
"declarations": [
|
|
1994
2088
|
{
|
|
1995
2089
|
"kind": "variable",
|
|
@@ -2003,14 +2097,14 @@
|
|
|
2003
2097
|
"name": "templates",
|
|
2004
2098
|
"declaration": {
|
|
2005
2099
|
"name": "i",
|
|
2006
|
-
"module": "dist/chunks/es.
|
|
2100
|
+
"module": "dist/chunks/es.FX4YBDVU.js"
|
|
2007
2101
|
}
|
|
2008
2102
|
}
|
|
2009
2103
|
]
|
|
2010
2104
|
},
|
|
2011
2105
|
{
|
|
2012
2106
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "dist/chunks/et-EE.
|
|
2107
|
+
"path": "dist/chunks/et-EE.JZD334EI.js",
|
|
2014
2108
|
"declarations": [
|
|
2015
2109
|
{
|
|
2016
2110
|
"kind": "variable",
|
|
@@ -2024,14 +2118,14 @@
|
|
|
2024
2118
|
"name": "templates",
|
|
2025
2119
|
"declaration": {
|
|
2026
2120
|
"name": "r",
|
|
2027
|
-
"module": "dist/chunks/et-EE.
|
|
2121
|
+
"module": "dist/chunks/et-EE.JZD334EI.js"
|
|
2028
2122
|
}
|
|
2029
2123
|
}
|
|
2030
2124
|
]
|
|
2031
2125
|
},
|
|
2032
2126
|
{
|
|
2033
2127
|
"kind": "javascript-module",
|
|
2034
|
-
"path": "dist/chunks/fi-FI.
|
|
2128
|
+
"path": "dist/chunks/fi-FI.SHTM3UQK.js",
|
|
2035
2129
|
"declarations": [
|
|
2036
2130
|
{
|
|
2037
2131
|
"kind": "variable",
|
|
@@ -2045,14 +2139,14 @@
|
|
|
2045
2139
|
"name": "templates",
|
|
2046
2140
|
"declaration": {
|
|
2047
2141
|
"name": "n",
|
|
2048
|
-
"module": "dist/chunks/fi-FI.
|
|
2142
|
+
"module": "dist/chunks/fi-FI.SHTM3UQK.js"
|
|
2049
2143
|
}
|
|
2050
2144
|
}
|
|
2051
2145
|
]
|
|
2052
2146
|
},
|
|
2053
2147
|
{
|
|
2054
2148
|
"kind": "javascript-module",
|
|
2055
|
-
"path": "dist/chunks/fr.
|
|
2149
|
+
"path": "dist/chunks/fr.MZYBSJWU.js",
|
|
2056
2150
|
"declarations": [
|
|
2057
2151
|
{
|
|
2058
2152
|
"kind": "variable",
|
|
@@ -2066,14 +2160,14 @@
|
|
|
2066
2160
|
"name": "templates",
|
|
2067
2161
|
"declaration": {
|
|
2068
2162
|
"name": "i",
|
|
2069
|
-
"module": "dist/chunks/fr.
|
|
2163
|
+
"module": "dist/chunks/fr.MZYBSJWU.js"
|
|
2070
2164
|
}
|
|
2071
2165
|
}
|
|
2072
2166
|
]
|
|
2073
2167
|
},
|
|
2074
2168
|
{
|
|
2075
2169
|
"kind": "javascript-module",
|
|
2076
|
-
"path": "dist/chunks/he.
|
|
2170
|
+
"path": "dist/chunks/he.BQXGQQ4P.js",
|
|
2077
2171
|
"declarations": [
|
|
2078
2172
|
{
|
|
2079
2173
|
"kind": "variable",
|
|
@@ -2087,14 +2181,14 @@
|
|
|
2087
2181
|
"name": "templates",
|
|
2088
2182
|
"declaration": {
|
|
2089
2183
|
"name": "o",
|
|
2090
|
-
"module": "dist/chunks/he.
|
|
2184
|
+
"module": "dist/chunks/he.BQXGQQ4P.js"
|
|
2091
2185
|
}
|
|
2092
2186
|
}
|
|
2093
2187
|
]
|
|
2094
2188
|
},
|
|
2095
2189
|
{
|
|
2096
2190
|
"kind": "javascript-module",
|
|
2097
|
-
"path": "dist/chunks/hr.
|
|
2191
|
+
"path": "dist/chunks/hr.EK5WNO4N.js",
|
|
2098
2192
|
"declarations": [
|
|
2099
2193
|
{
|
|
2100
2194
|
"kind": "variable",
|
|
@@ -2108,14 +2202,14 @@
|
|
|
2108
2202
|
"name": "templates",
|
|
2109
2203
|
"declaration": {
|
|
2110
2204
|
"name": "t",
|
|
2111
|
-
"module": "dist/chunks/hr.
|
|
2205
|
+
"module": "dist/chunks/hr.EK5WNO4N.js"
|
|
2112
2206
|
}
|
|
2113
2207
|
}
|
|
2114
2208
|
]
|
|
2115
2209
|
},
|
|
2116
2210
|
{
|
|
2117
2211
|
"kind": "javascript-module",
|
|
2118
|
-
"path": "dist/chunks/hu.
|
|
2212
|
+
"path": "dist/chunks/hu.N2BVXVWY.js",
|
|
2119
2213
|
"declarations": [
|
|
2120
2214
|
{
|
|
2121
2215
|
"kind": "variable",
|
|
@@ -2129,14 +2223,14 @@
|
|
|
2129
2223
|
"name": "templates",
|
|
2130
2224
|
"declaration": {
|
|
2131
2225
|
"name": "s",
|
|
2132
|
-
"module": "dist/chunks/hu.
|
|
2226
|
+
"module": "dist/chunks/hu.N2BVXVWY.js"
|
|
2133
2227
|
}
|
|
2134
2228
|
}
|
|
2135
2229
|
]
|
|
2136
2230
|
},
|
|
2137
2231
|
{
|
|
2138
2232
|
"kind": "javascript-module",
|
|
2139
|
-
"path": "dist/chunks/id.
|
|
2233
|
+
"path": "dist/chunks/id.IJ37WK5P.js",
|
|
2140
2234
|
"declarations": [
|
|
2141
2235
|
{
|
|
2142
2236
|
"kind": "variable",
|
|
@@ -2150,14 +2244,14 @@
|
|
|
2150
2244
|
"name": "templates",
|
|
2151
2245
|
"declaration": {
|
|
2152
2246
|
"name": "r",
|
|
2153
|
-
"module": "dist/chunks/id.
|
|
2247
|
+
"module": "dist/chunks/id.IJ37WK5P.js"
|
|
2154
2248
|
}
|
|
2155
2249
|
}
|
|
2156
2250
|
]
|
|
2157
2251
|
},
|
|
2158
2252
|
{
|
|
2159
2253
|
"kind": "javascript-module",
|
|
2160
|
-
"path": "dist/chunks/it.
|
|
2254
|
+
"path": "dist/chunks/it.2ZUPJDRP.js",
|
|
2161
2255
|
"declarations": [
|
|
2162
2256
|
{
|
|
2163
2257
|
"kind": "variable",
|
|
@@ -2171,14 +2265,14 @@
|
|
|
2171
2265
|
"name": "templates",
|
|
2172
2266
|
"declaration": {
|
|
2173
2267
|
"name": "r",
|
|
2174
|
-
"module": "dist/chunks/it.
|
|
2268
|
+
"module": "dist/chunks/it.2ZUPJDRP.js"
|
|
2175
2269
|
}
|
|
2176
2270
|
}
|
|
2177
2271
|
]
|
|
2178
2272
|
},
|
|
2179
2273
|
{
|
|
2180
2274
|
"kind": "javascript-module",
|
|
2181
|
-
"path": "dist/chunks/ja.
|
|
2275
|
+
"path": "dist/chunks/ja.BNLF6BZT.js",
|
|
2182
2276
|
"declarations": [
|
|
2183
2277
|
{
|
|
2184
2278
|
"kind": "variable",
|
|
@@ -2192,14 +2286,14 @@
|
|
|
2192
2286
|
"name": "templates",
|
|
2193
2287
|
"declaration": {
|
|
2194
2288
|
"name": "o",
|
|
2195
|
-
"module": "dist/chunks/ja.
|
|
2289
|
+
"module": "dist/chunks/ja.BNLF6BZT.js"
|
|
2196
2290
|
}
|
|
2197
2291
|
}
|
|
2198
2292
|
]
|
|
2199
2293
|
},
|
|
2200
2294
|
{
|
|
2201
2295
|
"kind": "javascript-module",
|
|
2202
|
-
"path": "dist/chunks/ko.
|
|
2296
|
+
"path": "dist/chunks/ko.YJAZTBEF.js",
|
|
2203
2297
|
"declarations": [
|
|
2204
2298
|
{
|
|
2205
2299
|
"kind": "variable",
|
|
@@ -2213,14 +2307,14 @@
|
|
|
2213
2307
|
"name": "templates",
|
|
2214
2308
|
"declaration": {
|
|
2215
2309
|
"name": "o",
|
|
2216
|
-
"module": "dist/chunks/ko.
|
|
2310
|
+
"module": "dist/chunks/ko.YJAZTBEF.js"
|
|
2217
2311
|
}
|
|
2218
2312
|
}
|
|
2219
2313
|
]
|
|
2220
2314
|
},
|
|
2221
2315
|
{
|
|
2222
2316
|
"kind": "javascript-module",
|
|
2223
|
-
"path": "dist/chunks/lt-LT.
|
|
2317
|
+
"path": "dist/chunks/lt-LT.GOVUI3KD.js",
|
|
2224
2318
|
"declarations": [
|
|
2225
2319
|
{
|
|
2226
2320
|
"kind": "variable",
|
|
@@ -2234,14 +2328,14 @@
|
|
|
2234
2328
|
"name": "templates",
|
|
2235
2329
|
"declaration": {
|
|
2236
2330
|
"name": "t",
|
|
2237
|
-
"module": "dist/chunks/lt-LT.
|
|
2331
|
+
"module": "dist/chunks/lt-LT.GOVUI3KD.js"
|
|
2238
2332
|
}
|
|
2239
2333
|
}
|
|
2240
2334
|
]
|
|
2241
2335
|
},
|
|
2242
2336
|
{
|
|
2243
2337
|
"kind": "javascript-module",
|
|
2244
|
-
"path": "dist/chunks/lt.
|
|
2338
|
+
"path": "dist/chunks/lt.IPLRYI7A.js",
|
|
2245
2339
|
"declarations": [
|
|
2246
2340
|
{
|
|
2247
2341
|
"kind": "variable",
|
|
@@ -2255,14 +2349,14 @@
|
|
|
2255
2349
|
"name": "templates",
|
|
2256
2350
|
"declaration": {
|
|
2257
2351
|
"name": "t",
|
|
2258
|
-
"module": "dist/chunks/lt.
|
|
2352
|
+
"module": "dist/chunks/lt.IPLRYI7A.js"
|
|
2259
2353
|
}
|
|
2260
2354
|
}
|
|
2261
2355
|
]
|
|
2262
2356
|
},
|
|
2263
2357
|
{
|
|
2264
2358
|
"kind": "javascript-module",
|
|
2265
|
-
"path": "dist/chunks/lv-LV.
|
|
2359
|
+
"path": "dist/chunks/lv-LV.EA76F4DL.js",
|
|
2266
2360
|
"declarations": [
|
|
2267
2361
|
{
|
|
2268
2362
|
"kind": "variable",
|
|
@@ -2276,14 +2370,14 @@
|
|
|
2276
2370
|
"name": "templates",
|
|
2277
2371
|
"declaration": {
|
|
2278
2372
|
"name": "t",
|
|
2279
|
-
"module": "dist/chunks/lv-LV.
|
|
2373
|
+
"module": "dist/chunks/lv-LV.EA76F4DL.js"
|
|
2280
2374
|
}
|
|
2281
2375
|
}
|
|
2282
2376
|
]
|
|
2283
2377
|
},
|
|
2284
2378
|
{
|
|
2285
2379
|
"kind": "javascript-module",
|
|
2286
|
-
"path": "dist/chunks/lv.
|
|
2380
|
+
"path": "dist/chunks/lv.I7E6LMWA.js",
|
|
2287
2381
|
"declarations": [
|
|
2288
2382
|
{
|
|
2289
2383
|
"kind": "variable",
|
|
@@ -2297,14 +2391,14 @@
|
|
|
2297
2391
|
"name": "templates",
|
|
2298
2392
|
"declaration": {
|
|
2299
2393
|
"name": "t",
|
|
2300
|
-
"module": "dist/chunks/lv.
|
|
2394
|
+
"module": "dist/chunks/lv.I7E6LMWA.js"
|
|
2301
2395
|
}
|
|
2302
2396
|
}
|
|
2303
2397
|
]
|
|
2304
2398
|
},
|
|
2305
2399
|
{
|
|
2306
2400
|
"kind": "javascript-module",
|
|
2307
|
-
"path": "dist/chunks/ms.
|
|
2401
|
+
"path": "dist/chunks/ms.6I2BVK63.js",
|
|
2308
2402
|
"declarations": [
|
|
2309
2403
|
{
|
|
2310
2404
|
"kind": "variable",
|
|
@@ -2318,14 +2412,14 @@
|
|
|
2318
2412
|
"name": "templates",
|
|
2319
2413
|
"declaration": {
|
|
2320
2414
|
"name": "i",
|
|
2321
|
-
"module": "dist/chunks/ms.
|
|
2415
|
+
"module": "dist/chunks/ms.6I2BVK63.js"
|
|
2322
2416
|
}
|
|
2323
2417
|
}
|
|
2324
2418
|
]
|
|
2325
2419
|
},
|
|
2326
2420
|
{
|
|
2327
2421
|
"kind": "javascript-module",
|
|
2328
|
-
"path": "dist/chunks/nb.
|
|
2422
|
+
"path": "dist/chunks/nb.BYMLE7EQ.js",
|
|
2329
2423
|
"declarations": [
|
|
2330
2424
|
{
|
|
2331
2425
|
"kind": "variable",
|
|
@@ -2339,14 +2433,14 @@
|
|
|
2339
2433
|
"name": "templates",
|
|
2340
2434
|
"declaration": {
|
|
2341
2435
|
"name": "a",
|
|
2342
|
-
"module": "dist/chunks/nb.
|
|
2436
|
+
"module": "dist/chunks/nb.BYMLE7EQ.js"
|
|
2343
2437
|
}
|
|
2344
2438
|
}
|
|
2345
2439
|
]
|
|
2346
2440
|
},
|
|
2347
2441
|
{
|
|
2348
2442
|
"kind": "javascript-module",
|
|
2349
|
-
"path": "dist/chunks/nl.
|
|
2443
|
+
"path": "dist/chunks/nl.QOSIJQZE.js",
|
|
2350
2444
|
"declarations": [
|
|
2351
2445
|
{
|
|
2352
2446
|
"kind": "variable",
|
|
@@ -2360,14 +2454,14 @@
|
|
|
2360
2454
|
"name": "templates",
|
|
2361
2455
|
"declaration": {
|
|
2362
2456
|
"name": "n",
|
|
2363
|
-
"module": "dist/chunks/nl.
|
|
2457
|
+
"module": "dist/chunks/nl.QOSIJQZE.js"
|
|
2364
2458
|
}
|
|
2365
2459
|
}
|
|
2366
2460
|
]
|
|
2367
2461
|
},
|
|
2368
2462
|
{
|
|
2369
2463
|
"kind": "javascript-module",
|
|
2370
|
-
"path": "dist/chunks/nl_NL.
|
|
2464
|
+
"path": "dist/chunks/nl_NL.DVZWMQJN.js",
|
|
2371
2465
|
"declarations": [
|
|
2372
2466
|
{
|
|
2373
2467
|
"kind": "variable",
|
|
@@ -2381,14 +2475,14 @@
|
|
|
2381
2475
|
"name": "templates",
|
|
2382
2476
|
"declaration": {
|
|
2383
2477
|
"name": "n",
|
|
2384
|
-
"module": "dist/chunks/nl_NL.
|
|
2478
|
+
"module": "dist/chunks/nl_NL.DVZWMQJN.js"
|
|
2385
2479
|
}
|
|
2386
2480
|
}
|
|
2387
2481
|
]
|
|
2388
2482
|
},
|
|
2389
2483
|
{
|
|
2390
2484
|
"kind": "javascript-module",
|
|
2391
|
-
"path": "dist/chunks/pl.
|
|
2485
|
+
"path": "dist/chunks/pl.VK5CNTV3.js",
|
|
2392
2486
|
"declarations": [
|
|
2393
2487
|
{
|
|
2394
2488
|
"kind": "variable",
|
|
@@ -2402,14 +2496,14 @@
|
|
|
2402
2496
|
"name": "templates",
|
|
2403
2497
|
"declaration": {
|
|
2404
2498
|
"name": "i",
|
|
2405
|
-
"module": "dist/chunks/pl.
|
|
2499
|
+
"module": "dist/chunks/pl.VK5CNTV3.js"
|
|
2406
2500
|
}
|
|
2407
2501
|
}
|
|
2408
2502
|
]
|
|
2409
2503
|
},
|
|
2410
2504
|
{
|
|
2411
2505
|
"kind": "javascript-module",
|
|
2412
|
-
"path": "dist/chunks/pt-BR.
|
|
2506
|
+
"path": "dist/chunks/pt-BR.22GYWGY5.js",
|
|
2413
2507
|
"declarations": [
|
|
2414
2508
|
{
|
|
2415
2509
|
"kind": "variable",
|
|
@@ -2423,14 +2517,14 @@
|
|
|
2423
2517
|
"name": "templates",
|
|
2424
2518
|
"declaration": {
|
|
2425
2519
|
"name": "t",
|
|
2426
|
-
"module": "dist/chunks/pt-BR.
|
|
2520
|
+
"module": "dist/chunks/pt-BR.22GYWGY5.js"
|
|
2427
2521
|
}
|
|
2428
2522
|
}
|
|
2429
2523
|
]
|
|
2430
2524
|
},
|
|
2431
2525
|
{
|
|
2432
2526
|
"kind": "javascript-module",
|
|
2433
|
-
"path": "dist/chunks/pt.
|
|
2527
|
+
"path": "dist/chunks/pt.L2PBSEBD.js",
|
|
2434
2528
|
"declarations": [
|
|
2435
2529
|
{
|
|
2436
2530
|
"kind": "variable",
|
|
@@ -2444,14 +2538,14 @@
|
|
|
2444
2538
|
"name": "templates",
|
|
2445
2539
|
"declaration": {
|
|
2446
2540
|
"name": "t",
|
|
2447
|
-
"module": "dist/chunks/pt.
|
|
2541
|
+
"module": "dist/chunks/pt.L2PBSEBD.js"
|
|
2448
2542
|
}
|
|
2449
2543
|
}
|
|
2450
2544
|
]
|
|
2451
2545
|
},
|
|
2452
2546
|
{
|
|
2453
2547
|
"kind": "javascript-module",
|
|
2454
|
-
"path": "dist/chunks/ro.
|
|
2548
|
+
"path": "dist/chunks/ro.VFIM4IS3.js",
|
|
2455
2549
|
"declarations": [
|
|
2456
2550
|
{
|
|
2457
2551
|
"kind": "variable",
|
|
@@ -2465,14 +2559,14 @@
|
|
|
2465
2559
|
"name": "templates",
|
|
2466
2560
|
"declaration": {
|
|
2467
2561
|
"name": "i",
|
|
2468
|
-
"module": "dist/chunks/ro.
|
|
2562
|
+
"module": "dist/chunks/ro.VFIM4IS3.js"
|
|
2469
2563
|
}
|
|
2470
2564
|
}
|
|
2471
2565
|
]
|
|
2472
2566
|
},
|
|
2473
2567
|
{
|
|
2474
2568
|
"kind": "javascript-module",
|
|
2475
|
-
"path": "dist/chunks/ru.
|
|
2569
|
+
"path": "dist/chunks/ru.VLLE4DKK.js",
|
|
2476
2570
|
"declarations": [
|
|
2477
2571
|
{
|
|
2478
2572
|
"kind": "variable",
|
|
@@ -2486,14 +2580,14 @@
|
|
|
2486
2580
|
"name": "templates",
|
|
2487
2581
|
"declaration": {
|
|
2488
2582
|
"name": "o",
|
|
2489
|
-
"module": "dist/chunks/ru.
|
|
2583
|
+
"module": "dist/chunks/ru.VLLE4DKK.js"
|
|
2490
2584
|
}
|
|
2491
2585
|
}
|
|
2492
2586
|
]
|
|
2493
2587
|
},
|
|
2494
2588
|
{
|
|
2495
2589
|
"kind": "javascript-module",
|
|
2496
|
-
"path": "dist/chunks/sk.
|
|
2590
|
+
"path": "dist/chunks/sk.JALTDVLO.js",
|
|
2497
2591
|
"declarations": [
|
|
2498
2592
|
{
|
|
2499
2593
|
"kind": "variable",
|
|
@@ -2507,14 +2601,14 @@
|
|
|
2507
2601
|
"name": "templates",
|
|
2508
2602
|
"declaration": {
|
|
2509
2603
|
"name": "r",
|
|
2510
|
-
"module": "dist/chunks/sk.
|
|
2604
|
+
"module": "dist/chunks/sk.JALTDVLO.js"
|
|
2511
2605
|
}
|
|
2512
2606
|
}
|
|
2513
2607
|
]
|
|
2514
2608
|
},
|
|
2515
2609
|
{
|
|
2516
2610
|
"kind": "javascript-module",
|
|
2517
|
-
"path": "dist/chunks/sl.
|
|
2611
|
+
"path": "dist/chunks/sl.PQOCETM2.js",
|
|
2518
2612
|
"declarations": [
|
|
2519
2613
|
{
|
|
2520
2614
|
"kind": "variable",
|
|
@@ -2528,14 +2622,14 @@
|
|
|
2528
2622
|
"name": "templates",
|
|
2529
2623
|
"declaration": {
|
|
2530
2624
|
"name": "r",
|
|
2531
|
-
"module": "dist/chunks/sl.
|
|
2625
|
+
"module": "dist/chunks/sl.PQOCETM2.js"
|
|
2532
2626
|
}
|
|
2533
2627
|
}
|
|
2534
2628
|
]
|
|
2535
2629
|
},
|
|
2536
2630
|
{
|
|
2537
2631
|
"kind": "javascript-module",
|
|
2538
|
-
"path": "dist/chunks/sr-RS.
|
|
2632
|
+
"path": "dist/chunks/sr-RS.RGO57OCW.js",
|
|
2539
2633
|
"declarations": [
|
|
2540
2634
|
{
|
|
2541
2635
|
"kind": "variable",
|
|
@@ -2549,14 +2643,14 @@
|
|
|
2549
2643
|
"name": "templates",
|
|
2550
2644
|
"declaration": {
|
|
2551
2645
|
"name": "o",
|
|
2552
|
-
"module": "dist/chunks/sr-RS.
|
|
2646
|
+
"module": "dist/chunks/sr-RS.RGO57OCW.js"
|
|
2553
2647
|
}
|
|
2554
2648
|
}
|
|
2555
2649
|
]
|
|
2556
2650
|
},
|
|
2557
2651
|
{
|
|
2558
2652
|
"kind": "javascript-module",
|
|
2559
|
-
"path": "dist/chunks/sv.
|
|
2653
|
+
"path": "dist/chunks/sv.FQJP73FF.js",
|
|
2560
2654
|
"declarations": [
|
|
2561
2655
|
{
|
|
2562
2656
|
"kind": "variable",
|
|
@@ -2570,14 +2664,14 @@
|
|
|
2570
2664
|
"name": "templates",
|
|
2571
2665
|
"declaration": {
|
|
2572
2666
|
"name": "n",
|
|
2573
|
-
"module": "dist/chunks/sv.
|
|
2667
|
+
"module": "dist/chunks/sv.FQJP73FF.js"
|
|
2574
2668
|
}
|
|
2575
2669
|
}
|
|
2576
2670
|
]
|
|
2577
2671
|
},
|
|
2578
2672
|
{
|
|
2579
2673
|
"kind": "javascript-module",
|
|
2580
|
-
"path": "dist/chunks/th.
|
|
2674
|
+
"path": "dist/chunks/th.QYA26J2E.js",
|
|
2581
2675
|
"declarations": [
|
|
2582
2676
|
{
|
|
2583
2677
|
"kind": "variable",
|
|
@@ -2591,14 +2685,14 @@
|
|
|
2591
2685
|
"name": "templates",
|
|
2592
2686
|
"declaration": {
|
|
2593
2687
|
"name": "o",
|
|
2594
|
-
"module": "dist/chunks/th.
|
|
2688
|
+
"module": "dist/chunks/th.QYA26J2E.js"
|
|
2595
2689
|
}
|
|
2596
2690
|
}
|
|
2597
2691
|
]
|
|
2598
2692
|
},
|
|
2599
2693
|
{
|
|
2600
2694
|
"kind": "javascript-module",
|
|
2601
|
-
"path": "dist/chunks/tr.
|
|
2695
|
+
"path": "dist/chunks/tr.5ZDAANBV.js",
|
|
2602
2696
|
"declarations": [
|
|
2603
2697
|
{
|
|
2604
2698
|
"kind": "variable",
|
|
@@ -2612,14 +2706,14 @@
|
|
|
2612
2706
|
"name": "templates",
|
|
2613
2707
|
"declaration": {
|
|
2614
2708
|
"name": "n",
|
|
2615
|
-
"module": "dist/chunks/tr.
|
|
2709
|
+
"module": "dist/chunks/tr.5ZDAANBV.js"
|
|
2616
2710
|
}
|
|
2617
2711
|
}
|
|
2618
2712
|
]
|
|
2619
2713
|
},
|
|
2620
2714
|
{
|
|
2621
2715
|
"kind": "javascript-module",
|
|
2622
|
-
"path": "dist/chunks/uk-UA.
|
|
2716
|
+
"path": "dist/chunks/uk-UA.FWQ7KVBB.js",
|
|
2623
2717
|
"declarations": [
|
|
2624
2718
|
{
|
|
2625
2719
|
"kind": "variable",
|
|
@@ -2633,14 +2727,14 @@
|
|
|
2633
2727
|
"name": "templates",
|
|
2634
2728
|
"declaration": {
|
|
2635
2729
|
"name": "o",
|
|
2636
|
-
"module": "dist/chunks/uk-UA.
|
|
2730
|
+
"module": "dist/chunks/uk-UA.FWQ7KVBB.js"
|
|
2637
2731
|
}
|
|
2638
2732
|
}
|
|
2639
2733
|
]
|
|
2640
2734
|
},
|
|
2641
2735
|
{
|
|
2642
2736
|
"kind": "javascript-module",
|
|
2643
|
-
"path": "dist/chunks/vi.
|
|
2737
|
+
"path": "dist/chunks/vi.GB6QZAMD.js",
|
|
2644
2738
|
"declarations": [
|
|
2645
2739
|
{
|
|
2646
2740
|
"kind": "variable",
|
|
@@ -2654,14 +2748,14 @@
|
|
|
2654
2748
|
"name": "templates",
|
|
2655
2749
|
"declaration": {
|
|
2656
2750
|
"name": "a",
|
|
2657
|
-
"module": "dist/chunks/vi.
|
|
2751
|
+
"module": "dist/chunks/vi.GB6QZAMD.js"
|
|
2658
2752
|
}
|
|
2659
2753
|
}
|
|
2660
2754
|
]
|
|
2661
2755
|
},
|
|
2662
2756
|
{
|
|
2663
2757
|
"kind": "javascript-module",
|
|
2664
|
-
"path": "dist/chunks/zf.
|
|
2758
|
+
"path": "dist/chunks/zf.LNP32XVM.js",
|
|
2665
2759
|
"declarations": [
|
|
2666
2760
|
{
|
|
2667
2761
|
"kind": "variable",
|
|
@@ -2675,14 +2769,14 @@
|
|
|
2675
2769
|
"name": "templates",
|
|
2676
2770
|
"declaration": {
|
|
2677
2771
|
"name": "a",
|
|
2678
|
-
"module": "dist/chunks/zf.
|
|
2772
|
+
"module": "dist/chunks/zf.LNP32XVM.js"
|
|
2679
2773
|
}
|
|
2680
2774
|
}
|
|
2681
2775
|
]
|
|
2682
2776
|
},
|
|
2683
2777
|
{
|
|
2684
2778
|
"kind": "javascript-module",
|
|
2685
|
-
"path": "dist/chunks/zh-CN.
|
|
2779
|
+
"path": "dist/chunks/zh-CN.OEA7I6ZA.js",
|
|
2686
2780
|
"declarations": [
|
|
2687
2781
|
{
|
|
2688
2782
|
"kind": "variable",
|
|
@@ -2696,14 +2790,14 @@
|
|
|
2696
2790
|
"name": "templates",
|
|
2697
2791
|
"declaration": {
|
|
2698
2792
|
"name": "o",
|
|
2699
|
-
"module": "dist/chunks/zh-CN.
|
|
2793
|
+
"module": "dist/chunks/zh-CN.OEA7I6ZA.js"
|
|
2700
2794
|
}
|
|
2701
2795
|
}
|
|
2702
2796
|
]
|
|
2703
2797
|
},
|
|
2704
2798
|
{
|
|
2705
2799
|
"kind": "javascript-module",
|
|
2706
|
-
"path": "dist/chunks/zh-HK.
|
|
2800
|
+
"path": "dist/chunks/zh-HK.OUXNL5ZM.js",
|
|
2707
2801
|
"declarations": [
|
|
2708
2802
|
{
|
|
2709
2803
|
"kind": "variable",
|
|
@@ -2717,14 +2811,14 @@
|
|
|
2717
2811
|
"name": "templates",
|
|
2718
2812
|
"declaration": {
|
|
2719
2813
|
"name": "o",
|
|
2720
|
-
"module": "dist/chunks/zh-HK.
|
|
2814
|
+
"module": "dist/chunks/zh-HK.OUXNL5ZM.js"
|
|
2721
2815
|
}
|
|
2722
2816
|
}
|
|
2723
2817
|
]
|
|
2724
2818
|
},
|
|
2725
2819
|
{
|
|
2726
2820
|
"kind": "javascript-module",
|
|
2727
|
-
"path": "dist/chunks/zh-TW.
|
|
2821
|
+
"path": "dist/chunks/zh-TW.C5STTOCA.js",
|
|
2728
2822
|
"declarations": [
|
|
2729
2823
|
{
|
|
2730
2824
|
"kind": "variable",
|
|
@@ -2738,62 +2832,7 @@
|
|
|
2738
2832
|
"name": "templates",
|
|
2739
2833
|
"declaration": {
|
|
2740
2834
|
"name": "o",
|
|
2741
|
-
"module": "dist/chunks/zh-TW.
|
|
2742
|
-
}
|
|
2743
|
-
}
|
|
2744
|
-
]
|
|
2745
|
-
},
|
|
2746
|
-
{
|
|
2747
|
-
"kind": "javascript-module",
|
|
2748
|
-
"path": "e2e/mocks/shared.ts",
|
|
2749
|
-
"declarations": [
|
|
2750
|
-
{
|
|
2751
|
-
"kind": "function",
|
|
2752
|
-
"name": "mockConfigurationCall",
|
|
2753
|
-
"parameters": [
|
|
2754
|
-
{
|
|
2755
|
-
"name": "page",
|
|
2756
|
-
"type": {
|
|
2757
|
-
"text": "Page"
|
|
2758
|
-
}
|
|
2759
|
-
},
|
|
2760
|
-
{
|
|
2761
|
-
"name": "config",
|
|
2762
|
-
"type": {
|
|
2763
|
-
"text": "unknown"
|
|
2764
|
-
}
|
|
2765
|
-
}
|
|
2766
|
-
]
|
|
2767
|
-
},
|
|
2768
|
-
{
|
|
2769
|
-
"kind": "function",
|
|
2770
|
-
"name": "mockDemoUrl",
|
|
2771
|
-
"parameters": [
|
|
2772
|
-
{
|
|
2773
|
-
"name": "primerCheckoutOptions",
|
|
2774
|
-
"optional": true,
|
|
2775
|
-
"type": {
|
|
2776
|
-
"text": "PrimerCheckoutOptions"
|
|
2777
|
-
}
|
|
2778
|
-
}
|
|
2779
|
-
]
|
|
2780
|
-
}
|
|
2781
|
-
],
|
|
2782
|
-
"exports": [
|
|
2783
|
-
{
|
|
2784
|
-
"kind": "js",
|
|
2785
|
-
"name": "mockConfigurationCall",
|
|
2786
|
-
"declaration": {
|
|
2787
|
-
"name": "mockConfigurationCall",
|
|
2788
|
-
"module": "e2e/mocks/shared.ts"
|
|
2789
|
-
}
|
|
2790
|
-
},
|
|
2791
|
-
{
|
|
2792
|
-
"kind": "js",
|
|
2793
|
-
"name": "mockDemoUrl",
|
|
2794
|
-
"declaration": {
|
|
2795
|
-
"name": "mockDemoUrl",
|
|
2796
|
-
"module": "e2e/mocks/shared.ts"
|
|
2835
|
+
"module": "dist/chunks/zh-TW.C5STTOCA.js"
|
|
2797
2836
|
}
|
|
2798
2837
|
}
|
|
2799
2838
|
]
|
|
@@ -7211,48 +7250,6 @@
|
|
|
7211
7250
|
}
|
|
7212
7251
|
]
|
|
7213
7252
|
},
|
|
7214
|
-
{
|
|
7215
|
-
"kind": "javascript-module",
|
|
7216
|
-
"path": "e2e/tests/sdkcore-true-tests/card-form-billing-address.spec.ts",
|
|
7217
|
-
"declarations": [],
|
|
7218
|
-
"exports": []
|
|
7219
|
-
},
|
|
7220
|
-
{
|
|
7221
|
-
"kind": "javascript-module",
|
|
7222
|
-
"path": "e2e/tests/sdkcore-true-tests/paypal.spec.ts",
|
|
7223
|
-
"declarations": [],
|
|
7224
|
-
"exports": []
|
|
7225
|
-
},
|
|
7226
|
-
{
|
|
7227
|
-
"kind": "javascript-module",
|
|
7228
|
-
"path": "e2e/tests/sdkcore-false-tests/card-3ds.spec.ts",
|
|
7229
|
-
"declarations": [],
|
|
7230
|
-
"exports": []
|
|
7231
|
-
},
|
|
7232
|
-
{
|
|
7233
|
-
"kind": "javascript-module",
|
|
7234
|
-
"path": "e2e/tests/sdkcore-false-tests/card-basic.spec.ts",
|
|
7235
|
-
"declarations": [],
|
|
7236
|
-
"exports": []
|
|
7237
|
-
},
|
|
7238
|
-
{
|
|
7239
|
-
"kind": "javascript-module",
|
|
7240
|
-
"path": "e2e/tests/sdkcore-false-tests/disabled-payments.spec.ts",
|
|
7241
|
-
"declarations": [],
|
|
7242
|
-
"exports": []
|
|
7243
|
-
},
|
|
7244
|
-
{
|
|
7245
|
-
"kind": "javascript-module",
|
|
7246
|
-
"path": "e2e/tests/sdkcore-false-tests/klarna.spec.ts",
|
|
7247
|
-
"declarations": [],
|
|
7248
|
-
"exports": []
|
|
7249
|
-
},
|
|
7250
|
-
{
|
|
7251
|
-
"kind": "javascript-module",
|
|
7252
|
-
"path": "e2e/tests/sdkcore-false-tests/vaulted-paypal.spec.ts",
|
|
7253
|
-
"declarations": [],
|
|
7254
|
-
"exports": []
|
|
7255
|
-
},
|
|
7256
7253
|
{
|
|
7257
7254
|
"kind": "javascript-module",
|
|
7258
7255
|
"path": "e2e/mocks/sdkcore-true/billing-address.ts",
|
|
@@ -7377,6 +7374,48 @@
|
|
|
7377
7374
|
}
|
|
7378
7375
|
]
|
|
7379
7376
|
},
|
|
7377
|
+
{
|
|
7378
|
+
"kind": "javascript-module",
|
|
7379
|
+
"path": "e2e/tests/sdkcore-false-tests/card-3ds.spec.ts",
|
|
7380
|
+
"declarations": [],
|
|
7381
|
+
"exports": []
|
|
7382
|
+
},
|
|
7383
|
+
{
|
|
7384
|
+
"kind": "javascript-module",
|
|
7385
|
+
"path": "e2e/tests/sdkcore-false-tests/card-basic.spec.ts",
|
|
7386
|
+
"declarations": [],
|
|
7387
|
+
"exports": []
|
|
7388
|
+
},
|
|
7389
|
+
{
|
|
7390
|
+
"kind": "javascript-module",
|
|
7391
|
+
"path": "e2e/tests/sdkcore-false-tests/disabled-payments.spec.ts",
|
|
7392
|
+
"declarations": [],
|
|
7393
|
+
"exports": []
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
"kind": "javascript-module",
|
|
7397
|
+
"path": "e2e/tests/sdkcore-false-tests/klarna.spec.ts",
|
|
7398
|
+
"declarations": [],
|
|
7399
|
+
"exports": []
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "javascript-module",
|
|
7403
|
+
"path": "e2e/tests/sdkcore-false-tests/vaulted-paypal.spec.ts",
|
|
7404
|
+
"declarations": [],
|
|
7405
|
+
"exports": []
|
|
7406
|
+
},
|
|
7407
|
+
{
|
|
7408
|
+
"kind": "javascript-module",
|
|
7409
|
+
"path": "e2e/tests/sdkcore-true-tests/card-form-billing-address.spec.ts",
|
|
7410
|
+
"declarations": [],
|
|
7411
|
+
"exports": []
|
|
7412
|
+
},
|
|
7413
|
+
{
|
|
7414
|
+
"kind": "javascript-module",
|
|
7415
|
+
"path": "e2e/tests/sdkcore-true-tests/paypal.spec.ts",
|
|
7416
|
+
"declarations": [],
|
|
7417
|
+
"exports": []
|
|
7418
|
+
},
|
|
7380
7419
|
{
|
|
7381
7420
|
"kind": "javascript-module",
|
|
7382
7421
|
"path": "src/__tests__/mocks/sdk-core.ts",
|
|
@@ -8448,7 +8487,7 @@
|
|
|
8448
8487
|
"type": {
|
|
8449
8488
|
"text": "Record<string, SVGTemplateResult>"
|
|
8450
8489
|
},
|
|
8451
|
-
"default": "{ 'trash': svg` <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M13.8333 2.99992H11.5V2.49992C11.5 2.05789 11.3244 1.63397 11.0118 1.32141C10.6993 1.00885 10.2754 0.833252 9.83333 0.833252H6.16667C5.72464 0.833252 5.30072 1.00885 4.98816 1.32141C4.67559 1.63397 4.5 2.05789 4.5 2.49992V2.99992H2.16667C1.98986 2.99992 1.82029 3.07015 1.69526 3.19518C1.57024 3.32021 1.5 3.48978 1.5 3.66659C1.5 3.8434 1.57024 4.01297 1.69526 4.138C1.82029 4.26302 1.98986 4.33326 2.16667 4.33326H2.83333V12.4999C2.83333 12.942 3.00893 13.3659 3.32149 13.6784C3.63405 13.991 4.05797 14.1666 4.5 14.1666H11.5C11.942 14.1666 12.3659 13.991 12.6785 13.6784C12.9911 13.3659 13.1667 12.942 13.1667 12.4999V4.33326H13.8333C14.0101 4.33326 14.1797 4.26302 14.3047 4.138C14.4298 4.01297 14.5 3.8434 14.5 3.66659C14.5 3.48978 14.4298 3.32021 14.3047 3.19518C14.1797 3.07015 14.0101 2.99992 13.8333 2.99992ZM5.83333 2.49992C5.83333 2.32311 5.90357 2.15354 6.0286 2.02851C6.15362 1.90349 6.32319 1.83325 6.5 1.83325H9.5C9.67681 1.83325 9.84638 1.90349 9.9714 2.02851C10.0964 2.15354 10.1667 2.32311 10.1667 2.49992V2.99992H5.83333V2.49992ZM11.8333 12.4999C11.8333 12.6767 11.7631 12.8463 11.6381 12.9713C11.513 13.0964 11.3435 13.1666 11.1667 13.1666H4.83333C4.65652 13.1666 4.48695 13.0964 4.36193 12.9713C4.2369 12.8463 4.16667 12.6767 4.16667 12.4999V4.33326H11.8333V12.4999Z\" fill=\"currentColor\"/> <path d=\"M6.5 10.9999C6.67681 10.9999 6.84638 10.9297 6.9714 10.8047C7.09643 10.6796 7.16667 10.5101 7.16667 10.3333V7.33325C7.16667 7.15644 7.09643 6.98687 6.9714 6.86184C6.84638 6.73682 6.67681 6.66658 6.5 6.66658C6.32319 6.66658 6.15362 6.73682 6.0286 6.86184C5.90357 6.98687 5.83333 7.15644 5.83333 7.33325V10.3333C5.83333 10.5101 5.90357 10.6796 6.0286 10.8047C6.15362 10.9297 6.32319 10.9999 6.5 10.9999Z\" fill=\"currentColor\"/> <path d=\"M9.5 10.9999C9.67681 10.9999 9.84638 10.9297 9.9714 10.8047C10.0964 10.6796 10.1667 10.5101 10.1667 10.3333V7.33325C10.1667 7.15644 10.0964 6.98687 9.9714 6.86184C9.84638 6.73682 9.67681 6.66658 9.5 6.66658C9.32319 6.66658 9.15362 6.73682 9.0286 6.86184C8.90357 6.98687 8.83333 7.15644 8.83333 7.33325V10.3333C8.83333 10.5101 8.90357 10.6796 9.0286 10.8047C9.15362 10.9297 9.32319 10.9999 9.5 10.9999Z\" fill=\"currentColor\"/> </svg> `, 'successful-check': svg` <svg viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <g id=\"icon/check-circle-large\"> <path id=\"vector\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.1762 29.5746L24.8429 34.2413C25.295 34.7007 26.0387 34.7007 26.4908 34.2413L35.8241 24.9079C36.2835 24.4559 36.2835 23.7121 35.8241 23.26C35.372 22.8007 34.6283 22.8007 34.1762 23.26L25.6668 31.7694L21.8241 27.9267C21.372 27.4673 20.6283 27.4673 20.1762 27.9267C19.7168 28.3788 19.7168 29.1225 20.1762 29.5746ZM28.0002 47.4173C38.3106 47.4173 46.6668 39.0611 46.6668 28.7507C46.6668 18.4402 38.3106 10.084 28.0002 10.084C17.6897 10.084 9.3335 18.4402 9.3335 28.7507C9.3335 39.0611 17.6897 47.4173 28.0002 47.4173Z\" /> </g> </svg> `, 'failure-icon': svg` <svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.0008 23.3333C20.4614 23.3333 20.7873 22.9606 20.7873 22.5V15C20.7873 14.5394 20.4146 14.1666 20.0008 14.1666C19.587 14.1666 19.1675 14.5416 19.1675 15V22.5C19.1675 22.9583 19.5425 23.3333 20.0008 23.3333ZM32.9331 27.3594L22.5269 9.75935C22.0008 8.86821 21.0529 8.33488 20.0008 8.33331C18.9487 8.33331 18.006 8.8656 17.4748 9.75831L7.06331 27.3625C6.53987 28.2463 6.53206 29.3073 7.04134 30.201C7.568 31.1198 8.51904 31.6666 9.58935 31.6666H30.4175C31.4857 31.6666 32.4357 31.1182 32.9597 30.1995C33.4696 29.3073 33.4591 28.2448 32.9331 27.3594ZM18.7977 26.6666C18.7977 25.976 19.3107 25.4166 20.0008 25.4166C20.6935 25.4166 21.2508 25.9739 21.2039 26.6666C21.2039 27.3568 20.6909 27.9166 20.0008 27.9166C19.3576 27.9166 18.7977 27.3568 18.7977 26.6666Z\" /> </svg> `, 'payment-card': svg` <svg width=\"28\" height=\"
|
|
8490
|
+
"default": "{ 'trash': svg` <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M13.8333 2.99992H11.5V2.49992C11.5 2.05789 11.3244 1.63397 11.0118 1.32141C10.6993 1.00885 10.2754 0.833252 9.83333 0.833252H6.16667C5.72464 0.833252 5.30072 1.00885 4.98816 1.32141C4.67559 1.63397 4.5 2.05789 4.5 2.49992V2.99992H2.16667C1.98986 2.99992 1.82029 3.07015 1.69526 3.19518C1.57024 3.32021 1.5 3.48978 1.5 3.66659C1.5 3.8434 1.57024 4.01297 1.69526 4.138C1.82029 4.26302 1.98986 4.33326 2.16667 4.33326H2.83333V12.4999C2.83333 12.942 3.00893 13.3659 3.32149 13.6784C3.63405 13.991 4.05797 14.1666 4.5 14.1666H11.5C11.942 14.1666 12.3659 13.991 12.6785 13.6784C12.9911 13.3659 13.1667 12.942 13.1667 12.4999V4.33326H13.8333C14.0101 4.33326 14.1797 4.26302 14.3047 4.138C14.4298 4.01297 14.5 3.8434 14.5 3.66659C14.5 3.48978 14.4298 3.32021 14.3047 3.19518C14.1797 3.07015 14.0101 2.99992 13.8333 2.99992ZM5.83333 2.49992C5.83333 2.32311 5.90357 2.15354 6.0286 2.02851C6.15362 1.90349 6.32319 1.83325 6.5 1.83325H9.5C9.67681 1.83325 9.84638 1.90349 9.9714 2.02851C10.0964 2.15354 10.1667 2.32311 10.1667 2.49992V2.99992H5.83333V2.49992ZM11.8333 12.4999C11.8333 12.6767 11.7631 12.8463 11.6381 12.9713C11.513 13.0964 11.3435 13.1666 11.1667 13.1666H4.83333C4.65652 13.1666 4.48695 13.0964 4.36193 12.9713C4.2369 12.8463 4.16667 12.6767 4.16667 12.4999V4.33326H11.8333V12.4999Z\" fill=\"currentColor\"/> <path d=\"M6.5 10.9999C6.67681 10.9999 6.84638 10.9297 6.9714 10.8047C7.09643 10.6796 7.16667 10.5101 7.16667 10.3333V7.33325C7.16667 7.15644 7.09643 6.98687 6.9714 6.86184C6.84638 6.73682 6.67681 6.66658 6.5 6.66658C6.32319 6.66658 6.15362 6.73682 6.0286 6.86184C5.90357 6.98687 5.83333 7.15644 5.83333 7.33325V10.3333C5.83333 10.5101 5.90357 10.6796 6.0286 10.8047C6.15362 10.9297 6.32319 10.9999 6.5 10.9999Z\" fill=\"currentColor\"/> <path d=\"M9.5 10.9999C9.67681 10.9999 9.84638 10.9297 9.9714 10.8047C10.0964 10.6796 10.1667 10.5101 10.1667 10.3333V7.33325C10.1667 7.15644 10.0964 6.98687 9.9714 6.86184C9.84638 6.73682 9.67681 6.66658 9.5 6.66658C9.32319 6.66658 9.15362 6.73682 9.0286 6.86184C8.90357 6.98687 8.83333 7.15644 8.83333 7.33325V10.3333C8.83333 10.5101 8.90357 10.6796 9.0286 10.8047C9.15362 10.9297 9.32319 10.9999 9.5 10.9999Z\" fill=\"currentColor\"/> </svg> `, 'successful-check': svg` <svg viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <g id=\"icon/check-circle-large\"> <path id=\"vector\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.1762 29.5746L24.8429 34.2413C25.295 34.7007 26.0387 34.7007 26.4908 34.2413L35.8241 24.9079C36.2835 24.4559 36.2835 23.7121 35.8241 23.26C35.372 22.8007 34.6283 22.8007 34.1762 23.26L25.6668 31.7694L21.8241 27.9267C21.372 27.4673 20.6283 27.4673 20.1762 27.9267C19.7168 28.3788 19.7168 29.1225 20.1762 29.5746ZM28.0002 47.4173C38.3106 47.4173 46.6668 39.0611 46.6668 28.7507C46.6668 18.4402 38.3106 10.084 28.0002 10.084C17.6897 10.084 9.3335 18.4402 9.3335 28.7507C9.3335 39.0611 17.6897 47.4173 28.0002 47.4173Z\" /> </g> </svg> `, 'failure-icon': svg` <svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" > <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.0008 23.3333C20.4614 23.3333 20.7873 22.9606 20.7873 22.5V15C20.7873 14.5394 20.4146 14.1666 20.0008 14.1666C19.587 14.1666 19.1675 14.5416 19.1675 15V22.5C19.1675 22.9583 19.5425 23.3333 20.0008 23.3333ZM32.9331 27.3594L22.5269 9.75935C22.0008 8.86821 21.0529 8.33488 20.0008 8.33331C18.9487 8.33331 18.006 8.8656 17.4748 9.75831L7.06331 27.3625C6.53987 28.2463 6.53206 29.3073 7.04134 30.201C7.568 31.1198 8.51904 31.6666 9.58935 31.6666H30.4175C31.4857 31.6666 32.4357 31.1182 32.9597 30.1995C33.4696 29.3073 33.4591 28.2448 32.9331 27.3594ZM18.7977 26.6666C18.7977 25.976 19.3107 25.4166 20.0008 25.4166C20.6935 25.4166 21.2508 25.9739 21.2039 26.6666C21.2039 27.3568 20.6909 27.9166 20.0008 27.9166C19.3576 27.9166 18.7977 27.3568 18.7977 26.6666Z\" /> </svg> `, 'payment-card': svg` <svg width=\"28\" height=\"20\" viewBox=\"0 0 28 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <rect width=\"28\" height=\"20\" rx=\"2\" fill=\"#E0E0E0\"/> <rect y=\"6\" width=\"28\" height=\"4\" fill=\"#212121\"/> <rect x=\"19\" y=\"13\" width=\"6\" height=\"4\" rx=\"0.933333\" fill=\"white\"/> </svg> `, 'chevron-left': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M6.61868 9.49624C6.47176 9.61503 6.39986 9.80571 6.39986 9.99952C6.39986 10.1933 6.47176 10.384 6.61868 10.5309L11.3198 15.232C11.6128 15.5251 12.0875 15.5251 12.3807 15.232C12.6739 14.939 12.6738 14.4643 12.3807 14.1711L8.2098 9.99952L12.3804 5.82891C12.6735 5.53585 12.6735 5.06117 12.3804 4.76795C12.0874 4.47473 11.6127 4.47489 11.3195 4.76795L6.61868 9.49624Z\"/> </svg> `, 'chevron-down': svg` <svg width=\"8\" height=\"6\" viewBox=\"0 0 8 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M4.41978 4.90118C4.32079 5.02361 4.16188 5.08353 4.00037 5.08353C3.83887 5.08353 3.67996 5.02361 3.55753 4.90118L0.63995 1.9836C0.395733 1.73939 0.395733 1.34382 0.63995 1.09947C0.884167 0.855124 1.27973 0.855254 1.52408 1.09947L4.00037 3.57524L6.47589 1.09973C6.72011 0.855515 7.11567 0.855515 7.36002 1.09973C7.60437 1.34395 7.60424 1.73952 7.36002 1.98386L4.41978 4.90118Z\"/> </svg>`, 'checkmark': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M15.6326 6.12193C15.8983 6.3668 15.8983 6.76276 15.6326 6.98418L8.75546 13.8613C8.53404 14.127 8.13808 14.127 7.89321 13.8613L4.35119 10.3186C4.10706 10.0971 4.10706 9.70118 4.35119 9.45631C4.59531 9.21404 4.99126 9.21404 5.23535 9.45631L8.33606 12.5588L14.7704 6.12193C15.0152 5.87863 15.4112 5.87863 15.6326 6.12193Z\" /> </svg> `, 'close': svg` <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"> <path d=\"M14.7551 13.734C15.0479 14.0269 15.0479 14.502 14.7551 14.7949C14.4622 15.0879 13.987 15.0878 13.6941 14.7949L10.0005 11.0738L6.28054 14.7937C5.98767 15.0866 5.51249 15.0866 5.21959 14.7937C4.92668 14.5008 4.92671 14.0256 5.21959 13.7327L8.94075 10.0141L5.21856 6.26604C4.92568 5.97316 4.92568 5.49798 5.21856 5.20508C5.51143 4.91217 5.98661 4.91221 6.27951 5.20508L10.0005 8.95438L13.7204 5.23446C14.0132 4.94159 14.4884 4.94159 14.7813 5.23446C15.0742 5.52734 15.0742 6.00252 14.7813 6.29542L11.0602 10.0141L14.7551 13.734Z\" /> </svg> `, 'edit': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M10.9355 3.19972C11.7814 2.35335 13.1541 2.35335 13.9999 3.19972L14.3642 3.56456C15.21 4.41103 15.21 5.78338 14.3642 6.62925L8.42804 12.5684C8.16615 12.8272 7.84406 13.0169 7.48886 13.1192L4.47866 13.9802C4.2258 14.0524 3.95489 13.9802 3.76825 13.7694C3.58463 13.6099 3.51239 13.339 3.58463 13.0861L4.44555 10.0759C4.5479 9.72072 4.73754 9.39863 4.99642 9.13674L10.9355 3.19972ZM12.9524 4.22139C12.6965 3.93933 12.239 3.93933 11.956 4.22139L11.08 5.09705L12.4677 6.48476L13.3437 5.5817C13.6267 5.32583 13.6267 4.86828 13.3437 4.58622L12.9524 4.22139ZM5.83626 10.4733L5.33055 12.2342L7.09151 11.7285C7.21192 11.6954 7.31728 11.6322 7.40458 11.5449L11.4473 7.50521L10.0596 6.11751L6.01988 10.1602C5.93259 10.2475 5.86937 10.3529 5.83626 10.4733Z\"/> <path d=\"M3.5 16.7126C3.5 16.3138 3.82335 15.9904 4.22222 15.9904H15.7778C16.1767 15.9904 16.5 16.3138 16.5 16.7126C16.5 17.1115 16.1767 17.4349 15.7778 17.4349H4.22222C3.82335 17.4349 3.5 17.1115 3.5 16.7126Z\"/> </svg> `, 'lock': svg` <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M7.91621 7.08223V8.33262H12.0842V7.08223C12.0842 5.93082 11.1516 4.99824 10.0002 4.99824C8.84879 4.99824 7.91621 5.93082 7.91621 7.08223ZM6.24902 8.33262V7.08223C6.24902 5.01127 7.92924 3.33105 10.0002 3.33105C12.0712 3.33105 13.7514 5.01127 13.7514 7.08223V8.33262H14.1682C15.0877 8.33262 15.8354 9.08025 15.8354 9.9998V15.0014C15.8354 15.9209 15.0877 16.6686 14.1682 16.6686H5.83223C4.91267 16.6686 4.16504 15.9209 4.16504 15.0014V9.9998C4.16504 9.08025 4.91267 8.33262 5.83223 8.33262H6.24902Z\" fill-opacity=\"0.62\"/> </svg> `, }"
|
|
8452
8491
|
}
|
|
8453
8492
|
],
|
|
8454
8493
|
"exports": [
|
|
@@ -16231,6 +16270,11 @@
|
|
|
16231
16270
|
}
|
|
16232
16271
|
]
|
|
16233
16272
|
},
|
|
16273
|
+
{
|
|
16274
|
+
"kind": "method",
|
|
16275
|
+
"name": "renderDefaultCardIcon",
|
|
16276
|
+
"privacy": "private"
|
|
16277
|
+
},
|
|
16234
16278
|
{
|
|
16235
16279
|
"kind": "method",
|
|
16236
16280
|
"name": "getSelectableNetworks",
|
|
@@ -18327,360 +18371,360 @@
|
|
|
18327
18371
|
},
|
|
18328
18372
|
{
|
|
18329
18373
|
"kind": "javascript-module",
|
|
18330
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18374
|
+
"path": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.component.ts",
|
|
18331
18375
|
"declarations": [
|
|
18332
18376
|
{
|
|
18333
18377
|
"kind": "class",
|
|
18334
|
-
"description": "
|
|
18335
|
-
"name": "
|
|
18378
|
+
"description": "CVV Input component for vault payment methods\nRenders a secure iframe for CVV input when required by the selected payment method\nUses dedicated CVV context to minimize re-renders",
|
|
18379
|
+
"name": "VaultCvvInputComponent",
|
|
18336
18380
|
"members": [
|
|
18337
18381
|
{
|
|
18338
18382
|
"kind": "field",
|
|
18339
|
-
"name": "
|
|
18383
|
+
"name": "vaultManagerFormContext",
|
|
18340
18384
|
"type": {
|
|
18341
|
-
"text": "
|
|
18385
|
+
"text": "VaultManagerContextType"
|
|
18342
18386
|
},
|
|
18343
|
-
"
|
|
18387
|
+
"default": "null",
|
|
18388
|
+
"description": "Form context for checking form dirty state"
|
|
18344
18389
|
},
|
|
18345
18390
|
{
|
|
18346
18391
|
"kind": "field",
|
|
18347
|
-
"name": "
|
|
18392
|
+
"name": "vaultManagerCvvContext",
|
|
18348
18393
|
"type": {
|
|
18349
|
-
"text": "
|
|
18350
|
-
}
|
|
18394
|
+
"text": "VaultItemContextType"
|
|
18395
|
+
},
|
|
18396
|
+
"default": "null",
|
|
18397
|
+
"description": "CVV-specific context for dedicated CVV handling\nSeparated to minimize re-renders on frequent CVV input changes"
|
|
18351
18398
|
},
|
|
18352
18399
|
{
|
|
18353
18400
|
"kind": "field",
|
|
18354
|
-
"name": "
|
|
18401
|
+
"name": "computedStyles",
|
|
18355
18402
|
"type": {
|
|
18356
|
-
"text": "
|
|
18403
|
+
"text": "CSSStyleDeclaration | null"
|
|
18357
18404
|
},
|
|
18358
|
-
"default": "
|
|
18359
|
-
"
|
|
18360
|
-
"attribute": "isDeleting"
|
|
18405
|
+
"default": "null",
|
|
18406
|
+
"attribute": "computedStyles"
|
|
18361
18407
|
},
|
|
18362
18408
|
{
|
|
18363
18409
|
"kind": "field",
|
|
18364
|
-
"name": "
|
|
18410
|
+
"name": "paymentMethod",
|
|
18365
18411
|
"type": {
|
|
18366
|
-
"text": "
|
|
18412
|
+
"text": "PaymentCardVaultedMethod | null"
|
|
18367
18413
|
},
|
|
18368
|
-
"default": "
|
|
18369
|
-
"
|
|
18370
|
-
"attribute": "paymentMethodId"
|
|
18414
|
+
"default": "null",
|
|
18415
|
+
"attribute": "paymentMethod"
|
|
18371
18416
|
},
|
|
18372
18417
|
{
|
|
18373
18418
|
"kind": "field",
|
|
18374
|
-
"name": "
|
|
18419
|
+
"name": "cvvError",
|
|
18375
18420
|
"type": {
|
|
18376
|
-
"text": "string"
|
|
18421
|
+
"text": "string | null"
|
|
18377
18422
|
},
|
|
18378
|
-
"
|
|
18379
|
-
"
|
|
18380
|
-
"attribute": "paymentMethodName"
|
|
18423
|
+
"privacy": "private",
|
|
18424
|
+
"default": "null"
|
|
18381
18425
|
},
|
|
18382
18426
|
{
|
|
18383
18427
|
"kind": "field",
|
|
18384
|
-
"name": "
|
|
18428
|
+
"name": "cvvInputIsDirty",
|
|
18385
18429
|
"type": {
|
|
18386
|
-
"text": "
|
|
18430
|
+
"text": "boolean"
|
|
18387
18431
|
},
|
|
18388
|
-
"
|
|
18389
|
-
"
|
|
18432
|
+
"privacy": "private",
|
|
18433
|
+
"default": "false"
|
|
18390
18434
|
},
|
|
18391
18435
|
{
|
|
18392
18436
|
"kind": "field",
|
|
18393
|
-
"name": "
|
|
18437
|
+
"name": "cvvInputIsBlurred",
|
|
18438
|
+
"type": {
|
|
18439
|
+
"text": "boolean"
|
|
18440
|
+
},
|
|
18394
18441
|
"privacy": "private",
|
|
18395
|
-
"
|
|
18442
|
+
"default": "false"
|
|
18396
18443
|
},
|
|
18397
18444
|
{
|
|
18398
18445
|
"kind": "field",
|
|
18399
|
-
"name": "
|
|
18446
|
+
"name": "cvvInput",
|
|
18447
|
+
"type": {
|
|
18448
|
+
"text": "CvvInput | null"
|
|
18449
|
+
},
|
|
18400
18450
|
"privacy": "private",
|
|
18401
|
-
"
|
|
18402
|
-
}
|
|
18403
|
-
],
|
|
18404
|
-
"attributes": [
|
|
18451
|
+
"default": "null"
|
|
18452
|
+
},
|
|
18405
18453
|
{
|
|
18406
|
-
"
|
|
18454
|
+
"kind": "field",
|
|
18455
|
+
"name": "isFocused",
|
|
18407
18456
|
"type": {
|
|
18408
18457
|
"text": "boolean"
|
|
18409
18458
|
},
|
|
18410
|
-
"
|
|
18411
|
-
"
|
|
18412
|
-
|
|
18413
|
-
},
|
|
18459
|
+
"privacy": "private",
|
|
18460
|
+
"default": "false"
|
|
18461
|
+
},
|
|
18414
18462
|
{
|
|
18415
|
-
"
|
|
18463
|
+
"kind": "field",
|
|
18464
|
+
"name": "cvvContainerId",
|
|
18416
18465
|
"type": {
|
|
18417
18466
|
"text": "string"
|
|
18418
18467
|
},
|
|
18419
|
-
"
|
|
18420
|
-
"
|
|
18421
|
-
"
|
|
18468
|
+
"privacy": "private",
|
|
18469
|
+
"readonly": true,
|
|
18470
|
+
"description": "Unique ID for the CVV input container",
|
|
18471
|
+
"default": "`cvv-container-${Math.random().toString(36).substring(2, 9)}`"
|
|
18422
18472
|
},
|
|
18423
18473
|
{
|
|
18424
|
-
"
|
|
18474
|
+
"kind": "field",
|
|
18475
|
+
"name": "_setupCVVIframe",
|
|
18476
|
+
"privacy": "private",
|
|
18477
|
+
"default": "new Task(this, { task: ([paymentMethod, cvvContext]) => { if ( !paymentMethod || !cvvContext || paymentMethod.paymentMethodType !== 'PAYMENT_CARD' || !paymentMethod.paymentInstrumentData?.network || cvvContext.createCvvInput === null ) { return initialState; } return { network: paymentMethod.paymentInstrumentData.network, createCvvInput: cvvContext.createCvvInput, }; }, args: () => [this.paymentMethod, this.vaultManagerFormContext], })"
|
|
18478
|
+
},
|
|
18479
|
+
{
|
|
18480
|
+
"kind": "method",
|
|
18481
|
+
"name": "onCvvInputChange",
|
|
18482
|
+
"description": "Update CVV metadata in the context when input changes"
|
|
18483
|
+
},
|
|
18484
|
+
{
|
|
18485
|
+
"kind": "method",
|
|
18486
|
+
"name": "onBlur"
|
|
18487
|
+
},
|
|
18488
|
+
{
|
|
18489
|
+
"kind": "method",
|
|
18490
|
+
"name": "onFocus"
|
|
18491
|
+
}
|
|
18492
|
+
],
|
|
18493
|
+
"attributes": [
|
|
18494
|
+
{
|
|
18495
|
+
"name": "computedStyles",
|
|
18425
18496
|
"type": {
|
|
18426
|
-
"text": "
|
|
18497
|
+
"text": "CSSStyleDeclaration | null"
|
|
18427
18498
|
},
|
|
18428
|
-
"default": "
|
|
18429
|
-
"
|
|
18430
|
-
|
|
18499
|
+
"default": "null",
|
|
18500
|
+
"fieldName": "computedStyles"
|
|
18501
|
+
},
|
|
18502
|
+
{
|
|
18503
|
+
"name": "paymentMethod",
|
|
18504
|
+
"type": {
|
|
18505
|
+
"text": "PaymentCardVaultedMethod | null"
|
|
18506
|
+
},
|
|
18507
|
+
"default": "null",
|
|
18508
|
+
"fieldName": "paymentMethod"
|
|
18431
18509
|
}
|
|
18432
18510
|
],
|
|
18433
18511
|
"superclass": {
|
|
18434
18512
|
"name": "LitElement",
|
|
18435
18513
|
"package": "lit"
|
|
18436
18514
|
},
|
|
18437
|
-
"tagName": "primer-vault-
|
|
18515
|
+
"tagName": "primer-vault-cvv-input",
|
|
18438
18516
|
"customElement": true
|
|
18517
|
+
},
|
|
18518
|
+
{
|
|
18519
|
+
"kind": "variable",
|
|
18520
|
+
"name": "container"
|
|
18439
18521
|
}
|
|
18440
18522
|
],
|
|
18441
18523
|
"exports": [
|
|
18442
18524
|
{
|
|
18443
18525
|
"kind": "js",
|
|
18444
|
-
"name": "
|
|
18526
|
+
"name": "VaultCvvInputComponent",
|
|
18445
18527
|
"declaration": {
|
|
18446
|
-
"name": "
|
|
18447
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18528
|
+
"name": "VaultCvvInputComponent",
|
|
18529
|
+
"module": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.component.ts"
|
|
18448
18530
|
}
|
|
18449
18531
|
},
|
|
18450
18532
|
{
|
|
18451
18533
|
"kind": "custom-element-definition",
|
|
18452
|
-
"name": "primer-vault-
|
|
18534
|
+
"name": "primer-vault-cvv-input",
|
|
18453
18535
|
"declaration": {
|
|
18454
|
-
"name": "
|
|
18455
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18536
|
+
"name": "VaultCvvInputComponent",
|
|
18537
|
+
"module": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.component.ts"
|
|
18456
18538
|
}
|
|
18457
18539
|
}
|
|
18458
18540
|
]
|
|
18459
18541
|
},
|
|
18460
18542
|
{
|
|
18461
18543
|
"kind": "javascript-module",
|
|
18462
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18544
|
+
"path": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.styles.ts",
|
|
18463
18545
|
"declarations": [],
|
|
18464
18546
|
"exports": [
|
|
18465
18547
|
{
|
|
18466
18548
|
"kind": "js",
|
|
18467
18549
|
"name": "default",
|
|
18468
18550
|
"declaration": {
|
|
18469
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18551
|
+
"module": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.styles.ts"
|
|
18470
18552
|
}
|
|
18471
18553
|
}
|
|
18472
18554
|
]
|
|
18473
18555
|
},
|
|
18474
18556
|
{
|
|
18475
18557
|
"kind": "javascript-module",
|
|
18476
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18558
|
+
"path": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.ts",
|
|
18477
18559
|
"declarations": [],
|
|
18478
18560
|
"exports": [
|
|
18479
18561
|
{
|
|
18480
18562
|
"kind": "js",
|
|
18481
|
-
"name": "
|
|
18563
|
+
"name": "VaultCvvInput",
|
|
18482
18564
|
"declaration": {
|
|
18483
|
-
"name": "
|
|
18484
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18565
|
+
"name": "VaultCvvInputComponent",
|
|
18566
|
+
"module": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.ts"
|
|
18485
18567
|
}
|
|
18486
18568
|
}
|
|
18487
18569
|
]
|
|
18488
18570
|
},
|
|
18489
18571
|
{
|
|
18490
18572
|
"kind": "javascript-module",
|
|
18491
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18573
|
+
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts",
|
|
18492
18574
|
"declarations": [
|
|
18493
18575
|
{
|
|
18494
18576
|
"kind": "class",
|
|
18495
|
-
"description": "
|
|
18496
|
-
"name": "
|
|
18577
|
+
"description": "VaultDeleteConfirmationComponent - displays confirmation UI for deleting a payment method",
|
|
18578
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18497
18579
|
"members": [
|
|
18498
18580
|
{
|
|
18499
18581
|
"kind": "field",
|
|
18500
|
-
"name": "
|
|
18582
|
+
"name": "addEventListener",
|
|
18501
18583
|
"type": {
|
|
18502
|
-
"text": "
|
|
18584
|
+
"text": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
18503
18585
|
},
|
|
18504
|
-
"
|
|
18505
|
-
"description": "Form context for checking form dirty state"
|
|
18586
|
+
"description": "Strongly typed event declarations"
|
|
18506
18587
|
},
|
|
18507
18588
|
{
|
|
18508
18589
|
"kind": "field",
|
|
18509
|
-
"name": "
|
|
18590
|
+
"name": "removeEventListener",
|
|
18510
18591
|
"type": {
|
|
18511
|
-
"text": "
|
|
18512
|
-
}
|
|
18513
|
-
"default": "null",
|
|
18514
|
-
"description": "CVV-specific context for dedicated CVV handling\nSeparated to minimize re-renders on frequent CVV input changes"
|
|
18592
|
+
"text": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
18593
|
+
}
|
|
18515
18594
|
},
|
|
18516
18595
|
{
|
|
18517
18596
|
"kind": "field",
|
|
18518
|
-
"name": "
|
|
18597
|
+
"name": "isDeleting",
|
|
18519
18598
|
"type": {
|
|
18520
|
-
"text": "
|
|
18599
|
+
"text": "boolean"
|
|
18521
18600
|
},
|
|
18522
|
-
"default": "
|
|
18523
|
-
"
|
|
18601
|
+
"default": "false",
|
|
18602
|
+
"description": "Whether a delete operation is in progress",
|
|
18603
|
+
"attribute": "isDeleting"
|
|
18524
18604
|
},
|
|
18525
18605
|
{
|
|
18526
18606
|
"kind": "field",
|
|
18527
|
-
"name": "
|
|
18607
|
+
"name": "paymentMethodId",
|
|
18528
18608
|
"type": {
|
|
18529
|
-
"text": "
|
|
18609
|
+
"text": "string"
|
|
18530
18610
|
},
|
|
18531
|
-
"default": "
|
|
18532
|
-
"
|
|
18611
|
+
"default": "''",
|
|
18612
|
+
"description": "The ID of the payment method being deleted",
|
|
18613
|
+
"attribute": "paymentMethodId"
|
|
18533
18614
|
},
|
|
18534
18615
|
{
|
|
18535
18616
|
"kind": "field",
|
|
18536
|
-
"name": "
|
|
18617
|
+
"name": "paymentMethodName",
|
|
18537
18618
|
"type": {
|
|
18538
|
-
"text": "string
|
|
18619
|
+
"text": "string"
|
|
18539
18620
|
},
|
|
18540
|
-
"
|
|
18541
|
-
"
|
|
18621
|
+
"default": "''",
|
|
18622
|
+
"description": "Payment method name to display in confirmation",
|
|
18623
|
+
"attribute": "paymentMethodName"
|
|
18542
18624
|
},
|
|
18543
18625
|
{
|
|
18544
18626
|
"kind": "field",
|
|
18545
|
-
"name": "
|
|
18627
|
+
"name": "vaultManager",
|
|
18546
18628
|
"type": {
|
|
18547
|
-
"text": "
|
|
18629
|
+
"text": "VaultManagerContextType"
|
|
18548
18630
|
},
|
|
18549
|
-
"
|
|
18550
|
-
"
|
|
18631
|
+
"default": "null",
|
|
18632
|
+
"description": "Consume the vault manager context to access payment method info"
|
|
18551
18633
|
},
|
|
18552
18634
|
{
|
|
18553
18635
|
"kind": "field",
|
|
18554
|
-
"name": "
|
|
18555
|
-
"type": {
|
|
18556
|
-
"text": "boolean"
|
|
18557
|
-
},
|
|
18636
|
+
"name": "handleConfirmClick",
|
|
18558
18637
|
"privacy": "private",
|
|
18559
|
-
"
|
|
18638
|
+
"description": "Handle confirm click"
|
|
18560
18639
|
},
|
|
18561
18640
|
{
|
|
18562
18641
|
"kind": "field",
|
|
18563
|
-
"name": "
|
|
18564
|
-
"type": {
|
|
18565
|
-
"text": "CvvInput | null"
|
|
18566
|
-
},
|
|
18642
|
+
"name": "handleCancelClick",
|
|
18567
18643
|
"privacy": "private",
|
|
18568
|
-
"
|
|
18569
|
-
}
|
|
18644
|
+
"description": "Handle cancel click"
|
|
18645
|
+
}
|
|
18646
|
+
],
|
|
18647
|
+
"attributes": [
|
|
18570
18648
|
{
|
|
18571
|
-
"
|
|
18572
|
-
"name": "isFocused",
|
|
18649
|
+
"name": "isDeleting",
|
|
18573
18650
|
"type": {
|
|
18574
18651
|
"text": "boolean"
|
|
18575
18652
|
},
|
|
18576
|
-
"
|
|
18577
|
-
"
|
|
18653
|
+
"default": "false",
|
|
18654
|
+
"description": "Whether a delete operation is in progress",
|
|
18655
|
+
"fieldName": "isDeleting"
|
|
18578
18656
|
},
|
|
18579
18657
|
{
|
|
18580
|
-
"
|
|
18581
|
-
"name": "cvvContainerId",
|
|
18658
|
+
"name": "paymentMethodId",
|
|
18582
18659
|
"type": {
|
|
18583
18660
|
"text": "string"
|
|
18584
18661
|
},
|
|
18585
|
-
"
|
|
18586
|
-
"
|
|
18587
|
-
"
|
|
18588
|
-
"default": "`cvv-container-${Math.random().toString(36).substring(2, 9)}`"
|
|
18589
|
-
},
|
|
18590
|
-
{
|
|
18591
|
-
"kind": "field",
|
|
18592
|
-
"name": "_setupCVVIframe",
|
|
18593
|
-
"privacy": "private",
|
|
18594
|
-
"default": "new Task(this, { task: ([paymentMethod, cvvContext]) => { if ( !paymentMethod || !cvvContext || paymentMethod.paymentMethodType !== 'PAYMENT_CARD' || !paymentMethod.paymentInstrumentData?.network || cvvContext.createCvvInput === null ) { return initialState; } return { network: paymentMethod.paymentInstrumentData.network, createCvvInput: cvvContext.createCvvInput, }; }, args: () => [this.paymentMethod, this.vaultManagerFormContext], })"
|
|
18595
|
-
},
|
|
18596
|
-
{
|
|
18597
|
-
"kind": "method",
|
|
18598
|
-
"name": "onCvvInputChange",
|
|
18599
|
-
"description": "Update CVV metadata in the context when input changes"
|
|
18600
|
-
},
|
|
18601
|
-
{
|
|
18602
|
-
"kind": "method",
|
|
18603
|
-
"name": "onBlur"
|
|
18604
|
-
},
|
|
18605
|
-
{
|
|
18606
|
-
"kind": "method",
|
|
18607
|
-
"name": "onFocus"
|
|
18608
|
-
}
|
|
18609
|
-
],
|
|
18610
|
-
"attributes": [
|
|
18611
|
-
{
|
|
18612
|
-
"name": "computedStyles",
|
|
18613
|
-
"type": {
|
|
18614
|
-
"text": "CSSStyleDeclaration | null"
|
|
18615
|
-
},
|
|
18616
|
-
"default": "null",
|
|
18617
|
-
"fieldName": "computedStyles"
|
|
18662
|
+
"default": "''",
|
|
18663
|
+
"description": "The ID of the payment method being deleted",
|
|
18664
|
+
"fieldName": "paymentMethodId"
|
|
18618
18665
|
},
|
|
18619
18666
|
{
|
|
18620
|
-
"name": "
|
|
18667
|
+
"name": "paymentMethodName",
|
|
18621
18668
|
"type": {
|
|
18622
|
-
"text": "
|
|
18669
|
+
"text": "string"
|
|
18623
18670
|
},
|
|
18624
|
-
"default": "
|
|
18625
|
-
"
|
|
18671
|
+
"default": "''",
|
|
18672
|
+
"description": "Payment method name to display in confirmation",
|
|
18673
|
+
"fieldName": "paymentMethodName"
|
|
18626
18674
|
}
|
|
18627
18675
|
],
|
|
18628
18676
|
"superclass": {
|
|
18629
18677
|
"name": "LitElement",
|
|
18630
18678
|
"package": "lit"
|
|
18631
18679
|
},
|
|
18632
|
-
"tagName": "primer-vault-
|
|
18680
|
+
"tagName": "primer-vault-delete-confirmation",
|
|
18633
18681
|
"customElement": true
|
|
18634
|
-
},
|
|
18635
|
-
{
|
|
18636
|
-
"kind": "variable",
|
|
18637
|
-
"name": "container"
|
|
18638
18682
|
}
|
|
18639
18683
|
],
|
|
18640
18684
|
"exports": [
|
|
18641
18685
|
{
|
|
18642
18686
|
"kind": "js",
|
|
18643
|
-
"name": "
|
|
18687
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18644
18688
|
"declaration": {
|
|
18645
|
-
"name": "
|
|
18646
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18689
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18690
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts"
|
|
18647
18691
|
}
|
|
18648
18692
|
},
|
|
18649
18693
|
{
|
|
18650
18694
|
"kind": "custom-element-definition",
|
|
18651
|
-
"name": "primer-vault-
|
|
18695
|
+
"name": "primer-vault-delete-confirmation",
|
|
18652
18696
|
"declaration": {
|
|
18653
|
-
"name": "
|
|
18654
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18697
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18698
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts"
|
|
18655
18699
|
}
|
|
18656
18700
|
}
|
|
18657
18701
|
]
|
|
18658
18702
|
},
|
|
18659
18703
|
{
|
|
18660
18704
|
"kind": "javascript-module",
|
|
18661
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18705
|
+
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.styles.ts",
|
|
18662
18706
|
"declarations": [],
|
|
18663
18707
|
"exports": [
|
|
18664
18708
|
{
|
|
18665
18709
|
"kind": "js",
|
|
18666
18710
|
"name": "default",
|
|
18667
18711
|
"declaration": {
|
|
18668
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18712
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.styles.ts"
|
|
18669
18713
|
}
|
|
18670
18714
|
}
|
|
18671
18715
|
]
|
|
18672
18716
|
},
|
|
18673
18717
|
{
|
|
18674
18718
|
"kind": "javascript-module",
|
|
18675
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18719
|
+
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.ts",
|
|
18676
18720
|
"declarations": [],
|
|
18677
18721
|
"exports": [
|
|
18678
18722
|
{
|
|
18679
18723
|
"kind": "js",
|
|
18680
|
-
"name": "
|
|
18724
|
+
"name": "VaultDeleteConfirmation",
|
|
18681
18725
|
"declaration": {
|
|
18682
|
-
"name": "
|
|
18683
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18726
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18727
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.ts"
|
|
18684
18728
|
}
|
|
18685
18729
|
}
|
|
18686
18730
|
]
|
|
@@ -18752,12 +18796,12 @@
|
|
|
18752
18796
|
},
|
|
18753
18797
|
{
|
|
18754
18798
|
"kind": "javascript-module",
|
|
18755
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18799
|
+
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts",
|
|
18756
18800
|
"declarations": [
|
|
18757
18801
|
{
|
|
18758
18802
|
"kind": "class",
|
|
18759
|
-
"description": "
|
|
18760
|
-
"name": "
|
|
18803
|
+
"description": "VaultErrorMessageComponent - displays error messages with improved visuals",
|
|
18804
|
+
"name": "VaultErrorMessageComponent",
|
|
18761
18805
|
"members": [
|
|
18762
18806
|
{
|
|
18763
18807
|
"kind": "field",
|
|
@@ -18776,115 +18820,96 @@
|
|
|
18776
18820
|
},
|
|
18777
18821
|
{
|
|
18778
18822
|
"kind": "field",
|
|
18779
|
-
"name": "
|
|
18780
|
-
"type": {
|
|
18781
|
-
"text": "boolean"
|
|
18782
|
-
},
|
|
18783
|
-
"default": "false",
|
|
18784
|
-
"description": "Whether we're in edit mode",
|
|
18785
|
-
"attribute": "isEditMode"
|
|
18786
|
-
},
|
|
18787
|
-
{
|
|
18788
|
-
"kind": "field",
|
|
18789
|
-
"name": "hasPaymentMethods",
|
|
18823
|
+
"name": "errorMessage",
|
|
18790
18824
|
"type": {
|
|
18791
|
-
"text": "
|
|
18825
|
+
"text": "string"
|
|
18792
18826
|
},
|
|
18793
|
-
"default": "
|
|
18794
|
-
"description": "
|
|
18795
|
-
"attribute": "
|
|
18827
|
+
"default": "''",
|
|
18828
|
+
"description": "The error message to display",
|
|
18829
|
+
"attribute": "errorMessage"
|
|
18796
18830
|
},
|
|
18797
18831
|
{
|
|
18798
18832
|
"kind": "field",
|
|
18799
|
-
"name": "
|
|
18833
|
+
"name": "handleDismiss",
|
|
18800
18834
|
"privacy": "private",
|
|
18801
|
-
"description": "
|
|
18835
|
+
"description": "Handle dismiss click"
|
|
18802
18836
|
}
|
|
18803
18837
|
],
|
|
18804
18838
|
"attributes": [
|
|
18805
18839
|
{
|
|
18806
|
-
"name": "
|
|
18807
|
-
"type": {
|
|
18808
|
-
"text": "boolean"
|
|
18809
|
-
},
|
|
18810
|
-
"default": "false",
|
|
18811
|
-
"description": "Whether we're in edit mode",
|
|
18812
|
-
"fieldName": "isEditMode"
|
|
18813
|
-
},
|
|
18814
|
-
{
|
|
18815
|
-
"name": "hasPaymentMethods",
|
|
18840
|
+
"name": "errorMessage",
|
|
18816
18841
|
"type": {
|
|
18817
|
-
"text": "
|
|
18842
|
+
"text": "string"
|
|
18818
18843
|
},
|
|
18819
|
-
"default": "
|
|
18820
|
-
"description": "
|
|
18821
|
-
"fieldName": "
|
|
18844
|
+
"default": "''",
|
|
18845
|
+
"description": "The error message to display",
|
|
18846
|
+
"fieldName": "errorMessage"
|
|
18822
18847
|
}
|
|
18823
18848
|
],
|
|
18824
18849
|
"superclass": {
|
|
18825
18850
|
"name": "LitElement",
|
|
18826
18851
|
"package": "lit"
|
|
18827
18852
|
},
|
|
18828
|
-
"tagName": "primer-vault-
|
|
18853
|
+
"tagName": "primer-vault-error-message",
|
|
18829
18854
|
"customElement": true
|
|
18830
18855
|
}
|
|
18831
18856
|
],
|
|
18832
18857
|
"exports": [
|
|
18833
18858
|
{
|
|
18834
18859
|
"kind": "js",
|
|
18835
|
-
"name": "
|
|
18860
|
+
"name": "VaultErrorMessageComponent",
|
|
18836
18861
|
"declaration": {
|
|
18837
|
-
"name": "
|
|
18838
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18862
|
+
"name": "VaultErrorMessageComponent",
|
|
18863
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts"
|
|
18839
18864
|
}
|
|
18840
18865
|
},
|
|
18841
18866
|
{
|
|
18842
18867
|
"kind": "custom-element-definition",
|
|
18843
|
-
"name": "primer-vault-
|
|
18868
|
+
"name": "primer-vault-error-message",
|
|
18844
18869
|
"declaration": {
|
|
18845
|
-
"name": "
|
|
18846
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18870
|
+
"name": "VaultErrorMessageComponent",
|
|
18871
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts"
|
|
18847
18872
|
}
|
|
18848
18873
|
}
|
|
18849
18874
|
]
|
|
18850
18875
|
},
|
|
18851
18876
|
{
|
|
18852
18877
|
"kind": "javascript-module",
|
|
18853
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18878
|
+
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.styles.ts",
|
|
18854
18879
|
"declarations": [],
|
|
18855
18880
|
"exports": [
|
|
18856
18881
|
{
|
|
18857
18882
|
"kind": "js",
|
|
18858
18883
|
"name": "default",
|
|
18859
18884
|
"declaration": {
|
|
18860
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18885
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.styles.ts"
|
|
18861
18886
|
}
|
|
18862
18887
|
}
|
|
18863
18888
|
]
|
|
18864
18889
|
},
|
|
18865
18890
|
{
|
|
18866
18891
|
"kind": "javascript-module",
|
|
18867
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18892
|
+
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.ts",
|
|
18868
18893
|
"declarations": [],
|
|
18869
18894
|
"exports": [
|
|
18870
18895
|
{
|
|
18871
18896
|
"kind": "js",
|
|
18872
|
-
"name": "
|
|
18897
|
+
"name": "VaultErrorMessage",
|
|
18873
18898
|
"declaration": {
|
|
18874
|
-
"name": "
|
|
18875
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18899
|
+
"name": "VaultErrorMessageComponent",
|
|
18900
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.ts"
|
|
18876
18901
|
}
|
|
18877
18902
|
}
|
|
18878
18903
|
]
|
|
18879
18904
|
},
|
|
18880
18905
|
{
|
|
18881
18906
|
"kind": "javascript-module",
|
|
18882
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18907
|
+
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts",
|
|
18883
18908
|
"declarations": [
|
|
18884
18909
|
{
|
|
18885
18910
|
"kind": "class",
|
|
18886
|
-
"description": "
|
|
18887
|
-
"name": "
|
|
18911
|
+
"description": "VaultManagerHeaderComponent - displays the header for the vault manager",
|
|
18912
|
+
"name": "VaultManagerHeaderComponent",
|
|
18888
18913
|
"members": [
|
|
18889
18914
|
{
|
|
18890
18915
|
"kind": "field",
|
|
@@ -18903,84 +18928,103 @@
|
|
|
18903
18928
|
},
|
|
18904
18929
|
{
|
|
18905
18930
|
"kind": "field",
|
|
18906
|
-
"name": "
|
|
18931
|
+
"name": "isEditMode",
|
|
18907
18932
|
"type": {
|
|
18908
|
-
"text": "
|
|
18933
|
+
"text": "boolean"
|
|
18909
18934
|
},
|
|
18910
|
-
"default": "
|
|
18911
|
-
"description": "
|
|
18912
|
-
"attribute": "
|
|
18935
|
+
"default": "false",
|
|
18936
|
+
"description": "Whether we're in edit mode",
|
|
18937
|
+
"attribute": "isEditMode"
|
|
18913
18938
|
},
|
|
18914
18939
|
{
|
|
18915
18940
|
"kind": "field",
|
|
18916
|
-
"name": "
|
|
18941
|
+
"name": "hasPaymentMethods",
|
|
18942
|
+
"type": {
|
|
18943
|
+
"text": "boolean"
|
|
18944
|
+
},
|
|
18945
|
+
"default": "false",
|
|
18946
|
+
"description": "Whether we have payment methods to edit",
|
|
18947
|
+
"attribute": "hasPaymentMethods"
|
|
18948
|
+
},
|
|
18949
|
+
{
|
|
18950
|
+
"kind": "field",
|
|
18951
|
+
"name": "toggleEditMode",
|
|
18917
18952
|
"privacy": "private",
|
|
18918
|
-
"description": "
|
|
18953
|
+
"description": "Toggle edit mode"
|
|
18919
18954
|
}
|
|
18920
18955
|
],
|
|
18921
18956
|
"attributes": [
|
|
18922
18957
|
{
|
|
18923
|
-
"name": "
|
|
18958
|
+
"name": "isEditMode",
|
|
18924
18959
|
"type": {
|
|
18925
|
-
"text": "
|
|
18960
|
+
"text": "boolean"
|
|
18926
18961
|
},
|
|
18927
|
-
"default": "
|
|
18928
|
-
"description": "
|
|
18929
|
-
"fieldName": "
|
|
18962
|
+
"default": "false",
|
|
18963
|
+
"description": "Whether we're in edit mode",
|
|
18964
|
+
"fieldName": "isEditMode"
|
|
18965
|
+
},
|
|
18966
|
+
{
|
|
18967
|
+
"name": "hasPaymentMethods",
|
|
18968
|
+
"type": {
|
|
18969
|
+
"text": "boolean"
|
|
18970
|
+
},
|
|
18971
|
+
"default": "false",
|
|
18972
|
+
"description": "Whether we have payment methods to edit",
|
|
18973
|
+
"fieldName": "hasPaymentMethods"
|
|
18930
18974
|
}
|
|
18931
18975
|
],
|
|
18932
18976
|
"superclass": {
|
|
18933
18977
|
"name": "LitElement",
|
|
18934
18978
|
"package": "lit"
|
|
18935
18979
|
},
|
|
18936
|
-
"tagName": "primer-vault-
|
|
18980
|
+
"tagName": "primer-vault-manager-header",
|
|
18937
18981
|
"customElement": true
|
|
18938
18982
|
}
|
|
18939
18983
|
],
|
|
18940
18984
|
"exports": [
|
|
18941
18985
|
{
|
|
18942
18986
|
"kind": "js",
|
|
18943
|
-
"name": "
|
|
18987
|
+
"name": "VaultManagerHeaderComponent",
|
|
18944
18988
|
"declaration": {
|
|
18945
|
-
"name": "
|
|
18946
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18989
|
+
"name": "VaultManagerHeaderComponent",
|
|
18990
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts"
|
|
18947
18991
|
}
|
|
18948
18992
|
},
|
|
18949
18993
|
{
|
|
18950
18994
|
"kind": "custom-element-definition",
|
|
18951
|
-
"name": "primer-vault-
|
|
18995
|
+
"name": "primer-vault-manager-header",
|
|
18952
18996
|
"declaration": {
|
|
18953
|
-
"name": "
|
|
18954
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18997
|
+
"name": "VaultManagerHeaderComponent",
|
|
18998
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts"
|
|
18955
18999
|
}
|
|
18956
19000
|
}
|
|
18957
19001
|
]
|
|
18958
19002
|
},
|
|
18959
19003
|
{
|
|
18960
19004
|
"kind": "javascript-module",
|
|
18961
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
19005
|
+
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.styles.ts",
|
|
18962
19006
|
"declarations": [],
|
|
18963
19007
|
"exports": [
|
|
18964
19008
|
{
|
|
18965
19009
|
"kind": "js",
|
|
18966
19010
|
"name": "default",
|
|
18967
19011
|
"declaration": {
|
|
18968
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
19012
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.styles.ts"
|
|
18969
19013
|
}
|
|
18970
19014
|
}
|
|
18971
19015
|
]
|
|
18972
19016
|
},
|
|
18973
19017
|
{
|
|
18974
19018
|
"kind": "javascript-module",
|
|
18975
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
19019
|
+
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.ts",
|
|
18976
19020
|
"declarations": [],
|
|
18977
19021
|
"exports": [
|
|
18978
19022
|
{
|
|
18979
19023
|
"kind": "js",
|
|
18980
|
-
"name": "
|
|
19024
|
+
"name": "VaultManagerHeader",
|
|
18981
19025
|
"declaration": {
|
|
18982
|
-
"name": "
|
|
18983
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
19026
|
+
"name": "VaultManagerHeaderComponent",
|
|
19027
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.ts"
|
|
18984
19028
|
}
|
|
18985
19029
|
}
|
|
18986
19030
|
]
|