@kong-ui-public/entities-shared 3.54.1-pr.3548.9bb3456ef.0 → 3.54.1

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.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./_plugin-vue_export-helper-CPHEKtsJ.cjs"),Te=require("@kong/kongponents"),$t=require("@shikijs/core"),It=require("@shikijs/engine-javascript"),Ot=require("@shikijs/langs/json"),Vt=require("@shikijs/langs/yaml"),Dt=require("@shikijs/langs/terraform"),Kt=require("@shikijs/langs/shellscript"),Rt=require("@shikijs/langs/powershell"),Lt=require("@shikijs/themes/vesper"),Ft=require("@shikijs/themes/catppuccin-latte"),de=require("@kong/icons"),Mt=require("vue-router");var it=(n=>(n.GatewayService="service",n.Route="route",n.Consumer="consumer",n.ConsumerGroup="consumer group",n.Plugin="plugin",n.Upstream="upstream",n.Certificate="certificate",n.CACertificate="ca certificate",n.SNI="SNI",n.Key="key",n.KeySet="key set",n.Vault="vault",n.Application="application",n.Developer="developer",n.acls="ACL Credential",n["basic-auth"]="Basic Auth Credential",n["key-auth"]="Key Auth Credential",n["key-auth-enc"]="Key Auth Encrypted Credential",n.oauth2="OAuth 2.0 Credential",n["hmac-auth"]="HMAC Credential",n.jwt="JWT Credential",n.Target="target",n.Policy="policy",n.Secret="secret",n.RedisConfiguration="redis configuration",n))(it||{}),lt=(n=>(n.Edit="edit",n.Create="create",n))(lt||{});const Pt=["json","yaml","terraform","deck"],Ye=["primary","secondary"],qt={key:0,class:"config-card-fieldset-title"},jt=e.defineComponent({__name:"JsonCardItem",props:{item:{type:Object,required:!0},index:{type:Number,default:-1},isArrayItem:{type:Boolean,default:!1}},setup(n){const i=n,{i18n:{t:r}}=C.composables.useI18n(),{convertKeyToTitle:a}=C.composables.useStringHelpers(),d=e.computed(()=>i.item.key??"json-array-item"),g=e.computed(()=>i.item.value??i.item),l=e.computed(()=>{const p=JSON.parse(JSON.stringify(g.value));return i.isArrayItem&&delete p.name,p}),u=e.computed(()=>{var p;return i.isArrayItem?(p=g.value)!=null&&p.name?a(g.value.name,"_"):r("baseConfigCard.general.entryTitle",{index:i.index}):""});return(p,f)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.isArrayItem?"fieldset":"div"),{class:e.normalizeClass(n.isArrayItem?"config-card-fieldset":"config-card-json-item")},{default:e.withCtx(()=>[n.isArrayItem?(e.openBlock(),e.createElementBlock("legend",qt,[e.createElementVNode("b",null,e.toDisplayString(u.value),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(l.value),(h,c)=>(e.openBlock(),e.createBlock(Ge,{key:`${d.value}-property-${c}`,item:{key:h,label:e.unref(a)(h),value:l.value[h]}},null,8,["item"]))),128))]),_:1},8,["class"]))}}),at=C._export_sfc(jt,[["__scopeId","data-v-5baf64ca"]]),Ut=e.defineComponent({__name:"InternalLinkItem",props:{item:{type:Object,required:!0}},emits:["navigation-click"],setup(n){const{i18n:{t:i}}=C.composables.useI18n();return(r,a)=>{const d=e.resolveComponent("KButton");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(d,{appearance:"tertiary",class:"navigation-button",onClick:a[0]||(a[0]=g=>r.$emit("navigation-click",n.item))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.item.value||e.unref(i)("baseConfigCard.commonFields.link")),1)]),_:1})])}}}),ct=C._export_sfc(Ut,[["__scopeId","data-v-2feb8c2e"]]),zt=e.defineComponent({__name:"StatusBadge",props:{status:{type:Boolean,default:!1}},setup(n){const{i18n:{t:i}}=C.composables.useI18n();return(r,a)=>{const d=e.resolveComponent("KBadge");return e.openBlock(),e.createBlock(d,{appearance:n.status?"success":"neutral"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.status?e.unref(i)("baseConfigCard.statusBadge.enabledLabel"):e.unref(i)("baseConfigCard.statusBadge.disabledLabel")),1)]),_:1},8,["appearance"])}}}),Ht="#e0e4ea",Yt="#0044f4",Gt="#afb7c5",Wt="#0044f4",Jt="1px",Qt="16px",Ne="20px",tt="8px",nt="12px";let ze=null;function Xt(){return ze||(ze=$t.createHighlighterCoreSync({langs:[Ot,Vt,Dt,Kt,Rt],themes:[Lt,Ft],engine:It.createJavaScriptRegexEngine(),langAlias:{bash:"shellscript",sh:"shellscript",shell:"shellscript",zsh:"shellscript"}})),ze}function Zt(n,i){return Xt().codeToHtml(n,i)}function Se({codeElement:n,code:i,language:r,theme:a}){n.innerHTML=Zt(i,{lang:r,theme:a==="dark"?"vesper":"catppuccin-latte",structure:"inline"})}const en={class:"config-card-details-row"},tn=["data-testid"],nn=["data-testid"],on=["data-testid"],rn=["data-testid"],ln={key:1},an=["data-testid"],cn=["data-testid"],sn=["data-testid"],un=["data-testid"],dn={name:"ConfigCardItem",components:{JsonCardItem:at,StatusBadge:zt,InternalLinkItem:ct}},pn=e.defineComponent({...dn,props:{item:{type:Object,required:!0},slim:{type:Boolean,required:!1,default:!1},truncated:{type:Boolean,required:!1,default:!1}},emits:["navigation-click"],setup(n,{emit:i}){e.useCssVars(U=>({v59b22fe4:s.value?"none":`solid var(--kui-border-width-10, ${e.unref(Jt)}) var(--kui-color-border, ${e.unref(Ht)})`,v5ca198ae:c.value&&f.value?"block":"flex",v670c3372:c.value&&f.value?"100%":r.slim?"50%":"25%",v670e794d:c.value&&f.value?"100%":r.slim?"50%":"75%"}));const r=n,a=i,d=e.useId(),g=e.useSlots(),{i18n:{t:l,formatIsoDate:u,formatUnixTimeStamp:p}}=C.composables.useI18n(),f=e.computed(()=>r.item.value!==void 0&&r.item.value!==null&&r.item.value!==""),h=e.computed(()=>!!(r.item.tooltip||g["label-tooltip"])),c=e.computed(()=>r.item.type===C.ConfigurationSchemaType.Json||r.item.type===C.ConfigurationSchemaType.JsonArray),s=e.computed(()=>r.item.type===C.ConfigurationSchemaType.JsonArray),k=C.composables.useSubSchema(r.item.key),R=e.computed(()=>{var U;return r.item.type?r.item.type:(U=k==null?void 0:k.value)!=null&&U.encrypted?C.ConfigurationSchemaType.Redacted:void 0}),T=e.computed(()=>{switch(R.value){case C.ConfigurationSchemaType.ID:return{tag:"KCopy",attrs:{"data-testid":`${r.item.key}-copy-uuid`,"copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label}),text:r.item.value}};case C.ConfigurationSchemaType.IdArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{"copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label})}};case C.ConfigurationSchemaType.Redacted:return{tag:"KCopy",attrs:{"data-testid":`${r.item.key}-copy-uuid-redacted`,format:"redacted","copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label}),text:r.item.value}};case C.ConfigurationSchemaType.RedactedArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{format:"redacted","copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label})}};case C.ConfigurationSchemaType.Date:return{tag:"div",attrs:{"data-testid":`${r.item.key}-date`},text:isNaN(Number(r.item.value))?u(r.item.value):p(r.item.value)};case C.ConfigurationSchemaType.BadgeStatus:return{tag:"StatusBadge",attrs:{"data-testid":`${r.item.key}-badge-status`,status:r.item.value}};case C.ConfigurationSchemaType.BadgeTag:return{tag:"div",additionalComponent:"KBadge"};case C.ConfigurationSchemaType.CopyBadge:return{tag:"div",additionalComponent:"KCopy",childAttrs:{badge:!0,truncate:!0,truncationLimit:"auto",text:r.item.value}};case C.ConfigurationSchemaType.BadgeMethod:return{tag:"div",additionalComponent:"KMethodBadge"};case C.ConfigurationSchemaType.LinkInternal:return{tag:"InternalLinkItem",attrs:{"data-testid":`${r.item.key}-internal-link`,item:r.item,onNavigationClick:U=>{a("navigation-click",U)}}};case C.ConfigurationSchemaType.LinkExternal:return{tag:"KExternalLink",attrs:{"data-testid":`${r.item.key}-external-link`,href:r.item.value},text:r.item.value};case C.ConfigurationSchemaType.Json:return{tag:"JsonCardItem",attrs:{"data-testid":`${r.item.key}-json-content`,item:r.item}};case C.ConfigurationSchemaType.JsonArray:return{tag:"div",additionalComponent:"JsonCardItem",attrs:{"data-testid":`${r.item.key}-json-array-content`,item:r.item}};default:return r.item.value!=null&&typeof r.item.value=="object"?{tag:"KCodeBlock",attrs:{"data-testid":`${r.item.key}-json-code`,id:`json-code-${d}`,language:"json",code:JSON.stringify(r.item.value,null," "),maxHeight:"480px",showLineNumbers:!1,onCodeBlockRender:Se}}:{tag:"div",attrs:{"data-testid":`${r.item.key}-plain-text`},text:r.item.value}}}),I=e.ref(),F=e.ref(),{isTruncated:N}=C.composables.useTruncationDetector(I),{isTruncated:w}=C.composables.useTruncationDetector(F);return(U,z)=>{const Z=e.resolveComponent("KTooltip"),M=e.resolveComponent("KLabel"),D=e.resolveComponent("KBadge"),A=e.resolveComponent("KCopy");return e.openBlock(),e.createElementBlock("div",en,[e.createElementVNode("div",{class:"config-card-details-label","data-testid":`${n.item.key}-label`},[e.renderSlot(U.$slots,"label",{item:n.item},()=>[e.createVNode(M,{"tooltip-attributes":{maxWidth:"500px"}},e.createSlots({default:e.withCtx(()=>[e.createVNode(Z,{text:e.unref(N)?n.item.label:""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"labelContent",ref:I,class:"label-content"},e.toDisplayString(n.item.label),513)]),_:1},8,["text"])]),_:2},[h.value?{name:"tooltip",fn:e.withCtx(()=>[e.createElementVNode("div",{"data-testid":`${n.item.key}-label-tooltip`},[e.renderSlot(U.$slots,"label-tooltip",{},()=>[e.createTextVNode(e.toDisplayString(n.item.tooltip),1)],!0)],8,nn)]),key:"0"}:void 0]),1024)],!0)],8,tn),e.createElementVNode("div",{class:"config-card-details-value","data-testid":`${n.item.key}-property-value`},[e.renderSlot(U.$slots,n.item.key,{rowValue:n.item.value},()=>[f.value?(e.openBlock(),e.createElementBlock("div",ln,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.value.tag),e.normalizeProps(e.guardReactiveProps(T.value.attrs)),{default:e.withCtx(()=>[T.value.additionalComponent==="KBadge"?(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${n.item.key}-badge-tags`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(D,{key:`${n.item.key}-badge-tag-${ee}`,class:"config-badge","data-testid":`${n.item.key}-badge-tag-${ee}`,tooltip:L,"truncation-tooltip":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L),1)]),_:2},1032,["data-testid","tooltip"]))),128))],8,an)):T.value.additionalComponent==="KCopy"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"copy-uuid-array","data-testid":`${n.item.key}-copy-uuid-array`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(A,e.mergeProps({ref_for:!0},T.value.childAttrs,{key:`${n.item.key}-copy-uuid-${ee}`,"data-testid":`${n.item.key}-copy-uuid-${ee}`,text:L}),null,16,["data-testid","text"]))),128))],8,cn)):T.value.additionalComponent==="KMethodBadge"?(e.openBlock(),e.createElementBlock("div",{key:2,class:"method-badge-array","data-testid":`${n.item.key}-badge-methods`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(D,{key:`${n.item.key}-badge-method-${ee}`,appearance:Object.values(e.unref(Te.BadgeMethodAppearances)).includes(L.toLowerCase())?L.toLowerCase():"custom",class:"config-badge","data-testid":`${n.item.key}-badge-method-${ee}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L),1)]),_:2},1032,["appearance","data-testid"]))),128))],8,sn)):T.value.additionalComponent==="JsonCardItem"?(e.openBlock(),e.createElementBlock("div",{key:3,"data-testid":`${r.item.key}-json-array-content`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(at,{key:`json-array-item-${ee}`,index:Number(ee),"is-array-item":"",item:L},null,8,["index","item"]))),128))],8,un)):(e.openBlock(),e.createBlock(Z,{key:4,text:e.unref(w)?n.item.value:""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"textContent",ref:F,class:e.normalizeClass(["attrs-data-text",{truncated:n.truncated}])},e.toDisplayString(T.value.text),3)]),_:1},8,["text"]))]),_:1},16))])):(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${n.item.key}-no-value`}," – ",8,rn))],!0)],8,on)])}}}),Ge=C._export_sfc(pn,[["__scopeId","data-v-b63235ac"]]),fn={class:"json-config config-card-code-block"},mn={key:0,class:"json-endpoint"},We=e.defineComponent({__name:"JsonCodeBlock",props:{config:{type:Object,required:!1,default:()=>({})},fetcherUrl:{type:String,required:!1,default:""},requestMethod:{type:String,required:!1,default:""},entityRecord:{type:Object,required:!0},unredactedRecord:{type:Object,default:null}},setup(n){e.useCssVars(d=>({c7479fcc:`${a.value}ch`}));const i=n,r=e.computed(()=>i.entityRecord),a=e.computed(()=>{var l;if(!i.fetcherUrl)return 0;const d=(l=i.fetcherUrl)==null?void 0:l.split("/");return d.length<2?0:41+(i.requestMethod==="post"?d[d.length-1]:d[d.length-2]).length});return(d,g)=>{const l=e.resolveComponent("KBadge"),u=e.resolveComponent("KCodeBlock");return e.openBlock(),e.createElementBlock("div",fn,[n.fetcherUrl?(e.openBlock(),e.createElementBlock("div",mn,[e.createVNode(l,{appearance:n.requestMethod},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.requestMethod),1)]),_:1},8,["appearance"]),e.createVNode(u,{id:"json-endpoint-codeblock",code:n.fetcherUrl,language:"plaintext","single-line":"",theme:"dark"},null,8,["code"])])):e.createCommentVNode("",!0),n.entityRecord?(e.openBlock(),e.createBlock(u,{key:1,id:"json-codeblock",class:e.normalizeClass({"json-content":n.fetcherUrl}),code:JSON.stringify(r.value,null,2),"copy-code":JSON.stringify(n.unredactedRecord||r.value,null,2),"data-dd-privacy":"mask",language:"json",theme:"dark",onCodeBlockRender:e.unref(Se)},null,8,["class","code","copy-code","onCodeBlockRender"])):e.createCommentVNode("",!0)])}}});/*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */var yn=Object.create,st=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,hn=Object.getOwnPropertyNames,vn=Object.getPrototypeOf,kn=Object.prototype.hasOwnProperty,le=(n,i)=>()=>(i||(n((i={exports:{}}).exports,i),n=null),i.exports),Cn=(n,i,r,a)=>{if(i&&typeof i=="object"||typeof i=="function")for(var d=hn(i),g=0,l=d.length,u;g<l;g++)u=d[g],!kn.call(n,u)&&u!==r&&st(n,u,{get:(p=>i[p]).bind(null,u),enumerable:!(a=gn(i,u))||a.enumerable});return n},bn=(n,i,r)=>(r=n!=null?yn(vn(n)):{},Cn(st(r,"default",{value:n,enumerable:!0}),n)),_e=le((n,i)=>{function r(p){return typeof p>"u"||p===null}function a(p){return typeof p=="object"&&p!==null}function d(p){return Array.isArray(p)?p:r(p)?[]:[p]}function g(p,f){if(f){const h=Object.keys(f);for(let c=0,s=h.length;c<s;c+=1){const k=h[c];p[k]=f[k]}}return p}function l(p,f){let h="";for(let c=0;c<f;c+=1)h+=p;return h}function u(p){return p===0&&Number.NEGATIVE_INFINITY===1/p}i.exports.isNothing=r,i.exports.isObject=a,i.exports.toArray=d,i.exports.repeat=l,i.exports.isNegativeZero=u,i.exports.extend=g}),$e=le((n,i)=>{function r(d,g){let l="";const u=d.reason||"(unknown reason)";return d.mark?(d.mark.name&&(l+='in "'+d.mark.name+'" '),l+="("+(d.mark.line+1)+":"+(d.mark.column+1)+")",!g&&d.mark.snippet&&(l+=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./_plugin-vue_export-helper-CPHEKtsJ.cjs"),Te=require("@kong/kongponents"),$t=require("@shikijs/core"),It=require("@shikijs/engine-javascript"),Ot=require("@shikijs/langs/json"),Vt=require("@shikijs/langs/yaml"),Dt=require("@shikijs/langs/terraform"),Kt=require("@shikijs/langs/shellscript"),Rt=require("@shikijs/langs/powershell"),Lt=require("@shikijs/themes/material-theme-darker"),Ft=require("@shikijs/themes/catppuccin-latte"),de=require("@kong/icons"),Mt=require("vue-router");var it=(n=>(n.GatewayService="service",n.Route="route",n.Consumer="consumer",n.ConsumerGroup="consumer group",n.Plugin="plugin",n.Upstream="upstream",n.Certificate="certificate",n.CACertificate="ca certificate",n.SNI="SNI",n.Key="key",n.KeySet="key set",n.Vault="vault",n.Application="application",n.Developer="developer",n.acls="ACL Credential",n["basic-auth"]="Basic Auth Credential",n["key-auth"]="Key Auth Credential",n["key-auth-enc"]="Key Auth Encrypted Credential",n.oauth2="OAuth 2.0 Credential",n["hmac-auth"]="HMAC Credential",n.jwt="JWT Credential",n.Target="target",n.Policy="policy",n.Secret="secret",n.RedisConfiguration="redis configuration",n))(it||{}),lt=(n=>(n.Edit="edit",n.Create="create",n))(lt||{});const Pt=["json","yaml","terraform","deck"],Ye=["primary","secondary"],qt={key:0,class:"config-card-fieldset-title"},jt=e.defineComponent({__name:"JsonCardItem",props:{item:{type:Object,required:!0},index:{type:Number,default:-1},isArrayItem:{type:Boolean,default:!1}},setup(n){const i=n,{i18n:{t:r}}=C.composables.useI18n(),{convertKeyToTitle:a}=C.composables.useStringHelpers(),d=e.computed(()=>i.item.key??"json-array-item"),g=e.computed(()=>i.item.value??i.item),l=e.computed(()=>{const p=JSON.parse(JSON.stringify(g.value));return i.isArrayItem&&delete p.name,p}),u=e.computed(()=>{var p;return i.isArrayItem?(p=g.value)!=null&&p.name?a(g.value.name,"_"):r("baseConfigCard.general.entryTitle",{index:i.index}):""});return(p,f)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.isArrayItem?"fieldset":"div"),{class:e.normalizeClass(n.isArrayItem?"config-card-fieldset":"config-card-json-item")},{default:e.withCtx(()=>[n.isArrayItem?(e.openBlock(),e.createElementBlock("legend",qt,[e.createElementVNode("b",null,e.toDisplayString(u.value),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(l.value),(h,c)=>(e.openBlock(),e.createBlock(Ge,{key:`${d.value}-property-${c}`,item:{key:h,label:e.unref(a)(h),value:l.value[h]}},null,8,["item"]))),128))]),_:1},8,["class"]))}}),at=C._export_sfc(jt,[["__scopeId","data-v-5baf64ca"]]),Ut=e.defineComponent({__name:"InternalLinkItem",props:{item:{type:Object,required:!0}},emits:["navigation-click"],setup(n){const{i18n:{t:i}}=C.composables.useI18n();return(r,a)=>{const d=e.resolveComponent("KButton");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(d,{appearance:"tertiary",class:"navigation-button",onClick:a[0]||(a[0]=g=>r.$emit("navigation-click",n.item))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.item.value||e.unref(i)("baseConfigCard.commonFields.link")),1)]),_:1})])}}}),ct=C._export_sfc(Ut,[["__scopeId","data-v-2feb8c2e"]]),zt=e.defineComponent({__name:"StatusBadge",props:{status:{type:Boolean,default:!1}},setup(n){const{i18n:{t:i}}=C.composables.useI18n();return(r,a)=>{const d=e.resolveComponent("KBadge");return e.openBlock(),e.createBlock(d,{appearance:n.status?"success":"neutral"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.status?e.unref(i)("baseConfigCard.statusBadge.enabledLabel"):e.unref(i)("baseConfigCard.statusBadge.disabledLabel")),1)]),_:1},8,["appearance"])}}}),Ht="#e0e4ea",Yt="#0044f4",Gt="#afb7c5",Wt="#0044f4",Jt="1px",Qt="16px",Ne="20px",tt="8px",nt="12px";let ze=null;function Xt(){return ze||(ze=$t.createHighlighterCoreSync({langs:[Ot,Vt,Dt,Kt,Rt],themes:[Lt,Ft],engine:It.createJavaScriptRegexEngine(),langAlias:{bash:"shellscript",sh:"shellscript",shell:"shellscript",zsh:"shellscript"}})),ze}function Zt(n,i){return Xt().codeToHtml(n,i)}function Se({codeElement:n,code:i,language:r,theme:a}){n.innerHTML=Zt(i,{lang:r,theme:a==="dark"?"material-theme-darker":"catppuccin-latte",structure:"inline"})}const en={class:"config-card-details-row"},tn=["data-testid"],nn=["data-testid"],on=["data-testid"],rn=["data-testid"],ln={key:1},an=["data-testid"],cn=["data-testid"],sn=["data-testid"],un=["data-testid"],dn={name:"ConfigCardItem",components:{JsonCardItem:at,StatusBadge:zt,InternalLinkItem:ct}},pn=e.defineComponent({...dn,props:{item:{type:Object,required:!0},slim:{type:Boolean,required:!1,default:!1},truncated:{type:Boolean,required:!1,default:!1}},emits:["navigation-click"],setup(n,{emit:i}){e.useCssVars(U=>({v59b22fe4:s.value?"none":`solid var(--kui-border-width-10, ${e.unref(Jt)}) var(--kui-color-border, ${e.unref(Ht)})`,v5ca198ae:c.value&&f.value?"block":"flex",v670c3372:c.value&&f.value?"100%":r.slim?"50%":"25%",v670e794d:c.value&&f.value?"100%":r.slim?"50%":"75%"}));const r=n,a=i,d=e.useId(),g=e.useSlots(),{i18n:{t:l,formatIsoDate:u,formatUnixTimeStamp:p}}=C.composables.useI18n(),f=e.computed(()=>r.item.value!==void 0&&r.item.value!==null&&r.item.value!==""),h=e.computed(()=>!!(r.item.tooltip||g["label-tooltip"])),c=e.computed(()=>r.item.type===C.ConfigurationSchemaType.Json||r.item.type===C.ConfigurationSchemaType.JsonArray),s=e.computed(()=>r.item.type===C.ConfigurationSchemaType.JsonArray),k=C.composables.useSubSchema(r.item.key),R=e.computed(()=>{var U;return r.item.type?r.item.type:(U=k==null?void 0:k.value)!=null&&U.encrypted?C.ConfigurationSchemaType.Redacted:void 0}),T=e.computed(()=>{switch(R.value){case C.ConfigurationSchemaType.ID:return{tag:"KCopy",attrs:{"data-testid":`${r.item.key}-copy-uuid`,"copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label}),text:r.item.value}};case C.ConfigurationSchemaType.IdArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{"copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label})}};case C.ConfigurationSchemaType.Redacted:return{tag:"KCopy",attrs:{"data-testid":`${r.item.key}-copy-uuid-redacted`,format:"redacted","copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label}),text:r.item.value}};case C.ConfigurationSchemaType.RedactedArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{format:"redacted","copy-tooltip":l("baseConfigCard.copy.tooltip",{label:r.item.label})}};case C.ConfigurationSchemaType.Date:return{tag:"div",attrs:{"data-testid":`${r.item.key}-date`},text:isNaN(Number(r.item.value))?u(r.item.value):p(r.item.value)};case C.ConfigurationSchemaType.BadgeStatus:return{tag:"StatusBadge",attrs:{"data-testid":`${r.item.key}-badge-status`,status:r.item.value}};case C.ConfigurationSchemaType.BadgeTag:return{tag:"div",additionalComponent:"KBadge"};case C.ConfigurationSchemaType.CopyBadge:return{tag:"div",additionalComponent:"KCopy",childAttrs:{badge:!0,truncate:!0,truncationLimit:"auto",text:r.item.value}};case C.ConfigurationSchemaType.BadgeMethod:return{tag:"div",additionalComponent:"KMethodBadge"};case C.ConfigurationSchemaType.LinkInternal:return{tag:"InternalLinkItem",attrs:{"data-testid":`${r.item.key}-internal-link`,item:r.item,onNavigationClick:U=>{a("navigation-click",U)}}};case C.ConfigurationSchemaType.LinkExternal:return{tag:"KExternalLink",attrs:{"data-testid":`${r.item.key}-external-link`,href:r.item.value},text:r.item.value};case C.ConfigurationSchemaType.Json:return{tag:"JsonCardItem",attrs:{"data-testid":`${r.item.key}-json-content`,item:r.item}};case C.ConfigurationSchemaType.JsonArray:return{tag:"div",additionalComponent:"JsonCardItem",attrs:{"data-testid":`${r.item.key}-json-array-content`,item:r.item}};default:return r.item.value!=null&&typeof r.item.value=="object"?{tag:"KCodeBlock",attrs:{"data-testid":`${r.item.key}-json-code`,id:`json-code-${d}`,language:"json",code:JSON.stringify(r.item.value,null," "),maxHeight:"480px",showLineNumbers:!1,onCodeBlockRender:Se}}:{tag:"div",attrs:{"data-testid":`${r.item.key}-plain-text`},text:r.item.value}}}),I=e.ref(),F=e.ref(),{isTruncated:N}=C.composables.useTruncationDetector(I),{isTruncated:w}=C.composables.useTruncationDetector(F);return(U,z)=>{const Z=e.resolveComponent("KTooltip"),M=e.resolveComponent("KLabel"),D=e.resolveComponent("KBadge"),A=e.resolveComponent("KCopy");return e.openBlock(),e.createElementBlock("div",en,[e.createElementVNode("div",{class:"config-card-details-label","data-testid":`${n.item.key}-label`},[e.renderSlot(U.$slots,"label",{item:n.item},()=>[e.createVNode(M,{"tooltip-attributes":{maxWidth:"500px"}},e.createSlots({default:e.withCtx(()=>[e.createVNode(Z,{text:e.unref(N)?n.item.label:""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"labelContent",ref:I,class:"label-content"},e.toDisplayString(n.item.label),513)]),_:1},8,["text"])]),_:2},[h.value?{name:"tooltip",fn:e.withCtx(()=>[e.createElementVNode("div",{"data-testid":`${n.item.key}-label-tooltip`},[e.renderSlot(U.$slots,"label-tooltip",{},()=>[e.createTextVNode(e.toDisplayString(n.item.tooltip),1)],!0)],8,nn)]),key:"0"}:void 0]),1024)],!0)],8,tn),e.createElementVNode("div",{class:"config-card-details-value","data-testid":`${n.item.key}-property-value`},[e.renderSlot(U.$slots,n.item.key,{rowValue:n.item.value},()=>[f.value?(e.openBlock(),e.createElementBlock("div",ln,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.value.tag),e.normalizeProps(e.guardReactiveProps(T.value.attrs)),{default:e.withCtx(()=>[T.value.additionalComponent==="KBadge"?(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${n.item.key}-badge-tags`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(D,{key:`${n.item.key}-badge-tag-${ee}`,class:"config-badge","data-testid":`${n.item.key}-badge-tag-${ee}`,tooltip:L,"truncation-tooltip":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L),1)]),_:2},1032,["data-testid","tooltip"]))),128))],8,an)):T.value.additionalComponent==="KCopy"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"copy-uuid-array","data-testid":`${n.item.key}-copy-uuid-array`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(A,e.mergeProps({ref_for:!0},T.value.childAttrs,{key:`${n.item.key}-copy-uuid-${ee}`,"data-testid":`${n.item.key}-copy-uuid-${ee}`,text:L}),null,16,["data-testid","text"]))),128))],8,cn)):T.value.additionalComponent==="KMethodBadge"?(e.openBlock(),e.createElementBlock("div",{key:2,class:"method-badge-array","data-testid":`${n.item.key}-badge-methods`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(D,{key:`${n.item.key}-badge-method-${ee}`,appearance:Object.values(e.unref(Te.BadgeMethodAppearances)).includes(L.toLowerCase())?L.toLowerCase():"custom",class:"config-badge","data-testid":`${n.item.key}-badge-method-${ee}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L),1)]),_:2},1032,["appearance","data-testid"]))),128))],8,sn)):T.value.additionalComponent==="JsonCardItem"?(e.openBlock(),e.createElementBlock("div",{key:3,"data-testid":`${r.item.key}-json-array-content`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.value,(L,ee)=>(e.openBlock(),e.createBlock(at,{key:`json-array-item-${ee}`,index:Number(ee),"is-array-item":"",item:L},null,8,["index","item"]))),128))],8,un)):(e.openBlock(),e.createBlock(Z,{key:4,text:e.unref(w)?n.item.value:""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"textContent",ref:F,class:e.normalizeClass(["attrs-data-text",{truncated:n.truncated}])},e.toDisplayString(T.value.text),3)]),_:1},8,["text"]))]),_:1},16))])):(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${n.item.key}-no-value`}," – ",8,rn))],!0)],8,on)])}}}),Ge=C._export_sfc(pn,[["__scopeId","data-v-b63235ac"]]),fn={class:"json-config config-card-code-block"},mn={key:0,class:"json-endpoint"},We=e.defineComponent({__name:"JsonCodeBlock",props:{config:{type:Object,required:!1,default:()=>({})},fetcherUrl:{type:String,required:!1,default:""},requestMethod:{type:String,required:!1,default:""},entityRecord:{type:Object,required:!0},unredactedRecord:{type:Object,default:null}},setup(n){e.useCssVars(d=>({c7479fcc:`${a.value}ch`}));const i=n,r=e.computed(()=>i.entityRecord),a=e.computed(()=>{var l;if(!i.fetcherUrl)return 0;const d=(l=i.fetcherUrl)==null?void 0:l.split("/");return d.length<2?0:41+(i.requestMethod==="post"?d[d.length-1]:d[d.length-2]).length});return(d,g)=>{const l=e.resolveComponent("KBadge"),u=e.resolveComponent("KCodeBlock");return e.openBlock(),e.createElementBlock("div",fn,[n.fetcherUrl?(e.openBlock(),e.createElementBlock("div",mn,[e.createVNode(l,{appearance:n.requestMethod},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.requestMethod),1)]),_:1},8,["appearance"]),e.createVNode(u,{id:"json-endpoint-codeblock",code:n.fetcherUrl,language:"plaintext","single-line":"",theme:"dark"},null,8,["code"])])):e.createCommentVNode("",!0),n.entityRecord?(e.openBlock(),e.createBlock(u,{key:1,id:"json-codeblock",class:e.normalizeClass({"json-content":n.fetcherUrl}),code:JSON.stringify(r.value,null,2),"copy-code":JSON.stringify(n.unredactedRecord||r.value,null,2),"data-dd-privacy":"mask",language:"json",theme:"dark",onCodeBlockRender:e.unref(Se)},null,8,["class","code","copy-code","onCodeBlockRender"])):e.createCommentVNode("",!0)])}}});/*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */var yn=Object.create,st=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,hn=Object.getOwnPropertyNames,vn=Object.getPrototypeOf,kn=Object.prototype.hasOwnProperty,le=(n,i)=>()=>(i||(n((i={exports:{}}).exports,i),n=null),i.exports),Cn=(n,i,r,a)=>{if(i&&typeof i=="object"||typeof i=="function")for(var d=hn(i),g=0,l=d.length,u;g<l;g++)u=d[g],!kn.call(n,u)&&u!==r&&st(n,u,{get:(p=>i[p]).bind(null,u),enumerable:!(a=gn(i,u))||a.enumerable});return n},bn=(n,i,r)=>(r=n!=null?yn(vn(n)):{},Cn(st(r,"default",{value:n,enumerable:!0}),n)),_e=le((n,i)=>{function r(p){return typeof p>"u"||p===null}function a(p){return typeof p=="object"&&p!==null}function d(p){return Array.isArray(p)?p:r(p)?[]:[p]}function g(p,f){if(f){const h=Object.keys(f);for(let c=0,s=h.length;c<s;c+=1){const k=h[c];p[k]=f[k]}}return p}function l(p,f){let h="";for(let c=0;c<f;c+=1)h+=p;return h}function u(p){return p===0&&Number.NEGATIVE_INFINITY===1/p}i.exports.isNothing=r,i.exports.isObject=a,i.exports.toArray=d,i.exports.repeat=l,i.exports.isNegativeZero=u,i.exports.extend=g}),$e=le((n,i)=>{function r(d,g){let l="";const u=d.reason||"(unknown reason)";return d.mark?(d.mark.name&&(l+='in "'+d.mark.name+'" '),l+="("+(d.mark.line+1)+":"+(d.mark.column+1)+")",!g&&d.mark.snippet&&(l+=`
2
2
 
