@dativa-lv/lx-builders 2.3.5 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dativa-lx-builders.esm.js +945 -914
- package/dist/dativa-lx-builders.umd.js +1 -1
- package/dist/styles/lx-constructor.css +1 -1
- package/dist/types/components/constructor/Constructor.vue.d.ts +5 -1
- package/dist/types/components/constructor/PropRendererItem.vue.d.ts +65 -30
- package/package.json +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "vue";
|
|
2
|
-
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, getCurrentScope as p, hasInjectionContext as m, inject as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeMount as b, onMounted as x, onScopeDispose as S, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as D, toDisplayString as O, toValue as k, unref as A, vShow as j, watch as ee, watchEffect as
|
|
3
|
-
import { LxAppendableList as
|
|
2
|
+
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, getCurrentScope as p, hasInjectionContext as m, inject as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeMount as b, onMounted as x, onScopeDispose as S, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as D, toDisplayString as O, toValue as k, unref as A, vShow as j, watch as ee, watchEffect as te, withCtx as M, withDirectives as ne, withKeys as N } from "vue";
|
|
3
|
+
import { LxAppendableList as P, LxAutoComplete as F, LxButton as I, LxCamera as re, LxCheckbox as L, LxContentSwitcher as ie, LxDataBlock as ae, LxDataGrid as oe, LxDataVisualizer as R, LxDateTimePicker as z, LxDateTimeRange as se, LxDialog as ce, LxDrawPad as le, LxDropDownMenu as ue, LxDurationInput as de, LxEmptyState as fe, LxExpander as pe, LxFileUploader as me, LxFileViewer as he, LxFilters as ge, LxFlag as _e, LxForm as B, LxIcon as ve, LxIllustration as ye, LxLink as be, LxList as xe, LxListItem as Se, LxLogoDisplay as V, LxMap as Ce, LxMarkdownTextArea as we, LxModal as Te, LxNumberInput as Ee, LxPersonDisplay as De, LxPlaceholder as Oe, LxQr as ke, LxQrScanner as H, LxRating as U, LxRichTextDisplay as Ae, LxRow as W, LxSection as je, LxStack as G, LxStateDisplay as Me, LxSteps as Ne, LxTextArea as Pe, LxTextInput as K, LxToggle as q, LxToolbar as Fe, LxValuePicker as J, LxViewLayout as Ie, LxVisualPicker as Le, builderRegistry as Re, lxDateUtils as ze, lxDevUtils as Be, lxFormatUtils as Y, lxGeneralUtils as Ve, lxIconUtils as He, lxStringUtils as Ue } from "@dativa-lv/lx-ui";
|
|
4
4
|
//#region \0rolldown/runtime.js
|
|
5
5
|
var We = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, Ke = Object.getOwnPropertyNames, qe = Object.prototype.hasOwnProperty, X = (e, t) => {
|
|
6
6
|
let n = {};
|
|
@@ -325,7 +325,7 @@ function Ct(e) {
|
|
|
325
325
|
let e = (0, Z.unref)(l);
|
|
326
326
|
e && (e[r] = _[r]);
|
|
327
327
|
}, { flush: "sync" });
|
|
328
|
-
async function
|
|
328
|
+
async function te() {
|
|
329
329
|
return O(), h.$rewardEarly && (j(), await (0, Z.nextTick)()), await (0, Z.nextTick)(), new Promise((e) => {
|
|
330
330
|
if (!D.value) return e(!w.value);
|
|
331
331
|
let t = (0, Z.watch)(D, () => {
|
|
@@ -333,10 +333,10 @@ function Ct(e) {
|
|
|
333
333
|
});
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function M(e) {
|
|
337
337
|
return (a.value || {})[e];
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function ne() {
|
|
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, _);
|
|
@@ -353,11 +353,11 @@ function Ct(e) {
|
|
|
353
353
|
$reset: k,
|
|
354
354
|
$path: u || yt,
|
|
355
355
|
$silentErrors: A,
|
|
356
|
-
$validate:
|
|
356
|
+
$validate: te,
|
|
357
357
|
$commit: j
|
|
358
358
|
}, a && {
|
|
359
|
-
$getResultsForChild:
|
|
360
|
-
$clearExternalResults:
|
|
359
|
+
$getResultsForChild: M,
|
|
360
|
+
$clearExternalResults: ne,
|
|
361
361
|
$validationGroups: x
|
|
362
362
|
}), b));
|
|
363
363
|
}
|
|
@@ -910,7 +910,7 @@ var $ = {
|
|
|
910
910
|
"value",
|
|
911
911
|
"dictionary",
|
|
912
912
|
"style"
|
|
913
|
-
])) : e.itemValue?.lx?.displayType === "personDisplay" ? (C(), i(A(
|
|
913
|
+
])) : e.itemValue?.lx?.displayType === "personDisplay" ? (C(), i(A(De), {
|
|
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" ? (C(), i(A(
|
|
960
|
+
])) : e.itemValue?.lx?.displayType === "icon" ? (C(), i(A(ve), {
|
|
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,
|
|
@@ -1042,12 +1042,12 @@ var $ = {
|
|
|
1042
1042
|
}), (n, r) => (C(), o("div", { class: v(["lx-appendable-list lx-appendable-list-simple", [{ "lx-appendable-list-compact": e.kind === "compact" }]]) }, [(C(!0), o(t, null, T(d.value, (t, r) => (C(), o("div", {
|
|
1043
1043
|
key: r,
|
|
1044
1044
|
class: "lx-appendable-list-item"
|
|
1045
|
-
}, [u(A(
|
|
1045
|
+
}, [u(A(B), {
|
|
1046
1046
|
kind: "stripped",
|
|
1047
1047
|
columnCount: e.columnCount,
|
|
1048
1048
|
"required-mode": c.requiredMode
|
|
1049
1049
|
}, {
|
|
1050
|
-
default:
|
|
1050
|
+
default: M(() => [E(n.$slots, "customItem", g({ ref_for: !0 }, {
|
|
1051
1051
|
item: t,
|
|
1052
1052
|
index: r
|
|
1053
1053
|
}))]),
|
|
@@ -1195,17 +1195,17 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1195
1195
|
t.push(n);
|
|
1196
1196
|
}), t;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function te(e) {
|
|
1199
1199
|
delete f.value[e];
|
|
1200
1200
|
}
|
|
1201
|
-
function
|
|
1201
|
+
function ne(e) {
|
|
1202
1202
|
let t = {};
|
|
1203
1203
|
Object.entries(l.displaySchema?.properties[e])?.forEach(([e]) => {
|
|
1204
1204
|
t[e] = "";
|
|
1205
1205
|
}), f.value[e] = t;
|
|
1206
1206
|
}
|
|
1207
1207
|
function ce(e, t) {
|
|
1208
|
-
f.value[t] ||
|
|
1208
|
+
f.value[t] || ne(t), p.value[e].open();
|
|
1209
1209
|
}
|
|
1210
1210
|
function fe(e, t) {
|
|
1211
1211
|
return e?.find((e) => e === t) ? !0 : null;
|
|
@@ -1312,7 +1312,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1312
1312
|
modelValue: f.value[e.name],
|
|
1313
1313
|
"onUpdate:modelValue": r[0] ||= (t) => f.value[e.name] = t,
|
|
1314
1314
|
builderOptions: X.value,
|
|
1315
|
-
onKeyup: r[1] ||=
|
|
1315
|
+
onKeyup: r[1] ||= N((e) => d("filterBuilderFilter"), ["enter"])
|
|
1316
1316
|
}, null, 8, [
|
|
1317
1317
|
"id",
|
|
1318
1318
|
"mask",
|
|
@@ -1354,7 +1354,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1354
1354
|
modelValue: f.value[e.name],
|
|
1355
1355
|
"onUpdate:modelValue": r[2] ||= (t) => f.value[e.name] = t,
|
|
1356
1356
|
builderOptions: X.value,
|
|
1357
|
-
onKeyup: r[3] ||=
|
|
1357
|
+
onKeyup: r[3] ||= N((e) => d("filterBuilderFilter"), ["enter"])
|
|
1358
1358
|
}, null, 8, [
|
|
1359
1359
|
"id",
|
|
1360
1360
|
"maxlength",
|
|
@@ -1371,7 +1371,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1371
1371
|
"texts",
|
|
1372
1372
|
"modelValue",
|
|
1373
1373
|
"builderOptions"
|
|
1374
|
-
])) : D.value === "dateTimePicker" ? (C(), i(A(
|
|
1374
|
+
])) : D.value === "dateTimePicker" ? (C(), i(A(z), {
|
|
1375
1375
|
key: 2,
|
|
1376
1376
|
id: `${e.id}-${e.name}`,
|
|
1377
1377
|
kind: e.displaySchema?.properties[e.name]?.format,
|
|
@@ -1442,7 +1442,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1442
1442
|
modelValue: f.value[e.name],
|
|
1443
1443
|
"onUpdate:modelValue": r[5] ||= (t) => f.value[e.name] = t,
|
|
1444
1444
|
builderOptions: X.value,
|
|
1445
|
-
onKeyup: r[6] ||=
|
|
1445
|
+
onKeyup: r[6] ||= N((e) => d("filterBuilderFilter"), ["enter"])
|
|
1446
1446
|
}, null, 8, [
|
|
1447
1447
|
"id",
|
|
1448
1448
|
"maxlength",
|
|
@@ -1477,9 +1477,9 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1477
1477
|
modelValue: f.value[e.name],
|
|
1478
1478
|
"onUpdate:modelValue": r[7] ||= (t) => f.value[e.name] = t
|
|
1479
1479
|
}, {
|
|
1480
|
-
on:
|
|
1481
|
-
off:
|
|
1482
|
-
indeterminate:
|
|
1480
|
+
on: M(() => [e.row?.lx?.labelOn ? (C(), o("span", dn, O(e.row?.lx?.labelOn), 1)) : (C(), o("span", fn, "Jā"))]),
|
|
1481
|
+
off: M(() => [e.row?.lx?.labelOff ? (C(), o("span", pn, O(e.row?.lx?.labelOff), 1)) : (C(), o("span", mn, "Nē"))]),
|
|
1482
|
+
indeterminate: M(() => [e.row?.lx?.labelIndeterminate ? (C(), o("span", hn, O(e.row?.lx?.labelIndeterminate), 1)) : g(e.displaySchema?.properties[e.name]) ? (C(), o("span", gn, [...r[105] ||= [s("p", { class: "lx-data" }, "—", -1)]])) : (C(), o("span", _n, "—"))]),
|
|
1483
1483
|
_: 1
|
|
1484
1484
|
}, 8, [
|
|
1485
1485
|
"id",
|
|
@@ -1527,7 +1527,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1527
1527
|
"onUpdate:modelValue": r[8] ||= (t) => f.value[e.name] = t
|
|
1528
1528
|
}, c({ _: 2 }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
|
|
1529
1529
|
name: "customItem",
|
|
1530
|
-
fn:
|
|
1530
|
+
fn: M((n) => [u(A(G), {
|
|
1531
1531
|
orientation: e.displaySchema?.properties[e.name]?.lx?.stack?.orientation,
|
|
1532
1532
|
kind: e.displaySchema?.properties[e.name]?.lx?.stack?.kind,
|
|
1533
1533
|
mode: e.displaySchema?.properties[e.name]?.lx?.stack?.mode || "grid",
|
|
@@ -1536,7 +1536,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1536
1536
|
"horizontal-config": e.displaySchema?.properties[e.name]?.lx?.stack?.horizontalConfig,
|
|
1537
1537
|
"vertical-config": e.displaySchema?.properties[e.name]?.lx?.stack?.verticalConfig
|
|
1538
1538
|
}, {
|
|
1539
|
-
default:
|
|
1539
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.lx?.customItems?.properties, (e, t) => (C(), i($, {
|
|
1540
1540
|
key: t,
|
|
1541
1541
|
itemValue: e,
|
|
1542
1542
|
itemName: t,
|
|
@@ -1560,7 +1560,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1560
1560
|
key: "0"
|
|
1561
1561
|
} : e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "nested" ? {
|
|
1562
1562
|
name: "customItem",
|
|
1563
|
-
fn:
|
|
1563
|
+
fn: M((n) => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.lx?.customItems?.properties, (e, r) => (C(), o(t, { key: r }, [e?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
1564
1564
|
key: 0,
|
|
1565
1565
|
orientation: e?.lx?.orientation,
|
|
1566
1566
|
kind: e?.lx?.kind,
|
|
@@ -1570,7 +1570,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1570
1570
|
"horizontal-config": e?.lx?.horizontalConfig,
|
|
1571
1571
|
"vertical-config": e?.lx?.verticalConfig
|
|
1572
1572
|
}, {
|
|
1573
|
-
default:
|
|
1573
|
+
default: M(() => [(C(!0), o(t, null, T(e?.properties, (e, a) => (C(), o(t, { key: a }, [e?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
1574
1574
|
key: 0,
|
|
1575
1575
|
orientation: e?.lx?.orientation,
|
|
1576
1576
|
kind: e?.lx?.kind,
|
|
@@ -1580,7 +1580,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1580
1580
|
"horizontal-config": e?.lx?.horizontalConfig,
|
|
1581
1581
|
"vertical-config": e?.lx?.verticalConfig
|
|
1582
1582
|
}, {
|
|
1583
|
-
default:
|
|
1583
|
+
default: M(() => [(C(!0), o(t, null, T(e?.properties, (e, t) => (C(), i($, {
|
|
1584
1584
|
key: t,
|
|
1585
1585
|
itemValue: e,
|
|
1586
1586
|
itemName: t,
|
|
@@ -1629,7 +1629,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1629
1629
|
"item"
|
|
1630
1630
|
]))], 64))), 128))]),
|
|
1631
1631
|
key: "1"
|
|
1632
|
-
} : 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.helperText.helperTextKind.invalid.invalidation-message.builderOptions.modelValue".split("."))) : D.value === "dataBlock" ? (C(), i(A(
|
|
1632
|
+
} : 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.helperText.helperTextKind.invalid.invalidation-message.builderOptions.modelValue".split("."))) : D.value === "dataBlock" ? (C(), i(A(ae), {
|
|
1633
1633
|
key: 6,
|
|
1634
1634
|
expandable: !0,
|
|
1635
1635
|
size: e.displaySchema?.properties[e.name]?.lx?.size,
|
|
@@ -1646,13 +1646,13 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1646
1646
|
class: "form-builder-data-block",
|
|
1647
1647
|
onActionClick: r[9] ||= (t, n) => j("actionClick", e.name, t, n)
|
|
1648
1648
|
}, {
|
|
1649
|
-
default:
|
|
1649
|
+
default: M(() => [u(A(B), {
|
|
1650
1650
|
showHeader: !1,
|
|
1651
1651
|
showFooter: !1,
|
|
1652
1652
|
"column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
|
|
1653
1653
|
kind: "stripped"
|
|
1654
1654
|
}, {
|
|
1655
|
-
default:
|
|
1655
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.properties, (n, r) => (C(), o(t, { key: r }, [E(n, r) === "lxPlaceholder" ? (C(), i(A(Oe), { key: 0 })) : (C(), i(A(W), {
|
|
1656
1656
|
key: 1,
|
|
1657
1657
|
label: n?.title || r,
|
|
1658
1658
|
rowSpan: n?.lx?.rowSpan,
|
|
@@ -1660,7 +1660,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1660
1660
|
"action-definitions": n?.lx?.actionDefinitions,
|
|
1661
1661
|
onActionClick: (t, n, i) => k(n, i, `${e.name}.${r}`, void 0)
|
|
1662
1662
|
}, {
|
|
1663
|
-
default:
|
|
1663
|
+
default: M(() => [E(n, r) === "textInputDefault" ? (C(), i(A(K), {
|
|
1664
1664
|
key: 0,
|
|
1665
1665
|
mask: _(n?.lx?.mask, n?.type),
|
|
1666
1666
|
maxlength: n?.maxLength,
|
|
@@ -1783,7 +1783,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1783
1783
|
"texts",
|
|
1784
1784
|
"modelValue",
|
|
1785
1785
|
"onUpdate:modelValue"
|
|
1786
|
-
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(
|
|
1786
|
+
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(z), {
|
|
1787
1787
|
key: 4,
|
|
1788
1788
|
kind: n?.format,
|
|
1789
1789
|
placeholder: h(n),
|
|
@@ -1855,7 +1855,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1855
1855
|
"onUpdate:modelValue": (t) => f.value[e.name][r] = t
|
|
1856
1856
|
}, c({ _: 2 }, [n?.lx?.hasCustomItems === "default" ? {
|
|
1857
1857
|
name: "customItem",
|
|
1858
|
-
fn:
|
|
1858
|
+
fn: M((e) => [u(A(G), {
|
|
1859
1859
|
orientation: n?.lx?.stack?.orientation,
|
|
1860
1860
|
kind: n?.lx?.stack?.kind,
|
|
1861
1861
|
mode: n?.lx?.stack?.mode || "grid",
|
|
@@ -1864,7 +1864,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1864
1864
|
"horizontal-config": n?.lx?.stack?.horizontalConfig,
|
|
1865
1865
|
"vertical-config": n?.lx?.stack?.verticalConfig
|
|
1866
1866
|
}, {
|
|
1867
|
-
default:
|
|
1867
|
+
default: M(() => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
1868
1868
|
key: n,
|
|
1869
1869
|
itemValue: t,
|
|
1870
1870
|
itemName: n,
|
|
@@ -1888,7 +1888,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1888
1888
|
key: "0"
|
|
1889
1889
|
} : n?.lx?.hasCustomItems === "nested" ? {
|
|
1890
1890
|
name: "customItem",
|
|
1891
|
-
fn:
|
|
1891
|
+
fn: M((e) => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
1892
1892
|
key: 0,
|
|
1893
1893
|
orientation: n?.lx?.orientation,
|
|
1894
1894
|
kind: n?.lx?.kind,
|
|
@@ -1898,7 +1898,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1898
1898
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
1899
1899
|
"vertical-config": n?.lx?.verticalConfig
|
|
1900
1900
|
}, {
|
|
1901
|
-
default:
|
|
1901
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
1902
1902
|
key: 0,
|
|
1903
1903
|
orientation: n?.lx?.orientation,
|
|
1904
1904
|
kind: n?.lx?.kind,
|
|
@@ -1908,7 +1908,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1908
1908
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
1909
1909
|
"vertical-config": n?.lx?.verticalConfig
|
|
1910
1910
|
}, {
|
|
1911
|
-
default:
|
|
1911
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
1912
1912
|
key: n,
|
|
1913
1913
|
itemValue: t,
|
|
1914
1914
|
itemName: n,
|
|
@@ -2021,7 +2021,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2021
2021
|
icon: "remove-item",
|
|
2022
2022
|
destructive: !0
|
|
2023
2023
|
}],
|
|
2024
|
-
onActionClick: r[10] ||= (t) =>
|
|
2024
|
+
onActionClick: r[10] ||= (t) => te(e.name),
|
|
2025
2025
|
onClick: r[11] ||= (t) => ce(`${e.id}-${e.name}`, e.name)
|
|
2026
2026
|
}, null, 8, [
|
|
2027
2027
|
"value",
|
|
@@ -2035,17 +2035,17 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2035
2035
|
kind: "ghost",
|
|
2036
2036
|
onClick: r[12] ||= (t) => ce(`${e.id}-${e.name}`, e.name)
|
|
2037
2037
|
}, null, 8, ["label"])) : a("", !0),
|
|
2038
|
-
u(A(
|
|
2038
|
+
u(A(Te), {
|
|
2039
2039
|
id: `${e.id}-${e.name}`,
|
|
2040
2040
|
ref: (t) => p.value[`${e.id}-${e.name}`] = t
|
|
2041
2041
|
}, {
|
|
2042
|
-
default:
|
|
2042
|
+
default: M(() => [u(A(B), {
|
|
2043
2043
|
showHeader: !1,
|
|
2044
2044
|
showFooter: !1,
|
|
2045
2045
|
"column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
|
|
2046
2046
|
kind: "stripped"
|
|
2047
2047
|
}, {
|
|
2048
|
-
default:
|
|
2048
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.properties, (n, r) => (C(), o(t, { key: r }, [E(n, r) === "lxPlaceholder" ? (C(), i(A(Oe), { key: 0 })) : (C(), i(A(W), {
|
|
2049
2049
|
key: 1,
|
|
2050
2050
|
label: n?.title ? n?.title : r,
|
|
2051
2051
|
rowSpan: n?.lx?.rowSpan,
|
|
@@ -2053,7 +2053,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2053
2053
|
actionDefinitions: n?.lx?.actionDefinitions,
|
|
2054
2054
|
onActionClick: (t, n, i) => k(n, i, `${e.name}.${r}`, void 0)
|
|
2055
2055
|
}, {
|
|
2056
|
-
default:
|
|
2056
|
+
default: M(() => [E(n, r) === "textInputDefault" ? (C(), i(A(K), {
|
|
2057
2057
|
key: 0,
|
|
2058
2058
|
mask: _(n?.lx?.mask, n?.type),
|
|
2059
2059
|
maxlength: n?.maxLength,
|
|
@@ -2170,7 +2170,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2170
2170
|
"readOnly",
|
|
2171
2171
|
"modelValue",
|
|
2172
2172
|
"onUpdate:modelValue"
|
|
2173
|
-
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(
|
|
2173
|
+
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(z), {
|
|
2174
2174
|
key: 4,
|
|
2175
2175
|
kind: n?.format,
|
|
2176
2176
|
placeholder: h(n),
|
|
@@ -2242,7 +2242,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2242
2242
|
"onUpdate:modelValue": (t) => f.value[e.name][r] = t
|
|
2243
2243
|
}, c({ _: 2 }, [n?.lx?.hasCustomItems === "default" ? {
|
|
2244
2244
|
name: "customItem",
|
|
2245
|
-
fn:
|
|
2245
|
+
fn: M((e) => [u(A(G), {
|
|
2246
2246
|
orientation: n?.lx?.stack?.orientation,
|
|
2247
2247
|
kind: n?.lx?.stack?.kind,
|
|
2248
2248
|
mode: n?.lx?.stack?.mode || "grid",
|
|
@@ -2251,7 +2251,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2251
2251
|
"horizontal-config": n?.lx?.stack?.horizontalConfig,
|
|
2252
2252
|
"vertical-config": n?.lx?.stack?.verticalConfig
|
|
2253
2253
|
}, {
|
|
2254
|
-
default:
|
|
2254
|
+
default: M(() => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
2255
2255
|
key: n,
|
|
2256
2256
|
itemValue: t,
|
|
2257
2257
|
itemName: n,
|
|
@@ -2275,7 +2275,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2275
2275
|
key: "0"
|
|
2276
2276
|
} : n?.lx?.hasCustomItems === "nested" ? {
|
|
2277
2277
|
name: "customItem",
|
|
2278
|
-
fn:
|
|
2278
|
+
fn: M((e) => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2279
2279
|
key: 0,
|
|
2280
2280
|
orientation: n?.lx?.orientation,
|
|
2281
2281
|
kind: n?.lx?.kind,
|
|
@@ -2285,7 +2285,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2285
2285
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
2286
2286
|
"vertical-config": n?.lx?.verticalConfig
|
|
2287
2287
|
}, {
|
|
2288
|
-
default:
|
|
2288
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2289
2289
|
key: 0,
|
|
2290
2290
|
orientation: n?.lx?.orientation,
|
|
2291
2291
|
kind: n?.lx?.kind,
|
|
@@ -2295,7 +2295,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2295
2295
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
2296
2296
|
"vertical-config": n?.lx?.verticalConfig
|
|
2297
2297
|
}, {
|
|
2298
|
-
default:
|
|
2298
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
2299
2299
|
key: n,
|
|
2300
2300
|
itemValue: t,
|
|
2301
2301
|
itemName: n,
|
|
@@ -2442,7 +2442,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2442
2442
|
onSearch: r[21] ||= (t) => j("search", e.name, t)
|
|
2443
2443
|
}, c({ _: 2 }, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
|
|
2444
2444
|
name: "customItem",
|
|
2445
|
-
fn:
|
|
2445
|
+
fn: M((n) => [u(A(G), {
|
|
2446
2446
|
orientation: e.displaySchema?.properties[e.name]?.lx?.stack?.orientation,
|
|
2447
2447
|
kind: e.displaySchema?.properties[e.name]?.lx?.stack?.kind,
|
|
2448
2448
|
mode: e.displaySchema?.properties[e.name]?.lx?.stack?.mode || "grid",
|
|
@@ -2451,7 +2451,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2451
2451
|
"horizontal-config": e.displaySchema?.properties[e.name]?.lx?.stack?.horizontalConfig,
|
|
2452
2452
|
"vertical-config": e.displaySchema?.properties[e.name]?.lx?.stack?.verticalConfig
|
|
2453
2453
|
}, {
|
|
2454
|
-
default:
|
|
2454
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.items?.properties, (e, t) => (C(), i($, {
|
|
2455
2455
|
key: t,
|
|
2456
2456
|
itemValue: e,
|
|
2457
2457
|
itemName: t,
|
|
@@ -2475,7 +2475,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2475
2475
|
key: "0"
|
|
2476
2476
|
} : e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "nested" ? {
|
|
2477
2477
|
name: "customItem",
|
|
2478
|
-
fn:
|
|
2478
|
+
fn: M((n) => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.items?.properties, (e, r) => (C(), o(t, { key: r }, [e?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2479
2479
|
key: 0,
|
|
2480
2480
|
orientation: e?.lx?.orientation,
|
|
2481
2481
|
kind: e?.lx?.kind,
|
|
@@ -2485,7 +2485,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2485
2485
|
"horizontal-config": e?.lx?.horizontalConfig,
|
|
2486
2486
|
"vertical-config": e?.lx?.verticalConfig
|
|
2487
2487
|
}, {
|
|
2488
|
-
default:
|
|
2488
|
+
default: M(() => [(C(!0), o(t, null, T(e?.properties, (e, a) => (C(), o(t, { key: a }, [e?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2489
2489
|
key: 0,
|
|
2490
2490
|
orientation: e?.lx?.orientation,
|
|
2491
2491
|
kind: e?.lx?.kind,
|
|
@@ -2495,7 +2495,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2495
2495
|
"horizontal-config": e?.lx?.horizontalConfig,
|
|
2496
2496
|
"vertical-config": e?.lx?.verticalConfig
|
|
2497
2497
|
}, {
|
|
2498
|
-
default:
|
|
2498
|
+
default: M(() => [(C(!0), o(t, null, T(e?.properties, (e, t) => (C(), i($, {
|
|
2499
2499
|
key: t,
|
|
2500
2500
|
itemValue: e,
|
|
2501
2501
|
itemName: t,
|
|
@@ -2600,7 +2600,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2600
2600
|
"onUpdate:itemStates": r[30] ||= (t) => j("update:itemStates", e.name, t),
|
|
2601
2601
|
onSearch: r[31] ||= (t) => j("search", e.name, t)
|
|
2602
2602
|
}, c({
|
|
2603
|
-
toolbar:
|
|
2603
|
+
toolbar: M(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? a("", !0) : (C(), i(A(I), {
|
|
2604
2604
|
key: 0,
|
|
2605
2605
|
icon: "add-item",
|
|
2606
2606
|
label: e.texts?.addElement,
|
|
@@ -2610,7 +2610,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2610
2610
|
_: 2
|
|
2611
2611
|
}, [e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "default" ? {
|
|
2612
2612
|
name: "customItem",
|
|
2613
|
-
fn:
|
|
2613
|
+
fn: M((n) => [u(A(G), {
|
|
2614
2614
|
orientation: e.displaySchema?.properties[e.name]?.lx?.stack?.orientation,
|
|
2615
2615
|
kind: e.displaySchema?.properties[e.name]?.lx?.stack?.kind,
|
|
2616
2616
|
mode: e.displaySchema?.properties[e.name]?.lx?.stack?.mode || "grid",
|
|
@@ -2619,7 +2619,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2619
2619
|
"horizontal-config": e.displaySchema?.properties[e.name]?.lx?.stack?.horizontalConfig,
|
|
2620
2620
|
"vertical-config": e.displaySchema?.properties[e.name]?.lx?.stack?.verticalConfig
|
|
2621
2621
|
}, {
|
|
2622
|
-
default:
|
|
2622
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.items?.properties, (e, t) => (C(), i($, {
|
|
2623
2623
|
key: t,
|
|
2624
2624
|
itemValue: e,
|
|
2625
2625
|
itemName: t,
|
|
@@ -2643,7 +2643,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2643
2643
|
key: "0"
|
|
2644
2644
|
} : e.displaySchema?.properties[e.name]?.lx?.hasCustomItems === "nested" ? {
|
|
2645
2645
|
name: "customItem",
|
|
2646
|
-
fn:
|
|
2646
|
+
fn: M((n) => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.items?.properties, (e, r) => (C(), o(t, { key: r }, [e?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2647
2647
|
key: 0,
|
|
2648
2648
|
orientation: e?.lx?.orientation,
|
|
2649
2649
|
kind: e?.lx?.kind,
|
|
@@ -2653,7 +2653,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2653
2653
|
"horizontal-config": e?.lx?.horizontalConfig,
|
|
2654
2654
|
"vertical-config": e?.lx?.verticalConfig
|
|
2655
2655
|
}, {
|
|
2656
|
-
default:
|
|
2656
|
+
default: M(() => [(C(!0), o(t, null, T(e?.properties, (e, a) => (C(), o(t, { key: a }, [e?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2657
2657
|
key: 0,
|
|
2658
2658
|
orientation: e?.lx?.orientation,
|
|
2659
2659
|
kind: e?.lx?.kind,
|
|
@@ -2663,7 +2663,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2663
2663
|
"horizontal-config": e?.lx?.horizontalConfig,
|
|
2664
2664
|
"vertical-config": e?.lx?.verticalConfig
|
|
2665
2665
|
}, {
|
|
2666
|
-
default:
|
|
2666
|
+
default: M(() => [(C(!0), o(t, null, T(e?.properties, (e, t) => (C(), i($, {
|
|
2667
2667
|
key: t,
|
|
2668
2668
|
itemValue: e,
|
|
2669
2669
|
itemName: t,
|
|
@@ -2712,19 +2712,19 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2712
2712
|
"item"
|
|
2713
2713
|
]))], 64))), 128))]),
|
|
2714
2714
|
key: "1"
|
|
2715
|
-
} : 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(".")), u(A(
|
|
2715
|
+
} : 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(".")), u(A(Te), {
|
|
2716
2716
|
ref: (t) => p.value[`${e.id}-${e.name}`] = t,
|
|
2717
2717
|
actionDefinitions: We.value,
|
|
2718
2718
|
onClose: r[32] ||= (e) => Ie.value = !1,
|
|
2719
2719
|
onActionClick: r[33] ||= (t) => Ge(t, e.name)
|
|
2720
2720
|
}, {
|
|
2721
|
-
default:
|
|
2721
|
+
default: M(() => [u(A(B), {
|
|
2722
2722
|
showHeader: !1,
|
|
2723
2723
|
showFooter: !1,
|
|
2724
2724
|
"column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
|
|
2725
2725
|
kind: "stripped"
|
|
2726
2726
|
}, {
|
|
2727
|
-
default:
|
|
2727
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.items?.properties, (n, r) => (C(), o(t, { key: r }, [E(n, r) === "lxPlaceholder" ? (C(), i(A(Oe), { key: 0 })) : (C(), i(A(W), {
|
|
2728
2728
|
key: 1,
|
|
2729
2729
|
label: n?.title ? n?.title : r,
|
|
2730
2730
|
rowSpan: n?.lx?.rowSpan,
|
|
@@ -2732,7 +2732,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2732
2732
|
actionDefinitions: n?.lx?.actionDefinitions,
|
|
2733
2733
|
onActionClick: (t, n, i) => k(n, i, `${e.name}.${r}`, void 0)
|
|
2734
2734
|
}, {
|
|
2735
|
-
default:
|
|
2735
|
+
default: M(() => [E(n, r) === "textInputDefault" ? (C(), i(A(K), {
|
|
2736
2736
|
key: 0,
|
|
2737
2737
|
mask: _(n?.lx?.mask, n?.type),
|
|
2738
2738
|
maxlength: n?.maxLength,
|
|
@@ -2855,7 +2855,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2855
2855
|
"texts",
|
|
2856
2856
|
"modelValue",
|
|
2857
2857
|
"onUpdate:modelValue"
|
|
2858
|
-
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(
|
|
2858
|
+
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(z), {
|
|
2859
2859
|
key: 4,
|
|
2860
2860
|
kind: n?.format,
|
|
2861
2861
|
placeholder: h(n),
|
|
@@ -2925,7 +2925,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2925
2925
|
"onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][r] = t
|
|
2926
2926
|
}, c({ _: 2 }, [n?.lx?.hasCustomItems === "default" ? {
|
|
2927
2927
|
name: "customItem",
|
|
2928
|
-
fn:
|
|
2928
|
+
fn: M((e) => [u(A(G), {
|
|
2929
2929
|
orientation: n?.lx?.stack?.orientation,
|
|
2930
2930
|
kind: n?.lx?.stack?.kind,
|
|
2931
2931
|
mode: n?.lx?.stack?.mode || "grid",
|
|
@@ -2934,7 +2934,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2934
2934
|
"horizontal-config": n?.lx?.stack?.horizontalConfig,
|
|
2935
2935
|
"vertical-config": n?.lx?.stack?.verticalConfig
|
|
2936
2936
|
}, {
|
|
2937
|
-
default:
|
|
2937
|
+
default: M(() => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
2938
2938
|
key: n,
|
|
2939
2939
|
itemValue: t,
|
|
2940
2940
|
itemName: n,
|
|
@@ -2958,7 +2958,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2958
2958
|
key: "0"
|
|
2959
2959
|
} : n?.lx?.hasCustomItems === "nested" ? {
|
|
2960
2960
|
name: "customItem",
|
|
2961
|
-
fn:
|
|
2961
|
+
fn: M((e) => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2962
2962
|
key: 0,
|
|
2963
2963
|
orientation: n?.lx?.orientation,
|
|
2964
2964
|
kind: n?.lx?.kind,
|
|
@@ -2968,7 +2968,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2968
2968
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
2969
2969
|
"vertical-config": n?.lx?.verticalConfig
|
|
2970
2970
|
}, {
|
|
2971
|
-
default:
|
|
2971
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
2972
2972
|
key: 0,
|
|
2973
2973
|
orientation: n?.lx?.orientation,
|
|
2974
2974
|
kind: n?.lx?.kind,
|
|
@@ -2978,7 +2978,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2978
2978
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
2979
2979
|
"vertical-config": n?.lx?.verticalConfig
|
|
2980
2980
|
}, {
|
|
2981
|
-
default:
|
|
2981
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
2982
2982
|
key: n,
|
|
2983
2983
|
itemValue: t,
|
|
2984
2984
|
itemName: n,
|
|
@@ -3051,12 +3051,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3051
3051
|
"stickyToolbar",
|
|
3052
3052
|
"modelValue",
|
|
3053
3053
|
"onUpdate:modelValue"
|
|
3054
|
-
])) : E(n, r) === "appendableList" ? (C(), i(A(
|
|
3054
|
+
])) : E(n, r) === "appendableList" ? (C(), i(A(P), {
|
|
3055
3055
|
key: 6,
|
|
3056
3056
|
modelValue: m.value[`${e.id}-${e.name}`][r],
|
|
3057
3057
|
"onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][r] = t
|
|
3058
3058
|
}, {
|
|
3059
|
-
customItem:
|
|
3059
|
+
customItem: M(({ item: s, index: l }) => [(C(!0), o(t, null, T(n?.items?.properties, (n, d) => (C(), o(t, { key: d }, [E(n, d) === "lxPlaceholder" ? (C(), i(A(Oe), {
|
|
3060
3060
|
key: 0,
|
|
3061
3061
|
class: "lx-placeholder"
|
|
3062
3062
|
})) : (C(), i(A(W), {
|
|
@@ -3069,7 +3069,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3069
3069
|
"action-definitions": n?.lx?.actionDefinitions,
|
|
3070
3070
|
onActionClick: (t, n, r) => k(n, r, `${e.name}.${d}`, l)
|
|
3071
3071
|
}, {
|
|
3072
|
-
default:
|
|
3072
|
+
default: M(() => [E(n, d) === "textInputDefault" ? (C(), i(A(K), {
|
|
3073
3073
|
key: 0,
|
|
3074
3074
|
id: `${e.name}-${d}-${l}`,
|
|
3075
3075
|
mask: _(n?.lx?.mask, n?.type),
|
|
@@ -3141,7 +3141,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3141
3141
|
"texts",
|
|
3142
3142
|
"modelValue",
|
|
3143
3143
|
"onUpdate:modelValue"
|
|
3144
|
-
])) : E(n, d) === "dateTimePicker" ? (C(), i(A(
|
|
3144
|
+
])) : E(n, d) === "dateTimePicker" ? (C(), i(A(z), {
|
|
3145
3145
|
key: 2,
|
|
3146
3146
|
id: `${e.name}-${d}-${l}`,
|
|
3147
3147
|
kind: n?.format === "date-time" ? "dateTime" : n?.format,
|
|
@@ -3233,7 +3233,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3233
3233
|
modelValue: s[d],
|
|
3234
3234
|
"onUpdate:modelValue": (e) => s[d] = e
|
|
3235
3235
|
}, {
|
|
3236
|
-
default:
|
|
3236
|
+
default: M(() => [n?.lx?.label ? (C(), o("span", bn, O(n?.lx?.label), 1)) : a("", !0)]),
|
|
3237
3237
|
_: 2
|
|
3238
3238
|
}, 1032, [
|
|
3239
3239
|
"id",
|
|
@@ -3276,7 +3276,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3276
3276
|
"onUpdate:modelValue": (e) => s[d] = e
|
|
3277
3277
|
}, c({ _: 2 }, [n?.lx?.hasCustomItems === "default" ? {
|
|
3278
3278
|
name: "customItem",
|
|
3279
|
-
fn:
|
|
3279
|
+
fn: M((e) => [u(A(G), {
|
|
3280
3280
|
orientation: n?.lx?.stack?.orientation,
|
|
3281
3281
|
kind: n?.lx?.stack?.kind,
|
|
3282
3282
|
mode: n?.lx?.stack?.mode || "grid",
|
|
@@ -3285,7 +3285,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3285
3285
|
"horizontal-config": n?.lx?.stack?.horizontalConfig,
|
|
3286
3286
|
"vertical-config": n?.lx?.stack?.verticalConfig
|
|
3287
3287
|
}, {
|
|
3288
|
-
default:
|
|
3288
|
+
default: M(() => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
3289
3289
|
key: n,
|
|
3290
3290
|
itemValue: t,
|
|
3291
3291
|
itemName: n,
|
|
@@ -3309,7 +3309,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3309
3309
|
key: "0"
|
|
3310
3310
|
} : n?.lx?.hasCustomItems === "nested" ? {
|
|
3311
3311
|
name: "customItem",
|
|
3312
|
-
fn:
|
|
3312
|
+
fn: M((e) => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
3313
3313
|
key: 0,
|
|
3314
3314
|
orientation: n?.lx?.orientation,
|
|
3315
3315
|
kind: n?.lx?.kind,
|
|
@@ -3319,7 +3319,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3319
3319
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
3320
3320
|
"vertical-config": n?.lx?.verticalConfig
|
|
3321
3321
|
}, {
|
|
3322
|
-
default:
|
|
3322
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
3323
3323
|
key: 0,
|
|
3324
3324
|
orientation: n?.lx?.orientation,
|
|
3325
3325
|
kind: n?.lx?.kind,
|
|
@@ -3329,7 +3329,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3329
3329
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
3330
3330
|
"vertical-config": n?.lx?.verticalConfig
|
|
3331
3331
|
}, {
|
|
3332
|
-
default:
|
|
3332
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
3333
3333
|
key: n,
|
|
3334
3334
|
itemValue: t,
|
|
3335
3335
|
itemName: n,
|
|
@@ -3402,7 +3402,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3402
3402
|
_: 1
|
|
3403
3403
|
}, 8, ["column-count"])]),
|
|
3404
3404
|
_: 1
|
|
3405
|
-
}, 8, ["actionDefinitions"])])) : D.value === "arrayTable" ? (C(), i(A(
|
|
3405
|
+
}, 8, ["actionDefinitions"])])) : D.value === "arrayTable" ? (C(), i(A(oe), {
|
|
3406
3406
|
key: 10,
|
|
3407
3407
|
items: f.value[e.name],
|
|
3408
3408
|
label: e.displaySchema?.properties[e.name]?.lx?.label,
|
|
@@ -3452,7 +3452,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3452
3452
|
onSelectionChange: r[41] ||= (t) => j("selectionChange", e.name, t),
|
|
3453
3453
|
onItemsPerPageChange: r[42] ||= (t) => j("itemsPerPageChange", e.name, t),
|
|
3454
3454
|
onEmptyStateActionClick: r[43] ||= (t) => j("emptyStateActionClick", e.name, t)
|
|
3455
|
-
}, null, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusbar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.itemsTotal.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts.builderOptions".split("."))) : D.value === "arrayTableModal" ? (C(), o("div", xn, [u(A(
|
|
3455
|
+
}, null, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusbar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.itemsTotal.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts.builderOptions".split("."))) : D.value === "arrayTableModal" ? (C(), o("div", xn, [u(A(oe), {
|
|
3456
3456
|
items: f.value[e.name],
|
|
3457
3457
|
label: e.displaySchema?.properties[e.name]?.lx?.label,
|
|
3458
3458
|
description: e.displaySchema?.properties[e.name]?.lx?.description,
|
|
@@ -3510,7 +3510,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3510
3510
|
onItemsPerPageChange: r[53] ||= (t) => j("itemsPerPageChange", e.name, t),
|
|
3511
3511
|
onEmptyStateActionClick: r[54] ||= (t) => j("emptyStateActionClick", e.name, t)
|
|
3512
3512
|
}, {
|
|
3513
|
-
toolbar:
|
|
3513
|
+
toolbar: M(() => [e.displaySchema?.properties[e.name]?.lx?.hideAddButton ? a("", !0) : (C(), i(A(I), {
|
|
3514
3514
|
key: 0,
|
|
3515
3515
|
icon: "add-item",
|
|
3516
3516
|
label: e.texts?.addElement,
|
|
@@ -3518,19 +3518,19 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3518
3518
|
onClick: r[44] ||= (t) => Re(e.name)
|
|
3519
3519
|
}, null, 8, ["label"]))]),
|
|
3520
3520
|
_: 1
|
|
3521
|
-
}, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusbar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.itemsTotal.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts".split(".")), u(A(
|
|
3521
|
+
}, 8, /* @__PURE__ */ "items.label.description.idAttribute.columnDefinitions.scrollable.loading.busy.skeletonRowCount.showHeader.showToolbar.showStatusbar.showAllColumns.hasSorting.sortingIgnoreEmpty.itemsPerPage.itemsTotal.sortingMode.actionDefinitions.defaultActionName.toolbarActionDefinitions.hasVirtualization.stickyHeader.hasPaging.hasSelecting.selectionKind.sortingSide.emptyStateActionDefinitions.emptyStateIcon.hasSearch.searchMode.searchString.locale.fullBleed.badgeDefinitions.stickyToolbar.texts".split(".")), u(A(Te), {
|
|
3522
3522
|
ref: (t) => p.value[`${e.id}-${e.name}`] = t,
|
|
3523
3523
|
actionDefinitions: We.value,
|
|
3524
3524
|
onClose: r[55] ||= (e) => Ie.value = !1,
|
|
3525
3525
|
onActionClick: r[56] ||= (t) => Ge(t, e.name)
|
|
3526
3526
|
}, {
|
|
3527
|
-
default:
|
|
3527
|
+
default: M(() => [u(A(B), {
|
|
3528
3528
|
showHeader: !1,
|
|
3529
3529
|
showFooter: !1,
|
|
3530
3530
|
"column-count": e.displaySchema?.properties[e.name]?.lx?.formColumnCount,
|
|
3531
3531
|
kind: "stripped"
|
|
3532
3532
|
}, {
|
|
3533
|
-
default:
|
|
3533
|
+
default: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.items?.properties, (n, r) => (C(), o(t, { key: r }, [E(n, r) === "lxPlaceholder" ? (C(), i(A(Oe), { key: 0 })) : (C(), i(A(W), {
|
|
3534
3534
|
key: 1,
|
|
3535
3535
|
label: n?.title ? n?.title : r,
|
|
3536
3536
|
rowSpan: n?.lx?.rowSpan,
|
|
@@ -3538,7 +3538,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3538
3538
|
"action-definitions": n?.lx?.actionDefinitions,
|
|
3539
3539
|
onActionClick: (t, n, i) => k(n, i, `${e.name}.${r}`, void 0)
|
|
3540
3540
|
}, {
|
|
3541
|
-
default:
|
|
3541
|
+
default: M(() => [E(n, r) === "textInputDefault" ? (C(), i(A(K), {
|
|
3542
3542
|
key: 0,
|
|
3543
3543
|
mask: _(n?.lx?.mask, n?.type),
|
|
3544
3544
|
maxlength: n?.maxLength,
|
|
@@ -3661,7 +3661,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3661
3661
|
"texts",
|
|
3662
3662
|
"modelValue",
|
|
3663
3663
|
"onUpdate:modelValue"
|
|
3664
|
-
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(
|
|
3664
|
+
])) : E(n, r) === "dateTimePicker" ? (C(), i(A(z), {
|
|
3665
3665
|
key: 4,
|
|
3666
3666
|
kind: n?.format,
|
|
3667
3667
|
placeholder: h(n),
|
|
@@ -3733,7 +3733,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3733
3733
|
"onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][r] = t
|
|
3734
3734
|
}, c({ _: 2 }, [n?.lx?.hasCustomItems === "default" ? {
|
|
3735
3735
|
name: "customItem",
|
|
3736
|
-
fn:
|
|
3736
|
+
fn: M((e) => [u(A(G), {
|
|
3737
3737
|
orientation: n?.lx?.stack?.orientation,
|
|
3738
3738
|
kind: n?.lx?.stack?.kind,
|
|
3739
3739
|
mode: n?.lx?.stack?.mode || "grid",
|
|
@@ -3742,7 +3742,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3742
3742
|
"horizontal-config": n?.lx?.stack?.horizontalConfig,
|
|
3743
3743
|
"vertical-config": n?.lx?.stack?.verticalConfig
|
|
3744
3744
|
}, {
|
|
3745
|
-
default:
|
|
3745
|
+
default: M(() => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
3746
3746
|
key: n,
|
|
3747
3747
|
itemValue: t,
|
|
3748
3748
|
itemName: n,
|
|
@@ -3766,7 +3766,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3766
3766
|
key: "0"
|
|
3767
3767
|
} : n?.lx?.hasCustomItems === "nested" ? {
|
|
3768
3768
|
name: "customItem",
|
|
3769
|
-
fn:
|
|
3769
|
+
fn: M((e) => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
3770
3770
|
key: 0,
|
|
3771
3771
|
orientation: n?.lx?.orientation,
|
|
3772
3772
|
kind: n?.lx?.kind,
|
|
@@ -3776,7 +3776,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3776
3776
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
3777
3777
|
"vertical-config": n?.lx?.verticalConfig
|
|
3778
3778
|
}, {
|
|
3779
|
-
default:
|
|
3779
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
3780
3780
|
key: 0,
|
|
3781
3781
|
orientation: n?.lx?.orientation,
|
|
3782
3782
|
kind: n?.lx?.kind,
|
|
@@ -3786,7 +3786,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3786
3786
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
3787
3787
|
"vertical-config": n?.lx?.verticalConfig
|
|
3788
3788
|
}, {
|
|
3789
|
-
default:
|
|
3789
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
3790
3790
|
key: n,
|
|
3791
3791
|
itemValue: t,
|
|
3792
3792
|
itemName: n,
|
|
@@ -3861,12 +3861,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3861
3861
|
"helperTextKind",
|
|
3862
3862
|
"modelValue",
|
|
3863
3863
|
"onUpdate:modelValue"
|
|
3864
|
-
])) : E(n, r) === "appendableList" ? (C(), i(A(
|
|
3864
|
+
])) : E(n, r) === "appendableList" ? (C(), i(A(P), {
|
|
3865
3865
|
key: 6,
|
|
3866
3866
|
modelValue: m.value[`${e.id}-${e.name}`][r],
|
|
3867
3867
|
"onUpdate:modelValue": (t) => m.value[`${e.id}-${e.name}`][r] = t
|
|
3868
3868
|
}, {
|
|
3869
|
-
customItem:
|
|
3869
|
+
customItem: M(({ item: s, index: l }) => [(C(!0), o(t, null, T(n?.items?.properties, (n, d) => (C(), o(t, { key: d }, [E(n, d) === "lxPlaceholder" ? (C(), i(A(Oe), {
|
|
3870
3870
|
key: 0,
|
|
3871
3871
|
class: "lx-placeholder"
|
|
3872
3872
|
})) : (C(), i(A(W), {
|
|
@@ -3879,7 +3879,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3879
3879
|
"action-definitions": n?.lx?.actionDefinitions,
|
|
3880
3880
|
onActionClick: (t, n, r) => k(n, r, `${e.name}.${d}`, l)
|
|
3881
3881
|
}, {
|
|
3882
|
-
default:
|
|
3882
|
+
default: M(() => [E(n, d) === "textInputDefault" ? (C(), i(A(K), {
|
|
3883
3883
|
key: 0,
|
|
3884
3884
|
id: `${e.name}-${d}-${l}`,
|
|
3885
3885
|
mask: _(n?.lx?.mask, n?.type),
|
|
@@ -3951,7 +3951,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3951
3951
|
"texts",
|
|
3952
3952
|
"modelValue",
|
|
3953
3953
|
"onUpdate:modelValue"
|
|
3954
|
-
])) : E(n, d) === "dateTimePicker" ? (C(), i(A(
|
|
3954
|
+
])) : E(n, d) === "dateTimePicker" ? (C(), i(A(z), {
|
|
3955
3955
|
key: 2,
|
|
3956
3956
|
id: `${e.name}-${d}-${l}`,
|
|
3957
3957
|
kind: n?.format,
|
|
@@ -4043,7 +4043,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4043
4043
|
modelValue: s[d],
|
|
4044
4044
|
"onUpdate:modelValue": (e) => s[d] = e
|
|
4045
4045
|
}, {
|
|
4046
|
-
default:
|
|
4046
|
+
default: M(() => [n?.lx?.label ? (C(), o("span", Sn, O(n?.lx?.label), 1)) : a("", !0)]),
|
|
4047
4047
|
_: 2
|
|
4048
4048
|
}, 1032, [
|
|
4049
4049
|
"id",
|
|
@@ -4086,7 +4086,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4086
4086
|
"onUpdate:modelValue": (e) => s[d] = e
|
|
4087
4087
|
}, c({ _: 2 }, [n?.lx?.hasCustomItems === "default" ? {
|
|
4088
4088
|
name: "customItem",
|
|
4089
|
-
fn:
|
|
4089
|
+
fn: M((e) => [u(A(G), {
|
|
4090
4090
|
orientation: n?.lx?.stack?.orientation,
|
|
4091
4091
|
kind: n?.lx?.stack?.kind,
|
|
4092
4092
|
mode: n?.lx?.stack?.mode || "grid",
|
|
@@ -4095,7 +4095,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4095
4095
|
"horizontal-config": n?.lx?.stack?.horizontalConfig,
|
|
4096
4096
|
"vertical-config": n?.lx?.stack?.verticalConfig
|
|
4097
4097
|
}, {
|
|
4098
|
-
default:
|
|
4098
|
+
default: M(() => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
4099
4099
|
key: n,
|
|
4100
4100
|
itemValue: t,
|
|
4101
4101
|
itemName: n,
|
|
@@ -4119,7 +4119,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4119
4119
|
key: "0"
|
|
4120
4120
|
} : n?.lx?.hasCustomItems === "nested" ? {
|
|
4121
4121
|
name: "customItem",
|
|
4122
|
-
fn:
|
|
4122
|
+
fn: M((e) => [(C(!0), o(t, null, T(n?.lx?.customItems?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
4123
4123
|
key: 0,
|
|
4124
4124
|
orientation: n?.lx?.orientation,
|
|
4125
4125
|
kind: n?.lx?.kind,
|
|
@@ -4129,7 +4129,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4129
4129
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
4130
4130
|
"vertical-config": n?.lx?.verticalConfig
|
|
4131
4131
|
}, {
|
|
4132
|
-
default:
|
|
4132
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
4133
4133
|
key: 0,
|
|
4134
4134
|
orientation: n?.lx?.orientation,
|
|
4135
4135
|
kind: n?.lx?.kind,
|
|
@@ -4139,7 +4139,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4139
4139
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
4140
4140
|
"vertical-config": n?.lx?.verticalConfig
|
|
4141
4141
|
}, {
|
|
4142
|
-
default:
|
|
4142
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
4143
4143
|
key: n,
|
|
4144
4144
|
itemValue: t,
|
|
4145
4145
|
itemName: n,
|
|
@@ -4212,7 +4212,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4212
4212
|
_: 1
|
|
4213
4213
|
}, 8, ["column-count"])]),
|
|
4214
4214
|
_: 1
|
|
4215
|
-
}, 8, ["actionDefinitions"])])) : D.value === "appendableList" ? (C(), i(A(
|
|
4215
|
+
}, 8, ["actionDefinitions"])])) : D.value === "appendableList" ? (C(), i(A(P), {
|
|
4216
4216
|
key: 12,
|
|
4217
4217
|
modelValue: f.value[e.name],
|
|
4218
4218
|
"onUpdate:modelValue": r[57] ||= (t) => f.value[e.name] = t,
|
|
@@ -4246,7 +4246,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4246
4246
|
onToolbarActionClick: r[59] ||= (t, n) => j("toolbarActionClick", e.name, t, n),
|
|
4247
4247
|
"onUpdate:selectedValues": r[60] ||= (t) => j("update:selectedValues", e.name, t)
|
|
4248
4248
|
}, {
|
|
4249
|
-
customItem:
|
|
4249
|
+
customItem: M(({ item: n, index: r }) => [(C(!0), o(t, null, T(e.orderedObject?.[e.name]?.items?.properties, (s, l) => (C(), o(t, { key: l }, [E(s, l) === "lxPlaceholder" ? (C(), i(A(Oe), {
|
|
4250
4250
|
key: 0,
|
|
4251
4251
|
class: "lx-placeholder"
|
|
4252
4252
|
})) : (C(), i(A(W), {
|
|
@@ -4259,7 +4259,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4259
4259
|
"action-definitions": s?.lx?.actionDefinitions,
|
|
4260
4260
|
onActionClick: (t, n, i) => k(n, i, `${e.name}.${l}`, r)
|
|
4261
4261
|
}, {
|
|
4262
|
-
default:
|
|
4262
|
+
default: M(() => [E(s, l) === "textInputDefault" ? (C(), i(A(K), {
|
|
4263
4263
|
key: 0,
|
|
4264
4264
|
id: `${e.name}-${l}-${r}`,
|
|
4265
4265
|
mask: _(s?.lx?.mask, s?.type),
|
|
@@ -4331,7 +4331,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4331
4331
|
"texts",
|
|
4332
4332
|
"modelValue",
|
|
4333
4333
|
"onUpdate:modelValue"
|
|
4334
|
-
])) : E(s, l) === "dateTimePicker" ? (C(), i(A(
|
|
4334
|
+
])) : E(s, l) === "dateTimePicker" ? (C(), i(A(z), {
|
|
4335
4335
|
key: 2,
|
|
4336
4336
|
id: `${e.name}-${l}-${r}`,
|
|
4337
4337
|
kind: s?.format,
|
|
@@ -4423,7 +4423,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4423
4423
|
modelValue: n[l],
|
|
4424
4424
|
"onUpdate:modelValue": (e) => n[l] = e
|
|
4425
4425
|
}, {
|
|
4426
|
-
default:
|
|
4426
|
+
default: M(() => [s?.lx?.label ? (C(), o("span", Cn, O(s?.lx?.label), 1)) : a("", !0)]),
|
|
4427
4427
|
_: 2
|
|
4428
4428
|
}, 1032, [
|
|
4429
4429
|
"id",
|
|
@@ -4466,7 +4466,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4466
4466
|
"onUpdate:modelValue": (e) => n[l] = e
|
|
4467
4467
|
}, c({ _: 2 }, [s?.lx?.hasCustomItems === "default" ? {
|
|
4468
4468
|
name: "customItem",
|
|
4469
|
-
fn:
|
|
4469
|
+
fn: M((e) => [u(A(G), {
|
|
4470
4470
|
orientation: s?.lx?.stack?.orientation,
|
|
4471
4471
|
kind: s?.lx?.stack?.kind,
|
|
4472
4472
|
mode: s?.lx?.stack?.mode || "grid",
|
|
@@ -4475,7 +4475,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4475
4475
|
"horizontal-config": s?.lx?.stack?.horizontalConfig,
|
|
4476
4476
|
"vertical-config": s?.lx?.stack?.verticalConfig
|
|
4477
4477
|
}, {
|
|
4478
|
-
default:
|
|
4478
|
+
default: M(() => [(C(!0), o(t, null, T(s?.lx?.customItems?.properties, (t, n) => (C(), i($, {
|
|
4479
4479
|
key: n,
|
|
4480
4480
|
itemValue: t,
|
|
4481
4481
|
itemName: n,
|
|
@@ -4499,7 +4499,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4499
4499
|
key: "0"
|
|
4500
4500
|
} : s?.lx?.hasCustomItems === "nested" ? {
|
|
4501
4501
|
name: "customItem",
|
|
4502
|
-
fn:
|
|
4502
|
+
fn: M((e) => [(C(!0), o(t, null, T(s?.lx?.customItems?.properties, (n, r) => (C(), o(t, { key: r }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
4503
4503
|
key: 0,
|
|
4504
4504
|
orientation: n?.lx?.orientation,
|
|
4505
4505
|
kind: n?.lx?.kind,
|
|
@@ -4509,7 +4509,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4509
4509
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
4510
4510
|
"vertical-config": n?.lx?.verticalConfig
|
|
4511
4511
|
}, {
|
|
4512
|
-
default:
|
|
4512
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
4513
4513
|
key: 0,
|
|
4514
4514
|
orientation: n?.lx?.orientation,
|
|
4515
4515
|
kind: n?.lx?.kind,
|
|
@@ -4519,7 +4519,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4519
4519
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
4520
4520
|
"vertical-config": n?.lx?.verticalConfig
|
|
4521
4521
|
}, {
|
|
4522
|
-
default:
|
|
4522
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
4523
4523
|
key: n,
|
|
4524
4524
|
itemValue: t,
|
|
4525
4525
|
itemName: n,
|
|
@@ -4616,7 +4616,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4616
4616
|
canAddItems: e.displaySchema?.properties[e.name]?.lx?.canAddItems,
|
|
4617
4617
|
texts: e.displaySchema?.properties[e.name]?.lx?.texts
|
|
4618
4618
|
}, {
|
|
4619
|
-
customItem:
|
|
4619
|
+
customItem: M(({ index: t }) => [E(e.row?.items, e.name) === "lxPlaceholder" ? (C(), i(A(Oe), {
|
|
4620
4620
|
key: 0,
|
|
4621
4621
|
class: "lx-placeholder"
|
|
4622
4622
|
})) : (C(), i(A(W), {
|
|
@@ -4627,7 +4627,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4627
4627
|
actionDefinitions: e.row?.items?.lx?.actionDefinitions,
|
|
4628
4628
|
onActionClick: (n, r, i) => k(r, i, e.name, t)
|
|
4629
4629
|
}, {
|
|
4630
|
-
default:
|
|
4630
|
+
default: M(() => [E(e.row?.items, e.name) === "textInputDefault" ? (C(), i(A(K), {
|
|
4631
4631
|
key: 0,
|
|
4632
4632
|
mask: _(e.row?.items?.lx?.mask, e.row?.items?.type),
|
|
4633
4633
|
maxlength: e.row?.items?.maxLength,
|
|
@@ -4714,9 +4714,9 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4714
4714
|
modelValue: f.value[e.name][t],
|
|
4715
4715
|
"onUpdate:modelValue": (n) => f.value[e.name][t] = n
|
|
4716
4716
|
}, {
|
|
4717
|
-
on:
|
|
4718
|
-
off:
|
|
4719
|
-
indeterminate:
|
|
4717
|
+
on: M(() => [e.row?.items?.lx?.labelOn ? (C(), o("span", wn, O(e.row?.items?.lx?.labelOn), 1)) : (C(), o("span", Tn, "Jā"))]),
|
|
4718
|
+
off: M(() => [e.row?.items?.lx?.labelOff ? (C(), o("span", En, O(e.row?.items?.lx?.labelOff), 1)) : (C(), o("span", Dn, "Nē"))]),
|
|
4719
|
+
indeterminate: M(() => [e.row?.items?.lx?.labelIndeterminate ? (C(), o("span", On, O(e.row?.items?.lx?.labelIndeterminate), 1)) : g(e.row?.items) ? (C(), o("span", kn, [...r[106] ||= [s("p", { class: "lx-data" }, "—", -1)]])) : (C(), o("span", An, "—"))]),
|
|
4720
4720
|
_: 1
|
|
4721
4721
|
}, 8, [
|
|
4722
4722
|
"size",
|
|
@@ -4728,7 +4728,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4728
4728
|
"texts",
|
|
4729
4729
|
"modelValue",
|
|
4730
4730
|
"onUpdate:modelValue"
|
|
4731
|
-
])) : E(e.row?.items, e.name) === "dateTimePicker" ? (C(), i(A(
|
|
4731
|
+
])) : E(e.row?.items, e.name) === "dateTimePicker" ? (C(), i(A(z), {
|
|
4732
4732
|
key: 3,
|
|
4733
4733
|
kind: e.row?.items?.format,
|
|
4734
4734
|
tooltip: e.row?.items?.lx?.tooltip,
|
|
@@ -4871,7 +4871,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4871
4871
|
"tabindex",
|
|
4872
4872
|
"customClass",
|
|
4873
4873
|
"openInNewTab"
|
|
4874
|
-
])) : D.value === "camera" ? (C(), i(A(
|
|
4874
|
+
])) : D.value === "camera" ? (C(), i(A(re), {
|
|
4875
4875
|
key: 16,
|
|
4876
4876
|
id: `${e.id}-${e.name}`,
|
|
4877
4877
|
cameraSwitcherMode: e.displaySchema?.properties[e.name]?.lx?.cameraSwitcherMode,
|
|
@@ -4902,7 +4902,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4902
4902
|
"texts",
|
|
4903
4903
|
"modelValue",
|
|
4904
4904
|
"builderOptions"
|
|
4905
|
-
])) : D.value === "checkbox" ? (C(), i(A(
|
|
4905
|
+
])) : D.value === "checkbox" ? (C(), i(A(L), {
|
|
4906
4906
|
key: 17,
|
|
4907
4907
|
id: `${e.id}-${e.name}`,
|
|
4908
4908
|
groupId: e.displaySchema?.properties[e.name]?.lx?.groupId,
|
|
@@ -4925,7 +4925,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4925
4925
|
"labelId",
|
|
4926
4926
|
"modelValue",
|
|
4927
4927
|
"builderOptions"
|
|
4928
|
-
])) : D.value === "contentSwitcher" ? (C(), i(A(
|
|
4928
|
+
])) : D.value === "contentSwitcher" ? (C(), i(A(ie), {
|
|
4929
4929
|
key: 18,
|
|
4930
4930
|
id: `${e.id}-${e.name}`,
|
|
4931
4931
|
items: e.displaySchema?.properties[e.name]?.lx?.items,
|
|
@@ -4955,7 +4955,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4955
4955
|
"labelId",
|
|
4956
4956
|
"modelValue",
|
|
4957
4957
|
"builderOptions"
|
|
4958
|
-
])) : D.value === "dataVisualizer" ? (C(), i(A(
|
|
4958
|
+
])) : D.value === "dataVisualizer" ? (C(), i(A(R), {
|
|
4959
4959
|
key: 19,
|
|
4960
4960
|
id: `${e.id}-${e.name}`,
|
|
4961
4961
|
kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
|
|
@@ -5047,7 +5047,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5047
5047
|
groupDefinitions: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.groupDefinitions : e.displaySchema?.properties[e.name]?.lx?.groupDefinitions,
|
|
5048
5048
|
onActionClick: r[76] ||= (t, n) => j("actionClick", e.name, t, n)
|
|
5049
5049
|
}, {
|
|
5050
|
-
panel:
|
|
5050
|
+
panel: M(() => [(C(!0), o(t, null, T(e.displaySchema?.properties[e.name]?.lx?.items, (t, n) => (C(), i(A(I), {
|
|
5051
5051
|
key: n,
|
|
5052
5052
|
label: t?.label,
|
|
5053
5053
|
title: t?.title,
|
|
@@ -5093,7 +5093,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5093
5093
|
"openInNewTab",
|
|
5094
5094
|
"onClick"
|
|
5095
5095
|
]))), 128))]),
|
|
5096
|
-
default:
|
|
5096
|
+
default: M(() => [u(A(I), {
|
|
5097
5097
|
id: `${e.id}-${e.name}`,
|
|
5098
5098
|
label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
|
|
5099
5099
|
title: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.title : e.displaySchema?.properties[e.name]?.lx?.title,
|
|
@@ -5223,7 +5223,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5223
5223
|
"title",
|
|
5224
5224
|
"locale",
|
|
5225
5225
|
"meaningful"
|
|
5226
|
-
])) : D.value === "icon" ? (C(), i(A(
|
|
5226
|
+
])) : D.value === "icon" ? (C(), i(A(ve), {
|
|
5227
5227
|
key: 25,
|
|
5228
5228
|
value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
|
|
5229
5229
|
iconSet: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.iconSet : e.displaySchema?.properties[e.name]?.lx?.iconSet,
|
|
@@ -5244,7 +5244,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5244
5244
|
"title",
|
|
5245
5245
|
"desc",
|
|
5246
5246
|
"texts"
|
|
5247
|
-
])) : D.value === "illustration" ? (C(), i(A(
|
|
5247
|
+
])) : D.value === "illustration" ? (C(), i(A(ye), {
|
|
5248
5248
|
key: 26,
|
|
5249
5249
|
value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
|
|
5250
5250
|
class: v(e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.class : e.displaySchema?.properties[e.name]?.lx?.class),
|
|
@@ -5253,10 +5253,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5253
5253
|
"value",
|
|
5254
5254
|
"class",
|
|
5255
5255
|
"animation"
|
|
5256
|
-
])) : D.value === "link" ? (C(), i(A(
|
|
5256
|
+
])) : D.value === "link" ? (C(), i(A(be), {
|
|
5257
5257
|
key: 27,
|
|
5258
5258
|
href: f.value?.[e.name]?.href || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.href
|
|
5259
|
-
}, null, 8, ["href"])) : D.value === "map" ? (C(), i(A(
|
|
5259
|
+
}, null, 8, ["href"])) : D.value === "map" ? (C(), i(A(Ce), {
|
|
5260
5260
|
key: 28,
|
|
5261
5261
|
id: `${e.id}-${e.name}`,
|
|
5262
5262
|
baseLayerDefinitions: f.value[e.name].baseLayerDefinitions,
|
|
@@ -5295,7 +5295,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5295
5295
|
"actionDefinitions",
|
|
5296
5296
|
"stickyToolbar",
|
|
5297
5297
|
"texts"
|
|
5298
|
-
])) : D.value === "markdownTextArea" ? (C(), i(A(
|
|
5298
|
+
])) : D.value === "markdownTextArea" ? (C(), i(A(we), {
|
|
5299
5299
|
key: 29,
|
|
5300
5300
|
id: `${e.id}-${e.name}`,
|
|
5301
5301
|
placeholder: h(e.displaySchema?.properties[e.name]),
|
|
@@ -5357,7 +5357,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5357
5357
|
"texts",
|
|
5358
5358
|
"modelValue",
|
|
5359
5359
|
"builderOptions"
|
|
5360
|
-
])) : D.value === "numberInput" ? (C(), i(A(
|
|
5360
|
+
])) : D.value === "numberInput" ? (C(), i(A(Ee), {
|
|
5361
5361
|
key: 30,
|
|
5362
5362
|
id: `${e.id}-${e.name}`,
|
|
5363
5363
|
min: e.displaySchema?.properties[e.name]?.lx?.min,
|
|
@@ -5393,7 +5393,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5393
5393
|
"texts",
|
|
5394
5394
|
"modelValue",
|
|
5395
5395
|
"builderOptions"
|
|
5396
|
-
])) : D.value === "personDisplay" ? (C(), i(A(
|
|
5396
|
+
])) : D.value === "personDisplay" ? (C(), i(A(De), {
|
|
5397
5397
|
key: 31,
|
|
5398
5398
|
value: f.value?.[e.name],
|
|
5399
5399
|
name: e.displaySchema?.properties[e.name]?.lx?.name,
|
|
@@ -5444,7 +5444,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5444
5444
|
"customRole",
|
|
5445
5445
|
"focusable",
|
|
5446
5446
|
"texts"
|
|
5447
|
-
])) : D.value === "qr" ? (C(), i(A(
|
|
5447
|
+
])) : D.value === "qr" ? (C(), i(A(ke), {
|
|
5448
5448
|
key: 32,
|
|
5449
5449
|
id: `${e.id}-${e.name}`,
|
|
5450
5450
|
value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
|
|
@@ -5455,7 +5455,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5455
5455
|
"value",
|
|
5456
5456
|
"size",
|
|
5457
5457
|
"ignoreTheme"
|
|
5458
|
-
])) : D.value === "qrScanner" ? (C(), i(A(
|
|
5458
|
+
])) : D.value === "qrScanner" ? (C(), i(A(H), {
|
|
5459
5459
|
key: 33,
|
|
5460
5460
|
id: `${e.id}-${e.name}`,
|
|
5461
5461
|
formats: f.value?.[e.name]?.formats || e.displaySchema?.properties[e.name]?.lx?.formats,
|
|
@@ -5489,7 +5489,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5489
5489
|
"helperTextKind",
|
|
5490
5490
|
"texts",
|
|
5491
5491
|
"builderOptions"
|
|
5492
|
-
])) : D.value === "rating" ? (C(), i(A(
|
|
5492
|
+
])) : D.value === "rating" ? (C(), i(A(U), {
|
|
5493
5493
|
key: 34,
|
|
5494
5494
|
readOnly: g(e.displaySchema?.properties[e.name]),
|
|
5495
5495
|
kind: e.displaySchema?.properties[e.name]?.lx?.kind,
|
|
@@ -5643,7 +5643,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5643
5643
|
"texts",
|
|
5644
5644
|
"modelValue",
|
|
5645
5645
|
"builderOptions"
|
|
5646
|
-
])) : D.value === "logoDisplay" ? (C(), i(A(
|
|
5646
|
+
])) : D.value === "logoDisplay" ? (C(), i(A(V), {
|
|
5647
5647
|
key: 41,
|
|
5648
5648
|
value: f.value?.[e.name]?.value || f.value?.[e.name] || e.displaySchema?.properties[e.name]?.lx?.value,
|
|
5649
5649
|
kind: e.displaySchema?.properties[e.name]?.type === "object" ? f.value[e.name]?.kind : e.displaySchema?.properties[e.name]?.lx?.kind,
|
|
@@ -5770,7 +5770,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5770
5770
|
function j(e) {
|
|
5771
5771
|
e && Be.log(`Property '${e}' couldn't be rendered`, $e().getGlobals()?.environment, "warn");
|
|
5772
5772
|
}
|
|
5773
|
-
function
|
|
5773
|
+
function te(e, t) {
|
|
5774
5774
|
if (e?.lx?.wrapper === "placeholder") return "lxPlaceholder";
|
|
5775
5775
|
let n = b(e);
|
|
5776
5776
|
if (n) return n;
|
|
@@ -5784,7 +5784,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5784
5784
|
}
|
|
5785
5785
|
return k(e, t) || (j(t), "lxPlaceholder");
|
|
5786
5786
|
}
|
|
5787
|
-
function
|
|
5787
|
+
function ne() {
|
|
5788
5788
|
let e = { ...u.modelValue };
|
|
5789
5789
|
u.schema?.properties && Object.entries(u.schema?.properties)?.forEach(([t, n]) => {
|
|
5790
5790
|
n?.lx?.displayType === "dateTimeRange" && (e[t] === void 0 || e[t] === null) && (e[t] = {}), n?.default !== void 0 && (e[t] === void 0 || e[t] === null || Array.isArray(e[t]) && e[t]?.length === 0) && (e[t] = n?.default), n?.properties && n?.lx?.displayType === "stack" && (e[t] = e[t] || {}, Object.entries(n?.properties)?.forEach(([n, r]) => {
|
|
@@ -5792,7 +5792,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5792
5792
|
}));
|
|
5793
5793
|
}), m.value = e;
|
|
5794
5794
|
}
|
|
5795
|
-
let
|
|
5795
|
+
let N = r(() => {
|
|
5796
5796
|
let e = {
|
|
5797
5797
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
5798
5798
|
type: "object",
|
|
@@ -5809,10 +5809,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5809
5809
|
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" }));
|
|
5810
5810
|
})) : e.properties[t] = { lx: { wrapper: "placeholder" } };
|
|
5811
5811
|
}), e;
|
|
5812
|
-
}),
|
|
5813
|
-
let e = Y.objectClone(
|
|
5812
|
+
}), P = r(() => {
|
|
5813
|
+
let e = Y.objectClone(N.value);
|
|
5814
5814
|
if (u.mode === "mixed") try {
|
|
5815
|
-
return u.schema?.hasOwnProperty("required") && (e.required = u.schema?.required), Object.entries(
|
|
5815
|
+
return u.schema?.hasOwnProperty("required") && (e.required = u.schema?.required), Object.entries(N.value?.properties)?.forEach(([t]) => {
|
|
5816
5816
|
u.schema?.properties?.hasOwnProperty(t) && (e.properties[t] = u.schema?.properties[t]);
|
|
5817
5817
|
}), Object.entries(u.schema?.properties)?.forEach(([t, n]) => {
|
|
5818
5818
|
e?.properties?.hasOwnProperty(t) || (e.properties[t] = n);
|
|
@@ -5823,41 +5823,41 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5823
5823
|
return e;
|
|
5824
5824
|
}), F = r(() => {
|
|
5825
5825
|
try {
|
|
5826
|
-
if (u.mode === "no-schema") return
|
|
5827
|
-
if (u.mode === "mixed") return
|
|
5826
|
+
if (u.mode === "no-schema") return N.value;
|
|
5827
|
+
if (u.mode === "mixed") return P.value;
|
|
5828
5828
|
} catch (e) {
|
|
5829
5829
|
Be.log(e, $e().getGlobals()?.environment, "warn");
|
|
5830
5830
|
}
|
|
5831
5831
|
return u.schema;
|
|
5832
5832
|
}), I = r(() => {
|
|
5833
|
-
if (u.mode === "no-schema") return
|
|
5833
|
+
if (u.mode === "no-schema") return N.value?.properties;
|
|
5834
5834
|
if (F.value?.properties) {
|
|
5835
5835
|
let e = Y.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));
|
|
5836
5836
|
return Object.fromEntries(t);
|
|
5837
5837
|
}
|
|
5838
5838
|
return {};
|
|
5839
5839
|
});
|
|
5840
|
-
function
|
|
5840
|
+
function re(e, t, n = void 0, r = void 0) {
|
|
5841
5841
|
p("emit", e, t, n, r);
|
|
5842
5842
|
}
|
|
5843
|
-
function
|
|
5843
|
+
function L(e, t) {
|
|
5844
5844
|
return e.replace("{0}", t);
|
|
5845
5845
|
}
|
|
5846
|
-
function
|
|
5846
|
+
function ie(e, t, n, r) {
|
|
5847
5847
|
p("rowActionClick", e, t, n, r);
|
|
5848
5848
|
}
|
|
5849
|
-
function
|
|
5849
|
+
function ae(e) {
|
|
5850
5850
|
return e === "number" || e === "integer";
|
|
5851
5851
|
}
|
|
5852
|
-
function
|
|
5852
|
+
function oe(e, t) {
|
|
5853
5853
|
return e[t] || (e[t] = {}), e[t];
|
|
5854
5854
|
}
|
|
5855
|
-
function
|
|
5856
|
-
|
|
5855
|
+
function R(e, t, n, r) {
|
|
5856
|
+
oe(e, t)[n] = r;
|
|
5857
5857
|
}
|
|
5858
|
-
function
|
|
5858
|
+
function z(e, t) {
|
|
5859
5859
|
e?.required?.forEach((e) => {
|
|
5860
|
-
|
|
5860
|
+
R(t, e, "required", Q.withMessage(() => f.value.required, Qt));
|
|
5861
5861
|
});
|
|
5862
5862
|
}
|
|
5863
5863
|
function se(e) {
|
|
@@ -5885,16 +5885,16 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5885
5885
|
}, (t) => new RegExp(e).test(t));
|
|
5886
5886
|
}
|
|
5887
5887
|
function de(e, t, n) {
|
|
5888
|
-
|
|
5888
|
+
ae(n?.type) && (n?.minimum !== void 0 && R(e, t, "minValue", Q.withMessage(({ $params: e }) => L(f.value.minimum, e.min), en(n.minimum))), n?.exclusiveMinimum !== void 0 && R(e, t, "exclusiveMinimum", Q.withMessage(() => L(f.value.exclusiveMinimum, n.exclusiveMinimum), se(n.exclusiveMinimum))), n?.maximum !== void 0 && R(e, t, "maxValue", Q.withMessage(({ $params: e }) => L(f.value.maximum, e.max), nn(n.maximum))), n?.exclusiveMaximum !== void 0 && R(e, t, "exclusiveMaximum", Q.withMessage(() => L(f.value.exclusiveMaximum, n.exclusiveMaximum), ce(n.exclusiveMaximum))), n?.multipleOf !== void 0 && R(e, t, "multipleOf", Q.withMessage(() => L(f.value.multipleOf, n.multipleOf), le(n.multipleOf))));
|
|
5889
5889
|
}
|
|
5890
5890
|
function fe(e, t, n) {
|
|
5891
|
-
n?.type === "string" && (n?.minLength !== void 0 &&
|
|
5891
|
+
n?.type === "string" && (n?.minLength !== void 0 && R(e, t, "minLength", Q.withMessage(({ $params: e }) => L(f.value.minLength, e.min), Xt(n.minLength))), n?.maxLength !== void 0 && R(e, t, "maxLength", Q.withMessage(({ $params: e }) => L(f.value.maxLength, e.max), Jt(n.maxLength))), n?.pattern && R(e, t, "pattern", Q.withMessage(() => L(f.value.pattern, n.pattern), ue(n.pattern))));
|
|
5892
5892
|
}
|
|
5893
5893
|
function pe(e) {
|
|
5894
5894
|
return new Set(e)?.size === e?.length;
|
|
5895
5895
|
}
|
|
5896
5896
|
function me(e, t, n) {
|
|
5897
|
-
n?.type === "array" && (n?.minItems !== void 0 &&
|
|
5897
|
+
n?.type === "array" && (n?.minItems !== void 0 && R(e, t, "minItems", Q.withMessage(({ $params: e }) => L(f.value.minItems, e.min), Xt(n.minItems))), n?.maxItems !== void 0 && R(e, t, "maxItems", Q.withMessage(({ $params: e }) => L(f.value.maxItems, e.max), Jt(n.maxItems))), n?.uniqueItems && R(e, t, "uniqueItems", Q.withMessage(() => f.value.uniqueItems, pe)));
|
|
5898
5898
|
}
|
|
5899
5899
|
function he(e, t, n) {
|
|
5900
5900
|
de(e, t, n), fe(e, t, n), me(e, t, n);
|
|
@@ -5914,39 +5914,39 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5914
5914
|
value: e
|
|
5915
5915
|
}, (t) => Object.keys(t).length >= e);
|
|
5916
5916
|
}
|
|
5917
|
-
function
|
|
5917
|
+
function B(e) {
|
|
5918
5918
|
return Q.withParams({
|
|
5919
5919
|
type: "maxProperties",
|
|
5920
5920
|
value: e
|
|
5921
5921
|
}, (t) => Object.keys(t).length <= e);
|
|
5922
5922
|
}
|
|
5923
|
-
function
|
|
5924
|
-
e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() =>
|
|
5923
|
+
function ve(e, t) {
|
|
5924
|
+
e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() => L(f.value.minProperties, e.minProperties), _e(e.minProperties))), e?.maxProperties !== void 0 && e?.type === "object" && (t.maxProperties = Q.withMessage(() => L(f.value.maxProperties, e.maxProperties), B(e.maxProperties)));
|
|
5925
5925
|
}
|
|
5926
|
-
function
|
|
5926
|
+
function ye(e) {
|
|
5927
5927
|
let t = {};
|
|
5928
|
-
return
|
|
5928
|
+
return z(e, t), ge(e, t, ye), ve(e, t), t;
|
|
5929
5929
|
}
|
|
5930
|
-
let
|
|
5930
|
+
let be = r(() => u.schema ? { modelClone: ye(u.schema) } : { modelClone: {} }), xe = w();
|
|
5931
5931
|
function Se() {
|
|
5932
5932
|
let e = [];
|
|
5933
|
-
return u.mode !== "no-schema" && (xe.value = jt(
|
|
5933
|
+
return u.mode !== "no-schema" && (xe.value = jt(be, { modelClone: Y.objectClone(m.value) }, { $autoDirty: !0 }), xe.value.value.modelClone.$touch(), (xe.value.value?.$errors)?.forEach((t) => {
|
|
5934
5934
|
let n = {};
|
|
5935
5935
|
n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
|
|
5936
5936
|
})), e;
|
|
5937
5937
|
}
|
|
5938
|
-
function
|
|
5938
|
+
function V() {
|
|
5939
5939
|
xe.value.value.modelClone.$reset();
|
|
5940
5940
|
}
|
|
5941
5941
|
return ee(() => u.schema, () => {
|
|
5942
|
-
u.mode !== "no-schema" && u.mode !== "view-builder" &&
|
|
5942
|
+
u.mode !== "no-schema" && u.mode !== "view-builder" && ne();
|
|
5943
5943
|
}), x(() => {
|
|
5944
|
-
u.mode !== "no-schema" && u.mode !== "view-builder" &&
|
|
5944
|
+
u.mode !== "no-schema" && u.mode !== "view-builder" && ne();
|
|
5945
5945
|
}), n({
|
|
5946
5946
|
validateModel: Se,
|
|
5947
|
-
clearValidations:
|
|
5948
|
-
componentSelect:
|
|
5949
|
-
}), (n, r) => g.value ? (C(!0), o(t, { key: 0 }, T(I.value, (n, s) => (C(), o(t, { key: s }, [
|
|
5947
|
+
clearValidations: V,
|
|
5948
|
+
componentSelect: te
|
|
5949
|
+
}), (n, r) => g.value ? (C(!0), o(t, { key: 0 }, T(I.value, (n, s) => (C(), o(t, { key: s }, [te(n, s) === "lxPlaceholder" ? (C(), i(A(Oe), {
|
|
5950
5950
|
key: 0,
|
|
5951
5951
|
class: "lx-placeholder"
|
|
5952
5952
|
})) : n?.lx?.displayType === "section" ? a("", !0) : (C(), i(A(W), {
|
|
@@ -5966,9 +5966,9 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5966
5966
|
}]),
|
|
5967
5967
|
useRegistry: e.builderOptions?.useRegistry
|
|
5968
5968
|
},
|
|
5969
|
-
onActionClick: (e, t, n) =>
|
|
5969
|
+
onActionClick: (e, t, n) => ie(t, n, s, void 0)
|
|
5970
5970
|
}, c({
|
|
5971
|
-
default:
|
|
5971
|
+
default: M(() => [te(n, s) === "stack" ? (C(), i(A(G), {
|
|
5972
5972
|
key: 0,
|
|
5973
5973
|
id: `${e.id}-${s}`,
|
|
5974
5974
|
orientation: n?.lx?.orientation,
|
|
@@ -5979,7 +5979,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5979
5979
|
horizontalConfig: n?.lx?.horizontalConfig,
|
|
5980
5980
|
verticalConfig: n?.lx?.verticalConfig
|
|
5981
5981
|
}, {
|
|
5982
|
-
default:
|
|
5982
|
+
default: M(() => [(C(!0), o(t, null, T(F.value?.properties[s]?.properties, (n, c) => (C(), o(t, { key: c }, [te(n, c) === "stack" ? (C(), i(A(G), {
|
|
5983
5983
|
key: 0,
|
|
5984
5984
|
id: `${e.id}-${c}`,
|
|
5985
5985
|
orientation: n?.lx?.orientation,
|
|
@@ -5990,7 +5990,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5990
5990
|
horizontalConfig: n?.lx?.horizontalConfig,
|
|
5991
5991
|
verticalConfig: n?.lx?.verticalConfig
|
|
5992
5992
|
}, {
|
|
5993
|
-
default:
|
|
5993
|
+
default: M(() => [(C(!0), o(t, null, T(F.value?.properties[s]?.properties[c]?.properties, (n, l) => (C(), o(t, { key: l }, [m.value[s] ? (C(), i(Mn, {
|
|
5994
5994
|
key: 0,
|
|
5995
5995
|
id: `${e.id}-${l}`,
|
|
5996
5996
|
modelValue: m.value[s][c],
|
|
@@ -6004,8 +6004,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6004
6004
|
texts: f.value,
|
|
6005
6005
|
parentName: `${s}.${c}`,
|
|
6006
6006
|
validations: e.validations?.[s]?.[c],
|
|
6007
|
-
onRowActionClick: r[0] ||= (e, t, n, r) =>
|
|
6008
|
-
onEmit: r[1] ||= (e, t, n, r) =>
|
|
6007
|
+
onRowActionClick: r[0] ||= (e, t, n, r) => ie(e, t, n, r),
|
|
6008
|
+
onEmit: r[1] ||= (e, t, n, r) => re(e, t, n, r),
|
|
6009
6009
|
onFilterBuilderFilter: r[2] ||= (e) => p("filterBuilderFilter")
|
|
6010
6010
|
}, null, 8, [
|
|
6011
6011
|
"id",
|
|
@@ -6045,8 +6045,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6045
6045
|
parentName: s,
|
|
6046
6046
|
texts: f.value,
|
|
6047
6047
|
validations: e.validations?.[s],
|
|
6048
|
-
onRowActionClick: r[3] ||= (e, t, n, r) =>
|
|
6049
|
-
onEmit: r[4] ||= (e, t, n, r) =>
|
|
6048
|
+
onRowActionClick: r[3] ||= (e, t, n, r) => ie(e, t, n, r),
|
|
6049
|
+
onEmit: r[4] ||= (e, t, n, r) => re(e, t, n, r),
|
|
6050
6050
|
onFilterBuilderFilter: r[5] ||= (e) => p("filterBuilderFilter")
|
|
6051
6051
|
}, null, 8, [
|
|
6052
6052
|
"id",
|
|
@@ -6094,8 +6094,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6094
6094
|
useRegistry: e.builderOptions?.useRegistry,
|
|
6095
6095
|
schemaPath: `${e.builderOptions?.schemaPath}`
|
|
6096
6096
|
},
|
|
6097
|
-
onRowActionClick: r[7] ||= (e, t, n, r) =>
|
|
6098
|
-
onEmit: r[8] ||= (e, t, n, r) =>
|
|
6097
|
+
onRowActionClick: r[7] ||= (e, t, n, r) => ie(e, t, n, r),
|
|
6098
|
+
onEmit: r[8] ||= (e, t, n, r) => re(e, t, n, r),
|
|
6099
6099
|
onFilterBuilderFilter: r[9] ||= (e) => p("filterBuilderFilter")
|
|
6100
6100
|
}, null, 8, [
|
|
6101
6101
|
"id",
|
|
@@ -6114,7 +6114,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6114
6114
|
_: 2
|
|
6115
6115
|
}, [n?.description ? {
|
|
6116
6116
|
name: "info",
|
|
6117
|
-
fn:
|
|
6117
|
+
fn: M(() => [l(O(n?.description), 1)]),
|
|
6118
6118
|
key: "0"
|
|
6119
6119
|
} : void 0]), 1032, [
|
|
6120
6120
|
"label",
|
|
@@ -6370,16 +6370,16 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6370
6370
|
function ee() {
|
|
6371
6371
|
return d.value.validateModel();
|
|
6372
6372
|
}
|
|
6373
|
-
function
|
|
6373
|
+
function te() {
|
|
6374
6374
|
d.value.clearValidations();
|
|
6375
6375
|
}
|
|
6376
6376
|
x(() => {
|
|
6377
6377
|
g.value = Y.objectClone(a.modelValue || {});
|
|
6378
6378
|
});
|
|
6379
|
-
let
|
|
6379
|
+
let ne = r(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
|
|
6380
6380
|
return t({
|
|
6381
6381
|
validateModel: ee,
|
|
6382
|
-
clearValidations:
|
|
6382
|
+
clearValidations: te
|
|
6383
6383
|
}), (t, n) => (C(), i(A(ge), {
|
|
6384
6384
|
ref_key: "filterElement",
|
|
6385
6385
|
ref: m,
|
|
@@ -6406,7 +6406,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6406
6406
|
onResetFilters: n[4] ||= () => o("resetFilters"),
|
|
6407
6407
|
onFastFilterClick: n[5] ||= (e) => o("fastFilterClick", e)
|
|
6408
6408
|
}, {
|
|
6409
|
-
default:
|
|
6409
|
+
default: M(() => [u(Nn, {
|
|
6410
6410
|
ref_key: "formBuilder",
|
|
6411
6411
|
ref: d,
|
|
6412
6412
|
id: e.id,
|
|
@@ -6426,7 +6426,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6426
6426
|
name: "LxSection"
|
|
6427
6427
|
}),
|
|
6428
6428
|
useRegistry: e.builderOptions?.useRegistry,
|
|
6429
|
-
schemaPath:
|
|
6429
|
+
schemaPath: ne.value
|
|
6430
6430
|
},
|
|
6431
6431
|
onRowActionClick: n[1] ||= (e, t, n, r) => o("rowActionClick", e, t, n, r),
|
|
6432
6432
|
onFilterBuilderFilter: h,
|
|
@@ -6602,10 +6602,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6602
6602
|
e[t] = e[t] || {}, e[t].uniqueItems = Q.withMessage(() => p.value.uniqueItems, n);
|
|
6603
6603
|
}
|
|
6604
6604
|
}
|
|
6605
|
-
function
|
|
6605
|
+
function te(e, t, n) {
|
|
6606
6606
|
E(n?.type) && D(e, t, n), n?.type === "string" && k(e, t, n), n?.type === "array" && j(e, t, n);
|
|
6607
6607
|
}
|
|
6608
|
-
function
|
|
6608
|
+
function ne(e, t) {
|
|
6609
6609
|
t?.minProperties !== void 0 && t?.type === "object" && (e.minProperties = Q.withMessage(() => S(p.value.minProperties, t.minProperties), ((e) => Q.withParams({
|
|
6610
6610
|
type: "minProperties",
|
|
6611
6611
|
value: e
|
|
@@ -6614,27 +6614,27 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6614
6614
|
value: e
|
|
6615
6615
|
}, (t) => Object.keys(t).length <= e))(t.maxProperties)));
|
|
6616
6616
|
}
|
|
6617
|
-
let
|
|
6617
|
+
let N = (e) => {
|
|
6618
6618
|
let t = e?.required, n = {};
|
|
6619
6619
|
return t?.forEach((e) => {
|
|
6620
6620
|
n[e] = n[e] || {}, n[e].required = Q.withMessage(() => p.value.required, Qt);
|
|
6621
6621
|
}), e?.properties && Object.entries(e.properties).forEach(([e, t]) => {
|
|
6622
|
-
t?.type === "object" && t?.properties ? n[e] =
|
|
6623
|
-
}),
|
|
6624
|
-
},
|
|
6625
|
-
function
|
|
6622
|
+
t?.type === "object" && t?.properties ? n[e] = N(t) : te(n, e, t);
|
|
6623
|
+
}), ne(n, e), n;
|
|
6624
|
+
}, P = r(() => d.schema ? { modelClone: N(d.schema) } : { modelClone: {} }), F = w(), I = w({});
|
|
6625
|
+
function re() {
|
|
6626
6626
|
Object.values(I.value)?.forEach((e) => {
|
|
6627
6627
|
e.validateModel();
|
|
6628
6628
|
});
|
|
6629
6629
|
}
|
|
6630
|
-
function
|
|
6630
|
+
function L() {
|
|
6631
6631
|
let e = [];
|
|
6632
|
-
return
|
|
6632
|
+
return re(), F.value = jt(P, { modelClone: Y.objectClone(h.value) }, { $autoDirty: !0 }), F.value.value.modelClone.$touch(), (F.value.value?.$errors)?.forEach((t) => {
|
|
6633
6633
|
let n = {};
|
|
6634
6634
|
n.propertyPath = t.$propertyPath, n.validator = t.$validator, n.message = t.$message, n.value = t.$params, e.push(n);
|
|
6635
6635
|
}), e;
|
|
6636
6636
|
}
|
|
6637
|
-
function
|
|
6637
|
+
function ie() {
|
|
6638
6638
|
F.value.value.modelClone.$reset(), Object.values(I.value)?.forEach((e) => {
|
|
6639
6639
|
e.clearValidations();
|
|
6640
6640
|
});
|
|
@@ -6644,7 +6644,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6644
6644
|
}), b(async () => {
|
|
6645
6645
|
d.mode !== "no-schema" && await _();
|
|
6646
6646
|
});
|
|
6647
|
-
let
|
|
6647
|
+
let ae = r(() => {
|
|
6648
6648
|
let e = {
|
|
6649
6649
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6650
6650
|
type: "object",
|
|
@@ -6665,26 +6665,26 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6665
6665
|
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" }));
|
|
6666
6666
|
})) : e.properties.form.properties[t] = { lx: { wrapper: "placeholder" } };
|
|
6667
6667
|
}), e;
|
|
6668
|
-
}),
|
|
6668
|
+
}), oe = r(() => {
|
|
6669
6669
|
let e = structuredClone(d.schema);
|
|
6670
6670
|
if (d.mode === "mixed") try {
|
|
6671
|
-
return Object.entries(
|
|
6671
|
+
return Object.entries(ae.value?.properties?.form?.properties)?.forEach(([t, n]) => {
|
|
6672
6672
|
Object.prototype.hasOwnProperty.call(e?.properties, t) || (e.properties[t] = n);
|
|
6673
6673
|
}), e;
|
|
6674
6674
|
} catch (e) {
|
|
6675
6675
|
Be.log(e, $e().getGlobals()?.environment, "warn");
|
|
6676
6676
|
}
|
|
6677
6677
|
return e;
|
|
6678
|
-
}),
|
|
6678
|
+
}), R = r(() => {
|
|
6679
6679
|
try {
|
|
6680
|
-
if (d.mode === "no-schema") return
|
|
6681
|
-
if (d.mode === "mixed") return
|
|
6680
|
+
if (d.mode === "no-schema") return ae.value;
|
|
6681
|
+
if (d.mode === "mixed") return oe.value;
|
|
6682
6682
|
} catch (e) {
|
|
6683
6683
|
Be.log(e, $e().getGlobals()?.environment, "warn");
|
|
6684
6684
|
}
|
|
6685
6685
|
return d.schema;
|
|
6686
6686
|
});
|
|
6687
|
-
function
|
|
6687
|
+
function z(e) {
|
|
6688
6688
|
let t = Y.objectClone(e), n = !1;
|
|
6689
6689
|
return Object.entries(t || {}).forEach(([e, r]) => {
|
|
6690
6690
|
!n && r?.lx?.displayType === "section" && r?.type === "object" && (delete t[e], n = !0);
|
|
@@ -6730,8 +6730,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6730
6730
|
});
|
|
6731
6731
|
}
|
|
6732
6732
|
return n({
|
|
6733
|
-
validateModel:
|
|
6734
|
-
clearValidations:
|
|
6733
|
+
validateModel: L,
|
|
6734
|
+
clearValidations: ie
|
|
6735
6735
|
}), (n, r) => g.value ? (C(), i(A(Ie), {
|
|
6736
6736
|
key: 0,
|
|
6737
6737
|
kind: v.value,
|
|
@@ -6742,7 +6742,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6742
6742
|
useRegistry: e.builderOptions?.useRegistry
|
|
6743
6743
|
}
|
|
6744
6744
|
}, c({
|
|
6745
|
-
filters:
|
|
6745
|
+
filters: M(() => [(C(!0), o(t, null, T(R.value?.properties, (n, s) => (C(), o(t, { key: s }, [n?.lx?.displayType === "filters" && n?.type === "object" ? (C(), i(Pn, {
|
|
6746
6746
|
key: 0,
|
|
6747
6747
|
ref_for: !0,
|
|
6748
6748
|
ref: (t) => I.value[`${e.id}-${s}`] = t,
|
|
@@ -6788,11 +6788,11 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6788
6788
|
_: 2
|
|
6789
6789
|
}, [e.mode === "no-schema" ? {
|
|
6790
6790
|
name: "default",
|
|
6791
|
-
fn:
|
|
6792
|
-
default:
|
|
6791
|
+
fn: M(() => [u(A(B), null, {
|
|
6792
|
+
default: M(() => [u(Nn, {
|
|
6793
6793
|
modelValue: h.value,
|
|
6794
6794
|
"onUpdate:modelValue": r[4] ||= (e) => h.value = e,
|
|
6795
|
-
schema:
|
|
6795
|
+
schema: R.value?.properties?.form,
|
|
6796
6796
|
readOnly: e.readOnly,
|
|
6797
6797
|
texts: p.value,
|
|
6798
6798
|
validations: e.validations,
|
|
@@ -6811,7 +6811,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6811
6811
|
key: "1"
|
|
6812
6812
|
} : {
|
|
6813
6813
|
name: "default",
|
|
6814
|
-
fn:
|
|
6814
|
+
fn: M(() => [(C(!0), o(t, null, T(R.value?.properties, (n, s) => (C(), o(t, { key: s }, [n?.lx?.displayType === "form" && n?.type === "object" ? (C(), i(A(B), {
|
|
6815
6815
|
key: 0,
|
|
6816
6816
|
id: `${e.id}-${s}`,
|
|
6817
6817
|
showHeader: n?.lx?.showHeader,
|
|
@@ -6843,8 +6843,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6843
6843
|
},
|
|
6844
6844
|
onActionClick: (e) => x("actionClick", s, e)
|
|
6845
6845
|
}, c({
|
|
6846
|
-
header:
|
|
6847
|
-
sections:
|
|
6846
|
+
header: M(() => [l(O(n?.title), 1)]),
|
|
6847
|
+
sections: M(() => [(C(!0), o(t, null, T(z(e.schema?.properties?.[s]?.properties), (n, r) => (C(), o(t, { key: r }, [n?.lx?.displayType === "section" && n?.type === "object" ? (C(), i(A(je), {
|
|
6848
6848
|
key: 0,
|
|
6849
6849
|
id: `${r}`,
|
|
6850
6850
|
label: n?.title,
|
|
@@ -6871,7 +6871,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6871
6871
|
},
|
|
6872
6872
|
onActionClick: (e) => x("actionClick", `${s}.${r}`, e)
|
|
6873
6873
|
}, {
|
|
6874
|
-
default:
|
|
6874
|
+
default: M(() => [h.value?.[s] ? (C(), i(Nn, {
|
|
6875
6875
|
key: 0,
|
|
6876
6876
|
ref_for: !0,
|
|
6877
6877
|
ref: (t) => I.value[`${e.id}-${s}-${r}`] = t,
|
|
@@ -6930,7 +6930,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6930
6930
|
"builderOptions",
|
|
6931
6931
|
"onActionClick"
|
|
6932
6932
|
])) : a("", !0)], 64))), 128))]),
|
|
6933
|
-
default:
|
|
6933
|
+
default: M(() => [(C(!0), o(t, null, T(se(e.schema?.properties?.[s]?.properties), (n, r) => (C(), o(t, { key: r }, [h.value?.[s] ? (C(), i(Nn, {
|
|
6934
6934
|
key: 0,
|
|
6935
6935
|
ref_for: !0,
|
|
6936
6936
|
ref: (t) => I.value[`${e.id}-${s}-${r}`] = t,
|
|
@@ -6976,7 +6976,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6976
6976
|
}, [
|
|
6977
6977
|
n?.lx?.preHeader ? {
|
|
6978
6978
|
name: "preHeader",
|
|
6979
|
-
fn:
|
|
6979
|
+
fn: M(() => [(C(!0), o(t, null, T(n?.lx?.preHeader?.properties, (n, r) => (C(), o(t, { key: r }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
6980
6980
|
key: 0,
|
|
6981
6981
|
id: `${e.id}-${s}-${r}`,
|
|
6982
6982
|
orientation: n?.lx?.orientation,
|
|
@@ -6987,7 +6987,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6987
6987
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
6988
6988
|
"vertical-config": n?.lx?.verticalConfig
|
|
6989
6989
|
}, {
|
|
6990
|
-
default:
|
|
6990
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
6991
6991
|
key: 0,
|
|
6992
6992
|
id: `${e.id}-${s}-${r}-${a}`,
|
|
6993
6993
|
orientation: n?.lx?.orientation,
|
|
@@ -6998,7 +6998,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6998
6998
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
6999
6999
|
"vertical-config": n?.lx?.verticalConfig
|
|
7000
7000
|
}, {
|
|
7001
|
-
default:
|
|
7001
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (e, t) => (C(), i($, {
|
|
7002
7002
|
key: t,
|
|
7003
7003
|
itemValue: e,
|
|
7004
7004
|
itemName: t
|
|
@@ -7037,12 +7037,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7037
7037
|
} : void 0,
|
|
7038
7038
|
n?.lx?.preHeaderInfo ? {
|
|
7039
7039
|
name: "preHeaderInfo",
|
|
7040
|
-
fn:
|
|
7040
|
+
fn: M(() => [(C(!0), o(t, null, T(n?.lx?.preHeaderInfo?.properties, (e, t) => (C(), i(A(W), {
|
|
7041
7041
|
label: e?.title,
|
|
7042
7042
|
hideLabel: e?.lx?.hideLabel || !e?.title,
|
|
7043
7043
|
key: t
|
|
7044
7044
|
}, {
|
|
7045
|
-
default:
|
|
7045
|
+
default: M(() => [u($, {
|
|
7046
7046
|
itemValue: e,
|
|
7047
7047
|
itemName: t
|
|
7048
7048
|
}, null, 8, ["itemValue", "itemName"])]),
|
|
@@ -7052,12 +7052,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7052
7052
|
} : void 0,
|
|
7053
7053
|
n?.lx?.postHeaderInfo ? {
|
|
7054
7054
|
name: "postHeaderInfo",
|
|
7055
|
-
fn:
|
|
7055
|
+
fn: M(() => [(C(!0), o(t, null, T(n?.lx?.postHeaderInfo?.properties, (e, t) => (C(), i(A(W), {
|
|
7056
7056
|
label: e?.title,
|
|
7057
7057
|
hideLabel: e?.lx?.hideLabel || !e?.title,
|
|
7058
7058
|
key: t
|
|
7059
7059
|
}, {
|
|
7060
|
-
default:
|
|
7060
|
+
default: M(() => [u($, {
|
|
7061
7061
|
itemValue: e,
|
|
7062
7062
|
itemName: t
|
|
7063
7063
|
}, null, 8, ["itemValue", "itemName"])]),
|
|
@@ -7067,7 +7067,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7067
7067
|
} : void 0,
|
|
7068
7068
|
n?.lx?.postHeader ? {
|
|
7069
7069
|
name: "postHeader",
|
|
7070
|
-
fn:
|
|
7070
|
+
fn: M(() => [(C(!0), o(t, null, T(n?.lx?.postHeader?.properties, (n, r) => (C(), o(t, { key: r }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
7071
7071
|
key: 0,
|
|
7072
7072
|
id: `${e.id}-${s}-${r}`,
|
|
7073
7073
|
orientation: n?.lx?.orientation,
|
|
@@ -7078,7 +7078,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7078
7078
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7079
7079
|
"vertical-config": n?.lx?.verticalConfig
|
|
7080
7080
|
}, {
|
|
7081
|
-
default:
|
|
7081
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
7082
7082
|
key: 0,
|
|
7083
7083
|
id: `${e.id}-${s}-${r}-${a}`,
|
|
7084
7084
|
orientation: n?.lx?.orientation,
|
|
@@ -7089,7 +7089,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7089
7089
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7090
7090
|
"vertical-config": n?.lx?.verticalConfig
|
|
7091
7091
|
}, {
|
|
7092
|
-
default:
|
|
7092
|
+
default: M(() => [(C(!0), o(t, null, T(n?.properties, (e, t) => (C(), i($, {
|
|
7093
7093
|
key: t,
|
|
7094
7094
|
itemValue: e,
|
|
7095
7095
|
itemName: t
|
|
@@ -7156,7 +7156,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7156
7156
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7157
7157
|
"vertical-config": n?.lx?.verticalConfig
|
|
7158
7158
|
}, {
|
|
7159
|
-
default:
|
|
7159
|
+
default: M(() => [(C(!0), o(t, null, T(e.schema?.properties?.[s]?.properties, (n, r) => (C(), o(t, { key: r }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
7160
7160
|
key: 0,
|
|
7161
7161
|
id: `${e.id}-${s}-${r}`,
|
|
7162
7162
|
orientation: n?.lx?.orientation,
|
|
@@ -7167,12 +7167,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7167
7167
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7168
7168
|
"vertical-config": n?.lx?.verticalConfig
|
|
7169
7169
|
}, {
|
|
7170
|
-
default:
|
|
7170
|
+
default: M(() => [(C(!0), o(t, null, T(e.schema?.properties?.[s]?.properties?.[r]?.properties, (n, c) => (C(), o(t, { key: c }, [h.value?.[s] ? (C(), i(Mn, {
|
|
7171
7171
|
key: 0,
|
|
7172
7172
|
modelValue: h.value[s][r],
|
|
7173
7173
|
"onUpdate:modelValue": (e) => h.value[s][r] = e,
|
|
7174
7174
|
schema: e.schema?.properties?.[s]?.properties?.[r],
|
|
7175
|
-
displaySchema:
|
|
7175
|
+
displaySchema: R.value?.properties?.[s]?.properties?.[r],
|
|
7176
7176
|
row: n,
|
|
7177
7177
|
name: c,
|
|
7178
7178
|
readOnly: e.readOnly,
|
|
@@ -7212,7 +7212,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7212
7212
|
modelValue: h.value[s],
|
|
7213
7213
|
"onUpdate:modelValue": (e) => h.value[s] = e,
|
|
7214
7214
|
schema: e.schema?.properties?.[s],
|
|
7215
|
-
displaySchema:
|
|
7215
|
+
displaySchema: R.value?.properties?.[s],
|
|
7216
7216
|
row: n,
|
|
7217
7217
|
name: r,
|
|
7218
7218
|
readOnly: e.readOnly,
|
|
@@ -7252,7 +7252,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7252
7252
|
modelValue: h.value,
|
|
7253
7253
|
"onUpdate:modelValue": r[1] ||= (e) => h.value = e,
|
|
7254
7254
|
schema: e.schema,
|
|
7255
|
-
displaySchema:
|
|
7255
|
+
displaySchema: R.value,
|
|
7256
7256
|
row: n,
|
|
7257
7257
|
name: s,
|
|
7258
7258
|
readOnly: e.readOnly,
|
|
@@ -7395,7 +7395,7 @@ function rr() {
|
|
|
7395
7395
|
}
|
|
7396
7396
|
function ir(e, t = {}) {
|
|
7397
7397
|
let { window: n = Zn, ssrWidth: i = /* @__PURE__ */ rr() } = t, a = /* @__PURE__ */ tr(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = D(typeof i == "number"), s = D(), c = D(!1);
|
|
7398
|
-
return
|
|
7398
|
+
return te(() => {
|
|
7399
7399
|
if (o.value) {
|
|
7400
7400
|
o.value = !a.value, c.value = k(e).split(",").some((e) => {
|
|
7401
7401
|
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);
|
|
@@ -7863,7 +7863,7 @@ var cr = [
|
|
|
7863
7863
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
7864
7864
|
items: c(e.iconSet)
|
|
7865
7865
|
}, {
|
|
7866
|
-
customItem:
|
|
7866
|
+
customItem: M((t) => [s("div", mr, [u(A(ve), {
|
|
7867
7867
|
value: t.name,
|
|
7868
7868
|
iconSet: e.iconSet || "cds"
|
|
7869
7869
|
}, null, 8, ["value", "iconSet"]), s("p", null, O(t.name), 1)])]),
|
|
@@ -7983,56 +7983,57 @@ var cr = [
|
|
|
7983
7983
|
invalid: !1
|
|
7984
7984
|
} : e), k.value = e, D.value.open();
|
|
7985
7985
|
}
|
|
7986
|
-
function
|
|
7986
|
+
function te(e) {
|
|
7987
7987
|
if (e === "save") {
|
|
7988
7988
|
let e = j.value.clearModel(k.value);
|
|
7989
7989
|
d.value.index = e, D.value.close();
|
|
7990
7990
|
}
|
|
7991
7991
|
}
|
|
7992
|
-
let
|
|
7993
|
-
function
|
|
7994
|
-
|
|
7992
|
+
let ne = w(), N = w(null), F = w(), re = w(null);
|
|
7993
|
+
function L() {
|
|
7994
|
+
re.value = null, c.componentName === "LxList" || c.componentName === "LxDataGrid" ? N.value = JSON.stringify(c.selectedModel, null, 2) : N.value = Y.objectClone(c.modelValue[c.name]), ne.value.open();
|
|
7995
7995
|
}
|
|
7996
|
-
function
|
|
7996
|
+
function ie(e) {
|
|
7997
7997
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
7998
7998
|
}
|
|
7999
|
-
function
|
|
7999
|
+
function ae(e) {
|
|
8000
8000
|
let t = e;
|
|
8001
8001
|
if (typeof t == "string") try {
|
|
8002
8002
|
t = JSON.parse(t);
|
|
8003
8003
|
} catch {
|
|
8004
8004
|
return !1;
|
|
8005
8005
|
}
|
|
8006
|
-
return Array.isArray(t) && t.every((e) =>
|
|
8006
|
+
return Array.isArray(t) && t.every((e) => ie(e));
|
|
8007
8007
|
}
|
|
8008
|
-
function
|
|
8009
|
-
if (e
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
L.value = c.texts?.invalidArrayOfObjects, l("error", "itemsValidation");
|
|
8016
|
-
return;
|
|
8017
|
-
}
|
|
8018
|
-
if (ie(e)) l("update:selectedModel", e);
|
|
8019
|
-
else {
|
|
8020
|
-
L.value = c.texts?.invalidArrayOfObjects, l("error", "itemsValidation");
|
|
8021
|
-
return;
|
|
8022
|
-
}
|
|
8023
|
-
te.value.close();
|
|
8024
|
-
} else {
|
|
8025
|
-
let e = F.value.clearModel(P.value);
|
|
8026
|
-
d.value[c.name] = e, te.value.close();
|
|
8008
|
+
function oe(e) {
|
|
8009
|
+
if (typeof e != "string") return e;
|
|
8010
|
+
if (!e.trim()) return [];
|
|
8011
|
+
try {
|
|
8012
|
+
return JSON.parse(e);
|
|
8013
|
+
} catch {
|
|
8014
|
+
return null;
|
|
8027
8015
|
}
|
|
8028
8016
|
}
|
|
8029
|
-
|
|
8030
|
-
|
|
8017
|
+
function R() {
|
|
8018
|
+
let e = oe(N.value);
|
|
8019
|
+
return e === null || !ae(e) ? (re.value = c.texts?.invalidArrayOfObjects, l("error", "itemsValidation"), !1) : (l("update:selectedModel", e), !0);
|
|
8020
|
+
}
|
|
8021
|
+
function se(e) {
|
|
8022
|
+
if (e !== "save") return;
|
|
8023
|
+
if (re.value = null, c.componentName === "LxList" || c.componentName === "LxDataGrid") {
|
|
8024
|
+
R() && ne.value.close();
|
|
8025
|
+
return;
|
|
8026
|
+
}
|
|
8027
|
+
let t = F.value.clearModel(N.value);
|
|
8028
|
+
d.value[c.name] = t, ne.value.close();
|
|
8029
|
+
}
|
|
8030
|
+
let ce = w(), le = w(null), ue = w(null);
|
|
8031
|
+
function de(e) {
|
|
8031
8032
|
let t = {};
|
|
8032
8033
|
function n(e, r = "") {
|
|
8033
|
-
|
|
8034
|
+
ie(e) && Object.entries(e).forEach(([e, i]) => {
|
|
8034
8035
|
let a = r ? `${r}.${e}` : e;
|
|
8035
|
-
|
|
8036
|
+
ie(i) ? n(i, a) : t[a] = { type: "string" };
|
|
8036
8037
|
});
|
|
8037
8038
|
}
|
|
8038
8039
|
return n(e), {
|
|
@@ -8040,19 +8041,19 @@ var cr = [
|
|
|
8040
8041
|
properties: t
|
|
8041
8042
|
};
|
|
8042
8043
|
}
|
|
8043
|
-
function
|
|
8044
|
+
function pe(e, t) {
|
|
8044
8045
|
let n = {};
|
|
8045
8046
|
function r(e, t, i = "") {
|
|
8046
|
-
|
|
8047
|
-
let o = i ? `${i}.${t}` : t, s =
|
|
8048
|
-
|
|
8047
|
+
ie(t) && Object.entries(t).forEach(([t, a]) => {
|
|
8048
|
+
let o = i ? `${i}.${t}` : t, s = ie(e) ? e[t] : void 0;
|
|
8049
|
+
ie(a) ? r(s, a, o) : s === void 0 ? n[o] = Y.objectClone(a) : n[o] = Y.objectClone(s);
|
|
8049
8050
|
});
|
|
8050
8051
|
}
|
|
8051
8052
|
return r(e, t), n;
|
|
8052
8053
|
}
|
|
8053
|
-
function
|
|
8054
|
+
function me(e) {
|
|
8054
8055
|
let t = {};
|
|
8055
|
-
return
|
|
8056
|
+
return ie(e) && Object.entries(e).forEach(([e, n]) => {
|
|
8056
8057
|
if (!e.includes(".")) {
|
|
8057
8058
|
t[e] = Y.objectClone(n);
|
|
8058
8059
|
return;
|
|
@@ -8063,19 +8064,19 @@ var cr = [
|
|
|
8063
8064
|
i[e] = Y.objectClone(n);
|
|
8064
8065
|
return;
|
|
8065
8066
|
}
|
|
8066
|
-
|
|
8067
|
+
ie(i[e]) || (i[e] = {}), i = i[e];
|
|
8067
8068
|
});
|
|
8068
8069
|
}), t;
|
|
8069
8070
|
}
|
|
8070
|
-
function
|
|
8071
|
-
|
|
8071
|
+
function he() {
|
|
8072
|
+
ce.value.open();
|
|
8072
8073
|
let e = c.item?.options || {};
|
|
8073
|
-
|
|
8074
|
+
ue.value = de(e), le.value = pe(c.modelValue.texts, e);
|
|
8074
8075
|
}
|
|
8075
|
-
function
|
|
8076
|
-
e === "save" && (d.value.texts =
|
|
8076
|
+
function ge(e) {
|
|
8077
|
+
e === "save" && (d.value.texts = me(le.value), ce.value.close());
|
|
8077
8078
|
}
|
|
8078
|
-
let
|
|
8079
|
+
let _e = w(""), ve = r(() => _e.value ? { properties: Object.fromEntries(Object.entries(ue.value.properties).filter(([e]) => e.toLowerCase().includes(_e.value.toLowerCase()))) } : ue.value), ye = r(() => x.value ? [
|
|
8079
8080
|
{
|
|
8080
8081
|
id: "primary",
|
|
8081
8082
|
name: "primary"
|
|
@@ -8114,30 +8115,30 @@ var cr = [
|
|
|
8114
8115
|
name: "additional"
|
|
8115
8116
|
}
|
|
8116
8117
|
]);
|
|
8117
|
-
function
|
|
8118
|
+
function be(e) {
|
|
8118
8119
|
return c.name === "columnSpan" || c.name === "rowSpan" || c.name === "columnCount" || c.name === "cadenceOfMinutes" || c.name === "cadenceOfSeconds" ? "tags" : e.length > 5 ? "dropdown" : "default";
|
|
8119
8120
|
}
|
|
8120
|
-
let
|
|
8121
|
-
function
|
|
8122
|
-
|
|
8121
|
+
let xe = w(), Se = w(null), V = w();
|
|
8122
|
+
function Ce() {
|
|
8123
|
+
Se.value = Y.objectClone(c.modelValue[c.name] || []), xe.value.open();
|
|
8123
8124
|
}
|
|
8124
|
-
function
|
|
8125
|
+
function we(e) {
|
|
8125
8126
|
if (e === "save") {
|
|
8126
|
-
let e =
|
|
8127
|
-
d.value[c.name] = e,
|
|
8127
|
+
let e = V.value.clearModel(Se.value);
|
|
8128
|
+
d.value[c.name] = e, xe.value.close();
|
|
8128
8129
|
}
|
|
8129
8130
|
}
|
|
8130
|
-
let
|
|
8131
|
-
function
|
|
8132
|
-
|
|
8131
|
+
let Ee = w(), De = w(null), Oe = w(), ke = w(!1), H = w(!1), U = w(!1);
|
|
8132
|
+
function Ae() {
|
|
8133
|
+
De.value = Y.objectClone(c.modelValue[c.name]), Ee.value.open();
|
|
8133
8134
|
}
|
|
8134
|
-
function
|
|
8135
|
+
function je(e) {
|
|
8135
8136
|
if (e === "save") {
|
|
8136
|
-
let e =
|
|
8137
|
-
d.value[c.name] = e,
|
|
8137
|
+
let e = Oe.value.clearModel(De.value);
|
|
8138
|
+
d.value[c.name] = e, Ee.value.close();
|
|
8138
8139
|
}
|
|
8139
8140
|
}
|
|
8140
|
-
function
|
|
8141
|
+
function Me() {
|
|
8141
8142
|
return {
|
|
8142
8143
|
removeItem: c.texts?.removeItem,
|
|
8143
8144
|
removeItemHint: c.texts?.removeItemHint,
|
|
@@ -8146,7 +8147,7 @@ var cr = [
|
|
|
8146
8147
|
};
|
|
8147
8148
|
}
|
|
8148
8149
|
return (n, r) => (C(), o(t, null, [
|
|
8149
|
-
(p(e.item) || h(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (C(), i(A(
|
|
8150
|
+
(p(e.item) || h(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (C(), i(A(z), {
|
|
8150
8151
|
key: 0,
|
|
8151
8152
|
modelValue: d.value[e.name],
|
|
8152
8153
|
"onUpdate:modelValue": r[0] ||= (t) => d.value[e.name] = t,
|
|
@@ -8170,7 +8171,7 @@ var cr = [
|
|
|
8170
8171
|
modelValue: d.value[e.name],
|
|
8171
8172
|
"onUpdate:modelValue": r[4] ||= (t) => d.value[e.name] = t,
|
|
8172
8173
|
items: g(e.item.options),
|
|
8173
|
-
variant:
|
|
8174
|
+
variant: be(e.item.options),
|
|
8174
8175
|
nullable: e.item.options.includes(null),
|
|
8175
8176
|
convertToString: !p(e.item)
|
|
8176
8177
|
}, null, 8, [
|
|
@@ -8190,7 +8191,7 @@ var cr = [
|
|
|
8190
8191
|
kind: "secondary",
|
|
8191
8192
|
icon: "edit",
|
|
8192
8193
|
onClick: ee
|
|
8193
|
-
}, null, 8, ["label"]), u(A(
|
|
8194
|
+
}, null, 8, ["label"]), u(A(Te), {
|
|
8194
8195
|
ref_key: "indexModal",
|
|
8195
8196
|
ref: D,
|
|
8196
8197
|
label: e.texts?.editing,
|
|
@@ -8205,9 +8206,9 @@ var cr = [
|
|
|
8205
8206
|
kind: "secondary"
|
|
8206
8207
|
}],
|
|
8207
8208
|
texts: { close: e.texts.close },
|
|
8208
|
-
onActionClick:
|
|
8209
|
+
onActionClick: te
|
|
8209
8210
|
}, {
|
|
8210
|
-
default:
|
|
8211
|
+
default: M(() => [u(A(P), {
|
|
8211
8212
|
ref_key: "indexList",
|
|
8212
8213
|
ref: j,
|
|
8213
8214
|
modelValue: k.value,
|
|
@@ -8215,29 +8216,29 @@ var cr = [
|
|
|
8215
8216
|
columnCount: 4,
|
|
8216
8217
|
requiredMode: "none",
|
|
8217
8218
|
readOnly: !0,
|
|
8218
|
-
texts:
|
|
8219
|
+
texts: Me()
|
|
8219
8220
|
}, {
|
|
8220
|
-
customItem:
|
|
8221
|
+
customItem: M(({ item: e }) => [
|
|
8221
8222
|
u(A(W), { label: "id" }, {
|
|
8222
|
-
default:
|
|
8223
|
+
default: M(() => [s("p", gr, O(e.id), 1)]),
|
|
8223
8224
|
_: 2
|
|
8224
8225
|
}, 1024),
|
|
8225
8226
|
u(A(W), { label: "name" }, {
|
|
8226
|
-
default:
|
|
8227
|
+
default: M(() => [u(A(K), {
|
|
8227
8228
|
modelValue: e.name,
|
|
8228
8229
|
"onUpdate:modelValue": (t) => e.name = t
|
|
8229
8230
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8230
8231
|
_: 2
|
|
8231
8232
|
}, 1024),
|
|
8232
8233
|
u(A(W), { label: "invalid" }, {
|
|
8233
|
-
default:
|
|
8234
|
+
default: M(() => [u(A(q), {
|
|
8234
8235
|
modelValue: e.invalid,
|
|
8235
8236
|
"onUpdate:modelValue": (t) => e.invalid = t
|
|
8236
8237
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8237
8238
|
_: 2
|
|
8238
8239
|
}, 1024),
|
|
8239
8240
|
u(A(W), { label: "invalidationMessage" }, {
|
|
8240
|
-
default:
|
|
8241
|
+
default: M(() => [u(A(K), {
|
|
8241
8242
|
modelValue: e.invalidationMessage,
|
|
8242
8243
|
"onUpdate:modelValue": (t) => e.invalidationMessage = t
|
|
8243
8244
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -8257,7 +8258,7 @@ var cr = [
|
|
|
8257
8258
|
icon: "edit",
|
|
8258
8259
|
kind: "secondary",
|
|
8259
8260
|
onClick: b
|
|
8260
|
-
}, null, 8, ["label"]), u(A(
|
|
8261
|
+
}, null, 8, ["label"]), u(A(Te), {
|
|
8261
8262
|
ref_key: "actionDefinitionsModal",
|
|
8262
8263
|
ref: _,
|
|
8263
8264
|
label: e.texts?.editing,
|
|
@@ -8274,7 +8275,7 @@ var cr = [
|
|
|
8274
8275
|
texts: { close: e.texts.close },
|
|
8275
8276
|
onActionClick: E
|
|
8276
8277
|
}, {
|
|
8277
|
-
default:
|
|
8278
|
+
default: M(() => [c.name === "emptyStateActionDefinitions" || c.name === "actionDefinitions" && (c.componentName === "LxForm" || c.componentName === "LxSection") ? (C(), i(A(P), {
|
|
8278
8279
|
key: 0,
|
|
8279
8280
|
ref_key: "actionDefList",
|
|
8280
8281
|
ref: y,
|
|
@@ -8285,19 +8286,19 @@ var cr = [
|
|
|
8285
8286
|
toolbarActionDefinitions: [{
|
|
8286
8287
|
id: "advanced",
|
|
8287
8288
|
kind: "toggle",
|
|
8288
|
-
value:
|
|
8289
|
+
value: ke.value,
|
|
8289
8290
|
title: e.texts.showAllFields
|
|
8290
8291
|
}],
|
|
8291
|
-
texts:
|
|
8292
|
-
onToolbarActionClick: r[8] ||= (e, t) =>
|
|
8292
|
+
texts: Me(),
|
|
8293
|
+
onToolbarActionClick: r[8] ||= (e, t) => ke.value = t
|
|
8293
8294
|
}, {
|
|
8294
|
-
customItem:
|
|
8295
|
+
customItem: M(({ item: e }) => [
|
|
8295
8296
|
u(A(W), {
|
|
8296
8297
|
label: "id",
|
|
8297
8298
|
columnSpan: "2",
|
|
8298
8299
|
required: !0
|
|
8299
8300
|
}, {
|
|
8300
|
-
default:
|
|
8301
|
+
default: M(() => [u(A(K), {
|
|
8301
8302
|
modelValue: e.id,
|
|
8302
8303
|
"onUpdate:modelValue": (t) => e.id = t,
|
|
8303
8304
|
invalid: !!S.value?.[e?._lx_appendableKey]?.id,
|
|
@@ -8315,7 +8316,7 @@ var cr = [
|
|
|
8315
8316
|
columnSpan: c.name === "emptyStateActionDefinitions" ? "4" : "2",
|
|
8316
8317
|
required: !0
|
|
8317
8318
|
}, {
|
|
8318
|
-
default:
|
|
8319
|
+
default: M(() => [u(A(K), {
|
|
8319
8320
|
modelValue: e.name,
|
|
8320
8321
|
"onUpdate:modelValue": (t) => e.name = t,
|
|
8321
8322
|
invalid: !!S.value?.[e?._lx_appendableKey]?.name,
|
|
@@ -8332,7 +8333,7 @@ var cr = [
|
|
|
8332
8333
|
label: "icon",
|
|
8333
8334
|
columnSpan: "2"
|
|
8334
8335
|
}, {
|
|
8335
|
-
default:
|
|
8336
|
+
default: M(() => [u(hr, {
|
|
8336
8337
|
modelValue: e.icon,
|
|
8337
8338
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
8338
8339
|
iconSet: e?.iconSet
|
|
@@ -8349,11 +8350,11 @@ var cr = [
|
|
|
8349
8350
|
columnSpan: "2",
|
|
8350
8351
|
required: !x.value
|
|
8351
8352
|
}, {
|
|
8352
|
-
default:
|
|
8353
|
+
default: M(() => [u(A(J), {
|
|
8353
8354
|
modelValue: e.kind,
|
|
8354
8355
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
8355
8356
|
variant: "dropdown",
|
|
8356
|
-
items:
|
|
8357
|
+
items: ye.value,
|
|
8357
8358
|
nullable: x.value,
|
|
8358
8359
|
invalid: !!S.value?.[e?._lx_appendableKey]?.kind,
|
|
8359
8360
|
invalidationMessage: S.value?.[e?._lx_appendableKey]?.kind
|
|
@@ -8367,12 +8368,12 @@ var cr = [
|
|
|
8367
8368
|
])]),
|
|
8368
8369
|
_: 2
|
|
8369
8370
|
}, 1032, ["required"])),
|
|
8370
|
-
|
|
8371
|
+
ke.value ? (C(), i(A(W), {
|
|
8371
8372
|
key: 1,
|
|
8372
8373
|
label: "iconSet",
|
|
8373
8374
|
columnSpan: "2"
|
|
8374
8375
|
}, {
|
|
8375
|
-
default:
|
|
8376
|
+
default: M(() => [u(A(J), {
|
|
8376
8377
|
modelValue: e.iconSet,
|
|
8377
8378
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
8378
8379
|
variant: "dropdown",
|
|
@@ -8384,34 +8385,34 @@ var cr = [
|
|
|
8384
8385
|
])]),
|
|
8385
8386
|
_: 2
|
|
8386
8387
|
}, 1024)) : a("", !0),
|
|
8387
|
-
|
|
8388
|
+
ke.value ? (C(), i(A(W), {
|
|
8388
8389
|
key: 2,
|
|
8389
8390
|
label: "title",
|
|
8390
8391
|
columnSpan: "2"
|
|
8391
8392
|
}, {
|
|
8392
|
-
default:
|
|
8393
|
+
default: M(() => [u(A(K), {
|
|
8393
8394
|
modelValue: e.title,
|
|
8394
8395
|
"onUpdate:modelValue": (t) => e.title = t
|
|
8395
8396
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8396
8397
|
_: 2
|
|
8397
8398
|
}, 1024)) : a("", !0),
|
|
8398
|
-
|
|
8399
|
+
ke.value ? (C(), i(A(W), {
|
|
8399
8400
|
key: 3,
|
|
8400
8401
|
label: "badge",
|
|
8401
8402
|
columnSpan: "2"
|
|
8402
8403
|
}, {
|
|
8403
|
-
default:
|
|
8404
|
+
default: M(() => [u(A(K), {
|
|
8404
8405
|
modelValue: e.badge,
|
|
8405
8406
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
8406
8407
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8407
8408
|
_: 2
|
|
8408
8409
|
}, 1024)) : a("", !0),
|
|
8409
|
-
|
|
8410
|
+
ke.value ? (C(), i(A(W), {
|
|
8410
8411
|
key: 4,
|
|
8411
8412
|
label: "badgeType",
|
|
8412
8413
|
columnSpan: "2"
|
|
8413
8414
|
}, {
|
|
8414
|
-
default:
|
|
8415
|
+
default: M(() => [u(A(J), {
|
|
8415
8416
|
modelValue: e.badgeType,
|
|
8416
8417
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
8417
8418
|
variant: "dropdown",
|
|
@@ -8423,63 +8424,63 @@ var cr = [
|
|
|
8423
8424
|
])]),
|
|
8424
8425
|
_: 2
|
|
8425
8426
|
}, 1024)) : a("", !0),
|
|
8426
|
-
|
|
8427
|
+
ke.value ? (C(), i(A(W), {
|
|
8427
8428
|
key: 5,
|
|
8428
8429
|
label: "badgeIcon",
|
|
8429
8430
|
columnSpan: "2"
|
|
8430
8431
|
}, {
|
|
8431
|
-
default:
|
|
8432
|
+
default: M(() => [u(hr, {
|
|
8432
8433
|
modelValue: e.badgeIcon,
|
|
8433
8434
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
8434
8435
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8435
8436
|
_: 2
|
|
8436
8437
|
}, 1024)) : a("", !0),
|
|
8437
|
-
|
|
8438
|
+
ke.value ? (C(), i(A(W), {
|
|
8438
8439
|
key: 6,
|
|
8439
8440
|
label: "badgeTitle",
|
|
8440
8441
|
columnSpan: "2"
|
|
8441
8442
|
}, {
|
|
8442
|
-
default:
|
|
8443
|
+
default: M(() => [u(A(K), {
|
|
8443
8444
|
modelValue: e.badgeTitle,
|
|
8444
8445
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
8445
8446
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8446
8447
|
_: 2
|
|
8447
8448
|
}, 1024)) : a("", !0),
|
|
8448
|
-
|
|
8449
|
+
ke.value ? (C(), i(A(W), {
|
|
8449
8450
|
key: 7,
|
|
8450
8451
|
label: "destructive"
|
|
8451
8452
|
}, {
|
|
8452
|
-
default:
|
|
8453
|
+
default: M(() => [u(A(q), {
|
|
8453
8454
|
modelValue: e.destructive,
|
|
8454
8455
|
"onUpdate:modelValue": (t) => e.destructive = t
|
|
8455
8456
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8456
8457
|
_: 2
|
|
8457
8458
|
}, 1024)) : a("", !0),
|
|
8458
|
-
|
|
8459
|
+
ke.value ? (C(), i(A(W), {
|
|
8459
8460
|
key: 8,
|
|
8460
8461
|
label: "disabled"
|
|
8461
8462
|
}, {
|
|
8462
|
-
default:
|
|
8463
|
+
default: M(() => [u(A(q), {
|
|
8463
8464
|
modelValue: e.disabled,
|
|
8464
8465
|
"onUpdate:modelValue": (t) => e.disabled = t
|
|
8465
8466
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8466
8467
|
_: 2
|
|
8467
8468
|
}, 1024)) : a("", !0),
|
|
8468
|
-
|
|
8469
|
+
ke.value ? (C(), i(A(W), {
|
|
8469
8470
|
key: 9,
|
|
8470
8471
|
label: "loading"
|
|
8471
8472
|
}, {
|
|
8472
|
-
default:
|
|
8473
|
+
default: M(() => [u(A(q), {
|
|
8473
8474
|
modelValue: e.loading,
|
|
8474
8475
|
"onUpdate:modelValue": (t) => e.loading = t
|
|
8475
8476
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8476
8477
|
_: 2
|
|
8477
8478
|
}, 1024)) : a("", !0),
|
|
8478
|
-
|
|
8479
|
+
ke.value ? (C(), i(A(W), {
|
|
8479
8480
|
key: 10,
|
|
8480
8481
|
label: "busy"
|
|
8481
8482
|
}, {
|
|
8482
|
-
default:
|
|
8483
|
+
default: M(() => [u(A(q), {
|
|
8483
8484
|
modelValue: e.busy,
|
|
8484
8485
|
"onUpdate:modelValue": (t) => e.busy = t
|
|
8485
8486
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -8491,7 +8492,7 @@ var cr = [
|
|
|
8491
8492
|
"modelValue",
|
|
8492
8493
|
"toolbarActionDefinitions",
|
|
8493
8494
|
"texts"
|
|
8494
|
-
])) : a("", !0), c.name === "actionDefinitions" && (c.componentName === "LxList" || c.componentName === "LxDataGrid") ? (C(), i(A(
|
|
8495
|
+
])) : a("", !0), c.name === "actionDefinitions" && (c.componentName === "LxList" || c.componentName === "LxDataGrid") ? (C(), i(A(P), {
|
|
8495
8496
|
key: 1,
|
|
8496
8497
|
ref_key: "actionDefList",
|
|
8497
8498
|
ref: y,
|
|
@@ -8502,19 +8503,19 @@ var cr = [
|
|
|
8502
8503
|
toolbarActionDefinitions: [{
|
|
8503
8504
|
id: "advanced",
|
|
8504
8505
|
kind: "toggle",
|
|
8505
|
-
value:
|
|
8506
|
+
value: U.value,
|
|
8506
8507
|
title: e.texts.showAllFields
|
|
8507
8508
|
}],
|
|
8508
|
-
texts:
|
|
8509
|
-
onToolbarActionClick: r[10] ||= (e, t) =>
|
|
8509
|
+
texts: Me(),
|
|
8510
|
+
onToolbarActionClick: r[10] ||= (e, t) => U.value = t
|
|
8510
8511
|
}, {
|
|
8511
|
-
customItem:
|
|
8512
|
+
customItem: M(({ item: e }) => [
|
|
8512
8513
|
u(A(W), {
|
|
8513
8514
|
label: "id",
|
|
8514
8515
|
columnSpan: "2",
|
|
8515
8516
|
required: !0
|
|
8516
8517
|
}, {
|
|
8517
|
-
default:
|
|
8518
|
+
default: M(() => [u(A(K), {
|
|
8518
8519
|
modelValue: e.id,
|
|
8519
8520
|
"onUpdate:modelValue": (t) => e.id = t,
|
|
8520
8521
|
invalid: !!S.value?.[e?._lx_appendableKey]?.id,
|
|
@@ -8532,7 +8533,7 @@ var cr = [
|
|
|
8532
8533
|
columnSpan: "2",
|
|
8533
8534
|
required: !0
|
|
8534
8535
|
}, {
|
|
8535
|
-
default:
|
|
8536
|
+
default: M(() => [u(A(K), {
|
|
8536
8537
|
modelValue: e.name,
|
|
8537
8538
|
"onUpdate:modelValue": (t) => e.name = t,
|
|
8538
8539
|
invalid: !!S.value?.[e?._lx_appendableKey]?.name,
|
|
@@ -8549,7 +8550,7 @@ var cr = [
|
|
|
8549
8550
|
label: "icon",
|
|
8550
8551
|
columnSpan: "2"
|
|
8551
8552
|
}, {
|
|
8552
|
-
default:
|
|
8553
|
+
default: M(() => [u(hr, {
|
|
8553
8554
|
modelValue: e.icon,
|
|
8554
8555
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
8555
8556
|
iconSet: e?.iconSet
|
|
@@ -8565,11 +8566,11 @@ var cr = [
|
|
|
8565
8566
|
columnSpan: "2",
|
|
8566
8567
|
required: !x.value
|
|
8567
8568
|
}, {
|
|
8568
|
-
default:
|
|
8569
|
+
default: M(() => [u(A(J), {
|
|
8569
8570
|
modelValue: e.kind,
|
|
8570
8571
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
8571
8572
|
variant: "dropdown",
|
|
8572
|
-
items:
|
|
8573
|
+
items: ye.value,
|
|
8573
8574
|
nullable: x.value,
|
|
8574
8575
|
invalid: !!S.value?.[e?._lx_appendableKey]?.kind,
|
|
8575
8576
|
invalidationMessage: S.value?.[e?._lx_appendableKey]?.kind
|
|
@@ -8583,12 +8584,12 @@ var cr = [
|
|
|
8583
8584
|
])]),
|
|
8584
8585
|
_: 2
|
|
8585
8586
|
}, 1032, ["required"]),
|
|
8586
|
-
|
|
8587
|
+
U.value ? (C(), i(A(W), {
|
|
8587
8588
|
key: 0,
|
|
8588
8589
|
label: "iconSet",
|
|
8589
8590
|
columnSpan: "2"
|
|
8590
8591
|
}, {
|
|
8591
|
-
default:
|
|
8592
|
+
default: M(() => [u(A(J), {
|
|
8592
8593
|
modelValue: e.iconSet,
|
|
8593
8594
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
8594
8595
|
variant: "dropdown",
|
|
@@ -8600,45 +8601,45 @@ var cr = [
|
|
|
8600
8601
|
])]),
|
|
8601
8602
|
_: 2
|
|
8602
8603
|
}, 1024)) : a("", !0),
|
|
8603
|
-
|
|
8604
|
+
U.value ? (C(), i(A(W), {
|
|
8604
8605
|
key: 1,
|
|
8605
8606
|
label: "title",
|
|
8606
8607
|
columnSpan: "2"
|
|
8607
8608
|
}, {
|
|
8608
|
-
default:
|
|
8609
|
+
default: M(() => [u(A(K), {
|
|
8609
8610
|
modelValue: e.title,
|
|
8610
8611
|
"onUpdate:modelValue": (t) => e.title = t
|
|
8611
8612
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8612
8613
|
_: 2
|
|
8613
8614
|
}, 1024)) : a("", !0),
|
|
8614
|
-
|
|
8615
|
+
U.value ? (C(), i(A(W), {
|
|
8615
8616
|
key: 2,
|
|
8616
8617
|
label: "enableByAttribute",
|
|
8617
8618
|
columnSpan: "2"
|
|
8618
8619
|
}, {
|
|
8619
|
-
default:
|
|
8620
|
+
default: M(() => [u(A(K), {
|
|
8620
8621
|
modelValue: e.enableByAttribute,
|
|
8621
8622
|
"onUpdate:modelValue": (t) => e.enableByAttribute = t
|
|
8622
8623
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8623
8624
|
_: 2
|
|
8624
8625
|
}, 1024)) : a("", !0),
|
|
8625
|
-
|
|
8626
|
+
U.value ? (C(), i(A(W), {
|
|
8626
8627
|
key: 3,
|
|
8627
8628
|
label: "visibleByAttribute",
|
|
8628
8629
|
columnSpan: "2"
|
|
8629
8630
|
}, {
|
|
8630
|
-
default:
|
|
8631
|
+
default: M(() => [u(A(K), {
|
|
8631
8632
|
modelValue: e.visibleByAttribute,
|
|
8632
8633
|
"onUpdate:modelValue": (t) => e.visibleByAttribute = t
|
|
8633
8634
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8634
8635
|
_: 2
|
|
8635
8636
|
}, 1024)) : a("", !0),
|
|
8636
|
-
|
|
8637
|
+
U.value ? (C(), i(A(W), {
|
|
8637
8638
|
key: 4,
|
|
8638
8639
|
label: "badgeType",
|
|
8639
8640
|
columnSpan: "2"
|
|
8640
8641
|
}, {
|
|
8641
|
-
default:
|
|
8642
|
+
default: M(() => [u(A(J), {
|
|
8642
8643
|
modelValue: e.badgeType,
|
|
8643
8644
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
8644
8645
|
variant: "dropdown",
|
|
@@ -8650,74 +8651,74 @@ var cr = [
|
|
|
8650
8651
|
])]),
|
|
8651
8652
|
_: 2
|
|
8652
8653
|
}, 1024)) : a("", !0),
|
|
8653
|
-
|
|
8654
|
+
U.value ? (C(), i(A(W), {
|
|
8654
8655
|
key: 5,
|
|
8655
8656
|
label: "badge",
|
|
8656
8657
|
columnSpan: "2"
|
|
8657
8658
|
}, {
|
|
8658
|
-
default:
|
|
8659
|
+
default: M(() => [u(A(K), {
|
|
8659
8660
|
modelValue: e.badge,
|
|
8660
8661
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
8661
8662
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8662
8663
|
_: 2
|
|
8663
8664
|
}, 1024)) : a("", !0),
|
|
8664
|
-
|
|
8665
|
+
U.value ? (C(), i(A(W), {
|
|
8665
8666
|
key: 6,
|
|
8666
8667
|
label: "badgeIcon",
|
|
8667
8668
|
columnSpan: "2"
|
|
8668
8669
|
}, {
|
|
8669
|
-
default:
|
|
8670
|
+
default: M(() => [u(hr, {
|
|
8670
8671
|
modelValue: e.badgeIcon,
|
|
8671
8672
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
8672
8673
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8673
8674
|
_: 2
|
|
8674
8675
|
}, 1024)) : a("", !0),
|
|
8675
|
-
|
|
8676
|
+
U.value ? (C(), i(A(W), {
|
|
8676
8677
|
key: 7,
|
|
8677
8678
|
label: "badgeTitle",
|
|
8678
8679
|
columnSpan: "2"
|
|
8679
8680
|
}, {
|
|
8680
|
-
default:
|
|
8681
|
+
default: M(() => [u(A(K), {
|
|
8681
8682
|
modelValue: e.badgeTitle,
|
|
8682
8683
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
8683
8684
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8684
8685
|
_: 2
|
|
8685
8686
|
}, 1024)) : a("", !0),
|
|
8686
|
-
|
|
8687
|
+
U.value ? (C(), i(A(W), {
|
|
8687
8688
|
key: 8,
|
|
8688
8689
|
label: "destructive"
|
|
8689
8690
|
}, {
|
|
8690
|
-
default:
|
|
8691
|
+
default: M(() => [u(A(q), {
|
|
8691
8692
|
modelValue: e.destructive,
|
|
8692
8693
|
"onUpdate:modelValue": (t) => e.destructive = t
|
|
8693
8694
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8694
8695
|
_: 2
|
|
8695
8696
|
}, 1024)) : a("", !0),
|
|
8696
|
-
|
|
8697
|
+
U.value ? (C(), i(A(W), {
|
|
8697
8698
|
key: 9,
|
|
8698
8699
|
label: "disabled"
|
|
8699
8700
|
}, {
|
|
8700
|
-
default:
|
|
8701
|
+
default: M(() => [u(A(q), {
|
|
8701
8702
|
modelValue: e.disabled,
|
|
8702
8703
|
"onUpdate:modelValue": (t) => e.disabled = t
|
|
8703
8704
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8704
8705
|
_: 2
|
|
8705
8706
|
}, 1024)) : a("", !0),
|
|
8706
|
-
|
|
8707
|
+
U.value ? (C(), i(A(W), {
|
|
8707
8708
|
key: 10,
|
|
8708
8709
|
label: "loading"
|
|
8709
8710
|
}, {
|
|
8710
|
-
default:
|
|
8711
|
+
default: M(() => [u(A(q), {
|
|
8711
8712
|
modelValue: e.loading,
|
|
8712
8713
|
"onUpdate:modelValue": (t) => e.loading = t
|
|
8713
8714
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8714
8715
|
_: 2
|
|
8715
8716
|
}, 1024)) : a("", !0),
|
|
8716
|
-
|
|
8717
|
+
U.value ? (C(), i(A(W), {
|
|
8717
8718
|
key: 11,
|
|
8718
8719
|
label: "busy"
|
|
8719
8720
|
}, {
|
|
8720
|
-
default:
|
|
8721
|
+
default: M(() => [u(A(q), {
|
|
8721
8722
|
modelValue: e.busy,
|
|
8722
8723
|
"onUpdate:modelValue": (t) => e.busy = t
|
|
8723
8724
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -8729,7 +8730,7 @@ var cr = [
|
|
|
8729
8730
|
"modelValue",
|
|
8730
8731
|
"toolbarActionDefinitions",
|
|
8731
8732
|
"texts"
|
|
8732
|
-
])) : x.value ? (C(), i(A(
|
|
8733
|
+
])) : x.value ? (C(), i(A(P), {
|
|
8733
8734
|
key: 2,
|
|
8734
8735
|
ref_key: "actionDefList",
|
|
8735
8736
|
ref: y,
|
|
@@ -8740,19 +8741,19 @@ var cr = [
|
|
|
8740
8741
|
toolbarActionDefinitions: [{
|
|
8741
8742
|
id: "advanced",
|
|
8742
8743
|
kind: "toggle",
|
|
8743
|
-
value:
|
|
8744
|
+
value: H.value,
|
|
8744
8745
|
title: e.texts.showAllFields
|
|
8745
8746
|
}],
|
|
8746
|
-
texts:
|
|
8747
|
-
onToolbarActionClick: r[12] ||= (e, t) =>
|
|
8747
|
+
texts: Me(),
|
|
8748
|
+
onToolbarActionClick: r[12] ||= (e, t) => H.value = t
|
|
8748
8749
|
}, {
|
|
8749
|
-
customItem:
|
|
8750
|
+
customItem: M(({ item: e }) => [
|
|
8750
8751
|
u(A(W), {
|
|
8751
8752
|
label: "id",
|
|
8752
8753
|
columnSpan: "2",
|
|
8753
8754
|
required: !0
|
|
8754
8755
|
}, {
|
|
8755
|
-
default:
|
|
8756
|
+
default: M(() => [u(A(K), {
|
|
8756
8757
|
modelValue: e.id,
|
|
8757
8758
|
"onUpdate:modelValue": (t) => e.id = t,
|
|
8758
8759
|
invalid: !!S.value?.[e?._lx_appendableKey]?.id,
|
|
@@ -8770,7 +8771,7 @@ var cr = [
|
|
|
8770
8771
|
columnSpan: "2",
|
|
8771
8772
|
required: !0
|
|
8772
8773
|
}, {
|
|
8773
|
-
default:
|
|
8774
|
+
default: M(() => [u(A(K), {
|
|
8774
8775
|
modelValue: e.name,
|
|
8775
8776
|
"onUpdate:modelValue": (t) => e.name = t,
|
|
8776
8777
|
invalid: !!S.value?.[e?._lx_appendableKey]?.name,
|
|
@@ -8787,7 +8788,7 @@ var cr = [
|
|
|
8787
8788
|
label: "icon",
|
|
8788
8789
|
columnSpan: "2"
|
|
8789
8790
|
}, {
|
|
8790
|
-
default:
|
|
8791
|
+
default: M(() => [u(hr, {
|
|
8791
8792
|
modelValue: e.icon,
|
|
8792
8793
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
8793
8794
|
iconSet: e?.iconSet
|
|
@@ -8803,11 +8804,11 @@ var cr = [
|
|
|
8803
8804
|
columnSpan: "2",
|
|
8804
8805
|
required: !x.value
|
|
8805
8806
|
}, {
|
|
8806
|
-
default:
|
|
8807
|
+
default: M(() => [u(A(J), {
|
|
8807
8808
|
modelValue: e.kind,
|
|
8808
8809
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
8809
8810
|
variant: "dropdown",
|
|
8810
|
-
items:
|
|
8811
|
+
items: ye.value,
|
|
8811
8812
|
nullable: x.value,
|
|
8812
8813
|
invalid: !!S.value?.[e?._lx_appendableKey]?.kind,
|
|
8813
8814
|
invalidationMessage: S.value?.[e?._lx_appendableKey]?.kind
|
|
@@ -8821,12 +8822,12 @@ var cr = [
|
|
|
8821
8822
|
])]),
|
|
8822
8823
|
_: 2
|
|
8823
8824
|
}, 1032, ["required"]),
|
|
8824
|
-
|
|
8825
|
+
H.value ? (C(), i(A(W), {
|
|
8825
8826
|
key: 0,
|
|
8826
8827
|
label: "iconSet",
|
|
8827
8828
|
columnSpan: "2"
|
|
8828
8829
|
}, {
|
|
8829
|
-
default:
|
|
8830
|
+
default: M(() => [u(A(J), {
|
|
8830
8831
|
modelValue: e.iconSet,
|
|
8831
8832
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
8832
8833
|
variant: "dropdown",
|
|
@@ -8838,23 +8839,23 @@ var cr = [
|
|
|
8838
8839
|
])]),
|
|
8839
8840
|
_: 2
|
|
8840
8841
|
}, 1024)) : a("", !0),
|
|
8841
|
-
|
|
8842
|
+
H.value ? (C(), i(A(W), {
|
|
8842
8843
|
key: 1,
|
|
8843
8844
|
label: "title",
|
|
8844
8845
|
columnSpan: "2"
|
|
8845
8846
|
}, {
|
|
8846
|
-
default:
|
|
8847
|
+
default: M(() => [u(A(K), {
|
|
8847
8848
|
modelValue: e.title,
|
|
8848
8849
|
"onUpdate:modelValue": (t) => e.title = t
|
|
8849
8850
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8850
8851
|
_: 2
|
|
8851
8852
|
}, 1024)) : a("", !0),
|
|
8852
|
-
|
|
8853
|
+
H.value ? (C(), i(A(W), {
|
|
8853
8854
|
key: 2,
|
|
8854
8855
|
label: "area",
|
|
8855
8856
|
columnSpan: "2"
|
|
8856
8857
|
}, {
|
|
8857
|
-
default:
|
|
8858
|
+
default: M(() => [u(A(J), {
|
|
8858
8859
|
modelValue: e.area,
|
|
8859
8860
|
"onUpdate:modelValue": (t) => e.area = t,
|
|
8860
8861
|
items: [{
|
|
@@ -8869,23 +8870,23 @@ var cr = [
|
|
|
8869
8870
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8870
8871
|
_: 2
|
|
8871
8872
|
}, 1024)) : a("", !0),
|
|
8872
|
-
|
|
8873
|
+
H.value ? (C(), i(A(W), {
|
|
8873
8874
|
key: 3,
|
|
8874
8875
|
label: "value",
|
|
8875
8876
|
columnSpan: "2"
|
|
8876
8877
|
}, {
|
|
8877
|
-
default:
|
|
8878
|
+
default: M(() => [u(A(q), {
|
|
8878
8879
|
modelValue: e.value,
|
|
8879
8880
|
"onUpdate:modelValue": (t) => e.value = t
|
|
8880
8881
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8881
8882
|
_: 2
|
|
8882
8883
|
}, 1024)) : a("", !0),
|
|
8883
|
-
|
|
8884
|
+
H.value ? (C(), i(A(W), {
|
|
8884
8885
|
key: 4,
|
|
8885
8886
|
label: "badgeType",
|
|
8886
8887
|
columnSpan: "2"
|
|
8887
8888
|
}, {
|
|
8888
|
-
default:
|
|
8889
|
+
default: M(() => [u(A(J), {
|
|
8889
8890
|
modelValue: e.badgeType,
|
|
8890
8891
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
8891
8892
|
variant: "dropdown",
|
|
@@ -8897,67 +8898,67 @@ var cr = [
|
|
|
8897
8898
|
])]),
|
|
8898
8899
|
_: 2
|
|
8899
8900
|
}, 1024)) : a("", !0),
|
|
8900
|
-
|
|
8901
|
+
H.value ? (C(), i(A(W), {
|
|
8901
8902
|
key: 5,
|
|
8902
8903
|
label: "badge",
|
|
8903
8904
|
columnSpan: "2"
|
|
8904
8905
|
}, {
|
|
8905
|
-
default:
|
|
8906
|
+
default: M(() => [u(A(K), {
|
|
8906
8907
|
modelValue: e.badge,
|
|
8907
8908
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
8908
8909
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8909
8910
|
_: 2
|
|
8910
8911
|
}, 1024)) : a("", !0),
|
|
8911
|
-
|
|
8912
|
+
H.value ? (C(), i(A(W), {
|
|
8912
8913
|
key: 6,
|
|
8913
8914
|
label: "badgeIcon",
|
|
8914
8915
|
columnSpan: "2"
|
|
8915
8916
|
}, {
|
|
8916
|
-
default:
|
|
8917
|
+
default: M(() => [u(hr, {
|
|
8917
8918
|
modelValue: e.badgeIcon,
|
|
8918
8919
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
8919
8920
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8920
8921
|
_: 2
|
|
8921
8922
|
}, 1024)) : a("", !0),
|
|
8922
|
-
|
|
8923
|
+
H.value ? (C(), i(A(W), {
|
|
8923
8924
|
key: 7,
|
|
8924
8925
|
label: "badgeTitle",
|
|
8925
8926
|
columnSpan: "2"
|
|
8926
8927
|
}, {
|
|
8927
|
-
default:
|
|
8928
|
+
default: M(() => [u(A(K), {
|
|
8928
8929
|
modelValue: e.badgeTitle,
|
|
8929
8930
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
8930
8931
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8931
8932
|
_: 2
|
|
8932
8933
|
}, 1024)) : a("", !0),
|
|
8933
|
-
|
|
8934
|
+
H.value ? (C(), i(A(W), {
|
|
8934
8935
|
key: 8,
|
|
8935
8936
|
label: "groupId",
|
|
8936
8937
|
columnSpan: "2"
|
|
8937
8938
|
}, {
|
|
8938
|
-
default:
|
|
8939
|
+
default: M(() => [u(A(K), {
|
|
8939
8940
|
modelValue: e.groupId,
|
|
8940
8941
|
"onUpdate:modelValue": (t) => e.groupId = t
|
|
8941
8942
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8942
8943
|
_: 2
|
|
8943
8944
|
}, 1024)) : a("", !0),
|
|
8944
|
-
|
|
8945
|
+
H.value ? (C(), i(A(W), {
|
|
8945
8946
|
key: 9,
|
|
8946
8947
|
label: "nestedGroupId",
|
|
8947
8948
|
columnSpan: "2"
|
|
8948
8949
|
}, {
|
|
8949
|
-
default:
|
|
8950
|
+
default: M(() => [u(A(K), {
|
|
8950
8951
|
modelValue: e.nestedGroupId,
|
|
8951
8952
|
"onUpdate:modelValue": (t) => e.nestedGroupId = t
|
|
8952
8953
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8953
8954
|
_: 2
|
|
8954
8955
|
}, 1024)) : a("", !0),
|
|
8955
|
-
|
|
8956
|
+
H.value ? (C(), i(A(W), {
|
|
8956
8957
|
key: 10,
|
|
8957
8958
|
label: "priority",
|
|
8958
8959
|
columnSpan: "2"
|
|
8959
8960
|
}, {
|
|
8960
|
-
default:
|
|
8961
|
+
default: M(() => [u(A(K), {
|
|
8961
8962
|
modelValue: e.priority,
|
|
8962
8963
|
"onUpdate:modelValue": (t) => e.priority = t,
|
|
8963
8964
|
mask: "integer",
|
|
@@ -8965,52 +8966,52 @@ var cr = [
|
|
|
8965
8966
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8966
8967
|
_: 2
|
|
8967
8968
|
}, 1024)) : a("", !0),
|
|
8968
|
-
|
|
8969
|
+
H.value ? (C(), i(A(W), {
|
|
8969
8970
|
key: 11,
|
|
8970
8971
|
label: "nonResponsive",
|
|
8971
8972
|
columnSpan: "2"
|
|
8972
8973
|
}, {
|
|
8973
|
-
default:
|
|
8974
|
+
default: M(() => [u(A(q), {
|
|
8974
8975
|
modelValue: e.nonResponsive,
|
|
8975
8976
|
"onUpdate:modelValue": (t) => e.nonResponsive = t
|
|
8976
8977
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8977
8978
|
_: 2
|
|
8978
8979
|
}, 1024)) : a("", !0),
|
|
8979
|
-
|
|
8980
|
+
H.value ? (C(), i(A(W), {
|
|
8980
8981
|
key: 12,
|
|
8981
8982
|
label: "destructive"
|
|
8982
8983
|
}, {
|
|
8983
|
-
default:
|
|
8984
|
+
default: M(() => [u(A(q), {
|
|
8984
8985
|
modelValue: e.destructive,
|
|
8985
8986
|
"onUpdate:modelValue": (t) => e.destructive = t
|
|
8986
8987
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8987
8988
|
_: 2
|
|
8988
8989
|
}, 1024)) : a("", !0),
|
|
8989
|
-
|
|
8990
|
+
H.value ? (C(), i(A(W), {
|
|
8990
8991
|
key: 13,
|
|
8991
8992
|
label: "disabled"
|
|
8992
8993
|
}, {
|
|
8993
|
-
default:
|
|
8994
|
+
default: M(() => [u(A(q), {
|
|
8994
8995
|
modelValue: e.disabled,
|
|
8995
8996
|
"onUpdate:modelValue": (t) => e.disabled = t
|
|
8996
8997
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8997
8998
|
_: 2
|
|
8998
8999
|
}, 1024)) : a("", !0),
|
|
8999
|
-
|
|
9000
|
+
H.value ? (C(), i(A(W), {
|
|
9000
9001
|
key: 14,
|
|
9001
9002
|
label: "loading"
|
|
9002
9003
|
}, {
|
|
9003
|
-
default:
|
|
9004
|
+
default: M(() => [u(A(q), {
|
|
9004
9005
|
modelValue: e.loading,
|
|
9005
9006
|
"onUpdate:modelValue": (t) => e.loading = t
|
|
9006
9007
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9007
9008
|
_: 2
|
|
9008
9009
|
}, 1024)) : a("", !0),
|
|
9009
|
-
|
|
9010
|
+
H.value ? (C(), i(A(W), {
|
|
9010
9011
|
key: 15,
|
|
9011
9012
|
label: "busy"
|
|
9012
9013
|
}, {
|
|
9013
|
-
default:
|
|
9014
|
+
default: M(() => [u(A(q), {
|
|
9014
9015
|
modelValue: e.busy,
|
|
9015
9016
|
"onUpdate:modelValue": (t) => e.busy = t
|
|
9016
9017
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9033,10 +9034,10 @@ var cr = [
|
|
|
9033
9034
|
label: e.texts.edit,
|
|
9034
9035
|
icon: "edit",
|
|
9035
9036
|
kind: "secondary",
|
|
9036
|
-
onClick:
|
|
9037
|
-
}, null, 8, ["label"]), u(A(
|
|
9037
|
+
onClick: L
|
|
9038
|
+
}, null, 8, ["label"]), u(A(Te), {
|
|
9038
9039
|
ref_key: "itemsModal",
|
|
9039
|
-
ref:
|
|
9040
|
+
ref: ne,
|
|
9040
9041
|
label: e.texts?.editing,
|
|
9041
9042
|
size: "l",
|
|
9042
9043
|
actionDefinitions: [{
|
|
@@ -9049,35 +9050,35 @@ var cr = [
|
|
|
9049
9050
|
kind: "secondary"
|
|
9050
9051
|
}],
|
|
9051
9052
|
texts: { close: e.texts.close },
|
|
9052
|
-
onActionClick:
|
|
9053
|
+
onActionClick: se
|
|
9053
9054
|
}, {
|
|
9054
|
-
default:
|
|
9055
|
+
default: M(() => [e.componentName === "LxList" || e.componentName === "LxDataGrid" ? (C(), i(A(Pe), {
|
|
9055
9056
|
key: 0,
|
|
9056
|
-
modelValue:
|
|
9057
|
-
"onUpdate:modelValue": r[13] ||= (e) =>
|
|
9057
|
+
modelValue: N.value,
|
|
9058
|
+
"onUpdate:modelValue": r[13] ||= (e) => N.value = e,
|
|
9058
9059
|
rows: 20,
|
|
9059
|
-
invalid: !!
|
|
9060
|
-
invalidationMessage:
|
|
9060
|
+
invalid: !!re.value,
|
|
9061
|
+
invalidationMessage: re.value
|
|
9061
9062
|
}, null, 8, [
|
|
9062
9063
|
"modelValue",
|
|
9063
9064
|
"invalid",
|
|
9064
9065
|
"invalidationMessage"
|
|
9065
|
-
])) : (C(), i(A(
|
|
9066
|
+
])) : (C(), i(A(P), {
|
|
9066
9067
|
key: 1,
|
|
9067
9068
|
ref_key: "itemsList",
|
|
9068
9069
|
ref: F,
|
|
9069
|
-
modelValue:
|
|
9070
|
-
"onUpdate:modelValue": r[14] ||= (e) =>
|
|
9070
|
+
modelValue: N.value,
|
|
9071
|
+
"onUpdate:modelValue": r[14] ||= (e) => N.value = e,
|
|
9071
9072
|
columnCount: 4,
|
|
9072
9073
|
requiredMode: "required-asterisk",
|
|
9073
|
-
texts:
|
|
9074
|
+
texts: Me()
|
|
9074
9075
|
}, {
|
|
9075
|
-
customItem:
|
|
9076
|
+
customItem: M(({ item: n }) => [e.componentName === "LxContentSwitcher" ? (C(), o(t, { key: 0 }, [
|
|
9076
9077
|
u(A(W), {
|
|
9077
9078
|
label: "id",
|
|
9078
9079
|
required: !0
|
|
9079
9080
|
}, {
|
|
9080
|
-
default:
|
|
9081
|
+
default: M(() => [u(A(K), {
|
|
9081
9082
|
modelValue: n.id,
|
|
9082
9083
|
"onUpdate:modelValue": (e) => n.id = e
|
|
9083
9084
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9087,14 +9088,14 @@ var cr = [
|
|
|
9087
9088
|
label: "name",
|
|
9088
9089
|
required: !0
|
|
9089
9090
|
}, {
|
|
9090
|
-
default:
|
|
9091
|
+
default: M(() => [u(A(K), {
|
|
9091
9092
|
modelValue: n.name,
|
|
9092
9093
|
"onUpdate:modelValue": (e) => n.name = e
|
|
9093
9094
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9094
9095
|
_: 2
|
|
9095
9096
|
}, 1024),
|
|
9096
9097
|
u(A(W), { label: "icon" }, {
|
|
9097
|
-
default:
|
|
9098
|
+
default: M(() => [u(hr, {
|
|
9098
9099
|
modelValue: n.icon,
|
|
9099
9100
|
"onUpdate:modelValue": (e) => n.icon = e,
|
|
9100
9101
|
iconSet: n?.iconSet
|
|
@@ -9106,7 +9107,7 @@ var cr = [
|
|
|
9106
9107
|
_: 2
|
|
9107
9108
|
}, 1024),
|
|
9108
9109
|
u(A(W), { label: "iconSet" }, {
|
|
9109
|
-
default:
|
|
9110
|
+
default: M(() => [u(A(J), {
|
|
9110
9111
|
modelValue: n.iconSet,
|
|
9111
9112
|
"onUpdate:modelValue": (e) => n.iconSet = e,
|
|
9112
9113
|
variant: "dropdown",
|
|
@@ -9123,7 +9124,7 @@ var cr = [
|
|
|
9123
9124
|
label: "id",
|
|
9124
9125
|
columnSpan: "1"
|
|
9125
9126
|
}, {
|
|
9126
|
-
default:
|
|
9127
|
+
default: M(() => [u(A(K), {
|
|
9127
9128
|
modelValue: n.id,
|
|
9128
9129
|
"onUpdate:modelValue": (e) => n.id = e
|
|
9129
9130
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9133,7 +9134,7 @@ var cr = [
|
|
|
9133
9134
|
label: "name",
|
|
9134
9135
|
columnSpan: "2"
|
|
9135
9136
|
}, {
|
|
9136
|
-
default:
|
|
9137
|
+
default: M(() => [u(A(K), {
|
|
9137
9138
|
modelValue: n.name,
|
|
9138
9139
|
"onUpdate:modelValue": (e) => n.name = e
|
|
9139
9140
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9143,7 +9144,7 @@ var cr = [
|
|
|
9143
9144
|
label: "description",
|
|
9144
9145
|
columnSpan: "1"
|
|
9145
9146
|
}, {
|
|
9146
|
-
default:
|
|
9147
|
+
default: M(() => [u(A(K), {
|
|
9147
9148
|
modelValue: n.description,
|
|
9148
9149
|
"onUpdate:modelValue": (e) => n.description = e
|
|
9149
9150
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9162,10 +9163,10 @@ var cr = [
|
|
|
9162
9163
|
label: e.texts.edit,
|
|
9163
9164
|
kind: "secondary",
|
|
9164
9165
|
icon: "edit",
|
|
9165
|
-
onClick:
|
|
9166
|
-
}, null, 8, ["label"]), u(A(
|
|
9166
|
+
onClick: Ae
|
|
9167
|
+
}, null, 8, ["label"]), u(A(Te), {
|
|
9167
9168
|
ref_key: "groupDefinitionsModal",
|
|
9168
|
-
ref:
|
|
9169
|
+
ref: Ee,
|
|
9169
9170
|
label: e.texts?.editing,
|
|
9170
9171
|
size: "m",
|
|
9171
9172
|
actionDefinitions: [{
|
|
@@ -9178,49 +9179,49 @@ var cr = [
|
|
|
9178
9179
|
kind: "secondary"
|
|
9179
9180
|
}],
|
|
9180
9181
|
texts: { close: e.texts.close },
|
|
9181
|
-
onActionClick:
|
|
9182
|
+
onActionClick: je
|
|
9182
9183
|
}, {
|
|
9183
|
-
default:
|
|
9184
|
+
default: M(() => [c.name === "groupDefinitions" ? (C(), i(A(P), {
|
|
9184
9185
|
key: 0,
|
|
9185
9186
|
ref_key: "groupDefinitionsList",
|
|
9186
|
-
ref:
|
|
9187
|
-
modelValue:
|
|
9188
|
-
"onUpdate:modelValue": r[15] ||= (e) =>
|
|
9187
|
+
ref: Oe,
|
|
9188
|
+
modelValue: De.value,
|
|
9189
|
+
"onUpdate:modelValue": r[15] ||= (e) => De.value = e,
|
|
9189
9190
|
columnCount: 3,
|
|
9190
9191
|
requiredMode: "none",
|
|
9191
|
-
texts:
|
|
9192
|
+
texts: Me()
|
|
9192
9193
|
}, {
|
|
9193
|
-
customItem:
|
|
9194
|
+
customItem: M(({ item: e }) => [
|
|
9194
9195
|
u(A(W), { label: "id" }, {
|
|
9195
|
-
default:
|
|
9196
|
+
default: M(() => [u(A(K), {
|
|
9196
9197
|
modelValue: e.id,
|
|
9197
9198
|
"onUpdate:modelValue": (t) => e.id = t
|
|
9198
9199
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9199
9200
|
_: 2
|
|
9200
9201
|
}, 1024),
|
|
9201
9202
|
u(A(W), { label: "name" }, {
|
|
9202
|
-
default:
|
|
9203
|
+
default: M(() => [u(A(K), {
|
|
9203
9204
|
modelValue: e.name,
|
|
9204
9205
|
"onUpdate:modelValue": (t) => e.name = t
|
|
9205
9206
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9206
9207
|
_: 2
|
|
9207
9208
|
}, 1024),
|
|
9208
9209
|
u(A(W), { label: "badge" }, {
|
|
9209
|
-
default:
|
|
9210
|
+
default: M(() => [u(A(K), {
|
|
9210
9211
|
modelValue: e.badge,
|
|
9211
9212
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
9212
9213
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9213
9214
|
_: 2
|
|
9214
9215
|
}, 1024),
|
|
9215
9216
|
u(A(W), { label: "badgeIcon" }, {
|
|
9216
|
-
default:
|
|
9217
|
+
default: M(() => [u(hr, {
|
|
9217
9218
|
modelValue: e.badgeIcon,
|
|
9218
9219
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
9219
9220
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9220
9221
|
_: 2
|
|
9221
9222
|
}, 1024),
|
|
9222
9223
|
u(A(W), { label: "badgeType" }, {
|
|
9223
|
-
default:
|
|
9224
|
+
default: M(() => [u(A(J), {
|
|
9224
9225
|
modelValue: e.badgeType,
|
|
9225
9226
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
9226
9227
|
variant: "dropdown",
|
|
@@ -9233,7 +9234,7 @@ var cr = [
|
|
|
9233
9234
|
_: 2
|
|
9234
9235
|
}, 1024),
|
|
9235
9236
|
u(A(W), { label: "badgeTitle" }, {
|
|
9236
|
-
default:
|
|
9237
|
+
default: M(() => [u(A(K), {
|
|
9237
9238
|
modelValue: e.badgeTitle,
|
|
9238
9239
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
9239
9240
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9241,54 +9242,54 @@ var cr = [
|
|
|
9241
9242
|
}, 1024)
|
|
9242
9243
|
]),
|
|
9243
9244
|
_: 1
|
|
9244
|
-
}, 8, ["modelValue", "texts"])) : (C(), i(A(
|
|
9245
|
+
}, 8, ["modelValue", "texts"])) : (C(), i(A(P), {
|
|
9245
9246
|
key: 1,
|
|
9246
9247
|
ref_key: "groupDefinitionsList",
|
|
9247
|
-
ref:
|
|
9248
|
-
modelValue:
|
|
9249
|
-
"onUpdate:modelValue": r[16] ||= (e) =>
|
|
9248
|
+
ref: Oe,
|
|
9249
|
+
modelValue: De.value,
|
|
9250
|
+
"onUpdate:modelValue": r[16] ||= (e) => De.value = e,
|
|
9250
9251
|
columnCount: 4,
|
|
9251
9252
|
requiredMode: "none",
|
|
9252
|
-
texts:
|
|
9253
|
+
texts: Me()
|
|
9253
9254
|
}, {
|
|
9254
|
-
customItem:
|
|
9255
|
+
customItem: M(({ item: e }) => [
|
|
9255
9256
|
u(A(W), { label: "id" }, {
|
|
9256
|
-
default:
|
|
9257
|
+
default: M(() => [u(A(K), {
|
|
9257
9258
|
modelValue: e.id,
|
|
9258
9259
|
"onUpdate:modelValue": (t) => e.id = t
|
|
9259
9260
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9260
9261
|
_: 2
|
|
9261
9262
|
}, 1024),
|
|
9262
9263
|
u(A(W), { label: "attributeName" }, {
|
|
9263
|
-
default:
|
|
9264
|
+
default: M(() => [u(A(K), {
|
|
9264
9265
|
modelValue: e.attributeName,
|
|
9265
9266
|
"onUpdate:modelValue": (t) => e.attributeName = t
|
|
9266
9267
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9267
9268
|
_: 2
|
|
9268
9269
|
}, 1024),
|
|
9269
9270
|
u(A(W), { label: "attributeDescription" }, {
|
|
9270
|
-
default:
|
|
9271
|
+
default: M(() => [u(A(K), {
|
|
9271
9272
|
modelValue: e.attributeDescription,
|
|
9272
9273
|
"onUpdate:modelValue": (t) => e.attributeDescription = t
|
|
9273
9274
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9274
9275
|
_: 2
|
|
9275
9276
|
}, 1024),
|
|
9276
9277
|
u(A(W), { label: "name" }, {
|
|
9277
|
-
default:
|
|
9278
|
+
default: M(() => [u(A(K), {
|
|
9278
9279
|
modelValue: e.name,
|
|
9279
9280
|
"onUpdate:modelValue": (t) => e.name = t
|
|
9280
9281
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9281
9282
|
_: 2
|
|
9282
9283
|
}, 1024),
|
|
9283
9284
|
u(A(W), { label: "title" }, {
|
|
9284
|
-
default:
|
|
9285
|
+
default: M(() => [u(A(K), {
|
|
9285
9286
|
modelValue: e.title,
|
|
9286
9287
|
"onUpdate:modelValue": (t) => e.title = t
|
|
9287
9288
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9288
9289
|
_: 2
|
|
9289
9290
|
}, 1024),
|
|
9290
9291
|
u(A(W), { label: "kind" }, {
|
|
9291
|
-
default:
|
|
9292
|
+
default: M(() => [u(A(J), {
|
|
9292
9293
|
modelValue: e.kind,
|
|
9293
9294
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
9294
9295
|
variant: "dropdown",
|
|
@@ -9302,7 +9303,7 @@ var cr = [
|
|
|
9302
9303
|
_: 2
|
|
9303
9304
|
}, 1024),
|
|
9304
9305
|
u(A(W), { label: "type" }, {
|
|
9305
|
-
default:
|
|
9306
|
+
default: M(() => [u(A(J), {
|
|
9306
9307
|
modelValue: e.type,
|
|
9307
9308
|
"onUpdate:modelValue": (t) => e.type = t,
|
|
9308
9309
|
variant: "dropdown",
|
|
@@ -9316,7 +9317,7 @@ var cr = [
|
|
|
9316
9317
|
_: 2
|
|
9317
9318
|
}, 1024),
|
|
9318
9319
|
u(A(W), { label: "size" }, {
|
|
9319
|
-
default:
|
|
9320
|
+
default: M(() => [u(A(J), {
|
|
9320
9321
|
modelValue: e.size,
|
|
9321
9322
|
"onUpdate:modelValue": (t) => e.size = t,
|
|
9322
9323
|
variant: "dropdown",
|
|
@@ -9330,7 +9331,7 @@ var cr = [
|
|
|
9330
9331
|
_: 2
|
|
9331
9332
|
}, 1024),
|
|
9332
9333
|
u(A(W), { label: "sortingTooltips" }, {
|
|
9333
|
-
default:
|
|
9334
|
+
default: M(() => [u(A(K), {
|
|
9334
9335
|
modelValue: e.sortingTooltips,
|
|
9335
9336
|
"onUpdate:modelValue": (t) => e.sortingTooltips = t
|
|
9336
9337
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9349,10 +9350,10 @@ var cr = [
|
|
|
9349
9350
|
label: e.texts.edit,
|
|
9350
9351
|
icon: "edit",
|
|
9351
9352
|
kind: "secondary",
|
|
9352
|
-
onClick:
|
|
9353
|
-
}, null, 8, ["label"]), u(A(
|
|
9353
|
+
onClick: he
|
|
9354
|
+
}, null, 8, ["label"]), u(A(Te), {
|
|
9354
9355
|
ref_key: "textsModal",
|
|
9355
|
-
ref:
|
|
9356
|
+
ref: ce,
|
|
9356
9357
|
label: e.texts?.editing,
|
|
9357
9358
|
size: "l",
|
|
9358
9359
|
actionDefinitions: [{
|
|
@@ -9365,34 +9366,34 @@ var cr = [
|
|
|
9365
9366
|
kind: "secondary"
|
|
9366
9367
|
}],
|
|
9367
9368
|
texts: { close: e.texts.close },
|
|
9368
|
-
onActionClick:
|
|
9369
|
-
onClose: r[19] ||= (e) =>
|
|
9369
|
+
onActionClick: ge,
|
|
9370
|
+
onClose: r[19] ||= (e) => _e.value = ""
|
|
9370
9371
|
}, {
|
|
9371
|
-
default:
|
|
9372
|
+
default: M(() => [u(A(B), {
|
|
9372
9373
|
columnCount: 3,
|
|
9373
9374
|
kind: "stripped"
|
|
9374
9375
|
}, {
|
|
9375
|
-
default:
|
|
9376
|
+
default: M(() => [u(A(W), {
|
|
9376
9377
|
columnSpan: "3",
|
|
9377
9378
|
hideLabel: !0
|
|
9378
9379
|
}, {
|
|
9379
|
-
default:
|
|
9380
|
-
default:
|
|
9381
|
-
modelValue:
|
|
9382
|
-
"onUpdate:modelValue": r[17] ||= (e) =>
|
|
9380
|
+
default: M(() => [u(A(G), { horizontalAlignment: "stretch" }, {
|
|
9381
|
+
default: M(() => [u(A(K), {
|
|
9382
|
+
modelValue: _e.value,
|
|
9383
|
+
"onUpdate:modelValue": r[17] ||= (e) => _e.value = e,
|
|
9383
9384
|
kind: "search",
|
|
9384
9385
|
placeholder: e.texts.searchText
|
|
9385
|
-
}, null, 8, ["modelValue", "placeholder"]), Object.keys(
|
|
9386
|
+
}, null, 8, ["modelValue", "placeholder"]), Object.keys(ve.value?.properties || {}).length ? a("", !0) : (C(), i(A(fe), {
|
|
9386
9387
|
key: 0,
|
|
9387
|
-
label: `${e.texts?.notFoundSearch} ${
|
|
9388
|
+
label: `${e.texts?.notFoundSearch} ${_e.value}`
|
|
9388
9389
|
}, null, 8, ["label"]))]),
|
|
9389
9390
|
_: 1
|
|
9390
9391
|
})]),
|
|
9391
9392
|
_: 1
|
|
9392
9393
|
}), u(Nn, {
|
|
9393
|
-
modelValue:
|
|
9394
|
-
"onUpdate:modelValue": r[18] ||= (e) =>
|
|
9395
|
-
schema:
|
|
9394
|
+
modelValue: le.value,
|
|
9395
|
+
"onUpdate:modelValue": r[18] ||= (e) => le.value = e,
|
|
9396
|
+
schema: ve.value
|
|
9396
9397
|
}, null, 8, ["modelValue", "schema"])]),
|
|
9397
9398
|
_: 1
|
|
9398
9399
|
})]),
|
|
@@ -9406,10 +9407,10 @@ var cr = [
|
|
|
9406
9407
|
label: e.texts.edit,
|
|
9407
9408
|
kind: "secondary",
|
|
9408
9409
|
icon: "edit",
|
|
9409
|
-
onClick:
|
|
9410
|
-
}, null, 8, ["label"]), u(A(
|
|
9410
|
+
onClick: Ce
|
|
9411
|
+
}, null, 8, ["label"]), u(A(Te), {
|
|
9411
9412
|
ref_key: "badgeDefinitionsModal",
|
|
9412
|
-
ref:
|
|
9413
|
+
ref: xe,
|
|
9413
9414
|
label: e.texts?.editing,
|
|
9414
9415
|
size: "l",
|
|
9415
9416
|
actionDefinitions: [{
|
|
@@ -9422,34 +9423,34 @@ var cr = [
|
|
|
9422
9423
|
kind: "secondary"
|
|
9423
9424
|
}],
|
|
9424
9425
|
texts: { close: e.texts.close },
|
|
9425
|
-
onActionClick:
|
|
9426
|
+
onActionClick: we
|
|
9426
9427
|
}, {
|
|
9427
|
-
default:
|
|
9428
|
+
default: M(() => [u(A(P), {
|
|
9428
9429
|
ref_key: "badgeDefinitionsList",
|
|
9429
|
-
ref:
|
|
9430
|
-
modelValue:
|
|
9431
|
-
"onUpdate:modelValue": r[20] ||= (e) =>
|
|
9430
|
+
ref: V,
|
|
9431
|
+
modelValue: Se.value,
|
|
9432
|
+
"onUpdate:modelValue": r[20] ||= (e) => Se.value = e,
|
|
9432
9433
|
columnCount: 3,
|
|
9433
9434
|
requiredMode: "none",
|
|
9434
|
-
texts:
|
|
9435
|
+
texts: Me()
|
|
9435
9436
|
}, {
|
|
9436
|
-
customItem:
|
|
9437
|
+
customItem: M(({ item: e }) => [
|
|
9437
9438
|
u(A(W), { label: "id" }, {
|
|
9438
|
-
default:
|
|
9439
|
+
default: M(() => [u(A(K), {
|
|
9439
9440
|
modelValue: e.id,
|
|
9440
9441
|
"onUpdate:modelValue": (t) => e.id = t
|
|
9441
9442
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9442
9443
|
_: 2
|
|
9443
9444
|
}, 1024),
|
|
9444
9445
|
u(A(W), { label: "name" }, {
|
|
9445
|
-
default:
|
|
9446
|
+
default: M(() => [u(A(K), {
|
|
9446
9447
|
modelValue: e.name,
|
|
9447
9448
|
"onUpdate:modelValue": (t) => e.name = t
|
|
9448
9449
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9449
9450
|
_: 2
|
|
9450
9451
|
}, 1024),
|
|
9451
9452
|
u(A(W), { label: "icon" }, {
|
|
9452
|
-
default:
|
|
9453
|
+
default: M(() => [u(hr, {
|
|
9453
9454
|
modelValue: e.icon,
|
|
9454
9455
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
9455
9456
|
iconSet: e?.iconSet
|
|
@@ -9461,7 +9462,7 @@ var cr = [
|
|
|
9461
9462
|
_: 2
|
|
9462
9463
|
}, 1024),
|
|
9463
9464
|
u(A(W), { label: "iconSet" }, {
|
|
9464
|
-
default:
|
|
9465
|
+
default: M(() => [u(A(J), {
|
|
9465
9466
|
modelValue: e.iconSet,
|
|
9466
9467
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
9467
9468
|
items: A(pr),
|
|
@@ -9474,14 +9475,14 @@ var cr = [
|
|
|
9474
9475
|
_: 2
|
|
9475
9476
|
}, 1024),
|
|
9476
9477
|
u(A(W), { label: "title" }, {
|
|
9477
|
-
default:
|
|
9478
|
+
default: M(() => [u(A(K), {
|
|
9478
9479
|
modelValue: e.title,
|
|
9479
9480
|
"onUpdate:modelValue": (t) => e.title = t
|
|
9480
9481
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9481
9482
|
_: 2
|
|
9482
9483
|
}, 1024),
|
|
9483
9484
|
u(A(W), { label: "type" }, {
|
|
9484
|
-
default:
|
|
9485
|
+
default: M(() => [u(A(J), {
|
|
9485
9486
|
modelValue: e.type,
|
|
9486
9487
|
"onUpdate:modelValue": (t) => e.type = t,
|
|
9487
9488
|
items: A(dr),
|
|
@@ -9691,10 +9692,10 @@ var cr = [
|
|
|
9691
9692
|
function ee() {
|
|
9692
9693
|
O.value = s.schemaKey, k.value += 1;
|
|
9693
9694
|
}
|
|
9694
|
-
function
|
|
9695
|
+
function te(e) {
|
|
9695
9696
|
c("error", e);
|
|
9696
9697
|
}
|
|
9697
|
-
function
|
|
9698
|
+
function N(e) {
|
|
9698
9699
|
c("update:selectedModel", e);
|
|
9699
9700
|
}
|
|
9700
9701
|
return (n, r) => (C(), o(t, null, [
|
|
@@ -9702,23 +9703,23 @@ var cr = [
|
|
|
9702
9703
|
key: 0,
|
|
9703
9704
|
label: e.searchString ? `${e.texts.notFoundSearch} ${JSON.stringify(s.searchString)}` : e.texts.notFoundProps
|
|
9704
9705
|
}, null, 8, ["label"])) : a("", !0),
|
|
9705
|
-
Object.keys(y.value).length ? (C(), i(A(
|
|
9706
|
+
Object.keys(y.value).length ? (C(), i(A(B), {
|
|
9706
9707
|
key: 1,
|
|
9707
9708
|
kind: "stripped"
|
|
9708
9709
|
}, {
|
|
9709
|
-
default:
|
|
9710
|
+
default: M(() => [(C(!0), o(t, null, T(y.value, (t, n) => ne((C(), i(A(W), {
|
|
9710
9711
|
key: t.name,
|
|
9711
9712
|
label: `:${n}`
|
|
9712
9713
|
}, {
|
|
9713
|
-
default:
|
|
9714
|
+
default: M(() => [u(_r, {
|
|
9714
9715
|
modelValue: l.value,
|
|
9715
9716
|
item: t,
|
|
9716
9717
|
name: n,
|
|
9717
9718
|
componentName: e.componentName,
|
|
9718
9719
|
selectedModel: e.selectedModel,
|
|
9719
9720
|
texts: e.texts,
|
|
9720
|
-
onError:
|
|
9721
|
-
"onUpdate:selectedModel":
|
|
9721
|
+
onError: te,
|
|
9722
|
+
"onUpdate:selectedModel": N
|
|
9722
9723
|
}, null, 8, [
|
|
9723
9724
|
"modelValue",
|
|
9724
9725
|
"item",
|
|
@@ -9728,11 +9729,11 @@ var cr = [
|
|
|
9728
9729
|
"texts"
|
|
9729
9730
|
])]),
|
|
9730
9731
|
_: 2
|
|
9731
|
-
}, 1032, ["label"])), [[j, !t.extra]])), 128)), (C(!0), o(t, null, T(y.value, (e, t) =>
|
|
9732
|
+
}, 1032, ["label"])), [[j, !t.extra]])), 128)), (C(!0), o(t, null, T(y.value, (e, t) => ne((C(), i(A(W), {
|
|
9732
9733
|
key: e.name,
|
|
9733
9734
|
label: `${t}`
|
|
9734
9735
|
}, {
|
|
9735
|
-
default:
|
|
9736
|
+
default: M(() => [e?.extra ? (C(), i(A(K), {
|
|
9736
9737
|
key: 0,
|
|
9737
9738
|
modelValue: E(e, t),
|
|
9738
9739
|
"onUpdate:modelValue": (e) => S(t, e)
|
|
@@ -9745,16 +9746,16 @@ var cr = [
|
|
|
9745
9746
|
key: 2,
|
|
9746
9747
|
label: e.texts.additionalLabel
|
|
9747
9748
|
}, {
|
|
9748
|
-
default:
|
|
9749
|
-
default:
|
|
9749
|
+
default: M(() => [u(A(B), { kind: "stripped" }, {
|
|
9750
|
+
default: M(() => [v.value ? (C(), i(A(W), {
|
|
9750
9751
|
key: 0,
|
|
9751
9752
|
label: "schemaKey"
|
|
9752
9753
|
}, {
|
|
9753
|
-
default:
|
|
9754
|
+
default: M(() => [u(A(G), {
|
|
9754
9755
|
orientation: "horizontal",
|
|
9755
9756
|
kind: "compact"
|
|
9756
9757
|
}, {
|
|
9757
|
-
default:
|
|
9758
|
+
default: M(() => [(C(), i(A(K), {
|
|
9758
9759
|
key: k.value,
|
|
9759
9760
|
modelValue: O.value,
|
|
9760
9761
|
"onUpdate:modelValue": r[0] ||= (e) => O.value = e,
|
|
@@ -9779,15 +9780,15 @@ var cr = [
|
|
|
9779
9780
|
key: t.name,
|
|
9780
9781
|
label: `:${n}`
|
|
9781
9782
|
}, {
|
|
9782
|
-
default:
|
|
9783
|
+
default: M(() => [u(_r, {
|
|
9783
9784
|
modelValue: l.value,
|
|
9784
9785
|
item: t,
|
|
9785
9786
|
name: n,
|
|
9786
9787
|
componentName: e.componentName,
|
|
9787
9788
|
selectedModel: e.selectedModel,
|
|
9788
9789
|
texts: e.texts,
|
|
9789
|
-
onError:
|
|
9790
|
-
"onUpdate:selectedModel":
|
|
9790
|
+
onError: te,
|
|
9791
|
+
"onUpdate:selectedModel": N
|
|
9791
9792
|
}, null, 8, [
|
|
9792
9793
|
"modelValue",
|
|
9793
9794
|
"item",
|
|
@@ -9806,20 +9807,20 @@ var cr = [
|
|
|
9806
9807
|
key: 3,
|
|
9807
9808
|
label: e.texts.modeLabel
|
|
9808
9809
|
}, {
|
|
9809
|
-
default:
|
|
9810
|
-
default:
|
|
9810
|
+
default: M(() => [u(A(B), { kind: "stripped" }, {
|
|
9811
|
+
default: M(() => [(C(!0), o(t, null, T(x.value, (t, n) => (C(), i(A(W), {
|
|
9811
9812
|
key: t.name,
|
|
9812
9813
|
label: `:${n}`
|
|
9813
9814
|
}, {
|
|
9814
|
-
default:
|
|
9815
|
+
default: M(() => [u(_r, {
|
|
9815
9816
|
modelValue: l.value,
|
|
9816
9817
|
item: t,
|
|
9817
9818
|
name: n,
|
|
9818
9819
|
componentName: e.componentName,
|
|
9819
9820
|
selectedModel: e.selectedModel,
|
|
9820
9821
|
texts: e.texts,
|
|
9821
|
-
onError:
|
|
9822
|
-
"onUpdate:selectedModel":
|
|
9822
|
+
onError: te,
|
|
9823
|
+
"onUpdate:selectedModel": N
|
|
9823
9824
|
}, null, 8, [
|
|
9824
9825
|
"modelValue",
|
|
9825
9826
|
"item",
|
|
@@ -10034,7 +10035,7 @@ var cr = [
|
|
|
10034
10035
|
e.type = "object", e.properties = e.properties || {}, e.title = t.label, e.description = t.description, e.lx.defaultValues = t.defaultValues || {}, e.lx.useDefaults = t.useDefaults || !1, e.lx.usesFilters = t.usesFilters || !1, e.lx.filterButtonKind = t.filterButtonKind || "tertiary", e.lx.columnCount = t.columnCount || 3, e.lx.expanded = t.expanded || !1, e.lx.disabled = t.disabled || !1, e.lx.fastFilters = t.fastFilters || [], e.lx.fastIdAttribute = t.fastIdAttribute || "id", e.lx.fastNameAttribute = t.fastNameAttribute || "name", e.lx.badge = t.badge, e.lx.badgeType = t.badgeType || "default", e.lx.texts = t.texts || {};
|
|
10035
10036
|
},
|
|
10036
10037
|
LxList: (e, t) => {
|
|
10037
|
-
e.type = "array", e.properties = e.properties || {}, e.description = t.description, e.lx.
|
|
10038
|
+
e.type = "array", e.properties = e.properties || {}, e.description = t.description, e.lx.actionDefinitions = t.actionDefinitions, e.lx.groupDefinitions = t.groupDefinitions && t.groupDefinitions?.length !== 0 ? t.groupDefinitions : null, e.lx.toolbarActionDefinitions = t.toolbarActionDefinitions, e.lx.selectionActionDefinitions = t.selectionActionDefinitions, e.lx.kind = t.kind || "default", e.lx.listType = t.listType || "3", e.lx.hasSelecting = t.hasSelecting || !1, e.lx.selectionKind = t.selectionKind || "single", e.lx.hasSearch = t.hasSearch || !1, e.lx.searchSide = t.searchSide || "client", e.lx.searchMode = t.searchMode || "default", e.lx.hideFilteredItems = t.hideFilteredItems || !1, e.lx.showLoadMore = t.showLoadMore || !1, e.lx.stickyToolbar = t.stickyToolbar || !1, e.lx.icon = t.icon || "open", e.lx.iconSet = t.iconSet || "cds", e.lx.hasVirtualization = t.hasVirtualization, e.lx.includeUnspecifiedGroups = t.includeUnspecifiedGroups || !1, e.lx.hasSkipLink = t.hasSkipLink || !1, e.lx.loading = t.loading || !1, e.lx.busy = t.busy || !1, e.lx.actionLayout = t.actionLayout || "default", e.lx.emptyStateActionDefinitions = t.emptyStateActionDefinitions, e.lx.emptyStateIcon = t.emptyStateIcon, e.lx.idAttribute = t.idAttribute || "id", e.lx.nameAttribute = t.nameAttribute || "name", e.lx.descriptionAttribute = t.descriptionAttribute || "description", e.lx.hrefAttribute = t.hrefAttribute || "href", e.lx.groupAttribute = t.groupAttribute || "group", e.lx.clickableAttribute = t.clickableAttribute || "clickable", e.lx.iconAttribute = t.iconAttribute || "icon", e.lx.iconSetAttribute = t.iconSetAttribute || "iconSet", e.lx.tooltipAttribute = t.tooltipAttribute || "tooltip", e.lx.categoryAttribute = t.categoryAttribute || "category", e.lx.childrenAttribute = t.childrenAttribute || "children", e.lx.hasChildrenAttribute = t.hasChildrenAttribute || "hasChildren", e.lx.selectableAttribute = t.selectableAttribute || "selectable", e.lx.orderAttribute = t.orderAttribute || "order", e.lx.texts = t.texts || {};
|
|
10038
10039
|
},
|
|
10039
10040
|
LxDataGrid: (e, t) => {
|
|
10040
10041
|
e.type = "array", e.properties = e.properties || {}, e.description = t.description, e.lx.label = t.label, e.lx.description = t.description, e.lx.columnDefinitions = t.columnDefinitions, e.lx.idAttribute = t.idAttribute || "id", e.lx.scrollable = t.scrollable || !1, e.lx.loading = t.loading || !1, e.lx.busy = t.busy || !1, e.lx.skeletonRowCount = t.skeletonRowCount || 10, e.lx.showHeader = t.showHeader || !1, e.lx.showToolbar = t.showToolbar, e.lx.showStatusbar = t.showStatusbar, e.lx.showAllColumns = t.showAllColumns || !1, e.lx.hasSorting = t.hasSorting || !1, e.lx.sortingIgnoreEmpty = t.sortingIgnoreEmpty, e.lx.itemsPerPage = t.itemsPerPage || 20, e.lx.itemsTotal = t.itemsTotal || 0, e.lx.sortingMode = t.sortingMode || "strip", e.lx.actionDefinitions = t.actionDefinitions, e.lx.defaultActionName = t.defaultActionName || "open", e.lx.toolbarActionDefinitions = t.toolbarActionDefinitions, e.lx.hasVirtualization = t.hasVirtualization, e.lx.stickyHeader = t.stickyHeader || !1, e.lx.hasPaging = t.hasPaging || !1, e.lx.hasSelecting = t.hasSelecting || !1, e.lx.selectionKind = t.selectionKind || "multiple", e.lx.sortingSide = t.sortingSide || "client", e.lx.emptyStateActionDefinitions = t.emptyStateActionDefinitions, e.lx.emptyStateIcon = t.emptyStateIcon, e.lx.hasSearch = t.hasSearch || !1, e.lx.searchMode = t.searchMode || "default", e.lx.searchString = t.searchString, e.lx.fullBleed = t.fullBleed, e.lx.badgeDefinitions = t.badgeDefinitions, e.lx.stickyToolbar = t.stickyToolbar || !1, e.lx.texts = t.texts || {};
|
|
@@ -10128,38 +10129,38 @@ var cr = [
|
|
|
10128
10129
|
function j(e) {
|
|
10129
10130
|
c.navigation[c.navigation.length - 1]?.id !== e && f("componentChange", c.navigation.find((t) => t.id === e));
|
|
10130
10131
|
}
|
|
10131
|
-
function
|
|
10132
|
+
function te(e, t) {
|
|
10132
10133
|
let n = Y.objectClone(c.componentModel) || {}, r = p[e];
|
|
10133
10134
|
return r && (n.lx = n.lx || {}, r(n, t)), n;
|
|
10134
10135
|
}
|
|
10135
10136
|
ee(() => c.componentProps, (e) => {
|
|
10136
|
-
let t =
|
|
10137
|
+
let t = te(c.componentName, e);
|
|
10137
10138
|
c.componentName === "LxViewLayout" ? f("update:viewLayout", e?.kind) : f("update:componentModel", t);
|
|
10138
10139
|
}, { deep: !0 });
|
|
10139
|
-
let
|
|
10140
|
+
let ne = r({
|
|
10140
10141
|
get() {
|
|
10141
10142
|
return c.componentProps;
|
|
10142
10143
|
},
|
|
10143
10144
|
set(e) {
|
|
10144
10145
|
f("update:componentProps", e);
|
|
10145
10146
|
}
|
|
10146
|
-
}),
|
|
10147
|
+
}), N = r(() => c.componentName ? c.navigation.map((e, t, n) => t === n.length - 1 ? {
|
|
10147
10148
|
...e,
|
|
10148
10149
|
active: !0
|
|
10149
|
-
} : e) : []),
|
|
10150
|
+
} : e) : []), P = Jn((e) => {
|
|
10150
10151
|
f("update:schemaKey", e);
|
|
10151
10152
|
}, 500), F = r({
|
|
10152
10153
|
get() {
|
|
10153
10154
|
return c.schemaKey;
|
|
10154
10155
|
},
|
|
10155
10156
|
set(e) {
|
|
10156
|
-
|
|
10157
|
+
P(e);
|
|
10157
10158
|
}
|
|
10158
|
-
}),
|
|
10159
|
-
function
|
|
10159
|
+
}), re = w(null);
|
|
10160
|
+
function L() {
|
|
10160
10161
|
return c.componentName && c.componentName !== "LxViewLayout";
|
|
10161
10162
|
}
|
|
10162
|
-
function
|
|
10163
|
+
function ie() {
|
|
10163
10164
|
return c.componentName && c.componentName !== "LxViewLayout" && c.componentName !== "LxFilters";
|
|
10164
10165
|
}
|
|
10165
10166
|
return (n, r) => (C(), o("div", yr, [s("div", br, [
|
|
@@ -10197,10 +10198,10 @@ var cr = [
|
|
|
10197
10198
|
]), h.value ? (C(), o("div", xr, [s("div", null, [
|
|
10198
10199
|
s("div", { class: v(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (C(), i(A(ue), {
|
|
10199
10200
|
key: 0,
|
|
10200
|
-
actionDefinitions:
|
|
10201
|
+
actionDefinitions: N.value,
|
|
10201
10202
|
onActionClick: j
|
|
10202
10203
|
}, {
|
|
10203
|
-
default:
|
|
10204
|
+
default: M(() => [s("div", Sr, [e.componentName ? (C(), o(t, { key: 0 }, [s("p", null, O(e.componentName), 1), u(A(ve), { value: "menu" })], 64)) : a("", !0)])]),
|
|
10204
10205
|
_: 1
|
|
10205
10206
|
}, 8, ["actionDefinitions"])) : (C(), o("div", Cr, [g.value === "components" ? (C(), o("p", wr, O(d.value?.components), 1)) : g.value === "settings" ? (C(), o("p", Tr, O(d.value?.settings), 1)) : (C(), o("p", Er, O(d.value?.actionPanel), 1))]))], 2),
|
|
10206
10207
|
g.value === "config" ? (C(), o("div", Dr, [
|
|
@@ -10208,19 +10209,19 @@ var cr = [
|
|
|
10208
10209
|
icon: "copy",
|
|
10209
10210
|
kind: "secondary",
|
|
10210
10211
|
label: d.value?.duplicate,
|
|
10211
|
-
disabled: !
|
|
10212
|
+
disabled: !ie(),
|
|
10212
10213
|
onClick: r[4] ||= (e) => f("duplicateComponent")
|
|
10213
10214
|
}, null, 8, ["label", "disabled"]), u(A(I), {
|
|
10214
10215
|
icon: "delete",
|
|
10215
10216
|
kind: "secondary",
|
|
10216
10217
|
label: d.value?.delete,
|
|
10217
|
-
disabled: !
|
|
10218
|
+
disabled: !L(),
|
|
10218
10219
|
destructive: !0,
|
|
10219
10220
|
onClick: r[5] ||= (e) => f("removeComponent")
|
|
10220
10221
|
}, null, 8, ["label", "disabled"])]),
|
|
10221
10222
|
u(A(K), {
|
|
10222
|
-
modelValue:
|
|
10223
|
-
"onUpdate:modelValue": r[6] ||= (e) =>
|
|
10223
|
+
modelValue: re.value,
|
|
10224
|
+
"onUpdate:modelValue": r[6] ||= (e) => re.value = e,
|
|
10224
10225
|
kind: "search",
|
|
10225
10226
|
placeholder: d.value?.searchProps,
|
|
10226
10227
|
disabled: !e.componentName,
|
|
@@ -10232,17 +10233,17 @@ var cr = [
|
|
|
10232
10233
|
]),
|
|
10233
10234
|
e.componentName ? (C(), i(vr, {
|
|
10234
10235
|
key: 0,
|
|
10235
|
-
modelValue:
|
|
10236
|
-
"onUpdate:modelValue": r[7] ||= (e) =>
|
|
10236
|
+
modelValue: ne.value,
|
|
10237
|
+
"onUpdate:modelValue": r[7] ||= (e) => ne.value = e,
|
|
10237
10238
|
componentName: e.componentName,
|
|
10238
10239
|
componentPropsDefinitions: e.componentPropsDefinitions,
|
|
10239
|
-
searchString:
|
|
10240
|
+
searchString: re.value,
|
|
10240
10241
|
componentModel: m.value,
|
|
10241
10242
|
"onUpdate:componentModel": r[8] ||= (e) => m.value = e,
|
|
10242
10243
|
schemaKey: F.value,
|
|
10243
10244
|
"onUpdate:schemaKey": r[9] ||= (e) => F.value = e,
|
|
10244
10245
|
schemaKeyError: e.schemaKeyError,
|
|
10245
|
-
navigation:
|
|
10246
|
+
navigation: N.value,
|
|
10246
10247
|
selectedModel: e.selectedModel,
|
|
10247
10248
|
texts: d.value,
|
|
10248
10249
|
onError: r[10] ||= (e) => f("error", e),
|
|
@@ -10314,7 +10315,7 @@ var cr = [
|
|
|
10314
10315
|
])])) : a("", !0)
|
|
10315
10316
|
])])) : a("", !0)]));
|
|
10316
10317
|
}
|
|
10317
|
-
}), Pr = {
|
|
10318
|
+
}), Pr = { class: "lx-constructor" }, Fr = { id: "constructor-overlay" }, Ir = { class: "highlight-toolbar highlight-toolbar-remove" }, Lr = { class: "code-display" }, Rr = { class: "code" }, zr = { class: "import-switcher" }, Br = { class: "component-add-text" }, Vr = { class: "lx-primary" }, Hr = { class: "lx-secondary" }, Ur = /* @__PURE__ */ d({
|
|
10318
10319
|
__name: "Constructor",
|
|
10319
10320
|
props: {
|
|
10320
10321
|
schema: {
|
|
@@ -10340,8 +10341,8 @@ var cr = [
|
|
|
10340
10341
|
"error",
|
|
10341
10342
|
"schemaCopy"
|
|
10342
10343
|
],
|
|
10343
|
-
setup(e, {
|
|
10344
|
-
let
|
|
10344
|
+
setup(e, { expose: t, emit: c }) {
|
|
10345
|
+
let l = e, d = {
|
|
10345
10346
|
back: "Pārvietot atpakaļ",
|
|
10346
10347
|
next: "Pārvietot uz priekšu",
|
|
10347
10348
|
delete: "Dzēst",
|
|
@@ -10428,141 +10429,141 @@ var cr = [
|
|
|
10428
10429
|
required: "Lauks ir obligāts",
|
|
10429
10430
|
unique: "Vērtībai jābūt unikālai"
|
|
10430
10431
|
}
|
|
10431
|
-
},
|
|
10432
|
+
}, f = r(() => Ve.getDisplayTexts(l.texts, d)), p = c, m = r({
|
|
10432
10433
|
get() {
|
|
10433
|
-
return
|
|
10434
|
+
return l.schema;
|
|
10434
10435
|
},
|
|
10435
10436
|
set(e) {
|
|
10436
|
-
|
|
10437
|
+
p("update:schema", e);
|
|
10437
10438
|
}
|
|
10438
|
-
}),
|
|
10439
|
+
}), h = r({
|
|
10439
10440
|
get() {
|
|
10440
|
-
return
|
|
10441
|
+
return l.modelValue;
|
|
10441
10442
|
},
|
|
10442
10443
|
set(e) {
|
|
10443
|
-
|
|
10444
|
+
p("update:modelValue", e);
|
|
10444
10445
|
}
|
|
10445
|
-
}), { width:
|
|
10446
|
+
}), { width: g, height: b } = ar(), S = w([]), T = w(null), E = w(null), D = w(null), k = w(null), te = w(null), N = w({
|
|
10446
10447
|
visible: !1,
|
|
10447
10448
|
style: {},
|
|
10448
10449
|
el: null,
|
|
10449
10450
|
padding: 2
|
|
10450
|
-
}),
|
|
10451
|
+
}), P = w(), F = w({
|
|
10451
10452
|
canPlaceInside: !1,
|
|
10452
10453
|
key: null,
|
|
10453
10454
|
path: null
|
|
10454
|
-
}),
|
|
10455
|
+
}), re = w({
|
|
10455
10456
|
canMoveOut: !1,
|
|
10456
10457
|
parentKey: null,
|
|
10457
10458
|
parentPath: null,
|
|
10458
10459
|
targetPath: null,
|
|
10459
10460
|
placement: null
|
|
10460
|
-
}),
|
|
10461
|
+
}), L = w(null), ae = w(null), oe = w(null), R = w(null), z = w(null), se = w(null), le = w("file"), ue = w(), de = w(null), fe = w(null), pe = w(null), he = r(() => !se.value), ge = w(null), _e = w(null), B = w(null), ye = w(null), be = w(), Se = w({
|
|
10461
10462
|
label: null,
|
|
10462
10463
|
description: null,
|
|
10463
10464
|
kind: "danger",
|
|
10464
10465
|
primaryAction: null,
|
|
10465
10466
|
secondaryAction: null
|
|
10466
|
-
}),
|
|
10467
|
+
}), V = w({
|
|
10467
10468
|
canMoveBack: !1,
|
|
10468
10469
|
canMoveForward: !1,
|
|
10469
10470
|
moveOut: !1,
|
|
10470
10471
|
canMoveForwardIn: !1
|
|
10471
10472
|
});
|
|
10472
|
-
function
|
|
10473
|
-
|
|
10473
|
+
function Ce() {
|
|
10474
|
+
V.value.canMoveBack = !1, V.value.canMoveForward = !1, V.value.moveOut = !1, V.value.canMoveForwardIn = !1;
|
|
10474
10475
|
}
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10476
|
+
let we = w(), Ee = w(!1);
|
|
10477
|
+
function De(e) {
|
|
10478
|
+
if (N.value.el = e.target, !N.value.el) return;
|
|
10479
|
+
let t = N.value.el.getBoundingClientRect(), n = window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0, r = N.value.padding;
|
|
10480
|
+
N.value.style = {
|
|
10479
10481
|
left: `${t.left - r}px`,
|
|
10480
10482
|
top: `${t.top - r + n}px`,
|
|
10481
10483
|
width: `${t.width + r * 2}px`,
|
|
10482
10484
|
height: `${t.height + r * 2}px`
|
|
10483
|
-
},
|
|
10485
|
+
}, N.value.visible = !0;
|
|
10486
|
+
let i = we.value?.getBoundingClientRect()?.width, a = N.value.el?.getBoundingClientRect()?.width;
|
|
10487
|
+
a && i && a < i ? Ee.value = !0 : Ee.value = !1;
|
|
10484
10488
|
}
|
|
10485
|
-
function
|
|
10489
|
+
function Oe() {
|
|
10486
10490
|
_(() => {
|
|
10487
|
-
|
|
10491
|
+
De({ target: N.value.el });
|
|
10488
10492
|
});
|
|
10489
10493
|
}
|
|
10490
|
-
function
|
|
10494
|
+
function ke(e) {
|
|
10491
10495
|
let t = e?.replace(/-wrapper$/, "");
|
|
10492
10496
|
return Re.get(t)?.type === "LxRow";
|
|
10493
10497
|
}
|
|
10494
|
-
function
|
|
10498
|
+
function H(e, t) {
|
|
10495
10499
|
return t?.reduce((e, t) => Ve.isNil(e) ? void 0 : e[t], e);
|
|
10496
10500
|
}
|
|
10497
|
-
function
|
|
10498
|
-
let t = e ||
|
|
10499
|
-
return
|
|
10501
|
+
function U(e = null) {
|
|
10502
|
+
let t = e || P.value, n = [];
|
|
10503
|
+
return te.value = t?.split("."), te.value?.forEach((e) => {
|
|
10500
10504
|
n.push("properties", e);
|
|
10501
10505
|
}), n;
|
|
10502
10506
|
}
|
|
10503
|
-
function
|
|
10507
|
+
function Ae(e) {
|
|
10504
10508
|
return e?.lx?.displayType;
|
|
10505
10509
|
}
|
|
10506
|
-
function
|
|
10507
|
-
let t = !!e && Object.prototype.hasOwnProperty.call(e, "properties") && !!e.properties, n =
|
|
10508
|
-
return !t || n === "list" || n === "table" ? !1 : n === "form" ? Object.values(e.properties).some((e) =>
|
|
10510
|
+
function W(e) {
|
|
10511
|
+
let t = !!e && Object.prototype.hasOwnProperty.call(e, "properties") && !!e.properties, n = Ae(e);
|
|
10512
|
+
return !t || n === "list" || n === "table" ? !1 : n === "form" ? Object.values(e.properties).some((e) => Ae(e) === "section") : !0;
|
|
10509
10513
|
}
|
|
10510
|
-
function
|
|
10514
|
+
function je(e) {
|
|
10511
10515
|
if (!Array.isArray(e)) return !1;
|
|
10512
10516
|
let t = e.map((e) => e?.name), n = t.indexOf("LxFilters");
|
|
10513
10517
|
if (n < 0) return !1;
|
|
10514
10518
|
let r = t.indexOf("LxForm", n + 1);
|
|
10515
10519
|
return r < 0 ? !1 : t.includes("LxSection", r + 1);
|
|
10516
10520
|
}
|
|
10517
|
-
function
|
|
10521
|
+
function Me(e, t) {
|
|
10518
10522
|
if (!e || !t) return [];
|
|
10519
10523
|
let n = t.split(".").filter(Boolean);
|
|
10520
|
-
return n.map((t, r) =>
|
|
10524
|
+
return n.map((t, r) => Ae(H(e, U(n.slice(0, r + 1).join("."))))).filter(Boolean);
|
|
10521
10525
|
}
|
|
10522
|
-
function
|
|
10523
|
-
let r =
|
|
10526
|
+
function Ne(e, t, n = m.value) {
|
|
10527
|
+
let r = Me(n, t), i = r.includes("filters"), a = r.includes("form");
|
|
10524
10528
|
return e === "LxList" ? !i : e === "LxDataGrid" ? !i && !a : !0;
|
|
10525
10529
|
}
|
|
10526
|
-
function
|
|
10527
|
-
(!
|
|
10528
|
-
let n =
|
|
10529
|
-
if (
|
|
10530
|
+
function K(e, t) {
|
|
10531
|
+
(!P.value || !t) && Ce();
|
|
10532
|
+
let n = P.value?.split(".")?.slice(-1)[0], r = P.value?.includes(".") ? P.value?.split(".")?.slice(0, -1)?.join(".") : null, i = (r ? H(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;
|
|
10533
|
+
if (V.value.canMoveBack = !!l, V.value.canMoveForward = !!s, V.value.canMoveForwardIn = W(c) && T.value !== "LxSection", V.value.canMoveForwardIn && c) {
|
|
10530
10534
|
let t = [r, s].filter(Boolean).join(".");
|
|
10531
|
-
if (
|
|
10532
|
-
let e = Object.entries(c.properties || {}).find(([, e]) =>
|
|
10533
|
-
if (
|
|
10534
|
-
else {
|
|
10535
|
+
if (Ae(c) === "form") {
|
|
10536
|
+
let e = Object.entries(c.properties || {}).find(([, e]) => Ae(e) === "section");
|
|
10537
|
+
if (e) {
|
|
10535
10538
|
let [n] = e;
|
|
10536
10539
|
t = [t, n].filter(Boolean).join(".");
|
|
10537
|
-
}
|
|
10540
|
+
} else V.value.canMoveForwardIn = !1;
|
|
10538
10541
|
}
|
|
10539
|
-
|
|
10542
|
+
V.value.canMoveForwardIn && !Ne(T.value, t, e) && (V.value.canMoveForwardIn = !1);
|
|
10540
10543
|
}
|
|
10541
10544
|
let u = r?.includes(".") ? r?.split(".")?.slice(0, -1).join(".") : null, d = r?.split(".")?.slice(-1)[0] || null, f = !!r && !!d && !!u;
|
|
10542
|
-
|
|
10543
|
-
}
|
|
10544
|
-
function
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
|
|
10548
|
-
if (
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
break;
|
|
10554
|
-
}
|
|
10555
|
-
t = t.parentElement;
|
|
10545
|
+
V.value.moveOut = f && !je(S.value);
|
|
10546
|
+
}
|
|
10547
|
+
function q(e) {
|
|
10548
|
+
let t = e.target, n = null;
|
|
10549
|
+
for (; t;) {
|
|
10550
|
+
if (t.dataset.id && Re.get(t.dataset.id) || ke(t.id)) {
|
|
10551
|
+
if (ke(t.id)) {
|
|
10552
|
+
let e = t.id?.replace(/-wrapper$/, "");
|
|
10553
|
+
n = Re.get(e);
|
|
10554
|
+
} else n = Re.get(t.dataset.id || t.id);
|
|
10555
|
+
break;
|
|
10556
10556
|
}
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10557
|
+
t = t.parentElement;
|
|
10558
|
+
}
|
|
10559
|
+
n && (T.value = n.type, D.value = n.node.type.props, E.value = Y.objectClone(n.props), De({ target: t }), P.value = n.builderName, S.value = n.componentStack, L.value = P.value?.includes(".") ? P.value?.split(".")?.slice(-1)[0] : P.value, B.value = null), k.value = H(m.value, U());
|
|
10560
|
+
let r = P.value?.includes(".") ? P.value?.split(".")?.join(".") : null;
|
|
10561
|
+
ae.value = H(m.value, U(r)?.slice(0, -1)), K(m.value, k.value), ye.value = "config";
|
|
10561
10562
|
}
|
|
10562
|
-
function
|
|
10563
|
-
return
|
|
10563
|
+
function J() {
|
|
10564
|
+
return T.value === "LxRow" || T.value === "LxSection" || !S.value.some((e) => e.name === "LxRow");
|
|
10564
10565
|
}
|
|
10565
|
-
function
|
|
10566
|
+
function Ie(e) {
|
|
10566
10567
|
let t = e;
|
|
10567
10568
|
return !t || !(t instanceof HTMLElement) ? !0 : t.isContentEditable || t.closest("[contenteditable=\"true\"]") ? !1 : ![
|
|
10568
10569
|
"INPUT",
|
|
@@ -10570,39 +10571,39 @@ var cr = [
|
|
|
10570
10571
|
"SELECT"
|
|
10571
10572
|
].includes(t.tagName);
|
|
10572
10573
|
}
|
|
10573
|
-
function
|
|
10574
|
+
function Le(e, t, n) {
|
|
10574
10575
|
t?.reduce((e, r, i) => (i === t.length - 1 ? e[r] = n : e[r] = e[r] ?? {}, e[r]), e);
|
|
10575
10576
|
}
|
|
10576
|
-
function
|
|
10577
|
+
function ze(e, t) {
|
|
10577
10578
|
if (!Array.isArray(t) || t.length === 0) return;
|
|
10578
|
-
let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ?
|
|
10579
|
+
let n = t.slice(0, -1), r = t[t.length - 1], i = n.length ? H(e, n) : e;
|
|
10579
10580
|
!i || !Object.prototype.hasOwnProperty.call(i, r) || delete i[r];
|
|
10580
10581
|
}
|
|
10581
|
-
function
|
|
10582
|
+
function Be(e, t) {
|
|
10582
10583
|
let n = e?.split(".")?.filter(Boolean) || [], r = t?.split(".")?.filter(Boolean) || [];
|
|
10583
10584
|
if (!n.length || !r.length) return;
|
|
10584
|
-
let i =
|
|
10585
|
+
let i = H(h.value, n);
|
|
10585
10586
|
if (Ve.isNil(i)) return;
|
|
10586
|
-
let a = Y.objectClone(
|
|
10587
|
-
|
|
10587
|
+
let a = Y.objectClone(h.value || {});
|
|
10588
|
+
Le(a, r, i), ze(a, n), h.value = a;
|
|
10588
10589
|
}
|
|
10589
|
-
function
|
|
10590
|
+
function He(e) {
|
|
10590
10591
|
let t = [];
|
|
10591
|
-
|
|
10592
|
+
te.value = P.value?.split("."), te.value?.forEach((e) => {
|
|
10592
10593
|
t.push("properties", e);
|
|
10593
10594
|
});
|
|
10594
|
-
let n = Y.objectClone(
|
|
10595
|
-
|
|
10595
|
+
let n = Y.objectClone(m.value);
|
|
10596
|
+
Le(n, t, e), m.value = n, k.value = e, Oe();
|
|
10596
10597
|
}
|
|
10597
|
-
function
|
|
10598
|
-
|
|
10598
|
+
function We() {
|
|
10599
|
+
F.value = {
|
|
10599
10600
|
canPlaceInside: !1,
|
|
10600
10601
|
key: null,
|
|
10601
10602
|
path: null
|
|
10602
10603
|
};
|
|
10603
10604
|
}
|
|
10604
|
-
function
|
|
10605
|
-
|
|
10605
|
+
function Ge() {
|
|
10606
|
+
re.value = {
|
|
10606
10607
|
canMoveOut: !1,
|
|
10607
10608
|
parentKey: null,
|
|
10608
10609
|
parentPath: null,
|
|
@@ -10610,19 +10611,19 @@ var cr = [
|
|
|
10610
10611
|
placement: null
|
|
10611
10612
|
};
|
|
10612
10613
|
}
|
|
10613
|
-
function
|
|
10614
|
+
function Ke(e, t) {
|
|
10614
10615
|
if (!e || !t || !Object.prototype.hasOwnProperty.call(t, e)) return e;
|
|
10615
10616
|
let n = Ue.generateUUID();
|
|
10616
10617
|
for (; Object.prototype.hasOwnProperty.call(t, n);) n = Ue.generateUUID();
|
|
10617
10618
|
return n;
|
|
10618
10619
|
}
|
|
10619
|
-
function
|
|
10620
|
+
function qe(e) {
|
|
10620
10621
|
return Array.isArray(e) ? e.filter((e) => e !== "properties") : [];
|
|
10621
10622
|
}
|
|
10622
|
-
function
|
|
10623
|
-
return
|
|
10623
|
+
function X(e) {
|
|
10624
|
+
return qe(e).join(".");
|
|
10624
10625
|
}
|
|
10625
|
-
function
|
|
10626
|
+
function Je(e) {
|
|
10626
10627
|
e && _(() => {
|
|
10627
10628
|
let t = Array.from(Re.all().entries()).find(([, t]) => t?.builderName === e);
|
|
10628
10629
|
if (!t) return;
|
|
@@ -10633,31 +10634,31 @@ var cr = [
|
|
|
10633
10634
|
}));
|
|
10634
10635
|
});
|
|
10635
10636
|
}
|
|
10636
|
-
function
|
|
10637
|
-
if (!
|
|
10638
|
-
let e =
|
|
10637
|
+
function Ye() {
|
|
10638
|
+
if (!P.value) return;
|
|
10639
|
+
let e = P.value, t = P.value?.split(".")?.slice(-1)[0], n = P.value?.includes(".") ? P.value?.split(".")?.slice(0, -1)?.join(".") : null, r = n ? U(n) : null, i = Y.objectClone(m.value), a = r ? H(i, r) : i, o = a?.properties;
|
|
10639
10640
|
if (!o || !t) return;
|
|
10640
10641
|
let s = Object.keys(o), c = s[s.indexOf(t) + 1];
|
|
10641
10642
|
if (!c) return;
|
|
10642
10643
|
let l = o[t], u = o[c];
|
|
10643
|
-
if (!l || !u || !
|
|
10644
|
+
if (!l || !u || !W(u)) return;
|
|
10644
10645
|
let d = u, f = [n, c].filter(Boolean)?.join(".");
|
|
10645
|
-
if (
|
|
10646
|
-
let e = Object.entries(u.properties || {}).find(([, e]) =>
|
|
10646
|
+
if (Ae(u) === "form") {
|
|
10647
|
+
let e = Object.entries(u.properties || {}).find(([, e]) => Ae(e) === "section");
|
|
10647
10648
|
if (!e) return;
|
|
10648
10649
|
let [t, n] = e;
|
|
10649
10650
|
d = n, f = [f, t].filter(Boolean).join(".");
|
|
10650
10651
|
}
|
|
10651
|
-
if (!
|
|
10652
|
-
let
|
|
10652
|
+
if (!Ne(T.value, f, i)) return;
|
|
10653
|
+
let p = Y.objectClone(l), h = Y.objectClone(d.properties || {}), g = Ke(t, h);
|
|
10653
10654
|
d.properties = {
|
|
10654
10655
|
...h,
|
|
10655
|
-
[g]:
|
|
10656
|
-
},
|
|
10656
|
+
[g]: p
|
|
10657
|
+
}, Le(i, U(f), d), a.properties = Object.fromEntries(Object.entries(o).filter(([e]) => e !== t)), r && Le(i, r, a), m.value = i;
|
|
10657
10658
|
let _ = [f, g].filter(Boolean).join(".");
|
|
10658
|
-
|
|
10659
|
+
Be(e, _), Je(_);
|
|
10659
10660
|
}
|
|
10660
|
-
function
|
|
10661
|
+
function Xe(e) {
|
|
10661
10662
|
if (!e?.includes(".")) return {
|
|
10662
10663
|
parent: null,
|
|
10663
10664
|
key: e ?? null
|
|
@@ -10668,8 +10669,8 @@ var cr = [
|
|
|
10668
10669
|
key: t.slice(-1)[0]
|
|
10669
10670
|
};
|
|
10670
10671
|
}
|
|
10671
|
-
function
|
|
10672
|
-
let { parent: n, key: r } =
|
|
10672
|
+
function Ze(e, t) {
|
|
10673
|
+
let { parent: n, key: r } = Xe(e), i = n ? U(n) : null, a = i ? H(t, i) : t;
|
|
10673
10674
|
return {
|
|
10674
10675
|
schema: a,
|
|
10675
10676
|
schemaPath: i,
|
|
@@ -10677,9 +10678,9 @@ var cr = [
|
|
|
10677
10678
|
anchorKey: r
|
|
10678
10679
|
};
|
|
10679
10680
|
}
|
|
10680
|
-
function
|
|
10681
|
-
if (
|
|
10682
|
-
let e =
|
|
10681
|
+
function Qe({ parentSchema: e, grandParentSchema: t, grandParentSchemaPath: n, grandParentProperties: r, parentKey: i, grandParentPath: a, schemaClone: o }) {
|
|
10682
|
+
if (Ae(e) === "section" && Ae(t) === "form") {
|
|
10683
|
+
let e = Ze(a, o);
|
|
10683
10684
|
if (e) return e;
|
|
10684
10685
|
}
|
|
10685
10686
|
return {
|
|
@@ -10689,15 +10690,15 @@ var cr = [
|
|
|
10689
10690
|
anchorKey: i
|
|
10690
10691
|
};
|
|
10691
10692
|
}
|
|
10692
|
-
function
|
|
10693
|
-
if (!
|
|
10694
|
-
let t =
|
|
10693
|
+
function $e(e) {
|
|
10694
|
+
if (!P.value || e !== "next" && e !== "previous") return;
|
|
10695
|
+
let t = P.value, { parent: n, key: r } = Xe(P.value);
|
|
10695
10696
|
if (!n) return;
|
|
10696
|
-
let { parent: i, key: a } =
|
|
10697
|
+
let { parent: i, key: a } = Xe(n);
|
|
10697
10698
|
if (!i) return;
|
|
10698
|
-
let o = Y.objectClone(
|
|
10699
|
+
let o = Y.objectClone(m.value), s = n ? U(n) : null, c = i ? U(i) : null, l = s ? H(o, s) : o, u = c ? H(o, c) : o, d = l?.properties, f = u?.properties;
|
|
10699
10700
|
if (!d || !r || !a) return;
|
|
10700
|
-
let { schema:
|
|
10701
|
+
let { schema: p, schemaPath: h, properties: g, anchorKey: _ } = Qe({
|
|
10701
10702
|
parentSchema: l,
|
|
10702
10703
|
grandParentSchema: u,
|
|
10703
10704
|
grandParentSchemaPath: c,
|
|
@@ -10709,16 +10710,16 @@ var cr = [
|
|
|
10709
10710
|
if (!g || !_) return;
|
|
10710
10711
|
let v = d[r];
|
|
10711
10712
|
if (!v) return;
|
|
10712
|
-
let y = Y.objectClone(v), b =
|
|
10713
|
+
let y = Y.objectClone(v), b = Ke(r, g);
|
|
10713
10714
|
l.properties = Object.fromEntries(Object.entries(d).filter(([e]) => e !== r));
|
|
10714
10715
|
let x = {};
|
|
10715
10716
|
Object.keys(g).forEach((e) => {
|
|
10716
10717
|
e === _ && (x[b] = y), x[e] = g[e];
|
|
10717
|
-
}),
|
|
10718
|
-
let S = [
|
|
10719
|
-
|
|
10718
|
+
}), p.properties = x, s && Le(o, s, l), h && Le(o, h, p), m.value = o;
|
|
10719
|
+
let S = [X(h), b].filter(Boolean).join(".");
|
|
10720
|
+
Be(t, S), Je(S);
|
|
10720
10721
|
}
|
|
10721
|
-
function
|
|
10722
|
+
function Z(e, t, n) {
|
|
10722
10723
|
if (!t) return;
|
|
10723
10724
|
let r = [
|
|
10724
10725
|
{
|
|
@@ -10738,121 +10739,126 @@ var cr = [
|
|
|
10738
10739
|
}
|
|
10739
10740
|
];
|
|
10740
10741
|
if (e === "LxDateTimeRange") {
|
|
10741
|
-
let e = Y.objectClone(
|
|
10742
|
-
|
|
10742
|
+
let e = Y.objectClone(h.value || {});
|
|
10743
|
+
Le(e, [...qe(n), t], {}), h.value = e, p("update:modelValue", e);
|
|
10743
10744
|
}
|
|
10744
10745
|
if (e === "LxList" || e === "LxDataGrid") {
|
|
10745
|
-
let e = Y.objectClone(
|
|
10746
|
-
|
|
10746
|
+
let e = Y.objectClone(h.value || {});
|
|
10747
|
+
Le(e, [...qe(n), t], r), h.value = e, p("update:modelValue", e);
|
|
10747
10748
|
}
|
|
10748
10749
|
}
|
|
10749
|
-
function
|
|
10750
|
+
function et(e) {
|
|
10750
10751
|
let t = null;
|
|
10751
|
-
|
|
10752
|
-
let n = t ?
|
|
10752
|
+
P.value?.includes(".") && (t = U(P.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10753
|
+
let n = t ? H(m.value, t) : m.value, r = P.value?.split(".")?.slice(-1)[0], i = Ue.generateUUID(), a = or(e), o = n.properties, s = {};
|
|
10753
10754
|
Object.keys(o).forEach((e) => {
|
|
10754
10755
|
s[e] = o[e], e === r && (s[i] = a);
|
|
10755
10756
|
}), n.properties = s;
|
|
10756
|
-
let c = Y.objectClone(
|
|
10757
|
-
|
|
10757
|
+
let c = Y.objectClone(m.value);
|
|
10758
|
+
Le(c, t, n), m.value = c, Z(e, i, t), Je([X(t), i].filter(Boolean).join("."));
|
|
10758
10759
|
}
|
|
10759
|
-
function
|
|
10760
|
-
if (!
|
|
10761
|
-
let t =
|
|
10760
|
+
function tt(e) {
|
|
10761
|
+
if (!P.value) return !1;
|
|
10762
|
+
let t = P.value?.split(".")?.slice(-1)[0], n = P.value?.includes(".") ? P.value?.split(".")?.slice(0, -1)?.join(".") : null;
|
|
10762
10763
|
if (!n) return !1;
|
|
10763
10764
|
let r = n?.includes(".") ? n?.split(".")?.slice(0, -1)?.join(".") : null, i = n?.split(".")?.slice(-1)[0] || null;
|
|
10764
10765
|
if (!i) return !1;
|
|
10765
|
-
let a = Y.objectClone(
|
|
10766
|
+
let a = Y.objectClone(m.value), o = H(a, U(n)), s = o?.properties?.[t], c = Ae(s) === "section", l = Ae(o) === "form";
|
|
10766
10767
|
if (!c || !l) return !1;
|
|
10767
|
-
let u = r ?
|
|
10768
|
+
let u = r ? U(r) : null, d = u ? H(a, u) : a, f = d?.properties;
|
|
10768
10769
|
if (!f) return !1;
|
|
10769
|
-
let
|
|
10770
|
+
let p = Ke(Ue.generateUUID(), f), h = or(e), g = {};
|
|
10770
10771
|
return Object.keys(f).forEach((e) => {
|
|
10771
|
-
e === i && (g[
|
|
10772
|
-
}), d.properties = g, u &&
|
|
10772
|
+
e === i && (g[p] = h), g[e] = f[e];
|
|
10773
|
+
}), d.properties = g, u && Le(a, u, d), m.value = a, Z(e, p, u), Je([X(u), p].filter(Boolean).join(".")), !0;
|
|
10773
10774
|
}
|
|
10774
|
-
function
|
|
10775
|
+
function nt(e) {
|
|
10775
10776
|
let t = null;
|
|
10776
|
-
t =
|
|
10777
|
-
let n = t ?
|
|
10777
|
+
t = U(P.value?.split(".")?.join("."));
|
|
10778
|
+
let n = t ? H(m.value, t) : m.value, r = Object.keys(n.properties || {})[Object.keys(n.properties || {}).length - 1], i = Ue.generateUUID(), a = or(e), o = n.properties, s = {};
|
|
10778
10779
|
Object.keys(o).forEach((e) => {
|
|
10779
10780
|
s[e] = o[e];
|
|
10780
10781
|
}), r ? Object.keys(s).forEach((e) => {
|
|
10781
10782
|
e === r && (s[i] = a);
|
|
10782
10783
|
}) : s[i] = a, n.properties = s;
|
|
10783
|
-
let c = Y.objectClone(
|
|
10784
|
-
|
|
10784
|
+
let c = Y.objectClone(m.value);
|
|
10785
|
+
Le(c, t, n), m.value = c, Z(e, i, t), Je([X(t), i].filter(Boolean).join("."));
|
|
10785
10786
|
}
|
|
10786
|
-
function
|
|
10787
|
+
function rt(e) {
|
|
10787
10788
|
let t = null;
|
|
10788
10789
|
e.name === "LxRow" ? t = document.querySelector(`#${e.id}-wrapper`) : (t = document.querySelector(`[data-id="${e.id}"]`), t ||= document.getElementById(e.id)), t && t.dispatchEvent(new MouseEvent("click", {
|
|
10789
10790
|
bubbles: !0,
|
|
10790
10791
|
cancelable: !0
|
|
10791
10792
|
}));
|
|
10792
10793
|
}
|
|
10793
|
-
function
|
|
10794
|
-
|
|
10794
|
+
function it(e) {
|
|
10795
|
+
_e.value = e, T.value === "LxViewLayout" ? nt(e) : T.value === "LxForm" || T.value === "LxSection" ? e === "LxSection" || S.value.some((e) => e.name === "LxFilters") ? nt(e) : ge.value.open() : et(e);
|
|
10795
10796
|
}
|
|
10796
|
-
function
|
|
10797
|
-
t === "inside" ? (
|
|
10797
|
+
function at(e, t) {
|
|
10798
|
+
t === "inside" ? (nt(_e.value), ge.value.close()) : t === "next" && (T.value === "LxSection" && tt(_e.value) || et(_e.value), ge.value.close());
|
|
10798
10799
|
}
|
|
10799
|
-
function
|
|
10800
|
+
function ot() {
|
|
10800
10801
|
let e = null;
|
|
10801
|
-
|
|
10802
|
-
let t = e ?
|
|
10802
|
+
P.value?.includes(".") && (e = U(P.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10803
|
+
let t = e ? H(m.value, e) : m.value, n = P.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
|
|
10803
10804
|
Object.keys(r).forEach((e) => {
|
|
10804
10805
|
e !== n && (i[e] = r[e]);
|
|
10805
10806
|
}), t.properties = i;
|
|
10806
|
-
let a = Y.objectClone(
|
|
10807
|
-
|
|
10807
|
+
let a = Y.objectClone(m.value);
|
|
10808
|
+
if (Le(a, e, t), m.value = a, !l.schema?.properties || Object.keys(l.schema?.properties).length === 0) {
|
|
10809
|
+
let e = document.querySelector(".lx-view-layout");
|
|
10810
|
+
e && setTimeout(() => {
|
|
10811
|
+
q({ target: e });
|
|
10812
|
+
}, 100);
|
|
10813
|
+
} else N.value.visible = !1, T.value = null, S.value = [], k.value = null, We(), Ge();
|
|
10808
10814
|
}
|
|
10809
|
-
function
|
|
10815
|
+
function st() {
|
|
10810
10816
|
let e = null;
|
|
10811
|
-
|
|
10812
|
-
let t = e ?
|
|
10817
|
+
P.value?.includes(".") && (e = U(P.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10818
|
+
let t = e ? H(m.value, e) : m.value, n = P.value?.split(".")?.slice(-1)[0], r = Ue.generateUUID(), i = Y.objectClone(t.properties[n]), a = t.properties, o = {};
|
|
10813
10819
|
Object.keys(a).forEach((e) => {
|
|
10814
10820
|
o[e] = a[e], e === n && (o[r] = i);
|
|
10815
10821
|
}), t.properties = o;
|
|
10816
|
-
let s = Y.objectClone(
|
|
10817
|
-
if (
|
|
10818
|
-
let t = Y.objectClone(
|
|
10819
|
-
Ve.isNil(a) || (
|
|
10822
|
+
let s = Y.objectClone(m.value);
|
|
10823
|
+
if (Le(s, e, t), m.value = s, T.value === "LxList" || T.value === "LxDataGrid") {
|
|
10824
|
+
let t = Y.objectClone(h.value || {}), i = qe(e), a = H(t, [...i, n]);
|
|
10825
|
+
Ve.isNil(a) || (Le(t, [...i, r], Y.objectClone(a)), h.value = t, p("update:modelValue", t));
|
|
10820
10826
|
}
|
|
10821
|
-
|
|
10827
|
+
Je([X(e), r].filter(Boolean).join("."));
|
|
10822
10828
|
}
|
|
10823
|
-
function
|
|
10829
|
+
function ct(e) {
|
|
10824
10830
|
let t = null;
|
|
10825
|
-
|
|
10826
|
-
let n = t ?
|
|
10831
|
+
P.value?.includes(".") && (t = U(P.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10832
|
+
let n = t ? H(m.value, t) : m.value, r = P.value?.split(".")?.slice(-1)[0], i = n.properties, a = {}, o = Object.keys(i), s = o.indexOf(r);
|
|
10827
10833
|
if (e === "up" && s > 0 || e === "down" && s < o.length - 1) {
|
|
10828
10834
|
e === "up" ? o.forEach((e, t) => {
|
|
10829
10835
|
t === s - 1 && (a[r] = i[r]), e !== r && (a[e] = i[e]);
|
|
10830
10836
|
}) : e === "down" && o.forEach((e, t) => {
|
|
10831
10837
|
e !== r && (a[e] = i[e]), t === s + 1 && (a[r] = i[r]);
|
|
10832
10838
|
}), n.properties = a;
|
|
10833
|
-
let c = Y.objectClone(
|
|
10834
|
-
|
|
10835
|
-
|
|
10839
|
+
let c = Y.objectClone(m.value);
|
|
10840
|
+
Le(c, t, n), m.value = c, _(() => {
|
|
10841
|
+
Oe(), K(m.value, k.value);
|
|
10836
10842
|
});
|
|
10837
10843
|
}
|
|
10838
10844
|
}
|
|
10839
|
-
function
|
|
10840
|
-
|
|
10845
|
+
function lt() {
|
|
10846
|
+
oe.value.open();
|
|
10841
10847
|
}
|
|
10842
|
-
function
|
|
10843
|
-
navigator.clipboard.writeText(JSON.stringify(
|
|
10848
|
+
function ut() {
|
|
10849
|
+
navigator.clipboard.writeText(JSON.stringify(m.value, null, 2)), p("schemaCopy");
|
|
10844
10850
|
}
|
|
10845
|
-
function
|
|
10846
|
-
let e = JSON.stringify(
|
|
10851
|
+
function dt() {
|
|
10852
|
+
let e = JSON.stringify(m.value, null, 2), t = new Blob([e], { type: "application/json" }), n = URL.createObjectURL(t), r = document.createElement("a");
|
|
10847
10853
|
r.href = n, r.download = "schema.json", document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(n);
|
|
10848
10854
|
}
|
|
10849
|
-
function
|
|
10850
|
-
e === "download" ?
|
|
10855
|
+
function ft(e) {
|
|
10856
|
+
e === "download" ? dt() : e === "copy" && ut();
|
|
10851
10857
|
}
|
|
10852
|
-
function
|
|
10853
|
-
|
|
10858
|
+
function pt() {
|
|
10859
|
+
le.value = "file", ue.value = null, R.value.open();
|
|
10854
10860
|
}
|
|
10855
|
-
function
|
|
10861
|
+
function mt(e) {
|
|
10856
10862
|
try {
|
|
10857
10863
|
let t = JSON.parse(e);
|
|
10858
10864
|
return typeof t == "object" && !!t && !Array.isArray(t);
|
|
@@ -10860,252 +10866,274 @@ var cr = [
|
|
|
10860
10866
|
return !1;
|
|
10861
10867
|
}
|
|
10862
10868
|
}
|
|
10863
|
-
function
|
|
10869
|
+
function ht(e) {
|
|
10864
10870
|
let t = atob(e), n = Uint8Array.from(t, (e) => e.charCodeAt(0));
|
|
10865
10871
|
return new TextDecoder("utf-8").decode(n);
|
|
10866
10872
|
}
|
|
10867
|
-
function
|
|
10873
|
+
function gt(e) {
|
|
10868
10874
|
if (e?.length === 0) {
|
|
10869
|
-
|
|
10875
|
+
z.value = [], se.value = null;
|
|
10870
10876
|
return;
|
|
10871
10877
|
}
|
|
10872
|
-
|
|
10878
|
+
z.value = e;
|
|
10873
10879
|
let t = e[0].content?.split(",")[1];
|
|
10874
10880
|
if (!t) {
|
|
10875
|
-
|
|
10881
|
+
se.value = null, p("error", "invalidFileContent");
|
|
10876
10882
|
return;
|
|
10877
10883
|
}
|
|
10878
|
-
|
|
10884
|
+
se.value = ht(t);
|
|
10879
10885
|
}
|
|
10880
|
-
function
|
|
10881
|
-
|
|
10886
|
+
function _t() {
|
|
10887
|
+
N.value.visible = !1, T.value = null, S.value = [], k.value = null, We(), Ge();
|
|
10882
10888
|
}
|
|
10883
|
-
function
|
|
10884
|
-
if (e === "save" &&
|
|
10885
|
-
if (
|
|
10886
|
-
|
|
10889
|
+
function vt(e) {
|
|
10890
|
+
if (e === "save" && se.value) {
|
|
10891
|
+
if (ue.value = null, !mt(se.value)) {
|
|
10892
|
+
ue.value = f.value?.invalidJsonObject, p("error", "invalidJson");
|
|
10887
10893
|
return;
|
|
10888
10894
|
}
|
|
10889
10895
|
try {
|
|
10890
|
-
|
|
10896
|
+
m.value = JSON.parse(se.value), R.value.close(), _t();
|
|
10891
10897
|
} catch {
|
|
10892
|
-
|
|
10898
|
+
ue.value = f.value?.parseJsonError, p("error", "parseJsonError");
|
|
10893
10899
|
}
|
|
10894
10900
|
}
|
|
10895
10901
|
}
|
|
10896
|
-
let
|
|
10897
|
-
function
|
|
10898
|
-
e === "save" &&
|
|
10899
|
-
label:
|
|
10900
|
-
description:
|
|
10902
|
+
let yt = w(null);
|
|
10903
|
+
function bt(e) {
|
|
10904
|
+
e === "save" && se.value && (yt.value = z.value, R.value.close(), Se.value = {
|
|
10905
|
+
label: f.value?.confirmImport,
|
|
10906
|
+
description: f.value?.confirmImportDescription,
|
|
10901
10907
|
kind: "question",
|
|
10902
10908
|
primaryAction: () => {
|
|
10903
|
-
|
|
10909
|
+
z.value = yt.value, gt(yt.value), vt("save"), be.value.close();
|
|
10904
10910
|
},
|
|
10905
10911
|
secondaryAction: () => {
|
|
10906
|
-
|
|
10912
|
+
be.value.close(), R.value.open(), z.value = yt.value, gt(yt.value);
|
|
10907
10913
|
}
|
|
10908
|
-
},
|
|
10914
|
+
}, be.value.open());
|
|
10909
10915
|
}
|
|
10910
|
-
function
|
|
10911
|
-
|
|
10916
|
+
function xt() {
|
|
10917
|
+
pe.value = null, fe.value = JSON.stringify(m.value, null, 2), de.value.open();
|
|
10912
10918
|
}
|
|
10913
|
-
function
|
|
10914
|
-
if (e === "save" &&
|
|
10915
|
-
if (!
|
|
10916
|
-
|
|
10919
|
+
function St(e) {
|
|
10920
|
+
if (e === "save" && fe.value) {
|
|
10921
|
+
if (!mt(fe.value)) {
|
|
10922
|
+
pe.value = f.value?.invalidJsonObject, p("error", "invalidJson");
|
|
10917
10923
|
return;
|
|
10918
10924
|
}
|
|
10919
10925
|
try {
|
|
10920
|
-
|
|
10926
|
+
m.value = JSON.parse(fe.value), de.value.close();
|
|
10921
10927
|
} catch {
|
|
10922
|
-
|
|
10928
|
+
p("error", "parseJsonError");
|
|
10923
10929
|
}
|
|
10924
10930
|
}
|
|
10925
10931
|
}
|
|
10926
|
-
let
|
|
10927
|
-
function
|
|
10928
|
-
|
|
10932
|
+
let Ct = w(null), wt = w(null), Tt = w(null);
|
|
10933
|
+
function Et() {
|
|
10934
|
+
Tt.value = null, wt.value = JSON.stringify(h.value, null, 2), Ct.value.open();
|
|
10929
10935
|
}
|
|
10930
|
-
function
|
|
10931
|
-
if (e === "save" &&
|
|
10932
|
-
if (!
|
|
10933
|
-
|
|
10936
|
+
function Dt(e) {
|
|
10937
|
+
if (e === "save" && wt.value) {
|
|
10938
|
+
if (!mt(wt.value)) {
|
|
10939
|
+
Tt.value = f.value?.invalidJsonObject, p("error", "invalidJson");
|
|
10934
10940
|
return;
|
|
10935
10941
|
}
|
|
10936
10942
|
try {
|
|
10937
|
-
|
|
10943
|
+
h.value = JSON.parse(wt.value), Ct.value.close();
|
|
10938
10944
|
} catch {
|
|
10939
|
-
|
|
10945
|
+
p("error", "parseJsonError");
|
|
10940
10946
|
}
|
|
10941
10947
|
}
|
|
10942
10948
|
}
|
|
10943
|
-
function
|
|
10949
|
+
function Ot(e) {
|
|
10944
10950
|
if (e === "form" || e === "list") {
|
|
10945
|
-
let t = Y.objectClone(
|
|
10951
|
+
let t = Y.objectClone(m.value);
|
|
10946
10952
|
t?.properties && Object.entries(t.properties).forEach(([n, r]) => {
|
|
10947
10953
|
let i = r?.lx?.displayType;
|
|
10948
10954
|
i === "filters" && e === "form" && (t.properties[n].lx.displayType = "form"), i === "form" && e === "list" && (t.properties[n].lx.displayType = "filters");
|
|
10949
|
-
}),
|
|
10955
|
+
}), m.value = t;
|
|
10950
10956
|
}
|
|
10951
10957
|
}
|
|
10952
|
-
function
|
|
10958
|
+
function kt() {
|
|
10953
10959
|
globalThis.open("https://github.com/dativa-lv/lx-builders/issues", "_blank", "noopener");
|
|
10954
10960
|
}
|
|
10955
|
-
ee(() => [
|
|
10956
|
-
|
|
10961
|
+
ee(() => [g.value, b.value], () => {
|
|
10962
|
+
Oe();
|
|
10957
10963
|
});
|
|
10958
|
-
function
|
|
10959
|
-
|
|
10960
|
-
label:
|
|
10964
|
+
function At() {
|
|
10965
|
+
Se.value = {
|
|
10966
|
+
label: f.value?.confirmDelete,
|
|
10961
10967
|
description: null,
|
|
10962
10968
|
kind: "warning",
|
|
10963
10969
|
primaryAction: () => {
|
|
10964
|
-
|
|
10970
|
+
ot(), be.value.close();
|
|
10965
10971
|
},
|
|
10966
10972
|
secondaryAction: null
|
|
10967
|
-
},
|
|
10973
|
+
}, be.value.open();
|
|
10968
10974
|
}
|
|
10969
|
-
function
|
|
10975
|
+
function jt(e, t, n) {
|
|
10970
10976
|
if (t === n || !Object.prototype.hasOwnProperty.call(e, t)) return e;
|
|
10971
10977
|
let r = {};
|
|
10972
10978
|
return Object.entries(e).forEach(([e, i]) => {
|
|
10973
10979
|
e === t ? r[n] = i : r[e] = i;
|
|
10974
10980
|
}), r;
|
|
10975
10981
|
}
|
|
10976
|
-
function
|
|
10982
|
+
function Mt(e) {
|
|
10977
10983
|
try {
|
|
10978
10984
|
if (!e) {
|
|
10979
|
-
|
|
10985
|
+
B.value = f.value?.schemaKeyEmptyError;
|
|
10980
10986
|
return;
|
|
10981
10987
|
}
|
|
10982
|
-
if (!
|
|
10983
|
-
|
|
10988
|
+
if (!ae.value) {
|
|
10989
|
+
B.value = f.value?.schemaKeyParentError;
|
|
10984
10990
|
return;
|
|
10985
10991
|
}
|
|
10986
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
10987
|
-
|
|
10992
|
+
if (Object.prototype.hasOwnProperty.call(ae.value, e) && e !== L.value) {
|
|
10993
|
+
B.value = f.value?.schemaKeyDuplicateError?.replace("{0}", e);
|
|
10988
10994
|
return;
|
|
10989
10995
|
}
|
|
10990
|
-
|
|
10991
|
-
let t =
|
|
10992
|
-
|
|
10996
|
+
B.value = null;
|
|
10997
|
+
let t = jt(ae.value, L.value, e), n = P.value?.includes(".") ? P.value?.split(".")?.join(".") : null;
|
|
10998
|
+
Le(m.value, U(n)?.slice(0, -1), t);
|
|
10993
10999
|
} catch {
|
|
10994
|
-
|
|
11000
|
+
B.value = f.value?.schemaKeyUpdateError;
|
|
10995
11001
|
}
|
|
10996
11002
|
}
|
|
11003
|
+
function Nt() {
|
|
11004
|
+
document.addEventListener("click", (e) => {
|
|
11005
|
+
let t = e.composedPath(), n = (e) => t.some((t) => t instanceof Element && t.matches?.(e));
|
|
11006
|
+
!n("#constructor") && !n(".lx-panel") && !n(".lx-modal") && !n(".highlight") && _t();
|
|
11007
|
+
});
|
|
11008
|
+
}
|
|
10997
11009
|
x(() => {
|
|
10998
|
-
|
|
10999
|
-
|
|
11010
|
+
document.getElementById("constructor")?.addEventListener("click", (e) => {
|
|
11011
|
+
q(e);
|
|
11012
|
+
}), Nt(), document?.addEventListener("keydown", (e) => {
|
|
11013
|
+
Ie(e.target) && (e.key === "ArrowUp" || e.key === "ArrowDown") && e.preventDefault();
|
|
11000
11014
|
}), document?.addEventListener("keyup", (e) => {
|
|
11001
|
-
|
|
11015
|
+
Ie(e.target) && (e.preventDefault(), e.key === "ArrowUp" || e.key === "ArrowLeft" ? J() && ct("up") : (e.key === "ArrowDown" || e.key === "ArrowRight") && J() && ct("down"));
|
|
11002
11016
|
});
|
|
11003
11017
|
});
|
|
11004
|
-
let
|
|
11005
|
-
let e = Object.values(
|
|
11018
|
+
let Pt = r(() => {
|
|
11019
|
+
let e = Object.values(m.value?.properties || {}).some((e) => e.type === "object" && e.lx?.displayType === "form"), t = Object.values(m.value?.properties || {}).some((e) => e.type === "object" && e.lx?.displayType === "filters");
|
|
11006
11020
|
return {
|
|
11007
11021
|
hasForm: e,
|
|
11008
11022
|
hasFilters: t,
|
|
11009
|
-
isSectionInFilterForm: t && Object.values(
|
|
11023
|
+
isSectionInFilterForm: t && Object.values(m.value?.properties || {}).some((e) => e.type === "object" && e.lx?.displayType === "filters" && Object.values(e.properties || {}).some((e) => e.type === "object" && e.lx?.displayType === "section"))
|
|
11010
11024
|
};
|
|
11011
|
-
}),
|
|
11012
|
-
if (!
|
|
11013
|
-
let e =
|
|
11014
|
-
return e.length ?
|
|
11025
|
+
}), Ft = r(() => {
|
|
11026
|
+
if (!P.value) return null;
|
|
11027
|
+
let e = P.value.split(".").filter(Boolean);
|
|
11028
|
+
return e.length ? H(h.value, e) : h.value;
|
|
11015
11029
|
});
|
|
11016
|
-
function
|
|
11017
|
-
if (!
|
|
11018
|
-
let t =
|
|
11030
|
+
function It(e) {
|
|
11031
|
+
if (!P.value) return;
|
|
11032
|
+
let t = P.value.split(".").filter(Boolean), n = Y.objectClone(h.value || {});
|
|
11019
11033
|
if (!t.length) {
|
|
11020
|
-
|
|
11034
|
+
h.value = e;
|
|
11021
11035
|
return;
|
|
11022
11036
|
}
|
|
11023
|
-
|
|
11037
|
+
Le(n, t, e), h.value = n;
|
|
11024
11038
|
}
|
|
11025
|
-
|
|
11026
|
-
|
|
11039
|
+
let Lt = r(() => !m.value || Object.keys(m.value?.properties || {}).length === 0);
|
|
11040
|
+
return t({ selectElement: q }), (t, r) => (C(), o("div", Pr, [
|
|
11041
|
+
s("div", Fr, [ne(s("div", {
|
|
11027
11042
|
class: "highlight",
|
|
11028
|
-
style: y(
|
|
11029
|
-
}, [s("div",
|
|
11030
|
-
|
|
11043
|
+
style: y(N.value.style)
|
|
11044
|
+
}, [s("div", {
|
|
11045
|
+
class: "highlight-toolbar",
|
|
11046
|
+
ref_key: "highlightToolbar",
|
|
11047
|
+
ref: we
|
|
11048
|
+
}, [
|
|
11049
|
+
V.value.canMoveForwardIn && J() ? (C(), i(A(I), {
|
|
11031
11050
|
key: 0,
|
|
11032
11051
|
icon: "move-inside",
|
|
11033
11052
|
variant: "icon-only",
|
|
11034
|
-
label:
|
|
11053
|
+
label: f.value.moveInside,
|
|
11035
11054
|
kind: "ghost",
|
|
11036
|
-
onClick: r[0] ||= (e) =>
|
|
11055
|
+
onClick: r[0] ||= (e) => Ye()
|
|
11037
11056
|
}, null, 8, ["label"])) : a("", !0),
|
|
11038
|
-
|
|
11057
|
+
V.value.moveOut && J() ? (C(), i(A(I), {
|
|
11039
11058
|
key: 1,
|
|
11040
11059
|
icon: "move-outside",
|
|
11041
11060
|
variant: "icon-only",
|
|
11042
|
-
label:
|
|
11061
|
+
label: f.value.moveOutside,
|
|
11043
11062
|
kind: "ghost",
|
|
11044
|
-
onClick: r[1] ||= (e) =>
|
|
11063
|
+
onClick: r[1] ||= (e) => $e("previous")
|
|
11045
11064
|
}, null, 8, ["label"])) : a("", !0),
|
|
11046
|
-
|
|
11065
|
+
J() ? (C(), i(A(G), {
|
|
11047
11066
|
key: 2,
|
|
11048
11067
|
orientation: "horizontal",
|
|
11049
11068
|
kind: "compact"
|
|
11050
11069
|
}, {
|
|
11051
|
-
default:
|
|
11070
|
+
default: M(() => [V.value.canMoveBack ? (C(), i(A(I), {
|
|
11052
11071
|
key: 0,
|
|
11053
11072
|
icon: "back",
|
|
11054
11073
|
variant: "icon-only",
|
|
11055
|
-
label:
|
|
11074
|
+
label: f.value.back,
|
|
11056
11075
|
kind: "ghost",
|
|
11057
|
-
onClick: r[2] ||= (e) =>
|
|
11058
|
-
}, null, 8, ["label"])) : a("", !0),
|
|
11076
|
+
onClick: r[2] ||= (e) => ct("up")
|
|
11077
|
+
}, null, 8, ["label"])) : a("", !0), V.value.canMoveForward ? (C(), i(A(I), {
|
|
11059
11078
|
key: 1,
|
|
11060
11079
|
icon: "next",
|
|
11061
11080
|
variant: "icon-only",
|
|
11062
|
-
label:
|
|
11081
|
+
label: f.value.next,
|
|
11063
11082
|
kind: "ghost",
|
|
11064
|
-
onClick: r[3] ||= (e) =>
|
|
11083
|
+
onClick: r[3] ||= (e) => ct("down")
|
|
11065
11084
|
}, null, 8, ["label"])) : a("", !0)]),
|
|
11066
11085
|
_: 1
|
|
11067
11086
|
})) : a("", !0),
|
|
11068
|
-
s("span", null, O(
|
|
11069
|
-
|
|
11087
|
+
s("span", null, O(T.value), 1),
|
|
11088
|
+
T.value !== "LxViewLayout" && Ee.value ? (C(), i(A(I), {
|
|
11089
|
+
key: 3,
|
|
11090
|
+
icon: "delete",
|
|
11091
|
+
variant: "icon-only",
|
|
11092
|
+
label: f.value.delete,
|
|
11093
|
+
kind: "ghost",
|
|
11094
|
+
destructive: !0,
|
|
11095
|
+
onClick: At
|
|
11096
|
+
}, null, 8, ["label"])) : a("", !0)
|
|
11097
|
+
], 512), s("div", Ir, [T.value !== "LxViewLayout" && !Ee.value ? (C(), i(A(I), {
|
|
11070
11098
|
key: 0,
|
|
11071
11099
|
icon: "delete",
|
|
11072
11100
|
variant: "icon-only",
|
|
11073
|
-
label:
|
|
11101
|
+
label: f.value.delete,
|
|
11074
11102
|
kind: "ghost",
|
|
11075
11103
|
destructive: !0,
|
|
11076
|
-
onClick:
|
|
11077
|
-
}, null, 8, ["label"]))])], 4), [[j,
|
|
11104
|
+
onClick: At
|
|
11105
|
+
}, null, 8, ["label"])) : a("", !0)])], 4), [[j, N.value.visible]])]),
|
|
11078
11106
|
(C(), i(n, {
|
|
11079
11107
|
to: e.panelTeleportTarget,
|
|
11080
11108
|
disabled: !e.panelTeleportTarget,
|
|
11081
11109
|
defer: ""
|
|
11082
11110
|
}, [u(Nr, {
|
|
11083
|
-
componentName:
|
|
11084
|
-
componentProps:
|
|
11085
|
-
componentPropsDefinitions:
|
|
11086
|
-
navigation:
|
|
11087
|
-
componentModel:
|
|
11088
|
-
selectedModel:
|
|
11089
|
-
schemaKey:
|
|
11090
|
-
schemaKeyError:
|
|
11091
|
-
schemaInfo:
|
|
11092
|
-
selectedTab:
|
|
11093
|
-
"onUpdate:selectedTab": r[4] ||= (e) =>
|
|
11094
|
-
texts:
|
|
11095
|
-
"onUpdate:componentModel":
|
|
11096
|
-
onComponentAdd:
|
|
11097
|
-
onComponentChange:
|
|
11098
|
-
onRemoveComponent:
|
|
11099
|
-
onDuplicateComponent:
|
|
11100
|
-
onExport:
|
|
11101
|
-
onImport:
|
|
11102
|
-
onEditSchema:
|
|
11103
|
-
onEditModel:
|
|
11104
|
-
onReportIssue:
|
|
11105
|
-
"onUpdate:viewLayout":
|
|
11106
|
-
"onUpdate:schemaKey":
|
|
11107
|
-
"onUpdate:selectedModel":
|
|
11108
|
-
onError: r[5] ||= (e) =>
|
|
11111
|
+
componentName: T.value,
|
|
11112
|
+
componentProps: E.value,
|
|
11113
|
+
componentPropsDefinitions: D.value,
|
|
11114
|
+
navigation: S.value,
|
|
11115
|
+
componentModel: k.value,
|
|
11116
|
+
selectedModel: Ft.value,
|
|
11117
|
+
schemaKey: L.value,
|
|
11118
|
+
schemaKeyError: B.value,
|
|
11119
|
+
schemaInfo: Pt.value,
|
|
11120
|
+
selectedTab: ye.value,
|
|
11121
|
+
"onUpdate:selectedTab": r[4] ||= (e) => ye.value = e,
|
|
11122
|
+
texts: f.value,
|
|
11123
|
+
"onUpdate:componentModel": He,
|
|
11124
|
+
onComponentAdd: it,
|
|
11125
|
+
onComponentChange: rt,
|
|
11126
|
+
onRemoveComponent: ot,
|
|
11127
|
+
onDuplicateComponent: st,
|
|
11128
|
+
onExport: lt,
|
|
11129
|
+
onImport: pt,
|
|
11130
|
+
onEditSchema: xt,
|
|
11131
|
+
onEditModel: Et,
|
|
11132
|
+
onReportIssue: kt,
|
|
11133
|
+
"onUpdate:viewLayout": Ot,
|
|
11134
|
+
"onUpdate:schemaKey": Mt,
|
|
11135
|
+
"onUpdate:selectedModel": It,
|
|
11136
|
+
onError: r[5] ||= (e) => p("error", e)
|
|
11109
11137
|
}, null, 8, [
|
|
11110
11138
|
"componentName",
|
|
11111
11139
|
"componentProps",
|
|
@@ -11119,116 +11147,119 @@ var cr = [
|
|
|
11119
11147
|
"selectedTab",
|
|
11120
11148
|
"texts"
|
|
11121
11149
|
])], 8, ["to", "disabled"])),
|
|
11122
|
-
s("div",
|
|
11150
|
+
s("div", {
|
|
11151
|
+
id: "constructor",
|
|
11152
|
+
class: v([{ "empty-schema": Lt.value }])
|
|
11153
|
+
}, [u(Fn, {
|
|
11123
11154
|
schema: e.schema,
|
|
11124
|
-
modelValue:
|
|
11125
|
-
"onUpdate:modelValue": r[6] ||= (e) =>
|
|
11155
|
+
modelValue: h.value,
|
|
11156
|
+
"onUpdate:modelValue": r[6] ||= (e) => h.value = e,
|
|
11126
11157
|
builderOptions: { useRegistry: !0 }
|
|
11127
|
-
}, null, 8, ["schema", "modelValue"])]),
|
|
11128
|
-
u(A(
|
|
11158
|
+
}, null, 8, ["schema", "modelValue"])], 2),
|
|
11159
|
+
u(A(Te), {
|
|
11129
11160
|
ref_key: "exportModal",
|
|
11130
|
-
ref:
|
|
11131
|
-
label:
|
|
11161
|
+
ref: oe,
|
|
11162
|
+
label: f.value?.exportModal,
|
|
11132
11163
|
size: "m",
|
|
11133
11164
|
actionDefinitions: [{
|
|
11134
11165
|
id: "close",
|
|
11135
|
-
name:
|
|
11166
|
+
name: f.value?.close,
|
|
11136
11167
|
kind: "secondary"
|
|
11137
11168
|
}]
|
|
11138
11169
|
}, {
|
|
11139
|
-
default:
|
|
11170
|
+
default: M(() => [u(A(Fe), {
|
|
11140
11171
|
actionDefinitions: [{
|
|
11141
11172
|
id: "download",
|
|
11142
|
-
name:
|
|
11173
|
+
name: f.value?.download,
|
|
11143
11174
|
icon: "download",
|
|
11144
11175
|
kind: "primary",
|
|
11145
11176
|
area: "left"
|
|
11146
11177
|
}, {
|
|
11147
11178
|
id: "copy",
|
|
11148
|
-
name:
|
|
11179
|
+
name: f.value?.copy,
|
|
11149
11180
|
icon: "copy"
|
|
11150
11181
|
}],
|
|
11151
|
-
onActionClick:
|
|
11152
|
-
}, null, 8, ["actionDefinitions"]), s("div",
|
|
11182
|
+
onActionClick: ft
|
|
11183
|
+
}, null, 8, ["actionDefinitions"]), s("div", Lr, [s("pre", Rr, O(JSON.stringify(m.value, null, 2)), 1)])]),
|
|
11153
11184
|
_: 1
|
|
11154
11185
|
}, 8, ["label", "actionDefinitions"]),
|
|
11155
|
-
u(A(
|
|
11186
|
+
u(A(Te), {
|
|
11156
11187
|
ref_key: "importModal",
|
|
11157
|
-
ref:
|
|
11158
|
-
label:
|
|
11188
|
+
ref: R,
|
|
11189
|
+
label: f.value?.importModal,
|
|
11159
11190
|
size: "m",
|
|
11160
11191
|
actionDefinitions: [{
|
|
11161
11192
|
id: "save",
|
|
11162
|
-
name:
|
|
11193
|
+
name: f.value?.save,
|
|
11163
11194
|
kind: "primary",
|
|
11164
|
-
disabled:
|
|
11195
|
+
disabled: he.value
|
|
11165
11196
|
}, {
|
|
11166
11197
|
id: "close",
|
|
11167
|
-
name:
|
|
11198
|
+
name: f.value?.close,
|
|
11168
11199
|
kind: "secondary"
|
|
11169
11200
|
}],
|
|
11170
|
-
onActionClick:
|
|
11201
|
+
onActionClick: bt,
|
|
11171
11202
|
onClose: r[9] ||= () => {
|
|
11172
|
-
|
|
11203
|
+
z.value = null, se.value = null;
|
|
11173
11204
|
}
|
|
11174
11205
|
}, {
|
|
11175
|
-
default:
|
|
11176
|
-
s("div",
|
|
11177
|
-
modelValue:
|
|
11178
|
-
"onUpdate:modelValue": r[7] ||= (e) =>
|
|
11206
|
+
default: M(() => [
|
|
11207
|
+
s("div", zr, [u(A(ie), {
|
|
11208
|
+
modelValue: le.value,
|
|
11209
|
+
"onUpdate:modelValue": r[7] ||= (e) => le.value = e,
|
|
11179
11210
|
items: [{
|
|
11180
11211
|
id: "file",
|
|
11181
|
-
name:
|
|
11212
|
+
name: f.value?.importFile
|
|
11182
11213
|
}, {
|
|
11183
11214
|
id: "text",
|
|
11184
|
-
name:
|
|
11215
|
+
name: f.value?.importText
|
|
11185
11216
|
}]
|
|
11186
11217
|
}, null, 8, ["modelValue", "items"])]),
|
|
11187
|
-
|
|
11188
|
-
modelValue:
|
|
11218
|
+
ne(s("div", null, [u(A(me), {
|
|
11219
|
+
modelValue: z.value,
|
|
11189
11220
|
draggable: !0,
|
|
11190
11221
|
allowedFileExtensions: [".json"],
|
|
11191
11222
|
dataType: "content",
|
|
11192
|
-
texts:
|
|
11193
|
-
"onUpdate:modelValue":
|
|
11194
|
-
}, null, 8, ["modelValue", "texts"])], 512), [[j,
|
|
11195
|
-
|
|
11196
|
-
modelValue:
|
|
11197
|
-
"onUpdate:modelValue": r[8] ||= (e) =>
|
|
11223
|
+
texts: f.value?.fileUploader,
|
|
11224
|
+
"onUpdate:modelValue": gt
|
|
11225
|
+
}, null, 8, ["modelValue", "texts"])], 512), [[j, le.value === "file"]]),
|
|
11226
|
+
ne(u(A(Pe), {
|
|
11227
|
+
modelValue: se.value,
|
|
11228
|
+
"onUpdate:modelValue": r[8] ||= (e) => se.value = e,
|
|
11198
11229
|
rows: 20,
|
|
11199
|
-
invalid: !!
|
|
11200
|
-
invalidationMessage:
|
|
11230
|
+
invalid: !!ue.value,
|
|
11231
|
+
invalidationMessage: ue.value
|
|
11201
11232
|
}, null, 8, [
|
|
11202
11233
|
"modelValue",
|
|
11203
11234
|
"invalid",
|
|
11204
11235
|
"invalidationMessage"
|
|
11205
|
-
]), [[j,
|
|
11236
|
+
]), [[j, le.value === "text"]])
|
|
11206
11237
|
]),
|
|
11207
11238
|
_: 1
|
|
11208
11239
|
}, 8, ["label", "actionDefinitions"]),
|
|
11209
|
-
u(A(
|
|
11240
|
+
u(A(Te), {
|
|
11210
11241
|
ref_key: "editSchemaModal",
|
|
11211
|
-
ref:
|
|
11212
|
-
label:
|
|
11242
|
+
ref: de,
|
|
11243
|
+
label: f.value?.editSchemaModal,
|
|
11213
11244
|
size: "l",
|
|
11214
11245
|
actionDefinitions: [{
|
|
11215
11246
|
id: "save",
|
|
11216
|
-
name:
|
|
11247
|
+
name: f.value?.save,
|
|
11217
11248
|
kind: "primary",
|
|
11218
|
-
disabled: !
|
|
11249
|
+
disabled: !fe.value
|
|
11219
11250
|
}, {
|
|
11220
11251
|
id: "close",
|
|
11221
|
-
name:
|
|
11252
|
+
name: f.value?.close,
|
|
11222
11253
|
kind: "secondary"
|
|
11223
11254
|
}],
|
|
11224
|
-
onActionClick:
|
|
11255
|
+
onActionClick: St
|
|
11225
11256
|
}, {
|
|
11226
|
-
default:
|
|
11227
|
-
modelValue:
|
|
11228
|
-
"onUpdate:modelValue": r[10] ||= (e) =>
|
|
11257
|
+
default: M(() => [u(A(Pe), {
|
|
11258
|
+
modelValue: fe.value,
|
|
11259
|
+
"onUpdate:modelValue": r[10] ||= (e) => fe.value = e,
|
|
11229
11260
|
rows: 50,
|
|
11230
|
-
invalid: !!
|
|
11231
|
-
invalidationMessage:
|
|
11261
|
+
invalid: !!pe.value,
|
|
11262
|
+
invalidationMessage: pe.value
|
|
11232
11263
|
}, null, 8, [
|
|
11233
11264
|
"modelValue",
|
|
11234
11265
|
"invalid",
|
|
@@ -11236,35 +11267,35 @@ var cr = [
|
|
|
11236
11267
|
])]),
|
|
11237
11268
|
_: 1
|
|
11238
11269
|
}, 8, ["label", "actionDefinitions"]),
|
|
11239
|
-
u(A(
|
|
11270
|
+
u(A(Te), {
|
|
11240
11271
|
ref_key: "componentAddModal",
|
|
11241
|
-
ref:
|
|
11242
|
-
label:
|
|
11243
|
-
description:
|
|
11272
|
+
ref: ge,
|
|
11273
|
+
label: f.value?.componentAddModal,
|
|
11274
|
+
description: f.value?.componentAddModalDescription
|
|
11244
11275
|
}, {
|
|
11245
|
-
default:
|
|
11276
|
+
default: M(() => [s("p", Br, O(f.value?.componentAddChoice), 1), u(A(xe), {
|
|
11246
11277
|
items: [{
|
|
11247
11278
|
id: "next",
|
|
11248
|
-
name:
|
|
11249
|
-
description:
|
|
11279
|
+
name: f.value?.componentAddNext,
|
|
11280
|
+
description: f.value?.componentAddNextDescription,
|
|
11250
11281
|
displayIcon: "move-outside"
|
|
11251
11282
|
}, {
|
|
11252
11283
|
id: "inside",
|
|
11253
|
-
name:
|
|
11254
|
-
description:
|
|
11284
|
+
name: f.value?.componentAddInside,
|
|
11285
|
+
description: f.value?.componentAddInsideDescription,
|
|
11255
11286
|
displayIcon: "move-inside"
|
|
11256
11287
|
}],
|
|
11257
11288
|
listType: "1",
|
|
11258
11289
|
clickableAttribute: "id",
|
|
11259
11290
|
icon: "next",
|
|
11260
|
-
onActionClick:
|
|
11291
|
+
onActionClick: at
|
|
11261
11292
|
}, {
|
|
11262
|
-
customItem:
|
|
11293
|
+
customItem: M((e) => [u(A(G), {
|
|
11263
11294
|
orientation: "horizontal",
|
|
11264
11295
|
verticalAlignment: "center"
|
|
11265
11296
|
}, {
|
|
11266
|
-
default:
|
|
11267
|
-
default:
|
|
11297
|
+
default: M(() => [u(A(ve), { value: e.displayIcon }, null, 8, ["value"]), u(A(G), { kind: "compact" }, {
|
|
11298
|
+
default: M(() => [s("p", Vr, O(e.name), 1), s("p", Hr, O(e.description), 1)]),
|
|
11268
11299
|
_: 2
|
|
11269
11300
|
}, 1024)]),
|
|
11270
11301
|
_: 2
|
|
@@ -11273,29 +11304,29 @@ var cr = [
|
|
|
11273
11304
|
}, 8, ["items"])]),
|
|
11274
11305
|
_: 1
|
|
11275
11306
|
}, 8, ["label", "description"]),
|
|
11276
|
-
u(A(
|
|
11307
|
+
u(A(Te), {
|
|
11277
11308
|
ref_key: "editModelModal",
|
|
11278
|
-
ref:
|
|
11279
|
-
label:
|
|
11309
|
+
ref: Ct,
|
|
11310
|
+
label: f.value?.editModelModal,
|
|
11280
11311
|
size: "l",
|
|
11281
11312
|
actionDefinitions: [{
|
|
11282
11313
|
id: "save",
|
|
11283
|
-
name:
|
|
11314
|
+
name: f.value?.save,
|
|
11284
11315
|
kind: "primary",
|
|
11285
|
-
disabled: !
|
|
11316
|
+
disabled: !wt.value
|
|
11286
11317
|
}, {
|
|
11287
11318
|
id: "close",
|
|
11288
|
-
name:
|
|
11319
|
+
name: f.value?.close,
|
|
11289
11320
|
kind: "secondary"
|
|
11290
11321
|
}],
|
|
11291
|
-
onActionClick:
|
|
11322
|
+
onActionClick: Dt
|
|
11292
11323
|
}, {
|
|
11293
|
-
default:
|
|
11294
|
-
modelValue:
|
|
11295
|
-
"onUpdate:modelValue": r[11] ||= (e) =>
|
|
11324
|
+
default: M(() => [u(A(Pe), {
|
|
11325
|
+
modelValue: wt.value,
|
|
11326
|
+
"onUpdate:modelValue": r[11] ||= (e) => wt.value = e,
|
|
11296
11327
|
rows: 20,
|
|
11297
|
-
invalid: !!
|
|
11298
|
-
invalidationMessage:
|
|
11328
|
+
invalid: !!Tt.value,
|
|
11329
|
+
invalidationMessage: Tt.value
|
|
11299
11330
|
}, null, 8, [
|
|
11300
11331
|
"modelValue",
|
|
11301
11332
|
"invalid",
|
|
@@ -11305,22 +11336,22 @@ var cr = [
|
|
|
11305
11336
|
}, 8, ["label", "actionDefinitions"]),
|
|
11306
11337
|
u(A(ce), {
|
|
11307
11338
|
ref_key: "confirmDialog",
|
|
11308
|
-
ref:
|
|
11309
|
-
label:
|
|
11310
|
-
description:
|
|
11311
|
-
kind:
|
|
11339
|
+
ref: be,
|
|
11340
|
+
label: Se.value?.label,
|
|
11341
|
+
description: Se.value?.description,
|
|
11342
|
+
kind: Se.value?.kind,
|
|
11312
11343
|
actionDefinitions: [{
|
|
11313
11344
|
id: "save",
|
|
11314
|
-
name:
|
|
11345
|
+
name: f.value?.yes,
|
|
11315
11346
|
kind: "primary"
|
|
11316
11347
|
}, {
|
|
11317
11348
|
id: "cancel",
|
|
11318
|
-
name:
|
|
11349
|
+
name: f.value?.no,
|
|
11319
11350
|
kind: "secondary"
|
|
11320
11351
|
}],
|
|
11321
|
-
buttonSecondaryIsCancel: !
|
|
11352
|
+
buttonSecondaryIsCancel: !Se.value?.secondaryAction,
|
|
11322
11353
|
onActionClick: r[12] ||= (e) => {
|
|
11323
|
-
e === "save" &&
|
|
11354
|
+
e === "save" && Se.value?.primaryAction ? Se.value.primaryAction() : e === "cancel" && Se.value?.secondaryAction && Se.value.secondaryAction();
|
|
11324
11355
|
}
|
|
11325
11356
|
}, null, 8, [
|
|
11326
11357
|
"label",
|
|
@@ -11331,14 +11362,14 @@ var cr = [
|
|
|
11331
11362
|
])
|
|
11332
11363
|
]));
|
|
11333
11364
|
}
|
|
11334
|
-
}),
|
|
11365
|
+
}), Wr = { async install(e, t = {}) {
|
|
11335
11366
|
let { lxOptions: n, ...r } = t || {};
|
|
11336
11367
|
if (Ze(r), n) {
|
|
11337
11368
|
let { createLx: t } = await import("@dativa-lv/lx-ui");
|
|
11338
11369
|
e.use(t, n);
|
|
11339
11370
|
}
|
|
11340
|
-
} },
|
|
11341
|
-
t.use(
|
|
11371
|
+
} }, Gr = (e) => ({ async install(t) {
|
|
11372
|
+
t.use(Wr, e);
|
|
11342
11373
|
} });
|
|
11343
11374
|
//#endregion
|
|
11344
|
-
export {
|
|
11375
|
+
export { Ur as LxConstructor, Pn as LxFilterBuilder, Nn as LxFormBuilder, Fn as LxViewBuilder, Gr as createLxBuilders, Qe as getGlobalProperties, Wr as lxBuildersPlugin, Ze as setGlobalProperties };
|