@kong-ui-public/entities-plugins 9.229.0 → 9.230.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.
- package/dist/entities-plugins.es.js +709 -681
- package/dist/entities-plugins.umd.js +71 -71
- package/dist/types/components/free-form/plugins/graphql-rate-limiting-advanced.d.ts +3 -0
- package/dist/types/components/free-form/plugins/graphql-rate-limiting-advanced.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/redirect.d.ts +3 -0
- package/dist/types/components/free-form/plugins/redirect.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/request-termination.d.ts +3 -0
- package/dist/types/components/free-form/plugins/request-termination.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/response-ratelimiting.d.ts +3 -0
- package/dist/types/components/free-form/plugins/response-ratelimiting.d.ts.map +1 -0
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toValue as bt, warn as Ym, onScopeDispose as Jm, inject as pt, openBlock as S, createElementBlock as le, createElementVNode as ee, computed as L, ref as me, nextTick as on, shallowRef as pn, watch as
|
|
1
|
+
import { toValue as bt, warn as Ym, onScopeDispose as Jm, inject as pt, openBlock as S, createElementBlock as le, createElementVNode as ee, computed as L, ref as me, nextTick as on, shallowRef as pn, watch as Xe, provide as Lt, readonly as td, defineComponent as Oe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ye, unref as u, withModifiers as Ft, normalizeStyle as Di, Fragment as ze, renderList as Qe, createBlock as Z, withCtx as N, resolveDynamicComponent as Kt, useCssVars as Ea, resolveComponent as xe, createSlots as vt, createTextVNode as Le, useSlots as tn, createVNode as C, renderSlot as Ze, useTemplateRef as xt, mergeProps as He, useModel as hi, onMounted as Cn, mergeModels as yi, toRef as Ct, isRef as ul, markRaw as Xm, onBeforeUnmount as xa, reactive as xi, toRaw as Tr, onUnmounted as $r, createPropsRestProxy as Ln, withDirectives as Zt, vShow as Qt, normalizeProps as En, useAttrs as ri, guardReactiveProps as zn, Transition as Zm, useId as Sa, onBeforeMount as Hi, withKeys as hu, Teleport as Pr, watchEffect as nd, shallowReactive as Qm } from "vue";
|
|
2
2
|
import { NetworkIcon as eg, CachedIcon as tg, ArrowSplitIcon as id, GatewayIcon as ng, CodeblockIcon as cl, DataObjectIcon as ig, CodeIcon as og, StackIcon as ag, DeployIcon as od, EditSquareIcon as rg, KeyIcon as dl, CloudIcon as ja, WarningIcon as sg, MoreIcon as Io, UnfoldMoreIcon as yu, UnfoldLessIcon as vu, AddIcon as mn, RemoveIcon as Or, FullscreenIcon as lg, AutoLayoutIcon as ug, CloseIcon as Nr, TrashIcon as ad, ChevronRightIcon as rd, InfoIcon as cg, TeamIcon as dg, AccountTreeIcon as pg, BookIcon as $s, SparklesIcon as fg, ChevronDownIcon as _u, ArrowLeftIcon as mg, ChevronDoubleLeftIcon as gg, ChevronDoubleRightIcon as hg, UndoIcon as yg, RedoIcon as vg, ExternalLinkIcon as _g, DatabaseIcon as bg, ExpandIcon as wg, DesignIcon as kg, ClearIcon as Da, CheckCircleIcon as Cg, PlugIcon as Eg, TransformationIcon as xg, TrafficIcon as Sg, RuntimeServerlessIcon as Ag, SecurityIcon as Ig, MoneyIcon as Tg, ServiceDocumentIcon as $g, LockIcon as Pg, AnalyticsIcon as Og, BotIcon as Ng, PopularIcon as Rg, GridIcon as Mg, ListIcon as Lg } from "@kong/icons";
|
|
3
3
|
import { KTooltip as Gn, KDropdown as sd, KButton as Vn, KDropdownItem as nr, KInputSwitch as Fg, KLabel as gn, KTextArea as Kg, KInput as jg, KCheckbox as Dg, KCard as cr, KMultiselect as qg, KSelect as Bg, KSegmentedControl as ld, KRadio as ii, KCollapse as ud, KSkeletonBox as Ug, KEmptyState as Vg, KAlert as cd, KPrompt as zg, KModal as Gg, KSlideout as Hg, KExternalLink as bu } from "@kong/kongponents";
|
|
4
4
|
import { Background as Wg } from "@vue-flow/background";
|
|
@@ -11,9 +11,9 @@ import "@vue-flow/core/dist/style.css";
|
|
|
11
11
|
import "@vue-flow/core/dist/theme-default.css";
|
|
12
12
|
import { ConfigurationSchemaType as rn, useAxios as xn, useStringHelpers as fl, useErrors as $i, EntityFormBlock as Bn, PLUGIN_FORM_LAYOUT_STATE as ml, SupportedEntityType as ti, EntityBaseForm as md, useHelpers as Aa, EntityBaseFormType as Pi, useBaseFormDeckOptions as nh, DeckCodeBlock as ih, TerraformCodeBlock as oh, YamlCodeBlock as ah, JsonCodeBlock as rh, useTableState as sh, useGatewayFeatureSupported as lh, useFetcher as uh, useDeleteUrlBuilder as ch, FetcherStatus as dh, EntityBaseTable as ph, PermissionsWrapper as Oi, TableTags as fh, EntityFilter as mh, EntityToggleModal as gh, EntityDeleteModal as gd, EntityTypes as hd, ConfigCardItem as hh, ConfigurationSchemaSection as to, useSchemaProvider as yh, EntityBaseConfigCard as vh, InternalLinkItem as Ho } from "@kong-ui-public/entities-shared";
|
|
13
13
|
import { PluginIcon as qi } from "@kong-ui-public/entities-plugins-icon";
|
|
14
|
-
import { PluginIcon as
|
|
14
|
+
import { PluginIcon as pK, getPluginIconURL as fK } from "@kong-ui-public/entities-plugins-icon";
|
|
15
15
|
import { PluginGroup as tt, PLUGIN_GROUP_AND_SCOPE_MAP as Re, PluginScope as Mt, GATEWAY_VERSION_TIMESTAMP_MAP as _h } from "@kong-ui-public/entities-plugins-metadata";
|
|
16
|
-
import { PluginGroup as
|
|
16
|
+
import { PluginGroup as gK, PluginScope as hK } from "@kong-ui-public/entities-plugins-metadata";
|
|
17
17
|
import { FORMS_CONFIG as Yn, composables as bh, FORMS_API_KEY as yd, FieldScopedEntitySelect as wh, AUTOFILL_SLOT as Jn, AUTOFILL_SLOT_NAME as On, getSharedFormName as vd, customFields as Ps, sharedForms as kh, VueFormGenerator as Ch } from "@kong-ui-public/forms";
|
|
18
18
|
import { marked as or } from "marked";
|
|
19
19
|
import Eh from "dompurify";
|
|
@@ -2316,40 +2316,40 @@ var tp = "\\ud800-\\udfff", Ob = "\\u0300-\\u036f", Nb = "\\ufe20-\\ufe2f", Rb =
|
|
|
2316
2316
|
sp,
|
|
2317
2317
|
Zb
|
|
2318
2318
|
].join("|"), "g");
|
|
2319
|
-
function
|
|
2319
|
+
function e0(e) {
|
|
2320
2320
|
return e.match(Qb) || [];
|
|
2321
2321
|
}
|
|
2322
|
-
function
|
|
2323
|
-
return e = Zi(e), t = t, t === void 0 ? Pb(e) ?
|
|
2322
|
+
function t0(e, t, n) {
|
|
2323
|
+
return e = Zi(e), t = t, t === void 0 ? Pb(e) ? e0(e) : Tb(e) : e.match(t) || [];
|
|
2324
2324
|
}
|
|
2325
|
-
var
|
|
2326
|
-
function
|
|
2325
|
+
var n0 = "['’]", i0 = RegExp(n0, "g");
|
|
2326
|
+
function o0(e) {
|
|
2327
2327
|
return function(t) {
|
|
2328
|
-
return yb(
|
|
2328
|
+
return yb(t0(Ab(t).replace(i0, "")), e, "");
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
|
-
var
|
|
2331
|
+
var a0 = o0(function(e, t, n) {
|
|
2332
2332
|
return t = t.toLowerCase(), e + (n ? hb(t) : t);
|
|
2333
2333
|
});
|
|
2334
|
-
function
|
|
2334
|
+
function r0() {
|
|
2335
2335
|
this.__data__ = new vi(), this.size = 0;
|
|
2336
2336
|
}
|
|
2337
|
-
function
|
|
2337
|
+
function s0(e) {
|
|
2338
2338
|
var t = this.__data__, n = t.delete(e);
|
|
2339
2339
|
return this.size = t.size, n;
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function l0(e) {
|
|
2342
2342
|
return this.__data__.get(e);
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function u0(e) {
|
|
2345
2345
|
return this.__data__.has(e);
|
|
2346
2346
|
}
|
|
2347
|
-
var
|
|
2348
|
-
function
|
|
2347
|
+
var c0 = 200;
|
|
2348
|
+
function d0(e, t) {
|
|
2349
2349
|
var n = this.__data__;
|
|
2350
2350
|
if (n instanceof vi) {
|
|
2351
2351
|
var i = n.__data__;
|
|
2352
|
-
if (!fa || i.length <
|
|
2352
|
+
if (!fa || i.length < c0 - 1)
|
|
2353
2353
|
return i.push([e, t]), this.size = ++n.size, this;
|
|
2354
2354
|
n = this.__data__ = new _i(i);
|
|
2355
2355
|
}
|
|
@@ -2359,25 +2359,25 @@ function fi(e) {
|
|
|
2359
2359
|
var t = this.__data__ = new vi(e);
|
|
2360
2360
|
this.size = t.size;
|
|
2361
2361
|
}
|
|
2362
|
-
fi.prototype.clear =
|
|
2363
|
-
fi.prototype.delete =
|
|
2364
|
-
fi.prototype.get =
|
|
2365
|
-
fi.prototype.has =
|
|
2366
|
-
fi.prototype.set =
|
|
2367
|
-
function
|
|
2362
|
+
fi.prototype.clear = r0;
|
|
2363
|
+
fi.prototype.delete = s0;
|
|
2364
|
+
fi.prototype.get = l0;
|
|
2365
|
+
fi.prototype.has = u0;
|
|
2366
|
+
fi.prototype.set = d0;
|
|
2367
|
+
function p0(e, t) {
|
|
2368
2368
|
return e && Ia(t, xl(t), e);
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2370
|
+
function f0(e, t) {
|
|
2371
2371
|
return e && Ia(t, Sl(t), e);
|
|
2372
2372
|
}
|
|
2373
|
-
var mp = typeof exports == "object" && exports && !exports.nodeType && exports, Ku = mp && typeof module == "object" && module && !module.nodeType && module,
|
|
2374
|
-
function
|
|
2373
|
+
var mp = typeof exports == "object" && exports && !exports.nodeType && exports, Ku = mp && typeof module == "object" && module && !module.nodeType && module, m0 = Ku && Ku.exports === mp, ju = m0 ? si.Buffer : void 0, Du = ju ? ju.allocUnsafe : void 0;
|
|
2374
|
+
function g0(e, t) {
|
|
2375
2375
|
if (t)
|
|
2376
2376
|
return e.slice();
|
|
2377
2377
|
var n = e.length, i = Du ? Du(n) : new e.constructor(n);
|
|
2378
2378
|
return e.copy(i), i;
|
|
2379
2379
|
}
|
|
2380
|
-
function
|
|
2380
|
+
function h0(e, t) {
|
|
2381
2381
|
for (var n = -1, i = e == null ? 0 : e.length, o = 0, r = []; ++n < i; ) {
|
|
2382
2382
|
var a = e[n];
|
|
2383
2383
|
t(a, n, e) && (r[o++] = a);
|
|
@@ -2387,20 +2387,20 @@ function hw(e, t) {
|
|
|
2387
2387
|
function gp() {
|
|
2388
2388
|
return [];
|
|
2389
2389
|
}
|
|
2390
|
-
var
|
|
2391
|
-
return e == null ? [] : (e = Object(e),
|
|
2392
|
-
return
|
|
2390
|
+
var y0 = Object.prototype, v0 = y0.propertyIsEnumerable, qu = Object.getOwnPropertySymbols, Pl = qu ? function(e) {
|
|
2391
|
+
return e == null ? [] : (e = Object(e), h0(qu(e), function(t) {
|
|
2392
|
+
return v0.call(e, t);
|
|
2393
2393
|
}));
|
|
2394
2394
|
} : gp;
|
|
2395
|
-
function
|
|
2395
|
+
function _0(e, t) {
|
|
2396
2396
|
return Ia(e, Pl(e), t);
|
|
2397
2397
|
}
|
|
2398
|
-
var
|
|
2398
|
+
var b0 = Object.getOwnPropertySymbols, hp = b0 ? function(e) {
|
|
2399
2399
|
for (var t = []; e; )
|
|
2400
2400
|
Tl(t, Pl(e)), e = $l(e);
|
|
2401
2401
|
return t;
|
|
2402
2402
|
} : gp;
|
|
2403
|
-
function
|
|
2403
|
+
function w0(e, t) {
|
|
2404
2404
|
return Ia(e, hp(e), t);
|
|
2405
2405
|
}
|
|
2406
2406
|
function yp(e, t, n) {
|
|
@@ -2413,129 +2413,129 @@ function Ms(e) {
|
|
|
2413
2413
|
function vp(e) {
|
|
2414
2414
|
return yp(e, Sl, hp);
|
|
2415
2415
|
}
|
|
2416
|
-
var Ls = Xi(si, "DataView"), Fs = Xi(si, "Promise"), Ks = Xi(si, "Set"), Bu = "[object Map]",
|
|
2416
|
+
var Ls = Xi(si, "DataView"), Fs = Xi(si, "Promise"), Ks = Xi(si, "Set"), Bu = "[object Map]", k0 = "[object Object]", Uu = "[object Promise]", Vu = "[object Set]", zu = "[object WeakMap]", Gu = "[object DataView]", C0 = Ji(Ls), E0 = Ji(fa), x0 = Ji(Fs), S0 = Ji(Ks), A0 = Ji(Os), In = Yi;
|
|
2417
2417
|
(Ls && In(new Ls(new ArrayBuffer(1))) != Gu || fa && In(new fa()) != Bu || Fs && In(Fs.resolve()) != Uu || Ks && In(new Ks()) != Vu || Os && In(new Os()) != zu) && (In = function(e) {
|
|
2418
|
-
var t = Yi(e), n = t ==
|
|
2418
|
+
var t = Yi(e), n = t == k0 ? e.constructor : void 0, i = n ? Ji(n) : "";
|
|
2419
2419
|
if (i)
|
|
2420
2420
|
switch (i) {
|
|
2421
|
-
case
|
|
2421
|
+
case C0:
|
|
2422
2422
|
return Gu;
|
|
2423
|
-
case
|
|
2423
|
+
case E0:
|
|
2424
2424
|
return Bu;
|
|
2425
|
-
case
|
|
2425
|
+
case x0:
|
|
2426
2426
|
return Uu;
|
|
2427
|
-
case
|
|
2427
|
+
case S0:
|
|
2428
2428
|
return Vu;
|
|
2429
|
-
case
|
|
2429
|
+
case A0:
|
|
2430
2430
|
return zu;
|
|
2431
2431
|
}
|
|
2432
2432
|
return t;
|
|
2433
2433
|
});
|
|
2434
|
-
var
|
|
2435
|
-
function $
|
|
2434
|
+
var I0 = Object.prototype, T0 = I0.hasOwnProperty;
|
|
2435
|
+
function $0(e) {
|
|
2436
2436
|
var t = e.length, n = new e.constructor(t);
|
|
2437
|
-
return t && typeof e[0] == "string" &&
|
|
2437
|
+
return t && typeof e[0] == "string" && T0.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
2438
2438
|
}
|
|
2439
2439
|
var gr = si.Uint8Array;
|
|
2440
2440
|
function Ol(e) {
|
|
2441
2441
|
var t = new e.constructor(e.byteLength);
|
|
2442
2442
|
return new gr(t).set(new gr(e)), t;
|
|
2443
2443
|
}
|
|
2444
|
-
function
|
|
2444
|
+
function P0(e, t) {
|
|
2445
2445
|
var n = t ? Ol(e.buffer) : e.buffer;
|
|
2446
2446
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
2447
2447
|
}
|
|
2448
|
-
var
|
|
2449
|
-
function
|
|
2450
|
-
var t = new e.constructor(e.source,
|
|
2448
|
+
var O0 = /\w*$/;
|
|
2449
|
+
function N0(e) {
|
|
2450
|
+
var t = new e.constructor(e.source, O0.exec(e));
|
|
2451
2451
|
return t.lastIndex = e.lastIndex, t;
|
|
2452
2452
|
}
|
|
2453
2453
|
var Hu = Rn ? Rn.prototype : void 0, Wu = Hu ? Hu.valueOf : void 0;
|
|
2454
|
-
function
|
|
2454
|
+
function R0(e) {
|
|
2455
2455
|
return Wu ? Object(Wu.call(e)) : {};
|
|
2456
2456
|
}
|
|
2457
|
-
function
|
|
2457
|
+
function M0(e, t) {
|
|
2458
2458
|
var n = t ? Ol(e.buffer) : e.buffer;
|
|
2459
2459
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
2460
2460
|
}
|
|
2461
|
-
var
|
|
2462
|
-
function
|
|
2461
|
+
var L0 = "[object Boolean]", F0 = "[object Date]", K0 = "[object Map]", j0 = "[object Number]", D0 = "[object RegExp]", q0 = "[object Set]", B0 = "[object String]", U0 = "[object Symbol]", V0 = "[object ArrayBuffer]", z0 = "[object DataView]", G0 = "[object Float32Array]", H0 = "[object Float64Array]", W0 = "[object Int8Array]", Y0 = "[object Int16Array]", J0 = "[object Int32Array]", X0 = "[object Uint8Array]", Z0 = "[object Uint8ClampedArray]", Q0 = "[object Uint16Array]", ew = "[object Uint32Array]";
|
|
2462
|
+
function tw(e, t, n) {
|
|
2463
2463
|
var i = e.constructor;
|
|
2464
2464
|
switch (t) {
|
|
2465
|
-
case
|
|
2465
|
+
case V0:
|
|
2466
2466
|
return Ol(e);
|
|
2467
|
-
case
|
|
2468
|
-
case
|
|
2467
|
+
case L0:
|
|
2468
|
+
case F0:
|
|
2469
2469
|
return new i(+e);
|
|
2470
|
-
case
|
|
2471
|
-
return
|
|
2472
|
-
case
|
|
2473
|
-
case
|
|
2474
|
-
case
|
|
2475
|
-
case
|
|
2476
|
-
case
|
|
2477
|
-
case
|
|
2478
|
-
case
|
|
2479
|
-
case
|
|
2480
|
-
case
|
|
2481
|
-
return
|
|
2482
|
-
case
|
|
2470
|
+
case z0:
|
|
2471
|
+
return P0(e, n);
|
|
2472
|
+
case G0:
|
|
2473
|
+
case H0:
|
|
2474
|
+
case W0:
|
|
2475
|
+
case Y0:
|
|
2476
|
+
case J0:
|
|
2477
|
+
case X0:
|
|
2478
|
+
case Z0:
|
|
2479
|
+
case Q0:
|
|
2480
|
+
case ew:
|
|
2481
|
+
return M0(e, n);
|
|
2482
|
+
case K0:
|
|
2483
2483
|
return new i();
|
|
2484
|
-
case
|
|
2485
|
-
case
|
|
2484
|
+
case j0:
|
|
2485
|
+
case B0:
|
|
2486
2486
|
return new i(e);
|
|
2487
|
-
case
|
|
2488
|
-
return
|
|
2489
|
-
case
|
|
2487
|
+
case D0:
|
|
2488
|
+
return N0(e);
|
|
2489
|
+
case q0:
|
|
2490
2490
|
return new i();
|
|
2491
|
-
case
|
|
2492
|
-
return
|
|
2491
|
+
case U0:
|
|
2492
|
+
return R0(e);
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
|
-
function
|
|
2495
|
+
function nw(e) {
|
|
2496
2496
|
return typeof e.constructor == "function" && !Mr(e) ? Hy($l(e)) : {};
|
|
2497
2497
|
}
|
|
2498
|
-
var
|
|
2499
|
-
function
|
|
2500
|
-
return oi(e) && In(e) ==
|
|
2498
|
+
var iw = "[object Map]";
|
|
2499
|
+
function ow(e) {
|
|
2500
|
+
return oi(e) && In(e) == iw;
|
|
2501
2501
|
}
|
|
2502
|
-
var Yu = wo && wo.isMap,
|
|
2503
|
-
function
|
|
2504
|
-
return oi(e) && In(e) ==
|
|
2502
|
+
var Yu = wo && wo.isMap, aw = Yu ? Cl(Yu) : ow, rw = "[object Set]";
|
|
2503
|
+
function sw(e) {
|
|
2504
|
+
return oi(e) && In(e) == rw;
|
|
2505
2505
|
}
|
|
2506
|
-
var Ju = wo && wo.isSet,
|
|
2507
|
-
Ot[_p] = Ot[
|
|
2508
|
-
Ot[
|
|
2506
|
+
var Ju = wo && wo.isSet, lw = Ju ? Cl(Ju) : sw, uw = 1, cw = 2, dw = 4, _p = "[object Arguments]", pw = "[object Array]", fw = "[object Boolean]", mw = "[object Date]", gw = "[object Error]", bp = "[object Function]", hw = "[object GeneratorFunction]", yw = "[object Map]", vw = "[object Number]", wp = "[object Object]", _w = "[object RegExp]", bw = "[object Set]", ww = "[object String]", kw = "[object Symbol]", Cw = "[object WeakMap]", Ew = "[object ArrayBuffer]", xw = "[object DataView]", Sw = "[object Float32Array]", Aw = "[object Float64Array]", Iw = "[object Int8Array]", Tw = "[object Int16Array]", $w = "[object Int32Array]", Pw = "[object Uint8Array]", Ow = "[object Uint8ClampedArray]", Nw = "[object Uint16Array]", Rw = "[object Uint32Array]", Ot = {};
|
|
2507
|
+
Ot[_p] = Ot[pw] = Ot[Ew] = Ot[xw] = Ot[fw] = Ot[mw] = Ot[Sw] = Ot[Aw] = Ot[Iw] = Ot[Tw] = Ot[$w] = Ot[yw] = Ot[vw] = Ot[wp] = Ot[_w] = Ot[bw] = Ot[ww] = Ot[kw] = Ot[Pw] = Ot[Ow] = Ot[Nw] = Ot[Rw] = !0;
|
|
2508
|
+
Ot[gw] = Ot[bp] = Ot[Cw] = !1;
|
|
2509
2509
|
function oa(e, t, n, i, o, r) {
|
|
2510
|
-
var a, l = t &
|
|
2510
|
+
var a, l = t & uw, s = t & cw, d = t & dw;
|
|
2511
2511
|
if (n && (a = o ? n(e, i, o, r) : n(e)), a !== void 0)
|
|
2512
2512
|
return a;
|
|
2513
2513
|
if (!Bi(e))
|
|
2514
2514
|
return e;
|
|
2515
2515
|
var f = Hn(e);
|
|
2516
2516
|
if (f) {
|
|
2517
|
-
if (a = $
|
|
2517
|
+
if (a = $0(e), !l)
|
|
2518
2518
|
return Yy(e, a);
|
|
2519
2519
|
} else {
|
|
2520
|
-
var c = In(e), p = c == bp || c ==
|
|
2520
|
+
var c = In(e), p = c == bp || c == hw;
|
|
2521
2521
|
if (da(e))
|
|
2522
|
-
return
|
|
2522
|
+
return g0(e, l);
|
|
2523
2523
|
if (c == wp || c == _p || p && !o) {
|
|
2524
|
-
if (a = s || p ? {} :
|
|
2525
|
-
return s ?
|
|
2524
|
+
if (a = s || p ? {} : nw(e), !l)
|
|
2525
|
+
return s ? w0(e, f0(a, e)) : _0(e, p0(a, e));
|
|
2526
2526
|
} else {
|
|
2527
2527
|
if (!Ot[c])
|
|
2528
2528
|
return o ? e : {};
|
|
2529
|
-
a =
|
|
2529
|
+
a = tw(e, c, l);
|
|
2530
2530
|
}
|
|
2531
2531
|
}
|
|
2532
2532
|
r || (r = new fi());
|
|
2533
2533
|
var m = r.get(e);
|
|
2534
2534
|
if (m)
|
|
2535
2535
|
return m;
|
|
2536
|
-
r.set(e, a),
|
|
2536
|
+
r.set(e, a), lw(e) ? e.forEach(function(_) {
|
|
2537
2537
|
a.add(oa(_, t, n, _, e, r));
|
|
2538
|
-
}) :
|
|
2538
|
+
}) : aw(e) && e.forEach(function(_, v) {
|
|
2539
2539
|
a.set(v, oa(_, t, n, v, e, r));
|
|
2540
2540
|
});
|
|
2541
2541
|
var h = d ? s ? vp : Ms : s ? Sl : xl, y = f ? void 0 : h(e);
|
|
@@ -2543,15 +2543,15 @@ function oa(e, t, n, i, o, r) {
|
|
|
2543
2543
|
y && (v = _, _ = e[v]), wl(a, v, oa(_, t, n, v, e, r));
|
|
2544
2544
|
}), a;
|
|
2545
2545
|
}
|
|
2546
|
-
var
|
|
2546
|
+
var Mw = 1, Lw = 4;
|
|
2547
2547
|
function ga(e) {
|
|
2548
|
-
return oa(e,
|
|
2548
|
+
return oa(e, Mw | Lw);
|
|
2549
2549
|
}
|
|
2550
|
-
var
|
|
2551
|
-
function
|
|
2552
|
-
return this.__data__.set(e,
|
|
2550
|
+
var Fw = "__lodash_hash_undefined__";
|
|
2551
|
+
function Kw(e) {
|
|
2552
|
+
return this.__data__.set(e, Fw), this;
|
|
2553
2553
|
}
|
|
2554
|
-
function
|
|
2554
|
+
function jw(e) {
|
|
2555
2555
|
return this.__data__.has(e);
|
|
2556
2556
|
}
|
|
2557
2557
|
function ha(e) {
|
|
@@ -2559,9 +2559,9 @@ function ha(e) {
|
|
|
2559
2559
|
for (this.__data__ = new _i(); ++t < n; )
|
|
2560
2560
|
this.add(e[t]);
|
|
2561
2561
|
}
|
|
2562
|
-
ha.prototype.add = ha.prototype.push =
|
|
2563
|
-
ha.prototype.has =
|
|
2564
|
-
function
|
|
2562
|
+
ha.prototype.add = ha.prototype.push = Kw;
|
|
2563
|
+
ha.prototype.has = jw;
|
|
2564
|
+
function Dw(e, t) {
|
|
2565
2565
|
for (var n = -1, i = e == null ? 0 : e.length; ++n < i; )
|
|
2566
2566
|
if (t(e[n], n, e))
|
|
2567
2567
|
return !0;
|
|
@@ -2570,15 +2570,15 @@ function D0(e, t) {
|
|
|
2570
2570
|
function js(e, t) {
|
|
2571
2571
|
return e.has(t);
|
|
2572
2572
|
}
|
|
2573
|
-
var
|
|
2573
|
+
var qw = 1, Bw = 2;
|
|
2574
2574
|
function kp(e, t, n, i, o, r) {
|
|
2575
|
-
var a = n &
|
|
2575
|
+
var a = n & qw, l = e.length, s = t.length;
|
|
2576
2576
|
if (l != s && !(a && s > l))
|
|
2577
2577
|
return !1;
|
|
2578
2578
|
var d = r.get(e), f = r.get(t);
|
|
2579
2579
|
if (d && f)
|
|
2580
2580
|
return d == t && f == e;
|
|
2581
|
-
var c = -1, p = !0, m = n &
|
|
2581
|
+
var c = -1, p = !0, m = n & Bw ? new ha() : void 0;
|
|
2582
2582
|
for (r.set(e, t), r.set(t, e); ++c < l; ) {
|
|
2583
2583
|
var h = e[c], y = t[c];
|
|
2584
2584
|
if (i)
|
|
@@ -2590,7 +2590,7 @@ function kp(e, t, n, i, o, r) {
|
|
|
2590
2590
|
break;
|
|
2591
2591
|
}
|
|
2592
2592
|
if (m) {
|
|
2593
|
-
if (!
|
|
2593
|
+
if (!Dw(t, function(v, b) {
|
|
2594
2594
|
if (!js(m, b) && (h === v || o(h, v, n, i, r)))
|
|
2595
2595
|
return m.push(b);
|
|
2596
2596
|
})) {
|
|
@@ -2604,19 +2604,19 @@ function kp(e, t, n, i, o, r) {
|
|
|
2604
2604
|
}
|
|
2605
2605
|
return r.delete(e), r.delete(t), p;
|
|
2606
2606
|
}
|
|
2607
|
-
function
|
|
2607
|
+
function Uw(e) {
|
|
2608
2608
|
var t = -1, n = Array(e.size);
|
|
2609
2609
|
return e.forEach(function(i, o) {
|
|
2610
2610
|
n[++t] = [o, i];
|
|
2611
2611
|
}), n;
|
|
2612
2612
|
}
|
|
2613
|
-
function
|
|
2613
|
+
function Vw(e) {
|
|
2614
2614
|
var t = -1, n = Array(e.size);
|
|
2615
2615
|
return e.forEach(function(i) {
|
|
2616
2616
|
n[++t] = i;
|
|
2617
2617
|
}), n;
|
|
2618
2618
|
}
|
|
2619
|
-
var
|
|
2619
|
+
var zw = 1, Gw = 2, Hw = "[object Boolean]", Ww = "[object Date]", Yw = "[object Error]", Jw = "[object Map]", Xw = "[object Number]", Zw = "[object RegExp]", Qw = "[object Set]", ek = "[object String]", tk = "[object Symbol]", nk = "[object ArrayBuffer]", ik = "[object DataView]", Xu = Rn ? Rn.prototype : void 0, ds = Xu ? Xu.valueOf : void 0;
|
|
2620
2620
|
function ok(e, t, n, i, o, r, a) {
|
|
2621
2621
|
switch (n) {
|
|
2622
2622
|
case ik:
|
|
@@ -2625,25 +2625,25 @@ function ok(e, t, n, i, o, r, a) {
|
|
|
2625
2625
|
e = e.buffer, t = t.buffer;
|
|
2626
2626
|
case nk:
|
|
2627
2627
|
return !(e.byteLength != t.byteLength || !r(new gr(e), new gr(t)));
|
|
2628
|
-
case
|
|
2629
|
-
case
|
|
2630
|
-
case
|
|
2628
|
+
case Hw:
|
|
2629
|
+
case Ww:
|
|
2630
|
+
case Xw:
|
|
2631
2631
|
return bl(+e, +t);
|
|
2632
|
-
case
|
|
2632
|
+
case Yw:
|
|
2633
2633
|
return e.name == t.name && e.message == t.message;
|
|
2634
|
-
case
|
|
2634
|
+
case Zw:
|
|
2635
2635
|
case ek:
|
|
2636
2636
|
return e == t + "";
|
|
2637
|
-
case
|
|
2638
|
-
var l =
|
|
2639
|
-
case
|
|
2640
|
-
var s = i &
|
|
2641
|
-
if (l || (l =
|
|
2637
|
+
case Jw:
|
|
2638
|
+
var l = Uw;
|
|
2639
|
+
case Qw:
|
|
2640
|
+
var s = i & zw;
|
|
2641
|
+
if (l || (l = Vw), e.size != t.size && !s)
|
|
2642
2642
|
return !1;
|
|
2643
2643
|
var d = a.get(e);
|
|
2644
2644
|
if (d)
|
|
2645
2645
|
return d == t;
|
|
2646
|
-
i |=
|
|
2646
|
+
i |= Gw, a.set(e, t);
|
|
2647
2647
|
var f = kp(l(e), l(t), i, o, r, a);
|
|
2648
2648
|
return a.delete(e), f;
|
|
2649
2649
|
case tk:
|
|
@@ -5235,8 +5235,8 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
5235
5235
|
function Q($) {
|
|
5236
5236
|
let D = Number.POSITIVE_INFINITY, re = 0, ae = Number.POSITIVE_INFINITY, we = 0, _e = $.graph(), pe = _e.marginx || 0, he = _e.marginy || 0;
|
|
5237
5237
|
function Ke(Be) {
|
|
5238
|
-
let je = Be.x, Ge = Be.y,
|
|
5239
|
-
D = Math.min(D, je -
|
|
5238
|
+
let je = Be.x, Ge = Be.y, Ye = Be.width, rt = Be.height;
|
|
5239
|
+
D = Math.min(D, je - Ye / 2), re = Math.max(re, je + Ye / 2), ae = Math.min(ae, Ge - rt / 2), we = Math.max(we, Ge + rt / 2);
|
|
5240
5240
|
}
|
|
5241
5241
|
$.nodes().forEach((Be) => Ke($.node(Be))), $.edges().forEach((Be) => {
|
|
5242
5242
|
let je = $.edge(Be);
|
|
@@ -6122,7 +6122,7 @@ const [qp, z1] = pl(
|
|
|
6122
6122
|
je(ge.id, !1);
|
|
6123
6123
|
de && s.commit();
|
|
6124
6124
|
}
|
|
6125
|
-
function
|
|
6125
|
+
function Ye(Y, de = !0) {
|
|
6126
6126
|
const fe = G(Y);
|
|
6127
6127
|
for (const ge of fe)
|
|
6128
6128
|
je(ge.id, !1);
|
|
@@ -6271,7 +6271,7 @@ const [qp, z1] = pl(
|
|
|
6271
6271
|
replaceConnection: Be,
|
|
6272
6272
|
disconnectEdge: je,
|
|
6273
6273
|
disconnectInEdges: Ge,
|
|
6274
|
-
disconnectOutEdges:
|
|
6274
|
+
disconnectOutEdges: Ye,
|
|
6275
6275
|
// serialization
|
|
6276
6276
|
toConfigNodes: rt,
|
|
6277
6277
|
toUINodes: ft,
|
|
@@ -6391,12 +6391,12 @@ function G1(e) {
|
|
|
6391
6391
|
const rt = `Expected node '${_e.id}' to have parent, but it does not`;
|
|
6392
6392
|
throw console.error(rt, _e), new Error(rt);
|
|
6393
6393
|
}
|
|
6394
|
-
const Ge = G(Be),
|
|
6394
|
+
const Ge = G(Be), Ye = G(je);
|
|
6395
6395
|
if (Ge) {
|
|
6396
|
-
if (!
|
|
6396
|
+
if (!Ye)
|
|
6397
6397
|
throw new Error(`Cannot find parent node '${je}' for node '${pe.id}' via findNode`);
|
|
6398
6398
|
} else throw new Error(`Cannot find parent node '${Be}' for node '${_e.id}' via findNode`);
|
|
6399
|
-
_e = Ge, pe =
|
|
6399
|
+
_e = Ge, pe = Ye, he--, Ke--;
|
|
6400
6400
|
}
|
|
6401
6401
|
}
|
|
6402
6402
|
const M = l.value.groups.toSorted(($, D) => F(D.ownerId) - F($.ownerId));
|
|
@@ -6445,12 +6445,12 @@ function G1(e) {
|
|
|
6445
6445
|
});
|
|
6446
6446
|
const je = /* @__PURE__ */ new Set();
|
|
6447
6447
|
for (const Ge of O) {
|
|
6448
|
-
const
|
|
6449
|
-
if (!
|
|
6448
|
+
const Ye = (oe ?? a)(Ge.id);
|
|
6449
|
+
if (!Ye) {
|
|
6450
6450
|
console.warn(`Cannot find graph node '${Ge.id}' in ${n} phase`);
|
|
6451
6451
|
continue;
|
|
6452
6452
|
}
|
|
6453
|
-
je.add(Ge.id), Jo(Ge) ? M.setNode(Ge.id, { ...Ge.dimensions ??
|
|
6453
|
+
je.add(Ge.id), Jo(Ge) ? M.setNode(Ge.id, { ...Ge.dimensions ?? Ye.dimensions }) : M.setNode(Ge.id, { ...Ye.dimensions });
|
|
6454
6454
|
}
|
|
6455
6455
|
for (const Ge of r.value)
|
|
6456
6456
|
!je.has(Ge.source) || !je.has(Ge.target) || M.setEdge(Ge.source, Ge.target, { points: [] });
|
|
@@ -6466,13 +6466,13 @@ function G1(e) {
|
|
|
6466
6466
|
if (!M)
|
|
6467
6467
|
throw new Error("Expected dagreGraph to be initialized");
|
|
6468
6468
|
for (const je of O) {
|
|
6469
|
-
const Ge = M.node(je.id),
|
|
6470
|
-
W.push(
|
|
6469
|
+
const Ge = M.node(je.id), Ye = z(Ge);
|
|
6470
|
+
W.push(Ye), Jo(je) ? v(
|
|
6471
6471
|
je.id,
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
) : f(je.id, { x:
|
|
6472
|
+
Ye,
|
|
6473
|
+
Ye.x + uo,
|
|
6474
|
+
Ye.y + uo
|
|
6475
|
+
) : f(je.id, { x: Ye.x, y: Ye.y }, !1);
|
|
6476
6476
|
}
|
|
6477
6477
|
}
|
|
6478
6478
|
const H = W.length > 0 ? Fp(W) : { x: 0, y: 0, width: 0, height: 0 }, U = H.width, $ = H.height, D = H.x, re = H.x + H.width, ae = Math.max(
|
|
@@ -6804,7 +6804,7 @@ function W1({
|
|
|
6804
6804
|
return !1;
|
|
6805
6805
|
}
|
|
6806
6806
|
const F = /* @__PURE__ */ new Map();
|
|
6807
|
-
return
|
|
6807
|
+
return Xe(
|
|
6808
6808
|
() => a.value.groups.filter((M) => M.phase === e).map((M) => {
|
|
6809
6809
|
const W = M.memberIds.map((z) => {
|
|
6810
6810
|
var D, re;
|
|
@@ -6952,7 +6952,7 @@ const [Z1, Q1] = pl(
|
|
|
6952
6952
|
memberGroupMap: Be,
|
|
6953
6953
|
groupNodes: je,
|
|
6954
6954
|
branchEdges: Ge,
|
|
6955
|
-
isBranchEdgeId:
|
|
6955
|
+
isBranchEdgeId: Ye,
|
|
6956
6956
|
updateGroupLayout: rt,
|
|
6957
6957
|
translateGroupTree: ft,
|
|
6958
6958
|
getNodeDepth: qe,
|
|
@@ -7020,7 +7020,7 @@ const [Z1, Q1] = pl(
|
|
|
7020
7020
|
J1({
|
|
7021
7021
|
readonly: o,
|
|
7022
7022
|
flowId: n
|
|
7023
|
-
}),
|
|
7023
|
+
}), Xe([fe, je, Te], ([B, ne, V]) => {
|
|
7024
7024
|
A([...ne, ...B]), I(V);
|
|
7025
7025
|
}, { immediate: !0 });
|
|
7026
7026
|
const g = L(() => ({
|
|
@@ -7035,7 +7035,7 @@ const [Z1, Q1] = pl(
|
|
|
7035
7035
|
return;
|
|
7036
7036
|
const De = z(V);
|
|
7037
7037
|
let Ue = !1, et = !1;
|
|
7038
|
-
const
|
|
7038
|
+
const Je = [], Fe = [], $e = (Ne == null ? void 0 : Ne.io) === "input" ? De.filter(($t) => !$t.targetField) : De.filter(($t) => !!$t.targetField);
|
|
7039
7039
|
$e.length > 0 && (Ue = !0, $e.forEach(($t) => {
|
|
7040
7040
|
Fe.push(aa($t, X)), W($t.id, !1);
|
|
7041
7041
|
}));
|
|
@@ -7059,7 +7059,7 @@ const [Z1, Q1] = pl(
|
|
|
7059
7059
|
});
|
|
7060
7060
|
return;
|
|
7061
7061
|
}
|
|
7062
|
-
if (
|
|
7062
|
+
if (Je.push(
|
|
7063
7063
|
zs(
|
|
7064
7064
|
B,
|
|
7065
7065
|
Se == null ? void 0 : Se.field,
|
|
@@ -7072,7 +7072,7 @@ const [Z1, Q1] = pl(
|
|
|
7072
7072
|
throw $(), new Error("Expected confirm modal to be provided here when reachable");
|
|
7073
7073
|
if (!await c(
|
|
7074
7074
|
m(Ue ? "plugins.free-form.datakit.flow_editor.confirm.message.switch" : "plugins.free-form.datakit.flow_editor.confirm.message.override"),
|
|
7075
|
-
|
|
7075
|
+
Je,
|
|
7076
7076
|
Fe
|
|
7077
7077
|
)) {
|
|
7078
7078
|
$();
|
|
@@ -7102,12 +7102,12 @@ const [Z1, Q1] = pl(
|
|
|
7102
7102
|
var De, Ue, et;
|
|
7103
7103
|
if (!B) return;
|
|
7104
7104
|
if (re(B.id)) {
|
|
7105
|
-
const
|
|
7106
|
-
_e(
|
|
7107
|
-
const Fe = D.value.get(
|
|
7105
|
+
const Je = B.id;
|
|
7106
|
+
_e(Je), Y(void 0);
|
|
7107
|
+
const Fe = D.value.get(Je);
|
|
7108
7108
|
if (!Fe) return;
|
|
7109
7109
|
const $e = Fe.position ?? { ...B.position }, _t = B.position.x - $e.x, Dn = B.position.y - $e.y;
|
|
7110
|
-
ft(
|
|
7110
|
+
ft(Je, B.position, _t, Dn);
|
|
7111
7111
|
const $t = Be.value.get(Fe.ownerId);
|
|
7112
7112
|
$t && rt($t.id, !1);
|
|
7113
7113
|
return;
|
|
@@ -7117,21 +7117,21 @@ const [Z1, Q1] = pl(
|
|
|
7117
7117
|
const Ee = B.parentNode;
|
|
7118
7118
|
let Se = { ...B.position };
|
|
7119
7119
|
if (Ee && re(Ee)) {
|
|
7120
|
-
const
|
|
7121
|
-
|
|
7122
|
-
x:
|
|
7123
|
-
y:
|
|
7120
|
+
const Je = D.value.get(Ee);
|
|
7121
|
+
Je != null && Je.position && (Se = {
|
|
7122
|
+
x: Je.position.x + B.position.x,
|
|
7123
|
+
y: Je.position.y + B.position.y
|
|
7124
7124
|
});
|
|
7125
7125
|
}
|
|
7126
7126
|
if (G(V, Se, !1), !vr(X(V))) {
|
|
7127
|
-
const
|
|
7127
|
+
const Je = {
|
|
7128
7128
|
x: Se.x,
|
|
7129
7129
|
y: Se.y,
|
|
7130
7130
|
width: ((De = B.dimensions) == null ? void 0 : De.width) ?? 0,
|
|
7131
7131
|
height: ((Ue = B.dimensions) == null ? void 0 : Ue.height) ?? 0
|
|
7132
7132
|
}, Fe = ne && "clientX" in ne ? R({ x: ne.clientX, y: ne.clientY }) : void 0, $e = {
|
|
7133
|
-
x:
|
|
7134
|
-
y:
|
|
7133
|
+
x: Je.x + Je.width / 2,
|
|
7134
|
+
y: Je.y + Je.height / 2
|
|
7135
7135
|
};
|
|
7136
7136
|
Y(Fe ?? $e);
|
|
7137
7137
|
}
|
|
@@ -7158,7 +7158,7 @@ const [Z1, Q1] = pl(
|
|
|
7158
7158
|
Se && rt(Se, !1), Me(ne), de(), Q();
|
|
7159
7159
|
}), k((B) => {
|
|
7160
7160
|
B.filter((Ee) => Ee.type === "select").sort((Ee, Se) => Ee.selected === Se.selected ? 0 : Ee.selected ? 1 : -1).forEach((Ee) => {
|
|
7161
|
-
|
|
7161
|
+
Ye(Ee.id) || (Vp = Ee.selected ? Ee.id : void 0, I((Se) => Se.map((Ne) => Ne.id !== Ee.id || !Ne.markerEnd ? Ne : Va({
|
|
7162
7162
|
...Ne,
|
|
7163
7163
|
zIndex: Ee.selected ? 1 : void 0
|
|
7164
7164
|
}))));
|
|
@@ -7166,16 +7166,16 @@ const [Z1, Q1] = pl(
|
|
|
7166
7166
|
let V = !1;
|
|
7167
7167
|
B.forEach((Ee) => {
|
|
7168
7168
|
if (Ee.type === "remove") {
|
|
7169
|
-
if (
|
|
7169
|
+
if (Ye(Ee.id)) return;
|
|
7170
7170
|
V = !0, W(Ee.id, !1);
|
|
7171
7171
|
}
|
|
7172
7172
|
}), V && !ce && (ce = !0, queueMicrotask(ve));
|
|
7173
7173
|
}), T(({ edge: B }) => {
|
|
7174
|
-
|
|
7174
|
+
Ye(B.id) || (Hs = B.id, I((ne) => ne.map((V) => V.id !== B.id ? V : Va(V))));
|
|
7175
7175
|
}), P(({ edge: B }) => {
|
|
7176
|
-
|
|
7176
|
+
Ye(B.id) || (Hs = void 0, I((ne) => ne.map((V) => V.id !== B.id ? V : Va(V))));
|
|
7177
7177
|
}), w(({ edge: B, connection: ne }) => {
|
|
7178
|
-
|
|
7178
|
+
Ye(B.id) || (W(B.id, !1), te(ne));
|
|
7179
7179
|
});
|
|
7180
7180
|
function be(B) {
|
|
7181
7181
|
y({
|
|
@@ -7194,9 +7194,9 @@ const [Z1, Q1] = pl(
|
|
|
7194
7194
|
function K(B) {
|
|
7195
7195
|
const ne = q.value.filter(({ type: $e }) => $e !== "group"), V = ne.find(({ id: $e }) => $e === B);
|
|
7196
7196
|
if (!V) throw new Error(`Node ${B} not found`);
|
|
7197
|
-
const { x: Ee, y: Se } = V.data.position, { width: Ne, height: De } = V.dimensions, Ue = Se, et = Se + De,
|
|
7197
|
+
const { x: Ee, y: Se } = V.data.position, { width: Ne, height: De } = V.dimensions, Ue = Se, et = Se + De, Je = ne.filter(({ id: $e }) => $e !== B).filter(({ data: { position: { y: $e } }, dimensions: { height: _t } }) => $e < et && $e + _t > Ue).map(({ data: { position: { x: $e } }, dimensions: { width: _t } }) => ({ left: $e, right: $e + _t })).sort(($e, _t) => $e.left - _t.left);
|
|
7198
7198
|
let Fe = Ee + Ne + s;
|
|
7199
|
-
for (const { left: $e, right: _t } of
|
|
7199
|
+
for (const { left: $e, right: _t } of Je)
|
|
7200
7200
|
if (!(_t <= Fe)) {
|
|
7201
7201
|
if (Fe + Ne <= $e) return { x: Fe, y: Ue };
|
|
7202
7202
|
Fe = Math.max(Fe, _t) + s;
|
|
@@ -7210,11 +7210,11 @@ const [Z1, Q1] = pl(
|
|
|
7210
7210
|
const {
|
|
7211
7211
|
position: { x: V },
|
|
7212
7212
|
dimensions: { width: Ee }
|
|
7213
|
-
} = ne, Se = V + Ee, { viewport: Ne, dimensions: De, setViewport: Ue } = d, { x: et, y:
|
|
7213
|
+
} = ne, Se = V + Ee, { viewport: Ne, dimensions: De, setViewport: Ue } = d, { x: et, y: Je, zoom: Fe } = Ne.value, { width: $e } = De.value, _t = V * Fe + et, Dn = Se * Fe + et, $t = $e - Id - s;
|
|
7214
7214
|
if (Dn <= $t) return;
|
|
7215
7215
|
let Jt = $t - Dn;
|
|
7216
7216
|
_t + Jt < 0 && (Jt = -_t), Jt !== 0 && Ue(
|
|
7217
|
-
{ x: et + Jt, y:
|
|
7217
|
+
{ x: et + Jt, y: Je, zoom: Fe },
|
|
7218
7218
|
{ duration: by }
|
|
7219
7219
|
);
|
|
7220
7220
|
}
|
|
@@ -7561,13 +7561,13 @@ const aC = {
|
|
|
7561
7561
|
function W() {
|
|
7562
7562
|
c.removeMember(e.data.id);
|
|
7563
7563
|
}
|
|
7564
|
-
return
|
|
7564
|
+
return Xe(y, (z) => {
|
|
7565
7565
|
z || l(e.data.id, "input", !0, !0, "*");
|
|
7566
|
-
}, { immediate: !0 }),
|
|
7566
|
+
}, { immediate: !0 }), Xe(_, (z) => {
|
|
7567
7567
|
z || l(e.data.id, "output", !0, !0, "*");
|
|
7568
|
-
}, { immediate: !0 }),
|
|
7568
|
+
}, { immediate: !0 }), Xe(() => e.data.fields.input, (z, H) => {
|
|
7569
7569
|
en(z, H) || l(e.data.id, "input", z.length > 0, !0, "*");
|
|
7570
|
-
}, { deep: !0 }),
|
|
7570
|
+
}, { deep: !0 }), Xe(() => e.data.fields.output, (z, H) => {
|
|
7571
7571
|
en(z, H) || l(e.data.id, "output", z.length > 0, !0, "*");
|
|
7572
7572
|
}, { deep: !0 }), (z, H) => (S(), le("div", {
|
|
7573
7573
|
class: yt(["dk-flow-node", {
|
|
@@ -8417,7 +8417,7 @@ const Ri = (e) => {
|
|
|
8417
8417
|
};
|
|
8418
8418
|
return Cn(() => {
|
|
8419
8419
|
t.realms === void 0 && c();
|
|
8420
|
-
}),
|
|
8420
|
+
}), Xe(() => t.realms, (h) => {
|
|
8421
8421
|
h && (f.value = [r, ...h.map((y) => ({
|
|
8422
8422
|
...y,
|
|
8423
8423
|
group: o("custom_field.key_auth_identity_realms.realm_group_label")
|
|
@@ -10764,7 +10764,7 @@ function GE(e) {
|
|
|
10764
10764
|
};
|
|
10765
10765
|
}
|
|
10766
10766
|
const Qs = Symbol("ff-render-rule-exact-match");
|
|
10767
|
-
function
|
|
10767
|
+
function qF(e) {
|
|
10768
10768
|
return { [Qs]: e };
|
|
10769
10769
|
}
|
|
10770
10770
|
function HE(e, t) {
|
|
@@ -10914,14 +10914,14 @@ ${P}`
|
|
|
10914
10914
|
parentValue: b,
|
|
10915
10915
|
omittedFields: x
|
|
10916
10916
|
} = y;
|
|
10917
|
-
|
|
10917
|
+
Xe([
|
|
10918
10918
|
() => bt(v),
|
|
10919
10919
|
() => bt(_)
|
|
10920
10920
|
], ([k, w], [, T]) => {
|
|
10921
10921
|
k ? n.value[w] = k : delete n.value[w], T && T !== w && delete n.value[T];
|
|
10922
10922
|
}, { immediate: !0, deep: !0 });
|
|
10923
10923
|
const E = p(_);
|
|
10924
|
-
return
|
|
10924
|
+
return Xe(
|
|
10925
10925
|
[
|
|
10926
10926
|
() => bt(b),
|
|
10927
10927
|
() => {
|
|
@@ -11099,11 +11099,11 @@ const [ex, tx] = pl(
|
|
|
11099
11099
|
}
|
|
11100
11100
|
return f.deserialize(R);
|
|
11101
11101
|
}
|
|
11102
|
-
|
|
11102
|
+
Xe(p, () => {
|
|
11103
11103
|
o == null || o(T());
|
|
11104
11104
|
}, { deep: !0 });
|
|
11105
11105
|
let P = !1;
|
|
11106
|
-
|
|
11106
|
+
Xe(() => i == null ? void 0 : i.value, (O) => {
|
|
11107
11107
|
P && en(T(), bt(O)) || (k(O), P = !0);
|
|
11108
11108
|
}, { deep: !0, immediate: !0 });
|
|
11109
11109
|
function q(O) {
|
|
@@ -11209,7 +11209,7 @@ function Vl(e, t) {
|
|
|
11209
11209
|
const s = i.has(l) ? i.get(l) : o();
|
|
11210
11210
|
return i.set(l, s), n.set(a, s), s;
|
|
11211
11211
|
}
|
|
11212
|
-
return
|
|
11212
|
+
return Xe(t, (a) => {
|
|
11213
11213
|
const l = bt(a), s = /* @__PURE__ */ new Set();
|
|
11214
11214
|
l.forEach((d, f) => {
|
|
11215
11215
|
s.add(f);
|
|
@@ -11219,7 +11219,7 @@ function Vl(e, t) {
|
|
|
11219
11219
|
}, { immediate: !0, deep: !0 }), { getKey: r };
|
|
11220
11220
|
}
|
|
11221
11221
|
function ix(e, t) {
|
|
11222
|
-
|
|
11222
|
+
Xe(e, (n) => {
|
|
11223
11223
|
window[Yo] || (window[Yo] = {}), window[Yo][t] = Tr(n);
|
|
11224
11224
|
}, { immediate: !0, deep: !0 }), $r(() => {
|
|
11225
11225
|
window[Yo] && delete window[Yo][t];
|
|
@@ -11272,7 +11272,7 @@ function ax(e, t) {
|
|
|
11272
11272
|
parentPath: r.value,
|
|
11273
11273
|
isolate: o
|
|
11274
11274
|
});
|
|
11275
|
-
return
|
|
11275
|
+
return Xe([Ct(t), Ct(n)], ([l, s]) => {
|
|
11276
11276
|
var p;
|
|
11277
11277
|
const { parentPath: d, isolate: f } = s, c = d ? wt(d, e) : e;
|
|
11278
11278
|
if (l) {
|
|
@@ -11369,7 +11369,7 @@ function Gl(e, t) {
|
|
|
11369
11369
|
}
|
|
11370
11370
|
return _;
|
|
11371
11371
|
}, y = null;
|
|
11372
|
-
|
|
11372
|
+
Xe(() => n == null ? void 0 : n.value, (_) => {
|
|
11373
11373
|
const v = h();
|
|
11374
11374
|
en(y, v) || (y = v, t == null || t(v));
|
|
11375
11375
|
}, { deep: !0 });
|
|
@@ -11549,7 +11549,7 @@ const Ro = /* @__PURE__ */ Oe({
|
|
|
11549
11549
|
emits: ["update:modelValue"],
|
|
11550
11550
|
setup(e, { emit: t }) {
|
|
11551
11551
|
const n = e, i = ri(), o = t, r = L(() => n.multiline ? Kg : jg), a = L(() => i.characterLimit ?? (n.multiline ? !1 : void 0)), l = me(n.modelValue);
|
|
11552
|
-
|
|
11552
|
+
Xe(() => n.modelValue, (c) => {
|
|
11553
11553
|
l.value = c;
|
|
11554
11554
|
});
|
|
11555
11555
|
const { config: s } = gt(), d = (c) => {
|
|
@@ -11762,7 +11762,7 @@ const Ro = /* @__PURE__ */ Oe({
|
|
|
11762
11762
|
r.value = v, o("update:modelValue", v);
|
|
11763
11763
|
}
|
|
11764
11764
|
const h = L(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : eo(e.name) === "name");
|
|
11765
|
-
return
|
|
11765
|
+
return Xe(r, (y) => {
|
|
11766
11766
|
const _ = y ? c(y) : "";
|
|
11767
11767
|
c(p(f.value)) !== _ && (f.value = _);
|
|
11768
11768
|
}, { immediate: !0 }), (y, _) => {
|
|
@@ -12236,7 +12236,7 @@ const Ro = /* @__PURE__ */ Oe({
|
|
|
12236
12236
|
function E() {
|
|
12237
12237
|
f.value ? i.value = l(r.path.value) : i.value = null;
|
|
12238
12238
|
}
|
|
12239
|
-
return
|
|
12239
|
+
return Xe(y, (k) => {
|
|
12240
12240
|
e.collapsible && (c.value = k);
|
|
12241
12241
|
}), Hi(() => {
|
|
12242
12242
|
if (r.error || !i) return;
|
|
@@ -12592,7 +12592,7 @@ const Ro = /* @__PURE__ */ Oe({
|
|
|
12592
12592
|
r.value = m, o("update:modelValue", m);
|
|
12593
12593
|
}
|
|
12594
12594
|
const c = L(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : eo(e.name) === "name");
|
|
12595
|
-
return
|
|
12595
|
+
return Xe(r, (p) => {
|
|
12596
12596
|
if (p && typeof p == "object") {
|
|
12597
12597
|
try {
|
|
12598
12598
|
const m = JSON.parse(d.value);
|
|
@@ -13812,7 +13812,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
13812
13812
|
}
|
|
13813
13813
|
F(g, "unexpected end of the stream within a double quoted scalar");
|
|
13814
13814
|
}
|
|
13815
|
-
function
|
|
13815
|
+
function Ye(g, te) {
|
|
13816
13816
|
let ce = !0, ve, be, Pe;
|
|
13817
13817
|
const K = g.tag;
|
|
13818
13818
|
let ke;
|
|
@@ -13975,7 +13975,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
13975
13975
|
B === null && (B = De), pe(g, !0, -1) ? (Me = !0, K = Se, g.lineIndent > te ? ke = 1 : g.lineIndent === te ? ke = 0 : g.lineIndent < te && (ke = -1)) : K = !1;
|
|
13976
13976
|
}
|
|
13977
13977
|
if (K && (K = Me || be), ke === 1 || f === ce)
|
|
13978
|
-
if (l === ce || s === ce ? V = te : V = te + 1, Ee = g.position - g.lineStart, ke === 1) if (K && (ft(g, Ee) || qe(g, Ee, V)) ||
|
|
13978
|
+
if (l === ce || s === ce ? V = te : V = te + 1, Ee = g.position - g.lineStart, ke === 1) if (K && (ft(g, Ee) || qe(g, Ee, V)) || Ye(g, V)) Ie = !0;
|
|
13979
13979
|
else {
|
|
13980
13980
|
const Ne = g.input.charCodeAt(g.position);
|
|
13981
13981
|
B !== null && Se && !K && Ne !== 124 && Ne !== 62 && Y(g, B, B.position - B.lineStart, V) || Pe && rt(g, V) || je(g, V) || Ge(g, V) ? Ie = !0 : ie(g) ? (Ie = !0, (g.tag !== null || g.anchor !== null) && F(g, "alias node should not have any properties")) : Be(g, V, l === ce) && (Ie = !0, g.tag === null && (g.tag = "?")), g.anchor !== null && M(g, g.anchor, g.result);
|
|
@@ -14151,10 +14151,10 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14151
14151
|
function Be(K) {
|
|
14152
14152
|
return /^\n* /.test(K);
|
|
14153
14153
|
}
|
|
14154
|
-
var je = 1, Ge = 2,
|
|
14154
|
+
var je = 1, Ge = 2, Ye = 3, rt = 4, ft = 5;
|
|
14155
14155
|
function qe(K, ke, Me, Ie, B, ne, V, Ee) {
|
|
14156
14156
|
let Se, Ne = 0, De = null, Ue = !1, et = !1;
|
|
14157
|
-
const
|
|
14157
|
+
const Je = Ie !== -1;
|
|
14158
14158
|
let Fe = -1, $e = pe(Ke(K, 0)) && he(Ke(K, K.length - 1));
|
|
14159
14159
|
if (ke || V) for (Se = 0; Se < K.length; Ne >= 65536 ? Se += 2 : Se++) {
|
|
14160
14160
|
if (Ne = Ke(K, Se), !ae(Ne)) return ft;
|
|
@@ -14163,13 +14163,13 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14163
14163
|
else {
|
|
14164
14164
|
for (Se = 0; Se < K.length; Ne >= 65536 ? Se += 2 : Se++) {
|
|
14165
14165
|
if (Ne = Ke(K, Se), Ne === d)
|
|
14166
|
-
Ue = !0,
|
|
14166
|
+
Ue = !0, Je && (et = et || Se - Fe - 1 > Ie && K[Fe + 1] !== " ", Fe = Se);
|
|
14167
14167
|
else if (!ae(Ne)) return ft;
|
|
14168
14168
|
$e = $e && _e(Ne, De, Ee), De = Ne;
|
|
14169
14169
|
}
|
|
14170
|
-
et = et ||
|
|
14170
|
+
et = et || Je && Se - Fe - 1 > Ie && K[Fe + 1] !== " ";
|
|
14171
14171
|
}
|
|
14172
|
-
return !Ue && !et ? $e && !V && !B(K) ? je : ne === z ? ft : Ge : Me > 9 && Be(K) ? ft : V ? ne === z ? ft : Ge : et ? rt :
|
|
14172
|
+
return !Ue && !et ? $e && !V && !B(K) ? je : ne === z ? ft : Ge : Me > 9 && Be(K) ? ft : V ? ne === z ? ft : Ge : et ? rt : Ye;
|
|
14173
14173
|
}
|
|
14174
14174
|
function Ce(K, ke, Me, Ie, B) {
|
|
14175
14175
|
K.dump = function() {
|
|
@@ -14185,7 +14185,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14185
14185
|
return ke;
|
|
14186
14186
|
case Ge:
|
|
14187
14187
|
return "'" + ke.replace(/'/g, "''") + "'";
|
|
14188
|
-
case
|
|
14188
|
+
case Ye:
|
|
14189
14189
|
return "|" + se(ke, K.indent) + ie(U(ke, ne));
|
|
14190
14190
|
case rt:
|
|
14191
14191
|
return ">" + se(ke, K.indent) + ie(U(Y(ke, V), ne));
|
|
@@ -14382,7 +14382,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14382
14382
|
seq: lf(),
|
|
14383
14383
|
str: sf()
|
|
14384
14384
|
}, t.exports.safeLoad = o("safeLoad", "load"), t.exports.safeLoadAll = o("safeLoadAll", "loadAll"), t.exports.safeDump = o("safeDump", "dump");
|
|
14385
|
-
}))()), { Type:
|
|
14385
|
+
}))()), { Type: BF, Schema: UF, FAILSAFE_SCHEMA: VF, JSON_SCHEMA: Fi, CORE_SCHEMA: zF, DEFAULT_SCHEMA: GF, load: HF, loadAll: WF, dump: YF, YAMLException: JF, types: XF, safeLoad: ZF, safeLoadAll: QF, safeDump: eK } = Cf.default, Pn = Cf.default;
|
|
14386
14386
|
const hS = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
14387
14387
|
function ci() {
|
|
14388
14388
|
return { lenses: [], dispose: () => {
|
|
@@ -19765,7 +19765,7 @@ const HA = {
|
|
|
19765
19765
|
}
|
|
19766
19766
|
}
|
|
19767
19767
|
};
|
|
19768
|
-
return
|
|
19768
|
+
return Xe(() => p.value, () => {
|
|
19769
19769
|
oe();
|
|
19770
19770
|
}), Hi(() => {
|
|
19771
19771
|
var M;
|
|
@@ -19773,7 +19773,7 @@ const HA = {
|
|
|
19773
19773
|
const W = o.defaultRedisConfigItem || ((M = v == null ? void 0 : v.value) == null ? void 0 : M[0].id);
|
|
19774
19774
|
F(W), p.value = !0;
|
|
19775
19775
|
} else b != null && b.value && (y.value = b.value);
|
|
19776
|
-
}),
|
|
19776
|
+
}), Xe(() => x == null ? void 0 : x.value, (M) => {
|
|
19777
19777
|
p.value && (M && v.value ? v.value = l ? null : void 0 : M || _.value && (v.value = _.value, F(_.value[0].id)));
|
|
19778
19778
|
}), (M, W) => {
|
|
19779
19779
|
const z = xe("KBadge"), H = xe("KRadio"), U = xe("KCard");
|
|
@@ -20409,7 +20409,7 @@ const HA = {
|
|
|
20409
20409
|
], 64));
|
|
20410
20410
|
}
|
|
20411
20411
|
}), wI = /* @__PURE__ */ Ve(bI, [["__scopeId", "data-v-e2f4cda4"]]), pm = Symbol.for("kong-ui-public.entities-plugins.free-form-plugin-layout");
|
|
20412
|
-
function
|
|
20412
|
+
function tK(e) {
|
|
20413
20413
|
Lt(pm, e);
|
|
20414
20414
|
}
|
|
20415
20415
|
const li = /* @__PURE__ */ Oe({
|
|
@@ -20455,7 +20455,7 @@ const li = /* @__PURE__ */ Oe({
|
|
|
20455
20455
|
__name: "ACLModeCard",
|
|
20456
20456
|
setup(e) {
|
|
20457
20457
|
const { formData: t } = gt(), { i18n: { t: n } } = it(), i = me("allow"), o = me(!1), r = me({});
|
|
20458
|
-
|
|
20458
|
+
Xe(() => t.config, (l) => {
|
|
20459
20459
|
if (o.value || !l) return;
|
|
20460
20460
|
const s = l.deny, d = l.allow;
|
|
20461
20461
|
Array.isArray(s) && s.length > 0 ? i.value = "deny" : Array.isArray(d) && d.length > 0 && (i.value = "allow");
|
|
@@ -20672,16 +20672,16 @@ const li = /* @__PURE__ */ Oe({
|
|
|
20672
20672
|
}, 16));
|
|
20673
20673
|
}
|
|
20674
20674
|
});
|
|
20675
|
-
function
|
|
20675
|
+
function We(e = {}) {
|
|
20676
20676
|
return {
|
|
20677
20677
|
...e,
|
|
20678
20678
|
component: e.component ?? mm
|
|
20679
20679
|
};
|
|
20680
20680
|
}
|
|
20681
|
-
const TI =
|
|
20681
|
+
const TI = We({
|
|
20682
20682
|
experimental: !0,
|
|
20683
20683
|
component: xI
|
|
20684
|
-
}), $I =
|
|
20684
|
+
}), $I = We({
|
|
20685
20685
|
fieldRenderers: [
|
|
20686
20686
|
{
|
|
20687
20687
|
match: "config.functions",
|
|
@@ -20769,13 +20769,13 @@ const TI = Xe({
|
|
|
20769
20769
|
_: 1
|
|
20770
20770
|
}, 16));
|
|
20771
20771
|
}
|
|
20772
|
-
}), OI =
|
|
20772
|
+
}), OI = We({
|
|
20773
20773
|
component: PI
|
|
20774
|
-
}), NI =
|
|
20774
|
+
}), NI = We({
|
|
20775
20775
|
experimental: !0
|
|
20776
|
-
}), RI =
|
|
20776
|
+
}), RI = We({
|
|
20777
20777
|
experimental: !0
|
|
20778
|
-
}), MI =
|
|
20778
|
+
}), MI = We({
|
|
20779
20779
|
experimental: !0,
|
|
20780
20780
|
fieldRenderers: [
|
|
20781
20781
|
{
|
|
@@ -20796,7 +20796,7 @@ const TI = Xe({
|
|
|
20796
20796
|
}
|
|
20797
20797
|
}
|
|
20798
20798
|
]
|
|
20799
|
-
}), LI =
|
|
20799
|
+
}), LI = We({
|
|
20800
20800
|
experimental: !0,
|
|
20801
20801
|
fieldRenderers: [
|
|
20802
20802
|
{
|
|
@@ -20839,9 +20839,9 @@ const TI = Xe({
|
|
|
20839
20839
|
}
|
|
20840
20840
|
}
|
|
20841
20841
|
]
|
|
20842
|
-
}), FI =
|
|
20842
|
+
}), FI = We({
|
|
20843
20843
|
experimental: !0
|
|
20844
|
-
}), KI =
|
|
20844
|
+
}), KI = We({
|
|
20845
20845
|
experimental: !0,
|
|
20846
20846
|
renderRules: {
|
|
20847
20847
|
bundles: [
|
|
@@ -20851,7 +20851,7 @@ const TI = Xe({
|
|
|
20851
20851
|
"config.redis": ["config.strategy", "redis"]
|
|
20852
20852
|
}
|
|
20853
20853
|
}
|
|
20854
|
-
}), jI =
|
|
20854
|
+
}), jI = We({
|
|
20855
20855
|
experimental: !0,
|
|
20856
20856
|
fieldRenderers: [
|
|
20857
20857
|
{
|
|
@@ -20863,7 +20863,7 @@ const TI = Xe({
|
|
|
20863
20863
|
}
|
|
20864
20864
|
}
|
|
20865
20865
|
]
|
|
20866
|
-
}), DI =
|
|
20866
|
+
}), DI = We({
|
|
20867
20867
|
experimental: !0,
|
|
20868
20868
|
fieldRenderers: [
|
|
20869
20869
|
{
|
|
@@ -20913,15 +20913,15 @@ const TI = Xe({
|
|
|
20913
20913
|
"config.vectordb.redis.cloud_authentication.azure_client_secret": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"],
|
|
20914
20914
|
"config.vectordb.redis.cloud_authentication.azure_tenant_id": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"]
|
|
20915
20915
|
}
|
|
20916
|
-
}, qI =
|
|
20916
|
+
}, qI = We({
|
|
20917
20917
|
experimental: !0,
|
|
20918
20918
|
fieldRenderers: gm,
|
|
20919
20919
|
renderRules: hm
|
|
20920
|
-
}), BI =
|
|
20920
|
+
}), BI = We({
|
|
20921
20921
|
experimental: !0,
|
|
20922
20922
|
fieldRenderers: gm,
|
|
20923
20923
|
renderRules: hm
|
|
20924
|
-
}), UI =
|
|
20924
|
+
}), UI = We({
|
|
20925
20925
|
experimental: !0
|
|
20926
20926
|
}), VI = {
|
|
20927
20927
|
class: "kong-identity-field",
|
|
@@ -21221,14 +21221,14 @@ const TI = Xe({
|
|
|
21221
21221
|
return !Array.isArray(H) || H.length === 0 ? !1 : H.some((U) => U.scope !== "cp" && U.id != null);
|
|
21222
21222
|
}
|
|
21223
21223
|
const O = me(A());
|
|
21224
|
-
|
|
21224
|
+
Xe(
|
|
21225
21225
|
() => s == null ? void 0 : s.principalsDirectoryName,
|
|
21226
21226
|
(H) => {
|
|
21227
21227
|
var U;
|
|
21228
21228
|
a != null && a.value || O.value !== "kong-identity" || H == null || (U = c.config) != null && U.principals && (c.config.principals.directory = H);
|
|
21229
21229
|
},
|
|
21230
21230
|
{ immediate: !0 }
|
|
21231
|
-
),
|
|
21231
|
+
), Xe(O, (H) => {
|
|
21232
21232
|
var $;
|
|
21233
21233
|
if (H !== "kong-identity") return;
|
|
21234
21234
|
const U = s == null ? void 0 : s.principalsDirectoryName;
|
|
@@ -21241,11 +21241,11 @@ const TI = Xe({
|
|
|
21241
21241
|
}
|
|
21242
21242
|
), j = me(!1), Q = me(!1);
|
|
21243
21243
|
let G = !1;
|
|
21244
|
-
|
|
21244
|
+
Xe(O, async (H) => {
|
|
21245
21245
|
H === "centrally-managed" && (j.value = !1, Q.value = !1, G = !1, await on(), G = !0);
|
|
21246
21246
|
}), Cn(() => {
|
|
21247
21247
|
O.value === "centrally-managed" && (G = !0);
|
|
21248
|
-
}),
|
|
21248
|
+
}), Xe(() => {
|
|
21249
21249
|
var H;
|
|
21250
21250
|
return (H = c.config) == null ? void 0 : H.identity_realms;
|
|
21251
21251
|
}, () => {
|
|
@@ -21381,7 +21381,7 @@ const TI = Xe({
|
|
|
21381
21381
|
_: 1
|
|
21382
21382
|
}, 16));
|
|
21383
21383
|
}
|
|
21384
|
-
}), oT =
|
|
21384
|
+
}), oT = We({
|
|
21385
21385
|
experimental: !0,
|
|
21386
21386
|
component: bm,
|
|
21387
21387
|
renderRules: {
|
|
@@ -21398,9 +21398,9 @@ const TI = Xe({
|
|
|
21398
21398
|
}
|
|
21399
21399
|
}
|
|
21400
21400
|
]
|
|
21401
|
-
}), aT =
|
|
21401
|
+
}), aT = We({
|
|
21402
21402
|
experimental: !0
|
|
21403
|
-
}), rT =
|
|
21403
|
+
}), rT = We({
|
|
21404
21404
|
experimental: !0,
|
|
21405
21405
|
fieldRenderers: [
|
|
21406
21406
|
{
|
|
@@ -21412,7 +21412,7 @@ const TI = Xe({
|
|
|
21412
21412
|
}
|
|
21413
21413
|
}
|
|
21414
21414
|
]
|
|
21415
|
-
}), sT =
|
|
21415
|
+
}), sT = We({
|
|
21416
21416
|
experimental: !0,
|
|
21417
21417
|
fieldRenderers: [
|
|
21418
21418
|
{
|
|
@@ -21424,9 +21424,9 @@ const TI = Xe({
|
|
|
21424
21424
|
}
|
|
21425
21425
|
}
|
|
21426
21426
|
]
|
|
21427
|
-
}), lT =
|
|
21427
|
+
}), lT = We({
|
|
21428
21428
|
experimental: !0
|
|
21429
|
-
}), uT =
|
|
21429
|
+
}), uT = We({
|
|
21430
21430
|
experimental: !0,
|
|
21431
21431
|
fieldRenderers: [
|
|
21432
21432
|
{
|
|
@@ -21709,7 +21709,7 @@ nodes:
|
|
|
21709
21709
|
const n = e.replace(/^\.\//, "").replace(/\.yaml$/, "");
|
|
21710
21710
|
return {
|
|
21711
21711
|
id: n,
|
|
21712
|
-
i18nKey:
|
|
21712
|
+
i18nKey: a0(n),
|
|
21713
21713
|
code: t
|
|
21714
21714
|
};
|
|
21715
21715
|
});
|
|
@@ -21944,17 +21944,17 @@ const PT = { class: "label-content" }, OT = { class: "count" }, NT = { class: "l
|
|
|
21944
21944
|
setup(e) {
|
|
21945
21945
|
const { t } = Yt("en-us", nn), n = me(!1), i = me(!1), { responsePanelCollapsed: o } = is(), { state: r, configNodeCounts: a, clearPendingLayout: l, setPendingFitView: s, commit: d, clear: f, portalSelection: c } = qt(), p = Sa(), m = `${p}-request`, h = `${p}-response`, y = bo(m), _ = bo(h);
|
|
21946
21946
|
function v(pe, he) {
|
|
21947
|
-
const { onPaneClick: Ke, onNodesChange: Be, onEdgesChange: je, getSelectedNodes: Ge, getSelectedEdges:
|
|
21947
|
+
const { onPaneClick: Ke, onNodesChange: Be, onEdgesChange: je, getSelectedNodes: Ge, getSelectedEdges: Ye } = pe, { removeSelectedElements: rt } = he;
|
|
21948
21948
|
function ft(qe) {
|
|
21949
21949
|
if (!qe) {
|
|
21950
21950
|
rt();
|
|
21951
21951
|
return;
|
|
21952
21952
|
}
|
|
21953
|
-
qe.some((Ce) => Ce.type === "select") && Ge.value.length +
|
|
21953
|
+
qe.some((Ce) => Ce.type === "select") && Ge.value.length + Ye.value.length > 0 && rt();
|
|
21954
21954
|
}
|
|
21955
21955
|
Be(ft), je(ft), Ke(() => ft());
|
|
21956
21956
|
}
|
|
21957
|
-
v(y, _), v(_, y),
|
|
21957
|
+
v(y, _), v(_, y), Xe(c, (pe) => {
|
|
21958
21958
|
pe && (y.removeSelectedElements(), _.removeSelectedElements());
|
|
21959
21959
|
});
|
|
21960
21960
|
const b = xt("flowPanels"), x = xt("requestLabel"), E = xt("requestCanvasContainer"), k = xt("requestFlow"), w = xt("resizeHandle"), T = xt("responseLabel"), P = xt("responseCanvasContainer"), q = xt("responseFlow"), A = Ni(b), I = Ni(x), O = Ni(E), R = Ni(w), j = Ni(T), Q = Ni(P), G = L(() => Math.max(MT, A.height.value * Cs)), oe = L(
|
|
@@ -21977,7 +21977,7 @@ const PT = { class: "label-content" }, OT = { class: "count" }, NT = { class: "l
|
|
|
21977
21977
|
const pe = a.value.response === 0, he = o.value;
|
|
21978
21978
|
$(pe || he, !1);
|
|
21979
21979
|
} else
|
|
21980
|
-
|
|
21980
|
+
Xe(() => a.value.response, (pe) => {
|
|
21981
21981
|
$(pe === 0, !1);
|
|
21982
21982
|
}, { immediate: !0 });
|
|
21983
21983
|
const re = () => {
|
|
@@ -22006,7 +22006,7 @@ const PT = { class: "label-content" }, OT = { class: "count" }, NT = { class: "l
|
|
|
22006
22006
|
(pe = k.value) == null || pe.fitView(), (he = q.value) == null || he.fitView();
|
|
22007
22007
|
});
|
|
22008
22008
|
}
|
|
22009
|
-
return
|
|
22009
|
+
return Xe(
|
|
22010
22010
|
[n, i, () => r.value.pendingLayout, () => r.value.pendingFitView],
|
|
22011
22011
|
([pe, he, Ke, Be]) => {
|
|
22012
22012
|
e.inactive || !pe || !he || !Ke && !Be || (Ke && l(), Be && s(!1), setTimeout(async () => {
|
|
@@ -22607,7 +22607,7 @@ const g$ = /* @__PURE__ */ Oe({
|
|
|
22607
22607
|
}, p = () => {
|
|
22608
22608
|
r.value = "", a.value = "", n("cancel");
|
|
22609
22609
|
};
|
|
22610
|
-
return
|
|
22610
|
+
return Xe(() => e.secretName, (m) => {
|
|
22611
22611
|
r.value = m || "", a.value = "";
|
|
22612
22612
|
}), (m, h) => {
|
|
22613
22613
|
const y = xe("KInput"), _ = xe("KEmptyState");
|
|
@@ -22896,9 +22896,9 @@ const x$ = { key: 1 }, S$ = ["innerHTML"], A$ = { class: "horizontal-container"
|
|
|
22896
22896
|
noRefs: !0
|
|
22897
22897
|
}) : "";
|
|
22898
22898
|
});
|
|
22899
|
-
|
|
22899
|
+
Xe([c, h], ([T, P]) => {
|
|
22900
22900
|
T && P === "redis" && !s.value && (d.value = y.value || n, f.value = "");
|
|
22901
|
-
}),
|
|
22901
|
+
}), Xe(d, (T) => {
|
|
22902
22902
|
var P;
|
|
22903
22903
|
if (!s.value && h.value === "redis")
|
|
22904
22904
|
try {
|
|
@@ -23127,7 +23127,7 @@ const x$ = { key: 1 }, S$ = ["innerHTML"], A$ = { class: "horizontal-container"
|
|
|
23127
23127
|
function a() {
|
|
23128
23128
|
i.value = !1;
|
|
23129
23129
|
}
|
|
23130
|
-
|
|
23130
|
+
Xe(o, (s) => {
|
|
23131
23131
|
s || a();
|
|
23132
23132
|
});
|
|
23133
23133
|
const l = me(!1);
|
|
@@ -23918,14 +23918,14 @@ const Kn = J.object({
|
|
|
23918
23918
|
const R = s(I);
|
|
23919
23919
|
R && i("change:inputs", R, O);
|
|
23920
23920
|
}
|
|
23921
|
-
return
|
|
23921
|
+
return Xe(o, (I) => {
|
|
23922
23922
|
const O = new Set(I.map(([R]) => R));
|
|
23923
23923
|
Object.keys(y.value).forEach((R) => {
|
|
23924
23924
|
O.has(R) ? y.value[R] = y.value[R] ?? s(R) ?? "" : (delete y.value[R], delete h.value[R]);
|
|
23925
23925
|
}), I.forEach(([R, j]) => {
|
|
23926
23926
|
y.value[R] = y.value[R] ?? j;
|
|
23927
23927
|
}), m.value && !O.has(m.value) && (m.value = null);
|
|
23928
|
-
}, { immediate: !0 }),
|
|
23928
|
+
}, { immediate: !0 }), Xe(() => n.keyOrder, () => {
|
|
23929
23929
|
if (!m.value)
|
|
23930
23930
|
return;
|
|
23931
23931
|
const I = v.value.findIndex(([O]) => O === m.value);
|
|
@@ -24487,7 +24487,7 @@ function wi(e) {
|
|
|
24487
24487
|
i(!p);
|
|
24488
24488
|
} catch {
|
|
24489
24489
|
}
|
|
24490
|
-
}),
|
|
24490
|
+
}), Xe(() => s.value, i, { immediate: !0 }), {
|
|
24491
24491
|
fields: l.value,
|
|
24492
24492
|
isValid: s,
|
|
24493
24493
|
validateAll: d,
|
|
@@ -24711,7 +24711,7 @@ const jn = /* @__PURE__ */ Oe({
|
|
|
24711
24711
|
function d() {
|
|
24712
24712
|
l = r.value.trim();
|
|
24713
24713
|
}
|
|
24714
|
-
return
|
|
24714
|
+
return Xe(() => n.name, (f) => {
|
|
24715
24715
|
f !== r.value && (r.value = f);
|
|
24716
24716
|
}), (f, c) => {
|
|
24717
24717
|
const p = xe("KInput");
|
|
@@ -25084,7 +25084,7 @@ const jn = /* @__PURE__ */ Oe({
|
|
|
25084
25084
|
function q(A) {
|
|
25085
25085
|
P(A);
|
|
25086
25086
|
}
|
|
25087
|
-
return
|
|
25087
|
+
return Xe(() => r == null ? void 0 : r.value, (A) => {
|
|
25088
25088
|
var G;
|
|
25089
25089
|
if (en(A, p))
|
|
25090
25090
|
return;
|
|
@@ -25340,7 +25340,7 @@ const SO = /* @__PURE__ */ Oe({
|
|
|
25340
25340
|
function p(m) {
|
|
25341
25341
|
a.value !== Zo(m == null ? void 0 : m.value) && (r.property = (m == null ? void 0 : m.value) || null, a.value = Zo(r.property), i.validators.property.handleBlur(() => r.property), o("update:model-value", r.property));
|
|
25342
25342
|
}
|
|
25343
|
-
return
|
|
25343
|
+
return Xe(() => r.property, (m) => {
|
|
25344
25344
|
s.value = qs(m), a.value = Zo(m);
|
|
25345
25345
|
}), (m, h) => {
|
|
25346
25346
|
const y = xe("KBadge"), _ = xe("KSelect"), v = xe("KInput");
|
|
@@ -26418,7 +26418,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26418
26418
|
function i() {
|
|
26419
26419
|
t.value = !1;
|
|
26420
26420
|
}
|
|
26421
|
-
|
|
26421
|
+
Xe(n, (r) => {
|
|
26422
26422
|
r || i();
|
|
26423
26423
|
});
|
|
26424
26424
|
const o = me(!1);
|
|
@@ -26461,7 +26461,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26461
26461
|
return n.value = !1, s;
|
|
26462
26462
|
});
|
|
26463
26463
|
const r = th(document);
|
|
26464
|
-
|
|
26464
|
+
Xe(t, (l) => {
|
|
26465
26465
|
r.value = !!l, l || o();
|
|
26466
26466
|
}, { immediate: !0 });
|
|
26467
26467
|
function a() {
|
|
@@ -26505,7 +26505,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26505
26505
|
onChange: l,
|
|
26506
26506
|
isEditing: e.isEditing
|
|
26507
26507
|
});
|
|
26508
|
-
return
|
|
26508
|
+
return Xe(s, () => {
|
|
26509
26509
|
d(!0);
|
|
26510
26510
|
}, { flush: "post" }), $T({ enabled: s }), (f, c) => {
|
|
26511
26511
|
const p = xe("KButton");
|
|
@@ -26592,7 +26592,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26592
26592
|
// @ts-ignore MessageFormatPrimitiveValue should have function type
|
|
26593
26593
|
code: (k) => `<code>${_k(k)}</code>`
|
|
26594
26594
|
}));
|
|
26595
|
-
|
|
26595
|
+
Xe(l, () => {
|
|
26596
26596
|
var k;
|
|
26597
26597
|
(k = n.onValidityChange) == null || k.call(n, {
|
|
26598
26598
|
model: "config",
|
|
@@ -26694,9 +26694,9 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26694
26694
|
}, 16, ["editor-mode"])
|
|
26695
26695
|
], 64));
|
|
26696
26696
|
}
|
|
26697
|
-
}), cN = /* @__PURE__ */ Ve(uN, [["__scopeId", "data-v-99d4e7f0"]]), dN =
|
|
26697
|
+
}), cN = /* @__PURE__ */ Ve(uN, [["__scopeId", "data-v-99d4e7f0"]]), dN = We({
|
|
26698
26698
|
component: cN
|
|
26699
|
-
}), pN =
|
|
26699
|
+
}), pN = We({
|
|
26700
26700
|
experimental: !0,
|
|
26701
26701
|
fieldRenderers: [
|
|
26702
26702
|
{
|
|
@@ -26709,7 +26709,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26709
26709
|
})
|
|
26710
26710
|
}
|
|
26711
26711
|
]
|
|
26712
|
-
}), fN =
|
|
26712
|
+
}), fN = We({
|
|
26713
26713
|
experimental: !0,
|
|
26714
26714
|
fieldRenderers: [
|
|
26715
26715
|
{
|
|
@@ -26720,7 +26720,17 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26720
26720
|
}
|
|
26721
26721
|
}
|
|
26722
26722
|
]
|
|
26723
|
-
}), mN =
|
|
26723
|
+
}), mN = We({
|
|
26724
|
+
experimental: !0,
|
|
26725
|
+
renderRules: {
|
|
26726
|
+
bundles: [
|
|
26727
|
+
["config.strategy", "config.redis"]
|
|
26728
|
+
],
|
|
26729
|
+
dependencies: {
|
|
26730
|
+
"config.redis": ["config.strategy", "redis"]
|
|
26731
|
+
}
|
|
26732
|
+
}
|
|
26733
|
+
}), gN = We({
|
|
26724
26734
|
experimental: !0,
|
|
26725
26735
|
fieldRenderers: [
|
|
26726
26736
|
{
|
|
@@ -26729,7 +26739,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26729
26739
|
propsOverrides: { multiple: !0 }
|
|
26730
26740
|
}
|
|
26731
26741
|
]
|
|
26732
|
-
}),
|
|
26742
|
+
}), hN = We({
|
|
26733
26743
|
experimental: !0,
|
|
26734
26744
|
fieldRenderers: [
|
|
26735
26745
|
{
|
|
@@ -26740,9 +26750,9 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26740
26750
|
}
|
|
26741
26751
|
}
|
|
26742
26752
|
]
|
|
26743
|
-
}),
|
|
26753
|
+
}), yN = We({
|
|
26744
26754
|
experimental: !0
|
|
26745
|
-
}),
|
|
26755
|
+
}), vN = We({
|
|
26746
26756
|
experimental: !0
|
|
26747
26757
|
}), Hc = /* @__PURE__ */ Oe({
|
|
26748
26758
|
inheritAttrs: !1,
|
|
@@ -26786,7 +26796,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26786
26796
|
name: e.name
|
|
26787
26797
|
}), null, 16, ["error", "error-message", "name"]));
|
|
26788
26798
|
}
|
|
26789
|
-
}),
|
|
26799
|
+
}), _N = /* @__PURE__ */ Oe({
|
|
26790
26800
|
__name: "JwtSignerForm",
|
|
26791
26801
|
props: {
|
|
26792
26802
|
schema: {},
|
|
@@ -26839,11 +26849,11 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26839
26849
|
_: 1
|
|
26840
26850
|
}, 16));
|
|
26841
26851
|
}
|
|
26842
|
-
}),
|
|
26843
|
-
component:
|
|
26844
|
-
}),
|
|
26852
|
+
}), bN = We({
|
|
26853
|
+
component: _N
|
|
26854
|
+
}), wN = We({
|
|
26845
26855
|
experimental: !0
|
|
26846
|
-
}),
|
|
26856
|
+
}), kN = We({
|
|
26847
26857
|
experimental: !0,
|
|
26848
26858
|
fieldRenderers: [
|
|
26849
26859
|
{
|
|
@@ -26855,7 +26865,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26855
26865
|
}
|
|
26856
26866
|
}
|
|
26857
26867
|
]
|
|
26858
|
-
}),
|
|
26868
|
+
}), CN = We({
|
|
26859
26869
|
experimental: !0,
|
|
26860
26870
|
fieldRenderers: [
|
|
26861
26871
|
{
|
|
@@ -26866,7 +26876,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26866
26876
|
}
|
|
26867
26877
|
}
|
|
26868
26878
|
]
|
|
26869
|
-
}),
|
|
26879
|
+
}), EN = We({
|
|
26870
26880
|
experimental: !0,
|
|
26871
26881
|
fieldRenderers: [
|
|
26872
26882
|
{
|
|
@@ -26878,7 +26888,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26878
26888
|
}
|
|
26879
26889
|
}
|
|
26880
26890
|
]
|
|
26881
|
-
}),
|
|
26891
|
+
}), xN = We({
|
|
26882
26892
|
experimental: !0,
|
|
26883
26893
|
component: bm,
|
|
26884
26894
|
fieldRenderers: [
|
|
@@ -26901,13 +26911,13 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26901
26911
|
}
|
|
26902
26912
|
}
|
|
26903
26913
|
]
|
|
26904
|
-
}),
|
|
26914
|
+
}), SN = { class: "ff-collapsible-section" }, AN = { class: "ff-collapsible-section-header" }, IN = { class: "ff-collapsible-section-header-toggle" }, TN = {
|
|
26905
26915
|
key: 0,
|
|
26906
26916
|
class: "ff-collapsible-section-content"
|
|
26907
|
-
},
|
|
26917
|
+
}, $N = {
|
|
26908
26918
|
key: 0,
|
|
26909
26919
|
class: "ff-collapsible-section-indent-guide"
|
|
26910
|
-
},
|
|
26920
|
+
}, PN = /* @__PURE__ */ Oe({
|
|
26911
26921
|
__name: "CollapsibleSection",
|
|
26912
26922
|
props: /* @__PURE__ */ yi({
|
|
26913
26923
|
label: {}
|
|
@@ -26918,9 +26928,9 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26918
26928
|
emits: ["update:expanded"],
|
|
26919
26929
|
setup(e) {
|
|
26920
26930
|
const t = hi(e, "expanded");
|
|
26921
|
-
return (n, i) => (S(), le("div",
|
|
26922
|
-
ee("header",
|
|
26923
|
-
ee("div",
|
|
26931
|
+
return (n, i) => (S(), le("div", SN, [
|
|
26932
|
+
ee("header", AN, [
|
|
26933
|
+
ee("div", IN, [
|
|
26924
26934
|
ee("button", {
|
|
26925
26935
|
class: "ff-collapsible-section-toggle-btn",
|
|
26926
26936
|
type: "button",
|
|
@@ -26942,16 +26952,16 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
26942
26952
|
]),
|
|
26943
26953
|
C(Gr, null, {
|
|
26944
26954
|
default: N(() => [
|
|
26945
|
-
t.value ? (S(), le("div",
|
|
26955
|
+
t.value ? (S(), le("div", TN, [
|
|
26946
26956
|
Ze(n.$slots, "default", {}, void 0, !0)
|
|
26947
26957
|
])) : ye("", !0)
|
|
26948
26958
|
]),
|
|
26949
26959
|
_: 3
|
|
26950
26960
|
}),
|
|
26951
|
-
t.value ? (S(), le("div",
|
|
26961
|
+
t.value ? (S(), le("div", $N)) : ye("", !0)
|
|
26952
26962
|
]));
|
|
26953
26963
|
}
|
|
26954
|
-
}), Es = /* @__PURE__ */ Ve(
|
|
26964
|
+
}), Es = /* @__PURE__ */ Ve(PN, [["__scopeId", "data-v-39f2a44b"]]), ON = { class: "ff-mb-subject" }, NN = { class: "ff-mb-attributes" }, RN = { class: "ff-metering-billing-inline-row" }, MN = { class: "ff-mb-queue" }, LN = /* @__PURE__ */ Oe({
|
|
26955
26965
|
__name: "MeteringAndBillingForm",
|
|
26956
26966
|
props: {
|
|
26957
26967
|
schema: {},
|
|
@@ -27140,7 +27150,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27140
27150
|
]),
|
|
27141
27151
|
_: 1
|
|
27142
27152
|
}, 8, ["expanded", "label"]),
|
|
27143
|
-
ee("div",
|
|
27153
|
+
ee("div", ON, [
|
|
27144
27154
|
C(zt, {
|
|
27145
27155
|
label: u(i)("plugins.free-form.metering-and-billing.sections.subject.title"),
|
|
27146
27156
|
name: "config.subject",
|
|
@@ -27158,7 +27168,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27158
27168
|
label: u(i)("plugins.free-form.metering-and-billing.fields.attributes.title")
|
|
27159
27169
|
}, {
|
|
27160
27170
|
default: N(() => [
|
|
27161
|
-
ee("div",
|
|
27171
|
+
ee("div", NN, [
|
|
27162
27172
|
C(sn, {
|
|
27163
27173
|
"hide-label": "",
|
|
27164
27174
|
name: "config.attributes"
|
|
@@ -27179,7 +27189,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27179
27189
|
}, null, 8, ["help"]),
|
|
27180
27190
|
C(st, { name: "config.api_token" }),
|
|
27181
27191
|
C(st, { name: "config.ssl_verify" }),
|
|
27182
|
-
ee("div",
|
|
27192
|
+
ee("div", RN, [
|
|
27183
27193
|
C(st, { name: "config.timeout" }),
|
|
27184
27194
|
C(st, { name: "config.keepalive" })
|
|
27185
27195
|
])
|
|
@@ -27192,7 +27202,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27192
27202
|
"hide-general-fields": ""
|
|
27193
27203
|
}, {
|
|
27194
27204
|
default: N(() => [
|
|
27195
|
-
ee("div",
|
|
27205
|
+
ee("div", MN, [
|
|
27196
27206
|
C(u(gn), { class: "ff-mb-queue-label" }, {
|
|
27197
27207
|
default: N(() => [
|
|
27198
27208
|
Le(ue(u(i)("plugins.free-form.metering-and-billing.sections.queue.title")), 1)
|
|
@@ -27212,10 +27222,10 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27212
27222
|
_: 1
|
|
27213
27223
|
}, 16, ["plugin-config-description"]));
|
|
27214
27224
|
}
|
|
27215
|
-
}),
|
|
27225
|
+
}), FN = /* @__PURE__ */ Ve(LN, [["__scopeId", "data-v-78972733"]]), KN = We({
|
|
27216
27226
|
experimental: !0,
|
|
27217
|
-
component:
|
|
27218
|
-
}),
|
|
27227
|
+
component: FN
|
|
27228
|
+
}), jN = We({
|
|
27219
27229
|
experimental: !0,
|
|
27220
27230
|
fieldRenderers: [
|
|
27221
27231
|
{
|
|
@@ -27224,9 +27234,9 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27224
27234
|
propsOverrides: { multiple: !0 }
|
|
27225
27235
|
}
|
|
27226
27236
|
]
|
|
27227
|
-
}),
|
|
27237
|
+
}), DN = We({
|
|
27228
27238
|
experimental: !0
|
|
27229
|
-
}),
|
|
27239
|
+
}), qN = We({
|
|
27230
27240
|
experimental: !0,
|
|
27231
27241
|
fieldRenderers: [
|
|
27232
27242
|
{
|
|
@@ -27237,7 +27247,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27237
27247
|
}
|
|
27238
27248
|
}
|
|
27239
27249
|
]
|
|
27240
|
-
}),
|
|
27250
|
+
}), BN = We({
|
|
27241
27251
|
experimental: !0,
|
|
27242
27252
|
fieldRenderers: [
|
|
27243
27253
|
{
|
|
@@ -27261,7 +27271,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27261
27271
|
}
|
|
27262
27272
|
}
|
|
27263
27273
|
]
|
|
27264
|
-
}),
|
|
27274
|
+
}), UN = We({
|
|
27265
27275
|
experimental: !0,
|
|
27266
27276
|
fieldRenderers: [
|
|
27267
27277
|
{
|
|
@@ -27285,9 +27295,9 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27285
27295
|
}
|
|
27286
27296
|
}
|
|
27287
27297
|
]
|
|
27288
|
-
}),
|
|
27298
|
+
}), VN = We({
|
|
27289
27299
|
experimental: !0
|
|
27290
|
-
}),
|
|
27300
|
+
}), zN = We({
|
|
27291
27301
|
experimental: !0,
|
|
27292
27302
|
renderRules: {
|
|
27293
27303
|
bundles: [
|
|
@@ -27304,7 +27314,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27304
27314
|
propsOverrides: { multiple: !0 }
|
|
27305
27315
|
}
|
|
27306
27316
|
]
|
|
27307
|
-
}),
|
|
27317
|
+
}), GN = We({
|
|
27308
27318
|
experimental: !0,
|
|
27309
27319
|
fieldRenderers: [
|
|
27310
27320
|
{
|
|
@@ -27313,10 +27323,10 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27313
27323
|
propsOverrides: { multiple: !0 }
|
|
27314
27324
|
}
|
|
27315
27325
|
]
|
|
27316
|
-
}),
|
|
27326
|
+
}), HN = { class: "rla-form-request-limits-subtitle" }, WN = { class: "rla-form-request-limits-content" }, YN = { class: "rla-form-window-type" }, JN = { class: "rla-form-request-limits-items" }, XN = { class: "rla-form-request-limits-row" }, ZN = ["id"], QN = { class: "rla-form-request-limits-actions" }, eR = {
|
|
27317
27327
|
key: 0,
|
|
27318
27328
|
class: "rla-form-request-limits-examples"
|
|
27319
|
-
},
|
|
27329
|
+
}, tR = { class: "rla-form-request-limits-examples-badges" }, xs = "config.window_type", nR = /* @__PURE__ */ Oe({
|
|
27320
27330
|
__name: "RequestLimitsForm",
|
|
27321
27331
|
setup(e) {
|
|
27322
27332
|
var _;
|
|
@@ -27413,11 +27423,11 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27413
27423
|
]),
|
|
27414
27424
|
_: 1
|
|
27415
27425
|
}),
|
|
27416
|
-
ee("div",
|
|
27426
|
+
ee("div", HN, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
27417
27427
|
]),
|
|
27418
27428
|
default: N(() => [
|
|
27419
|
-
ee("div",
|
|
27420
|
-
ee("div",
|
|
27429
|
+
ee("div", WN, [
|
|
27430
|
+
ee("div", YN, [
|
|
27421
27431
|
C(pu, {
|
|
27422
27432
|
items: c.value,
|
|
27423
27433
|
label: u(t)("sp.window_type.label"),
|
|
@@ -27425,7 +27435,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27425
27435
|
"onUpdate:modelValue": b[0] || (b[0] = (P) => p.value = void 0)
|
|
27426
27436
|
}, null, 8, ["items", "label"])
|
|
27427
27437
|
]),
|
|
27428
|
-
ee("div",
|
|
27438
|
+
ee("div", JN, [
|
|
27429
27439
|
(S(!0), le(ze, null, Qe(r.value, (P, q) => (S(), le("div", {
|
|
27430
27440
|
key: u(a)(P, q)
|
|
27431
27441
|
}, [
|
|
@@ -27437,7 +27447,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27437
27447
|
]),
|
|
27438
27448
|
_: 2
|
|
27439
27449
|
}, 1032, ["for"]),
|
|
27440
|
-
ee("div",
|
|
27450
|
+
ee("div", XN, [
|
|
27441
27451
|
ee("legend", {
|
|
27442
27452
|
id: `rla-form-request-limits-item-${q}-legend`,
|
|
27443
27453
|
class: "rla-form-request-limits-inputs"
|
|
@@ -27452,8 +27462,8 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27452
27462
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
27453
27463
|
}, null, 8, ["name", "placeholder"]),
|
|
27454
27464
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
27455
|
-
], 8,
|
|
27456
|
-
ee("div",
|
|
27465
|
+
], 8, ZN),
|
|
27466
|
+
ee("div", QN, [
|
|
27457
27467
|
C(E, {
|
|
27458
27468
|
appearance: "tertiary",
|
|
27459
27469
|
disabled: r.value.length <= 1,
|
|
@@ -27477,9 +27487,9 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27477
27487
|
])
|
|
27478
27488
|
]))), 128))
|
|
27479
27489
|
]),
|
|
27480
|
-
h.value.length > 0 ? (S(), le("div",
|
|
27490
|
+
h.value.length > 0 ? (S(), le("div", eR, [
|
|
27481
27491
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
27482
|
-
ee("div",
|
|
27492
|
+
ee("div", tR, [
|
|
27483
27493
|
(S(!0), le(ze, null, Qe(h.value, (P, q) => (S(), Z(w, {
|
|
27484
27494
|
key: `use-case-${q}`,
|
|
27485
27495
|
"max-width": "300"
|
|
@@ -27512,10 +27522,10 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27512
27522
|
});
|
|
27513
27523
|
};
|
|
27514
27524
|
}
|
|
27515
|
-
}),
|
|
27525
|
+
}), iR = /* @__PURE__ */ Ve(nR, [["__scopeId", "data-v-1fac872b"]]), oR = {
|
|
27516
27526
|
id: "rla-form-error-legend",
|
|
27517
27527
|
class: "rla-form-error-inputs"
|
|
27518
|
-
},
|
|
27528
|
+
}, aR = /* @__PURE__ */ Oe({
|
|
27519
27529
|
__name: "ErrorMessageForm",
|
|
27520
27530
|
setup(e) {
|
|
27521
27531
|
const { i18n: { t } } = it();
|
|
@@ -27536,7 +27546,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27536
27546
|
]),
|
|
27537
27547
|
_: 1
|
|
27538
27548
|
}, 8, ["info"]),
|
|
27539
|
-
ee("legend",
|
|
27549
|
+
ee("legend", oR, [
|
|
27540
27550
|
C(Wt, {
|
|
27541
27551
|
class: "input-error-code",
|
|
27542
27552
|
label: "",
|
|
@@ -27554,7 +27564,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27554
27564
|
]);
|
|
27555
27565
|
};
|
|
27556
27566
|
}
|
|
27557
|
-
}),
|
|
27567
|
+
}), rR = /* @__PURE__ */ Ve(aR, [["__scopeId", "data-v-7b36f1f7"]]), sR = /* @__PURE__ */ Oe({
|
|
27558
27568
|
__name: "RedisField",
|
|
27559
27569
|
setup(e) {
|
|
27560
27570
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -27577,7 +27587,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27577
27587
|
_: 1
|
|
27578
27588
|
}));
|
|
27579
27589
|
}
|
|
27580
|
-
}),
|
|
27590
|
+
}), lR = /* @__PURE__ */ Oe({
|
|
27581
27591
|
__name: "ConfigForm",
|
|
27582
27592
|
setup(e) {
|
|
27583
27593
|
const { getSchema: t } = gt();
|
|
@@ -27589,8 +27599,8 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27589
27599
|
}, {
|
|
27590
27600
|
default: N(() => [
|
|
27591
27601
|
C(st, { name: "identifier" }),
|
|
27592
|
-
C(
|
|
27593
|
-
C(
|
|
27602
|
+
C(iR),
|
|
27603
|
+
C(rR)
|
|
27594
27604
|
]),
|
|
27595
27605
|
_: 1
|
|
27596
27606
|
}),
|
|
@@ -27607,7 +27617,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27607
27617
|
C(st, { name: "config.sync_rate" }),
|
|
27608
27618
|
C(st, { name: "config.namespace" }),
|
|
27609
27619
|
C(st, { name: "config.strategy" }),
|
|
27610
|
-
C(
|
|
27620
|
+
C(sR),
|
|
27611
27621
|
C(st, { name: "config.dictionary_name" }),
|
|
27612
27622
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
27613
27623
|
C(st, { name: "config.hide_client_headers" }),
|
|
@@ -27623,7 +27633,7 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27623
27633
|
})
|
|
27624
27634
|
], 64));
|
|
27625
27635
|
}
|
|
27626
|
-
}),
|
|
27636
|
+
}), uR = /* @__PURE__ */ Oe({
|
|
27627
27637
|
__name: "RateLimitingAdvancedForm",
|
|
27628
27638
|
props: {
|
|
27629
27639
|
schema: {},
|
|
@@ -27653,15 +27663,15 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27653
27663
|
}
|
|
27654
27664
|
return (o, r) => (S(), Z(li, He(t, { "on-form-change": i }), {
|
|
27655
27665
|
default: N(() => [
|
|
27656
|
-
C(
|
|
27666
|
+
C(lR)
|
|
27657
27667
|
]),
|
|
27658
27668
|
_: 1
|
|
27659
27669
|
}, 16));
|
|
27660
27670
|
}
|
|
27661
|
-
}),
|
|
27671
|
+
}), cR = We({
|
|
27662
27672
|
experimental: !0,
|
|
27663
|
-
component:
|
|
27664
|
-
}),
|
|
27673
|
+
component: uR
|
|
27674
|
+
}), dR = We({
|
|
27665
27675
|
experimental: !0,
|
|
27666
27676
|
renderRules: {
|
|
27667
27677
|
bundles: [
|
|
@@ -27671,11 +27681,13 @@ const MO = /* @__PURE__ */ Oe({
|
|
|
27671
27681
|
"config.redis": ["config.policy", "redis"]
|
|
27672
27682
|
}
|
|
27673
27683
|
}
|
|
27674
|
-
}),
|
|
27684
|
+
}), pR = We({
|
|
27685
|
+
experimental: !0
|
|
27686
|
+
}), fR = "__request_callout_";
|
|
27675
27687
|
function Lm() {
|
|
27676
|
-
return jr(
|
|
27688
|
+
return jr(fR);
|
|
27677
27689
|
}
|
|
27678
|
-
const ua = "_callout_id",
|
|
27690
|
+
const ua = "_callout_id", mR = /* @__PURE__ */ Oe({
|
|
27679
27691
|
__name: "CalloutForm",
|
|
27680
27692
|
props: {
|
|
27681
27693
|
index: {},
|
|
@@ -27689,7 +27701,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27689
27701
|
return l && l !== ((s = a[t.index]) == null ? void 0 : s.name);
|
|
27690
27702
|
});
|
|
27691
27703
|
}), o = L(() => i.value.map(({ [ua]: a, name: l }) => ({ value: a, label: l }))), r = L(() => n.config.callouts[t.index]);
|
|
27692
|
-
return
|
|
27704
|
+
return Xe(o, () => {
|
|
27693
27705
|
r.value.depends_on = r.value.depends_on.filter(
|
|
27694
27706
|
(a) => o.value.some((l) => l.value === a)
|
|
27695
27707
|
);
|
|
@@ -27724,7 +27736,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27724
27736
|
_: 1
|
|
27725
27737
|
}, 8, ["name"]));
|
|
27726
27738
|
}
|
|
27727
|
-
}),
|
|
27739
|
+
}), gR = /* @__PURE__ */ Oe({
|
|
27728
27740
|
__name: "CalloutsForm",
|
|
27729
27741
|
setup(e) {
|
|
27730
27742
|
const { formData: t } = gt();
|
|
@@ -27741,7 +27753,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27741
27753
|
onAdd: n
|
|
27742
27754
|
}, {
|
|
27743
27755
|
item: N(({ index: r, fieldName: a }) => [
|
|
27744
|
-
C(
|
|
27756
|
+
C(mR, {
|
|
27745
27757
|
"field-name": a,
|
|
27746
27758
|
index: r
|
|
27747
27759
|
}, null, 8, ["field-name", "index"])
|
|
@@ -27749,7 +27761,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27749
27761
|
_: 1
|
|
27750
27762
|
}, 8, ["item-label"]));
|
|
27751
27763
|
}
|
|
27752
|
-
}),
|
|
27764
|
+
}), hR = /* @__PURE__ */ Oe({
|
|
27753
27765
|
__name: "ConfigForm",
|
|
27754
27766
|
setup(e) {
|
|
27755
27767
|
return (t, n) => (S(), Z(zt, {
|
|
@@ -27758,7 +27770,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27758
27770
|
"reset-label-path": "reset"
|
|
27759
27771
|
}, {
|
|
27760
27772
|
default: N(() => [
|
|
27761
|
-
C(
|
|
27773
|
+
C(gR),
|
|
27762
27774
|
C(zt, {
|
|
27763
27775
|
appearance: "card",
|
|
27764
27776
|
"fields-order": ["headers", "query", "body", "by_lua"],
|
|
@@ -27799,7 +27811,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27799
27811
|
_: 1
|
|
27800
27812
|
}));
|
|
27801
27813
|
}
|
|
27802
|
-
}),
|
|
27814
|
+
}), yR = /* @__PURE__ */ Oe({
|
|
27803
27815
|
__name: "RequestCalloutForm",
|
|
27804
27816
|
props: {
|
|
27805
27817
|
schema: {},
|
|
@@ -27891,20 +27903,32 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27891
27903
|
}, 8, ["match"])
|
|
27892
27904
|
]),
|
|
27893
27905
|
default: N(() => [
|
|
27894
|
-
C(
|
|
27906
|
+
C(hR)
|
|
27895
27907
|
]),
|
|
27896
27908
|
_: 1
|
|
27897
27909
|
}, 16));
|
|
27898
27910
|
}
|
|
27899
|
-
}),
|
|
27900
|
-
component:
|
|
27901
|
-
}),
|
|
27911
|
+
}), vR = /* @__PURE__ */ Ve(yR, [["__scopeId", "data-v-dc955662"]]), _R = We({
|
|
27912
|
+
component: vR
|
|
27913
|
+
}), bR = We({
|
|
27914
|
+
experimental: !0
|
|
27915
|
+
}), wR = We({
|
|
27902
27916
|
experimental: !0
|
|
27903
|
-
}),
|
|
27917
|
+
}), kR = We({
|
|
27904
27918
|
experimental: !0
|
|
27905
|
-
}),
|
|
27919
|
+
}), CR = We({
|
|
27906
27920
|
experimental: !0
|
|
27907
|
-
}),
|
|
27921
|
+
}), ER = We({
|
|
27922
|
+
experimental: !0,
|
|
27923
|
+
renderRules: {
|
|
27924
|
+
bundles: [
|
|
27925
|
+
["config.policy", "config.redis"]
|
|
27926
|
+
],
|
|
27927
|
+
dependencies: {
|
|
27928
|
+
"config.redis": ["config.policy", "redis"]
|
|
27929
|
+
}
|
|
27930
|
+
}
|
|
27931
|
+
}), xR = We({
|
|
27908
27932
|
experimental: !0,
|
|
27909
27933
|
fieldRenderers: [
|
|
27910
27934
|
{
|
|
@@ -27916,7 +27940,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27916
27940
|
}
|
|
27917
27941
|
}
|
|
27918
27942
|
]
|
|
27919
|
-
}),
|
|
27943
|
+
}), SR = We({
|
|
27920
27944
|
experimental: !0,
|
|
27921
27945
|
fieldRenderers: [
|
|
27922
27946
|
{
|
|
@@ -27928,12 +27952,12 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
27928
27952
|
}
|
|
27929
27953
|
}
|
|
27930
27954
|
]
|
|
27931
|
-
}),
|
|
27955
|
+
}), AR = We({
|
|
27932
27956
|
experimental: !0
|
|
27933
|
-
}),
|
|
27957
|
+
}), IR = { class: "sp-form-request-limits-subtitle" }, TR = { class: "sp-form-request-limits-content" }, $R = { class: "sp-form-window-type" }, PR = { class: "sp-form-request-limits-items" }, OR = { class: "sp-form-request-limits-row" }, NR = ["id"], RR = { class: "sp-form-request-limits-actions" }, MR = {
|
|
27934
27958
|
key: 0,
|
|
27935
27959
|
class: "sp-form-request-limits-examples"
|
|
27936
|
-
},
|
|
27960
|
+
}, LR = { class: "sp-form-request-limits-examples-badges" }, Ss = "config.window_type", FR = /* @__PURE__ */ Oe({
|
|
27937
27961
|
__name: "RequestLimitsForm",
|
|
27938
27962
|
setup(e) {
|
|
27939
27963
|
var _;
|
|
@@ -28031,11 +28055,11 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28031
28055
|
]),
|
|
28032
28056
|
_: 1
|
|
28033
28057
|
}),
|
|
28034
|
-
ee("div",
|
|
28058
|
+
ee("div", IR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
28035
28059
|
]),
|
|
28036
28060
|
default: N(() => [
|
|
28037
|
-
ee("div",
|
|
28038
|
-
ee("div",
|
|
28061
|
+
ee("div", TR, [
|
|
28062
|
+
ee("div", $R, [
|
|
28039
28063
|
C(pu, {
|
|
28040
28064
|
items: c.value,
|
|
28041
28065
|
label: u(t)("sp.window_type.label"),
|
|
@@ -28043,7 +28067,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28043
28067
|
"onUpdate:modelValue": b[0] || (b[0] = (P) => p.value = void 0)
|
|
28044
28068
|
}, null, 8, ["items", "label"])
|
|
28045
28069
|
]),
|
|
28046
|
-
ee("div",
|
|
28070
|
+
ee("div", PR, [
|
|
28047
28071
|
(S(!0), le(ze, null, Qe(r.value, (P, q) => (S(), le("div", {
|
|
28048
28072
|
key: u(a)(P, q)
|
|
28049
28073
|
}, [
|
|
@@ -28055,7 +28079,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28055
28079
|
]),
|
|
28056
28080
|
_: 2
|
|
28057
28081
|
}, 1032, ["for"]),
|
|
28058
|
-
ee("div",
|
|
28082
|
+
ee("div", OR, [
|
|
28059
28083
|
ee("legend", {
|
|
28060
28084
|
id: `sp-form-request-limits-item-${q}-legend`,
|
|
28061
28085
|
class: "sp-form-request-limits-inputs"
|
|
@@ -28070,8 +28094,8 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28070
28094
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
28071
28095
|
}, null, 8, ["name", "placeholder"]),
|
|
28072
28096
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
28073
|
-
], 8,
|
|
28074
|
-
ee("div",
|
|
28097
|
+
], 8, NR),
|
|
28098
|
+
ee("div", RR, [
|
|
28075
28099
|
C(E, {
|
|
28076
28100
|
appearance: "tertiary",
|
|
28077
28101
|
disabled: r.value.length <= 1,
|
|
@@ -28095,9 +28119,9 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28095
28119
|
])
|
|
28096
28120
|
]))), 128))
|
|
28097
28121
|
]),
|
|
28098
|
-
h.value.length > 0 ? (S(), le("div",
|
|
28122
|
+
h.value.length > 0 ? (S(), le("div", MR, [
|
|
28099
28123
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
28100
|
-
ee("div",
|
|
28124
|
+
ee("div", LR, [
|
|
28101
28125
|
(S(!0), le(ze, null, Qe(h.value, (P, q) => (S(), Z(w, {
|
|
28102
28126
|
key: `use-case-${q}`,
|
|
28103
28127
|
"max-width": "300"
|
|
@@ -28130,10 +28154,10 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28130
28154
|
});
|
|
28131
28155
|
};
|
|
28132
28156
|
}
|
|
28133
|
-
}),
|
|
28157
|
+
}), KR = /* @__PURE__ */ Ve(FR, [["__scopeId", "data-v-e12d9c9f"]]), jR = {
|
|
28134
28158
|
id: "sp-form-error-legend",
|
|
28135
28159
|
class: "sp-form-error-inputs"
|
|
28136
|
-
},
|
|
28160
|
+
}, DR = /* @__PURE__ */ Oe({
|
|
28137
28161
|
__name: "ErrorMessageForm",
|
|
28138
28162
|
setup(e) {
|
|
28139
28163
|
const { t } = Yt("en-us", nn);
|
|
@@ -28154,7 +28178,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28154
28178
|
]),
|
|
28155
28179
|
_: 1
|
|
28156
28180
|
}, 8, ["info"]),
|
|
28157
|
-
ee("legend",
|
|
28181
|
+
ee("legend", jR, [
|
|
28158
28182
|
C(Wt, {
|
|
28159
28183
|
class: "input-error-code",
|
|
28160
28184
|
label: "",
|
|
@@ -28172,7 +28196,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28172
28196
|
]);
|
|
28173
28197
|
};
|
|
28174
28198
|
}
|
|
28175
|
-
}),
|
|
28199
|
+
}), qR = /* @__PURE__ */ Ve(DR, [["__scopeId", "data-v-0796e152"]]), BR = /* @__PURE__ */ Oe({
|
|
28176
28200
|
__name: "RedisField",
|
|
28177
28201
|
setup(e) {
|
|
28178
28202
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -28195,7 +28219,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28195
28219
|
_: 1
|
|
28196
28220
|
}));
|
|
28197
28221
|
}
|
|
28198
|
-
}),
|
|
28222
|
+
}), UR = /* @__PURE__ */ Oe({
|
|
28199
28223
|
__name: "ConfigForm",
|
|
28200
28224
|
setup(e) {
|
|
28201
28225
|
return (t, n) => (S(), le(ze, null, [
|
|
@@ -28205,8 +28229,8 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28205
28229
|
"reset-label-path": "reset"
|
|
28206
28230
|
}, {
|
|
28207
28231
|
default: N(() => [
|
|
28208
|
-
C(
|
|
28209
|
-
C(
|
|
28232
|
+
C(KR),
|
|
28233
|
+
C(qR)
|
|
28210
28234
|
]),
|
|
28211
28235
|
_: 1
|
|
28212
28236
|
}),
|
|
@@ -28215,7 +28239,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28215
28239
|
C(st, { name: "config.dictionary_name" }),
|
|
28216
28240
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
28217
28241
|
C(st, { name: "config.strategy" }),
|
|
28218
|
-
C(
|
|
28242
|
+
C(BR),
|
|
28219
28243
|
C(st, { name: "config.namespace" }),
|
|
28220
28244
|
C(st, { name: "config.hide_client_headers" }),
|
|
28221
28245
|
C(st, { name: "config.disable_penalty" }),
|
|
@@ -28226,7 +28250,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28226
28250
|
})
|
|
28227
28251
|
], 64));
|
|
28228
28252
|
}
|
|
28229
|
-
}),
|
|
28253
|
+
}), VR = /* @__PURE__ */ Oe({
|
|
28230
28254
|
__name: "ServiceProtectionForm",
|
|
28231
28255
|
props: {
|
|
28232
28256
|
schema: {},
|
|
@@ -28256,17 +28280,17 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28256
28280
|
}
|
|
28257
28281
|
return (o, r) => (S(), Z(li, He(t, { "on-form-change": i }), {
|
|
28258
28282
|
default: N(() => [
|
|
28259
|
-
C(
|
|
28283
|
+
C(UR)
|
|
28260
28284
|
]),
|
|
28261
28285
|
_: 1
|
|
28262
28286
|
}, 16));
|
|
28263
28287
|
}
|
|
28264
|
-
}),
|
|
28288
|
+
}), zR = We({
|
|
28265
28289
|
experimental: !0,
|
|
28266
|
-
component:
|
|
28267
|
-
}),
|
|
28290
|
+
component: VR
|
|
28291
|
+
}), GR = We({
|
|
28268
28292
|
experimental: !0
|
|
28269
|
-
}),
|
|
28293
|
+
}), HR = We({
|
|
28270
28294
|
experimental: !0,
|
|
28271
28295
|
fieldRenderers: [
|
|
28272
28296
|
{
|
|
@@ -28278,7 +28302,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28278
28302
|
}
|
|
28279
28303
|
}
|
|
28280
28304
|
]
|
|
28281
|
-
}),
|
|
28305
|
+
}), WR = We({
|
|
28282
28306
|
experimental: !0,
|
|
28283
28307
|
fieldRenderers: [
|
|
28284
28308
|
{
|
|
@@ -28289,7 +28313,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28289
28313
|
}
|
|
28290
28314
|
}
|
|
28291
28315
|
]
|
|
28292
|
-
}),
|
|
28316
|
+
}), YR = We({
|
|
28293
28317
|
experimental: !0,
|
|
28294
28318
|
fieldRenderers: [
|
|
28295
28319
|
{
|
|
@@ -28301,7 +28325,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28301
28325
|
}
|
|
28302
28326
|
}
|
|
28303
28327
|
]
|
|
28304
|
-
}),
|
|
28328
|
+
}), JR = We({
|
|
28305
28329
|
experimental: !0,
|
|
28306
28330
|
renderRules: {
|
|
28307
28331
|
bundles: [
|
|
@@ -28321,7 +28345,7 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28321
28345
|
}
|
|
28322
28346
|
}
|
|
28323
28347
|
]
|
|
28324
|
-
}),
|
|
28348
|
+
}), XR = /* @__PURE__ */ Object.assign({
|
|
28325
28349
|
"../plugins/acl/index.ts": TI,
|
|
28326
28350
|
"../plugins/ai-custom-guardrail.ts": $I,
|
|
28327
28351
|
"../plugins/ai-mcp-proxy/index.ts": OI,
|
|
@@ -28345,52 +28369,56 @@ const ua = "_callout_id", pR = /* @__PURE__ */ Oe({
|
|
|
28345
28369
|
"../plugins/datakit/index.ts": dN,
|
|
28346
28370
|
"../plugins/exit-transformer.ts": pN,
|
|
28347
28371
|
"../plugins/file-log.ts": fN,
|
|
28348
|
-
"../plugins/
|
|
28349
|
-
"../plugins/
|
|
28350
|
-
"../plugins/
|
|
28351
|
-
"../plugins/
|
|
28352
|
-
"../plugins/
|
|
28353
|
-
"../plugins/jwt.ts": bN,
|
|
28354
|
-
"../plugins/
|
|
28355
|
-
"../plugins/kafka-
|
|
28356
|
-
"../plugins/kafka-
|
|
28357
|
-
"../plugins/
|
|
28358
|
-
"../plugins/
|
|
28359
|
-
"../plugins/
|
|
28360
|
-
"../plugins/
|
|
28361
|
-
"../plugins/
|
|
28362
|
-
"../plugins/
|
|
28363
|
-
"../plugins/
|
|
28364
|
-
"../plugins/
|
|
28365
|
-
"../plugins/
|
|
28366
|
-
"../plugins/proxy-cache.ts": zN,
|
|
28367
|
-
"../plugins/
|
|
28368
|
-
"../plugins/rate-limiting.ts": cR,
|
|
28369
|
-
"../plugins/
|
|
28370
|
-
"../plugins/
|
|
28371
|
-
"../plugins/request-
|
|
28372
|
-
"../plugins/request-
|
|
28373
|
-
"../plugins/
|
|
28374
|
-
"../plugins/
|
|
28375
|
-
"../plugins/
|
|
28376
|
-
"../plugins/
|
|
28377
|
-
"../plugins/
|
|
28378
|
-
"../plugins/
|
|
28379
|
-
"../plugins/
|
|
28380
|
-
"../plugins/
|
|
28381
|
-
"../plugins/
|
|
28372
|
+
"../plugins/graphql-rate-limiting-advanced.ts": mN,
|
|
28373
|
+
"../plugins/header-cert-auth.ts": gN,
|
|
28374
|
+
"../plugins/http-log.ts": hN,
|
|
28375
|
+
"../plugins/ip-restriction.ts": yN,
|
|
28376
|
+
"../plugins/jwe-decrypt.ts": vN,
|
|
28377
|
+
"../plugins/jwt-signer/index.ts": bN,
|
|
28378
|
+
"../plugins/jwt.ts": wN,
|
|
28379
|
+
"../plugins/kafka-consume.ts": kN,
|
|
28380
|
+
"../plugins/kafka-log.ts": CN,
|
|
28381
|
+
"../plugins/kafka-upstream.ts": EN,
|
|
28382
|
+
"../plugins/key-auth/index.ts": xN,
|
|
28383
|
+
"../plugins/metering-and-billing/index.ts": KN,
|
|
28384
|
+
"../plugins/mtls-auth.ts": jN,
|
|
28385
|
+
"../plugins/oauth2.ts": DN,
|
|
28386
|
+
"../plugins/opentelemetry.ts": qN,
|
|
28387
|
+
"../plugins/post-function.ts": BN,
|
|
28388
|
+
"../plugins/pre-function.ts": UN,
|
|
28389
|
+
"../plugins/prometheus.ts": VN,
|
|
28390
|
+
"../plugins/proxy-cache-advanced.ts": zN,
|
|
28391
|
+
"../plugins/proxy-cache.ts": GN,
|
|
28392
|
+
"../plugins/rate-limiting-advanced/index.ts": cR,
|
|
28393
|
+
"../plugins/rate-limiting.ts": dR,
|
|
28394
|
+
"../plugins/redirect.ts": pR,
|
|
28395
|
+
"../plugins/request-callout/index.ts": _R,
|
|
28396
|
+
"../plugins/request-size-limiting.ts": bR,
|
|
28397
|
+
"../plugins/request-termination.ts": wR,
|
|
28398
|
+
"../plugins/request-transformer-advanced.ts": kR,
|
|
28399
|
+
"../plugins/request-transformer.ts": CR,
|
|
28400
|
+
"../plugins/response-ratelimiting.ts": ER,
|
|
28401
|
+
"../plugins/response-transformer-advanced.ts": xR,
|
|
28402
|
+
"../plugins/response-transformer.ts": SR,
|
|
28403
|
+
"../plugins/route-transformer-advanced.ts": AR,
|
|
28404
|
+
"../plugins/service-protection/index.ts": zR,
|
|
28405
|
+
"../plugins/session.ts": GR,
|
|
28406
|
+
"../plugins/solace-consume.ts": HR,
|
|
28407
|
+
"../plugins/solace-log.ts": WR,
|
|
28408
|
+
"../plugins/solace-upstream.ts": YR,
|
|
28409
|
+
"../plugins/upstream-oauth.ts": JR
|
|
28382
28410
|
});
|
|
28383
|
-
function
|
|
28411
|
+
function ZR(e) {
|
|
28384
28412
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
28385
28413
|
if (!t)
|
|
28386
28414
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
28387
28415
|
const [, n] = t;
|
|
28388
28416
|
return n;
|
|
28389
28417
|
}
|
|
28390
|
-
function
|
|
28418
|
+
function QR(e) {
|
|
28391
28419
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
28392
28420
|
for (const [i, o] of Object.entries(e)) {
|
|
28393
|
-
const r =
|
|
28421
|
+
const r = ZR(i);
|
|
28394
28422
|
if (n.has(r))
|
|
28395
28423
|
throw new Error(`Duplicate plugin config for "${r}": ${n.get(r)} and ${i}`);
|
|
28396
28424
|
n.set(r, i), t[r] = {
|
|
@@ -28402,7 +28430,7 @@ function YR(e) {
|
|
|
28402
28430
|
}
|
|
28403
28431
|
return t;
|
|
28404
28432
|
}
|
|
28405
|
-
const Fm =
|
|
28433
|
+
const Fm = QR(XR);
|
|
28406
28434
|
function Km(e) {
|
|
28407
28435
|
return Fm[e];
|
|
28408
28436
|
}
|
|
@@ -28414,22 +28442,22 @@ function jm(e, t) {
|
|
|
28414
28442
|
function Dm(e, t, n) {
|
|
28415
28443
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!jm(e, t);
|
|
28416
28444
|
}
|
|
28417
|
-
function
|
|
28445
|
+
function e2() {
|
|
28418
28446
|
return Object.entries(Fm).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
28419
28447
|
}
|
|
28420
28448
|
function mu() {
|
|
28421
28449
|
return pt($p, []);
|
|
28422
28450
|
}
|
|
28423
|
-
function
|
|
28424
|
-
const t = new Set(
|
|
28451
|
+
function t2(e) {
|
|
28452
|
+
const t = new Set(e2()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
28425
28453
|
return i.length > 0 && console.warn(
|
|
28426
28454
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
28427
28455
|
), n;
|
|
28428
28456
|
}
|
|
28429
|
-
function
|
|
28430
|
-
Lt($p,
|
|
28457
|
+
function n2(e) {
|
|
28458
|
+
Lt($p, t2(e));
|
|
28431
28459
|
}
|
|
28432
|
-
function
|
|
28460
|
+
function i2() {
|
|
28433
28461
|
const e = mu();
|
|
28434
28462
|
return {
|
|
28435
28463
|
shouldUseFreeForm: (t, n) => Dm(t, e, n),
|
|
@@ -28511,11 +28539,11 @@ const Bm = (e) => {
|
|
|
28511
28539
|
e.protected_resource_metadata = null;
|
|
28512
28540
|
return;
|
|
28513
28541
|
}
|
|
28514
|
-
},
|
|
28542
|
+
}, o2 = {
|
|
28515
28543
|
shamefullyTransformPayload(e) {
|
|
28516
28544
|
return qm(e.payload.config), Bm(e.payload.config), Um(e.payload.config), e;
|
|
28517
28545
|
}
|
|
28518
|
-
},
|
|
28546
|
+
}, a2 = {
|
|
28519
28547
|
shamefullyTransformPayload(e) {
|
|
28520
28548
|
var t, n, i, o, r;
|
|
28521
28549
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -28526,7 +28554,7 @@ const Bm = (e) => {
|
|
|
28526
28554
|
}
|
|
28527
28555
|
return e;
|
|
28528
28556
|
}
|
|
28529
|
-
},
|
|
28557
|
+
}, r2 = {
|
|
28530
28558
|
shamefullyTransformPayload(e) {
|
|
28531
28559
|
var n, i;
|
|
28532
28560
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -28534,7 +28562,7 @@ const Bm = (e) => {
|
|
|
28534
28562
|
qm(o.config), Bm(o.config), Um(o.config);
|
|
28535
28563
|
}), e;
|
|
28536
28564
|
}
|
|
28537
|
-
},
|
|
28565
|
+
}, s2 = {
|
|
28538
28566
|
shamefullyTransformPayload(e) {
|
|
28539
28567
|
var n;
|
|
28540
28568
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -28559,10 +28587,10 @@ const Bm = (e) => {
|
|
|
28559
28587
|
return en((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
28560
28588
|
}) && (e.payload.config.token_exchange = null), e;
|
|
28561
28589
|
}
|
|
28562
|
-
},
|
|
28590
|
+
}, l2 = (e, t) => {
|
|
28563
28591
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
28564
28592
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
28565
|
-
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) =>
|
|
28593
|
+
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) => l2(e, t) || Vm(e, t) || e.model.localeCompare(t.model), u2 = (e) => {
|
|
28566
28594
|
const { capitalize: t } = fl(), { convertToDotNotation: n } = Hp(), { i18n: { t: i } } = it(), o = mu(), r = {
|
|
28567
28595
|
"application-registration": {
|
|
28568
28596
|
overwriteDefault: !0,
|
|
@@ -28683,16 +28711,16 @@ const Bm = (e) => {
|
|
|
28683
28711
|
...FE
|
|
28684
28712
|
},
|
|
28685
28713
|
"openid-connect": {
|
|
28686
|
-
...
|
|
28714
|
+
...o2
|
|
28687
28715
|
},
|
|
28688
28716
|
opentelemetry: {
|
|
28689
|
-
...
|
|
28717
|
+
...a2
|
|
28690
28718
|
},
|
|
28691
28719
|
"konnect-application-auth": {
|
|
28692
|
-
...
|
|
28720
|
+
...r2
|
|
28693
28721
|
},
|
|
28694
28722
|
"ai-mcp-oauth2": {
|
|
28695
|
-
...
|
|
28723
|
+
...s2
|
|
28696
28724
|
}
|
|
28697
28725
|
}, a = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_sourcePlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (w, T, P, q) => {
|
|
28698
28726
|
let A = {};
|
|
@@ -28917,20 +28945,20 @@ const Bm = (e) => {
|
|
|
28917
28945
|
typedefs: Co,
|
|
28918
28946
|
pruneRecord: k
|
|
28919
28947
|
};
|
|
28920
|
-
}, tr = Symbol("customPluginType"),
|
|
28948
|
+
}, tr = Symbol("customPluginType"), c2 = 1e3, d2 = 20, Yc = 5e3, Jc = (e, t = c2) => {
|
|
28921
28949
|
const n = /^[a-z][a-z\d+.-]*:/i.test(e), i = new URL(e, "http://localhost");
|
|
28922
28950
|
return i.searchParams.has("size") || i.searchParams.set("size", `${t}`), n ? i.toString() : `${i.pathname}${i.search}${i.hash}`;
|
|
28923
28951
|
}, Ir = async (e, t, n) => {
|
|
28924
28952
|
const i = [];
|
|
28925
28953
|
let o = Jc(t), r = null, a = 0;
|
|
28926
|
-
for (; o && a <
|
|
28954
|
+
for (; o && a < d2 && i.length < Yc && o !== r; ) {
|
|
28927
28955
|
r = o;
|
|
28928
28956
|
const s = (await e.get(o, { signal: n })).data;
|
|
28929
28957
|
Array.isArray(s == null ? void 0 : s.data) && i.push(...s.data), o = s != null && s.next ? Jc(s.next) : null, a += 1;
|
|
28930
28958
|
}
|
|
28931
28959
|
return i.slice(0, Yc);
|
|
28932
28960
|
};
|
|
28933
|
-
function
|
|
28961
|
+
function p2(e) {
|
|
28934
28962
|
const { axiosInstance: t, apiBaseUrl: n } = e, i = () => {
|
|
28935
28963
|
if (e.app !== "konnect")
|
|
28936
28964
|
throw new Error("Installed custom plugin APIs are only available for Konnect");
|
|
@@ -29019,25 +29047,25 @@ const lt = {
|
|
|
29019
29047
|
useI18n: it,
|
|
29020
29048
|
usePluginMetaData: Yp,
|
|
29021
29049
|
usePluginHelpers: Hp,
|
|
29022
|
-
useSchemas:
|
|
29050
|
+
useSchemas: u2,
|
|
29023
29051
|
useExperimentalFreeForms: mu,
|
|
29024
|
-
useProvideExperimentalFreeForms:
|
|
29025
|
-
useFreeFormResolver:
|
|
29026
|
-
useCustomPluginApi:
|
|
29052
|
+
useProvideExperimentalFreeForms: n2,
|
|
29053
|
+
useFreeFormResolver: i2,
|
|
29054
|
+
useCustomPluginApi: p2
|
|
29027
29055
|
}, zm = (e) => {
|
|
29028
29056
|
var n, i, o, r;
|
|
29029
29057
|
const t = e == null ? void 0 : e.response;
|
|
29030
29058
|
return (t == null ? void 0 : t.status) === 400 && (((i = (n = t.data) == null ? void 0 : n.message) == null ? void 0 : i.includes("plugin schema is currently in use")) || ((o = t.data) == null ? void 0 : o.code) === 19 || ((r = t.data) == null ? void 0 : r.name) === "referenced by others");
|
|
29031
|
-
},
|
|
29059
|
+
}, f2 = { class: "kong-ui-entities-custom-plugin-form" }, m2 = { class: "plugin-type-radios" }, g2 = { class: "compare-table-wrapper" }, h2 = { class: "compare-table" }, y2 = {
|
|
29032
29060
|
key: 0,
|
|
29033
29061
|
scope: "col"
|
|
29034
|
-
},
|
|
29062
|
+
}, v2 = {
|
|
29035
29063
|
key: 1,
|
|
29036
29064
|
scope: "col"
|
|
29037
|
-
},
|
|
29065
|
+
}, _2 = {
|
|
29038
29066
|
key: 2,
|
|
29039
29067
|
scope: "col"
|
|
29040
|
-
},
|
|
29068
|
+
}, b2 = { scope: "row" }, w2 = { key: 0 }, k2 = { key: 1 }, C2 = { key: 2 }, E2 = { scope: "row" }, x2 = { key: 0 }, S2 = { class: "compare-list" }, A2 = { key: 1 }, I2 = { class: "compare-list" }, T2 = { key: 2 }, $2 = { scope: "row" }, P2 = { key: 0 }, O2 = { key: 1 }, N2 = { key: 2 }, R2 = { scope: "row" }, M2 = { key: 0 }, L2 = { key: 1 }, F2 = { key: 2 }, K2 = { scope: "row" }, j2 = { key: 0 }, D2 = { key: 1 }, q2 = { key: 2 }, B2 = { class: "plugin-modules-section" }, U2 = { class: "plugin-select-item" }, V2 = { class: "plugin-select-item" }, z2 = { key: 1 }, G2 = 1 * 1024 * 1024, H2 = /* @__PURE__ */ Oe({
|
|
29041
29069
|
__name: "CustomPluginForm",
|
|
29042
29070
|
props: {
|
|
29043
29071
|
config: {
|
|
@@ -29158,9 +29186,9 @@ const lt = {
|
|
|
29158
29186
|
errorMessage: ""
|
|
29159
29187
|
});
|
|
29160
29188
|
let W = "";
|
|
29161
|
-
|
|
29189
|
+
Xe(R, (pe) => {
|
|
29162
29190
|
q.value || (!M.fields.pluginType || !pe.includes(M.fields.pluginType)) && (M.fields.pluginType = pe[0] ?? null);
|
|
29163
|
-
}, { immediate: !0 }),
|
|
29191
|
+
}, { immediate: !0 }), Xe(() => M.fields.pluginType, () => {
|
|
29164
29192
|
q.value || (M.fields.schemaContent = "", M.fields.handlerContent = "", M.fields.name = "", M.fields.sourcePlugin = "", M.fields.aliasName = "", M.fields.priority = "");
|
|
29165
29193
|
});
|
|
29166
29194
|
const { getDisplayName: z } = Yp(), H = L(() => {
|
|
@@ -29169,8 +29197,8 @@ const lt = {
|
|
|
29169
29197
|
if (pe.length === 0) return [];
|
|
29170
29198
|
const he = {};
|
|
29171
29199
|
pe.forEach((je) => {
|
|
29172
|
-
const Ge = Tn[je],
|
|
29173
|
-
|
|
29200
|
+
const Ge = Tn[je], Ye = Ge == null ? void 0 : Ge.group;
|
|
29201
|
+
Ye ? (he[Ye] || (he[Ye] = []), he[Ye].push({
|
|
29174
29202
|
label: z(je),
|
|
29175
29203
|
value: je
|
|
29176
29204
|
})) : console.warn(`Plugin ${je} is missing metadata group and will be shown without grouping.`);
|
|
@@ -29198,14 +29226,14 @@ const lt = {
|
|
|
29198
29226
|
}), $ = (pe) => new Promise((he, Ke) => {
|
|
29199
29227
|
const Be = new FileReader();
|
|
29200
29228
|
Be.onload = (je) => {
|
|
29201
|
-
var
|
|
29202
|
-
const Ge = (
|
|
29229
|
+
var Ye;
|
|
29230
|
+
const Ge = (Ye = je.target) == null ? void 0 : Ye.result;
|
|
29203
29231
|
typeof Ge == "string" ? he(Ge) : Ke(new Error("Failed to read file as text"));
|
|
29204
29232
|
}, Be.onerror = Ke, Be.readAsText(pe);
|
|
29205
29233
|
}), D = async (pe, he) => {
|
|
29206
29234
|
const Ke = he[0];
|
|
29207
29235
|
if (Ke) {
|
|
29208
|
-
if (Ke.size >
|
|
29236
|
+
if (Ke.size > G2) {
|
|
29209
29237
|
M.errorMessage = a("custom_plugin_form.errors.file_too_large");
|
|
29210
29238
|
return;
|
|
29211
29239
|
}
|
|
@@ -29289,8 +29317,8 @@ const lt = {
|
|
|
29289
29317
|
}
|
|
29290
29318
|
};
|
|
29291
29319
|
return (pe, he) => {
|
|
29292
|
-
const Ke = xe("KSkeleton"), Be = xe("KEmptyState"), je = xe("KRadio"), Ge = xe("KCollapse"),
|
|
29293
|
-
return S(), le("div",
|
|
29320
|
+
const Ke = xe("KSkeleton"), Be = xe("KEmptyState"), je = xe("KRadio"), Ge = xe("KCollapse"), Ye = xe("KFileUpload"), rt = xe("KLabel"), ft = xe("KAlert"), qe = xe("KSelect"), Ce = xe("KInput"), se = xe("KButton");
|
|
29321
|
+
return S(), le("div", f2, [
|
|
29294
29322
|
C(u(md), {
|
|
29295
29323
|
ref_key: "entityBaseFormRef",
|
|
29296
29324
|
ref: x,
|
|
@@ -29307,7 +29335,7 @@ const lt = {
|
|
|
29307
29335
|
onSubmit: we
|
|
29308
29336
|
}, {
|
|
29309
29337
|
"form-actions": N(() => [
|
|
29310
|
-
A.value || I.value || j.value ? (S(), le("span",
|
|
29338
|
+
A.value || I.value || j.value ? (S(), le("span", z2)) : (S(), le(ze, { key: 0 }, [
|
|
29311
29339
|
C(se, {
|
|
29312
29340
|
appearance: "primary",
|
|
29313
29341
|
"data-testid": "custom-plugin-form-submit",
|
|
@@ -29377,7 +29405,7 @@ const lt = {
|
|
|
29377
29405
|
title: u(a)("custom_plugin_form.step1.title")
|
|
29378
29406
|
}, {
|
|
29379
29407
|
default: N(() => [
|
|
29380
|
-
ee("div",
|
|
29408
|
+
ee("div", m2, [
|
|
29381
29409
|
oe("installed") ? (S(), Z(je, {
|
|
29382
29410
|
key: 0,
|
|
29383
29411
|
modelValue: M.fields.pluginType,
|
|
@@ -29421,39 +29449,39 @@ const lt = {
|
|
|
29421
29449
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
29422
29450
|
}, {
|
|
29423
29451
|
default: N(() => [
|
|
29424
|
-
ee("div",
|
|
29425
|
-
ee("table",
|
|
29452
|
+
ee("div", g2, [
|
|
29453
|
+
ee("table", h2, [
|
|
29426
29454
|
ee("thead", null, [
|
|
29427
29455
|
ee("tr", null, [
|
|
29428
29456
|
he[15] || (he[15] = ee("th", { scope: "col" }, null, -1)),
|
|
29429
|
-
oe("installed") ? (S(), le("th",
|
|
29430
|
-
oe("streamed") ? (S(), le("th",
|
|
29431
|
-
oe("cloned") ? (S(), le("th",
|
|
29457
|
+
oe("installed") ? (S(), le("th", y2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1)) : ye("", !0),
|
|
29458
|
+
oe("streamed") ? (S(), le("th", v2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1)) : ye("", !0),
|
|
29459
|
+
oe("cloned") ? (S(), le("th", _2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)) : ye("", !0)
|
|
29432
29460
|
])
|
|
29433
29461
|
]),
|
|
29434
29462
|
ee("tbody", null, [
|
|
29435
29463
|
ee("tr", null, [
|
|
29436
|
-
ee("th",
|
|
29437
|
-
oe("installed") ? (S(), le("td",
|
|
29438
|
-
oe("streamed") ? (S(), le("td",
|
|
29439
|
-
oe("cloned") ? (S(), le("td",
|
|
29464
|
+
ee("th", b2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
29465
|
+
oe("installed") ? (S(), le("td", w2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1)) : ye("", !0),
|
|
29466
|
+
oe("streamed") ? (S(), le("td", k2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1)) : ye("", !0),
|
|
29467
|
+
oe("cloned") ? (S(), le("td", C2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)) : ye("", !0)
|
|
29440
29468
|
]),
|
|
29441
29469
|
ee("tr", null, [
|
|
29442
|
-
ee("th",
|
|
29443
|
-
oe("installed") ? (S(), le("td",
|
|
29444
|
-
ee("ul",
|
|
29470
|
+
ee("th", E2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
29471
|
+
oe("installed") ? (S(), le("td", x2, [
|
|
29472
|
+
ee("ul", S2, [
|
|
29445
29473
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
29446
29474
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
29447
29475
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
29448
29476
|
])
|
|
29449
29477
|
])) : ye("", !0),
|
|
29450
|
-
oe("streamed") ? (S(), le("td",
|
|
29451
|
-
ee("ul",
|
|
29478
|
+
oe("streamed") ? (S(), le("td", A2, [
|
|
29479
|
+
ee("ul", I2, [
|
|
29452
29480
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
29453
29481
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
29454
29482
|
])
|
|
29455
29483
|
])) : ye("", !0),
|
|
29456
|
-
oe("cloned") ? (S(), le("td",
|
|
29484
|
+
oe("cloned") ? (S(), le("td", T2, [
|
|
29457
29485
|
C(u(Da), {
|
|
29458
29486
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29459
29487
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29461,20 +29489,20 @@ const lt = {
|
|
|
29461
29489
|
])) : ye("", !0)
|
|
29462
29490
|
]),
|
|
29463
29491
|
ee("tr", null, [
|
|
29464
|
-
ee("th",
|
|
29465
|
-
oe("installed") ? (S(), le("td",
|
|
29466
|
-
oe("streamed") ? (S(), le("td",
|
|
29467
|
-
oe("cloned") ? (S(), le("td",
|
|
29492
|
+
ee("th", $2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
29493
|
+
oe("installed") ? (S(), le("td", P2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1)) : ye("", !0),
|
|
29494
|
+
oe("streamed") ? (S(), le("td", O2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1)) : ye("", !0),
|
|
29495
|
+
oe("cloned") ? (S(), le("td", N2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)) : ye("", !0)
|
|
29468
29496
|
]),
|
|
29469
29497
|
ee("tr", null, [
|
|
29470
|
-
ee("th",
|
|
29471
|
-
oe("installed") ? (S(), le("td",
|
|
29498
|
+
ee("th", R2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
29499
|
+
oe("installed") ? (S(), le("td", M2, [
|
|
29472
29500
|
C(u(Da), {
|
|
29473
29501
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29474
29502
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29475
29503
|
}, null, 8, ["color", "size"])
|
|
29476
29504
|
])) : ye("", !0),
|
|
29477
|
-
oe("streamed") ? (S(), le("td",
|
|
29505
|
+
oe("streamed") ? (S(), le("td", L2, [
|
|
29478
29506
|
C(u(l), { keypath: "custom_plugin_form.step1.compare_table.rows.sandboxing.streamed" }, {
|
|
29479
29507
|
link: N(() => [
|
|
29480
29508
|
C(u(bu), {
|
|
@@ -29490,23 +29518,23 @@ const lt = {
|
|
|
29490
29518
|
_: 1
|
|
29491
29519
|
})
|
|
29492
29520
|
])) : ye("", !0),
|
|
29493
|
-
oe("cloned") ? (S(), le("td",
|
|
29521
|
+
oe("cloned") ? (S(), le("td", F2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)) : ye("", !0)
|
|
29494
29522
|
]),
|
|
29495
29523
|
ee("tr", null, [
|
|
29496
|
-
ee("th",
|
|
29497
|
-
oe("installed") ? (S(), le("td",
|
|
29524
|
+
ee("th", K2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
29525
|
+
oe("installed") ? (S(), le("td", j2, [
|
|
29498
29526
|
C(u(Cg), {
|
|
29499
29527
|
color: `var(--kui-color-text-success, ${u(xd)})`,
|
|
29500
29528
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29501
29529
|
}, null, 8, ["color", "size"])
|
|
29502
29530
|
])) : ye("", !0),
|
|
29503
|
-
oe("streamed") ? (S(), le("td",
|
|
29531
|
+
oe("streamed") ? (S(), le("td", D2, [
|
|
29504
29532
|
C(u(Da), {
|
|
29505
29533
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29506
29534
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29507
29535
|
}, null, 8, ["color", "size"])
|
|
29508
29536
|
])) : ye("", !0),
|
|
29509
|
-
oe("cloned") ? (S(), le("td",
|
|
29537
|
+
oe("cloned") ? (S(), le("td", q2, [
|
|
29510
29538
|
C(u(Da), {
|
|
29511
29539
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29512
29540
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29529,7 +29557,7 @@ const lt = {
|
|
|
29529
29557
|
title: u(a)("custom_plugin_form.step2_files.title")
|
|
29530
29558
|
}, {
|
|
29531
29559
|
default: N(() => [
|
|
29532
|
-
C(
|
|
29560
|
+
C(Ye, {
|
|
29533
29561
|
accept: [".lua"],
|
|
29534
29562
|
"button-text": u(a)("custom_plugin_form.step2_files.schema_file.button_text"),
|
|
29535
29563
|
"data-testid": "custom-plugin-schema-upload",
|
|
@@ -29540,7 +29568,7 @@ const lt = {
|
|
|
29540
29568
|
onFileAdded: he[4] || (he[4] = (ie) => D("schema", ie)),
|
|
29541
29569
|
onFileRemoved: he[5] || (he[5] = (ie) => re("schema"))
|
|
29542
29570
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29543
|
-
ee("div",
|
|
29571
|
+
ee("div", B2, [
|
|
29544
29572
|
C(rt, null, {
|
|
29545
29573
|
default: N(() => [
|
|
29546
29574
|
Le(ue(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -29562,7 +29590,7 @@ const lt = {
|
|
|
29562
29590
|
title: u(a)("custom_plugin_form.step2_files.title")
|
|
29563
29591
|
}, {
|
|
29564
29592
|
default: N(() => [
|
|
29565
|
-
C(
|
|
29593
|
+
C(Ye, {
|
|
29566
29594
|
accept: [".lua"],
|
|
29567
29595
|
"button-text": u(a)("custom_plugin_form.step2_files.schema_file.button_text"),
|
|
29568
29596
|
"data-testid": "custom-plugin-schema-upload",
|
|
@@ -29573,7 +29601,7 @@ const lt = {
|
|
|
29573
29601
|
onFileAdded: he[6] || (he[6] = (ie) => D("schema", ie)),
|
|
29574
29602
|
onFileRemoved: he[7] || (he[7] = (ie) => re("schema"))
|
|
29575
29603
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29576
|
-
C(
|
|
29604
|
+
C(Ye, {
|
|
29577
29605
|
accept: [".lua"],
|
|
29578
29606
|
"button-text": u(a)("custom_plugin_form.step2_files.handler_file.button_text"),
|
|
29579
29607
|
"data-testid": "custom-plugin-handler-upload",
|
|
@@ -29605,7 +29633,7 @@ const lt = {
|
|
|
29605
29633
|
required: ""
|
|
29606
29634
|
}, {
|
|
29607
29635
|
"item-template": N(({ item: ie }) => [
|
|
29608
|
-
ee("div",
|
|
29636
|
+
ee("div", U2, [
|
|
29609
29637
|
C(u(qi), {
|
|
29610
29638
|
name: String(ie.value),
|
|
29611
29639
|
size: 20
|
|
@@ -29614,7 +29642,7 @@ const lt = {
|
|
|
29614
29642
|
])
|
|
29615
29643
|
]),
|
|
29616
29644
|
"selected-item-template": N(({ item: ie }) => [
|
|
29617
|
-
ee("div",
|
|
29645
|
+
ee("div", V2, [
|
|
29618
29646
|
C(u(qi), {
|
|
29619
29647
|
name: String(ie.value),
|
|
29620
29648
|
size: 20
|
|
@@ -29710,7 +29738,7 @@ const lt = {
|
|
|
29710
29738
|
]);
|
|
29711
29739
|
};
|
|
29712
29740
|
}
|
|
29713
|
-
}),
|
|
29741
|
+
}), nK = /* @__PURE__ */ Ve(H2, [["__scopeId", "data-v-0c1e017a"]]), W2 = (e, t) => ({
|
|
29714
29742
|
type: "array",
|
|
29715
29743
|
valueType: "string",
|
|
29716
29744
|
valueArrayType: "array",
|
|
@@ -29729,7 +29757,7 @@ const lt = {
|
|
|
29729
29757
|
},
|
|
29730
29758
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
29731
29759
|
}
|
|
29732
|
-
}),
|
|
29760
|
+
}), Y2 = { class: "referable-field-item" }, J2 = 24, X2 = /* @__PURE__ */ Oe({
|
|
29733
29761
|
__name: "ReferableFieldItem",
|
|
29734
29762
|
props: {
|
|
29735
29763
|
field: {},
|
|
@@ -29746,13 +29774,13 @@ const lt = {
|
|
|
29746
29774
|
const a = `label[for="${i.value}"]`, l = document.querySelector(a) || document.getElementById(i.value);
|
|
29747
29775
|
if (!l)
|
|
29748
29776
|
return;
|
|
29749
|
-
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
29777
|
+
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY - J2), d = () => {
|
|
29750
29778
|
var f;
|
|
29751
29779
|
(f = l.click) == null || f.call(l);
|
|
29752
29780
|
};
|
|
29753
29781
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: s, behavior: "smooth" });
|
|
29754
29782
|
};
|
|
29755
|
-
return (a, l) => (S(), le("span",
|
|
29783
|
+
return (a, l) => (S(), le("span", Y2, [
|
|
29756
29784
|
ee("span", {
|
|
29757
29785
|
class: "referable-field-link",
|
|
29758
29786
|
role: "button",
|
|
@@ -29764,7 +29792,7 @@ const lt = {
|
|
|
29764
29792
|
], 64))
|
|
29765
29793
|
]));
|
|
29766
29794
|
}
|
|
29767
|
-
}), Xc = /* @__PURE__ */ Ve(
|
|
29795
|
+
}), Xc = /* @__PURE__ */ Ve(X2, [["__scopeId", "data-v-949a9ea1"]]), Z2 = { key: 0 }, Q2 = /* @__PURE__ */ Oe({
|
|
29768
29796
|
__name: "PluginFieldRuleAlerts",
|
|
29769
29797
|
props: {
|
|
29770
29798
|
rules: {}
|
|
@@ -29802,7 +29830,7 @@ const lt = {
|
|
|
29802
29830
|
_: 2
|
|
29803
29831
|
}, 1032, ["keypath"])
|
|
29804
29832
|
]))), 128)),
|
|
29805
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li",
|
|
29833
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li", Z2, [
|
|
29806
29834
|
(S(!0), le(ze, null, Qe(t.rules.onlyOneOfMutuallyRequired, (s, d) => (S(), le("div", {
|
|
29807
29835
|
key: `only-one-mutually-alert-${d}`
|
|
29808
29836
|
}, [
|
|
@@ -29826,8 +29854,8 @@ const lt = {
|
|
|
29826
29854
|
});
|
|
29827
29855
|
};
|
|
29828
29856
|
}
|
|
29829
|
-
}),
|
|
29830
|
-
function
|
|
29857
|
+
}), eM = /* @__PURE__ */ Ve(Q2, [["__scopeId", "data-v-5f9ff453"]]);
|
|
29858
|
+
function tM(e) {
|
|
29831
29859
|
if (e.length === 0) return "";
|
|
29832
29860
|
if (e.length === 1) {
|
|
29833
29861
|
const o = fn(e[0]);
|
|
@@ -29846,18 +29874,18 @@ function X2(e) {
|
|
|
29846
29874
|
function gu(e) {
|
|
29847
29875
|
return "at_least_one_of" in e ? e.at_least_one_of : "mutually_required" in e ? e.mutually_required : "mutually_exclusive" in e ? e.mutually_exclusive : null;
|
|
29848
29876
|
}
|
|
29849
|
-
function
|
|
29877
|
+
function nM(e, t) {
|
|
29850
29878
|
if (!t) return e;
|
|
29851
29879
|
const n = t + Oa;
|
|
29852
29880
|
return e.map(
|
|
29853
29881
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
29854
29882
|
);
|
|
29855
29883
|
}
|
|
29856
|
-
function
|
|
29857
|
-
const n = gu(e), i =
|
|
29884
|
+
function iM(e, t) {
|
|
29885
|
+
const n = gu(e), i = nM(n, t);
|
|
29858
29886
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
29859
29887
|
}
|
|
29860
|
-
function
|
|
29888
|
+
function oM(e) {
|
|
29861
29889
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
29862
29890
|
for (const i of e) {
|
|
29863
29891
|
const o = gu(i);
|
|
@@ -29865,17 +29893,17 @@ function eM(e) {
|
|
|
29865
29893
|
t.push(i);
|
|
29866
29894
|
continue;
|
|
29867
29895
|
}
|
|
29868
|
-
const r =
|
|
29896
|
+
const r = tM(o);
|
|
29869
29897
|
if (!r) {
|
|
29870
29898
|
t.push(i);
|
|
29871
29899
|
continue;
|
|
29872
29900
|
}
|
|
29873
|
-
const a =
|
|
29901
|
+
const a = iM(i, r);
|
|
29874
29902
|
n.has(r) || n.set(r, []), n.get(r).push(a);
|
|
29875
29903
|
}
|
|
29876
29904
|
return { keep: t, move: n };
|
|
29877
29905
|
}
|
|
29878
|
-
function
|
|
29906
|
+
function aM(e, t, n) {
|
|
29879
29907
|
const i = fn(t);
|
|
29880
29908
|
let o = e;
|
|
29881
29909
|
for (const r of i) {
|
|
@@ -29893,27 +29921,27 @@ function tM(e, t, n) {
|
|
|
29893
29921
|
function Gm(e) {
|
|
29894
29922
|
var t;
|
|
29895
29923
|
if ((t = e.entity_checks) != null && t.length) {
|
|
29896
|
-
const { keep: n, move: i } =
|
|
29924
|
+
const { keep: n, move: i } = oM(e.entity_checks);
|
|
29897
29925
|
e.entity_checks = n.length ? n : void 0;
|
|
29898
29926
|
for (const [o, r] of i)
|
|
29899
|
-
|
|
29927
|
+
aM(e, o, r);
|
|
29900
29928
|
}
|
|
29901
29929
|
for (const n of e.fields) {
|
|
29902
29930
|
const i = Object.values(n)[0];
|
|
29903
29931
|
i.type === "record" && Gm(i);
|
|
29904
29932
|
}
|
|
29905
29933
|
}
|
|
29906
|
-
function
|
|
29934
|
+
function rM(e) {
|
|
29907
29935
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
29908
29936
|
fields: t.fields
|
|
29909
29937
|
};
|
|
29910
29938
|
return Gm(n), t.fields = n.fields, t;
|
|
29911
29939
|
}
|
|
29912
|
-
function
|
|
29940
|
+
function sM(e, t) {
|
|
29913
29941
|
const n = Tn[e];
|
|
29914
29942
|
if (!n || !n.fieldRules)
|
|
29915
29943
|
return t;
|
|
29916
|
-
const i =
|
|
29944
|
+
const i = lM(n.fieldRules), o = { ...t };
|
|
29917
29945
|
return o.fields = o.fields.map((r) => {
|
|
29918
29946
|
if (Object.keys(r)[0] === "config") {
|
|
29919
29947
|
const l = r.config.entity_checks || [], s = (c) => {
|
|
@@ -29936,7 +29964,7 @@ function iM(e, t) {
|
|
|
29936
29964
|
return r;
|
|
29937
29965
|
}), o;
|
|
29938
29966
|
}
|
|
29939
|
-
function
|
|
29967
|
+
function lM(e) {
|
|
29940
29968
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
29941
29969
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
29942
29970
|
t.push({
|
|
@@ -29969,10 +29997,10 @@ function oM(e) {
|
|
|
29969
29997
|
}
|
|
29970
29998
|
}), t;
|
|
29971
29999
|
}
|
|
29972
|
-
const
|
|
30000
|
+
const uM = { class: "kong-ui-entities-plugin-form" }, cM = {
|
|
29973
30001
|
key: 1,
|
|
29974
30002
|
class: "entity-form"
|
|
29975
|
-
},
|
|
30003
|
+
}, dM = { class: "plugin-config-empty-state" }, pM = /* @__PURE__ */ Oe({
|
|
29976
30004
|
__name: "PluginEntityForm",
|
|
29977
30005
|
props: {
|
|
29978
30006
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30136,18 +30164,18 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30136
30164
|
}
|
|
30137
30165
|
});
|
|
30138
30166
|
const I = Qm({ ...i.config });
|
|
30139
|
-
|
|
30167
|
+
Xe(() => i.config, (Ce) => {
|
|
30140
30168
|
Object.assign(I, Ce);
|
|
30141
30169
|
}), Lt(Yn, I);
|
|
30142
30170
|
const O = me(""), R = me(), j = pn(), Q = me(null), G = me({}), oe = xi({}), F = xi({}), X = L(() => {
|
|
30143
30171
|
var Ce;
|
|
30144
30172
|
return (Ce = Q.value) == null ? void 0 : Ce.options;
|
|
30145
30173
|
}), M = L(() => {
|
|
30146
|
-
const Ce =
|
|
30174
|
+
const Ce = sM(
|
|
30147
30175
|
F.name,
|
|
30148
30176
|
i.rawSchema
|
|
30149
30177
|
);
|
|
30150
|
-
return
|
|
30178
|
+
return rM(Ce);
|
|
30151
30179
|
}), W = me(!1), z = me(), H = (Ce, se) => {
|
|
30152
30180
|
W.value = Ce ?? "", z.value = se;
|
|
30153
30181
|
}, U = (Ce) => {
|
|
@@ -30340,7 +30368,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30340
30368
|
originalModel: oe,
|
|
30341
30369
|
data: D(se)
|
|
30342
30370
|
});
|
|
30343
|
-
},
|
|
30371
|
+
}, Ye = me(!0), rt = () => {
|
|
30344
30372
|
var Ce;
|
|
30345
30373
|
if (i.record && i.schema && (_e({
|
|
30346
30374
|
enabled: i.record.enabled ?? !0,
|
|
@@ -30367,11 +30395,11 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30367
30395
|
const se = {};
|
|
30368
30396
|
Object.prototype.hasOwnProperty.call(F, "consumer") && (se.consumer = i.entityMap.consumer.id), _e(se);
|
|
30369
30397
|
}
|
|
30370
|
-
|
|
30398
|
+
Ye.value = !1;
|
|
30371
30399
|
};
|
|
30372
|
-
return
|
|
30400
|
+
return Xe(Ye, (Ce) => {
|
|
30373
30401
|
n("loading", Ce);
|
|
30374
|
-
}),
|
|
30402
|
+
}), Xe(() => i.schema, (Ce, se) => {
|
|
30375
30403
|
var Y, de;
|
|
30376
30404
|
if (b(Ce || {}, se || {}))
|
|
30377
30405
|
return;
|
|
@@ -30388,11 +30416,11 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30388
30416
|
var Y, de, fe;
|
|
30389
30417
|
const ie = xe("KSkeleton");
|
|
30390
30418
|
return S(), le(ze, null, [
|
|
30391
|
-
ee("div",
|
|
30392
|
-
|
|
30419
|
+
ee("div", uM, [
|
|
30420
|
+
Ye.value ? (S(), Z(ie, {
|
|
30393
30421
|
key: 0,
|
|
30394
30422
|
type: "form"
|
|
30395
|
-
})) : F.id && e.editing || !e.editing ? (S(), le("div",
|
|
30423
|
+
})) : F.id && e.editing || !e.editing ? (S(), le("div", cM, [
|
|
30396
30424
|
j.value ? (S(), Z(Kt(j.value), {
|
|
30397
30425
|
key: 0,
|
|
30398
30426
|
developer: e.developer,
|
|
@@ -30454,14 +30482,14 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30454
30482
|
onShowNewPartialModal: se[5] || (se[5] = (ge) => Ce.$emit("showNewPartialModal", ge))
|
|
30455
30483
|
}, vt({
|
|
30456
30484
|
"plugin-config-empty-state": N(() => [
|
|
30457
|
-
ee("div",
|
|
30485
|
+
ee("div", dM, ue(u(x)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
30458
30486
|
]),
|
|
30459
30487
|
_: 2
|
|
30460
30488
|
}, [
|
|
30461
30489
|
(fe = u(Tn)[F.name]) != null && fe.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
30462
30490
|
name: "plugin-config-before-content",
|
|
30463
30491
|
fn: N(() => [
|
|
30464
|
-
C(
|
|
30492
|
+
C(eM, {
|
|
30465
30493
|
rules: u(Tn)[F.name].fieldRules
|
|
30466
30494
|
}, null, 8, ["rules"])
|
|
30467
30495
|
]),
|
|
@@ -30486,7 +30514,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30486
30514
|
], 64);
|
|
30487
30515
|
};
|
|
30488
30516
|
}
|
|
30489
|
-
}),
|
|
30517
|
+
}), fM = /* @__PURE__ */ Ve(pM, [["__scopeId", "data-v-7f30f062"]]), mM = { key: 1 }, gM = /* @__PURE__ */ Oe({
|
|
30490
30518
|
__name: "PluginFormActionsWrapper",
|
|
30491
30519
|
props: {
|
|
30492
30520
|
teleportTarget: {
|
|
@@ -30500,14 +30528,14 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30500
30528
|
to: e.teleportTarget
|
|
30501
30529
|
}, [
|
|
30502
30530
|
Ze(t.$slots, "default")
|
|
30503
|
-
], 8, ["to"])) : (S(), le("div",
|
|
30531
|
+
], 8, ["to"])) : (S(), le("div", mM, [
|
|
30504
30532
|
Ze(t.$slots, "default")
|
|
30505
30533
|
]));
|
|
30506
30534
|
}
|
|
30507
|
-
}),
|
|
30535
|
+
}), hM = { key: 0 }, yM = { class: "plugin-form-actions" }, vM = {
|
|
30508
30536
|
key: 0,
|
|
30509
30537
|
class: "button-customize-deck-wrapper"
|
|
30510
|
-
},
|
|
30538
|
+
}, _M = /* @__PURE__ */ Oe({
|
|
30511
30539
|
__name: "PluginForm",
|
|
30512
30540
|
props: {
|
|
30513
30541
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30692,8 +30720,8 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30692
30720
|
}), _e = () => {
|
|
30693
30721
|
b.value = !b.value;
|
|
30694
30722
|
}, pe = L(() => {
|
|
30695
|
-
var Ne, De, Ue, et,
|
|
30696
|
-
const B = a.config.entityType === "consumers" && a.config.entityId || ((De = (Ne = P.value) == null ? void 0 : Ne.consumer) == null ? void 0 : De.id), ne = a.config.entityType === "consumer_groups" && a.config.entityId || ((et = (Ue = P.value) == null ? void 0 : Ue.consumer_group) == null ? void 0 : et.id), V = a.config.entityType === "services" && a.config.entityId || ((Fe = (
|
|
30723
|
+
var Ne, De, Ue, et, Je, Fe, $e, _t;
|
|
30724
|
+
const B = a.config.entityType === "consumers" && a.config.entityId || ((De = (Ne = P.value) == null ? void 0 : Ne.consumer) == null ? void 0 : De.id), ne = a.config.entityType === "consumer_groups" && a.config.entityId || ((et = (Ue = P.value) == null ? void 0 : Ue.consumer_group) == null ? void 0 : et.id), V = a.config.entityType === "services" && a.config.entityId || ((Fe = (Je = P.value) == null ? void 0 : Je.service) == null ? void 0 : Fe.id), Ee = a.config.entityType === "routes" && a.config.entityId || ((_t = ($e = P.value) == null ? void 0 : $e.route) == null ? void 0 : _t.id);
|
|
30697
30725
|
if (!(B || ne || V || Ee))
|
|
30698
30726
|
return {
|
|
30699
30727
|
global: {
|
|
@@ -30813,19 +30841,19 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30813
30841
|
var Ue, et;
|
|
30814
30842
|
let Se = ne && ne.fields || [];
|
|
30815
30843
|
const Ne = d[Q.value], De = (et = (Ue = po[a.pluginType]) == null ? void 0 : Ue.schema) == null ? void 0 : et.fields;
|
|
30816
|
-
return Array.isArray(Se) && (Se = Se.reduce((
|
|
30844
|
+
return Array.isArray(Se) && (Se = Se.reduce((Je, Fe) => {
|
|
30817
30845
|
const $e = Object.keys(Fe)[0];
|
|
30818
|
-
return $e.match(/-/g) ?
|
|
30846
|
+
return $e.match(/-/g) ? Je[$e.replace(/-/g, "_")] = {
|
|
30819
30847
|
...Fe[$e],
|
|
30820
30848
|
// A flag to indicate the field name has dashes originally and they are replaced with underscores.
|
|
30821
30849
|
// When submitting the form, the underscores should be replaced with dashes again
|
|
30822
30850
|
fieldNameHasDashes: !0
|
|
30823
|
-
} :
|
|
30824
|
-
}, {})), Object.keys(Se).sort().forEach((
|
|
30851
|
+
} : Je[$e] = Fe[$e], Je;
|
|
30852
|
+
}, {})), Object.keys(Se).sort().forEach((Je) => {
|
|
30825
30853
|
var Dn, $t, Jt, Uo, Vo, zo, Go;
|
|
30826
|
-
const Fe = Se[
|
|
30854
|
+
const Fe = Se[Je];
|
|
30827
30855
|
Fe.type === "set" && !(oe.value && Fe.elements.one_of) && (Fe.type = "array");
|
|
30828
|
-
const $e = B ? `${B}-${
|
|
30856
|
+
const $e = B ? `${B}-${Je}` : `${Je}`;
|
|
30829
30857
|
if ((Dn = Ne == null ? void 0 : Ne.fieldsToDelete) != null && Dn.includes($e)) {
|
|
30830
30858
|
nc(V, $e);
|
|
30831
30859
|
return;
|
|
@@ -30837,18 +30865,18 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30837
30865
|
if (Fe.fields)
|
|
30838
30866
|
return Ee && Fe.type === "record" ? (V[$e] = {
|
|
30839
30867
|
type: "object",
|
|
30840
|
-
model:
|
|
30868
|
+
model: Je,
|
|
30841
30869
|
schema: {
|
|
30842
30870
|
fields: Object.values(je($e, Fe, {}, !0))
|
|
30843
30871
|
}
|
|
30844
30872
|
}, V) : je($e, Fe, V);
|
|
30845
|
-
if (V[$e] = { id: $e, model:
|
|
30873
|
+
if (V[$e] = { id: $e, model: Je }, V[$e].type = Fe.type === "boolean" ? "checkbox" : "input", V[$e].required = Fe.required, V[$e].referenceable = Fe.referenceable, $e.startsWith("config-"))
|
|
30846
30874
|
if (!Ee && Fe.type === "array" && (ae.value = $e), Ee && ae.value && $e.startsWith(ae.value)) {
|
|
30847
30875
|
const ct = $e.slice(ae.value.length + 1);
|
|
30848
30876
|
V[$e].label = ct.split("-").map(c).join(".");
|
|
30849
30877
|
} else
|
|
30850
30878
|
V[$e].label = c($e);
|
|
30851
|
-
if ((B === "config" || B.startsWith("config-")) && ($t = Se[
|
|
30879
|
+
if ((B === "config" || B.startsWith("config-")) && ($t = Se[Je]) != null && $t.description && (V[$e].help = or.parse(Se[Je].description, { mangle: !1, headerIds: !1 })), Fe.type === "map") {
|
|
30852
30880
|
if (V[$e].type = "object-advanced", V[$e].values = Fe.values, Fe.values.type === "array") {
|
|
30853
30881
|
const { type: ct } = Fe.values.elements || {};
|
|
30854
30882
|
V[$e].schema = {
|
|
@@ -30899,7 +30927,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30899
30927
|
} else if (["string", "integer", "number"].includes(ct.type) && ct.one_of) {
|
|
30900
30928
|
if (Ee) {
|
|
30901
30929
|
const { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn } = V[$e];
|
|
30902
|
-
V[$e] = { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...
|
|
30930
|
+
V[$e] = { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...W2(ct.one_of, Fe.default) };
|
|
30903
30931
|
}
|
|
30904
30932
|
} else if (ct.type === "array") {
|
|
30905
30933
|
const { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, elements: An } = V[$e], { inputAttributes: as, ...Wm } = JSON.parse(JSON.stringify(mt));
|
|
@@ -30990,13 +31018,13 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
30990
31018
|
}), V;
|
|
30991
31019
|
}, Ge = () => {
|
|
30992
31020
|
var _t, Dn, $t, Jt, Uo, Vo, zo, Go, ct, Xt, Pt, ht;
|
|
30993
|
-
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Mt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Mt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Mt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Jt = Tn[B]) == null ? void 0 : Jt.scope.includes(Mt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = P.value) == null ? void 0 : Uo.consumer) != null && Vo.id), De = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = P.value) == null ? void 0 : zo.consumer_group) != null && Go.id), Ue = a.config.entityType === "services" && !!a.config.entityId || !!((Xt = (ct = P.value) == null ? void 0 : ct.service) != null && Xt.id), et = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Pt = P.value) == null ? void 0 : Pt.route) != null && ht.id),
|
|
31021
|
+
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Mt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Mt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Mt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Jt = Tn[B]) == null ? void 0 : Jt.scope.includes(Mt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = P.value) == null ? void 0 : Uo.consumer) != null && Vo.id), De = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = P.value) == null ? void 0 : zo.consumer_group) != null && Go.id), Ue = a.config.entityType === "services" && !!a.config.entityId || !!((Xt = (ct = P.value) == null ? void 0 : ct.service) != null && Xt.id), et = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Pt = P.value) == null ? void 0 : Pt.route) != null && ht.id), Je = [], Fe = (ut, St, Et) => ut ? s("plugins.form.disable_source_scope_change", { scope: Et }) : St ? s("plugins.form.disable_data_retrieving", { scope: Et }) : "", $e = (ut) => {
|
|
30994
31022
|
var St, Et;
|
|
30995
31023
|
return ((Et = (St = a.scopedEntitiesPermissions) == null ? void 0 : St[ut]) == null ? void 0 : Et.canRetrieve) === !1;
|
|
30996
31024
|
};
|
|
30997
31025
|
if (ne) {
|
|
30998
31026
|
const ut = $e("service"), St = "services", Et = Ue && a.disableScopeSelection;
|
|
30999
|
-
|
|
31027
|
+
Je.push({
|
|
31000
31028
|
id: "service-id",
|
|
31001
31029
|
model: "service-id",
|
|
31002
31030
|
label: s("plugins.form.scoping.gateway_service.label"),
|
|
@@ -31015,7 +31043,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31015
31043
|
}
|
|
31016
31044
|
if (V) {
|
|
31017
31045
|
const ut = $e("route"), St = "routes", Et = et && a.disableScopeSelection;
|
|
31018
|
-
|
|
31046
|
+
Je.push({
|
|
31019
31047
|
id: "route-id",
|
|
31020
31048
|
model: "route-id",
|
|
31021
31049
|
label: s("plugins.form.scoping.route.label"),
|
|
@@ -31035,7 +31063,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31035
31063
|
}
|
|
31036
31064
|
if (Ee) {
|
|
31037
31065
|
const ut = $e("consumer"), St = "consumers", Et = Ne && a.disableScopeSelection;
|
|
31038
|
-
|
|
31066
|
+
Je.push({
|
|
31039
31067
|
model: "consumer-id",
|
|
31040
31068
|
label: s("plugins.form.scoping.consumer.label"),
|
|
31041
31069
|
placeholder: s("plugins.form.scoping.placeholder"),
|
|
@@ -31053,7 +31081,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31053
31081
|
}
|
|
31054
31082
|
if (Se) {
|
|
31055
31083
|
const ut = $e("consumer_group"), St = "consumer_groups", Et = De && a.disableScopeSelection;
|
|
31056
|
-
|
|
31084
|
+
Je.push({
|
|
31057
31085
|
model: "consumer_group-id",
|
|
31058
31086
|
label: s("plugins.form.scoping.consumer_group.label"),
|
|
31059
31087
|
placeholder: s("plugins.form.scoping.placeholder"),
|
|
@@ -31070,7 +31098,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31070
31098
|
disabledTooltip: Fe(Et, ut, St)
|
|
31071
31099
|
});
|
|
31072
31100
|
}
|
|
31073
|
-
if (
|
|
31101
|
+
if (Je.length) {
|
|
31074
31102
|
const ut = [
|
|
31075
31103
|
...ne ? ["service"] : [],
|
|
31076
31104
|
...V ? ["route"] : [],
|
|
@@ -31089,10 +31117,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31089
31117
|
label: s("plugins.form.scoping.label"),
|
|
31090
31118
|
description: bn,
|
|
31091
31119
|
fields: []
|
|
31092
|
-
}), he.selectionGroup.fields[1].fields =
|
|
31120
|
+
}), he.selectionGroup.fields[1].fields = Je;
|
|
31093
31121
|
}
|
|
31094
31122
|
d[Q.value] && d[Q.value].overwriteDefault && Object.hasOwnProperty.call(d[Q.value], "formSchema") && Object.assign(he, d[Q.value].formSchema);
|
|
31095
|
-
},
|
|
31123
|
+
}, Ye = L(() => !y($.fields, U, !0)), rt = L(() => !Pe.value && !H.value && (E.value === Pi.Create || Ye.value)), ft = me(!1), qe = me(), Ce = (B) => {
|
|
31096
31124
|
a.credential && B.password && (B.password = ""), $.fields.id = (B == null ? void 0 : B.id) || void 0, qe.value = B == null ? void 0 : B.ordering, Object.assign(U, $.fields), P.value = B, ft.value = !0;
|
|
31097
31125
|
}, se = me({}), ie = (B) => {
|
|
31098
31126
|
var ne;
|
|
@@ -31104,7 +31132,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31104
31132
|
}, Y = me(/* @__PURE__ */ new Map()), de = L(() => [$.clientErrorMessage, $.serverErrorMessage].filter(Boolean).join("; ")), fe = (B) => {
|
|
31105
31133
|
B.valid ? Y.value.delete(B.model) : Y.value.set(B.model, B.error), $.clientErrorMessage = [...Y.value.entries()].map(([ne, V]) => `${ne}: ${typeof V == "string" ? V : m(V)}`).join("; "), $.clientErrorMessage && ($.serverErrorMessage = "");
|
|
31106
31134
|
};
|
|
31107
|
-
|
|
31135
|
+
Xe([pe, ft], (B, ne) => {
|
|
31108
31136
|
const V = B[0] !== ne[0], Ee = B[1], Se = ne[1];
|
|
31109
31137
|
if (!T.value && E.value === Pi.Edit && (V || Ee && Ee !== Se)) {
|
|
31110
31138
|
const Ne = je("config", q.value, he);
|
|
@@ -31169,18 +31197,18 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31169
31197
|
if (T.value)
|
|
31170
31198
|
w.value = je("", De, {}), Pe.value = !1;
|
|
31171
31199
|
else {
|
|
31172
|
-
const Ue = De.fields.find((
|
|
31173
|
-
q.value = Ue ? Ue.config : De, De.supported_partials && (A.value = Object.keys(De.supported_partials).find((
|
|
31174
|
-
const et = (V = De.fields.find((
|
|
31200
|
+
const Ue = De.fields.find((Je) => Je.config);
|
|
31201
|
+
q.value = Ue ? Ue.config : De, De.supported_partials && (A.value = Object.keys(De.supported_partials).find((Je) => [Ws.REDIS_CE, Ws.REDIS_EE].includes(Je)), I.value = (ne = De.supported_partials[A.value]) == null ? void 0 : ne[0]), Ge();
|
|
31202
|
+
const et = (V = De.fields.find((Je) => Je.protocols)) == null ? void 0 : V.protocols;
|
|
31175
31203
|
if (et) {
|
|
31176
|
-
const { default:
|
|
31177
|
-
he.protocols.default =
|
|
31178
|
-
protocols:
|
|
31204
|
+
const { default: Je = [], elements: Fe = {} } = et;
|
|
31205
|
+
he.protocols.default = Je, he.protocols.placeholder = a.config.app === "konnect" ? s("plugins.form.fields.protocols.placeholderWithDefaultValues", {
|
|
31206
|
+
protocols: Je.join(", ")
|
|
31179
31207
|
}) : s("plugins.form.fields.protocols.placeholder"), (Ee = Fe.one_of) != null && Ee.length && (he.protocols.values = Fe.one_of.map(($e) => ({ label: $e, value: $e })));
|
|
31180
31208
|
}
|
|
31181
31209
|
if (ft.value || E.value === Pi.Create) {
|
|
31182
|
-
const
|
|
31183
|
-
A.value && (
|
|
31210
|
+
const Je = je("config", q.value, he);
|
|
31211
|
+
A.value && (Je._supported_redis_partial_type = A.value), Ae.value && (Je._isCustomPlugin = !0), j.value && R.value && (Je._sourcePlugin = R.value), w.value = Je;
|
|
31184
31212
|
}
|
|
31185
31213
|
}
|
|
31186
31214
|
}
|
|
@@ -31237,12 +31265,12 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31237
31265
|
onLoading: ne[7] || (ne[7] = (Ue) => B.$emit("loading", Ue))
|
|
31238
31266
|
}, {
|
|
31239
31267
|
"form-actions": N(() => [
|
|
31240
|
-
e.isWizardStep ? (S(), le("div",
|
|
31268
|
+
e.isWizardStep ? (S(), le("div", hM)) : (S(), Z(gM, {
|
|
31241
31269
|
key: 1,
|
|
31242
31270
|
"teleport-target": e.actionsTeleportTarget
|
|
31243
31271
|
}, {
|
|
31244
31272
|
default: N(() => [
|
|
31245
|
-
ee("div",
|
|
31273
|
+
ee("div", yM, [
|
|
31246
31274
|
e.hideViewConfigAction ? ye("", !0) : (S(), Z(Se, {
|
|
31247
31275
|
key: 0,
|
|
31248
31276
|
appearance: "tertiary",
|
|
@@ -31288,7 +31316,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31288
31316
|
hidden: "",
|
|
31289
31317
|
onSubmit: ce
|
|
31290
31318
|
}, null, 32),
|
|
31291
|
-
C(
|
|
31319
|
+
C(fM, {
|
|
31292
31320
|
config: e.config,
|
|
31293
31321
|
credential: T.value,
|
|
31294
31322
|
developer: e.developer,
|
|
@@ -31351,7 +31379,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31351
31379
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
31352
31380
|
]),
|
|
31353
31381
|
deck: N(() => [
|
|
31354
|
-
u(W) ? (S(), le("div",
|
|
31382
|
+
u(W) ? (S(), le("div", vM, [
|
|
31355
31383
|
C(Se, {
|
|
31356
31384
|
appearance: "secondary",
|
|
31357
31385
|
class: "button-customize-deck",
|
|
@@ -31384,16 +31412,16 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31384
31412
|
], 2);
|
|
31385
31413
|
};
|
|
31386
31414
|
}
|
|
31387
|
-
}),
|
|
31415
|
+
}), iK = /* @__PURE__ */ Ve(_M, [["__scopeId", "data-v-cd2d48f0"]]), bM = { class: "kong-ui-entities-plugins-list" }, wM = { class: "button-row" }, kM = { class: "name-cell-wrapper" }, CM = { class: "info-wrapper" }, EM = {
|
|
31388
31416
|
key: 0,
|
|
31389
31417
|
class: "info-name"
|
|
31390
|
-
},
|
|
31418
|
+
}, xM = {
|
|
31391
31419
|
key: 1,
|
|
31392
31420
|
class: "info-name"
|
|
31393
|
-
},
|
|
31421
|
+
}, SM = {
|
|
31394
31422
|
key: 2,
|
|
31395
31423
|
class: "info-type"
|
|
31396
|
-
},
|
|
31424
|
+
}, AM = { key: 1 }, IM = /* @__PURE__ */ Oe({
|
|
31397
31425
|
__name: "PluginList",
|
|
31398
31426
|
props: {
|
|
31399
31427
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31626,7 +31654,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31626
31654
|
}, je = () => {
|
|
31627
31655
|
l.push(o.config.createRoute);
|
|
31628
31656
|
};
|
|
31629
|
-
|
|
31657
|
+
Xe(T, (qe) => {
|
|
31630
31658
|
var Ce, se, ie;
|
|
31631
31659
|
if (qe.status === dh.Error) {
|
|
31632
31660
|
I.value = {
|
|
@@ -31641,12 +31669,12 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31641
31669
|
ctaText: void 0,
|
|
31642
31670
|
message: `${r("plugins.list.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
|
|
31643
31671
|
title: r("plugins.title")
|
|
31644
|
-
}),
|
|
31672
|
+
}), Ye = me(!1);
|
|
31645
31673
|
return Hi(async () => {
|
|
31646
|
-
|
|
31674
|
+
Ye.value = await o.canCreate(), Ye.value && (Ge.value.title = r("plugins.list.empty_state.title"), Ge.value.ctaText = r("actions.create"));
|
|
31647
31675
|
}), (qe, Ce) => {
|
|
31648
31676
|
const se = xe("KButton"), ie = xe("KEmptyState"), Y = xe("KBadge"), de = xe("KTruncate"), fe = xe("KInputSwitch"), ge = xe("KDropdownItem"), Te = xe("KClipboardProvider");
|
|
31649
|
-
return S(), le("div",
|
|
31677
|
+
return S(), le("div", bM, [
|
|
31650
31678
|
C(u(ph), {
|
|
31651
31679
|
"cache-identifier": e.cacheIdentifier,
|
|
31652
31680
|
"disable-sorting": _.value,
|
|
@@ -31678,7 +31706,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31678
31706
|
disabled: !e.useActionOutside,
|
|
31679
31707
|
to: "#kong-ui-app-page-header-action-button"
|
|
31680
31708
|
}, [
|
|
31681
|
-
ee("div",
|
|
31709
|
+
ee("div", wM, [
|
|
31682
31710
|
!p.value && c.value ? (S(), Z(se, {
|
|
31683
31711
|
key: 0,
|
|
31684
31712
|
appearance: "secondary",
|
|
@@ -31715,15 +31743,15 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31715
31743
|
], 8, ["disabled"]))
|
|
31716
31744
|
]),
|
|
31717
31745
|
name: N(({ row: Ae }) => [
|
|
31718
|
-
ee("div",
|
|
31746
|
+
ee("div", kM, [
|
|
31719
31747
|
C(u(qi), {
|
|
31720
31748
|
class: "plugin-icon",
|
|
31721
31749
|
name: Ae.name,
|
|
31722
31750
|
size: 24
|
|
31723
31751
|
}, null, 8, ["name"]),
|
|
31724
|
-
ee("div",
|
|
31725
|
-
Ae.instance_name ? (S(), le("span",
|
|
31726
|
-
Ae.instance_name ? (S(), le("span",
|
|
31752
|
+
ee("div", CM, [
|
|
31753
|
+
Ae.instance_name ? (S(), le("span", EM, ue(Ae.instance_name), 1)) : (S(), le("span", xM, ue(u(n).getDisplayName(Ae.name)), 1)),
|
|
31754
|
+
Ae.instance_name ? (S(), le("span", SM, ue(u(n).getDisplayName(Ae.name)), 1)) : ye("", !0)
|
|
31727
31755
|
])
|
|
31728
31756
|
])
|
|
31729
31757
|
]),
|
|
@@ -31750,7 +31778,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31750
31778
|
}, 1032, ["auth-function"]))), 128))
|
|
31751
31779
|
]),
|
|
31752
31780
|
_: 2
|
|
31753
|
-
}, 1024)) : (S(), le("span",
|
|
31781
|
+
}, 1024)) : (S(), le("span", AM, "-"))
|
|
31754
31782
|
]),
|
|
31755
31783
|
enabled: N(({ row: Ae }) => [
|
|
31756
31784
|
C(u(Oi), {
|
|
@@ -31893,7 +31921,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31893
31921
|
C(u(Eg), { decorative: "" })
|
|
31894
31922
|
]),
|
|
31895
31923
|
action: N(() => [
|
|
31896
|
-
|
|
31924
|
+
Ye.value ? (S(), Z(se, {
|
|
31897
31925
|
key: 0,
|
|
31898
31926
|
"data-testid": "entity-create-button",
|
|
31899
31927
|
onClick: je
|
|
@@ -31955,16 +31983,16 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
31955
31983
|
]);
|
|
31956
31984
|
};
|
|
31957
31985
|
}
|
|
31958
|
-
}),
|
|
31986
|
+
}), oK = /* @__PURE__ */ Ve(IM, [["__scopeId", "data-v-bb7d2cdb"]]), TM = { class: "plugin-select-card-wrapper" }, $M = ["data-testid"], PM = { class: "plugin-card-header" }, OM = { class: "plugin-card-title" }, NM = {
|
|
31959
31987
|
key: 0,
|
|
31960
31988
|
class: "plugin-card-actions"
|
|
31961
|
-
},
|
|
31989
|
+
}, RM = ["data-testid", "title"], MM = {
|
|
31962
31990
|
key: 0,
|
|
31963
31991
|
class: "plugin-card-text"
|
|
31964
|
-
},
|
|
31992
|
+
}, LM = {
|
|
31965
31993
|
key: 0,
|
|
31966
31994
|
class: "custom-plugin-badges"
|
|
31967
|
-
},
|
|
31995
|
+
}, FM = ["title"], KM = /* @__PURE__ */ Oe({
|
|
31968
31996
|
__name: "PluginSelectCard",
|
|
31969
31997
|
props: {
|
|
31970
31998
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32031,7 +32059,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32031
32059
|
};
|
|
32032
32060
|
return (q, A) => {
|
|
32033
32061
|
const I = xe("KButton"), O = xe("KDropdownItem"), R = xe("KDropdownMenu"), j = xe("KBadge"), Q = xe("KTooltip");
|
|
32034
|
-
return S(), le("div",
|
|
32062
|
+
return S(), le("div", TM, [
|
|
32035
32063
|
C(Q, {
|
|
32036
32064
|
text: e.plugin.disabledMessage
|
|
32037
32065
|
}, {
|
|
@@ -32042,13 +32070,13 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32042
32070
|
role: "button",
|
|
32043
32071
|
onClick: A[1] || (A[1] = (G) => s.value || k.value ? void 0 : b())
|
|
32044
32072
|
}, [
|
|
32045
|
-
ee("div",
|
|
32046
|
-
ee("div",
|
|
32073
|
+
ee("div", PM, [
|
|
32074
|
+
ee("div", OM, [
|
|
32047
32075
|
ee("span", {
|
|
32048
32076
|
class: yt({ "non-custom-title": !k.value })
|
|
32049
32077
|
}, ue(e.plugin.name), 3)
|
|
32050
32078
|
]),
|
|
32051
|
-
_.value ? (S(), le("div",
|
|
32079
|
+
_.value ? (S(), le("div", NM, [
|
|
32052
32080
|
C(R, {
|
|
32053
32081
|
"data-testid": "custom-plugin-actions",
|
|
32054
32082
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -32110,8 +32138,8 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32110
32138
|
name: a.value,
|
|
32111
32139
|
size: 55
|
|
32112
32140
|
}, null, 8, ["alt", "name"]),
|
|
32113
|
-
e.plugin.description || l.value.length ? (S(), le("div",
|
|
32114
|
-
l.value.length ? (S(), le("div",
|
|
32141
|
+
e.plugin.description || l.value.length ? (S(), le("div", MM, [
|
|
32142
|
+
l.value.length ? (S(), le("div", LM, [
|
|
32115
32143
|
(S(!0), le(ze, null, Qe(l.value, (G) => (S(), Z(j, {
|
|
32116
32144
|
key: G,
|
|
32117
32145
|
appearance: "info"
|
|
@@ -32126,21 +32154,21 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32126
32154
|
key: 1,
|
|
32127
32155
|
class: "plugin-card-text",
|
|
32128
32156
|
title: e.plugin.description
|
|
32129
|
-
}, ue(e.plugin.description), 9,
|
|
32157
|
+
}, ue(e.plugin.description), 9, FM)) : ye("", !0)
|
|
32130
32158
|
])) : ye("", !0)
|
|
32131
|
-
], 10,
|
|
32159
|
+
], 10, RM),
|
|
32132
32160
|
ee("div", {
|
|
32133
32161
|
class: "plugin-card-footer",
|
|
32134
32162
|
onClick: P
|
|
32135
32163
|
}, ue(E.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
|
|
32136
|
-
], 10,
|
|
32164
|
+
], 10, $M)
|
|
32137
32165
|
]),
|
|
32138
32166
|
_: 1
|
|
32139
32167
|
}, 8, ["text"])
|
|
32140
32168
|
]);
|
|
32141
32169
|
};
|
|
32142
32170
|
}
|
|
32143
|
-
}), Hm = /* @__PURE__ */ Ve(
|
|
32171
|
+
}), Hm = /* @__PURE__ */ Ve(KM, [["__scopeId", "data-v-eb0977c9"]]), jM = /* @__PURE__ */ Oe({
|
|
32144
32172
|
__name: "DeleteCustomPluginSchemaModal",
|
|
32145
32173
|
props: {
|
|
32146
32174
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32235,7 +32263,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32235
32263
|
}, 8, ["action-button-disabled", "title"])) : ye("", !0);
|
|
32236
32264
|
};
|
|
32237
32265
|
}
|
|
32238
|
-
}), os = /* @__PURE__ */ Ve(
|
|
32266
|
+
}), os = /* @__PURE__ */ Ve(jM, [["__scopeId", "data-v-9514182c"]]), DM = { class: "custom-plugins-grid" }, qM = { class: "empty-state-title" }, BM = { class: "empty-state-description" }, As = 310, UM = /* @__PURE__ */ Oe({
|
|
32239
32267
|
__name: "PluginCustomGrid",
|
|
32240
32268
|
props: {
|
|
32241
32269
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32332,7 +32360,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32332
32360
|
window == null || window.removeEventListener("resize", x);
|
|
32333
32361
|
}), (k, w) => {
|
|
32334
32362
|
const T = xe("KEmptyState"), P = xe("KCollapse");
|
|
32335
|
-
return S(), le("div",
|
|
32363
|
+
return S(), le("div", DM, [
|
|
32336
32364
|
d.value.length ? (S(), Z(P, {
|
|
32337
32365
|
key: 1,
|
|
32338
32366
|
modelValue: l.value,
|
|
@@ -32382,10 +32410,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32382
32410
|
"icon-variant": "kong"
|
|
32383
32411
|
}, {
|
|
32384
32412
|
title: N(() => [
|
|
32385
|
-
ee("span",
|
|
32413
|
+
ee("span", qM, ue(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
32386
32414
|
]),
|
|
32387
32415
|
default: N(() => [
|
|
32388
|
-
ee("span",
|
|
32416
|
+
ee("span", BM, ue(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
32389
32417
|
]),
|
|
32390
32418
|
_: 1
|
|
32391
32419
|
})),
|
|
@@ -32399,7 +32427,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32399
32427
|
]);
|
|
32400
32428
|
};
|
|
32401
32429
|
}
|
|
32402
|
-
}),
|
|
32430
|
+
}), VM = /* @__PURE__ */ Ve(UM, [["__scopeId", "data-v-909f4d5f"]]), Is = 310, zM = /* @__PURE__ */ Oe({
|
|
32403
32431
|
__name: "PluginSelectGroup",
|
|
32404
32432
|
props: /* @__PURE__ */ yi({
|
|
32405
32433
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32529,7 +32557,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32529
32557
|
], 64);
|
|
32530
32558
|
};
|
|
32531
32559
|
}
|
|
32532
|
-
}), Zc = /* @__PURE__ */ Ve(
|
|
32560
|
+
}), Zc = /* @__PURE__ */ Ve(zM, [["__scopeId", "data-v-7f683497"]]), GM = { class: "plugin-select-grid" }, HM = { class: "empty-state-title" }, WM = { class: "empty-state-description" }, Qc = /* @__PURE__ */ Oe({
|
|
32533
32561
|
__name: "PluginSelectGrid",
|
|
32534
32562
|
props: {
|
|
32535
32563
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32601,7 +32629,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32601
32629
|
});
|
|
32602
32630
|
return (d, f) => {
|
|
32603
32631
|
const c = xe("KEmptyState");
|
|
32604
|
-
return S(), le("div",
|
|
32632
|
+
return S(), le("div", GM, [
|
|
32605
32633
|
Object.keys(s.value).length ? ye("", !0) : (S(), Z(c, {
|
|
32606
32634
|
key: 0,
|
|
32607
32635
|
"action-button-visible": !1,
|
|
@@ -32610,10 +32638,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32610
32638
|
"icon-variant": "kong"
|
|
32611
32639
|
}, {
|
|
32612
32640
|
title: N(() => [
|
|
32613
|
-
ee("span",
|
|
32641
|
+
ee("span", HM, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
32614
32642
|
]),
|
|
32615
32643
|
default: N(() => [
|
|
32616
|
-
ee("span",
|
|
32644
|
+
ee("span", WM, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
32617
32645
|
]),
|
|
32618
32646
|
_: 1
|
|
32619
32647
|
})),
|
|
@@ -32653,11 +32681,11 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32653
32681
|
]);
|
|
32654
32682
|
};
|
|
32655
32683
|
}
|
|
32656
|
-
}),
|
|
32684
|
+
}), YM = { class: "kong-ui-entities-plugin-select-form" }, JM = { class: "plugins-filter-input-container" }, XM = { key: 0 }, ZM = {
|
|
32657
32685
|
key: 3,
|
|
32658
32686
|
"aria-live": "polite",
|
|
32659
32687
|
class: "plugins-results-container"
|
|
32660
|
-
},
|
|
32688
|
+
}, QM = { "data-testid": "kong-tab" }, eL = { class: "tab-description" }, tL = { "data-testid": "custom-tab" }, nL = { class: "tab-description" }, iL = { key: 1 }, oL = /* @__PURE__ */ Oe({
|
|
32661
32689
|
__name: "PluginSelect",
|
|
32662
32690
|
props: {
|
|
32663
32691
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32857,11 +32885,11 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32857
32885
|
}), we = (ie) => {
|
|
32858
32886
|
r.replace({ hash: ie, query: o.query });
|
|
32859
32887
|
};
|
|
32860
|
-
|
|
32888
|
+
Xe(() => n.disabledPlugins, (ie, Y) => {
|
|
32861
32889
|
!f(ie, Y) && !p.value && (x.value = U());
|
|
32862
|
-
}),
|
|
32890
|
+
}), Xe(() => n.ignoredPlugins, (ie, Y) => {
|
|
32863
32891
|
!f(ie, Y) && !p.value && (x.value = U());
|
|
32864
|
-
}),
|
|
32892
|
+
}), Xe(p, (ie) => {
|
|
32865
32893
|
i("loading", ie);
|
|
32866
32894
|
});
|
|
32867
32895
|
const _e = async (ie) => {
|
|
@@ -32911,7 +32939,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32911
32939
|
} finally {
|
|
32912
32940
|
(Y = k.value) != null && Y.signal.aborted || (p.value = !1);
|
|
32913
32941
|
}
|
|
32914
|
-
}, Ke = me(!1), Be = me(!1), je = me(!1), Ge = me(!1),
|
|
32942
|
+
}, Ke = me(!1), Be = me(!1), je = me(!1), Ge = me(!1), Ye = me(!1), rt = me(!1), ft = me(!1), qe = (ie) => {
|
|
32915
32943
|
v.value = v.value.filter((Y) => Y.name !== ie), b.value = b.value.filter((Y) => Y.name !== ie), x.value = U(), i("delete-custom:success", ie);
|
|
32916
32944
|
};
|
|
32917
32945
|
Hi(async () => {
|
|
@@ -32932,13 +32960,13 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32932
32960
|
n.canDeleteClonedPlugin ? n.canDeleteClonedPlugin() : Promise.resolve(null),
|
|
32933
32961
|
n.canReadClonedPlugin()
|
|
32934
32962
|
]);
|
|
32935
|
-
Ke.value = ie, Be.value = Y, je.value = de, Ge.value = fe,
|
|
32963
|
+
Ke.value = ie, Be.value = Y, je.value = de, Ge.value = fe, Ye.value = ge ?? Y, rt.value = Te ?? de, ft.value = Ae;
|
|
32936
32964
|
});
|
|
32937
32965
|
const Ce = xt("filter-input");
|
|
32938
32966
|
return Cn(async () => {
|
|
32939
32967
|
var ie, Y;
|
|
32940
32968
|
w.value = !0, (Y = (ie = Ce.value) == null ? void 0 : ie.input) == null || Y.focus(), await he();
|
|
32941
|
-
}),
|
|
32969
|
+
}), Xe(
|
|
32942
32970
|
() => {
|
|
32943
32971
|
var ie;
|
|
32944
32972
|
return [
|
|
@@ -32959,8 +32987,8 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32959
32987
|
(ie = k.value) == null || ie.abort();
|
|
32960
32988
|
}), (ie, Y) => {
|
|
32961
32989
|
const de = xe("KInput"), fe = xe("KSkeletonBox"), ge = xe("KSkeleton"), Te = xe("KEmptyState"), Ae = xe("KTooltip"), g = xe("KAlert"), te = xe("KTabs");
|
|
32962
|
-
return S(), le("div",
|
|
32963
|
-
ee("div",
|
|
32990
|
+
return S(), le("div", YM, [
|
|
32991
|
+
ee("div", JM, [
|
|
32964
32992
|
C(de, {
|
|
32965
32993
|
ref: "filter-input",
|
|
32966
32994
|
modelValue: c.value,
|
|
@@ -32972,7 +33000,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
32972
33000
|
type: "search"
|
|
32973
33001
|
}, null, 8, ["modelValue", "placeholder"])
|
|
32974
33002
|
]),
|
|
32975
|
-
p.value ? (S(), le("section",
|
|
33003
|
+
p.value ? (S(), le("section", XM, [
|
|
32976
33004
|
C(fe, {
|
|
32977
33005
|
class: "plugins-skeleton-title",
|
|
32978
33006
|
width: "10"
|
|
@@ -33002,7 +33030,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33002
33030
|
ee("h5", null, ue(u(a)("search.no_results", { filter: c.value })), 1)
|
|
33003
33031
|
]),
|
|
33004
33032
|
_: 1
|
|
33005
|
-
})) : (S(), le("section",
|
|
33033
|
+
})) : (S(), le("section", ZM, [
|
|
33006
33034
|
z.value.length ? (S(), Z(te, {
|
|
33007
33035
|
key: 0,
|
|
33008
33036
|
modelValue: H.value,
|
|
@@ -33012,12 +33040,12 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33012
33040
|
onChange: we
|
|
33013
33041
|
}, vt({
|
|
33014
33042
|
kong: N(() => [
|
|
33015
|
-
ee("div",
|
|
33016
|
-
ee("p",
|
|
33043
|
+
ee("div", QM, [
|
|
33044
|
+
ee("p", eL, ue(u(a)("plugins.select.tabs.kong.description")), 1),
|
|
33017
33045
|
C(Qc, {
|
|
33018
33046
|
"can-delete-cloned-plugin": rt.value,
|
|
33019
33047
|
"can-delete-custom-plugin": je.value,
|
|
33020
|
-
"can-edit-cloned-plugin":
|
|
33048
|
+
"can-edit-cloned-plugin": Ye.value,
|
|
33021
33049
|
"can-edit-custom-plugin": Be.value,
|
|
33022
33050
|
config: e.config,
|
|
33023
33051
|
"hide-highlighted-plugins": c.value.length > 0,
|
|
@@ -33031,20 +33059,20 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33031
33059
|
])
|
|
33032
33060
|
]),
|
|
33033
33061
|
custom: N(() => [
|
|
33034
|
-
ee("div",
|
|
33062
|
+
ee("div", tL, [
|
|
33035
33063
|
Ze(ie.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
33036
|
-
ee("p",
|
|
33064
|
+
ee("p", nL, ue(u(a)("plugins.select.tabs.custom.description")), 1),
|
|
33037
33065
|
y.value ? (S(), Z(g, {
|
|
33038
33066
|
key: 0,
|
|
33039
33067
|
appearance: "warning",
|
|
33040
33068
|
class: "custom-plugins-warning",
|
|
33041
33069
|
message: y.value
|
|
33042
33070
|
}, null, 8, ["message"])) : ye("", !0),
|
|
33043
|
-
C(
|
|
33071
|
+
C(VM, {
|
|
33044
33072
|
"can-create-custom-plugin": Ke.value,
|
|
33045
33073
|
"can-delete-cloned-plugin": rt.value,
|
|
33046
33074
|
"can-delete-custom-plugin": je.value,
|
|
33047
|
-
"can-edit-cloned-plugin":
|
|
33075
|
+
"can-edit-cloned-plugin": Ye.value,
|
|
33048
33076
|
"can-edit-custom-plugin": Be.value,
|
|
33049
33077
|
config: e.config,
|
|
33050
33078
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -33071,7 +33099,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33071
33099
|
]),
|
|
33072
33100
|
key: "0"
|
|
33073
33101
|
} : void 0
|
|
33074
|
-
]), 1032, ["modelValue", "tabs"])) : (S(), le("div",
|
|
33102
|
+
]), 1032, ["modelValue", "tabs"])) : (S(), le("div", iL, [
|
|
33075
33103
|
y.value ? (S(), Z(g, {
|
|
33076
33104
|
key: 0,
|
|
33077
33105
|
appearance: "warning",
|
|
@@ -33081,7 +33109,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33081
33109
|
C(Qc, {
|
|
33082
33110
|
"can-delete-cloned-plugin": rt.value,
|
|
33083
33111
|
"can-delete-custom-plugin": je.value,
|
|
33084
|
-
"can-edit-cloned-plugin":
|
|
33112
|
+
"can-edit-cloned-plugin": Ye.value,
|
|
33085
33113
|
"can-edit-custom-plugin": Be.value,
|
|
33086
33114
|
config: e.config,
|
|
33087
33115
|
"hide-highlighted-plugins": c.value.length > 0,
|
|
@@ -33097,16 +33125,16 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33097
33125
|
]);
|
|
33098
33126
|
};
|
|
33099
33127
|
}
|
|
33100
|
-
}),
|
|
33128
|
+
}), aK = /* @__PURE__ */ Ve(oL, [["__scopeId", "data-v-40b228cd"]]), aL = {
|
|
33101
33129
|
class: "plugin-select-card-wrapper",
|
|
33102
33130
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
33103
|
-
},
|
|
33131
|
+
}, rL = { class: "plugin-card-header" }, sL = { class: "plugin-card-title" }, lL = {
|
|
33104
33132
|
key: 0,
|
|
33105
33133
|
class: "plugin-card-actions"
|
|
33106
|
-
},
|
|
33134
|
+
}, uL = ["data-testid", "title"], cL = { key: 0 }, dL = ["title"], pL = { class: "plugin-card-footer" }, fL = { class: "plugin-card-footer-extra" }, mL = {
|
|
33107
33135
|
key: 0,
|
|
33108
33136
|
class: "custom-plugin-badges"
|
|
33109
|
-
},
|
|
33137
|
+
}, gL = /* @__PURE__ */ Oe({
|
|
33110
33138
|
__name: "PluginCatalogCard",
|
|
33111
33139
|
props: {
|
|
33112
33140
|
config: {},
|
|
@@ -33125,7 +33153,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33125
33153
|
};
|
|
33126
33154
|
return (w, T) => {
|
|
33127
33155
|
const P = xe("KButton"), q = xe("KDropdownItem"), A = xe("KDropdownMenu"), I = xe("KBadge"), O = xe("RouterLink"), R = xe("KTooltip");
|
|
33128
|
-
return S(), le("div",
|
|
33156
|
+
return S(), le("div", aL, [
|
|
33129
33157
|
C(R, {
|
|
33130
33158
|
text: e.plugin.disabledMessage
|
|
33131
33159
|
}, {
|
|
@@ -33136,8 +33164,8 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33136
33164
|
to: v.value
|
|
33137
33165
|
}, {
|
|
33138
33166
|
default: N(() => [
|
|
33139
|
-
ee("div",
|
|
33140
|
-
ee("div",
|
|
33167
|
+
ee("div", rL, [
|
|
33168
|
+
ee("div", sL, [
|
|
33141
33169
|
C(u(qi), {
|
|
33142
33170
|
alt: e.plugin.name,
|
|
33143
33171
|
class: "plugin-card-icon",
|
|
@@ -33148,7 +33176,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33148
33176
|
class: yt({ "non-custom-title": !x.value })
|
|
33149
33177
|
}, ue(e.plugin.name), 3)
|
|
33150
33178
|
]),
|
|
33151
|
-
_.value ? (S(), le("div",
|
|
33179
|
+
_.value ? (S(), le("div", lL, [
|
|
33152
33180
|
C(A, {
|
|
33153
33181
|
"data-testid": "custom-plugin-actions",
|
|
33154
33182
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -33205,16 +33233,16 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33205
33233
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
33206
33234
|
title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip")
|
|
33207
33235
|
}, [
|
|
33208
|
-
e.plugin.description ? (S(), le("div",
|
|
33236
|
+
e.plugin.description ? (S(), le("div", cL, [
|
|
33209
33237
|
ee("div", {
|
|
33210
33238
|
title: e.plugin.description
|
|
33211
|
-
}, ue(e.plugin.description), 9,
|
|
33239
|
+
}, ue(e.plugin.description), 9, dL)
|
|
33212
33240
|
])) : ye("", !0)
|
|
33213
|
-
], 8,
|
|
33214
|
-
ee("div",
|
|
33241
|
+
], 8, uL),
|
|
33242
|
+
ee("div", pL, [
|
|
33215
33243
|
ee("div", null, ue(b.value ? u(r)("actions.create_custom") : u(r)("actions.configure")), 1),
|
|
33216
|
-
ee("div",
|
|
33217
|
-
l.value.length ? (S(), le("div",
|
|
33244
|
+
ee("div", fL, [
|
|
33245
|
+
l.value.length ? (S(), le("div", mL, [
|
|
33218
33246
|
(S(!0), le(ze, null, Qe(l.value, (j) => (S(), Z(I, {
|
|
33219
33247
|
key: j,
|
|
33220
33248
|
appearance: "info"
|
|
@@ -33237,7 +33265,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33237
33265
|
]);
|
|
33238
33266
|
};
|
|
33239
33267
|
}
|
|
33240
|
-
}),
|
|
33268
|
+
}), hL = /* @__PURE__ */ Ve(gL, [["__scopeId", "data-v-cabcdb98"]]), yL = ["data-testid"], vL = { class: "group-icon-wrapper" }, _L = { class: "group-title-text" }, bL = ["data-testid"], wL = ["data-testid"], kL = /* @__PURE__ */ Oe({
|
|
33241
33269
|
__name: "PluginCatalogGroup",
|
|
33242
33270
|
props: {
|
|
33243
33271
|
config: {},
|
|
@@ -33305,18 +33333,18 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33305
33333
|
class: "group-title",
|
|
33306
33334
|
"data-testid": `plugin-group-${e.name}-title`
|
|
33307
33335
|
}, [
|
|
33308
|
-
ee("div",
|
|
33336
|
+
ee("div", vL, [
|
|
33309
33337
|
(S(), Z(Kt(i.value), {
|
|
33310
33338
|
color: `var(--kui-color-text-decorative-purple, ${u(Ed)})`
|
|
33311
33339
|
}, null, 8, ["color"]))
|
|
33312
33340
|
]),
|
|
33313
|
-
ee("span",
|
|
33314
|
-
], 8,
|
|
33341
|
+
ee("span", _L, ue(e.name), 1)
|
|
33342
|
+
], 8, yL)) : ye("", !0),
|
|
33315
33343
|
ee("div", {
|
|
33316
33344
|
class: "plugin-card-container",
|
|
33317
33345
|
"data-testid": `plugin-group-${e.name}`
|
|
33318
33346
|
}, [
|
|
33319
|
-
(S(!0), le(ze, null, Qe(l.value, (_) => (S(), Z(
|
|
33347
|
+
(S(!0), le(ze, null, Qe(l.value, (_) => (S(), Z(hL, {
|
|
33320
33348
|
key: `plugin-card-${_.id}`,
|
|
33321
33349
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33322
33350
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33333,7 +33361,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33333
33361
|
ee("span", {
|
|
33334
33362
|
class: "plugin-card-new-badge",
|
|
33335
33363
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
33336
|
-
}, ue(u(r)("labels.new")), 9,
|
|
33364
|
+
}, ue(u(r)("labels.new")), 9, wL)
|
|
33337
33365
|
]),
|
|
33338
33366
|
key: "0"
|
|
33339
33367
|
} : void 0
|
|
@@ -33343,7 +33371,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33343
33371
|
class: "show-all-plugin-card",
|
|
33344
33372
|
onClick: d
|
|
33345
33373
|
}, ue(u(r)("plugins.select.show_all")), 1)) : ye("", !0)
|
|
33346
|
-
], 8,
|
|
33374
|
+
], 8, bL),
|
|
33347
33375
|
f.value && c.value ? (S(), Z(os, {
|
|
33348
33376
|
key: 1,
|
|
33349
33377
|
config: e.config,
|
|
@@ -33353,7 +33381,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33353
33381
|
}, null, 8, ["config", "plugin"])) : ye("", !0)
|
|
33354
33382
|
], 64));
|
|
33355
33383
|
}
|
|
33356
|
-
}), ed = /* @__PURE__ */ Ve(
|
|
33384
|
+
}), ed = /* @__PURE__ */ Ve(kL, [["__scopeId", "data-v-f9a9a47c"]]), CL = { class: "plugin-select-grid" }, EL = { class: "empty-state-title" }, xL = { class: "empty-state-description" }, SL = { key: 1 }, AL = /* @__PURE__ */ Oe({
|
|
33357
33385
|
__name: "PluginCatalogGrid",
|
|
33358
33386
|
props: {
|
|
33359
33387
|
config: {},
|
|
@@ -33371,7 +33399,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33371
33399
|
return (a, l) => {
|
|
33372
33400
|
var d;
|
|
33373
33401
|
const s = xe("KEmptyState");
|
|
33374
|
-
return S(), le("div",
|
|
33402
|
+
return S(), le("div", CL, [
|
|
33375
33403
|
Object.keys(e.pluginList || []).length ? ye("", !0) : (S(), Z(s, {
|
|
33376
33404
|
key: 0,
|
|
33377
33405
|
"action-button-visible": !1,
|
|
@@ -33380,10 +33408,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33380
33408
|
"icon-variant": "kong"
|
|
33381
33409
|
}, {
|
|
33382
33410
|
title: N(() => [
|
|
33383
|
-
ee("span",
|
|
33411
|
+
ee("span", EL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
33384
33412
|
]),
|
|
33385
33413
|
default: N(() => [
|
|
33386
|
-
ee("span",
|
|
33414
|
+
ee("span", xL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
33387
33415
|
]),
|
|
33388
33416
|
_: 1
|
|
33389
33417
|
})),
|
|
@@ -33405,7 +33433,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33405
33433
|
])) : ye("", !0)
|
|
33406
33434
|
], 64);
|
|
33407
33435
|
}), 256)),
|
|
33408
|
-
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div",
|
|
33436
|
+
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div", SL, [
|
|
33409
33437
|
C(ed, {
|
|
33410
33438
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33411
33439
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33421,17 +33449,17 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33421
33449
|
]);
|
|
33422
33450
|
};
|
|
33423
33451
|
}
|
|
33424
|
-
}),
|
|
33452
|
+
}), IL = /* @__PURE__ */ Ve(AL, [["__scopeId", "data-v-e3bf3819"]]), TL = {
|
|
33425
33453
|
class: "plugin-name-cell",
|
|
33426
33454
|
"data-testid": "plugin-catalog-list-view-name"
|
|
33427
|
-
},
|
|
33455
|
+
}, $L = ["title"], PL = ["title"], OL = {
|
|
33428
33456
|
class: "plugin-action-cell",
|
|
33429
33457
|
"data-testid": "plugin-catalog-list-view-action"
|
|
33430
|
-
},
|
|
33458
|
+
}, NL = {
|
|
33431
33459
|
key: 0,
|
|
33432
33460
|
class: "plugin-more-action-cell",
|
|
33433
33461
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
33434
|
-
},
|
|
33462
|
+
}, RL = /* @__PURE__ */ Oe({
|
|
33435
33463
|
__name: "PluginCatalogListView",
|
|
33436
33464
|
props: {
|
|
33437
33465
|
config: {},
|
|
@@ -33480,7 +33508,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33480
33508
|
const A = p.value.length, I = Math.max(1, Math.ceil(A / f.value)), R = (Math.min(c.value, I) - 1) * f.value;
|
|
33481
33509
|
return p.value.slice(R, R + f.value);
|
|
33482
33510
|
});
|
|
33483
|
-
|
|
33511
|
+
Xe(s, () => {
|
|
33484
33512
|
p.value = [...s.value], c.value = 1, d.value++;
|
|
33485
33513
|
});
|
|
33486
33514
|
const T = ({ page: A }) => {
|
|
@@ -33519,7 +33547,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33519
33547
|
onSort: q
|
|
33520
33548
|
}, {
|
|
33521
33549
|
name: N(({ row: F }) => [
|
|
33522
|
-
ee("span",
|
|
33550
|
+
ee("span", TL, [
|
|
33523
33551
|
C(u(qi), {
|
|
33524
33552
|
"data-testid": `plugin-catalog-list-view-${F.plugin.id}-icon`,
|
|
33525
33553
|
name: y(F.plugin),
|
|
@@ -33529,7 +33557,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33529
33557
|
class: "plugin-name-text",
|
|
33530
33558
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
33531
33559
|
title: F.name
|
|
33532
|
-
}, ue(F.name), 9,
|
|
33560
|
+
}, ue(F.name), 9, $L),
|
|
33533
33561
|
F.badge ? (S(), Z(O, {
|
|
33534
33562
|
key: 0,
|
|
33535
33563
|
appearance: "info",
|
|
@@ -33548,10 +33576,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33548
33576
|
class: "plugin-description-cell",
|
|
33549
33577
|
"data-testid": "plugin-catalog-list-view-description",
|
|
33550
33578
|
title: F.description
|
|
33551
|
-
}, ue(F.description), 9,
|
|
33579
|
+
}, ue(F.description), 9, PL)
|
|
33552
33580
|
]),
|
|
33553
33581
|
action: N(({ row: F }) => [
|
|
33554
|
-
ee("div",
|
|
33582
|
+
ee("div", OL, [
|
|
33555
33583
|
C(R, {
|
|
33556
33584
|
appearance: "tertiary",
|
|
33557
33585
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -33566,7 +33594,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33566
33594
|
])
|
|
33567
33595
|
]),
|
|
33568
33596
|
"more-actions": N(({ row: F }) => [
|
|
33569
|
-
x(F.plugin) ? (S(), le("div",
|
|
33597
|
+
x(F.plugin) ? (S(), le("div", NL, [
|
|
33570
33598
|
C(Q, {
|
|
33571
33599
|
appearance: "tertiary",
|
|
33572
33600
|
class: "actions-trigger",
|
|
@@ -33626,17 +33654,17 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33626
33654
|
], 64);
|
|
33627
33655
|
};
|
|
33628
33656
|
}
|
|
33629
|
-
}),
|
|
33657
|
+
}), ML = /* @__PURE__ */ Ve(RL, [["__scopeId", "data-v-986d34db"]]), LL = {
|
|
33630
33658
|
class: "plugin-catalog",
|
|
33631
33659
|
"data-testid": "plugin-catalog"
|
|
33632
|
-
},
|
|
33660
|
+
}, FL = {
|
|
33633
33661
|
class: "plugin-filter",
|
|
33634
33662
|
"data-testid": "plugin-filter"
|
|
33635
|
-
},
|
|
33663
|
+
}, KL = { class: "plugin-filter-title" }, jL = { class: "featured-title" }, DL = { class: "plugin-featured-filter" }, qL = ["data-testid"], BL = { class: "group-title" }, UL = { class: "plugin-type-filter" }, VL = ["data-testid"], zL = { class: "plugins-container" }, GL = { class: "plugins-filter-input-container" }, HL = { class: "icon-container" }, WL = { key: 0 }, YL = {
|
|
33636
33664
|
key: 3,
|
|
33637
33665
|
"aria-live": "polite",
|
|
33638
33666
|
class: "plugins-results-container"
|
|
33639
|
-
},
|
|
33667
|
+
}, JL = /* @__PURE__ */ Oe({
|
|
33640
33668
|
__name: "PluginCatalog",
|
|
33641
33669
|
props: {
|
|
33642
33670
|
config: {},
|
|
@@ -33756,9 +33784,9 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33756
33784
|
}
|
|
33757
33785
|
return de;
|
|
33758
33786
|
};
|
|
33759
|
-
|
|
33787
|
+
Xe(() => s.disabledPlugins, (se, ie) => {
|
|
33760
33788
|
!l(se || {}, ie || {}) && !y.value && (w.value = we());
|
|
33761
|
-
}),
|
|
33789
|
+
}), Xe(y, (se) => {
|
|
33762
33790
|
n("loading", se);
|
|
33763
33791
|
});
|
|
33764
33792
|
const _e = me(!1), pe = me(!1), he = me(!1), Ke = me(!1), Be = me(!1), je = me(!1), Ge = async () => {
|
|
@@ -33782,7 +33810,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33782
33810
|
} catch {
|
|
33783
33811
|
_e.value = !1, pe.value = !1, he.value = !1, Ke.value = !1, Be.value = !1, je.value = !1;
|
|
33784
33812
|
}
|
|
33785
|
-
},
|
|
33813
|
+
}, Ye = async (se) => {
|
|
33786
33814
|
if (!U.value) {
|
|
33787
33815
|
T.value = [];
|
|
33788
33816
|
return;
|
|
@@ -33810,7 +33838,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33810
33838
|
const de = M(Y);
|
|
33811
33839
|
(de || !b.value) && (b.value = de ? i("plugins.select.tabs.custom.license_required") : r(Y) ?? i("plugins.select.tabs.custom.fetch_error"));
|
|
33812
33840
|
})
|
|
33813
|
-
), ie.push(
|
|
33841
|
+
), ie.push(Ye(se)), await Promise.allSettled(ie);
|
|
33814
33842
|
}, ft = async () => {
|
|
33815
33843
|
var ie;
|
|
33816
33844
|
(ie = q.value) == null || ie.abort();
|
|
@@ -33837,7 +33865,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33837
33865
|
return Cn(async () => {
|
|
33838
33866
|
var se, ie;
|
|
33839
33867
|
A.value = !0, (ie = (se = f.value) == null ? void 0 : se.input) == null || ie.focus(), await Ge(), await ft();
|
|
33840
|
-
}),
|
|
33868
|
+
}), Xe(
|
|
33841
33869
|
() => {
|
|
33842
33870
|
var se;
|
|
33843
33871
|
return [
|
|
@@ -33858,9 +33886,9 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33858
33886
|
(se = q.value) == null || se.abort();
|
|
33859
33887
|
}), (se, ie) => {
|
|
33860
33888
|
const Y = xe("KButton"), de = xe("KCheckbox"), fe = xe("KBadge"), ge = xe("KCollapse"), Te = xe("KInput"), Ae = xe("KSkeletonBox"), g = xe("KSkeleton"), te = xe("KEmptyState"), ce = xe("KAlert");
|
|
33861
|
-
return S(), le("div",
|
|
33862
|
-
ee("div",
|
|
33863
|
-
ee("div",
|
|
33889
|
+
return S(), le("div", LL, [
|
|
33890
|
+
ee("div", FL, [
|
|
33891
|
+
ee("div", KL, [
|
|
33864
33892
|
Le(ue(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
33865
33893
|
C(Y, {
|
|
33866
33894
|
appearance: "tertiary",
|
|
@@ -33880,10 +33908,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33880
33908
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ve) => p.value = ve)
|
|
33881
33909
|
}, {
|
|
33882
33910
|
title: N(() => [
|
|
33883
|
-
ee("div",
|
|
33911
|
+
ee("div", jL, ue(u(i)("plugins.select.filter.featured")), 1)
|
|
33884
33912
|
]),
|
|
33885
33913
|
default: N(() => [
|
|
33886
|
-
ee("div",
|
|
33914
|
+
ee("div", DL, [
|
|
33887
33915
|
(S(!0), le(ze, null, Qe(u(Ys), (ve) => (S(), le("div", {
|
|
33888
33916
|
key: ve,
|
|
33889
33917
|
class: "plugin-filter-item",
|
|
@@ -33903,7 +33931,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33903
33931
|
}),
|
|
33904
33932
|
_: 2
|
|
33905
33933
|
}, 1024)
|
|
33906
|
-
], 8,
|
|
33934
|
+
], 8, qL))), 128))
|
|
33907
33935
|
])
|
|
33908
33936
|
]),
|
|
33909
33937
|
_: 1
|
|
@@ -33913,10 +33941,10 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33913
33941
|
"onUpdate:modelValue": ie[1] || (ie[1] = (ve) => m.value = ve)
|
|
33914
33942
|
}, {
|
|
33915
33943
|
title: N(() => [
|
|
33916
|
-
ee("div",
|
|
33944
|
+
ee("div", BL, ue(u(i)("plugins.select.filter.type")), 1)
|
|
33917
33945
|
]),
|
|
33918
33946
|
default: N(() => [
|
|
33919
|
-
ee("div",
|
|
33947
|
+
ee("div", UL, [
|
|
33920
33948
|
(S(!0), le(ze, null, Qe(u(Js), (ve) => (S(), le("div", {
|
|
33921
33949
|
key: ve,
|
|
33922
33950
|
class: "plugin-filter-item",
|
|
@@ -33940,14 +33968,14 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33940
33968
|
}),
|
|
33941
33969
|
_: 2
|
|
33942
33970
|
}, 1032, ["data-testid"])
|
|
33943
|
-
], 8,
|
|
33971
|
+
], 8, VL))), 128))
|
|
33944
33972
|
])
|
|
33945
33973
|
]),
|
|
33946
33974
|
_: 1
|
|
33947
33975
|
}, 8, ["modelValue"])
|
|
33948
33976
|
]),
|
|
33949
|
-
ee("div",
|
|
33950
|
-
ee("div",
|
|
33977
|
+
ee("div", zL, [
|
|
33978
|
+
ee("div", GL, [
|
|
33951
33979
|
C(Te, {
|
|
33952
33980
|
ref: "filter-input",
|
|
33953
33981
|
modelValue: c.value,
|
|
@@ -33958,7 +33986,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33958
33986
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
33959
33987
|
type: "search"
|
|
33960
33988
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
33961
|
-
ee("div",
|
|
33989
|
+
ee("div", HL, [
|
|
33962
33990
|
(S(), Z(Kt(I.value), {
|
|
33963
33991
|
class: "plugins-filter-icon",
|
|
33964
33992
|
color: `var(--kui-icon-color-primary, ${u(sy)})`,
|
|
@@ -33966,7 +33994,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33966
33994
|
}, null, 8, ["color"]))
|
|
33967
33995
|
])
|
|
33968
33996
|
]),
|
|
33969
|
-
y.value ? (S(), le("section",
|
|
33997
|
+
y.value ? (S(), le("section", WL, [
|
|
33970
33998
|
C(Ae, {
|
|
33971
33999
|
class: "plugins-skeleton-title",
|
|
33972
34000
|
width: "10"
|
|
@@ -33996,14 +34024,14 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
33996
34024
|
ee("h5", null, ue(u(i)("search.no_results", { filter: c.value })), 1)
|
|
33997
34025
|
]),
|
|
33998
34026
|
_: 1
|
|
33999
|
-
})) : (S(), le("section",
|
|
34027
|
+
})) : (S(), le("section", YL, [
|
|
34000
34028
|
b.value ? (S(), Z(ce, {
|
|
34001
34029
|
key: 0,
|
|
34002
34030
|
appearance: "warning",
|
|
34003
34031
|
class: "custom-plugins-warning",
|
|
34004
34032
|
message: b.value
|
|
34005
34033
|
}, null, 8, ["message"])) : ye("", !0),
|
|
34006
|
-
P.value ? (S(), Z(
|
|
34034
|
+
P.value ? (S(), Z(ML, {
|
|
34007
34035
|
key: 1,
|
|
34008
34036
|
"can-delete-cloned-plugin": Be.value,
|
|
34009
34037
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34012,7 +34040,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34012
34040
|
config: e.config,
|
|
34013
34041
|
"plugin-list": $.value,
|
|
34014
34042
|
"onDelete:success": qe
|
|
34015
|
-
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(
|
|
34043
|
+
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(IL, {
|
|
34016
34044
|
key: 2,
|
|
34017
34045
|
"can-delete-cloned-plugin": Be.value,
|
|
34018
34046
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34028,16 +34056,16 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34028
34056
|
]);
|
|
34029
34057
|
};
|
|
34030
34058
|
}
|
|
34031
|
-
}),
|
|
34059
|
+
}), rK = /* @__PURE__ */ Ve(JL, [["__scopeId", "data-v-679e985d"]]), XL = {
|
|
34032
34060
|
key: 1,
|
|
34033
34061
|
class: "datakit-config-card-canvas"
|
|
34034
|
-
},
|
|
34062
|
+
}, ZL = {
|
|
34035
34063
|
class: "config-card-details-label",
|
|
34036
34064
|
"data-testid": "datakit-configuration-label"
|
|
34037
|
-
},
|
|
34065
|
+
}, QL = {
|
|
34038
34066
|
class: "config-card-details-value datakit-canvas-container",
|
|
34039
34067
|
"data-testid": "datakit-configuration-canvas"
|
|
34040
|
-
},
|
|
34068
|
+
}, eF = { class: "canvas-wrapper" }, tF = /* @__PURE__ */ Oe({
|
|
34041
34069
|
__name: "DatakitConfigCardCanvas",
|
|
34042
34070
|
props: {
|
|
34043
34071
|
pluginData: {},
|
|
@@ -34050,8 +34078,8 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34050
34078
|
});
|
|
34051
34079
|
return qp(e.pluginData), (n, i) => {
|
|
34052
34080
|
const o = xe("KLabel");
|
|
34053
|
-
return t.value ? (S(), le("div",
|
|
34054
|
-
ee("div",
|
|
34081
|
+
return t.value ? (S(), le("div", XL, [
|
|
34082
|
+
ee("div", ZL, [
|
|
34055
34083
|
C(o, null, {
|
|
34056
34084
|
default: N(() => [...i[0] || (i[0] = [
|
|
34057
34085
|
ee("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -34059,8 +34087,8 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34059
34087
|
_: 1
|
|
34060
34088
|
})
|
|
34061
34089
|
]),
|
|
34062
|
-
ee("div",
|
|
34063
|
-
ee("div",
|
|
34090
|
+
ee("div", QL, [
|
|
34091
|
+
ee("div", eF, [
|
|
34064
34092
|
C(du, {
|
|
34065
34093
|
class: "datakit-flow-panels",
|
|
34066
34094
|
mode: "view",
|
|
@@ -34074,7 +34102,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34074
34102
|
}, null, 8, ["item"]));
|
|
34075
34103
|
};
|
|
34076
34104
|
}
|
|
34077
|
-
}),
|
|
34105
|
+
}), nF = /* @__PURE__ */ Ve(tF, [["__scopeId", "data-v-9a3ef1ac"]]), iF = { class: "kong-ui-entity-plugin-config-card" }, oF = { class: "name-cell-wrapper" }, aF = { class: "info-name" }, rF = { key: 0 }, sF = { key: 0 }, lF = { key: 0 }, uF = { key: 0 }, cF = { key: 0 }, Ts = "config", dF = /* @__PURE__ */ Oe({
|
|
34078
34106
|
__name: "PluginConfigCard",
|
|
34079
34107
|
props: {
|
|
34080
34108
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -34214,7 +34242,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34214
34242
|
}
|
|
34215
34243
|
}), (k, w) => {
|
|
34216
34244
|
const T = xe("KSkeleton"), P = xe("KEmptyState"), q = xe("KCopy");
|
|
34217
|
-
return S(), le("div",
|
|
34245
|
+
return S(), le("div", iF, [
|
|
34218
34246
|
b.value ? (S(), Z(T, {
|
|
34219
34247
|
key: 0,
|
|
34220
34248
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -34246,13 +34274,13 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34246
34274
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
34247
34275
|
}, vt({
|
|
34248
34276
|
name: N((A) => [
|
|
34249
|
-
ee("div",
|
|
34277
|
+
ee("div", oF, [
|
|
34250
34278
|
C(u(qi), {
|
|
34251
34279
|
class: "plugin-icon",
|
|
34252
34280
|
name: u(l)("rowValue", A),
|
|
34253
34281
|
size: 24
|
|
34254
34282
|
}, null, 8, ["name"]),
|
|
34255
|
-
ee("span",
|
|
34283
|
+
ee("span", aF, ue(u(r).getDisplayName(u(l)("rowValue", A))), 1)
|
|
34256
34284
|
])
|
|
34257
34285
|
]),
|
|
34258
34286
|
consumer: N((A) => [
|
|
@@ -34269,7 +34297,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34269
34297
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34270
34298
|
"data-testid": "consumer-copy-uuid",
|
|
34271
34299
|
text: u(l)("rowValue", A).id
|
|
34272
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34300
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", rF, "–"))
|
|
34273
34301
|
]),
|
|
34274
34302
|
route: N((A) => [
|
|
34275
34303
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34285,7 +34313,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34285
34313
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34286
34314
|
"data-testid": "route-copy-uuid",
|
|
34287
34315
|
text: u(l)("rowValue", A).id
|
|
34288
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34316
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", sF, "–"))
|
|
34289
34317
|
]),
|
|
34290
34318
|
service: N((A) => [
|
|
34291
34319
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34301,7 +34329,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34301
34329
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34302
34330
|
"data-testid": "service-copy-uuid",
|
|
34303
34331
|
text: u(l)("rowValue", A).id
|
|
34304
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34332
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", lF, "–"))
|
|
34305
34333
|
]),
|
|
34306
34334
|
consumer_group: N((A) => [
|
|
34307
34335
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34317,7 +34345,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34317
34345
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34318
34346
|
"data-testid": "consumer-group-copy-uuid",
|
|
34319
34347
|
text: u(l)("rowValue", A).id
|
|
34320
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34348
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", uF, "–"))
|
|
34321
34349
|
]),
|
|
34322
34350
|
partials: N((A) => {
|
|
34323
34351
|
var I, O, R, j, Q, G, oe, F, X;
|
|
@@ -34338,7 +34366,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34338
34366
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34339
34367
|
"data-testid": "partial-copy-uuid",
|
|
34340
34368
|
text: (X = u(l)("rowValue", A)) == null ? void 0 : X[0].id
|
|
34341
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34369
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", cF, "–"))
|
|
34342
34370
|
];
|
|
34343
34371
|
}),
|
|
34344
34372
|
_: 2
|
|
@@ -34346,7 +34374,7 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34346
34374
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
34347
34375
|
name: "config-card-item-nodes",
|
|
34348
34376
|
fn: N((A) => [
|
|
34349
|
-
C(
|
|
34377
|
+
C(nF, {
|
|
34350
34378
|
item: A.row,
|
|
34351
34379
|
"plugin-data": A.record
|
|
34352
34380
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -34357,12 +34385,12 @@ const aM = { class: "kong-ui-entities-plugin-form" }, rM = {
|
|
|
34357
34385
|
]);
|
|
34358
34386
|
};
|
|
34359
34387
|
}
|
|
34360
|
-
}),
|
|
34388
|
+
}), sK = /* @__PURE__ */ Ve(dF, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: lK, useProvideExperimentalFreeForms: uK } = lt;
|
|
34361
34389
|
export {
|
|
34362
34390
|
sn as ArrayField,
|
|
34363
34391
|
kn as BooleanField,
|
|
34364
34392
|
mm as CommonForm,
|
|
34365
|
-
|
|
34393
|
+
nK as CustomPluginForm,
|
|
34366
34394
|
li as DynamicLayout,
|
|
34367
34395
|
$p as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
34368
34396
|
lo as EntityTypeIdField,
|
|
@@ -34383,19 +34411,19 @@ export {
|
|
|
34383
34411
|
zp as NodeBadge,
|
|
34384
34412
|
Wt as NumberField,
|
|
34385
34413
|
zt as ObjectField,
|
|
34386
|
-
|
|
34387
|
-
|
|
34414
|
+
rK as PluginCatalog,
|
|
34415
|
+
sK as PluginConfigCard,
|
|
34388
34416
|
yI as PluginConfigurationForm,
|
|
34389
34417
|
Ys as PluginFeaturedArray,
|
|
34390
|
-
|
|
34391
|
-
|
|
34418
|
+
iK as PluginForm,
|
|
34419
|
+
gK as PluginGroup,
|
|
34392
34420
|
mc as PluginGroupArray,
|
|
34393
34421
|
Js as PluginGroupArraySortedAlphabetically,
|
|
34394
|
-
|
|
34395
|
-
|
|
34422
|
+
pK as PluginIcon,
|
|
34423
|
+
oK as PluginList,
|
|
34396
34424
|
Ws as PluginPartialType,
|
|
34397
|
-
|
|
34398
|
-
|
|
34425
|
+
hK as PluginScope,
|
|
34426
|
+
aK as PluginSelect,
|
|
34399
34427
|
Hm as PluginSelectCard,
|
|
34400
34428
|
Qc as PluginSelectGrid,
|
|
34401
34429
|
Na as StringArrayField,
|
|
@@ -34409,12 +34437,12 @@ export {
|
|
|
34409
34437
|
zE as buildSchemaMap,
|
|
34410
34438
|
zl as defaultLabelFormatter,
|
|
34411
34439
|
ra as generalizePath,
|
|
34412
|
-
|
|
34440
|
+
fK as getPluginIconURL,
|
|
34413
34441
|
Fm as pluginConfigRegistry,
|
|
34414
34442
|
ot as pluginEndpoints,
|
|
34415
34443
|
qp as provideEditorStore,
|
|
34416
34444
|
ex as provideFormShared,
|
|
34417
|
-
|
|
34445
|
+
qF as renderRuleExactMatch,
|
|
34418
34446
|
nf as replaceByDictionary,
|
|
34419
34447
|
of as replaceByDictionaryInFieldName,
|
|
34420
34448
|
qt as useEditorStore,
|
|
@@ -34430,9 +34458,9 @@ export {
|
|
|
34430
34458
|
ax as useLabelPath,
|
|
34431
34459
|
Gl as useMapField,
|
|
34432
34460
|
tx as useOptionalFormShared,
|
|
34433
|
-
|
|
34434
|
-
|
|
34435
|
-
|
|
34461
|
+
lK as usePluginMetaData,
|
|
34462
|
+
uK as useProvideExperimentalFreeForms,
|
|
34463
|
+
tK as useProvideFreeFormPluginLayout,
|
|
34436
34464
|
ix as useSchemaExposer,
|
|
34437
34465
|
GE as useSchemaHelpers
|
|
34438
34466
|
};
|