@kong-ui-public/entities-plugins 9.224.7 → 9.225.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 +7590 -7590
- package/dist/entities-plugins.umd.js +107 -107
- package/dist/freeform/index.js +109 -108
- package/dist/style.css +1 -1
- package/dist/types/components/PluginEntityForm.vue.d.ts.map +1 -1
- package/dist/types/components/fields/kong-identity/ConfigFormContent.vue.d.ts.map +1 -1
- package/dist/types/components/fields/kong-identity/ConfigFormWithIdentity.vue.d.ts.map +1 -1
- package/dist/types/components/fields/kong-identity/PrincipalsCreationGuide.vue.d.ts +2 -0
- package/dist/types/components/fields/kong-identity/PrincipalsCreationGuide.vue.d.ts.map +1 -1
- package/dist/types/types/plugin-form.d.ts +34 -5
- package/dist/types/types/plugin-form.d.ts.map +1 -1
- package/package.json +10 -10
package/dist/freeform/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { toValue as R, computed as C, ref as le, readonly as vt, watch as ne, onBeforeUnmount as bt, reactive as et, toRef as E, useSlots as we, provide as qe, inject as ke, defineComponent as N, useAttrs as ye, openBlock as w, createBlock as q, unref as r, mergeProps as W, createSlots as X, renderList as se, withCtx as
|
|
1
|
+
import { toValue as R, computed as C, ref as le, readonly as vt, watch as ne, onBeforeUnmount as bt, reactive as et, toRef as E, useSlots as we, provide as qe, inject as ke, defineComponent as N, useAttrs as ye, openBlock as w, createBlock as q, unref as r, mergeProps as W, createSlots as X, renderList as se, withCtx as M, renderSlot as D, normalizeProps as Ue, guardReactiveProps as tt, createPropsRestProxy as ue, resolveComponent as F, withDirectives as Y, createElementBlock as j, createVNode as K, createElementVNode as U, resolveDynamicComponent as re, createCommentVNode as z, Fragment as te, vShow as Q, useCssVars as _t, useTemplateRef as at, normalizeClass as Pe, createTextVNode as me, toDisplayString as de, withModifiers as Ie, nextTick as Re, Transition as At, useId as wt, useModel as Ve, onBeforeMount as kt, mergeModels as je, withKeys as We, toRaw as St } from "vue";
|
|
2
2
|
import { marked as Tt } from "marked";
|
|
3
3
|
import Ct from "dompurify";
|
|
4
4
|
import { get as Ne, isEqual as he, omit as Pt, cloneDeep as Je, set as nt, isFunction as Ge, uniqueId as It, upperFirst as qt } from "lodash-es";
|
|
5
5
|
import { createInjectionState as Lt } from "@vueuse/core";
|
|
6
6
|
import { AUTOFILL_SLOT as it } from "@kong-ui-public/forms";
|
|
7
7
|
import { createI18n as ot, i18nTComponent as rt } from "@kong-ui-public/i18n";
|
|
8
|
-
import { KTextArea as
|
|
8
|
+
import { KTextArea as Mt, KInput as $t, KCheckbox as xt, KCard as Ee, KLabel as Kt, KMultiselect as Rt, KSelect as Vt, KInputSwitch as jt } from "@kong/kongponents";
|
|
9
9
|
import { AddIcon as Oe, CloseIcon as st, TrashIcon as Et, ChevronRightIcon as Ot } from "@kong/icons";
|
|
10
10
|
import { KUI_ICON_SIZE_30 as Dt } from "@kong/design-tokens";
|
|
11
11
|
function Ft(e) {
|
|
12
12
|
return e.map((c) => ({ value: c, label: `${c}` }));
|
|
13
13
|
}
|
|
14
14
|
const ze = "*", He = "#", pe = "$", Le = ".";
|
|
15
|
-
function
|
|
15
|
+
function $(...e) {
|
|
16
16
|
return e.join(Le);
|
|
17
17
|
}
|
|
18
18
|
function De(...e) {
|
|
19
|
-
return
|
|
19
|
+
return $(pe, ...e);
|
|
20
20
|
}
|
|
21
21
|
function Xe(e) {
|
|
22
|
-
return e.startsWith(
|
|
22
|
+
return e.startsWith($(pe, ""));
|
|
23
23
|
}
|
|
24
24
|
function ae(e) {
|
|
25
25
|
return e.split(Le).filter((c) => c !== "");
|
|
@@ -29,7 +29,7 @@ function fe(e) {
|
|
|
29
29
|
return c[c.length - 1];
|
|
30
30
|
}
|
|
31
31
|
function Bt(e) {
|
|
32
|
-
return e.startsWith(pe) && (e =
|
|
32
|
+
return e.startsWith(pe) && (e = $(...ae(e).slice(1))), e;
|
|
33
33
|
}
|
|
34
34
|
function Ut(e) {
|
|
35
35
|
const c = R(e);
|
|
@@ -98,7 +98,7 @@ function Nt(e) {
|
|
|
98
98
|
let t = { parent: null };
|
|
99
99
|
for (c.pop(); c.length; ) {
|
|
100
100
|
const o = c.shift();
|
|
101
|
-
t.path = (n = t.parent) != null && n.path ?
|
|
101
|
+
t.path = (n = t.parent) != null && n.path ? $(t.parent.path, o) : o, t = { parent: t };
|
|
102
102
|
}
|
|
103
103
|
return t;
|
|
104
104
|
}
|
|
@@ -113,53 +113,53 @@ const Ye = Symbol("free-form-field-path"), Fe = Symbol("free-form-field-renderer
|
|
|
113
113
|
};
|
|
114
114
|
function Ht(e, c = "") {
|
|
115
115
|
const t = {}, n = e;
|
|
116
|
-
return Array.isArray(n.fields) ? Object.assign(t,
|
|
116
|
+
return Array.isArray(n.fields) ? Object.assign(t, Me(n, c)) : e.type === "array" && e.elements ? Object.assign(t, $e(e, c)) : e.type === "map" && e.values && Object.assign(t, xe(e, c)), t;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Me(e, c = "") {
|
|
119
119
|
const t = {};
|
|
120
120
|
if (Array.isArray(e.fields))
|
|
121
121
|
for (const n of e.fields) {
|
|
122
|
-
const o = Object.keys(n)[0], a = n[o], p = c ?
|
|
122
|
+
const o = Object.keys(n)[0], a = n[o], p = c ? $(c, o) : o;
|
|
123
123
|
if (t[p] = a, a.type === "record" && Array.isArray(a.fields)) {
|
|
124
|
-
const d =
|
|
124
|
+
const d = Me(a, p);
|
|
125
125
|
Object.assign(t, d);
|
|
126
126
|
} else if (a.type === "array" && a.elements) {
|
|
127
|
-
const d =
|
|
127
|
+
const d = $e(a, p);
|
|
128
128
|
Object.assign(t, d);
|
|
129
129
|
} else if (a.type === "map" && a.values) {
|
|
130
|
-
const d =
|
|
130
|
+
const d = xe(a, p);
|
|
131
131
|
Object.assign(t, d);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
return t;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function $e(e, c = "") {
|
|
137
137
|
const t = {};
|
|
138
138
|
if (e.elements) {
|
|
139
|
-
const n = e.elements, o =
|
|
139
|
+
const n = e.elements, o = $(c, ze);
|
|
140
140
|
if (t[o] = n, n.type === "record" && Array.isArray(n.fields)) {
|
|
141
|
-
const a =
|
|
141
|
+
const a = Me(n, o);
|
|
142
142
|
Object.assign(t, a);
|
|
143
143
|
} else if (n.type === "array" && n.elements) {
|
|
144
|
-
const a =
|
|
144
|
+
const a = $e(n, o);
|
|
145
145
|
Object.assign(t, a);
|
|
146
146
|
} else if (n.type === "map" && n.values) {
|
|
147
|
-
const a =
|
|
147
|
+
const a = xe(n, o);
|
|
148
148
|
Object.assign(t, a);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
return t;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
const t = {}, n =
|
|
153
|
+
function xe(e, c = "") {
|
|
154
|
+
const t = {}, n = $(c, He);
|
|
155
155
|
if (t[n] = e.values, e.values.type === "record" && Array.isArray(e.values.fields)) {
|
|
156
|
-
const o =
|
|
156
|
+
const o = Me(e.values, n);
|
|
157
157
|
Object.assign(t, o);
|
|
158
158
|
} else if ((e.values.type === "array" || e.values.type === "set") && e.values.elements) {
|
|
159
|
-
const o =
|
|
159
|
+
const o = $e(e.values, n);
|
|
160
160
|
Object.assign(t, o);
|
|
161
161
|
} else if (e.values.type === "map" && e.values.values) {
|
|
162
|
-
const o =
|
|
162
|
+
const o = xe(e.values, n);
|
|
163
163
|
Object.assign(t, o);
|
|
164
164
|
}
|
|
165
165
|
return t;
|
|
@@ -167,10 +167,10 @@ function $e(e, c = "") {
|
|
|
167
167
|
function Ae(e, c) {
|
|
168
168
|
const t = ae(e), n = [];
|
|
169
169
|
for (let o = 0; o < t.length; o++) {
|
|
170
|
-
const a = t[o], p = n.length > 0 ?
|
|
170
|
+
const a = t[o], p = n.length > 0 ? $(...n) : "", d = p ? c[p] : void 0;
|
|
171
171
|
(d == null ? void 0 : d.type) === "map" ? n.push(He) : (d == null ? void 0 : d.type) === "array" ? n.push(ze) : n.push(a);
|
|
172
172
|
}
|
|
173
|
-
return
|
|
173
|
+
return $(...n);
|
|
174
174
|
}
|
|
175
175
|
function Wt(e) {
|
|
176
176
|
const c = R(e), t = C(() => c ? Ht(c) : {});
|
|
@@ -326,8 +326,8 @@ ${L}`
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
function d(m, b) {
|
|
329
|
-
const y = m.map((A) => b ?
|
|
330
|
-
return v.pop(),
|
|
329
|
+
const y = m.map((A) => b ? $(b, A) : A), v = ae(y[0]);
|
|
330
|
+
return v.pop(), $(...v);
|
|
331
331
|
}
|
|
332
332
|
function f(m, b) {
|
|
333
333
|
if (!b) return m;
|
|
@@ -336,7 +336,7 @@ ${L}`
|
|
|
336
336
|
}
|
|
337
337
|
function i(m) {
|
|
338
338
|
const b = ae(m);
|
|
339
|
-
return b.pop(),
|
|
339
|
+
return b.pop(), $(...b);
|
|
340
340
|
}
|
|
341
341
|
const h = C(() => {
|
|
342
342
|
const m = {};
|
|
@@ -348,7 +348,7 @@ ${L}`
|
|
|
348
348
|
throw new Error(
|
|
349
349
|
`Bundle must contain at least 2 fields. Found ${A.length} field(s) in bundle: [${A.join(", ")}]`
|
|
350
350
|
);
|
|
351
|
-
const I = A.map((S) => v ?
|
|
351
|
+
const I = A.map((S) => v ? $(v, S) : S);
|
|
352
352
|
o(I, `Bundle [${A.join(", ")}]`);
|
|
353
353
|
const _ = d(A, v) || pe;
|
|
354
354
|
m[_] || (m[_] = {}), m[_].bundles || (m[_].bundles = []);
|
|
@@ -357,7 +357,7 @@ ${L}`
|
|
|
357
357
|
}
|
|
358
358
|
if (y.dependencies)
|
|
359
359
|
for (const [A, [I, _]] of Object.entries(y.dependencies)) {
|
|
360
|
-
const k = v ?
|
|
360
|
+
const k = v ? $(v, A) : A, S = v ? $(v, I) : I;
|
|
361
361
|
o(
|
|
362
362
|
[k, S],
|
|
363
363
|
`Dependency '${A}' -> '${I}'`
|
|
@@ -416,12 +416,12 @@ ${L}`
|
|
|
416
416
|
([_, k, S, L]) => {
|
|
417
417
|
!k || !_ || Object.entries(k).forEach(([V, [B, P]]) => {
|
|
418
418
|
if (L != null && L.includes(V)) return;
|
|
419
|
-
const T = Ne(_, B),
|
|
419
|
+
const T = Ne(_, B), x = S ? Bt($(S, V)) : V;
|
|
420
420
|
if (typeof P == "object" && P !== null && Be in P ? he(T, P[Be]) : Array.isArray(P) ? P.some((J) => he(T, J)) : he(T, P)) {
|
|
421
|
-
n.value.delete(
|
|
421
|
+
n.value.delete(x), e();
|
|
422
422
|
return;
|
|
423
423
|
}
|
|
424
|
-
n.value.add(
|
|
424
|
+
n.value.add(x), e();
|
|
425
425
|
});
|
|
426
426
|
},
|
|
427
427
|
{ deep: !0, immediate: !0 }
|
|
@@ -484,20 +484,20 @@ function Qt(e, c, t) {
|
|
|
484
484
|
return o;
|
|
485
485
|
if (Array.isArray(o))
|
|
486
486
|
return o.map((f, i) => {
|
|
487
|
-
const h = a ?
|
|
487
|
+
const h = a ? $(a, `${i}`) : `${i}`;
|
|
488
488
|
return n(f, h);
|
|
489
489
|
});
|
|
490
490
|
const p = a ? c(a) : c();
|
|
491
491
|
if ((p == null ? void 0 : p.type) === "map") {
|
|
492
492
|
const f = o, i = {};
|
|
493
493
|
return Object.keys(f).forEach((h) => {
|
|
494
|
-
const g = t(h), l = f[h], s = a ?
|
|
494
|
+
const g = t(h), l = f[h], s = a ? $(a, h) : h;
|
|
495
495
|
i[g] = n(l, s);
|
|
496
496
|
}), i;
|
|
497
497
|
}
|
|
498
498
|
const d = {};
|
|
499
499
|
return Object.keys(o).forEach((f) => {
|
|
500
|
-
const i = a ?
|
|
500
|
+
const i = a ? $(a, f) : f;
|
|
501
501
|
d[f] = n(o[f], i);
|
|
502
502
|
}), d;
|
|
503
503
|
};
|
|
@@ -509,7 +509,7 @@ function Zt(e, c, t) {
|
|
|
509
509
|
return o;
|
|
510
510
|
if (Array.isArray(o))
|
|
511
511
|
return o.map((f, i) => {
|
|
512
|
-
const h = a ?
|
|
512
|
+
const h = a ? $(a, `${i}`) : `${i}`;
|
|
513
513
|
return n(f, h);
|
|
514
514
|
});
|
|
515
515
|
const p = a ? c(a) : c();
|
|
@@ -521,13 +521,13 @@ function Zt(e, c, t) {
|
|
|
521
521
|
console.error(`[FreeForm] Missing name for key ID: ${String(g)}`);
|
|
522
522
|
return;
|
|
523
523
|
}
|
|
524
|
-
const u = s || He, m = a ?
|
|
524
|
+
const u = s || He, m = a ? $(a, u) : u;
|
|
525
525
|
i[s] = n(l, m);
|
|
526
526
|
}), i;
|
|
527
527
|
}
|
|
528
528
|
const d = {};
|
|
529
529
|
return Object.keys(o).forEach((f) => {
|
|
530
|
-
const i = a ?
|
|
530
|
+
const i = a ? $(a, f) : f;
|
|
531
531
|
d[f] = n(o[f], i);
|
|
532
532
|
}), d;
|
|
533
533
|
};
|
|
@@ -561,25 +561,25 @@ const [ta, aa] = Lt(
|
|
|
561
561
|
parentValue: l
|
|
562
562
|
});
|
|
563
563
|
function I(T) {
|
|
564
|
-
Object.keys(l).forEach((
|
|
565
|
-
delete l[
|
|
564
|
+
Object.keys(l).forEach((x) => {
|
|
565
|
+
delete l[x];
|
|
566
566
|
}), h.clear(), Object.assign(l, h.serialize(T));
|
|
567
567
|
}
|
|
568
568
|
function _(T) {
|
|
569
|
-
let
|
|
570
|
-
!T || !k(R(T)) ?
|
|
569
|
+
let x;
|
|
570
|
+
!T || !k(R(T)) ? x = d() : x = Je(R(T)), Ge(s.value.prepareFormData) ? I(s.value.prepareFormData(x)) : I(x);
|
|
571
571
|
}
|
|
572
572
|
function k(T) {
|
|
573
573
|
return Ge(s.value.hasValue) ? s.value.hasValue(T) : !!T;
|
|
574
574
|
}
|
|
575
575
|
function S() {
|
|
576
|
-
const T = R(l),
|
|
576
|
+
const T = R(l), x = Je(T);
|
|
577
577
|
if (y.value.size > 0)
|
|
578
578
|
for (const ee of y.value) {
|
|
579
579
|
const H = ae(ee), J = H.slice(0, -1);
|
|
580
|
-
(J.length === 0 || Ne(
|
|
580
|
+
(J.length === 0 || Ne(x, J) != null) && nt(x, H, f(ee));
|
|
581
581
|
}
|
|
582
|
-
return h.deserialize(
|
|
582
|
+
return h.deserialize(x);
|
|
583
583
|
}
|
|
584
584
|
ne(l, () => {
|
|
585
585
|
o == null || o(S());
|
|
@@ -628,13 +628,13 @@ const dt = (e) => {
|
|
|
628
628
|
const c = ke(Ye, C(() => "")), t = C(() => {
|
|
629
629
|
const n = R(e);
|
|
630
630
|
let o = n;
|
|
631
|
-
return !Xe(n) && c.value && (o =
|
|
631
|
+
return !Xe(n) && c.value && (o = $(c.value, n)), Xe(n) && (o = o.slice(De("").length)), o;
|
|
632
632
|
});
|
|
633
633
|
return qe(Ye, t), t;
|
|
634
634
|
}, na = (e) => {
|
|
635
635
|
const { getSchema: c, getSchemaMap: t, fieldRendererRegistry: n } = ie(), { default: o, ...a } = we(), p = ke(Fe), d = C(() => {
|
|
636
636
|
const f = R(p), i = t(), h = Object.keys(a).filter((g) => g !== Se && g !== "item").reduce((g, l) => {
|
|
637
|
-
const s = Ae(
|
|
637
|
+
const s = Ae($(R(e), l), i);
|
|
638
638
|
return { ...g, [s]: a[l] };
|
|
639
639
|
}, {});
|
|
640
640
|
return f ? { ...f, ...h } : h;
|
|
@@ -743,13 +743,13 @@ function sa(e, c) {
|
|
|
743
743
|
const t = ke(Qe, {
|
|
744
744
|
parentPath: null,
|
|
745
745
|
isolate: !1
|
|
746
|
-
}), { parentPath: n, isolate: o } = R(t), a = le(n ?
|
|
746
|
+
}), { parentPath: n, isolate: o } = R(t), a = le(n ? $(n, e) : e), p = le({
|
|
747
747
|
parentPath: a.value,
|
|
748
748
|
isolate: o
|
|
749
749
|
});
|
|
750
750
|
return ne([E(c), E(t)], ([d, f]) => {
|
|
751
751
|
var l;
|
|
752
|
-
const { parentPath: i, isolate: h } = f, g = i ?
|
|
752
|
+
const { parentPath: i, isolate: h } = f, g = i ? $(i, e) : e;
|
|
753
753
|
if (d) {
|
|
754
754
|
const s = {
|
|
755
755
|
isolate: () => {
|
|
@@ -813,7 +813,7 @@ function ua(e, c) {
|
|
|
813
813
|
}
|
|
814
814
|
function i() {
|
|
815
815
|
if (!t) return;
|
|
816
|
-
const u = a.createKey(), m = o(
|
|
816
|
+
const u = a.createKey(), m = o($(n.path.value, u));
|
|
817
817
|
return t.value = {
|
|
818
818
|
...t.value,
|
|
819
819
|
[u]: m
|
|
@@ -896,7 +896,7 @@ const be = /* @__PURE__ */ N({
|
|
|
896
896
|
},
|
|
897
897
|
emits: ["update:modelValue"],
|
|
898
898
|
setup(e, { emit: c }) {
|
|
899
|
-
const t = e, n = ye(), o = c, a = C(() => t.multiline ?
|
|
899
|
+
const t = e, n = ye(), o = c, a = C(() => t.multiline ? Mt : $t), p = C(() => n.characterLimit ?? (t.multiline ? !1 : void 0)), d = le(t.modelValue);
|
|
900
900
|
ne(() => t.modelValue, (g) => {
|
|
901
901
|
d.value = g;
|
|
902
902
|
});
|
|
@@ -914,7 +914,7 @@ const be = /* @__PURE__ */ N({
|
|
|
914
914
|
}), X({ _: 2 }, [
|
|
915
915
|
se(we(), (s, u) => ({
|
|
916
916
|
name: u,
|
|
917
|
-
fn:
|
|
917
|
+
fn: M((m) => [
|
|
918
918
|
D(g.$slots, u, Ue(tt(m)))
|
|
919
919
|
])
|
|
920
920
|
}))
|
|
@@ -985,7 +985,7 @@ const be = /* @__PURE__ */ N({
|
|
|
985
985
|
}), X({ _: 2 }, [
|
|
986
986
|
(I = r(i).labelAttributes) != null && I.info ? {
|
|
987
987
|
name: "label-tooltip",
|
|
988
|
-
fn:
|
|
988
|
+
fn: M(() => [
|
|
989
989
|
D(y.$slots, "tooltip", {}, () => [
|
|
990
990
|
U("div", {
|
|
991
991
|
innerHTML: r(i).labelAttributes.info
|
|
@@ -996,14 +996,14 @@ const be = /* @__PURE__ */ N({
|
|
|
996
996
|
} : void 0,
|
|
997
997
|
!(e.multiline && e.error) && y.$slots.help ? {
|
|
998
998
|
name: "help",
|
|
999
|
-
fn:
|
|
999
|
+
fn: M(() => [
|
|
1000
1000
|
D(y.$slots, "help", {}, void 0, !0)
|
|
1001
1001
|
]),
|
|
1002
1002
|
key: "1"
|
|
1003
1003
|
} : void 0,
|
|
1004
1004
|
!e.multiline && e.inlineVaultPicker ? {
|
|
1005
1005
|
name: "after",
|
|
1006
|
-
fn:
|
|
1006
|
+
fn: M(() => [
|
|
1007
1007
|
r(s) && u.value ? (w(), q(re(r(s)), {
|
|
1008
1008
|
key: 0,
|
|
1009
1009
|
schema: m.value,
|
|
@@ -1065,7 +1065,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1065
1065
|
key: 0,
|
|
1066
1066
|
appearance: "danger",
|
|
1067
1067
|
message: p.error.message
|
|
1068
|
-
}, null, 8, ["message"])) : Y((w(), q(r(
|
|
1068
|
+
}, null, 8, ["message"])) : Y((w(), q(r(xt), W({ key: 1 }, { ...r(i), ...h.$attrs }, {
|
|
1069
1069
|
class: "ff-boolean-field",
|
|
1070
1070
|
"data-autofocus": e.autofocus ? "true" : void 0,
|
|
1071
1071
|
"data-testid": `ff-${p.path.value}`,
|
|
@@ -1074,7 +1074,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1074
1074
|
}), X({ _: 2 }, [
|
|
1075
1075
|
(s = r(i).labelAttributes) != null && s.info ? {
|
|
1076
1076
|
name: "tooltip",
|
|
1077
|
-
fn:
|
|
1077
|
+
fn: M(() => [
|
|
1078
1078
|
D(h.$slots, "tooltip", {}, () => [
|
|
1079
1079
|
U("div", {
|
|
1080
1080
|
innerHTML: r(i).labelAttributes.info
|
|
@@ -1139,7 +1139,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1139
1139
|
}), X({ _: 2 }, [
|
|
1140
1140
|
(v = r(f).labelAttributes) != null && v.info ? {
|
|
1141
1141
|
name: "label-tooltip",
|
|
1142
|
-
fn:
|
|
1142
|
+
fn: M(() => [
|
|
1143
1143
|
D(m.$slots, "tooltip", {}, () => [
|
|
1144
1144
|
U("div", {
|
|
1145
1145
|
innerHTML: r(f).labelAttributes.info
|
|
@@ -1191,7 +1191,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1191
1191
|
title: ""
|
|
1192
1192
|
}))), A = le((B = v.value[0]) == null ? void 0 : B.hash), I = async () => {
|
|
1193
1193
|
var T;
|
|
1194
|
-
const P = a(
|
|
1194
|
+
const P = a($(i.path.value, ze));
|
|
1195
1195
|
Array.isArray(d.value) || (d.value = []), d.value.push(P), n("add"), t.appearance === "tabs" && (await Re(), A.value = (T = v.value[v.value.length - 1]) == null ? void 0 : T.hash), await Re(), S(s.value.length + 1);
|
|
1196
1196
|
}, _ = async (P) => {
|
|
1197
1197
|
var T;
|
|
@@ -1200,10 +1200,10 @@ const be = /* @__PURE__ */ N({
|
|
|
1200
1200
|
function S(P) {
|
|
1201
1201
|
if (!k.value)
|
|
1202
1202
|
return;
|
|
1203
|
-
const T = Math.max(0, Math.min(P, s.value.length - 1)),
|
|
1204
|
-
if (
|
|
1203
|
+
const T = Math.max(0, Math.min(P, s.value.length - 1)), x = k.value.querySelector(`[data-index="${T}"]`);
|
|
1204
|
+
if (!x)
|
|
1205
1205
|
return;
|
|
1206
|
-
const ee = L(
|
|
1206
|
+
const ee = L(x);
|
|
1207
1207
|
ee == null || ee.focus();
|
|
1208
1208
|
}
|
|
1209
1209
|
function L(P) {
|
|
@@ -1216,8 +1216,8 @@ const be = /* @__PURE__ */ N({
|
|
|
1216
1216
|
});
|
|
1217
1217
|
return (P, T) => {
|
|
1218
1218
|
var Te;
|
|
1219
|
-
const
|
|
1220
|
-
return i.error ? (w(), q(
|
|
1219
|
+
const x = F("KAlert"), ee = F("KLabel"), H = F("KButton"), J = F("KTooltip"), _e = F("KTabs");
|
|
1220
|
+
return i.error ? (w(), q(x, {
|
|
1221
1221
|
key: 0,
|
|
1222
1222
|
appearance: "danger",
|
|
1223
1223
|
message: i.error.message
|
|
@@ -1241,14 +1241,14 @@ const be = /* @__PURE__ */ N({
|
|
|
1241
1241
|
"data-testid": `ff-label-${i.path.value}`,
|
|
1242
1242
|
"tooltip-attributes": r(h).labelAttributes.tooltipAttributes
|
|
1243
1243
|
}), X({
|
|
1244
|
-
default:
|
|
1244
|
+
default: M(() => [
|
|
1245
1245
|
me(de(r(h).label) + " ", 1)
|
|
1246
1246
|
]),
|
|
1247
1247
|
_: 2
|
|
1248
1248
|
}, [
|
|
1249
1249
|
(Te = r(h).labelAttributes) != null && Te.info ? {
|
|
1250
1250
|
name: "tooltip",
|
|
1251
|
-
fn:
|
|
1251
|
+
fn: M(() => [
|
|
1252
1252
|
D(P.$slots, "tooltip", {}, () => [
|
|
1253
1253
|
U("div", {
|
|
1254
1254
|
innerHTML: r(h).labelAttributes.info
|
|
@@ -1266,7 +1266,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1266
1266
|
icon: "",
|
|
1267
1267
|
onClick: I
|
|
1268
1268
|
}, {
|
|
1269
|
-
default:
|
|
1269
|
+
default: M(() => [
|
|
1270
1270
|
K(r(Oe))
|
|
1271
1271
|
]),
|
|
1272
1272
|
_: 1
|
|
@@ -1283,7 +1283,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1283
1283
|
"data-index": O,
|
|
1284
1284
|
"data-testid": `ff-array-item-${i.path.value}.${O}`
|
|
1285
1285
|
}, {
|
|
1286
|
-
default:
|
|
1286
|
+
default: M(() => [
|
|
1287
1287
|
U("div", Ta, [
|
|
1288
1288
|
P.$slots.item ? D(P.$slots, "item", {
|
|
1289
1289
|
key: 0,
|
|
@@ -1305,7 +1305,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1305
1305
|
class: "ff-array-field-item-remove-tooltip",
|
|
1306
1306
|
text: r(o)("actions.remove_entity", { entity: l.value })
|
|
1307
1307
|
}, {
|
|
1308
|
-
default:
|
|
1308
|
+
default: M(() => [
|
|
1309
1309
|
K(H, {
|
|
1310
1310
|
appearance: "tertiary",
|
|
1311
1311
|
"aria-label": r(o)("actions.remove_entity", { entity: l.value }),
|
|
@@ -1314,7 +1314,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1314
1314
|
icon: "",
|
|
1315
1315
|
onClick: Ie((yt) => _(O), ["stop"])
|
|
1316
1316
|
}, {
|
|
1317
|
-
default:
|
|
1317
|
+
default: M(() => [
|
|
1318
1318
|
K(r(st))
|
|
1319
1319
|
]),
|
|
1320
1320
|
_: 1
|
|
@@ -1333,7 +1333,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1333
1333
|
"data-testid": `ff-add-item-btn-${i.path.value}`,
|
|
1334
1334
|
onClick: I
|
|
1335
1335
|
}, {
|
|
1336
|
-
default:
|
|
1336
|
+
default: M(() => [
|
|
1337
1337
|
K(r(Oe)),
|
|
1338
1338
|
me(" " + de(r(o)("actions.add_entity", { entity: l.value })), 1)
|
|
1339
1339
|
]),
|
|
@@ -1343,7 +1343,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1343
1343
|
key: 2,
|
|
1344
1344
|
"data-testid": `ff-array-tab-container-${i.path.value}`
|
|
1345
1345
|
}, {
|
|
1346
|
-
default:
|
|
1346
|
+
default: M(() => [
|
|
1347
1347
|
K(_e, {
|
|
1348
1348
|
modelValue: A.value,
|
|
1349
1349
|
"onUpdate:modelValue": T[0] || (T[0] = (ce) => A.value = ce),
|
|
@@ -1352,7 +1352,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1352
1352
|
}, X({ _: 2 }, [
|
|
1353
1353
|
se(s.value, (ce, O) => ({
|
|
1354
1354
|
name: r(u)(ce, O),
|
|
1355
|
-
fn:
|
|
1355
|
+
fn: M(() => [
|
|
1356
1356
|
U("div", {
|
|
1357
1357
|
class: "ff-array-field-item",
|
|
1358
1358
|
"data-index": O,
|
|
@@ -1373,7 +1373,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1373
1373
|
})),
|
|
1374
1374
|
se(s.value, (ce, O) => ({
|
|
1375
1375
|
name: `${r(u)(ce, O)}-anchor`,
|
|
1376
|
-
fn:
|
|
1376
|
+
fn: M(() => [
|
|
1377
1377
|
me(de(y(ce, O)) + " ", 1),
|
|
1378
1378
|
K(H, {
|
|
1379
1379
|
appearance: "tertiary",
|
|
@@ -1383,7 +1383,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1383
1383
|
icon: "",
|
|
1384
1384
|
onClick: Ie((yt) => _(O), ["stop"])
|
|
1385
1385
|
}, {
|
|
1386
|
-
default:
|
|
1386
|
+
default: M(() => [
|
|
1387
1387
|
K(r(Et))
|
|
1388
1388
|
]),
|
|
1389
1389
|
_: 1
|
|
@@ -1465,13 +1465,13 @@ const be = /* @__PURE__ */ N({
|
|
|
1465
1465
|
onEnter: d,
|
|
1466
1466
|
onLeave: h
|
|
1467
1467
|
}, {
|
|
1468
|
-
default:
|
|
1468
|
+
default: M(() => [
|
|
1469
1469
|
D(l.$slots, "default", {}, void 0, !0)
|
|
1470
1470
|
]),
|
|
1471
1471
|
_: 3
|
|
1472
1472
|
}));
|
|
1473
1473
|
}
|
|
1474
|
-
}), La = /* @__PURE__ */ G(qa, [["__scopeId", "data-v-4969409d"]]),
|
|
1474
|
+
}), La = /* @__PURE__ */ G(qa, [["__scopeId", "data-v-4969409d"]]), Ma = { class: "ff-entity-checks-list" }, $a = /* @__PURE__ */ N({
|
|
1475
1475
|
__name: "EntityChecksAlert",
|
|
1476
1476
|
props: {
|
|
1477
1477
|
entityChecks: {},
|
|
@@ -1512,8 +1512,8 @@ const be = /* @__PURE__ */ N({
|
|
|
1512
1512
|
key: 0,
|
|
1513
1513
|
"data-testid": "ff-entity-checks-alert"
|
|
1514
1514
|
}, {
|
|
1515
|
-
default:
|
|
1516
|
-
U("ul",
|
|
1515
|
+
default: M(() => [
|
|
1516
|
+
U("ul", Ma, [
|
|
1517
1517
|
(w(!0), j(te, null, se(t.value, (f) => (w(), j("li", {
|
|
1518
1518
|
key: f,
|
|
1519
1519
|
"data-testid": "ff-entity-check-item"
|
|
@@ -1524,7 +1524,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1524
1524
|
})) : z("", !0);
|
|
1525
1525
|
};
|
|
1526
1526
|
}
|
|
1527
|
-
}), Ze = /* @__PURE__ */ G(
|
|
1527
|
+
}), Ze = /* @__PURE__ */ G($a, [["__scopeId", "data-v-374c59bc"]]), xa = ["data-testid"], Ka = ["data-testid"], Ra = ["data-testid"], Va = { class: "ff-object-field-header-toggle" }, ja = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"], Ea = ["innerHTML"], Oa = ["data-testid"], Da = {
|
|
1528
1528
|
key: 0,
|
|
1529
1529
|
class: "indent-guide"
|
|
1530
1530
|
}, Fa = /* @__PURE__ */ N({
|
|
@@ -1623,7 +1623,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1623
1623
|
}, null, 8, ["name"]))), 128))
|
|
1624
1624
|
];
|
|
1625
1625
|
}, !0)
|
|
1626
|
-
], 16,
|
|
1626
|
+
], 16, xa)), [
|
|
1627
1627
|
[Q, !r(o)]
|
|
1628
1628
|
]) : Y((w(), j("div", W({
|
|
1629
1629
|
key: 2,
|
|
@@ -1662,14 +1662,14 @@ const be = /* @__PURE__ */ N({
|
|
|
1662
1662
|
}, {
|
|
1663
1663
|
"tooltip-attributes": r(u).labelAttributes.tooltipAttributes
|
|
1664
1664
|
}), X({
|
|
1665
|
-
default:
|
|
1665
|
+
default: M(() => [
|
|
1666
1666
|
me(de(r(u).label) + " ", 1)
|
|
1667
1667
|
]),
|
|
1668
1668
|
_: 2
|
|
1669
1669
|
}, [
|
|
1670
1670
|
(V = r(u).labelAttributes) != null && V.info ? {
|
|
1671
1671
|
name: "tooltip",
|
|
1672
|
-
fn:
|
|
1672
|
+
fn: M(() => [
|
|
1673
1673
|
D(_.$slots, "tooltip", {}, () => [
|
|
1674
1674
|
U("div", {
|
|
1675
1675
|
innerHTML: r(u).labelAttributes.info
|
|
@@ -1691,7 +1691,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1691
1691
|
}, null, 8, ["modelValue", "data-testid"]))
|
|
1692
1692
|
], 8, Ra),
|
|
1693
1693
|
K(La, null, {
|
|
1694
|
-
default:
|
|
1694
|
+
default: M(() => [
|
|
1695
1695
|
g.value ? (w(), j("div", {
|
|
1696
1696
|
key: 0,
|
|
1697
1697
|
class: "ff-object-field-content",
|
|
@@ -1799,7 +1799,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1799
1799
|
}), X({ _: 2 }, [
|
|
1800
1800
|
(_ = r(p).labelAttributes) != null && _.info ? {
|
|
1801
1801
|
name: "label-tooltip",
|
|
1802
|
-
fn:
|
|
1802
|
+
fn: M(() => [
|
|
1803
1803
|
D(v.$slots, "tooltip", {}, () => [
|
|
1804
1804
|
U("div", {
|
|
1805
1805
|
innerHTML: r(p).labelAttributes.info
|
|
@@ -1902,7 +1902,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1902
1902
|
}), X({ _: 2 }, [
|
|
1903
1903
|
"tooltip" in u.$slots || (y = r(f).labelAttributes) != null && y.info ? {
|
|
1904
1904
|
name: "label-tooltip",
|
|
1905
|
-
fn:
|
|
1905
|
+
fn: M(() => [
|
|
1906
1906
|
D(u.$slots, "tooltip", {}, () => [
|
|
1907
1907
|
U("div", {
|
|
1908
1908
|
innerHTML: r(f).labelAttributes.info
|
|
@@ -1913,7 +1913,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1913
1913
|
} : void 0,
|
|
1914
1914
|
u.$slots["item-label"] ? {
|
|
1915
1915
|
name: "item-template",
|
|
1916
|
-
fn:
|
|
1916
|
+
fn: M(({ item: v }) => [
|
|
1917
1917
|
D(u.$slots, "item-label", Ue(tt(v)), void 0, !0)
|
|
1918
1918
|
]),
|
|
1919
1919
|
key: "1"
|
|
@@ -1978,7 +1978,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1978
1978
|
}), X({ _: 2 }, [
|
|
1979
1979
|
(m = r(f).labelAttributes) != null && m.info ? {
|
|
1980
1980
|
name: "label-tooltip",
|
|
1981
|
-
fn:
|
|
1981
|
+
fn: M(() => [
|
|
1982
1982
|
D(l.$slots, "tooltip", {}, () => [
|
|
1983
1983
|
U("div", {
|
|
1984
1984
|
innerHTML: r(f).labelAttributes.info
|
|
@@ -2039,7 +2039,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2039
2039
|
}), X({ _: 2 }, [
|
|
2040
2040
|
(y = r(i).labelAttributes) != null && y.info ? {
|
|
2041
2041
|
name: "label-tooltip",
|
|
2042
|
-
fn:
|
|
2042
|
+
fn: M(() => [
|
|
2043
2043
|
D(m.$slots, "tooltip", {}, () => [
|
|
2044
2044
|
U("div", {
|
|
2045
2045
|
innerHTML: r(i).labelAttributes.info
|
|
@@ -2122,14 +2122,14 @@ const be = /* @__PURE__ */ N({
|
|
|
2122
2122
|
required: r(g).required,
|
|
2123
2123
|
"tooltip-attributes": r(g).labelAttributes.tooltipAttributes
|
|
2124
2124
|
}), X({
|
|
2125
|
-
default:
|
|
2125
|
+
default: M(() => [
|
|
2126
2126
|
me(de(r(g).label) + " ", 1)
|
|
2127
2127
|
]),
|
|
2128
2128
|
_: 2
|
|
2129
2129
|
}, [
|
|
2130
2130
|
(T = r(g).labelAttributes) != null && T.info ? {
|
|
2131
2131
|
name: "tooltip",
|
|
2132
|
-
fn:
|
|
2132
|
+
fn: M(() => [
|
|
2133
2133
|
D(k.$slots, "tooltip", {}, () => [
|
|
2134
2134
|
U("div", {
|
|
2135
2135
|
innerHTML: r(g).labelAttributes.info
|
|
@@ -2140,15 +2140,15 @@ const be = /* @__PURE__ */ N({
|
|
|
2140
2140
|
} : void 0
|
|
2141
2141
|
]), 1040, ["data-testid", "required", "tooltip-attributes"])
|
|
2142
2142
|
], 8, nn)) : z("", !0),
|
|
2143
|
-
(w(!0), j(te, null, se(r(a), ([
|
|
2144
|
-
key:
|
|
2143
|
+
(w(!0), j(te, null, se(r(a), ([x, ee], H) => (w(), q(re(b.value), {
|
|
2144
|
+
key: x,
|
|
2145
2145
|
class: Pe(["ff-map-field-item", {
|
|
2146
2146
|
"ff-map-field-item-simple": s.value,
|
|
2147
2147
|
"ff-map-field-item-complex": !s.value
|
|
2148
2148
|
}]),
|
|
2149
2149
|
"data-testid": `ff-map-container-${r(i).path.value}.${H}`
|
|
2150
2150
|
}, {
|
|
2151
|
-
default:
|
|
2151
|
+
default: M(() => [
|
|
2152
2152
|
U("div", rn, [
|
|
2153
2153
|
K(be, {
|
|
2154
2154
|
class: "ff-map-field-fields-key",
|
|
@@ -2157,20 +2157,20 @@ const be = /* @__PURE__ */ N({
|
|
|
2157
2157
|
"model-value": ee,
|
|
2158
2158
|
placeholder: e.keyPlaceholder || "Key",
|
|
2159
2159
|
onKeydown: We(Ie((J) => A(H), ["prevent"]), ["enter"]),
|
|
2160
|
-
"onUpdate:modelValue": (J) => r(p)(
|
|
2160
|
+
"onUpdate:modelValue": (J) => r(p)(x, J)
|
|
2161
2161
|
}, null, 8, ["data-key-input", "data-testid", "model-value", "placeholder", "onKeydown", "onUpdate:modelValue"]),
|
|
2162
|
-
D(k.$slots, "default", { keyId:
|
|
2162
|
+
D(k.$slots, "default", { keyId: x }, () => {
|
|
2163
2163
|
var J, _e;
|
|
2164
2164
|
return [
|
|
2165
2165
|
m.value ? (w(), q(ht, {
|
|
2166
2166
|
key: 0,
|
|
2167
2167
|
"inline-vault-picker": "",
|
|
2168
2168
|
multiline: (_e = (J = e.appearance) == null ? void 0 : J.string) == null ? void 0 : _e.multiline,
|
|
2169
|
-
name:
|
|
2169
|
+
name: x,
|
|
2170
2170
|
onKeydown: We((Te) => v(Te, H), ["enter"])
|
|
2171
2171
|
}, null, 8, ["multiline", "name", "onKeydown"])) : (w(), q(ge, {
|
|
2172
2172
|
key: 1,
|
|
2173
|
-
name:
|
|
2173
|
+
name: x
|
|
2174
2174
|
}, null, 8, ["name"]))
|
|
2175
2175
|
];
|
|
2176
2176
|
}, !0)
|
|
@@ -2178,15 +2178,15 @@ const be = /* @__PURE__ */ N({
|
|
|
2178
2178
|
K(P, {
|
|
2179
2179
|
text: r(t).t("actions.remove_entity", { entity: r(h) })
|
|
2180
2180
|
}, {
|
|
2181
|
-
default:
|
|
2181
|
+
default: M(() => [
|
|
2182
2182
|
K(B, {
|
|
2183
2183
|
appearance: "tertiary",
|
|
2184
2184
|
"aria-label": r(t).t("actions.remove_entity", { entity: r(h) }),
|
|
2185
2185
|
"data-testid": `ff-map-remove-btn-${r(i).path.value}.${H}`,
|
|
2186
2186
|
icon: "",
|
|
2187
|
-
onClick: (J) => r(f)(
|
|
2187
|
+
onClick: (J) => r(f)(x)
|
|
2188
2188
|
}, {
|
|
2189
|
-
default:
|
|
2189
|
+
default: M(() => [
|
|
2190
2190
|
K(r(st))
|
|
2191
2191
|
]),
|
|
2192
2192
|
_: 1
|
|
@@ -2204,7 +2204,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2204
2204
|
"data-testid": `ff-map-add-btn-${r(i).path.value}`,
|
|
2205
2205
|
onClick: I
|
|
2206
2206
|
}, {
|
|
2207
|
-
default:
|
|
2207
|
+
default: M(() => [
|
|
2208
2208
|
K(r(Oe)),
|
|
2209
2209
|
me(" " + de(r(t).t("actions.add_entity", { entity: r(h) })), 1)
|
|
2210
2210
|
]),
|
|
@@ -2309,7 +2309,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2309
2309
|
getRawValue: () => St(p),
|
|
2310
2310
|
setValue: d
|
|
2311
2311
|
}), (g, l) => (w(), q(re(e.tag), null, {
|
|
2312
|
-
default:
|
|
2312
|
+
default: M(() => [
|
|
2313
2313
|
(w(), q(re(r(o)[r(Se)]))),
|
|
2314
2314
|
D(g.$slots, "default", {}, () => [
|
|
2315
2315
|
(w(!0), j(te, null, se(h.value, (s) => (w(), q(ge, {
|
|
@@ -3507,9 +3507,10 @@ const be = /* @__PURE__ */ N({
|
|
|
3507
3507
|
description_with_realms: "Use Consumers or centrally managed consumers for Consumer-based authentication. Use Kong Identity for principal-based authentication and advanced integrations.",
|
|
3508
3508
|
description_without_realms: "Use Consumers for Consumer-based authentication. Use Kong Identity for principal-based authentication and advanced integrations.",
|
|
3509
3509
|
learn_more: "Learn more.",
|
|
3510
|
+
incompatible_data_plane_alert: "We detected that one or more data plane nodes are running a version earlier than 3.15. Requests handled by those data plane nodes will use consumers instead of Kong Identity principals.",
|
|
3510
3511
|
kong_identity_label: "Kong Identity",
|
|
3511
|
-
kong_identity_description_key_auth: "Use Kong Identity to authenticate API keys and map requests to
|
|
3512
|
-
kong_identity_description_basic_auth: "Use Kong Identity to authenticate Basic Auth credentials and map requests to
|
|
3512
|
+
kong_identity_description_key_auth: "Use Kong Identity to authenticate API keys and map requests to Kong Identity principals for advanced integrations. Data plane nodes running versions earlier than 3.15 continue using consumers.",
|
|
3513
|
+
kong_identity_description_basic_auth: "Use Kong Identity to authenticate Basic Auth credentials and map requests to Kong Identity principals for advanced integrations. Data plane nodes running versions earlier than 3.15 continue using consumers.",
|
|
3513
3514
|
consumers_label: "Consumers",
|
|
3514
3515
|
consumers_description_key_auth: "Use consumer-managed API keys. Consumers provide their API key in a request header, query parameter, or request body to authenticate requests.",
|
|
3515
3516
|
consumers_description_basic_auth: "Use consumer-managed Basic Auth credentials. Consumers authenticate requests using a username and password.",
|
|
@@ -3522,7 +3523,7 @@ const be = /* @__PURE__ */ N({
|
|
|
3522
3523
|
error_on_miss_continue_label: "Continue without a principal",
|
|
3523
3524
|
error_on_miss_continue_description: "Allow the request to continue without resolving a principal.",
|
|
3524
3525
|
configure_title: "Configure Kong Identity",
|
|
3525
|
-
configure_description: "Kong Identity uses principals to represent authenticated
|
|
3526
|
+
configure_description: "Kong Identity uses principals to represent authenticated services or applications. Create your first principal in Kong Identity to start using principal-based authentication. On data plane nodes running versions earlier than 3.15, authentication continues using consumers.",
|
|
3526
3527
|
create_principal: "Create principal",
|
|
3527
3528
|
configure_learn_more: "Learn more",
|
|
3528
3529
|
leave_prompt_title: "Leave this page?",
|
|
@@ -3769,7 +3770,7 @@ const kn = ["data-testid"], Sn = /* @__PURE__ */ N({
|
|
|
3769
3770
|
"model-value": !!(r(o) == null ? r(p) : r(o)),
|
|
3770
3771
|
"onUpdate:modelValue": i
|
|
3771
3772
|
}), {
|
|
3772
|
-
label:
|
|
3773
|
+
label: M(() => [
|
|
3773
3774
|
me(de(r(o) ? e.enabledText || r(t)("actions.enabled") : e.disabledText || r(t)("actions.disabled")), 1)
|
|
3774
3775
|
]),
|
|
3775
3776
|
_: 1
|