@kong-ui-public/entities-plugins 9.35.2 → 9.36.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.
Files changed (39) hide show
  1. package/dist/entities-plugins.es.js +759 -759
  2. package/dist/entities-plugins.umd.js +4 -4
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/free-form/Datakit/DatakitForm.vue.d.ts.map +1 -1
  5. package/dist/types/components/free-form/Datakit/flow-editor/constants.d.ts.map +1 -0
  6. package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorContent.vue.d.ts.map +1 -0
  7. package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorMain.vue.d.ts.map +1 -0
  8. package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorModal.vue.d.ts.map +1 -0
  9. package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorNav.vue.d.ts.map +1 -0
  10. package/dist/types/components/free-form/Datakit/flow-editor/node/NodePanel.vue.d.ts.map +1 -0
  11. package/dist/types/components/free-form/Datakit/flow-editor/node/NodePanelItem.vue.d.ts.map +1 -0
  12. package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/node/node-meta.d.ts.map +1 -1
  13. package/dist/types/components/free-form/Datakit/flow-editor/node/nodePropertiesPanel.vue.d.ts.map +1 -0
  14. package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/types.d.ts +1 -1
  15. package/dist/types/components/free-form/Datakit/flow-editor/types.d.ts.map +1 -0
  16. package/dist/types/components/free-form/Datakit/types.d.ts +1 -1
  17. package/dist/types/components/free-form/Datakit/types.d.ts.map +1 -1
  18. package/dist/types/constants/index.d.ts +1 -1
  19. package/package.json +8 -8
  20. package/dist/types/components/free-form/Datakit/visual-editor/composables.d.ts +0 -6
  21. package/dist/types/components/free-form/Datakit/visual-editor/composables.d.ts.map +0 -1
  22. package/dist/types/components/free-form/Datakit/visual-editor/constants.d.ts.map +0 -1
  23. package/dist/types/components/free-form/Datakit/visual-editor/modal/EditorContent.vue.d.ts.map +0 -1
  24. package/dist/types/components/free-form/Datakit/visual-editor/modal/EditorMain.vue.d.ts.map +0 -1
  25. package/dist/types/components/free-form/Datakit/visual-editor/modal/EditorModal.vue.d.ts.map +0 -1
  26. package/dist/types/components/free-form/Datakit/visual-editor/modal/EditorNav.vue.d.ts.map +0 -1
  27. package/dist/types/components/free-form/Datakit/visual-editor/node/NodePanel.vue.d.ts.map +0 -1
  28. package/dist/types/components/free-form/Datakit/visual-editor/node/NodePanelItem.vue.d.ts.map +0 -1
  29. package/dist/types/components/free-form/Datakit/visual-editor/node/nodePropertiesPanel.vue.d.ts.map +0 -1
  30. package/dist/types/components/free-form/Datakit/visual-editor/types.d.ts.map +0 -1
  31. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/constants.d.ts +0 -0
  32. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/modal/EditorContent.vue.d.ts +0 -0
  33. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/modal/EditorMain.vue.d.ts +0 -0
  34. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/modal/EditorModal.vue.d.ts +0 -0
  35. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/modal/EditorNav.vue.d.ts +0 -0
  36. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/node/NodePanel.vue.d.ts +0 -0
  37. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/node/NodePanelItem.vue.d.ts +0 -0
  38. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/node/node-meta.d.ts +0 -0
  39. /package/dist/types/components/free-form/Datakit/{visual-editor → flow-editor}/node/nodePropertiesPanel.vue.d.ts +0 -0
@@ -1,21 +1,21 @@
1
- import { defineComponent as pe, toRef as Ge, inject as et, ref as H, computed as $, watch as Ve, onMounted as Xn, resolveComponent as ee, openBlock as g, createElementBlock as B, createVNode as C, markRaw as Cl, provide as ot, createBlock as R, withCtx as _, createElementVNode as K, Fragment as $e, renderList as je, toDisplayString as J, unref as u, createCommentVNode as he, toValue as Be, useAttrs as Qn, reactive as Vt, useSlots as Rt, createPropsRestProxy as Kt, mergeProps as Me, createSlots as De, renderSlot as Oe, resolveDynamicComponent as mt, Transition as Tl, mergeModels as si, useModel as li, onBeforeMount as Jt, normalizeClass as yt, createTextVNode as ke, isRef as yo, useTemplateRef as mn, withKeys as Ja, withModifiers as gt, nextTick as wt, useCssVars as ho, normalizeProps as Un, guardReactiveProps as Bn, watchEffect as El, shallowRef as ui, toRaw as Sl, onBeforeUnmount as xl, Teleport as Wi, onUnmounted as vo, normalizeStyle as bo } from "vue";
2
- import { useStringHelpers as Ai, ConfigurationSchemaType as Ze, useAxios as Ft, useErrors as kn, useDebouncedFilter as Il, EntityFormBlock as Xa, useHelpers as Ci, EntityBaseFormType as Dt, EntityBaseForm as Pl, SupportedEntityType as Yi, JsonCodeBlock as Ol, YamlCodeBlock as $l, TerraformCodeBlock as Rl, useTableState as Kl, useGatewayFeatureSupported as Fl, useFetcher as Ll, useDeleteUrlBuilder as Ml, FetcherStatus as Nl, EntityBaseTable as jl, EntityFilter as Dl, PermissionsWrapper as qt, TableTags as ql, EntityEmptyState as Ul, EntityToggleModal as Bl, EntityDeleteModal as _o, EntityTypes as ko, ConfigurationSchemaSection as nn, useSchemaProvider as Vl, EntityBaseConfigCard as Hl, InternalLinkItem as $n } from "@kong-ui-public/entities-shared";
1
+ import { defineComponent as pe, toRef as Ge, inject as et, ref as H, computed as $, watch as Ve, onMounted as Xn, resolveComponent as ee, openBlock as g, createElementBlock as B, createVNode as C, markRaw as Cl, provide as ot, createBlock as R, withCtx as _, createElementVNode as F, Fragment as $e, renderList as je, toDisplayString as J, unref as u, createCommentVNode as he, toValue as Be, useAttrs as Qn, reactive as Vt, useSlots as Rt, createPropsRestProxy as Ft, mergeProps as Me, createSlots as De, renderSlot as Oe, resolveDynamicComponent as mt, Transition as Tl, mergeModels as si, useModel as li, onBeforeMount as Jt, normalizeClass as yt, createTextVNode as we, isRef as yo, useTemplateRef as mn, withKeys as Ja, withModifiers as gt, nextTick as kt, useCssVars as ho, normalizeProps as Un, guardReactiveProps as Bn, watchEffect as El, shallowRef as ui, toRaw as Sl, onBeforeUnmount as xl, Teleport as Wi, onUnmounted as vo, normalizeStyle as bo } from "vue";
2
+ import { useStringHelpers as Ai, ConfigurationSchemaType as Ze, useAxios as Kt, useErrors as wn, useDebouncedFilter as Il, EntityFormBlock as Xa, useHelpers as Ci, EntityBaseFormType as Dt, EntityBaseForm as Pl, SupportedEntityType as Yi, JsonCodeBlock as Ol, YamlCodeBlock as $l, TerraformCodeBlock as Rl, useTableState as Fl, useGatewayFeatureSupported as Kl, useFetcher as Ll, useDeleteUrlBuilder as Ml, FetcherStatus as Nl, EntityBaseTable as jl, EntityFilter as Dl, PermissionsWrapper as qt, TableTags as ql, EntityEmptyState as Ul, EntityToggleModal as Bl, EntityDeleteModal as _o, EntityTypes as wo, ConfigurationSchemaSection as nn, useSchemaProvider as Vl, EntityBaseConfigCard as Hl, InternalLinkItem as $n } from "@kong-ui-public/entities-shared";
3
3
  import { marked as oi } from "marked";
4
4
  import { useRouter as Ti, useRoute as Gl } from "vue-router";
5
5
  import { createI18n as nt, i18nTComponent as zl } from "@kong-ui-public/i18n";
6
6
  import { PluginGroup as Ee, PLUGIN_GROUP_AND_SCOPE_MAP as L, PluginScope as Qe } from "@kong-ui-public/entities-plugins-metadata";
7
- import { PluginGroup as sw, PluginScope as lw } from "@kong-ui-public/entities-plugins-metadata";
8
- import { composables as Wl, FORMS_CONFIG as Ei, getSharedFormName as wo, customFields as Ji, AUTOFILL_SLOT as Zn, VueFormGenerator as Mn, AUTOFILL_SLOT_NAME as fn, FORMS_API_KEY as Yl, sharedForms as Qa } from "@kong-ui-public/forms";
9
- import { VaultSecretPickerProvider as Fi, VaultSecretPicker as Jl } from "@kong-ui-public/entities-vaults";
7
+ import { PluginGroup as sk, PluginScope as lk } from "@kong-ui-public/entities-plugins-metadata";
8
+ import { composables as Wl, FORMS_CONFIG as Ei, getSharedFormName as ko, customFields as Ji, AUTOFILL_SLOT as Zn, VueFormGenerator as Mn, AUTOFILL_SLOT_NAME as fn, FORMS_API_KEY as Yl, sharedForms as Qa } from "@kong-ui-public/forms";
9
+ import { VaultSecretPickerProvider as Ki, VaultSecretPicker as Jl } from "@kong-ui-public/entities-vaults";
10
10
  import "@kong-ui-public/entities-vaults/dist/style.css";
11
- import { ChevronDownIcon as Xl, TrashIcon as ci, AddIcon as wn, RemoveIcon as Ql, ArrowLeftIcon as Zl, ChevronDoubleLeftIcon as eu, ChevronDoubleRightIcon as tu, ExternalLinkIcon as nu, NetworkIcon as iu, CodeblockIcon as Ao, GatewayIcon as au, StackIcon as ru, VitalsIcon as ou, SparklesIcon as su, DesignIcon as lu, BookIcon as Za, PlugIcon as uu, MoreIcon as cu } from "@kong/icons";
11
+ import { ChevronDownIcon as Xl, TrashIcon as ci, AddIcon as kn, RemoveIcon as Ql, ArrowLeftIcon as Zl, ChevronDoubleLeftIcon as eu, ChevronDoubleRightIcon as tu, ExternalLinkIcon as nu, NetworkIcon as iu, CodeblockIcon as Ao, GatewayIcon as au, StackIcon as ru, VitalsIcon as ou, SparklesIcon as su, DesignIcon as lu, BookIcon as Za, PlugIcon as uu, MoreIcon as cu } from "@kong/icons";
12
12
  import { KTextArea as du, KInput as va, KCheckbox as pu, KLabel as fu, KButton as gn, KMultiselect as mu, KSelect as gu, KCard as er, KCollapse as Co, KRadio as Xi, KTooltip as tr, KSlideout as yu, KAlert as hu, KSegmentedControl as vu } from "@kong/kongponents";
13
13
  import { PartialType as ni, RedisConfigurationForm as bu } from "@kong-ui-public/entities-redis-configurations";
14
14
  import "@kong-ui-public/entities-redis-configurations/dist/style.css";
15
- import { toArray as _u, unrefElement as ku, tryOnScopeDispose as wu, createGlobalState as Au, useLocalStorage as nr, createInjectionState as Cu, useScrollLock as Tu } from "@vueuse/core";
15
+ import { toArray as _u, unrefElement as wu, tryOnScopeDispose as ku, createGlobalState as Au, useLocalStorage as nr, createInjectionState as Cu, useScrollLock as Tu } from "@vueuse/core";
16
16
  import * as ii from "monaco-editor";
17
17
  import { PluginIcon as ba } from "@kong-ui-public/entities-plugins-icon";
