@dativa-lv/lx-builders 2.2.8 → 2.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,
@@ -1415,7 +1420,7 @@ var $ = {
1415
1420
  "invalidation-message",
1416
1421
  "builderOptions",
1417
1422
  "modelValue"
1418
- ])) : A.value === "textInputInteger" ? (S(), r(k(K), {
1423
+ ])) : O.value === "textInputInteger" ? (S(), r(k(K), {
1419
1424
  key: 3,
1420
1425
  id: `${e.id}-${e.name}`,
1421
1426
  mask: "integer",
@@ -1436,7 +1441,7 @@ var $ = {
1436
1441
  modelValue: f.value[e.name],
1437
1442
  "onUpdate:modelValue": c[5] ||= (t) => f.value[e.name] = t,
1438
1443
  builderOptions: X.value,
1439
- onKeyup: c[6] ||= F((e) => d("filterBuilderFilter"), ["enter"])
1444
+ onKeyup: c[6] ||= ee((e) => d("filterBuilderFilter"), ["enter"])
1440
1445
  }, null, 8, [
1441
1446
  "id",
1442
1447
  "maxlength",
@@ -1455,7 +1460,7 @@ var $ = {
1455
1460
  "texts",
1456
1461
  "modelValue",
1457
1462
  "builderOptions"
1458
- ])) : A.value === "toggle" ? (S(), r(k(Pe), {
1463
+ ])) : O.value === "toggle" ? (S(), r(k(Pe), {
1459
1464
  key: 4,
1460
1465
  id: `${e.id}-${e.name}`,
1461
1466
  size: e.displaySchema?.properties[e.name]?.lx?.size,
@@ -1469,9 +1474,9 @@ var $ = {
1469
1474
  modelValue: f.value[e.name],
1470
1475
  "onUpdate:modelValue": c[7] ||= (t) => f.value[e.name] = t
1471
1476
  }, {
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, "—"))]),
1477
+ on: N(() => [e.row?.lx?.labelOn ? (S(), a("span", un, D(e.row?.lx?.labelOn), 1)) : (S(), a("span", dn, "Jā"))]),
1478
+ off: N(() => [e.row?.lx?.labelOff ? (S(), a("span", fn, D(e.row?.lx?.labelOff), 1)) : (S(), a("span", pn, "Nē"))]),
1479
+ indeterminate: N(() => [e.row?.lx?.labelIndeterminate ? (S(), a("span", mn, D(e.row?.lx?.labelIndeterminate), 1)) : g(e.displaySchema?.properties[e.name]) ? (S(), a("span", hn, [...c[97] ||= [o("p", { class: "lx-data" }, "—", -1)]])) : (S(), a("span", gn, "—"))]),
1475
1480
  _: 1
1476
1481
  }, 8, [
1477
1482
  "id",
@@ -1484,18 +1489,18 @@ var $ = {
1484
1489
  "texts",
1485
1490
  "builderOptions",
1486
1491
  "modelValue"
1487
- ])) : A.value === "valuePicker" ? (S(), r(k(Ie), {
1492
+ ])) : O.value === "valuePicker" ? (S(), r(k(Ie), {
1488
1493
  key: 5,
1489
1494
  id: `${e.id}-${e.name}`,
1490
1495
  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]),
1496
+ items: e.displaySchema?.properties[e.name]?.lx?.items || M(e.displaySchema?.properties[e.name]),
1492
1497
  "id-attribute": e.displaySchema?.properties[e.name]?.lx?.idAttribute,
1493
1498
  "name-attribute": e.displaySchema?.properties[e.name]?.lx?.nameAttribute,
1494
1499
  "icon-attribute": e.displaySchema?.properties[e.name]?.lx?.iconAttribute,
1495
1500
  "icon-set-attribute": e.displaySchema?.properties[e.name]?.lx?.iconSetAttribute,
1496
1501
  "category-attribute": e.displaySchema?.properties[e.name]?.lx?.categoryAttribute,
1497
1502
  "description-attribute": e.displaySchema?.properties[e.name]?.lx?.descriptionAttribute,
1498
- variant: Ue(e.displaySchema?.properties[e.name]),
1503
+ variant: He(e.displaySchema?.properties[e.name]),
1499
1504
  "has-search": e.displaySchema?.properties[e.name]?.lx?.hasSearch,
1500
1505
  "always-as-array": e.displaySchema?.properties[e.name]?.lx?.alwaysAsArray,
1501
1506
  nullable: e.displaySchema?.properties[e.name]?.lx?.nullable,
@@ -1617,7 +1622,7 @@ var $ = {
1617
1622
  "item"
1618
1623
  ]))], 64))), 128))]),
