@kong-ui-public/entities-plugins 9.83.1 → 9.83.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  var Jg = Object.defineProperty;
2
2
  var Qg = (e, t, n) => t in e ? Jg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ut = (e, t, n) => Qg(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as ve, toRef as Le, inject as it, ref as oe, computed as M, watch as Te, onMounted as It, resolveComponent as we, createElementBlock as te, openBlock as E, createVNode as P, markRaw as Si, provide as ot, createBlock as H, withCtx as F, createElementVNode as U, createCommentVNode as Ee, Fragment as Ke, renderList as qe, toDisplayString as he, unref as p, toValue as Oe, useAttrs as Kn, reactive as wn, useSlots as Gt, mergeProps as ze, createSlots as et, renderSlot as Me, normalizeProps as un, guardReactiveProps as kn, createPropsRestProxy as Yt, resolveDynamicComponent as mt, Transition as eh, mergeModels as fs, useModel as Cr, onBeforeMount as An, createTextVNode as De, normalizeClass as Ye, isRef as jo, useTemplateRef as st, withKeys as ou, withModifiers as Ft, nextTick as tt, useCssVars as il, toRaw as Sr, watchEffect as Ud, shallowRef as ei, onBeforeUnmount as Zr, getCurrentScope as Hd, effectScope as Gd, getCurrentInstance as Bo, onScopeDispose as hr, toRefs as th, customRef as nh, h as Ge, normalizeStyle as At, onUnmounted as ol, isMemoSame as ih, readonly as oh, useId as Yd, Teleport as Wd } from "vue";
5
- import { useStringHelpers as Jr, ConfigurationSchemaType as kt, useAxios as jn, useErrors as Ui, useDebouncedFilter as rh, EntityFormBlock as ru, useHelpers as Qr, EntityBaseFormType as Bn, EntityBaseForm as ah, SupportedEntityType as ps, TerraformCodeBlock as sh, YamlCodeBlock as lh, JsonCodeBlock as uh, useTableState as ch, useGatewayFeatureSupported as dh, useFetcher as fh, useDeleteUrlBuilder as ph, FetcherStatus as mh, EntityBaseTable as gh, PermissionsWrapper as Vn, TableTags as hh, EntityFilter as vh, EntityToggleModal as yh, EntityDeleteModal as Xd, EntityTypes as Zd, ConfigurationSchemaSection as gi, useSchemaProvider as _h, EntityBaseConfigCard as bh, InternalLinkItem as no } from "@kong-ui-public/entities-shared";
4
+ import { defineComponent as ve, toRef as Ke, inject as it, ref as oe, computed as M, watch as Te, onMounted as It, resolveComponent as we, createElementBlock as te, openBlock as E, createVNode as P, markRaw as Si, provide as ot, createBlock as H, withCtx as F, createElementVNode as U, createCommentVNode as Ee, Fragment as Re, renderList as qe, toDisplayString as he, unref as p, toValue as Oe, useAttrs as Ln, useSlots as Gt, mergeProps as ze, createSlots as et, renderSlot as Me, normalizeProps as un, guardReactiveProps as En, createPropsRestProxy as Yt, resolveDynamicComponent as mt, Transition as eh, mergeModels as fs, useModel as Cr, onBeforeMount as xn, createTextVNode as Le, normalizeClass as Ye, isRef as jo, useTemplateRef as st, withKeys as ou, withModifiers as Ft, nextTick as tt, useCssVars as il, reactive as Wn, toRaw as Sr, watchEffect as Ud, shallowRef as ei, onBeforeUnmount as Zr, getCurrentScope as Hd, effectScope as Gd, getCurrentInstance as Bo, onScopeDispose as hr, toRefs as th, customRef as nh, h as Ge, normalizeStyle as At, onUnmounted as ol, isMemoSame as ih, readonly as oh, useId as Yd, Teleport as Wd } from "vue";
5
+ import { useStringHelpers as Jr, ConfigurationSchemaType as kt, useAxios as Kn, useErrors as Ui, useDebouncedFilter as rh, EntityFormBlock as ru, useHelpers as Qr, EntityBaseFormType as jn, EntityBaseForm as ah, SupportedEntityType as ps, TerraformCodeBlock as sh, YamlCodeBlock as lh, JsonCodeBlock as uh, useTableState as ch, useGatewayFeatureSupported as dh, useFetcher as fh, useDeleteUrlBuilder as ph, FetcherStatus as mh, EntityBaseTable as gh, PermissionsWrapper as Bn, TableTags as hh, EntityFilter as vh, EntityToggleModal as yh, EntityDeleteModal as Xd, EntityTypes as Zd, ConfigurationSchemaSection as gi, useSchemaProvider as _h, EntityBaseConfigCard as bh, InternalLinkItem as no } from "@kong-ui-public/entities-shared";
6
6
  import { marked as vr } from "marked";
7
7
  import { useRouter as ea, useRoute as wh } from "vue-router";
8
8
  import { createI18n as vt, i18nTComponent as Eh } from "@kong-ui-public/i18n";
