@kong-ui-public/entities-vaults 3.4.2 → 3.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1118,7 +1118,7 @@ const iA = {
1118
1118
  },
1119
1119
  setup(A) {
1120
1120
  ot((a) => ({
1121
- "4520e3ec": `${i.value}ch`
1121
+ "090794fe": `${i.value}ch`
1122
1122
  }));
1123
1123
  const e = A, t = k(() => e.jsonRecord), i = k(() => {
1124
1124
  var a;
@@ -1,4 +1,4 @@
1
- (function(X,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vue-router"),require("axios"),require("@kong-ui-public/i18n"),require("@kong/kongponents")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","axios","@kong-ui-public/i18n","@kong/kongponents"],e):(X=typeof globalThis<"u"?globalThis:X||self,e(X["kong-ui-public-entities-vaults"]={},X.Vue,X.VueRouter,X.axios,X["kong-ui-public-i18n"],X.Kongponents))})(this,function(X,e,KA,ne,kA,Ut){"use strict";var re=typeof document<"u"?document.currentScript:null;const wA="24px",ie=(A,t)=>{const o=A.__vccOpts||A;for(const[n,a]of t)o[n]=a;return o},Tt=A=>(e.pushScopeId("data-v-761db460"),A=A(),e.popScopeId(),A),Rt=["aria-hidden"],vt={key:0,"data-testid":"kui-icon-svg-title"},Ft=Tt(()=>e.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"currentColor"},null,-1)),Lt=ie(e.defineComponent({__name:"AddIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:wA,validator:A=>{if(typeof A=="number"&&A>0)return!0;if(typeof A=="string"){const t=String(A).replace(/px/gi,""),o=Number(t);if(o&&!isNaN(o)&&Number.isInteger(o)&&o>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(A){const t=A,o=e.computed(()=>{if(typeof t.size=="number"&&t.size>0)return`${t.size}px`;if(typeof t.size=="string"){const a=String(t.size).replace(/px/gi,""),r=Number(a);if(r&&!isNaN(r)&&Number.isInteger(r)&&r>0)return`${r}px`}return wA}),n=e.computed(()=>({boxSizing:"border-box",color:t.color,display:t.display,height:o.value,lineHeight:"0",width:o.value}));return(a,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.as),{"aria-hidden":A.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:e.normalizeStyle(n.value)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":A.decorative?"true":void 0,"data-testid":"kui-icon-svg-add-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[A.title?(e.openBlock(),e.createElementBlock("title",vt,e.toDisplayString(A.title),1)):e.createCommentVNode("",!0),Ft],8,Rt))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-761db460"]]),Mt=A=>(e.pushScopeId("data-v-b6c92c34"),A=A(),e.popScopeId(),A),Kt=["aria-hidden"],Dt={key:0,"data-testid":"kui-icon-svg-title"},jt=Mt(()=>e.createElementVNode("path",{"clip-rule":"evenodd",d:"M8.56654 17.8134H12.2371L14.1429 20.2096L13.8152 21.026H9.0731L9.18942 20.2096L8.07153 18.4462L8.56654 17.8134ZM11.193 7.28639L13.1602 7.28343L22 17.822L21.3132 21.026H17.5245L17.7604 20.1233L9.50009 10.2732L11.193 7.28639ZM14.6686 3L18.778 6.22975L18.2519 6.77265L18.9644 7.76492V8.82592L16.9157 10.496L13.4703 6.42551H11.4644L12.272 4.94512L14.6686 3ZM6.04318 13.3443L8.90974 10.853L12.7144 15.4313L11.6342 17.1086H8.12603L5.69899 20.2934L5.14469 21.026H2V17.1183L4.93106 13.3443H6.04318Z",fill:"currentColor","fill-rule":"evenodd"},null,-1)),qt=ie(e.defineComponent({__name:"KongIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:wA,validator:A=>{if(typeof A=="number"&&A>0)return!0;if(typeof A=="string"){const t=String(A).replace(/px/gi,""),o=Number(t);if(o&&!isNaN(o)&&Number.isInteger(o)&&o>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(A){const t=A,o=e.computed(()=>{if(typeof t.size=="number"&&t.size>0)return`${t.size}px`;if(typeof t.size=="string"){const a=String(t.size).replace(/px/gi,""),r=Number(a);if(r&&!isNaN(r)&&Number.isInteger(r)&&r>0)return`${r}px`}return wA}),n=e.computed(()=>({boxSizing:"border-box",color:t.color,display:t.display,height:o.value,lineHeight:"0",width:o.value}));return(a,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.as),{"aria-hidden":A.decorative?"true":void 0,class:"kui-icon kong-icon","data-testid":"kui-icon-wrapper-kong-icon",style:e.normalizeStyle(n.value)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":A.decorative?"true":void 0,"data-testid":"kui-icon-svg-kong-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[A.title?(e.openBlock(),e.createElementBlock("title",Dt,e.toDisplayString(A.title),1)):e.createCommentVNode("",!0),jt],8,Kt))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-b6c92c34"]]);var le=(A=>(A.GatewayService="service",A.Route="route",A.Consumer="consumer",A.ConsumerGroup="consumer group",A.Plugin="plugin",A.Upstream="upstream",A.Certificate="certificate",A.CACertificate="ca certificate",A.SNI="SNI",A.Key="key",A.KeySet="key set",A.Vault="vault",A.Application="application",A.Developer="developer",A.acls="ACL Credential",A["basic-auth"]="Basic Auth Credential",A["key-auth"]="Key Auth Credential",A["key-auth-enc"]="Key Auth Encrypted Credential",A.oauth2="OAuth 2.0 Credential",A["hmac-auth"]="HMAC Credential",A.jwt="JWT Credential",A.Target="target",A.Policy="policy",A))(le||{}),SA=(A=>(A.Edit="edit",A.Create="create",A))(SA||{}),IA=(A=>(A[A.Loading=0]="Loading",A[A.Idle=1]="Idle",A[A.NoResults=2]="NoResults",A[A.Error=3]="Error",A))(IA||{}),D=(A=>(A.ID="id",A.IdArray="id-array",A.Text="plain-text",A.Date="date",A.Redacted="redacted",A.RedactedArray="redacted-array",A.Json="json",A.JsonArray="json-array",A.BadgeTag="badge-tag",A.BadgeStatus="badge-status",A.BadgeMethod="badge-method",A.LinkInternal="link-internal",A.LinkExternal="link-external",A))(D||{}),AA=(A=>(A.Basic="basic",A.Advanced="advanced",A.Plugin="plugin",A))(AA||{});function Wt(){return{getAxiosInstance:(A={})=>{try{const t=e.inject("get-axios-instance",void 0);return typeof t=="function"?t(A):ne.create({withCredentials:!0,timeout:3e4,...A})}catch(t){return console.warn("getAxiosInstance:",t.message||t),ne.create({withCredentials:!0,timeout:3e4,...A})}},getTraceIdFromError:A=>{var t;return((t=A==null?void 0:A.response)==null?void 0:t.headers["x-datadog-trace-id"])||""}}}function Ot(){return{debounce:(A,t)=>{let o;return(...n)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{A(...n)},t)}}}}const DA="khcp-user-table-preferences",Yt={pageSize:30,sortColumnKey:void 0,sortColumnOrder:void 0,columnWidths:{},columnVisibility:{}};function Pt(){const A=o=>{if(typeof o=="string")try{return JSON.parse(o)}catch(n){console.error("useTablePreferences(tryParseJson)",n);return}},t=()=>{const o=A(localStorage.getItem(DA));return!o||!Object.keys(o).length?new Map:new Map(Object.entries(o))};return{setTablePreferences:(o,n)=>{try{const a=t();a.set(o,n),localStorage.setItem(DA,JSON.stringify(Object.fromEntries(a.entries())))}catch(a){console.error("useTablePreferences(setTablePreferences)",a)}},getTablePreferences:o=>{const n=t();return(n==null?void 0:n.get(o))||void 0||Yt},deleteAllTablePreferences:()=>{localStorage.removeItem(DA)}}}function jA(A={}){const{getAxiosInstance:t}=Wt();return{axiosInstance:t(A)}}const zt={actions:{copyId:"Copy ID",copied_id:'Copied "{id}" to the clipboard',copyToClipboard:"Copied successfully!",copyToClipboardFailed:"Failed to copy to the clipboard"}},Ht={message:"Are you sure you want to delete this {entityType}?",messageWithName:"Are you sure you want to delete this {entityType} {entityName}?"},Gt={actions:{viewConfiguration:"View Configuration",save:"Save",cancel:"Cancel",back:"Back"},configuration:{title:"Configuration",message:"Export configurations for core Kong Gateway objects, like services, routes, and plugins, to either YAML or JSON. This allows for straightforward importing into APIOps tools like decK with YAML, or Insomnia and cURL with JSON.",yaml:"YAML",json:"JSON"},errors:{edit:"The entity could not be edited at this time."}},Zt={emptyState:{noSearchResultsTitle:"No results found",noSearchResultsMessage:"Please adjust the criteria and try again.",noSearchResultsCtaText:"Clear"}},Xt={title:"Configuration",actions:{copy:"Copy JSON"},sections:{advanced:"Advanced",plugin:"Plugin Specific Configuration"},commonFields:{id_label:"ID",name_label:"Name",enabled_label:"Enabled",enabled_tooltip:"Enabled is FTW",updated_at_label:"Last Updated",created_at_label:"Created",tags_label:"Tags",link:"Link"},statusBadge:{enabledLabel:"Enabled",disabledLabel:"Disabled"},copy:{tooltip:"Copy {label}",success:"Copied!"},errors:{load:"The entity configuration data could not be loaded at this time.",copy:"Failed to copy to clipboard"},general:{entryTitle:"Entry {index}",structuredFormat:"Structured"}},_t={filterButtonText:"Filter",fieldLabel:"Filter by:",inputPlaceholder:"Enter a value",selectPlaceholder:"Select an item",applyButtonText:"Apply",clearButtonText:"Clear",clearAllButtonText:"Clear all filters"},$t={errors:{fetch:"Could not fetch available items",invalid:"Please select a valid value"}},Ao={unexpected:"An unexpected error has occurred",dataKeyUndefined:'The data key "{dataKey}" does not exist in the response.'},eo={utf8Name:"The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."},to={enable:{title:"Enable {entityType}",message:"Are you sure you want to enable the {entityType} {entityName}?",confirmText:"Yes, enable"},disable:{title:"Disable {entityType}",message:"Are you sure you want to disable the {entityType} {entityName}?",confirmText:"Yes, disable"}},oo={global:zt,deleteModal:Ht,baseForm:Gt,baseTable:Zt,baseConfigCard:Xt,filter:_t,debouncedFilter:$t,errors:Ao,validationErrors:eo,toggleModal:to};function VA(){const A=kA.createI18n("en-us",oo);return{i18n:A,i18nT:kA.i18nTComponent(A)}}function ge(){const A=(o,n)=>(n==null?void 0:n[o])??void 0,t=(o,n)=>{if(o.length!==n.length)return!1;const a=new Set([...o,...n]);for(const r of a){const i=o.filter(s=>s===r).length,l=n.filter(s=>s===r).length;if(i!==l)return!1}return!0};return{getPropValue:A,objectsAreEqual:(o,n,a)=>{if(a){if(Object.keys(o).length===Object.keys(n).length)for(const r in o)if(Array.isArray(o[r])&&Array.isArray(n[r])){if(t(o[r],n[r]))continue;return!1}else{if(o[r]===n[r])continue;return!1}else return!1;return!0}try{return JSON.stringify(o)===JSON.stringify(n)}catch{return!1}},sortAlpha:o=>(n,a)=>{let r=n[o]===void 0||n[o]===null?"":n[o],i=a[o]===void 0||a[o]===null?"":a[o];return Array.isArray(n[o])&&(r=n[o][0]),Array.isArray(a[o])&&(i=a[o][0]),r.localeCompare(i)},isValidUuid:o=>o?/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o):!1}}function ao(A,t,o,n={fetchedItemsKey:"data",searchKeys:["id"]}){o||(o="1000");const{axiosInstance:a}=jA(A.axiosRequestConfig),{i18n:{t:r}}=VA(),{debounce:i}=Ot(),l=i(async u=>{await M(u)},200),s=e.ref(!1),g=e.ref(""),B=e.ref(""),C=e.ref([]),f=e.ref([]),p=e.ref(void 0),I=e.unref(t);let S=`${A.apiBaseUrl}${I}`;A.app==="konnect"?S=S.replace(/{controlPlaneId}/gi,(A==null?void 0:A.controlPlaneId)||""):A.app==="kongManager"&&(S=S.replace(/\/{workspace}/gi,A!=null&&A.workspace?`/${A.workspace}`:""));const{isValidUuid:y}=ge(),T=async()=>{try{s.value=!0;const{data:u}=await a.get(`${S}?size=${o}`);u!=null&&u.next||(p.value=n.fetchedItemsKey in u?u[n.fetchedItemsKey]:[]),f.value=n.fetchedItemsKey in u?u[n.fetchedItemsKey]:[],C.value=f.value}catch{C.value=[],g.value=r("debouncedFilter.errors.fetch")}finally{s.value=!1}},k=e.ref(""),M=async u=>{var V,c,h;if(k.value!==u)if(k.value=u||"",p.value===void 0)try{if(s.value=!0,g.value="",B.value="",A.app==="konnect"){let N=S+"";u&&(N+=`/${u}`);const{data:b}=await a.get(`${N}?size=${o}`);n.fetchedItemsKey in b?C.value=b[n.fetchedItemsKey]:b!=null&&b.id?C.value=[b]:C.value=[]}else if(u){const N=[];y(u)&&n.searchKeys.includes("id")?N.push((async()=>{const{data:J}=await a.get(`${S}/${u}`);return[J[n.fetchedItemsKey]??J]})()):N.push(...n.searchKeys.filter(J=>J!=="id").map(async J=>{const{data:x}=await a.get(`${S}?${J}=${u}`);return x[n.fetchedItemsKey]}));const b=await Promise.all(N),v=new Set;C.value=[],(V=b==null?void 0:b.forEach)==null||V.call(b,J=>{var x;(x=J==null?void 0:J.forEach)==null||x.call(J,L=>{v.has(L.id)||(v.add(L.id),C.value.push(L))})})}else C.value=f.value}catch(N){((c=N==null?void 0:N.response)==null?void 0:c.status)===404?B.value=r("debouncedFilter.errors.invalid"):(C.value=[],g.value=r("debouncedFilter.errors.fetch"))}finally{s.value=!1}else s.value=!0,B.value="",u?(C.value=(h=p.value)==null?void 0:h.filter(N=>{var b;let v=!1;for(const J of n.searchKeys){const x=typeof N[J]=="string"?(b=N[J])==null?void 0:b.toLowerCase():N[J];x!=null&&x.includes(u.toLowerCase())&&(v=!0)}return v}),(!C.value||!C.value.length)&&(B.value=r("debouncedFilter.errors.invalid"))):C.value=p.value,s.value=!1};return{loading:s,error:g,validationError:B,results:C,allRecords:p,loadItems:T,debouncedQueryChange:l}}function no(A,t){const o=e.unref(t),n=e.computed(()=>A.apiBaseUrl.startsWith("/")?new URL(`${window.location.origin}${o}`):new URL(o));return n.value.search="",a=>`${n.value.href}/${a}`}function ro(){const{i18n:{t:A}}=VA();return{getMessageFromError:t=>{var o,n,a,r;if(!t)return A("errors.unexpected");if(((o=t==null?void 0:t.response)==null?void 0:o.status)===401)return console.warn("getMessageFromError: User auth token is expired or missing, returning empty message."),"";if((n=t==null?void 0:t.response)!=null&&n.data){if(t.response.data.detail)return t.response.data.detail;if((a=t.response.data.details)!=null&&a.length)return t.response.data.details.map(i=>{let l=A("errors.unexpected");return i.messages&&typeof i.messages=="object"&&i.messages.length&&(l=i.messages.join(", ")),i.field?`${i.field} - ${l}`:l}).join("; ");if(t.response.data.message){const{message:i}=t.response.data;return Array.isArray(i)?(r=i[0])!=null&&r.constraints?Object.values(i[0].constraints)[0]:i[0]:i}if(typeof t.response.data=="string")return t.response.data;if(typeof t.response.data=="object")return Object.keys(t.response.data).map(i=>`${i} ${t.response.data[i]}`).join(", ")}return t.message||A("errors.unexpected")}}}function io(A){const t=window.location.origin,o=t.endsWith("/")?t:`${t}/`;try{const n=A.join("/"),a=`${o}${n}`,r=A.some(i=>i.trim()==="");if(/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a)&&!r&&new URL(a))return`${o}${n}`;throw new Error("Invalid url")}catch(n){return console.warn("Failed to build valid URL:",n),""}}function Ce(A,t){const o=e.ref(e.unref(A)),n=e.ref(e.unref(t)),a=e.computed(()=>!!(o.value.app==="konnect"||o.value.isExactMatch)),r=e.computed(()=>n.value.startsWith("/")?new URL(`${window.location.origin}${n.value}`):new URL(n.value));return i=>{const{page:l,pageSize:s,offset:g,sortColumnKey:B,sortColumnOrder:C,query:f}=i;try{let p=new URL(r.value.href);return a.value&&f?(p.search="",p=o.value.isExactMatch?new URL(`${p.href}/${f}/`):new URL(`${p.href}?filter[name][contains]=${f}`)):(a.value||new URLSearchParams(f).forEach((I,S)=>{p.searchParams.append(S,I)}),B&&p.searchParams.append("sort_by",B),C==="desc"&&p.searchParams.append("sort_desc","1"),p.searchParams.append("size",String(s))),g&&l!==1&&p.searchParams.append("offset",String(g)),p.href}catch(p){return console.error("RouteList(fetcher)",p),n.value}}}function lo(A,t,o="data"){const n=e.unref(t),{axiosInstance:a}=jA(A.axiosRequestConfig),r=Ce(A,n),i=e.ref({status:IA.Idle});return{fetcher:async l=>{var s;try{i.value={status:IA.Loading};let g=r(l);g.includes("filter[name]")&&(g=`${g}&page[size]=${l.pageSize}&page[number]=${l.page}`);const B=await a.get(g);if(B.status>=400)throw B;const C=B.data,f=o&&o.replace(/[^\w-_]/gi,"");let p;C[f]&&Array.isArray(C[f])?p=C[f]:Array.isArray(C)?p=C:p=Object.keys(C).length?[C]:[];const I={data:p,total:p.length,...C.offset?{pagination:{offset:C.offset}}:null};return i.value={status:IA.Idle,response:I},I}catch(g){const B={data:[],total:0};return l.query&&(((s=g.response)==null?void 0:s.status)===404||g.status===404)?(i.value={status:IA.NoResults,response:B,error:g.response?g:{response:g}},B):(i.value={status:IA.Error,response:B,error:g.response?g:{response:g}},B)}},fetcherState:i}}function go(){const A=(o,n="_")=>o?o.split(n).map(a=>a.toLowerCase()==="id"?a.toUpperCase():a.charAt(0).toUpperCase()+a.substring(1)).join(" "):"",t=/(?:^|[\s-:'"])\w/g;return{capitalize:o=>o?o.replace(t,n=>n.toUpperCase()):"",convertKeyToTitle:A}}const se=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ie=A=>{if(typeof A!="string")throw new TypeError("Invalid argument expected string");const t=A.match(se);if(!t)throw new Error(`Invalid argument not valid semver ('${A}' received)`);return t.shift(),t},Ee=A=>A==="*"||A==="x"||A==="X",Qe=A=>{const t=parseInt(A,10);return isNaN(t)?A:t},Co=(A,t)=>typeof A!=typeof t?[String(A),String(t)]:[A,t],so=(A,t)=>{if(Ee(A)||Ee(t))return 0;const[o,n]=Co(Qe(A),Qe(t));return o>n?1:o<n?-1:0},ce=(A,t)=>{for(let o=0;o<Math.max(A.length,t.length);o++){const n=so(A[o]||"0",t[o]||"0");if(n!==0)return n}return 0},Io=(A,t)=>{const o=Ie(A),n=Ie(t),a=o.pop(),r=n.pop(),i=ce(o,n);return i!==0?i:a&&r?ce(a.split("."),r.split(".")):a||r?a?-1:1:0},Be=(A,t,o)=>{Eo(o);const n=Io(A,t);return de[o].includes(n)},de={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},pe=Object.keys(de),Eo=A=>{if(typeof A!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof A}`);if(pe.indexOf(A)===-1)throw new Error(`Invalid operator, expected one of ${pe.join("|")}`)},Qo=A=>typeof A=="string"&&/^[v\d]/.test(A)&&se.test(A);function co(A){const{gatewayInfo:t,supportedRange:o}=A;if(!t)return!0;const{edition:n,version:a}=t;if(!Qo(a))return console.error("Invalid version"),!1;const r=o[n];if(!r)return!1;const[i,l]=r;return!(i&&Be(a,i,"<")||l&&Be(a,l,">"))}function Bo(A){const t=e.ref(0),o=e.ref(0),n=e.ref(!1);return e.watch(A,a=>{a&&!n.value&&(t.value=a.offsetWidth,o.value=a.scrollWidth,n.value=!0)}),{isTruncated:e.computed(()=>t.value<o.value)}}function po(){const{i18n:{t:A}}=VA();return{utf8Name:t=>/^[\p{N}\p{L}.\-_~]*$/u.test(t)?"":A("validationErrors.utf8Name")}}const O={useAxios:jA,useDebouncedFilter:ao,useDeleteUrlBuilder:no,useErrors:ro,useExternalLinkCreator:io,useFetcher:lo,useFetchUrlBuilder:Ce,useHelpers:ge,useStringHelpers:go,useI18n:VA,useGatewayFeatureSupported:co,useTruncationDetector:Bo,useValidators:po},uo={key:0,class:"config-card-fieldset-title"},fo=e.defineComponent({__name:"JsonCardItem",props:{item:{type:Object,required:!0},index:{type:Number,default:-1},isArrayItem:{type:Boolean,default:!1}},setup(A){const t=A,{i18n:{t:o}}=O.useI18n(),{convertKeyToTitle:n}=O.useStringHelpers(),a=e.computed(()=>t.item.key??"json-array-item"),r=e.computed(()=>t.item.value??t.item),i=e.computed(()=>{const s=JSON.parse(JSON.stringify(r.value));return t.isArrayItem&&delete s.name,s}),l=e.computed(()=>{var s;return t.isArrayItem?(s=r.value)!=null&&s.name?n(r.value.name,"_"):o("baseConfigCard.general.entryTitle",{index:t.index}):""});return(s,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.isArrayItem?"fieldset":"div"),{class:e.normalizeClass(A.isArrayItem?"config-card-fieldset":"config-card-json-item")},{default:e.withCtx(()=>[A.isArrayItem?(e.openBlock(),e.createElementBlock("legend",uo,[e.createElementVNode("b",null,e.toDisplayString(l.value),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(i.value),(B,C)=>(e.openBlock(),e.createBlock(fe,{key:`${a.value}-property-${C}`,item:{key:B,label:e.unref(n)(B),value:i.value[B]}},null,8,["item"]))),128))]),_:1},8,["class"]))}}),aA=(A,t)=>{const o=A.__vccOpts||A;for(const[n,a]of t)o[n]=a;return o},ue=aA(fo,[["__scopeId","data-v-68ca83ec"]]),mo=e.defineComponent({__name:"InternalLinkItem",props:{item:{type:Object,required:!0}},emits:["navigation-click"],setup(A){const{i18n:{t}}=O.useI18n();return(o,n)=>{const a=e.resolveComponent("KButton");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(a,{appearance:"tertiary",class:"navigation-button",onClick:n[0]||(n[0]=r=>o.$emit("navigation-click",A.item))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.item.value||e.unref(t)("baseConfigCard.commonFields.link")),1)]),_:1})])}}}),ho=aA(mo,[["__scopeId","data-v-c96811e5"]]),yo=e.defineComponent({__name:"StatusBadge",props:{status:{type:Boolean,default:!1}},setup(A){const{i18n:{t}}=O.useI18n();return(o,n)=>{const a=e.resolveComponent("KBadge");return e.openBlock(),e.createBlock(a,{appearance:A.status?"success":"neutral"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.status?e.unref(t)("baseConfigCard.statusBadge.enabledLabel"):e.unref(t)("baseConfigCard.statusBadge.disabledLabel")),1)]),_:1},8,["appearance"])}}}),bo="#0044f4",ko="#e0e4ea",wo="#afb7c5",So="1px",Vo="20px",No={class:"config-card-details-row"},Jo=["data-testid"],xo=["data-testid"],Uo=["data-testid"],To=["data-testid"],Ro={key:1},vo=["data-testid"],Fo=["data-testid"],Lo=["data-testid"],Mo=["data-testid"],Ko={name:"ConfigCardItem",components:{JsonCardItem:ue,StatusBadge:yo,InternalLinkItem:ho}},Do=e.defineComponent({...Ko,props:{item:{type:Object,required:!0},slim:{type:Boolean,required:!1,default:!1},truncated:{type:Boolean,required:!1,default:!1}},emits:["navigation-click"],setup(A,{emit:t}){e.useCssVars(I=>({dc1d91a8:B.value?"none":`solid ${e.unref(So)} ${e.unref(ko)}`,"59ccec5f":g.value&&l.value?"block":"flex","29318fbe":g.value&&l.value?"100%":o.slim?"50%":"25%","292d0408":g.value&&l.value?"100%":o.slim?"50%":"75%"}));const o=A,n=t,a=e.useSlots(),{i18n:{t:r,formatUnixTimeStamp:i}}=O.useI18n(),l=e.computed(()=>o.item.value!==void 0&&o.item.value!==null&&o.item.value!==""),s=e.computed(()=>!!(o.item.tooltip||a["label-tooltip"])),g=e.computed(()=>o.item.type===D.Json||o.item.type===D.JsonArray),B=e.computed(()=>o.item.type===D.JsonArray),C=e.computed(()=>{switch(o.item.type){case D.ID:return{tag:"KCopy",attrs:{"data-testid":`${o.item.key}-copy-uuid`,"copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label}),text:o.item.value}};case D.IdArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{"copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label})}};case D.Redacted:return{tag:"KCopy",attrs:{"data-testid":`${o.item.key}-copy-uuid-redacted`,format:"redacted","copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label}),text:o.item.value}};case D.RedactedArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{format:"redacted","copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label})}};case D.Date:return{tag:"div",attrs:{"data-testid":`${o.item.key}-date`},text:i(o.item.value)};case D.BadgeStatus:return{tag:"StatusBadge",attrs:{"data-testid":`${o.item.key}-badge-status`,status:o.item.value}};case D.BadgeTag:return{tag:"div",additionalComponent:"KBadge"};case D.BadgeMethod:return{tag:"div",additionalComponent:"KMethodBadge"};case D.LinkInternal:return{tag:"InternalLinkItem",attrs:{"data-testid":`${o.item.key}-internal-link`,item:o.item,onNavigationClick:I=>{n("navigation-click",I)}}};case D.LinkExternal:return{tag:"KExternalLink",attrs:{"data-testid":`${o.item.key}-external-link`,href:o.item.value},text:o.item.value};case D.Json:return{tag:"JsonCardItem",attrs:{"data-testid":`${o.item.key}-json-content`,item:o.item}};case D.JsonArray:return{tag:"div",additionalComponent:"JsonCardItem",attrs:{"data-testid":`${o.item.key}-json-array-content`,item:o.item}};default:return{tag:"div",attrs:{"data-testid":`${o.item.key}-plain-text`},text:o.item.value}}}),f=e.ref(),{isTruncated:p}=O.useTruncationDetector(f);return(I,S)=>{const y=e.resolveComponent("KLabel"),T=e.resolveComponent("KBadge"),k=e.resolveComponent("KCopy"),M=e.resolveComponent("KTooltip");return e.openBlock(),e.createElementBlock("div",No,[e.createElementVNode("div",{class:"config-card-details-label","data-testid":`${A.item.key}-label`},[e.renderSlot(I.$slots,"label",{item:A.item},()=>[e.createVNode(y,{"tooltip-attributes":{maxWidth:"500px"}},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.item.label)+" ",1)]),_:2},[s.value?{name:"tooltip",fn:e.withCtx(()=>[e.createElementVNode("div",{"data-testid":`${A.item.key}-label-tooltip`},[e.renderSlot(I.$slots,"label-tooltip",{},()=>[e.createTextVNode(e.toDisplayString(A.item.tooltip),1)],!0)],8,xo)]),key:"0"}:void 0]),1024)],!0)],8,Jo),e.createElementVNode("div",{class:"config-card-details-value","data-testid":`${A.item.key}-property-value`},[e.renderSlot(I.$slots,A.item.key,{rowValue:A.item.value},()=>[l.value?(e.openBlock(),e.createElementBlock("div",Ro,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value.tag),e.normalizeProps(e.guardReactiveProps(C.value.attrs)),{default:e.withCtx(()=>[C.value.additionalComponent==="KBadge"?(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${A.item.key}-badge-tags`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(T,{key:`${A.item.key}-badge-tag-${V}`,class:"config-badge","data-testid":`${A.item.key}-badge-tag-${V}`,tooltip:u,"truncation-tooltip":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u),1)]),_:2},1032,["data-testid","tooltip"]))),128))],8,vo)):e.createCommentVNode("",!0),C.value.additionalComponent==="KCopy"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"copy-uuid-array","data-testid":`${A.item.key}-copy-uuid-array`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(k,e.mergeProps({ref_for:!0},C.value.childAttrs,{key:`${A.item.key}-copy-uuid-${V}`,"data-testid":`${A.item.key}-copy-uuid-${V}`,text:u}),null,16,["data-testid","text"]))),128))],8,Fo)):C.value.additionalComponent==="KMethodBadge"?(e.openBlock(),e.createElementBlock("div",{key:2,class:"method-badge-array","data-testid":`${A.item.key}-badge-methods`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(T,{key:`${A.item.key}-badge-method-${V}`,appearance:Object.values(e.unref(Ut.BadgeMethodAppearances)).includes(u.toLowerCase())?u.toLowerCase():"custom",class:"config-badge","data-testid":`${A.item.key}-badge-method-${V}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u),1)]),_:2},1032,["appearance","data-testid"]))),128))],8,Lo)):e.createCommentVNode("",!0),C.value.additionalComponent==="JsonCardItem"?(e.openBlock(),e.createElementBlock("div",{key:3,"data-testid":`${o.item.key}-json-array-content`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(ue,{key:`json-array-item-${V}`,index:V,"is-array-item":"",item:u},null,8,["index","item"]))),128))],8,Mo)):(e.openBlock(),e.createBlock(M,{key:4,text:e.unref(p)?A.item.value:""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"textContent",ref:f,class:e.normalizeClass(["attrs-data-text",{truncated:A.truncated}])},e.toDisplayString(C.value.text),3)]),_:1},8,["text"]))]),_:1},16))])):(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${A.item.key}-no-value`}," – ",8,To))],!0)],8,Uo)])}}}),fe=aA(Do,[["__scopeId","data-v-d268261c"]]),jo={class:"json-config"},qo={key:0,class:"json-endpoint"},me=e.defineComponent({__name:"JsonCodeBlock",props:{config:{type:Object,required:!1,default:()=>({})},fetcherUrl:{type:String,required:!1,default:""},jsonRecord:{type:Object,required:!0},requestMethod:{type:String,required:!1,default:""}},setup(A){e.useCssVars(a=>({"4520e3ec":`${n.value}ch`}));const t=A,o=e.computed(()=>t.jsonRecord),n=e.computed(()=>{var a;if(!t.fetcherUrl)return 0;const r=(a=t.fetcherUrl)==null?void 0:a.split("/");return r.length<2?0:41+(t.requestMethod==="post"?r[r.length-1]:r[r.length-2]).length});return(a,r)=>{const i=e.resolveComponent("KBadge"),l=e.resolveComponent("KCodeBlock");return e.openBlock(),e.createElementBlock("div",jo,[t.fetcherUrl?(e.openBlock(),e.createElementBlock("div",qo,[e.createVNode(i,{appearance:t.requestMethod},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.requestMethod),1)]),_:1},8,["appearance"]),e.createVNode(l,{id:"json-endpoint-codeblock",code:t.fetcherUrl,language:"json","single-line":"",theme:"dark"},null,8,["code"])])):e.createCommentVNode("",!0),t.jsonRecord?(e.openBlock(),e.createBlock(l,{key:1,id:"json-codeblock",class:e.normalizeClass({"json-content":t.fetcherUrl}),code:JSON.stringify(o.value,null,2),language:"json",theme:"dark"},null,8,["class","code"])):e.createCommentVNode("",!0)])}}});/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function he(A){return typeof A>"u"||A===null}function Wo(A){return typeof A=="object"&&A!==null}function Oo(A){return Array.isArray(A)?A:he(A)?[]:[A]}function Yo(A,t){var o,n,a,r;if(t)for(r=Object.keys(t),o=0,n=r.length;o<n;o+=1)a=r[o],A[a]=t[a];return A}function Po(A,t){var o="",n;for(n=0;n<t;n+=1)o+=A;return o}function zo(A){return A===0&&Number.NEGATIVE_INFINITY===1/A}var Ho=he,Go=Wo,Zo=Oo,Xo=Po,_o=zo,$o=Yo,W={isNothing:Ho,isObject:Go,toArray:Zo,repeat:Xo,isNegativeZero:_o,extend:$o};function ye(A,t){var o="",n=A.reason||"(unknown reason)";return A.mark?(A.mark.name&&(o+='in "'+A.mark.name+'" '),o+="("+(A.mark.line+1)+":"+(A.mark.column+1)+")",!t&&A.mark.snippet&&(o+=`
1
+ (function(X,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vue-router"),require("axios"),require("@kong-ui-public/i18n"),require("@kong/kongponents")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","axios","@kong-ui-public/i18n","@kong/kongponents"],e):(X=typeof globalThis<"u"?globalThis:X||self,e(X["kong-ui-public-entities-vaults"]={},X.Vue,X.VueRouter,X.axios,X["kong-ui-public-i18n"],X.Kongponents))})(this,function(X,e,KA,ne,kA,Ut){"use strict";var re=typeof document<"u"?document.currentScript:null;const wA="24px",ie=(A,t)=>{const o=A.__vccOpts||A;for(const[n,a]of t)o[n]=a;return o},Tt=A=>(e.pushScopeId("data-v-761db460"),A=A(),e.popScopeId(),A),Rt=["aria-hidden"],vt={key:0,"data-testid":"kui-icon-svg-title"},Ft=Tt(()=>e.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"currentColor"},null,-1)),Lt=ie(e.defineComponent({__name:"AddIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:wA,validator:A=>{if(typeof A=="number"&&A>0)return!0;if(typeof A=="string"){const t=String(A).replace(/px/gi,""),o=Number(t);if(o&&!isNaN(o)&&Number.isInteger(o)&&o>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(A){const t=A,o=e.computed(()=>{if(typeof t.size=="number"&&t.size>0)return`${t.size}px`;if(typeof t.size=="string"){const a=String(t.size).replace(/px/gi,""),r=Number(a);if(r&&!isNaN(r)&&Number.isInteger(r)&&r>0)return`${r}px`}return wA}),n=e.computed(()=>({boxSizing:"border-box",color:t.color,display:t.display,height:o.value,lineHeight:"0",width:o.value}));return(a,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.as),{"aria-hidden":A.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:e.normalizeStyle(n.value)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":A.decorative?"true":void 0,"data-testid":"kui-icon-svg-add-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[A.title?(e.openBlock(),e.createElementBlock("title",vt,e.toDisplayString(A.title),1)):e.createCommentVNode("",!0),Ft],8,Rt))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-761db460"]]),Mt=A=>(e.pushScopeId("data-v-b6c92c34"),A=A(),e.popScopeId(),A),Kt=["aria-hidden"],Dt={key:0,"data-testid":"kui-icon-svg-title"},jt=Mt(()=>e.createElementVNode("path",{"clip-rule":"evenodd",d:"M8.56654 17.8134H12.2371L14.1429 20.2096L13.8152 21.026H9.0731L9.18942 20.2096L8.07153 18.4462L8.56654 17.8134ZM11.193 7.28639L13.1602 7.28343L22 17.822L21.3132 21.026H17.5245L17.7604 20.1233L9.50009 10.2732L11.193 7.28639ZM14.6686 3L18.778 6.22975L18.2519 6.77265L18.9644 7.76492V8.82592L16.9157 10.496L13.4703 6.42551H11.4644L12.272 4.94512L14.6686 3ZM6.04318 13.3443L8.90974 10.853L12.7144 15.4313L11.6342 17.1086H8.12603L5.69899 20.2934L5.14469 21.026H2V17.1183L4.93106 13.3443H6.04318Z",fill:"currentColor","fill-rule":"evenodd"},null,-1)),qt=ie(e.defineComponent({__name:"KongIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:wA,validator:A=>{if(typeof A=="number"&&A>0)return!0;if(typeof A=="string"){const t=String(A).replace(/px/gi,""),o=Number(t);if(o&&!isNaN(o)&&Number.isInteger(o)&&o>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(A){const t=A,o=e.computed(()=>{if(typeof t.size=="number"&&t.size>0)return`${t.size}px`;if(typeof t.size=="string"){const a=String(t.size).replace(/px/gi,""),r=Number(a);if(r&&!isNaN(r)&&Number.isInteger(r)&&r>0)return`${r}px`}return wA}),n=e.computed(()=>({boxSizing:"border-box",color:t.color,display:t.display,height:o.value,lineHeight:"0",width:o.value}));return(a,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.as),{"aria-hidden":A.decorative?"true":void 0,class:"kui-icon kong-icon","data-testid":"kui-icon-wrapper-kong-icon",style:e.normalizeStyle(n.value)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":A.decorative?"true":void 0,"data-testid":"kui-icon-svg-kong-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[A.title?(e.openBlock(),e.createElementBlock("title",Dt,e.toDisplayString(A.title),1)):e.createCommentVNode("",!0),jt],8,Kt))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-b6c92c34"]]);var le=(A=>(A.GatewayService="service",A.Route="route",A.Consumer="consumer",A.ConsumerGroup="consumer group",A.Plugin="plugin",A.Upstream="upstream",A.Certificate="certificate",A.CACertificate="ca certificate",A.SNI="SNI",A.Key="key",A.KeySet="key set",A.Vault="vault",A.Application="application",A.Developer="developer",A.acls="ACL Credential",A["basic-auth"]="Basic Auth Credential",A["key-auth"]="Key Auth Credential",A["key-auth-enc"]="Key Auth Encrypted Credential",A.oauth2="OAuth 2.0 Credential",A["hmac-auth"]="HMAC Credential",A.jwt="JWT Credential",A.Target="target",A.Policy="policy",A))(le||{}),SA=(A=>(A.Edit="edit",A.Create="create",A))(SA||{}),IA=(A=>(A[A.Loading=0]="Loading",A[A.Idle=1]="Idle",A[A.NoResults=2]="NoResults",A[A.Error=3]="Error",A))(IA||{}),D=(A=>(A.ID="id",A.IdArray="id-array",A.Text="plain-text",A.Date="date",A.Redacted="redacted",A.RedactedArray="redacted-array",A.Json="json",A.JsonArray="json-array",A.BadgeTag="badge-tag",A.BadgeStatus="badge-status",A.BadgeMethod="badge-method",A.LinkInternal="link-internal",A.LinkExternal="link-external",A))(D||{}),AA=(A=>(A.Basic="basic",A.Advanced="advanced",A.Plugin="plugin",A))(AA||{});function Wt(){return{getAxiosInstance:(A={})=>{try{const t=e.inject("get-axios-instance",void 0);return typeof t=="function"?t(A):ne.create({withCredentials:!0,timeout:3e4,...A})}catch(t){return console.warn("getAxiosInstance:",t.message||t),ne.create({withCredentials:!0,timeout:3e4,...A})}},getTraceIdFromError:A=>{var t;return((t=A==null?void 0:A.response)==null?void 0:t.headers["x-datadog-trace-id"])||""}}}function Ot(){return{debounce:(A,t)=>{let o;return(...n)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{A(...n)},t)}}}}const DA="khcp-user-table-preferences",Yt={pageSize:30,sortColumnKey:void 0,sortColumnOrder:void 0,columnWidths:{},columnVisibility:{}};function Pt(){const A=o=>{if(typeof o=="string")try{return JSON.parse(o)}catch(n){console.error("useTablePreferences(tryParseJson)",n);return}},t=()=>{const o=A(localStorage.getItem(DA));return!o||!Object.keys(o).length?new Map:new Map(Object.entries(o))};return{setTablePreferences:(o,n)=>{try{const a=t();a.set(o,n),localStorage.setItem(DA,JSON.stringify(Object.fromEntries(a.entries())))}catch(a){console.error("useTablePreferences(setTablePreferences)",a)}},getTablePreferences:o=>{const n=t();return(n==null?void 0:n.get(o))||void 0||Yt},deleteAllTablePreferences:()=>{localStorage.removeItem(DA)}}}function jA(A={}){const{getAxiosInstance:t}=Wt();return{axiosInstance:t(A)}}const zt={actions:{copyId:"Copy ID",copied_id:'Copied "{id}" to the clipboard',copyToClipboard:"Copied successfully!",copyToClipboardFailed:"Failed to copy to the clipboard"}},Ht={message:"Are you sure you want to delete this {entityType}?",messageWithName:"Are you sure you want to delete this {entityType} {entityName}?"},Gt={actions:{viewConfiguration:"View Configuration",save:"Save",cancel:"Cancel",back:"Back"},configuration:{title:"Configuration",message:"Export configurations for core Kong Gateway objects, like services, routes, and plugins, to either YAML or JSON. This allows for straightforward importing into APIOps tools like decK with YAML, or Insomnia and cURL with JSON.",yaml:"YAML",json:"JSON"},errors:{edit:"The entity could not be edited at this time."}},Zt={emptyState:{noSearchResultsTitle:"No results found",noSearchResultsMessage:"Please adjust the criteria and try again.",noSearchResultsCtaText:"Clear"}},Xt={title:"Configuration",actions:{copy:"Copy JSON"},sections:{advanced:"Advanced",plugin:"Plugin Specific Configuration"},commonFields:{id_label:"ID",name_label:"Name",enabled_label:"Enabled",enabled_tooltip:"Enabled is FTW",updated_at_label:"Last Updated",created_at_label:"Created",tags_label:"Tags",link:"Link"},statusBadge:{enabledLabel:"Enabled",disabledLabel:"Disabled"},copy:{tooltip:"Copy {label}",success:"Copied!"},errors:{load:"The entity configuration data could not be loaded at this time.",copy:"Failed to copy to clipboard"},general:{entryTitle:"Entry {index}",structuredFormat:"Structured"}},_t={filterButtonText:"Filter",fieldLabel:"Filter by:",inputPlaceholder:"Enter a value",selectPlaceholder:"Select an item",applyButtonText:"Apply",clearButtonText:"Clear",clearAllButtonText:"Clear all filters"},$t={errors:{fetch:"Could not fetch available items",invalid:"Please select a valid value"}},Ao={unexpected:"An unexpected error has occurred",dataKeyUndefined:'The data key "{dataKey}" does not exist in the response.'},eo={utf8Name:"The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."},to={enable:{title:"Enable {entityType}",message:"Are you sure you want to enable the {entityType} {entityName}?",confirmText:"Yes, enable"},disable:{title:"Disable {entityType}",message:"Are you sure you want to disable the {entityType} {entityName}?",confirmText:"Yes, disable"}},oo={global:zt,deleteModal:Ht,baseForm:Gt,baseTable:Zt,baseConfigCard:Xt,filter:_t,debouncedFilter:$t,errors:Ao,validationErrors:eo,toggleModal:to};function VA(){const A=kA.createI18n("en-us",oo);return{i18n:A,i18nT:kA.i18nTComponent(A)}}function ge(){const A=(o,n)=>(n==null?void 0:n[o])??void 0,t=(o,n)=>{if(o.length!==n.length)return!1;const a=new Set([...o,...n]);for(const r of a){const i=o.filter(s=>s===r).length,l=n.filter(s=>s===r).length;if(i!==l)return!1}return!0};return{getPropValue:A,objectsAreEqual:(o,n,a)=>{if(a){if(Object.keys(o).length===Object.keys(n).length)for(const r in o)if(Array.isArray(o[r])&&Array.isArray(n[r])){if(t(o[r],n[r]))continue;return!1}else{if(o[r]===n[r])continue;return!1}else return!1;return!0}try{return JSON.stringify(o)===JSON.stringify(n)}catch{return!1}},sortAlpha:o=>(n,a)=>{let r=n[o]===void 0||n[o]===null?"":n[o],i=a[o]===void 0||a[o]===null?"":a[o];return Array.isArray(n[o])&&(r=n[o][0]),Array.isArray(a[o])&&(i=a[o][0]),r.localeCompare(i)},isValidUuid:o=>o?/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o):!1}}function ao(A,t,o,n={fetchedItemsKey:"data",searchKeys:["id"]}){o||(o="1000");const{axiosInstance:a}=jA(A.axiosRequestConfig),{i18n:{t:r}}=VA(),{debounce:i}=Ot(),l=i(async u=>{await M(u)},200),s=e.ref(!1),g=e.ref(""),B=e.ref(""),C=e.ref([]),f=e.ref([]),p=e.ref(void 0),I=e.unref(t);let S=`${A.apiBaseUrl}${I}`;A.app==="konnect"?S=S.replace(/{controlPlaneId}/gi,(A==null?void 0:A.controlPlaneId)||""):A.app==="kongManager"&&(S=S.replace(/\/{workspace}/gi,A!=null&&A.workspace?`/${A.workspace}`:""));const{isValidUuid:y}=ge(),T=async()=>{try{s.value=!0;const{data:u}=await a.get(`${S}?size=${o}`);u!=null&&u.next||(p.value=n.fetchedItemsKey in u?u[n.fetchedItemsKey]:[]),f.value=n.fetchedItemsKey in u?u[n.fetchedItemsKey]:[],C.value=f.value}catch{C.value=[],g.value=r("debouncedFilter.errors.fetch")}finally{s.value=!1}},k=e.ref(""),M=async u=>{var V,c,h;if(k.value!==u)if(k.value=u||"",p.value===void 0)try{if(s.value=!0,g.value="",B.value="",A.app==="konnect"){let N=S+"";u&&(N+=`/${u}`);const{data:b}=await a.get(`${N}?size=${o}`);n.fetchedItemsKey in b?C.value=b[n.fetchedItemsKey]:b!=null&&b.id?C.value=[b]:C.value=[]}else if(u){const N=[];y(u)&&n.searchKeys.includes("id")?N.push((async()=>{const{data:J}=await a.get(`${S}/${u}`);return[J[n.fetchedItemsKey]??J]})()):N.push(...n.searchKeys.filter(J=>J!=="id").map(async J=>{const{data:x}=await a.get(`${S}?${J}=${u}`);return x[n.fetchedItemsKey]}));const b=await Promise.all(N),v=new Set;C.value=[],(V=b==null?void 0:b.forEach)==null||V.call(b,J=>{var x;(x=J==null?void 0:J.forEach)==null||x.call(J,L=>{v.has(L.id)||(v.add(L.id),C.value.push(L))})})}else C.value=f.value}catch(N){((c=N==null?void 0:N.response)==null?void 0:c.status)===404?B.value=r("debouncedFilter.errors.invalid"):(C.value=[],g.value=r("debouncedFilter.errors.fetch"))}finally{s.value=!1}else s.value=!0,B.value="",u?(C.value=(h=p.value)==null?void 0:h.filter(N=>{var b;let v=!1;for(const J of n.searchKeys){const x=typeof N[J]=="string"?(b=N[J])==null?void 0:b.toLowerCase():N[J];x!=null&&x.includes(u.toLowerCase())&&(v=!0)}return v}),(!C.value||!C.value.length)&&(B.value=r("debouncedFilter.errors.invalid"))):C.value=p.value,s.value=!1};return{loading:s,error:g,validationError:B,results:C,allRecords:p,loadItems:T,debouncedQueryChange:l}}function no(A,t){const o=e.unref(t),n=e.computed(()=>A.apiBaseUrl.startsWith("/")?new URL(`${window.location.origin}${o}`):new URL(o));return n.value.search="",a=>`${n.value.href}/${a}`}function ro(){const{i18n:{t:A}}=VA();return{getMessageFromError:t=>{var o,n,a,r;if(!t)return A("errors.unexpected");if(((o=t==null?void 0:t.response)==null?void 0:o.status)===401)return console.warn("getMessageFromError: User auth token is expired or missing, returning empty message."),"";if((n=t==null?void 0:t.response)!=null&&n.data){if(t.response.data.detail)return t.response.data.detail;if((a=t.response.data.details)!=null&&a.length)return t.response.data.details.map(i=>{let l=A("errors.unexpected");return i.messages&&typeof i.messages=="object"&&i.messages.length&&(l=i.messages.join(", ")),i.field?`${i.field} - ${l}`:l}).join("; ");if(t.response.data.message){const{message:i}=t.response.data;return Array.isArray(i)?(r=i[0])!=null&&r.constraints?Object.values(i[0].constraints)[0]:i[0]:i}if(typeof t.response.data=="string")return t.response.data;if(typeof t.response.data=="object")return Object.keys(t.response.data).map(i=>`${i} ${t.response.data[i]}`).join(", ")}return t.message||A("errors.unexpected")}}}function io(A){const t=window.location.origin,o=t.endsWith("/")?t:`${t}/`;try{const n=A.join("/"),a=`${o}${n}`,r=A.some(i=>i.trim()==="");if(/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a)&&!r&&new URL(a))return`${o}${n}`;throw new Error("Invalid url")}catch(n){return console.warn("Failed to build valid URL:",n),""}}function Ce(A,t){const o=e.ref(e.unref(A)),n=e.ref(e.unref(t)),a=e.computed(()=>!!(o.value.app==="konnect"||o.value.isExactMatch)),r=e.computed(()=>n.value.startsWith("/")?new URL(`${window.location.origin}${n.value}`):new URL(n.value));return i=>{const{page:l,pageSize:s,offset:g,sortColumnKey:B,sortColumnOrder:C,query:f}=i;try{let p=new URL(r.value.href);return a.value&&f?(p.search="",p=o.value.isExactMatch?new URL(`${p.href}/${f}/`):new URL(`${p.href}?filter[name][contains]=${f}`)):(a.value||new URLSearchParams(f).forEach((I,S)=>{p.searchParams.append(S,I)}),B&&p.searchParams.append("sort_by",B),C==="desc"&&p.searchParams.append("sort_desc","1"),p.searchParams.append("size",String(s))),g&&l!==1&&p.searchParams.append("offset",String(g)),p.href}catch(p){return console.error("RouteList(fetcher)",p),n.value}}}function lo(A,t,o="data"){const n=e.unref(t),{axiosInstance:a}=jA(A.axiosRequestConfig),r=Ce(A,n),i=e.ref({status:IA.Idle});return{fetcher:async l=>{var s;try{i.value={status:IA.Loading};let g=r(l);g.includes("filter[name]")&&(g=`${g}&page[size]=${l.pageSize}&page[number]=${l.page}`);const B=await a.get(g);if(B.status>=400)throw B;const C=B.data,f=o&&o.replace(/[^\w-_]/gi,"");let p;C[f]&&Array.isArray(C[f])?p=C[f]:Array.isArray(C)?p=C:p=Object.keys(C).length?[C]:[];const I={data:p,total:p.length,...C.offset?{pagination:{offset:C.offset}}:null};return i.value={status:IA.Idle,response:I},I}catch(g){const B={data:[],total:0};return l.query&&(((s=g.response)==null?void 0:s.status)===404||g.status===404)?(i.value={status:IA.NoResults,response:B,error:g.response?g:{response:g}},B):(i.value={status:IA.Error,response:B,error:g.response?g:{response:g}},B)}},fetcherState:i}}function go(){const A=(o,n="_")=>o?o.split(n).map(a=>a.toLowerCase()==="id"?a.toUpperCase():a.charAt(0).toUpperCase()+a.substring(1)).join(" "):"",t=/(?:^|[\s-:'"])\w/g;return{capitalize:o=>o?o.replace(t,n=>n.toUpperCase()):"",convertKeyToTitle:A}}const se=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ie=A=>{if(typeof A!="string")throw new TypeError("Invalid argument expected string");const t=A.match(se);if(!t)throw new Error(`Invalid argument not valid semver ('${A}' received)`);return t.shift(),t},Ee=A=>A==="*"||A==="x"||A==="X",Qe=A=>{const t=parseInt(A,10);return isNaN(t)?A:t},Co=(A,t)=>typeof A!=typeof t?[String(A),String(t)]:[A,t],so=(A,t)=>{if(Ee(A)||Ee(t))return 0;const[o,n]=Co(Qe(A),Qe(t));return o>n?1:o<n?-1:0},ce=(A,t)=>{for(let o=0;o<Math.max(A.length,t.length);o++){const n=so(A[o]||"0",t[o]||"0");if(n!==0)return n}return 0},Io=(A,t)=>{const o=Ie(A),n=Ie(t),a=o.pop(),r=n.pop(),i=ce(o,n);return i!==0?i:a&&r?ce(a.split("."),r.split(".")):a||r?a?-1:1:0},Be=(A,t,o)=>{Eo(o);const n=Io(A,t);return de[o].includes(n)},de={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},pe=Object.keys(de),Eo=A=>{if(typeof A!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof A}`);if(pe.indexOf(A)===-1)throw new Error(`Invalid operator, expected one of ${pe.join("|")}`)},Qo=A=>typeof A=="string"&&/^[v\d]/.test(A)&&se.test(A);function co(A){const{gatewayInfo:t,supportedRange:o}=A;if(!t)return!0;const{edition:n,version:a}=t;if(!Qo(a))return console.error("Invalid version"),!1;const r=o[n];if(!r)return!1;const[i,l]=r;return!(i&&Be(a,i,"<")||l&&Be(a,l,">"))}function Bo(A){const t=e.ref(0),o=e.ref(0),n=e.ref(!1);return e.watch(A,a=>{a&&!n.value&&(t.value=a.offsetWidth,o.value=a.scrollWidth,n.value=!0)}),{isTruncated:e.computed(()=>t.value<o.value)}}function po(){const{i18n:{t:A}}=VA();return{utf8Name:t=>/^[\p{N}\p{L}.\-_~]*$/u.test(t)?"":A("validationErrors.utf8Name")}}const O={useAxios:jA,useDebouncedFilter:ao,useDeleteUrlBuilder:no,useErrors:ro,useExternalLinkCreator:io,useFetcher:lo,useFetchUrlBuilder:Ce,useHelpers:ge,useStringHelpers:go,useI18n:VA,useGatewayFeatureSupported:co,useTruncationDetector:Bo,useValidators:po},uo={key:0,class:"config-card-fieldset-title"},fo=e.defineComponent({__name:"JsonCardItem",props:{item:{type:Object,required:!0},index:{type:Number,default:-1},isArrayItem:{type:Boolean,default:!1}},setup(A){const t=A,{i18n:{t:o}}=O.useI18n(),{convertKeyToTitle:n}=O.useStringHelpers(),a=e.computed(()=>t.item.key??"json-array-item"),r=e.computed(()=>t.item.value??t.item),i=e.computed(()=>{const s=JSON.parse(JSON.stringify(r.value));return t.isArrayItem&&delete s.name,s}),l=e.computed(()=>{var s;return t.isArrayItem?(s=r.value)!=null&&s.name?n(r.value.name,"_"):o("baseConfigCard.general.entryTitle",{index:t.index}):""});return(s,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.isArrayItem?"fieldset":"div"),{class:e.normalizeClass(A.isArrayItem?"config-card-fieldset":"config-card-json-item")},{default:e.withCtx(()=>[A.isArrayItem?(e.openBlock(),e.createElementBlock("legend",uo,[e.createElementVNode("b",null,e.toDisplayString(l.value),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(i.value),(B,C)=>(e.openBlock(),e.createBlock(fe,{key:`${a.value}-property-${C}`,item:{key:B,label:e.unref(n)(B),value:i.value[B]}},null,8,["item"]))),128))]),_:1},8,["class"]))}}),aA=(A,t)=>{const o=A.__vccOpts||A;for(const[n,a]of t)o[n]=a;return o},ue=aA(fo,[["__scopeId","data-v-68ca83ec"]]),mo=e.defineComponent({__name:"InternalLinkItem",props:{item:{type:Object,required:!0}},emits:["navigation-click"],setup(A){const{i18n:{t}}=O.useI18n();return(o,n)=>{const a=e.resolveComponent("KButton");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(a,{appearance:"tertiary",class:"navigation-button",onClick:n[0]||(n[0]=r=>o.$emit("navigation-click",A.item))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.item.value||e.unref(t)("baseConfigCard.commonFields.link")),1)]),_:1})])}}}),ho=aA(mo,[["__scopeId","data-v-c96811e5"]]),yo=e.defineComponent({__name:"StatusBadge",props:{status:{type:Boolean,default:!1}},setup(A){const{i18n:{t}}=O.useI18n();return(o,n)=>{const a=e.resolveComponent("KBadge");return e.openBlock(),e.createBlock(a,{appearance:A.status?"success":"neutral"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.status?e.unref(t)("baseConfigCard.statusBadge.enabledLabel"):e.unref(t)("baseConfigCard.statusBadge.disabledLabel")),1)]),_:1},8,["appearance"])}}}),bo="#0044f4",ko="#e0e4ea",wo="#afb7c5",So="1px",Vo="20px",No={class:"config-card-details-row"},Jo=["data-testid"],xo=["data-testid"],Uo=["data-testid"],To=["data-testid"],Ro={key:1},vo=["data-testid"],Fo=["data-testid"],Lo=["data-testid"],Mo=["data-testid"],Ko={name:"ConfigCardItem",components:{JsonCardItem:ue,StatusBadge:yo,InternalLinkItem:ho}},Do=e.defineComponent({...Ko,props:{item:{type:Object,required:!0},slim:{type:Boolean,required:!1,default:!1},truncated:{type:Boolean,required:!1,default:!1}},emits:["navigation-click"],setup(A,{emit:t}){e.useCssVars(I=>({dc1d91a8:B.value?"none":`solid ${e.unref(So)} ${e.unref(ko)}`,"59ccec5f":g.value&&l.value?"block":"flex","29318fbe":g.value&&l.value?"100%":o.slim?"50%":"25%","292d0408":g.value&&l.value?"100%":o.slim?"50%":"75%"}));const o=A,n=t,a=e.useSlots(),{i18n:{t:r,formatUnixTimeStamp:i}}=O.useI18n(),l=e.computed(()=>o.item.value!==void 0&&o.item.value!==null&&o.item.value!==""),s=e.computed(()=>!!(o.item.tooltip||a["label-tooltip"])),g=e.computed(()=>o.item.type===D.Json||o.item.type===D.JsonArray),B=e.computed(()=>o.item.type===D.JsonArray),C=e.computed(()=>{switch(o.item.type){case D.ID:return{tag:"KCopy",attrs:{"data-testid":`${o.item.key}-copy-uuid`,"copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label}),text:o.item.value}};case D.IdArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{"copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label})}};case D.Redacted:return{tag:"KCopy",attrs:{"data-testid":`${o.item.key}-copy-uuid-redacted`,format:"redacted","copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label}),text:o.item.value}};case D.RedactedArray:return{tag:"div",additionalComponent:"KCopy",childAttrs:{format:"redacted","copy-tooltip":r("baseConfigCard.copy.tooltip",{label:o.item.label})}};case D.Date:return{tag:"div",attrs:{"data-testid":`${o.item.key}-date`},text:i(o.item.value)};case D.BadgeStatus:return{tag:"StatusBadge",attrs:{"data-testid":`${o.item.key}-badge-status`,status:o.item.value}};case D.BadgeTag:return{tag:"div",additionalComponent:"KBadge"};case D.BadgeMethod:return{tag:"div",additionalComponent:"KMethodBadge"};case D.LinkInternal:return{tag:"InternalLinkItem",attrs:{"data-testid":`${o.item.key}-internal-link`,item:o.item,onNavigationClick:I=>{n("navigation-click",I)}}};case D.LinkExternal:return{tag:"KExternalLink",attrs:{"data-testid":`${o.item.key}-external-link`,href:o.item.value},text:o.item.value};case D.Json:return{tag:"JsonCardItem",attrs:{"data-testid":`${o.item.key}-json-content`,item:o.item}};case D.JsonArray:return{tag:"div",additionalComponent:"JsonCardItem",attrs:{"data-testid":`${o.item.key}-json-array-content`,item:o.item}};default:return{tag:"div",attrs:{"data-testid":`${o.item.key}-plain-text`},text:o.item.value}}}),f=e.ref(),{isTruncated:p}=O.useTruncationDetector(f);return(I,S)=>{const y=e.resolveComponent("KLabel"),T=e.resolveComponent("KBadge"),k=e.resolveComponent("KCopy"),M=e.resolveComponent("KTooltip");return e.openBlock(),e.createElementBlock("div",No,[e.createElementVNode("div",{class:"config-card-details-label","data-testid":`${A.item.key}-label`},[e.renderSlot(I.$slots,"label",{item:A.item},()=>[e.createVNode(y,{"tooltip-attributes":{maxWidth:"500px"}},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.item.label)+" ",1)]),_:2},[s.value?{name:"tooltip",fn:e.withCtx(()=>[e.createElementVNode("div",{"data-testid":`${A.item.key}-label-tooltip`},[e.renderSlot(I.$slots,"label-tooltip",{},()=>[e.createTextVNode(e.toDisplayString(A.item.tooltip),1)],!0)],8,xo)]),key:"0"}:void 0]),1024)],!0)],8,Jo),e.createElementVNode("div",{class:"config-card-details-value","data-testid":`${A.item.key}-property-value`},[e.renderSlot(I.$slots,A.item.key,{rowValue:A.item.value},()=>[l.value?(e.openBlock(),e.createElementBlock("div",Ro,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value.tag),e.normalizeProps(e.guardReactiveProps(C.value.attrs)),{default:e.withCtx(()=>[C.value.additionalComponent==="KBadge"?(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${A.item.key}-badge-tags`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(T,{key:`${A.item.key}-badge-tag-${V}`,class:"config-badge","data-testid":`${A.item.key}-badge-tag-${V}`,tooltip:u,"truncation-tooltip":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u),1)]),_:2},1032,["data-testid","tooltip"]))),128))],8,vo)):e.createCommentVNode("",!0),C.value.additionalComponent==="KCopy"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"copy-uuid-array","data-testid":`${A.item.key}-copy-uuid-array`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(k,e.mergeProps({ref_for:!0},C.value.childAttrs,{key:`${A.item.key}-copy-uuid-${V}`,"data-testid":`${A.item.key}-copy-uuid-${V}`,text:u}),null,16,["data-testid","text"]))),128))],8,Fo)):C.value.additionalComponent==="KMethodBadge"?(e.openBlock(),e.createElementBlock("div",{key:2,class:"method-badge-array","data-testid":`${A.item.key}-badge-methods`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(T,{key:`${A.item.key}-badge-method-${V}`,appearance:Object.values(e.unref(Ut.BadgeMethodAppearances)).includes(u.toLowerCase())?u.toLowerCase():"custom",class:"config-badge","data-testid":`${A.item.key}-badge-method-${V}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u),1)]),_:2},1032,["appearance","data-testid"]))),128))],8,Lo)):e.createCommentVNode("",!0),C.value.additionalComponent==="JsonCardItem"?(e.openBlock(),e.createElementBlock("div",{key:3,"data-testid":`${o.item.key}-json-array-content`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.item.value,(u,V)=>(e.openBlock(),e.createBlock(ue,{key:`json-array-item-${V}`,index:V,"is-array-item":"",item:u},null,8,["index","item"]))),128))],8,Mo)):(e.openBlock(),e.createBlock(M,{key:4,text:e.unref(p)?A.item.value:""},{default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"textContent",ref:f,class:e.normalizeClass(["attrs-data-text",{truncated:A.truncated}])},e.toDisplayString(C.value.text),3)]),_:1},8,["text"]))]),_:1},16))])):(e.openBlock(),e.createElementBlock("div",{key:0,"data-testid":`${A.item.key}-no-value`}," – ",8,To))],!0)],8,Uo)])}}}),fe=aA(Do,[["__scopeId","data-v-d268261c"]]),jo={class:"json-config"},qo={key:0,class:"json-endpoint"},me=e.defineComponent({__name:"JsonCodeBlock",props:{config:{type:Object,required:!1,default:()=>({})},fetcherUrl:{type:String,required:!1,default:""},jsonRecord:{type:Object,required:!0},requestMethod:{type:String,required:!1,default:""}},setup(A){e.useCssVars(a=>({"090794fe":`${n.value}ch`}));const t=A,o=e.computed(()=>t.jsonRecord),n=e.computed(()=>{var a;if(!t.fetcherUrl)return 0;const r=(a=t.fetcherUrl)==null?void 0:a.split("/");return r.length<2?0:41+(t.requestMethod==="post"?r[r.length-1]:r[r.length-2]).length});return(a,r)=>{const i=e.resolveComponent("KBadge"),l=e.resolveComponent("KCodeBlock");return e.openBlock(),e.createElementBlock("div",jo,[t.fetcherUrl?(e.openBlock(),e.createElementBlock("div",qo,[e.createVNode(i,{appearance:t.requestMethod},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.requestMethod),1)]),_:1},8,["appearance"]),e.createVNode(l,{id:"json-endpoint-codeblock",code:t.fetcherUrl,language:"json","single-line":"",theme:"dark"},null,8,["code"])])):e.createCommentVNode("",!0),t.jsonRecord?(e.openBlock(),e.createBlock(l,{key:1,id:"json-codeblock",class:e.normalizeClass({"json-content":t.fetcherUrl}),code:JSON.stringify(o.value,null,2),language:"json",theme:"dark"},null,8,["class","code"])):e.createCommentVNode("",!0)])}}});/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function he(A){return typeof A>"u"||A===null}function Wo(A){return typeof A=="object"&&A!==null}function Oo(A){return Array.isArray(A)?A:he(A)?[]:[A]}function Yo(A,t){var o,n,a,r;if(t)for(r=Object.keys(t),o=0,n=r.length;o<n;o+=1)a=r[o],A[a]=t[a];return A}function Po(A,t){var o="",n;for(n=0;n<t;n+=1)o+=A;return o}function zo(A){return A===0&&Number.NEGATIVE_INFINITY===1/A}var Ho=he,Go=Wo,Zo=Oo,Xo=Po,_o=zo,$o=Yo,W={isNothing:Ho,isObject:Go,toArray:Zo,repeat:Xo,isNegativeZero:_o,extend:$o};function ye(A,t){var o="",n=A.reason||"(unknown reason)";return A.mark?(A.mark.name&&(o+='in "'+A.mark.name+'" '),o+="("+(A.mark.line+1)+":"+(A.mark.column+1)+")",!t&&A.mark.snippet&&(o+=`
2
2
 
3
3
  `+A.mark.snippet),n+" "+o):n}function uA(A,t){Error.call(this),this.name="YAMLException",this.reason=A,this.mark=t,this.message=ye(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}uA.prototype=Object.create(Error.prototype),uA.prototype.constructor=uA,uA.prototype.toString=function(A){return this.name+": "+ye(this,A)};var _=uA;function qA(A,t,o,n,a){var r="",i="",l=Math.floor(a/2)-1;return n-t>l&&(r=" ... ",t=n-l+r.length),o-n>l&&(i=" ...",o=n+l-i.length),{str:r+A.slice(t,o).replace(/\t/g,"→")+i,pos:n-t+r.length}}function WA(A,t){return W.repeat(" ",t-A.length)+A}function Aa(A,t){if(t=Object.create(t||null),!A.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var o=/\r?\n|\r|\0/g,n=[0],a=[],r,i=-1;r=o.exec(A.buffer);)a.push(r.index),n.push(r.index+r[0].length),A.position<=r.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var l="",s,g,B=Math.min(A.line+t.linesAfter,a.length).toString().length,C=t.maxLength-(t.indent+B+3);for(s=1;s<=t.linesBefore&&!(i-s<0);s++)g=qA(A.buffer,n[i-s],a[i-s],A.position-(n[i]-n[i-s]),C),l=W.repeat(" ",t.indent)+WA((A.line-s+1).toString(),B)+" | "+g.str+`
4
4
  `+l;for(g=qA(A.buffer,n[i],a[i],A.position,C),l+=W.repeat(" ",t.indent)+WA((A.line+1).toString(),B)+" | "+g.str+`
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 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}.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-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-d268261c]{align-items:center;border-bottom:var(--dc1d91a8);display:var(--59ccec5f);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-d268261c]{width:var(--29318fbe)}.config-card-details-row .config-card-details-label label[data-v-d268261c]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-d268261c]{width:var(--292d0408)}.config-card-details-row .config-card-details-value .truncated[data-v-d268261c]{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-d268261c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-d268261c] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-d268261c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-d268261c]{margin-right:4px}.config-card-details-row[data-v-d268261c] .k-label{margin-bottom:0}.config-card-details-row[data-v-d268261c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-d268261c] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 6px 12px}.json-endpoint .k-badge{height:24px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0}.json-endpoint code{direction:rtl;max-width:var(--4520e3ec);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-2052238b]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-f40a683b]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-f40a683b]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-f40a683b]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-f40a683b] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-f40a683b]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-fd05df8e]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-fd05df8e]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-fd05df8e] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-fd05df8e] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-fd05df8e] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-71b4425a]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-71b4425a]{margin-left:auto}.kong-ui-entity-base-table .actions-container[data-v-71b4425a]{float:right}.kong-ui-entity-base-table .actions-container[data-v-71b4425a] .k-dropdown-item-trigger{margin-bottom:0;margin-top:0}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-94990087]{width:100%}.kong-ui-entity-filter-clear[data-v-94990087]{cursor:pointer}.kong-ui-entity-filter[data-v-94990087]{display:flex;position:relative}.kong-ui-entity-filter[data-v-94990087] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-94990087] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-94990087]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-94990087]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-94990087]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-94990087]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-94990087]{color:#232633}.menu-item-expand-icon[data-v-94990087]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-94990087]{transform:rotate(180deg)}.menu-item-indicator[data-v-94990087]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-94990087]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-94990087] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-94990087] .k-input{width:100%}.menu-item-body[data-v-94990087] .k-select-input .input{font-size:12px}.menu-item-body[data-v-94990087] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-94990087]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-94990087]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-94990087]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size: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-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}.kong-ui-entities-vaults-list[data-v-24185dcb]{width:100%}.kong-ui-entities-vaults-list .kong-ui-entity-filter-input[data-v-24185dcb]{margin-right:12px}.kong-ui-entities-vaults-list .table-content-overflow-wrapper[data-v-24185dcb]{max-width:60ch;overflow:hidden;text-overflow:ellipsis}.appear-enter-active{transition:all .5s ease}.appear-enter-from,.appear-leave-to{opacity:0;transform:translate(30px)}.kong-ui-entities-vault-form[data-v-6da4d8e0]{width:100%}.kong-ui-entities-vault-form .advanced-fields-collapse[data-v-6da4d8e0]{margin-bottom:24px}.kong-ui-entities-vault-form .advanced-fields-collapse .wrapper[data-v-6da4d8e0]{display:flex;gap:24px;margin-bottom:24px}.kong-ui-entities-vault-form .advanced-fields-collapse .wrapper .item-50[data-v-6da4d8e0]{width:50%}.kong-ui-entities-vault-form .advanced-fields-collapse .wrapper .item-100[data-v-6da4d8e0],.kong-ui-entities-vault-form .vault-form-textarea[data-v-6da4d8e0]{width:100%}.kong-ui-entities-vault-form .vault-form-provider-cards-container[data-v-6da4d8e0]{column-gap:12px;display:grid;grid-template-columns:1fr 1fr 1fr;row-gap:12px}.kong-ui-entities-vault-form .vault-form-provider-cards-container .k-radio-label[data-v-6da4d8e0]{margin-top:12px}.kong-ui-entities-vault-form .vault-form-provider-cards-container[data-v-6da4d8e0] .k-radio label{box-sizing:border-box}.kong-ui-entities-vault-form .vault-form-provider-cards-container[data-v-6da4d8e0] .k-radio{box-sizing:border-box;height:100%;width:100%}.kong-ui-entities-vault-form .vault-form-config-fields-container[data-v-6da4d8e0]>*:not(:first-child),.kong-ui-entities-vault-form .vault-form-config-fields-container .vault-form-config-auth-method-container[data-v-6da4d8e0]>*:not(:first-child){margin-top:24px}
1
+ .config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 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}.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-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-d268261c]{align-items:center;border-bottom:var(--dc1d91a8);display:var(--59ccec5f);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-d268261c]{width:var(--29318fbe)}.config-card-details-row .config-card-details-label label[data-v-d268261c]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-d268261c]{width:var(--292d0408)}.config-card-details-row .config-card-details-value .truncated[data-v-d268261c]{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-d268261c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-d268261c] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-d268261c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-d268261c]{margin-right:4px}.config-card-details-row[data-v-d268261c] .k-label{margin-bottom:0}.config-card-details-row[data-v-d268261c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-d268261c] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 6px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--090794fe);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-2052238b]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-f40a683b]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-f40a683b]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-f40a683b]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-f40a683b] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-f40a683b]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-fd05df8e]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-fd05df8e]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-fd05df8e] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-fd05df8e] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-fd05df8e] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-71b4425a]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-71b4425a]{margin-left:auto}.kong-ui-entity-base-table .actions-container[data-v-71b4425a]{float:right}.kong-ui-entity-base-table .actions-container[data-v-71b4425a] .k-dropdown-item-trigger{margin-bottom:0;margin-top:0}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-94990087]{width:100%}.kong-ui-entity-filter-clear[data-v-94990087]{cursor:pointer}.kong-ui-entity-filter[data-v-94990087]{display:flex;position:relative}.kong-ui-entity-filter[data-v-94990087] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-94990087] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-94990087]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-94990087]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-94990087]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-94990087]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-94990087]{color:#232633}.menu-item-expand-icon[data-v-94990087]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-94990087]{transform:rotate(180deg)}.menu-item-indicator[data-v-94990087]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-94990087]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-94990087] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-94990087] .k-input{width:100%}.menu-item-body[data-v-94990087] .k-select-input .input{font-size:12px}.menu-item-body[data-v-94990087] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-94990087]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-94990087]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-94990087]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size: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-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}.kong-ui-entities-vaults-list[data-v-24185dcb]{width:100%}.kong-ui-entities-vaults-list .kong-ui-entity-filter-input[data-v-24185dcb]{margin-right:12px}.kong-ui-entities-vaults-list .table-content-overflow-wrapper[data-v-24185dcb]{max-width:60ch;overflow:hidden;text-overflow:ellipsis}.appear-enter-active{transition:all .5s ease}.appear-enter-from,.appear-leave-to{opacity:0;transform:translate(30px)}.kong-ui-entities-vault-form[data-v-6da4d8e0]{width:100%}.kong-ui-entities-vault-form .advanced-fields-collapse[data-v-6da4d8e0]{margin-bottom:24px}.kong-ui-entities-vault-form .advanced-fields-collapse .wrapper[data-v-6da4d8e0]{display:flex;gap:24px;margin-bottom:24px}.kong-ui-entities-vault-form .advanced-fields-collapse .wrapper .item-50[data-v-6da4d8e0]{width:50%}.kong-ui-entities-vault-form .advanced-fields-collapse .wrapper .item-100[data-v-6da4d8e0],.kong-ui-entities-vault-form .vault-form-textarea[data-v-6da4d8e0]{width:100%}.kong-ui-entities-vault-form .vault-form-provider-cards-container[data-v-6da4d8e0]{column-gap:12px;display:grid;grid-template-columns:1fr 1fr 1fr;row-gap:12px}.kong-ui-entities-vault-form .vault-form-provider-cards-container .k-radio-label[data-v-6da4d8e0]{margin-top:12px}.kong-ui-entities-vault-form .vault-form-provider-cards-container[data-v-6da4d8e0] .k-radio label{box-sizing:border-box}.kong-ui-entities-vault-form .vault-form-provider-cards-container[data-v-6da4d8e0] .k-radio{box-sizing:border-box;height:100%;width:100%}.kong-ui-entities-vault-form .vault-form-config-fields-container[data-v-6da4d8e0]>*:not(:first-child),.kong-ui-entities-vault-form .vault-form-config-fields-container .vault-form-config-auth-method-container[data-v-6da4d8e0]>*:not(:first-child){margin-top:24px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-vaults",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-vaults.umd.js",
6
6
  "module": "./dist/entities-vaults.es.js",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@kong/icons": "^1.14.2",
54
- "@kong-ui-public/entities-shared": "^3.4.2"
54
+ "@kong-ui-public/entities-shared": "^3.4.3"
55
55
  },
56
56
  "scripts": {
57
57
  "dev": "cross-env USE_SANDBOX=true vite",