@kong-ui-public/freeform 0.5.7 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,112 +1,112 @@
1
- import { toValue as N, computed as k, ref as re, watch as te, onBeforeUnmount as Kt, reactive as ht, toRef as q, useSlots as we, provide as je, inject as ke, toRaw as yt, onUnmounted as Lt, defineComponent as Y, useAttrs as he, openBlock as b, createBlock as F, unref as a, mergeProps as G, createSlots as X, renderList as de, withCtx as P, renderSlot as B, normalizeProps as Je, guardReactiveProps as bt, withDirectives as Z, createElementBlock as T, createVNode as D, createTextVNode as le, toDisplayString as H, vShow as ee, createCommentVNode as x, createPropsRestProxy as pe, resolveComponent as W, resolveDynamicComponent as ue, Fragment as se, useCssVars as Rt, useTemplateRef as gt, normalizeClass as Pe, createElementVNode as fe, withModifiers as Te, nextTick as Be, Transition as Ct, useId as Bt, useModel as De, onBeforeMount as Dt, mergeModels as Ne, withKeys as tt } from "vue";
2
- import { get as Se, uniqueId as kt, isEqual as be, omit as Nt, cloneDeep as at, isFunction as nt, set as qe, upperFirst as qt } from "lodash-es";
3
- import { createInjectionState as Ht } from "@vueuse/core";
4
- import { marked as Ut } from "marked";
5
- import zt from "dompurify";
6
- import { createI18n as Wt, i18nTComponent as Jt } from "@kong-ui-public/i18n";
7
- import { KTextArea as Yt, KInput as Gt, KButton as lt, KExternalLink as Xt, KCheckbox as Qt, KCard as He, KLabel as Zt, KMultiselect as ea, KSelect as ta, KTooltip as aa, KInputSwitch as na } from "@kong/kongponents";
8
- import { AUTOFILL_SLOT as At } from "@kong-ui-public/forms";
1
+ import { toValue as N, computed as A, ref as re, watch as te, onBeforeUnmount as Kt, reactive as bt, toRef as q, useSlots as we, provide as je, inject as ke, toRaw as ht, onUnmounted as Rt, defineComponent as Y, useAttrs as be, openBlock as k, createBlock as F, unref as a, mergeProps as G, createSlots as X, renderList as fe, withCtx as P, renderSlot as D, normalizeProps as Je, guardReactiveProps as yt, withDirectives as Z, createElementBlock as T, resolveDynamicComponent as le, createVNode as B, createTextVNode as se, toDisplayString as H, createCommentVNode as x, createElementVNode as ce, vShow as ee, createPropsRestProxy as pe, resolveComponent as W, Fragment as oe, useCssVars as Ct, useTemplateRef as gt, normalizeClass as Pe, withModifiers as Te, nextTick as Be, Transition as Bt, useId as Dt, useModel as De, onBeforeMount as Nt, mergeModels as Ne, withKeys as tt } from "vue";
2
+ import { get as Se, uniqueId as kt, isEqual as ye, omit as qt, cloneDeep as at, isFunction as nt, set as qe, upperFirst as Ht } from "lodash-es";
3
+ import { createInjectionState as Ut } from "@vueuse/core";
4
+ import { marked as zt } from "marked";
5
+ import Wt from "dompurify";
6
+ import { createI18n as Jt, i18nTComponent as Yt } from "@kong-ui-public/i18n";
7
+ import { KTextArea as Gt, KInput as Xt, KTooltip as At, KButton as lt, KExternalLink as Qt, KCheckbox as Zt, KCard as He, KLabel as ea, KMultiselect as ta, KSelect as aa, KInputSwitch as na } from "@kong/kongponents";
8
+ import { AUTOFILL_SLOT as $t } from "@kong-ui-public/forms";
9
9
  import { SecretInput as la } from "@kong-ui-public/misc-widgets";
10
10
  import "@kong-ui-public/misc-widgets/dist/style.css";
11
- import { AddIcon as Fe, CloseIcon as Ye, TrashIcon as sa, ChevronRightIcon as ra } from "@kong/icons";
12
- import { KUI_ICON_SIZE_30 as oa } from "@kong/design-tokens";
11
+ import { AddIcon as Fe, CloseIcon as Ye, TrashIcon as sa, ChevronRightIcon as oa } from "@kong/icons";
12
+ import { KUI_ICON_SIZE_30 as ra } from "@kong/design-tokens";
13
13
  function ia(e) {
14
14
  return e.map((n) => ({ value: n, label: `${n}` }));
15
15
  }
