@dativa-lv/lx-builders 2.2.8 → 2.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,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,
@@ -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
  }
@@ -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),
@@ -1304,7 +1309,7 @@ var $ = {
1304
1309
  modelValue: f.value[e.name],
1305
1310
  "onUpdate:modelValue": c[0] ||= (t) => f.value[e.name] = t,
1306
1311
  builderOptions: X.value,
1307
- onKeyup: c[1] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1312
+ onKeyup: c[1] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1308
1313
  }, null, 8, [
1309
1314
  "id",
1310
1315
  "mask",
@@ -1328,7 +1333,7 @@ var $ = {
1328
1333
  "texts",
1329
1334
  "modelValue",
1330
1335
  "builderOptions"
1331
- ])) : A.value === "textArea" ? (S(), r(k(Ne), {
1336
+ ])) : O.value === "textArea" ? (S(), r(k(Ne), {
1332
1337
  key: 1,
1333
1338
  id: `${e.id}-${e.name}`,
1334
1339
  maxlength: e.displaySchema?.properties[e.name]?.maxLength,
@@ -1346,7 +1351,7 @@ var $ = {
1346
1351
  modelValue: f.value[e.name],
1347
1352
  "onUpdate:modelValue": c[2] ||= (t) => f.value[e.name] = t,
1348
1353
  builderOptions: X.value,
1349
- onKeyup: c[3] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1354
+ onKeyup: c[3] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1350
1355
  }, null, 8, [
1351
1356
  "id",
1352
1357
  "maxlength",
@@ -1363,7 +1368,7 @@ var $ = {
1363
1368
  "texts",
1364
1369
  "modelValue",
1365
1370
  "builderOptions"
1366
- ])) : A.value === "dateTimePicker" ? (S(), r(k(B), {
1371
+ ])) : O.value === "dateTimePicker" ? (S(), r(k(z), {
1367
1372
  key: 2,
1368
1373
  id: `${e.id}-${e.name}`,
1369
1374
  kind: e.displaySchema?.properties[e.name]?.format,
@@ -1371,7 +1376,6 @@ var $ = {
1371
1376
  tooltip: e.displaySchema?.properties[e.name]?.lx?.tooltip,
1372
1377
  "min-date": e.displaySchema?.properties[e.name]?.lx?.minDate,
1373
1378
  "max-date": e.displaySchema?.properties[e.name]?.lx?.maxDate,
1374
- required: e.displaySchema?.properties[e.name]?.lx?.required,
1375
1379
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
1376
1380
  "time-adjust": e.displaySchema?.properties[e.name]?.lx?.timeAdjust,
1377
1381
  "clear-if-not-exact": e.displaySchema?.properties[e.name]?.lx?.clearIfNotExact,
@@ -1397,7 +1401,6 @@ var $ = {
1397
1401
  "tooltip",
1398
1402
  "min-date",
1399
1403
  "max-date",
1400
- "required",
1401
1404
  "disabled",
1402
1405
  "time-adjust",
1403
1406
  "clear-if-not-exact",
@@ -1415,7 +1418,7 @@ var $ = {
1415
1418
  "invalidation-message",
1416
1419
  "builderOptions",
1417
1420
  "modelValue"
1418
- ])) : A.value === "textInputInteger" ? (S(), r(k(K), {
1421
+ ])) : O.value === "textInputInteger" ? (S(), r(k(K), {
1419
1422
  key: 3,
1420
1423
  id: `${e.id}-${e.name}`,
1421
1424
  mask: "integer",
@@ -1436,7 +1439,7 @@ var $ = {
1436
1439
  modelValue: f.value[e.name],
1437
1440
  "onUpdate:modelValue": c[5] ||= (t) => f.value[e.name] = t,
1438
1441
  builderOptions: X.value,
1439
- onKeyup: c[6] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1442
+ onKeyup: c[6] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1440
1443
  }, null, 8, [
1441
1444
  "id",
1442
1445
  "maxlength",
@@ -1455,7 +1458,7 @@ var $ = {
1455
1458
  "texts",
1456
1459
  "modelValue",
1457
1460
  "builderOptions"
1458
- ])) : A.value === "toggle" ? (S(), r(k(Pe), {
1461
+ ])) : O.value === "toggle" ? (S(), r(k(Pe), {
1459
1462
  key: 4,
1460
1463
  id: `${e.id}-${e.name}`,
1461
1464
  size: e.displaySchema?.properties[e.name]?.lx?.size,
@@ -1469,9 +1472,9 @@ var $ = {
1469
1472
  modelValue: f.value[e.name],
1470
1473
  "onUpdate:modelValue": c[7] ||= (t) => f.value[e.name] = t
1471
1474
  }, {
1472
- on: N(() => [e.row?.lx?.labelOn ? (S(), a("span", ln, D(e.row?.lx?.labelOn), 1)) : (S(), a("span", un, "Jā"))]),
1473
- off: N(() => [e.row?.lx?.labelOff ? (S(), a("span", dn, D(e.row?.lx?.labelOff), 1)) : (S(), a("span", fn, "Nē"))]),
1474
- 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, "—"))]),
1475
+ on: N(() => [e.row?.lx?.labelOn ? (S(), a("span", un, D(e.row?.lx?.labelOn), 1)) : (S(), a("span", dn, "Jā"))]),
1476
+ off: N(() => [e.row?.lx?.labelOff ? (S(), a("span", fn, D(e.row?.lx?.labelOff), 1)) : (S(), a("span", pn, "Nē"))]),
1477
+ 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, "—"))]),
1475
1478
  _: 1
1476
1479
  }, 8, [
1477
1480
  "id",
@@ -1484,18 +1487,18 @@ var $ = {
1484
1487
  "texts",
1485
1488
  "builderOptions",
1486
1489
  "modelValue"
1487
- ])) : A.value === "valuePicker" ? (S(), r(k(Ie), {
1490
+ ])) : O.value === "valuePicker" ? (S(), r(k(Ie), {
1488
1491
  key: 5,
1489
1492
  id: `${e.id}-${e.name}`,
1490
1493
  selectionKind: e.displaySchema?.properties[e.name]?.type === "array" ? "multiple" : "single",
1491
- items: e.displaySchema?.properties[e.name]?.lx?.items || P(e.displaySchema?.properties[e.name]),
1494
+ items: e.displaySchema?.properties[e.name]?.lx?.items || M(e.displaySchema?.properties[e.name]),
1492
1495
  "id-attribute": e.displaySchema?.properties[e.name]?.lx?.idAttribute,
1493
1496
  "name-attribute": e.displaySchema?.properties[e.name]?.lx?.nameAttribute,
1494
1497
  "icon-attribute": e.displaySchema?.properties[e.name]?.lx?.iconAttribute,
1495
1498
  "icon-set-attribute": e.displaySchema?.properties[e.name]?.lx?.iconSetAttribute,
1496
1499
  "category-attribute": e.displaySchema?.properties[e.name]?.lx?.categoryAttribute,
1497
1500
  "description-attribute": e.displaySchema?.properties[e.name]?.lx?.descriptionAttribute,
1498
- variant: Ue(e.displaySchema?.properties[e.name]),
1501
+ variant: He(e.displaySchema?.properties[e.name]),
1499
1502
  "has-search": e.displaySchema?.properties[e.name]?.lx?.hasSearch,
1500
1503
  "always-as-array": e.displaySchema?.properties[e.name]?.lx?.alwaysAsArray,
1501
1504
  nullable: e.displaySchema?.properties[e.name]?.lx?.nullable,
@@ -1617,7 +1620,7 @@ var $ = {
1617
1620
  "item"
1618
1621
  ]))], 64))), 128))]),
1619
1622
  key: "1"
