x-prop-tree 0.8.19 → 0.8.20
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/index.js +99 -72
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -780,7 +780,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
780
780
|
},
|
|
781
781
|
openModifiers: {}
|
|
782
782
|
},
|
|
783
|
-
emits:
|
|
783
|
+
emits: /*@__PURE__*/ v(["x-select"], ["update:open"]),
|
|
784
784
|
setup(e, { emit: t }) {
|
|
785
785
|
let { t: r } = K(), a = N(e, "open"), s = t, d = ft(), f = (e) => {
|
|
786
786
|
let t = i(d, e);
|
|
@@ -809,7 +809,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
809
809
|
}
|
|
810
810
|
}), Mt = { class: "text-body-large" }, Nt = /* @__PURE__ */ m({
|
|
811
811
|
__name: "index",
|
|
812
|
-
props:
|
|
812
|
+
props: /*@__PURE__*/ v({
|
|
813
813
|
hasDelete: {
|
|
814
814
|
type: Boolean,
|
|
815
815
|
default: !1
|
|
@@ -822,105 +822,114 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
822
822
|
modelValue: { default: null },
|
|
823
823
|
modelModifiers: {}
|
|
824
824
|
}),
|
|
825
|
-
emits:
|
|
826
|
-
setup(
|
|
827
|
-
let { t:
|
|
825
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
826
|
+
setup(t, { emit: n }) {
|
|
827
|
+
let { t: a } = K(), o = be(), { sysBarAvail: u } = H(), { backgroundColor1: m } = V(), h = N(t, "modelValue"), g = n, v = ft(), x = s(() => {
|
|
828
828
|
let e = "100%";
|
|
829
|
-
return
|
|
830
|
-
background:
|
|
829
|
+
return o.mdAndUp.value && (e = "400px"), {
|
|
830
|
+
background: m.value,
|
|
831
831
|
width: e,
|
|
832
832
|
height: "100%"
|
|
833
833
|
};
|
|
834
|
-
}),
|
|
834
|
+
}), S = s(() => {
|
|
835
835
|
let e = 48;
|
|
836
|
-
return
|
|
836
|
+
return u.value && (e += 24), {
|
|
837
837
|
position: "relative",
|
|
838
838
|
height: `calc(100% - ${e}px)`
|
|
839
839
|
};
|
|
840
|
-
}),
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
840
|
+
}), T = s(() => ({ height: "60px" }));
|
|
841
|
+
F(() => {
|
|
842
|
+
if (!h.value) return;
|
|
843
|
+
let t = i(v, h.value.id);
|
|
844
|
+
t && !e(t.names, h.value.names) && (h.value = {
|
|
845
|
+
...h.value,
|
|
846
|
+
names: r(t.names)
|
|
847
|
+
});
|
|
848
|
+
});
|
|
849
|
+
let E = s(() => {
|
|
850
|
+
if (h.value) {
|
|
851
|
+
let { kind: e } = ve(h.value.id);
|
|
852
|
+
return e === "elementSlot" || e === "multipleElementSlot" ? h.value.names.map((e) => a(e)).join(" / ") : h.value.names.join(" / ");
|
|
853
|
+
} else return a("x-runtime-lib.notSet");
|
|
854
|
+
}), { open: D } = U(`propTreeAdaptSlotSelectDlg${M()}`);
|
|
846
855
|
C(() => {
|
|
847
|
-
|
|
856
|
+
D.value = !1;
|
|
848
857
|
});
|
|
849
|
-
function
|
|
858
|
+
function ee(e) {
|
|
850
859
|
if (!e) {
|
|
851
|
-
|
|
860
|
+
h.value = null;
|
|
852
861
|
return;
|
|
853
862
|
}
|
|
854
|
-
let t = i(
|
|
863
|
+
let t = i(v, e);
|
|
855
864
|
if (!t) {
|
|
856
|
-
|
|
865
|
+
h.value = null;
|
|
857
866
|
return;
|
|
858
867
|
}
|
|
859
|
-
|
|
868
|
+
h.value = {
|
|
860
869
|
id: t.id,
|
|
861
870
|
names: t.names
|
|
862
871
|
};
|
|
863
872
|
}
|
|
864
|
-
return (
|
|
865
|
-
let
|
|
866
|
-
return w(), c(
|
|
867
|
-
modelValue: j(
|
|
868
|
-
"onUpdate:modelValue":
|
|
873
|
+
return (e, n) => {
|
|
874
|
+
let r = O("v-btn"), i = O("v-sheet"), o = O("v-dialog");
|
|
875
|
+
return w(), c(o, {
|
|
876
|
+
modelValue: j(D),
|
|
877
|
+
"onUpdate:modelValue": n[5] ||= (e) => _(D) ? D.value = e : null,
|
|
869
878
|
fullscreen: "",
|
|
870
879
|
"no-click-animation": "",
|
|
871
880
|
persistent: "",
|
|
872
881
|
transition: "scroll-x-reverse-transition",
|
|
873
|
-
onKeydown:
|
|
882
|
+
onKeydown: n[6] ||= R(z((e) => D.value = !1, ["stop", "prevent"]), ["esc"])
|
|
874
883
|
}, {
|
|
875
|
-
activator: I(({ props:
|
|
884
|
+
activator: I(({ props: e }) => [p(r, y(e, {
|
|
876
885
|
block: "",
|
|
877
886
|
density: "comfortable",
|
|
878
|
-
readonly:
|
|
887
|
+
readonly: t.readonly
|
|
879
888
|
}), {
|
|
880
|
-
default: I(() => [f(A(
|
|
889
|
+
default: I(() => [f(A(E.value), 1)]),
|
|
881
890
|
_: 1
|
|
882
|
-
}, 16, ["readonly"]),
|
|
891
|
+
}, 16, ["readonly"]), t.hasDelete ? (w(), c(r, {
|
|
883
892
|
key: 0,
|
|
884
893
|
class: "mx-2",
|
|
885
894
|
density: "compact",
|
|
886
895
|
icon: "mdi-minus",
|
|
887
896
|
variant: "text",
|
|
888
|
-
onClick:
|
|
897
|
+
onClick: n[0] ||= z((e) => g("delete"), ["stop"])
|
|
889
898
|
})) : l("", !0)]),
|
|
890
899
|
default: I(() => [d("div", {
|
|
891
900
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
892
|
-
onClick:
|
|
893
|
-
onContextmenu:
|
|
901
|
+
onClick: n[3] ||= z((e) => D.value = !1, ["self"]),
|
|
902
|
+
onContextmenu: n[4] ||= z((e) => D.value = !1, ["self", "prevent"])
|
|
894
903
|
}, [d("div", {
|
|
895
904
|
class: "elevation-2",
|
|
896
|
-
style: b(
|
|
905
|
+
style: b(x.value)
|
|
897
906
|
}, [
|
|
898
|
-
j(
|
|
907
|
+
j(u) ? (w(), c(i, {
|
|
899
908
|
key: 0,
|
|
900
909
|
color: "transparent",
|
|
901
910
|
height: 24
|
|
902
911
|
})) : l("", !0),
|
|
903
|
-
p(
|
|
912
|
+
p(i, {
|
|
904
913
|
class: "d-flex align-center px-3",
|
|
905
914
|
color: "transparent",
|
|
906
915
|
height: 48
|
|
907
916
|
}, {
|
|
908
|
-
default: I(() => [p(
|
|
917
|
+
default: I(() => [p(r, {
|
|
909
918
|
density: "comfortable",
|
|
910
919
|
icon: "mdi-close",
|
|
911
920
|
variant: "text",
|
|
912
|
-
onClick:
|
|
913
|
-
}), d("span", Mt, A(j(
|
|
921
|
+
onClick: n[1] ||= (e) => D.value = !1
|
|
922
|
+
}), d("span", Mt, A(j(a)("x-prop-tree.selectAdaptSlot")), 1)]),
|
|
914
923
|
_: 1
|
|
915
924
|
}),
|
|
916
925
|
d("div", {
|
|
917
926
|
class: "overflow-y-auto",
|
|
918
|
-
style: b(
|
|
927
|
+
style: b(S.value)
|
|
919
928
|
}, [p(jt, {
|
|
920
|
-
open: j(
|
|
921
|
-
"onUpdate:open":
|
|
922
|
-
onXSelect:
|
|
923
|
-
}, null, 8, ["open"]), d("div", { style: b(
|
|
929
|
+
open: j(D),
|
|
930
|
+
"onUpdate:open": n[2] ||= (e) => _(D) ? D.value = e : null,
|
|
931
|
+
onXSelect: ee
|
|
932
|
+
}, null, 8, ["open"]), d("div", { style: b(T.value) }, null, 4)], 4)
|
|
924
933
|
], 4)], 32)]),
|
|
925
934
|
_: 1
|
|
926
935
|
}, 8, ["modelValue"]);
|
|
@@ -997,7 +1006,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
997
1006
|
},
|
|
998
1007
|
openModifiers: {}
|
|
999
1008
|
},
|
|
1000
|
-
emits:
|
|
1009
|
+
emits: /*@__PURE__*/ v(["x-select"], ["update:open"]),
|
|
1001
1010
|
setup(e, { emit: t }) {
|
|
1002
1011
|
let { t: r } = K(), a = N(e, "open"), s = t, d = ct();
|
|
1003
1012
|
function f(e) {
|
|
@@ -1028,7 +1037,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1028
1037
|
}
|
|
1029
1038
|
}), Ht = { class: "text-body-large" }, Ut = /* @__PURE__ */ m({
|
|
1030
1039
|
__name: "index",
|
|
1031
|
-
props:
|
|
1040
|
+
props: /*@__PURE__*/ v({
|
|
1032
1041
|
hasDelete: {
|
|
1033
1042
|
type: Boolean,
|
|
1034
1043
|
default: !1
|
|
@@ -1041,7 +1050,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1041
1050
|
modelValue: { default: null },
|
|
1042
1051
|
modelModifiers: {}
|
|
1043
1052
|
}),
|
|
1044
|
-
emits:
|
|
1053
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1045
1054
|
setup(e, { emit: t }) {
|
|
1046
1055
|
let { t: n } = K(), r = be(), { sysBarAvail: a } = H(), { backgroundColor1: o } = V(), u = N(e, "modelValue"), m = t, h = ct(), g = s(() => {
|
|
1047
1056
|
let e = "100%";
|
|
@@ -1056,7 +1065,16 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1056
1065
|
position: "relative",
|
|
1057
1066
|
height: `calc(100% - ${e}px)`
|
|
1058
1067
|
};
|
|
1059
|
-
}), x = s(() => ({ height: "60px" }))
|
|
1068
|
+
}), x = s(() => ({ height: "60px" }));
|
|
1069
|
+
F(() => {
|
|
1070
|
+
if (!u.value) return;
|
|
1071
|
+
let e = i(h, u.value.id);
|
|
1072
|
+
e && e.name !== u.value.name && (u.value = {
|
|
1073
|
+
...u.value,
|
|
1074
|
+
name: e.name
|
|
1075
|
+
});
|
|
1076
|
+
});
|
|
1077
|
+
let S = s(() => u.value ? u.value.name : n("x-runtime-lib.notSet")), { open: T } = U(`propTreeCompSelectDlg${M()}`);
|
|
1060
1078
|
C(() => {
|
|
1061
1079
|
T.value = !1;
|
|
1062
1080
|
});
|
|
@@ -1142,7 +1160,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1142
1160
|
}
|
|
1143
1161
|
}), Wt = { class: "d-flex justify-space-between align-center" }, Gt = /* @__PURE__ */ m({
|
|
1144
1162
|
__name: "index",
|
|
1145
|
-
props:
|
|
1163
|
+
props: /*@__PURE__*/ v({
|
|
1146
1164
|
hasDelete: {
|
|
1147
1165
|
type: Boolean,
|
|
1148
1166
|
default: !1
|
|
@@ -1155,7 +1173,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1155
1173
|
modelValue: { required: !0 },
|
|
1156
1174
|
modelModifiers: {}
|
|
1157
1175
|
}),
|
|
1158
|
-
emits:
|
|
1176
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1159
1177
|
setup(e, { emit: t }) {
|
|
1160
1178
|
let { isMobile: n } = H(), r = N(e, "modelValue"), i = t, a = async (t) => {
|
|
1161
1179
|
if (!t || e.readonly || !n()) return;
|
|
@@ -1238,7 +1256,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1238
1256
|
}
|
|
1239
1257
|
}), qt = { class: "text-body-large" }, Jt = /* @__PURE__ */ m({
|
|
1240
1258
|
__name: "index",
|
|
1241
|
-
props:
|
|
1259
|
+
props: /*@__PURE__*/ v({
|
|
1242
1260
|
hasDelete: {
|
|
1243
1261
|
type: Boolean,
|
|
1244
1262
|
default: !1
|
|
@@ -1251,7 +1269,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1251
1269
|
modelValue: { required: !0 },
|
|
1252
1270
|
modelModifiers: {}
|
|
1253
1271
|
}),
|
|
1254
|
-
emits:
|
|
1272
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1255
1273
|
setup(e, { emit: t }) {
|
|
1256
1274
|
let { t: n } = K(), { sysBarAvail: r } = H(), { backgroundColor0: i, backgroundColor1: a, backgroundColor2: o } = V(), u = N(e, "modelValue"), m = t, h = E(!1), g = E(1), v = s(() => {
|
|
1257
1275
|
let e = 48;
|
|
@@ -1345,7 +1363,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1345
1363
|
}
|
|
1346
1364
|
}), Yt = { class: "d-flex justify-space-between align-center" }, Xt = /* @__PURE__ */ m({
|
|
1347
1365
|
__name: "color",
|
|
1348
|
-
props:
|
|
1366
|
+
props: /*@__PURE__*/ v({
|
|
1349
1367
|
hasDelete: {
|
|
1350
1368
|
type: Boolean,
|
|
1351
1369
|
default: !1
|
|
@@ -1358,7 +1376,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1358
1376
|
modelValue: {},
|
|
1359
1377
|
modelModifiers: {}
|
|
1360
1378
|
}),
|
|
1361
|
-
emits:
|
|
1379
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1362
1380
|
setup(e, { emit: t }) {
|
|
1363
1381
|
let { t: n } = K(), r = N(e, "modelValue"), i = t, a = s(() => {
|
|
1364
1382
|
let t = "100%";
|
|
@@ -1406,7 +1424,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1406
1424
|
}
|
|
1407
1425
|
}), Zt = { class: "d-flex justify-space-between align-center my-2" }, Qt = { class: "flex-grow-1" }, $t = /* @__PURE__ */ m({
|
|
1408
1426
|
__name: "index",
|
|
1409
|
-
props:
|
|
1427
|
+
props: /*@__PURE__*/ v({
|
|
1410
1428
|
hasDelete: {
|
|
1411
1429
|
type: Boolean,
|
|
1412
1430
|
default: !1
|
|
@@ -1420,7 +1438,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1420
1438
|
modelValue: {},
|
|
1421
1439
|
modelModifiers: {}
|
|
1422
1440
|
}),
|
|
1423
|
-
emits:
|
|
1441
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1424
1442
|
setup(e, { emit: t }) {
|
|
1425
1443
|
let { t: n } = K(), { isMobile: r } = H(), i = N(e, "modelValue"), a = t, o = s(() => ue(e.types)), f = E(""), m = s(() => {
|
|
1426
1444
|
let e = [];
|
|
@@ -1558,7 +1576,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1558
1576
|
}
|
|
1559
1577
|
}), en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PURE__ */ m({
|
|
1560
1578
|
__name: "index",
|
|
1561
|
-
props:
|
|
1579
|
+
props: /*@__PURE__*/ v({
|
|
1562
1580
|
hasDelete: {
|
|
1563
1581
|
type: Boolean,
|
|
1564
1582
|
default: !1
|
|
@@ -1575,7 +1593,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1575
1593
|
modelValue: { required: !0 },
|
|
1576
1594
|
modelModifiers: {}
|
|
1577
1595
|
}),
|
|
1578
|
-
emits:
|
|
1596
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1579
1597
|
setup(e, { emit: t }) {
|
|
1580
1598
|
let { isMobile: n } = H(), r = N(e, "modelValue"), i = t, a = async (t) => {
|
|
1581
1599
|
if (!t || e.readonly || !n()) return;
|
|
@@ -1628,7 +1646,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1628
1646
|
}
|
|
1629
1647
|
}), nn = { class: "d-flex justify-space-between align-center my-2" }, rn = { class: "flex-grow-1" }, an = /* @__PURE__ */ m({
|
|
1630
1648
|
__name: "index",
|
|
1631
|
-
props:
|
|
1649
|
+
props: /*@__PURE__*/ v({
|
|
1632
1650
|
hasDelete: {
|
|
1633
1651
|
type: Boolean,
|
|
1634
1652
|
default: !1
|
|
@@ -1641,7 +1659,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1641
1659
|
modelValue: { required: !0 },
|
|
1642
1660
|
modelModifiers: {}
|
|
1643
1661
|
}),
|
|
1644
|
-
emits:
|
|
1662
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1645
1663
|
setup(e, { emit: t }) {
|
|
1646
1664
|
let { t: n } = K(), { isMobile: r } = H(), i = N(e, "modelValue"), a = t, o = E(""), f = E(0);
|
|
1647
1665
|
F(() => {
|
|
@@ -1734,7 +1752,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1734
1752
|
}
|
|
1735
1753
|
}), on = { class: "d-flex justify-space-between align-center" }, sn = /* @__PURE__ */ m({
|
|
1736
1754
|
__name: "index",
|
|
1737
|
-
props:
|
|
1755
|
+
props: /*@__PURE__*/ v({
|
|
1738
1756
|
hasDelete: {
|
|
1739
1757
|
type: Boolean,
|
|
1740
1758
|
default: !1
|
|
@@ -1748,7 +1766,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1748
1766
|
modelValue: {},
|
|
1749
1767
|
modelModifiers: {}
|
|
1750
1768
|
}),
|
|
1751
|
-
emits:
|
|
1769
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1752
1770
|
setup(e, { emit: t }) {
|
|
1753
1771
|
let { t: n } = K(), r = N(e, "modelValue"), i = t, a = s(() => {
|
|
1754
1772
|
let t = [];
|
|
@@ -1826,7 +1844,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1826
1844
|
},
|
|
1827
1845
|
openModifiers: {}
|
|
1828
1846
|
},
|
|
1829
|
-
emits:
|
|
1847
|
+
emits: /*@__PURE__*/ v(["x-select"], ["update:open"]),
|
|
1830
1848
|
setup(e, { emit: t }) {
|
|
1831
1849
|
let { t: n } = K(), r = N(e, "open"), i = t, a = ut(), s = (e) => {
|
|
1832
1850
|
r.value = !1, i("x-select", e);
|
|
@@ -1840,7 +1858,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1840
1858
|
}
|
|
1841
1859
|
}), pn = { class: "text-body-large" }, mn = /* @__PURE__ */ m({
|
|
1842
1860
|
__name: "index",
|
|
1843
|
-
props:
|
|
1861
|
+
props: /*@__PURE__*/ v({
|
|
1844
1862
|
hasDelete: {
|
|
1845
1863
|
type: Boolean,
|
|
1846
1864
|
default: !1
|
|
@@ -1853,7 +1871,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1853
1871
|
modelValue: { default: null },
|
|
1854
1872
|
modelModifiers: {}
|
|
1855
1873
|
}),
|
|
1856
|
-
emits:
|
|
1874
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1857
1875
|
setup(e, { emit: t }) {
|
|
1858
1876
|
let { t: n } = K(), r = be(), { sysBarAvail: i } = H(), { backgroundColor1: a } = V(), o = N(e, "modelValue"), u = t, m = ut(), h = s(() => {
|
|
1859
1877
|
let e = "100%";
|
|
@@ -1868,7 +1886,16 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1868
1886
|
position: "relative",
|
|
1869
1887
|
height: `calc(100% - ${e}px)`
|
|
1870
1888
|
};
|
|
1871
|
-
}), v = s(() => ({ height: "60px" }))
|
|
1889
|
+
}), v = s(() => ({ height: "60px" }));
|
|
1890
|
+
F(() => {
|
|
1891
|
+
if (!o.value) return;
|
|
1892
|
+
let e = m.value.find((e) => e.id === o.value.id);
|
|
1893
|
+
e && e.name !== o.value.name && (o.value = {
|
|
1894
|
+
...o.value,
|
|
1895
|
+
name: e.name
|
|
1896
|
+
});
|
|
1897
|
+
});
|
|
1898
|
+
let x = s(() => o.value ? o.value.name : n("x-runtime-lib.notSet")), { open: S } = U(`propTreeSlotSelectDlg${M()}`);
|
|
1872
1899
|
C(() => {
|
|
1873
1900
|
S.value = !1;
|
|
1874
1901
|
});
|
|
@@ -1954,7 +1981,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1954
1981
|
}
|
|
1955
1982
|
}), hn = { class: "d-flex justify-space-between align-center" }, gn = /* @__PURE__ */ m({
|
|
1956
1983
|
__name: "index",
|
|
1957
|
-
props:
|
|
1984
|
+
props: /*@__PURE__*/ v({
|
|
1958
1985
|
hasDelete: {
|
|
1959
1986
|
type: Boolean,
|
|
1960
1987
|
default: !1
|
|
@@ -1967,7 +1994,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1967
1994
|
modelValue: { type: Boolean },
|
|
1968
1995
|
modelModifiers: {}
|
|
1969
1996
|
}),
|
|
1970
|
-
emits:
|
|
1997
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
1971
1998
|
setup(e, { emit: t }) {
|
|
1972
1999
|
let n = N(e, "modelValue"), r = t;
|
|
1973
2000
|
return (t, i) => {
|
|
@@ -1992,7 +2019,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1992
2019
|
}
|
|
1993
2020
|
}), _n = { class: "d-flex justify-space-between align-center" }, vn = /* @__PURE__ */ m({
|
|
1994
2021
|
__name: "index",
|
|
1995
|
-
props:
|
|
2022
|
+
props: /*@__PURE__*/ v({
|
|
1996
2023
|
hasDelete: {
|
|
1997
2024
|
type: Boolean,
|
|
1998
2025
|
default: !1
|
|
@@ -2005,7 +2032,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
2005
2032
|
modelValue: { required: !0 },
|
|
2006
2033
|
modelModifiers: {}
|
|
2007
2034
|
}),
|
|
2008
|
-
emits:
|
|
2035
|
+
emits: /*@__PURE__*/ v(["delete"], ["update:modelValue"]),
|
|
2009
2036
|
setup(e, { emit: t }) {
|
|
2010
2037
|
let { isMobile: n } = H(), r = N(e, "modelValue"), i = t, a = async (t) => {
|
|
2011
2038
|
if (!t || e.readonly || !n()) return;
|
|
@@ -2527,7 +2554,7 @@ var Nn = "20px", Pn = /* @__PURE__ */ m({
|
|
|
2527
2554
|
//#endregion
|
|
2528
2555
|
//#region src/i18n/index.ts
|
|
2529
2556
|
async function Rn(e) {
|
|
2530
|
-
return (await Ln(/*
|
|
2557
|
+
return (await Ln(/* #__PURE__ */ Object.assign({
|
|
2531
2558
|
"./locales/en/index.ts": () => import("./i18n-en.h32u3o3z.js").then((e) => e.t),
|
|
2532
2559
|
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.byb869oq.js").then((e) => e.t)
|
|
2533
2560
|
}), `./locales/${e}/index.ts`, 4)).default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.20",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"vuetify": "^4.0.5"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"x-block-lib": "^0.10.
|
|
31
|
+
"x-block-lib": "^0.10.33",
|
|
32
32
|
"x-error-lib": "^0.5.18",
|
|
33
33
|
"x-essential-lib": "^0.9.35",
|
|
34
34
|
"x-group-list": "^0.4.13",
|
|
35
|
-
"x-runtime-lib": "^0.9.
|
|
35
|
+
"x-runtime-lib": "^0.9.58",
|
|
36
36
|
"x-state-lib": "^0.3.43"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|