@mlightcad/cad-viewer 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MlLayerList.vue.d.ts","sourceRoot":"","sources":["../../../src/component/layerManager/MlLayerList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MlLayerList.vue.d.ts","sourceRoot":"","sources":["../../../src/component/layerManager/MlLayerList.vue"],"names":[],"mappings":"AAyCA;AAyGA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAS7D;;GAEG;AACH,UAAU,KAAK;IACb;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;CACvB;;AAoLD,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
2
|
import { AcEdCommandStack as W, AcApDocManager as T, eventBus as Y, AcApSettingManager as K, AcApConvertToSvgCmd as Ae, AcApQNewCmd as Fe, AcApOpenCmd as Ie, registerWorkers as Re, AcEdCommand as re } from "@mlightcad/cad-simple-viewer";
|
|
3
3
|
import "element-plus/dist/index.css";
|
|
4
|
-
import { reactive as U, computed as k, defineComponent as L, onMounted as H, resolveComponent as M, createBlock as C, openBlock as u, unref as
|
|
4
|
+
import { reactive as U, computed as k, defineComponent as L, onMounted as H, resolveComponent as M, createBlock as C, openBlock as u, unref as g, withCtx as p, renderSlot as ie, createVNode as v, createTextVNode as F, toDisplayString as D, createElementVNode as d, ref as x, onUnmounted as te, watch as E, createElementBlock as y, Fragment as j, renderList as X, resolveDynamicComponent as ge, mergeProps as Pe, mergeModels as J, useCssVars as Se, useModel as ve, createCommentVNode as q, normalizeStyle as pe, normalizeClass as Ce, pushScopeId as Le, popScopeId as ze, onBeforeUnmount as De, withKeys as Ne, isRef as Oe, markRaw as he } from "vue";
|
|
5
5
|
import { AcDbDatabaseConverterManager as He, acdbHostApplicationServices as Be, AcCmPerformanceCollector as Ge } from "@mlightcad/data-model";
|
|
6
6
|
import { useDark as We, useToggle as qe, useFullscreen as Ue } from "@vueuse/core";
|
|
7
7
|
import je from "element-plus/es/locale/lang/en";
|
|
8
8
|
import Ye from "element-plus/es/locale/lang/zh-cn";
|
|
9
|
-
import { useI18n as
|
|
9
|
+
import { useI18n as P, createI18n as Ke } from "vue-i18n";
|
|
10
10
|
import { ElDialog as Xe, ElButton as _e, ElTable as Qe, ElAutocomplete as Ze, ElProgress as Je, ElLoading as we, ElMessage as Q } from "element-plus";
|
|
11
11
|
import { ElIcon as se, ElDropdown as et, ElDropdownMenu as tt, ElDropdownItem as nt, ElButtonGroup as ot, ElTooltip as lt, ElButton as at } from "element-plus/es";
|
|
12
12
|
import "element-plus/es/components/base/style/css";
|
|
@@ -62,7 +62,7 @@ const ct = /* @__PURE__ */ L({
|
|
|
62
62
|
},
|
|
63
63
|
emits: ["update:modelValue", "ok", "cancel"],
|
|
64
64
|
setup(t, { emit: e }) {
|
|
65
|
-
const { t: n } =
|
|
65
|
+
const { t: n } = P(), i = t, l = e, { registerDialog: o } = oe();
|
|
66
66
|
function a() {
|
|
67
67
|
l("ok"), l("update:modelValue", !1);
|
|
68
68
|
}
|
|
@@ -77,7 +77,7 @@ const ct = /* @__PURE__ */ L({
|
|
|
77
77
|
});
|
|
78
78
|
}), (r, c) => {
|
|
79
79
|
const w = M("el-divider");
|
|
80
|
-
return u(), C(
|
|
80
|
+
return u(), C(g(Xe), {
|
|
81
81
|
"model-value": t.modelValue,
|
|
82
82
|
width: t.width,
|
|
83
83
|
close: "handleCancel",
|
|
@@ -85,22 +85,22 @@ const ct = /* @__PURE__ */ L({
|
|
|
85
85
|
}, {
|
|
86
86
|
header: p(() => [
|
|
87
87
|
d("div", null, D(t.title), 1),
|
|
88
|
-
|
|
88
|
+
v(w, { class: "ml-dialog-header-bottom-line" })
|
|
89
89
|
]),
|
|
90
90
|
footer: p(() => [
|
|
91
|
-
|
|
92
|
-
g(
|
|
91
|
+
v(w, { class: "ml-dialog-footer-top-line" }),
|
|
92
|
+
v(g(_e), { onClick: s }, {
|
|
93
93
|
default: p(() => [
|
|
94
|
-
F(D(
|
|
94
|
+
F(D(g(n)("dialog.baseDialog.cancel")), 1)
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
97
|
}),
|
|
98
|
-
g(
|
|
98
|
+
v(g(_e), {
|
|
99
99
|
type: "primary",
|
|
100
100
|
onClick: a
|
|
101
101
|
}, {
|
|
102
102
|
default: p(() => [
|
|
103
|
-
F(D(
|
|
103
|
+
F(D(g(n)("dialog.baseDialog.ok")), 1)
|
|
104
104
|
]),
|
|
105
105
|
_: 1
|
|
106
106
|
})
|
|
@@ -856,7 +856,7 @@ const ft = {
|
|
|
856
856
|
return e(n, t);
|
|
857
857
|
}, me = "preferred_lang";
|
|
858
858
|
function Ee(t) {
|
|
859
|
-
const { locale: e } =
|
|
859
|
+
const { locale: e } = P(), i = x((() => {
|
|
860
860
|
const r = localStorage.getItem(me);
|
|
861
861
|
return r === "en" || r === "zh" ? r : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
|
|
862
862
|
})()), l = k(() => i.value), o = (r) => {
|
|
@@ -937,10 +937,10 @@ const Bt = /* @__PURE__ */ L({
|
|
|
937
937
|
return e({
|
|
938
938
|
toggleDialog: i,
|
|
939
939
|
registerDialog: l
|
|
940
|
-
}), (o, a) => (u(!0), y(j, null, X(
|
|
940
|
+
}), (o, a) => (u(!0), y(j, null, X(g(n), (s) => (u(), y("div", {
|
|
941
941
|
key: s.name
|
|
942
942
|
}, [
|
|
943
|
-
(u(), C(ge(s.component),
|
|
943
|
+
(u(), C(ge(s.component), Pe({
|
|
944
944
|
modelValue: s.visible,
|
|
945
945
|
"onUpdate:modelValue": (r) => s.visible = r
|
|
946
946
|
}, { ref_for: !0 }, s.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
|
|
@@ -1010,7 +1010,7 @@ const Bt = /* @__PURE__ */ L({
|
|
|
1010
1010
|
"hide-after": 0
|
|
1011
1011
|
}, {
|
|
1012
1012
|
default: p(() => [
|
|
1013
|
-
|
|
1013
|
+
v(f, {
|
|
1014
1014
|
class: "ml-toggle-button",
|
|
1015
1015
|
icon: o.value,
|
|
1016
1016
|
onClick: r
|
|
@@ -1023,7 +1023,7 @@ const Bt = /* @__PURE__ */ L({
|
|
|
1023
1023
|
}), Ve = /* @__PURE__ */ G($t, [["__scopeId", "data-v-48d6b055"]]), Vt = /* @__PURE__ */ L({
|
|
1024
1024
|
__name: "MlReplacementDlg",
|
|
1025
1025
|
setup(t) {
|
|
1026
|
-
const { t: e } =
|
|
1026
|
+
const { t: e } = P(), { fonts: n, images: i } = $e(), l = x(!0), o = k(() => n.size > 0 ? "font" : "image"), a = x(null), s = k(() => T.instance.avaiableFonts.map((h) => h.name[0])), r = () => {
|
|
1027
1027
|
const m = T.instance.curDocument.database;
|
|
1028
1028
|
i.forEach((_) => {
|
|
1029
1029
|
_.file && _.ids.forEach((b) => {
|
|
@@ -1049,61 +1049,61 @@ const Bt = /* @__PURE__ */ L({
|
|
|
1049
1049
|
n.set(m, h);
|
|
1050
1050
|
};
|
|
1051
1051
|
return (m, h) => {
|
|
1052
|
-
const _ = M("el-col"), b = M("el-row"), S = M("el-option"), $ = M("el-select"), I = M("el-tab-pane"), V = M("el-table-column"), B = M("el-button"),
|
|
1052
|
+
const _ = M("el-col"), b = M("el-row"), S = M("el-option"), $ = M("el-select"), I = M("el-tab-pane"), V = M("el-table-column"), B = M("el-button"), N = M("el-table"), R = M("el-tabs");
|
|
1053
1053
|
return u(), C(Te, {
|
|
1054
|
-
title:
|
|
1054
|
+
title: g(e)("dialog.replacementDlg.title"),
|
|
1055
1055
|
modelValue: l.value,
|
|
1056
1056
|
"onUpdate:modelValue": h[1] || (h[1] = (z) => l.value = z),
|
|
1057
1057
|
name: "ReplacementDlg",
|
|
1058
1058
|
onOk: r
|
|
1059
1059
|
}, {
|
|
1060
1060
|
default: p(() => [
|
|
1061
|
-
|
|
1061
|
+
v(R, {
|
|
1062
1062
|
type: "card",
|
|
1063
1063
|
modelValue: o.value,
|
|
1064
1064
|
"onUpdate:modelValue": h[0] || (h[0] = (z) => o.value = z)
|
|
1065
1065
|
}, {
|
|
1066
1066
|
default: p(() => [
|
|
1067
|
-
|
|
1067
|
+
g(n).size > 0 ? (u(), C(I, {
|
|
1068
1068
|
key: 0,
|
|
1069
|
-
label:
|
|
1069
|
+
label: g(e)("dialog.replacementDlg.fontTabName"),
|
|
1070
1070
|
name: "font"
|
|
1071
1071
|
}, {
|
|
1072
1072
|
default: p(() => [
|
|
1073
1073
|
d("div", null, [
|
|
1074
|
-
|
|
1074
|
+
v(b, null, {
|
|
1075
1075
|
default: p(() => [
|
|
1076
|
-
|
|
1076
|
+
v(_, { span: 12 }, {
|
|
1077
1077
|
default: p(() => [
|
|
1078
|
-
d("span", null, D(
|
|
1078
|
+
d("span", null, D(g(e)("dialog.replacementDlg.missedFont")), 1)
|
|
1079
1079
|
]),
|
|
1080
1080
|
_: 1
|
|
1081
1081
|
}),
|
|
1082
|
-
|
|
1082
|
+
v(_, { span: 12 }, {
|
|
1083
1083
|
default: p(() => [
|
|
1084
|
-
d("span", null, D(
|
|
1084
|
+
d("span", null, D(g(e)("dialog.replacementDlg.replacedFont")), 1)
|
|
1085
1085
|
]),
|
|
1086
1086
|
_: 1
|
|
1087
1087
|
})
|
|
1088
1088
|
]),
|
|
1089
1089
|
_: 1
|
|
1090
1090
|
}),
|
|
1091
|
-
(u(!0), y(j, null, X(
|
|
1091
|
+
(u(!0), y(j, null, X(g(n), ([z, A]) => (u(), C(b, {
|
|
1092
1092
|
key: z,
|
|
1093
1093
|
style: { "margin-top": "10px" }
|
|
1094
1094
|
}, {
|
|
1095
1095
|
default: p(() => [
|
|
1096
|
-
|
|
1096
|
+
v(_, { span: 12 }, {
|
|
1097
1097
|
default: p(() => [
|
|
1098
1098
|
d("span", null, D(z), 1)
|
|
1099
1099
|
]),
|
|
1100
1100
|
_: 2
|
|
1101
1101
|
}, 1024),
|
|
1102
|
-
|
|
1102
|
+
v(_, { span: 12 }, {
|
|
1103
1103
|
default: p(() => [
|
|
1104
|
-
|
|
1104
|
+
v($, {
|
|
1105
1105
|
"model-value": A,
|
|
1106
|
-
placeholder:
|
|
1106
|
+
placeholder: g(e)("dialog.replacementDlg.selectFont"),
|
|
1107
1107
|
"onUpdate:modelValue": (O) => f(z, O),
|
|
1108
1108
|
style: { width: "100%" }
|
|
1109
1109
|
}, {
|
|
@@ -1126,31 +1126,31 @@ const Bt = /* @__PURE__ */ L({
|
|
|
1126
1126
|
]),
|
|
1127
1127
|
_: 1
|
|
1128
1128
|
}, 8, ["label"])) : q("", !0),
|
|
1129
|
-
|
|
1129
|
+
g(i).size > 0 ? (u(), C(I, {
|
|
1130
1130
|
key: 1,
|
|
1131
|
-
label:
|
|
1131
|
+
label: g(e)("dialog.replacementDlg.imageTabName"),
|
|
1132
1132
|
name: "image"
|
|
1133
1133
|
}, {
|
|
1134
1134
|
default: p(() => [
|
|
1135
|
-
|
|
1136
|
-
data: Array.from(
|
|
1135
|
+
v(N, {
|
|
1136
|
+
data: Array.from(g(i).values()),
|
|
1137
1137
|
style: { width: "100%" },
|
|
1138
1138
|
"v-show": !1
|
|
1139
1139
|
}, {
|
|
1140
1140
|
default: p(() => [
|
|
1141
|
-
|
|
1142
|
-
label:
|
|
1141
|
+
v(V, {
|
|
1142
|
+
label: g(e)("dialog.replacementDlg.file"),
|
|
1143
1143
|
prop: "fileName",
|
|
1144
1144
|
"min-width": 0,
|
|
1145
1145
|
flex: 1
|
|
1146
1146
|
}, null, 8, ["label"]),
|
|
1147
|
-
|
|
1148
|
-
label:
|
|
1147
|
+
v(V, {
|
|
1148
|
+
label: g(e)("dialog.replacementDlg.replace"),
|
|
1149
1149
|
fixed: "right",
|
|
1150
1150
|
width: "60"
|
|
1151
1151
|
}, {
|
|
1152
1152
|
default: p(({ row: z }) => [
|
|
1153
|
-
|
|
1153
|
+
v(B, {
|
|
1154
1154
|
link: "",
|
|
1155
1155
|
type: "primary",
|
|
1156
1156
|
size: "small",
|
|
@@ -1227,14 +1227,14 @@ function Rt(t, e) {
|
|
|
1227
1227
|
}, null, -1)
|
|
1228
1228
|
]));
|
|
1229
1229
|
}
|
|
1230
|
-
const
|
|
1230
|
+
const Pt = { render: Rt }, Nt = {
|
|
1231
1231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1232
1232
|
width: "1em",
|
|
1233
1233
|
height: "1em",
|
|
1234
1234
|
viewBox: "0 0 20 20"
|
|
1235
1235
|
};
|
|
1236
1236
|
function Ot(t, e) {
|
|
1237
|
-
return u(), y("svg",
|
|
1237
|
+
return u(), y("svg", Nt, e[0] || (e[0] = [
|
|
1238
1238
|
d("path", { d: "m15.08 12.854.002-.002V5.59c0-.422-.652-.414-.652 0v3.466c0 .938-1.482.95-1.482 0v-4.83c0-.414-.638-.414-.638 0h-.014v4.83c.014.95-1.482.95-1.482 0V3.444c0-.42-.638-.414-.638 0v5.612c0 .95-1.494.95-1.494 0V4.232c0-.408-.64-.42-.64 0v6.756c0 .802-1.094 1.088-1.494.388q-.39-.669-.776-1.338c-.338-.482-1.1-.15-.794.38l.978 1.698.02.04q.829 1.418 1.658 2.834c.19.3.422.578.666.802h-.006c.672.61 1.528.964 2.418 1.052.888.06 1.792-.124 2.56-.612q.45-.285.816-.68a4 4 0 0 0 .734-1.204c.176-.482.258-.97.258-1.494m-.91-8.608-.004-.002c.958-.38 2.058.244 2.058 1.346v7.266c0 .652-.108 1.29-.332 1.894a4.8 4.8 0 0 1-.964 1.576 5.9 5.9 0 0 1-1.046.884c-.978.612-2.146.862-3.26.774a5.34 5.34 0 0 1-3.098-1.352 5.4 5.4 0 0 1-.87-1.034l-1.672-2.88-.012-.028-.978-1.706c-.59-1.018.068-2.186 1.156-2.336.536-.074 1.126.116 1.562.72.026.028.04.062.054.096q.061.11.122.218V4.234c0-1.176 1.244-1.788 2.202-1.278.42-1.278 2.378-1.264 2.792-.014.972-.51 2.222.102 2.222 1.284v.06z" }, null, -1)
|
|
1239
1239
|
]));
|
|
1240
1240
|
}
|
|
@@ -1438,14 +1438,14 @@ const In = { render: Fn }, Rn = {
|
|
|
1438
1438
|
height: "1em",
|
|
1439
1439
|
viewBox: "0 0 20 20"
|
|
1440
1440
|
};
|
|
1441
|
-
function
|
|
1441
|
+
function Pn(t, e) {
|
|
1442
1442
|
return u(), y("svg", Rn, e[0] || (e[0] = [
|
|
1443
1443
|
d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
|
|
1444
1444
|
d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
|
|
1445
1445
|
d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
|
|
1446
1446
|
]));
|
|
1447
1447
|
}
|
|
1448
|
-
const
|
|
1448
|
+
const Nn = { render: Pn }, On = {
|
|
1449
1449
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1450
1450
|
width: "1em",
|
|
1451
1451
|
height: "1em",
|
|
@@ -1526,7 +1526,7 @@ function oo(t, e) {
|
|
|
1526
1526
|
const lo = { render: oo }, ao = /* @__PURE__ */ L({
|
|
1527
1527
|
__name: "MlPointStyleDlg",
|
|
1528
1528
|
setup(t) {
|
|
1529
|
-
const { t: e } =
|
|
1529
|
+
const { t: e } = P(), n = Dt(T.instance), i = x(!0), l = x(0), o = [
|
|
1530
1530
|
[
|
|
1531
1531
|
{ id: 0, icon: en },
|
|
1532
1532
|
{ id: 1, icon: on },
|
|
@@ -1545,7 +1545,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
|
|
|
1545
1545
|
{ id: 64, icon: Tn },
|
|
1546
1546
|
{ id: 65, icon: Vn },
|
|
1547
1547
|
{ id: 66, icon: In },
|
|
1548
|
-
{ id: 67, icon:
|
|
1548
|
+
{ id: 67, icon: Nn },
|
|
1549
1549
|
{ id: 68, icon: Gn }
|
|
1550
1550
|
],
|
|
1551
1551
|
[
|
|
@@ -1569,7 +1569,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
|
|
|
1569
1569
|
return (f, m) => {
|
|
1570
1570
|
const h = M("el-button"), _ = M("el-col"), b = M("el-row");
|
|
1571
1571
|
return u(), C(Te, {
|
|
1572
|
-
title:
|
|
1572
|
+
title: g(e)("dialog.pointStyleDlg.title"),
|
|
1573
1573
|
width: 400,
|
|
1574
1574
|
modelValue: i.value,
|
|
1575
1575
|
"onUpdate:modelValue": m[0] || (m[0] = (S) => i.value = S),
|
|
@@ -1578,7 +1578,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
|
|
|
1578
1578
|
onCancel: w
|
|
1579
1579
|
}, {
|
|
1580
1580
|
default: p(() => [
|
|
1581
|
-
(u(), y(j, null, X(o, (S, $) =>
|
|
1581
|
+
(u(), y(j, null, X(o, (S, $) => v(b, {
|
|
1582
1582
|
key: $,
|
|
1583
1583
|
style: { "margin-top": "10px" },
|
|
1584
1584
|
gutter: 6,
|
|
@@ -1590,7 +1590,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
|
|
|
1590
1590
|
span: 4
|
|
1591
1591
|
}, {
|
|
1592
1592
|
default: p(() => [
|
|
1593
|
-
|
|
1593
|
+
v(h, {
|
|
1594
1594
|
icon: I.icon,
|
|
1595
1595
|
type: s($, V),
|
|
1596
1596
|
onClick: (B) => r($, V),
|
|
@@ -1612,7 +1612,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
|
|
|
1612
1612
|
try {
|
|
1613
1613
|
if (typeof document < "u") {
|
|
1614
1614
|
var t = document.createElement("style");
|
|
1615
|
-
t.appendChild(document.createTextNode(".ml-dropdown-icon[data-v-3fc33b5d],.ml-dropdown-icon[data-v-3fc33b5d]:hover{outline:none;border:none}.ml-status-bar[data-v-d6a59cf0]{position:fixed;bottom:0;left:0;right:0;height:30px;display:flex;justify-content:space-between;align-items:center;background-color:var(--el-fill-color);box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-status-bar-left[data-v-d6a59cf0],.ml-status-bar-right[data-v-d6a59cf0]{display:flex;align-items:center}.ml-status-bar-left[data-v-d6a59cf0]>*{margin-right:10px}.ml-status-bar-right[data-v-d6a59cf0]>*{margin-left:10px}.ml-vertical-toolbar-button-group[data-v-
|
|
1615
|
+
t.appendChild(document.createTextNode(".ml-dropdown-icon[data-v-3fc33b5d],.ml-dropdown-icon[data-v-3fc33b5d]:hover{outline:none;border:none}.ml-status-bar[data-v-d6a59cf0]{position:fixed;bottom:0;left:0;right:0;height:30px;display:flex;justify-content:space-between;align-items:center;background-color:var(--el-fill-color);box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-status-bar-left[data-v-d6a59cf0],.ml-status-bar-right[data-v-d6a59cf0]{display:flex;align-items:center}.ml-status-bar-left[data-v-d6a59cf0]>*{margin-right:10px}.ml-status-bar-right[data-v-d6a59cf0]>*{margin-left:10px}.ml-toggle-button[data-v-b676e93b]{border:none;padding:0;cursor:pointer;width:var(--0547f26d);height:var(--0547f26d)}.ml-vertical-toolbar-button-group[data-v-5261c686]{display:flex;flex-direction:column}.ml-horizontal-toolbar-button-group[data-v-5261c686]{display:flex;flex-direction:row}.ml-toolbar-button[data-v-5261c686]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}.ml-toolbar-button-text[data-v-5261c686]{margin-left:0;margin-top:5px}.ml-tool-palette-dialog[data-v-8645db4f]{cursor:default;width:300px;min-width:var(--collapsed-width);position:fixed;box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-tool-palette-dialog-icon[data-v-8645db4f]{border-bottom:1px solid var(--el-border-color);cursor:default}.ml-tool-palette-dialog-icon[data-v-8645db4f]:hover{color:var(--el-color-primary)}.ml-tool-palette-dialog-layout[data-v-8645db4f]{display:flex;height:100%}.ml-tool-palette-title-bar[data-v-8645db4f]{width:var(--collapsed-width);display:flex;justify-content:left;align-items:center;cursor:move;writing-mode:vertical-rl;text-align:center;background-color:var(--el-fill-color)}.ml-tool-palette-title[data-v-8645db4f]{pointer-events:none;margin-top:10px;margin-bottom:10px;font-size:small;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-tool-palette-content[data-v-8645db4f]{-webkit-user-select:none;user-select:none;flex-grow:1;display:flex;justify-content:space-around;background-color:var(--el-fill-color);overflow:hidden}.ml-tool-palette-dialog-layout.left .ml-tool-palette-title-bar[data-v-8645db4f]{order:1}.ml-tool-palette-dialog-layout.left .ml-tool-palette-content[data-v-8645db4f],.ml-tool-palette-dialog-layout.right .ml-tool-palette-title-bar[data-v-8645db4f]{order:2}.ml-tool-palette-dialog-layout.right .ml-tool-palette-content[data-v-8645db4f]{order:1}")), document.head.appendChild(t);
|
|
1616
1616
|
}
|
|
1617
1617
|
} catch (e) {
|
|
1618
1618
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -1702,7 +1702,7 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
|
|
|
1702
1702
|
const r = se, c = nt, w = tt, f = et;
|
|
1703
1703
|
return u(), C(f, { onCommand: o }, {
|
|
1704
1704
|
dropdown: p(() => [
|
|
1705
|
-
|
|
1705
|
+
v(w, null, {
|
|
1706
1706
|
default: p(() => [
|
|
1707
1707
|
(u(!0), y(j, null, X(l.value, (m) => (u(), C(c, {
|
|
1708
1708
|
key: m.text,
|
|
@@ -1718,7 +1718,7 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
|
|
|
1718
1718
|
})
|
|
1719
1719
|
]),
|
|
1720
1720
|
default: p(() => [
|
|
1721
|
-
|
|
1721
|
+
v(r, {
|
|
1722
1722
|
size: "30",
|
|
1723
1723
|
class: "ml-dropdown-icon"
|
|
1724
1724
|
}, {
|
|
@@ -1813,7 +1813,7 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
|
|
|
1813
1813
|
}, {
|
|
1814
1814
|
default: p(() => [
|
|
1815
1815
|
d("div", null, [
|
|
1816
|
-
|
|
1816
|
+
v(m, { size: o.value }, {
|
|
1817
1817
|
default: p(() => [
|
|
1818
1818
|
(u(), C(ge(S.icon)))
|
|
1819
1819
|
]),
|
|
@@ -1832,7 +1832,7 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
|
|
|
1832
1832
|
}, 8, ["class"]);
|
|
1833
1833
|
};
|
|
1834
1834
|
}
|
|
1835
|
-
}), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-
|
|
1835
|
+
}), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-5261c686"]]), Me = 20;
|
|
1836
1836
|
function To(t, e, n) {
|
|
1837
1837
|
const i = x(!1), l = (r) => {
|
|
1838
1838
|
if (n.value && t.value) {
|
|
@@ -1885,10 +1885,10 @@ function Eo(t, e, n) {
|
|
|
1885
1885
|
}
|
|
1886
1886
|
}, m = (_) => {
|
|
1887
1887
|
if (i.value && o.value && l.value) {
|
|
1888
|
-
const b = window.innerWidth, S = window.innerHeight, $ = t.value, I = $.getBoundingClientRect(), V = I.width, B = I.height,
|
|
1888
|
+
const b = window.innerWidth, S = window.innerHeight, $ = t.value, I = $.getBoundingClientRect(), V = I.width, B = I.height, N = o.value.x + (_.clientX - a.x), R = o.value.y + (_.clientY - a.y);
|
|
1889
1889
|
l.value.x = Math.max(
|
|
1890
1890
|
n ? n.value.offset.value.left : 0,
|
|
1891
|
-
|
|
1891
|
+
N
|
|
1892
1892
|
);
|
|
1893
1893
|
const z = b - V;
|
|
1894
1894
|
l.value.x = Math.min(
|
|
@@ -1987,7 +1987,7 @@ function Io(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom:
|
|
|
1987
1987
|
const m = 5, h = x(null), _ = (V) => {
|
|
1988
1988
|
if (!(!t.value || e.value))
|
|
1989
1989
|
if (a.value) {
|
|
1990
|
-
const B = V.clientX - w,
|
|
1990
|
+
const B = V.clientX - w, N = V.clientY - f;
|
|
1991
1991
|
if (h.value === "left" || h.value === "left-bottom-corner") {
|
|
1992
1992
|
const R = r - B;
|
|
1993
1993
|
R > l.width && (o.value.width = R, o.value.left = s + B, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
|
|
@@ -1997,11 +1997,11 @@ function Io(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom:
|
|
|
1997
1997
|
R > l.width && (o.value.width = R, t.value.style.width = o.value.width + "px");
|
|
1998
1998
|
}
|
|
1999
1999
|
if (h.value === "bottom" || h.value === "left-bottom-corner" || h.value === "right-bottom-corner") {
|
|
2000
|
-
const R = c +
|
|
2000
|
+
const R = c + N;
|
|
2001
2001
|
R > l.height && (o.value.height = R, t.value.style.height = o.value.height + "px");
|
|
2002
2002
|
}
|
|
2003
2003
|
} else {
|
|
2004
|
-
const B = t.value.getBoundingClientRect(),
|
|
2004
|
+
const B = t.value.getBoundingClientRect(), N = V.clientX - B.left, R = V.clientY - B.top, z = N <= m, A = N >= B.width - m, O = R >= B.height - m;
|
|
2005
2005
|
z && O && n.value ? (t.value.style.cursor = "nesw-resize", h.value = "left-bottom-corner") : A && O && !n.value ? (t.value.style.cursor = "nwse-resize", h.value = "right-bottom-corner") : z && n.value ? (t.value.style.cursor = "ew-resize", h.value = "left") : A && !n.value ? (t.value.style.cursor = "ew-resize", h.value = "right") : O ? (t.value.style.cursor = "ns-resize", h.value = "bottom") : (t.value.style.cursor = "", h.value = null);
|
|
2006
2006
|
}
|
|
2007
2007
|
}, b = (V) => {
|
|
@@ -2048,7 +2048,7 @@ function Ro(t, e, n, i) {
|
|
|
2048
2048
|
l();
|
|
2049
2049
|
});
|
|
2050
2050
|
}
|
|
2051
|
-
function
|
|
2051
|
+
function Po(t, e, n, i) {
|
|
2052
2052
|
const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: s, movement: r, position: c, isDragging: w } = $o(
|
|
2053
2053
|
t,
|
|
2054
2054
|
e,
|
|
@@ -2089,7 +2089,7 @@ function No(t, e, n, i) {
|
|
|
2089
2089
|
}), te(() => {
|
|
2090
2090
|
window.removeEventListener("resize", B);
|
|
2091
2091
|
});
|
|
2092
|
-
const
|
|
2092
|
+
const N = (z) => {
|
|
2093
2093
|
z ? (m.value.width = Me, f.value && b.value && _.value && (m.value.left = b.value + _.value - Me)) : (m.value.width = _.value, f.value && b.value && _.value && (m.value.left = b.value));
|
|
2094
2094
|
}, R = () => {
|
|
2095
2095
|
a.value ? (m.value.top = i.value.offset.value.top, m.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (m.value.top = S.value, m.value.height = $.value);
|
|
@@ -2097,9 +2097,9 @@ function No(t, e, n, i) {
|
|
|
2097
2097
|
return E(a, () => {
|
|
2098
2098
|
R();
|
|
2099
2099
|
}), E(n, (z) => {
|
|
2100
|
-
|
|
2100
|
+
N(z);
|
|
2101
2101
|
}), E(I, (z) => {
|
|
2102
|
-
n.value && !w.value &&
|
|
2102
|
+
n.value && !w.value && N(!z);
|
|
2103
2103
|
}), E(r, (z) => {
|
|
2104
2104
|
if (z && t.value) {
|
|
2105
2105
|
const A = t.value.getBoundingClientRect();
|
|
@@ -2107,7 +2107,7 @@ function No(t, e, n, i) {
|
|
|
2107
2107
|
}
|
|
2108
2108
|
}), { rect: m, orientation: s, reversed: f };
|
|
2109
2109
|
}
|
|
2110
|
-
const
|
|
2110
|
+
const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ */ No(() => /* @__PURE__ */ d("svg", {
|
|
2111
2111
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2112
2112
|
width: "1em",
|
|
2113
2113
|
height: "1em",
|
|
@@ -2142,7 +2142,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2142
2142
|
rect: c,
|
|
2143
2143
|
orientation: w,
|
|
2144
2144
|
reversed: f
|
|
2145
|
-
} =
|
|
2145
|
+
} = Po(s, a, o, r), m = k(() => ({
|
|
2146
2146
|
left: `${c.value.left}px`,
|
|
2147
2147
|
top: `${c.value.top}px`,
|
|
2148
2148
|
width: `${c.value.width}px`,
|
|
@@ -2171,7 +2171,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2171
2171
|
class: "ml-tool-palette-dialog"
|
|
2172
2172
|
}, [
|
|
2173
2173
|
d("div", {
|
|
2174
|
-
class: Ce(["ml-tool-palette-dialog-layout",
|
|
2174
|
+
class: Ce(["ml-tool-palette-dialog-layout", g(w)])
|
|
2175
2175
|
}, [
|
|
2176
2176
|
d("div", {
|
|
2177
2177
|
ref_key: "titleBarElement",
|
|
@@ -2179,7 +2179,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2179
2179
|
class: "ml-tool-palette-title-bar",
|
|
2180
2180
|
style: pe(h.value)
|
|
2181
2181
|
}, [
|
|
2182
|
-
|
|
2182
|
+
v($, {
|
|
2183
2183
|
size: 18,
|
|
2184
2184
|
class: "ml-tool-palette-dialog-icon",
|
|
2185
2185
|
onClick: _
|
|
@@ -2189,11 +2189,11 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2189
2189
|
]),
|
|
2190
2190
|
_: 1
|
|
2191
2191
|
}),
|
|
2192
|
-
|
|
2192
|
+
v(vo, {
|
|
2193
2193
|
class: "ml-tool-palette-dialog-icon",
|
|
2194
2194
|
modelValue: o.value,
|
|
2195
2195
|
"onUpdate:modelValue": S[0] || (S[0] = (I) => o.value = I),
|
|
2196
|
-
reverse:
|
|
2196
|
+
reverse: g(f)
|
|
2197
2197
|
}, null, 8, ["modelValue", "reverse"]),
|
|
2198
2198
|
d("span", Ho, D(n.title), 1)
|
|
2199
2199
|
], 4),
|
|
@@ -2204,13 +2204,13 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2204
2204
|
], 4)) : q("", !0);
|
|
2205
2205
|
};
|
|
2206
2206
|
}
|
|
2207
|
-
}), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-
|
|
2207
|
+
}), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-8645db4f"]]), Uo = { class: "ml-layer-list-cell" }, jo = { class: "ml-layer-list-cell" }, Yo = /* @__PURE__ */ L({
|
|
2208
2208
|
__name: "MlLayerList",
|
|
2209
2209
|
props: {
|
|
2210
2210
|
editor: {}
|
|
2211
2211
|
},
|
|
2212
2212
|
setup(t) {
|
|
2213
|
-
const { t: e } =
|
|
2213
|
+
const { t: e } = P(), n = t, i = gt(n.editor), l = x(), o = x([]), a = (r) => {
|
|
2214
2214
|
o.value = r;
|
|
2215
2215
|
}, s = (r) => {
|
|
2216
2216
|
const c = n.editor.curDocument.database.tables.layerTable.getAt(
|
|
@@ -2220,33 +2220,29 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2220
2220
|
};
|
|
2221
2221
|
return (r, c) => {
|
|
2222
2222
|
const w = M("el-table-column"), f = M("el-checkbox"), m = M("el-tag");
|
|
2223
|
-
return u(), C(
|
|
2223
|
+
return u(), C(g(Qe), {
|
|
2224
2224
|
ref_key: "multipleTableRef",
|
|
2225
2225
|
ref: l,
|
|
2226
|
-
data:
|
|
2226
|
+
data: g(i),
|
|
2227
2227
|
class: "ml-layer-list",
|
|
2228
2228
|
onSelectionChange: a
|
|
2229
2229
|
}, {
|
|
2230
2230
|
default: p(() => [
|
|
2231
|
-
|
|
2232
|
-
type: "selection",
|
|
2233
|
-
width: "40"
|
|
2234
|
-
}),
|
|
2235
|
-
g(w, {
|
|
2231
|
+
v(w, {
|
|
2236
2232
|
property: "name",
|
|
2237
|
-
label:
|
|
2238
|
-
width: "120",
|
|
2233
|
+
label: g(e)("main.toolPalette.layerManager.layerList.name"),
|
|
2234
|
+
"min-width": "120",
|
|
2239
2235
|
sortable: "",
|
|
2240
2236
|
"show-overflow-tooltip": ""
|
|
2241
2237
|
}, null, 8, ["label"]),
|
|
2242
|
-
|
|
2238
|
+
v(w, {
|
|
2243
2239
|
property: "isOn",
|
|
2244
|
-
label:
|
|
2240
|
+
label: g(e)("main.toolPalette.layerManager.layerList.on"),
|
|
2245
2241
|
width: "50"
|
|
2246
2242
|
}, {
|
|
2247
2243
|
default: p((h) => [
|
|
2248
2244
|
d("div", Uo, [
|
|
2249
|
-
|
|
2245
|
+
v(f, {
|
|
2250
2246
|
modelValue: h.row.isOn,
|
|
2251
2247
|
"onUpdate:modelValue": (_) => h.row.isOn = _,
|
|
2252
2248
|
onChange: (_) => s(h.row)
|
|
@@ -2255,14 +2251,14 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2255
2251
|
]),
|
|
2256
2252
|
_: 1
|
|
2257
2253
|
}, 8, ["label"]),
|
|
2258
|
-
|
|
2254
|
+
v(w, {
|
|
2259
2255
|
property: "color",
|
|
2260
|
-
label:
|
|
2256
|
+
label: g(e)("main.toolPalette.layerManager.layerList.color"),
|
|
2261
2257
|
width: "70"
|
|
2262
2258
|
}, {
|
|
2263
2259
|
default: p((h) => [
|
|
2264
2260
|
d("div", jo, [
|
|
2265
|
-
|
|
2261
|
+
v(m, {
|
|
2266
2262
|
color: h.row.color,
|
|
2267
2263
|
class: "ml-layer-list-color"
|
|
2268
2264
|
}, null, 8, ["color"])
|
|
@@ -2282,16 +2278,16 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2282
2278
|
},
|
|
2283
2279
|
setup(t) {
|
|
2284
2280
|
const e = t;
|
|
2285
|
-
return (n, i) => (u(), C(
|
|
2281
|
+
return (n, i) => (u(), C(g(qo), {
|
|
2286
2282
|
class: "ml-layer-manager",
|
|
2287
|
-
modelValue:
|
|
2288
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) =>
|
|
2283
|
+
modelValue: g(Z).dialogs.layerManager,
|
|
2284
|
+
"onUpdate:modelValue": i[0] || (i[0] = (l) => g(Z).dialogs.layerManager = l),
|
|
2289
2285
|
title: "Layers",
|
|
2290
2286
|
"bottom-offset": 30
|
|
2291
2287
|
}, {
|
|
2292
2288
|
default: p(() => [
|
|
2293
2289
|
d("div", Ko, [
|
|
2294
|
-
|
|
2290
|
+
v(Yo, {
|
|
2295
2291
|
editor: e.editor
|
|
2296
2292
|
}, null, 8, ["editor"])
|
|
2297
2293
|
])
|
|
@@ -2302,7 +2298,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2302
2298
|
}), Qo = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-d49ba2cb"]]), Zo = { class: "autocomplete-container" }, Jo = /* @__PURE__ */ L({
|
|
2303
2299
|
__name: "MlCommandLine",
|
|
2304
2300
|
setup(t) {
|
|
2305
|
-
const { t: e } =
|
|
2301
|
+
const { t: e } = P(), n = ce(), i = ut(), l = x(""), o = x(""), a = (c, w) => {
|
|
2306
2302
|
const f = c ? i.filter(
|
|
2307
2303
|
(m) => m.commandName.startsWith(c.toLowerCase())
|
|
2308
2304
|
) : i;
|
|
@@ -2311,19 +2307,19 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2311
2307
|
l.value && (T.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
|
|
2312
2308
|
}, r = (c, w) => `${w}: ${fe(c, w)}`;
|
|
2313
2309
|
return (c, w) => (u(), y("div", Zo, [
|
|
2314
|
-
|
|
2310
|
+
g(n).isShowCommandLine ? (u(), C(g(Ze), {
|
|
2315
2311
|
key: 0,
|
|
2316
2312
|
modelValue: l.value,
|
|
2317
2313
|
"onUpdate:modelValue": w[0] || (w[0] = (f) => l.value = f),
|
|
2318
2314
|
"value-key": "commandName",
|
|
2319
2315
|
clearable: "",
|
|
2320
2316
|
"fetch-suggestions": a,
|
|
2321
|
-
placeholder:
|
|
2317
|
+
placeholder: g(e)("main.commandLine.prompt"),
|
|
2322
2318
|
debounce: 300,
|
|
2323
2319
|
"trigger-on-focus": "",
|
|
2324
2320
|
"fit-input-width": !1,
|
|
2325
2321
|
onSelect: s,
|
|
2326
|
-
onKeydown:
|
|
2322
|
+
onKeydown: Ne(s, ["enter"]),
|
|
2327
2323
|
class: "autocomplete-input"
|
|
2328
2324
|
}, {
|
|
2329
2325
|
default: p(({ item: f }) => [
|
|
@@ -2343,7 +2339,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2343
2339
|
"2d5cc4ca": a.value,
|
|
2344
2340
|
"11fa7d7e": s.value
|
|
2345
2341
|
}));
|
|
2346
|
-
const { t: e } =
|
|
2342
|
+
const { t: e } = P(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = k(() => i.value + "px"), s = k(() => l.value + "px"), r = k(() => {
|
|
2347
2343
|
const m = T.instance.curDocument.database;
|
|
2348
2344
|
if (o.value) {
|
|
2349
2345
|
const h = m.tables.blockTable.modelSpace.getIdAt(o.value);
|
|
@@ -2379,11 +2375,11 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2379
2375
|
class: "ml-entity-info"
|
|
2380
2376
|
}, {
|
|
2381
2377
|
default: p(() => [
|
|
2382
|
-
|
|
2378
|
+
v(S, { class: "ml-entity-info-text" }, {
|
|
2383
2379
|
default: p(() => [
|
|
2384
|
-
|
|
2380
|
+
v(b, { span: 24 }, {
|
|
2385
2381
|
default: p(() => [
|
|
2386
|
-
|
|
2382
|
+
v(_, {
|
|
2387
2383
|
size: "small",
|
|
2388
2384
|
class: "ml-entity-info-title"
|
|
2389
2385
|
}, {
|
|
@@ -2398,22 +2394,22 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2398
2394
|
]),
|
|
2399
2395
|
_: 1
|
|
2400
2396
|
}),
|
|
2401
|
-
|
|
2397
|
+
v(S, { class: "ml-entity-info-text" }, {
|
|
2402
2398
|
default: p(() => [
|
|
2403
|
-
|
|
2399
|
+
v(b, { span: 10 }, {
|
|
2404
2400
|
default: p(() => [
|
|
2405
|
-
|
|
2401
|
+
v(_, { size: "small" }, {
|
|
2406
2402
|
default: p(() => [
|
|
2407
|
-
F(D(
|
|
2403
|
+
F(D(g(e)("main.entityInfo.color")), 1)
|
|
2408
2404
|
]),
|
|
2409
2405
|
_: 1
|
|
2410
2406
|
})
|
|
2411
2407
|
]),
|
|
2412
2408
|
_: 1
|
|
2413
2409
|
}),
|
|
2414
|
-
|
|
2410
|
+
v(b, { span: 14 }, {
|
|
2415
2411
|
default: p(() => [
|
|
2416
|
-
|
|
2412
|
+
v(_, { size: "small" }, {
|
|
2417
2413
|
default: p(() => [
|
|
2418
2414
|
F(D(r.value.color), 1)
|
|
2419
2415
|
]),
|
|
@@ -2425,22 +2421,22 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2425
2421
|
]),
|
|
2426
2422
|
_: 1
|
|
2427
2423
|
}),
|
|
2428
|
-
|
|
2424
|
+
v(S, { class: "ml-entity-info-text" }, {
|
|
2429
2425
|
default: p(() => [
|
|
2430
|
-
|
|
2426
|
+
v(b, { span: 10 }, {
|
|
2431
2427
|
default: p(() => [
|
|
2432
|
-
|
|
2428
|
+
v(_, { size: "small" }, {
|
|
2433
2429
|
default: p(() => [
|
|
2434
|
-
F(D(
|
|
2430
|
+
F(D(g(e)("main.entityInfo.layer")), 1)
|
|
2435
2431
|
]),
|
|
2436
2432
|
_: 1
|
|
2437
2433
|
})
|
|
2438
2434
|
]),
|
|
2439
2435
|
_: 1
|
|
2440
2436
|
}),
|
|
2441
|
-
|
|
2437
|
+
v(b, { span: 14 }, {
|
|
2442
2438
|
default: p(() => [
|
|
2443
|
-
|
|
2439
|
+
v(_, { size: "small" }, {
|
|
2444
2440
|
default: p(() => [
|
|
2445
2441
|
F(D(r.value.layer), 1)
|
|
2446
2442
|
]),
|
|
@@ -2452,22 +2448,22 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2452
2448
|
]),
|
|
2453
2449
|
_: 1
|
|
2454
2450
|
}),
|
|
2455
|
-
|
|
2451
|
+
v(S, { class: "ml-entity-info-text" }, {
|
|
2456
2452
|
default: p(() => [
|
|
2457
|
-
|
|
2453
|
+
v(b, { span: 10 }, {
|
|
2458
2454
|
default: p(() => [
|
|
2459
|
-
|
|
2455
|
+
v(_, { size: "small" }, {
|
|
2460
2456
|
default: p(() => [
|
|
2461
|
-
F(D(
|
|
2457
|
+
F(D(g(e)("main.entityInfo.lineType")), 1)
|
|
2462
2458
|
]),
|
|
2463
2459
|
_: 1
|
|
2464
2460
|
})
|
|
2465
2461
|
]),
|
|
2466
2462
|
_: 1
|
|
2467
2463
|
}),
|
|
2468
|
-
|
|
2464
|
+
v(b, { span: 14 }, {
|
|
2469
2465
|
default: p(() => [
|
|
2470
|
-
|
|
2466
|
+
v(_, { size: "small" }, {
|
|
2471
2467
|
default: p(() => [
|
|
2472
2468
|
F(D(r.value.lineType), 1)
|
|
2473
2469
|
]),
|
|
@@ -2502,10 +2498,10 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
|
|
|
2502
2498
|
]), o = (a) => {
|
|
2503
2499
|
(a === "en" || a === "zh") && i(a);
|
|
2504
2500
|
};
|
|
2505
|
-
return (a, s) => (u(), C(
|
|
2501
|
+
return (a, s) => (u(), C(g(bo), {
|
|
2506
2502
|
class: "ml-language-selector",
|
|
2507
2503
|
languages: l,
|
|
2508
|
-
current:
|
|
2504
|
+
current: g(n),
|
|
2509
2505
|
onClick: o
|
|
2510
2506
|
}, null, 8, ["languages", "current"]));
|
|
2511
2507
|
}
|
|
@@ -2613,7 +2609,7 @@ var al = /* @__PURE__ */ L({
|
|
|
2613
2609
|
const _l = /* @__PURE__ */ L({
|
|
2614
2610
|
__name: "MlMainMenu",
|
|
2615
2611
|
setup(t) {
|
|
2616
|
-
const { t: e } =
|
|
2612
|
+
const { t: e } = P(), n = (i) => {
|
|
2617
2613
|
i === "Convert" ? new Ae().tirgger(T.instance.context) : i === "QNew" ? new Fe().tirgger(T.instance.context) : i === "Open" && new Ie().tirgger(T.instance.context);
|
|
2618
2614
|
};
|
|
2619
2615
|
return (i, l) => {
|
|
@@ -2624,17 +2620,17 @@ const _l = /* @__PURE__ */ L({
|
|
|
2624
2620
|
onCommand: n
|
|
2625
2621
|
}, {
|
|
2626
2622
|
dropdown: p(() => [
|
|
2627
|
-
|
|
2623
|
+
v(s, null, {
|
|
2628
2624
|
default: p(() => [
|
|
2629
|
-
|
|
2625
|
+
v(a, { command: "QNew" }, {
|
|
2630
2626
|
default: p(() => [
|
|
2631
|
-
F(D(
|
|
2627
|
+
F(D(g(e)("main.mainMenu.new")), 1)
|
|
2632
2628
|
]),
|
|
2633
2629
|
_: 1
|
|
2634
2630
|
}),
|
|
2635
|
-
|
|
2631
|
+
v(a, { command: "Open" }, {
|
|
2636
2632
|
default: p(() => [
|
|
2637
|
-
F(D(
|
|
2633
|
+
F(D(g(e)("main.mainMenu.open")), 1)
|
|
2638
2634
|
]),
|
|
2639
2635
|
_: 1
|
|
2640
2636
|
})
|
|
@@ -2643,12 +2639,12 @@ const _l = /* @__PURE__ */ L({
|
|
|
2643
2639
|
})
|
|
2644
2640
|
]),
|
|
2645
2641
|
default: p(() => [
|
|
2646
|
-
|
|
2642
|
+
v(o, {
|
|
2647
2643
|
class: "ml-main-menu-icon",
|
|
2648
2644
|
size: "30"
|
|
2649
2645
|
}, {
|
|
2650
2646
|
default: p(() => [
|
|
2651
|
-
g(
|
|
2647
|
+
v(g(rl))
|
|
2652
2648
|
]),
|
|
2653
2649
|
_: 1
|
|
2654
2650
|
})
|
|
@@ -2663,7 +2659,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
2663
2659
|
}, bl = /* @__PURE__ */ L({
|
|
2664
2660
|
__name: "MlToolBars",
|
|
2665
2661
|
setup(t) {
|
|
2666
|
-
const { t: e } =
|
|
2662
|
+
const { t: e } = P(), n = ce(), i = k(() => [
|
|
2667
2663
|
{
|
|
2668
2664
|
icon: qt,
|
|
2669
2665
|
text: e("main.verticalToolbar.select.text"),
|
|
@@ -2689,7 +2685,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
2689
2685
|
description: e("main.verticalToolbar.zoomToBox.description")
|
|
2690
2686
|
},
|
|
2691
2687
|
{
|
|
2692
|
-
icon:
|
|
2688
|
+
icon: Pt,
|
|
2693
2689
|
text: e("main.verticalToolbar.layer.text"),
|
|
2694
2690
|
command: "la",
|
|
2695
2691
|
description: e("main.verticalToolbar.layer.description")
|
|
@@ -2697,8 +2693,8 @@ const _l = /* @__PURE__ */ L({
|
|
|
2697
2693
|
]), l = (o) => {
|
|
2698
2694
|
T.instance.sendStringToExecute(o);
|
|
2699
2695
|
};
|
|
2700
|
-
return (o, a) =>
|
|
2701
|
-
g(
|
|
2696
|
+
return (o, a) => g(n).isShowToolbar ? (u(), y("div", yl, [
|
|
2697
|
+
v(g(Bo), {
|
|
2702
2698
|
items: i.value,
|
|
2703
2699
|
size: "small",
|
|
2704
2700
|
direction: "vertical",
|
|
@@ -2709,35 +2705,35 @@ const _l = /* @__PURE__ */ L({
|
|
|
2709
2705
|
}), xl = /* @__PURE__ */ L({
|
|
2710
2706
|
__name: "MlFullScreenButton",
|
|
2711
2707
|
setup(t) {
|
|
2712
|
-
const { t: e } =
|
|
2708
|
+
const { t: e } = P(), { isFullscreen: n, toggle: i } = Ue(), l = k(() => ({
|
|
2713
2709
|
onIcon: be,
|
|
2714
2710
|
offIcon: be,
|
|
2715
2711
|
onTooltip: e("main.statusBar.fullScreen.on"),
|
|
2716
2712
|
offTooltip: e("main.statusBar.fullScreen.off")
|
|
2717
2713
|
})), o = k(() => !n.value);
|
|
2718
|
-
return (a, s) => (u(), C(
|
|
2714
|
+
return (a, s) => (u(), C(g(Ve), {
|
|
2719
2715
|
modelValue: o.value,
|
|
2720
2716
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
|
|
2721
2717
|
data: l.value,
|
|
2722
|
-
onClick:
|
|
2718
|
+
onClick: g(i)
|
|
2723
2719
|
}, null, 8, ["modelValue", "data", "onClick"]));
|
|
2724
2720
|
}
|
|
2725
2721
|
}), kl = /* @__PURE__ */ L({
|
|
2726
2722
|
__name: "MlPointStyleButton",
|
|
2727
2723
|
setup(t) {
|
|
2728
|
-
const { t: e } =
|
|
2724
|
+
const { t: e } = P(), n = () => {
|
|
2729
2725
|
T.instance.sendStringToExecute("pttype");
|
|
2730
2726
|
};
|
|
2731
2727
|
return (i, l) => {
|
|
2732
2728
|
const o = M("el-button"), a = M("el-tooltip");
|
|
2733
2729
|
return u(), C(a, {
|
|
2734
|
-
content:
|
|
2730
|
+
content: g(e)("main.statusBar.pointStyle.tooltip"),
|
|
2735
2731
|
"hide-after": 0
|
|
2736
2732
|
}, {
|
|
2737
2733
|
default: p(() => [
|
|
2738
|
-
|
|
2734
|
+
v(o, {
|
|
2739
2735
|
class: "ml-point-style-button",
|
|
2740
|
-
icon:
|
|
2736
|
+
icon: g(dl),
|
|
2741
2737
|
onClick: l[0] || (l[0] = (s) => n())
|
|
2742
2738
|
}, null, 8, ["icon"])
|
|
2743
2739
|
]),
|
|
@@ -2751,7 +2747,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
2751
2747
|
}, Cl = /* @__PURE__ */ L({
|
|
2752
2748
|
__name: "MlProgress",
|
|
2753
2749
|
setup(t) {
|
|
2754
|
-
const { t: e } =
|
|
2750
|
+
const { t: e } = P(), n = x(0), i = x(!1), l = (a) => {
|
|
2755
2751
|
if (a.stage === "CONVERSION") {
|
|
2756
2752
|
const s = we.service({
|
|
2757
2753
|
lock: !0
|
|
@@ -2783,7 +2779,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
2783
2779
|
}), te(() => {
|
|
2784
2780
|
Y.off("open-file-progress", l);
|
|
2785
2781
|
}), (a, s) => i.value ? (u(), y("div", Sl, [
|
|
2786
|
-
g(
|
|
2782
|
+
v(g(Je), {
|
|
2787
2783
|
"text-inside": !0,
|
|
2788
2784
|
"stroke-width": 20,
|
|
2789
2785
|
percentage: n.value,
|
|
@@ -2794,56 +2790,56 @@ const _l = /* @__PURE__ */ L({
|
|
|
2794
2790
|
}), Ll = /* @__PURE__ */ G(Cl, [["__scopeId", "data-v-fe8fa18d"]]), zl = /* @__PURE__ */ L({
|
|
2795
2791
|
__name: "MlSettingButton",
|
|
2796
2792
|
setup(t) {
|
|
2797
|
-
const { t: e } =
|
|
2793
|
+
const { t: e } = P(), n = ce(), i = (l) => {
|
|
2798
2794
|
l == "isShowCoordinate" ? (n.isShowCoordinate = !n.isShowCoordinate, K.instance.isShowCoordinate = n.isShowCoordinate) : l == "isShowCommandLine" ? (n.isShowCommandLine = !n.isShowCommandLine, K.instance.isShowCommandLine = n.isShowCommandLine) : l == "isShowToolbar" ? (n.isShowToolbar = !n.isShowToolbar, K.instance.isShowToolbar = n.isShowToolbar) : l == "isShowStats" && (n.isShowStats = !n.isShowStats, K.instance.isShowStats = n.isShowStats);
|
|
2799
2795
|
};
|
|
2800
2796
|
return (l, o) => {
|
|
2801
2797
|
const a = M("el-button"), s = M("el-dropdown-item"), r = M("el-dropdown-menu"), c = M("el-dropdown"), w = M("el-tooltip");
|
|
2802
2798
|
return u(), C(w, {
|
|
2803
|
-
content:
|
|
2799
|
+
content: g(e)("main.statusBar.setting.tooltip"),
|
|
2804
2800
|
"hide-after": 0
|
|
2805
2801
|
}, {
|
|
2806
2802
|
default: p(() => [
|
|
2807
|
-
|
|
2803
|
+
v(c, {
|
|
2808
2804
|
trigger: "click",
|
|
2809
2805
|
onCommand: i
|
|
2810
2806
|
}, {
|
|
2811
2807
|
dropdown: p(() => [
|
|
2812
|
-
|
|
2808
|
+
v(r, null, {
|
|
2813
2809
|
default: p(() => [
|
|
2814
|
-
|
|
2815
|
-
icon:
|
|
2810
|
+
v(s, {
|
|
2811
|
+
icon: g(n).isShowStats ? g(le) : "",
|
|
2816
2812
|
command: "isShowStats"
|
|
2817
2813
|
}, {
|
|
2818
2814
|
default: p(() => [
|
|
2819
|
-
F(D(
|
|
2815
|
+
F(D(g(e)("main.statusBar.setting.stats")), 1)
|
|
2820
2816
|
]),
|
|
2821
2817
|
_: 1
|
|
2822
2818
|
}, 8, ["icon"]),
|
|
2823
|
-
|
|
2824
|
-
icon:
|
|
2819
|
+
v(s, {
|
|
2820
|
+
icon: g(n).isShowCommandLine ? g(le) : "",
|
|
2825
2821
|
command: "isShowCommandLine"
|
|
2826
2822
|
}, {
|
|
2827
2823
|
default: p(() => [
|
|
2828
|
-
F(D(
|
|
2824
|
+
F(D(g(e)("main.statusBar.setting.commandLine")), 1)
|
|
2829
2825
|
]),
|
|
2830
2826
|
_: 1
|
|
2831
2827
|
}, 8, ["icon"]),
|
|
2832
|
-
|
|
2833
|
-
icon:
|
|
2828
|
+
v(s, {
|
|
2829
|
+
icon: g(n).isShowCoordinate ? g(le) : "",
|
|
2834
2830
|
command: "isShowCoordinate"
|
|
2835
2831
|
}, {
|
|
2836
2832
|
default: p(() => [
|
|
2837
|
-
F(D(
|
|
2833
|
+
F(D(g(e)("main.statusBar.setting.coordinate")), 1)
|
|
2838
2834
|
]),
|
|
2839
2835
|
_: 1
|
|
2840
2836
|
}, 8, ["icon"]),
|
|
2841
|
-
|
|
2842
|
-
icon:
|
|
2837
|
+
v(s, {
|
|
2838
|
+
icon: g(n).isShowToolbar ? g(le) : "",
|
|
2843
2839
|
command: "isShowToolbar"
|
|
2844
2840
|
}, {
|
|
2845
2841
|
default: p(() => [
|
|
2846
|
-
F(D(
|
|
2842
|
+
F(D(g(e)("main.statusBar.setting.toolbar")), 1)
|
|
2847
2843
|
]),
|
|
2848
2844
|
_: 1
|
|
2849
2845
|
}, 8, ["icon"])
|
|
@@ -2852,9 +2848,9 @@ const _l = /* @__PURE__ */ L({
|
|
|
2852
2848
|
})
|
|
2853
2849
|
]),
|
|
2854
2850
|
default: p(() => [
|
|
2855
|
-
|
|
2851
|
+
v(a, {
|
|
2856
2852
|
class: "ml-setting-button",
|
|
2857
|
-
icon:
|
|
2853
|
+
icon: g(pl)
|
|
2858
2854
|
}, null, 8, ["icon"])
|
|
2859
2855
|
]),
|
|
2860
2856
|
_: 1
|
|
@@ -2867,17 +2863,17 @@ const _l = /* @__PURE__ */ L({
|
|
|
2867
2863
|
}), Dl = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-666f03a3"]]), Bl = /* @__PURE__ */ L({
|
|
2868
2864
|
__name: "MlThemeButton",
|
|
2869
2865
|
setup(t) {
|
|
2870
|
-
const { t: e } =
|
|
2866
|
+
const { t: e } = P(), n = k(() => ({
|
|
2871
2867
|
onIcon: vl,
|
|
2872
2868
|
offIcon: cl,
|
|
2873
2869
|
onTooltip: e("main.statusBar.theme.light"),
|
|
2874
2870
|
offTooltip: e("main.statusBar.theme.dark")
|
|
2875
2871
|
}));
|
|
2876
|
-
return (i, l) => (u(), C(
|
|
2877
|
-
modelValue:
|
|
2872
|
+
return (i, l) => (u(), C(g(Ve), {
|
|
2873
|
+
modelValue: g(ae),
|
|
2878
2874
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => Oe(ae) ? ae.value = o : null),
|
|
2879
2875
|
data: n.value,
|
|
2880
|
-
onClick: l[1] || (l[1] = (o) =>
|
|
2876
|
+
onClick: l[1] || (l[1] = (o) => g(mt)())
|
|
2881
2877
|
}, null, 8, ["modelValue", "data"]));
|
|
2882
2878
|
}
|
|
2883
2879
|
}), Tl = /* @__PURE__ */ L({
|
|
@@ -2892,7 +2888,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
2892
2888
|
key: 0,
|
|
2893
2889
|
class: "ml-warning-button",
|
|
2894
2890
|
type: "warning",
|
|
2895
|
-
icon:
|
|
2891
|
+
icon: g(hl),
|
|
2896
2892
|
onClick: a[0] || (a[0] = (r) => e())
|
|
2897
2893
|
}, null, 8, ["icon"])) : q("", !0);
|
|
2898
2894
|
};
|
|
@@ -2907,11 +2903,11 @@ const _l = /* @__PURE__ */ L({
|
|
|
2907
2903
|
};
|
|
2908
2904
|
return (o, a) => {
|
|
2909
2905
|
const s = M("el-button"), r = M("el-button-group");
|
|
2910
|
-
return u(), C(
|
|
2906
|
+
return u(), C(g(Lo), { class: "ml-status-bar" }, {
|
|
2911
2907
|
left: p(() => [
|
|
2912
|
-
|
|
2908
|
+
v(r, { class: "ml-status-bar-left-button-group" }, {
|
|
2913
2909
|
default: p(() => [
|
|
2914
|
-
(u(!0), y(j, null, X(
|
|
2910
|
+
(u(!0), y(j, null, X(g(n), (c) => (u(), C(s, {
|
|
2915
2911
|
class: "ml-status-bar-layout-button",
|
|
2916
2912
|
key: c.name,
|
|
2917
2913
|
type: c.isActive ? "primary" : "",
|
|
@@ -2927,23 +2923,23 @@ const _l = /* @__PURE__ */ L({
|
|
|
2927
2923
|
})
|
|
2928
2924
|
]),
|
|
2929
2925
|
right: p(() => [
|
|
2930
|
-
|
|
2931
|
-
|
|
2926
|
+
v(Ll),
|
|
2927
|
+
v(r, { class: "ml-status-bar-right-button-group" }, {
|
|
2932
2928
|
default: p(() => [
|
|
2933
|
-
|
|
2929
|
+
g(i).isShowCoordinate ? (u(), C(s, {
|
|
2934
2930
|
key: 0,
|
|
2935
2931
|
class: "ml-status-bar-current-pos"
|
|
2936
2932
|
}, {
|
|
2937
2933
|
default: p(() => [
|
|
2938
|
-
F(D(
|
|
2934
|
+
F(D(g(e)), 1)
|
|
2939
2935
|
]),
|
|
2940
2936
|
_: 1
|
|
2941
2937
|
})) : q("", !0),
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2938
|
+
v(El),
|
|
2939
|
+
v(Bl),
|
|
2940
|
+
v(xl),
|
|
2941
|
+
v(Ml),
|
|
2942
|
+
v(Dl)
|
|
2947
2943
|
]),
|
|
2948
2944
|
_: 1
|
|
2949
2945
|
})
|
|
@@ -2964,7 +2960,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
2964
2960
|
background: { default: void 0 }
|
|
2965
2961
|
},
|
|
2966
2962
|
setup(t) {
|
|
2967
|
-
const e = t, { t: n } =
|
|
2963
|
+
const e = t, { t: n } = P(), { effectiveLocale: i, elementPlusLocale: l } = Ee(e.locale), o = x(), a = x(null), s = k(() => a.value), r = async (f, m) => {
|
|
2968
2964
|
const h = { minimumChunkSize: 1e3 };
|
|
2969
2965
|
await T.instance.openDocument(f, m, h), Z.fileName = f;
|
|
2970
2966
|
}, c = async (f) => {
|
|
@@ -2994,8 +2990,8 @@ const _l = /* @__PURE__ */ L({
|
|
|
2994
2990
|
const b = await new Promise(
|
|
2995
2991
|
($, I) => {
|
|
2996
2992
|
_.onload = (V) => {
|
|
2997
|
-
var
|
|
2998
|
-
const B = (
|
|
2993
|
+
var N;
|
|
2994
|
+
const B = (N = V.target) == null ? void 0 : N.result;
|
|
2999
2995
|
B ? $(B) : I(new Error("Failed to read file content"));
|
|
3000
2996
|
}, _.onerror = () => I(new Error("Failed to read file"));
|
|
3001
2997
|
}
|
|
@@ -3026,7 +3022,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
3026
3022
|
f != null && (T.instance.curView.backgroundColor = f);
|
|
3027
3023
|
}
|
|
3028
3024
|
), H(async () => {
|
|
3029
|
-
o.value && (
|
|
3025
|
+
o.value && (Pl(o.value), Rl(), a.value = T.instance), e.url ? c(e.url) : e.localFile && w(e.localFile), e.background != null && (T.instance.curView.backgroundColor = e.background);
|
|
3030
3026
|
}), Y.on("message", (f) => {
|
|
3031
3027
|
Q({
|
|
3032
3028
|
message: f.message,
|
|
@@ -3067,24 +3063,24 @@ const _l = /* @__PURE__ */ L({
|
|
|
3067
3063
|
class: "ml-cad-canvas"
|
|
3068
3064
|
}, null, 512),
|
|
3069
3065
|
a.value ? (u(), y("div", Al, [
|
|
3070
|
-
|
|
3066
|
+
v(h, { locale: g(l) }, {
|
|
3071
3067
|
default: p(() => [
|
|
3072
3068
|
d("header", null, [
|
|
3073
|
-
g(
|
|
3074
|
-
g(
|
|
3069
|
+
v(g(wl)),
|
|
3070
|
+
v(g(ll), { "current-locale": g(i) }, null, 8, ["current-locale"])
|
|
3075
3071
|
]),
|
|
3076
3072
|
d("main", null, [
|
|
3077
|
-
d("div", Fl, D(
|
|
3078
|
-
g(
|
|
3079
|
-
g(
|
|
3080
|
-
g(
|
|
3073
|
+
d("div", Fl, D(g(Z).fileName), 1),
|
|
3074
|
+
v(g(bl)),
|
|
3075
|
+
v(g(Qo), { editor: s.value }, null, 8, ["editor"]),
|
|
3076
|
+
v(g(Bt))
|
|
3081
3077
|
]),
|
|
3082
3078
|
d("footer", null, [
|
|
3083
|
-
g(
|
|
3084
|
-
g(
|
|
3079
|
+
v(g(el)),
|
|
3080
|
+
v(g(Vl))
|
|
3085
3081
|
]),
|
|
3086
|
-
g(
|
|
3087
|
-
g(
|
|
3082
|
+
v(g(Et), { onFileRead: r }),
|
|
3083
|
+
v(g(nl))
|
|
3088
3084
|
]),
|
|
3089
3085
|
_: 1
|
|
3090
3086
|
}, 8, ["locale"])
|
|
@@ -3102,7 +3098,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
3102
3098
|
W.SYSTEMT_COMMAND_GROUP_NAME,
|
|
3103
3099
|
"la",
|
|
3104
3100
|
"la",
|
|
3105
|
-
new
|
|
3101
|
+
new Nl()
|
|
3106
3102
|
), W.instance.addCommand(
|
|
3107
3103
|
W.SYSTEMT_COMMAND_GROUP_NAME,
|
|
3108
3104
|
"md",
|
|
@@ -3125,7 +3121,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
3125
3121
|
component: he(ao),
|
|
3126
3122
|
props: {}
|
|
3127
3123
|
});
|
|
3128
|
-
},
|
|
3124
|
+
}, Pl = (t) => {
|
|
3129
3125
|
T.createInstance(t), Re(), Il(), T.instance.loadDefaultFonts();
|
|
3130
3126
|
}, Z = U({
|
|
3131
3127
|
fileName: "",
|
|
@@ -3133,7 +3129,7 @@ const _l = /* @__PURE__ */ L({
|
|
|
3133
3129
|
layerManager: !1
|
|
3134
3130
|
}
|
|
3135
3131
|
});
|
|
3136
|
-
class
|
|
3132
|
+
class Nl extends re {
|
|
3137
3133
|
execute(e) {
|
|
3138
3134
|
Z.dialogs.layerManager = !0;
|
|
3139
3135
|
}
|
|
@@ -3199,7 +3195,7 @@ class Gl extends re {
|
|
|
3199
3195
|
}
|
|
3200
3196
|
}
|
|
3201
3197
|
export {
|
|
3202
|
-
|
|
3198
|
+
Nl as AcApLayerStateCmd,
|
|
3203
3199
|
Ol as AcApLogCmd,
|
|
3204
3200
|
Hl as AcApMissedDataCmd,
|
|
3205
3201
|
Gl as AcApPointStyleCmd,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlightcad/cad-viewer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@mlightcad/three-viewcube": "0.0.9",
|
|
36
|
-
"@mlightcad/ui-components": "0.0
|
|
36
|
+
"@mlightcad/ui-components": "0.1.0",
|
|
37
37
|
"@types/lodash-es": "^4.17.12",
|
|
38
38
|
"@vitejs/plugin-vue": "^5.1.3",
|
|
39
39
|
"sass": "^1.80.6",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"element-plus": "^2.9.1",
|
|
57
57
|
"vue": "^3.4.21",
|
|
58
58
|
"vue-i18n": "^10.0.1",
|
|
59
|
-
"@mlightcad/cad-simple-viewer": "1.1.
|
|
59
|
+
"@mlightcad/cad-simple-viewer": "1.1.9"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"analyze": "vite build --mode analyze",
|