@kong-ui-public/spec-renderer 0.11.6 → 0.11.7

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.
@@ -53612,7 +53612,7 @@ const pw = /* @__PURE__ */ mI(bI), Ag = "default", vI = "#3a3f51", yI = "#afb7c5
53612
53612
  class: "icon-wrapper"
53613
53613
  }, xI = {
53614
53614
  "aria-hidden": "true",
53615
- class: "label truncate"
53615
+ class: "label truncated"
53616
53616
  }, EI = ["title"], SI = /* @__PURE__ */ bh({
53617
53617
  __name: "OperationsListSectionHeader",
53618
53618
  props: {
@@ -53661,14 +53661,14 @@ const pw = /* @__PURE__ */ mI(bI), Ag = "default", vI = "#3a3f51", yI = "#afb7c5
53661
53661
  ]),
53662
53662
  uu("h1", xI, lu(q.name), 1),
53663
53663
  uu("div", {
53664
- class: "description truncate",
53664
+ class: "description truncated",
53665
53665
  title: q.description
53666
53666
  }, lu(q.description), 9, EI)
53667
53667
  ], 10, wI);
53668
53668
  };
53669
53669
  }
53670
53670
  });
53671
- const Wx = /* @__PURE__ */ Ig(SI, [["__scopeId", "data-v-3a7679db"]]), _I = ["data-testid"], OI = ["title"], AI = { class: "details" }, jI = ["aria-label", "title"], CI = /* @__PURE__ */ bh({
53671
+ const Wx = /* @__PURE__ */ Ig(SI, [["__scopeId", "data-v-e18de61d"]]), _I = ["data-testid"], OI = ["title"], AI = { class: "details" }, jI = ["aria-label", "title"], CI = /* @__PURE__ */ bh({
53672
53672
  __name: "OperationsListItem",
53673
53673
  props: {
53674
53674
  item: {
@@ -53706,7 +53706,7 @@ const Wx = /* @__PURE__ */ Ig(SI, [["__scopeId", "data-v-3a7679db"]]), _I = ["da
53706
53706
  }, [
53707
53707
  q.item.summary ? (Bi(), Yi("h2", {
53708
53708
  key: 0,
53709
- class: "summary truncate",
53709
+ class: "summary truncated",
53710
53710
  title: q.item.summary
53711
53711
  }, lu(q.item.summary), 9, OI)) : dw("", !0),
53712
53712
  uu("div", AI, [
@@ -53725,7 +53725,7 @@ const Wx = /* @__PURE__ */ Ig(SI, [["__scopeId", "data-v-3a7679db"]]), _I = ["da
53725
53725
  }, 8, ["aria-label"]),
53726
53726
  uu("span", {
53727
53727
  "aria-label": bs(Me).t("specOperationsList.item.pathAriaLabel", { path: q.item.path }),
53728
- class: "path truncate",
53728
+ class: "path truncated",
53729
53729
  title: q.item.path
53730
53730
  }, lu(q.item.path), 9, jI)
53731
53731
  ])
@@ -53733,7 +53733,7 @@ const Wx = /* @__PURE__ */ Ig(SI, [["__scopeId", "data-v-3a7679db"]]), _I = ["da
53733
53733
  };
53734
53734
  }
53735
53735
  });
53736
- const Gx = /* @__PURE__ */ Ig(CI, [["__scopeId", "data-v-a4989f17"]]), PI = ["aria-label"], TI = { key: 0 }, II = {
53736
+ const Gx = /* @__PURE__ */ Ig(CI, [["__scopeId", "data-v-e390696e"]]), PI = ["aria-label"], TI = { key: 0 }, II = {
53737
53737
  key: 0,
53738
53738
  class: "filter-wrapper"
53739
53739
  }, RI = { key: 1 }, NI = ["data-testid"], DI = ["id"], BI = {
@@ -234,4 +234,4 @@ div#sidebar {
234
234
  top: unset;
235
235
  left: unset;
236
236
  }
237
- `,r.setAttribute("data-testid","relative-sidebar-styles"),this.shadowRoot.appendChild(r)}za(this,iu)&&Fx.use({target:this.shadowRoot,testId:"hide-essentials-styles"}),Cl(this,Tc,Om({url:za(this,$p),spec:za(this,$u),domNode:this.rootElement,deepLinking:!0,filter:!0,presets:[Om.presets.apis,Om.SwaggerUIStandalonePreset],plugins:[Om.plugins.DownloadUrl,x4.SwaggerUIKongTheme],layout:"KongLayout",theme:{hasSidebar:za(this,qu),applicationRegistrationEnabled:za(this,sh),currentVersion:{version:za(this,ch)},onViewSpecClick:()=>{this.dispatchEvent(new CustomEvent("clicked-view-spec",{bubbles:!0}))},onRegisterClick:()=>{this.dispatchEvent(new CustomEvent("clicked-register",{bubbles:!0}))}}}))}showOperation(r){if(!za(this,Tc))return!1;const n=Gy(r);return za(this,Tc).layoutActions.show(n,!0),!0}hideOperation(r){if(!za(this,Tc))return!1;const n=Gy(r);return za(this,Tc).layoutActions.show(n,!1),!0}scrollToOperation(r){if(!za(this,Tc))return!1;const n=_T(r),i=this.shadowRoot.getElementById(n);if(!i)return!1;const v=window.matchMedia("(prefers-reduced-motion: no-preference)");let O;v&&v.matches&&(O="smooth"),i.scrollIntoView({behavior:O})}get autoInit(){return za(this,ih)}set autoInit(r){Cl(this,ih,pg(r))}get hasSidebar(){return za(this,qu)}set hasSidebar(r){Cl(this,qu,pg(r))}get relativeSidebar(){return za(this,qp)}set relativeSidebar(r){Cl(this,qp,pg(r))}get essentialsOnly(){return za(this,iu)}set essentialsOnly(r){Cl(this,iu,pg(r))}get spec(){return za(this,$u)}set spec(r){if(!r)throw new Error("Spec cannot be empty");let n;typeof r=="string"?n=JSON.parse(r):typeof r=="object"&&(n=r),Cl(this,$u,n),za(this,Tc)&&za(this,Tc).getSystem().specActions.updateJsonSpec(za(this,$u))}get url(){return za(this,$p)}set url(r){Cl(this,$p,r)}get applicationRegistrationEnabled(){return za(this,sh)}set applicationRegistrationEnabled(r){Cl(this,sh,pg(r))}get currentVersion(){return za(this,ch)}set currentVersion(r){Cl(this,ch,r)}static get observedAttributes(){return["url","spec","auto-init","has-sidebar","relative-sidebar","essentials-only","application-registration-enabled","current-version"]}}ih=new WeakMap,$u=new WeakMap,$p=new WeakMap,qu=new WeakMap,qp=new WeakMap,iu=new WeakMap,Tc=new WeakMap,sh=new WeakMap,ch=new WeakMap,n2(fg,"name","kong-swagger-ui"),customElements.get(fg.name)?console.warn(`Cannot register ${fg.name}. Element is already defined, ignoring`):customElements.define(fg.name,fg)})()})();const R6=["application-registration-enabled","current-version","essentials-only","has-sidebar","relative-sidebar","spec","url"],N6={key:1,"data-testid":"kong-public-ui-spec-details-error"},B6=ar.defineComponent({__name:"SpecDetails",props:{document:{type:Object,default:null},url:{type:String,default:""},hasSidebar:{type:Boolean,default:!1},relativeSidebar:{type:Boolean,default:!1},essentialsOnly:{type:Boolean,default:!1},activeOperation:{type:Object,default:null},applicationRegistrationEnabled:{type:Boolean,default:!1},currentVersion:{type:String,default:()=>{}}},setup(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.ref(null),ke=ar.computed(()=>!!(we.document||we.url)),h=ar.ref(!1),x=()=>{if(!Ve.value)return;const o={...we.activeOperation};if(o&&o.tag){const u=decodeURIComponent(o.tag.trim().replaceAll(/\s/g,"%20"));o.tag=u}Ve.value.showOperation(o),Ve.value.scrollToOperation(o),h.value=!0};return ar.onMounted(()=>{we.activeOperation&&x()}),ar.watch(()=>we.activeOperation,()=>{we.activeOperation&&x()}),(o,u)=>(ar.openBlock(),ar.createElementBlock("div",{class:ar.normalizeClass(["kong-public-ui-spec-details",{"active-op-focused":h.value}])},[ke.value?(ar.openBlock(),ar.createElementBlock("kong-swagger-ui",{key:0,ref_key:"swaggerRef",ref:Ve,"application-registration-enabled":q.applicationRegistrationEnabled,"current-version":q.currentVersion,"data-testid":"kong-public-ui-spec-details-swagger","essentials-only":q.essentialsOnly,"has-sidebar":q.hasSidebar,"relative-sidebar":q.relativeSidebar,spec:q.document,url:q.url},null,8,R6)):(ar.openBlock(),ar.createElementBlock("div",N6,ar.toDisplayString(ar.unref(qe).t("specDetails.error")),1))],2))}}),PI="",hh=(q,we)=>{const qe=q.__vccOpts||q;for(const[Ve,ke]of we)qe[Ve]=ke;return qe},Vw=hh(B6,[["__scopeId","data-v-dc89eded"]]);let jg;const D6=new Uint8Array(16);function z6(){if(!jg&&(jg=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!jg))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jg(D6)}const ds=[];for(let q=0;q<256;++q)ds.push((q+256).toString(16).slice(1));function M6(q,we=0){return(ds[q[we+0]]+ds[q[we+1]]+ds[q[we+2]]+ds[q[we+3]]+"-"+ds[q[we+4]]+ds[q[we+5]]+"-"+ds[q[we+6]]+ds[q[we+7]]+"-"+ds[q[we+8]]+ds[q[we+9]]+"-"+ds[q[we+10]]+ds[q[we+11]]+ds[q[we+12]]+ds[q[we+13]]+ds[q[we+14]]+ds[q[we+15]]).toLowerCase()}let Ww,Xb,ev=0,tv=0;function L6(q,we,qe){let Ve=we&&qe||0;const ke=we||new Array(16);q=q||{};let h=q.node||Ww,x=q.clockseq!==void 0?q.clockseq:Xb;if(h==null||x==null){const A=q.random||(q.rng||z6)();h==null&&(h=Ww=[A[0]|1,A[1],A[2],A[3],A[4],A[5]]),x==null&&(x=Xb=(A[6]<<8|A[7])&16383)}let o=q.msecs!==void 0?q.msecs:Date.now(),u=q.nsecs!==void 0?q.nsecs:tv+1;const b=o-ev+(u-tv)/1e4;if(b<0&&q.clockseq===void 0&&(x=x+1&16383),(b<0||o>ev)&&q.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ev=o,tv=u,Xb=x,o+=122192928e5;const w=((o&268435455)*1e4+u)%4294967296;ke[Ve++]=w>>>24&255,ke[Ve++]=w>>>16&255,ke[Ve++]=w>>>8&255,ke[Ve++]=w&255;const y=o/4294967296*1e4&268435455;ke[Ve++]=y>>>8&255,ke[Ve++]=y&255,ke[Ve++]=y>>>24&15|16,ke[Ve++]=y>>>16&255,ke[Ve++]=x>>>8|128,ke[Ve++]=x&255;for(let A=0;A<6;++A)ke[Ve+A]=h[A];return we||M6(ke)}var Cg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function F6(q){return q&&q.__esModule&&Object.prototype.hasOwnProperty.call(q,"default")?q.default:q}var Pg={exports:{}};Pg.exports,function(q,we){var qe=200,Ve="__lodash_hash_undefined__",ke=9007199254740991,h="[object Arguments]",x="[object Array]",o="[object Boolean]",u="[object Date]",b="[object Error]",w="[object Function]",y="[object GeneratorFunction]",A="[object Map]",P="[object Number]",d="[object Object]",a="[object Promise]",l="[object RegExp]",p="[object Set]",s="[object String]",f="[object Symbol]",E="[object WeakMap]",S="[object ArrayBuffer]",m="[object DataView]",j="[object Float32Array]",C="[object Float64Array]",N="[object Int8Array]",R="[object Int16Array]",U="[object Int32Array]",M="[object Uint8Array]",I="[object Uint8ClampedArray]",F="[object Uint16Array]",G="[object Uint32Array]",ne=/[\\^$.*+?()[\]{}|]/g,oe=/\w*$/,Z=/^\[object .+?Constructor\]$/,se=/^(?:0|[1-9]\d*)$/,X={};X[h]=X[x]=X[S]=X[m]=X[o]=X[u]=X[j]=X[C]=X[N]=X[R]=X[U]=X[A]=X[P]=X[d]=X[l]=X[p]=X[s]=X[f]=X[M]=X[I]=X[F]=X[G]=!0,X[b]=X[w]=X[E]=!1;var de=typeof Cg=="object"&&Cg&&Cg.Object===Object&&Cg,te=typeof self=="object"&&self&&self.Object===Object&&self,ae=de||te||Function("return this")(),he=we&&!we.nodeType&&we,Ce=he&&!0&&q&&!q.nodeType&&q,Fe=Ce&&Ce.exports===he;function Se(Xe,cr){return Xe.set(cr[0],cr[1]),Xe}function He(Xe,cr){return Xe.add(cr),Xe}function Ye(Xe,cr){for(var Mr=-1,ko=Xe?Xe.length:0;++Mr<ko&&cr(Xe[Mr],Mr,Xe)!==!1;);return Xe}function Be(Xe,cr){for(var Mr=-1,ko=cr.length,Sa=Xe.length;++Mr<ko;)Xe[Sa+Mr]=cr[Mr];return Xe}function Pe(Xe,cr,Mr,ko){var Sa=-1,Ya=Xe?Xe.length:0;for(ko&&Ya&&(Mr=Xe[++Sa]);++Sa<Ya;)Mr=cr(Mr,Xe[Sa],Sa,Xe);return Mr}function st(Xe,cr){for(var Mr=-1,ko=Array(Xe);++Mr<Xe;)ko[Mr]=cr(Mr);return ko}function dt(Xe,cr){return Xe==null?void 0:Xe[cr]}function _t(Xe){var cr=!1;if(Xe!=null&&typeof Xe.toString!="function")try{cr=!!(Xe+"")}catch{}return cr}function Ut(Xe){var cr=-1,Mr=Array(Xe.size);return Xe.forEach(function(ko,Sa){Mr[++cr]=[Sa,ko]}),Mr}function lr(Xe,cr){return function(Mr){return Xe(cr(Mr))}}function Kt(Xe){var cr=-1,Mr=Array(Xe.size);return Xe.forEach(function(ko){Mr[++cr]=ko}),Mr}var sr=Array.prototype,Sr=Function.prototype,Cr=Object.prototype,Lr=ae["__core-js_shared__"],xr=function(){var Xe=/[^.]+$/.exec(Lr&&Lr.keys&&Lr.keys.IE_PROTO||"");return Xe?"Symbol(src)_1."+Xe:""}(),Mt=Sr.toString,$e=Cr.hasOwnProperty,it=Cr.toString,Tt=RegExp("^"+Mt.call($e).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=Fe?ae.Buffer:void 0,rt=ae.Symbol,Pt=ae.Uint8Array,qt=lr(Object.getPrototypeOf,Object),_r=Object.create,ee=Cr.propertyIsEnumerable,pe=sr.splice,Ee=Object.getOwnPropertySymbols,Qe=Je?Je.isBuffer:void 0,lt=lr(Object.keys,Object),gt=cn(ae,"DataView"),tt=cn(ae,"Map"),It=cn(ae,"Promise"),br=cn(ae,"Set"),Ct=cn(ae,"WeakMap"),De=cn(Object,"create"),Ze=ia(gt),ot=ia(tt),xt=ia(It),kr=ia(br),Br=ia(Ct),Qr=rt?rt.prototype:void 0,to=Qr?Qr.valueOf:void 0;function vo(Xe){var cr=-1,Mr=Xe?Xe.length:0;for(this.clear();++cr<Mr;){var ko=Xe[cr];this.set(ko[0],ko[1])}}function zt(){this.__data__=De?De(null):{}}function Ar(Xe){return this.has(Xe)&&delete this.__data__[Xe]}function Yr(Xe){var cr=this.__data__;if(De){var Mr=cr[Xe];return Mr===Ve?void 0:Mr}return $e.call(cr,Xe)?cr[Xe]:void 0}function mo(Xe){var cr=this.__data__;return De?cr[Xe]!==void 0:$e.call(cr,Xe)}function Po(Xe,cr){var Mr=this.__data__;return Mr[Xe]=De&&cr===void 0?Ve:cr,this}vo.prototype.clear=zt,vo.prototype.delete=Ar,vo.prototype.get=Yr,vo.prototype.has=mo,vo.prototype.set=Po;function lo(Xe){var cr=-1,Mr=Xe?Xe.length:0;for(this.clear();++cr<Mr;){var ko=Xe[cr];this.set(ko[0],ko[1])}}function To(){this.__data__=[]}function jo(Xe){var cr=this.__data__,Mr=wt(cr,Xe);if(Mr<0)return!1;var ko=cr.length-1;return Mr==ko?cr.pop():pe.call(cr,Mr,1),!0}function Mo(Xe){var cr=this.__data__,Mr=wt(cr,Xe);return Mr<0?void 0:cr[Mr][1]}function _n(Xe){return wt(this.__data__,Xe)>-1}function fa(Xe,cr){var Mr=this.__data__,ko=wt(Mr,Xe);return ko<0?Mr.push([Xe,cr]):Mr[ko][1]=cr,this}lo.prototype.clear=To,lo.prototype.delete=jo,lo.prototype.get=Mo,lo.prototype.has=_n,lo.prototype.set=fa;function rn(Xe){var cr=-1,Mr=Xe?Xe.length:0;for(this.clear();++cr<Mr;){var ko=Xe[cr];this.set(ko[0],ko[1])}}function Wo(){this.__data__={hash:new vo,map:new(tt||lo),string:new vo}}function jn(Xe){return ui(this,Xe).delete(Xe)}function Mn(Xe){return ui(this,Xe).get(Xe)}function nr(Xe){return ui(this,Xe).has(Xe)}function gr(Xe,cr){return ui(this,Xe).set(Xe,cr),this}rn.prototype.clear=Wo,rn.prototype.delete=jn,rn.prototype.get=Mn,rn.prototype.has=nr,rn.prototype.set=gr;function ur(Xe){this.__data__=new lo(Xe)}function eo(){this.__data__=new lo}function dr(Xe){return this.__data__.delete(Xe)}function fn(Xe){return this.__data__.get(Xe)}function io(Xe){return this.__data__.has(Xe)}function ht(Xe,cr){var Mr=this.__data__;if(Mr instanceof lo){var ko=Mr.__data__;if(!tt||ko.length<qe-1)return ko.push([Xe,cr]),this;Mr=this.__data__=new rn(ko)}return Mr.set(Xe,cr),this}ur.prototype.clear=eo,ur.prototype.delete=dr,ur.prototype.get=fn,ur.prototype.has=io,ur.prototype.set=ht;function je(Xe,cr){var Mr=Qa(Xe)||Vi(Xe)?st(Xe.length,String):[],ko=Mr.length,Sa=!!ko;for(var Ya in Xe)(cr||$e.call(Xe,Ya))&&!(Sa&&(Ya=="length"||Ki(Ya,ko)))&&Mr.push(Ya);return Mr}function We(Xe,cr,Mr){var ko=Xe[cr];(!($e.call(Xe,cr)&&Bi(ko,Mr))||Mr===void 0&&!(cr in Xe))&&(Xe[cr]=Mr)}function wt(Xe,cr){for(var Mr=Xe.length;Mr--;)if(Bi(Xe[Mr][0],cr))return Mr;return-1}function Ht(Xe,cr){return Xe&&pa(cr,yo(cr),Xe)}function Er(Xe,cr,Mr,ko,Sa,Ya,Za){var ni;if(ko&&(ni=Ya?ko(Xe,Sa,Ya,Za):ko(Xe)),ni!==void 0)return ni;if(!At(Xe))return Xe;var Qi=Qa(Xe);if(Qi){if(ni=qi(Xe),!cr)return Ra(Xe,ni)}else{var Oi=pi(Xe),os=Oi==w||Oi==y;if(Ii(Xe))return No(Xe,cr);if(Oi==d||Oi==h||os&&!Ya){if(_t(Xe))return Ya?Xe:{};if(ni=Fa(os?{}:Xe),!cr)return kn(Xe,Ht(ni,Xe))}else{if(!X[Oi])return Ya?Xe:{};ni=Tn(Xe,Oi,Er,cr)}}Za||(Za=new ur);var Xs=Za.get(Xe);if(Xs)return Xs;if(Za.set(Xe,ni),!Qi)var vs=Mr?wo(Xe):yo(Xe);return Ye(vs||Xe,function(Qn,As){vs&&(As=Qn,Qn=Xe[As]),We(ni,As,Er(Qn,cr,Mr,ko,As,Xe,Za))}),ni}function bt(Xe){return At(Xe)?_r(Xe):{}}function $t(Xe,cr,Mr){var ko=cr(Xe);return Qa(Xe)?ko:Be(ko,Mr(Xe))}function Ir(Xe){return it.call(Xe)}function vr(Xe){if(!At(Xe)||da(Xe))return!1;var cr=sa(Xe)||_t(Xe)?Tt:Z;return cr.test(ia(Xe))}function go(Xe){if(!Ja(Xe))return lt(Xe);var cr=[];for(var Mr in Object(Xe))$e.call(Xe,Mr)&&Mr!="constructor"&&cr.push(Mr);return cr}function No(Xe,cr){if(cr)return Xe.slice();var Mr=new Xe.constructor(Xe.length);return Xe.copy(Mr),Mr}function gn(Xe){var cr=new Xe.constructor(Xe.byteLength);return new Pt(cr).set(new Pt(Xe)),cr}function bn(Xe,cr){var Mr=cr?gn(Xe.buffer):Xe.buffer;return new Xe.constructor(Mr,Xe.byteOffset,Xe.byteLength)}function Zn(Xe,cr,Mr){var ko=cr?Mr(Ut(Xe),!0):Ut(Xe);return Pe(ko,Se,new Xe.constructor)}function ga(Xe){var cr=new Xe.constructor(Xe.source,oe.exec(Xe));return cr.lastIndex=Xe.lastIndex,cr}function ja(Xe,cr,Mr){var ko=cr?Mr(Kt(Xe),!0):Kt(Xe);return Pe(ko,He,new Xe.constructor)}function On(Xe){return to?Object(to.call(Xe)):{}}function ea(Xe,cr){var Mr=cr?gn(Xe.buffer):Xe.buffer;return new Xe.constructor(Mr,Xe.byteOffset,Xe.length)}function Ra(Xe,cr){var Mr=-1,ko=Xe.length;for(cr||(cr=Array(ko));++Mr<ko;)cr[Mr]=Xe[Mr];return cr}function pa(Xe,cr,Mr,ko){Mr||(Mr={});for(var Sa=-1,Ya=cr.length;++Sa<Ya;){var Za=cr[Sa],ni=ko?ko(Mr[Za],Xe[Za],Za,Mr,Xe):void 0;We(Mr,Za,ni===void 0?Xe[Za]:ni)}return Mr}function kn(Xe,cr){return pa(Xe,na(Xe),cr)}function wo(Xe){return $t(Xe,yo,na)}function ui(Xe,cr){var Mr=Xe.__data__;return Na(cr)?Mr[typeof cr=="string"?"string":"hash"]:Mr.map}function cn(Xe,cr){var Mr=dt(Xe,cr);return vr(Mr)?Mr:void 0}var na=Ee?lr(Ee,Object):Bo,pi=Ir;(gt&&pi(new gt(new ArrayBuffer(1)))!=m||tt&&pi(new tt)!=A||It&&pi(It.resolve())!=a||br&&pi(new br)!=p||Ct&&pi(new Ct)!=E)&&(pi=function(Xe){var cr=it.call(Xe),Mr=cr==d?Xe.constructor:void 0,ko=Mr?ia(Mr):void 0;if(ko)switch(ko){case Ze:return m;case ot:return A;case xt:return a;case kr:return p;case Br:return E}return cr});function qi(Xe){var cr=Xe.length,Mr=Xe.constructor(cr);return cr&&typeof Xe[0]=="string"&&$e.call(Xe,"index")&&(Mr.index=Xe.index,Mr.input=Xe.input),Mr}function Fa(Xe){return typeof Xe.constructor=="function"&&!Ja(Xe)?bt(qt(Xe)):{}}function Tn(Xe,cr,Mr,ko){var Sa=Xe.constructor;switch(cr){case S:return gn(Xe);case o:case u:return new Sa(+Xe);case m:return bn(Xe,ko);case j:case C:case N:case R:case U:case M:case I:case F:case G:return ea(Xe,ko);case A:return Zn(Xe,ko,Mr);case P:case s:return new Sa(Xe);case l:return ga(Xe);case p:return ja(Xe,ko,Mr);case f:return On(Xe)}}function Ki(Xe,cr){return cr=cr??ke,!!cr&&(typeof Xe=="number"||se.test(Xe))&&Xe>-1&&Xe%1==0&&Xe<cr}function Na(Xe){var cr=typeof Xe;return cr=="string"||cr=="number"||cr=="symbol"||cr=="boolean"?Xe!=="__proto__":Xe===null}function da(Xe){return!!xr&&xr in Xe}function Ja(Xe){var cr=Xe&&Xe.constructor,Mr=typeof cr=="function"&&cr.prototype||Cr;return Xe===Mr}function ia(Xe){if(Xe!=null){try{return Mt.call(Xe)}catch{}try{return Xe+""}catch{}}return""}function Hi(Xe){return Er(Xe,!0,!0)}function Bi(Xe,cr){return Xe===cr||Xe!==Xe&&cr!==cr}function Vi(Xe){return Ea(Xe)&&$e.call(Xe,"callee")&&(!ee.call(Xe,"callee")||it.call(Xe)==h)}var Qa=Array.isArray;function qn(Xe){return Xe!=null&&hs(Xe.length)&&!sa(Xe)}function Ea(Xe){return ao(Xe)&&qn(Xe)}var Ii=Qe||ya;function sa(Xe){var cr=At(Xe)?it.call(Xe):"";return cr==w||cr==y}function hs(Xe){return typeof Xe=="number"&&Xe>-1&&Xe%1==0&&Xe<=ke}function At(Xe){var cr=typeof Xe;return!!Xe&&(cr=="object"||cr=="function")}function ao(Xe){return!!Xe&&typeof Xe=="object"}function yo(Xe){return qn(Xe)?je(Xe):go(Xe)}function Bo(){return[]}function ya(){return!1}q.exports=Hi}(Pg,Pg.exports);var U6=Pg.exports;const rv=F6(U6),Gp="default",$6="#3a3f51",q6="#afb7c5",Gw="20px",K6=["aria-controls","aria-expanded","aria-label"],H6={"aria-hidden":"true",class:"icon-wrapper"},V6={"aria-hidden":"true",class:"label truncate"},W6=["title"],G6=ar.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(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.computed(()=>we.isCollapsed?qe.t("specOperationsList.section.expandAriaLabel",{section:`"${we.name}"`}):qe.t("specOperationsList.section.collapseAriaLabel",{section:`"${we.name}"`}));return(ke,h)=>{const x=ar.resolveComponent("KIcon");return ar.openBlock(),ar.createElementBlock("button",{"aria-controls":q.contentElementId,"aria-expanded":q.isCollapsed?"false":"true","aria-label":Ve.value,class:ar.normalizeClass(["header",{"header--collapsed":q.isCollapsed}]),type:"button",onClick:h[0]||(h[0]=o=>ke.$emit("toggle"))},[ar.createElementVNode("div",H6,[q.isCollapsed?(ar.openBlock(),ar.createBlock(x,{key:0,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-collapsed, ${ar.unref(q6)})`,icon:"chevronRight",size:ar.unref(Gw)},null,8,["color","size"])):(ar.openBlock(),ar.createBlock(x,{key:1,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-expanded, ${ar.unref($6)})`,icon:"chevronDown",size:ar.unref(Gw)},null,8,["color","size"]))]),ar.createElementVNode("h1",V6,ar.toDisplayString(q.name),1),ar.createElementVNode("div",{class:"description truncate",title:q.description},ar.toDisplayString(q.description),9,W6)],10,K6)}}}),TI="",Jw=hh(G6,[["__scopeId","data-v-3a7679db"]]),J6=["data-testid"],Y6=["title"],Z6={class:"details"},Q6=["aria-label","title"],X6=ar.defineComponent({__name:"OperationsListItem",props:{item:{type:Object,required:!0,validator:q=>q.method!==void 0&&q.summary!==void 0&&q.path!==void 0},isSelected:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1}},emits:["click"],setup(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.computed(()=>{var h,x;return`spec-operations-list-item-${(h=we.item.method)==null?void 0:h.toLowerCase()}${(x=we.item.path)==null?void 0:x.replaceAll("/","-")}-${we.item.tag||"-"}`}),ke=ar.computed(()=>we.item.method||"");return(h,x)=>{const o=ar.resolveComponent("KBadge");return ar.openBlock(),ar.createElementBlock("button",{class:ar.normalizeClass(["spec-operations-list-item",{"item--selected":q.isSelected,[`item--method-${q.item.method}`]:!0,disabled:q.disableSelection}]),"data-testid":Ve.value,type:"button",onClick:x[0]||(x[0]=u=>h.$emit("click",q.item))},[q.item.summary?(ar.openBlock(),ar.createElementBlock("h2",{key:0,class:"summary truncate",title:q.item.summary},ar.toDisplayString(q.item.summary),9,Y6)):ar.createCommentVNode("",!0),ar.createElementVNode("div",Z6,[ar.createVNode(o,{appearance:"custom","aria-label":ar.unref(qe).t("specOperationsList.item.methodAriaLabel",{method:ke.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:ar.withCtx(()=>[ar.createTextVNode(ar.toDisplayString(ke.value.toUpperCase()),1)]),_:1},8,["aria-label"]),ar.createElementVNode("span",{"aria-label":ar.unref(qe).t("specOperationsList.item.pathAriaLabel",{path:q.item.path}),class:"path truncate",title:q.item.path},ar.toDisplayString(q.item.path),9,Q6)])],10,J6)}}}),II="",Yw=hh(X6,[["__scopeId","data-v-a4989f17"]]),e3=["aria-label"],t3={key:0},r3={key:0,class:"filter-wrapper"},o3={key:1},n3=["data-testid"],a3=["id"],i3={key:0,class:"section","data-testid":"spec-operations-list-untagged-items"},s3=["id"],c3={key:2,"data-testid":"kong-ui-public-spec-operations-list-empty"},l3={class:"center"},u3={key:1,"data-testid":"kong-ui-public-spec-operations-list-error"},{getSizeFromString:p3,hasRequiredProps:Zw}=Gu.useUtilities(),d3=ar.defineComponent({__name:"SpecOperationsList",props:{operations:{type:Array,required:!0,validator:q=>!q.length||Zw(q,["method","path"])},tags:{type:Array,default:()=>[],validator:q=>!q.length||Zw(q,["name"])},isFilterable:{type:Boolean,default:!0},filterFunction:{type:Function,default:({items:q,query:we})=>(we=we.toLowerCase(),q.filter(qe=>qe.tag&&qe.tag.toLowerCase().includes(we))),validator:q=>!!q&&typeof q=="function"},deselect:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1},width:{type:String,default:"210"}},emits:["selected"],setup(q,{emit:we}){const qe=q,{i18n:Ve}=Gu.useI18n(),ke=ar.computed(()=>L6()),h=ar.ref(""),x=ar.ref([]),o=ar.ref(),u=ar.ref([]),b=()=>{const f=x.value;if(!qe.isFilterable){u.value=f;return}if(!qe.filterFunction||typeof qe.filterFunction!="function")throw new Error(`filterFunction property must be a function, got ${typeof qe.filterFunction}`);u.value=qe.filterFunction({items:f,query:h.value})},w=ar.computed(()=>p3(qe.width)),y=ar.computed(()=>{const f=[];return u.value.forEach(E=>{E.tag&&!f.includes(E.tag)&&f.push(E.tag)}),f}),A=ar.computed(()=>x.value.filter(f=>!f.tag)),P=f=>{if(!qe.tags||!Array.isArray(qe.tags))return"";const E=qe.tags.find(S=>S.name===f);return(E==null?void 0:E.description)||""},d=f=>u.value.filter(E=>E.tag===f),a=f=>{const E=o.value;return!!E&&E.path===f.path&&E.method===f.method&&E.operationId===f.operationId&&E.tag===f.tag},l=f=>`${ke.value}-section-${f.toLowerCase()}`,p=f=>{qe.disableSelection||(o.value=f,we("selected",f))},s=()=>{x.value=[],qe.operations&&(qe.operations.forEach(f=>{var S;const E=rv(f);(S=f.tags)!=null&&S.length?f.tags.forEach(m=>{delete E.tags,E.tag=m,x.value.push(rv(E))}):(delete E.tags,E.tag=null,x.value.push(rv(E)))}),b())};return ar.watch(()=>qe.deselect,()=>{qe.deselect&&(o.value=void 0)}),ar.watch(()=>qe.operations,()=>s()),ar.watch(h,()=>b()),ar.onMounted(()=>{s()}),(f,E)=>{const S=ar.resolveComponent("KInput"),m=ar.resolveComponent("KIcon"),j=ar.resolveComponent("KCollapse");return ar.openBlock(),ar.createElementBlock("section",{"aria-label":ar.unref(Ve).t("specOperationsList.ariaLabel"),class:"kong-ui-public-spec-operations-list","data-testid":"kong-ui-public-spec-operations-list",role:"navigation",style:ar.normalizeStyle({width:w.value})},[q.operations?(ar.openBlock(),ar.createElementBlock("div",t3,[q.isFilterable?(ar.openBlock(),ar.createElementBlock("div",r3,[ar.createVNode(S,{modelValue:h.value,"onUpdate:modelValue":E[0]||(E[0]=C=>h.value=C),class:"filter-input","data-testid":"spec-operations-list-filter",placeholder:ar.unref(Ve).t("specOperationsList.filterPlaceholder")},null,8,["modelValue","placeholder"]),ar.createVNode(m,{"aria-hidden":"true",class:"filter-icon",color:"var(--kong-ui-spec-renderer-operations-list-filter-icon-color, #1C1B1F)",icon:"filter"})])):ar.createCommentVNode("",!0),u.value.length?(ar.openBlock(),ar.createElementBlock("div",o3,[(ar.openBlock(!0),ar.createElementBlock(ar.Fragment,null,ar.renderList(y.value,C=>(ar.openBlock(),ar.createElementBlock("div",{key:C,class:"section-wrapper","data-testid":`spec-operations-list-section-${C.toLowerCase().replaceAll(" ","-")}`},[ar.createVNode(j,{"model-value":!1,"trigger-alignment":"leading"},{trigger:ar.withCtx(({isCollapsed:N,toggle:R})=>[ar.createVNode(Jw,{"content-element-id":l(C),"data-testid":`spec-operations-list-section-${C.toLowerCase().replaceAll(" ","-")}-collapse-trigger`,description:P(C),"is-collapsed":N,name:C,onToggle:R},null,8,["content-element-id","data-testid","description","is-collapsed","name","onToggle"])]),default:ar.withCtx(()=>[ar.createElementVNode("div",{id:l(C)},[(ar.openBlock(!0),ar.createElementBlock(ar.Fragment,null,ar.renderList(d(C),N=>ar.renderSlot(f.$slots,"item",{key:`${N.path}-${N.method}`,item:N,section:C,select:()=>p(N)},()=>[ar.createVNode(Yw,{"disable-selection":q.disableSelection,"is-selected":a(N),item:N,section:C,onClick:p},null,8,["disable-selection","is-selected","item","section"])],!0)),128))],8,a3)]),_:2},1024)],8,n3))),128)),!q.isFilterable||!h.value?(ar.openBlock(),ar.createElementBlock("div",i3,[ar.createVNode(j,{"model-value":!1,"trigger-alignment":"leading"},{trigger:ar.withCtx(({isCollapsed:C,toggle:N})=>[ar.createVNode(Jw,{"content-element-id":l(ar.unref(Gp)),"data-testid":"spec-operations-list-section-untagged-collapse-trigger",description:P(ar.unref(Gp)),"is-collapsed":C,name:ar.unref(Gp),onToggle:N},null,8,["content-element-id","description","is-collapsed","name","onToggle"])]),default:ar.withCtx(()=>[ar.createElementVNode("div",{id:l(ar.unref(Gp))},[(ar.openBlock(!0),ar.createElementBlock(ar.Fragment,null,ar.renderList(A.value,C=>ar.renderSlot(f.$slots,"untagged-item",{key:`${C.path}-${C.method}`,item:C,section:ar.unref(Gp),select:()=>p(C)},()=>[ar.createVNode(Yw,{"disable-selection":q.disableSelection,"is-selected":a(C),item:C,onClick:p},null,8,["disable-selection","is-selected","item"])],!0)),128))],8,s3)]),_:3})])):ar.createCommentVNode("",!0)])):(ar.openBlock(),ar.createElementBlock("div",c3,[ar.renderSlot(f.$slots,"empty-state",{},()=>[ar.createElementVNode("div",l3,ar.toDisplayString(ar.unref(Ve).t("specOperationsList.noResults")),1)],!0)]))])):(ar.openBlock(),ar.createElementBlock("div",u3,[ar.renderSlot(f.$slots,"error-state",{},()=>[ar.createTextVNode(ar.toDisplayString(ar.unref(Ve).t("specOperationsList.error")),1)],!0)]))],12,e3)}}}),RI="",Qw=hh(d3,[["__scopeId","data-v-6b9de449"]]),h3={class:"kong-ui-public-spec-renderer"},f3={key:0,class:"spec-container"},g3={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:Xw}=Gu.useUtilities(),b3=ar.defineComponent({__name:"SpecRenderer",props:{spec:{type:Object,required:!0},essentialsOnly:{type:Boolean,default:!1},operationsList:{type:Array,required:!0,validator:q=>!q.length||Xw(q,["method","path"])},tags:{type:Array,default:()=>[],validator:q=>!q.length||Xw(q,["name"])},navWidth:{type:String,default:"310"},deselect:{type:Boolean,default:!1}},setup(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.computed(()=>!!(we.spec&&we.operationsList)),ke=ar.ref(),h=x=>{ke.value=x};return(x,o)=>(ar.openBlock(),ar.createElementBlock("div",h3,[Ve.value?(ar.openBlock(),ar.createElementBlock("div",f3,[ar.createVNode(Qw,{"data-testid":"spec-renderer-ops-list-content",deselect:q.deselect,operations:q.operationsList,tags:q.tags,width:q.navWidth,onSelected:h},{"empty-state":ar.withCtx(()=>[ar.createElementVNode("div",g3,[ar.renderSlot(x.$slots,"ops-list-empty-state",{},void 0,!0)])]),_:3},8,["deselect","operations","tags","width"]),ar.createVNode(Vw,{"active-operation":ke.value,class:"spec-renderer-details","data-testid":"spec-renderer-details-content",document:q.spec,"essentials-only":q.essentialsOnly,"has-sidebar":!1},null,8,["active-operation","document","essentials-only"])])):(ar.openBlock(),ar.createElementBlock("div",m3,[ar.renderSlot(x.$slots,"error-state",{},()=>[ar.createTextVNode(ar.toDisplayString(ar.unref(qe).t("specRenderer.error")),1)],!0)]))]))}}),NI="",v3=hh(b3,[["__scopeId","data-v-f9368289"]]);Ga.DEFAULT_UNTAGGED_SECTION_NAME=Gp,Ga.SpecDetails=Vw,Ga.SpecOperationsList=Qw,Ga.SpecRenderer=v3,Object.defineProperty(Ga,Symbol.toStringTag,{value:"Module"})});
237
+ `,r.setAttribute("data-testid","relative-sidebar-styles"),this.shadowRoot.appendChild(r)}za(this,iu)&&Fx.use({target:this.shadowRoot,testId:"hide-essentials-styles"}),Cl(this,Tc,Om({url:za(this,$p),spec:za(this,$u),domNode:this.rootElement,deepLinking:!0,filter:!0,presets:[Om.presets.apis,Om.SwaggerUIStandalonePreset],plugins:[Om.plugins.DownloadUrl,x4.SwaggerUIKongTheme],layout:"KongLayout",theme:{hasSidebar:za(this,qu),applicationRegistrationEnabled:za(this,sh),currentVersion:{version:za(this,ch)},onViewSpecClick:()=>{this.dispatchEvent(new CustomEvent("clicked-view-spec",{bubbles:!0}))},onRegisterClick:()=>{this.dispatchEvent(new CustomEvent("clicked-register",{bubbles:!0}))}}}))}showOperation(r){if(!za(this,Tc))return!1;const n=Gy(r);return za(this,Tc).layoutActions.show(n,!0),!0}hideOperation(r){if(!za(this,Tc))return!1;const n=Gy(r);return za(this,Tc).layoutActions.show(n,!1),!0}scrollToOperation(r){if(!za(this,Tc))return!1;const n=_T(r),i=this.shadowRoot.getElementById(n);if(!i)return!1;const v=window.matchMedia("(prefers-reduced-motion: no-preference)");let O;v&&v.matches&&(O="smooth"),i.scrollIntoView({behavior:O})}get autoInit(){return za(this,ih)}set autoInit(r){Cl(this,ih,pg(r))}get hasSidebar(){return za(this,qu)}set hasSidebar(r){Cl(this,qu,pg(r))}get relativeSidebar(){return za(this,qp)}set relativeSidebar(r){Cl(this,qp,pg(r))}get essentialsOnly(){return za(this,iu)}set essentialsOnly(r){Cl(this,iu,pg(r))}get spec(){return za(this,$u)}set spec(r){if(!r)throw new Error("Spec cannot be empty");let n;typeof r=="string"?n=JSON.parse(r):typeof r=="object"&&(n=r),Cl(this,$u,n),za(this,Tc)&&za(this,Tc).getSystem().specActions.updateJsonSpec(za(this,$u))}get url(){return za(this,$p)}set url(r){Cl(this,$p,r)}get applicationRegistrationEnabled(){return za(this,sh)}set applicationRegistrationEnabled(r){Cl(this,sh,pg(r))}get currentVersion(){return za(this,ch)}set currentVersion(r){Cl(this,ch,r)}static get observedAttributes(){return["url","spec","auto-init","has-sidebar","relative-sidebar","essentials-only","application-registration-enabled","current-version"]}}ih=new WeakMap,$u=new WeakMap,$p=new WeakMap,qu=new WeakMap,qp=new WeakMap,iu=new WeakMap,Tc=new WeakMap,sh=new WeakMap,ch=new WeakMap,n2(fg,"name","kong-swagger-ui"),customElements.get(fg.name)?console.warn(`Cannot register ${fg.name}. Element is already defined, ignoring`):customElements.define(fg.name,fg)})()})();const R6=["application-registration-enabled","current-version","essentials-only","has-sidebar","relative-sidebar","spec","url"],N6={key:1,"data-testid":"kong-public-ui-spec-details-error"},B6=ar.defineComponent({__name:"SpecDetails",props:{document:{type:Object,default:null},url:{type:String,default:""},hasSidebar:{type:Boolean,default:!1},relativeSidebar:{type:Boolean,default:!1},essentialsOnly:{type:Boolean,default:!1},activeOperation:{type:Object,default:null},applicationRegistrationEnabled:{type:Boolean,default:!1},currentVersion:{type:String,default:()=>{}}},setup(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.ref(null),ke=ar.computed(()=>!!(we.document||we.url)),h=ar.ref(!1),x=()=>{if(!Ve.value)return;const o={...we.activeOperation};if(o&&o.tag){const u=decodeURIComponent(o.tag.trim().replaceAll(/\s/g,"%20"));o.tag=u}Ve.value.showOperation(o),Ve.value.scrollToOperation(o),h.value=!0};return ar.onMounted(()=>{we.activeOperation&&x()}),ar.watch(()=>we.activeOperation,()=>{we.activeOperation&&x()}),(o,u)=>(ar.openBlock(),ar.createElementBlock("div",{class:ar.normalizeClass(["kong-public-ui-spec-details",{"active-op-focused":h.value}])},[ke.value?(ar.openBlock(),ar.createElementBlock("kong-swagger-ui",{key:0,ref_key:"swaggerRef",ref:Ve,"application-registration-enabled":q.applicationRegistrationEnabled,"current-version":q.currentVersion,"data-testid":"kong-public-ui-spec-details-swagger","essentials-only":q.essentialsOnly,"has-sidebar":q.hasSidebar,"relative-sidebar":q.relativeSidebar,spec:q.document,url:q.url},null,8,R6)):(ar.openBlock(),ar.createElementBlock("div",N6,ar.toDisplayString(ar.unref(qe).t("specDetails.error")),1))],2))}}),PI="",hh=(q,we)=>{const qe=q.__vccOpts||q;for(const[Ve,ke]of we)qe[Ve]=ke;return qe},Vw=hh(B6,[["__scopeId","data-v-dc89eded"]]);let jg;const D6=new Uint8Array(16);function z6(){if(!jg&&(jg=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!jg))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jg(D6)}const ds=[];for(let q=0;q<256;++q)ds.push((q+256).toString(16).slice(1));function M6(q,we=0){return(ds[q[we+0]]+ds[q[we+1]]+ds[q[we+2]]+ds[q[we+3]]+"-"+ds[q[we+4]]+ds[q[we+5]]+"-"+ds[q[we+6]]+ds[q[we+7]]+"-"+ds[q[we+8]]+ds[q[we+9]]+"-"+ds[q[we+10]]+ds[q[we+11]]+ds[q[we+12]]+ds[q[we+13]]+ds[q[we+14]]+ds[q[we+15]]).toLowerCase()}let Ww,Xb,ev=0,tv=0;function L6(q,we,qe){let Ve=we&&qe||0;const ke=we||new Array(16);q=q||{};let h=q.node||Ww,x=q.clockseq!==void 0?q.clockseq:Xb;if(h==null||x==null){const A=q.random||(q.rng||z6)();h==null&&(h=Ww=[A[0]|1,A[1],A[2],A[3],A[4],A[5]]),x==null&&(x=Xb=(A[6]<<8|A[7])&16383)}let o=q.msecs!==void 0?q.msecs:Date.now(),u=q.nsecs!==void 0?q.nsecs:tv+1;const b=o-ev+(u-tv)/1e4;if(b<0&&q.clockseq===void 0&&(x=x+1&16383),(b<0||o>ev)&&q.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ev=o,tv=u,Xb=x,o+=122192928e5;const w=((o&268435455)*1e4+u)%4294967296;ke[Ve++]=w>>>24&255,ke[Ve++]=w>>>16&255,ke[Ve++]=w>>>8&255,ke[Ve++]=w&255;const y=o/4294967296*1e4&268435455;ke[Ve++]=y>>>8&255,ke[Ve++]=y&255,ke[Ve++]=y>>>24&15|16,ke[Ve++]=y>>>16&255,ke[Ve++]=x>>>8|128,ke[Ve++]=x&255;for(let A=0;A<6;++A)ke[Ve+A]=h[A];return we||M6(ke)}var Cg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function F6(q){return q&&q.__esModule&&Object.prototype.hasOwnProperty.call(q,"default")?q.default:q}var Pg={exports:{}};Pg.exports,function(q,we){var qe=200,Ve="__lodash_hash_undefined__",ke=9007199254740991,h="[object Arguments]",x="[object Array]",o="[object Boolean]",u="[object Date]",b="[object Error]",w="[object Function]",y="[object GeneratorFunction]",A="[object Map]",P="[object Number]",d="[object Object]",a="[object Promise]",l="[object RegExp]",p="[object Set]",s="[object String]",f="[object Symbol]",E="[object WeakMap]",S="[object ArrayBuffer]",m="[object DataView]",j="[object Float32Array]",C="[object Float64Array]",N="[object Int8Array]",R="[object Int16Array]",U="[object Int32Array]",M="[object Uint8Array]",I="[object Uint8ClampedArray]",F="[object Uint16Array]",G="[object Uint32Array]",ne=/[\\^$.*+?()[\]{}|]/g,oe=/\w*$/,Z=/^\[object .+?Constructor\]$/,se=/^(?:0|[1-9]\d*)$/,X={};X[h]=X[x]=X[S]=X[m]=X[o]=X[u]=X[j]=X[C]=X[N]=X[R]=X[U]=X[A]=X[P]=X[d]=X[l]=X[p]=X[s]=X[f]=X[M]=X[I]=X[F]=X[G]=!0,X[b]=X[w]=X[E]=!1;var de=typeof Cg=="object"&&Cg&&Cg.Object===Object&&Cg,te=typeof self=="object"&&self&&self.Object===Object&&self,ae=de||te||Function("return this")(),he=we&&!we.nodeType&&we,Ce=he&&!0&&q&&!q.nodeType&&q,Fe=Ce&&Ce.exports===he;function Se(Xe,cr){return Xe.set(cr[0],cr[1]),Xe}function He(Xe,cr){return Xe.add(cr),Xe}function Ye(Xe,cr){for(var Mr=-1,ko=Xe?Xe.length:0;++Mr<ko&&cr(Xe[Mr],Mr,Xe)!==!1;);return Xe}function Be(Xe,cr){for(var Mr=-1,ko=cr.length,Sa=Xe.length;++Mr<ko;)Xe[Sa+Mr]=cr[Mr];return Xe}function Pe(Xe,cr,Mr,ko){var Sa=-1,Ya=Xe?Xe.length:0;for(ko&&Ya&&(Mr=Xe[++Sa]);++Sa<Ya;)Mr=cr(Mr,Xe[Sa],Sa,Xe);return Mr}function st(Xe,cr){for(var Mr=-1,ko=Array(Xe);++Mr<Xe;)ko[Mr]=cr(Mr);return ko}function dt(Xe,cr){return Xe==null?void 0:Xe[cr]}function _t(Xe){var cr=!1;if(Xe!=null&&typeof Xe.toString!="function")try{cr=!!(Xe+"")}catch{}return cr}function Ut(Xe){var cr=-1,Mr=Array(Xe.size);return Xe.forEach(function(ko,Sa){Mr[++cr]=[Sa,ko]}),Mr}function lr(Xe,cr){return function(Mr){return Xe(cr(Mr))}}function Kt(Xe){var cr=-1,Mr=Array(Xe.size);return Xe.forEach(function(ko){Mr[++cr]=ko}),Mr}var sr=Array.prototype,Sr=Function.prototype,Cr=Object.prototype,Lr=ae["__core-js_shared__"],xr=function(){var Xe=/[^.]+$/.exec(Lr&&Lr.keys&&Lr.keys.IE_PROTO||"");return Xe?"Symbol(src)_1."+Xe:""}(),Mt=Sr.toString,$e=Cr.hasOwnProperty,it=Cr.toString,Tt=RegExp("^"+Mt.call($e).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=Fe?ae.Buffer:void 0,rt=ae.Symbol,Pt=ae.Uint8Array,qt=lr(Object.getPrototypeOf,Object),_r=Object.create,ee=Cr.propertyIsEnumerable,pe=sr.splice,Ee=Object.getOwnPropertySymbols,Qe=Je?Je.isBuffer:void 0,lt=lr(Object.keys,Object),gt=cn(ae,"DataView"),tt=cn(ae,"Map"),It=cn(ae,"Promise"),br=cn(ae,"Set"),Ct=cn(ae,"WeakMap"),De=cn(Object,"create"),Ze=ia(gt),ot=ia(tt),xt=ia(It),kr=ia(br),Br=ia(Ct),Qr=rt?rt.prototype:void 0,to=Qr?Qr.valueOf:void 0;function vo(Xe){var cr=-1,Mr=Xe?Xe.length:0;for(this.clear();++cr<Mr;){var ko=Xe[cr];this.set(ko[0],ko[1])}}function zt(){this.__data__=De?De(null):{}}function Ar(Xe){return this.has(Xe)&&delete this.__data__[Xe]}function Yr(Xe){var cr=this.__data__;if(De){var Mr=cr[Xe];return Mr===Ve?void 0:Mr}return $e.call(cr,Xe)?cr[Xe]:void 0}function mo(Xe){var cr=this.__data__;return De?cr[Xe]!==void 0:$e.call(cr,Xe)}function Po(Xe,cr){var Mr=this.__data__;return Mr[Xe]=De&&cr===void 0?Ve:cr,this}vo.prototype.clear=zt,vo.prototype.delete=Ar,vo.prototype.get=Yr,vo.prototype.has=mo,vo.prototype.set=Po;function lo(Xe){var cr=-1,Mr=Xe?Xe.length:0;for(this.clear();++cr<Mr;){var ko=Xe[cr];this.set(ko[0],ko[1])}}function To(){this.__data__=[]}function jo(Xe){var cr=this.__data__,Mr=wt(cr,Xe);if(Mr<0)return!1;var ko=cr.length-1;return Mr==ko?cr.pop():pe.call(cr,Mr,1),!0}function Mo(Xe){var cr=this.__data__,Mr=wt(cr,Xe);return Mr<0?void 0:cr[Mr][1]}function _n(Xe){return wt(this.__data__,Xe)>-1}function fa(Xe,cr){var Mr=this.__data__,ko=wt(Mr,Xe);return ko<0?Mr.push([Xe,cr]):Mr[ko][1]=cr,this}lo.prototype.clear=To,lo.prototype.delete=jo,lo.prototype.get=Mo,lo.prototype.has=_n,lo.prototype.set=fa;function rn(Xe){var cr=-1,Mr=Xe?Xe.length:0;for(this.clear();++cr<Mr;){var ko=Xe[cr];this.set(ko[0],ko[1])}}function Wo(){this.__data__={hash:new vo,map:new(tt||lo),string:new vo}}function jn(Xe){return ui(this,Xe).delete(Xe)}function Mn(Xe){return ui(this,Xe).get(Xe)}function nr(Xe){return ui(this,Xe).has(Xe)}function gr(Xe,cr){return ui(this,Xe).set(Xe,cr),this}rn.prototype.clear=Wo,rn.prototype.delete=jn,rn.prototype.get=Mn,rn.prototype.has=nr,rn.prototype.set=gr;function ur(Xe){this.__data__=new lo(Xe)}function eo(){this.__data__=new lo}function dr(Xe){return this.__data__.delete(Xe)}function fn(Xe){return this.__data__.get(Xe)}function io(Xe){return this.__data__.has(Xe)}function ht(Xe,cr){var Mr=this.__data__;if(Mr instanceof lo){var ko=Mr.__data__;if(!tt||ko.length<qe-1)return ko.push([Xe,cr]),this;Mr=this.__data__=new rn(ko)}return Mr.set(Xe,cr),this}ur.prototype.clear=eo,ur.prototype.delete=dr,ur.prototype.get=fn,ur.prototype.has=io,ur.prototype.set=ht;function je(Xe,cr){var Mr=Qa(Xe)||Vi(Xe)?st(Xe.length,String):[],ko=Mr.length,Sa=!!ko;for(var Ya in Xe)(cr||$e.call(Xe,Ya))&&!(Sa&&(Ya=="length"||Ki(Ya,ko)))&&Mr.push(Ya);return Mr}function We(Xe,cr,Mr){var ko=Xe[cr];(!($e.call(Xe,cr)&&Bi(ko,Mr))||Mr===void 0&&!(cr in Xe))&&(Xe[cr]=Mr)}function wt(Xe,cr){for(var Mr=Xe.length;Mr--;)if(Bi(Xe[Mr][0],cr))return Mr;return-1}function Ht(Xe,cr){return Xe&&pa(cr,yo(cr),Xe)}function Er(Xe,cr,Mr,ko,Sa,Ya,Za){var ni;if(ko&&(ni=Ya?ko(Xe,Sa,Ya,Za):ko(Xe)),ni!==void 0)return ni;if(!At(Xe))return Xe;var Qi=Qa(Xe);if(Qi){if(ni=qi(Xe),!cr)return Ra(Xe,ni)}else{var Oi=pi(Xe),os=Oi==w||Oi==y;if(Ii(Xe))return No(Xe,cr);if(Oi==d||Oi==h||os&&!Ya){if(_t(Xe))return Ya?Xe:{};if(ni=Fa(os?{}:Xe),!cr)return kn(Xe,Ht(ni,Xe))}else{if(!X[Oi])return Ya?Xe:{};ni=Tn(Xe,Oi,Er,cr)}}Za||(Za=new ur);var Xs=Za.get(Xe);if(Xs)return Xs;if(Za.set(Xe,ni),!Qi)var vs=Mr?wo(Xe):yo(Xe);return Ye(vs||Xe,function(Qn,As){vs&&(As=Qn,Qn=Xe[As]),We(ni,As,Er(Qn,cr,Mr,ko,As,Xe,Za))}),ni}function bt(Xe){return At(Xe)?_r(Xe):{}}function $t(Xe,cr,Mr){var ko=cr(Xe);return Qa(Xe)?ko:Be(ko,Mr(Xe))}function Ir(Xe){return it.call(Xe)}function vr(Xe){if(!At(Xe)||da(Xe))return!1;var cr=sa(Xe)||_t(Xe)?Tt:Z;return cr.test(ia(Xe))}function go(Xe){if(!Ja(Xe))return lt(Xe);var cr=[];for(var Mr in Object(Xe))$e.call(Xe,Mr)&&Mr!="constructor"&&cr.push(Mr);return cr}function No(Xe,cr){if(cr)return Xe.slice();var Mr=new Xe.constructor(Xe.length);return Xe.copy(Mr),Mr}function gn(Xe){var cr=new Xe.constructor(Xe.byteLength);return new Pt(cr).set(new Pt(Xe)),cr}function bn(Xe,cr){var Mr=cr?gn(Xe.buffer):Xe.buffer;return new Xe.constructor(Mr,Xe.byteOffset,Xe.byteLength)}function Zn(Xe,cr,Mr){var ko=cr?Mr(Ut(Xe),!0):Ut(Xe);return Pe(ko,Se,new Xe.constructor)}function ga(Xe){var cr=new Xe.constructor(Xe.source,oe.exec(Xe));return cr.lastIndex=Xe.lastIndex,cr}function ja(Xe,cr,Mr){var ko=cr?Mr(Kt(Xe),!0):Kt(Xe);return Pe(ko,He,new Xe.constructor)}function On(Xe){return to?Object(to.call(Xe)):{}}function ea(Xe,cr){var Mr=cr?gn(Xe.buffer):Xe.buffer;return new Xe.constructor(Mr,Xe.byteOffset,Xe.length)}function Ra(Xe,cr){var Mr=-1,ko=Xe.length;for(cr||(cr=Array(ko));++Mr<ko;)cr[Mr]=Xe[Mr];return cr}function pa(Xe,cr,Mr,ko){Mr||(Mr={});for(var Sa=-1,Ya=cr.length;++Sa<Ya;){var Za=cr[Sa],ni=ko?ko(Mr[Za],Xe[Za],Za,Mr,Xe):void 0;We(Mr,Za,ni===void 0?Xe[Za]:ni)}return Mr}function kn(Xe,cr){return pa(Xe,na(Xe),cr)}function wo(Xe){return $t(Xe,yo,na)}function ui(Xe,cr){var Mr=Xe.__data__;return Na(cr)?Mr[typeof cr=="string"?"string":"hash"]:Mr.map}function cn(Xe,cr){var Mr=dt(Xe,cr);return vr(Mr)?Mr:void 0}var na=Ee?lr(Ee,Object):Bo,pi=Ir;(gt&&pi(new gt(new ArrayBuffer(1)))!=m||tt&&pi(new tt)!=A||It&&pi(It.resolve())!=a||br&&pi(new br)!=p||Ct&&pi(new Ct)!=E)&&(pi=function(Xe){var cr=it.call(Xe),Mr=cr==d?Xe.constructor:void 0,ko=Mr?ia(Mr):void 0;if(ko)switch(ko){case Ze:return m;case ot:return A;case xt:return a;case kr:return p;case Br:return E}return cr});function qi(Xe){var cr=Xe.length,Mr=Xe.constructor(cr);return cr&&typeof Xe[0]=="string"&&$e.call(Xe,"index")&&(Mr.index=Xe.index,Mr.input=Xe.input),Mr}function Fa(Xe){return typeof Xe.constructor=="function"&&!Ja(Xe)?bt(qt(Xe)):{}}function Tn(Xe,cr,Mr,ko){var Sa=Xe.constructor;switch(cr){case S:return gn(Xe);case o:case u:return new Sa(+Xe);case m:return bn(Xe,ko);case j:case C:case N:case R:case U:case M:case I:case F:case G:return ea(Xe,ko);case A:return Zn(Xe,ko,Mr);case P:case s:return new Sa(Xe);case l:return ga(Xe);case p:return ja(Xe,ko,Mr);case f:return On(Xe)}}function Ki(Xe,cr){return cr=cr??ke,!!cr&&(typeof Xe=="number"||se.test(Xe))&&Xe>-1&&Xe%1==0&&Xe<cr}function Na(Xe){var cr=typeof Xe;return cr=="string"||cr=="number"||cr=="symbol"||cr=="boolean"?Xe!=="__proto__":Xe===null}function da(Xe){return!!xr&&xr in Xe}function Ja(Xe){var cr=Xe&&Xe.constructor,Mr=typeof cr=="function"&&cr.prototype||Cr;return Xe===Mr}function ia(Xe){if(Xe!=null){try{return Mt.call(Xe)}catch{}try{return Xe+""}catch{}}return""}function Hi(Xe){return Er(Xe,!0,!0)}function Bi(Xe,cr){return Xe===cr||Xe!==Xe&&cr!==cr}function Vi(Xe){return Ea(Xe)&&$e.call(Xe,"callee")&&(!ee.call(Xe,"callee")||it.call(Xe)==h)}var Qa=Array.isArray;function qn(Xe){return Xe!=null&&hs(Xe.length)&&!sa(Xe)}function Ea(Xe){return ao(Xe)&&qn(Xe)}var Ii=Qe||ya;function sa(Xe){var cr=At(Xe)?it.call(Xe):"";return cr==w||cr==y}function hs(Xe){return typeof Xe=="number"&&Xe>-1&&Xe%1==0&&Xe<=ke}function At(Xe){var cr=typeof Xe;return!!Xe&&(cr=="object"||cr=="function")}function ao(Xe){return!!Xe&&typeof Xe=="object"}function yo(Xe){return qn(Xe)?je(Xe):go(Xe)}function Bo(){return[]}function ya(){return!1}q.exports=Hi}(Pg,Pg.exports);var U6=Pg.exports;const rv=F6(U6),Gp="default",$6="#3a3f51",q6="#afb7c5",Gw="20px",K6=["aria-controls","aria-expanded","aria-label"],H6={"aria-hidden":"true",class:"icon-wrapper"},V6={"aria-hidden":"true",class:"label truncated"},W6=["title"],G6=ar.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(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.computed(()=>we.isCollapsed?qe.t("specOperationsList.section.expandAriaLabel",{section:`"${we.name}"`}):qe.t("specOperationsList.section.collapseAriaLabel",{section:`"${we.name}"`}));return(ke,h)=>{const x=ar.resolveComponent("KIcon");return ar.openBlock(),ar.createElementBlock("button",{"aria-controls":q.contentElementId,"aria-expanded":q.isCollapsed?"false":"true","aria-label":Ve.value,class:ar.normalizeClass(["header",{"header--collapsed":q.isCollapsed}]),type:"button",onClick:h[0]||(h[0]=o=>ke.$emit("toggle"))},[ar.createElementVNode("div",H6,[q.isCollapsed?(ar.openBlock(),ar.createBlock(x,{key:0,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-collapsed, ${ar.unref(q6)})`,icon:"chevronRight",size:ar.unref(Gw)},null,8,["color","size"])):(ar.openBlock(),ar.createBlock(x,{key:1,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-expanded, ${ar.unref($6)})`,icon:"chevronDown",size:ar.unref(Gw)},null,8,["color","size"]))]),ar.createElementVNode("h1",V6,ar.toDisplayString(q.name),1),ar.createElementVNode("div",{class:"description truncated",title:q.description},ar.toDisplayString(q.description),9,W6)],10,K6)}}}),TI="",Jw=hh(G6,[["__scopeId","data-v-e18de61d"]]),J6=["data-testid"],Y6=["title"],Z6={class:"details"},Q6=["aria-label","title"],X6=ar.defineComponent({__name:"OperationsListItem",props:{item:{type:Object,required:!0,validator:q=>q.method!==void 0&&q.summary!==void 0&&q.path!==void 0},isSelected:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1}},emits:["click"],setup(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.computed(()=>{var h,x;return`spec-operations-list-item-${(h=we.item.method)==null?void 0:h.toLowerCase()}${(x=we.item.path)==null?void 0:x.replaceAll("/","-")}-${we.item.tag||"-"}`}),ke=ar.computed(()=>we.item.method||"");return(h,x)=>{const o=ar.resolveComponent("KBadge");return ar.openBlock(),ar.createElementBlock("button",{class:ar.normalizeClass(["spec-operations-list-item",{"item--selected":q.isSelected,[`item--method-${q.item.method}`]:!0,disabled:q.disableSelection}]),"data-testid":Ve.value,type:"button",onClick:x[0]||(x[0]=u=>h.$emit("click",q.item))},[q.item.summary?(ar.openBlock(),ar.createElementBlock("h2",{key:0,class:"summary truncated",title:q.item.summary},ar.toDisplayString(q.item.summary),9,Y6)):ar.createCommentVNode("",!0),ar.createElementVNode("div",Z6,[ar.createVNode(o,{appearance:"custom","aria-label":ar.unref(qe).t("specOperationsList.item.methodAriaLabel",{method:ke.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:ar.withCtx(()=>[ar.createTextVNode(ar.toDisplayString(ke.value.toUpperCase()),1)]),_:1},8,["aria-label"]),ar.createElementVNode("span",{"aria-label":ar.unref(qe).t("specOperationsList.item.pathAriaLabel",{path:q.item.path}),class:"path truncated",title:q.item.path},ar.toDisplayString(q.item.path),9,Q6)])],10,J6)}}}),II="",Yw=hh(X6,[["__scopeId","data-v-e390696e"]]),e3=["aria-label"],t3={key:0},r3={key:0,class:"filter-wrapper"},o3={key:1},n3=["data-testid"],a3=["id"],i3={key:0,class:"section","data-testid":"spec-operations-list-untagged-items"},s3=["id"],c3={key:2,"data-testid":"kong-ui-public-spec-operations-list-empty"},l3={class:"center"},u3={key:1,"data-testid":"kong-ui-public-spec-operations-list-error"},{getSizeFromString:p3,hasRequiredProps:Zw}=Gu.useUtilities(),d3=ar.defineComponent({__name:"SpecOperationsList",props:{operations:{type:Array,required:!0,validator:q=>!q.length||Zw(q,["method","path"])},tags:{type:Array,default:()=>[],validator:q=>!q.length||Zw(q,["name"])},isFilterable:{type:Boolean,default:!0},filterFunction:{type:Function,default:({items:q,query:we})=>(we=we.toLowerCase(),q.filter(qe=>qe.tag&&qe.tag.toLowerCase().includes(we))),validator:q=>!!q&&typeof q=="function"},deselect:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1},width:{type:String,default:"210"}},emits:["selected"],setup(q,{emit:we}){const qe=q,{i18n:Ve}=Gu.useI18n(),ke=ar.computed(()=>L6()),h=ar.ref(""),x=ar.ref([]),o=ar.ref(),u=ar.ref([]),b=()=>{const f=x.value;if(!qe.isFilterable){u.value=f;return}if(!qe.filterFunction||typeof qe.filterFunction!="function")throw new Error(`filterFunction property must be a function, got ${typeof qe.filterFunction}`);u.value=qe.filterFunction({items:f,query:h.value})},w=ar.computed(()=>p3(qe.width)),y=ar.computed(()=>{const f=[];return u.value.forEach(E=>{E.tag&&!f.includes(E.tag)&&f.push(E.tag)}),f}),A=ar.computed(()=>x.value.filter(f=>!f.tag)),P=f=>{if(!qe.tags||!Array.isArray(qe.tags))return"";const E=qe.tags.find(S=>S.name===f);return(E==null?void 0:E.description)||""},d=f=>u.value.filter(E=>E.tag===f),a=f=>{const E=o.value;return!!E&&E.path===f.path&&E.method===f.method&&E.operationId===f.operationId&&E.tag===f.tag},l=f=>`${ke.value}-section-${f.toLowerCase()}`,p=f=>{qe.disableSelection||(o.value=f,we("selected",f))},s=()=>{x.value=[],qe.operations&&(qe.operations.forEach(f=>{var S;const E=rv(f);(S=f.tags)!=null&&S.length?f.tags.forEach(m=>{delete E.tags,E.tag=m,x.value.push(rv(E))}):(delete E.tags,E.tag=null,x.value.push(rv(E)))}),b())};return ar.watch(()=>qe.deselect,()=>{qe.deselect&&(o.value=void 0)}),ar.watch(()=>qe.operations,()=>s()),ar.watch(h,()=>b()),ar.onMounted(()=>{s()}),(f,E)=>{const S=ar.resolveComponent("KInput"),m=ar.resolveComponent("KIcon"),j=ar.resolveComponent("KCollapse");return ar.openBlock(),ar.createElementBlock("section",{"aria-label":ar.unref(Ve).t("specOperationsList.ariaLabel"),class:"kong-ui-public-spec-operations-list","data-testid":"kong-ui-public-spec-operations-list",role:"navigation",style:ar.normalizeStyle({width:w.value})},[q.operations?(ar.openBlock(),ar.createElementBlock("div",t3,[q.isFilterable?(ar.openBlock(),ar.createElementBlock("div",r3,[ar.createVNode(S,{modelValue:h.value,"onUpdate:modelValue":E[0]||(E[0]=C=>h.value=C),class:"filter-input","data-testid":"spec-operations-list-filter",placeholder:ar.unref(Ve).t("specOperationsList.filterPlaceholder")},null,8,["modelValue","placeholder"]),ar.createVNode(m,{"aria-hidden":"true",class:"filter-icon",color:"var(--kong-ui-spec-renderer-operations-list-filter-icon-color, #1C1B1F)",icon:"filter"})])):ar.createCommentVNode("",!0),u.value.length?(ar.openBlock(),ar.createElementBlock("div",o3,[(ar.openBlock(!0),ar.createElementBlock(ar.Fragment,null,ar.renderList(y.value,C=>(ar.openBlock(),ar.createElementBlock("div",{key:C,class:"section-wrapper","data-testid":`spec-operations-list-section-${C.toLowerCase().replaceAll(" ","-")}`},[ar.createVNode(j,{"model-value":!1,"trigger-alignment":"leading"},{trigger:ar.withCtx(({isCollapsed:N,toggle:R})=>[ar.createVNode(Jw,{"content-element-id":l(C),"data-testid":`spec-operations-list-section-${C.toLowerCase().replaceAll(" ","-")}-collapse-trigger`,description:P(C),"is-collapsed":N,name:C,onToggle:R},null,8,["content-element-id","data-testid","description","is-collapsed","name","onToggle"])]),default:ar.withCtx(()=>[ar.createElementVNode("div",{id:l(C)},[(ar.openBlock(!0),ar.createElementBlock(ar.Fragment,null,ar.renderList(d(C),N=>ar.renderSlot(f.$slots,"item",{key:`${N.path}-${N.method}`,item:N,section:C,select:()=>p(N)},()=>[ar.createVNode(Yw,{"disable-selection":q.disableSelection,"is-selected":a(N),item:N,section:C,onClick:p},null,8,["disable-selection","is-selected","item","section"])],!0)),128))],8,a3)]),_:2},1024)],8,n3))),128)),!q.isFilterable||!h.value?(ar.openBlock(),ar.createElementBlock("div",i3,[ar.createVNode(j,{"model-value":!1,"trigger-alignment":"leading"},{trigger:ar.withCtx(({isCollapsed:C,toggle:N})=>[ar.createVNode(Jw,{"content-element-id":l(ar.unref(Gp)),"data-testid":"spec-operations-list-section-untagged-collapse-trigger",description:P(ar.unref(Gp)),"is-collapsed":C,name:ar.unref(Gp),onToggle:N},null,8,["content-element-id","description","is-collapsed","name","onToggle"])]),default:ar.withCtx(()=>[ar.createElementVNode("div",{id:l(ar.unref(Gp))},[(ar.openBlock(!0),ar.createElementBlock(ar.Fragment,null,ar.renderList(A.value,C=>ar.renderSlot(f.$slots,"untagged-item",{key:`${C.path}-${C.method}`,item:C,section:ar.unref(Gp),select:()=>p(C)},()=>[ar.createVNode(Yw,{"disable-selection":q.disableSelection,"is-selected":a(C),item:C,onClick:p},null,8,["disable-selection","is-selected","item"])],!0)),128))],8,s3)]),_:3})])):ar.createCommentVNode("",!0)])):(ar.openBlock(),ar.createElementBlock("div",c3,[ar.renderSlot(f.$slots,"empty-state",{},()=>[ar.createElementVNode("div",l3,ar.toDisplayString(ar.unref(Ve).t("specOperationsList.noResults")),1)],!0)]))])):(ar.openBlock(),ar.createElementBlock("div",u3,[ar.renderSlot(f.$slots,"error-state",{},()=>[ar.createTextVNode(ar.toDisplayString(ar.unref(Ve).t("specOperationsList.error")),1)],!0)]))],12,e3)}}}),RI="",Qw=hh(d3,[["__scopeId","data-v-6b9de449"]]),h3={class:"kong-ui-public-spec-renderer"},f3={key:0,class:"spec-container"},g3={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:Xw}=Gu.useUtilities(),b3=ar.defineComponent({__name:"SpecRenderer",props:{spec:{type:Object,required:!0},essentialsOnly:{type:Boolean,default:!1},operationsList:{type:Array,required:!0,validator:q=>!q.length||Xw(q,["method","path"])},tags:{type:Array,default:()=>[],validator:q=>!q.length||Xw(q,["name"])},navWidth:{type:String,default:"310"},deselect:{type:Boolean,default:!1}},setup(q){const we=q,{i18n:qe}=Gu.useI18n(),Ve=ar.computed(()=>!!(we.spec&&we.operationsList)),ke=ar.ref(),h=x=>{ke.value=x};return(x,o)=>(ar.openBlock(),ar.createElementBlock("div",h3,[Ve.value?(ar.openBlock(),ar.createElementBlock("div",f3,[ar.createVNode(Qw,{"data-testid":"spec-renderer-ops-list-content",deselect:q.deselect,operations:q.operationsList,tags:q.tags,width:q.navWidth,onSelected:h},{"empty-state":ar.withCtx(()=>[ar.createElementVNode("div",g3,[ar.renderSlot(x.$slots,"ops-list-empty-state",{},void 0,!0)])]),_:3},8,["deselect","operations","tags","width"]),ar.createVNode(Vw,{"active-operation":ke.value,class:"spec-renderer-details","data-testid":"spec-renderer-details-content",document:q.spec,"essentials-only":q.essentialsOnly,"has-sidebar":!1},null,8,["active-operation","document","essentials-only"])])):(ar.openBlock(),ar.createElementBlock("div",m3,[ar.renderSlot(x.$slots,"error-state",{},()=>[ar.createTextVNode(ar.toDisplayString(ar.unref(qe).t("specRenderer.error")),1)],!0)]))]))}}),NI="",v3=hh(b3,[["__scopeId","data-v-f9368289"]]);Ga.DEFAULT_UNTAGGED_SECTION_NAME=Gp,Ga.SpecDetails=Vw,Ga.SpecOperationsList=Qw,Ga.SpecRenderer=v3,Object.defineProperty(Ga,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .kong-public-ui-spec-details[data-v-dc89eded]{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)}.header[data-v-3a7679db]{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-3a7679db]{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-3a7679db]{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-3a7679db]:first-letter{text-transform:capitalize}.header--collapsed .label[data-v-3a7679db]{color:#3a3f51;color:var(--kong-ui-spec-renderer-operations-list-section-label-text-color-collapsed, #3a3f51)}.description[data-v-3a7679db]{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-3a7679db]{height:18px;margin-right:8px}.truncate[data-v-3a7679db]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spec-operations-list-item[data-v-a4989f17]{-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-a4989f17]{cursor:default}.spec-operations-list-item[data-v-a4989f17]:hover{background:#000933;background:var(--kong-ui-spec-renderer-operations-list-item-background-hover, #000933)}.spec-operations-list-item:hover .summary[data-v-a4989f17],.spec-operations-list-item:hover .path[data-v-a4989f17]{color:#000933;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-hover, #000933)}.spec-operations-list-item[data-v-a4989f17]: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-a4989f17]{background:#000933;background:var(--kong-ui-spec-renderer-operations-list-item-background-selected, #000933)}.item--selected[data-v-a4989f17]: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-a4989f17],.item--selected .path[data-v-a4989f17]{color:#0b172d;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-selected, #0B172D)}.item--method-get[data-v-a4989f17]{--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-a4989f17]{--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-a4989f17]{--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-a4989f17]{--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-a4989f17]{--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-a4989f17]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-options, #6c7489);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-options, #f9fafb)}.item--method-head[data-v-a4989f17]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-head, #f9fafb);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-head, #6c7489)}.item--method-connect[data-v-a4989f17]{--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-a4989f17]{--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-a4989f17]{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-a4989f17]{display:flex}.truncate[data-v-a4989f17]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.method-badge[data-v-a4989f17]{font-size:12px;margin-right:8px}.path[data-v-a4989f17]{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-6b9de449]{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-6b9de449]{margin-bottom:8px;position:relative}.kong-ui-public-spec-operations-list .filter-input[data-v-6b9de449]{width:100%}.kong-ui-public-spec-operations-list .filter-input[data-v-6b9de449] .k-input{padding-left:32px}.kong-ui-public-spec-operations-list .filter-icon[data-v-6b9de449]{left:10px;position:absolute;top:calc(50% - 8px)}.kong-ui-public-spec-operations-list .section-wrapper[data-v-6b9de449]{margin-bottom:8px}.kong-ui-public-spec-operations-list .section-wrapper[data-v-6b9de449]:last-of-type{margin-bottom:0}.kong-ui-public-spec-operations-list .center[data-v-6b9de449]{text-align:center}.kong-ui-public-spec-operations-list[data-v-6b9de449] .k-collapse .k-collapse-heading{margin:0!important}.kong-ui-public-spec-renderer .spec-container[data-v-f9368289]{display:flex}.kong-ui-public-spec-renderer .spec-renderer-details[data-v-f9368289]{position:relative;width:100%}
1
+ .kong-public-ui-spec-details[data-v-dc89eded]{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)}.header[data-v-e18de61d]{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-e18de61d]{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-e18de61d]{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-e18de61d]:first-letter{text-transform:capitalize}.header--collapsed .label[data-v-e18de61d]{color:#3a3f51;color:var(--kong-ui-spec-renderer-operations-list-section-label-text-color-collapsed, #3a3f51)}.description[data-v-e18de61d]{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-e18de61d]{height:18px;margin-right:8px}.truncated[data-v-e18de61d]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spec-operations-list-item[data-v-e390696e]{-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-e390696e]{cursor:default}.spec-operations-list-item[data-v-e390696e]:hover{background:#000933;background:var(--kong-ui-spec-renderer-operations-list-item-background-hover, #000933)}.spec-operations-list-item:hover .summary[data-v-e390696e],.spec-operations-list-item:hover .path[data-v-e390696e]{color:#000933;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-hover, #000933)}.spec-operations-list-item[data-v-e390696e]: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-e390696e]{background:#000933;background:var(--kong-ui-spec-renderer-operations-list-item-background-selected, #000933)}.item--selected[data-v-e390696e]: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-e390696e],.item--selected .path[data-v-e390696e]{color:#0b172d;color:var(--kong-ui-spec-renderer-operations-list-item-summary-text-color-selected, #0B172D)}.item--method-get[data-v-e390696e]{--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-e390696e]{--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-e390696e]{--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-e390696e]{--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-e390696e]{--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-e390696e]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-options, #6c7489);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-options, #f9fafb)}.item--method-head[data-v-e390696e]{--kong-ui-spec-renderer-operations-list-item-method-color: var(--kong-ui-spec-renderer-method-color-head, #f9fafb);--kong-ui-spec-renderer-operations-list-item-method-background: var(--kong-ui-spec-renderer-method-background-head, #6c7489)}.item--method-connect[data-v-e390696e]{--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-e390696e]{--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-e390696e]{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-e390696e]{display:flex}.truncated[data-v-e390696e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.method-badge[data-v-e390696e]{font-size:12px;margin-right:8px}.path[data-v-e390696e]{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-6b9de449]{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-6b9de449]{margin-bottom:8px;position:relative}.kong-ui-public-spec-operations-list .filter-input[data-v-6b9de449]{width:100%}.kong-ui-public-spec-operations-list .filter-input[data-v-6b9de449] .k-input{padding-left:32px}.kong-ui-public-spec-operations-list .filter-icon[data-v-6b9de449]{left:10px;position:absolute;top:calc(50% - 8px)}.kong-ui-public-spec-operations-list .section-wrapper[data-v-6b9de449]{margin-bottom:8px}.kong-ui-public-spec-operations-list .section-wrapper[data-v-6b9de449]:last-of-type{margin-bottom:0}.kong-ui-public-spec-operations-list .center[data-v-6b9de449]{text-align:center}.kong-ui-public-spec-operations-list[data-v-6b9de449] .k-collapse .k-collapse-heading{margin:0!important}.kong-ui-public-spec-renderer .spec-container[data-v-f9368289]{display:flex}.kong-ui-public-spec-renderer .spec-renderer-details[data-v-f9368289]{position:relative;width:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/spec-renderer",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "type": "module",
5
5
  "main": "./dist/spec-renderer.umd.js",
6
6
  "module": "./dist/spec-renderer.es.js",