@kong-ui-public/entities-plugins 9.83.2 → 9.83.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-plugins.es.js +211 -217
- package/dist/entities-plugins.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/free-form/Datakit/DatakitForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/FlowNode.vue.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Jg = Object.defineProperty;
|
|
2
2
|
var Qg = (e, t, n) => t in e ? Jg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var ut = (e, t, n) => Qg(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as ve, toRef as
|
|
4
|
+
import { defineComponent as ve, toRef as Ke, inject as it, ref as oe, computed as M, watch as Te, onMounted as It, resolveComponent as we, createElementBlock as te, openBlock as E, createVNode as P, markRaw as Si, provide as ot, createBlock as H, withCtx as F, createElementVNode as U, createCommentVNode as Ee, Fragment as Re, renderList as qe, toDisplayString as he, unref as p, toValue as Oe, useAttrs as Ln, useSlots as Gt, mergeProps as ze, createSlots as et, renderSlot as Me, normalizeProps as un, guardReactiveProps as En, createPropsRestProxy as Yt, resolveDynamicComponent as mt, Transition as eh, mergeModels as fs, useModel as Cr, onBeforeMount as xn, createTextVNode as Le, normalizeClass as Ye, isRef as jo, useTemplateRef as st, withKeys as ou, withModifiers as Ft, nextTick as tt, useCssVars as il, reactive as Wn, toRaw as Sr, watchEffect as Ud, shallowRef as ei, onBeforeUnmount as Zr, getCurrentScope as Hd, effectScope as Gd, getCurrentInstance as Bo, onScopeDispose as hr, toRefs as th, customRef as nh, h as Ge, normalizeStyle as At, onUnmounted as ol, isMemoSame as ih, readonly as oh, useId as Yd, Teleport as Wd } from "vue";
|
|
5
5
|
import { useStringHelpers as Jr, ConfigurationSchemaType as kt, useAxios as Kn, useErrors as Ui, useDebouncedFilter as rh, EntityFormBlock as ru, useHelpers as Qr, EntityBaseFormType as jn, EntityBaseForm as ah, SupportedEntityType as ps, TerraformCodeBlock as sh, YamlCodeBlock as lh, JsonCodeBlock as uh, useTableState as ch, useGatewayFeatureSupported as dh, useFetcher as fh, useDeleteUrlBuilder as ph, FetcherStatus as mh, EntityBaseTable as gh, PermissionsWrapper as Bn, TableTags as hh, EntityFilter as vh, EntityToggleModal as yh, EntityDeleteModal as Xd, EntityTypes as Zd, ConfigurationSchemaSection as gi, useSchemaProvider as _h, EntityBaseConfigCard as bh, InternalLinkItem as no } from "@kong-ui-public/entities-shared";
|
|
6
6
|
import { marked as vr } from "marked";
|
|
7
7
|
import { useRouter as ea, useRoute as wh } from "vue-router";
|
|
@@ -1286,7 +1286,7 @@ const zn = (e) => {
|
|
|
1286
1286
|
emits: ["modelUpdated"],
|
|
1287
1287
|
setup(e, { expose: t, emit: n }) {
|
|
1288
1288
|
const i = e, o = n, { clearValidationErrors: r, value: a } = kh.useAbstractFields({
|
|
1289
|
-
model:
|
|
1289
|
+
model: Ke(() => i.model),
|
|
1290
1290
|
schema: i.schema,
|
|
1291
1291
|
formOptions: i.formOptions,
|
|
1292
1292
|
emitModelUpdated: (b) => {
|
|
@@ -4922,16 +4922,16 @@ const F1 = (e, t) => {
|
|
|
4922
4922
|
return E(), H(u, { class: "plugin-field-rule-alerts" }, {
|
|
4923
4923
|
default: F(() => [
|
|
4924
4924
|
U("ul", null, [
|
|
4925
|
-
(E(!0), te(
|
|
4925
|
+
(E(!0), te(Re, null, qe(a.value, (c, d) => (E(), te("li", {
|
|
4926
4926
|
key: `simple-alert-${d}`
|
|
4927
4927
|
}, he(c), 1))), 128)),
|
|
4928
4928
|
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (E(), te("li", D1, [
|
|
4929
|
-
(E(!0), te(
|
|
4929
|
+
(E(!0), te(Re, null, qe(t.rules.onlyOneOfMutuallyRequired, (c, d) => (E(), te("div", {
|
|
4930
4930
|
key: `only-one-mutually-alert-${d}`
|
|
4931
4931
|
}, [
|
|
4932
4932
|
U("div", null, he(p(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
|
|
4933
4933
|
U("ul", null, [
|
|
4934
|
-
(E(!0), te(
|
|
4934
|
+
(E(!0), te(Re, null, qe(c, (f, m) => (E(), te("li", {
|
|
4935
4935
|
key: `only-one-mutually-alert-${d}-combination-${m}`
|
|
4936
4936
|
}, he(o(f)), 1))), 128))
|
|
4937
4937
|
])
|
|
@@ -5144,7 +5144,7 @@ function Z1(e, t) {
|
|
|
5144
5144
|
parentPath: r.value,
|
|
5145
5145
|
isolate: o
|
|
5146
5146
|
});
|
|
5147
|
-
return Te([
|
|
5147
|
+
return Te([Ke(t), Ke(n)], ([s, l]) => {
|
|
5148
5148
|
var f;
|
|
5149
5149
|
const { parentPath: u, isolate: c } = l, d = u ? Ht(u, e) : e;
|
|
5150
5150
|
if (s) {
|
|
@@ -5181,7 +5181,7 @@ function Q1(e, t) {
|
|
|
5181
5181
|
});
|
|
5182
5182
|
}
|
|
5183
5183
|
function Wt(e, t) {
|
|
5184
|
-
const { getLabelAttributes: n, getPlaceholder: i, getSchema: o } = rt(), r = Oe(e), a = Oe(t), s = Q1(e,
|
|
5184
|
+
const { getLabelAttributes: n, getPlaceholder: i, getSchema: o } = rt(), r = Oe(e), a = Oe(t), s = Q1(e, Ke(() => Oe(t).resetLabelPath));
|
|
5185
5185
|
return M(() => {
|
|
5186
5186
|
var l;
|
|
5187
5187
|
return {
|
|
@@ -5319,7 +5319,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5319
5319
|
},
|
|
5320
5320
|
emits: ["update:modelValue"],
|
|
5321
5321
|
setup(e, { emit: t }) {
|
|
5322
|
-
const n = Ln(), { i18n: i } = Ue(), o = Yt(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(
|
|
5322
|
+
const n = Ln(), { i18n: i } = Ue(), o = Yt(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(Ke(() => e.name)), l = Wt(s.path, Ke({ ...o, ...n })), u = a == null ? void 0 : a.value;
|
|
5323
5323
|
function c(y) {
|
|
5324
5324
|
u !== void 0 && y === "" && y !== u ? (a.value = null, r("update:modelValue", null)) : (a.value = y.trim(), r("update:modelValue", y.trim()));
|
|
5325
5325
|
}
|
|
@@ -5390,7 +5390,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5390
5390
|
},
|
|
5391
5391
|
emits: ["update:modelValue"],
|
|
5392
5392
|
setup(e, { emit: t }) {
|
|
5393
|
-
const n = Yt(e, ["name"]), { value: i, ...o } = Lt(
|
|
5393
|
+
const n = Yt(e, ["name"]), { value: i, ...o } = Lt(Ke(() => e.name)), r = t, a = (l) => {
|
|
5394
5394
|
i.value = l, r("update:modelValue", l);
|
|
5395
5395
|
}, s = Wt(o.path, n);
|
|
5396
5396
|
return (l, u) => {
|
|
@@ -5518,7 +5518,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5518
5518
|
}),
|
|
5519
5519
|
emits: ["update:added", "update:expanded"],
|
|
5520
5520
|
setup(e) {
|
|
5521
|
-
const t = Yt(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = Lt(
|
|
5521
|
+
const t = Yt(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = Lt(Ke(t, "name")), { getSchema: o, getDefault: r } = rt(), a = Cr(e, "added"), s = Cr(e, "expanded"), l = M(() => f.value && (e.collapsible ? s.value ?? e.defaultExpanded : !1)), u = M(() => {
|
|
5522
5522
|
var g, y;
|
|
5523
5523
|
if ((g = i.ancestors) != null && g.value) {
|
|
5524
5524
|
const b = i.ancestors.value.parent;
|
|
@@ -5526,7 +5526,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5526
5526
|
return ((y = o(b.path)) == null ? void 0 : y.type) === "array";
|
|
5527
5527
|
}
|
|
5528
5528
|
return !1;
|
|
5529
|
-
}), c = M(() => e.resetLabelPath !== void 0 ? e.resetLabelPath : u.value ? "reset" : "inherit"), d = Wt(i.path,
|
|
5529
|
+
}), c = M(() => e.resetLabelPath !== void 0 ? e.resetLabelPath : u.value ? "reset" : "inherit"), d = Wt(i.path, Ke(() => ({ required: e.required, ...t, resetLabelPath: c.value }))), f = M(() => d.value.required ? !0 : a.value ?? e.defaultAdded), m = M(() => e.asChild !== void 0 ? e.asChild : u.value), h = M(() => {
|
|
5530
5530
|
let g = i.schema.value.fields;
|
|
5531
5531
|
return e.omit && (g = g.filter((y) => !e.omit.includes(Object.keys(y)[0]))), e.fieldsOrder ? g.sort((y, b) => {
|
|
5532
5532
|
const _ = Object.keys(y)[0], C = Object.keys(b)[0], x = e.fieldsOrder.indexOf(_), k = e.fieldsOrder.indexOf(C);
|
|
@@ -5543,7 +5543,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5543
5543
|
}), (g, y) => {
|
|
5544
5544
|
var _;
|
|
5545
5545
|
const b = we("KAlert");
|
|
5546
|
-
return E(), te(
|
|
5546
|
+
return E(), te(Re, null, [
|
|
5547
5547
|
(E(), H(mt(g.$slots[p(Pi)]))),
|
|
5548
5548
|
i.error ? (E(), H(b, {
|
|
5549
5549
|
key: 0,
|
|
@@ -5556,7 +5556,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5556
5556
|
"data-testid": `ff-object-${i.path.value}`
|
|
5557
5557
|
}), [
|
|
5558
5558
|
Me(g.$slots, "default", {}, () => [
|
|
5559
|
-
(E(!0), te(
|
|
5559
|
+
(E(!0), te(Re, null, qe(h.value, (C) => (E(), H(St, {
|
|
5560
5560
|
key: Object.keys(C)[0],
|
|
5561
5561
|
name: Object.keys(C)[0]
|
|
5562
5562
|
}, null, 8, ["name"]))), 128))
|
|
@@ -5580,7 +5580,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5580
5580
|
"tooltip-attributes": p(d).labelAttributes.tooltipAttributes
|
|
5581
5581
|
}), et({
|
|
5582
5582
|
default: F(() => [
|
|
5583
|
-
|
|
5583
|
+
Le(he(p(d).label) + " ", 1)
|
|
5584
5584
|
]),
|
|
5585
5585
|
_: 2
|
|
5586
5586
|
}, [
|
|
@@ -5636,7 +5636,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5636
5636
|
"data-testid": `ff-object-content-${i.path.value}`
|
|
5637
5637
|
}, [
|
|
5638
5638
|
Me(g.$slots, "default", {}, () => [
|
|
5639
|
-
(E(!0), te(
|
|
5639
|
+
(E(!0), te(Re, null, qe(h.value, (C) => (E(), H(St, {
|
|
5640
5640
|
key: Object.keys(C)[0],
|
|
5641
5641
|
name: Object.keys(C)[0]
|
|
5642
5642
|
}, null, 8, ["name"]))), 128))
|
|
@@ -5668,7 +5668,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5668
5668
|
},
|
|
5669
5669
|
emits: ["update:modelValue"],
|
|
5670
5670
|
setup(e, { emit: t }) {
|
|
5671
|
-
const n = Yt(e, ["name"]), { value: i, ...o } = Lt(
|
|
5671
|
+
const n = Yt(e, ["name"]), { value: i, ...o } = Lt(Ke(() => e.name)), r = Wt(o.path, n), a = M(() => {
|
|
5672
5672
|
var v;
|
|
5673
5673
|
const f = (v = o.schema) == null ? void 0 : v.value;
|
|
5674
5674
|
if (typeof f.gt == "number")
|
|
@@ -5729,7 +5729,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5729
5729
|
placeholder: {}
|
|
5730
5730
|
},
|
|
5731
5731
|
setup(e) {
|
|
5732
|
-
const t = Yt(e, ["name", "items", "multiple"]), { getSelectItems: n } = rt(), { value: i, ...o } = Lt(
|
|
5732
|
+
const t = Yt(e, ["name", "items", "multiple"]), { getSelectItems: n } = rt(), { value: i, ...o } = Lt(Ke(() => e.name)), r = Wt(o.path, t), a = M(() => e.items ? e.items : o.path ? n(o.path.value) : []), s = M(() => {
|
|
5733
5733
|
var u;
|
|
5734
5734
|
return e.multiple !== void 0 ? e.multiple : ((u = o.schema.value) == null ? void 0 : u.type) === "set";
|
|
5735
5735
|
}), l = M(() => s.value ? qh : zh);
|
|
@@ -5765,7 +5765,7 @@ const oi = /* @__PURE__ */ ve({
|
|
|
5765
5765
|
}
|
|
5766
5766
|
}), an = /* @__PURE__ */ Fe(vE, [["__scopeId", "data-v-8b105573"]]);
|
|
5767
5767
|
function Il(e, t, n = !0) {
|
|
5768
|
-
const { value: i, ...o } = Lt(
|
|
5768
|
+
const { value: i, ...o } = Lt(Ke(e, "name")), r = Wt(o.path, Ke({ ...e, ...Ln() })), a = oe(u(
|
|
5769
5769
|
e.initialValue ?? Oe(i) ?? {},
|
|
5770
5770
|
e.keyOrder
|
|
5771
5771
|
));
|
|
@@ -5936,7 +5936,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
5936
5936
|
"tooltip-attributes": p(d).labelAttributes.tooltipAttributes
|
|
5937
5937
|
}), et({
|
|
5938
5938
|
default: F(() => [
|
|
5939
|
-
|
|
5939
|
+
Le(he(p(d).label) + " ", 1)
|
|
5940
5940
|
]),
|
|
5941
5941
|
_: 2
|
|
5942
5942
|
}, [
|
|
@@ -5964,7 +5964,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
5964
5964
|
_: 1
|
|
5965
5965
|
}, 8, ["data-testid"])
|
|
5966
5966
|
], 8, _E),
|
|
5967
|
-
(E(!0), te(
|
|
5967
|
+
(E(!0), te(Re, null, qe(p(a), (Y, T) => (E(), te("div", {
|
|
5968
5968
|
key: Y.id,
|
|
5969
5969
|
class: "ff-kv-field-entry",
|
|
5970
5970
|
"data-testid": `ff-kv-container-${p(f).path.value}.${T}`
|
|
@@ -6030,7 +6030,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6030
6030
|
},
|
|
6031
6031
|
emits: ["update:modelValue"],
|
|
6032
6032
|
setup(e, { emit: t }) {
|
|
6033
|
-
const n = Ln(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(
|
|
6033
|
+
const n = Ln(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(Ke(() => e.name)), s = Wt(a.path, Ke({ ...i, ...n })), l = M(() => {
|
|
6034
6034
|
var v, g;
|
|
6035
6035
|
return ((g = (v = a.schema) == null ? void 0 : v.value) == null ? void 0 : g.len_min) && a.schema.value.len_min > 0;
|
|
6036
6036
|
}), u = oe("");
|
|
@@ -6092,7 +6092,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6092
6092
|
},
|
|
6093
6093
|
emits: ["update:modelValue"],
|
|
6094
6094
|
setup(e, { emit: t }) {
|
|
6095
|
-
const n = Ln(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(
|
|
6095
|
+
const n = Ln(), i = Yt(e, ["name"]), o = t, { value: r, ...a } = Lt(Ke(() => e.name)), s = Wt(a.path, Ke({ ...i, ...n })), l = oe("");
|
|
6096
6096
|
function u(f) {
|
|
6097
6097
|
l.value = f;
|
|
6098
6098
|
let m = f || null;
|
|
@@ -6169,10 +6169,10 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6169
6169
|
},
|
|
6170
6170
|
emits: ["update:modelValue"],
|
|
6171
6171
|
setup(e, { emit: t }) {
|
|
6172
|
-
const n = Ln(), { i18n: { t: i } } = Ue(), o = Yt(e, ["showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(
|
|
6172
|
+
const n = Ln(), { i18n: { t: i } } = Ue(), o = Yt(e, ["showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Lt(Ke(() => e.name));
|
|
6173
6173
|
if (s.error)
|
|
6174
6174
|
throw new Error(s.error.message);
|
|
6175
|
-
const l = Wt(s.path,
|
|
6175
|
+
const l = Wt(s.path, Ke({ ...o, ...n })), u = a.value ? a.value.id : null, c = M(() => {
|
|
6176
6176
|
var v;
|
|
6177
6177
|
return l.value.placeholder ? l.value.placeholder : i("plugins.free-form.foreign_placeholder", { entity: ((v = s.schema.value) == null ? void 0 : v.reference) ?? "entity" });
|
|
6178
6178
|
}), d = oe(u ?? "");
|
|
@@ -6216,7 +6216,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6216
6216
|
},
|
|
6217
6217
|
emits: ["globalAction"],
|
|
6218
6218
|
setup(e) {
|
|
6219
|
-
const n = Lt(
|
|
6219
|
+
const n = Lt(Ke(e, "name")), i = M(() => {
|
|
6220
6220
|
var o, r;
|
|
6221
6221
|
switch ((r = (o = n.schema) == null ? void 0 : o.value) == null ? void 0 : r.type) {
|
|
6222
6222
|
case "string":
|
|
@@ -6244,7 +6244,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6244
6244
|
});
|
|
6245
6245
|
return (o, r) => {
|
|
6246
6246
|
const a = we("KAlert");
|
|
6247
|
-
return E(), te(
|
|
6247
|
+
return E(), te(Re, null, [
|
|
6248
6248
|
(E(), H(mt(o.$slots[p(Pi)]))),
|
|
6249
6249
|
p(n).error ? (E(), H(a, {
|
|
6250
6250
|
key: 0,
|
|
@@ -6254,7 +6254,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6254
6254
|
key: 1,
|
|
6255
6255
|
name: xs(p(n).path.value),
|
|
6256
6256
|
onGlobalAction: r[0] || (r[0] = (s, l) => o.$emit("globalAction", s, l))
|
|
6257
|
-
}, null, 40, ["name"])) : (E(), te(
|
|
6257
|
+
}, null, 40, ["name"])) : (E(), te(Re, { key: 2 }, [
|
|
6258
6258
|
i.value ? (E(), H(mt(i.value), {
|
|
6259
6259
|
key: 0,
|
|
6260
6260
|
name: xs(p(n).path.value)
|
|
@@ -6285,7 +6285,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6285
6285
|
il((N) => ({
|
|
6286
6286
|
"3e1c9ee2": x.value
|
|
6287
6287
|
}));
|
|
6288
|
-
const n = e, i = t, { i18n: { t: o } } = Ue(), { getDefault: r, getSchema: a } = rt(), { value: s, ...l } = Lt(
|
|
6288
|
+
const n = e, i = t, { i18n: { t: o } } = Ue(), { getDefault: r, getSchema: a } = rt(), { value: s, ...l } = Lt(Ke(n, "name")), u = Wt(l.path, Ke({ ...n, ...Ln() })), c = M(() => {
|
|
6289
6289
|
if (!l.path) throw new Error("Field path is required for sub-schema retrieval");
|
|
6290
6290
|
const N = a(l.path.value);
|
|
6291
6291
|
if (!N) throw new Error(`Schema not found for path: ${l.path.value}`);
|
|
@@ -6342,7 +6342,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6342
6342
|
"tooltip-attributes": p(u).labelAttributes.tooltipAttributes
|
|
6343
6343
|
}), et({
|
|
6344
6344
|
default: F(() => [
|
|
6345
|
-
|
|
6345
|
+
Le(he(p(u).label) + " ", 1)
|
|
6346
6346
|
]),
|
|
6347
6347
|
_: 2
|
|
6348
6348
|
}, [
|
|
@@ -6371,13 +6371,13 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6371
6371
|
_: 1
|
|
6372
6372
|
}, 8, ["aria-label", "data-testid"])
|
|
6373
6373
|
], 8, FE),
|
|
6374
|
-
d.value.length ? (E(), te(
|
|
6374
|
+
d.value.length ? (E(), te(Re, { key: 0 }, [
|
|
6375
6375
|
N.appearance !== "tabs" ? (E(), te("div", {
|
|
6376
6376
|
key: 0,
|
|
6377
6377
|
class: "ff-array-field-container",
|
|
6378
6378
|
"data-testid": `ff-array-basic-container-${l.path.value}`
|
|
6379
6379
|
}, [
|
|
6380
|
-
(E(!0), te(
|
|
6380
|
+
(E(!0), te(Re, null, qe(d.value, ($, V) => (E(), H(p(m), {
|
|
6381
6381
|
key: p(f)($, V),
|
|
6382
6382
|
class: "ff-array-field-item",
|
|
6383
6383
|
"data-index": V,
|
|
@@ -6448,7 +6448,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6448
6448
|
qe(d.value, ($, V) => ({
|
|
6449
6449
|
name: `${p(f)($, V)}-anchor`,
|
|
6450
6450
|
fn: F(() => [
|
|
6451
|
-
|
|
6451
|
+
Le(he(h($, V)) + " ", 1),
|
|
6452
6452
|
P(Y, {
|
|
6453
6453
|
appearance: "tertiary",
|
|
6454
6454
|
"aria-label": p(o)("actions.remove_entity", { entity: p(o)("plugins.free-form.request-callout.entity_name") }),
|
|
@@ -6607,7 +6607,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6607
6607
|
default: F(() => [
|
|
6608
6608
|
(E(), H(mt(p(o)[p(Pi)]))),
|
|
6609
6609
|
Me(m.$slots, "default", {}, () => [
|
|
6610
|
-
(E(!0), te(
|
|
6610
|
+
(E(!0), te(Re, null, qe(s.value, (v) => (E(), H(St, {
|
|
6611
6611
|
key: Object.keys(v)[0],
|
|
6612
6612
|
name: Object.keys(v)[0],
|
|
6613
6613
|
onGlobalAction: h[0] || (h[0] = (g, y) => i("globalAction", g, y))
|
|
@@ -6834,7 +6834,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6834
6834
|
];
|
|
6835
6835
|
return Ss(n.model, c);
|
|
6836
6836
|
});
|
|
6837
|
-
return (c, d) => (E(), te(
|
|
6837
|
+
return (c, d) => (E(), te(Re, null, [
|
|
6838
6838
|
U("div", GE, [
|
|
6839
6839
|
P(p(ho), {
|
|
6840
6840
|
model: c.formModel,
|
|
@@ -6849,10 +6849,10 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6849
6849
|
class: "ff-form-config-fields"
|
|
6850
6850
|
}, {
|
|
6851
6851
|
title: F(() => [
|
|
6852
|
-
|
|
6852
|
+
Le(he(p(t)("plugins.form.grouping.plugin_configuration.title")), 1)
|
|
6853
6853
|
]),
|
|
6854
6854
|
"visible-content": F(() => [
|
|
6855
|
-
|
|
6855
|
+
Le(he(p(t)("plugins.form.grouping.plugin_configuration.description")), 1)
|
|
6856
6856
|
]),
|
|
6857
6857
|
default: F(() => [
|
|
6858
6858
|
U("div", YE, [
|
|
@@ -6901,7 +6901,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6901
6901
|
},
|
|
6902
6902
|
emits: ["update:modelValue"],
|
|
6903
6903
|
setup(e, { emit: t }) {
|
|
6904
|
-
const n = t, i = Yt(e, ["name", "items"]), { getSelectItems: o } = rt(), r = Lt(
|
|
6904
|
+
const n = t, i = Yt(e, ["name", "items"]), { getSelectItems: o } = rt(), r = Lt(Ke(() => e.name)), a = Wt(r.path, i), s = M(() => e.items ? e.items : r.path ? o(r.path.value) : []), l = (u) => {
|
|
6905
6905
|
r.value && (r.value.value = u), n("update:modelValue", u);
|
|
6906
6906
|
};
|
|
6907
6907
|
return (u, c) => {
|
|
@@ -6914,7 +6914,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6914
6914
|
}, null, 8, ["message"])) : (E(), te("div", ZE, [
|
|
6915
6915
|
P(f, un(En(p(a).labelAttributes)), et({
|
|
6916
6916
|
default: F(() => [
|
|
6917
|
-
|
|
6917
|
+
Le(he(p(a).label) + " ", 1)
|
|
6918
6918
|
]),
|
|
6919
6919
|
_: 2
|
|
6920
6920
|
}, [
|
|
@@ -6929,7 +6929,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
6929
6929
|
} : void 0
|
|
6930
6930
|
]), 1040),
|
|
6931
6931
|
U("div", QE, [
|
|
6932
|
-
(E(!0), te(
|
|
6932
|
+
(E(!0), te(Re, null, qe(s.value, (h) => (E(), H(p(hs), {
|
|
6933
6933
|
key: h.value,
|
|
6934
6934
|
"model-value": p(r).value.value,
|
|
6935
6935
|
"onUpdate:modelValue": [
|
|
@@ -7041,7 +7041,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7041
7041
|
required: ""
|
|
7042
7042
|
}, {
|
|
7043
7043
|
default: F(() => [
|
|
7044
|
-
|
|
7044
|
+
Le(he(p(t)("sp.request_limits.title")), 1)
|
|
7045
7045
|
]),
|
|
7046
7046
|
_: 1
|
|
7047
7047
|
}),
|
|
@@ -7058,14 +7058,14 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7058
7058
|
}, null, 8, ["items", "label"])
|
|
7059
7059
|
]),
|
|
7060
7060
|
U("div", rk, [
|
|
7061
|
-
(E(!0), te(
|
|
7061
|
+
(E(!0), te(Re, null, qe(r.value, (O, B) => (E(), te("div", {
|
|
7062
7062
|
key: p(a)(O, B)
|
|
7063
7063
|
}, [
|
|
7064
7064
|
P(_, {
|
|
7065
7065
|
for: `sp-form-request-limits-item-${B}-legend`
|
|
7066
7066
|
}, {
|
|
7067
7067
|
default: F(() => [
|
|
7068
|
-
|
|
7068
|
+
Le(he(p(t)("sp.request_limits.label_index", { index: B + 1 })), 1)
|
|
7069
7069
|
]),
|
|
7070
7070
|
_: 2
|
|
7071
7071
|
}, 1032, ["for"]),
|
|
@@ -7112,7 +7112,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7112
7112
|
h.value.length > 0 ? (E(), te("div", uk, [
|
|
7113
7113
|
U("div", null, he(p(t)("sp.start_with_a_use_case")), 1),
|
|
7114
7114
|
U("div", ck, [
|
|
7115
|
-
(E(!0), te(
|
|
7115
|
+
(E(!0), te(Re, null, qe(h.value, (O, B) => (E(), H(k, {
|
|
7116
7116
|
key: `use-case-${B}`,
|
|
7117
7117
|
"max-width": "300"
|
|
7118
7118
|
}, {
|
|
@@ -7129,7 +7129,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7129
7129
|
onClick: () => v(O, `${c.value}-${B}`)
|
|
7130
7130
|
}, {
|
|
7131
7131
|
default: F(() => [
|
|
7132
|
-
|
|
7132
|
+
Le(he(O.label), 1)
|
|
7133
7133
|
]),
|
|
7134
7134
|
_: 2
|
|
7135
7135
|
}, 1032, ["appearance", "onClick"])
|
|
@@ -7164,7 +7164,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7164
7164
|
}
|
|
7165
7165
|
}, {
|
|
7166
7166
|
default: F(() => [
|
|
7167
|
-
|
|
7167
|
+
Le(he(p(t)("sp.error_message.label")), 1)
|
|
7168
7168
|
]),
|
|
7169
7169
|
_: 1
|
|
7170
7170
|
}, 8, ["info"]),
|
|
@@ -7229,7 +7229,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7229
7229
|
return (d, f) => {
|
|
7230
7230
|
const m = we("KCopy");
|
|
7231
7231
|
return E(), te("div", hk, [
|
|
7232
|
-
(E(!0), te(
|
|
7232
|
+
(E(!0), te(Re, null, qe(c.value, ({ key: h, label: v, value: g, type: y }) => (E(), te("div", {
|
|
7233
7233
|
key: h,
|
|
7234
7234
|
class: "partial-config-card-row"
|
|
7235
7235
|
}, [
|
|
@@ -7467,7 +7467,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7467
7467
|
default: F(() => [
|
|
7468
7468
|
P(q, { appearance: "success" }, {
|
|
7469
7469
|
default: F(() => [
|
|
7470
|
-
|
|
7470
|
+
Le(he(p(i)("redis.shared_configuration.badge")), 1)
|
|
7471
7471
|
]),
|
|
7472
7472
|
_: 1
|
|
7473
7473
|
})
|
|
@@ -7514,7 +7514,7 @@ const yE = ["data-testid"], _E = ["data-testid"], bE = ["innerHTML"], wE = ["dat
|
|
|
7514
7514
|
class: "select-item-label"
|
|
7515
7515
|
}, {
|
|
7516
7516
|
default: F(() => [
|
|
7517
|
-
|
|
7517
|
+
Le(he(ee.tag), 1)
|
|
7518
7518
|
]),
|
|
7519
7519
|
_: 2
|
|
7520
7520
|
}, 1024)
|
|
@@ -9326,15 +9326,15 @@ const bx = `nodes:
|
|
|
9326
9326
|
]),
|
|
9327
9327
|
default: F(() => [
|
|
9328
9328
|
U("div", Cx, [
|
|
9329
|
-
|
|
9330
|
-
(E(), te(
|
|
9329
|
+
Le(he(p(i)("plugins.free-form.datakit.description_example")) + " ", 1),
|
|
9330
|
+
(E(), te(Re, null, qe(wc, (d, f) => P(p(vn), {
|
|
9331
9331
|
key: f,
|
|
9332
9332
|
appearance: "secondary",
|
|
9333
9333
|
size: "small",
|
|
9334
9334
|
onClick: (m) => l(f)
|
|
9335
9335
|
}, {
|
|
9336
9336
|
default: F(() => [
|
|
9337
|
-
|
|
9337
|
+
Le(he(p(i)(`plugins.free-form.datakit.examples.${f}`)), 1)
|
|
9338
9338
|
]),
|
|
9339
9339
|
_: 2
|
|
9340
9340
|
}, 1032, ["onClick"])), 64))
|
|
@@ -14336,7 +14336,7 @@ function xN(e, t, n) {
|
|
|
14336
14336
|
for (const g of Object.keys(t)) {
|
|
14337
14337
|
const y = g;
|
|
14338
14338
|
if (!v.includes(y)) {
|
|
14339
|
-
const b =
|
|
14339
|
+
const b = Ke(() => t[y]), _ = n[y];
|
|
14340
14340
|
jo(_) && i.run(() => {
|
|
14341
14341
|
Te(
|
|
14342
14342
|
b,
|
|
@@ -14963,7 +14963,7 @@ const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
|
|
|
14963
14963
|
connectableEnd: { type: Boolean, default: !0 }
|
|
14964
14964
|
},
|
|
14965
14965
|
setup(e, { expose: t }) {
|
|
14966
|
-
const n = Yt(e, ["position", "connectable", "connectableStart", "connectableEnd", "id"]), i =
|
|
14966
|
+
const n = Yt(e, ["position", "connectable", "connectableStart", "connectableEnd", "id"]), i = Ke(() => n.type ?? "source"), o = Ke(() => n.isValidConnection ?? null), {
|
|
14967
14967
|
id: r,
|
|
14968
14968
|
connectionStartHandle: a,
|
|
14969
14969
|
connectionClickStartHandle: s,
|
|
@@ -14972,12 +14972,12 @@ const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
|
|
|
14972
14972
|
nodesConnectable: c,
|
|
14973
14973
|
noDragClassName: d,
|
|
14974
14974
|
noPanClassName: f
|
|
14975
|
-
} = We(), { id: m, node: h, nodeEl: v, connectedEdges: g } = Zm(), y = oe(), b =
|
|
14975
|
+
} = We(), { id: m, node: h, nodeEl: v, connectedEdges: g } = Zm(), y = oe(), b = Ke(() => typeof e.connectableStart < "u" ? e.connectableStart : !0), _ = Ke(() => typeof e.connectableEnd < "u" ? e.connectableEnd : !0), C = Ke(
|
|
14976
14976
|
() => {
|
|
14977
14977
|
var Y, T, re, $, V, j;
|
|
14978
14978
|
return ((Y = a.value) == null ? void 0 : Y.nodeId) === m && ((T = a.value) == null ? void 0 : T.id) === e.id && ((re = a.value) == null ? void 0 : re.type) === i.value || (($ = l.value) == null ? void 0 : $.nodeId) === m && ((V = l.value) == null ? void 0 : V.id) === e.id && ((j = l.value) == null ? void 0 : j.type) === i.value;
|
|
14979
14979
|
}
|
|
14980
|
-
), x =
|
|
14980
|
+
), x = Ke(
|
|
14981
14981
|
() => {
|
|
14982
14982
|
var Y, T, re;
|
|
14983
14983
|
return ((Y = s.value) == null ? void 0 : Y.nodeId) === m && ((T = s.value) == null ? void 0 : T.id) === e.id && ((re = s.value) == null ? void 0 : re.type) === i.value;
|
|
@@ -15067,7 +15067,7 @@ const NN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], ON = {
|
|
|
15067
15067
|
const s = a.label ?? n;
|
|
15068
15068
|
return [
|
|
15069
15069
|
Ge(Pn, { type: "target", position: t, connectable: i, isValidConnection: o }),
|
|
15070
|
-
typeof s != "string" && s ? Ge(s) : Ge(
|
|
15070
|
+
typeof s != "string" && s ? Ge(s) : Ge(Re, [s]),
|
|
15071
15071
|
Ge(Pn, { type: "source", position: e, connectable: i, isValidConnection: r })
|
|
15072
15072
|
];
|
|
15073
15073
|
};
|
|
@@ -15084,7 +15084,7 @@ const PN = xa, Aa = function({
|
|
|
15084
15084
|
const r = o.label ?? t;
|
|
15085
15085
|
return [
|
|
15086
15086
|
Ge(Pn, { type: "target", position: e, connectable: n, isValidConnection: i }),
|
|
15087
|
-
typeof r != "string" && r ? Ge(r) : Ge(
|
|
15087
|
+
typeof r != "string" && r ? Ge(r) : Ge(Re, [r])
|
|
15088
15088
|
];
|
|
15089
15089
|
};
|
|
15090
15090
|
Aa.props = ["targetPosition", "label", "isValidTargetPos", "connectable", "data"];
|
|
@@ -15099,7 +15099,7 @@ const MN = Aa, Ia = function({
|
|
|
15099
15099
|
}) {
|
|
15100
15100
|
const r = o.label ?? t;
|
|
15101
15101
|
return [
|
|
15102
|
-
typeof r != "string" && r ? Ge(r) : Ge(
|
|
15102
|
+
typeof r != "string" && r ? Ge(r) : Ge(Re, [r]),
|
|
15103
15103
|
Ge(Pn, { type: "source", position: e, connectable: n, isValidConnection: i })
|
|
15104
15104
|
];
|
|
15105
15105
|
};
|
|
@@ -15154,8 +15154,8 @@ const FN = Ia, RN = ["transform"], DN = ["width", "height", "x", "y", "rx", "ry"
|
|
|
15154
15154
|
style: r.labelStyle
|
|
15155
15155
|
}), [
|
|
15156
15156
|
Me(r.$slots, "default", {}, () => [
|
|
15157
|
-
typeof r.label != "string" ? (E(), H(mt(r.label), { key: 0 })) : (E(), te(
|
|
15158
|
-
|
|
15157
|
+
typeof r.label != "string" ? (E(), H(mt(r.label), { key: 0 })) : (E(), te(Re, { key: 1 }, [
|
|
15158
|
+
Le(he(r.label), 1)
|
|
15159
15159
|
], 64))
|
|
15160
15160
|
])
|
|
15161
15161
|
], 16, LN)
|
|
@@ -15188,7 +15188,7 @@ const FN = Ia, RN = ["transform"], DN = ["width", "height", "x", "y", "rx", "ry"
|
|
|
15188
15188
|
pathEl: n,
|
|
15189
15189
|
interactionEl: i,
|
|
15190
15190
|
labelEl: o
|
|
15191
|
-
}), (a, s) => (E(), te(
|
|
15191
|
+
}), (a, s) => (E(), te(Re, null, [
|
|
15192
15192
|
U("path", ze(p(r), {
|
|
15193
15193
|
id: a.id,
|
|
15194
15194
|
ref_key: "pathEl",
|
|
@@ -15958,7 +15958,7 @@ const pO = {
|
|
|
15958
15958
|
connectionLookup: C,
|
|
15959
15959
|
defaultEdgeOptions: x,
|
|
15960
15960
|
connectionStartHandle: k
|
|
15961
|
-
} = We(), N = oe(null), O = oe(/* @__PURE__ */ new Set()), B = oe(/* @__PURE__ */ new Set()), W = oe(), Y =
|
|
15961
|
+
} = We(), N = oe(null), O = oe(/* @__PURE__ */ new Set()), B = oe(/* @__PURE__ */ new Set()), W = oe(), Y = Ke(() => l.value && (e.isSelecting || r.value)), T = Ke(() => k.value !== null);
|
|
15962
15962
|
let re = !1, $ = !1;
|
|
15963
15963
|
const V = Eo(v, { actInsideInputWithModifier: !1 }), j = Eo(g);
|
|
15964
15964
|
Te(V, (ee) => {
|
|
@@ -16117,9 +16117,9 @@ const pO = {
|
|
|
16117
16117
|
y: 0,
|
|
16118
16118
|
zoom: 0
|
|
16119
16119
|
};
|
|
16120
|
-
const J = Eo(s), Z = Eo(a), q = Eo(r), z =
|
|
16120
|
+
const J = Eo(s), Z = Eo(a), q = Eo(r), z = Ke(
|
|
16121
16121
|
() => (!Z.value || Z.value && a.value === !0) && (J.value || d.value)
|
|
16122
|
-
), ne =
|
|
16122
|
+
), ne = Ke(() => J.value || l.value), se = Ke(() => Z.value || a.value === !0 && z.value !== !0);
|
|
16123
16123
|
It(() => {
|
|
16124
16124
|
if (!W.value) {
|
|
16125
16125
|
Ca("Viewport element is missing");
|
|
@@ -16264,7 +16264,7 @@ const pO = {
|
|
|
16264
16264
|
...EO,
|
|
16265
16265
|
setup(e) {
|
|
16266
16266
|
const { id: t, disableKeyboardA11y: n, ariaLiveMessage: i } = We();
|
|
16267
|
-
return (o, r) => (E(), te(
|
|
16267
|
+
return (o, r) => (E(), te(Re, null, [
|
|
16268
16268
|
U("div", {
|
|
16269
16269
|
id: `${p(Nm)}-${p(t)}`,
|
|
16270
16270
|
style: { display: "none" }
|
|
@@ -16342,9 +16342,9 @@ const pd = Zl, AO = ve({
|
|
|
16342
16342
|
edgesUpdatable: g,
|
|
16343
16343
|
edgesFocusable: y,
|
|
16344
16344
|
hooks: b
|
|
16345
|
-
} = We(), _ = M(() => c(e.id)), { emit: C, on: x } = yN(_.value, r), k = it(Sa), N = Bo(), O = oe(!1), B = oe(!1), W = oe(""), Y = oe(null), T = oe("source"), re = oe(null), $ =
|
|
16345
|
+
} = We(), _ = M(() => c(e.id)), { emit: C, on: x } = yN(_.value, r), k = it(Sa), N = Bo(), O = oe(!1), B = oe(!1), W = oe(""), Y = oe(null), T = oe("source"), re = oe(null), $ = Ke(
|
|
16346
16346
|
() => typeof _.value.selectable > "u" ? v.value : _.value.selectable
|
|
16347
|
-
), V =
|
|
16347
|
+
), V = Ke(() => typeof _.value.updatable > "u" ? g.value : _.value.updatable), j = Ke(() => typeof _.value.focusable > "u" ? y.value : _.value.focusable);
|
|
16348
16348
|
ot(gN, e.id), ot(hN, re);
|
|
16349
16349
|
const le = M(() => _.value.class instanceof Function ? _.value.class(_.value) : _.value.class), J = M(() => _.value.style instanceof Function ? _.value.style(_.value) : _.value.style), Z = M(() => {
|
|
16350
16350
|
const S = _.value.type || "default", I = k == null ? void 0 : k[`edge-${S}`];
|
|
@@ -16715,7 +16715,7 @@ const pd = Zl, AO = ve({
|
|
|
16715
16715
|
});
|
|
16716
16716
|
return (a, s) => (E(), te("svg", MO, [
|
|
16717
16717
|
U("defs", null, [
|
|
16718
|
-
(E(!0), te(
|
|
16718
|
+
(E(!0), te(Re, null, qe(r.value, (l) => (E(), H(PO, {
|
|
16719
16719
|
id: l.id,
|
|
16720
16720
|
key: l.id,
|
|
16721
16721
|
type: l.type,
|
|
@@ -16736,9 +16736,9 @@ const pd = Zl, AO = ve({
|
|
|
16736
16736
|
...DO,
|
|
16737
16737
|
setup(e) {
|
|
16738
16738
|
const { findNode: t, getEdges: n, elevateEdgesOnSelect: i } = We();
|
|
16739
|
-
return (o, r) => (E(), te(
|
|
16739
|
+
return (o, r) => (E(), te(Re, null, [
|
|
16740
16740
|
P(RO),
|
|
16741
|
-
(E(!0), te(
|
|
16741
|
+
(E(!0), te(Re, null, qe(p(n), (a) => (E(), te("svg", {
|
|
16742
16742
|
key: a.id,
|
|
16743
16743
|
class: "vue-flow__edges vue-flow__container",
|
|
16744
16744
|
style: At({ zIndex: p(nN)(a, p(t), p(i)) })
|
|
@@ -16781,9 +16781,9 @@ const pd = Zl, AO = ve({
|
|
|
16781
16781
|
hooks: N
|
|
16782
16782
|
} = We(), O = oe(null);
|
|
16783
16783
|
ot(Ym, O), ot(Gm, e.id);
|
|
16784
|
-
const B = it(Sa), W = Bo(), Y = Jm(), { node: T, parentNode: re } = Zm(e.id), { emit: $, on: V } = EN(T, a), j =
|
|
16784
|
+
const B = it(Sa), W = Bo(), Y = Jm(), { node: T, parentNode: re } = Zm(e.id), { emit: $, on: V } = EN(T, a), j = Ke(() => typeof T.draggable > "u" ? _.value : T.draggable), le = Ke(() => typeof T.selectable > "u" ? C.value : T.selectable), J = Ke(() => typeof T.connectable > "u" ? x.value : T.connectable), Z = Ke(() => typeof T.focusable > "u" ? k.value : T.focusable), q = M(
|
|
16785
16785
|
() => le.value || j.value || N.value.nodeClick.hasListeners() || N.value.nodeDoubleClick.hasListeners() || N.value.nodeMouseEnter.hasListeners() || N.value.nodeMouseMove.hasListeners() || N.value.nodeMouseLeave.hasListeners()
|
|
16786
|
-
), z =
|
|
16786
|
+
), z = Ke(() => !!T.dimensions.width && !!T.dimensions.height), ne = M(() => {
|
|
16787
16787
|
const I = T.type || "default", A = B == null ? void 0 : B[`node-${I}`];
|
|
16788
16788
|
if (A)
|
|
16789
16789
|
return A;
|
|
@@ -16814,7 +16814,7 @@ const pd = Zl, AO = ve({
|
|
|
16814
16814
|
}), ee = M(() => T.class instanceof Function ? T.class(T) : T.class), fe = M(() => {
|
|
16815
16815
|
const I = (T.style instanceof Function ? T.style(T) : T.style) || {}, A = T.width instanceof Function ? T.width(T) : T.width, G = T.height instanceof Function ? T.height(T) : T.height;
|
|
16816
16816
|
return !I.width && A && (I.width = typeof A == "string" ? A : `${A}px`), !I.height && G && (I.height = typeof G == "string" ? G : `${G}px`), I;
|
|
16817
|
-
}), me =
|
|
16817
|
+
}), me = Ke(() => Number(T.zIndex ?? fe.value.zIndex ?? 0));
|
|
16818
16818
|
return c((I) => {
|
|
16819
16819
|
(I.includes(e.id) || !I.length) && xe();
|
|
16820
16820
|
}), It(() => {
|
|
@@ -17036,7 +17036,7 @@ const VO = { class: "vue-flow__nodes vue-flow__container" }, qO = {
|
|
|
17036
17036
|
var a;
|
|
17037
17037
|
return (a = r.value) == null ? void 0 : a.disconnect();
|
|
17038
17038
|
}), (a, s) => (E(), te("div", VO, [
|
|
17039
|
-
r.value ? (E(!0), te(
|
|
17039
|
+
r.value ? (E(!0), te(Re, { key: 0 }, qe(p(t), (l, u, c, d) => {
|
|
17040
17040
|
const f = [l.id];
|
|
17041
17041
|
if (d && d.key === l.id && ih(d, f))
|
|
17042
17042
|
return d;
|
|
@@ -17211,7 +17211,7 @@ const XO = {
|
|
|
17211
17211
|
offset: m,
|
|
17212
17212
|
size: c
|
|
17213
17213
|
};
|
|
17214
|
-
}), o =
|
|
17214
|
+
}), o = Ke(() => `pattern-${t}${e.id ? `-${e.id}` : ""}`), r = Ke(() => e.color || e.patternColor || XO[e.variant || bn.Dots]);
|
|
17215
17215
|
return (a, s) => (E(), te("svg", {
|
|
17216
17216
|
class: "vue-flow__background vue-flow__container",
|
|
17217
17217
|
style: At({
|
|
@@ -17344,7 +17344,7 @@ const NP = { render: $P }, OP = {
|
|
|
17344
17344
|
viewport: u,
|
|
17345
17345
|
minZoom: c,
|
|
17346
17346
|
maxZoom: d
|
|
17347
|
-
} = We(), f =
|
|
17347
|
+
} = We(), f = Ke(() => n.value || i.value || o.value), m = Ke(() => u.value.zoom <= c.value), h = Ke(() => u.value.zoom >= d.value);
|
|
17348
17348
|
function v() {
|
|
17349
17349
|
a(), t("zoomIn");
|
|
17350
17350
|
}
|
|
@@ -17363,7 +17363,7 @@ const NP = { render: $P }, OP = {
|
|
|
17363
17363
|
}, {
|
|
17364
17364
|
default: F(() => [
|
|
17365
17365
|
Me(_.$slots, "top"),
|
|
17366
|
-
_.showZoom ? (E(), te(
|
|
17366
|
+
_.showZoom ? (E(), te(Re, { key: 0 }, [
|
|
17367
17367
|
Me(_.$slots, "control-zoom-in", {}, () => [
|
|
17368
17368
|
P(cr, {
|
|
17369
17369
|
class: "vue-flow__controls-zoomin",
|
|
@@ -20009,7 +20009,7 @@ const [HR, GR] = rf(
|
|
|
20009
20009
|
(E(), H(mt(t.value)))
|
|
20010
20010
|
]),
|
|
20011
20011
|
default: F(() => [
|
|
20012
|
-
|
|
20012
|
+
Le(" " + he(n.value), 1)
|
|
20013
20013
|
]),
|
|
20014
20014
|
_: 1
|
|
20015
20015
|
}, 8, ["appearance", "size"]);
|
|
@@ -20081,7 +20081,7 @@ const [HR, GR] = rf(
|
|
|
20081
20081
|
class: Ye(["handles", { reversed: h.value }])
|
|
20082
20082
|
}, [
|
|
20083
20083
|
U("div", QR, [
|
|
20084
|
-
d.value ? (E(), te(
|
|
20084
|
+
d.value ? (E(), te(Re, { key: 0 }, [
|
|
20085
20085
|
U("div", eD, [
|
|
20086
20086
|
P(p(Pn), {
|
|
20087
20087
|
id: "input",
|
|
@@ -20090,17 +20090,14 @@ const [HR, GR] = rf(
|
|
|
20090
20090
|
}, null, 8, ["position"]),
|
|
20091
20091
|
U("div", tD, [
|
|
20092
20092
|
U("div", {
|
|
20093
|
-
class: Ye(["handle-label", {
|
|
20093
|
+
class: Ye(["handle-label trigger", {
|
|
20094
20094
|
"has-fields": C.data.fields.input.length > 0,
|
|
20095
20095
|
collapsible: s.value
|
|
20096
|
-
}])
|
|
20096
|
+
}]),
|
|
20097
|
+
onClick: x[0] || (x[0] = Ft((k) => _("input"), ["stop"]))
|
|
20097
20098
|
}, [
|
|
20098
20099
|
x[2] || (x[2] = U("div", { class: "text" }, " inputs ", -1)),
|
|
20099
|
-
C.data.fields.input.length > 0 ? (E(), te(
|
|
20100
|
-
key: 0,
|
|
20101
|
-
class: "icon",
|
|
20102
|
-
onClick: x[0] || (x[0] = Ft((k) => _("input"), ["stop"]))
|
|
20103
|
-
}, [
|
|
20100
|
+
C.data.fields.input.length > 0 ? (E(), te(Re, { key: 0 }, [
|
|
20104
20101
|
u.value ? Ee("", !0) : (E(), H(p(su), {
|
|
20105
20102
|
key: 0,
|
|
20106
20103
|
size: p(lo)
|
|
@@ -20110,7 +20107,7 @@ const [HR, GR] = rf(
|
|
|
20110
20107
|
color: s.value ? void 0 : p(nc),
|
|
20111
20108
|
size: p(lo)
|
|
20112
20109
|
}, null, 8, ["color", "size"])) : Ee("", !0)
|
|
20113
|
-
])) : Ee("", !0)
|
|
20110
|
+
], 64)) : Ee("", !0)
|
|
20114
20111
|
], 2),
|
|
20115
20112
|
u.value ? (E(), H(pr, {
|
|
20116
20113
|
key: 0,
|
|
@@ -20120,7 +20117,7 @@ const [HR, GR] = rf(
|
|
|
20120
20117
|
}, null, 8, ["color", "position"])) : Ee("", !0)
|
|
20121
20118
|
])
|
|
20122
20119
|
]),
|
|
20123
|
-
u.value ? (E(!0), te(
|
|
20120
|
+
u.value ? (E(!0), te(Re, { key: 0 }, qe(C.data.fields.input, (k, N) => (E(), te("div", {
|
|
20124
20121
|
key: `inputs-${k.id}`,
|
|
20125
20122
|
class: "handle indented"
|
|
20126
20123
|
}, [
|
|
@@ -20141,21 +20138,18 @@ const [HR, GR] = rf(
|
|
|
20141
20138
|
], 64)) : Ee("", !0)
|
|
20142
20139
|
]),
|
|
20143
20140
|
U("div", oD, [
|
|
20144
|
-
f.value ? (E(), te(
|
|
20141
|
+
f.value ? (E(), te(Re, { key: 0 }, [
|
|
20145
20142
|
U("div", rD, [
|
|
20146
20143
|
U("div", aD, [
|
|
20147
20144
|
U("div", {
|
|
20148
|
-
class: Ye(["handle-label text", {
|
|
20145
|
+
class: Ye(["handle-label text trigger", {
|
|
20149
20146
|
"has-fields": C.data.fields.output.length > 0,
|
|
20150
20147
|
collapsible: l.value
|
|
20151
|
-
}])
|
|
20148
|
+
}]),
|
|
20149
|
+
onClick: x[1] || (x[1] = Ft((k) => _("output"), ["stop"]))
|
|
20152
20150
|
}, [
|
|
20153
20151
|
x[3] || (x[3] = U("div", { class: "text" }, " outputs ", -1)),
|
|
20154
|
-
C.data.fields.output.length > 0 ? (E(), te(
|
|
20155
|
-
key: 0,
|
|
20156
|
-
class: "icon",
|
|
20157
|
-
onClick: x[1] || (x[1] = Ft((k) => _("output"), ["stop"]))
|
|
20158
|
-
}, [
|
|
20152
|
+
C.data.fields.output.length > 0 ? (E(), te(Re, { key: 0 }, [
|
|
20159
20153
|
c.value ? Ee("", !0) : (E(), H(p(su), {
|
|
20160
20154
|
key: 0,
|
|
20161
20155
|
size: p(lo)
|
|
@@ -20165,7 +20159,7 @@ const [HR, GR] = rf(
|
|
|
20165
20159
|
color: l.value ? void 0 : p(nc),
|
|
20166
20160
|
size: p(lo)
|
|
20167
20161
|
}, null, 8, ["color", "size"])) : Ee("", !0)
|
|
20168
|
-
])) : Ee("", !0)
|
|
20162
|
+
], 64)) : Ee("", !0)
|
|
20169
20163
|
], 2),
|
|
20170
20164
|
c.value ? (E(), H(pr, {
|
|
20171
20165
|
key: 0,
|
|
@@ -20180,7 +20174,7 @@ const [HR, GR] = rf(
|
|
|
20180
20174
|
type: "source"
|
|
20181
20175
|
}, null, 8, ["position"])
|
|
20182
20176
|
]),
|
|
20183
|
-
c.value ? (E(!0), te(
|
|
20177
|
+
c.value ? (E(!0), te(Re, { key: 0 }, qe(C.data.fields.output, (k, N) => (E(), te("div", {
|
|
20184
20178
|
key: `outputs-${k.id}`,
|
|
20185
20179
|
class: "handle indented"
|
|
20186
20180
|
}, [
|
|
@@ -20203,7 +20197,7 @@ const [HR, GR] = rf(
|
|
|
20203
20197
|
], 2)
|
|
20204
20198
|
], 2));
|
|
20205
20199
|
}
|
|
20206
|
-
}), Kg = /* @__PURE__ */ Fe(uD, [["__scopeId", "data-v-
|
|
20200
|
+
}), Kg = /* @__PURE__ */ Fe(uD, [["__scopeId", "data-v-f963ddb9"]]), cD = /* @__PURE__ */ ve({
|
|
20207
20201
|
__name: "FlowCanvas",
|
|
20208
20202
|
props: {
|
|
20209
20203
|
flowId: {},
|
|
@@ -20477,20 +20471,20 @@ const [HR, GR] = rf(
|
|
|
20477
20471
|
U("p", null, he(a.value), 1),
|
|
20478
20472
|
U("p", null, he(p(i)("plugins.free-form.datakit.flow_editor.confirm.message.confirm")), 1),
|
|
20479
20473
|
U("div", pD, [
|
|
20480
|
-
(E(!0), te(
|
|
20474
|
+
(E(!0), te(Re, null, qe(s.value ?? [], ([g, y]) => (E(), te("div", {
|
|
20481
20475
|
key: `${g}-${y}`
|
|
20482
20476
|
}, [
|
|
20483
20477
|
P(p(cn), { color: p($k) }, null, 8, ["color"]),
|
|
20484
20478
|
U("span", null, he(g), 1),
|
|
20485
|
-
h[0] || (h[0] =
|
|
20479
|
+
h[0] || (h[0] = Le(" → ", -1)),
|
|
20486
20480
|
U("span", null, he(y), 1)
|
|
20487
20481
|
]))), 128)),
|
|
20488
|
-
(E(!0), te(
|
|
20482
|
+
(E(!0), te(Re, null, qe(l.value ?? [], ([g, y]) => (E(), te("div", {
|
|
20489
20483
|
key: `${g}-${y}`
|
|
20490
20484
|
}, [
|
|
20491
20485
|
P(p(Qd), { color: p(op) }, null, 8, ["color"]),
|
|
20492
20486
|
U("span", null, he(g), 1),
|
|
20493
|
-
h[1] || (h[1] =
|
|
20487
|
+
h[1] || (h[1] = Le(" → ", -1)),
|
|
20494
20488
|
U("span", null, he(y), 1)
|
|
20495
20489
|
]))), 128))
|
|
20496
20490
|
])
|
|
@@ -20516,7 +20510,7 @@ const [HR, GR] = rf(
|
|
|
20516
20510
|
}
|
|
20517
20511
|
return (u, c) => (E(), te("nav", hD, [
|
|
20518
20512
|
U("div", vD, [
|
|
20519
|
-
(E(), te(
|
|
20513
|
+
(E(), te(Re, null, qe(o, ({ label: d, to: f, icon: m, onClick: h }) => P(p(fu), {
|
|
20520
20514
|
key: d,
|
|
20521
20515
|
"kpop-attributes": { offset: "10px" },
|
|
20522
20516
|
label: d,
|
|
@@ -20720,14 +20714,14 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
20720
20714
|
to: "https://developer.konghq.com/plugins/datakit/"
|
|
20721
20715
|
}, {
|
|
20722
20716
|
default: F(() => [
|
|
20723
|
-
|
|
20717
|
+
Le(he(p(t)("plugins.free-form.datakit.flow_editor.actions.view_docs")) + " ", 1),
|
|
20724
20718
|
P(p(Mh))
|
|
20725
20719
|
]),
|
|
20726
20720
|
_: 1
|
|
20727
20721
|
}),
|
|
20728
20722
|
P(p(vn), { onClick: s }, {
|
|
20729
20723
|
default: F(() => [
|
|
20730
|
-
|
|
20724
|
+
Le(he(p(t)("plugins.free-form.datakit.flow_editor.actions.done")), 1)
|
|
20731
20725
|
]),
|
|
20732
20726
|
_: 1
|
|
20733
20727
|
})
|
|
@@ -20814,13 +20808,13 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
20814
20808
|
info: p(t)("plugins.free-form.datakit.flow_editor.node_panel.description")
|
|
20815
20809
|
}, {
|
|
20816
20810
|
default: F(() => [
|
|
20817
|
-
|
|
20811
|
+
Le(he(p(t)("plugins.free-form.datakit.flow_editor.node_panel.title")), 1)
|
|
20818
20812
|
]),
|
|
20819
20813
|
_: 1
|
|
20820
20814
|
}, 8, ["info"])
|
|
20821
20815
|
]),
|
|
20822
20816
|
U("div", LD, [
|
|
20823
|
-
(E(!0), te(
|
|
20817
|
+
(E(!0), te(Re, null, qe(Object.keys(p(pa)), (c) => (E(), H(FD, {
|
|
20824
20818
|
key: c,
|
|
20825
20819
|
draggable: "true",
|
|
20826
20820
|
type: c,
|
|
@@ -20870,7 +20864,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
20870
20864
|
"reset-label-path": "isolate"
|
|
20871
20865
|
}, {
|
|
20872
20866
|
default: F(() => [
|
|
20873
|
-
(E(!0), te(
|
|
20867
|
+
(E(!0), te(Re, null, qe(i.value, (a) => (E(), H(an, {
|
|
20874
20868
|
key: a,
|
|
20875
20869
|
class: "dk-inputs-field-indent",
|
|
20876
20870
|
clearable: "",
|
|
@@ -20962,7 +20956,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
20962
20956
|
ref: u,
|
|
20963
20957
|
class: "dk-inputs-map-field"
|
|
20964
20958
|
}, [
|
|
20965
|
-
(E(!0), te(
|
|
20959
|
+
(E(!0), te(Re, null, qe(p(o), (T, re) => (E(), te("div", {
|
|
20966
20960
|
key: T.id,
|
|
20967
20961
|
class: "dk-inputs-map-field-entry dk-inputs-map-field-indent",
|
|
20968
20962
|
"data-testid": `ff-kv-container-${p(s).path.value}.${re}`
|
|
@@ -20971,7 +20965,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
20971
20965
|
for: `ff-kv-entry-key-${p(s).path.value}.${re}`
|
|
20972
20966
|
}, {
|
|
20973
20967
|
default: F(() => [
|
|
20974
|
-
|
|
20968
|
+
Le(he(p(l)("plugins.free-form.datakit.flow_editor.node_properties.input_name.label")), 1)
|
|
20975
20969
|
]),
|
|
20976
20970
|
_: 2
|
|
20977
20971
|
}, 1032, ["for"]),
|
|
@@ -21025,7 +21019,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
21025
21019
|
}, {
|
|
21026
21020
|
default: F(() => [
|
|
21027
21021
|
P(p(cn)),
|
|
21028
|
-
|
|
21022
|
+
Le(" " + he(p(l)("plugins.free-form.datakit.flow_editor.node_properties.input.add_button")), 1)
|
|
21029
21023
|
]),
|
|
21030
21024
|
_: 1
|
|
21031
21025
|
}, 8, ["data-testid", "disabled"])
|
|
@@ -21058,7 +21052,7 @@ const CD = { class: "dk-editor-main" }, SD = { class: "header" }, xD = { class:
|
|
|
21058
21052
|
function d(f, m) {
|
|
21059
21053
|
n("rename:field", f, m);
|
|
21060
21054
|
}
|
|
21061
|
-
return (f, m) => (E(), te(
|
|
21055
|
+
return (f, m) => (E(), te(Re, null, [
|
|
21062
21056
|
p(i)("input") ? (E(), H(an, {
|
|
21063
21057
|
key: 0,
|
|
21064
21058
|
clearable: "",
|
|
@@ -21733,7 +21727,7 @@ const Go = /* @__PURE__ */ ve({
|
|
|
21733
21727
|
}, null, 8, ["name", "validate", "onUpdate"]),
|
|
21734
21728
|
P(C, { class: "dk-node-configuration-label" }, {
|
|
21735
21729
|
default: F(() => [
|
|
21736
|
-
|
|
21730
|
+
Le(he(p(t)("plugins.free-form.datakit.flow_editor.node_properties.Configuration")), 1)
|
|
21737
21731
|
]),
|
|
21738
21732
|
_: 1
|
|
21739
21733
|
}),
|
|
@@ -21895,7 +21889,7 @@ const Go = /* @__PURE__ */ ve({
|
|
|
21895
21889
|
}, null, 8, ["name", "validate", "onUpdate"]),
|
|
21896
21890
|
P(W, { class: "dk-node-configuration-label" }, {
|
|
21897
21891
|
default: F(() => [
|
|
21898
|
-
|
|
21892
|
+
Le(he(p(t)("plugins.free-form.datakit.flow_editor.node_properties.Configuration")), 1)
|
|
21899
21893
|
]),
|
|
21900
21894
|
_: 1
|
|
21901
21895
|
}),
|
|
@@ -22012,11 +22006,11 @@ const Go = /* @__PURE__ */ ve({
|
|
|
22012
22006
|
}, [
|
|
22013
22007
|
P(O, { class: "dk-node-configuration-label" }, {
|
|
22014
22008
|
default: F(() => [
|
|
22015
|
-
|
|
22009
|
+
Le(he(p(u).t("plugins.free-form.datakit.flow_editor.node_properties.output_value.label")), 1)
|
|
22016
22010
|
]),
|
|
22017
22011
|
_: 1
|
|
22018
22012
|
}),
|
|
22019
|
-
(E(!0), te(
|
|
22013
|
+
(E(!0), te(Re, null, qe(p(r), (T, re) => (E(), H(Y, {
|
|
22020
22014
|
key: T.id,
|
|
22021
22015
|
class: "dk-output-value-field-entry",
|
|
22022
22016
|
"data-testid": `ff-kv-container-${p(l).path.value}.${re}`
|
|
@@ -22071,7 +22065,7 @@ const Go = /* @__PURE__ */ ve({
|
|
|
22071
22065
|
}, {
|
|
22072
22066
|
default: F(() => [
|
|
22073
22067
|
P(p(cn)),
|
|
22074
|
-
|
|
22068
|
+
Le(" " + he(p(u).t("plugins.free-form.datakit.flow_editor.node_properties.output_value.add_button")), 1)
|
|
22075
22069
|
]),
|
|
22076
22070
|
_: 1
|
|
22077
22071
|
}, 8, ["data-testid", "disabled"])
|
|
@@ -22241,7 +22235,7 @@ const mL = /* @__PURE__ */ ve({
|
|
|
22241
22235
|
l.value = Zs(m), a.value = mo(m);
|
|
22242
22236
|
}), (m, h) => {
|
|
22243
22237
|
const v = we("KBadge"), g = we("KSelect"), y = we("KInput");
|
|
22244
|
-
return E(), te(
|
|
22238
|
+
return E(), te(Re, null, [
|
|
22245
22239
|
(E(), H(g, {
|
|
22246
22240
|
key: u.value,
|
|
22247
22241
|
"enable-filtering": "",
|
|
@@ -22270,7 +22264,7 @@ const mL = /* @__PURE__ */ ve({
|
|
|
22270
22264
|
appearance: "info"
|
|
22271
22265
|
}, {
|
|
22272
22266
|
default: F(() => [
|
|
22273
|
-
|
|
22267
|
+
Le(he(p(n)("plugins.free-form.datakit.flow_editor.node_properties.property.get")), 1)
|
|
22274
22268
|
]),
|
|
22275
22269
|
_: 1
|
|
22276
22270
|
})) : Ee("", !0),
|
|
@@ -22279,7 +22273,7 @@ const mL = /* @__PURE__ */ ve({
|
|
|
22279
22273
|
appearance: "warning"
|
|
22280
22274
|
}, {
|
|
22281
22275
|
default: F(() => [
|
|
22282
|
-
|
|
22276
|
+
Le(he(p(n)("plugins.free-form.datakit.flow_editor.node_properties.property.set")), 1)
|
|
22283
22277
|
]),
|
|
22284
22278
|
_: 1
|
|
22285
22279
|
})) : Ee("", !0)
|
|
@@ -22627,7 +22621,7 @@ const mL = /* @__PURE__ */ ve({
|
|
|
22627
22621
|
onClick: d[0] || (d[0] = (m) => s.value = !0)
|
|
22628
22622
|
}, {
|
|
22629
22623
|
default: F(() => [
|
|
22630
|
-
|
|
22624
|
+
Le(he(p(n)("plugins.free-form.datakit.flow_editor.cta")) + " ", 1),
|
|
22631
22625
|
P(p(Fh))
|
|
22632
22626
|
]),
|
|
22633
22627
|
_: 1
|
|
@@ -22937,11 +22931,11 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
22937
22931
|
onValidityChange: { type: Function }
|
|
22938
22932
|
},
|
|
22939
22933
|
setup(e) {
|
|
22940
|
-
const { t } = vt("en-us", yt), n = e, i = it(O1.DATAKIT_ENABLE_FLOW_EDITOR, !1), { editorMode: o } = jl(), r = M(() => i ? o.value : "code"), a = {
|
|
22934
|
+
const { t } = vt("en-us", yt), n = e, i = it(O1.DATAKIT_ENABLE_FLOW_EDITOR, !1), { editorMode: o } = jl(), r = M(() => i && s.value ? o.value : "code"), a = {
|
|
22941
22935
|
flow: Rh,
|
|
22942
22936
|
code: tf
|
|
22943
22937
|
}, s = oe(!0), l = M(() => {
|
|
22944
|
-
const
|
|
22938
|
+
const h = [
|
|
22945
22939
|
{
|
|
22946
22940
|
label: t("plugins.free-form.datakit.flow_editor.mode"),
|
|
22947
22941
|
value: "flow"
|
|
@@ -22951,9 +22945,9 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
22951
22945
|
value: "code"
|
|
22952
22946
|
}
|
|
22953
22947
|
];
|
|
22954
|
-
return
|
|
22955
|
-
}), u = M(() =>
|
|
22956
|
-
switch (
|
|
22948
|
+
return h[0].disabled = !s.value, h;
|
|
22949
|
+
}), u = M(() => {
|
|
22950
|
+
switch (r.value) {
|
|
22957
22951
|
case "code":
|
|
22958
22952
|
return t("plugins.free-form.datakit.description_code");
|
|
22959
22953
|
case "flow":
|
|
@@ -22962,59 +22956,59 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
22962
22956
|
return "";
|
|
22963
22957
|
}
|
|
22964
22958
|
});
|
|
22965
|
-
Te(
|
|
22966
|
-
var
|
|
22967
|
-
(
|
|
22959
|
+
Te(r, () => {
|
|
22960
|
+
var h;
|
|
22961
|
+
(h = n.onValidityChange) == null || h.call(n, {
|
|
22968
22962
|
model: "config",
|
|
22969
22963
|
valid: !0
|
|
22970
22964
|
});
|
|
22971
22965
|
});
|
|
22972
|
-
function
|
|
22973
|
-
var
|
|
22974
|
-
(
|
|
22966
|
+
function c() {
|
|
22967
|
+
var h;
|
|
22968
|
+
(h = n.onValidityChange) == null || h.call(n, {
|
|
22975
22969
|
model: "config",
|
|
22976
22970
|
valid: !0
|
|
22977
22971
|
});
|
|
22978
22972
|
}
|
|
22979
|
-
function
|
|
22980
|
-
|
|
22973
|
+
function d() {
|
|
22974
|
+
c();
|
|
22981
22975
|
}
|
|
22982
|
-
function
|
|
22983
|
-
|
|
22984
|
-
const { success:
|
|
22985
|
-
s.value =
|
|
22976
|
+
function f(h) {
|
|
22977
|
+
c();
|
|
22978
|
+
const { success: v } = dK.safeParse(h);
|
|
22979
|
+
s.value = v;
|
|
22986
22980
|
}
|
|
22987
|
-
function h
|
|
22988
|
-
var
|
|
22989
|
-
s.value = !1, (
|
|
22981
|
+
function m(h) {
|
|
22982
|
+
var v;
|
|
22983
|
+
s.value = !1, (v = n.onValidityChange) == null || v.call(n, {
|
|
22990
22984
|
model: "config",
|
|
22991
22985
|
valid: !1,
|
|
22992
|
-
error:
|
|
22986
|
+
error: h
|
|
22993
22987
|
});
|
|
22994
22988
|
}
|
|
22995
|
-
return (
|
|
22996
|
-
const
|
|
22989
|
+
return (h, v) => {
|
|
22990
|
+
const g = we("KTooltip");
|
|
22997
22991
|
return E(), H(ap, ze(n, { class: "dk-form" }), et({
|
|
22998
|
-
default: F((
|
|
22999
|
-
P(Vt, ze(
|
|
22992
|
+
default: F((y) => [
|
|
22993
|
+
P(Vt, ze(y, { tag: "div" }), {
|
|
23000
22994
|
default: F(() => [
|
|
23001
22995
|
r.value === "flow" ? (E(), H(BL, {
|
|
23002
22996
|
key: 0,
|
|
23003
22997
|
"is-editing": n.isEditing,
|
|
23004
|
-
onChange:
|
|
22998
|
+
onChange: d
|
|
23005
22999
|
}, null, 8, ["is-editing"])) : r.value === "code" ? (E(), H(Ix, {
|
|
23006
23000
|
key: 1,
|
|
23007
23001
|
class: "code-editor",
|
|
23008
23002
|
editing: n.isEditing,
|
|
23009
|
-
onChange:
|
|
23010
|
-
onError:
|
|
23003
|
+
onChange: f,
|
|
23004
|
+
onError: m
|
|
23011
23005
|
}, null, 8, ["editing"])) : Ee("", !0)
|
|
23012
23006
|
]),
|
|
23013
23007
|
_: 2
|
|
23014
23008
|
}, 1040)
|
|
23015
23009
|
]),
|
|
23016
23010
|
"plugin-config-description": F(() => [
|
|
23017
|
-
U("span", { innerHTML:
|
|
23011
|
+
U("span", { innerHTML: u.value }, null, 8, pK)
|
|
23018
23012
|
]),
|
|
23019
23013
|
_: 2
|
|
23020
23014
|
}, [
|
|
@@ -23022,19 +23016,19 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
23022
23016
|
name: "plugin-config-extra",
|
|
23023
23017
|
fn: F(() => [
|
|
23024
23018
|
P(p(Gh), {
|
|
23025
|
-
"model-value":
|
|
23019
|
+
"model-value": r.value,
|
|
23026
23020
|
options: l.value,
|
|
23027
|
-
"onUpdate:modelValue":
|
|
23021
|
+
"onUpdate:modelValue": v[0] || (v[0] = (y) => o.value = y)
|
|
23028
23022
|
}, {
|
|
23029
|
-
"option-label": F(({ option:
|
|
23030
|
-
P(
|
|
23031
|
-
disabled: s.value ||
|
|
23023
|
+
"option-label": F(({ option: y }) => [
|
|
23024
|
+
P(g, {
|
|
23025
|
+
disabled: s.value || y.value !== "flow",
|
|
23032
23026
|
text: p(t)("plugins.free-form.datakit.flow_editor.disabled_tooltip")
|
|
23033
23027
|
}, {
|
|
23034
23028
|
default: F(() => [
|
|
23035
23029
|
U("div", fK, [
|
|
23036
|
-
(E(), H(mt(a[
|
|
23037
|
-
|
|
23030
|
+
(E(), H(mt(a[y.value]))),
|
|
23031
|
+
Le(" " + he(y.label), 1)
|
|
23038
23032
|
])
|
|
23039
23033
|
]),
|
|
23040
23034
|
_: 2
|
|
@@ -23048,7 +23042,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
23048
23042
|
]), 1040);
|
|
23049
23043
|
};
|
|
23050
23044
|
}
|
|
23051
|
-
}), gK = /* @__PURE__ */ Fe(mK, [["__scopeId", "data-v-
|
|
23045
|
+
}), gK = /* @__PURE__ */ Fe(mK, [["__scopeId", "data-v-ef778da1"]]), jd = (e) => {
|
|
23052
23046
|
if (!(!e || typeof e != "object"))
|
|
23053
23047
|
for (const [t, n] of Object.entries(e))
|
|
23054
23048
|
typeof n == "string" && (e[t] = n.split(/\s*,\s*/).filter(Boolean));
|
|
@@ -23548,7 +23542,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
23548
23542
|
}), (ue, de) => {
|
|
23549
23543
|
var ae;
|
|
23550
23544
|
const X = we("KSkeleton");
|
|
23551
|
-
return E(), te(
|
|
23545
|
+
return E(), te(Re, null, [
|
|
23552
23546
|
U("div", wK, [
|
|
23553
23547
|
fe.value ? (E(), H(X, {
|
|
23554
23548
|
key: 0,
|
|
@@ -23991,14 +23985,14 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
23991
23985
|
}), be.elements && be.type === "array") {
|
|
23992
23986
|
const Be = be.elements;
|
|
23993
23987
|
if (K[ye].referenceable = Be.referenceable, K[ye].elements = Be, ["string", "integer", "number"].includes(Be.type) && !Be.one_of) {
|
|
23994
|
-
const { id: $t, help: at, label:
|
|
23995
|
-
Xo.type = Be.type === "string" ? "text" : "number", K[ye] = { id: $t, help: at, label:
|
|
23988
|
+
const { id: $t, help: at, label: De, hint: Ve, values: Xe, referenceable: pn, model: Mt } = K[ye], { inputAttributes: Xo, ...Zg } = JSON.parse(JSON.stringify(Ze));
|
|
23989
|
+
Xo.type = Be.type === "string" ? "text" : "number", K[ye] = { id: $t, help: at, label: De, hint: Ve, values: Xe, referenceable: pn, model: Mt, inputAttributes: Xo, ...Zg };
|
|
23996
23990
|
}
|
|
23997
23991
|
}
|
|
23998
23992
|
if (be.hint && (K[ye].hint = be.hint), $e && !$e.overwriteDefault && Object.keys($e).forEach((Be) => {
|
|
23999
23993
|
if (Be === ye) {
|
|
24000
|
-
const { help: $t, label: at, hint:
|
|
24001
|
-
K[ye] = { help: $t, label: at, hint:
|
|
23994
|
+
const { help: $t, label: at, hint: De, values: Ve, referenceable: Xe, elements: pn } = K[ye], { help: Mt, ...Xo } = $e[Be];
|
|
23995
|
+
K[ye] = { help: $t, label: at, hint: De, values: Ve, referenceable: Xe, elements: pn, ...Xo }, typeof Mt == "string" && (K[ye].help = vr.parse(Mt, { mangle: !1, headerIds: !1 }));
|
|
24002
23996
|
}
|
|
24003
23997
|
}), be.type === "array" && ((Zi = be.elements) == null ? void 0 : Zi.type) === "record" && Array.isArray(be.elements.fields)) {
|
|
24004
23998
|
let Be = {};
|
|
@@ -24007,8 +24001,8 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24007
24001
|
const $t = (eo = (Qi = (Ji = K[ye]) == null ? void 0 : Ji.items) == null ? void 0 : Qi.schema) == null ? void 0 : eo.fields;
|
|
24008
24002
|
if (Array.isArray($t))
|
|
24009
24003
|
for (const at of K[ye].items.schema.fields) {
|
|
24010
|
-
const
|
|
24011
|
-
at.help === void 0 && typeof
|
|
24004
|
+
const De = (to = Be[at.model]) == null ? void 0 : to.description;
|
|
24005
|
+
at.help === void 0 && typeof De == "string" && (at.help = vr.parse(De, { mangle: !1, headerIds: !1 }));
|
|
24012
24006
|
}
|
|
24013
24007
|
if ($t || (K[ye].type = "array", K[ye].newElementButtonLabelClasses = "kong-form-new-element-button-label", K[ye].fieldClasses = "array-card-container-wrapper", K[ye].itemContainerComponent = "FieldArrayCardContainer", K[ye].items = {
|
|
24014
24008
|
type: "object",
|
|
@@ -24017,9 +24011,9 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24017
24011
|
}
|
|
24018
24012
|
}, K[ye].items.schema.fields.forEach(
|
|
24019
24013
|
(at) => {
|
|
24020
|
-
var
|
|
24014
|
+
var De, Ve;
|
|
24021
24015
|
for (const Xe of be.elements.fields) {
|
|
24022
|
-
const pn = Object.keys(Xe)[0], Mt = ((Ve = (
|
|
24016
|
+
const pn = Object.keys(Xe)[0], Mt = ((Ve = (De = at.id) == null ? void 0 : De.split) == null ? void 0 : Ve.call(De, "-")) ?? [];
|
|
24023
24017
|
if (Mt[Mt.length - 1] === pn) {
|
|
24024
24018
|
at.model = pn, at.label = l(pn);
|
|
24025
24019
|
break;
|
|
@@ -24027,21 +24021,21 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24027
24021
|
}
|
|
24028
24022
|
}
|
|
24029
24023
|
), be.elements.type === "record" && (K[ye].nestedFields = !0)), !K[ye].nestedFields)
|
|
24030
|
-
K[ye].items.default = () => be.elements.fields.reduce((at,
|
|
24031
|
-
const Ve = Object.keys(
|
|
24032
|
-
return at[Ve] =
|
|
24024
|
+
K[ye].items.default = () => be.elements.fields.reduce((at, De) => {
|
|
24025
|
+
const Ve = Object.keys(De)[0];
|
|
24026
|
+
return at[Ve] = De[Ve].default, at;
|
|
24033
24027
|
}, {});
|
|
24034
24028
|
else {
|
|
24035
|
-
const at = (
|
|
24036
|
-
if (
|
|
24037
|
-
|
|
24038
|
-
for (const Xe of
|
|
24039
|
-
at(Xe,
|
|
24040
|
-
} else
|
|
24029
|
+
const at = (De, Ve) => {
|
|
24030
|
+
if (De.type === "object") {
|
|
24031
|
+
De.model && (Ve[De.model] = {});
|
|
24032
|
+
for (const Xe of De.schema.fields)
|
|
24033
|
+
at(Xe, De.model ? Ve[De.model] : Ve);
|
|
24034
|
+
} else De.model && (Ve[De.model] = De.default);
|
|
24041
24035
|
};
|
|
24042
24036
|
K[ye].items.default = () => {
|
|
24043
|
-
const
|
|
24044
|
-
return at(K[ye].items,
|
|
24037
|
+
const De = {};
|
|
24038
|
+
return at(K[ye].items, De), De;
|
|
24045
24039
|
};
|
|
24046
24040
|
}
|
|
24047
24041
|
}
|
|
@@ -24067,12 +24061,12 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24067
24061
|
}), K;
|
|
24068
24062
|
}, Z = () => {
|
|
24069
24063
|
var ye, Tt, Wi, Xi, Zi, Ji, Qi, eo, to, Be, $t, at;
|
|
24070
|
-
const D = ((ye = Qt[i.pluginType]) == null ? void 0 : ye.scope.includes(Et.SERVICE)) ?? !0, Q = ((Tt = Qt[i.pluginType]) == null ? void 0 : Tt.scope.includes(Et.ROUTE)) ?? !0, K = ((Wi = Qt[i.pluginType]) == null ? void 0 : Wi.scope.includes(Et.CONSUMER)) ?? !0, Ce = i.config.disableConsumerGroupScope ? !1 : ((Xi = Qt[i.pluginType]) == null ? void 0 : Xi.scope.includes(Et.CONSUMER_GROUP)) ?? !0, ge = i.config.entityType === "consumers" && !!i.config.entityId || !!((Ji = (Zi = _.value) == null ? void 0 : Zi.consumer) != null && Ji.id), $e = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((eo = (Qi = _.value) == null ? void 0 : Qi.consumer_group) != null && eo.id), ke = i.config.entityType === "services" && !!i.config.entityId || !!((Be = (to = _.value) == null ? void 0 : to.service) != null && Be.id), ce = i.config.entityType === "routes" && !!i.config.entityId || !!((at = ($t = _.value) == null ? void 0 : $t.route) != null && at.id), Ne = [], je = (
|
|
24064
|
+
const D = ((ye = Qt[i.pluginType]) == null ? void 0 : ye.scope.includes(Et.SERVICE)) ?? !0, Q = ((Tt = Qt[i.pluginType]) == null ? void 0 : Tt.scope.includes(Et.ROUTE)) ?? !0, K = ((Wi = Qt[i.pluginType]) == null ? void 0 : Wi.scope.includes(Et.CONSUMER)) ?? !0, Ce = i.config.disableConsumerGroupScope ? !1 : ((Xi = Qt[i.pluginType]) == null ? void 0 : Xi.scope.includes(Et.CONSUMER_GROUP)) ?? !0, ge = i.config.entityType === "consumers" && !!i.config.entityId || !!((Ji = (Zi = _.value) == null ? void 0 : Zi.consumer) != null && Ji.id), $e = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((eo = (Qi = _.value) == null ? void 0 : Qi.consumer_group) != null && eo.id), ke = i.config.entityType === "services" && !!i.config.entityId || !!((Be = (to = _.value) == null ? void 0 : to.service) != null && Be.id), ce = i.config.entityType === "routes" && !!i.config.entityId || !!((at = ($t = _.value) == null ? void 0 : $t.route) != null && at.id), Ne = [], je = (De, Ve, Xe) => De ? r("plugins.form.disable_source_scope_change", { scope: Xe }) : Ve ? r("plugins.form.disable_data_retrieving", { scope: Xe }) : "", be = (De) => {
|
|
24071
24065
|
var Ve, Xe;
|
|
24072
|
-
return ((Xe = (Ve = i.scopedEntitiesPermissions) == null ? void 0 : Ve[
|
|
24066
|
+
return ((Xe = (Ve = i.scopedEntitiesPermissions) == null ? void 0 : Ve[De]) == null ? void 0 : Xe.canRetrieve) === !1;
|
|
24073
24067
|
};
|
|
24074
24068
|
if (D) {
|
|
24075
|
-
const
|
|
24069
|
+
const De = be("service"), Ve = "services", Xe = ke && i.disableScopeSelection;
|
|
24076
24070
|
Ne.push({
|
|
24077
24071
|
id: "service-id",
|
|
24078
24072
|
model: "service-id",
|
|
@@ -24085,13 +24079,13 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24085
24079
|
fields: ["name", "id"]
|
|
24086
24080
|
},
|
|
24087
24081
|
help: r("plugins.form.scoping.gateway_service.help"),
|
|
24088
|
-
disabled: Xe ||
|
|
24082
|
+
disabled: Xe || De,
|
|
24089
24083
|
// disable service selection if the plugin is already scoped under service
|
|
24090
|
-
disabledTooltip: je(Xe,
|
|
24084
|
+
disabledTooltip: je(Xe, De, Ve)
|
|
24091
24085
|
});
|
|
24092
24086
|
}
|
|
24093
24087
|
if (Q) {
|
|
24094
|
-
const
|
|
24088
|
+
const De = be("route"), Ve = "routes", Xe = ce && i.disableScopeSelection;
|
|
24095
24089
|
Ne.push({
|
|
24096
24090
|
id: "route-id",
|
|
24097
24091
|
model: "route-id",
|
|
@@ -24106,12 +24100,12 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24106
24100
|
primaryField: "id"
|
|
24107
24101
|
},
|
|
24108
24102
|
help: r("plugins.form.scoping.route.help"),
|
|
24109
|
-
disabled: Xe ||
|
|
24110
|
-
disabledTooltip: je(Xe,
|
|
24103
|
+
disabled: Xe || De,
|
|
24104
|
+
disabledTooltip: je(Xe, De, Ve)
|
|
24111
24105
|
});
|
|
24112
24106
|
}
|
|
24113
24107
|
if (K) {
|
|
24114
|
-
const
|
|
24108
|
+
const De = be("consumer"), Ve = "consumers", Xe = ge && i.disableScopeSelection;
|
|
24115
24109
|
Ne.push({
|
|
24116
24110
|
model: "consumer-id",
|
|
24117
24111
|
label: r("plugins.form.scoping.consumer.label"),
|
|
@@ -24124,12 +24118,12 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24124
24118
|
primaryField: "username"
|
|
24125
24119
|
},
|
|
24126
24120
|
help: r("plugins.form.scoping.consumer.help"),
|
|
24127
|
-
disabled: Xe ||
|
|
24128
|
-
disabledTooltip: je(Xe,
|
|
24121
|
+
disabled: Xe || De,
|
|
24122
|
+
disabledTooltip: je(Xe, De, Ve)
|
|
24129
24123
|
});
|
|
24130
24124
|
}
|
|
24131
24125
|
if (Ce) {
|
|
24132
|
-
const
|
|
24126
|
+
const De = be("consumer_group"), Ve = "consumer_groups", Xe = $e && i.disableScopeSelection;
|
|
24133
24127
|
Ne.push({
|
|
24134
24128
|
model: "consumer_group-id",
|
|
24135
24129
|
label: r("plugins.form.scoping.consumer_group.label"),
|
|
@@ -24143,20 +24137,20 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24143
24137
|
primaryField: "name"
|
|
24144
24138
|
},
|
|
24145
24139
|
help: r("plugins.form.scoping.consumer_group.help"),
|
|
24146
|
-
disabled: Xe ||
|
|
24147
|
-
disabledTooltip: je(Xe,
|
|
24140
|
+
disabled: Xe || De,
|
|
24141
|
+
disabledTooltip: je(Xe, De, Ve)
|
|
24148
24142
|
});
|
|
24149
24143
|
}
|
|
24150
24144
|
if (Ne.length) {
|
|
24151
|
-
const
|
|
24145
|
+
const De = [
|
|
24152
24146
|
...D ? ["service"] : [],
|
|
24153
24147
|
...Q ? ["route"] : [],
|
|
24154
24148
|
...K ? ["consumer"] : [],
|
|
24155
24149
|
...Ce ? ["consumer_group"] : []
|
|
24156
|
-
], Xe =
|
|
24150
|
+
], Xe = De.splice(De.length - 2, 2).map((Mt) => r(Mt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Mt}.plural`)).join(`${De.length > 0 ? "," : ""} and/or `), pn = [
|
|
24157
24151
|
"Specific",
|
|
24158
24152
|
[
|
|
24159
|
-
...
|
|
24153
|
+
...De.length > 0 ? [De.map(
|
|
24160
24154
|
(Mt) => r(Mt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Mt}.plural`)
|
|
24161
24155
|
).join(", ")] : [],
|
|
24162
24156
|
Xe
|
|
@@ -24310,7 +24304,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24310
24304
|
onClick: Q[3] || (Q[3] = (ce) => re())
|
|
24311
24305
|
}, {
|
|
24312
24306
|
default: F(() => [
|
|
24313
|
-
|
|
24307
|
+
Le(he(p(r)("actions.view_configuration")), 1)
|
|
24314
24308
|
]),
|
|
24315
24309
|
_: 1
|
|
24316
24310
|
}, 8, ["data-testid"])),
|
|
@@ -24322,7 +24316,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24322
24316
|
onClick: de
|
|
24323
24317
|
}, {
|
|
24324
24318
|
default: F(() => [
|
|
24325
|
-
|
|
24319
|
+
Le(he(p(r)("actions.cancel")), 1)
|
|
24326
24320
|
]),
|
|
24327
24321
|
_: 1
|
|
24328
24322
|
}, 8, ["data-testid", "disabled"]),
|
|
@@ -24334,7 +24328,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24334
24328
|
onClick: S
|
|
24335
24329
|
}, {
|
|
24336
24330
|
default: F(() => [
|
|
24337
|
-
|
|
24331
|
+
Le(he(p(r)("actions.save")), 1)
|
|
24338
24332
|
]),
|
|
24339
24333
|
_: 1
|
|
24340
24334
|
}, 8, ["data-testid", "disabled"])
|
|
@@ -24725,7 +24719,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24725
24719
|
}, {
|
|
24726
24720
|
default: F(() => [
|
|
24727
24721
|
P(p(cn)),
|
|
24728
|
-
|
|
24722
|
+
Le(" " + he(p(r)("plugins.list.toolbar_actions.new_plugin")), 1)
|
|
24729
24723
|
]),
|
|
24730
24724
|
_: 1
|
|
24731
24725
|
}, 8, ["size", "to"])
|
|
@@ -24751,7 +24745,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24751
24745
|
appliedTo: F(({ row: ce }) => [
|
|
24752
24746
|
Y(ce).length > 0 ? (E(), H(Ce, { key: 0 }, {
|
|
24753
24747
|
default: F(() => [
|
|
24754
|
-
(E(!0), te(
|
|
24748
|
+
(E(!0), te(Re, null, qe(Y(ce), (Ne) => (E(), H(p(Bn), {
|
|
24755
24749
|
key: Ne.badgeText,
|
|
24756
24750
|
"auth-function": () => T(Ne.type, ce),
|
|
24757
24751
|
"force-show": ""
|
|
@@ -24762,7 +24756,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24762
24756
|
onClick: Ft((be) => je && Ne.type && re(Ne.type, ce), ["stop"])
|
|
24763
24757
|
}, {
|
|
24764
24758
|
default: F(() => [
|
|
24765
|
-
|
|
24759
|
+
Le(he(Ne.badgeText), 1)
|
|
24766
24760
|
]),
|
|
24767
24761
|
_: 2
|
|
24768
24762
|
}, 1032, ["class", "onClick"])
|
|
@@ -24802,7 +24796,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24802
24796
|
appearance: p(Wu)(ce) ? "info" : "warning"
|
|
24803
24797
|
}, {
|
|
24804
24798
|
default: F(() => [
|
|
24805
|
-
|
|
24799
|
+
Le(he(p(Wu)(ce) ? p(r)("plugins.list.table_headers.ordering_badge.static") : p(r)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
|
|
24806
24800
|
]),
|
|
24807
24801
|
_: 2
|
|
24808
24802
|
}, 1032, ["appearance"])
|
|
@@ -24818,7 +24812,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24818
24812
|
onClick: (je) => q(ce, Ne)
|
|
24819
24813
|
}, {
|
|
24820
24814
|
default: F(() => [
|
|
24821
|
-
|
|
24815
|
+
Le(he(p(r)("actions.copy_id")), 1)
|
|
24822
24816
|
]),
|
|
24823
24817
|
_: 2
|
|
24824
24818
|
}, 1032, ["onClick"])
|
|
@@ -24832,7 +24826,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24832
24826
|
onClick: (je) => z(ce, Ne)
|
|
24833
24827
|
}, {
|
|
24834
24828
|
default: F(() => [
|
|
24835
|
-
|
|
24829
|
+
Le(he(p(r)("actions.copy_json")), 1)
|
|
24836
24830
|
]),
|
|
24837
24831
|
_: 2
|
|
24838
24832
|
}, 1032, ["onClick"])
|
|
@@ -24886,7 +24880,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24886
24880
|
onClick: (Ne) => X(ce)
|
|
24887
24881
|
}, {
|
|
24888
24882
|
default: F(() => [
|
|
24889
|
-
|
|
24883
|
+
Le(he(p(r)("actions.delete")), 1)
|
|
24890
24884
|
]),
|
|
24891
24885
|
_: 2
|
|
24892
24886
|
}, 1032, ["onClick"])
|
|
@@ -24918,7 +24912,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24918
24912
|
}, {
|
|
24919
24913
|
default: F(() => [
|
|
24920
24914
|
P(p(cn), { decorative: "" }),
|
|
24921
|
-
|
|
24915
|
+
Le(" " + he(p(r)("plugins.list.empty_state_v2.create_cta")), 1)
|
|
24922
24916
|
]),
|
|
24923
24917
|
_: 1
|
|
24924
24918
|
})) : Ee("", !0),
|
|
@@ -24929,7 +24923,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24929
24923
|
}, {
|
|
24930
24924
|
default: F(() => [
|
|
24931
24925
|
P(p(cu), { decorative: "" }),
|
|
24932
|
-
|
|
24926
|
+
Le(" " + he(p(r)("plugins.list.empty_state_v2.learn_more")), 1)
|
|
24933
24927
|
]),
|
|
24934
24928
|
_: 1
|
|
24935
24929
|
})
|
|
@@ -24939,7 +24933,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
24939
24933
|
(ce = e.config) != null && ce.isControlPlaneGroup ? {
|
|
24940
24934
|
name: "default",
|
|
24941
24935
|
fn: F(() => [
|
|
24942
|
-
|
|
24936
|
+
Le(he(p(r)("plugins.list.empty_state_v2.group")), 1)
|
|
24943
24937
|
]),
|
|
24944
24938
|
key: "0"
|
|
24945
24939
|
} : void 0
|
|
@@ -25076,7 +25070,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25076
25070
|
onClick: b[0] || (b[0] = Ft((N) => v(e.plugin.name, e.plugin.customPluginType), ["stop"]))
|
|
25077
25071
|
}, {
|
|
25078
25072
|
default: F(() => [
|
|
25079
|
-
|
|
25073
|
+
Le(he(p(r)("actions.edit")), 1)
|
|
25080
25074
|
]),
|
|
25081
25075
|
_: 1
|
|
25082
25076
|
})) : Ee("", !0),
|
|
@@ -25088,7 +25082,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25088
25082
|
onClick: Ft(h, ["stop"])
|
|
25089
25083
|
}, {
|
|
25090
25084
|
default: F(() => [
|
|
25091
|
-
|
|
25085
|
+
Le(he(p(r)("actions.delete")), 1)
|
|
25092
25086
|
]),
|
|
25093
25087
|
_: 1
|
|
25094
25088
|
})) : Ee("", !0)
|
|
@@ -25215,7 +25209,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25215
25209
|
onClick: g[1] || (g[1] = (_) => v.$emit("closed"))
|
|
25216
25210
|
}, {
|
|
25217
25211
|
default: F(() => [
|
|
25218
|
-
|
|
25212
|
+
Le(he(p(r)("actions.cancel")), 1)
|
|
25219
25213
|
]),
|
|
25220
25214
|
_: 1
|
|
25221
25215
|
})
|
|
@@ -25327,7 +25321,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25327
25321
|
class: "plugin-card-container",
|
|
25328
25322
|
style: At(y.value)
|
|
25329
25323
|
}, [
|
|
25330
|
-
(E(!0), te(
|
|
25324
|
+
(E(!0), te(Re, null, qe(u.value, (B, W) => (E(), H(Xg, {
|
|
25331
25325
|
key: `plugin-card-${W}`,
|
|
25332
25326
|
ref_for: !0,
|
|
25333
25327
|
ref_key: "pluginCardRef",
|
|
@@ -25347,7 +25341,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25347
25341
|
b.value ? void 0 : {
|
|
25348
25342
|
name: "trigger",
|
|
25349
25343
|
fn: F(() => [
|
|
25350
|
-
k[2] || (k[2] =
|
|
25344
|
+
k[2] || (k[2] = Le(" ", -1))
|
|
25351
25345
|
]),
|
|
25352
25346
|
key: "0"
|
|
25353
25347
|
}
|
|
@@ -25442,7 +25436,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25442
25436
|
class: "plugin-card-container",
|
|
25443
25437
|
style: At(d.value)
|
|
25444
25438
|
}, [
|
|
25445
|
-
(E(!0), te(
|
|
25439
|
+
(E(!0), te(Re, null, qe(i.plugins, (b) => (E(), H(Xg, {
|
|
25446
25440
|
key: `plugin-card-${b.id}`,
|
|
25447
25441
|
ref_for: !0,
|
|
25448
25442
|
ref_key: "pluginCardRef",
|
|
@@ -25459,7 +25453,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25459
25453
|
f.value ? void 0 : {
|
|
25460
25454
|
name: "trigger",
|
|
25461
25455
|
fn: F(() => [
|
|
25462
|
-
g[1] || (g[1] =
|
|
25456
|
+
g[1] || (g[1] = Le(" ", -1))
|
|
25463
25457
|
]),
|
|
25464
25458
|
key: "0"
|
|
25465
25459
|
}
|
|
@@ -25548,7 +25542,7 @@ const Kd = iu.options, iK = _e.string().min(1).refine((e) => !e.includes("."), "
|
|
|
25548
25542
|
plugins: n.highlightedPlugins,
|
|
25549
25543
|
onPluginClicked: c[1] || (c[1] = (f) => s(f))
|
|
25550
25544
|
}, null, 8, ["modelValue", "config", "name", "navigate-on-click", "plugins"])) : Ee("", !0),
|
|
25551
|
-
(E(!0), te(
|
|
25545
|
+
(E(!0), te(Re, null, qe(p(cv), (f) => (E(), te(Re, null, [
|
|
25552
25546
|
l.value[f] ? (E(), te("div", { key: f }, [
|
|
25553
25547
|
P(qd, {
|
|
25554
25548
|
modelValue: a.value[f],
|