@dativa-lv/lx-builders 2.3.4 → 2.3.5
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 +733 -706
- package/dist/dativa-lx-builders.umd.js +1 -1
- package/package.json +3 -3
|
@@ -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
|
|
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 M, withCtx as N, withDirectives as te, withKeys as P } from "vue";
|
|
3
|
+
import { LxAppendableList as ne, LxAutoComplete as F, LxButton as I, LxCamera as L, LxCheckbox as R, LxContentSwitcher as re, LxDataBlock as ie, LxDataGrid as ae, LxDataVisualizer as z, LxDateTimePicker as oe, 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 ve, LxIcon as ye, LxIllustration as be, LxLink as B, LxList as xe, LxListItem as Se, LxLogoDisplay as Ce, LxMap as we, LxMarkdownTextArea as Te, LxModal as Ee, LxNumberInput as V, LxPersonDisplay as H, LxPlaceholder as U, LxQr as De, LxQrScanner as Oe, LxRating as ke, 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 = {};
|
|
@@ -312,7 +312,7 @@ function Ct(e) {
|
|
|
312
312
|
$silentErrors: ft(n, b, "$silentErrors")
|
|
313
313
|
};
|
|
314
314
|
});
|
|
315
|
-
let { $dirty: S, $errors: C, $invalid: w, $anyDirty: T, $error: E, $pending: D, $touch: O, $reset: k, $silentErrors: A, $commit: j } = St(y, b, a),
|
|
315
|
+
let { $dirty: S, $errors: C, $invalid: w, $anyDirty: T, $error: E, $pending: D, $touch: O, $reset: k, $silentErrors: A, $commit: j } = St(y, b, a), ee = r ? (0, Z.computed)({
|
|
316
316
|
get: () => (0, Z.unref)(g),
|
|
317
317
|
set: (e) => {
|
|
318
318
|
S.value = !0;
|
|
@@ -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 M() {
|
|
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,16 +333,16 @@ function Ct(e) {
|
|
|
333
333
|
});
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function N(e) {
|
|
337
337
|
return (a.value || {})[e];
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function te() {
|
|
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, _);
|
|
343
343
|
}
|
|
344
344
|
return (0, Z.reactive)(at(at(at({}, y), {}, {
|
|
345
|
-
$model:
|
|
345
|
+
$model: ee,
|
|
346
346
|
$dirty: S,
|
|
347
347
|
$error: E,
|
|
348
348
|
$errors: C,
|
|
@@ -353,11 +353,11 @@ function Ct(e) {
|
|
|
353
353
|
$reset: k,
|
|
354
354
|
$path: u || yt,
|
|
355
355
|
$silentErrors: A,
|
|
356
|
-
$validate:
|
|
356
|
+
$validate: M,
|
|
357
357
|
$commit: j
|
|
358
358
|
}, a && {
|
|
359
|
-
$getResultsForChild:
|
|
360
|
-
$clearExternalResults:
|
|
359
|
+
$getResultsForChild: N,
|
|
360
|
+
$clearExternalResults: te,
|
|
361
361
|
$validationGroups: x
|
|
362
362
|
}), b));
|
|
363
363
|
}
|
|
@@ -1047,12 +1047,12 @@ var $ = {
|
|
|
1047
1047
|
columnCount: e.columnCount,
|
|
1048
1048
|
"required-mode": c.requiredMode
|
|
1049
1049
|
}, {
|
|
1050
|
-
default:
|
|
1050
|
+
default: N(() => [E(n.$slots, "customItem", g({ ref_for: !0 }, {
|
|
1051
1051
|
item: t,
|
|
1052
1052
|
index: r
|
|
1053
1053
|
}))]),
|
|
1054
1054
|
_: 2
|
|
1055
|
-
}, 1032, ["columnCount", "required-mode"]), s("div", sn, [s("div", cn, [e.readOnly ? a("", !0) : (C(), i(A(
|
|
1055
|
+
}, 1032, ["columnCount", "required-mode"]), s("div", sn, [s("div", cn, [e.readOnly ? a("", !0) : (C(), i(A(I), {
|
|
1056
1056
|
key: 0,
|
|
1057
1057
|
icon: "remove-item",
|
|
1058
1058
|
variant: "icon-only",
|
|
@@ -1060,7 +1060,7 @@ var $ = {
|
|
|
1060
1060
|
destructive: !0,
|
|
1061
1061
|
kind: "ghost",
|
|
1062
1062
|
onClick: (e) => m(r)
|
|
1063
|
-
}, null, 8, ["label", "onClick"]))])])]))), 128)), s("div", null, [!e.readOnly && e.canAddItems ? (C(), i(A(
|
|
1063
|
+
}, null, 8, ["label", "onClick"]))])])]))), 128)), s("div", null, [!e.readOnly && e.canAddItems ? (C(), i(A(I), {
|
|
1064
1064
|
key: 0,
|
|
1065
1065
|
kind: "tertiary",
|
|
1066
1066
|
label: p.value.addButtonLabel,
|
|
@@ -1185,7 +1185,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1185
1185
|
function j(e, t, n = void 0, r = void 0) {
|
|
1186
1186
|
d("emit", e, l.parentName ? `${l.parentName}.${t}` : t, n, r);
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function ee(e) {
|
|
1189
1189
|
let t = [];
|
|
1190
1190
|
return e?.enum?.forEach((e) => {
|
|
1191
1191
|
let n = {
|
|
@@ -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 M(e) {
|
|
1199
1199
|
delete f.value[e];
|
|
1200
1200
|
}
|
|
1201
|
-
function
|
|
1201
|
+
function te(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] || te(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] ||= P((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] ||= P((e) => d("filterBuilderFilter"), ["enter"])
|
|
1358
1358
|
}, null, 8, [
|
|
1359
1359
|
"id",
|
|
1360
1360
|
"maxlength",
|
|
@@ -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] ||= P((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: N(() => [e.row?.lx?.labelOn ? (C(), o("span", dn, O(e.row?.lx?.labelOn), 1)) : (C(), o("span", fn, "Jā"))]),
|
|
1481
|
+
off: N(() => [e.row?.lx?.labelOff ? (C(), o("span", pn, O(e.row?.lx?.labelOff), 1)) : (C(), o("span", mn, "Nē"))]),
|
|
1482
|
+
indeterminate: N(() => [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",
|
|
@@ -1498,7 +1498,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1498
1498
|
key: 5,
|
|
1499
1499
|
id: `${e.id}-${e.name}`,
|
|
1500
1500
|
selectionKind: e.displaySchema?.properties[e.name]?.type === "array" ? "multiple" : "single",
|
|
1501
|
-
items: e.displaySchema?.properties[e.name]?.lx?.items ||
|
|
1501
|
+
items: e.displaySchema?.properties[e.name]?.lx?.items || ee(e.displaySchema?.properties[e.name]),
|
|
1502
1502
|
"id-attribute": e.displaySchema?.properties[e.name]?.lx?.idAttribute,
|
|
1503
1503
|
"name-attribute": e.displaySchema?.properties[e.name]?.lx?.nameAttribute,
|
|
1504
1504
|
"icon-attribute": e.displaySchema?.properties[e.name]?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(C(!0), o(t, null, T(e?.properties, (e, t) => (C(), i($, {
|
|
1584
1584
|
key: t,
|
|
1585
1585
|
itemValue: e,
|
|
1586
1586
|
itemName: t,
|
|
@@ -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: N(() => [u(A(ve), {
|
|
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: N(() => [(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(U), { 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: N(() => [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,
|
|
@@ -1829,7 +1829,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
1829
1829
|
])) : E(n, r) === "valuePicker" ? (C(), i(A(J), {
|
|
1830
1830
|
key: 5,
|
|
1831
1831
|
selectionKind: n?.type === "array" ? "multiple" : "single",
|
|
1832
|
-
items: n?.lx?.items ||
|
|
1832
|
+
items: n?.lx?.items || ee(n),
|
|
1833
1833
|
"id-attribute": n?.lx?.idAttribute,
|
|
1834
1834
|
"name-attribute": n?.lx?.nameAttribute,
|
|
1835
1835
|
"icon-attribute": n?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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,14 +2021,14 @@ 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) => M(e.name),
|
|
2025
2025
|
onClick: r[11] ||= (t) => ce(`${e.id}-${e.name}`, e.name)
|
|
2026
2026
|
}, null, 8, [
|
|
2027
2027
|
"value",
|
|
2028
2028
|
"label",
|
|
2029
2029
|
"description"
|
|
2030
2030
|
])) : a("", !0),
|
|
2031
|
-
D.value === "objectButton" ? (C(), i(A(
|
|
2031
|
+
D.value === "objectButton" ? (C(), i(A(I), {
|
|
2032
2032
|
key: 1,
|
|
2033
2033
|
label: e.texts?.addObject,
|
|
2034
2034
|
icon: "add-item",
|
|
@@ -2039,13 +2039,13 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2039
2039
|
id: `${e.id}-${e.name}`,
|
|
2040
2040
|
ref: (t) => p.value[`${e.id}-${e.name}`] = t
|
|
2041
2041
|
}, {
|
|
2042
|
-
default:
|
|
2042
|
+
default: N(() => [u(A(ve), {
|
|
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: N(() => [(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(U), { 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: N(() => [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,
|
|
@@ -2216,7 +2216,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2216
2216
|
])) : E(n, r) === "valuePicker" ? (C(), i(A(J), {
|
|
2217
2217
|
key: 5,
|
|
2218
2218
|
selectionKind: n?.type === "array" ? "multiple" : "single",
|
|
2219
|
-
items: n?.lx?.items ||
|
|
2219
|
+
items: n?.lx?.items || ee(n),
|
|
2220
2220
|
"id-attribute": n?.lx?.idAttribute,
|
|
2221
2221
|
"name-attribute": n?.lx?.nameAttribute,
|
|
2222
2222
|
"icon-attribute": n?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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: N(() => [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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(C(!0), o(t, null, T(e?.properties, (e, t) => (C(), i($, {
|
|
2667
2667
|
key: t,
|
|
2668
2668
|
itemValue: e,
|
|
2669
2669
|
itemName: t,
|
|
@@ -2718,13 +2718,13 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
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: N(() => [u(A(ve), {
|
|
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: N(() => [(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(U), { 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: N(() => [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,
|
|
@@ -2901,7 +2901,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
2901
2901
|
])) : E(n, r) === "valuePicker" ? (C(), i(A(J), {
|
|
2902
2902
|
key: 5,
|
|
2903
2903
|
selectionKind: n?.type === "array" ? "multiple" : "single",
|
|
2904
|
-
items: n?.lx?.items ||
|
|
2904
|
+
items: n?.lx?.items || ee(n),
|
|
2905
2905
|
"id-attribute": n?.lx?.idAttribute,
|
|
2906
2906
|
"name-attribute": n?.lx?.nameAttribute,
|
|
2907
2907
|
"icon-attribute": n?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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(ne), {
|
|
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: N(({ 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(U), {
|
|
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: N(() => [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),
|
|
@@ -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: N(() => [n?.lx?.label ? (C(), o("span", bn, O(n?.lx?.label), 1)) : a("", !0)]),
|
|
3237
3237
|
_: 2
|
|
3238
3238
|
}, 1032, [
|
|
3239
3239
|
"id",
|
|
@@ -3250,7 +3250,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3250
3250
|
key: 5,
|
|
3251
3251
|
id: `${e.name}-${d}-${l}`,
|
|
3252
3252
|
selectionKind: n?.type === "array" ? "multiple" : "single",
|
|
3253
|
-
items: n?.lx?.items ||
|
|
3253
|
+
items: n?.lx?.items || ee(n),
|
|
3254
3254
|
"id-attribute": n?.lx?.idAttribute,
|
|
3255
3255
|
"name-attribute": n?.lx?.nameAttribute,
|
|
3256
3256
|
"icon-attribute": n?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(C(!0), o(t, null, T(n?.properties, (t, n) => (C(), i($, {
|
|
3333
3333
|
key: n,
|
|
3334
3334
|
itemValue: t,
|
|
3335
3335
|
itemName: n,
|
|
@@ -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: N(() => [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,
|
|
@@ -3524,13 +3524,13 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
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: N(() => [u(A(ve), {
|
|
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: N(() => [(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(U), { 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: N(() => [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,
|
|
@@ -3707,7 +3707,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
3707
3707
|
])) : E(n, r) === "valuePicker" ? (C(), i(A(J), {
|
|
3708
3708
|
key: 5,
|
|
3709
3709
|
selectionKind: n?.type === "array" ? "multiple" : "single",
|
|
3710
|
-
items: n?.lx?.items ||
|
|
3710
|
+
items: n?.lx?.items || ee(n),
|
|
3711
3711
|
"id-attribute": n?.lx?.idAttribute,
|
|
3712
3712
|
"name-attribute": n?.lx?.nameAttribute,
|
|
3713
3713
|
"icon-attribute": n?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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(ne), {
|
|
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: N(({ 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(U), {
|
|
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: N(() => [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),
|
|
@@ -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: N(() => [n?.lx?.label ? (C(), o("span", Sn, O(n?.lx?.label), 1)) : a("", !0)]),
|
|
4047
4047
|
_: 2
|
|
4048
4048
|
}, 1032, [
|
|
4049
4049
|
"id",
|
|
@@ -4060,7 +4060,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4060
4060
|
key: 5,
|
|
4061
4061
|
id: `${e.name}-${d}-${l}`,
|
|
4062
4062
|
selectionKind: n?.type === "array" ? "multiple" : "single",
|
|
4063
|
-
items: n?.lx?.items ||
|
|
4063
|
+
items: n?.lx?.items || ee(n),
|
|
4064
4064
|
"id-attribute": n?.lx?.idAttribute,
|
|
4065
4065
|
"name-attribute": n?.lx?.nameAttribute,
|
|
4066
4066
|
"icon-attribute": n?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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(ne), {
|
|
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: N(({ 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(U), {
|
|
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: N(() => [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),
|
|
@@ -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: N(() => [s?.lx?.label ? (C(), o("span", Cn, O(s?.lx?.label), 1)) : a("", !0)]),
|
|
4427
4427
|
_: 2
|
|
4428
4428
|
}, 1032, [
|
|
4429
4429
|
"id",
|
|
@@ -4440,7 +4440,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4440
4440
|
key: 5,
|
|
4441
4441
|
id: `${e.name}-${l}-${r}`,
|
|
4442
4442
|
selectionKind: s?.type === "array" ? "multiple" : "single",
|
|
4443
|
-
items: s?.lx?.items ||
|
|
4443
|
+
items: s?.lx?.items || ee(s),
|
|
4444
4444
|
"id-attribute": s?.lx?.idAttribute,
|
|
4445
4445
|
"name-attribute": s?.lx?.nameAttribute,
|
|
4446
4446
|
"icon-attribute": s?.lx?.iconAttribute,
|
|
@@ -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: N((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: N(() => [(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: N((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: N(() => [(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: N(() => [(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: N(({ index: t }) => [E(e.row?.items, e.name) === "lxPlaceholder" ? (C(), i(A(U), {
|
|
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: N(() => [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: N(() => [e.row?.items?.lx?.labelOn ? (C(), o("span", wn, O(e.row?.items?.lx?.labelOn), 1)) : (C(), o("span", Tn, "Jā"))]),
|
|
4718
|
+
off: N(() => [e.row?.items?.lx?.labelOff ? (C(), o("span", En, O(e.row?.items?.lx?.labelOff), 1)) : (C(), o("span", Dn, "Nē"))]),
|
|
4719
|
+
indeterminate: N(() => [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",
|
|
@@ -4788,7 +4788,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4788
4788
|
"requiredMode",
|
|
4789
4789
|
"canAddItems",
|
|
4790
4790
|
"texts"
|
|
4791
|
-
])) : D.value === "autoComplete" ? (C(), i(A(
|
|
4791
|
+
])) : D.value === "autoComplete" ? (C(), i(A(F), {
|
|
4792
4792
|
key: 14,
|
|
4793
4793
|
id: `${e.id}-${e.name}`,
|
|
4794
4794
|
items: e.displaySchema?.properties[e.name]?.lx?.items,
|
|
@@ -4821,7 +4821,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
4821
4821
|
"onUpdate:modelValue": r[62] ||= (t) => f.value[e.name] = t,
|
|
4822
4822
|
builderOptions: X.value,
|
|
4823
4823
|
onOpenDetails: r[63] ||= (t) => j("openDetails", e.name, t)
|
|
4824
|
-
}, null, 8, /* @__PURE__ */ "id.items.idAttribute.nameAttribute.dictionary.groupId.queryMinLength.queryMaxLength.queryDebounce.placeholder.tooltip.readOnly.disabled.invalid.invalidation-message.loading.hasDetails.selectionKind.detailMode.preloadedItems.labelId.hasSelectAll.texts.searchAttributes.enableAdditionalText.helperText.helperTextKind.modelValue.builderOptions".split("."))) : D.value === "button" ? (C(), i(A(
|
|
4824
|
+
}, null, 8, /* @__PURE__ */ "id.items.idAttribute.nameAttribute.dictionary.groupId.queryMinLength.queryMaxLength.queryDebounce.placeholder.tooltip.readOnly.disabled.invalid.invalidation-message.loading.hasDetails.selectionKind.detailMode.preloadedItems.labelId.hasSelectAll.texts.searchAttributes.enableAdditionalText.helperText.helperTextKind.modelValue.builderOptions".split("."))) : D.value === "button" ? (C(), i(A(I), {
|
|
4825
4825
|
key: 15,
|
|
4826
4826
|
id: `${e.id}-${e.name}`,
|
|
4827
4827
|
label: f.value[e.name]?.label || f.value[e.name] || e.displaySchema?.properties[e.name]?.lx?.label,
|
|
@@ -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(L), {
|
|
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(R), {
|
|
4906
4906
|
key: 17,
|
|
4907
4907
|
id: `${e.id}-${e.name}`,
|
|
4908
4908
|
groupId: e.displaySchema?.properties[e.name]?.lx?.groupId,
|
|
@@ -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: N(() => [(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: N(() => [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,
|
|
@@ -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 M(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 te() {
|
|
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 P = 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
|
+
}), ne = r(() => {
|
|
5813
|
+
let e = Y.objectClone(P.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(P.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);
|
|
@@ -5821,26 +5821,26 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5821
5821
|
Be.log(e, $e().getGlobals()?.environment, "warn");
|
|
5822
5822
|
}
|
|
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 P.value;
|
|
5827
|
+
if (u.mode === "mixed") return ne.value;
|
|
5828
5828
|
} catch (e) {
|
|
5829
5829
|
Be.log(e, $e().getGlobals()?.environment, "warn");
|
|
5830
5830
|
}
|
|
5831
5831
|
return u.schema;
|
|
5832
|
-
}),
|
|
5833
|
-
if (u.mode === "no-schema") return
|
|
5834
|
-
if (
|
|
5835
|
-
let e = Y.objectClone(
|
|
5832
|
+
}), I = r(() => {
|
|
5833
|
+
if (u.mode === "no-schema") return P.value?.properties;
|
|
5834
|
+
if (F.value?.properties) {
|
|
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 L(e, t, n = void 0, r = void 0) {
|
|
5841
5841
|
p("emit", e, t, n, r);
|
|
5842
5842
|
}
|
|
5843
|
-
function
|
|
5843
|
+
function R(e, t) {
|
|
5844
5844
|
return e.replace("{0}", t);
|
|
5845
5845
|
}
|
|
5846
5846
|
function re(e, t, n, r) {
|
|
@@ -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
|
-
ie(n?.type) && (n?.minimum !== void 0 && z(e, t, "minValue", Q.withMessage(({ $params: e }) =>
|
|
5888
|
+
ie(n?.type) && (n?.minimum !== void 0 && z(e, t, "minValue", Q.withMessage(({ $params: e }) => R(f.value.minimum, e.min), en(n.minimum))), n?.exclusiveMinimum !== void 0 && z(e, t, "exclusiveMinimum", Q.withMessage(() => R(f.value.exclusiveMinimum, n.exclusiveMinimum), se(n.exclusiveMinimum))), n?.maximum !== void 0 && z(e, t, "maxValue", Q.withMessage(({ $params: e }) => R(f.value.maximum, e.max), nn(n.maximum))), n?.exclusiveMaximum !== void 0 && z(e, t, "exclusiveMaximum", Q.withMessage(() => R(f.value.exclusiveMaximum, n.exclusiveMaximum), ce(n.exclusiveMaximum))), n?.multipleOf !== void 0 && z(e, t, "multipleOf", Q.withMessage(() => R(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 && z(e, t, "minLength", Q.withMessage(({ $params: e }) =>
|
|
5891
|
+
n?.type === "string" && (n?.minLength !== void 0 && z(e, t, "minLength", Q.withMessage(({ $params: e }) => R(f.value.minLength, e.min), Xt(n.minLength))), n?.maxLength !== void 0 && z(e, t, "maxLength", Q.withMessage(({ $params: e }) => R(f.value.maxLength, e.max), Jt(n.maxLength))), n?.pattern && z(e, t, "pattern", Q.withMessage(() => R(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 && z(e, t, "minItems", Q.withMessage(({ $params: e }) =>
|
|
5897
|
+
n?.type === "array" && (n?.minItems !== void 0 && z(e, t, "minItems", Q.withMessage(({ $params: e }) => R(f.value.minItems, e.min), Xt(n.minItems))), n?.maxItems !== void 0 && z(e, t, "maxItems", Q.withMessage(({ $params: e }) => R(f.value.maxItems, e.max), Jt(n.maxItems))), n?.uniqueItems && z(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);
|
|
@@ -5921,7 +5921,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5921
5921
|
}, (t) => Object.keys(t).length <= e);
|
|
5922
5922
|
}
|
|
5923
5923
|
function ye(e, t) {
|
|
5924
|
-
e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() =>
|
|
5924
|
+
e?.minProperties !== void 0 && e?.type === "object" && (t.minProperties = Q.withMessage(() => R(f.value.minProperties, e.minProperties), _e(e.minProperties))), e?.maxProperties !== void 0 && e?.type === "object" && (t.maxProperties = Q.withMessage(() => R(f.value.maxProperties, e.maxProperties), ve(e.maxProperties)));
|
|
5925
5925
|
}
|
|
5926
5926
|
function be(e) {
|
|
5927
5927
|
let t = {};
|
|
@@ -5938,26 +5938,26 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5938
5938
|
function Ce() {
|
|
5939
5939
|
xe.value.value.modelClone.$reset();
|
|
5940
5940
|
}
|
|
5941
|
-
return
|
|
5942
|
-
u.mode !== "no-schema" && u.mode !== "view-builder" &&
|
|
5941
|
+
return ee(() => u.schema, () => {
|
|
5942
|
+
u.mode !== "no-schema" && u.mode !== "view-builder" && te();
|
|
5943
5943
|
}), x(() => {
|
|
5944
|
-
u.mode !== "no-schema" && u.mode !== "view-builder" &&
|
|
5944
|
+
u.mode !== "no-schema" && u.mode !== "view-builder" && te();
|
|
5945
5945
|
}), n({
|
|
5946
5946
|
validateModel: Se,
|
|
5947
5947
|
clearValidations: Ce,
|
|
5948
|
-
componentSelect:
|
|
5949
|
-
}), (n, r) => g.value ? (C(!0), o(t, { key: 0 }, T(
|
|
5948
|
+
componentSelect: M
|
|
5949
|
+
}), (n, r) => g.value ? (C(!0), o(t, { key: 0 }, T(I.value, (n, s) => (C(), o(t, { key: s }, [M(n, s) === "lxPlaceholder" ? (C(), i(A(U), {
|
|
5950
5950
|
key: 0,
|
|
5951
5951
|
class: "lx-placeholder"
|
|
5952
5952
|
})) : n?.lx?.displayType === "section" ? a("", !0) : (C(), i(A(W), {
|
|
5953
5953
|
key: 1,
|
|
5954
|
-
label:
|
|
5955
|
-
rowSpan:
|
|
5956
|
-
columnSpan:
|
|
5954
|
+
label: F.value?.properties[s]?.title ? F.value?.properties[s]?.title : s,
|
|
5955
|
+
rowSpan: F.value?.properties[s]?.lx?.rowSpan,
|
|
5956
|
+
columnSpan: F.value?.properties[s]?.lx?.columnSpan,
|
|
5957
5957
|
required: h(s),
|
|
5958
5958
|
inputId: e.builderOptions?.useRegistry ? void 0 : `${e.id}-${s}`,
|
|
5959
5959
|
id: `${e.id}-${s}-wrapper`,
|
|
5960
|
-
actionDefinitions:
|
|
5960
|
+
actionDefinitions: F.value?.properties[s]?.lx?.rowActionDefinitions,
|
|
5961
5961
|
builderOptions: {
|
|
5962
5962
|
schemaPath: `${e.builderOptions?.schemaPath}.${s}`,
|
|
5963
5963
|
componentStack: e.builderOptions?.componentStack?.concat([{
|
|
@@ -5968,7 +5968,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5968
5968
|
},
|
|
5969
5969
|
onActionClick: (e, t, n) => re(t, n, s, void 0)
|
|
5970
5970
|
}, c({
|
|
5971
|
-
default:
|
|
5971
|
+
default: N(() => [M(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: N(() => [(C(!0), o(t, null, T(F.value?.properties[s]?.properties, (n, c) => (C(), o(t, { key: c }, [M(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: N(() => [(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],
|
|
@@ -5998,14 +5998,14 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
5998
5998
|
readOnly: e.readOnly,
|
|
5999
5999
|
row: n,
|
|
6000
6000
|
name: l,
|
|
6001
|
-
displaySchema:
|
|
6001
|
+
displaySchema: F.value?.properties[s]?.properties[c],
|
|
6002
6002
|
vv: xe.value,
|
|
6003
|
-
orderedObject:
|
|
6003
|
+
orderedObject: I.value?.[s]?.properties?.[c]?.properties,
|
|
6004
6004
|
texts: f.value,
|
|
6005
6005
|
parentName: `${s}.${c}`,
|
|
6006
6006
|
validations: e.validations?.[s]?.[c],
|
|
6007
6007
|
onRowActionClick: r[0] ||= (e, t, n, r) => re(e, t, n, r),
|
|
6008
|
-
onEmit: r[1] ||= (e, t, n, r) =>
|
|
6008
|
+
onEmit: r[1] ||= (e, t, n, r) => L(e, t, n, r),
|
|
6009
6009
|
onFilterBuilderFilter: r[2] ||= (e) => p("filterBuilderFilter")
|
|
6010
6010
|
}, null, 8, [
|
|
6011
6011
|
"id",
|
|
@@ -6039,14 +6039,14 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6039
6039
|
readOnly: e.readOnly,
|
|
6040
6040
|
row: n,
|
|
6041
6041
|
name: c,
|
|
6042
|
-
displaySchema:
|
|
6042
|
+
displaySchema: F.value?.properties[s],
|
|
6043
6043
|
vv: xe.value,
|
|
6044
|
-
orderedObject:
|
|
6044
|
+
orderedObject: I.value?.[s]?.properties,
|
|
6045
6045
|
parentName: s,
|
|
6046
6046
|
texts: f.value,
|
|
6047
6047
|
validations: e.validations?.[s],
|
|
6048
6048
|
onRowActionClick: r[3] ||= (e, t, n, r) => re(e, t, n, r),
|
|
6049
|
-
onEmit: r[4] ||= (e, t, n, r) =>
|
|
6049
|
+
onEmit: r[4] ||= (e, t, n, r) => L(e, t, n, r),
|
|
6050
6050
|
onFilterBuilderFilter: r[5] ||= (e) => p("filterBuilderFilter")
|
|
6051
6051
|
}, null, 8, [
|
|
6052
6052
|
"id",
|
|
@@ -6080,10 +6080,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6080
6080
|
readOnly: e.readOnly,
|
|
6081
6081
|
row: n,
|
|
6082
6082
|
name: s,
|
|
6083
|
-
displaySchema:
|
|
6083
|
+
displaySchema: F.value,
|
|
6084
6084
|
schema: e.schema,
|
|
6085
6085
|
vv: xe.value,
|
|
6086
|
-
orderedObject:
|
|
6086
|
+
orderedObject: I.value,
|
|
6087
6087
|
texts: f.value,
|
|
6088
6088
|
validations: e.validations,
|
|
6089
6089
|
builderOptions: {
|
|
@@ -6095,7 +6095,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6095
6095
|
schemaPath: `${e.builderOptions?.schemaPath}`
|
|
6096
6096
|
},
|
|
6097
6097
|
onRowActionClick: r[7] ||= (e, t, n, r) => re(e, t, n, r),
|
|
6098
|
-
onEmit: r[8] ||= (e, t, n, r) =>
|
|
6098
|
+
onEmit: r[8] ||= (e, t, n, r) => L(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: N(() => [l(O(n?.description), 1)]),
|
|
6118
6118
|
key: "0"
|
|
6119
6119
|
} : void 0]), 1032, [
|
|
6120
6120
|
"label",
|
|
@@ -6367,19 +6367,19 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6367
6367
|
}
|
|
6368
6368
|
return "";
|
|
6369
6369
|
});
|
|
6370
|
-
function
|
|
6370
|
+
function ee() {
|
|
6371
6371
|
return d.value.validateModel();
|
|
6372
6372
|
}
|
|
6373
|
-
function
|
|
6373
|
+
function M() {
|
|
6374
6374
|
d.value.clearValidations();
|
|
6375
6375
|
}
|
|
6376
6376
|
x(() => {
|
|
6377
6377
|
g.value = Y.objectClone(a.modelValue || {});
|
|
6378
6378
|
});
|
|
6379
|
-
let
|
|
6379
|
+
let te = r(() => `${a.name}.${a.builderOptions?.defaultSectionSchemaPath}`);
|
|
6380
6380
|
return t({
|
|
6381
|
-
validateModel:
|
|
6382
|
-
clearValidations:
|
|
6381
|
+
validateModel: ee,
|
|
6382
|
+
clearValidations: M
|
|
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: N(() => [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: te.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 M(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 te(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,32 +6614,32 @@ 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 P = (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
|
|
6626
|
-
Object.values(
|
|
6622
|
+
t?.type === "object" && t?.properties ? n[e] = P(t) : M(n, e, t);
|
|
6623
|
+
}), te(n, e), n;
|
|
6624
|
+
}, ne = r(() => d.schema ? { modelClone: P(d.schema) } : { modelClone: {} }), F = w(), I = w({});
|
|
6625
|
+
function L() {
|
|
6626
|
+
Object.values(I.value)?.forEach((e) => {
|
|
6627
6627
|
e.validateModel();
|
|
6628
6628
|
});
|
|
6629
6629
|
}
|
|
6630
|
-
function
|
|
6630
|
+
function R() {
|
|
6631
6631
|
let e = [];
|
|
6632
|
-
return
|
|
6632
|
+
return L(), F.value = jt(ne, { 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
6637
|
function re() {
|
|
6638
|
-
|
|
6638
|
+
F.value.value.modelClone.$reset(), Object.values(I.value)?.forEach((e) => {
|
|
6639
6639
|
e.clearValidations();
|
|
6640
6640
|
});
|
|
6641
6641
|
}
|
|
6642
|
-
|
|
6642
|
+
ee(() => d.schema, (e, t) => {
|
|
6643
6643
|
JSON.stringify(e) !== JSON.stringify(t) && d.mode !== "no-schema" && _();
|
|
6644
6644
|
}), b(async () => {
|
|
6645
6645
|
d.mode !== "no-schema" && await _();
|
|
@@ -6718,15 +6718,19 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6718
6718
|
}
|
|
6719
6719
|
function fe(e) {
|
|
6720
6720
|
let t = [], n = !1;
|
|
6721
|
-
return Object.entries(e || {}).forEach(([e, r]) => {
|
|
6721
|
+
return Object.entries(e?.properties || {}).forEach(([e, r]) => {
|
|
6722
6722
|
if (r?.lx?.displayType === "section" && r?.type === "object") {
|
|
6723
6723
|
let r = {};
|
|
6724
|
-
r.id = n ? e : "default", r.name = e,
|
|
6724
|
+
r.id = n ? e : "default", r.name = e, t.push(r), n = !0;
|
|
6725
6725
|
}
|
|
6726
|
-
}), t
|
|
6726
|
+
}), t?.map((t) => {
|
|
6727
|
+
if (!e?.lx?.index?.length) return t;
|
|
6728
|
+
let n = { ...t }, r = e?.lx?.index?.find((e) => e?.id === n?.id);
|
|
6729
|
+
return n.name = r?.name || "section", r?.state && (n.state = r?.state), r?.isCurrentStep && (n.isCurrentStep = !0), r?.invalid && (n.invalid = !0), r?.invalidationMessage && (n.invalidationMessage = r?.invalidationMessage), n;
|
|
6730
|
+
});
|
|
6727
6731
|
}
|
|
6728
6732
|
return n({
|
|
6729
|
-
validateModel:
|
|
6733
|
+
validateModel: R,
|
|
6730
6734
|
clearValidations: re
|
|
6731
6735
|
}), (n, r) => g.value ? (C(), i(A(Ie), {
|
|
6732
6736
|
key: 0,
|
|
@@ -6738,10 +6742,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6738
6742
|
useRegistry: e.builderOptions?.useRegistry
|
|
6739
6743
|
}
|
|
6740
6744
|
}, c({
|
|
6741
|
-
filters:
|
|
6745
|
+
filters: N(() => [(C(!0), o(t, null, T(z.value?.properties, (n, s) => (C(), o(t, { key: s }, [n?.lx?.displayType === "filters" && n?.type === "object" ? (C(), i(Pn, {
|
|
6742
6746
|
key: 0,
|
|
6743
6747
|
ref_for: !0,
|
|
6744
|
-
ref: (t) =>
|
|
6748
|
+
ref: (t) => I.value[`${e.id}-${s}`] = t,
|
|
6745
6749
|
modelValue: ue(s, n),
|
|
6746
6750
|
schema: n?.properties?.[le(n?.properties)],
|
|
6747
6751
|
name: s,
|
|
@@ -6784,8 +6788,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6784
6788
|
_: 2
|
|
6785
6789
|
}, [e.mode === "no-schema" ? {
|
|
6786
6790
|
name: "default",
|
|
6787
|
-
fn:
|
|
6788
|
-
default:
|
|
6791
|
+
fn: N(() => [u(A(ve), null, {
|
|
6792
|
+
default: N(() => [u(Nn, {
|
|
6789
6793
|
modelValue: h.value,
|
|
6790
6794
|
"onUpdate:modelValue": r[4] ||= (e) => h.value = e,
|
|
6791
6795
|
schema: z.value?.properties?.form,
|
|
@@ -6807,7 +6811,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6807
6811
|
key: "1"
|
|
6808
6812
|
} : {
|
|
6809
6813
|
name: "default",
|
|
6810
|
-
fn:
|
|
6814
|
+
fn: N(() => [(C(!0), o(t, null, T(z.value?.properties, (n, s) => (C(), o(t, { key: s }, [n?.lx?.displayType === "form" && n?.type === "object" ? (C(), i(A(ve), {
|
|
6811
6815
|
key: 0,
|
|
6812
6816
|
id: `${e.id}-${s}`,
|
|
6813
6817
|
showHeader: n?.lx?.showHeader,
|
|
@@ -6816,7 +6820,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6816
6820
|
stickyFooter: n?.lx?.stickyFooter,
|
|
6817
6821
|
showPreHeaderInfo: n?.lx?.showPreHeaderInfo,
|
|
6818
6822
|
showPostHeaderInfo: n?.lx?.showPostHeaderInfo,
|
|
6819
|
-
index:
|
|
6823
|
+
index: fe(n),
|
|
6820
6824
|
indexType: n?.lx?.indexType,
|
|
6821
6825
|
actionDefinitions: n?.lx?.actionDefinitions,
|
|
6822
6826
|
kind: n?.lx?.kind,
|
|
@@ -6839,8 +6843,8 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6839
6843
|
},
|
|
6840
6844
|
onActionClick: (e) => x("actionClick", s, e)
|
|
6841
6845
|
}, c({
|
|
6842
|
-
header:
|
|
6843
|
-
sections:
|
|
6846
|
+
header: N(() => [l(O(n?.title), 1)]),
|
|
6847
|
+
sections: N(() => [(C(!0), o(t, null, T(oe(e.schema?.properties?.[s]?.properties), (n, r) => (C(), o(t, { key: r }, [n?.lx?.displayType === "section" && n?.type === "object" ? (C(), i(A(je), {
|
|
6844
6848
|
key: 0,
|
|
6845
6849
|
id: `${r}`,
|
|
6846
6850
|
label: n?.title,
|
|
@@ -6867,10 +6871,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6867
6871
|
},
|
|
6868
6872
|
onActionClick: (e) => x("actionClick", `${s}.${r}`, e)
|
|
6869
6873
|
}, {
|
|
6870
|
-
default:
|
|
6874
|
+
default: N(() => [h.value?.[s] ? (C(), i(Nn, {
|
|
6871
6875
|
key: 0,
|
|
6872
6876
|
ref_for: !0,
|
|
6873
|
-
ref: (t) =>
|
|
6877
|
+
ref: (t) => I.value[`${e.id}-${s}-${r}`] = t,
|
|
6874
6878
|
modelValue: h.value[s][r],
|
|
6875
6879
|
"onUpdate:modelValue": (e) => h.value[s][r] = e,
|
|
6876
6880
|
schema: n,
|
|
@@ -6926,10 +6930,10 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6926
6930
|
"builderOptions",
|
|
6927
6931
|
"onActionClick"
|
|
6928
6932
|
])) : a("", !0)], 64))), 128))]),
|
|
6929
|
-
default:
|
|
6933
|
+
default: N(() => [(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, {
|
|
6930
6934
|
key: 0,
|
|
6931
6935
|
ref_for: !0,
|
|
6932
|
-
ref: (t) =>
|
|
6936
|
+
ref: (t) => I.value[`${e.id}-${s}-${r}`] = t,
|
|
6933
6937
|
modelValue: h.value[s][r],
|
|
6934
6938
|
"onUpdate:modelValue": (e) => h.value[s][r] = e,
|
|
6935
6939
|
schema: n,
|
|
@@ -6972,7 +6976,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6972
6976
|
}, [
|
|
6973
6977
|
n?.lx?.preHeader ? {
|
|
6974
6978
|
name: "preHeader",
|
|
6975
|
-
fn:
|
|
6979
|
+
fn: N(() => [(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), {
|
|
6976
6980
|
key: 0,
|
|
6977
6981
|
id: `${e.id}-${s}-${r}`,
|
|
6978
6982
|
orientation: n?.lx?.orientation,
|
|
@@ -6983,7 +6987,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6983
6987
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
6984
6988
|
"vertical-config": n?.lx?.verticalConfig
|
|
6985
6989
|
}, {
|
|
6986
|
-
default:
|
|
6990
|
+
default: N(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
6987
6991
|
key: 0,
|
|
6988
6992
|
id: `${e.id}-${s}-${r}-${a}`,
|
|
6989
6993
|
orientation: n?.lx?.orientation,
|
|
@@ -6994,7 +6998,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
6994
6998
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
6995
6999
|
"vertical-config": n?.lx?.verticalConfig
|
|
6996
7000
|
}, {
|
|
6997
|
-
default:
|
|
7001
|
+
default: N(() => [(C(!0), o(t, null, T(n?.properties, (e, t) => (C(), i($, {
|
|
6998
7002
|
key: t,
|
|
6999
7003
|
itemValue: e,
|
|
7000
7004
|
itemName: t
|
|
@@ -7033,12 +7037,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7033
7037
|
} : void 0,
|
|
7034
7038
|
n?.lx?.preHeaderInfo ? {
|
|
7035
7039
|
name: "preHeaderInfo",
|
|
7036
|
-
fn:
|
|
7040
|
+
fn: N(() => [(C(!0), o(t, null, T(n?.lx?.preHeaderInfo?.properties, (e, t) => (C(), i(A(W), {
|
|
7037
7041
|
label: e?.title,
|
|
7038
7042
|
hideLabel: e?.lx?.hideLabel || !e?.title,
|
|
7039
7043
|
key: t
|
|
7040
7044
|
}, {
|
|
7041
|
-
default:
|
|
7045
|
+
default: N(() => [u($, {
|
|
7042
7046
|
itemValue: e,
|
|
7043
7047
|
itemName: t
|
|
7044
7048
|
}, null, 8, ["itemValue", "itemName"])]),
|
|
@@ -7048,12 +7052,12 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7048
7052
|
} : void 0,
|
|
7049
7053
|
n?.lx?.postHeaderInfo ? {
|
|
7050
7054
|
name: "postHeaderInfo",
|
|
7051
|
-
fn:
|
|
7055
|
+
fn: N(() => [(C(!0), o(t, null, T(n?.lx?.postHeaderInfo?.properties, (e, t) => (C(), i(A(W), {
|
|
7052
7056
|
label: e?.title,
|
|
7053
7057
|
hideLabel: e?.lx?.hideLabel || !e?.title,
|
|
7054
7058
|
key: t
|
|
7055
7059
|
}, {
|
|
7056
|
-
default:
|
|
7060
|
+
default: N(() => [u($, {
|
|
7057
7061
|
itemValue: e,
|
|
7058
7062
|
itemName: t
|
|
7059
7063
|
}, null, 8, ["itemValue", "itemName"])]),
|
|
@@ -7063,7 +7067,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7063
7067
|
} : void 0,
|
|
7064
7068
|
n?.lx?.postHeader ? {
|
|
7065
7069
|
name: "postHeader",
|
|
7066
|
-
fn:
|
|
7070
|
+
fn: N(() => [(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), {
|
|
7067
7071
|
key: 0,
|
|
7068
7072
|
id: `${e.id}-${s}-${r}`,
|
|
7069
7073
|
orientation: n?.lx?.orientation,
|
|
@@ -7074,7 +7078,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7074
7078
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7075
7079
|
"vertical-config": n?.lx?.verticalConfig
|
|
7076
7080
|
}, {
|
|
7077
|
-
default:
|
|
7081
|
+
default: N(() => [(C(!0), o(t, null, T(n?.properties, (n, a) => (C(), o(t, { key: a }, [n?.lx?.displayType === "stack" ? (C(), i(A(G), {
|
|
7078
7082
|
key: 0,
|
|
7079
7083
|
id: `${e.id}-${s}-${r}-${a}`,
|
|
7080
7084
|
orientation: n?.lx?.orientation,
|
|
@@ -7085,7 +7089,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7085
7089
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7086
7090
|
"vertical-config": n?.lx?.verticalConfig
|
|
7087
7091
|
}, {
|
|
7088
|
-
default:
|
|
7092
|
+
default: N(() => [(C(!0), o(t, null, T(n?.properties, (e, t) => (C(), i($, {
|
|
7089
7093
|
key: t,
|
|
7090
7094
|
itemValue: e,
|
|
7091
7095
|
itemName: t
|
|
@@ -7152,7 +7156,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7152
7156
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7153
7157
|
"vertical-config": n?.lx?.verticalConfig
|
|
7154
7158
|
}, {
|
|
7155
|
-
default:
|
|
7159
|
+
default: N(() => [(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), {
|
|
7156
7160
|
key: 0,
|
|
7157
7161
|
id: `${e.id}-${s}-${r}`,
|
|
7158
7162
|
orientation: n?.lx?.orientation,
|
|
@@ -7163,7 +7167,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7163
7167
|
"horizontal-config": n?.lx?.horizontalConfig,
|
|
7164
7168
|
"vertical-config": n?.lx?.verticalConfig
|
|
7165
7169
|
}, {
|
|
7166
|
-
default:
|
|
7170
|
+
default: N(() => [(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, {
|
|
7167
7171
|
key: 0,
|
|
7168
7172
|
modelValue: h.value[s][r],
|
|
7169
7173
|
"onUpdate:modelValue": (e) => h.value[s][r] = e,
|
|
@@ -7173,7 +7177,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7173
7177
|
name: c,
|
|
7174
7178
|
readOnly: e.readOnly,
|
|
7175
7179
|
parentName: `${s}.${r}`,
|
|
7176
|
-
vv:
|
|
7180
|
+
vv: F.value,
|
|
7177
7181
|
texts: p.value,
|
|
7178
7182
|
validations: e.validations?.[s]?.[r],
|
|
7179
7183
|
onRowActionClick: (e, t, n, i) => y(e, t, `${s}.${r}.${n}`, i),
|
|
@@ -7213,7 +7217,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7213
7217
|
name: r,
|
|
7214
7218
|
readOnly: e.readOnly,
|
|
7215
7219
|
parentName: `${s}`,
|
|
7216
|
-
vv:
|
|
7220
|
+
vv: F.value,
|
|
7217
7221
|
texts: p.value,
|
|
7218
7222
|
validations: e.validations?.[s],
|
|
7219
7223
|
onRowActionClick: (e, t, n, r) => y(e, t, `${s}.${n}`, r),
|
|
@@ -7253,7 +7257,7 @@ var dn = { key: 0 }, fn = { key: 1 }, pn = { key: 0 }, mn = { key: 1 }, hn = { k
|
|
|
7253
7257
|
name: s,
|
|
7254
7258
|
readOnly: e.readOnly,
|
|
7255
7259
|
texts: p.value,
|
|
7256
|
-
vv:
|
|
7260
|
+
vv: F.value,
|
|
7257
7261
|
validations: e.validations,
|
|
7258
7262
|
builderOptions: {
|
|
7259
7263
|
componentStack: [{
|
|
@@ -7339,7 +7343,7 @@ function Yn(e, t = !0, n) {
|
|
|
7339
7343
|
qn(n) ? x(e, n) : t ? e() : _(e);
|
|
7340
7344
|
}
|
|
7341
7345
|
function Xn(e, t, n) {
|
|
7342
|
-
return
|
|
7346
|
+
return ee(e, t, {
|
|
7343
7347
|
...n,
|
|
7344
7348
|
immediate: !0
|
|
7345
7349
|
});
|
|
@@ -7391,7 +7395,7 @@ function rr() {
|
|
|
7391
7395
|
}
|
|
7392
7396
|
function ir(e, t = {}) {
|
|
7393
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);
|
|
7394
|
-
return
|
|
7398
|
+
return M(() => {
|
|
7395
7399
|
if (o.value) {
|
|
7396
7400
|
o.value = !a.value, c.value = k(e).split(",").some((e) => {
|
|
7397
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);
|
|
@@ -7414,7 +7418,7 @@ function ar(e = {}) {
|
|
|
7414
7418
|
};
|
|
7415
7419
|
l(), Yn(l);
|
|
7416
7420
|
let u = { passive: !0 };
|
|
7417
|
-
return $n("resize", l, u), t && o === "visual" && t.visualViewport && $n(t.visualViewport, "resize", l, u), i &&
|
|
7421
|
+
return $n("resize", l, u), t && o === "visual" && t.visualViewport && $n(t.visualViewport, "resize", l, u), i && ee(ir("(orientation: portrait)"), () => l()), {
|
|
7418
7422
|
width: s,
|
|
7419
7423
|
height: c
|
|
7420
7424
|
};
|
|
@@ -7716,6 +7720,10 @@ var cr = [
|
|
|
7716
7720
|
id: "decimal",
|
|
7717
7721
|
name: "decimal"
|
|
7718
7722
|
},
|
|
7723
|
+
{
|
|
7724
|
+
id: "boolean",
|
|
7725
|
+
name: "boolean"
|
|
7726
|
+
},
|
|
7719
7727
|
{
|
|
7720
7728
|
id: "rating",
|
|
7721
7729
|
name: "rating"
|
|
@@ -7850,19 +7858,19 @@ var cr = [
|
|
|
7850
7858
|
name: e
|
|
7851
7859
|
}));
|
|
7852
7860
|
}
|
|
7853
|
-
return (t, n) => (C(), i(A(
|
|
7861
|
+
return (t, n) => (C(), i(A(F), {
|
|
7854
7862
|
modelValue: o.value,
|
|
7855
7863
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
7856
7864
|
items: c(e.iconSet)
|
|
7857
7865
|
}, {
|
|
7858
|
-
customItem:
|
|
7866
|
+
customItem: N((t) => [s("div", mr, [u(A(ye), {
|
|
7859
7867
|
value: t.name,
|
|
7860
7868
|
iconSet: e.iconSet || "cds"
|
|
7861
7869
|
}, null, 8, ["value", "iconSet"]), s("p", null, O(t.name), 1)])]),
|
|
7862
7870
|
_: 1
|
|
7863
7871
|
}, 8, ["modelValue", "items"]));
|
|
7864
7872
|
}
|
|
7865
|
-
}, gr = {
|
|
7873
|
+
}, gr = { class: "lx-data" }, _r = {
|
|
7866
7874
|
__name: "PropRendererItem",
|
|
7867
7875
|
props: {
|
|
7868
7876
|
item: {
|
|
@@ -7919,108 +7927,112 @@ var cr = [
|
|
|
7919
7927
|
"error"
|
|
7920
7928
|
],
|
|
7921
7929
|
setup(e, { emit: n }) {
|
|
7922
|
-
let
|
|
7930
|
+
let c = e, l = n, d = r({
|
|
7923
7931
|
get() {
|
|
7924
|
-
return
|
|
7932
|
+
return c.modelValue;
|
|
7925
7933
|
},
|
|
7926
7934
|
set(e) {
|
|
7927
|
-
|
|
7935
|
+
l("update:modelValue", e);
|
|
7928
7936
|
}
|
|
7929
7937
|
});
|
|
7930
|
-
function d(e) {
|
|
7931
|
-
return e.type.name === "Number" || Array.isArray(e.type) && e.type.some((e) => e.name === "Number");
|
|
7932
|
-
}
|
|
7933
7938
|
function f(e) {
|
|
7934
|
-
return
|
|
7939
|
+
return e.type.name === "Number" || Array.isArray(e.type) && e.type.some((e) => e.name === "Number");
|
|
7935
7940
|
}
|
|
7936
7941
|
function p(e) {
|
|
7937
|
-
return e.type.name === "
|
|
7942
|
+
return (e.type.name === "String" || Array.isArray(e.type) && e.type.some((e) => e.name === "String")) && c.name !== "icon" && c.name !== "emptyStateIcon";
|
|
7938
7943
|
}
|
|
7939
7944
|
function m(e) {
|
|
7940
|
-
return e.type.name === "
|
|
7945
|
+
return e.type.name === "Boolean" || Array.isArray(e.type) && e.type.some((e) => e.name === "Boolean");
|
|
7941
7946
|
}
|
|
7942
7947
|
function h(e) {
|
|
7948
|
+
return e.type.name === "Date";
|
|
7949
|
+
}
|
|
7950
|
+
function g(e) {
|
|
7943
7951
|
return (e || []).filter((e) => e != null).map((e) => ({
|
|
7944
7952
|
id: e,
|
|
7945
7953
|
name: e
|
|
7946
7954
|
}));
|
|
7947
7955
|
}
|
|
7948
|
-
let
|
|
7949
|
-
function
|
|
7950
|
-
|
|
7956
|
+
let _ = w(), v = w(null), y = w();
|
|
7957
|
+
function b() {
|
|
7958
|
+
_.value.open(), v.value = Y.objectClone(c.modelValue[c.name]);
|
|
7951
7959
|
}
|
|
7952
|
-
let
|
|
7953
|
-
function
|
|
7960
|
+
let x = r(() => c.name === "toolbarActionDefinitions" || c.name === "selectionActionDefinitions" || c.componentName === "LxDrawPad" || c.componentName === "LxMarkdownTextArea" || c.componentName === "LxCamera" || c.componentName === "LxQrScanner" || c.name === "actionDefinitions" && (c.componentName === "LxList" || c.componentName === "LxDataGrid")), S = w({});
|
|
7961
|
+
function T(e, t) {
|
|
7954
7962
|
let n = /* @__PURE__ */ new Set(), r = {};
|
|
7955
|
-
return
|
|
7963
|
+
return S.value = {}, e.forEach((e) => {
|
|
7956
7964
|
let i = {};
|
|
7957
|
-
e.id ? n.has(e.id) ? i.id =
|
|
7958
|
-
}),
|
|
7965
|
+
e.id ? n.has(e.id) ? i.id = c.texts.validations.unique : n.add(e.id) : i.id = c.texts.validations.required, e.name || (i.name = c.texts.validations.required), !e.kind && !t && (i.kind = c.texts.validations.required), Object.keys(i).length > 0 && (r[e._lx_appendableKey] = i);
|
|
7966
|
+
}), S.value = r, Object.keys(r)?.length === 0;
|
|
7959
7967
|
}
|
|
7960
|
-
function
|
|
7968
|
+
function E(e) {
|
|
7961
7969
|
if (e === "save") {
|
|
7962
|
-
if (
|
|
7963
|
-
|
|
7970
|
+
if (c.name !== "emptyStateActionDefinitions" && !T(v.value, x.value)) {
|
|
7971
|
+
l("error", "actionDefinitionsValidation");
|
|
7964
7972
|
return;
|
|
7965
7973
|
}
|
|
7966
|
-
let e =
|
|
7967
|
-
|
|
7974
|
+
let e = y.value.clearModel(v.value);
|
|
7975
|
+
d.value[c.name] = e, _.value.close();
|
|
7968
7976
|
}
|
|
7969
7977
|
}
|
|
7970
|
-
let
|
|
7971
|
-
function
|
|
7972
|
-
|
|
7978
|
+
let D = w(), k = w(null), j = w();
|
|
7979
|
+
function ee() {
|
|
7980
|
+
let e = Y.objectClone(c.modelValue.index);
|
|
7981
|
+
e = e.map((e) => Ve.isNil(e?.invalid) ? {
|
|
7982
|
+
...e,
|
|
7983
|
+
invalid: !1
|
|
7984
|
+
} : e), k.value = e, D.value.open();
|
|
7973
7985
|
}
|
|
7974
|
-
function
|
|
7986
|
+
function M(e) {
|
|
7975
7987
|
if (e === "save") {
|
|
7976
|
-
let e =
|
|
7977
|
-
|
|
7988
|
+
let e = j.value.clearModel(k.value);
|
|
7989
|
+
d.value.index = e, D.value.close();
|
|
7978
7990
|
}
|
|
7979
7991
|
}
|
|
7980
|
-
let
|
|
7981
|
-
function
|
|
7982
|
-
|
|
7992
|
+
let te = w(), P = w(null), F = w(), L = w(null);
|
|
7993
|
+
function R() {
|
|
7994
|
+
L.value = null, c.componentName === "LxList" || c.componentName === "LxDataGrid" ? P.value = JSON.stringify(c.selectedModel, null, 2) : P.value = Y.objectClone(c.modelValue[c.name]), te.value.open();
|
|
7983
7995
|
}
|
|
7984
|
-
function
|
|
7996
|
+
function re(e) {
|
|
7985
7997
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
7986
7998
|
}
|
|
7987
|
-
function
|
|
7999
|
+
function ie(e) {
|
|
7988
8000
|
let t = e;
|
|
7989
8001
|
if (typeof t == "string") try {
|
|
7990
8002
|
t = JSON.parse(t);
|
|
7991
8003
|
} catch {
|
|
7992
8004
|
return !1;
|
|
7993
8005
|
}
|
|
7994
|
-
return Array.isArray(t) && t.every((e) =>
|
|
8006
|
+
return Array.isArray(t) && t.every((e) => re(e));
|
|
7995
8007
|
}
|
|
7996
|
-
function
|
|
7997
|
-
if (e === "save") if (
|
|
7998
|
-
let e =
|
|
8008
|
+
function ae(e) {
|
|
8009
|
+
if (e === "save") if (L.value = null, c.componentName === "LxList" || c.componentName === "LxDataGrid") {
|
|
8010
|
+
let e = P.value;
|
|
7999
8011
|
if (typeof e == "string") if (!e.trim()) e = [];
|
|
8000
8012
|
else try {
|
|
8001
8013
|
e = JSON.parse(e);
|
|
8002
8014
|
} catch {
|
|
8003
|
-
|
|
8015
|
+
L.value = c.texts?.invalidArrayOfObjects, l("error", "itemsValidation");
|
|
8004
8016
|
return;
|
|
8005
8017
|
}
|
|
8006
|
-
if (
|
|
8018
|
+
if (ie(e)) l("update:selectedModel", e);
|
|
8007
8019
|
else {
|
|
8008
|
-
|
|
8020
|
+
L.value = c.texts?.invalidArrayOfObjects, l("error", "itemsValidation");
|
|
8009
8021
|
return;
|
|
8010
8022
|
}
|
|
8011
|
-
|
|
8023
|
+
te.value.close();
|
|
8012
8024
|
} else {
|
|
8013
|
-
let e =
|
|
8014
|
-
|
|
8025
|
+
let e = F.value.clearModel(P.value);
|
|
8026
|
+
d.value[c.name] = e, te.value.close();
|
|
8015
8027
|
}
|
|
8016
8028
|
}
|
|
8017
|
-
let
|
|
8018
|
-
function
|
|
8029
|
+
let z = w(), se = w(null), ce = w(null);
|
|
8030
|
+
function le(e) {
|
|
8019
8031
|
let t = {};
|
|
8020
8032
|
function n(e, r = "") {
|
|
8021
|
-
|
|
8033
|
+
re(e) && Object.entries(e).forEach(([e, i]) => {
|
|
8022
8034
|
let a = r ? `${r}.${e}` : e;
|
|
8023
|
-
|
|
8035
|
+
re(i) ? n(i, a) : t[a] = { type: "string" };
|
|
8024
8036
|
});
|
|
8025
8037
|
}
|
|
8026
8038
|
return n(e), {
|
|
@@ -8028,19 +8040,19 @@ var cr = [
|
|
|
8028
8040
|
properties: t
|
|
8029
8041
|
};
|
|
8030
8042
|
}
|
|
8031
|
-
function
|
|
8043
|
+
function ue(e, t) {
|
|
8032
8044
|
let n = {};
|
|
8033
8045
|
function r(e, t, i = "") {
|
|
8034
|
-
|
|
8035
|
-
let o = i ? `${i}.${t}` : t, s =
|
|
8036
|
-
|
|
8046
|
+
re(t) && Object.entries(t).forEach(([t, a]) => {
|
|
8047
|
+
let o = i ? `${i}.${t}` : t, s = re(e) ? e[t] : void 0;
|
|
8048
|
+
re(a) ? r(s, a, o) : s === void 0 ? n[o] = Y.objectClone(a) : n[o] = Y.objectClone(s);
|
|
8037
8049
|
});
|
|
8038
8050
|
}
|
|
8039
8051
|
return r(e, t), n;
|
|
8040
8052
|
}
|
|
8041
|
-
function
|
|
8053
|
+
function de(e) {
|
|
8042
8054
|
let t = {};
|
|
8043
|
-
return
|
|
8055
|
+
return re(e) && Object.entries(e).forEach(([e, n]) => {
|
|
8044
8056
|
if (!e.includes(".")) {
|
|
8045
8057
|
t[e] = Y.objectClone(n);
|
|
8046
8058
|
return;
|
|
@@ -8051,19 +8063,19 @@ var cr = [
|
|
|
8051
8063
|
i[e] = Y.objectClone(n);
|
|
8052
8064
|
return;
|
|
8053
8065
|
}
|
|
8054
|
-
|
|
8066
|
+
re(i[e]) || (i[e] = {}), i = i[e];
|
|
8055
8067
|
});
|
|
8056
8068
|
}), t;
|
|
8057
8069
|
}
|
|
8058
|
-
function
|
|
8059
|
-
|
|
8060
|
-
let e =
|
|
8061
|
-
|
|
8070
|
+
function pe() {
|
|
8071
|
+
z.value.open();
|
|
8072
|
+
let e = c.item?.options || {};
|
|
8073
|
+
ce.value = le(e), se.value = ue(c.modelValue.texts, e);
|
|
8062
8074
|
}
|
|
8063
|
-
function
|
|
8064
|
-
e === "save" && (
|
|
8075
|
+
function me(e) {
|
|
8076
|
+
e === "save" && (d.value.texts = de(se.value), z.value.close());
|
|
8065
8077
|
}
|
|
8066
|
-
let
|
|
8078
|
+
let he = w(""), ge = r(() => he.value ? { properties: Object.fromEntries(Object.entries(ce.value.properties).filter(([e]) => e.toLowerCase().includes(he.value.toLowerCase()))) } : ce.value), _e = r(() => x.value ? [
|
|
8067
8079
|
{
|
|
8068
8080
|
id: "primary",
|
|
8069
8081
|
name: "primary"
|
|
@@ -8102,65 +8114,65 @@ var cr = [
|
|
|
8102
8114
|
name: "additional"
|
|
8103
8115
|
}
|
|
8104
8116
|
]);
|
|
8105
|
-
function
|
|
8106
|
-
return
|
|
8117
|
+
function ye(e) {
|
|
8118
|
+
return c.name === "columnSpan" || c.name === "rowSpan" || c.name === "columnCount" || c.name === "cadenceOfMinutes" || c.name === "cadenceOfSeconds" ? "tags" : e.length > 5 ? "dropdown" : "default";
|
|
8107
8119
|
}
|
|
8108
|
-
let
|
|
8109
|
-
function
|
|
8110
|
-
|
|
8120
|
+
let be = w(), B = w(null), xe = w();
|
|
8121
|
+
function Se() {
|
|
8122
|
+
B.value = Y.objectClone(c.modelValue[c.name] || []), be.value.open();
|
|
8111
8123
|
}
|
|
8112
|
-
function
|
|
8124
|
+
function Ce(e) {
|
|
8113
8125
|
if (e === "save") {
|
|
8114
|
-
let e =
|
|
8115
|
-
|
|
8126
|
+
let e = xe.value.clearModel(B.value);
|
|
8127
|
+
d.value[c.name] = e, be.value.close();
|
|
8116
8128
|
}
|
|
8117
8129
|
}
|
|
8118
|
-
let
|
|
8119
|
-
function
|
|
8120
|
-
|
|
8130
|
+
let we = w(), Te = w(null), V = w(), H = w(!1), U = w(!1), De = w(!1);
|
|
8131
|
+
function Oe() {
|
|
8132
|
+
Te.value = Y.objectClone(c.modelValue[c.name]), we.value.open();
|
|
8121
8133
|
}
|
|
8122
|
-
function
|
|
8134
|
+
function ke(e) {
|
|
8123
8135
|
if (e === "save") {
|
|
8124
|
-
let e =
|
|
8125
|
-
|
|
8136
|
+
let e = V.value.clearModel(Te.value);
|
|
8137
|
+
d.value[c.name] = e, we.value.close();
|
|
8126
8138
|
}
|
|
8127
8139
|
}
|
|
8128
|
-
function
|
|
8140
|
+
function Ae() {
|
|
8129
8141
|
return {
|
|
8130
|
-
removeItem:
|
|
8131
|
-
removeItemHint:
|
|
8132
|
-
addItemButtonTooltip:
|
|
8133
|
-
addButtonLabel:
|
|
8142
|
+
removeItem: c.texts?.removeItem,
|
|
8143
|
+
removeItemHint: c.texts?.removeItemHint,
|
|
8144
|
+
addItemButtonTooltip: c.texts?.addItemButtonTooltip,
|
|
8145
|
+
addButtonLabel: c.texts?.addButtonLabel
|
|
8134
8146
|
};
|
|
8135
8147
|
}
|
|
8136
8148
|
return (n, r) => (C(), o(t, null, [
|
|
8137
|
-
(
|
|
8149
|
+
(p(e.item) || h(e.item)) && (e.name === "minDate" || e.name === "maxDate") ? (C(), i(A(oe), {
|
|
8138
8150
|
key: 0,
|
|
8139
|
-
modelValue:
|
|
8140
|
-
"onUpdate:modelValue": r[0] ||= (t) =>
|
|
8151
|
+
modelValue: d.value[e.name],
|
|
8152
|
+
"onUpdate:modelValue": r[0] ||= (t) => d.value[e.name] = t,
|
|
8141
8153
|
kind: "dateTime"
|
|
8142
|
-
}, null, 8, ["modelValue"])) :
|
|
8154
|
+
}, null, 8, ["modelValue"])) : p(e.item) && !e.item.options ? (C(), i(A(K), {
|
|
8143
8155
|
key: 1,
|
|
8144
|
-
modelValue:
|
|
8145
|
-
"onUpdate:modelValue": r[1] ||= (t) =>
|
|
8146
|
-
}, null, 8, ["modelValue"])) : !e.item.options &&
|
|
8156
|
+
modelValue: d.value[e.name],
|
|
8157
|
+
"onUpdate:modelValue": r[1] ||= (t) => d.value[e.name] = t
|
|
8158
|
+
}, null, 8, ["modelValue"])) : !e.item.options && f(e.item) ? (C(), i(A(K), {
|
|
8147
8159
|
key: 2,
|
|
8148
|
-
modelValue:
|
|
8149
|
-
"onUpdate:modelValue": r[2] ||= (t) =>
|
|
8160
|
+
modelValue: d.value[e.name],
|
|
8161
|
+
"onUpdate:modelValue": r[2] ||= (t) => d.value[e.name] = t,
|
|
8150
8162
|
mask: "integer",
|
|
8151
8163
|
convertToString: !1
|
|
8152
|
-
}, null, 8, ["modelValue"])) :
|
|
8164
|
+
}, null, 8, ["modelValue"])) : m(e.item) ? (C(), i(A(q), {
|
|
8153
8165
|
key: 3,
|
|
8154
|
-
modelValue:
|
|
8155
|
-
"onUpdate:modelValue": r[3] ||= (t) =>
|
|
8156
|
-
}, null, 8, ["modelValue"])) : e.item.options && (
|
|
8166
|
+
modelValue: d.value[e.name],
|
|
8167
|
+
"onUpdate:modelValue": r[3] ||= (t) => d.value[e.name] = t
|
|
8168
|
+
}, null, 8, ["modelValue"])) : e.item.options && (p(e.item) || f(e.item)) ? (C(), i(A(J), {
|
|
8157
8169
|
key: 4,
|
|
8158
|
-
modelValue:
|
|
8159
|
-
"onUpdate:modelValue": r[4] ||= (t) =>
|
|
8160
|
-
items:
|
|
8161
|
-
variant:
|
|
8170
|
+
modelValue: d.value[e.name],
|
|
8171
|
+
"onUpdate:modelValue": r[4] ||= (t) => d.value[e.name] = t,
|
|
8172
|
+
items: g(e.item.options),
|
|
8173
|
+
variant: ye(e.item.options),
|
|
8162
8174
|
nullable: e.item.options.includes(null),
|
|
8163
|
-
convertToString: !
|
|
8175
|
+
convertToString: !p(e.item)
|
|
8164
8176
|
}, null, 8, [
|
|
8165
8177
|
"modelValue",
|
|
8166
8178
|
"items",
|
|
@@ -8168,21 +8180,21 @@ var cr = [
|
|
|
8168
8180
|
"nullable",
|
|
8169
8181
|
"convertToString"
|
|
8170
8182
|
])) : a("", !0),
|
|
8171
|
-
|
|
8183
|
+
c.name === "icon" || c.name === "emptyStateIcon" ? (C(), i(hr, {
|
|
8172
8184
|
key: 5,
|
|
8173
|
-
modelValue:
|
|
8174
|
-
"onUpdate:modelValue": r[5] ||= (t) =>
|
|
8185
|
+
modelValue: d.value[e.name],
|
|
8186
|
+
"onUpdate:modelValue": r[5] ||= (t) => d.value[e.name] = t
|
|
8175
8187
|
}, null, 8, ["modelValue"])) : a("", !0),
|
|
8176
|
-
|
|
8188
|
+
c.name === "index" ? (C(), o(t, { key: 6 }, [u(A(I), {
|
|
8177
8189
|
label: e.texts.edit,
|
|
8178
8190
|
kind: "secondary",
|
|
8179
8191
|
icon: "edit",
|
|
8180
|
-
onClick:
|
|
8192
|
+
onClick: ee
|
|
8181
8193
|
}, null, 8, ["label"]), u(A(Ee), {
|
|
8182
8194
|
ref_key: "indexModal",
|
|
8183
|
-
ref:
|
|
8195
|
+
ref: D,
|
|
8184
8196
|
label: e.texts?.editing,
|
|
8185
|
-
size: "
|
|
8197
|
+
size: "l",
|
|
8186
8198
|
actionDefinitions: [{
|
|
8187
8199
|
id: "save",
|
|
8188
8200
|
name: e.texts.save,
|
|
@@ -8193,30 +8205,45 @@ var cr = [
|
|
|
8193
8205
|
kind: "secondary"
|
|
8194
8206
|
}],
|
|
8195
8207
|
texts: { close: e.texts.close },
|
|
8196
|
-
onActionClick:
|
|
8208
|
+
onActionClick: M
|
|
8197
8209
|
}, {
|
|
8198
|
-
default:
|
|
8210
|
+
default: N(() => [u(A(ne), {
|
|
8199
8211
|
ref_key: "indexList",
|
|
8200
|
-
ref:
|
|
8201
|
-
modelValue:
|
|
8202
|
-
"onUpdate:modelValue": r[6] ||= (e) =>
|
|
8203
|
-
columnCount:
|
|
8212
|
+
ref: j,
|
|
8213
|
+
modelValue: k.value,
|
|
8214
|
+
"onUpdate:modelValue": r[6] ||= (e) => k.value = e,
|
|
8215
|
+
columnCount: 4,
|
|
8204
8216
|
requiredMode: "none",
|
|
8205
|
-
|
|
8217
|
+
readOnly: !0,
|
|
8218
|
+
texts: Ae()
|
|
8206
8219
|
}, {
|
|
8207
|
-
customItem:
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
},
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
"onUpdate:modelValue"
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
+
customItem: N(({ item: e }) => [
|
|
8221
|
+
u(A(W), { label: "id" }, {
|
|
8222
|
+
default: N(() => [s("p", gr, O(e.id), 1)]),
|
|
8223
|
+
_: 2
|
|
8224
|
+
}, 1024),
|
|
8225
|
+
u(A(W), { label: "name" }, {
|
|
8226
|
+
default: N(() => [u(A(K), {
|
|
8227
|
+
modelValue: e.name,
|
|
8228
|
+
"onUpdate:modelValue": (t) => e.name = t
|
|
8229
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8230
|
+
_: 2
|
|
8231
|
+
}, 1024),
|
|
8232
|
+
u(A(W), { label: "invalid" }, {
|
|
8233
|
+
default: N(() => [u(A(q), {
|
|
8234
|
+
modelValue: e.invalid,
|
|
8235
|
+
"onUpdate:modelValue": (t) => e.invalid = t
|
|
8236
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8237
|
+
_: 2
|
|
8238
|
+
}, 1024),
|
|
8239
|
+
u(A(W), { label: "invalidationMessage" }, {
|
|
8240
|
+
default: N(() => [u(A(K), {
|
|
8241
|
+
modelValue: e.invalidationMessage,
|
|
8242
|
+
"onUpdate:modelValue": (t) => e.invalidationMessage = t
|
|
8243
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8244
|
+
_: 2
|
|
8245
|
+
}, 1024)
|
|
8246
|
+
]),
|
|
8220
8247
|
_: 1
|
|
8221
8248
|
}, 8, ["modelValue", "texts"])]),
|
|
8222
8249
|
_: 1
|
|
@@ -8225,14 +8252,14 @@ var cr = [
|
|
|
8225
8252
|
"actionDefinitions",
|
|
8226
8253
|
"texts"
|
|
8227
8254
|
])], 64)) : a("", !0),
|
|
8228
|
-
|
|
8255
|
+
c.name === "actionDefinitions" || c.name === "toolbarActionDefinitions" || c.name === "selectionActionDefinitions" || c.name === "emptyStateActionDefinitions" ? (C(), o(t, { key: 7 }, [u(A(I), {
|
|
8229
8256
|
label: e.texts.edit,
|
|
8230
8257
|
icon: "edit",
|
|
8231
8258
|
kind: "secondary",
|
|
8232
|
-
onClick:
|
|
8259
|
+
onClick: b
|
|
8233
8260
|
}, null, 8, ["label"]), u(A(Ee), {
|
|
8234
8261
|
ref_key: "actionDefinitionsModal",
|
|
8235
|
-
ref:
|
|
8262
|
+
ref: _,
|
|
8236
8263
|
label: e.texts?.editing,
|
|
8237
8264
|
size: "l",
|
|
8238
8265
|
actionDefinitions: [{
|
|
@@ -8245,36 +8272,36 @@ var cr = [
|
|
|
8245
8272
|
kind: "secondary"
|
|
8246
8273
|
}],
|
|
8247
8274
|
texts: { close: e.texts.close },
|
|
8248
|
-
onActionClick:
|
|
8275
|
+
onActionClick: E
|
|
8249
8276
|
}, {
|
|
8250
|
-
default:
|
|
8277
|
+
default: N(() => [c.name === "emptyStateActionDefinitions" || c.name === "actionDefinitions" && (c.componentName === "LxForm" || c.componentName === "LxSection") ? (C(), i(A(ne), {
|
|
8251
8278
|
key: 0,
|
|
8252
8279
|
ref_key: "actionDefList",
|
|
8253
|
-
ref:
|
|
8254
|
-
modelValue:
|
|
8255
|
-
"onUpdate:modelValue": r[7] ||= (e) =>
|
|
8280
|
+
ref: y,
|
|
8281
|
+
modelValue: v.value,
|
|
8282
|
+
"onUpdate:modelValue": r[7] ||= (e) => v.value = e,
|
|
8256
8283
|
columnCount: 8,
|
|
8257
8284
|
requiredMode: "required-asterisk",
|
|
8258
8285
|
toolbarActionDefinitions: [{
|
|
8259
8286
|
id: "advanced",
|
|
8260
8287
|
kind: "toggle",
|
|
8261
|
-
value:
|
|
8288
|
+
value: H.value,
|
|
8262
8289
|
title: e.texts.showAllFields
|
|
8263
8290
|
}],
|
|
8264
|
-
texts:
|
|
8265
|
-
onToolbarActionClick: r[8] ||= (e, t) =>
|
|
8291
|
+
texts: Ae(),
|
|
8292
|
+
onToolbarActionClick: r[8] ||= (e, t) => H.value = t
|
|
8266
8293
|
}, {
|
|
8267
|
-
customItem:
|
|
8294
|
+
customItem: N(({ item: e }) => [
|
|
8268
8295
|
u(A(W), {
|
|
8269
8296
|
label: "id",
|
|
8270
8297
|
columnSpan: "2",
|
|
8271
8298
|
required: !0
|
|
8272
8299
|
}, {
|
|
8273
|
-
default:
|
|
8300
|
+
default: N(() => [u(A(K), {
|
|
8274
8301
|
modelValue: e.id,
|
|
8275
8302
|
"onUpdate:modelValue": (t) => e.id = t,
|
|
8276
|
-
invalid: !!
|
|
8277
|
-
invalidationMessage:
|
|
8303
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.id,
|
|
8304
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.id
|
|
8278
8305
|
}, null, 8, [
|
|
8279
8306
|
"modelValue",
|
|
8280
8307
|
"onUpdate:modelValue",
|
|
@@ -8285,14 +8312,14 @@ var cr = [
|
|
|
8285
8312
|
}, 1024),
|
|
8286
8313
|
u(A(W), {
|
|
8287
8314
|
label: "name",
|
|
8288
|
-
columnSpan:
|
|
8315
|
+
columnSpan: c.name === "emptyStateActionDefinitions" ? "4" : "2",
|
|
8289
8316
|
required: !0
|
|
8290
8317
|
}, {
|
|
8291
|
-
default:
|
|
8318
|
+
default: N(() => [u(A(K), {
|
|
8292
8319
|
modelValue: e.name,
|
|
8293
8320
|
"onUpdate:modelValue": (t) => e.name = t,
|
|
8294
|
-
invalid: !!
|
|
8295
|
-
invalidationMessage:
|
|
8321
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.name,
|
|
8322
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.name
|
|
8296
8323
|
}, null, 8, [
|
|
8297
8324
|
"modelValue",
|
|
8298
8325
|
"onUpdate:modelValue",
|
|
@@ -8305,7 +8332,7 @@ var cr = [
|
|
|
8305
8332
|
label: "icon",
|
|
8306
8333
|
columnSpan: "2"
|
|
8307
8334
|
}, {
|
|
8308
|
-
default:
|
|
8335
|
+
default: N(() => [u(hr, {
|
|
8309
8336
|
modelValue: e.icon,
|
|
8310
8337
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
8311
8338
|
iconSet: e?.iconSet
|
|
@@ -8316,20 +8343,20 @@ var cr = [
|
|
|
8316
8343
|
])]),
|
|
8317
8344
|
_: 2
|
|
8318
8345
|
}, 1024),
|
|
8319
|
-
|
|
8346
|
+
c.name === "emptyStateActionDefinitions" ? a("", !0) : (C(), i(A(W), {
|
|
8320
8347
|
key: 0,
|
|
8321
8348
|
label: "kind",
|
|
8322
8349
|
columnSpan: "2",
|
|
8323
|
-
required: !
|
|
8350
|
+
required: !x.value
|
|
8324
8351
|
}, {
|
|
8325
|
-
default:
|
|
8352
|
+
default: N(() => [u(A(J), {
|
|
8326
8353
|
modelValue: e.kind,
|
|
8327
8354
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
8328
8355
|
variant: "dropdown",
|
|
8329
|
-
items:
|
|
8330
|
-
nullable:
|
|
8331
|
-
invalid: !!
|
|
8332
|
-
invalidationMessage:
|
|
8356
|
+
items: _e.value,
|
|
8357
|
+
nullable: x.value,
|
|
8358
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.kind,
|
|
8359
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.kind
|
|
8333
8360
|
}, null, 8, [
|
|
8334
8361
|
"modelValue",
|
|
8335
8362
|
"onUpdate:modelValue",
|
|
@@ -8340,12 +8367,12 @@ var cr = [
|
|
|
8340
8367
|
])]),
|
|
8341
8368
|
_: 2
|
|
8342
8369
|
}, 1032, ["required"])),
|
|
8343
|
-
|
|
8370
|
+
H.value ? (C(), i(A(W), {
|
|
8344
8371
|
key: 1,
|
|
8345
8372
|
label: "iconSet",
|
|
8346
8373
|
columnSpan: "2"
|
|
8347
8374
|
}, {
|
|
8348
|
-
default:
|
|
8375
|
+
default: N(() => [u(A(J), {
|
|
8349
8376
|
modelValue: e.iconSet,
|
|
8350
8377
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
8351
8378
|
variant: "dropdown",
|
|
@@ -8357,34 +8384,34 @@ var cr = [
|
|
|
8357
8384
|
])]),
|
|
8358
8385
|
_: 2
|
|
8359
8386
|
}, 1024)) : a("", !0),
|
|
8360
|
-
|
|
8387
|
+
H.value ? (C(), i(A(W), {
|
|
8361
8388
|
key: 2,
|
|
8362
8389
|
label: "title",
|
|
8363
8390
|
columnSpan: "2"
|
|
8364
8391
|
}, {
|
|
8365
|
-
default:
|
|
8392
|
+
default: N(() => [u(A(K), {
|
|
8366
8393
|
modelValue: e.title,
|
|
8367
8394
|
"onUpdate:modelValue": (t) => e.title = t
|
|
8368
8395
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8369
8396
|
_: 2
|
|
8370
8397
|
}, 1024)) : a("", !0),
|
|
8371
|
-
|
|
8398
|
+
H.value ? (C(), i(A(W), {
|
|
8372
8399
|
key: 3,
|
|
8373
8400
|
label: "badge",
|
|
8374
8401
|
columnSpan: "2"
|
|
8375
8402
|
}, {
|
|
8376
|
-
default:
|
|
8403
|
+
default: N(() => [u(A(K), {
|
|
8377
8404
|
modelValue: e.badge,
|
|
8378
8405
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
8379
8406
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8380
8407
|
_: 2
|
|
8381
8408
|
}, 1024)) : a("", !0),
|
|
8382
|
-
|
|
8409
|
+
H.value ? (C(), i(A(W), {
|
|
8383
8410
|
key: 4,
|
|
8384
8411
|
label: "badgeType",
|
|
8385
8412
|
columnSpan: "2"
|
|
8386
8413
|
}, {
|
|
8387
|
-
default:
|
|
8414
|
+
default: N(() => [u(A(J), {
|
|
8388
8415
|
modelValue: e.badgeType,
|
|
8389
8416
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
8390
8417
|
variant: "dropdown",
|
|
@@ -8396,63 +8423,63 @@ var cr = [
|
|
|
8396
8423
|
])]),
|
|
8397
8424
|
_: 2
|
|
8398
8425
|
}, 1024)) : a("", !0),
|
|
8399
|
-
|
|
8426
|
+
H.value ? (C(), i(A(W), {
|
|
8400
8427
|
key: 5,
|
|
8401
8428
|
label: "badgeIcon",
|
|
8402
8429
|
columnSpan: "2"
|
|
8403
8430
|
}, {
|
|
8404
|
-
default:
|
|
8431
|
+
default: N(() => [u(hr, {
|
|
8405
8432
|
modelValue: e.badgeIcon,
|
|
8406
8433
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
8407
8434
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8408
8435
|
_: 2
|
|
8409
8436
|
}, 1024)) : a("", !0),
|
|
8410
|
-
|
|
8437
|
+
H.value ? (C(), i(A(W), {
|
|
8411
8438
|
key: 6,
|
|
8412
8439
|
label: "badgeTitle",
|
|
8413
8440
|
columnSpan: "2"
|
|
8414
8441
|
}, {
|
|
8415
|
-
default:
|
|
8442
|
+
default: N(() => [u(A(K), {
|
|
8416
8443
|
modelValue: e.badgeTitle,
|
|
8417
8444
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
8418
8445
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8419
8446
|
_: 2
|
|
8420
8447
|
}, 1024)) : a("", !0),
|
|
8421
|
-
|
|
8448
|
+
H.value ? (C(), i(A(W), {
|
|
8422
8449
|
key: 7,
|
|
8423
8450
|
label: "destructive"
|
|
8424
8451
|
}, {
|
|
8425
|
-
default:
|
|
8452
|
+
default: N(() => [u(A(q), {
|
|
8426
8453
|
modelValue: e.destructive,
|
|
8427
8454
|
"onUpdate:modelValue": (t) => e.destructive = t
|
|
8428
8455
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8429
8456
|
_: 2
|
|
8430
8457
|
}, 1024)) : a("", !0),
|
|
8431
|
-
|
|
8458
|
+
H.value ? (C(), i(A(W), {
|
|
8432
8459
|
key: 8,
|
|
8433
8460
|
label: "disabled"
|
|
8434
8461
|
}, {
|
|
8435
|
-
default:
|
|
8462
|
+
default: N(() => [u(A(q), {
|
|
8436
8463
|
modelValue: e.disabled,
|
|
8437
8464
|
"onUpdate:modelValue": (t) => e.disabled = t
|
|
8438
8465
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8439
8466
|
_: 2
|
|
8440
8467
|
}, 1024)) : a("", !0),
|
|
8441
|
-
|
|
8468
|
+
H.value ? (C(), i(A(W), {
|
|
8442
8469
|
key: 9,
|
|
8443
8470
|
label: "loading"
|
|
8444
8471
|
}, {
|
|
8445
|
-
default:
|
|
8472
|
+
default: N(() => [u(A(q), {
|
|
8446
8473
|
modelValue: e.loading,
|
|
8447
8474
|
"onUpdate:modelValue": (t) => e.loading = t
|
|
8448
8475
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8449
8476
|
_: 2
|
|
8450
8477
|
}, 1024)) : a("", !0),
|
|
8451
|
-
|
|
8478
|
+
H.value ? (C(), i(A(W), {
|
|
8452
8479
|
key: 10,
|
|
8453
8480
|
label: "busy"
|
|
8454
8481
|
}, {
|
|
8455
|
-
default:
|
|
8482
|
+
default: N(() => [u(A(q), {
|
|
8456
8483
|
modelValue: e.busy,
|
|
8457
8484
|
"onUpdate:modelValue": (t) => e.busy = t
|
|
8458
8485
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -8464,34 +8491,34 @@ var cr = [
|
|
|
8464
8491
|
"modelValue",
|
|
8465
8492
|
"toolbarActionDefinitions",
|
|
8466
8493
|
"texts"
|
|
8467
|
-
])) : a("", !0),
|
|
8494
|
+
])) : a("", !0), c.name === "actionDefinitions" && (c.componentName === "LxList" || c.componentName === "LxDataGrid") ? (C(), i(A(ne), {
|
|
8468
8495
|
key: 1,
|
|
8469
8496
|
ref_key: "actionDefList",
|
|
8470
|
-
ref:
|
|
8471
|
-
modelValue:
|
|
8472
|
-
"onUpdate:modelValue": r[9] ||= (e) =>
|
|
8497
|
+
ref: y,
|
|
8498
|
+
modelValue: v.value,
|
|
8499
|
+
"onUpdate:modelValue": r[9] ||= (e) => v.value = e,
|
|
8473
8500
|
columnCount: 8,
|
|
8474
8501
|
requiredMode: "required-asterisk",
|
|
8475
8502
|
toolbarActionDefinitions: [{
|
|
8476
8503
|
id: "advanced",
|
|
8477
8504
|
kind: "toggle",
|
|
8478
|
-
value:
|
|
8505
|
+
value: De.value,
|
|
8479
8506
|
title: e.texts.showAllFields
|
|
8480
8507
|
}],
|
|
8481
|
-
texts:
|
|
8482
|
-
onToolbarActionClick: r[10] ||= (e, t) =>
|
|
8508
|
+
texts: Ae(),
|
|
8509
|
+
onToolbarActionClick: r[10] ||= (e, t) => De.value = t
|
|
8483
8510
|
}, {
|
|
8484
|
-
customItem:
|
|
8511
|
+
customItem: N(({ item: e }) => [
|
|
8485
8512
|
u(A(W), {
|
|
8486
8513
|
label: "id",
|
|
8487
8514
|
columnSpan: "2",
|
|
8488
8515
|
required: !0
|
|
8489
8516
|
}, {
|
|
8490
|
-
default:
|
|
8517
|
+
default: N(() => [u(A(K), {
|
|
8491
8518
|
modelValue: e.id,
|
|
8492
8519
|
"onUpdate:modelValue": (t) => e.id = t,
|
|
8493
|
-
invalid: !!
|
|
8494
|
-
invalidationMessage:
|
|
8520
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.id,
|
|
8521
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.id
|
|
8495
8522
|
}, null, 8, [
|
|
8496
8523
|
"modelValue",
|
|
8497
8524
|
"onUpdate:modelValue",
|
|
@@ -8505,11 +8532,11 @@ var cr = [
|
|
|
8505
8532
|
columnSpan: "2",
|
|
8506
8533
|
required: !0
|
|
8507
8534
|
}, {
|
|
8508
|
-
default:
|
|
8535
|
+
default: N(() => [u(A(K), {
|
|
8509
8536
|
modelValue: e.name,
|
|
8510
8537
|
"onUpdate:modelValue": (t) => e.name = t,
|
|
8511
|
-
invalid: !!
|
|
8512
|
-
invalidationMessage:
|
|
8538
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.name,
|
|
8539
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.name
|
|
8513
8540
|
}, null, 8, [
|
|
8514
8541
|
"modelValue",
|
|
8515
8542
|
"onUpdate:modelValue",
|
|
@@ -8522,7 +8549,7 @@ var cr = [
|
|
|
8522
8549
|
label: "icon",
|
|
8523
8550
|
columnSpan: "2"
|
|
8524
8551
|
}, {
|
|
8525
|
-
default:
|
|
8552
|
+
default: N(() => [u(hr, {
|
|
8526
8553
|
modelValue: e.icon,
|
|
8527
8554
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
8528
8555
|
iconSet: e?.iconSet
|
|
@@ -8536,16 +8563,16 @@ var cr = [
|
|
|
8536
8563
|
u(A(W), {
|
|
8537
8564
|
label: "kind",
|
|
8538
8565
|
columnSpan: "2",
|
|
8539
|
-
required: !
|
|
8566
|
+
required: !x.value
|
|
8540
8567
|
}, {
|
|
8541
|
-
default:
|
|
8568
|
+
default: N(() => [u(A(J), {
|
|
8542
8569
|
modelValue: e.kind,
|
|
8543
8570
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
8544
8571
|
variant: "dropdown",
|
|
8545
|
-
items:
|
|
8546
|
-
nullable:
|
|
8547
|
-
invalid: !!
|
|
8548
|
-
invalidationMessage:
|
|
8572
|
+
items: _e.value,
|
|
8573
|
+
nullable: x.value,
|
|
8574
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.kind,
|
|
8575
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.kind
|
|
8549
8576
|
}, null, 8, [
|
|
8550
8577
|
"modelValue",
|
|
8551
8578
|
"onUpdate:modelValue",
|
|
@@ -8556,12 +8583,12 @@ var cr = [
|
|
|
8556
8583
|
])]),
|
|
8557
8584
|
_: 2
|
|
8558
8585
|
}, 1032, ["required"]),
|
|
8559
|
-
|
|
8586
|
+
De.value ? (C(), i(A(W), {
|
|
8560
8587
|
key: 0,
|
|
8561
8588
|
label: "iconSet",
|
|
8562
8589
|
columnSpan: "2"
|
|
8563
8590
|
}, {
|
|
8564
|
-
default:
|
|
8591
|
+
default: N(() => [u(A(J), {
|
|
8565
8592
|
modelValue: e.iconSet,
|
|
8566
8593
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
8567
8594
|
variant: "dropdown",
|
|
@@ -8573,45 +8600,45 @@ var cr = [
|
|
|
8573
8600
|
])]),
|
|
8574
8601
|
_: 2
|
|
8575
8602
|
}, 1024)) : a("", !0),
|
|
8576
|
-
|
|
8603
|
+
De.value ? (C(), i(A(W), {
|
|
8577
8604
|
key: 1,
|
|
8578
8605
|
label: "title",
|
|
8579
8606
|
columnSpan: "2"
|
|
8580
8607
|
}, {
|
|
8581
|
-
default:
|
|
8608
|
+
default: N(() => [u(A(K), {
|
|
8582
8609
|
modelValue: e.title,
|
|
8583
8610
|
"onUpdate:modelValue": (t) => e.title = t
|
|
8584
8611
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8585
8612
|
_: 2
|
|
8586
8613
|
}, 1024)) : a("", !0),
|
|
8587
|
-
|
|
8614
|
+
De.value ? (C(), i(A(W), {
|
|
8588
8615
|
key: 2,
|
|
8589
8616
|
label: "enableByAttribute",
|
|
8590
8617
|
columnSpan: "2"
|
|
8591
8618
|
}, {
|
|
8592
|
-
default:
|
|
8619
|
+
default: N(() => [u(A(K), {
|
|
8593
8620
|
modelValue: e.enableByAttribute,
|
|
8594
8621
|
"onUpdate:modelValue": (t) => e.enableByAttribute = t
|
|
8595
8622
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8596
8623
|
_: 2
|
|
8597
8624
|
}, 1024)) : a("", !0),
|
|
8598
|
-
|
|
8625
|
+
De.value ? (C(), i(A(W), {
|
|
8599
8626
|
key: 3,
|
|
8600
8627
|
label: "visibleByAttribute",
|
|
8601
8628
|
columnSpan: "2"
|
|
8602
8629
|
}, {
|
|
8603
|
-
default:
|
|
8630
|
+
default: N(() => [u(A(K), {
|
|
8604
8631
|
modelValue: e.visibleByAttribute,
|
|
8605
8632
|
"onUpdate:modelValue": (t) => e.visibleByAttribute = t
|
|
8606
8633
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8607
8634
|
_: 2
|
|
8608
8635
|
}, 1024)) : a("", !0),
|
|
8609
|
-
|
|
8636
|
+
De.value ? (C(), i(A(W), {
|
|
8610
8637
|
key: 4,
|
|
8611
8638
|
label: "badgeType",
|
|
8612
8639
|
columnSpan: "2"
|
|
8613
8640
|
}, {
|
|
8614
|
-
default:
|
|
8641
|
+
default: N(() => [u(A(J), {
|
|
8615
8642
|
modelValue: e.badgeType,
|
|
8616
8643
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
8617
8644
|
variant: "dropdown",
|
|
@@ -8623,74 +8650,74 @@ var cr = [
|
|
|
8623
8650
|
])]),
|
|
8624
8651
|
_: 2
|
|
8625
8652
|
}, 1024)) : a("", !0),
|
|
8626
|
-
|
|
8653
|
+
De.value ? (C(), i(A(W), {
|
|
8627
8654
|
key: 5,
|
|
8628
8655
|
label: "badge",
|
|
8629
8656
|
columnSpan: "2"
|
|
8630
8657
|
}, {
|
|
8631
|
-
default:
|
|
8658
|
+
default: N(() => [u(A(K), {
|
|
8632
8659
|
modelValue: e.badge,
|
|
8633
8660
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
8634
8661
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8635
8662
|
_: 2
|
|
8636
8663
|
}, 1024)) : a("", !0),
|
|
8637
|
-
|
|
8664
|
+
De.value ? (C(), i(A(W), {
|
|
8638
8665
|
key: 6,
|
|
8639
8666
|
label: "badgeIcon",
|
|
8640
8667
|
columnSpan: "2"
|
|
8641
8668
|
}, {
|
|
8642
|
-
default:
|
|
8669
|
+
default: N(() => [u(hr, {
|
|
8643
8670
|
modelValue: e.badgeIcon,
|
|
8644
8671
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
8645
8672
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8646
8673
|
_: 2
|
|
8647
8674
|
}, 1024)) : a("", !0),
|
|
8648
|
-
|
|
8675
|
+
De.value ? (C(), i(A(W), {
|
|
8649
8676
|
key: 7,
|
|
8650
8677
|
label: "badgeTitle",
|
|
8651
8678
|
columnSpan: "2"
|
|
8652
8679
|
}, {
|
|
8653
|
-
default:
|
|
8680
|
+
default: N(() => [u(A(K), {
|
|
8654
8681
|
modelValue: e.badgeTitle,
|
|
8655
8682
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
8656
8683
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8657
8684
|
_: 2
|
|
8658
8685
|
}, 1024)) : a("", !0),
|
|
8659
|
-
|
|
8686
|
+
De.value ? (C(), i(A(W), {
|
|
8660
8687
|
key: 8,
|
|
8661
8688
|
label: "destructive"
|
|
8662
8689
|
}, {
|
|
8663
|
-
default:
|
|
8690
|
+
default: N(() => [u(A(q), {
|
|
8664
8691
|
modelValue: e.destructive,
|
|
8665
8692
|
"onUpdate:modelValue": (t) => e.destructive = t
|
|
8666
8693
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8667
8694
|
_: 2
|
|
8668
8695
|
}, 1024)) : a("", !0),
|
|
8669
|
-
|
|
8696
|
+
De.value ? (C(), i(A(W), {
|
|
8670
8697
|
key: 9,
|
|
8671
8698
|
label: "disabled"
|
|
8672
8699
|
}, {
|
|
8673
|
-
default:
|
|
8700
|
+
default: N(() => [u(A(q), {
|
|
8674
8701
|
modelValue: e.disabled,
|
|
8675
8702
|
"onUpdate:modelValue": (t) => e.disabled = t
|
|
8676
8703
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8677
8704
|
_: 2
|
|
8678
8705
|
}, 1024)) : a("", !0),
|
|
8679
|
-
|
|
8706
|
+
De.value ? (C(), i(A(W), {
|
|
8680
8707
|
key: 10,
|
|
8681
8708
|
label: "loading"
|
|
8682
8709
|
}, {
|
|
8683
|
-
default:
|
|
8710
|
+
default: N(() => [u(A(q), {
|
|
8684
8711
|
modelValue: e.loading,
|
|
8685
8712
|
"onUpdate:modelValue": (t) => e.loading = t
|
|
8686
8713
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8687
8714
|
_: 2
|
|
8688
8715
|
}, 1024)) : a("", !0),
|
|
8689
|
-
|
|
8716
|
+
De.value ? (C(), i(A(W), {
|
|
8690
8717
|
key: 11,
|
|
8691
8718
|
label: "busy"
|
|
8692
8719
|
}, {
|
|
8693
|
-
default:
|
|
8720
|
+
default: N(() => [u(A(q), {
|
|
8694
8721
|
modelValue: e.busy,
|
|
8695
8722
|
"onUpdate:modelValue": (t) => e.busy = t
|
|
8696
8723
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -8702,34 +8729,34 @@ var cr = [
|
|
|
8702
8729
|
"modelValue",
|
|
8703
8730
|
"toolbarActionDefinitions",
|
|
8704
8731
|
"texts"
|
|
8705
|
-
])) :
|
|
8732
|
+
])) : x.value ? (C(), i(A(ne), {
|
|
8706
8733
|
key: 2,
|
|
8707
8734
|
ref_key: "actionDefList",
|
|
8708
|
-
ref:
|
|
8709
|
-
modelValue:
|
|
8710
|
-
"onUpdate:modelValue": r[11] ||= (e) =>
|
|
8735
|
+
ref: y,
|
|
8736
|
+
modelValue: v.value,
|
|
8737
|
+
"onUpdate:modelValue": r[11] ||= (e) => v.value = e,
|
|
8711
8738
|
columnCount: 8,
|
|
8712
8739
|
requiredMode: "required-asterisk",
|
|
8713
8740
|
toolbarActionDefinitions: [{
|
|
8714
8741
|
id: "advanced",
|
|
8715
8742
|
kind: "toggle",
|
|
8716
|
-
value:
|
|
8743
|
+
value: U.value,
|
|
8717
8744
|
title: e.texts.showAllFields
|
|
8718
8745
|
}],
|
|
8719
|
-
texts:
|
|
8720
|
-
onToolbarActionClick: r[12] ||= (e, t) =>
|
|
8746
|
+
texts: Ae(),
|
|
8747
|
+
onToolbarActionClick: r[12] ||= (e, t) => U.value = t
|
|
8721
8748
|
}, {
|
|
8722
|
-
customItem:
|
|
8749
|
+
customItem: N(({ item: e }) => [
|
|
8723
8750
|
u(A(W), {
|
|
8724
8751
|
label: "id",
|
|
8725
8752
|
columnSpan: "2",
|
|
8726
8753
|
required: !0
|
|
8727
8754
|
}, {
|
|
8728
|
-
default:
|
|
8755
|
+
default: N(() => [u(A(K), {
|
|
8729
8756
|
modelValue: e.id,
|
|
8730
8757
|
"onUpdate:modelValue": (t) => e.id = t,
|
|
8731
|
-
invalid: !!
|
|
8732
|
-
invalidationMessage:
|
|
8758
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.id,
|
|
8759
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.id
|
|
8733
8760
|
}, null, 8, [
|
|
8734
8761
|
"modelValue",
|
|
8735
8762
|
"onUpdate:modelValue",
|
|
@@ -8743,11 +8770,11 @@ var cr = [
|
|
|
8743
8770
|
columnSpan: "2",
|
|
8744
8771
|
required: !0
|
|
8745
8772
|
}, {
|
|
8746
|
-
default:
|
|
8773
|
+
default: N(() => [u(A(K), {
|
|
8747
8774
|
modelValue: e.name,
|
|
8748
8775
|
"onUpdate:modelValue": (t) => e.name = t,
|
|
8749
|
-
invalid: !!
|
|
8750
|
-
invalidationMessage:
|
|
8776
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.name,
|
|
8777
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.name
|
|
8751
8778
|
}, null, 8, [
|
|
8752
8779
|
"modelValue",
|
|
8753
8780
|
"onUpdate:modelValue",
|
|
@@ -8760,7 +8787,7 @@ var cr = [
|
|
|
8760
8787
|
label: "icon",
|
|
8761
8788
|
columnSpan: "2"
|
|
8762
8789
|
}, {
|
|
8763
|
-
default:
|
|
8790
|
+
default: N(() => [u(hr, {
|
|
8764
8791
|
modelValue: e.icon,
|
|
8765
8792
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
8766
8793
|
iconSet: e?.iconSet
|
|
@@ -8774,16 +8801,16 @@ var cr = [
|
|
|
8774
8801
|
u(A(W), {
|
|
8775
8802
|
label: "kind",
|
|
8776
8803
|
columnSpan: "2",
|
|
8777
|
-
required: !
|
|
8804
|
+
required: !x.value
|
|
8778
8805
|
}, {
|
|
8779
|
-
default:
|
|
8806
|
+
default: N(() => [u(A(J), {
|
|
8780
8807
|
modelValue: e.kind,
|
|
8781
8808
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
8782
8809
|
variant: "dropdown",
|
|
8783
|
-
items:
|
|
8784
|
-
nullable:
|
|
8785
|
-
invalid: !!
|
|
8786
|
-
invalidationMessage:
|
|
8810
|
+
items: _e.value,
|
|
8811
|
+
nullable: x.value,
|
|
8812
|
+
invalid: !!S.value?.[e?._lx_appendableKey]?.kind,
|
|
8813
|
+
invalidationMessage: S.value?.[e?._lx_appendableKey]?.kind
|
|
8787
8814
|
}, null, 8, [
|
|
8788
8815
|
"modelValue",
|
|
8789
8816
|
"onUpdate:modelValue",
|
|
@@ -8794,12 +8821,12 @@ var cr = [
|
|
|
8794
8821
|
])]),
|
|
8795
8822
|
_: 2
|
|
8796
8823
|
}, 1032, ["required"]),
|
|
8797
|
-
|
|
8824
|
+
U.value ? (C(), i(A(W), {
|
|
8798
8825
|
key: 0,
|
|
8799
8826
|
label: "iconSet",
|
|
8800
8827
|
columnSpan: "2"
|
|
8801
8828
|
}, {
|
|
8802
|
-
default:
|
|
8829
|
+
default: N(() => [u(A(J), {
|
|
8803
8830
|
modelValue: e.iconSet,
|
|
8804
8831
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
8805
8832
|
variant: "dropdown",
|
|
@@ -8811,23 +8838,23 @@ var cr = [
|
|
|
8811
8838
|
])]),
|
|
8812
8839
|
_: 2
|
|
8813
8840
|
}, 1024)) : a("", !0),
|
|
8814
|
-
|
|
8841
|
+
U.value ? (C(), i(A(W), {
|
|
8815
8842
|
key: 1,
|
|
8816
8843
|
label: "title",
|
|
8817
8844
|
columnSpan: "2"
|
|
8818
8845
|
}, {
|
|
8819
|
-
default:
|
|
8846
|
+
default: N(() => [u(A(K), {
|
|
8820
8847
|
modelValue: e.title,
|
|
8821
8848
|
"onUpdate:modelValue": (t) => e.title = t
|
|
8822
8849
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8823
8850
|
_: 2
|
|
8824
8851
|
}, 1024)) : a("", !0),
|
|
8825
|
-
|
|
8852
|
+
U.value ? (C(), i(A(W), {
|
|
8826
8853
|
key: 2,
|
|
8827
8854
|
label: "area",
|
|
8828
8855
|
columnSpan: "2"
|
|
8829
8856
|
}, {
|
|
8830
|
-
default:
|
|
8857
|
+
default: N(() => [u(A(J), {
|
|
8831
8858
|
modelValue: e.area,
|
|
8832
8859
|
"onUpdate:modelValue": (t) => e.area = t,
|
|
8833
8860
|
items: [{
|
|
@@ -8842,23 +8869,23 @@ var cr = [
|
|
|
8842
8869
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8843
8870
|
_: 2
|
|
8844
8871
|
}, 1024)) : a("", !0),
|
|
8845
|
-
|
|
8872
|
+
U.value ? (C(), i(A(W), {
|
|
8846
8873
|
key: 3,
|
|
8847
8874
|
label: "value",
|
|
8848
8875
|
columnSpan: "2"
|
|
8849
8876
|
}, {
|
|
8850
|
-
default:
|
|
8877
|
+
default: N(() => [u(A(q), {
|
|
8851
8878
|
modelValue: e.value,
|
|
8852
8879
|
"onUpdate:modelValue": (t) => e.value = t
|
|
8853
8880
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8854
8881
|
_: 2
|
|
8855
8882
|
}, 1024)) : a("", !0),
|
|
8856
|
-
|
|
8883
|
+
U.value ? (C(), i(A(W), {
|
|
8857
8884
|
key: 4,
|
|
8858
8885
|
label: "badgeType",
|
|
8859
8886
|
columnSpan: "2"
|
|
8860
8887
|
}, {
|
|
8861
|
-
default:
|
|
8888
|
+
default: N(() => [u(A(J), {
|
|
8862
8889
|
modelValue: e.badgeType,
|
|
8863
8890
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
8864
8891
|
variant: "dropdown",
|
|
@@ -8870,67 +8897,67 @@ var cr = [
|
|
|
8870
8897
|
])]),
|
|
8871
8898
|
_: 2
|
|
8872
8899
|
}, 1024)) : a("", !0),
|
|
8873
|
-
|
|
8900
|
+
U.value ? (C(), i(A(W), {
|
|
8874
8901
|
key: 5,
|
|
8875
8902
|
label: "badge",
|
|
8876
8903
|
columnSpan: "2"
|
|
8877
8904
|
}, {
|
|
8878
|
-
default:
|
|
8905
|
+
default: N(() => [u(A(K), {
|
|
8879
8906
|
modelValue: e.badge,
|
|
8880
8907
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
8881
8908
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8882
8909
|
_: 2
|
|
8883
8910
|
}, 1024)) : a("", !0),
|
|
8884
|
-
|
|
8911
|
+
U.value ? (C(), i(A(W), {
|
|
8885
8912
|
key: 6,
|
|
8886
8913
|
label: "badgeIcon",
|
|
8887
8914
|
columnSpan: "2"
|
|
8888
8915
|
}, {
|
|
8889
|
-
default:
|
|
8916
|
+
default: N(() => [u(hr, {
|
|
8890
8917
|
modelValue: e.badgeIcon,
|
|
8891
8918
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
8892
8919
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8893
8920
|
_: 2
|
|
8894
8921
|
}, 1024)) : a("", !0),
|
|
8895
|
-
|
|
8922
|
+
U.value ? (C(), i(A(W), {
|
|
8896
8923
|
key: 7,
|
|
8897
8924
|
label: "badgeTitle",
|
|
8898
8925
|
columnSpan: "2"
|
|
8899
8926
|
}, {
|
|
8900
|
-
default:
|
|
8927
|
+
default: N(() => [u(A(K), {
|
|
8901
8928
|
modelValue: e.badgeTitle,
|
|
8902
8929
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
8903
8930
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8904
8931
|
_: 2
|
|
8905
8932
|
}, 1024)) : a("", !0),
|
|
8906
|
-
|
|
8933
|
+
U.value ? (C(), i(A(W), {
|
|
8907
8934
|
key: 8,
|
|
8908
8935
|
label: "groupId",
|
|
8909
8936
|
columnSpan: "2"
|
|
8910
8937
|
}, {
|
|
8911
|
-
default:
|
|
8938
|
+
default: N(() => [u(A(K), {
|
|
8912
8939
|
modelValue: e.groupId,
|
|
8913
8940
|
"onUpdate:modelValue": (t) => e.groupId = t
|
|
8914
8941
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8915
8942
|
_: 2
|
|
8916
8943
|
}, 1024)) : a("", !0),
|
|
8917
|
-
|
|
8944
|
+
U.value ? (C(), i(A(W), {
|
|
8918
8945
|
key: 9,
|
|
8919
8946
|
label: "nestedGroupId",
|
|
8920
8947
|
columnSpan: "2"
|
|
8921
8948
|
}, {
|
|
8922
|
-
default:
|
|
8949
|
+
default: N(() => [u(A(K), {
|
|
8923
8950
|
modelValue: e.nestedGroupId,
|
|
8924
8951
|
"onUpdate:modelValue": (t) => e.nestedGroupId = t
|
|
8925
8952
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8926
8953
|
_: 2
|
|
8927
8954
|
}, 1024)) : a("", !0),
|
|
8928
|
-
|
|
8955
|
+
U.value ? (C(), i(A(W), {
|
|
8929
8956
|
key: 10,
|
|
8930
8957
|
label: "priority",
|
|
8931
8958
|
columnSpan: "2"
|
|
8932
8959
|
}, {
|
|
8933
|
-
default:
|
|
8960
|
+
default: N(() => [u(A(K), {
|
|
8934
8961
|
modelValue: e.priority,
|
|
8935
8962
|
"onUpdate:modelValue": (t) => e.priority = t,
|
|
8936
8963
|
mask: "integer",
|
|
@@ -8938,52 +8965,52 @@ var cr = [
|
|
|
8938
8965
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8939
8966
|
_: 2
|
|
8940
8967
|
}, 1024)) : a("", !0),
|
|
8941
|
-
|
|
8968
|
+
U.value ? (C(), i(A(W), {
|
|
8942
8969
|
key: 11,
|
|
8943
8970
|
label: "nonResponsive",
|
|
8944
8971
|
columnSpan: "2"
|
|
8945
8972
|
}, {
|
|
8946
|
-
default:
|
|
8973
|
+
default: N(() => [u(A(q), {
|
|
8947
8974
|
modelValue: e.nonResponsive,
|
|
8948
8975
|
"onUpdate:modelValue": (t) => e.nonResponsive = t
|
|
8949
8976
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8950
8977
|
_: 2
|
|
8951
8978
|
}, 1024)) : a("", !0),
|
|
8952
|
-
|
|
8979
|
+
U.value ? (C(), i(A(W), {
|
|
8953
8980
|
key: 12,
|
|
8954
8981
|
label: "destructive"
|
|
8955
8982
|
}, {
|
|
8956
|
-
default:
|
|
8983
|
+
default: N(() => [u(A(q), {
|
|
8957
8984
|
modelValue: e.destructive,
|
|
8958
8985
|
"onUpdate:modelValue": (t) => e.destructive = t
|
|
8959
8986
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8960
8987
|
_: 2
|
|
8961
8988
|
}, 1024)) : a("", !0),
|
|
8962
|
-
|
|
8989
|
+
U.value ? (C(), i(A(W), {
|
|
8963
8990
|
key: 13,
|
|
8964
8991
|
label: "disabled"
|
|
8965
8992
|
}, {
|
|
8966
|
-
default:
|
|
8993
|
+
default: N(() => [u(A(q), {
|
|
8967
8994
|
modelValue: e.disabled,
|
|
8968
8995
|
"onUpdate:modelValue": (t) => e.disabled = t
|
|
8969
8996
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8970
8997
|
_: 2
|
|
8971
8998
|
}, 1024)) : a("", !0),
|
|
8972
|
-
|
|
8999
|
+
U.value ? (C(), i(A(W), {
|
|
8973
9000
|
key: 14,
|
|
8974
9001
|
label: "loading"
|
|
8975
9002
|
}, {
|
|
8976
|
-
default:
|
|
9003
|
+
default: N(() => [u(A(q), {
|
|
8977
9004
|
modelValue: e.loading,
|
|
8978
9005
|
"onUpdate:modelValue": (t) => e.loading = t
|
|
8979
9006
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
8980
9007
|
_: 2
|
|
8981
9008
|
}, 1024)) : a("", !0),
|
|
8982
|
-
|
|
9009
|
+
U.value ? (C(), i(A(W), {
|
|
8983
9010
|
key: 15,
|
|
8984
9011
|
label: "busy"
|
|
8985
9012
|
}, {
|
|
8986
|
-
default:
|
|
9013
|
+
default: N(() => [u(A(q), {
|
|
8987
9014
|
modelValue: e.busy,
|
|
8988
9015
|
"onUpdate:modelValue": (t) => e.busy = t
|
|
8989
9016
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9002,14 +9029,14 @@ var cr = [
|
|
|
9002
9029
|
"actionDefinitions",
|
|
9003
9030
|
"texts"
|
|
9004
9031
|
])], 64)) : a("", !0),
|
|
9005
|
-
|
|
9032
|
+
c.name === "items" ? (C(), o(t, { key: 8 }, [u(A(I), {
|
|
9006
9033
|
label: e.texts.edit,
|
|
9007
9034
|
icon: "edit",
|
|
9008
9035
|
kind: "secondary",
|
|
9009
|
-
onClick:
|
|
9036
|
+
onClick: R
|
|
9010
9037
|
}, null, 8, ["label"]), u(A(Ee), {
|
|
9011
9038
|
ref_key: "itemsModal",
|
|
9012
|
-
ref:
|
|
9039
|
+
ref: te,
|
|
9013
9040
|
label: e.texts?.editing,
|
|
9014
9041
|
size: "l",
|
|
9015
9042
|
actionDefinitions: [{
|
|
@@ -9022,35 +9049,35 @@ var cr = [
|
|
|
9022
9049
|
kind: "secondary"
|
|
9023
9050
|
}],
|
|
9024
9051
|
texts: { close: e.texts.close },
|
|
9025
|
-
onActionClick:
|
|
9052
|
+
onActionClick: ae
|
|
9026
9053
|
}, {
|
|
9027
|
-
default:
|
|
9054
|
+
default: N(() => [e.componentName === "LxList" || e.componentName === "LxDataGrid" ? (C(), i(A(Pe), {
|
|
9028
9055
|
key: 0,
|
|
9029
|
-
modelValue:
|
|
9030
|
-
"onUpdate:modelValue": r[13] ||= (e) =>
|
|
9056
|
+
modelValue: P.value,
|
|
9057
|
+
"onUpdate:modelValue": r[13] ||= (e) => P.value = e,
|
|
9031
9058
|
rows: 20,
|
|
9032
|
-
invalid: !!
|
|
9033
|
-
invalidationMessage:
|
|
9059
|
+
invalid: !!L.value,
|
|
9060
|
+
invalidationMessage: L.value
|
|
9034
9061
|
}, null, 8, [
|
|
9035
9062
|
"modelValue",
|
|
9036
9063
|
"invalid",
|
|
9037
9064
|
"invalidationMessage"
|
|
9038
|
-
])) : (C(), i(A(
|
|
9065
|
+
])) : (C(), i(A(ne), {
|
|
9039
9066
|
key: 1,
|
|
9040
9067
|
ref_key: "itemsList",
|
|
9041
|
-
ref:
|
|
9042
|
-
modelValue:
|
|
9043
|
-
"onUpdate:modelValue": r[14] ||= (e) =>
|
|
9068
|
+
ref: F,
|
|
9069
|
+
modelValue: P.value,
|
|
9070
|
+
"onUpdate:modelValue": r[14] ||= (e) => P.value = e,
|
|
9044
9071
|
columnCount: 4,
|
|
9045
9072
|
requiredMode: "required-asterisk",
|
|
9046
|
-
texts:
|
|
9073
|
+
texts: Ae()
|
|
9047
9074
|
}, {
|
|
9048
|
-
customItem:
|
|
9075
|
+
customItem: N(({ item: n }) => [e.componentName === "LxContentSwitcher" ? (C(), o(t, { key: 0 }, [
|
|
9049
9076
|
u(A(W), {
|
|
9050
9077
|
label: "id",
|
|
9051
9078
|
required: !0
|
|
9052
9079
|
}, {
|
|
9053
|
-
default:
|
|
9080
|
+
default: N(() => [u(A(K), {
|
|
9054
9081
|
modelValue: n.id,
|
|
9055
9082
|
"onUpdate:modelValue": (e) => n.id = e
|
|
9056
9083
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9060,14 +9087,14 @@ var cr = [
|
|
|
9060
9087
|
label: "name",
|
|
9061
9088
|
required: !0
|
|
9062
9089
|
}, {
|
|
9063
|
-
default:
|
|
9090
|
+
default: N(() => [u(A(K), {
|
|
9064
9091
|
modelValue: n.name,
|
|
9065
9092
|
"onUpdate:modelValue": (e) => n.name = e
|
|
9066
9093
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9067
9094
|
_: 2
|
|
9068
9095
|
}, 1024),
|
|
9069
9096
|
u(A(W), { label: "icon" }, {
|
|
9070
|
-
default:
|
|
9097
|
+
default: N(() => [u(hr, {
|
|
9071
9098
|
modelValue: n.icon,
|
|
9072
9099
|
"onUpdate:modelValue": (e) => n.icon = e,
|
|
9073
9100
|
iconSet: n?.iconSet
|
|
@@ -9079,7 +9106,7 @@ var cr = [
|
|
|
9079
9106
|
_: 2
|
|
9080
9107
|
}, 1024),
|
|
9081
9108
|
u(A(W), { label: "iconSet" }, {
|
|
9082
|
-
default:
|
|
9109
|
+
default: N(() => [u(A(J), {
|
|
9083
9110
|
modelValue: n.iconSet,
|
|
9084
9111
|
"onUpdate:modelValue": (e) => n.iconSet = e,
|
|
9085
9112
|
variant: "dropdown",
|
|
@@ -9096,7 +9123,7 @@ var cr = [
|
|
|
9096
9123
|
label: "id",
|
|
9097
9124
|
columnSpan: "1"
|
|
9098
9125
|
}, {
|
|
9099
|
-
default:
|
|
9126
|
+
default: N(() => [u(A(K), {
|
|
9100
9127
|
modelValue: n.id,
|
|
9101
9128
|
"onUpdate:modelValue": (e) => n.id = e
|
|
9102
9129
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9106,7 +9133,7 @@ var cr = [
|
|
|
9106
9133
|
label: "name",
|
|
9107
9134
|
columnSpan: "2"
|
|
9108
9135
|
}, {
|
|
9109
|
-
default:
|
|
9136
|
+
default: N(() => [u(A(K), {
|
|
9110
9137
|
modelValue: n.name,
|
|
9111
9138
|
"onUpdate:modelValue": (e) => n.name = e
|
|
9112
9139
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9116,7 +9143,7 @@ var cr = [
|
|
|
9116
9143
|
label: "description",
|
|
9117
9144
|
columnSpan: "1"
|
|
9118
9145
|
}, {
|
|
9119
|
-
default:
|
|
9146
|
+
default: N(() => [u(A(K), {
|
|
9120
9147
|
modelValue: n.description,
|
|
9121
9148
|
"onUpdate:modelValue": (e) => n.description = e
|
|
9122
9149
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9131,14 +9158,14 @@ var cr = [
|
|
|
9131
9158
|
"actionDefinitions",
|
|
9132
9159
|
"texts"
|
|
9133
9160
|
])], 64)) : a("", !0),
|
|
9134
|
-
|
|
9161
|
+
c.name === "groupDefinitions" || c.name === "columnDefinitions" ? (C(), o(t, { key: 9 }, [u(A(I), {
|
|
9135
9162
|
label: e.texts.edit,
|
|
9136
9163
|
kind: "secondary",
|
|
9137
9164
|
icon: "edit",
|
|
9138
|
-
onClick:
|
|
9165
|
+
onClick: Oe
|
|
9139
9166
|
}, null, 8, ["label"]), u(A(Ee), {
|
|
9140
9167
|
ref_key: "groupDefinitionsModal",
|
|
9141
|
-
ref:
|
|
9168
|
+
ref: we,
|
|
9142
9169
|
label: e.texts?.editing,
|
|
9143
9170
|
size: "m",
|
|
9144
9171
|
actionDefinitions: [{
|
|
@@ -9151,49 +9178,49 @@ var cr = [
|
|
|
9151
9178
|
kind: "secondary"
|
|
9152
9179
|
}],
|
|
9153
9180
|
texts: { close: e.texts.close },
|
|
9154
|
-
onActionClick:
|
|
9181
|
+
onActionClick: ke
|
|
9155
9182
|
}, {
|
|
9156
|
-
default:
|
|
9183
|
+
default: N(() => [c.name === "groupDefinitions" ? (C(), i(A(ne), {
|
|
9157
9184
|
key: 0,
|
|
9158
9185
|
ref_key: "groupDefinitionsList",
|
|
9159
|
-
ref:
|
|
9160
|
-
modelValue:
|
|
9161
|
-
"onUpdate:modelValue": r[15] ||= (e) =>
|
|
9186
|
+
ref: V,
|
|
9187
|
+
modelValue: Te.value,
|
|
9188
|
+
"onUpdate:modelValue": r[15] ||= (e) => Te.value = e,
|
|
9162
9189
|
columnCount: 3,
|
|
9163
9190
|
requiredMode: "none",
|
|
9164
|
-
texts:
|
|
9191
|
+
texts: Ae()
|
|
9165
9192
|
}, {
|
|
9166
|
-
customItem:
|
|
9193
|
+
customItem: N(({ item: e }) => [
|
|
9167
9194
|
u(A(W), { label: "id" }, {
|
|
9168
|
-
default:
|
|
9195
|
+
default: N(() => [u(A(K), {
|
|
9169
9196
|
modelValue: e.id,
|
|
9170
9197
|
"onUpdate:modelValue": (t) => e.id = t
|
|
9171
9198
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9172
9199
|
_: 2
|
|
9173
9200
|
}, 1024),
|
|
9174
9201
|
u(A(W), { label: "name" }, {
|
|
9175
|
-
default:
|
|
9202
|
+
default: N(() => [u(A(K), {
|
|
9176
9203
|
modelValue: e.name,
|
|
9177
9204
|
"onUpdate:modelValue": (t) => e.name = t
|
|
9178
9205
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9179
9206
|
_: 2
|
|
9180
9207
|
}, 1024),
|
|
9181
9208
|
u(A(W), { label: "badge" }, {
|
|
9182
|
-
default:
|
|
9209
|
+
default: N(() => [u(A(K), {
|
|
9183
9210
|
modelValue: e.badge,
|
|
9184
9211
|
"onUpdate:modelValue": (t) => e.badge = t
|
|
9185
9212
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9186
9213
|
_: 2
|
|
9187
9214
|
}, 1024),
|
|
9188
9215
|
u(A(W), { label: "badgeIcon" }, {
|
|
9189
|
-
default:
|
|
9216
|
+
default: N(() => [u(hr, {
|
|
9190
9217
|
modelValue: e.badgeIcon,
|
|
9191
9218
|
"onUpdate:modelValue": (t) => e.badgeIcon = t
|
|
9192
9219
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9193
9220
|
_: 2
|
|
9194
9221
|
}, 1024),
|
|
9195
9222
|
u(A(W), { label: "badgeType" }, {
|
|
9196
|
-
default:
|
|
9223
|
+
default: N(() => [u(A(J), {
|
|
9197
9224
|
modelValue: e.badgeType,
|
|
9198
9225
|
"onUpdate:modelValue": (t) => e.badgeType = t,
|
|
9199
9226
|
variant: "dropdown",
|
|
@@ -9206,7 +9233,7 @@ var cr = [
|
|
|
9206
9233
|
_: 2
|
|
9207
9234
|
}, 1024),
|
|
9208
9235
|
u(A(W), { label: "badgeTitle" }, {
|
|
9209
|
-
default:
|
|
9236
|
+
default: N(() => [u(A(K), {
|
|
9210
9237
|
modelValue: e.badgeTitle,
|
|
9211
9238
|
"onUpdate:modelValue": (t) => e.badgeTitle = t
|
|
9212
9239
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9214,54 +9241,54 @@ var cr = [
|
|
|
9214
9241
|
}, 1024)
|
|
9215
9242
|
]),
|
|
9216
9243
|
_: 1
|
|
9217
|
-
}, 8, ["modelValue", "texts"])) : (C(), i(A(
|
|
9244
|
+
}, 8, ["modelValue", "texts"])) : (C(), i(A(ne), {
|
|
9218
9245
|
key: 1,
|
|
9219
9246
|
ref_key: "groupDefinitionsList",
|
|
9220
|
-
ref:
|
|
9221
|
-
modelValue:
|
|
9222
|
-
"onUpdate:modelValue": r[16] ||= (e) =>
|
|
9247
|
+
ref: V,
|
|
9248
|
+
modelValue: Te.value,
|
|
9249
|
+
"onUpdate:modelValue": r[16] ||= (e) => Te.value = e,
|
|
9223
9250
|
columnCount: 4,
|
|
9224
9251
|
requiredMode: "none",
|
|
9225
|
-
texts:
|
|
9252
|
+
texts: Ae()
|
|
9226
9253
|
}, {
|
|
9227
|
-
customItem:
|
|
9254
|
+
customItem: N(({ item: e }) => [
|
|
9228
9255
|
u(A(W), { label: "id" }, {
|
|
9229
|
-
default:
|
|
9256
|
+
default: N(() => [u(A(K), {
|
|
9230
9257
|
modelValue: e.id,
|
|
9231
9258
|
"onUpdate:modelValue": (t) => e.id = t
|
|
9232
9259
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9233
9260
|
_: 2
|
|
9234
9261
|
}, 1024),
|
|
9235
9262
|
u(A(W), { label: "attributeName" }, {
|
|
9236
|
-
default:
|
|
9263
|
+
default: N(() => [u(A(K), {
|
|
9237
9264
|
modelValue: e.attributeName,
|
|
9238
9265
|
"onUpdate:modelValue": (t) => e.attributeName = t
|
|
9239
9266
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9240
9267
|
_: 2
|
|
9241
9268
|
}, 1024),
|
|
9242
9269
|
u(A(W), { label: "attributeDescription" }, {
|
|
9243
|
-
default:
|
|
9270
|
+
default: N(() => [u(A(K), {
|
|
9244
9271
|
modelValue: e.attributeDescription,
|
|
9245
9272
|
"onUpdate:modelValue": (t) => e.attributeDescription = t
|
|
9246
9273
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9247
9274
|
_: 2
|
|
9248
9275
|
}, 1024),
|
|
9249
9276
|
u(A(W), { label: "name" }, {
|
|
9250
|
-
default:
|
|
9277
|
+
default: N(() => [u(A(K), {
|
|
9251
9278
|
modelValue: e.name,
|
|
9252
9279
|
"onUpdate:modelValue": (t) => e.name = t
|
|
9253
9280
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9254
9281
|
_: 2
|
|
9255
9282
|
}, 1024),
|
|
9256
9283
|
u(A(W), { label: "title" }, {
|
|
9257
|
-
default:
|
|
9284
|
+
default: N(() => [u(A(K), {
|
|
9258
9285
|
modelValue: e.title,
|
|
9259
9286
|
"onUpdate:modelValue": (t) => e.title = t
|
|
9260
9287
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9261
9288
|
_: 2
|
|
9262
9289
|
}, 1024),
|
|
9263
9290
|
u(A(W), { label: "kind" }, {
|
|
9264
|
-
default:
|
|
9291
|
+
default: N(() => [u(A(J), {
|
|
9265
9292
|
modelValue: e.kind,
|
|
9266
9293
|
"onUpdate:modelValue": (t) => e.kind = t,
|
|
9267
9294
|
variant: "dropdown",
|
|
@@ -9275,7 +9302,7 @@ var cr = [
|
|
|
9275
9302
|
_: 2
|
|
9276
9303
|
}, 1024),
|
|
9277
9304
|
u(A(W), { label: "type" }, {
|
|
9278
|
-
default:
|
|
9305
|
+
default: N(() => [u(A(J), {
|
|
9279
9306
|
modelValue: e.type,
|
|
9280
9307
|
"onUpdate:modelValue": (t) => e.type = t,
|
|
9281
9308
|
variant: "dropdown",
|
|
@@ -9289,7 +9316,7 @@ var cr = [
|
|
|
9289
9316
|
_: 2
|
|
9290
9317
|
}, 1024),
|
|
9291
9318
|
u(A(W), { label: "size" }, {
|
|
9292
|
-
default:
|
|
9319
|
+
default: N(() => [u(A(J), {
|
|
9293
9320
|
modelValue: e.size,
|
|
9294
9321
|
"onUpdate:modelValue": (t) => e.size = t,
|
|
9295
9322
|
variant: "dropdown",
|
|
@@ -9303,7 +9330,7 @@ var cr = [
|
|
|
9303
9330
|
_: 2
|
|
9304
9331
|
}, 1024),
|
|
9305
9332
|
u(A(W), { label: "sortingTooltips" }, {
|
|
9306
|
-
default:
|
|
9333
|
+
default: N(() => [u(A(K), {
|
|
9307
9334
|
modelValue: e.sortingTooltips,
|
|
9308
9335
|
"onUpdate:modelValue": (t) => e.sortingTooltips = t
|
|
9309
9336
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
@@ -9318,14 +9345,14 @@ var cr = [
|
|
|
9318
9345
|
"actionDefinitions",
|
|
9319
9346
|
"texts"
|
|
9320
9347
|
])], 64)) : a("", !0),
|
|
9321
|
-
|
|
9348
|
+
c.name === "texts" ? (C(), o(t, { key: 10 }, [u(A(I), {
|
|
9322
9349
|
label: e.texts.edit,
|
|
9323
9350
|
icon: "edit",
|
|
9324
9351
|
kind: "secondary",
|
|
9325
|
-
onClick:
|
|
9352
|
+
onClick: pe
|
|
9326
9353
|
}, null, 8, ["label"]), u(A(Ee), {
|
|
9327
9354
|
ref_key: "textsModal",
|
|
9328
|
-
ref:
|
|
9355
|
+
ref: z,
|
|
9329
9356
|
label: e.texts?.editing,
|
|
9330
9357
|
size: "l",
|
|
9331
9358
|
actionDefinitions: [{
|
|
@@ -9338,34 +9365,34 @@ var cr = [
|
|
|
9338
9365
|
kind: "secondary"
|
|
9339
9366
|
}],
|
|
9340
9367
|
texts: { close: e.texts.close },
|
|
9341
|
-
onActionClick:
|
|
9342
|
-
onClose: r[19] ||= (e) =>
|
|
9368
|
+
onActionClick: me,
|
|
9369
|
+
onClose: r[19] ||= (e) => he.value = ""
|
|
9343
9370
|
}, {
|
|
9344
|
-
default:
|
|
9371
|
+
default: N(() => [u(A(ve), {
|
|
9345
9372
|
columnCount: 3,
|
|
9346
9373
|
kind: "stripped"
|
|
9347
9374
|
}, {
|
|
9348
|
-
default:
|
|
9375
|
+
default: N(() => [u(A(W), {
|
|
9349
9376
|
columnSpan: "3",
|
|
9350
9377
|
hideLabel: !0
|
|
9351
9378
|
}, {
|
|
9352
|
-
default:
|
|
9353
|
-
default:
|
|
9354
|
-
modelValue:
|
|
9355
|
-
"onUpdate:modelValue": r[17] ||= (e) =>
|
|
9379
|
+
default: N(() => [u(A(G), { horizontalAlignment: "stretch" }, {
|
|
9380
|
+
default: N(() => [u(A(K), {
|
|
9381
|
+
modelValue: he.value,
|
|
9382
|
+
"onUpdate:modelValue": r[17] ||= (e) => he.value = e,
|
|
9356
9383
|
kind: "search",
|
|
9357
9384
|
placeholder: e.texts.searchText
|
|
9358
|
-
}, null, 8, ["modelValue", "placeholder"]), Object.keys(
|
|
9385
|
+
}, null, 8, ["modelValue", "placeholder"]), Object.keys(ge.value?.properties || {}).length ? a("", !0) : (C(), i(A(fe), {
|
|
9359
9386
|
key: 0,
|
|
9360
|
-
label: `${e.texts?.notFoundSearch} ${
|
|
9387
|
+
label: `${e.texts?.notFoundSearch} ${he.value}`
|
|
9361
9388
|
}, null, 8, ["label"]))]),
|
|
9362
9389
|
_: 1
|
|
9363
9390
|
})]),
|
|
9364
9391
|
_: 1
|
|
9365
9392
|
}), u(Nn, {
|
|
9366
|
-
modelValue:
|
|
9367
|
-
"onUpdate:modelValue": r[18] ||= (e) =>
|
|
9368
|
-
schema:
|
|
9393
|
+
modelValue: se.value,
|
|
9394
|
+
"onUpdate:modelValue": r[18] ||= (e) => se.value = e,
|
|
9395
|
+
schema: ge.value
|
|
9369
9396
|
}, null, 8, ["modelValue", "schema"])]),
|
|
9370
9397
|
_: 1
|
|
9371
9398
|
})]),
|
|
@@ -9375,14 +9402,14 @@ var cr = [
|
|
|
9375
9402
|
"actionDefinitions",
|
|
9376
9403
|
"texts"
|
|
9377
9404
|
])], 64)) : a("", !0),
|
|
9378
|
-
|
|
9405
|
+
c.name === "badgeDefinitions" ? (C(), o(t, { key: 11 }, [u(A(I), {
|
|
9379
9406
|
label: e.texts.edit,
|
|
9380
9407
|
kind: "secondary",
|
|
9381
9408
|
icon: "edit",
|
|
9382
|
-
onClick:
|
|
9409
|
+
onClick: Se
|
|
9383
9410
|
}, null, 8, ["label"]), u(A(Ee), {
|
|
9384
9411
|
ref_key: "badgeDefinitionsModal",
|
|
9385
|
-
ref:
|
|
9412
|
+
ref: be,
|
|
9386
9413
|
label: e.texts?.editing,
|
|
9387
9414
|
size: "l",
|
|
9388
9415
|
actionDefinitions: [{
|
|
@@ -9395,34 +9422,34 @@ var cr = [
|
|
|
9395
9422
|
kind: "secondary"
|
|
9396
9423
|
}],
|
|
9397
9424
|
texts: { close: e.texts.close },
|
|
9398
|
-
onActionClick:
|
|
9425
|
+
onActionClick: Ce
|
|
9399
9426
|
}, {
|
|
9400
|
-
default:
|
|
9427
|
+
default: N(() => [u(A(ne), {
|
|
9401
9428
|
ref_key: "badgeDefinitionsList",
|
|
9402
|
-
ref:
|
|
9403
|
-
modelValue:
|
|
9404
|
-
"onUpdate:modelValue": r[20] ||= (e) =>
|
|
9429
|
+
ref: xe,
|
|
9430
|
+
modelValue: B.value,
|
|
9431
|
+
"onUpdate:modelValue": r[20] ||= (e) => B.value = e,
|
|
9405
9432
|
columnCount: 3,
|
|
9406
9433
|
requiredMode: "none",
|
|
9407
|
-
texts:
|
|
9434
|
+
texts: Ae()
|
|
9408
9435
|
}, {
|
|
9409
|
-
customItem:
|
|
9436
|
+
customItem: N(({ item: e }) => [
|
|
9410
9437
|
u(A(W), { label: "id" }, {
|
|
9411
|
-
default:
|
|
9438
|
+
default: N(() => [u(A(K), {
|
|
9412
9439
|
modelValue: e.id,
|
|
9413
9440
|
"onUpdate:modelValue": (t) => e.id = t
|
|
9414
9441
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9415
9442
|
_: 2
|
|
9416
9443
|
}, 1024),
|
|
9417
9444
|
u(A(W), { label: "name" }, {
|
|
9418
|
-
default:
|
|
9445
|
+
default: N(() => [u(A(K), {
|
|
9419
9446
|
modelValue: e.name,
|
|
9420
9447
|
"onUpdate:modelValue": (t) => e.name = t
|
|
9421
9448
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9422
9449
|
_: 2
|
|
9423
9450
|
}, 1024),
|
|
9424
9451
|
u(A(W), { label: "icon" }, {
|
|
9425
|
-
default:
|
|
9452
|
+
default: N(() => [u(hr, {
|
|
9426
9453
|
modelValue: e.icon,
|
|
9427
9454
|
"onUpdate:modelValue": (t) => e.icon = t,
|
|
9428
9455
|
iconSet: e?.iconSet
|
|
@@ -9434,7 +9461,7 @@ var cr = [
|
|
|
9434
9461
|
_: 2
|
|
9435
9462
|
}, 1024),
|
|
9436
9463
|
u(A(W), { label: "iconSet" }, {
|
|
9437
|
-
default:
|
|
9464
|
+
default: N(() => [u(A(J), {
|
|
9438
9465
|
modelValue: e.iconSet,
|
|
9439
9466
|
"onUpdate:modelValue": (t) => e.iconSet = t,
|
|
9440
9467
|
items: A(pr),
|
|
@@ -9447,14 +9474,14 @@ var cr = [
|
|
|
9447
9474
|
_: 2
|
|
9448
9475
|
}, 1024),
|
|
9449
9476
|
u(A(W), { label: "title" }, {
|
|
9450
|
-
default:
|
|
9477
|
+
default: N(() => [u(A(K), {
|
|
9451
9478
|
modelValue: e.title,
|
|
9452
9479
|
"onUpdate:modelValue": (t) => e.title = t
|
|
9453
9480
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
9454
9481
|
_: 2
|
|
9455
9482
|
}, 1024),
|
|
9456
9483
|
u(A(W), { label: "type" }, {
|
|
9457
|
-
default:
|
|
9484
|
+
default: N(() => [u(A(J), {
|
|
9458
9485
|
modelValue: e.type,
|
|
9459
9486
|
"onUpdate:modelValue": (t) => e.type = t,
|
|
9460
9487
|
items: A(dr),
|
|
@@ -9478,7 +9505,7 @@ var cr = [
|
|
|
9478
9505
|
])], 64)) : a("", !0)
|
|
9479
9506
|
], 64));
|
|
9480
9507
|
}
|
|
9481
|
-
},
|
|
9508
|
+
}, vr = {
|
|
9482
9509
|
__name: "ConstructorPropRenderer",
|
|
9483
9510
|
props: {
|
|
9484
9511
|
componentName: {
|
|
@@ -9661,13 +9688,13 @@ var cr = [
|
|
|
9661
9688
|
D(e);
|
|
9662
9689
|
}
|
|
9663
9690
|
}), k = w(0);
|
|
9664
|
-
function
|
|
9691
|
+
function ee() {
|
|
9665
9692
|
O.value = s.schemaKey, k.value += 1;
|
|
9666
9693
|
}
|
|
9667
|
-
function
|
|
9694
|
+
function M(e) {
|
|
9668
9695
|
c("error", e);
|
|
9669
9696
|
}
|
|
9670
|
-
function
|
|
9697
|
+
function P(e) {
|
|
9671
9698
|
c("update:selectedModel", e);
|
|
9672
9699
|
}
|
|
9673
9700
|
return (n, r) => (C(), o(t, null, [
|
|
@@ -9679,19 +9706,19 @@ var cr = [
|
|
|
9679
9706
|
key: 1,
|
|
9680
9707
|
kind: "stripped"
|
|
9681
9708
|
}, {
|
|
9682
|
-
default:
|
|
9709
|
+
default: N(() => [(C(!0), o(t, null, T(y.value, (t, n) => te((C(), i(A(W), {
|
|
9683
9710
|
key: t.name,
|
|
9684
9711
|
label: `:${n}`
|
|
9685
9712
|
}, {
|
|
9686
|
-
default:
|
|
9713
|
+
default: N(() => [u(_r, {
|
|
9687
9714
|
modelValue: l.value,
|
|
9688
9715
|
item: t,
|
|
9689
9716
|
name: n,
|
|
9690
9717
|
componentName: e.componentName,
|
|
9691
9718
|
selectedModel: e.selectedModel,
|
|
9692
9719
|
texts: e.texts,
|
|
9693
|
-
onError:
|
|
9694
|
-
"onUpdate:selectedModel":
|
|
9720
|
+
onError: M,
|
|
9721
|
+
"onUpdate:selectedModel": P
|
|
9695
9722
|
}, null, 8, [
|
|
9696
9723
|
"modelValue",
|
|
9697
9724
|
"item",
|
|
@@ -9701,11 +9728,11 @@ var cr = [
|
|
|
9701
9728
|
"texts"
|
|
9702
9729
|
])]),
|
|
9703
9730
|
_: 2
|
|
9704
|
-
}, 1032, ["label"])), [[j, !t.extra]])), 128)), (C(!0), o(t, null, T(y.value, (e, t) =>
|
|
9731
|
+
}, 1032, ["label"])), [[j, !t.extra]])), 128)), (C(!0), o(t, null, T(y.value, (e, t) => te((C(), i(A(W), {
|
|
9705
9732
|
key: e.name,
|
|
9706
9733
|
label: `${t}`
|
|
9707
9734
|
}, {
|
|
9708
|
-
default:
|
|
9735
|
+
default: N(() => [e?.extra ? (C(), i(A(K), {
|
|
9709
9736
|
key: 0,
|
|
9710
9737
|
modelValue: E(e, t),
|
|
9711
9738
|
"onUpdate:modelValue": (e) => S(t, e)
|
|
@@ -9718,16 +9745,16 @@ var cr = [
|
|
|
9718
9745
|
key: 2,
|
|
9719
9746
|
label: e.texts.additionalLabel
|
|
9720
9747
|
}, {
|
|
9721
|
-
default:
|
|
9722
|
-
default:
|
|
9748
|
+
default: N(() => [u(A(ve), { kind: "stripped" }, {
|
|
9749
|
+
default: N(() => [v.value ? (C(), i(A(W), {
|
|
9723
9750
|
key: 0,
|
|
9724
9751
|
label: "schemaKey"
|
|
9725
9752
|
}, {
|
|
9726
|
-
default:
|
|
9753
|
+
default: N(() => [u(A(G), {
|
|
9727
9754
|
orientation: "horizontal",
|
|
9728
9755
|
kind: "compact"
|
|
9729
9756
|
}, {
|
|
9730
|
-
default:
|
|
9757
|
+
default: N(() => [(C(), i(A(K), {
|
|
9731
9758
|
key: k.value,
|
|
9732
9759
|
modelValue: O.value,
|
|
9733
9760
|
"onUpdate:modelValue": r[0] ||= (e) => O.value = e,
|
|
@@ -9737,13 +9764,13 @@ var cr = [
|
|
|
9737
9764
|
"modelValue",
|
|
9738
9765
|
"invalid",
|
|
9739
9766
|
"invalidationMessage"
|
|
9740
|
-
])), e.schemaKeyError ? (C(), i(A(
|
|
9767
|
+
])), e.schemaKeyError ? (C(), i(A(I), {
|
|
9741
9768
|
key: 0,
|
|
9742
9769
|
icon: "reset",
|
|
9743
9770
|
kind: "tertiary",
|
|
9744
9771
|
label: e.texts?.resetKey,
|
|
9745
9772
|
variant: "icon-only",
|
|
9746
|
-
onClick: r[1] ||= (e) =>
|
|
9773
|
+
onClick: r[1] ||= (e) => ee()
|
|
9747
9774
|
}, null, 8, ["label"])) : a("", !0)]),
|
|
9748
9775
|
_: 1
|
|
9749
9776
|
})]),
|
|
@@ -9752,15 +9779,15 @@ var cr = [
|
|
|
9752
9779
|
key: t.name,
|
|
9753
9780
|
label: `:${n}`
|
|
9754
9781
|
}, {
|
|
9755
|
-
default:
|
|
9782
|
+
default: N(() => [u(_r, {
|
|
9756
9783
|
modelValue: l.value,
|
|
9757
9784
|
item: t,
|
|
9758
9785
|
name: n,
|
|
9759
9786
|
componentName: e.componentName,
|
|
9760
9787
|
selectedModel: e.selectedModel,
|
|
9761
9788
|
texts: e.texts,
|
|
9762
|
-
onError:
|
|
9763
|
-
"onUpdate:selectedModel":
|
|
9789
|
+
onError: M,
|
|
9790
|
+
"onUpdate:selectedModel": P
|
|
9764
9791
|
}, null, 8, [
|
|
9765
9792
|
"modelValue",
|
|
9766
9793
|
"item",
|
|
@@ -9779,20 +9806,20 @@ var cr = [
|
|
|
9779
9806
|
key: 3,
|
|
9780
9807
|
label: e.texts.modeLabel
|
|
9781
9808
|
}, {
|
|
9782
|
-
default:
|
|
9783
|
-
default:
|
|
9809
|
+
default: N(() => [u(A(ve), { kind: "stripped" }, {
|
|
9810
|
+
default: N(() => [(C(!0), o(t, null, T(x.value, (t, n) => (C(), i(A(W), {
|
|
9784
9811
|
key: t.name,
|
|
9785
9812
|
label: `:${n}`
|
|
9786
9813
|
}, {
|
|
9787
|
-
default:
|
|
9814
|
+
default: N(() => [u(_r, {
|
|
9788
9815
|
modelValue: l.value,
|
|
9789
9816
|
item: t,
|
|
9790
9817
|
name: n,
|
|
9791
9818
|
componentName: e.componentName,
|
|
9792
9819
|
selectedModel: e.selectedModel,
|
|
9793
9820
|
texts: e.texts,
|
|
9794
|
-
onError:
|
|
9795
|
-
"onUpdate:selectedModel":
|
|
9821
|
+
onError: M,
|
|
9822
|
+
"onUpdate:selectedModel": P
|
|
9796
9823
|
}, null, 8, [
|
|
9797
9824
|
"modelValue",
|
|
9798
9825
|
"item",
|
|
@@ -9809,23 +9836,23 @@ var cr = [
|
|
|
9809
9836
|
}, 8, ["label"])) : a("", !0)
|
|
9810
9837
|
], 64));
|
|
9811
9838
|
}
|
|
9812
|
-
},
|
|
9839
|
+
}, yr = { class: "lx-panel" }, br = { class: "button-side" }, xr = {
|
|
9813
9840
|
key: 0,
|
|
9814
9841
|
class: "panel-side"
|
|
9815
|
-
},
|
|
9842
|
+
}, Sr = { class: "header-wrapper" }, Cr = {
|
|
9816
9843
|
key: 1,
|
|
9817
9844
|
class: "header-wrapper"
|
|
9818
|
-
},
|
|
9845
|
+
}, wr = { key: 0 }, Tr = { key: 1 }, Er = { key: 2 }, Dr = {
|
|
9819
9846
|
key: 0,
|
|
9820
9847
|
class: "panel-main"
|
|
9821
|
-
},
|
|
9848
|
+
}, Or = { class: "button-group" }, kr = {
|
|
9822
9849
|
key: 1,
|
|
9823
9850
|
class: "no-component-wrapper"
|
|
9824
|
-
},
|
|
9851
|
+
}, Ar = {
|
|
9825
9852
|
key: 1,
|
|
9826
9853
|
class: "panel-main lx-region",
|
|
9827
9854
|
style: { padding: "0.25rem" }
|
|
9828
|
-
},
|
|
9855
|
+
}, jr = { key: 2 }, Mr = { class: "settings-wrapper" }, Nr = /* @__PURE__ */ d({
|
|
9829
9856
|
__name: "Panel",
|
|
9830
9857
|
props: {
|
|
9831
9858
|
componentName: {
|
|
@@ -10101,49 +10128,49 @@ var cr = [
|
|
|
10101
10128
|
function j(e) {
|
|
10102
10129
|
c.navigation[c.navigation.length - 1]?.id !== e && f("componentChange", c.navigation.find((t) => t.id === e));
|
|
10103
10130
|
}
|
|
10104
|
-
function
|
|
10131
|
+
function M(e, t) {
|
|
10105
10132
|
let n = Y.objectClone(c.componentModel) || {}, r = p[e];
|
|
10106
10133
|
return r && (n.lx = n.lx || {}, r(n, t)), n;
|
|
10107
10134
|
}
|
|
10108
|
-
|
|
10109
|
-
let t =
|
|
10135
|
+
ee(() => c.componentProps, (e) => {
|
|
10136
|
+
let t = M(c.componentName, e);
|
|
10110
10137
|
c.componentName === "LxViewLayout" ? f("update:viewLayout", e?.kind) : f("update:componentModel", t);
|
|
10111
10138
|
}, { deep: !0 });
|
|
10112
|
-
let
|
|
10139
|
+
let te = r({
|
|
10113
10140
|
get() {
|
|
10114
10141
|
return c.componentProps;
|
|
10115
10142
|
},
|
|
10116
10143
|
set(e) {
|
|
10117
10144
|
f("update:componentProps", e);
|
|
10118
10145
|
}
|
|
10119
|
-
}),
|
|
10146
|
+
}), P = r(() => c.componentName ? c.navigation.map((e, t, n) => t === n.length - 1 ? {
|
|
10120
10147
|
...e,
|
|
10121
10148
|
active: !0
|
|
10122
|
-
} : e) : []),
|
|
10149
|
+
} : e) : []), ne = Jn((e) => {
|
|
10123
10150
|
f("update:schemaKey", e);
|
|
10124
|
-
}, 500),
|
|
10151
|
+
}, 500), F = r({
|
|
10125
10152
|
get() {
|
|
10126
10153
|
return c.schemaKey;
|
|
10127
10154
|
},
|
|
10128
10155
|
set(e) {
|
|
10129
|
-
|
|
10156
|
+
ne(e);
|
|
10130
10157
|
}
|
|
10131
|
-
}),
|
|
10132
|
-
function
|
|
10158
|
+
}), L = w(null);
|
|
10159
|
+
function R() {
|
|
10133
10160
|
return c.componentName && c.componentName !== "LxViewLayout";
|
|
10134
10161
|
}
|
|
10135
10162
|
function re() {
|
|
10136
10163
|
return c.componentName && c.componentName !== "LxViewLayout" && c.componentName !== "LxFilters";
|
|
10137
10164
|
}
|
|
10138
|
-
return (n, r) => (C(), o("div",
|
|
10139
|
-
u(A(
|
|
10165
|
+
return (n, r) => (C(), o("div", yr, [s("div", br, [
|
|
10166
|
+
u(A(I), {
|
|
10140
10167
|
icon: h.value ? "close-panel" : "open-panel",
|
|
10141
10168
|
variant: "icon-only",
|
|
10142
10169
|
label: h.value ? d.value?.closePanel : d.value?.openPanel,
|
|
10143
10170
|
kind: "secondary",
|
|
10144
10171
|
onClick: r[0] ||= (e) => _(h.value)
|
|
10145
10172
|
}, null, 8, ["icon", "label"]),
|
|
10146
|
-
u(A(
|
|
10173
|
+
u(A(I), {
|
|
10147
10174
|
icon: "config",
|
|
10148
10175
|
variant: "icon-only",
|
|
10149
10176
|
label: d.value?.config,
|
|
@@ -10151,7 +10178,7 @@ var cr = [
|
|
|
10151
10178
|
active: h.value && g.value === "config",
|
|
10152
10179
|
onClick: r[1] ||= (e) => (g.value = "config", h.value = !0)
|
|
10153
10180
|
}, null, 8, ["label", "active"]),
|
|
10154
|
-
u(A(
|
|
10181
|
+
u(A(I), {
|
|
10155
10182
|
icon: "components",
|
|
10156
10183
|
variant: "icon-only",
|
|
10157
10184
|
label: d.value?.components,
|
|
@@ -10159,7 +10186,7 @@ var cr = [
|
|
|
10159
10186
|
active: h.value && g.value === "components",
|
|
10160
10187
|
onClick: r[2] ||= (e) => (g.value = "components", h.value = !0)
|
|
10161
10188
|
}, null, 8, ["label", "active"]),
|
|
10162
|
-
u(A(
|
|
10189
|
+
u(A(I), {
|
|
10163
10190
|
icon: "settings",
|
|
10164
10191
|
variant: "icon-only",
|
|
10165
10192
|
label: d.value?.settings,
|
|
@@ -10167,33 +10194,33 @@ var cr = [
|
|
|
10167
10194
|
active: h.value && g.value === "settings",
|
|
10168
10195
|
onClick: r[3] ||= (e) => (g.value = "settings", h.value = !0)
|
|
10169
10196
|
}, null, 8, ["label", "active"])
|
|
10170
|
-
]), h.value ? (C(), o("div",
|
|
10197
|
+
]), h.value ? (C(), o("div", xr, [s("div", null, [
|
|
10171
10198
|
s("div", { class: v(["config-header", [{ "has-selected-element": e.componentName && g.value === "config" }]]) }, [g.value === "config" ? (C(), i(A(ue), {
|
|
10172
10199
|
key: 0,
|
|
10173
|
-
actionDefinitions:
|
|
10200
|
+
actionDefinitions: P.value,
|
|
10174
10201
|
onActionClick: j
|
|
10175
10202
|
}, {
|
|
10176
|
-
default:
|
|
10203
|
+
default: N(() => [s("div", Sr, [e.componentName ? (C(), o(t, { key: 0 }, [s("p", null, O(e.componentName), 1), u(A(ye), { value: "menu" })], 64)) : a("", !0)])]),
|
|
10177
10204
|
_: 1
|
|
10178
|
-
}, 8, ["actionDefinitions"])) : (C(), o("div",
|
|
10179
|
-
g.value === "config" ? (C(), o("div",
|
|
10180
|
-
s("div",
|
|
10205
|
+
}, 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
|
+
g.value === "config" ? (C(), o("div", Dr, [
|
|
10207
|
+
s("div", Or, [u(A(I), {
|
|
10181
10208
|
icon: "copy",
|
|
10182
10209
|
kind: "secondary",
|
|
10183
10210
|
label: d.value?.duplicate,
|
|
10184
10211
|
disabled: !re(),
|
|
10185
10212
|
onClick: r[4] ||= (e) => f("duplicateComponent")
|
|
10186
|
-
}, null, 8, ["label", "disabled"]), u(A(
|
|
10213
|
+
}, null, 8, ["label", "disabled"]), u(A(I), {
|
|
10187
10214
|
icon: "delete",
|
|
10188
10215
|
kind: "secondary",
|
|
10189
10216
|
label: d.value?.delete,
|
|
10190
|
-
disabled: !
|
|
10217
|
+
disabled: !R(),
|
|
10191
10218
|
destructive: !0,
|
|
10192
10219
|
onClick: r[5] ||= (e) => f("removeComponent")
|
|
10193
10220
|
}, null, 8, ["label", "disabled"])]),
|
|
10194
10221
|
u(A(K), {
|
|
10195
|
-
modelValue:
|
|
10196
|
-
"onUpdate:modelValue": r[6] ||= (e) =>
|
|
10222
|
+
modelValue: L.value,
|
|
10223
|
+
"onUpdate:modelValue": r[6] ||= (e) => L.value = e,
|
|
10197
10224
|
kind: "search",
|
|
10198
10225
|
placeholder: d.value?.searchProps,
|
|
10199
10226
|
disabled: !e.componentName,
|
|
@@ -10203,19 +10230,19 @@ var cr = [
|
|
|
10203
10230
|
"placeholder",
|
|
10204
10231
|
"disabled"
|
|
10205
10232
|
]),
|
|
10206
|
-
e.componentName ? (C(), i(
|
|
10233
|
+
e.componentName ? (C(), i(vr, {
|
|
10207
10234
|
key: 0,
|
|
10208
|
-
modelValue:
|
|
10209
|
-
"onUpdate:modelValue": r[7] ||= (e) =>
|
|
10235
|
+
modelValue: te.value,
|
|
10236
|
+
"onUpdate:modelValue": r[7] ||= (e) => te.value = e,
|
|
10210
10237
|
componentName: e.componentName,
|
|
10211
10238
|
componentPropsDefinitions: e.componentPropsDefinitions,
|
|
10212
|
-
searchString:
|
|
10239
|
+
searchString: L.value,
|
|
10213
10240
|
componentModel: m.value,
|
|
10214
10241
|
"onUpdate:componentModel": r[8] ||= (e) => m.value = e,
|
|
10215
|
-
schemaKey:
|
|
10216
|
-
"onUpdate:schemaKey": r[9] ||= (e) =>
|
|
10242
|
+
schemaKey: F.value,
|
|
10243
|
+
"onUpdate:schemaKey": r[9] ||= (e) => F.value = e,
|
|
10217
10244
|
schemaKeyError: e.schemaKeyError,
|
|
10218
|
-
navigation:
|
|
10245
|
+
navigation: P.value,
|
|
10219
10246
|
selectedModel: e.selectedModel,
|
|
10220
10247
|
texts: d.value,
|
|
10221
10248
|
onError: r[10] ||= (e) => f("error", e),
|
|
@@ -10231,9 +10258,9 @@ var cr = [
|
|
|
10231
10258
|
"navigation",
|
|
10232
10259
|
"selectedModel",
|
|
10233
10260
|
"texts"
|
|
10234
|
-
])) : (C(), o("div",
|
|
10261
|
+
])) : (C(), o("div", kr, [u(A(fe), { label: d.value?.noComponentSelected }, null, 8, ["label"])]))
|
|
10235
10262
|
])) : a("", !0),
|
|
10236
|
-
g.value === "components" ? (C(), o("div",
|
|
10263
|
+
g.value === "components" ? (C(), o("div", Ar, [u(A(xe), {
|
|
10237
10264
|
listType: "1",
|
|
10238
10265
|
hasSearch: !0,
|
|
10239
10266
|
items: k.value,
|
|
@@ -10253,32 +10280,32 @@ var cr = [
|
|
|
10253
10280
|
"groupDefinitions",
|
|
10254
10281
|
"texts"
|
|
10255
10282
|
])])) : a("", !0),
|
|
10256
|
-
g.value === "settings" ? (C(), o("div",
|
|
10257
|
-
u(A(
|
|
10283
|
+
g.value === "settings" ? (C(), o("div", jr, [s("div", Mr, [
|
|
10284
|
+
u(A(I), {
|
|
10258
10285
|
kind: "secondary",
|
|
10259
10286
|
label: d.value?.import,
|
|
10260
10287
|
icon: "upload",
|
|
10261
10288
|
onClick: r[13] ||= (e) => f("import")
|
|
10262
10289
|
}, null, 8, ["label"]),
|
|
10263
|
-
u(A(
|
|
10290
|
+
u(A(I), {
|
|
10264
10291
|
kind: "secondary",
|
|
10265
10292
|
label: d.value?.export,
|
|
10266
10293
|
icon: "save",
|
|
10267
10294
|
onClick: r[14] ||= (e) => f("export")
|
|
10268
10295
|
}, null, 8, ["label"]),
|
|
10269
|
-
u(A(
|
|
10296
|
+
u(A(I), {
|
|
10270
10297
|
kind: "secondary",
|
|
10271
10298
|
label: d.value?.editSchema,
|
|
10272
10299
|
icon: "edit",
|
|
10273
10300
|
onClick: r[15] ||= (e) => f("editSchema")
|
|
10274
10301
|
}, null, 8, ["label"]),
|
|
10275
|
-
u(A(
|
|
10302
|
+
u(A(I), {
|
|
10276
10303
|
kind: "secondary",
|
|
10277
10304
|
label: d.value?.editModel,
|
|
10278
10305
|
icon: "editItem",
|
|
10279
10306
|
onClick: r[16] ||= (e) => f("editModel")
|
|
10280
10307
|
}, null, 8, ["label"]),
|
|
10281
|
-
u(A(
|
|
10308
|
+
u(A(I), {
|
|
10282
10309
|
kind: "secondary",
|
|
10283
10310
|
label: d.value?.reportIssue,
|
|
10284
10311
|
icon: "bug",
|
|
@@ -10287,7 +10314,7 @@ var cr = [
|
|
|
10287
10314
|
])])) : a("", !0)
|
|
10288
10315
|
])])) : a("", !0)]));
|
|
10289
10316
|
}
|
|
10290
|
-
}),
|
|
10317
|
+
}), Pr = { id: "constructor-overlay" }, Fr = { class: "highlight-toolbar" }, Ir = { class: "highlight-toolbar highlight-toolbar-remove" }, Lr = { id: "constructor" }, Rr = { class: "code-display" }, zr = { class: "code" }, Br = { class: "import-switcher" }, Vr = { class: "component-add-text" }, Hr = { class: "lx-primary" }, Ur = { class: "lx-secondary" }, Wr = /* @__PURE__ */ d({
|
|
10291
10318
|
__name: "Constructor",
|
|
10292
10319
|
props: {
|
|
10293
10320
|
schema: {
|
|
@@ -10420,17 +10447,17 @@ var cr = [
|
|
|
10420
10447
|
style: {},
|
|
10421
10448
|
el: null,
|
|
10422
10449
|
padding: 2
|
|
10423
|
-
}),
|
|
10450
|
+
}), M = w(), P = w({
|
|
10424
10451
|
canPlaceInside: !1,
|
|
10425
10452
|
key: null,
|
|
10426
10453
|
path: null
|
|
10427
|
-
}),
|
|
10454
|
+
}), ne = w({
|
|
10428
10455
|
canMoveOut: !1,
|
|
10429
10456
|
parentKey: null,
|
|
10430
10457
|
parentPath: null,
|
|
10431
10458
|
targetPath: null,
|
|
10432
10459
|
placement: null
|
|
10433
|
-
}),
|
|
10460
|
+
}), F = w(null), L = w(null), R = w(null), ie = w(null), ae = w(null), z = w(null), oe = w("file"), se = w(), le = w(null), ue = w(null), de = w(null), fe = r(() => !z.value), pe = w(null), he = w(null), ge = w(null), _e = w(null), ve = w(), be = w({
|
|
10434
10461
|
label: null,
|
|
10435
10462
|
description: null,
|
|
10436
10463
|
kind: "danger",
|
|
@@ -10468,7 +10495,7 @@ var cr = [
|
|
|
10468
10495
|
return t?.reduce((e, t) => Ve.isNil(e) ? void 0 : e[t], e);
|
|
10469
10496
|
}
|
|
10470
10497
|
function H(e = null) {
|
|
10471
|
-
let t = e ||
|
|
10498
|
+
let t = e || M.value, n = [];
|
|
10472
10499
|
return D.value = t?.split("."), D.value?.forEach((e) => {
|
|
10473
10500
|
n.push("properties", e);
|
|
10474
10501
|
}), n;
|
|
@@ -10497,8 +10524,8 @@ var cr = [
|
|
|
10497
10524
|
return e === "LxList" ? !i : e === "LxDataGrid" ? !i && !a : !0;
|
|
10498
10525
|
}
|
|
10499
10526
|
function W(e, t) {
|
|
10500
|
-
(!
|
|
10501
|
-
let n =
|
|
10527
|
+
(!M.value || !t) && Se();
|
|
10528
|
+
let n = M.value?.split(".")?.slice(-1)[0], r = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, i = (r ? V(e, H(r)) : e)?.properties, a = Object.keys(i), o = a.indexOf(n), s = o >= 0 ? a[o + 1] : null, c = s ? i[s] : null, l = o > 0 ? a[o - 1] : null;
|
|
10502
10529
|
if (B.value.canMoveBack = !!l, B.value.canMoveForward = !!s, B.value.canMoveForwardIn = De(c) && b.value !== "LxSection", B.value.canMoveForwardIn && c) {
|
|
10503
10530
|
let t = [r, s].filter(Boolean).join(".");
|
|
10504
10531
|
if (U(c) === "form") {
|
|
@@ -10527,9 +10554,9 @@ var cr = [
|
|
|
10527
10554
|
}
|
|
10528
10555
|
t = t.parentElement;
|
|
10529
10556
|
}
|
|
10530
|
-
n && (b.value = n.type, T.value = n.node.type.props, S.value = Y.objectClone(n.props), Ce({ target: t }),
|
|
10531
|
-
let r =
|
|
10532
|
-
|
|
10557
|
+
n && (b.value = n.type, T.value = n.node.type.props, S.value = Y.objectClone(n.props), Ce({ target: t }), M.value = n.builderName, v.value = n.componentStack, F.value = M.value?.includes(".") ? M.value?.split(".")?.slice(-1)[0] : M.value, ge.value = null), E.value = V(p.value, H());
|
|
10558
|
+
let r = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
|
|
10559
|
+
L.value = V(p.value, H(r)?.slice(0, -1)), W(p.value, E.value), _e.value = "config";
|
|
10533
10560
|
});
|
|
10534
10561
|
}
|
|
10535
10562
|
function Me() {
|
|
@@ -10561,21 +10588,21 @@ var cr = [
|
|
|
10561
10588
|
}
|
|
10562
10589
|
function Ie(e) {
|
|
10563
10590
|
let t = [];
|
|
10564
|
-
D.value =
|
|
10591
|
+
D.value = M.value?.split("."), D.value?.forEach((e) => {
|
|
10565
10592
|
t.push("properties", e);
|
|
10566
10593
|
});
|
|
10567
10594
|
let n = Y.objectClone(p.value);
|
|
10568
10595
|
K(n, t, e), p.value = n, E.value = e, we();
|
|
10569
10596
|
}
|
|
10570
10597
|
function Le() {
|
|
10571
|
-
|
|
10598
|
+
P.value = {
|
|
10572
10599
|
canPlaceInside: !1,
|
|
10573
10600
|
key: null,
|
|
10574
10601
|
path: null
|
|
10575
10602
|
};
|
|
10576
10603
|
}
|
|
10577
10604
|
function ze() {
|
|
10578
|
-
|
|
10605
|
+
ne.value = {
|
|
10579
10606
|
canMoveOut: !1,
|
|
10580
10607
|
parentKey: null,
|
|
10581
10608
|
parentPath: null,
|
|
@@ -10607,8 +10634,8 @@ var cr = [
|
|
|
10607
10634
|
});
|
|
10608
10635
|
}
|
|
10609
10636
|
function Ke() {
|
|
10610
|
-
if (!
|
|
10611
|
-
let e =
|
|
10637
|
+
if (!M.value) return;
|
|
10638
|
+
let e = M.value, t = M.value?.split(".")?.slice(-1)[0], n = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null, r = n ? H(n) : null, i = Y.objectClone(p.value), a = r ? V(i, r) : i, o = a?.properties;
|
|
10612
10639
|
if (!o || !t) return;
|
|
10613
10640
|
let s = Object.keys(o), c = s[s.indexOf(t) + 1];
|
|
10614
10641
|
if (!c) return;
|
|
@@ -10663,8 +10690,8 @@ var cr = [
|
|
|
10663
10690
|
};
|
|
10664
10691
|
}
|
|
10665
10692
|
function Ye(e) {
|
|
10666
|
-
if (!
|
|
10667
|
-
let t =
|
|
10693
|
+
if (!M.value || e !== "next" && e !== "previous") return;
|
|
10694
|
+
let t = M.value, { parent: n, key: r } = qe(M.value);
|
|
10668
10695
|
if (!n) return;
|
|
10669
10696
|
let { parent: i, key: a } = qe(n);
|
|
10670
10697
|
if (!i) return;
|
|
@@ -10721,8 +10748,8 @@ var cr = [
|
|
|
10721
10748
|
}
|
|
10722
10749
|
function Ze(e) {
|
|
10723
10750
|
let t = null;
|
|
10724
|
-
|
|
10725
|
-
let n = t ? V(p.value, t) : p.value, r =
|
|
10751
|
+
M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10752
|
+
let n = t ? V(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = Ue.generateUUID(), a = or(e), o = n.properties, s = {};
|
|
10726
10753
|
Object.keys(o).forEach((e) => {
|
|
10727
10754
|
s[e] = o[e], e === r && (s[i] = a);
|
|
10728
10755
|
}), n.properties = s;
|
|
@@ -10730,8 +10757,8 @@ var cr = [
|
|
|
10730
10757
|
K(c, t, n), p.value = c, Xe(e, i, t), Ge([We(t), i].filter(Boolean).join("."));
|
|
10731
10758
|
}
|
|
10732
10759
|
function Qe(e) {
|
|
10733
|
-
if (!
|
|
10734
|
-
let t =
|
|
10760
|
+
if (!M.value) return !1;
|
|
10761
|
+
let t = M.value?.split(".")?.slice(-1)[0], n = M.value?.includes(".") ? M.value?.split(".")?.slice(0, -1)?.join(".") : null;
|
|
10735
10762
|
if (!n) return !1;
|
|
10736
10763
|
let r = n?.includes(".") ? n?.split(".")?.slice(0, -1)?.join(".") : null, i = n?.split(".")?.slice(-1)[0] || null;
|
|
10737
10764
|
if (!i) return !1;
|
|
@@ -10746,7 +10773,7 @@ var cr = [
|
|
|
10746
10773
|
}
|
|
10747
10774
|
function $e(e) {
|
|
10748
10775
|
let t = null;
|
|
10749
|
-
t = H(
|
|
10776
|
+
t = H(M.value?.split(".")?.join("."));
|
|
10750
10777
|
let n = t ? V(p.value, t) : p.value, r = Object.keys(n.properties || {})[Object.keys(n.properties || {}).length - 1], i = Ue.generateUUID(), a = or(e), o = n.properties, s = {};
|
|
10751
10778
|
Object.keys(o).forEach((e) => {
|
|
10752
10779
|
s[e] = o[e];
|
|
@@ -10771,8 +10798,8 @@ var cr = [
|
|
|
10771
10798
|
}
|
|
10772
10799
|
function nt() {
|
|
10773
10800
|
let e = null;
|
|
10774
|
-
|
|
10775
|
-
let t = e ? V(p.value, e) : p.value, n =
|
|
10801
|
+
M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10802
|
+
let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = t.properties, i = {};
|
|
10776
10803
|
Object.keys(r).forEach((e) => {
|
|
10777
10804
|
e !== n && (i[e] = r[e]);
|
|
10778
10805
|
}), t.properties = i;
|
|
@@ -10781,8 +10808,8 @@ var cr = [
|
|
|
10781
10808
|
}
|
|
10782
10809
|
function rt() {
|
|
10783
10810
|
let e = null;
|
|
10784
|
-
|
|
10785
|
-
let t = e ? V(p.value, e) : p.value, n =
|
|
10811
|
+
M.value?.includes(".") && (e = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10812
|
+
let t = e ? V(p.value, e) : p.value, n = M.value?.split(".")?.slice(-1)[0], r = Ue.generateUUID(), i = Y.objectClone(t.properties[n]), a = t.properties, o = {};
|
|
10786
10813
|
Object.keys(a).forEach((e) => {
|
|
10787
10814
|
o[e] = a[e], e === n && (o[r] = i);
|
|
10788
10815
|
}), t.properties = o;
|
|
@@ -10795,8 +10822,8 @@ var cr = [
|
|
|
10795
10822
|
}
|
|
10796
10823
|
function it(e) {
|
|
10797
10824
|
let t = null;
|
|
10798
|
-
|
|
10799
|
-
let n = t ? V(p.value, t) : p.value, r =
|
|
10825
|
+
M.value?.includes(".") && (t = H(M.value?.split(".")?.slice(0, -1)?.join(".")));
|
|
10826
|
+
let n = t ? V(p.value, t) : p.value, r = M.value?.split(".")?.slice(-1)[0], i = n.properties, a = {}, o = Object.keys(i), s = o.indexOf(r);
|
|
10800
10827
|
if (e === "up" && s > 0 || e === "down" && s < o.length - 1) {
|
|
10801
10828
|
e === "up" ? o.forEach((e, t) => {
|
|
10802
10829
|
t === s - 1 && (a[r] = i[r]), e !== r && (a[e] = i[e]);
|
|
@@ -10810,7 +10837,7 @@ var cr = [
|
|
|
10810
10837
|
}
|
|
10811
10838
|
}
|
|
10812
10839
|
function at() {
|
|
10813
|
-
|
|
10840
|
+
R.value.open();
|
|
10814
10841
|
}
|
|
10815
10842
|
function ot() {
|
|
10816
10843
|
navigator.clipboard.writeText(JSON.stringify(p.value, null, 2)), f("schemaCopy");
|
|
@@ -10925,7 +10952,7 @@ var cr = [
|
|
|
10925
10952
|
function Tt() {
|
|
10926
10953
|
globalThis.open("https://github.com/dativa-lv/lx-builders/issues", "_blank", "noopener");
|
|
10927
10954
|
}
|
|
10928
|
-
|
|
10955
|
+
ee(() => [h.value, g.value], () => {
|
|
10929
10956
|
we();
|
|
10930
10957
|
});
|
|
10931
10958
|
function Et() {
|
|
@@ -10952,16 +10979,16 @@ var cr = [
|
|
|
10952
10979
|
ge.value = d.value?.schemaKeyEmptyError;
|
|
10953
10980
|
return;
|
|
10954
10981
|
}
|
|
10955
|
-
if (!
|
|
10982
|
+
if (!L.value) {
|
|
10956
10983
|
ge.value = d.value?.schemaKeyParentError;
|
|
10957
10984
|
return;
|
|
10958
10985
|
}
|
|
10959
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
10986
|
+
if (Object.prototype.hasOwnProperty.call(L.value, e) && e !== F.value) {
|
|
10960
10987
|
ge.value = d.value?.schemaKeyDuplicateError?.replace("{0}", e);
|
|
10961
10988
|
return;
|
|
10962
10989
|
}
|
|
10963
10990
|
ge.value = null;
|
|
10964
|
-
let t = Dt(
|
|
10991
|
+
let t = Dt(L.value, F.value, e), n = M.value?.includes(".") ? M.value?.split(".")?.join(".") : null;
|
|
10965
10992
|
K(p.value, H(n)?.slice(0, -1), t);
|
|
10966
10993
|
} catch {
|
|
10967
10994
|
ge.value = d.value?.schemaKeyUpdateError;
|
|
@@ -10982,13 +11009,13 @@ var cr = [
|
|
|
10982
11009
|
isSectionInFilterForm: t && Object.values(p.value?.properties || {}).some((e) => e.type === "object" && e.lx?.displayType === "filters" && Object.values(e.properties || {}).some((e) => e.type === "object" && e.lx?.displayType === "section"))
|
|
10983
11010
|
};
|
|
10984
11011
|
}), At = r(() => {
|
|
10985
|
-
if (!
|
|
10986
|
-
let e =
|
|
11012
|
+
if (!M.value) return null;
|
|
11013
|
+
let e = M.value.split(".").filter(Boolean);
|
|
10987
11014
|
return e.length ? V(m.value, e) : m.value;
|
|
10988
11015
|
});
|
|
10989
11016
|
function jt(e) {
|
|
10990
|
-
if (!
|
|
10991
|
-
let t =
|
|
11017
|
+
if (!M.value) return;
|
|
11018
|
+
let t = M.value.split(".").filter(Boolean), n = Y.objectClone(m.value || {});
|
|
10992
11019
|
if (!t.length) {
|
|
10993
11020
|
m.value = e;
|
|
10994
11021
|
return;
|
|
@@ -10996,11 +11023,11 @@ var cr = [
|
|
|
10996
11023
|
K(n, t, e), m.value = n;
|
|
10997
11024
|
}
|
|
10998
11025
|
return (t, r) => (C(), o("div", null, [
|
|
10999
|
-
s("div",
|
|
11026
|
+
s("div", Pr, [te(s("div", {
|
|
11000
11027
|
class: "highlight",
|
|
11001
11028
|
style: y(k.value.style)
|
|
11002
|
-
}, [s("div",
|
|
11003
|
-
B.value.canMoveForwardIn && Me() ? (C(), i(A(
|
|
11029
|
+
}, [s("div", Fr, [
|
|
11030
|
+
B.value.canMoveForwardIn && Me() ? (C(), i(A(I), {
|
|
11004
11031
|
key: 0,
|
|
11005
11032
|
icon: "move-inside",
|
|
11006
11033
|
variant: "icon-only",
|
|
@@ -11008,7 +11035,7 @@ var cr = [
|
|
|
11008
11035
|
kind: "ghost",
|
|
11009
11036
|
onClick: r[0] ||= (e) => Ke()
|
|
11010
11037
|
}, null, 8, ["label"])) : a("", !0),
|
|
11011
|
-
B.value.moveOut && Me() ? (C(), i(A(
|
|
11038
|
+
B.value.moveOut && Me() ? (C(), i(A(I), {
|
|
11012
11039
|
key: 1,
|
|
11013
11040
|
icon: "move-outside",
|
|
11014
11041
|
variant: "icon-only",
|
|
@@ -11021,14 +11048,14 @@ var cr = [
|
|
|
11021
11048
|
orientation: "horizontal",
|
|
11022
11049
|
kind: "compact"
|
|
11023
11050
|
}, {
|
|
11024
|
-
default:
|
|
11051
|
+
default: N(() => [B.value.canMoveBack ? (C(), i(A(I), {
|
|
11025
11052
|
key: 0,
|
|
11026
11053
|
icon: "back",
|
|
11027
11054
|
variant: "icon-only",
|
|
11028
11055
|
label: d.value.back,
|
|
11029
11056
|
kind: "ghost",
|
|
11030
11057
|
onClick: r[2] ||= (e) => it("up")
|
|
11031
|
-
}, null, 8, ["label"])) : a("", !0), B.value.canMoveForward ? (C(), i(A(
|
|
11058
|
+
}, null, 8, ["label"])) : a("", !0), B.value.canMoveForward ? (C(), i(A(I), {
|
|
11032
11059
|
key: 1,
|
|
11033
11060
|
icon: "next",
|
|
11034
11061
|
variant: "icon-only",
|
|
@@ -11039,7 +11066,7 @@ var cr = [
|
|
|
11039
11066
|
_: 1
|
|
11040
11067
|
})) : a("", !0),
|
|
11041
11068
|
s("span", null, O(b.value), 1)
|
|
11042
|
-
]), s("div",
|
|
11069
|
+
]), s("div", Ir, [b.value === "LxViewLayout" ? a("", !0) : (C(), i(A(I), {
|
|
11043
11070
|
key: 0,
|
|
11044
11071
|
icon: "delete",
|
|
11045
11072
|
variant: "icon-only",
|
|
@@ -11052,14 +11079,14 @@ var cr = [
|
|
|
11052
11079
|
to: e.panelTeleportTarget,
|
|
11053
11080
|
disabled: !e.panelTeleportTarget,
|
|
11054
11081
|
defer: ""
|
|
11055
|
-
}, [u(
|
|
11082
|
+
}, [u(Nr, {
|
|
11056
11083
|
componentName: b.value,
|
|
11057
11084
|
componentProps: S.value,
|
|
11058
11085
|
componentPropsDefinitions: T.value,
|
|
11059
11086
|
navigation: v.value,
|
|
11060
11087
|
componentModel: E.value,
|
|
11061
11088
|
selectedModel: At.value,
|
|
11062
|
-
schemaKey:
|
|
11089
|
+
schemaKey: F.value,
|
|
11063
11090
|
schemaKeyError: ge.value,
|
|
11064
11091
|
schemaInfo: kt.value,
|
|
11065
11092
|
selectedTab: _e.value,
|
|
@@ -11092,7 +11119,7 @@ var cr = [
|
|
|
11092
11119
|
"selectedTab",
|
|
11093
11120
|
"texts"
|
|
11094
11121
|
])], 8, ["to", "disabled"])),
|
|
11095
|
-
s("div",
|
|
11122
|
+
s("div", Lr, [u(Fn, {
|
|
11096
11123
|
schema: e.schema,
|
|
11097
11124
|
modelValue: m.value,
|
|
11098
11125
|
"onUpdate:modelValue": r[6] ||= (e) => m.value = e,
|
|
@@ -11100,7 +11127,7 @@ var cr = [
|
|
|
11100
11127
|
}, null, 8, ["schema", "modelValue"])]),
|
|
11101
11128
|
u(A(Ee), {
|
|
11102
11129
|
ref_key: "exportModal",
|
|
11103
|
-
ref:
|
|
11130
|
+
ref: R,
|
|
11104
11131
|
label: d.value?.exportModal,
|
|
11105
11132
|
size: "m",
|
|
11106
11133
|
actionDefinitions: [{
|
|
@@ -11109,7 +11136,7 @@ var cr = [
|
|
|
11109
11136
|
kind: "secondary"
|
|
11110
11137
|
}]
|
|
11111
11138
|
}, {
|
|
11112
|
-
default:
|
|
11139
|
+
default: N(() => [u(A(Fe), {
|
|
11113
11140
|
actionDefinitions: [{
|
|
11114
11141
|
id: "download",
|
|
11115
11142
|
name: d.value?.download,
|
|
@@ -11122,7 +11149,7 @@ var cr = [
|
|
|
11122
11149
|
icon: "copy"
|
|
11123
11150
|
}],
|
|
11124
11151
|
onActionClick: ct
|
|
11125
|
-
}, null, 8, ["actionDefinitions"]), s("div",
|
|
11152
|
+
}, null, 8, ["actionDefinitions"]), s("div", Rr, [s("pre", zr, O(JSON.stringify(p.value, null, 2)), 1)])]),
|
|
11126
11153
|
_: 1
|
|
11127
11154
|
}, 8, ["label", "actionDefinitions"]),
|
|
11128
11155
|
u(A(Ee), {
|
|
@@ -11145,8 +11172,8 @@ var cr = [
|
|
|
11145
11172
|
ae.value = null, z.value = null;
|
|
11146
11173
|
}
|
|
11147
11174
|
}, {
|
|
11148
|
-
default:
|
|
11149
|
-
s("div",
|
|
11175
|
+
default: N(() => [
|
|
11176
|
+
s("div", Br, [u(A(re), {
|
|
11150
11177
|
modelValue: oe.value,
|
|
11151
11178
|
"onUpdate:modelValue": r[7] ||= (e) => oe.value = e,
|
|
11152
11179
|
items: [{
|
|
@@ -11157,7 +11184,7 @@ var cr = [
|
|
|
11157
11184
|
name: d.value?.importText
|
|
11158
11185
|
}]
|
|
11159
11186
|
}, null, 8, ["modelValue", "items"])]),
|
|
11160
|
-
|
|
11187
|
+
te(s("div", null, [u(A(me), {
|
|
11161
11188
|
modelValue: ae.value,
|
|
11162
11189
|
draggable: !0,
|
|
11163
11190
|
allowedFileExtensions: [".json"],
|
|
@@ -11165,7 +11192,7 @@ var cr = [
|
|
|
11165
11192
|
texts: d.value?.fileUploader,
|
|
11166
11193
|
"onUpdate:modelValue": ft
|
|
11167
11194
|
}, null, 8, ["modelValue", "texts"])], 512), [[j, oe.value === "file"]]),
|
|
11168
|
-
|
|
11195
|
+
te(u(A(Pe), {
|
|
11169
11196
|
modelValue: z.value,
|
|
11170
11197
|
"onUpdate:modelValue": r[8] ||= (e) => z.value = e,
|
|
11171
11198
|
rows: 20,
|
|
@@ -11196,7 +11223,7 @@ var cr = [
|
|
|
11196
11223
|
}],
|
|
11197
11224
|
onActionClick: vt
|
|
11198
11225
|
}, {
|
|
11199
|
-
default:
|
|
11226
|
+
default: N(() => [u(A(Pe), {
|
|
11200
11227
|
modelValue: ue.value,
|
|
11201
11228
|
"onUpdate:modelValue": r[10] ||= (e) => ue.value = e,
|
|
11202
11229
|
rows: 50,
|
|
@@ -11215,7 +11242,7 @@ var cr = [
|
|
|
11215
11242
|
label: d.value?.componentAddModal,
|
|
11216
11243
|
description: d.value?.componentAddModalDescription
|
|
11217
11244
|
}, {
|
|
11218
|
-
default:
|
|
11245
|
+
default: N(() => [s("p", Vr, O(d.value?.componentAddChoice), 1), u(A(xe), {
|
|
11219
11246
|
items: [{
|
|
11220
11247
|
id: "next",
|
|
11221
11248
|
name: d.value?.componentAddNext,
|
|
@@ -11232,12 +11259,12 @@ var cr = [
|
|
|
11232
11259
|
icon: "next",
|
|
11233
11260
|
onActionClick: tt
|
|
11234
11261
|
}, {
|
|
11235
|
-
customItem:
|
|
11262
|
+
customItem: N((e) => [u(A(G), {
|
|
11236
11263
|
orientation: "horizontal",
|
|
11237
11264
|
verticalAlignment: "center"
|
|
11238
11265
|
}, {
|
|
11239
|
-
default:
|
|
11240
|
-
default:
|
|
11266
|
+
default: N(() => [u(A(ye), { value: e.displayIcon }, null, 8, ["value"]), u(A(G), { kind: "compact" }, {
|
|
11267
|
+
default: N(() => [s("p", Hr, O(e.name), 1), s("p", Ur, O(e.description), 1)]),
|
|
11241
11268
|
_: 2
|
|
11242
11269
|
}, 1024)]),
|
|
11243
11270
|
_: 2
|
|
@@ -11263,7 +11290,7 @@ var cr = [
|
|
|
11263
11290
|
}],
|
|
11264
11291
|
onActionClick: Ct
|
|
11265
11292
|
}, {
|
|
11266
|
-
default:
|
|
11293
|
+
default: N(() => [u(A(Pe), {
|
|
11267
11294
|
modelValue: bt.value,
|
|
11268
11295
|
"onUpdate:modelValue": r[11] ||= (e) => bt.value = e,
|
|
11269
11296
|
rows: 20,
|
|
@@ -11304,14 +11331,14 @@ var cr = [
|
|
|
11304
11331
|
])
|
|
11305
11332
|
]));
|
|
11306
11333
|
}
|
|
11307
|
-
}),
|
|
11334
|
+
}), Gr = { async install(e, t = {}) {
|
|
11308
11335
|
let { lxOptions: n, ...r } = t || {};
|
|
11309
11336
|
if (Ze(r), n) {
|
|
11310
11337
|
let { createLx: t } = await import("@dativa-lv/lx-ui");
|
|
11311
11338
|
e.use(t, n);
|
|
11312
11339
|
}
|
|
11313
|
-
} },
|
|
11314
|
-
t.use(
|
|
11340
|
+
} }, Kr = (e) => ({ async install(t) {
|
|
11341
|
+
t.use(Gr, e);
|
|
11315
11342
|
} });
|
|
11316
11343
|
//#endregion
|
|
11317
|
-
export {
|
|
11344
|
+
export { Wr as LxConstructor, Pn as LxFilterBuilder, Nn as LxFormBuilder, Fn as LxViewBuilder, Kr as createLxBuilders, Qe as getGlobalProperties, Gr as lxBuildersPlugin, Ze as setGlobalProperties };
|