@kong-ui-public/entities-key-sets 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { defineComponent as W, ref as v, computed as b, watch as ke, onBeforeMount as he, resolveComponent as w, openBlock as C, createElementBlock as q, createVNode as c, unref as n, withCtx as p, createBlock as z, Teleport as ve, withDirectives as be, createTextVNode as x, toDisplayString as T, vShow as Se, createElementVNode as Ce, Fragment as Ie, renderList as Ke, withModifiers as Ee, reactive as ae } from "vue";
1
+ import { defineComponent as Q, ref as v, computed as b, watch as ke, onBeforeMount as he, resolveComponent as w, openBlock as C, createElementBlock as q, createVNode as c, unref as n, withCtx as p, createBlock as W, Teleport as ve, withDirectives as be, createTextVNode as x, toDisplayString as T, vShow as Se, createElementVNode as Ce, Fragment as Ie, renderList as Ke, withModifiers as Ee, reactive as ae } from "vue";
2
2
  import { AddIcon as Me } from "@kong/icons";
3
3
  import { useRouter as oe } from "vue-router";
4
4
  import { createI18n as we, i18nTComponent as _e } from "@kong-ui-public/i18n";
5
- import { useAxios as se, useFetcher as De, useDeleteUrlBuilder as Fe, FetcherStatus as $e, EntityBaseTable as Te, EntityFilter as Be, PermissionsWrapper as A, EntityDeleteModal as Re, EntityTypes as xe, useErrors as qe, EntityBaseFormType as ne, EntityBaseForm as Oe, SupportedEntityType as ie, EntityFormSection as Pe, EntityBaseConfigCard as je } from "@kong-ui-public/entities-shared";
6
- const Ae = {
5
+ import { useAxios as se, useFetcher as De, useDeleteUrlBuilder as Fe, FetcherStatus as $e, EntityBaseTable as Te, EntityFilter as Be, PermissionsWrapper as j, EntityDeleteModal as Re, EntityTypes as xe, useErrors as qe, EntityBaseFormType as ne, EntityBaseForm as Oe, SupportedEntityType as ie, EntityFormSection as Ae, EntityBaseConfigCard as Pe } from "@kong-ui-public/entities-shared";
6
+ const je = {
7
7
  title: "Key Sets",
8
8
  list: {
9
9
  toolbar_actions: {
@@ -65,7 +65,7 @@ const Ae = {
65
65
  }
66
66
  }
67
67
  }, Ue = {
68
- keySets: Ae
68
+ keySets: je
69
69
  };
70
70
  function Ve() {
71
71
  const e = we("en-us", Ue);
@@ -77,22 +77,22 @@ function Ve() {
77
77
  }
78
78
  const X = {
79
79
  useI18n: Ve
80
- }, H = "/v2/control-planes/{controlPlaneId}/core-entities", Q = "/{workspace}", U = {
80
+ }, z = "/v2/control-planes/{controlPlaneId}/core-entities", H = "/{workspace}", U = {
81
81
  list: {
82
- konnect: `${H}/key-sets`,
83
- kongManager: `${Q}/key-sets`
82
+ konnect: `${z}/key-sets`,
83
+ kongManager: `${H}/key-sets`
84
84
  },
85
85
  form: {
86
86
  konnect: {
87
- create: `${H}/key-sets`,
88
- edit: `${H}/key-sets/{id}`
87
+ create: `${z}/key-sets`,
88
+ edit: `${z}/key-sets/{id}`
89
89
  },
90
90
  kongManager: {
91
- create: `${Q}/key-sets`,
92
- edit: `${Q}/key-sets/{id}`
91
+ create: `${H}/key-sets`,
92
+ edit: `${H}/key-sets/{id}`
93
93
  }
94
94
  }
95
- }, Ne = { class: "kong-ui-entities-key-sets-list" }, Je = { key: 1 }, Le = /* @__PURE__ */ W({
95
+ }, Ne = { class: "kong-ui-entities-key-sets-list" }, Je = { key: 1 }, Le = /* @__PURE__ */ Q({
96
96
  __name: "KeySetList",
97
97
  props: {
98
98
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -206,29 +206,29 @@ const X = {
206
206
  }), de = (t) => ({
207
207
  label: o("keySets.actions.edit"),
208
208
  to: a.config.getEditRoute(t)
209
- }), E = v(void 0), O = v(!1), P = v(!1), Y = v(""), ue = Fe(a.config, D.value), fe = (t) => {
209
+ }), E = v(void 0), O = v(!1), A = v(!1), Y = v(""), ue = Fe(a.config, D.value), fe = (t) => {
210
210
  E.value = t, O.value = !0;
211
211
  }, pe = () => {
212
212
  O.value = !1;
213
213
  }, ye = async () => {
214
214
  var t, s, y;
215
215
  if ((t = E.value) != null && t.id) {
216
- P.value = !0;
216
+ A.value = !0;
217
217
  try {
218
- await h.delete(ue(E.value.id)), P.value = !1, O.value = !1, k.value++, m("delete:success", E.value);
218
+ await h.delete(ue(E.value.id)), A.value = !1, O.value = !1, k.value++, m("delete:success", E.value);
219
219
  } catch (S) {
220
220
  Y.value = ((y = (s = S.response) == null ? void 0 : s.data) == null ? void 0 : y.message) || S.message || o("keySets.errors.delete"), m("error", S);
221
221
  } finally {
222
- P.value = !1;
222
+ A.value = !1;
223
223
  }
224
224
  }
225
225
  }, Z = v(!1);
226
226
  ke(B, (t) => {
227
- var s, y, S, j;
227
+ var s, y, S, P;
228
228
  if (Array.isArray((s = t == null ? void 0 : t.response) == null ? void 0 : s.data) && (Z.value = t.response.data.length > 0), t.status === $e.Error) {
229
229
  K.value = {
230
230
  title: o("keySets.errors.general")
231
- }, (j = (S = (y = t.error) == null ? void 0 : y.response) == null ? void 0 : S.data) != null && j.message && (K.value.message = t.error.response.data.message), m("error", t.error);
231
+ }, (P = (S = (y = t.error) == null ? void 0 : y.response) == null ? void 0 : S.data) != null && P.message && (K.value.message = t.error.response.data.message), m("error", t.error);
232
232
  return;
233
233
  }
234
234
  K.value = null;
@@ -242,7 +242,7 @@ const X = {
242
242
  return he(async () => {
243
243
  await a.canCreate() && (G.value.title = o("keySets.list.empty_state.title"), G.value.ctaText = o("keySets.actions.create"));
244
244
  }), (t, s) => {
245
- const y = w("KButton"), S = w("KBadge"), j = w("KTruncate"), me = w("KCopy"), R = w("KDropdownItem"), te = w("KClipboardProvider");
245
+ const y = w("KButton"), S = w("KBadge"), P = w("KTruncate"), me = w("KCopy"), R = w("KDropdownItem"), te = w("KClipboardProvider");
246
246
  return C(), q("div", Ne, [
247
247
  c(n(Te), {
248
248
  "cache-identifier": e.cacheIdentifier,
@@ -270,11 +270,11 @@ const X = {
270
270
  }, null, 8, ["modelValue", "config"])
271
271
  ]),
272
272
  "toolbar-button": p(() => [
273
- (C(), z(ve, {
273
+ (C(), W(ve, {
274
274
  disabled: !e.useActionOutside,
275
275
  to: "#kong-ui-app-page-header-action-button"
276
276
  }, [
277
- c(n(A), {
277
+ c(n(j), {
278
278
  "auth-function": () => e.canCreate()
279
279
  }, {
280
280
  default: p(() => [
@@ -301,9 +301,9 @@ const X = {
301
301
  Ce("b", null, T(u ?? "-"), 1)
302
302
  ]),
303
303
  tags: p(({ rowValue: u }) => [
304
- (u == null ? void 0 : u.length) > 0 ? (C(), z(j, { key: 0 }, {
304
+ (u == null ? void 0 : u.length) > 0 ? (C(), W(P, { key: 0 }, {
305
305
  default: p(() => [
306
- (C(!0), q(Ie, null, Ke(u, (M) => (C(), z(S, {
306
+ (C(!0), q(Ie, null, Ke(u, (M) => (C(), W(S, {
307
307
  key: M,
308
308
  onClick: s[1] || (s[1] = Ee(() => {
309
309
  }, ["stop"]))
@@ -352,7 +352,7 @@ const X = {
352
352
  ]),
353
353
  _: 2
354
354
  }, 1024),
355
- c(n(A), {
355
+ c(n(j), {
356
356
  "auth-function": () => e.canRetrieve(u)
357
357
  }, {
358
358
  default: p(() => [
@@ -364,7 +364,7 @@ const X = {
364
364
  ]),
365
365
  _: 2
366
366
  }, 1032, ["auth-function"]),
367
- c(n(A), {
367
+ c(n(j), {
368
368
  "auth-function": () => e.canEdit(u)
369
369
  }, {
370
370
  default: p(() => [
@@ -375,7 +375,7 @@ const X = {
375
375
  ]),
376
376
  _: 2
377
377
  }, 1032, ["auth-function"]),
378
- c(n(A), {
378
+ c(n(j), {
379
379
  "auth-function": () => e.canDelete(u)
380
380
  }, {
381
381
  default: p(() => [
@@ -397,7 +397,7 @@ const X = {
397
397
  _: 1
398
398
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
399
399
  c(n(Re), {
400
- "action-pending": P.value,
400
+ "action-pending": A.value,
401
401
  description: n(o)("keySets.delete.description"),
402
402
  "entity-name": E.value && (E.value.name || E.value.id),
403
403
  "entity-type": n(xe).KeySet,
@@ -415,7 +415,7 @@ const X = {
415
415
  for (const [a, o] of I)
416
416
  m[a] = o;
417
417
  return m;
418
- }, et = /* @__PURE__ */ re(Le, [["__scopeId", "data-v-0bda6d81"]]), Ge = { class: "kong-ui-entities-key-sets-form" }, ze = /* @__PURE__ */ W({
418
+ }, et = /* @__PURE__ */ re(Le, [["__scopeId", "data-v-0bda6d81"]]), Ge = { class: "kong-ui-entities-key-sets-form" }, We = /* @__PURE__ */ Q({
419
419
  __name: "KeySetForm",
420
420
  props: {
421
421
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -502,7 +502,7 @@ const X = {
502
502
  onSubmit: L
503
503
  }, {
504
504
  default: p(() => [
505
- c(n(Pe), {
505
+ c(n(Ae), {
506
506
  description: n(g)("keySets.form.sections.general.description"),
507
507
  "has-divider": "",
508
508
  title: n(g)("keySets.form.sections.general.title")
@@ -527,7 +527,10 @@ const X = {
527
527
  "data-testid": "key-set-form-tags",
528
528
  help: n(g)("keySets.form.fields.tags.help"),
529
529
  label: n(g)("keySets.form.fields.tags.label"),
530
- "label-attributes": { info: n(g)("keySets.form.fields.tags.tooltip") },
530
+ "label-attributes": {
531
+ info: n(g)("keySets.form.fields.tags.tooltip"),
532
+ tooltipAttributes: { maxWidth: "400" }
533
+ },
531
534
  placeholder: n(g)("keySets.form.fields.tags.placeholder"),
532
535
  readonly: r.isReadonly,
533
536
  type: "text"
@@ -541,7 +544,7 @@ const X = {
541
544
  ]);
542
545
  };
543
546
  }
544
- }), tt = /* @__PURE__ */ re(ze, [["__scopeId", "data-v-7b89dbd7"]]), He = { class: "kong-ui-entities-keys-entity-config-card" }, at = /* @__PURE__ */ W({
547
+ }), tt = /* @__PURE__ */ re(We, [["__scopeId", "data-v-58150834"]]), ze = { class: "kong-ui-entities-keys-entity-config-card" }, at = /* @__PURE__ */ Q({
545
548
  __name: "KeySetConfigCard",
546
549
  props: {
547
550
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -585,8 +588,8 @@ const X = {
585
588
  tooltip: m("keySets.form.fields.tags.tooltip")
586
589
  }
587
590
  });
588
- return (g, h) => (C(), q("div", He, [
589
- c(n(je), {
591
+ return (g, h) => (C(), q("div", ze, [
592
+ c(n(Pe), {
590
593
  config: e.config,
591
594
  "config-card-doc": e.configCardDoc,
592
595
  "config-schema": o.value,
@@ -1 +1 @@
1
- (function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("vue-router"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","vue-router","@kong-ui-public/i18n","@kong-ui-public/entities-shared"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g["kong-ui-public-entities-key-sets"]={},g.Vue,g.KongIcons,g.VueRouter,g["kong-ui-public-i18n"],g["kong-ui-public-entities-shared"]))})(this,function(g,e,Q,U,L,c){"use strict";const X={keySets:{title:"Key Sets",list:{toolbar_actions:{new_key_set:"New Key Set"},table_headers:{name:"Name",id:"ID",tags:"Tags"},empty_state:{title:"Configure a New Key Set",description:"A Key Set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose."}},actions:{create:"New Key Set",copy_id:"Copy ID",copy_json:"Copy JSON",edit:"Edit",delete:"Delete",clear:"Clear",view:"View Details"},search:{placeholder:"Filter by exact name or ID"},delete:{title:"Delete a Key Set",description:"Deleting this key set will also delete keys associated. This action cannot be reversed so make sure to check the key set usage before deleting."},errors:{general:"Key sets could not be retrieved",delete:"The key set could not be deleted at this time.",copy:"Failed to copy to clipboard"},copy:{success:"Copied {val} to clipboard",success_brief:"Successfully copied to clipboard"},form:{sections:{general:{title:"General Information",description:"General information will help identify and manage this key set."}},fields:{name:{label:"Name",placeholder:"Enter a unique name for this key set"},tags:{label:"Tags",placeholder:"Enter a list of tags separated by comma",help:"e.g. tag1, tag2, tag3",tooltip:"An optional set of strings for grouping and filtering, separated by commas."}}}}};function Y(){const t=L.createI18n("en-us",X);return{i18n:t,i18nT:L.i18nTComponent(t)}}const F={useI18n:Y},$="/v2/control-planes/{controlPlaneId}/core-entities",R="/{workspace}",T={list:{konnect:`${$}/key-sets`,kongManager:`${R}/key-sets`},form:{konnect:{create:`${$}/key-sets`,edit:`${$}/key-sets/{id}`},kongManager:{create:`${R}/key-sets`,edit:`${R}/key-sets/{id}`}}},Z={class:"kong-ui-entities-key-sets-list"},v={key:1},ee=e.defineComponent({__name:"KeySetList",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||!t.createRoute||!t.getViewRoute||!t.getEditRoute||t.app==="kongManager"&&!t.isExactMatch&&!t.filterSchema)},cacheIdentifier:{type:String,default:""},canCreate:{type:Function,required:!1,default:async()=>!0},canDelete:{type:Function,required:!1,default:async()=>!0},canEdit:{type:Function,required:!1,default:async()=>!0},canRetrieve:{type:Function,required:!1,default:async()=>!0},useActionOutside:{type:Boolean,default:!1}},emits:["error","copy:success","copy:error","delete:success"],setup(t,{emit:C}){var z;const u=C,n=t,{i18n:{t:a}}=F.useI18n(),m=U.useRouter(),{axiosInstance:h}=c.useAxios((z=n.config)==null?void 0:z.axiosRequestConfig),k=e.ref(1),q=e.computed(()=>n.config.app!=="kongManager"||!!n.config.disableSorting),V={name:{label:a("keySets.list.table_headers.name"),searchable:!0,sortable:!0,hidable:!1},tags:{label:a("keySets.list.table_headers.tags")},id:{label:a("keySets.list.table_headers.id"),sortable:!0}},i=V,B=e.computed(()=>{var r,y;let o=`${n.config.apiBaseUrl}${T.list[n.config.app]}`;return n.config.app==="konnect"?o=o.replace(/{controlPlaneId}/gi,((r=n.config)==null?void 0:r.controlPlaneId)||""):n.config.app==="kongManager"&&(o=o.replace(/\/{workspace}/gi,(y=n.config)!=null&&y.workspace?`/${n.config.workspace}`:"")),o}),I=e.ref(""),P=e.computed(()=>{const o=n.config.app==="konnect"||n.config.isExactMatch;if(o)return{isExactMatch:o,placeholder:a("keySets.search.placeholder")};const r={name:V.name};return{isExactMatch:o,fields:r,schema:n.config.filterSchema}}),{fetcher:O,fetcherState:E}=c.useFetcher(n.config,B.value),N=()=>{I.value=""},j=()=>{k.value++},S=e.ref(null),s=(o,r)=>{const y=o.id;if(!r(y)){p(o,"id");return}d(o,"id")},l=(o,r)=>{const y=JSON.stringify(o);if(!r(y)){u("copy:error",{entity:o,message:a("keySets.errors.copy")});return}u("copy:success",{entity:o,message:a("keySets.copy.success_brief")})},d=(o,r)=>{u("copy:success",{entity:o,field:r,message:a("keySets.copy.success",{val:o[r]})})},p=(o,r)=>{u("copy:error",{entity:o,field:r,message:a("keySets.errors.copy")})},se=async o=>{var y;await((y=n.canRetrieve)==null?void 0:y.call(n,o))&&m.push(n.config.getViewRoute(o.id))},ie=o=>({label:a("keySets.actions.view"),to:n.config.getViewRoute(o)}),le=o=>({label:a("keySets.actions.edit"),to:n.config.getEditRoute(o)}),w=e.ref(void 0),D=e.ref(!1),M=e.ref(!1),W=e.ref(""),ce=c.useDeleteUrlBuilder(n.config,B.value),de=o=>{w.value=o,D.value=!0},fe=()=>{D.value=!1},pe=async()=>{var o,r,y;if((o=w.value)!=null&&o.id){M.value=!0;try{await h.delete(ce(w.value.id)),M.value=!1,D.value=!1,k.value++,u("delete:success",w.value)}catch(b){W.value=((y=(r=b.response)==null?void 0:r.data)==null?void 0:y.message)||b.message||a("keySets.errors.delete"),u("error",b)}finally{M.value=!1}}},G=e.ref(!1);e.watch(E,o=>{var r,y,b,_;if(Array.isArray((r=o==null?void 0:o.response)==null?void 0:r.data)&&(G.value=o.response.data.length>0),o.status===c.FetcherStatus.Error){S.value={title:a("keySets.errors.general")},(_=(b=(y=o.error)==null?void 0:y.response)==null?void 0:b.data)!=null&&_.message&&(S.value.message=o.error.response.data.message),u("error",o.error);return}S.value=null});const A=e.ref({ctaPath:n.config.createRoute,ctaText:void 0,message:`${a("keySets.list.empty_state.description")}${n.config.additionMessageForEmptyState?` ${n.config.additionMessageForEmptyState}`:""}`,title:a("keySets.title")});return e.onBeforeMount(async()=>{await n.canCreate()&&(A.value.title=a("keySets.list.empty_state.title"),A.value.ctaText=a("keySets.actions.create"))}),(o,r)=>{const y=e.resolveComponent("KButton"),b=e.resolveComponent("KBadge"),_=e.resolveComponent("KTruncate"),ye=e.resolveComponent("KCopy"),K=e.resolveComponent("KDropdownItem"),H=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(e.unref(c.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-pagination-page-jump":"","disable-sorting":q.value,"empty-state-options":A.value,"enable-entity-actions":"","error-message":S.value,fetcher:e.unref(O),"fetcher-cache-key":k.value,"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-key-sets-list",query:I.value,"table-headers":e.unref(i),"use-action-outside":t.useActionOutside,onClearSearchInput:N,"onClick:row":r[2]||(r[2]=f=>se(f)),onSort:j},{"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(c.EntityFilter),{modelValue:I.value,"onUpdate:modelValue":r[0]||(r[0]=f=>I.value=f),config:P.value},null,8,["modelValue","config"])]),"toolbar-button":e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!t.useActionOutside,to:"#kong-ui-app-page-header-action-button"},[e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canCreate()},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(y,{appearance:"primary","data-testid":"toolbar-add-key-set",size:"large",to:t.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(Q.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.toolbar_actions.new_key_set")),1)]),_:1},8,["to"]),[[e.vShow,G.value]])]),_:1},8,["auth-function"])],8,["disabled"]))]),name:e.withCtx(({rowValue:f})=>[e.createElementVNode("b",null,e.toDisplayString(f??"-"),1)]),tags:e.withCtx(({rowValue:f})=>[(f==null?void 0:f.length)>0?(e.openBlock(),e.createBlock(_,{key:0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,x=>(e.openBlock(),e.createBlock(b,{key:x,onClick:r[1]||(r[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x),1)]),_:2},1024))),128))]),_:2},1024)):(e.openBlock(),e.createElementBlock("span",v,"-"))]),id:e.withCtx(({rowValue:f})=>[e.createVNode(ye,{text:f,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:f})=>[e.createVNode(H,null,{default:e.withCtx(({copyToClipboard:x})=>[e.createVNode(K,{"data-testid":"action-entity-copy-id",onClick:ue=>s(f,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_id")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(H,null,{default:e.withCtx(({copyToClipboard:x})=>[e.createVNode(K,{"data-testid":"action-entity-copy-json",onClick:ue=>l(f,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_json")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(f)},{default:e.withCtx(()=>[e.createVNode(K,{"data-testid":"action-entity-view","has-divider":"",item:ie(f.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canEdit(f)},{default:e.withCtx(()=>[e.createVNode(K,{"data-testid":"action-entity-edit",item:le(f.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canDelete(f)},{default:e.withCtx(()=>[e.createVNode(K,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:x=>de(f)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.delete")),1)]),_:2},1032,["onClick"])]),_:2},1032,["auth-function"])]),_:1},8,["cache-identifier","disable-sorting","empty-state-options","error-message","fetcher","fetcher-cache-key","query","table-headers","use-action-outside"]),e.createVNode(e.unref(c.EntityDeleteModal),{"action-pending":M.value,description:e.unref(a)("keySets.delete.description"),"entity-name":w.value&&(w.value.name||w.value.id),"entity-type":e.unref(c.EntityTypes).KeySet,error:W.value,title:e.unref(a)("keySets.delete.title"),visible:D.value,onCancel:fe,onProceed:pe},null,8,["action-pending","description","entity-name","entity-type","error","title","visible"])])}}}),J=(t,C)=>{const u=t.__vccOpts||t;for(const[n,a]of C)u[n]=a;return u},te=J(ee,[["__scopeId","data-v-0bda6d81"]]),oe={class:"kong-ui-entities-key-sets-form"},ne=J(e.defineComponent({__name:"KeySetForm",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.cancelRoute)},keySetId:{type:String,required:!1,default:""},enableTerraform:{type:Boolean,default:!1}},emits:["update","error","loading"],setup(t,{emit:C}){var S;const u=C,n=t,a=U.useRouter(),{i18n:{t:m}}=F.useI18n(),{getMessageFromError:h}=c.useErrors(),{axiosInstance:k}=c.useAxios((S=n.config)==null?void 0:S.axiosRequestConfig),q=e.computed(()=>T.form[n.config.app].edit),V=e.computed(()=>n.keySetId?c.EntityBaseFormType.Edit:c.EntityBaseFormType.Create),i=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),B=e.reactive({name:"",tags:""}),I=e.computed(()=>JSON.stringify(i.fields)!==JSON.stringify(B)&&!!i.fields.name),P=s=>{var l;i.fields.name=(s==null?void 0:s.name)||"",i.fields.tags=((l=s==null?void 0:s.tags)==null?void 0:l.join(", "))||"",Object.assign(B,i.fields)},O=()=>{a.push(n.config.cancelRoute)},E=e.computed(()=>{var l,d;let s=`${n.config.apiBaseUrl}${T.form[n.config.app][V.value]}`;return n.config.app==="konnect"?s=s.replace(/{controlPlaneId}/gi,((l=n.config)==null?void 0:l.controlPlaneId)||""):n.config.app==="kongManager"&&(s=s.replace(/\/{workspace}/gi,(d=n.config)!=null&&d.workspace?`/${n.config.workspace}`:"")),s=s.replace(/{id}/gi,n.keySetId),s}),N=e.computed(()=>{var s,l,d;return{name:i.fields.name,tags:((d=(l=(s=i.fields.tags)==null?void 0:s.split(","))==null?void 0:l.map(p=>String(p||"").trim()))==null?void 0:d.filter(p=>p!==""))||""}}),j=async()=>{var s,l;try{i.isReadonly=!0;let d;if(V.value==="create"?d=await k.post(E.value,N.value):V.value==="edit"&&(d=((s=n.config)==null?void 0:s.app)==="konnect"?await k.put(E.value,N.value):await k.patch(E.value,N.value)),d){const{data:p}=d;i.fields.name=(p==null?void 0:p.name)||"",i.fields.tags=((l=p==null?void 0:p.tags)==null?void 0:l.join(", "))||"",Object.assign(B,i.fields),u("update",d==null?void 0:d.data)}}catch(d){i.errorMessage=h(d),u("error",d)}finally{i.isReadonly=!1}};return(s,l)=>{const d=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",oe,[e.createVNode(e.unref(c.EntityBaseForm),{"can-submit":I.value,config:t.config,"edit-id":t.keySetId,"enable-terraform":t.enableTerraform,"entity-type":e.unref(c.SupportedEntityType).KeySet,"error-message":i.errorMessage,"fetch-url":q.value,"form-fields":N.value,"is-readonly":i.isReadonly,onCancel:O,"onFetch:error":l[2]||(l[2]=p=>s.$emit("error",p)),"onFetch:success":P,onLoading:l[3]||(l[3]=p=>s.$emit("loading",p)),onSubmit:j},{default:e.withCtx(()=>[e.createVNode(e.unref(c.EntityFormSection),{description:e.unref(m)("keySets.form.sections.general.description"),"has-divider":"",title:e.unref(m)("keySets.form.sections.general.title")},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:i.fields.name,"onUpdate:modelValue":l[0]||(l[0]=p=>i.fields.name=p),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-name",label:e.unref(m)("keySets.form.fields.name.label"),placeholder:e.unref(m)("keySets.form.fields.name.placeholder"),readonly:i.isReadonly,type:"text"},null,8,["modelValue","label","placeholder","readonly"]),e.createVNode(d,{modelValue:i.fields.tags,"onUpdate:modelValue":l[1]||(l[1]=p=>i.fields.tags=p),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-tags",help:e.unref(m)("keySets.form.fields.tags.help"),label:e.unref(m)("keySets.form.fields.tags.label"),"label-attributes":{info:e.unref(m)("keySets.form.fields.tags.tooltip")},placeholder:e.unref(m)("keySets.form.fields.tags.placeholder"),readonly:i.isReadonly,type:"text"},null,8,["modelValue","help","label","label-attributes","placeholder","readonly"])]),_:1},8,["description","title"])]),_:1},8,["can-submit","config","edit-id","enable-terraform","entity-type","error-message","fetch-url","form-fields","is-readonly"])])}}}),[["__scopeId","data-v-7b89dbd7"]]),ae={class:"kong-ui-entities-keys-entity-config-card"},re=e.defineComponent({__name:"KeySetConfigCard",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.entityId)},configCardDoc:{type:String,default:"",required:!1},hideTitle:{type:Boolean,default:!1},enableTerraform:{type:Boolean,default:!1}},emits:["loading","fetch:error","fetch:success"],setup(t){const C=t,{i18n:{t:u}}=F.useI18n(),n=e.computed(()=>T.form[C.config.app].edit),a=e.ref({id:{},name:{},last_updated:{},created:{},tags:{tooltip:u("keySets.form.fields.tags.tooltip")}});return(m,h)=>(e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(e.unref(c.EntityBaseConfigCard),{config:t.config,"config-card-doc":t.configCardDoc,"config-schema":a.value,"enable-terraform":t.enableTerraform,"entity-type":e.unref(c.SupportedEntityType).KeySet,"fetch-url":n.value,"hide-title":t.hideTitle,"onFetch:error":h[0]||(h[0]=k=>m.$emit("fetch:error",k)),"onFetch:success":h[1]||(h[1]=k=>m.$emit("fetch:success",k)),onLoading:h[2]||(h[2]=k=>m.$emit("loading",k))},null,8,["config","config-card-doc","config-schema","enable-terraform","entity-type","fetch-url","hide-title"])]))}});g.KeySetConfigCard=re,g.KeySetForm=ne,g.KeySetList=te,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
1
+ (function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("vue-router"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","vue-router","@kong-ui-public/i18n","@kong-ui-public/entities-shared"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g["kong-ui-public-entities-key-sets"]={},g.Vue,g.KongIcons,g.VueRouter,g["kong-ui-public-i18n"],g["kong-ui-public-entities-shared"]))})(this,function(g,e,Q,U,L,c){"use strict";const X={keySets:{title:"Key Sets",list:{toolbar_actions:{new_key_set:"New Key Set"},table_headers:{name:"Name",id:"ID",tags:"Tags"},empty_state:{title:"Configure a New Key Set",description:"A Key Set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose."}},actions:{create:"New Key Set",copy_id:"Copy ID",copy_json:"Copy JSON",edit:"Edit",delete:"Delete",clear:"Clear",view:"View Details"},search:{placeholder:"Filter by exact name or ID"},delete:{title:"Delete a Key Set",description:"Deleting this key set will also delete keys associated. This action cannot be reversed so make sure to check the key set usage before deleting."},errors:{general:"Key sets could not be retrieved",delete:"The key set could not be deleted at this time.",copy:"Failed to copy to clipboard"},copy:{success:"Copied {val} to clipboard",success_brief:"Successfully copied to clipboard"},form:{sections:{general:{title:"General Information",description:"General information will help identify and manage this key set."}},fields:{name:{label:"Name",placeholder:"Enter a unique name for this key set"},tags:{label:"Tags",placeholder:"Enter a list of tags separated by comma",help:"e.g. tag1, tag2, tag3",tooltip:"An optional set of strings for grouping and filtering, separated by commas."}}}}};function Y(){const t=L.createI18n("en-us",X);return{i18n:t,i18nT:L.i18nTComponent(t)}}const F={useI18n:Y},$="/v2/control-planes/{controlPlaneId}/core-entities",R="/{workspace}",T={list:{konnect:`${$}/key-sets`,kongManager:`${R}/key-sets`},form:{konnect:{create:`${$}/key-sets`,edit:`${$}/key-sets/{id}`},kongManager:{create:`${R}/key-sets`,edit:`${R}/key-sets/{id}`}}},Z={class:"kong-ui-entities-key-sets-list"},v={key:1},ee=e.defineComponent({__name:"KeySetList",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||!t.createRoute||!t.getViewRoute||!t.getEditRoute||t.app==="kongManager"&&!t.isExactMatch&&!t.filterSchema)},cacheIdentifier:{type:String,default:""},canCreate:{type:Function,required:!1,default:async()=>!0},canDelete:{type:Function,required:!1,default:async()=>!0},canEdit:{type:Function,required:!1,default:async()=>!0},canRetrieve:{type:Function,required:!1,default:async()=>!0},useActionOutside:{type:Boolean,default:!1}},emits:["error","copy:success","copy:error","delete:success"],setup(t,{emit:C}){var z;const u=C,n=t,{i18n:{t:a}}=F.useI18n(),m=U.useRouter(),{axiosInstance:h}=c.useAxios((z=n.config)==null?void 0:z.axiosRequestConfig),k=e.ref(1),q=e.computed(()=>n.config.app!=="kongManager"||!!n.config.disableSorting),V={name:{label:a("keySets.list.table_headers.name"),searchable:!0,sortable:!0,hidable:!1},tags:{label:a("keySets.list.table_headers.tags")},id:{label:a("keySets.list.table_headers.id"),sortable:!0}},i=V,B=e.computed(()=>{var r,y;let o=`${n.config.apiBaseUrl}${T.list[n.config.app]}`;return n.config.app==="konnect"?o=o.replace(/{controlPlaneId}/gi,((r=n.config)==null?void 0:r.controlPlaneId)||""):n.config.app==="kongManager"&&(o=o.replace(/\/{workspace}/gi,(y=n.config)!=null&&y.workspace?`/${n.config.workspace}`:"")),o}),I=e.ref(""),P=e.computed(()=>{const o=n.config.app==="konnect"||n.config.isExactMatch;if(o)return{isExactMatch:o,placeholder:a("keySets.search.placeholder")};const r={name:V.name};return{isExactMatch:o,fields:r,schema:n.config.filterSchema}}),{fetcher:O,fetcherState:E}=c.useFetcher(n.config,B.value),N=()=>{I.value=""},j=()=>{k.value++},S=e.ref(null),s=(o,r)=>{const y=o.id;if(!r(y)){p(o,"id");return}d(o,"id")},l=(o,r)=>{const y=JSON.stringify(o);if(!r(y)){u("copy:error",{entity:o,message:a("keySets.errors.copy")});return}u("copy:success",{entity:o,message:a("keySets.copy.success_brief")})},d=(o,r)=>{u("copy:success",{entity:o,field:r,message:a("keySets.copy.success",{val:o[r]})})},p=(o,r)=>{u("copy:error",{entity:o,field:r,message:a("keySets.errors.copy")})},se=async o=>{var y;await((y=n.canRetrieve)==null?void 0:y.call(n,o))&&m.push(n.config.getViewRoute(o.id))},ie=o=>({label:a("keySets.actions.view"),to:n.config.getViewRoute(o)}),le=o=>({label:a("keySets.actions.edit"),to:n.config.getEditRoute(o)}),w=e.ref(void 0),D=e.ref(!1),M=e.ref(!1),W=e.ref(""),ce=c.useDeleteUrlBuilder(n.config,B.value),de=o=>{w.value=o,D.value=!0},fe=()=>{D.value=!1},pe=async()=>{var o,r,y;if((o=w.value)!=null&&o.id){M.value=!0;try{await h.delete(ce(w.value.id)),M.value=!1,D.value=!1,k.value++,u("delete:success",w.value)}catch(b){W.value=((y=(r=b.response)==null?void 0:r.data)==null?void 0:y.message)||b.message||a("keySets.errors.delete"),u("error",b)}finally{M.value=!1}}},G=e.ref(!1);e.watch(E,o=>{var r,y,b,_;if(Array.isArray((r=o==null?void 0:o.response)==null?void 0:r.data)&&(G.value=o.response.data.length>0),o.status===c.FetcherStatus.Error){S.value={title:a("keySets.errors.general")},(_=(b=(y=o.error)==null?void 0:y.response)==null?void 0:b.data)!=null&&_.message&&(S.value.message=o.error.response.data.message),u("error",o.error);return}S.value=null});const A=e.ref({ctaPath:n.config.createRoute,ctaText:void 0,message:`${a("keySets.list.empty_state.description")}${n.config.additionMessageForEmptyState?` ${n.config.additionMessageForEmptyState}`:""}`,title:a("keySets.title")});return e.onBeforeMount(async()=>{await n.canCreate()&&(A.value.title=a("keySets.list.empty_state.title"),A.value.ctaText=a("keySets.actions.create"))}),(o,r)=>{const y=e.resolveComponent("KButton"),b=e.resolveComponent("KBadge"),_=e.resolveComponent("KTruncate"),ye=e.resolveComponent("KCopy"),K=e.resolveComponent("KDropdownItem"),H=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(e.unref(c.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-pagination-page-jump":"","disable-sorting":q.value,"empty-state-options":A.value,"enable-entity-actions":"","error-message":S.value,fetcher:e.unref(O),"fetcher-cache-key":k.value,"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-key-sets-list",query:I.value,"table-headers":e.unref(i),"use-action-outside":t.useActionOutside,onClearSearchInput:N,"onClick:row":r[2]||(r[2]=f=>se(f)),onSort:j},{"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(c.EntityFilter),{modelValue:I.value,"onUpdate:modelValue":r[0]||(r[0]=f=>I.value=f),config:P.value},null,8,["modelValue","config"])]),"toolbar-button":e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!t.useActionOutside,to:"#kong-ui-app-page-header-action-button"},[e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canCreate()},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(y,{appearance:"primary","data-testid":"toolbar-add-key-set",size:"large",to:t.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(Q.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.toolbar_actions.new_key_set")),1)]),_:1},8,["to"]),[[e.vShow,G.value]])]),_:1},8,["auth-function"])],8,["disabled"]))]),name:e.withCtx(({rowValue:f})=>[e.createElementVNode("b",null,e.toDisplayString(f??"-"),1)]),tags:e.withCtx(({rowValue:f})=>[(f==null?void 0:f.length)>0?(e.openBlock(),e.createBlock(_,{key:0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,x=>(e.openBlock(),e.createBlock(b,{key:x,onClick:r[1]||(r[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x),1)]),_:2},1024))),128))]),_:2},1024)):(e.openBlock(),e.createElementBlock("span",v,"-"))]),id:e.withCtx(({rowValue:f})=>[e.createVNode(ye,{text:f,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:f})=>[e.createVNode(H,null,{default:e.withCtx(({copyToClipboard:x})=>[e.createVNode(K,{"data-testid":"action-entity-copy-id",onClick:ue=>s(f,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_id")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(H,null,{default:e.withCtx(({copyToClipboard:x})=>[e.createVNode(K,{"data-testid":"action-entity-copy-json",onClick:ue=>l(f,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_json")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(f)},{default:e.withCtx(()=>[e.createVNode(K,{"data-testid":"action-entity-view","has-divider":"",item:ie(f.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canEdit(f)},{default:e.withCtx(()=>[e.createVNode(K,{"data-testid":"action-entity-edit",item:le(f.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(c.PermissionsWrapper),{"auth-function":()=>t.canDelete(f)},{default:e.withCtx(()=>[e.createVNode(K,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:x=>de(f)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.delete")),1)]),_:2},1032,["onClick"])]),_:2},1032,["auth-function"])]),_:1},8,["cache-identifier","disable-sorting","empty-state-options","error-message","fetcher","fetcher-cache-key","query","table-headers","use-action-outside"]),e.createVNode(e.unref(c.EntityDeleteModal),{"action-pending":M.value,description:e.unref(a)("keySets.delete.description"),"entity-name":w.value&&(w.value.name||w.value.id),"entity-type":e.unref(c.EntityTypes).KeySet,error:W.value,title:e.unref(a)("keySets.delete.title"),visible:D.value,onCancel:fe,onProceed:pe},null,8,["action-pending","description","entity-name","entity-type","error","title","visible"])])}}}),J=(t,C)=>{const u=t.__vccOpts||t;for(const[n,a]of C)u[n]=a;return u},te=J(ee,[["__scopeId","data-v-0bda6d81"]]),oe={class:"kong-ui-entities-key-sets-form"},ne=J(e.defineComponent({__name:"KeySetForm",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.cancelRoute)},keySetId:{type:String,required:!1,default:""},enableTerraform:{type:Boolean,default:!1}},emits:["update","error","loading"],setup(t,{emit:C}){var S;const u=C,n=t,a=U.useRouter(),{i18n:{t:m}}=F.useI18n(),{getMessageFromError:h}=c.useErrors(),{axiosInstance:k}=c.useAxios((S=n.config)==null?void 0:S.axiosRequestConfig),q=e.computed(()=>T.form[n.config.app].edit),V=e.computed(()=>n.keySetId?c.EntityBaseFormType.Edit:c.EntityBaseFormType.Create),i=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),B=e.reactive({name:"",tags:""}),I=e.computed(()=>JSON.stringify(i.fields)!==JSON.stringify(B)&&!!i.fields.name),P=s=>{var l;i.fields.name=(s==null?void 0:s.name)||"",i.fields.tags=((l=s==null?void 0:s.tags)==null?void 0:l.join(", "))||"",Object.assign(B,i.fields)},O=()=>{a.push(n.config.cancelRoute)},E=e.computed(()=>{var l,d;let s=`${n.config.apiBaseUrl}${T.form[n.config.app][V.value]}`;return n.config.app==="konnect"?s=s.replace(/{controlPlaneId}/gi,((l=n.config)==null?void 0:l.controlPlaneId)||""):n.config.app==="kongManager"&&(s=s.replace(/\/{workspace}/gi,(d=n.config)!=null&&d.workspace?`/${n.config.workspace}`:"")),s=s.replace(/{id}/gi,n.keySetId),s}),N=e.computed(()=>{var s,l,d;return{name:i.fields.name,tags:((d=(l=(s=i.fields.tags)==null?void 0:s.split(","))==null?void 0:l.map(p=>String(p||"").trim()))==null?void 0:d.filter(p=>p!==""))||""}}),j=async()=>{var s,l;try{i.isReadonly=!0;let d;if(V.value==="create"?d=await k.post(E.value,N.value):V.value==="edit"&&(d=((s=n.config)==null?void 0:s.app)==="konnect"?await k.put(E.value,N.value):await k.patch(E.value,N.value)),d){const{data:p}=d;i.fields.name=(p==null?void 0:p.name)||"",i.fields.tags=((l=p==null?void 0:p.tags)==null?void 0:l.join(", "))||"",Object.assign(B,i.fields),u("update",d==null?void 0:d.data)}}catch(d){i.errorMessage=h(d),u("error",d)}finally{i.isReadonly=!1}};return(s,l)=>{const d=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",oe,[e.createVNode(e.unref(c.EntityBaseForm),{"can-submit":I.value,config:t.config,"edit-id":t.keySetId,"enable-terraform":t.enableTerraform,"entity-type":e.unref(c.SupportedEntityType).KeySet,"error-message":i.errorMessage,"fetch-url":q.value,"form-fields":N.value,"is-readonly":i.isReadonly,onCancel:O,"onFetch:error":l[2]||(l[2]=p=>s.$emit("error",p)),"onFetch:success":P,onLoading:l[3]||(l[3]=p=>s.$emit("loading",p)),onSubmit:j},{default:e.withCtx(()=>[e.createVNode(e.unref(c.EntityFormSection),{description:e.unref(m)("keySets.form.sections.general.description"),"has-divider":"",title:e.unref(m)("keySets.form.sections.general.title")},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:i.fields.name,"onUpdate:modelValue":l[0]||(l[0]=p=>i.fields.name=p),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-name",label:e.unref(m)("keySets.form.fields.name.label"),placeholder:e.unref(m)("keySets.form.fields.name.placeholder"),readonly:i.isReadonly,type:"text"},null,8,["modelValue","label","placeholder","readonly"]),e.createVNode(d,{modelValue:i.fields.tags,"onUpdate:modelValue":l[1]||(l[1]=p=>i.fields.tags=p),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-tags",help:e.unref(m)("keySets.form.fields.tags.help"),label:e.unref(m)("keySets.form.fields.tags.label"),"label-attributes":{info:e.unref(m)("keySets.form.fields.tags.tooltip"),tooltipAttributes:{maxWidth:"400"}},placeholder:e.unref(m)("keySets.form.fields.tags.placeholder"),readonly:i.isReadonly,type:"text"},null,8,["modelValue","help","label","label-attributes","placeholder","readonly"])]),_:1},8,["description","title"])]),_:1},8,["can-submit","config","edit-id","enable-terraform","entity-type","error-message","fetch-url","form-fields","is-readonly"])])}}}),[["__scopeId","data-v-58150834"]]),ae={class:"kong-ui-entities-keys-entity-config-card"},re=e.defineComponent({__name:"KeySetConfigCard",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.entityId)},configCardDoc:{type:String,default:"",required:!1},hideTitle:{type:Boolean,default:!1},enableTerraform:{type:Boolean,default:!1}},emits:["loading","fetch:error","fetch:success"],setup(t){const C=t,{i18n:{t:u}}=F.useI18n(),n=e.computed(()=>T.form[C.config.app].edit),a=e.ref({id:{},name:{},last_updated:{},created:{},tags:{tooltip:u("keySets.form.fields.tags.tooltip")}});return(m,h)=>(e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(e.unref(c.EntityBaseConfigCard),{config:t.config,"config-card-doc":t.configCardDoc,"config-schema":a.value,"enable-terraform":t.enableTerraform,"entity-type":e.unref(c.SupportedEntityType).KeySet,"fetch-url":n.value,"hide-title":t.hideTitle,"onFetch:error":h[0]||(h[0]=k=>m.$emit("fetch:error",k)),"onFetch:success":h[1]||(h[1]=k=>m.$emit("fetch:success",k)),onLoading:h[2]||(h[2]=k=>m.$emit("loading",k))},null,8,["config","config-card-doc","config-schema","enable-terraform","entity-type","fetch-url","hide-title"])]))}});g.KeySetConfigCard=re,g.KeySetForm=ne,g.KeySetList=te,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
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-711ebcf2]{align-items:center;border-bottom:var(--2f5b0492);display:var(--5d59c22c);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-711ebcf2]{width:var(--aa41a894)}.config-card-details-row .config-card-details-label label[data-v-711ebcf2]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-711ebcf2]{width:var(--aa3d1cde)}.config-card-details-row .config-card-details-value .truncated[data-v-711ebcf2]{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-711ebcf2]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-711ebcf2] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-711ebcf2]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-711ebcf2]{margin-right:4px}.config-card-details-row[data-v-711ebcf2] .k-label{margin-bottom:0}.config-card-details-row[data-v-711ebcf2] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-711ebcf2] .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 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{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-85381f68]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-85381f68]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-85381f68]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-85381f68] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-85381f68]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-94d27e50]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-94d27e50]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-94d27e50] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-94d27e50] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-94d27e50] .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-94d27e50] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-94d27e50] .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-94d27e50] .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-key-sets-list[data-v-0bda6d81]{width:100%}.kong-ui-entities-key-sets-list .kong-ui-entity-filter-input[data-v-0bda6d81]{margin-right:12px}.kong-ui-entities-key-sets-form[data-v-7b89dbd7]{width:100%}
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-711ebcf2]{align-items:center;border-bottom:var(--2f5b0492);display:var(--5d59c22c);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-711ebcf2]{width:var(--aa41a894)}.config-card-details-row .config-card-details-label label[data-v-711ebcf2]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-711ebcf2]{width:var(--aa3d1cde)}.config-card-details-row .config-card-details-value .truncated[data-v-711ebcf2]{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-711ebcf2]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-711ebcf2] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-711ebcf2]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-711ebcf2]{margin-right:4px}.config-card-details-row[data-v-711ebcf2] .k-label{margin-bottom:0}.config-card-details-row[data-v-711ebcf2] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-711ebcf2] .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 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{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-85381f68]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-85381f68]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-85381f68]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-85381f68] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-85381f68]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-94d27e50]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-94d27e50]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-94d27e50] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-94d27e50] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-94d27e50] .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-94d27e50] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-94d27e50] .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-94d27e50] .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-key-sets-list[data-v-0bda6d81]{width:100%}.kong-ui-entities-key-sets-list .kong-ui-entity-filter-input[data-v-0bda6d81]{margin-right:12px}.kong-ui-entities-key-sets-form[data-v-58150834]{width:100%}
@@ -1 +1 @@
1
- {"version":3,"file":"KeySetForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/KeySetForm.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AAUtD,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAG5B,MAAM,UAAU,CAAA;AAIjB,OAAO,gDAAgD,CAAA;;IA4SrD,oHAAoH;;;;4BAI9F,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;IAQrF,6FAA6F;;;;;;IAM7F;;;OAGG;;;;;;;;;;IArBH,oHAAoH;;;;4BAI9F,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;IAQrF,6FAA6F;;;;;;IAM7F;;;OAGG;;;;;;;;;;;;;AA3BL,wBAkCG"}
1
+ {"version":3,"file":"KeySetForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/KeySetForm.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AAUtD,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAG5B,MAAM,UAAU,CAAA;AAIjB,OAAO,gDAAgD,CAAA;;IAqTrD,oHAAoH;;;;4BAI9F,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;IAQrF,6FAA6F;;;;;;IAM7F;;;OAGG;;;;;;;;;;IArBH,oHAAoH;;;;4BAI9F,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;IAQrF,6FAA6F;;;;;;IAM7F;;;OAGG;;;;;;;;;;;;;AA3BL,wBAkCG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-key-sets",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-key-sets.umd.js",
6
6
  "module": "./dist/entities-key-sets.es.js",
@@ -35,8 +35,8 @@
35
35
  "axios": "^1.6.8",
36
36
  "vue": "^3.4.31",
37
37
  "vue-router": "^4.4.0",
38
- "@kong-ui-public/entities-shared": "^3.8.0",
39
- "@kong-ui-public/i18n": "^2.2.2"
38
+ "@kong-ui-public/i18n": "^2.2.2",
39
+ "@kong-ui-public/entities-shared": "^3.8.0"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",