@dativa-lv/lx-builders 2.2.7 → 2.2.9

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.
Files changed (32) hide show
  1. package/README.md +2 -2
  2. package/dist/dativa-lx-builders.d.ts +1 -0
  3. package/dist/{wntr-lx-ui.esm.js → dativa-lx-builders.esm.js} +910 -758
  4. package/dist/dativa-lx-builders.umd.js +1 -0
  5. package/dist/styles/lx-constructor.css +1 -1
  6. package/dist/types/App.vue.d.ts +2 -0
  7. package/dist/{src → types}/components/AppendableListSimple.vue.d.ts +2 -3
  8. package/dist/{src → types}/components/FilterBuilder.vue.d.ts +47 -51
  9. package/dist/{src → types}/components/FormBuilder.vue.d.ts +2 -3
  10. package/dist/{src → types}/components/FormBuilderItem.vue.d.ts +2 -3
  11. package/dist/{src → types}/components/FormBuilderListItem.vue.d.ts +2 -3
  12. package/dist/{src → types}/components/ViewBuilder.vue.d.ts +2 -3
  13. package/dist/{src → types}/components/constructor/Constructor.vue.d.ts +102 -113
  14. package/dist/{src → types}/components/constructor/ConstructorPropRenderer.vue.d.ts +2 -3
  15. package/dist/{src → types}/components/constructor/Panel.vue.d.ts +4 -5
  16. package/dist/{src → types}/components/constructor/PropRendererItem.vue.d.ts +147 -163
  17. package/dist/types/utils/builderUtils.d.ts +1 -0
  18. package/package.json +33 -23
  19. package/dist/src/App.vue.d.ts +0 -3
  20. package/dist/tests/filterBuilder.test.d.ts +0 -1
  21. package/dist/tests/formBuilder.test.d.ts +0 -1
  22. package/dist/wntr-lx-ui.d.ts +0 -1
  23. package/dist/wntr-lx-ui.umd.js +0 -1
  24. /package/dist/{src → types}/components/formBuilderOtherSelect.d.ts +0 -0
  25. /package/dist/{src → types}/components/index.d.ts +0 -0
  26. /package/dist/{src → types}/constants.d.ts +0 -0
  27. /package/dist/{src → types}/hooks/useLx.d.ts +0 -0
  28. /package/dist/{src → types}/lib.d.ts +0 -0
  29. /package/dist/{src → types}/main.d.ts +0 -0
  30. /package/dist/{src → types}/utils/constructorUtils.d.ts +0 -0
  31. /package/dist/{src → types}/utils/global.d.ts +0 -0
  32. /package/dist/{src → types}/utils/index.d.ts +0 -0
@@ -1,8 +1,8 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, getCurrentScope as f, hasInjectionContext as p, inject as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeMount as y, onMounted as b, onScopeDispose as x, openBlock as S, ref as C, renderList as w, renderSlot as T, shallowRef as E, toDisplayString as D, toValue as O, unref as k, vShow as A, watch as j, watchEffect as M, withCtx as N, withDirectives as P, withKeys as F } from "vue";
3
- import { LxAppendableList as ee, LxAutoComplete as te, LxButton as I, LxCamera as L, LxCheckbox as ne, LxContentSwitcher as re, LxDataBlock as R, LxDataGrid as z, LxDataVisualizer as ie, LxDateTimePicker as B, LxDateTimeRange as V, LxDayInput as ae, LxDialog as oe, LxDrawPad as se, LxDropDownMenu as ce, LxEmptyState as le, LxExpander as ue, LxFileUploader as de, LxFileViewer as fe, LxFilters as pe, LxFlag as me, LxForm as H, LxIcon as he, LxIllustration as ge, LxLink as _e, LxList as ve, LxListItem as ye, LxLogoDisplay as be, LxMap as xe, LxMarkdownTextArea as Se, LxModal as Ce, LxNumberSlider as we, LxPersonDisplay as U, LxPlaceholder as Te, LxQr as Ee, LxQrScanner as De, LxRating as Oe, LxRichTextDisplay as ke, LxRow as W, LxSection as Ae, LxStack as G, LxStateDisplay as je, LxSteps as Me, LxTextArea as Ne, LxTextInput as K, LxToggle as Pe, LxToolbar as Fe, LxValuePicker as Ie, LxViewLayout as Le, LxVisualPicker as Re, builderRegistry as ze, lxDateUtils as Be, lxDevUtils as Ve, lxFormatUtils as q, lxGeneralUtils as He, lxIconUtils as J, lxStringUtils as Y } from "@dativa-lv/lx-ui";
2
+ import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, getCurrentScope as f, hasInjectionContext as p, inject as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeMount as y, onMounted as b, onScopeDispose as x, openBlock as S, ref as C, renderList as w, renderSlot as T, shallowRef as E, toDisplayString as D, toValue as O, unref as k, vShow as A, watch as j, watchEffect as M, withCtx as N, withDirectives as P, withKeys as ee } from "vue";
3
+ import { LxAppendableList as te, LxAutoComplete as ne, LxButton as F, LxCamera as I, LxCheckbox as re, LxContentSwitcher as L, LxDataBlock as ie, LxDataGrid as ae, LxDataVisualizer as R, LxDateTimePicker as z, LxDateTimeRange as oe, LxDayInput as se, LxDialog as ce, LxDrawPad as le, LxDropDownMenu as ue, LxEmptyState as de, LxExpander as fe, LxFileUploader as pe, LxFileViewer as me, LxFilters as he, LxFlag as ge, LxForm as B, LxIcon as _e, LxIllustration as ve, LxLink as ye, LxList as be, LxListItem as xe, LxLogoDisplay as Se, LxMap as Ce, LxMarkdownTextArea as we, LxModal as Te, LxNumberSlider as V, LxPersonDisplay as H, LxPlaceholder as U, LxQr as Ee, LxQrScanner as De, LxRating as Oe, LxRichTextDisplay as ke, LxRow as W, LxSection as Ae, LxStack as G, LxStateDisplay as je, LxSteps as Me, LxTextArea as Ne, LxTextInput as K, LxToggle as Pe, LxToolbar as Fe, LxValuePicker as Ie, LxViewLayout as Le, LxVisualPicker as Re, builderRegistry as ze, lxDateUtils as Be, lxDevUtils as Ve, lxFormatUtils as q, lxGeneralUtils as J, lxIconUtils as Y, lxStringUtils as He } from "@dativa-lv/lx-ui";
4
4
  //#region \0rolldown/runtime.js