16
- const Ge = "*", Xe = "#", ce = "$", Oe = ".";
17
- function L(...e) {
18
- return e.join(Oe);
16
+ const Ge = "*", Xe = "#", de = "$", Me = ".";
17
+ function C(...e) {
18
+ return e.join(Me);
19
19
  }
20
20
  function Ae(...e) {
21
- return L(ce, ...e);
21
+ return C(de, ...e);
22
22
  }
23
23
  function st(e) {
24
- return e.startsWith(L(ce, ""));
24
+ return e.startsWith(C(de, ""));
25
25
  }
26
26
  function z(e) {
27
- return e.split(Oe).filter((n) => n !== "");
27
+ return e.split(Me).filter((n) => n !== "");
28
28
  }
29
- function ye(e) {
29
+ function he(e) {
30
30
  const n = z(e);
31
31
  return n[n.length - 1];
32
32
  }
33
33
  function Qe(e) {
34
- return e.startsWith(ce) && (e = L(...z(e).slice(1))), e;
34
+ return e.startsWith(de) && (e = C(...z(e).slice(1))), e;
35
35
  }
36
- function $t(e, n, t, l = "") {
36
+ function _t(e, n, t, l = "") {
37
37
  if (e == null || typeof e != "object") return;
38
- const o = Array.isArray(e) ? e.map((r, s) => String(s)) : Object.keys(e);
39
- for (const r of o) {
40
- const s = l ? L(l, r) : r;
41
- n(s) ? e[r] = t(s) : $t(e[r], n, t, s);
38
+ const r = Array.isArray(e) ? e.map((o, s) => String(s)) : Object.keys(e);
39
+ for (const o of r) {
40
+ const s = l ? C(l, o) : o;
41
+ n(s) ? e[o] = t(s) : _t(e[o], n, t, s);
42
42
  }
43
43
  }
44
44
  function ua(e) {
45
45
  const n = N(e);
46
46
  return n ? n.type === "set" && n.elements.type === "string" && !n.elements.one_of : !1;
47
47
  }
48
- function _t(e, n) {
48
+ function Vt(e, n) {
49
49
  return [...e].sort((t, l) => {
50
- const o = Object.keys(t)[0], r = Object.keys(l)[0], s = n.indexOf(o), c = n.indexOf(r);
51
- return s === -1 && c === -1 ? 0 : s === -1 ? 1 : c === -1 ? -1 : s - c;
50
+ const r = Object.keys(t)[0], o = Object.keys(l)[0], s = n.indexOf(r), u = n.indexOf(o);
51
+ return s === -1 && u === -1 ? 0 : s === -1 ? 1 : u === -1 ? -1 : s - u;
52
52
  });
53
53
  }
54
- function Vt(e, n) {
54
+ function St(e, n) {
55
55
  const t = /* @__PURE__ */ new Map();
56
56
  e.forEach((i) => {
57
- const u = Object.keys(i)[0];
58
- t.set(u, i);
57
+ const c = Object.keys(i)[0];
58
+ t.set(c, i);
59
59
  });
60
60
  const l = /* @__PURE__ */ new Map();
61
- n.forEach((i, u) => {
62
- i.forEach((v, p) => {
63
- l.has(v) || l.set(v, []), l.get(v).push({ bundleIndex: u, position: p });
61
+ n.forEach((i, c) => {
62
+ i.forEach((m, v) => {
63
+ l.has(m) || l.set(m, []), l.get(m).push({ bundleIndex: c, position: v });
64
64
  });
65
65
  });
66
- const o = /* @__PURE__ */ new Set(), r = [], s = /* @__PURE__ */ new Set(), c = (i) => {
67
- const u = l.get(i);
68
- if (!u) return !0;
69
- for (const { bundleIndex: v, position: p } of u) {
70
- const f = n[v];
71
- for (let g = 0; g < p; g++) {
72
- const V = f[g];
73
- if (t.has(V) && !o.has(V))
66
+ const r = /* @__PURE__ */ new Set(), o = [], s = /* @__PURE__ */ new Set(), u = (i) => {
67
+ const c = l.get(i);
68
+ if (!c) return !0;
69
+ for (const { bundleIndex: m, position: v } of c) {
70
+ const f = n[m];
71
+ for (let h = 0; h < v; h++) {
72
+ const _ = f[h];
73
+ if (t.has(_) && !r.has(_))
74
74
  return !1;
75
75
  }
76
76
  }
77
77
  return !0;
78
78
  }, d = (i) => {
79
- if (o.has(i)) return;
80
- const u = t.get(i);
81
- if (!u) return;
82
- r.push(u), o.add(i), s.delete(i);
83
- const v = l.get(i);
84
- if (v)
85
- for (const { bundleIndex: f, position: g } of v) {
86
- const V = n[f];
87
- for (let E = g + 1; E < V.length; E++) {
88
- const h = V[E];
89
- if (!o.has(h)) {
90
- const _ = t.get(h);
91
- _ && (r.push(_), o.add(h), s.delete(h));
79
+ if (r.has(i)) return;
80
+ const c = t.get(i);
81
+ if (!c) return;
82
+ o.push(c), r.add(i), s.delete(i);
83
+ const m = l.get(i);
84
+ if (m)
85
+ for (const { bundleIndex: f, position: h } of m) {
86
+ const _ = n[f];
87
+ for (let E = h + 1; E < _.length; E++) {
88
+ const b = _[E];
89
+ if (!r.has(b)) {
90
+ const V = t.get(b);
91
+ V && (o.push(V), r.add(b), s.delete(b));
92
92
  }
93
93
  }
94
94
  }
95
- const p = Array.from(s);
96
- for (const f of p)
97
- c(f) && d(f);
95
+ const v = Array.from(s);
96
+ for (const f of v)
97
+ u(f) && d(f);
98
98
  };
99
99
  for (const i of e) {
100
- const u = Object.keys(i)[0];
101
- o.has(u) || (c(u) ? d(u) : s.add(u));
100
+ const c = Object.keys(i)[0];
101
+ r.has(c) || (u(c) ? d(c) : s.add(c));
102
102
  }
103
- return r;
103
+ return o;
104
104
  }
105
- function Sl(e) {
105
+ function El(e) {
106
106
  return typeof e == "string" ? ({ genericPath: n }) => n === e : e;
107
107
  }
108
108
  const Ue = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ca = 256 - 256 % Ue.length;
109
- function wl(e = 32) {
109
+ function Il(e = 32) {
110
110
  const n = new Uint8Array(e);
111
111
  let t = "";
112
112
  for (; t.length < e; ) {
@@ -123,33 +123,33 @@ function da(e) {
123
123
  let t = { parent: null };
124
124
  for (n.pop(); n.length; ) {
125
125
  const l = n.shift();
126
- t.path = t.parent?.path ? L(t.parent.path, l) : l, t = { parent: t };
126
+ t.path = t.parent?.path ? C(t.parent.path, l) : l, t = { parent: t };
127
127
  }
128
128
  return t;
129
129
  }
130
- function St(e) {
131
- return k(() => da(N(e)));
130
+ function wt(e) {
131
+ return A(() => da(N(e)));
132
132
  }
133
- const rt = /* @__PURE__ */ Symbol("free-form-field-path"), ze = /* @__PURE__ */ Symbol("free-form-field-renderer-slots"), ot = /* @__PURE__ */ Symbol("free-form-field-reset-label-path-setting"), Ee = "free-form-field-renderers-slot", fa = { add_entity: "Add {entity}", remove_entity: "Remove {entity}", enabled: "Enabled", disabled: "Disabled" }, pa = { at_least_one_of: "At least one of the following values is required: {parameters}.", mutually_required: "These values must be used together: {parameters}.", mutually_exclusive: "Only one of these values can be used: {parameters}." }, ma = "Use comma to separate values. eg: value1, value2", va = { tooltip: "The minimum runtime version required to use this feature is {version}. Please upgrade the minimum runtime version to use this feature." }, ha = "Enter a UUID of {entity}", ya = { component_error: "The vault secret picker is not available" }, ba = { add: "Add expression", remove: "Remove expression", label: "Kong plug-in dynamic expression", info: "Supply this value as an expression that is evaluated on every request. When set, it takes priority over the value entered above.", help: { text: "Define a Kong plug-in dynamic expression to evaluate each request. The expression must return {type}. {link}", learn: "Learn more" }, returns: { string: "a string", number: "a number", integer: "an integer", boolean: "a boolean value (true or false)", unknown: "a value of the type of the field above" } }, ga = {
133
+ const ot = /* @__PURE__ */ Symbol("free-form-field-path"), ze = /* @__PURE__ */ Symbol("free-form-field-renderer-slots"), rt = /* @__PURE__ */ Symbol("free-form-field-reset-label-path-setting"), Ee = "free-form-field-renderers-slot", fa = { add_entity: "Add {entity}", remove_entity: "Remove {entity}", enabled: "Enabled", disabled: "Disabled" }, pa = { at_least_one_of: "At least one of the following values is required: {parameters}.", mutually_required: "These values must be used together: {parameters}.", mutually_exclusive: "Only one of these values can be used: {parameters}." }, ma = "Use comma to separate values. eg: value1, value2", va = { tooltip: "The minimum runtime version required to use this feature is {version}. Please upgrade the minimum runtime version to use this feature." }, ba = "Enter a UUID of {entity}", ha = { component_error: "The vault secret picker is not available" }, ya = { add: "Add expression", remove: "Remove expression", label: "Kong plug-in dynamic expression", info: "Supply this value as an expression that is evaluated on every request. When set, it takes priority over the value entered above.", help: { text: "Define a Kong plug-in dynamic expression to evaluate each request. The expression must return {type}. {link}", learn: "Learn more" }, returns: { string: "a string", number: "a number", integer: "an integer", boolean: "a boolean value (true or false)", unknown: "a value of the type of the field above" } }, ga = {
134
134
  actions: fa,
135
135
  field_rules: pa,
136
136
  tag_helper: ma,
137
137
  version_compatibility: va,
138
- foreign_placeholder: ha,
139
- vault_picker: ya,
140
- expression: ba
138
+ foreign_placeholder: ba,
139
+ vault_picker: ha,
140
+ expression: ya
141
141
  };
142
142
  function me() {
143
- const e = Wt("en-us", ga);
143
+ const e = Jt("en-us", ga);
144
144
  return {
145
145
  i18n: e,
146
- i18nT: Jt(e)
146
+ i18nT: Yt(e)
147
147
  };
148
148
  }
149
- const wt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, it = (e) => {
149
+ const Et = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, it = (e) => {
150
150
  if (typeof e != "string")
151
151
  throw new TypeError("Invalid argument expected string");
152
- const n = e.match(wt);
152
+ const n = e.match(Et);
153
153
  if (!n)
154
154
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
155
155
  return n.shift(), n;
@@ -169,23 +169,23 @@ const wt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
169
169
  }
170
170
  return 0;
171
171
  }, $a = (e, n) => {
172
- const t = it(e), l = it(n), o = t.pop(), r = l.pop(), s = dt(t, l);
173
- return s !== 0 ? s : o && r ? dt(o.split("."), r.split(".")) : o || r ? o ? -1 : 1 : 0;
172
+ const t = it(e), l = it(n), r = t.pop(), o = l.pop(), s = dt(t, l);
173
+ return s !== 0 ? s : r && o ? dt(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
174
174
  }, _a = (e, n, t) => {
175
175
  Va(t);
176
176
  const l = $a(e, n);
177
- return Et[t].includes(l);
178
- }, Et = {
177
+ return It[t].includes(l);
178
+ }, It = {
179
179
  ">": [1],
180
180
  ">=": [0, 1],
181
181
  "=": [0],
182
182
  "<=": [-1, 0],
183
183
  "<": [-1],
184
184
  "!=": [-1, 1]
185
- }, ft = Object.keys(Et), Va = (e) => {
185
+ }, ft = Object.keys(It), Va = (e) => {
186
186
  if (ft.indexOf(e) === -1)
187
187
  throw new Error(`Invalid operator, expected one of ${ft.join("|")}`);
188
- }, pt = (e) => typeof e == "string" && /^[v\d]/.test(e) && wt.test(e);
188
+ }, pt = (e) => typeof e == "string" && /^[v\d]/.test(e) && Et.test(e);
189
189
  function mt(e, n) {
190
190
  return !e || !n || !pt(e) || !pt(n) ? !0 : _a(e, n, ">=");
191
191
  }
@@ -200,22 +200,22 @@ const wa = {
200
200
  };
201
201
  function Ea(e, n = "") {
202
202
  const t = {}, l = e;
203
- return Array.isArray(l.fields) ? Object.assign(t, Me(l, n)) : e.type === "array" && e.elements ? Object.assign(t, xe(e, n)) : e.type === "map" && e.values && Object.assign(t, Ke(e, n)), t;
203
+ return Array.isArray(l.fields) ? Object.assign(t, Oe(l, n)) : e.type === "array" && e.elements ? Object.assign(t, xe(e, n)) : e.type === "map" && e.values && Object.assign(t, Le(e, n)), t;
204
204
  }
205
- function Me(e, n = "") {
205
+ function Oe(e, n = "") {
206
206
  const t = {};
207
207
  if (Array.isArray(e.fields))
208
208
  for (const l of e.fields) {
209
- const o = Object.keys(l)[0], r = l[o], s = n ? L(n, o) : o;
210
- if (t[s] = r, r.type === "record" && Array.isArray(r.fields)) {
211
- const c = Me(r, s);
212
- Object.assign(t, c);
213
- } else if (r.type === "array" && r.elements) {
214
- const c = xe(r, s);
215
- Object.assign(t, c);
216
- } else if (r.type === "map" && r.values) {
217
- const c = Ke(r, s);
218
- Object.assign(t, c);
209
+ const r = Object.keys(l)[0], o = l[r], s = n ? C(n, r) : r;
210
+ if (t[s] = o, o.type === "record" && Array.isArray(o.fields)) {
211
+ const u = Oe(o, s);
212
+ Object.assign(t, u);
213
+ } else if (o.type === "array" && o.elements) {
214
+ const u = xe(o, s);
215
+ Object.assign(t, u);
216
+ } else if (o.type === "map" && o.values) {
217
+ const u = Le(o, s);
218
+ Object.assign(t, u);
219
219
  }
220
220
  }
221
221
  return t;
@@ -224,145 +224,145 @@ function xe(e, n = "") {
224
224
  const t = {};
225
225
  if (e.elements) {
226
226
  let l = e.elements;
227
- const o = L(n, Ge);
228
- if (e.encrypted && l.type === "string" && (l = { ...l, encrypted: !0 }), t[o] = l, l.type === "record" && Array.isArray(l.fields)) {
229
- const r = Me(l, o);
230
- Object.assign(t, r);
227
+ const r = C(n, Ge);
228
+ if (e.encrypted && l.type === "string" && (l = { ...l, encrypted: !0 }), t[r] = l, l.type === "record" && Array.isArray(l.fields)) {
229
+ const o = Oe(l, r);
230
+ Object.assign(t, o);
231
231
  } else if (l.type === "array" && l.elements) {
232
- const r = xe(l, o);
233
- Object.assign(t, r);
232
+ const o = xe(l, r);
233
+ Object.assign(t, o);
234
234
  } else if (l.type === "map" && l.values) {
235
- const r = Ke(l, o);
236
- Object.assign(t, r);
235
+ const o = Le(l, r);
236
+ Object.assign(t, o);
237
237
  }
238
238
  }
239
239
  return t;
240
240
  }
241
- function Ke(e, n = "") {
242
- const t = {}, l = L(n, Xe);
241
+ function Le(e, n = "") {
242
+ const t = {}, l = C(n, Xe);
243
243
  if (t[l] = e.values, e.values.type === "record" && Array.isArray(e.values.fields)) {
244
- const o = Me(e.values, l);
245
- Object.assign(t, o);
244
+ const r = Oe(e.values, l);
245
+ Object.assign(t, r);
246
246
  } else if ((e.values.type === "array" || e.values.type === "set") && e.values.elements) {
247
- const o = xe(e.values, l);
248
- Object.assign(t, o);
247
+ const r = xe(e.values, l);
248
+ Object.assign(t, r);
249
249
  } else if (e.values.type === "map" && e.values.values) {
250
- const o = Ke(e.values, l);
251
- Object.assign(t, o);
250
+ const r = Le(e.values, l);
251
+ Object.assign(t, r);
252
252
  }
253
253
  return t;
254
254
  }
255
255
  function ge(e, n) {
256
256
  const t = z(e), l = [];
257
- for (let o = 0; o < t.length; o++) {
258
- const r = t[o], s = l.length > 0 ? L(...l) : "", c = s ? n[s] : void 0;
259
- c?.type === "map" ? l.push(Xe) : c?.type === "array" ? l.push(Ge) : l.push(r);
257
+ for (let r = 0; r < t.length; r++) {
258
+ const o = t[r], s = l.length > 0 ? C(...l) : "", u = s ? n[s] : void 0;
259
+ u?.type === "map" ? l.push(Xe) : u?.type === "array" ? l.push(Ge) : l.push(o);
260
260
  }
261
- return L(...l);
261
+ return C(...l);
262
262
  }
263
263
  function Ia(e, n) {
264
264
  const t = N(e), { i18n: l } = me();
265
- function o(h) {
265
+ function r(b) {
266
266
  return {
267
- tooltip: l.t("version_compatibility.tooltip", { version: h })
267
+ tooltip: l.t("version_compatibility.tooltip", { version: b })
268
268
  };
269
269
  }
270
- function r() {
270
+ function o() {
271
271
  return Sa(N(n)?.emptyFieldValue);
272
272
  }
273
- const s = k(() => t ? Ea(t) : {});
274
- function c(h) {
275
- if (h) {
276
- let _ = ge(h, s.value || {});
277
- return _.startsWith(`${ce}${Oe}`) && (_ = _.slice(2)), s.value?.[_];
273
+ const s = A(() => t ? Ea(t) : {});
274
+ function u(b) {
275
+ if (b) {
276
+ let V = ge(b, s.value || {});
277
+ return V.startsWith(`${de}${Me}`) && (V = V.slice(2)), s.value?.[V];
278
278
  }
279
279
  return t;
280
280
  }
281
- function d(h, _ = !1) {
282
- const m = c(h);
283
- if (!m)
284
- return r();
285
- if (m.default !== void 0)
286
- return m.default;
287
- if (!m.auto)
288
- return _ || m.required ? m.type === "record" ? i(m, h) : m.type === "array" ? [] : m.type === "map" ? {} : r() : r();
289
- }
290
- function i(h, _) {
291
- const m = {};
292
- if (Array.isArray(h.fields))
293
- for (const A of h.fields) {
294
- const y = Object.keys(A)[0], S = _ ? `${_}.${y}` : y, w = d(S, !1);
295
- w !== void 0 && (m[y] = w);
281
+ function d(b, V = !1) {
282
+ const p = u(b);
283
+ if (!p)
284
+ return o();
285
+ if (p.default !== void 0)
286
+ return p.default;
287
+ if (!p.auto)
288
+ return V || p.required ? p.type === "record" ? i(p, b) : p.type === "array" ? [] : p.type === "map" ? {} : o() : o();
289
+ }
290
+ function i(b, V) {
291
+ const p = {};
292
+ if (Array.isArray(b.fields))
293
+ for (const g of b.fields) {
294
+ const y = Object.keys(g)[0], S = V ? `${V}.${y}` : y, w = d(S, !1);
295
+ w !== void 0 && (p[y] = w);
296
296
  }
297
- return m;
297
+ return p;
298
298
  }
299
- function u(h) {
300
- return h ? d(h, !0) : i(c(), "");
299
+ function c(b) {
300
+ return b ? d(b, !0) : i(u(), "");
301
301
  }
302
- function v(h) {
303
- const _ = c(h), m = _?.description ? zt.sanitize(Ut.parse(_.description, { async: !1 })) : void 0;
302
+ function m(b) {
303
+ const V = u(b), p = V?.description ? Wt.sanitize(zt.parse(V.description, { async: !1 })) : void 0;
304
304
  return {
305
305
  ...wa,
306
- "data-testid": `ff-label-${h}`,
307
- info: m
306
+ "data-testid": `ff-label-${b}`,
307
+ info: p
308
308
  };
309
309
  }
310
- function p(h) {
311
- const _ = N(n)?.minRuntimeVersion;
312
- let m = h;
313
- for (; m; ) {
314
- const A = c(m)?.min_ai_gateway_version;
315
- if (A && !mt(_, A))
316
- return o(A);
317
- const y = z(m);
318
- y.pop(), m = y.length ? L(...y) : void 0;
310
+ function v(b) {
311
+ const V = N(n)?.minRuntimeVersion;
312
+ let p = b;
313
+ for (; p; ) {
314
+ const g = u(p)?.min_ai_gateway_version;
315
+ if (g && !mt(V, g))
316
+ return r(g);
317
+ const y = z(p);
318
+ y.pop(), p = y.length ? C(...y) : void 0;
319
319
  }
320
320
  }
321
- function f(h) {
322
- const _ = c(h), m = _?.one_of || _.elements?.one_of || [], A = _?.enum_min_versions || _.elements?.enum_min_versions, y = ia(m);
323
- if (!A?.length)
321
+ function f(b) {
322
+ const V = u(b), p = V?.one_of || V.elements?.one_of || [], g = V?.enum_min_versions || V.elements?.enum_min_versions, y = ia(p);
323
+ if (!g?.length)
324
324
  return y;
325
- const S = N(n)?.minRuntimeVersion, w = new Map(A.map(($) => [$.value, $.min_ai_gateway_version]));
325
+ const S = N(n)?.minRuntimeVersion, w = new Map(g.map(($) => [$.value, $.min_ai_gateway_version]));
326
326
  return y.map(($) => {
327
327
  const I = w.get($.value);
328
328
  return !I || mt(S, I) ? $ : {
329
329
  ...$,
330
330
  disabled: !0,
331
- versionInfo: o(I)
331
+ versionInfo: r(I)
332
332
  };
333
333
  });
334
334
  }
335
- function g(h) {
336
- const _ = c(h), m = _?.default;
337
- let A = null;
338
- if (_?.type === "foreign" && m?.id)
339
- A = m.id;
335
+ function h(b) {
336
+ const V = u(b), p = V?.default;
337
+ let g = null;
338
+ if (V?.type === "foreign" && p?.id)
339
+ g = p.id;
340
340
  else {
341
- if (m == null || typeof m == "object" || m === "")
341
+ if (p == null || typeof p == "object" || p === "")
342
342
  return null;
343
- if (Array.isArray(m)) {
344
- if (m.length === 0)
343
+ if (Array.isArray(p)) {
344
+ if (p.length === 0)
345
345
  return null;
346
- A = m.join(", ");
346
+ g = p.join(", ");
347
347
  } else
348
- A = m.toString();
348
+ g = p.toString();
349
349
  }
350
- return `Default: ${A}`;
350
+ return `Default: ${g}`;
351
351
  }
352
- function V() {
352
+ function _() {
353
353
  return s.value;
354
354
  }
355
- function E(h) {
356
- return c(h)?.required ? u(h) : r();
355
+ function E(b) {
356
+ return u(b)?.required ? c(b) : o();
357
357
  }
358
358
  return {
359
- getSchemaMap: V,
360
- getSchema: c,
361
- getDefault: u,
359
+ getSchemaMap: _,
360
+ getSchema: u,
361
+ getDefault: c,
362
362
  getSelectItems: f,
363
- getLabelAttributes: v,
364
- getFieldVersionInfo: p,
365
- getPlaceholder: g,
363
+ getLabelAttributes: m,
364
+ getFieldVersionInfo: v,
365
+ getPlaceholder: h,
366
366
  getEmptyOrDefault: E,
367
367
  /**
368
368
  * The configured empty-field sentinel on its own, with no schema/path
@@ -372,40 +372,40 @@ function Ia(e, n) {
372
372
  * back in, which would make it impossible to clear a required field
373
373
  * that has an explicit `schema.default`.
374
374
  */
375
- getEmptyValue: r
375
+ getEmptyValue: o
376
376
  };
377
377
  }
378
378
  const We = /* @__PURE__ */ Symbol("ff-render-rule-exact-match");
379
- function El(e) {
379
+ function Pl(e) {
380
380
  return { [We]: e };
381
381
  }
382
382
  function Pa(e, n) {
383
- return typeof n == "object" && n !== null && We in n ? be(e, n[We]) : Array.isArray(n) ? n.some((l) => be(e, l)) : be(e, n);
383
+ return typeof n == "object" && n !== null && We in n ? ye(e, n[We]) : Array.isArray(n) ? n.some((l) => ye(e, l)) : ye(e, n);
384
384
  }
385
385
  function Ta(e, n) {
386
386
  const t = re({}), l = re({});
387
- function o(m, A, y) {
388
- l.value[m] = { ...l.value[m], [A]: y ? [...y] : [] };
387
+ function r(p, g, y) {
388
+ l.value[p] = { ...l.value[p], [g]: y ? [...y] : [] };
389
389
  }
390
- function r(m, A) {
391
- const y = l.value[m];
392
- if (!y || !(A in y)) return;
390
+ function o(p, g) {
391
+ const y = l.value[p];
392
+ if (!y || !(g in y)) return;
393
393
  const S = { ...y };
394
- delete S[A], Object.keys(S).length ? l.value[m] = S : delete l.value[m];
394
+ delete S[g], Object.keys(S).length ? l.value[p] = S : delete l.value[p];
395
395
  }
396
- function s(m, A) {
397
- const y = m.map((w) => z(w).length), S = y[0];
396
+ function s(p, g) {
397
+ const y = p.map((w) => z(w).length), S = y[0];
398
398
  if (!y.every((w) => w === S)) {
399
- const w = m.map(($, I) => ` - '${$}' is at level ${y[I]}`).join(`
399
+ const w = p.map(($, I) => ` - '${$}' is at level ${y[I]}`).join(`
400
400
  `);
401
401
  throw new Error(
402
- `${A}: Fields must be at the same level. Found mixed levels:
402
+ `${g}: Fields must be at the same level. Found mixed levels:
403
403
  ${w}`
404
404
  );
405
405
  }
406
406
  }
407
- function c(m) {
408
- for (const [A, y] of Object.entries(m)) {
407
+ function u(p) {
408
+ for (const [g, y] of Object.entries(p)) {
409
409
  if (!y.bundles) continue;
410
410
  for (const w of y.bundles)
411
411
  if (new Set(w).size !== w.length) {
@@ -425,7 +425,7 @@ ${w}`
425
425
  if (j.includes(R)) {
426
426
  const M = [...j, R].join(" -> ");
427
427
  throw new Error(
428
- `Circular bundle detected in path '${A}':
428
+ `Circular bundle detected in path '${g}':
429
429
  ${M}`
430
430
  );
431
431
  }
@@ -442,15 +442,15 @@ ${M}`
442
442
  }
443
443
  }
444
444
  }
445
- function d(m) {
446
- for (const [A, y] of Object.entries(m))
445
+ function d(p) {
446
+ for (const [g, y] of Object.entries(p))
447
447
  if (y.dependencies)
448
448
  for (const S of Object.keys(y.dependencies)) {
449
449
  let w = function(j) {
450
450
  if (I.includes(j)) {
451
451
  const O = [...I, j].join(" -> ");
452
452
  throw new Error(
453
- `Circular dependency detected in path '${A}':
453
+ `Circular dependency detected in path '${g}':
454
454
  ${O}`
455
455
  );
456
456
  }
@@ -467,169 +467,169 @@ ${O}`
467
467
  w(S);
468
468
  }
469
469
  }
470
- function i(m, A) {
471
- const y = m.map((w) => A ? L(A, w) : w), S = z(y[0]);
472
- return S.pop(), L(...S);
470
+ function i(p, g) {
471
+ const y = p.map((w) => g ? C(g, w) : w), S = z(y[0]);
472
+ return S.pop(), C(...S);
473
473
  }
474
- function u(m, A) {
475
- if (!A) return m;
476
- const y = `${A}${Oe}`;
477
- return m.startsWith(y) ? m.slice(y.length) : m;
474
+ function c(p, g) {
475
+ if (!g) return p;
476
+ const y = `${g}${Me}`;
477
+ return p.startsWith(y) ? p.slice(y.length) : p;
478
478
  }
479
- function v(m) {
480
- const A = z(m);
481
- return A.pop(), L(...A);
479
+ function m(p) {
480
+ const g = z(p);
481
+ return g.pop(), C(...g);
482
482
  }
483
- function p() {
484
- const m = {};
485
- for (const [A, y] of Object.entries(t.value)) {
486
- const S = A === ce ? "" : A;
483
+ function v() {
484
+ const p = {};
485
+ for (const [g, y] of Object.entries(t.value)) {
486
+ const S = g === de ? "" : g;
487
487
  if (y.bundles)
488
488
  for (const w of y.bundles) {
489
489
  if (w.length < 2)
490
490
  throw new Error(
491
491
  `Bundle must contain at least 2 fields. Found ${w.length} field(s) in bundle: [${w.join(", ")}]`
492
492
  );
493
- const $ = w.map((R) => S ? L(S, R) : R);
493
+ const $ = w.map((R) => S ? C(S, R) : R);
494
494
  s($, `Bundle [${w.join(", ")}]`);
495
- const I = i(w, S) || ce;
496
- m[I] || (m[I] = {}), m[I].bundles || (m[I].bundles = []);
497
- const j = $.map((R) => u(R, I));
498
- m[I].bundles.push(j);
495
+ const I = i(w, S) || de;
496
+ p[I] || (p[I] = {}), p[I].bundles || (p[I].bundles = []);
497
+ const j = $.map((R) => c(R, I));
498
+ p[I].bundles.push(j);
499
499
  }
500
500
  if (y.dependencies)
501
501
  for (const [w, [$, I]] of Object.entries(y.dependencies)) {
502
- const j = S ? L(S, w) : w, R = S ? L(S, $) : $;
502
+ const j = S ? C(S, w) : w, R = S ? C(S, $) : $;
503
503
  s(
504
504
  [j, R],
505
505
  `Dependency '${w}' -> '${$}'`
506
506
  );
507
- const O = v(j) || ce;
508
- m[O] || (m[O] = {}), m[O].dependencies || (m[O].dependencies = {});
509
- const M = u(j, O), C = u(R, O);
510
- m[O].dependencies[M] = [C, I];
507
+ const O = m(j) || de;
508
+ p[O] || (p[O] = {}), p[O].dependencies || (p[O].dependencies = {});
509
+ const M = c(j, O), L = c(R, O);
510
+ p[O].dependencies[M] = [L, I];
511
511
  }
512
512
  }
513
- return c(m), d(m), m;
513
+ return u(p), d(p), p;
514
514
  }
515
- const f = k(() => {
515
+ const f = A(() => {
516
516
  try {
517
- return p();
518
- } catch (m) {
519
- return console.error("Invalid render rules:", m instanceof Error ? m.message : String(m)), {};
517
+ return v();
518
+ } catch (p) {
519
+ return console.error("Invalid render rules:", p instanceof Error ? p.message : String(p)), {};
520
520
  }
521
521
  });
522
- function g(m) {
523
- if (!m)
522
+ function h(p) {
523
+ if (!p)
524
524
  return f.value;
525
- const A = ge(m, e());
526
- return f.value[A];
527
- }
528
- function V(m) {
529
- let A = !1;
530
- return k(() => {
531
- if (A) return;
532
- const y = N(m);
525
+ const g = ge(p, e());
526
+ return f.value[g];
527
+ }
528
+ function _(p) {
529
+ let g = !1;
530
+ return A(() => {
531
+ if (g) return;
532
+ const y = N(p);
533
533
  try {
534
- return g(y);
534
+ return h(y);
535
535
  } catch (S) {
536
- A = !0, console.error(`Failed to get render rules for path: \`${y}\`,`, S instanceof Error ? S.message : "");
536
+ g = !0, console.error(`Failed to get render rules for path: \`${y}\`,`, S instanceof Error ? S.message : "");
537
537
  return;
538
538
  }
539
539
  });
540
540
  }
541
- const E = k(
541
+ const E = A(
542
542
  () => Object.values(f.value).some(
543
- (m) => m.dependencies && Object.keys(m.dependencies).length > 0
543
+ (p) => p.dependencies && Object.keys(p.dependencies).length > 0
544
544
  )
545
545
  );
546
- function h(m) {
546
+ function b(p) {
547
547
  const {
548
- fieldPath: A,
548
+ fieldPath: g,
549
549
  rules: y,
550
550
  omittedFields: S
551
- } = m, w = kt("omit-");
551
+ } = p, w = kt("omit-");
552
552
  te([
553
553
  () => N(y),
554
- () => N(A),
554
+ () => N(g),
555
555
  () => N(S)
556
556
  ], ([I, j, R], [, O]) => {
557
- I ? t.value[j] = I : delete t.value[j], o(j, w, R), O && O !== j && (delete t.value[O], r(O, w));
557
+ I ? t.value[j] = I : delete t.value[j], r(j, w, R), O && O !== j && (delete t.value[O], o(O, w));
558
558
  }, { immediate: !0, deep: !0 });
559
- const $ = V(A);
559
+ const $ = _(g);
560
560
  return Kt(() => {
561
- const I = N(A);
562
- delete t.value[I], r(I, w);
561
+ const I = N(g);
562
+ delete t.value[I], o(I, w);
563
563
  }), $;
564
564
  }
565
- function _(m) {
566
- const A = z(m);
567
- if (!A.length) return !1;
568
- const y = A[A.length - 1], S = L(...A.slice(0, -1)), w = l.value[S];
565
+ function V(p) {
566
+ const g = z(p);
567
+ if (!g.length) return !1;
568
+ const y = g[g.length - 1], S = C(...g.slice(0, -1)), w = l.value[S];
569
569
  if (w) {
570
- const C = Object.values(w);
571
- if (C.length && C.every((K) => K.includes(y))) return !1;
570
+ const L = Object.values(w);
571
+ if (L.length && L.every((K) => K.includes(y))) return !1;
572
572
  }
573
- const $ = S === "" ? ce : ge(S, e()), I = f.value[$]?.dependencies?.[y];
573
+ const $ = S === "" ? de : ge(S, e()), I = f.value[$]?.dependencies?.[y];
574
574
  if (!I) return !1;
575
- const [j, R] = I, O = S ? L(S, j) : j, M = Se(n(), z(O));
575
+ const [j, R] = I, O = S ? C(S, j) : j, M = Se(n(), z(O));
576
576
  return !Pa(M, R);
577
577
  }
578
578
  return {
579
- useCurrentRules: h,
580
- createComputedRules: V,
579
+ useCurrentRules: b,
580
+ createComputedRules: _,
581
581
  hasDependencies: E,
582
- isFieldHidden: _
582
+ isFieldHidden: V
583
583
  };
584
584
  }
585
- const Le = "expressions", Re = "";
585
+ const Ke = "expressions", Re = "";
586
586
  function Fa(e) {
587
587
  const n = z(Qe(e));
588
588
  if (!(n.length < 2))
589
- return L(Le, ...n.slice(1));
589
+ return C(Ke, ...n.slice(1));
590
590
  }
591
591
  function ja(e, n) {
592
592
  const t = z(Qe(e));
593
- if (!(t[0] !== Le || t.length < 2))
594
- return L(n, ...t.slice(1));
593
+ if (!(t[0] !== Ke || t.length < 2))
594
+ return C(n, ...t.slice(1));
595
595
  }
596
- function Oa(e) {
596
+ function Ma(e) {
597
597
  const n = e?.fields;
598
598
  if (Array.isArray(n))
599
599
  for (const t of n) {
600
600
  const l = Object.keys(t)[0];
601
- if (l === Le) continue;
602
- const o = t[l];
603
- if (!(o?.type !== "record" || !Array.isArray(o.fields)) && o.fields.some((r) => r[Object.keys(r)[0]]?.expressible === !0))
601
+ if (l === Ke) continue;
602
+ const r = t[l];
603
+ if (!(r?.type !== "record" || !Array.isArray(r.fields)) && r.fields.some((o) => o[Object.keys(o)[0]]?.expressible === !0))
604
604
  return l;
605
605
  }
606
606
  }
607
- function Ma(e) {
607
+ function Oa(e) {
608
608
  return !!e && e.type === "string" && "expressible_kong_type" in e;
609
609
  }
610
610
  let xa = 0;
611
- function Ka() {
611
+ function La() {
612
612
  return `kid:${++xa}`;
613
613
  }
614
- function La(e) {
615
- const n = ht(/* @__PURE__ */ new Map());
614
+ function Ka(e) {
615
+ const n = bt(/* @__PURE__ */ new Map());
616
616
  function t(i = "") {
617
- const u = Ka();
618
- return n.set(u, i), u;
617
+ const c = La();
618
+ return n.set(c, i), c;
619
619
  }
620
620
  function l(i) {
621
621
  return n.get(i);
622
622
  }
623
- function o(i, u) {
624
- n.has(i) && n.set(i, u);
623
+ function r(i, c) {
624
+ n.has(i) && n.set(i, c);
625
625
  }
626
- function r(i) {
626
+ function o(i) {
627
627
  n.delete(i);
628
628
  }
629
629
  function s(i) {
630
630
  return Ra(i, e, t);
631
631
  }
632
- function c(i) {
632
+ function u(i) {
633
633
  return Ca(i, e, l);
634
634
  }
635
635
  function d() {
@@ -638,154 +638,154 @@ function La(e) {
638
638
  return {
639
639
  createKey: t,
640
640
  getKey: l,
641
- updateKey: o,
642
- deleteKey: r,
641
+ updateKey: r,
642
+ deleteKey: o,
643
643
  serialize: s,
644
- deserialize: c,
644
+ deserialize: u,
645
645
  clear: d
646
646
  };
647
647
  }
648
648
  function Ra(e, n, t) {
649
- const l = (o, r) => {
650
- if (o == null || typeof o != "object")
651
- return o;
652
- if (Array.isArray(o))
653
- return o.map((d, i) => {
654
- const u = r ? L(r, `${i}`) : `${i}`;
655
- return l(d, u);
649
+ const l = (r, o) => {
650
+ if (r == null || typeof r != "object")
651
+ return r;
652
+ if (Array.isArray(r))
653
+ return r.map((d, i) => {
654
+ const c = o ? C(o, `${i}`) : `${i}`;
655
+ return l(d, c);
656
656
  });
657
- if ((r ? n(r) : n())?.type === "map") {
658
- const d = o, i = {};
659
- return Object.keys(d).forEach((u) => {
660
- const v = t(u), p = d[u], f = r ? L(r, u) : u;
661
- i[v] = l(p, f);
657
+ if ((o ? n(o) : n())?.type === "map") {
658
+ const d = r, i = {};
659
+ return Object.keys(d).forEach((c) => {
660
+ const m = t(c), v = d[c], f = o ? C(o, c) : c;
661
+ i[m] = l(v, f);
662
662
  }), i;
663
663
  }
664
- const c = {};
665
- return Object.keys(o).forEach((d) => {
666
- const i = r ? L(r, d) : d;
667
- c[d] = l(o[d], i);
668
- }), c;
664
+ const u = {};
665
+ return Object.keys(r).forEach((d) => {
666
+ const i = o ? C(o, d) : d;
667
+ u[d] = l(r[d], i);
668
+ }), u;
669
669
  };
670
670
  return l(e);
671
671
  }
672
672
  function Ca(e, n, t) {
673
- const l = (o, r) => {
674
- if (o == null || typeof o != "object")
675
- return o;
676
- if (Array.isArray(o))
677
- return o.map((d, i) => {
678
- const u = r ? L(r, `${i}`) : `${i}`;
679
- return l(d, u);
673
+ const l = (r, o) => {
674
+ if (r == null || typeof r != "object")
675
+ return r;
676
+ if (Array.isArray(r))
677
+ return r.map((d, i) => {
678
+ const c = o ? C(o, `${i}`) : `${i}`;
679
+ return l(d, c);
680
680
  });
681
- if ((r ? n(r) : n())?.type === "map") {
682
- const d = o, i = {};
683
- return Object.keys(d).forEach((u) => {
684
- const v = u, p = d[v], f = t(v);
681
+ if ((o ? n(o) : n())?.type === "map") {
682
+ const d = r, i = {};
683
+ return Object.keys(d).forEach((c) => {
684
+ const m = c, v = d[m], f = t(m);
685
685
  if (f == null) {
686
- console.error(`[FreeForm] Missing name for key ID: ${String(v)}`);
686
+ console.error(`[FreeForm] Missing name for key ID: ${String(m)}`);
687
687
  return;
688
688
  }
689
- const g = f || Xe, V = r ? L(r, g) : g;
690
- i[f] = l(p, V);
689
+ const h = f || Xe, _ = o ? C(o, h) : h;
690
+ i[f] = l(v, _);
691
691
  }), i;
692
692
  }
693
- const c = {};
694
- return Object.keys(o).forEach((d) => {
695
- const i = r ? L(r, d) : d;
696
- c[d] = l(o[d], i);
697
- }), c;
693
+ const u = {};
694
+ return Object.keys(r).forEach((d) => {
695
+ const i = o ? C(o, d) : d;
696
+ u[d] = l(r[d], i);
697
+ }), u;
698
698
  };
699
699
  return l(e);
700
700
  }
701
701
  function Ba(e) {
702
702
  return /^kid:\d+$/.test(e);
703
703
  }
704
- const [Da, Na] = Ht(
704
+ const [Da, Na] = Ut(
705
705
  function(n) {
706
706
  const {
707
707
  schema: t,
708
708
  propsData: l,
709
- onChange: o,
710
- propsRenderRules: r,
709
+ onChange: r,
710
+ propsRenderRules: o,
711
711
  propsConfig: s
712
712
  } = n, {
713
- getDefault: c,
713
+ getDefault: u,
714
714
  getEmptyOrDefault: d,
715
715
  ...i
716
- } = Ia(t, () => N(s)), u = La(i.getSchema), v = /* @__PURE__ */ new Map(), p = ht({}), f = q(() => N(s) ?? {}), g = we();
717
- je(ze, Nt(g, "default", Ee));
716
+ } = Ia(t, () => N(s)), c = Ka(i.getSchema), m = /* @__PURE__ */ new Map(), v = bt({}), f = q(() => N(s) ?? {}), h = we();
717
+ je(ze, qt(h, "default", Ee));
718
718
  const {
719
- useCurrentRules: V,
719
+ useCurrentRules: _,
720
720
  createComputedRules: E,
721
- hasDependencies: h,
722
- isFieldHidden: _
723
- } = Ta(i.getSchemaMap, () => p), m = V({
724
- fieldPath: ce,
725
- rules: r
721
+ hasDependencies: b,
722
+ isFieldHidden: V
723
+ } = Ta(i.getSchemaMap, () => v), p = _({
724
+ fieldPath: de,
725
+ rules: o
726
726
  });
727
- function A(K) {
728
- Object.keys(p).forEach((J) => {
729
- delete p[J];
730
- }), u.clear(), Object.assign(p, u.serialize(K));
727
+ function g(K) {
728
+ Object.keys(v).forEach((J) => {
729
+ delete v[J];
730
+ }), c.clear(), Object.assign(v, c.serialize(K));
731
731
  }
732
732
  const y = re(!1);
733
733
  function S(K) {
734
734
  let J;
735
- !K || !I(N(K)) ? (y.value = !0, J = c()) : (y.value = !1, J = at(N(K))), nt(f.value.prepareFormData) ? A(f.value.prepareFormData(J)) : A(J);
735
+ !K || !I(N(K)) ? (y.value = !0, J = u()) : (y.value = !1, J = at(N(K))), nt(f.value.prepareFormData) ? g(f.value.prepareFormData(J)) : g(J);
736
736
  }
737
- const w = Oa(t);
737
+ const w = Ma(t);
738
738
  function $(K) {
739
- if (_(K)) return !0;
739
+ if (V(K)) return !0;
740
740
  const J = w && ja(K, w);
741
- return !!J && _(J);
741
+ return !!J && V(J);
742
742
  }
743
743
  function I(K) {
744
744
  return nt(f.value.hasValue) ? f.value.hasValue(K) : !!K;
745
745
  }
746
746
  function j() {
747
- const K = at(N(p));
748
- return h.value && $t(
747
+ const K = at(N(v));
748
+ return b.value && _t(
749
749
  K,
750
750
  $,
751
751
  d
752
- ), u.deserialize(K);
752
+ ), c.deserialize(K);
753
753
  }
754
- te(p, () => {
755
- o?.(j());
754
+ te(v, () => {
755
+ r?.(j());
756
756
  }, { deep: !0 });
757
757
  let R = !1;
758
758
  te(() => l?.value, (K) => {
759
- R && be(j(), N(K)) || (S(K), R = !0);
759
+ R && ye(j(), N(K)) || (S(K), R = !0);
760
760
  }, { deep: !0, immediate: !0 });
761
761
  function O(K) {
762
- return K != null && typeof K == "object" && !Array.isArray(K) ? u.serialize(K) : K;
762
+ return K != null && typeof K == "object" && !Array.isArray(K) ? c.serialize(K) : K;
763
763
  }
764
764
  function M(K) {
765
- return O(c(K));
765
+ return O(u(K));
766
766
  }
767
- function C(K) {
767
+ function L(K) {
768
768
  return O(d(K));
769
769
  }
770
770
  return {
771
771
  /**
772
772
  * The reactive form data object
773
773
  */
774
- formData: p,
774
+ formData: v,
775
775
  isSchemaDefaulted: y,
776
776
  schema: t,
777
777
  config: f,
778
- fieldRendererRegistry: v,
779
- setValue: A,
780
- useCurrentRenderRules: V,
781
- rootRenderRules: m,
778
+ fieldRendererRegistry: m,
779
+ setValue: g,
780
+ useCurrentRenderRules: _,
781
+ rootRenderRules: p,
782
782
  createComputedRenderRules: E,
783
783
  ...i,
784
784
  getValue: j,
785
- isFieldHidden: _,
786
- keyIdMap: u,
785
+ isFieldHidden: V,
786
+ keyIdMap: c,
787
787
  getDefault: M,
788
- getEmptyOrDefault: C
788
+ getEmptyOrDefault: L
789
789
  };
790
790
  }
791
791
  );
@@ -796,78 +796,79 @@ function ae() {
796
796
  return e;
797
797
  }
798
798
  function qa(e) {
799
- const { getSchema: n, getEmptyValue: t, isFieldHidden: l, formData: o } = ae(), r = k(() => Qe(N(e))), s = k(() => Fa(r.value)), c = k(() => s.value ? n(s.value) : void 0), d = k(() => {
800
- if (n(r.value)?.expressible) return !0;
801
- const _ = z(r.value);
802
- if (_.length < 2) return !1;
803
- const m = n(L(..._.slice(0, -1)));
804
- return m?.type === "array" && !!m.expressible;
805
- }), i = k(() => d.value && Ma(c.value)), u = k({
806
- get: () => s.value ? Se(o, z(s.value)) : void 0,
807
- set: (_) => {
808
- if (s.value) {
809
- if (V.value) {
810
- v(_);
799
+ const { getSchema: n, getEmptyValue: t, isFieldHidden: l, formData: r, getFieldVersionInfo: o } = ae(), s = A(() => Qe(N(e))), u = A(() => Fa(s.value)), d = A(() => u.value ? n(u.value) : void 0), i = A(() => {
800
+ if (n(s.value)?.expressible) return !0;
801
+ const g = z(s.value);
802
+ if (g.length < 2) return !1;
803
+ const y = n(C(...g.slice(0, -1)));
804
+ return y?.type === "array" && !!y.expressible;
805
+ }), c = A(() => i.value && Oa(d.value)), m = A({
806
+ get: () => u.value ? Se(r, z(u.value)) : void 0,
807
+ set: (g) => {
808
+ if (u.value) {
809
+ if (b.value) {
810
+ v(g);
811
811
  return;
812
812
  }
813
- qe(o, z(s.value), _);
813
+ qe(r, z(u.value), g);
814
814
  }
815
815
  }
816
816
  });
817
- function v(_) {
818
- const m = z(s.value), A = Number(m[m.length - 1]), y = m.slice(0, -1), S = Se(o, z(r.value).slice(0, -1)), w = Math.max(
819
- Array.isArray(S) ? S.length : 0,
820
- A + 1
821
- ), $ = Se(o, y), I = Array.from({ length: w }, (j, R) => {
822
- const O = Array.isArray($) ? $[R] : void 0;
823
- return typeof O == "string" ? O : Re;
817
+ function v(g) {
818
+ const y = z(u.value), S = Number(y[y.length - 1]), w = y.slice(0, -1), $ = Se(r, z(s.value).slice(0, -1)), I = Math.max(
819
+ Array.isArray($) ? $.length : 0,
820
+ S + 1
821
+ ), j = Se(r, w), R = Array.from({ length: I }, (O, M) => {
822
+ const L = Array.isArray(j) ? j[M] : void 0;
823
+ return typeof L == "string" ? L : Re;
824
824
  });
825
- I[A] = _ ?? Re, qe(o, y, I);
825
+ R[S] = g ?? Re, qe(r, w, R);
826
826
  }
827
- const p = k(() => typeof u.value == "string" && u.value !== ""), f = k(() => c.value?.expressible_kong_type), g = k(() => l(r.value)), V = k(() => {
828
- if (!s.value) return !1;
829
- const _ = z(s.value);
830
- return _.length < 2 ? !1 : n(L(..._.slice(0, -1)))?.type === "array";
831
- }), E = k(() => V.value ? Re : t());
832
- function h() {
833
- u.value = E.value;
827
+ const f = A(() => typeof m.value == "string" && m.value !== ""), h = A(() => d.value?.expressible_kong_type), _ = A(() => l(s.value)), E = A(() => o(s.value) ?? (u.value ? o(u.value) : void 0)), b = A(() => {
828
+ if (!u.value) return !1;
829
+ const g = z(u.value);
830
+ return g.length < 2 ? !1 : n(C(...g.slice(0, -1)))?.type === "array";
831
+ }), V = A(() => b.value ? Re : t());
832
+ function p() {
833
+ m.value = V.value;
834
834
  }
835
835
  return {
836
- available: i,
837
- expressionPath: s,
838
- schema: c,
839
- value: u,
840
- hasExpression: p,
841
- kongType: f,
842
- hide: g,
843
- isArrayElement: V,
844
- emptyValue: E,
845
- clear: h
836
+ available: c,
837
+ expressionPath: u,
838
+ schema: d,
839
+ value: m,
840
+ hasExpression: f,
841
+ kongType: h,
842
+ hide: _,
843
+ isArrayElement: b,
844
+ emptyValue: V,
845
+ clear: p,
846
+ versionInfo: E
846
847
  };
847
848
  }
848
849
  const Ze = (e) => {
849
- const n = ke(rt, k(() => "")), t = k(() => {
850
+ const n = ke(ot, A(() => "")), t = A(() => {
850
851
  const l = N(e);
851
- let o = l;
852
- return !st(l) && n.value && (o = L(n.value, l)), st(l) && (o = o.slice(Ae("").length)), o;
852
+ let r = l;
853
+ return !st(l) && n.value && (r = C(n.value, l)), st(l) && (r = r.slice(Ae("").length)), r;
853
854
  });
854
- return je(rt, t), t;
855
+ return je(ot, t), t;
855
856
  }, Ha = (e) => {
856
- const { getSchema: n, getSchemaMap: t, fieldRendererRegistry: l } = ae(), { default: o, ...r } = we(), s = ke(ze), c = [Ee, "item", "label", "tooltip"], d = k(() => {
857
- const i = N(s), u = t(), v = Object.keys(r).filter((p) => !c.includes(p)).reduce((p, f) => {
858
- const g = ge(L(N(e), f), u);
859
- return { ...p, [g]: r[f] };
857
+ const { getSchema: n, getSchemaMap: t, fieldRendererRegistry: l } = ae(), { default: r, ...o } = we(), s = ke(ze), u = [Ee, "item", "label", "tooltip"], d = A(() => {
858
+ const i = N(s), c = t(), m = Object.keys(o).filter((v) => !u.includes(v)).reduce((v, f) => {
859
+ const h = ge(C(N(e), f), c);
860
+ return { ...v, [h]: o[f] };
860
861
  }, {});
861
- return i ? { ...i, ...v } : v;
862
+ return i ? { ...i, ...m } : m;
862
863
  });
863
- return je(ze, d), k(() => {
864
- if (o) return;
865
- const i = N(e), u = d.value[ge(i, t())];
866
- if (u) return u;
867
- const v = t();
868
- for (const [p, f] of l) {
869
- const g = ge(i, v);
870
- if (p({ path: i, genericPath: g, schema: n(i) }))
864
+ return je(ze, d), A(() => {
865
+ if (r) return;
866
+ const i = N(e), c = d.value[ge(i, t())];
867
+ if (c) return c;
868
+ const m = t();
869
+ for (const [v, f] of l) {
870
+ const h = ge(i, m);
871
+ if (v({ path: i, genericPath: h, schema: n(i) }))
871
872
  return f;
872
873
  }
873
874
  });
@@ -875,26 +876,26 @@ const Ze = (e) => {
875
876
  function za(e) {
876
877
  const { formData: n } = ae(), t = Ze(e);
877
878
  return {
878
- value: k({
879
+ value: A({
879
880
  get: () => Se(n, z(t.value)),
880
- set: (o) => qe(n, z(t.value), o)
881
+ set: (r) => qe(n, z(t.value), r)
881
882
  })
882
883
  };
883
884
  }
884
885
  function ne(e) {
885
- const { getSchema: n, isFieldHidden: t, getEmptyOrDefault: l, getEmptyValue: o, getFieldVersionInfo: r } = ae(), s = Ze(e), c = Ha(s), { value: d } = za(e), i = k(() => n(s.value)), u = k(() => t(s.value)), v = k(() => r(s.value)), p = k(() => l(s.value)), f = k(() => o());
886
+ const { getSchema: n, isFieldHidden: t, getEmptyOrDefault: l, getEmptyValue: r, getFieldVersionInfo: o } = ae(), s = Ze(e), u = Ha(s), { value: d } = za(e), i = A(() => n(s.value)), c = A(() => t(s.value)), m = A(() => o(s.value)), v = A(() => l(s.value)), f = A(() => r());
886
887
  return i.value ? {
887
888
  schema: i,
888
889
  path: s,
889
- renderer: c,
890
+ renderer: u,
890
891
  value: d,
891
- ancestors: St(s),
892
+ ancestors: wt(s),
892
893
  /**
893
894
  * Hide the field but keep its state.
894
895
  */
895
- hide: u,
896
- versionInfo: v,
897
- emptyOrDefaultValue: p,
896
+ hide: c,
897
+ versionInfo: m,
898
+ emptyOrDefaultValue: v,
898
899
  emptyValue: f,
899
900
  error: null
900
901
  } : {
@@ -903,30 +904,30 @@ function ne(e) {
903
904
  }
904
905
  function Wa(e, n) {
905
906
  const t = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new Map();
906
- function o() {
907
+ function r() {
907
908
  return kt(`${e}-`);
908
909
  }
909
- function r(s, c) {
910
+ function o(s, u) {
910
911
  if (s == null || typeof s != "object")
911
- return `${e}-${c}`;
912
+ return `${e}-${u}`;
912
913
  if (t.has(s))
913
914
  return t.get(s);
914
- const d = l.has(c) ? l.get(c) : o();
915
- return l.set(c, d), t.set(s, d), d;
915
+ const d = l.has(u) ? l.get(u) : r();
916
+ return l.set(u, d), t.set(s, d), d;
916
917
  }
917
918
  return te(n, (s) => {
918
- const c = N(s), d = /* @__PURE__ */ new Set();
919
- c.forEach((i, u) => {
920
- d.add(u);
919
+ const u = N(s), d = /* @__PURE__ */ new Set();
920
+ u.forEach((i, c) => {
921
+ d.add(c);
921
922
  }), Array.from(l.keys()).forEach((i) => {
922
923
  d.has(i) || l.delete(i);
923
924
  });
924
- }, { immediate: !0, deep: !0 }), { getKey: r };
925
+ }, { immediate: !0, deep: !0 }), { getKey: o };
925
926
  }
926
- function Il(e, n) {
927
+ function Tl(e, n) {
927
928
  te(e, (t) => {
928
- window[Ve] || (window[Ve] = {}), window[Ve][n] = yt(t);
929
- }, { immediate: !0, deep: !0 }), Lt(() => {
929
+ window[Ve] || (window[Ve] = {}), window[Ve][n] = ht(t);
930
+ }, { immediate: !0, deep: !0 }), Rt(() => {
930
931
  window[Ve] && delete window[Ve][n];
931
932
  });
932
933
  }
@@ -972,120 +973,120 @@ const Ja = {
972
973
  redis: "Redis",
973
974
  uris: "URIs"
974
975
  };
975
- function It(e) {
976
+ function Pt(e) {
976
977
  return Ja[e.toLocaleLowerCase()] ?? e;
977
978
  }
978
- function Pt(e) {
979
- return e.split("_").map(It).join(" ");
979
+ function Tt(e) {
980
+ return e.split("_").map(Pt).join(" ");
980
981
  }
981
982
  function Ya(e, n) {
982
- const t = ke(ot, {
983
+ const t = ke(rt, {
983
984
  parentPath: null,
984
985
  isolate: !1
985
- }), { parentPath: l, isolate: o } = N(t), r = re(l ? L(l, e) : e), s = re({
986
- parentPath: r.value,
987
- isolate: o
986
+ }), { parentPath: l, isolate: r } = N(t), o = re(l ? C(l, e) : e), s = re({
987
+ parentPath: o.value,
988
+ isolate: r
988
989
  });
989
- return te([q(n), q(t)], ([c, d]) => {
990
- const { parentPath: i, isolate: u } = d, v = i ? L(i, e) : e;
991
- c ? {
990
+ return te([q(n), q(t)], ([u, d]) => {
991
+ const { parentPath: i, isolate: c } = d, m = i ? C(i, e) : e;
992
+ u ? {
992
993
  isolate: () => {
993
- r.value = e, s.value.isolate = !0, s.value.parentPath = null;
994
+ o.value = e, s.value.isolate = !0, s.value.parentPath = null;
994
995
  },
995
996
  "isolate-children": () => {
996
997
  s.value.isolate = !0, s.value.parentPath = null;
997
998
  },
998
999
  reset: () => {
999
- r.value = e, s.value.isolate = !1, s.value.parentPath = null;
1000
+ o.value = e, s.value.isolate = !1, s.value.parentPath = null;
1000
1001
  },
1001
1002
  "reset-children": () => {
1002
1003
  s.value.isolate = !1, s.value.parentPath = null;
1003
1004
  },
1004
1005
  inherit: () => {
1005
- r.value = v, s.value.isolate = !1, s.value.parentPath = v;
1006
+ o.value = m, s.value.isolate = !1, s.value.parentPath = m;
1006
1007
  }
1007
- }[c]?.() : u && (r.value = e, s.value.isolate = !0, s.value.parentPath = null);
1008
- }, { deep: !0, immediate: !0 }), je(ot, s), r;
1008
+ }[u]?.() : c && (o.value = e, s.value.isolate = !0, s.value.parentPath = null);
1009
+ }, { deep: !0, immediate: !0 }), je(rt, s), o;
1009
1010
  }
1010
- function Tt(e) {
1011
- return z(e).map((t) => t.split("_").map(It).join(" ")).map(qt).join(" › ");
1011
+ function Ft(e) {
1012
+ return z(e).map((t) => t.split("_").map(Pt).join(" ")).map(Ht).join(" › ");
1012
1013
  }
1013
1014
  function Ga(e, n) {
1014
- const t = N(e), l = ye(t), { config: o, getSchema: r } = ae(), s = Ya(l, n), c = St(e);
1015
- return k(() => {
1016
- const d = s.value ?? l, i = c.value.parent?.path ? r(c.value.parent.path) : null, u = i?.type === "array", v = i?.type === "map";
1017
- if (u || v)
1015
+ const t = N(e), l = he(t), { config: r, getSchema: o } = ae(), s = Ya(l, n), u = wt(e);
1016
+ return A(() => {
1017
+ const d = s.value ?? l, i = u.value.parent?.path ? o(u.value.parent.path) : null, c = i?.type === "array", m = i?.type === "map";
1018
+ if (c || m)
1018
1019
  return "";
1019
- const p = Tt(d);
1020
- return o.value.transformLabel ? o.value.transformLabel(p, t) : p;
1020
+ const v = Ft(d);
1021
+ return r.value.transformLabel ? r.value.transformLabel(v, t) : v;
1021
1022
  });
1022
1023
  }
1023
- function oe(e, n) {
1024
- const { getLabelAttributes: t, getPlaceholder: l, getSchema: o } = ae(), r = N(e), s = N(n), c = Ga(e, q(() => N(n).resetLabelPath));
1025
- return k(() => ({
1024
+ function ie(e, n) {
1025
+ const { getLabelAttributes: t, getPlaceholder: l, getSchema: r } = ae(), o = N(e), s = N(n), u = Ga(e, q(() => N(n).resetLabelPath));
1026
+ return A(() => ({
1026
1027
  ...s,
1027
- placeholder: s.placeholder ?? l(r) ?? void 0,
1028
- labelAttributes: s.labelAttributes ?? t(r),
1029
- label: s.label ?? c.value,
1030
- required: s.required ?? o(r)?.required
1028
+ placeholder: s.placeholder ?? l(o) ?? void 0,
1029
+ labelAttributes: s.labelAttributes ?? t(o),
1030
+ label: s.label ?? u.value,
1031
+ required: s.required ?? r(o)?.required
1031
1032
  }));
1032
1033
  }
1033
1034
  function Xa(e, n) {
1034
- const { value: t, ...l } = ne(e), { getEmptyOrDefault: o, keyIdMap: r } = ae(), s = k(() => {
1035
+ const { value: t, ...l } = ne(e), { getEmptyOrDefault: r, keyIdMap: o } = ae(), s = A(() => {
1035
1036
  if (l.path)
1036
1037
  return l.schema.value.values;
1037
- }), c = k(() => t ? Object.keys(t.value || {}).map((g) => {
1038
- const V = g, E = r.getKey(V) ?? "";
1039
- return [V, E];
1038
+ }), u = A(() => t ? Object.keys(t.value || {}).map((h) => {
1039
+ const _ = h, E = o.getKey(_) ?? "";
1040
+ return [_, E];
1040
1041
  }) : []);
1041
- function d(f, g) {
1042
- t && (r.updateKey(f, g), t.value = { ...t.value });
1042
+ function d(f, h) {
1043
+ t && (o.updateKey(f, h), t.value = { ...t.value });
1043
1044
  }
1044
1045
  function i() {
1045
1046
  if (!t) return;
1046
- const f = r.createKey(), g = o(L(l.path.value, f));
1047
+ const f = o.createKey(), h = r(C(l.path.value, f));
1047
1048
  return t.value = {
1048
1049
  ...t.value,
1049
- [f]: g
1050
+ [f]: h
1050
1051
  }, f;
1051
1052
  }
1052
- function u(f) {
1053
- if (r.deleteKey(f), !t) return;
1054
- const { [f]: g, ...V } = t.value || {};
1055
- Object.keys(V).length === 0 ? t.value = l.schema?.value?.required ? {} : l.emptyValue.value : t.value = V;
1053
+ function c(f) {
1054
+ if (o.deleteKey(f), !t) return;
1055
+ const { [f]: h, ..._ } = t.value || {};
1056
+ Object.keys(_).length === 0 ? t.value = l.schema?.value?.required ? {} : l.emptyValue.value : t.value = _;
1056
1057
  }
1057
- function v(f) {
1058
- return r.getKey(f);
1058
+ function m(f) {
1059
+ return o.getKey(f);
1059
1060
  }
1060
- const p = k(() => {
1061
+ const v = A(() => {
1061
1062
  if (!l.path) return "";
1062
- const f = ye(l.path.value);
1063
- let g = f;
1064
- return Ba(f) && (g = r.getKey(f) ?? ""), Pt(g);
1063
+ const f = he(l.path.value);
1064
+ let h = f;
1065
+ return Ba(f) && (h = o.getKey(f) ?? ""), Tt(h);
1065
1066
  });
1066
1067
  if (n && s.value?.type === "string") {
1067
1068
  let f = function() {
1068
1069
  if (!t || !t.value) return null;
1069
- const V = {};
1070
- for (const [E, h] of Object.entries(t.value)) {
1071
- const _ = r.getKey(E);
1072
- _ && (V[_] = h);
1070
+ const _ = {};
1071
+ for (const [E, b] of Object.entries(t.value)) {
1072
+ const V = o.getKey(E);
1073
+ V && (_[V] = b);
1073
1074
  }
1074
- return V;
1075
- }, g = null;
1076
- te(() => t?.value, (V) => {
1075
+ return _;
1076
+ }, h = null;
1077
+ te(() => t?.value, (_) => {
1077
1078
  const E = f();
1078
- be(g, E) || (g = E, n?.(E));
1079
+ ye(h, E) || (h = E, n?.(E));
1079
1080
  }, { deep: !0 });
1080
1081
  }
1081
1082
  return {
1082
- keys: c,
1083
+ keys: u,
1083
1084
  updateKey: d,
1084
1085
  addKey: i,
1085
- removeKey: u,
1086
+ removeKey: c,
1086
1087
  field: l,
1087
- fieldDisplayName: p,
1088
- getKeyName: v
1088
+ fieldDisplayName: v,
1089
+ getKeyName: m
1089
1090
  };
1090
1091
  }
1091
1092
  const _e = /* @__PURE__ */ Y({
@@ -1097,26 +1098,26 @@ const _e = /* @__PURE__ */ Y({
1097
1098
  },
1098
1099
  emits: ["update:modelValue"],
1099
1100
  setup(e, { emit: n }) {
1100
- const t = e, l = he(), o = n, r = k(() => t.multiline ? Yt : t.secret ? la : Gt), s = k(() => l.characterLimit ?? (t.multiline ? !1 : void 0)), c = re(t.modelValue);
1101
- te(() => t.modelValue, (v) => {
1102
- c.value = v;
1101
+ const t = e, l = be(), r = n, o = A(() => t.multiline ? Gt : t.secret ? la : Xt), s = A(() => l.characterLimit ?? (t.multiline ? !1 : void 0)), u = re(t.modelValue);
1102
+ te(() => t.modelValue, (m) => {
1103
+ u.value = m;
1103
1104
  });
1104
- const { config: d } = ae(), i = (v) => {
1105
- v !== c.value && (c.value = v, d.value.updateOnChange || o("update:modelValue", v));
1106
- }, u = () => {
1107
- d.value.updateOnChange && o("update:modelValue", c.value);
1105
+ const { config: d } = ae(), i = (m) => {
1106
+ m !== u.value && (u.value = m, d.value.updateOnChange || r("update:modelValue", m));
1107
+ }, c = () => {
1108
+ d.value.updateOnChange && r("update:modelValue", u.value);
1108
1109
  };
1109
- return (v, p) => (b(), F(a(r), G(v.$attrs, {
1110
+ return (m, v) => (k(), F(a(o), G(m.$attrs, {
1110
1111
  "character-limit": s.value,
1111
1112
  "model-value": e.modelValue,
1112
1113
  resizable: e.multiline ? !0 : void 0,
1113
- onChange: u,
1114
+ onChange: c,
1114
1115
  "onUpdate:modelValue": i
1115
1116
  }), X({ _: 2 }, [
1116
- de(we(), (f, g) => ({
1117
- name: g,
1118
- fn: P((V) => [
1119
- B(v.$slots, g, Je(bt(V)))
1117
+ fe(we(), (f, h) => ({
1118
+ name: h,
1119
+ fn: P((_) => [
1120
+ D(m.$slots, h, Je(yt(_)))
1120
1121
  ])
1121
1122
  }))
1122
1123
  ]), 1040, ["character-limit", "model-value", "resizable"]));
@@ -1126,7 +1127,10 @@ const _e = /* @__PURE__ */ Y({
1126
1127
  }, Za = ["data-expression-for", "data-testid"], en = {
1127
1128
  key: 1,
1128
1129
  class: "ff-expression-editor-expanded"
1129
- }, tn = /* @__PURE__ */ Y({
1130
+ }, tn = {
1131
+ key: 0,
1132
+ class: "ff-version-compatibility-note"
1133
+ }, an = ["innerHTML"], nn = /* @__PURE__ */ Y({
1130
1134
  name: "ExpressionEditor",
1131
1135
  __name: "ExpressionEditor",
1132
1136
  props: {
@@ -1134,59 +1138,67 @@ const _e = /* @__PURE__ */ Y({
1134
1138
  placeholder: {}
1135
1139
  },
1136
1140
  setup(e) {
1137
- const { i18n: n, i18nT: t } = me(), l = Ze(q(() => e.name)), o = qa(l), r = k(() => Ae(o.expressionPath.value)), s = re(o.hasExpression.value);
1138
- te(o.hasExpression, (p) => {
1139
- p && (s.value = !0);
1141
+ const { i18n: n, i18nT: t } = me(), l = Ze(q(() => e.name)), r = qa(l), o = A(() => Ae(r.expressionPath.value)), s = r.versionInfo, u = A(() => !!s.value), d = re(r.hasExpression.value);
1142
+ te(r.hasExpression, (h) => {
1143
+ h && (d.value = !0);
1140
1144
  });
1141
- const c = {
1145
+ const i = {
1142
1146
  string: "expression.returns.string",
1143
1147
  number: "expression.returns.number",
1144
1148
  integer: "expression.returns.integer",
1145
1149
  boolean: "expression.returns.boolean"
1146
- }, d = k(() => {
1147
- const p = o.kongType.value;
1148
- return p && p in c ? c[p] : "expression.returns.unknown";
1149
- }), i = k(() => ({
1150
+ }, c = A(() => {
1151
+ const h = r.kongType.value;
1152
+ return h && h in i ? i[h] : "expression.returns.unknown";
1153
+ }), m = A(() => ({
1150
1154
  info: n.t("expression.info"),
1151
1155
  tooltipAttributes: { maxWidth: "300px", placement: "top" },
1152
1156
  "data-testid": `ff-expression-label-${l.value}`
1153
1157
  }));
1154
- function u(p) {
1155
- o.value.value = p;
1158
+ function v(h) {
1159
+ r.value.value = h;
1156
1160
  }
1157
- function v() {
1158
- o.clear(), s.value = !1;
1161
+ function f() {
1162
+ r.clear(), d.value = !1;
1159
1163
  }
1160
- return (p, f) => a(o).available.value ? Z((b(), T("div", {
1164
+ return (h, _) => a(r).available.value ? Z((k(), T("div", {
1161
1165
  key: 0,
1162
1166
  class: "ff-expression-editor",
1163
- "data-expression-for": a(o).expressionPath.value,
1167
+ "data-expression-for": a(r).expressionPath.value,
1164
1168
  "data-testid": `ff-expression-${a(l)}`
1165
1169
  }, [
1166
- s.value ? (b(), T("div", en, [
1167
- D(et, {
1170
+ d.value ? (k(), T("div", en, [
1171
+ B(et, {
1168
1172
  class: "ff-expression-editor-input",
1173
+ disabled: u.value,
1169
1174
  label: a(n).t("expression.label"),
1170
- "label-attributes": i.value,
1175
+ "label-attributes": m.value,
1171
1176
  multiline: "",
1172
- name: r.value,
1177
+ name: o.value,
1173
1178
  placeholder: e.placeholder ?? "",
1174
1179
  rows: 3,
1175
- "onUpdate:modelValue": u
1180
+ "onUpdate:modelValue": v
1176
1181
  }, {
1182
+ tooltip: P(() => [
1183
+ a(s) ? (k(), T("p", tn, H(a(s).tooltip), 1)) : x("", !0),
1184
+ ce("div", {
1185
+ class: "ff-label-tooltip-info",
1186
+ innerHTML: m.value.info
1187
+ }, null, 8, an)
1188
+ ]),
1177
1189
  help: P(() => [
1178
- B(p.$slots, "help", {}, () => [
1179
- D(a(t), { keypath: "expression.help.text" }, {
1190
+ D(h.$slots, "help", {}, () => [
1191
+ B(a(t), { keypath: "expression.help.text" }, {
1180
1192
  type: P(() => [
1181
- le(H(a(n).t(d.value)), 1)
1193
+ se(H(a(n).t(c.value)), 1)
1182
1194
  ]),
1183
1195
  link: P(() => [
1184
- D(a(Xt), {
1196
+ B(a(Qt), {
1185
1197
  "hide-icon": "",
1186
1198
  href: a(Qa).condition
1187
1199
  }, {
1188
1200
  default: P(() => [
1189
- le(H(a(n).t("expression.help.learn")), 1)
1201
+ se(H(a(n).t("expression.help.learn")), 1)
1190
1202
  ]),
1191
1203
  _: 1
1192
1204
  }, 8, ["href"])
@@ -1196,49 +1208,60 @@ const _e = /* @__PURE__ */ Y({
1196
1208
  ], !0)
1197
1209
  ]),
1198
1210
  _: 3
1199
- }, 8, ["label", "label-attributes", "name", "placeholder"]),
1200
- D(a(lt), {
1211
+ }, 8, ["disabled", "label", "label-attributes", "name", "placeholder"]),
1212
+ B(a(lt), {
1201
1213
  appearance: "tertiary",
1202
1214
  "aria-label": a(n).t("expression.remove"),
1203
1215
  class: "ff-expression-editor-remove",
1204
1216
  "data-testid": `ff-expression-remove-${a(l)}`,
1217
+ disabled: u.value,
1205
1218
  icon: "",
1206
- onClick: v
1219
+ onClick: f
1207
1220
  }, {
1208
1221
  default: P(() => [
1209
- D(a(Ye))
1222
+ B(a(Ye))
1210
1223
  ]),
1211
1224
  _: 1
1212
- }, 8, ["aria-label", "data-testid"])
1213
- ])) : (b(), F(a(lt), {
1225
+ }, 8, ["aria-label", "data-testid", "disabled"])
1226
+ ])) : (k(), F(le(u.value ? a(At) : "div"), {
1214
1227
  key: 0,
1215
- appearance: "tertiary",
1216
- class: "ff-expression-editor-add",
1217
- "data-testid": `ff-expression-add-${a(l)}`,
1218
- onClick: f[0] || (f[0] = (g) => s.value = !0)
1228
+ "max-width": "300",
1229
+ text: a(s)?.tooltip
1219
1230
  }, {
1220
1231
  default: P(() => [
1221
- D(a(Fe)),
1222
- le(" " + H(a(n).t("expression.add")), 1)
1232
+ B(a(lt), {
1233
+ appearance: "tertiary",
1234
+ class: "ff-expression-editor-add",
1235
+ "data-testid": `ff-expression-add-${a(l)}`,
1236
+ disabled: u.value,
1237
+ onClick: _[0] || (_[0] = (E) => d.value = !0)
1238
+ }, {
1239
+ default: P(() => [
1240
+ B(a(Fe)),
1241
+ se(" " + H(a(n).t("expression.add")), 1)
1242
+ ]),
1243
+ _: 1
1244
+ }, 8, ["data-testid", "disabled"])
1223
1245
  ]),
1224
1246
  _: 1
1225
- }, 8, ["data-testid"]))
1247
+ }, 8, ["text"]))
1226
1248
  ], 8, Za)), [
1227
- [ee, !a(o).hide.value]
1249
+ [ee, !a(r).hide.value]
1228
1250
  ]) : x("", !0);
1229
1251
  }
1230
1252
  }), Q = (e, n) => {
1231
1253
  const t = e.__vccOpts || e;
1232
- for (const [l, o] of n)
1233
- t[l] = o;
1254
+ for (const [l, r] of n)
1255
+ t[l] = r;
1234
1256
  return t;
1235
- }, Ft = /* @__PURE__ */ Q(tn, [["__scopeId", "data-v-5ad66299"]]), an = {
1257
+ }, jt = /* @__PURE__ */ Q(nn, [["__scopeId", "data-v-63a9b2f2"]]), ln = {
1236
1258
  key: 0,
1237
1259
  class: "ff-version-compatibility-note"
1238
- }, nn = ["innerHTML"], ln = /* @__PURE__ */ Y({
1260
+ }, sn = ["innerHTML"], on = /* @__PURE__ */ Y({
1239
1261
  inheritAttrs: !1,
1240
1262
  __name: "StringField",
1241
1263
  props: {
1264
+ disabled: { type: Boolean },
1242
1265
  labelAttributes: {},
1243
1266
  multiline: { type: Boolean },
1244
1267
  showVaultSecretPicker: { type: Boolean, default: () => {
@@ -1263,110 +1286,110 @@ const _e = /* @__PURE__ */ Y({
1263
1286
  },
1264
1287
  emits: ["update:modelValue"],
1265
1288
  setup(e, { emit: n }) {
1266
- const t = he(), { i18n: l } = me(), o = ke(Ua, k(() => !1)), r = pe(e, ["autofocus", "showVaultSecretPicker", "showPasswordMaskToggle", "expressionEditor", "name"]), s = n, { value: c, hide: d, versionInfo: i, ...u } = ne(q(() => e.name)), v = oe(u.path, q({ ...r, ...t })), p = k(() => !!r.disabled || !!i?.value);
1267
- function f(A) {
1268
- c.value = A === "" ? u.emptyValue.value : A, s("update:modelValue", c.value);
1289
+ const t = be(), { i18n: l } = me(), r = ke(Ua, A(() => !1)), o = pe(e, ["autofocus", "showVaultSecretPicker", "showPasswordMaskToggle", "expressionEditor", "name"]), s = n, { value: u, hide: d, versionInfo: i, ...c } = ne(q(() => e.name)), m = ie(c.path, q({ ...o, ...t })), v = A(() => o.disabled || !!i?.value);
1290
+ function f(g) {
1291
+ u.value = g === "" ? c.emptyValue.value : g, s("update:modelValue", u.value);
1269
1292
  }
1270
- const g = k(() => e.showPasswordMaskToggle !== void 0 ? e.showPasswordMaskToggle : r.type === "password" ? !0 : !!(u.schema?.value).encrypted), V = ke(At, void 0), E = k(() => e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!u.schema.value?.referenceable), h = k(() => ({ referenceable: E.value })), _ = k(() => Ae(u.path?.value ?? "")), m = k(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : ye(e.name) === "name");
1271
- return (A, y) => {
1293
+ const h = A(() => e.showPasswordMaskToggle !== void 0 ? e.showPasswordMaskToggle : o.type === "password" ? !0 : !!(c.schema?.value).encrypted), _ = ke($t, void 0), E = A(() => e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!c.schema.value?.referenceable), b = A(() => ({ referenceable: E.value })), V = A(() => Ae(c.path?.value ?? "")), p = A(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : he(e.name) === "name");
1294
+ return (g, y) => {
1272
1295
  const S = W("KAlert");
1273
- return u.error ? (b(), F(S, {
1296
+ return c.error ? (k(), F(S, {
1274
1297
  key: 0,
1275
1298
  appearance: "danger",
1276
- message: u.error.message
1277
- }, null, 8, ["message"])) : Z((b(), T("div", Je(G({ key: 1 }, A.$attrs)), [
1278
- D(_e, G(a(v), {
1299
+ message: c.error.message
1300
+ }, null, 8, ["message"])) : Z((k(), T("div", Je(G({ key: 1 }, g.$attrs)), [
1301
+ B(_e, G(a(m), {
1279
1302
  id: e.inputId,
1280
1303
  class: "ff-string-field",
1281
- "data-1p-ignore": m.value,
1304
+ "data-1p-ignore": p.value,
1282
1305
  "data-autofocus": e.autofocus ? "true" : void 0,
1283
- "data-testid": `ff-${u.path.value}`,
1284
- disabled: p.value,
1306
+ "data-testid": `ff-${c.path.value}`,
1307
+ disabled: v.value,
1285
1308
  error: e.error,
1286
1309
  "error-message": e.errorMessage,
1287
1310
  help: e.multiline && e.error ? e.errorMessage : e.help,
1288
- "model-value": a(c) ?? "",
1311
+ "model-value": a(u) ?? "",
1289
1312
  multiline: e.multiline,
1290
- placeholder: e.placeholder ?? a(v).placeholder,
1291
- secret: g.value && a(o),
1292
- "show-password-mask-toggle": g.value && !a(o),
1293
- type: g.value && !a(o) ? "password" : g.value ? void 0 : "text",
1313
+ placeholder: e.placeholder ?? a(m).placeholder,
1314
+ secret: h.value && a(r),
1315
+ "show-password-mask-toggle": h.value && !a(r),
1316
+ type: h.value && !a(r) ? "password" : h.value ? void 0 : "text",
1294
1317
  "onUpdate:modelValue": f
1295
1318
  }), X({ _: 2 }, [
1296
- A.$slots.label ? {
1319
+ g.$slots.label ? {
1297
1320
  name: "label",
1298
1321
  fn: P(() => [
1299
- B(A.$slots, "label", {
1300
- label: a(v).label
1322
+ D(g.$slots, "label", {
1323
+ label: a(m).label
1301
1324
  }, void 0, !0)
1302
1325
  ]),
1303
1326
  key: "0"
1304
1327
  } : void 0,
1305
- a(v).labelAttributes?.info || a(i) ? {
1328
+ a(m).labelAttributes?.info || a(i) ? {
1306
1329
  name: "label-tooltip",
1307
1330
  fn: P(() => [
1308
- B(A.$slots, "tooltip", {}, () => [
1309
- a(i) ? (b(), T("p", an, H(a(i).tooltip), 1)) : x("", !0),
1310
- a(v).labelAttributes?.info ? (b(), T("div", {
1331
+ D(g.$slots, "tooltip", {}, () => [
1332
+ a(i) ? (k(), T("p", ln, H(a(i).tooltip), 1)) : x("", !0),
1333
+ a(m).labelAttributes?.info ? (k(), T("div", {
1311
1334
  key: 1,
1312
1335
  class: "ff-label-tooltip-info",
1313
- innerHTML: a(v).labelAttributes.info
1314
- }, null, 8, nn)) : x("", !0)
1336
+ innerHTML: a(m).labelAttributes.info
1337
+ }, null, 8, sn)) : x("", !0)
1315
1338
  ], !0)
1316
1339
  ]),
1317
1340
  key: "1"
1318
1341
  } : void 0,
1319
- !(e.multiline && e.error) && A.$slots.help ? {
1342
+ !(e.multiline && e.error) && g.$slots.help ? {
1320
1343
  name: "help",
1321
1344
  fn: P(() => [
1322
- B(A.$slots, "help", {}, void 0, !0)
1345
+ D(g.$slots, "help", {}, void 0, !0)
1323
1346
  ]),
1324
1347
  key: "2"
1325
1348
  } : void 0,
1326
1349
  !e.multiline && e.inlineVaultPicker ? {
1327
1350
  name: "after",
1328
1351
  fn: P(() => [
1329
- a(V) && E.value ? (b(), F(ue(a(V)), {
1352
+ a(_) && E.value ? (k(), F(le(a(_)), {
1330
1353
  key: 0,
1331
- disabled: p.value,
1332
- schema: h.value,
1354
+ disabled: v.value,
1355
+ schema: b.value,
1333
1356
  update: f,
1334
- value: a(c) ?? ""
1357
+ value: a(u) ?? ""
1335
1358
  }, null, 8, ["disabled", "schema", "value"])) : x("", !0),
1336
- E.value && !a(V) ? (b(), F(S, {
1359
+ E.value && !a(_) ? (k(), F(S, {
1337
1360
  key: 1,
1338
1361
  appearance: "warning",
1339
- "data-testid": `ff-vault-secret-picker-warning-${u.path.value}`,
1362
+ "data-testid": `ff-vault-secret-picker-warning-${c.path.value}`,
1340
1363
  message: a(l).t("vault_picker.component_error")
1341
1364
  }, null, 8, ["data-testid", "message"])) : x("", !0)
1342
1365
  ]),
1343
1366
  key: "3"
1344
1367
  } : void 0
1345
1368
  ]), 1040, ["id", "data-1p-ignore", "data-autofocus", "data-testid", "disabled", "error", "error-message", "help", "model-value", "multiline", "placeholder", "secret", "show-password-mask-toggle", "type"]),
1346
- e.inlineVaultPicker ? x("", !0) : (b(), T(se, { key: 0 }, [
1347
- a(V) && E.value ? (b(), F(ue(a(V)), {
1369
+ e.inlineVaultPicker ? x("", !0) : (k(), T(oe, { key: 0 }, [
1370
+ a(_) && E.value ? (k(), F(le(a(_)), {
1348
1371
  key: 0,
1349
- disabled: p.value,
1350
- schema: h.value,
1372
+ disabled: v.value,
1373
+ schema: b.value,
1351
1374
  update: f,
1352
- value: a(c) ?? ""
1375
+ value: a(u) ?? ""
1353
1376
  }, null, 8, ["disabled", "schema", "value"])) : x("", !0),
1354
- E.value && !a(V) ? (b(), F(S, {
1377
+ E.value && !a(_) ? (k(), F(S, {
1355
1378
  key: 1,
1356
1379
  appearance: "warning",
1357
- "data-testid": `ff-vault-secret-picker-warning-${u.path.value}`,
1380
+ "data-testid": `ff-vault-secret-picker-warning-${c.path.value}`,
1358
1381
  message: a(l).t("vault_picker.component_error")
1359
1382
  }, null, 8, ["data-testid", "message"])) : x("", !0)
1360
1383
  ], 64)),
1361
- e.expressionEditor !== !1 ? (b(), F(Ft, G({
1384
+ e.expressionEditor !== !1 ? (k(), F(jt, G({
1362
1385
  key: 1,
1363
1386
  class: "ff-string-field-expression",
1364
- name: _.value
1387
+ name: V.value
1365
1388
  }, e.expressionEditor || {}), X({ _: 2 }, [
1366
- A.$slots["expression-help"] ? {
1389
+ g.$slots["expression-help"] ? {
1367
1390
  name: "help",
1368
1391
  fn: P(() => [
1369
- B(A.$slots, "expression-help", {}, void 0, !0)
1392
+ D(g.$slots, "expression-help", {}, void 0, !0)
1370
1393
  ]),
1371
1394
  key: "0"
1372
1395
  } : void 0
@@ -1376,10 +1399,10 @@ const _e = /* @__PURE__ */ Y({
1376
1399
  ]);
1377
1400
  };
1378
1401
  }
1379
- }), et = /* @__PURE__ */ Q(ln, [["__scopeId", "data-v-5395656f"]]), sn = {
1402
+ }), et = /* @__PURE__ */ Q(on, [["__scopeId", "data-v-d3d6b31d"]]), rn = {
1380
1403
  key: 0,
1381
1404
  class: "ff-version-compatibility-note"
1382
- }, rn = ["innerHTML"], on = /* @__PURE__ */ Y({
1405
+ }, un = ["innerHTML"], cn = /* @__PURE__ */ Y({
1383
1406
  inheritAttrs: !1,
1384
1407
  __name: "BooleanField",
1385
1408
  props: {
@@ -1390,46 +1413,46 @@ const _e = /* @__PURE__ */ Y({
1390
1413
  },
1391
1414
  emits: ["update:modelValue"],
1392
1415
  setup(e, { emit: n }) {
1393
- const t = he(), l = pe(e, ["autofocus", "name"]), { value: o, hide: r, emptyOrDefaultValue: s, versionInfo: c, ...d } = ne(q(() => e.name)), i = n, u = k(() => !!t.disabled || !!c?.value), v = (f) => {
1394
- o.value = f, i("update:modelValue", f);
1395
- }, p = oe(d.path, l);
1396
- return (f, g) => {
1397
- const V = W("KAlert");
1398
- return d.error ? (b(), F(V, {
1416
+ const t = be(), l = pe(e, ["autofocus", "name"]), { value: r, hide: o, emptyOrDefaultValue: s, versionInfo: u, ...d } = ne(q(() => e.name)), i = n, c = A(() => !!t.disabled || !!u?.value), m = (f) => {
1417
+ r.value = f, i("update:modelValue", f);
1418
+ }, v = ie(d.path, l);
1419
+ return (f, h) => {
1420
+ const _ = W("KAlert");
1421
+ return d.error ? (k(), F(_, {
1399
1422
  key: 0,
1400
1423
  appearance: "danger",
1401
1424
  message: d.error.message
1402
- }, null, 8, ["message"])) : Z((b(), F(a(Qt), G({ key: 1 }, { ...a(p), ...f.$attrs }, {
1425
+ }, null, 8, ["message"])) : Z((k(), F(a(Zt), G({ key: 1 }, { ...a(v), ...f.$attrs }, {
1403
1426
  class: "ff-boolean-field",
1404
1427
  "data-autofocus": e.autofocus ? "true" : void 0,
1405
1428
  "data-testid": `ff-${d.path.value}`,
1406
- disabled: u.value,
1407
- "model-value": !!(a(o) == null ? a(s) : a(o)),
1408
- "onUpdate:modelValue": v
1429
+ disabled: c.value,
1430
+ "model-value": !!(a(r) == null ? a(s) : a(r)),
1431
+ "onUpdate:modelValue": m
1409
1432
  }), X({ _: 2 }, [
1410
- a(p).labelAttributes?.info || a(c) ? {
1433
+ a(v).labelAttributes?.info || a(u) ? {
1411
1434
  name: "tooltip",
1412
1435
  fn: P(() => [
1413
- B(f.$slots, "tooltip", {}, () => [
1414
- a(c) ? (b(), T("p", sn, H(a(c).tooltip), 1)) : x("", !0),
1415
- a(p).labelAttributes?.info ? (b(), T("div", {
1436
+ D(f.$slots, "tooltip", {}, () => [
1437
+ a(u) ? (k(), T("p", rn, H(a(u).tooltip), 1)) : x("", !0),
1438
+ a(v).labelAttributes?.info ? (k(), T("div", {
1416
1439
  key: 1,
1417
1440
  class: "ff-label-tooltip-info",
1418
- innerHTML: a(p).labelAttributes.info
1419
- }, null, 8, rn)) : x("", !0)
1441
+ innerHTML: a(v).labelAttributes.info
1442
+ }, null, 8, un)) : x("", !0)
1420
1443
  ], !0)
1421
1444
  ]),
1422
1445
  key: "0"
1423
1446
  } : void 0
1424
1447
  ]), 1040, ["data-autofocus", "data-testid", "disabled", "model-value"])), [
1425
- [ee, !a(r)]
1448
+ [ee, !a(o)]
1426
1449
  ]);
1427
1450
  };
1428
1451
  }
1429
- }), un = /* @__PURE__ */ Q(on, [["__scopeId", "data-v-7dffb382"]]), cn = ["data-testid"], dn = {
1452
+ }), dn = /* @__PURE__ */ Q(cn, [["__scopeId", "data-v-7dffb382"]]), fn = ["data-testid"], pn = {
1430
1453
  key: 0,
1431
1454
  class: "ff-version-compatibility-note"
1432
- }, fn = ["innerHTML"], pn = /* @__PURE__ */ Y({
1455
+ }, mn = ["innerHTML"], vn = /* @__PURE__ */ Y({
1433
1456
  inheritAttrs: !1,
1434
1457
  __name: "StringArrayField",
1435
1458
  props: {
@@ -1440,74 +1463,74 @@ const _e = /* @__PURE__ */ Y({
1440
1463
  },
1441
1464
  emits: ["update:modelValue"],
1442
1465
  setup(e, { emit: n }) {
1443
- const t = he(), l = pe(e, ["autofocus", "name"]), o = n, { value: r, hide: s, versionInfo: c, ...d } = ne(q(() => e.name)), i = oe(d.path, q({ ...l, ...t })), u = k(() => d.schema?.value?.len_min && d.schema.value.len_min > 0), v = k(() => !!t.disabled || !!c?.value), p = re("");
1444
- function f(h) {
1445
- return h.map((_) => _.trim()).filter(Boolean).join(", ");
1466
+ const t = be(), l = pe(e, ["autofocus", "name"]), r = n, { value: o, hide: s, versionInfo: u, ...d } = ne(q(() => e.name)), i = ie(d.path, q({ ...l, ...t })), c = A(() => d.schema?.value?.len_min && d.schema.value.len_min > 0), m = A(() => !!t.disabled || !!u?.value), v = re("");
1467
+ function f(b) {
1468
+ return b.map((V) => V.trim()).filter(Boolean).join(", ");
1446
1469
  }
1447
- function g(h) {
1448
- return h.trim().split(",").map((_) => _.trim()).filter(Boolean);
1470
+ function h(b) {
1471
+ return b.trim().split(",").map((V) => V.trim()).filter(Boolean);
1449
1472
  }
1450
- function V(h) {
1451
- p.value = h;
1452
- const _ = g(h), m = !_.length && u.value ? d.emptyValue.value : _;
1453
- r.value = m, o("update:modelValue", m);
1473
+ function _(b) {
1474
+ v.value = b;
1475
+ const V = h(b), p = !V.length && c.value ? d.emptyValue.value : V;
1476
+ o.value = p, r("update:modelValue", p);
1454
1477
  }
1455
- const E = k(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : ye(e.name) === "name");
1456
- return te(r, (h) => {
1457
- const _ = h ? f(h) : "";
1458
- f(g(p.value)) !== _ && (p.value = _);
1459
- }, { immediate: !0 }), (h, _) => {
1460
- const m = W("KAlert");
1461
- return d.error ? (b(), F(m, {
1478
+ const E = A(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : he(e.name) === "name");
1479
+ return te(o, (b) => {
1480
+ const V = b ? f(b) : "";
1481
+ f(h(v.value)) !== V && (v.value = V);
1482
+ }, { immediate: !0 }), (b, V) => {
1483
+ const p = W("KAlert");
1484
+ return d.error ? (k(), F(p, {
1462
1485
  key: 0,
1463
1486
  appearance: "danger",
1464
1487
  message: d.error.message
1465
- }, null, 8, ["message"])) : Z((b(), T("div", {
1488
+ }, null, 8, ["message"])) : Z((k(), T("div", {
1466
1489
  key: 1,
1467
1490
  "data-testid": `ff-tag-${d.path.value}`
1468
1491
  }, [
1469
- D(_e, G(a(i), {
1492
+ B(_e, G(a(i), {
1470
1493
  class: "ff-tag-field",
1471
1494
  "data-1p-ignore": E.value,
1472
1495
  "data-autofocus": e.autofocus ? "true" : void 0,
1473
1496
  "data-testid": `ff-${d.path.value}`,
1474
- disabled: v.value,
1475
- "model-value": p.value ?? "",
1476
- "onUpdate:modelValue": V
1497
+ disabled: m.value,
1498
+ "model-value": v.value ?? "",
1499
+ "onUpdate:modelValue": _
1477
1500
  }), X({ _: 2 }, [
1478
- h.$slots.label ? {
1501
+ b.$slots.label ? {
1479
1502
  name: "label",
1480
1503
  fn: P(() => [
1481
- B(h.$slots, "label", {
1504
+ D(b.$slots, "label", {
1482
1505
  label: a(i).label
1483
1506
  }, void 0, !0)
1484
1507
  ]),
1485
1508
  key: "0"
1486
1509
  } : void 0,
1487
- a(i).labelAttributes?.info || a(c) ? {
1510
+ a(i).labelAttributes?.info || a(u) ? {
1488
1511
  name: "label-tooltip",
1489
1512
  fn: P(() => [
1490
- B(h.$slots, "tooltip", {}, () => [
1491
- a(c) ? (b(), T("p", dn, H(a(c).tooltip), 1)) : x("", !0),
1492
- a(i).labelAttributes?.info ? (b(), T("div", {
1513
+ D(b.$slots, "tooltip", {}, () => [
1514
+ a(u) ? (k(), T("p", pn, H(a(u).tooltip), 1)) : x("", !0),
1515
+ a(i).labelAttributes?.info ? (k(), T("div", {
1493
1516
  key: 1,
1494
1517
  class: "ff-label-tooltip-info",
1495
1518
  innerHTML: a(i).labelAttributes.info
1496
- }, null, 8, fn)) : x("", !0)
1519
+ }, null, 8, mn)) : x("", !0)
1497
1520
  ], !0)
1498
1521
  ]),
1499
1522
  key: "1"
1500
1523
  } : void 0
1501
1524
  ]), 1040, ["data-1p-ignore", "data-autofocus", "data-testid", "disabled", "model-value"])
1502
- ], 8, cn)), [
1525
+ ], 8, fn)), [
1503
1526
  [ee, !a(s)]
1504
1527
  ]);
1505
1528
  };
1506
1529
  }
1507
- }), jt = /* @__PURE__ */ Q(pn, [["__scopeId", "data-v-079c97ec"]]), mn = ["data-appearance", "data-testid"], vn = ["data-testid"], hn = {
1530
+ }), Mt = /* @__PURE__ */ Q(vn, [["__scopeId", "data-v-079c97ec"]]), bn = ["data-appearance", "data-testid"], hn = ["data-testid"], yn = {
1508
1531
  key: 0,
1509
1532
  class: "ff-version-compatibility-note"
1510
- }, yn = ["innerHTML"], bn = ["data-testid"], gn = { class: "ff-array-field-item-content" }, kn = ["data-index", "data-testid"], Ce = 'input:not(:disabled), textarea:not(:disabled), select:not(:disabled), button:not(:disabled), [contenteditable="true"], [tabindex]:not([tabindex="-1"]):not(:disabled)', An = /* @__PURE__ */ Y({
1533
+ }, gn = ["innerHTML"], kn = ["data-testid"], An = { class: "ff-array-field-item-content" }, $n = ["data-index", "data-testid"], Ce = 'input:not(:disabled), textarea:not(:disabled), select:not(:disabled), button:not(:disabled), [contenteditable="true"], [tabindex]:not([tabindex="-1"]):not(:disabled)', _n = /* @__PURE__ */ Y({
1511
1534
  __name: "ArrayField",
1512
1535
  props: {
1513
1536
  name: {},
@@ -1523,156 +1546,156 @@ const _e = /* @__PURE__ */ Y({
1523
1546
  },
1524
1547
  emits: ["add", "remove"],
1525
1548
  setup(e, { emit: n }) {
1526
- Rt((M) => ({
1549
+ Ct((M) => ({
1527
1550
  v15a4fa32: O.value
1528
1551
  }));
1529
- const t = e, l = n, { i18n: { t: o } } = me(), { getDefault: r, getSchema: s } = ae(), { value: c, hide: d, versionInfo: i, ...u } = ne(q(t, "name")), v = oe(u.path, q({ ...t, ...he() })), p = k(() => !!i?.value), f = k(() => {
1530
- if (!u.path) throw new Error("Field path is required for sub-schema retrieval");
1531
- const M = s(u.path.value);
1532
- if (!M) throw new Error(`Schema not found for path: ${u.path.value}`);
1552
+ const t = e, l = n, { i18n: { t: r } } = me(), { getDefault: o, getSchema: s } = ae(), { value: u, hide: d, versionInfo: i, ...c } = ne(q(t, "name")), m = ie(c.path, q({ ...t, ...be() })), v = A(() => !!i?.value), f = A(() => {
1553
+ if (!c.path) throw new Error("Field path is required for sub-schema retrieval");
1554
+ const M = s(c.path.value);
1555
+ if (!M) throw new Error(`Schema not found for path: ${c.path.value}`);
1533
1556
  return M.elements;
1534
- }), g = k(() => {
1535
- if (!u.path) return "";
1536
- const M = ye(u.path.value);
1537
- return Pt(M);
1538
- }), V = k(() => t.addItemLabel ?? o("actions.add_entity", { entity: g.value })), E = k(() => t.items ?? N(c) ?? []), { getKey: h } = Wa("ff-array-field", E), _ = k(() => t.appearance ? t.appearance : f.value.type === "record" || f.value.type === "map" ? "card" : "default"), m = k(() => _.value === "card" ? He : "div");
1539
- function A(M, C) {
1540
- return typeof t.itemLabel == "function" ? t.itemLabel(M, C) : t.itemLabel || v.value.label || `Item #${C}`;
1557
+ }), h = A(() => {
1558
+ if (!c.path) return "";
1559
+ const M = he(c.path.value);
1560
+ return Tt(M);
1561
+ }), _ = A(() => t.addItemLabel ?? r("actions.add_entity", { entity: h.value })), E = A(() => t.items ?? N(u) ?? []), { getKey: b } = Wa("ff-array-field", E), V = A(() => t.appearance ? t.appearance : f.value.type === "record" || f.value.type === "map" ? "card" : "default"), p = A(() => V.value === "card" ? He : "div");
1562
+ function g(M, L) {
1563
+ return typeof t.itemLabel == "function" ? t.itemLabel(M, L) : t.itemLabel || m.value.label || `Item #${L}`;
1541
1564
  }
1542
- const y = k(() => E.value.map((M, C) => ({
1543
- hash: `#${h(M, C)}`,
1565
+ const y = A(() => E.value.map((M, L) => ({
1566
+ hash: `#${b(M, L)}`,
1544
1567
  title: ""
1545
1568
  }))), S = re(y.value[0]?.hash), w = async () => {
1546
- const M = r(L(u.path.value, Ge));
1547
- Array.isArray(c.value) || (c.value = []), c.value.push(M), l("add"), t.appearance === "tabs" && (await Be(), S.value = y.value[y.value.length - 1]?.hash), await Be(), j(E.value.length + 1);
1569
+ const M = o(C(c.path.value, Ge));
1570
+ Array.isArray(u.value) || (u.value = []), u.value.push(M), l("add"), t.appearance === "tabs" && (await Be(), S.value = y.value[y.value.length - 1]?.hash), await Be(), j(E.value.length + 1);
1548
1571
  }, $ = async (M) => {
1549
- Array.isArray(c.value) && (c.value.splice(M, 1), c.value.length === 0 && !v.value.required && (c.value = u.emptyValue.value)), l("remove", M), t.appearance === "tabs" && (S.value = y.value[Math.max(0, M - 1)]?.hash);
1572
+ Array.isArray(u.value) && (u.value.splice(M, 1), u.value.length === 0 && !m.value.required && (u.value = c.emptyValue.value)), l("remove", M), t.appearance === "tabs" && (S.value = y.value[Math.max(0, M - 1)]?.hash);
1550
1573
  }, I = gt("root");
1551
1574
  function j(M) {
1552
1575
  if (!I.value)
1553
1576
  return;
1554
- const C = Math.max(0, Math.min(M, E.value.length - 1)), K = I.value.querySelector(`[data-index="${C}"]`);
1577
+ const L = Math.max(0, Math.min(M, E.value.length - 1)), K = I.value.querySelector(`[data-index="${L}"]`);
1555
1578
  if (!K)
1556
1579
  return;
1557
1580
  R(K)?.focus();
1558
1581
  }
1559
1582
  function R(M) {
1560
- const C = M.querySelector('[data-autofocus="true"]');
1561
- return C ? C.matches(Ce) ? C : C.querySelector(Ce) : M.querySelector(Ce);
1583
+ const L = M.querySelector('[data-autofocus="true"]');
1584
+ return L ? L.matches(Ce) ? L : L.querySelector(Ce) : M.querySelector(Ce);
1562
1585
  }
1563
- const O = k(() => {
1564
- const { appearance: M, stickyTabs: C } = t;
1565
- return M !== "tabs" || C == null || C === !1 ? null : typeof C == "number" ? `${t.stickyTabs}px` : typeof C == "string" ? C : "0";
1586
+ const O = A(() => {
1587
+ const { appearance: M, stickyTabs: L } = t;
1588
+ return M !== "tabs" || L == null || L === !1 ? null : typeof L == "number" ? `${t.stickyTabs}px` : typeof L == "string" ? L : "0";
1566
1589
  });
1567
- return (M, C) => {
1568
- const K = W("KAlert"), J = W("KLabel"), ie = W("KButton"), Ot = W("KTooltip"), Mt = W("KTabs");
1569
- return u.error ? (b(), F(K, {
1590
+ return (M, L) => {
1591
+ const K = W("KAlert"), J = W("KLabel"), ue = W("KButton"), Ot = W("KTooltip"), xt = W("KTabs");
1592
+ return c.error ? (k(), F(K, {
1570
1593
  key: 0,
1571
1594
  appearance: "danger",
1572
- message: u.error.message
1573
- }, null, 8, ["message"])) : Z((b(), T("div", {
1595
+ message: c.error.message
1596
+ }, null, 8, ["message"])) : Z((k(), T("div", {
1574
1597
  key: 1,
1575
1598
  ref_key: "root",
1576
1599
  ref: I,
1577
1600
  class: Pe(["ff-array-field", {
1578
- [`ff-array-field-${_.value ?? "default"}`]: !0,
1601
+ [`ff-array-field-${V.value ?? "default"}`]: !0,
1579
1602
  "ff-array-field-sticky-tabs": e.stickyTabs
1580
1603
  }]),
1581
- "data-appearance": _.value,
1582
- "data-testid": `ff-array-${u.path.value}`
1604
+ "data-appearance": V.value,
1605
+ "data-testid": `ff-array-${c.path.value}`
1583
1606
  }, [
1584
- a(v).label && !e.hideLabel ? (b(), T("header", {
1607
+ a(m).label && !e.hideLabel ? (k(), T("header", {
1585
1608
  key: 0,
1586
1609
  class: "ff-array-field-header",
1587
- "data-testid": `ff-array-header-${u.path.value}`
1610
+ "data-testid": `ff-array-header-${c.path.value}`
1588
1611
  }, [
1589
- D(J, G({ class: "ff-array-field-label" }, a(v), {
1590
- "data-testid": `ff-label-${u.path.value}`,
1591
- "tooltip-attributes": a(v).labelAttributes.tooltipAttributes
1612
+ B(J, G({ class: "ff-array-field-label" }, a(m), {
1613
+ "data-testid": `ff-label-${c.path.value}`,
1614
+ "tooltip-attributes": a(m).labelAttributes.tooltipAttributes
1592
1615
  }), X({
1593
1616
  default: P(() => [
1594
- B(M.$slots, "label", {
1595
- label: a(v).label
1617
+ D(M.$slots, "label", {
1618
+ label: a(m).label
1596
1619
  }, () => [
1597
- le(H(a(v).label), 1)
1620
+ se(H(a(m).label), 1)
1598
1621
  ], !0)
1599
1622
  ]),
1600
1623
  _: 2
1601
1624
  }, [
1602
- a(v).labelAttributes?.info || a(i) ? {
1625
+ a(m).labelAttributes?.info || a(i) ? {
1603
1626
  name: "tooltip",
1604
1627
  fn: P(() => [
1605
- B(M.$slots, "tooltip", {}, () => [
1606
- a(i) ? (b(), T("p", hn, H(a(i).tooltip), 1)) : x("", !0),
1607
- a(v).labelAttributes?.info ? (b(), T("div", {
1628
+ D(M.$slots, "tooltip", {}, () => [
1629
+ a(i) ? (k(), T("p", yn, H(a(i).tooltip), 1)) : x("", !0),
1630
+ a(m).labelAttributes?.info ? (k(), T("div", {
1608
1631
  key: 1,
1609
1632
  class: "ff-label-tooltip-info",
1610
- innerHTML: a(v).labelAttributes.info
1611
- }, null, 8, yn)) : x("", !0)
1633
+ innerHTML: a(m).labelAttributes.info
1634
+ }, null, 8, gn)) : x("", !0)
1612
1635
  ], !0)
1613
1636
  ]),
1614
1637
  key: "0"
1615
1638
  } : void 0
1616
1639
  ]), 1040, ["data-testid", "tooltip-attributes"]),
1617
- e.appearance === "tabs" ? (b(), F(ie, {
1640
+ e.appearance === "tabs" ? (k(), F(ue, {
1618
1641
  key: 0,
1619
1642
  appearance: "tertiary",
1620
- "aria-label": V.value,
1621
- "data-testid": `ff-add-item-btn-${u.path.value}`,
1622
- disabled: p.value,
1643
+ "aria-label": _.value,
1644
+ "data-testid": `ff-add-item-btn-${c.path.value}`,
1645
+ disabled: v.value,
1623
1646
  icon: "",
1624
1647
  onClick: w
1625
1648
  }, {
1626
1649
  default: P(() => [
1627
- D(a(Fe))
1650
+ B(a(Fe))
1628
1651
  ]),
1629
1652
  _: 1
1630
1653
  }, 8, ["aria-label", "data-testid", "disabled"])) : x("", !0)
1631
- ], 8, vn)) : x("", !0),
1632
- _.value !== "tabs" ? (b(), T(se, { key: 1 }, [
1633
- fe("div", {
1654
+ ], 8, hn)) : x("", !0),
1655
+ V.value !== "tabs" ? (k(), T(oe, { key: 1 }, [
1656
+ ce("div", {
1634
1657
  class: "ff-array-field-container",
1635
- "data-testid": `ff-array-basic-container-${u.path.value}`
1658
+ "data-testid": `ff-array-basic-container-${c.path.value}`
1636
1659
  }, [
1637
- (b(!0), T(se, null, de(E.value, (ve, U) => (b(), F(a(m), {
1638
- key: a(h)(ve, U),
1639
- class: Pe(["ff-array-field-item", { "ff-array-field-item-card": _.value === "card" }]),
1660
+ (k(!0), T(oe, null, fe(E.value, (ve, U) => (k(), F(a(p), {
1661
+ key: a(b)(ve, U),
1662
+ class: Pe(["ff-array-field-item", { "ff-array-field-item-card": V.value === "card" }]),
1640
1663
  "data-index": U,
1641
- "data-testid": `ff-array-item-${u.path.value}.${U}`
1664
+ "data-testid": `ff-array-item-${c.path.value}.${U}`
1642
1665
  }, {
1643
1666
  default: P(() => [
1644
- fe("div", gn, [
1645
- M.$slots.item ? B(M.$slots, "item", {
1667
+ ce("div", An, [
1668
+ M.$slots.item ? D(M.$slots, "item", {
1646
1669
  autofocus: !0,
1647
1670
  fieldName: String(U),
1648
1671
  index: U
1649
- }, void 0, !0, 0) : f.value.type === "array" && f.value.elements.type === "string" ? (b(), F(jt, {
1672
+ }, void 0, !0, 0) : f.value.type === "array" && f.value.elements.type === "string" ? (k(), F(Mt, {
1650
1673
  key: 1,
1651
1674
  autofocus: "",
1652
- help: a(o)("tag_helper"),
1675
+ help: a(r)("tag_helper"),
1653
1676
  name: String(U)
1654
- }, null, 8, ["help", "name"])) : (b(), F($e, {
1677
+ }, null, 8, ["help", "name"])) : (k(), F($e, {
1655
1678
  key: 2,
1656
1679
  autofocus: "",
1657
1680
  name: String(U)
1658
1681
  }, null, 8, ["name"]))
1659
1682
  ]),
1660
- D(Ot, {
1683
+ B(Ot, {
1661
1684
  class: "ff-array-field-item-remove-tooltip",
1662
- text: a(o)("actions.remove_entity", { entity: g.value })
1685
+ text: a(r)("actions.remove_entity", { entity: h.value })
1663
1686
  }, {
1664
1687
  default: P(() => [
1665
- D(ie, {
1688
+ B(ue, {
1666
1689
  appearance: "tertiary",
1667
- "aria-label": a(o)("actions.remove_entity", { entity: g.value }),
1690
+ "aria-label": a(r)("actions.remove_entity", { entity: h.value }),
1668
1691
  class: "ff-array-field-item-remove",
1669
- "data-testid": `ff-array-remove-item-btn-${u.path.value}.${U}`,
1670
- disabled: p.value,
1692
+ "data-testid": `ff-array-remove-item-btn-${c.path.value}.${U}`,
1693
+ disabled: v.value,
1671
1694
  icon: "",
1672
- onClick: Te((xt) => $(U), ["stop"])
1695
+ onClick: Te((Lt) => $(U), ["stop"])
1673
1696
  }, {
1674
1697
  default: P(() => [
1675
- D(a(Ye))
1698
+ B(a(Ye))
1676
1699
  ]),
1677
1700
  _: 1
1678
1701
  }, 8, ["aria-label", "data-testid", "disabled", "onClick"])
@@ -1682,67 +1705,67 @@ const _e = /* @__PURE__ */ Y({
1682
1705
  ]),
1683
1706
  _: 2
1684
1707
  }, 1032, ["class", "data-index", "data-testid"]))), 128))
1685
- ], 8, bn),
1686
- D(ie, {
1708
+ ], 8, kn),
1709
+ B(ue, {
1687
1710
  appearance: "tertiary",
1688
- "aria-label": V.value,
1711
+ "aria-label": _.value,
1689
1712
  class: "ff-array-field-add-item-btn",
1690
- "data-testid": `ff-add-item-btn-${u.path.value}`,
1691
- disabled: p.value,
1713
+ "data-testid": `ff-add-item-btn-${c.path.value}`,
1714
+ disabled: v.value,
1692
1715
  onClick: w
1693
1716
  }, {
1694
1717
  default: P(() => [
1695
- D(a(Fe)),
1696
- le(" " + H(V.value), 1)
1718
+ B(a(Fe)),
1719
+ se(" " + H(_.value), 1)
1697
1720
  ]),
1698
1721
  _: 1
1699
1722
  }, 8, ["aria-label", "data-testid", "disabled"])
1700
- ], 64)) : E.value.length ? (b(), F(a(He), {
1723
+ ], 64)) : E.value.length ? (k(), F(a(He), {
1701
1724
  key: 2,
1702
- "data-testid": `ff-array-tab-container-${u.path.value}`
1725
+ "data-testid": `ff-array-tab-container-${c.path.value}`
1703
1726
  }, {
1704
1727
  default: P(() => [
1705
- D(Mt, {
1728
+ B(xt, {
1706
1729
  modelValue: S.value,
1707
- "onUpdate:modelValue": C[0] || (C[0] = (ve) => S.value = ve),
1708
- "data-testid": `ff-array-tabs-${u.path.value}`,
1730
+ "onUpdate:modelValue": L[0] || (L[0] = (ve) => S.value = ve),
1731
+ "data-testid": `ff-array-tabs-${c.path.value}`,
1709
1732
  tabs: y.value
1710
1733
  }, X({ _: 2 }, [
1711
- de(E.value, (ve, U) => ({
1712
- name: a(h)(ve, U),
1734
+ fe(E.value, (ve, U) => ({
1735
+ name: a(b)(ve, U),
1713
1736
  fn: P(() => [
1714
- fe("div", {
1737
+ ce("div", {
1715
1738
  class: "ff-array-field-item",
1716
1739
  "data-index": U,
1717
- "data-testid": `ff-array-item-${u.path.value}.${U}`
1740
+ "data-testid": `ff-array-item-${c.path.value}.${U}`
1718
1741
  }, [
1719
- M.$slots.item ? B(M.$slots, "item", {
1742
+ M.$slots.item ? D(M.$slots, "item", {
1720
1743
  autofocus: !0,
1721
1744
  fieldName: String(U),
1722
1745
  index: U
1723
- }, void 0, !0, 0) : (b(), F($e, {
1746
+ }, void 0, !0, 0) : (k(), F($e, {
1724
1747
  key: 1,
1725
1748
  autofocus: "",
1726
1749
  name: String(U)
1727
1750
  }, null, 8, ["name"]))
1728
- ], 8, kn)
1751
+ ], 8, $n)
1729
1752
  ])
1730
1753
  })),
1731
- de(E.value, (ve, U) => ({
1732
- name: `${a(h)(ve, U)}-anchor`,
1754
+ fe(E.value, (ve, U) => ({
1755
+ name: `${a(b)(ve, U)}-anchor`,
1733
1756
  fn: P(() => [
1734
- le(H(A(ve, U)) + " ", 1),
1735
- D(ie, {
1757
+ se(H(g(ve, U)) + " ", 1),
1758
+ B(ue, {
1736
1759
  appearance: "tertiary",
1737
- "aria-label": a(o)("actions.remove_entity", { entity: g.value }),
1760
+ "aria-label": a(r)("actions.remove_entity", { entity: h.value }),
1738
1761
  class: "ff-array-field-item-remove",
1739
- "data-testid": `ff-array-remove-item-btn-${u.path.value}.${U}`,
1740
- disabled: p.value,
1762
+ "data-testid": `ff-array-remove-item-btn-${c.path.value}.${U}`,
1763
+ disabled: v.value,
1741
1764
  icon: "",
1742
- onClick: Te((xt) => $(U), ["stop"])
1765
+ onClick: Te((Lt) => $(U), ["stop"])
1743
1766
  }, {
1744
1767
  default: P(() => [
1745
- D(a(sa))
1768
+ B(a(sa))
1746
1769
  ]),
1747
1770
  _: 1
1748
1771
  }, 8, ["aria-label", "data-testid", "disabled", "onClick"])
@@ -1752,12 +1775,12 @@ const _e = /* @__PURE__ */ Y({
1752
1775
  ]),
1753
1776
  _: 3
1754
1777
  }, 8, ["data-testid"])) : x("", !0)
1755
- ], 10, mn)), [
1778
+ ], 10, bn)), [
1756
1779
  [ee, !a(d)]
1757
1780
  ]);
1758
1781
  };
1759
1782
  }
1760
- }), $n = /* @__PURE__ */ Q(An, [["__scopeId", "data-v-1057a5d3"]]), _n = /* @__PURE__ */ Y({
1783
+ }), Vn = /* @__PURE__ */ Q(_n, [["__scopeId", "data-v-1057a5d3"]]), Sn = /* @__PURE__ */ Y({
1761
1784
  __name: "SlideTransition",
1762
1785
  setup(e) {
1763
1786
  const n = [
@@ -1768,111 +1791,111 @@ const _e = /* @__PURE__ */ Y({
1768
1791
  "margin-bottom",
1769
1792
  "border-top-width",
1770
1793
  "border-bottom-width"
1771
- ], t = Object.fromEntries(n.map((p) => [p, ""])), l = Object.fromEntries(n.map((p) => [p, "0"]));
1772
- function o(p) {
1773
- const f = getComputedStyle(p);
1794
+ ], t = Object.fromEntries(n.map((v) => [v, ""])), l = Object.fromEntries(n.map((v) => [v, "0"]));
1795
+ function r(v) {
1796
+ const f = getComputedStyle(v);
1774
1797
  return Object.fromEntries(
1775
- n.map((g) => [g, f.getPropertyValue(g)])
1798
+ n.map((h) => [h, f.getPropertyValue(h)])
1776
1799
  );
1777
1800
  }
1778
- function r(p) {
1801
+ function o(v) {
1779
1802
  ["overflow", "transition", ...n].forEach(
1780
- (f) => p.style.removeProperty(f)
1803
+ (f) => v.style.removeProperty(f)
1781
1804
  );
1782
1805
  }
1783
- function s(p) {
1784
- Object.assign(p.style, {
1806
+ function s(v) {
1807
+ Object.assign(v.style, {
1785
1808
  overflow: "hidden",
1786
1809
  transition: "none"
1787
1810
  });
1788
1811
  }
1789
- function c(p) {
1790
- const f = p;
1812
+ function u(v) {
1813
+ const f = v;
1791
1814
  Object.assign(f.style, t);
1792
- const g = o(f);
1815
+ const h = r(f);
1793
1816
  Object.assign(f.style, l), requestAnimationFrame(() => {
1794
1817
  Object.assign(f.style, {
1795
- ...g,
1818
+ ...h,
1796
1819
  transition: ""
1797
1820
  });
1798
1821
  });
1799
1822
  }
1800
- function d(p) {
1801
- r(p);
1823
+ function d(v) {
1824
+ o(v);
1802
1825
  }
1803
- function i(p) {
1804
- const f = p;
1826
+ function i(v) {
1827
+ const f = v;
1805
1828
  Object.assign(f.style, {
1806
- ...o(f),
1829
+ ...r(f),
1807
1830
  overflow: "hidden"
1808
1831
  });
1809
1832
  }
1810
- function u(p) {
1811
- Object.assign(p.style, l);
1833
+ function c(v) {
1834
+ Object.assign(v.style, l);
1812
1835
  }
1813
- function v(p) {
1814
- r(p);
1836
+ function m(v) {
1837
+ o(v);
1815
1838
  }
1816
- return (p, f) => (b(), F(Ct, {
1839
+ return (v, f) => (k(), F(Bt, {
1817
1840
  "enter-active-class": "ff-slide-active",
1818
1841
  "leave-active-class": "ff-slide-active",
1819
1842
  onAfterEnter: d,
1820
- onAfterLeave: v,
1843
+ onAfterLeave: m,
1821
1844
  onBeforeEnter: s,
1822
1845
  onBeforeLeave: i,
1823
- onEnter: c,
1824
- onLeave: u
1846
+ onEnter: u,
1847
+ onLeave: c
1825
1848
  }, {
1826
1849
  default: P(() => [
1827
- B(p.$slots, "default", {}, void 0, !0)
1850
+ D(v.$slots, "default", {}, void 0, !0)
1828
1851
  ]),
1829
1852
  _: 3
1830
1853
  }));
1831
1854
  }
1832
- }), Vn = /* @__PURE__ */ Q(_n, [["__scopeId", "data-v-d965bf05"]]), Sn = { class: "ff-entity-checks-list" }, wn = /* @__PURE__ */ Y({
1855
+ }), wn = /* @__PURE__ */ Q(Sn, [["__scopeId", "data-v-d965bf05"]]), En = { class: "ff-entity-checks-list" }, In = /* @__PURE__ */ Y({
1833
1856
  __name: "EntityChecksAlert",
1834
1857
  props: {
1835
1858
  entityChecks: {},
1836
1859
  visibleFields: {}
1837
1860
  },
1838
1861
  setup(e) {
1839
- const { i18n: { t: n } } = me(), t = k(() => {
1862
+ const { i18n: { t: n } } = me(), t = A(() => {
1840
1863
  if (!Array.isArray(e.entityChecks) || e.entityChecks.length === 0)
1841
1864
  return null;
1842
- const r = [], s = [
1865
+ const o = [], s = [
1843
1866
  { key: "at_least_one_of", i18nKey: "field_rules.at_least_one_of" },
1844
1867
  { key: "mutually_required", i18nKey: "field_rules.mutually_required" },
1845
1868
  { key: "mutually_exclusive", i18nKey: "field_rules.mutually_exclusive" }
1846
1869
  ];
1847
- for (const c of e.entityChecks)
1870
+ for (const u of e.entityChecks)
1848
1871
  for (const { key: d, i18nKey: i } of s)
1849
- if (d in c) {
1850
- const u = c[d];
1851
- if (Array.isArray(u) && u.length > 0) {
1852
- const v = o(u);
1853
- v.length > 0 && r.push(n(i, {
1854
- parameters: l(v)
1872
+ if (d in u) {
1873
+ const c = u[d];
1874
+ if (Array.isArray(c) && c.length > 0) {
1875
+ const m = r(c);
1876
+ m.length > 0 && o.push(n(i, {
1877
+ parameters: l(m)
1855
1878
  }));
1856
1879
  }
1857
1880
  break;
1858
1881
  }
1859
- return r.length ? r : null;
1882
+ return o.length ? o : null;
1860
1883
  });
1861
- function l(r) {
1862
- return r.map(Tt).join(", ");
1884
+ function l(o) {
1885
+ return o.map(Ft).join(", ");
1863
1886
  }
1864
- function o(r) {
1865
- return Array.isArray(e.visibleFields) ? r.filter((s) => e.visibleFields.includes(s.split(".")[0])) : r;
1887
+ function r(o) {
1888
+ return Array.isArray(e.visibleFields) ? o.filter((s) => e.visibleFields.includes(s.split(".")[0])) : o;
1866
1889
  }
1867
- return (r, s) => {
1868
- const c = W("KAlert");
1869
- return t.value ? (b(), F(c, {
1890
+ return (o, s) => {
1891
+ const u = W("KAlert");
1892
+ return t.value ? (k(), F(u, {
1870
1893
  key: 0,
1871
1894
  "data-testid": "ff-entity-checks-alert"
1872
1895
  }, {
1873
1896
  default: P(() => [
1874
- fe("ul", Sn, [
1875
- (b(!0), T(se, null, de(t.value, (d) => (b(), T("li", {
1897
+ ce("ul", En, [
1898
+ (k(!0), T(oe, null, fe(t.value, (d) => (k(), T("li", {
1876
1899
  key: d,
1877
1900
  "data-testid": "ff-entity-check-item"
1878
1901
  }, H(d), 1))), 128))
@@ -1882,13 +1905,13 @@ const _e = /* @__PURE__ */ Y({
1882
1905
  })) : x("", !0);
1883
1906
  };
1884
1907
  }
1885
- }), vt = /* @__PURE__ */ Q(wn, [["__scopeId", "data-v-95f54bb5"]]), En = ["data-testid"], In = ["data-testid"], Pn = ["data-testid"], Tn = { class: "ff-object-field-header-toggle" }, Fn = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"], jn = {
1908
+ }), vt = /* @__PURE__ */ Q(In, [["__scopeId", "data-v-95f54bb5"]]), Pn = ["data-testid"], Tn = ["data-testid"], Fn = ["data-testid"], jn = { class: "ff-object-field-header-toggle" }, Mn = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"], On = {
1886
1909
  key: 0,
1887
1910
  class: "ff-version-compatibility-note"
1888
- }, On = ["innerHTML"], Mn = ["data-testid"], xn = {
1911
+ }, xn = ["innerHTML"], Ln = ["data-testid"], Kn = {
1889
1912
  key: 0,
1890
1913
  class: "indent-guide"
1891
- }, Kn = /* @__PURE__ */ Y({
1914
+ }, Rn = /* @__PURE__ */ Y({
1892
1915
  inheritAttrs: !1,
1893
1916
  __name: "ObjectField",
1894
1917
  props: /* @__PURE__ */ Ne({
@@ -1914,178 +1937,178 @@ const _e = /* @__PURE__ */ Y({
1914
1937
  }),
1915
1938
  emits: ["update:added", "update:expanded"],
1916
1939
  setup(e) {
1917
- const n = Bt(), t = pe(e, ["defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: l, hide: o, versionInfo: r, ...s } = ne(q(t, "name")), {
1918
- getSchema: c,
1940
+ const n = Dt(), t = pe(e, ["defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: l, hide: r, versionInfo: o, ...s } = ne(q(t, "name")), {
1941
+ getSchema: u,
1919
1942
  getDefault: d,
1920
1943
  useCurrentRenderRules: i
1921
- } = ae(), u = i({
1944
+ } = ae(), c = i({
1922
1945
  fieldPath: s.path,
1923
1946
  rules: q(t, "renderRules"),
1924
1947
  omittedFields: q(() => e.omit)
1925
- }), v = De(e, "added"), p = De(e, "expanded"), f = k(() => !!r?.value), g = k(() => !f.value && !!p.value), V = k(() => {
1948
+ }), m = De(e, "added"), v = De(e, "expanded"), f = A(() => !!o?.value), h = A(() => !f.value && !!v.value), _ = A(() => {
1926
1949
  if (s.ancestors?.value) {
1927
1950
  const $ = s.ancestors.value.parent;
1928
1951
  if ($?.path)
1929
- return c($.path)?.type === "array";
1952
+ return u($.path)?.type === "array";
1930
1953
  }
1931
1954
  return !1;
1932
- }), E = k(() => {
1955
+ }), E = A(() => {
1933
1956
  if (s.ancestors?.value) {
1934
1957
  const $ = s.ancestors.value.parent;
1935
1958
  if ($?.path)
1936
- return c($.path)?.type === "map";
1959
+ return u($.path)?.type === "map";
1937
1960
  }
1938
1961
  return !1;
1939
- }), h = oe(s.path, { required: e.required, ...t, resetLabelPath: e.resetLabelPath }), _ = k(() => h.value.required ? !0 : v.value ?? e.defaultAdded), m = k(() => e.asChild !== void 0 ? e.asChild : V.value), A = k(() => {
1962
+ }), b = ie(s.path, { required: e.required, ...t, resetLabelPath: e.resetLabelPath }), V = A(() => b.value.required ? !0 : m.value ?? e.defaultAdded), p = A(() => e.asChild !== void 0 ? e.asChild : _.value), g = A(() => {
1940
1963
  let $ = s.schema.value.fields;
1941
- return e.omit && ($ = $.filter((I) => !e.omit.includes(Object.keys(I)[0]))), e.fieldsOrder ? _t($, e.fieldsOrder) : (u.value?.bundles && ($ = Vt([...$], u.value.bundles)), $);
1942
- }), y = k(() => A.value.map(($) => Object.keys($)[0]));
1964
+ return e.omit && ($ = $.filter((I) => !e.omit.includes(Object.keys(I)[0]))), e.fieldsOrder ? Vt($, e.fieldsOrder) : (c.value?.bundles && ($ = St([...$], c.value.bundles)), $);
1965
+ }), y = A(() => g.value.map(($) => Object.keys($)[0]));
1943
1966
  function S() {
1944
- p.value = !p.value;
1967
+ v.value = !v.value;
1945
1968
  }
1946
1969
  function w($) {
1947
1970
  $ ? l.value = d(s.path.value) : l.value = s.emptyValue.value;
1948
1971
  }
1949
- return te(_, ($) => {
1950
- e.collapsible && (p.value = $);
1951
- }), Dt(() => {
1972
+ return te(V, ($) => {
1973
+ e.collapsible && (v.value = $);
1974
+ }), Nt(() => {
1952
1975
  if (s.error || !l) return;
1953
1976
  const $ = l.value != null;
1954
- v.value = $, (h.value.required || $) && (p.value = !0);
1977
+ m.value = $, (b.value.required || $) && (v.value = !0);
1955
1978
  }), ($, I) => {
1956
1979
  const j = W("KAlert"), R = W("KInputSwitch");
1957
- return b(), T(se, null, [
1958
- (b(), F(ue($.$slots[a(Ee)]))),
1959
- s.error ? (b(), F(j, {
1980
+ return k(), T(oe, null, [
1981
+ (k(), F(le($.$slots[a(Ee)]))),
1982
+ s.error ? (k(), F(j, {
1960
1983
  key: 0,
1961
1984
  appearance: "danger",
1962
1985
  message: s.error.message
1963
- }, null, 8, ["message"])) : m.value ? Z((b(), T("div", G({
1986
+ }, null, 8, ["message"])) : p.value ? Z((k(), T("div", G({
1964
1987
  key: 1,
1965
1988
  class: "ff-object-field ff-object-field-as-child"
1966
1989
  }, $.$attrs, {
1967
1990
  "data-testid": `ff-object-${s.path.value}`
1968
1991
  }), [
1969
- B($.$slots, "default", {}, () => [
1970
- D(vt, {
1992
+ D($.$slots, "default", {}, () => [
1993
+ B(vt, {
1971
1994
  "entity-checks": s.schema.value?.entity_checks,
1972
1995
  "visible-fields": y.value
1973
1996
  }, null, 8, ["entity-checks", "visible-fields"]),
1974
- (b(!0), T(se, null, de(A.value, (O) => (b(), F($e, {
1997
+ (k(!0), T(oe, null, fe(g.value, (O) => (k(), F($e, {
1975
1998
  key: Object.keys(O)[0],
1976
1999
  name: Object.keys(O)[0]
1977
2000
  }, null, 8, ["name"]))), 128))
1978
2001
  ], !0)
1979
- ], 16, En)), [
1980
- [ee, !a(o)]
1981
- ]) : Z((b(), T("div", G({
2002
+ ], 16, Pn)), [
2003
+ [ee, !a(r)]
2004
+ ]) : Z((k(), T("div", G({
1982
2005
  key: 2,
1983
- class: ["ff-object-field", { "ff-object-field-collapsed": !g.value }],
2006
+ class: ["ff-object-field", { "ff-object-field-collapsed": !h.value }],
1984
2007
  "data-testid": `ff-object-${s.path.value}`
1985
2008
  }, $.$attrs), [
1986
- fe("header", {
2009
+ ce("header", {
1987
2010
  class: "ff-object-field-header",
1988
2011
  "data-testid": `ff-object-header-${s.path.value}`
1989
2012
  }, [
1990
- fe("div", Tn, [
1991
- fe("button", {
2013
+ ce("div", jn, [
2014
+ ce("button", {
1992
2015
  "aria-controls": a(n),
1993
- "aria-expanded": g.value,
1994
- "aria-label": a(h).label,
2016
+ "aria-expanded": h.value,
2017
+ "aria-label": a(b).label,
1995
2018
  class: "ff-object-field-toggle-btn",
1996
2019
  "data-testid": `ff-object-toggle-btn-${s.path.value}`,
1997
- disabled: !_.value || f.value,
2020
+ disabled: !V.value || f.value,
1998
2021
  type: "button",
1999
2022
  onClick: Te(S, ["prevent", "stop"])
2000
2023
  }, [
2001
- D(a(ra), {
2002
- class: Pe(["ff-object-field-toggle-btn-trigger-icon", { "collapse-expanded": g.value }]),
2024
+ B(a(oa), {
2025
+ class: Pe(["ff-object-field-toggle-btn-trigger-icon", { "collapse-expanded": h.value }]),
2003
2026
  "data-testid": `ff-object-toggle-trigger-icon-${s.path.value}`,
2004
2027
  decorative: "",
2005
- size: `var(--kui-icon-size-30, ${a(oa)})`
2028
+ size: `var(--kui-icon-size-30, ${a(ra)})`
2006
2029
  }, null, 8, ["class", "data-testid", "size"])
2007
- ], 8, Fn),
2008
- E.value ? x("", !0) : (b(), F(a(Zt), G({
2030
+ ], 8, Mn),
2031
+ E.value ? x("", !0) : (k(), F(a(ea), G({
2009
2032
  key: 0,
2010
2033
  class: "ff-object-field-label",
2011
2034
  "data-testid": `ff-label-${s.path.value}`
2012
2035
  }, {
2013
- ...a(h),
2036
+ ...a(b),
2014
2037
  required: !1
2015
2038
  }, {
2016
- "tooltip-attributes": a(h).labelAttributes.tooltipAttributes
2039
+ "tooltip-attributes": a(b).labelAttributes.tooltipAttributes
2017
2040
  }), X({
2018
2041
  default: P(() => [
2019
- B($.$slots, "label", {
2020
- label: a(h).label
2042
+ D($.$slots, "label", {
2043
+ label: a(b).label
2021
2044
  }, () => [
2022
- le(H(a(h).label), 1)
2045
+ se(H(a(b).label), 1)
2023
2046
  ], !0)
2024
2047
  ]),
2025
2048
  _: 2
2026
2049
  }, [
2027
- a(h).labelAttributes?.info || a(r) ? {
2050
+ a(b).labelAttributes?.info || a(o) ? {
2028
2051
  name: "tooltip",
2029
2052
  fn: P(() => [
2030
- B($.$slots, "tooltip", {}, () => [
2031
- a(r) ? (b(), T("p", jn, H(a(r).tooltip), 1)) : x("", !0),
2032
- a(h).labelAttributes?.info ? (b(), T("div", {
2053
+ D($.$slots, "tooltip", {}, () => [
2054
+ a(o) ? (k(), T("p", On, H(a(o).tooltip), 1)) : x("", !0),
2055
+ a(b).labelAttributes?.info ? (k(), T("div", {
2033
2056
  key: 1,
2034
2057
  class: "ff-label-tooltip-info",
2035
- innerHTML: a(h).labelAttributes.info
2036
- }, null, 8, On)) : x("", !0)
2058
+ innerHTML: a(b).labelAttributes.info
2059
+ }, null, 8, xn)) : x("", !0)
2037
2060
  ], !0)
2038
2061
  ]),
2039
2062
  key: "0"
2040
2063
  } : void 0
2041
2064
  ]), 1040, ["data-testid", "tooltip-attributes"]))
2042
2065
  ]),
2043
- a(h).required ? x("", !0) : (b(), F(R, {
2066
+ a(b).required ? x("", !0) : (k(), F(R, {
2044
2067
  key: 0,
2045
2068
  "data-testid": `ff-object-switch-${s.path.value}`,
2046
2069
  disabled: f.value,
2047
- "disabled-tooltip-text": a(r)?.tooltip,
2048
- "model-value": v.value,
2070
+ "disabled-tooltip-text": a(o)?.tooltip,
2071
+ "model-value": m.value,
2049
2072
  "onUpdate:modelValue": I[0] || (I[0] = (O) => {
2050
- v.value = O, w(O);
2073
+ m.value = O, w(O);
2051
2074
  })
2052
2075
  }, null, 8, ["data-testid", "disabled", "disabled-tooltip-text", "model-value"]))
2053
- ], 8, Pn),
2054
- D(Vn, null, {
2076
+ ], 8, Fn),
2077
+ B(wn, null, {
2055
2078
  default: P(() => [
2056
- g.value ? (b(), T("div", {
2079
+ h.value ? (k(), T("div", {
2057
2080
  key: 0,
2058
2081
  class: "ff-object-field-content",
2059
2082
  "data-testid": `ff-object-content-${s.path.value}`
2060
2083
  }, [
2061
- B($.$slots, "default", {}, () => [
2062
- D(vt, {
2084
+ D($.$slots, "default", {}, () => [
2085
+ B(vt, {
2063
2086
  "entity-checks": s.schema.value?.entity_checks,
2064
2087
  "visible-fields": y.value
2065
2088
  }, null, 8, ["entity-checks", "visible-fields"]),
2066
- (b(!0), T(se, null, de(A.value, (O) => (b(), F($e, {
2089
+ (k(!0), T(oe, null, fe(g.value, (O) => (k(), F($e, {
2067
2090
  key: Object.keys(O)[0],
2068
2091
  name: Object.keys(O)[0]
2069
2092
  }, null, 8, ["name"]))), 128))
2070
2093
  ], !0)
2071
- ], 8, Mn)) : x("", !0)
2094
+ ], 8, Ln)) : x("", !0)
2072
2095
  ]),
2073
2096
  _: 3
2074
2097
  }),
2075
- g.value ? (b(), T("div", xn)) : x("", !0)
2076
- ], 16, In)), [
2077
- [ee, !a(o)]
2098
+ h.value ? (k(), T("div", Kn)) : x("", !0)
2099
+ ], 16, Tn)), [
2100
+ [ee, !a(r)]
2078
2101
  ])
2079
2102
  ], 64);
2080
2103
  };
2081
2104
  }
2082
- }), Ln = /* @__PURE__ */ Q(Kn, [["__scopeId", "data-v-eee81969"]]), Rn = {
2105
+ }), Cn = /* @__PURE__ */ Q(Rn, [["__scopeId", "data-v-eee81969"]]), Bn = {
2083
2106
  key: 1,
2084
2107
  class: "ff-number-field-wrapper"
2085
- }, Cn = {
2108
+ }, Dn = {
2086
2109
  key: 0,
2087
2110
  class: "ff-version-compatibility-note"
2088
- }, Bn = ["innerHTML"], Dn = /* @__PURE__ */ Y({
2111
+ }, Nn = ["innerHTML"], qn = /* @__PURE__ */ Y({
2089
2112
  __name: "NumberField",
2090
2113
  props: {
2091
2114
  showVaultSecretPicker: { type: Boolean, default: () => {
@@ -2109,7 +2132,7 @@ const _e = /* @__PURE__ */ Y({
2109
2132
  },
2110
2133
  emits: ["update:modelValue"],
2111
2134
  setup(e, { emit: n }) {
2112
- const t = pe(e, ["autofocus", "showVaultSecretPicker", "expressionEditor", "name"]), { value: l, hide: o, versionInfo: r, ...s } = ne(q(() => e.name)), c = oe(s.path, t), d = k(() => !!t.disabled || !!r?.value), i = k(() => Ae(s.path?.value ?? "")), { i18n: u } = me(), v = k(() => {
2135
+ const t = pe(e, ["autofocus", "showVaultSecretPicker", "expressionEditor", "name"]), { value: l, hide: r, versionInfo: o, ...s } = ne(q(() => e.name)), u = ie(s.path, t), d = A(() => !!t.disabled || !!o?.value), i = A(() => Ae(s.path?.value ?? "")), { i18n: c } = me(), m = A(() => {
2113
2136
  const y = s.schema?.value;
2114
2137
  if (typeof y.gt == "number")
2115
2138
  return { min: y.type === "integer" ? y.gt + 1 : y.gt };
@@ -2118,82 +2141,82 @@ const _e = /* @__PURE__ */ Y({
2118
2141
  min: t.min ?? S,
2119
2142
  max: t.max ?? w
2120
2143
  };
2121
- }), p = n, f = l.value, g = k(() => {
2144
+ }), v = n, f = l.value, h = A(() => {
2122
2145
  const y = l?.value;
2123
2146
  if (y == null || y === "") return "";
2124
- if (m.value) return `${y}`;
2147
+ if (p.value) return `${y}`;
2125
2148
  const S = typeof y == "number" ? y : Number(y);
2126
2149
  return Number.isFinite(S) ? `${S}` : "";
2127
2150
  });
2128
- function V(y) {
2151
+ function _(y) {
2129
2152
  const S = E(y);
2130
- f !== void 0 && y === "" && S !== f ? (l.value = s.emptyValue.value, p("update:modelValue", s.emptyValue.value)) : (l.value = S, p("update:modelValue", S));
2153
+ f !== void 0 && y === "" && S !== f ? (l.value = s.emptyValue.value, v("update:modelValue", s.emptyValue.value)) : (l.value = S, v("update:modelValue", S));
2131
2154
  }
2132
2155
  function E(y) {
2133
2156
  if (y === "") return s.emptyValue.value;
2134
2157
  const S = y.trim();
2135
2158
  if (S === "") return s.emptyValue.value;
2136
2159
  const w = Number(S);
2137
- return Number.isFinite(w) ? w : m.value ? y : s.emptyValue.value;
2160
+ return Number.isFinite(w) ? w : p.value ? y : s.emptyValue.value;
2138
2161
  }
2139
- const h = ke(At, void 0), _ = k(() => ({ referenceable: m.value })), m = k(() => e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!s.schema.value?.referenceable), A = k(() => m.value ? "text" : "number");
2162
+ const b = ke($t, void 0), V = A(() => ({ referenceable: p.value })), p = A(() => e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!s.schema.value?.referenceable), g = A(() => p.value ? "text" : "number");
2140
2163
  return (y, S) => {
2141
2164
  const w = W("KAlert");
2142
- return s.error ? (b(), F(w, {
2165
+ return s.error ? (k(), F(w, {
2143
2166
  key: 0,
2144
2167
  appearance: "danger",
2145
2168
  message: s.error.message
2146
- }, null, 8, ["message"])) : Z((b(), T("div", Rn, [
2147
- D(_e, G({ class: "ff-number-field" }, {
2148
- ...a(c),
2149
- min: v.value.min,
2150
- max: v.value.max
2169
+ }, null, 8, ["message"])) : Z((k(), T("div", Bn, [
2170
+ B(_e, G({ class: "ff-number-field" }, {
2171
+ ...a(u),
2172
+ min: m.value.min,
2173
+ max: m.value.max
2151
2174
  }, {
2152
2175
  "data-autofocus": e.autofocus ? "true" : void 0,
2153
2176
  "data-testid": `ff-${s.path.value}`,
2154
2177
  disabled: d.value,
2155
- "model-value": g.value,
2156
- type: A.value,
2157
- "onUpdate:modelValue": V
2178
+ "model-value": h.value,
2179
+ type: g.value,
2180
+ "onUpdate:modelValue": _
2158
2181
  }), X({ _: 2 }, [
2159
2182
  y.$slots.label ? {
2160
2183
  name: "label",
2161
2184
  fn: P(() => [
2162
- B(y.$slots, "label", {
2163
- label: a(c).label
2185
+ D(y.$slots, "label", {
2186
+ label: a(u).label
2164
2187
  }, void 0, !0)
2165
2188
  ]),
2166
2189
  key: "0"
2167
2190
  } : void 0,
2168
- a(c).labelAttributes?.info || a(r) ? {
2191
+ a(u).labelAttributes?.info || a(o) ? {
2169
2192
  name: "label-tooltip",
2170
2193
  fn: P(() => [
2171
- B(y.$slots, "tooltip", {}, () => [
2172
- a(r) ? (b(), T("p", Cn, H(a(r).tooltip), 1)) : x("", !0),
2173
- a(c).labelAttributes?.info ? (b(), T("div", {
2194
+ D(y.$slots, "tooltip", {}, () => [
2195
+ a(o) ? (k(), T("p", Dn, H(a(o).tooltip), 1)) : x("", !0),
2196
+ a(u).labelAttributes?.info ? (k(), T("div", {
2174
2197
  key: 1,
2175
2198
  class: "ff-label-tooltip-info",
2176
- innerHTML: a(c).labelAttributes.info
2177
- }, null, 8, Bn)) : x("", !0)
2199
+ innerHTML: a(u).labelAttributes.info
2200
+ }, null, 8, Nn)) : x("", !0)
2178
2201
  ], !0)
2179
2202
  ]),
2180
2203
  key: "1"
2181
2204
  } : void 0
2182
2205
  ]), 1040, ["data-autofocus", "data-testid", "disabled", "model-value", "type"]),
2183
- a(h) && m.value ? (b(), F(ue(a(h)), {
2206
+ a(b) && p.value ? (k(), F(le(a(b)), {
2184
2207
  key: 0,
2185
2208
  disabled: d.value,
2186
- schema: _.value,
2187
- update: V,
2209
+ schema: V.value,
2210
+ update: _,
2188
2211
  value: a(l) ?? ""
2189
2212
  }, null, 8, ["disabled", "schema", "value"])) : x("", !0),
2190
- m.value && !a(h) ? (b(), F(w, {
2213
+ p.value && !a(b) ? (k(), F(w, {
2191
2214
  key: 1,
2192
2215
  appearance: "warning",
2193
2216
  "data-testid": `ff-vault-secret-picker-warning-${s.path.value}`,
2194
- message: a(u).t("vault_picker.component_error")
2217
+ message: a(c).t("vault_picker.component_error")
2195
2218
  }, null, 8, ["data-testid", "message"])) : x("", !0),
2196
- e.expressionEditor !== !1 ? (b(), F(Ft, G({
2219
+ e.expressionEditor !== !1 ? (k(), F(jt, G({
2197
2220
  key: 2,
2198
2221
  class: "ff-number-field-expression",
2199
2222
  name: i.value
@@ -2201,20 +2224,20 @@ const _e = /* @__PURE__ */ Y({
2201
2224
  y.$slots["expression-help"] ? {
2202
2225
  name: "help",
2203
2226
  fn: P(() => [
2204
- B(y.$slots, "expression-help", {}, void 0, !0)
2227
+ D(y.$slots, "expression-help", {}, void 0, !0)
2205
2228
  ]),
2206
2229
  key: "0"
2207
2230
  } : void 0
2208
2231
  ]), 1040, ["name"])) : x("", !0)
2209
2232
  ], 512)), [
2210
- [ee, !a(o)]
2233
+ [ee, !a(r)]
2211
2234
  ]);
2212
2235
  };
2213
2236
  }
2214
- }), Nn = /* @__PURE__ */ Q(Dn, [["__scopeId", "data-v-2a6244c1"]]), qn = {
2237
+ }), Hn = /* @__PURE__ */ Q(qn, [["__scopeId", "data-v-2a6244c1"]]), Un = {
2215
2238
  key: 0,
2216
2239
  class: "ff-version-compatibility-note"
2217
- }, Hn = ["innerHTML"], Un = /* @__PURE__ */ Y({
2240
+ }, zn = ["innerHTML"], Wn = /* @__PURE__ */ Y({
2218
2241
  __name: "EnumField",
2219
2242
  props: /* @__PURE__ */ Ne({
2220
2243
  labelAttributes: {},
@@ -2253,75 +2276,75 @@ const _e = /* @__PURE__ */ Y({
2253
2276
  }),
2254
2277
  emits: /* @__PURE__ */ Ne(["update"], ["update:modelValue"]),
2255
2278
  setup(e, { emit: n }) {
2256
- const t = n, l = pe(e, ["name", "items", "multiple", "autofocus"]), { getSelectItems: o } = ae(), { value: r, hide: s, versionInfo: c, ...d } = ne(
2279
+ const t = n, l = pe(e, ["name", "items", "multiple", "autofocus"]), { getSelectItems: r } = ae(), { value: o, hide: s, versionInfo: u, ...d } = ne(
2257
2280
  q(() => e.name)
2258
- ), i = oe(d.path, l), u = k(() => l.disabled || !!c?.value);
2259
- function v(h) {
2260
- if (i.value.required) return h;
2261
- const _ = V.value && Array.isArray(h) && h.length === 0;
2262
- return h == null || h === "" || _ ? d.emptyValue.value : h;
2281
+ ), i = ie(d.path, l), c = A(() => l.disabled || !!u?.value);
2282
+ function m(b) {
2283
+ if (i.value.required) return b;
2284
+ const V = _.value && Array.isArray(b) && b.length === 0;
2285
+ return b == null || b === "" || V ? d.emptyValue.value : b;
2263
2286
  }
2264
- const p = De(e, "modelValue", {
2287
+ const v = De(e, "modelValue", {
2265
2288
  // If multiple and value is null/undefined, return empty array for v-model
2266
- get: () => V.value && r?.value == null ? [] : r.value,
2267
- set: (h) => {
2268
- r.value = v(h);
2289
+ get: () => _.value && o?.value == null ? [] : o.value,
2290
+ set: (b) => {
2291
+ o.value = m(b);
2269
2292
  }
2270
- }), f = k(() => e.items ? e.items : d.path ? o(d.path.value) : []), g = k(() => f.value.some((h) => h.versionInfo)), V = k(() => e.multiple !== void 0 ? e.multiple : d.schema.value?.type === "set"), E = k(() => V.value ? ea : ta);
2271
- return (h, _) => {
2272
- const m = W("KAlert");
2273
- return d.error ? (b(), F(m, {
2293
+ }), f = A(() => e.items ? e.items : d.path ? r(d.path.value) : []), h = A(() => f.value.some((b) => b.versionInfo)), _ = A(() => e.multiple !== void 0 ? e.multiple : d.schema.value?.type === "set"), E = A(() => _.value ? ta : aa);
2294
+ return (b, V) => {
2295
+ const p = W("KAlert");
2296
+ return d.error ? (k(), F(p, {
2274
2297
  key: 0,
2275
2298
  appearance: "danger",
2276
2299
  message: d.error.message
2277
- }, null, 8, ["message"])) : Z((b(), F(a(E), G({ key: 1 }, { ...l, ...a(i) }, {
2278
- modelValue: p.value,
2300
+ }, null, 8, ["message"])) : Z((k(), F(a(E), G({ key: 1 }, { ...l, ...a(i) }, {
2301
+ modelValue: v.value,
2279
2302
  "onUpdate:modelValue": [
2280
- _[0] || (_[0] = (A) => p.value = A),
2281
- _[1] || (_[1] = (A) => t("update", v(A)))
2303
+ V[0] || (V[0] = (g) => v.value = g),
2304
+ V[1] || (V[1] = (g) => t("update", m(g)))
2282
2305
  ],
2283
2306
  class: "ff-enum-field",
2284
2307
  clearable: !a(i).required,
2285
2308
  "data-autofocus": e.autofocus ? "true" : void 0,
2286
2309
  "data-testid": `ff-${d.path.value}`,
2287
- disabled: u.value,
2310
+ disabled: c.value,
2288
2311
  items: f.value,
2289
2312
  "kpop-attributes": { "data-testid": `ff-enum-${d.path.value}-items` }
2290
2313
  }), X({ _: 2 }, [
2291
- h.$slots.label ? {
2314
+ b.$slots.label ? {
2292
2315
  name: "label",
2293
2316
  fn: P(() => [
2294
- B(h.$slots, "label", {
2317
+ D(b.$slots, "label", {
2295
2318
  label: a(i).label
2296
2319
  }, void 0, !0)
2297
2320
  ]),
2298
2321
  key: "0"
2299
2322
  } : void 0,
2300
- "tooltip" in h.$slots || a(i).labelAttributes?.info || a(c) ? {
2323
+ "tooltip" in b.$slots || a(i).labelAttributes?.info || a(u) ? {
2301
2324
  name: "label-tooltip",
2302
2325
  fn: P(() => [
2303
- B(h.$slots, "tooltip", {}, () => [
2304
- a(c) ? (b(), T("p", qn, H(a(c).tooltip), 1)) : x("", !0),
2305
- a(i).labelAttributes?.info ? (b(), T("div", {
2326
+ D(b.$slots, "tooltip", {}, () => [
2327
+ a(u) ? (k(), T("p", Un, H(a(u).tooltip), 1)) : x("", !0),
2328
+ a(i).labelAttributes?.info ? (k(), T("div", {
2306
2329
  key: 1,
2307
2330
  class: "ff-label-tooltip-info",
2308
2331
  innerHTML: a(i).labelAttributes.info
2309
- }, null, 8, Hn)) : x("", !0)
2332
+ }, null, 8, zn)) : x("", !0)
2310
2333
  ], !0)
2311
2334
  ]),
2312
2335
  key: "1"
2313
2336
  } : void 0,
2314
- h.$slots["item-label"] || g.value ? {
2337
+ b.$slots["item-label"] || h.value ? {
2315
2338
  name: "item-template",
2316
- fn: P(({ item: A }) => [
2317
- B(h.$slots, "item-label", Je(bt(A)), () => [
2318
- D(a(aa), {
2319
- "kpop-attributes": { "data-testid": `ff-version-tooltip-item-${A.value}` },
2339
+ fn: P(({ item: g }) => [
2340
+ D(b.$slots, "item-label", Je(yt(g)), () => [
2341
+ B(a(At), {
2342
+ "kpop-attributes": { "data-testid": `ff-version-tooltip-item-${g.value}` },
2320
2343
  "max-width": "400px",
2321
- text: A.versionInfo?.tooltip ?? ""
2344
+ text: g.versionInfo?.tooltip ?? ""
2322
2345
  }, {
2323
2346
  default: P(() => [
2324
- le(H(A.label), 1)
2347
+ se(H(g.label), 1)
2325
2348
  ]),
2326
2349
  _: 2
2327
2350
  }, 1032, ["kpop-attributes", "text"])
@@ -2329,10 +2352,10 @@ const _e = /* @__PURE__ */ Y({
2329
2352
  ]),
2330
2353
  key: "2"
2331
2354
  } : void 0,
2332
- h.$slots["dropdown-footer-text"] ? {
2355
+ b.$slots["dropdown-footer-text"] ? {
2333
2356
  name: "dropdown-footer-text",
2334
2357
  fn: P(() => [
2335
- B(h.$slots, "dropdown-footer-text", {}, void 0, !0)
2358
+ D(b.$slots, "dropdown-footer-text", {}, void 0, !0)
2336
2359
  ]),
2337
2360
  key: "3"
2338
2361
  } : void 0
@@ -2341,10 +2364,10 @@ const _e = /* @__PURE__ */ Y({
2341
2364
  ]);
2342
2365
  };
2343
2366
  }
2344
- }), Ie = /* @__PURE__ */ Q(Un, [["__scopeId", "data-v-918c137a"]]), zn = ["data-testid"], Wn = {
2367
+ }), Ie = /* @__PURE__ */ Q(Wn, [["__scopeId", "data-v-918c137a"]]), Jn = ["data-testid"], Yn = {
2345
2368
  key: 0,
2346
2369
  class: "ff-version-compatibility-note"
2347
- }, Jn = ["innerHTML"], Yn = /* @__PURE__ */ Y({
2370
+ }, Gn = ["innerHTML"], Xn = /* @__PURE__ */ Y({
2348
2371
  inheritAttrs: !1,
2349
2372
  __name: "JsonField",
2350
2373
  props: {
@@ -2354,82 +2377,82 @@ const _e = /* @__PURE__ */ Y({
2354
2377
  },
2355
2378
  emits: ["update:modelValue"],
2356
2379
  setup(e, { emit: n }) {
2357
- const t = he(), l = pe(e, ["autofocus", "name"]), o = n, { value: r, hide: s, versionInfo: c, ...d } = ne(q(() => e.name)), i = oe(d.path, q({ ...l, ...t })), u = k(() => !!t.disabled || !!c?.value), v = re("");
2358
- function p(g) {
2359
- v.value = g;
2360
- let V = g === "" ? d.emptyValue.value : g;
2380
+ const t = be(), l = pe(e, ["autofocus", "name"]), r = n, { value: o, hide: s, versionInfo: u, ...d } = ne(q(() => e.name)), i = ie(d.path, q({ ...l, ...t })), c = A(() => !!t.disabled || !!u?.value), m = re("");
2381
+ function v(h) {
2382
+ m.value = h;
2383
+ let _ = h === "" ? d.emptyValue.value : h;
2361
2384
  try {
2362
- const E = JSON.parse(g);
2363
- E && typeof E == "object" && (V = E);
2385
+ const E = JSON.parse(h);
2386
+ E && typeof E == "object" && (_ = E);
2364
2387
  } catch {
2365
2388
  }
2366
- r.value = V, o("update:modelValue", V);
2389
+ o.value = _, r("update:modelValue", _);
2367
2390
  }
2368
- const f = k(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : ye(e.name) === "name");
2369
- return te(r, (g) => {
2370
- if (g && typeof g == "object") {
2391
+ const f = A(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : he(e.name) === "name");
2392
+ return te(o, (h) => {
2393
+ if (h && typeof h == "object") {
2371
2394
  try {
2372
- const V = JSON.parse(v.value);
2373
- be(V, g) || (v.value = JSON.stringify(g, null, 2));
2395
+ const _ = JSON.parse(m.value);
2396
+ ye(_, h) || (m.value = JSON.stringify(h, null, 2));
2374
2397
  } catch {
2375
- v.value = JSON.stringify(g, null, 2);
2398
+ m.value = JSON.stringify(h, null, 2);
2376
2399
  }
2377
2400
  return;
2378
2401
  }
2379
- v.value = g || "";
2380
- }, { immediate: !0 }), (g, V) => {
2402
+ m.value = h || "";
2403
+ }, { immediate: !0 }), (h, _) => {
2381
2404
  const E = W("KAlert");
2382
- return d.error ? (b(), F(E, {
2405
+ return d.error ? (k(), F(E, {
2383
2406
  key: 0,
2384
2407
  appearance: "danger",
2385
2408
  message: d.error.message
2386
- }, null, 8, ["message"])) : Z((b(), T("div", {
2409
+ }, null, 8, ["message"])) : Z((k(), T("div", {
2387
2410
  key: 1,
2388
2411
  "data-testid": `ff-json-${d.path.value}`
2389
2412
  }, [
2390
- D(_e, G(a(i), {
2413
+ B(_e, G(a(i), {
2391
2414
  class: "ff-json-field",
2392
2415
  "data-1p-ignore": f.value,
2393
2416
  "data-autofocus": e.autofocus ? "true" : void 0,
2394
2417
  "data-testid": `ff-${d.path.value}`,
2395
- disabled: u.value,
2396
- "model-value": v.value ?? "",
2418
+ disabled: c.value,
2419
+ "model-value": m.value ?? "",
2397
2420
  multiline: "",
2398
- "onUpdate:modelValue": p
2421
+ "onUpdate:modelValue": v
2399
2422
  }), X({ _: 2 }, [
2400
- g.$slots.label ? {
2423
+ h.$slots.label ? {
2401
2424
  name: "label",
2402
2425
  fn: P(() => [
2403
- B(g.$slots, "label", {
2426
+ D(h.$slots, "label", {
2404
2427
  label: a(i).label
2405
2428
  }, void 0, !0)
2406
2429
  ]),
2407
2430
  key: "0"
2408
2431
  } : void 0,
2409
- a(i).labelAttributes?.info || a(c) ? {
2432
+ a(i).labelAttributes?.info || a(u) ? {
2410
2433
  name: "label-tooltip",
2411
2434
  fn: P(() => [
2412
- B(g.$slots, "tooltip", {}, () => [
2413
- a(c) ? (b(), T("p", Wn, H(a(c).tooltip), 1)) : x("", !0),
2414
- a(i).labelAttributes?.info ? (b(), T("div", {
2435
+ D(h.$slots, "tooltip", {}, () => [
2436
+ a(u) ? (k(), T("p", Yn, H(a(u).tooltip), 1)) : x("", !0),
2437
+ a(i).labelAttributes?.info ? (k(), T("div", {
2415
2438
  key: 1,
2416
2439
  class: "ff-label-tooltip-info",
2417
2440
  innerHTML: a(i).labelAttributes.info
2418
- }, null, 8, Jn)) : x("", !0)
2441
+ }, null, 8, Gn)) : x("", !0)
2419
2442
  ], !0)
2420
2443
  ]),
2421
2444
  key: "1"
2422
2445
  } : void 0
2423
2446
  ]), 1040, ["data-1p-ignore", "data-autofocus", "data-testid", "disabled", "model-value"])
2424
- ], 8, zn)), [
2447
+ ], 8, Jn)), [
2425
2448
  [ee, !a(s)]
2426
2449
  ]);
2427
2450
  };
2428
2451
  }
2429
- }), Gn = /* @__PURE__ */ Q(Yn, [["__scopeId", "data-v-1d76c3e7"]]), Xn = {
2452
+ }), Qn = /* @__PURE__ */ Q(Xn, [["__scopeId", "data-v-1d76c3e7"]]), Zn = {
2430
2453
  key: 0,
2431
2454
  class: "ff-version-compatibility-note"
2432
- }, Qn = ["innerHTML"], Zn = /* @__PURE__ */ Y({
2455
+ }, el = ["innerHTML"], tl = /* @__PURE__ */ Y({
2433
2456
  inheritAttrs: !1,
2434
2457
  __name: "ForeignField",
2435
2458
  props: {
@@ -2448,58 +2471,58 @@ const _e = /* @__PURE__ */ Y({
2448
2471
  },
2449
2472
  emits: ["update:modelValue"],
2450
2473
  setup(e, { emit: n }) {
2451
- const t = he(), { i18n: { t: l } } = me(), o = pe(e, ["autofocus", "name"]), r = n, { value: s, hide: c, versionInfo: d, ...i } = ne(q(() => e.name));
2474
+ const t = be(), { i18n: { t: l } } = me(), r = pe(e, ["autofocus", "name"]), o = n, { value: s, hide: u, versionInfo: d, ...i } = ne(q(() => e.name));
2452
2475
  if (i.error)
2453
2476
  throw new Error(i.error.message);
2454
- const u = oe(i.path, q({ ...o, ...t })), v = k(() => !!o.disabled || !!d?.value), p = s.value ? s.value.id : null, f = k(() => u.value.placeholder ? u.value.placeholder : l("foreign_placeholder", { entity: i.schema.value?.reference ?? "entity" })), g = re(p ?? "");
2455
- function V(h) {
2456
- p !== void 0 && h === "" && h !== p ? (s.value = i.emptyValue.value, r("update:modelValue", i.emptyValue.value)) : (s.value = { id: h.trim() }, r("update:modelValue", s.value));
2477
+ const c = ie(i.path, q({ ...r, ...t })), m = A(() => !!r.disabled || !!d?.value), v = s.value ? s.value.id : null, f = A(() => c.value.placeholder ? c.value.placeholder : l("foreign_placeholder", { entity: i.schema.value?.reference ?? "entity" })), h = re(v ?? "");
2478
+ function _(b) {
2479
+ v !== void 0 && b === "" && b !== v ? (s.value = i.emptyValue.value, o("update:modelValue", i.emptyValue.value)) : (s.value = { id: b.trim() }, o("update:modelValue", s.value));
2457
2480
  }
2458
- const E = k(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : ye(e.name) === "name");
2459
- return (h, _) => Z((b(), F(_e, G(a(u), {
2481
+ const E = A(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : he(e.name) === "name");
2482
+ return (b, V) => Z((k(), F(_e, G(a(c), {
2460
2483
  class: "ff-foreign-field",
2461
2484
  "data-1p-ignore": E.value,
2462
2485
  "data-autofocus": e.autofocus ? "true" : void 0,
2463
2486
  "data-testid": `ff-${i.path.value}`,
2464
- disabled: v.value,
2487
+ disabled: m.value,
2465
2488
  error: e.error,
2466
2489
  "error-message": e.errorMessage,
2467
2490
  help: e.help,
2468
- "model-value": g.value,
2491
+ "model-value": h.value,
2469
2492
  placeholder: f.value,
2470
- "onUpdate:modelValue": V
2493
+ "onUpdate:modelValue": _
2471
2494
  }), X({ _: 2 }, [
2472
- h.$slots.label ? {
2495
+ b.$slots.label ? {
2473
2496
  name: "label",
2474
2497
  fn: P(() => [
2475
- B(h.$slots, "label", {
2476
- label: a(u).label
2498
+ D(b.$slots, "label", {
2499
+ label: a(c).label
2477
2500
  }, void 0, !0)
2478
2501
  ]),
2479
2502
  key: "0"
2480
2503
  } : void 0,
2481
- a(u).labelAttributes?.info || a(d) ? {
2504
+ a(c).labelAttributes?.info || a(d) ? {
2482
2505
  name: "label-tooltip",
2483
2506
  fn: P(() => [
2484
- B(h.$slots, "tooltip", {}, () => [
2485
- a(d) ? (b(), T("p", Xn, H(a(d).tooltip), 1)) : x("", !0),
2486
- a(u).labelAttributes?.info ? (b(), T("div", {
2507
+ D(b.$slots, "tooltip", {}, () => [
2508
+ a(d) ? (k(), T("p", Zn, H(a(d).tooltip), 1)) : x("", !0),
2509
+ a(c).labelAttributes?.info ? (k(), T("div", {
2487
2510
  key: 1,
2488
2511
  class: "ff-label-tooltip-info",
2489
- innerHTML: a(u).labelAttributes.info
2490
- }, null, 8, Qn)) : x("", !0)
2512
+ innerHTML: a(c).labelAttributes.info
2513
+ }, null, 8, el)) : x("", !0)
2491
2514
  ], !0)
2492
2515
  ]),
2493
2516
  key: "1"
2494
2517
  } : void 0
2495
2518
  ]), 1040, ["data-1p-ignore", "data-autofocus", "data-testid", "disabled", "error", "error-message", "help", "model-value", "placeholder"])), [
2496
- [ee, !a(c)]
2519
+ [ee, !a(u)]
2497
2520
  ]);
2498
2521
  }
2499
- }), el = /* @__PURE__ */ Q(Zn, [["__scopeId", "data-v-86e87b60"]]), tl = ["data-testid"], al = ["data-testid"], nl = {
2522
+ }), al = /* @__PURE__ */ Q(tl, [["__scopeId", "data-v-86e87b60"]]), nl = ["data-testid"], ll = ["data-testid"], sl = {
2500
2523
  key: 0,
2501
2524
  class: "ff-version-compatibility-note"
2502
- }, ll = ["innerHTML"], sl = { class: "ff-map-field-item-content" }, rl = { class: "ff-map-field-fields" }, ol = /* @__PURE__ */ Y({
2525
+ }, ol = ["innerHTML"], rl = { class: "ff-map-field-item-content" }, il = { class: "ff-map-field-fields" }, ul = /* @__PURE__ */ Y({
2503
2526
  __name: "MapField",
2504
2527
  props: {
2505
2528
  keyPlaceholder: {},
@@ -2511,124 +2534,124 @@ const _e = /* @__PURE__ */ Y({
2511
2534
  },
2512
2535
  emits: ["legacyValueChange"],
2513
2536
  setup(e, { emit: n }) {
2514
- const { i18n: t } = me(), l = e, o = n, {
2515
- keys: r,
2537
+ const { i18n: t } = me(), l = e, r = n, {
2538
+ keys: o,
2516
2539
  updateKey: s,
2517
- addKey: c,
2540
+ addKey: u,
2518
2541
  removeKey: d,
2519
2542
  field: i,
2520
- fieldDisplayName: u
2521
- } = Xa(q(l, "name"), w), v = oe(i.path, l), p = i.versionInfo, f = k(() => !!p?.value), g = ["string", "number", "boolean", "integer", "foreign"], V = k(() => l.oneLine ? !0 : i.schema?.value?.type === "map" && g.includes(i.schema.value.values.type) && !l.appearance?.string?.multiline), E = k(() => i.schema?.value?.type === "map" ? i.schema.value.values : void 0), h = k(() => E.value?.type === "string" && !E.value?.one_of), _ = k(() => V.value ? "div" : He), m = gt("root");
2522
- function A($, I) {
2523
- l.appearance?.string?.multiline || ($.preventDefault(), I === r.value.length - 1 && c(), y(I + 1));
2543
+ fieldDisplayName: c
2544
+ } = Xa(q(l, "name"), w), m = ie(i.path, l), v = i.versionInfo, f = A(() => !!v?.value), h = ["string", "number", "boolean", "integer", "foreign"], _ = A(() => l.oneLine ? !0 : i.schema?.value?.type === "map" && h.includes(i.schema.value.values.type) && !l.appearance?.string?.multiline), E = A(() => i.schema?.value?.type === "map" ? i.schema.value.values : void 0), b = A(() => E.value?.type === "string" && !E.value?.one_of), V = A(() => _.value ? "div" : He), p = gt("root");
2545
+ function g($, I) {
2546
+ l.appearance?.string?.multiline || ($.preventDefault(), I === o.value.length - 1 && u(), y(I + 1));
2524
2547
  }
2525
2548
  async function y($) {
2526
- m.value && (await Be(), m.value.querySelector(`[data-key-input="${$}"]`)?.focus());
2549
+ p.value && (await Be(), p.value.querySelector(`[data-key-input="${$}"]`)?.focus());
2527
2550
  }
2528
2551
  function S() {
2529
- c();
2530
- const $ = r.value.findIndex(([I, j]) => !j);
2531
- y($ === -1 ? r.value.length - 1 : $);
2552
+ u();
2553
+ const $ = o.value.findIndex(([I, j]) => !j);
2554
+ y($ === -1 ? o.value.length - 1 : $);
2532
2555
  }
2533
2556
  function w($) {
2534
- o("legacyValueChange", $);
2557
+ r("legacyValueChange", $);
2535
2558
  }
2536
2559
  return ($, I) => {
2537
2560
  const j = W("KAlert"), R = W("KLabel"), O = W("KButton"), M = W("KTooltip");
2538
- return a(i).error ? (b(), F(j, {
2561
+ return a(i).error ? (k(), F(j, {
2539
2562
  key: 0,
2540
2563
  appearance: "danger",
2541
2564
  message: a(i).error.message
2542
- }, null, 8, ["message"])) : Z((b(), T("div", {
2565
+ }, null, 8, ["message"])) : Z((k(), T("div", {
2543
2566
  key: 1,
2544
2567
  ref_key: "root",
2545
- ref: m,
2568
+ ref: p,
2546
2569
  class: "ff-map-field",
2547
2570
  "data-testid": `ff-map-${a(i).path.value}`
2548
2571
  }, [
2549
- a(v).label ? (b(), T("header", {
2572
+ a(m).label ? (k(), T("header", {
2550
2573
  key: 0,
2551
2574
  class: "ff-map-field-header",
2552
2575
  "data-testid": `ff-map-header-${a(i).path.value}`
2553
2576
  }, [
2554
- D(R, G({ class: "ff-map-field-label" }, a(v).labelAttributes, {
2577
+ B(R, G({ class: "ff-map-field-label" }, a(m).labelAttributes, {
2555
2578
  "data-testid": `ff-label-${a(i).path.value}`,
2556
- required: a(v).required,
2557
- "tooltip-attributes": a(v).labelAttributes.tooltipAttributes
2579
+ required: a(m).required,
2580
+ "tooltip-attributes": a(m).labelAttributes.tooltipAttributes
2558
2581
  }), X({
2559
2582
  default: P(() => [
2560
- B($.$slots, "label", {
2561
- label: a(v).label
2583
+ D($.$slots, "label", {
2584
+ label: a(m).label
2562
2585
  }, () => [
2563
- le(H(a(v).label), 1)
2586
+ se(H(a(m).label), 1)
2564
2587
  ], !0)
2565
2588
  ]),
2566
2589
  _: 2
2567
2590
  }, [
2568
- a(v).labelAttributes?.info || a(p) ? {
2591
+ a(m).labelAttributes?.info || a(v) ? {
2569
2592
  name: "tooltip",
2570
2593
  fn: P(() => [
2571
- B($.$slots, "tooltip", {}, () => [
2572
- a(p) ? (b(), T("p", nl, H(a(p).tooltip), 1)) : x("", !0),
2573
- a(v).labelAttributes?.info ? (b(), T("div", {
2594
+ D($.$slots, "tooltip", {}, () => [
2595
+ a(v) ? (k(), T("p", sl, H(a(v).tooltip), 1)) : x("", !0),
2596
+ a(m).labelAttributes?.info ? (k(), T("div", {
2574
2597
  key: 1,
2575
2598
  class: "ff-label-tooltip-info",
2576
- innerHTML: a(v).labelAttributes.info
2577
- }, null, 8, ll)) : x("", !0)
2599
+ innerHTML: a(m).labelAttributes.info
2600
+ }, null, 8, ol)) : x("", !0)
2578
2601
  ], !0)
2579
2602
  ]),
2580
2603
  key: "0"
2581
2604
  } : void 0
2582
2605
  ]), 1040, ["data-testid", "required", "tooltip-attributes"])
2583
- ], 8, al)) : x("", !0),
2584
- (b(!0), T(se, null, de(a(r), ([C, K], J) => (b(), F(ue(_.value), {
2585
- key: C,
2606
+ ], 8, ll)) : x("", !0),
2607
+ (k(!0), T(oe, null, fe(a(o), ([L, K], J) => (k(), F(le(V.value), {
2608
+ key: L,
2586
2609
  class: Pe(["ff-map-field-item", {
2587
- "ff-map-field-item-simple": V.value,
2588
- "ff-map-field-item-complex": !V.value
2610
+ "ff-map-field-item-simple": _.value,
2611
+ "ff-map-field-item-complex": !_.value
2589
2612
  }]),
2590
2613
  "data-testid": `ff-map-container-${a(i).path.value}.${J}`
2591
2614
  }, {
2592
2615
  default: P(() => [
2593
- fe("div", sl, [
2594
- fe("div", rl, [
2595
- D(_e, {
2616
+ ce("div", rl, [
2617
+ ce("div", il, [
2618
+ B(_e, {
2596
2619
  class: "ff-map-field-fields-key",
2597
2620
  "data-key-input": J,
2598
2621
  "data-testid": `ff-map-key-${a(i).path.value}.${J}`,
2599
2622
  disabled: f.value,
2600
2623
  "model-value": K,
2601
2624
  placeholder: e.keyPlaceholder || "Key",
2602
- onKeydown: tt(Te((ie) => y(J), ["prevent"]), ["enter"]),
2603
- "onUpdate:modelValue": (ie) => a(s)(C, ie)
2625
+ onKeydown: tt(Te((ue) => y(J), ["prevent"]), ["enter"]),
2626
+ "onUpdate:modelValue": (ue) => a(s)(L, ue)
2604
2627
  }, null, 8, ["data-key-input", "data-testid", "disabled", "model-value", "placeholder", "onKeydown", "onUpdate:modelValue"]),
2605
- B($.$slots, "default", { keyId: C }, () => [
2606
- h.value ? (b(), F(et, {
2628
+ D($.$slots, "default", { keyId: L }, () => [
2629
+ b.value ? (k(), F(et, {
2607
2630
  key: 0,
2608
2631
  "inline-vault-picker": "",
2609
2632
  multiline: e.appearance?.string?.multiline,
2610
- name: C,
2611
- onKeydown: tt((ie) => A(ie, J), ["enter"])
2612
- }, null, 8, ["multiline", "name", "onKeydown"])) : (b(), F($e, {
2633
+ name: L,
2634
+ onKeydown: tt((ue) => g(ue, J), ["enter"])
2635
+ }, null, 8, ["multiline", "name", "onKeydown"])) : (k(), F($e, {
2613
2636
  key: 1,
2614
- name: C
2637
+ name: L
2615
2638
  }, null, 8, ["name"]))
2616
2639
  ], !0)
2617
2640
  ]),
2618
- D(M, {
2619
- text: a(t).t("actions.remove_entity", { entity: a(u) })
2641
+ B(M, {
2642
+ text: a(t).t("actions.remove_entity", { entity: a(c) })
2620
2643
  }, {
2621
2644
  default: P(() => [
2622
- D(O, {
2645
+ B(O, {
2623
2646
  appearance: "tertiary",
2624
- "aria-label": a(t).t("actions.remove_entity", { entity: a(u) }),
2647
+ "aria-label": a(t).t("actions.remove_entity", { entity: a(c) }),
2625
2648
  "data-testid": `ff-map-remove-btn-${a(i).path.value}.${J}`,
2626
2649
  disabled: f.value,
2627
2650
  icon: "",
2628
- onClick: (ie) => a(d)(C)
2651
+ onClick: (ue) => a(d)(L)
2629
2652
  }, {
2630
2653
  default: P(() => [
2631
- D(a(Ye))
2654
+ B(a(Ye))
2632
2655
  ]),
2633
2656
  _: 1
2634
2657
  }, 8, ["aria-label", "data-testid", "disabled", "onClick"])
@@ -2639,53 +2662,53 @@ const _e = /* @__PURE__ */ Y({
2639
2662
  ]),
2640
2663
  _: 2
2641
2664
  }, 1032, ["class", "data-testid"]))), 128)),
2642
- D(O, {
2665
+ B(O, {
2643
2666
  appearance: "tertiary",
2644
- "aria-label": a(t).t("actions.add_entity", { entity: a(u) }),
2667
+ "aria-label": a(t).t("actions.add_entity", { entity: a(c) }),
2645
2668
  class: "ff-map-field-add-entry-btn",
2646
2669
  "data-testid": `ff-map-add-btn-${a(i).path.value}`,
2647
2670
  disabled: f.value,
2648
2671
  onClick: S
2649
2672
  }, {
2650
2673
  default: P(() => [
2651
- D(a(Fe)),
2652
- le(" " + H(a(t).t("actions.add_entity", { entity: a(u) })), 1)
2674
+ B(a(Fe)),
2675
+ se(" " + H(a(t).t("actions.add_entity", { entity: a(c) })), 1)
2653
2676
  ]),
2654
2677
  _: 1
2655
2678
  }, 8, ["aria-label", "data-testid", "disabled"])
2656
- ], 8, tl)), [
2679
+ ], 8, nl)), [
2657
2680
  [ee, !a(i).hide.value]
2658
2681
  ]);
2659
2682
  };
2660
2683
  }
2661
- }), il = /* @__PURE__ */ Q(ol, [["__scopeId", "data-v-9cca5d31"]]);
2662
- function ul(e) {
2684
+ }), cl = /* @__PURE__ */ Q(ul, [["__scopeId", "data-v-9cca5d31"]]);
2685
+ function dl(e) {
2663
2686
  switch (e?.type) {
2664
2687
  case "string":
2665
2688
  return "one_of" in e ? Ie : et;
2666
2689
  case "boolean":
2667
- return "one_of" in e ? Ie : un;
2690
+ return "one_of" in e ? Ie : dn;
2668
2691
  case "number":
2669
2692
  case "integer":
2670
- return "one_of" in e ? Ie : Nn;
2693
+ return "one_of" in e ? Ie : Hn;
2671
2694
  case "array":
2672
- return $n;
2695
+ return Vn;
2673
2696
  case "set":
2674
- return ua(e) ? jt : Ie;
2697
+ return ua(e) ? Mt : Ie;
2675
2698
  case "record":
2676
- return Ln;
2699
+ return Cn;
2677
2700
  case "map":
2678
- return il;
2701
+ return cl;
2679
2702
  case "json":
2680
- return Gn;
2703
+ return Qn;
2681
2704
  case "foreign":
2682
- return el;
2705
+ return al;
2683
2706
  default:
2684
2707
  return;
2685
2708
  }
2686
2709
  }
2687
- function cl(e) {
2688
- return ul(e);
2710
+ function fl(e) {
2711
+ return dl(e);
2689
2712
  }
2690
2713
  const $e = /* @__PURE__ */ Y({
2691
2714
  name: "AutoField",
@@ -2697,36 +2720,36 @@ const $e = /* @__PURE__ */ Y({
2697
2720
  },
2698
2721
  emits: ["globalAction"],
2699
2722
  setup(e) {
2700
- const n = e, t = ne(q(n, "name")), l = k(() => cl(t.schema?.value));
2701
- return (o, r) => {
2723
+ const n = e, t = ne(q(n, "name")), l = A(() => fl(t.schema?.value));
2724
+ return (r, o) => {
2702
2725
  const s = W("KAlert");
2703
- return b(), T(se, null, [
2704
- (b(), F(ue(o.$slots[a(Ee)]))),
2705
- a(t).error ? (b(), F(s, {
2726
+ return k(), T(oe, null, [
2727
+ (k(), F(le(r.$slots[a(Ee)]))),
2728
+ a(t).error ? (k(), F(s, {
2706
2729
  key: 0,
2707
2730
  appearance: "danger",
2708
2731
  message: a(t).error.message
2709
- }, null, 8, ["message"])) : a(t).renderer.value ? (b(), F(ue(a(t).renderer.value), {
2732
+ }, null, 8, ["message"])) : a(t).renderer.value ? (k(), F(le(a(t).renderer.value), {
2710
2733
  key: 1,
2711
2734
  autofocus: n.autofocus,
2712
2735
  name: Ae(a(t).path.value),
2713
- onGlobalAction: r[0] || (r[0] = (c, d) => o.$emit("globalAction", c, d))
2714
- }, null, 40, ["autofocus", "name"])) : (b(), T(se, { key: 2 }, [
2715
- l.value ? (b(), F(ue(l.value), {
2736
+ onGlobalAction: o[0] || (o[0] = (u, d) => r.$emit("globalAction", u, d))
2737
+ }, null, 40, ["autofocus", "name"])) : (k(), T(oe, { key: 2 }, [
2738
+ l.value ? (k(), F(le(l.value), {
2716
2739
  key: 0,
2717
2740
  autofocus: n.autofocus,
2718
2741
  name: Ae(a(t).path.value)
2719
- }, null, 8, ["autofocus", "name"])) : (b(), F(s, {
2742
+ }, null, 8, ["autofocus", "name"])) : (k(), F(s, {
2720
2743
  key: 1,
2721
2744
  appearance: "warning",
2722
2745
  message: `${a(t).path.value} ${a(t).schema.value.type} (no renderer yet)`
2723
2746
  }, null, 8, ["message"])),
2724
- B(o.$slots, "default")
2747
+ D(r.$slots, "default")
2725
2748
  ], 64))
2726
2749
  ], 64);
2727
2750
  };
2728
2751
  }
2729
- }), Pl = /* @__PURE__ */ Y({
2752
+ }), Fl = /* @__PURE__ */ Y({
2730
2753
  name: "SchemaForm",
2731
2754
  __name: "Form",
2732
2755
  props: {
@@ -2739,37 +2762,37 @@ const $e = /* @__PURE__ */ Y({
2739
2762
  },
2740
2763
  emits: ["change", "globalAction"],
2741
2764
  setup(e, { expose: n, emit: t }) {
2742
- const l = t, o = we(), { getSchema: r, formData: s, setValue: c, getValue: d, rootRenderRules: i, getEmptyValue: u } = Da({
2765
+ const l = t, r = we(), { getSchema: o, formData: s, setValue: u, getValue: d, rootRenderRules: i, getEmptyValue: c } = Da({
2743
2766
  schema: e.schema,
2744
- propsData: k(() => e.data),
2767
+ propsData: A(() => e.data),
2745
2768
  propsConfig: () => e.config,
2746
2769
  propsRenderRules: q(() => e.renderRules),
2747
- onChange: (p) => l("change", p)
2748
- }), v = k(() => {
2749
- const { fields: p } = r();
2750
- let f = p.filter((g) => Object.keys(g)[0] !== Le);
2751
- return e.fieldsOrder ? _t(f, e.fieldsOrder) : (i.value?.bundles && (f = Vt([...f], i.value.bundles)), f);
2770
+ onChange: (v) => l("change", v)
2771
+ }), m = A(() => {
2772
+ const { fields: v } = o();
2773
+ let f = v.filter((h) => Object.keys(h)[0] !== Ke);
2774
+ return e.fieldsOrder ? Vt(f, e.fieldsOrder) : (i.value?.bundles && (f = St([...f], i.value.bundles)), f);
2752
2775
  });
2753
2776
  return n({
2754
2777
  getValue: d,
2755
- getRawValue: () => yt(s),
2756
- setValue: c,
2757
- getEmptyValue: u
2758
- }), (p, f) => (b(), F(ue(e.tag), null, {
2778
+ getRawValue: () => ht(s),
2779
+ setValue: u,
2780
+ getEmptyValue: c
2781
+ }), (v, f) => (k(), F(le(e.tag), null, {
2759
2782
  default: P(() => [
2760
- (b(), F(ue(a(o)[a(Ee)]))),
2761
- B(p.$slots, "default", {}, () => [
2762
- (b(!0), T(se, null, de(v.value, (g) => (b(), F($e, {
2763
- key: Object.keys(g)[0],
2764
- name: Object.keys(g)[0],
2765
- onGlobalAction: f[0] || (f[0] = (V, E) => l("globalAction", V, E))
2783
+ (k(), F(le(a(r)[a(Ee)]))),
2784
+ D(v.$slots, "default", {}, () => [
2785
+ (k(!0), T(oe, null, fe(m.value, (h) => (k(), F($e, {
2786
+ key: Object.keys(h)[0],
2787
+ name: Object.keys(h)[0],
2788
+ onGlobalAction: f[0] || (f[0] = (_, E) => l("globalAction", _, E))
2766
2789
  }, null, 8, ["name"]))), 128))
2767
2790
  ])
2768
2791
  ]),
2769
2792
  _: 3
2770
2793
  }));
2771
2794
  }
2772
- }), Tl = /* @__PURE__ */ Y({
2795
+ }), jl = /* @__PURE__ */ Y({
2773
2796
  __name: "FieldRenderer",
2774
2797
  props: {
2775
2798
  match: { type: Function },
@@ -2777,9 +2800,9 @@ const $e = /* @__PURE__ */ Y({
2777
2800
  },
2778
2801
  setup(e) {
2779
2802
  const n = e, { default: t } = we(), { fieldRendererRegistry: l } = ae();
2780
- return t && l.set(n.match, t), (o, r) => null;
2803
+ return t && l.set(n.match, t), (r, o) => null;
2781
2804
  }
2782
- }), dl = ["data-testid"], fl = /* @__PURE__ */ Y({
2805
+ }), pl = ["data-testid"], ml = /* @__PURE__ */ Y({
2783
2806
  __name: "SwitchField",
2784
2807
  props: {
2785
2808
  labelAttributes: {},
@@ -2791,102 +2814,102 @@ const $e = /* @__PURE__ */ Y({
2791
2814
  },
2792
2815
  emits: ["update:modelValue"],
2793
2816
  setup(e, { emit: n }) {
2794
- const { i18n: { t } } = me(), l = pe(e, ["name", "enabledText", "disabledText"]), { value: o, hide: r, emptyOrDefaultValue: s, versionInfo: c, ...d } = ne(q(() => e.name)), i = n, u = k(() => !!l.disabled || !!c?.value), v = (f) => {
2795
- o.value = f, i("update:modelValue", f);
2796
- }, p = oe(d.path, l);
2797
- return (f, g) => {
2798
- const V = W("KAlert");
2799
- return d.error ? (b(), F(V, {
2817
+ const { i18n: { t } } = me(), l = pe(e, ["name", "enabledText", "disabledText"]), { value: r, hide: o, emptyOrDefaultValue: s, versionInfo: u, ...d } = ne(q(() => e.name)), i = n, c = A(() => !!l.disabled || !!u?.value), m = (f) => {
2818
+ r.value = f, i("update:modelValue", f);
2819
+ }, v = ie(d.path, l);
2820
+ return (f, h) => {
2821
+ const _ = W("KAlert");
2822
+ return d.error ? (k(), F(_, {
2800
2823
  key: 0,
2801
2824
  appearance: "danger",
2802
2825
  message: d.error.message
2803
- }, null, 8, ["message"])) : Z((b(), T("div", {
2826
+ }, null, 8, ["message"])) : Z((k(), T("div", {
2804
2827
  key: 1,
2805
2828
  class: "ff-switch-field",
2806
2829
  "data-testid": `ff-${d.path.value}`
2807
2830
  }, [
2808
- D(a(na), G(a(p), {
2809
- disabled: u.value,
2810
- "disabled-tooltip-text": a(c)?.tooltip,
2811
- "model-value": !!(a(o) == null ? a(s) : a(o)),
2812
- "onUpdate:modelValue": v
2831
+ B(a(na), G(a(v), {
2832
+ disabled: c.value,
2833
+ "disabled-tooltip-text": a(u)?.tooltip,
2834
+ "model-value": !!(a(r) == null ? a(s) : a(r)),
2835
+ "onUpdate:modelValue": m
2813
2836
  }), {
2814
2837
  label: P(() => [
2815
- le(H(a(o) ? e.enabledText || a(t)("actions.enabled") : e.disabledText || a(t)("actions.disabled")), 1)
2838
+ se(H(a(r) ? e.enabledText || a(t)("actions.enabled") : e.disabledText || a(t)("actions.disabled")), 1)
2816
2839
  ]),
2817
2840
  _: 1
2818
2841
  }, 16, ["disabled", "disabled-tooltip-text", "model-value"])
2819
- ], 8, dl)), [
2820
- [ee, !a(r)]
2842
+ ], 8, pl)), [
2843
+ [ee, !a(o)]
2821
2844
  ]);
2822
2845
  };
2823
2846
  }
2824
- }), Fl = /* @__PURE__ */ Q(fl, [["__scopeId", "data-v-d119ed7b"]]);
2847
+ }), Ml = /* @__PURE__ */ Q(ml, [["__scopeId", "data-v-d119ed7b"]]);
2825
2848
  export {
2826
- $n as ArrayField,
2827
- un as BooleanField,
2828
- Le as EXPRESSIONS_FIELD,
2849
+ Vn as ArrayField,
2850
+ dn as BooleanField,
2851
+ Ke as EXPRESSIONS_FIELD,
2829
2852
  Re as EXPRESSION_ARRAY_EMPTY,
2830
2853
  _e as EnhancedInput,
2831
2854
  vt as EntityChecksAlert,
2832
2855
  Ie as EnumField,
2833
- Ft as ExpressionEditor,
2834
- rt as FIELD_PATH_KEY,
2856
+ jt as ExpressionEditor,
2857
+ ot as FIELD_PATH_KEY,
2835
2858
  Ee as FIELD_RENDERERS,
2836
2859
  ze as FIELD_RENDERER_SLOTS,
2837
- ot as FIELD_RESET_LABEL_PATH_SETTING,
2860
+ rt as FIELD_RESET_LABEL_PATH_SETTING,
2838
2861
  Ve as FREE_FORM_SCHEMA_MAP_KEY,
2839
2862
  $e as Field,
2840
- Tl as FieldRenderer,
2841
- el as ForeignField,
2842
- Pl as Form,
2843
- Gn as JsonField,
2844
- il as MapField,
2845
- Nn as NumberField,
2846
- Ln as ObjectField,
2847
- Vn as SlideTransition,
2848
- jt as StringArrayField,
2863
+ jl as FieldRenderer,
2864
+ al as ForeignField,
2865
+ Fl as Form,
2866
+ Qn as JsonField,
2867
+ cl as MapField,
2868
+ Hn as NumberField,
2869
+ Cn as ObjectField,
2870
+ wn as SlideTransition,
2871
+ Mt as StringArrayField,
2849
2872
  et as StringField,
2850
- Fl as SwitchField,
2873
+ Ml as SwitchField,
2851
2874
  Ua as USE_SECRET_INPUT_KEY,
2852
2875
  Ge as arraySymbol,
2853
2876
  da as buildAncestor,
2854
2877
  xe as buildArraySchemaMap,
2855
- Ke as buildMapSchemaMap,
2856
- Me as buildRecordSchemaMap,
2878
+ Le as buildMapSchemaMap,
2879
+ Oe as buildRecordSchemaMap,
2857
2880
  Ea as buildSchemaMap,
2858
- Tt as defaultLabelFormatter,
2859
- Oa as findExpressionSourceRecord,
2881
+ Ft as defaultLabelFormatter,
2882
+ Ma as findExpressionSourceRecord,
2860
2883
  ge as generalizePath,
2861
- wl as generateCredentialSecret,
2862
- ye as getName,
2884
+ Il as generateCredentialSecret,
2885
+ he as getName,
2863
2886
  st as isAbsolute,
2864
- Ma as isExpressionFieldSchema,
2887
+ Oa as isExpressionFieldSchema,
2865
2888
  ua as isTagField,
2866
2889
  Xe as mapSymbol,
2867
- Sl as normalizeMatch,
2890
+ El as normalizeMatch,
2868
2891
  Da as provideFormShared,
2869
- $t as pruneHiddenPaths,
2892
+ _t as pruneHiddenPaths,
2870
2893
  Qe as removeRootSymbol,
2871
- El as renderRuleExactMatch,
2872
- It as replaceByDictionary,
2873
- Pt as replaceByDictionaryInFieldName,
2874
- L as resolve,
2894
+ Pl as renderRuleExactMatch,
2895
+ Pt as replaceByDictionary,
2896
+ Tt as replaceByDictionaryInFieldName,
2897
+ C as resolve,
2875
2898
  Sa as resolveEmptyFieldValue,
2876
- cl as resolveFieldComponent,
2899
+ fl as resolveFieldComponent,
2877
2900
  Ae as resolveRoot,
2878
- ce as rootSymbol,
2879
- Oe as separator,
2880
- Vt as sortFieldsByBundles,
2881
- _t as sortFieldsByFieldNames,
2901
+ de as rootSymbol,
2902
+ Me as separator,
2903
+ St as sortFieldsByBundles,
2904
+ Vt as sortFieldsByFieldNames,
2882
2905
  z as toArray,
2883
2906
  Fa as toExpressionPath,
2884
2907
  ia as toSelectItems,
2885
2908
  ja as toSourcePath,
2886
2909
  qa as useExpressionField,
2887
2910
  ne as useField,
2888
- St as useFieldAncestors,
2889
- oe as useFieldAttrs,
2911
+ wt as useFieldAncestors,
2912
+ ie as useFieldAttrs,
2890
2913
  Ga as useFieldLabel,
2891
2914
  Ze as useFieldPath,
2892
2915
  Ha as useFieldRenderer,
@@ -2896,6 +2919,6 @@ export {
2896
2919
  Ya as useLabelPath,
2897
2920
  Xa as useMapField,
2898
2921
  Na as useOptionalFormShared,
2899
- Il as useSchemaExposer,
2922
+ Tl as useSchemaExposer,
2900
2923
  Ia as useSchemaHelpers
2901
2924
  };