1619
1624
  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), {
1625
+ } : void 0]), 1032, /* @__PURE__ */ "id.selectionKind.items.id-attribute.name-attribute.icon-attribute.icon-set-attribute.category-attribute.description-attribute.variant.has-search.always-as-array.nullable.tooltip.texts.placeholder.disabled.readOnly.search-attributes.has-select-all.read-only-render-type.stickyToolbar.invalid.invalidation-message.builderOptions.modelValue".split("."))) : O.value === "dataBlock" ? (S(), r(k(ie), {
1621
1626
  key: 6,
1622
1627
  expandable: !0,
1623
1628
  size: e.displaySchema?.properties[e.name]?.lx?.size,
@@ -1632,23 +1637,23 @@ var $ = {
1632
1637
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
1633
1638
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
1634
1639
  class: "form-builder-data-block",
1635
- onActionClick: c[9] ||= (t, n) => M("actionClick", e.name, t, n)
1640
+ onActionClick: c[9] ||= (t, n) => j("actionClick", e.name, t, n)
1636
1641
  }, {
1637
- default: N(() => [l(k(H), {
1642
+ default: N(() => [l(k(B), {
1638
1643
  showHeader: !1,
1639
1644
  showFooter: !1,
1640
1645
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
1641
1646
  kind: "stripped"
1642
1647
  }, {
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), {
1648
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
1644
1649
  key: 1,
1645
1650
  label: n?.title || o,
1646
1651
  rowSpan: n?.lx?.rowSpan,
1647
1652
  columnSpan: n?.lx?.columnSpan,
1648
1653
  "action-definitions": n?.lx?.actionDefinitions,
1649
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
1654
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
1650
1655
  }, {
1651
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
1656
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
1652
1657
  key: 0,
1653
1658
  mask: v(n?.lx?.mask, n?.type),
1654
1659
  maxlength: n?.maxLength,
@@ -1689,7 +1694,7 @@ var $ = {
1689
1694
  "texts",
1690
1695
  "modelValue",
1691
1696
  "onUpdate:modelValue"
1692
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
1697
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
1693
1698
  key: 1,
1694
1699
  maxlength: n?.maxLength,
1695
1700
  placeholder: h(n),
@@ -1716,7 +1721,7 @@ var $ = {
1716
1721
  "texts",
1717
1722
  "modelValue",
1718
1723
  "onUpdate:modelValue"
1719
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
1724
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
1720
1725
  key: 2,
1721
1726
  mask: "integer",
1722
1727
  maxlength: n?.maxLength,
@@ -1750,7 +1755,7 @@ var $ = {
1750
1755
  "texts",
1751
1756
  "modelValue",
1752
1757
  "onUpdate:modelValue"
1753
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
1758
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
1754
1759
  key: 3,
1755
1760
  size: n?.lx?.size,
1756
1761
  disabled: n?.lx?.disabled,
@@ -1767,7 +1772,7 @@ var $ = {
1767
1772
  "texts",
1768
1773
  "modelValue",
1769
1774
  "onUpdate:modelValue"
1770
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
1775
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
1771
1776
  key: 4,
1772
1777
  kind: n?.format,
1773
1778
  placeholder: h(n),
@@ -1812,17 +1817,17 @@ var $ = {
1812
1817
  "readOnly",
1813
1818
  "modelValue",
1814
1819
  "onUpdate:modelValue"
1815
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
1820
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
1816
1821
  key: 5,
1817
1822
  selectionKind: n?.type === "array" ? "multiple" : "single",
1818
- items: n?.lx?.items || P(n),
1823
+ items: n?.lx?.items || M(n),
1819
1824
  "id-attribute": n?.lx?.idAttribute,
1820
1825
  "name-attribute": n?.lx?.nameAttribute,
1821
1826
  "icon-attribute": n?.lx?.iconAttribute,
1822
1827
  "icon-set-attribute": n?.lx?.iconSetAttribute,
1823
1828
  "category-attribute": n?.lx?.categoryAttribute,
1824
1829
  "description-attribute": n?.lx?.descriptionAttribute,
1825
- variant: Ue(n),
1830
+ variant: He(n),
1826
1831
  "has-search": n?.lx?.hasSearch,
1827
1832
  "always-as-array": n?.lx?.alwaysAsArray,
1828
1833
  nullable: n?.lx?.nullable,
@@ -1989,8 +1994,8 @@ var $ = {
1989
1994
  "busy",
1990
1995
  "actionDefinitions",
1991
1996
  "texts"
1992
- ])) : A.value === "objectButton" || A.value === "objectList" ? (S(), a("div", gn, [
1993
- A.value === "objectList" ? (S(), r(k(ye), {
1997
+ ])) : O.value === "objectButton" || O.value === "objectList" ? (S(), a("div", _n, [
1998
+ O.value === "objectList" ? (S(), r(k(xe), {
1994
1999
  key: 0,
1995
2000
  value: f.value[e.name],
1996
2001
  label: f.value[e.name][e.displaySchema?.properties[e.name].lx.nameAttribute] || f.value[e.name]?.name,
@@ -2003,39 +2008,39 @@ var $ = {
2003
2008
  icon: "remove-item",
2004
2009
  destructive: !0
2005
2010
  }],
2006
- onActionClick: c[10] ||= (t) => oe(e.name),
2007
- onClick: c[11] ||= (t) => ue(`${e.id}-${e.name}`, e.name)
2011
+ onActionClick: c[10] ||= (t) => P(e.name),
2012
+ onClick: c[11] ||= (t) => de(`${e.id}-${e.name}`, e.name)
2008
2013
  }, null, 8, [
2009
2014
  "value",
2010
2015
  "label",
2011
2016
  "description"
2012
2017
  ])) : i("", !0),
2013
- A.value === "objectButton" ? (S(), r(k(I), {
2018
+ O.value === "objectButton" ? (S(), r(k(F), {
2014
2019
  key: 1,
2015
2020
  label: e.texts?.addObject,
2016
2021
  icon: "add-item",
2017
2022
  kind: "ghost",
2018
- onClick: c[12] ||= (t) => ue(`${e.id}-${e.name}`, e.name)
2023
+ onClick: c[12] ||= (t) => de(`${e.id}-${e.name}`, e.name)
2019
2024
  }, null, 8, ["label"])) : i("", !0),
2020
- l(k(Ce), {
2025
+ l(k(Te), {
2021
2026
  id: `${e.id}-${e.name}`,
2022
2027
  ref: (t) => p.value[`${e.id}-${e.name}`] = t
2023
2028
  }, {
2024
- default: N(() => [l(k(H), {
2029
+ default: N(() => [l(k(B), {
2025
2030
  showHeader: !1,
2026
2031
  showFooter: !1,
2027
2032
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
2028
2033
  kind: "stripped"
2029
2034
  }, {
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), {
2035
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
2031
2036
  key: 1,
2032
2037
  label: n?.title ? n?.title : o,
2033
2038
  rowSpan: n?.lx?.rowSpan,
2034
2039
  columnSpan: n?.lx?.columnSpan,
2035
2040
  actionDefinitions: n?.lx?.actionDefinitions,
2036
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
2041
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
2037
2042
  }, {
2038
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
2043
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
2039
2044
  key: 0,
2040
2045
  mask: v(n?.lx?.mask, n?.type),
2041
2046
  maxlength: n?.maxLength,
@@ -2074,7 +2079,7 @@ var $ = {
2074
2079
  "helperTextKind",
2075
2080
  "modelValue",
2076
2081
  "onUpdate:modelValue"
2077
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
2082
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
2078
2083
  key: 1,
2079
2084
  maxlength: n?.maxLength,
2080
2085
  placeholder: h(n),
@@ -2101,7 +2106,7 @@ var $ = {
2101
2106
  "readOnly",
2102
2107
  "modelValue",
2103
2108
  "onUpdate:modelValue"
2104
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
2109
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
2105
2110
  key: 2,
2106
2111
  mask: "integer",
2107
2112
  maxlength: n?.maxLength,
@@ -2133,7 +2138,7 @@ var $ = {
2133
2138
  "helperTextKind",
2134
2139
  "modelValue",
2135
2140
  "onUpdate:modelValue"
2136
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
2141
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
2137
2142
  key: 3,
2138
2143
  size: n?.lx?.size,
2139
2144
  disabled: n?.lx?.disabled,
@@ -2148,7 +2153,7 @@ var $ = {
2148
2153
  "readOnly",
2149
2154
  "modelValue",
2150
2155
  "onUpdate:modelValue"
2151
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
2156
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
2152
2157
  key: 4,
2153
2158
  kind: n?.format,
2154
2159
  placeholder: h(n),
@@ -2193,17 +2198,17 @@ var $ = {
2193
2198
  "readOnly",
2194
2199
  "modelValue",
2195
2200
  "onUpdate:modelValue"
2196
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2201
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2197
2202
  key: 5,
2198
2203
  selectionKind: n?.type === "array" ? "multiple" : "single",
2199
- items: n?.lx?.items || P(n),
2204
+ items: n?.lx?.items || M(n),
2200
2205
  "id-attribute": n?.lx?.idAttribute,
2201
2206
  "name-attribute": n?.lx?.nameAttribute,
2202
2207
  "icon-attribute": n?.lx?.iconAttribute,
2203
2208
  "icon-set-attribute": n?.lx?.iconSetAttribute,
2204
2209
  "category-attribute": n?.lx?.categoryAttribute,
2205
2210
  "description-attribute": n?.lx?.descriptionAttribute,
2206
- variant: Ue(n),
2211
+ variant: He(n),
2207
2212
  "has-search": n?.lx?.hasSearch,
2208
2213
  "always-as-array": n?.lx?.alwaysAsArray,
2209
2214
  nullable: n?.lx?.nullable,
@@ -2359,7 +2364,7 @@ var $ = {
2359
2364
  }, 8, ["column-count"])]),
2360
2365
  _: 1
2361
2366
  }, 8, ["id"])
2362
- ])) : A.value === "arrayList" ? (S(), r(k(ve), {
2367
+ ])) : O.value === "arrayList" ? (S(), r(k(be), {
2363
2368
  key: 8,
2364
2369
  items: f.value[e.name],
2365
2370
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions || [{
@@ -2406,15 +2411,15 @@ var $ = {
2406
2411
  hasVirtualization: e.displaySchema?.properties[e.name]?.lx?.hasVirtualization,
2407
2412
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
2408
2413
  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)
2414
+ onActionClick: c[13] ||= (t, n) => he(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2415
+ onToolbarActionClick: c[14] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
2416
+ onEmptyStateActionClick: c[15] ||= (t, n) => j("emptyStateActionClick", e.name, t, n),
2417
+ onSelectionChange: c[16] ||= (t) => j("selectionChange", e.name, t),
2418
+ onSelectionActionClick: c[17] ||= (t, n) => j("selectionActionClick", e.name, t, n),
2419
+ onLoadMore: c[18] ||= () => j("loadMore", e.name),
2420
+ "onUpdate:searchString": c[19] ||= (t) => j("update:searchString", e.name, t),
2421
+ "onUpdate:itemStates": c[20] ||= (t) => j("update:itemStates", e.name, t),
2422
+ onSearch: c[21] ||= (t) => j("search", e.name, t)
2418
2423
  }, s({ _: 2 }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
2419
2424
  name: "customItem",
2420
2425
  fn: N((n) => [l(k(G), {
@@ -2519,7 +2524,7 @@ var $ = {
2519
2524
  "item"
2520
2525
  ]))], 64))), 128))]),
2521
2526
  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), {
2527
+ } : void 0]), 1032, /* @__PURE__ */ "items.actionDefinitions.idAttribute.nameAttribute.descriptionAttribute.hrefAttribute.groupAttribute.clickableAttribute.iconAttribute.iconSetAttribute.tooltipAttribute.categoryAttribute.orderAttribute.hasSearch.groupDefinitions.icon.iconSet.kind.emptyStateIcon.listType.searchString.searchSide.loading.busy.hideFilteredItems.includeUnspecifiedGroups.toolbarActionDefinitions.actionsLayout.emptyStateActionDefinitions.showLoadMore.hasSelecting.selectionKind.selectionActionDefinitions.itemStates.mode.searchMode.hasSkipLink.hasVirtualization.stickyToolbar.texts".split("."))) : O.value === "arrayListModal" ? (S(), a("div", vn, [l(k(be), {
2523
2528
  items: f.value[e.name],
2524
2529
  actionDefinitions: e.displaySchema?.properties[e.name]?.lx?.actionDefinitions || [{
2525
2530
  id: "remove",
@@ -2565,22 +2570,22 @@ var $ = {
2565
2570
  hasVirtualization: e.displaySchema?.properties[e.name]?.lx?.hasVirtualization,
2566
2571
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
2567
2572
  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)
2573
+ onActionClick: c[23] ||= (t, n) => Fe(t, n, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
2574
+ onToolbarActionClick: c[24] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
2575
+ onEmptyStateActionClick: c[25] ||= (t, n) => j("emptyStateActionClick", e.name, t, n),
2576
+ onSelectionChange: c[26] ||= (t) => j("selectionChange", e.name, t),
2577
+ onSelectionActionClick: c[27] ||= (t, n) => j("selectionActionClick", e.name, t, n),
2578
+ onLoadMore: c[28] ||= () => j("loadMore", e.name),
2579
+ "onUpdate:searchString": c[29] ||= (t) => j("update:searchString", e.name, t),
2580
+ "onUpdate:itemStates": c[30] ||= (t) => j("update:itemStates", e.name, t),
2581
+ onSearch: c[31] ||= (t) => j("search", e.name, t)
2577
2582
  }, s({
2578
- toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(I), {
2583
+ toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(F), {
2579
2584
  key: 0,
2580
2585
  icon: "add-item",
2581
2586
  label: e.texts?.addElement,
2582
2587
  kind: "ghost",
2583
- onClick: c[22] ||= (t) => q(e.name)
2588
+ onClick: c[22] ||= (t) => Be(e.name)
2584
2589
  }, null, 8, ["label"]))]),
2585
2590
  _: 2
2586
2591
  }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
@@ -2687,27 +2692,27 @@ var $ = {
2687
2692
  "item"
2688
2693
  ]))], 64))), 128))]),
2689
2694
  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), {
2695
+ } : void 0]), 1032, /* @__PURE__ */ "items.actionDefinitions.idAttribute.nameAttribute.descriptionAttribute.hrefAttribute.groupAttribute.clickableAttribute.iconAttribute.iconSetAttribute.tooltipAttribute.categoryAttribute.orderAttribute.hasSearch.groupDefinitions.icon.iconSet.kind.emptyStateIcon.listType.searchString.searchSide.loading.busy.hideFilteredItems.includeUnspecifiedGroup.toolbarActionDefinitions.actionsLayout.emptyStateActionDefinitions.showLoadMore.hasSelecting.selectionKind.selectionActionDefinitions.itemStates.mode.searchMode.hasSkipLink.hasVirtualization.stickyToolbar.texts".split(".")), l(k(Te), {
2691
2696
  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)
2697
+ actionDefinitions: Ue.value,
2698
+ onClose: c[32] ||= (e) => ze.value = !1,
2699
+ onActionClick: c[33] ||= (t) => We(t, e.name)
2695
2700
  }, {
2696
- default: N(() => [l(k(H), {
2701
+ default: N(() => [l(k(B), {
2697
2702
  showHeader: !1,
2698
2703
  showFooter: !1,
2699
2704
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
2700
2705
  kind: "stripped"
2701
2706
  }, {
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), {
2707
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.items?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
2703
2708
  key: 1,
2704
2709
  label: n?.title ? n?.title : o,
2705
2710
  rowSpan: n?.lx?.rowSpan,
2706
2711
  columnSpan: n?.lx?.columnSpan,
2707
2712
  actionDefinitions: n?.lx?.actionDefinitions,
2708
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
2713
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
2709
2714
  }, {
2710
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
2715
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
2711
2716
  key: 0,
2712
2717
  mask: v(n?.lx?.mask, n?.type),
2713
2718
  maxlength: n?.maxLength,
@@ -2748,7 +2753,7 @@ var $ = {
2748
2753
  "texts",
2749
2754
  "modelValue",
2750
2755
  "onUpdate:modelValue"
2751
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
2756
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
2752
2757
  key: 1,
2753
2758
  maxlength: n?.maxLength,
2754
2759
  placeholder: h(n),
@@ -2775,7 +2780,7 @@ var $ = {
2775
2780
  "texts",
2776
2781
  "modelValue",
2777
2782
  "onUpdate:modelValue"
2778
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
2783
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
2779
2784
  key: 2,
2780
2785
  mask: "integer",
2781
2786
  maxlength: n?.maxLength,
@@ -2809,7 +2814,7 @@ var $ = {
2809
2814
  "texts",
2810
2815
  "modelValue",
2811
2816
  "onUpdate:modelValue"
2812
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
2817
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
2813
2818
  key: 3,
2814
2819
  size: n?.lx?.size,
2815
2820
  disabled: n?.lx?.disabled,
@@ -2826,7 +2831,7 @@ var $ = {
2826
2831
  "texts",
2827
2832
  "modelValue",
2828
2833
  "onUpdate:modelValue"
2829
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
2834
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
2830
2835
  key: 4,
2831
2836
  kind: n?.format,
2832
2837
  placeholder: h(n),
@@ -2871,17 +2876,17 @@ var $ = {
2871
2876
  "readOnly",
2872
2877
  "modelValue",
2873
2878
  "onUpdate:modelValue"
2874
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2879
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
2875
2880
  key: 5,
2876
2881
  selectionKind: n?.type === "array" ? "multiple" : "single",
2877
- items: n?.lx?.items || P(n),
2882
+ items: n?.lx?.items || M(n),
2878
2883
  "id-attribute": n?.lx?.idAttribute,
2879
2884
  "name-attribute": n?.lx?.nameAttribute,
2880
2885
  "icon-attribute": n?.lx?.iconAttribute,
2881
2886
  "icon-set-attribute": n?.lx?.iconSetAttribute,
2882
2887
  "category-attribute": n?.lx?.categoryAttribute,
2883
2888
  "description-attribute": n?.lx?.descriptionAttribute,
2884
- variant: Ue(n),
2889
+ variant: He(n),
2885
2890
  "has-search": n?.lx?.hasSearch,
2886
2891
  "always-as-array": n?.lx?.alwaysAsArray,
2887
2892
  nullable: n?.lx?.nullable,
@@ -3024,12 +3029,12 @@ var $ = {
3024
3029
  "stickyToolbar",
3025
3030
  "modelValue",
3026
3031
  "onUpdate:modelValue"
3027
- ])) : O(n, o) === "appendableList" ? (S(), r(k(ee), {
3032
+ ])) : E(n, o) === "appendableList" ? (S(), r(k(te), {
3028
3033
  key: 6,
3029
3034
  modelValue: m.value[`${e.id}-${e.name}`][o],
3030
3035
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
3031
3036
  }, {
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), {
3037
+ customItem: N(({ item: c, index: u }) => [(S(!0), a(t, null, w(n?.items?.properties, (n, d) => (S(), a(t, { key: d }, [E(n, d) === "lxPlaceholder" ? (S(), r(k(U), {
3033
3038
  key: 0,
3034
3039
  class: "lx-placeholder"
3035
3040
  })) : (S(), r(k(W), {
@@ -3037,12 +3042,12 @@ var $ = {
3037
3042
  label: n?.title ? n?.title : d,
3038
3043
  rowSpan: n?.lx?.rowSpan,
3039
3044
  columnSpan: n?.lx?.columnSpan,
3040
- required: pe(e.row?.items?.required, d),
3045
+ required: fe(e.row?.items?.required, d),
3041
3046
  inputId: `${e.name}-${d}-${u}`,
3042
3047
  "action-definitions": n?.lx?.actionDefinitions,
3043
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${d}`, u)
3048
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${d}`, u)
3044
3049
  }, {
3045
- default: N(() => [O(n, d) === "textInputDefault" ? (S(), r(k(K), {
3050
+ default: N(() => [E(n, d) === "textInputDefault" ? (S(), r(k(K), {
3046
3051
  key: 0,
3047
3052
  id: `${e.name}-${d}-${u}`,
3048
3053
  mask: v(n?.lx?.mask, n?.type),
@@ -3085,7 +3090,7 @@ var $ = {
3085
3090
  "texts",
3086
3091
  "modelValue",
3087
3092
  "onUpdate:modelValue"
3088
- ])) : O(n, d) === "textArea" ? (S(), r(k(Ne), {
3093
+ ])) : E(n, d) === "textArea" ? (S(), r(k(Ne), {
3089
3094
  key: 1,
3090
3095
  id: `${e.name}-${d}-${u}`,
3091
3096
  maxlength: n?.maxLength,
@@ -3114,7 +3119,7 @@ var $ = {
3114
3119
  "texts",
3115
3120
  "modelValue",
3116
3121
  "onUpdate:modelValue"
3117
- ])) : O(n, d) === "dateTimePicker" ? (S(), r(k(B), {
3122
+ ])) : E(n, d) === "dateTimePicker" ? (S(), r(k(z), {
3118
3123
  key: 2,
3119
3124
  id: `${e.name}-${d}-${u}`,
3120
3125
  kind: n?.format === "date-time" ? "dateTime" : n?.format,
@@ -3161,7 +3166,7 @@ var $ = {
3161
3166
  "readOnly",
3162
3167
  "modelValue",
3163
3168
  "onUpdate:modelValue"
3164
- ])) : O(n, d) === "textInputInteger" ? (S(), r(k(K), {
3169
+ ])) : E(n, d) === "textInputInteger" ? (S(), r(k(K), {
3165
3170
  key: 3,
3166
3171
  id: `${e.name}-${d}-${u}`,
3167
3172
  mask: "integer",
@@ -3195,7 +3200,7 @@ var $ = {
3195
3200
  "texts",
3196
3201
  "modelValue",
3197
3202
  "onUpdate:modelValue"
3198
- ])) : O(n, d) === "toggle" ? (S(), r(k(Pe), {
3203
+ ])) : E(n, d) === "toggle" ? (S(), r(k(Pe), {
3199
3204
  key: 4,
3200
3205
  id: `${e.name}-${d}-${u}`,
3201
3206
  size: n?.lx?.size,
@@ -3206,7 +3211,7 @@ var $ = {
3206
3211
  modelValue: c[d],
3207
3212
  "onUpdate:modelValue": (e) => c[d] = e
3208
3213
  }, {
3209
- default: N(() => [n?.lx?.label ? (S(), a("span", vn, D(n?.lx?.label), 1)) : i("", !0)]),
3214
+ default: N(() => [n?.lx?.label ? (S(), a("span", yn, D(n?.lx?.label), 1)) : i("", !0)]),
3210
3215
  _: 2
3211
3216
  }, 1032, [
3212
3217
  "id",
@@ -3217,18 +3222,18 @@ var $ = {
3217
3222
  "texts",
3218
3223
  "modelValue",
3219
3224
  "onUpdate:modelValue"
3220
- ])) : O(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3225
+ ])) : E(n, d) === "valuePicker" ? (S(), r(k(Ie), {
3221
3226
  key: 5,
3222
3227
  id: `${e.name}-${d}-${u}`,
3223
3228
  selectionKind: n?.type === "array" ? "multiple" : "single",
3224
- items: n?.lx?.items || P(n),
3229
+ items: n?.lx?.items || M(n),
3225
3230
  "id-attribute": n?.lx?.idAttribute,
3226
3231
  "name-attribute": n?.lx?.nameAttribute,
3227
3232
  "icon-attribute": n?.lx?.iconAttribute,
3228
3233
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3229
3234
  "category-attribute": n?.lx?.categoryAttribute,
3230
3235
  "description-attribute": n?.lx?.descriptionAttribute,
3231
- variant: Ue(n),
3236
+ variant: He(n),
3232
3237
  "has-search": n?.lx?.hasSearch,
3233
3238
  "always-as-array": n?.lx?.alwaysAsArray,
3234
3239
  nullable: n?.lx?.nullable,
@@ -3396,12 +3401,12 @@ var $ = {
3396
3401
  _: 1
3397
3402
  }, 8, ["column-count"])]),
3398
3403
  _: 1
3399
- }, 8, ["actionDefinitions"])])) : A.value === "arrayTable" ? (S(), r(k(z), {
3404
+ }, 8, ["actionDefinitions"])])) : O.value === "arrayTable" ? (S(), r(k(ae), {
3400
3405
  key: 10,
3401
3406
  items: f.value[e.name],
3402
3407
  label: e.displaySchema?.properties[e.name]?.lx?.label,
3403
3408
  description: e.displaySchema?.properties[e.name]?.lx?.description,
3404
- columnDefinitions: ze(e.displaySchema?.properties[e.name]?.items?.properties),
3409
+ columnDefinitions: Le(e.displaySchema?.properties[e.name]?.items?.properties),
3405
3410
  scrollable: e.displaySchema?.properties[e.name]?.items?.properties ? Object?.keys(e.displaySchema?.properties[e.name]?.items?.properties)?.length > 4 : null,
3406
3411
  loading: e.displaySchema?.properties[e.name]?.lx?.loading,
3407
3412
  busy: e.displaySchema?.properties[e.name]?.lx?.busy,
@@ -3418,8 +3423,8 @@ var $ = {
3418
3423
  defaultActionName: e.displaySchema?.properties[e.name]?.lx?.defaultActionName,
3419
3424
  toolbarActionDefinitions: e.displaySchema?.properties[e.name]?.lx?.toolbarActionDefinitions,
3420
3425
  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)
3426
+ onActionClick: c[34] ||= (t, n, r) => j("actionClick", e.name, t, n),
3427
+ onToolbarActionClick: c[35] ||= (t) => j("toolbarActionClick", e.name, t)
3423
3428
  }, null, 8, [
3424
3429
  "items",
3425
3430
  "label",
@@ -3441,12 +3446,12 @@ var $ = {
3441
3446
  "defaultActionName",
3442
3447
  "toolbarActionDefinitions",
3443
3448
  "texts"
3444
- ])) : A.value === "arrayTableModal" ? (S(), a("div", yn, [l(k(z), {
3449
+ ])) : O.value === "arrayTableModal" ? (S(), a("div", bn, [l(k(ae), {
3445
3450
  items: f.value[e.name],
3446
3451
  label: e.displaySchema?.properties[e.name]?.lx?.label,
3447
3452
  description: e.displaySchema?.properties[e.name]?.lx?.description,
3448
3453
  idAttribute: e.displaySchema?.properties[e.name]?.lx?.idAttribute,
3449
- columnDefinitions: ze(e.displaySchema?.properties[e.name]?.items?.properties),
3454
+ columnDefinitions: Le(e.displaySchema?.properties[e.name]?.items?.properties),
3450
3455
  scrollable: e.displaySchema?.properties[e.name]?.items?.properties ? Object?.keys(e.displaySchema?.properties[e.name]?.items?.properties)?.length > 4 : null,
3451
3456
  loading: e.displaySchema?.properties[e.name]?.lx?.loading,
3452
3457
  busy: e.displaySchema?.properties[e.name]?.lx?.busy,
@@ -3488,46 +3493,46 @@ var $ = {
3488
3493
  badgeDefinitions: e.displaySchema?.properties[e.name]?.lx?.badgeDefinitions,
3489
3494
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
3490
3495
  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)
3496
+ onActionClick: c[37] ||= (t, n, r) => q(t, n, r, e.name, e.displaySchema?.properties[e.name]?.lx?.actionDefinitions),
3497
+ onToolbarActionClick: c[38] ||= (t) => j("toolbarActionClick", e.name, t),
3498
+ onSelectionActionClick: c[39] ||= (t, n) => j("selectionActionClick", e.name, t, n),
3499
+ "onUpdate:searchString": c[40] ||= (t) => j("update:searchString", e.name, t),
3500
+ onSearch: c[41] ||= (t) => j("search", e.name, t),
3501
+ onSelectPage: c[42] ||= (t) => j("selectPage", e.name, t),
3502
+ onSortingChange: c[43] ||= (t) => j("sortingChange", e.name, t),
3503
+ onSelectionChange: c[44] ||= (t) => j("selectionChange", e.name, t),
3504
+ onItemsPerPageChange: c[45] ||= (t) => j("itemsPerPageChange", e.name, t),
3505
+ onEmptyStateActionClick: c[46] ||= (t) => j("emptyStateActionClick", e.name, t)
3501
3506
  }, {
3502
- toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(I), {
3507
+ toolbar: N(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? i("", !0) : (S(), r(k(F), {
3503
3508
  key: 0,
3504
3509
  icon: "add-item",
3505
3510
  label: e.texts?.addElement,
3506
3511
  kind: "ghost",
3507
- onClick: c[36] ||= (t) => q(e.name)
3512
+ onClick: c[36] ||= (t) => Be(e.name)
3508
3513
  }, null, 8, ["label"]))]),
3509
3514
  _: 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), {
3515
+ }, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusBar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.totalItems.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts".split(".")), l(k(Te), {
3511
3516
  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)
3517
+ actionDefinitions: Ue.value,
3518
+ onClose: c[47] ||= (e) => ze.value = !1,
3519
+ onActionClick: c[48] ||= (t) => We(t, e.name)
3515
3520
  }, {
3516
- default: N(() => [l(k(H), {
3521
+ default: N(() => [l(k(B), {
3517
3522
  showHeader: !1,
3518
3523
  showFooter: !1,
3519
3524
  "column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
3520
3525
  kind: "stripped"
3521
3526
  }, {
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), {
3527
+ default: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.items?.properties, (n, o) => (S(), a(t, { key: o }, [E(n, o) === "lxPlaceholder" ? (S(), r(k(U), { key: 0 })) : (S(), r(k(W), {
3523
3528
  key: 1,
3524
3529
  label: n?.title ? n?.title : o,
3525
3530
  rowSpan: n?.lx?.rowSpan,
3526
3531
  columnSpan: n?.lx?.columnSpan,
3527
3532
  "action-definitions": n?.lx?.actionDefinitions,
3528
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${o}`, void 0)
3533
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${o}`, void 0)
3529
3534
  }, {
3530
- default: N(() => [O(n, o) === "textInputDefault" ? (S(), r(k(K), {
3535
+ default: N(() => [E(n, o) === "textInputDefault" ? (S(), r(k(K), {
3531
3536
  key: 0,
3532
3537
  mask: v(n?.lx?.mask, n?.type),
3533
3538
  maxlength: n?.maxLength,
@@ -3568,7 +3573,7 @@ var $ = {
3568
3573
  "texts",
3569
3574
  "modelValue",
3570
3575
  "onUpdate:modelValue"
3571
- ])) : i("", !0), O(n, o) === "textArea" ? (S(), r(k(Ne), {
3576
+ ])) : i("", !0), E(n, o) === "textArea" ? (S(), r(k(Ne), {
3572
3577
  key: 1,
3573
3578
  maxlength: n?.maxLength,
3574
3579
  placeholder: h(n),
@@ -3595,7 +3600,7 @@ var $ = {
3595
3600
  "texts",
3596
3601
  "modelValue",
3597
3602
  "onUpdate:modelValue"
3598
- ])) : O(n, o) === "textInputInteger" ? (S(), r(k(K), {
3603
+ ])) : E(n, o) === "textInputInteger" ? (S(), r(k(K), {
3599
3604
  key: 2,
3600
3605
  mask: "integer",
3601
3606
  maxlength: n?.maxLength,
@@ -3629,7 +3634,7 @@ var $ = {
3629
3634
  "texts",
3630
3635
  "modelValue",
3631
3636
  "onUpdate:modelValue"
3632
- ])) : O(n, o) === "toggle" ? (S(), r(k(Pe), {
3637
+ ])) : E(n, o) === "toggle" ? (S(), r(k(Pe), {
3633
3638
  key: 3,
3634
3639
  size: n?.lx?.size,
3635
3640
  disabled: n?.lx?.disabled,
@@ -3646,7 +3651,7 @@ var $ = {
3646
3651
  "texts",
3647
3652
  "modelValue",
3648
3653
  "onUpdate:modelValue"
3649
- ])) : O(n, o) === "dateTimePicker" ? (S(), r(k(B), {
3654
+ ])) : E(n, o) === "dateTimePicker" ? (S(), r(k(z), {
3650
3655
  key: 4,
3651
3656
  kind: n?.format,
3652
3657
  placeholder: h(n),
@@ -3691,17 +3696,17 @@ var $ = {
3691
3696
  "readOnly",
3692
3697
  "modelValue",
3693
3698
  "onUpdate:modelValue"
3694
- ])) : O(n, o) === "valuePicker" ? (S(), r(k(Ie), {
3699
+ ])) : E(n, o) === "valuePicker" ? (S(), r(k(Ie), {
3695
3700
  key: 5,
3696
3701
  selectionKind: n?.type === "array" ? "multiple" : "single",
3697
- items: n?.lx?.items || P(n),
3702
+ items: n?.lx?.items || M(n),
3698
3703
  "id-attribute": n?.lx?.idAttribute,
3699
3704
  "name-attribute": n?.lx?.nameAttribute,
3700
3705
  "icon-attribute": n?.lx?.iconAttribute,
3701
3706
  "icon-set-attribute": n?.lx?.iconSetAttribute,
3702
3707
  "category-attribute": n?.lx?.categoryAttribute,
3703
3708
  "description-attribute": n?.lx?.descriptionAttribute,
3704
- variant: Ue(n),
3709
+ variant: He(n),
3705
3710
  "has-search": n?.lx?.hasSearch,
3706
3711
  "always-as-array": n?.lx?.alwaysAsArray,
3707
3712
  nullable: n?.lx?.nullable,
@@ -3844,12 +3849,12 @@ var $ = {
3844
3849
  "stickyToolbar",
3845
3850
  "modelValue",
3846
3851
  "onUpdate:modelValue"
3847
- ])) : O(n, o) === "appendableList" ? (S(), r(k(ee), {
3852
+ ])) : E(n, o) === "appendableList" ? (S(), r(k(te), {
3848
3853
  key: 6,
3849
3854
  modelValue: m.value[`${e.id}-${e.name}`][o],
3850
3855
  "onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][o] = t
3851
3856
  }, {
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), {
3857
+ customItem: N(({ item: c, index: u }) => [(S(!0), a(t, null, w(n?.items?.properties, (n, d) => (S(), a(t, { key: d }, [E(n, d) === "lxPlaceholder" ? (S(), r(k(U), {
3853
3858
  key: 0,
3854
3859
  class: "lx-placeholder"
3855
3860
  })) : (S(), r(k(W), {
@@ -3857,12 +3862,12 @@ var $ = {
3857
3862
  label: n?.title ? n?.title : d,
3858
3863
  rowSpan: n?.lx?.rowSpan,
3859
3864
  columnSpan: n?.lx?.columnSpan,
3860
- required: pe(e.row?.items?.required, d),
3865
+ required: fe(e.row?.items?.required, d),
3861
3866
  inputId: `${e.name}-${d}-${u}`,
3862
3867
  "action-definitions": n?.lx?.actionDefinitions,
3863
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${d}`, u)
3868
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${d}`, u)
3864
3869
  }, {
3865
- default: N(() => [O(n, d) === "textInputDefault" ? (S(), r(k(K), {
3870
+ default: N(() => [E(n, d) === "textInputDefault" ? (S(), r(k(K), {
3866
3871
  key: 0,
3867
3872
  id: `${e.name}-${d}-${u}`,
3868
3873
  mask: v(n?.lx?.mask, n?.type),
@@ -3905,7 +3910,7 @@ var $ = {
3905
3910
  "texts",
3906
3911
  "modelValue",
3907
3912
  "onUpdate:modelValue"
3908
- ])) : O(n, d) === "textArea" ? (S(), r(k(Ne), {
3913
+ ])) : E(n, d) === "textArea" ? (S(), r(k(Ne), {
3909
3914
  key: 1,
3910
3915
  id: `${e.name}-${d}-${u}`,
3911
3916
  maxlength: n?.maxLength,
@@ -3934,7 +3939,7 @@ var $ = {
3934
3939
  "texts",
3935
3940
  "modelValue",
3936
3941
  "onUpdate:modelValue"
3937
- ])) : O(n, d) === "dateTimePicker" ? (S(), r(k(B), {
3942
+ ])) : E(n, d) === "dateTimePicker" ? (S(), r(k(z), {
3938
3943
  key: 2,
3939
3944
  id: `${e.name}-${d}-${u}`,
3940
3945
  kind: n?.format,
@@ -3981,7 +3986,7 @@ var $ = {
3981
3986
  "readOnly",
3982
3987
  "modelValue",
3983
3988
  "onUpdate:modelValue"
3984
- ])) : O(n, d) === "textInputInteger" ? (S(), r(k(K), {
3989
+ ])) : E(n, d) === "textInputInteger" ? (S(), r(k(K), {
3985
3990
  key: 3,
3986
3991
  id: `${e.name}-${d}-${u}`,
3987
3992
  mask: "integer",
@@ -4015,7 +4020,7 @@ var $ = {
4015
4020
  "texts",
4016
4021
  "modelValue",
4017
4022
  "onUpdate:modelValue"
4018
- ])) : O(n, d) === "toggle" ? (S(), r(k(Pe), {
4023
+ ])) : E(n, d) === "toggle" ? (S(), r(k(Pe), {
4019
4024
  key: 4,
4020
4025
  id: `${e.name}-${d}-${u}`,
4021
4026
  size: n?.lx?.size,
@@ -4026,7 +4031,7 @@ var $ = {
4026
4031
  modelValue: c[d],
4027
4032
  "onUpdate:modelValue": (e) => c[d] = e
4028
4033
  }, {
4029
- default: N(() => [n?.lx?.label ? (S(), a("span", bn, D(n?.lx?.label), 1)) : i("", !0)]),
4034
+ default: N(() => [n?.lx?.label ? (S(), a("span", xn, D(n?.lx?.label), 1)) : i("", !0)]),
4030
4035
  _: 2
4031
4036
  }, 1032, [
4032
4037
  "id",
@@ -4037,18 +4042,18 @@ var $ = {
4037
4042
  "texts",
4038
4043
  "modelValue",
4039
4044
  "onUpdate:modelValue"
4040
- ])) : O(n, d) === "valuePicker" ? (S(), r(k(Ie), {
4045
+ ])) : E(n, d) === "valuePicker" ? (S(), r(k(Ie), {
4041
4046
  key: 5,
4042
4047
  id: `${e.name}-${d}-${u}`,
4043
4048
  selectionKind: n?.type === "array" ? "multiple" : "single",
4044
- items: n?.lx?.items || P(n),
4049
+ items: n?.lx?.items || M(n),
4045
4050
  "id-attribute": n?.lx?.idAttribute,
4046
4051
  "name-attribute": n?.lx?.nameAttribute,
4047
4052
  "icon-attribute": n?.lx?.iconAttribute,
4048
4053
  "icon-set-attribute": n?.lx?.iconSetAttribute,
4049
4054
  "category-attribute": n?.lx?.categoryAttribute,
4050
4055
  "description-attribute": n?.lx?.descriptionAttribute,
4051
- variant: Ue(n),
4056
+ variant: He(n),
4052
4057
  "has-search": n?.lx?.hasSearch,
4053
4058
  "always-as-array": n?.lx?.alwaysAsArray,
4054
4059
  nullable: n?.lx?.nullable,
@@ -4216,7 +4221,7 @@ var $ = {
4216
4221
  _: 1
4217
4222
  }, 8, ["column-count"])]),
4218
4223
  _: 1
4219
- }, 8, ["actionDefinitions"])])) : A.value === "appendableList" ? (S(), r(k(ee), {
4224
+ }, 8, ["actionDefinitions"])])) : O.value === "appendableList" ? (S(), r(k(te), {
4220
4225
  key: 12,
4221
4226
  modelValue: f.value[e.name],
4222
4227
  "onUpdate:modelValue": c[49] ||= (t) => f.value[e.name] = t,
@@ -4243,14 +4248,14 @@ var $ = {
4243
4248
  selectedValues: e.displaySchema?.properties[e.name]?.lx?.selectedValues,
4244
4249
  stickyToolbar: e.displaySchema?.properties[e.name]?.lx?.stickyToolbar,
4245
4250
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
4246
- onActionClick: c[50] ||= (t, n, r) => M("actionClick", e.name, t, {
4251
+ onActionClick: c[50] ||= (t, n, r) => j("actionClick", e.name, t, {
4247
4252
  item: n,
4248
4253
  index: r
4249
4254
  }),
4250
- onToolbarActionClick: c[51] ||= (t, n) => M("toolbarActionClick", e.name, t, n),
4251
- "onUpdate:selectedValues": c[52] ||= (t) => M("update:selectedValues", e.name, t)
4255
+ onToolbarActionClick: c[51] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
4256
+ "onUpdate:selectedValues": c[52] ||= (t) => j("update:selectedValues", e.name, t)
4252
4257
  }, {
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), {
4258
+ customItem: N(({ item: n, index: o }) => [(S(!0), a(t, null, w(e.orderedObject?.[e.name]?.items?.properties, (c, u) => (S(), a(t, { key: u }, [E(c, u) === "lxPlaceholder" ? (S(), r(k(U), {
4254
4259
  key: 0,
4255
4260
  class: "lx-placeholder"
4256
4261
  })) : (S(), r(k(W), {
@@ -4258,12 +4263,12 @@ var $ = {
4258
4263
  label: c?.title ? c?.title : u,
4259
4264
  rowSpan: c?.lx?.rowSpan,
4260
4265
  columnSpan: c?.lx?.columnSpan,
4261
- required: pe(e.row?.items?.required, u),
4266
+ required: fe(e.row?.items?.required, u),
4262
4267
  inputId: `${e.name}-${u}-${o}`,
4263
4268
  "action-definitions": c?.lx?.actionDefinitions,
4264
- onActionClick: (t, n, r) => j(n, r, `${e.name}.${u}`, o)
4269
+ onActionClick: (t, n, r) => A(n, r, `${e.name}.${u}`, o)
4265
4270
  }, {
4266
- default: N(() => [O(c, u) === "textInputDefault" ? (S(), r(k(K), {
4271
+ default: N(() => [E(c, u) === "textInputDefault" ? (S(), r(k(K), {
4267
4272
  key: 0,
4268
4273
  id: `${e.name}-${u}-${o}`,
4269
4274
  mask: v(c?.lx?.mask, c?.type),
@@ -4306,7 +4311,7 @@ var $ = {
4306
4311
  "texts",
4307
4312
  "modelValue",
4308
4313
  "onUpdate:modelValue"
4309
- ])) : O(c, u) === "textArea" ? (S(), r(k(Ne), {
4314
+ ])) : E(c, u) === "textArea" ? (S(), r(k(Ne), {
4310
4315
  key: 1,
4311
4316
  id: `${e.name}-${u}-${o}`,
4312
4317
  maxlength: c?.maxLength,
@@ -4335,7 +4340,7 @@ var $ = {
4335
4340
  "texts",
4336
4341
  "modelValue",
4337
4342
  "onUpdate:modelValue"
4338
- ])) : O(c, u) === "dateTimePicker" ? (S(), r(k(B), {
4343
+ ])) : E(c, u) === "dateTimePicker" ? (S(), r(k(z), {
4339
4344
  key: 2,
4340
4345
  id: `${e.name}-${u}-${o}`,
4341
4346
  kind: c?.format,
@@ -4382,7 +4387,7 @@ var $ = {
4382
4387
  "readOnly",
4383
4388
  "modelValue",
4384
4389
  "onUpdate:modelValue"
4385
- ])) : O(c, u) === "textInputInteger" ? (S(), r(k(K), {
4390
+ ])) : E(c, u) === "textInputInteger" ? (S(), r(k(K), {
4386
4391
  key: 3,
4387
4392
  id: `${e.name}-${u}-${o}`,
4388
4393
  mask: "integer",
@@ -4416,7 +4421,7 @@ var $ = {
4416
4421
  "texts",
4417
4422
  "modelValue",
4418
4423
  "onUpdate:modelValue"
4419
- ])) : O(c, u) === "toggle" ? (S(), r(k(Pe), {
4424
+ ])) : E(c, u) === "toggle" ? (S(), r(k(Pe), {
4420
4425
  key: 4,
4421
4426
  id: `${e.name}-${u}-${o}`,
4422
4427
  size: c?.lx?.size,
@@ -4427,7 +4432,7 @@ var $ = {
4427
4432
  modelValue: n[u],
4428
4433
  "onUpdate:modelValue": (e) => n[u] = e
4429
4434
  }, {
4430
- default: N(() => [c?.lx?.label ? (S(), a("span", xn, D(c?.lx?.label), 1)) : i("", !0)]),
4435
+ default: N(() => [c?.lx?.label ? (S(), a("span", Sn, D(c?.lx?.label), 1)) : i("", !0)]),
4431
4436
  _: 2
4432
4437
  }, 1032, [
4433
4438
  "id",
@@ -4438,18 +4443,18 @@ var $ = {
4438
4443
  "texts",
4439
4444
  "modelValue",
4440
4445
  "onUpdate:modelValue"
4441
- ])) : O(c, u) === "valuePicker" ? (S(), r(k(Ie), {
4446
+ ])) : E(c, u) === "valuePicker" ? (S(), r(k(Ie), {
4442
4447
  key: 5,
4443
4448
  id: `${e.name}-${u}-${o}`,
4444
4449
  selectionKind: c?.type === "array" ? "multiple" : "single",
4445
- items: c?.lx?.items || P(c),
4450
+ items: c?.lx?.items || M(c),
4446
4451
  "id-attribute": c?.lx?.idAttribute,
4447
4452
  "name-attribute": c?.lx?.nameAttribute,
4448
4453
  "icon-attribute": c?.lx?.iconAttribute,
4449
4454
  "icon-set-attribute": c?.lx?.iconSetAttribute,
4450
4455
  "category-attribute": c?.lx?.categoryAttribute,
4451
4456
  "description-attribute": c?.lx?.descriptionAttribute,
4452
- variant: Ue(c),
4457
+ variant: He(c),
4453
4458
  "has-search": c?.lx?.hasSearch,
4454
4459
  "always-as-array": c?.lx?.alwaysAsArray,
4455
4460
  nullable: c?.lx?.nullable,
@@ -4630,7 +4635,7 @@ var $ = {
4630
4635
  "selectedValues",
4631
4636
  "stickyToolbar",
4632
4637
  "texts"
4633
- ])) : A.value === "smallAppendableList" ? (S(), r(cn, {
4638
+ ])) : O.value === "smallAppendableList" ? (S(), r(cn, {
4634
4639
  key: 13,
4635
4640
  modelValue: f.value[e.name],
4636
4641
  "onUpdate:modelValue": c[53] ||= (t) => f.value[e.name] = t,
@@ -4641,7 +4646,7 @@ var $ = {
4641
4646
  canAddItems: e.displaySchema?.properties[e.name]?.lx?.canAddItems,
4642
4647
  texts: e.displaySchema?.properties[e.name]?.lx?.texts
4643
4648
  }, {
4644
- customItem: N(({ index: t }) => [O(e.row?.items, e.name) === "lxPlaceholder" ? (S(), r(k(Te), {
4649
+ customItem: N(({ index: t }) => [E(e.row?.items, e.name) === "lxPlaceholder" ? (S(), r(k(U), {
4645
4650
  key: 0,
4646
4651
  class: "lx-placeholder"
4647
4652
  })) : (S(), r(k(W), {
@@ -4650,9 +4655,9 @@ var $ = {
4650
4655
  rowSpan: e.row?.items?.lx?.rowSpan,
4651
4656
  columnSpan: e.row?.items?.lx?.columnSpan,
4652
4657
  actionDefinitions: e.row?.items?.lx?.actionDefinitions,
4653
- onActionClick: (n, r, i) => j(r, i, e.name, t)
4658
+ onActionClick: (n, r, i) => A(r, i, e.name, t)
4654
4659
  }, {
4655
- default: N(() => [O(e.row?.items, e.name) === "textInputDefault" ? (S(), r(k(K), {
4660
+ default: N(() => [E(e.row?.items, e.name) === "textInputDefault" ? (S(), r(k(K), {
4656
4661
  key: 0,
4657
4662
  mask: v(e.row?.items?.lx?.mask, e.row?.items?.type),
4658
4663
  maxlength: e.row?.items?.maxLength,
@@ -4693,7 +4698,7 @@ var $ = {
4693
4698
  "texts",
4694
4699
  "modelValue",
4695
4700
  "onUpdate:modelValue"
4696
- ])) : O(e.row?.items, e.name) === "textInputInteger" ? (S(), r(k(K), {
4701
+ ])) : E(e.row?.items, e.name) === "textInputInteger" ? (S(), r(k(K), {
4697
4702
  key: 1,
4698
4703
  mask: "integer",
4699
4704
  maxlength: e.row?.items?.maxLength,
@@ -4727,7 +4732,7 @@ var $ = {
4727
4732
  "texts",
4728
4733
  "modelValue",
4729
4734
  "onUpdate:modelValue"
4730
- ])) : O(e.row?.items, e.name) === "toggle" ? (S(), r(k(Pe), {
4735
+ ])) : E(e.row?.items, e.name) === "toggle" ? (S(), r(k(Pe), {
4731
4736
  key: 2,
4732
4737
  size: e.row?.items?.lx?.size,
4733
4738
  disabled: e.row?.items?.lx?.disabled,
@@ -4737,9 +4742,9 @@ var $ = {
4737
4742
  modelValue: f.value[e.name][t],
4738
4743
  "onUpdate:modelValue": (n) => f.value[e.name][t] = n
4739
4744
  }, {
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, "—"))]),
4745
+ on: N(() => [e.row?.items?.lx?.labelOn ? (S(), a("span", Cn, D(e.row?.items?.lx?.labelOn), 1)) : (S(), a("span", wn, "Jā"))]),
4746
+ off: N(() => [e.row?.items?.lx?.labelOff ? (S(), a("span", Tn, D(e.row?.items?.lx?.labelOff), 1)) : (S(), a("span", En, "Nē"))]),
4747
+ indeterminate: N(() => [e.row?.items?.lx?.labelIndeterminate ? (S(), a("span", Dn, D(e.row?.items?.lx?.labelIndeterminate), 1)) : g(e.row?.items) ? (S(), a("span", On, [...c[98] ||= [o("p", { class: "lx-data" }, "—", -1)]])) : (S(), a("span", kn, "—"))]),
4743
4748
  _: 1
4744
4749
  }, 8, [
4745
4750
  "size",
@@ -4749,7 +4754,7 @@ var $ = {
4749
4754
  "texts",
4750
4755
  "modelValue",
4751
4756
  "onUpdate:modelValue"
4752
- ])) : O(e.row?.items, e.name) === "dateTimePicker" ? (S(), r(k(B), {
4757
+ ])) : E(e.row?.items, e.name) === "dateTimePicker" ? (S(), r(k(z), {
4753
4758
  key: 3,
4754
4759
  kind: e.row?.items?.format,
4755
4760
  tooltip: e.row?.items?.lx?.tooltip,
@@ -4811,7 +4816,7 @@ var $ = {
4811
4816
  "requiredMode",
4812
4817
  "canAddItems",
4813
4818
  "texts"
4814
- ])) : A.value === "autoComplete" ? (S(), r(k(te), {
4819
+ ])) : O.value === "autoComplete" ? (S(), r(k(ne), {
4815
4820
  key: 14,
4816
4821
  id: `${e.id}-${e.name}`,
4817
4822
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -4841,8 +4846,8 @@ var $ = {
4841
4846
  modelValue: f.value[e.name],
4842
4847
  "onUpdate:modelValue": c[54] ||= (t) => f.value[e.name] = t,
4843
4848
  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), {
4849
+ onOpenDetails: c[55] ||= (t) => j("openDetails", e.name, t)
4850
+ }, null, 8, /* @__PURE__ */ "id.items.idAttribute.nameAttribute.dictionary.groupId.queryMinLength.queryMaxLength.queryDebounce.placeholder.tooltip.readOnly.disabled.invalid.invalidation-message.loading.hasDetails.selectionKind.detailMode.preloadedItems.labelId.hasSelectAll.texts.searchAttributes.enableAdditionalText.modelValue.builderOptions".split("."))) : O.value === "button" ? (S(), r(k(F), {
4846
4851
  key: 15,
4847
4852
  id: `${e.id}-${e.name}`,
4848
4853
  label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
@@ -4867,7 +4872,7 @@ var $ = {
4867
4872
  tabindex: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.tabindex : e.displaySchema?.properties[e.name]?.lx?.tabindex,
4868
4873
  customClass: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.customClass : e.displaySchema?.properties[e.name]?.lx?.customClass,
4869
4874
  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)
4875
+ onClick: c[56] ||= (t, n) => j("click", e.name, n)
4871
4876
  }, null, 8, [
4872
4877
  "id",
4873
4878
  "label",
@@ -4892,7 +4897,7 @@ var $ = {
4892
4897
  "tabindex",
4893
4898
  "customClass",
4894
4899
  "openInNewTab"
4895
- ])) : A.value === "camera" ? (S(), r(k(L), {
4900
+ ])) : O.value === "camera" ? (S(), r(k(I), {
4896
4901
  key: 16,
4897
4902
  id: `${e.id}-${e.name}`,
4898
4903
  cameraSwitcherMode: e.displaySchema?.properties[e.name]?.lx?.cameraSwitcherMode,
@@ -4906,7 +4911,7 @@ var $ = {
4906
4911
  modelValue: f.value[e.name],
4907
4912
  "onUpdate:modelValue": c[57] ||= (t) => f.value[e.name] = t,
4908
4913
  builderOptions: X.value,
4909
- onActionClick: c[58] ||= (t, n) => M("actionClick", e.name, t, n)
4914
+ onActionClick: c[58] ||= (t, n) => j("actionClick", e.name, t, n)
4910
4915
  }, null, 8, [
4911
4916
  "id",
4912
4917
  "cameraSwitcherMode",
@@ -4919,7 +4924,7 @@ var $ = {
4919
4924
  "texts",
4920
4925
  "modelValue",
4921
4926
  "builderOptions"
4922
- ])) : A.value === "checkbox" ? (S(), r(k(ne), {
4927
+ ])) : O.value === "checkbox" ? (S(), r(k(re), {
4923
4928
  key: 17,
4924
4929
  id: `${e.id}-${e.name}`,
4925
4930
  groupId: e.displaySchema?.properties[e.name]?.lx?.groupId,
@@ -4931,7 +4936,7 @@ var $ = {
4931
4936
  modelValue: f.value[e.name],
4932
4937
  "onUpdate:modelValue": c[59] ||= (t) => f.value[e.name] = t,
4933
4938
  builderOptions: X.value,
4934
- onClick: c[60] ||= () => M("click", e.name)
4939
+ onClick: c[60] ||= () => j("click", e.name)
4935
4940
  }, null, 8, [
4936
4941
  "id",
4937
4942
  "groupId",
@@ -4942,7 +4947,7 @@ var $ = {
4942
4947
  "labelId",
4943
4948
  "modelValue",
4944
4949
  "builderOptions"
4945
- ])) : A.value === "contentSwitcher" ? (S(), r(k(re), {
4950
+ ])) : O.value === "contentSwitcher" ? (S(), r(k(L), {
4946
4951
  key: 18,
4947
4952
  id: `${e.id}-${e.name}`,
4948
4953
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -4972,7 +4977,7 @@ var $ = {
4972
4977
  "labelId",
4973
4978
  "modelValue",
4974
4979
  "builderOptions"
4975
- ])) : A.value === "dataVisualizer" ? (S(), r(k(ie), {
4980
+ ])) : O.value === "dataVisualizer" ? (S(), r(k(R), {
4976
4981
  key: 19,
4977
4982
  id: `${e.id}-${e.name}`,
4978
4983
  kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -4988,7 +4993,7 @@ var $ = {
4988
4993
  maxValue: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.maxValue : e.displaySchema?.properties[e.name]?.lx?.maxValue,
4989
4994
  mode: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.mode : e.displaySchema?.properties[e.name]?.lx?.mode,
4990
4995
  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)
4996
+ onClick: c[62] ||= (t) => j("click", e.name, t)
4992
4997
  }, null, 8, [
4993
4998
  "id",
4994
4999
  "kind",
@@ -5004,7 +5009,7 @@ var $ = {
5004
5009
  "maxValue",
5005
5010
  "mode",
5006
5011
  "texts"
5007
- ])) : A.value === "dateTimeRange" && f.value[e.name] ? (S(), r(k(V), {
5012
+ ])) : O.value === "dateTimeRange" && f.value[e.name] ? (S(), r(k(oe), {
5008
5013
  key: 20,
5009
5014
  id: `${e.id}-${e.name}`,
5010
5015
  startDate: f.value[e.name].startDate,
@@ -5030,9 +5035,9 @@ var $ = {
5030
5035
  labelId: e.displaySchema?.properties[e.name]?.lx?.labelId,
5031
5036
  texts: e.displaySchema?.properties[e.name]?.lx?.texts,
5032
5037
  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)
5038
+ "onOutOfRange:startDate": c[65] ||= (t) => j("outOfRange:startDate", e.name, t),
5039
+ "onOutOfRange:endDate": c[66] ||= (t) => j("outOfRange:endDate", e.name, t),
5040
+ onOutOfRange: c[67] ||= (t) => j("outOfRange", e.name, t)
5036
5041
  }, null, 8, [
5037
5042
  "id",
5038
5043
  "startDate",
@@ -5056,7 +5061,7 @@ var $ = {
5056
5061
  "labelId",
5057
5062
  "texts",
5058
5063
  "builderOptions"
5059
- ])) : A.value === "dropDownMenu" ? (S(), r(k(ce), {
5064
+ ])) : O.value === "dropDownMenu" ? (S(), r(k(ue), {
5060
5065
  key: 21,
5061
5066
  placement: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.placement : e.displaySchema?.properties[e.name]?.lx?.placement,
5062
5067
  disabled: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.disabled : e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5064,9 +5069,9 @@ var $ = {
5064
5069
  offsetSkid: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.offsetSkid : e.displaySchema?.properties[e.name]?.lx?.offsetSkid,
5065
5070
  actionDefinitions: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.actionDefinitions : e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
5066
5071
  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)
5072
+ onActionClick: c[68] ||= (t, n) => j("actionClick", e.name, t, n)
5068
5073
  }, {
5069
- panel: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (S(), r(k(I), {
5074
+ panel: N(() => [(S(!0), a(t, null, w(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (S(), r(k(F), {
5070
5075
  key: n,
5071
5076
  label: t?.label,
5072
5077
  title: t?.title,
@@ -5088,7 +5093,7 @@ var $ = {
5088
5093
  tabindex: t?.tabindex,
5089
5094
  customClass: t?.customClass,
5090
5095
  openInNewTab: t?.openInNewTab,
5091
- onClick: () => M("click", `${e.name}.${n}`, t?.id || t?.label)
5096
+ onClick: () => j("click", `${e.name}.${n}`, t?.id || t?.label)
5092
5097
  }, null, 8, [
5093
5098
  "label",
5094
5099
  "title",
@@ -5112,7 +5117,7 @@ var $ = {
5112
5117
  "openInNewTab",
5113
5118
  "onClick"
5114
5119
  ]))), 128))]),
5115
- default: N(() => [l(k(I), {
5120
+ default: N(() => [l(k(F), {
5116
5121
  id: `${e.id}-${e.name}`,
5117
5122
  label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
5118
5123
  title: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.title : e.displaySchema?.properties[e.name]?.lx?.title,
@@ -5164,7 +5169,7 @@ var $ = {
5164
5169
  "offsetSkid",
5165
5170
  "actionDefinitions",
5166
5171
  "groupDefinitions"
5167
- ])) : A.value === "file" ? (S(), r(k(de), {
5172
+ ])) : O.value === "file" ? (S(), r(k(pe), {
5168
5173
  key: 22,
5169
5174
  id: `${e.id}-${e.name}`,
5170
5175
  selectionKind: e.displaySchema?.properties[e.name]?.lx?.selectionKind,
@@ -5193,10 +5198,10 @@ var $ = {
5193
5198
  modelValue: f.value[e.name],
5194
5199
  "onUpdate:modelValue": c[69] ||= (t) => f.value[e.name] = t,
5195
5200
  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), {
5201
+ onOnError: c[70] ||= (t, n) => j("onError", e.name, t, n),
5202
+ onDownloadFile: c[71] ||= (t) => j("downloadFile", e.name, t),
5203
+ "onUpdate:itemsStates": c[72] ||= (t) => j("update:itemsStates", e.name, t)
5204
+ }, null, 8, /* @__PURE__ */ "id.selectionKind.mode.maxlength.draggable.dataType.hasSearch.disabled.loading.busy.readOnly.allowedFileExtensions.maxFileSize.hasDownloadButton.showMeta.maxSizeForMeta.hasCamera.cameraSwitcherMode.hasFlashlightToggle.itemsStates.imageSize.preferencesId.labelId.texts.modelValue.builderOptions".split("."))) : O.value === "fileViewer" ? (S(), r(k(me), {
5200
5205
  key: 23,
5201
5206
  id: `${e.id}-${e.name}`,
5202
5207
  scrollable: e.displaySchema?.properties[e.name]?.lx?.scrollable,
@@ -5212,7 +5217,7 @@ var $ = {
5212
5217
  preloadLibs: e.displaySchema?.properties[e.name]?.lx?.preloadLibs,
5213
5218
  modelValue: f.value[e.name],
5214
5219
  "onUpdate:modelValue": c[73] ||= (t) => f.value[e.name] = t,
5215
- onDownload: c[74] ||= (t) => M("download", e.name, t)
5220
+ onDownload: c[74] ||= (t) => j("download", e.name, t)
5216
5221
  }, null, 8, [
5217
5222
  "id",
5218
5223
  "scrollable",
@@ -5227,7 +5232,7 @@ var $ = {
5227
5232
  "downloadType",
5228
5233
  "preloadLibs",
5229
5234
  "modelValue"
5230
- ])) : A.value === "flag" ? (S(), r(k(me), {
5235
+ ])) : O.value === "flag" ? (S(), r(k(ge), {
5231
5236
  key: 24,
5232
5237
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5233
5238
  size: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.size : e.displaySchema?.properties[e.name]?.lx?.size,
@@ -5240,7 +5245,7 @@ var $ = {
5240
5245
  "title",
5241
5246
  "locale",
5242
5247
  "meaningful"
5243
- ])) : A.value === "icon" ? (S(), r(k(he), {
5248
+ ])) : O.value === "icon" ? (S(), r(k(_e), {
5244
5249
  key: 25,
5245
5250
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5246
5251
  iconSet: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.iconSet : e.displaySchema?.properties[e.name]?.lx?.iconSet,
@@ -5261,7 +5266,7 @@ var $ = {
5261
5266
  "title",
5262
5267
  "desc",
5263
5268
  "texts"
5264
- ])) : A.value === "illustration" ? (S(), r(k(ge), {
5269
+ ])) : O.value === "illustration" ? (S(), r(k(ve), {
5265
5270
  key: 26,
5266
5271
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5267
5272
  class: _(e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.class : e.displaySchema?.properties[e.name]?.lx?.class),
@@ -5270,10 +5275,10 @@ var $ = {
5270
5275
  "value",
5271
5276
  "class",
5272
5277
  "animation"
5273
- ])) : A.value === "link" ? (S(), r(k(_e), {
5278
+ ])) : O.value === "link" ? (S(), r(k(ye), {
5274
5279
  key: 27,
5275
5280
  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), {
5281
+ }, null, 8, ["href"])) : O.value === "map" ? (S(), r(k(Ce), {
5277
5282
  key: 28,
5278
5283
  id: `${e.id}-${e.name}`,
5279
5284
  baseLayerDefinitions: f.value[e.name].baseLayerDefinitions,
@@ -5294,8 +5299,8 @@ var $ = {
5294
5299
  actionDefinitions: f.value[e.name].actionDefinitions,
5295
5300
  stickyToolbar: f.value[e.name].stickyToolbar,
5296
5301
  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)
5302
+ onSearch: c[79] ||= (t) => j("search", e.name, t),
5303
+ onActionClick: c[80] ||= (t, n) => j("actionClick", e.name, t, n)
5299
5304
  }, null, 8, [
5300
5305
  "id",
5301
5306
  "baseLayerDefinitions",
@@ -5312,7 +5317,7 @@ var $ = {
5312
5317
  "actionDefinitions",
5313
5318
  "stickyToolbar",
5314
5319
  "texts"
5315
- ])) : A.value === "markdownTextArea" ? (S(), r(k(Se), {
5320
+ ])) : O.value === "markdownTextArea" ? (S(), r(k(we), {
5316
5321
  key: 29,
5317
5322
  id: `${e.id}-${e.name}`,
5318
5323
  placeholder: h(e.displaySchema?.properties[e.name]),
@@ -5340,14 +5345,14 @@ var $ = {
5340
5345
  modelValue: f.value[e.name],
5341
5346
  "onUpdate:modelValue": c[81] ||= (t) => f.value[e.name] = t,
5342
5347
  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, {
5348
+ onNotification: c[82] ||= (t) => j("notification", e.name, t),
5349
+ onPreparedImage: c[83] ||= (t, n, r, i) => j("preparedImage", e.name, {
5345
5350
  base64: t,
5346
5351
  id: n,
5347
5352
  alt: r,
5348
5353
  title: i
5349
5354
  }),
5350
- onActionClick: c[84] ||= (t, n) => M("actionClick", e.name, t, n)
5355
+ onActionClick: c[84] ||= (t, n) => j("actionClick", e.name, t, n)
5351
5356
  }, null, 8, [
5352
5357
  "id",
5353
5358
  "placeholder",
@@ -5374,7 +5379,7 @@ var $ = {
5374
5379
  "texts",
5375
5380
  "modelValue",
5376
5381
  "builderOptions"
5377
- ])) : A.value === "numberSlider" ? (S(), r(k(we), {
5382
+ ])) : O.value === "numberSlider" ? (S(), r(k(V), {
5378
5383
  key: 30,
5379
5384
  id: `${e.id}-${e.name}`,
5380
5385
  min: e.displaySchema?.properties[e.name]?.lx?.min,
@@ -5406,7 +5411,7 @@ var $ = {
5406
5411
  "texts",
5407
5412
  "modelValue",
5408
5413
  "builderOptions"
5409
- ])) : A.value === "personDisplay" ? (S(), r(k(U), {
5414
+ ])) : O.value === "personDisplay" ? (S(), r(k(H), {
5410
5415
  key: 31,
5411
5416
  value: f.value?.[e.name],
5412
5417
  name: e.displaySchema?.properties[e.name]?.lx?.name,
@@ -5457,7 +5462,7 @@ var $ = {
5457
5462
  "customRole",
5458
5463
  "focusable",
5459
5464
  "texts"
5460
- ])) : A.value === "qr" ? (S(), r(k(Ee), {
5465
+ ])) : O.value === "qr" ? (S(), r(k(Ee), {
5461
5466
  key: 32,
5462
5467
  id: `${e.id}-${e.name}`,
5463
5468
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
@@ -5468,7 +5473,7 @@ var $ = {
5468
5473
  "value",
5469
5474
  "size",
5470
5475
  "ignoreTheme"
5471
- ])) : A.value === "qrScanner" ? (S(), r(k(De), {
5476
+ ])) : O.value === "qrScanner" ? (S(), r(k(De), {
5472
5477
  key: 33,
5473
5478
  id: `${e.id}-${e.name}`,
5474
5479
  formats: f.value?.[e.name]?.formats || e.displaySchema?.properties[e.name]?.lx?.formats,
@@ -5482,9 +5487,9 @@ var $ = {
5482
5487
  actionDefinitions: f.value?.[e.name]?.actionDefinitions || e.displaySchema?.properties[e.name]?.lx?.actionDefinitions,
5483
5488
  texts: f.value?.[e.name]?.texts || e.displaySchema?.properties[e.name]?.lx?.texts,
5484
5489
  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)
5490
+ onValue: c[86] ||= (t) => j("value", e.name, t),
5491
+ onError: c[87] ||= (t) => j("error", e.name, t),
5492
+ onActionClick: c[88] ||= (t, n) => j("actionClick", e.name, t, n)
5488
5493
  }, null, 8, [
5489
5494
  "id",
5490
5495
  "formats",
@@ -5498,7 +5503,7 @@ var $ = {
5498
5503
  "actionDefinitions",
5499
5504
  "texts",
5500
5505
  "builderOptions"
5501
- ])) : A.value === "rating" ? (S(), r(k(Oe), {
5506
+ ])) : O.value === "rating" ? (S(), r(k(Oe), {
5502
5507
  key: 34,
5503
5508
  readOnly: g(e.displaySchema?.properties[e.name]),
5504
5509
  kind: e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5520,7 +5525,7 @@ var $ = {
5520
5525
  "invalidationMessage",
5521
5526
  "texts",
5522
5527
  "modelValue"
5523
- ])) : A.value === "richTextDisplay" ? (S(), r(k(ke), {
5528
+ ])) : O.value === "richTextDisplay" ? (S(), r(k(ke), {
5524
5529
  key: 35,
5525
5530
  id: `${e.id}-${e.name}`,
5526
5531
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
@@ -5529,11 +5534,11 @@ var $ = {
5529
5534
  "id",
5530
5535
  "value",
5531
5536
  "loading"
5532
- ])) : A.value === "stateDisplay" ? (S(), r(k(je), {
5537
+ ])) : O.value === "stateDisplay" ? (S(), r(k(je), {
5533
5538
  key: 36,
5534
5539
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5535
5540
  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), {
5541
+ }, null, 8, ["value", "dictionary"])) : O.value === "steps" ? (S(), r(k(Me), {
5537
5542
  key: 37,
5538
5543
  id: `${e.id}-${e.name}`,
5539
5544
  items: e.displaySchema?.properties[e.name]?.lx?.items,
@@ -5559,7 +5564,7 @@ var $ = {
5559
5564
  "busy",
5560
5565
  "disabled",
5561
5566
  "modelValue"
5562
- ])) : A.value === "visualPicker" ? (S(), r(k(Re), {
5567
+ ])) : O.value === "visualPicker" ? (S(), r(k(Re), {
5563
5568
  key: 38,
5564
5569
  id: `${e.id}-${e.name}`,
5565
5570
  kind: e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5581,7 +5586,7 @@ var $ = {
5581
5586
  "texts",
5582
5587
  "modelValue",
5583
5588
  "builderOptions"
5584
- ])) : A.value === "dayInput" ? (S(), r(k(ae), {
5589
+ ])) : O.value === "dayInput" ? (S(), r(k(se), {
5585
5590
  key: 39,
5586
5591
  id: `${e.id}-${e.name}`,
5587
5592
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5607,7 +5612,7 @@ var $ = {
5607
5612
  "texts",
5608
5613
  "modelValue",
5609
5614
  "builderOptions"
5610
- ])) : A.value === "drawPad" ? (S(), r(k(se), {
5615
+ ])) : O.value === "drawPad" ? (S(), r(k(le), {
5611
5616
  key: 40,
5612
5617
  id: `${e.id}-${e.name}`,
5613
5618
  disabled: e.displaySchema?.properties[e.name]?.lx?.disabled,
@@ -5625,9 +5630,9 @@ var $ = {
5625
5630
  modelValue: f.value[e.name],
5626
5631
  "onUpdate:modelValue": c[93] ||= (t) => f.value[e.name] = t,
5627
5632
  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)
5633
+ onActionClick: c[94] ||= (t, n) => j("actionClick", e.name, t, n),
5634
+ "onUpdate:instrument": c[95] ||= (t) => j("update:instrument", e.name, t),
5635
+ "onUpdate:color": c[96] ||= (t) => j("update:color", e.name, t)
5631
5636
  }, null, 8, [
5632
5637
  "id",
5633
5638
  "disabled",
@@ -5644,7 +5649,7 @@ var $ = {
5644
5649
  "texts",
5645
5650
  "modelValue",
5646
5651
  "builderOptions"
5647
- ])) : A.value === "logoDisplay" ? (S(), r(k(be), {
5652
+ ])) : O.value === "logoDisplay" ? (S(), r(k(Se), {
5648
5653
  key: 41,
5649
5654
  value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
5650
5655
  kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
@@ -5655,14 +5660,14 @@ var $ = {
5655
5660
  "kind",
5656
5661
  "size",
5657
5662
  "theme"
5658
- ])) : A.value === "text" ? (S(), a("p", kn, D(f.value[e.name]), 1)) : i("", !0);
5663
+ ])) : O.value === "text" ? (S(), a("p", An, D(f.value[e.name]), 1)) : i("", !0);
5659
5664
  }
5660
- }, jn = {
5665
+ }, Mn = {
5661
5666
  __name: "FormBuilder",
5662
5667
  props: {
5663
5668
  id: {
5664
5669
  type: String,
5665
- default: () => Y.generateUUID()
5670
+ default: () => He.generateUUID()
5666
5671
  },
5667
5672
  modelValue: {
5668
5673
  type: Object,
@@ -5723,7 +5728,7 @@ var $ = {
5723
5728
  deleteElement: "Dzēst elementu",
5724
5729
  saveElement: "Pievienot elementu sarakstam",
5725
5730
  addObject: "Pievienot objektu"
5726
- }, f = n(() => He.getDisplayTexts(u.texts, d)), p = l, m = n({
5731
+ }, f = n(() => J.getDisplayTexts(u.texts, d)), p = l, m = n({
5727
5732
  get() {
5728
5733
  return u.modelValue ? u.modelValue : {};
5729
5734
  },
@@ -5743,50 +5748,47 @@ var $ = {
5743
5748
  return !0;
5744
5749
  });
5745
5750
  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";
5751
+ return e?.type === "string" && e?.lx?.kind !== "multiline" && !e?.lx?.variant && !ln(e?.format) && !e?.enum || e?.type === "number" && !e?.lx?.variant && !ln(e?.format) && !e?.enum ? "textInputDefault" : e?.type === "string" && e?.lx?.kind === "multiline" ? "textArea" : e?.type === "string" && ln(e?.format) ? "dateTimePicker" : "";
5747
5752
  }
5748
5753
  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
5754
  return e?.type === "array" && e?.lx?.displayType === "list" ? "arrayList" : e?.type === "array" && e?.lx?.displayType === "listModal" ? "arrayListModal" : e?.type === "array" && e?.lx?.displayType === "table" ? "arrayTable" : e?.type === "array" && e?.lx?.displayType === "tableModal" ? "arrayTableModal" : Array.isArray(e?.lx?.items) || e?.enum ? "valuePicker" : e?.items?.properties && e?.type === "array" ? "appendableList" : e?.type === "array" && e?.items?.type !== "object" && e?.items ? "smallAppendableList" : "";
5753
5755
  }
5754
- function x(e, t) {
5756
+ function y(e, t) {
5755
5757
  return e?.lx?.displayType === "map" && e?.type === "object" ? "map" : e?.type === "object" && m.value?.[t] !== void 0 && m.value?.[t] !== null && e?.lx?.displayType === "modal" ? "objectList" : e?.type === "object" && !m.value?.[t] && e?.lx?.displayType === "modal" ? "objectButton" : e?.type === "object" && m.value?.[t] !== void 0 && m.value?.[t] !== null ? "dataBlock" : "";
5756
5758
  }
5757
- function T(e) {
5759
+ function x(e) {
5758
5760
  return an(e);
5759
5761
  }
5760
- function E(e) {
5761
- return v(e) || null;
5762
+ function T(e) {
5763
+ return _(e) || null;
5762
5764
  }
5763
- function O(e) {
5765
+ function E(e) {
5764
5766
  return e?.type === "string" && (e?.lx?.variant || e?.enum) || e?.type === "array";
5765
5767
  }
5766
- function A(e) {
5767
- let t = y(e);
5768
+ function O(e) {
5769
+ let t = v(e);
5768
5770
  return t === "" ? null : t;
5769
5771
  }
5770
- function M(e, t) {
5771
- let n = x(e, t);
5772
+ function A(e, t) {
5773
+ let n = y(e, t);
5772
5774
  return n === "" ? null : n;
5773
5775
  }
5774
- function P(e) {
5776
+ function M(e) {
5775
5777
  e && Ve.log(`Property '${e}' couldn't be rendered`, Qe().getGlobals()?.environment, "warn");
5776
5778
  }
5777
- function F(e, t) {
5779
+ function P(e, t) {
5778
5780
  if (e?.lx?.wrapper === "placeholder") return "lxPlaceholder";
5779
- let n = T(e);
5781
+ let n = x(e);
5780
5782
  if (n) return n;
5781
- let r = E(e);
5783
+ let r = T(e);
5782
5784
  if (r) return r;
5783
5785
  if (e?.type === "integer") return "textInputInteger";
5784
5786
  if (e?.type === "boolean") return "toggle";
5785
- if (O(e)) {
5786
- let t = A(e);
5787
+ if (E(e)) {
5788
+ let t = O(e);
5787
5789
  if (t) return t;
5788
5790
  }
5789
- return M(e, t) || (P(t), "lxPlaceholder");
5791
+ return A(e, t) || (M(t), "lxPlaceholder");
5790
5792
  }
5791
5793
  function ee() {
5792
5794
  let e = { ...u.modelValue };
@@ -5813,7 +5815,7 @@ var $ = {
5813
5815
  n !== "_lx_appendableKey" && (typeof r == "string" ? e.properties[t].items.properties[n] = { type: "string" } : typeof r == "boolean" && (e.properties[t].items.properties[n] = { type: "boolean" }));
5814
5816
  })) : e.properties[t] = { lx: { wrapper: "placeholder" } };
5815
5817
  }), e;
5816
- }), I = n(() => {
5818
+ }), ne = n(() => {
5817
5819
  let e = q.objectClone(te.value);
5818
5820
  if (u.mode === "mixed") try {
5819
5821
  return u.schema?.hasOwnProperty("required") && (e.required = u.schema?.required), Object.entries(te.value?.properties)?.forEach(([t]) => {
@@ -5825,18 +5827,18 @@ var $ = {
5825
5827
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
5826
5828
  }
5827
5829
  return e;
5828
- }), L = n(() => {
5830
+ }), F = n(() => {
5829
5831
  try {
5830
5832
  if (u.mode === "no-schema") return te.value;
5831
- if (u.mode === "mixed") return I.value;
5833
+ if (u.mode === "mixed") return ne.value;
5832
5834
  } catch (e) {
5833
5835
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
5834
5836
  }
5835
5837
  return u.schema;
5836
- }), ne = n(() => {
5838
+ }), I = n(() => {
5837
5839
  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));
5840
+ if (F.value?.properties) {
5841
+ let e = q.objectClone(F.value?.properties), t = Object.entries(e).sort((e, t) => (e[1]?.lx?.order ? e[1].lx.order : 1e3) - (t[1]?.lx?.order ? t[1].lx.order : 1e3));
5840
5842
  return Object.fromEntries(t);
5841
5843
  }
5842
5844
  return {};
@@ -5844,124 +5846,124 @@ var $ = {
5844
5846
  function re(e, t, n = void 0, r = void 0) {
5845
5847
  p("emit", e, t, n, r);
5846
5848
  }
5847
- function R(e, t) {
5849
+ function L(e, t) {
5848
5850
  return e.replace("{0}", t);
5849
5851
  }
5850
- function z(e, t, n, r) {
5852
+ function ie(e, t, n, r) {
5851
5853
  p("rowActionClick", e, t, n, r);
5852
5854
  }
5853
- function ie(e) {
5855
+ function ae(e) {
5854
5856
  return e === "number" || e === "integer";
5855
5857
  }
5856
- function B(e, t) {
5858
+ function R(e, t) {
5857
5859
  return e[t] || (e[t] = {}), e[t];
5858
5860
  }
5859
- function V(e, t, n, r) {
5860
- B(e, t)[n] = r;
5861
+ function z(e, t, n, r) {
5862
+ R(e, t)[n] = r;
5861
5863
  }
5862
- function ae(e, t) {
5864
+ function oe(e, t) {
5863
5865
  e?.required?.forEach((e) => {
5864
- V(t, e, "required", Q.withMessage(() => f.value.required, Zt));
5866
+ z(t, e, "required", Q.withMessage(() => f.value.required, Zt));
5865
5867
  });
5866
5868
  }
5867
- function oe(e) {
5869
+ function se(e) {
5868
5870
  return Q.withParams({
5869
5871
  type: "exclusiveMinimum",
5870
5872
  value: e
5871
5873
  }, (t) => t > e);
5872
5874
  }
5873
- function se(e) {
5875
+ function ce(e) {
5874
5876
  return Q.withParams({
5875
5877
  type: "exclusiveMaximum",
5876
5878
  value: e
5877
5879
  }, (t) => t < e);
5878
5880
  }
5879
- function ce(e) {
5881
+ function le(e) {
5880
5882
  return Q.withParams({
5881
5883
  type: "multipleOf",
5882
5884
  value: e
5883
5885
  }, (t) => t % e === 0);
5884
5886
  }
5885
- function le(e) {
5887
+ function ue(e) {
5886
5888
  return Q.withParams({
5887
5889
  type: "pattern",
5888
5890
  value: e
5889
5891
  }, (t) => new RegExp(e).test(t));
5890
5892
  }
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
5893
  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))));
5894
+ ae(n?.type) && (n?.minimum !== void 0 && z(e, t, "minValue", Q.withMessage(({ $params: e }) => L(f.value.minimum, e.min), $t(n.minimum))), n?.exclusiveMinimum !== void 0 && z(e, t, "exclusiveMinimum", Q.withMessage(() => L(f.value.exclusiveMinimum, n.exclusiveMinimum), se(n.exclusiveMinimum))), n?.maximum !== void 0 && z(e, t, "maxValue", Q.withMessage(({ $params: e }) => L(f.value.maximum, e.max), tn(n.maximum))), n?.exclusiveMaximum !== void 0 && z(e, t, "exclusiveMaximum", Q.withMessage(() => L(f.value.exclusiveMaximum, n.exclusiveMaximum), ce(n.exclusiveMaximum))), n?.multipleOf !== void 0 && z(e, t, "multipleOf", Q.withMessage(() => L(f.value.multipleOf, n.multipleOf), le(n.multipleOf))));
5896
5895
  }
5897
- function fe(e) {
5898
- return new Set(e)?.size === e?.length;
5896
+ function fe(e, t, n) {
5897
+ n?.type === "string" && (n?.minLength !== void 0 && z(e, t, "minLength", Q.withMessage(({ $params: e }) => L(f.value.minLength, e.min), Yt(n.minLength))), n?.maxLength !== void 0 && z(e, t, "maxLength", Q.withMessage(({ $params: e }) => L(f.value.maxLength, e.max), qt(n.maxLength))), n?.pattern && z(e, t, "pattern", Q.withMessage(() => L(f.value.pattern, n.pattern), ue(n.pattern))));
5899
5898
  }
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)));
5899
+ function pe(e) {
5900
+ return new Set(e)?.size === e?.length;
5902
5901
  }
5903
5902
  function me(e, t, n) {
5904
- ue(e, t, n), de(e, t, n), pe(e, t, n);
5903
+ n?.type === "array" && (n?.minItems !== void 0 && z(e, t, "minItems", Q.withMessage(({ $params: e }) => L(f.value.minItems, e.min), Yt(n.minItems))), n?.maxItems !== void 0 && z(e, t, "maxItems", Q.withMessage(({ $params: e }) => L(f.value.maxItems, e.max), qt(n.maxItems))), n?.uniqueItems && z(e, t, "uniqueItems", Q.withMessage(() => f.value.uniqueItems, pe)));
5905
5904
  }
5906
- function H(e, t, n) {
5905
+ function he(e, t, n) {
5906
+ de(e, t, n), fe(e, t, n), me(e, t, n);
5907
+ }
5908
+ function ge(e, t, n) {
5907
5909
  e?.properties && Object.entries(e.properties).forEach(([e, r]) => {
5908
5910
  if (r?.type === "object" && r?.properties) {
5909
5911
  t[e] = n(r);
5910
5912
  return;
5911
5913
  }
5912
- me(t, e, r);
5914
+ he(t, e, r);
5913
5915
  });
5914
5916
  }
5915
- function he(e) {
5917
+ function B(e) {
5916
5918
  return Q.withParams({
5917
5919
  type: "minProperties",
5918
5920
  value: e
5919
5921
  }, (t) => Object.keys(t).length >= e);
5920
5922
  }
5921
- function ge(e) {
5923
+ function _e(e) {
5922
5924
  return Q.withParams({
5923
5925
  type: "maxProperties",
5924
5926
  value: e
5925
5927
  }, (t) => Object.keys(t).length <= e);
5926
5928
  }
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)));
5929
+ function ve(e, t) {
5930
+ e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() => L(f.value.minProperties, e.minProperties), B(e.minProperties))), e?.maxProperties !== void 0 && e?.type === "object" && (t.maxProperties = Q.withMessage(() => L(f.value.maxProperties, e.maxProperties), _e(e.maxProperties)));
5929
5931
  }
5930
- function ve(e) {
5932
+ function ye(e) {
5931
5933
  let t = {};
5932
- return ae(e, t), H(e, t, ve), _e(e, t), t;
5934
+ return oe(e, t), ge(e, t, ye), ve(e, t), t;
5933
5935
  }
5934
- let ye = n(() => u.schema ? { modelClone: ve(u.schema) } : { modelClone: {} }), be = C();
5935
- function xe() {
5936
+ let be = n(() => u.schema ? { modelClone: ye(u.schema) } : { modelClone: {} }), xe = C();
5937
+ function Se() {
5936
5938
  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) => {
5939
+ return u.mode !== "no-schema" && (xe.value = At(be, { modelClone: q.objectClone(m.value) }, { $autoDirty: !0 }), xe.value.value.modelClone.$touch(), (xe.value.value?.$errors)?.forEach((t) => {
5938
5940
  let n = {};
5939
5941
  n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
5940
5942
  })), e;
5941
5943
  }
5942
- function Se() {
5943
- be.value.value.modelClone.$reset();
5944
+ function Ce() {
5945
+ xe.value.value.modelClone.$reset();
5944
5946
  }
5945
5947
  return j(() => u.schema, () => {
5946
5948
  u.mode !== "no-schema" && u.mode !== "view-builder" && ee();
5947
5949
  }), b(() => {
5948
5950
  u.mode !== "no-schema" && u.mode !== "view-builder" && ee();
5949
5951
  }), 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), {
5952
+ validateModel: Se,
5953
+ clearValidations: Ce,
5954
+ componentSelect: P
5955
+ }), (n, o) => g.value ? (S(!0), a(t, { key: 0 }, w(I.value, (n, l) => (S(), a(t, { key: l }, [P(n, l) === "lxPlaceholder" ? (S(), r(k(U), {
5954
5956
  key: 0,
5955
5957
  class: "lx-placeholder"
5956
5958
  })) : n?.lx?.displayType === "section" ? i("", !0) : (S(), r(k(W), {
5957
5959
  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,
5960
+ label: F.value?.properties[l]?.title ? F.value?.properties[l]?.title : l,
5961
+ rowSpan: F.value?.properties[l]?.lx?.rowSpan,
5962
+ columnSpan: F.value?.properties[l]?.lx?.columnSpan,
5961
5963
  required: h(l),
5962
5964
  inputId: e.builderOptions?.useRegistry ? void 0 : `${e.id}-${l}`,
5963
5965
  id: `${e.id}-${l}-wrapper`,
5964
- actionDefinitions: L.value?.properties[l]?.lx?.rowActionDefinitions,
5966
+ actionDefinitions: F.value?.properties[l]?.lx?.rowActionDefinitions,
5965
5967
  builderOptions: {
5966
5968
  schemaPath: `${e.builderOptions?.schemaPath}.${l}`,
5967
5969
  componentStack: e.builderOptions?.componentStack?.concat([{
@@ -5970,9 +5972,9 @@ var $ = {
5970
5972
  }]),
5971
5973
  useRegistry: e.builderOptions?.useRegistry
5972
5974
  },
5973
- onActionClick: (e, t, n) => z(t, n, l, void 0)
5975
+ onActionClick: (e, t, n) => ie(t, n, l, void 0)
5974
5976
  }, s({
5975
- default: N(() => [F(n, l) === "stack" ? (S(), r(k(G), {
5977
+ default: N(() => [P(n, l) === "stack" ? (S(), r(k(G), {
5976
5978
  key: 0,
5977
5979
  id: `${e.id}-${l}`,
5978
5980
  orientation: n?.lx?.orientation,
@@ -5983,7 +5985,7 @@ var $ = {
5983
5985
  horizontalConfig: n?.lx?.horizontalConfig,
5984
5986
  verticalConfig: n?.lx?.verticalConfig
5985
5987
  }, {
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), {
5988
+ default: N(() => [(S(!0), a(t, null, w(F.value?.properties[l]?.properties, (n, s) => (S(), a(t, { key: s }, [P(n, s) === "stack" ? (S(), r(k(G), {
5987
5989
  key: 0,
5988
5990
  id: `${e.id}-${s}`,
5989
5991
  orientation: n?.lx?.orientation,
@@ -5994,7 +5996,7 @@ var $ = {
5994
5996
  horizontalConfig: n?.lx?.horizontalConfig,
5995
5997
  verticalConfig: n?.lx?.verticalConfig
5996
5998
  }, {
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, {
5999
+ default: N(() => [(S(!0), a(t, null, w(F.value?.properties[l]?.properties[s]?.properties, (n, c) => (S(), a(t, { key: c }, [m.value[l] ? (S(), r(jn, {
5998
6000
  key: 0,
5999
6001
  id: `${e.id}-${c}`,
6000
6002
  modelValue: m.value[l][s],
@@ -6002,13 +6004,13 @@ var $ = {
6002
6004
  readOnly: e.readOnly,
6003
6005
  row: n,
6004
6006
  name: c,
6005
- displaySchema: L.value?.properties[l]?.properties[s],
6006
- vv: be.value,
6007
- orderedObject: ne.value?.[l]?.properties?.[s]?.properties,
6007
+ displaySchema: F.value?.properties[l]?.properties[s],
6008
+ vv: xe.value,
6009
+ orderedObject: I.value?.[l]?.properties?.[s]?.properties,
6008
6010
  texts: f.value,
6009
6011
  parentName: `${l}.${s}`,
6010
6012
  validations: e.validations?.[l]?.[s],
6011
- onRowActionClick: o[0] ||= (e, t, n, r) => z(e, t, n, r),
6013
+ onRowActionClick: o[0] ||= (e, t, n, r) => ie(e, t, n, r),
6012
6014
  onEmit: o[1] ||= (e, t, n, r) => re(e, t, n, r),
6013
6015
  onFilterBuilderFilter: o[2] ||= (e) => p("filterBuilderFilter")
6014
6016
  }, null, 8, [
@@ -6035,7 +6037,7 @@ var $ = {
6035
6037
  "verticalAlignment",
6036
6038
  "horizontalConfig",
6037
6039
  "verticalConfig"
6038
- ])) : (S(), r(An, {
6040
+ ])) : (S(), r(jn, {
6039
6041
  key: 1,
6040
6042
  id: e.id,
6041
6043
  modelValue: m.value[l],
@@ -6043,13 +6045,13 @@ var $ = {
6043
6045
  readOnly: e.readOnly,
6044
6046
  row: n,
6045
6047
  name: s,
6046
- displaySchema: L.value?.properties[l],
6047
- vv: be.value,
6048
- orderedObject: ne.value?.[l]?.properties,
6048
+ displaySchema: F.value?.properties[l],
6049
+ vv: xe.value,
6050
+ orderedObject: I.value?.[l]?.properties,
6049
6051
  parentName: l,
6050
6052
  texts: f.value,
6051
6053
  validations: e.validations?.[l],
6052
- onRowActionClick: o[3] ||= (e, t, n, r) => z(e, t, n, r),
6054
+ onRowActionClick: o[3] ||= (e, t, n, r) => ie(e, t, n, r),
6053
6055
  onEmit: o[4] ||= (e, t, n, r) => re(e, t, n, r),
6054
6056
  onFilterBuilderFilter: o[5] ||= (e) => p("filterBuilderFilter")
6055
6057
  }, null, 8, [
@@ -6076,7 +6078,7 @@ var $ = {
6076
6078
  "verticalAlignment",
6077
6079
  "horizontalConfig",
6078
6080
  "verticalConfig"
6079
- ])) : (S(), r(An, {
6081
+ ])) : (S(), r(jn, {
6080
6082
  key: 1,
6081
6083
  id: e.id,
6082
6084
  modelValue: m.value,
@@ -6084,10 +6086,10 @@ var $ = {
6084
6086
  readOnly: e.readOnly,
6085
6087
  row: n,
6086
6088
  name: l,
6087
- displaySchema: L.value,
6089
+ displaySchema: F.value,
6088
6090
  schema: e.schema,
6089
- vv: be.value,
6090
- orderedObject: ne.value,
6091
+ vv: xe.value,
6092
+ orderedObject: I.value,
6091
6093
  texts: f.value,
6092
6094
  validations: e.validations,
6093
6095
  builderOptions: {
@@ -6098,7 +6100,7 @@ var $ = {
6098
6100
  useRegistry: e.builderOptions?.useRegistry,
6099
6101
  schemaPath: `${e.builderOptions?.schemaPath}`
6100
6102
  },
6101
- onRowActionClick: o[7] ||= (e, t, n, r) => z(e, t, n, r),
6103
+ onRowActionClick: o[7] ||= (e, t, n, r) => ie(e, t, n, r),
6102
6104
  onEmit: o[8] ||= (e, t, n, r) => re(e, t, n, r),
6103
6105
  onFilterBuilderFilter: o[9] ||= (e) => p("filterBuilderFilter")
6104
6106
  }, null, 8, [
@@ -6132,7 +6134,7 @@ var $ = {
6132
6134
  "onActionClick"
6133
6135
  ]))], 64))), 128)) : i("", !0);
6134
6136
  }
6135
- }, Mn = {
6137
+ }, Nn = {
6136
6138
  __name: "FilterBuilder",
6137
6139
  props: {
6138
6140
  modelValue: {
@@ -6286,7 +6288,7 @@ var $ = {
6286
6288
  addElement: "Pievienot elementu",
6287
6289
  saveElement: "Pievienot elementu sarakstam",
6288
6290
  addObject: "Pievienot objektu"
6289
- }, c = n(() => He.getDisplayTexts(a.texts, s)), u = n({
6291
+ }, c = n(() => J.getDisplayTexts(a.texts, s)), u = n({
6290
6292
  get() {
6291
6293
  return a.modelValue ? a.modelValue : {};
6292
6294
  },
@@ -6302,7 +6304,7 @@ var $ = {
6302
6304
  }
6303
6305
  }), m = C();
6304
6306
  function h() {
6305
- a.closeOnFilter && (p.value = !1, He.focusNextFocusableElement(m.value?.$el)), o("filter");
6307
+ a.closeOnFilter && (p.value = !1, J.focusNextFocusableElement(m.value?.$el)), o("filter");
6306
6308
  }
6307
6309
  let g = C({}), _ = n(() => a.schema?.properties ? Object.keys(a.schema?.properties).reduce((e, t) => (e[t] = a.defaultValues?.[t] || (a.useDefaults ? g.value?.[t] : void 0), e), {}) : {});
6308
6310
  function v(e, t) {
@@ -6380,11 +6382,11 @@ var $ = {
6380
6382
  b(() => {
6381
6383
  g.value = q.objectClone(a.modelValue || {});
6382
6384
  });
6383
- let F = n(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
6385
+ let ee = n(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
6384
6386
  return t({
6385
6387
  validateModel: M,
6386
6388
  clearValidations: P
6387
- }), (t, n) => (S(), r(k(pe), {
6389
+ }), (t, n) => (S(), r(k(he), {
6388
6390
  ref_key: "filterElement",
6389
6391
  ref: m,
6390
6392
  id: e.id,
@@ -6410,7 +6412,7 @@ var $ = {
6410
6412
  onResetFilters: n[4] ||= () => o("resetFilters"),
6411
6413
  onFastFilterClick: n[5] ||= (e) => o("fastFilterClick", e)
6412
6414
  }, {
6413
- default: N(() => [l(jn, {
6415
+ default: N(() => [l(Mn, {
6414
6416
  ref_key: "formBuilder",
6415
6417
  ref: d,
6416
6418
  id: e.id,
@@ -6430,7 +6432,7 @@ var $ = {
6430
6432
  name: "LxSection"
6431
6433
  }),
6432
6434
  useRegistry: e.builderOptions?.useRegistry,
6433
- schemaPath: F.value
6435
+ schemaPath: ee.value
6434
6436
  },
6435
6437
  onRowActionClick: n[1] ||= (e, t, n, r) => o("rowActionClick", e, t, n, r),
6436
6438
  onFilterBuilderFilter: h,
@@ -6467,12 +6469,12 @@ var $ = {
6467
6469
  "builderOptions"
6468
6470
  ]));
6469
6471
  }
6470
- }, Nn = {
6472
+ }, Pn = {
6471
6473
  __name: "ViewBuilder",
6472
6474
  props: {
6473
6475
  id: {
6474
6476
  type: String,
6475
- default: () => Y.generateUUID()
6477
+ default: () => He.generateUUID()
6476
6478
  },
6477
6479
  modelValue: {
6478
6480
  type: Object,
@@ -6528,7 +6530,7 @@ var $ = {
6528
6530
  deleteElement: "Dzēst elementu",
6529
6531
  saveElement: "Pievienot elementu sarakstam",
6530
6532
  addObject: "Pievienot objektu"
6531
- }, p = n(() => He.getDisplayTexts(d.texts, f)), m = u, h = n({
6533
+ }, p = n(() => J.getDisplayTexts(d.texts, f)), m = u, h = n({
6532
6534
  get() {
6533
6535
  return d.modelValue ? d.modelValue : {};
6534
6536
  },
@@ -6609,7 +6611,7 @@ var $ = {
6609
6611
  function P(e, t, n) {
6610
6612
  E(n?.type) && O(e, t, n), n?.type === "string" && A(e, t, n), n?.type === "array" && M(e, t, n);
6611
6613
  }
6612
- function F(e, t) {
6614
+ function ee(e, t) {
6613
6615
  t?.minProperties !== void 0 && t?.type === "object" && (e.minProperties = Q.withMessage(() => T(p.value.minProperties, t.minProperties), ((e) => Q.withParams({
6614
6616
  type: "minProperties",
6615
6617
  value: e
@@ -6618,28 +6620,28 @@ var $ = {
6618
6620
  value: e
6619
6621
  }, (t) => Object.keys(t).length <= e))(t.maxProperties)));
6620
6622
  }
6621
- let ee = (e) => {
6623
+ let te = (e) => {
6622
6624
  let t = e?.required, n = {};
6623
6625
  return t?.forEach((e) => {
6624
6626
  n[e] = n[e] || {}, n[e].required = Q.withMessage(() => p.value.required, Zt);
6625
6627
  }), 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) => {
6628
+ t?.type === "object" && t?.properties ? n[e] = te(t) : P(n, e, t);
6629
+ }), ee(n, e), n;
6630
+ }, ne = n(() => d.schema ? { modelClone: te(d.schema) } : { modelClone: {} }), F = C(), I = C({});
6631
+ function re() {
6632
+ Object.values(I.value)?.forEach((e) => {
6631
6633
  e.validateModel();
6632
6634
  });
6633
6635
  }
6634
- function re() {
6636
+ function L() {
6635
6637
  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) => {
6638
+ return re(), F.value = At(ne, { modelClone: q.objectClone(h.value) }, { $autoDirty: !0 }), F.value.value.modelClone.$touch(), (F.value.value?.$errors)?.forEach((t) => {
6637
6639
  let n = {};
6638
6640
  n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
6639
6641
  }), e;
6640
6642
  }
6641
- function R() {
6642
- I.value.value.modelClone.$reset(), Object.values(L.value)?.forEach((e) => {
6643
+ function ie() {
6644
+ F.value.value.modelClone.$reset(), Object.values(I.value)?.forEach((e) => {
6643
6645
  e.clearValidations();
6644
6646
  });
6645
6647
  }
@@ -6648,7 +6650,7 @@ var $ = {
6648
6650
  }), y(async () => {
6649
6651
  d.mode !== "no-schema" && await _();
6650
6652
  });
6651
- let z = n(() => {
6653
+ let ae = n(() => {
6652
6654
  let e = {
6653
6655
  $schema: "http://json-schema.org/draft-07/schema#",
6654
6656
  type: "object",
@@ -6669,58 +6671,58 @@ var $ = {
6669
6671
  n !== "_lx_appendableKey" && (typeof r == "string" ? e.properties.form.properties[t].items.properties[n] = { type: "string" } : typeof r == "boolean" && (e.properties.form.properties[t].items.properties[n] = { type: "boolean" }));
6670
6672
  })) : e.properties.form.properties[t] = { lx: { wrapper: "placeholder" } };
6671
6673
  }), e;
6672
- }), ie = n(() => {
6674
+ }), R = n(() => {
6673
6675
  let e = structuredClone(d.schema);
6674
6676
  if (d.mode === "mixed") try {
6675
- return Object.entries(z.value?.properties?.form?.properties)?.forEach(([t, n]) => {
6677
+ return Object.entries(ae.value?.properties?.form?.properties)?.forEach(([t, n]) => {
6676
6678
  Object.prototype.hasOwnProperty.call(e?.properties, t) || (e.properties[t] = n);
6677
6679
  }), e;
6678
6680
  } catch (e) {
6679
6681
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
6680
6682
  }
6681
6683
  return e;
6682
- }), B = n(() => {
6684
+ }), z = n(() => {
6683
6685
  try {
6684
- if (d.mode === "no-schema") return z.value;
6685
- if (d.mode === "mixed") return ie.value;
6686
+ if (d.mode === "no-schema") return ae.value;
6687
+ if (d.mode === "mixed") return R.value;
6686
6688
  } catch (e) {
6687
6689
  Ve.log(e, Qe().getGlobals()?.environment, "warn");
6688
6690
  }
6689
6691
  return d.schema;
6690
6692
  });
6691
- function V(e) {
6693
+ function oe(e) {
6692
6694
  let t = q.objectClone(e), n = !1;
6693
6695
  return Object.entries(t || {}).forEach(([e, r]) => {
6694
6696
  !n && r?.lx?.displayType === "section" && r?.type === "object" && (delete t[e], n = !0);
6695
6697
  }), t;
6696
6698
  }
6697
- function ae(e) {
6699
+ function se(e) {
6698
6700
  let t = q.objectClone(e), n = Object.entries(t || {}), r = !1;
6699
6701
  return n.forEach(([e, n]) => {
6700
6702
  !r && n?.lx?.displayType === "section" && n?.type === "object" ? r = !0 : delete t[e];
6701
6703
  }), t;
6702
6704
  }
6703
- function oe(e) {
6705
+ function ce(e) {
6704
6706
  let t = Object.entries(e || {}).find(([, e]) => e?.lx?.displayType === "section" && e?.type === "object");
6705
6707
  return t ? t[1] : null;
6706
6708
  }
6707
- function se(e) {
6709
+ function le(e) {
6708
6710
  let t = Object.entries(e || {}).find(([, e]) => e?.lx?.displayType === "section" && e?.type === "object");
6709
6711
  return t ? t[0] : null;
6710
6712
  }
6711
- function ce(e, t) {
6712
- let n = se(t?.properties);
6713
+ function ue(e, t) {
6714
+ let n = le(t?.properties);
6713
6715
  return n ? h.value?.[e]?.[n] || {} : h.value?.[e] || {};
6714
6716
  }
6715
- function le(e, t, n) {
6716
- let r = se(t?.properties), i = q.objectClone(h.value || {});
6717
+ function de(e, t, n) {
6718
+ let r = le(t?.properties), i = q.objectClone(h.value || {});
6717
6719
  if (!r) {
6718
6720
  i[e] = n, h.value = i;
6719
6721
  return;
6720
6722
  }
6721
6723
  i[e] = i[e] || {}, i[e][r] = n, h.value = i;
6722
6724
  }
6723
- function ue(e) {
6725
+ function fe(e) {
6724
6726
  let t = [], n = !1;
6725
6727
  return Object.entries(e || {}).forEach(([e, r]) => {
6726
6728
  if (r?.lx?.displayType === "section" && r?.type === "object") {
@@ -6730,8 +6732,8 @@ var $ = {
6730
6732
  }), t;
6731
6733
  }
6732
6734
  return o({
6733
- validateModel: re,
6734
- clearValidations: R
6735
+ validateModel: L,
6736
+ clearValidations: ie
6735
6737
  }), (n, o) => g.value ? (S(), r(k(Le), {
6736
6738
  key: 0,
6737
6739
  kind: v.value,
@@ -6742,12 +6744,12 @@ var $ = {
6742
6744
  useRegistry: e.builderOptions?.useRegistry
6743
6745
  }
6744
6746
  }, 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, {
6747
+ filters: N(() => [(S(!0), a(t, null, w(z.value?.properties, (n, s) => (S(), a(t, { key: s }, [n?.lx?.displayType === "filters" && n?.type === "object" ? (S(), r(Nn, {
6746
6748
  key: 0,
6747
6749
  ref_for: !0,
6748
- ref: (t) => L.value[`${e.id}-${s}`] = t,
6749
- modelValue: ce(s, n),
6750
- schema: n?.properties?.[se(n?.properties)],
6750
+ ref: (t) => I.value[`${e.id}-${s}`] = t,
6751
+ modelValue: ue(s, n),
6752
+ schema: n?.properties?.[le(n?.properties)],
6751
6753
  name: s,
6752
6754
  id: `${e.id}-${s}`,
6753
6755
  readOnly: e.readOnly,
@@ -6765,7 +6767,7 @@ var $ = {
6765
6767
  badge: n?.lx?.badge,
6766
6768
  badgeType: n?.lx?.badgeType,
6767
6769
  texts: n?.lx?.texts,
6768
- columnCount: oe(n?.properties)?.lx?.columnCount || n?.lx?.columnCount,
6770
+ columnCount: ce(n?.properties)?.lx?.columnCount || n?.lx?.columnCount,
6769
6771
  builderOptions: {
6770
6772
  schemaPath: `${s}`,
6771
6773
  componentStack: [{
@@ -6776,9 +6778,9 @@ var $ = {
6776
6778
  name: "LxFilters"
6777
6779
  }],
6778
6780
  useRegistry: e.builderOptions?.useRegistry,
6779
- defaultSectionSchemaPath: se(n?.properties)
6781
+ defaultSectionSchemaPath: le(n?.properties)
6780
6782
  },
6781
- "onUpdate:modelValue": (e) => le(s, n, e),
6783
+ "onUpdate:modelValue": (e) => de(s, n, e),
6782
6784
  onFilter: () => x("filter", s),
6783
6785
  onResetFilter: () => x("resetFilter", s),
6784
6786
  onFastFilterClick: (e) => x("fastFilterClick", s, e),
@@ -6788,11 +6790,11 @@ var $ = {
6788
6790
  _: 2
6789
6791
  }, [e.mode === "no-schema" ? {
6790
6792
  name: "default",
6791
- fn: N(() => [l(k(H), null, {
6792
- default: N(() => [l(jn, {
6793
+ fn: N(() => [l(k(B), null, {
6794
+ default: N(() => [l(Mn, {
6793
6795
  modelValue: h.value,
6794
6796
  "onUpdate:modelValue": o[4] ||= (e) => h.value = e,
6795
- schema: B.value?.properties?.form,
6797
+ schema: z.value?.properties?.form,
6796
6798
  readOnly: e.readOnly,
6797
6799
  texts: p.value,
6798
6800
  validations: e.validations,
@@ -6811,7 +6813,7 @@ var $ = {
6811
6813
  key: "1"
6812
6814
  } : {
6813
6815
  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), {
6816
+ fn: N(() => [(S(!0), a(t, null, w(z.value?.properties, (n, u) => (S(), a(t, { key: u }, [n?.lx?.displayType === "form" && n?.type === "object" ? (S(), r(k(B), {
6815
6817
  key: 0,
6816
6818
  id: `${e.id}-${u}`,
6817
6819
  showHeader: n?.lx?.showHeader,
@@ -6820,15 +6822,15 @@ var $ = {
6820
6822
  stickyFooter: n?.lx?.stickyFooter,
6821
6823
  showPreHeaderInfo: n?.lx?.showPreHeaderInfo,
6822
6824
  showPostHeaderInfo: n?.lx?.showPostHeaderInfo,
6823
- index: n?.lx?.index || ue(n?.properties),
6825
+ index: n?.lx?.index || fe(n?.properties),
6824
6826
  indexType: n?.lx?.indexType,
6825
6827
  actionDefinitions: n?.lx?.actionDefinitions,
6826
6828
  kind: n?.lx?.kind,
6827
6829
  hasSkipLink: n?.lx?.hasSkipLink,
6828
6830
  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,
6831
+ columnCount: ce(n?.properties)?.lx?.columnCount,
6832
+ requiredMode: ce(n?.properties)?.lx?.requiredMode,
6833
+ orientation: ce(n?.properties)?.lx?.orientation,
6832
6834
  builderOptions: {
6833
6835
  schemaPath: `${u}`,
6834
6836
  componentStack: [{
@@ -6839,12 +6841,12 @@ var $ = {
6839
6841
  name: "LxForm"
6840
6842
  }],
6841
6843
  useRegistry: e.builderOptions?.useRegistry,
6842
- defaultSectionSchemaPath: se(n?.properties)
6844
+ defaultSectionSchemaPath: le(n?.properties)
6843
6845
  },
6844
6846
  onActionClick: (e) => x("actionClick", u, e)
6845
6847
  }, s({
6846
6848
  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), {
6849
+ sections: N(() => [(S(!0), a(t, null, w(oe(e.schema?.properties?.[u]?.properties), (n, o) => (S(), a(t, { key: o }, [n?.lx?.displayType === "section" && n?.type === "object" ? (S(), r(k(Ae), {
6848
6850
  key: 0,
6849
6851
  id: `${o}`,
6850
6852
  label: n?.title,
@@ -6871,10 +6873,10 @@ var $ = {
6871
6873
  },
6872
6874
  onActionClick: (e) => x("actionClick", `${u}.${o}`, e)
6873
6875
  }, {
6874
- default: N(() => [h.value?.[u] ? (S(), r(jn, {
6876
+ default: N(() => [h.value?.[u] ? (S(), r(Mn, {
6875
6877
  key: 0,
6876
6878
  ref_for: !0,
6877
- ref: (t) => L.value[`${e.id}-${u}-${o}`] = t,
6879
+ ref: (t) => I.value[`${e.id}-${u}-${o}`] = t,
6878
6880
  modelValue: h.value[u][o],
6879
6881
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
6880
6882
  schema: n,
@@ -6930,10 +6932,10 @@ var $ = {
6930
6932
  "builderOptions",
6931
6933
  "onActionClick"
6932
6934
  ])) : 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, {
6935
+ default: N(() => [(S(!0), a(t, null, w(se(e.schema?.properties?.[u]?.properties), (n, o) => (S(), a(t, { key: o }, [h.value?.[u] ? (S(), r(Mn, {
6934
6936
  key: 0,
6935
6937
  ref_for: !0,
6936
- ref: (t) => L.value[`${e.id}-${u}-${o}`] = t,
6938
+ ref: (t) => I.value[`${e.id}-${u}-${o}`] = t,
6937
6939
  modelValue: h.value[u][o],
6938
6940
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
6939
6941
  schema: n,
@@ -7167,17 +7169,17 @@ var $ = {
7167
7169
  "horizontal-config": n?.lx?.horizontalConfig,
7168
7170
  "vertical-config": n?.lx?.verticalConfig
7169
7171
  }, {
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, {
7172
+ default: N(() => [(S(!0), a(t, null, w(e.schema?.properties?.[u]?.properties?.[o]?.properties, (n, s) => (S(), a(t, { key: s }, [h.value?.[u] ? (S(), r(jn, {
7171
7173
  key: 0,
7172
7174
  modelValue: h.value[u][o],
7173
7175
  "onUpdate:modelValue": (e) => h.value[u][o] = e,
7174
7176
  schema: e.schema?.properties?.[u]?.properties?.[o],
7175
- displaySchema: B.value?.properties?.[u]?.properties?.[o],
7177
+ displaySchema: z.value?.properties?.[u]?.properties?.[o],
7176
7178
  row: n,
7177
7179
  name: s,
7178
7180
  readOnly: e.readOnly,
7179
7181
  parentName: `${u}.${o}`,
7180
- vv: I.value,
7182
+ vv: F.value,
7181
7183
  texts: p.value,
7182
7184
  validations: e.validations?.[u]?.[o],
7183
7185
  onRowActionClick: (e, t, n, r) => b(e, t, `${u}.${o}.${n}`, r),
@@ -7207,17 +7209,17 @@ var $ = {
7207
7209
  "vertical-alignment",
7208
7210
  "horizontal-config",
7209
7211
  "vertical-config"
7210
- ])) : n?.lx?.displayType !== "stack" && h.value ? (S(), r(An, {
7212
+ ])) : n?.lx?.displayType !== "stack" && h.value ? (S(), r(jn, {
7211
7213
  key: 1,
7212
7214
  modelValue: h.value[u],
7213
7215
  "onUpdate:modelValue": (e) => h.value[u] = e,
7214
7216
  schema: e.schema?.properties?.[u],
7215
- displaySchema: B.value?.properties?.[u],
7217
+ displaySchema: z.value?.properties?.[u],
7216
7218
  row: n,
7217
7219
  name: o,
7218
7220
  readOnly: e.readOnly,
7219
7221
  parentName: `${u}`,
7220
- vv: I.value,
7222
+ vv: F.value,
7221
7223
  texts: p.value,
7222
7224
  validations: e.validations?.[u],
7223
7225
  onRowActionClick: (e, t, n, r) => b(e, t, `${u}.${n}`, r),
@@ -7247,17 +7249,17 @@ var $ = {
7247
7249
  "vertical-alignment",
7248
7250
  "horizontal-config",
7249
7251
  "vertical-config"
7250
- ])) : n?.lx?.displayType === "filters" ? i("", !0) : (S(), r(An, {
7252
+ ])) : n?.lx?.displayType === "filters" ? i("", !0) : (S(), r(jn, {
7251
7253
  key: 2,
7252
7254
  modelValue: h.value,
7253
7255
  "onUpdate:modelValue": o[1] ||= (e) => h.value = e,
7254
7256
  schema: e.schema,
7255
- displaySchema: B.value,
7257
+ displaySchema: z.value,
7256
7258
  row: n,
7257
7259
  name: u,
7258
7260
  readOnly: e.readOnly,
7259
7261
  texts: p.value,
7260
- vv: I.value,
7262
+ vv: F.value,
7261
7263
  validations: e.validations,
7262
7264
  builderOptions: {
7263
7265
  componentStack: [{
@@ -7290,17 +7292,17 @@ var $ = {
7290
7292
  };
7291
7293
  //#endregion
7292
7294
  //#region node_modules/@vueuse/shared/dist/index.js
7293
- function Pn(e, t) {
7295
+ function Fn(e, t) {
7294
7296
  return f() ? (x(e, t), !0) : !1;
7295
7297
  }
7296
- var Fn = /* @__PURE__ */ new WeakMap(), In = (...e) => {
7298
+ var In = /* @__PURE__ */ new WeakMap(), Ln = (...e) => {
7297
7299
  let t = e[0], n = d()?.proxy ?? f();
7298
7300
  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";
7301
+ return n && In.has(n) && t in In.get(n) ? In.get(n)[t] : m(...e);
7302
+ }, Rn = typeof window < "u" && typeof document < "u";
7301
7303
  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) {
7304
+ var zn = Object.prototype.toString, Bn = (e) => zn.call(e) === "[object Object]", Vn = () => {};
7305
+ function Hn(e, t) {
7304
7306
  function n(...n) {
7305
7307
  return new Promise((r, i) => {
7306
7308
  Promise.resolve(e(() => t.apply(this, n), {
@@ -7312,9 +7314,9 @@ function Vn(e, t) {
7312
7314
  }
7313
7315
  return n;
7314
7316
  }
7315
- function Hn(e, t = {}) {
7316
- let n, r, i = Bn, a = (e) => {
7317
- clearTimeout(e), i(), i = Bn;
7317
+ function Un(e, t = {}) {
7318
+ let n, r, i = Vn, a = (e) => {
7319
+ clearTimeout(e), i(), i = Vn;
7318
7320
  }, o;
7319
7321
  return (s) => {
7320
7322
  let c = O(e), l = O(t.maxWait);
@@ -7327,22 +7329,22 @@ function Hn(e, t = {}) {
7327
7329
  });
7328
7330
  };
7329
7331
  }
7330
- function Un(e) {
7332
+ function Wn(e) {
7331
7333
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
7332
7334
  }
7333
- function Wn(e) {
7335
+ function Gn(e) {
7334
7336
  return Array.isArray(e) ? e : [e];
7335
7337
  }
7336
- function Gn(e) {
7338
+ function Kn(e) {
7337
7339
  return e || d();
7338
7340
  }
7339
- function Kn(e, t = 200, n = {}) {
7340
- return Vn(Hn(t, n), e);
7341
+ function qn(e, t = 200, n = {}) {
7342
+ return Hn(Un(t, n), e);
7341
7343
  }
7342
- function qn(e, t = !0, n) {
7343
- Gn(n) ? b(e, n) : t ? e() : g(e);
7344
+ function Jn(e, t = !0, n) {
7345
+ Kn(n) ? b(e, n) : t ? e() : g(e);
7344
7346
  }
7345
- function Jn(e, t, n) {
7347
+ function Yn(e, t, n) {
7346
7348
  return j(e, t, {
7347
7349
  ...n,
7348
7350
  immediate: !0
@@ -7350,82 +7352,82 @@ function Jn(e, t, n) {
7350
7352
  }
7351
7353
  //#endregion
7352
7354
  //#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) {
7355
+ var Xn = Rn ? window : void 0;
7356
+ Rn && window.document, Rn && window.navigator, Rn && window.location;
7357
+ function Zn(e) {
7356
7358
  let t = O(e);
7357
7359
  return t?.$el ?? t;
7358
7360
  }
7359
- function Zn(...e) {
7361
+ function Qn(...e) {
7360
7362
  let t = [], r = () => {
7361
7363
  t.forEach((e) => e()), t.length = 0;
7362
7364
  }, 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);
7365
+ let t = Gn(O(e[0])).filter((e) => e != null);
7364
7366
  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])),
7367
+ }), o = Yn(() => [
7368
+ a.value?.map((e) => Zn(e)) ?? [Xn].filter((e) => e != null),
7369
+ Gn(O(a.value ? e[1] : e[0])),
7370
+ Gn(k(a.value ? e[2] : e[1])),
7369
7371
  O(a.value ? e[3] : e[2])
7370
7372
  ], ([e, n, a, o]) => {
7371
7373
  if (r(), !e?.length || !n?.length || !a?.length) return;
7372
- let s = zn(o) ? { ...o } : o;
7374
+ let s = Bn(o) ? { ...o } : o;
7373
7375
  t.push(...e.flatMap((e) => n.flatMap((t) => a.map((n) => i(e, t, n, s)))));
7374
7376
  }, { flush: "post" });
7375
- return Pn(r), () => {
7377
+ return Fn(r), () => {
7376
7378
  o(), r();
7377
7379
  };
7378
7380
  }
7379
- function Qn() {
7381
+ function $n() {
7380
7382
  let e = E(!1), t = d();
7381
7383
  return t && b(() => {
7382
7384
  e.value = !0;
7383
7385
  }, t), e;
7384
7386
  }
7385
7387
  /* @__NO_SIDE_EFFECTS__ */
7386
- function $n(e) {
7387
- let t = Qn();
7388
+ function er(e) {
7389
+ let t = $n();
7388
7390
  return n(() => (t.value, !!e()));
7389
7391
  }
7390
- var er = Symbol("vueuse-ssr-width");
7392
+ var tr = Symbol("vueuse-ssr-width");
7391
7393
  /* @__NO_SIDE_EFFECTS__ */
7392
- function tr() {
7393
- let e = p() ? In(er, null) : null;
7394
+ function nr() {
7395
+ let e = p() ? Ln(tr, null) : null;
7394
7396
  return typeof e == "number" ? e : void 0;
7395
7397
  }
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);
7398
+ function rr(e, t = {}) {
7399
+ let { window: r = Xn, ssrWidth: i = /* @__PURE__ */ nr() } = t, a = /* @__PURE__ */ er(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), o = E(typeof i == "number"), s = E(), c = E(!1);
7398
7400
  return M(() => {
7399
7401
  if (o.value) {
7400
7402
  o.value = !a.value, c.value = O(e).split(",").some((e) => {
7401
7403
  let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), r = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || r);
7402
- return n && a && (a = i >= Un(n[1])), r && a && (a = i <= Un(r[1])), t ? !a : a;
7404
+ return n && a && (a = i >= Wn(n[1])), r && a && (a = i <= Wn(r[1])), t ? !a : a;
7403
7405
  });
7404
7406
  return;
7405
7407
  }
7406
7408
  a.value && (s.value = r.matchMedia(O(e)), c.value = s.value.matches);
7407
- }), Zn(s, "change", (e) => {
7409
+ }), Qn(s, "change", (e) => {
7408
7410
  c.value = e.matches;
7409
7411
  }, { passive: !0 }), n(() => c.value);
7410
7412
  }
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 = () => {
7413
+ function ir(e = {}) {
7414
+ let { window: t = Xn, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: a = !0, type: o = "inner" } = e, s = E(n), c = E(r), l = () => {
7413
7415
  if (t) if (o === "outer") s.value = t.outerWidth, c.value = t.outerHeight;
7414
7416
  else if (o === "visual" && t.visualViewport) {
7415
7417
  let { width: e, height: n, scale: r } = t.visualViewport;
7416
7418
  s.value = Math.round(e * r), c.value = Math.round(n * r);
7417
7419
  } else a ? (s.value = t.innerWidth, c.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, c.value = t.document.documentElement.clientHeight);
7418
7420
  };
7419
- l(), qn(l);
7421
+ l(), Jn(l);
7420
7422
  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()), {
7423
+ return Qn("resize", l, u), t && o === "visual" && t.visualViewport && Qn(t.visualViewport, "resize", l, u), i && j(rr("(orientation: portrait)"), () => l()), {
7422
7424
  width: s,
7423
7425
  height: c
7424
7426
  };
7425
7427
  }
7426
7428
  //#endregion
7427
7429
  //#region src/utils/constructorUtils.js
7428
- function ir(e) {
7430
+ function ar(e) {
7429
7431
  switch (e) {
7430
7432
  case "LxTextInput": return {
7431
7433
  type: "string",
@@ -7569,7 +7571,7 @@ function ir(e) {
7569
7571
  }
7570
7572
  return null;
7571
7573
  }
7572
- function ar() {
7574
+ function or() {
7573
7575
  return [
7574
7576
  {
7575
7577
  id: "LxTextInput",
@@ -7660,7 +7662,7 @@ function ar() {
7660
7662
  }
7661
7663
  //#endregion
7662
7664
  //#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 = {
7665
+ var sr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, cr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, lr = { class: "custom-auto-complete-item-with-icon lx-item-display" }, ur = { class: "custom-auto-complete-item-with-icon lx-item-display" }, dr = {
7664
7666
  __name: "PropRendererItem",
7665
7667
  props: {
7666
7668
  item: {
@@ -7700,12 +7702,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7700
7702
  set(e) {
7701
7703
  u("update:modelValue", e);
7702
7704
  }
7703
- }), f = n(() => J.getAvailableIcons("cds")?.map((e) => ({
7705
+ }), f = n(() => Y.getAvailableIcons("cds")?.map((e) => ({
7704
7706
  id: e,
7705
7707
  name: e
7706
7708
  })));
7707
7709
  function p(e = "cds") {
7708
- return J.getAvailableIcons(e || "cds")?.map((e) => ({
7710
+ return Y.getAvailableIcons(e || "cds")?.map((e) => ({
7709
7711
  id: e,
7710
7712
  name: e
7711
7713
  }));
@@ -7748,26 +7750,26 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7748
7750
  d.value.index = e, E.value.close();
7749
7751
  }
7750
7752
  }
7751
- let P = C(), F = C(null), L = C();
7752
- function ne() {
7753
- P.value.open(), F.value = q.objectClone(c.modelValue[c.name]);
7753
+ let P = C(), ee = C(null), I = C();
7754
+ function re() {
7755
+ P.value.open(), ee.value = q.objectClone(c.modelValue[c.name]);
7754
7756
  }
7755
- function re(e) {
7757
+ function L(e) {
7756
7758
  if (e === "save") {
7757
- let e = L.value.clearModel(F.value);
7759
+ let e = I.value.clearModel(ee.value);
7758
7760
  d.value[c.name] = e, P.value.close();
7759
7761
  }
7760
7762
  }
7761
- let R = C(), z = C(null), ie = C(null);
7762
- function V(e) {
7763
+ let ie = C(), ae = C(null), R = C(null);
7764
+ function oe(e) {
7763
7765
  return typeof e == "object" && !!e && !Array.isArray(e);
7764
7766
  }
7765
- function ae(e) {
7767
+ function se(e) {
7766
7768
  let t = {};
7767
7769
  function n(e, r = "") {
7768
- V(e) && Object.entries(e).forEach(([e, i]) => {
7770
+ oe(e) && Object.entries(e).forEach(([e, i]) => {
7769
7771
  let a = r ? `${r}.${e}` : e;
7770
- V(i) ? n(i, a) : t[a] = { type: "string" };
7772
+ oe(i) ? n(i, a) : t[a] = { type: "string" };
7771
7773
  });
7772
7774
  }
7773
7775
  return n(e), {
@@ -7775,19 +7777,19 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7775
7777
  properties: t
7776
7778
  };
7777
7779
  }
7778
- function oe(e, t) {
7780
+ function ce(e, t) {
7779
7781
  let n = {};
7780
7782
  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);
7783
+ oe(t) && Object.entries(t).forEach(([t, a]) => {
7784
+ let o = i ? `${i}.${t}` : t, s = oe(e) ? e[t] : void 0;
7785
+ oe(a) ? r(s, a, o) : s === void 0 ? n[o] = q.objectClone(a) : n[o] = q.objectClone(s);
7784
7786
  });
7785
7787
  }
7786
7788
  return r(e, t), n;
7787
7789
  }
7788
- function se(e) {
7790
+ function le(e) {
7789
7791
  let t = {};
7790
- return V(e) && Object.entries(e).forEach(([e, n]) => {
7792
+ return oe(e) && Object.entries(e).forEach(([e, n]) => {
7791
7793
  if (!e.includes(".")) {
7792
7794
  t[e] = q.objectClone(n);
7793
7795
  return;
@@ -7798,24 +7800,24 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7798
7800
  i[e] = q.objectClone(n);
7799
7801
  return;
7800
7802
  }
7801
- V(i[e]) || (i[e] = {}), i = i[e];
7803
+ oe(i[e]) || (i[e] = {}), i = i[e];
7802
7804
  });
7803
7805
  }), t;
7804
7806
  }
7805
- function ce() {
7806
- R.value.open();
7807
+ function ue() {
7808
+ ie.value.open();
7807
7809
  let e = c.item?.options || {};
7808
- ie.value = ae(e), z.value = oe(c.modelValue.texts, e);
7810
+ R.value = se(e), ae.value = ce(c.modelValue.texts, e);
7809
7811
  }
7810
- function ue(e) {
7811
- e === "save" && (d.value.texts = se(z.value), R.value.close());
7812
+ function fe(e) {
7813
+ e === "save" && (d.value.texts = le(ae.value), ie.value.close());
7812
7814
  }
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) {
7815
+ let pe = C(""), me = n(() => pe.value ? { properties: Object.fromEntries(Object.entries(R.value.properties).filter(([e]) => e.toLowerCase().includes(pe.value.toLowerCase()))) } : R.value);
7816
+ function he(e) {
7815
7817
  return c.name === "columnSpan" || c.name === "rowSpan" || c.name === "columnCount" || c.name === "cadenceOfMinutes" || c.name === "cadenceOfSeconds" ? "tags" : e.length > 5 ? "dropdown" : "default";
7816
7818
  }
7817
7819
  return (n, s) => (S(), a(t, null, [
7818
- (h(e.item) || _(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (S(), r(k(B), {
7820
+ (h(e.item) || _(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (S(), r(k(z), {
7819
7821
  key: 0,
7820
7822
  modelValue: d.value[e.name],
7821
7823
  "onUpdate:modelValue": s[0] ||= (t) => d.value[e.name] = t,
@@ -7839,7 +7841,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7839
7841
  modelValue: d.value[e.name],
7840
7842
  "onUpdate:modelValue": s[4] ||= (t) => d.value[e.name] = t,
7841
7843
  items: v(e.item.options),
7842
- variant: pe(e.item.options),
7844
+ variant: he(e.item.options),
7843
7845
  nullable: e.item.options.includes(null),
7844
7846
  convertToString: !h(e.item)
7845
7847
  }, null, 8, [
@@ -7849,21 +7851,21 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7849
7851
  "nullable",
7850
7852
  "convertToString"
7851
7853
  ])) : i("", !0),
7852
- c.name === "icon" ? (S(), r(k(te), {
7854
+ c.name === "icon" ? (S(), r(k(ne), {
7853
7855
  key: 5,
7854
7856
  modelValue: d.value[e.name],
7855
7857
  "onUpdate:modelValue": s[5] ||= (t) => d.value[e.name] = t,
7856
7858
  items: f.value
7857
7859
  }, {
7858
- customItem: N((e) => [o("div", or, [l(k(he), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7860
+ customItem: N((e) => [o("div", sr, [l(k(_e), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
7859
7861
  _: 1
7860
7862
  }, 8, ["modelValue", "items"])) : i("", !0),
7861
- c.name === "index" ? (S(), a(t, { key: 6 }, [l(k(I), {
7863
+ c.name === "index" ? (S(), a(t, { key: 6 }, [l(k(F), {
7862
7864
  label: e.texts.edit,
7863
7865
  kind: "secondary",
7864
7866
  icon: "edit",
7865
7867
  onClick: j
7866
- }, null, 8, ["label"]), l(k(Ce), {
7868
+ }, null, 8, ["label"]), l(k(Te), {
7867
7869
  ref_key: "indexModal",
7868
7870
  ref: E,
7869
7871
  label: e.texts?.editing,
@@ -7880,7 +7882,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7880
7882
  texts: { close: e.texts.close },
7881
7883
  onActionClick: M
7882
7884
  }, {
7883
- default: N(() => [l(k(ee), {
7885
+ default: N(() => [l(k(te), {
7884
7886
  ref_key: "indexList",
7885
7887
  ref: A,
7886
7888
  modelValue: O.value,
@@ -7909,12 +7911,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7909
7911
  "actionDefinitions",
7910
7912
  "texts"
7911
7913
  ])], 64)) : i("", !0),
7912
- c.name === "actionDefinitions" ? (S(), a(t, { key: 7 }, [l(k(I), {
7914
+ c.name === "actionDefinitions" ? (S(), a(t, { key: 7 }, [l(k(F), {
7913
7915
  label: e.texts.edit,
7914
7916
  icon: "edit",
7915
7917
  kind: "secondary",
7916
7918
  onClick: w
7917
- }, null, 8, ["label"]), l(k(Ce), {
7919
+ }, null, 8, ["label"]), l(k(Te), {
7918
7920
  ref_key: "actionDefinitionsModal",
7919
7921
  ref: y,
7920
7922
  label: e.texts?.editing,
@@ -7931,7 +7933,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
7931
7933
  texts: { close: e.texts.close },
7932
7934
  onActionClick: T
7933
7935
  }, {
7934
- default: N(() => [l(k(ee), {
7936
+ default: N(() => [l(k(te), {
7935
7937
  ref_key: "actionDefList",
7936
7938
  ref: x,
7937
7939
  modelValue: b.value,
@@ -8006,12 +8008,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8006
8008
  label: "icon",
8007
8009
  columnSpan: "2"
8008
8010
  }, {
8009
- default: N(() => [l(k(te), {
8011
+ default: N(() => [l(k(ne), {
8010
8012
  modelValue: e.icon,
8011
8013
  "onUpdate:modelValue": (t) => e.icon = t,
8012
8014
  items: p(e?.iconSet)
8013
8015
  }, {
8014
- customItem: N((t) => [o("div", sr, [l(k(he), {
8016
+ customItem: N((t) => [o("div", cr, [l(k(_e), {
8015
8017
  value: t.name,
8016
8018
  iconSet: e?.iconSet || "cds"
8017
8019
  }, null, 8, ["value", "iconSet"]), o("p", null, D(t.name), 1)])]),
@@ -8127,12 +8129,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8127
8129
  label: "badgeIcon",
8128
8130
  columnSpan: "2"
8129
8131
  }, {
8130
- default: N(() => [l(k(te), {
8132
+ default: N(() => [l(k(ne), {
8131
8133
  modelValue: e.badgeIcon,
8132
8134
  "onUpdate:modelValue": (t) => e.badgeIcon = t,
8133
8135
  items: f.value
8134
8136
  }, {
8135
- customItem: N((e) => [o("div", cr, [l(k(he), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
8137
+ customItem: N((e) => [o("div", lr, [l(k(_e), { value: e.name }, null, 8, ["value"]), o("p", null, D(e.name), 1)])]),
8136
8138
  _: 2
8137
8139
  }, 1032, [
8138
8140
  "modelValue",
@@ -8160,12 +8162,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8160
8162
  "actionDefinitions",
8161
8163
  "texts"
8162
8164
  ])], 64)) : i("", !0),
8163
- c.name === "items" ? (S(), a(t, { key: 8 }, [l(k(I), {
8165
+ c.name === "items" ? (S(), a(t, { key: 8 }, [l(k(F), {
8164
8166
  label: e.texts.edit,
8165
8167
  icon: "edit",
8166
8168
  kind: "secondary",
8167
- onClick: ne
8168
- }, null, 8, ["label"]), l(k(Ce), {
8169
+ onClick: re
8170
+ }, null, 8, ["label"]), l(k(Te), {
8169
8171
  ref_key: "itemsModal",
8170
8172
  ref: P,
8171
8173
  label: e.texts?.editing,
@@ -8180,13 +8182,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8180
8182
  kind: "secondary"
8181
8183
  }],
8182
8184
  texts: { close: e.texts.close },
8183
- onActionClick: re
8185
+ onActionClick: L
8184
8186
  }, {
8185
- default: N(() => [l(k(ee), {
8187
+ default: N(() => [l(k(te), {
8186
8188
  ref_key: "itemsList",
8187
- ref: L,
8188
- modelValue: F.value,
8189
- "onUpdate:modelValue": s[8] ||= (e) => F.value = e,
8189
+ ref: I,
8190
+ modelValue: ee.value,
8191
+ "onUpdate:modelValue": s[8] ||= (e) => ee.value = e,
8190
8192
  columnCount: 4,
8191
8193
  requiredMode: "required-asterisk"
8192
8194
  }, {
@@ -8212,12 +8214,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8212
8214
  _: 2
8213
8215
  }, 1024),
8214
8216
  l(k(W), { label: "icon" }, {
8215
- default: N(() => [l(k(te), {
8217
+ default: N(() => [l(k(ne), {
8216
8218
  modelValue: n.icon,
8217
8219
  "onUpdate:modelValue": (e) => n.icon = e,
8218
8220
  items: p(n?.iconSet)
8219
8221
  }, {
8220
- customItem: N((e) => [o("div", lr, [l(k(he), {
8222
+ customItem: N((e) => [o("div", ur, [l(k(_e), {
8221
8223
  value: e.name,
8222
8224
  iconSet: n?.iconSet || "cds"
8223
8225
  }, null, 8, ["value", "iconSet"]), o("p", null, D(e.name), 1)])]),
@@ -8295,14 +8297,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8295
8297
  "actionDefinitions",
8296
8298
  "texts"
8297
8299
  ])], 64)) : i("", !0),
8298
- c.name === "texts" ? (S(), a(t, { key: 9 }, [l(k(I), {
8300
+ c.name === "texts" ? (S(), a(t, { key: 9 }, [l(k(F), {
8299
8301
  label: e.texts.edit,
8300
8302
  icon: "edit",
8301
8303
  kind: "secondary",
8302
- onClick: ce
8303
- }, null, 8, ["label"]), l(k(Ce), {
8304
+ onClick: ue
8305
+ }, null, 8, ["label"]), l(k(Te), {
8304
8306
  ref_key: "textsModal",
8305
- ref: R,
8307
+ ref: ie,
8306
8308
  label: e.texts?.editing,
8307
8309
  size: "l",
8308
8310
  actionDefinitions: [{
@@ -8315,10 +8317,10 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8315
8317
  kind: "secondary"
8316
8318
  }],
8317
8319
  texts: { close: e.texts.close },
8318
- onActionClick: ue,
8319
- onClose: s[11] ||= (e) => de.value = ""
8320
+ onActionClick: fe,
8321
+ onClose: s[11] ||= (e) => pe.value = ""
8320
8322
  }, {
8321
- default: N(() => [l(k(H), {
8323
+ default: N(() => [l(k(B), {
8322
8324
  columnCount: 3,
8323
8325
  kind: "stripped"
8324
8326
  }, {
@@ -8328,21 +8330,21 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8328
8330
  }, {
8329
8331
  default: N(() => [l(k(G), { horizontalAlignment: "stretch" }, {
8330
8332
  default: N(() => [l(k(K), {
8331
- modelValue: de.value,
8332
- "onUpdate:modelValue": s[9] ||= (e) => de.value = e,
8333
+ modelValue: pe.value,
8334
+ "onUpdate:modelValue": s[9] ||= (e) => pe.value = e,
8333
8335
  kind: "search",
8334
8336
  placeholder: e.texts.searchText
8335
- }, null, 8, ["modelValue", "placeholder"]), Object.keys(fe.value?.properties || {}).length ? i("", !0) : (S(), r(k(le), {
8337
+ }, null, 8, ["modelValue", "placeholder"]), Object.keys(me.value?.properties || {}).length ? i("", !0) : (S(), r(k(de), {
8336
8338
  key: 0,
8337
- label: `${e.texts?.notFoundSearch} ${de.value}`
8339
+ label: `${e.texts?.notFoundSearch} ${pe.value}`
8338
8340
  }, null, 8, ["label"]))]),
8339
8341
  _: 1
8340
8342
  })]),
8341
8343
  _: 1
8342
- }), l(jn, {
8343
- modelValue: z.value,
8344
- "onUpdate:modelValue": s[10] ||= (e) => z.value = e,
8345
- schema: fe.value
8344
+ }), l(Mn, {
8345
+ modelValue: ae.value,
8346
+ "onUpdate:modelValue": s[10] ||= (e) => ae.value = e,
8347
+ schema: me.value
8346
8348
  }, null, 8, ["modelValue", "schema"])]),
8347
8349
  _: 1
8348
8350
  })]),
@@ -8354,7 +8356,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8354
8356
  ])], 64)) : i("", !0)
8355
8357
  ], 64));
8356
8358
  }
8357
- }, dr = {
8359
+ }, fr = {
8358
8360
  __name: "ConstructorPropRenderer",
8359
8361
  props: {
8360
8362
  componentName: {
@@ -8505,7 +8507,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8505
8507
  function E(e, t) {
8506
8508
  return t === "header" ? d.value.title : d.value.lx?.[t]?.properties?.text?.lx?.value;
8507
8509
  }
8508
- let D = Kn((e) => {
8510
+ let D = qn((e) => {
8509
8511
  c("update:schemaKey", e);
8510
8512
  }, 500), O = n({
8511
8513
  get() {
@@ -8519,11 +8521,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8519
8521
  O.value = s.schemaKey, j.value += 1;
8520
8522
  }
8521
8523
  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), {
8524
+ !Object.keys(y.value).length && !Object.keys(b.value).length && !Object.keys(x.value).length && !v.value ? (S(), r(k(de), {
8523
8525
  key: 0,
8524
8526
  label: e.searchString ? `${e.texts.notFoundSearch} ${JSON.stringify(s.searchString)}` : e.texts.notFoundProps
8525
8527
  }, null, 8, ["label"])) : i("", !0),
8526
- Object.keys(y.value).length ? (S(), r(k(H), {
8528
+ Object.keys(y.value).length ? (S(), r(k(B), {
8527
8529
  key: 1,
8528
8530
  kind: "stripped"
8529
8531
  }, {
@@ -8531,7 +8533,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8531
8533
  key: t.name,
8532
8534
  label: `:${n}`
8533
8535
  }, {
8534
- default: N(() => [l(ur, {
8536
+ default: N(() => [l(dr, {
8535
8537
  modelValue: u.value,
8536
8538
  item: t,
8537
8539
  name: n,
@@ -8558,11 +8560,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8558
8560
  }, 1032, ["label"])), [[A, e.extra]])), 128))]),
8559
8561
  _: 1
8560
8562
  })) : i("", !0),
8561
- Object.keys(b.value).length || v.value ? (S(), r(k(ue), {
8563
+ Object.keys(b.value).length || v.value ? (S(), r(k(fe), {
8562
8564
  key: 2,
8563
8565
  label: e.texts.additionalLabel
8564
8566
  }, {
8565
- default: N(() => [l(k(H), { kind: "stripped" }, {
8567
+ default: N(() => [l(k(B), { kind: "stripped" }, {
8566
8568
  default: N(() => [v.value ? (S(), r(k(W), {
8567
8569
  key: 0,
8568
8570
  label: "schemaKey"
@@ -8581,7 +8583,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8581
8583
  "modelValue",
8582
8584
  "invalid",
8583
8585
  "invalidationMessage"
8584
- ])), e.schemaKeyError ? (S(), r(k(I), {
8586
+ ])), e.schemaKeyError ? (S(), r(k(F), {
8585
8587
  key: 0,
8586
8588
  icon: "reset",
8587
8589
  kind: "tertiary",
@@ -8596,7 +8598,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8596
8598
  key: t.name,
8597
8599
  label: `:${n}`
8598
8600
  }, {
8599
- default: N(() => [l(ur, {
8601
+ default: N(() => [l(dr, {
8600
8602
  modelValue: u.value,
8601
8603
  item: t,
8602
8604
  name: n,
@@ -8615,16 +8617,16 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8615
8617
  })]),
8616
8618
  _: 1
8617
8619
  }, 8, ["label"])) : i("", !0),
8618
- Object.keys(x.value).length ? (S(), r(k(ue), {
8620
+ Object.keys(x.value).length ? (S(), r(k(fe), {
8619
8621
  key: 3,
8620
8622
  label: e.texts.modeLabel
8621
8623
  }, {
8622
- default: N(() => [l(k(H), { kind: "stripped" }, {
8624
+ default: N(() => [l(k(B), { kind: "stripped" }, {
8623
8625
  default: N(() => [(S(!0), a(t, null, w(x.value, (t, n) => (S(), r(k(W), {
8624
8626
  key: t.name,
8625
8627
  label: `:${n}`
8626
8628
  }, {
8627
- default: N(() => [l(ur, {
8629
+ default: N(() => [l(dr, {
8628
8630
  modelValue: u.value,
8629
8631
  item: t,
8630
8632
  name: n,
@@ -8645,23 +8647,23 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8645
8647
  }, 8, ["label"])) : i("", !0)
8646
8648
  ], 64));
8647
8649
  }
8648
- }, fr = { class: "lx-panel" }, pr = { class: "button-side" }, mr = {
8650
+ }, pr = { class: "lx-panel" }, mr = { class: "button-side" }, hr = {
8649
8651
  key: 0,
8650
8652
  class: "panel-side"
8651
- }, hr = { class: "header-wrapper" }, gr = {
8653
+ }, gr = { class: "header-wrapper" }, _r = {
8652
8654
  key: 1,
8653
8655
  class: "header-wrapper"
8654
- }, _r = { key: 0 }, vr = { key: 1 }, yr = { key: 2 }, br = {
8656
+ }, vr = { key: 0 }, yr = { key: 1 }, br = { key: 2 }, xr = {
8655
8657
  key: 0,
8656
8658
  class: "panel-main"
8657
- }, xr = { class: "button-group" }, Sr = {
8659
+ }, Sr = { class: "button-group" }, Cr = {
8658
8660
  key: 1,
8659
8661
  class: "no-component-wrapper"
8660
- }, Cr = {
8662
+ }, wr = {
8661
8663
  key: 1,
8662
8664
  class: "panel-main lx-region",
8663
8665
  style: { padding: "0.25rem" }
8664
- }, wr = { key: 2 }, Tr = { class: "settings-wrapper" }, Er = /* @__PURE__ */ u({
8666
+ }, Tr = { key: 2 }, Er = { class: "settings-wrapper" }, Dr = /* @__PURE__ */ u({
8665
8667
  __name: "Panel",
8666
8668
  props: {
8667
8669
  componentName: {
@@ -8755,7 +8757,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8755
8757
  edit: "Labot",
8756
8758
  editing: "Labošana",
8757
8759
  searchText: "Meklēt"
8758
- }, d = n(() => He.getDisplayTexts(c.texts, u)), f = s, p = {
8760
+ }, d = n(() => J.getDisplayTexts(c.texts, u)), f = s, p = {
8759
8761
  LxTextInput: (e, t) => {
8760
8762
  e.type = "string", e.maxLength = t.maxlength, e.lx.mask = t.mask || "default", e.lx.kind = t.kind || "default", e.lx.scale = t.scale, e.lx.tooltip = t.tooltip, e.lx.disabled = t.disabled || !1, e.lx.uppercase = t.uppercase || !1, e.lx.convertToString = t.convertToString || !1, e.lx.placeholder = t.placeholder, e.lx.signed = t.signed || !1, e.lx.helperText = t.helperText, e.lx.helperTextKind = t.helperTextKind || "label", e.lx.texts = t.texts || {}, e.readOnly = t.readOnly || !1;
8761
8763
  },
@@ -8847,7 +8849,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8847
8849
  name: d.value?.containers,
8848
8850
  badgeTitle: d.value?.containers,
8849
8851
  expanded: !0
8850
- }]), b = C(ar());
8852
+ }]), b = C(or());
8851
8853
  function x() {
8852
8854
  return c.componentName === "LxForm" && !c.schemaInfo?.isSectionInFilterForm;
8853
8855
  }
@@ -8895,7 +8897,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8895
8897
  }), A = n(() => c.componentName ? c.navigation.map((e, t, n) => t === n.length - 1 ? {
8896
8898
  ...e,
8897
8899
  active: !0
8898
- } : e) : []), M = Kn((e) => {
8900
+ } : e) : []), M = qn((e) => {
8899
8901
  f("update:schemaKey", e);
8900
8902
  }, 500), P = n({
8901
8903
  get() {
@@ -8904,22 +8906,22 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8904
8906
  set(e) {
8905
8907
  M(e);
8906
8908
  }
8907
- }), F = C(null);
8908
- function ee() {
8909
+ }), ee = C(null);
8910
+ function te() {
8909
8911
  return c.componentName && c.componentName !== "LxViewLayout";
8910
8912
  }
8911
- function te() {
8913
+ function ne() {
8912
8914
  return c.componentName && c.componentName !== "LxViewLayout" && c.componentName !== "LxFilters";
8913
8915
  }
8914
- return (n, s) => (S(), a("div", fr, [o("div", pr, [
8915
- l(k(I), {
8916
+ return (n, s) => (S(), a("div", pr, [o("div", mr, [
8917
+ l(k(F), {
8916
8918
  icon: h.value ? "close-panel" : "open-panel",
8917
8919
  variant: "icon-only",
8918
8920
  label: h.value ? d.value?.closePanel : d.value?.openPanel,
8919
8921
  kind: "secondary",
8920
8922
  onClick: s[0] ||= (e) => v(h.value)
8921
8923
  }, null, 8, ["icon", "label"]),
8922
- l(k(I), {
8924
+ l(k(F), {
8923
8925
  icon: "config",
8924
8926
  variant: "icon-only",
8925
8927
  label: d.value?.config,
@@ -8927,7 +8929,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8927
8929
  active: h.value && g.value === "config",
8928
8930
  onClick: s[1] ||= (e) => (g.value = "config", h.value = !0)
8929
8931
  }, null, 8, ["label", "active"]),
8930
- l(k(I), {
8932
+ l(k(F), {
8931
8933
  icon: "components",
8932
8934
  variant: "icon-only",
8933
8935
  label: d.value?.components,
@@ -8935,7 +8937,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8935
8937
  active: h.value && g.value === "components",
8936
8938
  onClick: s[2] ||= (e) => (g.value = "components", h.value = !0)
8937
8939
  }, null, 8, ["label", "active"]),
8938
- l(k(I), {
8940
+ l(k(F), {
8939
8941
  icon: "settings",
8940
8942
  variant: "icon-only",
8941
8943
  label: d.value?.settings,
@@ -8943,33 +8945,33 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8943
8945
  active: h.value && g.value === "settings",
8944
8946
  onClick: s[3] ||= (e) => (g.value = "settings", h.value = !0)
8945
8947
  }, 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), {
8948
+ ]), h.value ? (S(), a("div", hr, [o("div", null, [
8949
+ o("div", { class: _(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (S(), r(k(ue), {
8948
8950
  key: 0,
8949
8951
  actionDefinitions: A.value,
8950
8952
  onActionClick: T
8951
8953
  }, {
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)])]),
8954
+ default: N(() => [o("div", gr, [e.componentName ? (S(), a(t, { key: 0 }, [o("p", null, D(e.componentName), 1), l(k(_e), { value: "menu" })], 64)) : i("", !0)])]),
8953
8955
  _: 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), {
8956
+ }, 8, ["actionDefinitions"])) : (S(), a("div", _r, [g.value === "components" ? (S(), a("p", vr, D(d.value?.components), 1)) : g.value === "settings" ? (S(), a("p", yr, D(d.value?.settings), 1)) : (S(), a("p", br, D(d.value?.actionPanel), 1))]))], 2),
8957
+ g.value === "config" ? (S(), a("div", xr, [
8958
+ o("div", Sr, [l(k(F), {
8957
8959
  icon: "copy",
8958
8960
  kind: "secondary",
8959
8961
  label: d.value?.duplicate,
8960
- disabled: !te(),
8962
+ disabled: !ne(),
8961
8963
  onClick: s[4] ||= (e) => f("duplicateComponent")
8962
- }, null, 8, ["label", "disabled"]), l(k(I), {
8964
+ }, null, 8, ["label", "disabled"]), l(k(F), {
8963
8965
  icon: "delete",
8964
8966
  kind: "secondary",
8965
8967
  label: d.value?.delete,
8966
- disabled: !ee(),
8968
+ disabled: !te(),
8967
8969
  destructive: !0,
8968
8970
  onClick: s[5] ||= (e) => f("removeComponent")
8969
8971
  }, null, 8, ["label", "disabled"])]),
8970
8972
  l(k(K), {
8971
- modelValue: F.value,
8972
- "onUpdate:modelValue": s[6] ||= (e) => F.value = e,
8973
+ modelValue: ee.value,
8974
+ "onUpdate:modelValue": s[6] ||= (e) => ee.value = e,
8973
8975
  kind: "search",
8974
8976
  placeholder: d.value?.searchProps,
8975
8977
  disabled: !e.componentName,
@@ -8979,13 +8981,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
8979
8981
  "placeholder",
8980
8982
  "disabled"
8981
8983
  ]),
8982
- e.componentName ? (S(), r(dr, {
8984
+ e.componentName ? (S(), r(fr, {
8983
8985
  key: 0,
8984
8986
  modelValue: O.value,
8985
8987
  "onUpdate:modelValue": s[7] ||= (e) => O.value = e,
8986
8988
  componentName: e.componentName,
8987
8989
  componentPropsDefinitions: e.componentPropsDefinitions,
8988
- searchString: F.value,
8990
+ searchString: ee.value,
8989
8991
  componentModel: m.value,
8990
8992
  "onUpdate:componentModel": s[8] ||= (e) => m.value = e,
8991
8993
  schemaKey: P.value,
@@ -9003,9 +9005,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9003
9005
  "schemaKeyError",
9004
9006
  "navigation",
9005
9007
  "texts"
9006
- ])) : (S(), a("div", Sr, [l(k(le), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
9008
+ ])) : (S(), a("div", Cr, [l(k(de), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
9007
9009
  ])) : i("", !0),
9008
- g.value === "components" ? (S(), a("div", Cr, [l(k(ve), {
9010
+ g.value === "components" ? (S(), a("div", wr, [l(k(be), {
9009
9011
  listType: "1",
9010
9012
  hasSearch: !0,
9011
9013
  items: w.value,
@@ -9025,32 +9027,32 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9025
9027
  "groupDefinitions",
9026
9028
  "texts"
9027
9029
  ])])) : i("", !0),
9028
- g.value === "settings" ? (S(), a("div", wr, [o("div", Tr, [
9029
- l(k(I), {
9030
+ g.value === "settings" ? (S(), a("div", Tr, [o("div", Er, [
9031
+ l(k(F), {
9030
9032
  kind: "secondary",
9031
9033
  label: d.value?.import,
9032
9034
  icon: "upload",
9033
9035
  onClick: s[11] ||= (e) => f("import")
9034
9036
  }, null, 8, ["label"]),
9035
- l(k(I), {
9037
+ l(k(F), {
9036
9038
  kind: "secondary",
9037
9039
  label: d.value?.export,
9038
9040
  icon: "save",
9039
9041
  onClick: s[12] ||= (e) => f("export")
9040
9042
  }, null, 8, ["label"]),
9041
- l(k(I), {
9043
+ l(k(F), {
9042
9044
  kind: "secondary",
9043
9045
  label: d.value?.editSchema,
9044
9046
  icon: "edit",
9045
9047
  onClick: s[13] ||= (e) => f("editSchema")
9046
9048
  }, null, 8, ["label"]),
9047
- l(k(I), {
9049
+ l(k(F), {
9048
9050
  kind: "secondary",
9049
9051
  label: d.value?.editModel,
9050
9052
  icon: "editItem",
9051
9053
  onClick: s[14] ||= (e) => f("editModel")
9052
9054
  }, null, 8, ["label"]),
9053
- l(k(I), {
9055
+ l(k(F), {
9054
9056
  kind: "secondary",
9055
9057
  label: d.value?.reportIssue,
9056
9058
  icon: "bug",
@@ -9059,7 +9061,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9059
9061
  ])])) : i("", !0)
9060
9062
  ])])) : i("", !0)]));
9061
9063
  }
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({
9064
+ }), Or = { id: "constructor-overlay" }, kr = { class: "highlight-toolbar" }, Ar = { class: "highlight-toolbar highlight-toolbar-remove" }, jr = { id: "constructor" }, Mr = { class: "code-display" }, Nr = { class: "code" }, Pr = { class: "import-switcher" }, Fr = { class: "component-add-text" }, Ir = { class: "lx-primary" }, Lr = { class: "lx-secondary" }, Rr = /* @__PURE__ */ u({
9063
9065
  __name: "Constructor",
9064
9066
  props: {
9065
9067
  schema: {
@@ -9158,44 +9160,44 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9158
9160
  metaMainLastModified: "Pēdējās izmaiņas",
9159
9161
  metaMainDataSize: "Datnes izmērs"
9160
9162
  }
9161
- }, u = n(() => He.getDisplayTexts(s.texts, c)), d = C({}), f = t, p = n({
9163
+ }, u = n(() => J.getDisplayTexts(s.texts, c)), d = C({}), f = t, p = n({
9162
9164
  get() {
9163
9165
  return s.schema;
9164
9166
  },
9165
9167
  set(e) {
9166
9168
  f("update:schema", e);
9167
9169
  }
9168
- }), { width: m, height: h } = rr(), _ = C([]), y = C(null), x = C(null), w = C(null), T = C(null), E = C(null), O = C({
9170
+ }), { width: m, height: h } = ir(), _ = C([]), y = C(null), x = C(null), w = C(null), T = C(null), E = C(null), O = C({
9169
9171
  visible: !1,
9170
9172
  style: {},
9171
9173
  el: null,
9172
9174
  padding: 2
9173
- }), M = C(), F = C({
9175
+ }), M = C(), ee = C({
9174
9176
  canPlaceInside: !1,
9175
9177
  key: null,
9176
9178
  path: null
9177
- }), ee = C({
9179
+ }), te = C({
9178
9180
  canMoveOut: !1,
9179
9181
  parentKey: null,
9180
9182
  parentPath: null,
9181
9183
  targetPath: null,
9182
9184
  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({
9185
+ }), ne = C(null), I = C(null), re = C(null), ie = C(null), ae = C(null), R = C(null), z = C("file"), oe = C(), se = C(null), le = C(null), ue = C(null), de = n(() => !R.value), fe = C(null), me = C(null), he = C(null), ge = C(null), B = C(), ve = C({
9184
9186
  label: null,
9185
9187
  description: null,
9186
9188
  kind: "danger",
9187
9189
  primaryAction: null,
9188
9190
  secondaryAction: null
9189
- }), _e = C({
9191
+ }), ye = C({
9190
9192
  canMoveBack: !1,
9191
9193
  canMoveForward: !1,
9192
9194
  moveOut: !1,
9193
9195
  canMoveForwardIn: !1
9194
9196
  });
9195
- function ye() {
9196
- _e.value.canMoveBack = !1, _e.value.canMoveForward = !1, _e.value.moveOut = !1, _e.value.canMoveForwardIn = !1;
9197
+ function xe() {
9198
+ ye.value.canMoveBack = !1, ye.value.canMoveForward = !1, ye.value.moveOut = !1, ye.value.canMoveForwardIn = !1;
9197
9199
  }
9198
- function be(e) {
9200
+ function Se(e) {
9199
9201
  if (O.value.el = e.target, !O.value.el) return;
9200
9202
  let t = O.value.el.getBoundingClientRect(), n = window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0, r = O.value.padding;
9201
9203
  O.value.style = {
@@ -9205,29 +9207,29 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9205
9207
  height: `${t.height + r * 2}px`
9206
9208
  }, O.value.visible = !0;
9207
9209
  }
9208
- function xe() {
9210
+ function Ce() {
9209
9211
  g(() => {
9210
- be({ target: O.value.el });
9212
+ Se({ target: O.value.el });
9211
9213
  });
9212
9214
  }
9213
- function Se(e) {
9215
+ function we(e) {
9214
9216
  let t = e?.replace(/-wrapper$/, "");
9215
9217
  return ze.get(t)?.type === "LxRow";
9216
9218
  }
9217
- function we(e, t) {
9218
- return t?.reduce((e, t) => He.isNil(e) ? void 0 : e[t], e);
9219
+ function V(e, t) {
9220
+ return t?.reduce((e, t) => J.isNil(e) ? void 0 : e[t], e);
9219
9221
  }
9220
- function U(e = null) {
9222
+ function H(e = null) {
9221
9223
  let t = e || M.value, n = [];
9222
9224
  return E.value = t?.split("."), E.value?.forEach((e) => {
9223
9225
  n.push("properties", e);
9224
9226
  }), n;
9225
9227
  }
9226
- function Te(e) {
9228
+ function U(e) {
9227
9229
  return e?.lx?.displayType;
9228
9230
  }
9229
9231
  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;
9232
+ return e && Object.prototype.hasOwnProperty.call(e, "properties") && e.properties ? U(e) === "form" ? Object.values(e.properties).some((e) => U(e) === "section") : !0 : !1;
9231
9233
  }
9232
9234
  function De(e) {
9233
9235
  if (!Array.isArray(e)) return !1;
@@ -9238,18 +9240,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9238
9240
  t.includes("LxSection", r + 1);
9239
9241
  }
9240
9242
  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";
9243
+ (!M.value || !t) && xe();
9244
+ let n = M.value?.split(".")?.slice(-1)[0], r = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, i = (r ? V(e, H(r)) : e)?.properties, a = Object.keys(i), o = a.indexOf(n), s = o >= 0 ? a[o + 1] : null, c = s ? i[s] : null, l = o > 0 ? a[o - 1] : null;
9245
+ ye.value.canMoveBack = !!l, ye.value.canMoveForward = !!s, ye.value.canMoveForwardIn = Ee(c) && y.value !== "LxSection";
9244
9246
  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);
9247
+ ye.value.moveOut = f && !De(_.value);
9246
9248
  }
9247
9249
  function ke() {
9248
9250
  document.getElementById("constructor")?.addEventListener("click", (e) => {
9249
9251
  let t = e.target, n = null;
9250
9252
  for (; t;) {
9251
- if (t.dataset.id && ze.get(t.dataset.id) || Se(t.id)) {
9252
- if (Se(t.id)) {
9253
+ if (t.dataset.id && ze.get(t.dataset.id) || we(t.id)) {
9254
+ if (we(t.id)) {
9253
9255
  let e = t.id?.replace(/-wrapper$/, "");
9254
9256
  n = ze.get(e);
9255
9257
  } else n = ze.get(t.dataset.id || t.id);
@@ -9257,9 +9259,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9257
9259
  }
9258
9260
  t = t.parentElement;
9259
9261
  }
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());
9262
+ n && (y.value = n.type, w.value = n.node.type.props, x.value = q.objectClone(n.props), Se({ target: t }), M.value = n.builderName, _.value = n.componentStack, ne.value = M.value?.includes(".") ? M.value?.split(".")?.slice(-1)[0] : M.value, he.value = null), T.value = V(p.value, H());
9261
9263
  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";
9264
+ I.value = V(p.value, H(r)?.slice(0, -1)), Oe(p.value, T.value), ge.value = "config";
9263
9265
  });
9264
9266
  }
9265
9267
  function W() {
@@ -9278,14 +9280,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9278
9280
  }
9279
9281
  function Me(e, t) {
9280
9282
  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;
9283
+ let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ? V(e, n) : e;
9282
9284
  !i || !Object.prototype.hasOwnProperty.call(i, r) || delete i[r];
9283
9285
  }
9284
9286
  function K(e, t) {
9285
9287
  let n = e?.split(".")?.filter(Boolean) || [], r = t?.split(".")?.filter(Boolean) || [];
9286
9288
  if (!n.length || !r.length) return;
9287
- let i = we(d.value, n);
9288
- if (He.isNil(i)) return;
9289
+ let i = V(d.value, n);
9290
+ if (J.isNil(i)) return;
9289
9291
  let a = q.objectClone(d.value || {});
9290
9292
  je(a, r, i), Me(a, n), d.value = a;
9291
9293
  }
@@ -9295,17 +9297,17 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9295
9297
  t.push("properties", e);
9296
9298
  });
9297
9299
  let n = q.objectClone(p.value);
9298
- je(n, t, e), p.value = n, T.value = e, xe();
9300
+ je(n, t, e), p.value = n, T.value = e, Ce();
9299
9301
  }
9300
9302
  function Ie() {
9301
- F.value = {
9303
+ ee.value = {
9302
9304
  canPlaceInside: !1,
9303
9305
  key: null,
9304
9306
  path: null
9305
9307
  };
9306
9308
  }
9307
9309
  function Le() {
9308
- ee.value = {
9310
+ te.value = {
9309
9311
  canMoveOut: !1,
9310
9312
  parentKey: null,
9311
9313
  parentPath: null,
@@ -9315,8 +9317,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9315
9317
  }
9316
9318
  function Re(e, t) {
9317
9319
  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();
9320
+ let n = He.generateUUID();
9321
+ for (; Object.prototype.hasOwnProperty.call(t, n);) n = He.generateUUID();
9320
9322
  return n;
9321
9323
  }
9322
9324
  function Be(e) {
@@ -9325,7 +9327,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9325
9327
  function Ve(e) {
9326
9328
  return Be(e).join(".");
9327
9329
  }
9328
- function J(e) {
9330
+ function Y(e) {
9329
9331
  e && g(() => {
9330
9332
  let t = Array.from(ze.all().entries()).find(([, t]) => t?.builderName === e);
9331
9333
  if (!t) return;
@@ -9338,15 +9340,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9338
9340
  }
9339
9341
  function Ue() {
9340
9342
  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;
9343
+ let e = M.value, t = M.value?.split(".")?.slice(-1)[0], n = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, r = n ? H(n) : null, i = q.objectClone(p.value), a = r ? V(i, r) : i, o = a?.properties;
9342
9344
  if (!o || !t) return;
9343
9345
  let s = Object.keys(o), c = s[s.indexOf(t) + 1];
9344
9346
  if (!c) return;
9345
9347
  let l = o[t], u = o[c];
9346
9348
  if (!l || !u || !Ee(u)) return;
9347
9349
  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");
9350
+ if (U(u) === "form") {
9351
+ let e = Object.entries(u.properties || {}).find(([, e]) => U(e) === "section");
9350
9352
  if (!e) return;
9351
9353
  let [t, n] = e;
9352
9354
  d = n, f = [f, t].filter(Boolean).join(".");
@@ -9355,9 +9357,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9355
9357
  d.properties = {
9356
9358
  ...h,
9357
9359
  [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;
9360
+ }, je(i, H(f), d), a.properties = Object.fromEntries(Object.entries(o).filter(([e]) => e !== t)), r && je(i, r, a), p.value = i;
9359
9361
  let _ = [f, g].filter(Boolean).join(".");
9360
- K(e, _), J(_);
9362
+ K(e, _), Y(_);
9361
9363
  }
9362
9364
  function We(e) {
9363
9365
  if (!e?.includes(".")) return {
@@ -9371,7 +9373,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9371
9373
  };
9372
9374
  }
9373
9375
  function Ge(e, t) {
9374
- let { parent: n, key: r } = We(e), i = n ? U(n) : null, a = i ? we(t, i) : t;
9376
+ let { parent: n, key: r } = We(e), i = n ? H(n) : null, a = i ? V(t, i) : t;
9375
9377
  return {
9376
9378
  schema: a,
9377
9379
  schemaPath: i,
@@ -9379,8 +9381,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9379
9381
  anchorKey: r
9380
9382
  };
9381
9383
  }
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") {
9384
+ function X({ parentSchema: e, grandParentSchema: t, grandParentSchemaPath: n, grandParentProperties: r, parentKey: i, grandParentPath: a, schemaClone: o }) {
9385
+ if (U(e) === "section" && U(t) === "form") {
9384
9386
  let e = Ge(a, o);
9385
9387
  if (e) return e;
9386
9388
  }
@@ -9391,15 +9393,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9391
9393
  anchorKey: i
9392
9394
  };
9393
9395
  }
9394
- function X(e) {
9396
+ function Ke(e) {
9395
9397
  if (!M.value || e !== "next" && e !== "previous") return;
9396
9398
  let t = M.value, { parent: n, key: r } = We(M.value);
9397
9399
  if (!n) return;
9398
9400
  let { parent: i, key: a } = We(n);
9399
9401
  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;
9402
+ let o = q.objectClone(p.value), s = n ? H(n) : null, c = i ? H(i) : null, l = s ? V(o, s) : o, u = c ? V(o, c) : o, d = l?.properties, f = u?.properties;
9401
9403
  if (!d || !r || !a) return;
9402
- let { schema: m, schemaPath: h, properties: g, anchorKey: _ } = Ke({
9404
+ let { schema: m, schemaPath: h, properties: g, anchorKey: _ } = X({
9403
9405
  parentSchema: l,
9404
9406
  grandParentSchema: u,
9405
9407
  grandParentSchemaPath: c,
@@ -9418,7 +9420,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9418
9420
  e === _ && (x[b] = y), x[e] = g[e];
9419
9421
  }), m.properties = x, s && je(o, s, l), h && je(o, h, m), p.value = o;
9420
9422
  let S = [Ve(h), b].filter(Boolean).join(".");
9421
- K(t, S), J(S);
9423
+ K(t, S), Y(S);
9422
9424
  }
9423
9425
  function qe(e, t, n) {
9424
9426
  if (t && e === "LxDateTimeRange") {
@@ -9428,13 +9430,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9428
9430
  }
9429
9431
  function Je(e) {
9430
9432
  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 = {};
9433
+ M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9434
+ let n = t ? V(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = He.generateUUID(), a = ar(e), o = n.properties, s = {};
9433
9435
  Object.keys(o).forEach((e) => {
9434
9436
  s[e] = o[e], e === r && (s[i] = a);
9435
9437
  }), n.properties = s;
9436
9438
  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("."));
9439
+ je(c, t, n), p.value = c, qe(e, i, t), Y([Ve(t), i].filter(Boolean).join("."));
9438
9440
  }
9439
9441
  function Ye(e) {
9440
9442
  if (!M.value) return !1;
@@ -9442,26 +9444,26 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9442
9444
  if (!n) return !1;
9443
9445
  let r = n?.includes(".") ? n?.split(".")?.slice(0, -1)?.join(".") : null, i = n?.split(".")?.slice(-1)[0] || null;
9444
9446
  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";
9447
+ let a = q.objectClone(p.value), o = V(a, H(n)), s = o?.properties?.[t], c = U(s) === "section", l = U(o) === "form";
9446
9448
  if (!c || !l) return !1;
9447
- let u = r ? U(r) : null, d = u ? we(a, u) : a, f = d?.properties;
9449
+ let u = r ? H(r) : null, d = u ? V(a, u) : a, f = d?.properties;
9448
9450
  if (!f) return !1;
9449
- let m = Re(Y.generateUUID(), f), h = ir(e), g = {};
9451
+ let m = Re(He.generateUUID(), f), h = ar(e), g = {};
9450
9452
  return Object.keys(f).forEach((e) => {
9451
9453
  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;
9454
+ }), d.properties = g, u && je(a, u, d), p.value = a, qe(e, m, u), Y([Ve(u), m].filter(Boolean).join(".")), !0;
9453
9455
  }
9454
9456
  function Xe(e) {
9455
9457
  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 = {};
9458
+ t = H(M.value?.split(".")?.join("."));
9459
+ let n = t ? V(p.value, t) : p.value, r = Object.keys(n.properties || {})[Object.keys(n.properties || {}).length - 1], i = He.generateUUID(), a = ar(e), o = n.properties, s = {};
9458
9460
  Object.keys(o).forEach((e) => {
9459
9461
  s[e] = o[e];
9460
9462
  }), r ? Object.keys(s).forEach((e) => {
9461
9463
  e === r && (s[i] = a);
9462
9464
  }) : s[i] = a, n.properties = s;
9463
9465
  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("."));
9466
+ je(c, t, n), p.value = c, qe(e, i, t), Y([Ve(t), i].filter(Boolean).join("."));
9465
9467
  }
9466
9468
  function Ze(e) {
9467
9469
  let t = null;
@@ -9471,15 +9473,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9471
9473
  }));
9472
9474
  }
9473
9475
  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);
9476
+ me.value = e, y.value === "LxViewLayout" ? Xe(e) : y.value === "LxForm" || y.value === "LxSection" ? e === "LxSection" || _.value.some((e) => e.name === "LxFilters") ? Xe(e) : fe.value.open() : Je(e);
9475
9477
  }
9476
9478
  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());
9479
+ t === "inside" ? (Xe(me.value), fe.value.close()) : t === "next" && (y.value === "LxSection" && Ye(me.value) || Je(me.value), fe.value.close());
9478
9480
  }
9479
9481
  function $e() {
9480
9482
  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 = {};
9483
+ M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9484
+ let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
9483
9485
  Object.keys(r).forEach((e) => {
9484
9486
  e !== n && (i[e] = r[e]);
9485
9487
  }), t.properties = i;
@@ -9488,18 +9490,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9488
9490
  }
9489
9491
  function et() {
9490
9492
  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 = {};
9493
+ M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9494
+ let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = He.generateUUID(), i = q.objectClone(t.properties[n]), a = t.properties, o = {};
9493
9495
  Object.keys(a).forEach((e) => {
9494
9496
  o[e] = a[e], e === n && (o[r] = i);
9495
9497
  }), t.properties = o;
9496
9498
  let s = q.objectClone(p.value);
9497
- je(s, e, t), p.value = s, J([Ve(e), r].filter(Boolean).join("."));
9499
+ je(s, e, t), p.value = s, Y([Ve(e), r].filter(Boolean).join("."));
9498
9500
  }
9499
9501
  function tt(e) {
9500
9502
  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);
9503
+ M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
9504
+ let n = t ? V(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = n.properties, a = {}, o = Object.keys(i), s = o.indexOf(r);
9503
9505
  if (e === "up" && s > 0 || e === "down" && s < o.length - 1) {
9504
9506
  e === "up" ? o.forEach((e, t) => {
9505
9507
  t === s - 1 && (a[r] = i[r]), e !== r && (a[e] = i[e]);
@@ -9508,12 +9510,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9508
9510
  }), n.properties = a;
9509
9511
  let c = q.objectClone(p.value);
9510
9512
  je(c, t, n), p.value = c, g(() => {
9511
- xe(), Oe(p.value, T.value);
9513
+ Ce(), Oe(p.value, T.value);
9512
9514
  });
9513
9515
  }
9514
9516
  }
9515
9517
  function nt() {
9516
- ne.value.open();
9518
+ re.value.open();
9517
9519
  }
9518
9520
  function rt() {
9519
9521
  navigator.clipboard.writeText(JSON.stringify(p.value, null, 2)), f("schemaCopy");
@@ -9526,7 +9528,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9526
9528
  e === "download" ? it() : e === "copy" && rt();
9527
9529
  }
9528
9530
  function ot() {
9529
- B.value = "file", V.value = null, R.value.open();
9531
+ z.value = "file", oe.value = null, ie.value.open();
9530
9532
  }
9531
9533
  function st(e) {
9532
9534
  try {
@@ -9542,58 +9544,58 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9542
9544
  }
9543
9545
  function lt(e) {
9544
9546
  if (e?.length === 0) {
9545
- z.value = [], ie.value = null;
9547
+ ae.value = [], R.value = null;
9546
9548
  return;
9547
9549
  }
9548
- z.value = e;
9550
+ ae.value = e;
9549
9551
  let t = e[0].content?.split(",")[1];
9550
9552
  if (!t) {
9551
- ie.value = null, f("error", "Invalid file content");
9553
+ R.value = null, f("error", "Invalid file content");
9552
9554
  return;
9553
9555
  }
9554
- ie.value = ct(t);
9556
+ R.value = ct(t);
9555
9557
  }
9556
9558
  function ut() {
9557
9559
  O.value.visible = !1, y.value = null, _.value = [], T.value = null, Ie(), Le();
9558
9560
  }
9559
9561
  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");
9562
+ if (e === "save" && R.value) {
9563
+ if (oe.value = null, !st(R.value)) {
9564
+ oe.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9563
9565
  return;
9564
9566
  }
9565
9567
  try {
9566
- p.value = JSON.parse(ie.value), R.value.close(), ut();
9568
+ p.value = JSON.parse(R.value), ie.value.close(), ut();
9567
9569
  } catch {
9568
- V.value = u.value?.errorParsingJsonContent, f("error", "Error parsing JSON content");
9570
+ oe.value = u.value?.errorParsingJsonContent, f("error", "Error parsing JSON content");
9569
9571
  }
9570
9572
  }
9571
9573
  }
9572
9574
  let ft = C(null);
9573
9575
  function pt(e) {
9574
- e === "save" && ie.value && (ft.value = z.value, R.value.close(), ge.value = {
9576
+ e === "save" && R.value && (ft.value = ae.value, ie.value.close(), ve.value = {
9575
9577
  label: u.value?.confirmImport,
9576
9578
  description: u.value?.confirmImportDescription,
9577
9579
  kind: "question",
9578
9580
  primaryAction: () => {
9579
- z.value = ft.value, lt(ft.value), dt("save"), H.value.close();
9581
+ ae.value = ft.value, lt(ft.value), dt("save"), B.value.close();
9580
9582
  },
9581
9583
  secondaryAction: () => {
9582
- H.value.close(), R.value.open(), z.value = ft.value, lt(ft.value);
9584
+ B.value.close(), ie.value.open(), ae.value = ft.value, lt(ft.value);
9583
9585
  }
9584
- }, H.value.open());
9586
+ }, B.value.open());
9585
9587
  }
9586
9588
  function mt() {
9587
- ce.value = null, se.value = JSON.stringify(p.value, null, 2), ae.value.open();
9589
+ ue.value = null, le.value = JSON.stringify(p.value, null, 2), se.value.open();
9588
9590
  }
9589
9591
  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");
9592
+ if (e === "save" && le.value) {
9593
+ if (!st(le.value)) {
9594
+ ue.value = u.value?.invalidJsonObject, f("error", "Invalid JSON file content");
9593
9595
  return;
9594
9596
  }
9595
9597
  try {
9596
- p.value = JSON.parse(se.value), ae.value.close();
9598
+ p.value = JSON.parse(le.value), se.value.close();
9597
9599
  } catch {
9598
9600
  f("error", "Error parsing JSON content");
9599
9601
  }
@@ -9629,18 +9631,18 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9629
9631
  globalThis.open("https://github.com/dativa-lv/lx-builders/issues", "_blank", "noopener");
9630
9632
  }
9631
9633
  j(() => [m.value, h.value], () => {
9632
- xe();
9634
+ Ce();
9633
9635
  });
9634
9636
  function Ct() {
9635
- ge.value = {
9637
+ ve.value = {
9636
9638
  label: u.value?.confirmDelete,
9637
9639
  description: null,
9638
9640
  kind: "warning",
9639
9641
  primaryAction: () => {
9640
- $e(), H.value.close();
9642
+ $e(), B.value.close();
9641
9643
  },
9642
9644
  secondaryAction: null
9643
- }, H.value.open();
9645
+ }, B.value.open();
9644
9646
  }
9645
9647
  function wt(e, t, n) {
9646
9648
  if (t === n || !Object.prototype.hasOwnProperty.call(e, t)) return e;
@@ -9652,22 +9654,22 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9652
9654
  function Tt(e) {
9653
9655
  try {
9654
9656
  if (!e) {
9655
- pe.value = u.value?.schemaKeyEmptyError;
9657
+ he.value = u.value?.schemaKeyEmptyError;
9656
9658
  return;
9657
9659
  }
9658
- if (!L.value) {
9659
- pe.value = u.value?.schemaKeyParentError;
9660
+ if (!I.value) {
9661
+ he.value = u.value?.schemaKeyParentError;
9660
9662
  return;
9661
9663
  }
9662
- if (Object.prototype.hasOwnProperty.call(L.value, e) && e !== te.value) {
9663
- pe.value = u.value?.schemaKeyDuplicateError?.replace("{0}", e);
9664
+ if (Object.prototype.hasOwnProperty.call(I.value, e) && e !== ne.value) {
9665
+ he.value = u.value?.schemaKeyDuplicateError?.replace("{0}", e);
9664
9666
  return;
9665
9667
  }
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);
9668
+ he.value = null;
9669
+ let t = wt(I.value, ne.value, e), n = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
9670
+ je(p.value, H(n)?.slice(0, -1), t);
9669
9671
  } catch {
9670
- pe.value = u.value?.schemaKeyUpdateError;
9672
+ he.value = u.value?.schemaKeyUpdateError;
9671
9673
  }
9672
9674
  }
9673
9675
  b(() => {
@@ -9686,11 +9688,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9686
9688
  };
9687
9689
  });
9688
9690
  return (t, n) => (S(), a("div", null, [
9689
- o("div", Dr, [P(o("div", {
9691
+ o("div", Or, [P(o("div", {
9690
9692
  class: "highlight",
9691
9693
  style: v(O.value.style)
9692
- }, [o("div", Or, [
9693
- _e.value.canMoveForwardIn && W() ? (S(), r(k(I), {
9694
+ }, [o("div", kr, [
9695
+ ye.value.canMoveForwardIn && W() ? (S(), r(k(F), {
9694
9696
  key: 0,
9695
9697
  icon: "move-inside",
9696
9698
  variant: "icon-only",
@@ -9698,27 +9700,27 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9698
9700
  kind: "ghost",
9699
9701
  onClick: n[0] ||= (e) => Ue()
9700
9702
  }, null, 8, ["label"])) : i("", !0),
9701
- _e.value.moveOut && W() ? (S(), r(k(I), {
9703
+ ye.value.moveOut && W() ? (S(), r(k(F), {
9702
9704
  key: 1,
9703
9705
  icon: "move-outside",
9704
9706
  variant: "icon-only",
9705
9707
  label: u.value.moveOutside,
9706
9708
  kind: "ghost",
9707
- onClick: n[1] ||= (e) => X("previous")
9709
+ onClick: n[1] ||= (e) => Ke("previous")
9708
9710
  }, null, 8, ["label"])) : i("", !0),
9709
9711
  W() ? (S(), r(k(G), {
9710
9712
  key: 2,
9711
9713
  orientation: "horizontal",
9712
9714
  kind: "compact"
9713
9715
  }, {
9714
- default: N(() => [_e.value.canMoveBack ? (S(), r(k(I), {
9716
+ default: N(() => [ye.value.canMoveBack ? (S(), r(k(F), {
9715
9717
  key: 0,
9716
9718
  icon: "back",
9717
9719
  variant: "icon-only",
9718
9720
  label: u.value.back,
9719
9721
  kind: "ghost",
9720
9722
  onClick: n[2] ||= (e) => tt("up")
9721
- }, null, 8, ["label"])) : i("", !0), _e.value.canMoveForward ? (S(), r(k(I), {
9723
+ }, null, 8, ["label"])) : i("", !0), ye.value.canMoveForward ? (S(), r(k(F), {
9722
9724
  key: 1,
9723
9725
  icon: "next",
9724
9726
  variant: "icon-only",
@@ -9729,7 +9731,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9729
9731
  _: 1
9730
9732
  })) : i("", !0),
9731
9733
  o("span", null, D(y.value), 1)
9732
- ]), o("div", kr, [y.value === "LxViewLayout" ? i("", !0) : (S(), r(k(I), {
9734
+ ]), o("div", Ar, [y.value === "LxViewLayout" ? i("", !0) : (S(), r(k(F), {
9733
9735
  key: 0,
9734
9736
  icon: "delete",
9735
9737
  variant: "icon-only",
@@ -9738,17 +9740,17 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9738
9740
  destructive: !0,
9739
9741
  onClick: Ct
9740
9742
  }, null, 8, ["label"]))])], 4), [[A, O.value.visible]])]),
9741
- l(Er, {
9743
+ l(Dr, {
9742
9744
  componentName: y.value,
9743
9745
  componentProps: x.value,
9744
9746
  componentPropsDefinitions: w.value,
9745
9747
  navigation: _.value,
9746
9748
  componentModel: T.value,
9747
- schemaKey: te.value,
9748
- schemaKeyError: pe.value,
9749
+ schemaKey: ne.value,
9750
+ schemaKeyError: he.value,
9749
9751
  schemaInfo: Et.value,
9750
- selectedTab: me.value,
9751
- "onUpdate:selectedTab": n[4] ||= (e) => me.value = e,
9752
+ selectedTab: ge.value,
9753
+ "onUpdate:selectedTab": n[4] ||= (e) => ge.value = e,
9752
9754
  texts: u.value,
9753
9755
  "onUpdate:componentModel": Pe,
9754
9756
  onComponentAdd: Qe,
@@ -9774,15 +9776,15 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9774
9776
  "selectedTab",
9775
9777
  "texts"
9776
9778
  ]),
9777
- o("div", Ar, [l(Nn, {
9779
+ o("div", jr, [l(Pn, {
9778
9780
  schema: e.schema,
9779
9781
  modelValue: d.value,
9780
9782
  "onUpdate:modelValue": n[5] ||= (e) => d.value = e,
9781
9783
  builderOptions: { useRegistry: !0 }
9782
9784
  }, null, 8, ["schema", "modelValue"])]),
9783
- l(k(Ce), {
9785
+ l(k(Te), {
9784
9786
  ref_key: "exportModal",
9785
- ref: ne,
9787
+ ref: re,
9786
9788
  label: u.value?.exportModal,
9787
9789
  size: "m",
9788
9790
  actionDefinitions: [{
@@ -9804,19 +9806,19 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9804
9806
  icon: "copy"
9805
9807
  }],
9806
9808
  onActionClick: at
9807
- }, null, 8, ["actionDefinitions"]), o("div", jr, [o("pre", Mr, D(JSON.stringify(p.value, null, 2)), 1)])]),
9809
+ }, null, 8, ["actionDefinitions"]), o("div", Mr, [o("pre", Nr, D(JSON.stringify(p.value, null, 2)), 1)])]),
9808
9810
  _: 1
9809
9811
  }, 8, ["label", "actionDefinitions"]),
9810
- l(k(Ce), {
9812
+ l(k(Te), {
9811
9813
  ref_key: "importModal",
9812
- ref: R,
9814
+ ref: ie,
9813
9815
  label: u.value?.importModal,
9814
9816
  size: "m",
9815
9817
  actionDefinitions: [{
9816
9818
  id: "save",
9817
9819
  name: u.value?.save,
9818
9820
  kind: "primary",
9819
- disabled: le.value
9821
+ disabled: de.value
9820
9822
  }, {
9821
9823
  id: "close",
9822
9824
  name: u.value?.close,
@@ -9824,13 +9826,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9824
9826
  }],
9825
9827
  onActionClick: pt,
9826
9828
  onClose: n[8] ||= () => {
9827
- z.value = null, ie.value = null;
9829
+ ae.value = null, R.value = null;
9828
9830
  }
9829
9831
  }, {
9830
9832
  default: N(() => [
9831
- o("div", Nr, [l(k(re), {
9832
- modelValue: B.value,
9833
- "onUpdate:modelValue": n[6] ||= (e) => B.value = e,
9833
+ o("div", Pr, [l(k(L), {
9834
+ modelValue: z.value,
9835
+ "onUpdate:modelValue": n[6] ||= (e) => z.value = e,
9834
9836
  items: [{
9835
9837
  id: "file",
9836
9838
  name: u.value?.importFile
@@ -9839,38 +9841,38 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9839
9841
  name: u.value?.importText
9840
9842
  }]
9841
9843
  }, null, 8, ["modelValue", "items"])]),
9842
- P(o("div", null, [l(k(de), {
9843
- modelValue: z.value,
9844
+ P(o("div", null, [l(k(pe), {
9845
+ modelValue: ae.value,
9844
9846
  draggable: !0,
9845
9847
  allowedFileExtensions: [".json"],
9846
9848
  dataType: "content",
9847
9849
  texts: u.value?.fileUploader,
9848
9850
  "onUpdate:modelValue": lt
9849
- }, null, 8, ["modelValue", "texts"])], 512), [[A, B.value === "file"]]),
9851
+ }, null, 8, ["modelValue", "texts"])], 512), [[A, z.value === "file"]]),
9850
9852
  P(l(k(Ne), {
9851
- modelValue: ie.value,
9852
- "onUpdate:modelValue": n[7] ||= (e) => ie.value = e,
9853
+ modelValue: R.value,
9854
+ "onUpdate:modelValue": n[7] ||= (e) => R.value = e,
9853
9855
  rows: 20,
9854
- invalid: !!V.value,
9855
- invalidationMessage: V.value
9856
+ invalid: !!oe.value,
9857
+ invalidationMessage: oe.value
9856
9858
  }, null, 8, [
9857
9859
  "modelValue",
9858
9860
  "invalid",
9859
9861
  "invalidationMessage"
9860
- ]), [[A, B.value === "text"]])
9862
+ ]), [[A, z.value === "text"]])
9861
9863
  ]),
9862
9864
  _: 1
9863
9865
  }, 8, ["label", "actionDefinitions"]),
9864
- l(k(Ce), {
9866
+ l(k(Te), {
9865
9867
  ref_key: "editSchemaModal",
9866
- ref: ae,
9868
+ ref: se,
9867
9869
  label: u.value?.editSchemaModal,
9868
9870
  size: "l",
9869
9871
  actionDefinitions: [{
9870
9872
  id: "save",
9871
9873
  name: u.value?.save,
9872
9874
  kind: "primary",
9873
- disabled: !se.value
9875
+ disabled: !le.value
9874
9876
  }, {
9875
9877
  id: "close",
9876
9878
  name: u.value?.close,
@@ -9879,11 +9881,11 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9879
9881
  onActionClick: ht
9880
9882
  }, {
9881
9883
  default: N(() => [l(k(Ne), {
9882
- modelValue: se.value,
9883
- "onUpdate:modelValue": n[9] ||= (e) => se.value = e,
9884
+ modelValue: le.value,
9885
+ "onUpdate:modelValue": n[9] ||= (e) => le.value = e,
9884
9886
  rows: 50,
9885
- invalid: !!ce.value,
9886
- invalidationMessage: ce.value
9887
+ invalid: !!ue.value,
9888
+ invalidationMessage: ue.value
9887
9889
  }, null, 8, [
9888
9890
  "modelValue",
9889
9891
  "invalid",
@@ -9891,13 +9893,13 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9891
9893
  ])]),
9892
9894
  _: 1
9893
9895
  }, 8, ["label", "actionDefinitions"]),
9894
- l(k(Ce), {
9896
+ l(k(Te), {
9895
9897
  ref_key: "componentAddModal",
9896
- ref: ue,
9898
+ ref: fe,
9897
9899
  label: u.value?.componentAddModal,
9898
9900
  description: u.value?.componentAddModalDescription
9899
9901
  }, {
9900
- default: N(() => [o("p", Pr, D(u.value?.componentAddChoice), 1), l(k(ve), {
9902
+ default: N(() => [o("p", Fr, D(u.value?.componentAddChoice), 1), l(k(be), {
9901
9903
  items: [{
9902
9904
  id: "next",
9903
9905
  name: u.value?.componentAddNext,
@@ -9918,8 +9920,8 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9918
9920
  orientation: "horizontal",
9919
9921
  verticalAlignment: "center"
9920
9922
  }, {
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)]),
9923
+ default: N(() => [l(k(_e), { value: e.displayIcon }, null, 8, ["value"]), l(k(G), { kind: "compact" }, {
9924
+ default: N(() => [o("p", Ir, D(e.name), 1), o("p", Lr, D(e.description), 1)]),
9923
9925
  _: 2
9924
9926
  }, 1024)]),
9925
9927
  _: 2
@@ -9928,7 +9930,7 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9928
9930
  }, 8, ["items"])]),
9929
9931
  _: 1
9930
9932
  }, 8, ["label", "description"]),
9931
- l(k(Ce), {
9933
+ l(k(Te), {
9932
9934
  ref_key: "editModelModal",
9933
9935
  ref: gt,
9934
9936
  label: u.value?.editModelModal,
@@ -9958,12 +9960,12 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9958
9960
  ])]),
9959
9961
  _: 1
9960
9962
  }, 8, ["label", "actionDefinitions"]),
9961
- l(k(oe), {
9963
+ l(k(ce), {
9962
9964
  ref_key: "confirmDialog",
9963
- ref: H,
9964
- label: ge.value?.label,
9965
- description: ge.value?.description,
9966
- kind: ge.value?.kind,
9965
+ ref: B,
9966
+ label: ve.value?.label,
9967
+ description: ve.value?.description,
9968
+ kind: ve.value?.kind,
9967
9969
  actionDefinitions: [{
9968
9970
  id: "save",
9969
9971
  name: u.value?.yes,
@@ -9973,9 +9975,9 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9973
9975
  name: u.value?.no,
9974
9976
  kind: "secondary"
9975
9977
  }],
9976
- buttonSecondaryIsCancel: !ge.value?.secondaryAction,
9978
+ buttonSecondaryIsCancel: !ve.value?.secondaryAction,
9977
9979
  onActionClick: n[11] ||= (e) => {
9978
- e === "save" && ge.value?.primaryAction ? ge.value.primaryAction() : e === "cancel" && ge.value?.secondaryAction && ge.value.secondaryAction();
9980
+ e === "save" && ve.value?.primaryAction ? ve.value.primaryAction() : e === "cancel" && ve.value?.secondaryAction && ve.value.secondaryAction();
9979
9981
  }
9980
9982
  }, null, 8, [
9981
9983
  "label",
@@ -9986,14 +9988,14 @@ var or = { class: "custom-auto-complete-item-with-icon lx-item-display" }, sr =
9986
9988
  ])
9987
9989
  ]));
9988
9990
  }
9989
- }), Rr = { async install(e, t = {}) {
9991
+ }), zr = { async install(e, t = {}) {
9990
9992
  let { lxOptions: n, ...r } = t || {};
9991
9993
  if (Xe(r), n) {
9992
9994
  let { createLx: t } = await import("@dativa-lv/lx-ui");
9993
9995
  e.use(t, n);
9994
9996
  }
9995
- } }, zr = (e) => ({ async install(t) {
9996
- t.use(Rr, e);
9997
+ } }, Br = (e) => ({ async install(t) {
9998
+ t.use(zr, e);
9997
9999
  } });
9998
10000
  //#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 };
10001
+ export { Rr as LxConstructor, Nn as LxFilterBuilder, Mn as LxFormBuilder, Pn as LxViewBuilder, Br as createLxBuilders, Ze as getGlobalProperties, zr as lxBuildersPlugin, Xe as setGlobalProperties };