@kong-ui-public/entities-shared 3.33.0 → 3.33.1-pr.2622.aa88c7375.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { inject as Dt, ref as K, computed as F, unref as $, toValue as he, watch as be, toRef as Vn, provide as Pt, defineComponent as z, createBlock as j, openBlock as m, resolveDynamicComponent as je, normalizeClass as fe, withCtx as w, createElementBlock as S, createCommentVNode as N, createElementVNode as R, toDisplayString as L, Fragment as ue, renderList as ce, resolveComponent as P, createVNode as M, createTextVNode as q, useCssVars as Ut, useId as Yn, useSlots as De, renderSlot as D, createSlots as Se, normalizeProps as Wn, guardReactiveProps as Jn, mergeProps as qt, onMounted as tt, onBeforeMount as nt, withModifiers as Le, Teleport as Ht, onUnmounted as Gn, withDirectives as xe, vShow as Ce, withKeys as zn, warn as Qn } from "vue";
1
+ import { inject as Dt, ref as K, computed as F, unref as $, toValue as he, watch as be, toRef as Vn, provide as Pt, defineComponent as z, createBlock as j, openBlock as m, resolveDynamicComponent as je, normalizeClass as fe, withCtx as w, createElementBlock as S, createCommentVNode as N, createElementVNode as R, toDisplayString as L, Fragment as ue, renderList as ce, resolveComponent as P, createVNode as M, createTextVNode as q, useCssVars as Ut, useId as Yn, useSlots as De, renderSlot as D, createSlots as Se, normalizeProps as Wn, guardReactiveProps as Gn, mergeProps as qt, onMounted as tt, onBeforeMount as nt, withModifiers as Le, Teleport as Ht, onUnmounted as Jn, withDirectives as xe, vShow as Ce, withKeys as zn, warn as Qn } from "vue";
2
2
  import pt from "axios";
3
3
  import { createI18n as Zn, i18nTComponent as Xn } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as ei, KButton as mt, KTruncate as ti, KBadge as ni } from "@kong/kongponents";
@@ -422,7 +422,7 @@ function Ii(e) {
422
422
  return console.warn("Failed to build valid URL:", i), "";
423
423
  }
424
424
  }
