@kong-ui-public/entities-shared 3.53.3 → 3.53.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,5 +66,5 @@ ${x.value}
66
66
  ${R.value}
67
67
  '@ | ${_}`,p.value=`@'
68
68
  ${x.value}
69
- '@ | ${_}`)}),(_,I)=>{const j=e.resolveComponent("KSelect"),U=e.resolveComponent("KBadge"),Q=e.resolveComponent("KCodeBlock"),V=e.resolveComponent("KAlert"),D=e.resolveComponent("KButton");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"deck-config config-card-code-block"},_.$attrs),[e.createVNode(j,{modelValue:c.value,"onUpdate:modelValue":I[0]||(I[0]=E=>c.value=E),items:h},{"item-template":e.withCtx(({item:E})=>[E.value==="powershell"?(e.openBlock(),e.createBlock(e.unref(ge.LanguageShellIcon),{key:0})):(e.openBlock(),e.createBlock(e.unref(ge.LanguageBashIcon),{key:1})),e.createTextVNode(" "+e.toDisplayString(E.label),1)]),"selected-item-template":e.withCtx(({item:E})=>[E.value==="powershell"?(e.openBlock(),e.createBlock(e.unref(ge.LanguageShellIcon),{key:0})):(e.openBlock(),e.createBlock(e.unref(ge.LanguageBashIcon),{key:1})),e.createTextVNode(" "+e.toDisplayString(E.label),1)]),_:1},8,["modelValue"]),e.createElementVNode("div",$n,e.toDisplayString(e.unref(y)("deckCodeBlock.steps.step_1")),1),n.isCustomizing?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(m),{key:0,"data-testid":`deck-hint-${n.app}`,keypath:`deckCodeBlock.hint.${n.app}`,tag:"p"},e.createSlots({link:e.withCtx(()=>[e.createVNode(e.unref(xe.KExternalLink),{href:n.app==="konnect"?"https://developer.konghq.com/deck/get-started/":"https://developer.konghq.com/deck/gateway/configuration/"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).t("deckCodeBlock.documentation")),1)]),_:1},8,["href"])]),_:2},[n.app==="konnect"?{name:"token",fn:e.withCtx(()=>[e.createVNode(U,null,{default:e.withCtx(()=>[...I[4]||(I[4]=[e.createTextVNode("DECK_KONNECT_TOKEN",-1)])]),_:1})]),key:"0"}:void 0]),1032,["data-testid","keypath"])),n.app==="konnect"?(e.openBlock(),e.createBlock(Q,{key:1,id:"deck-env-codeblock",class:e.normalizeClass({customization:r.isCustomizing}),code:w.value,language:c.value,"single-line":"",theme:n.isCustomizing?"light":"dark",onCodeBlockRender:e.unref(Be)},null,8,["class","code","language","theme","onCodeBlockRender"])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createBlock(V,{key:2,class:"copy-konnect-pat-alert"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("deckCodeBlock.customization.copy_pat")),1)]),_:1})):r.isCustomizing&&r.generateKonnectPat?(e.openBlock(),e.createElementBlock("div",In,[e.createVNode(D,{appearance:"secondary","data-testid":"generate-konnect-pat-button",onClick:I[1]||(I[1]=E=>u.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("deckCodeBlock.customization.generate_pat")),1)]),_:1}),e.createElementVNode("div",null,e.toDisplayString(e.unref(y)("deckCodeBlock.customization.reuse_pat")),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",On,e.toDisplayString(e.unref(y)("deckCodeBlock.steps.step_2")),1),r.entityRecord&&!r.isCustomizing?(e.openBlock(),e.createBlock(Q,{key:4,id:"deck-codeblock",class:e.normalizeClass({customization:r.isCustomizing}),code:s.value,"copy-code":p.value,"data-dd-privacy":"mask",language:c.value,theme:n.isCustomizing?"light":"dark",onCodeBlockRender:e.unref(Be)},null,8,["class","code","copy-code","language","theme","onCodeBlockRender"])):r.entityRecord&&r.isCustomizing&&e.unref(i)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createElementVNode("div",Vn,e.toDisplayString(e.unref(y)("deckCodeBlock.customization.secret_advise")),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)),{modelValue:p.value,"onUpdate:modelValue":I[2]||(I[2]=E=>p.value=E),language:c.value},null,8,["modelValue","language"])),e.createVNode(V,{class:"customization-footer-reminder"},{icon:e.withCtx(()=>[e.createVNode(e.unref(ge.InfoIcon))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(y)("deckCodeBlock.customization.footer_reminder")),1)]),_:1})],64)):e.createCommentVNode("",!0)],16),r.isCustomizing&&r.generateKonnectPat?(e.openBlock(),e.createBlock(Nt,{key:0,"generate-konnect-pat":r.generateKonnectPat,visible:u.value,onDismiss:I[3]||(I[3]=E=>u.value=!1),onGenerated:L},null,8,["generate-konnect-pat","visible"])):e.createCommentVNode("",!0)],64)}}}),rt=C._export_sfc(Dn,[["__scopeId","data-v-991fe861"]]),Ze=e.defineComponent({inheritAttrs:!1,__name:"DeckCodeBlock",props:{app:{},entityRecord:{},unredactedRecord:{},entityType:{},geoApiServerUrl:{},controlPlaneName:{},kongAdminApiUrl:{},workspace:{},customizationOptions:{type:[Boolean,Object]},isCustomizationModalVisible:{type:Boolean}},emits:["customization-close"],setup(n){const i=n,{i18n:{t:r}}=C.composables.useI18n(),a=e.computed(()=>{if(i.app==="konnect"&&i.customizationOptions&&typeof i.customizationOptions!="boolean")return i.customizationOptions.generateKonnectPat});return(m,y)=>{const l=e.resolveComponent("KModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[i.entityRecord?(e.openBlock(),e.createBlock(rt,e.mergeProps({key:0},m.$attrs,{app:i.app,"control-plane-name":i.app==="konnect"?i.controlPlaneName:void 0,"entity-record":i.entityRecord,"entity-type":i.entityType,"geo-api-server-url":i.app==="konnect"?i.geoApiServerUrl:void 0,"kong-admin-api-url":i.app==="kongManager"?i.kongAdminApiUrl:void 0,"unredacted-record":i.unredactedRecord,workspace:i.workspace||void 0}),null,16,["app","control-plane-name","entity-record","entity-type","geo-api-server-url","kong-admin-api-url","unredacted-record","workspace"])):e.createCommentVNode("",!0),i.entityRecord?(e.openBlock(),e.createBlock(l,{key:1,"action-button-appearance":"tertiary","action-button-text":e.unref(r)("baseConfigCard.actions.deck_customize_cancel"),"hide-cancel-button":"","max-width":"640px",title:e.unref(r)("deckCodeBlock.customization.title"),visible:i.isCustomizationModalVisible,onCancel:y[0]||(y[0]=s=>m.$emit("customization-close")),onProceed:y[1]||(y[1]=s=>m.$emit("customization-close"))},{default:e.withCtx(()=>[e.createVNode(rt,{app:i.app,"control-plane-name":i.app==="konnect"?i.controlPlaneName:void 0,"entity-record":i.entityRecord,"entity-type":i.entityType,"generate-konnect-pat":a.value,"geo-api-server-url":i.app==="konnect"?i.geoApiServerUrl:void 0,"is-customizing":"","kong-admin-api-url":i.app==="kongManager"?i.kongAdminApiUrl:void 0,"unredacted-record":i.unredactedRecord,workspace:i.workspace||void 0},null,8,["app","control-plane-name","entity-record","entity-type","generate-konnect-pat","geo-api-server-url","kong-admin-api-url","unredacted-record","workspace"])]),_:1},8,["action-button-text","title","visible"])):e.createCommentVNode("",!0)],64)}}}),Rn={key:0,class:"config-card-display-form"},Kn=["data-testid"],Ln={key:0,class:"config-card-prop-section-title"},Fn=e.defineComponent({__name:"ConfigCardDisplay",props:{config:{type:Object,required:!1,default:()=>({})},entityType:{type:String,required:!0,validator:n=>C.SupportedEntityTypesArray.includes(n)},subEntityType:{type:String,default:""},propertyCollections:{type:Object,required:!1,default:()=>null},format:{type:String,required:!1,default:"structured",validator:n=>C.CONFIG_CARD_FORMATS.includes(n)},propListTypes:{type:Array,required:!1,default:()=>[]},record:{type:Object,required:!1,default:()=>({})},codeBlockRecord:{type:Object,default:void 0},codeBlockRecordRedacted:{type:Object,default:void 0},preserveCodeBlockTimestamps:{type:Boolean,default:!1},fetcherUrl:{type:String,required:!1,default:""},codeBlockRecordFormatter:{type:Function,required:!1,default:n=>n},isDeckCustomizationVisible:{type:Boolean,required:!1,default:!1}},emits:["deck-customization:close","request-deck-format"],setup(n){const i=n,r=e.useSlots(),{i18n:{t:a}}=C.composables.useI18n(),m=f=>!!(f.tooltip||r[`${f.key}-label-tooltip`]),y=f=>{if(f==null)return;let k=JSON.parse(JSON.stringify(f));return i.codeBlockRecordFormatter&&(k=i.codeBlockRecordFormatter(k,i.format)),i.preserveCodeBlockTimestamps||(delete k.created_at,delete k.updated_at),k},l=e.computed(()=>y(i.codeBlockRecordRedacted||i.codeBlockRecord||i.record)),s=e.computed(()=>y(i.codeBlockRecord||i.record)),p=e.computed(()=>i.fetcherUrl.replace(/(\?|&)__ui_data=true/,"")),{isDeckEnabled:u,deckCustomizationOptions:h,deckCalloutPreferenceKey:c}=C.composables.useBaseEntityDeckOptions(()=>i.config,()=>i.entityType);return(f,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.format==="structured"?(e.openBlock(),e.createElementBlock("div",Rn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.propListTypes,R=>(e.openBlock(),e.createElementBlock("div",{key:`config-card-details-${R}-props`,class:e.normalizeClass(`config-card-details-${R}-props`),"data-testid":`config-card-details-${R}-props`},[R!=="basic"?(e.openBlock(),e.createElementBlock("div",Ln,e.toDisplayString(R==="advanced"?e.unref(a)("baseConfigCard.sections.advanced"):R==="plugin"?e.unref(a)("baseConfigCard.sections.plugin"):e.unref(a)("baseConfigCard.sections.policy")),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.propertyCollections[R],x=>e.renderSlot(f.$slots,`config-card-item-${x.key}`,{row:x},()=>[(e.openBlock(),e.createBlock(Ge,{key:x.key,item:x},e.createSlots({label:e.withCtx(()=>[e.renderSlot(f.$slots,`${x.key}-label`,{row:x},void 0,!0)]),[x.key]:e.withCtx(({rowValue:w})=>[e.renderSlot(f.$slots,x.key,{row:x,rowValue:w},void 0,!0)]),_:2},[m(x)?{name:"label-tooltip",fn:e.withCtx(()=>[e.renderSlot(f.$slots,`${x.key}-label-tooltip`,{row:x},void 0,!0)]),key:"0"}:void 0]),1032,["item"]))],!0)),256))],10,Kn))),128))])):e.createCommentVNode("",!0),n.format==="json"&&l.value?(e.openBlock(),e.createBlock(We,{key:1,config:i.config,"entity-record":l.value,"fetcher-url":p.value,"request-method":"get","unredacted-record":s.value},null,8,["config","entity-record","fetcher-url","unredacted-record"])):e.createCommentVNode("",!0),n.format==="yaml"&&l.value?(e.openBlock(),e.createBlock(Qe,{key:2,"deck-callout-preference-key":e.unref(u)?e.unref(c):void 0,"entity-record":l.value,"unredacted-record":s.value,"onDeckCallout:clickCta":k[0]||(k[0]=R=>f.$emit("request-deck-format"))},null,8,["deck-callout-preference-key","entity-record","unredacted-record"])):e.createCommentVNode("",!0),n.format==="terraform"&&l.value?(e.openBlock(),e.createBlock(Xe,{key:3,"entity-record":l.value,"entity-type":i.entityType,"sub-entity-type":i.subEntityType,"unredacted-record":s.value},null,8,["entity-record","entity-type","sub-entity-type","unredacted-record"])):e.createCommentVNode("",!0),n.format==="deck"&&l.value?(e.openBlock(),e.createBlock(Ze,{key:4,app:n.config.app,"control-plane-name":n.config.app==="konnect"?n.config.controlPlaneName:void 0,"customization-options":e.unref(h),"entity-record":l.value,"entity-type":i.entityType,"geo-api-server-url":n.config.app==="konnect"?n.config.geoApiServerUrl:void 0,"is-customization-modal-visible":n.isDeckCustomizationVisible,"kong-admin-api-url":n.config.app==="kongManager"?n.config.apiBaseUrl:void 0,"unredacted-record":s.value,workspace:n.config.workspace||void 0,onCustomizationClose:k[1]||(k[1]=R=>f.$emit("deck-customization:close"))},null,8,["app","control-plane-name","customization-options","entity-record","entity-type","geo-api-server-url","is-customization-modal-visible","kong-admin-api-url","unredacted-record","workspace"])):e.createCommentVNode("",!0)],64))}}),$t=C._export_sfc(Fn,[["__scopeId","data-v-83075649"]]),Mn={class:"config-card-title","data-testid":"config-card-title"},Pn={class:"config-card-actions"},qn={class:"row"},jn=["href"],Un={class:"config-card-details-section"},zn={key:0,class:"config-card-details-after"},Hn=e.defineComponent({__name:"EntityBaseConfigCard",props:{config:{type:Object,required:!0,validator:n=>!(!n||!["konnect","kongManager"].includes(n==null?void 0:n.app)||n.app==="kongManager"&&typeof n.workspace!="string"||!n.entityId)},configSchema:{type:Object,required:!1,default:()=>({})},entityType:{type:String,required:!0,validator:n=>C.SupportedEntityTypesArray.includes(n)},subEntityType:{type:String,default:""},pluginConfigKey:{type:String,required:!1,default:""},pluginConfigSchema:{type:Object,required:!1,default:()=>({})},policyConfigKey:{type:String,required:!1,default:""},policyConfigSchema:{type:Object,required:!1,default:()=>({})},fetchUrl:{type:String,required:!0},dataKey:{type:String,required:!1,default:""},recordResolver:{type:Function,required:!1,default:n=>n},codeBlockRecordFormatter:{type:Function,required:!1,default:n=>n},codeBlockRecordResolver:{type:Function,required:!1,default:void 0},preserveCodeBlockTimestamps:{type:Boolean,required:!1,default:!1},hideTitle:{type:Boolean,default:!1},label:{type:String,default:"Format: ",required:!1},configCardDoc:{type:String,default:"",required:!1},titleTag:{type:String,default:"h2"},formatsToHide:{type:Array,required:!1,default:()=>[]}},emits:["loading","fetch:success","fetch:error","configFormatChange"],setup(n,{emit:i}){var P;const r=i,a=n,m=new Set(["after-fields"]),{i18n:{t:y}}=C.composables.useI18n(),{getMessageFromError:l}=C.composables.useErrors(),{convertKeyToTitle:s}=C.composables.useStringHelpers();C.composables.useSubSchema(a.pluginConfigKey);const{axiosInstance:p}=C.composables.useAxios((P=a.config)==null?void 0:P.axiosRequestConfig),u=e.useSlots(),h=e.ref(!1),c=e.computed(()=>Object.keys(u).filter(F=>!m.has(F))),f=e.computed(()=>!!u["after-fields"]),{isDeckEnabled:k,deckCustomizationOptions:R}=C.composables.useBaseEntityDeckOptions(()=>a.config,()=>a.entityType),x=e.computed(()=>{const F=[{label:y("baseConfigCard.general.structuredFormat"),value:"structured",selected:!0},{label:y("baseForm.configuration.json"),value:"json"},{label:y("baseForm.configuration.yaml"),value:"yaml"}];a.config.app==="konnect"&&F.splice(2,0,{label:y("baseForm.configuration.terraform"),value:"terraform"}),k.value&&F.push({label:y("baseForm.configuration.deck"),value:"deck"});const H=new Set(a.formatsToHide);return F.filter(J=>J.value==="structured"||!H.has(J.value))}),w=e.ref("structured"),L=F=>{w.value=F==null?void 0:F.value,r("configFormatChange",w.value)},_=(F,H)=>{localStorage.setItem(F,H)};e.watch(w,F=>{a.config.formatPreferenceKey&&_(a.config.formatPreferenceKey,F)}),e.onMounted(()=>{var F;if(a.config.formatPreferenceKey){const H=localStorage.getItem(a.config.formatPreferenceKey),J=x.value;H&&J.some(se=>se.value===H)?w.value=H:w.value=((F=J[0])==null?void 0:F.value)??"structured",_(a.config.formatPreferenceKey,w.value)}});const I={id:{type:C.ConfigurationSchemaType.ID,label:y("baseConfigCard.commonFields.id_label"),order:0,section:C.ConfigurationSchemaSection.Basic},name:{order:1,section:C.ConfigurationSchemaSection.Basic},enabled:{type:C.ConfigurationSchemaType.BadgeStatus,order:2,section:C.ConfigurationSchemaSection.Basic},updated_at:{type:C.ConfigurationSchemaType.Date,label:y("baseConfigCard.commonFields.updated_at_label"),order:3,section:C.ConfigurationSchemaSection.Basic},created_at:{type:C.ConfigurationSchemaType.Date,label:y("baseConfigCard.commonFields.created_at_label"),order:4,section:C.ConfigurationSchemaSection.Basic},tags:{type:C.ConfigurationSchemaType.BadgeTag,order:-1,section:C.ConfigurationSchemaSection.Basic},labels:{type:C.ConfigurationSchemaType.BadgeTag,order:-1,section:C.ConfigurationSchemaSection.Basic},partials:{type:C.ConfigurationSchemaType.LinkInternal,label:y("baseConfigCard.commonFields.partial_label"),order:-1,section:C.ConfigurationSchemaSection.Basic}},j=e.ref(!1),U=e.ref(!1),Q=e.ref(""),V=e.ref({}),D=e.ref(null),E=e.computed(()=>{if(!(!a.codeBlockRecordResolver||D.value==null))return a.codeBlockRecordResolver(D.value)}),K=e.ref(!1),ne=e.computed(()=>{var H;const F={...E.value||V.value};for(const J in F)((H=a.configSchema[J])==null?void 0:H.type)===C.ConfigurationSchemaType.Redacted&&(F[J]="********");return a.codeBlockRecordResolver?a.codeBlockRecordResolver(F):F}),X=e.computed(()=>{var J,se,me;if(!V.value)return[];const F=[],H=Object.keys(V.value).length;for(const ee in V.value){if(ee==="__ui_data")continue;const G=(se=(J=a.configSchema)==null?void 0:J[ee])==null?void 0:se.order,ae=(me=I[ee])==null?void 0:me.order;let te=H;(ae||ae===0)&&(te=ae===-1?H+1:ae),G&&(te=G===-1?H+1:G),F.push([ee,te])}return F.sort(function(ee,G){return ee[1]-G[1]}),F.map(ee=>{var ve,ke;const G=ee[0],ae=(ve=V.value)==null?void 0:ve[G],te=((ke=a.configSchema)==null?void 0:ke[G])||{},oe=I[G];return{key:G,value:ae,hidden:te.hidden||!1,type:te.type??((oe==null?void 0:oe.type)||C.ConfigurationSchemaType.Text),label:te.label??((oe==null?void 0:oe.label)||s(G)),tooltip:te.tooltip??((oe==null?void 0:oe.tooltip)||void 0),section:te.section??((oe==null?void 0:oe.section)||C.ConfigurationSchemaSection.Advanced)}}).filter(ee=>!ee.hidden&&ee.key!==a.pluginConfigKey)}),W=e.computed(()=>{var se,me;if(!V.value||!a.pluginConfigKey)return[];const F=V.value[a.pluginConfigKey]||{},H=Object.keys(F).length,J=[];for(const ee in F){const G=(me=(se=a.pluginConfigSchema)==null?void 0:se[ee])==null?void 0:me.order,ae=F[ee];let te=ae!=null&&ae!==""?H-1:H;G&&(te=G===-1?H+1:G),J.push([ee,te])}return J.sort(function(ee,G){return ee[1]-G[1]}),J.map(ee=>{var oe;const G=ee[0],ae=F[G],te=((oe=a.pluginConfigSchema)==null?void 0:oe[G])||{};return{key:G,value:ae,hidden:te.hidden||!1,type:te.type??C.ConfigurationSchemaType.Text,label:te.label??s(G),tooltip:te.tooltip??void 0,section:C.ConfigurationSchemaSection.Plugin}}).filter(ee=>!ee.hidden)}),Z=e.computed(()=>{var se,me;if(!V.value||!a.policyConfigKey)return[];const F=V.value[a.policyConfigKey]||{},H=Object.keys(F).length,J=[];for(const ee in F){const G=(me=(se=a.policyConfigSchema)==null?void 0:se[ee])==null?void 0:me.order,ae=F[ee];let te=ae!=null&&ae!==""?H-1:H;G&&(te=G===-1?H+1:G),J.push([ee,te])}return J.sort(function(ee,G){return ee[1]-G[1]}),J.map(ee=>{var oe;const G=ee[0],ae=F[G],te=((oe=a.policyConfigSchema)==null?void 0:oe[G])||{};return{key:G,value:ae,hidden:te.hidden||!1,type:te.type??C.ConfigurationSchemaType.Text,label:te.label??s(G),tooltip:te.tooltip??void 0,section:C.ConfigurationSchemaSection.Policy}}).filter(ee=>!ee.hidden)}),ie=e.computed(()=>{var F,H,J,se,me,ee;return{basic:(F=X.value)==null?void 0:F.filter(G=>G.section===C.ConfigurationSchemaSection.Basic),advanced:(H=X.value)==null?void 0:H.filter(G=>G.section===C.ConfigurationSchemaSection.Advanced),plugin:(se=W.value)==null?void 0:se.concat((J=X.value)==null?void 0:J.filter(G=>G.section===C.ConfigurationSchemaSection.Plugin)),policy:(ee=Z.value)==null?void 0:ee.concat((me=X.value)==null?void 0:me.filter(G=>G.section===C.ConfigurationSchemaSection.Policy))}}),le=e.computed(()=>{const F=[];return ie.value.basic.length&&F.push("basic"),ie.value.advanced.length&&F.push("advanced"),ie.value.plugin.length&&F.push("plugin"),ie.value.policy.length&&F.push("policy"),F}),fe=e.computed(()=>{var H,J;let F=`${a.config.apiBaseUrl}${a.fetchUrl}`;return a.config.app==="konnect"&&(F=F.replace(/{controlPlaneId}/gi,((H=a.config)==null?void 0:H.controlPlaneId)||"")),F.replace(/\/{workspace}/gi,(J=a.config)!=null&&J.workspace?`/${a.config.workspace}`:"").replace(/{id}/gi,a.config.entityId)});return e.watch(j,F=>{r("loading",F)},{immediate:!0}),e.onBeforeMount(async()=>{U.value=!1,j.value=!0;try{const{data:F}=await p.get(fe.value);if(D.value=F,a.dataKey)if(typeof F[a.dataKey]<"u")V.value={...F[a.dataKey]};else throw new Error(y("errors.dataKeyUndefined",{dataKey:a.dataKey}));else a.recordResolver?V.value={...a.recordResolver(F)}:V.value={...F};Object.keys(a.configSchema).filter(J=>a.configSchema[J].forceShow).forEach(J=>{V.value&&typeof V.value[J]>"u"&&(V.value[J]=null)}),r("fetch:success",F)}catch(F){D.value=null;const H=l(F);Q.value=H.startsWith("code")?y("baseConfigCard.errors.load"):H,U.value=!0,r("fetch:error",F)}finally{j.value=!1}}),(F,H)=>{const J=e.resolveComponent("KCheckbox"),se=e.resolveComponent("KLabel"),me=e.resolveComponent("KSelect"),ee=e.resolveComponent("KButton"),G=e.resolveComponent("KSkeleton"),ae=e.resolveComponent("KEmptyState"),te=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(te,{class:"kong-ui-entity-base-config-card","title-tag":n.titleTag},e.createSlots({actions:e.withCtx(()=>[e.createElementVNode("div",Pn,[e.renderSlot(F.$slots,"actions",{},void 0,!0),w.value!=="structured"?(e.openBlock(),e.createBlock(J,{key:0,modelValue:K.value,"onUpdate:modelValue":H[0]||(H[0]=oe=>K.value=oe),class:"sensitive-fields-checkbox","data-testid":"sensitive-fields-checkbox",label:e.unref(y)("baseConfigCard.actions.sensitive_fields")},null,8,["modelValue","label"])):e.createCommentVNode("",!0),e.createElementVNode("div",qn,[e.createVNode(se,{class:"config-format-select-label","data-testid":"config-format-select-label"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label),1)]),_:1}),e.createVNode(me,{modelValue:w.value,"onUpdate:modelValue":H[1]||(H[1]=oe=>w.value=oe),"data-testid":"select-config-format",items:x.value,onChange:L},null,8,["modelValue","items"])]),w.value==="deck"&&e.unref(R)?(e.openBlock(),e.createBlock(ee,{key:1,appearance:"secondary",class:"button-customize-deck","data-testid":"config-deck-customize-button",onClick:H[2]||(H[2]=oe=>h.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("baseConfigCard.actions.deck_customize")),1)]),_:1})):e.createCommentVNode("",!0),n.configCardDoc?(e.openBlock(),e.createBlock(ee,{key:2,appearance:"tertiary",class:"book-icon","data-testid":"book-icon"},{default:e.withCtx(()=>[e.createElementVNode("a",{href:n.configCardDoc,rel:"noopener",target:"_blank"},[e.createVNode(e.unref(ge.BookIcon),{size:`var(--kui-icon-size-40, ${e.unref(_e)})`},null,8,["size"])],8,jn)]),_:1})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[j.value?(e.openBlock(),e.createBlock(G,{key:0,"data-testid":"config-card-loader","table-columns":2,type:"table"})):U.value?(e.openBlock(),e.createBlock(ae,{key:1,"data-testid":"config-card-fetch-error","icon-variant":"error"},{default:e.withCtx(()=>[e.createElementVNode("h3",null,e.toDisplayString(Q.value),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",Un,[e.createVNode($t,{"code-block-record":E.value,"code-block-record-formatter":n.codeBlockRecordFormatter,"code-block-record-redacted":K.value?void 0:ne.value,config:n.config,"entity-type":n.entityType,"fetcher-url":fe.value,format:w.value,"is-deck-customization-visible":h.value,"preserve-code-block-timestamps":n.preserveCodeBlockTimestamps,"prop-list-types":le.value,"property-collections":ie.value,record:V.value,"sub-entity-type":n.subEntityType,"onDeckCustomization:close":H[3]||(H[3]=oe=>h.value=!1),onRequestDeckFormat:H[4]||(H[4]=oe=>w.value="deck")},e.createSlots({_:2},[e.renderList(c.value,oe=>({name:oe,fn:e.withCtx(ve=>[e.renderSlot(F.$slots,oe,e.mergeProps({record:V.value},ve),void 0,!0)])}))]),1032,["code-block-record","code-block-record-formatter","code-block-record-redacted","config","entity-type","fetcher-url","format","is-deck-customization-visible","preserve-code-block-timestamps","prop-list-types","property-collections","record","sub-entity-type"])]),f.value?(e.openBlock(),e.createElementBlock("div",zn,[e.renderSlot(F.$slots,"after-fields",{},void 0,!0)])):e.createCommentVNode("",!0)],64))]),_:2},[n.hideTitle?void 0:{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Mn,[e.renderSlot(F.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("baseConfigCard.title")),1)],!0)])]),key:"0"}]),1032,["title-tag"])}}}),Yn=C._export_sfc(Hn,[["__scopeId","data-v-aa5da890"]]),Gn=["novalidate"],Wn={key:0,class:"button-customize-deck-wrapper"},Jn=e.defineComponent({__name:"EntityBaseForm",props:{config:{type:Object,required:!0,validator:n=>!(!n||!["konnect","kongManager"].includes(n==null?void 0:n.app)||n.app==="konnect"&&!n.controlPlaneId||n.app==="kongManager"&&typeof n.workspace!="string")},editId:{type:String,required:!1,default:null},entityType:{type:String,required:!0,validator:n=>C.SupportedEntityTypesArray.includes(n)},subEntityType:{type:String,required:!1,default:""},fetchUrl:{type:String,required:!1,default:""},isReadonly:{type:Boolean,required:!1,default:!1},canSubmit:{type:Boolean,required:!1,default:void 0},errorMessage:{type:String,required:!1,default:""},formFields:{type:Object,required:!0},noValidate:{type:Boolean,default:!1},wrapperComponent:{type:String,default:"KCard"},actionTeleportTarget:{type:String,default:void 0},hideActions:{type:Boolean,default:!1},slidoutTopOffset:{type:Number,default:60},alignActionButtonToLeft:{type:Boolean,default:!1},saveButtonText:{type:String,default:void 0},cancelButtonText:{type:String,default:void 0},slideoutFetchUrl:{type:String,default:void 0},slideoutRequestMethod:{type:String,default:void 0},slideoutDeckEntityType:{type:String,default:void 0},tabsToHide:{type:Array,required:!1,default:()=>[]}},emits:["loading","fetch:success","fetch:error","submit","cancel","codeBlockTabChange"],setup(n,{expose:i,emit:r}){var ne,X;const a=e.inject(C.PLUGIN_FORM_LAYOUT_STATE,e.ref(!1)),m=r,y=n,l=Pt.useRouter(),{i18n:{t:s}}=C.composables.useI18n(),{getMessageFromError:p}=C.composables.useErrors(),{axiosInstance:u}=C.composables.useAxios((ne=y.config)==null?void 0:ne.axiosRequestConfig),h=e.ref(!1),c=e.computed(()=>!!y.editId),f=e.ref(!1),k=e.ref(""),R=e.computed(()=>y.canSubmit===!1||y.isReadonly),x=e.ref(!1),w=e.computed(()=>{var Z,ie;let W=`${y.config.apiBaseUrl}${y.fetchUrl}`;return y.config.app==="konnect"&&(W=W.replace(/{controlPlaneId}/gi,((Z=y.config)==null?void 0:Z.controlPlaneId)||"")),W=W.replace(/\/{workspace}/gi,(ie=y.config)!=null&&ie.workspace?`/${y.config.workspace}`:""),y.editId?(W=W.replace(/{id}/gi,y.editId),W):(W=W.replace(/\/{id}/gi,""),W)}),L=e.ref(!1),{isDeckEnabled:_,deckCustomizationOptions:I,deckCalloutPreferenceKey:j}=C.composables.useBaseFormDeckOptions(()=>y.config,()=>y.entityType),U=()=>{x.value=!x.value},Q=()=>{y.config.cancelRoute?l.push(y.config.cancelRoute):V()},V=()=>{m("cancel")},D=()=>{R.value||m("submit")},E=e.computed(()=>{const W=[{title:s("baseForm.configuration.json"),hash:"#json"},{title:s("baseForm.configuration.yaml"),hash:"#yaml"}];y.config.app==="konnect"&&y.entityType!==C.SupportedEntityType.Other&&W.splice(1,0,{title:s("baseForm.configuration.terraform"),hash:"#terraform"}),_.value&&W.push({title:s("baseForm.configuration.deck"),hash:"#deck"});const Z=new Set(y.tabsToHide.map(ie=>`#${ie}`));return W.filter(ie=>!Z.has(ie.hash))}),K=e.ref((X=E.value[0])==null?void 0:X.hash);return e.watch(E,W=>{var Z;W.some(ie=>ie.hash===K.value)||(K.value=(Z=W[0])==null?void 0:Z.hash)}),e.watch(()=>h.value,W=>{m("loading",W)},{immediate:!0}),e.onBeforeMount(async()=>{if(y.editId)try{f.value=!1,h.value=!0;const{data:W}=await u.get(w.value);m("fetch:success",W)}catch(W){const Z=p(W);k.value=Z.startsWith("code")?s("baseForm.errors.edit"):Z,f.value=!0,m("fetch:error",W)}finally{h.value=!1}}),i({viewConfig:U,formCancel:V,formSubmit:D}),(W,Z)=>{const ie=e.resolveComponent("KSkeleton"),le=e.resolveComponent("KEmptyState"),fe=e.resolveComponent("KAlert"),P=e.resolveComponent("KButton"),F=e.resolveComponent("KTabs"),H=e.resolveComponent("KSlideout");return e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.wrapperComponent),{class:e.normalizeClass(["kong-ui-entity-base-form",{"new-form-layout":e.unref(a)&&n.entityType===e.unref(C.SupportedEntityType).Plugin}])},{default:e.withCtx(()=>[h.value?(e.openBlock(),e.createBlock(ie,{key:0,type:"form"})):f.value?(e.openBlock(),e.createBlock(le,{key:1,"action-button-text":e.unref(s)("baseForm.actions.back"),"data-testid":"form-fetch-error","icon-variant":"error",onClickAction:Q},{default:e.withCtx(()=>[e.createElementVNode("h3",null,e.toDisplayString(k.value),1)]),_:1},8,["action-button-text"])):(e.openBlock(),e.createElementBlock("form",{key:2,"data-testid":"form-content",novalidate:y.noValidate,onReset:e.withModifiers(V,["prevent"]),onSubmit:e.withModifiers(D,["prevent"])},[e.renderSlot(W.$slots,"default",{},void 0,!0),n.errorMessage?(e.openBlock(),e.createBlock(fe,{key:0,appearance:"danger",class:"form-error","data-testid":"form-error",message:n.errorMessage},null,8,["message"])):e.createCommentVNode("",!0),n.hideActions?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.Teleport,{key:1,disabled:!n.actionTeleportTarget,to:n.actionTeleportTarget},[e.createElementVNode("div",{class:e.normalizeClass(["form-actions",{"form-actions-reverted":n.alignActionButtonToLeft}]),"data-testid":"form-actions"},[e.renderSlot(W.$slots,"form-actions",{},()=>[e.createVNode(P,{appearance:"tertiary","data-testid":`${n.entityType}-${c.value?"edit":"create"}-form-view-configuration`,onClick:Z[0]||(Z[0]=J=>U())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.value?e.unref(s)("baseForm.actions.hideConfiguration"):e.unref(s)("baseForm.actions.viewConfiguration")),1)]),_:1},8,["data-testid"]),e.createVNode(P,{appearance:"secondary","data-testid":`${n.entityType}-${c.value?"edit":"create"}-form-cancel`,disabled:n.isReadonly,type:"reset",onClick:Z[1]||(Z[1]=J=>!!n.actionTeleportTarget&&V())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.cancelButtonText??e.unref(s)("baseForm.actions.cancel")),1)]),_:1},8,["data-testid","disabled"]),e.createVNode(P,{appearance:"primary","data-testid":`${n.entityType}-${c.value?"edit":"create"}-form-submit`,disabled:R.value,type:"submit",onClick:Z[2]||(Z[2]=J=>!!n.actionTeleportTarget&&D())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.saveButtonText??e.unref(s)("baseForm.actions.save")),1)]),_:1},8,["data-testid","disabled"])],!0)],2)],8,["disabled","to"]))],40,Gn)),e.createVNode(H,{"close-on-blur":!1,"data-testid":"form-view-configuration-slideout","has-overlay":!1,"offset-top":n.slidoutTopOffset,title:e.unref(s)("baseForm.configuration.title"),visible:x.value,onClose:Z[8]||(Z[8]=J=>U())},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.renderSlot(W.$slots,"configuration-slideout-message",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("baseForm.configuration.message")),1)],!0)]),e.createVNode(F,{modelValue:K.value,"onUpdate:modelValue":Z[6]||(Z[6]=J=>K.value=J),"data-testid":"form-view-configuration-slideout-tabs",tabs:E.value,onChange:Z[7]||(Z[7]=J=>m("codeBlockTabChange",J.replace("#","")))},{json:e.withCtx(()=>[e.createVNode(We,{config:n.config,"entity-record":y.formFields,"fetcher-url":y.slideoutFetchUrl??w.value,"request-method":y.slideoutRequestMethod??(y.editId?"put":"post")},null,8,["config","entity-record","fetcher-url","request-method"])]),yaml:e.withCtx(()=>[e.createVNode(Qe,{"deck-callout-preference-key":e.unref(_)?e.unref(j):void 0,"entity-record":y.formFields,"onDeckCallout:clickCta":Z[3]||(Z[3]=J=>K.value="#deck")},null,8,["deck-callout-preference-key","entity-record"])]),terraform:e.withCtx(()=>[e.createVNode(Xe,{"entity-record":y.formFields,"entity-type":n.entityType,"sub-entity-type":n.subEntityType},null,8,["entity-record","entity-type","sub-entity-type"])]),deck:e.withCtx(()=>[e.unref(I)?(e.openBlock(),e.createElementBlock("div",Wn,[e.createVNode(P,{appearance:"secondary",class:"button-customize-deck",onClick:Z[4]||(Z[4]=J=>L.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("baseConfigCard.actions.deck_customize")),1)]),_:1})])):e.createCommentVNode("",!0),e.createVNode(Ze,{app:n.config.app,"control-plane-name":n.config.app==="konnect"?n.config.controlPlaneName:void 0,"customization-options":e.unref(I),"entity-record":y.formFields,"entity-type":y.slideoutDeckEntityType??n.entityType,"geo-api-server-url":n.config.app==="konnect"?n.config.geoApiServerUrl:void 0,"is-customization-modal-visible":L.value,"kong-admin-api-url":n.config.app==="kongManager"?n.config.apiBaseUrl:void 0,workspace:n.config.workspace||void 0,onCustomizationClose:Z[5]||(Z[5]=J=>L.value=!1)},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"])]),_:1},8,["modelValue","tabs"])]),_:3},8,["offset-top","title","visible"])]),_:3},8,["class"])}}}),Qn=C._export_sfc(Jn,[["__scopeId","data-v-7ce8c23d"]]),Xn=["data-truncate"],Zn=e.defineComponent({__name:"EntityBaseTableCell",props:{keyName:{type:String,required:!0},rowEl:{type:[Object,null],required:!0},tooltip:{type:Boolean,default:!1}},setup(n){const i=n,r=e.computed(()=>{var w;return((w=i.rowEl)==null?void 0:w.querySelector(`[data-testid="${i.keyName}"]`))||null}),a=e.computed(()=>{var w;return((w=r.value)==null?void 0:w.querySelector('[data-truncate="true"]'))||null}),m=e.computed(()=>{var L,_;const w=(L=i.rowEl)==null?void 0:L.querySelectorAll("td");return w?((_=w[0])==null?void 0:_.getAttribute("data-testid"))===i.keyName:!0}),y=e.computed(()=>m.value||i.tooltip);let l;const s=()=>{l&&(l.disconnect(),l=void 0)},p=()=>{var L,_,I;let w=((L=r.value)==null?void 0:L.clientWidth)||0;if(r.value&&"getComputedStyle"in window){const j=window.getComputedStyle(r.value);w-=(parseFloat(j.paddingLeft)||0)+(parseFloat(j.paddingRight)||0)}h.value=((_=a.value)==null?void 0:_.getBoundingClientRect().width)||0,c.value=w,f.value=((I=u.value)==null?void 0:I.innerText)||""},u=e.ref({}),h=e.ref(0),c=e.ref(0),f=e.ref(""),k=e.computed(()=>[a.value,r.value]),R=e.watch(k,w=>{if(y.value&&(s(),"ResizeObserver"in window&&window)){l=new ResizeObserver(L=>{window.requestAnimationFrame(()=>{!Array.isArray(L)||!L.length||p()})});for(const L of w)L&&l.observe(L)}},{immediate:!0,flush:"post",deep:!0}),x=e.computed(()=>y.value?h.value>c.value:!1);return e.onMounted(()=>{p()}),e.onUnmounted(()=>{R()}),(w,L)=>{const _=e.resolveComponent("KTooltip");return e.openBlock(),e.createElementBlock("span",{ref_key:"contentRef",ref:u,class:"content-wrapper"},[y.value?(e.openBlock(),e.createElementBlock("span",{key:0,"data-truncate":y.value||void 0},[e.createVNode(_,{"max-width":"300",placement:"bottom-start",text:x.value?f.value:""},{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default",{},void 0,!0)]),_:3},8,["text"])],8,Xn)):e.renderSlot(w.$slots,"default",{key:1},void 0,!0)],512)}}}),eo=C._export_sfc(Zn,[["__scopeId","data-v-a3a65cac"]]),to={class:"toolbar-container"},no={key:0,class:"toolbar-button-container"},oo={key:0,class:"hidden"},ro=e.defineComponent({__name:"EntityBaseTable",props:{tableHeaders:{type:Object,required:!0,default:()=>({})},fetcher:{type:Function,required:!0,default:async()=>({data:[],total:0})},initialFetcherParams:{type:Object,default:null},rowKey:{type:[String,Function],default:"id"},cacheIdentifier:{type:String,default:""},fetcherCacheKey:{type:Number,default:1},isLoading:{type:Boolean,default:!1},query:{type:String,default:""},enableClientSort:{type:Boolean,default:!1},sortHandlerFunction:{type:Function,default:null},enableEntityActions:{type:Boolean,default:!0},emptyStateOptions:{type:Object,default:()=>({})},errorMessage:{type:[String,Object],default:null},paginationAttributes:{type:Object,default:()=>({})},hidePaginationWhenOptional:{type:Boolean,default:!0},disableSorting:{type:Boolean,default:void 0},cellAttributes:{type:Function,default:()=>({})},rowAttributes:{type:Function,default:()=>({})},preferencesStorageKey:{type:String,default:""},defaultTablePreferences:{type:Object,default:null,required:!1},title:{type:String,default:""},titleTag:{type:String,default:"h2"},disableRowClick:{type:Boolean,default:!1},hidePagination:{type:Boolean,default:!1},hideToolbar:{type:Boolean,default:void 0},disablePaginationPageJump:{type:Boolean,default:void 0,validator:n=>(n&&console.warn("EntityBaseTable: `disablePaginationPageJump` is deprecated in favour of `paginationAttributes`. Please update your code to use `paginationAttributes` instead."),typeof n=="boolean")},paginationType:{type:String,default:void 0,validator:n=>(n&&console.warn("EntityBaseTable: `paginationType` is deprecated in favour of `paginationAttributes`. Please update your code to use `paginationAttributes` instead."),["default","offset"].includes(n))}},emits:["click:row","sort","clear-search-input","empty-state-cta-clicked","state"],setup(n,{emit:i}){const r=n,a=i,{i18n:{t:m}}=C.composables.useI18n(),y=e.computed(()=>{var E,K;return typeof r.errorMessage=="string"?{hasError:!!r.errorMessage,title:r.errorMessage,message:void 0}:{hasError:!!r.errorMessage,title:(E=r.errorMessage)==null?void 0:E.title,message:(K=r.errorMessage)==null?void 0:K.message}}),l=e.computed(()=>r.cacheIdentifier||r.preferencesStorageKey),s=e.computed(()=>{const E=[];return Object.keys(r.tableHeaders).forEach(ne=>{const X=r.tableHeaders[ne];E.push({label:X.label??ne,key:ne,sortable:X.sortable??!1,hidable:X.hidable??!0})}),r.enableEntityActions&&E.push({key:"actions",hideLabel:!0}),E}),p=E=>({"data-rowid":E.id,"data-testid":E.name,...r.rowAttributes(E)}),u=e.ref({}),h=E=>{var K;return(K=u.value)==null?void 0:K.$el.querySelector(`[data-rowid="${E.id}"]`)},c=E=>{const K={"data-testid":E.headerKey,...r.cellAttributes(E)};return E.colIndex===0&&(K.style={maxWidth:"250px",overflowX:"hidden",textOverflow:"ellipsis"}),K},f=E=>{_(E),a("state",E)},k=()=>{a("empty-state-cta-clicked"),R()},R=()=>{a("clear-search-input")},x=e.computed(()=>r.disableRowClick?void 0:(E,K)=>{a("click:row",K)}),w=E=>{a("sort",E)},{hideTableToolbar:L,handleStateChange:_}=C.composables.useTableState(()=>r.query),{setTablePreferences:I,getTablePreferences:j}=C.ft(),U=e.ref(j(l.value,r.defaultTablePreferences)),Q=e.computed(()=>{const E=j(l.value);return{...r.initialFetcherParams,...E}}),V=E=>{U.value=E,s.value.forEach(K=>{!("hidable"in K)||!U.value.columnVisibility||K.hidable===!1&&(U.value.columnVisibility[K.key]=!0)}),l.value&&I(l.value,E)},D=e.computed(()=>({disablePageJump:r.disablePaginationPageJump,offset:r.paginationType==="offset",...r.paginationAttributes}));return(E,K)=>{const ne=e.resolveComponent("KTableData"),X=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(X,{class:"kong-ui-entity-base-table",title:n.title,"title-tag":n.titleTag},{default:e.withCtx(()=>[e.createVNode(ne,{ref_key:"tableRefs",ref:u,"cache-identifier":l.value,"cell-attrs":c,"client-sort":n.enableClientSort,"empty-state-action-message":n.query?e.unref(m)("baseTable.emptyState.noSearchResultsCtaText"):n.emptyStateOptions.ctaText,"empty-state-action-route":n.query?void 0:n.emptyStateOptions.ctaPath,"empty-state-icon-variant":n.query?"search":"kong","empty-state-message":n.query?e.unref(m)("baseTable.emptyState.noSearchResultsMessage"):n.emptyStateOptions.message,"empty-state-title":n.query?e.unref(m)("baseTable.emptyState.noSearchResultsTitle"):n.emptyStateOptions.title,error:y.value.hasError,"error-state-message":y.value.message,"error-state-title":y.value.title,fetcher:n.fetcher,"fetcher-cache-key":String(n.fetcherCacheKey),headers:s.value,"hide-pagination":n.hidePagination,"hide-pagination-when-optional":n.hidePaginationWhenOptional,"hide-toolbar":n.hideToolbar??e.unref(L),"initial-fetcher-params":Q.value,loading:n.isLoading,"pagination-attributes":D.value,"resize-columns":"","row-attrs":p,"row-key":n.rowKey,"search-input":n.query,"sort-handler-function":n.enableClientSort?n.sortHandlerFunction:void 0,sortable:!n.disableSorting,"table-preferences":U.value,onEmptyStateActionClick:k,"onRow:click":x.value,onSort:K[0]||(K[0]=W=>w(W)),onState:f,"onUpdate:tablePreferences":V},e.createSlots({toolbar:e.withCtx(()=>[e.createElementVNode("div",to,[e.renderSlot(E.$slots,"toolbar-filter",{},void 0,!0),E.$slots["toolbar-button"]?(e.openBlock(),e.createElementBlock("div",no,[e.renderSlot(E.$slots,"toolbar-button",{},void 0,!0)])):e.createCommentVNode("",!0)])]),"action-items":e.withCtx(({row:W})=>[e.renderSlot(E.$slots,"actions",{row:W},void 0,!0)]),_:2},[E.$slots["empty-state"]?{name:"empty-state",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"empty-state",{},void 0,!0)]),key:"0"}:void 0,e.renderList(n.tableHeaders,(W,Z)=>({name:Z,fn:e.withCtx(({row:ie,rowValue:le})=>[e.createVNode(eo,{"key-name":String(Z),"row-el":h(ie),tooltip:W.tooltip},{default:e.withCtx(()=>[e.renderSlot(E.$slots,Z,{row:ie,rowKey:n.rowKey,rowValue:le},()=>[e.createTextVNode(e.toDisplayString(le),1)],!0)]),_:2},1032,["key-name","row-el","tooltip"])])})),n.query?void 0:{name:"empty-state-action-icon",fn:e.withCtx(()=>[e.createVNode(e.unref(ge.AddIcon))]),key:"1"}]),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"]),E.$slots["outside-actions"]&&e.unref(L)?(e.openBlock(),e.createElementBlock("div",oo,[e.renderSlot(E.$slots,"outside-actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3},8,["title","title-tag"])}}}),io=C._export_sfc(ro,[["__scopeId","data-v-09e101d4"]]),lo={key:0,class:"kong-ui-entity-delete-error"},ao={key:1,class:"description"},co=e.defineComponent({__name:"EntityDeleteModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:"Delete"},entityType:{type:String,required:!0},entityName:{type:String,default:""},entityTypeDisplay:{type:String,default:""},needConfirm:{type:Boolean,default:!0},description:{type:String,default:""},actionPending:{type:Boolean,default:!1},error:{type:String,default:""},confirmationPrompt:{type:String,default:""},stackedCopy:{type:Boolean,default:!1}},emits:["cancel","proceed"],setup(n,{emit:i}){const{i18nT:r}=C.composables.useI18n(),a=n,m=i,y=e.computed(()=>a.entityTypeDisplay.trim()!==""?a.entityTypeDisplay:a.entityType),l=e.computed(()=>a.needConfirm?a.entityName:""),s=()=>{m("cancel")},p=()=>{m("proceed")};return(u,h)=>{const c=e.resolveComponent("KAlert"),f=e.resolveComponent("KPrompt");return e.openBlock(),e.createBlock(f,{"action-button-appearance":"danger","action-button-disabled":n.actionPending,"action-button-text":"Yes, delete",class:e.normalizeClass(["kong-ui-entity-delete-modal",{"kong-ui-entity-delete-modal-stacked-copy":n.stackedCopy}]),"confirmation-prompt":n.confirmationPrompt||void 0,"confirmation-text":l.value,"data-testid":"entity-delete-modal",title:n.title,visible:n.visible,onCancel:s,onProceed:p},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["body",{"body-stacked-copy":n.stackedCopy}])},[n.error?(e.openBlock(),e.createElementBlock("div",lo,[e.createVNode(c,{appearance:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.error),1)]),_:1})])):e.createCommentVNode("",!0),e.renderSlot(u.$slots,"message",{},()=>[e.createVNode(e.unref(r),{class:"message",keypath:a.entityName?"deleteModal.messageWithName":"deleteModal.message",tag:"p"},e.createSlots({entityType:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value),1)]),_:2},[a.entityName?{name:"entityName",fn:e.withCtx(()=>[e.createElementVNode("strong",null,e.toDisplayString(a.entityName),1)]),key:"0"}:void 0]),1032,["keypath"])],!0),a.description||u.$slots.description?(e.openBlock(),e.createElementBlock("div",ao,[e.renderSlot(u.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(a.description),1)],!0)])):e.createCommentVNode("",!0)],2)]),_:3},8,["action-button-disabled","class","confirmation-prompt","confirmation-text","title","visible"])}}}),so=C._export_sfc(co,[["__scopeId","data-v-fc366e0c"]]),uo={fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},po={id:"mask0_180_20349",height:"20","mask-type":"alpha",maskUnits:"userSpaceOnUse",width:"20",x:"0",y:"0"},fo=["fill"],mo={mask:"url(#mask0_180_20349)"},yo=["fill"],it=e.defineComponent({__name:"IconFilter",props:{color:{type:String,default:`var(--kong-ui-entity-filter-color, ${Yt})`}},setup(n){return(i,r)=>(e.openBlock(),e.createElementBlock("svg",uo,[e.createElementVNode("mask",po,[e.createElementVNode("rect",{fill:n.color,height:"20",width:"20"},null,8,fo)]),e.createElementVNode("g",mo,[e.createElementVNode("path",{d:"M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",fill:n.color},null,8,yo)])]))}}),go={key:1,class:"kong-ui-entity-filter"},ho={class:"kong-ui-entity-filter-menu"},vo=["data-testid"],ko=["onClick","onKeydown"],Co={class:"menu-item-indicator"},bo={class:"menu-item-body"},So=["for"],Bo={class:"menu-item-buttons"},To={class:"filter-clear-button-container"},xo=e.defineComponent({__name:"EntityFilter",props:{config:{type:Object,required:!0,default:()=>({isExactMatch:!0,placeholder:""})},modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(n,{emit:i}){const{i18n:{t:r}}=C.composables.useI18n(),a=n,m=i,y=e.ref(!1),l=e.ref({}),s=e.ref(new Set),p=e.computed(()=>{const V=[];return new URLSearchParams(a.modelValue).forEach((D,E)=>{D!==""&&V.push(E)}),V}),u=e.computed(()=>{const V=a.config.fields;return Object.keys(V).filter(D=>{var E;return(E=V==null?void 0:V[D])==null?void 0:E.searchable}).map(D=>({label:V[D].label||D,value:D,expanded:!1}))});e.watch(()=>a.modelValue,V=>{l.value={},new URLSearchParams(V).forEach((D,E)=>{l.value[E]=D})});const h=()=>{y.value=!y.value},c=V=>{s.value.has(V)?s.value.delete(V):s.value.add(V)},f=V=>{m("update:modelValue",V)},k=()=>{f("")},R=V=>`filter-${V}`,x=V=>{var D,E;return(((E=(D=a.config.schema)==null?void 0:D[V])==null?void 0:E.values)??[]).map(K=>typeof K=="string"?{value:K,label:K}:K)},w=V=>{var D,E;return((E=(D=a.config.schema)==null?void 0:D[V])==null?void 0:E.type)??"text"},L=V=>{l.value={...l.value,[V]:""},I()},_=()=>{l.value={},I(!0)},I=(V=!1)=>{const D=Object.keys(l.value).reduce((E,K)=>(l.value[K]&&(E[K]=`${l.value[K]}`),E),{});V&&(y.value=!1),m("update:modelValue",new URLSearchParams(D).toString())},j=V=>{var D,E;return!!((E=(D=a.config.schema)==null?void 0:D[V])!=null&&E.filterFunction)},U=(V,D)=>{var K;const E=(K=a.config.schema)==null?void 0:K[V];return(E==null?void 0:E.filterFunction)===void 0?!0:E.filterFunction(D)},Q=(V,D)=>{l.value[V]=D?D.custom?String(D.label):String(D.value):""};return(V,D)=>{const E=e.resolveComponent("KInput"),K=e.resolveComponent("KButton"),ne=e.resolveComponent("KSelect");return n.config.isExactMatch?(e.openBlock(),e.createBlock(E,{key:0,autocomplete:"off",class:"kong-ui-entity-filter-input","data-testid":"search-input","model-value":n.modelValue,placeholder:n.config.placeholder,"onUpdate:modelValue":f},{before:e.withCtx(()=>[e.createVNode(it)]),after:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(ge.CloseIcon),{class:"kong-ui-entity-filter-clear",role:"button",tabindex:"0",onClick:k},null,512),[[e.vShow,n.modelValue!==""]])]),_:1},8,["model-value","placeholder"])):(e.openBlock(),e.createElementBlock("div",go,[e.createVNode(K,{appearance:"tertiary","data-testid":"filter-button",onClick:h},{default:e.withCtx(()=>[e.createVNode(it),e.createTextVNode(" "+e.toDisplayString(e.unref(r)("filter.filterButtonText"))+" "+e.toDisplayString(p.value.length>0?`(${p.value.length})`:""),1)]),_:1}),e.withDirectives(e.createElementVNode("div",{class:"kong-ui-entity-filter-backdrop",onClick:h},null,512),[[e.vShow,y.value]]),e.withDirectives(e.createElementVNode("div",ho,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,X=>{var W,Z,ie,le;return e.openBlock(),e.createElementBlock("div",{key:X.value,class:"kong-ui-entity-filter-menu-item","data-testid":X.value},[e.createElementVNode("span",{class:e.normalizeClass(["menu-item-title",{expanded:s.value.has(X.value)}]),role:"button",tabindex:"0",onClick:fe=>c(X.value),onKeydown:e.withKeys(fe=>c(X.value),["enter"])},[e.createTextVNode(e.toDisplayString(X.label)+" ",1),e.withDirectives(e.createElementVNode("span",Co,null,512),[[e.vShow,p.value.includes(X.value)]]),e.createVNode(e.unref(ge.ChevronDownIcon),{class:e.normalizeClass(["menu-item-expand-icon",{expanded:s.value.has(X.value)}]),color:`var(--kui-color-text-neutral-weak, ${e.unref(Jt)})`},null,8,["class","color"])],42,ko),e.withDirectives(e.createElementVNode("div",bo,[e.createElementVNode("label",{class:"menu-item-label",for:R(X.value)},e.toDisplayString(e.unref(r)("filter.fieldLabel")),9,So),((Z=(W=n.config.schema)==null?void 0:W[X.value])==null?void 0:Z.type)==="select"?(e.openBlock(),e.createBlock(ne,{key:0,id:R(X.value),"enable-filtering":j(X.value),"enable-item-creation":(le=(ie=n.config.schema)==null?void 0:ie[X.value])==null?void 0:le.enableItemCreation,"filter-function":fe=>U(X.value,fe),items:x(X.value),"model-value":l.value[X.value],placeholder:e.unref(r)("filter.selectPlaceholder"),onChange:fe=>Q(X.value,fe)},null,8,["id","enable-filtering","enable-item-creation","filter-function","items","model-value","placeholder","onChange"])):(e.openBlock(),e.createBlock(E,{key:1,id:R(X.value),modelValue:l.value[X.value],"onUpdate:modelValue":fe=>l.value[X.value]=fe,autocomplete:"off",placeholder:e.unref(r)("filter.inputPlaceholder"),type:w(X.value)},null,8,["id","modelValue","onUpdate:modelValue","placeholder","type"]))],512),[[e.vShow,s.value.has(X.value)]]),e.withDirectives(e.createElementVNode("div",Bo,[e.createVNode(K,{appearance:"tertiary","data-testid":"apply-filter",size:"small",onClick:D[0]||(D[0]=fe=>I(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("filter.applyButtonText")),1)]),_:1}),e.createVNode(K,{appearance:"tertiary","data-testid":"clear-filter",size:"small",onClick:fe=>L(X.value)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("filter.clearButtonText")),1)]),_:1},8,["onClick"])],512),[[e.vShow,s.value.has(X.value)]])],8,vo)}),128)),e.createElementVNode("div",To,[e.createVNode(K,{appearance:"tertiary",size:"small",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("filter.clearAllButtonText")),1)]),_:1})])],512),[[e.vShow,y.value]])]))}}}),wo=C._export_sfc(xo,[["__scopeId","data-v-3ece8659"]]),Eo=e.defineComponent({__name:"EntityToggleModal",props:{visible:{type:Boolean,required:!0},action:{type:String,required:!0},entityId:{type:String,required:!0},entityType:{type:String,required:!0},entityName:{type:String,required:!0},onConfirm:{type:Function,required:!1,default:null}},emits:["cancel","proceed"],setup(n,{emit:i}){const{i18n:{t:r},i18nT:a}=C.composables.useI18n(),m=n,y=i,l=e.ref(!1),s=e.computed(()=>m.action==="enable"?r("toggleModal.enable.title",{entityType:m.entityType}):r("toggleModal.disable.title",{entityType:m.entityType})),p=e.computed(()=>m.action==="enable"?r("toggleModal.enable.confirmText"):r("toggleModal.disable.confirmText")),u=()=>y("cancel"),h=async()=>{if(m.onConfirm){l.value=!0;try{await m.onConfirm(),y("proceed")}catch(c){console.error(c)}finally{l.value=!1}}};return(c,f)=>{const k=e.resolveComponent("KPrompt");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(k,{"action-button-disabled":l.value,"action-button-text":p.value,"data-testid":`${n.entityType}-${n.entityId}-toggle-prompt`,title:s.value,visible:n.visible,onCancel:u,onProceed:h},{default:e.withCtx(()=>[e.createVNode(e.unref(a),{keypath:`toggleModal.${m.action}.message`,scope:"global"},{entityType:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.entityType),1)]),entityName:e.withCtx(()=>[e.createElementVNode("strong",null,e.toDisplayString(n.entityName),1)]),_:1},8,["keypath"])]),_:1},8,["action-button-disabled","action-button-text","data-testid","title","visible"])])}}}),Ao=e.defineComponent({__name:"PermissionsWrapper",props:{authFunction:{type:Function,required:!0,default:async()=>!0},forceShow:{type:Boolean,default:!1}},setup(n){const i=n,r=e.ref(void 0),a=e.computed(()=>r.value===!0||r.value!==void 0&&i.forceShow===!0);return e.watch(()=>i.authFunction,async()=>{r.value=await i.authFunction()},{immediate:!0}),(m,y)=>a.value?e.renderSlot(m.$slots,"default",{key:0,isAllowed:r.value}):e.createCommentVNode("",!0)}}),ye=[];for(let n=0;n<256;++n)ye.push((n+256).toString(16).slice(1));function _o(n,i=0){return(ye[n[i+0]]+ye[n[i+1]]+ye[n[i+2]]+ye[n[i+3]]+"-"+ye[n[i+4]]+ye[n[i+5]]+"-"+ye[n[i+6]]+ye[n[i+7]]+"-"+ye[n[i+8]]+ye[n[i+9]]+"-"+ye[n[i+10]]+ye[n[i+11]]+ye[n[i+12]]+ye[n[i+13]]+ye[n[i+14]]+ye[n[i+15]]).toLowerCase()}const No=new Uint8Array(16);function $o(){return crypto.getRandomValues(No)}function Io(n,i,r){return crypto.randomUUID?crypto.randomUUID():Oo(n)}function Oo(n,i,r){var m;n=n||{};const a=n.random??((m=n.rng)==null?void 0:m.call(n))??$o();if(a.length<16)throw new Error("Random bytes length must be >= 16");return a[6]=a[6]&15|64,a[8]=a[8]&63|128,_o(a)}const Vo=["aria-labelledby"],Do={class:"form-section-wrapper"},Ro={key:1,class:"form-section-description"},Ko={key:2,class:"form-section-footer"},Lo={class:"form-section-content"},Fo=e.defineComponent({__name:"EntityFormSection",props:{title:{type:String,default:""},description:{type:String,default:""},hasDivider:{type:Boolean,default:!1},stickyInfoHeader:{type:Boolean,default:!0},hideInfoHeader:{type:Boolean,default:!1},titleTag:{type:String,default:"h2"}},setup(n){const i=e.useSlots(),r=Io();return(a,m)=>(e.openBlock(),e.createElementBlock("div",{"aria-labelledby":n.title?e.unref(r):void 0,class:e.normalizeClass(["kong-ui-entity-form-section",{"has-divider":n.hasDivider}]),role:"group"},[e.createElementVNode("div",Do,[n.hideInfoHeader?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["form-section-info",{sticky:n.stickyInfoHeader}])},[n.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.titleTag),{key:0,id:e.unref(r),class:"form-section-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:1},8,["id"])):e.createCommentVNode("",!0),n.description||e.unref(i).description?(e.openBlock(),e.createElementBlock("div",Ro,[e.renderSlot(a.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(n.description),1)],!0)])):e.createCommentVNode("",!0),e.unref(i).footer?(e.openBlock(),e.createElementBlock("div",Ko,[e.renderSlot(a.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2)),e.createElementVNode("div",Lo,[e.renderSlot(a.$slots,"default",{},void 0,!0)])])],10,Vo))}}),Mo=C._export_sfc(Fo,[["__scopeId","data-v-ccd29028"]]),Po={class:"header"},qo={key:0,class:"step","data-testid":"form-block-step"},jo={class:"header-content"},Uo={class:"header-title","data-testid":"header-title"},zo={key:0,class:"header-description","data-testid":"header-description"},Ho={key:1,class:"header-extra","data-testid":"header-extra"},Yo={class:"content","data-testid":"form-block-content"},Go=e.defineComponent({__name:"EntityFormBlock",props:{step:{default:()=>{}},title:{default:""},description:{default:""}},setup(n){const i=e.useSlots();return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-entity-form-block",{stepped:n.step!==void 0||i.step}])},[e.createElementVNode("header",Po,[n.step!==void 0||i.step?(e.openBlock(),e.createElementBlock("div",qo,[e.renderSlot(r.$slots,"step",{},()=>[e.createTextVNode(e.toDisplayString(n.step),1)],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",jo,[e.createElementVNode("h2",Uo,[e.renderSlot(r.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),n.description||i.description?(e.openBlock(),e.createElementBlock("div",zo,[e.renderSlot(r.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)])):e.createCommentVNode("",!0)]),i.extra?(e.openBlock(),e.createElementBlock("div",Ho,[e.renderSlot(r.$slots,"extra",{},void 0,!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Yo,[e.renderSlot(r.$slots,"default",{},void 0,!0)])],2))}}),Wo=C._export_sfc(Go,[["__scopeId","data-v-8e48a559"]]),Jo={class:"kong-ui-public-entity-link","data-testid":"entity-link-parent"},Qo={key:0,class:"deleted-entity"},Xo={key:1},Zo=["onClick"],er=e.defineComponent({__name:"EntityLink",props:{entityLinkData:{type:Object,required:!0},externalLink:{type:String,required:!1,default:""},newWindow:{type:Boolean,required:!1,default:!1},allowCopy:{type:Boolean,required:!1,default:!1}},setup(n){const i=n,r=e.ref(),{isTruncated:a}=C.composables.useTruncationDetector(r),{i18n:{t:m}}=C.composables.useI18n(),y=m("global.actions.copyId"),l=e.ref(y),s=e.computed(()=>i.entityLinkData.deleted??!1),p=e.computed(()=>{var c;return(c=i.entityLinkData.id)!=null&&c.toString().includes(":")?i.entityLinkData.id.toString().split(":")[1]:i.entityLinkData.id}),u=e.computed(()=>{var c;return`${(c=p.value)==null?void 0:c.toString().slice(0,5)} (deleted)`}),h=async c=>{await c(p.value||"")&&(l.value=m("global.actions.copyToClipboard"),setTimeout(()=>{l.value=y},1800))};return(c,f)=>{const k=e.resolveComponent("KTooltip"),R=e.resolveComponent("KExternalLink"),x=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Jo,[s.value?(e.openBlock(),e.createElementBlock("div",Qo,e.toDisplayString(u.value),1)):p.value?p.value?(e.openBlock(),e.createBlock(R,{key:2,class:"entity-link","hide-icon":!n.newWindow,href:n.externalLink,target:n.newWindow?"_blank":"_self"},{default:e.withCtx(()=>[e.createVNode(k,{text:e.unref(a)&&n.entityLinkData.label||""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"textContent",ref:r,class:"entity-link-label"},e.toDisplayString(n.entityLinkData.label),513)]),_:1},8,["text"])]),_:1},8,["hide-icon","href","target"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Xo,e.toDisplayString(" – "))),p.value&&n.allowCopy?(e.openBlock(),e.createBlock(k,{key:l.value,class:"copy-uuid-tooltip","max-width":"160",placement:"bottom-end",text:l.value},{default:e.withCtx(()=>[e.createVNode(x,null,{default:e.withCtx(({copyToClipboard:w})=>[e.createElementVNode("span",{class:"entity-link-copy-id",onClick:e.withModifiers(L=>h(w),["stop"])},[e.createVNode(e.unref(ge.CopyIcon),{class:"copy-icon",color:`var(--kui-color-text-primary, ${e.unref(Qt)})`,"data-testid":"copy-id",size:`var(--kui-icon-size-30, ${e.unref(Zt)})`},null,8,["color","size"])],8,Zo)]),_:1})]),_:1},8,["text"])):e.createCommentVNode("",!0)])}}}),tr=C._export_sfc(er,[["__scopeId","data-v-6668aea9"]]),nr={class:"kong-ui-public-entity-empty-state"},or={class:"entity-empty-state-content"},rr={key:0,class:"empty-state-image"},ir={key:1,class:"entity-empty-state-title"},lr={key:2,class:"entity-empty-state-description"},ar={key:3,class:"entity-empty-state-pricing"},cr={key:0,class:"entity-empty-state-message"},sr={key:1,class:"entity-empty-state-action"},ur={key:2,class:"entity-empty-state-card-container"},dr={key:0,class:"feature-icon"},pr={class:"card-header"},fr=["title"],mr={key:3,class:"entity-empty-state-bottom-container"},yr=e.defineComponent({__name:"EntityEmptyState",props:{appearance:{type:String,default:()=>"primary",validator:n=>Ye.includes(n)},title:{type:String,default:""},description:{type:String,default:""},pricing:{type:String,default:""},canCreate:{type:Function,required:!1,default:async()=>!0},actionButtonText:{type:String,default:""},learnMore:{type:Boolean,default:!1},features:{type:Array,default:()=>[]}},emits:["click:create","click:learn-more"],setup(n){const i=n,{i18n:{t:r}}=C.composables.useI18n(),a=e.ref(!1),m=e.computed(()=>a.value&&!!i.actionButtonText),y=e.computed(()=>Ye.includes(i.appearance)?i.appearance:["primary",i.appearance]);return e.onBeforeMount(async()=>{a.value=await i.canCreate()}),e.onMounted(()=>e.warn(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
69
+ '@ | ${_}`)}),(_,I)=>{const j=e.resolveComponent("KSelect"),U=e.resolveComponent("KBadge"),Q=e.resolveComponent("KCodeBlock"),V=e.resolveComponent("KAlert"),D=e.resolveComponent("KButton");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"deck-config config-card-code-block"},_.$attrs),[e.createVNode(j,{modelValue:c.value,"onUpdate:modelValue":I[0]||(I[0]=E=>c.value=E),items:h},{"item-template":e.withCtx(({item:E})=>[E.value==="powershell"?(e.openBlock(),e.createBlock(e.unref(ge.LanguageShellIcon),{key:0})):(e.openBlock(),e.createBlock(e.unref(ge.LanguageBashIcon),{key:1})),e.createTextVNode(" "+e.toDisplayString(E.label),1)]),"selected-item-template":e.withCtx(({item:E})=>[E.value==="powershell"?(e.openBlock(),e.createBlock(e.unref(ge.LanguageShellIcon),{key:0})):(e.openBlock(),e.createBlock(e.unref(ge.LanguageBashIcon),{key:1})),e.createTextVNode(" "+e.toDisplayString(E.label),1)]),_:1},8,["modelValue"]),e.createElementVNode("div",$n,e.toDisplayString(e.unref(y)("deckCodeBlock.steps.step_1")),1),n.isCustomizing?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(m),{key:0,"data-testid":`deck-hint-${n.app}`,keypath:`deckCodeBlock.hint.${n.app}`,tag:"p"},e.createSlots({link:e.withCtx(()=>[e.createVNode(e.unref(xe.KExternalLink),{href:n.app==="konnect"?"https://developer.konghq.com/deck/get-started/":"https://developer.konghq.com/deck/gateway/configuration/"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).t("deckCodeBlock.documentation")),1)]),_:1},8,["href"])]),_:2},[n.app==="konnect"?{name:"token",fn:e.withCtx(()=>[e.createVNode(U,null,{default:e.withCtx(()=>[...I[4]||(I[4]=[e.createTextVNode("DECK_KONNECT_TOKEN",-1)])]),_:1})]),key:"0"}:void 0]),1032,["data-testid","keypath"])),n.app==="konnect"?(e.openBlock(),e.createBlock(Q,{key:1,id:"deck-env-codeblock",class:e.normalizeClass({customization:r.isCustomizing}),code:w.value,language:c.value,"single-line":"",theme:n.isCustomizing?"light":"dark",onCodeBlockRender:e.unref(Be)},null,8,["class","code","language","theme","onCodeBlockRender"])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createBlock(V,{key:2,class:"copy-konnect-pat-alert"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("deckCodeBlock.customization.copy_pat")),1)]),_:1})):r.isCustomizing&&r.generateKonnectPat?(e.openBlock(),e.createElementBlock("div",In,[e.createVNode(D,{appearance:"secondary","data-testid":"generate-konnect-pat-button",onClick:I[1]||(I[1]=E=>u.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("deckCodeBlock.customization.generate_pat")),1)]),_:1}),e.createElementVNode("div",null,e.toDisplayString(e.unref(y)("deckCodeBlock.customization.reuse_pat")),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",On,e.toDisplayString(e.unref(y)("deckCodeBlock.steps.step_2")),1),r.entityRecord&&!r.isCustomizing?(e.openBlock(),e.createBlock(Q,{key:4,id:"deck-codeblock",class:e.normalizeClass({customization:r.isCustomizing}),code:s.value,"copy-code":p.value,"data-dd-privacy":"mask",language:c.value,theme:n.isCustomizing?"light":"dark",onCodeBlockRender:e.unref(Be)},null,8,["class","code","copy-code","language","theme","onCodeBlockRender"])):r.entityRecord&&r.isCustomizing&&e.unref(i)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createElementVNode("div",Vn,e.toDisplayString(e.unref(y)("deckCodeBlock.customization.secret_advise")),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)),{modelValue:p.value,"onUpdate:modelValue":I[2]||(I[2]=E=>p.value=E),language:c.value},null,8,["modelValue","language"])),e.createVNode(V,{class:"customization-footer-reminder"},{icon:e.withCtx(()=>[e.createVNode(e.unref(ge.InfoIcon))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(e.unref(y)("deckCodeBlock.customization.footer_reminder")),1)]),_:1})],64)):e.createCommentVNode("",!0)],16),r.isCustomizing&&r.generateKonnectPat?(e.openBlock(),e.createBlock(Nt,{key:0,"generate-konnect-pat":r.generateKonnectPat,visible:u.value,onDismiss:I[3]||(I[3]=E=>u.value=!1),onGenerated:L},null,8,["generate-konnect-pat","visible"])):e.createCommentVNode("",!0)],64)}}}),rt=C._export_sfc(Dn,[["__scopeId","data-v-991fe861"]]),Ze=e.defineComponent({inheritAttrs:!1,__name:"DeckCodeBlock",props:{app:{},entityRecord:{},unredactedRecord:{},entityType:{},geoApiServerUrl:{},controlPlaneName:{},kongAdminApiUrl:{},workspace:{},customizationOptions:{type:[Boolean,Object]},isCustomizationModalVisible:{type:Boolean}},emits:["customization-close"],setup(n){const i=n,{i18n:{t:r}}=C.composables.useI18n(),a=e.computed(()=>{if(i.app==="konnect"&&i.customizationOptions&&typeof i.customizationOptions!="boolean")return i.customizationOptions.generateKonnectPat});return(m,y)=>{const l=e.resolveComponent("KModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[i.entityRecord?(e.openBlock(),e.createBlock(rt,e.mergeProps({key:0},m.$attrs,{app:i.app,"control-plane-name":i.app==="konnect"?i.controlPlaneName:void 0,"entity-record":i.entityRecord,"entity-type":i.entityType,"geo-api-server-url":i.app==="konnect"?i.geoApiServerUrl:void 0,"kong-admin-api-url":i.app==="kongManager"?i.kongAdminApiUrl:void 0,"unredacted-record":i.unredactedRecord,workspace:i.workspace||void 0}),null,16,["app","control-plane-name","entity-record","entity-type","geo-api-server-url","kong-admin-api-url","unredacted-record","workspace"])):e.createCommentVNode("",!0),i.entityRecord?(e.openBlock(),e.createBlock(l,{key:1,"action-button-appearance":"tertiary","action-button-text":e.unref(r)("baseConfigCard.actions.deck_customize_cancel"),"hide-cancel-button":"","max-width":"640px",title:e.unref(r)("deckCodeBlock.customization.title"),visible:i.isCustomizationModalVisible,onCancel:y[0]||(y[0]=s=>m.$emit("customization-close")),onProceed:y[1]||(y[1]=s=>m.$emit("customization-close"))},{default:e.withCtx(()=>[e.createVNode(rt,{app:i.app,"control-plane-name":i.app==="konnect"?i.controlPlaneName:void 0,"entity-record":i.entityRecord,"entity-type":i.entityType,"generate-konnect-pat":a.value,"geo-api-server-url":i.app==="konnect"?i.geoApiServerUrl:void 0,"is-customizing":"","kong-admin-api-url":i.app==="kongManager"?i.kongAdminApiUrl:void 0,"unredacted-record":i.unredactedRecord,workspace:i.workspace||void 0},null,8,["app","control-plane-name","entity-record","entity-type","generate-konnect-pat","geo-api-server-url","kong-admin-api-url","unredacted-record","workspace"])]),_:1},8,["action-button-text","title","visible"])):e.createCommentVNode("",!0)],64)}}}),Rn={key:0,class:"config-card-display-form"},Kn=["data-testid"],Ln={key:0,class:"config-card-prop-section-title"},Fn=e.defineComponent({__name:"ConfigCardDisplay",props:{config:{type:Object,required:!1,default:()=>({})},entityType:{type:String,required:!0,validator:n=>C.SupportedEntityTypesArray.includes(n)},subEntityType:{type:String,default:""},propertyCollections:{type:Object,required:!1,default:()=>null},format:{type:String,required:!1,default:"structured",validator:n=>C.CONFIG_CARD_FORMATS.includes(n)},propListTypes:{type:Array,required:!1,default:()=>[]},record:{type:Object,required:!1,default:()=>({})},codeBlockRecord:{type:Object,default:void 0},codeBlockRecordRedacted:{type:Object,default:void 0},preserveCodeBlockTimestamps:{type:Boolean,default:!1},fetcherUrl:{type:String,required:!1,default:""},codeBlockRecordFormatter:{type:Function,required:!1,default:n=>n},isDeckCustomizationVisible:{type:Boolean,required:!1,default:!1}},emits:["deck-customization:close","request-deck-format"],setup(n){const i=n,r=e.useSlots(),{i18n:{t:a}}=C.composables.useI18n(),m=f=>!!(f.tooltip||r[`${f.key}-label-tooltip`]),y=f=>{if(f==null)return;let k=JSON.parse(JSON.stringify(f));return i.codeBlockRecordFormatter&&(k=i.codeBlockRecordFormatter(k,i.format)),i.preserveCodeBlockTimestamps||(delete k.created_at,delete k.updated_at),k},l=e.computed(()=>y(i.codeBlockRecordRedacted||i.codeBlockRecord||i.record)),s=e.computed(()=>y(i.codeBlockRecord||i.record)),p=e.computed(()=>i.fetcherUrl.replace(/(\?|&)__ui_data=true/,"")),{isDeckEnabled:u,deckCustomizationOptions:h,deckCalloutPreferenceKey:c}=C.composables.useBaseEntityDeckOptions(()=>i.config,()=>i.entityType);return(f,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.format==="structured"?(e.openBlock(),e.createElementBlock("div",Rn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.propListTypes,R=>(e.openBlock(),e.createElementBlock("div",{key:`config-card-details-${R}-props`,class:e.normalizeClass(`config-card-details-${R}-props`),"data-testid":`config-card-details-${R}-props`},[R!=="basic"?(e.openBlock(),e.createElementBlock("div",Ln,e.toDisplayString(R==="advanced"?e.unref(a)("baseConfigCard.sections.advanced"):R==="plugin"?e.unref(a)("baseConfigCard.sections.plugin"):e.unref(a)("baseConfigCard.sections.policy")),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.propertyCollections[R],x=>e.renderSlot(f.$slots,`config-card-item-${x.key}`,{row:x},()=>[(e.openBlock(),e.createBlock(Ge,{key:x.key,item:x},e.createSlots({label:e.withCtx(()=>[e.renderSlot(f.$slots,`${x.key}-label`,{row:x},void 0,!0)]),[x.key]:e.withCtx(({rowValue:w})=>[e.renderSlot(f.$slots,x.key,{row:x,rowValue:w},void 0,!0)]),_:2},[m(x)?{name:"label-tooltip",fn:e.withCtx(()=>[e.renderSlot(f.$slots,`${x.key}-label-tooltip`,{row:x},void 0,!0)]),key:"0"}:void 0]),1032,["item"]))],!0)),256))],10,Kn))),128))])):e.createCommentVNode("",!0),n.format==="json"&&l.value?(e.openBlock(),e.createBlock(We,{key:1,config:i.config,"entity-record":l.value,"fetcher-url":p.value,"request-method":"get","unredacted-record":s.value},null,8,["config","entity-record","fetcher-url","unredacted-record"])):e.createCommentVNode("",!0),n.format==="yaml"&&l.value?(e.openBlock(),e.createBlock(Qe,{key:2,"deck-callout-preference-key":e.unref(u)?e.unref(c):void 0,"entity-record":l.value,"unredacted-record":s.value,"onDeckCallout:clickCta":k[0]||(k[0]=R=>f.$emit("request-deck-format"))},null,8,["deck-callout-preference-key","entity-record","unredacted-record"])):e.createCommentVNode("",!0),n.format==="terraform"&&l.value?(e.openBlock(),e.createBlock(Xe,{key:3,"entity-record":l.value,"entity-type":i.entityType,"sub-entity-type":i.subEntityType,"unredacted-record":s.value},null,8,["entity-record","entity-type","sub-entity-type","unredacted-record"])):e.createCommentVNode("",!0),n.format==="deck"&&l.value?(e.openBlock(),e.createBlock(Ze,{key:4,app:n.config.app,"control-plane-name":n.config.app==="konnect"?n.config.controlPlaneName:void 0,"customization-options":e.unref(h),"entity-record":l.value,"entity-type":i.entityType,"geo-api-server-url":n.config.app==="konnect"?n.config.geoApiServerUrl:void 0,"is-customization-modal-visible":n.isDeckCustomizationVisible,"kong-admin-api-url":n.config.app==="kongManager"?n.config.apiBaseUrl:void 0,"unredacted-record":s.value,workspace:n.config.workspace||void 0,onCustomizationClose:k[1]||(k[1]=R=>f.$emit("deck-customization:close"))},null,8,["app","control-plane-name","customization-options","entity-record","entity-type","geo-api-server-url","is-customization-modal-visible","kong-admin-api-url","unredacted-record","workspace"])):e.createCommentVNode("",!0)],64))}}),$t=C._export_sfc(Fn,[["__scopeId","data-v-83075649"]]),Mn={class:"config-card-title","data-testid":"config-card-title"},Pn={class:"config-card-actions"},qn={class:"row"},jn=["href"],Un={class:"config-card-details-section"},zn={key:0,class:"config-card-details-after"},Hn=e.defineComponent({__name:"EntityBaseConfigCard",props:{config:{type:Object,required:!0,validator:n=>!(!n||!["konnect","kongManager"].includes(n==null?void 0:n.app)||n.app==="kongManager"&&typeof n.workspace!="string"||!n.entityId)},configSchema:{type:Object,required:!1,default:()=>({})},entityType:{type:String,required:!0,validator:n=>C.SupportedEntityTypesArray.includes(n)},subEntityType:{type:String,default:""},pluginConfigKey:{type:String,required:!1,default:""},pluginConfigSchema:{type:Object,required:!1,default:()=>({})},policyConfigKey:{type:String,required:!1,default:""},policyConfigSchema:{type:Object,required:!1,default:()=>({})},fetchUrl:{type:String,required:!0},dataKey:{type:String,required:!1,default:""},recordResolver:{type:Function,required:!1,default:n=>n},codeBlockRecordFormatter:{type:Function,required:!1,default:n=>n},codeBlockRecordResolver:{type:Function,required:!1,default:void 0},preserveCodeBlockTimestamps:{type:Boolean,required:!1,default:!1},hideTitle:{type:Boolean,default:!1},label:{type:String,default:"Format: ",required:!1},configCardDoc:{type:String,default:"",required:!1},titleTag:{type:String,default:"h2"},formatsToHide:{type:Array,required:!1,default:()=>[]}},emits:["loading","fetch:success","fetch:error","configFormatChange"],setup(n,{emit:i}){var P;const r=i,a=n,m=new Set(["after-fields"]),{i18n:{t:y}}=C.composables.useI18n(),{getMessageFromError:l}=C.composables.useErrors(),{convertKeyToTitle:s}=C.composables.useStringHelpers();C.composables.useSubSchema(a.pluginConfigKey);const{axiosInstance:p}=C.composables.useAxios((P=a.config)==null?void 0:P.axiosRequestConfig),u=e.useSlots(),h=e.ref(!1),c=e.computed(()=>Object.keys(u).filter(F=>!m.has(F))),f=e.computed(()=>!!u["after-fields"]),{isDeckEnabled:k,deckCustomizationOptions:R}=C.composables.useBaseEntityDeckOptions(()=>a.config,()=>a.entityType),x=e.computed(()=>{const F=[{label:y("baseConfigCard.general.structuredFormat"),value:"structured",selected:!0},{label:y("baseForm.configuration.json"),value:"json"},{label:y("baseForm.configuration.yaml"),value:"yaml"}];a.config.app==="konnect"&&F.splice(2,0,{label:y("baseForm.configuration.terraform"),value:"terraform"}),k.value&&F.push({label:y("baseForm.configuration.deck"),value:"deck"});const H=new Set(a.formatsToHide);return F.filter(J=>J.value==="structured"||!H.has(J.value))}),w=e.ref("structured"),L=F=>{w.value=F==null?void 0:F.value,r("configFormatChange",w.value)},_=(F,H)=>{localStorage.setItem(F,H)};e.watch(w,F=>{a.config.formatPreferenceKey&&_(a.config.formatPreferenceKey,F)}),e.onMounted(()=>{var F;if(a.config.formatPreferenceKey){const H=localStorage.getItem(a.config.formatPreferenceKey),J=x.value;H&&J.some(se=>se.value===H)?w.value=H:w.value=((F=J[0])==null?void 0:F.value)??"structured",_(a.config.formatPreferenceKey,w.value)}});const I={id:{type:C.ConfigurationSchemaType.ID,label:y("baseConfigCard.commonFields.id_label"),order:0,section:C.ConfigurationSchemaSection.Basic},name:{order:1,section:C.ConfigurationSchemaSection.Basic},enabled:{type:C.ConfigurationSchemaType.BadgeStatus,order:2,section:C.ConfigurationSchemaSection.Basic},updated_at:{type:C.ConfigurationSchemaType.Date,label:y("baseConfigCard.commonFields.updated_at_label"),order:3,section:C.ConfigurationSchemaSection.Basic},created_at:{type:C.ConfigurationSchemaType.Date,label:y("baseConfigCard.commonFields.created_at_label"),order:4,section:C.ConfigurationSchemaSection.Basic},tags:{type:C.ConfigurationSchemaType.BadgeTag,order:-1,section:C.ConfigurationSchemaSection.Basic},labels:{type:C.ConfigurationSchemaType.BadgeTag,order:-1,section:C.ConfigurationSchemaSection.Basic},partials:{type:C.ConfigurationSchemaType.LinkInternal,label:y("baseConfigCard.commonFields.partial_label"),order:-1,section:C.ConfigurationSchemaSection.Basic}},j=e.ref(!1),U=e.ref(!1),Q=e.ref(""),V=e.ref({}),D=e.ref(null),E=e.computed(()=>{if(!(!a.codeBlockRecordResolver||D.value==null))return a.codeBlockRecordResolver(D.value)}),K=e.ref(!1),ne=e.computed(()=>{var H;const F={...E.value||V.value};for(const J in F)((H=a.configSchema[J])==null?void 0:H.type)===C.ConfigurationSchemaType.Redacted&&(F[J]="********");return a.codeBlockRecordResolver?a.codeBlockRecordResolver(F):F}),X=e.computed(()=>{var J,se,me;if(!V.value)return[];const F=[],H=Object.keys(V.value).length;for(const ee in V.value){if(ee==="__ui_data")continue;const G=(se=(J=a.configSchema)==null?void 0:J[ee])==null?void 0:se.order,ae=(me=I[ee])==null?void 0:me.order;let te=H;(ae||ae===0)&&(te=ae===-1?H+1:ae),G&&(te=G===-1?H+1:G),F.push([ee,te])}return F.sort(function(ee,G){return ee[1]-G[1]}),F.map(ee=>{var ve,ke;const G=ee[0],ae=(ve=V.value)==null?void 0:ve[G],te=((ke=a.configSchema)==null?void 0:ke[G])||{},oe=I[G];return{key:G,value:ae,hidden:te.hidden||!1,type:te.type??((oe==null?void 0:oe.type)||C.ConfigurationSchemaType.Text),label:te.label??((oe==null?void 0:oe.label)||s(G)),tooltip:te.tooltip??((oe==null?void 0:oe.tooltip)||void 0),section:te.section??((oe==null?void 0:oe.section)||C.ConfigurationSchemaSection.Advanced)}}).filter(ee=>!ee.hidden&&ee.key!==a.pluginConfigKey)}),W=e.computed(()=>{var se,me;if(!V.value||!a.pluginConfigKey)return[];const F=V.value[a.pluginConfigKey]||{},H=Object.keys(F).length,J=[];for(const ee in F){const G=(me=(se=a.pluginConfigSchema)==null?void 0:se[ee])==null?void 0:me.order,ae=F[ee];let te=ae!=null&&ae!==""?H-1:H;G&&(te=G===-1?H+1:G),J.push([ee,te])}return J.sort(function(ee,G){return ee[1]-G[1]}),J.map(ee=>{var oe;const G=ee[0],ae=F[G],te=((oe=a.pluginConfigSchema)==null?void 0:oe[G])||{};return{key:G,value:ae,hidden:te.hidden||!1,type:te.type??C.ConfigurationSchemaType.Text,label:te.label??s(G),tooltip:te.tooltip??void 0,section:C.ConfigurationSchemaSection.Plugin}}).filter(ee=>!ee.hidden)}),Z=e.computed(()=>{var se,me;if(!V.value||!a.policyConfigKey)return[];const F=V.value[a.policyConfigKey]||{},H=Object.keys(F).length,J=[];for(const ee in F){const G=(me=(se=a.policyConfigSchema)==null?void 0:se[ee])==null?void 0:me.order,ae=F[ee];let te=ae!=null&&ae!==""?H-1:H;G&&(te=G===-1?H+1:G),J.push([ee,te])}return J.sort(function(ee,G){return ee[1]-G[1]}),J.map(ee=>{var oe;const G=ee[0],ae=F[G],te=((oe=a.policyConfigSchema)==null?void 0:oe[G])||{};return{key:G,value:ae,hidden:te.hidden||!1,type:te.type??C.ConfigurationSchemaType.Text,label:te.label??s(G),tooltip:te.tooltip??void 0,section:C.ConfigurationSchemaSection.Policy}}).filter(ee=>!ee.hidden)}),ie=e.computed(()=>{var F,H,J,se,me,ee;return{basic:(F=X.value)==null?void 0:F.filter(G=>G.section===C.ConfigurationSchemaSection.Basic),advanced:(H=X.value)==null?void 0:H.filter(G=>G.section===C.ConfigurationSchemaSection.Advanced),plugin:(se=W.value)==null?void 0:se.concat((J=X.value)==null?void 0:J.filter(G=>G.section===C.ConfigurationSchemaSection.Plugin)),policy:(ee=Z.value)==null?void 0:ee.concat((me=X.value)==null?void 0:me.filter(G=>G.section===C.ConfigurationSchemaSection.Policy))}}),le=e.computed(()=>{const F=[];return ie.value.basic.length&&F.push("basic"),ie.value.advanced.length&&F.push("advanced"),ie.value.plugin.length&&F.push("plugin"),ie.value.policy.length&&F.push("policy"),F}),fe=e.computed(()=>{var H,J;let F=`${a.config.apiBaseUrl}${a.fetchUrl}`;return a.config.app==="konnect"&&(F=F.replace(/{controlPlaneId}/gi,((H=a.config)==null?void 0:H.controlPlaneId)||"")),F.replace(/\/{workspace}/gi,(J=a.config)!=null&&J.workspace?`/${a.config.workspace}`:"").replace(/{id}/gi,a.config.entityId)});return e.watch(j,F=>{r("loading",F)},{immediate:!0}),e.onBeforeMount(async()=>{U.value=!1,j.value=!0;try{const{data:F}=await p.get(fe.value);if(D.value=F,a.dataKey)if(typeof F[a.dataKey]<"u")V.value={...F[a.dataKey]};else throw new Error(y("errors.dataKeyUndefined",{dataKey:a.dataKey}));else a.recordResolver?V.value={...a.recordResolver(F)}:V.value={...F};Object.keys(a.configSchema).filter(J=>a.configSchema[J].forceShow).forEach(J=>{V.value&&typeof V.value[J]>"u"&&(V.value[J]=null)}),r("fetch:success",F)}catch(F){D.value=null;const H=l(F);Q.value=H.startsWith("code")?y("baseConfigCard.errors.load"):H,U.value=!0,r("fetch:error",F)}finally{j.value=!1}}),(F,H)=>{const J=e.resolveComponent("KCheckbox"),se=e.resolveComponent("KLabel"),me=e.resolveComponent("KSelect"),ee=e.resolveComponent("KButton"),G=e.resolveComponent("KSkeleton"),ae=e.resolveComponent("KEmptyState"),te=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(te,{class:"kong-ui-entity-base-config-card","title-tag":n.titleTag},e.createSlots({actions:e.withCtx(()=>[e.createElementVNode("div",Pn,[e.renderSlot(F.$slots,"actions",{},void 0,!0),w.value!=="structured"?(e.openBlock(),e.createBlock(J,{key:0,modelValue:K.value,"onUpdate:modelValue":H[0]||(H[0]=oe=>K.value=oe),class:"sensitive-fields-checkbox","data-testid":"sensitive-fields-checkbox",label:e.unref(y)("baseConfigCard.actions.sensitive_fields")},null,8,["modelValue","label"])):e.createCommentVNode("",!0),e.createElementVNode("div",qn,[e.createVNode(se,{class:"config-format-select-label","data-testid":"config-format-select-label"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label),1)]),_:1}),e.createVNode(me,{modelValue:w.value,"onUpdate:modelValue":H[1]||(H[1]=oe=>w.value=oe),"data-testid":"select-config-format",items:x.value,onChange:L},null,8,["modelValue","items"])]),w.value==="deck"&&e.unref(R)?(e.openBlock(),e.createBlock(ee,{key:1,appearance:"secondary",class:"button-customize-deck","data-testid":"config-deck-customize-button",onClick:H[2]||(H[2]=oe=>h.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("baseConfigCard.actions.deck_customize")),1)]),_:1})):e.createCommentVNode("",!0),n.configCardDoc?(e.openBlock(),e.createBlock(ee,{key:2,appearance:"tertiary",class:"book-icon","data-testid":"book-icon"},{default:e.withCtx(()=>[e.createElementVNode("a",{href:n.configCardDoc,rel:"noopener",target:"_blank"},[e.createVNode(e.unref(ge.BookIcon),{size:`var(--kui-icon-size-40, ${e.unref(_e)})`},null,8,["size"])],8,jn)]),_:1})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[j.value?(e.openBlock(),e.createBlock(G,{key:0,"data-testid":"config-card-loader","table-columns":2,type:"table"})):U.value?(e.openBlock(),e.createBlock(ae,{key:1,"data-testid":"config-card-fetch-error","icon-variant":"error"},{default:e.withCtx(()=>[e.createElementVNode("h3",null,e.toDisplayString(Q.value),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",Un,[e.createVNode($t,{"code-block-record":E.value,"code-block-record-formatter":n.codeBlockRecordFormatter,"code-block-record-redacted":K.value?void 0:ne.value,config:n.config,"entity-type":n.entityType,"fetcher-url":fe.value,format:w.value,"is-deck-customization-visible":h.value,"preserve-code-block-timestamps":n.preserveCodeBlockTimestamps,"prop-list-types":le.value,"property-collections":ie.value,record:V.value,"sub-entity-type":n.subEntityType,"onDeckCustomization:close":H[3]||(H[3]=oe=>h.value=!1),onRequestDeckFormat:H[4]||(H[4]=oe=>w.value="deck")},e.createSlots({_:2},[e.renderList(c.value,oe=>({name:oe,fn:e.withCtx(ve=>[e.renderSlot(F.$slots,oe,e.mergeProps({record:V.value},ve),void 0,!0)])}))]),1032,["code-block-record","code-block-record-formatter","code-block-record-redacted","config","entity-type","fetcher-url","format","is-deck-customization-visible","preserve-code-block-timestamps","prop-list-types","property-collections","record","sub-entity-type"])]),f.value?(e.openBlock(),e.createElementBlock("div",zn,[e.renderSlot(F.$slots,"after-fields",{},void 0,!0)])):e.createCommentVNode("",!0)],64))]),_:2},[n.hideTitle?void 0:{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Mn,[e.renderSlot(F.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(y)("baseConfigCard.title")),1)],!0)])]),key:"0"}]),1032,["title-tag"])}}}),Yn=C._export_sfc(Hn,[["__scopeId","data-v-aa5da890"]]),Gn=["novalidate"],Wn={key:0,class:"button-customize-deck-wrapper"},Jn=e.defineComponent({__name:"EntityBaseForm",props:{config:{type:Object,required:!0,validator:n=>!(!n||!["konnect","kongManager"].includes(n==null?void 0:n.app)||n.app==="konnect"&&!n.controlPlaneId||n.app==="kongManager"&&typeof n.workspace!="string")},editId:{type:String,required:!1,default:null},entityType:{type:String,required:!0,validator:n=>C.SupportedEntityTypesArray.includes(n)},subEntityType:{type:String,required:!1,default:""},fetchUrl:{type:String,required:!1,default:""},isReadonly:{type:Boolean,required:!1,default:!1},canSubmit:{type:Boolean,required:!1,default:void 0},errorMessage:{type:String,required:!1,default:""},formFields:{type:Object,required:!0},noValidate:{type:Boolean,default:!1},wrapperComponent:{type:String,default:"KCard"},actionTeleportTarget:{type:String,default:void 0},hideActions:{type:Boolean,default:!1},slidoutTopOffset:{type:Number,default:60},alignActionButtonToLeft:{type:Boolean,default:!1},saveButtonText:{type:String,default:void 0},cancelButtonText:{type:String,default:void 0},slideoutFetchUrl:{type:String,default:void 0},slideoutRequestMethod:{type:String,default:void 0},slideoutDeckEntityType:{type:String,default:void 0},tabsToHide:{type:Array,required:!1,default:()=>[]}},emits:["loading","fetch:success","fetch:error","submit","cancel","codeBlockTabChange"],setup(n,{expose:i,emit:r}){var ne,X;const a=e.inject(C.PLUGIN_FORM_LAYOUT_STATE,e.ref(!1)),m=r,y=n,l=Pt.useRouter(),{i18n:{t:s}}=C.composables.useI18n(),{getMessageFromError:p}=C.composables.useErrors(),{axiosInstance:u}=C.composables.useAxios((ne=y.config)==null?void 0:ne.axiosRequestConfig),h=e.ref(!1),c=e.computed(()=>!!y.editId),f=e.ref(!1),k=e.ref(""),R=e.computed(()=>y.canSubmit===!1||y.isReadonly),x=e.ref(!1),w=e.computed(()=>{var Z,ie;let W=`${y.config.apiBaseUrl}${y.fetchUrl}`;return y.config.app==="konnect"&&(W=W.replace(/{controlPlaneId}/gi,((Z=y.config)==null?void 0:Z.controlPlaneId)||"")),W=W.replace(/\/{workspace}/gi,(ie=y.config)!=null&&ie.workspace?`/${y.config.workspace}`:""),y.editId?(W=W.replace(/{id}/gi,y.editId),W):(W=W.replace(/\/{id}/gi,""),W)}),L=e.ref(!1),{isDeckEnabled:_,deckCustomizationOptions:I,deckCalloutPreferenceKey:j}=C.composables.useBaseFormDeckOptions(()=>y.config,()=>y.entityType),U=()=>{x.value=!x.value},Q=()=>{y.config.cancelRoute?l.push(y.config.cancelRoute):V()},V=()=>{m("cancel")},D=()=>{R.value||m("submit")},E=e.computed(()=>{const W=[{title:s("baseForm.configuration.json"),hash:"#json"},{title:s("baseForm.configuration.yaml"),hash:"#yaml"}];y.config.app==="konnect"&&y.entityType!==C.SupportedEntityType.Other&&W.splice(1,0,{title:s("baseForm.configuration.terraform"),hash:"#terraform"}),_.value&&W.push({title:s("baseForm.configuration.deck"),hash:"#deck"});const Z=new Set(y.tabsToHide.map(ie=>`#${ie}`));return W.filter(ie=>!Z.has(ie.hash))}),K=e.ref((X=E.value[0])==null?void 0:X.hash);return e.watch(E,W=>{var Z;W.some(ie=>ie.hash===K.value)||(K.value=(Z=W[0])==null?void 0:Z.hash)}),e.watch(()=>h.value,W=>{m("loading",W)},{immediate:!0}),e.onBeforeMount(async()=>{if(y.editId)try{f.value=!1,h.value=!0;const{data:W}=await u.get(w.value);m("fetch:success",W)}catch(W){const Z=p(W);k.value=Z.startsWith("code")?s("baseForm.errors.edit"):Z,f.value=!0,m("fetch:error",W)}finally{h.value=!1}}),i({viewConfig:U,formCancel:V,formSubmit:D}),(W,Z)=>{const ie=e.resolveComponent("KSkeleton"),le=e.resolveComponent("KEmptyState"),fe=e.resolveComponent("KAlert"),P=e.resolveComponent("KButton"),F=e.resolveComponent("KTabs"),H=e.resolveComponent("KSlideout");return e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.wrapperComponent),{class:e.normalizeClass(["kong-ui-entity-base-form",{"new-form-layout":e.unref(a)&&n.entityType===e.unref(C.SupportedEntityType).Plugin}])},{default:e.withCtx(()=>[h.value?(e.openBlock(),e.createBlock(ie,{key:0,type:"form"})):f.value?(e.openBlock(),e.createBlock(le,{key:1,"action-button-text":e.unref(s)("baseForm.actions.back"),"data-testid":"form-fetch-error","icon-variant":"error",onClickAction:Q},{default:e.withCtx(()=>[e.createElementVNode("h3",null,e.toDisplayString(k.value),1)]),_:1},8,["action-button-text"])):(e.openBlock(),e.createElementBlock("form",{key:2,"data-testid":"form-content",novalidate:y.noValidate,onReset:e.withModifiers(V,["prevent"]),onSubmit:e.withModifiers(D,["prevent"])},[e.renderSlot(W.$slots,"default",{},void 0,!0),n.errorMessage?(e.openBlock(),e.createBlock(fe,{key:0,appearance:"danger",class:"form-error","data-testid":"form-error",message:n.errorMessage},null,8,["message"])):e.createCommentVNode("",!0),n.hideActions?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.Teleport,{key:1,disabled:!n.actionTeleportTarget,to:n.actionTeleportTarget},[e.createElementVNode("div",{class:e.normalizeClass(["form-actions",{"form-actions-reverted":n.alignActionButtonToLeft}]),"data-testid":"form-actions"},[e.renderSlot(W.$slots,"form-actions",{},()=>[e.createVNode(P,{appearance:"tertiary","data-testid":`${n.entityType}-${c.value?"edit":"create"}-form-view-configuration`,onClick:Z[0]||(Z[0]=J=>U())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.value?e.unref(s)("baseForm.actions.hideConfiguration"):e.unref(s)("baseForm.actions.viewConfiguration")),1)]),_:1},8,["data-testid"]),e.createVNode(P,{appearance:"secondary","data-testid":`${n.entityType}-${c.value?"edit":"create"}-form-cancel`,disabled:n.isReadonly,type:"reset",onClick:Z[1]||(Z[1]=J=>!!n.actionTeleportTarget&&V())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.cancelButtonText??e.unref(s)("baseForm.actions.cancel")),1)]),_:1},8,["data-testid","disabled"]),e.createVNode(P,{appearance:"primary","data-testid":`${n.entityType}-${c.value?"edit":"create"}-form-submit`,disabled:R.value,type:"submit",onClick:Z[2]||(Z[2]=J=>!!n.actionTeleportTarget&&D())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.saveButtonText??e.unref(s)("baseForm.actions.save")),1)]),_:1},8,["data-testid","disabled"])],!0)],2)],8,["disabled","to"]))],40,Gn)),e.createVNode(H,{"close-on-blur":!1,"data-testid":"form-view-configuration-slideout","has-overlay":!1,"offset-top":n.slidoutTopOffset,title:e.unref(s)("baseForm.configuration.title"),visible:x.value,onClose:Z[8]||(Z[8]=J=>U())},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.renderSlot(W.$slots,"configuration-slideout-message",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("baseForm.configuration.message")),1)],!0)]),e.createVNode(F,{modelValue:K.value,"onUpdate:modelValue":Z[6]||(Z[6]=J=>K.value=J),"data-testid":"form-view-configuration-slideout-tabs",tabs:E.value,onChange:Z[7]||(Z[7]=J=>m("codeBlockTabChange",J.replace("#","")))},{json:e.withCtx(()=>[e.createVNode(We,{config:n.config,"entity-record":y.formFields,"fetcher-url":y.slideoutFetchUrl??w.value,"request-method":y.slideoutRequestMethod??(y.editId?"put":"post")},null,8,["config","entity-record","fetcher-url","request-method"])]),yaml:e.withCtx(()=>[e.createVNode(Qe,{"deck-callout-preference-key":e.unref(_)?e.unref(j):void 0,"entity-record":y.formFields,"onDeckCallout:clickCta":Z[3]||(Z[3]=J=>K.value="#deck")},null,8,["deck-callout-preference-key","entity-record"])]),terraform:e.withCtx(()=>[e.createVNode(Xe,{"entity-record":y.formFields,"entity-type":n.entityType,"sub-entity-type":n.subEntityType},null,8,["entity-record","entity-type","sub-entity-type"])]),deck:e.withCtx(()=>[e.unref(I)?(e.openBlock(),e.createElementBlock("div",Wn,[e.createVNode(P,{appearance:"secondary",class:"button-customize-deck",onClick:Z[4]||(Z[4]=J=>L.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("baseConfigCard.actions.deck_customize")),1)]),_:1})])):e.createCommentVNode("",!0),e.createVNode(Ze,{app:n.config.app,"control-plane-name":n.config.app==="konnect"?n.config.controlPlaneName:void 0,"customization-options":e.unref(I),"entity-record":y.formFields,"entity-type":y.slideoutDeckEntityType??n.entityType,"geo-api-server-url":n.config.app==="konnect"?n.config.geoApiServerUrl:void 0,"is-customization-modal-visible":L.value,"kong-admin-api-url":n.config.app==="kongManager"?n.config.apiBaseUrl:void 0,workspace:n.config.workspace||void 0,onCustomizationClose:Z[5]||(Z[5]=J=>L.value=!1)},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"])]),_:1},8,["modelValue","tabs"])]),_:3},8,["offset-top","title","visible"])]),_:3},8,["class"])}}}),Qn=C._export_sfc(Jn,[["__scopeId","data-v-b3590221"]]),Xn=["data-truncate"],Zn=e.defineComponent({__name:"EntityBaseTableCell",props:{keyName:{type:String,required:!0},rowEl:{type:[Object,null],required:!0},tooltip:{type:Boolean,default:!1}},setup(n){const i=n,r=e.computed(()=>{var w;return((w=i.rowEl)==null?void 0:w.querySelector(`[data-testid="${i.keyName}"]`))||null}),a=e.computed(()=>{var w;return((w=r.value)==null?void 0:w.querySelector('[data-truncate="true"]'))||null}),m=e.computed(()=>{var L,_;const w=(L=i.rowEl)==null?void 0:L.querySelectorAll("td");return w?((_=w[0])==null?void 0:_.getAttribute("data-testid"))===i.keyName:!0}),y=e.computed(()=>m.value||i.tooltip);let l;const s=()=>{l&&(l.disconnect(),l=void 0)},p=()=>{var L,_,I;let w=((L=r.value)==null?void 0:L.clientWidth)||0;if(r.value&&"getComputedStyle"in window){const j=window.getComputedStyle(r.value);w-=(parseFloat(j.paddingLeft)||0)+(parseFloat(j.paddingRight)||0)}h.value=((_=a.value)==null?void 0:_.getBoundingClientRect().width)||0,c.value=w,f.value=((I=u.value)==null?void 0:I.innerText)||""},u=e.ref({}),h=e.ref(0),c=e.ref(0),f=e.ref(""),k=e.computed(()=>[a.value,r.value]),R=e.watch(k,w=>{if(y.value&&(s(),"ResizeObserver"in window&&window)){l=new ResizeObserver(L=>{window.requestAnimationFrame(()=>{!Array.isArray(L)||!L.length||p()})});for(const L of w)L&&l.observe(L)}},{immediate:!0,flush:"post",deep:!0}),x=e.computed(()=>y.value?h.value>c.value:!1);return e.onMounted(()=>{p()}),e.onUnmounted(()=>{R()}),(w,L)=>{const _=e.resolveComponent("KTooltip");return e.openBlock(),e.createElementBlock("span",{ref_key:"contentRef",ref:u,class:"content-wrapper"},[y.value?(e.openBlock(),e.createElementBlock("span",{key:0,"data-truncate":y.value||void 0},[e.createVNode(_,{"max-width":"300",placement:"bottom-start",text:x.value?f.value:""},{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default",{},void 0,!0)]),_:3},8,["text"])],8,Xn)):e.renderSlot(w.$slots,"default",{key:1},void 0,!0)],512)}}}),eo=C._export_sfc(Zn,[["__scopeId","data-v-a3a65cac"]]),to={class:"toolbar-container"},no={key:0,class:"toolbar-button-container"},oo={key:0,class:"hidden"},ro=e.defineComponent({__name:"EntityBaseTable",props:{tableHeaders:{type:Object,required:!0,default:()=>({})},fetcher:{type:Function,required:!0,default:async()=>({data:[],total:0})},initialFetcherParams:{type:Object,default:null},rowKey:{type:[String,Function],default:"id"},cacheIdentifier:{type:String,default:""},fetcherCacheKey:{type:Number,default:1},isLoading:{type:Boolean,default:!1},query:{type:String,default:""},enableClientSort:{type:Boolean,default:!1},sortHandlerFunction:{type:Function,default:null},enableEntityActions:{type:Boolean,default:!0},emptyStateOptions:{type:Object,default:()=>({})},errorMessage:{type:[String,Object],default:null},paginationAttributes:{type:Object,default:()=>({})},hidePaginationWhenOptional:{type:Boolean,default:!0},disableSorting:{type:Boolean,default:void 0},cellAttributes:{type:Function,default:()=>({})},rowAttributes:{type:Function,default:()=>({})},preferencesStorageKey:{type:String,default:""},defaultTablePreferences:{type:Object,default:null,required:!1},title:{type:String,default:""},titleTag:{type:String,default:"h2"},disableRowClick:{type:Boolean,default:!1},hidePagination:{type:Boolean,default:!1},hideToolbar:{type:Boolean,default:void 0},disablePaginationPageJump:{type:Boolean,default:void 0,validator:n=>(n&&console.warn("EntityBaseTable: `disablePaginationPageJump` is deprecated in favour of `paginationAttributes`. Please update your code to use `paginationAttributes` instead."),typeof n=="boolean")},paginationType:{type:String,default:void 0,validator:n=>(n&&console.warn("EntityBaseTable: `paginationType` is deprecated in favour of `paginationAttributes`. Please update your code to use `paginationAttributes` instead."),["default","offset"].includes(n))}},emits:["click:row","sort","clear-search-input","empty-state-cta-clicked","state"],setup(n,{emit:i}){const r=n,a=i,{i18n:{t:m}}=C.composables.useI18n(),y=e.computed(()=>{var E,K;return typeof r.errorMessage=="string"?{hasError:!!r.errorMessage,title:r.errorMessage,message:void 0}:{hasError:!!r.errorMessage,title:(E=r.errorMessage)==null?void 0:E.title,message:(K=r.errorMessage)==null?void 0:K.message}}),l=e.computed(()=>r.cacheIdentifier||r.preferencesStorageKey),s=e.computed(()=>{const E=[];return Object.keys(r.tableHeaders).forEach(ne=>{const X=r.tableHeaders[ne];E.push({label:X.label??ne,key:ne,sortable:X.sortable??!1,hidable:X.hidable??!0})}),r.enableEntityActions&&E.push({key:"actions",hideLabel:!0}),E}),p=E=>({"data-rowid":E.id,"data-testid":E.name,...r.rowAttributes(E)}),u=e.ref({}),h=E=>{var K;return(K=u.value)==null?void 0:K.$el.querySelector(`[data-rowid="${E.id}"]`)},c=E=>{const K={"data-testid":E.headerKey,...r.cellAttributes(E)};return E.colIndex===0&&(K.style={maxWidth:"250px",overflowX:"hidden",textOverflow:"ellipsis"}),K},f=E=>{_(E),a("state",E)},k=()=>{a("empty-state-cta-clicked"),R()},R=()=>{a("clear-search-input")},x=e.computed(()=>r.disableRowClick?void 0:(E,K)=>{a("click:row",K)}),w=E=>{a("sort",E)},{hideTableToolbar:L,handleStateChange:_}=C.composables.useTableState(()=>r.query),{setTablePreferences:I,getTablePreferences:j}=C.ft(),U=e.ref(j(l.value,r.defaultTablePreferences)),Q=e.computed(()=>{const E=j(l.value);return{...r.initialFetcherParams,...E}}),V=E=>{U.value=E,s.value.forEach(K=>{!("hidable"in K)||!U.value.columnVisibility||K.hidable===!1&&(U.value.columnVisibility[K.key]=!0)}),l.value&&I(l.value,E)},D=e.computed(()=>({disablePageJump:r.disablePaginationPageJump,offset:r.paginationType==="offset",...r.paginationAttributes}));return(E,K)=>{const ne=e.resolveComponent("KTableData"),X=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(X,{class:"kong-ui-entity-base-table",title:n.title,"title-tag":n.titleTag},{default:e.withCtx(()=>[e.createVNode(ne,{ref_key:"tableRefs",ref:u,"cache-identifier":l.value,"cell-attrs":c,"client-sort":n.enableClientSort,"empty-state-action-message":n.query?e.unref(m)("baseTable.emptyState.noSearchResultsCtaText"):n.emptyStateOptions.ctaText,"empty-state-action-route":n.query?void 0:n.emptyStateOptions.ctaPath,"empty-state-icon-variant":n.query?"search":"kong","empty-state-message":n.query?e.unref(m)("baseTable.emptyState.noSearchResultsMessage"):n.emptyStateOptions.message,"empty-state-title":n.query?e.unref(m)("baseTable.emptyState.noSearchResultsTitle"):n.emptyStateOptions.title,error:y.value.hasError,"error-state-message":y.value.message,"error-state-title":y.value.title,fetcher:n.fetcher,"fetcher-cache-key":String(n.fetcherCacheKey),headers:s.value,"hide-pagination":n.hidePagination,"hide-pagination-when-optional":n.hidePaginationWhenOptional,"hide-toolbar":n.hideToolbar??e.unref(L),"initial-fetcher-params":Q.value,loading:n.isLoading,"pagination-attributes":D.value,"resize-columns":"","row-attrs":p,"row-key":n.rowKey,"search-input":n.query,"sort-handler-function":n.enableClientSort?n.sortHandlerFunction:void 0,sortable:!n.disableSorting,"table-preferences":U.value,onEmptyStateActionClick:k,"onRow:click":x.value,onSort:K[0]||(K[0]=W=>w(W)),onState:f,"onUpdate:tablePreferences":V},e.createSlots({toolbar:e.withCtx(()=>[e.createElementVNode("div",to,[e.renderSlot(E.$slots,"toolbar-filter",{},void 0,!0),E.$slots["toolbar-button"]?(e.openBlock(),e.createElementBlock("div",no,[e.renderSlot(E.$slots,"toolbar-button",{},void 0,!0)])):e.createCommentVNode("",!0)])]),"action-items":e.withCtx(({row:W})=>[e.renderSlot(E.$slots,"actions",{row:W},void 0,!0)]),_:2},[E.$slots["empty-state"]?{name:"empty-state",fn:e.withCtx(()=>[e.renderSlot(E.$slots,"empty-state",{},void 0,!0)]),key:"0"}:void 0,e.renderList(n.tableHeaders,(W,Z)=>({name:Z,fn:e.withCtx(({row:ie,rowValue:le})=>[e.createVNode(eo,{"key-name":String(Z),"row-el":h(ie),tooltip:W.tooltip},{default:e.withCtx(()=>[e.renderSlot(E.$slots,Z,{row:ie,rowKey:n.rowKey,rowValue:le},()=>[e.createTextVNode(e.toDisplayString(le),1)],!0)]),_:2},1032,["key-name","row-el","tooltip"])])})),n.query?void 0:{name:"empty-state-action-icon",fn:e.withCtx(()=>[e.createVNode(e.unref(ge.AddIcon))]),key:"1"}]),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"]),E.$slots["outside-actions"]&&e.unref(L)?(e.openBlock(),e.createElementBlock("div",oo,[e.renderSlot(E.$slots,"outside-actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3},8,["title","title-tag"])}}}),io=C._export_sfc(ro,[["__scopeId","data-v-09e101d4"]]),lo={key:0,class:"kong-ui-entity-delete-error"},ao={key:1,class:"description"},co=e.defineComponent({__name:"EntityDeleteModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:"Delete"},entityType:{type:String,required:!0},entityName:{type:String,default:""},entityTypeDisplay:{type:String,default:""},needConfirm:{type:Boolean,default:!0},description:{type:String,default:""},actionPending:{type:Boolean,default:!1},error:{type:String,default:""},confirmationPrompt:{type:String,default:""},stackedCopy:{type:Boolean,default:!1}},emits:["cancel","proceed"],setup(n,{emit:i}){const{i18nT:r}=C.composables.useI18n(),a=n,m=i,y=e.computed(()=>a.entityTypeDisplay.trim()!==""?a.entityTypeDisplay:a.entityType),l=e.computed(()=>a.needConfirm?a.entityName:""),s=()=>{m("cancel")},p=()=>{m("proceed")};return(u,h)=>{const c=e.resolveComponent("KAlert"),f=e.resolveComponent("KPrompt");return e.openBlock(),e.createBlock(f,{"action-button-appearance":"danger","action-button-disabled":n.actionPending,"action-button-text":"Yes, delete",class:e.normalizeClass(["kong-ui-entity-delete-modal",{"kong-ui-entity-delete-modal-stacked-copy":n.stackedCopy}]),"confirmation-prompt":n.confirmationPrompt||void 0,"confirmation-text":l.value,"data-testid":"entity-delete-modal",title:n.title,visible:n.visible,onCancel:s,onProceed:p},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["body",{"body-stacked-copy":n.stackedCopy}])},[n.error?(e.openBlock(),e.createElementBlock("div",lo,[e.createVNode(c,{appearance:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.error),1)]),_:1})])):e.createCommentVNode("",!0),e.renderSlot(u.$slots,"message",{},()=>[e.createVNode(e.unref(r),{class:"message",keypath:a.entityName?"deleteModal.messageWithName":"deleteModal.message",tag:"p"},e.createSlots({entityType:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value),1)]),_:2},[a.entityName?{name:"entityName",fn:e.withCtx(()=>[e.createElementVNode("strong",null,e.toDisplayString(a.entityName),1)]),key:"0"}:void 0]),1032,["keypath"])],!0),a.description||u.$slots.description?(e.openBlock(),e.createElementBlock("div",ao,[e.renderSlot(u.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(a.description),1)],!0)])):e.createCommentVNode("",!0)],2)]),_:3},8,["action-button-disabled","class","confirmation-prompt","confirmation-text","title","visible"])}}}),so=C._export_sfc(co,[["__scopeId","data-v-fc366e0c"]]),uo={fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},po={id:"mask0_180_20349",height:"20","mask-type":"alpha",maskUnits:"userSpaceOnUse",width:"20",x:"0",y:"0"},fo=["fill"],mo={mask:"url(#mask0_180_20349)"},yo=["fill"],it=e.defineComponent({__name:"IconFilter",props:{color:{type:String,default:`var(--kong-ui-entity-filter-color, ${Yt})`}},setup(n){return(i,r)=>(e.openBlock(),e.createElementBlock("svg",uo,[e.createElementVNode("mask",po,[e.createElementVNode("rect",{fill:n.color,height:"20",width:"20"},null,8,fo)]),e.createElementVNode("g",mo,[e.createElementVNode("path",{d:"M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",fill:n.color},null,8,yo)])]))}}),go={key:1,class:"kong-ui-entity-filter"},ho={class:"kong-ui-entity-filter-menu"},vo=["data-testid"],ko=["onClick","onKeydown"],Co={class:"menu-item-indicator"},bo={class:"menu-item-body"},So=["for"],Bo={class:"menu-item-buttons"},To={class:"filter-clear-button-container"},xo=e.defineComponent({__name:"EntityFilter",props:{config:{type:Object,required:!0,default:()=>({isExactMatch:!0,placeholder:""})},modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(n,{emit:i}){const{i18n:{t:r}}=C.composables.useI18n(),a=n,m=i,y=e.ref(!1),l=e.ref({}),s=e.ref(new Set),p=e.computed(()=>{const V=[];return new URLSearchParams(a.modelValue).forEach((D,E)=>{D!==""&&V.push(E)}),V}),u=e.computed(()=>{const V=a.config.fields;return Object.keys(V).filter(D=>{var E;return(E=V==null?void 0:V[D])==null?void 0:E.searchable}).map(D=>({label:V[D].label||D,value:D,expanded:!1}))});e.watch(()=>a.modelValue,V=>{l.value={},new URLSearchParams(V).forEach((D,E)=>{l.value[E]=D})});const h=()=>{y.value=!y.value},c=V=>{s.value.has(V)?s.value.delete(V):s.value.add(V)},f=V=>{m("update:modelValue",V)},k=()=>{f("")},R=V=>`filter-${V}`,x=V=>{var D,E;return(((E=(D=a.config.schema)==null?void 0:D[V])==null?void 0:E.values)??[]).map(K=>typeof K=="string"?{value:K,label:K}:K)},w=V=>{var D,E;return((E=(D=a.config.schema)==null?void 0:D[V])==null?void 0:E.type)??"text"},L=V=>{l.value={...l.value,[V]:""},I()},_=()=>{l.value={},I(!0)},I=(V=!1)=>{const D=Object.keys(l.value).reduce((E,K)=>(l.value[K]&&(E[K]=`${l.value[K]}`),E),{});V&&(y.value=!1),m("update:modelValue",new URLSearchParams(D).toString())},j=V=>{var D,E;return!!((E=(D=a.config.schema)==null?void 0:D[V])!=null&&E.filterFunction)},U=(V,D)=>{var K;const E=(K=a.config.schema)==null?void 0:K[V];return(E==null?void 0:E.filterFunction)===void 0?!0:E.filterFunction(D)},Q=(V,D)=>{l.value[V]=D?D.custom?String(D.label):String(D.value):""};return(V,D)=>{const E=e.resolveComponent("KInput"),K=e.resolveComponent("KButton"),ne=e.resolveComponent("KSelect");return n.config.isExactMatch?(e.openBlock(),e.createBlock(E,{key:0,autocomplete:"off",class:"kong-ui-entity-filter-input","data-testid":"search-input","model-value":n.modelValue,placeholder:n.config.placeholder,"onUpdate:modelValue":f},{before:e.withCtx(()=>[e.createVNode(it)]),after:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(ge.CloseIcon),{class:"kong-ui-entity-filter-clear",role:"button",tabindex:"0",onClick:k},null,512),[[e.vShow,n.modelValue!==""]])]),_:1},8,["model-value","placeholder"])):(e.openBlock(),e.createElementBlock("div",go,[e.createVNode(K,{appearance:"tertiary","data-testid":"filter-button",onClick:h},{default:e.withCtx(()=>[e.createVNode(it),e.createTextVNode(" "+e.toDisplayString(e.unref(r)("filter.filterButtonText"))+" "+e.toDisplayString(p.value.length>0?`(${p.value.length})`:""),1)]),_:1}),e.withDirectives(e.createElementVNode("div",{class:"kong-ui-entity-filter-backdrop",onClick:h},null,512),[[e.vShow,y.value]]),e.withDirectives(e.createElementVNode("div",ho,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,X=>{var W,Z,ie,le;return e.openBlock(),e.createElementBlock("div",{key:X.value,class:"kong-ui-entity-filter-menu-item","data-testid":X.value},[e.createElementVNode("span",{class:e.normalizeClass(["menu-item-title",{expanded:s.value.has(X.value)}]),role:"button",tabindex:"0",onClick:fe=>c(X.value),onKeydown:e.withKeys(fe=>c(X.value),["enter"])},[e.createTextVNode(e.toDisplayString(X.label)+" ",1),e.withDirectives(e.createElementVNode("span",Co,null,512),[[e.vShow,p.value.includes(X.value)]]),e.createVNode(e.unref(ge.ChevronDownIcon),{class:e.normalizeClass(["menu-item-expand-icon",{expanded:s.value.has(X.value)}]),color:`var(--kui-color-text-neutral-weak, ${e.unref(Jt)})`},null,8,["class","color"])],42,ko),e.withDirectives(e.createElementVNode("div",bo,[e.createElementVNode("label",{class:"menu-item-label",for:R(X.value)},e.toDisplayString(e.unref(r)("filter.fieldLabel")),9,So),((Z=(W=n.config.schema)==null?void 0:W[X.value])==null?void 0:Z.type)==="select"?(e.openBlock(),e.createBlock(ne,{key:0,id:R(X.value),"enable-filtering":j(X.value),"enable-item-creation":(le=(ie=n.config.schema)==null?void 0:ie[X.value])==null?void 0:le.enableItemCreation,"filter-function":fe=>U(X.value,fe),items:x(X.value),"model-value":l.value[X.value],placeholder:e.unref(r)("filter.selectPlaceholder"),onChange:fe=>Q(X.value,fe)},null,8,["id","enable-filtering","enable-item-creation","filter-function","items","model-value","placeholder","onChange"])):(e.openBlock(),e.createBlock(E,{key:1,id:R(X.value),modelValue:l.value[X.value],"onUpdate:modelValue":fe=>l.value[X.value]=fe,autocomplete:"off",placeholder:e.unref(r)("filter.inputPlaceholder"),type:w(X.value)},null,8,["id","modelValue","onUpdate:modelValue","placeholder","type"]))],512),[[e.vShow,s.value.has(X.value)]]),e.withDirectives(e.createElementVNode("div",Bo,[e.createVNode(K,{appearance:"tertiary","data-testid":"apply-filter",size:"small",onClick:D[0]||(D[0]=fe=>I(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("filter.applyButtonText")),1)]),_:1}),e.createVNode(K,{appearance:"tertiary","data-testid":"clear-filter",size:"small",onClick:fe=>L(X.value)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("filter.clearButtonText")),1)]),_:1},8,["onClick"])],512),[[e.vShow,s.value.has(X.value)]])],8,vo)}),128)),e.createElementVNode("div",To,[e.createVNode(K,{appearance:"tertiary",size:"small",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("filter.clearAllButtonText")),1)]),_:1})])],512),[[e.vShow,y.value]])]))}}}),wo=C._export_sfc(xo,[["__scopeId","data-v-3ece8659"]]),Eo=e.defineComponent({__name:"EntityToggleModal",props:{visible:{type:Boolean,required:!0},action:{type:String,required:!0},entityId:{type:String,required:!0},entityType:{type:String,required:!0},entityName:{type:String,required:!0},onConfirm:{type:Function,required:!1,default:null}},emits:["cancel","proceed"],setup(n,{emit:i}){const{i18n:{t:r},i18nT:a}=C.composables.useI18n(),m=n,y=i,l=e.ref(!1),s=e.computed(()=>m.action==="enable"?r("toggleModal.enable.title",{entityType:m.entityType}):r("toggleModal.disable.title",{entityType:m.entityType})),p=e.computed(()=>m.action==="enable"?r("toggleModal.enable.confirmText"):r("toggleModal.disable.confirmText")),u=()=>y("cancel"),h=async()=>{if(m.onConfirm){l.value=!0;try{await m.onConfirm(),y("proceed")}catch(c){console.error(c)}finally{l.value=!1}}};return(c,f)=>{const k=e.resolveComponent("KPrompt");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(k,{"action-button-disabled":l.value,"action-button-text":p.value,"data-testid":`${n.entityType}-${n.entityId}-toggle-prompt`,title:s.value,visible:n.visible,onCancel:u,onProceed:h},{default:e.withCtx(()=>[e.createVNode(e.unref(a),{keypath:`toggleModal.${m.action}.message`,scope:"global"},{entityType:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.entityType),1)]),entityName:e.withCtx(()=>[e.createElementVNode("strong",null,e.toDisplayString(n.entityName),1)]),_:1},8,["keypath"])]),_:1},8,["action-button-disabled","action-button-text","data-testid","title","visible"])])}}}),Ao=e.defineComponent({__name:"PermissionsWrapper",props:{authFunction:{type:Function,required:!0,default:async()=>!0},forceShow:{type:Boolean,default:!1}},setup(n){const i=n,r=e.ref(void 0),a=e.computed(()=>r.value===!0||r.value!==void 0&&i.forceShow===!0);return e.watch(()=>i.authFunction,async()=>{r.value=await i.authFunction()},{immediate:!0}),(m,y)=>a.value?e.renderSlot(m.$slots,"default",{key:0,isAllowed:r.value}):e.createCommentVNode("",!0)}}),ye=[];for(let n=0;n<256;++n)ye.push((n+256).toString(16).slice(1));function _o(n,i=0){return(ye[n[i+0]]+ye[n[i+1]]+ye[n[i+2]]+ye[n[i+3]]+"-"+ye[n[i+4]]+ye[n[i+5]]+"-"+ye[n[i+6]]+ye[n[i+7]]+"-"+ye[n[i+8]]+ye[n[i+9]]+"-"+ye[n[i+10]]+ye[n[i+11]]+ye[n[i+12]]+ye[n[i+13]]+ye[n[i+14]]+ye[n[i+15]]).toLowerCase()}const No=new Uint8Array(16);function $o(){return crypto.getRandomValues(No)}function Io(n,i,r){return crypto.randomUUID?crypto.randomUUID():Oo(n)}function Oo(n,i,r){var m;n=n||{};const a=n.random??((m=n.rng)==null?void 0:m.call(n))??$o();if(a.length<16)throw new Error("Random bytes length must be >= 16");return a[6]=a[6]&15|64,a[8]=a[8]&63|128,_o(a)}const Vo=["aria-labelledby"],Do={class:"form-section-wrapper"},Ro={key:1,class:"form-section-description"},Ko={key:2,class:"form-section-footer"},Lo={class:"form-section-content"},Fo=e.defineComponent({__name:"EntityFormSection",props:{title:{type:String,default:""},description:{type:String,default:""},hasDivider:{type:Boolean,default:!1},stickyInfoHeader:{type:Boolean,default:!0},hideInfoHeader:{type:Boolean,default:!1},titleTag:{type:String,default:"h2"}},setup(n){const i=e.useSlots(),r=Io();return(a,m)=>(e.openBlock(),e.createElementBlock("div",{"aria-labelledby":n.title?e.unref(r):void 0,class:e.normalizeClass(["kong-ui-entity-form-section",{"has-divider":n.hasDivider}]),role:"group"},[e.createElementVNode("div",Do,[n.hideInfoHeader?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["form-section-info",{sticky:n.stickyInfoHeader}])},[n.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.titleTag),{key:0,id:e.unref(r),class:"form-section-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:1},8,["id"])):e.createCommentVNode("",!0),n.description||e.unref(i).description?(e.openBlock(),e.createElementBlock("div",Ro,[e.renderSlot(a.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(n.description),1)],!0)])):e.createCommentVNode("",!0),e.unref(i).footer?(e.openBlock(),e.createElementBlock("div",Ko,[e.renderSlot(a.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2)),e.createElementVNode("div",Lo,[e.renderSlot(a.$slots,"default",{},void 0,!0)])])],10,Vo))}}),Mo=C._export_sfc(Fo,[["__scopeId","data-v-ccd29028"]]),Po={class:"header"},qo={key:0,class:"step","data-testid":"form-block-step"},jo={class:"header-content"},Uo={class:"header-title","data-testid":"header-title"},zo={key:0,class:"header-description","data-testid":"header-description"},Ho={key:1,class:"header-extra","data-testid":"header-extra"},Yo={class:"content","data-testid":"form-block-content"},Go=e.defineComponent({__name:"EntityFormBlock",props:{step:{default:()=>{}},title:{default:""},description:{default:""}},setup(n){const i=e.useSlots();return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-entity-form-block",{stepped:n.step!==void 0||i.step}])},[e.createElementVNode("header",Po,[n.step!==void 0||i.step?(e.openBlock(),e.createElementBlock("div",qo,[e.renderSlot(r.$slots,"step",{},()=>[e.createTextVNode(e.toDisplayString(n.step),1)],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",jo,[e.createElementVNode("h2",Uo,[e.renderSlot(r.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),n.description||i.description?(e.openBlock(),e.createElementBlock("div",zo,[e.renderSlot(r.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)])):e.createCommentVNode("",!0)]),i.extra?(e.openBlock(),e.createElementBlock("div",Ho,[e.renderSlot(r.$slots,"extra",{},void 0,!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Yo,[e.renderSlot(r.$slots,"default",{},void 0,!0)])],2))}}),Wo=C._export_sfc(Go,[["__scopeId","data-v-7dd2f21d"]]),Jo={class:"kong-ui-public-entity-link","data-testid":"entity-link-parent"},Qo={key:0,class:"deleted-entity"},Xo={key:1},Zo=["onClick"],er=e.defineComponent({__name:"EntityLink",props:{entityLinkData:{type:Object,required:!0},externalLink:{type:String,required:!1,default:""},newWindow:{type:Boolean,required:!1,default:!1},allowCopy:{type:Boolean,required:!1,default:!1}},setup(n){const i=n,r=e.ref(),{isTruncated:a}=C.composables.useTruncationDetector(r),{i18n:{t:m}}=C.composables.useI18n(),y=m("global.actions.copyId"),l=e.ref(y),s=e.computed(()=>i.entityLinkData.deleted??!1),p=e.computed(()=>{var c;return(c=i.entityLinkData.id)!=null&&c.toString().includes(":")?i.entityLinkData.id.toString().split(":")[1]:i.entityLinkData.id}),u=e.computed(()=>{var c;return`${(c=p.value)==null?void 0:c.toString().slice(0,5)} (deleted)`}),h=async c=>{await c(p.value||"")&&(l.value=m("global.actions.copyToClipboard"),setTimeout(()=>{l.value=y},1800))};return(c,f)=>{const k=e.resolveComponent("KTooltip"),R=e.resolveComponent("KExternalLink"),x=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Jo,[s.value?(e.openBlock(),e.createElementBlock("div",Qo,e.toDisplayString(u.value),1)):p.value?p.value?(e.openBlock(),e.createBlock(R,{key:2,class:"entity-link","hide-icon":!n.newWindow,href:n.externalLink,target:n.newWindow?"_blank":"_self"},{default:e.withCtx(()=>[e.createVNode(k,{text:e.unref(a)&&n.entityLinkData.label||""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"textContent",ref:r,class:"entity-link-label"},e.toDisplayString(n.entityLinkData.label),513)]),_:1},8,["text"])]),_:1},8,["hide-icon","href","target"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Xo,e.toDisplayString(" – "))),p.value&&n.allowCopy?(e.openBlock(),e.createBlock(k,{key:l.value,class:"copy-uuid-tooltip","max-width":"160",placement:"bottom-end",text:l.value},{default:e.withCtx(()=>[e.createVNode(x,null,{default:e.withCtx(({copyToClipboard:w})=>[e.createElementVNode("span",{class:"entity-link-copy-id",onClick:e.withModifiers(L=>h(w),["stop"])},[e.createVNode(e.unref(ge.CopyIcon),{class:"copy-icon",color:`var(--kui-color-text-primary, ${e.unref(Qt)})`,"data-testid":"copy-id",size:`var(--kui-icon-size-30, ${e.unref(Zt)})`},null,8,["color","size"])],8,Zo)]),_:1})]),_:1},8,["text"])):e.createCommentVNode("",!0)])}}}),tr=C._export_sfc(er,[["__scopeId","data-v-6668aea9"]]),nr={class:"kong-ui-public-entity-empty-state"},or={class:"entity-empty-state-content"},rr={key:0,class:"empty-state-image"},ir={key:1,class:"entity-empty-state-title"},lr={key:2,class:"entity-empty-state-description"},ar={key:3,class:"entity-empty-state-pricing"},cr={key:0,class:"entity-empty-state-message"},sr={key:1,class:"entity-empty-state-action"},ur={key:2,class:"entity-empty-state-card-container"},dr={key:0,class:"feature-icon"},pr={class:"card-header"},fr=["title"],mr={key:3,class:"entity-empty-state-bottom-container"},yr=e.defineComponent({__name:"EntityEmptyState",props:{appearance:{type:String,default:()=>"primary",validator:n=>Ye.includes(n)},title:{type:String,default:""},description:{type:String,default:""},pricing:{type:String,default:""},canCreate:{type:Function,required:!1,default:async()=>!0},actionButtonText:{type:String,default:""},learnMore:{type:Boolean,default:!1},features:{type:Array,default:()=>[]}},emits:["click:create","click:learn-more"],setup(n){const i=n,{i18n:{t:r}}=C.composables.useI18n(),a=e.ref(!1),m=e.computed(()=>a.value&&!!i.actionButtonText),y=e.computed(()=>Ye.includes(i.appearance)?i.appearance:["primary",i.appearance]);return e.onBeforeMount(async()=>{a.value=await i.canCreate()}),e.onMounted(()=>e.warn(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
70
70
  Docs: https://kongponents.konghq.com/components/empty-state.html.`)),(l,s)=>{const p=e.resolveComponent("KCard");return e.openBlock(),e.createElementBlock("div",nr,[e.createElementVNode("div",or,[l.$slots.image?(e.openBlock(),e.createElementBlock("div",rr,[e.renderSlot(l.$slots,"image",{},void 0,!0)])):e.createCommentVNode("",!0),n.title||l.$slots.title?(e.openBlock(),e.createElementBlock("div",ir,[e.createElementVNode("h1",{class:e.normalizeClass(y.value)},[e.renderSlot(l.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)],2)])):e.createCommentVNode("",!0),n.description||l.$slots.default?(e.openBlock(),e.createElementBlock("div",lr,[e.renderSlot(l.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(n.description),1)],!0)])):e.createCommentVNode("",!0),n.pricing||l.$slots.pricing?(e.openBlock(),e.createElementBlock("div",ar,[e.createElementVNode("p",null,[e.createElementVNode("b",null,e.toDisplayString(e.unref(r)("emptyState.pricingTitle")),1),s[2]||(s[2]=e.createTextVNode()),e.renderSlot(l.$slots,"pricing",{},()=>[e.createTextVNode(e.toDisplayString(n.pricing),1)],!0)])])):e.createCommentVNode("",!0)]),l.$slots.message?(e.openBlock(),e.createElementBlock("div",cr,[e.renderSlot(l.$slots,"message",{},void 0,!0)])):e.createCommentVNode("",!0),m.value||n.learnMore||l.$slots.actions?(e.openBlock(),e.createElementBlock("div",sr,[e.renderSlot(l.$slots,"actions",{},()=>[m.value?(e.openBlock(),e.createBlock(e.unref(xe.KButton),{key:0,appearance:"primary","data-testid":"entity-create-button",size:n.appearance==="secondary"?"medium":"large",onClick:s[0]||(s[0]=u=>l.$emit("click:create"))},{default:e.withCtx(()=>[e.createVNode(e.unref(ge.AddIcon)),e.createTextVNode(" "+e.toDisplayString(n.actionButtonText),1)]),_:1},8,["size"])):e.createCommentVNode("",!0),n.learnMore?(e.openBlock(),e.createBlock(e.unref(xe.KButton),{key:1,appearance:"secondary","data-testid":"entity-learn-more-button",size:n.appearance==="secondary"?"medium":"large",onClick:s[1]||(s[1]=u=>l.$emit("click:learn-more"))},{default:e.withCtx(()=>[e.createVNode(e.unref(ge.BookIcon),{decorative:""}),e.createTextVNode(" "+e.toDisplayString(e.unref(r)("emptyState.learnMore")),1)]),_:1},8,["size"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),n.features.length?(e.openBlock(),e.createElementBlock("div",ur,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.features,(u,h)=>(e.openBlock(),e.createBlock(p,{key:`feature-${h}-card`,class:"entity-empty-state-card"},{title:e.withCtx(()=>[l.$slots[`feature-${h}-icon`]?(e.openBlock(),e.createElementBlock("div",dr,[e.renderSlot(l.$slots,`feature-${h}-icon`,{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",pr,e.toDisplayString(u.title),1)]),default:e.withCtx(()=>[e.createElementVNode("div",{title:u.description},e.toDisplayString(u.description),9,fr)]),_:2},1024))),128))])):e.createCommentVNode("",!0),l.$slots.bottom?(e.openBlock(),e.createElementBlock("div",mr,[e.renderSlot(l.$slots,"bottom",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),gr=C._export_sfc(yr,[["__scopeId","data-v-0b2e9081"]]),hr={key:0,class:"sensitive-input-hint","data-testid":"sensitive-input-hint"},vr={class:"sensitive-input-hint-text"},kr="••••••••••••••",Cr=e.defineComponent({__name:"SensitiveInput",props:{modelValue:{default:""},mode:{default:"create"},generator:{type:Function},showOneTimeHint:{type:Boolean,default:!1},labels:{},label:{},labelAttributes:{},placeholder:{},help:{},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{}},emits:["update:modelValue","rotate","generate","generated"],setup(n,{expose:i,emit:r}){e.useCssVars(D=>({v430bd82e:Q.value}));const a=r,{i18n:{t:m}}=C.composables.useI18n(),y=e.ref(n.mode==="edit"?"masked":"editing"),l=e.ref(!1),s=e.ref(!1),p=e.computed(()=>y.value==="masked"),u=kr,h=e.computed(()=>n.placeholder??m("sensitiveInput.placeholder")),c=e.computed(()=>{var D;return((D=n.labels)==null?void 0:D.rotateLabel)??m("sensitiveInput.rotateKey")}),f=e.computed(()=>{var D;return((D=n.labels)==null?void 0:D.generateLabel)??m("sensitiveInput.generateKey")}),k=e.computed(()=>{var D;return((D=n.labels)==null?void 0:D.hintLabel)??m("sensitiveInput.oneTimeHint")}),R=e.computed(()=>p.value||l.value?"text":"password");e.watch(()=>n.showOneTimeHint,D=>{D&&(l.value=!0)},{immediate:!0});const x=D=>{a("update:modelValue",D)},w=(D=!0)=>{y.value="editing",l.value=!1,D&&a("rotate")};i({enterEditing:()=>w(!1)});const L=()=>{l.value=!l.value},_=async()=>{if(!(!n.generator||s.value)){s.value=!0,a("generate");try{const D=await n.generator();a("update:modelValue",D),l.value=!0,a("generated",D)}finally{s.value=!1}}},I=e.useTemplateRef("rootElement");let j,U;const Q=e.ref(`calc(${nt} + ${_e} + ${tt})`),V=()=>{var E;const D=(E=I.value)==null?void 0:E.querySelector(".after-content-wrapper");D&&(Q.value=`calc(${nt} + ${D.offsetWidth}px + ${tt})`)};return e.onMounted(()=>{var E;const D=(E=I.value)==null?void 0:E.querySelector(".after-content-wrapper");j=new ResizeObserver(()=>{U=window.requestAnimationFrame(()=>V())}),D&&j.observe(D),V()}),e.onBeforeUnmount(()=>{j==null||j.disconnect(),U!==void 0&&window.cancelAnimationFrame(U)}),(D,E)=>{const K=e.resolveComponent("KButton"),ne=e.resolveComponent("KInput"),X=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootElement",ref:I,class:"kong-ui-public-sensitive-input"},[e.createVNode(ne,{autocomplete:"off","data-testid":"sensitive-input",disabled:n.disabled,error:n.error,"error-message":n.errorMessage,help:n.help,label:n.label,"label-attributes":n.labelAttributes,"model-value":p.value?e.unref(u):n.modelValue,placeholder:p.value?void 0:h.value,readonly:p.value||n.readonly,required:n.required,type:R.value,"onUpdate:modelValue":x},{after:e.withCtx(()=>[p.value?(e.openBlock(),e.createBlock(K,{key:0,appearance:"tertiary",class:"sensitive-input-action","data-testid":"sensitive-input-rotate",size:"small",onClick:E[0]||(E[0]=W=>w(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.value),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[n.generator?(e.openBlock(),e.createBlock(K,{key:0,appearance:"tertiary",class:"sensitive-input-action","data-testid":"sensitive-input-generate",disabled:n.disabled||s.value,size:"small",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?e.unref(ge.VisibilityOffIcon):e.unref(ge.VisibilityIcon)),{"aria-label":l.value?e.unref(m)("sensitiveInput.hideKey"):e.unref(m)("sensitiveInput.showKey"),class:"sensitive-input-toggle",color:"currentColor","data-testid":"sensitive-input-toggle",role:"button",size:`var(--kui-icon-size-40, ${e.unref(_e)})`,tabindex:"0",onClick:L,onKeydown:e.withKeys(e.withModifiers(L,["prevent"]),["enter","space"])},null,40,["aria-label","size","onKeydown"]))],64))]),_:1},8,["disabled","error","error-message","help","label","label-attributes","model-value","placeholder","readonly","required","type"]),n.showOneTimeHint?(e.openBlock(),e.createElementBlock("div",hr,[e.createVNode(e.unref(ge.InfoIcon),{class:"sensitive-input-hint-icon",color:`var(--kui-color-text-info, ${e.unref(Wt)})`,size:`var(--kui-icon-size-40, ${e.unref(_e)})`},null,8,["color","size"]),e.createElementVNode("span",vr,e.toDisplayString(k.value),1),e.createVNode(X,null,{default:e.withCtx(({copyToClipboard:W})=>[e.createVNode(K,{appearance:"none",class:"sensitive-input-action sensitive-input-copy","data-testid":"sensitive-input-copy",icon:!0,onClick:Z=>W(n.modelValue)},{default:e.withCtx(()=>[e.createVNode(e.unref(ge.CopyIcon),{color:"currentColor",size:`var(--kui-icon-size-40, ${e.unref(_e)})`},null,8,["size"]),e.createTextVNode(" "+e.toDisplayString(e.unref(m)("sensitiveInput.copy")),1)]),_:1},8,["onClick"])]),_:1})])):e.createCommentVNode("",!0),e.renderSlot(D.$slots,"alert",{},void 0,!0)],512)}}}),br=C._export_sfc(Cr,[["__scopeId","data-v-9efb72a4"]]),Sr={key:1},Br=e.defineComponent({__name:"TableTags",props:{tags:{type:[Array,String],default:()=>[]},tagMaxWidth:{type:String,default:void 0}},setup(n){const i=n,r=e.computed(()=>{if(Array.isArray(i.tags))return i.tags;if(typeof i.tags=="string")try{const a=JSON.parse(i.tags);return Array.isArray(a)?a:[]}catch{return[]}return[]});return(a,m)=>{var y;return((y=r.value)==null?void 0:y.length)>0?(e.openBlock(),e.createBlock(e.unref(xe.KTruncate),{key:0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,l=>(e.openBlock(),e.createBlock(e.unref(xe.KBadge),{key:l,"max-width":n.tagMaxWidth,onClick:m[0]||(m[0]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l),1)]),_:2},1032,["max-width"]))),128))]),_:1})):(e.openBlock(),e.createElementBlock("span",Sr,"-"))}}}),{useAxios:Tr,useDeleteUrlBuilder:xr,useBaseEntityDeckOptions:wr,useBaseFormDeckOptions:Er,useErrors:Ar,useExternalLinkCreator:_r,useFetchUrlBuilder:Nr,useFetcher:$r,useFetcherCacheKey:Ir,useDebouncedFilter:Or,useStringHelpers:Vr,useHelpers:Dr,useGatewayFeatureSupported:Rr,useTruncationDetector:Kr,useValidators:Lr,useSchemaProvider:Fr,useTableState:Mr}=C.composables;exports.CONFIG_CARD_FORMATS=C.CONFIG_CARD_FORMATS;exports.ConfigurationSchemaSection=C.ConfigurationSchemaSection;exports.ConfigurationSchemaType=C.ConfigurationSchemaType;exports.DECK_COMMAND_EDITOR_KEY=C.DECK_COMMAND_EDITOR_KEY;exports.DECK_COMMAND_EDITOR_MISSING_WARNING=C.DECK_COMMAND_EDITOR_MISSING_WARNING;exports.EventGatewayTypesArray=C.EventGatewayTypesArray;exports.FetcherStatus=C.FetcherStatus;exports.IdentityTypesArray=C.IdentityTypesArray;exports.PLUGIN_FORM_LAYOUT_STATE=C.PLUGIN_FORM_LAYOUT_STATE;exports.SupportedEntityDeckArray=C.SupportedEntityDeckArray;exports.SupportedEntityType=C.SupportedEntityType;exports.SupportedEntityTypesArray=C.SupportedEntityTypesArray;exports.isSupportedDeckEntityType=C.isSupportedDeckEntityType;exports.Appearances=Ye;exports.BASE_FORM_CONFIG_TABS=qt;exports.ConfigCardDisplay=$t;exports.ConfigCardItem=Ge;exports.DeckCodeBlock=Ze;exports.EntityBaseConfigCard=Yn;exports.EntityBaseForm=Qn;exports.EntityBaseFormType=at;exports.EntityBaseTable=io;exports.EntityDeleteModal=so;exports.EntityEmptyState=gr;exports.EntityFilter=wo;exports.EntityFormBlock=Wo;exports.EntityFormSection=Mo;exports.EntityLink=tr;exports.EntityToggleModal=Eo;exports.EntityTypes=lt;exports.GeneratePatModal=Nt;exports.InternalLinkItem=st;exports.JsonCodeBlock=We;exports.PermissionsWrapper=Ao;exports.SensitiveInput=br;exports.TableTags=Br;exports.TerraformCodeBlock=Xe;exports.YamlCodeBlock=Qe;exports.highlightCodeBlock=Be;exports.useAxios=Tr;exports.useBaseEntityDeckOptions=wr;exports.useBaseFormDeckOptions=Er;exports.useDebouncedFilter=Or;exports.useDeleteUrlBuilder=xr;exports.useErrors=Ar;exports.useExternalLinkCreator=_r;exports.useFetchUrlBuilder=Nr;exports.useFetcher=$r;exports.useFetcherCacheKey=Ir;exports.useGatewayFeatureSupported=Rr;exports.useHelpers=Dr;exports.useSchemaProvider=Fr;exports.useStringHelpers=Vr;exports.useTableState=Mr;exports.useTruncationDetector=Kr;exports.useValidators=Lr;
