@kong-ui-public/spec-renderer 2.4.3 → 2.4.4

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.
@@ -47197,7 +47197,7 @@ const vk = /* @__PURE__ */ T$(z$), Jh = "default", R$ = "#3a3f51", N$ = "#afb7c5
47197
47197
  ], 10, L$);
47198
47198
  };
47199
47199
  }
47200
- }), c3 = /* @__PURE__ */ Qh(H$, [["__scopeId", "data-v-1907b313"]]), V$ = ["aria-label"], W$ = { key: 0 }, J$ = {
47200
+ }), c3 = /* @__PURE__ */ Qh(H$, [["__scopeId", "data-v-5aa4cc51"]]), V$ = ["aria-label"], W$ = { key: 0 }, J$ = {
47201
47201
  key: 0,
47202
47202
  class: "filter-wrapper"
47203
47203
  }, G$ = { key: 1 }, Y$ = ["data-testid"], Q$ = ["id"], Z$ = {
@@ -280,4 +280,4 @@ div#sidebar {
280
280
  top: unset;
281
281
  left: unset;
282
282
  }
283
- `,n.setAttribute("data-testid","relative-sidebar-styles"),this.shadowRoot.appendChild(n)}qa(this,ou)&&t2.use({target:this.shadowRoot,testId:"hide-essentials-styles"});const r={hasSidebar:qa(this,Du),applicationRegistrationEnabled:qa(this,Kd),currentVersion:{version:qa(this,Ud)},onViewSpecClick:()=>{this.dispatchEvent(new CustomEvent("clicked-view-spec",{bubbles:!0}))},onRegisterClick:()=>{this.dispatchEvent(new CustomEvent("clicked-register",{bubbles:!0}))},...qa(this,Fd)};Ll(this,Fs,qm({url:qa(this,zp),spec:qa(this,Nu),domNode:this.rootElement,deepLinking:!0,filter:!0,presets:[qm.presets.apis,qm.SwaggerUIStandalonePreset],plugins:[qm.plugins.DownloadUrl,$I.SwaggerUIKongTheme],layout:"KongLayout",theme:r}))}showOperation(r){if(!qa(this,Fs))return!1;const n=Py(r);return qa(this,Fs).layoutActions.show(n,!0),!0}hideOperation(r){if(!qa(this,Fs))return!1;const n=Py(r);return qa(this,Fs).layoutActions.show(n,!1),!0}scrollToOperation(r){if(!qa(this,Fs))return!1;const n=HI(r);let u=this.shadowRoot.getElementById(n);if(!u){const K=this.shadowRoot.querySelector(`[data-tag='${r.tag}']`);if(!K||(K.click(),u=this.shadowRoot.getElementById(n),!u))return!1}const j=window.matchMedia("(prefers-reduced-motion: no-preference)");let F;j&&j.matches&&(F="smooth"),u.scrollIntoView({behavior:F})}get autoInit(){return qa(this,Ld)}set autoInit(r){Ll(this,Ld,Sh(r))}get hasSidebar(){return qa(this,Du)}set hasSidebar(r){Ll(this,Du,Sh(r))}get relativeSidebar(){return qa(this,Rp)}set relativeSidebar(r){Ll(this,Rp,Sh(r))}get essentialsOnly(){return qa(this,ou)}set essentialsOnly(r){Ll(this,ou,Sh(r))}get instance(){return qa(this,Fs)}get spec(){return qa(this,Nu)}set spec(r){if(!r)return void console.warn("spec cannot be empty");let n;typeof r=="string"?n=JSON.parse(r):typeof r=="object"&&(n=r),Ll(this,Nu,n),qa(this,Fs)&&qa(this,Fs).getSystem().specActions.updateJsonSpec(qa(this,Nu))}get url(){return qa(this,zp)}set url(r){Ll(this,zp,r)}get themeOverrides(){return qa(this,Fd)}set themeOverrides(r){Ll(this,Fd,r)}get applicationRegistrationEnabled(){return qa(this,Kd)}set applicationRegistrationEnabled(r){Ll(this,Kd,Sh(r))}get currentVersion(){return qa(this,Ud)}set currentVersion(r){Ll(this,Ud,r)}static get observedAttributes(){return["url","spec","auto-init","has-sidebar","relative-sidebar","essentials-only","application-registration-enabled","current-version","theme-overrides"]}}Ld=new WeakMap,Nu=new WeakMap,zp=new WeakMap,Du=new WeakMap,Rp=new WeakMap,ou=new WeakMap,Fs=new WeakMap,Fd=new WeakMap,Kd=new WeakMap,Ud=new WeakMap,Et(Ah,"name","kong-swagger-ui"),customElements.get(Ah.name)?console.warn(`Cannot register ${Ah.name}. Element is already defined, ignoring`):customElements.define(Ah.name,Ah)})()})();const r3=["application-registration-enabled","current-version","essentials-only","has-sidebar","relative-sidebar","spec","theme-overrides","url"],o3={key:1,"data-testid":"kong-public-ui-spec-details-error"},a3=er.defineComponent({__name:"SpecDetails",props:{document:{type:Object,default:null},url:{type:String,default:""},hasSidebar:{type:Boolean,default:!1},relativeSidebar:{type:Boolean,default:!1},themeOverrides:{type:Object,default:null},essentialsOnly:{type:Boolean,default:!1},activeOperation:{type:Object,default:null},applicationRegistrationEnabled:{type:Boolean,default:!1},currentVersion:{type:String,default:()=>{}}},setup(jr,{expose:Ko}){const Vo=jr,{i18n:Ln}=Bu.useI18n(),Zt=er.ref(null);Ko({swaggerInstance:Zt});const _=er.computed(()=>!!(Vo.document||Vo.url)),C=er.ref(!1),a=()=>{if(!Zt.value)return;const b={...Vo.activeOperation};if(b&&b.tag){const w=decodeURIComponent(b.tag.trim().replaceAll(/\s/g,"%20"));b.tag=w}Zt.value.showOperation(b),Zt.value.scrollToOperation(b),C.value=!0};return er.onMounted(()=>{Vo.activeOperation&&a()}),er.watch(()=>Vo.activeOperation,()=>{Vo.activeOperation&&a()}),(b,w)=>(er.openBlock(),er.createElementBlock("div",{class:er.normalizeClass(["kong-public-ui-spec-details",{"active-op-focused":C.value}])},[_.value?(er.openBlock(),er.createElementBlock("kong-swagger-ui",{key:0,ref_key:"swaggerRef",ref:Zt,"application-registration-enabled":jr.applicationRegistrationEnabled,"current-version":jr.currentVersion,"data-testid":"kong-public-ui-spec-details-swagger","essentials-only":jr.essentialsOnly,"has-sidebar":jr.hasSidebar,"relative-sidebar":jr.relativeSidebar,spec:jr.document,"theme-overrides":encodeURIComponent(JSON.stringify(jr.themeOverrides)),url:jr.url},null,8,r3)):(er.openBlock(),er.createElementBlock("div",o3,er.toDisplayString(er.unref(Ln).t("specDetails.error")),1))],2))}}),Gd=(jr,Ko)=>{const Vo=jr.__vccOpts||jr;for(const[Ln,Zt]of Ko)Vo[Ln]=Zt;return Vo},lk=Gd(a3,[["__scopeId","data-v-a1538e9b"]]),qi=[];for(let jr=0;jr<256;++jr)qi.push((jr+256).toString(16).slice(1));function n3(jr,Ko=0){return(qi[jr[Ko+0]]+qi[jr[Ko+1]]+qi[jr[Ko+2]]+qi[jr[Ko+3]]+"-"+qi[jr[Ko+4]]+qi[jr[Ko+5]]+"-"+qi[jr[Ko+6]]+qi[jr[Ko+7]]+"-"+qi[jr[Ko+8]]+qi[jr[Ko+9]]+"-"+qi[jr[Ko+10]]+qi[jr[Ko+11]]+qi[jr[Ko+12]]+qi[jr[Ko+13]]+qi[jr[Ko+14]]+qi[jr[Ko+15]]).toLowerCase()}let d0;const i3=new Uint8Array(16);function s3(){if(!d0){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");d0=crypto.getRandomValues.bind(crypto)}return d0(i3)}const Yd={};function l3(jr,Ko,Vo){let Ln;{const Zt=Date.now(),_=s3();c3(Yd,Zt,_),Ln=u3(_,Yd.msecs,Yd.nsecs,Yd.clockseq,Yd.node,Ko,Vo)}return Ko??n3(Ln)}function c3(jr,Ko,Vo){return jr.msecs??(jr.msecs=-1/0),jr.nsecs??(jr.nsecs=0),Ko===jr.msecs?(jr.nsecs++,jr.nsecs>=1e4&&(jr.node=void 0,jr.nsecs=0)):Ko>jr.msecs?jr.nsecs=0:Ko<jr.msecs&&(jr.node=void 0),jr.node||(jr.node=Vo.slice(10,16),jr.node[0]|=1,jr.clockseq=(Vo[8]<<8|Vo[9])&16383),jr.msecs=Ko,jr}function u3(jr,Ko,Vo,Ln,Zt,_,C=0){if(jr.length<16)throw new Error("Random bytes length must be >= 16");if(!_)_=new Uint8Array(16),C=0;else if(C<0||C+16>_.length)throw new RangeError(`UUID byte range ${C}:${C+15} is out of buffer bounds`);Ko??(Ko=Date.now()),Vo??(Vo=0),Ln??(Ln=(jr[8]<<8|jr[9])&16383),Zt??(Zt=jr.slice(10,16)),Ko+=122192928e5;const a=((Ko&268435455)*1e4+Vo)%4294967296;_[C++]=a>>>24&255,_[C++]=a>>>16&255,_[C++]=a>>>8&255,_[C++]=a&255;const b=Ko/4294967296*1e4&268435455;_[C++]=b>>>8&255,_[C++]=b&255,_[C++]=b>>>24&15|16,_[C++]=b>>>16&255,_[C++]=Ln>>>8|128,_[C++]=Ln&255;for(let w=0;w<6;++w)_[C++]=Zt[w];return _}var Hh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function p3(jr){return jr&&jr.__esModule&&Object.prototype.hasOwnProperty.call(jr,"default")?jr.default:jr}var Vh={exports:{}};Vh.exports,function(jr,Ko){var Vo=200,Ln="__lodash_hash_undefined__",Zt=9007199254740991,_="[object Arguments]",C="[object Array]",a="[object Boolean]",b="[object Date]",w="[object Error]",S="[object Function]",k="[object GeneratorFunction]",I="[object Map]",R="[object Number]",m="[object Object]",o="[object Promise]",c="[object RegExp]",p="[object Set]",i="[object String]",g="[object Symbol]",x="[object WeakMap]",A="[object ArrayBuffer]",v="[object DataView]",O="[object Float32Array]",T="[object Float64Array]",z="[object Int8Array]",$="[object Int16Array]",q="[object Int32Array]",L="[object Uint8Array]",M="[object Uint8ClampedArray]",V="[object Uint16Array]",W="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ne=/\w*$/,Y=/^\[object .+?Constructor\]$/,xe=/^(?:0|[1-9]\d*)$/,te={};te[_]=te[C]=te[A]=te[v]=te[a]=te[b]=te[O]=te[T]=te[z]=te[$]=te[q]=te[I]=te[R]=te[m]=te[c]=te[p]=te[i]=te[g]=te[L]=te[M]=te[V]=te[W]=!0,te[w]=te[S]=te[x]=!1;var he=typeof Hh=="object"&&Hh&&Hh.Object===Object&&Hh,pe=typeof self=="object"&&self&&self.Object===Object&&self,de=he||pe||Function("return this")(),ye=Ko&&!Ko.nodeType&&Ko,be=ye&&!0&&jr&&!jr.nodeType&&jr,Ie=be&&be.exports===ye;function Ne(Ye,tr){return Ye.set(tr[0],tr[1]),Ye}function Je(Ye,tr){return Ye.add(tr),Ye}function Ze(Ye,tr){for(var zr=-1,to=Ye?Ye.length:0;++zr<to&&tr(Ye[zr],zr,Ye)!==!1;);return Ye}function Be(Ye,tr){for(var zr=-1,to=tr.length,Ia=Ye.length;++zr<to;)Ye[Ia+zr]=tr[zr];return Ye}function Te(Ye,tr,zr,to){for(var Ia=-1,bn=Ye?Ye.length:0;++Ia<bn;)zr=tr(zr,Ye[Ia],Ia,Ye);return zr}function lt(Ye,tr){for(var zr=-1,to=Array(Ye);++zr<Ye;)to[zr]=tr(zr);return to}function dt(Ye,tr){return Ye==null?void 0:Ye[tr]}function Pt(Ye){var tr=!1;if(Ye!=null&&typeof Ye.toString!="function")try{tr=!!(Ye+"")}catch{}return tr}function Xt(Ye){var tr=-1,zr=Array(Ye.size);return Ye.forEach(function(to,Ia){zr[++tr]=[Ia,to]}),zr}function sr(Ye,tr){return function(zr){return Ye(tr(zr))}}function qt(Ye){var tr=-1,zr=Array(Ye.size);return Ye.forEach(function(to){zr[++tr]=to}),zr}var pr=Array.prototype,cr=Function.prototype,Wt=Object.prototype,Mt=de["__core-js_shared__"],Ut=function(){var Ye=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||"");return Ye?"Symbol(src)_1."+Ye:""}(),St=cr.toString,We=Wt.hasOwnProperty,ut=Wt.toString,Ge=RegExp("^"+St.call(We).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tt=Ie?de.Buffer:void 0,it=de.Symbol,Ht=de.Uint8Array,Jt=sr(Object.getPrototypeOf,Object),rr=Object.create,Q=Wt.propertyIsEnumerable,we=pr.splice,Ee=Object.getOwnPropertySymbols,ct=tt?tt.isBuffer:void 0,wt=sr(Object.keys,Object),At=dn(de,"DataView"),pt=dn(de,"Map"),Vt=dn(de,"Promise"),gr=dn(de,"Set"),ur=dn(de,"WeakMap"),qe=dn(Object,"create"),st=_n(At),gt=_n(pt),Rt=_n(Vt),kr=_n(gr),Fr=_n(ur),no=it?it.prototype:void 0,Xr=no?no.valueOf:void 0;function mr(Ye){var tr=-1,zr=Ye?Ye.length:0;for(this.clear();++tr<zr;){var to=Ye[tr];this.set(to[0],to[1])}}function Gt(){this.__data__=qe?qe(null):{}}function Ar(Ye){return this.has(Ye)&&delete this.__data__[Ye]}function ao(Ye){var tr=this.__data__;if(qe){var zr=tr[Ye];return zr===Ln?void 0:zr}return We.call(tr,Ye)?tr[Ye]:void 0}function Eo(Ye){var tr=this.__data__;return qe?tr[Ye]!==void 0:We.call(tr,Ye)}function po(Ye,tr){var zr=this.__data__;return zr[Ye]=qe&&tr===void 0?Ln:tr,this}mr.prototype.clear=Gt,mr.prototype.delete=Ar,mr.prototype.get=ao,mr.prototype.has=Eo,mr.prototype.set=po;function ko(Ye){var tr=-1,zr=Ye?Ye.length:0;for(this.clear();++tr<zr;){var to=Ye[tr];this.set(to[0],to[1])}}function lo(){this.__data__=[]}function $o(Ye){var tr=this.__data__,zr=Nt(tr,Ye);if(zr<0)return!1;var to=tr.length-1;return zr==to?tr.pop():we.call(tr,zr,1),!0}function Bo(Ye){var tr=this.__data__,zr=Nt(tr,Ye);return zr<0?void 0:tr[zr][1]}function ya(Ye){return Nt(this.__data__,Ye)>-1}function Ga(Ye,tr){var zr=this.__data__,to=Nt(zr,Ye);return to<0?zr.push([Ye,tr]):zr[to][1]=tr,this}ko.prototype.clear=lo,ko.prototype.delete=$o,ko.prototype.get=Bo,ko.prototype.has=ya,ko.prototype.set=Ga;function _a(Ye){var tr=-1,zr=Ye?Ye.length:0;for(this.clear();++tr<zr;){var to=Ye[tr];this.set(to[0],to[1])}}function Uo(){this.__data__={hash:new mr,map:new(pt||ko),string:new mr}}function Fa(Ye){return pn(this,Ye).delete(Ye)}function ba(Ye){return pn(this,Ye).get(Ye)}function vo(Ye){return pn(this,Ye).has(Ye)}function pa(Ye,tr){return pn(this,Ye).set(Ye,tr),this}_a.prototype.clear=Uo,_a.prototype.delete=Fa,_a.prototype.get=ba,_a.prototype.has=vo,_a.prototype.set=pa;function so(Ye){this.__data__=new ko(Ye)}function mo(){this.__data__=new ko}function Ca(Ye){return this.__data__.delete(Ye)}function Oa(Ye){return this.__data__.get(Ye)}function To(Ye){return this.__data__.has(Ye)}function mt(Ye,tr){var zr=this.__data__;if(zr instanceof ko){var to=zr.__data__;if(!pt||to.length<Vo-1)return to.push([Ye,tr]),this;zr=this.__data__=new _a(to)}return zr.set(Ye,tr),this}so.prototype.clear=mo,so.prototype.delete=Ca,so.prototype.get=Oa,so.prototype.has=To,so.prototype.set=mt;function Ue(Ye,tr){var zr=ri(Ye)||yi(Ye)?lt(Ye.length,String):[],to=zr.length,Ia=!!to;for(var bn in Ye)We.call(Ye,bn)&&!(Ia&&(bn=="length"||Ai(bn,to)))&&zr.push(bn);return zr}function ht(Ye,tr,zr){var to=Ye[tr];(!(We.call(Ye,tr)&&vi(to,zr))||zr===void 0&&!(tr in Ye))&&(Ye[tr]=zr)}function Nt(Ye,tr){for(var zr=Ye.length;zr--;)if(vi(Ye[zr][0],tr))return zr;return-1}function vr(Ye,tr){return Ye&&ka(tr,Gr(tr),Ye)}function Pr(Ye,tr,zr,to,Ia,bn,Wn){var Dn;if(to&&(Dn=bn?to(Ye,Ia,bn,Wn):to(Ye)),Dn!==void 0)return Dn;if(!Fn(Ye))return Ye;var ns=ri(Ye);if(ns){if(Dn=ci(Ye),!tr)return ho(Ye,Dn)}else{var In=Pa(Ye),Hi=In==S||In==k;if(Xn(Ye))return Po(Ye,tr);if(In==m||In==_||Hi&&!bn){if(Pt(Ye))return bn?Ye:{};if(Dn=Xa(Hi?{}:Ye),!tr)return Za(Ye,vr(Dn,Ye))}else{if(!te[In])return bn?Ye:{};Dn=va(Ye,In,Pr,tr)}}Wn||(Wn=new so);var is=Wn.get(Ye);if(is)return is;if(Wn.set(Ye,Dn),!ns)var ui=zr?fa(Ye):Gr(Ye);return Ze(ui||Ye,function($a,Mi){ui&&(Mi=$a,$a=Ye[Mi]),ht(Dn,Mi,Pr($a,tr,zr,to,Mi,Ye,Wn))}),Dn}function kt(Ye){return Fn(Ye)?rr(Ye):{}}function Dt(Ye,tr,zr){var to=tr(Ye);return ri(Ye)?to:Be(to,zr(Ye))}function Dr(Ye){return ut.call(Ye)}function Cr(Ye){if(!Fn(Ye)||Ya(Ye))return!1;var tr=Ma(Ye)||Pt(Ye)?Ge:Y;return tr.test(_n(Ye))}function oo(Ye){if(!Sn(Ye))return wt(Ye);var tr=[];for(var zr in Object(Ye))We.call(Ye,zr)&&zr!="constructor"&&tr.push(zr);return tr}function Po(Ye,tr){if(tr)return Ye.slice();var zr=new Ye.constructor(Ye.length);return Ye.copy(zr),zr}function Go(Ye){var tr=new Ye.constructor(Ye.byteLength);return new Ht(tr).set(new Ht(Ye)),tr}function na(Ye,tr){var zr=tr?Go(Ye.buffer):Ye.buffer;return new Ye.constructor(zr,Ye.byteOffset,Ye.byteLength)}function wa(Ye,tr,zr){var to=tr?zr(Xt(Ye),!0):Xt(Ye);return Te(to,Ne,new Ye.constructor)}function Na(Ye){var tr=new Ye.constructor(Ye.source,ne.exec(Ye));return tr.lastIndex=Ye.lastIndex,tr}function Da(Ye,tr,zr){var to=tr?zr(qt(Ye),!0):qt(Ye);return Te(to,Je,new Ye.constructor)}function da(Ye){return Xr?Object(Xr.call(Ye)):{}}function Ha(Ye,tr){var zr=tr?Go(Ye.buffer):Ye.buffer;return new Ye.constructor(zr,Ye.byteOffset,Ye.length)}function ho(Ye,tr){var zr=-1,to=Ye.length;for(tr||(tr=Array(to));++zr<to;)tr[zr]=Ye[zr];return tr}function ka(Ye,tr,zr,to){zr||(zr={});for(var Ia=-1,bn=tr.length;++Ia<bn;){var Wn=tr[Ia],Dn=void 0;ht(zr,Wn,Dn===void 0?Ye[Wn]:Dn)}return zr}function Za(Ye,tr){return ka(Ye,Aa(Ye),tr)}function fa(Ye){return Dt(Ye,Gr,Aa)}function pn(Ye,tr){var zr=Ye.__data__;return bi(tr)?zr[typeof tr=="string"?"string":"hash"]:zr.map}function dn(Ye,tr){var zr=dt(Ye,tr);return Cr(zr)?zr:void 0}var Aa=Ee?sr(Ee,Object):$r,Pa=Dr;(At&&Pa(new At(new ArrayBuffer(1)))!=v||pt&&Pa(new pt)!=I||Vt&&Pa(Vt.resolve())!=o||gr&&Pa(new gr)!=p||ur&&Pa(new ur)!=x)&&(Pa=function(Ye){var tr=ut.call(Ye),zr=tr==m?Ye.constructor:void 0,to=zr?_n(zr):void 0;if(to)switch(to){case st:return v;case gt:return I;case Rt:return o;case kr:return p;case Fr:return x}return tr});function ci(Ye){var tr=Ye.length,zr=Ye.constructor(tr);return tr&&typeof Ye[0]=="string"&&We.call(Ye,"index")&&(zr.index=Ye.index,zr.input=Ye.input),zr}function Xa(Ye){return typeof Ye.constructor=="function"&&!Sn(Ye)?kt(Jt(Ye)):{}}function va(Ye,tr,zr,to){var Ia=Ye.constructor;switch(tr){case A:return Go(Ye);case a:case b:return new Ia(+Ye);case v:return na(Ye,to);case O:case T:case z:case $:case q:case L:case M:case V:case W:return Ha(Ye,to);case I:return wa(Ye,to,zr);case R:case i:return new Ia(Ye);case c:return Na(Ye);case p:return Da(Ye,to,zr);case g:return da(Ye)}}function Ai(Ye,tr){return tr=tr??Zt,!!tr&&(typeof Ye=="number"||xe.test(Ye))&&Ye>-1&&Ye%1==0&&Ye<tr}function bi(Ye){var tr=typeof Ye;return tr=="string"||tr=="number"||tr=="symbol"||tr=="boolean"?Ye!=="__proto__":Ye===null}function Ya(Ye){return!!Ut&&Ut in Ye}function Sn(Ye){var tr=Ye&&Ye.constructor,zr=typeof tr=="function"&&tr.prototype||Wt;return Ye===zr}function _n(Ye){if(Ye!=null){try{return St.call(Ye)}catch{}try{return Ye+""}catch{}}return""}function Bi(Ye){return Pr(Ye,!0,!0)}function vi(Ye,tr){return Ye===tr||Ye!==Ye&&tr!==tr}function yi(Ye){return Ba(Ye)&&We.call(Ye,"callee")&&(!Q.call(Ye,"callee")||ut.call(Ye)==_)}var ri=Array.isArray;function gn(Ye){return Ye!=null&&as(Ye.length)&&!Ma(Ye)}function Ba(Ye){return _t(Ye)&&gn(Ye)}var Xn=ct||Qo;function Ma(Ye){var tr=Fn(Ye)?ut.call(Ye):"";return tr==S||tr==k}function as(Ye){return typeof Ye=="number"&&Ye>-1&&Ye%1==0&&Ye<=Zt}function Fn(Ye){var tr=typeof Ye;return!!Ye&&(tr=="object"||tr=="function")}function _t(Ye){return!!Ye&&typeof Ye=="object"}function Gr(Ye){return gn(Ye)?Ue(Ye):oo(Ye)}function $r(){return[]}function Qo(){return!1}jr.exports=Bi}(Vh,Vh.exports);var d3=Vh.exports;const g0=p3(d3),Fp="default",g3="#3a3f51",h3="#afb7c5",ck="20px",f3=["aria-controls","aria-expanded","aria-label"],m3={"aria-hidden":"true",class:"icon-wrapper"},b3={"aria-hidden":"true",class:"label truncated"},v3=["title"],uk=Gd(er.defineComponent({__name:"OperationsListSectionHeader",props:{isCollapsed:{type:Boolean,required:!0},name:{type:String,required:!0},description:{type:String,default:void 0},contentElementId:{type:String,required:!0}},emits:["toggle"],setup(jr){const Ko=jr,{i18n:Vo}=Bu.useI18n(),Ln=er.computed(()=>Ko.isCollapsed?Vo.t("specOperationsList.section.expandAriaLabel",{section:`"${Ko.name}"`}):Vo.t("specOperationsList.section.collapseAriaLabel",{section:`"${Ko.name}"`}));return(Zt,_)=>(er.openBlock(),er.createElementBlock("button",{"aria-controls":jr.contentElementId,"aria-expanded":jr.isCollapsed?"false":"true","aria-label":Ln.value,class:er.normalizeClass(["header",{"header--collapsed":jr.isCollapsed}]),type:"button",onClick:_[0]||(_[0]=C=>Zt.$emit("toggle"))},[er.createElementVNode("div",m3,[jr.isCollapsed?(er.openBlock(),er.createBlock(er.unref(Lp.ChevronRightIcon),{key:0,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-collapsed, ${er.unref(h3)})`,size:er.unref(ck)},null,8,["color","size"])):(er.openBlock(),er.createBlock(er.unref(Lp.ChevronDownIcon),{key:1,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-expanded, ${er.unref(g3)})`,size:er.unref(ck)},null,8,["color","size"]))]),er.createElementVNode("h1",b3,er.toDisplayString(jr.name),1),er.createElementVNode("div",{class:"description truncated",title:jr.description},er.toDisplayString(jr.description),9,v3)],10,f3))}}),[["__scopeId","data-v-3f1b0d9c"]]),y3=["data-testid"],w3=["title"],k3={class:"details"},x3=["aria-label","title"],pk=Gd(er.defineComponent({__name:"OperationsListItem",props:{item:{type:Object,required:!0,validator:jr=>jr.method!==void 0&&jr.summary!==void 0&&jr.path!==void 0},isSelected:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1}},emits:["click"],setup(jr){const Ko=jr,{i18n:Vo}=Bu.useI18n(),Ln=er.computed(()=>{var _,C;return`spec-operations-list-item-${(_=Ko.item.method)==null?void 0:_.toLowerCase()}${(C=Ko.item.path)==null?void 0:C.replaceAll("/","-")}-${Ko.item.tag||"-"}`}),Zt=er.computed(()=>Ko.item.method||"");return(_,C)=>{const a=er.resolveComponent("KBadge");return er.openBlock(),er.createElementBlock("button",{class:er.normalizeClass(["spec-operations-list-item",{"item--selected":jr.isSelected,[`item--method-${jr.item.method}`]:!0,disabled:jr.disableSelection}]),"data-testid":Ln.value,type:"button",onClick:C[0]||(C[0]=b=>_.$emit("click",jr.item))},[jr.item.summary?(er.openBlock(),er.createElementBlock("h2",{key:0,class:"summary truncated",title:jr.item.summary},er.toDisplayString(jr.item.summary),9,w3)):er.createCommentVNode("",!0),er.createElementVNode("div",k3,[er.createVNode(a,{appearance:Zt.value,"aria-label":er.unref(Vo).t("specOperationsList.item.methodAriaLabel",{method:Zt.value.toUpperCase()}),"background-color":"var(--kong-ui-spec-renderer-operations-list-item-method-background)",class:"method-badge",color:"var(--kong-ui-spec-renderer-operations-list-item-method-color)",tabindex:"-1"},{default:er.withCtx(()=>[er.createTextVNode(er.toDisplayString(Zt.value.toUpperCase()),1)]),_:1},8,["appearance","aria-label"]),er.createElementVNode("span",{"aria-label":er.unref(Vo).t("specOperationsList.item.pathAriaLabel",{path:jr.item.path}),class:"path truncated",title:jr.item.path},er.toDisplayString(jr.item.path),9,x3)])],10,y3)}}}),[["__scopeId","data-v-1907b313"]]),E3=["aria-label"],S3={key:0},_3={key:0,class:"filter-wrapper"},O3={key:1},A3=["data-testid"],j3=["id"],C3={key:0,class:"section","data-testid":"spec-operations-list-untagged-items"},P3=["id"],I3={key:2,"data-testid":"kong-ui-public-spec-operations-list-empty"},T3={class:"center"},z3={key:1,"data-testid":"kong-ui-public-spec-operations-list-error"},{getSizeFromString:R3,hasRequiredProps:dk}=Bu.useUtilities(),gk=Gd(er.defineComponent({__name:"SpecOperationsList",props:{operations:{type:Array,required:!0,validator:jr=>!jr.length||dk(jr,["method","path"])},tags:{type:Array,default:()=>[],validator:jr=>!jr.length||dk(jr,["name"])},isFilterable:{type:Boolean,default:!0},filterFunction:{type:Function,default:({items:jr,query:Ko})=>(Ko=Ko.toLowerCase(),jr.filter(Vo=>Vo.tag&&String(Vo.tag).toLowerCase().includes(Ko))),validator:jr=>!!jr&&typeof jr=="function"},deselect:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1},width:{type:String,default:"210"}},emits:["selected"],setup(jr,{emit:Ko}){const Vo=jr,Ln=Ko,{i18n:Zt}=Bu.useI18n(),_=er.computed(()=>l3()),C=er.ref(""),a=er.ref([]),b=er.ref(),w=er.ref([]),S=()=>{const x=a.value;if(!Vo.isFilterable){w.value=x;return}if(!Vo.filterFunction||typeof Vo.filterFunction!="function")throw new Error(`filterFunction property must be a function, got ${typeof Vo.filterFunction}`);w.value=Vo.filterFunction({items:x,query:C.value})},k=er.computed(()=>R3(Vo.width)),I=er.computed(()=>{const x=[];return w.value.forEach(A=>{A.tag&&!x.includes(A.tag)&&x.push(String(A.tag))}),x}),R=er.computed(()=>a.value.filter(x=>!x.tag)),m=x=>{if(!Vo.tags||!Array.isArray(Vo.tags))return"";const A=Vo.tags.find(v=>v.name===x);return(A==null?void 0:A.description)||""},o=x=>w.value.filter(A=>A.tag===x),c=x=>{const A=b.value;return!!A&&A.path===x.path&&A.method===x.method&&A.operationId===x.operationId&&A.tag===x.tag},p=x=>`${_.value}-section-${x.toLowerCase()}`,i=x=>{Vo.disableSelection||(b.value=x,Ln("selected",x))},g=()=>{a.value=[],Vo.operations&&(Vo.operations.forEach(x=>{var v;const A=g0(x);(v=x.tags)!=null&&v.length?x.tags.forEach(O=>{delete A.tags,A.tag=O,a.value.push(g0(A))}):(delete A.tags,A.tag=null,a.value.push(g0(A)))}),S())};return er.watch(()=>Vo.deselect,()=>{Vo.deselect&&(b.value=void 0)}),er.watch(()=>Vo.operations,()=>g()),er.watch(C,()=>S()),er.onMounted(()=>{g()}),(x,A)=>{const v=er.resolveComponent("KInput"),O=er.resolveComponent("KCollapse");return er.openBlock(),er.createElementBlock("section",{"aria-label":er.unref(Zt).t("specOperationsList.ariaLabel"),class:"kong-ui-public-spec-operations-list","data-testid":"kong-ui-public-spec-operations-list",role:"navigation",style:er.normalizeStyle({width:k.value})},[jr.operations?(er.openBlock(),er.createElementBlock("div",S3,[jr.isFilterable?(er.openBlock(),er.createElementBlock("div",_3,[er.createVNode(v,{modelValue:C.value,"onUpdate:modelValue":A[0]||(A[0]=T=>C.value=T),class:"filter-input","data-testid":"spec-operations-list-filter",placeholder:er.unref(Zt).t("specOperationsList.filterPlaceholder")},{before:er.withCtx(()=>[er.createVNode(er.unref(Lp.FilterIcon),{decorative:""})]),_:1},8,["modelValue","placeholder"])])):er.createCommentVNode("",!0),w.value.length?(er.openBlock(),er.createElementBlock("div",O3,[(er.openBlock(!0),er.createElementBlock(er.Fragment,null,er.renderList(I.value,T=>(er.openBlock(),er.createElementBlock("div",{key:T,class:"section-wrapper","data-testid":`spec-operations-list-section-${T.toLowerCase().replaceAll(" ","-")}`},[er.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:er.withCtx(({isCollapsed:z,toggle:$})=>[er.createVNode(uk,{"content-element-id":p(T),"data-testid":`spec-operations-list-section-${T.toLowerCase().replaceAll(" ","-")}-collapse-trigger`,description:m(T),"is-collapsed":z,name:T,onToggle:$},null,8,["content-element-id","data-testid","description","is-collapsed","name","onToggle"])]),default:er.withCtx(()=>[er.createElementVNode("div",{id:p(T)},[(er.openBlock(!0),er.createElementBlock(er.Fragment,null,er.renderList(o(T),z=>er.renderSlot(x.$slots,"item",{key:`${z.path}-${z.method}`,item:z,section:T,select:()=>i(z)},()=>[er.createVNode(pk,{"disable-selection":jr.disableSelection,"is-selected":c(z),item:z,section:T,onClick:i},null,8,["disable-selection","is-selected","item","section"])],!0)),128))],8,j3)]),_:2},1024)],8,A3))),128)),(!jr.isFilterable||!C.value)&&R.value.length?(er.openBlock(),er.createElementBlock("div",C3,[er.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:er.withCtx(({isCollapsed:T,toggle:z})=>[er.createVNode(uk,{"content-element-id":p(er.unref(Fp)),"data-testid":"spec-operations-list-section-untagged-collapse-trigger",description:m(er.unref(Fp)),"is-collapsed":T,name:er.unref(Fp),onToggle:z},null,8,["content-element-id","description","is-collapsed","name","onToggle"])]),default:er.withCtx(()=>[er.createElementVNode("div",{id:p(er.unref(Fp))},[(er.openBlock(!0),er.createElementBlock(er.Fragment,null,er.renderList(R.value,T=>er.renderSlot(x.$slots,"untagged-item",{key:`${T.path}-${T.method}`,item:T,section:er.unref(Fp),select:()=>i(T)},()=>[er.createVNode(pk,{"disable-selection":jr.disableSelection,"is-selected":c(T),item:T,onClick:i},null,8,["disable-selection","is-selected","item"])],!0)),128))],8,P3)]),_:3})])):er.createCommentVNode("",!0)])):(er.openBlock(),er.createElementBlock("div",I3,[er.renderSlot(x.$slots,"empty-state",{},()=>[er.createElementVNode("div",T3,er.toDisplayString(er.unref(Zt).t("specOperationsList.noResults")),1)],!0)]))])):(er.openBlock(),er.createElementBlock("div",z3,[er.renderSlot(x.$slots,"error-state",{},()=>[er.createTextVNode(er.toDisplayString(er.unref(Zt).t("specOperationsList.error")),1)],!0)]))],12,E3)}}}),[["__scopeId","data-v-414f8e91"]]),N3={class:"kong-ui-public-spec-renderer"},D3={key:0,class:"spec-container"},B3={class:"spec-renderer-ops-list-empty-state","data-testid":"spec-renderer-ops-list-empty-state"},M3={key:1,"data-testid":"kong-ui-public-spec-renderer-error"},{hasRequiredProps:hk}=Bu.useUtilities(),$3=Gd(er.defineComponent({__name:"SpecRenderer",props:{spec:{type:Object,required:!0},essentialsOnly:{type:Boolean,default:!1},operationsList:{type:Array,required:!0,validator:jr=>!jr.length||hk(jr,["method","path"])},tags:{type:Array,default:()=>[],validator:jr=>!jr.length||hk(jr,["name"])},navWidth:{type:String,default:"310"},deselect:{type:Boolean,default:!1}},setup(jr){const Ko=jr,{i18n:Vo}=Bu.useI18n(),Ln=er.computed(()=>!!(Ko.spec&&Ko.operationsList)),Zt=er.ref(),_=C=>{Zt.value=C};return(C,a)=>{const b=er.resolveComponent("KEmptyState");return er.openBlock(),er.createElementBlock("div",N3,[Ln.value?(er.openBlock(),er.createElementBlock("div",D3,[er.createVNode(gk,{"data-testid":"spec-renderer-ops-list-content",deselect:jr.deselect,operations:jr.operationsList,tags:jr.tags,width:jr.navWidth,onSelected:_},{"empty-state":er.withCtx(()=>[er.createElementVNode("div",B3,[er.renderSlot(C.$slots,"ops-list-empty-state",{},void 0,!0)])]),_:3},8,["deselect","operations","tags","width"]),er.createVNode(lk,{"active-operation":Zt.value,class:"spec-renderer-details","data-testid":"spec-renderer-details-content",document:jr.spec,"essentials-only":jr.essentialsOnly,"has-sidebar":!1},null,8,["active-operation","document","essentials-only"])])):(er.openBlock(),er.createElementBlock("div",M3,[er.renderSlot(C.$slots,"error-state",{},()=>[er.createVNode(b,{"action-button-visible":!1,"icon-variant":"error"},{title:er.withCtx(()=>[er.createTextVNode(er.toDisplayString(er.unref(Vo).t("specRenderer.error")),1)]),_:1})],!0)]))])}}}),[["__scopeId","data-v-4cfc670e"]]);rn.DEFAULT_UNTAGGED_SECTION_NAME=Fp,rn.SpecDetails=lk,rn.SpecOperationsList=gk,rn.SpecRenderer=$3,Object.defineProperty(rn,Symbol.toStringTag,{value:"Module"})});
283
+ `,n.setAttribute("data-testid","relative-sidebar-styles"),this.shadowRoot.appendChild(n)}qa(this,ou)&&t2.use({target:this.shadowRoot,testId:"hide-essentials-styles"});const r={hasSidebar:qa(this,Du),applicationRegistrationEnabled:qa(this,Kd),currentVersion:{version:qa(this,Ud)},onViewSpecClick:()=>{this.dispatchEvent(new CustomEvent("clicked-view-spec",{bubbles:!0}))},onRegisterClick:()=>{this.dispatchEvent(new CustomEvent("clicked-register",{bubbles:!0}))},...qa(this,Fd)};Ll(this,Fs,qm({url:qa(this,zp),spec:qa(this,Nu),domNode:this.rootElement,deepLinking:!0,filter:!0,presets:[qm.presets.apis,qm.SwaggerUIStandalonePreset],plugins:[qm.plugins.DownloadUrl,$I.SwaggerUIKongTheme],layout:"KongLayout",theme:r}))}showOperation(r){if(!qa(this,Fs))return!1;const n=Py(r);return qa(this,Fs).layoutActions.show(n,!0),!0}hideOperation(r){if(!qa(this,Fs))return!1;const n=Py(r);return qa(this,Fs).layoutActions.show(n,!1),!0}scrollToOperation(r){if(!qa(this,Fs))return!1;const n=HI(r);let u=this.shadowRoot.getElementById(n);if(!u){const K=this.shadowRoot.querySelector(`[data-tag='${r.tag}']`);if(!K||(K.click(),u=this.shadowRoot.getElementById(n),!u))return!1}const j=window.matchMedia("(prefers-reduced-motion: no-preference)");let F;j&&j.matches&&(F="smooth"),u.scrollIntoView({behavior:F})}get autoInit(){return qa(this,Ld)}set autoInit(r){Ll(this,Ld,Sh(r))}get hasSidebar(){return qa(this,Du)}set hasSidebar(r){Ll(this,Du,Sh(r))}get relativeSidebar(){return qa(this,Rp)}set relativeSidebar(r){Ll(this,Rp,Sh(r))}get essentialsOnly(){return qa(this,ou)}set essentialsOnly(r){Ll(this,ou,Sh(r))}get instance(){return qa(this,Fs)}get spec(){return qa(this,Nu)}set spec(r){if(!r)return void console.warn("spec cannot be empty");let n;typeof r=="string"?n=JSON.parse(r):typeof r=="object"&&(n=r),Ll(this,Nu,n),qa(this,Fs)&&qa(this,Fs).getSystem().specActions.updateJsonSpec(qa(this,Nu))}get url(){return qa(this,zp)}set url(r){Ll(this,zp,r)}get themeOverrides(){return qa(this,Fd)}set themeOverrides(r){Ll(this,Fd,r)}get applicationRegistrationEnabled(){return qa(this,Kd)}set applicationRegistrationEnabled(r){Ll(this,Kd,Sh(r))}get currentVersion(){return qa(this,Ud)}set currentVersion(r){Ll(this,Ud,r)}static get observedAttributes(){return["url","spec","auto-init","has-sidebar","relative-sidebar","essentials-only","application-registration-enabled","current-version","theme-overrides"]}}Ld=new WeakMap,Nu=new WeakMap,zp=new WeakMap,Du=new WeakMap,Rp=new WeakMap,ou=new WeakMap,Fs=new WeakMap,Fd=new WeakMap,Kd=new WeakMap,Ud=new WeakMap,Et(Ah,"name","kong-swagger-ui"),customElements.get(Ah.name)?console.warn(`Cannot register ${Ah.name}. Element is already defined, ignoring`):customElements.define(Ah.name,Ah)})()})();const r3=["application-registration-enabled","current-version","essentials-only","has-sidebar","relative-sidebar","spec","theme-overrides","url"],o3={key:1,"data-testid":"kong-public-ui-spec-details-error"},a3=er.defineComponent({__name:"SpecDetails",props:{document:{type:Object,default:null},url:{type:String,default:""},hasSidebar:{type:Boolean,default:!1},relativeSidebar:{type:Boolean,default:!1},themeOverrides:{type:Object,default:null},essentialsOnly:{type:Boolean,default:!1},activeOperation:{type:Object,default:null},applicationRegistrationEnabled:{type:Boolean,default:!1},currentVersion:{type:String,default:()=>{}}},setup(jr,{expose:Ko}){const Vo=jr,{i18n:Ln}=Bu.useI18n(),Zt=er.ref(null);Ko({swaggerInstance:Zt});const _=er.computed(()=>!!(Vo.document||Vo.url)),C=er.ref(!1),a=()=>{if(!Zt.value)return;const b={...Vo.activeOperation};if(b&&b.tag){const w=decodeURIComponent(b.tag.trim().replaceAll(/\s/g,"%20"));b.tag=w}Zt.value.showOperation(b),Zt.value.scrollToOperation(b),C.value=!0};return er.onMounted(()=>{Vo.activeOperation&&a()}),er.watch(()=>Vo.activeOperation,()=>{Vo.activeOperation&&a()}),(b,w)=>(er.openBlock(),er.createElementBlock("div",{class:er.normalizeClass(["kong-public-ui-spec-details",{"active-op-focused":C.value}])},[_.value?(er.openBlock(),er.createElementBlock("kong-swagger-ui",{key:0,ref_key:"swaggerRef",ref:Zt,"application-registration-enabled":jr.applicationRegistrationEnabled,"current-version":jr.currentVersion,"data-testid":"kong-public-ui-spec-details-swagger","essentials-only":jr.essentialsOnly,"has-sidebar":jr.hasSidebar,"relative-sidebar":jr.relativeSidebar,spec:jr.document,"theme-overrides":encodeURIComponent(JSON.stringify(jr.themeOverrides)),url:jr.url},null,8,r3)):(er.openBlock(),er.createElementBlock("div",o3,er.toDisplayString(er.unref(Ln).t("specDetails.error")),1))],2))}}),Gd=(jr,Ko)=>{const Vo=jr.__vccOpts||jr;for(const[Ln,Zt]of Ko)Vo[Ln]=Zt;return Vo},lk=Gd(a3,[["__scopeId","data-v-a1538e9b"]]),qi=[];for(let jr=0;jr<256;++jr)qi.push((jr+256).toString(16).slice(1));function n3(jr,Ko=0){return(qi[jr[Ko+0]]+qi[jr[Ko+1]]+qi[jr[Ko+2]]+qi[jr[Ko+3]]+"-"+qi[jr[Ko+4]]+qi[jr[Ko+5]]+"-"+qi[jr[Ko+6]]+qi[jr[Ko+7]]+"-"+qi[jr[Ko+8]]+qi[jr[Ko+9]]+"-"+qi[jr[Ko+10]]+qi[jr[Ko+11]]+qi[jr[Ko+12]]+qi[jr[Ko+13]]+qi[jr[Ko+14]]+qi[jr[Ko+15]]).toLowerCase()}let d0;const i3=new Uint8Array(16);function s3(){if(!d0){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");d0=crypto.getRandomValues.bind(crypto)}return d0(i3)}const Yd={};function l3(jr,Ko,Vo){let Ln;{const Zt=Date.now(),_=s3();c3(Yd,Zt,_),Ln=u3(_,Yd.msecs,Yd.nsecs,Yd.clockseq,Yd.node,Ko,Vo)}return Ko??n3(Ln)}function c3(jr,Ko,Vo){return jr.msecs??(jr.msecs=-1/0),jr.nsecs??(jr.nsecs=0),Ko===jr.msecs?(jr.nsecs++,jr.nsecs>=1e4&&(jr.node=void 0,jr.nsecs=0)):Ko>jr.msecs?jr.nsecs=0:Ko<jr.msecs&&(jr.node=void 0),jr.node||(jr.node=Vo.slice(10,16),jr.node[0]|=1,jr.clockseq=(Vo[8]<<8|Vo[9])&16383),jr.msecs=Ko,jr}function u3(jr,Ko,Vo,Ln,Zt,_,C=0){if(jr.length<16)throw new Error("Random bytes length must be >= 16");if(!_)_=new Uint8Array(16),C=0;else if(C<0||C+16>_.length)throw new RangeError(`UUID byte range ${C}:${C+15} is out of buffer bounds`);Ko??(Ko=Date.now()),Vo??(Vo=0),Ln??(Ln=(jr[8]<<8|jr[9])&16383),Zt??(Zt=jr.slice(10,16)),Ko+=122192928e5;const a=((Ko&268435455)*1e4+Vo)%4294967296;_[C++]=a>>>24&255,_[C++]=a>>>16&255,_[C++]=a>>>8&255,_[C++]=a&255;const b=Ko/4294967296*1e4&268435455;_[C++]=b>>>8&255,_[C++]=b&255,_[C++]=b>>>24&15|16,_[C++]=b>>>16&255,_[C++]=Ln>>>8|128,_[C++]=Ln&255;for(let w=0;w<6;++w)_[C++]=Zt[w];return _}var Hh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function p3(jr){return jr&&jr.__esModule&&Object.prototype.hasOwnProperty.call(jr,"default")?jr.default:jr}var Vh={exports:{}};Vh.exports,function(jr,Ko){var Vo=200,Ln="__lodash_hash_undefined__",Zt=9007199254740991,_="[object Arguments]",C="[object Array]",a="[object Boolean]",b="[object Date]",w="[object Error]",S="[object Function]",k="[object GeneratorFunction]",I="[object Map]",R="[object Number]",m="[object Object]",o="[object Promise]",c="[object RegExp]",p="[object Set]",i="[object String]",g="[object Symbol]",x="[object WeakMap]",A="[object ArrayBuffer]",v="[object DataView]",O="[object Float32Array]",T="[object Float64Array]",z="[object Int8Array]",$="[object Int16Array]",q="[object Int32Array]",L="[object Uint8Array]",M="[object Uint8ClampedArray]",V="[object Uint16Array]",W="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ne=/\w*$/,Y=/^\[object .+?Constructor\]$/,xe=/^(?:0|[1-9]\d*)$/,te={};te[_]=te[C]=te[A]=te[v]=te[a]=te[b]=te[O]=te[T]=te[z]=te[$]=te[q]=te[I]=te[R]=te[m]=te[c]=te[p]=te[i]=te[g]=te[L]=te[M]=te[V]=te[W]=!0,te[w]=te[S]=te[x]=!1;var he=typeof Hh=="object"&&Hh&&Hh.Object===Object&&Hh,pe=typeof self=="object"&&self&&self.Object===Object&&self,de=he||pe||Function("return this")(),ye=Ko&&!Ko.nodeType&&Ko,be=ye&&!0&&jr&&!jr.nodeType&&jr,Ie=be&&be.exports===ye;function Ne(Ye,tr){return Ye.set(tr[0],tr[1]),Ye}function Je(Ye,tr){return Ye.add(tr),Ye}function Ze(Ye,tr){for(var zr=-1,to=Ye?Ye.length:0;++zr<to&&tr(Ye[zr],zr,Ye)!==!1;);return Ye}function Be(Ye,tr){for(var zr=-1,to=tr.length,Ia=Ye.length;++zr<to;)Ye[Ia+zr]=tr[zr];return Ye}function Te(Ye,tr,zr,to){for(var Ia=-1,bn=Ye?Ye.length:0;++Ia<bn;)zr=tr(zr,Ye[Ia],Ia,Ye);return zr}function lt(Ye,tr){for(var zr=-1,to=Array(Ye);++zr<Ye;)to[zr]=tr(zr);return to}function dt(Ye,tr){return Ye==null?void 0:Ye[tr]}function Pt(Ye){var tr=!1;if(Ye!=null&&typeof Ye.toString!="function")try{tr=!!(Ye+"")}catch{}return tr}function Xt(Ye){var tr=-1,zr=Array(Ye.size);return Ye.forEach(function(to,Ia){zr[++tr]=[Ia,to]}),zr}function sr(Ye,tr){return function(zr){return Ye(tr(zr))}}function qt(Ye){var tr=-1,zr=Array(Ye.size);return Ye.forEach(function(to){zr[++tr]=to}),zr}var pr=Array.prototype,cr=Function.prototype,Wt=Object.prototype,Mt=de["__core-js_shared__"],Ut=function(){var Ye=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||"");return Ye?"Symbol(src)_1."+Ye:""}(),St=cr.toString,We=Wt.hasOwnProperty,ut=Wt.toString,Ge=RegExp("^"+St.call(We).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tt=Ie?de.Buffer:void 0,it=de.Symbol,Ht=de.Uint8Array,Jt=sr(Object.getPrototypeOf,Object),rr=Object.create,Q=Wt.propertyIsEnumerable,we=pr.splice,Ee=Object.getOwnPropertySymbols,ct=tt?tt.isBuffer:void 0,wt=sr(Object.keys,Object),At=dn(de,"DataView"),pt=dn(de,"Map"),Vt=dn(de,"Promise"),gr=dn(de,"Set"),ur=dn(de,"WeakMap"),qe=dn(Object,"create"),st=_n(At),gt=_n(pt),Rt=_n(Vt),kr=_n(gr),Fr=_n(ur),no=it?it.prototype:void 0,Xr=no?no.valueOf:void 0;function mr(Ye){var tr=-1,zr=Ye?Ye.length:0;for(this.clear();++tr<zr;){var to=Ye[tr];this.set(to[0],to[1])}}function Gt(){this.__data__=qe?qe(null):{}}function Ar(Ye){return this.has(Ye)&&delete this.__data__[Ye]}function ao(Ye){var tr=this.__data__;if(qe){var zr=tr[Ye];return zr===Ln?void 0:zr}return We.call(tr,Ye)?tr[Ye]:void 0}function Eo(Ye){var tr=this.__data__;return qe?tr[Ye]!==void 0:We.call(tr,Ye)}function po(Ye,tr){var zr=this.__data__;return zr[Ye]=qe&&tr===void 0?Ln:tr,this}mr.prototype.clear=Gt,mr.prototype.delete=Ar,mr.prototype.get=ao,mr.prototype.has=Eo,mr.prototype.set=po;function ko(Ye){var tr=-1,zr=Ye?Ye.length:0;for(this.clear();++tr<zr;){var to=Ye[tr];this.set(to[0],to[1])}}function lo(){this.__data__=[]}function $o(Ye){var tr=this.__data__,zr=Nt(tr,Ye);if(zr<0)return!1;var to=tr.length-1;return zr==to?tr.pop():we.call(tr,zr,1),!0}function Bo(Ye){var tr=this.__data__,zr=Nt(tr,Ye);return zr<0?void 0:tr[zr][1]}function ya(Ye){return Nt(this.__data__,Ye)>-1}function Ga(Ye,tr){var zr=this.__data__,to=Nt(zr,Ye);return to<0?zr.push([Ye,tr]):zr[to][1]=tr,this}ko.prototype.clear=lo,ko.prototype.delete=$o,ko.prototype.get=Bo,ko.prototype.has=ya,ko.prototype.set=Ga;function _a(Ye){var tr=-1,zr=Ye?Ye.length:0;for(this.clear();++tr<zr;){var to=Ye[tr];this.set(to[0],to[1])}}function Uo(){this.__data__={hash:new mr,map:new(pt||ko),string:new mr}}function Fa(Ye){return pn(this,Ye).delete(Ye)}function ba(Ye){return pn(this,Ye).get(Ye)}function vo(Ye){return pn(this,Ye).has(Ye)}function pa(Ye,tr){return pn(this,Ye).set(Ye,tr),this}_a.prototype.clear=Uo,_a.prototype.delete=Fa,_a.prototype.get=ba,_a.prototype.has=vo,_a.prototype.set=pa;function so(Ye){this.__data__=new ko(Ye)}function mo(){this.__data__=new ko}function Ca(Ye){return this.__data__.delete(Ye)}function Oa(Ye){return this.__data__.get(Ye)}function To(Ye){return this.__data__.has(Ye)}function mt(Ye,tr){var zr=this.__data__;if(zr instanceof ko){var to=zr.__data__;if(!pt||to.length<Vo-1)return to.push([Ye,tr]),this;zr=this.__data__=new _a(to)}return zr.set(Ye,tr),this}so.prototype.clear=mo,so.prototype.delete=Ca,so.prototype.get=Oa,so.prototype.has=To,so.prototype.set=mt;function Ue(Ye,tr){var zr=ri(Ye)||yi(Ye)?lt(Ye.length,String):[],to=zr.length,Ia=!!to;for(var bn in Ye)We.call(Ye,bn)&&!(Ia&&(bn=="length"||Ai(bn,to)))&&zr.push(bn);return zr}function ht(Ye,tr,zr){var to=Ye[tr];(!(We.call(Ye,tr)&&vi(to,zr))||zr===void 0&&!(tr in Ye))&&(Ye[tr]=zr)}function Nt(Ye,tr){for(var zr=Ye.length;zr--;)if(vi(Ye[zr][0],tr))return zr;return-1}function vr(Ye,tr){return Ye&&ka(tr,Gr(tr),Ye)}function Pr(Ye,tr,zr,to,Ia,bn,Wn){var Dn;if(to&&(Dn=bn?to(Ye,Ia,bn,Wn):to(Ye)),Dn!==void 0)return Dn;if(!Fn(Ye))return Ye;var ns=ri(Ye);if(ns){if(Dn=ci(Ye),!tr)return ho(Ye,Dn)}else{var In=Pa(Ye),Hi=In==S||In==k;if(Xn(Ye))return Po(Ye,tr);if(In==m||In==_||Hi&&!bn){if(Pt(Ye))return bn?Ye:{};if(Dn=Xa(Hi?{}:Ye),!tr)return Za(Ye,vr(Dn,Ye))}else{if(!te[In])return bn?Ye:{};Dn=va(Ye,In,Pr,tr)}}Wn||(Wn=new so);var is=Wn.get(Ye);if(is)return is;if(Wn.set(Ye,Dn),!ns)var ui=zr?fa(Ye):Gr(Ye);return Ze(ui||Ye,function($a,Mi){ui&&(Mi=$a,$a=Ye[Mi]),ht(Dn,Mi,Pr($a,tr,zr,to,Mi,Ye,Wn))}),Dn}function kt(Ye){return Fn(Ye)?rr(Ye):{}}function Dt(Ye,tr,zr){var to=tr(Ye);return ri(Ye)?to:Be(to,zr(Ye))}function Dr(Ye){return ut.call(Ye)}function Cr(Ye){if(!Fn(Ye)||Ya(Ye))return!1;var tr=Ma(Ye)||Pt(Ye)?Ge:Y;return tr.test(_n(Ye))}function oo(Ye){if(!Sn(Ye))return wt(Ye);var tr=[];for(var zr in Object(Ye))We.call(Ye,zr)&&zr!="constructor"&&tr.push(zr);return tr}function Po(Ye,tr){if(tr)return Ye.slice();var zr=new Ye.constructor(Ye.length);return Ye.copy(zr),zr}function Go(Ye){var tr=new Ye.constructor(Ye.byteLength);return new Ht(tr).set(new Ht(Ye)),tr}function na(Ye,tr){var zr=tr?Go(Ye.buffer):Ye.buffer;return new Ye.constructor(zr,Ye.byteOffset,Ye.byteLength)}function wa(Ye,tr,zr){var to=tr?zr(Xt(Ye),!0):Xt(Ye);return Te(to,Ne,new Ye.constructor)}function Na(Ye){var tr=new Ye.constructor(Ye.source,ne.exec(Ye));return tr.lastIndex=Ye.lastIndex,tr}function Da(Ye,tr,zr){var to=tr?zr(qt(Ye),!0):qt(Ye);return Te(to,Je,new Ye.constructor)}function da(Ye){return Xr?Object(Xr.call(Ye)):{}}function Ha(Ye,tr){var zr=tr?Go(Ye.buffer):Ye.buffer;return new Ye.constructor(zr,Ye.byteOffset,Ye.length)}function ho(Ye,tr){var zr=-1,to=Ye.length;for(tr||(tr=Array(to));++zr<to;)tr[zr]=Ye[zr];return tr}function ka(Ye,tr,zr,to){zr||(zr={});for(var Ia=-1,bn=tr.length;++Ia<bn;){var Wn=tr[Ia],Dn=void 0;ht(zr,Wn,Dn===void 0?Ye[Wn]:Dn)}return zr}function Za(Ye,tr){return ka(Ye,Aa(Ye),tr)}function fa(Ye){return Dt(Ye,Gr,Aa)}function pn(Ye,tr){var zr=Ye.__data__;return bi(tr)?zr[typeof tr=="string"?"string":"hash"]:zr.map}function dn(Ye,tr){var zr=dt(Ye,tr);return Cr(zr)?zr:void 0}var Aa=Ee?sr(Ee,Object):$r,Pa=Dr;(At&&Pa(new At(new ArrayBuffer(1)))!=v||pt&&Pa(new pt)!=I||Vt&&Pa(Vt.resolve())!=o||gr&&Pa(new gr)!=p||ur&&Pa(new ur)!=x)&&(Pa=function(Ye){var tr=ut.call(Ye),zr=tr==m?Ye.constructor:void 0,to=zr?_n(zr):void 0;if(to)switch(to){case st:return v;case gt:return I;case Rt:return o;case kr:return p;case Fr:return x}return tr});function ci(Ye){var tr=Ye.length,zr=Ye.constructor(tr);return tr&&typeof Ye[0]=="string"&&We.call(Ye,"index")&&(zr.index=Ye.index,zr.input=Ye.input),zr}function Xa(Ye){return typeof Ye.constructor=="function"&&!Sn(Ye)?kt(Jt(Ye)):{}}function va(Ye,tr,zr,to){var Ia=Ye.constructor;switch(tr){case A:return Go(Ye);case a:case b:return new Ia(+Ye);case v:return na(Ye,to);case O:case T:case z:case $:case q:case L:case M:case V:case W:return Ha(Ye,to);case I:return wa(Ye,to,zr);case R:case i:return new Ia(Ye);case c:return Na(Ye);case p:return Da(Ye,to,zr);case g:return da(Ye)}}function Ai(Ye,tr){return tr=tr??Zt,!!tr&&(typeof Ye=="number"||xe.test(Ye))&&Ye>-1&&Ye%1==0&&Ye<tr}function bi(Ye){var tr=typeof Ye;return tr=="string"||tr=="number"||tr=="symbol"||tr=="boolean"?Ye!=="__proto__":Ye===null}function Ya(Ye){return!!Ut&&Ut in Ye}function Sn(Ye){var tr=Ye&&Ye.constructor,zr=typeof tr=="function"&&tr.prototype||Wt;return Ye===zr}function _n(Ye){if(Ye!=null){try{return St.call(Ye)}catch{}try{return Ye+""}catch{}}return""}function Bi(Ye){return Pr(Ye,!0,!0)}function vi(Ye,tr){return Ye===tr||Ye!==Ye&&tr!==tr}function yi(Ye){return Ba(Ye)&&We.call(Ye,"callee")&&(!Q.call(Ye,"callee")||ut.call(Ye)==_)}var ri=Array.isArray;function gn(Ye){return Ye!=null&&as(Ye.length)&&!Ma(Ye)}function Ba(Ye){return _t(Ye)&&gn(Ye)}var Xn=ct||Qo;function Ma(Ye){var tr=Fn(Ye)?ut.call(Ye):"";return tr==S||tr==k}function as(Ye){return typeof Ye=="number"&&Ye>-1&&Ye%1==0&&Ye<=Zt}function Fn(Ye){var tr=typeof Ye;return!!Ye&&(tr=="object"||tr=="function")}function _t(Ye){return!!Ye&&typeof Ye=="object"}function Gr(Ye){return gn(Ye)?Ue(Ye):oo(Ye)}function $r(){return[]}function Qo(){return!1}jr.exports=Bi}(Vh,Vh.exports);var d3=Vh.exports;const g0=p3(d3),Fp="default",g3="#3a3f51",h3="#afb7c5",ck="20px",f3=["aria-controls","aria-expanded","aria-label"],m3={"aria-hidden":"true",class:"icon-wrapper"},b3={"aria-hidden":"true",class:"label truncated"},v3=["title"],uk=Gd(er.defineComponent({__name:"OperationsListSectionHeader",props:{isCollapsed:{type:Boolean,required:!0},name:{type:String,required:!0},description:{type:String,default:void 0},contentElementId:{type:String,required:!0}},emits:["toggle"],setup(jr){const Ko=jr,{i18n:Vo}=Bu.useI18n(),Ln=er.computed(()=>Ko.isCollapsed?Vo.t("specOperationsList.section.expandAriaLabel",{section:`"${Ko.name}"`}):Vo.t("specOperationsList.section.collapseAriaLabel",{section:`"${Ko.name}"`}));return(Zt,_)=>(er.openBlock(),er.createElementBlock("button",{"aria-controls":jr.contentElementId,"aria-expanded":jr.isCollapsed?"false":"true","aria-label":Ln.value,class:er.normalizeClass(["header",{"header--collapsed":jr.isCollapsed}]),type:"button",onClick:_[0]||(_[0]=C=>Zt.$emit("toggle"))},[er.createElementVNode("div",m3,[jr.isCollapsed?(er.openBlock(),er.createBlock(er.unref(Lp.ChevronRightIcon),{key:0,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-collapsed, ${er.unref(h3)})`,size:er.unref(ck)},null,8,["color","size"])):(er.openBlock(),er.createBlock(er.unref(Lp.ChevronDownIcon),{key:1,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-expanded, ${er.unref(g3)})`,size:er.unref(ck)},null,8,["color","size"]))]),er.createElementVNode("h1",b3,er.toDisplayString(jr.name),1),er.createElementVNode("div",{class:"description truncated",title:jr.description},er.toDisplayString(jr.description),9,v3)],10,f3))}}),[["__scopeId","data-v-3f1b0d9c"]]),y3=["data-testid"],w3=["title"],k3={class:"details"},x3=["aria-label","title"],pk=Gd(er.defineComponent({__name:"OperationsListItem",props:{item:{type:Object,required:!0,validator:jr=>jr.method!==void 0&&jr.summary!==void 0&&jr.path!==void 0},isSelected:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1}},emits:["click"],setup(jr){const Ko=jr,{i18n:Vo}=Bu.useI18n(),Ln=er.computed(()=>{var _,C;return`spec-operations-list-item-${(_=Ko.item.method)==null?void 0:_.toLowerCase()}${(C=Ko.item.path)==null?void 0:C.replaceAll("/","-")}-${Ko.item.tag||"-"}`}),Zt=er.computed(()=>Ko.item.method||"");return(_,C)=>{const a=er.resolveComponent("KBadge");return er.openBlock(),er.createElementBlock("button",{class:er.normalizeClass(["spec-operations-list-item",{"item--selected":jr.isSelected,[`item--method-${jr.item.method}`]:!0,disabled:jr.disableSelection}]),"data-testid":Ln.value,type:"button",onClick:C[0]||(C[0]=b=>_.$emit("click",jr.item))},[jr.item.summary?(er.openBlock(),er.createElementBlock("h2",{key:0,class:"summary truncated",title:jr.item.summary},er.toDisplayString(jr.item.summary),9,w3)):er.createCommentVNode("",!0),er.createElementVNode("div",k3,[er.createVNode(a,{appearance:Zt.value,"aria-label":er.unref(Vo).t("specOperationsList.item.methodAriaLabel",{method:Zt.value.toUpperCase()}),"background-color":"var(--kong-ui-spec-renderer-operations-list-item-method-background)",class:"method-badge",color:"var(--kong-ui-spec-renderer-operations-list-item-method-color)",tabindex:"-1"},{default:er.withCtx(()=>[er.createTextVNode(er.toDisplayString(Zt.value.toUpperCase()),1)]),_:1},8,["appearance","aria-label"]),er.createElementVNode("span",{"aria-label":er.unref(Vo).t("specOperationsList.item.pathAriaLabel",{path:jr.item.path}),class:"path truncated",title:jr.item.path},er.toDisplayString(jr.item.path),9,x3)])],10,y3)}}}),[["__scopeId","data-v-5aa4cc51"]]),E3=["aria-label"],S3={key:0},_3={key:0,class:"filter-wrapper"},O3={key:1},A3=["data-testid"],j3=["id"],C3={key:0,class:"section","data-testid":"spec-operations-list-untagged-items"},P3=["id"],I3={key:2,"data-testid":"kong-ui-public-spec-operations-list-empty"},T3={class:"center"},z3={key:1,"data-testid":"kong-ui-public-spec-operations-list-error"},{getSizeFromString:R3,hasRequiredProps:dk}=Bu.useUtilities(),gk=Gd(er.defineComponent({__name:"SpecOperationsList",props:{operations:{type:Array,required:!0,validator:jr=>!jr.length||dk(jr,["method","path"])},tags:{type:Array,default:()=>[],validator:jr=>!jr.length||dk(jr,["name"])},isFilterable:{type:Boolean,default:!0},filterFunction:{type:Function,default:({items:jr,query:Ko})=>(Ko=Ko.toLowerCase(),jr.filter(Vo=>Vo.tag&&String(Vo.tag).toLowerCase().includes(Ko))),validator:jr=>!!jr&&typeof jr=="function"},deselect:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1},width:{type:String,default:"210"}},emits:["selected"],setup(jr,{emit:Ko}){const Vo=jr,Ln=Ko,{i18n:Zt}=Bu.useI18n(),_=er.computed(()=>l3()),C=er.ref(""),a=er.ref([]),b=er.ref(),w=er.ref([]),S=()=>{const x=a.value;if(!Vo.isFilterable){w.value=x;return}if(!Vo.filterFunction||typeof Vo.filterFunction!="function")throw new Error(`filterFunction property must be a function, got ${typeof Vo.filterFunction}`);w.value=Vo.filterFunction({items:x,query:C.value})},k=er.computed(()=>R3(Vo.width)),I=er.computed(()=>{const x=[];return w.value.forEach(A=>{A.tag&&!x.includes(A.tag)&&x.push(String(A.tag))}),x}),R=er.computed(()=>a.value.filter(x=>!x.tag)),m=x=>{if(!Vo.tags||!Array.isArray(Vo.tags))return"";const A=Vo.tags.find(v=>v.name===x);return(A==null?void 0:A.description)||""},o=x=>w.value.filter(A=>A.tag===x),c=x=>{const A=b.value;return!!A&&A.path===x.path&&A.method===x.method&&A.operationId===x.operationId&&A.tag===x.tag},p=x=>`${_.value}-section-${x.toLowerCase()}`,i=x=>{Vo.disableSelection||(b.value=x,Ln("selected",x))},g=()=>{a.value=[],Vo.operations&&(Vo.operations.forEach(x=>{var v;const A=g0(x);(v=x.tags)!=null&&v.length?x.tags.forEach(O=>{delete A.tags,A.tag=O,a.value.push(g0(A))}):(delete A.tags,A.tag=null,a.value.push(g0(A)))}),S())};return er.watch(()=>Vo.deselect,()=>{Vo.deselect&&(b.value=void 0)}),er.watch(()=>Vo.operations,()=>g()),er.watch(C,()=>S()),er.onMounted(()=>{g()}),(x,A)=>{const v=er.resolveComponent("KInput"),O=er.resolveComponent("KCollapse");return er.openBlock(),er.createElementBlock("section",{"aria-label":er.unref(Zt).t("specOperationsList.ariaLabel"),class:"kong-ui-public-spec-operations-list","data-testid":"kong-ui-public-spec-operations-list",role:"navigation",style:er.normalizeStyle({width:k.value})},[jr.operations?(er.openBlock(),er.createElementBlock("div",S3,[jr.isFilterable?(er.openBlock(),er.createElementBlock("div",_3,[er.createVNode(v,{modelValue:C.value,"onUpdate:modelValue":A[0]||(A[0]=T=>C.value=T),class:"filter-input","data-testid":"spec-operations-list-filter",placeholder:er.unref(Zt).t("specOperationsList.filterPlaceholder")},{before:er.withCtx(()=>[er.createVNode(er.unref(Lp.FilterIcon),{decorative:""})]),_:1},8,["modelValue","placeholder"])])):er.createCommentVNode("",!0),w.value.length?(er.openBlock(),er.createElementBlock("div",O3,[(er.openBlock(!0),er.createElementBlock(er.Fragment,null,er.renderList(I.value,T=>(er.openBlock(),er.createElementBlock("div",{key:T,class:"section-wrapper","data-testid":`spec-operations-list-section-${T.toLowerCase().replaceAll(" ","-")}`},[er.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:er.withCtx(({isCollapsed:z,toggle:$})=>[er.createVNode(uk,{"content-element-id":p(T),"data-testid":`spec-operations-list-section-${T.toLowerCase().replaceAll(" ","-")}-collapse-trigger`,description:m(T),"is-collapsed":z,name:T,onToggle:$},null,8,["content-element-id","data-testid","description","is-collapsed","name","onToggle"])]),default:er.withCtx(()=>[er.createElementVNode("div",{id:p(T)},[(er.openBlock(!0),er.createElementBlock(er.Fragment,null,er.renderList(o(T),z=>er.renderSlot(x.$slots,"item",{key:`${z.path}-${z.method}`,item:z,section:T,select:()=>i(z)},()=>[er.createVNode(pk,{"disable-selection":jr.disableSelection,"is-selected":c(z),item:z,section:T,onClick:i},null,8,["disable-selection","is-selected","item","section"])],!0)),128))],8,j3)]),_:2},1024)],8,A3))),128)),(!jr.isFilterable||!C.value)&&R.value.length?(er.openBlock(),er.createElementBlock("div",C3,[er.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:er.withCtx(({isCollapsed:T,toggle:z})=>[er.createVNode(uk,{"content-element-id":p(er.unref(Fp)),"data-testid":"spec-operations-list-section-untagged-collapse-trigger",description:m(er.unref(Fp)),"is-collapsed":T,name:er.unref(Fp),onToggle:z},null,8,["content-element-id","description","is-collapsed","name","onToggle"])]),default:er.withCtx(()=>[er.createElementVNode("div",{id:p(er.unref(Fp))},[(er.openBlock(!0),er.createElementBlock(er.Fragment,null,er.renderList(R.value,T=>er.renderSlot(x.$slots,"untagged-item",{key:`${T.path}-${T.method}`,item:T,section:er.unref(Fp),select:()=>i(T)},()=>[er.createVNode(pk,{"disable-selection":jr.disableSelection,"is-selected":c(T),item:T,onClick:i},null,8,["disable-selection","is-selected","item"])],!0)),128))],8,P3)]),_:3})])):er.createCommentVNode("",!0)])):(er.openBlock(),er.createElementBlock("div",I3,[er.renderSlot(x.$slots,"empty-state",{},()=>[er.createElementVNode("div",T3,er.toDisplayString(er.unref(Zt).t("specOperationsList.noResults")),1)],!0)]))])):(er.openBlock(),er.createElementBlock("div",z3,[er.renderSlot(x.$slots,"error-state",{},()=>[er.createTextVNode(er.toDisplayString(er.unref(Zt).t("specOperationsList.error")),1)],!0)]))],12,E3)}}}),[["__scopeId","data-v-414f8e91"]]),N3={class:"kong-ui-public-spec-renderer"},D3={key:0,class:"spec-container"},B3={class:"spec-renderer-ops-list-empty-state","data-testid":"spec-renderer-ops-list-empty-state"},M3={key:1,"data-testid":"kong-ui-public-spec-renderer-error"},{hasRequiredProps:hk}=Bu.useUtilities(),$3=Gd(er.defineComponent({__name:"SpecRenderer",props:{spec:{type:Object,required:!0},essentialsOnly:{type:Boolean,default:!1},operationsList:{type:Array,required:!0,validator:jr=>!jr.length||hk(jr,["method","path"])},tags:{type:Array,default:()=>[],validator:jr=>!jr.length||hk(jr,["name"])},navWidth:{type:String,default:"310"},deselect:{type:Boolean,default:!1}},setup(jr){const Ko=jr,{i18n:Vo}=Bu.useI18n(),Ln=er.computed(()=>!!(Ko.spec&&Ko.operationsList)),Zt=er.ref(),_=C=>{Zt.value=C};return(C,a)=>{const b=er.resolveComponent("KEmptyState");return er.openBlock(),er.createElementBlock("div",N3,[Ln.value?(er.openBlock(),er.createElementBlock("div",D3,[er.createVNode(gk,{"data-testid":"spec-renderer-ops-list-content",deselect:jr.deselect,operations:jr.operationsList,tags:jr.tags,width:jr.navWidth,onSelected:_},{"empty-state":er.withCtx(()=>[er.createElementVNode("div",B3,[er.renderSlot(C.$slots,"ops-list-empty-state",{},void 0,!0)])]),_:3},8,["deselect","operations","tags","width"]),er.createVNode(lk,{"active-operation":Zt.value,class:"spec-renderer-details","data-testid":"spec-renderer-details-content",document:jr.spec,"essentials-only":jr.essentialsOnly,"has-sidebar":!1},null,8,["active-operation","document","essentials-only"])])):(er.openBlock(),er.createElementBlock("div",M3,[er.renderSlot(C.$slots,"error-state",{},()=>[er.createVNode(b,{"action-button-visible":!1,"icon-variant":"error"},{title:er.withCtx(()=>[er.createTextVNode(er.toDisplayString(er.unref(Vo).t("specRenderer.error")),1)]),_:1})],!0)]))])}}}),[["__scopeId","data-v-4cfc670e"]]);rn.DEFAULT_UNTAGGED_SECTION_NAME=Fp,rn.SpecDetails=lk,rn.SpecOperationsList=gk,rn.SpecRenderer=$3,Object.defineProperty(rn,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .kong-public-ui-spec-details[data-v-a1538e9b]{color:#000933;color:var(--kong-ui-portal-spec-details-text-color, #000933);font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kong-ui-portal-spec-details-font-family-default, "Inter", Roboto, Helvetica, sans-serif);font-size:16px;font-size:var(--kong-ui-portal-spec-details-font-size, 16px)}main{--kui-operation-summary-path-display: block;--kui-operation-summary-path-overflow: hidden;--kui-operation-summary-path-text-overflow: ellipsis;--kui-operation-summary-path-white-space: nowrap;--kui-operation-summary-path-word-wrap: normal;--kui-operation-summary-path-max-width: 30ch}@media screen and (min-width: 768px){main{--kui-operation-summary-path-max-width: 40ch}}@media screen and (min-width: 1536px){main{--kui-operation-summary-path-max-width: 100ch}}.header[data-v-3f1b0d9c]{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background:var(--kong-ui-spec-renderer-operations-list-section-background, transparent);border:1px solid #e0e4ea;border:1px solid var(--kong-ui-spec-renderer-operations-list-section-border-color, #e0e4ea);border-top-left-radius:4px;border-top-left-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);border-top-right-radius:4px;border-top-right-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);color:currentColor;cursor:pointer;display:flex;padding:8px;padding:var(--kong-ui-spec-renderer-operations-list-section-padding, 8px);width:100%}.header--collapsed[data-v-3f1b0d9c]{border-bottom-left-radius:4px;border-bottom-left-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px)}.label[data-v-3f1b0d9c]{color:currentColor;color:var(--kong-ui-spec-renderer-operations-list-section-label-text-color, currentColor);font-family:inherit;font-size:16px;font-size:var(--kong-ui-spec-renderer-operations-list-section-label-font-size, 16px);font-weight:600;line-height:24px;margin:0 8px 0 0}.label[data-v-3f1b0d9c]:first-letter{text-transform:capitalize}.header--collapsed .label[data-v-3f1b0d9c]{color:#3a3f51;color:var(--kong-ui-spec-renderer-operations-list-section-label-text-color-collapsed, #3a3f51)}.description[data-v-3f1b0d9c]{font-family:JetBrains Mono,Consolas,monospace;font-family:var(--kong-ui-spec-renderer-operations-list-section-description-font-family, var(--kong-ui-spec-renderer-font-monospace, "JetBrains Mono", Consolas, monospace));line-height:1;margin-left:auto;max-width:65%}.icon-wrapper[data-v-3f1b0d9c]{height:18px;margin-right:8px}.truncated[data-v-3f1b0d9c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spec-operations-list-item[data-v-1907b313]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:1px solid #e0e4ea;border:1px solid var(--kong-ui-spec-renderer-operations-list-item-border-color, #e0e4ea);cursor:pointer;display:block;padding:8px 16px;padding:var(--kong-ui-spec-renderer-operations-list-item-padding, 8px 16px);position:relative;text-align:left;width:100%}.spec-operations-list-item.disabled[data-v-1907b313]{cursor:default}.spec-operations-list-item[data-v-1907b313]:hover{background:#f9fafb;background:var(--kong-ui-spec-renderer-operations-list-item-background-hover, #f9fafb)}.spec-operations-list-item:hover .summary[data-v-1907b313],.spec-operations-list-item:hover .path[data-v-1907b313]{color:#000933;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-hover, #000933)}.spec-operations-list-item[data-v-1907b313]:last-of-type{border-bottom-left-radius:4px;border-bottom-left-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px)}.item--selected[data-v-1907b313]{background:#eefaff;background:var(--kong-ui-spec-renderer-operations-list-item-background-selected, #eefaff)}.item--selected[data-v-1907b313]:before{background:#0044f4;background:var(--kong-ui-spec-renderer-operations-list-item-selected-bar-background, #0044f4);bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:4px;width:var(--kong-ui-spec-renderer-operations-list-item-selected-bar-width, 4px)}.item--selected .summary[data-v-1907b313],.item--selected .path[data-v-1907b313]{color:#0b172d;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-selected, #0B172D)}.item--method-get[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-get, #0044f4);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-get, #eefaff)}.item--method-post[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-post, #007d60);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-post, #ecfffb)}.item--method-put[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-put, #995c00);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-put, #fffce0)}.item--method-patch[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-patch, #00819d);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-patch, #ecfcff)}.item--method-delete[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-delete, #d60027);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-delete, #ffe5e5)}.item--method-options[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-options, #52596e);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-options, #e0e4ea)}.item--method-head[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-head, #e0e4ea);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-head, #52596e)}.item--method-connect[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-connect, #6f28ff);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-connect, #f1f0ff)}.item--method-trace[data-v-1907b313]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-trace, #d60067);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-trace, #fff0f7)}.summary[data-v-1907b313]{color:#000933;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color, #000933);font-family:inherit;font-size:12px;font-weight:700;margin:0 0 4px}.details[data-v-1907b313]{display:flex}.truncated[data-v-1907b313]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.method-badge[data-v-1907b313]{font-size:12px;margin-right:8px}.path[data-v-1907b313]{align-self:center;color:#3a3f51;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color, #3a3f51);font-family:JetBrains Mono,Consolas,monospace;font-family:var(--kong-ui-spec-renderer-operations-list-item-path-font-family, var(--kong-ui-spec-renderer-font-family-monospace, "JetBrains Mono", Consolas, monospace));font-size:12px}.kong-ui-public-spec-operations-list[data-v-414f8e91]{color:#000933;color:var(--kong-ui-kong-spec-renderer-operations-list-text-color, var(--kong-ui-spec-renderer-text-color, #000933));font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kong-ui-spec-renderer-operations-list-font-family, var(--kong-ui-spec-renderer-font-family, "Inter", Roboto, Helvetica, sans-serif));font-size:16px;font-size:var(--kong-ui-spec-renderer-operations-list-font-size, var(--kong-ui-spec-renderer-font-size, 16px))}.kong-ui-public-spec-operations-list .filter-wrapper[data-v-414f8e91]{margin-bottom:8px;position:relative}.kong-ui-public-spec-operations-list .filter-input[data-v-414f8e91]{width:100%}.kong-ui-public-spec-operations-list .filter-input[data-v-414f8e91] .input{padding-left:32px}.kong-ui-public-spec-operations-list .section-wrapper[data-v-414f8e91]{margin-bottom:8px}.kong-ui-public-spec-operations-list .section-wrapper[data-v-414f8e91]:last-of-type{margin-bottom:0}.kong-ui-public-spec-operations-list .center[data-v-414f8e91]{text-align:center}.kong-ui-public-spec-operations-list[data-v-414f8e91] .k-collapse .k-collapse-heading{margin:0!important}.kong-ui-public-spec-renderer .spec-container[data-v-4cfc670e]{display:flex}.kong-ui-public-spec-renderer .spec-renderer-details[data-v-4cfc670e]{position:relative;width:100%}
1
+ .kong-public-ui-spec-details[data-v-a1538e9b]{color:#000933;color:var(--kong-ui-portal-spec-details-text-color, #000933);font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kong-ui-portal-spec-details-font-family-default, "Inter", Roboto, Helvetica, sans-serif);font-size:16px;font-size:var(--kong-ui-portal-spec-details-font-size, 16px)}main{--kui-operation-summary-path-display: block;--kui-operation-summary-path-overflow: hidden;--kui-operation-summary-path-text-overflow: ellipsis;--kui-operation-summary-path-white-space: nowrap;--kui-operation-summary-path-word-wrap: normal;--kui-operation-summary-path-max-width: 30ch}@media screen and (min-width: 768px){main{--kui-operation-summary-path-max-width: 40ch}}@media screen and (min-width: 1536px){main{--kui-operation-summary-path-max-width: 100ch}}.header[data-v-3f1b0d9c]{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background:var(--kong-ui-spec-renderer-operations-list-section-background, transparent);border:1px solid #e0e4ea;border:1px solid var(--kong-ui-spec-renderer-operations-list-section-border-color, #e0e4ea);border-top-left-radius:4px;border-top-left-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);border-top-right-radius:4px;border-top-right-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);color:currentColor;cursor:pointer;display:flex;padding:8px;padding:var(--kong-ui-spec-renderer-operations-list-section-padding, 8px);width:100%}.header--collapsed[data-v-3f1b0d9c]{border-bottom-left-radius:4px;border-bottom-left-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px)}.label[data-v-3f1b0d9c]{color:currentColor;color:var(--kong-ui-spec-renderer-operations-list-section-label-text-color, currentColor);font-family:inherit;font-size:16px;font-size:var(--kong-ui-spec-renderer-operations-list-section-label-font-size, 16px);font-weight:600;line-height:24px;margin:0 8px 0 0}.label[data-v-3f1b0d9c]:first-letter{text-transform:capitalize}.header--collapsed .label[data-v-3f1b0d9c]{color:#3a3f51;color:var(--kong-ui-spec-renderer-operations-list-section-label-text-color-collapsed, #3a3f51)}.description[data-v-3f1b0d9c]{font-family:JetBrains Mono,Consolas,monospace;font-family:var(--kong-ui-spec-renderer-operations-list-section-description-font-family, var(--kong-ui-spec-renderer-font-monospace, "JetBrains Mono", Consolas, monospace));line-height:1;margin-left:auto;max-width:65%}.icon-wrapper[data-v-3f1b0d9c]{height:18px;margin-right:8px}.truncated[data-v-3f1b0d9c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spec-operations-list-item[data-v-5aa4cc51]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:1px solid #e0e4ea;border:1px solid var(--kong-ui-spec-renderer-operations-list-item-border-color, #e0e4ea);cursor:pointer;display:block;padding:8px 16px;padding:var(--kong-ui-spec-renderer-operations-list-item-padding, 8px 16px);position:relative;text-align:left;width:100%}.spec-operations-list-item.disabled[data-v-5aa4cc51]{cursor:default}.spec-operations-list-item[data-v-5aa4cc51]:hover{background:#f9fafb;background:var(--kong-ui-spec-renderer-operations-list-item-background-hover, #f9fafb)}.spec-operations-list-item:hover .summary[data-v-5aa4cc51],.spec-operations-list-item:hover .path[data-v-5aa4cc51]{color:#000933;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-hover, #000933)}.spec-operations-list-item[data-v-5aa4cc51]:last-of-type{border-bottom-left-radius:4px;border-bottom-left-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--kong-ui-spec-renderer-operations-list-section-border-radius, 4px)}.item--selected[data-v-5aa4cc51]{background:#eefaff;background:var(--kong-ui-spec-renderer-operations-list-item-background-selected, #eefaff)}.item--selected[data-v-5aa4cc51]:before{background:#0044f4;background:var(--kong-ui-spec-renderer-operations-list-item-selected-bar-background, #0044f4);bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:4px;width:var(--kong-ui-spec-renderer-operations-list-item-selected-bar-width, 4px)}.item--selected .summary[data-v-5aa4cc51],.item--selected .path[data-v-5aa4cc51]{color:#0b172d;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-selected, #0B172D)}.item--method-get[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-get, #0044f4);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-get, #eefaff)}.item--method-post[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-post, #007d60);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-post, #ecfffb)}.item--method-put[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-put, #995c00);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-put, #fffce0)}.item--method-patch[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-patch, #00819d);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-patch, #ecfcff)}.item--method-delete[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-delete, #d60027);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-delete, #ffe5e5)}.item--method-options[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-options, #52596e);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-options, #e0e4ea)}.item--method-head[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-head, #e0e4ea);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-head, #52596e)}.item--method-connect[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-connect, #6f28ff);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-connect, #f1f0ff)}.item--method-trace[data-v-5aa4cc51]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-trace, #d60067);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-trace, #fff0f7)}.summary[data-v-5aa4cc51]{color:#000933;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color, #000933);font-family:inherit;font-size:12px;font-weight:700;margin:0 0 4px}.details[data-v-5aa4cc51]{display:flex}.truncated[data-v-5aa4cc51]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.method-badge[data-v-5aa4cc51]{font-size:12px;margin-right:8px}.path[data-v-5aa4cc51]{align-self:center;color:#3a3f51;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color, #3a3f51);font-family:JetBrains Mono,Consolas,monospace;font-family:var(--kong-ui-spec-renderer-operations-list-item-path-font-family, var(--kong-ui-spec-renderer-font-family-monospace, "JetBrains Mono", Consolas, monospace));font-size:12px}.kong-ui-public-spec-operations-list[data-v-414f8e91]{color:#000933;color:var(--kong-ui-kong-spec-renderer-operations-list-text-color, var(--kong-ui-spec-renderer-text-color, #000933));font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kong-ui-spec-renderer-operations-list-font-family, var(--kong-ui-spec-renderer-font-family, "Inter", Roboto, Helvetica, sans-serif));font-size:16px;font-size:var(--kong-ui-spec-renderer-operations-list-font-size, var(--kong-ui-spec-renderer-font-size, 16px))}.kong-ui-public-spec-operations-list .filter-wrapper[data-v-414f8e91]{margin-bottom:8px;position:relative}.kong-ui-public-spec-operations-list .filter-input[data-v-414f8e91]{width:100%}.kong-ui-public-spec-operations-list .filter-input[data-v-414f8e91] .input{padding-left:32px}.kong-ui-public-spec-operations-list .section-wrapper[data-v-414f8e91]{margin-bottom:8px}.kong-ui-public-spec-operations-list .section-wrapper[data-v-414f8e91]:last-of-type{margin-bottom:0}.kong-ui-public-spec-operations-list .center[data-v-414f8e91]{text-align:center}.kong-ui-public-spec-operations-list[data-v-414f8e91] .k-collapse .k-collapse-heading{margin:0!important}.kong-ui-public-spec-renderer .spec-container[data-v-4cfc670e]{display:flex}.kong-ui-public-spec-renderer .spec-renderer-details[data-v-4cfc670e]{position:relative;width:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/spec-renderer",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "type": "module",
5
5
  "main": "./dist/spec-renderer.umd.js",
6
6
  "module": "./dist/spec-renderer.es.js",
@@ -23,7 +23,7 @@
23
23
  "peerDependencies": {
24
24
  "@kong/kongponents": "^9.37.2",
25
25
  "vue": "^3.5.13",
26
- "@kong-ui-public/i18n": "^2.4.1"
26
+ "@kong-ui-public/i18n": "^2.4.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@kong/design-tokens": "^1.18.0",
@@ -33,7 +33,7 @@
33
33
  "@types/uuid": "^10.0.0",
34
34
  "openapi-types": "^12.1.3",
35
35
  "vue": "^3.5.13",
36
- "@kong-ui-public/i18n": "^2.4.1"
36
+ "@kong-ui-public/i18n": "^2.4.2"
37
37
  },
38
38
  "dependencies": {
39
39
  "@kong-ui-public/swagger-ui-web-component": "^0.12.11",