18
- import { PluginIcon as cw, getPluginIconURL as dw } from "@kong-ui-public/entities-plugins-icon";
18
+ import { PluginIcon as ck, getPluginIconURL as dk } from "@kong-ui-public/entities-plugins-icon";
19
19
  const Eu = {
20
20
  cancel: "Cancel",
21
21
  view_configuration: "View Configuration",
@@ -667,17 +667,17 @@ const Eu = {
667
667
  },
668
668
  datakit: {
669
669
  description_code: "Configure this plugin by using YAML configuration. If you are copy/pasting in examples from the documentation - paste from below the <code>config</code> block.",
670
- description_visual: "Configure this plugin by using the visual editor.",
670
+ description_flow: "Configure this plugin by using the flow editor.",
671
671
  description_example: "Start with a use case:",
672
672
  examples: {
673
673
  authenticate: "Authenticate Kong to a third-party service",
674
674
  combine: "Combine multiple API responses",
675
675
  manipulate: "Manipulate request headers"
676
676
  },
677
- visual_editor: {
678
- mode: "Visual Editor",
679
- name: "Datakit Visual Editor",
680
- cta: "Go to visual editor",
677
+ flow_editor: {
678
+ mode: "Flow Editor",
679
+ name: "Datakit Flow Editor",
680
+ cta: "Go to flow editor",
681
681
  save: "Save",
682
682
  view_docs: "View Docs",
683
683
  expand_panel: "Expand panel",
@@ -747,13 +747,13 @@ const Eu = {
747
747
  }
748
748
  }, Ru = {
749
749
  plugin: "plugin"
750
- }, Ku = {
750
+ }, Fu = {
751
751
  key_auth_identity_realms: {
752
752
  cp_label: "Current Control Plane",
753
753
  cp_group_label: "Control Plane",
754
754
  realm_group_label: "Realms (Can only select one)"
755
755
  }
756
- }, Fu = {
756
+ }, Ku = {
757
757
  window_type: {
758
758
  label: "Rate Limit Window Type",
759
759
  help: "Sets the time window type to either <code>sliding</code> (default) or <code>fixed</code>.<br><ul><li>Sliding windows apply the rate limiting logic while taking into account previous hit rates (from the window that immediately precedes the current) using a dynamic weight.</li><li>Fixed windows consist of buckets that are statically assigned to a definitive time range, each request is mapped to only one fixed window based on its timestamp and will affect only that window&#39;s counters.</li></ul>",
@@ -833,8 +833,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
833
833
  plugins: Ou,
834
834
  redis: $u,
835
835
  glossary: Ru,
836
- custom_field: Ku,
837
- sp: Fu
836
+ custom_field: Fu,
837
+ sp: Ku
838
838
  };
839
839
  function Lt() {
840
840
  const e = nt("en-us", it);
@@ -848,7 +848,7 @@ function To() {
848
848
  const { capitalize: e } = Ai(), t = ["methods", "logout_methods"];
849
849
  return {
850
850
  setFieldType: (l, d, m) => {
851
- var b, k, y;
851
+ var b, w, y;
852
852
  if (!(!l || !d || !m))
853
853
  switch (m.type) {
854
854
  case "boolean":
@@ -876,7 +876,7 @@ function To() {
876
876
  t.includes(d) ? l[d] = {
877
877
  type: Ze.BadgeMethod,
878
878
  ...l[d]
879
- } : ((k = m.elements) == null ? void 0 : k.type) === "string" ? m.encrypted ? l[d] = {
879
+ } : ((w = m.elements) == null ? void 0 : w.type) === "string" ? m.encrypted ? l[d] = {
880
880
  type: Ze.RedactedArray,
881
881
  ...l[d]
882
882
  } : l[d] = {
@@ -906,19 +906,19 @@ function To() {
906
906
  const d = {};
907
907
  for (const m in l) {
908
908
  const b = m.split(".");
909
- b.reduce((k, y, v) => k[y] || // If current key in acc is the next
909
+ b.reduce((w, y, v) => w[y] || // If current key in acc is the next
910
910
  // item in the split array (dot notation)
911
911
  // set its value
912
- (k[y] = isNaN(b[v + 1]) ? b.length - 1 === v ? l[m] : {} : []), d);
912
+ (w[y] = isNaN(b[v + 1]) ? b.length - 1 === v ? l[m] : {} : []), d);
913
913
  }
914
914
  return d;
915
915
  },
916
916
  dismissField: (l, d, m = "redis", b = !1) => {
917
- const k = new RegExp("(?<=-redis-).*");
917
+ const w = new RegExp("(?<=-redis-).*");
918
918
  if (typeof l != "object" || l === null)
919
919
  return l;
920
920
  m === "redis" ? Object.keys(l).forEach((y) => {
921
- y.match(k) && delete l[y];
921
+ y.match(w) && delete l[y];
922
922
  }) : b ? l[m] = null : delete l[m], Object.assign(l, d);
923
923
  },
924
924
  isObjectEmpty: (l) => Object.keys(l).length === 0,
@@ -938,8 +938,8 @@ function To() {
938
938
  getToggleVisibility: (l, d) => {
939
939
  var m, b;
940
940
  if (l && d) {
941
- const k = (b = (m = window == null ? void 0 : window.getComputedStyle(l)) == null ? void 0 : m.getPropertyValue("grid-template-columns")) == null ? void 0 : b.split(" ").length;
942
- return d > k;
941
+ const w = (b = (m = window == null ? void 0 : window.getComputedStyle(l)) == null ? void 0 : m.getPropertyValue("grid-template-columns")) == null ? void 0 : b.split(" ").length;
942
+ return d > w;
943
943
  }
944
944
  return !0;
945
945
  }
@@ -1151,42 +1151,42 @@ const Ut = (e) => {
1151
1151
  model: Ge(() => i.model),
1152
1152
  schema: i.schema,
1153
1153
  formOptions: i.formOptions,
1154
- emitModelUpdated: (w) => {
1155
- a("modelUpdated", w.value, w.model);
1154
+ emitModelUpdated: (k) => {
1155
+ a("modelUpdated", k.value, k.model);
1156
1156
  }
1157
1157
  }), { i18n: s } = Le.useI18n(), { t: c } = s, f = {
1158
1158
  value: "current-cp",
1159
1159
  label: c("custom_field.key_auth_identity_realms.cp_label"),
1160
1160
  group: c("custom_field.key_auth_identity_realms.cp_group_label")
1161
- }, p = et(Ei), { axiosInstance: l } = Ft(p == null ? void 0 : p.axiosRequestConfig), d = () => {
1161
+ }, p = et(Ei), { axiosInstance: l } = Kt(p == null ? void 0 : p.axiosRequestConfig), d = () => {
1162
1162
  if ((p == null ? void 0 : p.app) === "konnect") {
1163
- const w = /\b(us|eu|au|me|in)\b/.exec((p == null ? void 0 : p.apiBaseUrl) || "");
1164
- if (w)
1165
- return { region: w[1] };
1163
+ const k = /\b(us|eu|au|me|in)\b/.exec((p == null ? void 0 : p.apiBaseUrl) || "");
1164
+ if (k)
1165
+ return { region: k[1] };
1166
1166
  }
1167
1167
  return {};
1168
- }, m = H(!0), b = H([f]), k = async () => {
1168
+ }, m = H(!0), b = H([f]), w = async () => {
1169
1169
  if ((p == null ? void 0 : p.app) === "konnect")
1170
1170
  try {
1171
1171
  m.value = !0;
1172
- let w = `${p == null ? void 0 : p.apiBaseUrl}/v1/realms`;
1172
+ let k = `${p == null ? void 0 : p.apiBaseUrl}/v1/realms`;
1173
1173
  const x = [];
1174
1174
  do {
1175
- const j = await l.get(w);
1175
+ const j = await l.get(k);
1176
1176
  j && j.data && j.data.data && x.push(...j.data.data.map((M) => ({
1177
1177
  value: M.id,
1178
1178
  label: M.name,
1179
1179
  group: c("custom_field.key_auth_identity_realms.realm_group_label")
1180
- }))), w = j.data.meta.next ? `${p == null ? void 0 : p.apiBaseUrl}${j.data.meta.next}` : null;
1181
- } while (w);
1180
+ }))), k = j.data.meta.next ? `${p == null ? void 0 : p.apiBaseUrl}${j.data.meta.next}` : null;
1181
+ } while (k);
1182
1182
  b.value = [f, ...x];
1183
- } catch (w) {
1184
- console.error("Failed to fetch Konnect realms", w);
1183
+ } catch (k) {
1184
+ console.error("Failed to fetch Konnect realms", k);
1185
1185
  } finally {
1186
1186
  m.value = !1;
1187
1187
  }
1188
- }, y = $(() => o.value.map((w) => w.id || "current-cp")), v = (w) => {
1189
- const x = w.includes("current-cp") ? [{ scope: "cp", id: null }] : [], j = o.value.filter(({ scope: S }) => S !== "cp").map(({ id: S }) => S), M = w.filter((S) => S !== "current-cp"), T = (j.length !== M.length || j.some((S) => !M.includes(S)) ? M.filter((S) => !j.includes(S)) : M).map((S) => ({ ...d(), scope: "realm", id: S }));
1188
+ }, y = $(() => o.value.map((k) => k.id || "current-cp")), v = (k) => {
1189
+ const x = k.includes("current-cp") ? [{ scope: "cp", id: null }] : [], j = o.value.filter(({ scope: S }) => S !== "cp").map(({ id: S }) => S), M = k.filter((S) => S !== "current-cp"), T = (j.length !== M.length || j.some((S) => !M.includes(S)) ? M.filter((S) => !j.includes(S)) : M).map((S) => ({ ...d(), scope: "realm", id: S }));
1190
1190
  o.value = [
1191
1191
  ...x,
1192
1192
  ...T
@@ -1195,10 +1195,10 @@ const Ut = (e) => {
1195
1195
  return Ve(o, () => {
1196
1196
  o.value || (o.value = [{ scope: "cp", id: null }]);
1197
1197
  }), Xn(() => {
1198
- k();
1198
+ w();
1199
1199
  }), t({
1200
1200
  clearValidationErrors: r
1201
- }), (w, x) => {
1201
+ }), (k, x) => {
1202
1202
  const j = ee("KMultiselect");
1203
1203
  return g(), B("div", zu, [
1204
1204
  C(j, {
@@ -2603,7 +2603,7 @@ const Ut = (e) => {
2603
2603
  placeholder: "Select valid protocols for the plugin",
2604
2604
  styleClasses: "plugin-protocols-select"
2605
2605
  }
2606
- }, Fe = {
2606
+ }, Ke = {
2607
2607
  type: "array",
2608
2608
  valueType: "string",
2609
2609
  valueArrayType: "array",
@@ -2764,7 +2764,7 @@ const Ut = (e) => {
2764
2764
  "config-append-querystring": {},
2765
2765
  "config-append-body": {},
2766
2766
  "config-allow-body": {}
2767
- }, kc = [
2767
+ }, wc = [
2768
2768
  "config-remove-headers",
2769
2769
  "config-remove.querystring",
2770
2770
  "config-remove-body",
@@ -2788,57 +2788,57 @@ const Ut = (e) => {
2788
2788
  })
2789
2789
  }), _c), Eo = {
2790
2790
  "config-add-json": {
2791
- ...Fe,
2791
+ ...Ke,
2792
2792
  label: "Config.Add.Json",
2793
2793
  inputAttributes: {
2794
- ...Fe.inputAttributes,
2794
+ ...Ke.inputAttributes,
2795
2795
  type: "textarea",
2796
2796
  max: !1
2797
2797
  }
2798
2798
  },
2799
2799
  "config-append-json": {
2800
- ...Fe,
2800
+ ...Ke,
2801
2801
  label: "Config.Append.Json",
2802
2802
  inputAttributes: {
2803
- ...Fe.inputAttributes,
2803
+ ...Ke.inputAttributes,
2804
2804
  type: "textarea",
2805
2805
  max: !1
2806
2806
  }
2807
2807
  },
2808
2808
  "config-remove-json": {
2809
- ...Fe,
2809
+ ...Ke,
2810
2810
  label: "Config.Remove.Json",
2811
2811
  inputAttributes: {
2812
- ...Fe.inputAttributes,
2812
+ ...Ke.inputAttributes,
2813
2813
  type: "textarea",
2814
2814
  max: !1
2815
2815
  }
2816
2816
  },
2817
2817
  "config-rename-json": {
2818
- ...Fe,
2818
+ ...Ke,
2819
2819
  label: "Config.Rename.Json",
2820
2820
  inputAttributes: {
2821
- ...Fe.inputAttributes,
2821
+ ...Ke.inputAttributes,
2822
2822
  type: "textarea",
2823
2823
  max: !1
2824
2824
  }
2825
2825
  },
2826
2826
  "config-replace-json": {
2827
- ...Fe,
2827
+ ...Ke,
2828
2828
  label: "Config.Replace.Json",
2829
2829
  inputAttributes: {
2830
- ...Fe.inputAttributes,
2830
+ ...Ke.inputAttributes,
2831
2831
  type: "textarea",
2832
2832
  max: !1
2833
2833
  }
2834
2834
  }
2835
- }, wc = {
2835
+ }, kc = {
2836
2836
  ...Eo,
2837
2837
  "config-allow-json": {
2838
- ...Fe,
2838
+ ...Ke,
2839
2839
  label: "Config.Allow.Json",
2840
2840
  inputAttributes: {
2841
- ...Fe.inputAttributes,
2841
+ ...Ke.inputAttributes,
2842
2842
  type: "textarea",
2843
2843
  max: !1
2844
2844
  }
@@ -2849,19 +2849,19 @@ const Ut = (e) => {
2849
2849
  max: !1
2850
2850
  },
2851
2851
  "config-transform-functions": {
2852
- ...Fe,
2852
+ ...Ke,
2853
2853
  label: "Config.Transform.Functions",
2854
2854
  inputAttributes: {
2855
- ...Fe.inputAttributes,
2855
+ ...Ke.inputAttributes,
2856
2856
  type: "textarea",
2857
2857
  max: !1
2858
2858
  }
2859
2859
  },
2860
2860
  "config-transform-json": {
2861
- ...Fe,
2861
+ ...Ke,
2862
2862
  label: "Config.Transform.Json",
2863
2863
  inputAttributes: {
2864
- ...Fe.inputAttributes,
2864
+ ...Ke.inputAttributes,
2865
2865
  type: "textarea",
2866
2866
  max: !1
2867
2867
  }
@@ -3088,9 +3088,9 @@ const Ut = (e) => {
3088
3088
  t && !t.password && !t.username && delete e.confluent.authentication.basic;
3089
3089
  }, Ic = {
3090
3090
  "config-message_by_lua_functions": {
3091
- ...Fe,
3091
+ ...Ke,
3092
3092
  inputAttributes: {
3093
- ...Fe.inputAttributes,
3093
+ ...Ke.inputAttributes,
3094
3094
  type: "textarea",
3095
3095
  max: !1
3096
3096
  }
@@ -3104,9 +3104,9 @@ const Ut = (e) => {
3104
3104
  }
3105
3105
  }, Pc = {
3106
3106
  "config-message_by_lua_functions": {
3107
- ...Fe,
3107
+ ...Ke,
3108
3108
  inputAttributes: {
3109
- ...Fe.inputAttributes,
3109
+ ...Ke.inputAttributes,
3110
3110
  type: "textarea",
3111
3111
  max: !1
3112
3112
  }
@@ -3146,7 +3146,7 @@ const Ut = (e) => {
3146
3146
  var t;
3147
3147
  Gt((t = e.config) == null ? void 0 : t.schema_registry);
3148
3148
  }
3149
- }, Kc = {
3149
+ }, Fc = {
3150
3150
  "config-static_tags": {
3151
3151
  ...Si,
3152
3152
  items: {
@@ -3172,7 +3172,7 @@ const Ut = (e) => {
3172
3172
  }
3173
3173
  }
3174
3174
  }
3175
- }, Fc = {
3175
+ }, Kc = {
3176
3176
  "request-callout": "RequestCalloutForm",
3177
3177
  "service-protection": {
3178
3178
  experimental: !0,
@@ -3181,14 +3181,14 @@ const Ut = (e) => {
3181
3181
  datakit: "DatakitForm"
3182
3182
  };
3183
3183
  function So(e, t) {
3184
- const n = Fc[e];
3184
+ const n = Kc[e];
3185
3185
  if (typeof n == "string")
3186
3186
  return n;
3187
3187
  if (t.includes(e))
3188
3188
  return n.component;
3189
3189
  }
3190
3190
  const xo = Symbol("EXPERIMENTAL_FREE_FORM_PROVIDER"), Lc = {
3191
- DATAKIT_ENABLE_VISUAL_EDITOR: Symbol("DATAKIT_ENABLE_VISUAL_EDITOR")
3191
+ DATAKIT_ENABLE_FLOW_EDITOR: Symbol("DATAKIT_ENABLE_FLOW_EDITOR")
3192
3192
  };
3193
3193
  function Io() {
3194
3194
  return et(xo, []);
@@ -3270,16 +3270,16 @@ const Nc = (e, t) => {
3270
3270
  ...ur
3271
3271
  },
3272
3272
  "request-transformer-advanced": {
3273
- ...kc
3273
+ ...wc
3274
3274
  },
3275
3275
  "response-transformer": {
3276
3276
  ...Eo
3277
3277
  },
3278
3278
  "response-transformer-advanced": {
3279
- ...wc
3279
+ ...kc
3280
3280
  },
3281
3281
  zipkin: {
3282
- ...Kc
3282
+ ...Fc
3283
3283
  },
3284
3284
  "upstream-oauth": {
3285
3285
  ...Sc
@@ -3309,18 +3309,18 @@ const Nc = (e, t) => {
3309
3309
  const fe = o().concat(h.blacklist ? h.blacklist : []), oe = Object.keys(S).filter((N) => !fe.includes(N)), te = oe.indexOf("comparator");
3310
3310
  te > -1 && oe.splice(te, 1);
3311
3311
  let A = { fields: [] };
3312
- const F = {};
3312
+ const K = {};
3313
3313
  oe.forEach((N) => {
3314
- f(S[N], N, S, F, A, T);
3314
+ f(S[N], N, S, K, A, T);
3315
3315
  });
3316
- const q = F.name, z = Et[q], le = [], Q = (N) => {
3316
+ const q = K.name, z = Et[q], le = [], Q = (N) => {
3317
3317
  const P = ["cluster-cache"];
3318
3318
  for (const D of P)
3319
3319
  if (N.model.includes(D))
3320
3320
  return !1;
3321
3321
  return new RegExp("(?<=-redis-).*").test(N.model);
3322
3322
  };
3323
- if (A._supported_redis_partial_type = h._supported_redis_partial_type, A._redis_partial_path = h._redis_partial_path, wo(q) || So(q, a) || z != null && z.useLegacyForm || e != null && e.credential) {
3323
+ if (A._supported_redis_partial_type = h._supported_redis_partial_type, A._redis_partial_path = h._redis_partial_path, ko(q) || So(q, a) || z != null && z.useLegacyForm || e != null && e.credential) {
3324
3324
  if (z != null && z.useLegacyForm && (e != null && e.enableRedisPartial) && h._supported_redis_partial_type) {
3325
3325
  for (const N of A.fields)
3326
3326
  if (Q(N)) {
@@ -3405,7 +3405,7 @@ const Nc = (e, t) => {
3405
3405
  }
3406
3406
  return {
3407
3407
  schema: A,
3408
- model: F,
3408
+ model: K,
3409
3409
  options: {
3410
3410
  noneSelectedText: "Nothing Selected...",
3411
3411
  helpAsHtml: !0
@@ -3417,8 +3417,8 @@ const Nc = (e, t) => {
3417
3417
  }, p = (h, I) => (I && (Object.assign(h, I), I.label && (h.label = I.label)), h), l = (h, I, T, S, fe, oe) => {
3418
3418
  h.fields.forEach((te) => {
3419
3419
  Object.keys(te).forEach((A) => {
3420
- const F = te[A];
3421
- T = f(F, I + "-" + A, T, S, fe, oe);
3420
+ const K = te[A];
3421
+ T = f(K, I + "-" + A, T, S, fe, oe);
3422
3422
  });
3423
3423
  });
3424
3424
  }, d = (h, I) => {
@@ -3431,7 +3431,7 @@ const Nc = (e, t) => {
3431
3431
  Object.prototype.hasOwnProperty.call(h, "one_of") ? (h.type = "select", h.values = h.one_of, h.selectOptions = {
3432
3432
  hideNoneSelectedText: !0
3433
3433
  }) : (h.type = "input", h.inputType = "text");
3434
- }, k = (h) => {
3434
+ }, w = (h) => {
3435
3435
  h.type = "checkbox", h.default = !0, h.required = !1;
3436
3436
  }, y = (h) => {
3437
3437
  if (h.type = "object-advanced", h.values.type === "array") {
@@ -3440,11 +3440,11 @@ const Nc = (e, t) => {
3440
3440
  fields: [{
3441
3441
  schema: {
3442
3442
  fields: [{
3443
- ...Fe,
3443
+ ...Ke,
3444
3444
  model: h.model,
3445
3445
  valueArrayType: I === "integer" ? "number" : I || "string",
3446
3446
  inputAttributes: {
3447
- ...Fe.inputAttributes,
3447
+ ...Ke.inputAttributes,
3448
3448
  type: I === "integer" ? "number" : "text",
3449
3449
  inputMode: I === "integer" ? "numeric" : "text"
3450
3450
  }
@@ -3474,7 +3474,7 @@ const Nc = (e, t) => {
3474
3474
  });
3475
3475
  }, v = (h) => h.fields.reduce((I, T) => (T.fields && T.fields.forEach((S) => {
3476
3476
  I[S.model] = S;
3477
- }), T.model && (I[T.model] = T), I), {}), w = (h, I) => {
3477
+ }), T.model && (I[T.model] = T), I), {}), k = (h, I) => {
3478
3478
  if (!Ji.includes(h.model))
3479
3479
  return;
3480
3480
  const T = v(h);
@@ -3485,7 +3485,7 @@ const Nc = (e, t) => {
3485
3485
  }), delete I[S];
3486
3486
  });
3487
3487
  }, x = (h, I) => h.inputType === "hidden" ? "" : n(t(h.label || I.replace(/_/g, " "))), j = (h, I) => {
3488
- switch (w(h, I), h.type) {
3488
+ switch (k(h, I), h.type) {
3489
3489
  case "foreign":
3490
3490
  d(h, I);
3491
3491
  break;
@@ -3499,7 +3499,7 @@ const Nc = (e, t) => {
3499
3499
  b(h);
3500
3500
  break;
3501
3501
  case "boolean":
3502
- k(h);
3502
+ w(h);
3503
3503
  break;
3504
3504
  case "map":
3505
3505
  y(h);
@@ -3633,7 +3633,7 @@ const Nc = (e, t) => {
3633
3633
  const f = ee("KAlert");
3634
3634
  return g(), R(f, { class: "plugin-field-rule-alerts" }, {
3635
3635
  default: _(() => [
3636
- K("ul", null, [
3636
+ F("ul", null, [
3637
3637
  (g(!0), B($e, null, je(o.value, (p, l) => (g(), B("li", {
3638
3638
  key: `simple-alert-${l}`
3639
3639
  }, J(p), 1))), 128)),
@@ -3641,8 +3641,8 @@ const Nc = (e, t) => {
3641
3641
  (g(!0), B($e, null, je(t.rules.onlyOneOfMutuallyRequired, (p, l) => (g(), B("div", {
3642
3642
  key: `only-one-mutually-alert-${l}`
3643
3643
  }, [
3644
- K("div", null, J(u(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
3645
- K("ul", null, [
3644
+ F("div", null, J(u(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
3645
+ F("ul", null, [
3646
3646
  (g(!0), B($e, null, je(p, (d, m) => (g(), B("li", {
3647
3647
  key: `only-one-mutually-alert-${l}-combination-${m}`
3648
3648
  }, J(a(d)), 1))), 128))
@@ -3688,11 +3688,11 @@ function Ro(e, t) {
3688
3688
  return a;
3689
3689
  }
3690
3690
  var xt = Array.isArray, Zc = 1 / 0, pr = At ? At.prototype : void 0, fr = pr ? pr.toString : void 0;
3691
- function Ko(e) {
3691
+ function Fo(e) {
3692
3692
  if (typeof e == "string")
3693
3693
  return e;
3694
3694
  if (xt(e))
3695
- return Ro(e, Ko) + "";
3695
+ return Ro(e, Fo) + "";
3696
3696
  if (_a(e))
3697
3697
  return fr ? fr.call(e) : "";
3698
3698
  var t = e + "";
@@ -3706,7 +3706,7 @@ function ed(e) {
3706
3706
  return e;
3707
3707
  }
3708
3708
  var td = "[object AsyncFunction]", nd = "[object Function]", id = "[object GeneratorFunction]", ad = "[object Proxy]";
3709
- function ka(e) {
3709
+ function wa(e) {
3710
3710
  if (!zt(e))
3711
3711
  return !1;
3712
3712
  var t = Qt(e);
@@ -3739,7 +3739,7 @@ var ld = /[\\^$.*+?()[\]{}|]/g, ud = /^\[object .+?Constructor\]$/, cd = Functio
3739
3739
  function gd(e) {
3740
3740
  if (!zt(e) || rd(e))
3741
3741
  return !1;
3742
- var t = ka(e) ? md : ud;
3742
+ var t = wa(e) ? md : ud;
3743
3743
  return t.test(en(e));
3744
3744
  }
3745
3745
  function yd(e, t) {
@@ -3781,11 +3781,11 @@ function bd(e, t) {
3781
3781
  t[n] = e[n];
3782
3782
  return t;
3783
3783
  }
3784
- var _d = 800, kd = 16, wd = Date.now;
3784
+ var _d = 800, wd = 16, kd = Date.now;
3785
3785
  function Ad(e) {
3786
3786
  var t = 0, n = 0;
3787
3787
  return function() {
3788
- var i = wd(), a = kd - (i - n);
3788
+ var i = kd(), a = wd - (i - n);
3789
3789
  if (n = i, a > 0) {
3790
3790
  if (++t >= _d)
3791
3791
  return arguments[0];
@@ -3819,11 +3819,11 @@ function Sd(e, t) {
3819
3819
  return e;
3820
3820
  }
3821
3821
  var xd = 9007199254740991, Id = /^(?:0|[1-9]\d*)$/;
3822
- function wa(e, t) {
3822
+ function ka(e, t) {
3823
3823
  var n = typeof e;
3824
3824
  return t = t ?? xd, !!t && (n == "number" || n != "symbol" && Id.test(e)) && e > -1 && e % 1 == 0 && e < t;
3825
3825
  }
3826
- function Fo(e, t, n) {
3826
+ function Ko(e, t, n) {
3827
3827
  t == "__proto__" && di ? di(e, t, {
3828
3828
  configurable: !0,
3829
3829
  enumerable: !0,
@@ -3837,14 +3837,14 @@ function Lo(e, t) {
3837
3837
  var Pd = Object.prototype, Od = Pd.hasOwnProperty;
3838
3838
  function Aa(e, t, n) {
3839
3839
  var i = e[t];
3840
- (!(Od.call(e, t) && Lo(i, n)) || n === void 0 && !(t in e)) && Fo(e, t, n);
3840
+ (!(Od.call(e, t) && Lo(i, n)) || n === void 0 && !(t in e)) && Ko(e, t, n);
3841
3841
  }
3842
3842
  function ei(e, t, n, i) {
3843
3843
  var a = !n;
3844
3844
  n || (n = {});
3845
3845
  for (var r = -1, o = t.length; ++r < o; ) {
3846
3846
  var s = t[r], c = void 0;
3847
- c === void 0 && (c = e[s]), a ? Fo(n, s, c) : Aa(n, s, c);
3847
+ c === void 0 && (c = e[s]), a ? Ko(n, s, c) : Aa(n, s, c);
3848
3848
  }
3849
3849
  return n;
3850
3850
  }
@@ -3864,14 +3864,14 @@ function Ca(e) {
3864
3864
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Rd;
3865
3865
  }
3866
3866
  function Ta(e) {
3867
- return e != null && Ca(e.length) && !ka(e);
3867
+ return e != null && Ca(e.length) && !wa(e);
3868
3868
  }
3869
- var Kd = Object.prototype;
3869
+ var Fd = Object.prototype;
3870
3870
  function xi(e) {
3871
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || Kd;
3871
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || Fd;
3872
3872
  return e === n;
3873
3873
  }
3874
- function Fd(e, t) {
3874
+ function Kd(e, t) {
3875
3875
  for (var n = -1, i = Array(e); ++n < e; )
3876
3876
  i[n] = t(n);
3877
3877
  return i;
@@ -3888,11 +3888,11 @@ var Mo = Object.prototype, Md = Mo.hasOwnProperty, Nd = Mo.propertyIsEnumerable,
3888
3888
  function jd() {
3889
3889
  return !1;
3890
3890
  }
3891
- var No = typeof exports == "object" && exports && !exports.nodeType && exports, vr = No && typeof module == "object" && module && !module.nodeType && module, Dd = vr && vr.exports === No, br = Dd ? Ct.Buffer : void 0, qd = br ? br.isBuffer : void 0, Ea = qd || jd, Ud = "[object Arguments]", Bd = "[object Array]", Vd = "[object Boolean]", Hd = "[object Date]", Gd = "[object Error]", zd = "[object Function]", Wd = "[object Map]", Yd = "[object Number]", Jd = "[object Object]", Xd = "[object RegExp]", Qd = "[object Set]", Zd = "[object String]", ep = "[object WeakMap]", tp = "[object ArrayBuffer]", np = "[object DataView]", ip = "[object Float32Array]", ap = "[object Float64Array]", rp = "[object Int8Array]", op = "[object Int16Array]", sp = "[object Int32Array]", lp = "[object Uint8Array]", up = "[object Uint8ClampedArray]", cp = "[object Uint16Array]", dp = "[object Uint32Array]", Ke = {};
3892
- Ke[ip] = Ke[ap] = Ke[rp] = Ke[op] = Ke[sp] = Ke[lp] = Ke[up] = Ke[cp] = Ke[dp] = !0;
3893
- Ke[Ud] = Ke[Bd] = Ke[tp] = Ke[Vd] = Ke[np] = Ke[Hd] = Ke[Gd] = Ke[zd] = Ke[Wd] = Ke[Yd] = Ke[Jd] = Ke[Xd] = Ke[Qd] = Ke[Zd] = Ke[ep] = !1;
3891
+ var No = typeof exports == "object" && exports && !exports.nodeType && exports, vr = No && typeof module == "object" && module && !module.nodeType && module, Dd = vr && vr.exports === No, br = Dd ? Ct.Buffer : void 0, qd = br ? br.isBuffer : void 0, Ea = qd || jd, Ud = "[object Arguments]", Bd = "[object Array]", Vd = "[object Boolean]", Hd = "[object Date]", Gd = "[object Error]", zd = "[object Function]", Wd = "[object Map]", Yd = "[object Number]", Jd = "[object Object]", Xd = "[object RegExp]", Qd = "[object Set]", Zd = "[object String]", ep = "[object WeakMap]", tp = "[object ArrayBuffer]", np = "[object DataView]", ip = "[object Float32Array]", ap = "[object Float64Array]", rp = "[object Int8Array]", op = "[object Int16Array]", sp = "[object Int32Array]", lp = "[object Uint8Array]", up = "[object Uint8ClampedArray]", cp = "[object Uint16Array]", dp = "[object Uint32Array]", Fe = {};
3892
+ Fe[ip] = Fe[ap] = Fe[rp] = Fe[op] = Fe[sp] = Fe[lp] = Fe[up] = Fe[cp] = Fe[dp] = !0;
3893
+ Fe[Ud] = Fe[Bd] = Fe[tp] = Fe[Vd] = Fe[np] = Fe[Hd] = Fe[Gd] = Fe[zd] = Fe[Wd] = Fe[Yd] = Fe[Jd] = Fe[Xd] = Fe[Qd] = Fe[Zd] = Fe[ep] = !1;
3894
3894
  function pp(e) {
3895
- return Zt(e) && Ca(e.length) && !!Ke[Qt(e)];
3895
+ return Zt(e) && Ca(e.length) && !!Fe[Qt(e)];
3896
3896
  }
3897
3897
  function Sa(e) {
3898
3898
  return function(t) {
@@ -3907,13 +3907,13 @@ var jo = typeof exports == "object" && exports && !exports.nodeType && exports,
3907
3907
  }
3908
3908
  }(), _r = hn && hn.isTypedArray, Do = _r ? Sa(_r) : pp, mp = Object.prototype, gp = mp.hasOwnProperty;
3909
3909
  function qo(e, t) {
3910
- var n = xt(e), i = !n && Ii(e), a = !n && !i && Ea(e), r = !n && !i && !a && Do(e), o = n || i || a || r, s = o ? Fd(e.length, String) : [], c = s.length;
3910
+ var n = xt(e), i = !n && Ii(e), a = !n && !i && Ea(e), r = !n && !i && !a && Do(e), o = n || i || a || r, s = o ? Kd(e.length, String) : [], c = s.length;
3911
3911
  for (var f in e)
3912
3912
  (t || gp.call(e, f)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
3913
3913
  (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
3914
3914
  a && (f == "offset" || f == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
3915
3915
  r && (f == "buffer" || f == "byteLength" || f == "byteOffset") || // Skip index properties.
3916
- wa(f, c))) && s.push(f);
3916
+ ka(f, c))) && s.push(f);
3917
3917
  return s;
3918
3918
  }
3919
3919
  function Uo(e, t) {
@@ -3940,17 +3940,17 @@ function bp(e) {
3940
3940
  t.push(n);
3941
3941
  return t;
3942
3942
  }
3943
- var _p = Object.prototype, kp = _p.hasOwnProperty;
3944
- function wp(e) {
3943
+ var _p = Object.prototype, wp = _p.hasOwnProperty;
3944
+ function kp(e) {
3945
3945
  if (!zt(e))
3946
3946
  return bp(e);
3947
3947
  var t = xi(e), n = [];
3948
3948
  for (var i in e)
3949
- i == "constructor" && (t || !kp.call(e, i)) || n.push(i);
3949
+ i == "constructor" && (t || !wp.call(e, i)) || n.push(i);
3950
3950
  return n;
3951
3951
  }
3952
3952
  function Ia(e) {
3953
- return Ta(e) ? qo(e, !0) : wp(e);
3953
+ return Ta(e) ? qo(e, !0) : kp(e);
3954
3954
  }
3955
3955
  var Ap = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Cp = /^\w*$/;
3956
3956
  function Tp(e, t) {
@@ -3977,14 +3977,14 @@ function Op(e) {
3977
3977
  return Pp.call(t, e) ? t[e] : void 0;
3978
3978
  }
3979
3979
  var $p = Object.prototype, Rp = $p.hasOwnProperty;
3980
- function Kp(e) {
3980
+ function Fp(e) {
3981
3981
  var t = this.__data__;
3982
3982
  return Hn ? t[e] !== void 0 : Rp.call(t, e);
3983
3983
  }
3984
- var Fp = "__lodash_hash_undefined__";
3984
+ var Kp = "__lodash_hash_undefined__";
3985
3985
  function Lp(e, t) {
3986
3986
  var n = this.__data__;
3987
- return this.size += this.has(e) ? 0 : 1, n[e] = Hn && t === void 0 ? Fp : t, this;
3987
+ return this.size += this.has(e) ? 0 : 1, n[e] = Hn && t === void 0 ? Kp : t, this;
3988
3988
  }
3989
3989
  function Wt(e) {
3990
3990
  var t = -1, n = e == null ? 0 : e.length;
@@ -3996,7 +3996,7 @@ function Wt(e) {
3996
3996
  Wt.prototype.clear = Ep;
3997
3997
  Wt.prototype.delete = Sp;
3998
3998
  Wt.prototype.get = Op;
3999
- Wt.prototype.has = Kp;
3999
+ Wt.prototype.has = Fp;
4000
4000
  Wt.prototype.set = Lp;
4001
4001
  function Mp() {
4002
4002
  this.__data__ = [], this.size = 0;
@@ -4108,7 +4108,7 @@ var Zp = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
4108
4108
  }), t;
4109
4109
  });
4110
4110
  function $i(e) {
4111
- return e == null ? "" : Ko(e);
4111
+ return e == null ? "" : Fo(e);
4112
4112
  }
4113
4113
  function An(e, t) {
4114
4114
  return xt(e) ? e : Tp(e, t) ? [e] : tf($i(e));
@@ -4135,9 +4135,9 @@ function $a(e, t) {
4135
4135
  e[a + n] = t[n];
4136
4136
  return e;
4137
4137
  }
4138
- var kr = At ? At.isConcatSpreadable : void 0;
4138
+ var wr = At ? At.isConcatSpreadable : void 0;
4139
4139
  function af(e) {
4140
- return xt(e) || Ii(e) || !!(kr && e && e[kr]);
4140
+ return xt(e) || Ii(e) || !!(wr && e && e[wr]);
4141
4141
  }
4142
4142
  function rf(e, t, n, i, a) {
4143
4143
  var r = -1, o = e.length;
@@ -4175,19 +4175,19 @@ function ff(e, t, n) {
4175
4175
  var i = e.length;
4176
4176
  return n = n === void 0 ? i : n, !t && n >= i ? e : zo(e, t, n);
4177
4177
  }
4178
- var mf = "\\ud800-\\udfff", gf = "\\u0300-\\u036f", yf = "\\ufe20-\\ufe2f", hf = "\\u20d0-\\u20ff", vf = gf + yf + hf, bf = "\\ufe0e\\ufe0f", _f = "\\u200d", kf = RegExp("[" + _f + mf + vf + bf + "]");
4178
+ var mf = "\\ud800-\\udfff", gf = "\\u0300-\\u036f", yf = "\\ufe20-\\ufe2f", hf = "\\u20d0-\\u20ff", vf = gf + yf + hf, bf = "\\ufe0e\\ufe0f", _f = "\\u200d", wf = RegExp("[" + _f + mf + vf + bf + "]");
4179
4179
  function Wo(e) {
4180
- return kf.test(e);
4180
+ return wf.test(e);
4181
4181
  }
4182
- function wf(e) {
4182
+ function kf(e) {
4183
4183
  return e.split("");
4184
4184
  }
4185
- var Yo = "\\ud800-\\udfff", Af = "\\u0300-\\u036f", Cf = "\\ufe20-\\ufe2f", Tf = "\\u20d0-\\u20ff", Ef = Af + Cf + Tf, Sf = "\\ufe0e\\ufe0f", xf = "[" + Yo + "]", ea = "[" + Ef + "]", ta = "\\ud83c[\\udffb-\\udfff]", If = "(?:" + ea + "|" + ta + ")", Jo = "[^" + Yo + "]", Xo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Qo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Pf = "\\u200d", Zo = If + "?", es = "[" + Sf + "]?", Of = "(?:" + Pf + "(?:" + [Jo, Xo, Qo].join("|") + ")" + es + Zo + ")*", $f = es + Zo + Of, Rf = "(?:" + [Jo + ea + "?", ea, Xo, Qo, xf].join("|") + ")", Kf = RegExp(ta + "(?=" + ta + ")|" + Rf + $f, "g");
4186
- function Ff(e) {
4187
- return e.match(Kf) || [];
4185
+ var Yo = "\\ud800-\\udfff", Af = "\\u0300-\\u036f", Cf = "\\ufe20-\\ufe2f", Tf = "\\u20d0-\\u20ff", Ef = Af + Cf + Tf, Sf = "\\ufe0e\\ufe0f", xf = "[" + Yo + "]", ea = "[" + Ef + "]", ta = "\\ud83c[\\udffb-\\udfff]", If = "(?:" + ea + "|" + ta + ")", Jo = "[^" + Yo + "]", Xo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Qo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Pf = "\\u200d", Zo = If + "?", es = "[" + Sf + "]?", Of = "(?:" + Pf + "(?:" + [Jo, Xo, Qo].join("|") + ")" + es + Zo + ")*", $f = es + Zo + Of, Rf = "(?:" + [Jo + ea + "?", ea, Xo, Qo, xf].join("|") + ")", Ff = RegExp(ta + "(?=" + ta + ")|" + Rf + $f, "g");
4186
+ function Kf(e) {
4187
+ return e.match(Ff) || [];
4188
4188
  }
4189
4189
  function Lf(e) {
4190
- return Wo(e) ? Ff(e) : wf(e);
4190
+ return Wo(e) ? Kf(e) : kf(e);
4191
4191
  }
4192
4192
  function Mf(e) {
4193
4193
  return function(t) {
@@ -4239,7 +4239,7 @@ function Gf(e, t) {
4239
4239
  function zf(e, t) {
4240
4240
  return e && ei(t, Ia(t), e);
4241
4241
  }
4242
- var ts = typeof exports == "object" && exports && !exports.nodeType && exports, wr = ts && typeof module == "object" && module && !module.nodeType && module, Wf = wr && wr.exports === ts, Ar = Wf ? Ct.Buffer : void 0, Cr = Ar ? Ar.allocUnsafe : void 0;
4242
+ var ts = typeof exports == "object" && exports && !exports.nodeType && exports, kr = ts && typeof module == "object" && module && !module.nodeType && module, Wf = kr && kr.exports === ts, Ar = Wf ? Ct.Buffer : void 0, Cr = Ar ? Ar.allocUnsafe : void 0;
4243
4243
  function Yf(e, t) {
4244
4244
  if (t)
4245
4245
  return e.slice();
@@ -4256,17 +4256,17 @@ function Jf(e, t) {
4256
4256
  function ns() {
4257
4257
  return [];
4258
4258
  }
4259
- var Xf = Object.prototype, Qf = Xf.propertyIsEnumerable, Tr = Object.getOwnPropertySymbols, Ka = Tr ? function(e) {
4259
+ var Xf = Object.prototype, Qf = Xf.propertyIsEnumerable, Tr = Object.getOwnPropertySymbols, Fa = Tr ? function(e) {
4260
4260
  return e == null ? [] : (e = Object(e), Jf(Tr(e), function(t) {
4261
4261
  return Qf.call(e, t);
4262
4262
  }));
4263
4263
  } : ns;
4264
4264
  function Zf(e, t) {
4265
- return ei(e, Ka(e), t);
4265
+ return ei(e, Fa(e), t);
4266
4266
  }
4267
4267
  var em = Object.getOwnPropertySymbols, is = em ? function(e) {
4268
4268
  for (var t = []; e; )
4269
- $a(t, Ka(e)), e = Ra(e);
4269
+ $a(t, Fa(e)), e = Ra(e);
4270
4270
  return t;
4271
4271
  } : ns;
4272
4272
  function tm(e, t) {
@@ -4277,7 +4277,7 @@ function as(e, t, n) {
4277
4277
  return xt(e) ? i : $a(i, n(e));
4278
4278
  }
4279
4279
  function nm(e) {
4280
- return as(e, xa, Ka);
4280
+ return as(e, xa, Fa);
4281
4281
  }
4282
4282
  function rs(e) {
4283
4283
  return as(e, Ia, is);
@@ -4306,12 +4306,12 @@ function dm(e) {
4306
4306
  return t && typeof e[0] == "string" && cm.call(e, "index") && (n.index = e.index, n.input = e.input), n;
4307
4307
  }
4308
4308
  var Or = Ct.Uint8Array;
4309
- function Fa(e) {
4309
+ function Ka(e) {
4310
4310
  var t = new e.constructor(e.byteLength);
4311
4311
  return new Or(t).set(new Or(e)), t;
4312
4312
  }
4313
4313
  function pm(e, t) {
4314
- var n = t ? Fa(e.buffer) : e.buffer;
4314
+ var n = t ? Ka(e.buffer) : e.buffer;
4315
4315
  return new e.constructor(n, e.byteOffset, e.byteLength);
4316
4316
  }
4317
4317
  var fm = /\w*$/;
@@ -4324,15 +4324,15 @@ function gm(e) {
4324
4324
  return Rr ? Object(Rr.call(e)) : {};
4325
4325
  }
4326
4326
  function ym(e, t) {
4327
- var n = t ? Fa(e.buffer) : e.buffer;
4327
+ var n = t ? Ka(e.buffer) : e.buffer;
4328
4328
  return new e.constructor(n, e.byteOffset, e.length);
4329
4329
  }
4330
- var hm = "[object Boolean]", vm = "[object Date]", bm = "[object Map]", _m = "[object Number]", km = "[object RegExp]", wm = "[object Set]", Am = "[object String]", Cm = "[object Symbol]", Tm = "[object ArrayBuffer]", Em = "[object DataView]", Sm = "[object Float32Array]", xm = "[object Float64Array]", Im = "[object Int8Array]", Pm = "[object Int16Array]", Om = "[object Int32Array]", $m = "[object Uint8Array]", Rm = "[object Uint8ClampedArray]", Km = "[object Uint16Array]", Fm = "[object Uint32Array]";
4330
+ var hm = "[object Boolean]", vm = "[object Date]", bm = "[object Map]", _m = "[object Number]", wm = "[object RegExp]", km = "[object Set]", Am = "[object String]", Cm = "[object Symbol]", Tm = "[object ArrayBuffer]", Em = "[object DataView]", Sm = "[object Float32Array]", xm = "[object Float64Array]", Im = "[object Int8Array]", Pm = "[object Int16Array]", Om = "[object Int32Array]", $m = "[object Uint8Array]", Rm = "[object Uint8ClampedArray]", Fm = "[object Uint16Array]", Km = "[object Uint32Array]";
4331
4331
  function Lm(e, t, n) {
4332
4332
  var i = e.constructor;
4333
4333
  switch (t) {
4334
4334
  case Tm:
4335
- return Fa(e);
4335
+ return Ka(e);
4336
4336
  case hm:
4337
4337
  case vm:
4338
4338
  return new i(+e);
@@ -4345,17 +4345,17 @@ function Lm(e, t, n) {
4345
4345
  case Om:
4346
4346
  case $m:
4347
4347
  case Rm:
4348
- case Km:
4349
4348
  case Fm:
4349
+ case Km:
4350
4350
  return ym(e, n);
4351
4351
  case bm:
4352
4352
  return new i();
4353
4353
  case _m:
4354
4354
  case Am:
4355
4355
  return new i(e);
4356
- case km:
4357
- return mm(e);
4358
4356
  case wm:
4357
+ return mm(e);
4358
+ case km:
4359
4359
  return new i();
4360
4360
  case Cm:
4361
4361
  return gm(e);
@@ -4368,11 +4368,11 @@ var Nm = "[object Map]";
4368
4368
  function jm(e) {
4369
4369
  return Zt(e) && bt(e) == Nm;
4370
4370
  }
4371
- var Kr = hn && hn.isMap, Dm = Kr ? Sa(Kr) : jm, qm = "[object Set]";
4371
+ var Fr = hn && hn.isMap, Dm = Fr ? Sa(Fr) : jm, qm = "[object Set]";
4372
4372
  function Um(e) {
4373
4373
  return Zt(e) && bt(e) == qm;
4374
4374
  }
4375
- var Fr = hn && hn.isSet, Bm = Fr ? Sa(Fr) : Um, Vm = 1, Hm = 2, Gm = 4, os = "[object Arguments]", zm = "[object Array]", Wm = "[object Boolean]", Ym = "[object Date]", Jm = "[object Error]", ss = "[object Function]", Xm = "[object GeneratorFunction]", Qm = "[object Map]", Zm = "[object Number]", ls = "[object Object]", eg = "[object RegExp]", tg = "[object Set]", ng = "[object String]", ig = "[object Symbol]", ag = "[object WeakMap]", rg = "[object ArrayBuffer]", og = "[object DataView]", sg = "[object Float32Array]", lg = "[object Float64Array]", ug = "[object Int8Array]", cg = "[object Int16Array]", dg = "[object Int32Array]", pg = "[object Uint8Array]", fg = "[object Uint8ClampedArray]", mg = "[object Uint16Array]", gg = "[object Uint32Array]", Re = {};
4375
+ var Kr = hn && hn.isSet, Bm = Kr ? Sa(Kr) : Um, Vm = 1, Hm = 2, Gm = 4, os = "[object Arguments]", zm = "[object Array]", Wm = "[object Boolean]", Ym = "[object Date]", Jm = "[object Error]", ss = "[object Function]", Xm = "[object GeneratorFunction]", Qm = "[object Map]", Zm = "[object Number]", ls = "[object Object]", eg = "[object RegExp]", tg = "[object Set]", ng = "[object String]", ig = "[object Symbol]", ag = "[object WeakMap]", rg = "[object ArrayBuffer]", og = "[object DataView]", sg = "[object Float32Array]", lg = "[object Float64Array]", ug = "[object Int8Array]", cg = "[object Int16Array]", dg = "[object Int32Array]", pg = "[object Uint8Array]", fg = "[object Uint8ClampedArray]", mg = "[object Uint16Array]", gg = "[object Uint32Array]", Re = {};
4376
4376
  Re[os] = Re[zm] = Re[rg] = Re[og] = Re[Wm] = Re[Ym] = Re[sg] = Re[lg] = Re[ug] = Re[cg] = Re[dg] = Re[Qm] = Re[Zm] = Re[ls] = Re[eg] = Re[tg] = Re[ng] = Re[ig] = Re[pg] = Re[fg] = Re[mg] = Re[gg] = !0;
4377
4377
  Re[Jm] = Re[ss] = Re[ag] = !1;
4378
4378
  function jn(e, t, n, i, a, r) {
@@ -4407,9 +4407,9 @@ function jn(e, t, n, i, a, r) {
4407
4407
  }) : Dm(e) && e.forEach(function(y, v) {
4408
4408
  o.set(v, jn(y, t, n, v, e, r));
4409
4409
  });
4410
- var b = f ? c ? rs : nm : c ? Ia : xa, k = p ? void 0 : b(e);
4411
- return Sd(k || e, function(y, v) {
4412
- k && (v = y, y = e[v]), Aa(o, v, jn(y, t, n, v, e, r));
4410
+ var b = f ? c ? rs : nm : c ? Ia : xa, w = p ? void 0 : b(e);
4411
+ return Sd(w || e, function(y, v) {
4412
+ w && (v = y, y = e[v]), Aa(o, v, jn(y, t, n, v, e, r));
4413
4413
  }), o;
4414
4414
  }
4415
4415
  var yg = 1, hg = 4;
@@ -4427,16 +4427,16 @@ function bg(e, t, n) {
4427
4427
  break;
4428
4428
  e = e[o];
4429
4429
  }
4430
- return r || ++i != a ? r : (a = e == null ? 0 : e.length, !!a && Ca(a) && wa(o, a) && (xt(e) || Ii(e)));
4430
+ return r || ++i != a ? r : (a = e == null ? 0 : e.length, !!a && Ca(a) && ka(o, a) && (xt(e) || Ii(e)));
4431
4431
  }
4432
4432
  function _g(e, t) {
4433
4433
  return e != null && bg(e, t, vg);
4434
4434
  }
4435
- function kg(e) {
4435
+ function wg(e) {
4436
4436
  var t = e == null ? 0 : e.length;
4437
4437
  return t ? e[t - 1] : void 0;
4438
4438
  }
4439
- function wg(e, t) {
4439
+ function kg(e, t) {
4440
4440
  return t.length < 2 ? e : Oa(e, zo(t, 0, -1));
4441
4441
  }
4442
4442
  var Ag = "[object Map]", Cg = "[object Set]", Tg = Object.prototype, Eg = Tg.hasOwnProperty;
@@ -4456,7 +4456,7 @@ function Mr(e) {
4456
4456
  return !0;
4457
4457
  }
4458
4458
  function us(e, t) {
4459
- return t = An(t, e), e = wg(e, t), e == null || delete e[Ri(kg(t))];
4459
+ return t = An(t, e), e = kg(e, t), e == null || delete e[Ri(wg(t))];
4460
4460
  }
4461
4461
  function Sg(e) {
4462
4462
  return pf(e) ? void 0 : e;
@@ -4483,7 +4483,7 @@ function cs(e, t, n, i) {
4483
4483
  return e;
4484
4484
  if (a != o) {
4485
4485
  var p = s[c];
4486
- f = void 0, f === void 0 && (f = zt(p) ? p : wa(t[a + 1]) ? [] : {});
4486
+ f = void 0, f === void 0 && (f = zt(p) ? p : ka(t[a + 1]) ? [] : {});
4487
4487
  }
4488
4488
  Aa(s, c, f), s = s[c];
4489
4489
  }
@@ -4504,12 +4504,12 @@ function Rg(e, t) {
4504
4504
  var ra = Ho(function(e, t) {
4505
4505
  return e == null ? {} : Rg(e, t);
4506
4506
  });
4507
- function Kg(e, t, n) {
4507
+ function Fg(e, t, n) {
4508
4508
  return e == null ? e : cs(e, t, n);
4509
4509
  }
4510
- var Fg = 0;
4510
+ var Kg = 0;
4511
4511
  function La(e) {
4512
- var t = ++Fg;
4512
+ var t = ++Kg;
4513
4513
  return $i(e) + t;
4514
4514
  }
4515
4515
  function Nr(e, t) {
@@ -4604,7 +4604,7 @@ function Ug(e) {
4604
4604
  const d = {};
4605
4605
  if (Array.isArray(p.fields))
4606
4606
  for (const m of p.fields) {
4607
- const b = Object.keys(m)[0], k = l ? `${l}.${b}` : b, y = a(k, !1);
4607
+ const b = Object.keys(m)[0], w = l ? `${l}.${b}` : b, y = a(w, !1);
4608
4608
  y !== void 0 && (d[b] = y);
4609
4609
  }
4610
4610
  return d;
@@ -4765,7 +4765,7 @@ function bs(e) {
4765
4765
  return {
4766
4766
  value: $({
4767
4767
  get: () => Vo(t, vn(n.value)),
4768
- set: (a) => Kg(t, vn(n.value), a)
4768
+ set: (a) => Fg(t, vn(n.value), a)
4769
4769
  })
4770
4770
  };
4771
4771
  }
@@ -4814,7 +4814,7 @@ function _s(e, t) {
4814
4814
  }, { immediate: !0, deep: !0 }), { getKey: a };
4815
4815
  }
4816
4816
  const Jg = "__request_callout_";
4817
- function ks() {
4817
+ function ws() {
4818
4818
  return La(Jg);
4819
4819
  }
4820
4820
  const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
@@ -4832,18 +4832,18 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
4832
4832
  },
4833
4833
  emits: ["update:modelValue"],
4834
4834
  setup(e, { emit: t }) {
4835
- const n = Qn(), { i18n: i } = Lt(), a = Kt(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: o, ...s } = vt(Ge(() => e.name)), c = Pt(s.path, Ge({ ...a, ...n })), f = o == null ? void 0 : o.value;
4836
- function p(w) {
4837
- f !== void 0 && w === "" && w !== f ? (o.value = null, r("update:modelValue", null)) : (o.value = w.trim(), r("update:modelValue", w.trim()));
4835
+ const n = Qn(), { i18n: i } = Lt(), a = Ft(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: o, ...s } = vt(Ge(() => e.name)), c = Pt(s.path, Ge({ ...a, ...n })), f = o == null ? void 0 : o.value;
4836
+ function p(k) {
4837
+ f !== void 0 && k === "" && k !== f ? (o.value = null, r("update:modelValue", null)) : (o.value = k.trim(), r("update:modelValue", k.trim()));
4838
4838
  }
4839
4839
  const l = $(() => {
4840
- var w;
4841
- return e.showPasswordMaskToggle !== void 0 ? e.showPasswordMaskToggle : a.type === "password" ? !0 : !!((w = s.schema) == null ? void 0 : w.value).encrypted;
4840
+ var k;
4841
+ return e.showPasswordMaskToggle !== void 0 ? e.showPasswordMaskToggle : a.type === "password" ? !0 : !!((k = s.schema) == null ? void 0 : k.value).encrypted;
4842
4842
  }), d = $(() => a.multiline ? du : va), m = et(Zn, void 0), b = $(() => {
4843
- var w;
4844
- return e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!((w = s.schema.value) != null && w.referenceable);
4845
- }), k = $(() => ({ referenceable: b.value })), y = ja(s.ancestors), v = $(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : Na(e.name) === "name");
4846
- return (w, x) => {
4843
+ var k;
4844
+ return e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!((k = s.schema.value) != null && k.referenceable);
4845
+ }), w = $(() => ({ referenceable: b.value })), y = ja(s.ancestors), v = $(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : Na(e.name) === "name");
4846
+ return (k, x) => {
4847
4847
  var M;
4848
4848
  const j = ee("KAlert");
4849
4849
  return s.error ? (g(), R(j, {
@@ -4866,8 +4866,8 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
4866
4866
  (M = u(c).labelAttributes) != null && M.info ? {
4867
4867
  name: "label-tooltip",
4868
4868
  fn: _(() => [
4869
- Oe(w.$slots, "tooltip", {}, () => [
4870
- K("div", {
4869
+ Oe(k.$slots, "tooltip", {}, () => [
4870
+ F("div", {
4871
4871
  innerHTML: u(c).labelAttributes.info
4872
4872
  }, null, 8, Xg)
4873
4873
  ], !0)
@@ -4877,7 +4877,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
4877
4877
  ]), 1040, ["data-1p-ignore", "data-autofocus", "data-testid", "model-value"]),
4878
4878
  u(m) && b.value ? (g(), R(mt(u(m)), {
4879
4879
  key: 0,
4880
- schema: k.value,
4880
+ schema: w.value,
4881
4881
  update: p,
4882
4882
  value: u(o) ?? ""
4883
4883
  }, null, 8, ["schema", "value"])) : he("", !0),
@@ -4899,7 +4899,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
4899
4899
  },
4900
4900
  emits: ["update:modelValue"],
4901
4901
  setup(e, { emit: t }) {
4902
- const n = Kt(e, ["name"]), { value: i, ...a } = vt(Ge(() => e.name)), r = t, o = (c) => {
4902
+ const n = Ft(e, ["name"]), { value: i, ...a } = vt(Ge(() => e.name)), r = t, o = (c) => {
4903
4903
  i.value = c, r("update:modelValue", c);
4904
4904
  }, s = Pt(a.path, n);
4905
4905
  return (c, f) => {
@@ -4919,7 +4919,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
4919
4919
  name: "tooltip",
4920
4920
  fn: _(() => [
4921
4921
  Oe(c.$slots, "tooltip", {}, () => [
4922
- K("div", {
4922
+ F("div", {
4923
4923
  innerHTML: u(s).labelAttributes.info
4924
4924
  }, null, 8, Zg)
4925
4925
  ], !0)
@@ -5001,7 +5001,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5001
5001
  _: 3
5002
5002
  }));
5003
5003
  }
5004
- }), ws = /* @__PURE__ */ ve(ny, [["__scopeId", "data-v-481d7a76"]]), iy = ["data-testid"], ay = ["data-testid"], ry = ["data-testid"], oy = ["innerHTML"], sy = { class: "ff-object-field-actions" }, ly = ["data-testid"], uy = /* @__PURE__ */ pe({
5004
+ }), ks = /* @__PURE__ */ ve(ny, [["__scopeId", "data-v-481d7a76"]]), iy = ["data-testid"], ay = ["data-testid"], ry = ["data-testid"], oy = ["innerHTML"], sy = { class: "ff-object-field-actions" }, ly = ["data-testid"], uy = /* @__PURE__ */ pe({
5005
5005
  __name: "ObjectField",
5006
5006
  props: /* @__PURE__ */ si({
5007
5007
  name: {},
@@ -5027,22 +5027,22 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5027
5027
  emits: ["update:added", "update:expanded"],
5028
5028
  setup(e) {
5029
5029
  Rt();
5030
- const t = Kt(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = vt(Ge(t, "name")), { getSchema: a, getDefault: r } = tt(), o = li(e, "added"), s = li(e, "expanded"), c = $(() => d.value && (e.collapsible ? s.value ?? e.defaultExpanded : !1)), f = $(() => {
5030
+ const t = Ft(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = vt(Ge(t, "name")), { getSchema: a, getDefault: r } = tt(), o = li(e, "added"), s = li(e, "expanded"), c = $(() => d.value && (e.collapsible ? s.value ?? e.defaultExpanded : !1)), f = $(() => {
5031
5031
  var y, v;
5032
5032
  if ((y = i.ancestors) != null && y.value) {
5033
- const w = i.ancestors.value.parent;
5034
- if (w != null && w.path)
5035
- return ((v = a(w.path)) == null ? void 0 : v.type) === "array";
5033
+ const k = i.ancestors.value.parent;
5034
+ if (k != null && k.path)
5035
+ return ((v = a(k.path)) == null ? void 0 : v.type) === "array";
5036
5036
  }
5037
5037
  return !1;
5038
5038
  }), p = $(() => e.resetLabelPath !== void 0 ? e.resetLabelPath : f.value ? "reset" : "inherit"), l = Pt(i.path, Ge(() => ({ required: e.required, ...t, resetLabelPath: p.value }))), d = $(() => l.value.required ? !0 : o.value ?? e.defaultAdded), m = $(() => e.asChild !== void 0 ? e.asChild : f.value), b = $(() => {
5039
5039
  let y = i.schema.value.fields;
5040
- return e.omit && (y = y.filter((v) => !e.omit.includes(Object.keys(v)[0]))), e.fieldsOrder ? y.sort((v, w) => {
5041
- const x = Object.keys(v)[0], j = Object.keys(w)[0], M = e.fieldsOrder.indexOf(x), h = e.fieldsOrder.indexOf(j);
5040
+ return e.omit && (y = y.filter((v) => !e.omit.includes(Object.keys(v)[0]))), e.fieldsOrder ? y.sort((v, k) => {
5041
+ const x = Object.keys(v)[0], j = Object.keys(k)[0], M = e.fieldsOrder.indexOf(x), h = e.fieldsOrder.indexOf(j);
5042
5042
  return M === -1 && h === -1 ? 0 : M === -1 ? 1 : h === -1 ? -1 : M - h;
5043
5043
  }) : y;
5044
5044
  });
5045
- function k() {
5045
+ function w() {
5046
5046
  o.value = !o.value, o.value ? n.value = r(i.path.value) : n.value = null;
5047
5047
  }
5048
5048
  return Ve(d, (y) => {
@@ -5051,10 +5051,10 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5051
5051
  o.value = !!(n != null && n.value);
5052
5052
  }), (y, v) => {
5053
5053
  var x;
5054
- const w = ee("KAlert");
5054
+ const k = ee("KAlert");
5055
5055
  return g(), B($e, null, [
5056
5056
  (g(), R(mt(y.$slots[u(bn)]))),
5057
- i.error ? (g(), R(w, {
5057
+ i.error ? (g(), R(k, {
5058
5058
  key: 0,
5059
5059
  appearance: "danger",
5060
5060
  message: i.error.message
@@ -5074,7 +5074,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5074
5074
  class: yt(["ff-object-field", { "ff-object-field-collapsed": !c.value }]),
5075
5075
  "data-testid": `ff-object-${i.path.value}`
5076
5076
  }, [
5077
- K("header", {
5077
+ F("header", {
5078
5078
  class: "ff-object-field-header",
5079
5079
  "data-testid": `ff-object-header-${i.path.value}`
5080
5080
  }, [
@@ -5088,7 +5088,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5088
5088
  "tooltip-attributes": u(l).labelAttributes.tooltipAttributes
5089
5089
  }), De({
5090
5090
  default: _(() => [
5091
- ke(J(u(l).label) + " ", 1)
5091
+ we(J(u(l).label) + " ", 1)
5092
5092
  ]),
5093
5093
  _: 2
5094
5094
  }, [
@@ -5096,7 +5096,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5096
5096
  name: "tooltip",
5097
5097
  fn: _(() => [
5098
5098
  Oe(y.$slots, "tooltip", {}, () => [
5099
- K("div", {
5099
+ F("div", {
5100
5100
  innerHTML: u(l).labelAttributes.info
5101
5101
  }, null, 8, oy)
5102
5102
  ], !0)
@@ -5104,7 +5104,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5104
5104
  key: "0"
5105
5105
  } : void 0
5106
5106
  ]), 1040, ["data-testid", "tooltip-attributes"]),
5107
- K("div", sy, [
5107
+ F("div", sy, [
5108
5108
  y.collapsible && d.value ? (g(), R(u(gn), {
5109
5109
  key: 0,
5110
5110
  appearance: "tertiary",
@@ -5127,16 +5127,16 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5127
5127
  class: yt(`ff-object-field-button-${d.value ? "remove" : "add"}`),
5128
5128
  "data-testid": `ff-object-${d.value ? "remove" : "add"}-btn-${i.path.value}`,
5129
5129
  icon: "",
5130
- onClick: k
5130
+ onClick: w
5131
5131
  }, {
5132
5132
  default: _(() => [
5133
- d.value ? (g(), R(u(ci), { key: 0 })) : (g(), R(u(wn), { key: 1 }))
5133
+ d.value ? (g(), R(u(ci), { key: 0 })) : (g(), R(u(kn), { key: 1 }))
5134
5134
  ]),
5135
5135
  _: 1
5136
5136
  }, 8, ["class", "data-testid"]))
5137
5137
  ])
5138
5138
  ], 8, ry),
5139
- C(ws, null, {
5139
+ C(ks, null, {
5140
5140
  default: _(() => [
5141
5141
  c.value ? (g(), B("div", {
5142
5142
  key: 0,
@@ -5167,7 +5167,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5167
5167
  },
5168
5168
  emits: ["update:modelValue"],
5169
5169
  setup(e, { emit: t }) {
5170
- const n = Kt(e, ["name"]), { value: i, ...a } = vt(Ge(() => e.name)), r = Pt(a.path, n), o = $(() => {
5170
+ const n = Ft(e, ["name"]), { value: i, ...a } = vt(Ge(() => e.name)), r = Pt(a.path, n), o = $(() => {
5171
5171
  var b;
5172
5172
  const l = (b = a.schema) == null ? void 0 : b.value;
5173
5173
  if (l.gt)
@@ -5207,7 +5207,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5207
5207
  name: "label-tooltip",
5208
5208
  fn: _(() => [
5209
5209
  Oe(l.$slots, "tooltip", {}, () => [
5210
- K("div", {
5210
+ F("div", {
5211
5211
  innerHTML: u(r).labelAttributes.info
5212
5212
  }, null, 8, cy)
5213
5213
  ], !0)
@@ -5228,7 +5228,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5228
5228
  placeholder: {}
5229
5229
  },
5230
5230
  setup(e) {
5231
- const t = Kt(e, ["name", "items", "multiple"]), { getSelectItems: n } = tt(), { value: i, ...a } = vt(Ge(() => e.name)), r = Pt(a.path, t), o = $(() => e.items ? e.items : a.path ? n(a.path.value) : []), s = $(() => {
5231
+ const t = Ft(e, ["name", "items", "multiple"]), { getSelectItems: n } = tt(), { value: i, ...a } = vt(Ge(() => e.name)), r = Pt(a.path, t), o = $(() => e.items ? e.items : a.path ? n(a.path.value) : []), s = $(() => {
5232
5232
  var f;
5233
5233
  return e.multiple !== void 0 ? e.multiple : ((f = a.schema.value) == null ? void 0 : f.type) === "set";
5234
5234
  }), c = $(() => s.value ? mu : gu);
@@ -5251,7 +5251,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5251
5251
  name: "label-tooltip",
5252
5252
  fn: _(() => [
5253
5253
  Oe(f.$slots, "tooltip", {}, () => [
5254
- K("div", {
5254
+ F("div", {
5255
5255
  innerHTML: u(r).labelAttributes.info
5256
5256
  }, null, 8, py)
5257
5257
  ], !0)
@@ -5277,7 +5277,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5277
5277
  },
5278
5278
  emits: ["change"],
5279
5279
  setup(e, { expose: t, emit: n }) {
5280
- const i = Kt(e, ["showVaultSecretPicker"]), { value: a, ...r } = vt(Ge(i, "name")), o = Pt(r.path, Ge({ ...i, ...Qn() })), { i18n: s } = Lt(), c = n, f = H(
5280
+ const i = Ft(e, ["showVaultSecretPicker"]), { value: a, ...r } = vt(Ge(i, "name")), o = Pt(r.path, Ge({ ...i, ...Qn() })), { i18n: s } = Lt(), c = n, f = H(
5281
5281
  l(
5282
5282
  i.initialValue ?? (a == null ? void 0 : a.value) ?? {}
5283
5283
  )
@@ -5300,10 +5300,10 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5300
5300
  }, b = () => {
5301
5301
  const I = Object.fromEntries(f.value.map(({ key: T, value: S }) => [T, S]).filter(([T]) => T));
5302
5302
  a.value = I, c("change", I);
5303
- }, k = mn("root");
5303
+ }, w = mn("root");
5304
5304
  async function y(I, T = "key") {
5305
5305
  var S;
5306
- k.value && (await wt(), (S = k.value.querySelector(`[data-${T}-input="${I}"]`)) == null || S.focus());
5306
+ w.value && (await kt(), (S = w.value.querySelector(`[data-${T}-input="${I}"]`)) == null || S.focus());
5307
5307
  }
5308
5308
  Ve(f, b, { deep: !0 });
5309
5309
  function v() {
@@ -5311,7 +5311,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5311
5311
  const I = f.value.findIndex(({ key: T }) => !T);
5312
5312
  y(I === -1 ? f.value.length - 1 : I);
5313
5313
  }
5314
- function w(I) {
5314
+ function k(I) {
5315
5315
  I === f.value.length - 1 && d(), y(I + 1);
5316
5316
  }
5317
5317
  const x = et(Zn, void 0), j = $(() => {
@@ -5338,11 +5338,11 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5338
5338
  }, null, 8, ["message"])) : (g(), B("div", {
5339
5339
  key: 1,
5340
5340
  ref_key: "root",
5341
- ref: k,
5341
+ ref: w,
5342
5342
  class: "ff-kv-field",
5343
5343
  "data-testid": `ff-kv-${r.path.value}`
5344
5344
  }, [
5345
- K("header", {
5345
+ F("header", {
5346
5346
  class: "ff-kv-field-header",
5347
5347
  "data-testid": `ff-kv-header-${r.path.value}`
5348
5348
  }, [
@@ -5351,7 +5351,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5351
5351
  "tooltip-attributes": u(o).labelAttributes.tooltipAttributes
5352
5352
  }), De({
5353
5353
  default: _(() => [
5354
- ke(J(u(o).label) + " ", 1)
5354
+ we(J(u(o).label) + " ", 1)
5355
5355
  ]),
5356
5356
  _: 2
5357
5357
  }, [
@@ -5359,7 +5359,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5359
5359
  name: "tooltip",
5360
5360
  fn: _(() => [
5361
5361
  Oe(I.$slots, "tooltip", {}, () => [
5362
- K("div", {
5362
+ F("div", {
5363
5363
  innerHTML: u(o).labelAttributes.info
5364
5364
  }, null, 8, yy)
5365
5365
  ], !0)
@@ -5374,19 +5374,19 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5374
5374
  onClick: v
5375
5375
  }, {
5376
5376
  default: _(() => [
5377
- C(u(wn))
5377
+ C(u(kn))
5378
5378
  ]),
5379
5379
  _: 1
5380
5380
  }, 8, ["data-testid"])
5381
5381
  ], 8, gy),
5382
- (g(!0), B($e, null, je(f.value, (F, q) => (g(), B("div", {
5383
- key: F.id,
5382
+ (g(!0), B($e, null, je(f.value, (K, q) => (g(), B("div", {
5383
+ key: K.id,
5384
5384
  class: "ff-kv-field-entry",
5385
5385
  "data-testid": `ff-kv-container-${r.path.value}.${q}`
5386
5386
  }, [
5387
5387
  C(te, {
5388
- modelValue: F.key,
5389
- "onUpdate:modelValue": (z) => F.key = z,
5388
+ modelValue: K.key,
5389
+ "onUpdate:modelValue": (z) => K.key = z,
5390
5390
  modelModifiers: { trim: !0 },
5391
5391
  class: "ff-kv-field-entry-key",
5392
5392
  "data-key-input": q,
@@ -5395,21 +5395,21 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5395
5395
  onKeydown: Ja(gt((z) => y(q, "value"), ["prevent"]), ["enter"])
5396
5396
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-key-input", "data-testid", "placeholder", "onKeydown"]),
5397
5397
  C(te, {
5398
- modelValue: F.value,
5399
- "onUpdate:modelValue": (z) => F.value = z,
5398
+ modelValue: K.value,
5399
+ "onUpdate:modelValue": (z) => K.value = z,
5400
5400
  modelModifiers: { trim: !0 },
5401
5401
  class: "ff-kv-field-entry-value",
5402
5402
  "data-testid": `ff-value-${r.path.value}.${q}`,
5403
5403
  "data-value-input": q,
5404
5404
  placeholder: I.valuePlaceholder || "Value",
5405
- onKeydown: Ja(gt((z) => w(q), ["prevent"]), ["enter"])
5405
+ onKeydown: Ja(gt((z) => k(q), ["prevent"]), ["enter"])
5406
5406
  }, {
5407
5407
  after: _(() => [
5408
5408
  u(x) && j.value ? (g(), R(mt(u(x)), {
5409
5409
  key: 0,
5410
5410
  schema: M.value,
5411
5411
  update: (z) => h(q, z),
5412
- value: F.value
5412
+ value: K.value
5413
5413
  }, null, 8, ["schema", "update", "value"])) : he("", !0),
5414
5414
  j.value && !u(x) ? (g(), R(S, {
5415
5415
  key: 1,
@@ -5424,7 +5424,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5424
5424
  appearance: "tertiary",
5425
5425
  "data-testid": `ff-kv-remove-btn-${r.path.value}.${q}`,
5426
5426
  icon: "",
5427
- onClick: (z) => m(F.id)
5427
+ onClick: (z) => m(K.id)
5428
5428
  }, {
5429
5429
  default: _(() => [
5430
5430
  C(u(ci))
@@ -5435,7 +5435,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5435
5435
  ], 8, my));
5436
5436
  };
5437
5437
  }
5438
- }), by = /* @__PURE__ */ ve(vy, [["__scopeId", "data-v-51cf2493"]]), _y = ["data-testid"], ky = ["innerHTML"], wy = /* @__PURE__ */ pe({
5438
+ }), by = /* @__PURE__ */ ve(vy, [["__scopeId", "data-v-51cf2493"]]), _y = ["data-testid"], wy = ["innerHTML"], ky = /* @__PURE__ */ pe({
5439
5439
  inheritAttrs: !1,
5440
5440
  __name: "TagField",
5441
5441
  props: {
@@ -5446,27 +5446,27 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5446
5446
  },
5447
5447
  emits: ["update:modelValue"],
5448
5448
  setup(e, { emit: t }) {
5449
- const n = Qn(), i = Kt(e, ["name"]), a = t, { value: r, ...o } = vt(Ge(() => e.name)), s = Pt(o.path, Ge({ ...i, ...n })), c = $(() => {
5450
- var k, y;
5451
- return ((y = (k = o.schema) == null ? void 0 : k.value) == null ? void 0 : y.len_min) && o.schema.value.len_min > 0;
5449
+ const n = Qn(), i = Ft(e, ["name"]), a = t, { value: r, ...o } = vt(Ge(() => e.name)), s = Pt(o.path, Ge({ ...i, ...n })), c = $(() => {
5450
+ var w, y;
5451
+ return ((y = (w = o.schema) == null ? void 0 : w.value) == null ? void 0 : y.len_min) && o.schema.value.len_min > 0;
5452
5452
  }), f = H("");
5453
- function p(k) {
5454
- return k.map((y) => y.trim()).filter(Boolean).join(", ");
5453
+ function p(w) {
5454
+ return w.map((y) => y.trim()).filter(Boolean).join(", ");
5455
5455
  }
5456
- function l(k) {
5457
- return k.trim().split(",").map((y) => y.trim()).filter(Boolean);
5456
+ function l(w) {
5457
+ return w.trim().split(",").map((y) => y.trim()).filter(Boolean);
5458
5458
  }
5459
- function d(k) {
5460
- f.value = k;
5461
- const y = l(k), v = !y.length && c.value ? null : y;
5459
+ function d(w) {
5460
+ f.value = w;
5461
+ const y = l(w), v = !y.length && c.value ? null : y;
5462
5462
  r.value = v, a("update:modelValue", v);
5463
5463
  }
5464
5464
  const m = ja(o.ancestors), b = $(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : Na(e.name) === "name");
5465
- return Ve(r, (k) => {
5466
- const y = k ? p(k) : "";
5465
+ return Ve(r, (w) => {
5466
+ const y = w ? p(w) : "";
5467
5467
  p(l(f.value)) !== y && (f.value = y);
5468
- }, { immediate: !0 }), (k, y) => {
5469
- var w;
5468
+ }, { immediate: !0 }), (w, y) => {
5469
+ var k;
5470
5470
  const v = ee("KAlert");
5471
5471
  return o.error ? (g(), R(v, {
5472
5472
  key: 0,
@@ -5484,13 +5484,13 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5484
5484
  "model-value": f.value ?? "",
5485
5485
  "onUpdate:modelValue": d
5486
5486
  }), De({ _: 2 }, [
5487
- (w = u(s).labelAttributes) != null && w.info ? {
5487
+ (k = u(s).labelAttributes) != null && k.info ? {
5488
5488
  name: "label-tooltip",
5489
5489
  fn: _(() => [
5490
- Oe(k.$slots, "tooltip", {}, () => [
5491
- K("div", {
5490
+ Oe(w.$slots, "tooltip", {}, () => [
5491
+ F("div", {
5492
5492
  innerHTML: u(s).labelAttributes.info
5493
- }, null, 8, ky)
5493
+ }, null, 8, wy)
5494
5494
  ], !0)
5495
5495
  ]),
5496
5496
  key: "0"
@@ -5499,7 +5499,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5499
5499
  ], 8, _y));
5500
5500
  };
5501
5501
  }
5502
- }), As = /* @__PURE__ */ ve(wy, [["__scopeId", "data-v-6836b714"]]), rt = /* @__PURE__ */ pe({
5502
+ }), As = /* @__PURE__ */ ve(ky, [["__scopeId", "data-v-6836b714"]]), rt = /* @__PURE__ */ pe({
5503
5503
  name: "AutoField",
5504
5504
  __name: "Field",
5505
5505
  props: {
@@ -5579,15 +5579,15 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5579
5579
  const m = $(() => f.value.map((M, h) => ({
5580
5580
  hash: `#${p(M, h)}`,
5581
5581
  title: ""
5582
- }))), b = H((j = m.value[0]) == null ? void 0 : j.hash), k = async () => {
5582
+ }))), b = H((j = m.value[0]) == null ? void 0 : j.hash), w = async () => {
5583
5583
  var h;
5584
5584
  const M = r(ht(s.path.value, Ma));
5585
- Array.isArray(o.value) || (o.value = []), o.value.push(M), i("add"), n.appearance === "tabs" && (await wt(), b.value = (h = m.value[m.value.length - 1]) == null ? void 0 : h.hash), await wt(), w(f.value.length + 1);
5585
+ Array.isArray(o.value) || (o.value = []), o.value.push(M), i("add"), n.appearance === "tabs" && (await kt(), b.value = (h = m.value[m.value.length - 1]) == null ? void 0 : h.hash), await kt(), k(f.value.length + 1);
5586
5586
  }, y = async (M) => {
5587
5587
  var h;
5588
5588
  Array.isArray(o.value) && o.value.splice(M, 1), i("remove", M), n.appearance === "tabs" && (b.value = (h = m.value[Math.max(0, M - 1)]) == null ? void 0 : h.hash);
5589
5589
  }, v = mn("root");
5590
- function w(M) {
5590
+ function k(M) {
5591
5591
  var I;
5592
5592
  if (!v.value)
5593
5593
  return;
@@ -5615,7 +5615,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5615
5615
  }]),
5616
5616
  "data-testid": `ff-array-${s.path.value}`
5617
5617
  }, [
5618
- K("header", {
5618
+ F("header", {
5619
5619
  class: "ff-array-field-header",
5620
5620
  "data-testid": `ff-array-header-${s.path.value}`
5621
5621
  }, [
@@ -5624,7 +5624,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5624
5624
  "tooltip-attributes": u(c).labelAttributes.tooltipAttributes
5625
5625
  }), De({
5626
5626
  default: _(() => [
5627
- ke(J(u(c).label) + " ", 1)
5627
+ we(J(u(c).label) + " ", 1)
5628
5628
  ]),
5629
5629
  _: 2
5630
5630
  }, [
@@ -5632,7 +5632,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5632
5632
  name: "tooltip",
5633
5633
  fn: _(() => [
5634
5634
  Oe(M.$slots, "tooltip", {}, () => [
5635
- K("div", {
5635
+ F("div", {
5636
5636
  innerHTML: u(c).labelAttributes.info
5637
5637
  }, null, 8, Ty)
5638
5638
  ], !0)
@@ -5645,10 +5645,10 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5645
5645
  "aria-label": u(a)("actions.add_entity", { entity: u(a)("plugins.free-form.request-callout.entity_name") }),
5646
5646
  "data-testid": `ff-add-item-btn-${s.path.value}`,
5647
5647
  icon: "",
5648
- onClick: k
5648
+ onClick: w
5649
5649
  }, {
5650
5650
  default: _(() => [
5651
- C(u(wn))
5651
+ C(u(kn))
5652
5652
  ]),
5653
5653
  _: 1
5654
5654
  }, 8, ["aria-label", "data-testid"])
@@ -5666,7 +5666,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5666
5666
  "data-testid": `ff-array-item-${s.path.value}.${A}`
5667
5667
  }, {
5668
5668
  default: _(() => [
5669
- K("div", Sy, [
5669
+ F("div", Sy, [
5670
5670
  M.$slots.item ? Oe(M.$slots, "item", {
5671
5671
  key: 0,
5672
5672
  fieldName: String(A),
@@ -5682,7 +5682,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5682
5682
  class: "ff-array-field-item-remove",
5683
5683
  "data-testid": `ff-array-remove-item-btn-${s.path.value}.${A}`,
5684
5684
  icon: "",
5685
- onClick: (F) => y(A)
5685
+ onClick: (K) => y(A)
5686
5686
  }, {
5687
5687
  default: _(() => [
5688
5688
  C(u(ci))
@@ -5706,7 +5706,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5706
5706
  je(f.value, (te, A) => ({
5707
5707
  name: u(p)(te, A),
5708
5708
  fn: _(() => [
5709
- K("div", {
5709
+ F("div", {
5710
5710
  class: "ff-array-field-item",
5711
5711
  "data-index": A,
5712
5712
  "data-testid": `ff-array-item-${s.path.value}.${A}`
@@ -5725,14 +5725,14 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5725
5725
  je(f.value, (te, A) => ({
5726
5726
  name: `${u(p)(te, A)}-anchor`,
5727
5727
  fn: _(() => [
5728
- ke(J(d(te, A)) + " ", 1),
5728
+ we(J(d(te, A)) + " ", 1),
5729
5729
  C(S, {
5730
5730
  appearance: "tertiary",
5731
5731
  "aria-label": u(a)("actions.remove_entity", { entity: u(a)("plugins.free-form.request-callout.entity_name") }),
5732
5732
  class: "ff-array-field-item-remove",
5733
5733
  "data-testid": `ff-array-remove-item-btn-${s.path.value}.${A}`,
5734
5734
  icon: "",
5735
- onClick: gt((F) => y(A), ["stop"])
5735
+ onClick: gt((K) => y(A), ["stop"])
5736
5736
  }, {
5737
5737
  default: _(() => [
5738
5738
  C(u(ci))
@@ -5806,7 +5806,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5806
5806
  const a = n("config.callouts.*");
5807
5807
  a.request.body.custom = a.request.body.custom ?? {};
5808
5808
  const r = t.config.callouts[t.config.callouts.length - 1];
5809
- r && (r[Dn] = ks());
5809
+ r && (r[Dn] = ws());
5810
5810
  }
5811
5811
  return (a, r) => (g(), R(qa, {
5812
5812
  appearance: "tabs",
@@ -5854,12 +5854,12 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5854
5854
  ot(gs, a);
5855
5855
  const r = (p) => {
5856
5856
  var l;
5857
- return ka((l = e.config) == null ? void 0 : l.hasValue) ? e.config.hasValue(p) : !!p;
5857
+ return wa((l = e.config) == null ? void 0 : l.hasValue) ? e.config.hasValue(p) : !!p;
5858
5858
  }, o = $(() => {
5859
5859
  let p = a.getSchema().fields;
5860
5860
  return e.fieldsOrder ? p.sort((l, d) => {
5861
- const m = Object.keys(l)[0], b = Object.keys(d)[0], k = e.fieldsOrder.indexOf(m), y = e.fieldsOrder.indexOf(b);
5862
- return k === -1 && y === -1 ? 0 : k === -1 ? 1 : y === -1 ? -1 : k - y;
5861
+ const m = Object.keys(l)[0], b = Object.keys(d)[0], w = e.fieldsOrder.indexOf(m), y = e.fieldsOrder.indexOf(b);
5862
+ return w === -1 && y === -1 ? 0 : w === -1 ? 1 : y === -1 ? -1 : w - y;
5863
5863
  }) : p;
5864
5864
  }), s = Vt(
5865
5865
  (f = e.config) != null && f.prepareFormData ? e.config.prepareFormData(r(e.data) ? e.data : a.getDefault()) : r(e.data) ? e.data : a.getDefault()
@@ -5890,7 +5890,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5890
5890
  "trigger-label": i.value ? u(t)("plugins.form.grouping.advanced_parameters.view") : u(t)("plugins.form.grouping.advanced_parameters.hide")
5891
5891
  }, {
5892
5892
  default: _(() => [
5893
- K("div", $y, [
5893
+ F("div", $y, [
5894
5894
  u(n)("instance_name") ? (g(), R(rt, {
5895
5895
  key: 0,
5896
5896
  name: "instance_name"
@@ -5911,7 +5911,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5911
5911
  _: 3
5912
5912
  }, 8, ["modelValue", "trigger-label"]));
5913
5913
  }
5914
- }), Cs = /* @__PURE__ */ ve(Ry, [["__scopeId", "data-v-190b1d21"]]), Ky = /* @__PURE__ */ pe({
5914
+ }), Cs = /* @__PURE__ */ ve(Ry, [["__scopeId", "data-v-190b1d21"]]), Fy = /* @__PURE__ */ pe({
5915
5915
  __name: "ConfigForm",
5916
5916
  props: {
5917
5917
  schema: {},
@@ -5934,11 +5934,11 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5934
5934
  return p;
5935
5935
  const { callouts: l } = p.config;
5936
5936
  l.forEach((b) => {
5937
- b.request.body.custom = b.request.body.custom ?? {}, b[Dn] = ks();
5937
+ b.request.body.custom = b.request.body.custom ?? {}, b[Dn] = ws();
5938
5938
  });
5939
5939
  const d = r(l, !0);
5940
5940
  return l.forEach((b) => {
5941
- b.depends_on = b.depends_on.map((k) => d[k]);
5941
+ b.depends_on = b.depends_on.map((w) => d[w]);
5942
5942
  }), p;
5943
5943
  }
5944
5944
  function s(f) {
@@ -5952,9 +5952,9 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
5952
5952
  throw new Error("data is not correct");
5953
5953
  const l = r(p.config.callouts);
5954
5954
  p.config.callouts = p.config.callouts.map((m) => {
5955
- const { [Dn]: b, depends_on: k, ...y } = m;
5955
+ const { [Dn]: b, depends_on: w, ...y } = m;
5956
5956
  return {
5957
- depends_on: k.map((v) => l[v]).filter((v) => v != null),
5957
+ depends_on: w.map((v) => l[v]).filter((v) => v != null),
5958
5958
  ...y
5959
5959
  };
5960
5960
  }), n("change", p);
@@ -6042,7 +6042,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6042
6042
  _: 2
6043
6043
  }, 1032, ["data", "schema"]));
6044
6044
  }
6045
- }), Fy = { class: "sc-form-pinned-fields" }, Ly = { class: "sc-form-config-form" }, My = /* @__PURE__ */ pe({
6045
+ }), Ky = { class: "sc-form-pinned-fields" }, Ly = { class: "sc-form-config-form" }, My = /* @__PURE__ */ pe({
6046
6046
  __name: "PluginFormWrapper",
6047
6047
  props: {
6048
6048
  schema: {},
@@ -6097,7 +6097,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6097
6097
  ]);
6098
6098
  }
6099
6099
  return (p, l) => (g(), B($e, null, [
6100
- K("div", Fy, [
6100
+ F("div", Ky, [
6101
6101
  C(u(Mn), {
6102
6102
  model: p.formModel,
6103
6103
  options: p.formOptions,
@@ -6111,13 +6111,13 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6111
6111
  class: "sc-form-config-fields"
6112
6112
  }, {
6113
6113
  title: _(() => [
6114
- ke(J(u(t)("plugins.form.grouping.plugin_configuration.title")), 1)
6114
+ we(J(u(t)("plugins.form.grouping.plugin_configuration.title")), 1)
6115
6115
  ]),
6116
6116
  "visible-content": _(() => [
6117
- ke(J(u(t)("plugins.form.grouping.plugin_configuration.description")), 1)
6117
+ we(J(u(t)("plugins.form.grouping.plugin_configuration.description")), 1)
6118
6118
  ]),
6119
6119
  default: _(() => [
6120
- K("div", Ly, [
6120
+ F("div", Ly, [
6121
6121
  Oe(p.$slots, "default", {
6122
6122
  data: f(p.model),
6123
6123
  schema: s.value,
@@ -6146,7 +6146,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6146
6146
  const t = e, n = Rt();
6147
6147
  return ot(Zn, n == null ? void 0 : n[fn]), (i, a) => (g(), R(Ts, Un(Bn(t)), {
6148
6148
  default: _((r) => [
6149
- C(Ky, Un(Bn(r)), null, 16)
6149
+ C(Fy, Un(Bn(r)), null, 16)
6150
6150
  ]),
6151
6151
  _: 1
6152
6152
  }, 16));
@@ -6162,7 +6162,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6162
6162
  },
6163
6163
  emits: ["update:modelValue"],
6164
6164
  setup(e, { emit: t }) {
6165
- const n = t, i = Kt(e, ["name", "items"]), { getSelectItems: a } = tt(), r = vt(Ge(() => e.name)), o = Pt(r.path, i), s = $(() => e.items ? e.items : r.path ? a(r.path.value) : []), c = (f) => {
6165
+ const n = t, i = Ft(e, ["name", "items"]), { getSelectItems: a } = tt(), r = vt(Ge(() => e.name)), o = Pt(r.path, i), s = $(() => e.items ? e.items : r.path ? a(r.path.value) : []), c = (f) => {
6166
6166
  r.value && (r.value.value = f), n("update:modelValue", f);
6167
6167
  };
6168
6168
  return (f, p) => {
@@ -6175,26 +6175,26 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6175
6175
  }, null, 8, ["message"])) : (g(), B("div", jy, [
6176
6176
  C(d, Un(Bn(u(o).labelAttributes)), De({
6177
6177
  default: _(() => [
6178
- ke(J(u(o).label) + " ", 1)
6178
+ we(J(u(o).label) + " ", 1)
6179
6179
  ]),
6180
6180
  _: 2
6181
6181
  }, [
6182
6182
  (m = u(o).labelAttributes) != null && m.info ? {
6183
6183
  name: "tooltip",
6184
6184
  fn: _(() => [
6185
- K("div", {
6185
+ F("div", {
6186
6186
  innerHTML: u(o).labelAttributes.info
6187
6187
  }, null, 8, Dy)
6188
6188
  ]),
6189
6189
  key: "0"
6190
6190
  } : void 0
6191
6191
  ]), 1040),
6192
- K("div", qy, [
6192
+ F("div", qy, [
6193
6193
  (g(!0), B($e, null, je(s.value, (b) => (g(), R(u(Xi), {
6194
6194
  key: b.value,
6195
6195
  "model-value": u(r).value.value,
6196
6196
  "onUpdate:modelValue": [
6197
- p[0] || (p[0] = (k) => u(r).value.value = k),
6197
+ p[0] || (p[0] = (w) => u(r).value.value = w),
6198
6198
  c
6199
6199
  ],
6200
6200
  "card-orientation": "horizontal",
@@ -6213,8 +6213,8 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6213
6213
  setup(e) {
6214
6214
  var y;
6215
6215
  const { t } = nt("en-us", it), { formData: n, getSelectItems: i, getSchema: a } = tt(), r = $(() => {
6216
- var w, x;
6217
- const v = (x = (w = n.config) == null ? void 0 : w.limit) == null ? void 0 : x.map((j, M) => {
6216
+ var k, x;
6217
+ const v = (x = (k = n.config) == null ? void 0 : k.limit) == null ? void 0 : x.map((j, M) => {
6218
6218
  var h, I;
6219
6219
  return {
6220
6220
  limit: j,
@@ -6223,11 +6223,11 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6223
6223
  });
6224
6224
  return !Array.isArray(v) || v.length === 0 ? [{ limit: null, windowSize: null }] : v;
6225
6225
  }), { getKey: o } = _s("request-limits", r), s = (v) => {
6226
- var w, x;
6227
- d.value = void 0, n.config && ((w = n.config.limit) != null && w.length || (n.config.limit = [null]), (x = n.config.window_size) != null && x.length || (n.config.window_size = [null]), n.config.limit.splice(v + 1, 0, null), n.config.window_size.splice(v + 1, 0, null));
6226
+ var k, x;
6227
+ d.value = void 0, n.config && ((k = n.config.limit) != null && k.length || (n.config.limit = [null]), (x = n.config.window_size) != null && x.length || (n.config.window_size = [null]), n.config.limit.splice(v + 1, 0, null), n.config.window_size.splice(v + 1, 0, null));
6228
6228
  }, c = (v) => {
6229
6229
  n.config && (n.config.limit.splice(v, 1), n.config.window_size.splice(v, 1));
6230
- }, f = (y = a(Ni)) == null ? void 0 : y.default, p = $(() => Vo(n, Ni)), l = $(() => i(Ni).sort((v, w) => v.value === f ? -1 : w.value === f ? 1 : 0)), d = H(), m = {
6230
+ }, f = (y = a(Ni)) == null ? void 0 : y.default, p = $(() => Vo(n, Ni)), l = $(() => i(Ni).sort((v, k) => v.value === f ? -1 : k.value === f ? 1 : 0)), d = H(), m = {
6231
6231
  fixed: [
6232
6232
  {
6233
6233
  label: t("sp.use_cases.fixed.hourly_500.label"),
@@ -6281,18 +6281,18 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6281
6281
  }
6282
6282
  }
6283
6283
  ]
6284
- }, b = $(() => Object.prototype.hasOwnProperty.call(m, p.value) ? m[p.value] : []), k = (v, w) => {
6285
- if (w === d.value) {
6286
- wt(() => {
6284
+ }, b = $(() => Object.prototype.hasOwnProperty.call(m, p.value) ? m[p.value] : []), w = (v, k) => {
6285
+ if (k === d.value) {
6286
+ kt(() => {
6287
6287
  d.value = void 0;
6288
6288
  }), n.config.limit = [], n.config.window_size = [];
6289
6289
  return;
6290
6290
  }
6291
- wt(() => {
6292
- d.value = w;
6291
+ kt(() => {
6292
+ d.value = k;
6293
6293
  }), n.config.limit = [v.config.limit], n.config.window_size = [v.config.window_size];
6294
6294
  };
6295
- return (v, w) => {
6295
+ return (v, k) => {
6296
6296
  const x = ee("KLabel"), j = ee("KButton"), M = ee("KBadge"), h = ee("KTooltip"), I = ee("KCard");
6297
6297
  return g(), R(I, { class: "sp-form-request-limits" }, {
6298
6298
  title: _(() => [
@@ -6302,23 +6302,23 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6302
6302
  required: ""
6303
6303
  }, {
6304
6304
  default: _(() => [
6305
- ke(J(u(t)("sp.request_limits.title")), 1)
6305
+ we(J(u(t)("sp.request_limits.title")), 1)
6306
6306
  ]),
6307
6307
  _: 1
6308
6308
  }),
6309
- K("div", Vy, J(u(t)("sp.request_limits.subtitle")), 1)
6309
+ F("div", Vy, J(u(t)("sp.request_limits.subtitle")), 1)
6310
6310
  ]),
6311
6311
  default: _(() => [
6312
- K("div", Hy, [
6313
- K("div", Gy, [
6312
+ F("div", Hy, [
6313
+ F("div", Gy, [
6314
6314
  C(By, {
6315
6315
  items: l.value,
6316
6316
  label: u(t)("sp.window_type.label"),
6317
6317
  name: "window_type",
6318
- "onUpdate:modelValue": w[0] || (w[0] = (T) => d.value = void 0)
6318
+ "onUpdate:modelValue": k[0] || (k[0] = (T) => d.value = void 0)
6319
6319
  }, null, 8, ["items", "label"])
6320
6320
  ]),
6321
- K("div", zy, [
6321
+ F("div", zy, [
6322
6322
  (g(!0), B($e, null, je(r.value, (T, S) => (g(), B("div", {
6323
6323
  key: u(o)(T, S)
6324
6324
  }, [
@@ -6326,12 +6326,12 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6326
6326
  for: `sp-form-request-limits-item-${S}-legend`
6327
6327
  }, {
6328
6328
  default: _(() => [
6329
- ke(J(u(t)("sp.request_limits.label_index", { index: S + 1 })), 1)
6329
+ we(J(u(t)("sp.request_limits.label_index", { index: S + 1 })), 1)
6330
6330
  ]),
6331
6331
  _: 2
6332
6332
  }, 1032, ["for"]),
6333
- K("div", Wy, [
6334
- K("legend", {
6333
+ F("div", Wy, [
6334
+ F("legend", {
6335
6335
  id: `sp-form-request-limits-item-${S}-legend`,
6336
6336
  class: "sp-form-request-limits-inputs"
6337
6337
  }, [
@@ -6339,14 +6339,14 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6339
6339
  name: `$.config.limit.${S}`,
6340
6340
  placeholder: u(t)("sp.request_limits.request_number")
6341
6341
  }, null, 8, ["name", "placeholder"]),
6342
- K("div", null, J(u(t)("sp.request_limits.interval_determiner")), 1),
6342
+ F("div", null, J(u(t)("sp.request_limits.interval_determiner")), 1),
6343
6343
  C(fi, {
6344
6344
  name: `$.config.window_size.${S}`,
6345
6345
  placeholder: u(t)("sp.request_limits.time_interval")
6346
6346
  }, null, 8, ["name", "placeholder"]),
6347
- K("div", null, J(u(t)("sp.request_limits.seconds")), 1)
6347
+ F("div", null, J(u(t)("sp.request_limits.seconds")), 1)
6348
6348
  ], 8, Yy),
6349
- K("div", Jy, [
6349
+ F("div", Jy, [
6350
6350
  C(j, {
6351
6351
  appearance: "tertiary",
6352
6352
  disabled: r.value.length <= 1,
@@ -6362,7 +6362,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6362
6362
  onClick: () => s(S)
6363
6363
  }, {
6364
6364
  default: _(() => [
6365
- C(u(wn))
6365
+ C(u(kn))
6366
6366
  ]),
6367
6367
  _: 2
6368
6368
  }, 1032, ["onClick"])
@@ -6371,26 +6371,26 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6371
6371
  ]))), 128))
6372
6372
  ]),
6373
6373
  b.value.length > 0 ? (g(), B("div", Xy, [
6374
- K("div", null, J(u(t)("sp.start_with_a_use_case")), 1),
6375
- K("div", Qy, [
6374
+ F("div", null, J(u(t)("sp.start_with_a_use_case")), 1),
6375
+ F("div", Qy, [
6376
6376
  (g(!0), B($e, null, je(b.value, (T, S) => (g(), R(h, {
6377
6377
  key: `use-case-${S}`,
6378
6378
  "max-width": "300"
6379
6379
  }, {
6380
6380
  content: _(() => [
6381
- K("div", null, J(T.description), 1),
6382
- w[1] || (w[1] = K("br", null, null, -1)),
6383
- K("div", null, J(u(t)("sp.request_limits.label")) + ": " + J(T.config.limit), 1),
6384
- K("div", null, J(u(t)("sp.request_limits.time_interval")) + ": " + J(T.config.window_size), 1)
6381
+ F("div", null, J(T.description), 1),
6382
+ k[1] || (k[1] = F("br", null, null, -1)),
6383
+ F("div", null, J(u(t)("sp.request_limits.label")) + ": " + J(T.config.limit), 1),
6384
+ F("div", null, J(u(t)("sp.request_limits.time_interval")) + ": " + J(T.config.window_size), 1)
6385
6385
  ]),
6386
6386
  default: _(() => [
6387
6387
  C(M, {
6388
6388
  appearance: d.value === `${p.value}-${S}` ? "info" : "decorative",
6389
6389
  class: "sp-form-request-limits-examples-badge",
6390
- onClick: () => k(T, `${p.value}-${S}`)
6390
+ onClick: () => w(T, `${p.value}-${S}`)
6391
6391
  }, {
6392
6392
  default: _(() => [
6393
- ke(J(T.label), 1)
6393
+ we(J(T.label), 1)
6394
6394
  ]),
6395
6395
  _: 2
6396
6396
  }, 1032, ["appearance", "onClick"])
@@ -6425,18 +6425,18 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6425
6425
  }
6426
6426
  }, {
6427
6427
  default: _(() => [
6428
- ke(J(u(t)("sp.error_message.label")), 1)
6428
+ we(J(u(t)("sp.error_message.label")), 1)
6429
6429
  ]),
6430
6430
  _: 1
6431
6431
  }, 8, ["info"]),
6432
- K("legend", th, [
6432
+ F("legend", th, [
6433
6433
  C(fi, {
6434
6434
  class: "input-error-code",
6435
6435
  label: "",
6436
6436
  name: "error_code",
6437
6437
  placeholder: u(t)("sp.error_message.code_placeholder")
6438
6438
  }, null, 8, ["placeholder"]),
6439
- i[0] || (i[0] = K("div", null, ":", -1)),
6439
+ i[0] || (i[0] = F("div", null, ":", -1)),
6440
6440
  C(Da, {
6441
6441
  class: "input-error-message",
6442
6442
  label: "",
@@ -6477,12 +6477,12 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6477
6477
  order: 3
6478
6478
  }
6479
6479
  }, a = e, r = (l) => l != null, o = (l, d) => r(d) && ["password", "sentinel_password"].includes(l) ? "password" : "text", { convertKeyToTitle: s } = Ai(), c = $(() => Object.entries(a.configFields).map(([l, d]) => {
6480
- var m, b, k, y;
6480
+ var m, b, w, y;
6481
6481
  return {
6482
6482
  key: l,
6483
6483
  label: ((m = i[l]) == null ? void 0 : m.label) ?? s(l),
6484
6484
  value: (b = i[l]) != null && b.formatter ? i[l].formatter(d) : d,
6485
- type: ((k = i[l]) == null ? void 0 : k.type) ?? o(l, d),
6485
+ type: ((w = i[l]) == null ? void 0 : w.type) ?? o(l, d),
6486
6486
  order: ((y = i[l]) == null ? void 0 : y.order) ?? 100
6487
6487
  // attrs: value.attrs,
6488
6488
  };
@@ -6490,14 +6490,14 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6490
6490
  return (l, d) => {
6491
6491
  const m = ee("KCopy");
6492
6492
  return g(), B("div", ah, [
6493
- (g(!0), B($e, null, je(p.value, ({ key: b, label: k, value: y, type: v }) => (g(), B("div", {
6493
+ (g(!0), B($e, null, je(p.value, ({ key: b, label: w, value: y, type: v }) => (g(), B("div", {
6494
6494
  key: b,
6495
6495
  class: "partial-config-card-row"
6496
6496
  }, [
6497
- K("div", rh, [
6498
- K("div", oh, J(k), 1)
6497
+ F("div", rh, [
6498
+ F("div", oh, J(w), 1)
6499
6499
  ]),
6500
- K("div", {
6500
+ F("div", {
6501
6501
  class: "config-card-row-value",
6502
6502
  "data-testid": `${b}-property-value`
6503
6503
  }, [
@@ -6537,7 +6537,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6537
6537
  },
6538
6538
  emits: ["partialUpdated", "partialUpdateFailed", "modalClose"],
6539
6539
  setup(e, { emit: t }) {
6540
- const n = e, { t: i } = nt("en-us", it), a = et(Ei), r = t, { getMessageFromError: o } = kn(), s = $(() => {
6540
+ const n = e, { t: i } = nt("en-us", it), a = et(Ei), r = t, { getMessageFromError: o } = wn(), s = $(() => {
6541
6541
  switch (n.partialType) {
6542
6542
  case ni.REDIS_CE:
6543
6543
  return ni.REDIS_EE;
@@ -6557,20 +6557,20 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6557
6557
  appearance: "success"
6558
6558
  }), d();
6559
6559
  }, d = () => {
6560
- f.value = void 0, r("modalClose"), wt(() => {
6560
+ f.value = void 0, r("modalClose"), kt(() => {
6561
6561
  c.value = !1;
6562
6562
  });
6563
6563
  };
6564
6564
  return Ve(
6565
6565
  () => n.visible,
6566
6566
  (m) => {
6567
- m && (c.value = !0, wt(() => {
6567
+ m && (c.value = !0, kt(() => {
6568
6568
  f.value = "#km-modal-footer";
6569
6569
  }));
6570
6570
  }
6571
6571
  ), (m, b) => {
6572
- const k = ee("KModal");
6573
- return g(), R(k, {
6572
+ const w = ee("KModal");
6573
+ return g(), R(w, {
6574
6574
  class: "plugin-redis-partial-form",
6575
6575
  "data-testid": "redis-partial-form-modal",
6576
6576
  "full-screen": "",
@@ -6579,7 +6579,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6579
6579
  onCancel: d
6580
6580
  }, {
6581
6581
  footer: _(() => b[0] || (b[0] = [
6582
- K("div", { id: "km-modal-footer" }, null, -1)
6582
+ F("div", { id: "km-modal-footer" }, null, -1)
6583
6583
  ])),
6584
6584
  default: _(() => [
6585
6585
  C(u(bu), {
@@ -6630,10 +6630,10 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6630
6630
  ], _h = {
6631
6631
  class: "redis-config-radio-group",
6632
6632
  "data-testid": "redis-config-radio-group"
6633
- }, kh = {
6633
+ }, wh = {
6634
6634
  key: 0,
6635
6635
  class: "shared-redis-config"
6636
- }, wh = { class: "shared-redis-config-title" }, Ah = {
6636
+ }, kh = { class: "shared-redis-config-title" }, Ah = {
6637
6637
  class: "redis-config-select",
6638
6638
  "data-testid": "redis-config-select"
6639
6639
  }, Ch = { class: "selected-redis-config" }, Th = ["data-testid"], Eh = {
@@ -6662,7 +6662,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6662
6662
  }), c = a.redisType || ((le = r == null ? void 0 : r.redisType) == null ? void 0 : le.value) || "all", f = $(() => {
6663
6663
  var Q;
6664
6664
  return !!((Q = r == null ? void 0 : r.redisType) != null && Q.value);
6665
- }), p = H(!1), l = H(null), d = H(!o), { getMessageFromError: m } = kn(), b = H(a.defaultRedisConfigItem), k = H({}), y = H(), { value: v } = bs("$.partials"), { value: w } = vt(s), x = et(Ei), {
6665
+ }), p = H(!1), l = H(null), d = H(!o), { getMessageFromError: m } = wn(), b = H(a.defaultRedisConfigItem), w = H({}), y = H(), { value: v } = bs("$.partials"), { value: k } = vt(s), x = et(Ei), {
6666
6666
  debouncedQueryChange: j,
6667
6667
  loading: M,
6668
6668
  error: h,
@@ -6678,15 +6678,15 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6678
6678
  var N;
6679
6679
  const Q = ((N = T.value) == null ? void 0 : N.map((P) => ({ label: P.id, name: P.name, value: P.id, type: P.type, tag: Lg(P) }))) || [];
6680
6680
  return c !== "all" ? Q.filter((P) => P.type === c) : Q;
6681
- }), { axiosInstance: te } = Ft(x == null ? void 0 : x.axiosRequestConfig), A = () => {
6682
- d.value ? (y.value && (v.value = y.value, b.value = y.value[0].id, w.value = void 0), w != null && w.value && (k.value = w.value)) : (Object.keys(k.value).length && (w.value = k.value), v != null && v.value && (y.value = v.value), v.value = o ? null : void 0);
6683
- }, F = (Q) => {
6681
+ }), { axiosInstance: te } = Kt(x == null ? void 0 : x.axiosRequestConfig), A = () => {
6682
+ d.value ? (y.value && (v.value = y.value, b.value = y.value[0].id, k.value = void 0), k != null && k.value && (w.value = k.value)) : (Object.keys(w.value).length && (k.value = w.value), v != null && v.value && (y.value = v.value), v.value = o ? null : void 0);
6683
+ }, K = (Q) => {
6684
6684
  I(), n("globalAction", "notify", Q);
6685
6685
  }, q = (Q) => {
6686
6686
  n("globalAction", "notify", Q);
6687
6687
  }, z = async (Q) => {
6688
6688
  if (Q) {
6689
- b.value = Q, v.value = [{ id: Q }], y.value = [{ id: Q }], w.value = void 0;
6689
+ b.value = Q, v.value = [{ id: Q }], y.value = [{ id: Q }], k.value = void 0;
6690
6690
  try {
6691
6691
  const N = await te.get(fe(Q));
6692
6692
  if (N.data.config) {
@@ -6705,7 +6705,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6705
6705
  if (I(), a.defaultRedisConfigItem || v != null && v.value) {
6706
6706
  const N = a.defaultRedisConfigItem || ((Q = v == null ? void 0 : v.value) == null ? void 0 : Q[0].id);
6707
6707
  z(N), d.value = !0;
6708
- } else w != null && w.value && (k.value = w.value);
6708
+ } else k != null && k.value && (w.value = k.value);
6709
6709
  }), (Q, N) => {
6710
6710
  const P = ee("KBadge"), D = ee("KRadio"), ge = ee("KSelect"), _e = ee("KCard");
6711
6711
  return f.value ? (g(), R(_e, {
@@ -6715,7 +6715,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6715
6715
  title: u(i)("redis.title")
6716
6716
  }, {
6717
6717
  default: _(() => [
6718
- K("div", _h, [
6718
+ F("div", _h, [
6719
6719
  C(D, {
6720
6720
  modelValue: d.value,
6721
6721
  "onUpdate:modelValue": N[0] || (N[0] = (ye) => d.value = ye),
@@ -6729,7 +6729,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6729
6729
  default: _(() => [
6730
6730
  C(P, { appearance: "success" }, {
6731
6731
  default: _(() => [
6732
- ke(J(u(i)("redis.shared_configuration.badge")), 1)
6732
+ we(J(u(i)("redis.shared_configuration.badge")), 1)
6733
6733
  ]),
6734
6734
  _: 1
6735
6735
  })
@@ -6747,9 +6747,9 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6747
6747
  "selected-value": !1
6748
6748
  }, null, 8, ["modelValue", "description", "label"])
6749
6749
  ]),
6750
- d.value ? (g(), B("div", kh, [
6751
- K("div", wh, J(u(i)("redis.shared_configuration.title")), 1),
6752
- K("div", Ah, [
6750
+ d.value ? (g(), B("div", wh, [
6751
+ F("div", kh, J(u(i)("redis.shared_configuration.title")), 1),
6752
+ F("div", Ah, [
6753
6753
  C(ge, {
6754
6754
  class: "redis-config-select-trigger",
6755
6755
  "data-testid": "redis-config-select-trigger",
@@ -6763,36 +6763,36 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6763
6763
  onQueryChange: u(j)
6764
6764
  }, {
6765
6765
  "selected-item-template": _(({ item: ye }) => [
6766
- K("div", Ch, J(ye.name), 1)
6766
+ F("div", Ch, J(ye.name), 1)
6767
6767
  ]),
6768
6768
  "item-template": _(({ item: ye }) => [
6769
- K("div", {
6769
+ F("div", {
6770
6770
  class: "plugin-form-redis-configuration-dropdown-item",
6771
6771
  "data-testid": `redis-configuration-dropdown-item-${ye.name}`
6772
6772
  }, [
6773
- K("span", Eh, J(ye.name), 1),
6773
+ F("span", Eh, J(ye.name), 1),
6774
6774
  C(P, {
6775
6775
  appearance: "info",
6776
6776
  class: "select-item-label"
6777
6777
  }, {
6778
6778
  default: _(() => [
6779
- ke(J(ye.tag), 1)
6779
+ we(J(ye.tag), 1)
6780
6780
  ]),
6781
6781
  _: 2
6782
6782
  }, 1024)
6783
6783
  ], 8, Th)
6784
6784
  ]),
6785
6785
  empty: _(() => [
6786
- K("div", Sh, J(u(i)("redis.shared_configuration.empty_state")), 1)
6786
+ F("div", Sh, J(u(i)("redis.shared_configuration.empty_state")), 1)
6787
6787
  ]),
6788
6788
  "dropdown-footer-text": _(() => [
6789
- K("div", {
6789
+ F("div", {
6790
6790
  class: "new-redis-config-area",
6791
6791
  "data-testid": "new-redis-config-area",
6792
6792
  onClick: N[2] || (N[2] = () => p.value = !0)
6793
6793
  }, [
6794
- C(u(wn), { size: u(hh) }, null, 8, ["size"]),
6795
- K("span", null, J(u(i)("redis.shared_configuration.create_new_configuration", { type: u(Ng)(u(c)) })), 1)
6794
+ C(u(kn), { size: u(hh) }, null, 8, ["size"]),
6795
+ F("span", null, J(u(i)("redis.shared_configuration.create_new_configuration", { type: u(Ng)(u(c)) })), 1)
6796
6796
  ])
6797
6797
  ]),
6798
6798
  _: 1
@@ -6814,7 +6814,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6814
6814
  visible: p.value,
6815
6815
  onModalClose: N[4] || (N[4] = (ye) => p.value = !1),
6816
6816
  onPartialUpdateFailed: q,
6817
- onPartialUpdated: F
6817
+ onPartialUpdated: K
6818
6818
  }, null, 8, ["partial-type", "visible"])
6819
6819
  ]),
6820
6820
  _: 1
@@ -6831,7 +6831,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6831
6831
  const { formData: t } = tt();
6832
6832
  return El(() => {
6833
6833
  t.config && t.config.strategy !== "redis" && (t.partials = void 0);
6834
- }), (n, i) => (g(), R(ws, null, {
6834
+ }), (n, i) => (g(), R(ks, null, {
6835
6835
  default: _(() => {
6836
6836
  var a;
6837
6837
  return [
@@ -6910,7 +6910,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6910
6910
  _: 1
6911
6911
  }, 16));
6912
6912
  }
6913
- }), Kh = { class: "ff-standard-layout" }, Fh = { class: "enabled" }, Lh = { class: "scope" }, Mh = {
6913
+ }), Fh = { class: "ff-standard-layout" }, Kh = { class: "enabled" }, Lh = { class: "scope" }, Mh = {
6914
6914
  key: 0,
6915
6915
  class: "scope-detail"
6916
6916
  }, Nh = /* @__PURE__ */ pe({
@@ -6945,7 +6945,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6945
6945
  var v;
6946
6946
  const y = ["instance_name", "protocols", "tags"];
6947
6947
  return {
6948
- fields: (v = n.formSchema) == null ? void 0 : v.fields.filter((w) => y.includes(w.model))
6948
+ fields: (v = n.formSchema) == null ? void 0 : v.fields.filter((k) => y.includes(k.model))
6949
6949
  };
6950
6950
  }), f = ["config"], p = $(() => {
6951
6951
  const y = n.schema;
@@ -6963,7 +6963,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6963
6963
  "consumer-id",
6964
6964
  "consumer_group-id"
6965
6965
  ]);
6966
- function k(y, v) {
6966
+ function w(y, v) {
6967
6967
  b[v] = y, n.onModelUpdated(y, v);
6968
6968
  }
6969
6969
  return Ve(d, (y) => {
@@ -6973,15 +6973,15 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6973
6973
  n.onModelUpdated("", v);
6974
6974
  });
6975
6975
  }), (y, v) => {
6976
- const w = ee("KCollapse");
6977
- return g(), B("div", Kh, [
6976
+ const k = ee("KCollapse");
6977
+ return g(), B("div", Fh, [
6978
6978
  C(u(Xa), {
6979
6979
  description: u(t)("plugins.form.sections.general_info.description"),
6980
6980
  step: 1,
6981
6981
  title: u(t)("plugins.form.sections.general_info.title")
6982
6982
  }, De({
6983
6983
  default: _(() => [
6984
- K("div", Fh, [
6984
+ F("div", Kh, [
6985
6985
  C(u(Mn), {
6986
6986
  model: y.formModel,
6987
6987
  options: y.formOptions,
@@ -6989,7 +6989,7 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
6989
6989
  onModelUpdated: y.onModelUpdated
6990
6990
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])
6991
6991
  ]),
6992
- K("div", Lh, [
6992
+ F("div", Lh, [
6993
6993
  C(u(Xi), Me({
6994
6994
  modelValue: d.value,
6995
6995
  "onUpdate:modelValue": v[0] || (v[0] = (x) => d.value = x),
@@ -7008,10 +7008,10 @@ const Xg = ["innerHTML"], Qg = /* @__PURE__ */ pe({
7008
7008
  model: y.formModel,
7009
7009
  options: y.formOptions,
7010
7010
  schema: s.value,
7011
- onModelUpdated: k
7011
+ onModelUpdated: w
7012
7012
  }, null, 8, ["model", "options", "schema"])
7013
7013
  ])) : he("", !0),
7014
- C(w, {
7014
+ C(k, {
7015
7015
  modelValue: m.value,
7016
7016
  "onUpdate:modelValue": v[2] || (v[2] = (x) => m.value = x),
7017
7017
  "trigger-label": "Show more"
@@ -7386,7 +7386,7 @@ var Wr = {
7386
7386
  return qn(t) && t.shiftKey;
7387
7387
  }, Yr = function(t) {
7388
7388
  return setTimeout(t, 0);
7389
- }, Kn = function(t) {
7389
+ }, Fn = function(t) {
7390
7390
  for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
7391
7391
  i[a - 1] = arguments[a];
7392
7392
  return typeof t == "function" ? t.apply(void 0, i) : t;
@@ -7436,10 +7436,10 @@ var Wr = {
7436
7436
  delayInitialFocusTimer: void 0,
7437
7437
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
7438
7438
  recentNavEvent: void 0
7439
- }, s, c = function(A, F, q) {
7440
- return A && A[F] !== void 0 ? A[F] : r[q || F];
7441
- }, f = function(A, F) {
7442
- var q = typeof (F == null ? void 0 : F.composedPath) == "function" ? F.composedPath() : void 0;
7439
+ }, s, c = function(A, K, q) {
7440
+ return A && A[K] !== void 0 ? A[K] : r[q || K];
7441
+ }, f = function(A, K) {
7442
+ var q = typeof (K == null ? void 0 : K.composedPath) == "function" ? K.composedPath() : void 0;
7443
7443
  return o.containerGroups.findIndex(function(z) {
7444
7444
  var le = z.container, Q = z.tabbableNodes;
7445
7445
  return le.contains(A) || // fall back to explicit tabbable search which will take into consideration any
@@ -7451,7 +7451,7 @@ var Wr = {
7451
7451
  });
7452
7452
  });
7453
7453
  }, p = function(A) {
7454
- var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, q = F.hasFallback, z = q === void 0 ? !1 : q, le = F.params, Q = le === void 0 ? [] : le, N = r[A];
7454
+ var K = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, q = K.hasFallback, z = q === void 0 ? !1 : q, le = K.params, Q = le === void 0 ? [] : le, N = r[A];
7455
7455
  if (typeof N == "function" && (N = N.apply(void 0, lv(Q))), N === !0 && (N = void 0), !N) {
7456
7456
  if (N === void 0 || N === !1)
7457
7457
  return N;
@@ -7478,7 +7478,7 @@ var Wr = {
7478
7478
  if (f(i.activeElement) >= 0)
7479
7479
  A = i.activeElement;
7480
7480
  else {
7481
- var F = o.tabbableGroups[0], q = F && F.firstTabbableNode;
7481
+ var K = o.tabbableGroups[0], q = K && K.firstTabbableNode;
7482
7482
  A = q || p("fallbackFocus");
7483
7483
  }
7484
7484
  else A === null && (A = p("fallbackFocus"));
@@ -7487,16 +7487,16 @@ var Wr = {
7487
7487
  return A;
7488
7488
  }, d = function() {
7489
7489
  if (o.containerGroups = o.containers.map(function(A) {
7490
- var F = tv(A, r.tabbableOptions), q = nv(A, r.tabbableOptions), z = F.length > 0 ? F[0] : void 0, le = F.length > 0 ? F[F.length - 1] : void 0, Q = q.find(function(D) {
7490
+ var K = tv(A, r.tabbableOptions), q = nv(A, r.tabbableOptions), z = K.length > 0 ? K[0] : void 0, le = K.length > 0 ? K[K.length - 1] : void 0, Q = q.find(function(D) {
7491
7491
  return an(D);
7492
7492
  }), N = q.slice().reverse().find(function(D) {
7493
7493
  return an(D);
7494
- }), P = !!F.find(function(D) {
7494
+ }), P = !!K.find(function(D) {
7495
7495
  return Bt(D) > 0;
7496
7496
  });
7497
7497
  return {
7498
7498
  container: A,
7499
- tabbableNodes: F,
7499
+ tabbableNodes: K,
7500
7500
  focusableNodes: q,
7501
7501
  /** True if at least one node with positive `tabindex` was found in this container. */
7502
7502
  posTabIndexesFound: P,
@@ -7524,12 +7524,12 @@ var Wr = {
7524
7524
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
7525
7525
  */
7526
7526
  nextTabbableNode: function(ge) {
7527
- var _e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ye = F.indexOf(ge);
7527
+ var _e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ye = K.indexOf(ge);
7528
7528
  return ye < 0 ? _e ? q.slice(q.indexOf(ge) + 1).find(function(Ce) {
7529
7529
  return an(Ce);
7530
7530
  }) : q.slice(0, q.indexOf(ge)).reverse().find(function(Ce) {
7531
7531
  return an(Ce);
7532
- }) : F[ye + (_e ? 1 : -1)];
7532
+ }) : K[ye + (_e ? 1 : -1)];
7533
7533
  }
7534
7534
  };
7535
7535
  }), o.tabbableGroups = o.containerGroups.filter(function(A) {
@@ -7541,9 +7541,9 @@ var Wr = {
7541
7541
  }) && o.containerGroups.length > 1)
7542
7542
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
7543
7543
  }, m = function(A) {
7544
- var F = A.activeElement;
7545
- if (F)
7546
- return F.shadowRoot && F.shadowRoot.activeElement !== null ? m(F.shadowRoot) : F;
7544
+ var K = A.activeElement;
7545
+ if (K)
7546
+ return K.shadowRoot && K.shadowRoot.activeElement !== null ? m(K.shadowRoot) : K;
7547
7547
  }, b = function(A) {
7548
7548
  if (A !== !1 && A !== m(document)) {
7549
7549
  if (!A || !A.focus) {
@@ -7554,45 +7554,45 @@ var Wr = {
7554
7554
  preventScroll: !!r.preventScroll
7555
7555
  }), o.mostRecentlyFocusedNode = A, pv(A) && A.select();
7556
7556
  }
7557
- }, k = function(A) {
7558
- var F = p("setReturnFocus", {
7557
+ }, w = function(A) {
7558
+ var K = p("setReturnFocus", {
7559
7559
  params: [A]
7560
7560
  });
7561
- return F || (F === !1 ? !1 : A);
7561
+ return K || (K === !1 ? !1 : A);
7562
7562
  }, y = function(A) {
7563
- var F = A.target, q = A.event, z = A.isBackward, le = z === void 0 ? !1 : z;
7564
- F = F || ri(q), d();
7563
+ var K = A.target, q = A.event, z = A.isBackward, le = z === void 0 ? !1 : z;
7564
+ K = K || ri(q), d();
7565
7565
  var Q = null;
7566
7566
  if (o.tabbableGroups.length > 0) {
7567
- var N = f(F, q), P = N >= 0 ? o.containerGroups[N] : void 0;
7567
+ var N = f(K, q), P = N >= 0 ? o.containerGroups[N] : void 0;
7568
7568
  if (N < 0)
7569
7569
  le ? Q = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : Q = o.tabbableGroups[0].firstTabbableNode;
7570
7570
  else if (le) {
7571
7571
  var D = o.tabbableGroups.findIndex(function(G) {
7572
7572
  var ne = G.firstTabbableNode;
7573
- return F === ne;
7573
+ return K === ne;
7574
7574
  });
7575
- if (D < 0 && (P.container === F || Di(F, r.tabbableOptions) && !an(F, r.tabbableOptions) && !P.nextTabbableNode(F, !1)) && (D = N), D >= 0) {
7575
+ if (D < 0 && (P.container === K || Di(K, r.tabbableOptions) && !an(K, r.tabbableOptions) && !P.nextTabbableNode(K, !1)) && (D = N), D >= 0) {
7576
7576
  var ge = D === 0 ? o.tabbableGroups.length - 1 : D - 1, _e = o.tabbableGroups[ge];
7577
- Q = Bt(F) >= 0 ? _e.lastTabbableNode : _e.lastDomTabbableNode;
7578
- } else qn(q) || (Q = P.nextTabbableNode(F, !1));
7577
+ Q = Bt(K) >= 0 ? _e.lastTabbableNode : _e.lastDomTabbableNode;
7578
+ } else qn(q) || (Q = P.nextTabbableNode(K, !1));
7579
7579
  } else {
7580
7580
  var ye = o.tabbableGroups.findIndex(function(G) {
7581
7581
  var ne = G.lastTabbableNode;
7582
- return F === ne;
7582
+ return K === ne;
7583
7583
  });
7584
- if (ye < 0 && (P.container === F || Di(F, r.tabbableOptions) && !an(F, r.tabbableOptions) && !P.nextTabbableNode(F)) && (ye = N), ye >= 0) {
7584
+ if (ye < 0 && (P.container === K || Di(K, r.tabbableOptions) && !an(K, r.tabbableOptions) && !P.nextTabbableNode(K)) && (ye = N), ye >= 0) {
7585
7585
  var Ce = ye === o.tabbableGroups.length - 1 ? 0 : ye + 1, W = o.tabbableGroups[Ce];
7586
- Q = Bt(F) >= 0 ? W.firstTabbableNode : W.firstDomTabbableNode;
7587
- } else qn(q) || (Q = P.nextTabbableNode(F));
7586
+ Q = Bt(K) >= 0 ? W.firstTabbableNode : W.firstDomTabbableNode;
7587
+ } else qn(q) || (Q = P.nextTabbableNode(K));
7588
7588
  }
7589
7589
  } else
7590
7590
  Q = p("fallbackFocus");
7591
7591
  return Q;
7592
7592
  }, v = function(A) {
7593
- var F = ri(A);
7594
- if (!(f(F, A) >= 0)) {
7595
- if (Kn(r.clickOutsideDeactivates, A)) {
7593
+ var K = ri(A);
7594
+ if (!(f(K, A) >= 0)) {
7595
+ if (Fn(r.clickOutsideDeactivates, A)) {
7596
7596
  s.deactivate({
7597
7597
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
7598
7598
  // which will result in the outside click setting focus to the node
@@ -7604,12 +7604,12 @@ var Wr = {
7604
7604
  });
7605
7605
  return;
7606
7606
  }
7607
- Kn(r.allowOutsideClick, A) || A.preventDefault();
7607
+ Fn(r.allowOutsideClick, A) || A.preventDefault();
7608
7608
  }
7609
- }, w = function(A) {
7610
- var F = ri(A), q = f(F, A) >= 0;
7611
- if (q || F instanceof Document)
7612
- q && (o.mostRecentlyFocusedNode = F);
7609
+ }, k = function(A) {
7610
+ var K = ri(A), q = f(K, A) >= 0;
7611
+ if (q || K instanceof Document)
7612
+ q && (o.mostRecentlyFocusedNode = K);
7613
7613
  else {
7614
7614
  A.stopImmediatePropagation();
7615
7615
  var z, le = !0;
@@ -7639,25 +7639,25 @@ var Wr = {
7639
7639
  }
7640
7640
  o.recentNavEvent = void 0;
7641
7641
  }, x = function(A) {
7642
- var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
7642
+ var K = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
7643
7643
  o.recentNavEvent = A;
7644
7644
  var q = y({
7645
7645
  event: A,
7646
- isBackward: F
7646
+ isBackward: K
7647
7647
  });
7648
7648
  q && (qn(A) && A.preventDefault(), b(q));
7649
7649
  }, j = function(A) {
7650
7650
  (r.isKeyForward(A) || r.isKeyBackward(A)) && x(A, r.isKeyBackward(A));
7651
7651
  }, M = function(A) {
7652
- fv(A) && Kn(r.escapeDeactivates, A) !== !1 && (A.preventDefault(), s.deactivate());
7652
+ fv(A) && Fn(r.escapeDeactivates, A) !== !1 && (A.preventDefault(), s.deactivate());
7653
7653
  }, h = function(A) {
7654
- var F = ri(A);
7655
- f(F, A) >= 0 || Kn(r.clickOutsideDeactivates, A) || Kn(r.allowOutsideClick, A) || (A.preventDefault(), A.stopImmediatePropagation());
7654
+ var K = ri(A);
7655
+ f(K, A) >= 0 || Fn(r.clickOutsideDeactivates, A) || Fn(r.allowOutsideClick, A) || (A.preventDefault(), A.stopImmediatePropagation());
7656
7656
  }, I = function() {
7657
7657
  if (o.active)
7658
7658
  return Wr.activateTrap(a, s), o.delayInitialFocusTimer = r.delayInitialFocus ? Yr(function() {
7659
7659
  b(l());
7660
- }) : b(l()), i.addEventListener("focusin", w, !0), i.addEventListener("mousedown", v, {
7660
+ }) : b(l()), i.addEventListener("focusin", k, !0), i.addEventListener("mousedown", v, {
7661
7661
  capture: !0,
7662
7662
  passive: !1
7663
7663
  }), i.addEventListener("touchstart", v, {
@@ -7672,15 +7672,15 @@ var Wr = {
7672
7672
  }), i.addEventListener("keydown", M), s;
7673
7673
  }, T = function() {
7674
7674
  if (o.active)
7675
- return i.removeEventListener("focusin", w, !0), i.removeEventListener("mousedown", v, !0), i.removeEventListener("touchstart", v, !0), i.removeEventListener("click", h, !0), i.removeEventListener("keydown", j, !0), i.removeEventListener("keydown", M), s;
7675
+ return i.removeEventListener("focusin", k, !0), i.removeEventListener("mousedown", v, !0), i.removeEventListener("touchstart", v, !0), i.removeEventListener("click", h, !0), i.removeEventListener("keydown", j, !0), i.removeEventListener("keydown", M), s;
7676
7676
  }, S = function(A) {
7677
- var F = A.some(function(q) {
7677
+ var K = A.some(function(q) {
7678
7678
  var z = Array.from(q.removedNodes);
7679
7679
  return z.some(function(le) {
7680
7680
  return le === o.mostRecentlyFocusedNode;
7681
7681
  });
7682
7682
  });
7683
- F && b(l());
7683
+ K && b(l());
7684
7684
  }, fe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(S) : void 0, oe = function() {
7685
7685
  fe && (fe.disconnect(), o.active && !o.paused && o.containers.map(function(A) {
7686
7686
  fe.observe(A, {
@@ -7699,8 +7699,8 @@ var Wr = {
7699
7699
  activate: function(A) {
7700
7700
  if (o.active)
7701
7701
  return this;
7702
- var F = c(A, "onActivate"), q = c(A, "onPostActivate"), z = c(A, "checkCanFocusTrap");
7703
- z || d(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = m(i), F == null || F();
7702
+ var K = c(A, "onActivate"), q = c(A, "onPostActivate"), z = c(A, "checkCanFocusTrap");
7703
+ z || d(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = m(i), K == null || K();
7704
7704
  var le = function() {
7705
7705
  z && d(), I(), oe(), q == null || q();
7706
7706
  };
@@ -7709,20 +7709,20 @@ var Wr = {
7709
7709
  deactivate: function(A) {
7710
7710
  if (!o.active)
7711
7711
  return this;
7712
- var F = zr({
7712
+ var K = zr({
7713
7713
  onDeactivate: r.onDeactivate,
7714
7714
  onPostDeactivate: r.onPostDeactivate,
7715
7715
  checkCanReturnFocus: r.checkCanReturnFocus
7716
7716
  }, A);
7717
7717
  clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, T(), o.active = !1, o.paused = !1, oe(), Wr.deactivateTrap(a, s);
7718
- var q = c(F, "onDeactivate"), z = c(F, "onPostDeactivate"), le = c(F, "checkCanReturnFocus"), Q = c(F, "returnFocus", "returnFocusOnDeactivate");
7718
+ var q = c(K, "onDeactivate"), z = c(K, "onPostDeactivate"), le = c(K, "checkCanReturnFocus"), Q = c(K, "returnFocus", "returnFocusOnDeactivate");
7719
7719
  q == null || q();
7720
7720
  var N = function() {
7721
7721
  Yr(function() {
7722
- Q && b(k(o.nodeFocusedBeforeActivation)), z == null || z();
7722
+ Q && b(w(o.nodeFocusedBeforeActivation)), z == null || z();
7723
7723
  });
7724
7724
  };
7725
- return Q && le ? (le(k(o.nodeFocusedBeforeActivation)).then(N, N), this) : (N(), this);
7725
+ return Q && le ? (le(w(o.nodeFocusedBeforeActivation)).then(N, N), this) : (N(), this);
7726
7726
  },
7727
7727
  pause: function(A) {
7728
7728
  return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, A)) : this;
@@ -7731,8 +7731,8 @@ var Wr = {
7731
7731
  return o.active ? (o.manuallyPaused = !1, a[a.length - 1] !== this ? this : this._setPausedState(!1, A)) : this;
7732
7732
  },
7733
7733
  updateContainerElements: function(A) {
7734
- var F = [].concat(A).filter(Boolean);
7735
- return o.containers = F.map(function(q) {
7734
+ var K = [].concat(A).filter(Boolean);
7735
+ return o.containers = K.map(function(q) {
7736
7736
  return typeof q == "string" ? i.querySelector(q) : q;
7737
7737
  }), o.active && d(), oe(), this;
7738
7738
  }
@@ -7743,14 +7743,14 @@ var Wr = {
7743
7743
  }
7744
7744
  },
7745
7745
  _setPausedState: {
7746
- value: function(A, F) {
7746
+ value: function(A, K) {
7747
7747
  if (o.paused === A)
7748
7748
  return this;
7749
7749
  if (o.paused = A, A) {
7750
- var q = c(F, "onPause"), z = c(F, "onPostPause");
7750
+ var q = c(K, "onPause"), z = c(K, "onPostPause");
7751
7751
  q == null || q(), T(), oe(), z == null || z();
7752
7752
  } else {
7753
- var le = c(F, "onUnpause"), Q = c(F, "onPostUnpause");
7753
+ var le = c(K, "onUnpause"), Q = c(K, "onPostUnpause");
7754
7754
  le == null || le(), d(), I(), oe(), Q == null || Q();
7755
7755
  }
7756
7756
  return this;
@@ -7768,7 +7768,7 @@ function vv(e, t = {}) {
7768
7768
  const d = Be(e);
7769
7769
  return _u(d).map((m) => {
7770
7770
  const b = Be(m);
7771
- return typeof b == "string" ? b : ku(b);
7771
+ return typeof b == "string" ? b : wu(b);
7772
7772
  }).filter(Dh);
7773
7773
  });
7774
7774
  return Ve(
@@ -7785,7 +7785,7 @@ function vv(e, t = {}) {
7785
7785
  }), i && s());
7786
7786
  },
7787
7787
  { flush: "post" }
7788
- ), wu(() => c()), {
7788
+ ), ku(() => c()), {
7789
7789
  hasFocus: r,
7790
7790
  isPaused: o,
7791
7791
  activate: s,
@@ -7794,10 +7794,10 @@ function vv(e, t = {}) {
7794
7794
  unpause: p
7795
7795
  };
7796
7796
  }
7797
- const bv = "44px", _v = "220px", kv = "366px", Ba = Au(() => {
7797
+ const bv = "44px", _v = "220px", wv = "366px", Ba = Au(() => {
7798
7798
  const e = nr(
7799
7799
  "datakit-editor-mode",
7800
- "visual"
7800
+ "flow"
7801
7801
  ), t = nr(
7802
7802
  "datakit-editor-sidebar-expanded",
7803
7803
  !0
@@ -7808,22 +7808,22 @@ Cu(() => ({
7808
7808
  // layoutData,
7809
7809
  // pluginConfig,
7810
7810
  }));
7811
- const wv = { class: "dk-editor-nav" }, Av = { class: "top" }, Cv = { class: "bottom" }, Tv = /* @__PURE__ */ pe({
7811
+ const kv = { class: "dk-editor-nav" }, Av = { class: "top" }, Cv = { class: "bottom" }, Tv = /* @__PURE__ */ pe({
7812
7812
  __name: "EditorNav",
7813
7813
  emits: ["back"],
7814
7814
  setup(e, { emit: t }) {
7815
7815
  const { t: n } = nt("en-us", it), i = t, a = [
7816
7816
  {
7817
- label: n("plugins.free-form.datakit.visual_editor.return_to_config"),
7817
+ label: n("plugins.free-form.datakit.flow_editor.return_to_config"),
7818
7818
  icon: Zl,
7819
7819
  onClick: () => i("back")
7820
7820
  }
7821
- ], { sidePanelExpanded: r } = Ba(), o = $(() => r.value ? n("plugins.free-form.datakit.visual_editor.collapse_panel") : n("plugins.free-form.datakit.visual_editor.expand_panel")), s = H(!1);
7821
+ ], { sidePanelExpanded: r } = Ba(), o = $(() => r.value ? n("plugins.free-form.datakit.flow_editor.collapse_panel") : n("plugins.free-form.datakit.flow_editor.expand_panel")), s = H(!1);
7822
7822
  function c() {
7823
7823
  r.value = !r.value;
7824
7824
  }
7825
- return (f, p) => (g(), B("nav", wv, [
7826
- K("div", Av, [
7825
+ return (f, p) => (g(), B("nav", kv, [
7826
+ F("div", Av, [
7827
7827
  (g(), B($e, null, je(a, ({ label: l, to: d, icon: m, onClick: b }) => C(u(tr), {
7828
7828
  key: l,
7829
7829
  "kpop-attributes": { offset: "10px" },
@@ -7851,8 +7851,8 @@ const wv = { class: "dk-editor-nav" }, Av = { class: "top" }, Cv = { class: "bot
7851
7851
  _: 2
7852
7852
  }, 1032, ["label"])), 64))
7853
7853
  ]),
7854
- K("div", Cv, [
7855
- K("div", {
7854
+ F("div", Cv, [
7855
+ F("div", {
7856
7856
  class: yt(["side-panel-toggle", { expanded: u(r) }]),
7857
7857
  onTransitionend: p[0] || (p[0] = gt((l) => s.value = !1, ["self"])),
7858
7858
  onTransitionstart: p[1] || (p[1] = gt((l) => s.value = !0, ["self"]))
@@ -7889,78 +7889,78 @@ const wv = { class: "dk-editor-nav" }, Av = { class: "top" }, Cv = { class: "bot
7889
7889
  ])
7890
7890
  ]));
7891
7891
  }
7892
- }), Ev = /* @__PURE__ */ ve(Tv, [["__scopeId", "data-v-bbf1c4a2"]]), Sv = { class: "dk-editor-main" }, xv = { class: "header" }, Iv = { class: "actions" }, Pv = /* @__PURE__ */ pe({
7892
+ }), Ev = /* @__PURE__ */ ve(Tv, [["__scopeId", "data-v-4498cfce"]]), Sv = { class: "dk-editor-main" }, xv = { class: "header" }, Iv = { class: "actions" }, Pv = /* @__PURE__ */ pe({
7893
7893
  __name: "EditorMain",
7894
7894
  emits: ["click:node", "click:backdrop"],
7895
7895
  setup(e, { emit: t }) {
7896
7896
  const { t: n } = nt("en-us", it), i = t;
7897
7897
  return (a, r) => (g(), B("div", Sv, [
7898
- K("header", xv, [
7899
- K("div", Iv, [
7898
+ F("header", xv, [
7899
+ F("div", Iv, [
7900
7900
  C(u(gn), {
7901
7901
  appearance: "tertiary",
7902
7902
  target: "_blank",
7903
7903
  to: "https://developer.konghq.com/plugins/datakit/"
7904
7904
  }, {
7905
7905
  default: _(() => [
7906
- ke(J(u(n)("plugins.free-form.datakit.visual_editor.view_docs")) + " ", 1),
7906
+ we(J(u(n)("plugins.free-form.datakit.flow_editor.view_docs")) + " ", 1),
7907
7907
  C(u(nu))
7908
7908
  ]),
7909
7909
  _: 1
7910
7910
  }),
7911
7911
  C(u(gn), null, {
7912
7912
  default: _(() => [
7913
- ke(J(u(n)("plugins.free-form.datakit.visual_editor.save")), 1)
7913
+ we(J(u(n)("plugins.free-form.datakit.flow_editor.save")), 1)
7914
7914
  ]),
7915
7915
  _: 1
7916
7916
  })
7917
7917
  ])
7918
7918
  ]),
7919
- K("div", {
7919
+ F("div", {
7920
7920
  class: "body",
7921
7921
  onClick: r[2] || (r[2] = (o) => i("click:backdrop"))
7922
7922
  }, [
7923
- K("button", {
7923
+ F("button", {
7924
7924
  onClick: r[0] || (r[0] = gt((o) => i("click:node", { id: "node-a", name: "Node A" }), ["stop"]))
7925
7925
  }, " Mock Node A "),
7926
- K("button", {
7926
+ F("button", {
7927
7927
  onClick: r[1] || (r[1] = gt((o) => i("click:node", { id: "node-b", name: "Node b" }), ["stop"]))
7928
7928
  }, " Mock Node B "),
7929
7929
  Oe(a.$slots, "default", {}, void 0, !0)
7930
7930
  ])
7931
7931
  ]));
7932
7932
  }
7933
- }), Ov = /* @__PURE__ */ ve(Pv, [["__scopeId", "data-v-0d5be5b5"]]), { t: $v } = nt("en-us", it);
7934
- function Fn(e) {
7935
- return $v(`plugins.free-form.datakit.visual_editor.node_description.${e}`);
7933
+ }), Ov = /* @__PURE__ */ ve(Pv, [["__scopeId", "data-v-1a39ef6e"]]), { t: $v } = nt("en-us", it);
7934
+ function Kn(e) {
7935
+ return $v(`plugins.free-form.datakit.flow_editor.node_description.${e}`);
7936
7936
  }
7937
7937
  const Rs = {
7938
7938
  call: {
7939
7939
  type: "call",
7940
- description: Fn("call"),
7940
+ description: Kn("call"),
7941
7941
  icon: iu
7942
7942
  },
7943
7943
  jq: {
7944
7944
  type: "jq",
7945
- description: Fn("jq"),
7945
+ description: Kn("jq"),
7946
7946
  icon: Ao
7947
7947
  },
7948
7948
  exit: {
7949
7949
  type: "exit",
7950
- description: Fn("exit"),
7950
+ description: Kn("exit"),
7951
7951
  icon: au
7952
7952
  },
7953
7953
  property: {
7954
7954
  type: "property",
7955
- description: Fn("property"),
7955
+ description: Kn("property"),
7956
7956
  icon: ru
7957
7957
  },
7958
7958
  static: {
7959
7959
  type: "static",
7960
- description: Fn("static"),
7960
+ description: Kn("static"),
7961
7961
  icon: ou
7962
7962
  }
7963
- }, Rv = { class: "icon" }, Kv = { class: "content" }, Fv = { class: "title" }, Lv = { class: "description" }, Mv = /* @__PURE__ */ pe({
7963
+ }, Rv = { class: "icon" }, Fv = { class: "content" }, Kv = { class: "title" }, Lv = { class: "description" }, Mv = /* @__PURE__ */ pe({
7964
7964
  __name: "NodePanelItem",
7965
7965
  props: {
7966
7966
  type: {}
@@ -7975,34 +7975,34 @@ const Rs = {
7975
7975
  [`node-type-${i.type}`]: !0
7976
7976
  }])
7977
7977
  }, [
7978
- K("div", Rv, [
7978
+ F("div", Rv, [
7979
7979
  C(u(n), { size: 16 })
7980
7980
  ]),
7981
- K("div", Kv, [
7982
- K("div", Fv, J(i.type), 1),
7983
- K("div", Lv, J(u(t)), 1)
7981
+ F("div", Fv, [
7982
+ F("div", Kv, J(i.type), 1),
7983
+ F("div", Lv, J(u(t)), 1)
7984
7984
  ])
7985
7985
  ], 2));
7986
7986
  }
7987
- }), Nv = /* @__PURE__ */ ve(Mv, [["__scopeId", "data-v-da9fb467"]]), jv = { class: "dk-node-panel" }, Dv = { class: "title" }, qv = { class: "node-list" }, Uv = /* @__PURE__ */ pe({
7987
+ }), Nv = /* @__PURE__ */ ve(Mv, [["__scopeId", "data-v-f2e188e5"]]), jv = { class: "dk-node-panel" }, Dv = { class: "title" }, qv = { class: "node-list" }, Uv = /* @__PURE__ */ pe({
7988
7988
  __name: "NodePanel",
7989
7989
  setup(e) {
7990
7990
  const { t } = nt("en-us", it);
7991
7991
  return (n, i) => {
7992
7992
  const a = ee("KLabel");
7993
7993
  return g(), B("div", jv, [
7994
- K("h3", Dv, [
7994
+ F("h3", Dv, [
7995
7995
  C(a, {
7996
7996
  class: "label",
7997
- info: u(t)("plugins.free-form.datakit.visual_editor.node_panel.description")
7997
+ info: u(t)("plugins.free-form.datakit.flow_editor.node_panel.description")
7998
7998
  }, {
7999
7999
  default: _(() => [
8000
- ke(J(u(t)("plugins.free-form.datakit.visual_editor.node_panel.title")), 1)
8000
+ we(J(u(t)("plugins.free-form.datakit.flow_editor.node_panel.title")), 1)
8001
8001
  ]),
8002
8002
  _: 1
8003
8003
  }, 8, ["info"])
8004
8004
  ]),
8005
- K("div", qv, [
8005
+ F("div", qv, [
8006
8006
  (g(!0), B($e, null, je(Object.keys(u(Rs)), (r) => (g(), R(Nv, {
8007
8007
  key: r,
8008
8008
  type: r
@@ -8011,10 +8011,10 @@ const Rs = {
8011
8011
  ]);
8012
8012
  };
8013
8013
  }
8014
- }), Bv = /* @__PURE__ */ ve(Uv, [["__scopeId", "data-v-d4299888"]]), Vv = /* @__PURE__ */ pe({
8014
+ }), Bv = /* @__PURE__ */ ve(Uv, [["__scopeId", "data-v-2e65a82c"]]), Vv = /* @__PURE__ */ pe({
8015
8015
  __name: "nodePropertiesPanel",
8016
8016
  props: {
8017
- maxWidth: { default: () => kv },
8017
+ maxWidth: { default: () => wv },
8018
8018
  offsetTop: { default: "52px" },
8019
8019
  visible: { type: Boolean },
8020
8020
  node: {}
@@ -8033,13 +8033,13 @@ const Rs = {
8033
8033
  default: _(() => {
8034
8034
  var i;
8035
8035
  return [
8036
- ke(J((i = t.node) == null ? void 0 : i.id), 1)
8036
+ we(J((i = t.node) == null ? void 0 : i.id), 1)
8037
8037
  ];
8038
8038
  }),
8039
8039
  _: 1
8040
8040
  }, 8, ["max-width", "offset-top", "visible"]));
8041
8041
  }
8042
- }), Hv = /* @__PURE__ */ ve(Vv, [["__scopeId", "data-v-83e0b80b"]]), Gv = { class: "dk-editor-content" }, zv = { class: "header" }, Wv = { class: "title" }, Yv = { class: "body" }, Jv = { class: "node-selection-panel" }, Xv = { class: "main" }, Qv = /* @__PURE__ */ pe({
8042
+ }), Hv = /* @__PURE__ */ ve(Vv, [["__scopeId", "data-v-6f3e4648"]]), Gv = { class: "dk-editor-content" }, zv = { class: "header" }, Wv = { class: "title" }, Yv = { class: "body" }, Jv = { class: "node-selection-panel" }, Xv = { class: "main" }, Qv = /* @__PURE__ */ pe({
8043
8043
  __name: "EditorContent",
8044
8044
  setup(e) {
8045
8045
  const { t } = nt("en-us", it), { sidePanelExpanded: n } = Ba(), i = H(!1), a = H(null), r = (s) => {
@@ -8048,19 +8048,19 @@ const Rs = {
8048
8048
  i.value = !1, a.value = null;
8049
8049
  };
8050
8050
  return (s, c) => (g(), B("div", Gv, [
8051
- K("aside", {
8051
+ F("aside", {
8052
8052
  class: yt(["side-panel", { expanded: u(n) }])
8053
8053
  }, [
8054
- K("header", zv, [
8055
- K("h2", Wv, J(u(t)("plugins.free-form.datakit.visual_editor.name")), 1)
8054
+ F("header", zv, [
8055
+ F("h2", Wv, J(u(t)("plugins.free-form.datakit.flow_editor.name")), 1)
8056
8056
  ]),
8057
- K("div", Yv, [
8058
- K("div", Jv, [
8057
+ F("div", Yv, [
8058
+ F("div", Jv, [
8059
8059
  C(Bv)
8060
8060
  ])
8061
8061
  ])
8062
8062
  ], 2),
8063
- K("div", Xv, [
8063
+ F("div", Xv, [
8064
8064
  C(Ov, {
8065
8065
  "onClick:backdrop": o,
8066
8066
  "onClick:node": r
@@ -8073,7 +8073,7 @@ const Rs = {
8073
8073
  }, null, 8, ["node", "visible"])
8074
8074
  ]));
8075
8075
  }
8076
- }), Zv = /* @__PURE__ */ ve(Qv, [["__scopeId", "data-v-e506e8e3"]]), eb = /* @__PURE__ */ pe({
8076
+ }), Zv = /* @__PURE__ */ ve(Qv, [["__scopeId", "data-v-d344e31a"]]), eb = /* @__PURE__ */ pe({
8077
8077
  __name: "EditorModal",
8078
8078
  props: {
8079
8079
  open: { type: Boolean },
@@ -8082,8 +8082,8 @@ const Rs = {
8082
8082
  emits: /* @__PURE__ */ si(["close"], ["update:open"]),
8083
8083
  setup(e, { emit: t }) {
8084
8084
  ho((p) => ({
8085
- "6aa6c909": u(_v),
8086
- fa2c871a: u(bv)
8085
+ b09519cc: u(_v),
8086
+ "7424b402": u(bv)
8087
8087
  }));
8088
8088
  const n = mn("modal"), i = li(e, "open"), a = t, r = mn("content"), o = Tu(document), { activate: s, deactivate: c } = vv(n, {
8089
8089
  returnFocusOnDeactivate: !0,
@@ -8093,7 +8093,7 @@ const Rs = {
8093
8093
  }
8094
8094
  });
8095
8095
  Ve(i, async (p) => {
8096
- o.value = !!p, await wt(), p ? s() : c();
8096
+ o.value = !!p, await kt(), p ? s() : c();
8097
8097
  }, { immediate: !0 });
8098
8098
  function f() {
8099
8099
  i.value = !1, a("close");
@@ -8116,16 +8116,16 @@ const Rs = {
8116
8116
  }, null, 512)
8117
8117
  ], 512)) : he("", !0);
8118
8118
  }
8119
- }), tb = /* @__PURE__ */ ve(eb, [["__scopeId", "data-v-c8344db8"]]);
8119
+ }), tb = /* @__PURE__ */ ve(eb, [["__scopeId", "data-v-ccb49c2a"]]);
8120
8120
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
8121
- function Ks(e) {
8121
+ function Fs(e) {
8122
8122
  return typeof e > "u" || e === null;
8123
8123
  }
8124
8124
  function nb(e) {
8125
8125
  return typeof e == "object" && e !== null;
8126
8126
  }
8127
8127
  function ib(e) {
8128
- return Array.isArray(e) ? e : Ks(e) ? [] : [e];
8128
+ return Array.isArray(e) ? e : Fs(e) ? [] : [e];
8129
8129
  }
8130
8130
  function ab(e, t) {
8131
8131
  var n, i, a, r;
@@ -8143,7 +8143,7 @@ function rb(e, t) {
8143
8143
  function ob(e) {
8144
8144
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
8145
8145
  }
8146
- var sb = Ks, lb = nb, ub = ib, cb = rb, db = ob, pb = ab, He = {
8146
+ var sb = Fs, lb = nb, ub = ib, cb = rb, db = ob, pb = ab, He = {
8147
8147
  isNothing: sb,
8148
8148
  isObject: lb,
8149
8149
  toArray: ub,
@@ -8151,19 +8151,19 @@ var sb = Ks, lb = nb, ub = ib, cb = rb, db = ob, pb = ab, He = {
8151
8151
  isNegativeZero: db,
8152
8152
  extend: pb
8153
8153
  };
8154
- function Fs(e, t) {
8154
+ function Ks(e, t) {
8155
8155
  var n = "", i = e.reason || "(unknown reason)";
8156
8156
  return e.mark ? (e.mark.name && (n += 'in "' + e.mark.name + '" '), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += `
8157
8157
 
8158
8158
  ` + e.mark.snippet), i + " " + n) : i;
8159
8159
  }
8160
8160
  function zn(e, t) {
8161
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Fs(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
8161
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Ks(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
8162
8162
  }
8163
8163
  zn.prototype = Object.create(Error.prototype);
8164
8164
  zn.prototype.constructor = zn;
8165
8165
  zn.prototype.toString = function(t) {
8166
- return this.name + ": " + Fs(this, t);
8166
+ return this.name + ": " + Ks(this, t);
8167
8167
  };
8168
8168
  var st = zn;
8169
8169
  function qi(e, t, n, i, a) {
@@ -8325,17 +8325,17 @@ function _b(e) {
8325
8325
  var t = e.length;
8326
8326
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
8327
8327
  }
8328
- function kb() {
8328
+ function wb() {
8329
8329
  return null;
8330
8330
  }
8331
- function wb(e) {
8331
+ function kb(e) {
8332
8332
  return e === null;
8333
8333
  }
8334
8334
  var qs = new Ye("tag:yaml.org,2002:null", {
8335
8335
  kind: "scalar",
8336
8336
  resolve: _b,
8337
- construct: kb,
8338
- predicate: wb,
8337
+ construct: wb,
8338
+ predicate: kb,
8339
8339
  represent: {
8340
8340
  canonical: function() {
8341
8341
  return "~";
@@ -8482,11 +8482,11 @@ function Rb(e) {
8482
8482
  // Probably should update regexp & check speed
8483
8483
  e[e.length - 1] === "_");
8484
8484
  }
8485
- function Kb(e) {
8485
+ function Fb(e) {
8486
8486
  var t, n;
8487
8487
  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);
8488
8488
  }
8489
- var Fb = /^[-+]?[0-9]+e/;
8489
+ var Kb = /^[-+]?[0-9]+e/;
8490
8490
  function Lb(e, t) {
8491
8491
  var n;
8492
8492
  if (isNaN(e))
@@ -8518,7 +8518,7 @@ function Lb(e, t) {
8518
8518
  }
8519
8519
  else if (He.isNegativeZero(e))
8520
8520
  return "-0.0";
8521
- return n = e.toString(10), Fb.test(n) ? n.replace("e", ".e") : n;
8521
+ return n = e.toString(10), Kb.test(n) ? n.replace("e", ".e") : n;
8522
8522
  }
8523
8523
  function Mb(e) {
8524
8524
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || He.isNegativeZero(e));
@@ -8526,7 +8526,7 @@ function Mb(e) {
8526
8526
  var Vs = new Ye("tag:yaml.org,2002:float", {
8527
8527
  kind: "scalar",
8528
8528
  resolve: Rb,
8529
- construct: Kb,
8529
+ construct: Fb,
8530
8530
  predicate: Mb,
8531
8531
  represent: Lb,
8532
8532
  defaultStyle: "lowercase"
@@ -8681,7 +8681,7 @@ var el = new Ye("tag:yaml.org,2002:set", {
8681
8681
  function Qr(e) {
8682
8682
  return Object.prototype.toString.call(e);
8683
8683
  }
8684
- function kt(e) {
8684
+ function wt(e) {
8685
8685
  return e === 10 || e === 13;
8686
8686
  }
8687
8687
  function Ht(e) {
@@ -8799,7 +8799,7 @@ function Ue(e, t, n) {
8799
8799
  do
8800
8800
  a = e.input.charCodeAt(++e.position);
8801
8801
  while (a !== 10 && a !== 13 && a !== 0);
8802
- if (kt(a))
8802
+ if (wt(a))
8803
8803
  for (Ga(e), a = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; a === 32; )
8804
8804
  e.lineIndent++, a = e.input.charCodeAt(++e.position);
8805
8805
  else
@@ -8807,7 +8807,7 @@ function Ue(e, t, n) {
8807
8807
  }
8808
8808
  return n !== -1 && i !== 0 && e.lineIndent < n && _i(e, "deficient indentation"), i;
8809
8809
  }
8810
- function Ki(e) {
8810
+ function Fi(e) {
8811
8811
  var t = e.position, n;
8812
8812
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || pt(n)));
8813
8813
  }
@@ -8827,9 +8827,9 @@ function d_(e, t, n) {
8827
8827
  if (i = e.input.charCodeAt(e.position - 1), pt(i))
8828
8828
  break;
8829
8829
  } else {
8830
- if (e.position === e.lineStart && Ki(e) || n && dn(m))
8830
+ if (e.position === e.lineStart && Fi(e) || n && dn(m))
8831
8831
  break;
8832
- if (kt(m))
8832
+ if (wt(m))
8833
8833
  if (c = e.line, f = e.lineStart, p = e.lineIndent, Ue(e, !1, -1), e.lineIndent >= t) {
8834
8834
  s = !0, m = e.input.charCodeAt(e.position);
8835
8835
  continue;
@@ -8852,7 +8852,7 @@ function p_(e, t) {
8852
8852
  i = e.position, e.position++, a = e.position;
8853
8853
  else
8854
8854
  return !0;
8855
- else kt(n) ? (Ot(e, i, a, !0), za(e, Ue(e, !1, t)), i = a = e.position) : e.position === e.lineStart && Ki(e) ? se(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
8855
+ else wt(n) ? (Ot(e, i, a, !0), za(e, Ue(e, !1, t)), i = a = e.position) : e.position === e.lineStart && Fi(e) ? se(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
8856
8856
  se(e, "unexpected end of the stream within a single quoted scalar");
8857
8857
  }
8858
8858
  function f_(e, t) {
@@ -8863,7 +8863,7 @@ function f_(e, t) {
8863
8863
  if (s === 34)
8864
8864
  return Ot(e, n, e.position, !0), e.position++, !0;
8865
8865
  if (s === 92) {
8866
- if (Ot(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), kt(s))
8866
+ if (Ot(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), wt(s))
8867
8867
  Ue(e, !1, t);
8868
8868
  else if (s < 256 && rl[s])
8869
8869
  e.result += ol[s], e.position++;
@@ -8874,22 +8874,22 @@ function f_(e, t) {
8874
8874
  } else
8875
8875
  se(e, "unknown escape sequence");
8876
8876
  n = i = e.position;
8877
- } else kt(s) ? (Ot(e, n, i, !0), za(e, Ue(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ki(e) ? se(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
8877
+ } else wt(s) ? (Ot(e, n, i, !0), za(e, Ue(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Fi(e) ? se(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
8878
8878
  }
8879
8879
  se(e, "unexpected end of the stream within a double quoted scalar");
8880
8880
  }
8881
8881
  function m_(e, t) {
8882
- var n = !0, i, a, r, o = e.tag, s, c = e.anchor, f, p, l, d, m, b = /* @__PURE__ */ Object.create(null), k, y, v, w;
8883
- if (w = e.input.charCodeAt(e.position), w === 91)
8882
+ var n = !0, i, a, r, o = e.tag, s, c = e.anchor, f, p, l, d, m, b = /* @__PURE__ */ Object.create(null), w, y, v, k;
8883
+ if (k = e.input.charCodeAt(e.position), k === 91)
8884
8884
  p = 93, m = !1, s = [];
8885
- else if (w === 123)
8885
+ else if (k === 123)
8886
8886
  p = 125, m = !0, s = {};
8887
8887
  else
8888
8888
  return !1;
8889
- for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
8890
- if (Ue(e, !0, t), w = e.input.charCodeAt(e.position), w === p)
8889
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = s), k = e.input.charCodeAt(++e.position); k !== 0; ) {
8890
+ if (Ue(e, !0, t), k = e.input.charCodeAt(e.position), k === p)
8891
8891
  return e.position++, e.tag = o, e.anchor = c, e.kind = m ? "mapping" : "sequence", e.result = s, !0;
8892
- n ? w === 44 && se(e, "expected the node content, but found ','") : se(e, "missed comma between flow collection entries"), y = k = v = null, l = d = !1, w === 63 && (f = e.input.charCodeAt(e.position + 1), pt(f) && (l = d = !0, e.position++, Ue(e, !0, t))), i = e.line, a = e.lineStart, r = e.position, _n(e, t, vi, !1, !0), y = e.tag, k = e.result, Ue(e, !0, t), w = e.input.charCodeAt(e.position), (d || e.line === i) && w === 58 && (l = !0, w = e.input.charCodeAt(++e.position), Ue(e, !0, t), _n(e, t, vi, !1, !0), v = e.result), m ? pn(e, s, b, y, k, v, i, a, r) : l ? s.push(pn(e, null, b, y, k, v, i, a, r)) : s.push(k), Ue(e, !0, t), w = e.input.charCodeAt(e.position), w === 44 ? (n = !0, w = e.input.charCodeAt(++e.position)) : n = !1;
8892
+ n ? k === 44 && se(e, "expected the node content, but found ','") : se(e, "missed comma between flow collection entries"), y = w = v = null, l = d = !1, k === 63 && (f = e.input.charCodeAt(e.position + 1), pt(f) && (l = d = !0, e.position++, Ue(e, !0, t))), i = e.line, a = e.lineStart, r = e.position, _n(e, t, vi, !1, !0), y = e.tag, w = e.result, Ue(e, !0, t), k = e.input.charCodeAt(e.position), (d || e.line === i) && k === 58 && (l = !0, k = e.input.charCodeAt(++e.position), Ue(e, !0, t), _n(e, t, vi, !1, !0), v = e.result), m ? pn(e, s, b, y, w, v, i, a, r) : l ? s.push(pn(e, null, b, y, w, v, i, a, r)) : s.push(w), Ue(e, !0, t), k = e.input.charCodeAt(e.position), k === 44 ? (n = !0, k = e.input.charCodeAt(++e.position)) : n = !1;
8893
8893
  }
8894
8894
  se(e, "unexpected end of the stream within a flow collection");
8895
8895
  }
@@ -8915,12 +8915,12 @@ function g_(e, t) {
8915
8915
  if (l === 35)
8916
8916
  do
8917
8917
  l = e.input.charCodeAt(++e.position);
8918
- while (!kt(l) && l !== 0);
8918
+ while (!wt(l) && l !== 0);
8919
8919
  }
8920
8920
  for (; l !== 0; ) {
8921
8921
  for (Ga(e), e.lineIndent = 0, l = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && l === 32; )
8922
8922
  e.lineIndent++, l = e.input.charCodeAt(++e.position);
8923
- if (!o && e.lineIndent > s && (s = e.lineIndent), kt(l)) {
8923
+ if (!o && e.lineIndent > s && (s = e.lineIndent), wt(l)) {
8924
8924
  c++;
8925
8925
  continue;
8926
8926
  }
@@ -8934,7 +8934,7 @@ function g_(e, t) {
8934
8934
  `, r ? 1 + c : c)) : f ? (f = !1, e.result += He.repeat(`
8935
8935
  `, c + 1)) : c === 0 ? r && (e.result += " ") : e.result += He.repeat(`
8936
8936
  `, c) : e.result += He.repeat(`
8937
- `, r ? 1 + c : c), r = !0, o = !0, c = 0, n = e.position; !kt(l) && l !== 0; )
8937
+ `, r ? 1 + c : c), r = !0, o = !0, c = 0, n = e.position; !wt(l) && l !== 0; )
8938
8938
  l = e.input.charCodeAt(++e.position);
8939
8939
  Ot(e, n, e.position, !1);
8940
8940
  }
@@ -8956,19 +8956,19 @@ function no(e, t) {
8956
8956
  return s ? (e.tag = i, e.anchor = a, e.kind = "sequence", e.result = r, !0) : !1;
8957
8957
  }
8958
8958
  function y_(e, t, n) {
8959
- var i, a, r, o, s, c, f = e.tag, p = e.anchor, l = {}, d = /* @__PURE__ */ Object.create(null), m = null, b = null, k = null, y = !1, v = !1, w;
8959
+ var i, a, r, o, s, c, f = e.tag, p = e.anchor, l = {}, d = /* @__PURE__ */ Object.create(null), m = null, b = null, w = null, y = !1, v = !1, k;
8960
8960
  if (e.firstTabInLine !== -1) return !1;
8961
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), w = e.input.charCodeAt(e.position); w !== 0; ) {
8962
- if (!y && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, se(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), r = e.line, (w === 63 || w === 58) && pt(i))
8963
- w === 63 ? (y && (pn(e, l, d, m, b, null, o, s, c), m = b = k = null), v = !0, y = !0, a = !0) : y ? (y = !1, a = !0) : se(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = i;
8961
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), k = e.input.charCodeAt(e.position); k !== 0; ) {
8962
+ if (!y && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, se(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), r = e.line, (k === 63 || k === 58) && pt(i))
8963
+ k === 63 ? (y && (pn(e, l, d, m, b, null, o, s, c), m = b = w = null), v = !0, y = !0, a = !0) : y ? (y = !1, a = !0) : se(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, k = i;
8964
8964
  else {
8965
8965
  if (o = e.line, s = e.lineStart, c = e.position, !_n(e, n, tl, !1, !0))
8966
8966
  break;
8967
8967
  if (e.line === r) {
8968
- for (w = e.input.charCodeAt(e.position); Ht(w); )
8969
- w = e.input.charCodeAt(++e.position);
8970
- if (w === 58)
8971
- w = e.input.charCodeAt(++e.position), pt(w) || se(e, "a whitespace character is expected after the key-value separator within a block mapping"), y && (pn(e, l, d, m, b, null, o, s, c), m = b = k = null), v = !0, y = !1, a = !1, m = e.tag, b = e.result;
8968
+ for (k = e.input.charCodeAt(e.position); Ht(k); )
8969
+ k = e.input.charCodeAt(++e.position);
8970
+ if (k === 58)
8971
+ k = e.input.charCodeAt(++e.position), pt(k) || se(e, "a whitespace character is expected after the key-value separator within a block mapping"), y && (pn(e, l, d, m, b, null, o, s, c), m = b = w = null), v = !0, y = !1, a = !1, m = e.tag, b = e.result;
8972
8972
  else if (v)
8973
8973
  se(e, "can not read an implicit mapping pair; a colon is missed");
8974
8974
  else
@@ -8978,7 +8978,7 @@ function y_(e, t, n) {
8978
8978
  else
8979
8979
  return e.tag = f, e.anchor = p, !0;
8980
8980
  }
8981
- if ((e.line === r || e.lineIndent > t) && (y && (o = e.line, s = e.lineStart, c = e.position), _n(e, t, bi, !0, a) && (y ? b = e.result : k = e.result), y || (pn(e, l, d, m, b, k, o, s, c), m = b = k = null), Ue(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > t) && w !== 0)
8981
+ if ((e.line === r || e.lineIndent > t) && (y && (o = e.line, s = e.lineStart, c = e.position), _n(e, t, bi, !0, a) && (y ? b = e.result : w = e.result), y || (pn(e, l, d, m, b, w, o, s, c), m = b = w = null), Ue(e, !0, -1), k = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > t) && k !== 0)
8982
8982
  se(e, "bad indentation of a mapping entry");
8983
8983
  else if (e.lineIndent < t)
8984
8984
  break;
@@ -9021,11 +9021,11 @@ function b_(e) {
9021
9021
  return e.position === t && se(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), $t.call(e.anchorMap, n) || se(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Ue(e, !0, -1), !0;
9022
9022
  }
9023
9023
  function _n(e, t, n, i, a) {
9024
- var r, o, s, c = 1, f = !1, p = !1, l, d, m, b, k, y;
9024
+ var r, o, s, c = 1, f = !1, p = !1, l, d, m, b, w, y;
9025
9025
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = s = bi === n || nl === n, i && Ue(e, !0, -1) && (f = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
9026
9026
  for (; h_(e) || v_(e); )
9027
9027
  Ue(e, !0, -1) ? (f = !0, s = r, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
9028
- if (s && (s = f || a), (c === 1 || bi === n) && (vi === n || tl === n ? k = t : k = t + 1, y = e.position - e.lineStart, c === 1 ? s && (no(e, y) || y_(e, y, k)) || m_(e, k) ? p = !0 : (o && g_(e, k) || p_(e, k) || f_(e, k) ? p = !0 : b_(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && se(e, "alias node should not have any properties")) : d_(e, k, vi === n) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (p = s && no(e, y))), e.tag === null)
9028
+ if (s && (s = f || a), (c === 1 || bi === n) && (vi === n || tl === n ? w = t : w = t + 1, y = e.position - e.lineStart, c === 1 ? s && (no(e, y) || y_(e, y, w)) || m_(e, w) ? p = !0 : (o && g_(e, w) || p_(e, w) || f_(e, w) ? p = !0 : b_(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && se(e, "alias node should not have any properties")) : d_(e, w, vi === n) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (p = s && no(e, y))), e.tag === null)
9029
9029
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
9030
9030
  else if (e.tag === "?") {
9031
9031
  for (e.result !== null && e.kind !== "scalar" && se(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), l = 0, d = e.implicitTypes.length; l < d; l += 1)
@@ -9057,17 +9057,17 @@ function __(e) {
9057
9057
  if (o === 35) {
9058
9058
  do
9059
9059
  o = e.input.charCodeAt(++e.position);
9060
- while (o !== 0 && !kt(o));
9060
+ while (o !== 0 && !wt(o));
9061
9061
  break;
9062
9062
  }
9063
- if (kt(o)) break;
9063
+ if (wt(o)) break;
9064
9064
  for (n = e.position; o !== 0 && !pt(o); )
9065
9065
  o = e.input.charCodeAt(++e.position);
9066
9066
  a.push(e.input.slice(n, e.position));
9067
9067
  }
9068
9068
  o !== 0 && Ga(e), $t.call(eo, i) ? eo[i](e, i, a) : _i(e, 'unknown document directive "' + i + '"');
9069
9069
  }
9070
- if (Ue(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Ue(e, !0, -1)) : r && se(e, "directives end mark is expected"), _n(e, e.lineIndent - 1, bi, !1, !0), Ue(e, !0, -1), e.checkLineBreaks && a_.test(e.input.slice(t, e.position)) && _i(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ki(e)) {
9070
+ if (Ue(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Ue(e, !0, -1)) : r && se(e, "directives end mark is expected"), _n(e, e.lineIndent - 1, bi, !1, !0), Ue(e, !0, -1), e.checkLineBreaks && a_.test(e.input.slice(t, e.position)) && _i(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Fi(e)) {
9071
9071
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, Ue(e, !0, -1));
9072
9072
  return;
9073
9073
  }
@@ -9086,7 +9086,7 @@ function ll(e, t) {
9086
9086
  __(n);
9087
9087
  return n.documents;
9088
9088
  }
9089
- function k_(e, t, n) {
9089
+ function w_(e, t, n) {
9090
9090
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
9091
9091
  var i = ll(e, n);
9092
9092
  if (typeof t != "function")
@@ -9094,7 +9094,7 @@ function k_(e, t, n) {
9094
9094
  for (var a = 0, r = i.length; a < r; a += 1)
9095
9095
  t(i[a]);
9096
9096
  }
9097
- function w_(e, t) {
9097
+ function k_(e, t) {
9098
9098
  var n = ll(e, t);
9099
9099
  if (n.length !== 0) {
9100
9100
  if (n.length === 1)
@@ -9102,10 +9102,10 @@ function w_(e, t) {
9102
9102
  throw new st("expected a single document in the stream, but found more");
9103
9103
  }
9104
9104
  }
9105
- var A_ = k_, C_ = w_, ul = {
9105
+ var A_ = w_, C_ = k_, ul = {
9106
9106
  loadAll: A_,
9107
9107
  load: C_
9108
- }, cl = Object.prototype.toString, dl = Object.prototype.hasOwnProperty, Wa = 65279, T_ = 9, Wn = 10, E_ = 13, S_ = 32, x_ = 33, I_ = 34, fa = 35, P_ = 37, O_ = 38, $_ = 39, R_ = 42, pl = 44, K_ = 45, ki = 58, F_ = 61, L_ = 62, M_ = 63, N_ = 64, fl = 91, ml = 93, j_ = 96, gl = 123, D_ = 124, yl = 125, at = {};
9108
+ }, cl = Object.prototype.toString, dl = Object.prototype.hasOwnProperty, Wa = 65279, T_ = 9, Wn = 10, E_ = 13, S_ = 32, x_ = 33, I_ = 34, fa = 35, P_ = 37, O_ = 38, $_ = 39, R_ = 42, pl = 44, F_ = 45, wi = 58, K_ = 61, L_ = 62, M_ = 63, N_ = 64, fl = 91, ml = 93, j_ = 96, gl = 123, D_ = 124, yl = 125, at = {};
9109
9109
  at[0] = "\\0";
9110
9110
  at[7] = "\\a";
9111
9111
  at[8] = "\\b";
@@ -9180,7 +9180,7 @@ function z_(e, t) {
9180
9180
  return !0;
9181
9181
  return !1;
9182
9182
  }
9183
- function wi(e) {
9183
+ function ki(e) {
9184
9184
  return e === S_ || e === T_;
9185
9185
  }
9186
9186
  function Jn(e) {
@@ -9190,20 +9190,20 @@ function ao(e) {
9190
9190
  return Jn(e) && e !== Wa && e !== E_ && e !== Wn;
9191
9191
  }
9192
9192
  function ro(e, t, n) {
9193
- var i = ao(e), a = i && !wi(e);
9193
+ var i = ao(e), a = i && !ki(e);
9194
9194
  return (
9195
9195
  // ns-plain-safe
9196
9196
  (n ? (
9197
9197
  // c = flow-in
9198
9198
  i
9199
- ) : i && e !== pl && e !== fl && e !== ml && e !== gl && e !== yl) && e !== fa && !(t === ki && !a) || ao(t) && !wi(t) && e === fa || t === ki && a
9199
+ ) : i && e !== pl && e !== fl && e !== ml && e !== gl && e !== yl) && e !== fa && !(t === wi && !a) || ao(t) && !ki(t) && e === fa || t === wi && a
9200
9200
  );
9201
9201
  }
9202
9202
  function W_(e) {
9203
- return Jn(e) && e !== Wa && !wi(e) && e !== K_ && e !== M_ && e !== ki && e !== pl && e !== fl && e !== ml && e !== gl && e !== yl && e !== fa && e !== O_ && e !== R_ && e !== x_ && e !== D_ && e !== F_ && e !== L_ && e !== $_ && e !== I_ && e !== P_ && e !== N_ && e !== j_;
9203
+ return Jn(e) && e !== Wa && !ki(e) && e !== F_ && e !== M_ && e !== wi && e !== pl && e !== fl && e !== ml && e !== gl && e !== yl && e !== fa && e !== O_ && e !== R_ && e !== x_ && e !== D_ && e !== K_ && e !== L_ && e !== $_ && e !== I_ && e !== P_ && e !== N_ && e !== j_;
9204
9204
  }
9205
9205
  function Y_(e) {
9206
- return !wi(e) && e !== ki;
9206
+ return !ki(e) && e !== wi;
9207
9207
  }
9208
9208
  function Ln(e, t) {
9209
9209
  var n = e.charCodeAt(t), i;
@@ -9215,12 +9215,12 @@ function hl(e) {
9215
9215
  }
9216
9216
  var vl = 1, ga = 2, bl = 3, _l = 4, sn = 5;
9217
9217
  function J_(e, t, n, i, a, r, o, s) {
9218
- var c, f = 0, p = null, l = !1, d = !1, m = i !== -1, b = -1, k = W_(Ln(e, 0)) && Y_(Ln(e, e.length - 1));
9218
+ var c, f = 0, p = null, l = !1, d = !1, m = i !== -1, b = -1, w = W_(Ln(e, 0)) && Y_(Ln(e, e.length - 1));
9219
9219
  if (t || o)
9220
9220
  for (c = 0; c < e.length; f >= 65536 ? c += 2 : c++) {
9221
9221
  if (f = Ln(e, c), !Jn(f))
9222
9222
  return sn;
9223
- k = k && ro(f, p, s), p = f;
9223
+ w = w && ro(f, p, s), p = f;
9224
9224
  }
9225
9225
  else {
9226
9226
  for (c = 0; c < e.length; f >= 65536 ? c += 2 : c++) {
@@ -9229,11 +9229,11 @@ function J_(e, t, n, i, a, r, o, s) {
9229
9229
  c - b - 1 > i && e[b + 1] !== " ", b = c);
9230
9230
  else if (!Jn(f))
9231
9231
  return sn;
9232
- k = k && ro(f, p, s), p = f;
9232
+ w = w && ro(f, p, s), p = f;
9233
9233
  }
9234
9234
  d = d || m && c - b - 1 > i && e[b + 1] !== " ";
9235
9235
  }
9236
- return !l && !d ? k && !o && !a(e) ? vl : r === Yn ? sn : ga : n > 9 && hl(e) ? sn : o ? r === Yn ? sn : ga : d ? _l : bl;
9236
+ return !l && !d ? w && !o && !a(e) ? vl : r === Yn ? sn : ga : n > 9 && hl(e) ? sn : o ? r === Yn ? sn : ga : d ? _l : bl;
9237
9237
  }
9238
9238
  function X_(e, t, n, i, a) {
9239
9239
  e.dump = function() {
@@ -9477,7 +9477,7 @@ const _0 = `nodes:
9477
9477
  {
9478
9478
  Authorization: (.token_type + " " + .access_token)
9479
9479
  }
9480
- `, k0 = `nodes:
9480
+ `, w0 = `nodes:
9481
9481
  - name: CAT_FACT
9482
9482
  type: call
9483
9483
  url: https://catfact.ninja/fact
@@ -9499,7 +9499,7 @@ const _0 = `nodes:
9499
9499
  inputs:
9500
9500
  body: JOIN
9501
9501
  status: 200
9502
- `, w0 = `nodes:
9502
+ `, k0 = `nodes:
9503
9503
  - name: HEADERS
9504
9504
  type: static
9505
9505
  values:
@@ -9520,11 +9520,11 @@ const _0 = `nodes:
9520
9520
  type: exit
9521
9521
  input: API
9522
9522
  status: 200
9523
- `, kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9523
+ `, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9524
9524
  __proto__: null,
9525
9525
  authenticate: _0,
9526
- combine: k0,
9527
- manipulate: w0
9526
+ combine: w0,
9527
+ manipulate: k0
9528
9528
  }, Symbol.toStringTag, { value: "Module" })), A0 = {
9529
9529
  ref: "editor-root",
9530
9530
  class: "dk-editor"
@@ -9541,7 +9541,7 @@ const _0 = `nodes:
9541
9541
  const c = r.value, f = c == null ? void 0 : c.getModel();
9542
9542
  if (!c || !f)
9543
9543
  return;
9544
- const p = kl[s];
9544
+ const p = wl[s];
9545
9545
  if (c.getValue() !== p) {
9546
9546
  const l = f.getFullModelRange();
9547
9547
  c.pushUndoStop(), c.executeEdits(C0, [{ range: l, text: p }]), c.pushUndoStop();
@@ -9576,19 +9576,19 @@ const _0 = `nodes:
9576
9576
  });
9577
9577
  ii.editor.setModelMarkers(c, Vi, []), i("change", p);
9578
9578
  } catch (p) {
9579
- const { message: l, mark: d } = p, { line: m, column: b } = d || { line: 0, column: 0 }, k = l.split(`
9579
+ const { message: l, mark: d } = p, { line: m, column: b } = d || { line: 0, column: 0 }, w = l.split(`
9580
9580
  `)[0], y = [
9581
9581
  {
9582
9582
  startLineNumber: m + 1,
9583
9583
  startColumn: b + 1,
9584
9584
  endLineNumber: m + 1,
9585
9585
  endColumn: b + 2,
9586
- message: k,
9586
+ message: w,
9587
9587
  severity: ii.MarkerSeverity.Error,
9588
9588
  source: Vi
9589
9589
  }
9590
9590
  ];
9591
- ii.editor.setModelMarkers(c, Vi, y), i("error", k);
9591
+ ii.editor.setModelMarkers(c, Vi, y), i("error", w);
9592
9592
  }
9593
9593
  });
9594
9594
  }), xl(() => {
@@ -9616,13 +9616,13 @@ const _0 = `nodes:
9616
9616
  onValidityChange: { type: Function }
9617
9617
  },
9618
9618
  setup(e) {
9619
- const { t } = nt("en-us", it), n = e, i = et(Lc.DATAKIT_ENABLE_VISUAL_EDITOR, !1), { editorMode: a } = Ba(), r = $(() => i ? a.value : "code"), o = {
9620
- visual: lu,
9619
+ const { t } = nt("en-us", it), n = e, i = et(Lc.DATAKIT_ENABLE_FLOW_EDITOR, !1), { editorMode: a } = Ba(), r = $(() => i ? a.value : "code"), o = {
9620
+ flow: lu,
9621
9621
  code: Ao
9622
9622
  }, s = [
9623
9623
  {
9624
- label: t("plugins.free-form.datakit.visual_editor.mode"),
9625
- value: "visual"
9624
+ label: t("plugins.free-form.datakit.flow_editor.mode"),
9625
+ value: "flow"
9626
9626
  },
9627
9627
  {
9628
9628
  label: t("plugins.free-form.datakit.code_editor.mode"),
@@ -9632,50 +9632,50 @@ const _0 = `nodes:
9632
9632
  switch (a.value) {
9633
9633
  case "code":
9634
9634
  return t("plugins.free-form.datakit.description_code");
9635
- case "visual":
9636
- return t("plugins.free-form.datakit.description_visual");
9635
+ case "flow":
9636
+ return t("plugins.free-form.datakit.description_flow");
9637
9637
  default:
9638
9638
  return "";
9639
9639
  }
9640
9640
  }), f = H(!1), p = mn("code-editor");
9641
9641
  function l(b) {
9642
- var k;
9643
- (k = p.value) == null || k.setExampleCode(b);
9642
+ var w;
9643
+ (w = p.value) == null || w.setExampleCode(b);
9644
9644
  }
9645
9645
  function d(b) {
9646
- var k;
9646
+ var w;
9647
9647
  n.onFormChange({
9648
9648
  config: b
9649
- }), (k = n.onValidityChange) == null || k.call(n, {
9649
+ }), (w = n.onValidityChange) == null || w.call(n, {
9650
9650
  model: "config",
9651
9651
  valid: !0
9652
9652
  });
9653
9653
  }
9654
9654
  function m(b) {
9655
- var k;
9656
- (k = n.onValidityChange) == null || k.call(n, {
9655
+ var w;
9656
+ (w = n.onValidityChange) == null || w.call(n, {
9657
9657
  model: "config",
9658
9658
  valid: !1,
9659
9659
  error: b
9660
9660
  });
9661
9661
  }
9662
- return (b, k) => {
9662
+ return (b, w) => {
9663
9663
  const y = ee("KButton");
9664
9664
  return g(), R(jh, Me(n, { class: "dk-form" }), De({
9665
9665
  default: _((v) => [
9666
- r.value === "visual" ? (g(), B("div", S0, [
9666
+ r.value === "flow" ? (g(), B("div", S0, [
9667
9667
  C(y, {
9668
9668
  appearance: "secondary",
9669
- onClick: k[1] || (k[1] = (w) => f.value = !0)
9669
+ onClick: w[1] || (w[1] = (k) => f.value = !0)
9670
9670
  }, {
9671
9671
  default: _(() => [
9672
- ke(J(u(t)("plugins.free-form.datakit.visual_editor.cta")), 1)
9672
+ we(J(u(t)("plugins.free-form.datakit.flow_editor.cta")), 1)
9673
9673
  ]),
9674
9674
  _: 1
9675
9675
  }),
9676
9676
  C(tb, {
9677
9677
  open: f.value,
9678
- "onUpdate:open": k[2] || (k[2] = (w) => f.value = w)
9678
+ "onUpdate:open": w[2] || (w[2] = (k) => f.value = k)
9679
9679
  }, null, 8, ["open"])
9680
9680
  ])) : r.value === "code" ? (g(), R(Ua, Me({ key: 1 }, v, { tag: "div" }), {
9681
9681
  default: _(() => [
@@ -9684,16 +9684,16 @@ const _0 = `nodes:
9684
9684
  C(u(su))
9685
9685
  ]),
9686
9686
  default: _(() => [
9687
- K("div", x0, [
9688
- ke(J(u(t)("plugins.free-form.datakit.description_example")) + " ", 1),
9689
- (g(), B($e, null, je(kl, (w, x) => C(y, {
9687
+ F("div", x0, [
9688
+ we(J(u(t)("plugins.free-form.datakit.description_example")) + " ", 1),
9689
+ (g(), B($e, null, je(wl, (k, x) => C(y, {
9690
9690
  key: x,
9691
9691
  appearance: "secondary",
9692
9692
  size: "small",
9693
9693
  onClick: (j) => l(x)
9694
9694
  }, {
9695
9695
  default: _(() => [
9696
- ke(J(u(t)(`plugins.free-form.datakit.examples.${x}`)), 1)
9696
+ we(J(u(t)(`plugins.free-form.datakit.examples.${x}`)), 1)
9697
9697
  ]),
9698
9698
  _: 2
9699
9699
  }, 1032, ["onClick"])), 64))
@@ -9714,7 +9714,7 @@ const _0 = `nodes:
9714
9714
  }, 1040)) : he("", !0)
9715
9715
  ]),
9716
9716
  "plugin-config-description": _(() => [
9717
- K("span", { innerHTML: c.value }, null, 8, I0)
9717
+ F("span", { innerHTML: c.value }, null, 8, I0)
9718
9718
  ]),
9719
9719
  _: 2
9720
9720
  }, [
@@ -9723,12 +9723,12 @@ const _0 = `nodes:
9723
9723
  fn: _(() => [
9724
9724
  C(u(vu), {
9725
9725
  modelValue: u(a),
9726
- "onUpdate:modelValue": k[0] || (k[0] = (v) => yo(a) ? a.value = v : null),
9726
+ "onUpdate:modelValue": w[0] || (w[0] = (v) => yo(a) ? a.value = v : null),
9727
9727
  options: s
9728
9728
  }, {
9729
9729
  "option-label": _(({ option: v }) => [
9730
9730
  (g(), R(mt(o[v.value]))),
9731
- ke(" " + J(v.label), 1)
9731
+ we(" " + J(v.label), 1)
9732
9732
  ]),
9733
9733
  _: 1
9734
9734
  }, 8, ["modelValue"])
@@ -9738,7 +9738,7 @@ const _0 = `nodes:
9738
9738
  ]), 1040);
9739
9739
  };
9740
9740
  }
9741
- }), O0 = /* @__PURE__ */ ve(P0, [["__scopeId", "data-v-42a0216c"]]), fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9741
+ }), O0 = /* @__PURE__ */ ve(P0, [["__scopeId", "data-v-5dbe6213"]]), fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9742
9742
  __proto__: null,
9743
9743
  DatakitForm: O0,
9744
9744
  RequestCalloutForm: Ny,
@@ -9746,7 +9746,7 @@ const _0 = `nodes:
9746
9746
  }, Symbol.toStringTag, { value: "Module" })), $0 = { class: "kong-ui-entities-plugin-form" }, R0 = {
9747
9747
  key: 1,
9748
9748
  class: "entity-form"
9749
- }, K0 = { class: "plugin-config-empty-state" }, F0 = /* @__PURE__ */ pe({
9749
+ }, F0 = { class: "plugin-config-empty-state" }, K0 = /* @__PURE__ */ pe({
9750
9750
  __name: "PluginEntityForm",
9751
9751
  props: {
9752
9752
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -9820,12 +9820,12 @@ const _0 = `nodes:
9820
9820
  throw new Error(
9821
9821
  "Duplicate form component names found in `sharedForms` and `freeForm`"
9822
9822
  );
9823
- const a = t, r = e, { axiosInstance: o } = Ft((ye = r.config) == null ? void 0 : ye.axiosRequestConfig), { parseSchema: s } = Le.useSchemas({
9823
+ const a = t, r = e, { axiosInstance: o } = Kt((ye = r.config) == null ? void 0 : ye.axiosRequestConfig), { parseSchema: s } = Le.useSchemas({
9824
9824
  entityId: ((Ce = r.entityMap.focusedEntity) == null ? void 0 : Ce.id) || void 0,
9825
9825
  credential: r.credential,
9826
9826
  enableRedisPartial: r.enableRedisPartial,
9827
9827
  experimentalRenders: r.config.app === "konnect" ? r.config.experimentalRenders : void 0
9828
- }), { convertToDotNotation: c, unFlattenObject: f, dismissField: p, isObjectEmpty: l, unsetNullForeignKey: d } = Le.usePluginHelpers(), m = Le.useExperimentalFreeForms(), { objectsAreEqual: b } = Ci(), { i18n: { t: k } } = Lt(), y = (W, G) => {
9828
+ }), { convertToDotNotation: c, unFlattenObject: f, dismissField: p, isObjectEmpty: l, unsetNullForeignKey: d } = Le.usePluginHelpers(), m = Le.useExperimentalFreeForms(), { objectsAreEqual: b } = Ci(), { i18n: { t: w } } = Lt(), y = (W, G) => {
9829
9829
  let ne = `${r.config.apiBaseUrl}${Ne.form[r.config.app].entityGetOne}`;
9830
9830
  return r.config.app === "konnect" ? ne = ne.replace(/{controlPlaneId}/gi, r.config.controlPlaneId || "") : r.config.app === "kongManager" && (ne = ne.replace(/\/{workspace}/gi, r.config.workspace ? `/${r.config.workspace}` : "")), ne = ne.replace(/{entity}/gi, W), ne = ne.replace(/{id}/gi, G), ne;
9831
9831
  }, v = (W) => {
@@ -9854,7 +9854,7 @@ const _0 = `nodes:
9854
9854
  return (W = h.value) == null ? void 0 : W.options;
9855
9855
  }), oe = H(!1), te = H(), A = (W, G) => {
9856
9856
  oe.value = W ?? "", te.value = G;
9857
- }, F = (W) => {
9857
+ }, K = (W) => {
9858
9858
  var G;
9859
9859
  (G = te.value) == null || G.call(te, W), oe.value = !1;
9860
9860
  }, q = () => {
@@ -10028,7 +10028,7 @@ const _0 = `nodes:
10028
10028
  const ne = s(W);
10029
10029
  Object.assign(S, ne.model), I.value = {
10030
10030
  fields: (ce = (be = I.value) == null ? void 0 : be.fields) == null ? void 0 : ce.map((Ae) => ({ ...Ae, disabled: Ae.disabled || !1 }))
10031
- }, Object.assign(T, JSON.parse(JSON.stringify(ne.model))), M.value = So(ne.model.name, m), j.value = wo(ne.model.name), _e();
10031
+ }, Object.assign(T, JSON.parse(JSON.stringify(ne.model))), M.value = So(ne.model.name, m), j.value = ko(ne.model.name), _e();
10032
10032
  }, { immediate: !0, deep: !0 }), Jt(() => {
10033
10033
  var W, G;
10034
10034
  h.value = s(r.schema), Object.assign(S, ((W = h.value) == null ? void 0 : W.model) || {}), I.value = ((G = h.value) == null ? void 0 : G.schema) || {}, _e();
@@ -10036,7 +10036,7 @@ const _0 = `nodes:
10036
10036
  var be;
10037
10037
  const ne = ee("KSkeleton");
10038
10038
  return g(), B($e, null, [
10039
- K("div", $0, [
10039
+ F("div", $0, [
10040
10040
  ge.value ? (g(), R(ne, {
10041
10041
  key: 0,
10042
10042
  type: "form"
@@ -10057,7 +10057,7 @@ const _0 = `nodes:
10057
10057
  e.enableVaultSecretPicker ? {
10058
10058
  name: u(fn),
10059
10059
  fn: _((ce) => [
10060
- ce.schema.referenceable ? (g(), R(u(Fi), Me({ key: 0 }, ce, { onOpen: A }), null, 16)) : he("", !0)
10060
+ ce.schema.referenceable ? (g(), R(u(Ki), Me({ key: 0 }, ce, { onOpen: A }), null, 16)) : he("", !0)
10061
10061
  ]),
10062
10062
  key: "0"
10063
10063
  } : void 0
@@ -10075,7 +10075,7 @@ const _0 = `nodes:
10075
10075
  e.enableVaultSecretPicker ? {
10076
10076
  name: u(fn),
10077
10077
  fn: _((ce) => [
10078
- ce.schema.referenceable ? (g(), R(u(Fi), Me({ key: 0 }, ce, { onOpen: A }), null, 16)) : he("", !0)
10078
+ ce.schema.referenceable ? (g(), R(u(Ki), Me({ key: 0 }, ce, { onOpen: A }), null, 16)) : he("", !0)
10079
10079
  ]),
10080
10080
  key: "0"
10081
10081
  } : void 0
@@ -10092,7 +10092,7 @@ const _0 = `nodes:
10092
10092
  onShowNewPartialModal: G[1] || (G[1] = (ce) => W.$emit("showNewPartialModal", ce))
10093
10093
  }, De({
10094
10094
  "plugin-config-empty-state": _(() => [
10095
- K("div", K0, J(u(k)("plugins.form.grouping.plugin_configuration.empty")), 1)
10095
+ F("div", F0, J(u(w)("plugins.form.grouping.plugin_configuration.empty")), 1)
10096
10096
  ]),
10097
10097
  _: 2
10098
10098
  }, [
@@ -10108,7 +10108,7 @@ const _0 = `nodes:
10108
10108
  e.enableVaultSecretPicker ? {
10109
10109
  name: u(fn),
10110
10110
  fn: _((ce) => [
10111
- ce.schema.referenceable ? (g(), R(u(Fi), Me({ key: 0 }, ce, { onOpen: A }), null, 16)) : he("", !0)
10111
+ ce.schema.referenceable ? (g(), R(u(Ki), Me({ key: 0 }, ce, { onOpen: A }), null, 16)) : he("", !0)
10112
10112
  ]),
10113
10113
  key: "1"
10114
10114
  } : void 0
@@ -10119,12 +10119,12 @@ const _0 = `nodes:
10119
10119
  config: r.config,
10120
10120
  setup: oe.value,
10121
10121
  onCancel: G[2] || (G[2] = () => oe.value = !1),
10122
- onProceed: F
10122
+ onProceed: K
10123
10123
  }, null, 8, ["config", "setup"])
10124
10124
  ], 64);
10125
10125
  };
10126
10126
  }
10127
- }), L0 = /* @__PURE__ */ ve(F0, [["__scopeId", "data-v-780e65cb"]]), M0 = { key: 1 }, N0 = /* @__PURE__ */ pe({
10127
+ }), L0 = /* @__PURE__ */ ve(K0, [["__scopeId", "data-v-780e65cb"]]), M0 = { key: 1 }, N0 = /* @__PURE__ */ pe({
10128
10128
  __name: "PluginFormActionsWrapper",
10129
10129
  props: {
10130
10130
  teleportTarget: {
@@ -10238,7 +10238,7 @@ const _0 = `nodes:
10238
10238
  app: i.config.app,
10239
10239
  credential: i.credential,
10240
10240
  experimentalRenders: i.config.app === "konnect" ? i.config.experimentalRenders : void 0
10241
- }), { formatPluginFieldLabel: c } = Le.usePluginHelpers(), { getMessageFromError: f } = kn(), { capitalize: p } = Ai(), { objectsAreEqual: l } = Ci(), { axiosInstance: d } = Ft((ae = i.config) == null ? void 0 : ae.axiosRequestConfig), m = H(!1), b = $(() => !!i.pluginId), k = $(() => i.pluginId ? Dt.Edit : Dt.Create), y = H(void 0), v = H(void 0), w = $(() => !!(i.credential && i.config.entityId)), x = H(void 0), j = H({}), M = H(), h = H();
10241
+ }), { formatPluginFieldLabel: c } = Le.usePluginHelpers(), { getMessageFromError: f } = wn(), { capitalize: p } = Ai(), { objectsAreEqual: l } = Ci(), { axiosInstance: d } = Kt((ae = i.config) == null ? void 0 : ae.axiosRequestConfig), m = H(!1), b = $(() => !!i.pluginId), w = $(() => i.pluginId ? Dt.Edit : Dt.Create), y = H(void 0), v = H(void 0), k = $(() => !!(i.credential && i.config.entityId)), x = H(void 0), j = H({}), M = H(), h = H();
10242
10242
  ot(Es, {
10243
10243
  redisType: M,
10244
10244
  redisPath: h,
@@ -10272,14 +10272,14 @@ const _0 = `nodes:
10272
10272
  hash: "#terraform"
10273
10273
  });
10274
10274
  const oe = H(""), te = $(() => {
10275
- if (w.value) {
10276
- let O = Ne.form[i.config.app].credential[k.value];
10275
+ if (k.value) {
10276
+ let O = Ne.form[i.config.app].credential[w.value];
10277
10277
  return O = O.replace(/{resourceEndpoint}/gi, z.value), O;
10278
10278
  }
10279
10279
  return i.config.entityType && i.config.entityId ? Ne.form[i.config.app].edit.forEntity.replace(/{entityType}/gi, i.config.entityType).replace(/{entityId}/gi, i.config.entityId) : Ne.form[i.config.app].edit.all;
10280
10280
  }), A = () => {
10281
10281
  m.value = !m.value;
10282
- }, F = $(() => {
10282
+ }, K = $(() => {
10283
10283
  var me, ie, de, Ie, Pe, Y, V, dt;
10284
10284
  const O = i.config.entityType === "consumers" && i.config.entityId || ((ie = (me = x.value) == null ? void 0 : me.consumer) == null ? void 0 : ie.id), U = i.config.entityType === "consumer_groups" && i.config.entityId || ((Ie = (de = x.value) == null ? void 0 : de.consumer_group) == null ? void 0 : Ie.id), E = i.config.entityType === "services" && i.config.entityId || ((Y = (Pe = x.value) == null ? void 0 : Pe.service) == null ? void 0 : Y.id), re = i.config.entityType === "routes" && i.config.entityId || ((dt = (V = x.value) == null ? void 0 : V.route) == null ? void 0 : dt.id);
10285
10285
  if (!(O || U || E || re))
@@ -10339,7 +10339,7 @@ const _0 = `nodes:
10339
10339
  },
10340
10340
  // plugin scoping
10341
10341
  selectionGroup: {
10342
- type: i.hideScopeSelection && (i.hideScopeSelection || k.value === Dt.Create && i.config.entityId) ? "foreign" : "selectionGroup",
10342
+ type: i.hideScopeSelection && (i.hideScopeSelection || w.value === Dt.Create && i.config.entityId) ? "foreign" : "selectionGroup",
10343
10343
  disabled: i.disableScopeSelection,
10344
10344
  inputType: "hidden",
10345
10345
  styleClasses: "hide-label",
@@ -10422,24 +10422,24 @@ const _0 = `nodes:
10422
10422
  }, E) : Q(V, Y, E);
10423
10423
  if (E[V] = { id: V, model: Pe }, E[V].type = Y.type === "boolean" ? "checkbox" : "input", E[V].required = Y.required, E[V].referenceable = Y.referenceable, V.startsWith("config-"))
10424
10424
  if (!re && Y.type === "array" && (oe.value = V), re && oe.value && V.startsWith(oe.value)) {
10425
- const we = V.slice(oe.value.length + 1);
10426
- E[V].label = we.split("-").map(c).join(".");
10425
+ const ke = V.slice(oe.value.length + 1);
10426
+ E[V].label = ke.split("-").map(c).join(".");
10427
10427
  } else
10428
10428
  E[V].label = c(V);
10429
10429
  if ((O === "config" || O.startsWith("config-")) && (En = Z[Pe]) != null && En.description && (E[V].help = oi.parse(Z[Pe].description, { mangle: !1, headerIds: !1 })), Y.type === "map") {
10430
10430
  if (E[V].type = "object-advanced", E[V].values = Y.values, Y.values.type === "array") {
10431
- const { type: we } = Y.values.elements || {};
10431
+ const { type: ke } = Y.values.elements || {};
10432
10432
  E[V].schema = {
10433
10433
  fields: [{
10434
10434
  schema: {
10435
10435
  fields: [{
10436
- ...Fe,
10436
+ ...Ke,
10437
10437
  model: V,
10438
- valueArrayType: we === "integer" ? "number" : we || "string",
10438
+ valueArrayType: ke === "integer" ? "number" : ke || "string",
10439
10439
  inputAttributes: {
10440
- ...Fe.inputAttributes,
10441
- type: we === "integer" ? "number" : "text",
10442
- inputMode: we === "integer" ? "numeric" : "text"
10440
+ ...Ke.inputAttributes,
10441
+ type: ke === "integer" ? "number" : "text",
10442
+ inputMode: ke === "integer" ? "numeric" : "text"
10443
10443
  }
10444
10444
  }]
10445
10445
  }
@@ -10451,14 +10451,14 @@ const _0 = `nodes:
10451
10451
  type: "object",
10452
10452
  model: "object",
10453
10453
  schema: {
10454
- fields: Y.values.fields.map((we) => {
10455
- const ze = Object.keys(we)[0];
10454
+ fields: Y.values.fields.map((ke) => {
10455
+ const ze = Object.keys(ke)[0];
10456
10456
  return {
10457
10457
  model: ze,
10458
10458
  type: "input",
10459
10459
  label: p(ze),
10460
10460
  placeholder: ze,
10461
- inputType: we[ze].type
10461
+ inputType: ke[ze].type
10462
10462
  };
10463
10463
  })
10464
10464
  }
@@ -10470,25 +10470,25 @@ const _0 = `nodes:
10470
10470
  if (Y.enum && Y.type === "array" && (E[V].type = "checklist", E[V].values = Y.enum, E[V].multi = !0, E[V].multiSelect = !0), Y.one_of && Y.type !== "array" && (E[V].type = "select", E[V].values = Y.one_of, E[V].selectOptions = {
10471
10471
  noneSelectedText: r("plugins.form.no_selection")
10472
10472
  }), Y.elements && Y.type === "array") {
10473
- const we = Y.elements;
10474
- if (E[V].referenceable = we.referenceable, E[V].elements = we, ["string", "integer", "number"].includes(we.type) && !we.one_of) {
10475
- const { id: ze, help: qe, label: Se, hint: Je, values: ft, referenceable: Nt, model: jt } = E[V], { inputAttributes: ti, ...Al } = JSON.parse(JSON.stringify(Fe));
10476
- ti.type = we.type === "string" ? "text" : "number", E[V] = { id: ze, help: qe, label: Se, hint: Je, values: ft, referenceable: Nt, model: jt, inputAttributes: ti, ...Al };
10473
+ const ke = Y.elements;
10474
+ if (E[V].referenceable = ke.referenceable, E[V].elements = ke, ["string", "integer", "number"].includes(ke.type) && !ke.one_of) {
10475
+ const { id: ze, help: qe, label: Se, hint: Je, values: ft, referenceable: Nt, model: jt } = E[V], { inputAttributes: ti, ...Al } = JSON.parse(JSON.stringify(Ke));
10476
+ ti.type = ke.type === "string" ? "text" : "number", E[V] = { id: ze, help: qe, label: Se, hint: Je, values: ft, referenceable: Nt, model: jt, inputAttributes: ti, ...Al };
10477
10477
  }
10478
10478
  }
10479
- if (Y.hint && (E[V].hint = Y.hint), me && !me.overwriteDefault && Object.keys(me).forEach((we) => {
10480
- if (we === V) {
10481
- const { help: ze, label: qe, hint: Se, values: Je, referenceable: ft, elements: Nt } = E[V], { help: jt, ...ti } = me[we];
10479
+ if (Y.hint && (E[V].hint = Y.hint), me && !me.overwriteDefault && Object.keys(me).forEach((ke) => {
10480
+ if (ke === V) {
10481
+ const { help: ze, label: qe, hint: Se, values: Je, referenceable: ft, elements: Nt } = E[V], { help: jt, ...ti } = me[ke];
10482
10482
  E[V] = { help: ze, label: qe, hint: Se, values: Je, referenceable: ft, elements: Nt, ...ti }, typeof jt == "string" && (E[V].help = oi.parse(jt, { mangle: !1, headerIds: !1 }));
10483
10483
  }
10484
10484
  }), Y.type === "array" && ((Sn = Y.elements) == null ? void 0 : Sn.type) === "record" && Array.isArray(Y.elements.fields)) {
10485
- let we = {};
10485
+ let ke = {};
10486
10486
  for (const qe of Y.elements.fields)
10487
- we = { ...we, ...qe };
10487
+ ke = { ...ke, ...qe };
10488
10488
  const ze = (Pn = (In = (xn = E[V]) == null ? void 0 : xn.items) == null ? void 0 : In.schema) == null ? void 0 : Pn.fields;
10489
10489
  if (Array.isArray(ze))
10490
10490
  for (const qe of E[V].items.schema.fields) {
10491
- const Se = (On = we[qe.model]) == null ? void 0 : On.description;
10491
+ const Se = (On = ke[qe.model]) == null ? void 0 : On.description;
10492
10492
  qe.help === void 0 && typeof Se == "string" && (qe.help = oi.parse(Se, { mangle: !1, headerIds: !1 }));
10493
10493
  }
10494
10494
  if (ze || (E[V].type = "array", E[V].newElementButtonLabelClasses = "kong-form-new-element-button-label", E[V].fieldClasses = "array-card-container-wrapper", E[V].itemContainerComponent = "FieldArrayCardContainer", E[V].items = {
@@ -10526,12 +10526,12 @@ const _0 = `nodes:
10526
10526
  };
10527
10527
  }
10528
10528
  }
10529
- if (w.value && ie) {
10530
- for (let we = 0; we < ie.length; we++)
10531
- if (ie[we][V]) {
10529
+ if (k.value && ie) {
10530
+ for (let ke = 0; ke < ie.length; ke++)
10531
+ if (ie[ke][V]) {
10532
10532
  E[V] = {
10533
10533
  ...E[V],
10534
- ...ie[we][V]
10534
+ ...ie[ke][V]
10535
10535
  };
10536
10536
  break;
10537
10537
  }
@@ -10540,15 +10540,15 @@ const _0 = `nodes:
10540
10540
  hideNoneSelectedText: !0
10541
10541
  }), Y.required && Y.type === "boolean" && (E[V].default = Y.default ?? !1), Y.default != null && typeof Y.default != "object" && Y.default !== "function" && (E[V].default = Y.default), E[V].type === "input") {
10542
10542
  ["string", "number"].includes(typeof E[V].default) && i.config.app === "konnect" && (E[V].placeholder = `Default: ${E[V].default === "" ? "<empty string>" : E[V].default}`);
10543
- const { type: we } = Y.elements || {};
10544
- we && (E[V].valueArrayType = we === "integer" ? "number" : we), E[V].inputType = Y.type === "array" || Y.type === "string" ? Y.encrypted ? "password" : "text" : Y.type;
10543
+ const { type: ke } = Y.elements || {};
10544
+ ke && (E[V].valueArrayType = ke === "integer" ? "number" : ke), E[V].inputType = Y.type === "array" || Y.type === "string" ? Y.encrypted ? "password" : "text" : Y.type;
10545
10545
  }
10546
10546
  let dt = "string";
10547
10547
  Y.enum ? dt = le(Y.enum) : Y.type === "boolean" ? dt = "boolean" : Y.type === "number" || Y.type === "integer" ? (dt = "number", E[V].inputType = "number") : Y.type === "array" ? (dt = "array", E[V].default = Y.default, Y.len_min > 0 && (E[V].submitWhenNull = !0)) : Y.type === "foreign" ? dt = "object" : Y.default && Array.isArray(Y.default) ? (dt = "array", E[V].valueArrayType = le(Y.default)) : Y.default && (dt = typeof Y.default), E[V].valueType = dt, Y.fieldNameHasDashes && (E[V].fieldNameHasDashes = !0);
10548
10548
  }), E;
10549
10549
  }, N = () => {
10550
- var Pe, Y, V, dt, Tn, En, Sn, xn, In, Pn, On, we;
10551
- const O = ((Pe = Et[i.pluginType]) == null ? void 0 : Pe.scope.includes(Qe.SERVICE)) ?? !0, U = ((Y = Et[i.pluginType]) == null ? void 0 : Y.scope.includes(Qe.ROUTE)) ?? !0, E = ((V = Et[i.pluginType]) == null ? void 0 : V.scope.includes(Qe.CONSUMER)) ?? !0, re = i.config.disableConsumerGroupScope ? !1 : ((dt = Et[i.pluginType]) == null ? void 0 : dt.scope.includes(Qe.CONSUMER_GROUP)) ?? !0, Z = i.config.entityType === "consumers" && !!i.config.entityId || !!((En = (Tn = x.value) == null ? void 0 : Tn.consumer) != null && En.id), me = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((xn = (Sn = x.value) == null ? void 0 : Sn.consumer_group) != null && xn.id), ie = i.config.entityType === "services" && !!i.config.entityId || !!((Pn = (In = x.value) == null ? void 0 : In.service) != null && Pn.id), de = i.config.entityType === "routes" && !!i.config.entityId || !!((we = (On = x.value) == null ? void 0 : On.route) != null && we.id), Ie = [];
10550
+ var Pe, Y, V, dt, Tn, En, Sn, xn, In, Pn, On, ke;
10551
+ const O = ((Pe = Et[i.pluginType]) == null ? void 0 : Pe.scope.includes(Qe.SERVICE)) ?? !0, U = ((Y = Et[i.pluginType]) == null ? void 0 : Y.scope.includes(Qe.ROUTE)) ?? !0, E = ((V = Et[i.pluginType]) == null ? void 0 : V.scope.includes(Qe.CONSUMER)) ?? !0, re = i.config.disableConsumerGroupScope ? !1 : ((dt = Et[i.pluginType]) == null ? void 0 : dt.scope.includes(Qe.CONSUMER_GROUP)) ?? !0, Z = i.config.entityType === "consumers" && !!i.config.entityId || !!((En = (Tn = x.value) == null ? void 0 : Tn.consumer) != null && En.id), me = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((xn = (Sn = x.value) == null ? void 0 : Sn.consumer_group) != null && xn.id), ie = i.config.entityType === "services" && !!i.config.entityId || !!((Pn = (In = x.value) == null ? void 0 : In.service) != null && Pn.id), de = i.config.entityType === "routes" && !!i.config.entityId || !!((ke = (On = x.value) == null ? void 0 : On.route) != null && ke.id), Ie = [];
10552
10552
  if (O && Ie.push({
10553
10553
  id: "service-id",
10554
10554
  model: "service-id",
@@ -10622,7 +10622,7 @@ const _0 = `nodes:
10622
10622
  }), q.selectionGroup.fields[1].fields = Ie;
10623
10623
  }
10624
10624
  o[i.pluginType] && o[i.pluginType].overwriteDefault && Object.hasOwnProperty.call(o[i.pluginType], "formSchema") && Object.assign(q, o[i.pluginType].formSchema);
10625
- }, P = $(() => !l(S.fields, T, !0)), D = $(() => !ct.value && !I.value && (k.value === Dt.Create || P.value)), ge = H(!1), _e = H(), ye = (O) => {
10625
+ }, P = $(() => !l(S.fields, T, !0)), D = $(() => !ct.value && !I.value && (w.value === Dt.Create || P.value)), ge = H(!1), _e = H(), ye = (O) => {
10626
10626
  i.credential && O.password && (O.password = ""), S.fields.id = (O == null ? void 0 : O.id) || void 0, _e.value = O == null ? void 0 : O.ordering, Object.assign(T, S.fields), x.value = O, ge.value = !0;
10627
10627
  }, Ce = H({}), W = (O) => {
10628
10628
  var U;
@@ -10634,9 +10634,9 @@ const _0 = `nodes:
10634
10634
  }, G = H(/* @__PURE__ */ new Map()), ne = $(() => [S.clientErrorMessage, S.serverErrorMessage].filter(Boolean).join("; ")), be = (O) => {
10635
10635
  O.valid ? G.value.delete(O.model) : G.value.set(O.model, O.error), S.clientErrorMessage = [...G.value.entries()].map(([U, E]) => `${U}: ${typeof E == "string" ? E : f(E)}`).join("; "), S.clientErrorMessage && (S.serverErrorMessage = "");
10636
10636
  };
10637
- Ve([F, ge], (O, U) => {
10637
+ Ve([K, ge], (O, U) => {
10638
10638
  const E = O[0] !== U[0], re = O[1], Z = U[1];
10639
- if (!w.value && k.value === Dt.Edit && (E || re && re !== Z)) {
10639
+ if (!k.value && w.value === Dt.Edit && (E || re && re !== Z)) {
10640
10640
  const me = Q("config", j.value, q);
10641
10641
  ut.value && (me._isCustomPlugin = !0), M.value && (me._supported_redis_partial_type = M.value), v.value = me;
10642
10642
  }
@@ -10647,12 +10647,12 @@ const _0 = `nodes:
10647
10647
  let O = `${i.config.apiBaseUrl}${Ne.form[i.config.app].validate}`;
10648
10648
  return i.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), O = O.replace(/{id}/gi, i.pluginId), O;
10649
10649
  }), lt = $(() => {
10650
- const O = i.config.entityType && i.config.entityId && !i.developer, U = w.value ? Ne.form[i.config.app].credential[k.value] : Ne.form[i.config.app][k.value][O ? "forEntity" : "all"];
10650
+ const O = i.config.entityType && i.config.entityId && !i.developer, U = k.value ? Ne.form[i.config.app].credential[w.value] : Ne.form[i.config.app][w.value][O ? "forEntity" : "all"];
10651
10651
  let E = `${i.config.apiBaseUrl}${U}`;
10652
10652
  return i.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), E = E.replace(/{resourceEndpoint}/gi, z.value), E = E.replace(/{id}/gi, i.pluginId), E = E.replace(/{entityType}/gi, i.config.entityType || ""), E = E.replace(/{entityId}/gi, i.config.entityId || ""), E;
10653
10653
  }), ut = $(() => !Object.keys(Et).includes(i.pluginType)), xe = $(() => {
10654
10654
  const O = Ce.value;
10655
- if (w.value) {
10655
+ if (k.value) {
10656
10656
  for (const U in Qe) {
10657
10657
  const E = Qe[U];
10658
10658
  O[E] && !O[E].id && (O[E] = { id: i.config.entityId });
@@ -10671,7 +10671,7 @@ const _0 = `nodes:
10671
10671
  model: S.fields,
10672
10672
  payload: U,
10673
10673
  schema: v.value
10674
- }), !w.value && !ut.value && await d.post(Ae.value, U), k.value === "create" ? O = await d.post(lt.value, U) : k.value === "edit" && (O = i.config.app === "konnect" || M.value && U.partials ? await d.put(lt.value, Object.assign({ ordering: _e.value }, U)) : await d.patch(lt.value, U)), Object.assign(T, S.fields), n("update", O == null ? void 0 : O.data);
10674
+ }), !k.value && !ut.value && await d.post(Ae.value, U), w.value === "create" ? O = await d.post(lt.value, U) : w.value === "edit" && (O = i.config.app === "konnect" || M.value && U.partials ? await d.put(lt.value, Object.assign({ ordering: _e.value }, U)) : await d.patch(lt.value, U)), Object.assign(T, S.fields), n("update", O == null ? void 0 : O.data);
10675
10675
  } catch (O) {
10676
10676
  S.serverErrorMessage = f(O), n("error", O);
10677
10677
  } finally {
@@ -10679,7 +10679,7 @@ const _0 = `nodes:
10679
10679
  }
10680
10680
  }, ue = $(() => {
10681
10681
  var re;
10682
- const O = w.value ? (re = ln[i.pluginType]) == null ? void 0 : re.schemaEndpoint : i.pluginType, U = w.value ? Ne.form[i.config.app].credentialSchema : Ne.form[i.config.app].pluginSchema;
10682
+ const O = k.value ? (re = ln[i.pluginType]) == null ? void 0 : re.schemaEndpoint : i.pluginType, U = k.value ? Ne.form[i.config.app].credentialSchema : Ne.form[i.config.app].pluginSchema;
10683
10683
  let E = `${i.config.apiBaseUrl}${U}`;
10684
10684
  return i.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), E = E.replace(/{plugin}/gi, O), E;
10685
10685
  }), Tt = H(""), ct = H(!1), X = H("");
@@ -10687,13 +10687,13 @@ const _0 = `nodes:
10687
10687
  var O, U, E, re;
10688
10688
  ct.value = !0;
10689
10689
  try {
10690
- if (w.value && i.config.app === "konnect") {
10690
+ if (k.value && i.config.app === "konnect") {
10691
10691
  const Z = (O = ln[i.pluginType]) == null ? void 0 : O.schemaEndpoint, me = lc[Z];
10692
10692
  Tt.value = Z, v.value = Q("", me, {}), ct.value = !1;
10693
10693
  } else {
10694
10694
  const Z = i.schema ?? (await d.get(ue.value)).data;
10695
10695
  if (y.value = Z, Z)
10696
- if (w.value)
10696
+ if (k.value)
10697
10697
  v.value = Q("", Z, {}), ct.value = !1;
10698
10698
  else {
10699
10699
  const me = Z.fields.find((de) => de.config);
@@ -10705,7 +10705,7 @@ const _0 = `nodes:
10705
10705
  protocols: de.join(", ")
10706
10706
  }) : r("plugins.form.fields.protocols.placeholder"), (re = Ie.one_of) != null && re.length && (q.protocols.values = Ie.one_of.map((Pe) => ({ label: Pe, value: Pe })));
10707
10707
  }
10708
- if (ge.value || k.value === Dt.Create) {
10708
+ if (ge.value || w.value === Dt.Create) {
10709
10709
  const de = Q("config", j.value, q);
10710
10710
  M.value && (de._supported_redis_partial_type = M.value), ut.value && (de._isCustomPlugin = !0), v.value = de;
10711
10711
  }
@@ -10729,7 +10729,7 @@ const _0 = `nodes:
10729
10729
  "icon-variant": "error"
10730
10730
  }, {
10731
10731
  default: _(() => [
10732
- K("h3", null, J(u(r)("errors.load_schema")), 1)
10732
+ F("h3", null, J(u(r)("errors.load_schema")), 1)
10733
10733
  ]),
10734
10734
  _: 1
10735
10735
  })) : (g(), R(u(Pl), {
@@ -10755,7 +10755,7 @@ const _0 = `nodes:
10755
10755
  "teleport-target": e.actionsTeleportTarget
10756
10756
  }, {
10757
10757
  default: _(() => [
10758
- K("div", q0, [
10758
+ F("div", q0, [
10759
10759
  e.hideViewConfigAction ? he("", !0) : (g(), R(Z, {
10760
10760
  key: 0,
10761
10761
  appearance: "tertiary",
@@ -10763,7 +10763,7 @@ const _0 = `nodes:
10763
10763
  onClick: U[3] || (U[3] = (de) => A())
10764
10764
  }, {
10765
10765
  default: _(() => [
10766
- ke(J(u(r)("actions.view_configuration")), 1)
10766
+ we(J(u(r)("actions.view_configuration")), 1)
10767
10767
  ]),
10768
10768
  _: 1
10769
10769
  }, 8, ["data-testid"])),
@@ -10775,7 +10775,7 @@ const _0 = `nodes:
10775
10775
  onClick: ce
10776
10776
  }, {
10777
10777
  default: _(() => [
10778
- ke(J(u(r)("actions.cancel")), 1)
10778
+ we(J(u(r)("actions.cancel")), 1)
10779
10779
  ]),
10780
10780
  _: 1
10781
10781
  }, 8, ["data-testid", "disabled"]),
@@ -10787,7 +10787,7 @@ const _0 = `nodes:
10787
10787
  onClick: Te
10788
10788
  }, {
10789
10789
  default: _(() => [
10790
- ke(J(u(r)("actions.save")), 1)
10790
+ we(J(u(r)("actions.save")), 1)
10791
10791
  ]),
10792
10792
  _: 1
10793
10793
  }, 8, ["data-testid", "disabled"])
@@ -10797,17 +10797,17 @@ const _0 = `nodes:
10797
10797
  }, 8, ["teleport-target"]))
10798
10798
  ]),
10799
10799
  default: _(() => [
10800
- K("form", {
10800
+ F("form", {
10801
10801
  hidden: "",
10802
10802
  onSubmit: Te
10803
10803
  }, null, 32),
10804
10804
  C(L0, {
10805
10805
  config: e.config,
10806
- credential: w.value,
10807
- editing: k.value === u(Dt).Edit,
10806
+ credential: k.value,
10807
+ editing: w.value === u(Dt).Edit,
10808
10808
  "enable-redis-partial": e.enableRedisPartial,
10809
10809
  "enable-vault-secret-picker": i.enableVaultSecretPicker,
10810
- "entity-map": F.value,
10810
+ "entity-map": K.value,
10811
10811
  "raw-schema": y.value,
10812
10812
  record: x.value,
10813
10813
  schema: v.value,
@@ -10830,7 +10830,7 @@ const _0 = `nodes:
10830
10830
  onClose: A
10831
10831
  }, {
10832
10832
  default: _(() => [
10833
- K("div", null, J(u(r)("view_configuration.message")), 1),
10833
+ F("div", null, J(u(r)("view_configuration.message")), 1),
10834
10834
  C(me, {
10835
10835
  "data-testid": "form-view-configuration-slideout-tabs",
10836
10836
  tabs: fe.value
@@ -10861,7 +10861,7 @@ const _0 = `nodes:
10861
10861
  ]);
10862
10862
  };
10863
10863
  }
10864
- }), Zk = /* @__PURE__ */ ve(U0, [["__scopeId", "data-v-420ab237"]]), B0 = { class: "kong-ui-entities-plugins-list" }, V0 = { class: "button-row" }, H0 = { class: "empty-state-icon-gateway" }, G0 = { class: "name-cell-wrapper" }, z0 = { class: "info-wrapper" }, W0 = {
10864
+ }), Zw = /* @__PURE__ */ ve(U0, [["__scopeId", "data-v-420ab237"]]), B0 = { class: "kong-ui-entities-plugins-list" }, V0 = { class: "button-row" }, H0 = { class: "empty-state-icon-gateway" }, G0 = { class: "name-cell-wrapper" }, z0 = { class: "info-wrapper" }, W0 = {
10865
10865
  key: 0,
10866
10866
  class: "info-name"
10867
10867
  }, Y0 = {
@@ -10951,13 +10951,13 @@ const _0 = `nodes:
10951
10951
  emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
10952
10952
  setup(e, { emit: t }) {
10953
10953
  var Tt, ct;
10954
- const n = Le.usePluginMetaData(), i = t, a = e, { i18n: { t: r } } = Le.useI18n(), o = Ti(), { axiosInstance: s } = Ft((Tt = a.config) == null ? void 0 : Tt.axiosRequestConfig), { hasRecords: c, handleStateChange: f } = Kl(() => j.value), p = $(() => c.value && a.config.app === "konnect"), l = $(() => !a.enableV2EmptyStates && a.config.app === "konnect"), d = $(() => !!a.config.entityId), m = $(() => {
10954
+ const n = Le.usePluginMetaData(), i = t, a = e, { i18n: { t: r } } = Le.useI18n(), o = Ti(), { axiosInstance: s } = Kt((Tt = a.config) == null ? void 0 : Tt.axiosRequestConfig), { hasRecords: c, handleStateChange: f } = Fl(() => j.value), p = $(() => c.value && a.config.app === "konnect"), l = $(() => !a.enableV2EmptyStates && a.config.app === "konnect"), d = $(() => !!a.config.entityId), m = $(() => {
10955
10955
  var X;
10956
10956
  return ((X = a.config) == null ? void 0 : X.entityType) === "consumers";
10957
10957
  }), b = $(() => {
10958
10958
  var X;
10959
10959
  return ((X = a.config) == null ? void 0 : X.entityType) === "consumer_groups";
10960
- }), k = a.config.app === "konnect" || Fl({
10960
+ }), w = a.config.app === "konnect" || Kl({
10961
10961
  gatewayInfo: a.config.gatewayInfo,
10962
10962
  // dynamic ordering is not supported in Gateway Community Edition or before Gateway Enterprise Edition 3.0
10963
10963
  supportedRange: {
@@ -10967,8 +10967,8 @@ const _0 = `nodes:
10967
10967
  // the Name column is non-hidable
10968
10968
  name: { label: r("plugins.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 }
10969
10969
  };
10970
- (ct = a.config) != null && ct.entityId || (v.appliedTo = { label: r("plugins.list.table_headers.applied_to"), sortable: !1 }), v.enabled = { label: r("plugins.list.table_headers.enabled"), searchable: !0, sortable: !0 }, k && (v.ordering = { label: r("plugins.list.table_headers.ordering"), sortable: !0 }), v.tags = { label: r("plugins.list.table_headers.tags"), sortable: !1 };
10971
- const w = v, x = $(() => {
10970
+ (ct = a.config) != null && ct.entityId || (v.appliedTo = { label: r("plugins.list.table_headers.applied_to"), sortable: !1 }), v.enabled = { label: r("plugins.list.table_headers.enabled"), searchable: !0, sortable: !0 }, w && (v.ordering = { label: r("plugins.list.table_headers.ordering"), sortable: !0 }), v.tags = { label: r("plugins.list.table_headers.tags"), sortable: !1 };
10971
+ const k = v, x = $(() => {
10972
10972
  var ae, O, U, E;
10973
10973
  let X = a.config.entityType ? `${a.config.apiBaseUrl}${Ne.list[a.config.app].forEntity}` : `${a.config.apiBaseUrl}${Ne.list[a.config.app].all}`;
10974
10974
  return a.config.app === "konnect" ? X = X.replace(/{controlPlaneId}/gi, ((ae = a.config) == null ? void 0 : ae.controlPlaneId) || "") : a.config.app === "kongManager" && (X = X.replace(/\/{workspace}/gi, (O = a.config) != null && O.workspace ? `/${a.config.workspace}` : "")), X.replace(/{entityType}/gi, ((U = a.config) == null ? void 0 : U.entityType) || "").replace(/{entityId}/gi, ((E = a.config) == null ? void 0 : E.entityId) || "");
@@ -11003,7 +11003,7 @@ const _0 = `nodes:
11003
11003
  }, A = async (X, ae) => {
11004
11004
  var O;
11005
11005
  return X === null ? !1 : await ((O = a.canRetrieveScopedEntity) == null ? void 0 : O.call(a, X, ae.id));
11006
- }, F = (X, ae) => {
11006
+ }, K = (X, ae) => {
11007
11007
  var U, E, re, Z, me;
11008
11008
  let O = null;
11009
11009
  switch (X) {
@@ -11140,7 +11140,7 @@ const _0 = `nodes:
11140
11140
  "pagination-type": "offset",
11141
11141
  "preferences-storage-key": "kong-ui-entities-plugins-list",
11142
11142
  query: j.value,
11143
- "table-headers": u(w),
11143
+ "table-headers": u(k),
11144
11144
  title: e.title,
11145
11145
  "title-tag": e.titleTag,
11146
11146
  onClearSearchInput: S,
@@ -11160,7 +11160,7 @@ const _0 = `nodes:
11160
11160
  disabled: !e.useActionOutside,
11161
11161
  to: "#kong-ui-app-page-header-action-button"
11162
11162
  }, [
11163
- K("div", V0, [
11163
+ F("div", V0, [
11164
11164
  !d.value && p.value ? (g(), R(O, {
11165
11165
  key: 0,
11166
11166
  appearance: "secondary",
@@ -11185,8 +11185,8 @@ const _0 = `nodes:
11185
11185
  to: e.config.createRoute
11186
11186
  }, {
11187
11187
  default: _(() => [
11188
- C(u(wn)),
11189
- ke(" " + J(u(r)("plugins.list.toolbar_actions.new_plugin")), 1)
11188
+ C(u(kn)),
11189
+ we(" " + J(u(r)("plugins.list.toolbar_actions.new_plugin")), 1)
11190
11190
  ]),
11191
11191
  _: 1
11192
11192
  }, 8, ["size", "to"])
@@ -11197,13 +11197,13 @@ const _0 = `nodes:
11197
11197
  ], 8, ["disabled"]))
11198
11198
  ]),
11199
11199
  name: _(({ row: ie }) => [
11200
- K("div", G0, [
11200
+ F("div", G0, [
11201
11201
  C(u(ba), {
11202
11202
  class: "plugin-icon",
11203
11203
  name: ie.name,
11204
11204
  size: 24
11205
11205
  }, null, 8, ["name"]),
11206
- K("div", z0, [
11206
+ F("div", z0, [
11207
11207
  ie.instance_name ? (g(), B("span", W0, J(ie.instance_name), 1)) : (g(), B("span", Y0, J(u(n).getDisplayName(ie.name)), 1)),
11208
11208
  ie.instance_name ? (g(), B("span", J0, J(u(n).getDisplayName(ie.name)), 1)) : he("", !0)
11209
11209
  ])
@@ -11220,10 +11220,10 @@ const _0 = `nodes:
11220
11220
  default: _(({ isAllowed: Ie }) => [
11221
11221
  C(U, {
11222
11222
  class: yt(Ie || "disabled"),
11223
- onClick: gt((Pe) => Ie && de.type && F(de.type, ie), ["stop"])
11223
+ onClick: gt((Pe) => Ie && de.type && K(de.type, ie), ["stop"])
11224
11224
  }, {
11225
11225
  default: _(() => [
11226
- ke(J(de.badgeText), 1)
11226
+ we(J(de.badgeText), 1)
11227
11227
  ]),
11228
11228
  _: 2
11229
11229
  }, 1032, ["class", "onClick"])
@@ -11242,7 +11242,7 @@ const _0 = `nodes:
11242
11242
  default: _(({ isAllowed: de }) => {
11243
11243
  var Ie, Pe;
11244
11244
  return [
11245
- K("div", {
11245
+ F("div", {
11246
11246
  onClick: ae[4] || (ae[4] = gt(() => {
11247
11247
  }, ["stop"]))
11248
11248
  }, [
@@ -11263,7 +11263,7 @@ const _0 = `nodes:
11263
11263
  appearance: u(Mr)(ie) ? "info" : "warning"
11264
11264
  }, {
11265
11265
  default: _(() => [
11266
- ke(J(u(Mr)(ie) ? u(r)("plugins.list.table_headers.ordering_badge.static") : u(r)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
11266
+ we(J(u(Mr)(ie) ? u(r)("plugins.list.table_headers.ordering_badge.static") : u(r)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
11267
11267
  ]),
11268
11268
  _: 2
11269
11269
  }, 1032, ["appearance"])
@@ -11279,7 +11279,7 @@ const _0 = `nodes:
11279
11279
  onClick: (Ie) => D(ie, de)
11280
11280
  }, {
11281
11281
  default: _(() => [
11282
- ke(J(u(r)("actions.copy_id")), 1)
11282
+ we(J(u(r)("actions.copy_id")), 1)
11283
11283
  ]),
11284
11284
  _: 2
11285
11285
  }, 1032, ["onClick"])
@@ -11293,7 +11293,7 @@ const _0 = `nodes:
11293
11293
  onClick: (Ie) => ge(ie, de)
11294
11294
  }, {
11295
11295
  default: _(() => [
11296
- ke(J(u(r)("actions.copy_json")), 1)
11296
+ we(J(u(r)("actions.copy_json")), 1)
11297
11297
  ]),
11298
11298
  _: 2
11299
11299
  }, 1032, ["onClick"])
@@ -11323,7 +11323,7 @@ const _0 = `nodes:
11323
11323
  ]),
11324
11324
  _: 2
11325
11325
  }, 1032, ["auth-function"]),
11326
- !m.value && !b.value && u(k) ? (g(), R(u(qt), {
11326
+ !m.value && !b.value && u(w) ? (g(), R(u(qt), {
11327
11327
  key: 0,
11328
11328
  "auth-function": () => e.canConfigureDynamicOrdering(ie)
11329
11329
  }, {
@@ -11347,7 +11347,7 @@ const _0 = `nodes:
11347
11347
  onClick: (de) => lt(ie)
11348
11348
  }, {
11349
11349
  default: _(() => [
11350
- ke(J(u(r)("actions.delete")), 1)
11350
+ we(J(u(r)("actions.delete")), 1)
11351
11351
  ]),
11352
11352
  _: 2
11353
11353
  }, 1032, ["onClick"])
@@ -11397,7 +11397,7 @@ const _0 = `nodes:
11397
11397
  "onClick:learnMore": ae[3] || (ae[3] = (de) => X.$emit("click:learn-more"))
11398
11398
  }, De({
11399
11399
  image: _(() => [
11400
- K("div", H0, [
11400
+ F("div", H0, [
11401
11401
  C(u(uu), {
11402
11402
  color: u(yh),
11403
11403
  size: u(bh)
@@ -11409,7 +11409,7 @@ const _0 = `nodes:
11409
11409
  (ie = e.config) != null && ie.isControlPlaneGroup ? {
11410
11410
  name: "message",
11411
11411
  fn: _(() => [
11412
- ke(J(u(r)("plugins.list.empty_state_v2.group")), 1)
11412
+ we(J(u(r)("plugins.list.empty_state_v2.group")), 1)
11413
11413
  ]),
11414
11414
  key: "0"
11415
11415
  } : void 0
@@ -11433,7 +11433,7 @@ const _0 = `nodes:
11433
11433
  "action-pending": be.value,
11434
11434
  description: u(r)("delete.description"),
11435
11435
  "entity-name": G.value && (G.value.instance_name || G.value.name || G.value.id),
11436
- "entity-type": u(ko).Plugin,
11436
+ "entity-type": u(wo).Plugin,
11437
11437
  error: ce.value,
11438
11438
  title: u(r)("delete.title"),
11439
11439
  visible: ne.value,
@@ -11443,13 +11443,13 @@ const _0 = `nodes:
11443
11443
  ]);
11444
11444
  };
11445
11445
  }
11446
- }), ew = /* @__PURE__ */ ve(Q0, [["__scopeId", "data-v-a33ca66d"]]), Z0 = { class: "plugin-select-card-wrapper" }, ek = ["data-testid"], tk = { class: "plugin-card-header" }, nk = { class: "plugin-card-title" }, ik = {
11446
+ }), ek = /* @__PURE__ */ ve(Q0, [["__scopeId", "data-v-a33ca66d"]]), Z0 = { class: "plugin-select-card-wrapper" }, ew = ["data-testid"], tw = { class: "plugin-card-header" }, nw = { class: "plugin-card-title" }, iw = {
11447
11447
  key: 0,
11448
11448
  class: "plugin-card-actions"
11449
- }, ak = ["data-testid", "title"], rk = {
11449
+ }, aw = ["data-testid", "title"], rw = {
11450
11450
  key: 0,
11451
11451
  class: "plugin-card-text"
11452
- }, ok = { key: 0 }, sk = ["title"], lk = /* @__PURE__ */ pe({
11452
+ }, ow = { key: 0 }, sw = ["title"], lw = /* @__PURE__ */ pe({
11453
11453
  __name: "PluginSelectCard",
11454
11454
  props: {
11455
11455
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11491,35 +11491,35 @@ const _0 = `nodes:
11491
11491
  n("plugin-clicked", i.plugin);
11492
11492
  }, d = $(() => i.plugin.id === "custom-plugin-create"), m = $(() => i.config.app === "konnect" && i.plugin.group === Ee.CUSTOM_PLUGINS), b = () => {
11493
11493
  i.config.app === "konnect" && n("custom-plugin-delete");
11494
- }, k = (v, w) => {
11494
+ }, w = (v, k) => {
11495
11495
  const x = i.config;
11496
- i.config.app === "konnect" && typeof x.getCustomEditRoute == "function" && x.getCustomEditRoute && a.push(x.getCustomEditRoute(v, w));
11496
+ i.config.app === "konnect" && typeof x.getCustomEditRoute == "function" && x.getCustomEditRoute && a.push(x.getCustomEditRoute(v, k));
11497
11497
  }, y = () => {
11498
11498
  if (!s.value && i.config.app === "konnect") {
11499
11499
  const v = i.config;
11500
11500
  d.value && v.createCustomRoute ? a.push(v.createCustomRoute) : m.value && f();
11501
11501
  }
11502
11502
  };
11503
- return (v, w) => {
11503
+ return (v, k) => {
11504
11504
  const x = ee("KButton"), j = ee("KDropdownItem"), M = ee("KDropdownMenu"), h = ee("KTooltip");
11505
11505
  return g(), B("div", Z0, [
11506
11506
  C(h, {
11507
11507
  text: e.plugin.disabledMessage
11508
11508
  }, {
11509
11509
  default: _(() => [
11510
- K("a", {
11510
+ F("a", {
11511
11511
  class: yt(["plugin-select-card", { disabled: s.value }]),
11512
11512
  "data-testid": `${e.plugin.id}-card`,
11513
11513
  role: "button",
11514
- onClick: w[1] || (w[1] = (I) => s.value || m.value ? void 0 : p())
11514
+ onClick: k[1] || (k[1] = (I) => s.value || m.value ? void 0 : p())
11515
11515
  }, [
11516
- K("div", tk, [
11517
- K("div", nk, [
11518
- K("span", {
11516
+ F("div", tw, [
11517
+ F("div", nw, [
11518
+ F("span", {
11519
11519
  class: yt({ "non-custom-title": !m.value })
11520
11520
  }, J(e.plugin.name), 3)
11521
11521
  ]),
11522
- c.value ? (g(), B("div", ik, [
11522
+ c.value ? (g(), B("div", iw, [
11523
11523
  C(M, {
11524
11524
  "data-testid": "custom-plugin-actions",
11525
11525
  "kpop-attributes": { placement: "bottom-end" },
@@ -11543,10 +11543,10 @@ const _0 = `nodes:
11543
11543
  e.canDeleteCustomPlugin ? (g(), R(j, {
11544
11544
  key: 0,
11545
11545
  "data-testid": "edit-plugin-schema",
11546
- onClick: w[0] || (w[0] = gt((I) => k(e.plugin.name, e.plugin.customPluginType), ["stop"]))
11546
+ onClick: k[0] || (k[0] = gt((I) => w(e.plugin.name, e.plugin.customPluginType), ["stop"]))
11547
11547
  }, {
11548
11548
  default: _(() => [
11549
- ke(J(u(r)("actions.edit")), 1)
11549
+ we(J(u(r)("actions.edit")), 1)
11550
11550
  ]),
11551
11551
  _: 1
11552
11552
  })) : he("", !0),
@@ -11558,7 +11558,7 @@ const _0 = `nodes:
11558
11558
  onClick: gt(b, ["stop"])
11559
11559
  }, {
11560
11560
  default: _(() => [
11561
- ke(J(u(r)("actions.delete")), 1)
11561
+ we(J(u(r)("actions.delete")), 1)
11562
11562
  ]),
11563
11563
  _: 1
11564
11564
  })) : he("", !0)
@@ -11567,7 +11567,7 @@ const _0 = `nodes:
11567
11567
  })
11568
11568
  ])) : he("", !0)
11569
11569
  ]),
11570
- K("div", {
11570
+ F("div", {
11571
11571
  class: yt(["plugin-card-body", { "custom-plugin": m.value }]),
11572
11572
  "data-testid": e.plugin.name,
11573
11573
  title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip"),
@@ -11579,27 +11579,27 @@ const _0 = `nodes:
11579
11579
  name: e.plugin.id,
11580
11580
  size: 55
11581
11581
  }, null, 8, ["alt", "name"]),
11582
- e.plugin.description || m.value && !d.value ? (g(), B("div", rk, [
11583
- m.value && !d.value ? (g(), B("p", ok, J(u(r)("plugins.select.custom_badge_text")), 1)) : he("", !0),
11582
+ e.plugin.description || m.value && !d.value ? (g(), B("div", rw, [
11583
+ m.value && !d.value ? (g(), B("p", ow, J(u(r)("plugins.select.custom_badge_text")), 1)) : he("", !0),
11584
11584
  e.plugin.description ? (g(), B("p", {
11585
11585
  key: 1,
11586
11586
  class: "plugin-card-text",
11587
11587
  title: e.plugin.description
11588
- }, J(e.plugin.description), 9, sk)) : he("", !0)
11588
+ }, J(e.plugin.description), 9, sw)) : he("", !0)
11589
11589
  ])) : he("", !0)
11590
- ], 10, ak),
11591
- K("div", {
11590
+ ], 10, aw),
11591
+ F("div", {
11592
11592
  class: "plugin-card-footer",
11593
11593
  onClick: y
11594
11594
  }, J(d.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
11595
- ], 10, ek)
11595
+ ], 10, ew)
11596
11596
  ]),
11597
11597
  _: 1
11598
11598
  }, 8, ["text"])
11599
11599
  ]);
11600
11600
  };
11601
11601
  }
11602
- }), wl = /* @__PURE__ */ ve(lk, [["__scopeId", "data-v-65d53934"]]), uk = /* @__PURE__ */ pe({
11602
+ }), kl = /* @__PURE__ */ ve(lw, [["__scopeId", "data-v-65d53934"]]), uw = /* @__PURE__ */ pe({
11603
11603
  __name: "DeleteCustomPluginSchemaModal",
11604
11604
  props: {
11605
11605
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11616,30 +11616,30 @@ const _0 = `nodes:
11616
11616
  emits: ["closed", "proceed"],
11617
11617
  setup(e, { emit: t }) {
11618
11618
  var b;
11619
- const n = e, i = t, { i18nT: a, i18n: { t: r } } = Le.useI18n(), { getMessageFromError: o } = kn(), { axiosInstance: s } = Ft((b = n.config) == null ? void 0 : b.axiosRequestConfig), c = $(() => {
11620
- var k;
11621
- return l.value ? r("delete.plugin_schema_in_use_title") : r("delete.title", { name: ((k = n.plugin) == null ? void 0 : k.name) || r("delete.custom_plugin") });
11619
+ const n = e, i = t, { i18nT: a, i18n: { t: r } } = Le.useI18n(), { getMessageFromError: o } = wn(), { axiosInstance: s } = Kt((b = n.config) == null ? void 0 : b.axiosRequestConfig), c = $(() => {
11620
+ var w;
11621
+ return l.value ? r("delete.plugin_schema_in_use_title") : r("delete.title", { name: ((w = n.plugin) == null ? void 0 : w.name) || r("delete.custom_plugin") });
11622
11622
  }), f = H(!1), p = H(""), l = H(!1), d = $(() => {
11623
11623
  if (n.config.app === "konnect") {
11624
- const k = n.plugin.customPluginType === "streaming" ? Ne.select[n.config.app].streamingCustomPluginItem : Ne.select[n.config.app].schemaCustomPluginItem;
11625
- let y = `${n.config.apiBaseUrl}${k}`;
11624
+ const w = n.plugin.customPluginType === "streaming" ? Ne.select[n.config.app].streamingCustomPluginItem : Ne.select[n.config.app].schemaCustomPluginItem;
11625
+ let y = `${n.config.apiBaseUrl}${w}`;
11626
11626
  return y = y.replace(/{controlPlaneId}/gi, n.config.controlPlaneId || ""), y = y.replace(/{pluginId}/gi, n.plugin.id), y;
11627
11627
  }
11628
11628
  return null;
11629
11629
  }), m = async () => {
11630
- var k, y, v, w;
11631
- if (f.value = !0, p.value = "", !(!((k = n.plugin) != null && k.name) || ((y = n.config) == null ? void 0 : y.app) !== "konnect"))
11630
+ var w, y, v, k;
11631
+ if (f.value = !0, p.value = "", !(!((w = n.plugin) != null && w.name) || ((y = n.config) == null ? void 0 : y.app) !== "konnect"))
11632
11632
  try {
11633
11633
  d.value && await s.delete(d.value), i("proceed");
11634
11634
  } catch (x) {
11635
11635
  const { response: j } = x;
11636
- (j == null ? void 0 : j.status) === 400 && ((w = (v = j.data) == null ? void 0 : v.message) != null && w.includes("plugin schema is currently in use")) ? l.value = !0 : p.value = o(x);
11636
+ (j == null ? void 0 : j.status) === 400 && ((k = (v = j.data) == null ? void 0 : v.message) != null && k.includes("plugin schema is currently in use")) ? l.value = !0 : p.value = o(x);
11637
11637
  } finally {
11638
11638
  f.value = !1;
11639
11639
  }
11640
11640
  };
11641
- return (k, y) => {
11642
- const v = ee("KButton"), w = ee("KModal");
11641
+ return (w, y) => {
11642
+ const v = ee("KButton"), k = ee("KModal");
11643
11643
  return !l.value && e.plugin ? (g(), R(u(_o), {
11644
11644
  key: 0,
11645
11645
  "action-pending": f.value,
@@ -11647,45 +11647,45 @@ const _0 = `nodes:
11647
11647
  "data-testid": "delete-custom-plugin-schema-modal",
11648
11648
  description: u(r)("delete.description_custom"),
11649
11649
  "entity-name": e.plugin.name,
11650
- "entity-type": u(ko).Plugin,
11650
+ "entity-type": u(wo).Plugin,
11651
11651
  error: p.value,
11652
11652
  "need-confirm": "",
11653
11653
  title: c.value,
11654
11654
  visible: "",
11655
- onCancel: y[0] || (y[0] = (x) => k.$emit("closed")),
11655
+ onCancel: y[0] || (y[0] = (x) => w.$emit("closed")),
11656
11656
  onProceed: m
11657
- }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title"])) : e.plugin ? (g(), R(w, {
11657
+ }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title"])) : e.plugin ? (g(), R(k, {
11658
11658
  key: 1,
11659
11659
  "action-button-disabled": f.value,
11660
11660
  class: "delete-custom-plugin-schema-modal",
11661
11661
  "data-testid": "delete-custom-plugin-schema-modal",
11662
11662
  title: c.value,
11663
11663
  visible: "",
11664
- onCancel: y[2] || (y[2] = (x) => k.$emit("closed"))
11664
+ onCancel: y[2] || (y[2] = (x) => w.$emit("closed"))
11665
11665
  }, {
11666
11666
  default: _(() => [
11667
- K("div", null, [
11667
+ F("div", null, [
11668
11668
  C(u(a), {
11669
11669
  keypath: "delete.plugin_schema_in_use_message",
11670
11670
  tag: "p"
11671
11671
  }, {
11672
11672
  name: _(() => [
11673
- K("strong", null, J(e.plugin.name), 1)
11673
+ F("strong", null, J(e.plugin.name), 1)
11674
11674
  ]),
11675
11675
  _: 1
11676
11676
  })
11677
11677
  ])
11678
11678
  ]),
11679
11679
  "footer-actions": _(() => [
11680
- K("div", null, [
11680
+ F("div", null, [
11681
11681
  C(v, {
11682
11682
  appearance: "tertiary",
11683
11683
  class: "cancel-button",
11684
11684
  "data-testid": "delete-custom-plugin-form-cancel",
11685
- onClick: y[1] || (y[1] = (x) => k.$emit("closed"))
11685
+ onClick: y[1] || (y[1] = (x) => w.$emit("closed"))
11686
11686
  }, {
11687
11687
  default: _(() => [
11688
- ke(J(u(r)("actions.cancel")), 1)
11688
+ we(J(u(r)("actions.cancel")), 1)
11689
11689
  ]),
11690
11690
  _: 1
11691
11691
  })
@@ -11695,7 +11695,7 @@ const _0 = `nodes:
11695
11695
  }, 8, ["action-button-disabled", "title"])) : he("", !0);
11696
11696
  };
11697
11697
  }
11698
- }), ck = /* @__PURE__ */ ve(uk, [["__scopeId", "data-v-9e0dee7f"]]), dk = { class: "custom-plugins-grid" }, pk = { class: "empty-state-title" }, fk = { class: "empty-state-description" }, Hi = 310, mk = /* @__PURE__ */ pe({
11698
+ }), cw = /* @__PURE__ */ ve(uw, [["__scopeId", "data-v-9e0dee7f"]]), dw = { class: "custom-plugins-grid" }, pw = { class: "empty-state-title" }, fw = { class: "empty-state-description" }, Hi = 310, mw = /* @__PURE__ */ pe({
11699
11699
  __name: "PluginCustomGrid",
11700
11700
  props: {
11701
11701
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11765,22 +11765,22 @@ const _0 = `nodes:
11765
11765
  }, m = (M) => {
11766
11766
  var h;
11767
11767
  M && (i("revalidate"), i("delete:success", ((h = l.value) == null ? void 0 : h.name) || "")), p.value = !1, l.value = null;
11768
- }, b = H(Hi), k = H(null), y = H(null), v = $(() => s.value ? {
11768
+ }, b = H(Hi), w = H(null), y = H(null), v = $(() => s.value ? {
11769
11769
  overflowY: "hidden",
11770
11770
  maxHeight: `${b.value}px`
11771
- } : {}), w = H(!1), x = () => {
11771
+ } : {}), k = H(!1), x = () => {
11772
11772
  b.value = Math.max(r(y.value), Hi), j();
11773
11773
  }, j = () => {
11774
11774
  var M, h;
11775
- (M = y.value) != null && M.length && (w.value = o(k.value, (h = y.value) == null ? void 0 : h.length));
11775
+ (M = y.value) != null && M.length && (k.value = o(w.value, (h = y.value) == null ? void 0 : h.length));
11776
11776
  };
11777
11777
  return Xn(async () => {
11778
- await wt(), b.value = Math.max(r(y.value), Hi), j(), window == null || window.addEventListener("resize", x);
11778
+ await kt(), b.value = Math.max(r(y.value), Hi), j(), window == null || window.addEventListener("resize", x);
11779
11779
  }), vo(() => {
11780
11780
  window == null || window.removeEventListener("resize", x);
11781
11781
  }), (M, h) => {
11782
11782
  const I = ee("KEmptyState"), T = ee("KCollapse");
11783
- return g(), B("div", dk, [
11783
+ return g(), B("div", dw, [
11784
11784
  f.value.length ? (g(), R(T, {
11785
11785
  key: 1,
11786
11786
  modelValue: s.value,
@@ -11791,13 +11791,13 @@ const _0 = `nodes:
11791
11791
  "trigger-label": s.value ? u(a)("plugins.select.view_more") : u(a)("plugins.select.view_less")
11792
11792
  }, De({
11793
11793
  "visible-content": _(() => [
11794
- K("div", {
11794
+ F("div", {
11795
11795
  ref_key: "pluginCardContainerRef",
11796
- ref: k,
11796
+ ref: w,
11797
11797
  class: "plugin-card-container",
11798
11798
  style: bo(v.value)
11799
11799
  }, [
11800
- (g(!0), B($e, null, je(f.value, (S, fe) => (g(), R(wl, {
11800
+ (g(!0), B($e, null, je(f.value, (S, fe) => (g(), R(kl, {
11801
11801
  key: `plugin-card-${fe}`,
11802
11802
  ref_for: !0,
11803
11803
  ref_key: "pluginCardRef",
@@ -11814,10 +11814,10 @@ const _0 = `nodes:
11814
11814
  ]),
11815
11815
  _: 2
11816
11816
  }, [
11817
- w.value ? void 0 : {
11817
+ k.value ? void 0 : {
11818
11818
  name: "trigger",
11819
11819
  fn: _(() => [
11820
- h[2] || (h[2] = ke("   "))
11820
+ h[2] || (h[2] = we("   "))
11821
11821
  ]),
11822
11822
  key: "0"
11823
11823
  }
@@ -11828,14 +11828,14 @@ const _0 = `nodes:
11828
11828
  "icon-variant": "kong"
11829
11829
  }, {
11830
11830
  title: _(() => [
11831
- K("span", pk, J(u(a)("plugins.select.tabs.custom.empty_title")), 1)
11831
+ F("span", pw, J(u(a)("plugins.select.tabs.custom.empty_title")), 1)
11832
11832
  ]),
11833
11833
  default: _(() => [
11834
- K("span", fk, J(u(a)("plugins.select.tabs.custom.empty_description")), 1)
11834
+ F("span", fw, J(u(a)("plugins.select.tabs.custom.empty_description")), 1)
11835
11835
  ]),
11836
11836
  _: 1
11837
11837
  })),
11838
- p.value && l.value ? (g(), R(ck, {
11838
+ p.value && l.value ? (g(), R(cw, {
11839
11839
  key: 2,
11840
11840
  config: e.config,
11841
11841
  plugin: l.value,
@@ -11845,7 +11845,7 @@ const _0 = `nodes:
11845
11845
  ]);
11846
11846
  };
11847
11847
  }
11848
- }), gk = /* @__PURE__ */ ve(mk, [["__scopeId", "data-v-f4b90f47"]]), Gi = 310, yk = /* @__PURE__ */ pe({
11848
+ }), gw = /* @__PURE__ */ ve(mw, [["__scopeId", "data-v-f4b90f47"]]), Gi = 310, yw = /* @__PURE__ */ pe({
11849
11849
  __name: "PluginSelectGroup",
11850
11850
  props: /* @__PURE__ */ si({
11851
11851
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11888,39 +11888,39 @@ const _0 = `nodes:
11888
11888
  } : {}), d = H(!1), m = () => {
11889
11889
  c.value = Math.max(o(p.value), Gi), b();
11890
11890
  }, b = () => {
11891
- var k, y;
11892
- (k = p.value) != null && k.length && (d.value = s(f.value, (y = p.value) == null ? void 0 : y.length));
11891
+ var w, y;
11892
+ (w = p.value) != null && w.length && (d.value = s(f.value, (y = p.value) == null ? void 0 : y.length));
11893
11893
  };
11894
11894
  return Xn(async () => {
11895
- await wt(), c.value = Math.max(o(p.value), Gi), b(), window == null || window.addEventListener("resize", m);
11895
+ await kt(), c.value = Math.max(o(p.value), Gi), b(), window == null || window.addEventListener("resize", m);
11896
11896
  }), vo(() => {
11897
11897
  window == null || window.removeEventListener("resize", m);
11898
- }), (k, y) => {
11898
+ }), (w, y) => {
11899
11899
  const v = ee("KCollapse");
11900
11900
  return g(), R(v, {
11901
11901
  modelValue: n.value,
11902
- "onUpdate:modelValue": y[0] || (y[0] = (w) => n.value = w),
11902
+ "onUpdate:modelValue": y[0] || (y[0] = (k) => n.value = k),
11903
11903
  class: "plugins-collapse",
11904
11904
  "data-testid": `${i.name}-collapse`,
11905
11905
  title: i.name,
11906
11906
  "trigger-label": n.value ? u(r)("plugins.select.view_more") : u(r)("plugins.select.view_less")
11907
11907
  }, De({
11908
11908
  "visible-content": _(() => [
11909
- K("div", {
11909
+ F("div", {
11910
11910
  ref_key: "pluginCardContainerRef",
11911
11911
  ref: f,
11912
11912
  class: "plugin-card-container",
11913
11913
  style: bo(l.value)
11914
11914
  }, [
11915
- (g(!0), B($e, null, je(i.plugins, (w) => (g(), R(wl, {
11916
- key: `plugin-card-${w.id}`,
11915
+ (g(!0), B($e, null, je(i.plugins, (k) => (g(), R(kl, {
11916
+ key: `plugin-card-${k.id}`,
11917
11917
  ref_for: !0,
11918
11918
  ref_key: "pluginCardRef",
11919
11919
  ref: p,
11920
11920
  config: e.config,
11921
11921
  "navigate-on-click": e.navigateOnClick,
11922
- plugin: w,
11923
- onPluginClicked: (x) => a("plugin-clicked", w)
11922
+ plugin: k,
11923
+ onPluginClicked: (x) => a("plugin-clicked", k)
11924
11924
  }, null, 8, ["config", "navigate-on-click", "plugin", "onPluginClicked"]))), 128))
11925
11925
  ], 4)
11926
11926
  ]),
@@ -11929,14 +11929,14 @@ const _0 = `nodes:
11929
11929
  d.value ? void 0 : {
11930
11930
  name: "trigger",
11931
11931
  fn: _(() => [
11932
- y[1] || (y[1] = ke("   "))
11932
+ y[1] || (y[1] = we("   "))
11933
11933
  ]),
11934
11934
  key: "0"
11935
11935
  }
11936
11936
  ]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
11937
11937
  };
11938
11938
  }
11939
- }), mo = /* @__PURE__ */ ve(yk, [["__scopeId", "data-v-a1074120"]]), hk = { class: "plugin-select-grid" }, vk = { class: "empty-state-title" }, bk = { class: "empty-state-description" }, go = /* @__PURE__ */ pe({
11939
+ }), mo = /* @__PURE__ */ ve(yw, [["__scopeId", "data-v-a1074120"]]), hw = { class: "plugin-select-grid" }, vw = { class: "empty-state-title" }, bw = { class: "empty-state-description" }, go = /* @__PURE__ */ pe({
11940
11940
  __name: "PluginSelectGrid",
11941
11941
  props: {
11942
11942
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11992,7 +11992,7 @@ const _0 = `nodes:
11992
11992
  });
11993
11993
  return (f, p) => {
11994
11994
  const l = ee("KEmptyState");
11995
- return g(), B("div", hk, [
11995
+ return g(), B("div", hw, [
11996
11996
  Object.keys(c.value).length ? he("", !0) : (g(), R(l, {
11997
11997
  key: 0,
11998
11998
  "action-button-visible": !1,
@@ -12001,10 +12001,10 @@ const _0 = `nodes:
12001
12001
  "icon-variant": "kong"
12002
12002
  }, {
12003
12003
  title: _(() => [
12004
- K("span", vk, J(u(a)("plugins.select.tabs.kong.empty_title")), 1)
12004
+ F("span", vw, J(u(a)("plugins.select.tabs.kong.empty_title")), 1)
12005
12005
  ]),
12006
12006
  default: _(() => [
12007
- K("span", bk, J(u(a)("plugins.select.tabs.kong.empty_description")), 1)
12007
+ F("span", bw, J(u(a)("plugins.select.tabs.kong.empty_description")), 1)
12008
12008
  ]),
12009
12009
  _: 1
12010
12010
  })),
@@ -12034,11 +12034,11 @@ const _0 = `nodes:
12034
12034
  ]);
12035
12035
  };
12036
12036
  }
12037
- }), _k = { class: "kong-ui-entities-plugin-select-form" }, kk = { class: "plugins-filter-input-container" }, wk = { key: 0 }, Ak = {
12037
+ }), _w = { class: "kong-ui-entities-plugin-select-form" }, ww = { class: "plugins-filter-input-container" }, kw = { key: 0 }, Aw = {
12038
12038
  key: 3,
12039
12039
  "aria-live": "polite",
12040
12040
  class: "plugins-results-container"
12041
- }, Ck = { "data-testid": "kong-tab" }, Tk = { class: "tab-description" }, Ek = { "data-testid": "custom-tab" }, Sk = { class: "tab-description" }, xk = /* @__PURE__ */ pe({
12041
+ }, Cw = { "data-testid": "kong-tab" }, Tw = { class: "tab-description" }, Ew = { "data-testid": "custom-tab" }, Sw = { class: "tab-description" }, xw = /* @__PURE__ */ pe({
12042
12042
  __name: "PluginSelect",
12043
12043
  props: {
12044
12044
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12122,7 +12122,7 @@ const _0 = `nodes:
12122
12122
  emits: ["loading", "plugin-clicked", "delete-custom:success"],
12123
12123
  setup(e, { emit: t }) {
12124
12124
  var N;
12125
- const n = e, i = t, a = Gl(), r = Ti(), { i18n: { t: o } } = Le.useI18n(), { pluginMetaData: s } = Le.usePluginMetaData(), { getMessageFromError: c } = kn(), { sortAlpha: f, objectsAreEqual: p } = Ci(), l = H(""), d = H(!0), m = H(!1), b = H(""), k = H([]), y = H([]), v = H({}), w = H([]), { axiosInstance: x } = Ft((N = n.config) == null ? void 0 : N.axiosRequestConfig), j = $(() => v.value ? Object.entries(v.value).filter(([P]) => P !== Ee.CUSTOM_PLUGINS).reduce((P, [, D]) => {
12125
+ const n = e, i = t, a = Gl(), r = Ti(), { i18n: { t: o } } = Le.useI18n(), { pluginMetaData: s } = Le.usePluginMetaData(), { getMessageFromError: c } = wn(), { sortAlpha: f, objectsAreEqual: p } = Ci(), l = H(""), d = H(!0), m = H(!1), b = H(""), w = H([]), y = H([]), v = H({}), k = H([]), { axiosInstance: x } = Kt((N = n.config) == null ? void 0 : N.axiosRequestConfig), j = $(() => v.value ? Object.entries(v.value).filter(([P]) => P !== Ee.CUSTOM_PLUGINS).reduce((P, [, D]) => {
12126
12126
  for (const ge of D)
12127
12127
  P[ge.id] = ge;
12128
12128
  return P;
@@ -12156,7 +12156,7 @@ const _0 = `nodes:
12156
12156
  }), oe = () => [.../* @__PURE__ */ new Set(
12157
12157
  [
12158
12158
  ...Object.keys({ ...n.availableOnServer ? {} : s }),
12159
- ...k.value
12159
+ ...w.value
12160
12160
  ]
12161
12161
  )].filter((P) => !n.ignoredPlugins.includes(P)).filter((P) => n.config.entityType && (n.config.entityType === "services" && s[P] && !s[P].scope.includes(Qe.SERVICE) || n.config.entityType === "routes" && s[P] && !s[P].scope.includes(Qe.ROUTE) || n.config.entityType === "consumer_groups" && s[P] && !s[P].scope.includes(Qe.CONSUMER_GROUP) || n.config.entityType === "consumers" && s[P] && !s[P].scope.includes(Qe.CONSUMER)) ? !1 : P).reduce((P, D) => {
12162
12162
  var W;
@@ -12164,7 +12164,7 @@ const _0 = `nodes:
12164
12164
  ...s[D],
12165
12165
  id: D,
12166
12166
  name: ge,
12167
- available: k.value.includes(D),
12167
+ available: w.value.includes(D),
12168
12168
  disabledMessage: "",
12169
12169
  group: ((W = s[D]) == null ? void 0 : W.group) || Ee.CUSTOM_PLUGINS
12170
12170
  };
@@ -12182,7 +12182,7 @@ const _0 = `nodes:
12182
12182
  return P = P.replace(/{controlPlaneId}/gi, n.config.controlPlaneId || ""), P;
12183
12183
  }
12184
12184
  return null;
12185
- }), F = $(() => {
12185
+ }), K = $(() => {
12186
12186
  if (n.config.entityType && n.config.entityId) {
12187
12187
  let P = `${n.config.apiBaseUrl}${Ne.list[n.config.app].forEntity}`;
12188
12188
  return n.config.app === "konnect" ? P = P.replace(/{controlPlaneId}/gi, n.config.controlPlaneId || "") : n.config.app === "kongManager" && (P = P.replace(/\/{workspace}/gi, n.config.workspace ? `/${n.config.workspace}` : "")), P.replace(/{entityType}/gi, n.config.entityType || "").replace(/{entityId}/gi, n.config.entityId || "");
@@ -12206,31 +12206,31 @@ const _0 = `nodes:
12206
12206
  const { data: P } = await x.get(te.value);
12207
12207
  if (n.config.app === "konnect") {
12208
12208
  const { names: D } = P;
12209
- if (k.value = D || [], A.value) {
12209
+ if (w.value = D || [], A.value) {
12210
12210
  const { data: ge } = await x.get(A.value);
12211
12211
  y.value = ge.data || [];
12212
12212
  }
12213
12213
  } else if (n.config.app === "kongManager") {
12214
12214
  const { plugins: { available_on_server: D } } = P;
12215
- k.value = D ? Object.keys(D) : [];
12215
+ w.value = D ? Object.keys(D) : [];
12216
12216
  }
12217
12217
  } catch (P) {
12218
12218
  m.value = !0, b.value = c(P);
12219
12219
  }
12220
- if (F.value)
12220
+ if (K.value)
12221
12221
  try {
12222
- const { data: { data: P } } = await x.get(F.value);
12222
+ const { data: { data: P } } = await x.get(K.value);
12223
12223
  if (P != null && P.length) {
12224
12224
  const D = P.reduce((ge, _e) => (_e.name && ge.push(_e.name), ge), []);
12225
- w.value = w.value.concat(D);
12225
+ k.value = k.value.concat(D);
12226
12226
  }
12227
12227
  } catch {
12228
12228
  }
12229
12229
  m.value || (v.value = oe()), d.value = !1;
12230
12230
  }), (P, D) => {
12231
12231
  const ge = ee("KInput"), _e = ee("KSkeletonBox"), ye = ee("KSkeleton"), Ce = ee("KEmptyState"), W = ee("KTooltip"), G = ee("KTabs");
12232
- return g(), B("div", _k, [
12233
- K("div", kk, [
12232
+ return g(), B("div", _w, [
12233
+ F("div", ww, [
12234
12234
  C(ge, {
12235
12235
  modelValue: l.value,
12236
12236
  "onUpdate:modelValue": D[0] || (D[0] = (ne) => l.value = ne),
@@ -12241,7 +12241,7 @@ const _0 = `nodes:
12241
12241
  type: "search"
12242
12242
  }, null, 8, ["modelValue", "placeholder"])
12243
12243
  ]),
12244
- d.value ? (g(), B("section", wk, [
12244
+ d.value ? (g(), B("section", kw, [
12245
12245
  C(_e, {
12246
12246
  class: "plugins-skeleton-title",
12247
12247
  width: "10"
@@ -12258,7 +12258,7 @@ const _0 = `nodes:
12258
12258
  "icon-variant": "error"
12259
12259
  }, {
12260
12260
  default: _(() => [
12261
- K("h3", null, J(b.value), 1)
12261
+ F("h3", null, J(b.value), 1)
12262
12262
  ]),
12263
12263
  _: 1
12264
12264
  })) : T.value && l.value ? (g(), R(Ce, {
@@ -12268,10 +12268,10 @@ const _0 = `nodes:
12268
12268
  "icon-variant": "search"
12269
12269
  }, {
12270
12270
  default: _(() => [
12271
- K("h5", null, J(u(o)("search.no_results", { filter: l.value })), 1)
12271
+ F("h5", null, J(u(o)("search.no_results", { filter: l.value })), 1)
12272
12272
  ]),
12273
12273
  _: 1
12274
- })) : (g(), B("section", Ak, [
12274
+ })) : (g(), B("section", Aw, [
12275
12275
  S.value.length && e.customPluginSupport !== "none" ? (g(), R(G, {
12276
12276
  key: 0,
12277
12277
  modelValue: fe.value,
@@ -12281,8 +12281,8 @@ const _0 = `nodes:
12281
12281
  onChange: q
12282
12282
  }, De({
12283
12283
  kong: _(() => [
12284
- K("div", Ck, [
12285
- K("p", Tk, J(u(o)("plugins.select.tabs.kong.description")), 1),
12284
+ F("div", Cw, [
12285
+ F("p", Tw, J(u(o)("plugins.select.tabs.kong.description")), 1),
12286
12286
  C(go, {
12287
12287
  config: e.config,
12288
12288
  "hide-highlighted-plugins": l.value.length > 0,
@@ -12295,9 +12295,9 @@ const _0 = `nodes:
12295
12295
  ])
12296
12296
  ]),
12297
12297
  custom: _(() => [
12298
- K("div", Ek, [
12299
- K("p", Sk, J(u(o)("plugins.select.tabs.custom.description")), 1),
12300
- C(gk, {
12298
+ F("div", Ew, [
12299
+ F("p", Sw, J(u(o)("plugins.select.tabs.custom.description")), 1),
12300
+ C(gw, {
12301
12301
  "can-create-custom-plugin": z.value,
12302
12302
  "can-delete-custom-plugin": Q.value,
12303
12303
  "can-edit-custom-plugin": le.value,
@@ -12320,7 +12320,7 @@ const _0 = `nodes:
12320
12320
  text: u(o)("plugins.select.tabs.custom.disabled_tooltip")
12321
12321
  }, {
12322
12322
  default: _(() => [
12323
- K("div", null, J(u(o)("plugins.select.tabs.custom.title")), 1)
12323
+ F("div", null, J(u(o)("plugins.select.tabs.custom.title")), 1)
12324
12324
  ]),
12325
12325
  _: 1
12326
12326
  }, 8, ["text"])
@@ -12341,7 +12341,7 @@ const _0 = `nodes:
12341
12341
  ]);
12342
12342
  };
12343
12343
  }
12344
- }), tw = /* @__PURE__ */ ve(xk, [["__scopeId", "data-v-d2065987"]]), Ik = { class: "kong-ui-entity-plugin-config-card" }, Pk = { class: "name-cell-wrapper" }, Ok = { class: "info-name" }, $k = { key: 0 }, Rk = { key: 0 }, Kk = { key: 0 }, Fk = { key: 0 }, Lk = { key: 0 }, zi = "config", Mk = /* @__PURE__ */ pe({
12344
+ }), tk = /* @__PURE__ */ ve(xw, [["__scopeId", "data-v-d2065987"]]), Iw = { class: "kong-ui-entity-plugin-config-card" }, Pw = { class: "name-cell-wrapper" }, Ow = { class: "info-name" }, $w = { key: 0 }, Rw = { key: 0 }, Fw = { key: 0 }, Kw = { key: 0 }, Lw = { key: 0 }, zi = "config", Mw = /* @__PURE__ */ pe({
12345
12345
  __name: "PluginConfigCard",
12346
12346
  props: {
12347
12347
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12389,7 +12389,7 @@ const _0 = `nodes:
12389
12389
  },
12390
12390
  emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
12391
12391
  setup(e, { emit: t }) {
12392
- var w;
12392
+ var k;
12393
12393
  const n = t, i = e, { i18n: { t: a } } = Le.useI18n(), r = Le.usePluginMetaData(), { setFieldType: o } = Le.usePluginHelpers(), { getPropValue: s } = Ci(), c = $(
12394
12394
  () => {
12395
12395
  var x;
@@ -12397,9 +12397,9 @@ const _0 = `nodes:
12397
12397
  }
12398
12398
  ), f = $(() => {
12399
12399
  var M, h;
12400
- const x = {}, j = ((M = k.value) == null ? void 0 : M.fields) || [];
12400
+ const x = {}, j = ((M = w.value) == null ? void 0 : M.fields) || [];
12401
12401
  for (let I = 0; I < j.length; I++) {
12402
- const T = k.value.fields[I], S = (h = Object.keys(T)) == null ? void 0 : h[0];
12402
+ const T = w.value.fields[I], S = (h = Object.keys(T)) == null ? void 0 : h[0];
12403
12403
  o(x, S, T[S]);
12404
12404
  }
12405
12405
  return {
@@ -12436,9 +12436,9 @@ const _0 = `nodes:
12436
12436
  };
12437
12437
  }), p = $(() => {
12438
12438
  var j, M, h;
12439
- if (!((j = k.value) != null && j.fields))
12439
+ if (!((j = w.value) != null && j.fields))
12440
12440
  return [];
12441
- const x = (M = k.value.fields) == null ? void 0 : M.find((I) => {
12441
+ const x = (M = w.value.fields) == null ? void 0 : M.find((I) => {
12442
12442
  var S;
12443
12443
  return ((S = Object.keys(I)) == null ? void 0 : S[0]) === zi;
12444
12444
  });
@@ -12455,18 +12455,18 @@ const _0 = `nodes:
12455
12455
  }), o(x, T, S);
12456
12456
  }
12457
12457
  return x;
12458
- }), { getMessageFromError: d } = kn(), { axiosInstance: m } = Ft((w = i.config) == null ? void 0 : w.axiosRequestConfig), b = $(() => {
12458
+ }), { getMessageFromError: d } = wn(), { axiosInstance: m } = Kt((k = i.config) == null ? void 0 : k.axiosRequestConfig), b = $(() => {
12459
12459
  var j, M;
12460
12460
  let x = `${i.config.apiBaseUrl}${Ne.form[i.config.app].pluginSchema}`;
12461
12461
  return i.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((j = i.config) == null ? void 0 : j.controlPlaneId) || "") : i.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (M = i.config) != null && M.workspace ? `/${i.config.workspace}` : "")), x = x.replace(/{plugin}/gi, i.config.pluginType), x;
12462
- }), k = H({});
12463
- Vl(k);
12462
+ }), w = H({});
12463
+ Vl(w);
12464
12464
  const y = H(!1), v = H("");
12465
12465
  return Jt(async () => {
12466
12466
  y.value = !0;
12467
12467
  try {
12468
12468
  const { data: x } = await m.get(b.value);
12469
- k.value = x;
12469
+ w.value = x;
12470
12470
  } catch (x) {
12471
12471
  v.value = d(x), n("error:fetch-schema", x);
12472
12472
  } finally {
@@ -12474,7 +12474,7 @@ const _0 = `nodes:
12474
12474
  }
12475
12475
  }), (x, j) => {
12476
12476
  const M = ee("KSkeleton"), h = ee("KEmptyState"), I = ee("KCopy");
12477
- return g(), B("div", Ik, [
12477
+ return g(), B("div", Iw, [
12478
12478
  y.value ? (g(), R(M, {
12479
12479
  key: 0,
12480
12480
  "data-testid": "plugin-config-card-loader",
@@ -12486,7 +12486,7 @@ const _0 = `nodes:
12486
12486
  "icon-variant": "error"
12487
12487
  }, {
12488
12488
  default: _(() => [
12489
- K("h3", null, J(v.value), 1)
12489
+ F("h3", null, J(v.value), 1)
12490
12490
  ]),
12491
12491
  _: 1
12492
12492
  })) : (g(), R(u(Hl), {
@@ -12504,13 +12504,13 @@ const _0 = `nodes:
12504
12504
  onLoading: j[2] || (j[2] = (T) => x.$emit("loading", T))
12505
12505
  }, {
12506
12506
  name: _((T) => [
12507
- K("div", Pk, [
12507
+ F("div", Pw, [
12508
12508
  C(u(ba), {
12509
12509
  class: "plugin-icon",
12510
12510
  name: u(s)("rowValue", T),
12511
12511
  size: 24
12512
12512
  }, null, 8, ["name"]),
12513
- K("span", Ok, J(u(r).getDisplayName(u(s)("rowValue", T))), 1)
12513
+ F("span", Ow, J(u(r).getDisplayName(u(s)("rowValue", T))), 1)
12514
12514
  ])
12515
12515
  ]),
12516
12516
  consumer: _((T) => [
@@ -12527,7 +12527,7 @@ const _0 = `nodes:
12527
12527
  "copy-tooltip": u(a)("copy.tooltip", { label: u(s)("row", T).label }),
12528
12528
  "data-testid": "consumer-copy-uuid",
12529
12529
  text: u(s)("rowValue", T).id
12530
- }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", $k, "–"))
12530
+ }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", $w, "–"))
12531
12531
  ]),
12532
12532
  route: _((T) => [
12533
12533
  u(s)("rowValue", T) ? e.showIdAsLink ? (g(), R(u($n), {
@@ -12543,7 +12543,7 @@ const _0 = `nodes:
12543
12543
  "copy-tooltip": u(a)("copy.tooltip", { label: u(s)("row", T).label }),
12544
12544
  "data-testid": "route-copy-uuid",
12545
12545
  text: u(s)("rowValue", T).id
12546
- }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Rk, "–"))
12546
+ }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Rw, "–"))
12547
12547
  ]),
12548
12548
  service: _((T) => [
12549
12549
  u(s)("rowValue", T) ? e.showIdAsLink ? (g(), R(u($n), {
@@ -12559,7 +12559,7 @@ const _0 = `nodes:
12559
12559
  "copy-tooltip": u(a)("copy.tooltip", { label: u(s)("row", T).label }),
12560
12560
  "data-testid": "service-copy-uuid",
12561
12561
  text: u(s)("rowValue", T).id
12562
- }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Kk, "–"))
12562
+ }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Fw, "–"))
12563
12563
  ]),
12564
12564
  consumer_group: _((T) => [
12565
12565
  u(s)("rowValue", T) ? e.showIdAsLink ? (g(), R(u($n), {
@@ -12575,16 +12575,16 @@ const _0 = `nodes:
12575
12575
  "copy-tooltip": u(a)("copy.tooltip", { label: u(s)("row", T).label }),
12576
12576
  "data-testid": "consumer-group-copy-uuid",
12577
12577
  text: u(s)("rowValue", T).id
12578
- }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Fk, "–"))
12578
+ }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Kw, "–"))
12579
12579
  ]),
12580
12580
  partials: _((T) => {
12581
- var S, fe, oe, te, A, F, q, z, le;
12581
+ var S, fe, oe, te, A, K, q, z, le;
12582
12582
  return [
12583
12583
  u(s)("rowValue", T) ? e.showIdAsLink ? (g(), R(u($n), {
12584
12584
  key: 1,
12585
12585
  item: {
12586
12586
  key: (fe = (S = u(s)("rowValue", T)) == null ? void 0 : S[0]) == null ? void 0 : fe.id,
12587
- value: ((te = (oe = u(s)("rowValue", T)) == null ? void 0 : oe[0]) == null ? void 0 : te.id) + ((F = (A = u(s)("rowValue", T)) == null ? void 0 : A[0]) != null && F.name ? "/" + ((z = (q = u(s)("rowValue", T)) == null ? void 0 : q[0]) == null ? void 0 : z.name) : ""),
12587
+ value: ((te = (oe = u(s)("rowValue", T)) == null ? void 0 : oe[0]) == null ? void 0 : te.id) + ((K = (A = u(s)("rowValue", T)) == null ? void 0 : A[0]) != null && K.name ? "/" + ((z = (q = u(s)("rowValue", T)) == null ? void 0 : q[0]) == null ? void 0 : z.name) : ""),
12588
12588
  type: u(Ze).LinkInternal
12589
12589
  },
12590
12590
  onNavigationClick: () => {
@@ -12596,7 +12596,7 @@ const _0 = `nodes:
12596
12596
  "copy-tooltip": u(a)("copy.tooltip", { label: u(s)("row", T).label }),
12597
12597
  "data-testid": "partial-copy-uuid",
12598
12598
  text: (le = u(s)("rowValue", T)) == null ? void 0 : le[0].id
12599
- }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Lk, "–"))
12599
+ }, null, 8, ["copy-tooltip", "text"])) : (g(), B("span", Lw, "–"))
12600
12600
  ];
12601
12601
  }),
12602
12602
  _: 1
@@ -12604,25 +12604,25 @@ const _0 = `nodes:
12604
12604
  ]);
12605
12605
  };
12606
12606
  }
12607
- }), nw = /* @__PURE__ */ ve(Mk, [["__scopeId", "data-v-c314449c"]]), { usePluginMetaData: iw, useProvideExperimentalFreeForms: aw } = Le;
12607
+ }), nk = /* @__PURE__ */ ve(Mw, [["__scopeId", "data-v-c314449c"]]), { usePluginMetaData: ik, useProvideExperimentalFreeForms: ak } = Le;
12608
12608
  export {
12609
12609
  xo as EXPERIMENTAL_FREE_FORM_PROVIDER,
12610
12610
  on as EntityTypeIdField,
12611
12611
  Lc as FEATURE_FLAGS,
12612
12612
  Mu as PLUGIN_GROUPS_COLLAPSE_STATUS,
12613
- nw as PluginConfigCard,
12614
- Zk as PluginForm,
12615
- sw as PluginGroup,
12613
+ nk as PluginConfigCard,
12614
+ Zw as PluginForm,
12615
+ sk as PluginGroup,
12616
12616
  Lu as PluginGroupArray,
12617
- cw as PluginIcon,
12618
- ew as PluginList,
12617
+ ck as PluginIcon,
12618
+ ek as PluginList,
12619
12619
  Qi as PluginPartialType,
12620
- lw as PluginScope,
12621
- tw as PluginSelect,
12622
- wl as PluginSelectCard,
12620
+ lk as PluginScope,
12621
+ tk as PluginSelect,
12622
+ kl as PluginSelectCard,
12623
12623
  go as PluginSelectGrid,
12624
- dw as getPluginIconURL,
12624
+ dk as getPluginIconURL,
12625
12625
  Ne as pluginEndpoints,
12626
- iw as usePluginMetaData,
12627
- aw as useProvideExperimentalFreeForms
12626
+ ik as usePluginMetaData,
12627
+ ak as useProvideExperimentalFreeForms
12628
12628
  };