3
3
  `+d.mark.snippet),u+" "+l):u}function a(d,g){Error.call(this),this.name="YAMLException",this.reason=d,this.mark=g,this.message=r(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a.prototype.toString=function(g){return this.name+": "+r(this,g)},i.exports=a}),Sn=le((n,i)=>{var r=_e();function a(l,u,p,f,h){let c="",s="";const k=Math.floor(h/2)-1;return f-u>k&&(c=" ... ",u=f-k+c.length),p-f>k&&(s=" ...",p=f+k-s.length),{str:c+l.slice(u,p).replace(/\t/g,"→")+s,pos:f-u+c.length}}function d(l,u){return r.repeat(" ",u-l.length)+l}function g(l,u){if(u=Object.create(u||null),!l.buffer)return null;u.maxLength||(u.maxLength=79),typeof u.indent!="number"&&(u.indent=1),typeof u.linesBefore!="number"&&(u.linesBefore=3),typeof u.linesAfter!="number"&&(u.linesAfter=2);const p=/\r?\n|\r|\0/g,f=[0],h=[];let c,s=-1;for(;c=p.exec(l.buffer);)h.push(c.index),f.push(c.index+c[0].length),l.position<=c.index&&s<0&&(s=f.length-2);s<0&&(s=f.length-1);let k="";const R=Math.min(l.line+u.linesAfter,h.length).toString().length,T=u.maxLength-(u.indent+R+3);for(let F=1;F<=u.linesBefore&&!(s-F<0);F++){const N=a(l.buffer,f[s-F],h[s-F],l.position-(f[s]-f[s-F]),T);k=r.repeat(" ",u.indent)+d((l.line-F+1).toString(),R)+" | "+N.str+`