@@ -3586,7 +3586,7 @@ ${$.value}
3586
3586
  }, 8, ["class"]);
3587
3587
  };
3588
3588
  }
3589
- }), Jr = /* @__PURE__ */ Ee(oo, [["__scopeId", "data-v-7ce8c23d"]]), ro = ["data-truncate"], lo = /* @__PURE__ */ Ce({
3589
+ }), Jr = /* @__PURE__ */ Ee(oo, [["__scopeId", "data-v-b3590221"]]), ro = ["data-truncate"], lo = /* @__PURE__ */ Ce({
3590
3590
  __name: "EntityBaseTableCell",
3591
3591
  props: {
3592
3592
  keyName: {
@@ -4628,7 +4628,7 @@ const Mo = ["aria-labelledby"], Fo = { class: "form-section-wrapper" }, No = {
4628
4628
  ])
4629
4629
  ], 2));
4630
4630
  }
4631
- }), il = /* @__PURE__ */ Ee(Wo, [["__scopeId", "data-v-8e48a559"]]), Jo = {
4631
+ }), il = /* @__PURE__ */ Ee(Wo, [["__scopeId", "data-v-7dd2f21d"]]), Jo = {
4632
4632
  class: "kong-ui-public-entity-link",
4633
4633
  "data-testid": "entity-link-parent"
4634
4634
  }, Qo = {
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.config-card-fieldset[data-v-5baf64ca]{border:solid 1px #e0e4ea;border:solid var(--kui-border-width-10, 1px) var(--kui-color-border, #e0e4ea);border-radius:4px;margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:4px}.config-card-fieldset-title[data-v-5baf64ca]{font-size:14px;font-size:var(--kui-font-size-30, 14px);padding:0 8px;padding:0 var(--kui-space-40, 8px);width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px;margin:var(--kui-space-0, 0px) var(--kui-space-60, 16px)}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-2feb8c2e] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-b6987b3c]{align-items:center;border-bottom:var(--v25a763c4);box-sizing:border-box;display:var(--v1ac90e12);padding:16px;padding:var(--kui-space-60, 16px);padding-left:0;width:100%}.config-card-details-row .config-card-details-label[data-v-b6987b3c]{box-sizing:border-box;padding-right:16px;padding-right:var(--kui-space-60, 16px);width:var(--v45a716ee)}.config-card-details-row .config-card-details-label label[data-v-b6987b3c]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-b6987b3c]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-b6987b3c]{min-width:0}.config-card-details-row .config-card-details-value[data-v-b6987b3c]{box-sizing:border-box;width:var(--v45a28b38)}.config-card-details-row .config-card-details-value .truncated[data-v-b6987b3c]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-b6987b3c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-b6987b3c] .k-copy:not(:last-of-type){margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.config-card-details-row .config-card-details-value .method-badge-array[data-v-b6987b3c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-b6987b3c]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.config-card-details-row[data-v-b6987b3c] .k-label{margin-bottom:0}.config-card-details-row[data-v-b6987b3c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-b6987b3c] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-left-radius:var(--kui-border-radius-0, 0px);border-top-right-radius:0;border-top-right-radius:var(--kui-border-radius-0, 0px)}.json-endpoint{align-items:baseline;background-color:#000933;background-color:var(--kui-color-background-inverse, #000933);border-bottom:1px solid rgba(255,255,255,.2);border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border-inverse, rgba(255, 255, 255, .2));border-top-left-radius:8px;border-top-left-radius:var(--kui-border-radius-40, 8px);border-top-right-radius:8px;border-top-right-radius:var(--kui-border-radius-40, 8px);display:flex;padding:8px 0 8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-0, 0px) var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-bottom:var(--kui-space-0, 0px);padding-top:0;padding-top:var(--kui-space-0, 0px)}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--c7479fcc);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.deck-callout[data-v-0bf1334c]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-callout .cta[data-v-0bf1334c]{background:none;border:none;color:inherit;cursor:pointer;font:inherit;font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);padding:0;text-decoration:underline}.generate-pat-modal[data-v-be3cd315] .modal-content{display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px)}.deck-config .k-select[data-v-991fe861]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-config .k-code-block[data-v-991fe861]{margin-top:12px;margin-top:var(--kui-space-50, 12px)}.deck-config .k-code-block.customization[data-v-991fe861]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:1px solid var(--kui-color-border, #e0e4ea);border-radius:8px;border-radius:var(--kui-border-radius-40, 8px)}.deck-config .step-title[data-v-991fe861]{align-items:center;align-self:stretch;font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:16px}.deck-config .step-title[data-v-991fe861]:not(:first-child){margin-top:16px;margin-top:var(--kui-space-60, 16px)}.deck-config .konnect-pat-actions[data-v-991fe861]{align-items:center;display:flex;flex-direction:row;gap:8px;gap:var(--kui-space-40, 8px);margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .copy-konnect-pat-alert[data-v-991fe861]{margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .customization-secret-advise[data-v-991fe861]{font-size:14px;font-size:var(--kui-font-size-30, 14px);opacity:.7}.deck-config .customization-footer-reminder[data-v-991fe861]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.config-card-prop-section-title[data-v-83075649]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card .config-card-actions[data-v-aa5da890]{align-items:center;display:flex;gap:16px;gap:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .config-card-actions .row[data-v-aa5da890]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-aa5da890]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px);margin-right:8px;margin-right:var(--kui-space-40, 8px)}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-aa5da890]{align-items:center}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-aa5da890] .checkbox-label{width:max-content}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-aa5da890]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card[data-v-aa5da890]:not(:has(.config-card-details-after)) .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .config-card-details-after[data-v-aa5da890]{padding-top:16px;padding-top:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .book-icon[data-v-aa5da890]{margin-left:8px;margin-left:var(--kui-space-40, 8px);padding:0;padding:var(--kui-space-0, 0px)}.kong-ui-entity-base-form[data-v-7ce8c23d]{box-sizing:border-box;max-width:1536px;max-width:var(--kui-breakpoint-desktop, 1536px);width:100%}.kong-ui-entity-base-form[data-v-7ce8c23d] .k-slideout-title{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-size:24px!important;font-size:var(--kui-font-size-70, 24px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:32px!important;line-height:var(--kui-line-height-60, 32px)!important;margin-bottom:16px!important;margin-bottom:var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-7ce8c23d] .k-card.content-card{padding:0 16px!important;padding:var(--kui-space-0, 0px) var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-7ce8c23d] .tab-item>div.tab-link.has-panels{color:#6c7489!important;color:var(--kui-color-text-neutral, #6c7489)!important;font-size:14px!important;font-size:var(--kui-font-size-30, 14px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:24px!important;line-height:var(--kui-line-height-40, 24px)!important}.kong-ui-entity-base-form[data-v-7ce8c23d] .tab-item.active>div.tab-link.has-panels{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-weight:600!important;font-weight:var(--kui-font-weight-semibold, 600)!important}.kong-ui-entity-base-form[data-v-7ce8c23d] .slideout-content{overflow-y:unset!important}.kong-ui-entity-base-form.new-form-layout[data-v-7ce8c23d]{border:none;padding:0}.kong-ui-entity-base-form.new-form-layout[data-v-7ce8c23d]>.card-content>form>.form-actions{justify-content:flex-start;margin-top:20px;margin-top:var(--kui-space-70, 20px)}.kong-ui-entity-base-form.new-form-layout .form-error[data-v-7ce8c23d]{margin:20px 0 0 16px;margin:var(--kui-space-70, 20px) 0 0 var(--kui-space-60, 16px)}.kong-ui-entity-base-form .button-customize-deck-wrapper[data-v-7ce8c23d]{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.form-actions[data-v-7ce8c23d]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px;margin-top:var(--kui-space-80, 24px)}.form-actions[data-v-7ce8c23d] .k-button:last-of-type,.form-actions[data-v-7ce8c23d] .k-button:nth-last-of-type(2){margin-inline-start:16px;margin-inline-start:var(--kui-space-60, 16px)}.form-actions-reverted[data-v-7ce8c23d]{direction:rtl}.content-wrapper[data-v-a3a65cac] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-09e101d4]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-09e101d4]{margin-left:auto}.kong-ui-entity-base-table .hidden[data-v-09e101d4]{display:none}.kong-ui-entity-delete-modal .message[data-v-fc366e0c],.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .message strong[data-v-fc366e0c]{font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-modal .body-stacked-copy .description[data-v-fc366e0c]{margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .description>p[data-v-fc366e0c]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .message[data-v-fc366e0c]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal[data-v-fc366e0c] .prompt-confirmation-text{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal-stacked-copy[data-v-fc366e0c] .prompt-content+.prompt-confirmation-container{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-error[data-v-fc366e0c]{margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-entity-filter-input[data-v-3ece8659]{width:100%}.kong-ui-entity-filter-clear[data-v-3ece8659]{cursor:pointer}.kong-ui-entity-filter[data-v-3ece8659]{display:flex;position:relative}.kong-ui-entity-filter[data-v-3ece8659] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-3ece8659] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-3ece8659]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-3ece8659]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);box-shadow:0 4px 20px #e0e4ea;box-shadow:0 4px 20px var(--kui-color-border, #e0e4ea);left:0;margin-top:16px;padding:8px 0 12px;padding:var(--kui-space-40, 8px) 0 var(--kui-space-50, 12px);position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-3ece8659]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);font-size:12px;font-size:var(--kui-font-size-20, 12px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:16px;line-height:var(--kui-line-height-20, 16px);list-style:none;margin:0 20px;margin:var(--kui-space-0, 0px) var(--kui-space-70, 20px);padding:16px 0;padding:var(--kui-space-60, 16px) 0;position:relative;white-space:nowrap}.menu-item-title[data-v-3ece8659]{align-items:center;cursor:pointer;display:flex;line-height:24px;line-height:var(--kui-line-height-40, 24px)}.menu-item-title.expanded[data-v-3ece8659]{color:#232633;color:var(--kui-color-text-neutral-strongest, #232633)}.menu-item-expand-icon[data-v-3ece8659]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-3ece8659]{transform:rotate(180deg)}.menu-item-indicator[data-v-3ece8659]{background-color:#0044f4;background-color:var(--kui-color-background-primary, #0044f4);border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-3ece8659]{align-items:center;display:flex;justify-content:space-between;margin-top:16px;margin-top:var(--kui-space-60, 16px)}.menu-item-body[data-v-3ece8659] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-3ece8659] .k-input{width:100%}.menu-item-body[data-v-3ece8659] .k-select-input .input{font-size:12px}.menu-item-body[data-v-3ece8659] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-3ece8659]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-3ece8659]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-3ece8659]{padding:12px 20px 0;padding:var(--kui-space-50, 12px) var(--kui-space-70, 20px) 0}fieldset[data-v-ccd29028]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-ccd29028]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{column-gap:16px;column-gap:var(--kui-space-60, 16px);display:flex;flex-direction:column;padding-bottom:64px;padding-bottom:var(--kui-space-130, 64px);row-gap:12px;row-gap:var(--kui-space-50, 12px);width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-ccd29028]{height:fit-content;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-ccd29028]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028] p{color:#000933;color:var(--kui-color-text, #000933);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-ccd29028]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]>*:not(:first-child){margin-top:24px;margin-top:var(--kui-space-80, 24px)}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-ccd29028]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea)}.kong-ui-entity-form-block .header[data-v-8e48a559]{align-items:flex-start;display:flex;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-entity-form-block .step[data-v-8e48a559]{align-items:center;background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:1px solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:100px;border-radius:var(--kui-border-radius-round, 100px);display:flex;flex:0 0 auto;height:32px;justify-content:center;padding:4px;padding:var(--kui-space-20, 4px);width:32px}.kong-ui-entity-form-block .header-content[data-v-8e48a559]{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);padding-top:4px;padding-top:var(--kui-space-20, 4px)}.kong-ui-entity-form-block .header-title[data-v-8e48a559]{color:#000933;color:var(--kui-color-text, #000933);font-size:18px;font-size:var(--kui-font-size-50, 18px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:24px;line-height:var(--kui-line-height-40, 24px);margin:0}.kong-ui-entity-form-block .header-description[data-v-8e48a559]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0}.kong-ui-entity-form-block .header-extra[data-v-8e48a559]{align-items:center;display:flex;flex:0 0 auto;gap:8px;gap:var(--kui-space-40, 8px);justify-content:flex-end}.kong-ui-entity-form-block .content[data-v-8e48a559]{background:#f9fafb;background:var(--kui-color-background-neutral-weakest, #f9fafb);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px);margin-top:20px;margin-top:var(--kui-space-70, 20px);padding:20px 24px;padding:var(--kui-space-70, 20px) var(--kui-space-80, 24px)}.kong-ui-entity-form-block.stepped .content[data-v-8e48a559]{margin-left:16px;margin-left:var(--kui-space-60, 16px)}.kong-ui-public-entity-link[data-v-6668aea9]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-6668aea9]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-6668aea9]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-6668aea9] .external-link-icon{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);margin-left:4px;margin-left:var(--kui-space-20, 4px);padding:2px;padding:var(--kui-space-10, 2px)}.kong-ui-public-entity-link .entity-link-label[data-v-6668aea9]{display:inline-block;font-weight:400;font-weight:var(--kui-font-weight-regular, 400);max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-6668aea9]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-6668aea9]{margin-left:2px;margin-left:var(--kui-space-10, 2px)}.kong-ui-public-entity-empty-state[data-v-0b2e9081]{align-items:center;background-color:#fff;background-color:var(--kui-color-background, #ffffff);box-sizing:border-box;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kui-font-family-text, "Inter", Roboto, Helvetica, sans-serif);gap:24px;gap:var(--kui-space-80, 24px);padding:64px 0;padding:var(--kui-space-130, 64px) var(--kui-space-0, 0px);width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state[data-v-0b2e9081]{padding:64px 96px;padding:var(--kui-space-130, 64px) var(--kui-space-150, 96px)}}.kong-ui-public-entity-empty-state .empty-state-image[data-v-0b2e9081]{margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.kong-ui-public-entity-empty-state .entity-empty-state-content[data-v-0b2e9081]{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);text-align:center;width:100%}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1[data-v-0b2e9081]{align-items:center;color:#000933;color:var(--kui-color-text, #000933);display:flex;font-size:24px;font-size:var(--kui-font-size-70, 24px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:8px;gap:var(--kui-space-40, 8px);line-height:32px;line-height:var(--kui-line-height-60, 32px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1.secondary[data-v-0b2e9081]{font-size:18px;font-size:var(--kui-font-size-50, 18px)}.kong-ui-public-entity-empty-state .entity-empty-state-description[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:20px;line-height:var(--kui-line-height-30, 20px);max-width:640px}.kong-ui-public-entity-empty-state .entity-empty-state-description p[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing p[data-v-0b2e9081]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.kong-ui-public-entity-empty-state .entity-empty-state-message[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e)}.kong-ui-public-entity-empty-state .entity-empty-state-action[data-v-0b2e9081]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{display:flex;flex-wrap:wrap;gap:16px;gap:var(--kui-space-60, 16px);justify-content:space-around;margin-top:8px;margin-top:var(--kui-space-40, 8px);width:312px}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081]{background-color:#f9fafb;background-color:var(--kui-color-background-neutral-weakest, #f9fafb);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#afb7c5;color:var(--kui-color-text-neutral-weak, #afb7c5);gap:8px;gap:var(--kui-space-40, 8px);height:160px;padding:20px;padding:var(--kui-space-70, 20px);width:312px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:flex;margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081] .kui-icon{height:20px!important;height:var(--kui-icon-size-40, 20px)!important;width:20px!important;width:var(--kui-icon-size-40, 20px)!important}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-title{font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-content{-webkit-box-orient:vertical;color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{border-top:1px solid #e0e4ea;border-top:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);display:flex;flex-direction:column;gap:16px;gap:var(--kui-space-60, 16px);padding-top:48px;padding-top:var(--kui-space-110, 48px);width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-sensitive-input[data-v-9efb72a4]{display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-public-sensitive-input[data-v-9efb72a4] .after-content-wrapper{align-items:center;gap:4px!important;gap:var(--kui-space-20, 4px)!important}.kong-ui-public-sensitive-input[data-v-9efb72a4] .input{padding-right:var(--v430bd82e)!important}.kong-ui-public-sensitive-input .sensitive-input-action[data-v-9efb72a4]{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);white-space:nowrap}.kong-ui-public-sensitive-input .sensitive-input-toggle[data-v-9efb72a4]{color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);cursor:pointer}.kong-ui-public-sensitive-input .sensitive-input-hint[data-v-9efb72a4]{align-items:center;background-color:#eefaff;background-color:var(--kui-color-background-info-weakest, #eefaff);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#0044f4;color:var(--kui-color-text-info, #0044f4);display:flex;gap:8px;gap:var(--kui-space-40, 8px);padding:8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-icon[data-v-9efb72a4]{flex-shrink:0}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-text[data-v-9efb72a4]{flex:1;font-size:14px;font-size:var(--kui-font-size-30, 14px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-copy[data-v-9efb72a4]{display:inline-flex;font-size:12px;font-size:var(--kui-font-size-20, 12px);gap:4px;gap:var(--kui-space-20, 4px)}.deck-command-editor-wrapper[data-v-55ffc70c]{isolation:isolate;position:relative}.deck-command-editor-wrapper .deck-command-editor[data-v-55ffc70c]{height:300px;margin-top:12px;margin-top:var(--kui-space-50, 12px);width:100%}.deck-command-editor-wrapper .deck-command-copy-button[data-v-55ffc70c]{opacity:0;position:absolute;right:10px;top:10px;transition:opacity linear .2s;transition:opacity linear var(--kui-animation-duration-20, .2s);z-index:10000}.deck-command-editor-wrapper:hover .deck-command-copy-button[data-v-55ffc70c]{opacity:1}.editor-skeleton[data-v-ec59bbd1]{margin-top:4px;margin-top:var(--kui-space-20, 4px)}
1
+ @charset "UTF-8";.config-card-fieldset[data-v-5baf64ca]{border:solid 1px #e0e4ea;border:solid var(--kui-border-width-10, 1px) var(--kui-color-border, #e0e4ea);border-radius:4px;margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:4px}.config-card-fieldset-title[data-v-5baf64ca]{font-size:14px;font-size:var(--kui-font-size-30, 14px);padding:0 8px;padding:0 var(--kui-space-40, 8px);width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px;margin:var(--kui-space-0, 0px) var(--kui-space-60, 16px)}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-2feb8c2e] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-b6987b3c]{align-items:center;border-bottom:var(--v25a763c4);box-sizing:border-box;display:var(--v1ac90e12);padding:16px;padding:var(--kui-space-60, 16px);padding-left:0;width:100%}.config-card-details-row .config-card-details-label[data-v-b6987b3c]{box-sizing:border-box;padding-right:16px;padding-right:var(--kui-space-60, 16px);width:var(--v45a716ee)}.config-card-details-row .config-card-details-label label[data-v-b6987b3c]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-b6987b3c]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-b6987b3c]{min-width:0}.config-card-details-row .config-card-details-value[data-v-b6987b3c]{box-sizing:border-box;width:var(--v45a28b38)}.config-card-details-row .config-card-details-value .truncated[data-v-b6987b3c]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-b6987b3c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-b6987b3c] .k-copy:not(:last-of-type){margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.config-card-details-row .config-card-details-value .method-badge-array[data-v-b6987b3c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-b6987b3c]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.config-card-details-row[data-v-b6987b3c] .k-label{margin-bottom:0}.config-card-details-row[data-v-b6987b3c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-b6987b3c] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-left-radius:var(--kui-border-radius-0, 0px);border-top-right-radius:0;border-top-right-radius:var(--kui-border-radius-0, 0px)}.json-endpoint{align-items:baseline;background-color:#000933;background-color:var(--kui-color-background-inverse, #000933);border-bottom:1px solid rgba(255,255,255,.2);border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border-inverse, rgba(255, 255, 255, .2));border-top-left-radius:8px;border-top-left-radius:var(--kui-border-radius-40, 8px);border-top-right-radius:8px;border-top-right-radius:var(--kui-border-radius-40, 8px);display:flex;padding:8px 0 8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-0, 0px) var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-bottom:var(--kui-space-0, 0px);padding-top:0;padding-top:var(--kui-space-0, 0px)}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--c7479fcc);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.deck-callout[data-v-0bf1334c]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-callout .cta[data-v-0bf1334c]{background:none;border:none;color:inherit;cursor:pointer;font:inherit;font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);padding:0;text-decoration:underline}.generate-pat-modal[data-v-be3cd315] .modal-content{display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px)}.deck-config .k-select[data-v-991fe861]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-config .k-code-block[data-v-991fe861]{margin-top:12px;margin-top:var(--kui-space-50, 12px)}.deck-config .k-code-block.customization[data-v-991fe861]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:1px solid var(--kui-color-border, #e0e4ea);border-radius:8px;border-radius:var(--kui-border-radius-40, 8px)}.deck-config .step-title[data-v-991fe861]{align-items:center;align-self:stretch;font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:16px}.deck-config .step-title[data-v-991fe861]:not(:first-child){margin-top:16px;margin-top:var(--kui-space-60, 16px)}.deck-config .konnect-pat-actions[data-v-991fe861]{align-items:center;display:flex;flex-direction:row;gap:8px;gap:var(--kui-space-40, 8px);margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .copy-konnect-pat-alert[data-v-991fe861]{margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .customization-secret-advise[data-v-991fe861]{font-size:14px;font-size:var(--kui-font-size-30, 14px);opacity:.7}.deck-config .customization-footer-reminder[data-v-991fe861]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.config-card-prop-section-title[data-v-83075649]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card .config-card-actions[data-v-aa5da890]{align-items:center;display:flex;gap:16px;gap:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .config-card-actions .row[data-v-aa5da890]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-aa5da890]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px);margin-right:8px;margin-right:var(--kui-space-40, 8px)}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-aa5da890]{align-items:center}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-aa5da890] .checkbox-label{width:max-content}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-aa5da890]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card[data-v-aa5da890]:not(:has(.config-card-details-after)) .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .config-card-details-after[data-v-aa5da890]{padding-top:16px;padding-top:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .book-icon[data-v-aa5da890]{margin-left:8px;margin-left:var(--kui-space-40, 8px);padding:0;padding:var(--kui-space-0, 0px)}.kong-ui-entity-base-form[data-v-b3590221]{box-sizing:border-box;max-width:1536px;max-width:var(--kui-breakpoint-desktop, 1536px);width:100%}.kong-ui-entity-base-form[data-v-b3590221] .k-slideout-title{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-size:24px!important;font-size:var(--kui-font-size-70, 24px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:32px!important;line-height:var(--kui-line-height-60, 32px)!important;margin-bottom:16px!important;margin-bottom:var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-b3590221] .k-card.content-card{padding:0 16px!important;padding:var(--kui-space-0, 0px) var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-b3590221] .tab-item>div.tab-link.has-panels{color:#6c7489!important;color:var(--kui-color-text-neutral, #6c7489)!important;font-size:14px!important;font-size:var(--kui-font-size-30, 14px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:24px!important;line-height:var(--kui-line-height-40, 24px)!important}.kong-ui-entity-base-form[data-v-b3590221] .tab-item.active>div.tab-link.has-panels{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-weight:600!important;font-weight:var(--kui-font-weight-semibold, 600)!important}.kong-ui-entity-base-form[data-v-b3590221] .slideout-content{overflow-y:unset!important}.kong-ui-entity-base-form.new-form-layout[data-v-b3590221]{background-color:transparent;background-color:var(--kui-color-background-transparent, transparent);border:none;padding:0}.kong-ui-entity-base-form.new-form-layout[data-v-b3590221]>.card-content>form>.form-actions{justify-content:flex-start;margin-top:20px;margin-top:var(--kui-space-70, 20px)}.kong-ui-entity-base-form.new-form-layout .form-error[data-v-b3590221]{margin:20px 0 0 16px;margin:var(--kui-space-70, 20px) 0 0 var(--kui-space-60, 16px)}.kong-ui-entity-base-form .button-customize-deck-wrapper[data-v-b3590221]{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.form-actions[data-v-b3590221]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px;margin-top:var(--kui-space-80, 24px)}.form-actions[data-v-b3590221] .k-button:last-of-type,.form-actions[data-v-b3590221] .k-button:nth-last-of-type(2){margin-inline-start:16px;margin-inline-start:var(--kui-space-60, 16px)}.form-actions-reverted[data-v-b3590221]{direction:rtl}.content-wrapper[data-v-a3a65cac] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-09e101d4]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-09e101d4]{margin-left:auto}.kong-ui-entity-base-table .hidden[data-v-09e101d4]{display:none}.kong-ui-entity-delete-modal .message[data-v-fc366e0c],.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .message strong[data-v-fc366e0c]{font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-modal .body-stacked-copy .description[data-v-fc366e0c]{margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .description>p[data-v-fc366e0c]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .message[data-v-fc366e0c]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal[data-v-fc366e0c] .prompt-confirmation-text{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal-stacked-copy[data-v-fc366e0c] .prompt-content+.prompt-confirmation-container{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-error[data-v-fc366e0c]{margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-entity-filter-input[data-v-3ece8659]{width:100%}.kong-ui-entity-filter-clear[data-v-3ece8659]{cursor:pointer}.kong-ui-entity-filter[data-v-3ece8659]{display:flex;position:relative}.kong-ui-entity-filter[data-v-3ece8659] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-3ece8659] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-3ece8659]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-3ece8659]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);box-shadow:0 4px 20px #e0e4ea;box-shadow:0 4px 20px var(--kui-color-border, #e0e4ea);left:0;margin-top:16px;padding:8px 0 12px;padding:var(--kui-space-40, 8px) 0 var(--kui-space-50, 12px);position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-3ece8659]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);font-size:12px;font-size:var(--kui-font-size-20, 12px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:16px;line-height:var(--kui-line-height-20, 16px);list-style:none;margin:0 20px;margin:var(--kui-space-0, 0px) var(--kui-space-70, 20px);padding:16px 0;padding:var(--kui-space-60, 16px) 0;position:relative;white-space:nowrap}.menu-item-title[data-v-3ece8659]{align-items:center;cursor:pointer;display:flex;line-height:24px;line-height:var(--kui-line-height-40, 24px)}.menu-item-title.expanded[data-v-3ece8659]{color:#232633;color:var(--kui-color-text-neutral-strongest, #232633)}.menu-item-expand-icon[data-v-3ece8659]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-3ece8659]{transform:rotate(180deg)}.menu-item-indicator[data-v-3ece8659]{background-color:#0044f4;background-color:var(--kui-color-background-primary, #0044f4);border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-3ece8659]{align-items:center;display:flex;justify-content:space-between;margin-top:16px;margin-top:var(--kui-space-60, 16px)}.menu-item-body[data-v-3ece8659] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-3ece8659] .k-input{width:100%}.menu-item-body[data-v-3ece8659] .k-select-input .input{font-size:12px}.menu-item-body[data-v-3ece8659] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-3ece8659]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-3ece8659]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-3ece8659]{padding:12px 20px 0;padding:var(--kui-space-50, 12px) var(--kui-space-70, 20px) 0}fieldset[data-v-ccd29028]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-ccd29028]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{column-gap:16px;column-gap:var(--kui-space-60, 16px);display:flex;flex-direction:column;padding-bottom:64px;padding-bottom:var(--kui-space-130, 64px);row-gap:12px;row-gap:var(--kui-space-50, 12px);width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-ccd29028]{height:fit-content;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-ccd29028]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028] p{color:#000933;color:var(--kui-color-text, #000933);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-ccd29028]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]>*:not(:first-child){margin-top:24px;margin-top:var(--kui-space-80, 24px)}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-ccd29028]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea)}.kong-ui-entity-form-block .header[data-v-7dd2f21d]{align-items:flex-start;display:flex;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-entity-form-block .step[data-v-7dd2f21d]{align-items:center;background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:1px solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:100px;border-radius:var(--kui-border-radius-round, 100px);display:flex;flex:0 0 auto;height:32px;justify-content:center;padding:4px;padding:var(--kui-space-20, 4px);width:32px}.kong-ui-entity-form-block .header-content[data-v-7dd2f21d]{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);padding-top:4px;padding-top:var(--kui-space-20, 4px)}.kong-ui-entity-form-block .header-title[data-v-7dd2f21d]{color:#000933;color:var(--kui-color-text, #000933);font-size:18px;font-size:var(--kui-font-size-50, 18px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:24px;line-height:var(--kui-line-height-40, 24px);margin:0}.kong-ui-entity-form-block .header-description[data-v-7dd2f21d]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0}.kong-ui-entity-form-block .header-extra[data-v-7dd2f21d]{align-items:center;display:flex;flex:0 0 auto;gap:8px;gap:var(--kui-space-40, 8px);justify-content:flex-end}.kong-ui-entity-form-block .content[data-v-7dd2f21d]{background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px);margin-top:20px;margin-top:var(--kui-space-70, 20px);padding:20px 24px;padding:var(--kui-space-70, 20px) var(--kui-space-80, 24px)}.kong-ui-entity-form-block.stepped .content[data-v-7dd2f21d]{margin-left:16px;margin-left:var(--kui-space-60, 16px)}.kong-ui-public-entity-link[data-v-6668aea9]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-6668aea9]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-6668aea9]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-6668aea9] .external-link-icon{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);margin-left:4px;margin-left:var(--kui-space-20, 4px);padding:2px;padding:var(--kui-space-10, 2px)}.kong-ui-public-entity-link .entity-link-label[data-v-6668aea9]{display:inline-block;font-weight:400;font-weight:var(--kui-font-weight-regular, 400);max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-6668aea9]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-6668aea9]{margin-left:2px;margin-left:var(--kui-space-10, 2px)}.kong-ui-public-entity-empty-state[data-v-0b2e9081]{align-items:center;background-color:#fff;background-color:var(--kui-color-background, #ffffff);box-sizing:border-box;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kui-font-family-text, "Inter", Roboto, Helvetica, sans-serif);gap:24px;gap:var(--kui-space-80, 24px);padding:64px 0;padding:var(--kui-space-130, 64px) var(--kui-space-0, 0px);width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state[data-v-0b2e9081]{padding:64px 96px;padding:var(--kui-space-130, 64px) var(--kui-space-150, 96px)}}.kong-ui-public-entity-empty-state .empty-state-image[data-v-0b2e9081]{margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.kong-ui-public-entity-empty-state .entity-empty-state-content[data-v-0b2e9081]{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);text-align:center;width:100%}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1[data-v-0b2e9081]{align-items:center;color:#000933;color:var(--kui-color-text, #000933);display:flex;font-size:24px;font-size:var(--kui-font-size-70, 24px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:8px;gap:var(--kui-space-40, 8px);line-height:32px;line-height:var(--kui-line-height-60, 32px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1.secondary[data-v-0b2e9081]{font-size:18px;font-size:var(--kui-font-size-50, 18px)}.kong-ui-public-entity-empty-state .entity-empty-state-description[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:20px;line-height:var(--kui-line-height-30, 20px);max-width:640px}.kong-ui-public-entity-empty-state .entity-empty-state-description p[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing p[data-v-0b2e9081]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.kong-ui-public-entity-empty-state .entity-empty-state-message[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e)}.kong-ui-public-entity-empty-state .entity-empty-state-action[data-v-0b2e9081]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{display:flex;flex-wrap:wrap;gap:16px;gap:var(--kui-space-60, 16px);justify-content:space-around;margin-top:8px;margin-top:var(--kui-space-40, 8px);width:312px}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081]{background-color:#f9fafb;background-color:var(--kui-color-background-neutral-weakest, #f9fafb);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#afb7c5;color:var(--kui-color-text-neutral-weak, #afb7c5);gap:8px;gap:var(--kui-space-40, 8px);height:160px;padding:20px;padding:var(--kui-space-70, 20px);width:312px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:flex;margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081] .kui-icon{height:20px!important;height:var(--kui-icon-size-40, 20px)!important;width:20px!important;width:var(--kui-icon-size-40, 20px)!important}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-title{font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-content{-webkit-box-orient:vertical;color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{border-top:1px solid #e0e4ea;border-top:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);display:flex;flex-direction:column;gap:16px;gap:var(--kui-space-60, 16px);padding-top:48px;padding-top:var(--kui-space-110, 48px);width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-sensitive-input[data-v-9efb72a4]{display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-public-sensitive-input[data-v-9efb72a4] .after-content-wrapper{align-items:center;gap:4px!important;gap:var(--kui-space-20, 4px)!important}.kong-ui-public-sensitive-input[data-v-9efb72a4] .input{padding-right:var(--v430bd82e)!important}.kong-ui-public-sensitive-input .sensitive-input-action[data-v-9efb72a4]{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);white-space:nowrap}.kong-ui-public-sensitive-input .sensitive-input-toggle[data-v-9efb72a4]{color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);cursor:pointer}.kong-ui-public-sensitive-input .sensitive-input-hint[data-v-9efb72a4]{align-items:center;background-color:#eefaff;background-color:var(--kui-color-background-info-weakest, #eefaff);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#0044f4;color:var(--kui-color-text-info, #0044f4);display:flex;gap:8px;gap:var(--kui-space-40, 8px);padding:8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-icon[data-v-9efb72a4]{flex-shrink:0}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-text[data-v-9efb72a4]{flex:1;font-size:14px;font-size:var(--kui-font-size-30, 14px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-copy[data-v-9efb72a4]{display:inline-flex;font-size:12px;font-size:var(--kui-font-size-20, 12px);gap:4px;gap:var(--kui-space-20, 4px)}.deck-command-editor-wrapper[data-v-55ffc70c]{isolation:isolate;position:relative}.deck-command-editor-wrapper .deck-command-editor[data-v-55ffc70c]{height:300px;margin-top:12px;margin-top:var(--kui-space-50, 12px);width:100%}.deck-command-editor-wrapper .deck-command-copy-button[data-v-55ffc70c]{opacity:0;position:absolute;right:10px;top:10px;transition:opacity linear .2s;transition:opacity linear var(--kui-animation-duration-20, .2s);z-index:10000}.deck-command-editor-wrapper:hover .deck-command-copy-button[data-v-55ffc70c]{opacity:1}.editor-skeleton[data-v-ec59bbd1]{margin-top:4px;margin-top:var(--kui-space-20, 4px)}
@@ -1 +1 @@
1
- {"version":3,"file":"EntityBaseForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-form/EntityBaseForm.vue"],"names":[],"mappings":"AA8jBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,yBAAyB,EAAuB,MAAM,aAAa,CAAA;AAC3H,OAAO,EAA6B,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAE5E,OAAO,KAAK,EAAE,eAAe,EAAO,MAAM,mBAAmB,CAAA;AA4zB7D,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,gCAAgC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKzE,QAAA,MAAM,UAAU;IAId,oHAAoH;;cAElG,QAAQ,CAAC,qBAAqB,GAAG,yBAAyB,CAAC;;4BAEvD,qBAAqB,GAAG,yBAAyB,KAAG,OAAO;;IAOjF,0FAA0F;;cAExE,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;IAIzC;;OAEG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;yBAE5B,mBAAmB;;IAEtC;;OAEG;;;;;;IAMH;;;;;;;OAOG;;;;;;IAMH,iFAAiF;;;;;;IAMjF,qEAAqE;;;;;;IAMrE,qEAAqE;;;;;;IAMrE,+DAA+D;;cAE7C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/C;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;IASH;;;;OAIG;;;;;IAKH;;;OAGG;;cAEe,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;;;OAIG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;;IAG/C;;OAEG;;cAEc,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;;;sBA9vB7B,IAAI;sBAYO,IAAI;sBAKN,IAAI;;;;;;;;;IAqlB9B,oHAAoH;;cAElG,QAAQ,CAAC,qBAAqB,GAAG,yBAAyB,CAAC;;4BAEvD,qBAAqB,GAAG,yBAAyB,KAAG,OAAO;;IAOjF,0FAA0F;;cAExE,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;IAIzC;;OAEG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;yBAE5B,mBAAmB;;IAEtC;;OAEG;;;;;;IAMH;;;;;;;OAOG;;;;;;IAMH,iFAAiF;;;;;;IAMjF,qEAAqE;;;;;;IAMrE,qEAAqE;;;;;;IAMrE,+DAA+D;;cAE7C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/C;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;IASH;;;;OAIG;;;;;IAKH;;;OAGG;;cAEe,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;;;OAIG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;;IAG/C;;OAEG;;cAEc,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAK9C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"EntityBaseForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-form/EntityBaseForm.vue"],"names":[],"mappings":"AA+jBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,yBAAyB,EAAuB,MAAM,aAAa,CAAA;AAC3H,OAAO,EAA6B,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAE5E,OAAO,KAAK,EAAE,eAAe,EAAO,MAAM,mBAAmB,CAAA;AA4zB7D,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,gCAAgC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKzE,QAAA,MAAM,UAAU;IAId,oHAAoH;;cAElG,QAAQ,CAAC,qBAAqB,GAAG,yBAAyB,CAAC;;4BAEvD,qBAAqB,GAAG,yBAAyB,KAAG,OAAO;;IAOjF,0FAA0F;;cAExE,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;IAIzC;;OAEG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;yBAE5B,mBAAmB;;IAEtC;;OAEG;;;;;;IAMH;;;;;;;OAOG;;;;;;IAMH,iFAAiF;;;;;;IAMjF,qEAAqE;;;;;;IAMrE,qEAAqE;;;;;;IAMrE,+DAA+D;;cAE7C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/C;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;IASH;;;;OAIG;;;;;IAKH;;;OAGG;;cAEe,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;;;OAIG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;;IAG/C;;OAEG;;cAEc,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;;;sBA9vB7B,IAAI;sBAYO,IAAI;sBAKN,IAAI;;;;;;;;;IAqlB9B,oHAAoH;;cAElG,QAAQ,CAAC,qBAAqB,GAAG,yBAAyB,CAAC;;4BAEvD,qBAAqB,GAAG,yBAAyB,KAAG,OAAO;;IAOjF,0FAA0F;;cAExE,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;IAIzC;;OAEG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;yBAE5B,mBAAmB;;IAEtC;;OAEG;;;;;;IAMH;;;;;;;OAOG;;;;;;IAMH,iFAAiF;;;;;;IAMjF,qEAAqE;;;;;;IAMrE,qEAAqE;;;;;;IAMrE,+DAA+D;;cAE7C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/C;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;IASH;;;;OAIG;;;;;IAKH;;;OAGG;;cAEe,QAAQ,CAAC,eAAe,CAAC;;;IAG3C;;;;OAIG;;cAEe,QAAQ,CAAC,mBAAmB,CAAC;;;IAG/C;;OAEG;;cAEc,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAK9C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-shared",
3
- "version": "3.53.3",
3
+ "version": "3.53.4",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-shared.umd.js",
6
6
  "module": "./dist/entities-shared.es.js",
@@ -53,8 +53,8 @@
53
53
  "shiki": "^4.2.0",
54
54
  "vue": "^3.5.35",
55
55
  "vue-router": "^5.1.0",
56
- "@kong-ui-public/i18n": "^2.4.6",
57
- "@kong-ui-public/monaco-editor": "^0.22.23"
56
+ "@kong-ui-public/monaco-editor": "^0.22.23",
57
+ "@kong-ui-public/i18n": "^2.4.6"
58
58
  },
59
59
  "repository": {
60
60
  "type": "git",