@@ -16,7 +16,7 @@ import { KTextArea as Kh, KInput as jh, KCheckbox as Bh, KLabel as Vh, KButton a
16
16
  import { PartialType as Zo, RedisConfigurationForm as Yh } from "@kong-ui-public/entities-redis-configurations";
17
17
  import "@kong-ui-public/entities-redis-configurations/dist/style.css";
18
18
  import * as Jo from "monaco-editor";
19
- import { useManualRefHistory as Wh, createInjectionState as rf, createGlobalState as Xh, useLocalStorage as pu, useElementBounding as zn, useDraggable as Zh, useEventListener as Jh, useScrollLock as Qh } from "@vueuse/core";
19
+ import { useManualRefHistory as Wh, createInjectionState as rf, createGlobalState as Xh, useLocalStorage as pu, useElementBounding as qn, useDraggable as Zh, useEventListener as Jh, useScrollLock as Qh } from "@vueuse/core";
20
20
  import { z as _e } from "zod";
21
21
  import { PluginIcon as rl } from "@kong-ui-public/entities-plugins-icon";
22
22
  import { PluginIcon as ij, getPluginIconURL as oj } from "@kong-ui-public/entities-plugins-icon";
@@ -1109,7 +1109,7 @@ const cv = [
1109
1109
  [He.CUSTOM_PLUGINS]: !1
1110
1110
  };
1111
1111
  var yi = /* @__PURE__ */ ((e) => (e.SERVICE = "service_id", e.ROUTE = "route_id", e.CONSUMER = "consumer_id", e.CONSUMER_GROUP = "consumer_group_id", e))(yi || {});
1112
- const Un = (e) => {
1112
+ const zn = (e) => {
1113
1113
  const t = Object.fromEntries(e.fields.map((n) => Object.entries(n)[0]));
1114
1114
  return "id" in t || (t.id = {}), t;
1115
1115
  }, li = {
@@ -1151,7 +1151,7 @@ const Un = (e) => {
1151
1151
  };
1152
1152
  }
1153
1153
  }, Ti = {
1154
- getColumnFields: Un,
1154
+ getColumnFields: zn,
1155
1155
  tags: li,
1156
1156
  id: fv,
1157
1157
  enabled: pv,
@@ -1286,7 +1286,7 @@ const Un = (e) => {
1286
1286
  emits: ["modelUpdated"],
1287
1287
  setup(e, { expose: t, emit: n }) {
1288
1288
  const i = e, o = n, { clearValidationErrors: r, value: a } = kh.useAbstractFields({
1289
- model: Le(() => i.model),
1289
+ model: Ke(() => i.model),
1290
1290
  schema: i.schema,
1291
1291
  formOptions: i.formOptions,
1292
1292
  emitModelUpdated: (b) => {
@@ -1296,7 +1296,7 @@ const Un = (e) => {
1296
1296
  value: "current-cp",
1297
1297
  label: l("custom_field.key_auth_identity_realms.cp_label"),
1298
1298
  group: l("custom_field.key_auth_identity_realms.cp_group_label")
1299
- }, c = it(ta), { axiosInstance: d } = jn(c == null ? void 0 : c.axiosRequestConfig), f = () => {
1299
+ }, c = it(ta), { axiosInstance: d } = Kn(c == null ? void 0 : c.axiosRequestConfig), f = () => {
1300
1300
  if ((c == null ? void 0 : c.app) === "konnect") {
1301
1301
  const b = /\b(us|eu|au|me|in)\b/.exec((c == null ? void 0 : c.apiBaseUrl) || "");
1302
1302
  if (b)
@@ -2594,7 +2594,7 @@ const Un = (e) => {
2594
2594
  nameKey: "plugins.meta.acl.credential_name",
2595
2595
  endpoint: "/acls",
2596
2596
  schemaEndpoint: "acls",
2597
- fields: Un(mu),
2597
+ fields: zn(mu),
2598
2598
  applyCredentialButtonText: "Add group to consumer"
2599
2599
  },
2600
2600
  "basic-auth": {
@@ -2604,7 +2604,7 @@ const Un = (e) => {
2604
2604
  nameKey: "plugins.meta.basic-auth.credential_name",
2605
2605
  endpoint: "/basic-auth",
2606
2606
  schemaEndpoint: "basicauth_credentials",
2607
- fields: Un(gu)
2607
+ fields: zn(gu)
2608
2608
  },
2609
2609
  "key-auth": {
2610
2610
  titleKey: "plugins.meta.key-auth.name",
@@ -2613,7 +2613,7 @@ const Un = (e) => {
2613
2613
  nameKey: "plugins.meta.key-auth.credential_name",
2614
2614
  endpoint: "/key-auth",
2615
2615
  schemaEndpoint: "keyauth_credentials",
2616
- fields: Un(hu)
2616
+ fields: zn(hu)
2617
2617
  },
2618
2618
  "key-auth-enc": {
2619
2619
  titleKey: "plugins.meta.key-auth-enc.name",
@@ -2622,7 +2622,7 @@ const Un = (e) => {
2622
2622
  nameKey: "plugins.meta.key-auth-enc.credential_name",
2623
2623
  endpoint: "/key-auth-enc",
2624
2624
  schemaEndpoint: "keyauth_enc_credentials",
2625
- fields: Un(_u)
2625
+ fields: zn(_u)
2626
2626
  },
2627
2627
  oauth2: {
2628
2628
  titleKey: "plugins.meta.oauth2.name",
@@ -2631,7 +2631,7 @@ const Un = (e) => {
2631
2631
  nameKey: "plugins.meta.oauth2.credential_name",
2632
2632
  endpoint: "/oauth2",
2633
2633
  schemaEndpoint: "oauth2_credentials",
2634
- fields: Un(yu)
2634
+ fields: zn(yu)
2635
2635
  },
2636
2636
  "hmac-auth": {
2637
2637
  titleKey: "plugins.meta.hmac-auth.name",
@@ -2640,7 +2640,7 @@ const Un = (e) => {
2640
2640
  nameKey: "plugins.meta.hmac-auth.credential_name",
2641
2641
  endpoint: "/hmac-auth",
2642
2642
  schemaEndpoint: "hmacauth_credentials",
2643
- fields: Un(vu)
2643
+ fields: zn(vu)
2644
2644
  },
2645
2645
  jwt: {
2646
2646
  titleKey: "plugins.meta.jwt.name",
@@ -3348,12 +3348,12 @@ var py = "[object Null]", my = "[object Undefined]", wu = jt ? jt.toStringTag :
3348
3348
  function ui(e) {
3349
3349
  return e == null ? e === void 0 ? my : py : wu && wu in Object(e) ? uy(e) : fy(e);
3350
3350
  }
3351
- function Cn(e) {
3351
+ function kn(e) {
3352
3352
  return e != null && typeof e == "object";
3353
3353
  }
3354
3354
  var gy = "[object Symbol]";
3355
3355
  function al(e) {
3356
- return typeof e == "symbol" || Cn(e) && ui(e) == gy;
3356
+ return typeof e == "symbol" || kn(e) && ui(e) == gy;
3357
3357
  }
3358
3358
  function cf(e, t) {
3359
3359
  for (var n = -1, i = e == null ? 0 : e.length, o = Array(i); ++n < i; )
@@ -3551,12 +3551,12 @@ function Zy(e, t) {
3551
3551
  }
3552
3552
  var Jy = "[object Arguments]";
3553
3553
  function Au(e) {
3554
- return Cn(e) && ui(e) == Jy;
3554
+ return kn(e) && ui(e) == Jy;
3555
3555
  }
3556
3556
  var pf = Object.prototype, Qy = pf.hasOwnProperty, e_ = pf.propertyIsEnumerable, oa = Au(/* @__PURE__ */ function() {
3557
3557
  return arguments;
3558
3558
  }()) ? Au : function(e) {
3559
- return Cn(e) && Qy.call(e, "callee") && !e_.call(e, "callee");
3559
+ return kn(e) && Qy.call(e, "callee") && !e_.call(e, "callee");
3560
3560
  };
3561
3561
  function t_() {
3562
3562
  return !1;
@@ -3565,7 +3565,7 @@ var mf = typeof exports == "object" && exports && !exports.nodeType && exports,
3565
3565
  Qe[__] = Qe[b_] = Qe[w_] = Qe[E_] = Qe[k_] = Qe[C_] = Qe[S_] = Qe[x_] = Qe[A_] = !0;
3566
3566
  Qe[o_] = Qe[r_] = Qe[v_] = Qe[a_] = Qe[y_] = Qe[s_] = Qe[l_] = Qe[u_] = Qe[c_] = Qe[d_] = Qe[f_] = Qe[p_] = Qe[m_] = Qe[g_] = Qe[h_] = !1;
3567
3567
  function I_(e) {
3568
- return Cn(e) && cl(e.length) && !!Qe[ui(e)];
3568
+ return kn(e) && cl(e.length) && !!Qe[ui(e)];
3569
3569
  }
3570
3570
  function fl(e) {
3571
3571
  return function(t) {
@@ -3699,23 +3699,23 @@ function rb(e, t) {
3699
3699
  var n = this.__data__, i = ra(n, e);
3700
3700
  return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
3701
3701
  }
3702
- function In(e) {
3702
+ function An(e) {
3703
3703
  var t = -1, n = e == null ? 0 : e.length;
3704
3704
  for (this.clear(); ++t < n; ) {
3705
3705
  var i = e[t];
3706
3706
  this.set(i[0], i[1]);
3707
3707
  }
3708
3708
  }
3709
- In.prototype.clear = Q_;
3710
- In.prototype.delete = nb;
3711
- In.prototype.get = ib;
3712
- In.prototype.has = ob;
3713
- In.prototype.set = rb;
3709
+ An.prototype.clear = Q_;
3710
+ An.prototype.delete = nb;
3711
+ An.prototype.get = ib;
3712
+ An.prototype.has = ob;
3713
+ An.prototype.set = rb;
3714
3714
  var Ao = di(dn, "Map");
3715
3715
  function ab() {
3716
3716
  this.size = 0, this.__data__ = {
3717
3717
  hash: new ni(),
3718
- map: new (Ao || In)(),
3718
+ map: new (Ao || An)(),
3719
3719
  string: new ni()
3720
3720
  };
3721
3721
  }
@@ -3741,18 +3741,18 @@ function db(e, t) {
3741
3741
  var n = aa(this, e), i = n.size;
3742
3742
  return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
3743
3743
  }
3744
- function Tn(e) {
3744
+ function In(e) {
3745
3745
  var t = -1, n = e == null ? 0 : e.length;
3746
3746
  for (this.clear(); ++t < n; ) {
3747
3747
  var i = e[t];
3748
3748
  this.set(i[0], i[1]);
3749
3749
  }
3750
3750
  }
3751
- Tn.prototype.clear = ab;
3752
- Tn.prototype.delete = lb;
3753
- Tn.prototype.get = ub;
3754
- Tn.prototype.has = cb;
3755
- Tn.prototype.set = db;
3751
+ In.prototype.clear = ab;
3752
+ In.prototype.delete = lb;
3753
+ In.prototype.get = ub;
3754
+ In.prototype.has = cb;
3755
+ In.prototype.set = db;
3756
3756
  var fb = "Expected a function";
3757
3757
  function hl(e, t) {
3758
3758
  if (typeof e != "function" || t != null && typeof t != "function")
@@ -3764,9 +3764,9 @@ function hl(e, t) {
3764
3764
  var a = e.apply(this, i);
3765
3765
  return n.cache = r.set(o, a) || r, a;
3766
3766
  };
3767
- return n.cache = new (hl.Cache || Tn)(), n;
3767
+ return n.cache = new (hl.Cache || In)(), n;
3768
3768
  }
3769
- hl.Cache = Tn;
3769
+ hl.Cache = In;
3770
3770
  var pb = 500;
3771
3771
  function mb(e) {
3772
3772
  var t = hl(e, function(i) {
@@ -3828,7 +3828,7 @@ function bf(e) {
3828
3828
  }
3829
3829
  var _l = vf(Object.getPrototypeOf, Object), wb = "[object Object]", Eb = Function.prototype, kb = Object.prototype, wf = Eb.toString, Cb = kb.hasOwnProperty, Sb = wf.call(Object);
3830
3830
  function xb(e) {
3831
- if (!Cn(e) || ui(e) != wb)
3831
+ if (!kn(e) || ui(e) != wb)
3832
3832
  return !1;
3833
3833
  var t = _l(e);
3834
3834
  if (t === null)
@@ -3873,7 +3873,7 @@ function Qb(e) {
3873
3873
  return Jb(sa(e).toLowerCase());
3874
3874
  }
3875
3875
  function e0() {
3876
- this.__data__ = new In(), this.size = 0;
3876
+ this.__data__ = new An(), this.size = 0;
3877
3877
  }
3878
3878
  function t0(e) {
3879
3879
  var t = this.__data__, n = t.delete(e);
@@ -3888,23 +3888,23 @@ function i0(e) {
3888
3888
  var o0 = 200;
3889
3889
  function r0(e, t) {
3890
3890
  var n = this.__data__;
3891
- if (n instanceof In) {
3891
+ if (n instanceof An) {
3892
3892
  var i = n.__data__;
3893
3893
  if (!Ao || i.length < o0 - 1)
3894
3894
  return i.push([e, t]), this.size = ++n.size, this;
3895
- n = this.__data__ = new Tn(i);
3895
+ n = this.__data__ = new In(i);
3896
3896
  }
3897
3897
  return n.set(e, t), this.size = n.size, this;
3898
3898
  }
3899
- function En(e) {
3900
- var t = this.__data__ = new In(e);
3899
+ function wn(e) {
3900
+ var t = this.__data__ = new An(e);
3901
3901
  this.size = t.size;
3902
3902
  }
3903
- En.prototype.clear = e0;
3904
- En.prototype.delete = t0;
3905
- En.prototype.get = n0;
3906
- En.prototype.has = i0;
3907
- En.prototype.set = r0;
3903
+ wn.prototype.clear = e0;
3904
+ wn.prototype.delete = t0;
3905
+ wn.prototype.get = n0;
3906
+ wn.prototype.has = i0;
3907
+ wn.prototype.set = r0;
3908
3908
  function a0(e, t) {
3909
3909
  return e && Vo(t, ml(t), e);
3910
3910
  }
@@ -4038,11 +4038,11 @@ function X0(e) {
4038
4038
  }
4039
4039
  var Z0 = "[object Map]";
4040
4040
  function J0(e) {
4041
- return Cn(e) && Kt(e) == Z0;
4041
+ return kn(e) && Kt(e) == Z0;
4042
4042
  }
4043
4043
  var qu = $i && $i.isMap, Q0 = qu ? fl(qu) : J0, ew = "[object Set]";
4044
4044
  function tw(e) {
4045
- return Cn(e) && Kt(e) == ew;
4045
+ return kn(e) && Kt(e) == ew;
4046
4046
  }
4047
4047
  var zu = $i && $i.isSet, nw = zu ? fl(zu) : tw, iw = 1, ow = 2, rw = 4, Ff = "[object Arguments]", aw = "[object Array]", sw = "[object Boolean]", lw = "[object Date]", uw = "[object Error]", Rf = "[object Function]", cw = "[object GeneratorFunction]", dw = "[object Map]", fw = "[object Number]", Df = "[object Object]", pw = "[object RegExp]", mw = "[object Set]", gw = "[object String]", hw = "[object Symbol]", vw = "[object WeakMap]", yw = "[object ArrayBuffer]", _w = "[object DataView]", bw = "[object Float32Array]", ww = "[object Float64Array]", Ew = "[object Int8Array]", kw = "[object Int16Array]", Cw = "[object Int32Array]", Sw = "[object Uint8Array]", xw = "[object Uint8ClampedArray]", Aw = "[object Uint16Array]", Iw = "[object Uint32Array]", Je = {};
4048
4048
  Je[Ff] = Je[aw] = Je[yw] = Je[_w] = Je[sw] = Je[lw] = Je[bw] = Je[ww] = Je[Ew] = Je[kw] = Je[Cw] = Je[dw] = Je[fw] = Je[Df] = Je[pw] = Je[mw] = Je[gw] = Je[hw] = Je[Sw] = Je[xw] = Je[Aw] = Je[Iw] = !0;
@@ -4070,7 +4070,7 @@ function yo(e, t, n, i, o, r) {
4070
4070
  a = W0(e, d, s);
4071
4071
  }
4072
4072
  }
4073
- r || (r = new En());
4073
+ r || (r = new wn());
4074
4074
  var m = r.get(e);
4075
4075
  if (m)
4076
4076
  return m;
@@ -4097,7 +4097,7 @@ function Pw(e) {
4097
4097
  }
4098
4098
  function $r(e) {
4099
4099
  var t = -1, n = e == null ? 0 : e.length;
4100
- for (this.__data__ = new Tn(); ++t < n; )
4100
+ for (this.__data__ = new In(); ++t < n; )
4101
4101
  this.add(e[t]);
4102
4102
  }
4103
4103
  $r.prototype.add = $r.prototype.push = Ow;
@@ -4236,18 +4236,18 @@ function a1(e, t, n, i, o, r) {
4236
4236
  a = !0, c = !1;
4237
4237
  }
4238
4238
  if (f && !c)
4239
- return r || (r = new En()), a || pl(e) ? Lf(e, t, n, i, o, r) : Qw(e, t, l, n, i, o, r);
4239
+ return r || (r = new wn()), a || pl(e) ? Lf(e, t, n, i, o, r) : Qw(e, t, l, n, i, o, r);
4240
4240
  if (!(n & o1)) {
4241
4241
  var m = c && Yu.call(e, "__wrapped__"), h = d && Yu.call(t, "__wrapped__");
4242
4242
  if (m || h) {
4243
4243
  var v = m ? e.value() : e, g = h ? t.value() : t;
4244
- return r || (r = new En()), o(v, g, n, i, r);
4244
+ return r || (r = new wn()), o(v, g, n, i, r);
4245
4245
  }
4246
4246
  }
4247
- return f ? (r || (r = new En()), i1(e, t, n, i, o, r)) : !1;
4247
+ return f ? (r || (r = new wn()), i1(e, t, n, i, o, r)) : !1;
4248
4248
  }
4249
4249
  function Kf(e, t, n, i, o) {
4250
- return e === t ? !0 : e == null || t == null || !Cn(e) && !Cn(t) ? e !== e && t !== t : a1(e, t, n, i, Kf, o);
4250
+ return e === t ? !0 : e == null || t == null || !kn(e) && !kn(t) ? e !== e && t !== t : a1(e, t, n, i, Kf, o);
4251
4251
  }
4252
4252
  function s1(e, t) {
4253
4253
  return e != null && t in Object(e);
@@ -4922,16 +4922,16 @@ const F1 = (e, t) => {
4922
4922
  return E(), H(u, { class: "plugin-field-rule-alerts" }, {
4923
4923
  default: F(() => [
4924
4924
  U("ul", null, [
4925
- (E(!0), te(Ke, null, qe(a.value, (c, d) => (E(), te("li", {
4925
+ (E(!0), te(Re, null, qe(a.value, (c, d) => (E(), te("li", {
4926
4926
  key: `simple-alert-${d}`
4927
4927
  }, he(c), 1))), 128)),
4928
4928
  t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (E(), te("li", D1, [
4929
- (E(!0), te(Ke, null, qe(t.rules.onlyOneOfMutuallyRequired, (c, d) => (E(), te("div", {
4929
+ (E(!0), te(Re, null, qe(t.rules.onlyOneOfMutuallyRequired, (c, d) => (E(), te("div", {
4930
4930
  key: `only-one-mutually-alert-${d}`
4931
4931
  }, [
4932
4932
  U("div", null, he(p(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
4933
4933
  U("ul", null, [
4934
- (E(!0), te(Ke, null, qe(c, (f, m) => (E(), te("li", {
4934
+ (E(!0), te(Re, null, qe(c, (f, m) => (E(), te("li", {
4935
4935
  key: `only-one-mutually-alert-${d}-combination-${m}`
4936
4936
  }, he(o(f)), 1))), 128))
4937
4937
  ])
@@ -5144,7 +5144,7 @@ function Z1(e, t) {
5144
5144
  parentPath: r.value,
5145
5145
  isolate: o
5146
5146
  });
5147
- return Te([Le(t), Le(n)], ([s, l]) => {
5147
+ return Te([Ke(t), Ke(n)], ([s, l]) => {
5148
5148
  var f;
5149
5149
  const { parentPath: u, isolate: c } = l, d = u ? Ht(u, e) : e;
5150
5150
  if (s) {
@@ -5181,7 +5181,7 @@ function Q1(e, t) {
5181
5181
  });
5182
5182
  }
5183
5183
  function Wt(e, t) {
5184
- const { getLabelAttributes: n, getPlaceholder: i, getSchema: o } = rt(), r = Oe(e), a = Oe(t), s = Q1(e, Le(() => Oe(t).resetLabelPath));
5184
+ const { getLabelAttributes: n, getPlaceholder: i, getSchema: o } = rt(), r = Oe(e), a = Oe(t), s = Q1(e, Ke(() => Oe(t).resetLabelPath));
5185
5185
  return M(() => {
5186
5186
  var l;
5187
5187
  return {
@@ -5229,7 +5229,7 @@ function Lt(e) {
5229
5229
  };
5230
5230
  }
5231
5231
  function zo(e) {
5232
- const { getSchema: t } = rt(), n = Kn();
5232
+ const { getSchema: t } = rt(), n = Ln();
5233
5233
  return M(() => {
5234
5234
  var o;
5235
5235
  if (n["data-autofocus"] !== void 0)
@@ -5241,46 +5241,26 @@ function zo(e) {
5241
5241
  });
5242
5242
  }
5243
5243
  function tp(e, t) {
5244
- const n = wn(/* @__PURE__ */ new Map()), i = wn(/* @__PURE__ */ new Map());
5244
+ const n = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new Map();
5245
5245
  function o() {
5246
5246
  return ua(`${e}-`);
5247
5247
  }
5248
- function r(s) {
5249
- if (s == null) return "null";
5250
- if (typeof s != "object") return String(s);
5251
- try {
5252
- return JSON.stringify(s, Object.keys(s).sort());
5253
- } catch {
5254
- return String(s);
5255
- }
5256
- }
5257
- function a(s, l) {
5258
- if (s == null || typeof s != "object")
5259
- return `${e}-${l}`;
5260
- const u = r(s);
5261
- if (n.has(u))
5262
- return n.get(u);
5263
- if (i.has(l)) {
5264
- const d = i.get(l);
5265
- return n.set(u, d), d;
5266
- }
5267
- const c = o();
5268
- return n.set(u, c), i.set(l, c), c;
5269
- }
5270
- return Te(t, (s) => {
5271
- const l = Oe(s), u = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
5272
- l.forEach((d, f) => {
5273
- if (d != null && typeof d == "object") {
5274
- const m = r(d);
5275
- u.add(m);
5276
- }
5277
- c.add(f);
5278
- }), Array.from(n.keys()).forEach((d) => {
5279
- u.has(d) || n.delete(d);
5280
- }), Array.from(i.keys()).forEach((d) => {
5281
- c.has(d) || i.delete(d);
5248
+ function r(a, s) {
5249
+ if (a == null || typeof a != "object")
5250
+ return `${e}-${s}`;
5251
+ if (n.has(a))
5252
+ return n.get(a);
5253
+ const l = i.has(s) ? i.get(s) : o();
5254
+ return i.set(s, l), n.set(a, l), l;
5255
+ }
5256
+ return Te(t, (a) => {
5257
+ const s = Oe(a), l = /* @__PURE__ */ new Set();
5258
+ s.forEach((u, c) => {
5259
+ l.add(c);
5260
+ }), Array.from(i.keys()).forEach((u) => {
5261
+ l.has(u) || i.delete(u);
5282
5262
  });
5283
- }, { immediate: !0, deep: !0 }), { getKey: a };
5263
+ }, { immediate: !0, deep: !0 }), { getKey: r };
5284
5264
  }
5285
5265
  const tE = "__request_callout_";
5286
5266
  function np() {
@@ -5312,7 +5292,7 @@ const oi = /* @__PURE__ */ ve({
5312
5292
  qe(Gt(), (d, f) => ({
5313
5293
  name: f,
5314
5294
  fn: F((m) => [
5315
- Me(u.$slots, f, un(kn(m)))
5295
+ Me(u.$slots, f, un(En(m)))
5316
5296
  ])
5317
5297
  }))
5318
5298
  ]), 1040, ["model-value", "resizable"]));
@@ -5339,7 +5319,7 @@ const oi = /* @__PURE__ */ ve({
5339
5319
  },
5340
5320
  emits: ["update:modelValue"],
5341
5321
  setup(e, { emit: t }) {
5342
- const n = Kn(), { i18n: i } = Ue(), o = Yt(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(Le(() => e.name)), l = Wt(s.path, Le({ ...o, ...n })), u = a == null ? void 0 : a.value;
5322
+ const n = Ln(), { i18n: i } = Ue(), o = Yt(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(Ke(() => e.name)), l = Wt(s.path, Ke({ ...o, ...n })), u = a == null ? void 0 : a.value;
5343
5323
  function c(y) {
5344
5324
  u !== void 0 && y === "" && y !== u ? (a.value = null, r("update:modelValue", null)) : (a.value = y.trim(), r("update:modelValue", y.trim()));
5345
5325
  }
@@ -5410,7 +5390,7 @@ const oi = /* @__PURE__ */ ve({
5410
5390
  },
5411
5391
  emits: ["update:modelValue"],
5412
5392
  setup(e, { emit: t }) {
5413
- const n = Yt(e, ["name"]), { value: i, ...o } = Lt(Le(() => e.name)), r = t, a = (l) => {
5393
+ const n = Yt(e, ["name"]), { value: i, ...o } = Lt(Ke(() => e.name)), r = t, a = (l) => {
5414
5394
  i.value = l, r("update:modelValue", l);
5415
5395
  }, s = Wt(o.path, n);
5416
5396
  return (l, u) => {
@@ -5538,7 +5518,7 @@ const oi = /* @__PURE__ */ ve({
5538
5518
  }),
5539
5519
  emits: ["update:added", "update:expanded"],
5540
5520
  setup(e) {
5541
- const t = Yt(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = Lt(Le(t, "name")), { getSchema: o, getDefault: r } = rt(), a = Cr(e, "added"), s = Cr(e, "expanded"), l = M(() => f.value && (e.collapsible ? s.value ?? e.defaultExpanded : !1)), u = M(() => {
5521
+ const t = Yt(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = Lt(Ke(t, "name")), { getSchema: o, getDefault: r } = rt(), a = Cr(e, "added"), s = Cr(e, "expanded"), l = M(() => f.value && (e.collapsible ? s.value ?? e.defaultExpanded : !1)), u = M(() => {
5542
5522
  var g, y;
5543
5523
  if ((g = i.ancestors) != null && g.value) {
5544
5524
  const b = i.ancestors.value.parent;
@@ -5546,7 +5526,7 @@ const oi = /* @__PURE__ */ ve({
5546
5526
  return ((y = o(b.path)) == null ? void 0 : y.type) === "array";
5547
5527
  }
5548
5528
  return !1;
5549
- }), c = M(() => e.resetLabelPath !== void 0 ? e.resetLabelPath : u.value ? "reset" : "inherit"), d = Wt(i.path, Le(() => ({ required: e.required, ...t, resetLabelPath: c.value }))), f = M(() => d.value.required ? !0 : a.value ?? e.defaultAdded), m = M(() => e.asChild !== void 0 ? e.asChild : u.value), h = M(() => {
5529
+ }), c = M(() => e.resetLabelPath !== void 0 ? e.resetLabelPath : u.value ? "reset" : "inherit"), d = Wt(i.path, Ke(() => ({ required: e.required, ...t, resetLabelPath: c.value }))), f = M(() => d.value.required ? !0 : a.value ?? e.defaultAdded), m = M(() => e.asChild !== void 0 ? e.asChild : u.value), h = M(() => {
5550
5530
  let g = i.schema.value.fields;
5551
5531
  return e.omit && (g = g.filter((y) => !e.omit.includes(Object.keys(y)[0]))), e.fieldsOrder ? g.sort((y, b) => {
5552
5532
  const _ = Object.keys(y)[0], C = Object.keys(b)[0], x = e.fieldsOrder.indexOf(_), k = e.fieldsOrder.indexOf(C);
@@ -5558,12 +5538,12 @@ const oi = /* @__PURE__ */ ve({
5558
5538
  }
5559
5539
  return Te(f, (g) => {
5560
5540
  e.collapsible && (s.value = g);
5561
- }), An(() => {
5541
+ }), xn(() => {
5562
5542
  a.value = !!(n != null && n.value);
5563
5543
  }), (g, y) => {
5564
5544
  var _;
5565
5545
  const b = we("KAlert");
5566
- return E(), te(Ke, null, [
5546
+ return E(), te(Re, null, [
5567
5547
  (E(), H(mt(g.$slots[p(Pi)]))),
5568
5548
  i.error ? (E(), H(b, {
5569
5549
  key: 0,
@@ -5576,7 +5556,7 @@ const oi = /* @__PURE__ */ ve({
5576
5556
  "data-testid": `ff-object-${i.path.value}`
5577
5557
  }), [
5578
5558
  Me(g.$slots, "default", {}, () => [
5579
- (E(!0), te(Ke, null, qe(h.value, (C) => (E(), H(St, {
5559
+ (E(!0), te(Re, null, qe(h.value, (C) => (E(), H(St, {
5580
5560
  key: Object.keys(C)[0],
5581
5561
  name: Object.keys(C)[0]
5582
5562
  }, null, 8, ["name"]))), 128))
@@ -5600,7 +5580,7 @@ const oi = /* @__PURE__ */ ve({
5600
5580
  "tooltip-attributes": p(d).labelAttributes.tooltipAttributes
5601
5581
  }), et({
5602
5582
  default: F(() => [
5603
- De(he(p(d).label) + " ", 1)
5583
+ Le(he(p(d).label) + " ", 1)
5604
5584
  ]),
5605
5585
  _: 2
5606
5586
  }, [
@@ -5656,7 +5636,7 @@ const oi = /* @__PURE__ */ ve({
5656
5636
  "data-testid": `ff-object-content-${i.path.value}`
5657
5637
  }, [
5658
5638
  Me(g.$slots, "default", {}, () => [
5659
- (E(!0), te(Ke, null, qe(h.value, (C) => (E(), H(St, {
5639
+ (E(!0), te(Re, null, qe(h.value, (C) => (E(), H(St, {
5660
5640
  key: Object.keys(C)[0],
5661
5641
  name: Object.keys(C)[0]
5662
5642
  }, null, 8, ["name"]))), 128))
@@ -5688,7 +5668,7 @@ const oi = /* @__PURE__ */ ve({
5688
5668
  },
5689
5669
  emits: ["update:modelValue"],
5690
5670
  setup(e, { emit: t }) {
5691
- const n = Yt(e, ["name"]), { value: i, ...o } = Lt(Le(() => e.name)), r = Wt(o.path, n), a = M(() => {
5671
+ const n = Yt(e, ["name"]), { value: i, ...o } = Lt(Ke(() => e.name)), r = Wt(o.path, n), a = M(() => {
5692
5672
  var v;
5693
5673
  const f = (v = o.schema) == null ? void 0 : v.value;
5694
5674
  if (typeof f.gt == "number")
@@ -5749,7 +5729,7 @@ const oi = /* @__PURE__ */ ve({
5749
5729
  placeholder: {}
5750
5730
  },
5751
5731
  setup(e) {
5752
- const t = Yt(e, ["name", "items", "multiple"]), { getSelectItems: n } = rt(), { value: i, ...o } = Lt(Le(() => e.name)), r = Wt(o.path, t), a = M(() => e.items ? e.items : o.path ? n(o.path.value) : []), s = M(() => {
5732
+ const t = Yt(e, ["name", "items", "multiple"]), { getSelectItems: n } = rt(), { value: i, ...o } = Lt(Ke(() => e.name)), r = Wt(o.path, t), a = M(() => e.items ? e.items : o.path ? n(o.path.value) : []), s = M(() => {
5753
5733
  var u;
5754
5734
  return e.multiple !== void 0 ? e.multiple : ((u = o.schema.value) == null ? void 0 : u.type) === "set";
5755
5735
  }), l = M(() => s.value ? qh : zh);
@@ -5785,7 +5765,7 @@ const oi = /* @__PURE__ */ ve({
5785
5765
  }
5786
5766
  }), an = /* @__PURE__ */ Fe(vE, [["__scopeId", "data-v-8b105573"]]);
5787
5767
  function Il(e, t, n = !0) {
5788
- const { value: i, ...o } = Lt(Le(e, "name")), r = Wt(o.path, Le({ ...e, ...Kn() })), a = oe(u(
5768
+ const { value: i, ...o } = Lt(Ke(e, "name")), r = Wt(o.path, Ke({ ...e, ...Ln() })), a = oe(u(
5789
5769
  e.initialValue ?? Oe(i) ?? {},
5790
5770
  e.keyOrder
5791
5771
  ));
@@ -5956,7 +5936,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
5956
5936
  "tooltip-attributes": p(d).labelAttributes.tooltipAttributes
5957
5937
  }), et({
5958
5938
  default: F(() => [
5959
- De(he(p(d).label) + " ", 1)
5939
+ Le(he(p(d).label) + " ", 1)
5960
5940
  ]),
5961
5941
  _: 2
5962
5942
  }, [
@@ -5984,7 +5964,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
5984
5964
  _: 1
5985
5965
  }, 8, ["data-testid"])
5986
5966
  ], 8, _E),
5987
- (E(!0), te(Ke, null, qe(p(a), (Y, T) => (E(), te("div", {
5967
+ (E(!0), te(Re, null, qe(p(a), (Y, T) => (E(), te("div", {
5988
5968
  key: Y.id,
5989
5969
  class: "ff-kv-field-entry",
5990
5970
  "data-testid": `ff-kv-container-${p(f).path.value}.${T}`
@@ -6050,7 +6030,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6050
6030
  },
6051
6031
  emits: ["update:modelValue"],
6052
6032
  setup(e, { emit: t }) {
6053
- const n = Kn(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(Le(() => e.name)), s = Wt(a.path, Le({ ...i, ...n })), l = M(() => {
6033
+ const n = Ln(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(Ke(() => e.name)), s = Wt(a.path, Ke({ ...i, ...n })), l = M(() => {
6054
6034
  var v, g;
6055
6035
  return ((g = (v = a.schema) == null ? void 0 : v.value) == null ? void 0 : g.len_min) && a.schema.value.len_min > 0;
6056
6036
  }), u = oe("");
@@ -6112,7 +6092,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6112
6092
  },
6113
6093
  emits: ["update:modelValue"],
6114
6094
  setup(e, { emit: t }) {
6115
- const n = Kn(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(Le(() => e.name)), s = Wt(a.path, Le({ ...i, ...n })), l = oe("");
6095
+ const n = Ln(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(Ke(() => e.name)), s = Wt(a.path, Ke({ ...i, ...n })), l = oe("");
6116
6096
  function u(f) {
6117
6097
  l.value = f;
6118
6098
  let m = f || null;
@@ -6189,10 +6169,10 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6189
6169
  },
6190
6170
  emits: ["update:modelValue"],
6191
6171
  setup(e, { emit: t }) {
6192
- const n = Kn(), { i18n: { t: i } } = Ue(), o = Yt(e, ["showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(Le(() => e.name));
6172
+ const n = Ln(), { i18n: { t: i } } = Ue(), o = Yt(e, ["showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(Ke(() => e.name));
6193
6173
  if (s.error)
6194
6174
  throw new Error(s.error.message);
6195
- const l = Wt(s.path, Le({ ...o, ...n })), u = a.value ? a.value.id : null, c = M(() => {
6175
+ const l = Wt(s.path, Ke({ ...o, ...n })), u = a.value ? a.value.id : null, c = M(() => {
6196
6176
  var v;
6197
6177
  return l.value.placeholder ? l.value.placeholder : i("plugins.free-form.foreign_placeholder", { entity: ((v = s.schema.value) == null ? void 0 : v.reference) ?? "entity" });
6198
6178
  }), d = oe(u ?? "");
@@ -6236,7 +6216,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6236
6216
  },
6237
6217
  emits: ["globalAction"],
6238
6218
  setup(e) {
6239
- const n = Lt(Le(e, "name")), i = M(() => {
6219
+ const n = Lt(Ke(e, "name")), i = M(() => {
6240
6220
  var o, r;
6241
6221
  switch ((r = (o = n.schema) == null ? void 0 : o.value) == null ? void 0 : r.type) {
6242
6222
  case "string":
@@ -6264,7 +6244,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6264
6244
  });
6265
6245
  return (o, r) => {
6266
6246
  const a = we("KAlert");
6267
- return E(), te(Ke, null, [
6247
+ return E(), te(Re, null, [
6268
6248
  (E(), H(mt(o.$slots[p(Pi)]))),
6269
6249
  p(n).error ? (E(), H(a, {
6270
6250
  key: 0,
@@ -6274,7 +6254,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6274
6254
  key: 1,
6275
6255
  name: xs(p(n).path.value),
6276
6256
  onGlobalAction: r[0] || (r[0] = (s, l) => o.$emit("globalAction", s, l))
6277
- }, null, 40, ["name"])) : (E(), te(Ke, { key: 2 }, [
6257
+ }, null, 40, ["name"])) : (E(), te(Re, { key: 2 }, [
6278
6258
  i.value ? (E(), H(mt(i.value), {
6279
6259
  key: 0,
6280
6260
  name: xs(p(n).path.value)
@@ -6305,7 +6285,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6305
6285
  il((N) => ({
6306
6286
  "3e1c9ee2": x.value
6307
6287
  }));
6308
- const n = e, i = t, { i18n: { t: o } } = Ue(), { getDefault: r, getSchema: a } = rt(), { value: s, ...l } = Lt(Le(n, "name")), u = Wt(l.path, Le({ ...n, ...Kn() })), c = M(() => {
6288
+ const n = e, i = t, { i18n: { t: o } } = Ue(), { getDefault: r, getSchema: a } = rt(), { value: s, ...l } = Lt(Ke(n, "name")), u = Wt(l.path, Ke({ ...n, ...Ln() })), c = M(() => {
6309
6289
  if (!l.path) throw new Error("Field path is required for sub-schema retrieval");
6310
6290
  const N = a(l.path.value);
6311
6291
  if (!N) throw new Error(`Schema not found for path: ${l.path.value}`);
@@ -6362,7 +6342,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6362
6342
  "tooltip-attributes": p(u).labelAttributes.tooltipAttributes
6363
6343
  }), et({
6364
6344
  default: F(() => [
6365
- De(he(p(u).label) + " ", 1)
6345
+ Le(he(p(u).label) + " ", 1)
6366
6346
  ]),
6367
6347
  _: 2
6368
6348
  }, [
@@ -6391,13 +6371,13 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6391
6371
  _: 1
6392
6372
  }, 8, ["aria-label", "data-testid"])
6393
6373
  ], 8, FE),
6394
- d.value.length ? (E(), te(Ke, { key: 0 }, [
6374
+ d.value.length ? (E(), te(Re, { key: 0 }, [
6395
6375
  N.appearance !== "tabs" ? (E(), te("div", {
6396
6376
  key: 0,
6397
6377
  class: "ff-array-field-container",
6398
6378
  "data-testid": `ff-array-basic-container-${l.path.value}`
6399
6379
  }, [
6400
- (E(!0), te(Ke, null, qe(d.value, ($, V) => (E(), H(p(m), {
6380
+ (E(!0), te(Re, null, qe(d.value, ($, V) => (E(), H(p(m), {
6401
6381
  key: p(f)($, V),
6402
6382
  class: "ff-array-field-item",
6403
6383
  "data-index": V,
@@ -6468,7 +6448,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6468
6448
  qe(d.value, ($, V) => ({
6469
6449
  name: `${p(f)($, V)}-anchor`,
6470
6450
  fn: F(() => [
6471
- De(he(h($, V)) + " ", 1),
6451
+ Le(he(h($, V)) + " ", 1),
6472
6452
  P(Y, {
6473
6453
  appearance: "tertiary",
6474
6454
  "aria-label": p(o)("actions.remove_entity", { entity: p(o)("plugins.free-form.request-callout.entity_name") }),
@@ -6603,7 +6583,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6603
6583
  }) : m;
6604
6584
  });
6605
6585
  let l = !1;
6606
- const u = wn({});
6586
+ const u = Wn({});
6607
6587
  ot(Wf, u), ot(As, Bf(o, "default", Pi)), ot(Nr, /* @__PURE__ */ new Map()), ot(Zf, e.config ?? {}), Te(u, (m) => {
6608
6588
  l && i("change", Oe(m));
6609
6589
  }, { deep: !0, immediate: !0 });
@@ -6617,7 +6597,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6617
6597
  let h;
6618
6598
  !m || !a(Oe(m)) ? h = r.getDefault() : h = Ni(Oe(m)), Ar((v = e.config) == null ? void 0 : v.prepareFormData) ? d(e.config.prepareFormData(h)) : d(h), l = !0;
6619
6599
  }
6620
- return An(() => {
6600
+ return xn(() => {
6621
6601
  f(e.data);
6622
6602
  }), Te(() => e.data, (m) => {
6623
6603
  f(m);
@@ -6627,7 +6607,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6627
6607
  default: F(() => [
6628
6608
  (E(), H(mt(p(o)[p(Pi)]))),
6629
6609
  Me(m.$slots, "default", {}, () => [
6630
- (E(!0), te(Ke, null, qe(s.value, (v) => (E(), H(St, {
6610
+ (E(!0), te(Re, null, qe(s.value, (v) => (E(), H(St, {
6631
6611
  key: Object.keys(v)[0],
6632
6612
  name: Object.keys(v)[0],
6633
6613
  onGlobalAction: h[0] || (h[0] = (g, y) => i("globalAction", g, y))
@@ -6854,7 +6834,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6854
6834
  ];
6855
6835
  return Ss(n.model, c);
6856
6836
  });
6857
- return (c, d) => (E(), te(Ke, null, [
6837
+ return (c, d) => (E(), te(Re, null, [
6858
6838
  U("div", GE, [
6859
6839
  P(p(ho), {
6860
6840
  model: c.formModel,
@@ -6869,10 +6849,10 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6869
6849
  class: "ff-form-config-fields"
6870
6850
  }, {
6871
6851
  title: F(() => [
6872
- De(he(p(t)("plugins.form.grouping.plugin_configuration.title")), 1)
6852
+ Le(he(p(t)("plugins.form.grouping.plugin_configuration.title")), 1)
6873
6853
  ]),
6874
6854
  "visible-content": F(() => [
6875
- De(he(p(t)("plugins.form.grouping.plugin_configuration.description")), 1)
6855
+ Le(he(p(t)("plugins.form.grouping.plugin_configuration.description")), 1)
6876
6856
  ]),
6877
6857
  default: F(() => [
6878
6858
  U("div", YE, [
@@ -6903,9 +6883,9 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6903
6883
  },
6904
6884
  setup(e) {
6905
6885
  const t = e, n = Gt();
6906
- return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H($l, un(kn(t)), {
6886
+ return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H($l, un(En(t)), {
6907
6887
  default: F((r) => [
6908
- P(HE, un(kn(r)), null, 16)
6888
+ P(HE, un(En(r)), null, 16)
6909
6889
  ]),
6910
6890
  _: 1
6911
6891
  }, 16));
@@ -6921,7 +6901,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6921
6901
  },
6922
6902
  emits: ["update:modelValue"],
6923
6903
  setup(e, { emit: t }) {
6924
- const n = t, i = Yt(e, ["name", "items"]), { getSelectItems: o } = rt(), r = Lt(Le(() => e.name)), a = Wt(r.path, i), s = M(() => e.items ? e.items : r.path ? o(r.path.value) : []), l = (u) => {
6904
+ const n = t, i = Yt(e, ["name", "items"]), { getSelectItems: o } = rt(), r = Lt(Ke(() => e.name)), a = Wt(r.path, i), s = M(() => e.items ? e.items : r.path ? o(r.path.value) : []), l = (u) => {
6925
6905
  r.value && (r.value.value = u), n("update:modelValue", u);
6926
6906
  };
6927
6907
  return (u, c) => {
@@ -6932,9 +6912,9 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6932
6912
  appearance: "danger",
6933
6913
  message: p(r).error.message
6934
6914
  }, null, 8, ["message"])) : (E(), te("div", ZE, [
6935
- P(f, un(kn(p(a).labelAttributes)), et({
6915
+ P(f, un(En(p(a).labelAttributes)), et({
6936
6916
  default: F(() => [
6937
- De(he(p(a).label) + " ", 1)
6917
+ Le(he(p(a).label) + " ", 1)
6938
6918
  ]),
6939
6919
  _: 2
6940
6920
  }, [
@@ -6949,7 +6929,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
6949
6929
  } : void 0
6950
6930
  ]), 1040),
6951
6931
  U("div", QE, [
6952
- (E(!0), te(Ke, null, qe(s.value, (h) => (E(), H(p(hs), {
6932
+ (E(!0), te(Re, null, qe(s.value, (h) => (E(), H(p(hs), {
6953
6933
  key: h.value,
6954
6934
  "model-value": p(r).value.value,
6955
6935
  "onUpdate:modelValue": [
@@ -7061,7 +7041,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7061
7041
  required: ""
7062
7042
  }, {
7063
7043
  default: F(() => [
7064
- De(he(p(t)("sp.request_limits.title")), 1)
7044
+ Le(he(p(t)("sp.request_limits.title")), 1)
7065
7045
  ]),
7066
7046
  _: 1
7067
7047
  }),
@@ -7078,14 +7058,14 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7078
7058
  }, null, 8, ["items", "label"])
7079
7059
  ]),
7080
7060
  U("div", rk, [
7081
- (E(!0), te(Ke, null, qe(r.value, (O, B) => (E(), te("div", {
7061
+ (E(!0), te(Re, null, qe(r.value, (O, B) => (E(), te("div", {
7082
7062
  key: p(a)(O, B)
7083
7063
  }, [
7084
7064
  P(_, {
7085
7065
  for: `sp-form-request-limits-item-${B}-legend`
7086
7066
  }, {
7087
7067
  default: F(() => [
7088
- De(he(p(t)("sp.request_limits.label_index", { index: B + 1 })), 1)
7068
+ Le(he(p(t)("sp.request_limits.label_index", { index: B + 1 })), 1)
7089
7069
  ]),
7090
7070
  _: 2
7091
7071
  }, 1032, ["for"]),
@@ -7132,7 +7112,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7132
7112
  h.value.length > 0 ? (E(), te("div", uk, [
7133
7113
  U("div", null, he(p(t)("sp.start_with_a_use_case")), 1),
7134
7114
  U("div", ck, [
7135
- (E(!0), te(Ke, null, qe(h.value, (O, B) => (E(), H(k, {
7115
+ (E(!0), te(Re, null, qe(h.value, (O, B) => (E(), H(k, {
7136
7116
  key: `use-case-${B}`,
7137
7117
  "max-width": "300"
7138
7118
  }, {
@@ -7149,7 +7129,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7149
7129
  onClick: () => v(O, `${c.value}-${B}`)
7150
7130
  }, {
7151
7131
  default: F(() => [
7152
- De(he(O.label), 1)
7132
+ Le(he(O.label), 1)
7153
7133
  ]),
7154
7134
  _: 2
7155
7135
  }, 1032, ["appearance", "onClick"])
@@ -7184,7 +7164,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7184
7164
  }
7185
7165
  }, {
7186
7166
  default: F(() => [
7187
- De(he(p(t)("sp.error_message.label")), 1)
7167
+ Le(he(p(t)("sp.error_message.label")), 1)
7188
7168
  ]),
7189
7169
  _: 1
7190
7170
  }, 8, ["info"]),
@@ -7249,7 +7229,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7249
7229
  return (d, f) => {
7250
7230
  const m = we("KCopy");
7251
7231
  return E(), te("div", hk, [
7252
- (E(!0), te(Ke, null, qe(c.value, ({ key: h, label: v, value: g, type: y }) => (E(), te("div", {
7232
+ (E(!0), te(Re, null, qe(c.value, ({ key: h, label: v, value: g, type: y }) => (E(), te("div", {
7253
7233
  key: h,
7254
7234
  class: "partial-config-card-row"
7255
7235
  }, [
@@ -7436,7 +7416,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7436
7416
  }, Y = M(() => {
7437
7417
  const J = (O.value || []).map((Z) => ({ label: Z.id, name: Z.name, value: Z.id, type: Z.type, tag: j1(Z) })).filter((Z) => Z.type === "redis-ce" || Z.type === "redis-ee");
7438
7418
  return l !== "all" ? J.filter((Z) => Z.type === l) : J;
7439
- }), { axiosInstance: T } = jn(_ == null ? void 0 : _.axiosRequestConfig), re = () => {
7419
+ }), { axiosInstance: T } = Kn(_ == null ? void 0 : _.axiosRequestConfig), re = () => {
7440
7420
  f.value ? (g.value && (y.value = g.value, h.value = g.value[0].id, b.value = void 0), b != null && b.value && (v.value = b.value)) : (Object.keys(v.value).length && (b.value = v.value), y != null && y.value && (g.value = y.value), y.value = a ? null : void 0);
7441
7421
  }, $ = (J) => {
7442
7422
  N(), n("globalAction", "notify", J);
@@ -7458,7 +7438,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7458
7438
  };
7459
7439
  return Te(() => f.value, () => {
7460
7440
  re();
7461
- }), An(() => {
7441
+ }), xn(() => {
7462
7442
  var J;
7463
7443
  if (N(), o.defaultRedisConfigItem || y != null && y.value) {
7464
7444
  const Z = o.defaultRedisConfigItem || ((J = y == null ? void 0 : y.value) == null ? void 0 : J[0].id);
@@ -7487,7 +7467,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7487
7467
  default: F(() => [
7488
7468
  P(q, { appearance: "success" }, {
7489
7469
  default: F(() => [
7490
- De(he(p(i)("redis.shared_configuration.badge")), 1)
7470
+ Le(he(p(i)("redis.shared_configuration.badge")), 1)
7491
7471
  ]),
7492
7472
  _: 1
7493
7473
  })
@@ -7534,7 +7514,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7534
7514
  class: "select-item-label"
7535
7515
  }, {
7536
7516
  default: F(() => [
7537
- De(he(ee.tag), 1)
7517
+ Le(he(ee.tag), 1)
7538
7518
  ]),
7539
7519
  _: 2
7540
7520
  }, 1024)
@@ -7672,7 +7652,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
7672
7652
  emits: ["globalAction"],
7673
7653
  setup(e) {
7674
7654
  const t = e, n = Gt();
7675
- return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H($l, un(kn(t)), {
7655
+ return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H($l, un(En(t)), {
7676
7656
  default: F((r) => [
7677
7657
  P(Wk, ze(r, {
7678
7658
  onGlobalAction: o[0] || (o[0] = (...a) => i.$emit("globalAction", ...a))
@@ -8421,7 +8401,7 @@ var Ap = new bt("tag:yaml.org,2002:set", {
8421
8401
  xp,
8422
8402
  Ap
8423
8403
  ]
8424
- }), Rn = Object.prototype.hasOwnProperty, Or = 1, Ip = 2, Tp = 3, Pr = 4, Va = 1, nS = 2, ac = 3, iS = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, oS = /[\x85\u2028\u2029]/, rS = /[,\[\]\{\}]/, $p = /^(?:!|!!|![a-z\-]+!)$/i, Np = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
8404
+ }), Fn = Object.prototype.hasOwnProperty, Or = 1, Ip = 2, Tp = 3, Pr = 4, Va = 1, nS = 2, ac = 3, iS = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, oS = /[\x85\u2028\u2029]/, rS = /[,\[\]\{\}]/, $p = /^(?:!|!!|![a-z\-]+!)$/i, Np = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
8425
8405
  function sc(e) {
8426
8406
  return Object.prototype.toString.call(e);
8427
8407
  }
@@ -8487,7 +8467,7 @@ var uc = {
8487
8467
  },
8488
8468
  TAG: function(t, n, i) {
8489
8469
  var o, r;
8490
- i.length !== 2 && Pe(t, "TAG directive accepts exactly two arguments"), o = i[0], r = i[1], $p.test(o) || Pe(t, "ill-formed tag handle (first argument) of the TAG directive"), Rn.call(t.tagMap, o) && Pe(t, 'there is a previously declared suffix for "' + o + '" tag handle'), Np.test(r) || Pe(t, "ill-formed tag prefix (second argument) of the TAG directive");
8470
+ i.length !== 2 && Pe(t, "TAG directive accepts exactly two arguments"), o = i[0], r = i[1], $p.test(o) || Pe(t, "ill-formed tag handle (first argument) of the TAG directive"), Fn.call(t.tagMap, o) && Pe(t, 'there is a previously declared suffix for "' + o + '" tag handle'), Np.test(r) || Pe(t, "ill-formed tag prefix (second argument) of the TAG directive");
8491
8471
  try {
8492
8472
  r = decodeURIComponent(r);
8493
8473
  } catch {
@@ -8496,7 +8476,7 @@ var uc = {
8496
8476
  t.tagMap[o] = r;
8497
8477
  }
8498
8478
  };
8499
- function Fn(e, t, n, i) {
8479
+ function Mn(e, t, n, i) {
8500
8480
  var o, r, a, s;
8501
8481
  if (t < n) {
8502
8482
  if (s = e.input.slice(t, n), i)
@@ -8509,7 +8489,7 @@ function Fn(e, t, n, i) {
8509
8489
  function cc(e, t, n, i) {
8510
8490
  var o, r, a, s;
8511
8491
  for (gt.isObject(n) || Pe(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(n), a = 0, s = o.length; a < s; a += 1)
8512
- r = o[a], Rn.call(t, r) || (t[r] = n[r], i[r] = !0);
8492
+ r = o[a], Fn.call(t, r) || (t[r] = n[r], i[r] = !0);
8513
8493
  }
8514
8494
  function ki(e, t, n, i, o, r, a, s, l) {
8515
8495
  var u, c;
@@ -8523,7 +8503,7 @@ function ki(e, t, n, i, o, r, a, s, l) {
8523
8503
  else
8524
8504
  cc(e, t, r, n);
8525
8505
  else
8526
- !e.json && !Rn.call(n, o) && Rn.call(t, o) && (e.line = a || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, Pe(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(t, o, {
8506
+ !e.json && !Fn.call(n, o) && Fn.call(t, o) && (e.line = a || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, Pe(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(t, o, {
8527
8507
  configurable: !0,
8528
8508
  enumerable: !0,
8529
8509
  writable: !0,
@@ -8582,9 +8562,9 @@ function dS(e, t, n) {
8582
8562
  break;
8583
8563
  }
8584
8564
  }
8585
- s && (Fn(e, r, a, !1), Ml(e, e.line - l), r = a = e.position, s = !1), Zn(m) || (a = e.position + 1), m = e.input.charCodeAt(++e.position);
8565
+ s && (Mn(e, r, a, !1), Ml(e, e.line - l), r = a = e.position, s = !1), Zn(m) || (a = e.position + 1), m = e.input.charCodeAt(++e.position);
8586
8566
  }
8587
- return Fn(e, r, a, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
8567
+ return Mn(e, r, a, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
8588
8568
  }
8589
8569
  function fS(e, t) {
8590
8570
  var n, i, o;
@@ -8592,11 +8572,11 @@ function fS(e, t) {
8592
8572
  return !1;
8593
8573
  for (e.kind = "scalar", e.result = "", e.position++, i = o = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
8594
8574
  if (n === 39)
8595
- if (Fn(e, i, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
8575
+ if (Mn(e, i, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
8596
8576
  i = e.position, e.position++, o = e.position;
8597
8577
  else
8598
8578
  return !0;
8599
- else sn(n) ? (Fn(e, i, o, !0), Ml(e, dt(e, !1, t)), i = o = e.position) : e.position === e.lineStart && fa(e) ? Pe(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
8579
+ else sn(n) ? (Mn(e, i, o, !0), Ml(e, dt(e, !1, t)), i = o = e.position) : e.position === e.lineStart && fa(e) ? Pe(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
8600
8580
  Pe(e, "unexpected end of the stream within a single quoted scalar");
8601
8581
  }
8602
8582
  function pS(e, t) {
@@ -8605,9 +8585,9 @@ function pS(e, t) {
8605
8585
  return !1;
8606
8586
  for (e.kind = "scalar", e.result = "", e.position++, n = i = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
8607
8587
  if (s === 34)
8608
- return Fn(e, n, e.position, !0), e.position++, !0;
8588
+ return Mn(e, n, e.position, !0), e.position++, !0;
8609
8589
  if (s === 92) {
8610
- if (Fn(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), sn(s))
8590
+ if (Mn(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), sn(s))
8611
8591
  dt(e, !1, t);
8612
8592
  else if (s < 256 && Op[s])
8613
8593
  e.result += Pp[s], e.position++;
@@ -8618,7 +8598,7 @@ function pS(e, t) {
8618
8598
  } else
8619
8599
  Pe(e, "unknown escape sequence");
8620
8600
  n = i = e.position;
8621
- } else sn(s) ? (Fn(e, n, i, !0), Ml(e, dt(e, !1, t)), n = i = e.position) : e.position === e.lineStart && fa(e) ? Pe(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
8601
+ } else sn(s) ? (Mn(e, n, i, !0), Ml(e, dt(e, !1, t)), n = i = e.position) : e.position === e.lineStart && fa(e) ? Pe(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
8622
8602
  }
8623
8603
  Pe(e, "unexpected end of the stream within a double quoted scalar");
8624
8604
  }
@@ -8680,7 +8660,7 @@ function gS(e, t) {
8680
8660
  `, l) : e.result += gt.repeat(`
8681
8661
  `, r ? 1 + l : l), r = !0, a = !0, l = 0, n = e.position; !sn(d) && d !== 0; )
8682
8662
  d = e.input.charCodeAt(++e.position);
8683
- Fn(e, n, e.position, !1);
8663
+ Mn(e, n, e.position, !1);
8684
8664
  }
8685
8665
  return !0;
8686
8666
  }
@@ -8748,7 +8728,7 @@ function vS(e) {
8748
8728
  } catch {
8749
8729
  Pe(e, "tag name is malformed: " + r);
8750
8730
  }
8751
- return n ? e.tag = r : Rn.call(e.tagMap, o) ? e.tag = e.tagMap[o] + r : o === "!" ? e.tag = "!" + r : o === "!!" ? e.tag = "tag:yaml.org,2002:" + r : Pe(e, 'undeclared tag handle "' + o + '"'), !0;
8731
+ return n ? e.tag = r : Fn.call(e.tagMap, o) ? e.tag = e.tagMap[o] + r : o === "!" ? e.tag = "!" + r : o === "!!" ? e.tag = "tag:yaml.org,2002:" + r : Pe(e, 'undeclared tag handle "' + o + '"'), !0;
8752
8732
  }
8753
8733
  function yS(e) {
8754
8734
  var t, n;
@@ -8762,7 +8742,7 @@ function _S(e) {
8762
8742
  if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
8763
8743
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !Ot(i) && !Ei(i); )
8764
8744
  i = e.input.charCodeAt(++e.position);
8765
- return e.position === t && Pe(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Rn.call(e.anchorMap, n) || Pe(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], dt(e, !0, -1), !0;
8745
+ return e.position === t && Pe(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Fn.call(e.anchorMap, n) || Pe(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], dt(e, !0, -1), !0;
8766
8746
  }
8767
8747
  function Ri(e, t, n, i, o) {
8768
8748
  var r, a, s, l = 1, u = !1, c = !1, d, f, m, h, v, g;
@@ -8778,7 +8758,7 @@ function Ri(e, t, n, i, o) {
8778
8758
  break;
8779
8759
  }
8780
8760
  } else if (e.tag !== "!") {
8781
- if (Rn.call(e.typeMap[e.kind || "fallback"], e.tag))
8761
+ if (Fn.call(e.typeMap[e.kind || "fallback"], e.tag))
8782
8762
  h = e.typeMap[e.kind || "fallback"][e.tag];
8783
8763
  else
8784
8764
  for (h = null, m = e.typeMap.multi[e.kind || "fallback"], d = 0, f = m.length; d < f; d += 1)
@@ -8809,7 +8789,7 @@ function bS(e) {
8809
8789
  a = e.input.charCodeAt(++e.position);
8810
8790
  o.push(e.input.slice(n, e.position));
8811
8791
  }
8812
- a !== 0 && Pl(e), Rn.call(uc, i) ? uc[i](e, i, o) : Mr(e, 'unknown document directive "' + i + '"');
8792
+ a !== 0 && Pl(e), Fn.call(uc, i) ? uc[i](e, i, o) : Mr(e, 'unknown document directive "' + i + '"');
8813
8793
  }
8814
8794
  if (dt(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, dt(e, !0, -1)) : r && Pe(e, "directives end mark is expected"), Ri(e, e.lineIndent - 1, Pr, !1, !0), dt(e, !0, -1), e.checkLineBreaks && oS.test(e.input.slice(t, e.position)) && Mr(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && fa(e)) {
8815
8795
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, dt(e, !0, -1));
@@ -9056,19 +9036,19 @@ function QS(e) {
9056
9036
  function ex(e, t, n) {
9057
9037
  var i = "", o = e.tag, r, a, s;
9058
9038
  for (r = 0, a = n.length; r < a; r += 1)
9059
- s = n[r], e.replacer && (s = e.replacer.call(n, String(r), s)), (Sn(e, t, s, !1, !1) || typeof s > "u" && Sn(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
9039
+ s = n[r], e.replacer && (s = e.replacer.call(n, String(r), s)), (Cn(e, t, s, !1, !1) || typeof s > "u" && Cn(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
9060
9040
  e.tag = o, e.dump = "[" + i + "]";
9061
9041
  }
9062
9042
  function yc(e, t, n, i) {
9063
9043
  var o = "", r = e.tag, a, s, l;
9064
9044
  for (a = 0, s = n.length; a < s; a += 1)
9065
- l = n[a], e.replacer && (l = e.replacer.call(n, String(a), l)), (Sn(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Sn(e, t + 1, null, !0, !0, !1, !0)) && ((!i || o !== "") && (o += Ns(e, t)), e.dump && To === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
9045
+ l = n[a], e.replacer && (l = e.replacer.call(n, String(a), l)), (Cn(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Cn(e, t + 1, null, !0, !0, !1, !0)) && ((!i || o !== "") && (o += Ns(e, t)), e.dump && To === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
9066
9046
  e.tag = r, e.dump = o || "[]";
9067
9047
  }
9068
9048
  function tx(e, t, n) {
9069
9049
  var i = "", o = e.tag, r = Object.keys(n), a, s, l, u, c;
9070
9050
  for (a = 0, s = r.length; a < s; a += 1)
9071
- c = "", i !== "" && (c += ", "), e.condenseFlow && (c += '"'), l = r[a], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), Sn(e, t, l, !1, !1) && (e.dump.length > 1024 && (c += "? "), c += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Sn(e, t, u, !1, !1) && (c += e.dump, i += c));
9051
+ c = "", i !== "" && (c += ", "), e.condenseFlow && (c += '"'), l = r[a], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), Cn(e, t, l, !1, !1) && (e.dump.length > 1024 && (c += "? "), c += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Cn(e, t, u, !1, !1) && (c += e.dump, i += c));
9072
9052
  e.tag = o, e.dump = "{" + i + "}";
9073
9053
  }
9074
9054
  function nx(e, t, n, i) {
@@ -9080,7 +9060,7 @@ function nx(e, t, n, i) {
9080
9060
  else if (e.sortKeys)
9081
9061
  throw new xt("sortKeys must be a boolean or a function");
9082
9062
  for (s = 0, l = a.length; s < l; s += 1)
9083
- f = "", (!i || o !== "") && (f += Ns(e, t)), u = a[s], c = n[u], e.replacer && (c = e.replacer.call(n, u, c)), Sn(e, t + 1, u, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && To === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += Ns(e, t)), Sn(e, t + 1, c, !0, d) && (e.dump && To === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, o += f));
9063
+ f = "", (!i || o !== "") && (f += Ns(e, t)), u = a[s], c = n[u], e.replacer && (c = e.replacer.call(n, u, c)), Cn(e, t + 1, u, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && To === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += Ns(e, t)), Cn(e, t + 1, c, !0, d) && (e.dump && To === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, o += f));
9084
9064
  e.tag = r, e.dump = o || "{}";
9085
9065
  }
9086
9066
  function _c(e, t, n) {
@@ -9100,7 +9080,7 @@ function _c(e, t, n) {
9100
9080
  }
9101
9081
  return !1;
9102
9082
  }
9103
- function Sn(e, t, n, i, o, r, a) {
9083
+ function Cn(e, t, n, i, o, r, a) {
9104
9084
  e.tag = null, e.dump = n, _c(e, n, !1) || _c(e, n, !0);
9105
9085
  var s = Dp.call(e.dump), l = i, u;
9106
9086
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
@@ -9149,7 +9129,7 @@ function ox(e, t) {
9149
9129
  var n = new HS(t);
9150
9130
  n.noRefs || ix(e, n);
9151
9131
  var i = e;
9152
- return n.replacer && (i = n.replacer.call({ "": i }, "", i)), Sn(n, 0, i, !0, !0) ? n.dump + `
9132
+ return n.replacer && (i = n.replacer.call({ "": i }, "", i)), Cn(n, 0, i, !0, !0) ? n.dump + `
9153
9133
  ` : "";
9154
9134
  }
9155
9135
  var rx = ox, ax = {
@@ -9346,15 +9326,15 @@ const bx = `nodes:
9346
9326
  ]),
9347
9327
  default: F(() => [
9348
9328
  U("div", Cx, [
9349
- De(he(p(i)("plugins.free-form.datakit.description_example")) + " ", 1),
9350
- (E(), te(Ke, null, qe(wc, (d, f) => P(p(vn), {
9329
+ Le(he(p(i)("plugins.free-form.datakit.description_example")) + " ", 1),
9330
+ (E(), te(Re, null, qe(wc, (d, f) => P(p(vn), {
9351
9331
  key: f,
9352
9332
  appearance: "secondary",
9353
9333
  size: "small",
9354
9334
  onClick: (m) => l(f)
9355
9335
  }, {
9356
9336
  default: F(() => [
9357
- De(he(p(i)(`plugins.free-form.datakit.examples.${f}`)), 1)
9337
+ Le(he(p(i)(`plugins.free-form.datakit.examples.${f}`)), 1)
9358
9338
  ]),
9359
9339
  _: 2
9360
9340
  }, 1032, ["onClick"])), 64))
@@ -9535,7 +9515,7 @@ function Di(e, t, n) {
9535
9515
  if (n)
9536
9516
  return e.fields[t].find((i) => i.name === n);
9537
9517
  }
9538
- function Pn(e, t, n) {
9518
+ function On(e, t, n) {
9539
9519
  if (n)
9540
9520
  return e.fields[t].find((i) => i.id === n);
9541
9521
  }
@@ -10049,7 +10029,7 @@ const [Vx, qx] = rf(
10049
10029
  const ce = N(ke.source);
10050
10030
  if (!ce)
10051
10031
  continue;
10052
- const Ne = (w = Pn(ce, "output", ke.sourceField)) == null ? void 0 : w.name, je = Ne ? `${ce.name}.${Ne}` : ce.name, be = (S = Pn(L, "input", ke.targetField)) == null ? void 0 : S.name;
10032
+ const Ne = (w = On(ce, "output", ke.sourceField)) == null ? void 0 : w.name, je = Ne ? `${ce.name}.${Ne}` : ce.name, be = (S = On(L, "input", ke.targetField)) == null ? void 0 : S.name;
10053
10033
  be ? D[be] = je : ie === void 0 && (ie = je);
10054
10034
  }
10055
10035
  for (const ke of o.value.edges.filter((ce) => ce.source === L.id)) {
@@ -10059,7 +10039,7 @@ const [Vx, qx] = rf(
10059
10039
  const Ne = ce.type;
10060
10040
  if (!yn(Ne) || !((I = ma[Ne].io) != null && I.input))
10061
10041
  continue;
10062
- const je = (A = Pn(ce, "input", ke.targetField)) == null ? void 0 : A.name, be = je ? `${ce.name}.${je}` : ce.name, ye = (G = Pn(L, "output", ke.sourceField)) == null ? void 0 : G.name;
10042
+ const je = (A = On(ce, "input", ke.targetField)) == null ? void 0 : A.name, be = je ? `${ce.name}.${je}` : ce.name, ye = (G = On(L, "output", ke.sourceField)) == null ? void 0 : G.name;
10063
10043
  ye ? K[ye] = be : Q === void 0 && (Q = be);
10064
10044
  }
10065
10045
  const Ce = {
@@ -11498,10 +11478,10 @@ ql(Pt, js, vm(Ho, {
11498
11478
  toString: Rc
11499
11479
  }));
11500
11480
  function Fc() {
11501
- return `#${Yn(this.r)}${Yn(this.g)}${Yn(this.b)}`;
11481
+ return `#${Gn(this.r)}${Gn(this.g)}${Gn(this.b)}`;
11502
11482
  }
11503
11483
  function eT() {
11504
- return `#${Yn(this.r)}${Yn(this.g)}${Yn(this.b)}${Yn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
11484
+ return `#${Gn(this.r)}${Gn(this.g)}${Gn(this.b)}${Gn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
11505
11485
  }
11506
11486
  function Rc() {
11507
11487
  const e = Kr(this.opacity);
@@ -11513,7 +11493,7 @@ function Kr(e) {
11513
11493
  function Jn(e) {
11514
11494
  return Math.max(0, Math.min(255, Math.round(e) || 0));
11515
11495
  }
11516
- function Yn(e) {
11496
+ function Gn(e) {
11517
11497
  return e = Jn(e), (e < 16 ? "0" : "") + e.toString(16);
11518
11498
  }
11519
11499
  function Dc(e, t, n, i) {
@@ -12121,7 +12101,7 @@ function JT(e) {
12121
12101
  for (var t = this._groups, n = t.length, i = new Array(n), o = 0; o < n; ++o)
12122
12102
  for (var r = t[o], a = r.length, s = i[o] = [], l, u = 0; u < a; ++u)
12123
12103
  (l = r[u]) && e.call(l, l.__data__, u, r) && s.push(l);
12124
- return new xn(i, this._parents, this._name, this._id);
12104
+ return new Sn(i, this._parents, this._name, this._id);
12125
12105
  }
12126
12106
  function QT(e) {
12127
12107
  if (e._id !== this._id)
@@ -12131,7 +12111,7 @@ function QT(e) {
12131
12111
  (f = l[m] || u[m]) && (d[m] = f);
12132
12112
  for (; s < i; ++s)
12133
12113
  a[s] = t[s];
12134
- return new xn(a, this._parents, this._name, this._id);
12114
+ return new Sn(a, this._parents, this._name, this._id);
12135
12115
  }
12136
12116
  function e$(e) {
12137
12117
  return (e + "").trim().split(/^|\s+/).every(function(t) {
@@ -12168,7 +12148,7 @@ function r$(e) {
12168
12148
  for (var i = this._groups, o = i.length, r = new Array(o), a = 0; a < o; ++a)
12169
12149
  for (var s = i[a], l = s.length, u = r[a] = new Array(l), c, d, f = 0; f < l; ++f)
12170
12150
  (c = s[f]) && (d = e.call(c, c.__data__, f, s)) && ("__data__" in c && (d.__data__ = c.__data__), u[f] = d, wa(u[f], t, n, f, u, Xt(c, n)));
12171
- return new xn(r, this._parents, t, n);
12151
+ return new Sn(r, this._parents, t, n);
12172
12152
  }
12173
12153
  function a$(e) {
12174
12154
  var t = this._name, n = this._id;
@@ -12180,7 +12160,7 @@ function a$(e) {
12180
12160
  (m = f[v]) && wa(m, t, n, v, f, h);
12181
12161
  r.push(f), a.push(c);
12182
12162
  }
12183
- return new xn(r, a, t, n);
12163
+ return new Sn(r, a, t, n);
12184
12164
  }
12185
12165
  var s$ = Uo.prototype.constructor;
12186
12166
  function l$() {
@@ -12295,7 +12275,7 @@ function k$() {
12295
12275
  ease: c.ease
12296
12276
  });
12297
12277
  }
12298
- return new xn(i, this._parents, e, n);
12278
+ return new Sn(i, this._parents, e, n);
12299
12279
  }
12300
12280
  function C$() {
12301
12281
  var e, t, n = this, i = n._id, o = n.size();
@@ -12310,15 +12290,15 @@ function C$() {
12310
12290
  });
12311
12291
  }
12312
12292
  var S$ = 0;
12313
- function xn(e, t, n, i) {
12293
+ function Sn(e, t, n, i) {
12314
12294
  this._groups = e, this._parents = t, this._name = n, this._id = i;
12315
12295
  }
12316
12296
  function Tm() {
12317
12297
  return ++S$;
12318
12298
  }
12319
12299
  var mn = Uo.prototype;
12320
- xn.prototype = {
12321
- constructor: xn,
12300
+ Sn.prototype = {
12301
+ constructor: Sn,
12322
12302
  select: r$,
12323
12303
  selectAll: a$,
12324
12304
  selectChild: mn.selectChild,
@@ -12367,11 +12347,11 @@ function I$(e, t) {
12367
12347
  }
12368
12348
  function T$(e) {
12369
12349
  var t, n;
12370
- e instanceof xn ? (t = e._id, e = e._name) : (t = Tm(), (n = A$).time = Ul(), e = e == null ? null : e + "");
12350
+ e instanceof Sn ? (t = e._id, e = e._name) : (t = Tm(), (n = A$).time = Ul(), e = e == null ? null : e + "");
12371
12351
  for (var i = this._groups, o = i.length, r = 0; r < o; ++r)
12372
12352
  for (var a = i[r], s = a.length, l, u = 0; u < s; ++u)
12373
12353
  (l = a[u]) && wa(l, e, t, u, a, n || I$(l, t));
12374
- return new xn(i, this._parents, e, t);
12354
+ return new Sn(i, this._parents, e, t);
12375
12355
  }
12376
12356
  Uo.prototype.interrupt = xT;
12377
12357
  Uo.prototype.transition = T$;
@@ -12663,7 +12643,7 @@ function R$() {
12663
12643
  return arguments.length ? (g = +$, y) : g;
12664
12644
  }, y;
12665
12645
  }
12666
- var Ie = /* @__PURE__ */ ((e) => (e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom", e))(Ie || {}), Yl = /* @__PURE__ */ ((e) => (e.Partial = "partial", e.Full = "full", e))(Yl || {}), Hn = /* @__PURE__ */ ((e) => (e.Bezier = "default", e.SimpleBezier = "simple-bezier", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e))(Hn || {}), Dn = /* @__PURE__ */ ((e) => (e.Strict = "strict", e.Loose = "loose", e))(Dn || {}), zr = /* @__PURE__ */ ((e) => (e.Arrow = "arrow", e.ArrowClosed = "arrowclosed", e))(zr || {}), wo = /* @__PURE__ */ ((e) => (e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal", e))(wo || {}), $m = /* @__PURE__ */ ((e) => (e.TopLeft = "top-left", e.TopCenter = "top-center", e.TopRight = "top-right", e.BottomLeft = "bottom-left", e.BottomCenter = "bottom-center", e.BottomRight = "bottom-right", e))($m || {});
12646
+ var Ie = /* @__PURE__ */ ((e) => (e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom", e))(Ie || {}), Yl = /* @__PURE__ */ ((e) => (e.Partial = "partial", e.Full = "full", e))(Yl || {}), Un = /* @__PURE__ */ ((e) => (e.Bezier = "default", e.SimpleBezier = "simple-bezier", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e))(Un || {}), Rn = /* @__PURE__ */ ((e) => (e.Strict = "strict", e.Loose = "loose", e))(Rn || {}), zr = /* @__PURE__ */ ((e) => (e.Arrow = "arrow", e.ArrowClosed = "arrowclosed", e))(zr || {}), wo = /* @__PURE__ */ ((e) => (e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal", e))(wo || {}), $m = /* @__PURE__ */ ((e) => (e.TopLeft = "top-left", e.TopCenter = "top-center", e.TopRight = "top-right", e.BottomLeft = "bottom-left", e.BottomCenter = "bottom-center", e.BottomRight = "bottom-right", e))($m || {});
12667
12647
  const D$ = ["INPUT", "SELECT", "TEXTAREA"], L$ = typeof document < "u" ? document : null;
12668
12648
  function Hs(e) {
12669
12649
  var t, n;
@@ -12779,11 +12759,11 @@ function Gc(e) {
12779
12759
  const t = e.getRootNode();
12780
12760
  return "elementFromPoint" in t ? t : window.document;
12781
12761
  }
12782
- function Ln(e) {
12762
+ function Dn(e) {
12783
12763
  return e && typeof e == "object" && "id" in e && "source" in e && "target" in e;
12784
12764
  }
12785
12765
  function Qn(e) {
12786
- return e && typeof e == "object" && "id" in e && "position" in e && !Ln(e);
12766
+ return e && typeof e == "object" && "id" in e && "position" in e && !Dn(e);
12787
12767
  }
12788
12768
  function po(e) {
12789
12769
  return Qn(e) && "computedPosition" in e;
@@ -12861,7 +12841,7 @@ function U$(...e) {
12861
12841
  return Rm(r, a, s, "target");
12862
12842
  }
12863
12843
  const [t, n] = e, i = typeof t == "string" ? t : t.id;
12864
- return n.filter((r) => Ln(r) && r.source === i).map((r) => n.find((a) => Qn(a) && a.id === r.target));
12844
+ return n.filter((r) => Dn(r) && r.source === i).map((r) => n.find((a) => Qn(a) && a.id === r.target));
12865
12845
  }
12866
12846
  function H$(...e) {
12867
12847
  if (e.length === 3) {
@@ -12869,14 +12849,14 @@ function H$(...e) {
12869
12849
  return Rm(r, a, s, "source");
12870
12850
  }
12871
12851
  const [t, n] = e, i = typeof t == "string" ? t : t.id;
12872
- return n.filter((r) => Ln(r) && r.target === i).map((r) => n.find((a) => Qn(a) && a.id === r.source));
12852
+ return n.filter((r) => Dn(r) && r.target === i).map((r) => n.find((a) => Qn(a) && a.id === r.source));
12873
12853
  }
12874
12854
  function Dm({ source: e, sourceHandle: t, target: n, targetHandle: i }) {
12875
12855
  return `vueflow__edge-${e}${t ?? ""}-${n}${i ?? ""}`;
12876
12856
  }
12877
12857
  function G$(e, t) {
12878
12858
  return t.some(
12879
- (n) => Ln(n) && n.source === e.source && n.target === e.target && (n.sourceHandle === e.sourceHandle || !n.sourceHandle && !e.sourceHandle) && (n.targetHandle === e.targetHandle || !n.targetHandle && !e.targetHandle)
12859
+ (n) => Dn(n) && n.source === e.source && n.target === e.target && (n.sourceHandle === e.sourceHandle || !n.sourceHandle && !e.sourceHandle) && (n.targetHandle === e.targetHandle || !n.targetHandle && !e.targetHandle)
12880
12860
  );
12881
12861
  }
12882
12862
  function Gs({ x: e, y: t }, { x: n, y: i, zoom: o }) {
@@ -13073,7 +13053,7 @@ function Xc(e, t) {
13073
13053
  }
13074
13054
  return t;
13075
13055
  }
13076
- function Nn(e, t) {
13056
+ function $n(e, t) {
13077
13057
  return {
13078
13058
  id: e,
13079
13059
  type: "select",
@@ -13102,11 +13082,11 @@ function Qc(e, t, n, i, o) {
13102
13082
  type: "remove"
13103
13083
  };
13104
13084
  }
13105
- function On(e, t = /* @__PURE__ */ new Set(), n = !1) {
13085
+ function Nn(e, t = /* @__PURE__ */ new Set(), n = !1) {
13106
13086
  const i = [];
13107
13087
  for (const [o, r] of e) {
13108
13088
  const a = t.has(o);
13109
- !(r.selected === void 0 && !a) && r.selected !== a && (n && (r.selected = a), i.push(Nn(r.id, a)));
13089
+ !(r.selected === void 0 && !a) && r.selected !== a && (n && (r.selected = a), i.push($n(r.id, a)));
13110
13090
  }
13111
13091
  return i;
13112
13092
  }
@@ -13435,7 +13415,7 @@ function id(e, {
13435
13415
  targetHandle: m ? o : k
13436
13416
  };
13437
13417
  _.connection = B;
13438
- const Y = N && O && (n === Dn.Strict ? m && C === "source" || !m && C === "target" : x !== i || k !== o);
13418
+ const Y = N && O && (n === Rn.Strict ? m && C === "source" || !m && C === "target" : x !== i || k !== o);
13439
13419
  _.isValid = Y && u(B, {
13440
13420
  nodes: d,
13441
13421
  edges: c,
@@ -13461,7 +13441,7 @@ function dN(e, t, n, i, o, r = !1) {
13461
13441
  const u = i.get(e);
13462
13442
  if (!u)
13463
13443
  return null;
13464
- const c = o === Dn.Strict ? (a = u.handleBounds) == null ? void 0 : a[t] : [...((s = u.handleBounds) == null ? void 0 : s.source) ?? [], ...((l = u.handleBounds) == null ? void 0 : l.target) ?? []], d = (n ? c == null ? void 0 : c.find((f) => f.id === n) : c == null ? void 0 : c[0]) ?? null;
13444
+ const c = o === Rn.Strict ? (a = u.handleBounds) == null ? void 0 : a[t] : [...((s = u.handleBounds) == null ? void 0 : s.source) ?? [], ...((l = u.handleBounds) == null ? void 0 : l.target) ?? []], d = (n ? c == null ? void 0 : c.find((f) => f.id === n) : c == null ? void 0 : c[0]) ?? null;
13465
13445
  return d && r ? { ...d, ...Bi(u, d, d.position, !0) } : d;
13466
13446
  }
13467
13447
  const Ys = {
@@ -13503,7 +13483,7 @@ function pN(e, t, n, i) {
13503
13483
  if (!e || !e.source || !e.target)
13504
13484
  return n(new ht(ft.EDGE_INVALID, (e == null ? void 0 : e.id) ?? "[ID UNKNOWN]")), !1;
13505
13485
  let o;
13506
- return Ln(e) ? o = e : o = {
13486
+ return Dn(e) ? o = e : o = {
13507
13487
  ...e,
13508
13488
  id: Dm(e)
13509
13489
  }, o = Fm(o, void 0, i), G$(o, t) ? !1 : o;
@@ -13571,7 +13551,7 @@ function sd(e, t) {
13571
13551
  function es(e, t, n, i, o, r, a, s) {
13572
13552
  const l = [];
13573
13553
  for (const u of e) {
13574
- const c = Ln(u) ? u : pN(u, s, o, r);
13554
+ const c = Dn(u) ? u : pN(u, s, o, r);
13575
13555
  if (!c)
13576
13556
  continue;
13577
13557
  const d = n(c.source), f = n(c.target);
@@ -14062,21 +14042,21 @@ function Jm() {
14062
14042
  };
14063
14043
  }
14064
14044
  const ts = 0.1, kN = (e) => ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
14065
- function $n() {
14045
+ function Tn() {
14066
14046
  return Ca("Viewport not initialized yet."), Promise.resolve(!1);
14067
14047
  }
14068
14048
  const CN = {
14069
- zoomIn: $n,
14070
- zoomOut: $n,
14071
- zoomTo: $n,
14072
- fitView: $n,
14073
- setCenter: $n,
14074
- fitBounds: $n,
14049
+ zoomIn: Tn,
14050
+ zoomOut: Tn,
14051
+ zoomTo: Tn,
14052
+ fitView: Tn,
14053
+ setCenter: Tn,
14054
+ fitBounds: Tn,
14075
14055
  project: (e) => e,
14076
14056
  screenToFlowCoordinate: (e) => e,
14077
14057
  flowToScreenCoordinate: (e) => e,
14078
- setViewport: $n,
14079
- setTransform: $n,
14058
+ setViewport: Tn,
14059
+ setTransform: Tn,
14080
14060
  getViewport: () => ({ x: 0, y: 0, zoom: 1 }),
14081
14061
  getTransform: () => ({ x: 0, y: 0, zoom: 1 }),
14082
14062
  viewportInitialized: !1
@@ -14356,7 +14336,7 @@ function xN(e, t, n) {
14356
14336
  for (const g of Object.keys(t)) {
14357
14337
  const y = g;
14358
14338
  if (!v.includes(y)) {
14359
- const b = Le(() => t[y]), _ = n[y];
14339
+ const b = Ke(() => t[y]), _ = n[y];
14360
14340
  jo(_) && i.run(() => {
14361
14341
  Te(
14362
14342
  b,
@@ -14432,7 +14412,7 @@ function AN() {
14432
14412
  };
14433
14413
  }
14434
14414
  function IN(e, t) {
14435
- An(() => {
14415
+ xn(() => {
14436
14416
  for (const [n, i] of Object.entries(t.value)) {
14437
14417
  const o = (r) => {
14438
14418
  e(n, r);
@@ -14492,10 +14472,10 @@ function Qm() {
14492
14472
  connectionLineStyle: {},
14493
14473
  connectionLineType: null,
14494
14474
  connectionLineOptions: {
14495
- type: Hn.Bezier,
14475
+ type: Un.Bezier,
14496
14476
  style: {}
14497
14477
  },
14498
- connectionMode: Dn.Loose,
14478
+ connectionMode: Rn.Loose,
14499
14479
  connectionStartHandle: null,
14500
14480
  connectionEndHandle: null,
14501
14481
  connectionClickStartHandle: null,
@@ -14612,43 +14592,43 @@ function $N(e, t, n) {
14612
14592
  }, m = (w, S) => {
14613
14593
  const I = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
14614
14594
  for (const ie of w)
14615
- Qn(ie) ? I.add(ie.id) : Ln(ie) && A.add(ie.id);
14616
- const G = On(t.value, I, !0), L = On(n.value, A);
14595
+ Qn(ie) ? I.add(ie.id) : Dn(ie) && A.add(ie.id);
14596
+ const G = Nn(t.value, I, !0), L = Nn(n.value, A);
14617
14597
  if (e.multiSelectionActive) {
14618
14598
  for (const ie of I)
14619
- G.push(Nn(ie, S));
14599
+ G.push($n(ie, S));
14620
14600
  for (const ie of A)
14621
- L.push(Nn(ie, S));
14601
+ L.push($n(ie, S));
14622
14602
  }
14623
14603
  G.length && e.hooks.nodesChange.trigger(G), L.length && e.hooks.edgesChange.trigger(L);
14624
14604
  }, h = (w) => {
14625
14605
  if (e.multiSelectionActive) {
14626
- const S = w.map((I) => Nn(I.id, !0));
14606
+ const S = w.map((I) => $n(I.id, !0));
14627
14607
  e.hooks.nodesChange.trigger(S);
14628
14608
  return;
14629
14609
  }
14630
- e.hooks.nodesChange.trigger(On(t.value, new Set(w.map((S) => S.id)), !0)), e.hooks.edgesChange.trigger(On(n.value));
14610
+ e.hooks.nodesChange.trigger(Nn(t.value, new Set(w.map((S) => S.id)), !0)), e.hooks.edgesChange.trigger(Nn(n.value));
14631
14611
  }, v = (w) => {
14632
14612
  if (e.multiSelectionActive) {
14633
- const S = w.map((I) => Nn(I.id, !0));
14613
+ const S = w.map((I) => $n(I.id, !0));
14634
14614
  e.hooks.edgesChange.trigger(S);
14635
14615
  return;
14636
14616
  }
14637
- e.hooks.edgesChange.trigger(On(n.value, new Set(w.map((S) => S.id)))), e.hooks.nodesChange.trigger(On(t.value, /* @__PURE__ */ new Set(), !0));
14617
+ e.hooks.edgesChange.trigger(Nn(n.value, new Set(w.map((S) => S.id)))), e.hooks.nodesChange.trigger(Nn(t.value, /* @__PURE__ */ new Set(), !0));
14638
14618
  }, g = (w) => {
14639
14619
  m(w, !0);
14640
14620
  }, y = (w) => {
14641
- const I = (w || e.nodes).map((A) => (A.selected = !1, Nn(A.id, !1)));
14621
+ const I = (w || e.nodes).map((A) => (A.selected = !1, $n(A.id, !1)));
14642
14622
  e.hooks.nodesChange.trigger(I);
14643
14623
  }, b = (w) => {
14644
- const I = (w || e.edges).map((A) => (A.selected = !1, Nn(A.id, !1)));
14624
+ const I = (w || e.edges).map((A) => (A.selected = !1, $n(A.id, !1)));
14645
14625
  e.hooks.edgesChange.trigger(I);
14646
14626
  }, _ = (w) => {
14647
14627
  if (!w || !w.length)
14648
14628
  return m([], !1);
14649
14629
  const S = w.reduce(
14650
14630
  (I, A) => {
14651
- const G = Nn(A.id, !1);
14631
+ const G = $n(A.id, !1);
14652
14632
  return Qn(A) ? I.nodes.push(G) : I.edges.push(G), I;
14653
14633
  },
14654
14634
  { nodes: [], edges: [] }
@@ -14690,7 +14670,7 @@ function $N(e, t, n) {
14690
14670
  Qa(e.connectionLookup, n.value, I), e.edges = I;
14691
14671
  }, T = (w) => {
14692
14672
  const S = w instanceof Function ? w([...e.nodes, ...e.edges]) : w;
14693
- !e.initialized && !S.length || (W(S.filter(Qn)), Y(S.filter(Ln)));
14673
+ !e.initialized && !S.length || (W(S.filter(Qn)), Y(S.filter(Dn)));
14694
14674
  }, re = (w) => {
14695
14675
  let S = w instanceof Function ? w(e.nodes) : w;
14696
14676
  S = Array.isArray(S) ? S : [S];
@@ -14971,7 +14951,7 @@ function $N(e, t, n) {
14971
14951
  const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
14972
14952
  name: "Handle",
14973
14953
  compatConfig: { MODE: 3 }
14974
- }, Mn = /* @__PURE__ */ ve({
14954
+ }, Pn = /* @__PURE__ */ ve({
14975
14955
  ...ON,
14976
14956
  props: {
14977
14957
  id: { default: null },
@@ -14983,7 +14963,7 @@ const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
14983
14963
  connectableEnd: { type: Boolean, default: !0 }
14984
14964
  },
14985
14965
  setup(e, { expose: t }) {
14986
- const n = Yt(e, ["position", "connectable", "connectableStart", "connectableEnd", "id"]), i = Le(() => n.type ?? "source"), o = Le(() => n.isValidConnection ?? null), {
14966
+ const n = Yt(e, ["position", "connectable", "connectableStart", "connectableEnd", "id"]), i = Ke(() => n.type ?? "source"), o = Ke(() => n.isValidConnection ?? null), {
14987
14967
  id: r,
14988
14968
  connectionStartHandle: a,
14989
14969
  connectionClickStartHandle: s,
@@ -14992,12 +14972,12 @@ const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
14992
14972
  nodesConnectable: c,
14993
14973
  noDragClassName: d,
14994
14974
  noPanClassName: f
14995
- } = We(), { id: m, node: h, nodeEl: v, connectedEdges: g } = Zm(), y = oe(), b = Le(() => typeof e.connectableStart < "u" ? e.connectableStart : !0), _ = Le(() => typeof e.connectableEnd < "u" ? e.connectableEnd : !0), C = Le(
14975
+ } = We(), { id: m, node: h, nodeEl: v, connectedEdges: g } = Zm(), y = oe(), b = Ke(() => typeof e.connectableStart < "u" ? e.connectableStart : !0), _ = Ke(() => typeof e.connectableEnd < "u" ? e.connectableEnd : !0), C = Ke(
14996
14976
  () => {
14997
14977
  var Y, T, re, $, V, j;
14998
14978
  return ((Y = a.value) == null ? void 0 : Y.nodeId) === m && ((T = a.value) == null ? void 0 : T.id) === e.id && ((re = a.value) == null ? void 0 : re.type) === i.value || (($ = l.value) == null ? void 0 : $.nodeId) === m && ((V = l.value) == null ? void 0 : V.id) === e.id && ((j = l.value) == null ? void 0 : j.type) === i.value;
14999
14979
  }
15000
- ), x = Le(
14980
+ ), x = Ke(
15001
14981
  () => {
15002
14982
  var Y, T, re;
15003
14983
  return ((Y = s.value) == null ? void 0 : Y.nodeId) === m && ((T = s.value) == null ? void 0 : T.id) === e.id && ((re = s.value) == null ? void 0 : re.type) === i.value;
@@ -15086,9 +15066,9 @@ const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
15086
15066
  }) {
15087
15067
  const s = a.label ?? n;
15088
15068
  return [
15089
- Ge(Mn, { type: "target", position: t, connectable: i, isValidConnection: o }),
15090
- typeof s != "string" && s ? Ge(s) : Ge(Ke, [s]),
15091
- Ge(Mn, { type: "source", position: e, connectable: i, isValidConnection: r })
15069
+ Ge(Pn, { type: "target", position: t, connectable: i, isValidConnection: o }),
15070
+ typeof s != "string" && s ? Ge(s) : Ge(Re, [s]),
15071
+ Ge(Pn, { type: "source", position: e, connectable: i, isValidConnection: r })
15092
15072
  ];
15093
15073
  };
15094
15074
  xa.props = ["sourcePosition", "targetPosition", "label", "isValidTargetPos", "isValidSourcePos", "connectable", "data"];
@@ -15103,8 +15083,8 @@ const PN = xa, Aa = function({
15103
15083
  }) {
15104
15084
  const r = o.label ?? t;
15105
15085
  return [
15106
- Ge(Mn, { type: "target", position: e, connectable: n, isValidConnection: i }),
15107
- typeof r != "string" && r ? Ge(r) : Ge(Ke, [r])
15086
+ Ge(Pn, { type: "target", position: e, connectable: n, isValidConnection: i }),
15087
+ typeof r != "string" && r ? Ge(r) : Ge(Re, [r])
15108
15088
  ];
15109
15089
  };
15110
15090
  Aa.props = ["targetPosition", "label", "isValidTargetPos", "connectable", "data"];
@@ -15119,8 +15099,8 @@ const MN = Aa, Ia = function({
15119
15099
  }) {
15120
15100
  const r = o.label ?? t;
15121
15101
  return [
15122
- typeof r != "string" && r ? Ge(r) : Ge(Ke, [r]),
15123
- Ge(Mn, { type: "source", position: e, connectable: n, isValidConnection: i })
15102
+ typeof r != "string" && r ? Ge(r) : Ge(Re, [r]),
15103
+ Ge(Pn, { type: "source", position: e, connectable: n, isValidConnection: i })
15124
15104
  ];
15125
15105
  };
15126
15106
  Ia.props = ["sourcePosition", "label", "isValidSourcePos", "connectable", "data"];
@@ -15174,8 +15154,8 @@ const FN = Ia, RN = ["transform"], DN = ["width", "height", "x", "y", "rx", "ry"
15174
15154
  style: r.labelStyle
15175
15155
  }), [
15176
15156
  Me(r.$slots, "default", {}, () => [
15177
- typeof r.label != "string" ? (E(), H(mt(r.label), { key: 0 })) : (E(), te(Ke, { key: 1 }, [
15178
- De(he(r.label), 1)
15157
+ typeof r.label != "string" ? (E(), H(mt(r.label), { key: 0 })) : (E(), te(Re, { key: 1 }, [
15158
+ Le(he(r.label), 1)
15179
15159
  ], 64))
15180
15160
  ])
15181
15161
  ], 16, LN)
@@ -15203,12 +15183,12 @@ const FN = Ia, RN = ["transform"], DN = ["width", "height", "x", "y", "rx", "ry"
15203
15183
  labelBgBorderRadius: {}
15204
15184
  },
15205
15185
  setup(e, { expose: t }) {
15206
- const n = oe(null), i = oe(null), o = oe(null), r = Kn();
15186
+ const n = oe(null), i = oe(null), o = oe(null), r = Ln();
15207
15187
  return t({
15208
15188
  pathEl: n,
15209
15189
  interactionEl: i,
15210
15190
  labelEl: o
15211
- }), (a, s) => (E(), te(Ke, null, [
15191
+ }), (a, s) => (E(), te(Re, null, [
15212
15192
  U("path", ze(p(r), {
15213
15193
  id: a.id,
15214
15194
  ref_key: "pathEl",
@@ -15752,14 +15732,14 @@ function rO(e, t, n) {
15752
15732
  areNodesInitialized: h
15753
15733
  };
15754
15734
  }
15755
- class Gn {
15735
+ class Hn {
15756
15736
  constructor() {
15757
15737
  this.currentId = 0, this.flows = /* @__PURE__ */ new Map();
15758
15738
  }
15759
15739
  static getInstance() {
15760
15740
  var t;
15761
- const n = (t = Bo()) == null ? void 0 : t.appContext.app, i = (n == null ? void 0 : n.config.globalProperties.$vueFlowStorage) ?? Gn.instance;
15762
- return Gn.instance = i ?? new Gn(), n && (n.config.globalProperties.$vueFlowStorage = Gn.instance), Gn.instance;
15741
+ const n = (t = Bo()) == null ? void 0 : t.appContext.app, i = (n == null ? void 0 : n.config.globalProperties.$vueFlowStorage) ?? Hn.instance;
15742
+ return Hn.instance = i ?? new Hn(), n && (n.config.globalProperties.$vueFlowStorage = Hn.instance), Hn.instance;
15763
15743
  }
15764
15744
  set(t, n) {
15765
15745
  return this.flows.set(t, n);
@@ -15771,7 +15751,7 @@ class Gn {
15771
15751
  return this.flows.delete(t);
15772
15752
  }
15773
15753
  create(t, n) {
15774
- const i = Qm(), o = wn(i), r = {};
15754
+ const i = Qm(), o = Wn(i), r = {};
15775
15755
  for (const [f, m] of Object.entries(o.hooks)) {
15776
15756
  const h = `on${f.charAt(0).toUpperCase() + f.slice(1)}`;
15777
15757
  r[h] = m.on;
@@ -15812,7 +15792,7 @@ class Gn {
15812
15792
  }
15813
15793
  }
15814
15794
  function We(e) {
15815
- const t = Gn.getInstance(), n = Hd(), i = typeof e == "object", o = i ? e : { id: e }, r = o.id, a = r ?? (n == null ? void 0 : n.vueFlowId);
15795
+ const t = Hn.getInstance(), n = Hd(), i = typeof e == "object", o = i ? e : { id: e }, r = o.id, a = r ?? (n == null ? void 0 : n.vueFlowId);
15816
15796
  let s;
15817
15797
  if (n) {
15818
15798
  const l = it(ld, null);
@@ -15978,7 +15958,7 @@ const pO = {
15978
15958
  connectionLookup: C,
15979
15959
  defaultEdgeOptions: x,
15980
15960
  connectionStartHandle: k
15981
- } = We(), N = oe(null), O = oe(/* @__PURE__ */ new Set()), B = oe(/* @__PURE__ */ new Set()), W = oe(), Y = Le(() => l.value && (e.isSelecting || r.value)), T = Le(() => k.value !== null);
15961
+ } = We(), N = oe(null), O = oe(/* @__PURE__ */ new Set()), B = oe(/* @__PURE__ */ new Set()), W = oe(), Y = Ke(() => l.value && (e.isSelecting || r.value)), T = Ke(() => k.value !== null);
15982
15962
  let re = !1, $ = !1;
15983
15963
  const V = Eo(v, { actInsideInputWithModifier: !1 }), j = Eo(g);
15984
15964
  Te(V, (ee) => {
@@ -16047,11 +16027,11 @@ const pO = {
16047
16027
  }
16048
16028
  }
16049
16029
  if (!sd(X, O.value)) {
16050
- const w = On(_.value, O.value, !0);
16030
+ const w = Nn(_.value, O.value, !0);
16051
16031
  o.nodesChange(w);
16052
16032
  }
16053
16033
  if (!sd(ae, B.value)) {
16054
- const w = On(b.value, B.value);
16034
+ const w = Nn(b.value, B.value);
16055
16035
  o.edgesChange(w);
16056
16036
  }
16057
16037
  s.value = de, r.value = !0, u.value = !1;
@@ -16137,9 +16117,9 @@ const pO = {
16137
16117
  y: 0,
16138
16118
  zoom: 0
16139
16119
  };
16140
- const J = Eo(s), Z = Eo(a), q = Eo(r), z = Le(
16120
+ const J = Eo(s), Z = Eo(a), q = Eo(r), z = Ke(
16141
16121
  () => (!Z.value || Z.value && a.value === !0) && (J.value || d.value)
16142
- ), ne = Le(() => J.value || l.value), se = Le(() => Z.value || a.value === !0 && z.value !== !0);
16122
+ ), ne = Ke(() => J.value || l.value), se = Ke(() => Z.value || a.value === !0 && z.value !== !0);
16143
16123
  It(() => {
16144
16124
  if (!W.value) {
16145
16125
  Ca("Viewport element is missing");
@@ -16284,7 +16264,7 @@ const pO = {
16284
16264
  ...EO,
16285
16265
  setup(e) {
16286
16266
  const { id: t, disableKeyboardA11y: n, ariaLiveMessage: i } = We();
16287
- return (o, r) => (E(), te(Ke, null, [
16267
+ return (o, r) => (E(), te(Re, null, [
16288
16268
  U("div", {
16289
16269
  id: `${p(Nm)}-${p(t)}`,
16290
16270
  style: { display: "none" }
@@ -16362,9 +16342,9 @@ const pd = Zl, AO = ve({
16362
16342
  edgesUpdatable: g,
16363
16343
  edgesFocusable: y,
16364
16344
  hooks: b
16365
- } = We(), _ = M(() => c(e.id)), { emit: C, on: x } = yN(_.value, r), k = it(Sa), N = Bo(), O = oe(!1), B = oe(!1), W = oe(""), Y = oe(null), T = oe("source"), re = oe(null), $ = Le(
16345
+ } = We(), _ = M(() => c(e.id)), { emit: C, on: x } = yN(_.value, r), k = it(Sa), N = Bo(), O = oe(!1), B = oe(!1), W = oe(""), Y = oe(null), T = oe("source"), re = oe(null), $ = Ke(
16366
16346
  () => typeof _.value.selectable > "u" ? v.value : _.value.selectable
16367
- ), V = Le(() => typeof _.value.updatable > "u" ? g.value : _.value.updatable), j = Le(() => typeof _.value.focusable > "u" ? y.value : _.value.focusable);
16347
+ ), V = Ke(() => typeof _.value.updatable > "u" ? g.value : _.value.updatable), j = Ke(() => typeof _.value.focusable > "u" ? y.value : _.value.focusable);
16368
16348
  ot(gN, e.id), ot(hN, re);
16369
16349
  const le = M(() => _.value.class instanceof Function ? _.value.class(_.value) : _.value.class), J = M(() => _.value.style instanceof Function ? _.value.style(_.value) : _.value.style), Z = M(() => {
16370
16350
  const S = _.value.type || "default", I = k == null ? void 0 : k[`edge-${S}`];
@@ -16396,10 +16376,10 @@ const pd = Zl, AO = ve({
16396
16376
  if (!_.value || _.value.hidden || S.hidden || I.hidden)
16397
16377
  return null;
16398
16378
  let G;
16399
- i.value === Dn.Strict ? G = S.handleBounds.source : G = [...S.handleBounds.source || [], ...S.handleBounds.target || []];
16379
+ i.value === Rn.Strict ? G = S.handleBounds.source : G = [...S.handleBounds.source || [], ...S.handleBounds.target || []];
16400
16380
  const L = td(G, _.value.sourceHandle);
16401
16381
  let ie;
16402
- i.value === Dn.Strict ? ie = I.handleBounds.target : ie = [...I.handleBounds.target || [], ...I.handleBounds.source || []];
16382
+ i.value === Rn.Strict ? ie = I.handleBounds.target : ie = [...I.handleBounds.target || [], ...I.handleBounds.source || []];
16403
16383
  const D = td(ie, _.value.targetHandle), Q = (L == null ? void 0 : L.position) || Ie.Bottom, K = (D == null ? void 0 : D.position) || Ie.Top, { x: Ce, y: ge } = Bi(S, L, Q), { x: $e, y: ke } = Bi(I, D, K);
16404
16384
  return _.value.sourceX = Ce, _.value.sourceY = ge, _.value.targetX = $e, _.value.targetY = ke, Ge(
16405
16385
  "g",
@@ -16590,7 +16570,7 @@ const pd = Zl, AO = ve({
16590
16570
  return null;
16591
16571
  const x = i.value.id, k = i.value.type, N = m.value.handleBounds;
16592
16572
  let O = (N == null ? void 0 : N[k]) ?? [];
16593
- if (n.value === Dn.Loose) {
16573
+ if (n.value === Rn.Loose) {
16594
16574
  const J = (N == null ? void 0 : N[k === "source" ? "target" : "source"]) ?? [];
16595
16575
  O = [...O, ...J];
16596
16576
  }
@@ -16598,7 +16578,7 @@ const pd = Zl, AO = ve({
16598
16578
  return null;
16599
16579
  const B = (x ? O.find((J) => J.id === x) : O[0]) ?? null, W = (B == null ? void 0 : B.position) ?? Ie.Top, { x: Y, y: T } = Bi(m.value, B, W);
16600
16580
  let re = null;
16601
- h.value && (n.value === Dn.Strict ? re = ((b = h.value.handleBounds[k === "source" ? "target" : "source"]) == null ? void 0 : b.find(
16581
+ h.value && (n.value === Rn.Strict ? re = ((b = h.value.handleBounds[k === "source" ? "target" : "source"]) == null ? void 0 : b.find(
16602
16582
  (J) => {
16603
16583
  var Z;
16604
16584
  return J.id === ((Z = o.value) == null ? void 0 : Z.id);
@@ -16612,7 +16592,7 @@ const pd = Zl, AO = ve({
16612
16592
  const $ = ((C = o.value) == null ? void 0 : C.position) ?? (W ? Ys[W] : null);
16613
16593
  if (!W || !$)
16614
16594
  return null;
16615
- const V = a.value ?? l.value.type ?? Hn.Bezier;
16595
+ const V = a.value ?? l.value.type ?? Un.Bezier;
16616
16596
  let j = "";
16617
16597
  const le = {
16618
16598
  sourceX: Y,
@@ -16622,10 +16602,10 @@ const pd = Zl, AO = ve({
16622
16602
  targetY: v.value.y,
16623
16603
  targetPosition: $
16624
16604
  };
16625
- return V === Hn.Bezier ? [j] = ng(le) : V === Hn.Step ? [j] = Xs({
16605
+ return V === Un.Bezier ? [j] = ng(le) : V === Un.Step ? [j] = Xs({
16626
16606
  ...le,
16627
16607
  borderRadius: 0
16628
- }) : V === Hn.SmoothStep ? [j] = Xs(le) : V === Hn.SimpleBezier ? [j] = ig(le) : j = `M${Y},${T} ${v.value.x},${v.value.y}`, Ge(
16608
+ }) : V === Un.SmoothStep ? [j] = Xs(le) : V === Un.SimpleBezier ? [j] = ig(le) : j = `M${Y},${T} ${v.value.x},${v.value.y}`, Ge(
16629
16609
  "svg",
16630
16610
  { class: "vue-flow__edges vue-flow__connectionline vue-flow__container" },
16631
16611
  Ge(
@@ -16735,7 +16715,7 @@ const pd = Zl, AO = ve({
16735
16715
  });
16736
16716
  return (a, s) => (E(), te("svg", MO, [
16737
16717
  U("defs", null, [
16738
- (E(!0), te(Ke, null, qe(r.value, (l) => (E(), H(PO, {
16718
+ (E(!0), te(Re, null, qe(r.value, (l) => (E(), H(PO, {
16739
16719
  id: l.id,
16740
16720
  key: l.id,
16741
16721
  type: l.type,
@@ -16756,9 +16736,9 @@ const pd = Zl, AO = ve({
16756
16736
  ...DO,
16757
16737
  setup(e) {
16758
16738
  const { findNode: t, getEdges: n, elevateEdgesOnSelect: i } = We();
16759
- return (o, r) => (E(), te(Ke, null, [
16739
+ return (o, r) => (E(), te(Re, null, [
16760
16740
  P(RO),
16761
- (E(!0), te(Ke, null, qe(p(n), (a) => (E(), te("svg", {
16741
+ (E(!0), te(Re, null, qe(p(n), (a) => (E(), te("svg", {
16762
16742
  key: a.id,
16763
16743
  class: "vue-flow__edges vue-flow__container",
16764
16744
  style: At({ zIndex: p(nN)(a, p(t), p(i)) })
@@ -16801,9 +16781,9 @@ const pd = Zl, AO = ve({
16801
16781
  hooks: N
16802
16782
  } = We(), O = oe(null);
16803
16783
  ot(Ym, O), ot(Gm, e.id);
16804
- const B = it(Sa), W = Bo(), Y = Jm(), { node: T, parentNode: re } = Zm(e.id), { emit: $, on: V } = EN(T, a), j = Le(() => typeof T.draggable > "u" ? _.value : T.draggable), le = Le(() => typeof T.selectable > "u" ? C.value : T.selectable), J = Le(() => typeof T.connectable > "u" ? x.value : T.connectable), Z = Le(() => typeof T.focusable > "u" ? k.value : T.focusable), q = M(
16784
+ const B = it(Sa), W = Bo(), Y = Jm(), { node: T, parentNode: re } = Zm(e.id), { emit: $, on: V } = EN(T, a), j = Ke(() => typeof T.draggable > "u" ? _.value : T.draggable), le = Ke(() => typeof T.selectable > "u" ? C.value : T.selectable), J = Ke(() => typeof T.connectable > "u" ? x.value : T.connectable), Z = Ke(() => typeof T.focusable > "u" ? k.value : T.focusable), q = M(
16805
16785
  () => le.value || j.value || N.value.nodeClick.hasListeners() || N.value.nodeDoubleClick.hasListeners() || N.value.nodeMouseEnter.hasListeners() || N.value.nodeMouseMove.hasListeners() || N.value.nodeMouseLeave.hasListeners()
16806
- ), z = Le(() => !!T.dimensions.width && !!T.dimensions.height), ne = M(() => {
16786
+ ), z = Ke(() => !!T.dimensions.width && !!T.dimensions.height), ne = M(() => {
16807
16787
  const I = T.type || "default", A = B == null ? void 0 : B[`node-${I}`];
16808
16788
  if (A)
16809
16789
  return A;
@@ -16834,7 +16814,7 @@ const pd = Zl, AO = ve({
16834
16814
  }), ee = M(() => T.class instanceof Function ? T.class(T) : T.class), fe = M(() => {
16835
16815
  const I = (T.style instanceof Function ? T.style(T) : T.style) || {}, A = T.width instanceof Function ? T.width(T) : T.width, G = T.height instanceof Function ? T.height(T) : T.height;
16836
16816
  return !I.width && A && (I.width = typeof A == "string" ? A : `${A}px`), !I.height && G && (I.height = typeof G == "string" ? G : `${G}px`), I;
16837
- }), me = Le(() => Number(T.zIndex ?? fe.value.zIndex ?? 0));
16817
+ }), me = Ke(() => Number(T.zIndex ?? fe.value.zIndex ?? 0));
16838
16818
  return c((I) => {
16839
16819
  (I.includes(e.id) || !I.length) && xe();
16840
16820
  }), It(() => {
@@ -17056,7 +17036,7 @@ const VO = { class: "vue-flow__nodes vue-flow__container" }, qO = {
17056
17036
  var a;
17057
17037
  return (a = r.value) == null ? void 0 : a.disconnect();
17058
17038
  }), (a, s) => (E(), te("div", VO, [
17059
- r.value ? (E(!0), te(Ke, { key: 0 }, qe(p(t), (l, u, c, d) => {
17039
+ r.value ? (E(!0), te(Re, { key: 0 }, qe(p(t), (l, u, c, d) => {
17060
17040
  const f = [l.id];
17061
17041
  if (d && d.key === l.id && ih(d, f))
17062
17042
  return d;
@@ -17231,7 +17211,7 @@ const XO = {
17231
17211
  offset: m,
17232
17212
  size: c
17233
17213
  };
17234
- }), o = Le(() => `pattern-${t}${e.id ? `-${e.id}` : ""}`), r = Le(() => e.color || e.patternColor || XO[e.variant || bn.Dots]);
17214
+ }), o = Ke(() => `pattern-${t}${e.id ? `-${e.id}` : ""}`), r = Ke(() => e.color || e.patternColor || XO[e.variant || bn.Dots]);
17235
17215
  return (a, s) => (E(), te("svg", {
17236
17216
  class: "vue-flow__background vue-flow__container",
17237
17217
  style: At({
@@ -17364,7 +17344,7 @@ const NP = { render: $P }, OP = {
17364
17344
  viewport: u,
17365
17345
  minZoom: c,
17366
17346
  maxZoom: d
17367
- } = We(), f = Le(() => n.value || i.value || o.value), m = Le(() => u.value.zoom <= c.value), h = Le(() => u.value.zoom >= d.value);
17347
+ } = We(), f = Ke(() => n.value || i.value || o.value), m = Ke(() => u.value.zoom <= c.value), h = Ke(() => u.value.zoom >= d.value);
17368
17348
  function v() {
17369
17349
  a(), t("zoomIn");
17370
17350
  }
@@ -17383,7 +17363,7 @@ const NP = { render: $P }, OP = {
17383
17363
  }, {
17384
17364
  default: F(() => [
17385
17365
  Me(_.$slots, "top"),
17386
- _.showZoom ? (E(), te(Ke, { key: 0 }, [
17366
+ _.showZoom ? (E(), te(Re, { key: 0 }, [
17387
17367
  Me(_.$slots, "control-zoom-in", {}, () => [
17388
17368
  P(cr, {
17389
17369
  class: "vue-flow__controls-zoomin",
@@ -17455,7 +17435,7 @@ const NP = { render: $P }, OP = {
17455
17435
  edges: 80,
17456
17436
  ranks: 40
17457
17437
  }
17458
- }, MP = 1600, FP = 1.2, RP = 0, lg = Symbol("confirm-modal"), Vi = "{key}", Wn = {
17438
+ }, MP = 1600, FP = 1.2, RP = 0, lg = Symbol("confirm-modal"), Vi = "{key}", Yn = {
17459
17439
  "kong.client.consumer": {
17460
17440
  dataType: "object",
17461
17441
  writable: !1,
@@ -17596,7 +17576,7 @@ const NP = { render: $P }, OP = {
17596
17576
  writable: !0,
17597
17577
  readable: !0
17598
17578
  }
17599
- }, $a = Object.keys(Wn).filter((e) => e.includes(Vi)).map((e) => e.replace(Vi, ""));
17579
+ }, $a = Object.keys(Yn).filter((e) => e.includes(Vi)).map((e) => e.replace(Vi, ""));
17600
17580
  function Zs(e) {
17601
17581
  if (!e || !Ko(e)) return;
17602
17582
  const t = $a.find((n) => e.startsWith(n));
@@ -17618,18 +17598,18 @@ function Jl(e) {
17618
17598
  var n;
17619
17599
  if (!e) return !1;
17620
17600
  const t = ug(e);
17621
- return t ? ((n = Wn[t]) == null ? void 0 : n.readable) ?? !1 : !1;
17601
+ return t ? ((n = Yn[t]) == null ? void 0 : n.readable) ?? !1 : !1;
17622
17602
  }
17623
17603
  function Js(e) {
17624
17604
  var n;
17625
17605
  if (!e) return !1;
17626
17606
  const t = ug(e);
17627
- return t ? ((n = Wn[t]) == null ? void 0 : n.writable) ?? !1 : !1;
17607
+ return t ? ((n = Yn[t]) == null ? void 0 : n.writable) ?? !1 : !1;
17628
17608
  }
17629
17609
  function DP(e) {
17630
17610
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
17631
17611
  }
17632
- var LP = "\0", qn = "\0", md = "";
17612
+ var LP = "\0", Vn = "\0", md = "";
17633
17613
  let KP = class {
17634
17614
  constructor(t) {
17635
17615
  ut(this, "_isDirected", !0);
@@ -17663,7 +17643,7 @@ let KP = class {
17663
17643
  ut(this, "_edgeCount", 0);
17664
17644
  ut(this, "_parent");
17665
17645
  ut(this, "_children");
17666
- t && (this._isDirected = Object.hasOwn(t, "directed") ? t.directed : !0, this._isMultigraph = Object.hasOwn(t, "multigraph") ? t.multigraph : !1, this._isCompound = Object.hasOwn(t, "compound") ? t.compound : !1), this._isCompound && (this._parent = {}, this._children = {}, this._children[qn] = {});
17646
+ t && (this._isDirected = Object.hasOwn(t, "directed") ? t.directed : !0, this._isMultigraph = Object.hasOwn(t, "multigraph") ? t.multigraph : !1, this._isCompound = Object.hasOwn(t, "compound") ? t.compound : !1), this._isCompound && (this._parent = {}, this._children = {}, this._children[Vn] = {});
17667
17647
  }
17668
17648
  /* === Graph functions ========= */
17669
17649
  /**
@@ -17755,7 +17735,7 @@ let KP = class {
17755
17735
  * Complexity: O(1).
17756
17736
  */
17757
17737
  setNode(t, n) {
17758
- return Object.hasOwn(this._nodes, t) ? (arguments.length > 1 && (this._nodes[t] = n), this) : (this._nodes[t] = arguments.length > 1 ? n : this._defaultNodeLabelFn(t), this._isCompound && (this._parent[t] = qn, this._children[t] = {}, this._children[qn][t] = !0), this._in[t] = {}, this._preds[t] = {}, this._out[t] = {}, this._sucs[t] = {}, ++this._nodeCount, this);
17738
+ return Object.hasOwn(this._nodes, t) ? (arguments.length > 1 && (this._nodes[t] = n), this) : (this._nodes[t] = arguments.length > 1 ? n : this._defaultNodeLabelFn(t), this._isCompound && (this._parent[t] = Vn, this._children[t] = {}, this._children[Vn][t] = !0), this._in[t] = {}, this._preds[t] = {}, this._out[t] = {}, this._sucs[t] = {}, ++this._nodeCount, this);
17759
17739
  }
17760
17740
  /**
17761
17741
  * Gets the label of node with specified name.
@@ -17796,7 +17776,7 @@ let KP = class {
17796
17776
  if (!this._isCompound)
17797
17777
  throw new Error("Cannot set parent in a non-compound graph");
17798
17778
  if (n === void 0)
17799
- n = qn;
17779
+ n = Vn;
17800
17780
  else {
17801
17781
  n += "";
17802
17782
  for (var i = n; i !== void 0; i = this.parent(i))
@@ -17816,7 +17796,7 @@ let KP = class {
17816
17796
  parent(t) {
17817
17797
  if (this._isCompound) {
17818
17798
  var n = this._parent[t];
17819
- if (n !== qn)
17799
+ if (n !== Vn)
17820
17800
  return n;
17821
17801
  }
17822
17802
  }
@@ -17824,13 +17804,13 @@ let KP = class {
17824
17804
  * Gets list of direct children of node v.
17825
17805
  * Complexity: O(1).
17826
17806
  */
17827
- children(t = qn) {
17807
+ children(t = Vn) {
17828
17808
  if (this._isCompound) {
17829
17809
  var n = this._children[t];
17830
17810
  if (n)
17831
17811
  return Object.keys(n);
17832
17812
  } else {
17833
- if (t === qn)
17813
+ if (t === Vn)
17834
17814
  return this.nodes();
17835
17815
  if (this.hasNode(t))
17836
17816
  return [];
@@ -19642,7 +19622,7 @@ function BR() {
19642
19622
  return (n) => t(n);
19643
19623
  }
19644
19624
  function Xr(e, t, n) {
19645
- const i = t ? Pn(e, n, t) : void 0;
19625
+ const i = t ? On(e, n, t) : void 0;
19646
19626
  return `${e.name}${i ? `.${i.name}` : ""}`;
19647
19627
  }
19648
19628
  function ko(e, t) {
@@ -20029,7 +20009,7 @@ const [HR, GR] = rf(
20029
20009
  (E(), H(mt(t.value)))
20030
20010
  ]),
20031
20011
  default: F(() => [
20032
- De(" " + he(n.value), 1)
20012
+ Le(" " + he(n.value), 1)
20033
20013
  ]),
20034
20014
  _: 1
20035
20015
  }, 8, ["appearance", "size"]);
@@ -20101,26 +20081,23 @@ const [HR, GR] = rf(
20101
20081
  class: Ye(["handles", { reversed: h.value }])
20102
20082
  }, [
20103
20083
  U("div", QR, [
20104
- d.value ? (E(), te(Ke, { key: 0 }, [
20084
+ d.value ? (E(), te(Re, { key: 0 }, [
20105
20085
  U("div", eD, [
20106
- P(p(Mn), {
20086
+ P(p(Pn), {
20107
20087
  id: "input",
20108
20088
  position: v.value,
20109
20089
  type: "target"
20110
20090
  }, null, 8, ["position"]),
20111
20091
  U("div", tD, [
20112
20092
  U("div", {
20113
- class: Ye(["handle-label", {
20093
+ class: Ye(["handle-label trigger", {
20114
20094
  "has-fields": C.data.fields.input.length > 0,
20115
20095
  collapsible: s.value
20116
- }])
20096
+ }]),
20097
+ onClick: x[0] || (x[0] = Ft((k) => _("input"), ["stop"]))
20117
20098
  }, [
20118
20099
  x[2] || (x[2] = U("div", { class: "text" }, " inputs ", -1)),
20119
- C.data.fields.input.length > 0 ? (E(), te("div", {
20120
- key: 0,
20121
- class: "icon",
20122
- onClick: x[0] || (x[0] = Ft((k) => _("input"), ["stop"]))
20123
- }, [
20100
+ C.data.fields.input.length > 0 ? (E(), te(Re, { key: 0 }, [
20124
20101
  u.value ? Ee("", !0) : (E(), H(p(su), {
20125
20102
  key: 0,
20126
20103
  size: p(lo)
@@ -20130,7 +20107,7 @@ const [HR, GR] = rf(
20130
20107
  color: s.value ? void 0 : p(nc),
20131
20108
  size: p(lo)
20132
20109
  }, null, 8, ["color", "size"])) : Ee("", !0)
20133
- ])) : Ee("", !0)
20110
+ ], 64)) : Ee("", !0)
20134
20111
  ], 2),
20135
20112
  u.value ? (E(), H(pr, {
20136
20113
  key: 0,
@@ -20140,11 +20117,11 @@ const [HR, GR] = rf(
20140
20117
  }, null, 8, ["color", "position"])) : Ee("", !0)
20141
20118
  ])
20142
20119
  ]),
20143
- u.value ? (E(!0), te(Ke, { key: 0 }, qe(C.data.fields.input, (k, N) => (E(), te("div", {
20120
+ u.value ? (E(!0), te(Re, { key: 0 }, qe(C.data.fields.input, (k, N) => (E(), te("div", {
20144
20121
  key: `inputs-${k.id}`,
20145
20122
  class: "handle indented"
20146
20123
  }, [
20147
- P(p(Mn), {
20124
+ P(p(Pn), {
20148
20125
  id: `inputs@${k.id}`,
20149
20126
  position: v.value,
20150
20127
  type: "target"
@@ -20161,21 +20138,18 @@ const [HR, GR] = rf(
20161
20138
  ], 64)) : Ee("", !0)
20162
20139
  ]),
20163
20140
  U("div", oD, [
20164
- f.value ? (E(), te(Ke, { key: 0 }, [
20141
+ f.value ? (E(), te(Re, { key: 0 }, [
20165
20142
  U("div", rD, [
20166
20143
  U("div", aD, [
20167
20144
  U("div", {
20168
- class: Ye(["handle-label text", {
20145
+ class: Ye(["handle-label text trigger", {
20169
20146
  "has-fields": C.data.fields.output.length > 0,
20170
20147
  collapsible: l.value
20171
- }])
20148
+ }]),
20149
+ onClick: x[1] || (x[1] = Ft((k) => _("output"), ["stop"]))
20172
20150
  }, [
20173
20151
  x[3] || (x[3] = U("div", { class: "text" }, " outputs ", -1)),
20174
- C.data.fields.output.length > 0 ? (E(), te("div", {
20175
- key: 0,
20176
- class: "icon",
20177
- onClick: x[1] || (x[1] = Ft((k) => _("output"), ["stop"]))
20178
- }, [
20152
+ C.data.fields.output.length > 0 ? (E(), te(Re, { key: 0 }, [
20179
20153
  c.value ? Ee("", !0) : (E(), H(p(su), {
20180
20154
  key: 0,
20181
20155
  size: p(lo)
@@ -20185,7 +20159,7 @@ const [HR, GR] = rf(
20185
20159
  color: l.value ? void 0 : p(nc),
20186
20160
  size: p(lo)
20187
20161
  }, null, 8, ["color", "size"])) : Ee("", !0)
20188
- ])) : Ee("", !0)
20162
+ ], 64)) : Ee("", !0)
20189
20163
  ], 2),
20190
20164
  c.value ? (E(), H(pr, {
20191
20165
  key: 0,
@@ -20194,13 +20168,13 @@ const [HR, GR] = rf(
20194
20168
  type: "bar"
20195
20169
  }, null, 8, ["color", "position"])) : Ee("", !0)
20196
20170
  ]),
20197
- P(p(Mn), {
20171
+ P(p(Pn), {
20198
20172
  id: "output",
20199
20173
  position: g.value,
20200
20174
  type: "source"
20201
20175
  }, null, 8, ["position"])
20202
20176
  ]),
20203
- c.value ? (E(!0), te(Ke, { key: 0 }, qe(C.data.fields.output, (k, N) => (E(), te("div", {
20177
+ c.value ? (E(!0), te(Re, { key: 0 }, qe(C.data.fields.output, (k, N) => (E(), te("div", {
20204
20178
  key: `outputs-${k.id}`,
20205
20179
  class: "handle indented"
20206
20180
  }, [
@@ -20212,7 +20186,7 @@ const [HR, GR] = rf(
20212
20186
  type: N < C.data.fields.output.length - 1 ? "trident" : "corner"
20213
20187
  }, null, 8, ["color", "position", "type"])
20214
20188
  ]),
20215
- P(p(Mn), {
20189
+ P(p(Pn), {
20216
20190
  id: `outputs@${k.id}`,
20217
20191
  position: g.value,
20218
20192
  type: "source"
@@ -20223,7 +20197,7 @@ const [HR, GR] = rf(
20223
20197
  ], 2)
20224
20198
  ], 2));
20225
20199
  }
20226
- }), Kg = /* @__PURE__ */ Fe(uD, [["__scopeId", "data-v-7f696049"]]), cD = /* @__PURE__ */ ve({
20200
+ }), Kg = /* @__PURE__ */ Fe(uD, [["__scopeId", "data-v-f963ddb9"]]), cD = /* @__PURE__ */ ve({
20227
20201
  __name: "FlowCanvas",
20228
20202
  props: {
20229
20203
  flowId: {},
@@ -20232,7 +20206,7 @@ const [HR, GR] = rf(
20232
20206
  },
20233
20207
  emits: ["initialized"],
20234
20208
  setup(e, { expose: t, emit: n }) {
20235
- const i = n, o = st("flowCanvas"), r = zn(o), {
20209
+ const i = n, o = st("flowCanvas"), r = qn(o), {
20236
20210
  vueFlowStore: a,
20237
20211
  editorStore: s,
20238
20212
  nodes: l,
@@ -20359,7 +20333,7 @@ const [HR, GR] = rf(
20359
20333
  fe(de), me(de), ee(() => de());
20360
20334
  }
20361
20335
  f(c, d), f(d, c);
20362
- const m = st("flowPanels"), h = st("requestLabel"), v = st("requestCanvasContainer"), g = st("requestFlow"), y = st("resizeHandle"), b = st("responseLabel"), _ = st("responseCanvasContainer"), C = st("responseFlow"), x = zn(m), k = zn(h), N = zn(v), O = zn(y), B = zn(b), W = zn(_), Y = M(() => Math.max(30, x.height.value * 0.03)), T = M(() => N.height.value < Y.value), re = M(() => W.height.value < Y.value), $ = oe("50%"), V = oe("50%"), j = () => {
20336
+ const m = st("flowPanels"), h = st("requestLabel"), v = st("requestCanvasContainer"), g = st("requestFlow"), y = st("resizeHandle"), b = st("responseLabel"), _ = st("responseCanvasContainer"), C = st("responseFlow"), x = qn(m), k = qn(h), N = qn(v), O = qn(y), B = qn(b), W = qn(_), Y = M(() => Math.max(30, x.height.value * 0.03)), T = M(() => N.height.value < Y.value), re = M(() => W.height.value < Y.value), $ = oe("50%"), V = oe("50%"), j = () => {
20363
20337
  e.resizable && (T.value ? ($.value = "50%", V.value = "50%") : ($.value = "0", V.value = "100%"));
20364
20338
  }, le = () => {
20365
20339
  e.resizable && (re.value ? ($.value = "50%", V.value = "50%") : ($.value = "100%", V.value = "0"));
@@ -20497,20 +20471,20 @@ const [HR, GR] = rf(
20497
20471
  U("p", null, he(a.value), 1),
20498
20472
  U("p", null, he(p(i)("plugins.free-form.datakit.flow_editor.confirm.message.confirm")), 1),
20499
20473
  U("div", pD, [
20500
- (E(!0), te(Ke, null, qe(s.value ?? [], ([g, y]) => (E(), te("div", {
20474
+ (E(!0), te(Re, null, qe(s.value ?? [], ([g, y]) => (E(), te("div", {
20501
20475
  key: `${g}-${y}`
20502
20476
  }, [
20503
20477
  P(p(cn), { color: p($k) }, null, 8, ["color"]),
20504
20478
  U("span", null, he(g), 1),
20505
- h[0] || (h[0] = De(" → ", -1)),
20479
+ h[0] || (h[0] = Le(" → ", -1)),
20506
20480
  U("span", null, he(y), 1)
20507
20481
  ]))), 128)),
20508
- (E(!0), te(Ke, null, qe(l.value ?? [], ([g, y]) => (E(), te("div", {
20482
+ (E(!0), te(Re, null, qe(l.value ?? [], ([g, y]) => (E(), te("div", {
20509
20483
  key: `${g}-${y}`
20510
20484
  }, [
20511
20485
  P(p(Qd), { color: p(op) }, null, 8, ["color"]),
20512
20486
  U("span", null, he(g), 1),
20513
- h[1] || (h[1] = De(" → ", -1)),
20487
+ h[1] || (h[1] = Le(" → ", -1)),
20514
20488
  U("span", null, he(y), 1)
20515
20489
  ]))), 128))
20516
20490
  ])
@@ -20536,7 +20510,7 @@ const [HR, GR] = rf(
20536
20510
  }
20537
20511
  return (u, c) => (E(), te("nav", hD, [
20538
20512
  U("div", vD, [
20539
- (E(), te(Ke, null, qe(o, ({ label: d, to: f, icon: m, onClick: h }) => P(p(fu), {
20513
+ (E(), te(Re, null, qe(o, ({ label: d, to: f, icon: m, onClick: h }) => P(p(fu), {
20540
20514
  key: d,
20541
20515
  "kpop-attributes": { offset: "10px" },
20542
20516
  label: d,
@@ -20740,14 +20714,14 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
20740
20714
  to: "https://developer.konghq.com/plugins/datakit/"
20741
20715
  }, {
20742
20716
  default: F(() => [
20743
- De(he(p(t)("plugins.free-form.datakit.flow_editor.actions.view_docs")) + " ", 1),
20717
+ Le(he(p(t)("plugins.free-form.datakit.flow_editor.actions.view_docs")) + " ", 1),
20744
20718
  P(p(Mh))
20745
20719
  ]),
20746
20720
  _: 1
20747
20721
  }),
20748
20722
  P(p(vn), { onClick: s }, {
20749
20723
  default: F(() => [
20750
- De(he(p(t)("plugins.free-form.datakit.flow_editor.actions.done")), 1)
20724
+ Le(he(p(t)("plugins.free-form.datakit.flow_editor.actions.done")), 1)
20751
20725
  ]),
20752
20726
  _: 1
20753
20727
  })
@@ -20834,13 +20808,13 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
20834
20808
  info: p(t)("plugins.free-form.datakit.flow_editor.node_panel.description")
20835
20809
  }, {
20836
20810
  default: F(() => [
20837
- De(he(p(t)("plugins.free-form.datakit.flow_editor.node_panel.title")), 1)
20811
+ Le(he(p(t)("plugins.free-form.datakit.flow_editor.node_panel.title")), 1)
20838
20812
  ]),
20839
20813
  _: 1
20840
20814
  }, 8, ["info"])
20841
20815
  ]),
20842
20816
  U("div", LD, [
20843
- (E(!0), te(Ke, null, qe(Object.keys(p(pa)), (c) => (E(), H(FD, {
20817
+ (E(!0), te(Re, null, qe(Object.keys(p(pa)), (c) => (E(), H(FD, {
20844
20818
  key: c,
20845
20819
  draggable: "true",
20846
20820
  type: c,
@@ -20890,7 +20864,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
20890
20864
  "reset-label-path": "isolate"
20891
20865
  }, {
20892
20866
  default: F(() => [
20893
- (E(!0), te(Ke, null, qe(i.value, (a) => (E(), H(an, {
20867
+ (E(!0), te(Re, null, qe(i.value, (a) => (E(), H(an, {
20894
20868
  key: a,
20895
20869
  class: "dk-inputs-field-indent",
20896
20870
  clearable: "",
@@ -20982,7 +20956,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
20982
20956
  ref: u,
20983
20957
  class: "dk-inputs-map-field"
20984
20958
  }, [
20985
- (E(!0), te(Ke, null, qe(p(o), (T, re) => (E(), te("div", {
20959
+ (E(!0), te(Re, null, qe(p(o), (T, re) => (E(), te("div", {
20986
20960
  key: T.id,
20987
20961
  class: "dk-inputs-map-field-entry dk-inputs-map-field-indent",
20988
20962
  "data-testid": `ff-kv-container-${p(s).path.value}.${re}`
@@ -20991,7 +20965,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
20991
20965
  for: `ff-kv-entry-key-${p(s).path.value}.${re}`
20992
20966
  }, {
20993
20967
  default: F(() => [
20994
- De(he(p(l)("plugins.free-form.datakit.flow_editor.node_properties.input_name.label")), 1)
20968
+ Le(he(p(l)("plugins.free-form.datakit.flow_editor.node_properties.input_name.label")), 1)
20995
20969
  ]),
20996
20970
  _: 2
20997
20971
  }, 1032, ["for"]),
@@ -21045,7 +21019,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
21045
21019
  }, {
21046
21020
  default: F(() => [
21047
21021
  P(p(cn)),
21048
- De(" " + he(p(l)("plugins.free-form.datakit.flow_editor.node_properties.input.add_button")), 1)
21022
+ Le(" " + he(p(l)("plugins.free-form.datakit.flow_editor.node_properties.input.add_button")), 1)
21049
21023
  ]),
21050
21024
  _: 1
21051
21025
  }, 8, ["data-testid", "disabled"])
@@ -21078,7 +21052,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
21078
21052
  function d(f, m) {
21079
21053
  n("rename:field", f, m);
21080
21054
  }
21081
- return (f, m) => (E(), te(Ke, null, [
21055
+ return (f, m) => (E(), te(Re, null, [
21082
21056
  p(i)("input") ? (E(), H(an, {
21083
21057
  key: 0,
21084
21058
  clearable: "",
@@ -21494,7 +21468,7 @@ function pi(e, t) {
21494
21468
  }), _ = M(() => {
21495
21469
  const ne = n.value.edges.filter((se) => se.target === e).reduce((se, ee) => {
21496
21470
  var ue, de;
21497
- const fe = o(ee.source), me = (ue = Pn(fe, "output", ee.sourceField)) == null ? void 0 : ue.id, Se = (de = Pn(b.value, "input", ee.targetField)) == null ? void 0 : de.name, xe = fe.id + (me ? `.${me}` : "");
21471
+ const fe = o(ee.source), me = (ue = On(fe, "output", ee.sourceField)) == null ? void 0 : ue.id, Se = (de = On(b.value, "input", ee.targetField)) == null ? void 0 : de.name, xe = fe.id + (me ? `.${me}` : "");
21498
21472
  return Se ? se.inputs = { ...se.inputs, [Se]: xe } : se.input = xe, se;
21499
21473
  }, {});
21500
21474
  return b.value.fields.input.forEach((se) => {
@@ -21753,7 +21727,7 @@ const Go = /* @__PURE__ */ ve({
21753
21727
  }, null, 8, ["name", "validate", "onUpdate"]),
21754
21728
  P(C, { class: "dk-node-configuration-label" }, {
21755
21729
  default: F(() => [
21756
- De(he(p(t)("plugins.free-form.datakit.flow_editor.node_properties.Configuration")), 1)
21730
+ Le(he(p(t)("plugins.free-form.datakit.flow_editor.node_properties.Configuration")), 1)
21757
21731
  ]),
21758
21732
  _: 1
21759
21733
  }),
@@ -21915,7 +21889,7 @@ const Go = /* @__PURE__ */ ve({
21915
21889
  }, null, 8, ["name", "validate", "onUpdate"]),
21916
21890
  P(W, { class: "dk-node-configuration-label" }, {
21917
21891
  default: F(() => [
21918
- De(he(p(t)("plugins.free-form.datakit.flow_editor.node_properties.Configuration")), 1)
21892
+ Le(he(p(t)("plugins.free-form.datakit.flow_editor.node_properties.Configuration")), 1)
21919
21893
  ]),
21920
21894
  _: 1
21921
21895
  }),
@@ -22032,11 +22006,11 @@ const Go = /* @__PURE__ */ ve({
22032
22006
  }, [
22033
22007
  P(O, { class: "dk-node-configuration-label" }, {
22034
22008
  default: F(() => [
22035
- De(he(p(u).t("plugins.free-form.datakit.flow_editor.node_properties.output_value.label")), 1)
22009
+ Le(he(p(u).t("plugins.free-form.datakit.flow_editor.node_properties.output_value.label")), 1)
22036
22010
  ]),
22037
22011
  _: 1
22038
22012
  }),
22039
- (E(!0), te(Ke, null, qe(p(r), (T, re) => (E(), H(Y, {
22013
+ (E(!0), te(Re, null, qe(p(r), (T, re) => (E(), H(Y, {
22040
22014
  key: T.id,
22041
22015
  class: "dk-output-value-field-entry",
22042
22016
  "data-testid": `ff-kv-container-${p(l).path.value}.${re}`
@@ -22091,7 +22065,7 @@ const Go = /* @__PURE__ */ ve({
22091
22065
  }, {
22092
22066
  default: F(() => [
22093
22067
  P(p(cn)),
22094
- De(" " + he(p(u).t("plugins.free-form.datakit.flow_editor.node_properties.output_value.add_button")), 1)
22068
+ Le(" " + he(p(u).t("plugins.free-form.datakit.flow_editor.node_properties.output_value.add_button")), 1)
22095
22069
  ]),
22096
22070
  _: 1
22097
22071
  }, 8, ["data-testid", "disabled"])
@@ -22149,7 +22123,7 @@ const mL = /* @__PURE__ */ ve({
22149
22123
  var B;
22150
22124
  if (!d.value)
22151
22125
  return {};
22152
- const _ = ((B = d.value.config) == null ? void 0 : B.values) ?? {}, C = {}, x = n(d.value.id).map((W) => W.sourceField).filter(Boolean).map((W) => Pn(d.value, "output", W)).map((W) => W == null ? void 0 : W.name).filter(Boolean), k = d.value.fields.output.map((W) => W.name), N = Object.keys(_);
22126
+ const _ = ((B = d.value.config) == null ? void 0 : B.values) ?? {}, C = {}, x = n(d.value.id).map((W) => W.sourceField).filter(Boolean).map((W) => On(d.value, "output", W)).map((W) => W == null ? void 0 : W.name).filter(Boolean), k = d.value.fields.output.map((W) => W.name), N = Object.keys(_);
22153
22127
  return (/* @__PURE__ */ new Set([
22154
22128
  ...N,
22155
22129
  ...x,
@@ -22238,7 +22212,7 @@ const mL = /* @__PURE__ */ ve({
22238
22212
  },
22239
22213
  emits: ["update:model-value", "update:property-key"],
22240
22214
  setup(e, { emit: t }) {
22241
- const { i18n: { t: n } } = Ue(), i = e, o = t, { formData: r } = rt(), a = oe(mo(r.property)), s = M(() => Ko(r.property)), l = oe(Zs(r.property)), u = M(() => r.property ?? ""), c = M(() => Object.entries(Wn).map(([m]) => {
22215
+ const { i18n: { t: n } } = Ue(), i = e, o = t, { formData: r } = rt(), a = oe(mo(r.property)), s = M(() => Ko(r.property)), l = oe(Zs(r.property)), u = M(() => r.property ?? ""), c = M(() => Object.entries(Yn).map(([m]) => {
22242
22216
  var g;
22243
22217
  const h = Ko(m) ? (g = r.property) == null ? void 0 : g.startsWith(m.replace(Vi, "")) : r.property === m;
22244
22218
  return {
@@ -22261,7 +22235,7 @@ const mL = /* @__PURE__ */ ve({
22261
22235
  l.value = Zs(m), a.value = mo(m);
22262
22236
  }), (m, h) => {
22263
22237
  const v = we("KBadge"), g = we("KSelect"), y = we("KInput");
22264
- return E(), te(Ke, null, [
22238
+ return E(), te(Re, null, [
22265
22239
  (E(), H(g, {
22266
22240
  key: u.value,
22267
22241
  "enable-filtering": "",
@@ -22282,24 +22256,24 @@ const mL = /* @__PURE__ */ ve({
22282
22256
  U("div", gL, [
22283
22257
  U("div", null, [
22284
22258
  U("div", null, he(b.label), 1),
22285
- U("div", hL, he(p(Wn)[b.value].dataType), 1)
22259
+ U("div", hL, he(p(Yn)[b.value].dataType), 1)
22286
22260
  ]),
22287
22261
  U("div", vL, [
22288
- p(Wn)[b.value].readable ? (E(), H(v, {
22262
+ p(Yn)[b.value].readable ? (E(), H(v, {
22289
22263
  key: 0,
22290
22264
  appearance: "info"
22291
22265
  }, {
22292
22266
  default: F(() => [
22293
- De(he(p(n)("plugins.free-form.datakit.flow_editor.node_properties.property.get")), 1)
22267
+ Le(he(p(n)("plugins.free-form.datakit.flow_editor.node_properties.property.get")), 1)
22294
22268
  ]),
22295
22269
  _: 1
22296
22270
  })) : Ee("", !0),
22297
- p(Wn)[b.value].writable ? (E(), H(v, {
22271
+ p(Yn)[b.value].writable ? (E(), H(v, {
22298
22272
  key: 1,
22299
22273
  appearance: "warning"
22300
22274
  }, {
22301
22275
  default: F(() => [
22302
- De(he(p(n)("plugins.free-form.datakit.flow_editor.node_properties.property.set")), 1)
22276
+ Le(he(p(n)("plugins.free-form.datakit.flow_editor.node_properties.property.set")), 1)
22303
22277
  ]),
22304
22278
  _: 1
22305
22279
  })) : Ee("", !0)
@@ -22647,7 +22621,7 @@ const mL = /* @__PURE__ */ ve({
22647
22621
  onClick: d[0] || (d[0] = (m) => s.value = !0)
22648
22622
  }, {
22649
22623
  default: F(() => [
22650
- De(he(p(n)("plugins.free-form.datakit.flow_editor.cta")) + " ", 1),
22624
+ Le(he(p(n)("plugins.free-form.datakit.flow_editor.cta")) + " ", 1),
22651
22625
  P(p(Fh))
22652
22626
  ]),
22653
22627
  _: 1
@@ -22957,11 +22931,11 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
22957
22931
  onValidityChange: { type: Function }
22958
22932
  },
22959
22933
  setup(e) {
22960
- const { t } = vt("en-us", yt), n = e, i = it(O1.DATAKIT_ENABLE_FLOW_EDITOR, !1), { editorMode: o } = jl(), r = M(() => i ? o.value : "code"), a = {
22934
+ const { t } = vt("en-us", yt), n = e, i = it(O1.DATAKIT_ENABLE_FLOW_EDITOR, !1), { editorMode: o } = jl(), r = M(() => i && s.value ? o.value : "code"), a = {
22961
22935
  flow: Rh,
22962
22936
  code: tf
22963
22937
  }, s = oe(!0), l = M(() => {
22964
- const v = [
22938
+ const h = [
22965
22939
  {
22966
22940
  label: t("plugins.free-form.datakit.flow_editor.mode"),
22967
22941
  value: "flow"
@@ -22971,9 +22945,9 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
22971
22945
  value: "code"
22972
22946
  }
22973
22947
  ];
22974
- return v[0].disabled = !s.value, v;
22975
- }), u = M(() => s.value ? o.value : "code"), c = M(() => {
22976
- switch (u.value) {
22948
+ return h[0].disabled = !s.value, h;
22949
+ }), u = M(() => {
22950
+ switch (r.value) {
22977
22951
  case "code":
22978
22952
  return t("plugins.free-form.datakit.description_code");
22979
22953
  case "flow":
@@ -22982,59 +22956,59 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
22982
22956
  return "";
22983
22957
  }
22984
22958
  });
22985
- Te(u, () => {
22986
- var v;
22987
- (v = n.onValidityChange) == null || v.call(n, {
22959
+ Te(r, () => {
22960
+ var h;
22961
+ (h = n.onValidityChange) == null || h.call(n, {
22988
22962
  model: "config",
22989
22963
  valid: !0
22990
22964
  });
22991
22965
  });
22992
- function d() {
22993
- var v;
22994
- (v = n.onValidityChange) == null || v.call(n, {
22966
+ function c() {
22967
+ var h;
22968
+ (h = n.onValidityChange) == null || h.call(n, {
22995
22969
  model: "config",
22996
22970
  valid: !0
22997
22971
  });
22998
22972
  }
22999
- function f() {
23000
- d();
22973
+ function d() {
22974
+ c();
23001
22975
  }
23002
- function m(v) {
23003
- d();
23004
- const { success: g } = dK.safeParse(v);
23005
- s.value = g;
22976
+ function f(h) {
22977
+ c();
22978
+ const { success: v } = dK.safeParse(h);
22979
+ s.value = v;
23006
22980
  }
23007
- function h(v) {
23008
- var g;
23009
- s.value = !1, (g = n.onValidityChange) == null || g.call(n, {
22981
+ function m(h) {
22982
+ var v;
22983
+ s.value = !1, (v = n.onValidityChange) == null || v.call(n, {
23010
22984
  model: "config",
23011
22985
  valid: !1,
23012
- error: v
22986
+ error: h
23013
22987
  });
23014
22988
  }
23015
- return (v, g) => {
23016
- const y = we("KTooltip");
22989
+ return (h, v) => {
22990
+ const g = we("KTooltip");
23017
22991
  return E(), H(ap, ze(n, { class: "dk-form" }), et({
23018
- default: F((b) => [
23019
- P(Vt, ze(b, { tag: "div" }), {
22992
+ default: F((y) => [
22993
+ P(Vt, ze(y, { tag: "div" }), {
23020
22994
  default: F(() => [
23021
22995
  r.value === "flow" ? (E(), H(BL, {
23022
22996
  key: 0,
23023
22997
  "is-editing": n.isEditing,
23024
- onChange: f
22998
+ onChange: d
23025
22999
  }, null, 8, ["is-editing"])) : r.value === "code" ? (E(), H(Ix, {
23026
23000
  key: 1,
23027
23001
  class: "code-editor",
23028
23002
  editing: n.isEditing,
23029
- onChange: m,
23030
- onError: h
23003
+ onChange: f,
23004
+ onError: m
23031
23005
  }, null, 8, ["editing"])) : Ee("", !0)
23032
23006
  ]),
23033
23007
  _: 2
23034
23008
  }, 1040)
23035
23009
  ]),
23036
23010
  "plugin-config-description": F(() => [
23037
- U("span", { innerHTML: c.value }, null, 8, pK)
23011
+ U("span", { innerHTML: u.value }, null, 8, pK)
23038
23012
  ]),
23039
23013
  _: 2
23040
23014
  }, [
@@ -23042,19 +23016,19 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23042
23016
  name: "plugin-config-extra",
23043
23017
  fn: F(() => [
23044
23018
  P(p(Gh), {
23045
- "model-value": u.value,
23019
+ "model-value": r.value,
23046
23020
  options: l.value,
23047
- "onUpdate:modelValue": g[0] || (g[0] = (b) => o.value = b)
23021
+ "onUpdate:modelValue": v[0] || (v[0] = (y) => o.value = y)
23048
23022
  }, {
23049
- "option-label": F(({ option: b }) => [
23050
- P(y, {
23051
- disabled: s.value || b.value !== "flow",
23023
+ "option-label": F(({ option: y }) => [
23024
+ P(g, {
23025
+ disabled: s.value || y.value !== "flow",
23052
23026
  text: p(t)("plugins.free-form.datakit.flow_editor.disabled_tooltip")
23053
23027
  }, {
23054
23028
  default: F(() => [
23055
23029
  U("div", fK, [
23056
- (E(), H(mt(a[b.value]))),
23057
- De(" " + he(b.label), 1)
23030
+ (E(), H(mt(a[y.value]))),
23031
+ Le(" " + he(y.label), 1)
23058
23032
  ])
23059
23033
  ]),
23060
23034
  _: 2
@@ -23068,7 +23042,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23068
23042
  ]), 1040);
23069
23043
  };
23070
23044
  }
23071
- }), gK = /* @__PURE__ */ Fe(mK, [["__scopeId", "data-v-c814e2fa"]]), jd = (e) => {
23045
+ }), gK = /* @__PURE__ */ Fe(mK, [["__scopeId", "data-v-ef778da1"]]), jd = (e) => {
23072
23046
  if (!(!e || typeof e != "object"))
23073
23047
  for (const [t, n] of Object.entries(e))
23074
23048
  typeof n == "string" && (e[t] = n.split(/\s*,\s*/).filter(Boolean));
@@ -23143,9 +23117,9 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23143
23117
  },
23144
23118
  setup(e) {
23145
23119
  const t = e, n = Gt();
23146
- return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H($l, un(kn(t)), {
23120
+ return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H($l, un(En(t)), {
23147
23121
  default: F((r) => [
23148
- P(hK, un(kn(r)), null, 16)
23122
+ P(hK, un(En(r)), null, 16)
23149
23123
  ]),
23150
23124
  _: 1
23151
23125
  }, 16));
@@ -23219,9 +23193,9 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23219
23193
  },
23220
23194
  setup(e) {
23221
23195
  const t = e, n = Gt();
23222
- return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H(ap, un(kn(t)), {
23196
+ return ot(Hi, n == null ? void 0 : n[Xn]), (i, o) => (E(), H(ap, un(En(t)), {
23223
23197
  default: F((r) => [
23224
- P(_K, un(kn(r)), null, 16)
23198
+ P(_K, un(En(r)), null, 16)
23225
23199
  ]),
23226
23200
  _: 1
23227
23201
  }, 16));
@@ -23310,7 +23284,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23310
23284
  throw new Error(
23311
23285
  "Duplicate form component names found in `sharedForms` and `freeForm`"
23312
23286
  );
23313
- const o = t, r = e, { axiosInstance: a } = jn((Se = r.config) == null ? void 0 : Se.axiosRequestConfig), { parseSchema: s } = nt.useSchemas({
23287
+ const o = t, r = e, { axiosInstance: a } = Kn((Se = r.config) == null ? void 0 : Se.axiosRequestConfig), { parseSchema: s } = nt.useSchemas({
23314
23288
  entityId: ((xe = r.entityMap.focusedEntity) == null ? void 0 : xe.id) || void 0,
23315
23289
  credential: r.credential,
23316
23290
  enableRedisPartial: r.enableRedisPartial,
@@ -23382,7 +23356,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23382
23356
  });
23383
23357
  }
23384
23358
  }), ot(ta, r.config);
23385
- const N = oe(""), O = oe(""), B = oe(null), W = oe({}), Y = wn({}), T = wn({}), re = M(() => {
23359
+ const N = oe(""), O = oe(""), B = oe(null), W = oe({}), Y = Wn({}), T = Wn({}), re = M(() => {
23386
23360
  var ue;
23387
23361
  return (ue = B.value) == null ? void 0 : ue.options;
23388
23362
  }), $ = oe(!1), V = oe(), j = (ue, de) => {
@@ -23562,13 +23536,13 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23562
23536
  Object.assign(T, X.model), W.value = {
23563
23537
  fields: (R = (ae = W.value) == null ? void 0 : ae.fields) == null ? void 0 : R.map((w) => ({ ...w, disabled: w.disabled || !1 }))
23564
23538
  }, Object.assign(Y, JSON.parse(JSON.stringify(X.model))), O.value = qf(X.model.name, m), N.value = Jd(X.model.name), me();
23565
- }, { immediate: !0, deep: !0 }), An(() => {
23539
+ }, { immediate: !0, deep: !0 }), xn(() => {
23566
23540
  var ue, de;
23567
23541
  B.value = s(r.schema), Object.assign(T, ((ue = B.value) == null ? void 0 : ue.model) || {}), W.value = ((de = B.value) == null ? void 0 : de.schema) || {}, me();
23568
23542
  }), (ue, de) => {
23569
23543
  var ae;
23570
23544
  const X = we("KSkeleton");
23571
- return E(), te(Ke, null, [
23545
+ return E(), te(Re, null, [
23572
23546
  U("div", wK, [
23573
23547
  fe.value ? (E(), H(X, {
23574
23548
  key: 0,
@@ -23775,17 +23749,17 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23775
23749
  app: i.config.app,
23776
23750
  credential: i.credential,
23777
23751
  experimentalRenders: i.config.app === "konnect" ? i.config.experimentalRenders : void 0
23778
- }), { formatPluginFieldLabel: l } = nt.usePluginHelpers(), { getMessageFromError: u } = Ui(), { capitalize: c } = Jr(), { objectsAreEqual: d } = Qr(), { axiosInstance: f } = jn((ie = i.config) == null ? void 0 : ie.axiosRequestConfig), m = oe(!1), h = M(() => !!i.pluginId), v = M(() => i.pluginId ? Bn.Edit : Bn.Create), g = oe(void 0), y = oe(void 0), b = M(() => !!(i.credential && i.config.entityId)), _ = oe(void 0), C = oe({}), x = oe(), k = oe();
23752
+ }), { formatPluginFieldLabel: l } = nt.usePluginHelpers(), { getMessageFromError: u } = Ui(), { capitalize: c } = Jr(), { objectsAreEqual: d } = Qr(), { axiosInstance: f } = Kn((ie = i.config) == null ? void 0 : ie.axiosRequestConfig), m = oe(!1), h = M(() => !!i.pluginId), v = M(() => i.pluginId ? jn.Edit : jn.Create), g = oe(void 0), y = oe(void 0), b = M(() => !!(i.credential && i.config.entityId)), _ = oe(void 0), C = oe({}), x = oe(), k = oe();
23779
23753
  ot(rp, {
23780
23754
  redisType: x,
23781
23755
  redisPath: k,
23782
23756
  isEditing: h.value
23783
23757
  });
23784
- const N = oe(!1), O = wn({
23758
+ const N = oe(!1), O = Wn({
23785
23759
  enabled: !0,
23786
23760
  protocols: [],
23787
23761
  tags: []
23788
- }), B = wn({
23762
+ }), B = Wn({
23789
23763
  fields: {
23790
23764
  enabled: !0,
23791
23765
  protocols: [],
@@ -23855,7 +23829,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23855
23829
  id: i.config.entityId,
23856
23830
  idField: yi[i.config.entityType.substring(0, i.config.entityType.length - 1).toUpperCase()]
23857
23831
  }), ge;
23858
- }), V = wn({
23832
+ }), V = Wn({
23859
23833
  // this is a required field that the user cannot set, it's always the name of the plugin
23860
23834
  // ex. 'acl'
23861
23835
  name: {
@@ -23878,7 +23852,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
23878
23852
  },
23879
23853
  // plugin scoping
23880
23854
  selectionGroup: {
23881
- type: i.hideScopeSelection && (i.hideScopeSelection || v.value === Bn.Create && i.config.entityId) ? "foreign" : "selectionGroup",
23855
+ type: i.hideScopeSelection && (i.hideScopeSelection || v.value === jn.Create && i.config.entityId) ? "foreign" : "selectionGroup",
23882
23856
  disabled: i.disableScopeSelection,
23883
23857
  inputType: "hidden",
23884
23858
  styleClasses: "hide-label",
@@ -24011,14 +23985,14 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24011
23985
  }), be.elements && be.type === "array") {
24012
23986
  const Be = be.elements;
24013
23987
  if (K[ye].referenceable = Be.referenceable, K[ye].elements = Be, ["string", "integer", "number"].includes(Be.type) && !Be.one_of) {
24014
- const { id: $t, help: at, label: Re, hint: Ve, values: Xe, referenceable: pn, model: Mt } = K[ye], { inputAttributes: Xo, ...Zg } = JSON.parse(JSON.stringify(Ze));
24015
- Xo.type = Be.type === "string" ? "text" : "number", K[ye] = { id: $t, help: at, label: Re, hint: Ve, values: Xe, referenceable: pn, model: Mt, inputAttributes: Xo, ...Zg };
23988
+ const { id: $t, help: at, label: De, hint: Ve, values: Xe, referenceable: pn, model: Mt } = K[ye], { inputAttributes: Xo, ...Zg } = JSON.parse(JSON.stringify(Ze));
23989
+ Xo.type = Be.type === "string" ? "text" : "number", K[ye] = { id: $t, help: at, label: De, hint: Ve, values: Xe, referenceable: pn, model: Mt, inputAttributes: Xo, ...Zg };
24016
23990
  }
24017
23991
  }
24018
23992
  if (be.hint && (K[ye].hint = be.hint), $e && !$e.overwriteDefault && Object.keys($e).forEach((Be) => {
24019
23993
  if (Be === ye) {
24020
- const { help: $t, label: at, hint: Re, values: Ve, referenceable: Xe, elements: pn } = K[ye], { help: Mt, ...Xo } = $e[Be];
24021
- K[ye] = { help: $t, label: at, hint: Re, values: Ve, referenceable: Xe, elements: pn, ...Xo }, typeof Mt == "string" && (K[ye].help = vr.parse(Mt, { mangle: !1, headerIds: !1 }));
23994
+ const { help: $t, label: at, hint: De, values: Ve, referenceable: Xe, elements: pn } = K[ye], { help: Mt, ...Xo } = $e[Be];
23995
+ K[ye] = { help: $t, label: at, hint: De, values: Ve, referenceable: Xe, elements: pn, ...Xo }, typeof Mt == "string" && (K[ye].help = vr.parse(Mt, { mangle: !1, headerIds: !1 }));
24022
23996
  }
24023
23997
  }), be.type === "array" && ((Zi = be.elements) == null ? void 0 : Zi.type) === "record" && Array.isArray(be.elements.fields)) {
24024
23998
  let Be = {};
@@ -24027,8 +24001,8 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24027
24001
  const $t = (eo = (Qi = (Ji = K[ye]) == null ? void 0 : Ji.items) == null ? void 0 : Qi.schema) == null ? void 0 : eo.fields;
24028
24002
  if (Array.isArray($t))
24029
24003
  for (const at of K[ye].items.schema.fields) {
24030
- const Re = (to = Be[at.model]) == null ? void 0 : to.description;
24031
- at.help === void 0 && typeof Re == "string" && (at.help = vr.parse(Re, { mangle: !1, headerIds: !1 }));
24004
+ const De = (to = Be[at.model]) == null ? void 0 : to.description;
24005
+ at.help === void 0 && typeof De == "string" && (at.help = vr.parse(De, { mangle: !1, headerIds: !1 }));
24032
24006
  }
24033
24007
  if ($t || (K[ye].type = "array", K[ye].newElementButtonLabelClasses = "kong-form-new-element-button-label", K[ye].fieldClasses = "array-card-container-wrapper", K[ye].itemContainerComponent = "FieldArrayCardContainer", K[ye].items = {
24034
24008
  type: "object",
@@ -24037,9 +24011,9 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24037
24011
  }
24038
24012
  }, K[ye].items.schema.fields.forEach(
24039
24013
  (at) => {
24040
- var Re, Ve;
24014
+ var De, Ve;
24041
24015
  for (const Xe of be.elements.fields) {
24042
- const pn = Object.keys(Xe)[0], Mt = ((Ve = (Re = at.id) == null ? void 0 : Re.split) == null ? void 0 : Ve.call(Re, "-")) ?? [];
24016
+ const pn = Object.keys(Xe)[0], Mt = ((Ve = (De = at.id) == null ? void 0 : De.split) == null ? void 0 : Ve.call(De, "-")) ?? [];
24043
24017
  if (Mt[Mt.length - 1] === pn) {
24044
24018
  at.model = pn, at.label = l(pn);
24045
24019
  break;
@@ -24047,21 +24021,21 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24047
24021
  }
24048
24022
  }
24049
24023
  ), be.elements.type === "record" && (K[ye].nestedFields = !0)), !K[ye].nestedFields)
24050
- K[ye].items.default = () => be.elements.fields.reduce((at, Re) => {
24051
- const Ve = Object.keys(Re)[0];
24052
- return at[Ve] = Re[Ve].default, at;
24024
+ K[ye].items.default = () => be.elements.fields.reduce((at, De) => {
24025
+ const Ve = Object.keys(De)[0];
24026
+ return at[Ve] = De[Ve].default, at;
24053
24027
  }, {});
24054
24028
  else {
24055
- const at = (Re, Ve) => {
24056
- if (Re.type === "object") {
24057
- Re.model && (Ve[Re.model] = {});
24058
- for (const Xe of Re.schema.fields)
24059
- at(Xe, Re.model ? Ve[Re.model] : Ve);
24060
- } else Re.model && (Ve[Re.model] = Re.default);
24029
+ const at = (De, Ve) => {
24030
+ if (De.type === "object") {
24031
+ De.model && (Ve[De.model] = {});
24032
+ for (const Xe of De.schema.fields)
24033
+ at(Xe, De.model ? Ve[De.model] : Ve);
24034
+ } else De.model && (Ve[De.model] = De.default);
24061
24035
  };
24062
24036
  K[ye].items.default = () => {
24063
- const Re = {};
24064
- return at(K[ye].items, Re), Re;
24037
+ const De = {};
24038
+ return at(K[ye].items, De), De;
24065
24039
  };
24066
24040
  }
24067
24041
  }
@@ -24087,12 +24061,12 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24087
24061
  }), K;
24088
24062
  }, Z = () => {
24089
24063
  var ye, Tt, Wi, Xi, Zi, Ji, Qi, eo, to, Be, $t, at;
24090
- const D = ((ye = Qt[i.pluginType]) == null ? void 0 : ye.scope.includes(Et.SERVICE)) ?? !0, Q = ((Tt = Qt[i.pluginType]) == null ? void 0 : Tt.scope.includes(Et.ROUTE)) ?? !0, K = ((Wi = Qt[i.pluginType]) == null ? void 0 : Wi.scope.includes(Et.CONSUMER)) ?? !0, Ce = i.config.disableConsumerGroupScope ? !1 : ((Xi = Qt[i.pluginType]) == null ? void 0 : Xi.scope.includes(Et.CONSUMER_GROUP)) ?? !0, ge = i.config.entityType === "consumers" && !!i.config.entityId || !!((Ji = (Zi = _.value) == null ? void 0 : Zi.consumer) != null && Ji.id), $e = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((eo = (Qi = _.value) == null ? void 0 : Qi.consumer_group) != null && eo.id), ke = i.config.entityType === "services" && !!i.config.entityId || !!((Be = (to = _.value) == null ? void 0 : to.service) != null && Be.id), ce = i.config.entityType === "routes" && !!i.config.entityId || !!((at = ($t = _.value) == null ? void 0 : $t.route) != null && at.id), Ne = [], je = (Re, Ve, Xe) => Re ? r("plugins.form.disable_source_scope_change", { scope: Xe }) : Ve ? r("plugins.form.disable_data_retrieving", { scope: Xe }) : "", be = (Re) => {
24064
+ const D = ((ye = Qt[i.pluginType]) == null ? void 0 : ye.scope.includes(Et.SERVICE)) ?? !0, Q = ((Tt = Qt[i.pluginType]) == null ? void 0 : Tt.scope.includes(Et.ROUTE)) ?? !0, K = ((Wi = Qt[i.pluginType]) == null ? void 0 : Wi.scope.includes(Et.CONSUMER)) ?? !0, Ce = i.config.disableConsumerGroupScope ? !1 : ((Xi = Qt[i.pluginType]) == null ? void 0 : Xi.scope.includes(Et.CONSUMER_GROUP)) ?? !0, ge = i.config.entityType === "consumers" && !!i.config.entityId || !!((Ji = (Zi = _.value) == null ? void 0 : Zi.consumer) != null && Ji.id), $e = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((eo = (Qi = _.value) == null ? void 0 : Qi.consumer_group) != null && eo.id), ke = i.config.entityType === "services" && !!i.config.entityId || !!((Be = (to = _.value) == null ? void 0 : to.service) != null && Be.id), ce = i.config.entityType === "routes" && !!i.config.entityId || !!((at = ($t = _.value) == null ? void 0 : $t.route) != null && at.id), Ne = [], je = (De, Ve, Xe) => De ? r("plugins.form.disable_source_scope_change", { scope: Xe }) : Ve ? r("plugins.form.disable_data_retrieving", { scope: Xe }) : "", be = (De) => {
24091
24065
  var Ve, Xe;
24092
- return ((Xe = (Ve = i.scopedEntitiesPermissions) == null ? void 0 : Ve[Re]) == null ? void 0 : Xe.canRetrieve) === !1;
24066
+ return ((Xe = (Ve = i.scopedEntitiesPermissions) == null ? void 0 : Ve[De]) == null ? void 0 : Xe.canRetrieve) === !1;
24093
24067
  };
24094
24068
  if (D) {
24095
- const Re = be("service"), Ve = "services", Xe = ke && i.disableScopeSelection;
24069
+ const De = be("service"), Ve = "services", Xe = ke && i.disableScopeSelection;
24096
24070
  Ne.push({
24097
24071
  id: "service-id",
24098
24072
  model: "service-id",
@@ -24105,13 +24079,13 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24105
24079
  fields: ["name", "id"]
24106
24080
  },
24107
24081
  help: r("plugins.form.scoping.gateway_service.help"),
24108
- disabled: Xe || Re,
24082
+ disabled: Xe || De,
24109
24083
  // disable service selection if the plugin is already scoped under service
24110
- disabledTooltip: je(Xe, Re, Ve)
24084
+ disabledTooltip: je(Xe, De, Ve)
24111
24085
  });
24112
24086
  }
24113
24087
  if (Q) {
24114
- const Re = be("route"), Ve = "routes", Xe = ce && i.disableScopeSelection;
24088
+ const De = be("route"), Ve = "routes", Xe = ce && i.disableScopeSelection;
24115
24089
  Ne.push({
24116
24090
  id: "route-id",
24117
24091
  model: "route-id",
@@ -24126,12 +24100,12 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24126
24100
  primaryField: "id"
24127
24101
  },
24128
24102
  help: r("plugins.form.scoping.route.help"),
24129
- disabled: Xe || Re,
24130
- disabledTooltip: je(Xe, Re, Ve)
24103
+ disabled: Xe || De,
24104
+ disabledTooltip: je(Xe, De, Ve)
24131
24105
  });
24132
24106
  }
24133
24107
  if (K) {
24134
- const Re = be("consumer"), Ve = "consumers", Xe = ge && i.disableScopeSelection;
24108
+ const De = be("consumer"), Ve = "consumers", Xe = ge && i.disableScopeSelection;
24135
24109
  Ne.push({
24136
24110
  model: "consumer-id",
24137
24111
  label: r("plugins.form.scoping.consumer.label"),
@@ -24144,12 +24118,12 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24144
24118
  primaryField: "username"
24145
24119
  },
24146
24120
  help: r("plugins.form.scoping.consumer.help"),
24147
- disabled: Xe || Re,
24148
- disabledTooltip: je(Xe, Re, Ve)
24121
+ disabled: Xe || De,
24122
+ disabledTooltip: je(Xe, De, Ve)
24149
24123
  });
24150
24124
  }
24151
24125
  if (Ce) {
24152
- const Re = be("consumer_group"), Ve = "consumer_groups", Xe = $e && i.disableScopeSelection;
24126
+ const De = be("consumer_group"), Ve = "consumer_groups", Xe = $e && i.disableScopeSelection;
24153
24127
  Ne.push({
24154
24128
  model: "consumer_group-id",
24155
24129
  label: r("plugins.form.scoping.consumer_group.label"),
@@ -24163,20 +24137,20 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24163
24137
  primaryField: "name"
24164
24138
  },
24165
24139
  help: r("plugins.form.scoping.consumer_group.help"),
24166
- disabled: Xe || Re,
24167
- disabledTooltip: je(Xe, Re, Ve)
24140
+ disabled: Xe || De,
24141
+ disabledTooltip: je(Xe, De, Ve)
24168
24142
  });
24169
24143
  }
24170
24144
  if (Ne.length) {
24171
- const Re = [
24145
+ const De = [
24172
24146
  ...D ? ["service"] : [],
24173
24147
  ...Q ? ["route"] : [],
24174
24148
  ...K ? ["consumer"] : [],
24175
24149
  ...Ce ? ["consumer_group"] : []
24176
- ], Xe = Re.splice(Re.length - 2, 2).map((Mt) => r(Mt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Mt}.plural`)).join(`${Re.length > 0 ? "," : ""} and/or `), pn = [
24150
+ ], Xe = De.splice(De.length - 2, 2).map((Mt) => r(Mt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Mt}.plural`)).join(`${De.length > 0 ? "," : ""} and/or `), pn = [
24177
24151
  "Specific",
24178
24152
  [
24179
- ...Re.length > 0 ? [Re.map(
24153
+ ...De.length > 0 ? [De.map(
24180
24154
  (Mt) => r(Mt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Mt}.plural`)
24181
24155
  ).join(", ")] : [],
24182
24156
  Xe
@@ -24189,7 +24163,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24189
24163
  }), V.selectionGroup.fields[1].fields = Ne;
24190
24164
  }
24191
24165
  a[i.pluginType] && a[i.pluginType].overwriteDefault && Object.hasOwnProperty.call(a[i.pluginType], "formSchema") && Object.assign(V, a[i.pluginType].formSchema);
24192
- }, q = M(() => !d(B.fields, O, !0)), z = M(() => !G.value && !N.value && (v.value === Bn.Create || q.value)), ne = oe(!1), se = oe(), ee = (D) => {
24166
+ }, q = M(() => !d(B.fields, O, !0)), z = M(() => !G.value && !N.value && (v.value === jn.Create || q.value)), ne = oe(!1), se = oe(), ee = (D) => {
24193
24167
  i.credential && D.password && (D.password = ""), B.fields.id = (D == null ? void 0 : D.id) || void 0, se.value = D == null ? void 0 : D.ordering, Object.assign(O, B.fields), _.value = D, ne.value = !0;
24194
24168
  }, fe = oe({}), me = (D) => {
24195
24169
  var Q;
@@ -24203,7 +24177,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24203
24177
  };
24204
24178
  Te([$, ne], (D, Q) => {
24205
24179
  const K = D[0] !== Q[0], Ce = D[1], ge = Q[1];
24206
- if (!b.value && v.value === Bn.Edit && (K || Ce && Ce !== ge)) {
24180
+ if (!b.value && v.value === jn.Edit && (K || Ce && Ce !== ge)) {
24207
24181
  const $e = J("config", C.value, V);
24208
24182
  R.value && ($e._isCustomPlugin = !0), x.value && ($e._supported_redis_partial_type = x.value), y.value = $e;
24209
24183
  }
@@ -24250,7 +24224,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24250
24224
  let K = `${i.config.apiBaseUrl}${Q}`;
24251
24225
  return i.config.app === "konnect" ? K = K.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (K = K.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), K = K.replace(/{plugin}/gi, D), K;
24252
24226
  }), A = oe(""), G = oe(!1), L = oe("");
24253
- return An(async () => {
24227
+ return xn(async () => {
24254
24228
  var D, Q, K, Ce;
24255
24229
  G.value = !0;
24256
24230
  try {
@@ -24272,7 +24246,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24272
24246
  protocols: ce.join(", ")
24273
24247
  }) : r("plugins.form.fields.protocols.placeholder"), (Ce = Ne.one_of) != null && Ce.length && (V.protocols.values = Ne.one_of.map((je) => ({ label: je, value: je })));
24274
24248
  }
24275
- if (ne.value || v.value === Bn.Create) {
24249
+ if (ne.value || v.value === jn.Create) {
24276
24250
  const ce = J("config", C.value, V);
24277
24251
  x.value && (ce._supported_redis_partial_type = x.value), R.value && (ce._isCustomPlugin = !0), y.value = ce;
24278
24252
  }
@@ -24330,7 +24304,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24330
24304
  onClick: Q[3] || (Q[3] = (ce) => re())
24331
24305
  }, {
24332
24306
  default: F(() => [
24333
- De(he(p(r)("actions.view_configuration")), 1)
24307
+ Le(he(p(r)("actions.view_configuration")), 1)
24334
24308
  ]),
24335
24309
  _: 1
24336
24310
  }, 8, ["data-testid"])),
@@ -24342,7 +24316,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24342
24316
  onClick: de
24343
24317
  }, {
24344
24318
  default: F(() => [
24345
- De(he(p(r)("actions.cancel")), 1)
24319
+ Le(he(p(r)("actions.cancel")), 1)
24346
24320
  ]),
24347
24321
  _: 1
24348
24322
  }, 8, ["data-testid", "disabled"]),
@@ -24354,7 +24328,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24354
24328
  onClick: S
24355
24329
  }, {
24356
24330
  default: F(() => [
24357
- De(he(p(r)("actions.save")), 1)
24331
+ Le(he(p(r)("actions.save")), 1)
24358
24332
  ]),
24359
24333
  _: 1
24360
24334
  }, 8, ["data-testid", "disabled"])
@@ -24371,7 +24345,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24371
24345
  P(SK, {
24372
24346
  config: e.config,
24373
24347
  credential: b.value,
24374
- editing: v.value === p(Bn).Edit,
24348
+ editing: v.value === p(jn).Edit,
24375
24349
  "enable-redis-partial": e.enableRedisPartial,
24376
24350
  "enable-vault-secret-picker": i.enableVaultSecretPicker,
24377
24351
  "entity-map": $.value,
@@ -24510,7 +24484,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24510
24484
  emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
24511
24485
  setup(e, { emit: t }) {
24512
24486
  var A, G;
24513
- const n = nt.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = nt.useI18n(), a = ea(), { axiosInstance: s } = jn((A = o.config) == null ? void 0 : A.axiosRequestConfig), { hasRecords: l, handleStateChange: u } = ch(() => _.value), c = M(() => l.value && o.config.app === "konnect"), d = M(() => !!o.config.entityId), f = M(() => {
24487
+ const n = nt.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = nt.useI18n(), a = ea(), { axiosInstance: s } = Kn((A = o.config) == null ? void 0 : A.axiosRequestConfig), { hasRecords: l, handleStateChange: u } = ch(() => _.value), c = M(() => l.value && o.config.app === "konnect"), d = M(() => !!o.config.entityId), f = M(() => {
24514
24488
  var L;
24515
24489
  return ((L = o.config) == null ? void 0 : L.entityType) === "consumers";
24516
24490
  }), m = M(() => {
@@ -24683,7 +24657,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24683
24657
  message: `${r("plugins.list.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
24684
24658
  title: r("plugins.title")
24685
24659
  }), I = oe(!1);
24686
- return An(async () => {
24660
+ return xn(async () => {
24687
24661
  I.value = await o.canCreate(), I.value && (S.value.title = r("plugins.list.empty_state.title"), S.value.ctaText = r("actions.create"));
24688
24662
  }), (L, ie) => {
24689
24663
  const D = we("KButton"), Q = we("KEmptyState"), K = we("KBadge"), Ce = we("KTruncate"), ge = we("KInputSwitch"), $e = we("KDropdownItem"), ke = we("KClipboardProvider");
@@ -24733,7 +24707,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24733
24707
  ]),
24734
24708
  _: 1
24735
24709
  })) : Ee("", !0),
24736
- P(p(Vn), {
24710
+ P(p(Bn), {
24737
24711
  "auth-function": () => e.canCreate()
24738
24712
  }, {
24739
24713
  default: F(() => [
@@ -24745,7 +24719,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24745
24719
  }, {
24746
24720
  default: F(() => [
24747
24721
  P(p(cn)),
24748
- De(" " + he(p(r)("plugins.list.toolbar_actions.new_plugin")), 1)
24722
+ Le(" " + he(p(r)("plugins.list.toolbar_actions.new_plugin")), 1)
24749
24723
  ]),
24750
24724
  _: 1
24751
24725
  }, 8, ["size", "to"])
@@ -24771,7 +24745,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24771
24745
  appliedTo: F(({ row: ce }) => [
24772
24746
  Y(ce).length > 0 ? (E(), H(Ce, { key: 0 }, {
24773
24747
  default: F(() => [
24774
- (E(!0), te(Ke, null, qe(Y(ce), (Ne) => (E(), H(p(Vn), {
24748
+ (E(!0), te(Re, null, qe(Y(ce), (Ne) => (E(), H(p(Bn), {
24775
24749
  key: Ne.badgeText,
24776
24750
  "auth-function": () => T(Ne.type, ce),
24777
24751
  "force-show": ""
@@ -24782,7 +24756,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24782
24756
  onClick: Ft((be) => je && Ne.type && re(Ne.type, ce), ["stop"])
24783
24757
  }, {
24784
24758
  default: F(() => [
24785
- De(he(Ne.badgeText), 1)
24759
+ Le(he(Ne.badgeText), 1)
24786
24760
  ]),
24787
24761
  _: 2
24788
24762
  }, 1032, ["class", "onClick"])
@@ -24794,7 +24768,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24794
24768
  }, 1024)) : (E(), te("span", KK, "-"))
24795
24769
  ]),
24796
24770
  enabled: F(({ row: ce }) => [
24797
- P(p(Vn), {
24771
+ P(p(Bn), {
24798
24772
  "auth-function": async () => !!(await e.canEdit(ce) && await e.canToggle(ce)),
24799
24773
  "force-show": ""
24800
24774
  }, {
@@ -24822,7 +24796,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24822
24796
  appearance: p(Wu)(ce) ? "info" : "warning"
24823
24797
  }, {
24824
24798
  default: F(() => [
24825
- De(he(p(Wu)(ce) ? p(r)("plugins.list.table_headers.ordering_badge.static") : p(r)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
24799
+ Le(he(p(Wu)(ce) ? p(r)("plugins.list.table_headers.ordering_badge.static") : p(r)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
24826
24800
  ]),
24827
24801
  _: 2
24828
24802
  }, 1032, ["appearance"])
@@ -24838,7 +24812,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24838
24812
  onClick: (je) => q(ce, Ne)
24839
24813
  }, {
24840
24814
  default: F(() => [
24841
- De(he(p(r)("actions.copy_id")), 1)
24815
+ Le(he(p(r)("actions.copy_id")), 1)
24842
24816
  ]),
24843
24817
  _: 2
24844
24818
  }, 1032, ["onClick"])
@@ -24852,14 +24826,14 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24852
24826
  onClick: (je) => z(ce, Ne)
24853
24827
  }, {
24854
24828
  default: F(() => [
24855
- De(he(p(r)("actions.copy_json")), 1)
24829
+ Le(he(p(r)("actions.copy_json")), 1)
24856
24830
  ]),
24857
24831
  _: 2
24858
24832
  }, 1032, ["onClick"])
24859
24833
  ]),
24860
24834
  _: 2
24861
24835
  }, 1024),
24862
- P(p(Vn), {
24836
+ P(p(Bn), {
24863
24837
  "auth-function": () => e.canRetrieve(ce)
24864
24838
  }, {
24865
24839
  default: F(() => [
@@ -24871,7 +24845,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24871
24845
  ]),
24872
24846
  _: 2
24873
24847
  }, 1032, ["auth-function"]),
24874
- P(p(Vn), {
24848
+ P(p(Bn), {
24875
24849
  "auth-function": () => e.canEdit(ce)
24876
24850
  }, {
24877
24851
  default: F(() => [
@@ -24882,7 +24856,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24882
24856
  ]),
24883
24857
  _: 2
24884
24858
  }, 1032, ["auth-function"]),
24885
- !f.value && !m.value && p(h) ? (E(), H(p(Vn), {
24859
+ !f.value && !m.value && p(h) ? (E(), H(p(Bn), {
24886
24860
  key: 0,
24887
24861
  "auth-function": () => e.canConfigureDynamicOrdering(ce)
24888
24862
  }, {
@@ -24895,7 +24869,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24895
24869
  ]),
24896
24870
  _: 2
24897
24871
  }, 1032, ["auth-function"])) : Ee("", !0),
24898
- P(p(Vn), {
24872
+ P(p(Bn), {
24899
24873
  "auth-function": () => e.canDelete(ce)
24900
24874
  }, {
24901
24875
  default: F(() => [
@@ -24906,7 +24880,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24906
24880
  onClick: (Ne) => X(ce)
24907
24881
  }, {
24908
24882
  default: F(() => [
24909
- De(he(p(r)("actions.delete")), 1)
24883
+ Le(he(p(r)("actions.delete")), 1)
24910
24884
  ]),
24911
24885
  _: 2
24912
24886
  }, 1032, ["onClick"])
@@ -24938,7 +24912,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24938
24912
  }, {
24939
24913
  default: F(() => [
24940
24914
  P(p(cn), { decorative: "" }),
24941
- De(" " + he(p(r)("plugins.list.empty_state_v2.create_cta")), 1)
24915
+ Le(" " + he(p(r)("plugins.list.empty_state_v2.create_cta")), 1)
24942
24916
  ]),
24943
24917
  _: 1
24944
24918
  })) : Ee("", !0),
@@ -24949,7 +24923,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24949
24923
  }, {
24950
24924
  default: F(() => [
24951
24925
  P(p(cu), { decorative: "" }),
24952
- De(" " + he(p(r)("plugins.list.empty_state_v2.learn_more")), 1)
24926
+ Le(" " + he(p(r)("plugins.list.empty_state_v2.learn_more")), 1)
24953
24927
  ]),
24954
24928
  _: 1
24955
24929
  })
@@ -24959,7 +24933,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
24959
24933
  (ce = e.config) != null && ce.isControlPlaneGroup ? {
24960
24934
  name: "default",
24961
24935
  fn: F(() => [
24962
- De(he(p(r)("plugins.list.empty_state_v2.group")), 1)
24936
+ Le(he(p(r)("plugins.list.empty_state_v2.group")), 1)
24963
24937
  ]),
24964
24938
  key: "0"
24965
24939
  } : void 0
@@ -25096,7 +25070,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25096
25070
  onClick: b[0] || (b[0] = Ft((N) => v(e.plugin.name, e.plugin.customPluginType), ["stop"]))
25097
25071
  }, {
25098
25072
  default: F(() => [
25099
- De(he(p(r)("actions.edit")), 1)
25073
+ Le(he(p(r)("actions.edit")), 1)
25100
25074
  ]),
25101
25075
  _: 1
25102
25076
  })) : Ee("", !0),
@@ -25108,7 +25082,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25108
25082
  onClick: Ft(h, ["stop"])
25109
25083
  }, {
25110
25084
  default: F(() => [
25111
- De(he(p(r)("actions.delete")), 1)
25085
+ Le(he(p(r)("actions.delete")), 1)
25112
25086
  ]),
25113
25087
  _: 1
25114
25088
  })) : Ee("", !0)
@@ -25166,7 +25140,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25166
25140
  emits: ["closed", "proceed"],
25167
25141
  setup(e, { emit: t }) {
25168
25142
  var h;
25169
- const n = e, i = t, { i18nT: o, i18n: { t: r } } = nt.useI18n(), { getMessageFromError: a } = Ui(), { axiosInstance: s } = jn((h = n.config) == null ? void 0 : h.axiosRequestConfig), l = M(() => {
25143
+ const n = e, i = t, { i18nT: o, i18n: { t: r } } = nt.useI18n(), { getMessageFromError: a } = Ui(), { axiosInstance: s } = Kn((h = n.config) == null ? void 0 : h.axiosRequestConfig), l = M(() => {
25170
25144
  var v;
25171
25145
  return d.value ? r("delete.plugin_schema_in_use_title") : r("delete.title", { name: ((v = n.plugin) == null ? void 0 : v.name) || r("delete.custom_plugin") });
25172
25146
  }), u = oe(!1), c = oe(""), d = oe(!1), f = M(() => {
@@ -25235,7 +25209,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25235
25209
  onClick: g[1] || (g[1] = (_) => v.$emit("closed"))
25236
25210
  }, {
25237
25211
  default: F(() => [
25238
- De(he(p(r)("actions.cancel")), 1)
25212
+ Le(he(p(r)("actions.cancel")), 1)
25239
25213
  ]),
25240
25214
  _: 1
25241
25215
  })
@@ -25347,7 +25321,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25347
25321
  class: "plugin-card-container",
25348
25322
  style: At(y.value)
25349
25323
  }, [
25350
- (E(!0), te(Ke, null, qe(u.value, (B, W) => (E(), H(Xg, {
25324
+ (E(!0), te(Re, null, qe(u.value, (B, W) => (E(), H(Xg, {
25351
25325
  key: `plugin-card-${W}`,
25352
25326
  ref_for: !0,
25353
25327
  ref_key: "pluginCardRef",
@@ -25367,7 +25341,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25367
25341
  b.value ? void 0 : {
25368
25342
  name: "trigger",
25369
25343
  fn: F(() => [
25370
- k[2] || (k[2] = De("   ", -1))
25344
+ k[2] || (k[2] = Le("   ", -1))
25371
25345
  ]),
25372
25346
  key: "0"
25373
25347
  }
@@ -25462,7 +25436,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25462
25436
  class: "plugin-card-container",
25463
25437
  style: At(d.value)
25464
25438
  }, [
25465
- (E(!0), te(Ke, null, qe(i.plugins, (b) => (E(), H(Xg, {
25439
+ (E(!0), te(Re, null, qe(i.plugins, (b) => (E(), H(Xg, {
25466
25440
  key: `plugin-card-${b.id}`,
25467
25441
  ref_for: !0,
25468
25442
  ref_key: "pluginCardRef",
@@ -25479,7 +25453,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25479
25453
  f.value ? void 0 : {
25480
25454
  name: "trigger",
25481
25455
  fn: F(() => [
25482
- g[1] || (g[1] = De("   ", -1))
25456
+ g[1] || (g[1] = Le("   ", -1))
25483
25457
  ]),
25484
25458
  key: "0"
25485
25459
  }
@@ -25568,7 +25542,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25568
25542
  plugins: n.highlightedPlugins,
25569
25543
  onPluginClicked: c[1] || (c[1] = (f) => s(f))
25570
25544
  }, null, 8, ["modelValue", "config", "name", "navigate-on-click", "plugins"])) : Ee("", !0),
25571
- (E(!0), te(Ke, null, qe(p(cv), (f) => (E(), te(Ke, null, [
25545
+ (E(!0), te(Re, null, qe(p(cv), (f) => (E(), te(Re, null, [
25572
25546
  l.value[f] ? (E(), te("div", { key: f }, [
25573
25547
  P(qd, {
25574
25548
  modelValue: a.value[f],
@@ -25672,7 +25646,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25672
25646
  emits: ["loading", "plugin-clicked", "delete-custom:success"],
25673
25647
  setup(e, { emit: t }) {
25674
25648
  var Z;
25675
- const n = e, i = t, o = wh(), r = ea(), { i18n: { t: a } } = nt.useI18n(), { pluginMetaData: s } = nt.usePluginMetaData(), { getMessageFromError: l } = Ui(), { sortAlpha: u, objectsAreEqual: c } = Qr(), d = oe(""), f = oe(!0), m = oe(!1), h = oe(""), v = oe([]), g = oe([]), y = oe({}), b = oe([]), { axiosInstance: _ } = jn((Z = n.config) == null ? void 0 : Z.axiosRequestConfig), C = M(() => y.value ? Object.entries(y.value).filter(([q]) => q !== He.CUSTOM_PLUGINS).reduce((q, [, z]) => {
25649
+ const n = e, i = t, o = wh(), r = ea(), { i18n: { t: a } } = nt.useI18n(), { pluginMetaData: s } = nt.usePluginMetaData(), { getMessageFromError: l } = Ui(), { sortAlpha: u, objectsAreEqual: c } = Qr(), d = oe(""), f = oe(!0), m = oe(!1), h = oe(""), v = oe([]), g = oe([]), y = oe({}), b = oe([]), { axiosInstance: _ } = Kn((Z = n.config) == null ? void 0 : Z.axiosRequestConfig), C = M(() => y.value ? Object.entries(y.value).filter(([q]) => q !== He.CUSTOM_PLUGINS).reduce((q, [, z]) => {
25676
25650
  for (const ne of z)
25677
25651
  q[ne.id] = ne;
25678
25652
  return q;
@@ -25749,7 +25723,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
25749
25723
  i("loading", q);
25750
25724
  });
25751
25725
  const j = oe(!1), le = oe(!1), J = oe(!1);
25752
- return An(async () => {
25726
+ return xn(async () => {
25753
25727
  j.value = await n.canCreateCustomPlugin(), le.value = await n.canEditCustomPlugin(), J.value = await n.canDeleteCustomPlugin();
25754
25728
  }), It(async () => {
25755
25729
  try {
@@ -26005,14 +25979,14 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
26005
25979
  }), a(_, O, B);
26006
25980
  }
26007
25981
  return _;
26008
- }), { getMessageFromError: f } = Ui(), { axiosInstance: m } = jn((b = i.config) == null ? void 0 : b.axiosRequestConfig), h = M(() => {
25982
+ }), { getMessageFromError: f } = Ui(), { axiosInstance: m } = Kn((b = i.config) == null ? void 0 : b.axiosRequestConfig), h = M(() => {
26009
25983
  var C, x;
26010
25984
  let _ = `${i.config.apiBaseUrl}${lt.form[i.config.app].pluginSchema}`;
26011
25985
  return i.config.app === "konnect" ? _ = _.replace(/{controlPlaneId}/gi, ((C = i.config) == null ? void 0 : C.controlPlaneId) || "") : i.config.app === "kongManager" && (_ = _.replace(/\/{workspace}/gi, (x = i.config) != null && x.workspace ? `/${i.config.workspace}` : "")), _ = _.replace(/{plugin}/gi, i.config.pluginType), _;
26012
25986
  }), v = oe({});
26013
25987
  _h(v);
26014
25988
  const g = oe(!1), y = oe("");
26015
- return An(async () => {
25989
+ return xn(async () => {
26016
25990
  g.value = !0;
26017
25991
  try {
26018
25992
  const { data: _ } = await m.get(h.value);