4
4
  `+k}const I=a(l.buffer,f[s],h[s],l.position,T);k+=r.repeat(" ",u.indent)+d((l.line+1).toString(),R)+" | "+I.str+`
@@ -8,10 +8,10 @@ import Fn from "@shikijs/langs/json";
8
8
  import Mn from "@shikijs/langs/yaml";
9
9
  import Pn from "@shikijs/langs/terraform";
10
10
  import Nn from "@shikijs/langs/shellscript";
11
- import qn from "@shikijs/langs/powershell";
12
- import Dn from "@shikijs/themes/vesper";
11
+ import Dn from "@shikijs/langs/powershell";
12
+ import qn from "@shikijs/themes/material-theme-darker";
13
13
  import jn from "@shikijs/themes/catppuccin-latte";
14
- import { LanguageShellIcon as xt, LanguageBashIcon as _t, InfoIcon as Pt, BookIcon as Nt, AddIcon as qt, CloseIcon as Un, FilterIcon as Et, ChevronDownIcon as zn, CopyIcon as Dt, VisibilityOffIcon as Hn, VisibilityIcon as Vn } from "@kong/icons";
14
+ import { LanguageShellIcon as xt, LanguageBashIcon as _t, InfoIcon as Pt, BookIcon as Nt, AddIcon as Dt, CloseIcon as Un, FilterIcon as Et, ChevronDownIcon as zn, CopyIcon as qt, VisibilityOffIcon as Hn, VisibilityIcon as Vn } from "@kong/icons";
15
15
  import { useRouter as Yn } from "vue-router";