5
- var Ue = Object.defineProperty, We = Object.getOwnPropertyDescriptor, Ge = Object.getOwnPropertyNames, Ke = Object.prototype.hasOwnProperty, X = (e, t) => {
5
+ var Ue = Object.defineProperty, We = Object.getOwnPropertyDescriptor, Ge = Object.getOwnPropertyNames, X = Object.prototype.hasOwnProperty, Ke = (e, t) => {
6
6
  let n = {};
7
7
  for (var r in e) Ue(n, r, {
8
8
  get: e[r],
@@ -10,14 +10,14 @@ var Ue = Object.defineProperty, We = Object.getOwnPropertyDescriptor, Ge = Objec
10
10
  });
11
11
  return t || Ue(n, Symbol.toStringTag, { value: "Module" }), n;
12
12
  }, qe = (e, t, n, r) => {
13
- if (t && typeof t == "object" || typeof t == "function") for (var i = Ge(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !Ke.call(e, s) && s !== n && Ue(e, s, {
13
+ if (t && typeof t == "object" || typeof t == "function") for (var i = Ge(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !X.call(e, s) && s !== n && Ue(e, s, {
14
14
  get: ((e) => t[e]).bind(null, s),
15
15
  enumerable: !(r = We(t, s)) || r.enumerable
16
16
  });
17
17
  return e;
18
18
  }, Je = (e, t, n) => (qe(e, t, "default"), n && qe(n, t, "default")), Ye = {}, Xe = (e) => {
19
19
  Ye = e;
20
- }, Ze = () => Ye, Qe = () => ({ getGlobals: () => Ze() || null }), Z = /* @__PURE__ */ X({
20
+ }, Ze = () => Ye, Qe = () => ({ getGlobals: () => Ze() || null }), Z = /* @__PURE__ */ Ke({
21
21
  Vue: () => e,
22
22
  Vue2: () => void 0,
23
23
  del: () => nt,
@@ -40,7 +40,7 @@ function nt(e, t) {
40
40
  delete e[t];
41
41
  }
42
42
  //#endregion
43
- //#region node_modules/.pnpm/@vuelidate+core@2.0.3_vue@3.5.17_typescript@5.9.3_/node_modules/@vuelidate/core/dist/index.mjs
43
+ //#region node_modules/@vuelidate/core/dist/index.mjs
44
44
  function rt(e, t) {
45
45
  var n = Object.keys(e);
46
46
  if (Object.getOwnPropertySymbols) {
@@ -336,7 +336,7 @@ function St(e) {
336
336
  function P(e) {
337
337
  return (a.value || {})[e];
338
338
  }
339
- function F() {
339
+ function ee() {
340
340
  (0, Z.isRef)(l) ? l.value = _ : Object.keys(_).length === 0 ? Object.keys(l).forEach((e) => {
341
341
  delete l[e];
342
342
  }) : Object.assign(l, _);
@@ -357,7 +357,7 @@ function St(e) {
357
357
  $commit: j
358
358
  }, a && {
359
359
  $getResultsForChild: P,
360
- $clearExternalResults: F,
360
+ $clearExternalResults: ee,
361
361
  $validationGroups: x
362
362
  }), b));
363
363
  }
@@ -457,7 +457,7 @@ function At(e, t) {
457
457
  })), (0, Z.onBeforeUnmount)(() => m.forEach((e) => e(r)))), (0, Z.computed)(() => it(it({}, (0, Z.unref)(u.value)), f.value));
458
458
  }
459
459
  //#endregion
460
- //#region node_modules/.pnpm/@vuelidate+validators@2.0.4_vue@3.5.17_typescript@5.9.3_/node_modules/@vuelidate/validators/dist/index.mjs
460
+ //#region node_modules/@vuelidate/validators/dist/index.mjs
461
461
  function jt(e, t) {
462
462
  var n = Object.keys(e);
463
463
  if (Object.getOwnPropertySymbols) {
@@ -890,7 +890,7 @@ var $ = {
890
890
  key: 1,
891
891
  class: "lx-secondary",
892
892
  style: v(e.useStyles ? t(e.itemValue) : null)
893
- }, D(i(e.itemValue, e.item, e.itemName)), 5)) : e.itemValue?.lx?.displayType === "flag" ? (S(), r(k(me), {
893
+ }, D(i(e.itemValue, e.item, e.itemName)), 5)) : e.itemValue?.lx?.displayType === "flag" ? (S(), r(k(ge), {
894
894
  key: 2,
895
895
  value: e.item?.[e.itemName]?.value || e.item?.[e.itemName] || e.itemValue?.lx?.value,
896
896
  size: e.item?.[e.itemName]?.size || e.itemValue?.lx?.size,
@@ -910,7 +910,7 @@ var $ = {
910
910
  "value",
911
911
  "dictionary",
912
912
  "style"
913
- ])) : e.itemValue?.lx?.displayType === "personDisplay" ? (S(), r(k(U), {
913
+ ])) : e.itemValue?.lx?.displayType === "personDisplay" ? (S(), r(k(H), {
914
914
  key: 4,
915
915
  value: e.item?.[e.itemName]?.value || e.item?.[e.itemName] || e.itemValue?.lx?.value,
916
916
  name: e.item?.[e.itemName]?.name || e.itemValue?.lx?.name,
@@ -957,7 +957,7 @@ var $ = {
957
957
  "maxLength",
958
958
  "texts",
959
959
  "style"
960
- ])) : e.itemValue?.lx?.displayType === "icon" ? (S(), r(k(he), {
960
+ ])) : e.itemValue?.lx?.displayType === "icon" ? (S(), r(k(_e), {
961
961
  key: 5,
962
962
  value: e.item?.[e.itemName]?.value || e.item?.[e.itemName] || e.itemValue?.lx?.value,
963
963
  iconSet: e.item?.[e.itemName]?.iconSet || e.itemValue?.lx?.iconSet,
@@ -1029,7 +1029,7 @@ var $ = {
1029
1029
  }), f = {
1030
1030
  removeItem: "Dzēst ierakstu",
1031
1031
  addButtonLabel: "Pievienot ierakstu"
1032
- }, p = n(() => He.getDisplayTexts(c.texts, f));
1032
+ }, p = n(() => J.getDisplayTexts(c.texts, f));
1033
1033
  function m(e) {
1034
1034
  d.value.splice(e, 1);
1035
1035
  }
@@ -1042,7 +1042,7 @@ var $ = {
1042
1042
  }), (n, s) => (S(), a("div", { class: _(["lx-appendable-list lx-appendable-list-simple", [{ "lx-appendable-list-compact": e.kind === "compact" }]]) }, [(S(!0), a(t, null, w(d.value, (t, s) => (S(), a("div", {
1043
1043
  key: s,
1044
1044
  class: "lx-appendable-list-item"
1045
- }, [l(k(H), {
1045
+ }, [l(k(B), {
1046
1046
  kind: "stripped",
1047
1047
  columnCount: e.columnCount,
1048
1048
  "required-mode": c.requiredMode
@@ -1052,7 +1052,7 @@ var $ = {
1052
1052
  index: s
1053
1053
  }))]),
1054
1054
  _: 2
1055
- }, 1032, ["columnCount", "required-mode"]), o("div", on, [o("div", sn, [e.readOnly ? i("", !0) : (S(), r(k(I), {
1055
+ }, 1032, ["columnCount", "required-mode"]), o("div", on, [o("div", sn, [e.readOnly ? i("", !0) : (S(), r(k(F), {
1056
1056
  key: 0,
1057
1057
  icon: "remove-item",
1058
1058
  variant: "icon-only",
@@ -1060,7 +1060,7 @@ var $ = {
1060
1060
  destructive: !0,
1061
1061
  kind: "ghost",
1062
1062
  onClick: (e) => m(s)
1063
- }, null, 8, ["label", "onClick"]))])])]))), 128)), o("div", null, [!e.readOnly && e.canAddItems ? (S(), r(k(I), {
1063
+ }, null, 8, ["label", "onClick"]))])])]))), 128)), o("div", null, [!e.readOnly && e.canAddItems ? (S(), r(k(F), {
1064
1064
  key: 0,
1065
1065
  kind: "tertiary",
1066
1066
  label: p.value.addButtonLabel,
@@ -1068,10 +1068,18 @@ var $ = {
1068
1068
  onClick: g
1069
1069
  }, null, 8, ["label"])) : i("", !0)])], 2));
1070
1070
  }
1071
- }, ln = { key: 0 }, un = { key: 1 }, dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { key: 2 }, gn = { key: 7 }, _n = { key: 9 }, vn = { key: 0 }, yn = { key: 11 }, bn = { key: 0 }, xn = { key: 0 }, Sn = { key: 0 }, Cn = { key: 1 }, wn = { key: 0 }, Tn = { key: 1 }, En = { key: 0 }, Dn = { key: 1 }, On = { key: 2 }, kn = {
1071
+ };
1072
+ //#endregion
1073
+ //#region src/utils/builderUtils.js
1074
+ function ln(e) {
1075
+ return e === "date" || e === "time" || e === "time-full" || e === "date-time" || e === "date-time-full" || e === "year" || e === "month" || e === "month-year" || e === "quarters" || e === "day-month";
1076
+ }
1077
+ //#endregion
1078
+ //#region src/components/FormBuilderItem.vue
1079
+ var un = { key: 0 }, dn = { key: 1 }, fn = { key: 0 }, pn = { key: 1 }, mn = { key: 0 }, hn = { key: 1 }, gn = { key: 2 }, _n = { key: 7 }, vn = { key: 9 }, yn = { key: 0 }, bn = { key: 11 }, xn = { key: 0 }, Sn = { key: 0 }, Cn = { key: 0 }, wn = { key: 1 }, Tn = { key: 0 }, En = { key: 1 }, Dn = { key: 0 }, On = { key: 1 }, kn = { key: 2 }, An = {
1072
1080
  key: 42,
1073
1081
  class: "lx-data"
1074
- }, An = {
1082
+ }, jn = {
1075
1083
  __name: "FormBuilderItem",
1076
1084
  props: {
1077
1085
  id: {
@@ -1156,31 +1164,28 @@ var $ = {
1156
1164
  return !e && t === "number" ? "decimal" : !e && t === "string" ? "default" : e;
1157
1165
  }
1158
1166
  function y(e) {
1159
- return e?.format !== "date" && e?.format !== "time" && e?.format !== "date-time" && e?.format !== "year" && e?.format !== "month" && e?.format !== "month-year" && e?.format !== "quarters";
1167
+ return e?.type === "string" && e?.lx?.kind !== "multiline" && !e?.lx?.variant && !ln(e?.format) && !e?.enum || e?.type === "number" && !e?.lx?.variant && !ln(e?.format) && !e?.enum ? "textInputDefault" : e?.type === "string" && e?.lx?.kind === "multiline" ? "textArea" : e?.type === "string" && ln(e?.format) ? "dateTimePicker" : "";
1160
1168
  }
1161
1169
  function b(e) {
1162
- return e?.type === "string" && e?.lx?.kind !== "multiline" && !e?.lx?.variant && y(e) && !e?.enum || e?.type === "number" && !e?.lx?.variant && y(e) && !e?.enum ? "textInputDefault" : e?.type === "string" && e?.lx?.kind === "multiline" ? "textArea" : e?.type === "string" && !y(e) ? "dateTimePicker" : "";
1163
- }
1164
- function x(e) {
1165
1170
  return e?.type === "array" && e?.lx?.displayType === "list" ? "arrayList" : e?.type === "array" && e?.lx?.displayType === "listModal" ? "arrayListModal" : e?.type === "array" && e?.lx?.displayType === "table" ? "arrayTable" : e?.type === "array" && e?.lx?.displayType === "tableModal" ? "arrayTableModal" : Array.isArray(e?.lx?.items) || e?.enum ? "valuePicker" : e?.items?.properties && e?.type === "array" ? "appendableList" : e?.type === "array" && e?.items?.type !== "object" && e?.items ? "smallAppendableList" : "";
1166
1171
  }
1167
- function T(e, t) {
1172
+ function x(e, t) {
1168
1173
  return e?.lx?.displayType === "map" && e?.type === "object" ? "map" : e?.type === "object" && f.value?.[t] !== void 0 && f.value?.[t] !== null && e?.lx?.displayType === "modal" ? "objectList" : e?.type === "object" && !f.value?.[t] && e?.lx?.displayType === "modal" ? "objectButton" : e?.type === "object" && f.value?.[t] !== void 0 && f.value?.[t] !== null ? "dataBlock" : "";
1169
1174
  }
1170
- function E(e) {
1175
+ function T(e) {
1171
1176
  return an(e, { excludedDisplayTypes: ["stack"] });
1172
1177
  }
1173
- function O(e, t, n = !1) {
1174
- return e?.lx?.wrapper === "placeholder" ? "lxPlaceholder" : E(e) || (b(e) === "textInputDefault" ? "textInputDefault" : b(e) === "textArea" ? "textArea" : b(e) === "dateTimePicker" ? "dateTimePicker" : e?.type === "integer" ? "textInputInteger" : e?.type === "boolean" ? "toggle" : (e?.type === "string" && (e?.lx?.variant || e?.enum) || e?.type === "array") && x(e) !== "" ? x(e) : T(e, t) === "" ? (t && n && Ve.log(`Property '${t}' couldn't be rendered`, Qe().getGlobals()?.environment, "warn"), "lxPlaceholder") : T(e, t));
1178
+ function E(e, t, n = !1) {
1179
+ return e?.lx?.wrapper === "placeholder" ? "lxPlaceholder" : T(e) || (y(e) === "textInputDefault" ? "textInputDefault" : y(e) === "textArea" ? "textArea" : y(e) === "dateTimePicker" ? "dateTimePicker" : e?.type === "integer" ? "textInputInteger" : e?.type === "boolean" ? "toggle" : (e?.type === "string" && (e?.lx?.variant || e?.enum) || e?.type === "array") && b(e) !== "" ? b(e) : x(e, t) === "" ? (t && n && Ve.log(`Property '${t}' couldn't be rendered`, Qe().getGlobals()?.environment, "warn"), "lxPlaceholder") : x(e, t));
1175
1180
  }
1176
- let A = n(() => O(u.row, u.name, !0));
1177
- function j(e, t, n, r) {
1181
+ let O = n(() => E(u.row, u.name, !0));
1182
+ function A(e, t, n, r) {
1178
1183
  d("rowActionClick", e, t, u.parentName ? `${u.parentName}.${n}` : n, r);
1179
1184
  }
1180
- function M(e, t, n = void 0, r = void 0) {
1185
+ function j(e, t, n = void 0, r = void 0) {
1181
1186
  d("emit", e, u.parentName ? `${u.parentName}.${t}` : t, n, r);
1182
1187
  }
1183
- function P(e) {
1188
+ function M(e) {
1184
1189
  let t = [];
1185
1190
  return e?.enum?.forEach((e) => {
1186
1191
  let n = {
@@ -1190,23 +1195,23 @@ var $ = {
1190
1195
  t.push(n);
1191
1196
  }), t;
1192
1197
  }
1193
- function oe(e) {
1198
+ function P(e) {
1194
1199
  delete f.value[e];
1195
1200
  }
1196
- function le(e) {
1201
+ function ce(e) {
1197
1202
  let t = {};
1198
1203
  Object.entries(u.displaySchema?.properties[e])?.forEach(([e]) => {
1199
1204
  t[e] = "";
1200
1205
  }), f.value[e] = t;
1201
1206
  }
1202
- function ue(e, t) {
1203
- f.value[t] || le(t), p.value[e].open();
1207
+ function de(e, t) {
1208
+ f.value[t] || ce(t), p.value[e].open();
1204
1209
  }
1205
- function pe(e, t) {
1210
+ function fe(e, t) {
1206
1211
  return e?.find((e) => e === t) ? !0 : null;
1207
1212
  }
1208
- function Ae(e, t, n, r = void 0) {
1209
- if (r && r?.length > 0) M(e, n);
1213
+ function he(e, t, n, r = void 0) {
1214
+ if (r && r?.length > 0) j(e, n);
1210
1215
  else if (e === "remove") if (u.displaySchema?.properties[n]?.lx?.idAttribute) {
1211
1216
  let e = f.value[n].findIndex((e) => e[u.displaySchema?.properties[n]?.lx?.idAttribute] === t);
1212
1217
  e !== -1 && f.value[n].splice(e, 1);
@@ -1215,32 +1220,32 @@ var $ = {
1215
1220
  e !== -1 && f.value[n].splice(e, 1);
1216
1221
  }
1217
1222
  }
1218
- function Fe(e) {
1223
+ function Ae(e) {
1219
1224
  f.value[e] || (f.value[e] = []), f.value[e].push(m.value[`${u.id}-${e}`]), p.value[`${u.id}-${e}`].close();
1220
1225
  }
1221
- function Le(e, t, n, r = void 0) {
1222
- if (r && r?.length > 0 && M(e, n), e === "click") {
1226
+ function Fe(e, t, n, r = void 0) {
1227
+ if (r && r?.length > 0 && j(e, n), e === "click") {
1223
1228
  let e = {};
1224
1229
  e = u.displaySchema?.properties[n]?.lx?.idAttribute ? f.value[n].find((e) => e[u.displaySchema?.properties[n]?.lx?.idAttribute] === t) : f.value[n].find((e) => e.id === t);
1225
1230
  let r = `${u.id}-${n}`;
1226
1231
  m.value[r] = e, p.value[r].open();
1227
- } else e === "remove" && Ae(e, t, n);
1232
+ } else e === "remove" && he(e, t, n);
1228
1233
  }
1229
- function ze(e) {
1234
+ function Le(e) {
1230
1235
  let t = [];
1231
1236
  return e && Object.entries(e)?.forEach(([e, n]) => {
1232
1237
  let r = {};
1233
1238
  r.id = e, r.attributeName = e, r.name = n?.title, r.size = n?.size, r.kind = n?.kind, n.type === "string" ? r.type = "default" : n.type === "integer" ? r.type = "number" : n.type === "number" ? r.type = "decimal" : n.type === "boolean" && (r.type = "bool"), r.type && t.push(r);
1234
1239
  }), t;
1235
1240
  }
1236
- let Be = C(!1);
1237
- function q(e) {
1238
- Be.value = !0;
1241
+ let ze = C(!1);
1242
+ function Be(e) {
1243
+ ze.value = !0;
1239
1244
  let t = C({}), n = `${u.id}-${e}`;
1240
1245
  m.value[n] = t, p.value[n].open();
1241
1246
  }
1242
- function He(e, t, n, r, i = void 0) {
1243
- i && i?.length > 0 ? M("actionClick", r, e, t) : (e === "open" && Le("click", t, r), e === "remove" && Ae(e, t, r));
1247
+ function q(e, t, n, r, i = void 0) {
1248
+ i && i?.length > 0 ? j("actionClick", r, e, t) : (e === "open" && Fe("click", t, r), e === "remove" && he(e, t, r));
1244
1249
  }
1245
1250
  let J = n(() => {
1246
1251
  if (u.validations?.[u.name]) return !0;
@@ -1260,26 +1265,26 @@ var $ = {
1260
1265
  }
1261
1266
  return e = u.vv.value.modelClone?.[u.name]?.$errors?.[0]?.$message, e;
1262
1267
  });
1263
- function Ue(e) {
1268
+ function He(e) {
1264
1269
  return e?.lx?.hasCustomItems && !e?.lx?.variant?.endsWith("-custom") ? `${e?.lx?.variant || "default"}-custom` : e?.lx?.variant;
1265
1270
  }
1266
- let We = n(() => {
1271
+ let Ue = n(() => {
1267
1272
  let e = [{
1268
1273
  id: "saveElement",
1269
1274
  name: u.texts.saveElement,
1270
1275
  kind: "primary"
1271
1276
  }];
1272
- return Be.value ? e : null;
1277
+ return ze.value ? e : null;
1273
1278
  });
1274
- function Ge(e, t) {
1275
- e === "saveElement" && Fe(t);
1279
+ function We(e, t) {
1280
+ e === "saveElement" && Ae(t);
1276
1281
  }
1277
- let Ke = n(() => u.builderOptions?.schemaPath ? `${u.builderOptions?.schemaPath}.${u.name}` : u.name), X = n(() => ({
1282
+ let Ge = n(() => u.builderOptions?.schemaPath ? `${u.builderOptions?.schemaPath}.${u.name}` : u.name), X = n(() => ({
1278
1283
  componentStack: u.builderOptions?.componentStack,
1279
- schemaPath: Ke.value,
1284
+ schemaPath: Ge.value,
1280
1285
  useRegistry: u.builderOptions?.useRegistry
1281
1286
  }));
1282
- return (n, c) => A.value === "textInputDefault" ? (S(), r(k(K), {
1287
+ return (n, c) => O.value === "textInputDefault" ? (S(), r(k(K), {
1283
1288
  key: 0,
1284
1289
  id: `${e.id}-${e.name}`,
1285
1290
  mask: v(e.displaySchema?.properties[e.name]?.lx?.mask, e.displaySchema?.properties[e.name]?.type),
@@ -1298,11 +1303,13 @@ var $ = {
1298
1303
  "custom-mask-value": e.displaySchema?.properties[e.name]?.lx?.customMaskValue,
1299
1304
  autocomplete: e.displaySchema?.properties[e.name]?.lx?.autocomplete,
1300
1305
  options: e.displaySchema?.properties[e.name]?.lx?.options,
1306
+ helperText: e.displaySchema?.properties[e.name]?.lx?.helperText,
1307
+ helperTextKind: e.displaySchema?.properties[e.name]?.lx?.helperTextKind,
1301
1308
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
1302
1309
  modelValue: f.value[e.name],
1303
1310
  "onUpdate:modelValue": c[0] ||= (t) => f.value[e.name] = t,
1304
1311
  builderOptions: X.value,
1305
- onKeyup: c[1] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1312
+ onKeyup: c[1] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1306
1313
  }, null, 8, [
1307
1314
  "id",
1308
1315
  "mask",
@@ -1321,10 +1328,12 @@ var $ = {
1321
1328
  "custom-mask-value",
1322
1329
  "autocomplete",
1323
1330
  "options",
1331
+ "helperText",
1332
+ "helperTextKind",
1324
1333
  "texts",
1325
1334
  "modelValue",
1326
1335
  "builderOptions"
1327
- ])) : A.value === "textArea" ? (S(), r(k(Ne), {
1336
+ ])) : O.value === "textArea" ? (S(), r(k(Ne), {
1328
1337
  key: 1,
1329
1338
  id: `${e.id}-${e.name}`,
1330
1339
  maxlength: e.displaySchema?.properties[e.name]?.maxLength,
@@ -1336,11 +1345,13 @@ var $ = {
1336
1345
  readOnly: g(e.displaySchema?.properties[e.name]),
1337
1346
  invalid: J.value,
1338
1347
  "invalidation-message": Y.value,
1348
+ helperText: e.displaySchema?.properties[e.name]?.lx?.helperText,
1349
+ helperTextKind: e.displaySchema?.properties[e.name]?.lx?.helperTextKind,
1339
1350
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
1340
1351
  modelValue: f.value[e.name],
1341
1352
  "onUpdate:modelValue": c[2] ||= (t) => f.value[e.name] = t,
1342
1353
  builderOptions: X.value,
1343
- onKeyup: c[3] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1354
+ onKeyup: c[3] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1344
1355
  }, null, 8, [
1345
1356
  "id",
1346
1357
  "maxlength",
@@ -1352,10 +1363,12 @@ var $ = {
1352
1363
  "readOnly",
1353
1364
  "invalid",
1354
1365
  "invalidation-message",
1366
+ "helperText",
1367
+ "helperTextKind",
1355
1368
  "texts",
1356
1369
  "modelValue",
1357
1370
  "builderOptions"
1358
- ])) : A.value === "dateTimePicker" ? (S(), r(k(B), {
1371
+ ])) : O.value === "dateTimePicker" ? (S(), r(k(z), {
1359
1372
  key: 2,
1360
1373
  id: `${e.id}-${e.name}`,
1361
1374
  kind: e.displaySchema?.properties[e.name]?.format,
@@ -1374,6 +1387,8 @@ var $ = {
1374
1387
  variant: e.displaySchema?.properties[e.name]?.lx?.variant,
1375
1388
  cadenceOfMinutes: e.displaySchema?.properties[e.name]?.lx?.cadenceOfMinutes,
1376
1389
  cadenceOfSeconds: e.displaySchema?.properties[e.name]?.lx?.cadenceOfSeconds,
1390
+ helperText: e.displaySchema?.properties[e.name]?.lx?.helperText,
1391
+ helperTextKind: e.displaySchema?.properties[e.name]?.lx?.helperTextKind,
1377
1392
  readOnly: g(e.row),
1378
1393
  invalid: J.value,
1379
1394
  "invalidation-message": Y.value,
@@ -1398,12 +1413,14 @@ var $ = {
1398
1413
  "variant",
1399
1414
  "cadenceOfMinutes",
1400
1415
  "cadenceOfSeconds",
1416
+ "helperText",
1417
+ "helperTextKind",
1401
1418
  "readOnly",
1402
1419
  "invalid",
1403
1420
  "invalidation-message",
1404
1421
  "builderOptions",
1405
1422
  "modelValue"
1406
- ])) : A.value === "textInputInteger" ? (S(), r(k(K), {
1423
+ ])) : O.value === "textInputInteger" ? (S(), r(k(K), {
1407
1424
  key: 3,
1408
1425
  id: `${e.id}-${e.name}`,
1409
1426
  mask: "integer",
@@ -1418,11 +1435,13 @@ var $ = {
1418
1435
  readOnly: g(e.displaySchema?.properties[e.name]),
1419
1436
  invalid: J.value,
1420
1437
  "invalidation-message": Y.value,
1438
+ helperText: e.displaySchema?.properties[e.name]?.lx?.helperText,
1439
+ helperTextKind: e.displaySchema?.properties[e.name]?.lx?.helperTextKind,
1421
1440
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
1422
1441
  modelValue: f.value[e.name],
1423
1442
  "onUpdate:modelValue": c[5] ||= (t) => f.value[e.name] = t,
1424
1443
  builderOptions: X.value,
1425
- onKeyup: c[6] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1444
+ onKeyup: c[6] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1426
1445
  }, null, 8, [
1427
1446
  "id",
1428
1447
  "maxlength",
@@ -1436,10 +1455,12 @@ var $ = {
1436
1455
  "readOnly",
1437
1456
  "invalid",
1438
1457
  "invalidation-message",
1458
+ "helperText",
1459
+ "helperTextKind",
1439
1460
  "texts",
1440
1461
  "modelValue",
1441
1462
  "builderOptions"
1442
- ])) : A.value === "toggle" ? (S(), r(k(Pe), {
1463
+ ])) : O.value === "toggle" ? (S(), r(k(Pe), {
1443
1464
  key: 4,
1444
1465
  id: `${e.id}-${e.name}`,
1445
1466
  size: e.displaySchema?.properties[e.name]?.lx?.size,
@@ -1453,9 +1474,9 @@ var $ = {
1453
1474
  modelValue: f.value[e.name],
1454
1475
  "onUpdate:modelValue": c[7] ||= (t) => f.value[e.name] = t
1455
1476
  }, {
1456
- on: N(() => [e.row?.lx?.labelOn ? (S(), a("span", ln, D(e.row?.lx?.labelOn), 1)) : (S(), a("span", un, "Jā"))]),
1457
- off: N(() => [e.row?.lx?.labelOff ? (S(), a("span", dn, D(e.row?.lx?.labelOff), 1)) : (S(), a("span", fn, "Nē"))]),
1458
- indeterminate: N(() => [e.row?.lx?.labelIndeterminate ? (S(), a("span", pn, D(e.row?.lx?.labelIndeterminate), 1)) : g(e.displaySchema?.properties[e.name]) ? (S(), a("span", mn, c[97] ||= [o("p", { class: "lx-data" }, "—", -1)])) : (S(), a("span", hn, "—"))]),
1477
+ on: N(() => [e.row?.lx?.labelOn ? (S(), a("span", un, D(e.row?.lx?.labelOn), 1)) : (S(), a("span", dn, "Jā"))]),
1478
+ off: N(() => [e.row?.lx?.labelOff ? (S(), a("span", fn, D(e.row?.lx?.labelOff), 1)) : (S(), a("span", pn, "Nē"))]),
1479
+ indeterminate: N(() => [e.row?.lx?.labelIndeterminate ? (S(), a("span", mn, D(e.row?.lx?.labelIndeterminate), 1)) : g(e.displaySchema?.properties[e.name]) ? (S(), a("span", hn, [...c[97] ||= [o("p", { class: "lx-data" }, "—", -1)]])) : (S(), a("span", gn, "—"))]),
1459
1480
  _: 1
1460
1481
  }, 8, [
1461
1482
  "id",
@@ -1468,18 +1489,18 @@ var $ = {
1468
1489
  "texts",
1469
1490
  "builderOptions",
1470
1491
  "modelValue"
1471
- ])) : A.value === "valuePicker" ? (S(), r(k(Ie), {
1492
+ ])) : O.value === "valuePicker" ? (S(), r(k(Ie), {
1472
1493
  key: 5,
1473
1494
  id: `${e.id}-${e.name}`,
1474
1495
  selectionKind: e.displaySchema?.properties[e.name]?.type === "array" ? "multiple" : "single",
1475
- items: e.displaySchema?.properties[e.name]?.lx?.items || P(e.displaySchema?.properties[e.name]),
1496
+ items: e.displaySchema?.properties[e.name]?.lx?.items || M(e.displaySchema?.properties[e.name]),
1476
1497
  "id-attribute": e.displaySchema?.properties[e.name]?.lx?.idAttribute,
1477
1498
  "name-attribute": e.displaySchema?.properties[e.name]?.lx?.nameAttribute,
1478
1499
  "icon-attribute": e.displaySchema?.properties[e.name]?.lx?.iconAttribute,
1479
1500
  "icon-set-attribute": e.displaySchema?.properties[e.name]?.lx?.iconSetAttribute,
1480
1501
  "category-attribute": e.displaySchema?.properties[e.name]?.lx?.categoryAttribute,
1481
1502
  "description-attribute": e.displaySchema?.properties[e.name]?.lx?.descriptionAttribute,
1482
- variant: Ue(e.displaySchema?.properties[e.name]),
1503
+ variant: He(e.displaySchema?.properties[e.name]),
1483
1504
  "has-search": e.displaySchema?.properties[e.name]?.lx?.hasSearch,
1484
1505
  "always-as-array": e.displaySchema?.properties[e.name]?.lx?.alwaysAsArray,
1485
1506
  nullable: e.displaySchema?.properties[e.name]?.lx?.nullable,
@@ -1601,7 +1622,7 @@ var $ = {
1601
1622
  "item"
1602
1623
  ]))], 64))), 128))]),
1603
1624
  key: "1"
1604
- } : void 0]), 1032, /* @__PURE__ */ "id.selectionKind.items.id-attribute.name-attribute.icon-attribute.icon-set-attribute.category-attribute.description-attribute.variant.has-search.always-as-array.nullable.tooltip.texts.placeholder.disabled.readOnly.search-attributes.has-select-all.read-only-render-type.stickyToolbar.invalid.invalidation-message.builderOptions.modelValue".split("."))) : A.value === "dataBlock" ? (S(), r(k(R), {
1625
+ } : void 0]), 1032, /* @__PURE__ */ "id.selectionKind.items.id-attribute.name-attribute.icon-attribute.icon-set-attribute.category-attribute.description-attribute.variant.has-search.always-as-array.nullable.tooltip.texts.placeholder.disabled.readOnly.search-attributes.has-select-all.read-only-render-type.stickyToolbar.invalid.invalidation-message.builderOptions.modelValue".split("."))) : O.value === "dataBlock" ? (S(), r(k(ie), {
1605
1626
  key: 6,
1606
1627
  expandable: !0,
1607
1628
  size: e.displaySchema?.properties[e.name]?.lx?.size,
@@ -1616,23 +1637,23 @@ var $ = {
1616
1637
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
1617
1638
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
1618
1639
  class: "form-builder-data-block",
1619
- onActionClick: c[9] ||= (t, n) => M("actionClick", e.name, t, n)
1640
+ onActionClick: c[9] ||= (t, n) => j("actionClick", e.name, t, n)
1620
1641
  }, {
1621
- default: N(() => [l(k(H), {
1642
+ default: N(() => [l(k(B), {
1622
1643
  showHeader: !1,
1623
1644
  showFooter: !1,
1624
1645
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
1625
1646
  kind: "stripped"
1626
1647
  }, {
1627
- default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.properties, (n, o) => (S(), a(t, { key: o }, [O(n, o) === "lxPlaceholder" ? (S(), r(k(Te), { key: 0 })) : (S(), r(k(W), {
1648
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
1628
1649
  key: 1,
1629
1650
  label: n?.title || o,
1630
1651
  rowSpan: n?.lx?.rowSpan,
1631
1652
  columnSpan: n?.lx?.columnSpan,
1632
1653
  "action-definitions": n?.lx?.actionDefinitions,
1633
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
1654
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
1634
1655
  }, {
1635
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
1656
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
1636
1657
  key: 0,
1637
1658
  mask: v(n?.lx?.mask, n?.type),
1638
1659
  maxlength: n?.maxLength,
@@ -1648,6 +1669,8 @@ var $ = {
1648
1669
  "custom-mask-value": n?.lx?.customMaskValue,
1649
1670
  autocomplete: n?.lx?.autocomplete,
1650
1671
  options: n?.lx?.options,
1672
+ helperText: n?.lx?.helperText,
1673
+ helperTextKind: n?.lx?.helperTextKind,
1651
1674
  texts: n?.lx?.texts,
1652
1675
  modelValue: f.value[e.name][o],
1653
1676
  "onUpdate:modelValue": (t) => f.value[e.name][o] = t
@@ -1666,10 +1689,12 @@ var $ = {
1666
1689
  "custom-mask-value",
1667
1690
  "autocomplete",
1668
1691
  "options",
1692
+ "helperText",
1693
+ "helperTextKind",
1669
1694
  "texts",
1670
1695
  "modelValue",
1671
1696
  "onUpdate:modelValue"
1672
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
1697
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
1673
1698
  key: 1,
1674
1699
  maxlength: n?.maxLength,
1675
1700
  placeholder: h(n),
@@ -1678,6 +1703,8 @@ var $ = {
1678
1703
  disabled: n?.lx?.disabled,
1679
1704
  tooltip: n?.lx?.tooltip,
1680
1705
  readOnly: g(n),
1706
+ helperText: n?.lx?.helperText,
1707
+ helperTextKind: n?.lx?.helperTextKind,
1681
1708
  texts: n?.lx?.texts,
1682
1709
  modelValue: f.value[e.name][o],
1683
1710
  "onUpdate:modelValue": (t) => f.value[e.name][o] = t
@@ -1689,10 +1716,12 @@ var $ = {
1689
1716
  "disabled",
1690
1717
  "tooltip",
1691
1718
  "readOnly",
1719
+ "helperText",
1720
+ "helperTextKind",
1692
1721
  "texts",
1693
1722
  "modelValue",
1694
1723
  "onUpdate:modelValue"
1695
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
1724
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
1696
1725
  key: 2,
1697
1726
  mask: "integer",
1698
1727
  maxlength: n?.maxLength,
@@ -1705,6 +1734,8 @@ var $ = {
1705
1734
  placeholder: h(n),
1706
1735
  signed: n?.lx?.signed,
1707
1736
  readOnly: g(n),
1737
+ helperText: n?.lx?.helperText,
1738
+ helperTextKind: n?.lx?.helperTextKind,
1708
1739
  texts: n?.lx?.texts,
1709
1740
  modelValue: f.value[e.name][o],
1710
1741
  "onUpdate:modelValue": (t) => f.value[e.name][o] = t
@@ -1719,10 +1750,12 @@ var $ = {
1719
1750
  "placeholder",
1720
1751
  "signed",
1721
1752
  "readOnly",
1753
+ "helperText",
1754
+ "helperTextKind",
1722
1755
  "texts",
1723
1756
  "modelValue",
1724
1757
  "onUpdate:modelValue"
1725
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
1758
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
1726
1759
  key: 3,
1727
1760
  size: n?.lx?.size,
1728
1761
  disabled: n?.lx?.disabled,
@@ -1739,7 +1772,7 @@ var $ = {
1739
1772
  "texts",
1740
1773
  "modelValue",
1741
1774
  "onUpdate:modelValue"
1742
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
1775
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
1743
1776
  key: 4,
1744
1777
  kind: n?.format,
1745
1778
  placeholder: h(n),
@@ -1756,6 +1789,8 @@ var $ = {
1756
1789
  variant: n?.lx?.variant,
1757
1790
  cadenceOfMinutes: n?.lx?.cadenceOfMinutes,
1758
1791
  cadenceOfSeconds: n?.lx?.cadenceOfSeconds,
1792
+ helperText: n?.lx?.helperText,
1793
+ helperTextKind: n?.lx?.helperTextKind,
1759
1794
  texts: n?.lx?.texts,
1760
1795
  readOnly: g(n),
1761
1796
  modelValue: f.value[e.name][o],
@@ -1776,21 +1811,23 @@ var $ = {
1776
1811
  "variant",
1777
1812
  "cadenceOfMinutes",
1778
1813
  "cadenceOfSeconds",
1814
+ "helperText",
1815
+ "helperTextKind",
1779
1816
  "texts",
1780
1817
  "readOnly",
1781
1818
  "modelValue",
1782
1819
  "onUpdate:modelValue"
1783
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
1820
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
1784
1821
  key: 5,
1785
1822
  selectionKind: n?.type === "array" ? "multiple" : "single",
1786
- items: n?.lx?.items || P(n),
1823
+ items: n?.lx?.items || M(n),
1787
1824
  "id-attribute": n?.lx?.idAttribute,
1788
1825
  "name-attribute": n?.lx?.nameAttribute,
1789
1826
  "icon-attribute": n?.lx?.iconAttribute,
1790
1827
  "icon-set-attribute": n?.lx?.iconSetAttribute,
1791
1828
  "category-attribute": n?.lx?.categoryAttribute,
1792
1829
  "description-attribute": n?.lx?.descriptionAttribute,
1793
- variant: Ue(n),
1830
+ variant: He(n),
1794
1831
  "has-search": n?.lx?.hasSearch,
1795
1832
  "always-as-array": n?.lx?.alwaysAsArray,
1796
1833
  nullable: n?.lx?.nullable,
@@ -1957,8 +1994,8 @@ var $ = {
1957
1994
  "busy",
1958
1995
  "actionDefinitions",
1959
1996
  "texts"
1960
- ])) : A.value === "objectButton" || A.value === "objectList" ? (S(), a("div", gn, [
1961
- A.value === "objectList" ? (S(), r(k(ye), {
1997
+ ])) : O.value === "objectButton" || O.value === "objectList" ? (S(), a("div", _n, [
1998
+ O.value === "objectList" ? (S(), r(k(xe), {
1962
1999
  key: 0,
1963
2000
  value: f.value[e.name],
1964
2001
  label: f.value[e.name][e.displaySchema?.properties[e.name].lx.nameAttribute] || f.value[e.name]?.name,
@@ -1971,39 +2008,39 @@ var $ = {
1971
2008
  icon: "remove-item",
1972
2009
  destructive: !0
1973
2010
  }],
1974
- onActionClick: c[10] ||= (t) => oe(e.name),
1975
- onClick: c[11] ||= (t) => ue(`${e.id}-${e.name}`, e.name)
2011
+ onActionClick: c[10] ||= (t) => P(e.name),
2012
+ onClick: c[11] ||= (t) => de(`${e.id}-${e.name}`, e.name)
1976
2013
  }, null, 8, [
1977
2014
  "value",
1978
2015
  "label",
1979
2016
  "description"
1980
2017
  ])) : i("", !0),
1981
- A.value === "objectButton" ? (S(), r(k(I), {
2018
+ O.value === "objectButton" ? (S(), r(k(F), {
1982
2019
  key: 1,
1983
2020
  label: e.texts?.addObject,
1984
2021
  icon: "add-item",
1985
2022
  kind: "ghost",
1986
- onClick: c[12] ||= (t) => ue(`${e.id}-${e.name}`, e.name)
2023
+ onClick: c[12] ||= (t) => de(`${e.id}-${e.name}`, e.name)
1987
2024
  }, null, 8, ["label"])) : i("", !0),
1988
- l(k(Ce), {
2025
+ l(k(Te), {
1989
2026
  id: `${e.id}-${e.name}`,
1990
2027
  ref: (t) => p.value[`${e.id}-${e.name}`] = t
1991
2028
  }, {
1992
- default: N(() => [l(k(H), {
2029
+ default: N(() => [l(k(B), {
1993
2030
  showHeader: !1,
1994
2031
  showFooter: !1,
1995
2032
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
1996
2033
  kind: "stripped"
1997
2034
  }, {
1998
- default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.properties, (n, o) => (S(), a(t, { key: o }, [O(n, o) === "lxPlaceholder" ? (S(), r(k(Te), { key: 0 })) : (S(), r(k(W), {
2035
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
1999
2036
  key: 1,
2000
2037
  label: n?.title ? n?.title : o,
2001
2038
  rowSpan: n?.lx?.rowSpan,
2002
2039
  columnSpan: n?.lx?.columnSpan,
2003
2040
  actionDefinitions: n?.lx?.actionDefinitions,
2004
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
2041
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
2005
2042
  }, {
2006
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
2043
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
2007
2044
  key: 0,
2008
2045
  mask: v(n?.lx?.mask, n?.type),
2009
2046
  maxlength: n?.maxLength,
@@ -2019,6 +2056,8 @@ var $ = {
2019
2056
  "custom-mask-value": n?.lx?.customMaskValue,
2020
2057
  autocomplete: n?.lx?.autocomplete,
2021
2058
  options: n?.lx?.options,
2059
+ helperText: n?.lx?.helperText,
2060
+ helperTextKind: n?.lx?.helperTextKind,
2022
2061
  modelValue: f.value[e.name][o],
2023
2062
  "onUpdate:modelValue": (t) => f.value[e.name][o] = t
2024
2063
  }, null, 8, [
@@ -2036,9 +2075,11 @@ var $ = {
2036
2075
  "custom-mask-value",
2037
2076
  "autocomplete",
2038
2077
  "options",
2078
+ "helperText",
2079
+ "helperTextKind",
2039
2080
  "modelValue",
2040
2081
  "onUpdate:modelValue"
2041
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
2082
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
2042
2083
  key: 1,
2043
2084
  maxlength: n?.maxLength,
2044
2085
  placeholder: h(n),
@@ -2046,6 +2087,9 @@ var $ = {
2046
2087
  "dynamic-height": n?.lx?.dynamicHeight,
2047
2088
  disabled: n?.lx?.disabled,
2048
2089
  tooltip: n?.lx?.tooltip,
2090
+ helperText: n?.lx?.helperText,
2091
+ helperTextKind: n?.lx?.helperTextKind,
2092
+ texts: n?.lx?.texts,
2049
2093
  readOnly: g(n),
2050
2094
  modelValue: f.value[e.name][o],
2051
2095
  "onUpdate:modelValue": (t) => f.value[e.name][o] = t
@@ -2056,10 +2100,13 @@ var $ = {
2056
2100
  "dynamic-height",
2057
2101
  "disabled",
2058
2102
  "tooltip",
2103
+ "helperText",
2104
+ "helperTextKind",
2105
+ "texts",
2059
2106
  "readOnly",
2060
2107
  "modelValue",
2061
2108
  "onUpdate:modelValue"
2062
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
2109
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
2063
2110
  key: 2,
2064
2111
  mask: "integer",
2065
2112
  maxlength: n?.maxLength,
@@ -2072,6 +2119,8 @@ var $ = {
2072
2119
  placeholder: h(n),
2073
2120
  signed: n?.lx?.signed,
2074
2121
  readOnly: g(n),
2122
+ helperText: n?.lx?.helperText,
2123
+ helperTextKind: n?.lx?.helperTextKind,
2075
2124
  modelValue: f.value[e.name][o],
2076
2125
  "onUpdate:modelValue": (t) => f.value[e.name][o] = t
2077
2126
  }, null, 8, [
@@ -2085,9 +2134,11 @@ var $ = {
2085
2134
  "placeholder",
2086
2135
  "signed",
2087
2136
  "readOnly",
2137
+ "helperText",
2138
+ "helperTextKind",
2088
2139
  "modelValue",
2089
2140
  "onUpdate:modelValue"
2090
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
2141
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
2091
2142
  key: 3,
2092
2143
  size: n?.lx?.size,
2093
2144
  disabled: n?.lx?.disabled,
@@ -2102,7 +2153,7 @@ var $ = {
2102
2153
  "readOnly",
2103
2154
  "modelValue",
2104
2155
  "onUpdate:modelValue"
2105
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
2156
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
2106
2157
  key: 4,
2107
2158
  kind: n?.format,
2108
2159
  placeholder: h(n),
@@ -2119,6 +2170,8 @@ var $ = {
2119
2170
  variant: n?.lx?.variant,
2120
2171
  cadenceOfMinutes: n?.lx?.cadenceOfMinutes,
2121
2172
  cadenceOfSeconds: n?.lx?.cadenceOfSeconds,
2173
+ helperText: n?.lx?.helperText,
2174
+ helperTextKind: n?.lx?.helperTextKind,
2122
2175
  texts: n?.lx?.texts,
2123
2176
  readOnly: g(n),
2124
2177
  modelValue: f.value[e.name][o],
@@ -2139,21 +2192,23 @@ var $ = {
2139
2192
  "variant",
2140
2193
  "cadenceOfMinutes",
2141
2194
  "cadenceOfSeconds",
2195
+ "helperText",
2196
+ "helperTextKind",
2142
2197
  "texts",
2143
2198
  "readOnly",
2144
2199
  "modelValue",
2145
2200
  "onUpdate:modelValue"
2146
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2201
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2147
2202
  key: 5,
2148
2203
  selectionKind: n?.type === "array" ? "multiple" : "single",
2149
- items: n?.lx?.items || P(n),
2204
+ items: n?.lx?.items || M(n),
2150
2205
  "id-attribute": n?.lx?.idAttribute,
2151
2206
  "name-attribute": n?.lx?.nameAttribute,
2152
2207
  "icon-attribute": n?.lx?.iconAttribute,
2153
2208
  "icon-set-attribute": n?.lx?.iconSetAttribute,
2154
2209
  "category-attribute": n?.lx?.categoryAttribute,
2155
2210
  "description-attribute": n?.lx?.descriptionAttribute,
2156
- variant: Ue(n),
2211
+ variant: He(n),
2157
2212
  "has-search": n?.lx?.hasSearch,
2158
2213
  "always-as-array": n?.lx?.alwaysAsArray,
2159
2214
  nullable: n?.lx?.nullable,
@@ -2309,7 +2364,7 @@ var $ = {
2309
2364
  }, 8, ["column-count"])]),
2310
2365
  _: 1
2311
2366
  }, 8, ["id"])
2312
- ])) : A.value === "arrayList" ? (S(), r(k(ve), {
2367
+ ])) : O.value === "arrayList" ? (S(), r(k(be), {
2313
2368
  key: 8,
2314
2369
  items: f.value[e.name],
2315
2370
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions || [{
@@ -2356,15 +2411,15 @@ var $ = {
2356
2411
  hasVirtualization: e.displaySchema?.properties[e.name]?.lx?.hasVirtualization,
2357
2412
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
2358
2413
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
2359
- onActionClick: c[13] ||= (t, n) => Ae(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2360
- onToolbarActionClick: c[14] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
2361
- onEmptyStateActionClick: c[15] ||= (t, n) => M("emptyStateActionClick", e.name, t, n),
2362
- onSelectionChange: c[16] ||= (t) => M("selectionChange", e.name, t),
2363
- onSelectionActionClick: c[17] ||= (t, n) => M("selectionActionClick", e.name, t, n),
2364
- onLoadMore: c[18] ||= () => M("loadMore", e.name),
2365
- "onUpdate:searchString": c[19] ||= (t) => M("update:searchString", e.name, t),
2366
- "onUpdate:itemStates": c[20] ||= (t) => M("update:itemStates", e.name, t),
2367
- onSearch: c[21] ||= (t) => M("search", e.name, t)
2414
+ onActionClick: c[13] ||= (t, n) => he(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2415
+ onToolbarActionClick: c[14] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
2416
+ onEmptyStateActionClick: c[15] ||= (t, n) => j("emptyStateActionClick", e.name, t, n),
2417
+ onSelectionChange: c[16] ||= (t) => j("selectionChange", e.name, t),
2418
+ onSelectionActionClick: c[17] ||= (t, n) => j("selectionActionClick", e.name, t, n),
2419
+ onLoadMore: c[18] ||= () => j("loadMore", e.name),
2420
+ "onUpdate:searchString": c[19] ||= (t) => j("update:searchString", e.name, t),
2421
+ "onUpdate:itemStates": c[20] ||= (t) => j("update:itemStates", e.name, t),
2422
+ onSearch: c[21] ||= (t) => j("search", e.name, t)
2368
2423
  }, s({ _: 2 }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
2369
2424
  name: "customItem",
2370
2425
  fn: N((n) => [l(k(G), {
@@ -2469,7 +2524,7 @@ var $ = {
2469
2524
  "item"
2470
2525
  ]))], 64))), 128))]),
2471
2526
  key: "1"
2472
- } : void 0]), 1032, /* @__PURE__ */ "items.actionDefinitions.idAttribute.nameAttribute.descriptionAttribute.hrefAttribute.groupAttribute.clickableAttribute.iconAttribute.iconSetAttribute.tooltipAttribute.categoryAttribute.orderAttribute.hasSearch.groupDefinitions.icon.iconSet.kind.emptyStateIcon.listType.searchString.searchSide.loading.busy.hideFilteredItems.includeUnspecifiedGroups.toolbarActionDefinitions.actionsLayout.emptyStateActionDefinitions.showLoadMore.hasSelecting.selectionKind.selectionActionDefinitions.itemStates.mode.searchMode.hasSkipLink.hasVirtualization.stickyToolbar.texts".split("."))) : A.value === "arrayListModal" ? (S(), a("div", _n, [l(k(ve), {
2527
+ } : void 0]), 1032, /* @__PURE__ */ "items.actionDefinitions.idAttribute.nameAttribute.descriptionAttribute.hrefAttribute.groupAttribute.clickableAttribute.iconAttribute.iconSetAttribute.tooltipAttribute.categoryAttribute.orderAttribute.hasSearch.groupDefinitions.icon.iconSet.kind.emptyStateIcon.listType.searchString.searchSide.loading.busy.hideFilteredItems.includeUnspecifiedGroups.toolbarActionDefinitions.actionsLayout.emptyStateActionDefinitions.showLoadMore.hasSelecting.selectionKind.selectionActionDefinitions.itemStates.mode.searchMode.hasSkipLink.hasVirtualization.stickyToolbar.texts".split("."))) : O.value === "arrayListModal" ? (S(), a("div", vn, [l(k(be), {
2473
2528
  items: f.value[e.name],
2474
2529
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions || [{
2475
2530
  id: "remove",
@@ -2515,22 +2570,22 @@ var $ = {
2515
2570
  hasVirtualization: e.displaySchema?.properties[e.name]?.lx?.hasVirtualization,
2516
2571
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
2517
2572
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
2518
- onActionClick: c[23] ||= (t, n) => Le(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2519
- onToolbarActionClick: c[24] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
2520
- onEmptyStateActionClick: c[25] ||= (t, n) => M("emptyStateActionClick", e.name, t, n),
2521
- onSelectionChange: c[26] ||= (t) => M("selectionChange", e.name, t),
2522
- onSelectionActionClick: c[27] ||= (t, n) => M("selectionActionClick", e.name, t, n),
2523
- onLoadMore: c[28] ||= () => M("loadMore", e.name),
2524
- "onUpdate:searchString": c[29] ||= (t) => M("update:searchString", e.name, t),
2525
- "onUpdate:itemStates": c[30] ||= (t) => M("update:itemStates", e.name, t),
2526
- onSearch: c[31] ||= (t) => M("search", e.name, t)
2573
+ onActionClick: c[23] ||= (t, n) => Fe(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2574
+ onToolbarActionClick: c[24] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
2575
+ onEmptyStateActionClick: c[25] ||= (t, n) => j("emptyStateActionClick", e.name, t, n),
2576
+ onSelectionChange: c[26] ||= (t) => j("selectionChange", e.name, t),
2577
+ onSelectionActionClick: c[27] ||= (t, n) => j("selectionActionClick", e.name, t, n),
2578
+ onLoadMore: c[28] ||= () => j("loadMore", e.name),
2579
+ "onUpdate:searchString": c[29] ||= (t) => j("update:searchString", e.name, t),
2580
+ "onUpdate:itemStates": c[30] ||= (t) => j("update:itemStates", e.name, t),
2581
+ onSearch: c[31] ||= (t) => j("search", e.name, t)
2527
2582
  }, s({
2528
- toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(I), {
2583
+ toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(F), {
2529
2584
  key: 0,
2530
2585
  icon: "add-item",
2531
2586
  label: e.texts?.addElement,
2532
2587
  kind: "ghost",
2533
- onClick: c[22] ||= (t) => q(e.name)
2588
+ onClick: c[22] ||= (t) => Be(e.name)
2534
2589
  }, null, 8, ["label"]))]),
2535
2590
  _: 2
2536
2591
  }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
@@ -2637,27 +2692,27 @@ var $ = {
2637
2692
  "item"
2638
2693
  ]))], 64))), 128))]),
2639
2694
  key: "1"
2640
- } : void 0]), 1032, /* @__PURE__ */ "items.actionDefinitions.idAttribute.nameAttribute.descriptionAttribute.hrefAttribute.groupAttribute.clickableAttribute.iconAttribute.iconSetAttribute.tooltipAttribute.categoryAttribute.orderAttribute.hasSearch.groupDefinitions.icon.iconSet.kind.emptyStateIcon.listType.searchString.searchSide.loading.busy.hideFilteredItems.includeUnspecifiedGroup.toolbarActionDefinitions.actionsLayout.emptyStateActionDefinitions.showLoadMore.hasSelecting.selectionKind.selectionActionDefinitions.itemStates.mode.searchMode.hasSkipLink.hasVirtualization.stickyToolbar.texts".split(".")), l(k(Ce), {
2695
+ } : void 0]), 1032, /* @__PURE__ */ "items.actionDefinitions.idAttribute.nameAttribute.descriptionAttribute.hrefAttribute.groupAttribute.clickableAttribute.iconAttribute.iconSetAttribute.tooltipAttribute.categoryAttribute.orderAttribute.hasSearch.groupDefinitions.icon.iconSet.kind.emptyStateIcon.listType.searchString.searchSide.loading.busy.hideFilteredItems.includeUnspecifiedGroup.toolbarActionDefinitions.actionsLayout.emptyStateActionDefinitions.showLoadMore.hasSelecting.selectionKind.selectionActionDefinitions.itemStates.mode.searchMode.hasSkipLink.hasVirtualization.stickyToolbar.texts".split(".")), l(k(Te), {
2641
2696
  ref: (t) => p.value[`${e.id}-${e.name}`] = t,
2642
- actionDefinitions: We.value,
2643
- onClose: c[32] ||= (e) => Be.value = !1,
2644
- onActionClick: c[33] ||= (t) => Ge(t, e.name)
2697
+ actionDefinitions: Ue.value,
2698
+ onClose: c[32] ||= (e) => ze.value = !1,
2699
+ onActionClick: c[33] ||= (t) => We(t, e.name)
2645
2700
  }, {
2646
- default: N(() => [l(k(H), {
2701
+ default: N(() => [l(k(B), {
2647
2702
  showHeader: !1,
2648
2703
  showFooter: !1,
2649
2704
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
2650
2705
  kind: "stripped"
2651
2706
  }, {
2652
- default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.items?.properties, (n, o) => (S(), a(t, { key: o }, [O(n, o) === "lxPlaceholder" ? (S(), r(k(Te), { key: 0 })) : (S(), r(k(W), {
2707
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.items?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
2653
2708
  key: 1,
2654
2709
  label: n?.title ? n?.title : o,
2655
2710
  rowSpan: n?.lx?.rowSpan,
2656
2711
  columnSpan: n?.lx?.columnSpan,
2657
2712
  actionDefinitions: n?.lx?.actionDefinitions,
2658
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
2713
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
2659
2714
  }, {
2660
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
2715
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
2661
2716
  key: 0,
2662
2717
  mask: v(n?.lx?.mask, n?.type),
2663
2718
  maxlength: n?.maxLength,
@@ -2673,6 +2728,8 @@ var $ = {
2673
2728
  "custom-mask-value": n?.lx?.customMaskValue,
2674
2729
  autocomplete: n?.lx?.autocomplete,
2675
2730
  options: n?.lx?.options,
2731
+ helperText: n?.lx?.helperText,
2732
+ helperTextKind: n?.lx?.helperTextKind,
2676
2733
  texts: n?.lx?.texts,
2677
2734
  modelValue: m.value[`${e.id}-${e.name}`][o],
2678
2735
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
@@ -2691,10 +2748,12 @@ var $ = {
2691
2748
  "custom-mask-value",
2692
2749
  "autocomplete",
2693
2750
  "options",
2751
+ "helperText",
2752
+ "helperTextKind",
2694
2753
  "texts",
2695
2754
  "modelValue",
2696
2755
  "onUpdate:modelValue"
2697
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
2756
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
2698
2757
  key: 1,
2699
2758
  maxlength: n?.maxLength,
2700
2759
  placeholder: h(n),
@@ -2703,6 +2762,8 @@ var $ = {
2703
2762
  disabled: n?.lx?.disabled,
2704
2763
  tooltip: n?.lx?.tooltip,
2705
2764
  readOnly: g(n),
2765
+ helperText: n?.lx?.helperText,
2766
+ helperTextKind: n?.lx?.helperTextKind,
2706
2767
  texts: n?.lx?.texts,
2707
2768
  modelValue: m.value[`${e.id}-${e.name}`][o],
2708
2769
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
@@ -2714,10 +2775,12 @@ var $ = {
2714
2775
  "disabled",
2715
2776
  "tooltip",
2716
2777
  "readOnly",
2778
+ "helperText",
2779
+ "helperTextKind",
2717
2780
  "texts",
2718
2781
  "modelValue",
2719
2782
  "onUpdate:modelValue"
2720
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
2783
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
2721
2784
  key: 2,
2722
2785
  mask: "integer",
2723
2786
  maxlength: n?.maxLength,
@@ -2730,6 +2793,8 @@ var $ = {
2730
2793
  placeholder: h(n),
2731
2794
  signed: n?.lx?.signed,
2732
2795
  readOnly: g(n),
2796
+ helperText: n?.lx?.helperText,
2797
+ helperTextKind: n?.lx?.helperTextKind,
2733
2798
  texts: n?.lx?.texts,
2734
2799
  modelValue: m.value[`${e.id}-${e.name}`][o],
2735
2800
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
@@ -2744,10 +2809,12 @@ var $ = {
2744
2809
  "placeholder",
2745
2810
  "signed",
2746
2811
  "readOnly",
2812
+ "helperText",
2813
+ "helperTextKind",
2747
2814
  "texts",
2748
2815
  "modelValue",
2749
2816
  "onUpdate:modelValue"
2750
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
2817
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
2751
2818
  key: 3,
2752
2819
  size: n?.lx?.size,
2753
2820
  disabled: n?.lx?.disabled,
@@ -2764,7 +2831,7 @@ var $ = {
2764
2831
  "texts",
2765
2832
  "modelValue",
2766
2833
  "onUpdate:modelValue"
2767
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
2834
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
2768
2835
  key: 4,
2769
2836
  kind: n?.format,
2770
2837
  placeholder: h(n),
@@ -2781,6 +2848,8 @@ var $ = {
2781
2848
  variant: n?.lx?.variant,
2782
2849
  cadenceOfMinutes: n?.lx?.cadenceOfMinutes,
2783
2850
  cadenceOfSeconds: n?.lx?.cadenceOfSeconds,
2851
+ helperText: n?.lx?.helperText,
2852
+ helperTextKind: n?.lx?.helperTextKind,
2784
2853
  texts: n?.lx?.texts,
2785
2854
  readOnly: g(n),
2786
2855
  modelValue: m.value[`${e.id}-${e.name}`][o],
@@ -2801,21 +2870,23 @@ var $ = {
2801
2870
  "variant",
2802
2871
  "cadenceOfMinutes",
2803
2872
  "cadenceOfSeconds",
2873
+ "helperText",
2874
+ "helperTextKind",
2804
2875
  "texts",
2805
2876
  "readOnly",
2806
2877
  "modelValue",
2807
2878
  "onUpdate:modelValue"
2808
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2879
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2809
2880
  key: 5,
2810
2881
  selectionKind: n?.type === "array" ? "multiple" : "single",
2811
- items: n?.lx?.items || P(n),
2882
+ items: n?.lx?.items || M(n),
2812
2883
  "id-attribute": n?.lx?.idAttribute,
2813
2884
  "name-attribute": n?.lx?.nameAttribute,
2814
2885
  "icon-attribute": n?.lx?.iconAttribute,
2815
2886
  "icon-set-attribute": n?.lx?.iconSetAttribute,
2816
2887
  "category-attribute": n?.lx?.categoryAttribute,
2817
2888
  "description-attribute": n?.lx?.descriptionAttribute,
2818
- variant: Ue(n),
2889
+ variant: He(n),
2819
2890
  "has-search": n?.lx?.hasSearch,
2820
2891
  "always-as-array": n?.lx?.alwaysAsArray,
2821
2892
  nullable: n?.lx?.nullable,
@@ -2958,12 +3029,12 @@ var $ = {
2958
3029
  "stickyToolbar",
2959
3030
  "modelValue",
2960
3031
  "onUpdate:modelValue"
2961
- ])) : O(n, o) === "appendableList" ? (S(), r(k(ee), {
3032
+ ])) : E(n, o) === "appendableList" ? (S(), r(k(te), {
2962
3033
  key: 6,
2963
3034
  modelValue: m.value[`${e.id}-${e.name}`][o],
2964
3035
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
2965
3036
  }, {
2966
- customItem: N(({ item: c, index: u }) => [(S(!0), a(t, null, w(n?.items?.properties, (n, d) => (S(), a(t, { key: d }, [O(n, d) === "lxPlaceholder" ? (S(), r(k(Te), {
3037
+ customItem: N(({ item: c, index: u }) => [(S(!0), a(t, null, w(n?.items?.properties, (n, d) => (S(), a(t, { key: d }, [E(n, d) === "lxPlaceholder" ? (S(), r(k(U), {
2967
3038
  key: 0,
2968
3039
  class: "lx-placeholder"
2969
3040
  })) : (S(), r(k(W), {
@@ -2971,12 +3042,12 @@ var $ = {
2971
3042
  label: n?.title ? n?.title : d,
2972
3043
  rowSpan: n?.lx?.rowSpan,
2973
3044
  columnSpan: n?.lx?.columnSpan,
2974
- required: pe(e.row?.items?.required, d),
3045
+ required: fe(e.row?.items?.required, d),
2975
3046
  inputId: `${e.name}-${d}-${u}`,
2976
3047
  "action-definitions": n?.lx?.actionDefinitions,
2977
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${d}`, u)
3048
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${d}`, u)
2978
3049
  }, {
2979
- default: N(() => [O(n, d) === "textInputDefault" ? (S(), r(k(K), {
3050
+ default: N(() => [E(n, d) === "textInputDefault" ? (S(), r(k(K), {
2980
3051
  key: 0,
2981
3052
  id: `${e.name}-${d}-${u}`,
2982
3053
  mask: v(n?.lx?.mask, n?.type),
@@ -2993,6 +3064,8 @@ var $ = {
2993
3064
  "custom-mask-value": n?.lx?.customMaskValue,
2994
3065
  autocomplete: n?.lx?.autocomplete,
2995
3066
  options: n?.lx?.options,
3067
+ helperText: n?.lx?.helperText,
3068
+ helperTextKind: n?.lx?.helperTextKind,
2996
3069
  texts: n?.lx?.texts,
2997
3070
  modelValue: c[d],
2998
3071
  "onUpdate:modelValue": (e) => c[d] = e
@@ -3012,10 +3085,12 @@ var $ = {
3012
3085
  "custom-mask-value",
3013
3086
  "autocomplete",
3014
3087
  "options",
3088
+ "helperText",
3089
+ "helperTextKind",
3015
3090
  "texts",
3016
3091
  "modelValue",
3017
3092
  "onUpdate:modelValue"
3018
- ])) : O(n, d) === "textArea" ? (S(), r(k(Ne), {
3093
+ ])) : E(n, d) === "textArea" ? (S(), r(k(Ne), {
3019
3094
  key: 1,
3020
3095
  id: `${e.name}-${d}-${u}`,
3021
3096
  maxlength: n?.maxLength,
@@ -3025,6 +3100,8 @@ var $ = {
3025
3100
  disabled: n?.lx?.disabled,
3026
3101
  tooltip: n?.lx?.tooltip,
3027
3102
  readOnly: g(n),
3103
+ helperText: n?.lx?.helperText,
3104
+ helperTextKind: n?.lx?.helperTextKind,
3028
3105
  texts: n?.lx?.texts,
3029
3106
  modelValue: c[d],
3030
3107
  "onUpdate:modelValue": (e) => c[d] = e
@@ -3037,10 +3114,12 @@ var $ = {
3037
3114
  "disabled",
3038
3115
  "tooltip",
3039
3116
  "readOnly",
3117
+ "helperText",
3118
+ "helperTextKind",
3040
3119
  "texts",
3041
3120
  "modelValue",
3042
3121
  "onUpdate:modelValue"
3043
- ])) : O(n, d) === "dateTimePicker" ? (S(), r(k(B), {
3122
+ ])) : E(n, d) === "dateTimePicker" ? (S(), r(k(z), {
3044
3123
  key: 2,
3045
3124
  id: `${e.name}-${d}-${u}`,
3046
3125
  kind: n?.format === "date-time" ? "dateTime" : n?.format,
@@ -3058,6 +3137,8 @@ var $ = {
3058
3137
  variant: n?.lx?.variant,
3059
3138
  cadenceOfMinutes: n?.lx?.cadenceOfMinutes,
3060
3139
  cadenceOfSeconds: n?.lx?.cadenceOfSeconds,
3140
+ helperText: n?.lx?.helperText,
3141
+ helperTextKind: n?.lx?.helperTextKind,
3061
3142
  texts: n?.lx?.texts,
3062
3143
  readOnly: g(n),
3063
3144
  modelValue: c[d],
@@ -3079,11 +3160,13 @@ var $ = {
3079
3160
  "variant",
3080
3161
  "cadenceOfMinutes",
3081
3162
  "cadenceOfSeconds",
3163
+ "helperText",
3164
+ "helperTextKind",
3082
3165
  "texts",
3083
3166
  "readOnly",
3084
3167
  "modelValue",
3085
3168
  "onUpdate:modelValue"
3086
- ])) : O(n, d) === "textInputInteger" ? (S(), r(k(K), {
3169
+ ])) : E(n, d) === "textInputInteger" ? (S(), r(k(K), {
3087
3170
  key: 3,
3088
3171
  id: `${e.name}-${d}-${u}`,
3089
3172
  mask: "integer",
@@ -3096,6 +3179,8 @@ var $ = {
3096
3179
  "convert-to-string": n?.lx?.convertToString,
3097
3180
  placeholder: h(n),
3098
3181
  readOnly: g(n),
3182
+ helperText: n?.lx?.helperText,
3183
+ helperTextKind: n?.lx?.helperTextKind,
3099
3184
  texts: n?.lx?.texts,
3100
3185
  modelValue: c[d],
3101
3186
  "onUpdate:modelValue": (e) => c[d] = e
@@ -3110,10 +3195,12 @@ var $ = {
3110
3195
  "convert-to-string",
3111
3196
  "placeholder",
3112
3197
  "readOnly",
3198
+ "helperText",
3199
+ "helperTextKind",
3113
3200
  "texts",
3114
3201
  "modelValue",
3115
3202
  "onUpdate:modelValue"
3116
- ])) : O(n, d) === "toggle" ? (S(), r(k(Pe), {
3203
+ ])) : E(n, d) === "toggle" ? (S(), r(k(Pe), {
3117
3204
  key: 4,
3118
3205
  id: `${e.name}-${d}-${u}`,
3119
3206
  size: n?.lx?.size,
@@ -3124,7 +3211,7 @@ var $ = {
3124
3211
  modelValue: c[d],
3125
3212
  "onUpdate:modelValue": (e) => c[d] = e
3126
3213
  }, {
3127
- default: N(() => [n?.lx?.label ? (S(), a("span", vn, D(n?.lx?.label), 1)) : i("", !0)]),
3214
+ default: N(() => [n?.lx?.label ? (S(), a("span", yn, D(n?.lx?.label), 1)) : i("", !0)]),
3128
3215
  _: 2
3129
3216
  }, 1032, [
3130
3217
  "id",
@@ -3135,18 +3222,18 @@ var $ = {
3135
3222
  "texts",
3136
3223
  "modelValue",
3137
3224
  "onUpdate:modelValue"
3138
- ])) : O(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3225
+ ])) : E(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3139
3226
  key: 5,
3140
3227
  id: `${e.name}-${d}-${u}`,
3141
3228
  selectionKind: n?.type === "array" ? "multiple" : "single",
3142
- items: n?.lx?.items || P(n),
3229
+ items: n?.lx?.items || M(n),
3143
3230
  "id-attribute": n?.lx?.idAttribute,
3144
3231
  "name-attribute": n?.lx?.nameAttribute,
3145
3232
  "icon-attribute": n?.lx?.iconAttribute,
3146
3233
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3147
3234
  "category-attribute": n?.lx?.categoryAttribute,
3148
3235
  "description-attribute": n?.lx?.descriptionAttribute,
3149
- variant: Ue(n),
3236
+ variant: He(n),
3150
3237
  "has-search": n?.lx?.hasSearch,
3151
3238
  "always-as-array": n?.lx?.alwaysAsArray,
3152
3239
  nullable: n?.lx?.nullable,
@@ -3314,12 +3401,12 @@ var $ = {
3314
3401
  _: 1
3315
3402
  }, 8, ["column-count"])]),
3316
3403
  _: 1
3317
- }, 8, ["actionDefinitions"])])) : A.value === "arrayTable" ? (S(), r(k(z), {
3404
+ }, 8, ["actionDefinitions"])])) : O.value === "arrayTable" ? (S(), r(k(ae), {
3318
3405
  key: 10,
3319
3406
  items: f.value[e.name],
3320
3407
  label: e.displaySchema?.properties[e.name]?.lx?.label,
3321
3408
  description: e.displaySchema?.properties[e.name]?.lx?.description,
3322
- columnDefinitions: ze(e.displaySchema?.properties[e.name]?.items?.properties),
3409
+ columnDefinitions: Le(e.displaySchema?.properties[e.name]?.items?.properties),
3323
3410
  scrollable: e.displaySchema?.properties[e.name]?.items?.properties ? Object?.keys(e.displaySchema?.properties[e.name]?.items?.properties)?.length > 4 : null,
3324
3411
  loading: e.displaySchema?.properties[e.name]?.lx?.loading,
3325
3412
  busy: e.displaySchema?.properties[e.name]?.lx?.busy,
@@ -3336,8 +3423,8 @@ var $ = {
3336
3423
  defaultActionName: e.displaySchema?.properties[e.name]?.lx?.defaultActionName,
3337
3424
  toolbarActionDefinitions: e.displaySchema?.properties[e.name]?.lx?.toolbarActionDefinitions,
3338
3425
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
3339
- onActionClick: c[34] ||= (t, n, r) => M("actionClick", e.name, t, n),
3340
- onToolbarActionClick: c[35] ||= (t) => M("toolbarActionClick", e.name, t)
3426
+ onActionClick: c[34] ||= (t, n, r) => j("actionClick", e.name, t, n),
3427
+ onToolbarActionClick: c[35] ||= (t) => j("toolbarActionClick", e.name, t)
3341
3428
  }, null, 8, [
3342
3429
  "items",
3343
3430
  "label",
@@ -3359,12 +3446,12 @@ var $ = {
3359
3446
  "defaultActionName",
3360
3447
  "toolbarActionDefinitions",
3361
3448
  "texts"
3362
- ])) : A.value === "arrayTableModal" ? (S(), a("div", yn, [l(k(z), {
3449
+ ])) : O.value === "arrayTableModal" ? (S(), a("div", bn, [l(k(ae), {
3363
3450
  items: f.value[e.name],
3364
3451
  label: e.displaySchema?.properties[e.name]?.lx?.label,
3365
3452
  description: e.displaySchema?.properties[e.name]?.lx?.description,
3366
3453
  idAttribute: e.displaySchema?.properties[e.name]?.lx?.idAttribute,
3367
- columnDefinitions: ze(e.displaySchema?.properties[e.name]?.items?.properties),
3454
+ columnDefinitions: Le(e.displaySchema?.properties[e.name]?.items?.properties),
3368
3455
  scrollable: e.displaySchema?.properties[e.name]?.items?.properties ? Object?.keys(e.displaySchema?.properties[e.name]?.items?.properties)?.length > 4 : null,
3369
3456
  loading: e.displaySchema?.properties[e.name]?.lx?.loading,
3370
3457
  busy: e.displaySchema?.properties[e.name]?.lx?.busy,
@@ -3406,46 +3493,46 @@ var $ = {
3406
3493
  badgeDefinitions: e.displaySchema?.properties[e.name]?.lx?.badgeDefinitions,
3407
3494
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
3408
3495
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
3409
- onActionClick: c[37] ||= (t, n, r) => He(t, n, r, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
3410
- onToolbarActionClick: c[38] ||= (t) => M("toolbarActionClick", e.name, t),
3411
- onSelectionActionClick: c[39] ||= (t, n) => M("selectionActionClick", e.name, t, n),
3412
- "onUpdate:searchString": c[40] ||= (t) => M("update:searchString", e.name, t),
3413
- onSearch: c[41] ||= (t) => M("search", e.name, t),
3414
- onSelectPage: c[42] ||= (t) => M("selectPage", e.name, t),
3415
- onSortingChange: c[43] ||= (t) => M("sortingChange", e.name, t),
3416
- onSelectionChange: c[44] ||= (t) => M("selectionChange", e.name, t),
3417
- onItemsPerPageChange: c[45] ||= (t) => M("itemsPerPageChange", e.name, t),
3418
- onEmptyStateActionClick: c[46] ||= (t) => M("emptyStateActionClick", e.name, t)
3496
+ onActionClick: c[37] ||= (t, n, r) => q(t, n, r, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
3497
+ onToolbarActionClick: c[38] ||= (t) => j("toolbarActionClick", e.name, t),
3498
+ onSelectionActionClick: c[39] ||= (t, n) => j("selectionActionClick", e.name, t, n),
3499
+ "onUpdate:searchString": c[40] ||= (t) => j("update:searchString", e.name, t),
3500
+ onSearch: c[41] ||= (t) => j("search", e.name, t),
3501
+ onSelectPage: c[42] ||= (t) => j("selectPage", e.name, t),
3502
+ onSortingChange: c[43] ||= (t) => j("sortingChange", e.name, t),
3503
+ onSelectionChange: c[44] ||= (t) => j("selectionChange", e.name, t),
3504
+ onItemsPerPageChange: c[45] ||= (t) => j("itemsPerPageChange", e.name, t),
3505
+ onEmptyStateActionClick: c[46] ||= (t) => j("emptyStateActionClick", e.name, t)
3419
3506
  }, {
3420
- toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(I), {
3507
+ toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(F), {
3421
3508
  key: 0,
3422
3509
  icon: "add-item",
3423
3510
  label: e.texts?.addElement,
3424
3511
  kind: "ghost",
3425
- onClick: c[36] ||= (t) => q(e.name)
3512
+ onClick: c[36] ||= (t) => Be(e.name)
3426
3513
  }, null, 8, ["label"]))]),
3427
3514
  _: 1
3428
- }, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusBar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.totalItems.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts".split(".")), l(k(Ce), {
3515
+ }, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusBar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.totalItems.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts".split(".")), l(k(Te), {
3429
3516
  ref: (t) => p.value[`${e.id}-${e.name}`] = t,
3430
- actionDefinitions: We.value,
3431
- onClose: c[47] ||= (e) => Be.value = !1,
3432
- onActionClick: c[48] ||= (t) => Ge(t, e.name)
3517
+ actionDefinitions: Ue.value,
3518
+ onClose: c[47] ||= (e) => ze.value = !1,
3519
+ onActionClick: c[48] ||= (t) => We(t, e.name)
3433
3520
  }, {
3434
- default: N(() => [l(k(H), {
3521
+ default: N(() => [l(k(B), {
3435
3522
  showHeader: !1,
3436
3523
  showFooter: !1,
3437
3524
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
3438
3525
  kind: "stripped"
3439
3526
  }, {
3440
- default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.items?.properties, (n, o) => (S(), a(t, { key: o }, [O(n, o) === "lxPlaceholder" ? (S(), r(k(Te), { key: 0 })) : (S(), r(k(W), {
3527
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.items?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
3441
3528
  key: 1,
3442
3529
  label: n?.title ? n?.title : o,
3443
3530
  rowSpan: n?.lx?.rowSpan,
3444
3531
  columnSpan: n?.lx?.columnSpan,
3445
3532
  "action-definitions": n?.lx?.actionDefinitions,
3446
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
3533
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
3447
3534
  }, {
3448
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
3535
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
3449
3536
  key: 0,
3450
3537
  mask: v(n?.lx?.mask, n?.type),
3451
3538
  maxlength: n?.maxLength,
@@ -3461,6 +3548,8 @@ var $ = {
3461
3548
  "custom-mask-value": n?.lx?.customMaskValue,
3462
3549
  autocomplete: n?.lx?.autocomplete,
3463
3550
  options: n?.lx?.options,
3551
+ helperText: n?.lx?.helperText,
3552
+ helperTextKind: n?.lx?.helperTextKind,
3464
3553
  texts: n?.lx?.texts,
3465
3554
  modelValue: m.value[`${e.id}-${e.name}`][o],
3466
3555
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
@@ -3479,10 +3568,12 @@ var $ = {
3479
3568
  "custom-mask-value",
3480
3569
  "autocomplete",
3481
3570
  "options",
3571
+ "helperText",
3572
+ "helperTextKind",
3482
3573
  "texts",
3483
3574
  "modelValue",
3484
3575
  "onUpdate:modelValue"
3485
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
3576
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
3486
3577
  key: 1,
3487
3578
  maxlength: n?.maxLength,
3488
3579
  placeholder: h(n),
@@ -3491,6 +3582,8 @@ var $ = {
3491
3582
  disabled: n?.lx?.disabled,
3492
3583
  tooltip: n?.lx?.tooltip,
3493
3584
  readOnly: g(n),
3585
+ helperText: n?.lx?.helperText,
3586
+ helperTextKind: n?.lx?.helperTextKind,
3494
3587
  texts: n?.lx?.texts,
3495
3588
  modelValue: m.value[`${e.id}-${e.name}`][o],
3496
3589
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
@@ -3502,10 +3595,12 @@ var $ = {
3502
3595
  "disabled",
3503
3596
  "tooltip",
3504
3597
  "readOnly",
3598
+ "helperText",
3599
+ "helperTextKind",
3505
3600
  "texts",
3506
3601
  "modelValue",
3507
3602
  "onUpdate:modelValue"
3508
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
3603
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
3509
3604
  key: 2,
3510
3605
  mask: "integer",
3511
3606
  maxlength: n?.maxLength,
@@ -3518,6 +3613,8 @@ var $ = {
3518
3613
  placeholder: h(n),
3519
3614
  signed: n?.lx?.signed,
3520
3615
  readOnly: g(n),
3616
+ helperText: n?.lx?.helperText,
3617
+ helperTextKind: n?.lx?.helperTextKind,
3521
3618
  texts: n?.lx?.texts,
3522
3619
  modelValue: m.value[`${e.id}-${e.name}`][o],
3523
3620
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
@@ -3532,10 +3629,12 @@ var $ = {
3532
3629
  "placeholder",
3533
3630
  "signed",
3534
3631
  "readOnly",
3632
+ "helperText",
3633
+ "helperTextKind",
3535
3634
  "texts",
3536
3635
  "modelValue",
3537
3636
  "onUpdate:modelValue"
3538
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
3637
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
3539
3638
  key: 3,
3540
3639
  size: n?.lx?.size,
3541
3640
  disabled: n?.lx?.disabled,
@@ -3552,7 +3651,7 @@ var $ = {
3552
3651
  "texts",
3553
3652
  "modelValue",
3554
3653
  "onUpdate:modelValue"
3555
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
3654
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
3556
3655
  key: 4,
3557
3656
  kind: n?.format,
3558
3657
  placeholder: h(n),
@@ -3569,6 +3668,8 @@ var $ = {
3569
3668
  variant: n?.lx?.variant,
3570
3669
  cadenceOfMinutes: n?.lx?.cadenceOfMinutes,
3571
3670
  cadenceOfSeconds: n?.lx?.cadenceOfSeconds,
3671
+ helperText: n?.lx?.helperText,
3672
+ helperTextKind: n?.lx?.helperTextKind,
3572
3673
  texts: n?.lx?.texts,
3573
3674
  readOnly: g(n),
3574
3675
  modelValue: m.value[`${e.id}-${e.name}`][o],
@@ -3589,21 +3690,23 @@ var $ = {
3589
3690
  "variant",
3590
3691
  "cadenceOfMinutes",
3591
3692
  "cadenceOfSeconds",
3693
+ "helperText",
3694
+ "helperTextKind",
3592
3695
  "texts",
3593
3696
  "readOnly",
3594
3697
  "modelValue",
3595
3698
  "onUpdate:modelValue"
3596
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
3699
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
3597
3700
  key: 5,
3598
3701
  selectionKind: n?.type === "array" ? "multiple" : "single",
3599
- items: n?.lx?.items || P(n),
3702
+ items: n?.lx?.items || M(n),
3600
3703
  "id-attribute": n?.lx?.idAttribute,
3601
3704
  "name-attribute": n?.lx?.nameAttribute,
3602
3705
  "icon-attribute": n?.lx?.iconAttribute,
3603
3706
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3604
3707
  "category-attribute": n?.lx?.categoryAttribute,
3605
3708
  "description-attribute": n?.lx?.descriptionAttribute,
3606
- variant: Ue(n),
3709
+ variant: He(n),
3607
3710
  "has-search": n?.lx?.hasSearch,
3608
3711
  "always-as-array": n?.lx?.alwaysAsArray,
3609
3712
  nullable: n?.lx?.nullable,
@@ -3746,12 +3849,12 @@ var $ = {
3746
3849
  "stickyToolbar",
3747
3850
  "modelValue",
3748
3851
  "onUpdate:modelValue"
3749
- ])) : O(n, o) === "appendableList" ? (S(), r(k(ee), {
3852
+ ])) : E(n, o) === "appendableList" ? (S(), r(k(te), {
3750
3853
  key: 6,
3751
3854
  modelValue: m.value[`${e.id}-${e.name}`][o],
3752
3855
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
3753
3856
  }, {
3754
- customItem: N(({ item: c, index: u }) => [(S(!0), a(t, null, w(n?.items?.properties, (n, d) => (S(), a(t, { key: d }, [O(n, d) === "lxPlaceholder" ? (S(), r(k(Te), {
3857
+ customItem: N(({ item: c, index: u }) => [(S(!0), a(t, null, w(n?.items?.properties, (n, d) => (S(), a(t, { key: d }, [E(n, d) === "lxPlaceholder" ? (S(), r(k(U), {
3755
3858
  key: 0,
3756
3859
  class: "lx-placeholder"
3757
3860
  })) : (S(), r(k(W), {
@@ -3759,12 +3862,12 @@ var $ = {
3759
3862
  label: n?.title ? n?.title : d,
3760
3863
  rowSpan: n?.lx?.rowSpan,
3761
3864
  columnSpan: n?.lx?.columnSpan,
3762
- required: pe(e.row?.items?.required, d),
3865
+ required: fe(e.row?.items?.required, d),
3763
3866
  inputId: `${e.name}-${d}-${u}`,
3764
3867
  "action-definitions": n?.lx?.actionDefinitions,
3765
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${d}`, u)
3868
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${d}`, u)
3766
3869
  }, {
3767
- default: N(() => [O(n, d) === "textInputDefault" ? (S(), r(k(K), {
3870
+ default: N(() => [E(n, d) === "textInputDefault" ? (S(), r(k(K), {
3768
3871
  key: 0,
3769
3872
  id: `${e.name}-${d}-${u}`,
3770
3873
  mask: v(n?.lx?.mask, n?.type),
@@ -3781,6 +3884,8 @@ var $ = {
3781
3884
  "custom-mask-value": n?.lx?.customMaskValue,
3782
3885
  autocomplete: n?.lx?.autocomplete,
3783
3886
  options: n?.lx?.options,
3887
+ helperText: n?.lx?.helperText,
3888
+ helperTextKind: n?.lx?.helperTextKind,
3784
3889
  texts: n?.lx?.texts,
3785
3890
  modelValue: c[d],
3786
3891
  "onUpdate:modelValue": (e) => c[d] = e
@@ -3800,10 +3905,12 @@ var $ = {
3800
3905
  "custom-mask-value",
3801
3906
  "autocomplete",
3802
3907
  "options",
3908
+ "helperText",
3909
+ "helperTextKind",
3803
3910
  "texts",
3804
3911
  "modelValue",
3805
3912
  "onUpdate:modelValue"
3806
- ])) : O(n, d) === "textArea" ? (S(), r(k(Ne), {
3913
+ ])) : E(n, d) === "textArea" ? (S(), r(k(Ne), {
3807
3914
  key: 1,
3808
3915
  id: `${e.name}-${d}-${u}`,
3809
3916
  maxlength: n?.maxLength,
@@ -3813,6 +3920,8 @@ var $ = {
3813
3920
  disabled: n?.lx?.disabled,
3814
3921
  tooltip: n?.lx?.tooltip,
3815
3922
  readOnly: g(n),
3923
+ helperText: n?.lx?.helperText,
3924
+ helperTextKind: n?.lx?.helperTextKind,
3816
3925
  texts: n?.lx?.texts,
3817
3926
  modelValue: c[d],
3818
3927
  "onUpdate:modelValue": (e) => c[d] = e
@@ -3825,10 +3934,12 @@ var $ = {
3825
3934
  "disabled",
3826
3935
  "tooltip",
3827
3936
  "readOnly",
3937
+ "helperText",
3938
+ "helperTextKind",
3828
3939
  "texts",
3829
3940
  "modelValue",
3830
3941
  "onUpdate:modelValue"
3831
- ])) : O(n, d) === "dateTimePicker" ? (S(), r(k(B), {
3942
+ ])) : E(n, d) === "dateTimePicker" ? (S(), r(k(z), {
3832
3943
  key: 2,
3833
3944
  id: `${e.name}-${d}-${u}`,
3834
3945
  kind: n?.format,
@@ -3846,6 +3957,8 @@ var $ = {
3846
3957
  variant: n?.lx?.variant,
3847
3958
  cadenceOfMinutes: n?.lx?.cadenceOfMinutes,
3848
3959
  cadenceOfSeconds: n?.lx?.cadenceOfSeconds,
3960
+ helperText: n?.lx?.helperText,
3961
+ helperTextKind: n?.lx?.helperTextKind,
3849
3962
  texts: n?.lx?.texts,
3850
3963
  readOnly: g(n),
3851
3964
  modelValue: c[d],
@@ -3867,11 +3980,13 @@ var $ = {
3867
3980
  "variant",
3868
3981
  "cadenceOfMinutes",
3869
3982
  "cadenceOfSeconds",
3983
+ "helperText",
3984
+ "helperTextKind",
3870
3985
  "texts",
3871
3986
  "readOnly",
3872
3987
  "modelValue",
3873
3988
  "onUpdate:modelValue"
3874
- ])) : O(n, d) === "textInputInteger" ? (S(), r(k(K), {
3989
+ ])) : E(n, d) === "textInputInteger" ? (S(), r(k(K), {
3875
3990
  key: 3,
3876
3991
  id: `${e.name}-${d}-${u}`,
3877
3992
  mask: "integer",
@@ -3884,6 +3999,8 @@ var $ = {
3884
3999
  "convert-to-string": n?.lx?.convertToString,
3885
4000
  placeholder: h(n),
3886
4001
  readOnly: g(n),
4002
+ helperText: n?.lx?.helperText,
4003
+ helperTextKind: n?.lx?.helperTextKind,
3887
4004
  texts: n?.lx?.texts,
3888
4005
  modelValue: c[d],
3889
4006
  "onUpdate:modelValue": (e) => c[d] = e
@@ -3898,10 +4015,12 @@ var $ = {
3898
4015
  "convert-to-string",
3899
4016
  "placeholder",
3900
4017
  "readOnly",
4018
+ "helperText",
4019
+ "helperTextKind",
3901
4020
  "texts",
3902
4021
  "modelValue",
3903
4022
  "onUpdate:modelValue"
3904
- ])) : O(n, d) === "toggle" ? (S(), r(k(Pe), {
4023
+ ])) : E(n, d) === "toggle" ? (S(), r(k(Pe), {
3905
4024
  key: 4,
3906
4025
  id: `${e.name}-${d}-${u}`,
3907
4026
  size: n?.lx?.size,
@@ -3912,7 +4031,7 @@ var $ = {
3912
4031
  modelValue: c[d],
3913
4032
  "onUpdate:modelValue": (e) => c[d] = e
3914
4033
  }, {
3915
- default: N(() => [n?.lx?.label ? (S(), a("span", bn, D(n?.lx?.label), 1)) : i("", !0)]),
4034
+ default: N(() => [n?.lx?.label ? (S(), a("span", xn, D(n?.lx?.label), 1)) : i("", !0)]),
3916
4035
  _: 2
3917
4036
  }, 1032, [
3918
4037
  "id",
@@ -3923,18 +4042,18 @@ var $ = {
3923
4042
  "texts",
3924
4043
  "modelValue",
3925
4044
  "onUpdate:modelValue"
3926
- ])) : O(n, d) === "valuePicker" ? (S(), r(k(Ie), {
4045
+ ])) : E(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3927
4046
  key: 5,
3928
4047
  id: `${e.name}-${d}-${u}`,
3929
4048
  selectionKind: n?.type === "array" ? "multiple" : "single",
3930
- items: n?.lx?.items || P(n),
4049
+ items: n?.lx?.items || M(n),
3931
4050
  "id-attribute": n?.lx?.idAttribute,
3932
4051
  "name-attribute": n?.lx?.nameAttribute,
3933
4052
  "icon-attribute": n?.lx?.iconAttribute,
3934
4053
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3935
4054
  "category-attribute": n?.lx?.categoryAttribute,
3936
4055
  "description-attribute": n?.lx?.descriptionAttribute,
3937
- variant: Ue(n),
4056
+ variant: He(n),
3938
4057
  "has-search": n?.lx?.hasSearch,
3939
4058
  "always-as-array": n?.lx?.alwaysAsArray,
3940
4059
  nullable: n?.lx?.nullable,
@@ -4102,7 +4221,7 @@ var $ = {
4102
4221
  _: 1
4103
4222
  }, 8, ["column-count"])]),
4104
4223
  _: 1
4105
- }, 8, ["actionDefinitions"])])) : A.value === "appendableList" ? (S(), r(k(ee), {
4224
+ }, 8, ["actionDefinitions"])])) : O.value === "appendableList" ? (S(), r(k(te), {
4106
4225
  key: 12,
4107
4226
  modelValue: f.value[e.name],
4108
4227
  "onUpdate:modelValue": c[49] ||= (t) => f.value[e.name] = t,
@@ -4129,14 +4248,14 @@ var $ = {
4129
4248
  selectedValues: e.displaySchema?.properties[e.name]?.lx?.selectedValues,
4130
4249
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
4131
4250
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
4132
- onActionClick: c[50] ||= (t, n, r) => M("actionClick", e.name, t, {
4251
+ onActionClick: c[50] ||= (t, n, r) => j("actionClick", e.name, t, {
4133
4252
  item: n,
4134
4253
  index: r
4135
4254
  }),
4136
- onToolbarActionClick: c[51] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
4137
- "onUpdate:selectedValues": c[52] ||= (t) => M("update:selectedValues", e.name, t)
4255
+ onToolbarActionClick: c[51] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
4256
+ "onUpdate:selectedValues": c[52] ||= (t) => j("update:selectedValues", e.name, t)
4138
4257
  }, {
4139
- customItem: N(({ item: n, index: o }) => [(S(!0), a(t, null, w(e.orderedObject?.[e.name]?.items?.properties, (c, u) => (S(), a(t, { key: u }, [O(c, u) === "lxPlaceholder" ? (S(), r(k(Te), {
4258
+ customItem: N(({ item: n, index: o }) => [(S(!0), a(t, null, w(e.orderedObject?.[e.name]?.items?.properties, (c, u) => (S(), a(t, { key: u }, [E(c, u) === "lxPlaceholder" ? (S(), r(k(U), {
4140
4259
  key: 0,
4141
4260
  class: "lx-placeholder"
4142
4261
  })) : (S(), r(k(W), {
@@ -4144,12 +4263,12 @@ var $ = {
4144
4263
  label: c?.title ? c?.title : u,
4145
4264
  rowSpan: c?.lx?.rowSpan,
4146
4265
  columnSpan: c?.lx?.columnSpan,
4147
- required: pe(e.row?.items?.required, u),
4266
+ required: fe(e.row?.items?.required, u),
4148
4267
  inputId: `${e.name}-${u}-${o}`,
4149
4268
  "action-definitions": c?.lx?.actionDefinitions,
4150
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${u}`, o)
4269
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${u}`, o)
4151
4270
  }, {
4152
- default: N(() => [O(c, u) === "textInputDefault" ? (S(), r(k(K), {
4271
+ default: N(() => [E(c, u) === "textInputDefault" ? (S(), r(k(K), {
4153
4272
  key: 0,
4154
4273
  id: `${e.name}-${u}-${o}`,
4155
4274
  mask: v(c?.lx?.mask, c?.type),
@@ -4166,6 +4285,8 @@ var $ = {
4166
4285
  "custom-mask-value": c?.lx?.customMaskValue,
4167
4286
  autocomplete: c?.lx?.autocomplete,
4168
4287
  options: c?.lx?.options,
4288
+ helperText: c?.lx?.helperText,
4289
+ helperTextKind: c?.lx?.helperTextKind,
4169
4290
  texts: c?.lx?.texts,
4170
4291
  modelValue: n[u],
4171
4292
  "onUpdate:modelValue": (e) => n[u] = e
@@ -4185,10 +4306,12 @@ var $ = {
4185
4306
  "custom-mask-value",
4186
4307
  "autocomplete",
4187
4308
  "options",
4309
+ "helperText",
4310
+ "helperTextKind",
4188
4311
  "texts",
4189
4312
  "modelValue",
4190
4313
  "onUpdate:modelValue"
4191
- ])) : O(c, u) === "textArea" ? (S(), r(k(Ne), {
4314
+ ])) : E(c, u) === "textArea" ? (S(), r(k(Ne), {
4192
4315
  key: 1,
4193
4316
  id: `${e.name}-${u}-${o}`,
4194
4317
  maxlength: c?.maxLength,
@@ -4198,6 +4321,8 @@ var $ = {
4198
4321
  disabled: c?.lx?.disabled,
4199
4322
  tooltip: c?.lx?.tooltip,
4200
4323
  readOnly: g(c),
4324
+ helperText: c?.lx?.helperText,
4325
+ helperTextKind: c?.lx?.helperTextKind,
4201
4326
  texts: c?.lx?.texts,
4202
4327
  modelValue: n[u],
4203
4328
  "onUpdate:modelValue": (e) => n[u] = e
@@ -4210,10 +4335,12 @@ var $ = {
4210
4335
  "disabled",
4211
4336
  "tooltip",
4212
4337
  "readOnly",
4338
+ "helperText",
4339
+ "helperTextKind",
4213
4340
  "texts",
4214
4341
  "modelValue",
4215
4342
  "onUpdate:modelValue"
4216
- ])) : O(c, u) === "dateTimePicker" ? (S(), r(k(B), {
4343
+ ])) : E(c, u) === "dateTimePicker" ? (S(), r(k(z), {
4217
4344
  key: 2,
4218
4345
  id: `${e.name}-${u}-${o}`,
4219
4346
  kind: c?.format,
@@ -4231,6 +4358,8 @@ var $ = {
4231
4358
  variant: c?.lx?.variant,
4232
4359
  cadenceOfMinutes: c?.lx?.cadenceOfMinutes,
4233
4360
  cadenceOfSeconds: c?.lx?.cadenceOfSeconds,
4361
+ helperText: c?.lx?.helperText,
4362
+ helperTextKind: c?.lx?.helperTextKind,
4234
4363
  texts: c?.lx?.texts,
4235
4364
  readOnly: g(c),
4236
4365
  modelValue: n[u],
@@ -4252,11 +4381,13 @@ var $ = {
4252
4381
  "variant",
4253
4382
  "cadenceOfMinutes",
4254
4383
  "cadenceOfSeconds",
4384
+ "helperText",
4385
+ "helperTextKind",
4255
4386
  "texts",
4256
4387
  "readOnly",
4257
4388
  "modelValue",
4258
4389
  "onUpdate:modelValue"
4259
- ])) : O(c, u) === "textInputInteger" ? (S(), r(k(K), {
4390
+ ])) : E(c, u) === "textInputInteger" ? (S(), r(k(K), {
4260
4391
  key: 3,
4261
4392
  id: `${e.name}-${u}-${o}`,
4262
4393
  mask: "integer",
@@ -4269,6 +4400,8 @@ var $ = {
4269
4400
  "convert-to-string": c?.lx?.convertToString,
4270
4401
  placeholder: h(c),
4271
4402
  readOnly: g(c),
4403
+ helperText: c?.lx?.helperText,
4404
+ helperTextKind: c?.lx?.helperTextKind,
4272
4405
  texts: c?.lx?.texts,
4273
4406
  modelValue: n[u],
4274
4407
  "onUpdate:modelValue": (e) => n[u] = e
@@ -4283,10 +4416,12 @@ var $ = {
4283
4416
  "convert-to-string",
4284
4417
  "placeholder",
4285
4418
  "readOnly",
4419
+ "helperText",
4420
+ "helperTextKind",
4286
4421
  "texts",
4287
4422
  "modelValue",
4288
4423
  "onUpdate:modelValue"
4289
- ])) : O(c, u) === "toggle" ? (S(), r(k(Pe), {
4424
+ ])) : E(c, u) === "toggle" ? (S(), r(k(Pe), {
4290
4425
  key: 4,
4291
4426
  id: `${e.name}-${u}-${o}`,
4292
4427
  size: c?.lx?.size,
@@ -4297,7 +4432,7 @@ var $ = {
4297
4432
  modelValue: n[u],
4298
4433
  "onUpdate:modelValue": (e) => n[u] = e
4299
4434
  }, {
4300
- default: N(() => [c?.lx?.label ? (S(), a("span", xn, D(c?.lx?.label), 1)) : i("", !0)]),
4435
+ default: N(() => [c?.lx?.label ? (S(), a("span", Sn, D(c?.lx?.label), 1)) : i("", !0)]),
4301
4436
  _: 2
4302
4437
  }, 1032, [
4303
4438
  "id",
@@ -4308,18 +4443,18 @@ var $ = {
4308
4443
  "texts",
4309
4444
  "modelValue",
4310
4445
  "onUpdate:modelValue"
4311
- ])) : O(c, u) === "valuePicker" ? (S(), r(k(Ie), {
4446
+ ])) : E(c, u) === "valuePicker" ? (S(), r(k(Ie), {
4312
4447
  key: 5,
4313
4448
  id: `${e.name}-${u}-${o}`,
4314
4449
  selectionKind: c?.type === "array" ? "multiple" : "single",
4315
- items: c?.lx?.items || P(c),
4450
+ items: c?.lx?.items || M(c),
4316
4451
  "id-attribute": c?.lx?.idAttribute,
4317
4452
  "name-attribute": c?.lx?.nameAttribute,
4318
4453
  "icon-attribute": c?.lx?.iconAttribute,
4319
4454
  "icon-set-attribute": c?.lx?.iconSetAttribute,
4320
4455
  "category-attribute": c?.lx?.categoryAttribute,
4321
4456
  "description-attribute": c?.lx?.descriptionAttribute,
4322
- variant: Ue(c),
4457
+ variant: He(c),
4323
4458
  "has-search": c?.lx?.hasSearch,
4324
4459
  "always-as-array": c?.lx?.alwaysAsArray,
4325
4460
  nullable: c?.lx?.nullable,
@@ -4500,7 +4635,7 @@ var $ = {
4500
4635
  "selectedValues",
4501
4636
  "stickyToolbar",
4502
4637
  "texts"
4503
- ])) : A.value === "smallAppendableList" ? (S(), r(cn, {
4638
+ ])) : O.value === "smallAppendableList" ? (S(), r(cn, {
4504
4639
  key: 13,
4505
4640
  modelValue: f.value[e.name],
4506
4641
  "onUpdate:modelValue": c[53] ||= (t) => f.value[e.name] = t,
@@ -4511,7 +4646,7 @@ var $ = {
4511
4646
  canAddItems: e.displaySchema?.properties[e.name]?.lx?.canAddItems,
4512
4647
  texts: e.displaySchema?.properties[e.name]?.lx?.texts
4513
4648
  }, {
4514
- customItem: N(({ index: t }) => [O(e.row?.items, e.name) === "lxPlaceholder" ? (S(), r(k(Te), {
4649
+ customItem: N(({ index: t }) => [E(e.row?.items, e.name) === "lxPlaceholder" ? (S(), r(k(U), {
4515
4650
  key: 0,
4516
4651
  class: "lx-placeholder"
4517
4652
  })) : (S(), r(k(W), {
@@ -4520,9 +4655,9 @@ var $ = {
4520
4655
  rowSpan: e.row?.items?.lx?.rowSpan,
4521
4656
  columnSpan: e.row?.items?.lx?.columnSpan,
4522
4657
  actionDefinitions: e.row?.items?.lx?.actionDefinitions,
4523
- onActionClick: (n, r, i) => j(r, i, e.name, t)
4658
+ onActionClick: (n, r, i) => A(r, i, e.name, t)
4524
4659
  }, {
4525
- default: N(() => [O(e.row?.items, e.name) === "textInputDefault" ? (S(), r(k(K), {
4660
+ default: N(() => [E(e.row?.items, e.name) === "textInputDefault" ? (S(), r(k(K), {
4526
4661
  key: 0,
4527
4662
  mask: v(e.row?.items?.lx?.mask, e.row?.items?.type),
4528
4663
  maxlength: e.row?.items?.maxLength,
@@ -4538,6 +4673,8 @@ var $ = {
4538
4673
  "custom-mask-value": e.row?.items?.lx?.customMaskValue,
4539
4674
  autocomplete: e.row?.items?.lx?.autocomplete,
4540
4675
  options: e.row?.items?.lx?.options,
4676
+ helperText: e.row?.items?.lx?.helperText,
4677
+ helperTextKind: e.row?.items?.lx?.helperTextKind,
4541
4678
  texts: e.row?.items?.lx?.texts,
4542
4679
  modelValue: f.value[e.name][t],
4543
4680
  "onUpdate:modelValue": (n) => f.value[e.name][t] = n
@@ -4556,10 +4693,12 @@ var $ = {
4556
4693
  "custom-mask-value",
4557
4694
  "autocomplete",
4558
4695
  "options",
4696
+ "helperText",
4697
+ "helperTextKind",
4559
4698
  "texts",
4560
4699
  "modelValue",
4561
4700
  "onUpdate:modelValue"
4562
- ])) : O(e.row?.items, e.name) === "textInputInteger" ? (S(), r(k(K), {
4701
+ ])) : E(e.row?.items, e.name) === "textInputInteger" ? (S(), r(k(K), {
4563
4702
  key: 1,
4564
4703
  mask: "integer",
4565
4704
  maxlength: e.row?.items?.maxLength,
@@ -4572,6 +4711,8 @@ var $ = {
4572
4711
  placeholder: h(e.row?.items),
4573
4712
  signed: e.row?.items?.lx?.signed,
4574
4713
  readOnly: g(e.row?.items),
4714
+ helperText: e.row?.items?.lx?.helperText,
4715
+ helperTextKind: e.row?.items?.lx?.helperTextKind,
4575
4716
  texts: e.row?.items?.lx?.texts,
4576
4717
  modelValue: f.value[e.name][t],
4577
4718
  "onUpdate:modelValue": (n) => f.value[e.name][t] = n
@@ -4586,10 +4727,12 @@ var $ = {
4586
4727
  "placeholder",
4587
4728
  "signed",
4588
4729
  "readOnly",
4730
+ "helperText",
4731
+ "helperTextKind",
4589
4732
  "texts",
4590
4733
  "modelValue",
4591
4734
  "onUpdate:modelValue"
4592
- ])) : O(e.row?.items, e.name) === "toggle" ? (S(), r(k(Pe), {
4735
+ ])) : E(e.row?.items, e.name) === "toggle" ? (S(), r(k(Pe), {
4593
4736
  key: 2,
4594
4737
  size: e.row?.items?.lx?.size,
4595
4738
  disabled: e.row?.items?.lx?.disabled,
@@ -4599,11 +4742,11 @@ var $ = {
4599
4742
  modelValue: f.value[e.name][t],
4600
4743
  "onUpdate:modelValue": (n) => f.value[e.name][t] = n
4601
4744
  }, {
4602
- on: N(() => [e.row?.items?.lx?.labelOn ? (S(), a("span", Sn, D(e.row?.items?.lx?.labelOn), 1)) : (S(), a("span", Cn, "Jā"))]),
4603
- off: N(() => [e.row?.items?.lx?.labelOff ? (S(), a("span", wn, D(e.row?.items?.lx?.labelOff), 1)) : (S(), a("span", Tn, "Nē"))]),
4604
- indeterminate: N(() => [e.row?.items?.lx?.labelIndeterminate ? (S(), a("span", En, D(e.row?.items?.lx?.labelIndeterminate), 1)) : g(e.row?.items) ? (S(), a("span", Dn, c[98] ||= [o("p", { class: "lx-data" }, "—", -1)])) : (S(), a("span", On, "—"))]),
4605
- _: 2
4606
- }, 1032, [
4745
+ on: N(() => [e.row?.items?.lx?.labelOn ? (S(), a("span", Cn, D(e.row?.items?.lx?.labelOn), 1)) : (S(), a("span", wn, "Jā"))]),
4746
+ off: N(() => [e.row?.items?.lx?.labelOff ? (S(), a("span", Tn, D(e.row?.items?.lx?.labelOff), 1)) : (S(), a("span", En, "Nē"))]),
4747
+ indeterminate: N(() => [e.row?.items?.lx?.labelIndeterminate ? (S(), a("span", Dn, D(e.row?.items?.lx?.labelIndeterminate), 1)) : g(e.row?.items) ? (S(), a("span", On, [...c[98] ||= [o("p", { class: "lx-data" }, "—", -1)]])) : (S(), a("span", kn, "—"))]),
4748
+ _: 1
4749
+ }, 8, [
4607
4750
  "size",
4608
4751
  "disabled",
4609
4752
  "tooltip",
@@ -4611,7 +4754,7 @@ var $ = {
4611
4754
  "texts",
4612
4755
  "modelValue",
4613
4756
  "onUpdate:modelValue"
4614
- ])) : O(e.row?.items, e.name) === "dateTimePicker" ? (S(), r(k(B), {
4757
+ ])) : E(e.row?.items, e.name) === "dateTimePicker" ? (S(), r(k(z), {
4615
4758
  key: 3,
4616
4759
  kind: e.row?.items?.format,
4617
4760
  tooltip: e.row?.items?.lx?.tooltip,
@@ -4628,6 +4771,8 @@ var $ = {
4628
4771
  cadenceOfMinutes: e.row?.items?.lx?.cadenceOfMinutes,
4629
4772
  cadenceOfSeconds: e.row?.items?.lx?.cadenceOfSeconds,
4630
4773
  variant: e.row?.items?.lx?.variant,
4774
+ helperText: e.row?.items?.lx?.helperText,
4775
+ helperTextKind: e.row?.items?.lx?.helperTextKind,
4631
4776
  texts: e.row?.items?.lx?.texts,
4632
4777
  readOnly: g(e.row?.items),
4633
4778
  modelValue: f.value[e.name][t],
@@ -4648,6 +4793,8 @@ var $ = {
4648
4793
  "cadenceOfMinutes",
4649
4794
  "cadenceOfSeconds",
4650
4795
  "variant",
4796
+ "helperText",
4797
+ "helperTextKind",
4651
4798
  "texts",
4652
4799
  "readOnly",
4653
4800
  "modelValue",
@@ -4669,7 +4816,7 @@ var $ = {
4669
4816
  "requiredMode",
4670
4817
  "canAddItems",
4671
4818
  "texts"
4672
- ])) : A.value === "autoComplete" ? (S(), r(k(te), {
4819
+ ])) : O.value === "autoComplete" ? (S(), r(k(ne), {
4673
4820
  key: 14,
4674
4821
  id: `${e.id}-${e.name}`,
4675
4822
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -4699,8 +4846,8 @@ var $ = {
4699
4846
  modelValue: f.value[e.name],
4700
4847
  "onUpdate:modelValue": c[54] ||= (t) => f.value[e.name] = t,
4701
4848
  builderOptions: X.value,
4702
- onOpenDetails: c[55] ||= (t) => M("openDetails", e.name, t)
4703
- }, null, 8, /* @__PURE__ */ "id.items.idAttribute.nameAttribute.dictionary.groupId.queryMinLength.queryMaxLength.queryDebounce.placeholder.tooltip.readOnly.disabled.invalid.invalidation-message.loading.hasDetails.selectionKind.detailMode.preloadedItems.labelId.hasSelectAll.texts.searchAttributes.enableAdditionalText.modelValue.builderOptions".split("."))) : A.value === "button" ? (S(), r(k(I), {
4849
+ onOpenDetails: c[55] ||= (t) => j("openDetails", e.name, t)
4850
+ }, null, 8, /* @__PURE__ */ "id.items.idAttribute.nameAttribute.dictionary.groupId.queryMinLength.queryMaxLength.queryDebounce.placeholder.tooltip.readOnly.disabled.invalid.invalidation-message.loading.hasDetails.selectionKind.detailMode.preloadedItems.labelId.hasSelectAll.texts.searchAttributes.enableAdditionalText.modelValue.builderOptions".split("."))) : O.value === "button" ? (S(), r(k(F), {
4704
4851
  key: 15,
4705
4852
  id: `${e.id}-${e.name}`,
4706
4853
  label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
@@ -4725,7 +4872,7 @@ var $ = {
4725
4872
  tabindex: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.tabindex : e.displaySchema?.properties[e.name]?.lx?.tabindex,
4726
4873
  customClass: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.customClass : e.displaySchema?.properties[e.name]?.lx?.customClass,
4727
4874
  openInNewTab: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.openInNewTab : e.displaySchema?.properties[e.name]?.lx?.openInNewTab,
4728
- onClick: c[56] ||= (t, n) => M("click", e.name, n)
4875
+ onClick: c[56] ||= (t, n) => j("click", e.name, n)
4729
4876
  }, null, 8, [
4730
4877
  "id",
4731
4878
  "label",
@@ -4750,7 +4897,7 @@ var $ = {
4750
4897
  "tabindex",
4751
4898
  "customClass",
4752
4899
  "openInNewTab"
4753
- ])) : A.value === "camera" ? (S(), r(k(L), {
4900
+ ])) : O.value === "camera" ? (S(), r(k(I), {
4754
4901
  key: 16,
4755
4902
  id: `${e.id}-${e.name}`,
4756
4903
  cameraSwitcherMode: e.displaySchema?.properties[e.name]?.lx?.cameraSwitcherMode,
@@ -4764,7 +4911,7 @@ var $ = {
4764
4911
  modelValue: f.value[e.name],
4765
4912
  "onUpdate:modelValue": c[57] ||= (t) => f.value[e.name] = t,
4766
4913
  builderOptions: X.value,
4767
- onActionClick: c[58] ||= (t, n) => M("actionClick", e.name, t, n)
4914
+ onActionClick: c[58] ||= (t, n) => j("actionClick", e.name, t, n)
4768
4915
  }, null, 8, [
4769
4916
  "id",
4770
4917
  "cameraSwitcherMode",
@@ -4777,7 +4924,7 @@ var $ = {
4777
4924
  "texts",
4778
4925
  "modelValue",
4779
4926
  "builderOptions"
4780
- ])) : A.value === "checkbox" ? (S(), r(k(ne), {
4927
+ ])) : O.value === "checkbox" ? (S(), r(k(re), {
4781
4928
  key: 17,
4782
4929
  id: `${e.id}-${e.name}`,
4783
4930
  groupId: e.displaySchema?.properties[e.name]?.lx?.groupId,
@@ -4789,7 +4936,7 @@ var $ = {
4789
4936
  modelValue: f.value[e.name],
4790
4937
  "onUpdate:modelValue": c[59] ||= (t) => f.value[e.name] = t,
4791
4938
  builderOptions: X.value,
4792
- onClick: c[60] ||= () => M("click", e.name)
4939
+ onClick: c[60] ||= () => j("click", e.name)
4793
4940
  }, null, 8, [
4794
4941
  "id",
4795
4942
  "groupId",
@@ -4800,7 +4947,7 @@ var $ = {
4800
4947
  "labelId",
4801
4948
  "modelValue",
4802
4949
  "builderOptions"
4803
- ])) : A.value === "contentSwitcher" ? (S(), r(k(re), {
4950
+ ])) : O.value === "contentSwitcher" ? (S(), r(k(L), {
4804
4951
  key: 18,
4805
4952
  id: `${e.id}-${e.name}`,
4806
4953
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -4830,7 +4977,7 @@ var $ = {
4830
4977
  "labelId",
4831
4978
  "modelValue",
4832
4979
  "builderOptions"
4833
- ])) : A.value === "dataVisualizer" ? (S(), r(k(ie), {
4980
+ ])) : O.value === "dataVisualizer" ? (S(), r(k(R), {
4834
4981
  key: 19,
4835
4982
  id: `${e.id}-${e.name}`,
4836
4983
  kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -4846,7 +4993,7 @@ var $ = {
4846
4993
  maxValue: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.maxValue : e.displaySchema?.properties[e.name]?.lx?.maxValue,
4847
4994
  mode: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.mode : e.displaySchema?.properties[e.name]?.lx?.mode,
4848
4995
  texts: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.texts : e.displaySchema?.properties[e.name]?.lx?.texts,
4849
- onClick: c[62] ||= (t) => M("click", e.name, t)
4996
+ onClick: c[62] ||= (t) => j("click", e.name, t)
4850
4997
  }, null, 8, [
4851
4998
  "id",
4852
4999
  "kind",
@@ -4862,7 +5009,7 @@ var $ = {
4862
5009
  "maxValue",
4863
5010
  "mode",
4864
5011
  "texts"
4865
- ])) : A.value === "dateTimeRange" && f.value[e.name] ? (S(), r(k(V), {
5012
+ ])) : O.value === "dateTimeRange" && f.value[e.name] ? (S(), r(k(oe), {
4866
5013
  key: 20,
4867
5014
  id: `${e.id}-${e.name}`,
4868
5015
  startDate: f.value[e.name].startDate,
@@ -4879,6 +5026,8 @@ var $ = {
4879
5026
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
4880
5027
  invalid: J.value,
4881
5028
  "invalidation-message": Y.value,
5029
+ helperText: e.displaySchema?.properties[e.name]?.lx?.helperText,
5030
+ helperTextKind: e.displaySchema?.properties[e.name]?.lx?.helperTextKind,
4882
5031
  timeAdjust: e.displaySchema?.properties[e.name]?.lx?.timeAdjust,
4883
5032
  locale: e.displaySchema?.properties[e.name]?.lx?.locale,
4884
5033
  rangeMonths: e.displaySchema?.properties[e.name]?.lx?.rangeMonths,
@@ -4886,9 +5035,9 @@ var $ = {
4886
5035
  labelId: e.displaySchema?.properties[e.name]?.lx?.labelId,
4887
5036
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
4888
5037
  builderOptions: X.value,
4889
- "onOutOfRange:startDate": c[65] ||= (t) => M("outOfRange:startDate", e.name, t),
4890
- "onOutOfRange:endDate": c[66] ||= (t) => M("outOfRange:endDate", e.name, t),
4891
- onOutOfRange: c[67] ||= (t) => M("outOfRange", e.name, t)
5038
+ "onOutOfRange:startDate": c[65] ||= (t) => j("outOfRange:startDate", e.name, t),
5039
+ "onOutOfRange:endDate": c[66] ||= (t) => j("outOfRange:endDate", e.name, t),
5040
+ onOutOfRange: c[67] ||= (t) => j("outOfRange", e.name, t)
4892
5041
  }, null, 8, [
4893
5042
  "id",
4894
5043
  "startDate",
@@ -4903,6 +5052,8 @@ var $ = {
4903
5052
  "disabled",
4904
5053
  "invalid",
4905
5054
  "invalidation-message",
5055
+ "helperText",
5056
+ "helperTextKind",
4906
5057
  "timeAdjust",
4907
5058
  "locale",
4908
5059
  "rangeMonths",
@@ -4910,7 +5061,7 @@ var $ = {
4910
5061
  "labelId",
4911
5062
  "texts",
4912
5063
  "builderOptions"
4913
- ])) : A.value === "dropDownMenu" ? (S(), r(k(ce), {
5064
+ ])) : O.value === "dropDownMenu" ? (S(), r(k(ue), {
4914
5065
  key: 21,
4915
5066
  placement: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.placement : e.displaySchema?.properties[e.name]?.lx?.placement,
4916
5067
  disabled: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.disabled : e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -4918,9 +5069,9 @@ var $ = {
4918
5069
  offsetSkid: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.offsetSkid : e.displaySchema?.properties[e.name]?.lx?.offsetSkid,
4919
5070
  actionDefinitions: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.actionDefinitions : e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
4920
5071
  groupDefinitions: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.groupDefinitions : e.displaySchema?.properties[e.name]?.lx?.groupDefinitions,
4921
- onActionClick: c[68] ||= (t, n) => M("actionClick", e.name, t, n)
5072
+ onActionClick: c[68] ||= (t, n) => j("actionClick", e.name, t, n)
4922
5073
  }, {
4923
- panel: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (S(), r(k(I), {
5074
+ panel: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (S(), r(k(F), {
4924
5075
  key: n,
4925
5076
  label: t?.label,
4926
5077
  title: t?.title,
@@ -4942,7 +5093,7 @@ var $ = {
4942
5093
  tabindex: t?.tabindex,
4943
5094
  customClass: t?.customClass,
4944
5095
  openInNewTab: t?.openInNewTab,
4945
- onClick: () => M("click", `${e.name}.${n}`, t?.id || t?.label)
5096
+ onClick: () => j("click", `${e.name}.${n}`, t?.id || t?.label)
4946
5097
  }, null, 8, [
4947
5098
  "label",
4948
5099
  "title",
@@ -4966,7 +5117,7 @@ var $ = {
4966
5117
  "openInNewTab",
4967
5118
  "onClick"
4968
5119
  ]))), 128))]),
4969
- default: N(() => [l(k(I), {
5120
+ default: N(() => [l(k(F), {
4970
5121
  id: `${e.id}-${e.name}`,
4971
5122
  label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
4972
5123
  title: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.title : e.displaySchema?.properties[e.name]?.lx?.title,
@@ -5018,7 +5169,7 @@ var $ = {
5018
5169
  "offsetSkid",
5019
5170
  "actionDefinitions",
5020
5171
  "groupDefinitions"
5021
- ])) : A.value === "file" ? (S(), r(k(de), {
5172
+ ])) : O.value === "file" ? (S(), r(k(pe), {
5022
5173
  key: 22,
5023
5174
  id: `${e.id}-${e.name}`,
5024
5175
  selectionKind: e.displaySchema?.properties[e.name]?.lx?.selectionKind,
@@ -5047,10 +5198,10 @@ var $ = {
5047
5198
  modelValue: f.value[e.name],
5048
5199
  "onUpdate:modelValue": c[69] ||= (t) => f.value[e.name] = t,
5049
5200
  builderOptions: X.value,
5050
- onOnError: c[70] ||= (t, n) => M("onError", e.name, t, n),
5051
- onDownloadFile: c[71] ||= (t) => M("downloadFile", e.name, t),
5052
- "onUpdate:itemsStates": c[72] ||= (t) => M("update:itemsStates", e.name, t)
5053
- }, null, 8, /* @__PURE__ */ "id.selectionKind.mode.maxlength.draggable.dataType.hasSearch.disabled.loading.busy.readOnly.allowedFileExtensions.maxFileSize.hasDownloadButton.showMeta.maxSizeForMeta.hasCamera.cameraSwitcherMode.hasFlashlightToggle.itemsStates.imageSize.preferencesId.labelId.texts.modelValue.builderOptions".split("."))) : A.value === "fileViewer" ? (S(), r(k(fe), {
5201
+ onOnError: c[70] ||= (t, n) => j("onError", e.name, t, n),
5202
+ onDownloadFile: c[71] ||= (t) => j("downloadFile", e.name, t),
5203
+ "onUpdate:itemsStates": c[72] ||= (t) => j("update:itemsStates", e.name, t)
5204
+ }, null, 8, /* @__PURE__ */ "id.selectionKind.mode.maxlength.draggable.dataType.hasSearch.disabled.loading.busy.readOnly.allowedFileExtensions.maxFileSize.hasDownloadButton.showMeta.maxSizeForMeta.hasCamera.cameraSwitcherMode.hasFlashlightToggle.itemsStates.imageSize.preferencesId.labelId.texts.modelValue.builderOptions".split("."))) : O.value === "fileViewer" ? (S(), r(k(me), {
5054
5205
  key: 23,
5055
5206
  id: `${e.id}-${e.name}`,
5056
5207
  scrollable: e.displaySchema?.properties[e.name]?.lx?.scrollable,
@@ -5066,7 +5217,7 @@ var $ = {
5066
5217
  preloadLibs: e.displaySchema?.properties[e.name]?.lx?.preloadLibs,
5067
5218
  modelValue: f.value[e.name],
5068
5219
  "onUpdate:modelValue": c[73] ||= (t) => f.value[e.name] = t,
5069
- onDownload: c[74] ||= (t) => M("download", e.name, t)
5220
+ onDownload: c[74] ||= (t) => j("download", e.name, t)
5070
5221
  }, null, 8, [
5071
5222
  "id",
5072
5223
  "scrollable",
@@ -5081,7 +5232,7 @@ var $ = {
5081
5232
  "downloadType",
5082
5233
  "preloadLibs",
5083
5234
  "modelValue"
5084
- ])) : A.value === "flag" ? (S(), r(k(me), {
5235
+ ])) : O.value === "flag" ? (S(), r(k(ge), {
5085
5236
  key: 24,
5086
5237
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5087
5238
  size: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.size : e.displaySchema?.properties[e.name]?.lx?.size,
@@ -5094,7 +5245,7 @@ var $ = {
5094
5245
  "title",
5095
5246
  "locale",
5096
5247
  "meaningful"
5097
- ])) : A.value === "icon" ? (S(), r(k(he), {
5248
+ ])) : O.value === "icon" ? (S(), r(k(_e), {
5098
5249
  key: 25,
5099
5250
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5100
5251
  iconSet: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.iconSet : e.displaySchema?.properties[e.name]?.lx?.iconSet,
@@ -5115,7 +5266,7 @@ var $ = {
5115
5266
  "title",
5116
5267
  "desc",
5117
5268
  "texts"
5118
- ])) : A.value === "illustration" ? (S(), r(k(ge), {
5269
+ ])) : O.value === "illustration" ? (S(), r(k(ve), {
5119
5270
  key: 26,
5120
5271
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5121
5272
  class: _(e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.class : e.displaySchema?.properties[e.name]?.lx?.class),
@@ -5124,10 +5275,10 @@ var $ = {
5124
5275
  "value",
5125
5276
  "class",
5126
5277
  "animation"
5127
- ])) : A.value === "link" ? (S(), r(k(_e), {
5278
+ ])) : O.value === "link" ? (S(), r(k(ye), {
5128
5279
  key: 27,
5129
5280
  href: f.value?.[e.name]?.href || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.href
5130
- }, null, 8, ["href"])) : A.value === "map" ? (S(), r(k(xe), {
5281
+ }, null, 8, ["href"])) : O.value === "map" ? (S(), r(k(Ce), {
5131
5282
  key: 28,
5132
5283
  id: `${e.id}-${e.name}`,
5133
5284
  baseLayerDefinitions: f.value[e.name].baseLayerDefinitions,
@@ -5148,8 +5299,8 @@ var $ = {
5148
5299
  actionDefinitions: f.value[e.name].actionDefinitions,
5149
5300
  stickyToolbar: f.value[e.name].stickyToolbar,
5150
5301
  texts: f.value[e.name].texts,
5151
- onSearch: c[79] ||= (t) => M("search", e.name, t),
5152
- onActionClick: c[80] ||= (t, n) => M("actionClick", e.name, t, n)
5302
+ onSearch: c[79] ||= (t) => j("search", e.name, t),
5303
+ onActionClick: c[80] ||= (t, n) => j("actionClick", e.name, t, n)
5153
5304
  }, null, 8, [
5154
5305
  "id",
5155
5306
  "baseLayerDefinitions",
@@ -5166,7 +5317,7 @@ var $ = {
5166
5317
  "actionDefinitions",
5167
5318
  "stickyToolbar",
5168
5319
  "texts"
5169
- ])) : A.value === "markdownTextArea" ? (S(), r(k(Se), {
5320
+ ])) : O.value === "markdownTextArea" ? (S(), r(k(we), {
5170
5321
  key: 29,
5171
5322
  id: `${e.id}-${e.name}`,
5172
5323
  placeholder: h(e.displaySchema?.properties[e.name]),
@@ -5188,18 +5339,20 @@ var $ = {
5188
5339
  labelId: e.displaySchema?.properties[e.name]?.lx?.labelId,
5189
5340
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
5190
5341
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
5342
+ helperText: e.displaySchema?.properties[e.name]?.lx?.helperText,
5343
+ helperTextKind: e.displaySchema?.properties[e.name]?.lx?.helperTextKind,
5191
5344
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
5192
5345
  modelValue: f.value[e.name],
5193
5346
  "onUpdate:modelValue": c[81] ||= (t) => f.value[e.name] = t,
5194
5347
  builderOptions: X.value,
5195
- onNotification: c[82] ||= (t) => M("notification", e.name, t),
5196
- onPreparedImage: c[83] ||= (t, n, r, i) => M("preparedImage", e.name, {
5348
+ onNotification: c[82] ||= (t) => j("notification", e.name, t),
5349
+ onPreparedImage: c[83] ||= (t, n, r, i) => j("preparedImage", e.name, {
5197
5350
  base64: t,
5198
5351
  id: n,
5199
5352
  alt: r,
5200
5353
  title: i
5201
5354
  }),
5202
- onActionClick: c[84] ||= (t, n) => M("actionClick", e.name, t, n)
5355
+ onActionClick: c[84] ||= (t, n) => j("actionClick", e.name, t, n)
5203
5356
  }, null, 8, [
5204
5357
  "id",
5205
5358
  "placeholder",
@@ -5221,10 +5374,12 @@ var $ = {
5221
5374
  "labelId",
5222
5375
  "stickyToolbar",
5223
5376
  "actionDefinitions",
5377
+ "helperText",
5378
+ "helperTextKind",
5224
5379
  "texts",
5225
5380
  "modelValue",
5226
5381
  "builderOptions"
5227
- ])) : A.value === "numberSlider" ? (S(), r(k(we), {
5382
+ ])) : O.value === "numberSlider" ? (S(), r(k(V), {
5228
5383
  key: 30,
5229
5384
  id: `${e.id}-${e.name}`,
5230
5385
  min: e.displaySchema?.properties[e.name]?.lx?.min,
@@ -5256,7 +5411,7 @@ var $ = {
5256
5411
  "texts",
5257
5412
  "modelValue",
5258
5413
  "builderOptions"
5259
- ])) : A.value === "personDisplay" ? (S(), r(k(U), {
5414
+ ])) : O.value === "personDisplay" ? (S(), r(k(H), {
5260
5415
  key: 31,
5261
5416
  value: f.value?.[e.name],
5262
5417
  name: e.displaySchema?.properties[e.name]?.lx?.name,
@@ -5307,7 +5462,7 @@ var $ = {
5307
5462
  "customRole",
5308
5463
  "focusable",
5309
5464
  "texts"
5310
- ])) : A.value === "qr" ? (S(), r(k(Ee), {
5465
+ ])) : O.value === "qr" ? (S(), r(k(Ee), {
5311
5466
  key: 32,
5312
5467
  id: `${e.id}-${e.name}`,
5313
5468
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
@@ -5318,7 +5473,7 @@ var $ = {
5318
5473
  "value",
5319
5474
  "size",
5320
5475
  "ignoreTheme"
5321
- ])) : A.value === "qrScanner" ? (S(), r(k(De), {
5476
+ ])) : O.value === "qrScanner" ? (S(), r(k(De), {
5322
5477
  key: 33,
5323
5478
  id: `${e.id}-${e.name}`,
5324
5479
  formats: f.value?.[e.name]?.formats || e.displaySchema?.properties[e.name]?.lx?.formats,
@@ -5332,9 +5487,9 @@ var $ = {
5332
5487
  actionDefinitions: f.value?.[e.name]?.actionDefinitions || e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
5333
5488
  texts: f.value?.[e.name]?.texts || e.displaySchema?.properties[e.name]?.lx?.texts,
5334
5489
  builderOptions: X.value,
5335
- onValue: c[86] ||= (t) => M("value", e.name, t),
5336
- onError: c[87] ||= (t) => M("error", e.name, t),
5337
- onActionClick: c[88] ||= (t, n) => M("actionClick", e.name, t, n)
5490
+ onValue: c[86] ||= (t) => j("value", e.name, t),
5491
+ onError: c[87] ||= (t) => j("error", e.name, t),
5492
+ onActionClick: c[88] ||= (t, n) => j("actionClick", e.name, t, n)
5338
5493
  }, null, 8, [
5339
5494
  "id",
5340
5495
  "formats",
@@ -5348,7 +5503,7 @@ var $ = {
5348
5503
  "actionDefinitions",
5349
5504
  "texts",
5350
5505
  "builderOptions"
5351
- ])) : A.value === "rating" ? (S(), r(k(Oe), {
5506
+ ])) : O.value === "rating" ? (S(), r(k(Oe), {
5352
5507
  key: 34,
5353
5508
  readOnly: g(e.displaySchema?.properties[e.name]),
5354
5509
  kind: e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5370,7 +5525,7 @@ var $ = {
5370
5525
  "invalidationMessage",
5371
5526
  "texts",
5372
5527
  "modelValue"
5373
- ])) : A.value === "richTextDisplay" ? (S(), r(k(ke), {
5528
+ ])) : O.value === "richTextDisplay" ? (S(), r(k(ke), {
5374
5529
  key: 35,
5375
5530
  id: `${e.id}-${e.name}`,
5376
5531
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
@@ -5379,11 +5534,11 @@ var $ = {
5379
5534
  "id",
5380
5535
  "value",
5381
5536
  "loading"
5382
- ])) : A.value === "stateDisplay" ? (S(), r(k(je), {
5537
+ ])) : O.value === "stateDisplay" ? (S(), r(k(je), {
5383
5538
  key: 36,
5384
5539
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5385
5540
  dictionary: e.displaySchema?.properties[e.name]?.type === "object" ? f.value?.[e.name]?.dictionary : e.displaySchema?.properties[e.name]?.lx?.dictionary
5386
- }, null, 8, ["value", "dictionary"])) : A.value === "steps" ? (S(), r(k(Me), {
5541
+ }, null, 8, ["value", "dictionary"])) : O.value === "steps" ? (S(), r(k(Me), {
5387
5542
  key: 37,
5388
5543
  id: `${e.id}-${e.name}`,
5389
5544
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -5409,7 +5564,7 @@ var $ = {
5409
5564
  "busy",
5410
5565
  "disabled",
5411
5566
  "modelValue"
5412
- ])) : A.value === "visualPicker" ? (S(), r(k(Re), {
5567
+ ])) : O.value === "visualPicker" ? (S(), r(k(Re), {
5413
5568
  key: 38,
5414
5569
  id: `${e.id}-${e.name}`,
5415
5570
  kind: e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5431,7 +5586,7 @@ var $ = {
5431
5586
  "texts",
5432
5587
  "modelValue",
5433
5588
  "builderOptions"
5434
- ])) : A.value === "dayInput" ? (S(), r(k(ae), {
5589
+ ])) : O.value === "dayInput" ? (S(), r(k(se), {
5435
5590
  key: 39,
5436
5591
  id: `${e.id}-${e.name}`,
5437
5592
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5457,7 +5612,7 @@ var $ = {
5457
5612
  "texts",
5458
5613
  "modelValue",
5459
5614
  "builderOptions"
5460
- ])) : A.value === "drawPad" ? (S(), r(k(se), {
5615
+ ])) : O.value === "drawPad" ? (S(), r(k(le), {
5461
5616
  key: 40,
5462
5617
  id: `${e.id}-${e.name}`,
5463
5618
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5475,9 +5630,9 @@ var $ = {
5475
5630
  modelValue: f.value[e.name],
5476
5631
  "onUpdate:modelValue": c[93] ||= (t) => f.value[e.name] = t,
5477
5632
  builderOptions: X.value,
5478
- onActionClick: c[94] ||= (t, n) => M("actionClick", e.name, t, n),
5479
- "onUpdate:instrument": c[95] ||= (t) => M("update:instrument", e.name, t),
5480
- "onUpdate:color": c[96] ||= (t) => M("update:color", e.name, t)
5633
+ onActionClick: c[94] ||= (t, n) => j("actionClick", e.name, t, n),
5634
+ "onUpdate:instrument": c[95] ||= (t) => j("update:instrument", e.name, t),
5635
+ "onUpdate:color": c[96] ||= (t) => j("update:color", e.name, t)
5481
5636
  }, null, 8, [
5482
5637
  "id",
5483
5638
  "disabled",
@@ -5494,7 +5649,7 @@ var $ = {
5494
5649
  "texts",
5495
5650
  "modelValue",
5496
5651
  "builderOptions"
5497
- ])) : A.value === "logoDisplay" ? (S(), r(k(be), {
5652
+ ])) : O.value === "logoDisplay" ? (S(), r(k(Se), {
5498
5653
  key: 41,
5499
5654
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5500
5655
  kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5505,14 +5660,14 @@ var $ = {
5505
5660
  "kind",
5506
5661
  "size",
5507
5662
  "theme"
5508
- ])) : A.value === "text" ? (S(), a("p", kn, D(f.value[e.name]), 1)) : i("", !0);
5663
+ ])) : O.value === "text" ? (S(), a("p", An, D(f.value[e.name]), 1)) : i("", !0);
5509
5664
  }
5510
- }, jn = {
5665
+ }, Mn = {
5511
5666
  __name: "FormBuilder",
5512
5667
  props: {
5513
5668
  id: {
5514
5669
  type: String,
5515
- default: () => Y.generateUUID()
5670
+ default: () => He.generateUUID()
5516
5671
  },
5517
5672
  modelValue: {
5518
5673
  type: Object,
@@ -5573,7 +5728,7 @@ var $ = {
5573
5728
  deleteElement: "Dzēst elementu",
5574
5729
  saveElement: "Pievienot elementu sarakstam",
5575
5730
  addObject: "Pievienot objektu"
5576
- }, f = n(() => He.getDisplayTexts(u.texts, d)), p = l, m = n({
5731
+ }, f = n(() => J.getDisplayTexts(u.texts, d)), p = l, m = n({
5577
5732
  get() {
5578
5733
  return u.modelValue ? u.modelValue : {};
5579
5734
  },
@@ -5593,50 +5748,47 @@ var $ = {
5593
5748
  return !0;
5594
5749
  });
5595
5750
  function _(e) {
5596
- return e?.format !== "date" && e?.format !== "time" && e?.format !== "date-time" && e?.format !== "year" && e?.format !== "month" && e?.format !== "month-year" && e?.format !== "quarters";
5751
+ return e?.type === "string" && e?.lx?.kind !== "multiline" && !e?.lx?.variant && !ln(e?.format) && !e?.enum || e?.type === "number" && !e?.lx?.variant && !ln(e?.format) && !e?.enum ? "textInputDefault" : e?.type === "string" && e?.lx?.kind === "multiline" ? "textArea" : e?.type === "string" && ln(e?.format) ? "dateTimePicker" : "";
5597
5752
  }
5598
5753
  function v(e) {
5599
- return e?.type === "string" && e?.lx?.kind !== "multiline" && !e?.lx?.variant && _(e) && !e?.enum || e?.type === "number" && !e?.lx?.variant && _(e) && !e?.enum ? "textInputDefault" : e?.type === "string" && e?.lx?.kind === "multiline" ? "textArea" : e?.type === "string" && !_(e) ? "dateTimePicker" : "";
5600
- }
5601
- function y(e) {
5602
5754
  return e?.type === "array" && e?.lx?.displayType === "list" ? "arrayList" : e?.type === "array" && e?.lx?.displayType === "listModal" ? "arrayListModal" : e?.type === "array" && e?.lx?.displayType === "table" ? "arrayTable" : e?.type === "array" && e?.lx?.displayType === "tableModal" ? "arrayTableModal" : Array.isArray(e?.lx?.items) || e?.enum ? "valuePicker" : e?.items?.properties && e?.type === "array" ? "appendableList" : e?.type === "array" && e?.items?.type !== "object" && e?.items ? "smallAppendableList" : "";
5603
5755
  }
5604
- function x(e, t) {
5756
+ function y(e, t) {
5605
5757
  return e?.lx?.displayType === "map" && e?.type === "object" ? "map" : e?.type === "object" && m.value?.[t] !== void 0 && m.value?.[t] !== null && e?.lx?.displayType === "modal" ? "objectList" : e?.type === "object" && !m.value?.[t] && e?.lx?.displayType === "modal" ? "objectButton" : e?.type === "object" && m.value?.[t] !== void 0 && m.value?.[t] !== null ? "dataBlock" : "";
5606
5758
  }
5607
- function T(e) {
5759
+ function x(e) {
5608
5760
  return an(e);
5609
5761
  }
5610
- function E(e) {
5611
- return v(e) || null;
5762
+ function T(e) {
5763
+ return _(e) || null;
5612
5764
  }
5613
- function O(e) {
5765
+ function E(e) {
5614
5766
  return e?.type === "string" && (e?.lx?.variant || e?.enum) || e?.type === "array";
5615
5767
  }
5616
- function A(e) {
5617
- let t = y(e);
5768
+ function O(e) {
5769
+ let t = v(e);
5618
5770
  return t === "" ? null : t;
5619
5771
  }
5620
- function M(e, t) {
5621
- let n = x(e, t);
5772
+ function A(e, t) {
5773
+ let n = y(e, t);
5622
5774
  return n === "" ? null : n;
5623
5775
  }
5624
- function P(e) {
5776
+ function M(e) {
5625
5777
  e && Ve.log(`Property '${e}' couldn't be rendered`, Qe().getGlobals()?.environment, "warn");
5626
5778
  }
5627
- function F(e, t) {
5779
+ function P(e, t) {
5628
5780
  if (e?.lx?.wrapper === "placeholder") return "lxPlaceholder";
5629
- let n = T(e);
5781
+ let n = x(e);
5630
5782
  if (n) return n;
5631
- let r = E(e);
5783
+ let r = T(e);
5632
5784
  if (r) return r;
5633
5785
  if (e?.type === "integer") return "textInputInteger";
5634
5786
  if (e?.type === "boolean") return "toggle";
5635
- if (O(e)) {
5636
- let t = A(e);
5787
+ if (E(e)) {
5788
+ let t = O(e);
5637
5789
  if (t) return t;
5638
5790
  }
5639
- return M(e, t) || (P(t), "lxPlaceholder");
5791
+ return A(e, t) || (M(t), "lxPlaceholder");
5640
5792
  }
5641
5793
  function ee() {
5642
5794
  let e = { ...u.modelValue };
@@ -5663,7 +5815,7 @@ var $ = {
5663
5815
  n !== "_lx_appendableKey" && (typeof r == "string" ? e.properties[t].items.properties[n] = { type: "string" } : typeof r == "boolean" && (e.properties[t].items.properties[n] = { type: "boolean" }));
5664
5816
  })) : e.properties[t] = { lx: { wrapper: "placeholder" } };
5665
5817
  }), e;
5666
- }), I = n(() => {
5818
+ }), ne = n(() => {
5667
5819
  let e = q.objectClone(te.value);
5668
5820
  if (u.mode === "mixed") try {
5669
5821
  return u.schema?.hasOwnProperty("required") && (e.required = u.schema?.required), Object.entries(te.value?.properties)?.forEach(([t]) => {
@@ -5675,18 +5827,18 @@ var $ = {
5675
5827
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
5676
5828
  }
5677
5829
  return e;
5678
- }), L = n(() => {
5830
+ }), F = n(() => {
5679
5831
  try {
5680
5832
  if (u.mode === "no-schema") return te.value;
5681
- if (u.mode === "mixed") return I.value;
5833
+ if (u.mode === "mixed") return ne.value;
5682
5834
  } catch (e) {
5683
5835
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
5684
5836
  }
5685
5837
  return u.schema;
5686
- }), ne = n(() => {
5838
+ }), I = n(() => {
5687
5839
  if (u.mode === "no-schema") return te.value?.properties;
5688
- if (L.value?.properties) {
5689
- let e = q.objectClone(L.value?.properties), t = Object.entries(e).sort((e, t) => (e[1]?.lx?.order ? e[1].lx.order : 1e3) - (t[1]?.lx?.order ? t[1].lx.order : 1e3));
5840
+ if (F.value?.properties) {
5841
+ let e = q.objectClone(F.value?.properties), t = Object.entries(e).sort((e, t) => (e[1]?.lx?.order ? e[1].lx.order : 1e3) - (t[1]?.lx?.order ? t[1].lx.order : 1e3));
5690
5842
  return Object.fromEntries(t);
5691
5843
  }
5692
5844
  return {};
@@ -5694,124 +5846,124 @@ var $ = {
5694
5846
  function re(e, t, n = void 0, r = void 0) {
5695
5847
  p("emit", e, t, n, r);
5696
5848
  }
5697
- function R(e, t) {
5849
+ function L(e, t) {
5698
5850
  return e.replace("{0}", t);
5699
5851
  }
5700
- function z(e, t, n, r) {
5852
+ function ie(e, t, n, r) {
5701
5853
  p("rowActionClick", e, t, n, r);
5702
5854
  }
5703
- function ie(e) {
5855
+ function ae(e) {
5704
5856
  return e === "number" || e === "integer";
5705
5857
  }
5706
- function B(e, t) {
5858
+ function R(e, t) {
5707
5859
  return e[t] || (e[t] = {}), e[t];
5708
5860
  }
5709
- function V(e, t, n, r) {
5710
- B(e, t)[n] = r;
5861
+ function z(e, t, n, r) {
5862
+ R(e, t)[n] = r;
5711
5863
  }
5712
- function ae(e, t) {
5864
+ function oe(e, t) {
5713
5865
  e?.required?.forEach((e) => {
5714
- V(t, e, "required", Q.withMessage(() => f.value.required, Zt));
5866
+ z(t, e, "required", Q.withMessage(() => f.value.required, Zt));
5715
5867
  });
5716
5868
  }
5717
- function oe(e) {
5869
+ function se(e) {
5718
5870
  return Q.withParams({
5719
5871
  type: "exclusiveMinimum",
5720
5872
  value: e
5721
5873
  }, (t) => t > e);
5722
5874
  }
5723
- function se(e) {
5875
+ function ce(e) {
5724
5876
  return Q.withParams({
5725
5877
  type: "exclusiveMaximum",
5726
5878
  value: e
5727
5879
  }, (t) => t < e);
5728
5880
  }
5729
- function ce(e) {
5881
+ function le(e) {
5730
5882
  return Q.withParams({
5731
5883
  type: "multipleOf",
5732
5884
  value: e
5733
5885
  }, (t) => t % e === 0);
5734
5886
  }
5735
- function le(e) {
5887
+ function ue(e) {
5736
5888
  return Q.withParams({
5737
5889
  type: "pattern",
5738
5890
  value: e
5739
5891
  }, (t) => new RegExp(e).test(t));
5740
5892
  }
5741
- function ue(e, t, n) {
5742
- ie(n?.type) && (n?.minimum !== void 0 && V(e, t, "minValue", Q.withMessage(({ $params: e }) => R(f.value.minimum, e.min), $t(n.minimum))), n?.exclusiveMinimum !== void 0 && V(e, t, "exclusiveMinimum", Q.withMessage(() => R(f.value.exclusiveMinimum, n.exclusiveMinimum), oe(n.exclusiveMinimum))), n?.maximum !== void 0 && V(e, t, "maxValue", Q.withMessage(({ $params: e }) => R(f.value.maximum, e.max), tn(n.maximum))), n?.exclusiveMaximum !== void 0 && V(e, t, "exclusiveMaximum", Q.withMessage(() => R(f.value.exclusiveMaximum, n.exclusiveMaximum), se(n.exclusiveMaximum))), n?.multipleOf !== void 0 && V(e, t, "multipleOf", Q.withMessage(() => R(f.value.multipleOf, n.multipleOf), ce(n.multipleOf))));
5743
- }
5744
5893
  function de(e, t, n) {
5745
- n?.type === "string" && (n?.minLength !== void 0 && V(e, t, "minLength", Q.withMessage(({ $params: e }) => R(f.value.minLength, e.min), Yt(n.minLength))), n?.maxLength !== void 0 && V(e, t, "maxLength", Q.withMessage(({ $params: e }) => R(f.value.maxLength, e.max), qt(n.maxLength))), n?.pattern && V(e, t, "pattern", Q.withMessage(() => R(f.value.pattern, n.pattern), le(n.pattern))));
5894
+ ae(n?.type) && (n?.minimum !== void 0 && z(e, t, "minValue", Q.withMessage(({ $params: e }) => L(f.value.minimum, e.min), $t(n.minimum))), n?.exclusiveMinimum !== void 0 && z(e, t, "exclusiveMinimum", Q.withMessage(() => L(f.value.exclusiveMinimum, n.exclusiveMinimum), se(n.exclusiveMinimum))), n?.maximum !== void 0 && z(e, t, "maxValue", Q.withMessage(({ $params: e }) => L(f.value.maximum, e.max), tn(n.maximum))), n?.exclusiveMaximum !== void 0 && z(e, t, "exclusiveMaximum", Q.withMessage(() => L(f.value.exclusiveMaximum, n.exclusiveMaximum), ce(n.exclusiveMaximum))), n?.multipleOf !== void 0 && z(e, t, "multipleOf", Q.withMessage(() => L(f.value.multipleOf, n.multipleOf), le(n.multipleOf))));
5746
5895
  }
5747
- function fe(e) {
5748
- return new Set(e)?.size === e?.length;
5896
+ function fe(e, t, n) {
5897
+ n?.type === "string" && (n?.minLength !== void 0 && z(e, t, "minLength", Q.withMessage(({ $params: e }) => L(f.value.minLength, e.min), Yt(n.minLength))), n?.maxLength !== void 0 && z(e, t, "maxLength", Q.withMessage(({ $params: e }) => L(f.value.maxLength, e.max), qt(n.maxLength))), n?.pattern && z(e, t, "pattern", Q.withMessage(() => L(f.value.pattern, n.pattern), ue(n.pattern))));
5749
5898
  }
5750
- function pe(e, t, n) {
5751
- n?.type === "array" && (n?.minItems !== void 0 && V(e, t, "minItems", Q.withMessage(({ $params: e }) => R(f.value.minItems, e.min), Yt(n.minItems))), n?.maxItems !== void 0 && V(e, t, "maxItems", Q.withMessage(({ $params: e }) => R(f.value.maxItems, e.max), qt(n.maxItems))), n?.uniqueItems && V(e, t, "uniqueItems", Q.withMessage(() => f.value.uniqueItems, fe)));
5899
+ function pe(e) {
5900
+ return new Set(e)?.size === e?.length;
5752
5901
  }
5753
5902
  function me(e, t, n) {
5754
- ue(e, t, n), de(e, t, n), pe(e, t, n);
5903
+ n?.type === "array" && (n?.minItems !== void 0 && z(e, t, "minItems", Q.withMessage(({ $params: e }) => L(f.value.minItems, e.min), Yt(n.minItems))), n?.maxItems !== void 0 && z(e, t, "maxItems", Q.withMessage(({ $params: e }) => L(f.value.maxItems, e.max), qt(n.maxItems))), n?.uniqueItems && z(e, t, "uniqueItems", Q.withMessage(() => f.value.uniqueItems, pe)));
5755
5904
  }
5756
- function H(e, t, n) {
5905
+ function he(e, t, n) {
5906
+ de(e, t, n), fe(e, t, n), me(e, t, n);
5907
+ }
5908
+ function ge(e, t, n) {
5757
5909
  e?.properties && Object.entries(e.properties).forEach(([e, r]) => {
5758
5910
  if (r?.type === "object" && r?.properties) {
5759
5911
  t[e] = n(r);
5760
5912
  return;
5761
5913
  }
5762
- me(t, e, r);
5914
+ he(t, e, r);
5763
5915
  });
5764
5916
  }
5765
- function he(e) {
5917
+ function B(e) {
5766
5918
  return Q.withParams({
5767
5919
  type: "minProperties",
5768
5920
  value: e
5769
5921
  }, (t) => Object.keys(t).length >= e);
5770
5922
  }
5771
- function ge(e) {
5923
+ function _e(e) {
5772
5924
  return Q.withParams({
5773
5925
  type: "maxProperties",
5774
5926
  value: e
5775
5927
  }, (t) => Object.keys(t).length <= e);
5776
5928
  }
5777
- function _e(e, t) {
5778
- e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() => R(f.value.minProperties, e.minProperties), he(e.minProperties))), e?.maxProperties !== void 0 && e?.type === "object" && (t.maxProperties = Q.withMessage(() => R(f.value.maxProperties, e.maxProperties), ge(e.maxProperties)));
5929
+ function ve(e, t) {
5930
+ e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() => L(f.value.minProperties, e.minProperties), B(e.minProperties))), e?.maxProperties !== void 0 && e?.type === "object" && (t.maxProperties = Q.withMessage(() => L(f.value.maxProperties, e.maxProperties), _e(e.maxProperties)));
5779
5931
  }
5780
- function ve(e) {
5932
+ function ye(e) {
5781
5933
  let t = {};
5782
- return ae(e, t), H(e, t, ve), _e(e, t), t;
5934
+ return oe(e, t), ge(e, t, ye), ve(e, t), t;
5783
5935
  }
5784
- let ye = n(() => u.schema ? { modelClone: ve(u.schema) } : { modelClone: {} }), be = C();
5785
- function xe() {
5936
+ let be = n(() => u.schema ? { modelClone: ye(u.schema) } : { modelClone: {} }), xe = C();
5937
+ function Se() {
5786
5938
  let e = [];
5787
- return u.mode !== "no-schema" && (be.value = At(ye, { modelClone: q.objectClone(m.value) }, { $autoDirty: !0 }), be.value.value.modelClone.$touch(), (be.value.value?.$errors)?.forEach((t) => {
5939
+ return u.mode !== "no-schema" && (xe.value = At(be, { modelClone: q.objectClone(m.value) }, { $autoDirty: !0 }), xe.value.value.modelClone.$touch(), (xe.value.value?.$errors)?.forEach((t) => {
5788
5940
  let n = {};
5789
5941
  n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
5790
5942
  })), e;
5791
5943
  }
5792
- function Se() {
5793
- be.value.value.modelClone.$reset();
5944
+ function Ce() {
5945
+ xe.value.value.modelClone.$reset();
5794
5946
  }
5795
5947
  return j(() => u.schema, () => {
5796
5948
  u.mode !== "no-schema" && u.mode !== "view-builder" && ee();
5797
5949
  }), b(() => {
5798
5950
  u.mode !== "no-schema" && u.mode !== "view-builder" && ee();
5799
5951
  }), o({
5800
- validateModel: xe,
5801
- clearValidations: Se,
5802
- componentSelect: F
5803
- }), (n, o) => g.value ? (S(!0), a(t, { key: 0 }, w(ne.value, (n, l) => (S(), a(t, { key: l }, [F(n, l) === "lxPlaceholder" ? (S(), r(k(Te), {
5952
+ validateModel: Se,
5953
+ clearValidations: Ce,
5954
+ componentSelect: P
5955
+ }), (n, o) => g.value ? (S(!0), a(t, { key: 0 }, w(I.value, (n, l) => (S(), a(t, { key: l }, [P(n, l) === "lxPlaceholder" ? (S(), r(k(U), {
5804
5956
  key: 0,
5805
5957
  class: "lx-placeholder"
5806
5958
  })) : n?.lx?.displayType === "section" ? i("", !0) : (S(), r(k(W), {
5807
5959
  key: 1,
5808
- label: L.value?.properties[l]?.title ? L.value?.properties[l]?.title : l,
5809
- rowSpan: L.value?.properties[l]?.lx?.rowSpan,
5810
- columnSpan: L.value?.properties[l]?.lx?.columnSpan,
5960
+ label: F.value?.properties[l]?.title ? F.value?.properties[l]?.title : l,
5961
+ rowSpan: F.value?.properties[l]?.lx?.rowSpan,
5962
+ columnSpan: F.value?.properties[l]?.lx?.columnSpan,
5811
5963
  required: h(l),
5812
5964
  inputId: e.builderOptions?.useRegistry ? void 0 : `${e.id}-${l}`,
5813
5965
  id: `${e.id}-${l}-wrapper`,
5814
- actionDefinitions: L.value?.properties[l]?.lx?.rowActionDefinitions,
5966
+ actionDefinitions: F.value?.properties[l]?.lx?.rowActionDefinitions,
5815
5967
  builderOptions: {
5816
5968
  schemaPath: `${e.builderOptions?.schemaPath}.${l}`,
5817
5969
  componentStack: e.builderOptions?.componentStack?.concat([{
@@ -5820,9 +5972,9 @@ var $ = {
5820
5972
  }]),
5821
5973
  useRegistry: e.builderOptions?.useRegistry
5822
5974
  },
5823
- onActionClick: (e, t, n) => z(t, n, l, void 0)
5975
+ onActionClick: (e, t, n) => ie(t, n, l, void 0)
5824
5976
  }, s({
5825
- default: N(() => [F(n, l) === "stack" ? (S(), r(k(G), {
5977
+ default: N(() => [P(n, l) === "stack" ? (S(), r(k(G), {
5826
5978
  key: 0,
5827
5979
  id: `${e.id}-${l}`,
5828
5980
  orientation: n?.lx?.orientation,
@@ -5833,7 +5985,7 @@ var $ = {
5833
5985
  horizontalConfig: n?.lx?.horizontalConfig,
5834
5986
  verticalConfig: n?.lx?.verticalConfig
5835
5987
  }, {
5836
- default: N(() => [(S(!0), a(t, null, w(L.value?.properties[l]?.properties, (n, s) => (S(), a(t, { key: s }, [F(n, s) === "stack" ? (S(), r(k(G), {
5988
+ default: N(() => [(S(!0), a(t, null, w(F.value?.properties[l]?.properties, (n, s) => (S(), a(t, { key: s }, [P(n, s) === "stack" ? (S(), r(k(G), {
5837
5989
  key: 0,
5838
5990
  id: `${e.id}-${s}`,
5839
5991
  orientation: n?.lx?.orientation,
@@ -5844,7 +5996,7 @@ var $ = {
5844
5996
  horizontalConfig: n?.lx?.horizontalConfig,
5845
5997
  verticalConfig: n?.lx?.verticalConfig
5846
5998
  }, {
5847
- default: N(() => [(S(!0), a(t, null, w(L.value?.properties[l]?.properties[s]?.properties, (n, c) => (S(), a(t, { key: c }, [m.value[l] ? (S(), r(An, {
5999
+ default: N(() => [(S(!0), a(t, null, w(F.value?.properties[l]?.properties[s]?.properties, (n, c) => (S(), a(t, { key: c }, [m.value[l] ? (S(), r(jn, {
5848
6000
  key: 0,
5849
6001
  id: `${e.id}-${c}`,
5850
6002
  modelValue: m.value[l][s],
@@ -5852,13 +6004,13 @@ var $ = {
5852
6004
  readOnly: e.readOnly,
5853
6005
  row: n,
5854
6006
  name: c,
5855
- displaySchema: L.value?.properties[l]?.properties[s],
5856
- vv: be.value,
5857
- orderedObject: ne.value?.[l]?.properties?.[s]?.properties,
6007
+ displaySchema: F.value?.properties[l]?.properties[s],
6008
+ vv: xe.value,
6009
+ orderedObject: I.value?.[l]?.properties?.[s]?.properties,
5858
6010
  texts: f.value,
5859
6011
  parentName: `${l}.${s}`,
5860
6012
  validations: e.validations?.[l]?.[s],
5861
- onRowActionClick: o[0] ||= (e, t, n, r) => z(e, t, n, r),
6013
+ onRowActionClick: o[0] ||= (e, t, n, r) => ie(e, t, n, r),
5862
6014
  onEmit: o[1] ||= (e, t, n, r) => re(e, t, n, r),
5863
6015
  onFilterBuilderFilter: o[2] ||= (e) => p("filterBuilderFilter")
5864
6016
  }, null, 8, [
@@ -5885,7 +6037,7 @@ var $ = {
5885
6037
  "verticalAlignment",
5886
6038
  "horizontalConfig",
5887
6039
  "verticalConfig"
5888
- ])) : (S(), r(An, {
6040
+ ])) : (S(), r(jn, {
5889
6041
  key: 1,
5890
6042
  id: e.id,
5891
6043
  modelValue: m.value[l],
@@ -5893,13 +6045,13 @@ var $ = {
5893
6045
  readOnly: e.readOnly,
5894
6046
  row: n,
5895
6047
  name: s,
5896
- displaySchema: L.value?.properties[l],
5897
- vv: be.value,
5898
- orderedObject: ne.value?.[l]?.properties,
6048
+ displaySchema: F.value?.properties[l],
6049
+ vv: xe.value,
6050
+ orderedObject: I.value?.[l]?.properties,
5899
6051
  parentName: l,
5900
6052
  texts: f.value,
5901
6053
  validations: e.validations?.[l],
5902
- onRowActionClick: o[3] ||= (e, t, n, r) => z(e, t, n, r),
6054
+ onRowActionClick: o[3] ||= (e, t, n, r) => ie(e, t, n, r),
5903
6055
  onEmit: o[4] ||= (e, t, n, r) => re(e, t, n, r),
5904
6056
  onFilterBuilderFilter: o[5] ||= (e) => p("filterBuilderFilter")
5905
6057
  }, null, 8, [
@@ -5926,7 +6078,7 @@ var $ = {
5926
6078
  "verticalAlignment",
5927
6079
  "horizontalConfig",
5928
6080
  "verticalConfig"
5929
- ])) : (S(), r(An, {
6081
+ ])) : (S(), r(jn, {
5930
6082
  key: 1,
5931
6083
  id: e.id,
5932
6084
  modelValue: m.value,
@@ -5934,10 +6086,10 @@ var $ = {
5934
6086
  readOnly: e.readOnly,
5935
6087
  row: n,
5936
6088
  name: l,
5937
- displaySchema: L.value,
6089
+ displaySchema: F.value,
5938
6090
  schema: e.schema,
5939
- vv: be.value,
5940
- orderedObject: ne.value,
6091
+ vv: xe.value,
6092
+ orderedObject: I.value,
5941
6093
  texts: f.value,
5942
6094
  validations: e.validations,
5943
6095
  builderOptions: {
@@ -5948,7 +6100,7 @@ var $ = {
5948
6100
  useRegistry: e.builderOptions?.useRegistry,
5949
6101
  schemaPath: `${e.builderOptions?.schemaPath}`
5950
6102
  },
5951
- onRowActionClick: o[7] ||= (e, t, n, r) => z(e, t, n, r),
6103
+ onRowActionClick: o[7] ||= (e, t, n, r) => ie(e, t, n, r),
5952
6104
  onEmit: o[8] ||= (e, t, n, r) => re(e, t, n, r),
5953
6105
  onFilterBuilderFilter: o[9] ||= (e) => p("filterBuilderFilter")
5954
6106
  }, null, 8, [
@@ -5982,7 +6134,7 @@ var $ = {
5982
6134
  "onActionClick"
5983
6135
  ]))], 64))), 128)) : i("", !0);
5984
6136
  }
5985
- }, Mn = {
6137
+ }, Nn = {
5986
6138
  __name: "FilterBuilder",
5987
6139
  props: {
5988
6140
  modelValue: {
@@ -6136,7 +6288,7 @@ var $ = {
6136
6288
  addElement: "Pievienot elementu",
6137
6289
  saveElement: "Pievienot elementu sarakstam",
6138
6290
  addObject: "Pievienot objektu"
6139
- }, c = n(() => He.getDisplayTexts(a.texts, s)), u = n({
6291
+ }, c = n(() => J.getDisplayTexts(a.texts, s)), u = n({
6140
6292
  get() {
6141
6293
  return a.modelValue ? a.modelValue : {};
6142
6294
  },
@@ -6152,7 +6304,7 @@ var $ = {
6152
6304
  }
6153
6305
  }), m = C();
6154
6306
  function h() {
6155
- a.closeOnFilter && (p.value = !1, He.focusNextFocusableElement(m.value?.$el)), o("filter");
6307
+ a.closeOnFilter && (p.value = !1, J.focusNextFocusableElement(m.value?.$el)), o("filter");
6156
6308
  }
6157
6309
  let g = C({}), _ = n(() => a.schema?.properties ? Object.keys(a.schema?.properties).reduce((e, t) => (e[t] = a.defaultValues?.[t] || (a.useDefaults ? g.value?.[t] : void 0), e), {}) : {});
6158
6310
  function v(e, t) {
@@ -6230,11 +6382,11 @@ var $ = {
6230
6382
  b(() => {
6231
6383
  g.value = q.objectClone(a.modelValue || {});
6232
6384
  });
6233
- let F = n(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
6385
+ let ee = n(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
6234
6386
  return t({
6235
6387
  validateModel: M,
6236
6388
  clearValidations: P
6237
- }), (t, n) => (S(), r(k(pe), {
6389
+ }), (t, n) => (S(), r(k(he), {
6238
6390
  ref_key: "filterElement",
6239
6391
  ref: m,
6240
6392
  id: e.id,
@@ -6260,7 +6412,7 @@ var $ = {
6260
6412
  onResetFilters: n[4] ||= () => o("resetFilters"),
6261
6413
  onFastFilterClick: n[5] ||= (e) => o("fastFilterClick", e)
6262
6414
  }, {
6263
- default: N(() => [l(jn, {
6415
+ default: N(() => [l(Mn, {
6264
6416
  ref_key: "formBuilder",
6265
6417
  ref: d,
6266
6418
  id: e.id,
@@ -6280,7 +6432,7 @@ var $ = {
6280
6432
  name: "LxSection"
6281
6433
  }),
6282
6434
  useRegistry: e.builderOptions?.useRegistry,
6283
- schemaPath: F.value
6435
+ schemaPath: ee.value
6284
6436
  },
6285
6437
  onRowActionClick: n[1] ||= (e, t, n, r) => o("rowActionClick", e, t, n, r),
6286
6438
  onFilterBuilderFilter: h,
@@ -6317,12 +6469,12 @@ var $ = {
6317
6469
  "builderOptions"
6318
6470
  ]));
6319
6471
  }
6320
- }, Nn = {
6472
+ }, Pn = {
6321
6473
  __name: "ViewBuilder",
6322
6474
  props: {
6323
6475
  id: {
6324
6476
  type: String,
6325
- default: () => Y.generateUUID()
6477
+ default: () => He.generateUUID()
6326
6478
  },
6327
6479
  modelValue: {
6328
6480
  type: Object,
@@ -6378,7 +6530,7 @@ var $ = {
6378
6530
  deleteElement: "Dzēst elementu",
6379
6531
  saveElement: "Pievienot elementu sarakstam",
6380
6532
  addObject: "Pievienot objektu"
6381
- }, p = n(() => He.getDisplayTexts(d.texts, f)), m = u, h = n({
6533
+ }, p = n(() => J.getDisplayTexts(d.texts, f)), m = u, h = n({
6382
6534
  get() {
6383
6535
  return d.modelValue ? d.modelValue : {};
6384
6536
  },
@@ -6459,7 +6611,7 @@ var $ = {
6459
6611
  function P(e, t, n) {
6460
6612
  E(n?.type) && O(e, t, n), n?.type === "string" && A(e, t, n), n?.type === "array" && M(e, t, n);
6461
6613
  }
6462
- function F(e, t) {
6614
+ function ee(e, t) {
6463
6615
  t?.minProperties !== void 0 && t?.type === "object" && (e.minProperties = Q.withMessage(() => T(p.value.minProperties, t.minProperties), ((e) => Q.withParams({
6464
6616
  type: "minProperties",
6465
6617
  value: e
@@ -6468,28 +6620,28 @@ var $ = {
6468
6620
  value: e
6469
6621
  }, (t) => Object.keys(t).length <= e))(t.maxProperties)));
6470
6622
  }
6471
- let ee = (e) => {
6623
+ let te = (e) => {
6472
6624
  let t = e?.required, n = {};
6473
6625
  return t?.forEach((e) => {
6474
6626
  n[e] = n[e] || {}, n[e].required = Q.withMessage(() => p.value.required, Zt);
6475
6627
  }), e?.properties && Object.entries(e.properties).forEach(([e, t]) => {
6476
- t?.type === "object" && t?.properties ? n[e] = ee(t) : P(n, e, t);
6477
- }), F(n, e), n;
6478
- }, te = n(() => d.schema ? { modelClone: ee(d.schema) } : { modelClone: {} }), I = C(), L = C({});
6479
- function ne() {
6480
- Object.values(L.value)?.forEach((e) => {
6628
+ t?.type === "object" && t?.properties ? n[e] = te(t) : P(n, e, t);
6629
+ }), ee(n, e), n;
6630
+ }, ne = n(() => d.schema ? { modelClone: te(d.schema) } : { modelClone: {} }), F = C(), I = C({});
6631
+ function re() {
6632
+ Object.values(I.value)?.forEach((e) => {
6481
6633
  e.validateModel();
6482
6634
  });
6483
6635
  }
6484
- function re() {
6636
+ function L() {
6485
6637
  let e = [];
6486
- return ne(), I.value = At(te, { modelClone: q.objectClone(h.value) }, { $autoDirty: !0 }), I.value.value.modelClone.$touch(), (I.value.value?.$errors)?.forEach((t) => {
6638
+ return re(), F.value = At(ne, { modelClone: q.objectClone(h.value) }, { $autoDirty: !0 }), F.value.value.modelClone.$touch(), (F.value.value?.$errors)?.forEach((t) => {
6487
6639
  let n = {};
6488
6640
  n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
6489
6641
  }), e;
6490
6642
  }
6491
- function R() {
6492
- I.value.value.modelClone.$reset(), Object.values(L.value)?.forEach((e) => {
6643
+ function ie() {
6644
+ F.value.value.modelClone.$reset(), Object.values(I.value)?.forEach((e) => {
6493
6645
  e.clearValidations();
6494
6646
  });
6495
6647
  }
@@ -6498,7 +6650,7 @@ var $ = {
6498
6650
  }), y(async () => {
6499
6651
  d.mode !== "no-schema" && await _();
6500
6652
  });
6501
- let z = n(() => {
6653
+ let ae = n(() => {
6502
6654
  let e = {
6503
6655
  $schema: "http://json-schema.org/draft-07/schema#",
6504
6656
  type: "object",
@@ -6519,58 +6671,58 @@ var $ = {
6519
6671
  n !== "_lx_appendableKey" && (typeof r == "string" ? e.properties.form.properties[t].items.properties[n] = { type: "string" } : typeof r == "boolean" && (e.properties.form.properties[t].items.properties[n] = { type: "boolean" }));
6520
6672
  })) : e.properties.form.properties[t] = { lx: { wrapper: "placeholder" } };
6521
6673
  }), e;
6522
- }), ie = n(() => {
6674
+ }), R = n(() => {
6523
6675
  let e = structuredClone(d.schema);
6524
6676
  if (d.mode === "mixed") try {
6525
- return Object.entries(z.value?.properties?.form?.properties)?.forEach(([t, n]) => {
6677
+ return Object.entries(ae.value?.properties?.form?.properties)?.forEach(([t, n]) => {
6526
6678
  Object.prototype.hasOwnProperty.call(e?.properties, t) || (e.properties[t] = n);
6527
6679
  }), e;
6528
6680
  } catch (e) {
6529
6681
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
6530
6682
  }
6531
6683
  return e;
6532
- }), B = n(() => {
6684
+ }), z = n(() => {
6533
6685
  try {
6534
- if (d.mode === "no-schema") return z.value;
6535
- if (d.mode === "mixed") return ie.value;
6686
+ if (d.mode === "no-schema") return ae.value;
6687
+ if (d.mode === "mixed") return R.value;
6536
6688
  } catch (e) {
6537
6689
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
6538
6690
  }
6539
6691
  return d.schema;
6540
6692
  });
6541
- function V(e) {
6693
+ function oe(e) {
6542
6694
  let t = q.objectClone(e), n = !1;
6543
6695
  return Object.entries(t || {}).forEach(([e, r]) => {
6544
6696
  !n && r?.lx?.displayType === "section" && r?.type === "object" && (delete t[e], n = !0);
6545
6697
  }), t;
6546
6698
  }
6547
- function ae(e) {
6699
+ function se(e) {
6548
6700
  let t = q.objectClone(e), n = Object.entries(t || {}), r = !1;
6549
6701
  return n.forEach(([e, n]) => {
6550
6702
  !r && n?.lx?.displayType === "section" && n?.type === "object" ? r = !0 : delete t[e];
6551
6703
  }), t;
6552
6704
  }
6553
- function oe(e) {
6705
+ function ce(e) {
6554
6706
  let t = Object.entries(e || {}).find(([, e]) => e?.lx?.displayType === "section" && e?.type === "object");
6555
6707
  return t ? t[1] : null;
6556
6708
  }
6557
- function se(e) {
6709
+ function le(e) {
6558
6710
  let t = Object.entries(e || {}).find(([, e]) => e?.lx?.displayType === "section" && e?.type === "object");
6559
6711
  return t ? t[0] : null;
6560
6712
  }
6561
- function ce(e, t) {
6562
- let n = se(t?.properties);
6713
+ function ue(e, t) {
6714
+ let n = le(t?.properties);
6563
6715
  return n ? h.value?.[e]?.[n] || {} : h.value?.[e] || {};
6564
6716
  }
6565
- function le(e, t, n) {
6566
- let r = se(t?.properties), i = q.objectClone(h.value || {});
6717
+ function de(e, t, n) {
6718
+ let r = le(t?.properties), i = q.objectClone(h.value || {});
6567
6719
  if (!r) {
6568
6720
  i[e] = n, h.value = i;
6569
6721
  return;
6570
6722
  }
6571
6723
  i[e] = i[e] || {}, i[e][r] = n, h.value = i;
6572
6724
  }
6573
- function ue(e) {
6725
+ function fe(e) {
6574
6726
  let t = [], n = !1;
6575
6727
  return Object.entries(e || {}).forEach(([e, r]) => {
6576
6728
  if (r?.lx?.displayType === "section" && r?.type === "object") {
@@ -6580,8 +6732,8 @@ var $ = {
6580
6732
  }), t;
6581
6733
  }
6582
6734
  return o({
6583
- validateModel: re,
6584
- clearValidations: R
6735
+ validateModel: L,
6736
+ clearValidations: ie
6585
6737
  }), (n, o) => g.value ? (S(), r(k(Le), {
6586
6738
  key: 0,
6587
6739
  kind: v.value,
@@ -6592,12 +6744,12 @@ var $ = {
6592
6744
  useRegistry: e.builderOptions?.useRegistry
6593
6745
  }
6594
6746
  }, s({
6595
- filters: N(() => [(S(!0), a(t, null, w(B.value?.properties, (n, s) => (S(), a(t, { key: s }, [n?.lx?.displayType === "filters" && n?.type === "object" ? (S(), r(Mn, {
6747
+ filters: N(() => [(S(!0), a(t, null, w(z.value?.properties, (n, s) => (S(), a(t, { key: s }, [n?.lx?.displayType === "filters" && n?.type === "object" ? (S(), r(Nn, {
6596
6748
  key: 0,
6597
6749
  ref_for: !0,
6598
- ref: (t) => L.value[`${e.id}-${s}`] = t,
6599
- modelValue: ce(s, n),
6600
- schema: n?.properties?.[se(n?.properties)],
6750
+ ref: (t) => I.value[`${e.id}-${s}`] = t,
6751
+ modelValue: ue(s, n),
6752
+ schema: n?.properties?.[le(n?.properties)],
6601
6753
  name: s,
6602
6754
  id: `${e.id}-${s}`,
6603
6755
  readOnly: e.readOnly,
@@ -6615,7 +6767,7 @@ var $ = {
6615
6767
  badge: n?.lx?.badge,
6616
6768
  badgeType: n?.lx?.badgeType,
6617
6769
  texts: n?.lx?.texts,
6618
- columnCount: oe(n?.properties)?.lx?.columnCount || n?.lx?.columnCount,
6770
+ columnCount: ce(n?.properties)?.lx?.columnCount || n?.lx?.columnCount,
6619
6771
  builderOptions: {
6620
6772
  schemaPath: `${s}`,
6621
6773
  componentStack: [{
@@ -6626,9 +6778,9 @@ var $ = {
6626
6778
  name: "LxFilters"
6627
6779
  }],
6628
6780
  useRegistry: e.builderOptions?.useRegistry,
6629
- defaultSectionSchemaPath: se(n?.properties)
6781
+ defaultSectionSchemaPath: le(n?.properties)
6630
6782
  },
6631
- "onUpdate:modelValue": (e) => le(s, n, e),
6783
+ "onUpdate:modelValue": (e) => de(s, n, e),
6632
6784
  onFilter: () => x("filter", s),
6633
6785
  onResetFilter: () => x("resetFilter", s),
6634
6786
  onFastFilterClick: (e) => x("fastFilterClick", s, e),
@@ -6638,11 +6790,11 @@ var $ = {
6638
6790
  _: 2
6639
6791
  }, [e.mode === "no-schema" ? {
6640
6792
  name: "default",
6641
- fn: N(() => [l(k(H), null, {
6642
- default: N(() => [l(jn, {
6793
+ fn: N(() => [l(k(B), null, {
6794
+ default: N(() => [l(Mn, {
6643
6795
  modelValue: h.value,
6644
6796
  "onUpdate:modelValue": o[4] ||= (e) => h.value = e,
6645
- schema: B.value?.properties?.form,
6797
+ schema: z.value?.properties?.form,
6646
6798
  readOnly: e.readOnly,
6647
6799
  texts: p.value,
6648
6800
  validations: e.validations,
@@ -6661,7 +6813,7 @@ var $ = {
6661
6813
  key: "1"
6662
6814
  } : {
6663
6815
  name: "default",
6664
- fn: N(() => [(S(!0), a(t, null, w(B.value?.properties, (n, u) => (S(), a(t, { key: u }, [n?.lx?.displayType === "form" && n?.type === "object" ? (S(), r(k(H), {
6816
+ fn: N(() => [(S(!0), a(t, null, w(z.value?.properties, (n, u) => (S(), a(t, { key: u }, [n?.lx?.displayType === "form" && n?.type === "object" ? (S(), r(k(B), {
6665
6817
  key: 0,
6666
6818
  id: `${e.id}-${u}`,
6667
6819
  showHeader: n?.lx?.showHeader,
@@ -6670,15 +6822,15 @@ var $ = {
6670
6822
  stickyFooter: n?.lx?.stickyFooter,
6671
6823
  showPreHeaderInfo: n?.lx?.showPreHeaderInfo,
6672
6824
  showPostHeaderInfo: n?.lx?.showPostHeaderInfo,
6673
- index: n?.lx?.index || ue(n?.properties),
6825
+ index: n?.lx?.index || fe(n?.properties),
6674
6826
  indexType: n?.lx?.indexType,
6675
6827
  actionDefinitions: n?.lx?.actionDefinitions,
6676
6828
  kind: n?.lx?.kind,
6677
6829
  hasSkipLink: n?.lx?.hasSkipLink,
6678
6830
  texts: n?.lx?.texts,
6679
- columnCount: oe(n?.properties)?.lx?.columnCount,
6680
- requiredMode: oe(n?.properties)?.lx?.requiredMode,
6681
- orientation: oe(n?.properties)?.lx?.orientation,
6831
+ columnCount: ce(n?.properties)?.lx?.columnCount,
6832
+ requiredMode: ce(n?.properties)?.lx?.requiredMode,
6833
+ orientation: ce(n?.properties)?.lx?.orientation,
6682
6834
  builderOptions: {
6683
6835
  schemaPath: `${u}`,
6684
6836
  componentStack: [{
@@ -6689,12 +6841,12 @@ var $ = {
6689
6841
  name: "LxForm"
6690
6842
  }],
6691
6843
  useRegistry: e.builderOptions?.useRegistry,
6692
- defaultSectionSchemaPath: se(n?.properties)
6844
+ defaultSectionSchemaPath: le(n?.properties)
6693
6845
  },
6694
6846
  onActionClick: (e) => x("actionClick", u, e)
6695
6847
  }, s({
6696
6848
  header: N(() => [c(D(n?.title), 1)]),
6697
- sections: N(() => [(S(!0), a(t, null, w(V(e.schema?.properties?.[u]?.properties), (n, o) => (S(), a(t, { key: o }, [n?.lx?.displayType === "section" && n?.type === "object" ? (S(), r(k(Ae), {
6849
+ sections: N(() => [(S(!0), a(t, null, w(oe(e.schema?.properties?.[u]?.properties), (n, o) => (S(), a(t, { key: o }, [n?.lx?.displayType === "section" && n?.type === "object" ? (S(), r(k(Ae), {
6698
6850
  key: 0,
6699
6851
  id: `${o}`,
6700
6852
  label: n?.title,
@@ -6721,10 +6873,10 @@ var $ = {
6721
6873
  },
6722
6874
  onActionClick: (e) => x("actionClick", `${u}.${o}`, e)
6723
6875
  }, {
6724
- default: N(() => [h.value?.[u] ? (S(), r(jn, {
6876
+ default: N(() => [h.value?.[u] ? (S(), r(Mn, {
6725
6877
  key: 0,
6726
6878
  ref_for: !0,
6727
- ref: (t) => L.value[`${e.id}-${u}-${o}`] = t,
6879
+ ref: (t) => I.value[`${e.id}-${u}-${o}`] = t,
6728
6880
  modelValue: h.value[u][o],
6729
6881
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
6730
6882
  schema: n,
@@ -6780,10 +6932,10 @@ var $ = {
6780
6932
  "builderOptions",
6781
6933
  "onActionClick"
6782
6934
  ])) : i("", !0)], 64))), 128))]),
6783
- default: N(() => [(S(!0), a(t, null, w(ae(e.schema?.properties?.[u]?.properties), (n, o) => (S(), a(t, { key: o }, [h.value?.[u] ? (S(), r(jn, {
6935
+ default: N(() => [(S(!0), a(t, null, w(se(e.schema?.properties?.[u]?.properties), (n, o) => (S(), a(t, { key: o }, [h.value?.[u] ? (S(), r(Mn, {
6784
6936
  key: 0,
6785
6937
  ref_for: !0,
6786
- ref: (t) => L.value[`${e.id}-${u}-${o}`] = t,
6938
+ ref: (t) => I.value[`${e.id}-${u}-${o}`] = t,
6787
6939
  modelValue: h.value[u][o],
6788
6940
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
6789
6941
  schema: n,
@@ -7017,17 +7169,17 @@ var $ = {
7017
7169
  "horizontal-config": n?.lx?.horizontalConfig,
7018
7170
  "vertical-config": n?.lx?.verticalConfig
7019
7171
  }, {
7020
- default: N(() => [(S(!0), a(t, null, w(e.schema?.properties?.[u]?.properties?.[o]?.properties, (n, s) => (S(), a(t, { key: s }, [h.value?.[u] ? (S(), r(An, {
7172
+ default: N(() => [(S(!0), a(t, null, w(e.schema?.properties?.[u]?.properties?.[o]?.properties, (n, s) => (S(), a(t, { key: s }, [h.value?.[u] ? (S(), r(jn, {
7021
7173
  key: 0,
7022
7174
  modelValue: h.value[u][o],
7023
7175
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
7024
7176
  schema: e.schema?.properties?.[u]?.properties?.[o],
7025
- displaySchema: B.value?.properties?.[u]?.properties?.[o],
7177
+ displaySchema: z.value?.properties?.[u]?.properties?.[o],
7026
7178
  row: n,
7027
7179
  name: s,
7028
7180
  readOnly: e.readOnly,
7029
7181
  parentName: `${u}.${o}`,
7030
- vv: I.value,
7182
+ vv: F.value,
7031
7183
  texts: p.value,
7032
7184
  validations: e.validations?.[u]?.[o],
7033
7185
  onRowActionClick: (e, t, n, r) => b(e, t, `${u}.${o}.${n}`, r),
@@ -7057,17 +7209,17 @@ var $ = {
7057
7209
  "vertical-alignment",
7058
7210
  "horizontal-config",
7059
7211
  "vertical-config"
7060
- ])) : n?.lx?.displayType !== "stack" && h.value ? (S(), r(An, {
7212
+ ])) : n?.lx?.displayType !== "stack" && h.value ? (S(), r(jn, {
7061
7213
  key: 1,
7062
7214
  modelValue: h.value[u],
7063
7215
  "onUpdate:modelValue": (e) => h.value[u] = e,
7064
7216
  schema: e.schema?.properties?.[u],
7065
- displaySchema: B.value?.properties?.[u],
7217
+ displaySchema: z.value?.properties?.[u],
7066
7218
  row: n,
7067
7219
  name: o,
7068
7220
  readOnly: e.readOnly,
7069
7221
  parentName: `${u}`,
7070
- vv: I.value,
7222
+ vv: F.value,
7071
7223
  texts: p.value,
7072
7224
  validations: e.validations?.[u],
7073
7225
  onRowActionClick: (e, t, n, r) => b(e, t, `${u}.${n}`, r),
@@ -7097,17 +7249,17 @@ var $ = {
7097
7249
  "vertical-alignment",
7098
7250
  "horizontal-config",
7099
7251
  "vertical-config"
7100
- ])) : n?.lx?.displayType === "filters" ? i("", !0) : (S(), r(An, {
7252
+ ])) : n?.lx?.displayType === "filters" ? i("", !0) : (S(), r(jn, {
7101
7253
  key: 2,
7102
7254
  modelValue: h.value,
7103
7255
  "onUpdate:modelValue": o[1] ||= (e) => h.value = e,
7104
7256
  schema: e.schema,
7105
- displaySchema: B.value,
7257
+ displaySchema: z.value,
7106
7258
  row: n,
7107
7259
  name: u,
7108
7260
  readOnly: e.readOnly,
7109
7261
  texts: p.value,
7110
- vv: I.value,
7262
+ vv: F.value,
7111
7263
  validations: e.validations,
7112
7264
  builderOptions: {
7113
7265
  componentStack: [{
@@ -7139,18 +7291,18 @@ var $ = {
7139
7291
  }
7140
7292
  };
7141
7293
  //#endregion
7142
- //#region node_modules/.pnpm/@vueuse+shared@14.0.0_vue@3.5.17_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
7143
- function Pn(e, t) {
7294
+ //#region node_modules/@vueuse/shared/dist/index.js
7295
+ function Fn(e, t) {
7144
7296
  return f() ? (x(e, t), !0) : !1;
7145
7297
  }
7146
- var Fn = /* @__PURE__ */ new WeakMap(), In = (...e) => {
7298
+ var In = /* @__PURE__ */ new WeakMap(), Ln = (...e) => {
7147
7299
  let t = e[0], n = d()?.proxy ?? f();
7148
7300
  if (n == null && !p()) throw Error("injectLocal must be called in setup");
7149
- return n && Fn.has(n) && t in Fn.get(n) ? Fn.get(n)[t] : m(...e);
7150
- }, Ln = typeof window < "u" && typeof document < "u";
7301
+ return n && In.has(n) && t in In.get(n) ? In.get(n)[t] : m(...e);
7302
+ }, Rn = typeof window < "u" && typeof document < "u";
7151
7303
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7152
- var Rn = Object.prototype.toString, zn = (e) => Rn.call(e) === "[object Object]", Bn = () => {};
7153
- function Vn(e, t) {
7304
+ var zn = Object.prototype.toString, Bn = (e) => zn.call(e) === "[object Object]", Vn = () => {};
7305
+ function Hn(e, t) {
7154
7306
  function n(...n) {
7155
7307
  return new Promise((r, i) => {
7156
7308
  Promise.resolve(e(() => t.apply(this, n), {
@@ -7162,9 +7314,9 @@ function Vn(e, t) {
7162
7314
  }
7163
7315
  return n;
7164
7316
  }
7165
- function Hn(e, t = {}) {
7166
- let n, r, i = Bn, a = (e) => {
7167
- clearTimeout(e), i(), i = Bn;
7317
+ function Un(e, t = {}) {
7318
+ let n, r, i = Vn, a = (e) => {
7319
+ clearTimeout(e), i(), i = Vn;
7168
7320
  }, o;
7169
7321
  return (s) => {
7170
7322
  let c = O(e), l = O(t.maxWait);
@@ -7177,105 +7329,105 @@ function Hn(e, t = {}) {
7177
7329
  });
7178
7330
  };
7179
7331
  }
7180
- function Un(e) {
7332
+ function Wn(e) {
7181
7333
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
7182
7334
  }
7183
- function Wn(e) {
7335
+ function Gn(e) {
7184
7336
  return Array.isArray(e) ? e : [e];
7185
7337
  }
7186
- function Gn(e) {
7338
+ function Kn(e) {
7187
7339
  return e || d();
7188
7340
  }
7189
- function Kn(e, t = 200, n = {}) {
7190
- return Vn(Hn(t, n), e);
7341
+ function qn(e, t = 200, n = {}) {
7342
+ return Hn(Un(t, n), e);
7191
7343
  }
7192
- function qn(e, t = !0, n) {
7193
- Gn(n) ? b(e, n) : t ? e() : g(e);
7344
+ function Jn(e, t = !0, n) {
7345
+ Kn(n) ? b(e, n) : t ? e() : g(e);
7194
7346
  }
7195
- function Jn(e, t, n) {
7347
+ function Yn(e, t, n) {
7196
7348
  return j(e, t, {
7197
7349
  ...n,
7198
7350
  immediate: !0
7199
7351
  });
7200
7352
  }
7201
7353
  //#endregion
7202
- //#region node_modules/.pnpm/@vueuse+core@14.0.0_vue@3.5.17_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
7203
- var Yn = Ln ? window : void 0;
7204
- Ln && window.document, Ln && window.navigator, Ln && window.location;
7205
- function Xn(e) {
7354
+ //#region node_modules/@vueuse/core/dist/index.js
7355
+ var Xn = Rn ? window : void 0;
7356
+ Rn && window.document, Rn && window.navigator, Rn && window.location;
7357
+ function Zn(e) {
7206
7358
  let t = O(e);
7207
7359
  return t?.$el ?? t;
7208
7360
  }
7209
- function Zn(...e) {
7361
+ function Qn(...e) {
7210
7362
  let t = [], r = () => {
7211
7363
  t.forEach((e) => e()), t.length = 0;
7212
7364
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = n(() => {
7213
- let t = Wn(O(e[0])).filter((e) => e != null);
7365
+ let t = Gn(O(e[0])).filter((e) => e != null);
7214
7366
  return t.every((e) => typeof e != "string") ? t : void 0;
7215
- }), o = Jn(() => [
7216
- a.value?.map((e) => Xn(e)) ?? [Yn].filter((e) => e != null),
7217
- Wn(O(a.value ? e[1] : e[0])),
7218
- Wn(k(a.value ? e[2] : e[1])),
7367
+ }), o = Yn(() => [
7368
+ a.value?.map((e) => Zn(e)) ?? [Xn].filter((e) => e != null),
7369
+ Gn(O(a.value ? e[1] : e[0])),
7370
+ Gn(k(a.value ? e[2] : e[1])),
7219
7371
  O(a.value ? e[3] : e[2])
7220
7372
  ], ([e, n, a, o]) => {
7221
7373
  if (r(), !e?.length || !n?.length || !a?.length) return;
7222
- let s = zn(o) ? { ...o } : o;
7374
+ let s = Bn(o) ? { ...o } : o;
7223
7375
  t.push(...e.flatMap((e) => n.flatMap((t) => a.map((n) => i(e, t, n, s)))));
7224
7376
  }, { flush: "post" });
7225
- return Pn(r), () => {
7377
+ return Fn(r), () => {
7226
7378
  o(), r();
7227
7379
  };
7228
7380
  }
7229
- function Qn() {
7381
+ function $n() {
7230
7382
  let e = E(!1), t = d();
7231
7383
  return t && b(() => {
7232
7384
  e.value = !0;
7233
7385
  }, t), e;
7234
7386
  }
7235
7387
  /* @__NO_SIDE_EFFECTS__ */
7236
- function $n(e) {
7237
- let t = Qn();
7388
+ function er(e) {
7389
+ let t = $n();
7238
7390
  return n(() => (t.value, !!e()));
7239
7391
  }
7240
- var er = Symbol("vueuse-ssr-width");
7392
+ var tr = Symbol("vueuse-ssr-width");
7241
7393
  /* @__NO_SIDE_EFFECTS__ */
7242
- function tr() {
7243
- let e = p() ? In(er, null) : null;
7394
+ function nr() {
7395
+ let e = p() ? Ln(tr, null) : null;
7244
7396
  return typeof e == "number" ? e : void 0;
7245
7397
  }
7246
- function nr(e, t = {}) {
7247
- let { window: r = Yn, ssrWidth: i = /* @__PURE__ */ tr() } = t, a = /* @__PURE__ */ $n(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), o = E(typeof i == "number"), s = E(), c = E(!1);
7398
+ function rr(e, t = {}) {
7399
+ let { window: r = Xn, ssrWidth: i = /* @__PURE__ */ nr() } = t, a = /* @__PURE__ */ er(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), o = E(typeof i == "number"), s = E(), c = E(!1);
7248
7400
  return M(() => {
7249
7401
  if (o.value) {
7250
7402
  o.value = !a.value, c.value = O(e).split(",").some((e) => {
7251
7403
  let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), r = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || r);
7252
- return n && a && (a = i >= Un(n[1])), r && a && (a = i <= Un(r[1])), t ? !a : a;
7404
+ return n && a && (a = i >= Wn(n[1])), r && a && (a = i <= Wn(r[1])), t ? !a : a;
7253
7405
  });
7254
7406
  return;
7255
7407
  }
7256
7408
  a.value && (s.value = r.matchMedia(O(e)), c.value = s.value.matches);
7257
- }), Zn(s, "change", (e) => {
7409
+ }), Qn(s, "change", (e) => {
7258
7410
  c.value = e.matches;
7259
7411
  }, { passive: !0 }), n(() => c.value);
7260
7412
  }
7261
- function rr(e = {}) {
7262
- let { window: t = Yn, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: a = !0, type: o = "inner" } = e, s = E(n), c = E(r), l = () => {
7413
+ function ir(e = {}) {
7414
+ let { window: t = Xn, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: a = !0, type: o = "inner" } = e, s = E(n), c = E(r), l = () => {
7263
7415
  if (t) if (o === "outer") s.value = t.outerWidth, c.value = t.outerHeight;
7264
7416
  else if (o === "visual" && t.visualViewport) {
7265
7417
  let { width: e, height: n, scale: r } = t.visualViewport;
7266
7418
  s.value = Math.round(e * r), c.value = Math.round(n * r);
7267
7419
  } else a ? (s.value = t.innerWidth, c.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, c.value = t.document.documentElement.clientHeight);
7268
7420
  };
7269
- l(), qn(l);
7421
+ l(), Jn(l);
7270
7422
  let u = { passive: !0 };
7271
- return Zn("resize", l, u), t && o === "visual" && t.visualViewport && Zn(t.visualViewport, "resize", l, u), i && j(nr("(orientation: portrait)"), () => l()), {
7423
+ return Qn("resize", l, u), t && o === "visual" && t.visualViewport && Qn(t.visualViewport, "resize", l, u), i && j(rr("(orientation: portrait)"), () => l()), {
7272
7424
  width: s,
7273
7425
  height: c
7274
7426
  };
7275
7427
  }
7276
7428
  //#endregion
7277
7429
  //#region src/utils/constructorUtils.js
7278
- function ir(e) {
7430
+ function ar(e) {
7279
7431
  switch (e) {
7280
7432
  case "LxTextInput": return {
7281
7433
  type: "string",
@@ -7419,7 +7571,7 @@ function ir(e) {
7419
7571
  }
7420
7572
  return null;
7421
7573
  }
7422
- function ar() {
7574
+ function or() {
7423
7575
  return [
7424
7576
  {
7425
7577
  id: "LxTextInput",
@@ -7510,7 +7662,7 @@ function ar() {
7510
7662
  }
7511
7663
  //#endregion
7512
7664
  //#region src/components/constructor/PropRendererItem.vue
7513
- var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, cr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, lr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, ur = {
7665
+ var sr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, cr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, lr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, ur = { class: "custom-auto-complete-item-with-icon lx-item-display" }, dr = {
7514
7666
  __name: "PropRendererItem",
7515
7667
  props: {
7516
7668
  item: {
@@ -7550,12 +7702,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7550
7702
  set(e) {
7551
7703
  u("update:modelValue", e);
7552
7704
  }
7553
- }), f = n(() => J.getAvailableIcons("cds")?.map((e) => ({
7705
+ }), f = n(() => Y.getAvailableIcons("cds")?.map((e) => ({
7554
7706
  id: e,
7555
7707
  name: e
7556
7708
  })));
7557
7709
  function p(e = "cds") {
7558
- return J.getAvailableIcons(e || "cds")?.map((e) => ({
7710
+ return Y.getAvailableIcons(e || "cds")?.map((e) => ({
7559
7711
  id: e,
7560
7712
  name: e
7561
7713
  }));
@@ -7598,26 +7750,26 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7598
7750
  d.value.index = e, E.value.close();
7599
7751
  }
7600
7752
  }
7601
- let P = C(), F = C(null), L = C();
7602
- function ne() {
7603
- P.value.open(), F.value = q.objectClone(c.modelValue[c.name]);
7753
+ let P = C(), ee = C(null), I = C();
7754
+ function re() {
7755
+ P.value.open(), ee.value = q.objectClone(c.modelValue[c.name]);
7604
7756
  }
7605
- function re(e) {
7757
+ function L(e) {
7606
7758
  if (e === "save") {
7607
- let e = L.value.clearModel(F.value);
7759
+ let e = I.value.clearModel(ee.value);
7608
7760
  d.value[c.name] = e, P.value.close();
7609
7761
  }
7610
7762
  }
7611
- let R = C(), z = C(null), ie = C(null);
7612
- function V(e) {
7763
+ let ie = C(), ae = C(null), R = C(null);
7764
+ function oe(e) {
7613
7765
  return typeof e == "object" && !!e && !Array.isArray(e);
7614
7766
  }
7615
- function ae(e) {
7767
+ function se(e) {
7616
7768
  let t = {};
7617
7769
  function n(e, r = "") {
7618
- V(e) && Object.entries(e).forEach(([e, i]) => {
7770
+ oe(e) && Object.entries(e).forEach(([e, i]) => {
7619
7771
  let a = r ? `${r}.${e}` : e;
7620
- V(i) ? n(i, a) : t[a] = { type: "string" };
7772
+ oe(i) ? n(i, a) : t[a] = { type: "string" };
7621
7773
  });
7622
7774
  }
7623
7775
  return n(e), {
@@ -7625,19 +7777,19 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7625
7777
  properties: t
7626
7778
  };
7627
7779
  }
7628
- function oe(e, t) {
7780
+ function ce(e, t) {
7629
7781
  let n = {};
7630
7782
  function r(e, t, i = "") {
7631
- V(t) && Object.entries(t).forEach(([t, a]) => {
7632
- let o = i ? `${i}.${t}` : t, s = V(e) ? e[t] : void 0;
7633
- V(a) ? r(s, a, o) : s === void 0 ? n[o] = q.objectClone(a) : n[o] = q.objectClone(s);
7783
+ oe(t) && Object.entries(t).forEach(([t, a]) => {
7784
+ let o = i ? `${i}.${t}` : t, s = oe(e) ? e[t] : void 0;
7785
+ oe(a) ? r(s, a, o) : s === void 0 ? n[o] = q.objectClone(a) : n[o] = q.objectClone(s);
7634
7786
  });
7635
7787
  }
7636
7788
  return r(e, t), n;
7637
7789
  }
7638
- function se(e) {
7790
+ function le(e) {
7639
7791
  let t = {};
7640
- return V(e) && Object.entries(e).forEach(([e, n]) => {
7792
+ return oe(e) && Object.entries(e).forEach(([e, n]) => {
7641
7793
  if (!e.includes(".")) {
7642
7794
  t[e] = q.objectClone(n);
7643
7795
  return;
@@ -7648,24 +7800,24 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7648
7800
  i[e] = q.objectClone(n);
7649
7801
  return;
7650
7802
  }
7651
- V(i[e]) || (i[e] = {}), i = i[e];
7803
+ oe(i[e]) || (i[e] = {}), i = i[e];
7652
7804
  });
7653
7805
  }), t;
7654
7806
  }
7655
- function ce() {
7656
- R.value.open();
7807
+ function ue() {
7808
+ ie.value.open();
7657
7809
  let e = c.item?.options || {};
7658
- ie.value = ae(e), z.value = oe(c.modelValue.texts, e);
7810
+ R.value = se(e), ae.value = ce(c.modelValue.texts, e);
7659
7811
  }
7660
- function ue(e) {
7661
- e === "save" && (d.value.texts = se(z.value), R.value.close());
7812
+ function fe(e) {
7813
+ e === "save" && (d.value.texts = le(ae.value), ie.value.close());
7662
7814
  }
7663
- let de = C(""), fe = n(() => de.value ? { properties: Object.fromEntries(Object.entries(ie.value.properties).filter(([e]) => e.toLowerCase().includes(de.value.toLowerCase()))) } : ie.value);
7664
- function pe(e) {
7815
+ let pe = C(""), me = n(() => pe.value ? { properties: Object.fromEntries(Object.entries(R.value.properties).filter(([e]) => e.toLowerCase().includes(pe.value.toLowerCase()))) } : R.value);
7816
+ function he(e) {
7665
7817
  return c.name === "columnSpan" || c.name === "rowSpan" || c.name === "columnCount" || c.name === "cadenceOfMinutes" || c.name === "cadenceOfSeconds" ? "tags" : e.length > 5 ? "dropdown" : "default";
7666
7818
  }
7667
7819
  return (n, s) => (S(), a(t, null, [
7668
- (h(e.item) || _(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (S(), r(k(B), {
7820
+ (h(e.item) || _(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (S(), r(k(z), {
7669
7821
  key: 0,
7670
7822
  modelValue: d.value[e.name],
7671
7823
  "onUpdate:modelValue": s[0] ||= (t) => d.value[e.name] = t,
@@ -7689,7 +7841,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7689
7841
  modelValue: d.value[e.name],
7690
7842
  "onUpdate:modelValue": s[4] ||= (t) => d.value[e.name] = t,
7691
7843
  items: v(e.item.options),
7692
- variant: pe(e.item.options),
7844
+ variant: he(e.item.options),
7693
7845
  nullable: e.item.options.includes(null),
7694
7846
  convertToString: !h(e.item)
7695
7847
  }, null, 8, [
@@ -7699,21 +7851,21 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7699
7851
  "nullable",
7700
7852
  "convertToString"
7701
7853
  ])) : i("", !0),
7702
- c.name === "icon" ? (S(), r(k(te), {
7854
+ c.name === "icon" ? (S(), r(k(ne), {
7703
7855
  key: 5,
7704
7856
  modelValue: d.value[e.name],
7705
7857
  "onUpdate:modelValue": s[5] ||= (t) => d.value[e.name] = t,
7706
7858
  items: f.value
7707
7859
  }, {
7708
- customItem: N((e) => [o("div", or, [l(k(he), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7860
+ customItem: N((e) => [o("div", sr, [l(k(_e), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7709
7861
  _: 1
7710
7862
  }, 8, ["modelValue", "items"])) : i("", !0),
7711
- c.name === "index" ? (S(), a(t, { key: 6 }, [l(k(I), {
7863
+ c.name === "index" ? (S(), a(t, { key: 6 }, [l(k(F), {
7712
7864
  label: e.texts.edit,
7713
7865
  kind: "secondary",
7714
7866
  icon: "edit",
7715
7867
  onClick: j
7716
- }, null, 8, ["label"]), l(k(Ce), {
7868
+ }, null, 8, ["label"]), l(k(Te), {
7717
7869
  ref_key: "indexModal",
7718
7870
  ref: E,
7719
7871
  label: e.texts?.editing,
@@ -7730,7 +7882,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7730
7882
  texts: { close: e.texts.close },
7731
7883
  onActionClick: M
7732
7884
  }, {
7733
- default: N(() => [l(k(ee), {
7885
+ default: N(() => [l(k(te), {
7734
7886
  ref_key: "indexList",
7735
7887
  ref: A,
7736
7888
  modelValue: O.value,
@@ -7759,12 +7911,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7759
7911
  "actionDefinitions",
7760
7912
  "texts"
7761
7913
  ])], 64)) : i("", !0),
7762
- c.name === "actionDefinitions" ? (S(), a(t, { key: 7 }, [l(k(I), {
7914
+ c.name === "actionDefinitions" ? (S(), a(t, { key: 7 }, [l(k(F), {
7763
7915
  label: e.texts.edit,
7764
7916
  icon: "edit",
7765
7917
  kind: "secondary",
7766
7918
  onClick: w
7767
- }, null, 8, ["label"]), l(k(Ce), {
7919
+ }, null, 8, ["label"]), l(k(Te), {
7768
7920
  ref_key: "actionDefinitionsModal",
7769
7921
  ref: y,
7770
7922
  label: e.texts?.editing,
@@ -7781,7 +7933,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7781
7933
  texts: { close: e.texts.close },
7782
7934
  onActionClick: T
7783
7935
  }, {
7784
- default: N(() => [l(k(ee), {
7936
+ default: N(() => [l(k(te), {
7785
7937
  ref_key: "actionDefList",
7786
7938
  ref: x,
7787
7939
  modelValue: b.value,
@@ -7856,12 +8008,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7856
8008
  label: "icon",
7857
8009
  columnSpan: "2"
7858
8010
  }, {
7859
- default: N(() => [l(k(te), {
8011
+ default: N(() => [l(k(ne), {
7860
8012
  modelValue: e.icon,
7861
8013
  "onUpdate:modelValue": (t) => e.icon = t,
7862
8014
  items: p(e?.iconSet)
7863
8015
  }, {
7864
- customItem: N((t) => [o("div", sr, [l(k(he), {
8016
+ customItem: N((t) => [o("div", cr, [l(k(_e), {
7865
8017
  value: t.name,
7866
8018
  iconSet: e?.iconSet || "cds"
7867
8019
  }, null, 8, ["value", "iconSet"]), o("p", null, D(t.name), 1)])]),
@@ -7977,12 +8129,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7977
8129
  label: "badgeIcon",
7978
8130
  columnSpan: "2"
7979
8131
  }, {
7980
- default: N(() => [l(k(te), {
8132
+ default: N(() => [l(k(ne), {
7981
8133
  modelValue: e.badgeIcon,
7982
8134
  "onUpdate:modelValue": (t) => e.badgeIcon = t,
7983
8135
  items: f.value
7984
8136
  }, {
7985
- customItem: N((e) => [o("div", cr, [l(k(he), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
8137
+ customItem: N((e) => [o("div", lr, [l(k(_e), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7986
8138
  _: 2
7987
8139
  }, 1032, [
7988
8140
  "modelValue",
@@ -8010,12 +8162,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8010
8162
  "actionDefinitions",
8011
8163
  "texts"
8012
8164
  ])], 64)) : i("", !0),
8013
- c.name === "items" ? (S(), a(t, { key: 8 }, [l(k(I), {
8165
+ c.name === "items" ? (S(), a(t, { key: 8 }, [l(k(F), {
8014
8166
  label: e.texts.edit,
8015
8167
  icon: "edit",
8016
8168
  kind: "secondary",
8017
- onClick: ne
8018
- }, null, 8, ["label"]), l(k(Ce), {
8169
+ onClick: re
8170
+ }, null, 8, ["label"]), l(k(Te), {
8019
8171
  ref_key: "itemsModal",
8020
8172
  ref: P,
8021
8173
  label: e.texts?.editing,
@@ -8030,13 +8182,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8030
8182
  kind: "secondary"
8031
8183
  }],
8032
8184
  texts: { close: e.texts.close },
8033
- onActionClick: re
8185
+ onActionClick: L
8034
8186
  }, {
8035
- default: N(() => [l(k(ee), {
8187
+ default: N(() => [l(k(te), {
8036
8188
  ref_key: "itemsList",
8037
- ref: L,
8038
- modelValue: F.value,
8039
- "onUpdate:modelValue": s[8] ||= (e) => F.value = e,
8189
+ ref: I,
8190
+ modelValue: ee.value,
8191
+ "onUpdate:modelValue": s[8] ||= (e) => ee.value = e,
8040
8192
  columnCount: 4,
8041
8193
  requiredMode: "required-asterisk"
8042
8194
  }, {
@@ -8062,12 +8214,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8062
8214
  _: 2
8063
8215
  }, 1024),
8064
8216
  l(k(W), { label: "icon" }, {
8065
- default: N(() => [l(k(te), {
8217
+ default: N(() => [l(k(ne), {
8066
8218
  modelValue: n.icon,
8067
8219
  "onUpdate:modelValue": (e) => n.icon = e,
8068
8220
  items: p(n?.iconSet)
8069
8221
  }, {
8070
- customItem: N((e) => [o("div", lr, [l(k(he), {
8222
+ customItem: N((e) => [o("div", ur, [l(k(_e), {
8071
8223
  value: e.name,
8072
8224
  iconSet: n?.iconSet || "cds"
8073
8225
  }, null, 8, ["value", "iconSet"]), o("p", null, D(e.name), 1)])]),
@@ -8145,14 +8297,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8145
8297
  "actionDefinitions",
8146
8298
  "texts"
8147
8299
  ])], 64)) : i("", !0),
8148
- c.name === "texts" ? (S(), a(t, { key: 9 }, [l(k(I), {
8300
+ c.name === "texts" ? (S(), a(t, { key: 9 }, [l(k(F), {
8149
8301
  label: e.texts.edit,
8150
8302
  icon: "edit",
8151
8303
  kind: "secondary",
8152
- onClick: ce
8153
- }, null, 8, ["label"]), l(k(Ce), {
8304
+ onClick: ue
8305
+ }, null, 8, ["label"]), l(k(Te), {
8154
8306
  ref_key: "textsModal",
8155
- ref: R,
8307
+ ref: ie,
8156
8308
  label: e.texts?.editing,
8157
8309
  size: "l",
8158
8310
  actionDefinitions: [{
@@ -8165,10 +8317,10 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8165
8317
  kind: "secondary"
8166
8318
  }],
8167
8319
  texts: { close: e.texts.close },
8168
- onActionClick: ue,
8169
- onClose: s[11] ||= (e) => de.value = ""
8320
+ onActionClick: fe,
8321
+ onClose: s[11] ||= (e) => pe.value = ""
8170
8322
  }, {
8171
- default: N(() => [l(k(H), {
8323
+ default: N(() => [l(k(B), {
8172
8324
  columnCount: 3,
8173
8325
  kind: "stripped"
8174
8326
  }, {
@@ -8178,21 +8330,21 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8178
8330
  }, {
8179
8331
  default: N(() => [l(k(G), { horizontalAlignment: "stretch" }, {
8180
8332
  default: N(() => [l(k(K), {
8181
- modelValue: de.value,
8182
- "onUpdate:modelValue": s[9] ||= (e) => de.value = e,
8333
+ modelValue: pe.value,
8334
+ "onUpdate:modelValue": s[9] ||= (e) => pe.value = e,
8183
8335
  kind: "search",
8184
8336
  placeholder: e.texts.searchText
8185
- }, null, 8, ["modelValue", "placeholder"]), Object.keys(fe.value?.properties || {}).length ? i("", !0) : (S(), r(k(le), {
8337
+ }, null, 8, ["modelValue", "placeholder"]), Object.keys(me.value?.properties || {}).length ? i("", !0) : (S(), r(k(de), {
8186
8338
  key: 0,
8187
- label: `${e.texts?.notFoundSearch} ${de.value}`
8339
+ label: `${e.texts?.notFoundSearch} ${pe.value}`
8188
8340
  }, null, 8, ["label"]))]),
8189
8341
  _: 1
8190
8342
  })]),
8191
8343
  _: 1
8192
- }), l(jn, {
8193
- modelValue: z.value,
8194
- "onUpdate:modelValue": s[10] ||= (e) => z.value = e,
8195
- schema: fe.value
8344
+ }), l(Mn, {
8345
+ modelValue: ae.value,
8346
+ "onUpdate:modelValue": s[10] ||= (e) => ae.value = e,
8347
+ schema: me.value
8196
8348
  }, null, 8, ["modelValue", "schema"])]),
8197
8349
  _: 1
8198
8350
  })]),
@@ -8204,7 +8356,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8204
8356
  ])], 64)) : i("", !0)
8205
8357
  ], 64));
8206
8358
  }
8207
- }, dr = {
8359
+ }, fr = {
8208
8360
  __name: "ConstructorPropRenderer",
8209
8361
  props: {
8210
8362
  componentName: {
@@ -8355,7 +8507,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8355
8507
  function E(e, t) {
8356
8508
  return t === "header" ? d.value.title : d.value.lx?.[t]?.properties?.text?.lx?.value;
8357
8509
  }
8358
- let D = Kn((e) => {
8510
+ let D = qn((e) => {
8359
8511
  c("update:schemaKey", e);
8360
8512
  }, 500), O = n({
8361
8513
  get() {
@@ -8369,11 +8521,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8369
8521
  O.value = s.schemaKey, j.value += 1;
8370
8522
  }
8371
8523
  return (n, o) => (S(), a(t, null, [
8372
- !Object.keys(y.value).length && !Object.keys(b.value).length && !Object.keys(x.value).length && !v.value ? (S(), r(k(le), {
8524
+ !Object.keys(y.value).length && !Object.keys(b.value).length && !Object.keys(x.value).length && !v.value ? (S(), r(k(de), {
8373
8525
  key: 0,
8374
8526
  label: e.searchString ? `${e.texts.notFoundSearch} ${JSON.stringify(s.searchString)}` : e.texts.notFoundProps
8375
8527
  }, null, 8, ["label"])) : i("", !0),
8376
- Object.keys(y.value).length ? (S(), r(k(H), {
8528
+ Object.keys(y.value).length ? (S(), r(k(B), {
8377
8529
  key: 1,
8378
8530
  kind: "stripped"
8379
8531
  }, {
@@ -8381,7 +8533,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8381
8533
  key: t.name,
8382
8534
  label: `:${n}`
8383
8535
  }, {
8384
- default: N(() => [l(ur, {
8536
+ default: N(() => [l(dr, {
8385
8537
  modelValue: u.value,
8386
8538
  item: t,
8387
8539
  name: n,
@@ -8408,11 +8560,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8408
8560
  }, 1032, ["label"])), [[A, e.extra]])), 128))]),
8409
8561
  _: 1
8410
8562
  })) : i("", !0),
8411
- Object.keys(b.value).length || v.value ? (S(), r(k(ue), {
8563
+ Object.keys(b.value).length || v.value ? (S(), r(k(fe), {
8412
8564
  key: 2,
8413
8565
  label: e.texts.additionalLabel
8414
8566
  }, {
8415
- default: N(() => [l(k(H), { kind: "stripped" }, {
8567
+ default: N(() => [l(k(B), { kind: "stripped" }, {
8416
8568
  default: N(() => [v.value ? (S(), r(k(W), {
8417
8569
  key: 0,
8418
8570
  label: "schemaKey"
@@ -8431,7 +8583,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8431
8583
  "modelValue",
8432
8584
  "invalid",
8433
8585
  "invalidationMessage"
8434
- ])), e.schemaKeyError ? (S(), r(k(I), {
8586
+ ])), e.schemaKeyError ? (S(), r(k(F), {
8435
8587
  key: 0,
8436
8588
  icon: "reset",
8437
8589
  kind: "tertiary",
@@ -8446,7 +8598,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8446
8598
  key: t.name,
8447
8599
  label: `:${n}`
8448
8600
  }, {
8449
- default: N(() => [l(ur, {
8601
+ default: N(() => [l(dr, {
8450
8602
  modelValue: u.value,
8451
8603
  item: t,
8452
8604
  name: n,
@@ -8465,16 +8617,16 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8465
8617
  })]),
8466
8618
  _: 1
8467
8619
  }, 8, ["label"])) : i("", !0),
8468
- Object.keys(x.value).length ? (S(), r(k(ue), {
8620
+ Object.keys(x.value).length ? (S(), r(k(fe), {
8469
8621
  key: 3,
8470
8622
  label: e.texts.modeLabel
8471
8623
  }, {
8472
- default: N(() => [l(k(H), { kind: "stripped" }, {
8624
+ default: N(() => [l(k(B), { kind: "stripped" }, {
8473
8625
  default: N(() => [(S(!0), a(t, null, w(x.value, (t, n) => (S(), r(k(W), {
8474
8626
  key: t.name,
8475
8627
  label: `:${n}`
8476
8628
  }, {
8477
- default: N(() => [l(ur, {
8629
+ default: N(() => [l(dr, {
8478
8630
  modelValue: u.value,
8479
8631
  item: t,
8480
8632
  name: n,
@@ -8495,23 +8647,23 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8495
8647
  }, 8, ["label"])) : i("", !0)
8496
8648
  ], 64));
8497
8649
  }
8498
- }, fr = { class: "lx-panel" }, pr = { class: "button-side" }, mr = {
8650
+ }, pr = { class: "lx-panel" }, mr = { class: "button-side" }, hr = {
8499
8651
  key: 0,
8500
8652
  class: "panel-side"
8501
- }, hr = { class: "header-wrapper" }, gr = {
8653
+ }, gr = { class: "header-wrapper" }, _r = {
8502
8654
  key: 1,
8503
8655
  class: "header-wrapper"
8504
- }, _r = { key: 0 }, vr = { key: 1 }, yr = { key: 2 }, br = {
8656
+ }, vr = { key: 0 }, yr = { key: 1 }, br = { key: 2 }, xr = {
8505
8657
  key: 0,
8506
8658
  class: "panel-main"
8507
- }, xr = { class: "button-group" }, Sr = {
8659
+ }, Sr = { class: "button-group" }, Cr = {
8508
8660
  key: 1,
8509
8661
  class: "no-component-wrapper"
8510
- }, Cr = {
8662
+ }, wr = {
8511
8663
  key: 1,
8512
8664
  class: "panel-main lx-region",
8513
8665
  style: { padding: "0.25rem" }
8514
- }, wr = { key: 2 }, Tr = { class: "settings-wrapper" }, Er = /* @__PURE__ */ u({
8666
+ }, Tr = { key: 2 }, Er = { class: "settings-wrapper" }, Dr = /* @__PURE__ */ u({
8515
8667
  __name: "Panel",
8516
8668
  props: {
8517
8669
  componentName: {
@@ -8605,9 +8757,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8605
8757
  edit: "Labot",
8606
8758
  editing: "Labošana",
8607
8759
  searchText: "Meklēt"
8608
- }, d = n(() => He.getDisplayTexts(c.texts, u)), f = s, p = {
8760
+ }, d = n(() => J.getDisplayTexts(c.texts, u)), f = s, p = {
8609
8761
  LxTextInput: (e, t) => {
8610
- e.type = "string", e.maxLength = t.maxlength, e.lx.mask = t.mask || "default", e.lx.kind = t.kind || "default", e.lx.scale = t.scale, e.lx.tooltip = t.tooltip, e.lx.disabled = t.disabled || !1, e.lx.uppercase = t.uppercase || !1, e.lx.convertToString = t.convertToString || !1, e.lx.placeholder = t.placeholder, e.lx.signed = t.signed || !1, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8762
+ e.type = "string", e.maxLength = t.maxlength, e.lx.mask = t.mask || "default", e.lx.kind = t.kind || "default", e.lx.scale = t.scale, e.lx.tooltip = t.tooltip, e.lx.disabled = t.disabled || !1, e.lx.uppercase = t.uppercase || !1, e.lx.convertToString = t.convertToString || !1, e.lx.placeholder = t.placeholder, e.lx.signed = t.signed || !1, e.lx.helperText = t.helperText, e.lx.helperTextKind = t.helperTextKind || "label", e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8611
8763
  },
8612
8764
  LxToggle: (e, t) => {
8613
8765
  e.type = "boolean", e.lx.size = t.size || "m", e.lx.disabled = t.disabled || !1, e.lx.tooltip = t.tooltip, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
@@ -8619,10 +8771,10 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8619
8771
  e.title = t.label, e.lx.columnSpan = t.columnSpan || "1", e.lx.rowSpan = t.rowSpan || "1", e.lx.rowActionDefinitions = t.rowActionDefinitions;
8620
8772
  },
8621
8773
  LxTextArea: (e, t) => {
8622
- e.type = "string", e.maxLength = t.maxlength, e.lx.kind = "multiline", e.lx.placeholder = t.placeholder, e.lx.rows = t.rows || 3, e.lx.disabled = t.disabled || !1, e.lx.dynamicHeight = t.dynamicHeight || !1, e.lx.tooltip = t.tooltip, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8774
+ e.type = "string", e.maxLength = t.maxlength, e.lx.kind = "multiline", e.lx.placeholder = t.placeholder, e.lx.rows = t.rows || 3, e.lx.disabled = t.disabled || !1, e.lx.dynamicHeight = t.dynamicHeight || !1, e.lx.tooltip = t.tooltip, e.lx.texts = t.texts || {}, e.lx.helperText = t.helperText, e.lx.helperTextKind = t.helperTextKind || "label", e.readOnly = t.readOnly || !1;
8623
8775
  },
8624
8776
  LxDateTimePicker: (e, t) => {
8625
- e.type = "string", e.format = t.kind || "date", e.lx.placeholder = t.placeholder, e.lx.tooltip = t.tooltip, e.lx.minDate = t.minDate, e.lx.maxDate = t.maxDate, e.lx.required = t.required || !1, e.lx.disabled = t.disabled || !1, e.lx.timeAdjust = t.timeAdjust, e.lx.clearIfNotExact = t.clearIfNotExact || !1, e.lx.texts = t.texts, e.lx.locale = t.locale, e.lx.specialDates = t.specialDates, e.lx.dictionary = t.dictionary, e.lx.variant = t.variant || "default", e.lx.cadenceOfMinutes = t.cadenceOfMinutes ? Number(t.cadenceOfMinutes) : 1, e.lx.cadenceOfSeconds = t.cadenceOfSeconds ? Number(t.cadenceOfSeconds) : 1, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8777
+ e.type = "string", e.format = t.kind || "date", e.lx.placeholder = t.placeholder, e.lx.tooltip = t.tooltip, e.lx.minDate = t.minDate, e.lx.maxDate = t.maxDate, e.lx.required = t.required || !1, e.lx.disabled = t.disabled || !1, e.lx.timeAdjust = t.timeAdjust, e.lx.clearIfNotExact = t.clearIfNotExact || !1, e.lx.texts = t.texts, e.lx.locale = t.locale, e.lx.specialDates = t.specialDates, e.lx.dictionary = t.dictionary, e.lx.variant = t.variant || "default", e.lx.cadenceOfMinutes = t.cadenceOfMinutes ? Number(t.cadenceOfMinutes) : 1, e.lx.cadenceOfSeconds = t.cadenceOfSeconds ? Number(t.cadenceOfSeconds) : 1, e.lx.helperText = t.helperText, e.lx.helperTextKind = t.helperTextKind || "label", e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8626
8778
  },
8627
8779
  LxAutoComplete: (e, t) => {
8628
8780
  e.type = t.selectionKind === "multiple" ? "array" : "string", e.lx.items = t.items || [], e.lx.idAttribute = t.idAttribute || "id", e.lx.nameAttribute = t.nameAttribute || "name", e.lx.dictionary = t.dictionary, e.lx.groupId = t.groupId, e.lx.queryMinLength = t.queryMinLength || 0, e.lx.queryMaxLength = t.queryMaxLength, e.lx.queryDebounce = t.queryDebounce || 200, e.lx.placeholder = t.placeholder, e.lx.tooltip = t.tooltip, e.lx.disabled = t.disabled || !1, e.lx.loading = t.loading || !1, e.lx.hasDetails = t.hasDetails || !1, e.lx.selectionKind = t.selectionKind || "single", e.lx.preloadedItems = t.preloadedItems, e.lx.labelId = t.labelId, e.lx.hasSelectAll = t.hasSelectAll || !1, e.lx.enableAdditionalText = t.enableAdditionalText || !1, e.lx.texts = t.texts || {}, e.lx.searchAttributes = t.searchAttributes, e.readOnly = t.readOnly || !1;
@@ -8658,7 +8810,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8658
8810
  e.type = "string", e.lx.disabled = t.disabled ?? !1, e.lx.width = t.width || "500", e.lx.height = t.height || "400", e.lx.instrument = t.instrument || "brush", e.lx.color = t.color || "black", e.lx.showInstruments = t.showInstruments ?? !1, e.lx.showColorPicker = t.showColorPicker ?? !1, e.lx.showClearAll = t.showClearAll ?? !1, e.lx.labelId = t.labelId, e.lx.stickyToolbar = t.stickyToolbar ?? !1, e.lx.actionDefinitions = t.actionDefinitions, e.lx.texts = t.texts, e.readOnly = t.readOnly ?? !1;
8659
8811
  },
8660
8812
  LxMarkdownTextArea: (e, t) => {
8661
- e.type = "string", e.lx.placeholder = t.placeholder, e.lx.rows = t.rows, e.maxLength = t.maxlength, e.lx.disabled = t.disabled ?? !1, e.lx.showColorPicker = t.showColorPicker ?? !1, e.lx.showLinkEditor = t.showLinkEditor ?? !0, e.lx.tooltip = t.tooltip, e.lx.showPlaceholderPicker = t.showPlaceholderPicker ?? !1, e.lx.showImagePicker = t.showImagePicker ?? !1, e.lx.showUnderlineToggle = t.showUnderlineToggle ?? !1, e.lx.showHeadingPicker = t.showHeadingPicker ?? !1, e.lx.imageMaxSize = t.imageMaxSize ?? 3e6, e.lx.dictionary = t.dictionary, e.lx.labelId = t.labelId, e.lx.stickyToolbar = t.stickyToolbar ?? !1, e.lx.actionDefinitions = t.actionDefinitions, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly ?? !1;
8813
+ e.type = "string", e.lx.placeholder = t.placeholder, e.lx.rows = t.rows, e.maxLength = t.maxlength, e.lx.disabled = t.disabled ?? !1, e.lx.showColorPicker = t.showColorPicker ?? !1, e.lx.showLinkEditor = t.showLinkEditor ?? !0, e.lx.tooltip = t.tooltip, e.lx.showPlaceholderPicker = t.showPlaceholderPicker ?? !1, e.lx.showImagePicker = t.showImagePicker ?? !1, e.lx.showUnderlineToggle = t.showUnderlineToggle ?? !1, e.lx.showHeadingPicker = t.showHeadingPicker ?? !1, e.lx.imageMaxSize = t.imageMaxSize ?? 3e6, e.lx.dictionary = t.dictionary, e.lx.labelId = t.labelId, e.lx.stickyToolbar = t.stickyToolbar ?? !1, e.lx.actionDefinitions = t.actionDefinitions, e.lx.helperText = t.helperText, e.lx.helperTextKind = t.helperTextKind || "label", e.lx.texts = t.texts || {}, e.readOnly = t.readOnly ?? !1;
8662
8814
  },
8663
8815
  LxSection: (e, t) => {
8664
8816
  e.type = "object", e.properties = e.properties || {}, e.title = t.label, e.description = t.description, e.lx.columnCount = Number(t.columnCount) || 1, e.lx.requiredMode = t.requiredMode || "none", e.lx.icon = t.icon, e.lx.iconSet = t.iconSet || "cds", e.lx.customClass = t.customClass, e.lx.badge = t.badge, e.lx.actionDefinitions = t.actionDefinitions, e.lx.orientation = t.orientation, e.lx.texts = t.texts || {};
@@ -8697,7 +8849,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8697
8849
  name: d.value?.containers,
8698
8850
  badgeTitle: d.value?.containers,
8699
8851
  expanded: !0
8700
- }]), b = C(ar());
8852
+ }]), b = C(or());
8701
8853
  function x() {
8702
8854
  return c.componentName === "LxForm" && !c.schemaInfo?.isSectionInFilterForm;
8703
8855
  }
@@ -8745,7 +8897,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8745
8897
  }), A = n(() => c.componentName ? c.navigation.map((e, t, n) => t === n.length - 1 ? {
8746
8898
  ...e,
8747
8899
  active: !0
8748
- } : e) : []), M = Kn((e) => {
8900
+ } : e) : []), M = qn((e) => {
8749
8901
  f("update:schemaKey", e);
8750
8902
  }, 500), P = n({
8751
8903
  get() {
@@ -8754,22 +8906,22 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8754
8906
  set(e) {
8755
8907
  M(e);
8756
8908
  }
8757
- }), F = C(null);
8758
- function ee() {
8909
+ }), ee = C(null);
8910
+ function te() {
8759
8911
  return c.componentName && c.componentName !== "LxViewLayout";
8760
8912
  }
8761
- function te() {
8913
+ function ne() {
8762
8914
  return c.componentName && c.componentName !== "LxViewLayout" && c.componentName !== "LxFilters";
8763
8915
  }
8764
- return (n, s) => (S(), a("div", fr, [o("div", pr, [
8765
- l(k(I), {
8916
+ return (n, s) => (S(), a("div", pr, [o("div", mr, [
8917
+ l(k(F), {
8766
8918
  icon: h.value ? "close-panel" : "open-panel",
8767
8919
  variant: "icon-only",
8768
8920
  label: h.value ? d.value?.closePanel : d.value?.openPanel,
8769
8921
  kind: "secondary",
8770
8922
  onClick: s[0] ||= (e) => v(h.value)
8771
8923
  }, null, 8, ["icon", "label"]),
8772
- l(k(I), {
8924
+ l(k(F), {
8773
8925
  icon: "config",
8774
8926
  variant: "icon-only",
8775
8927
  label: d.value?.config,
@@ -8777,7 +8929,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8777
8929
  active: h.value && g.value === "config",
8778
8930
  onClick: s[1] ||= (e) => (g.value = "config", h.value = !0)
8779
8931
  }, null, 8, ["label", "active"]),
8780
- l(k(I), {
8932
+ l(k(F), {
8781
8933
  icon: "components",
8782
8934
  variant: "icon-only",
8783
8935
  label: d.value?.components,
@@ -8785,7 +8937,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8785
8937
  active: h.value && g.value === "components",
8786
8938
  onClick: s[2] ||= (e) => (g.value = "components", h.value = !0)
8787
8939
  }, null, 8, ["label", "active"]),
8788
- l(k(I), {
8940
+ l(k(F), {
8789
8941
  icon: "settings",
8790
8942
  variant: "icon-only",
8791
8943
  label: d.value?.settings,
@@ -8793,33 +8945,33 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8793
8945
  active: h.value && g.value === "settings",
8794
8946
  onClick: s[3] ||= (e) => (g.value = "settings", h.value = !0)
8795
8947
  }, null, 8, ["label", "active"])
8796
- ]), h.value ? (S(), a("div", mr, [o("div", null, [
8797
- o("div", { class: _(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (S(), r(k(ce), {
8948
+ ]), h.value ? (S(), a("div", hr, [o("div", null, [
8949
+ o("div", { class: _(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (S(), r(k(ue), {
8798
8950
  key: 0,
8799
8951
  actionDefinitions: A.value,
8800
8952
  onActionClick: T
8801
8953
  }, {
8802
- default: N(() => [o("div", hr, [e.componentName ? (S(), a(t, { key: 0 }, [o("p", null, D(e.componentName), 1), l(k(he), { value: "menu" })], 64)) : i("", !0)])]),
8954
+ default: N(() => [o("div", gr, [e.componentName ? (S(), a(t, { key: 0 }, [o("p", null, D(e.componentName), 1), l(k(_e), { value: "menu" })], 64)) : i("", !0)])]),
8803
8955
  _: 1
8804
- }, 8, ["actionDefinitions"])) : (S(), a("div", gr, [g.value === "components" ? (S(), a("p", _r, D(d.value?.components), 1)) : g.value === "settings" ? (S(), a("p", vr, D(d.value?.settings), 1)) : (S(), a("p", yr, D(d.value?.actionPanel), 1))]))], 2),
8805
- g.value === "config" ? (S(), a("div", br, [
8806
- o("div", xr, [l(k(I), {
8956
+ }, 8, ["actionDefinitions"])) : (S(), a("div", _r, [g.value === "components" ? (S(), a("p", vr, D(d.value?.components), 1)) : g.value === "settings" ? (S(), a("p", yr, D(d.value?.settings), 1)) : (S(), a("p", br, D(d.value?.actionPanel), 1))]))], 2),
8957
+ g.value === "config" ? (S(), a("div", xr, [
8958
+ o("div", Sr, [l(k(F), {
8807
8959
  icon: "copy",
8808
8960
  kind: "secondary",
8809
8961
  label: d.value?.duplicate,
8810
- disabled: !te(),
8962
+ disabled: !ne(),
8811
8963
  onClick: s[4] ||= (e) => f("duplicateComponent")
8812
- }, null, 8, ["label", "disabled"]), l(k(I), {
8964
+ }, null, 8, ["label", "disabled"]), l(k(F), {
8813
8965
  icon: "delete",
8814
8966
  kind: "secondary",
8815
8967
  label: d.value?.delete,
8816
- disabled: !ee(),
8968
+ disabled: !te(),
8817
8969
  destructive: !0,
8818
8970
  onClick: s[5] ||= (e) => f("removeComponent")
8819
8971
  }, null, 8, ["label", "disabled"])]),
8820
8972
  l(k(K), {
8821
- modelValue: F.value,
8822
- "onUpdate:modelValue": s[6] ||= (e) => F.value = e,
8973
+ modelValue: ee.value,
8974
+ "onUpdate:modelValue": s[6] ||= (e) => ee.value = e,
8823
8975
  kind: "search",
8824
8976
  placeholder: d.value?.searchProps,
8825
8977
  disabled: !e.componentName,
@@ -8829,13 +8981,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8829
8981
  "placeholder",
8830
8982
  "disabled"
8831
8983
  ]),
8832
- e.componentName ? (S(), r(dr, {
8984
+ e.componentName ? (S(), r(fr, {
8833
8985
  key: 0,
8834
8986
  modelValue: O.value,
8835
8987
  "onUpdate:modelValue": s[7] ||= (e) => O.value = e,
8836
8988
  componentName: e.componentName,
8837
8989
  componentPropsDefinitions: e.componentPropsDefinitions,
8838
- searchString: F.value,
8990
+ searchString: ee.value,
8839
8991
  componentModel: m.value,
8840
8992
  "onUpdate:componentModel": s[8] ||= (e) => m.value = e,
8841
8993
  schemaKey: P.value,
@@ -8853,9 +9005,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8853
9005
  "schemaKeyError",
8854
9006
  "navigation",
8855
9007
  "texts"
8856
- ])) : (S(), a("div", Sr, [l(k(le), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
9008
+ ])) : (S(), a("div", Cr, [l(k(de), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
8857
9009
  ])) : i("", !0),
8858
- g.value === "components" ? (S(), a("div", Cr, [l(k(ve), {
9010
+ g.value === "components" ? (S(), a("div", wr, [l(k(be), {
8859
9011
  listType: "1",
8860
9012
  hasSearch: !0,
8861
9013
  items: w.value,
@@ -8875,32 +9027,32 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8875
9027
  "groupDefinitions",
8876
9028
  "texts"
8877
9029
  ])])) : i("", !0),
8878
- g.value === "settings" ? (S(), a("div", wr, [o("div", Tr, [
8879
- l(k(I), {
9030
+ g.value === "settings" ? (S(), a("div", Tr, [o("div", Er, [
9031
+ l(k(F), {
8880
9032
  kind: "secondary",
8881
9033
  label: d.value?.import,
8882
9034
  icon: "upload",
8883
9035
  onClick: s[11] ||= (e) => f("import")
8884
9036
  }, null, 8, ["label"]),
8885
- l(k(I), {
9037
+ l(k(F), {
8886
9038
  kind: "secondary",
8887
9039
  label: d.value?.export,
8888
9040
  icon: "save",
8889
9041
  onClick: s[12] ||= (e) => f("export")
8890
9042
  }, null, 8, ["label"]),
8891
- l(k(I), {
9043
+ l(k(F), {
8892
9044
  kind: "secondary",
8893
9045
  label: d.value?.editSchema,
8894
9046
  icon: "edit",
8895
9047
  onClick: s[13] ||= (e) => f("editSchema")
8896
9048
  }, null, 8, ["label"]),
8897
- l(k(I), {
9049
+ l(k(F), {
8898
9050
  kind: "secondary",
8899
9051
  label: d.value?.editModel,
8900
9052
  icon: "editItem",
8901
9053
  onClick: s[14] ||= (e) => f("editModel")
8902
9054
  }, null, 8, ["label"]),
8903
- l(k(I), {
9055
+ l(k(F), {
8904
9056
  kind: "secondary",
8905
9057
  label: d.value?.reportIssue,
8906
9058
  icon: "bug",
@@ -8909,7 +9061,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8909
9061
  ])])) : i("", !0)
8910
9062
  ])])) : i("", !0)]));
8911
9063
  }
8912
- }), Dr = { id: "constructor-overlay" }, Or = { class: "highlight-toolbar" }, kr = { class: "highlight-toolbar highlight-toolbar-remove" }, Ar = { id: "constructor" }, jr = { class: "code-display" }, Mr = { class: "code" }, Nr = { class: "import-switcher" }, Pr = { class: "component-add-text" }, Fr = { class: "lx-primary" }, Ir = { class: "lx-secondary" }, Lr = /* @__PURE__ */ u({
9064
+ }), Or = { id: "constructor-overlay" }, kr = { class: "highlight-toolbar" }, Ar = { class: "highlight-toolbar highlight-toolbar-remove" }, jr = { id: "constructor" }, Mr = { class: "code-display" }, Nr = { class: "code" }, Pr = { class: "import-switcher" }, Fr = { class: "component-add-text" }, Ir = { class: "lx-primary" }, Lr = { class: "lx-secondary" }, Rr = /* @__PURE__ */ u({
8913
9065
  __name: "Constructor",
8914
9066
  props: {
8915
9067
  schema: {
@@ -9008,44 +9160,44 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9008
9160
  metaMainLastModified: "Pēdējās izmaiņas",
9009
9161
  metaMainDataSize: "Datnes izmērs"
9010
9162
  }
9011
- }, u = n(() => He.getDisplayTexts(s.texts, c)), d = C({}), f = t, p = n({
9163
+ }, u = n(() => J.getDisplayTexts(s.texts, c)), d = C({}), f = t, p = n({
9012
9164
  get() {
9013
9165
  return s.schema;
9014
9166
  },
9015
9167
  set(e) {
9016
9168
  f("update:schema", e);
9017
9169
  }
9018
- }), { width: m, height: h } = rr(), _ = C([]), y = C(null), x = C(null), w = C(null), T = C(null), E = C(null), O = C({
9170
+ }), { width: m, height: h } = ir(), _ = C([]), y = C(null), x = C(null), w = C(null), T = C(null), E = C(null), O = C({
9019
9171
  visible: !1,
9020
9172
  style: {},
9021
9173
  el: null,
9022
9174
  padding: 2
9023
- }), M = C(), F = C({
9175
+ }), M = C(), ee = C({
9024
9176
  canPlaceInside: !1,
9025
9177
  key: null,
9026
9178
  path: null
9027
- }), ee = C({
9179
+ }), te = C({
9028
9180
  canMoveOut: !1,
9029
9181
  parentKey: null,
9030
9182
  parentPath: null,
9031
9183
  targetPath: null,
9032
9184
  placement: null
9033
- }), te = C(null), L = C(null), ne = C(null), R = C(null), z = C(null), ie = C(null), B = C("file"), V = C(), ae = C(null), se = C(null), ce = C(null), le = n(() => !ie.value), ue = C(null), fe = C(null), pe = C(null), me = C(null), H = C(), ge = C({
9185
+ }), ne = C(null), I = C(null), re = C(null), ie = C(null), ae = C(null), R = C(null), z = C("file"), oe = C(), se = C(null), le = C(null), ue = C(null), de = n(() => !R.value), fe = C(null), me = C(null), he = C(null), ge = C(null), B = C(), ve = C({
9034
9186
  label: null,
9035
9187
  description: null,
9036
9188
  kind: "danger",
9037
9189
  primaryAction: null,
9038
9190
  secondaryAction: null
9039
- }), _e = C({
9191
+ }), ye = C({
9040
9192
  canMoveBack: !1,
9041
9193
  canMoveForward: !1,
9042
9194
  moveOut: !1,
9043
9195
  canMoveForwardIn: !1
9044
9196
  });
9045
- function ye() {
9046
- _e.value.canMoveBack = !1, _e.value.canMoveForward = !1, _e.value.moveOut = !1, _e.value.canMoveForwardIn = !1;
9197
+ function xe() {
9198
+ ye.value.canMoveBack = !1, ye.value.canMoveForward = !1, ye.value.moveOut = !1, ye.value.canMoveForwardIn = !1;
9047
9199
  }
9048
- function be(e) {
9200
+ function Se(e) {
9049
9201
  if (O.value.el = e.target, !O.value.el) return;
9050
9202
  let t = O.value.el.getBoundingClientRect(), n = window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0, r = O.value.padding;
9051
9203
  O.value.style = {
@@ -9055,29 +9207,29 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9055
9207
  height: `${t.height + r * 2}px`
9056
9208
  }, O.value.visible = !0;
9057
9209
  }
9058
- function xe() {
9210
+ function Ce() {
9059
9211
  g(() => {
9060
- be({ target: O.value.el });
9212
+ Se({ target: O.value.el });
9061
9213
  });
9062
9214
  }
9063
- function Se(e) {
9215
+ function we(e) {
9064
9216
  let t = e?.replace(/-wrapper$/, "");
9065
9217
  return ze.get(t)?.type === "LxRow";
9066
9218
  }
9067
- function we(e, t) {
9068
- return t?.reduce((e, t) => He.isNil(e) ? void 0 : e[t], e);
9219
+ function V(e, t) {
9220
+ return t?.reduce((e, t) => J.isNil(e) ? void 0 : e[t], e);
9069
9221
  }
9070
- function U(e = null) {
9222
+ function H(e = null) {
9071
9223
  let t = e || M.value, n = [];
9072
9224
  return E.value = t?.split("."), E.value?.forEach((e) => {
9073
9225
  n.push("properties", e);
9074
9226
  }), n;
9075
9227
  }
9076
- function Te(e) {
9228
+ function U(e) {
9077
9229
  return e?.lx?.displayType;
9078
9230
  }
9079
9231
  function Ee(e) {
9080
- return e && Object.prototype.hasOwnProperty.call(e, "properties") && e.properties ? Te(e) === "form" ? Object.values(e.properties).some((e) => Te(e) === "section") : !0 : !1;
9232
+ return e && Object.prototype.hasOwnProperty.call(e, "properties") && e.properties ? U(e) === "form" ? Object.values(e.properties).some((e) => U(e) === "section") : !0 : !1;
9081
9233
  }
9082
9234
  function De(e) {
9083
9235
  if (!Array.isArray(e)) return !1;
@@ -9088,18 +9240,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9088
9240
  t.includes("LxSection", r + 1);
9089
9241
  }
9090
9242
  function Oe(e, t) {
9091
- (!M.value || !t) && ye();
9092
- let n = M.value?.split(".")?.slice(-1)[0], r = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, i = (r ? we(e, U(r)) : e)?.properties, a = Object.keys(i), o = a.indexOf(n), s = o >= 0 ? a[o + 1] : null, c = s ? i[s] : null, l = o > 0 ? a[o - 1] : null;
9093
- _e.value.canMoveBack = !!l, _e.value.canMoveForward = !!s, _e.value.canMoveForwardIn = Ee(c) && y.value !== "LxSection";
9243
+ (!M.value || !t) && xe();
9244
+ let n = M.value?.split(".")?.slice(-1)[0], r = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, i = (r ? V(e, H(r)) : e)?.properties, a = Object.keys(i), o = a.indexOf(n), s = o >= 0 ? a[o + 1] : null, c = s ? i[s] : null, l = o > 0 ? a[o - 1] : null;
9245
+ ye.value.canMoveBack = !!l, ye.value.canMoveForward = !!s, ye.value.canMoveForwardIn = Ee(c) && y.value !== "LxSection";
9094
9246
  let u = r?.includes(".") ? r?.split(".")?.slice(0, -1).join(".") : null, d = r?.split(".")?.slice(-1)[0] || null, f = !!r && !!d && !!u;
9095
- _e.value.moveOut = f && !De(_.value);
9247
+ ye.value.moveOut = f && !De(_.value);
9096
9248
  }
9097
9249
  function ke() {
9098
9250
  document.getElementById("constructor")?.addEventListener("click", (e) => {
9099
9251
  let t = e.target, n = null;
9100
9252
  for (; t;) {
9101
- if (t.dataset.id && ze.get(t.dataset.id) || Se(t.id)) {
9102
- if (Se(t.id)) {
9253
+ if (t.dataset.id && ze.get(t.dataset.id) || we(t.id)) {
9254
+ if (we(t.id)) {
9103
9255
  let e = t.id?.replace(/-wrapper$/, "");
9104
9256
  n = ze.get(e);
9105
9257
  } else n = ze.get(t.dataset.id || t.id);
@@ -9107,9 +9259,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9107
9259
  }
9108
9260
  t = t.parentElement;
9109
9261
  }
9110
- n && (y.value = n.type, w.value = n.node.type.props, x.value = q.objectClone(n.props), be({ target: t }), M.value = n.builderName, _.value = n.componentStack, te.value = M.value?.includes(".") ? M.value?.split(".")?.slice(-1)[0] : M.value, pe.value = null), T.value = we(p.value, U());
9262
+ n && (y.value = n.type, w.value = n.node.type.props, x.value = q.objectClone(n.props), Se({ target: t }), M.value = n.builderName, _.value = n.componentStack, ne.value = M.value?.includes(".") ? M.value?.split(".")?.slice(-1)[0] : M.value, he.value = null), T.value = V(p.value, H());
9111
9263
  let r = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9112
- L.value = we(p.value, U(r)?.slice(0, -1)), Oe(p.value, T.value), me.value = "config";
9264
+ I.value = V(p.value, H(r)?.slice(0, -1)), Oe(p.value, T.value), ge.value = "config";
9113
9265
  });
9114
9266
  }
9115
9267
  function W() {
@@ -9128,14 +9280,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9128
9280
  }
9129
9281
  function Me(e, t) {
9130
9282
  if (!Array.isArray(t) || t.length === 0) return;
9131
- let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ? we(e, n) : e;
9283
+ let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ? V(e, n) : e;
9132
9284
  !i || !Object.prototype.hasOwnProperty.call(i, r) || delete i[r];
9133
9285
  }
9134
9286
  function K(e, t) {
9135
9287
  let n = e?.split(".")?.filter(Boolean) || [], r = t?.split(".")?.filter(Boolean) || [];
9136
9288
  if (!n.length || !r.length) return;
9137
- let i = we(d.value, n);
9138
- if (He.isNil(i)) return;
9289
+ let i = V(d.value, n);
9290
+ if (J.isNil(i)) return;
9139
9291
  let a = q.objectClone(d.value || {});
9140
9292
  je(a, r, i), Me(a, n), d.value = a;
9141
9293
  }
@@ -9145,17 +9297,17 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9145
9297
  t.push("properties", e);
9146
9298
  });
9147
9299
  let n = q.objectClone(p.value);
9148
- je(n, t, e), p.value = n, T.value = e, xe();
9300
+ je(n, t, e), p.value = n, T.value = e, Ce();
9149
9301
  }
9150
9302
  function Ie() {
9151
- F.value = {
9303
+ ee.value = {
9152
9304
  canPlaceInside: !1,
9153
9305
  key: null,
9154
9306
  path: null
9155
9307
  };
9156
9308
  }
9157
9309
  function Le() {
9158
- ee.value = {
9310
+ te.value = {
9159
9311
  canMoveOut: !1,
9160
9312
  parentKey: null,
9161
9313
  parentPath: null,
@@ -9165,8 +9317,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9165
9317
  }
9166
9318
  function Re(e, t) {
9167
9319
  if (!e || !t || !Object.prototype.hasOwnProperty.call(t, e)) return e;
9168
- let n = Y.generateUUID();
9169
- for (; Object.prototype.hasOwnProperty.call(t, n);) n = Y.generateUUID();
9320
+ let n = He.generateUUID();
9321
+ for (; Object.prototype.hasOwnProperty.call(t, n);) n = He.generateUUID();
9170
9322
  return n;
9171
9323
  }
9172
9324
  function Be(e) {
@@ -9175,7 +9327,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9175
9327
  function Ve(e) {
9176
9328
  return Be(e).join(".");
9177
9329
  }
9178
- function J(e) {
9330
+ function Y(e) {
9179
9331
  e && g(() => {
9180
9332
  let t = Array.from(ze.all().entries()).find(([, t]) => t?.builderName === e);
9181
9333
  if (!t) return;
@@ -9188,15 +9340,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9188
9340
  }
9189
9341
  function Ue() {
9190
9342
  if (!M.value) return;
9191
- let e = M.value, t = M.value?.split(".")?.slice(-1)[0], n = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, r = n ? U(n) : null, i = q.objectClone(p.value), a = r ? we(i, r) : i, o = a?.properties;
9343
+ let e = M.value, t = M.value?.split(".")?.slice(-1)[0], n = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, r = n ? H(n) : null, i = q.objectClone(p.value), a = r ? V(i, r) : i, o = a?.properties;
9192
9344
  if (!o || !t) return;
9193
9345
  let s = Object.keys(o), c = s[s.indexOf(t) + 1];
9194
9346
  if (!c) return;
9195
9347
  let l = o[t], u = o[c];
9196
9348
  if (!l || !u || !Ee(u)) return;
9197
9349
  let d = u, f = [n, c].filter(Boolean)?.join(".");
9198
- if (Te(u) === "form") {
9199
- let e = Object.entries(u.properties || {}).find(([, e]) => Te(e) === "section");
9350
+ if (U(u) === "form") {
9351
+ let e = Object.entries(u.properties || {}).find(([, e]) => U(e) === "section");
9200
9352
  if (!e) return;
9201
9353
  let [t, n] = e;
9202
9354
  d = n, f = [f, t].filter(Boolean).join(".");
@@ -9205,9 +9357,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9205
9357
  d.properties = {
9206
9358
  ...h,
9207
9359
  [g]: m
9208
- }, je(i, U(f), d), a.properties = Object.fromEntries(Object.entries(o).filter(([e]) => e !== t)), r && je(i, r, a), p.value = i;
9360
+ }, je(i, H(f), d), a.properties = Object.fromEntries(Object.entries(o).filter(([e]) => e !== t)), r && je(i, r, a), p.value = i;
9209
9361
  let _ = [f, g].filter(Boolean).join(".");
9210
- K(e, _), J(_);
9362
+ K(e, _), Y(_);
9211
9363
  }
9212
9364
  function We(e) {
9213
9365
  if (!e?.includes(".")) return {
@@ -9221,7 +9373,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9221
9373
  };
9222
9374
  }
9223
9375
  function Ge(e, t) {
9224
- let { parent: n, key: r } = We(e), i = n ? U(n) : null, a = i ? we(t, i) : t;
9376
+ let { parent: n, key: r } = We(e), i = n ? H(n) : null, a = i ? V(t, i) : t;
9225
9377
  return {
9226
9378
  schema: a,
9227
9379
  schemaPath: i,
@@ -9229,8 +9381,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9229
9381
  anchorKey: r
9230
9382
  };
9231
9383
  }
9232
- function Ke({ parentSchema: e, grandParentSchema: t, grandParentSchemaPath: n, grandParentProperties: r, parentKey: i, grandParentPath: a, schemaClone: o }) {
9233
- if (Te(e) === "section" && Te(t) === "form") {
9384
+ function X({ parentSchema: e, grandParentSchema: t, grandParentSchemaPath: n, grandParentProperties: r, parentKey: i, grandParentPath: a, schemaClone: o }) {
9385
+ if (U(e) === "section" && U(t) === "form") {
9234
9386
  let e = Ge(a, o);
9235
9387
  if (e) return e;
9236
9388
  }
@@ -9241,15 +9393,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9241
9393
  anchorKey: i
9242
9394
  };
9243
9395
  }
9244
- function X(e) {
9396
+ function Ke(e) {
9245
9397
  if (!M.value || e !== "next" && e !== "previous") return;
9246
9398
  let t = M.value, { parent: n, key: r } = We(M.value);
9247
9399
  if (!n) return;
9248
9400
  let { parent: i, key: a } = We(n);
9249
9401
  if (!i) return;
9250
- let o = q.objectClone(p.value), s = n ? U(n) : null, c = i ? U(i) : null, l = s ? we(o, s) : o, u = c ? we(o, c) : o, d = l?.properties, f = u?.properties;
9402
+ let o = q.objectClone(p.value), s = n ? H(n) : null, c = i ? H(i) : null, l = s ? V(o, s) : o, u = c ? V(o, c) : o, d = l?.properties, f = u?.properties;
9251
9403
  if (!d || !r || !a) return;
9252
- let { schema: m, schemaPath: h, properties: g, anchorKey: _ } = Ke({
9404
+ let { schema: m, schemaPath: h, properties: g, anchorKey: _ } = X({
9253
9405
  parentSchema: l,
9254
9406
  grandParentSchema: u,
9255
9407
  grandParentSchemaPath: c,
@@ -9268,7 +9420,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9268
9420
  e === _ && (x[b] = y), x[e] = g[e];
9269
9421
  }), m.properties = x, s && je(o, s, l), h && je(o, h, m), p.value = o;
9270
9422
  let S = [Ve(h), b].filter(Boolean).join(".");
9271
- K(t, S), J(S);
9423
+ K(t, S), Y(S);
9272
9424
  }
9273
9425
  function qe(e, t, n) {
9274
9426
  if (t && e === "LxDateTimeRange") {
@@ -9278,13 +9430,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9278
9430
  }
9279
9431
  function Je(e) {
9280
9432
  let t = null;
9281
- M.value?.includes(".") && (t = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9282
- let n = t ? we(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = Y.generateUUID(), a = ir(e), o = n.properties, s = {};
9433
+ M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9434
+ let n = t ? V(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = He.generateUUID(), a = ar(e), o = n.properties, s = {};
9283
9435
  Object.keys(o).forEach((e) => {
9284
9436
  s[e] = o[e], e === r && (s[i] = a);
9285
9437
  }), n.properties = s;
9286
9438
  let c = q.objectClone(p.value);
9287
- je(c, t, n), p.value = c, qe(e, i, t), J([Ve(t), i].filter(Boolean).join("."));
9439
+ je(c, t, n), p.value = c, qe(e, i, t), Y([Ve(t), i].filter(Boolean).join("."));
9288
9440
  }
9289
9441
  function Ye(e) {
9290
9442
  if (!M.value) return !1;
@@ -9292,26 +9444,26 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9292
9444
  if (!n) return !1;
9293
9445
  let r = n?.includes(".") ? n?.split(".")?.slice(0, -1)?.join(".") : null, i = n?.split(".")?.slice(-1)[0] || null;
9294
9446
  if (!i) return !1;
9295
- let a = q.objectClone(p.value), o = we(a, U(n)), s = o?.properties?.[t], c = Te(s) === "section", l = Te(o) === "form";
9447
+ let a = q.objectClone(p.value), o = V(a, H(n)), s = o?.properties?.[t], c = U(s) === "section", l = U(o) === "form";
9296
9448
  if (!c || !l) return !1;
9297
- let u = r ? U(r) : null, d = u ? we(a, u) : a, f = d?.properties;
9449
+ let u = r ? H(r) : null, d = u ? V(a, u) : a, f = d?.properties;
9298
9450
  if (!f) return !1;
9299
- let m = Re(Y.generateUUID(), f), h = ir(e), g = {};
9451
+ let m = Re(He.generateUUID(), f), h = ar(e), g = {};
9300
9452
  return Object.keys(f).forEach((e) => {
9301
9453
  e === i && (g[m] = h), g[e] = f[e];
9302
- }), d.properties = g, u && je(a, u, d), p.value = a, qe(e, m, u), J([Ve(u), m].filter(Boolean).join(".")), !0;
9454
+ }), d.properties = g, u && je(a, u, d), p.value = a, qe(e, m, u), Y([Ve(u), m].filter(Boolean).join(".")), !0;
9303
9455
  }
9304
9456
  function Xe(e) {
9305
9457
  let t = null;
9306
- t = U(M.value?.split(".")?.join("."));
9307
- let n = t ? we(p.value, t) : p.value, r = Object.keys(n.properties || {})[Object.keys(n.properties || {}).length - 1], i = Y.generateUUID(), a = ir(e), o = n.properties, s = {};
9458
+ t = H(M.value?.split(".")?.join("."));
9459
+ let n = t ? V(p.value, t) : p.value, r = Object.keys(n.properties || {})[Object.keys(n.properties || {}).length - 1], i = He.generateUUID(), a = ar(e), o = n.properties, s = {};
9308
9460
  Object.keys(o).forEach((e) => {
9309
9461
  s[e] = o[e];
9310
9462
  }), r ? Object.keys(s).forEach((e) => {
9311
9463
  e === r && (s[i] = a);
9312
9464
  }) : s[i] = a, n.properties = s;
9313
9465
  let c = q.objectClone(p.value);
9314
- je(c, t, n), p.value = c, qe(e, i, t), J([Ve(t), i].filter(Boolean).join("."));
9466
+ je(c, t, n), p.value = c, qe(e, i, t), Y([Ve(t), i].filter(Boolean).join("."));
9315
9467
  }
9316
9468
  function Ze(e) {
9317
9469
  let t = null;
@@ -9321,15 +9473,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9321
9473
  }));
9322
9474
  }
9323
9475
  function Qe(e) {
9324
- fe.value = e, y.value === "LxViewLayout" ? Xe(e) : y.value === "LxForm" || y.value === "LxSection" ? e === "LxSection" || _.value.some((e) => e.name === "LxFilters") ? Xe(e) : ue.value.open() : Je(e);
9476
+ me.value = e, y.value === "LxViewLayout" ? Xe(e) : y.value === "LxForm" || y.value === "LxSection" ? e === "LxSection" || _.value.some((e) => e.name === "LxFilters") ? Xe(e) : fe.value.open() : Je(e);
9325
9477
  }
9326
9478
  function Z(e, t) {
9327
- t === "inside" ? (Xe(fe.value), ue.value.close()) : t === "next" && (y.value === "LxSection" && Ye(fe.value) || Je(fe.value), ue.value.close());
9479
+ t === "inside" ? (Xe(me.value), fe.value.close()) : t === "next" && (y.value === "LxSection" && Ye(me.value) || Je(me.value), fe.value.close());
9328
9480
  }
9329
9481
  function $e() {
9330
9482
  let e = null;
9331
- M.value?.includes(".") && (e = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9332
- let t = e ? we(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
9483
+ M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9484
+ let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
9333
9485
  Object.keys(r).forEach((e) => {
9334
9486
  e !== n && (i[e] = r[e]);
9335
9487
  }), t.properties = i;
@@ -9338,18 +9490,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9338
9490
  }
9339
9491
  function et() {
9340
9492
  let e = null;
9341
- M.value?.includes(".") && (e = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9342
- let t = e ? we(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = Y.generateUUID(), i = q.objectClone(t.properties[n]), a = t.properties, o = {};
9493
+ M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9494
+ let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = He.generateUUID(), i = q.objectClone(t.properties[n]), a = t.properties, o = {};
9343
9495
  Object.keys(a).forEach((e) => {
9344
9496
  o[e] = a[e], e === n && (o[r] = i);
9345
9497
  }), t.properties = o;
9346
9498
  let s = q.objectClone(p.value);
9347
- je(s, e, t), p.value = s, J([Ve(e), r].filter(Boolean).join("."));
9499
+ je(s, e, t), p.value = s, Y([Ve(e), r].filter(Boolean).join("."));
9348
9500
  }
9349
9501
  function tt(e) {
9350
9502
  let t = null;
9351
- M.value?.includes(".") && (t = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9352
- let n = t ? we(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = n.properties, a = {}, o = Object.keys(i), s = o.indexOf(r);
9503
+ M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9504
+ let n = t ? V(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = n.properties, a = {}, o = Object.keys(i), s = o.indexOf(r);
9353
9505
  if (e === "up" && s > 0 || e === "down" && s < o.length - 1) {
9354
9506
  e === "up" ? o.forEach((e, t) => {
9355
9507
  t === s - 1 && (a[r] = i[r]), e !== r && (a[e] = i[e]);
@@ -9358,12 +9510,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9358
9510
  }), n.properties = a;
9359
9511
  let c = q.objectClone(p.value);
9360
9512
  je(c, t, n), p.value = c, g(() => {
9361
- xe(), Oe(p.value, T.value);
9513
+ Ce(), Oe(p.value, T.value);
9362
9514
  });
9363
9515
  }
9364
9516
  }
9365
9517
  function nt() {
9366
- ne.value.open();
9518
+ re.value.open();
9367
9519
  }
9368
9520
  function rt() {
9369
9521
  navigator.clipboard.writeText(JSON.stringify(p.value, null, 2)), f("schemaCopy");
@@ -9376,7 +9528,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9376
9528
  e === "download" ? it() : e === "copy" && rt();
9377
9529
  }
9378
9530
  function ot() {
9379
- B.value = "file", V.value = null, R.value.open();
9531
+ z.value = "file", oe.value = null, ie.value.open();
9380
9532
  }
9381
9533
  function st(e) {
9382
9534
  try {
@@ -9392,58 +9544,58 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9392
9544
  }
9393
9545
  function lt(e) {
9394
9546
  if (e?.length === 0) {
9395
- z.value = [], ie.value = null;
9547
+ ae.value = [], R.value = null;
9396
9548
  return;
9397
9549
  }
9398
- z.value = e;
9550
+ ae.value = e;
9399
9551
  let t = e[0].content?.split(",")[1];
9400
9552
  if (!t) {
9401
- ie.value = null, f("error", "Invalid file content");
9553
+ R.value = null, f("error", "Invalid file content");
9402
9554
  return;
9403
9555
  }
9404
- ie.value = ct(t);
9556
+ R.value = ct(t);
9405
9557
  }
9406
9558
  function ut() {
9407
9559
  O.value.visible = !1, y.value = null, _.value = [], T.value = null, Ie(), Le();
9408
9560
  }
9409
9561
  function dt(e) {
9410
- if (e === "save" && ie.value) {
9411
- if (V.value = null, !st(ie.value)) {
9412
- V.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9562
+ if (e === "save" && R.value) {
9563
+ if (oe.value = null, !st(R.value)) {
9564
+ oe.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9413
9565
  return;
9414
9566
  }
9415
9567
  try {
9416
- p.value = JSON.parse(ie.value), R.value.close(), ut();
9568
+ p.value = JSON.parse(R.value), ie.value.close(), ut();
9417
9569
  } catch {
9418
- V.value = u.value?.errorParsingJsonContent, f("error", "Error parsing JSON content");
9570
+ oe.value = u.value?.errorParsingJsonContent, f("error", "Error parsing JSON content");
9419
9571
  }
9420
9572
  }
9421
9573
  }
9422
9574
  let ft = C(null);
9423
9575
  function pt(e) {
9424
- e === "save" && ie.value && (ft.value = z.value, R.value.close(), ge.value = {
9576
+ e === "save" && R.value && (ft.value = ae.value, ie.value.close(), ve.value = {
9425
9577
  label: u.value?.confirmImport,
9426
9578
  description: u.value?.confirmImportDescription,
9427
9579
  kind: "question",
9428
9580
  primaryAction: () => {
9429
- z.value = ft.value, lt(ft.value), dt("save"), H.value.close();
9581
+ ae.value = ft.value, lt(ft.value), dt("save"), B.value.close();
9430
9582
  },
9431
9583
  secondaryAction: () => {
9432
- H.value.close(), R.value.open(), z.value = ft.value, lt(ft.value);
9584
+ B.value.close(), ie.value.open(), ae.value = ft.value, lt(ft.value);
9433
9585
  }
9434
- }, H.value.open());
9586
+ }, B.value.open());
9435
9587
  }
9436
9588
  function mt() {
9437
- ce.value = null, se.value = JSON.stringify(p.value, null, 2), ae.value.open();
9589
+ ue.value = null, le.value = JSON.stringify(p.value, null, 2), se.value.open();
9438
9590
  }
9439
9591
  function ht(e) {
9440
- if (e === "save" && se.value) {
9441
- if (!st(se.value)) {
9442
- ce.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9592
+ if (e === "save" && le.value) {
9593
+ if (!st(le.value)) {
9594
+ ue.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9443
9595
  return;
9444
9596
  }
9445
9597
  try {
9446
- p.value = JSON.parse(se.value), ae.value.close();
9598
+ p.value = JSON.parse(le.value), se.value.close();
9447
9599
  } catch {
9448
9600
  f("error", "Error parsing JSON content");
9449
9601
  }
@@ -9479,18 +9631,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9479
9631
  globalThis.open("https://github.com/dativa-lv/lx-builders/issues", "_blank", "noopener");
9480
9632
  }
9481
9633
  j(() => [m.value, h.value], () => {
9482
- xe();
9634
+ Ce();
9483
9635
  });
9484
9636
  function Ct() {
9485
- ge.value = {
9637
+ ve.value = {
9486
9638
  label: u.value?.confirmDelete,
9487
9639
  description: null,
9488
9640
  kind: "warning",
9489
9641
  primaryAction: () => {
9490
- $e(), H.value.close();
9642
+ $e(), B.value.close();
9491
9643
  },
9492
9644
  secondaryAction: null
9493
- }, H.value.open();
9645
+ }, B.value.open();
9494
9646
  }
9495
9647
  function wt(e, t, n) {
9496
9648
  if (t === n || !Object.prototype.hasOwnProperty.call(e, t)) return e;
@@ -9502,22 +9654,22 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9502
9654
  function Tt(e) {
9503
9655
  try {
9504
9656
  if (!e) {
9505
- pe.value = u.value?.schemaKeyEmptyError;
9657
+ he.value = u.value?.schemaKeyEmptyError;
9506
9658
  return;
9507
9659
  }
9508
- if (!L.value) {
9509
- pe.value = u.value?.schemaKeyParentError;
9660
+ if (!I.value) {
9661
+ he.value = u.value?.schemaKeyParentError;
9510
9662
  return;
9511
9663
  }
9512
- if (Object.prototype.hasOwnProperty.call(L.value, e) && e !== te.value) {
9513
- pe.value = u.value?.schemaKeyDuplicateError?.replace("{0}", e);
9664
+ if (Object.prototype.hasOwnProperty.call(I.value, e) && e !== ne.value) {
9665
+ he.value = u.value?.schemaKeyDuplicateError?.replace("{0}", e);
9514
9666
  return;
9515
9667
  }
9516
- pe.value = null;
9517
- let t = wt(L.value, te.value, e), n = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9518
- je(p.value, U(n)?.slice(0, -1), t);
9668
+ he.value = null;
9669
+ let t = wt(I.value, ne.value, e), n = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9670
+ je(p.value, H(n)?.slice(0, -1), t);
9519
9671
  } catch {
9520
- pe.value = u.value?.schemaKeyUpdateError;
9672
+ he.value = u.value?.schemaKeyUpdateError;
9521
9673
  }
9522
9674
  }
9523
9675
  b(() => {
@@ -9536,11 +9688,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9536
9688
  };
9537
9689
  });
9538
9690
  return (t, n) => (S(), a("div", null, [
9539
- o("div", Dr, [P(o("div", {
9691
+ o("div", Or, [P(o("div", {
9540
9692
  class: "highlight",
9541
9693
  style: v(O.value.style)
9542
- }, [o("div", Or, [
9543
- _e.value.canMoveForwardIn && W() ? (S(), r(k(I), {
9694
+ }, [o("div", kr, [
9695
+ ye.value.canMoveForwardIn && W() ? (S(), r(k(F), {
9544
9696
  key: 0,
9545
9697
  icon: "move-inside",
9546
9698
  variant: "icon-only",
@@ -9548,27 +9700,27 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9548
9700
  kind: "ghost",
9549
9701
  onClick: n[0] ||= (e) => Ue()
9550
9702
  }, null, 8, ["label"])) : i("", !0),
9551
- _e.value.moveOut && W() ? (S(), r(k(I), {
9703
+ ye.value.moveOut && W() ? (S(), r(k(F), {
9552
9704
  key: 1,
9553
9705
  icon: "move-outside",
9554
9706
  variant: "icon-only",
9555
9707
  label: u.value.moveOutside,
9556
9708
  kind: "ghost",
9557
- onClick: n[1] ||= (e) => X("previous")
9709
+ onClick: n[1] ||= (e) => Ke("previous")
9558
9710
  }, null, 8, ["label"])) : i("", !0),
9559
9711
  W() ? (S(), r(k(G), {
9560
9712
  key: 2,
9561
9713
  orientation: "horizontal",
9562
9714
  kind: "compact"
9563
9715
  }, {
9564
- default: N(() => [_e.value.canMoveBack ? (S(), r(k(I), {
9716
+ default: N(() => [ye.value.canMoveBack ? (S(), r(k(F), {
9565
9717
  key: 0,
9566
9718
  icon: "back",
9567
9719
  variant: "icon-only",
9568
9720
  label: u.value.back,
9569
9721
  kind: "ghost",
9570
9722
  onClick: n[2] ||= (e) => tt("up")
9571
- }, null, 8, ["label"])) : i("", !0), _e.value.canMoveForward ? (S(), r(k(I), {
9723
+ }, null, 8, ["label"])) : i("", !0), ye.value.canMoveForward ? (S(), r(k(F), {
9572
9724
  key: 1,
9573
9725
  icon: "next",
9574
9726
  variant: "icon-only",
@@ -9579,7 +9731,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9579
9731
  _: 1
9580
9732
  })) : i("", !0),
9581
9733
  o("span", null, D(y.value), 1)
9582
- ]), o("div", kr, [y.value === "LxViewLayout" ? i("", !0) : (S(), r(k(I), {
9734
+ ]), o("div", Ar, [y.value === "LxViewLayout" ? i("", !0) : (S(), r(k(F), {
9583
9735
  key: 0,
9584
9736
  icon: "delete",
9585
9737
  variant: "icon-only",
@@ -9588,17 +9740,17 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9588
9740
  destructive: !0,
9589
9741
  onClick: Ct
9590
9742
  }, null, 8, ["label"]))])], 4), [[A, O.value.visible]])]),
9591
- l(Er, {
9743
+ l(Dr, {
9592
9744
  componentName: y.value,
9593
9745
  componentProps: x.value,
9594
9746
  componentPropsDefinitions: w.value,
9595
9747
  navigation: _.value,
9596
9748
  componentModel: T.value,
9597
- schemaKey: te.value,
9598
- schemaKeyError: pe.value,
9749
+ schemaKey: ne.value,
9750
+ schemaKeyError: he.value,
9599
9751
  schemaInfo: Et.value,
9600
- selectedTab: me.value,
9601
- "onUpdate:selectedTab": n[4] ||= (e) => me.value = e,
9752
+ selectedTab: ge.value,
9753
+ "onUpdate:selectedTab": n[4] ||= (e) => ge.value = e,
9602
9754
  texts: u.value,
9603
9755
  "onUpdate:componentModel": Pe,
9604
9756
  onComponentAdd: Qe,
@@ -9624,15 +9776,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9624
9776
  "selectedTab",
9625
9777
  "texts"
9626
9778
  ]),
9627
- o("div", Ar, [l(Nn, {
9779
+ o("div", jr, [l(Pn, {
9628
9780
  schema: e.schema,
9629
9781
  modelValue: d.value,
9630
9782
  "onUpdate:modelValue": n[5] ||= (e) => d.value = e,
9631
9783
  builderOptions: { useRegistry: !0 }
9632
9784
  }, null, 8, ["schema", "modelValue"])]),
9633
- l(k(Ce), {
9785
+ l(k(Te), {
9634
9786
  ref_key: "exportModal",
9635
- ref: ne,
9787
+ ref: re,
9636
9788
  label: u.value?.exportModal,
9637
9789
  size: "m",
9638
9790
  actionDefinitions: [{
@@ -9654,19 +9806,19 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9654
9806
  icon: "copy"
9655
9807
  }],
9656
9808
  onActionClick: at
9657
- }, null, 8, ["actionDefinitions"]), o("div", jr, [o("pre", Mr, D(JSON.stringify(p.value, null, 2)), 1)])]),
9809
+ }, null, 8, ["actionDefinitions"]), o("div", Mr, [o("pre", Nr, D(JSON.stringify(p.value, null, 2)), 1)])]),
9658
9810
  _: 1
9659
9811
  }, 8, ["label", "actionDefinitions"]),
9660
- l(k(Ce), {
9812
+ l(k(Te), {
9661
9813
  ref_key: "importModal",
9662
- ref: R,
9814
+ ref: ie,
9663
9815
  label: u.value?.importModal,
9664
9816
  size: "m",
9665
9817
  actionDefinitions: [{
9666
9818
  id: "save",
9667
9819
  name: u.value?.save,
9668
9820
  kind: "primary",
9669
- disabled: le.value
9821
+ disabled: de.value
9670
9822
  }, {
9671
9823
  id: "close",
9672
9824
  name: u.value?.close,
@@ -9674,13 +9826,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9674
9826
  }],
9675
9827
  onActionClick: pt,
9676
9828
  onClose: n[8] ||= () => {
9677
- z.value = null, ie.value = null;
9829
+ ae.value = null, R.value = null;
9678
9830
  }
9679
9831
  }, {
9680
9832
  default: N(() => [
9681
- o("div", Nr, [l(k(re), {
9682
- modelValue: B.value,
9683
- "onUpdate:modelValue": n[6] ||= (e) => B.value = e,
9833
+ o("div", Pr, [l(k(L), {
9834
+ modelValue: z.value,
9835
+ "onUpdate:modelValue": n[6] ||= (e) => z.value = e,
9684
9836
  items: [{
9685
9837
  id: "file",
9686
9838
  name: u.value?.importFile
@@ -9689,38 +9841,38 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9689
9841
  name: u.value?.importText
9690
9842
  }]
9691
9843
  }, null, 8, ["modelValue", "items"])]),
9692
- P(o("div", null, [l(k(de), {
9693
- modelValue: z.value,
9844
+ P(o("div", null, [l(k(pe), {
9845
+ modelValue: ae.value,
9694
9846
  draggable: !0,
9695
9847
  allowedFileExtensions: [".json"],
9696
9848
  dataType: "content",
9697
9849
  texts: u.value?.fileUploader,
9698
9850
  "onUpdate:modelValue": lt
9699
- }, null, 8, ["modelValue", "texts"])], 512), [[A, B.value === "file"]]),
9851
+ }, null, 8, ["modelValue", "texts"])], 512), [[A, z.value === "file"]]),
9700
9852
  P(l(k(Ne), {
9701
- modelValue: ie.value,
9702
- "onUpdate:modelValue": n[7] ||= (e) => ie.value = e,
9853
+ modelValue: R.value,
9854
+ "onUpdate:modelValue": n[7] ||= (e) => R.value = e,
9703
9855
  rows: 20,
9704
- invalid: !!V.value,
9705
- invalidationMessage: V.value
9856
+ invalid: !!oe.value,
9857
+ invalidationMessage: oe.value
9706
9858
  }, null, 8, [
9707
9859
  "modelValue",
9708
9860
  "invalid",
9709
9861
  "invalidationMessage"
9710
- ]), [[A, B.value === "text"]])
9862
+ ]), [[A, z.value === "text"]])
9711
9863
  ]),
9712
9864
  _: 1
9713
9865
  }, 8, ["label", "actionDefinitions"]),
9714
- l(k(Ce), {
9866
+ l(k(Te), {
9715
9867
  ref_key: "editSchemaModal",
9716
- ref: ae,
9868
+ ref: se,
9717
9869
  label: u.value?.editSchemaModal,
9718
9870
  size: "l",
9719
9871
  actionDefinitions: [{
9720
9872
  id: "save",
9721
9873
  name: u.value?.save,
9722
9874
  kind: "primary",
9723
- disabled: !se.value
9875
+ disabled: !le.value
9724
9876
  }, {
9725
9877
  id: "close",
9726
9878
  name: u.value?.close,
@@ -9729,11 +9881,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9729
9881
  onActionClick: ht
9730
9882
  }, {
9731
9883
  default: N(() => [l(k(Ne), {
9732
- modelValue: se.value,
9733
- "onUpdate:modelValue": n[9] ||= (e) => se.value = e,
9884
+ modelValue: le.value,
9885
+ "onUpdate:modelValue": n[9] ||= (e) => le.value = e,
9734
9886
  rows: 50,
9735
- invalid: !!ce.value,
9736
- invalidationMessage: ce.value
9887
+ invalid: !!ue.value,
9888
+ invalidationMessage: ue.value
9737
9889
  }, null, 8, [
9738
9890
  "modelValue",
9739
9891
  "invalid",
@@ -9741,13 +9893,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9741
9893
  ])]),
9742
9894
  _: 1
9743
9895
  }, 8, ["label", "actionDefinitions"]),
9744
- l(k(Ce), {
9896
+ l(k(Te), {
9745
9897
  ref_key: "componentAddModal",
9746
- ref: ue,
9898
+ ref: fe,
9747
9899
  label: u.value?.componentAddModal,
9748
9900
  description: u.value?.componentAddModalDescription
9749
9901
  }, {
9750
- default: N(() => [o("p", Pr, D(u.value?.componentAddChoice), 1), l(k(ve), {
9902
+ default: N(() => [o("p", Fr, D(u.value?.componentAddChoice), 1), l(k(be), {
9751
9903
  items: [{
9752
9904
  id: "next",
9753
9905
  name: u.value?.componentAddNext,
@@ -9768,8 +9920,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9768
9920
  orientation: "horizontal",
9769
9921
  verticalAlignment: "center"
9770
9922
  }, {
9771
- default: N(() => [l(k(he), { value: e.displayIcon }, null, 8, ["value"]), l(k(G), { kind: "compact" }, {
9772
- default: N(() => [o("p", Fr, D(e.name), 1), o("p", Ir, D(e.description), 1)]),
9923
+ default: N(() => [l(k(_e), { value: e.displayIcon }, null, 8, ["value"]), l(k(G), { kind: "compact" }, {
9924
+ default: N(() => [o("p", Ir, D(e.name), 1), o("p", Lr, D(e.description), 1)]),
9773
9925
  _: 2
9774
9926
  }, 1024)]),
9775
9927
  _: 2
@@ -9778,7 +9930,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9778
9930
  }, 8, ["items"])]),
9779
9931
  _: 1
9780
9932
  }, 8, ["label", "description"]),
9781
- l(k(Ce), {
9933
+ l(k(Te), {
9782
9934
  ref_key: "editModelModal",
9783
9935
  ref: gt,
9784
9936
  label: u.value?.editModelModal,
@@ -9808,12 +9960,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9808
9960
  ])]),
9809
9961
  _: 1
9810
9962
  }, 8, ["label", "actionDefinitions"]),
9811
- l(k(oe), {
9963
+ l(k(ce), {
9812
9964
  ref_key: "confirmDialog",
9813
- ref: H,
9814
- label: ge.value?.label,
9815
- description: ge.value?.description,
9816
- kind: ge.value?.kind,
9965
+ ref: B,
9966
+ label: ve.value?.label,
9967
+ description: ve.value?.description,
9968
+ kind: ve.value?.kind,
9817
9969
  actionDefinitions: [{
9818
9970
  id: "save",
9819
9971
  name: u.value?.yes,
@@ -9823,9 +9975,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9823
9975
  name: u.value?.no,
9824
9976
  kind: "secondary"
9825
9977
  }],
9826
- buttonSecondaryIsCancel: !ge.value?.secondaryAction,
9978
+ buttonSecondaryIsCancel: !ve.value?.secondaryAction,
9827
9979
  onActionClick: n[11] ||= (e) => {
9828
- e === "save" && ge.value?.primaryAction ? ge.value.primaryAction() : e === "cancel" && ge.value?.secondaryAction && ge.value.secondaryAction();
9980
+ e === "save" && ve.value?.primaryAction ? ve.value.primaryAction() : e === "cancel" && ve.value?.secondaryAction && ve.value.secondaryAction();
9829
9981
  }
9830
9982
  }, null, 8, [
9831
9983
  "label",
@@ -9836,14 +9988,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9836
9988
  ])
9837
9989
  ]));
9838
9990
  }
9839
- }), Rr = { async install(e, t = {}) {
9991
+ }), zr = { async install(e, t = {}) {
9840
9992
  let { lxOptions: n, ...r } = t || {};
9841
9993
  if (Xe(r), n) {
9842
9994
  let { createLx: t } = await import("@dativa-lv/lx-ui");
9843
9995
  e.use(t, n);
9844
9996
  }
9845
- } }, zr = (e) => ({ async install(t) {
9846
- t.use(Rr, e);
9997
+ } }, Br = (e) => ({ async install(t) {
9998
+ t.use(zr, e);
9847
9999
  } });
9848
10000
  //#endregion
9849
- export { Lr as LxConstructor, Mn as LxFilterBuilder, jn as LxFormBuilder, Nn as LxViewBuilder, zr as createLxBuilders, Ze as getGlobalProperties, Rr as lxBuildersPlugin, Xe as setGlobalProperties };
10001
+ export { Rr as LxConstructor, Nn as LxFilterBuilder, Mn as LxFormBuilder, Pn as LxViewBuilder, Br as createLxBuilders, Ze as getGlobalProperties, zr as lxBuildersPlugin, Xe as setGlobalProperties };