@kong-ui-public/entities-plugins 9.167.0 → 9.167.1-pr.2982.74eb916c2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var op = Object.defineProperty;
|
|
2
2
|
var rp = (e, t, n) => t in e ? op(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var bt = (e, t, n) => rp(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as de, useModel as Mi, inject as _t, ref as ee, computed as S, onMounted as Pn, resolveComponent as oe, openBlock as w, createBlock as j, toRef as st, createElementBlock as V, createVNode as C, isRef as qr, unref as l, markRaw as sp, provide as qt, withCtx as A, createElementVNode as K, Fragment as Me, renderList as Xe, toDisplayString as J, createCommentVNode as le, toValue as it, readonly as qu, watch as ze, onBeforeUnmount as Vu, reactive as Fi, useSlots as on, toRaw as vo, onUnmounted as Vr, useAttrs as Wn, mergeProps as Ye, createSlots as ot, renderSlot as Qe, normalizeProps as
|
|
4
|
+
import { defineComponent as de, useModel as Mi, inject as _t, ref as ee, computed as S, onMounted as Pn, resolveComponent as oe, openBlock as w, createBlock as j, toRef as st, createElementBlock as V, createVNode as C, isRef as qr, unref as l, markRaw as sp, provide as qt, withCtx as A, createElementVNode as K, Fragment as Me, renderList as Xe, toDisplayString as J, createCommentVNode as le, toValue as it, readonly as qu, watch as ze, onBeforeUnmount as Vu, reactive as Fi, useSlots as on, toRaw as vo, onUnmounted as Vr, useAttrs as Wn, mergeProps as Ye, createSlots as ot, renderSlot as Qe, normalizeProps as On, guardReactiveProps as pi, createPropsRestProxy as cn, withDirectives as Mt, resolveDynamicComponent as Ct, vShow as Lt, Transition as lp, useId as xa, onBeforeMount as mi, withModifiers as ht, normalizeClass as at, createTextVNode as we, mergeModels as ua, useTemplateRef as ut, withKeys as Ds, nextTick as Wt, useCssVars as Aa, shallowRef as Qt, watchEffect as Uu, warn as up, onScopeDispose as cp, normalizeStyle as ii, Teleport as yo } from "vue";
|
|
5
5
|
import { useStringHelpers as _o, ConfigurationSchemaType as Rt, useAxios as Nn, useErrors as gi, EntityFormBlock as Na, useHelpers as Ia, FEATURE_FLAGS as dp, EntityBaseFormType as Yn, EntityBaseForm as fp, SupportedEntityType as Ba, DeckCodeBlock as pp, TerraformCodeBlock as mp, YamlCodeBlock as gp, JsonCodeBlock as hp, useTableState as vp, useGatewayFeatureSupported as yp, useFetcher as _p, useDeleteUrlBuilder as bp, FetcherStatus as wp, EntityBaseTable as kp, PermissionsWrapper as Jn, TableTags as Cp, EntityFilter as Ep, EntityToggleModal as xp, EntityDeleteModal as Bu, EntityTypes as Gu, ConfigCardItem as Ap, ConfigurationSchemaSection as Ei, useSchemaProvider as Ip, EntityBaseConfigCard as Sp, InternalLinkItem as Ji } from "@kong-ui-public/entities-shared";
|
|
6
6
|
import { marked as Ga } from "marked";
|
|
7
7
|
import { onBeforeRouteLeave as Tp, useRouter as Sa, useRoute as Op } from "vue-router";
|
|
8
8
|
import { createI18n as Tt, i18nTComponent as $p } from "@kong-ui-public/i18n";
|
|
9
9
|
import { PluginGroup as He, PLUGIN_GROUP_AND_SCOPE_MAP as se, PluginScope as pt, GATEWAY_VERSION_TIMESTAMP_MAP as Pp } from "@kong-ui-public/entities-plugins-metadata";
|
|
10
10
|
import { PluginGroup as $M, PluginScope as PM } from "@kong-ui-public/entities-plugins-metadata";
|
|
11
|
-
import { FORMS_CONFIG as Ui, composables as Np, getSharedFormName as zu, customFields as lr, AUTOFILL_SLOT as Fn, VueFormGenerator as Hu, AUTOFILL_SLOT_NAME as
|
|
11
|
+
import { FORMS_CONFIG as Ui, composables as Np, getSharedFormName as zu, customFields as lr, AUTOFILL_SLOT as Fn, VueFormGenerator as Hu, AUTOFILL_SLOT_NAME as Sn, FORMS_API_KEY as Fp, sharedForms as qs } from "@kong-ui-public/forms";
|
|
12
12
|
import { VaultSecretPicker as Wu, VaultSecretPickerProvider as qo } from "@kong-ui-public/entities-vaults";
|
|
13
13
|
import "@kong-ui-public/entities-vaults/dist/style.css";
|
|
14
14
|
import { createInjectionState as Ur, useManualRefHistory as Rp, createGlobalState as Mp, useLocalStorage as za, useEventListener as ca, createSharedComposable as Lp, useElementBounding as Zn, useDraggable as jp, useScrollLock as Kp } from "@vueuse/core";
|
|
15
15
|
import { ChevronRightIcon as Dp, CloseIcon as bo, AddIcon as tn, TrashIcon as Yu, InfoIcon as qp, RemoveIcon as Br, SparklesIcon as Vp, KeyIcon as Ju, CloudIcon as Fa, CodeIcon as Up, DataObjectIcon as Bp, CachedIcon as Gp, ArrowSplitIcon as Xu, DeployIcon as Zu, StackIcon as zp, GatewayIcon as Hp, CodeblockIcon as Gr, NetworkIcon as Wp, WarningIcon as Yp, MoreIcon as Bi, UnfoldMoreIcon as Vs, UnfoldLessIcon as Us, FullscreenIcon as Jp, AutoLayoutIcon as Xp, ChevronDownIcon as Bs, ArrowLeftIcon as Zp, ChevronDoubleLeftIcon as Qp, ChevronDoubleRightIcon as em, UndoIcon as tm, RedoIcon as nm, ExternalLinkIcon as im, DatabaseIcon as am, ExpandIcon as om, DesignIcon as rm, BookIcon as Gs, PlugIcon as sm, TransformationIcon as lm, TrafficIcon as um, RuntimeServerlessIcon as cm, SecurityIcon as dm, ServiceDocumentIcon as fm, LockIcon as pm, AnalyticsIcon as mm, BotIcon as gm, PopularIcon as hm, GridIcon as vm, ListIcon as ym } from "@kong/icons";
|
|
16
|
-
import { KTextArea as _m, KInput as bm, KCheckbox as wm, KLabel as ai, KMultiselect as km, KSelect as Cm, KCard as zs, KTooltip as sn, KRadio as ur, KCollapse as Em, KAlert as xm, KButton as
|
|
16
|
+
import { KTextArea as _m, KInput as bm, KCheckbox as wm, KLabel as ai, KMultiselect as km, KSelect as Cm, KCard as zs, KTooltip as sn, KRadio as ur, KCollapse as Em, KAlert as xm, KButton as An, KModal as Am, KDropdown as Qu, KDropdownItem as Ha, KSlideout as Im, KSegmentedControl as Sm } from "@kong/kongponents";
|
|
17
17
|
import { RedisConfigurationSelector as ec } from "@kong-ui-public/entities-redis-configurations";
|
|
18
18
|
import "@kong-ui-public/entities-redis-configurations/dist/style.css";
|
|
19
19
|
import * as Wa from "monaco-editor";
|
|
@@ -3468,7 +3468,7 @@ const Qn = (e) => {
|
|
|
3468
3468
|
keyFromObject: "id"
|
|
3469
3469
|
}
|
|
3470
3470
|
};
|
|
3471
|
-
var lc = typeof global == "object" && global && global.Object === Object && global, Vg = typeof self == "object" && self && self.Object === Object && self,
|
|
3471
|
+
var lc = typeof global == "object" && global && global.Object === Object && global, Vg = typeof self == "object" && self && self.Object === Object && self, _n = lc || Vg || Function("return this")(), nn = _n.Symbol, uc = Object.prototype, Ug = uc.hasOwnProperty, Bg = uc.toString, Xi = nn ? nn.toStringTag : void 0;
|
|
3472
3472
|
function Gg(e) {
|
|
3473
3473
|
var t = Ug.call(e, Xi), n = e[Xi];
|
|
3474
3474
|
try {
|
|
@@ -3524,7 +3524,7 @@ function Ja(e) {
|
|
|
3524
3524
|
var t = vi(e);
|
|
3525
3525
|
return t == Qg || t == eh || t == Zg || t == th;
|
|
3526
3526
|
}
|
|
3527
|
-
var Vo =
|
|
3527
|
+
var Vo = _n["__core-js_shared__"], al = (function() {
|
|
3528
3528
|
var e = /[^.]+$/.exec(Vo && Vo.keys && Vo.keys.IE_PROTO || "");
|
|
3529
3529
|
return e ? "Symbol(src)_1." + e : "";
|
|
3530
3530
|
})();
|
|
@@ -3561,7 +3561,7 @@ function _i(e, t) {
|
|
|
3561
3561
|
var n = ph(e, t);
|
|
3562
3562
|
return fh(n) ? n : void 0;
|
|
3563
3563
|
}
|
|
3564
|
-
var pr = _i(
|
|
3564
|
+
var pr = _i(_n, "WeakMap"), ol = Object.create, mh = /* @__PURE__ */ (function() {
|
|
3565
3565
|
function e() {
|
|
3566
3566
|
}
|
|
3567
3567
|
return function(t) {
|
|
@@ -3725,7 +3725,7 @@ var gc = Object.prototype, jh = gc.hasOwnProperty, Kh = gc.propertyIsEnumerable,
|
|
|
3725
3725
|
function Dh() {
|
|
3726
3726
|
return !1;
|
|
3727
3727
|
}
|
|
3728
|
-
var hc = typeof exports == "object" && exports && !exports.nodeType && exports, ll = hc && typeof module == "object" && module && !module.nodeType && module, qh = ll && ll.exports === hc, ul = qh ?
|
|
3728
|
+
var hc = typeof exports == "object" && exports && !exports.nodeType && exports, ll = hc && typeof module == "object" && module && !module.nodeType && module, qh = ll && ll.exports === hc, ul = qh ? _n.Buffer : void 0, Vh = ul ? ul.isBuffer : void 0, fa = Vh || Dh, Uh = "[object Arguments]", Bh = "[object Array]", Gh = "[object Boolean]", zh = "[object Date]", Hh = "[object Error]", Wh = "[object Function]", Yh = "[object Map]", Jh = "[object Number]", Xh = "[object Object]", Zh = "[object RegExp]", Qh = "[object Set]", ev = "[object String]", tv = "[object WeakMap]", nv = "[object ArrayBuffer]", iv = "[object DataView]", av = "[object Float32Array]", ov = "[object Float64Array]", rv = "[object Int8Array]", sv = "[object Int16Array]", lv = "[object Int32Array]", uv = "[object Uint8Array]", cv = "[object Uint8ClampedArray]", dv = "[object Uint16Array]", fv = "[object Uint32Array]", dt = {};
|
|
3729
3729
|
dt[av] = dt[ov] = dt[rv] = dt[sv] = dt[lv] = dt[uv] = dt[cv] = dt[dv] = dt[fv] = !0;
|
|
3730
3730
|
dt[Uh] = dt[Bh] = dt[nv] = dt[Gh] = dt[iv] = dt[zh] = dt[Hh] = dt[Wh] = dt[Yh] = dt[Jh] = dt[Xh] = dt[Zh] = dt[Qh] = dt[ev] = dt[tv] = !1;
|
|
3731
3731
|
function pv(e) {
|
|
@@ -3875,7 +3875,7 @@ Rn.prototype.delete = qv;
|
|
|
3875
3875
|
Rn.prototype.get = Vv;
|
|
3876
3876
|
Rn.prototype.has = Uv;
|
|
3877
3877
|
Rn.prototype.set = Bv;
|
|
3878
|
-
var ma = _i(
|
|
3878
|
+
var ma = _i(_n, "Map");
|
|
3879
3879
|
function Gv() {
|
|
3880
3880
|
this.size = 0, this.__data__ = {
|
|
3881
3881
|
hash: new ri(),
|
|
@@ -4062,22 +4062,22 @@ function By(e, t) {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
return n.set(e, t), this.size = n.size, this;
|
|
4064
4064
|
}
|
|
4065
|
-
function
|
|
4065
|
+
function Tn(e) {
|
|
4066
4066
|
var t = this.__data__ = new Rn(e);
|
|
4067
4067
|
this.size = t.size;
|
|
4068
4068
|
}
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4069
|
+
Tn.prototype.clear = Ky;
|
|
4070
|
+
Tn.prototype.delete = Dy;
|
|
4071
|
+
Tn.prototype.get = qy;
|
|
4072
|
+
Tn.prototype.has = Vy;
|
|
4073
|
+
Tn.prototype.set = By;
|
|
4074
4074
|
function Gy(e, t) {
|
|
4075
4075
|
return e && Oa(t, es(t), e);
|
|
4076
4076
|
}
|
|
4077
4077
|
function zy(e, t) {
|
|
4078
4078
|
return e && Oa(t, ts(t), e);
|
|
4079
4079
|
}
|
|
4080
|
-
var $c = typeof exports == "object" && exports && !exports.nodeType && exports, fl = $c && typeof module == "object" && module && !module.nodeType && module, Hy = fl && fl.exports === $c, pl = Hy ?
|
|
4080
|
+
var $c = typeof exports == "object" && exports && !exports.nodeType && exports, fl = $c && typeof module == "object" && module && !module.nodeType && module, Hy = fl && fl.exports === $c, pl = Hy ? _n.Buffer : void 0, ml = pl ? pl.allocUnsafe : void 0;
|
|
4081
4081
|
function Wy(e, t) {
|
|
4082
4082
|
if (t)
|
|
4083
4083
|
return e.slice();
|
|
@@ -4120,7 +4120,7 @@ function hr(e) {
|
|
|
4120
4120
|
function Rc(e) {
|
|
4121
4121
|
return Fc(e, ts, Nc);
|
|
4122
4122
|
}
|
|
4123
|
-
var vr = _i(
|
|
4123
|
+
var vr = _i(_n, "DataView"), yr = _i(_n, "Promise"), _r = _i(_n, "Set"), hl = "[object Map]", t_ = "[object Object]", vl = "[object Promise]", yl = "[object Set]", _l = "[object WeakMap]", bl = "[object DataView]", n_ = yi(vr), i_ = yi(ma), a_ = yi(yr), o_ = yi(_r), r_ = yi(pr), Zt = vi;
|
|
4124
4124
|
(vr && Zt(new vr(new ArrayBuffer(1))) != bl || ma && Zt(new ma()) != hl || yr && Zt(yr.resolve()) != vl || _r && Zt(new _r()) != yl || pr && Zt(new pr()) != _l) && (Zt = function(e) {
|
|
4125
4125
|
var t = vi(e), n = t == t_ ? e.constructor : void 0, i = n ? yi(n) : "";
|
|
4126
4126
|
if (i)
|
|
@@ -4143,7 +4143,7 @@ function u_(e) {
|
|
|
4143
4143
|
var t = e.length, n = new e.constructor(t);
|
|
4144
4144
|
return t && typeof e[0] == "string" && l_.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
4145
4145
|
}
|
|
4146
|
-
var Za =
|
|
4146
|
+
var Za = _n.Uint8Array;
|
|
4147
4147
|
function ss(e) {
|
|
4148
4148
|
var t = new e.constructor(e.byteLength);
|
|
4149
4149
|
return new Za(t).set(new Za(e)), t;
|
|
@@ -4236,7 +4236,7 @@ function aa(e, t, n, i, a, o) {
|
|
|
4236
4236
|
r = F_(e, c, s);
|
|
4237
4237
|
}
|
|
4238
4238
|
}
|
|
4239
|
-
o || (o = new
|
|
4239
|
+
o || (o = new Tn());
|
|
4240
4240
|
var m = o.get(e);
|
|
4241
4241
|
if (m)
|
|
4242
4242
|
return m;
|
|
@@ -4402,15 +4402,15 @@ function Bb(e, t, n, i, a, o) {
|
|
|
4402
4402
|
r = !0, p = !1;
|
|
4403
4403
|
}
|
|
4404
4404
|
if (f && !p)
|
|
4405
|
-
return o || (o = new
|
|
4405
|
+
return o || (o = new Tn()), r || Qr(e) ? Kc(e, t, n, i, a, o) : Lb(e, t, u, n, i, a, o);
|
|
4406
4406
|
if (!(n & Vb)) {
|
|
4407
4407
|
var m = p && Sl.call(e, "__wrapped__"), g = c && Sl.call(t, "__wrapped__");
|
|
4408
4408
|
if (m || g) {
|
|
4409
4409
|
var y = m ? e.value() : e, h = g ? t.value() : t;
|
|
4410
|
-
return o || (o = new
|
|
4410
|
+
return o || (o = new Tn()), a(y, h, n, i, o);
|
|
4411
4411
|
}
|
|
4412
4412
|
}
|
|
4413
|
-
return f ? (o || (o = new
|
|
4413
|
+
return f ? (o || (o = new Tn()), qb(e, t, n, i, a, o)) : !1;
|
|
4414
4414
|
}
|
|
4415
4415
|
function Dc(e, t, n, i, a) {
|
|
4416
4416
|
return e === t ? !0 : e == null || t == null || !vn(e) && !vn(t) ? e !== e && t !== t : Bb(e, t, n, i, Dc, a);
|
|
@@ -4503,7 +4503,7 @@ function Tl(e) {
|
|
|
4503
4503
|
return !1;
|
|
4504
4504
|
return !0;
|
|
4505
4505
|
}
|
|
4506
|
-
function
|
|
4506
|
+
function yn(e, t) {
|
|
4507
4507
|
return Dc(e, t);
|
|
4508
4508
|
}
|
|
4509
4509
|
var dw = Object.prototype, fw = dw.hasOwnProperty;
|
|
@@ -4599,7 +4599,7 @@ const bw = { authentication: { mode: "none" }, ssl_verify: !0 }, ww = { authenti
|
|
|
4599
4599
|
kw
|
|
4600
4600
|
], li = (e) => {
|
|
4601
4601
|
var t, n, i, a, o, r;
|
|
4602
|
-
((n = (t = e.confluent) == null ? void 0 : t.authentication) == null ? void 0 : n.mode) === "none" && (delete e.confluent.authentication.oauth2, delete e.confluent.authentication.oauth2_client, delete e.confluent.authentication.basic), ((a = (i = e.confluent) == null ? void 0 : i.authentication) == null ? void 0 : a.mode) === "basic" && (delete e.confluent.authentication.oauth2, delete e.confluent.authentication.oauth2_client), ((r = (o = e.confluent) == null ? void 0 : o.authentication) == null ? void 0 : r.mode) === "oauth2" && delete e.confluent.authentication.basic, Cw.some((s) =>
|
|
4602
|
+
((n = (t = e.confluent) == null ? void 0 : t.authentication) == null ? void 0 : n.mode) === "none" && (delete e.confluent.authentication.oauth2, delete e.confluent.authentication.oauth2_client, delete e.confluent.authentication.basic), ((a = (i = e.confluent) == null ? void 0 : i.authentication) == null ? void 0 : a.mode) === "basic" && (delete e.confluent.authentication.oauth2, delete e.confluent.authentication.oauth2_client), ((r = (o = e.confluent) == null ? void 0 : o.authentication) == null ? void 0 : r.mode) === "oauth2" && delete e.confluent.authentication.basic, Cw.some((s) => yn(e.confluent, s)) && (e.confluent = null);
|
|
4603
4603
|
};
|
|
4604
4604
|
function Ew(e, t) {
|
|
4605
4605
|
const n = e.split(""), i = t.split(""), a = n.length, o = i.length, r = Array.from({ length: a + 1 }, () => Array(o + 1).fill(0));
|
|
@@ -4789,7 +4789,7 @@ const Lw = {
|
|
|
4789
4789
|
return e;
|
|
4790
4790
|
const t = e.payload.config.token_exchange.subject_token_issuers;
|
|
4791
4791
|
return t && t.forEach((i) => {
|
|
4792
|
-
|
|
4792
|
+
yn(i.conditions, {}) && delete i.conditions, i.conditions && Object.values(i.conditions).every((a) => Array.isArray(a) && a.length === 0) && delete i.conditions;
|
|
4793
4793
|
}), e;
|
|
4794
4794
|
}
|
|
4795
4795
|
}, jw = {
|
|
@@ -4797,11 +4797,11 @@ const Lw = {
|
|
|
4797
4797
|
var t, n, i, a, o;
|
|
4798
4798
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
4799
4799
|
return e;
|
|
4800
|
-
if (
|
|
4800
|
+
if (yn((a = (i = e.payload.config) == null ? void 0 : i.access_logs) == null ? void 0 : a.custom_attributes_by_lua, {})) {
|
|
4801
4801
|
const r = (o = e.payload.config) == null ? void 0 : o.access_logs;
|
|
4802
|
-
r &&
|
|
4802
|
+
r && (r.custom_attributes_by_lua = null);
|
|
4803
4803
|
}
|
|
4804
|
-
return e;
|
|
4804
|
+
return yn(e.payload.config.access_logs, { custom_attributes_by_lua: null }) && (e.payload.config.access_logs = null), e;
|
|
4805
4805
|
}
|
|
4806
4806
|
}, Kw = (e, t) => {
|
|
4807
4807
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
@@ -5699,7 +5699,7 @@ ${I}`
|
|
|
5699
5699
|
!_ || !E || Object.entries(_).forEach(([P, [D, N]]) => {
|
|
5700
5700
|
if (I != null && I.includes(P)) return;
|
|
5701
5701
|
const $ = To(E, D), F = b ? zw(gt(b, P)) : P;
|
|
5702
|
-
if (
|
|
5702
|
+
if (yn($, N)) {
|
|
5703
5703
|
n.value.delete(F), e();
|
|
5704
5704
|
return;
|
|
5705
5705
|
}
|
|
@@ -5999,7 +5999,7 @@ const ui = /* @__PURE__ */ de({
|
|
|
5999
5999
|
Xe(on(), (m, g) => ({
|
|
6000
6000
|
name: g,
|
|
6001
6001
|
fn: A((y) => [
|
|
6002
|
-
Qe(c.$slots, g,
|
|
6002
|
+
Qe(c.$slots, g, On(pi(y)))
|
|
6003
6003
|
])
|
|
6004
6004
|
}))
|
|
6005
6005
|
]), 1040, ["character-limit", "model-value", "resizable"]));
|
|
@@ -6046,7 +6046,7 @@ const ui = /* @__PURE__ */ de({
|
|
|
6046
6046
|
key: 0,
|
|
6047
6047
|
appearance: "danger",
|
|
6048
6048
|
message: u.error.message
|
|
6049
|
-
}, null, 8, ["message"])) : Mt((w(), V("div",
|
|
6049
|
+
}, null, 8, ["message"])) : Mt((w(), V("div", On(Ye({ key: 1 }, k.$attrs)), [
|
|
6050
6050
|
C(ui, Ye({
|
|
6051
6051
|
...l(d),
|
|
6052
6052
|
showPasswordMaskToggle: f.value,
|
|
@@ -6640,7 +6640,7 @@ const ui = /* @__PURE__ */ de({
|
|
|
6640
6640
|
m.$slots["item-label"] ? {
|
|
6641
6641
|
name: "item-template",
|
|
6642
6642
|
fn: A(({ item: v }) => [
|
|
6643
|
-
Qe(m.$slots, "item-label",
|
|
6643
|
+
Qe(m.$slots, "item-label", On(pi(v)), void 0, !0)
|
|
6644
6644
|
]),
|
|
6645
6645
|
key: "1"
|
|
6646
6646
|
} : void 0
|
|
@@ -6695,7 +6695,7 @@ function Po(e, t, n = !0) {
|
|
|
6695
6695
|
const k = v.length ? Object.fromEntries(v.map(({ key: x, value: E }) => [x, E]).filter(([x]) => x)) : a == null ? void 0 : a.value;
|
|
6696
6696
|
k === null && i.value !== null && typeof i.value == "object" && Object.keys(i.value).length === 0 || (i.value = k, y = k, t("change", k));
|
|
6697
6697
|
}, { deep: !0, immediate: !0 }), ze(() => i == null ? void 0 : i.value, (v) => {
|
|
6698
|
-
|
|
6698
|
+
yn(v, y) || h(v);
|
|
6699
6699
|
}, { deep: !0 });
|
|
6700
6700
|
function h(v) {
|
|
6701
6701
|
if (!v) {
|
|
@@ -7014,7 +7014,7 @@ const Hk = ["data-testid"], Wk = ["data-testid"], Yk = ["innerHTML"], Jk = ["dat
|
|
|
7014
7014
|
if (m && typeof m == "object") {
|
|
7015
7015
|
try {
|
|
7016
7016
|
const g = JSON.parse(d.value);
|
|
7017
|
-
|
|
7017
|
+
yn(g, m) || (d.value = JSON.stringify(m, null, 2));
|
|
7018
7018
|
} catch {
|
|
7019
7019
|
d.value = JSON.stringify(m, null, 2);
|
|
7020
7020
|
}
|
|
@@ -9575,7 +9575,7 @@ const eE = {
|
|
|
9575
9575
|
default: A(() => {
|
|
9576
9576
|
var G;
|
|
9577
9577
|
return [
|
|
9578
|
-
(w(), j(Ct((G = c.value) != null && G.disabled ? l(sn) : "div"),
|
|
9578
|
+
(w(), j(Ct((G = c.value) != null && G.disabled ? l(sn) : "div"), On(pi(u.value)), {
|
|
9579
9579
|
default: A(() => {
|
|
9580
9580
|
var H, q;
|
|
9581
9581
|
return [
|
|
@@ -9756,7 +9756,7 @@ const eE = {
|
|
|
9756
9756
|
},
|
|
9757
9757
|
setup(e) {
|
|
9758
9758
|
const t = e, n = on();
|
|
9759
|
-
qt(Fn, n == null ? void 0 : n[
|
|
9759
|
+
qt(Fn, n == null ? void 0 : n[Sn]);
|
|
9760
9760
|
const { i18n: { t: i } } = Je();
|
|
9761
9761
|
function a(d, p = !1) {
|
|
9762
9762
|
return d.reduce((c, { [ra]: f, name: m }) => (p ? c[m] = f : c[f] = m, c), {});
|
|
@@ -9861,7 +9861,7 @@ const eE = {
|
|
|
9861
9861
|
appearance: "danger",
|
|
9862
9862
|
message: l(o).error.message
|
|
9863
9863
|
}, null, 8, ["message"])) : Mt((w(), V("div", fE, [
|
|
9864
|
-
C(f,
|
|
9864
|
+
C(f, On(pi(l(r).labelAttributes)), ot({
|
|
9865
9865
|
default: A(() => [
|
|
9866
9866
|
we(J(l(r).label) + " ", 1)
|
|
9867
9867
|
]),
|
|
@@ -10249,7 +10249,7 @@ const eE = {
|
|
|
10249
10249
|
},
|
|
10250
10250
|
setup(e) {
|
|
10251
10251
|
const t = e, n = on();
|
|
10252
|
-
qt(Fn, n == null ? void 0 : n[
|
|
10252
|
+
qt(Fn, n == null ? void 0 : n[Sn]);
|
|
10253
10253
|
function i(a, o) {
|
|
10254
10254
|
var r;
|
|
10255
10255
|
((r = a.config) == null ? void 0 : r.namespace) === null && delete a.config.namespace, t.onFormChange(a, o);
|
|
@@ -10563,7 +10563,7 @@ const DE = {
|
|
|
10563
10563
|
schema: Vn,
|
|
10564
10564
|
json: !0
|
|
10565
10565
|
});
|
|
10566
|
-
if (typeof I == "object" && I !== null &&
|
|
10566
|
+
if (typeof I == "object" && I !== null && yn(I.config, P)) return;
|
|
10567
10567
|
const D = Gn({
|
|
10568
10568
|
...a,
|
|
10569
10569
|
config: { ...P }
|
|
@@ -10588,7 +10588,7 @@ const DE = {
|
|
|
10588
10588
|
default: A(() => [
|
|
10589
10589
|
K("div", GE, [
|
|
10590
10590
|
we(J(l(i)("plugins.free-form.datakit.description_example")) + " ", 1),
|
|
10591
|
-
(w(!0), V(Me, null, Xe(l(ro), (I, P) => (w(), j(l(
|
|
10591
|
+
(w(!0), V(Me, null, Xe(l(ro), (I, P) => (w(), j(l(An), {
|
|
10592
10592
|
key: P,
|
|
10593
10593
|
appearance: "secondary",
|
|
10594
10594
|
size: "small",
|
|
@@ -10738,7 +10738,7 @@ const DE = {
|
|
|
10738
10738
|
function Ut(e) {
|
|
10739
10739
|
return Cs(`plugins.free-form.datakit.flow_editor.node_types.${e}.description`);
|
|
10740
10740
|
}
|
|
10741
|
-
function
|
|
10741
|
+
function Cn(e) {
|
|
10742
10742
|
return Cs(`plugins.free-form.datakit.flow_editor.node_types.${e}.summary`);
|
|
10743
10743
|
}
|
|
10744
10744
|
function WE(e) {
|
|
@@ -10747,7 +10747,7 @@ function WE(e) {
|
|
|
10747
10747
|
const Es = {
|
|
10748
10748
|
call: {
|
|
10749
10749
|
type: "call",
|
|
10750
|
-
summary:
|
|
10750
|
+
summary: Cn("call"),
|
|
10751
10751
|
description: Ut("call"),
|
|
10752
10752
|
io: {
|
|
10753
10753
|
input: {
|
|
@@ -10769,7 +10769,7 @@ const Es = {
|
|
|
10769
10769
|
},
|
|
10770
10770
|
jq: {
|
|
10771
10771
|
type: "jq",
|
|
10772
|
-
summary:
|
|
10772
|
+
summary: Cn("jq"),
|
|
10773
10773
|
description: Ut("jq"),
|
|
10774
10774
|
io: {
|
|
10775
10775
|
input: {
|
|
@@ -10784,7 +10784,7 @@ const Es = {
|
|
|
10784
10784
|
},
|
|
10785
10785
|
exit: {
|
|
10786
10786
|
type: "exit",
|
|
10787
|
-
summary:
|
|
10787
|
+
summary: Cn("exit"),
|
|
10788
10788
|
description: Ut("exit"),
|
|
10789
10789
|
io: {
|
|
10790
10790
|
input: {
|
|
@@ -10798,7 +10798,7 @@ const Es = {
|
|
|
10798
10798
|
},
|
|
10799
10799
|
property: {
|
|
10800
10800
|
type: "property",
|
|
10801
|
-
summary:
|
|
10801
|
+
summary: Cn("property"),
|
|
10802
10802
|
description: Ut("property"),
|
|
10803
10803
|
io: {
|
|
10804
10804
|
input: {
|
|
@@ -10813,7 +10813,7 @@ const Es = {
|
|
|
10813
10813
|
},
|
|
10814
10814
|
static: {
|
|
10815
10815
|
type: "static",
|
|
10816
|
-
summary:
|
|
10816
|
+
summary: Cn("static"),
|
|
10817
10817
|
description: Ut("static"),
|
|
10818
10818
|
io: {
|
|
10819
10819
|
output: {
|
|
@@ -10825,7 +10825,7 @@ const Es = {
|
|
|
10825
10825
|
},
|
|
10826
10826
|
branch: {
|
|
10827
10827
|
type: "branch",
|
|
10828
|
-
summary:
|
|
10828
|
+
summary: Cn("branch"),
|
|
10829
10829
|
description: Ut("branch"),
|
|
10830
10830
|
io: {
|
|
10831
10831
|
input: {
|
|
@@ -10842,7 +10842,7 @@ const Es = {
|
|
|
10842
10842
|
},
|
|
10843
10843
|
cache: {
|
|
10844
10844
|
type: "cache",
|
|
10845
|
-
summary:
|
|
10845
|
+
summary: Cn("cache"),
|
|
10846
10846
|
description: Ut("cache"),
|
|
10847
10847
|
io: {
|
|
10848
10848
|
input: {
|
|
@@ -10865,7 +10865,7 @@ const Es = {
|
|
|
10865
10865
|
},
|
|
10866
10866
|
xml_to_json: {
|
|
10867
10867
|
type: "xml_to_json",
|
|
10868
|
-
summary:
|
|
10868
|
+
summary: Cn("xml_to_json"),
|
|
10869
10869
|
description: Ut("xml_to_json"),
|
|
10870
10870
|
io: {
|
|
10871
10871
|
input: {
|
|
@@ -10879,7 +10879,7 @@ const Es = {
|
|
|
10879
10879
|
},
|
|
10880
10880
|
json_to_xml: {
|
|
10881
10881
|
type: "json_to_xml",
|
|
10882
|
-
summary:
|
|
10882
|
+
summary: Cn("json_to_xml"),
|
|
10883
10883
|
description: Ut("json_to_xml"),
|
|
10884
10884
|
io: {
|
|
10885
10885
|
input: {
|
|
@@ -10959,7 +10959,7 @@ const Es = {
|
|
|
10959
10959
|
hidden: !0
|
|
10960
10960
|
}
|
|
10961
10961
|
}, xs = Object.keys(Mo), As = (e) => xs.includes(e), YE = (e) => [...xs, ...Qd].includes(e), Bt = (e) => xs.includes(e), Or = (e) => Bt(e.type), Is = (e) => !!(e != null && e.startsWith("node:")), Qi = (e) => Object.prototype.hasOwnProperty.call(e, "ownerId");
|
|
10962
|
-
function
|
|
10962
|
+
function En(e) {
|
|
10963
10963
|
return si(e);
|
|
10964
10964
|
}
|
|
10965
10965
|
function $r(e, t) {
|
|
@@ -11356,7 +11356,7 @@ function au(e, t) {
|
|
|
11356
11356
|
if (F.length) {
|
|
11357
11357
|
D[N] = F;
|
|
11358
11358
|
const W = Ya(I.name, N), O = r.get(W), Y = O ? {
|
|
11359
|
-
position:
|
|
11359
|
+
position: En(O.position)
|
|
11360
11360
|
} : void 0, te = nf(I.id, N, I.phase, F, Y);
|
|
11361
11361
|
p.push(te), !O && !g && (g = !0);
|
|
11362
11362
|
} else
|
|
@@ -11421,7 +11421,7 @@ function of(e) {
|
|
|
11421
11421
|
output: tu((o == null ? void 0 : o.output) ?? s.output)
|
|
11422
11422
|
},
|
|
11423
11423
|
hidden: e.hidden || u.hidden,
|
|
11424
|
-
config: r ?
|
|
11424
|
+
config: r ? En(r) : {}
|
|
11425
11425
|
};
|
|
11426
11426
|
}
|
|
11427
11427
|
function ox(e) {
|
|
@@ -11454,7 +11454,7 @@ function ou({
|
|
|
11454
11454
|
}
|
|
11455
11455
|
function rx(e) {
|
|
11456
11456
|
const { type: t, name: n, input: i, inputs: a, output: o, outputs: r, ...s } = e;
|
|
11457
|
-
return
|
|
11457
|
+
return En(s);
|
|
11458
11458
|
}
|
|
11459
11459
|
function sx(e, t) {
|
|
11460
11460
|
const n = e.name;
|
|
@@ -11594,7 +11594,7 @@ const [rf, dx] = Ur(
|
|
|
11594
11594
|
function(t, n = {}) {
|
|
11595
11595
|
const i = ee(au(t)), a = ee(), o = ee(), r = ee(!1), s = ee(!1), u = tx(i, {
|
|
11596
11596
|
capacity: 200,
|
|
11597
|
-
clone:
|
|
11597
|
+
clone: En,
|
|
11598
11598
|
onHistoryChange: (L) => {
|
|
11599
11599
|
var X, R;
|
|
11600
11600
|
L !== "clear" && ((R = n.onChange) == null || R.call(n, Ze(), Re(), Ee(), (X = i.value.cacheConfig) == null ? void 0 : X.partial_id));
|
|
@@ -11697,7 +11697,7 @@ const [rf, dx] = Ur(
|
|
|
11697
11697
|
const me = $(L);
|
|
11698
11698
|
if (!me || Bt(me.type)) return;
|
|
11699
11699
|
const Q = {
|
|
11700
|
-
...
|
|
11700
|
+
...En(me),
|
|
11701
11701
|
id: Ri("node"),
|
|
11702
11702
|
name: iu(me.name, E.value),
|
|
11703
11703
|
position: X ?? {
|
|
@@ -11755,7 +11755,7 @@ const [rf, dx] = Ur(
|
|
|
11755
11755
|
}
|
|
11756
11756
|
function Ve(L, X, R = !0, me) {
|
|
11757
11757
|
const Q = $(L);
|
|
11758
|
-
Q && (Q.config =
|
|
11758
|
+
Q && (Q.config = En(X), R && u.commit(me));
|
|
11759
11759
|
}
|
|
11760
11760
|
function Pe(L, X, R, me = !0) {
|
|
11761
11761
|
const Q = $(L);
|
|
@@ -11863,7 +11863,7 @@ const [rf, dx] = Ur(
|
|
|
11863
11863
|
Ce ? pe[Ce] = Ae : Ge === void 0 && (Ge = Ae);
|
|
11864
11864
|
}
|
|
11865
11865
|
const ce = {
|
|
11866
|
-
...
|
|
11866
|
+
...En(je.config),
|
|
11867
11867
|
name: je.name,
|
|
11868
11868
|
type: je.type
|
|
11869
11869
|
}, xt = Ca(je.type);
|
|
@@ -11885,7 +11885,7 @@ const [rf, dx] = Ur(
|
|
|
11885
11885
|
}
|
|
11886
11886
|
function ve() {
|
|
11887
11887
|
return i.value.nodes.map(
|
|
11888
|
-
(L) =>
|
|
11888
|
+
(L) => En({
|
|
11889
11889
|
name: L.name,
|
|
11890
11890
|
phase: L.phase,
|
|
11891
11891
|
position: { ...L.position },
|
|
@@ -13920,7 +13920,7 @@ function TS(e, t) {
|
|
|
13920
13920
|
function bu(e, t) {
|
|
13921
13921
|
Object.values(t).forEach((n) => n.forEach((i, a) => e.node(i).order = a));
|
|
13922
13922
|
}
|
|
13923
|
-
let OS = dn.Graph,
|
|
13923
|
+
let OS = dn.Graph, xn = Et;
|
|
13924
13924
|
var $S = {
|
|
13925
13925
|
positionX: VS
|
|
13926
13926
|
};
|
|
@@ -13944,7 +13944,7 @@ function NS(e, t) {
|
|
|
13944
13944
|
let n = {};
|
|
13945
13945
|
function i(o, r, s, u, d) {
|
|
13946
13946
|
let p;
|
|
13947
|
-
|
|
13947
|
+
xn.range(r, s).forEach((c) => {
|
|
13948
13948
|
p = o[c], e.node(p).dummy && e.predecessors(p).forEach((f) => {
|
|
13949
13949
|
let m = e.node(f);
|
|
13950
13950
|
m.dummy && (m.order < u || m.order > d) && jf(n, f, p);
|
|
@@ -14045,18 +14045,18 @@ function KS(e, t) {
|
|
|
14045
14045
|
}, [Number.POSITIVE_INFINITY, null])[1];
|
|
14046
14046
|
}
|
|
14047
14047
|
function DS(e, t) {
|
|
14048
|
-
let n = Object.values(t), i =
|
|
14048
|
+
let n = Object.values(t), i = xn.applyWithChunking(Math.min, n), a = xn.applyWithChunking(Math.max, n);
|
|
14049
14049
|
["u", "d"].forEach((o) => {
|
|
14050
14050
|
["l", "r"].forEach((r) => {
|
|
14051
14051
|
let s = o + r, u = e[s];
|
|
14052
14052
|
if (u === t) return;
|
|
14053
|
-
let d = Object.values(u), p = i -
|
|
14054
|
-
r !== "l" && (p = a -
|
|
14053
|
+
let d = Object.values(u), p = i - xn.applyWithChunking(Math.min, d);
|
|
14054
|
+
r !== "l" && (p = a - xn.applyWithChunking(Math.max, d)), p && (e[s] = xn.mapValues(u, (c) => c + p));
|
|
14055
14055
|
});
|
|
14056
14056
|
});
|
|
14057
14057
|
}
|
|
14058
14058
|
function qS(e, t) {
|
|
14059
|
-
return
|
|
14059
|
+
return xn.mapValues(e.ul, (n, i) => {
|
|
14060
14060
|
if (t)
|
|
14061
14061
|
return e[t.toLowerCase()][i];
|
|
14062
14062
|
{
|
|
@@ -14066,7 +14066,7 @@ function qS(e, t) {
|
|
|
14066
14066
|
});
|
|
14067
14067
|
}
|
|
14068
14068
|
function VS(e) {
|
|
14069
|
-
let t =
|
|
14069
|
+
let t = xn.buildLayerMatrix(e), n = Object.assign(
|
|
14070
14070
|
PS(e, t),
|
|
14071
14071
|
NS(e, t)
|
|
14072
14072
|
), i = {}, a;
|
|
@@ -14080,7 +14080,7 @@ function VS(e) {
|
|
|
14080
14080
|
d.align,
|
|
14081
14081
|
s === "r"
|
|
14082
14082
|
);
|
|
14083
|
-
s === "r" && (p =
|
|
14083
|
+
s === "r" && (p = xn.mapValues(p, (c) => -c)), i[r + s] = p;
|
|
14084
14084
|
});
|
|
14085
14085
|
});
|
|
14086
14086
|
let o = KS(e, i);
|
|
@@ -15142,8 +15142,8 @@ const [KT, DT] = Ur(
|
|
|
15142
15142
|
Pe(qe), L(void 0);
|
|
15143
15143
|
const nt = ne.value.get(qe);
|
|
15144
15144
|
if (!nt) return;
|
|
15145
|
-
const We = nt.position ?? { ...ie.position }, ft = ie.position.x - We.x,
|
|
15146
|
-
ve(qe, ie.position, ft,
|
|
15145
|
+
const We = nt.position ?? { ...ie.position }, ft = ie.position.x - We.x, kn = ie.position.y - We.y;
|
|
15146
|
+
ve(qe, ie.position, ft, kn);
|
|
15147
15147
|
const vt = ye.value.get(nt.ownerId);
|
|
15148
15148
|
vt && Ze(vt.id, !1);
|
|
15149
15149
|
return;
|
|
@@ -15191,7 +15191,7 @@ const [KT, DT] = Ur(
|
|
|
15191
15191
|
}
|
|
15192
15192
|
te(Se, Ae, !1);
|
|
15193
15193
|
const Ce = xe && ue(xe) ? xe : (Le = ye.value.get(Se)) == null ? void 0 : Le.id;
|
|
15194
|
-
Ce && Ze(Ce, !1),
|
|
15194
|
+
Ce && Ze(Ce, !1), wn(Se), X(), Y();
|
|
15195
15195
|
}), _((ie) => {
|
|
15196
15196
|
ie.filter((Ae) => Ae.type === "select").sort((Ae, Ce) => Ae.selected === Ce.selected ? 0 : Ae.selected ? 1 : -1).forEach((Ae) => {
|
|
15197
15197
|
_e(Ae.id) || (Vf = Ae.selected ? Ae.id : void 0, $((Ce) => Ce.map((Le) => Le.id !== Ae.id || !Le.markerEnd ? Le : Da({
|
|
@@ -15246,15 +15246,15 @@ const [KT, DT] = Ur(
|
|
|
15246
15246
|
const {
|
|
15247
15247
|
position: { x: xe },
|
|
15248
15248
|
dimensions: { width: Ae }
|
|
15249
|
-
} = Se, Ce = xe + Ae, { viewport: Le, dimensions: Ue, setViewport: Te } = d, { x: Be, y: qe, zoom: nt } = Le.value, { width: We } = Ue.value, ft = xe * nt + Be,
|
|
15250
|
-
if (
|
|
15251
|
-
let Jt = vt -
|
|
15249
|
+
} = Se, Ce = xe + Ae, { viewport: Le, dimensions: Ue, setViewport: Te } = d, { x: Be, y: qe, zoom: nt } = Le.value, { width: We } = Ue.value, ft = xe * nt + Be, kn = Ce * nt + Be, vt = We - cf - u;
|
|
15250
|
+
if (kn <= vt) return;
|
|
15251
|
+
let Jt = vt - kn;
|
|
15252
15252
|
ft + Jt < 0 && (Jt = -ft), Jt !== 0 && Te(
|
|
15253
15253
|
{ x: Be + Jt, y: qe, zoom: nt },
|
|
15254
15254
|
{ duration: Sx }
|
|
15255
15255
|
);
|
|
15256
15256
|
}
|
|
15257
|
-
function
|
|
15257
|
+
function wn(ie) {
|
|
15258
15258
|
if (!Re.value) return !1;
|
|
15259
15259
|
const { nodeId: Se, branch: xe } = XE(Re.value), Ae = Z.addMember(Se, xe, ie, { commit: !1 });
|
|
15260
15260
|
return L(void 0), Ae;
|
|
@@ -15276,7 +15276,7 @@ const [KT, DT] = Ur(
|
|
|
15276
15276
|
startPanelDrag: () => Ie("panel"),
|
|
15277
15277
|
endPanelDrag: X,
|
|
15278
15278
|
updateActiveGroup: L,
|
|
15279
|
-
attachNodeToActiveGroup:
|
|
15279
|
+
attachNodeToActiveGroup: wn
|
|
15280
15280
|
}
|
|
15281
15281
|
};
|
|
15282
15282
|
}
|
|
@@ -15603,9 +15603,9 @@ const zT = {
|
|
|
15603
15603
|
}, { immediate: !0 }), ze(y, (T) => {
|
|
15604
15604
|
T || r(e.data.id, "output", !0, !0, "*");
|
|
15605
15605
|
}, { immediate: !0 }), ze(() => e.data.fields.input, (T, B) => {
|
|
15606
|
-
|
|
15606
|
+
yn(T, B) || r(e.data.id, "input", T.length > 0, !0, "*");
|
|
15607
15607
|
}, { deep: !0 }), ze(() => e.data.fields.output, (T, B) => {
|
|
15608
|
-
|
|
15608
|
+
yn(T, B) || r(e.data.id, "output", T.length > 0, !0, "*");
|
|
15609
15609
|
}, { deep: !0 }), (T, B) => (w(), V("div", {
|
|
15610
15610
|
class: at(["dk-flow-node", {
|
|
15611
15611
|
reversed: P.value,
|
|
@@ -15682,7 +15682,7 @@ const zT = {
|
|
|
15682
15682
|
})
|
|
15683
15683
|
]),
|
|
15684
15684
|
default: A(() => [
|
|
15685
|
-
C(l(
|
|
15685
|
+
C(l(An), {
|
|
15686
15686
|
appearance: "tertiary",
|
|
15687
15687
|
class: "menu-trigger",
|
|
15688
15688
|
icon: "",
|
|
@@ -16306,7 +16306,7 @@ const zT = {
|
|
|
16306
16306
|
placement: "right"
|
|
16307
16307
|
}, {
|
|
16308
16308
|
default: A(() => [
|
|
16309
|
-
(w(), j(l(
|
|
16309
|
+
(w(), j(l(An), {
|
|
16310
16310
|
key: c,
|
|
16311
16311
|
appearance: "none",
|
|
16312
16312
|
class: "nav-item",
|
|
@@ -16337,7 +16337,7 @@ const zT = {
|
|
|
16337
16337
|
placement: l(o) ? "left" : "right"
|
|
16338
16338
|
}, {
|
|
16339
16339
|
default: A(() => [
|
|
16340
|
-
C(l(
|
|
16340
|
+
C(l(An), {
|
|
16341
16341
|
appearance: "none",
|
|
16342
16342
|
class: "nav-item nav-item-toggle",
|
|
16343
16343
|
icon: "",
|
|
@@ -16411,7 +16411,7 @@ const zT = {
|
|
|
16411
16411
|
}, null, 8, ["keys", "label"])
|
|
16412
16412
|
]),
|
|
16413
16413
|
default: A(() => [
|
|
16414
|
-
C(l(
|
|
16414
|
+
C(l(An), {
|
|
16415
16415
|
appearance: "tertiary",
|
|
16416
16416
|
disabled: !l(o),
|
|
16417
16417
|
icon: "",
|
|
@@ -16434,7 +16434,7 @@ const zT = {
|
|
|
16434
16434
|
}, null, 8, ["keys", "label"])
|
|
16435
16435
|
]),
|
|
16436
16436
|
default: A(() => [
|
|
16437
|
-
C(l(
|
|
16437
|
+
C(l(An), {
|
|
16438
16438
|
appearance: "tertiary",
|
|
16439
16439
|
disabled: !l(r),
|
|
16440
16440
|
icon: "",
|
|
@@ -16483,7 +16483,7 @@ const zT = {
|
|
|
16483
16483
|
]),
|
|
16484
16484
|
_: 1
|
|
16485
16485
|
}, 8, ["trigger-text"]),
|
|
16486
|
-
C(l(
|
|
16486
|
+
C(l(An), {
|
|
16487
16487
|
appearance: "tertiary",
|
|
16488
16488
|
target: "_blank",
|
|
16489
16489
|
to: "https://developer.konghq.com/plugins/datakit/"
|
|
@@ -16494,7 +16494,7 @@ const zT = {
|
|
|
16494
16494
|
]),
|
|
16495
16495
|
_: 1
|
|
16496
16496
|
}),
|
|
16497
|
-
C(l(
|
|
16497
|
+
C(l(An), { onClick: d }, {
|
|
16498
16498
|
default: A(() => [
|
|
16499
16499
|
we(J(l(t)("plugins.free-form.datakit.flow_editor.actions.done")), 1)
|
|
16500
16500
|
]),
|
|
@@ -16882,7 +16882,7 @@ function u$() {
|
|
|
16882
16882
|
const t = e("config.resources");
|
|
16883
16883
|
if (!t)
|
|
16884
16884
|
throw new Error("Failed to get resource schema");
|
|
16885
|
-
const n =
|
|
16885
|
+
const n = En(t);
|
|
16886
16886
|
return n.fields.forEach((i) => {
|
|
16887
16887
|
const a = Object.keys(i)[0];
|
|
16888
16888
|
if (a === "cache") {
|
|
@@ -17966,7 +17966,7 @@ const jn = M.object({
|
|
|
17966
17966
|
onChange: s
|
|
17967
17967
|
}, {
|
|
17968
17968
|
"item-label": A((g) => [
|
|
17969
|
-
Qe(f.$slots, "item-label",
|
|
17969
|
+
Qe(f.$slots, "item-label", On(pi(g)), () => [
|
|
17970
17970
|
C(ho, { item: g }, null, 8, ["item"])
|
|
17971
17971
|
], !0)
|
|
17972
17972
|
]),
|
|
@@ -18002,7 +18002,7 @@ const jn = M.object({
|
|
|
18002
18002
|
}, 16, ["items", "key-order"])) : le("", !0)
|
|
18003
18003
|
], 64));
|
|
18004
18004
|
}
|
|
18005
|
-
}),
|
|
18005
|
+
}), bn = /* @__PURE__ */ Oe($P, [["__scopeId", "data-v-f80a82e6"]]), PP = {
|
|
18006
18006
|
fields: [
|
|
18007
18007
|
{
|
|
18008
18008
|
input: {
|
|
@@ -18182,7 +18182,7 @@ function ep(e, t) {
|
|
|
18182
18182
|
}
|
|
18183
18183
|
};
|
|
18184
18184
|
}
|
|
18185
|
-
function
|
|
18185
|
+
function In(e = 0, t = 1 / 0, n) {
|
|
18186
18186
|
const { i18n: { t: i } } = Je();
|
|
18187
18187
|
return function(o) {
|
|
18188
18188
|
if (o != null && typeof o == "string" && (o.length < e || o.length > t))
|
|
@@ -18680,7 +18680,7 @@ const Kn = /* @__PURE__ */ de({
|
|
|
18680
18680
|
name: "ssl_verify",
|
|
18681
18681
|
"onUpdate:modelValue": k[2] || (k[2] = (E) => l(r)("ssl_verify"))
|
|
18682
18682
|
}),
|
|
18683
|
-
C(
|
|
18683
|
+
C(bn, {
|
|
18684
18684
|
"field-name-validator": l(m),
|
|
18685
18685
|
"field-names": l(p),
|
|
18686
18686
|
items: l(s),
|
|
@@ -18713,7 +18713,7 @@ const Kn = /* @__PURE__ */ de({
|
|
|
18713
18713
|
schema: l(n)
|
|
18714
18714
|
}, {
|
|
18715
18715
|
default: A(() => [
|
|
18716
|
-
C(
|
|
18716
|
+
C(bn, {
|
|
18717
18717
|
"field-name-validator": l(u),
|
|
18718
18718
|
"field-names": l(s),
|
|
18719
18719
|
items: l(a),
|
|
@@ -18745,7 +18745,7 @@ const Kn = /* @__PURE__ */ de({
|
|
|
18745
18745
|
schema: l(n)
|
|
18746
18746
|
}, {
|
|
18747
18747
|
default: A(() => [
|
|
18748
|
-
C(
|
|
18748
|
+
C(bn, {
|
|
18749
18749
|
"field-name-validator": l(u),
|
|
18750
18750
|
"field-names": l(s),
|
|
18751
18751
|
items: l(a),
|
|
@@ -18793,7 +18793,7 @@ const Kn = /* @__PURE__ */ de({
|
|
|
18793
18793
|
validationConfig: {
|
|
18794
18794
|
jq: un(
|
|
18795
18795
|
Vi({ fieldName: _ }),
|
|
18796
|
-
|
|
18796
|
+
In(1, 10240, { fieldName: _ })
|
|
18797
18797
|
)
|
|
18798
18798
|
},
|
|
18799
18799
|
getValidationData: () => ({
|
|
@@ -18850,7 +18850,7 @@ const Kn = /* @__PURE__ */ de({
|
|
|
18850
18850
|
]),
|
|
18851
18851
|
_: 1
|
|
18852
18852
|
}, 8, ["error", "error-message", "label", "onBlur", "onUpdate:modelValue"]),
|
|
18853
|
-
C(
|
|
18853
|
+
C(bn, {
|
|
18854
18854
|
"field-name-validator": l(v),
|
|
18855
18855
|
"field-names": l(g),
|
|
18856
18856
|
items: l(u),
|
|
@@ -19307,7 +19307,7 @@ const WP = /* @__PURE__ */ de({
|
|
|
19307
19307
|
"onUpdate:modelValue": v,
|
|
19308
19308
|
"onUpdate:propertyKey": E[1] || (E[1] = (_) => l(u)("property-key"))
|
|
19309
19309
|
}, null, 8, ["validators"]),
|
|
19310
|
-
h.value ? (w(), j(
|
|
19310
|
+
h.value ? (w(), j(bn, {
|
|
19311
19311
|
key: 0,
|
|
19312
19312
|
"field-name-validator": l(y),
|
|
19313
19313
|
"field-names": l(f),
|
|
@@ -19373,7 +19373,7 @@ const WP = /* @__PURE__ */ de({
|
|
|
19373
19373
|
name: "warn_headers_sent",
|
|
19374
19374
|
"onUpdate:modelValue": h[0] || (h[0] = (v) => l(o)())
|
|
19375
19375
|
}),
|
|
19376
|
-
C(
|
|
19376
|
+
C(bn, {
|
|
19377
19377
|
"field-name-validator": l(f),
|
|
19378
19378
|
"field-names": l(d),
|
|
19379
19379
|
items: l(r),
|
|
@@ -19527,7 +19527,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
19527
19527
|
]),
|
|
19528
19528
|
_: 1
|
|
19529
19529
|
}, 8, ["items"]),
|
|
19530
|
-
C(
|
|
19530
|
+
C(bn, {
|
|
19531
19531
|
"field-name-validator": l(f),
|
|
19532
19532
|
"field-names": l(c),
|
|
19533
19533
|
items: l(r),
|
|
@@ -19598,7 +19598,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
19598
19598
|
onBlur: l(y).validate,
|
|
19599
19599
|
"onUpdate:modelValue": l(y).update
|
|
19600
19600
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
19601
|
-
C(
|
|
19601
|
+
C(bn, {
|
|
19602
19602
|
"field-name-validator": l(m),
|
|
19603
19603
|
"field-names": l(p),
|
|
19604
19604
|
items: l(s),
|
|
@@ -19635,18 +19635,18 @@ const iN = /* @__PURE__ */ de({
|
|
|
19635
19635
|
() => y() ? void 0 : g,
|
|
19636
19636
|
(P) => {
|
|
19637
19637
|
if (P)
|
|
19638
|
-
return
|
|
19638
|
+
return In(1, 32, { fieldName: "Attributes block name" })(P);
|
|
19639
19639
|
}
|
|
19640
19640
|
),
|
|
19641
19641
|
attributes_name_prefix: un(
|
|
19642
19642
|
() => y() ? void 0 : g,
|
|
19643
19643
|
(P) => {
|
|
19644
19644
|
if (P)
|
|
19645
|
-
return
|
|
19645
|
+
return In(1, 32, { fieldName: "Attributes name prefix" })(P);
|
|
19646
19646
|
}
|
|
19647
19647
|
),
|
|
19648
|
-
text_block_name:
|
|
19649
|
-
xpath:
|
|
19648
|
+
text_block_name: In(1, 32, { fieldName: "Text block name" }),
|
|
19649
|
+
xpath: In(1, 256, { fieldName: "XPath" })
|
|
19650
19650
|
}),
|
|
19651
19651
|
getValidationData: () => ({
|
|
19652
19652
|
attributes_block_name: a.value.attributes_block_name,
|
|
@@ -19715,7 +19715,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
19715
19715
|
onBlur: l(E).validate,
|
|
19716
19716
|
"onUpdate:modelValue": l(E).update
|
|
19717
19717
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
19718
|
-
C(
|
|
19718
|
+
C(bn, {
|
|
19719
19719
|
"field-name-validator": l(m),
|
|
19720
19720
|
"field-names": l(p),
|
|
19721
19721
|
items: l(s),
|
|
@@ -19753,14 +19753,14 @@ const iN = /* @__PURE__ */ de({
|
|
|
19753
19753
|
validationConfig: {
|
|
19754
19754
|
attributes_block_name: un(
|
|
19755
19755
|
() => k() ? void 0 : v,
|
|
19756
|
-
|
|
19756
|
+
In(1, 32, { fieldName: "Attributes block name" })
|
|
19757
19757
|
),
|
|
19758
19758
|
attributes_name_prefix: un(
|
|
19759
19759
|
() => k() ? void 0 : v,
|
|
19760
|
-
|
|
19760
|
+
In(1, 32, { fieldName: "Attributes name prefix" })
|
|
19761
19761
|
),
|
|
19762
|
-
root_element_name:
|
|
19763
|
-
text_block_name:
|
|
19762
|
+
root_element_name: In(1, 64, { fieldName: "Root element name" }),
|
|
19763
|
+
text_block_name: In(1, 32, { fieldName: "Text block name" })
|
|
19764
19764
|
},
|
|
19765
19765
|
getValidationData: () => ({
|
|
19766
19766
|
attributes_block_name: a.value.attributes_block_name,
|
|
@@ -19833,7 +19833,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
19833
19833
|
onBlur: l(I).validate,
|
|
19834
19834
|
"onUpdate:modelValue": l(I).update
|
|
19835
19835
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
19836
|
-
C(
|
|
19836
|
+
C(bn, {
|
|
19837
19837
|
"field-name-validator": l(h),
|
|
19838
19838
|
"field-names": l(m),
|
|
19839
19839
|
items: l(s),
|
|
@@ -19930,7 +19930,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
19930
19930
|
text: l(t)("plugins.free-form.datakit.flow_editor.actions.remove_from_branch")
|
|
19931
19931
|
}, {
|
|
19932
19932
|
default: A(() => [
|
|
19933
|
-
C(l(
|
|
19933
|
+
C(l(An), {
|
|
19934
19934
|
appearance: "none",
|
|
19935
19935
|
"aria-label": l(t)("plugins.free-form.datakit.flow_editor.actions.remove_from_branch"),
|
|
19936
19936
|
class: "remove-branch",
|
|
@@ -20274,7 +20274,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
20274
20274
|
},
|
|
20275
20275
|
setup(e) {
|
|
20276
20276
|
const t = e, n = on();
|
|
20277
|
-
qt(Fn, n == null ? void 0 : n[
|
|
20277
|
+
qt(Fn, n == null ? void 0 : n[Sn]);
|
|
20278
20278
|
const { i18n: { t: i } } = et.useI18n();
|
|
20279
20279
|
function a() {
|
|
20280
20280
|
const s = {}, u = ["service-id", "route-id", "consumer-id", "consumer_group-id"];
|
|
@@ -20429,7 +20429,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
20429
20429
|
},
|
|
20430
20430
|
setup(e) {
|
|
20431
20431
|
const t = e, n = on();
|
|
20432
|
-
return qt(Fn, n == null ? void 0 : n[
|
|
20432
|
+
return qt(Fn, n == null ? void 0 : n[Sn]), (i, a) => (w(), j(wi, On(pi(t)), {
|
|
20433
20433
|
"field-renderers": A(() => [
|
|
20434
20434
|
C(fi, {
|
|
20435
20435
|
match: ({ path: o }) => o === "config.behavior.idp_error_response_body_template"
|
|
@@ -20522,15 +20522,15 @@ const iN = /* @__PURE__ */ de({
|
|
|
20522
20522
|
},
|
|
20523
20523
|
setup(e) {
|
|
20524
20524
|
const t = e, n = on();
|
|
20525
|
-
qt(Fn, n == null ? void 0 : n[
|
|
20525
|
+
qt(Fn, n == null ? void 0 : n[Sn]);
|
|
20526
20526
|
const i = _t(Ui), a = S(() => (i == null ? void 0 : i.app) === "konnect");
|
|
20527
|
-
return (o, r) => (w(), j(wi,
|
|
20527
|
+
return (o, r) => (w(), j(wi, On(pi(t)), {
|
|
20528
20528
|
"field-renderers": A(() => [
|
|
20529
20529
|
C(fi, {
|
|
20530
20530
|
match: ({ path: s }) => s === "config.identity_realms"
|
|
20531
20531
|
}, {
|
|
20532
20532
|
default: A((s) => [
|
|
20533
|
-
a.value ? (w(), j(RN,
|
|
20533
|
+
a.value ? (w(), j(RN, On(Ye({ key: 0 }, s)), null, 16)) : (w(), V("span", MN))
|
|
20534
20534
|
]),
|
|
20535
20535
|
_: 1
|
|
20536
20536
|
}, 8, ["match"])
|
|
@@ -20564,7 +20564,7 @@ const iN = /* @__PURE__ */ de({
|
|
|
20564
20564
|
},
|
|
20565
20565
|
setup(e) {
|
|
20566
20566
|
const t = e, n = on();
|
|
20567
|
-
qt(Fn, n == null ? void 0 : n[
|
|
20567
|
+
qt(Fn, n == null ? void 0 : n[Sn]);
|
|
20568
20568
|
const i = _t(us.KM_2262_CODE_MODE, !1), { i18n: { t: a } } = et.useI18n(), o = za("plugin-editor-mode", "form"), r = ee(
|
|
20569
20569
|
i ? o.value : "form"
|
|
20570
20570
|
// Force 'form' mode if code mode is not enabled
|
|
@@ -21139,7 +21139,7 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21139
21139
|
onGlobalAction: ae[0] || (ae[0] = (_e, Ze) => re.$emit("globalAction", _e, Ze))
|
|
21140
21140
|
}, ot({ _: 2 }, [
|
|
21141
21141
|
e.enableVaultSecretPicker ? {
|
|
21142
|
-
name: l(
|
|
21142
|
+
name: l(Sn),
|
|
21143
21143
|
fn: A((_e) => [
|
|
21144
21144
|
_e.schema.referenceable ? (w(), j(l(qo), Ye({ key: 0 }, _e, { onOpen: q }), null, 16)) : le("", !0)
|
|
21145
21145
|
]),
|
|
@@ -21157,7 +21157,7 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21157
21157
|
"show-new-partial-modal": (_e) => re.$emit("showNewPartialModal", _e)
|
|
21158
21158
|
}, ot({ _: 2 }, [
|
|
21159
21159
|
e.enableVaultSecretPicker ? {
|
|
21160
|
-
name: l(
|
|
21160
|
+
name: l(Sn),
|
|
21161
21161
|
fn: A((_e) => [
|
|
21162
21162
|
_e.schema.referenceable ? (w(), j(l(qo), Ye({ key: 0 }, _e, { onOpen: q }), null, 16)) : le("", !0)
|
|
21163
21163
|
]),
|
|
@@ -21190,7 +21190,7 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21190
21190
|
key: "0"
|
|
21191
21191
|
} : void 0,
|
|
21192
21192
|
e.enableVaultSecretPicker ? {
|
|
21193
|
-
name: l(
|
|
21193
|
+
name: l(Sn),
|
|
21194
21194
|
fn: A((_e) => [
|
|
21195
21195
|
_e.schema.referenceable ? (w(), j(l(qo), Ye({ key: 0 }, _e, { onOpen: q }), null, 16)) : le("", !0)
|
|
21196
21196
|
]),
|
|
@@ -21511,7 +21511,7 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21511
21511
|
fieldNameHasDashes: !0
|
|
21512
21512
|
} : Ge[ce] = pe[ce], Ge;
|
|
21513
21513
|
}, {})), Object.keys(Q).sort().forEach((Ge) => {
|
|
21514
|
-
var Dn,
|
|
21514
|
+
var Dn, wn, It, ie, Se, xe, Ae;
|
|
21515
21515
|
const pe = Q[Ge];
|
|
21516
21516
|
pe.type === "set" && !(c(o.pluginType, o.engine) && pe.elements.one_of) && (pe.type = "array");
|
|
21517
21517
|
const ce = L ? `${L}-${Ge}` : `${Ge}`;
|
|
@@ -21537,7 +21537,7 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21537
21537
|
R[ce].label = Ce.split("-").map(p).join(".");
|
|
21538
21538
|
} else
|
|
21539
21539
|
R[ce].label = p(ce);
|
|
21540
|
-
if ((L === "config" || L.startsWith("config-")) && (
|
|
21540
|
+
if ((L === "config" || L.startsWith("config-")) && (wn = Q[Ge]) != null && wn.description && (R[ce].help = Ga.parse(Q[Ge].description, { mangle: !1, headerIds: !1 })), pe.type === "map") {
|
|
21541
21541
|
if (R[ce].type = "object-advanced", R[ce].values = pe.values, pe.values.type === "array") {
|
|
21542
21542
|
const { type: Ce } = pe.values.elements || {};
|
|
21543
21543
|
R[ce].schema = {
|
|
@@ -21583,15 +21583,15 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21583
21583
|
}), pe.elements && pe.type === "array") {
|
|
21584
21584
|
const Ce = pe.elements;
|
|
21585
21585
|
if (R[ce].referenceable = Ce.referenceable, R[ce].elements = Ce, ["string", "integer", "number"].includes(Ce.type) && !Ce.one_of) {
|
|
21586
|
-
const { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We } = R[ce], { inputAttributes: ft, ...
|
|
21587
|
-
ft.type = Ce.type === "string" ? "text" : "number", R[ce] = { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We, inputAttributes: ft, ...
|
|
21586
|
+
const { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We } = R[ce], { inputAttributes: ft, ...kn } = JSON.parse(JSON.stringify(tt));
|
|
21587
|
+
ft.type = Ce.type === "string" ? "text" : "number", R[ce] = { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We, inputAttributes: ft, ...kn };
|
|
21588
21588
|
} else if (["string", "integer", "number"].includes(Ce.type) && Ce.one_of) {
|
|
21589
21589
|
if (me) {
|
|
21590
21590
|
const { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We } = R[ce];
|
|
21591
21591
|
R[ce] = { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We, ...qw(Ce.one_of, pe.default) };
|
|
21592
21592
|
}
|
|
21593
21593
|
} else if (Ce.type === "array") {
|
|
21594
|
-
const { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We, elements: ft } = R[ce], { inputAttributes:
|
|
21594
|
+
const { id: Le, help: Ue, label: Te, hint: Be, values: qe, referenceable: nt, model: We, elements: ft } = R[ce], { inputAttributes: kn, ...vt } = JSON.parse(JSON.stringify(tt));
|
|
21595
21595
|
R[ce] = {
|
|
21596
21596
|
id: Le,
|
|
21597
21597
|
help: Ue,
|
|
@@ -21602,7 +21602,7 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21602
21602
|
model: We,
|
|
21603
21603
|
elements: ft,
|
|
21604
21604
|
// Preserve elements so FieldArray can check the original schema structure
|
|
21605
|
-
inputAttributes:
|
|
21605
|
+
inputAttributes: kn,
|
|
21606
21606
|
...vt
|
|
21607
21607
|
};
|
|
21608
21608
|
}
|
|
@@ -21678,8 +21678,8 @@ const HN = { class: "kong-ui-entities-plugin-form" }, WN = {
|
|
|
21678
21678
|
pe.enum ? xt = z(pe.enum) : pe.type === "boolean" ? xt = "boolean" : pe.type === "number" || pe.type === "integer" ? (xt = "number", R[ce].inputType = "number") : pe.type === "array" ? (xt = "array", R[ce].default = pe.default, pe.len_min > 0 && (R[ce].submitWhenNull = !0)) : pe.type === "foreign" ? xt = "object" : pe.default && Array.isArray(pe.default) ? (xt = "array", R[ce].valueArrayType = z(pe.default)) : pe.default && (xt = typeof pe.default), R[ce].valueType = xt, pe.fieldNameHasDashes && (R[ce].fieldNameHasDashes = !0);
|
|
21679
21679
|
}), R;
|
|
21680
21680
|
}, B = () => {
|
|
21681
|
-
var ce, xt, Dn,
|
|
21682
|
-
const L = ((ce = Xt[o.pluginType]) == null ? void 0 : ce.scope.includes(pt.SERVICE)) ?? !0, X = ((xt = Xt[o.pluginType]) == null ? void 0 : xt.scope.includes(pt.ROUTE)) ?? !0, R = ((Dn = Xt[o.pluginType]) == null ? void 0 : Dn.scope.includes(pt.CONSUMER)) ?? !0, me = o.config.disableConsumerGroupScope ? !1 : ((
|
|
21681
|
+
var ce, xt, Dn, wn, It, ie, Se, xe, Ae, Ce, Le, Ue;
|
|
21682
|
+
const L = ((ce = Xt[o.pluginType]) == null ? void 0 : ce.scope.includes(pt.SERVICE)) ?? !0, X = ((xt = Xt[o.pluginType]) == null ? void 0 : xt.scope.includes(pt.ROUTE)) ?? !0, R = ((Dn = Xt[o.pluginType]) == null ? void 0 : Dn.scope.includes(pt.CONSUMER)) ?? !0, me = o.config.disableConsumerGroupScope ? !1 : ((wn = Xt[o.pluginType]) == null ? void 0 : wn.scope.includes(pt.CONSUMER_GROUP)) ?? !0, Q = o.config.entityType === "consumers" && !!o.config.entityId || !!((ie = (It = b.value) == null ? void 0 : It.consumer) != null && ie.id), ge = o.config.entityType === "consumer_groups" && !!o.config.entityId || !!((xe = (Se = b.value) == null ? void 0 : Se.consumer_group) != null && xe.id), je = o.config.entityType === "services" && !!o.config.entityId || !!((Ce = (Ae = b.value) == null ? void 0 : Ae.service) != null && Ce.id), ke = o.config.entityType === "routes" && !!o.config.entityId || !!((Ue = (Le = b.value) == null ? void 0 : Le.route) != null && Ue.id), Ke = [], Ge = (Te, Be, qe) => Te ? s("plugins.form.disable_source_scope_change", { scope: qe }) : Be ? s("plugins.form.disable_data_retrieving", { scope: qe }) : "", pe = (Te) => {
|
|
21683
21683
|
var Be, qe;
|
|
21684
21684
|
return ((qe = (Be = o.scopedEntitiesPermissions) == null ? void 0 : Be[Te]) == null ? void 0 : qe.canRetrieve) === !1;
|
|
21685
21685
|
};
|