16
16
  var Wn = /* @__PURE__ */ ((t) => (t.GatewayService = "service", t.Route = "route", t.Consumer = "consumer", t.ConsumerGroup = "consumer group", t.Plugin = "plugin", t.Upstream = "upstream", t.Certificate = "certificate", t.CACertificate = "ca certificate", t.SNI = "SNI", t.Key = "key", t.KeySet = "key set", t.Vault = "vault", t.Application = "application", t.Developer = "developer", t.acls = "ACL Credential", t["basic-auth"] = "Basic Auth Credential", t["key-auth"] = "Key Auth Credential", t["key-auth-enc"] = "Key Auth Encrypted Credential", t.oauth2 = "OAuth 2.0 Credential", t["hmac-auth"] = "HMAC Credential", t.jwt = "JWT Credential", t.Target = "target", t.Policy = "policy", t.Secret = "secret", t.RedisConfiguration = "redis configuration", t))(Wn || {}), Gn = /* @__PURE__ */ ((t) => (t.Edit = "edit", t.Create = "create", t))(Gn || {});
17
17
  const Er = ["json", "yaml", "terraform", "deck"], It = [
@@ -116,8 +116,8 @@ const Er = ["json", "yaml", "terraform", "deck"], It = [
116
116
  let kt = null;
117
117
  function ai() {
118
118
  return kt || (kt = Rn({
119
- langs: [Fn, Mn, Pn, Nn, qn],
120
- themes: [Dn, jn],
119
+ langs: [Fn, Mn, Pn, Nn, Dn],
120
+ themes: [qn, jn],
121
121
  engine: Ln(),
122
122
  langAlias: {
123
123
  bash: "shellscript",
@@ -131,7 +131,7 @@ function ci(t, o) {
131
131
  return ai().codeToHtml(t, o);
132
132
  }
133
133
  function We({ codeElement: t, code: o, language: i, theme: l }) {
134
- t.innerHTML = ci(o, { lang: i, theme: l === "dark" ? "vesper" : "catppuccin-latte", structure: "inline" });
134
+ t.innerHTML = ci(o, { lang: i, theme: l === "dark" ? "material-theme-darker" : "catppuccin-latte", structure: "inline" });
135
135
  }
136
136
  const si = { class: "config-card-details-row" }, ui = ["data-testid"], di = ["data-testid"], fi = ["data-testid"], pi = ["data-testid"], mi = { key: 1 }, yi = ["data-testid"], gi = ["data-testid"], hi = ["data-testid"], vi = ["data-testid"], bi = {
137
137
  name: "ConfigCardItem",
@@ -297,16 +297,16 @@ const si = { class: "config-card-details-row" }, ui = ["data-testid"], di = ["da
297
297
  text: i.item.value
298
298
  };
299
299
  }
300
- }), B = ue(), q = ue(), { isTruncated: E } = ge.useTruncationDetector(B), { isTruncated: w } = ge.useTruncationDetector(q);
300
+ }), B = ue(), D = ue(), { isTruncated: E } = ge.useTruncationDetector(B), { isTruncated: w } = ge.useTruncationDetector(D);
301
301
  return (G, J) => {
302
- const se = ie("KTooltip"), D = ie("KLabel"), F = ie("KBadge"), x = ie("KCopy");
302
+ const se = ie("KTooltip"), q = ie("KLabel"), F = ie("KBadge"), x = ie("KCopy");
303
303
  return h(), V("div", si, [
304
304
  te("div", {
305
305
  class: "config-card-details-label",
306
306
  "data-testid": `${t.item.key}-label`
307
307
  }, [
308
308
  pe(G.$slots, "label", { item: t.item }, () => [
309
- Z(D, { "tooltip-attributes": { maxWidth: "500px" } }, Ue({
309
+ Z(q, { "tooltip-attributes": { maxWidth: "500px" } }, Ue({
310
310
  default: R(() => [
311
311
  Z(se, {
312
312
  text: C(E) ? t.item.label : ""
@@ -408,7 +408,7 @@ const si = { class: "config-card-details-row" }, ui = ["data-testid"], di = ["da
408
408
  default: R(() => [
409
409
  te("span", {
410
410
  ref_key: "textContent",
411
- ref: q,
411
+ ref: D,
412
412
  class: Ee(["attrs-data-text", { truncated: t.truncated }])
413
413
  }, j($.value.text), 3)
414
414
  ]),
@@ -582,18 +582,18 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
582
582
  c < 0 && (c = f.length - 1);
583
583
  let b = "";
584
584
  const P = Math.min(r.line + s.linesAfter, g.length).toString().length, $ = s.maxLength - (s.indent + P + 3);
585
- for (let q = 1; q <= s.linesBefore && !(c - q < 0); q++) {
586
- const E = l(r.buffer, f[c - q], g[c - q], r.position - (f[c] - f[c - q]), $);
587
- b = i.repeat(" ", s.indent) + u((r.line - q + 1).toString(), P) + " | " + E.str + `
585
+ for (let D = 1; D <= s.linesBefore && !(c - D < 0); D++) {
586
+ const E = l(r.buffer, f[c - D], g[c - D], r.position - (f[c] - f[c - D]), $);
587
+ b = i.repeat(" ", s.indent) + u((r.line - D + 1).toString(), P) + " | " + E.str + `
588
588
  ` + b;
589
589
  }
590
590
  const B = l(r.buffer, f[c], g[c], r.position, $);
591
591
  b += i.repeat(" ", s.indent) + u((r.line + 1).toString(), P) + " | " + B.str + `
592
592
  `, b += i.repeat("-", s.indent + P + 3 + B.pos) + `^
593
593
  `;
594
- for (let q = 1; q <= s.linesAfter && !(c + q >= g.length); q++) {
595
- const E = l(r.buffer, f[c + q], g[c + q], r.position - (f[c] - f[c + q]), $);
596
- b += i.repeat(" ", s.indent) + u((r.line + q + 1).toString(), P) + " | " + E.str + `
594
+ for (let D = 1; D <= s.linesAfter && !(c + D >= g.length); D++) {
595
+ const E = l(r.buffer, f[c + D], g[c + D], r.position - (f[c] - f[c + D]), $);
596
+ b += i.repeat(" ", s.indent) + u((r.line + D + 1).toString(), P) + " | " + E.str + `
597
597
  `;
598
598
  }
599
599
  return b.replace(/\n$/, "");
@@ -939,7 +939,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
939
939
  if (a === null && (a = u.exec(d)), a === null) throw new Error("Date resolve error");
940
940
  const c = +a[1], b = +a[2] - 1, P = +a[3];
941
941
  if (!a[4]) return new Date(Date.UTC(c, b, P));
942
- const $ = +a[4], B = +a[5], q = +a[6];
942
+ const $ = +a[4], B = +a[5], D = +a[6];
943
943
  if (a[7]) {
944
944
  for (f = a[7].slice(0, 3); f.length < 3; ) f += "0";
945
945
  f = +f;
@@ -948,7 +948,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
948
948
  const w = +a[10], G = +(a[11] || 0);
949
949
  g = (w * 60 + G) * 6e4, a[9] === "-" && (g = -g);
950
950
  }
951
- const E = new Date(Date.UTC(c, b, P, $, B, q, f));
951
+ const E = new Date(Date.UTC(c, b, P, $, B, D, f));
952
952
  return g && E.setTime(E.getTime() - g), E;
953
953
  }
954
954
  function s(d) {
@@ -1095,7 +1095,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1095
1095
  ]
1096
1096
  });
1097
1097
  }), Oi = /* @__PURE__ */ Ce((t, o) => {
1098
- var i = nt(), l = it(), u = Ii(), y = Tt(), r = Object.prototype.hasOwnProperty, s = 1, d = 2, f = 3, g = 4, a = 1, c = 2, b = 3, P = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, $ = /[\x85\u2028\u2029]/, B = /[,\[\]{}]/, q = /^(?:!|!!|![0-9A-Za-z-]+!)$/, E = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
1098
+ var i = nt(), l = it(), u = Ii(), y = Tt(), r = Object.prototype.hasOwnProperty, s = 1, d = 2, f = 3, g = 4, a = 1, c = 2, b = 3, P = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, $ = /[\x85\u2028\u2029]/, B = /[,\[\]{}]/, D = /^(?:!|!!|![0-9A-Za-z-]+!)$/, E = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
1099
1099
  function w(e) {
1100
1100
  return Object.prototype.toString.call(e);
1101
1101
  }
@@ -1108,7 +1108,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1108
1108
  function se(e) {
1109
1109
  return e === 9 || e === 32 || e === 10 || e === 13;
1110
1110
  }
1111
- function D(e) {
1111
+ function q(e) {
1112
1112
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1113
1113
  }
1114
1114
  function F(e) {
@@ -1244,7 +1244,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1244
1244
  function Re(e, p) {
1245
1245
  e.position = p.position, e.line = p.line, e.lineStart = p.lineStart, e.lineIndent = p.lineIndent, e.firstTabInLine = p.firstTabInLine, e.tag = p.tag, e.anchor = p.anchor, e.kind = p.kind, e.result = p.result;
1246
1246
  }
1247
- var De = {
1247
+ var qe = {
1248
1248
  YAML: function(p, k, T) {
1249
1249
  p.version !== null && M(p, "duplication of %YAML directive"), T.length !== 1 && M(p, "YAML directive accepts exactly one argument");
1250
1250
  const v = /^([0-9]+)\.([0-9]+)$/.exec(T[0]);
@@ -1256,7 +1256,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1256
1256
  let v;
1257
1257
  T.length !== 2 && M(p, "TAG directive accepts exactly two arguments");
1258
1258
  const K = T[0];
1259
- v = T[1], q.test(K) || M(p, "ill-formed tag handle (first argument) of the TAG directive"), r.call(p.tagMap, K) && M(p, 'there is a previously declared suffix for "' + K + '" tag handle'), E.test(v) || M(p, "ill-formed tag prefix (second argument) of the TAG directive");
1259
+ v = T[1], D.test(K) || M(p, "ill-formed tag handle (first argument) of the TAG directive"), r.call(p.tagMap, K) && M(p, 'there is a previously declared suffix for "' + K + '" tag handle'), E.test(v) || M(p, "ill-formed tag prefix (second argument) of the TAG directive");
1260
1260
  try {
1261
1261
  v = decodeURIComponent(v);
1262
1262
  } catch {
@@ -1276,7 +1276,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1276
1276
  e.result += v;
1277
1277
  }
1278
1278
  }
1279
- function qe(e, p, k, T) {
1279
+ function De(e, p, k, T) {
1280
1280
  i.isObject(k) || M(e, "cannot merge mappings; the provided source object is unacceptable");
1281
1281
  const v = Object.keys(k);
1282
1282
  for (let K = 0, n = v.length; K < n; K += 1) {
@@ -1295,9 +1295,9 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1295
1295
  const A = /* @__PURE__ */ new Set();
1296
1296
  for (let S = 0, I = K.length; S < I; S += 1) {
1297
1297
  const _ = K[S];
1298
- A.has(_) || (A.add(_), qe(e, p, _, k));
1298
+ A.has(_) || (A.add(_), De(e, p, _, k));
1299
1299
  }
1300
- } else qe(e, p, K, k);
1300
+ } else De(e, p, K, k);
1301
1301
  else
1302
1302
  !e.json && !r.call(k, v) && r.call(p, v) && (e.line = n || e.line, e.lineStart = m || e.lineStart, e.position = O || e.position, M(e, "duplicated mapping key")), le(p, v, K), delete k[v];
1303
1303
  return p;
@@ -1333,19 +1333,19 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1333
1333
  let T, v, K, n, m, O;
1334
1334
  const A = e.kind, S = e.result;
1335
1335
  let I = e.input.charCodeAt(e.position);
1336
- if (se(I) || D(I) || I === 35 || I === 38 || I === 42 || I === 33 || I === 124 || I === 62 || I === 39 || I === 34 || I === 37 || I === 64 || I === 96) return !1;
1336
+ if (se(I) || q(I) || I === 35 || I === 38 || I === 42 || I === 33 || I === 124 || I === 62 || I === 39 || I === 34 || I === 37 || I === 64 || I === 96) return !1;
1337
1337
  if (I === 63 || I === 45) {
1338
1338
  const _ = e.input.charCodeAt(e.position + 1);
1339
- if (se(_) || k && D(_)) return !1;
1339
+ if (se(_) || k && q(_)) return !1;
1340
1340
  }
1341
1341
  for (e.kind = "scalar", e.result = "", T = v = e.position, K = !1; I !== 0; ) {
1342
1342
  if (I === 58) {
1343
1343
  const _ = e.input.charCodeAt(e.position + 1);
1344
- if (se(_) || k && D(_)) break;
1344
+ if (se(_) || k && q(_)) break;
1345
1345
  } else if (I === 35) {
1346
1346
  if (se(e.input.charCodeAt(e.position - 1))) break;
1347
1347
  } else {
1348
- if (e.position === e.lineStart && He(e) || k && D(I)) break;
1348
+ if (e.position === e.lineStart && He(e) || k && q(I)) break;
1349
1349
  if (G(I))
1350
1350
  if (n = e.line, m = e.lineStart, O = e.lineIndent, Te(e, !1, -1), e.lineIndent >= p) {
1351
1351
  K = !0, I = e.input.charCodeAt(e.position);
@@ -1510,7 +1510,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1510
1510
  e.position < e.length ? (v = e.input.slice(n, e.position), K = e.input.charCodeAt(++e.position)) : M(e, "unexpected end of the stream within a verbatim tag");
1511
1511
  } else {
1512
1512
  for (; K !== 0 && !se(K); )
1513
- K === 33 && (k ? M(e, "tag suffix cannot contain exclamation marks") : (T = e.input.slice(n - 1, e.position + 1), q.test(T) || M(e, "named tag handle cannot contain such characters"), k = !0, n = e.position + 1)), K = e.input.charCodeAt(++e.position);
1513
+ K === 33 && (k ? M(e, "tag suffix cannot contain exclamation marks") : (T = e.input.slice(n - 1, e.position + 1), D.test(T) || M(e, "named tag handle cannot contain such characters"), k = !0, n = e.position + 1)), K = e.input.charCodeAt(++e.position);
1514
1514
  v = e.input.slice(n, e.position), B.test(v) && M(e, "tag suffix cannot contain flow indicator characters");
1515
1515
  }
1516
1516
  v && !E.test(v) && M(e, "tag name cannot contain such characters: " + v);
@@ -1526,7 +1526,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1526
1526
  if (p !== 38) return !1;
1527
1527
  e.anchor !== null && M(e, "duplication of an anchor property"), p = e.input.charCodeAt(++e.position);
1528
1528
  const k = e.position;
1529
- for (; p !== 0 && !se(p) && !D(p); ) p = e.input.charCodeAt(++e.position);
1529
+ for (; p !== 0 && !se(p) && !q(p); ) p = e.input.charCodeAt(++e.position);
1530
1530
  return e.position === k && M(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(k, e.position), !0;
1531
1531
  }
1532
1532
  function ut(e) {
@@ -1534,7 +1534,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1534
1534
  if (p !== 42) return !1;
1535
1535
  p = e.input.charCodeAt(++e.position);
1536
1536
  const k = e.position;
1537
- for (; p !== 0 && !se(p) && !D(p); ) p = e.input.charCodeAt(++e.position);
1537
+ for (; p !== 0 && !se(p) && !q(p); ) p = e.input.charCodeAt(++e.position);
1538
1538
  e.position === k && M(e, "name of an alias node must contain at least one character");
1539
1539
  const T = e.input.slice(k, e.position);
1540
1540
  return r.call(e.anchorMap, T) || M(e, 'unidentified alias "' + T + '"'), e.result = e.anchorMap[T], Te(e, !0, -1), !0;
@@ -1602,7 +1602,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1602
1602
  for (v = e.position; T !== 0 && !se(T); ) T = e.input.charCodeAt(++e.position);
1603
1603
  n.push(e.input.slice(v, e.position));
1604
1604
  }
1605
- T !== 0 && ze(e), r.call(De, K) ? De[K](e, K, n) : Se(e, 'unknown document directive "' + K + '"');
1605
+ T !== 0 && ze(e), r.call(qe, K) ? qe[K](e, K, n) : Se(e, 'unknown document directive "' + K + '"');
1606
1606
  }
1607
1607
  if (Te(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Te(e, !0, -1)) : k && M(e, "directives end mark is expected"), Ne(e, e.lineIndent - 1, g, !1, !0), Te(e, !0, -1), e.checkLineBreaks && $.test(e.input.slice(p, e.position)) && Se(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && He(e)) {
1608
1608
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, Te(e, !0, -1));
@@ -1634,7 +1634,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1634
1634
  }
1635
1635
  o.exports.loadAll = ft, o.exports.load = bt;
1636
1636
  }), Bi = /* @__PURE__ */ Ce((t, o) => {
1637
- var i = nt(), l = it(), u = Tt(), y = Object.prototype.toString, r = Object.prototype.hasOwnProperty, s = 65279, d = 9, f = 10, g = 13, a = 32, c = 33, b = 34, P = 35, $ = 37, B = 38, q = 39, E = 42, w = 44, G = 45, J = 58, se = 61, D = 62, F = 63, x = 64, N = 91, de = 93, fe = 96, le = 123, ae = 124, L = 125, z = {};
1637
+ var i = nt(), l = it(), u = Tt(), y = Object.prototype.toString, r = Object.prototype.hasOwnProperty, s = 65279, d = 9, f = 10, g = 13, a = 32, c = 33, b = 34, P = 35, $ = 37, B = 38, D = 39, E = 42, w = 44, G = 45, J = 58, se = 61, q = 62, F = 63, x = 64, N = 91, de = 93, fe = 96, le = 123, ae = 124, L = 125, z = {};
1638
1638
  z[0] = "\\0", z[7] = "\\a", z[8] = "\\b", z[9] = "\\t", z[10] = "\\n", z[11] = "\\v", z[12] = "\\f", z[13] = "\\r", z[27] = "\\e", z[34] = '\\"', z[92] = "\\\\", z[133] = "\\N", z[160] = "\\_", z[8232] = "\\L", z[8233] = "\\P";
1639
1639
  var oe = [
1640
1640
  "y",
@@ -1698,25 +1698,25 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1698
1698
  return `
1699
1699
  ` + i.repeat(" ", n.indent * m);
1700
1700
  }
1701
- function De(n, m) {
1701
+ function qe(n, m) {
1702
1702
  for (let O = 0, A = n.implicitTypes.length; O < A; O += 1) if (n.implicitTypes[O].resolve(m)) return !0;
1703
1703
  return !1;
1704
1704
  }
1705
1705
  function Be(n) {
1706
1706
  return n === a || n === d;
1707
1707
  }
1708
- function qe(n) {
1708
+ function De(n) {
1709
1709
  return n >= 32 && n <= 126 || n >= 161 && n <= 55295 && n !== 8232 && n !== 8233 || n >= 57344 && n <= 65533 && n !== s || n >= 65536 && n <= 1114111;
1710
1710
  }
1711
1711
  function Fe(n) {
1712
- return qe(n) && n !== s && n !== g && n !== f;
1712
+ return De(n) && n !== s && n !== g && n !== f;
1713
1713
  }
1714
1714
  function ze(n, m, O) {
1715
1715
  const A = Fe(n), S = A && !Be(n);
1716
1716
  return (O ? A : A && n !== w && n !== N && n !== de && n !== le && n !== L) && n !== P && !(m === J && !S) || Fe(m) && !Be(m) && n === P || m === J && S;
1717
1717
  }
1718
1718
  function Te(n) {
1719
- return qe(n) && n !== s && !Be(n) && n !== G && n !== F && n !== J && n !== w && n !== N && n !== de && n !== le && n !== L && n !== P && n !== B && n !== E && n !== c && n !== ae && n !== se && n !== D && n !== q && n !== b && n !== $ && n !== x && n !== fe;
1719
+ return De(n) && n !== s && !Be(n) && n !== G && n !== F && n !== J && n !== w && n !== N && n !== de && n !== le && n !== L && n !== P && n !== B && n !== E && n !== c && n !== ae && n !== se && n !== q && n !== D && n !== b && n !== $ && n !== x && n !== fe;
1720
1720
  }
1721
1721
  function He(n) {
1722
1722
  return !Be(n) && n !== J;
@@ -1735,14 +1735,14 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1735
1735
  const $t = A !== -1;
1736
1736
  let Qe = -1, Xe = Te(Me(n, 0)) && He(Me(n, n.length - 1));
1737
1737
  if (m || _) for (H = 0; H < n.length; X >= 65536 ? H += 2 : H++) {
1738
- if (X = Me(n, H), !qe(X)) return Pe;
1738
+ if (X = Me(n, H), !De(X)) return Pe;
1739
1739
  Xe = Xe && ze(X, ne, Y), ne = X;
1740
1740
  }
1741
1741
  else {
1742
1742
  for (H = 0; H < n.length; X >= 65536 ? H += 2 : H++) {
1743
1743
  if (X = Me(n, H), X === f)
1744
1744
  me = !0, $t && (Ae = Ae || H - Qe - 1 > A && n[Qe + 1] !== " ", Qe = H);
1745
- else if (!qe(X)) return Pe;
1745
+ else if (!De(X)) return Pe;
1746
1746
  Xe = Xe && ze(X, ne, Y), ne = X;
1747
1747
  }
1748
1748
  Ae = Ae || $t && H - Qe - 1 > A && n[Qe + 1] !== " ";
@@ -1756,7 +1756,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1756
1756
  return n.quotingType === ve ? '"' + m + '"' : "'" + m + "'";
1757
1757
  const I = n.indent * Math.max(1, O), _ = n.lineWidth === -1 ? -1 : Math.max(Math.min(n.lineWidth, 40), n.lineWidth - I), Y = A || n.flowLevel > -1 && O >= n.flowLevel;
1758
1758
  function H(X) {
1759
- return De(n, X);
1759
+ return qe(n, X);
1760
1760
  }
1761
1761
  switch (ct(m, Y, n.indent, _, H, n.quotingType, n.forceQuotes && !A, S)) {
1762
1762
  case rt:
@@ -1817,7 +1817,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1817
1817
  for (let A = 0; A < n.length; O >= 65536 ? A += 2 : A++) {
1818
1818
  O = Me(n, A);
1819
1819
  const S = z[O];
1820
- !S && qe(O) ? (m += n[A], O >= 65536 && (m += n[A + 1])) : m += S || re(O);
1820
+ !S && De(O) ? (m += n[A], O >= 65536 && (m += n[A + 1])) : m += S || re(O);
1821
1821
  }
1822
1822
  return m;
1823
1823
  }
@@ -1960,7 +1960,7 @@ var Si = Object.create, Ht = Object.defineProperty, Ti = Object.getOwnPropertyDe
1960
1960
  seq: Wt(),
1961
1961
  str: Yt()
1962
1962
  }, o.exports.safeLoad = u("safeLoad", "load"), o.exports.safeLoadAll = u("safeLoadAll", "loadAll"), o.exports.safeDump = u("safeDump", "dump");
1963
- }))()), { Type: Ir, Schema: Or, FAILSAFE_SCHEMA: Br, JSON_SCHEMA: Kr, CORE_SCHEMA: Rr, DEFAULT_SCHEMA: Lr, load: Fr, loadAll: Mr, dump: Pr, YAMLException: Nr, types: qr, safeLoad: Dr, safeLoadAll: jr, safeDump: Ur } = un.default, dn = un.default;
1963
+ }))()), { Type: Ir, Schema: Or, FAILSAFE_SCHEMA: Br, JSON_SCHEMA: Kr, CORE_SCHEMA: Rr, DEFAULT_SCHEMA: Lr, load: Fr, loadAll: Mr, dump: Pr, YAMLException: Nr, types: Dr, safeLoad: qr, safeLoadAll: jr, safeDump: Ur } = un.default, dn = un.default;
1964
1964
  const Ki = /* @__PURE__ */ ke({
1965
1965
  __name: "DeckCallout",
1966
1966
  emits: ["click-cta", "dismiss"],
@@ -2101,32 +2101,32 @@ ${E}${Kt}`;
2101
2101
  }
2102
2102
  return `"${$.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
2103
2103
  }, s = ($, B) => {
2104
- const q = $e;
2104
+ const D = $e;
2105
2105
  let E = "";
2106
- return typeof $ == "string" ? E += `${q}${B} = ${r($, q)}
2107
- ` : E += `${q}${B} = ${String($ ?? "")}
2106
+ return typeof $ == "string" ? E += `${D}${B} = ${r($, D)}
2107
+ ` : E += `${D}${B} = ${String($ ?? "")}
2108
2108
  `, E;
2109
- }, d = ($, B, q = "") => {
2109
+ }, d = ($, B, D = "") => {
2110
2110
  if (typeof $ != "object")
2111
2111
  return "Invalid object";
2112
- const E = $e + q;
2112
+ const E = $e + D;
2113
2113
  let w = "";
2114
2114
  if (B && (w += `${E}${B} = {
2115
2115
  `), $ === null)
2116
2116
  return B ? w += `${E}}` : w = "{}", w;
2117
2117
  const G = Object.fromEntries(Object.entries($).filter(([, se]) => se !== null));
2118
2118
  let J = "";
2119
- for (const [se, D] of Object.entries(G))
2120
- Array.isArray(D) ? D.length === 0 ? J = "[]" : (J = `[
2121
- `, J += f(D, void 0, E), J += `${E}${$e}]`) : D && typeof D == "object" ? (J = `{
2122
- `, J += d(D, void 0, E), J += `${E}${$e}}`) : typeof D == "string" ? J = r(D, E + $e) : J = String(D ?? ""), w += `${E}${$e}${se} = ${J}
2119
+ for (const [se, q] of Object.entries(G))
2120
+ Array.isArray(q) ? q.length === 0 ? J = "[]" : (J = `[
2121
+ `, J += f(q, void 0, E), J += `${E}${$e}]`) : q && typeof q == "object" ? (J = `{
2122
+ `, J += d(q, void 0, E), J += `${E}${$e}}`) : typeof q == "string" ? J = r(q, E + $e) : J = String(q ?? ""), w += `${E}${$e}${se} = ${J}
2123
2123
  `;
2124
2124
  return B ? w += `${E}}
2125
2125
  ` : w;
2126
- }, f = ($, B, q = "") => {
2126
+ }, f = ($, B, D = "") => {
2127
2127
  if (!Array.isArray($))
2128
2128
  return "Invalid array";
2129
- const E = $e + q;
2129
+ const E = $e + D;
2130
2130
  let w = "";
2131
2131
  B && ($.length === 0 ? w += `${E}${B} = [` : w += `${E}${B} = [
2132
2132
  `);
@@ -2141,17 +2141,17 @@ ${E}${Kt}`;
2141
2141
  `), w;
2142
2142
  }, g = ($) => $.replace(/\$\{/g, () => "$${"), a = ($) => {
2143
2143
  let B = "";
2144
- for (const [q, E] of Object.entries($))
2145
- Array.isArray(E) ? B += f(E, q) : typeof E == "object" ? B += d(E, q) : B += s(E, q);
2144
+ for (const [D, E] of Object.entries($))
2145
+ Array.isArray(E) ? B += f(E, D) : typeof E == "object" ? B += d(E, D) : B += s(E, D);
2146
2146
  return g(B);
2147
2147
  }, c = ($) => {
2148
- var G, J, se, D, F, x;
2149
- const B = Object.fromEntries(Object.entries($).filter(([, N]) => N != null)), q = $.config ? Object.fromEntries(Object.entries($ == null ? void 0 : $.config).filter(([, N]) => N != null)) : void 0;
2150
- if (q && (B.config = q), Object.keys(B).length === 0)
2148
+ var G, J, se, q, F, x;
2149
+ const B = Object.fromEntries(Object.entries($).filter(([, N]) => N != null)), D = $.config ? Object.fromEntries(Object.entries($ == null ? void 0 : $.config).filter(([, N]) => N != null)) : void 0;
2150
+ if (D && (B.config = D), Object.keys(B).length === 0)
2151
2151
  return "";
2152
2152
  delete B.id;
2153
2153
  let E = "", w = "";
2154
- if ((G = B.service) != null && G.id ? (w = "service", delete B.service) : (J = B.route) != null && J.id ? (w = "route", delete B.route) : (se = B.consumer) != null && se.id ? (w = "consumer", delete B.consumer) : (D = B.consumer_group) != null && D.id ? (w = "consumer_group", delete B.consumer_group) : (F = B.certificate) != null && F.id ? (w = "certificate", delete B.certificate) : (x = B.set) != null && x.id && (w = "set", delete B.set), u.value) {
2154
+ if ((G = B.service) != null && G.id ? (w = "service", delete B.service) : (J = B.route) != null && J.id ? (w = "route", delete B.route) : (se = B.consumer) != null && se.id ? (w = "consumer", delete B.consumer) : (q = B.consumer_group) != null && q.id ? (w = "consumer_group", delete B.consumer_group) : (F = B.certificate) != null && F.id ? (w = "certificate", delete B.certificate) : (x = B.set) != null && x.id && (w = "set", delete B.set), u.value) {
2155
2155
  const N = o.subEntityType ? `${l.value}_${o.subEntityType}` : l.value;
2156
2156
  E += `resource "konnect_event_gateway_${N}" "my_eventgateway${N.replaceAll("_", "")}" {
2157
2157
  `, E += `${$e}provider = konnect-beta
@@ -2173,9 +2173,9 @@ ${E}${Kt}`;
2173
2173
  `, E;
2174
2174
  }, b = U(() => c(o.entityRecord)), P = U(() => c(o.unredactedRecord || o.entityRecord));
2175
2175
  return ($, B) => {
2176
- const q = ie("KCodeBlock");
2176
+ const D = ie("KCodeBlock");
2177
2177
  return h(), V("div", Li, [
2178
- o.entityRecord ? (h(), W(q, {
2178
+ o.entityRecord ? (h(), W(D, {
2179
2179
  key: 0,
2180
2180
  id: "terraform-codeblock",
2181
2181
  code: b.value,
@@ -2219,7 +2219,7 @@ ${E}${Kt}`;
2219
2219
  }
2220
2220
  };
2221
2221
  return (c, b) => {
2222
- const P = ie("KInput"), $ = ie("KSelect"), B = ie("KAlert"), q = ie("KButton"), E = ie("KModal");
2222
+ const P = ie("KInput"), $ = ie("KSelect"), B = ie("KAlert"), D = ie("KButton"), E = ie("KModal");
2223
2223
  return h(), W(E, {
2224
2224
  class: "generate-pat-modal",
2225
2225
  "max-width": "640px",
@@ -2229,7 +2229,7 @@ ${E}${Kt}`;
2229
2229
  onProceed: a
2230
2230
  }, {
2231
2231
  "footer-actions": R(() => [
2232
- Z(q, {
2232
+ Z(D, {
2233
2233
  appearance: "tertiary",
2234
2234
  onClick: g
2235
2235
  }, {
@@ -2238,7 +2238,7 @@ ${E}${Kt}`;
2238
2238
  ]),
2239
2239
  _: 1
2240
2240
  }),
2241
- Z(q, {
2241
+ Z(D, {
2242
2242
  appearance: "primary",
2243
2243
  disabled: !y.value || s.value,
2244
2244
  onClick: a
@@ -2279,7 +2279,7 @@ ${E}${Kt}`;
2279
2279
  }), Mi = /* @__PURE__ */ we(Fi, [["__scopeId", "data-v-be3cd315"]]), Pi = { class: "step-title" }, Ni = {
2280
2280
  key: 3,
2281
2281
  class: "konnect-pat-actions"
2282
- }, qi = { class: "step-title" }, Di = { class: "customization-secret-advise" }, ji = /* @__PURE__ */ ke({
2282
+ }, Di = { class: "step-title" }, qi = { class: "customization-secret-advise" }, ji = /* @__PURE__ */ ke({
2283
2283
  __name: "DeckCodeBlockInternal",
2284
2284
  props: {
2285
2285
  app: {},
@@ -2307,16 +2307,16 @@ ${E}${Kt}`;
2307
2307
  control_plane_name: i.controlPlaneName
2308
2308
  }), i.workspace && (E._workspace = i.workspace), E;
2309
2309
  }), b = (E) => {
2310
- var se, D, F, x, N;
2310
+ var se, q, F, x, N;
2311
2311
  const w = Object.fromEntries(Object.entries(E).filter(([, de]) => de !== null && de !== "" && (Array.isArray(de) ? de.length !== 0 : !0)));
2312
- i.entityType === je.Plugin ? ((se = w.service) != null && se.id && (w.service = w.service.id), (D = w.route) != null && D.id && (w.route = w.route.id), (F = w.consumer) != null && F.id && (w.consumer = w.consumer.id), (x = w.consumer_group) != null && x.id && (w.consumer_group = w.consumer_group.id)) : i.entityType === je.Key && (N = w.key_set) != null && N.id && (w.key_set = w.key_set.id);
2312
+ i.entityType === je.Plugin ? ((se = w.service) != null && se.id && (w.service = w.service.id), (q = w.route) != null && q.id && (w.route = w.route.id), (F = w.consumer) != null && F.id && (w.consumer = w.consumer.id), (x = w.consumer_group) != null && x.id && (w.consumer_group = w.consumer_group.id)) : i.entityType === je.Key && (N = w.key_set) != null && N.id && (w.key_set = w.key_set.id);
2313
2313
  const G = i.entityType === je.KeySet ? "key_sets" : i.entityType + "s", J = {
2314
2314
  ...c.value,
2315
2315
  [G]: [w]
2316
2316
  };
2317
2317
  return dn.dump(J, { quotingType: '"' }).trim();
2318
2318
  }, P = U(() => b(i.entityRecord)), $ = U(() => b(i.unredactedRecord || i.entityRecord)), B = U(() => a.value === "bash" ? `export DECK_KONNECT_TOKEN='${r.value || "YOUR_KONNECT_PAT"}'` : `$env:DECK_KONNECT_TOKEN = "${r.value || "YOUR_KONNECT_PAT"}"`);
2319
- function q(E) {
2319
+ function D(E) {
2320
2320
  r.value = E, f.value = !1;
2321
2321
  }
2322
2322
  return vn(() => {
@@ -2331,7 +2331,7 @@ ${P.value}
2331
2331
  ${$.value}
2332
2332
  '@ | ${E}`);
2333
2333
  }), (E, w) => {
2334
- const G = ie("KSelect"), J = ie("KBadge"), se = ie("KCodeBlock"), D = ie("KAlert"), F = ie("KButton");
2334
+ const G = ie("KSelect"), J = ie("KBadge"), se = ie("KCodeBlock"), q = ie("KAlert"), F = ie("KButton");
2335
2335
  return h(), V(_e, null, [
2336
2336
  te("div", tt({ class: "deck-config config-card-code-block" }, E.$attrs), [
2337
2337
  Z(G, {
@@ -2391,7 +2391,7 @@ ${$.value}
2391
2391
  theme: t.isCustomizing ? "light" : "dark",
2392
2392
  onCodeBlockRender: C(We)
2393
2393
  }, null, 8, ["class", "code", "language", "theme", "onCodeBlockRender"])) : ee("", !0),
2394
- r.value ? (h(), W(D, {
2394
+ r.value ? (h(), W(q, {
2395
2395
  key: 2,
2396
2396
  class: "copy-konnect-pat-alert"
2397
2397
  }, {
@@ -2412,7 +2412,7 @@ ${$.value}
2412
2412
  }),
2413
2413
  te("div", null, j(C(y)("deckCodeBlock.customization.reuse_pat")), 1)
2414
2414
  ])) : ee("", !0),
2415
- te("div", qi, j(C(y)("deckCodeBlock.steps.step_2")), 1),
2415
+ te("div", Di, j(C(y)("deckCodeBlock.steps.step_2")), 1),
2416
2416
  i.entityRecord && !i.isCustomizing ? (h(), W(se, {
2417
2417
  key: 4,
2418
2418
  id: "deck-codeblock",
@@ -2424,13 +2424,13 @@ ${$.value}
2424
2424
  theme: t.isCustomizing ? "light" : "dark",
2425
2425
  onCodeBlockRender: C(We)
2426
2426
  }, null, 8, ["class", "code", "copy-code", "language", "theme", "onCodeBlockRender"])) : i.entityRecord && i.isCustomizing && C(o) ? (h(), V(_e, { key: 5 }, [
2427
- te("div", Di, j(C(y)("deckCodeBlock.customization.secret_advise")), 1),
2427
+ te("div", qi, j(C(y)("deckCodeBlock.customization.secret_advise")), 1),
2428
2428
  (h(), W(Ge(C(o)), {
2429
2429
  modelValue: d.value,
2430
2430
  "onUpdate:modelValue": w[2] || (w[2] = (x) => d.value = x),
2431
2431
  language: a.value
2432
2432
  }, null, 8, ["modelValue", "language"])),
2433
- Z(D, { class: "customization-footer-reminder" }, {
2433
+ Z(q, { class: "customization-footer-reminder" }, {
2434
2434
  icon: R(() => [
2435
2435
  Z(C(Pt))
2436
2436
  ]),
@@ -2446,7 +2446,7 @@ ${$.value}
2446
2446
  "generate-konnect-pat": i.generateKonnectPat,
2447
2447
  visible: f.value,
2448
2448
  onDismiss: w[3] || (w[3] = (x) => f.value = !1),
2449
- onGenerated: q
2449
+ onGenerated: D
2450
2450
  }, null, 8, ["generate-konnect-pat", "visible"])) : ee("", !0)
2451
2451
  ], 64);
2452
2452
  };
@@ -2943,10 +2943,10 @@ ${$.value}
2943
2943
  // the last property displayed
2944
2944
  section: Ie.Basic
2945
2945
  }
2946
- }, B = ue(!1), q = ue(!1), E = ue(""), w = ue({}), G = ue(null), J = U(() => {
2946
+ }, B = ue(!1), D = ue(!1), E = ue(""), w = ue({}), G = ue(null), J = U(() => {
2947
2947
  if (!(!l.codeBlockRecordResolver || G.value == null))
2948
2948
  return l.codeBlockRecordResolver(G.value);
2949
- }), se = ue(!1), D = U(() => {
2949
+ }), se = ue(!1), q = U(() => {
2950
2950
  var z;
2951
2951
  const L = { ...J.value || w.value };
2952
2952
  for (const oe in L)
@@ -2966,8 +2966,8 @@ ${$.value}
2966
2966
  return L.sort(function(re, Q) {
2967
2967
  return re[1] - Q[1];
2968
2968
  }), L.map((re) => {
2969
- var Re, De;
2970
- const Q = re[0], ve = (Re = w.value) == null ? void 0 : Re[Q], he = ((De = l.configSchema) == null ? void 0 : De[Q]) || {}, ye = $[Q];
2969
+ var Re, qe;
2970
+ const Q = re[0], ve = (Re = w.value) == null ? void 0 : Re[Q], he = ((qe = l.configSchema) == null ? void 0 : qe[Q]) || {}, ye = $[Q];
2971
2971
  return {
2972
2972
  key: Q,
2973
2973
  value: ve,
@@ -3047,7 +3047,7 @@ ${$.value}
3047
3047
  return Le(B, (L) => {
3048
3048
  i("loading", L);
3049
3049
  }, { immediate: !0 }), St(async () => {
3050
- q.value = !1, B.value = !0;
3050
+ D.value = !1, B.value = !0;
3051
3051
  try {
3052
3052
  const { data: L } = await s.get(le.value);
3053
3053
  if (G.value = L, l.dataKey)
@@ -3062,7 +3062,7 @@ ${$.value}
3062
3062
  } catch (L) {
3063
3063
  G.value = null;
3064
3064
  const z = y(L);
3065
- E.value = z.startsWith("code") ? u("baseConfigCard.errors.load") : z, q.value = !0, i("fetch:error", L);
3065
+ E.value = z.startsWith("code") ? u("baseConfigCard.errors.load") : z, D.value = !0, i("fetch:error", L);
3066
3066
  } finally {
3067
3067
  B.value = !1;
3068
3068
  }
@@ -3140,7 +3140,7 @@ ${$.value}
3140
3140
  "data-testid": "config-card-loader",
3141
3141
  "table-columns": 2,
3142
3142
  type: "table"
3143
- })) : q.value ? (h(), W(ve, {
3143
+ })) : D.value ? (h(), W(ve, {
3144
3144
  key: 1,
3145
3145
  "data-testid": "config-card-fetch-error",
3146
3146
  "icon-variant": "error"
@@ -3153,7 +3153,7 @@ ${$.value}
3153
3153
  Z(Yi, {
3154
3154
  "code-block-record": J.value,
3155
3155
  "code-block-record-formatter": t.codeBlockRecordFormatter,
3156
- "code-block-record-redacted": se.value ? void 0 : D.value,
3156
+ "code-block-record-redacted": se.value ? void 0 : q.value,
3157
3157
  config: t.config,
3158
3158
  "entity-type": t.entityType,
3159
3159
  "fetcher-url": le.value,
@@ -3357,7 +3357,7 @@ ${$.value}
3357
3357
  var ae, L;
3358
3358
  let le = `${y.config.apiBaseUrl}${y.fetchUrl}`;
3359
3359
  return y.config.app === "konnect" && (le = le.replace(/{controlPlaneId}/gi, ((ae = y.config) == null ? void 0 : ae.controlPlaneId) || "")), le = le.replace(/\/{workspace}/gi, (L = y.config) != null && L.workspace ? `/${y.config.workspace}` : ""), y.editId ? (le = le.replace(/{id}/gi, y.editId), le) : (le = le.replace(/\/{id}/gi, ""), le);
3360
- }), q = ue(!1), {
3360
+ }), D = ue(!1), {
3361
3361
  isDeckEnabled: E,
3362
3362
  deckCustomizationOptions: w,
3363
3363
  deckCalloutPreferenceKey: G
@@ -3367,8 +3367,8 @@ ${$.value}
3367
3367
  ), J = () => {
3368
3368
  $.value = !$.value;
3369
3369
  }, se = () => {
3370
- y.config.cancelRoute ? r.push(y.config.cancelRoute) : D();
3371
- }, D = () => {
3370
+ y.config.cancelRoute ? r.push(y.config.cancelRoute) : q();
3371
+ }, q = () => {
3372
3372
  u("cancel");
3373
3373
  }, F = () => {
3374
3374
  P.value || u("submit");
@@ -3412,7 +3412,7 @@ ${$.value}
3412
3412
  }
3413
3413
  }), o({
3414
3414
  viewConfig: J,
3415
- formCancel: D,
3415
+ formCancel: q,
3416
3416
  formSubmit: F
3417
3417
  }), (le, ae) => {
3418
3418
  const L = ie("KSkeleton"), z = ie("KEmptyState"), oe = ie("KAlert"), M = ie("KButton"), Se = ie("KTabs"), re = ie("KSlideout");
@@ -3440,7 +3440,7 @@ ${$.value}
3440
3440
  key: 2,
3441
3441
  "data-testid": "form-content",
3442
3442
  novalidate: y.noValidate,
3443
- onReset: et(D, ["prevent"]),
3443
+ onReset: et(q, ["prevent"]),
3444
3444
  onSubmit: et(F, ["prevent"])
3445
3445
  }, [
3446
3446
  pe(le.$slots, "default", {}, void 0, !0),
@@ -3476,7 +3476,7 @@ ${$.value}
3476
3476
  "data-testid": `${t.entityType}-${a.value ? "edit" : "create"}-form-cancel`,
3477
3477
  disabled: t.isReadonly,
3478
3478
  type: "reset",
3479
- onClick: ae[1] || (ae[1] = (Q) => !!t.actionTeleportTarget && D())
3479
+ onClick: ae[1] || (ae[1] = (Q) => !!t.actionTeleportTarget && q())
3480
3480
  }, {
3481
3481
  default: R(() => [
3482
3482
  ce(j(t.cancelButtonText ?? C(s)("baseForm.actions.cancel")), 1)
@@ -3548,7 +3548,7 @@ ${$.value}
3548
3548
  Z(M, {
3549
3549
  appearance: "secondary",
3550
3550
  class: "button-customize-deck",
3551
- onClick: ae[4] || (ae[4] = (Q) => q.value = !0)
3551
+ onClick: ae[4] || (ae[4] = (Q) => D.value = !0)
3552
3552
  }, {
3553
3553
  default: R(() => [
3554
3554
  ce(j(C(s)("baseConfigCard.actions.deck_customize")), 1)
@@ -3563,10 +3563,10 @@ ${$.value}
3563
3563
  "entity-record": y.formFields,
3564
3564
  "entity-type": y.slideoutDeckEntityType ?? t.entityType,
3565
3565
  "geo-api-server-url": t.config.app === "konnect" ? t.config.geoApiServerUrl : void 0,
3566
- "is-customization-modal-visible": q.value,
3566
+ "is-customization-modal-visible": D.value,
3567
3567
  "kong-admin-api-url": t.config.app === "kongManager" ? t.config.apiBaseUrl : void 0,
3568
3568
  workspace: t.config.workspace || void 0,
3569
- onCustomizationClose: ae[5] || (ae[5] = (Q) => q.value = !1)
3569
+ onCustomizationClose: ae[5] || (ae[5] = (Q) => D.value = !1)
3570
3570
  }, null, 8, ["app", "control-plane-name", "customization-options", "entity-record", "entity-type", "geo-api-server-url", "is-customization-modal-visible", "kong-admin-api-url", "workspace"])
3571
3571
  ]),
3572
3572
  _: 1
@@ -3603,16 +3603,16 @@ ${$.value}
3603
3603
  var B;
3604
3604
  return ((B = i.value) == null ? void 0 : B.querySelector('[data-truncate="true"]')) || null;
3605
3605
  }), u = U(() => {
3606
- var q, E;
3607
- const B = (q = o.rowEl) == null ? void 0 : q.querySelectorAll("td");
3606
+ var D, E;
3607
+ const B = (D = o.rowEl) == null ? void 0 : D.querySelectorAll("td");
3608
3608
  return B ? ((E = B[0]) == null ? void 0 : E.getAttribute("data-testid")) === o.keyName : !0;
3609
3609
  }), y = U(() => u.value || o.tooltip);
3610
3610
  let r;
3611
3611
  const s = () => {
3612
3612
  r && (r.disconnect(), r = void 0);
3613
3613
  }, d = () => {
3614
- var q, E, w;
3615
- let B = ((q = i.value) == null ? void 0 : q.clientWidth) || 0;
3614
+ var D, E, w;
3615
+ let B = ((D = i.value) == null ? void 0 : D.clientWidth) || 0;
3616
3616
  if (i.value && "getComputedStyle" in window) {
3617
3617
  const G = window.getComputedStyle(i.value);
3618
3618
  B -= (parseFloat(G.paddingLeft) || 0) + (parseFloat(G.paddingRight) || 0);
@@ -3622,13 +3622,13 @@ ${$.value}
3622
3622
  b,
3623
3623
  (B) => {
3624
3624
  if (y.value && (s(), "ResizeObserver" in window && window)) {
3625
- r = new ResizeObserver((q) => {
3625
+ r = new ResizeObserver((D) => {
3626
3626
  window.requestAnimationFrame(() => {
3627
- !Array.isArray(q) || !q.length || d();
3627
+ !Array.isArray(D) || !D.length || d();
3628
3628
  });
3629
3629
  });
3630
- for (const q of B)
3631
- q && r.observe(q);
3630
+ for (const D of B)
3631
+ D && r.observe(D);
3632
3632
  }
3633
3633
  },
3634
3634
  { immediate: !0, flush: "post", deep: !0 }
@@ -3637,7 +3637,7 @@ ${$.value}
3637
3637
  d();
3638
3638
  }), bn(() => {
3639
3639
  P();
3640
- }), (B, q) => {
3640
+ }), (B, D) => {
3641
3641
  const E = ie("KTooltip");
3642
3642
  return h(), V("span", {
3643
3643
  ref_key: "contentRef",
@@ -3865,13 +3865,13 @@ ${$.value}
3865
3865
  l("click:row", N);
3866
3866
  }), B = (x) => {
3867
3867
  l("sort", x);
3868
- }, { hideTableToolbar: q, handleStateChange: E } = ge.useTableState(() => i.query), { setTablePreferences: w, getTablePreferences: G } = En(), J = ue(G(r.value, i.defaultTablePreferences)), se = U(() => {
3868
+ }, { hideTableToolbar: D, handleStateChange: E } = ge.useTableState(() => i.query), { setTablePreferences: w, getTablePreferences: G } = En(), J = ue(G(r.value, i.defaultTablePreferences)), se = U(() => {
3869
3869
  const x = G(r.value);
3870
3870
  return {
3871
3871
  ...i.initialFetcherParams,
3872
3872
  ...x
3873
3873
  };
3874
- }), D = (x) => {
3874
+ }), q = (x) => {
3875
3875
  J.value = x, s.value.forEach((N) => {
3876
3876
  !("hidable" in N) || !J.value.columnVisibility || N.hidable === !1 && (J.value.columnVisibility[N.key] = !0);
3877
3877
  }), r.value && w(r.value, x);
@@ -3907,7 +3907,7 @@ ${$.value}
3907
3907
  headers: s.value,
3908
3908
  "hide-pagination": t.hidePagination,
3909
3909
  "hide-pagination-when-optional": t.hidePaginationWhenOptional,
3910
- "hide-toolbar": t.hideToolbar ?? C(q),
3910
+ "hide-toolbar": t.hideToolbar ?? C(D),
3911
3911
  "initial-fetcher-params": se.value,
3912
3912
  loading: t.isLoading,
3913
3913
  "pagination-attributes": F.value,
@@ -3922,7 +3922,7 @@ ${$.value}
3922
3922
  "onRow:click": $.value,
3923
3923
  onSort: N[0] || (N[0] = (le) => B(le)),
3924
3924
  onState: c,
3925
- "onUpdate:tablePreferences": D
3925
+ "onUpdate:tablePreferences": q
3926
3926
  }, Ue({
3927
3927
  toolbar: R(() => [
3928
3928
  te("div", lo, [
@@ -3968,12 +3968,12 @@ ${$.value}
3968
3968
  t.query ? void 0 : {
3969
3969
  name: "empty-state-action-icon",
3970
3970
  fn: R(() => [
3971
- Z(C(qt))
3971
+ Z(C(Dt))
3972
3972
  ]),
3973
3973
  key: "1"
3974
3974
  }
3975
3975
  ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-pagination-when-optional", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"]),
3976
- x.$slots["outside-actions"] && C(q) ? (h(), V("div", co, [
3976
+ x.$slots["outside-actions"] && C(D) ? (h(), V("div", co, [
3977
3977
  pe(x.$slots, "outside-actions", {}, void 0, !0)
3978
3978
  ])) : ee("", !0)
3979
3979
  ]),
@@ -4127,61 +4127,61 @@ ${$.value}
4127
4127
  emits: ["update:modelValue"],
4128
4128
  setup(t, { emit: o }) {
4129
4129
  const { i18n: { t: i } } = ge.useI18n(), l = t, u = o, y = ue(!1), r = ue({}), s = ue(/* @__PURE__ */ new Set()), d = U(() => {
4130
- const D = [];
4130
+ const q = [];
4131
4131
  return new URLSearchParams(l.modelValue).forEach((F, x) => {
4132
- F !== "" && D.push(x);
4133
- }), D;
4132
+ F !== "" && q.push(x);
4133
+ }), q;
4134
4134
  }), f = U(() => {
4135
- const D = l.config.fields;
4136
- return Object.keys(D).filter((F) => {
4135
+ const q = l.config.fields;
4136
+ return Object.keys(q).filter((F) => {
4137
4137
  var x;
4138
- return (x = D == null ? void 0 : D[F]) == null ? void 0 : x.searchable;
4138
+ return (x = q == null ? void 0 : q[F]) == null ? void 0 : x.searchable;
4139
4139
  }).map((F) => ({
4140
- label: D[F].label || F,
4140
+ label: q[F].label || F,
4141
4141
  value: F,
4142
4142
  expanded: !1
4143
4143
  }));
4144
4144
  });
4145
- Le(() => l.modelValue, (D) => {
4146
- r.value = {}, new URLSearchParams(D).forEach((F, x) => {
4145
+ Le(() => l.modelValue, (q) => {
4146
+ r.value = {}, new URLSearchParams(q).forEach((F, x) => {
4147
4147
  r.value[x] = F;
4148
4148
  });
4149
4149
  });
4150
4150
  const g = () => {
4151
4151
  y.value = !y.value;
4152
- }, a = (D) => {
4153
- s.value.has(D) ? s.value.delete(D) : s.value.add(D);
4154
- }, c = (D) => {
4155
- u("update:modelValue", D);
4152
+ }, a = (q) => {
4153
+ s.value.has(q) ? s.value.delete(q) : s.value.add(q);
4154
+ }, c = (q) => {
4155
+ u("update:modelValue", q);
4156
4156
  }, b = () => {
4157
4157
  c("");
4158
- }, P = (D) => `filter-${D}`, $ = (D) => {
4158
+ }, P = (q) => `filter-${q}`, $ = (q) => {
4159
4159
  var F, x;
4160
- return (((x = (F = l.config.schema) == null ? void 0 : F[D]) == null ? void 0 : x.values) ?? []).map((N) => typeof N == "string" ? { value: N, label: N } : N);
4161
- }, B = (D) => {
4160
+ return (((x = (F = l.config.schema) == null ? void 0 : F[q]) == null ? void 0 : x.values) ?? []).map((N) => typeof N == "string" ? { value: N, label: N } : N);
4161
+ }, B = (q) => {
4162
4162
  var F, x;
4163
- return ((x = (F = l.config.schema) == null ? void 0 : F[D]) == null ? void 0 : x.type) ?? "text";
4164
- }, q = (D) => {
4163
+ return ((x = (F = l.config.schema) == null ? void 0 : F[q]) == null ? void 0 : x.type) ?? "text";
4164
+ }, D = (q) => {
4165
4165
  r.value = {
4166
4166
  ...r.value,
4167
- [D]: ""
4167
+ [q]: ""
4168
4168
  }, w();
4169
4169
  }, E = () => {
4170
4170
  r.value = {}, w(!0);
4171
- }, w = (D = !1) => {
4171
+ }, w = (q = !1) => {
4172
4172
  const F = Object.keys(r.value).reduce((x, N) => (r.value[N] && (x[N] = `${r.value[N]}`), x), {});
4173
- D && (y.value = !1), u("update:modelValue", new URLSearchParams(F).toString());
4174
- }, G = (D) => {
4173
+ q && (y.value = !1), u("update:modelValue", new URLSearchParams(F).toString());
4174
+ }, G = (q) => {
4175
4175
  var F, x;
4176
- return !!((x = (F = l.config.schema) == null ? void 0 : F[D]) != null && x.filterFunction);
4177
- }, J = (D, F) => {
4176
+ return !!((x = (F = l.config.schema) == null ? void 0 : F[q]) != null && x.filterFunction);
4177
+ }, J = (q, F) => {
4178
4178
  var N;
4179
- const x = (N = l.config.schema) == null ? void 0 : N[D];
4179
+ const x = (N = l.config.schema) == null ? void 0 : N[q];
4180
4180
  return (x == null ? void 0 : x.filterFunction) === void 0 ? !0 : x.filterFunction(F);
4181
- }, se = (D, F) => {
4182
- r.value[D] = F ? F.custom ? String(F.label) : String(F.value) : "";
4181
+ }, se = (q, F) => {
4182
+ r.value[q] = F ? F.custom ? String(F.label) : String(F.value) : "";
4183
4183
  };
4184
- return (D, F) => {
4184
+ return (q, F) => {
4185
4185
  const x = ie("KInput"), N = ie("KButton"), de = ie("KSelect");
4186
4186
  return t.config.isExactMatch ? (h(), W(x, {
4187
4187
  key: 0,
@@ -4291,7 +4291,7 @@ ${$.value}
4291
4291
  appearance: "tertiary",
4292
4292
  "data-testid": "clear-filter",
4293
4293
  size: "small",
4294
- onClick: (oe) => q(fe.value)
4294
+ onClick: (oe) => D(fe.value)
4295
4295
  }, {
4296
4296
  default: R(() => [
4297
4297
  ce(j(C(i)("filter.clearButtonText")), 1)
@@ -4533,11 +4533,11 @@ const Eo = ["aria-labelledby"], Io = { class: "form-section-wrapper" }, Oo = {
4533
4533
  key: 0,
4534
4534
  class: "header-description",
4535
4535
  "data-testid": "header-description"
4536
- }, qo = {
4536
+ }, Do = {
4537
4537
  key: 1,
4538
4538
  class: "header-extra",
4539
4539
  "data-testid": "header-extra"
4540
- }, Do = {
4540
+ }, qo = {
4541
4541
  class: "content",
4542
4542
  "data-testid": "form-block-content"
4543
4543
  }, jo = /* @__PURE__ */ ke({
@@ -4573,11 +4573,11 @@ const Eo = ["aria-labelledby"], Io = { class: "form-section-wrapper" }, Oo = {
4573
4573
  ], !0)
4574
4574
  ])) : ee("", !0)
4575
4575
  ]),
4576
- o.extra ? (h(), V("div", qo, [
4576
+ o.extra ? (h(), V("div", Do, [
4577
4577
  pe(i.$slots, "extra", {}, void 0, !0)
4578
4578
  ])) : ee("", !0)
4579
4579
  ]),
4580
- te("div", Do, [
4580
+ te("div", qo, [
4581
4581
  pe(i.$slots, "default", {}, void 0, !0)
4582
4582
  ])
4583
4583
  ], 2));
@@ -4661,9 +4661,9 @@ const Eo = ["aria-labelledby"], Io = { class: "form-section-wrapper" }, Oo = {
4661
4661
  default: R(({ copyToClipboard: B }) => [
4662
4662
  te("span", {
4663
4663
  class: "entity-link-copy-id",
4664
- onClick: et((q) => g(B), ["stop"])
4664
+ onClick: et((D) => g(B), ["stop"])
4665
4665
  }, [
4666
- Z(C(Dt), {
4666
+ Z(C(qt), {
4667
4667
  class: "copy-icon",
4668
4668
  color: `var(--kui-color-text-primary, ${C(oi)})`,
4669
4669
  "data-testid": "copy-id",
@@ -4795,7 +4795,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (r, s) =>
4795
4795
  onClick: s[0] || (s[0] = (f) => r.$emit("click:create"))
4796
4796
  }, {
4797
4797
  default: R(() => [
4798
- Z(C(qt)),
4798
+ Z(C(Dt)),
4799
4799
  ce(" " + j(t.actionButtonText), 1)
4800
4800
  ]),
4801
4801
  _: 1
@@ -4894,7 +4894,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (r, s) =>
4894
4894
  /** Switch to the editable state programmatically, WITHOUT emitting `rotate`. */
4895
4895
  enterEditing: () => B(!1)
4896
4896
  });
4897
- const q = () => {
4897
+ const D = () => {
4898
4898
  r.value = !r.value;
4899
4899
  }, E = async () => {
4900
4900
  if (!(!t.generator || s.value)) {
@@ -4908,7 +4908,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (r, s) =>
4908
4908
  }
4909
4909
  }, w = Cn("rootElement");
4910
4910
  let G, J;
4911
- const se = ue(`calc(${Bt} + ${Ze} + ${Ot})`), D = () => {
4911
+ const se = ue(`calc(${Bt} + ${Ze} + ${Ot})`), q = () => {
4912
4912
  var x;
4913
4913
  const F = (x = w.value) == null ? void 0 : x.querySelector(".after-content-wrapper");
4914
4914
  F && (se.value = `calc(${Bt} + ${F.offsetWidth}px + ${Ot})`);
@@ -4917,8 +4917,8 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (r, s) =>
4917
4917
  var x;
4918
4918
  const F = (x = w.value) == null ? void 0 : x.querySelector(".after-content-wrapper");
4919
4919
  G = new ResizeObserver(() => {
4920
- J = window.requestAnimationFrame(() => D());
4921
- }), F && G.observe(F), D();
4920
+ J = window.requestAnimationFrame(() => q());
4921
+ }), F && G.observe(F), q();
4922
4922
  }), An(() => {
4923
4923
  G == null || G.disconnect(), J !== void 0 && window.cancelAnimationFrame(J);
4924
4924
  }), (F, x) => {
@@ -5027,8 +5027,8 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (r, s) =>
5027
5027
  role: "button",
5028
5028
  size: `var(--kui-icon-size-40, ${C(Ze)})`,
5029
5029
  tabindex: "0",
5030
- onClick: q,
5031
- onKeydown: Mt(et(q, ["prevent"]), ["enter", "space"])
5030
+ onClick: D,
5031
+ onKeydown: Mt(et(D, ["prevent"]), ["enter", "space"])
5032
5032
  }, null, 40, ["aria-label", "size", "onKeydown"]))
5033
5033
  ], 64))
5034
5034
  ]),
@@ -5051,7 +5051,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (r, s) =>
5051
5051
  onClick: (L) => ae(t.modelValue)
5052
5052
  }, {
5053
5053
  default: R(() => [
5054
- Z(C(Dt), {
5054
+ Z(C(qt), {
5055
5055
  color: "currentColor",
5056
5056
  size: `var(--kui-icon-size-40, ${C(Ze)})`
5057
5057
  }, null, 8, ["size"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-shared",
3
- "version": "3.54.1-pr.3548.9bb3456ef.0",
3
+ "version": "3.54.1",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-shared.umd.js",
6
6
  "module": "./dist/entities-shared.es.js",
@@ -38,7 +38,7 @@
38
38
  "vue": ">= 3.3.13 < 4",
39
39
  "vue-router": "^4.6.4 || ^5.0.6",
40
40
  "@kong-ui-public/i18n": "^2.4.6",
41
- "@kong-ui-public/monaco-editor": "^0.22.25-pr.3548.9bb3456ef.0"
41
+ "@kong-ui-public/monaco-editor": "^0.22.25"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@kong/design-tokens": "2.0.1",
@@ -53,7 +53,7 @@
53
53
  "shiki": "^4.2.0",
54
54
  "vue": "^3.5.35",
55
55
  "vue-router": "^5.1.0",
56
- "@kong-ui-public/monaco-editor": "^0.22.25-pr.3548.9bb3456ef.0",
56
+ "@kong-ui-public/monaco-editor": "^0.22.25",
57
57
  "@kong-ui-public/i18n": "^2.4.6"
58
58
  },
59
59
  "repository": {