425
- function Jt(e, t) {
425
+ function Gt(e, t) {
426
426
  const n = F(() => {
427
427
  const r = he(e);
428
428
  return r.app === "konnect" || !!r.isExactMatch;
@@ -444,7 +444,7 @@ function Jt(e, t) {
444
444
  }
445
445
  const gt = /* @__PURE__ */ new Map();
446
446
  function Ei(e, t, n) {
447
- const i = K(!0), r = he(e), { axiosInstance: o } = rt(r.axiosRequestConfig), a = Jt(e, t), s = K({
447
+ const i = K(!0), r = he(e), { axiosInstance: o } = rt(r.axiosRequestConfig), a = Gt(e, t), s = K({
448
448
  status: me.Idle
449
449
  }), l = async (u) => {
450
450
  var g;
@@ -490,10 +490,10 @@ function Ei(e, t, n) {
490
490
  error: h.response ? h : { response: h }
491
491
  }, x);
492
492
  }
493
- }, c = r.cacheIdentifier, d = Gt(c);
493
+ }, c = r.cacheIdentifier, d = Jt(c);
494
494
  return { fetcher: l, fetcherState: s, fetcherCacheKey: d };
495
495
  }
496
- function Gt(e) {
496
+ function Jt(e) {
497
497
  if (e) {
498
498
  let t = gt.get(e);
499
499
  return t || (t = K(1), gt.set(e, t)), t;
@@ -576,12 +576,12 @@ function ji() {
576
576
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
577
577
  };
578
578
  }
579
- const Ge = Symbol("schema"), Di = (e) => {
580
- Pt(Ge, e);
579
+ const Je = Symbol("schema"), Di = (e) => {
580
+ Pt(Je, e);
581
581
  }, Pi = (e) => {
582
582
  var r, o;
583
- const t = Dt(Ge, void 0), n = (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), i = Vn(n == null ? void 0 : n[e]);
584
- return Pt(Ge, i), i;
583
+ const t = Dt(Je, void 0), n = (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), i = Vn(n == null ? void 0 : n[e]);
584
+ return Pt(Je, i), i;
585
585
  };
586
586
  function Ui(e) {
587
587
  let t = "";
@@ -605,8 +605,8 @@ const Y = {
605
605
  useErrors: Ti,
606
606
  useExternalLinkCreator: Ii,
607
607
  useFetcher: Ei,
608
- useFetcherCacheKey: Gt,
609
- useFetchUrlBuilder: Jt,
608
+ useFetcherCacheKey: Jt,
609
+ useFetchUrlBuilder: Gt,
610
610
  useHelpers: Wt,
611
611
  useStringHelpers: Fi,
612
612
  useI18n: Ue,
@@ -716,7 +716,7 @@ const Y = {
716
716
  }, 8, ["appearance"]);
717
717
  };
718
718
  }
719
- }), Ji = "#0044f4", Gi = "#e0e4ea", zi = "#afb7c5", Qi = "#0044f4", Zi = "1px", Xi = "16px", er = "20px", tr = { class: "config-card-details-row" }, nr = ["data-testid"], ir = ["data-testid"], rr = ["data-testid"], ar = ["data-testid"], or = { key: 1 }, lr = ["data-testid"], sr = ["data-testid"], cr = ["data-testid"], ur = ["data-testid"], dr = {
719
+ }), Gi = "#0044f4", Ji = "#e0e4ea", zi = "#afb7c5", Qi = "#0044f4", Zi = "1px", Xi = "16px", er = "20px", tr = { class: "config-card-details-row" }, nr = ["data-testid"], ir = ["data-testid"], rr = ["data-testid"], ar = ["data-testid"], or = { key: 1 }, lr = ["data-testid"], sr = ["data-testid"], cr = ["data-testid"], ur = ["data-testid"], dr = {
720
720
  name: "ConfigCardItem",
721
721
  components: { JsonCardItem: Zt, StatusBadge: Wi, InternalLinkItem: Yi }
722
722
  }, fr = /* @__PURE__ */ z({
@@ -740,7 +740,7 @@ const Y = {
740
740
  emits: ["navigation-click"],
741
741
  setup(e, { emit: t }) {
742
742
  Ut((W) => ({
743
- v70f369b3: p.value ? "none" : `solid ${$(Zi)} ${$(Gi)}`,
743
+ v70f369b3: p.value ? "none" : `solid ${$(Zi)} ${$(Ji)}`,
744
744
  v67c2fae6: u.value && c.value ? "block" : "flex",
745
745
  v847b138c: u.value && c.value ? "100%" : n.slim ? "50%" : "25%",
746
746
  v847687d6: u.value && c.value ? "100%" : n.slim ? "50%" : "75%"
@@ -929,7 +929,7 @@ const Y = {
929
929
  rowValue: e.item.value
930
930
  }, () => [
931
931
  c.value ? (m(), S("div", or, [
932
- (m(), j(je(x.value.tag), Wn(Jn(x.value.attrs)), {
932
+ (m(), j(je(x.value.tag), Wn(Gn(x.value.attrs)), {
933
933
  default: w(() => [
934
934
  x.value.additionalComponent === "KBadge" ? (m(), S("div", {
935
935
  key: 0,
@@ -1450,8 +1450,8 @@ function Wr(e) {
1450
1450
  var t, n;
1451
1451
  return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
1452
1452
  }
1453
- var Jr = /^[-+]?[0-9]+e/;
1454
- function Gr(e, t) {
1453
+ var Gr = /^[-+]?[0-9]+e/;
1454
+ function Jr(e, t) {
1455
1455
  var n;
1456
1456
  if (isNaN(e))
1457
1457
  switch (t) {
@@ -1482,7 +1482,7 @@ function Gr(e, t) {
1482
1482
  }
1483
1483
  else if (ee.isNegativeZero(e))
1484
1484
  return "-0.0";
1485
- return n = e.toString(10), Jr.test(n) ? n.replace("e", ".e") : n;
1485
+ return n = e.toString(10), Gr.test(n) ? n.replace("e", ".e") : n;
1486
1486
  }
1487
1487
  function zr(e) {
1488
1488
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ee.isNegativeZero(e));
@@ -1492,7 +1492,7 @@ var fn = new ne("tag:yaml.org,2002:float", {
1492
1492
  resolve: Yr,
1493
1493
  construct: Wr,
1494
1494
  predicate: zr,
1495
- represent: Gr,
1495
+ represent: Jr,
1496
1496
  defaultStyle: "lowercase"
1497
1497
  }), pn = sn.extend({
1498
1498
  implicit: [
@@ -2069,7 +2069,7 @@ function Ra(e, t) {
2069
2069
  var Ka = Ba, Na = Ra, Fn = {
2070
2070
  loadAll: Ka,
2071
2071
  load: Na
2072
- }, On = Object.prototype.toString, Ln = Object.prototype.hasOwnProperty, ct = 65279, Ma = 9, Ee = 10, ja = 13, Da = 32, Pa = 33, Ua = 34, Qe = 35, qa = 37, Ha = 38, Va = 39, Ya = 42, Bn = 44, Wa = 45, Ne = 58, Ja = 61, Ga = 62, za = 63, Qa = 64, Rn = 91, Kn = 93, Za = 96, Nn = 123, Xa = 124, Mn = 125, re = {};
2072
+ }, On = Object.prototype.toString, Ln = Object.prototype.hasOwnProperty, ct = 65279, Ma = 9, Ee = 10, ja = 13, Da = 32, Pa = 33, Ua = 34, Qe = 35, qa = 37, Ha = 38, Va = 39, Ya = 42, Bn = 44, Wa = 45, Ne = 58, Ga = 61, Ja = 62, za = 63, Qa = 64, Rn = 91, Kn = 93, Za = 96, Nn = 123, Xa = 124, Mn = 125, re = {};
2073
2073
  re[0] = "\\0";
2074
2074
  re[7] = "\\a";
2075
2075
  re[8] = "\\b";
@@ -2164,7 +2164,7 @@ function Ot(e, t, n) {
2164
2164
  );
2165
2165
  }
2166
2166
  function lo(e) {
2167
- return Oe(e) && e !== ct && !Me(e) && e !== Wa && e !== za && e !== Ne && e !== Bn && e !== Rn && e !== Kn && e !== Nn && e !== Mn && e !== Qe && e !== Ha && e !== Ya && e !== Pa && e !== Xa && e !== Ja && e !== Ga && e !== Va && e !== Ua && e !== qa && e !== Qa && e !== Za;
2167
+ return Oe(e) && e !== ct && !Me(e) && e !== Wa && e !== za && e !== Ne && e !== Bn && e !== Rn && e !== Kn && e !== Nn && e !== Mn && e !== Qe && e !== Ha && e !== Ya && e !== Pa && e !== Xa && e !== Ga && e !== Ja && e !== Va && e !== Ua && e !== qa && e !== Qa && e !== Za;
2168
2168
  }
2169
2169
  function so(e) {
2170
2170
  return !Me(e) && e !== Ne;
@@ -2871,24 +2871,24 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
2871
2871
  section: ae.Basic
2872
2872
  }
2873
2873
  }, h = K(!1), x = K(!1), y = K(""), k = K({}), C = F(() => {
2874
- var b, H, J;
2874
+ var b, H, G;
2875
2875
  if (!k.value)
2876
2876
  return [];
2877
2877
  const f = [], v = Object.keys(k.value).length;
2878
2878
  for (const I in k.value) {
2879
2879
  if (I === "__ui_data") continue;
2880
- const B = (H = (b = i.configSchema) == null ? void 0 : b[I]) == null ? void 0 : H.order, G = (J = g[I]) == null ? void 0 : J.order;
2880
+ const B = (H = (b = i.configSchema) == null ? void 0 : b[I]) == null ? void 0 : H.order, J = (G = g[I]) == null ? void 0 : G.order;
2881
2881
  let U = v;
2882
- (G || G === 0) && (U = G === -1 ? v + 1 : G), B && (U = B === -1 ? v + 1 : B), f.push([I, U]);
2882
+ (J || J === 0) && (U = J === -1 ? v + 1 : J), B && (U = B === -1 ? v + 1 : B), f.push([I, U]);
2883
2883
  }
2884
2884
  return f.sort(function(I, B) {
2885
2885
  return I[1] - B[1];
2886
2886
  }), f.map((I) => {
2887
2887
  var dt, ft;
2888
- const B = I[0], G = (dt = k.value) == null ? void 0 : dt[B], U = ((ft = i.configSchema) == null ? void 0 : ft[B]) || {}, Q = g[B];
2888
+ const B = I[0], J = (dt = k.value) == null ? void 0 : dt[B], U = ((ft = i.configSchema) == null ? void 0 : ft[B]) || {}, Q = g[B];
2889
2889
  return {
2890
2890
  key: B,
2891
- value: G,
2891
+ value: J,
2892
2892
  hidden: U.hidden || !1,
2893
2893
  type: U.type ?? ((Q == null ? void 0 : Q.type) || V.Text),
2894
2894
  label: U.label ?? ((Q == null ? void 0 : Q.label) || a(B)),
@@ -2897,23 +2897,23 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
2897
2897
  };
2898
2898
  }).filter((I) => !I.hidden && I.key !== i.pluginConfigKey);
2899
2899
  }), T = F(() => {
2900
- var H, J;
2900
+ var H, G;
2901
2901
  if (!k.value || !i.pluginConfigKey)
2902
2902
  return [];
2903
2903
  const f = k.value[i.pluginConfigKey] || {}, v = Object.keys(f).length, b = [];
2904
2904
  for (const I in f) {
2905
- const B = (J = (H = i.pluginConfigSchema) == null ? void 0 : H[I]) == null ? void 0 : J.order, G = f[I];
2906
- let U = G != null && G !== "" ? v - 1 : v;
2905
+ const B = (G = (H = i.pluginConfigSchema) == null ? void 0 : H[I]) == null ? void 0 : G.order, J = f[I];
2906
+ let U = J != null && J !== "" ? v - 1 : v;
2907
2907
  B && (U = B === -1 ? v + 1 : B), b.push([I, U]);
2908
2908
  }
2909
2909
  return b.sort(function(I, B) {
2910
2910
  return I[1] - B[1];
2911
2911
  }), b.map((I) => {
2912
2912
  var Q;
2913
- const B = I[0], G = f[B], U = ((Q = i.pluginConfigSchema) == null ? void 0 : Q[B]) || {};
2913
+ const B = I[0], J = f[B], U = ((Q = i.pluginConfigSchema) == null ? void 0 : Q[B]) || {};
2914
2914
  return {
2915
2915
  key: B,
2916
- value: G,
2916
+ value: J,
2917
2917
  hidden: U.hidden || !1,
2918
2918
  type: U.type ?? V.Text,
2919
2919
  label: U.label ?? a(B),
@@ -2922,23 +2922,23 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
2922
2922
  };
2923
2923
  }).filter((I) => !I.hidden);
2924
2924
  }), W = F(() => {
2925
- var H, J;
2925
+ var H, G;
2926
2926
  if (!k.value || !i.policyConfigKey)
2927
2927
  return [];
2928
2928
  const f = k.value[i.policyConfigKey] || {}, v = Object.keys(f).length, b = [];
2929
2929
  for (const I in f) {
2930
- const B = (J = (H = i.policyConfigSchema) == null ? void 0 : H[I]) == null ? void 0 : J.order, G = f[I];
2931
- let U = G != null && G !== "" ? v - 1 : v;
2930
+ const B = (G = (H = i.policyConfigSchema) == null ? void 0 : H[I]) == null ? void 0 : G.order, J = f[I];
2931
+ let U = J != null && J !== "" ? v - 1 : v;
2932
2932
  B && (U = B === -1 ? v + 1 : B), b.push([I, U]);
2933
2933
  }
2934
2934
  return b.sort(function(I, B) {
2935
2935
  return I[1] - B[1];
2936
2936
  }), b.map((I) => {
2937
2937
  var Q;
2938
- const B = I[0], G = f[B], U = ((Q = i.policyConfigSchema) == null ? void 0 : Q[B]) || {};
2938
+ const B = I[0], J = f[B], U = ((Q = i.policyConfigSchema) == null ? void 0 : Q[B]) || {};
2939
2939
  return {
2940
2940
  key: B,
2941
- value: G,
2941
+ value: J,
2942
2942
  hidden: U.hidden || !1,
2943
2943
  type: U.type ?? V.Text,
2944
2944
  label: U.label ?? a(B),
@@ -2947,12 +2947,12 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
2947
2947
  };
2948
2948
  }).filter((I) => !I.hidden);
2949
2949
  }), X = F(() => {
2950
- var f, v, b, H, J, I;
2950
+ var f, v, b, H, G, I;
2951
2951
  return {
2952
2952
  basic: (f = C.value) == null ? void 0 : f.filter((B) => B.section === ae.Basic),
2953
2953
  advanced: (v = C.value) == null ? void 0 : v.filter((B) => B.section === ae.Advanced),
2954
2954
  plugin: (H = T.value) == null ? void 0 : H.concat((b = C.value) == null ? void 0 : b.filter((B) => B.section === ae.Plugin)),
2955
- policy: (I = W.value) == null ? void 0 : I.concat((J = C.value) == null ? void 0 : J.filter((B) => B.section === ae.Policy))
2955
+ policy: (I = W.value) == null ? void 0 : I.concat((G = C.value) == null ? void 0 : G.filter((B) => B.section === ae.Policy))
2956
2956
  };
2957
2957
  }), _ = F(() => {
2958
2958
  const f = [];
@@ -2984,8 +2984,8 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
2984
2984
  h.value = !1;
2985
2985
  }
2986
2986
  }), (f, v) => {
2987
- const b = P("KLabel"), H = P("KSelect"), J = P("KButton"), I = P("KSkeleton"), B = P("KEmptyState"), G = P("KCard");
2988
- return m(), j(G, {
2987
+ const b = P("KLabel"), H = P("KSelect"), G = P("KButton"), I = P("KSkeleton"), B = P("KEmptyState"), J = P("KCard");
2988
+ return m(), j(J, {
2989
2989
  class: "kong-ui-entity-base-config-card",
2990
2990
  "title-tag": e.titleTag
2991
2991
  }, Se({
@@ -3008,7 +3008,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3008
3008
  items: l,
3009
3009
  onChange: u
3010
3010
  }, null, 8, ["modelValue"]),
3011
- e.configCardDoc ? (m(), j(J, {
3011
+ e.configCardDoc ? (m(), j(G, {
3012
3012
  key: 0,
3013
3013
  appearance: "tertiary",
3014
3014
  class: "book-icon",
@@ -3080,7 +3080,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3080
3080
  ]), 1032, ["title-tag"]);
3081
3081
  };
3082
3082
  }
3083
- }), ps = /* @__PURE__ */ se(Wo, [["__scopeId", "data-v-f2b42324"]]), Jo = ["novalidate"], Go = /* @__PURE__ */ z({
3083
+ }), ps = /* @__PURE__ */ se(Wo, [["__scopeId", "data-v-f2b42324"]]), Go = ["novalidate"], Jo = /* @__PURE__ */ z({
3084
3084
  __name: "EntityBaseForm",
3085
3085
  props: {
3086
3086
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3103,6 +3103,14 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3103
3103
  required: !0,
3104
3104
  validator: (e) => Pe.includes(e)
3105
3105
  },
3106
+ /**
3107
+ * Sub entity type, required for event gateway entities to generate terraform code
3108
+ */
3109
+ subEntityType: {
3110
+ type: String,
3111
+ required: !1,
3112
+ default: ""
3113
+ },
3106
3114
  /**
3107
3115
  * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
3108
3116
  * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
@@ -3240,7 +3248,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3240
3248
  formCancel: C,
3241
3249
  formSubmit: T
3242
3250
  }), (_, A) => {
3243
- const O = P("KSkeleton"), f = P("KEmptyState"), v = P("KAlert"), b = P("KButton"), H = P("KTabs"), J = P("KSlideout");
3251
+ const O = P("KSkeleton"), f = P("KEmptyState"), v = P("KAlert"), b = P("KButton"), H = P("KTabs"), G = P("KSlideout");
3244
3252
  return m(), j(je(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3245
3253
  default: w(() => [
3246
3254
  c.value ? (m(), j(O, {
@@ -3318,8 +3326,8 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3318
3326
  ], !0)
3319
3327
  ], 2)
3320
3328
  ], 8, ["disabled", "to"]))
3321
- ], 40, Jo)),
3322
- M(J, {
3329
+ ], 40, Go)),
3330
+ M(G, {
3323
3331
  "close-on-blur": !1,
3324
3332
  "data-testid": "form-view-configuration-slideout",
3325
3333
  "has-overlay": !1,
@@ -3351,8 +3359,9 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3351
3359
  terraform: w(() => [
3352
3360
  M(Hn, {
3353
3361
  "entity-record": r.formFields,
3354
- "entity-type": e.entityType
3355
- }, null, 8, ["entity-record", "entity-type"])
3362
+ "entity-type": e.entityType,
3363
+ "sub-entity-type": e.subEntityType
3364
+ }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])
3356
3365
  ]),
3357
3366
  _: 1
3358
3367
  }, 8, ["tabs"])
@@ -3364,7 +3373,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3364
3373
  });
3365
3374
  };
3366
3375
  }
3367
- }), ms = /* @__PURE__ */ se(Go, [["__scopeId", "data-v-520de902"]]), zo = ["data-truncate"], Qo = /* @__PURE__ */ z({
3376
+ }), ms = /* @__PURE__ */ se(Jo, [["__scopeId", "data-v-10f3d6b0"]]), zo = ["data-truncate"], Qo = /* @__PURE__ */ z({
3368
3377
  __name: "EntityBaseTableCell",
3369
3378
  props: {
3370
3379
  keyName: {
@@ -3420,7 +3429,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3420
3429
  ), x = F(() => o.value ? d.value > u.value : !1);
3421
3430
  return tt(() => {
3422
3431
  l();
3423
- }), Gn(() => {
3432
+ }), Jn(() => {
3424
3433
  h();
3425
3434
  }), (y, k) => {
3426
3435
  const C = P("KTooltip");
@@ -3705,7 +3714,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3705
3714
  "table-preferences": X.value,
3706
3715
  onEmptyStateActionClick: g,
3707
3716
  "onRow:click": x.value,
3708
- onSort: v[0] || (v[0] = (J) => y(J)),
3717
+ onSort: v[0] || (v[0] = (G) => y(G)),
3709
3718
  onState: p,
3710
3719
  "onUpdate:tablePreferences": A
3711
3720
  }, Se({
@@ -3717,8 +3726,8 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3717
3726
  ])) : N("", !0)
3718
3727
  ])
3719
3728
  ]),
3720
- "action-items": w(({ row: J }) => [
3721
- D(f.$slots, "actions", { row: J }, void 0, !0)
3729
+ "action-items": w(({ row: G }) => [
3730
+ D(f.$slots, "actions", { row: G }, void 0, !0)
3722
3731
  ]),
3723
3732
  _: 2
3724
3733
  }, [
@@ -3729,21 +3738,21 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3729
3738
  ]),
3730
3739
  key: "0"
3731
3740
  } : void 0,
3732
- ce(e.tableHeaders, (J, I) => ({
3741
+ ce(e.tableHeaders, (G, I) => ({
3733
3742
  name: I,
3734
- fn: w(({ row: B, rowValue: G }) => [
3743
+ fn: w(({ row: B, rowValue: J }) => [
3735
3744
  M(Zo, {
3736
3745
  "key-name": String(I),
3737
3746
  "row-el": d(B),
3738
- tooltip: J.tooltip
3747
+ tooltip: G.tooltip
3739
3748
  }, {
3740
3749
  default: w(() => [
3741
3750
  D(f.$slots, I, {
3742
3751
  row: B,
3743
3752
  rowKey: e.rowKey,
3744
- rowValue: G
3753
+ rowValue: J
3745
3754
  }, () => [
3746
- q(L(G), 1)
3755
+ q(L(J), 1)
3747
3756
  ], !0)
3748
3757
  ]),
3749
3758
  _: 2
@@ -3885,7 +3894,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
3885
3894
  props: {
3886
3895
  color: {
3887
3896
  type: String,
3888
- default: `var(--kong-ui-entity-filter-color, ${Ji})`
3897
+ default: `var(--kong-ui-entity-filter-color, ${Gi})`
3889
3898
  }
3890
3899
  },
3891
3900
  setup(e) {
@@ -4026,7 +4035,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
4026
4035
  ]),
4027
4036
  xe(R("div", fl, [
4028
4037
  (m(!0), S(ue, null, ce(c.value, (b) => {
4029
- var H, J;
4038
+ var H, G;
4030
4039
  return m(), S("div", {
4031
4040
  key: b.value,
4032
4041
  class: "kong-ui-entity-filter-menu-item",
@@ -4053,7 +4062,7 @@ const Ko = { class: "yaml-config config-card-code-block" }, qn = /* @__PURE__ */
4053
4062
  class: "menu-item-label",
4054
4063
  for: h(b.value)
4055
4064
  }, L($(n)("filter.fieldLabel")), 9, yl),
4056
- ((J = (H = e.config.schema) == null ? void 0 : H[b.value]) == null ? void 0 : J.type) === "select" ? (m(), j(v, {
4065
+ ((G = (H = e.config.schema) == null ? void 0 : H[b.value]) == null ? void 0 : G.type) === "select" ? (m(), j(v, {
4057
4066
  key: 0,
4058
4067
  id: h(b.value),
4059
4068
  modelValue: a.value[b.value],
@@ -4235,15 +4244,15 @@ for (let e = 0; e < 256; ++e)
4235
4244
  function Cl(e, t = 0) {
4236
4245
  return (te[e[t + 0]] + te[e[t + 1]] + te[e[t + 2]] + te[e[t + 3]] + "-" + te[e[t + 4]] + te[e[t + 5]] + "-" + te[e[t + 6]] + te[e[t + 7]] + "-" + te[e[t + 8]] + te[e[t + 9]] + "-" + te[e[t + 10]] + te[e[t + 11]] + te[e[t + 12]] + te[e[t + 13]] + te[e[t + 14]] + te[e[t + 15]]).toLowerCase();
4237
4246
  }
4238
- let Je;
4247
+ let Ge;
4239
4248
  const kl = new Uint8Array(16);
4240
4249
  function Al() {
4241
- if (!Je) {
4250
+ if (!Ge) {
4242
4251
  if (typeof crypto > "u" || !crypto.getRandomValues)
4243
4252
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4244
- Je = crypto.getRandomValues.bind(crypto);
4253
+ Ge = crypto.getRandomValues.bind(crypto);
4245
4254
  }
4246
- return Je(kl);
4255
+ return Ge(kl);
4247
4256
  }
4248
4257
  const _l = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), jt = { randomUUID: _l };
4249
4258
  function wl(e, t, n) {
@@ -4466,10 +4475,10 @@ const Sl = ["aria-labelledby"], $l = { class: "form-section-wrapper" }, Tl = {
4466
4475
  ]);
4467
4476
  };
4468
4477
  }
4469
- }), ks = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-96efdfa5"]]), Yl = { class: "kong-ui-public-entity-empty-state" }, Wl = { class: "entity-empty-state-content" }, Jl = {
4478
+ }), ks = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-96efdfa5"]]), Yl = { class: "kong-ui-public-entity-empty-state" }, Wl = { class: "entity-empty-state-content" }, Gl = {
4470
4479
  key: 0,
4471
4480
  class: "empty-state-image"
4472
- }, Gl = {
4481
+ }, Jl = {
4473
4482
  key: 1,
4474
4483
  class: "entity-empty-state-title"
4475
4484
  }, zl = {
@@ -4542,10 +4551,10 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, s) =>
4542
4551
  const l = P("KCard");
4543
4552
  return m(), S("div", Yl, [
4544
4553
  R("div", Wl, [
4545
- a.$slots.image ? (m(), S("div", Jl, [
4554
+ a.$slots.image ? (m(), S("div", Gl, [
4546
4555
  D(a.$slots, "image", {}, void 0, !0)
4547
4556
  ])) : N("", !0),
4548
- e.title || a.$slots.title ? (m(), S("div", Gl, [
4557
+ e.title || a.$slots.title ? (m(), S("div", Jl, [
4549
4558
  R("h1", {
4550
4559
  class: fe(o.value)
4551
4560
  }, [
@@ -4673,7 +4682,9 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, s) =>
4673
4682
  })) : (m(), S("span", os, "-"));
4674
4683
  };
4675
4684
  }
4676
- }), { useAxios: ws, useDeleteUrlBuilder: Ss, useErrors: $s, useExternalLinkCreator: Ts, useFetchUrlBuilder: Is, useFetcher: Es, useFetcherCacheKey: Fs, useDebouncedFilter: Os, useStringHelpers: Ls, useHelpers: Bs, useGatewayFeatureSupported: Rs, useTruncationDetector: Ks, useValidators: Ns, useSchemaProvider: Ms, useTableState: js } = Y;
4685
+ }), ws = {
4686
+ KM_1945_NEW_PLUGIN_CONFIG_FORM: Symbol("KM_1945_NEW_PLUGIN_CONFIG_FORM")
4687
+ }, { useAxios: Ss, useDeleteUrlBuilder: $s, useErrors: Ts, useExternalLinkCreator: Is, useFetchUrlBuilder: Es, useFetcher: Fs, useFetcherCacheKey: Os, useDebouncedFilter: Ls, useStringHelpers: Bs, useHelpers: Rs, useGatewayFeatureSupported: Ks, useTruncationDetector: Ns, useValidators: Ms, useSchemaProvider: js, useTableState: Ds } = Y;
4677
4688
  export {
4678
4689
  ht as Appearances,
4679
4690
  Uo as ConfigCardDisplay,
@@ -4693,6 +4704,7 @@ export {
4693
4704
  vs as EntityToggleModal,
4694
4705
  li as EntityTypes,
4695
4706
  ci as EventGatewayTypesArray,
4707
+ ws as FEATURE_FLAGS,
4696
4708
  me as FetcherStatus,
4697
4709
  Yi as InternalLinkItem,
4698
4710
  en as JsonCodeBlock,
@@ -4702,19 +4714,19 @@ export {
4702
4714
  _s as TableTags,
4703
4715
  Hn as TerraformCodeBlock,
4704
4716
  qn as YamlCodeBlock,
4705
- ws as useAxios,
4706
- Os as useDebouncedFilter,
4707
- Ss as useDeleteUrlBuilder,
4708
- $s as useErrors,
4709
- Ts as useExternalLinkCreator,
4710
- Is as useFetchUrlBuilder,
4711
- Es as useFetcher,
4712
- Fs as useFetcherCacheKey,
4713
- Rs as useGatewayFeatureSupported,
4714
- Bs as useHelpers,
4715
- Ms as useSchemaProvider,
4716
- Ls as useStringHelpers,
4717
- js as useTableState,
4718
- Ks as useTruncationDetector,
4719
- Ns as useValidators
4717
+ Ss as useAxios,
4718
+ Ls as useDebouncedFilter,
4719
+ $s as useDeleteUrlBuilder,
4720
+ Ts as useErrors,
4721
+ Is as useExternalLinkCreator,
4722
+ Es as useFetchUrlBuilder,
4723
+ Fs as useFetcher,
4724
+ Os as useFetcherCacheKey,
4725
+ Ks as useGatewayFeatureSupported,
4726
+ Rs as useHelpers,
4727
+ js as useSchemaProvider,
4728
+ Bs as useStringHelpers,
4729
+ Ds as useTableState,
4730
+ Ns as useTruncationDetector,
4731
+ Ms as useValidators
4720
4732
  };