1620
- } : 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), {
1623
+ } : 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), {
1621
1624
  key: 6,
1622
1625
  expandable: !0,
1623
1626
  size: e.displaySchema?.properties[e.name]?.lx?.size,
@@ -1632,23 +1635,23 @@ var $ = {
1632
1635
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
1633
1636
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
1634
1637
  class: "form-builder-data-block",
1635
- onActionClick: c[9] ||= (t, n) => M("actionClick", e.name, t, n)
1638
+ onActionClick: c[9] ||= (t, n) => j("actionClick", e.name, t, n)
1636
1639
  }, {
1637
- default: N(() => [l(k(H), {
1640
+ default: N(() => [l(k(B), {
1638
1641
  showHeader: !1,
1639
1642
  showFooter: !1,
1640
1643
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
1641
1644
  kind: "stripped"
1642
1645
  }, {
1643
- 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), {
1646
+ 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), {
1644
1647
  key: 1,
1645
1648
  label: n?.title || o,
1646
1649
  rowSpan: n?.lx?.rowSpan,
1647
1650
  columnSpan: n?.lx?.columnSpan,
1648
1651
  "action-definitions": n?.lx?.actionDefinitions,
1649
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
1652
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
1650
1653
  }, {
1651
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
1654
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
1652
1655
  key: 0,
1653
1656
  mask: v(n?.lx?.mask, n?.type),
1654
1657
  maxlength: n?.maxLength,
@@ -1689,7 +1692,7 @@ var $ = {
1689
1692
  "texts",
1690
1693
  "modelValue",
1691
1694
  "onUpdate:modelValue"
1692
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
1695
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
1693
1696
  key: 1,
1694
1697
  maxlength: n?.maxLength,
1695
1698
  placeholder: h(n),
@@ -1716,7 +1719,7 @@ var $ = {
1716
1719
  "texts",
1717
1720
  "modelValue",
1718
1721
  "onUpdate:modelValue"
1719
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
1722
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
1720
1723
  key: 2,
1721
1724
  mask: "integer",
1722
1725
  maxlength: n?.maxLength,
@@ -1750,7 +1753,7 @@ var $ = {
1750
1753
  "texts",
1751
1754
  "modelValue",
1752
1755
  "onUpdate:modelValue"
1753
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
1756
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
1754
1757
  key: 3,
1755
1758
  size: n?.lx?.size,
1756
1759
  disabled: n?.lx?.disabled,
@@ -1767,14 +1770,13 @@ var $ = {
1767
1770
  "texts",
1768
1771
  "modelValue",
1769
1772
  "onUpdate:modelValue"
1770
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
1773
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
1771
1774
  key: 4,
1772
1775
  kind: n?.format,
1773
1776
  placeholder: h(n),
1774
1777
  tooltip: n?.lx?.tooltip,
1775
1778
  "min-date": n?.lx?.minDate,
1776
1779
  "max-date": n?.lx?.maxDate,
1777
- required: n?.lx?.required,
1778
1780
  disabled: n?.lx?.disabled,
1779
1781
  "time-adjust": n?.lx?.timeAdjust,
1780
1782
  "clear-if-not-exact": n?.lx?.clearIfNotExact,
@@ -1796,7 +1798,6 @@ var $ = {
1796
1798
  "tooltip",
1797
1799
  "min-date",
1798
1800
  "max-date",
1799
- "required",
1800
1801
  "disabled",
1801
1802
  "time-adjust",
1802
1803
  "clear-if-not-exact",
@@ -1812,17 +1813,17 @@ var $ = {
1812
1813
  "readOnly",
1813
1814
  "modelValue",
1814
1815
  "onUpdate:modelValue"
1815
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
1816
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
1816
1817
  key: 5,
1817
1818
  selectionKind: n?.type === "array" ? "multiple" : "single",
1818
- items: n?.lx?.items || P(n),
1819
+ items: n?.lx?.items || M(n),
1819
1820
  "id-attribute": n?.lx?.idAttribute,
1820
1821
  "name-attribute": n?.lx?.nameAttribute,
1821
1822
  "icon-attribute": n?.lx?.iconAttribute,
1822
1823
  "icon-set-attribute": n?.lx?.iconSetAttribute,
1823
1824
  "category-attribute": n?.lx?.categoryAttribute,
1824
1825
  "description-attribute": n?.lx?.descriptionAttribute,
1825
- variant: Ue(n),
1826
+ variant: He(n),
1826
1827
  "has-search": n?.lx?.hasSearch,
1827
1828
  "always-as-array": n?.lx?.alwaysAsArray,
1828
1829
  nullable: n?.lx?.nullable,
@@ -1989,8 +1990,8 @@ var $ = {
1989
1990
  "busy",
1990
1991
  "actionDefinitions",
1991
1992
  "texts"
1992
- ])) : A.value === "objectButton" || A.value === "objectList" ? (S(), a("div", gn, [
1993
- A.value === "objectList" ? (S(), r(k(ye), {
1993
+ ])) : O.value === "objectButton" || O.value === "objectList" ? (S(), a("div", _n, [
1994
+ O.value === "objectList" ? (S(), r(k(xe), {
1994
1995
  key: 0,
1995
1996
  value: f.value[e.name],
1996
1997
  label: f.value[e.name][e.displaySchema?.properties[e.name].lx.nameAttribute] || f.value[e.name]?.name,
@@ -2003,39 +2004,39 @@ var $ = {
2003
2004
  icon: "remove-item",
2004
2005
  destructive: !0
2005
2006
  }],
2006
- onActionClick: c[10] ||= (t) => oe(e.name),
2007
- onClick: c[11] ||= (t) => ue(`${e.id}-${e.name}`, e.name)
2007
+ onActionClick: c[10] ||= (t) => P(e.name),
2008
+ onClick: c[11] ||= (t) => de(`${e.id}-${e.name}`, e.name)
2008
2009
  }, null, 8, [
2009
2010
  "value",
2010
2011
  "label",
2011
2012
  "description"
2012
2013
  ])) : i("", !0),
2013
- A.value === "objectButton" ? (S(), r(k(I), {
2014
+ O.value === "objectButton" ? (S(), r(k(F), {
2014
2015
  key: 1,
2015
2016
  label: e.texts?.addObject,
2016
2017
  icon: "add-item",
2017
2018
  kind: "ghost",
2018
- onClick: c[12] ||= (t) => ue(`${e.id}-${e.name}`, e.name)
2019
+ onClick: c[12] ||= (t) => de(`${e.id}-${e.name}`, e.name)
2019
2020
  }, null, 8, ["label"])) : i("", !0),
2020
- l(k(Ce), {
2021
+ l(k(Te), {
2021
2022
  id: `${e.id}-${e.name}`,
2022
2023
  ref: (t) => p.value[`${e.id}-${e.name}`] = t
2023
2024
  }, {
2024
- default: N(() => [l(k(H), {
2025
+ default: N(() => [l(k(B), {
2025
2026
  showHeader: !1,
2026
2027
  showFooter: !1,
2027
2028
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
2028
2029
  kind: "stripped"
2029
2030
  }, {
2030
- 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), {
2031
+ 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), {
2031
2032
  key: 1,
2032
2033
  label: n?.title ? n?.title : o,
2033
2034
  rowSpan: n?.lx?.rowSpan,
2034
2035
  columnSpan: n?.lx?.columnSpan,
2035
2036
  actionDefinitions: n?.lx?.actionDefinitions,
2036
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
2037
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
2037
2038
  }, {
2038
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
2039
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
2039
2040
  key: 0,
2040
2041
  mask: v(n?.lx?.mask, n?.type),
2041
2042
  maxlength: n?.maxLength,
@@ -2074,7 +2075,7 @@ var $ = {
2074
2075
  "helperTextKind",
2075
2076
  "modelValue",
2076
2077
  "onUpdate:modelValue"
2077
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
2078
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
2078
2079
  key: 1,
2079
2080
  maxlength: n?.maxLength,
2080
2081
  placeholder: h(n),
@@ -2101,7 +2102,7 @@ var $ = {
2101
2102
  "readOnly",
2102
2103
  "modelValue",
2103
2104
  "onUpdate:modelValue"
2104
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
2105
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
2105
2106
  key: 2,
2106
2107
  mask: "integer",
2107
2108
  maxlength: n?.maxLength,
@@ -2133,7 +2134,7 @@ var $ = {
2133
2134
  "helperTextKind",
2134
2135
  "modelValue",
2135
2136
  "onUpdate:modelValue"
2136
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
2137
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
2137
2138
  key: 3,
2138
2139
  size: n?.lx?.size,
2139
2140
  disabled: n?.lx?.disabled,
@@ -2148,14 +2149,13 @@ var $ = {
2148
2149
  "readOnly",
2149
2150
  "modelValue",
2150
2151
  "onUpdate:modelValue"
2151
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
2152
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
2152
2153
  key: 4,
2153
2154
  kind: n?.format,
2154
2155
  placeholder: h(n),
2155
2156
  tooltip: n?.lx?.tooltip,
2156
2157
  "min-date": n?.lx?.minDate,
2157
2158
  "max-date": n?.lx?.maxDate,
2158
- required: n?.lx?.required,
2159
2159
  disabled: n?.lx?.disabled,
2160
2160
  "time-adjust": n?.lx?.timeAdjust,
2161
2161
  "clear-if-not-exact": n?.lx?.clearIfNotExact,
@@ -2177,7 +2177,6 @@ var $ = {
2177
2177
  "tooltip",
2178
2178
  "min-date",
2179
2179
  "max-date",
2180
- "required",
2181
2180
  "disabled",
2182
2181
  "time-adjust",
2183
2182
  "clear-if-not-exact",
@@ -2193,17 +2192,17 @@ var $ = {
2193
2192
  "readOnly",
2194
2193
  "modelValue",
2195
2194
  "onUpdate:modelValue"
2196
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2195
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2197
2196
  key: 5,
2198
2197
  selectionKind: n?.type === "array" ? "multiple" : "single",
2199
- items: n?.lx?.items || P(n),
2198
+ items: n?.lx?.items || M(n),
2200
2199
  "id-attribute": n?.lx?.idAttribute,
2201
2200
  "name-attribute": n?.lx?.nameAttribute,
2202
2201
  "icon-attribute": n?.lx?.iconAttribute,
2203
2202
  "icon-set-attribute": n?.lx?.iconSetAttribute,
2204
2203
  "category-attribute": n?.lx?.categoryAttribute,
2205
2204
  "description-attribute": n?.lx?.descriptionAttribute,
2206
- variant: Ue(n),
2205
+ variant: He(n),
2207
2206
  "has-search": n?.lx?.hasSearch,
2208
2207
  "always-as-array": n?.lx?.alwaysAsArray,
2209
2208
  nullable: n?.lx?.nullable,
@@ -2359,7 +2358,7 @@ var $ = {
2359
2358
  }, 8, ["column-count"])]),
2360
2359
  _: 1
2361
2360
  }, 8, ["id"])
2362
- ])) : A.value === "arrayList" ? (S(), r(k(ve), {
2361
+ ])) : O.value === "arrayList" ? (S(), r(k(be), {
2363
2362
  key: 8,
2364
2363
  items: f.value[e.name],
2365
2364
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions || [{
@@ -2406,15 +2405,15 @@ var $ = {
2406
2405
  hasVirtualization: e.displaySchema?.properties[e.name]?.lx?.hasVirtualization,
2407
2406
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
2408
2407
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
2409
- onActionClick: c[13] ||= (t, n) => Ae(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2410
- onToolbarActionClick: c[14] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
2411
- onEmptyStateActionClick: c[15] ||= (t, n) => M("emptyStateActionClick", e.name, t, n),
2412
- onSelectionChange: c[16] ||= (t) => M("selectionChange", e.name, t),
2413
- onSelectionActionClick: c[17] ||= (t, n) => M("selectionActionClick", e.name, t, n),
2414
- onLoadMore: c[18] ||= () => M("loadMore", e.name),
2415
- "onUpdate:searchString": c[19] ||= (t) => M("update:searchString", e.name, t),
2416
- "onUpdate:itemStates": c[20] ||= (t) => M("update:itemStates", e.name, t),
2417
- onSearch: c[21] ||= (t) => M("search", e.name, t)
2408
+ onActionClick: c[13] ||= (t, n) => he(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2409
+ onToolbarActionClick: c[14] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
2410
+ onEmptyStateActionClick: c[15] ||= (t, n) => j("emptyStateActionClick", e.name, t, n),
2411
+ onSelectionChange: c[16] ||= (t) => j("selectionChange", e.name, t),
2412
+ onSelectionActionClick: c[17] ||= (t, n) => j("selectionActionClick", e.name, t, n),
2413
+ onLoadMore: c[18] ||= () => j("loadMore", e.name),
2414
+ "onUpdate:searchString": c[19] ||= (t) => j("update:searchString", e.name, t),
2415
+ "onUpdate:itemStates": c[20] ||= (t) => j("update:itemStates", e.name, t),
2416
+ onSearch: c[21] ||= (t) => j("search", e.name, t)
2418
2417
  }, s({ _: 2 }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
2419
2418
  name: "customItem",
2420
2419
  fn: N((n) => [l(k(G), {
@@ -2519,7 +2518,7 @@ var $ = {
2519
2518
  "item"
2520
2519
  ]))], 64))), 128))]),
2521
2520
  key: "1"
2522
- } : 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), {
2521
+ } : 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), {
2523
2522
  items: f.value[e.name],
2524
2523
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions || [{
2525
2524
  id: "remove",
@@ -2565,22 +2564,22 @@ var $ = {
2565
2564
  hasVirtualization: e.displaySchema?.properties[e.name]?.lx?.hasVirtualization,
2566
2565
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
2567
2566
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
2568
- onActionClick: c[23] ||= (t, n) => Le(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2569
- onToolbarActionClick: c[24] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
2570
- onEmptyStateActionClick: c[25] ||= (t, n) => M("emptyStateActionClick", e.name, t, n),
2571
- onSelectionChange: c[26] ||= (t) => M("selectionChange", e.name, t),
2572
- onSelectionActionClick: c[27] ||= (t, n) => M("selectionActionClick", e.name, t, n),
2573
- onLoadMore: c[28] ||= () => M("loadMore", e.name),
2574
- "onUpdate:searchString": c[29] ||= (t) => M("update:searchString", e.name, t),
2575
- "onUpdate:itemStates": c[30] ||= (t) => M("update:itemStates", e.name, t),
2576
- onSearch: c[31] ||= (t) => M("search", e.name, t)
2567
+ onActionClick: c[23] ||= (t, n) => Fe(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2568
+ onToolbarActionClick: c[24] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
2569
+ onEmptyStateActionClick: c[25] ||= (t, n) => j("emptyStateActionClick", e.name, t, n),
2570
+ onSelectionChange: c[26] ||= (t) => j("selectionChange", e.name, t),
2571
+ onSelectionActionClick: c[27] ||= (t, n) => j("selectionActionClick", e.name, t, n),
2572
+ onLoadMore: c[28] ||= () => j("loadMore", e.name),
2573
+ "onUpdate:searchString": c[29] ||= (t) => j("update:searchString", e.name, t),
2574
+ "onUpdate:itemStates": c[30] ||= (t) => j("update:itemStates", e.name, t),
2575
+ onSearch: c[31] ||= (t) => j("search", e.name, t)
2577
2576
  }, s({
2578
- toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(I), {
2577
+ toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(F), {
2579
2578
  key: 0,
2580
2579
  icon: "add-item",
2581
2580
  label: e.texts?.addElement,
2582
2581
  kind: "ghost",
2583
- onClick: c[22] ||= (t) => q(e.name)
2582
+ onClick: c[22] ||= (t) => Be(e.name)
2584
2583
  }, null, 8, ["label"]))]),
2585
2584
  _: 2
2586
2585
  }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
@@ -2687,27 +2686,27 @@ var $ = {
2687
2686
  "item"
2688
2687
  ]))], 64))), 128))]),
2689
2688
  key: "1"
2690
- } : 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), {
2689
+ } : 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), {
2691
2690
  ref: (t) => p.value[`${e.id}-${e.name}`] = t,
2692
- actionDefinitions: We.value,
2693
- onClose: c[32] ||= (e) => Be.value = !1,
2694
- onActionClick: c[33] ||= (t) => Ge(t, e.name)
2691
+ actionDefinitions: Ue.value,
2692
+ onClose: c[32] ||= (e) => ze.value = !1,
2693
+ onActionClick: c[33] ||= (t) => We(t, e.name)
2695
2694
  }, {
2696
- default: N(() => [l(k(H), {
2695
+ default: N(() => [l(k(B), {
2697
2696
  showHeader: !1,
2698
2697
  showFooter: !1,
2699
2698
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
2700
2699
  kind: "stripped"
2701
2700
  }, {
2702
- 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), {
2701
+ 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), {
2703
2702
  key: 1,
2704
2703
  label: n?.title ? n?.title : o,
2705
2704
  rowSpan: n?.lx?.rowSpan,
2706
2705
  columnSpan: n?.lx?.columnSpan,
2707
2706
  actionDefinitions: n?.lx?.actionDefinitions,
2708
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
2707
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
2709
2708
  }, {
2710
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
2709
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
2711
2710
  key: 0,
2712
2711
  mask: v(n?.lx?.mask, n?.type),
2713
2712
  maxlength: n?.maxLength,
@@ -2748,7 +2747,7 @@ var $ = {
2748
2747
  "texts",
2749
2748
  "modelValue",
2750
2749
  "onUpdate:modelValue"
2751
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
2750
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
2752
2751
  key: 1,
2753
2752
  maxlength: n?.maxLength,
2754
2753
  placeholder: h(n),
@@ -2775,7 +2774,7 @@ var $ = {
2775
2774
  "texts",
2776
2775
  "modelValue",
2777
2776
  "onUpdate:modelValue"
2778
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
2777
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
2779
2778
  key: 2,
2780
2779
  mask: "integer",
2781
2780
  maxlength: n?.maxLength,
@@ -2809,7 +2808,7 @@ var $ = {
2809
2808
  "texts",
2810
2809
  "modelValue",
2811
2810
  "onUpdate:modelValue"
2812
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
2811
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
2813
2812
  key: 3,
2814
2813
  size: n?.lx?.size,
2815
2814
  disabled: n?.lx?.disabled,
@@ -2826,14 +2825,13 @@ var $ = {
2826
2825
  "texts",
2827
2826
  "modelValue",
2828
2827
  "onUpdate:modelValue"
2829
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
2828
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
2830
2829
  key: 4,
2831
2830
  kind: n?.format,
2832
2831
  placeholder: h(n),
2833
2832
  tooltip: n?.lx?.tooltip,
2834
2833
  "min-date": n?.lx?.minDate,
2835
2834
  "max-date": n?.lx?.maxDate,
2836
- required: n?.lx?.required,
2837
2835
  disabled: n?.lx?.disabled,
2838
2836
  "time-adjust": n?.lx?.timeAdjust,
2839
2837
  "clear-if-not-exact": n?.lx?.clearIfNotExact,
@@ -2855,7 +2853,6 @@ var $ = {
2855
2853
  "tooltip",
2856
2854
  "min-date",
2857
2855
  "max-date",
2858
- "required",
2859
2856
  "disabled",
2860
2857
  "time-adjust",
2861
2858
  "clear-if-not-exact",
@@ -2871,17 +2868,17 @@ var $ = {
2871
2868
  "readOnly",
2872
2869
  "modelValue",
2873
2870
  "onUpdate:modelValue"
2874
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2871
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2875
2872
  key: 5,
2876
2873
  selectionKind: n?.type === "array" ? "multiple" : "single",
2877
- items: n?.lx?.items || P(n),
2874
+ items: n?.lx?.items || M(n),
2878
2875
  "id-attribute": n?.lx?.idAttribute,
2879
2876
  "name-attribute": n?.lx?.nameAttribute,
2880
2877
  "icon-attribute": n?.lx?.iconAttribute,
2881
2878
  "icon-set-attribute": n?.lx?.iconSetAttribute,
2882
2879
  "category-attribute": n?.lx?.categoryAttribute,
2883
2880
  "description-attribute": n?.lx?.descriptionAttribute,
2884
- variant: Ue(n),
2881
+ variant: He(n),
2885
2882
  "has-search": n?.lx?.hasSearch,
2886
2883
  "always-as-array": n?.lx?.alwaysAsArray,
2887
2884
  nullable: n?.lx?.nullable,
@@ -3024,12 +3021,12 @@ var $ = {
3024
3021
  "stickyToolbar",
3025
3022
  "modelValue",
3026
3023
  "onUpdate:modelValue"
3027
- ])) : O(n, o) === "appendableList" ? (S(), r(k(ee), {
3024
+ ])) : E(n, o) === "appendableList" ? (S(), r(k(te), {
3028
3025
  key: 6,
3029
3026
  modelValue: m.value[`${e.id}-${e.name}`][o],
3030
3027
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
3031
3028
  }, {
3032
- 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), {
3029
+ 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), {
3033
3030
  key: 0,
3034
3031
  class: "lx-placeholder"
3035
3032
  })) : (S(), r(k(W), {
@@ -3037,12 +3034,12 @@ var $ = {
3037
3034
  label: n?.title ? n?.title : d,
3038
3035
  rowSpan: n?.lx?.rowSpan,
3039
3036
  columnSpan: n?.lx?.columnSpan,
3040
- required: pe(e.row?.items?.required, d),
3037
+ required: fe(e.row?.items?.required, d),
3041
3038
  inputId: `${e.name}-${d}-${u}`,
3042
3039
  "action-definitions": n?.lx?.actionDefinitions,
3043
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${d}`, u)
3040
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${d}`, u)
3044
3041
  }, {
3045
- default: N(() => [O(n, d) === "textInputDefault" ? (S(), r(k(K), {
3042
+ default: N(() => [E(n, d) === "textInputDefault" ? (S(), r(k(K), {
3046
3043
  key: 0,
3047
3044
  id: `${e.name}-${d}-${u}`,
3048
3045
  mask: v(n?.lx?.mask, n?.type),
@@ -3085,7 +3082,7 @@ var $ = {
3085
3082
  "texts",
3086
3083
  "modelValue",
3087
3084
  "onUpdate:modelValue"
3088
- ])) : O(n, d) === "textArea" ? (S(), r(k(Ne), {
3085
+ ])) : E(n, d) === "textArea" ? (S(), r(k(Ne), {
3089
3086
  key: 1,
3090
3087
  id: `${e.name}-${d}-${u}`,
3091
3088
  maxlength: n?.maxLength,
@@ -3114,7 +3111,7 @@ var $ = {
3114
3111
  "texts",
3115
3112
  "modelValue",
3116
3113
  "onUpdate:modelValue"
3117
- ])) : O(n, d) === "dateTimePicker" ? (S(), r(k(B), {
3114
+ ])) : E(n, d) === "dateTimePicker" ? (S(), r(k(z), {
3118
3115
  key: 2,
3119
3116
  id: `${e.name}-${d}-${u}`,
3120
3117
  kind: n?.format === "date-time" ? "dateTime" : n?.format,
@@ -3122,7 +3119,6 @@ var $ = {
3122
3119
  tooltip: n?.lx?.tooltip,
3123
3120
  "min-date": n?.lx?.minDate,
3124
3121
  "max-date": n?.lx?.maxDate,
3125
- required: n?.lx?.required,
3126
3122
  disabled: n?.lx?.disabled,
3127
3123
  "time-adjust": n?.lx?.timeAdjust,
3128
3124
  "clear-if-not-exact": n?.lx?.clearIfNotExact,
@@ -3145,7 +3141,6 @@ var $ = {
3145
3141
  "tooltip",
3146
3142
  "min-date",
3147
3143
  "max-date",
3148
- "required",
3149
3144
  "disabled",
3150
3145
  "time-adjust",
3151
3146
  "clear-if-not-exact",
@@ -3161,7 +3156,7 @@ var $ = {
3161
3156
  "readOnly",
3162
3157
  "modelValue",
3163
3158
  "onUpdate:modelValue"
3164
- ])) : O(n, d) === "textInputInteger" ? (S(), r(k(K), {
3159
+ ])) : E(n, d) === "textInputInteger" ? (S(), r(k(K), {
3165
3160
  key: 3,
3166
3161
  id: `${e.name}-${d}-${u}`,
3167
3162
  mask: "integer",
@@ -3195,7 +3190,7 @@ var $ = {
3195
3190
  "texts",
3196
3191
  "modelValue",
3197
3192
  "onUpdate:modelValue"
3198
- ])) : O(n, d) === "toggle" ? (S(), r(k(Pe), {
3193
+ ])) : E(n, d) === "toggle" ? (S(), r(k(Pe), {
3199
3194
  key: 4,
3200
3195
  id: `${e.name}-${d}-${u}`,
3201
3196
  size: n?.lx?.size,
@@ -3206,7 +3201,7 @@ var $ = {
3206
3201
  modelValue: c[d],
3207
3202
  "onUpdate:modelValue": (e) => c[d] = e
3208
3203
  }, {
3209
- default: N(() => [n?.lx?.label ? (S(), a("span", vn, D(n?.lx?.label), 1)) : i("", !0)]),
3204
+ default: N(() => [n?.lx?.label ? (S(), a("span", yn, D(n?.lx?.label), 1)) : i("", !0)]),
3210
3205
  _: 2
3211
3206
  }, 1032, [
3212
3207
  "id",
@@ -3217,18 +3212,18 @@ var $ = {
3217
3212
  "texts",
3218
3213
  "modelValue",
3219
3214
  "onUpdate:modelValue"
3220
- ])) : O(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3215
+ ])) : E(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3221
3216
  key: 5,
3222
3217
  id: `${e.name}-${d}-${u}`,
3223
3218
  selectionKind: n?.type === "array" ? "multiple" : "single",
3224
- items: n?.lx?.items || P(n),
3219
+ items: n?.lx?.items || M(n),
3225
3220
  "id-attribute": n?.lx?.idAttribute,
3226
3221
  "name-attribute": n?.lx?.nameAttribute,
3227
3222
  "icon-attribute": n?.lx?.iconAttribute,
3228
3223
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3229
3224
  "category-attribute": n?.lx?.categoryAttribute,
3230
3225
  "description-attribute": n?.lx?.descriptionAttribute,
3231
- variant: Ue(n),
3226
+ variant: He(n),
3232
3227
  "has-search": n?.lx?.hasSearch,
3233
3228
  "always-as-array": n?.lx?.alwaysAsArray,
3234
3229
  nullable: n?.lx?.nullable,
@@ -3396,12 +3391,12 @@ var $ = {
3396
3391
  _: 1
3397
3392
  }, 8, ["column-count"])]),
3398
3393
  _: 1
3399
- }, 8, ["actionDefinitions"])])) : A.value === "arrayTable" ? (S(), r(k(z), {
3394
+ }, 8, ["actionDefinitions"])])) : O.value === "arrayTable" ? (S(), r(k(ae), {
3400
3395
  key: 10,
3401
3396
  items: f.value[e.name],
3402
3397
  label: e.displaySchema?.properties[e.name]?.lx?.label,
3403
3398
  description: e.displaySchema?.properties[e.name]?.lx?.description,
3404
- columnDefinitions: ze(e.displaySchema?.properties[e.name]?.items?.properties),
3399
+ columnDefinitions: Le(e.displaySchema?.properties[e.name]?.items?.properties),
3405
3400
  scrollable: e.displaySchema?.properties[e.name]?.items?.properties ? Object?.keys(e.displaySchema?.properties[e.name]?.items?.properties)?.length > 4 : null,
3406
3401
  loading: e.displaySchema?.properties[e.name]?.lx?.loading,
3407
3402
  busy: e.displaySchema?.properties[e.name]?.lx?.busy,
@@ -3418,8 +3413,8 @@ var $ = {
3418
3413
  defaultActionName: e.displaySchema?.properties[e.name]?.lx?.defaultActionName,
3419
3414
  toolbarActionDefinitions: e.displaySchema?.properties[e.name]?.lx?.toolbarActionDefinitions,
3420
3415
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
3421
- onActionClick: c[34] ||= (t, n, r) => M("actionClick", e.name, t, n),
3422
- onToolbarActionClick: c[35] ||= (t) => M("toolbarActionClick", e.name, t)
3416
+ onActionClick: c[34] ||= (t, n, r) => j("actionClick", e.name, t, n),
3417
+ onToolbarActionClick: c[35] ||= (t) => j("toolbarActionClick", e.name, t)
3423
3418
  }, null, 8, [
3424
3419
  "items",
3425
3420
  "label",
@@ -3441,12 +3436,12 @@ var $ = {
3441
3436
  "defaultActionName",
3442
3437
  "toolbarActionDefinitions",
3443
3438
  "texts"
3444
- ])) : A.value === "arrayTableModal" ? (S(), a("div", yn, [l(k(z), {
3439
+ ])) : O.value === "arrayTableModal" ? (S(), a("div", bn, [l(k(ae), {
3445
3440
  items: f.value[e.name],
3446
3441
  label: e.displaySchema?.properties[e.name]?.lx?.label,
3447
3442
  description: e.displaySchema?.properties[e.name]?.lx?.description,
3448
3443
  idAttribute: e.displaySchema?.properties[e.name]?.lx?.idAttribute,
3449
- columnDefinitions: ze(e.displaySchema?.properties[e.name]?.items?.properties),
3444
+ columnDefinitions: Le(e.displaySchema?.properties[e.name]?.items?.properties),
3450
3445
  scrollable: e.displaySchema?.properties[e.name]?.items?.properties ? Object?.keys(e.displaySchema?.properties[e.name]?.items?.properties)?.length > 4 : null,
3451
3446
  loading: e.displaySchema?.properties[e.name]?.lx?.loading,
3452
3447
  busy: e.displaySchema?.properties[e.name]?.lx?.busy,
@@ -3488,46 +3483,46 @@ var $ = {
3488
3483
  badgeDefinitions: e.displaySchema?.properties[e.name]?.lx?.badgeDefinitions,
3489
3484
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
3490
3485
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
3491
- onActionClick: c[37] ||= (t, n, r) => He(t, n, r, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
3492
- onToolbarActionClick: c[38] ||= (t) => M("toolbarActionClick", e.name, t),
3493
- onSelectionActionClick: c[39] ||= (t, n) => M("selectionActionClick", e.name, t, n),
3494
- "onUpdate:searchString": c[40] ||= (t) => M("update:searchString", e.name, t),
3495
- onSearch: c[41] ||= (t) => M("search", e.name, t),
3496
- onSelectPage: c[42] ||= (t) => M("selectPage", e.name, t),
3497
- onSortingChange: c[43] ||= (t) => M("sortingChange", e.name, t),
3498
- onSelectionChange: c[44] ||= (t) => M("selectionChange", e.name, t),
3499
- onItemsPerPageChange: c[45] ||= (t) => M("itemsPerPageChange", e.name, t),
3500
- onEmptyStateActionClick: c[46] ||= (t) => M("emptyStateActionClick", e.name, t)
3486
+ onActionClick: c[37] ||= (t, n, r) => q(t, n, r, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
3487
+ onToolbarActionClick: c[38] ||= (t) => j("toolbarActionClick", e.name, t),
3488
+ onSelectionActionClick: c[39] ||= (t, n) => j("selectionActionClick", e.name, t, n),
3489
+ "onUpdate:searchString": c[40] ||= (t) => j("update:searchString", e.name, t),
3490
+ onSearch: c[41] ||= (t) => j("search", e.name, t),
3491
+ onSelectPage: c[42] ||= (t) => j("selectPage", e.name, t),
3492
+ onSortingChange: c[43] ||= (t) => j("sortingChange", e.name, t),
3493
+ onSelectionChange: c[44] ||= (t) => j("selectionChange", e.name, t),
3494
+ onItemsPerPageChange: c[45] ||= (t) => j("itemsPerPageChange", e.name, t),
3495
+ onEmptyStateActionClick: c[46] ||= (t) => j("emptyStateActionClick", e.name, t)
3501
3496
  }, {
3502
- toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(I), {
3497
+ toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(F), {
3503
3498
  key: 0,
3504
3499
  icon: "add-item",
3505
3500
  label: e.texts?.addElement,
3506
3501
  kind: "ghost",
3507
- onClick: c[36] ||= (t) => q(e.name)
3502
+ onClick: c[36] ||= (t) => Be(e.name)
3508
3503
  }, null, 8, ["label"]))]),
3509
3504
  _: 1
3510
- }, 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), {
3505
+ }, 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), {
3511
3506
  ref: (t) => p.value[`${e.id}-${e.name}`] = t,
3512
- actionDefinitions: We.value,
3513
- onClose: c[47] ||= (e) => Be.value = !1,
3514
- onActionClick: c[48] ||= (t) => Ge(t, e.name)
3507
+ actionDefinitions: Ue.value,
3508
+ onClose: c[47] ||= (e) => ze.value = !1,
3509
+ onActionClick: c[48] ||= (t) => We(t, e.name)
3515
3510
  }, {
3516
- default: N(() => [l(k(H), {
3511
+ default: N(() => [l(k(B), {
3517
3512
  showHeader: !1,
3518
3513
  showFooter: !1,
3519
3514
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
3520
3515
  kind: "stripped"
3521
3516
  }, {
3522
- 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), {
3517
+ 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), {
3523
3518
  key: 1,
3524
3519
  label: n?.title ? n?.title : o,
3525
3520
  rowSpan: n?.lx?.rowSpan,
3526
3521
  columnSpan: n?.lx?.columnSpan,
3527
3522
  "action-definitions": n?.lx?.actionDefinitions,
3528
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
3523
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
3529
3524
  }, {
3530
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
3525
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
3531
3526
  key: 0,
3532
3527
  mask: v(n?.lx?.mask, n?.type),
3533
3528
  maxlength: n?.maxLength,
@@ -3568,7 +3563,7 @@ var $ = {
3568
3563
  "texts",
3569
3564
  "modelValue",
3570
3565
  "onUpdate:modelValue"
3571
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
3566
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
3572
3567
  key: 1,
3573
3568
  maxlength: n?.maxLength,
3574
3569
  placeholder: h(n),
@@ -3595,7 +3590,7 @@ var $ = {
3595
3590
  "texts",
3596
3591
  "modelValue",
3597
3592
  "onUpdate:modelValue"
3598
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
3593
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
3599
3594
  key: 2,
3600
3595
  mask: "integer",
3601
3596
  maxlength: n?.maxLength,
@@ -3629,7 +3624,7 @@ var $ = {
3629
3624
  "texts",
3630
3625
  "modelValue",
3631
3626
  "onUpdate:modelValue"
3632
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
3627
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
3633
3628
  key: 3,
3634
3629
  size: n?.lx?.size,
3635
3630
  disabled: n?.lx?.disabled,
@@ -3646,14 +3641,13 @@ var $ = {
3646
3641
  "texts",
3647
3642
  "modelValue",
3648
3643
  "onUpdate:modelValue"
3649
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
3644
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
3650
3645
  key: 4,
3651
3646
  kind: n?.format,
3652
3647
  placeholder: h(n),
3653
3648
  tooltip: n?.lx?.tooltip,
3654
3649
  "min-date": n?.lx?.minDate,
3655
3650
  "max-date": n?.lx?.maxDate,
3656
- required: n?.lx?.required,
3657
3651
  disabled: n?.lx?.disabled,
3658
3652
  "time-adjust": n?.lx?.timeAdjust,
3659
3653
  "clear-if-not-exact": n?.lx?.clearIfNotExact,
@@ -3675,7 +3669,6 @@ var $ = {
3675
3669
  "tooltip",
3676
3670
  "min-date",
3677
3671
  "max-date",
3678
- "required",
3679
3672
  "disabled",
3680
3673
  "time-adjust",
3681
3674
  "clear-if-not-exact",
@@ -3691,17 +3684,17 @@ var $ = {
3691
3684
  "readOnly",
3692
3685
  "modelValue",
3693
3686
  "onUpdate:modelValue"
3694
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
3687
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
3695
3688
  key: 5,
3696
3689
  selectionKind: n?.type === "array" ? "multiple" : "single",
3697
- items: n?.lx?.items || P(n),
3690
+ items: n?.lx?.items || M(n),
3698
3691
  "id-attribute": n?.lx?.idAttribute,
3699
3692
  "name-attribute": n?.lx?.nameAttribute,
3700
3693
  "icon-attribute": n?.lx?.iconAttribute,
3701
3694
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3702
3695
  "category-attribute": n?.lx?.categoryAttribute,
3703
3696
  "description-attribute": n?.lx?.descriptionAttribute,
3704
- variant: Ue(n),
3697
+ variant: He(n),
3705
3698
  "has-search": n?.lx?.hasSearch,
3706
3699
  "always-as-array": n?.lx?.alwaysAsArray,
3707
3700
  nullable: n?.lx?.nullable,
@@ -3844,12 +3837,12 @@ var $ = {
3844
3837
  "stickyToolbar",
3845
3838
  "modelValue",
3846
3839
  "onUpdate:modelValue"
3847
- ])) : O(n, o) === "appendableList" ? (S(), r(k(ee), {
3840
+ ])) : E(n, o) === "appendableList" ? (S(), r(k(te), {
3848
3841
  key: 6,
3849
3842
  modelValue: m.value[`${e.id}-${e.name}`][o],
3850
3843
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
3851
3844
  }, {
3852
- 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), {
3845
+ 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), {
3853
3846
  key: 0,
3854
3847
  class: "lx-placeholder"
3855
3848
  })) : (S(), r(k(W), {
@@ -3857,12 +3850,12 @@ var $ = {
3857
3850
  label: n?.title ? n?.title : d,
3858
3851
  rowSpan: n?.lx?.rowSpan,
3859
3852
  columnSpan: n?.lx?.columnSpan,
3860
- required: pe(e.row?.items?.required, d),
3853
+ required: fe(e.row?.items?.required, d),
3861
3854
  inputId: `${e.name}-${d}-${u}`,
3862
3855
  "action-definitions": n?.lx?.actionDefinitions,
3863
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${d}`, u)
3856
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${d}`, u)
3864
3857
  }, {
3865
- default: N(() => [O(n, d) === "textInputDefault" ? (S(), r(k(K), {
3858
+ default: N(() => [E(n, d) === "textInputDefault" ? (S(), r(k(K), {
3866
3859
  key: 0,
3867
3860
  id: `${e.name}-${d}-${u}`,
3868
3861
  mask: v(n?.lx?.mask, n?.type),
@@ -3905,7 +3898,7 @@ var $ = {
3905
3898
  "texts",
3906
3899
  "modelValue",
3907
3900
  "onUpdate:modelValue"
3908
- ])) : O(n, d) === "textArea" ? (S(), r(k(Ne), {
3901
+ ])) : E(n, d) === "textArea" ? (S(), r(k(Ne), {
3909
3902
  key: 1,
3910
3903
  id: `${e.name}-${d}-${u}`,
3911
3904
  maxlength: n?.maxLength,
@@ -3934,7 +3927,7 @@ var $ = {
3934
3927
  "texts",
3935
3928
  "modelValue",
3936
3929
  "onUpdate:modelValue"
3937
- ])) : O(n, d) === "dateTimePicker" ? (S(), r(k(B), {
3930
+ ])) : E(n, d) === "dateTimePicker" ? (S(), r(k(z), {
3938
3931
  key: 2,
3939
3932
  id: `${e.name}-${d}-${u}`,
3940
3933
  kind: n?.format,
@@ -3942,7 +3935,6 @@ var $ = {
3942
3935
  tooltip: n?.lx?.tooltip,
3943
3936
  "min-date": n?.lx?.minDate,
3944
3937
  "max-date": n?.lx?.maxDate,
3945
- required: n?.lx?.required,
3946
3938
  disabled: n?.lx?.disabled,
3947
3939
  "time-adjust": n?.lx?.timeAdjust,
3948
3940
  "clear-if-not-exact": n?.lx?.clearIfNotExact,
@@ -3965,7 +3957,6 @@ var $ = {
3965
3957
  "tooltip",
3966
3958
  "min-date",
3967
3959
  "max-date",
3968
- "required",
3969
3960
  "disabled",
3970
3961
  "time-adjust",
3971
3962
  "clear-if-not-exact",
@@ -3981,7 +3972,7 @@ var $ = {
3981
3972
  "readOnly",
3982
3973
  "modelValue",
3983
3974
  "onUpdate:modelValue"
3984
- ])) : O(n, d) === "textInputInteger" ? (S(), r(k(K), {
3975
+ ])) : E(n, d) === "textInputInteger" ? (S(), r(k(K), {
3985
3976
  key: 3,
3986
3977
  id: `${e.name}-${d}-${u}`,
3987
3978
  mask: "integer",
@@ -4015,7 +4006,7 @@ var $ = {
4015
4006
  "texts",
4016
4007
  "modelValue",
4017
4008
  "onUpdate:modelValue"
4018
- ])) : O(n, d) === "toggle" ? (S(), r(k(Pe), {
4009
+ ])) : E(n, d) === "toggle" ? (S(), r(k(Pe), {
4019
4010
  key: 4,
4020
4011
  id: `${e.name}-${d}-${u}`,
4021
4012
  size: n?.lx?.size,
@@ -4026,7 +4017,7 @@ var $ = {
4026
4017
  modelValue: c[d],
4027
4018
  "onUpdate:modelValue": (e) => c[d] = e
4028
4019
  }, {
4029
- default: N(() => [n?.lx?.label ? (S(), a("span", bn, D(n?.lx?.label), 1)) : i("", !0)]),
4020
+ default: N(() => [n?.lx?.label ? (S(), a("span", xn, D(n?.lx?.label), 1)) : i("", !0)]),
4030
4021
  _: 2
4031
4022
  }, 1032, [
4032
4023
  "id",
@@ -4037,18 +4028,18 @@ var $ = {
4037
4028
  "texts",
4038
4029
  "modelValue",
4039
4030
  "onUpdate:modelValue"
4040
- ])) : O(n, d) === "valuePicker" ? (S(), r(k(Ie), {
4031
+ ])) : E(n, d) === "valuePicker" ? (S(), r(k(Ie), {
4041
4032
  key: 5,
4042
4033
  id: `${e.name}-${d}-${u}`,
4043
4034
  selectionKind: n?.type === "array" ? "multiple" : "single",
4044
- items: n?.lx?.items || P(n),
4035
+ items: n?.lx?.items || M(n),
4045
4036
  "id-attribute": n?.lx?.idAttribute,
4046
4037
  "name-attribute": n?.lx?.nameAttribute,
4047
4038
  "icon-attribute": n?.lx?.iconAttribute,
4048
4039
  "icon-set-attribute": n?.lx?.iconSetAttribute,
4049
4040
  "category-attribute": n?.lx?.categoryAttribute,
4050
4041
  "description-attribute": n?.lx?.descriptionAttribute,
4051
- variant: Ue(n),
4042
+ variant: He(n),
4052
4043
  "has-search": n?.lx?.hasSearch,
4053
4044
  "always-as-array": n?.lx?.alwaysAsArray,
4054
4045
  nullable: n?.lx?.nullable,
@@ -4216,7 +4207,7 @@ var $ = {
4216
4207
  _: 1
4217
4208
  }, 8, ["column-count"])]),
4218
4209
  _: 1
4219
- }, 8, ["actionDefinitions"])])) : A.value === "appendableList" ? (S(), r(k(ee), {
4210
+ }, 8, ["actionDefinitions"])])) : O.value === "appendableList" ? (S(), r(k(te), {
4220
4211
  key: 12,
4221
4212
  modelValue: f.value[e.name],
4222
4213
  "onUpdate:modelValue": c[49] ||= (t) => f.value[e.name] = t,
@@ -4243,14 +4234,14 @@ var $ = {
4243
4234
  selectedValues: e.displaySchema?.properties[e.name]?.lx?.selectedValues,
4244
4235
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
4245
4236
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
4246
- onActionClick: c[50] ||= (t, n, r) => M("actionClick", e.name, t, {
4237
+ onActionClick: c[50] ||= (t, n, r) => j("actionClick", e.name, t, {
4247
4238
  item: n,
4248
4239
  index: r
4249
4240
  }),
4250
- onToolbarActionClick: c[51] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
4251
- "onUpdate:selectedValues": c[52] ||= (t) => M("update:selectedValues", e.name, t)
4241
+ onToolbarActionClick: c[51] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
4242
+ "onUpdate:selectedValues": c[52] ||= (t) => j("update:selectedValues", e.name, t)
4252
4243
  }, {
4253
- 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), {
4244
+ 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), {
4254
4245
  key: 0,
4255
4246
  class: "lx-placeholder"
4256
4247
  })) : (S(), r(k(W), {
@@ -4258,12 +4249,12 @@ var $ = {
4258
4249
  label: c?.title ? c?.title : u,
4259
4250
  rowSpan: c?.lx?.rowSpan,
4260
4251
  columnSpan: c?.lx?.columnSpan,
4261
- required: pe(e.row?.items?.required, u),
4252
+ required: fe(e.row?.items?.required, u),
4262
4253
  inputId: `${e.name}-${u}-${o}`,
4263
4254
  "action-definitions": c?.lx?.actionDefinitions,
4264
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${u}`, o)
4255
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${u}`, o)
4265
4256
  }, {
4266
- default: N(() => [O(c, u) === "textInputDefault" ? (S(), r(k(K), {
4257
+ default: N(() => [E(c, u) === "textInputDefault" ? (S(), r(k(K), {
4267
4258
  key: 0,
4268
4259
  id: `${e.name}-${u}-${o}`,
4269
4260
  mask: v(c?.lx?.mask, c?.type),
@@ -4306,7 +4297,7 @@ var $ = {
4306
4297
  "texts",
4307
4298
  "modelValue",
4308
4299
  "onUpdate:modelValue"
4309
- ])) : O(c, u) === "textArea" ? (S(), r(k(Ne), {
4300
+ ])) : E(c, u) === "textArea" ? (S(), r(k(Ne), {
4310
4301
  key: 1,
4311
4302
  id: `${e.name}-${u}-${o}`,
4312
4303
  maxlength: c?.maxLength,
@@ -4335,7 +4326,7 @@ var $ = {
4335
4326
  "texts",
4336
4327
  "modelValue",
4337
4328
  "onUpdate:modelValue"
4338
- ])) : O(c, u) === "dateTimePicker" ? (S(), r(k(B), {
4329
+ ])) : E(c, u) === "dateTimePicker" ? (S(), r(k(z), {
4339
4330
  key: 2,
4340
4331
  id: `${e.name}-${u}-${o}`,
4341
4332
  kind: c?.format,
@@ -4343,7 +4334,6 @@ var $ = {
4343
4334
  tooltip: c?.lx?.tooltip,
4344
4335
  "min-date": c?.lx?.minDate,
4345
4336
  "max-date": c?.lx?.maxDate,
4346
- required: c?.lx?.required,
4347
4337
  disabled: c?.lx?.disabled,
4348
4338
  "time-adjust": c?.lx?.timeAdjust,
4349
4339
  "clear-if-not-exact": c?.lx?.clearIfNotExact,
@@ -4366,7 +4356,6 @@ var $ = {
4366
4356
  "tooltip",
4367
4357
  "min-date",
4368
4358
  "max-date",
4369
- "required",
4370
4359
  "disabled",
4371
4360
  "time-adjust",
4372
4361
  "clear-if-not-exact",
@@ -4382,7 +4371,7 @@ var $ = {
4382
4371
  "readOnly",
4383
4372
  "modelValue",
4384
4373
  "onUpdate:modelValue"
4385
- ])) : O(c, u) === "textInputInteger" ? (S(), r(k(K), {
4374
+ ])) : E(c, u) === "textInputInteger" ? (S(), r(k(K), {
4386
4375
  key: 3,
4387
4376
  id: `${e.name}-${u}-${o}`,
4388
4377
  mask: "integer",
@@ -4416,7 +4405,7 @@ var $ = {
4416
4405
  "texts",
4417
4406
  "modelValue",
4418
4407
  "onUpdate:modelValue"
4419
- ])) : O(c, u) === "toggle" ? (S(), r(k(Pe), {
4408
+ ])) : E(c, u) === "toggle" ? (S(), r(k(Pe), {
4420
4409
  key: 4,
4421
4410
  id: `${e.name}-${u}-${o}`,
4422
4411
  size: c?.lx?.size,
@@ -4427,7 +4416,7 @@ var $ = {
4427
4416
  modelValue: n[u],
4428
4417
  "onUpdate:modelValue": (e) => n[u] = e
4429
4418
  }, {
4430
- default: N(() => [c?.lx?.label ? (S(), a("span", xn, D(c?.lx?.label), 1)) : i("", !0)]),
4419
+ default: N(() => [c?.lx?.label ? (S(), a("span", Sn, D(c?.lx?.label), 1)) : i("", !0)]),
4431
4420
  _: 2
4432
4421
  }, 1032, [
4433
4422
  "id",
@@ -4438,18 +4427,18 @@ var $ = {
4438
4427
  "texts",
4439
4428
  "modelValue",
4440
4429
  "onUpdate:modelValue"
4441
- ])) : O(c, u) === "valuePicker" ? (S(), r(k(Ie), {
4430
+ ])) : E(c, u) === "valuePicker" ? (S(), r(k(Ie), {
4442
4431
  key: 5,
4443
4432
  id: `${e.name}-${u}-${o}`,
4444
4433
  selectionKind: c?.type === "array" ? "multiple" : "single",
4445
- items: c?.lx?.items || P(c),
4434
+ items: c?.lx?.items || M(c),
4446
4435
  "id-attribute": c?.lx?.idAttribute,
4447
4436
  "name-attribute": c?.lx?.nameAttribute,
4448
4437
  "icon-attribute": c?.lx?.iconAttribute,
4449
4438
  "icon-set-attribute": c?.lx?.iconSetAttribute,
4450
4439
  "category-attribute": c?.lx?.categoryAttribute,
4451
4440
  "description-attribute": c?.lx?.descriptionAttribute,
4452
- variant: Ue(c),
4441
+ variant: He(c),
4453
4442
  "has-search": c?.lx?.hasSearch,
4454
4443
  "always-as-array": c?.lx?.alwaysAsArray,
4455
4444
  nullable: c?.lx?.nullable,
@@ -4630,7 +4619,7 @@ var $ = {
4630
4619
  "selectedValues",
4631
4620
  "stickyToolbar",
4632
4621
  "texts"
4633
- ])) : A.value === "smallAppendableList" ? (S(), r(cn, {
4622
+ ])) : O.value === "smallAppendableList" ? (S(), r(cn, {
4634
4623
  key: 13,
4635
4624
  modelValue: f.value[e.name],
4636
4625
  "onUpdate:modelValue": c[53] ||= (t) => f.value[e.name] = t,
@@ -4641,7 +4630,7 @@ var $ = {
4641
4630
  canAddItems: e.displaySchema?.properties[e.name]?.lx?.canAddItems,
4642
4631
  texts: e.displaySchema?.properties[e.name]?.lx?.texts
4643
4632
  }, {
4644
- customItem: N(({ index: t }) => [O(e.row?.items, e.name) === "lxPlaceholder" ? (S(), r(k(Te), {
4633
+ customItem: N(({ index: t }) => [E(e.row?.items, e.name) === "lxPlaceholder" ? (S(), r(k(U), {
4645
4634
  key: 0,
4646
4635
  class: "lx-placeholder"
4647
4636
  })) : (S(), r(k(W), {
@@ -4650,9 +4639,9 @@ var $ = {
4650
4639
  rowSpan: e.row?.items?.lx?.rowSpan,
4651
4640
  columnSpan: e.row?.items?.lx?.columnSpan,
4652
4641
  actionDefinitions: e.row?.items?.lx?.actionDefinitions,
4653
- onActionClick: (n, r, i) => j(r, i, e.name, t)
4642
+ onActionClick: (n, r, i) => A(r, i, e.name, t)
4654
4643
  }, {
4655
- default: N(() => [O(e.row?.items, e.name) === "textInputDefault" ? (S(), r(k(K), {
4644
+ default: N(() => [E(e.row?.items, e.name) === "textInputDefault" ? (S(), r(k(K), {
4656
4645
  key: 0,
4657
4646
  mask: v(e.row?.items?.lx?.mask, e.row?.items?.type),
4658
4647
  maxlength: e.row?.items?.maxLength,
@@ -4693,7 +4682,7 @@ var $ = {
4693
4682
  "texts",
4694
4683
  "modelValue",
4695
4684
  "onUpdate:modelValue"
4696
- ])) : O(e.row?.items, e.name) === "textInputInteger" ? (S(), r(k(K), {
4685
+ ])) : E(e.row?.items, e.name) === "textInputInteger" ? (S(), r(k(K), {
4697
4686
  key: 1,
4698
4687
  mask: "integer",
4699
4688
  maxlength: e.row?.items?.maxLength,
@@ -4727,7 +4716,7 @@ var $ = {
4727
4716
  "texts",
4728
4717
  "modelValue",
4729
4718
  "onUpdate:modelValue"
4730
- ])) : O(e.row?.items, e.name) === "toggle" ? (S(), r(k(Pe), {
4719
+ ])) : E(e.row?.items, e.name) === "toggle" ? (S(), r(k(Pe), {
4731
4720
  key: 2,
4732
4721
  size: e.row?.items?.lx?.size,
4733
4722
  disabled: e.row?.items?.lx?.disabled,
@@ -4737,9 +4726,9 @@ var $ = {
4737
4726
  modelValue: f.value[e.name][t],
4738
4727
  "onUpdate:modelValue": (n) => f.value[e.name][t] = n
4739
4728
  }, {
4740
- on: N(() => [e.row?.items?.lx?.labelOn ? (S(), a("span", Sn, D(e.row?.items?.lx?.labelOn), 1)) : (S(), a("span", Cn, "Jā"))]),
4741
- off: N(() => [e.row?.items?.lx?.labelOff ? (S(), a("span", wn, D(e.row?.items?.lx?.labelOff), 1)) : (S(), a("span", Tn, "Nē"))]),
4742
- 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, "—"))]),
4729
+ on: N(() => [e.row?.items?.lx?.labelOn ? (S(), a("span", Cn, D(e.row?.items?.lx?.labelOn), 1)) : (S(), a("span", wn, "Jā"))]),
4730
+ off: N(() => [e.row?.items?.lx?.labelOff ? (S(), a("span", Tn, D(e.row?.items?.lx?.labelOff), 1)) : (S(), a("span", En, "Nē"))]),
4731
+ 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, "—"))]),
4743
4732
  _: 1
4744
4733
  }, 8, [
4745
4734
  "size",
@@ -4749,14 +4738,13 @@ var $ = {
4749
4738
  "texts",
4750
4739
  "modelValue",
4751
4740
  "onUpdate:modelValue"
4752
- ])) : O(e.row?.items, e.name) === "dateTimePicker" ? (S(), r(k(B), {
4741
+ ])) : E(e.row?.items, e.name) === "dateTimePicker" ? (S(), r(k(z), {
4753
4742
  key: 3,
4754
4743
  kind: e.row?.items?.format,
4755
4744
  tooltip: e.row?.items?.lx?.tooltip,
4756
4745
  placeholder: h(e.row?.items),
4757
4746
  "min-date": e.row?.items?.lx?.minDate,
4758
4747
  "max-date": e.row?.items?.lx?.maxDate,
4759
- required: e.row?.items?.lx?.required,
4760
4748
  disabled: e.row?.items?.lx?.disabled,
4761
4749
  "time-adjust": e.row?.items?.lx?.timeAdjust,
4762
4750
  "clear-if-not-exact": e.row?.items?.lx?.clearIfNotExact,
@@ -4778,7 +4766,6 @@ var $ = {
4778
4766
  "placeholder",
4779
4767
  "min-date",
4780
4768
  "max-date",
4781
- "required",
4782
4769
  "disabled",
4783
4770
  "time-adjust",
4784
4771
  "clear-if-not-exact",
@@ -4811,7 +4798,7 @@ var $ = {
4811
4798
  "requiredMode",
4812
4799
  "canAddItems",
4813
4800
  "texts"
4814
- ])) : A.value === "autoComplete" ? (S(), r(k(te), {
4801
+ ])) : O.value === "autoComplete" ? (S(), r(k(ne), {
4815
4802
  key: 14,
4816
4803
  id: `${e.id}-${e.name}`,
4817
4804
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -4841,8 +4828,8 @@ var $ = {
4841
4828
  modelValue: f.value[e.name],
4842
4829
  "onUpdate:modelValue": c[54] ||= (t) => f.value[e.name] = t,
4843
4830
  builderOptions: X.value,
4844
- onOpenDetails: c[55] ||= (t) => M("openDetails", e.name, t)
4845
- }, 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), {
4831
+ onOpenDetails: c[55] ||= (t) => j("openDetails", e.name, t)
4832
+ }, 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), {
4846
4833
  key: 15,
4847
4834
  id: `${e.id}-${e.name}`,
4848
4835
  label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
@@ -4867,7 +4854,7 @@ var $ = {
4867
4854
  tabindex: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.tabindex : e.displaySchema?.properties[e.name]?.lx?.tabindex,
4868
4855
  customClass: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.customClass : e.displaySchema?.properties[e.name]?.lx?.customClass,
4869
4856
  openInNewTab: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.openInNewTab : e.displaySchema?.properties[e.name]?.lx?.openInNewTab,
4870
- onClick: c[56] ||= (t, n) => M("click", e.name, n)
4857
+ onClick: c[56] ||= (t, n) => j("click", e.name, n)
4871
4858
  }, null, 8, [
4872
4859
  "id",
4873
4860
  "label",
@@ -4892,7 +4879,7 @@ var $ = {
4892
4879
  "tabindex",
4893
4880
  "customClass",
4894
4881
  "openInNewTab"
4895
- ])) : A.value === "camera" ? (S(), r(k(L), {
4882
+ ])) : O.value === "camera" ? (S(), r(k(I), {
4896
4883
  key: 16,
4897
4884
  id: `${e.id}-${e.name}`,
4898
4885
  cameraSwitcherMode: e.displaySchema?.properties[e.name]?.lx?.cameraSwitcherMode,
@@ -4906,7 +4893,7 @@ var $ = {
4906
4893
  modelValue: f.value[e.name],
4907
4894
  "onUpdate:modelValue": c[57] ||= (t) => f.value[e.name] = t,
4908
4895
  builderOptions: X.value,
4909
- onActionClick: c[58] ||= (t, n) => M("actionClick", e.name, t, n)
4896
+ onActionClick: c[58] ||= (t, n) => j("actionClick", e.name, t, n)
4910
4897
  }, null, 8, [
4911
4898
  "id",
4912
4899
  "cameraSwitcherMode",
@@ -4919,7 +4906,7 @@ var $ = {
4919
4906
  "texts",
4920
4907
  "modelValue",
4921
4908
  "builderOptions"
4922
- ])) : A.value === "checkbox" ? (S(), r(k(ne), {
4909
+ ])) : O.value === "checkbox" ? (S(), r(k(re), {
4923
4910
  key: 17,
4924
4911
  id: `${e.id}-${e.name}`,
4925
4912
  groupId: e.displaySchema?.properties[e.name]?.lx?.groupId,
@@ -4931,7 +4918,7 @@ var $ = {
4931
4918
  modelValue: f.value[e.name],
4932
4919
  "onUpdate:modelValue": c[59] ||= (t) => f.value[e.name] = t,
4933
4920
  builderOptions: X.value,
4934
- onClick: c[60] ||= () => M("click", e.name)
4921
+ onClick: c[60] ||= () => j("click", e.name)
4935
4922
  }, null, 8, [
4936
4923
  "id",
4937
4924
  "groupId",
@@ -4942,7 +4929,7 @@ var $ = {
4942
4929
  "labelId",
4943
4930
  "modelValue",
4944
4931
  "builderOptions"
4945
- ])) : A.value === "contentSwitcher" ? (S(), r(k(re), {
4932
+ ])) : O.value === "contentSwitcher" ? (S(), r(k(L), {
4946
4933
  key: 18,
4947
4934
  id: `${e.id}-${e.name}`,
4948
4935
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -4972,7 +4959,7 @@ var $ = {
4972
4959
  "labelId",
4973
4960
  "modelValue",
4974
4961
  "builderOptions"
4975
- ])) : A.value === "dataVisualizer" ? (S(), r(k(ie), {
4962
+ ])) : O.value === "dataVisualizer" ? (S(), r(k(R), {
4976
4963
  key: 19,
4977
4964
  id: `${e.id}-${e.name}`,
4978
4965
  kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -4988,7 +4975,7 @@ var $ = {
4988
4975
  maxValue: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.maxValue : e.displaySchema?.properties[e.name]?.lx?.maxValue,
4989
4976
  mode: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.mode : e.displaySchema?.properties[e.name]?.lx?.mode,
4990
4977
  texts: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.texts : e.displaySchema?.properties[e.name]?.lx?.texts,
4991
- onClick: c[62] ||= (t) => M("click", e.name, t)
4978
+ onClick: c[62] ||= (t) => j("click", e.name, t)
4992
4979
  }, null, 8, [
4993
4980
  "id",
4994
4981
  "kind",
@@ -5004,7 +4991,7 @@ var $ = {
5004
4991
  "maxValue",
5005
4992
  "mode",
5006
4993
  "texts"
5007
- ])) : A.value === "dateTimeRange" && f.value[e.name] ? (S(), r(k(V), {
4994
+ ])) : O.value === "dateTimeRange" && f.value[e.name] ? (S(), r(k(oe), {
5008
4995
  key: 20,
5009
4996
  id: `${e.id}-${e.name}`,
5010
4997
  startDate: f.value[e.name].startDate,
@@ -5016,7 +5003,6 @@ var $ = {
5016
5003
  tooltip: e.displaySchema?.properties[e.name]?.lx?.tooltip,
5017
5004
  minDate: e.displaySchema?.properties[e.name]?.lx?.minDate,
5018
5005
  maxDate: e.displaySchema?.properties[e.name]?.lx?.maxDate,
5019
- required: e.displaySchema?.properties[e.name]?.lx?.required,
5020
5006
  readOnly: g(e.displaySchema?.properties[e.name]),
5021
5007
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
5022
5008
  invalid: J.value,
@@ -5030,9 +5016,9 @@ var $ = {
5030
5016
  labelId: e.displaySchema?.properties[e.name]?.lx?.labelId,
5031
5017
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
5032
5018
  builderOptions: X.value,
5033
- "onOutOfRange:startDate": c[65] ||= (t) => M("outOfRange:startDate", e.name, t),
5034
- "onOutOfRange:endDate": c[66] ||= (t) => M("outOfRange:endDate", e.name, t),
5035
- onOutOfRange: c[67] ||= (t) => M("outOfRange", e.name, t)
5019
+ "onOutOfRange:startDate": c[65] ||= (t) => j("outOfRange:startDate", e.name, t),
5020
+ "onOutOfRange:endDate": c[66] ||= (t) => j("outOfRange:endDate", e.name, t),
5021
+ onOutOfRange: c[67] ||= (t) => j("outOfRange", e.name, t)
5036
5022
  }, null, 8, [
5037
5023
  "id",
5038
5024
  "startDate",
@@ -5042,7 +5028,6 @@ var $ = {
5042
5028
  "tooltip",
5043
5029
  "minDate",
5044
5030
  "maxDate",
5045
- "required",
5046
5031
  "readOnly",
5047
5032
  "disabled",
5048
5033
  "invalid",
@@ -5056,7 +5041,7 @@ var $ = {
5056
5041
  "labelId",
5057
5042
  "texts",
5058
5043
  "builderOptions"
5059
- ])) : A.value === "dropDownMenu" ? (S(), r(k(ce), {
5044
+ ])) : O.value === "dropDownMenu" ? (S(), r(k(ue), {
5060
5045
  key: 21,
5061
5046
  placement: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.placement : e.displaySchema?.properties[e.name]?.lx?.placement,
5062
5047
  disabled: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.disabled : e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5064,9 +5049,9 @@ var $ = {
5064
5049
  offsetSkid: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.offsetSkid : e.displaySchema?.properties[e.name]?.lx?.offsetSkid,
5065
5050
  actionDefinitions: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.actionDefinitions : e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
5066
5051
  groupDefinitions: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.groupDefinitions : e.displaySchema?.properties[e.name]?.lx?.groupDefinitions,
5067
- onActionClick: c[68] ||= (t, n) => M("actionClick", e.name, t, n)
5052
+ onActionClick: c[68] ||= (t, n) => j("actionClick", e.name, t, n)
5068
5053
  }, {
5069
- panel: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (S(), r(k(I), {
5054
+ panel: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (S(), r(k(F), {
5070
5055
  key: n,
5071
5056
  label: t?.label,
5072
5057
  title: t?.title,
@@ -5088,7 +5073,7 @@ var $ = {
5088
5073
  tabindex: t?.tabindex,
5089
5074
  customClass: t?.customClass,
5090
5075
  openInNewTab: t?.openInNewTab,
5091
- onClick: () => M("click", `${e.name}.${n}`, t?.id || t?.label)
5076
+ onClick: () => j("click", `${e.name}.${n}`, t?.id || t?.label)
5092
5077
  }, null, 8, [
5093
5078
  "label",
5094
5079
  "title",
@@ -5112,7 +5097,7 @@ var $ = {
5112
5097
  "openInNewTab",
5113
5098
  "onClick"
5114
5099
  ]))), 128))]),
5115
- default: N(() => [l(k(I), {
5100
+ default: N(() => [l(k(F), {
5116
5101
  id: `${e.id}-${e.name}`,
5117
5102
  label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
5118
5103
  title: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.title : e.displaySchema?.properties[e.name]?.lx?.title,
@@ -5164,7 +5149,7 @@ var $ = {
5164
5149
  "offsetSkid",
5165
5150
  "actionDefinitions",
5166
5151
  "groupDefinitions"
5167
- ])) : A.value === "file" ? (S(), r(k(de), {
5152
+ ])) : O.value === "file" ? (S(), r(k(pe), {
5168
5153
  key: 22,
5169
5154
  id: `${e.id}-${e.name}`,
5170
5155
  selectionKind: e.displaySchema?.properties[e.name]?.lx?.selectionKind,
@@ -5193,10 +5178,10 @@ var $ = {
5193
5178
  modelValue: f.value[e.name],
5194
5179
  "onUpdate:modelValue": c[69] ||= (t) => f.value[e.name] = t,
5195
5180
  builderOptions: X.value,
5196
- onOnError: c[70] ||= (t, n) => M("onError", e.name, t, n),
5197
- onDownloadFile: c[71] ||= (t) => M("downloadFile", e.name, t),
5198
- "onUpdate:itemsStates": c[72] ||= (t) => M("update:itemsStates", e.name, t)
5199
- }, 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), {
5181
+ onOnError: c[70] ||= (t, n) => j("onError", e.name, t, n),
5182
+ onDownloadFile: c[71] ||= (t) => j("downloadFile", e.name, t),
5183
+ "onUpdate:itemsStates": c[72] ||= (t) => j("update:itemsStates", e.name, t)
5184
+ }, 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), {
5200
5185
  key: 23,
5201
5186
  id: `${e.id}-${e.name}`,
5202
5187
  scrollable: e.displaySchema?.properties[e.name]?.lx?.scrollable,
@@ -5212,7 +5197,7 @@ var $ = {
5212
5197
  preloadLibs: e.displaySchema?.properties[e.name]?.lx?.preloadLibs,
5213
5198
  modelValue: f.value[e.name],
5214
5199
  "onUpdate:modelValue": c[73] ||= (t) => f.value[e.name] = t,
5215
- onDownload: c[74] ||= (t) => M("download", e.name, t)
5200
+ onDownload: c[74] ||= (t) => j("download", e.name, t)
5216
5201
  }, null, 8, [
5217
5202
  "id",
5218
5203
  "scrollable",
@@ -5227,7 +5212,7 @@ var $ = {
5227
5212
  "downloadType",
5228
5213
  "preloadLibs",
5229
5214
  "modelValue"
5230
- ])) : A.value === "flag" ? (S(), r(k(me), {
5215
+ ])) : O.value === "flag" ? (S(), r(k(ge), {
5231
5216
  key: 24,
5232
5217
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5233
5218
  size: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.size : e.displaySchema?.properties[e.name]?.lx?.size,
@@ -5240,7 +5225,7 @@ var $ = {
5240
5225
  "title",
5241
5226
  "locale",
5242
5227
  "meaningful"
5243
- ])) : A.value === "icon" ? (S(), r(k(he), {
5228
+ ])) : O.value === "icon" ? (S(), r(k(_e), {
5244
5229
  key: 25,
5245
5230
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5246
5231
  iconSet: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.iconSet : e.displaySchema?.properties[e.name]?.lx?.iconSet,
@@ -5261,7 +5246,7 @@ var $ = {
5261
5246
  "title",
5262
5247
  "desc",
5263
5248
  "texts"
5264
- ])) : A.value === "illustration" ? (S(), r(k(ge), {
5249
+ ])) : O.value === "illustration" ? (S(), r(k(ve), {
5265
5250
  key: 26,
5266
5251
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5267
5252
  class: _(e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.class : e.displaySchema?.properties[e.name]?.lx?.class),
@@ -5270,10 +5255,10 @@ var $ = {
5270
5255
  "value",
5271
5256
  "class",
5272
5257
  "animation"
5273
- ])) : A.value === "link" ? (S(), r(k(_e), {
5258
+ ])) : O.value === "link" ? (S(), r(k(ye), {
5274
5259
  key: 27,
5275
5260
  href: f.value?.[e.name]?.href || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.href
5276
- }, null, 8, ["href"])) : A.value === "map" ? (S(), r(k(xe), {
5261
+ }, null, 8, ["href"])) : O.value === "map" ? (S(), r(k(Ce), {
5277
5262
  key: 28,
5278
5263
  id: `${e.id}-${e.name}`,
5279
5264
  baseLayerDefinitions: f.value[e.name].baseLayerDefinitions,
@@ -5294,8 +5279,8 @@ var $ = {
5294
5279
  actionDefinitions: f.value[e.name].actionDefinitions,
5295
5280
  stickyToolbar: f.value[e.name].stickyToolbar,
5296
5281
  texts: f.value[e.name].texts,
5297
- onSearch: c[79] ||= (t) => M("search", e.name, t),
5298
- onActionClick: c[80] ||= (t, n) => M("actionClick", e.name, t, n)
5282
+ onSearch: c[79] ||= (t) => j("search", e.name, t),
5283
+ onActionClick: c[80] ||= (t, n) => j("actionClick", e.name, t, n)
5299
5284
  }, null, 8, [
5300
5285
  "id",
5301
5286
  "baseLayerDefinitions",
@@ -5312,7 +5297,7 @@ var $ = {
5312
5297
  "actionDefinitions",
5313
5298
  "stickyToolbar",
5314
5299
  "texts"
5315
- ])) : A.value === "markdownTextArea" ? (S(), r(k(Se), {
5300
+ ])) : O.value === "markdownTextArea" ? (S(), r(k(we), {
5316
5301
  key: 29,
5317
5302
  id: `${e.id}-${e.name}`,
5318
5303
  placeholder: h(e.displaySchema?.properties[e.name]),
@@ -5340,14 +5325,14 @@ var $ = {
5340
5325
  modelValue: f.value[e.name],
5341
5326
  "onUpdate:modelValue": c[81] ||= (t) => f.value[e.name] = t,
5342
5327
  builderOptions: X.value,
5343
- onNotification: c[82] ||= (t) => M("notification", e.name, t),
5344
- onPreparedImage: c[83] ||= (t, n, r, i) => M("preparedImage", e.name, {
5328
+ onNotification: c[82] ||= (t) => j("notification", e.name, t),
5329
+ onPreparedImage: c[83] ||= (t, n, r, i) => j("preparedImage", e.name, {
5345
5330
  base64: t,
5346
5331
  id: n,
5347
5332
  alt: r,
5348
5333
  title: i
5349
5334
  }),
5350
- onActionClick: c[84] ||= (t, n) => M("actionClick", e.name, t, n)
5335
+ onActionClick: c[84] ||= (t, n) => j("actionClick", e.name, t, n)
5351
5336
  }, null, 8, [
5352
5337
  "id",
5353
5338
  "placeholder",
@@ -5374,7 +5359,7 @@ var $ = {
5374
5359
  "texts",
5375
5360
  "modelValue",
5376
5361
  "builderOptions"
5377
- ])) : A.value === "numberSlider" ? (S(), r(k(we), {
5362
+ ])) : O.value === "numberSlider" ? (S(), r(k(V), {
5378
5363
  key: 30,
5379
5364
  id: `${e.id}-${e.name}`,
5380
5365
  min: e.displaySchema?.properties[e.name]?.lx?.min,
@@ -5406,7 +5391,7 @@ var $ = {
5406
5391
  "texts",
5407
5392
  "modelValue",
5408
5393
  "builderOptions"
5409
- ])) : A.value === "personDisplay" ? (S(), r(k(U), {
5394
+ ])) : O.value === "personDisplay" ? (S(), r(k(H), {
5410
5395
  key: 31,
5411
5396
  value: f.value?.[e.name],
5412
5397
  name: e.displaySchema?.properties[e.name]?.lx?.name,
@@ -5457,7 +5442,7 @@ var $ = {
5457
5442
  "customRole",
5458
5443
  "focusable",
5459
5444
  "texts"
5460
- ])) : A.value === "qr" ? (S(), r(k(Ee), {
5445
+ ])) : O.value === "qr" ? (S(), r(k(Ee), {
5461
5446
  key: 32,
5462
5447
  id: `${e.id}-${e.name}`,
5463
5448
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
@@ -5468,7 +5453,7 @@ var $ = {
5468
5453
  "value",
5469
5454
  "size",
5470
5455
  "ignoreTheme"
5471
- ])) : A.value === "qrScanner" ? (S(), r(k(De), {
5456
+ ])) : O.value === "qrScanner" ? (S(), r(k(De), {
5472
5457
  key: 33,
5473
5458
  id: `${e.id}-${e.name}`,
5474
5459
  formats: f.value?.[e.name]?.formats || e.displaySchema?.properties[e.name]?.lx?.formats,
@@ -5482,9 +5467,9 @@ var $ = {
5482
5467
  actionDefinitions: f.value?.[e.name]?.actionDefinitions || e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
5483
5468
  texts: f.value?.[e.name]?.texts || e.displaySchema?.properties[e.name]?.lx?.texts,
5484
5469
  builderOptions: X.value,
5485
- onValue: c[86] ||= (t) => M("value", e.name, t),
5486
- onError: c[87] ||= (t) => M("error", e.name, t),
5487
- onActionClick: c[88] ||= (t, n) => M("actionClick", e.name, t, n)
5470
+ onValue: c[86] ||= (t) => j("value", e.name, t),
5471
+ onError: c[87] ||= (t) => j("error", e.name, t),
5472
+ onActionClick: c[88] ||= (t, n) => j("actionClick", e.name, t, n)
5488
5473
  }, null, 8, [
5489
5474
  "id",
5490
5475
  "formats",
@@ -5498,7 +5483,7 @@ var $ = {
5498
5483
  "actionDefinitions",
5499
5484
  "texts",
5500
5485
  "builderOptions"
5501
- ])) : A.value === "rating" ? (S(), r(k(Oe), {
5486
+ ])) : O.value === "rating" ? (S(), r(k(Oe), {
5502
5487
  key: 34,
5503
5488
  readOnly: g(e.displaySchema?.properties[e.name]),
5504
5489
  kind: e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5520,7 +5505,7 @@ var $ = {
5520
5505
  "invalidationMessage",
5521
5506
  "texts",
5522
5507
  "modelValue"
5523
- ])) : A.value === "richTextDisplay" ? (S(), r(k(ke), {
5508
+ ])) : O.value === "richTextDisplay" ? (S(), r(k(ke), {
5524
5509
  key: 35,
5525
5510
  id: `${e.id}-${e.name}`,
5526
5511
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
@@ -5529,11 +5514,11 @@ var $ = {
5529
5514
  "id",
5530
5515
  "value",
5531
5516
  "loading"
5532
- ])) : A.value === "stateDisplay" ? (S(), r(k(je), {
5517
+ ])) : O.value === "stateDisplay" ? (S(), r(k(je), {
5533
5518
  key: 36,
5534
5519
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5535
5520
  dictionary: e.displaySchema?.properties[e.name]?.type === "object" ? f.value?.[e.name]?.dictionary : e.displaySchema?.properties[e.name]?.lx?.dictionary
5536
- }, null, 8, ["value", "dictionary"])) : A.value === "steps" ? (S(), r(k(Me), {
5521
+ }, null, 8, ["value", "dictionary"])) : O.value === "steps" ? (S(), r(k(Me), {
5537
5522
  key: 37,
5538
5523
  id: `${e.id}-${e.name}`,
5539
5524
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -5559,7 +5544,7 @@ var $ = {
5559
5544
  "busy",
5560
5545
  "disabled",
5561
5546
  "modelValue"
5562
- ])) : A.value === "visualPicker" ? (S(), r(k(Re), {
5547
+ ])) : O.value === "visualPicker" ? (S(), r(k(Re), {
5563
5548
  key: 38,
5564
5549
  id: `${e.id}-${e.name}`,
5565
5550
  kind: e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5581,7 +5566,7 @@ var $ = {
5581
5566
  "texts",
5582
5567
  "modelValue",
5583
5568
  "builderOptions"
5584
- ])) : A.value === "dayInput" ? (S(), r(k(ae), {
5569
+ ])) : O.value === "dayInput" ? (S(), r(k(se), {
5585
5570
  key: 39,
5586
5571
  id: `${e.id}-${e.name}`,
5587
5572
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5607,7 +5592,7 @@ var $ = {
5607
5592
  "texts",
5608
5593
  "modelValue",
5609
5594
  "builderOptions"
5610
- ])) : A.value === "drawPad" ? (S(), r(k(se), {
5595
+ ])) : O.value === "drawPad" ? (S(), r(k(le), {
5611
5596
  key: 40,
5612
5597
  id: `${e.id}-${e.name}`,
5613
5598
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5625,9 +5610,9 @@ var $ = {
5625
5610
  modelValue: f.value[e.name],
5626
5611
  "onUpdate:modelValue": c[93] ||= (t) => f.value[e.name] = t,
5627
5612
  builderOptions: X.value,
5628
- onActionClick: c[94] ||= (t, n) => M("actionClick", e.name, t, n),
5629
- "onUpdate:instrument": c[95] ||= (t) => M("update:instrument", e.name, t),
5630
- "onUpdate:color": c[96] ||= (t) => M("update:color", e.name, t)
5613
+ onActionClick: c[94] ||= (t, n) => j("actionClick", e.name, t, n),
5614
+ "onUpdate:instrument": c[95] ||= (t) => j("update:instrument", e.name, t),
5615
+ "onUpdate:color": c[96] ||= (t) => j("update:color", e.name, t)
5631
5616
  }, null, 8, [
5632
5617
  "id",
5633
5618
  "disabled",
@@ -5644,7 +5629,7 @@ var $ = {
5644
5629
  "texts",
5645
5630
  "modelValue",
5646
5631
  "builderOptions"
5647
- ])) : A.value === "logoDisplay" ? (S(), r(k(be), {
5632
+ ])) : O.value === "logoDisplay" ? (S(), r(k(Se), {
5648
5633
  key: 41,
5649
5634
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5650
5635
  kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5655,14 +5640,14 @@ var $ = {
5655
5640
  "kind",
5656
5641
  "size",
5657
5642
  "theme"
5658
- ])) : A.value === "text" ? (S(), a("p", kn, D(f.value[e.name]), 1)) : i("", !0);
5643
+ ])) : O.value === "text" ? (S(), a("p", An, D(f.value[e.name]), 1)) : i("", !0);
5659
5644
  }
5660
- }, jn = {
5645
+ }, Mn = {
5661
5646
  __name: "FormBuilder",
5662
5647
  props: {
5663
5648
  id: {
5664
5649
  type: String,
5665
- default: () => Y.generateUUID()
5650
+ default: () => He.generateUUID()
5666
5651
  },
5667
5652
  modelValue: {
5668
5653
  type: Object,
@@ -5723,7 +5708,7 @@ var $ = {
5723
5708
  deleteElement: "Dzēst elementu",
5724
5709
  saveElement: "Pievienot elementu sarakstam",
5725
5710
  addObject: "Pievienot objektu"
5726
- }, f = n(() => He.getDisplayTexts(u.texts, d)), p = l, m = n({
5711
+ }, f = n(() => J.getDisplayTexts(u.texts, d)), p = l, m = n({
5727
5712
  get() {
5728
5713
  return u.modelValue ? u.modelValue : {};
5729
5714
  },
@@ -5743,50 +5728,47 @@ var $ = {
5743
5728
  return !0;
5744
5729
  });
5745
5730
  function _(e) {
5746
- return e?.format !== "date" && e?.format !== "time" && e?.format !== "date-time" && e?.format !== "year" && e?.format !== "month" && e?.format !== "month-year" && e?.format !== "quarters";
5731
+ 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" : "";
5747
5732
  }
5748
5733
  function v(e) {
5749
- 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" : "";
5750
- }
5751
- function y(e) {
5752
5734
  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" : "";
5753
5735
  }
5754
- function x(e, t) {
5736
+ function y(e, t) {
5755
5737
  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" : "";
5756
5738
  }
5757
- function T(e) {
5739
+ function x(e) {
5758
5740
  return an(e);
5759
5741
  }
5760
- function E(e) {
5761
- return v(e) || null;
5742
+ function T(e) {
5743
+ return _(e) || null;
5762
5744
  }
5763
- function O(e) {
5745
+ function E(e) {
5764
5746
  return e?.type === "string" && (e?.lx?.variant || e?.enum) || e?.type === "array";
5765
5747
  }
5766
- function A(e) {
5767
- let t = y(e);
5748
+ function O(e) {
5749
+ let t = v(e);
5768
5750
  return t === "" ? null : t;
5769
5751
  }
5770
- function M(e, t) {
5771
- let n = x(e, t);
5752
+ function A(e, t) {
5753
+ let n = y(e, t);
5772
5754
  return n === "" ? null : n;
5773
5755
  }
5774
- function P(e) {
5756
+ function M(e) {
5775
5757
  e && Ve.log(`Property '${e}' couldn't be rendered`, Qe().getGlobals()?.environment, "warn");
5776
5758
  }
5777
- function F(e, t) {
5759
+ function P(e, t) {
5778
5760
  if (e?.lx?.wrapper === "placeholder") return "lxPlaceholder";
5779
- let n = T(e);
5761
+ let n = x(e);
5780
5762
  if (n) return n;
5781
- let r = E(e);
5763
+ let r = T(e);
5782
5764
  if (r) return r;
5783
5765
  if (e?.type === "integer") return "textInputInteger";
5784
5766
  if (e?.type === "boolean") return "toggle";
5785
- if (O(e)) {
5786
- let t = A(e);
5767
+ if (E(e)) {
5768
+ let t = O(e);
5787
5769
  if (t) return t;
5788
5770
  }
5789
- return M(e, t) || (P(t), "lxPlaceholder");
5771
+ return A(e, t) || (M(t), "lxPlaceholder");
5790
5772
  }
5791
5773
  function ee() {
5792
5774
  let e = { ...u.modelValue };
@@ -5813,7 +5795,7 @@ var $ = {
5813
5795
  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" }));
5814
5796
  })) : e.properties[t] = { lx: { wrapper: "placeholder" } };
5815
5797
  }), e;
5816
- }), I = n(() => {
5798
+ }), ne = n(() => {
5817
5799
  let e = q.objectClone(te.value);
5818
5800
  if (u.mode === "mixed") try {
5819
5801
  return u.schema?.hasOwnProperty("required") && (e.required = u.schema?.required), Object.entries(te.value?.properties)?.forEach(([t]) => {
@@ -5825,18 +5807,18 @@ var $ = {
5825
5807
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
5826
5808
  }
5827
5809
  return e;
5828
- }), L = n(() => {
5810
+ }), F = n(() => {
5829
5811
  try {
5830
5812
  if (u.mode === "no-schema") return te.value;
5831
- if (u.mode === "mixed") return I.value;
5813
+ if (u.mode === "mixed") return ne.value;
5832
5814
  } catch (e) {
5833
5815
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
5834
5816
  }
5835
5817
  return u.schema;
5836
- }), ne = n(() => {
5818
+ }), I = n(() => {
5837
5819
  if (u.mode === "no-schema") return te.value?.properties;
5838
- if (L.value?.properties) {
5839
- 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));
5820
+ if (F.value?.properties) {
5821
+ 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));
5840
5822
  return Object.fromEntries(t);
5841
5823
  }
5842
5824
  return {};
@@ -5844,124 +5826,124 @@ var $ = {
5844
5826
  function re(e, t, n = void 0, r = void 0) {
5845
5827
  p("emit", e, t, n, r);
5846
5828
  }
5847
- function R(e, t) {
5829
+ function L(e, t) {
5848
5830
  return e.replace("{0}", t);
5849
5831
  }
5850
- function z(e, t, n, r) {
5832
+ function ie(e, t, n, r) {
5851
5833
  p("rowActionClick", e, t, n, r);
5852
5834
  }
5853
- function ie(e) {
5835
+ function ae(e) {
5854
5836
  return e === "number" || e === "integer";
5855
5837
  }
5856
- function B(e, t) {
5838
+ function R(e, t) {
5857
5839
  return e[t] || (e[t] = {}), e[t];
5858
5840
  }
5859
- function V(e, t, n, r) {
5860
- B(e, t)[n] = r;
5841
+ function z(e, t, n, r) {
5842
+ R(e, t)[n] = r;
5861
5843
  }
5862
- function ae(e, t) {
5844
+ function oe(e, t) {
5863
5845
  e?.required?.forEach((e) => {
5864
- V(t, e, "required", Q.withMessage(() => f.value.required, Zt));
5846
+ z(t, e, "required", Q.withMessage(() => f.value.required, Zt));
5865
5847
  });
5866
5848
  }
5867
- function oe(e) {
5849
+ function se(e) {
5868
5850
  return Q.withParams({
5869
5851
  type: "exclusiveMinimum",
5870
5852
  value: e
5871
5853
  }, (t) => t > e);
5872
5854
  }
5873
- function se(e) {
5855
+ function ce(e) {
5874
5856
  return Q.withParams({
5875
5857
  type: "exclusiveMaximum",
5876
5858
  value: e
5877
5859
  }, (t) => t < e);
5878
5860
  }
5879
- function ce(e) {
5861
+ function le(e) {
5880
5862
  return Q.withParams({
5881
5863
  type: "multipleOf",
5882
5864
  value: e
5883
5865
  }, (t) => t % e === 0);
5884
5866
  }
5885
- function le(e) {
5867
+ function ue(e) {
5886
5868
  return Q.withParams({
5887
5869
  type: "pattern",
5888
5870
  value: e
5889
5871
  }, (t) => new RegExp(e).test(t));
5890
5872
  }
5891
- function ue(e, t, n) {
5892
- 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))));
5893
- }
5894
5873
  function de(e, t, n) {
5895
- 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))));
5874
+ 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))));
5896
5875
  }
5897
- function fe(e) {
5898
- return new Set(e)?.size === e?.length;
5876
+ function fe(e, t, n) {
5877
+ 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))));
5899
5878
  }
5900
- function pe(e, t, n) {
5901
- 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)));
5879
+ function pe(e) {
5880
+ return new Set(e)?.size === e?.length;
5902
5881
  }
5903
5882
  function me(e, t, n) {
5904
- ue(e, t, n), de(e, t, n), pe(e, t, n);
5883
+ 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)));
5884
+ }
5885
+ function he(e, t, n) {
5886
+ de(e, t, n), fe(e, t, n), me(e, t, n);
5905
5887
  }
5906
- function H(e, t, n) {
5888
+ function ge(e, t, n) {
5907
5889
  e?.properties && Object.entries(e.properties).forEach(([e, r]) => {
5908
5890
  if (r?.type === "object" && r?.properties) {
5909
5891
  t[e] = n(r);
5910
5892
  return;
5911
5893
  }
5912
- me(t, e, r);
5894
+ he(t, e, r);
5913
5895
  });
5914
5896
  }
5915
- function he(e) {
5897
+ function B(e) {
5916
5898
  return Q.withParams({
5917
5899
  type: "minProperties",
5918
5900
  value: e
5919
5901
  }, (t) => Object.keys(t).length >= e);
5920
5902
  }
5921
- function ge(e) {
5903
+ function _e(e) {
5922
5904
  return Q.withParams({
5923
5905
  type: "maxProperties",
5924
5906
  value: e
5925
5907
  }, (t) => Object.keys(t).length <= e);
5926
5908
  }
5927
- function _e(e, t) {
5928
- 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)));
5909
+ function ve(e, t) {
5910
+ 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)));
5929
5911
  }
5930
- function ve(e) {
5912
+ function ye(e) {
5931
5913
  let t = {};
5932
- return ae(e, t), H(e, t, ve), _e(e, t), t;
5914
+ return oe(e, t), ge(e, t, ye), ve(e, t), t;
5933
5915
  }
5934
- let ye = n(() => u.schema ? { modelClone: ve(u.schema) } : { modelClone: {} }), be = C();
5935
- function xe() {
5916
+ let be = n(() => u.schema ? { modelClone: ye(u.schema) } : { modelClone: {} }), xe = C();
5917
+ function Se() {
5936
5918
  let e = [];
5937
- 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) => {
5919
+ 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) => {
5938
5920
  let n = {};
5939
5921
  n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
5940
5922
  })), e;
5941
5923
  }
5942
- function Se() {
5943
- be.value.value.modelClone.$reset();
5924
+ function Ce() {
5925
+ xe.value.value.modelClone.$reset();
5944
5926
  }
5945
5927
  return j(() => u.schema, () => {
5946
5928
  u.mode !== "no-schema" && u.mode !== "view-builder" && ee();
5947
5929
  }), b(() => {
5948
5930
  u.mode !== "no-schema" && u.mode !== "view-builder" && ee();
5949
5931
  }), o({
5950
- validateModel: xe,
5951
- clearValidations: Se,
5952
- componentSelect: F
5953
- }), (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), {
5932
+ validateModel: Se,
5933
+ clearValidations: Ce,
5934
+ componentSelect: P
5935
+ }), (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), {
5954
5936
  key: 0,
5955
5937
  class: "lx-placeholder"
5956
5938
  })) : n?.lx?.displayType === "section" ? i("", !0) : (S(), r(k(W), {
5957
5939
  key: 1,
5958
- label: L.value?.properties[l]?.title ? L.value?.properties[l]?.title : l,
5959
- rowSpan: L.value?.properties[l]?.lx?.rowSpan,
5960
- columnSpan: L.value?.properties[l]?.lx?.columnSpan,
5940
+ label: F.value?.properties[l]?.title ? F.value?.properties[l]?.title : l,
5941
+ rowSpan: F.value?.properties[l]?.lx?.rowSpan,
5942
+ columnSpan: F.value?.properties[l]?.lx?.columnSpan,
5961
5943
  required: h(l),
5962
5944
  inputId: e.builderOptions?.useRegistry ? void 0 : `${e.id}-${l}`,
5963
5945
  id: `${e.id}-${l}-wrapper`,
5964
- actionDefinitions: L.value?.properties[l]?.lx?.rowActionDefinitions,
5946
+ actionDefinitions: F.value?.properties[l]?.lx?.rowActionDefinitions,
5965
5947
  builderOptions: {
5966
5948
  schemaPath: `${e.builderOptions?.schemaPath}.${l}`,
5967
5949
  componentStack: e.builderOptions?.componentStack?.concat([{
@@ -5970,9 +5952,9 @@ var $ = {
5970
5952
  }]),
5971
5953
  useRegistry: e.builderOptions?.useRegistry
5972
5954
  },
5973
- onActionClick: (e, t, n) => z(t, n, l, void 0)
5955
+ onActionClick: (e, t, n) => ie(t, n, l, void 0)
5974
5956
  }, s({
5975
- default: N(() => [F(n, l) === "stack" ? (S(), r(k(G), {
5957
+ default: N(() => [P(n, l) === "stack" ? (S(), r(k(G), {
5976
5958
  key: 0,
5977
5959
  id: `${e.id}-${l}`,
5978
5960
  orientation: n?.lx?.orientation,
@@ -5983,7 +5965,7 @@ var $ = {
5983
5965
  horizontalConfig: n?.lx?.horizontalConfig,
5984
5966
  verticalConfig: n?.lx?.verticalConfig
5985
5967
  }, {
5986
- 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), {
5968
+ 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), {
5987
5969
  key: 0,
5988
5970
  id: `${e.id}-${s}`,
5989
5971
  orientation: n?.lx?.orientation,
@@ -5994,7 +5976,7 @@ var $ = {
5994
5976
  horizontalConfig: n?.lx?.horizontalConfig,
5995
5977
  verticalConfig: n?.lx?.verticalConfig
5996
5978
  }, {
5997
- 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, {
5979
+ 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, {
5998
5980
  key: 0,
5999
5981
  id: `${e.id}-${c}`,
6000
5982
  modelValue: m.value[l][s],
@@ -6002,13 +5984,13 @@ var $ = {
6002
5984
  readOnly: e.readOnly,
6003
5985
  row: n,
6004
5986
  name: c,
6005
- displaySchema: L.value?.properties[l]?.properties[s],
6006
- vv: be.value,
6007
- orderedObject: ne.value?.[l]?.properties?.[s]?.properties,
5987
+ displaySchema: F.value?.properties[l]?.properties[s],
5988
+ vv: xe.value,
5989
+ orderedObject: I.value?.[l]?.properties?.[s]?.properties,
6008
5990
  texts: f.value,
6009
5991
  parentName: `${l}.${s}`,
6010
5992
  validations: e.validations?.[l]?.[s],
6011
- onRowActionClick: o[0] ||= (e, t, n, r) => z(e, t, n, r),
5993
+ onRowActionClick: o[0] ||= (e, t, n, r) => ie(e, t, n, r),
6012
5994
  onEmit: o[1] ||= (e, t, n, r) => re(e, t, n, r),
6013
5995
  onFilterBuilderFilter: o[2] ||= (e) => p("filterBuilderFilter")
6014
5996
  }, null, 8, [
@@ -6035,7 +6017,7 @@ var $ = {
6035
6017
  "verticalAlignment",
6036
6018
  "horizontalConfig",
6037
6019
  "verticalConfig"
6038
- ])) : (S(), r(An, {
6020
+ ])) : (S(), r(jn, {
6039
6021
  key: 1,
6040
6022
  id: e.id,
6041
6023
  modelValue: m.value[l],
@@ -6043,13 +6025,13 @@ var $ = {
6043
6025
  readOnly: e.readOnly,
6044
6026
  row: n,
6045
6027
  name: s,
6046
- displaySchema: L.value?.properties[l],
6047
- vv: be.value,
6048
- orderedObject: ne.value?.[l]?.properties,
6028
+ displaySchema: F.value?.properties[l],
6029
+ vv: xe.value,
6030
+ orderedObject: I.value?.[l]?.properties,
6049
6031
  parentName: l,
6050
6032
  texts: f.value,
6051
6033
  validations: e.validations?.[l],
6052
- onRowActionClick: o[3] ||= (e, t, n, r) => z(e, t, n, r),
6034
+ onRowActionClick: o[3] ||= (e, t, n, r) => ie(e, t, n, r),
6053
6035
  onEmit: o[4] ||= (e, t, n, r) => re(e, t, n, r),
6054
6036
  onFilterBuilderFilter: o[5] ||= (e) => p("filterBuilderFilter")
6055
6037
  }, null, 8, [
@@ -6076,7 +6058,7 @@ var $ = {
6076
6058
  "verticalAlignment",
6077
6059
  "horizontalConfig",
6078
6060
  "verticalConfig"
6079
- ])) : (S(), r(An, {
6061
+ ])) : (S(), r(jn, {
6080
6062
  key: 1,
6081
6063
  id: e.id,
6082
6064
  modelValue: m.value,
@@ -6084,10 +6066,10 @@ var $ = {
6084
6066
  readOnly: e.readOnly,
6085
6067
  row: n,
6086
6068
  name: l,
6087
- displaySchema: L.value,
6069
+ displaySchema: F.value,
6088
6070
  schema: e.schema,
6089
- vv: be.value,
6090
- orderedObject: ne.value,
6071
+ vv: xe.value,
6072
+ orderedObject: I.value,
6091
6073
  texts: f.value,
6092
6074
  validations: e.validations,
6093
6075
  builderOptions: {
@@ -6098,7 +6080,7 @@ var $ = {
6098
6080
  useRegistry: e.builderOptions?.useRegistry,
6099
6081
  schemaPath: `${e.builderOptions?.schemaPath}`
6100
6082
  },
6101
- onRowActionClick: o[7] ||= (e, t, n, r) => z(e, t, n, r),
6083
+ onRowActionClick: o[7] ||= (e, t, n, r) => ie(e, t, n, r),
6102
6084
  onEmit: o[8] ||= (e, t, n, r) => re(e, t, n, r),
6103
6085
  onFilterBuilderFilter: o[9] ||= (e) => p("filterBuilderFilter")
6104
6086
  }, null, 8, [
@@ -6132,7 +6114,7 @@ var $ = {
6132
6114
  "onActionClick"
6133
6115
  ]))], 64))), 128)) : i("", !0);
6134
6116
  }
6135
- }, Mn = {
6117
+ }, Nn = {
6136
6118
  __name: "FilterBuilder",
6137
6119
  props: {
6138
6120
  modelValue: {
@@ -6286,7 +6268,7 @@ var $ = {
6286
6268
  addElement: "Pievienot elementu",
6287
6269
  saveElement: "Pievienot elementu sarakstam",
6288
6270
  addObject: "Pievienot objektu"
6289
- }, c = n(() => He.getDisplayTexts(a.texts, s)), u = n({
6271
+ }, c = n(() => J.getDisplayTexts(a.texts, s)), u = n({
6290
6272
  get() {
6291
6273
  return a.modelValue ? a.modelValue : {};
6292
6274
  },
@@ -6302,7 +6284,7 @@ var $ = {
6302
6284
  }
6303
6285
  }), m = C();
6304
6286
  function h() {
6305
- a.closeOnFilter && (p.value = !1, He.focusNextFocusableElement(m.value?.$el)), o("filter");
6287
+ a.closeOnFilter && (p.value = !1, J.focusNextFocusableElement(m.value?.$el)), o("filter");
6306
6288
  }
6307
6289
  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), {}) : {});
6308
6290
  function v(e, t) {
@@ -6380,11 +6362,11 @@ var $ = {
6380
6362
  b(() => {
6381
6363
  g.value = q.objectClone(a.modelValue || {});
6382
6364
  });
6383
- let F = n(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
6365
+ let ee = n(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
6384
6366
  return t({
6385
6367
  validateModel: M,
6386
6368
  clearValidations: P
6387
- }), (t, n) => (S(), r(k(pe), {
6369
+ }), (t, n) => (S(), r(k(he), {
6388
6370
  ref_key: "filterElement",
6389
6371
  ref: m,
6390
6372
  id: e.id,
@@ -6410,7 +6392,7 @@ var $ = {
6410
6392
  onResetFilters: n[4] ||= () => o("resetFilters"),
6411
6393
  onFastFilterClick: n[5] ||= (e) => o("fastFilterClick", e)
6412
6394
  }, {
6413
- default: N(() => [l(jn, {
6395
+ default: N(() => [l(Mn, {
6414
6396
  ref_key: "formBuilder",
6415
6397
  ref: d,
6416
6398
  id: e.id,
@@ -6430,7 +6412,7 @@ var $ = {
6430
6412
  name: "LxSection"
6431
6413
  }),
6432
6414
  useRegistry: e.builderOptions?.useRegistry,
6433
- schemaPath: F.value
6415
+ schemaPath: ee.value
6434
6416
  },
6435
6417
  onRowActionClick: n[1] ||= (e, t, n, r) => o("rowActionClick", e, t, n, r),
6436
6418
  onFilterBuilderFilter: h,
@@ -6467,12 +6449,12 @@ var $ = {
6467
6449
  "builderOptions"
6468
6450
  ]));
6469
6451
  }
6470
- }, Nn = {
6452
+ }, Pn = {
6471
6453
  __name: "ViewBuilder",
6472
6454
  props: {
6473
6455
  id: {
6474
6456
  type: String,
6475
- default: () => Y.generateUUID()
6457
+ default: () => He.generateUUID()
6476
6458
  },
6477
6459
  modelValue: {
6478
6460
  type: Object,
@@ -6528,7 +6510,7 @@ var $ = {
6528
6510
  deleteElement: "Dzēst elementu",
6529
6511
  saveElement: "Pievienot elementu sarakstam",
6530
6512
  addObject: "Pievienot objektu"
6531
- }, p = n(() => He.getDisplayTexts(d.texts, f)), m = u, h = n({
6513
+ }, p = n(() => J.getDisplayTexts(d.texts, f)), m = u, h = n({
6532
6514
  get() {
6533
6515
  return d.modelValue ? d.modelValue : {};
6534
6516
  },
@@ -6609,7 +6591,7 @@ var $ = {
6609
6591
  function P(e, t, n) {
6610
6592
  E(n?.type) && O(e, t, n), n?.type === "string" && A(e, t, n), n?.type === "array" && M(e, t, n);
6611
6593
  }
6612
- function F(e, t) {
6594
+ function ee(e, t) {
6613
6595
  t?.minProperties !== void 0 && t?.type === "object" && (e.minProperties = Q.withMessage(() => T(p.value.minProperties, t.minProperties), ((e) => Q.withParams({
6614
6596
  type: "minProperties",
6615
6597
  value: e
@@ -6618,28 +6600,28 @@ var $ = {
6618
6600
  value: e
6619
6601
  }, (t) => Object.keys(t).length <= e))(t.maxProperties)));
6620
6602
  }
6621
- let ee = (e) => {
6603
+ let te = (e) => {
6622
6604
  let t = e?.required, n = {};
6623
6605
  return t?.forEach((e) => {
6624
6606
  n[e] = n[e] || {}, n[e].required = Q.withMessage(() => p.value.required, Zt);
6625
6607
  }), e?.properties && Object.entries(e.properties).forEach(([e, t]) => {
6626
- t?.type === "object" && t?.properties ? n[e] = ee(t) : P(n, e, t);
6627
- }), F(n, e), n;
6628
- }, te = n(() => d.schema ? { modelClone: ee(d.schema) } : { modelClone: {} }), I = C(), L = C({});
6629
- function ne() {
6630
- Object.values(L.value)?.forEach((e) => {
6608
+ t?.type === "object" && t?.properties ? n[e] = te(t) : P(n, e, t);
6609
+ }), ee(n, e), n;
6610
+ }, ne = n(() => d.schema ? { modelClone: te(d.schema) } : { modelClone: {} }), F = C(), I = C({});
6611
+ function re() {
6612
+ Object.values(I.value)?.forEach((e) => {
6631
6613
  e.validateModel();
6632
6614
  });
6633
6615
  }
6634
- function re() {
6616
+ function L() {
6635
6617
  let e = [];
6636
- return ne(), I.value = At(te, { modelClone: q.objectClone(h.value) }, { $autoDirty: !0 }), I.value.value.modelClone.$touch(), (I.value.value?.$errors)?.forEach((t) => {
6618
+ return re(), F.value = At(ne, { modelClone: q.objectClone(h.value) }, { $autoDirty: !0 }), F.value.value.modelClone.$touch(), (F.value.value?.$errors)?.forEach((t) => {
6637
6619
  let n = {};
6638
6620
  n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
6639
6621
  }), e;
6640
6622
  }
6641
- function R() {
6642
- I.value.value.modelClone.$reset(), Object.values(L.value)?.forEach((e) => {
6623
+ function ie() {
6624
+ F.value.value.modelClone.$reset(), Object.values(I.value)?.forEach((e) => {
6643
6625
  e.clearValidations();
6644
6626
  });
6645
6627
  }
@@ -6648,7 +6630,7 @@ var $ = {
6648
6630
  }), y(async () => {
6649
6631
  d.mode !== "no-schema" && await _();
6650
6632
  });
6651
- let z = n(() => {
6633
+ let ae = n(() => {
6652
6634
  let e = {
6653
6635
  $schema: "http://json-schema.org/draft-07/schema#",
6654
6636
  type: "object",
@@ -6669,58 +6651,58 @@ var $ = {
6669
6651
  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" }));
6670
6652
  })) : e.properties.form.properties[t] = { lx: { wrapper: "placeholder" } };
6671
6653
  }), e;
6672
- }), ie = n(() => {
6654
+ }), R = n(() => {
6673
6655
  let e = structuredClone(d.schema);
6674
6656
  if (d.mode === "mixed") try {
6675
- return Object.entries(z.value?.properties?.form?.properties)?.forEach(([t, n]) => {
6657
+ return Object.entries(ae.value?.properties?.form?.properties)?.forEach(([t, n]) => {
6676
6658
  Object.prototype.hasOwnProperty.call(e?.properties, t) || (e.properties[t] = n);
6677
6659
  }), e;
6678
6660
  } catch (e) {
6679
6661
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
6680
6662
  }
6681
6663
  return e;
6682
- }), B = n(() => {
6664
+ }), z = n(() => {
6683
6665
  try {
6684
- if (d.mode === "no-schema") return z.value;
6685
- if (d.mode === "mixed") return ie.value;
6666
+ if (d.mode === "no-schema") return ae.value;
6667
+ if (d.mode === "mixed") return R.value;
6686
6668
  } catch (e) {
6687
6669
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
6688
6670
  }
6689
6671
  return d.schema;
6690
6672
  });
6691
- function V(e) {
6673
+ function oe(e) {
6692
6674
  let t = q.objectClone(e), n = !1;
6693
6675
  return Object.entries(t || {}).forEach(([e, r]) => {
6694
6676
  !n && r?.lx?.displayType === "section" && r?.type === "object" && (delete t[e], n = !0);
6695
6677
  }), t;
6696
6678
  }
6697
- function ae(e) {
6679
+ function se(e) {
6698
6680
  let t = q.objectClone(e), n = Object.entries(t || {}), r = !1;
6699
6681
  return n.forEach(([e, n]) => {
6700
6682
  !r && n?.lx?.displayType === "section" && n?.type === "object" ? r = !0 : delete t[e];
6701
6683
  }), t;
6702
6684
  }
6703
- function oe(e) {
6685
+ function ce(e) {
6704
6686
  let t = Object.entries(e || {}).find(([, e]) => e?.lx?.displayType === "section" && e?.type === "object");
6705
6687
  return t ? t[1] : null;
6706
6688
  }
6707
- function se(e) {
6689
+ function le(e) {
6708
6690
  let t = Object.entries(e || {}).find(([, e]) => e?.lx?.displayType === "section" && e?.type === "object");
6709
6691
  return t ? t[0] : null;
6710
6692
  }
6711
- function ce(e, t) {
6712
- let n = se(t?.properties);
6693
+ function ue(e, t) {
6694
+ let n = le(t?.properties);
6713
6695
  return n ? h.value?.[e]?.[n] || {} : h.value?.[e] || {};
6714
6696
  }
6715
- function le(e, t, n) {
6716
- let r = se(t?.properties), i = q.objectClone(h.value || {});
6697
+ function de(e, t, n) {
6698
+ let r = le(t?.properties), i = q.objectClone(h.value || {});
6717
6699
  if (!r) {
6718
6700
  i[e] = n, h.value = i;
6719
6701
  return;
6720
6702
  }
6721
6703
  i[e] = i[e] || {}, i[e][r] = n, h.value = i;
6722
6704
  }
6723
- function ue(e) {
6705
+ function fe(e) {
6724
6706
  let t = [], n = !1;
6725
6707
  return Object.entries(e || {}).forEach(([e, r]) => {
6726
6708
  if (r?.lx?.displayType === "section" && r?.type === "object") {
@@ -6730,8 +6712,8 @@ var $ = {
6730
6712
  }), t;
6731
6713
  }
6732
6714
  return o({
6733
- validateModel: re,
6734
- clearValidations: R
6715
+ validateModel: L,
6716
+ clearValidations: ie
6735
6717
  }), (n, o) => g.value ? (S(), r(k(Le), {
6736
6718
  key: 0,
6737
6719
  kind: v.value,
@@ -6742,12 +6724,12 @@ var $ = {
6742
6724
  useRegistry: e.builderOptions?.useRegistry
6743
6725
  }
6744
6726
  }, s({
6745
- 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, {
6727
+ 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, {
6746
6728
  key: 0,
6747
6729
  ref_for: !0,
6748
- ref: (t) => L.value[`${e.id}-${s}`] = t,
6749
- modelValue: ce(s, n),
6750
- schema: n?.properties?.[se(n?.properties)],
6730
+ ref: (t) => I.value[`${e.id}-${s}`] = t,
6731
+ modelValue: ue(s, n),
6732
+ schema: n?.properties?.[le(n?.properties)],
6751
6733
  name: s,
6752
6734
  id: `${e.id}-${s}`,
6753
6735
  readOnly: e.readOnly,
@@ -6765,7 +6747,7 @@ var $ = {
6765
6747
  badge: n?.lx?.badge,
6766
6748
  badgeType: n?.lx?.badgeType,
6767
6749
  texts: n?.lx?.texts,
6768
- columnCount: oe(n?.properties)?.lx?.columnCount || n?.lx?.columnCount,
6750
+ columnCount: ce(n?.properties)?.lx?.columnCount || n?.lx?.columnCount,
6769
6751
  builderOptions: {
6770
6752
  schemaPath: `${s}`,
6771
6753
  componentStack: [{
@@ -6776,9 +6758,9 @@ var $ = {
6776
6758
  name: "LxFilters"
6777
6759
  }],
6778
6760
  useRegistry: e.builderOptions?.useRegistry,
6779
- defaultSectionSchemaPath: se(n?.properties)
6761
+ defaultSectionSchemaPath: le(n?.properties)
6780
6762
  },
6781
- "onUpdate:modelValue": (e) => le(s, n, e),
6763
+ "onUpdate:modelValue": (e) => de(s, n, e),
6782
6764
  onFilter: () => x("filter", s),
6783
6765
  onResetFilter: () => x("resetFilter", s),
6784
6766
  onFastFilterClick: (e) => x("fastFilterClick", s, e),
@@ -6788,11 +6770,11 @@ var $ = {
6788
6770
  _: 2
6789
6771
  }, [e.mode === "no-schema" ? {
6790
6772
  name: "default",
6791
- fn: N(() => [l(k(H), null, {
6792
- default: N(() => [l(jn, {
6773
+ fn: N(() => [l(k(B), null, {
6774
+ default: N(() => [l(Mn, {
6793
6775
  modelValue: h.value,
6794
6776
  "onUpdate:modelValue": o[4] ||= (e) => h.value = e,
6795
- schema: B.value?.properties?.form,
6777
+ schema: z.value?.properties?.form,
6796
6778
  readOnly: e.readOnly,
6797
6779
  texts: p.value,
6798
6780
  validations: e.validations,
@@ -6811,7 +6793,7 @@ var $ = {
6811
6793
  key: "1"
6812
6794
  } : {
6813
6795
  name: "default",
6814
- 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), {
6796
+ 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), {
6815
6797
  key: 0,
6816
6798
  id: `${e.id}-${u}`,
6817
6799
  showHeader: n?.lx?.showHeader,
@@ -6820,15 +6802,15 @@ var $ = {
6820
6802
  stickyFooter: n?.lx?.stickyFooter,
6821
6803
  showPreHeaderInfo: n?.lx?.showPreHeaderInfo,
6822
6804
  showPostHeaderInfo: n?.lx?.showPostHeaderInfo,
6823
- index: n?.lx?.index || ue(n?.properties),
6805
+ index: n?.lx?.index || fe(n?.properties),
6824
6806
  indexType: n?.lx?.indexType,
6825
6807
  actionDefinitions: n?.lx?.actionDefinitions,
6826
6808
  kind: n?.lx?.kind,
6827
6809
  hasSkipLink: n?.lx?.hasSkipLink,
6828
6810
  texts: n?.lx?.texts,
6829
- columnCount: oe(n?.properties)?.lx?.columnCount,
6830
- requiredMode: oe(n?.properties)?.lx?.requiredMode,
6831
- orientation: oe(n?.properties)?.lx?.orientation,
6811
+ columnCount: ce(n?.properties)?.lx?.columnCount,
6812
+ requiredMode: ce(n?.properties)?.lx?.requiredMode,
6813
+ orientation: ce(n?.properties)?.lx?.orientation,
6832
6814
  builderOptions: {
6833
6815
  schemaPath: `${u}`,
6834
6816
  componentStack: [{
@@ -6839,12 +6821,12 @@ var $ = {
6839
6821
  name: "LxForm"
6840
6822
  }],
6841
6823
  useRegistry: e.builderOptions?.useRegistry,
6842
- defaultSectionSchemaPath: se(n?.properties)
6824
+ defaultSectionSchemaPath: le(n?.properties)
6843
6825
  },
6844
6826
  onActionClick: (e) => x("actionClick", u, e)
6845
6827
  }, s({
6846
6828
  header: N(() => [c(D(n?.title), 1)]),
6847
- 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), {
6829
+ 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), {
6848
6830
  key: 0,
6849
6831
  id: `${o}`,
6850
6832
  label: n?.title,
@@ -6871,10 +6853,10 @@ var $ = {
6871
6853
  },
6872
6854
  onActionClick: (e) => x("actionClick", `${u}.${o}`, e)
6873
6855
  }, {
6874
- default: N(() => [h.value?.[u] ? (S(), r(jn, {
6856
+ default: N(() => [h.value?.[u] ? (S(), r(Mn, {
6875
6857
  key: 0,
6876
6858
  ref_for: !0,
6877
- ref: (t) => L.value[`${e.id}-${u}-${o}`] = t,
6859
+ ref: (t) => I.value[`${e.id}-${u}-${o}`] = t,
6878
6860
  modelValue: h.value[u][o],
6879
6861
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
6880
6862
  schema: n,
@@ -6930,10 +6912,10 @@ var $ = {
6930
6912
  "builderOptions",
6931
6913
  "onActionClick"
6932
6914
  ])) : i("", !0)], 64))), 128))]),
6933
- 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, {
6915
+ 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, {
6934
6916
  key: 0,
6935
6917
  ref_for: !0,
6936
- ref: (t) => L.value[`${e.id}-${u}-${o}`] = t,
6918
+ ref: (t) => I.value[`${e.id}-${u}-${o}`] = t,
6937
6919
  modelValue: h.value[u][o],
6938
6920
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
6939
6921
  schema: n,
@@ -7167,17 +7149,17 @@ var $ = {
7167
7149
  "horizontal-config": n?.lx?.horizontalConfig,
7168
7150
  "vertical-config": n?.lx?.verticalConfig
7169
7151
  }, {
7170
- 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, {
7152
+ 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, {
7171
7153
  key: 0,
7172
7154
  modelValue: h.value[u][o],
7173
7155
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
7174
7156
  schema: e.schema?.properties?.[u]?.properties?.[o],
7175
- displaySchema: B.value?.properties?.[u]?.properties?.[o],
7157
+ displaySchema: z.value?.properties?.[u]?.properties?.[o],
7176
7158
  row: n,
7177
7159
  name: s,
7178
7160
  readOnly: e.readOnly,
7179
7161
  parentName: `${u}.${o}`,
7180
- vv: I.value,
7162
+ vv: F.value,
7181
7163
  texts: p.value,
7182
7164
  validations: e.validations?.[u]?.[o],
7183
7165
  onRowActionClick: (e, t, n, r) => b(e, t, `${u}.${o}.${n}`, r),
@@ -7207,17 +7189,17 @@ var $ = {
7207
7189
  "vertical-alignment",
7208
7190
  "horizontal-config",
7209
7191
  "vertical-config"
7210
- ])) : n?.lx?.displayType !== "stack" && h.value ? (S(), r(An, {
7192
+ ])) : n?.lx?.displayType !== "stack" && h.value ? (S(), r(jn, {
7211
7193
  key: 1,
7212
7194
  modelValue: h.value[u],
7213
7195
  "onUpdate:modelValue": (e) => h.value[u] = e,
7214
7196
  schema: e.schema?.properties?.[u],
7215
- displaySchema: B.value?.properties?.[u],
7197
+ displaySchema: z.value?.properties?.[u],
7216
7198
  row: n,
7217
7199
  name: o,
7218
7200
  readOnly: e.readOnly,
7219
7201
  parentName: `${u}`,
7220
- vv: I.value,
7202
+ vv: F.value,
7221
7203
  texts: p.value,
7222
7204
  validations: e.validations?.[u],
7223
7205
  onRowActionClick: (e, t, n, r) => b(e, t, `${u}.${n}`, r),
@@ -7247,17 +7229,17 @@ var $ = {
7247
7229
  "vertical-alignment",
7248
7230
  "horizontal-config",
7249
7231
  "vertical-config"
7250
- ])) : n?.lx?.displayType === "filters" ? i("", !0) : (S(), r(An, {
7232
+ ])) : n?.lx?.displayType === "filters" ? i("", !0) : (S(), r(jn, {
7251
7233
  key: 2,
7252
7234
  modelValue: h.value,
7253
7235
  "onUpdate:modelValue": o[1] ||= (e) => h.value = e,
7254
7236
  schema: e.schema,
7255
- displaySchema: B.value,
7237
+ displaySchema: z.value,
7256
7238
  row: n,
7257
7239
  name: u,
7258
7240
  readOnly: e.readOnly,
7259
7241
  texts: p.value,
7260
- vv: I.value,
7242
+ vv: F.value,
7261
7243
  validations: e.validations,
7262
7244
  builderOptions: {
7263
7245
  componentStack: [{
@@ -7290,17 +7272,17 @@ var $ = {
7290
7272
  };
7291
7273
  //#endregion
7292
7274
  //#region node_modules/@vueuse/shared/dist/index.js
7293
- function Pn(e, t) {
7275
+ function Fn(e, t) {
7294
7276
  return f() ? (x(e, t), !0) : !1;
7295
7277
  }
7296
- var Fn = /* @__PURE__ */ new WeakMap(), In = (...e) => {
7278
+ var In = /* @__PURE__ */ new WeakMap(), Ln = (...e) => {
7297
7279
  let t = e[0], n = d()?.proxy ?? f();
7298
7280
  if (n == null && !p()) throw Error("injectLocal must be called in setup");
7299
- return n && Fn.has(n) && t in Fn.get(n) ? Fn.get(n)[t] : m(...e);
7300
- }, Ln = typeof window < "u" && typeof document < "u";
7281
+ return n && In.has(n) && t in In.get(n) ? In.get(n)[t] : m(...e);
7282
+ }, Rn = typeof window < "u" && typeof document < "u";
7301
7283
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7302
- var Rn = Object.prototype.toString, zn = (e) => Rn.call(e) === "[object Object]", Bn = () => {};
7303
- function Vn(e, t) {
7284
+ var zn = Object.prototype.toString, Bn = (e) => zn.call(e) === "[object Object]", Vn = () => {};
7285
+ function Hn(e, t) {
7304
7286
  function n(...n) {
7305
7287
  return new Promise((r, i) => {
7306
7288
  Promise.resolve(e(() => t.apply(this, n), {
@@ -7312,9 +7294,9 @@ function Vn(e, t) {
7312
7294
  }
7313
7295
  return n;
7314
7296
  }
7315
- function Hn(e, t = {}) {
7316
- let n, r, i = Bn, a = (e) => {
7317
- clearTimeout(e), i(), i = Bn;
7297
+ function Un(e, t = {}) {
7298
+ let n, r, i = Vn, a = (e) => {
7299
+ clearTimeout(e), i(), i = Vn;
7318
7300
  }, o;
7319
7301
  return (s) => {
7320
7302
  let c = O(e), l = O(t.maxWait);
@@ -7327,22 +7309,22 @@ function Hn(e, t = {}) {
7327
7309
  });
7328
7310
  };
7329
7311
  }
7330
- function Un(e) {
7312
+ function Wn(e) {
7331
7313
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
7332
7314
  }
7333
- function Wn(e) {
7315
+ function Gn(e) {
7334
7316
  return Array.isArray(e) ? e : [e];
7335
7317
  }
7336
- function Gn(e) {
7318
+ function Kn(e) {
7337
7319
  return e || d();
7338
7320
  }
7339
- function Kn(e, t = 200, n = {}) {
7340
- return Vn(Hn(t, n), e);
7321
+ function qn(e, t = 200, n = {}) {
7322
+ return Hn(Un(t, n), e);
7341
7323
  }
7342
- function qn(e, t = !0, n) {
7343
- Gn(n) ? b(e, n) : t ? e() : g(e);
7324
+ function Jn(e, t = !0, n) {
7325
+ Kn(n) ? b(e, n) : t ? e() : g(e);
7344
7326
  }
7345
- function Jn(e, t, n) {
7327
+ function Yn(e, t, n) {
7346
7328
  return j(e, t, {
7347
7329
  ...n,
7348
7330
  immediate: !0
@@ -7350,82 +7332,82 @@ function Jn(e, t, n) {
7350
7332
  }
7351
7333
  //#endregion
7352
7334
  //#region node_modules/@vueuse/core/dist/index.js
7353
- var Yn = Ln ? window : void 0;
7354
- Ln && window.document, Ln && window.navigator, Ln && window.location;
7355
- function Xn(e) {
7335
+ var Xn = Rn ? window : void 0;
7336
+ Rn && window.document, Rn && window.navigator, Rn && window.location;
7337
+ function Zn(e) {
7356
7338
  let t = O(e);
7357
7339
  return t?.$el ?? t;
7358
7340
  }
7359
- function Zn(...e) {
7341
+ function Qn(...e) {
7360
7342
  let t = [], r = () => {
7361
7343
  t.forEach((e) => e()), t.length = 0;
7362
7344
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = n(() => {
7363
- let t = Wn(O(e[0])).filter((e) => e != null);
7345
+ let t = Gn(O(e[0])).filter((e) => e != null);
7364
7346
  return t.every((e) => typeof e != "string") ? t : void 0;
7365
- }), o = Jn(() => [
7366
- a.value?.map((e) => Xn(e)) ?? [Yn].filter((e) => e != null),
7367
- Wn(O(a.value ? e[1] : e[0])),
7368
- Wn(k(a.value ? e[2] : e[1])),
7347
+ }), o = Yn(() => [
7348
+ a.value?.map((e) => Zn(e)) ?? [Xn].filter((e) => e != null),
7349
+ Gn(O(a.value ? e[1] : e[0])),
7350
+ Gn(k(a.value ? e[2] : e[1])),
7369
7351
  O(a.value ? e[3] : e[2])
7370
7352
  ], ([e, n, a, o]) => {
7371
7353
  if (r(), !e?.length || !n?.length || !a?.length) return;
7372
- let s = zn(o) ? { ...o } : o;
7354
+ let s = Bn(o) ? { ...o } : o;
7373
7355
  t.push(...e.flatMap((e) => n.flatMap((t) => a.map((n) => i(e, t, n, s)))));
7374
7356
  }, { flush: "post" });
7375
- return Pn(r), () => {
7357
+ return Fn(r), () => {
7376
7358
  o(), r();
7377
7359
  };
7378
7360
  }
7379
- function Qn() {
7361
+ function $n() {
7380
7362
  let e = E(!1), t = d();
7381
7363
  return t && b(() => {
7382
7364
  e.value = !0;
7383
7365
  }, t), e;
7384
7366
  }
7385
7367
  /* @__NO_SIDE_EFFECTS__ */
7386
- function $n(e) {
7387
- let t = Qn();
7368
+ function er(e) {
7369
+ let t = $n();
7388
7370
  return n(() => (t.value, !!e()));
7389
7371
  }
7390
- var er = Symbol("vueuse-ssr-width");
7372
+ var tr = Symbol("vueuse-ssr-width");
7391
7373
  /* @__NO_SIDE_EFFECTS__ */
7392
- function tr() {
7393
- let e = p() ? In(er, null) : null;
7374
+ function nr() {
7375
+ let e = p() ? Ln(tr, null) : null;
7394
7376
  return typeof e == "number" ? e : void 0;
7395
7377
  }
7396
- function nr(e, t = {}) {
7397
- 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);
7378
+ function rr(e, t = {}) {
7379
+ 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);
7398
7380
  return M(() => {
7399
7381
  if (o.value) {
7400
7382
  o.value = !a.value, c.value = O(e).split(",").some((e) => {
7401
7383
  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);
7402
- return n && a && (a = i >= Un(n[1])), r && a && (a = i <= Un(r[1])), t ? !a : a;
7384
+ return n && a && (a = i >= Wn(n[1])), r && a && (a = i <= Wn(r[1])), t ? !a : a;
7403
7385
  });
7404
7386
  return;
7405
7387
  }
7406
7388
  a.value && (s.value = r.matchMedia(O(e)), c.value = s.value.matches);
7407
- }), Zn(s, "change", (e) => {
7389
+ }), Qn(s, "change", (e) => {
7408
7390
  c.value = e.matches;
7409
7391
  }, { passive: !0 }), n(() => c.value);
7410
7392
  }
7411
- function rr(e = {}) {
7412
- 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 = () => {
7393
+ function ir(e = {}) {
7394
+ 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 = () => {
7413
7395
  if (t) if (o === "outer") s.value = t.outerWidth, c.value = t.outerHeight;
7414
7396
  else if (o === "visual" && t.visualViewport) {
7415
7397
  let { width: e, height: n, scale: r } = t.visualViewport;
7416
7398
  s.value = Math.round(e * r), c.value = Math.round(n * r);
7417
7399
  } else a ? (s.value = t.innerWidth, c.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, c.value = t.document.documentElement.clientHeight);
7418
7400
  };
7419
- l(), qn(l);
7401
+ l(), Jn(l);
7420
7402
  let u = { passive: !0 };
7421
- return Zn("resize", l, u), t && o === "visual" && t.visualViewport && Zn(t.visualViewport, "resize", l, u), i && j(nr("(orientation: portrait)"), () => l()), {
7403
+ return Qn("resize", l, u), t && o === "visual" && t.visualViewport && Qn(t.visualViewport, "resize", l, u), i && j(rr("(orientation: portrait)"), () => l()), {
7422
7404
  width: s,
7423
7405
  height: c
7424
7406
  };
7425
7407
  }
7426
7408
  //#endregion
7427
7409
  //#region src/utils/constructorUtils.js
7428
- function ir(e) {
7410
+ function ar(e) {
7429
7411
  switch (e) {
7430
7412
  case "LxTextInput": return {
7431
7413
  type: "string",
@@ -7569,7 +7551,7 @@ function ir(e) {
7569
7551
  }
7570
7552
  return null;
7571
7553
  }
7572
- function ar() {
7554
+ function or() {
7573
7555
  return [
7574
7556
  {
7575
7557
  id: "LxTextInput",
@@ -7660,7 +7642,7 @@ function ar() {
7660
7642
  }
7661
7643
  //#endregion
7662
7644
  //#region src/components/constructor/PropRendererItem.vue
7663
- 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 = {
7645
+ 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 = {
7664
7646
  __name: "PropRendererItem",
7665
7647
  props: {
7666
7648
  item: {
@@ -7700,12 +7682,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7700
7682
  set(e) {
7701
7683
  u("update:modelValue", e);
7702
7684
  }
7703
- }), f = n(() => J.getAvailableIcons("cds")?.map((e) => ({
7685
+ }), f = n(() => Y.getAvailableIcons("cds")?.map((e) => ({
7704
7686
  id: e,
7705
7687
  name: e
7706
7688
  })));
7707
7689
  function p(e = "cds") {
7708
- return J.getAvailableIcons(e || "cds")?.map((e) => ({
7690
+ return Y.getAvailableIcons(e || "cds")?.map((e) => ({
7709
7691
  id: e,
7710
7692
  name: e
7711
7693
  }));
@@ -7748,26 +7730,26 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7748
7730
  d.value.index = e, E.value.close();
7749
7731
  }
7750
7732
  }
7751
- let P = C(), F = C(null), L = C();
7752
- function ne() {
7753
- P.value.open(), F.value = q.objectClone(c.modelValue[c.name]);
7733
+ let P = C(), ee = C(null), I = C();
7734
+ function re() {
7735
+ P.value.open(), ee.value = q.objectClone(c.modelValue[c.name]);
7754
7736
  }
7755
- function re(e) {
7737
+ function L(e) {
7756
7738
  if (e === "save") {
7757
- let e = L.value.clearModel(F.value);
7739
+ let e = I.value.clearModel(ee.value);
7758
7740
  d.value[c.name] = e, P.value.close();
7759
7741
  }
7760
7742
  }
7761
- let R = C(), z = C(null), ie = C(null);
7762
- function V(e) {
7743
+ let ie = C(), ae = C(null), R = C(null);
7744
+ function oe(e) {
7763
7745
  return typeof e == "object" && !!e && !Array.isArray(e);
7764
7746
  }
7765
- function ae(e) {
7747
+ function se(e) {
7766
7748
  let t = {};
7767
7749
  function n(e, r = "") {
7768
- V(e) && Object.entries(e).forEach(([e, i]) => {
7750
+ oe(e) && Object.entries(e).forEach(([e, i]) => {
7769
7751
  let a = r ? `${r}.${e}` : e;
7770
- V(i) ? n(i, a) : t[a] = { type: "string" };
7752
+ oe(i) ? n(i, a) : t[a] = { type: "string" };
7771
7753
  });
7772
7754
  }
7773
7755
  return n(e), {
@@ -7775,19 +7757,19 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7775
7757
  properties: t
7776
7758
  };
7777
7759
  }
7778
- function oe(e, t) {
7760
+ function ce(e, t) {
7779
7761
  let n = {};
7780
7762
  function r(e, t, i = "") {
7781
- V(t) && Object.entries(t).forEach(([t, a]) => {
7782
- let o = i ? `${i}.${t}` : t, s = V(e) ? e[t] : void 0;
7783
- V(a) ? r(s, a, o) : s === void 0 ? n[o] = q.objectClone(a) : n[o] = q.objectClone(s);
7763
+ oe(t) && Object.entries(t).forEach(([t, a]) => {
7764
+ let o = i ? `${i}.${t}` : t, s = oe(e) ? e[t] : void 0;
7765
+ oe(a) ? r(s, a, o) : s === void 0 ? n[o] = q.objectClone(a) : n[o] = q.objectClone(s);
7784
7766
  });
7785
7767
  }
7786
7768
  return r(e, t), n;
7787
7769
  }
7788
- function se(e) {
7770
+ function le(e) {
7789
7771
  let t = {};
7790
- return V(e) && Object.entries(e).forEach(([e, n]) => {
7772
+ return oe(e) && Object.entries(e).forEach(([e, n]) => {
7791
7773
  if (!e.includes(".")) {
7792
7774
  t[e] = q.objectClone(n);
7793
7775
  return;
@@ -7798,24 +7780,24 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7798
7780
  i[e] = q.objectClone(n);
7799
7781
  return;
7800
7782
  }
7801
- V(i[e]) || (i[e] = {}), i = i[e];
7783
+ oe(i[e]) || (i[e] = {}), i = i[e];
7802
7784
  });
7803
7785
  }), t;
7804
7786
  }
7805
- function ce() {
7806
- R.value.open();
7787
+ function ue() {
7788
+ ie.value.open();
7807
7789
  let e = c.item?.options || {};
7808
- ie.value = ae(e), z.value = oe(c.modelValue.texts, e);
7790
+ R.value = se(e), ae.value = ce(c.modelValue.texts, e);
7809
7791
  }
7810
- function ue(e) {
7811
- e === "save" && (d.value.texts = se(z.value), R.value.close());
7792
+ function fe(e) {
7793
+ e === "save" && (d.value.texts = le(ae.value), ie.value.close());
7812
7794
  }
7813
- 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);
7814
- function pe(e) {
7795
+ 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);
7796
+ function he(e) {
7815
7797
  return c.name === "columnSpan" || c.name === "rowSpan" || c.name === "columnCount" || c.name === "cadenceOfMinutes" || c.name === "cadenceOfSeconds" ? "tags" : e.length > 5 ? "dropdown" : "default";
7816
7798
  }
7817
7799
  return (n, s) => (S(), a(t, null, [
7818
- (h(e.item) || _(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (S(), r(k(B), {
7800
+ (h(e.item) || _(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (S(), r(k(z), {
7819
7801
  key: 0,
7820
7802
  modelValue: d.value[e.name],
7821
7803
  "onUpdate:modelValue": s[0] ||= (t) => d.value[e.name] = t,
@@ -7839,7 +7821,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7839
7821
  modelValue: d.value[e.name],
7840
7822
  "onUpdate:modelValue": s[4] ||= (t) => d.value[e.name] = t,
7841
7823
  items: v(e.item.options),
7842
- variant: pe(e.item.options),
7824
+ variant: he(e.item.options),
7843
7825
  nullable: e.item.options.includes(null),
7844
7826
  convertToString: !h(e.item)
7845
7827
  }, null, 8, [
@@ -7849,21 +7831,21 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7849
7831
  "nullable",
7850
7832
  "convertToString"
7851
7833
  ])) : i("", !0),
7852
- c.name === "icon" ? (S(), r(k(te), {
7834
+ c.name === "icon" ? (S(), r(k(ne), {
7853
7835
  key: 5,
7854
7836
  modelValue: d.value[e.name],
7855
7837
  "onUpdate:modelValue": s[5] ||= (t) => d.value[e.name] = t,
7856
7838
  items: f.value
7857
7839
  }, {
7858
- customItem: N((e) => [o("div", or, [l(k(he), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7840
+ customItem: N((e) => [o("div", sr, [l(k(_e), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7859
7841
  _: 1
7860
7842
  }, 8, ["modelValue", "items"])) : i("", !0),
7861
- c.name === "index" ? (S(), a(t, { key: 6 }, [l(k(I), {
7843
+ c.name === "index" ? (S(), a(t, { key: 6 }, [l(k(F), {
7862
7844
  label: e.texts.edit,
7863
7845
  kind: "secondary",
7864
7846
  icon: "edit",
7865
7847
  onClick: j
7866
- }, null, 8, ["label"]), l(k(Ce), {
7848
+ }, null, 8, ["label"]), l(k(Te), {
7867
7849
  ref_key: "indexModal",
7868
7850
  ref: E,
7869
7851
  label: e.texts?.editing,
@@ -7880,7 +7862,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7880
7862
  texts: { close: e.texts.close },
7881
7863
  onActionClick: M
7882
7864
  }, {
7883
- default: N(() => [l(k(ee), {
7865
+ default: N(() => [l(k(te), {
7884
7866
  ref_key: "indexList",
7885
7867
  ref: A,
7886
7868
  modelValue: O.value,
@@ -7909,12 +7891,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7909
7891
  "actionDefinitions",
7910
7892
  "texts"
7911
7893
  ])], 64)) : i("", !0),
7912
- c.name === "actionDefinitions" ? (S(), a(t, { key: 7 }, [l(k(I), {
7894
+ c.name === "actionDefinitions" ? (S(), a(t, { key: 7 }, [l(k(F), {
7913
7895
  label: e.texts.edit,
7914
7896
  icon: "edit",
7915
7897
  kind: "secondary",
7916
7898
  onClick: w
7917
- }, null, 8, ["label"]), l(k(Ce), {
7899
+ }, null, 8, ["label"]), l(k(Te), {
7918
7900
  ref_key: "actionDefinitionsModal",
7919
7901
  ref: y,
7920
7902
  label: e.texts?.editing,
@@ -7931,7 +7913,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7931
7913
  texts: { close: e.texts.close },
7932
7914
  onActionClick: T
7933
7915
  }, {
7934
- default: N(() => [l(k(ee), {
7916
+ default: N(() => [l(k(te), {
7935
7917
  ref_key: "actionDefList",
7936
7918
  ref: x,
7937
7919
  modelValue: b.value,
@@ -8006,12 +7988,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8006
7988
  label: "icon",
8007
7989
  columnSpan: "2"
8008
7990
  }, {
8009
- default: N(() => [l(k(te), {
7991
+ default: N(() => [l(k(ne), {
8010
7992
  modelValue: e.icon,
8011
7993
  "onUpdate:modelValue": (t) => e.icon = t,
8012
7994
  items: p(e?.iconSet)
8013
7995
  }, {
8014
- customItem: N((t) => [o("div", sr, [l(k(he), {
7996
+ customItem: N((t) => [o("div", cr, [l(k(_e), {
8015
7997
  value: t.name,
8016
7998
  iconSet: e?.iconSet || "cds"
8017
7999
  }, null, 8, ["value", "iconSet"]), o("p", null, D(t.name), 1)])]),
@@ -8127,12 +8109,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8127
8109
  label: "badgeIcon",
8128
8110
  columnSpan: "2"
8129
8111
  }, {
8130
- default: N(() => [l(k(te), {
8112
+ default: N(() => [l(k(ne), {
8131
8113
  modelValue: e.badgeIcon,
8132
8114
  "onUpdate:modelValue": (t) => e.badgeIcon = t,
8133
8115
  items: f.value
8134
8116
  }, {
8135
- customItem: N((e) => [o("div", cr, [l(k(he), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
8117
+ customItem: N((e) => [o("div", lr, [l(k(_e), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
8136
8118
  _: 2
8137
8119
  }, 1032, [
8138
8120
  "modelValue",
@@ -8160,12 +8142,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8160
8142
  "actionDefinitions",
8161
8143
  "texts"
8162
8144
  ])], 64)) : i("", !0),
8163
- c.name === "items" ? (S(), a(t, { key: 8 }, [l(k(I), {
8145
+ c.name === "items" ? (S(), a(t, { key: 8 }, [l(k(F), {
8164
8146
  label: e.texts.edit,
8165
8147
  icon: "edit",
8166
8148
  kind: "secondary",
8167
- onClick: ne
8168
- }, null, 8, ["label"]), l(k(Ce), {
8149
+ onClick: re
8150
+ }, null, 8, ["label"]), l(k(Te), {
8169
8151
  ref_key: "itemsModal",
8170
8152
  ref: P,
8171
8153
  label: e.texts?.editing,
@@ -8180,13 +8162,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8180
8162
  kind: "secondary"
8181
8163
  }],
8182
8164
  texts: { close: e.texts.close },
8183
- onActionClick: re
8165
+ onActionClick: L
8184
8166
  }, {
8185
- default: N(() => [l(k(ee), {
8167
+ default: N(() => [l(k(te), {
8186
8168
  ref_key: "itemsList",
8187
- ref: L,
8188
- modelValue: F.value,
8189
- "onUpdate:modelValue": s[8] ||= (e) => F.value = e,
8169
+ ref: I,
8170
+ modelValue: ee.value,
8171
+ "onUpdate:modelValue": s[8] ||= (e) => ee.value = e,
8190
8172
  columnCount: 4,
8191
8173
  requiredMode: "required-asterisk"
8192
8174
  }, {
@@ -8212,12 +8194,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8212
8194
  _: 2
8213
8195
  }, 1024),
8214
8196
  l(k(W), { label: "icon" }, {
8215
- default: N(() => [l(k(te), {
8197
+ default: N(() => [l(k(ne), {
8216
8198
  modelValue: n.icon,
8217
8199
  "onUpdate:modelValue": (e) => n.icon = e,
8218
8200
  items: p(n?.iconSet)
8219
8201
  }, {
8220
- customItem: N((e) => [o("div", lr, [l(k(he), {
8202
+ customItem: N((e) => [o("div", ur, [l(k(_e), {
8221
8203
  value: e.name,
8222
8204
  iconSet: n?.iconSet || "cds"
8223
8205
  }, null, 8, ["value", "iconSet"]), o("p", null, D(e.name), 1)])]),
@@ -8295,14 +8277,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8295
8277
  "actionDefinitions",
8296
8278
  "texts"
8297
8279
  ])], 64)) : i("", !0),
8298
- c.name === "texts" ? (S(), a(t, { key: 9 }, [l(k(I), {
8280
+ c.name === "texts" ? (S(), a(t, { key: 9 }, [l(k(F), {
8299
8281
  label: e.texts.edit,
8300
8282
  icon: "edit",
8301
8283
  kind: "secondary",
8302
- onClick: ce
8303
- }, null, 8, ["label"]), l(k(Ce), {
8284
+ onClick: ue
8285
+ }, null, 8, ["label"]), l(k(Te), {
8304
8286
  ref_key: "textsModal",
8305
- ref: R,
8287
+ ref: ie,
8306
8288
  label: e.texts?.editing,
8307
8289
  size: "l",
8308
8290
  actionDefinitions: [{
@@ -8315,10 +8297,10 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8315
8297
  kind: "secondary"
8316
8298
  }],
8317
8299
  texts: { close: e.texts.close },
8318
- onActionClick: ue,
8319
- onClose: s[11] ||= (e) => de.value = ""
8300
+ onActionClick: fe,
8301
+ onClose: s[11] ||= (e) => pe.value = ""
8320
8302
  }, {
8321
- default: N(() => [l(k(H), {
8303
+ default: N(() => [l(k(B), {
8322
8304
  columnCount: 3,
8323
8305
  kind: "stripped"
8324
8306
  }, {
@@ -8328,21 +8310,21 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8328
8310
  }, {
8329
8311
  default: N(() => [l(k(G), { horizontalAlignment: "stretch" }, {
8330
8312
  default: N(() => [l(k(K), {
8331
- modelValue: de.value,
8332
- "onUpdate:modelValue": s[9] ||= (e) => de.value = e,
8313
+ modelValue: pe.value,
8314
+ "onUpdate:modelValue": s[9] ||= (e) => pe.value = e,
8333
8315
  kind: "search",
8334
8316
  placeholder: e.texts.searchText
8335
- }, null, 8, ["modelValue", "placeholder"]), Object.keys(fe.value?.properties || {}).length ? i("", !0) : (S(), r(k(le), {
8317
+ }, null, 8, ["modelValue", "placeholder"]), Object.keys(me.value?.properties || {}).length ? i("", !0) : (S(), r(k(de), {
8336
8318
  key: 0,
8337
- label: `${e.texts?.notFoundSearch} ${de.value}`
8319
+ label: `${e.texts?.notFoundSearch} ${pe.value}`
8338
8320
  }, null, 8, ["label"]))]),
8339
8321
  _: 1
8340
8322
  })]),
8341
8323
  _: 1
8342
- }), l(jn, {
8343
- modelValue: z.value,
8344
- "onUpdate:modelValue": s[10] ||= (e) => z.value = e,
8345
- schema: fe.value
8324
+ }), l(Mn, {
8325
+ modelValue: ae.value,
8326
+ "onUpdate:modelValue": s[10] ||= (e) => ae.value = e,
8327
+ schema: me.value
8346
8328
  }, null, 8, ["modelValue", "schema"])]),
8347
8329
  _: 1
8348
8330
  })]),
@@ -8354,7 +8336,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8354
8336
  ])], 64)) : i("", !0)
8355
8337
  ], 64));
8356
8338
  }
8357
- }, dr = {
8339
+ }, fr = {
8358
8340
  __name: "ConstructorPropRenderer",
8359
8341
  props: {
8360
8342
  componentName: {
@@ -8505,7 +8487,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8505
8487
  function E(e, t) {
8506
8488
  return t === "header" ? d.value.title : d.value.lx?.[t]?.properties?.text?.lx?.value;
8507
8489
  }
8508
- let D = Kn((e) => {
8490
+ let D = qn((e) => {
8509
8491
  c("update:schemaKey", e);
8510
8492
  }, 500), O = n({
8511
8493
  get() {
@@ -8519,11 +8501,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8519
8501
  O.value = s.schemaKey, j.value += 1;
8520
8502
  }
8521
8503
  return (n, o) => (S(), a(t, null, [
8522
- !Object.keys(y.value).length && !Object.keys(b.value).length && !Object.keys(x.value).length && !v.value ? (S(), r(k(le), {
8504
+ !Object.keys(y.value).length && !Object.keys(b.value).length && !Object.keys(x.value).length && !v.value ? (S(), r(k(de), {
8523
8505
  key: 0,
8524
8506
  label: e.searchString ? `${e.texts.notFoundSearch} ${JSON.stringify(s.searchString)}` : e.texts.notFoundProps
8525
8507
  }, null, 8, ["label"])) : i("", !0),
8526
- Object.keys(y.value).length ? (S(), r(k(H), {
8508
+ Object.keys(y.value).length ? (S(), r(k(B), {
8527
8509
  key: 1,
8528
8510
  kind: "stripped"
8529
8511
  }, {
@@ -8531,7 +8513,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8531
8513
  key: t.name,
8532
8514
  label: `:${n}`
8533
8515
  }, {
8534
- default: N(() => [l(ur, {
8516
+ default: N(() => [l(dr, {
8535
8517
  modelValue: u.value,
8536
8518
  item: t,
8537
8519
  name: n,
@@ -8558,11 +8540,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8558
8540
  }, 1032, ["label"])), [[A, e.extra]])), 128))]),
8559
8541
  _: 1
8560
8542
  })) : i("", !0),
8561
- Object.keys(b.value).length || v.value ? (S(), r(k(ue), {
8543
+ Object.keys(b.value).length || v.value ? (S(), r(k(fe), {
8562
8544
  key: 2,
8563
8545
  label: e.texts.additionalLabel
8564
8546
  }, {
8565
- default: N(() => [l(k(H), { kind: "stripped" }, {
8547
+ default: N(() => [l(k(B), { kind: "stripped" }, {
8566
8548
  default: N(() => [v.value ? (S(), r(k(W), {
8567
8549
  key: 0,
8568
8550
  label: "schemaKey"
@@ -8581,7 +8563,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8581
8563
  "modelValue",
8582
8564
  "invalid",
8583
8565
  "invalidationMessage"
8584
- ])), e.schemaKeyError ? (S(), r(k(I), {
8566
+ ])), e.schemaKeyError ? (S(), r(k(F), {
8585
8567
  key: 0,
8586
8568
  icon: "reset",
8587
8569
  kind: "tertiary",
@@ -8596,7 +8578,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8596
8578
  key: t.name,
8597
8579
  label: `:${n}`
8598
8580
  }, {
8599
- default: N(() => [l(ur, {
8581
+ default: N(() => [l(dr, {
8600
8582
  modelValue: u.value,
8601
8583
  item: t,
8602
8584
  name: n,
@@ -8615,16 +8597,16 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8615
8597
  })]),
8616
8598
  _: 1
8617
8599
  }, 8, ["label"])) : i("", !0),
8618
- Object.keys(x.value).length ? (S(), r(k(ue), {
8600
+ Object.keys(x.value).length ? (S(), r(k(fe), {
8619
8601
  key: 3,
8620
8602
  label: e.texts.modeLabel
8621
8603
  }, {
8622
- default: N(() => [l(k(H), { kind: "stripped" }, {
8604
+ default: N(() => [l(k(B), { kind: "stripped" }, {
8623
8605
  default: N(() => [(S(!0), a(t, null, w(x.value, (t, n) => (S(), r(k(W), {
8624
8606
  key: t.name,
8625
8607
  label: `:${n}`
8626
8608
  }, {
8627
- default: N(() => [l(ur, {
8609
+ default: N(() => [l(dr, {
8628
8610
  modelValue: u.value,
8629
8611
  item: t,
8630
8612
  name: n,
@@ -8645,23 +8627,23 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8645
8627
  }, 8, ["label"])) : i("", !0)
8646
8628
  ], 64));
8647
8629
  }
8648
- }, fr = { class: "lx-panel" }, pr = { class: "button-side" }, mr = {
8630
+ }, pr = { class: "lx-panel" }, mr = { class: "button-side" }, hr = {
8649
8631
  key: 0,
8650
8632
  class: "panel-side"
8651
- }, hr = { class: "header-wrapper" }, gr = {
8633
+ }, gr = { class: "header-wrapper" }, _r = {
8652
8634
  key: 1,
8653
8635
  class: "header-wrapper"
8654
- }, _r = { key: 0 }, vr = { key: 1 }, yr = { key: 2 }, br = {
8636
+ }, vr = { key: 0 }, yr = { key: 1 }, br = { key: 2 }, xr = {
8655
8637
  key: 0,
8656
8638
  class: "panel-main"
8657
- }, xr = { class: "button-group" }, Sr = {
8639
+ }, Sr = { class: "button-group" }, Cr = {
8658
8640
  key: 1,
8659
8641
  class: "no-component-wrapper"
8660
- }, Cr = {
8642
+ }, wr = {
8661
8643
  key: 1,
8662
8644
  class: "panel-main lx-region",
8663
8645
  style: { padding: "0.25rem" }
8664
- }, wr = { key: 2 }, Tr = { class: "settings-wrapper" }, Er = /* @__PURE__ */ u({
8646
+ }, Tr = { key: 2 }, Er = { class: "settings-wrapper" }, Dr = /* @__PURE__ */ u({
8665
8647
  __name: "Panel",
8666
8648
  props: {
8667
8649
  componentName: {
@@ -8755,7 +8737,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8755
8737
  edit: "Labot",
8756
8738
  editing: "Labošana",
8757
8739
  searchText: "Meklēt"
8758
- }, d = n(() => He.getDisplayTexts(c.texts, u)), f = s, p = {
8740
+ }, d = n(() => J.getDisplayTexts(c.texts, u)), f = s, p = {
8759
8741
  LxTextInput: (e, t) => {
8760
8742
  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;
8761
8743
  },
@@ -8772,7 +8754,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8772
8754
  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;
8773
8755
  },
8774
8756
  LxDateTimePicker: (e, t) => {
8775
- 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;
8757
+ 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.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;
8776
8758
  },
8777
8759
  LxAutoComplete: (e, t) => {
8778
8760
  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;
@@ -8787,7 +8769,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8787
8769
  e.type = "string", e.lx.items = t.items, e.lx.idAttribute = t.idAttribute || "id", e.lx.nameAttribute = t.nameAttribute || "name", e.lx.disabled = t.disabled || !1, e.lx.kind = t.kind || "default", e.lx.icon = t.icon, e.lx.iconSet = t.iconSet, e.lx.tooltip = t.tooltip, e.lx.labelId = t.labelId, e.readOnly = t.readOnly || !1;
8788
8770
  },
8789
8771
  LxDateTimeRange: (e, t) => {
8790
- e.type = "object", 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.locale = t.locale, e.lx.rangeMonths = t.rangeMonths || "next", e.lx.clearIfNotExact = t.clearIfNotExact || !1, e.lx.labelId = t.labelId, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8772
+ e.type = "object", 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.disabled = t.disabled || !1, e.lx.timeAdjust = t.timeAdjust, e.lx.locale = t.locale, e.lx.rangeMonths = t.rangeMonths || "next", e.lx.clearIfNotExact = t.clearIfNotExact || !1, e.lx.labelId = t.labelId, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8791
8773
  },
8792
8774
  LxFileUploader: (e, t) => {
8793
8775
  e.type = "array", e.lx.selectionKind = t.selectionKind || "single", e.lx.mode = t.mode || "default", e.lx.draggable = t.draggable || !1, e.lx.dataType = t.dataType || "meta", e.lx.hasSearch = t.hasSearch || !1, e.lx.disabled = t.disabled || !1, e.lx.loading = t.loading || !1, e.lx.busy = t.busy || !1, e.lx.allowedFileExtensions = t.allowedFileExtensions || [], e.lx.maxFileSize = t.maxFileSize || 3e7, e.lx.hasDownloadButton = t.hasDownloadButton || !1, e.lx.showMeta = t.showMeta ?? !0, e.lx.maxSizeForMeta = t.maxSizeForMeta || 3e7, e.lx.hasCamera = t.hasCamera || !1, e.lx.cameraSwitcherMode = t.cameraSwitcherMode || "toggle", e.lx.hasFlashlightToggle = t.hasFlashlightToggle || !1, e.lx.imageSize = t.imageSize || "default", e.lx.preferencesId = t.preferencesId || "lx-camera-settings", e.lx.labelId = t.labelId, e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
@@ -8847,7 +8829,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8847
8829
  name: d.value?.containers,
8848
8830
  badgeTitle: d.value?.containers,
8849
8831
  expanded: !0
8850
- }]), b = C(ar());
8832
+ }]), b = C(or());
8851
8833
  function x() {
8852
8834
  return c.componentName === "LxForm" && !c.schemaInfo?.isSectionInFilterForm;
8853
8835
  }
@@ -8895,7 +8877,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8895
8877
  }), A = n(() => c.componentName ? c.navigation.map((e, t, n) => t === n.length - 1 ? {
8896
8878
  ...e,
8897
8879
  active: !0
8898
- } : e) : []), M = Kn((e) => {
8880
+ } : e) : []), M = qn((e) => {
8899
8881
  f("update:schemaKey", e);
8900
8882
  }, 500), P = n({
8901
8883
  get() {
@@ -8904,22 +8886,22 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8904
8886
  set(e) {
8905
8887
  M(e);
8906
8888
  }
8907
- }), F = C(null);
8908
- function ee() {
8889
+ }), ee = C(null);
8890
+ function te() {
8909
8891
  return c.componentName && c.componentName !== "LxViewLayout";
8910
8892
  }
8911
- function te() {
8893
+ function ne() {
8912
8894
  return c.componentName && c.componentName !== "LxViewLayout" && c.componentName !== "LxFilters";
8913
8895
  }
8914
- return (n, s) => (S(), a("div", fr, [o("div", pr, [
8915
- l(k(I), {
8896
+ return (n, s) => (S(), a("div", pr, [o("div", mr, [
8897
+ l(k(F), {
8916
8898
  icon: h.value ? "close-panel" : "open-panel",
8917
8899
  variant: "icon-only",
8918
8900
  label: h.value ? d.value?.closePanel : d.value?.openPanel,
8919
8901
  kind: "secondary",
8920
8902
  onClick: s[0] ||= (e) => v(h.value)
8921
8903
  }, null, 8, ["icon", "label"]),
8922
- l(k(I), {
8904
+ l(k(F), {
8923
8905
  icon: "config",
8924
8906
  variant: "icon-only",
8925
8907
  label: d.value?.config,
@@ -8927,7 +8909,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8927
8909
  active: h.value && g.value === "config",
8928
8910
  onClick: s[1] ||= (e) => (g.value = "config", h.value = !0)
8929
8911
  }, null, 8, ["label", "active"]),
8930
- l(k(I), {
8912
+ l(k(F), {
8931
8913
  icon: "components",
8932
8914
  variant: "icon-only",
8933
8915
  label: d.value?.components,
@@ -8935,7 +8917,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8935
8917
  active: h.value && g.value === "components",
8936
8918
  onClick: s[2] ||= (e) => (g.value = "components", h.value = !0)
8937
8919
  }, null, 8, ["label", "active"]),
8938
- l(k(I), {
8920
+ l(k(F), {
8939
8921
  icon: "settings",
8940
8922
  variant: "icon-only",
8941
8923
  label: d.value?.settings,
@@ -8943,33 +8925,33 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8943
8925
  active: h.value && g.value === "settings",
8944
8926
  onClick: s[3] ||= (e) => (g.value = "settings", h.value = !0)
8945
8927
  }, null, 8, ["label", "active"])
8946
- ]), h.value ? (S(), a("div", mr, [o("div", null, [
8947
- o("div", { class: _(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (S(), r(k(ce), {
8928
+ ]), h.value ? (S(), a("div", hr, [o("div", null, [
8929
+ o("div", { class: _(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (S(), r(k(ue), {
8948
8930
  key: 0,
8949
8931
  actionDefinitions: A.value,
8950
8932
  onActionClick: T
8951
8933
  }, {
8952
- 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)])]),
8934
+ 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)])]),
8953
8935
  _: 1
8954
- }, 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),
8955
- g.value === "config" ? (S(), a("div", br, [
8956
- o("div", xr, [l(k(I), {
8936
+ }, 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),
8937
+ g.value === "config" ? (S(), a("div", xr, [
8938
+ o("div", Sr, [l(k(F), {
8957
8939
  icon: "copy",
8958
8940
  kind: "secondary",
8959
8941
  label: d.value?.duplicate,
8960
- disabled: !te(),
8942
+ disabled: !ne(),
8961
8943
  onClick: s[4] ||= (e) => f("duplicateComponent")
8962
- }, null, 8, ["label", "disabled"]), l(k(I), {
8944
+ }, null, 8, ["label", "disabled"]), l(k(F), {
8963
8945
  icon: "delete",
8964
8946
  kind: "secondary",
8965
8947
  label: d.value?.delete,
8966
- disabled: !ee(),
8948
+ disabled: !te(),
8967
8949
  destructive: !0,
8968
8950
  onClick: s[5] ||= (e) => f("removeComponent")
8969
8951
  }, null, 8, ["label", "disabled"])]),
8970
8952
  l(k(K), {
8971
- modelValue: F.value,
8972
- "onUpdate:modelValue": s[6] ||= (e) => F.value = e,
8953
+ modelValue: ee.value,
8954
+ "onUpdate:modelValue": s[6] ||= (e) => ee.value = e,
8973
8955
  kind: "search",
8974
8956
  placeholder: d.value?.searchProps,
8975
8957
  disabled: !e.componentName,
@@ -8979,13 +8961,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8979
8961
  "placeholder",
8980
8962
  "disabled"
8981
8963
  ]),
8982
- e.componentName ? (S(), r(dr, {
8964
+ e.componentName ? (S(), r(fr, {
8983
8965
  key: 0,
8984
8966
  modelValue: O.value,
8985
8967
  "onUpdate:modelValue": s[7] ||= (e) => O.value = e,
8986
8968
  componentName: e.componentName,
8987
8969
  componentPropsDefinitions: e.componentPropsDefinitions,
8988
- searchString: F.value,
8970
+ searchString: ee.value,
8989
8971
  componentModel: m.value,
8990
8972
  "onUpdate:componentModel": s[8] ||= (e) => m.value = e,
8991
8973
  schemaKey: P.value,
@@ -9003,9 +8985,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9003
8985
  "schemaKeyError",
9004
8986
  "navigation",
9005
8987
  "texts"
9006
- ])) : (S(), a("div", Sr, [l(k(le), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
8988
+ ])) : (S(), a("div", Cr, [l(k(de), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
9007
8989
  ])) : i("", !0),
9008
- g.value === "components" ? (S(), a("div", Cr, [l(k(ve), {
8990
+ g.value === "components" ? (S(), a("div", wr, [l(k(be), {
9009
8991
  listType: "1",
9010
8992
  hasSearch: !0,
9011
8993
  items: w.value,
@@ -9025,32 +9007,32 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9025
9007
  "groupDefinitions",
9026
9008
  "texts"
9027
9009
  ])])) : i("", !0),
9028
- g.value === "settings" ? (S(), a("div", wr, [o("div", Tr, [
9029
- l(k(I), {
9010
+ g.value === "settings" ? (S(), a("div", Tr, [o("div", Er, [
9011
+ l(k(F), {
9030
9012
  kind: "secondary",
9031
9013
  label: d.value?.import,
9032
9014
  icon: "upload",
9033
9015
  onClick: s[11] ||= (e) => f("import")
9034
9016
  }, null, 8, ["label"]),
9035
- l(k(I), {
9017
+ l(k(F), {
9036
9018
  kind: "secondary",
9037
9019
  label: d.value?.export,
9038
9020
  icon: "save",
9039
9021
  onClick: s[12] ||= (e) => f("export")
9040
9022
  }, null, 8, ["label"]),
9041
- l(k(I), {
9023
+ l(k(F), {
9042
9024
  kind: "secondary",
9043
9025
  label: d.value?.editSchema,
9044
9026
  icon: "edit",
9045
9027
  onClick: s[13] ||= (e) => f("editSchema")
9046
9028
  }, null, 8, ["label"]),
9047
- l(k(I), {
9029
+ l(k(F), {
9048
9030
  kind: "secondary",
9049
9031
  label: d.value?.editModel,
9050
9032
  icon: "editItem",
9051
9033
  onClick: s[14] ||= (e) => f("editModel")
9052
9034
  }, null, 8, ["label"]),
9053
- l(k(I), {
9035
+ l(k(F), {
9054
9036
  kind: "secondary",
9055
9037
  label: d.value?.reportIssue,
9056
9038
  icon: "bug",
@@ -9059,7 +9041,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9059
9041
  ])])) : i("", !0)
9060
9042
  ])])) : i("", !0)]));
9061
9043
  }
9062
- }), 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({
9044
+ }), 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({
9063
9045
  __name: "Constructor",
9064
9046
  props: {
9065
9047
  schema: {
@@ -9158,44 +9140,44 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9158
9140
  metaMainLastModified: "Pēdējās izmaiņas",
9159
9141
  metaMainDataSize: "Datnes izmērs"
9160
9142
  }
9161
- }, u = n(() => He.getDisplayTexts(s.texts, c)), d = C({}), f = t, p = n({
9143
+ }, u = n(() => J.getDisplayTexts(s.texts, c)), d = C({}), f = t, p = n({
9162
9144
  get() {
9163
9145
  return s.schema;
9164
9146
  },
9165
9147
  set(e) {
9166
9148
  f("update:schema", e);
9167
9149
  }
9168
- }), { width: m, height: h } = rr(), _ = C([]), y = C(null), x = C(null), w = C(null), T = C(null), E = C(null), O = C({
9150
+ }), { width: m, height: h } = ir(), _ = C([]), y = C(null), x = C(null), w = C(null), T = C(null), E = C(null), O = C({
9169
9151
  visible: !1,
9170
9152
  style: {},
9171
9153
  el: null,
9172
9154
  padding: 2
9173
- }), M = C(), F = C({
9155
+ }), M = C(), ee = C({
9174
9156
  canPlaceInside: !1,
9175
9157
  key: null,
9176
9158
  path: null
9177
- }), ee = C({
9159
+ }), te = C({
9178
9160
  canMoveOut: !1,
9179
9161
  parentKey: null,
9180
9162
  parentPath: null,
9181
9163
  targetPath: null,
9182
9164
  placement: null
9183
- }), 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({
9165
+ }), 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({
9184
9166
  label: null,
9185
9167
  description: null,
9186
9168
  kind: "danger",
9187
9169
  primaryAction: null,
9188
9170
  secondaryAction: null
9189
- }), _e = C({
9171
+ }), ye = C({
9190
9172
  canMoveBack: !1,
9191
9173
  canMoveForward: !1,
9192
9174
  moveOut: !1,
9193
9175
  canMoveForwardIn: !1
9194
9176
  });
9195
- function ye() {
9196
- _e.value.canMoveBack = !1, _e.value.canMoveForward = !1, _e.value.moveOut = !1, _e.value.canMoveForwardIn = !1;
9177
+ function xe() {
9178
+ ye.value.canMoveBack = !1, ye.value.canMoveForward = !1, ye.value.moveOut = !1, ye.value.canMoveForwardIn = !1;
9197
9179
  }
9198
- function be(e) {
9180
+ function Se(e) {
9199
9181
  if (O.value.el = e.target, !O.value.el) return;
9200
9182
  let t = O.value.el.getBoundingClientRect(), n = window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0, r = O.value.padding;
9201
9183
  O.value.style = {
@@ -9205,29 +9187,29 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9205
9187
  height: `${t.height + r * 2}px`
9206
9188
  }, O.value.visible = !0;
9207
9189
  }
9208
- function xe() {
9190
+ function Ce() {
9209
9191
  g(() => {
9210
- be({ target: O.value.el });
9192
+ Se({ target: O.value.el });
9211
9193
  });
9212
9194
  }
9213
- function Se(e) {
9195
+ function we(e) {
9214
9196
  let t = e?.replace(/-wrapper$/, "");
9215
9197
  return ze.get(t)?.type === "LxRow";
9216
9198
  }
9217
- function we(e, t) {
9218
- return t?.reduce((e, t) => He.isNil(e) ? void 0 : e[t], e);
9199
+ function V(e, t) {
9200
+ return t?.reduce((e, t) => J.isNil(e) ? void 0 : e[t], e);
9219
9201
  }
9220
- function U(e = null) {
9202
+ function H(e = null) {
9221
9203
  let t = e || M.value, n = [];
9222
9204
  return E.value = t?.split("."), E.value?.forEach((e) => {
9223
9205
  n.push("properties", e);
9224
9206
  }), n;
9225
9207
  }
9226
- function Te(e) {
9208
+ function U(e) {
9227
9209
  return e?.lx?.displayType;
9228
9210
  }
9229
9211
  function Ee(e) {
9230
- return e && Object.prototype.hasOwnProperty.call(e, "properties") && e.properties ? Te(e) === "form" ? Object.values(e.properties).some((e) => Te(e) === "section") : !0 : !1;
9212
+ return e && Object.prototype.hasOwnProperty.call(e, "properties") && e.properties ? U(e) === "form" ? Object.values(e.properties).some((e) => U(e) === "section") : !0 : !1;
9231
9213
  }
9232
9214
  function De(e) {
9233
9215
  if (!Array.isArray(e)) return !1;
@@ -9238,18 +9220,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9238
9220
  t.includes("LxSection", r + 1);
9239
9221
  }
9240
9222
  function Oe(e, t) {
9241
- (!M.value || !t) && ye();
9242
- 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;
9243
- _e.value.canMoveBack = !!l, _e.value.canMoveForward = !!s, _e.value.canMoveForwardIn = Ee(c) && y.value !== "LxSection";
9223
+ (!M.value || !t) && xe();
9224
+ 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;
9225
+ ye.value.canMoveBack = !!l, ye.value.canMoveForward = !!s, ye.value.canMoveForwardIn = Ee(c) && y.value !== "LxSection";
9244
9226
  let u = r?.includes(".") ? r?.split(".")?.slice(0, -1).join(".") : null, d = r?.split(".")?.slice(-1)[0] || null, f = !!r && !!d && !!u;
9245
- _e.value.moveOut = f && !De(_.value);
9227
+ ye.value.moveOut = f && !De(_.value);
9246
9228
  }
9247
9229
  function ke() {
9248
9230
  document.getElementById("constructor")?.addEventListener("click", (e) => {
9249
9231
  let t = e.target, n = null;
9250
9232
  for (; t;) {
9251
- if (t.dataset.id && ze.get(t.dataset.id) || Se(t.id)) {
9252
- if (Se(t.id)) {
9233
+ if (t.dataset.id && ze.get(t.dataset.id) || we(t.id)) {
9234
+ if (we(t.id)) {
9253
9235
  let e = t.id?.replace(/-wrapper$/, "");
9254
9236
  n = ze.get(e);
9255
9237
  } else n = ze.get(t.dataset.id || t.id);
@@ -9257,9 +9239,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9257
9239
  }
9258
9240
  t = t.parentElement;
9259
9241
  }
9260
- 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());
9242
+ 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());
9261
9243
  let r = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9262
- L.value = we(p.value, U(r)?.slice(0, -1)), Oe(p.value, T.value), me.value = "config";
9244
+ I.value = V(p.value, H(r)?.slice(0, -1)), Oe(p.value, T.value), ge.value = "config";
9263
9245
  });
9264
9246
  }
9265
9247
  function W() {
@@ -9278,14 +9260,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9278
9260
  }
9279
9261
  function Me(e, t) {
9280
9262
  if (!Array.isArray(t) || t.length === 0) return;
9281
- let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ? we(e, n) : e;
9263
+ let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ? V(e, n) : e;
9282
9264
  !i || !Object.prototype.hasOwnProperty.call(i, r) || delete i[r];
9283
9265
  }
9284
9266
  function K(e, t) {
9285
9267
  let n = e?.split(".")?.filter(Boolean) || [], r = t?.split(".")?.filter(Boolean) || [];
9286
9268
  if (!n.length || !r.length) return;
9287
- let i = we(d.value, n);
9288
- if (He.isNil(i)) return;
9269
+ let i = V(d.value, n);
9270
+ if (J.isNil(i)) return;
9289
9271
  let a = q.objectClone(d.value || {});
9290
9272
  je(a, r, i), Me(a, n), d.value = a;
9291
9273
  }
@@ -9295,17 +9277,17 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9295
9277
  t.push("properties", e);
9296
9278
  });
9297
9279
  let n = q.objectClone(p.value);
9298
- je(n, t, e), p.value = n, T.value = e, xe();
9280
+ je(n, t, e), p.value = n, T.value = e, Ce();
9299
9281
  }
9300
9282
  function Ie() {
9301
- F.value = {
9283
+ ee.value = {
9302
9284
  canPlaceInside: !1,
9303
9285
  key: null,
9304
9286
  path: null
9305
9287
  };
9306
9288
  }
9307
9289
  function Le() {
9308
- ee.value = {
9290
+ te.value = {
9309
9291
  canMoveOut: !1,
9310
9292
  parentKey: null,
9311
9293
  parentPath: null,
@@ -9315,8 +9297,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9315
9297
  }
9316
9298
  function Re(e, t) {
9317
9299
  if (!e || !t || !Object.prototype.hasOwnProperty.call(t, e)) return e;
9318
- let n = Y.generateUUID();
9319
- for (; Object.prototype.hasOwnProperty.call(t, n);) n = Y.generateUUID();
9300
+ let n = He.generateUUID();
9301
+ for (; Object.prototype.hasOwnProperty.call(t, n);) n = He.generateUUID();
9320
9302
  return n;
9321
9303
  }
9322
9304
  function Be(e) {
@@ -9325,7 +9307,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9325
9307
  function Ve(e) {
9326
9308
  return Be(e).join(".");
9327
9309
  }
9328
- function J(e) {
9310
+ function Y(e) {
9329
9311
  e && g(() => {
9330
9312
  let t = Array.from(ze.all().entries()).find(([, t]) => t?.builderName === e);
9331
9313
  if (!t) return;
@@ -9338,15 +9320,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9338
9320
  }
9339
9321
  function Ue() {
9340
9322
  if (!M.value) return;
9341
- 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;
9323
+ 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;
9342
9324
  if (!o || !t) return;
9343
9325
  let s = Object.keys(o), c = s[s.indexOf(t) + 1];
9344
9326
  if (!c) return;
9345
9327
  let l = o[t], u = o[c];
9346
9328
  if (!l || !u || !Ee(u)) return;
9347
9329
  let d = u, f = [n, c].filter(Boolean)?.join(".");
9348
- if (Te(u) === "form") {
9349
- let e = Object.entries(u.properties || {}).find(([, e]) => Te(e) === "section");
9330
+ if (U(u) === "form") {
9331
+ let e = Object.entries(u.properties || {}).find(([, e]) => U(e) === "section");
9350
9332
  if (!e) return;
9351
9333
  let [t, n] = e;
9352
9334
  d = n, f = [f, t].filter(Boolean).join(".");
@@ -9355,9 +9337,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9355
9337
  d.properties = {
9356
9338
  ...h,
9357
9339
  [g]: m
9358
- }, je(i, U(f), d), a.properties = Object.fromEntries(Object.entries(o).filter(([e]) => e !== t)), r && je(i, r, a), p.value = i;
9340
+ }, je(i, H(f), d), a.properties = Object.fromEntries(Object.entries(o).filter(([e]) => e !== t)), r && je(i, r, a), p.value = i;
9359
9341
  let _ = [f, g].filter(Boolean).join(".");
9360
- K(e, _), J(_);
9342
+ K(e, _), Y(_);
9361
9343
  }
9362
9344
  function We(e) {
9363
9345
  if (!e?.includes(".")) return {
@@ -9371,7 +9353,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9371
9353
  };
9372
9354
  }
9373
9355
  function Ge(e, t) {
9374
- let { parent: n, key: r } = We(e), i = n ? U(n) : null, a = i ? we(t, i) : t;
9356
+ let { parent: n, key: r } = We(e), i = n ? H(n) : null, a = i ? V(t, i) : t;
9375
9357
  return {
9376
9358
  schema: a,
9377
9359
  schemaPath: i,
@@ -9379,8 +9361,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9379
9361
  anchorKey: r
9380
9362
  };
9381
9363
  }
9382
- function Ke({ parentSchema: e, grandParentSchema: t, grandParentSchemaPath: n, grandParentProperties: r, parentKey: i, grandParentPath: a, schemaClone: o }) {
9383
- if (Te(e) === "section" && Te(t) === "form") {
9364
+ function X({ parentSchema: e, grandParentSchema: t, grandParentSchemaPath: n, grandParentProperties: r, parentKey: i, grandParentPath: a, schemaClone: o }) {
9365
+ if (U(e) === "section" && U(t) === "form") {
9384
9366
  let e = Ge(a, o);
9385
9367
  if (e) return e;
9386
9368
  }
@@ -9391,15 +9373,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9391
9373
  anchorKey: i
9392
9374
  };
9393
9375
  }
9394
- function X(e) {
9376
+ function Ke(e) {
9395
9377
  if (!M.value || e !== "next" && e !== "previous") return;
9396
9378
  let t = M.value, { parent: n, key: r } = We(M.value);
9397
9379
  if (!n) return;
9398
9380
  let { parent: i, key: a } = We(n);
9399
9381
  if (!i) return;
9400
- 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;
9382
+ 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;
9401
9383
  if (!d || !r || !a) return;
9402
- let { schema: m, schemaPath: h, properties: g, anchorKey: _ } = Ke({
9384
+ let { schema: m, schemaPath: h, properties: g, anchorKey: _ } = X({
9403
9385
  parentSchema: l,
9404
9386
  grandParentSchema: u,
9405
9387
  grandParentSchemaPath: c,
@@ -9418,7 +9400,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9418
9400
  e === _ && (x[b] = y), x[e] = g[e];
9419
9401
  }), m.properties = x, s && je(o, s, l), h && je(o, h, m), p.value = o;
9420
9402
  let S = [Ve(h), b].filter(Boolean).join(".");
9421
- K(t, S), J(S);
9403
+ K(t, S), Y(S);
9422
9404
  }
9423
9405
  function qe(e, t, n) {
9424
9406
  if (t && e === "LxDateTimeRange") {
@@ -9428,13 +9410,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9428
9410
  }
9429
9411
  function Je(e) {
9430
9412
  let t = null;
9431
- M.value?.includes(".") && (t = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9432
- 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 = {};
9413
+ M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9414
+ 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 = {};
9433
9415
  Object.keys(o).forEach((e) => {
9434
9416
  s[e] = o[e], e === r && (s[i] = a);
9435
9417
  }), n.properties = s;
9436
9418
  let c = q.objectClone(p.value);
9437
- je(c, t, n), p.value = c, qe(e, i, t), J([Ve(t), i].filter(Boolean).join("."));
9419
+ je(c, t, n), p.value = c, qe(e, i, t), Y([Ve(t), i].filter(Boolean).join("."));
9438
9420
  }
9439
9421
  function Ye(e) {
9440
9422
  if (!M.value) return !1;
@@ -9442,26 +9424,26 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9442
9424
  if (!n) return !1;
9443
9425
  let r = n?.includes(".") ? n?.split(".")?.slice(0, -1)?.join(".") : null, i = n?.split(".")?.slice(-1)[0] || null;
9444
9426
  if (!i) return !1;
9445
- let a = q.objectClone(p.value), o = we(a, U(n)), s = o?.properties?.[t], c = Te(s) === "section", l = Te(o) === "form";
9427
+ let a = q.objectClone(p.value), o = V(a, H(n)), s = o?.properties?.[t], c = U(s) === "section", l = U(o) === "form";
9446
9428
  if (!c || !l) return !1;
9447
- let u = r ? U(r) : null, d = u ? we(a, u) : a, f = d?.properties;
9429
+ let u = r ? H(r) : null, d = u ? V(a, u) : a, f = d?.properties;
9448
9430
  if (!f) return !1;
9449
- let m = Re(Y.generateUUID(), f), h = ir(e), g = {};
9431
+ let m = Re(He.generateUUID(), f), h = ar(e), g = {};
9450
9432
  return Object.keys(f).forEach((e) => {
9451
9433
  e === i && (g[m] = h), g[e] = f[e];
9452
- }), d.properties = g, u && je(a, u, d), p.value = a, qe(e, m, u), J([Ve(u), m].filter(Boolean).join(".")), !0;
9434
+ }), d.properties = g, u && je(a, u, d), p.value = a, qe(e, m, u), Y([Ve(u), m].filter(Boolean).join(".")), !0;
9453
9435
  }
9454
9436
  function Xe(e) {
9455
9437
  let t = null;
9456
- t = U(M.value?.split(".")?.join("."));
9457
- 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 = {};
9438
+ t = H(M.value?.split(".")?.join("."));
9439
+ 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 = {};
9458
9440
  Object.keys(o).forEach((e) => {
9459
9441
  s[e] = o[e];
9460
9442
  }), r ? Object.keys(s).forEach((e) => {
9461
9443
  e === r && (s[i] = a);
9462
9444
  }) : s[i] = a, n.properties = s;
9463
9445
  let c = q.objectClone(p.value);
9464
- je(c, t, n), p.value = c, qe(e, i, t), J([Ve(t), i].filter(Boolean).join("."));
9446
+ je(c, t, n), p.value = c, qe(e, i, t), Y([Ve(t), i].filter(Boolean).join("."));
9465
9447
  }
9466
9448
  function Ze(e) {
9467
9449
  let t = null;
@@ -9471,15 +9453,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9471
9453
  }));
9472
9454
  }
9473
9455
  function Qe(e) {
9474
- 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);
9456
+ 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);
9475
9457
  }
9476
9458
  function Z(e, t) {
9477
- t === "inside" ? (Xe(fe.value), ue.value.close()) : t === "next" && (y.value === "LxSection" && Ye(fe.value) || Je(fe.value), ue.value.close());
9459
+ t === "inside" ? (Xe(me.value), fe.value.close()) : t === "next" && (y.value === "LxSection" && Ye(me.value) || Je(me.value), fe.value.close());
9478
9460
  }
9479
9461
  function $e() {
9480
9462
  let e = null;
9481
- M.value?.includes(".") && (e = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9482
- let t = e ? we(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
9463
+ M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9464
+ let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
9483
9465
  Object.keys(r).forEach((e) => {
9484
9466
  e !== n && (i[e] = r[e]);
9485
9467
  }), t.properties = i;
@@ -9488,18 +9470,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9488
9470
  }
9489
9471
  function et() {
9490
9472
  let e = null;
9491
- M.value?.includes(".") && (e = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9492
- 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 = {};
9473
+ M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9474
+ 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 = {};
9493
9475
  Object.keys(a).forEach((e) => {
9494
9476
  o[e] = a[e], e === n && (o[r] = i);
9495
9477
  }), t.properties = o;
9496
9478
  let s = q.objectClone(p.value);
9497
- je(s, e, t), p.value = s, J([Ve(e), r].filter(Boolean).join("."));
9479
+ je(s, e, t), p.value = s, Y([Ve(e), r].filter(Boolean).join("."));
9498
9480
  }
9499
9481
  function tt(e) {
9500
9482
  let t = null;
9501
- M.value?.includes(".") && (t = U(M.value?.split(".")?.slice(0, -1)?.join(".")));
9502
- 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);
9483
+ M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9484
+ 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);
9503
9485
  if (e === "up" && s > 0 || e === "down" && s < o.length - 1) {
9504
9486
  e === "up" ? o.forEach((e, t) => {
9505
9487
  t === s - 1 && (a[r] = i[r]), e !== r && (a[e] = i[e]);
@@ -9508,12 +9490,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9508
9490
  }), n.properties = a;
9509
9491
  let c = q.objectClone(p.value);
9510
9492
  je(c, t, n), p.value = c, g(() => {
9511
- xe(), Oe(p.value, T.value);
9493
+ Ce(), Oe(p.value, T.value);
9512
9494
  });
9513
9495
  }
9514
9496
  }
9515
9497
  function nt() {
9516
- ne.value.open();
9498
+ re.value.open();
9517
9499
  }
9518
9500
  function rt() {
9519
9501
  navigator.clipboard.writeText(JSON.stringify(p.value, null, 2)), f("schemaCopy");
@@ -9526,7 +9508,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9526
9508
  e === "download" ? it() : e === "copy" && rt();
9527
9509
  }
9528
9510
  function ot() {
9529
- B.value = "file", V.value = null, R.value.open();
9511
+ z.value = "file", oe.value = null, ie.value.open();
9530
9512
  }
9531
9513
  function st(e) {
9532
9514
  try {
@@ -9542,58 +9524,58 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9542
9524
  }
9543
9525
  function lt(e) {
9544
9526
  if (e?.length === 0) {
9545
- z.value = [], ie.value = null;
9527
+ ae.value = [], R.value = null;
9546
9528
  return;
9547
9529
  }
9548
- z.value = e;
9530
+ ae.value = e;
9549
9531
  let t = e[0].content?.split(",")[1];
9550
9532
  if (!t) {
9551
- ie.value = null, f("error", "Invalid file content");
9533
+ R.value = null, f("error", "Invalid file content");
9552
9534
  return;
9553
9535
  }
9554
- ie.value = ct(t);
9536
+ R.value = ct(t);
9555
9537
  }
9556
9538
  function ut() {
9557
9539
  O.value.visible = !1, y.value = null, _.value = [], T.value = null, Ie(), Le();
9558
9540
  }
9559
9541
  function dt(e) {
9560
- if (e === "save" && ie.value) {
9561
- if (V.value = null, !st(ie.value)) {
9562
- V.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9542
+ if (e === "save" && R.value) {
9543
+ if (oe.value = null, !st(R.value)) {
9544
+ oe.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9563
9545
  return;
9564
9546
  }
9565
9547
  try {
9566
- p.value = JSON.parse(ie.value), R.value.close(), ut();
9548
+ p.value = JSON.parse(R.value), ie.value.close(), ut();
9567
9549
  } catch {
9568
- V.value = u.value?.errorParsingJsonContent, f("error", "Error parsing JSON content");
9550
+ oe.value = u.value?.errorParsingJsonContent, f("error", "Error parsing JSON content");
9569
9551
  }
9570
9552
  }
9571
9553
  }
9572
9554
  let ft = C(null);
9573
9555
  function pt(e) {
9574
- e === "save" && ie.value && (ft.value = z.value, R.value.close(), ge.value = {
9556
+ e === "save" && R.value && (ft.value = ae.value, ie.value.close(), ve.value = {
9575
9557
  label: u.value?.confirmImport,
9576
9558
  description: u.value?.confirmImportDescription,
9577
9559
  kind: "question",
9578
9560
  primaryAction: () => {
9579
- z.value = ft.value, lt(ft.value), dt("save"), H.value.close();
9561
+ ae.value = ft.value, lt(ft.value), dt("save"), B.value.close();
9580
9562
  },
9581
9563
  secondaryAction: () => {
9582
- H.value.close(), R.value.open(), z.value = ft.value, lt(ft.value);
9564
+ B.value.close(), ie.value.open(), ae.value = ft.value, lt(ft.value);
9583
9565
  }
9584
- }, H.value.open());
9566
+ }, B.value.open());
9585
9567
  }
9586
9568
  function mt() {
9587
- ce.value = null, se.value = JSON.stringify(p.value, null, 2), ae.value.open();
9569
+ ue.value = null, le.value = JSON.stringify(p.value, null, 2), se.value.open();
9588
9570
  }
9589
9571
  function ht(e) {
9590
- if (e === "save" && se.value) {
9591
- if (!st(se.value)) {
9592
- ce.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9572
+ if (e === "save" && le.value) {
9573
+ if (!st(le.value)) {
9574
+ ue.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9593
9575
  return;
9594
9576
  }
9595
9577
  try {
9596
- p.value = JSON.parse(se.value), ae.value.close();
9578
+ p.value = JSON.parse(le.value), se.value.close();
9597
9579
  } catch {
9598
9580
  f("error", "Error parsing JSON content");
9599
9581
  }
@@ -9629,18 +9611,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9629
9611
  globalThis.open("https://github.com/dativa-lv/lx-builders/issues", "_blank", "noopener");
9630
9612
  }
9631
9613
  j(() => [m.value, h.value], () => {
9632
- xe();
9614
+ Ce();
9633
9615
  });
9634
9616
  function Ct() {
9635
- ge.value = {
9617
+ ve.value = {
9636
9618
  label: u.value?.confirmDelete,
9637
9619
  description: null,
9638
9620
  kind: "warning",
9639
9621
  primaryAction: () => {
9640
- $e(), H.value.close();
9622
+ $e(), B.value.close();
9641
9623
  },
9642
9624
  secondaryAction: null
9643
- }, H.value.open();
9625
+ }, B.value.open();
9644
9626
  }
9645
9627
  function wt(e, t, n) {
9646
9628
  if (t === n || !Object.prototype.hasOwnProperty.call(e, t)) return e;
@@ -9652,22 +9634,22 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9652
9634
  function Tt(e) {
9653
9635
  try {
9654
9636
  if (!e) {
9655
- pe.value = u.value?.schemaKeyEmptyError;
9637
+ he.value = u.value?.schemaKeyEmptyError;
9656
9638
  return;
9657
9639
  }
9658
- if (!L.value) {
9659
- pe.value = u.value?.schemaKeyParentError;
9640
+ if (!I.value) {
9641
+ he.value = u.value?.schemaKeyParentError;
9660
9642
  return;
9661
9643
  }
9662
- if (Object.prototype.hasOwnProperty.call(L.value, e) && e !== te.value) {
9663
- pe.value = u.value?.schemaKeyDuplicateError?.replace("{0}", e);
9644
+ if (Object.prototype.hasOwnProperty.call(I.value, e) && e !== ne.value) {
9645
+ he.value = u.value?.schemaKeyDuplicateError?.replace("{0}", e);
9664
9646
  return;
9665
9647
  }
9666
- pe.value = null;
9667
- let t = wt(L.value, te.value, e), n = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9668
- je(p.value, U(n)?.slice(0, -1), t);
9648
+ he.value = null;
9649
+ let t = wt(I.value, ne.value, e), n = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9650
+ je(p.value, H(n)?.slice(0, -1), t);
9669
9651
  } catch {
9670
- pe.value = u.value?.schemaKeyUpdateError;
9652
+ he.value = u.value?.schemaKeyUpdateError;
9671
9653
  }
9672
9654
  }
9673
9655
  b(() => {
@@ -9686,11 +9668,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9686
9668
  };
9687
9669
  });
9688
9670
  return (t, n) => (S(), a("div", null, [
9689
- o("div", Dr, [P(o("div", {
9671
+ o("div", Or, [P(o("div", {
9690
9672
  class: "highlight",
9691
9673
  style: v(O.value.style)
9692
- }, [o("div", Or, [
9693
- _e.value.canMoveForwardIn && W() ? (S(), r(k(I), {
9674
+ }, [o("div", kr, [
9675
+ ye.value.canMoveForwardIn && W() ? (S(), r(k(F), {
9694
9676
  key: 0,
9695
9677
  icon: "move-inside",
9696
9678
  variant: "icon-only",
@@ -9698,27 +9680,27 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9698
9680
  kind: "ghost",
9699
9681
  onClick: n[0] ||= (e) => Ue()
9700
9682
  }, null, 8, ["label"])) : i("", !0),
9701
- _e.value.moveOut && W() ? (S(), r(k(I), {
9683
+ ye.value.moveOut && W() ? (S(), r(k(F), {
9702
9684
  key: 1,
9703
9685
  icon: "move-outside",
9704
9686
  variant: "icon-only",
9705
9687
  label: u.value.moveOutside,
9706
9688
  kind: "ghost",
9707
- onClick: n[1] ||= (e) => X("previous")
9689
+ onClick: n[1] ||= (e) => Ke("previous")
9708
9690
  }, null, 8, ["label"])) : i("", !0),
9709
9691
  W() ? (S(), r(k(G), {
9710
9692
  key: 2,
9711
9693
  orientation: "horizontal",
9712
9694
  kind: "compact"
9713
9695
  }, {
9714
- default: N(() => [_e.value.canMoveBack ? (S(), r(k(I), {
9696
+ default: N(() => [ye.value.canMoveBack ? (S(), r(k(F), {
9715
9697
  key: 0,
9716
9698
  icon: "back",
9717
9699
  variant: "icon-only",
9718
9700
  label: u.value.back,
9719
9701
  kind: "ghost",
9720
9702
  onClick: n[2] ||= (e) => tt("up")
9721
- }, null, 8, ["label"])) : i("", !0), _e.value.canMoveForward ? (S(), r(k(I), {
9703
+ }, null, 8, ["label"])) : i("", !0), ye.value.canMoveForward ? (S(), r(k(F), {
9722
9704
  key: 1,
9723
9705
  icon: "next",
9724
9706
  variant: "icon-only",
@@ -9729,7 +9711,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9729
9711
  _: 1
9730
9712
  })) : i("", !0),
9731
9713
  o("span", null, D(y.value), 1)
9732
- ]), o("div", kr, [y.value === "LxViewLayout" ? i("", !0) : (S(), r(k(I), {
9714
+ ]), o("div", Ar, [y.value === "LxViewLayout" ? i("", !0) : (S(), r(k(F), {
9733
9715
  key: 0,
9734
9716
  icon: "delete",
9735
9717
  variant: "icon-only",
@@ -9738,17 +9720,17 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9738
9720
  destructive: !0,
9739
9721
  onClick: Ct
9740
9722
  }, null, 8, ["label"]))])], 4), [[A, O.value.visible]])]),
9741
- l(Er, {
9723
+ l(Dr, {
9742
9724
  componentName: y.value,
9743
9725
  componentProps: x.value,
9744
9726
  componentPropsDefinitions: w.value,
9745
9727
  navigation: _.value,
9746
9728
  componentModel: T.value,
9747
- schemaKey: te.value,
9748
- schemaKeyError: pe.value,
9729
+ schemaKey: ne.value,
9730
+ schemaKeyError: he.value,
9749
9731
  schemaInfo: Et.value,
9750
- selectedTab: me.value,
9751
- "onUpdate:selectedTab": n[4] ||= (e) => me.value = e,
9732
+ selectedTab: ge.value,
9733
+ "onUpdate:selectedTab": n[4] ||= (e) => ge.value = e,
9752
9734
  texts: u.value,
9753
9735
  "onUpdate:componentModel": Pe,
9754
9736
  onComponentAdd: Qe,
@@ -9774,15 +9756,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9774
9756
  "selectedTab",
9775
9757
  "texts"
9776
9758
  ]),
9777
- o("div", Ar, [l(Nn, {
9759
+ o("div", jr, [l(Pn, {
9778
9760
  schema: e.schema,
9779
9761
  modelValue: d.value,
9780
9762
  "onUpdate:modelValue": n[5] ||= (e) => d.value = e,
9781
9763
  builderOptions: { useRegistry: !0 }
9782
9764
  }, null, 8, ["schema", "modelValue"])]),
9783
- l(k(Ce), {
9765
+ l(k(Te), {
9784
9766
  ref_key: "exportModal",
9785
- ref: ne,
9767
+ ref: re,
9786
9768
  label: u.value?.exportModal,
9787
9769
  size: "m",
9788
9770
  actionDefinitions: [{
@@ -9804,19 +9786,19 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9804
9786
  icon: "copy"
9805
9787
  }],
9806
9788
  onActionClick: at
9807
- }, null, 8, ["actionDefinitions"]), o("div", jr, [o("pre", Mr, D(JSON.stringify(p.value, null, 2)), 1)])]),
9789
+ }, null, 8, ["actionDefinitions"]), o("div", Mr, [o("pre", Nr, D(JSON.stringify(p.value, null, 2)), 1)])]),
9808
9790
  _: 1
9809
9791
  }, 8, ["label", "actionDefinitions"]),
9810
- l(k(Ce), {
9792
+ l(k(Te), {
9811
9793
  ref_key: "importModal",
9812
- ref: R,
9794
+ ref: ie,
9813
9795
  label: u.value?.importModal,
9814
9796
  size: "m",
9815
9797
  actionDefinitions: [{
9816
9798
  id: "save",
9817
9799
  name: u.value?.save,
9818
9800
  kind: "primary",
9819
- disabled: le.value
9801
+ disabled: de.value
9820
9802
  }, {
9821
9803
  id: "close",
9822
9804
  name: u.value?.close,
@@ -9824,13 +9806,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9824
9806
  }],
9825
9807
  onActionClick: pt,
9826
9808
  onClose: n[8] ||= () => {
9827
- z.value = null, ie.value = null;
9809
+ ae.value = null, R.value = null;
9828
9810
  }
9829
9811
  }, {
9830
9812
  default: N(() => [
9831
- o("div", Nr, [l(k(re), {
9832
- modelValue: B.value,
9833
- "onUpdate:modelValue": n[6] ||= (e) => B.value = e,
9813
+ o("div", Pr, [l(k(L), {
9814
+ modelValue: z.value,
9815
+ "onUpdate:modelValue": n[6] ||= (e) => z.value = e,
9834
9816
  items: [{
9835
9817
  id: "file",
9836
9818
  name: u.value?.importFile
@@ -9839,38 +9821,38 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9839
9821
  name: u.value?.importText
9840
9822
  }]
9841
9823
  }, null, 8, ["modelValue", "items"])]),
9842
- P(o("div", null, [l(k(de), {
9843
- modelValue: z.value,
9824
+ P(o("div", null, [l(k(pe), {
9825
+ modelValue: ae.value,
9844
9826
  draggable: !0,
9845
9827
  allowedFileExtensions: [".json"],
9846
9828
  dataType: "content",
9847
9829
  texts: u.value?.fileUploader,
9848
9830
  "onUpdate:modelValue": lt
9849
- }, null, 8, ["modelValue", "texts"])], 512), [[A, B.value === "file"]]),
9831
+ }, null, 8, ["modelValue", "texts"])], 512), [[A, z.value === "file"]]),
9850
9832
  P(l(k(Ne), {
9851
- modelValue: ie.value,
9852
- "onUpdate:modelValue": n[7] ||= (e) => ie.value = e,
9833
+ modelValue: R.value,
9834
+ "onUpdate:modelValue": n[7] ||= (e) => R.value = e,
9853
9835
  rows: 20,
9854
- invalid: !!V.value,
9855
- invalidationMessage: V.value
9836
+ invalid: !!oe.value,
9837
+ invalidationMessage: oe.value
9856
9838
  }, null, 8, [
9857
9839
  "modelValue",
9858
9840
  "invalid",
9859
9841
  "invalidationMessage"
9860
- ]), [[A, B.value === "text"]])
9842
+ ]), [[A, z.value === "text"]])
9861
9843
  ]),
9862
9844
  _: 1
9863
9845
  }, 8, ["label", "actionDefinitions"]),
9864
- l(k(Ce), {
9846
+ l(k(Te), {
9865
9847
  ref_key: "editSchemaModal",
9866
- ref: ae,
9848
+ ref: se,
9867
9849
  label: u.value?.editSchemaModal,
9868
9850
  size: "l",
9869
9851
  actionDefinitions: [{
9870
9852
  id: "save",
9871
9853
  name: u.value?.save,
9872
9854
  kind: "primary",
9873
- disabled: !se.value
9855
+ disabled: !le.value
9874
9856
  }, {
9875
9857
  id: "close",
9876
9858
  name: u.value?.close,
@@ -9879,11 +9861,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9879
9861
  onActionClick: ht
9880
9862
  }, {
9881
9863
  default: N(() => [l(k(Ne), {
9882
- modelValue: se.value,
9883
- "onUpdate:modelValue": n[9] ||= (e) => se.value = e,
9864
+ modelValue: le.value,
9865
+ "onUpdate:modelValue": n[9] ||= (e) => le.value = e,
9884
9866
  rows: 50,
9885
- invalid: !!ce.value,
9886
- invalidationMessage: ce.value
9867
+ invalid: !!ue.value,
9868
+ invalidationMessage: ue.value
9887
9869
  }, null, 8, [
9888
9870
  "modelValue",
9889
9871
  "invalid",
@@ -9891,13 +9873,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9891
9873
  ])]),
9892
9874
  _: 1
9893
9875
  }, 8, ["label", "actionDefinitions"]),
9894
- l(k(Ce), {
9876
+ l(k(Te), {
9895
9877
  ref_key: "componentAddModal",
9896
- ref: ue,
9878
+ ref: fe,
9897
9879
  label: u.value?.componentAddModal,
9898
9880
  description: u.value?.componentAddModalDescription
9899
9881
  }, {
9900
- default: N(() => [o("p", Pr, D(u.value?.componentAddChoice), 1), l(k(ve), {
9882
+ default: N(() => [o("p", Fr, D(u.value?.componentAddChoice), 1), l(k(be), {
9901
9883
  items: [{
9902
9884
  id: "next",
9903
9885
  name: u.value?.componentAddNext,
@@ -9918,8 +9900,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9918
9900
  orientation: "horizontal",
9919
9901
  verticalAlignment: "center"
9920
9902
  }, {
9921
- default: N(() => [l(k(he), { value: e.displayIcon }, null, 8, ["value"]), l(k(G), { kind: "compact" }, {
9922
- default: N(() => [o("p", Fr, D(e.name), 1), o("p", Ir, D(e.description), 1)]),
9903
+ default: N(() => [l(k(_e), { value: e.displayIcon }, null, 8, ["value"]), l(k(G), { kind: "compact" }, {
9904
+ default: N(() => [o("p", Ir, D(e.name), 1), o("p", Lr, D(e.description), 1)]),
9923
9905
  _: 2
9924
9906
  }, 1024)]),
9925
9907
  _: 2
@@ -9928,7 +9910,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9928
9910
  }, 8, ["items"])]),
9929
9911
  _: 1
9930
9912
  }, 8, ["label", "description"]),
9931
- l(k(Ce), {
9913
+ l(k(Te), {
9932
9914
  ref_key: "editModelModal",
9933
9915
  ref: gt,
9934
9916
  label: u.value?.editModelModal,
@@ -9958,12 +9940,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9958
9940
  ])]),
9959
9941
  _: 1
9960
9942
  }, 8, ["label", "actionDefinitions"]),
9961
- l(k(oe), {
9943
+ l(k(ce), {
9962
9944
  ref_key: "confirmDialog",
9963
- ref: H,
9964
- label: ge.value?.label,
9965
- description: ge.value?.description,
9966
- kind: ge.value?.kind,
9945
+ ref: B,
9946
+ label: ve.value?.label,
9947
+ description: ve.value?.description,
9948
+ kind: ve.value?.kind,
9967
9949
  actionDefinitions: [{
9968
9950
  id: "save",
9969
9951
  name: u.value?.yes,
@@ -9973,9 +9955,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9973
9955
  name: u.value?.no,
9974
9956
  kind: "secondary"
9975
9957
  }],
9976
- buttonSecondaryIsCancel: !ge.value?.secondaryAction,
9958
+ buttonSecondaryIsCancel: !ve.value?.secondaryAction,
9977
9959
  onActionClick: n[11] ||= (e) => {
9978
- e === "save" && ge.value?.primaryAction ? ge.value.primaryAction() : e === "cancel" && ge.value?.secondaryAction && ge.value.secondaryAction();
9960
+ e === "save" && ve.value?.primaryAction ? ve.value.primaryAction() : e === "cancel" && ve.value?.secondaryAction && ve.value.secondaryAction();
9979
9961
  }
9980
9962
  }, null, 8, [
9981
9963
  "label",
@@ -9986,14 +9968,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9986
9968
  ])
9987
9969
  ]));
9988
9970
  }
9989
- }), Rr = { async install(e, t = {}) {
9971
+ }), zr = { async install(e, t = {}) {
9990
9972
  let { lxOptions: n, ...r } = t || {};
9991
9973
  if (Xe(r), n) {
9992
9974
  let { createLx: t } = await import("@dativa-lv/lx-ui");
9993
9975
  e.use(t, n);
9994
9976
  }
9995
- } }, zr = (e) => ({ async install(t) {
9996
- t.use(Rr, e);
9977
+ } }, Br = (e) => ({ async install(t) {
9978
+ t.use(zr, e);
9997
9979
  } });
9998
9980
  //#endregion
9999
- 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 };
9981
+ 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 };