x-prop-tree 0.8.17 → 0.8.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime.onx11qnb.js";
|
|
2
2
|
//#region src/i18n/locales/en/index.ts
|
|
3
3
|
var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-prop-tree": {
|
|
4
|
-
adapt: "Adapt",
|
|
5
|
-
comp: "Comp",
|
|
6
4
|
copy: "Copy",
|
|
7
5
|
jsonEditor: "JSON Editor",
|
|
8
|
-
|
|
6
|
+
noAdaptSlot: "No Adapt Slot",
|
|
7
|
+
noComp: "No Comp",
|
|
8
|
+
noSlot: "No Slot",
|
|
9
9
|
paste: "Paste",
|
|
10
10
|
reset: "Reset",
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
selectAdaptSlot: "Select Adapt Slot",
|
|
12
|
+
selectComp: "Select Comp",
|
|
13
|
+
selectSlot: "Select Slot"
|
|
13
14
|
} };
|
|
14
15
|
//#endregion
|
|
15
16
|
export { t };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime.onx11qnb.js";
|
|
2
2
|
//#region src/i18n/locales/zhHans/index.ts
|
|
3
3
|
var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-prop-tree": {
|
|
4
|
-
adapt: "适配",
|
|
5
|
-
comp: "组件",
|
|
6
4
|
copy: "复制",
|
|
7
5
|
jsonEditor: "JSON编辑器",
|
|
8
|
-
|
|
6
|
+
noAdaptSlot: "没有适配插槽",
|
|
7
|
+
noComp: "没有组件",
|
|
8
|
+
noSlot: "没有插槽",
|
|
9
9
|
paste: "黏贴",
|
|
10
10
|
reset: "重置",
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
selectAdaptSlot: "选择适配插槽",
|
|
12
|
+
selectComp: "选择组件",
|
|
13
|
+
selectSlot: "选择插槽"
|
|
13
14
|
} };
|
|
14
15
|
//#endregion
|
|
15
16
|
export { t };
|
package/dist/index.js
CHANGED
|
@@ -782,7 +782,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
782
782
|
},
|
|
783
783
|
emits: ["update:modelValue", "update:open"],
|
|
784
784
|
setup(e) {
|
|
785
|
-
let {
|
|
785
|
+
let { t } = G(), r = N(e, "modelValue"), a = N(e, "open"), s = ft(), d = (e) => {
|
|
786
786
|
let t = i(s, e);
|
|
787
787
|
t && n(s, e, !t.collapse);
|
|
788
788
|
}, f = (e) => {
|
|
@@ -805,11 +805,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
805
805
|
id: e.id,
|
|
806
806
|
title: e.name,
|
|
807
807
|
onXClick: f
|
|
808
|
-
}, null, 8, ["id", "title"])) : l("", !0)], 64))), 128))])) : (w(), u("div", At, A(j(t)(
|
|
809
|
-
"x-prop-tree.no",
|
|
810
|
-
"x-prop-tree.adapt",
|
|
811
|
-
"x-prop-tree.slot"
|
|
812
|
-
])), 1));
|
|
808
|
+
}, null, 8, ["id", "title"])) : l("", !0)], 64))), 128))])) : (w(), u("div", At, A(j(t)("x-prop-tree.noAdaptSlot")), 1));
|
|
813
809
|
}
|
|
814
810
|
}), Mt = { class: "text-body-large" }, Nt = /* @__PURE__ */ m({
|
|
815
811
|
__name: "index",
|
|
@@ -828,91 +824,87 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
828
824
|
}),
|
|
829
825
|
emits: /* @__PURE__ */ v(["delete"], ["update:modelValue"]),
|
|
830
826
|
setup(e, { emit: t }) {
|
|
831
|
-
let { t: n } = G(), r = be(), { sysBarAvail: a
|
|
827
|
+
let { t: n } = G(), r = be(), { sysBarAvail: a } = V(), { backgroundColor1: o } = B(), u = N(e, "modelValue"), m = t, h = ft(), g = s(() => {
|
|
832
828
|
let e = "100%";
|
|
833
829
|
return r.mdAndUp.value && (e = "400px"), {
|
|
834
|
-
background:
|
|
830
|
+
background: o.value,
|
|
835
831
|
width: e,
|
|
836
832
|
height: "100%"
|
|
837
833
|
};
|
|
838
|
-
}),
|
|
834
|
+
}), v = s(() => {
|
|
839
835
|
let e = 48;
|
|
840
836
|
return a.value && (e += 24), {
|
|
841
837
|
position: "relative",
|
|
842
838
|
height: `calc(100% - ${e}px)`
|
|
843
839
|
};
|
|
844
|
-
}),
|
|
845
|
-
if (!
|
|
846
|
-
let e = i(
|
|
840
|
+
}), x = s(() => ({ height: "60px" })), S = s(() => {
|
|
841
|
+
if (!u.value) return n("x-runtime-lib.notSet");
|
|
842
|
+
let e = i(h, u.value);
|
|
847
843
|
return e ? e.name : n("x-runtime-lib.slotNotAvail");
|
|
848
|
-
}), { open:
|
|
844
|
+
}), { open: T } = H(`propTreeAdaptSlotSelectDlg${M()}`);
|
|
849
845
|
return C(() => {
|
|
850
|
-
|
|
851
|
-
}), (t,
|
|
852
|
-
let
|
|
846
|
+
T.value = !1;
|
|
847
|
+
}), (t, r) => {
|
|
848
|
+
let i = O("v-btn"), o = O("v-sheet"), s = O("v-dialog");
|
|
853
849
|
return w(), c(s, {
|
|
854
|
-
modelValue: j(
|
|
855
|
-
"onUpdate:modelValue":
|
|
850
|
+
modelValue: j(T),
|
|
851
|
+
"onUpdate:modelValue": r[6] ||= (e) => _(T) ? T.value = e : null,
|
|
856
852
|
fullscreen: "",
|
|
857
853
|
"no-click-animation": "",
|
|
858
854
|
persistent: "",
|
|
859
855
|
transition: "scroll-x-reverse-transition",
|
|
860
|
-
onKeydown:
|
|
856
|
+
onKeydown: r[7] ||= ne(R((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
|
|
861
857
|
}, {
|
|
862
|
-
activator: I(({ props: t }) => [p(
|
|
858
|
+
activator: I(({ props: t }) => [p(i, y(t, {
|
|
863
859
|
block: "",
|
|
864
860
|
density: "comfortable",
|
|
865
861
|
readonly: e.readonly
|
|
866
862
|
}), {
|
|
867
|
-
default: I(() => [f(A(
|
|
863
|
+
default: I(() => [f(A(S.value), 1)]),
|
|
868
864
|
_: 1
|
|
869
|
-
}, 16, ["readonly"]), e.hasDelete ? (w(), c(
|
|
865
|
+
}, 16, ["readonly"]), e.hasDelete ? (w(), c(i, {
|
|
870
866
|
key: 0,
|
|
871
867
|
class: "mx-2",
|
|
872
868
|
density: "compact",
|
|
873
869
|
icon: "mdi-minus",
|
|
874
870
|
variant: "text",
|
|
875
|
-
onClick:
|
|
871
|
+
onClick: r[0] ||= R((e) => m("delete"), ["stop"])
|
|
876
872
|
})) : l("", !0)]),
|
|
877
873
|
default: I(() => [d("div", {
|
|
878
874
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
879
|
-
onClick:
|
|
880
|
-
onContextmenu:
|
|
875
|
+
onClick: r[4] ||= R((e) => T.value = !1, ["self"]),
|
|
876
|
+
onContextmenu: r[5] ||= R((e) => T.value = !1, ["self", "prevent"])
|
|
881
877
|
}, [d("div", {
|
|
882
878
|
class: "elevation-2",
|
|
883
|
-
style: b(
|
|
879
|
+
style: b(g.value)
|
|
884
880
|
}, [
|
|
885
|
-
j(a) ? (w(), c(
|
|
881
|
+
j(a) ? (w(), c(o, {
|
|
886
882
|
key: 0,
|
|
887
883
|
color: "transparent",
|
|
888
884
|
height: 24
|
|
889
885
|
})) : l("", !0),
|
|
890
|
-
p(
|
|
886
|
+
p(o, {
|
|
891
887
|
class: "d-flex align-center px-3",
|
|
892
888
|
color: "transparent",
|
|
893
889
|
height: 48
|
|
894
890
|
}, {
|
|
895
|
-
default: I(() => [p(
|
|
891
|
+
default: I(() => [p(i, {
|
|
896
892
|
density: "comfortable",
|
|
897
893
|
icon: "mdi-close",
|
|
898
894
|
variant: "text",
|
|
899
|
-
onClick:
|
|
900
|
-
}), d("span", Mt, A(j(
|
|
901
|
-
"x-prop-tree.select",
|
|
902
|
-
"x-prop-tree.adapt",
|
|
903
|
-
"x-prop-tree.slot"
|
|
904
|
-
])), 1)]),
|
|
895
|
+
onClick: r[1] ||= (e) => T.value = !1
|
|
896
|
+
}), d("span", Mt, A(j(n)("x-prop-tree.selectAdaptSlot")), 1)]),
|
|
905
897
|
_: 1
|
|
906
898
|
}),
|
|
907
899
|
d("div", {
|
|
908
900
|
class: "overflow-y-auto",
|
|
909
|
-
style: b(
|
|
901
|
+
style: b(v.value)
|
|
910
902
|
}, [p(jt, {
|
|
911
|
-
modelValue:
|
|
912
|
-
"onUpdate:modelValue":
|
|
913
|
-
open: j(
|
|
914
|
-
"onUpdate:open":
|
|
915
|
-
}, null, 8, ["modelValue", "open"]), d("div", { style: b(
|
|
903
|
+
modelValue: u.value,
|
|
904
|
+
"onUpdate:modelValue": r[2] ||= (e) => u.value = e,
|
|
905
|
+
open: j(T),
|
|
906
|
+
"onUpdate:open": r[3] ||= (e) => _(T) ? T.value = e : null
|
|
907
|
+
}, null, 8, ["modelValue", "open"]), d("div", { style: b(x.value) }, null, 4)], 4)
|
|
916
908
|
], 4)], 32)]),
|
|
917
909
|
_: 1
|
|
918
910
|
}, 8, ["modelValue"]);
|
|
@@ -993,7 +985,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
993
985
|
},
|
|
994
986
|
emits: ["update:modelValue", "update:open"],
|
|
995
987
|
setup(e) {
|
|
996
|
-
let {
|
|
988
|
+
let { t } = G(), r = N(e, "modelValue"), a = N(e, "open"), s = ct(), d = (e) => {
|
|
997
989
|
let t = i(s, e);
|
|
998
990
|
t && n(s, e, !t.collapse);
|
|
999
991
|
}, f = (e) => {
|
|
@@ -1016,7 +1008,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1016
1008
|
id: e.id,
|
|
1017
1009
|
title: e.name,
|
|
1018
1010
|
onXClick: f
|
|
1019
|
-
}, null, 8, ["id", "title"])) : l("", !0)], 64))), 128))])) : (w(), u("div", Bt, A(j(t)(
|
|
1011
|
+
}, null, 8, ["id", "title"])) : l("", !0)], 64))), 128))])) : (w(), u("div", Bt, A(j(t)("x-prop-tree.noComp")), 1));
|
|
1020
1012
|
}
|
|
1021
1013
|
}), Ht = { class: "text-body-large" }, Ut = /* @__PURE__ */ m({
|
|
1022
1014
|
__name: "index",
|
|
@@ -1035,87 +1027,87 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1035
1027
|
}),
|
|
1036
1028
|
emits: /* @__PURE__ */ v(["delete"], ["update:modelValue"]),
|
|
1037
1029
|
setup(e, { emit: t }) {
|
|
1038
|
-
let { t: n } = G(), r = be(), { sysBarAvail: a
|
|
1030
|
+
let { t: n } = G(), r = be(), { sysBarAvail: a } = V(), { backgroundColor1: o } = B(), u = N(e, "modelValue"), m = t, h = ct(), g = s(() => {
|
|
1039
1031
|
let e = "100%";
|
|
1040
1032
|
return r.mdAndUp.value && (e = "400px"), {
|
|
1041
|
-
background:
|
|
1033
|
+
background: o.value,
|
|
1042
1034
|
width: e,
|
|
1043
1035
|
height: "100%"
|
|
1044
1036
|
};
|
|
1045
|
-
}),
|
|
1037
|
+
}), v = s(() => {
|
|
1046
1038
|
let e = 48;
|
|
1047
1039
|
return a.value && (e += 24), {
|
|
1048
1040
|
position: "relative",
|
|
1049
1041
|
height: `calc(100% - ${e}px)`
|
|
1050
1042
|
};
|
|
1051
|
-
}),
|
|
1052
|
-
if (!
|
|
1053
|
-
let e = i(
|
|
1043
|
+
}), x = s(() => ({ height: "60px" })), S = s(() => {
|
|
1044
|
+
if (!u.value) return n("x-runtime-lib.notSet");
|
|
1045
|
+
let e = i(h, u.value);
|
|
1054
1046
|
return e ? e.name : n("x-runtime-lib.compNotAvail");
|
|
1055
|
-
}), { open:
|
|
1047
|
+
}), { open: T } = H(`propTreeCompSelectDlg${M()}`);
|
|
1056
1048
|
return C(() => {
|
|
1057
|
-
|
|
1058
|
-
}), (t,
|
|
1059
|
-
let
|
|
1049
|
+
T.value = !1;
|
|
1050
|
+
}), (t, r) => {
|
|
1051
|
+
let i = O("v-btn"), o = O("v-sheet"), s = O("v-dialog");
|
|
1060
1052
|
return w(), c(s, {
|
|
1061
|
-
modelValue: j(
|
|
1062
|
-
"onUpdate:modelValue":
|
|
1053
|
+
modelValue: j(T),
|
|
1054
|
+
"onUpdate:modelValue": r[6] ||= (e) => _(T) ? T.value = e : null,
|
|
1063
1055
|
fullscreen: "",
|
|
1064
1056
|
"no-click-animation": "",
|
|
1065
1057
|
persistent: "",
|
|
1066
1058
|
transition: "scroll-x-reverse-transition",
|
|
1067
|
-
onKeydown:
|
|
1059
|
+
onKeydown: r[7] ||= ne(R((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
|
|
1068
1060
|
}, {
|
|
1069
|
-
activator: I(({ props: t }) => [p(
|
|
1061
|
+
activator: I(({ props: t }) => [p(i, y(t, {
|
|
1070
1062
|
block: "",
|
|
1071
1063
|
density: "comfortable",
|
|
1072
1064
|
readonly: e.readonly
|
|
1073
1065
|
}), {
|
|
1074
|
-
default: I(() => [f(A(
|
|
1066
|
+
default: I(() => [f(A(S.value), 1)]),
|
|
1075
1067
|
_: 1
|
|
1076
|
-
}, 16, ["readonly"]), e.hasDelete ? (w(), c(
|
|
1068
|
+
}, 16, ["readonly"]), e.hasDelete ? (w(), c(i, {
|
|
1077
1069
|
key: 0,
|
|
1078
1070
|
class: "mx-2",
|
|
1079
1071
|
density: "compact",
|
|
1080
1072
|
icon: "mdi-minus",
|
|
1081
1073
|
variant: "text",
|
|
1082
|
-
onClick:
|
|
1074
|
+
onClick: r[0] ||= R((e) => m("delete"), ["stop"])
|
|
1083
1075
|
})) : l("", !0)]),
|
|
1084
1076
|
default: I(() => [d("div", {
|
|
1085
1077
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
1086
|
-
onClick:
|
|
1087
|
-
onContextmenu:
|
|
1078
|
+
onClick: r[4] ||= R((e) => T.value = !1, ["self"]),
|
|
1079
|
+
onContextmenu: r[5] ||= R((e) => T.value = !1, ["self", "prevent"])
|
|
1088
1080
|
}, [d("div", {
|
|
1089
1081
|
class: "elevation-2",
|
|
1090
|
-
style: b(
|
|
1082
|
+
style: b(g.value)
|
|
1091
1083
|
}, [
|
|
1092
|
-
j(a) ? (w(), c(
|
|
1084
|
+
j(a) ? (w(), c(o, {
|
|
1093
1085
|
key: 0,
|
|
1094
1086
|
color: "transparent",
|
|
1095
1087
|
height: 24
|
|
1096
1088
|
})) : l("", !0),
|
|
1097
|
-
p(
|
|
1089
|
+
p(o, {
|
|
1098
1090
|
class: "d-flex align-center px-3",
|
|
1099
1091
|
color: "transparent",
|
|
1100
1092
|
height: 48
|
|
1101
1093
|
}, {
|
|
1102
|
-
default: I(() => [p(
|
|
1094
|
+
default: I(() => [p(i, {
|
|
1103
1095
|
density: "comfortable",
|
|
1104
1096
|
icon: "mdi-close",
|
|
1105
1097
|
variant: "text",
|
|
1106
|
-
onClick:
|
|
1107
|
-
}), d("span", Ht, A(j(
|
|
1098
|
+
onClick: r[1] ||= (e) => T.value = !1
|
|
1099
|
+
}), d("span", Ht, A(j(n)("x-prop-tree.selectComp")), 1)]),
|
|
1108
1100
|
_: 1
|
|
1109
1101
|
}),
|
|
1110
1102
|
d("div", {
|
|
1111
1103
|
class: "overflow-y-auto",
|
|
1112
|
-
style: b(
|
|
1104
|
+
style: b(v.value)
|
|
1113
1105
|
}, [p(Vt, {
|
|
1114
|
-
modelValue:
|
|
1115
|
-
"onUpdate:modelValue":
|
|
1116
|
-
open: j(
|
|
1117
|
-
"onUpdate:open":
|
|
1118
|
-
}, null, 8, ["modelValue", "open"]), d("div", { style: b(
|
|
1106
|
+
modelValue: u.value,
|
|
1107
|
+
"onUpdate:modelValue": r[2] ||= (e) => u.value = e,
|
|
1108
|
+
open: j(T),
|
|
1109
|
+
"onUpdate:open": r[3] ||= (e) => _(T) ? T.value = e : null
|
|
1110
|
+
}, null, 8, ["modelValue", "open"]), d("div", { style: b(x.value) }, null, 4)], 4)
|
|
1119
1111
|
], 4)], 32)]),
|
|
1120
1112
|
_: 1
|
|
1121
1113
|
}, 8, ["modelValue"]);
|
|
@@ -1811,7 +1803,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1811
1803
|
},
|
|
1812
1804
|
emits: ["update:modelValue", "update:open"],
|
|
1813
1805
|
setup(e) {
|
|
1814
|
-
let {
|
|
1806
|
+
let { t } = G(), n = N(e, "modelValue"), r = N(e, "open"), i = ut(), a = (e) => {
|
|
1815
1807
|
n.value = e, r.value = !1;
|
|
1816
1808
|
};
|
|
1817
1809
|
return (e, n) => j(i).length > 0 ? (w(), u("div", un, [(w(!0), u(o, null, D(j(i), (e) => (w(), c(ln, {
|
|
@@ -1819,7 +1811,7 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1819
1811
|
id: e.id,
|
|
1820
1812
|
title: e.name,
|
|
1821
1813
|
onXClick: a
|
|
1822
|
-
}, null, 8, ["id", "title"]))), 128))])) : (w(), u("div", dn, A(j(t)(
|
|
1814
|
+
}, null, 8, ["id", "title"]))), 128))])) : (w(), u("div", dn, A(j(t)("x-prop-tree.noSlot")), 1));
|
|
1823
1815
|
}
|
|
1824
1816
|
}), pn = { class: "text-body-large" }, mn = /* @__PURE__ */ m({
|
|
1825
1817
|
__name: "index",
|
|
@@ -1838,87 +1830,87 @@ var wt = { class: "text-label-large ml-1" }, Tt = { class: "text-body-small text
|
|
|
1838
1830
|
}),
|
|
1839
1831
|
emits: /* @__PURE__ */ v(["delete"], ["update:modelValue"]),
|
|
1840
1832
|
setup(e, { emit: t }) {
|
|
1841
|
-
let { t: n } = G(), r = be(), { sysBarAvail: i
|
|
1833
|
+
let { t: n } = G(), r = be(), { sysBarAvail: i } = V(), { backgroundColor1: a } = B(), o = N(e, "modelValue"), u = t, m = ut(), h = s(() => {
|
|
1842
1834
|
let e = "100%";
|
|
1843
1835
|
return r.mdAndUp.value && (e = "400px"), {
|
|
1844
|
-
background:
|
|
1836
|
+
background: a.value,
|
|
1845
1837
|
width: e,
|
|
1846
1838
|
height: "100%"
|
|
1847
1839
|
};
|
|
1848
|
-
}),
|
|
1840
|
+
}), g = s(() => {
|
|
1849
1841
|
let e = 48;
|
|
1850
1842
|
return i.value && (e += 24), {
|
|
1851
1843
|
position: "relative",
|
|
1852
1844
|
height: `calc(100% - ${e}px)`
|
|
1853
1845
|
};
|
|
1854
|
-
}),
|
|
1855
|
-
if (!
|
|
1856
|
-
let e =
|
|
1846
|
+
}), v = s(() => ({ height: "60px" })), x = s(() => {
|
|
1847
|
+
if (!o.value) return n("x-runtime-lib.notSet");
|
|
1848
|
+
let e = m.value.find((e) => e.id === o.value);
|
|
1857
1849
|
return e ? e.name : n("x-runtime-lib.slotNotAvail");
|
|
1858
|
-
}), { open:
|
|
1850
|
+
}), { open: S } = H(`propTreeSlotSelectDlg${M()}`);
|
|
1859
1851
|
return C(() => {
|
|
1860
|
-
|
|
1861
|
-
}), (t,
|
|
1862
|
-
let
|
|
1863
|
-
return w(), c(
|
|
1864
|
-
modelValue: j(
|
|
1865
|
-
"onUpdate:modelValue":
|
|
1852
|
+
S.value = !1;
|
|
1853
|
+
}), (t, r) => {
|
|
1854
|
+
let a = O("v-btn"), s = O("v-sheet"), m = O("v-dialog");
|
|
1855
|
+
return w(), c(m, {
|
|
1856
|
+
modelValue: j(S),
|
|
1857
|
+
"onUpdate:modelValue": r[6] ||= (e) => _(S) ? S.value = e : null,
|
|
1866
1858
|
fullscreen: "",
|
|
1867
1859
|
"no-click-animation": "",
|
|
1868
1860
|
persistent: "",
|
|
1869
1861
|
transition: "scroll-x-reverse-transition",
|
|
1870
|
-
onKeydown:
|
|
1862
|
+
onKeydown: r[7] ||= ne(R((e) => S.value = !1, ["stop", "prevent"]), ["esc"])
|
|
1871
1863
|
}, {
|
|
1872
|
-
activator: I(({ props: t }) => [p(
|
|
1864
|
+
activator: I(({ props: t }) => [p(a, y(t, {
|
|
1873
1865
|
block: "",
|
|
1874
1866
|
density: "comfortable",
|
|
1875
1867
|
readonly: e.readonly
|
|
1876
1868
|
}), {
|
|
1877
|
-
default: I(() => [f(A(
|
|
1869
|
+
default: I(() => [f(A(x.value), 1)]),
|
|
1878
1870
|
_: 1
|
|
1879
|
-
}, 16, ["readonly"]), e.hasDelete ? (w(), c(
|
|
1871
|
+
}, 16, ["readonly"]), e.hasDelete ? (w(), c(a, {
|
|
1880
1872
|
key: 0,
|
|
1881
1873
|
class: "mx-2",
|
|
1882
1874
|
density: "compact",
|
|
1883
1875
|
icon: "mdi-minus",
|
|
1884
1876
|
variant: "text",
|
|
1885
|
-
onClick:
|
|
1877
|
+
onClick: r[0] ||= R((e) => u("delete"), ["stop"])
|
|
1886
1878
|
})) : l("", !0)]),
|
|
1887
1879
|
default: I(() => [d("div", {
|
|
1888
1880
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
1889
|
-
onClick:
|
|
1890
|
-
onContextmenu:
|
|
1881
|
+
onClick: r[4] ||= R((e) => S.value = !1, ["self"]),
|
|
1882
|
+
onContextmenu: r[5] ||= R((e) => S.value = !1, ["self", "prevent"])
|
|
1891
1883
|
}, [d("div", {
|
|
1892
1884
|
class: "elevation-2",
|
|
1893
|
-
style: b(
|
|
1885
|
+
style: b(h.value)
|
|
1894
1886
|
}, [
|
|
1895
|
-
j(i) ? (w(), c(
|
|
1887
|
+
j(i) ? (w(), c(s, {
|
|
1896
1888
|
key: 0,
|
|
1897
1889
|
color: "transparent",
|
|
1898
1890
|
height: 24
|
|
1899
1891
|
})) : l("", !0),
|
|
1900
|
-
p(
|
|
1892
|
+
p(s, {
|
|
1901
1893
|
class: "d-flex align-center px-3",
|
|
1902
1894
|
color: "transparent",
|
|
1903
1895
|
height: 48
|
|
1904
1896
|
}, {
|
|
1905
|
-
default: I(() => [p(
|
|
1897
|
+
default: I(() => [p(a, {
|
|
1906
1898
|
density: "comfortable",
|
|
1907
1899
|
icon: "mdi-close",
|
|
1908
1900
|
variant: "text",
|
|
1909
|
-
onClick:
|
|
1910
|
-
}), d("span", pn, A(j(
|
|
1901
|
+
onClick: r[1] ||= (e) => S.value = !1
|
|
1902
|
+
}), d("span", pn, A(j(n)("x-prop-tree.selectSlot")), 1)]),
|
|
1911
1903
|
_: 1
|
|
1912
1904
|
}),
|
|
1913
1905
|
d("div", {
|
|
1914
1906
|
class: "overflow-y-auto",
|
|
1915
|
-
style: b(
|
|
1907
|
+
style: b(g.value)
|
|
1916
1908
|
}, [p(fn, {
|
|
1917
|
-
modelValue:
|
|
1918
|
-
"onUpdate:modelValue":
|
|
1919
|
-
open: j(
|
|
1920
|
-
"onUpdate:open":
|
|
1921
|
-
}, null, 8, ["modelValue", "open"]), d("div", { style: b(
|
|
1909
|
+
modelValue: o.value,
|
|
1910
|
+
"onUpdate:modelValue": r[2] ||= (e) => o.value = e,
|
|
1911
|
+
open: j(S),
|
|
1912
|
+
"onUpdate:open": r[3] ||= (e) => _(S) ? S.value = e : null
|
|
1913
|
+
}, null, 8, ["modelValue", "open"]), d("div", { style: b(v.value) }, null, 4)], 4)
|
|
1922
1914
|
], 4)], 32)]),
|
|
1923
1915
|
_: 1
|
|
1924
1916
|
}, 8, ["modelValue"]);
|
|
@@ -2500,8 +2492,8 @@ var $ = "20px", Nn = /* @__PURE__ */ m({
|
|
|
2500
2492
|
//#region src/i18n/index.ts
|
|
2501
2493
|
async function Ln(e) {
|
|
2502
2494
|
return (await In(/* @__PURE__ */ Object.assign({
|
|
2503
|
-
"./locales/en/index.ts": () => import("./i18n-en.
|
|
2504
|
-
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.
|
|
2495
|
+
"./locales/en/index.ts": () => import("./i18n-en.h32u3o3z.js").then((e) => e.t),
|
|
2496
|
+
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.kyejc661.js").then((e) => e.t)
|
|
2505
2497
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
2506
2498
|
}
|
|
2507
2499
|
//#endregion
|