@mlightcad/cad-viewer 1.1.8 → 1.1.10

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":"AA0CA;AA0GA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAS7D;;GAEG;AACH,UAAU,KAAK;IACb;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;CACvB;;AA+LD,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"}
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 v, withCtx as p, renderSlot as ie, createVNode as g, 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 Ne, 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 Pe, isRef as Oe, markRaw as he } from "vue";
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 N, createI18n as Ke } from "vue-i18n";
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 } = N(), i = t, l = e, { registerDialog: o } = oe();
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(v(Xe), {
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
- g(w, { class: "ml-dialog-header-bottom-line" })
88
+ v(w, { class: "ml-dialog-header-bottom-line" })
89
89
  ]),
90
90
  footer: p(() => [
91
- g(w, { class: "ml-dialog-footer-top-line" }),
92
- g(v(_e), { onClick: s }, {
91
+ v(w, { class: "ml-dialog-footer-top-line" }),
92
+ v(g(_e), { onClick: s }, {
93
93
  default: p(() => [
94
- F(D(v(n)("dialog.baseDialog.cancel")), 1)
94
+ F(D(g(n)("dialog.baseDialog.cancel")), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }),
98
- g(v(_e), {
98
+ v(g(_e), {
99
99
  type: "primary",
100
100
  onClick: a
101
101
  }, {
102
102
  default: p(() => [
103
- F(D(v(n)("dialog.baseDialog.ok")), 1)
103
+ F(D(g(n)("dialog.baseDialog.ok")), 1)
104
104
  ]),
105
105
  _: 1
106
106
  })
@@ -258,6 +258,7 @@ const ft = {
258
258
  Dimension: "Dimension",
259
259
  DiametricDimension: "Diametric Dimension",
260
260
  Ellipse: "Ellipse",
261
+ Face: "Face",
261
262
  Hatch: "Hatch",
262
263
  Leader: "Leader",
263
264
  Line: "Line",
@@ -559,6 +560,7 @@ const ft = {
559
560
  Dimension: "标注",
560
561
  DiametricDimension: "直径标注",
561
562
  Ellipse: "椭圆",
563
+ Face: "面片",
562
564
  Hatch: "填充",
563
565
  Leader: "引线",
564
566
  Line: "线",
@@ -856,7 +858,7 @@ const ft = {
856
858
  return e(n, t);
857
859
  }, me = "preferred_lang";
858
860
  function Ee(t) {
859
- const { locale: e } = N(), i = x((() => {
861
+ const { locale: e } = P(), i = x((() => {
860
862
  const r = localStorage.getItem(me);
861
863
  return r === "en" || r === "zh" ? r : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
862
864
  })()), l = k(() => i.value), o = (r) => {
@@ -937,10 +939,10 @@ const Bt = /* @__PURE__ */ L({
937
939
  return e({
938
940
  toggleDialog: i,
939
941
  registerDialog: l
940
- }), (o, a) => (u(!0), y(j, null, X(v(n), (s) => (u(), y("div", {
942
+ }), (o, a) => (u(!0), y(j, null, X(g(n), (s) => (u(), y("div", {
941
943
  key: s.name
942
944
  }, [
943
- (u(), C(ge(s.component), Ne({
945
+ (u(), C(ge(s.component), Pe({
944
946
  modelValue: s.visible,
945
947
  "onUpdate:modelValue": (r) => s.visible = r
946
948
  }, { ref_for: !0 }, s.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
@@ -1010,7 +1012,7 @@ const Bt = /* @__PURE__ */ L({
1010
1012
  "hide-after": 0
1011
1013
  }, {
1012
1014
  default: p(() => [
1013
- g(f, {
1015
+ v(f, {
1014
1016
  class: "ml-toggle-button",
1015
1017
  icon: o.value,
1016
1018
  onClick: r
@@ -1023,7 +1025,7 @@ const Bt = /* @__PURE__ */ L({
1023
1025
  }), Ve = /* @__PURE__ */ G($t, [["__scopeId", "data-v-48d6b055"]]), Vt = /* @__PURE__ */ L({
1024
1026
  __name: "MlReplacementDlg",
1025
1027
  setup(t) {
1026
- const { t: e } = N(), { 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 = () => {
1028
+ 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
1029
  const m = T.instance.curDocument.database;
1028
1030
  i.forEach((_) => {
1029
1031
  _.file && _.ids.forEach((b) => {
@@ -1049,61 +1051,61 @@ const Bt = /* @__PURE__ */ L({
1049
1051
  n.set(m, h);
1050
1052
  };
1051
1053
  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"), P = M("el-table"), R = M("el-tabs");
1054
+ 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
1055
  return u(), C(Te, {
1054
- title: v(e)("dialog.replacementDlg.title"),
1056
+ title: g(e)("dialog.replacementDlg.title"),
1055
1057
  modelValue: l.value,
1056
1058
  "onUpdate:modelValue": h[1] || (h[1] = (z) => l.value = z),
1057
1059
  name: "ReplacementDlg",
1058
1060
  onOk: r
1059
1061
  }, {
1060
1062
  default: p(() => [
1061
- g(R, {
1063
+ v(R, {
1062
1064
  type: "card",
1063
1065
  modelValue: o.value,
1064
1066
  "onUpdate:modelValue": h[0] || (h[0] = (z) => o.value = z)
1065
1067
  }, {
1066
1068
  default: p(() => [
1067
- v(n).size > 0 ? (u(), C(I, {
1069
+ g(n).size > 0 ? (u(), C(I, {
1068
1070
  key: 0,
1069
- label: v(e)("dialog.replacementDlg.fontTabName"),
1071
+ label: g(e)("dialog.replacementDlg.fontTabName"),
1070
1072
  name: "font"
1071
1073
  }, {
1072
1074
  default: p(() => [
1073
1075
  d("div", null, [
1074
- g(b, null, {
1076
+ v(b, null, {
1075
1077
  default: p(() => [
1076
- g(_, { span: 12 }, {
1078
+ v(_, { span: 12 }, {
1077
1079
  default: p(() => [
1078
- d("span", null, D(v(e)("dialog.replacementDlg.missedFont")), 1)
1080
+ d("span", null, D(g(e)("dialog.replacementDlg.missedFont")), 1)
1079
1081
  ]),
1080
1082
  _: 1
1081
1083
  }),
1082
- g(_, { span: 12 }, {
1084
+ v(_, { span: 12 }, {
1083
1085
  default: p(() => [
1084
- d("span", null, D(v(e)("dialog.replacementDlg.replacedFont")), 1)
1086
+ d("span", null, D(g(e)("dialog.replacementDlg.replacedFont")), 1)
1085
1087
  ]),
1086
1088
  _: 1
1087
1089
  })
1088
1090
  ]),
1089
1091
  _: 1
1090
1092
  }),
1091
- (u(!0), y(j, null, X(v(n), ([z, A]) => (u(), C(b, {
1093
+ (u(!0), y(j, null, X(g(n), ([z, A]) => (u(), C(b, {
1092
1094
  key: z,
1093
1095
  style: { "margin-top": "10px" }
1094
1096
  }, {
1095
1097
  default: p(() => [
1096
- g(_, { span: 12 }, {
1098
+ v(_, { span: 12 }, {
1097
1099
  default: p(() => [
1098
1100
  d("span", null, D(z), 1)
1099
1101
  ]),
1100
1102
  _: 2
1101
1103
  }, 1024),
1102
- g(_, { span: 12 }, {
1104
+ v(_, { span: 12 }, {
1103
1105
  default: p(() => [
1104
- g($, {
1106
+ v($, {
1105
1107
  "model-value": A,
1106
- placeholder: v(e)("dialog.replacementDlg.selectFont"),
1108
+ placeholder: g(e)("dialog.replacementDlg.selectFont"),
1107
1109
  "onUpdate:modelValue": (O) => f(z, O),
1108
1110
  style: { width: "100%" }
1109
1111
  }, {
@@ -1126,31 +1128,31 @@ const Bt = /* @__PURE__ */ L({
1126
1128
  ]),
1127
1129
  _: 1
1128
1130
  }, 8, ["label"])) : q("", !0),
1129
- v(i).size > 0 ? (u(), C(I, {
1131
+ g(i).size > 0 ? (u(), C(I, {
1130
1132
  key: 1,
1131
- label: v(e)("dialog.replacementDlg.imageTabName"),
1133
+ label: g(e)("dialog.replacementDlg.imageTabName"),
1132
1134
  name: "image"
1133
1135
  }, {
1134
1136
  default: p(() => [
1135
- g(P, {
1136
- data: Array.from(v(i).values()),
1137
+ v(N, {
1138
+ data: Array.from(g(i).values()),
1137
1139
  style: { width: "100%" },
1138
1140
  "v-show": !1
1139
1141
  }, {
1140
1142
  default: p(() => [
1141
- g(V, {
1142
- label: v(e)("dialog.replacementDlg.file"),
1143
+ v(V, {
1144
+ label: g(e)("dialog.replacementDlg.file"),
1143
1145
  prop: "fileName",
1144
1146
  "min-width": 0,
1145
1147
  flex: 1
1146
1148
  }, null, 8, ["label"]),
1147
- g(V, {
1148
- label: v(e)("dialog.replacementDlg.replace"),
1149
+ v(V, {
1150
+ label: g(e)("dialog.replacementDlg.replace"),
1149
1151
  fixed: "right",
1150
1152
  width: "60"
1151
1153
  }, {
1152
1154
  default: p(({ row: z }) => [
1153
- g(B, {
1155
+ v(B, {
1154
1156
  link: "",
1155
1157
  type: "primary",
1156
1158
  size: "small",
@@ -1227,14 +1229,14 @@ function Rt(t, e) {
1227
1229
  }, null, -1)
1228
1230
  ]));
1229
1231
  }
1230
- const Nt = { render: Rt }, Pt = {
1232
+ const Pt = { render: Rt }, Nt = {
1231
1233
  xmlns: "http://www.w3.org/2000/svg",
1232
1234
  width: "1em",
1233
1235
  height: "1em",
1234
1236
  viewBox: "0 0 20 20"
1235
1237
  };
1236
1238
  function Ot(t, e) {
1237
- return u(), y("svg", Pt, e[0] || (e[0] = [
1239
+ return u(), y("svg", Nt, e[0] || (e[0] = [
1238
1240
  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
1241
  ]));
1240
1242
  }
@@ -1438,14 +1440,14 @@ const In = { render: Fn }, Rn = {
1438
1440
  height: "1em",
1439
1441
  viewBox: "0 0 20 20"
1440
1442
  };
1441
- function Nn(t, e) {
1443
+ function Pn(t, e) {
1442
1444
  return u(), y("svg", Rn, e[0] || (e[0] = [
1443
1445
  d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1444
1446
  d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1445
1447
  d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1446
1448
  ]));
1447
1449
  }
1448
- const Pn = { render: Nn }, On = {
1450
+ const Nn = { render: Pn }, On = {
1449
1451
  xmlns: "http://www.w3.org/2000/svg",
1450
1452
  width: "1em",
1451
1453
  height: "1em",
@@ -1526,7 +1528,7 @@ function oo(t, e) {
1526
1528
  const lo = { render: oo }, ao = /* @__PURE__ */ L({
1527
1529
  __name: "MlPointStyleDlg",
1528
1530
  setup(t) {
1529
- const { t: e } = N(), n = Dt(T.instance), i = x(!0), l = x(0), o = [
1531
+ const { t: e } = P(), n = Dt(T.instance), i = x(!0), l = x(0), o = [
1530
1532
  [
1531
1533
  { id: 0, icon: en },
1532
1534
  { id: 1, icon: on },
@@ -1545,7 +1547,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1545
1547
  { id: 64, icon: Tn },
1546
1548
  { id: 65, icon: Vn },
1547
1549
  { id: 66, icon: In },
1548
- { id: 67, icon: Pn },
1550
+ { id: 67, icon: Nn },
1549
1551
  { id: 68, icon: Gn }
1550
1552
  ],
1551
1553
  [
@@ -1569,7 +1571,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1569
1571
  return (f, m) => {
1570
1572
  const h = M("el-button"), _ = M("el-col"), b = M("el-row");
1571
1573
  return u(), C(Te, {
1572
- title: v(e)("dialog.pointStyleDlg.title"),
1574
+ title: g(e)("dialog.pointStyleDlg.title"),
1573
1575
  width: 400,
1574
1576
  modelValue: i.value,
1575
1577
  "onUpdate:modelValue": m[0] || (m[0] = (S) => i.value = S),
@@ -1578,7 +1580,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1578
1580
  onCancel: w
1579
1581
  }, {
1580
1582
  default: p(() => [
1581
- (u(), y(j, null, X(o, (S, $) => g(b, {
1583
+ (u(), y(j, null, X(o, (S, $) => v(b, {
1582
1584
  key: $,
1583
1585
  style: { "margin-top": "10px" },
1584
1586
  gutter: 6,
@@ -1590,7 +1592,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1590
1592
  span: 4
1591
1593
  }, {
1592
1594
  default: p(() => [
1593
- g(h, {
1595
+ v(h, {
1594
1596
  icon: I.icon,
1595
1597
  type: s($, V),
1596
1598
  onClick: (B) => r($, V),
@@ -1612,7 +1614,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1612
1614
  try {
1613
1615
  if (typeof document < "u") {
1614
1616
  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-3eed2087]{display:flex;flex-direction:column}.ml-horizontal-toolbar-button-group[data-v-3eed2087]{display:flex;flex-direction:row}.ml-toolbar-button[data-v-3eed2087]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}.ml-toolbar-button-text[data-v-3eed2087]{margin-left:0;margin-top:5px}.ml-tool-palette-dialog[data-v-11a64c54]{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-11a64c54]{border-bottom:1px solid var(--el-border-color)}.ml-tool-palette-dialog-layout[data-v-11a64c54]{display:flex;height:100%}.ml-tool-palette-title-bar[data-v-11a64c54]{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-11a64c54]{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-11a64c54]{-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-11a64c54]{order:1}.ml-tool-palette-dialog-layout.left .ml-tool-palette-content[data-v-11a64c54],.ml-tool-palette-dialog-layout.right .ml-tool-palette-title-bar[data-v-11a64c54]{order:2}.ml-tool-palette-dialog-layout.right .ml-tool-palette-content[data-v-11a64c54]{order:1}")), document.head.appendChild(t);
1617
+ 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
1618
  }
1617
1619
  } catch (e) {
1618
1620
  console.error("vite-plugin-css-injected-by-js", e);
@@ -1702,7 +1704,7 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
1702
1704
  const r = se, c = nt, w = tt, f = et;
1703
1705
  return u(), C(f, { onCommand: o }, {
1704
1706
  dropdown: p(() => [
1705
- g(w, null, {
1707
+ v(w, null, {
1706
1708
  default: p(() => [
1707
1709
  (u(!0), y(j, null, X(l.value, (m) => (u(), C(c, {
1708
1710
  key: m.text,
@@ -1718,7 +1720,7 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
1718
1720
  })
1719
1721
  ]),
1720
1722
  default: p(() => [
1721
- g(r, {
1723
+ v(r, {
1722
1724
  size: "30",
1723
1725
  class: "ml-dropdown-icon"
1724
1726
  }, {
@@ -1813,7 +1815,7 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1813
1815
  }, {
1814
1816
  default: p(() => [
1815
1817
  d("div", null, [
1816
- g(m, { size: o.value }, {
1818
+ v(m, { size: o.value }, {
1817
1819
  default: p(() => [
1818
1820
  (u(), C(ge(S.icon)))
1819
1821
  ]),
@@ -1832,7 +1834,7 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1832
1834
  }, 8, ["class"]);
1833
1835
  };
1834
1836
  }
1835
- }), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-3eed2087"]]), Me = 20;
1837
+ }), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-5261c686"]]), Me = 20;
1836
1838
  function To(t, e, n) {
1837
1839
  const i = x(!1), l = (r) => {
1838
1840
  if (n.value && t.value) {
@@ -1885,10 +1887,10 @@ function Eo(t, e, n) {
1885
1887
  }
1886
1888
  }, m = (_) => {
1887
1889
  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, P = o.value.x + (_.clientX - a.x), R = o.value.y + (_.clientY - a.y);
1890
+ 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
1891
  l.value.x = Math.max(
1890
1892
  n ? n.value.offset.value.left : 0,
1891
- P
1893
+ N
1892
1894
  );
1893
1895
  const z = b - V;
1894
1896
  l.value.x = Math.min(
@@ -1987,7 +1989,7 @@ function Io(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom:
1987
1989
  const m = 5, h = x(null), _ = (V) => {
1988
1990
  if (!(!t.value || e.value))
1989
1991
  if (a.value) {
1990
- const B = V.clientX - w, P = V.clientY - f;
1992
+ const B = V.clientX - w, N = V.clientY - f;
1991
1993
  if (h.value === "left" || h.value === "left-bottom-corner") {
1992
1994
  const R = r - B;
1993
1995
  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 +1999,11 @@ function Io(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom:
1997
1999
  R > l.width && (o.value.width = R, t.value.style.width = o.value.width + "px");
1998
2000
  }
1999
2001
  if (h.value === "bottom" || h.value === "left-bottom-corner" || h.value === "right-bottom-corner") {
2000
- const R = c + P;
2002
+ const R = c + N;
2001
2003
  R > l.height && (o.value.height = R, t.value.style.height = o.value.height + "px");
2002
2004
  }
2003
2005
  } else {
2004
- const B = t.value.getBoundingClientRect(), P = V.clientX - B.left, R = V.clientY - B.top, z = P <= m, A = P >= B.width - m, O = R >= B.height - m;
2006
+ 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
2007
  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
2008
  }
2007
2009
  }, b = (V) => {
@@ -2048,7 +2050,7 @@ function Ro(t, e, n, i) {
2048
2050
  l();
2049
2051
  });
2050
2052
  }
2051
- function No(t, e, n, i) {
2053
+ function Po(t, e, n, i) {
2052
2054
  const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: s, movement: r, position: c, isDragging: w } = $o(
2053
2055
  t,
2054
2056
  e,
@@ -2089,7 +2091,7 @@ function No(t, e, n, i) {
2089
2091
  }), te(() => {
2090
2092
  window.removeEventListener("resize", B);
2091
2093
  });
2092
- const P = (z) => {
2094
+ const N = (z) => {
2093
2095
  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
2096
  }, R = () => {
2095
2097
  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 +2099,9 @@ function No(t, e, n, i) {
2097
2099
  return E(a, () => {
2098
2100
  R();
2099
2101
  }), E(n, (z) => {
2100
- P(z);
2102
+ N(z);
2101
2103
  }), E(I, (z) => {
2102
- n.value && !w.value && P(!z);
2104
+ n.value && !w.value && N(!z);
2103
2105
  }), E(r, (z) => {
2104
2106
  if (z && t.value) {
2105
2107
  const A = t.value.getBoundingClientRect();
@@ -2107,7 +2109,7 @@ function No(t, e, n, i) {
2107
2109
  }
2108
2110
  }), { rect: m, orientation: s, reversed: f };
2109
2111
  }
2110
- const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ */ Po(() => /* @__PURE__ */ d("svg", {
2112
+ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ */ No(() => /* @__PURE__ */ d("svg", {
2111
2113
  xmlns: "http://www.w3.org/2000/svg",
2112
2114
  width: "1em",
2113
2115
  height: "1em",
@@ -2142,7 +2144,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2142
2144
  rect: c,
2143
2145
  orientation: w,
2144
2146
  reversed: f
2145
- } = No(s, a, o, r), m = k(() => ({
2147
+ } = Po(s, a, o, r), m = k(() => ({
2146
2148
  left: `${c.value.left}px`,
2147
2149
  top: `${c.value.top}px`,
2148
2150
  width: `${c.value.width}px`,
@@ -2171,7 +2173,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2171
2173
  class: "ml-tool-palette-dialog"
2172
2174
  }, [
2173
2175
  d("div", {
2174
- class: Ce(["ml-tool-palette-dialog-layout", v(w)])
2176
+ class: Ce(["ml-tool-palette-dialog-layout", g(w)])
2175
2177
  }, [
2176
2178
  d("div", {
2177
2179
  ref_key: "titleBarElement",
@@ -2179,7 +2181,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2179
2181
  class: "ml-tool-palette-title-bar",
2180
2182
  style: pe(h.value)
2181
2183
  }, [
2182
- g($, {
2184
+ v($, {
2183
2185
  size: 18,
2184
2186
  class: "ml-tool-palette-dialog-icon",
2185
2187
  onClick: _
@@ -2189,11 +2191,11 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2189
2191
  ]),
2190
2192
  _: 1
2191
2193
  }),
2192
- g(vo, {
2194
+ v(vo, {
2193
2195
  class: "ml-tool-palette-dialog-icon",
2194
2196
  modelValue: o.value,
2195
2197
  "onUpdate:modelValue": S[0] || (S[0] = (I) => o.value = I),
2196
- reverse: v(f)
2198
+ reverse: g(f)
2197
2199
  }, null, 8, ["modelValue", "reverse"]),
2198
2200
  d("span", Ho, D(n.title), 1)
2199
2201
  ], 4),
@@ -2204,13 +2206,13 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2204
2206
  ], 4)) : q("", !0);
2205
2207
  };
2206
2208
  }
2207
- }), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-11a64c54"]]), Uo = { class: "ml-layer-list-cell" }, jo = { class: "ml-layer-list-cell" }, Yo = /* @__PURE__ */ L({
2209
+ }), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-8645db4f"]]), Uo = { class: "ml-layer-list-cell" }, jo = { class: "ml-layer-list-cell" }, Yo = /* @__PURE__ */ L({
2208
2210
  __name: "MlLayerList",
2209
2211
  props: {
2210
2212
  editor: {}
2211
2213
  },
2212
2214
  setup(t) {
2213
- const { t: e } = N(), n = t, i = gt(n.editor), l = x(), o = x([]), a = (r) => {
2215
+ const { t: e } = P(), n = t, i = gt(n.editor), l = x(), o = x([]), a = (r) => {
2214
2216
  o.value = r;
2215
2217
  }, s = (r) => {
2216
2218
  const c = n.editor.curDocument.database.tables.layerTable.getAt(
@@ -2220,33 +2222,29 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2220
2222
  };
2221
2223
  return (r, c) => {
2222
2224
  const w = M("el-table-column"), f = M("el-checkbox"), m = M("el-tag");
2223
- return u(), C(v(Qe), {
2225
+ return u(), C(g(Qe), {
2224
2226
  ref_key: "multipleTableRef",
2225
2227
  ref: l,
2226
- data: v(i),
2228
+ data: g(i),
2227
2229
  class: "ml-layer-list",
2228
2230
  onSelectionChange: a
2229
2231
  }, {
2230
2232
  default: p(() => [
2231
- g(w, {
2232
- type: "selection",
2233
- width: "40"
2234
- }),
2235
- g(w, {
2233
+ v(w, {
2236
2234
  property: "name",
2237
- label: v(e)("main.toolPalette.layerManager.layerList.name"),
2238
- width: "120",
2235
+ label: g(e)("main.toolPalette.layerManager.layerList.name"),
2236
+ "min-width": "120",
2239
2237
  sortable: "",
2240
2238
  "show-overflow-tooltip": ""
2241
2239
  }, null, 8, ["label"]),
2242
- g(w, {
2240
+ v(w, {
2243
2241
  property: "isOn",
2244
- label: v(e)("main.toolPalette.layerManager.layerList.on"),
2242
+ label: g(e)("main.toolPalette.layerManager.layerList.on"),
2245
2243
  width: "50"
2246
2244
  }, {
2247
2245
  default: p((h) => [
2248
2246
  d("div", Uo, [
2249
- g(f, {
2247
+ v(f, {
2250
2248
  modelValue: h.row.isOn,
2251
2249
  "onUpdate:modelValue": (_) => h.row.isOn = _,
2252
2250
  onChange: (_) => s(h.row)
@@ -2255,14 +2253,14 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2255
2253
  ]),
2256
2254
  _: 1
2257
2255
  }, 8, ["label"]),
2258
- g(w, {
2256
+ v(w, {
2259
2257
  property: "color",
2260
- label: v(e)("main.toolPalette.layerManager.layerList.color"),
2258
+ label: g(e)("main.toolPalette.layerManager.layerList.color"),
2261
2259
  width: "70"
2262
2260
  }, {
2263
2261
  default: p((h) => [
2264
2262
  d("div", jo, [
2265
- g(m, {
2263
+ v(m, {
2266
2264
  color: h.row.color,
2267
2265
  class: "ml-layer-list-color"
2268
2266
  }, null, 8, ["color"])
@@ -2282,16 +2280,16 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2282
2280
  },
2283
2281
  setup(t) {
2284
2282
  const e = t;
2285
- return (n, i) => (u(), C(v(qo), {
2283
+ return (n, i) => (u(), C(g(qo), {
2286
2284
  class: "ml-layer-manager",
2287
- modelValue: v(Z).dialogs.layerManager,
2288
- "onUpdate:modelValue": i[0] || (i[0] = (l) => v(Z).dialogs.layerManager = l),
2285
+ modelValue: g(Z).dialogs.layerManager,
2286
+ "onUpdate:modelValue": i[0] || (i[0] = (l) => g(Z).dialogs.layerManager = l),
2289
2287
  title: "Layers",
2290
2288
  "bottom-offset": 30
2291
2289
  }, {
2292
2290
  default: p(() => [
2293
2291
  d("div", Ko, [
2294
- g(Yo, {
2292
+ v(Yo, {
2295
2293
  editor: e.editor
2296
2294
  }, null, 8, ["editor"])
2297
2295
  ])
@@ -2302,7 +2300,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2302
2300
  }), Qo = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-d49ba2cb"]]), Zo = { class: "autocomplete-container" }, Jo = /* @__PURE__ */ L({
2303
2301
  __name: "MlCommandLine",
2304
2302
  setup(t) {
2305
- const { t: e } = N(), n = ce(), i = ut(), l = x(""), o = x(""), a = (c, w) => {
2303
+ const { t: e } = P(), n = ce(), i = ut(), l = x(""), o = x(""), a = (c, w) => {
2306
2304
  const f = c ? i.filter(
2307
2305
  (m) => m.commandName.startsWith(c.toLowerCase())
2308
2306
  ) : i;
@@ -2311,19 +2309,19 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2311
2309
  l.value && (T.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
2312
2310
  }, r = (c, w) => `${w}: ${fe(c, w)}`;
2313
2311
  return (c, w) => (u(), y("div", Zo, [
2314
- v(n).isShowCommandLine ? (u(), C(v(Ze), {
2312
+ g(n).isShowCommandLine ? (u(), C(g(Ze), {
2315
2313
  key: 0,
2316
2314
  modelValue: l.value,
2317
2315
  "onUpdate:modelValue": w[0] || (w[0] = (f) => l.value = f),
2318
2316
  "value-key": "commandName",
2319
2317
  clearable: "",
2320
2318
  "fetch-suggestions": a,
2321
- placeholder: v(e)("main.commandLine.prompt"),
2319
+ placeholder: g(e)("main.commandLine.prompt"),
2322
2320
  debounce: 300,
2323
2321
  "trigger-on-focus": "",
2324
2322
  "fit-input-width": !1,
2325
2323
  onSelect: s,
2326
- onKeydown: Pe(s, ["enter"]),
2324
+ onKeydown: Ne(s, ["enter"]),
2327
2325
  class: "autocomplete-input"
2328
2326
  }, {
2329
2327
  default: p(({ item: f }) => [
@@ -2343,7 +2341,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2343
2341
  "2d5cc4ca": a.value,
2344
2342
  "11fa7d7e": s.value
2345
2343
  }));
2346
- const { t: e } = N(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = k(() => i.value + "px"), s = k(() => l.value + "px"), r = k(() => {
2344
+ 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
2345
  const m = T.instance.curDocument.database;
2348
2346
  if (o.value) {
2349
2347
  const h = m.tables.blockTable.modelSpace.getIdAt(o.value);
@@ -2379,11 +2377,11 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2379
2377
  class: "ml-entity-info"
2380
2378
  }, {
2381
2379
  default: p(() => [
2382
- g(S, { class: "ml-entity-info-text" }, {
2380
+ v(S, { class: "ml-entity-info-text" }, {
2383
2381
  default: p(() => [
2384
- g(b, { span: 24 }, {
2382
+ v(b, { span: 24 }, {
2385
2383
  default: p(() => [
2386
- g(_, {
2384
+ v(_, {
2387
2385
  size: "small",
2388
2386
  class: "ml-entity-info-title"
2389
2387
  }, {
@@ -2398,22 +2396,22 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2398
2396
  ]),
2399
2397
  _: 1
2400
2398
  }),
2401
- g(S, { class: "ml-entity-info-text" }, {
2399
+ v(S, { class: "ml-entity-info-text" }, {
2402
2400
  default: p(() => [
2403
- g(b, { span: 10 }, {
2401
+ v(b, { span: 10 }, {
2404
2402
  default: p(() => [
2405
- g(_, { size: "small" }, {
2403
+ v(_, { size: "small" }, {
2406
2404
  default: p(() => [
2407
- F(D(v(e)("main.entityInfo.color")), 1)
2405
+ F(D(g(e)("main.entityInfo.color")), 1)
2408
2406
  ]),
2409
2407
  _: 1
2410
2408
  })
2411
2409
  ]),
2412
2410
  _: 1
2413
2411
  }),
2414
- g(b, { span: 14 }, {
2412
+ v(b, { span: 14 }, {
2415
2413
  default: p(() => [
2416
- g(_, { size: "small" }, {
2414
+ v(_, { size: "small" }, {
2417
2415
  default: p(() => [
2418
2416
  F(D(r.value.color), 1)
2419
2417
  ]),
@@ -2425,22 +2423,22 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2425
2423
  ]),
2426
2424
  _: 1
2427
2425
  }),
2428
- g(S, { class: "ml-entity-info-text" }, {
2426
+ v(S, { class: "ml-entity-info-text" }, {
2429
2427
  default: p(() => [
2430
- g(b, { span: 10 }, {
2428
+ v(b, { span: 10 }, {
2431
2429
  default: p(() => [
2432
- g(_, { size: "small" }, {
2430
+ v(_, { size: "small" }, {
2433
2431
  default: p(() => [
2434
- F(D(v(e)("main.entityInfo.layer")), 1)
2432
+ F(D(g(e)("main.entityInfo.layer")), 1)
2435
2433
  ]),
2436
2434
  _: 1
2437
2435
  })
2438
2436
  ]),
2439
2437
  _: 1
2440
2438
  }),
2441
- g(b, { span: 14 }, {
2439
+ v(b, { span: 14 }, {
2442
2440
  default: p(() => [
2443
- g(_, { size: "small" }, {
2441
+ v(_, { size: "small" }, {
2444
2442
  default: p(() => [
2445
2443
  F(D(r.value.layer), 1)
2446
2444
  ]),
@@ -2452,22 +2450,22 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2452
2450
  ]),
2453
2451
  _: 1
2454
2452
  }),
2455
- g(S, { class: "ml-entity-info-text" }, {
2453
+ v(S, { class: "ml-entity-info-text" }, {
2456
2454
  default: p(() => [
2457
- g(b, { span: 10 }, {
2455
+ v(b, { span: 10 }, {
2458
2456
  default: p(() => [
2459
- g(_, { size: "small" }, {
2457
+ v(_, { size: "small" }, {
2460
2458
  default: p(() => [
2461
- F(D(v(e)("main.entityInfo.lineType")), 1)
2459
+ F(D(g(e)("main.entityInfo.lineType")), 1)
2462
2460
  ]),
2463
2461
  _: 1
2464
2462
  })
2465
2463
  ]),
2466
2464
  _: 1
2467
2465
  }),
2468
- g(b, { span: 14 }, {
2466
+ v(b, { span: 14 }, {
2469
2467
  default: p(() => [
2470
- g(_, { size: "small" }, {
2468
+ v(_, { size: "small" }, {
2471
2469
  default: p(() => [
2472
2470
  F(D(r.value.lineType), 1)
2473
2471
  ]),
@@ -2502,10 +2500,10 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2502
2500
  ]), o = (a) => {
2503
2501
  (a === "en" || a === "zh") && i(a);
2504
2502
  };
2505
- return (a, s) => (u(), C(v(bo), {
2503
+ return (a, s) => (u(), C(g(bo), {
2506
2504
  class: "ml-language-selector",
2507
2505
  languages: l,
2508
- current: v(n),
2506
+ current: g(n),
2509
2507
  onClick: o
2510
2508
  }, null, 8, ["languages", "current"]));
2511
2509
  }
@@ -2613,7 +2611,7 @@ var al = /* @__PURE__ */ L({
2613
2611
  const _l = /* @__PURE__ */ L({
2614
2612
  __name: "MlMainMenu",
2615
2613
  setup(t) {
2616
- const { t: e } = N(), n = (i) => {
2614
+ const { t: e } = P(), n = (i) => {
2617
2615
  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
2616
  };
2619
2617
  return (i, l) => {
@@ -2624,17 +2622,17 @@ const _l = /* @__PURE__ */ L({
2624
2622
  onCommand: n
2625
2623
  }, {
2626
2624
  dropdown: p(() => [
2627
- g(s, null, {
2625
+ v(s, null, {
2628
2626
  default: p(() => [
2629
- g(a, { command: "QNew" }, {
2627
+ v(a, { command: "QNew" }, {
2630
2628
  default: p(() => [
2631
- F(D(v(e)("main.mainMenu.new")), 1)
2629
+ F(D(g(e)("main.mainMenu.new")), 1)
2632
2630
  ]),
2633
2631
  _: 1
2634
2632
  }),
2635
- g(a, { command: "Open" }, {
2633
+ v(a, { command: "Open" }, {
2636
2634
  default: p(() => [
2637
- F(D(v(e)("main.mainMenu.open")), 1)
2635
+ F(D(g(e)("main.mainMenu.open")), 1)
2638
2636
  ]),
2639
2637
  _: 1
2640
2638
  })
@@ -2643,12 +2641,12 @@ const _l = /* @__PURE__ */ L({
2643
2641
  })
2644
2642
  ]),
2645
2643
  default: p(() => [
2646
- g(o, {
2644
+ v(o, {
2647
2645
  class: "ml-main-menu-icon",
2648
2646
  size: "30"
2649
2647
  }, {
2650
2648
  default: p(() => [
2651
- g(v(rl))
2649
+ v(g(rl))
2652
2650
  ]),
2653
2651
  _: 1
2654
2652
  })
@@ -2663,7 +2661,7 @@ const _l = /* @__PURE__ */ L({
2663
2661
  }, bl = /* @__PURE__ */ L({
2664
2662
  __name: "MlToolBars",
2665
2663
  setup(t) {
2666
- const { t: e } = N(), n = ce(), i = k(() => [
2664
+ const { t: e } = P(), n = ce(), i = k(() => [
2667
2665
  {
2668
2666
  icon: qt,
2669
2667
  text: e("main.verticalToolbar.select.text"),
@@ -2689,7 +2687,7 @@ const _l = /* @__PURE__ */ L({
2689
2687
  description: e("main.verticalToolbar.zoomToBox.description")
2690
2688
  },
2691
2689
  {
2692
- icon: Nt,
2690
+ icon: Pt,
2693
2691
  text: e("main.verticalToolbar.layer.text"),
2694
2692
  command: "la",
2695
2693
  description: e("main.verticalToolbar.layer.description")
@@ -2697,8 +2695,8 @@ const _l = /* @__PURE__ */ L({
2697
2695
  ]), l = (o) => {
2698
2696
  T.instance.sendStringToExecute(o);
2699
2697
  };
2700
- return (o, a) => v(n).isShowToolbar ? (u(), y("div", yl, [
2701
- g(v(Bo), {
2698
+ return (o, a) => g(n).isShowToolbar ? (u(), y("div", yl, [
2699
+ v(g(Bo), {
2702
2700
  items: i.value,
2703
2701
  size: "small",
2704
2702
  direction: "vertical",
@@ -2709,35 +2707,35 @@ const _l = /* @__PURE__ */ L({
2709
2707
  }), xl = /* @__PURE__ */ L({
2710
2708
  __name: "MlFullScreenButton",
2711
2709
  setup(t) {
2712
- const { t: e } = N(), { isFullscreen: n, toggle: i } = Ue(), l = k(() => ({
2710
+ const { t: e } = P(), { isFullscreen: n, toggle: i } = Ue(), l = k(() => ({
2713
2711
  onIcon: be,
2714
2712
  offIcon: be,
2715
2713
  onTooltip: e("main.statusBar.fullScreen.on"),
2716
2714
  offTooltip: e("main.statusBar.fullScreen.off")
2717
2715
  })), o = k(() => !n.value);
2718
- return (a, s) => (u(), C(v(Ve), {
2716
+ return (a, s) => (u(), C(g(Ve), {
2719
2717
  modelValue: o.value,
2720
2718
  "onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
2721
2719
  data: l.value,
2722
- onClick: v(i)
2720
+ onClick: g(i)
2723
2721
  }, null, 8, ["modelValue", "data", "onClick"]));
2724
2722
  }
2725
2723
  }), kl = /* @__PURE__ */ L({
2726
2724
  __name: "MlPointStyleButton",
2727
2725
  setup(t) {
2728
- const { t: e } = N(), n = () => {
2726
+ const { t: e } = P(), n = () => {
2729
2727
  T.instance.sendStringToExecute("pttype");
2730
2728
  };
2731
2729
  return (i, l) => {
2732
2730
  const o = M("el-button"), a = M("el-tooltip");
2733
2731
  return u(), C(a, {
2734
- content: v(e)("main.statusBar.pointStyle.tooltip"),
2732
+ content: g(e)("main.statusBar.pointStyle.tooltip"),
2735
2733
  "hide-after": 0
2736
2734
  }, {
2737
2735
  default: p(() => [
2738
- g(o, {
2736
+ v(o, {
2739
2737
  class: "ml-point-style-button",
2740
- icon: v(dl),
2738
+ icon: g(dl),
2741
2739
  onClick: l[0] || (l[0] = (s) => n())
2742
2740
  }, null, 8, ["icon"])
2743
2741
  ]),
@@ -2751,7 +2749,7 @@ const _l = /* @__PURE__ */ L({
2751
2749
  }, Cl = /* @__PURE__ */ L({
2752
2750
  __name: "MlProgress",
2753
2751
  setup(t) {
2754
- const { t: e } = N(), n = x(0), i = x(!1), l = (a) => {
2752
+ const { t: e } = P(), n = x(0), i = x(!1), l = (a) => {
2755
2753
  if (a.stage === "CONVERSION") {
2756
2754
  const s = we.service({
2757
2755
  lock: !0
@@ -2783,7 +2781,7 @@ const _l = /* @__PURE__ */ L({
2783
2781
  }), te(() => {
2784
2782
  Y.off("open-file-progress", l);
2785
2783
  }), (a, s) => i.value ? (u(), y("div", Sl, [
2786
- g(v(Je), {
2784
+ v(g(Je), {
2787
2785
  "text-inside": !0,
2788
2786
  "stroke-width": 20,
2789
2787
  percentage: n.value,
@@ -2794,56 +2792,56 @@ const _l = /* @__PURE__ */ L({
2794
2792
  }), Ll = /* @__PURE__ */ G(Cl, [["__scopeId", "data-v-fe8fa18d"]]), zl = /* @__PURE__ */ L({
2795
2793
  __name: "MlSettingButton",
2796
2794
  setup(t) {
2797
- const { t: e } = N(), n = ce(), i = (l) => {
2795
+ const { t: e } = P(), n = ce(), i = (l) => {
2798
2796
  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
2797
  };
2800
2798
  return (l, o) => {
2801
2799
  const a = M("el-button"), s = M("el-dropdown-item"), r = M("el-dropdown-menu"), c = M("el-dropdown"), w = M("el-tooltip");
2802
2800
  return u(), C(w, {
2803
- content: v(e)("main.statusBar.setting.tooltip"),
2801
+ content: g(e)("main.statusBar.setting.tooltip"),
2804
2802
  "hide-after": 0
2805
2803
  }, {
2806
2804
  default: p(() => [
2807
- g(c, {
2805
+ v(c, {
2808
2806
  trigger: "click",
2809
2807
  onCommand: i
2810
2808
  }, {
2811
2809
  dropdown: p(() => [
2812
- g(r, null, {
2810
+ v(r, null, {
2813
2811
  default: p(() => [
2814
- g(s, {
2815
- icon: v(n).isShowStats ? v(le) : "",
2812
+ v(s, {
2813
+ icon: g(n).isShowStats ? g(le) : "",
2816
2814
  command: "isShowStats"
2817
2815
  }, {
2818
2816
  default: p(() => [
2819
- F(D(v(e)("main.statusBar.setting.stats")), 1)
2817
+ F(D(g(e)("main.statusBar.setting.stats")), 1)
2820
2818
  ]),
2821
2819
  _: 1
2822
2820
  }, 8, ["icon"]),
2823
- g(s, {
2824
- icon: v(n).isShowCommandLine ? v(le) : "",
2821
+ v(s, {
2822
+ icon: g(n).isShowCommandLine ? g(le) : "",
2825
2823
  command: "isShowCommandLine"
2826
2824
  }, {
2827
2825
  default: p(() => [
2828
- F(D(v(e)("main.statusBar.setting.commandLine")), 1)
2826
+ F(D(g(e)("main.statusBar.setting.commandLine")), 1)
2829
2827
  ]),
2830
2828
  _: 1
2831
2829
  }, 8, ["icon"]),
2832
- g(s, {
2833
- icon: v(n).isShowCoordinate ? v(le) : "",
2830
+ v(s, {
2831
+ icon: g(n).isShowCoordinate ? g(le) : "",
2834
2832
  command: "isShowCoordinate"
2835
2833
  }, {
2836
2834
  default: p(() => [
2837
- F(D(v(e)("main.statusBar.setting.coordinate")), 1)
2835
+ F(D(g(e)("main.statusBar.setting.coordinate")), 1)
2838
2836
  ]),
2839
2837
  _: 1
2840
2838
  }, 8, ["icon"]),
2841
- g(s, {
2842
- icon: v(n).isShowToolbar ? v(le) : "",
2839
+ v(s, {
2840
+ icon: g(n).isShowToolbar ? g(le) : "",
2843
2841
  command: "isShowToolbar"
2844
2842
  }, {
2845
2843
  default: p(() => [
2846
- F(D(v(e)("main.statusBar.setting.toolbar")), 1)
2844
+ F(D(g(e)("main.statusBar.setting.toolbar")), 1)
2847
2845
  ]),
2848
2846
  _: 1
2849
2847
  }, 8, ["icon"])
@@ -2852,9 +2850,9 @@ const _l = /* @__PURE__ */ L({
2852
2850
  })
2853
2851
  ]),
2854
2852
  default: p(() => [
2855
- g(a, {
2853
+ v(a, {
2856
2854
  class: "ml-setting-button",
2857
- icon: v(pl)
2855
+ icon: g(pl)
2858
2856
  }, null, 8, ["icon"])
2859
2857
  ]),
2860
2858
  _: 1
@@ -2867,17 +2865,17 @@ const _l = /* @__PURE__ */ L({
2867
2865
  }), Dl = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-666f03a3"]]), Bl = /* @__PURE__ */ L({
2868
2866
  __name: "MlThemeButton",
2869
2867
  setup(t) {
2870
- const { t: e } = N(), n = k(() => ({
2868
+ const { t: e } = P(), n = k(() => ({
2871
2869
  onIcon: vl,
2872
2870
  offIcon: cl,
2873
2871
  onTooltip: e("main.statusBar.theme.light"),
2874
2872
  offTooltip: e("main.statusBar.theme.dark")
2875
2873
  }));
2876
- return (i, l) => (u(), C(v(Ve), {
2877
- modelValue: v(ae),
2874
+ return (i, l) => (u(), C(g(Ve), {
2875
+ modelValue: g(ae),
2878
2876
  "onUpdate:modelValue": l[0] || (l[0] = (o) => Oe(ae) ? ae.value = o : null),
2879
2877
  data: n.value,
2880
- onClick: l[1] || (l[1] = (o) => v(mt)())
2878
+ onClick: l[1] || (l[1] = (o) => g(mt)())
2881
2879
  }, null, 8, ["modelValue", "data"]));
2882
2880
  }
2883
2881
  }), Tl = /* @__PURE__ */ L({
@@ -2892,7 +2890,7 @@ const _l = /* @__PURE__ */ L({
2892
2890
  key: 0,
2893
2891
  class: "ml-warning-button",
2894
2892
  type: "warning",
2895
- icon: v(hl),
2893
+ icon: g(hl),
2896
2894
  onClick: a[0] || (a[0] = (r) => e())
2897
2895
  }, null, 8, ["icon"])) : q("", !0);
2898
2896
  };
@@ -2907,11 +2905,11 @@ const _l = /* @__PURE__ */ L({
2907
2905
  };
2908
2906
  return (o, a) => {
2909
2907
  const s = M("el-button"), r = M("el-button-group");
2910
- return u(), C(v(Lo), { class: "ml-status-bar" }, {
2908
+ return u(), C(g(Lo), { class: "ml-status-bar" }, {
2911
2909
  left: p(() => [
2912
- g(r, { class: "ml-status-bar-left-button-group" }, {
2910
+ v(r, { class: "ml-status-bar-left-button-group" }, {
2913
2911
  default: p(() => [
2914
- (u(!0), y(j, null, X(v(n), (c) => (u(), C(s, {
2912
+ (u(!0), y(j, null, X(g(n), (c) => (u(), C(s, {
2915
2913
  class: "ml-status-bar-layout-button",
2916
2914
  key: c.name,
2917
2915
  type: c.isActive ? "primary" : "",
@@ -2927,23 +2925,23 @@ const _l = /* @__PURE__ */ L({
2927
2925
  })
2928
2926
  ]),
2929
2927
  right: p(() => [
2930
- g(Ll),
2931
- g(r, { class: "ml-status-bar-right-button-group" }, {
2928
+ v(Ll),
2929
+ v(r, { class: "ml-status-bar-right-button-group" }, {
2932
2930
  default: p(() => [
2933
- v(i).isShowCoordinate ? (u(), C(s, {
2931
+ g(i).isShowCoordinate ? (u(), C(s, {
2934
2932
  key: 0,
2935
2933
  class: "ml-status-bar-current-pos"
2936
2934
  }, {
2937
2935
  default: p(() => [
2938
- F(D(v(e)), 1)
2936
+ F(D(g(e)), 1)
2939
2937
  ]),
2940
2938
  _: 1
2941
2939
  })) : q("", !0),
2942
- g(El),
2943
- g(Bl),
2944
- g(xl),
2945
- g(Ml),
2946
- g(Dl)
2940
+ v(El),
2941
+ v(Bl),
2942
+ v(xl),
2943
+ v(Ml),
2944
+ v(Dl)
2947
2945
  ]),
2948
2946
  _: 1
2949
2947
  })
@@ -2964,7 +2962,7 @@ const _l = /* @__PURE__ */ L({
2964
2962
  background: { default: void 0 }
2965
2963
  },
2966
2964
  setup(t) {
2967
- const e = t, { t: n } = N(), { effectiveLocale: i, elementPlusLocale: l } = Ee(e.locale), o = x(), a = x(null), s = k(() => a.value), r = async (f, m) => {
2965
+ 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
2966
  const h = { minimumChunkSize: 1e3 };
2969
2967
  await T.instance.openDocument(f, m, h), Z.fileName = f;
2970
2968
  }, c = async (f) => {
@@ -2994,8 +2992,8 @@ const _l = /* @__PURE__ */ L({
2994
2992
  const b = await new Promise(
2995
2993
  ($, I) => {
2996
2994
  _.onload = (V) => {
2997
- var P;
2998
- const B = (P = V.target) == null ? void 0 : P.result;
2995
+ var N;
2996
+ const B = (N = V.target) == null ? void 0 : N.result;
2999
2997
  B ? $(B) : I(new Error("Failed to read file content"));
3000
2998
  }, _.onerror = () => I(new Error("Failed to read file"));
3001
2999
  }
@@ -3026,7 +3024,7 @@ const _l = /* @__PURE__ */ L({
3026
3024
  f != null && (T.instance.curView.backgroundColor = f);
3027
3025
  }
3028
3026
  ), H(async () => {
3029
- o.value && (Nl(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);
3027
+ 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
3028
  }), Y.on("message", (f) => {
3031
3029
  Q({
3032
3030
  message: f.message,
@@ -3067,24 +3065,24 @@ const _l = /* @__PURE__ */ L({
3067
3065
  class: "ml-cad-canvas"
3068
3066
  }, null, 512),
3069
3067
  a.value ? (u(), y("div", Al, [
3070
- g(h, { locale: v(l) }, {
3068
+ v(h, { locale: g(l) }, {
3071
3069
  default: p(() => [
3072
3070
  d("header", null, [
3073
- g(v(wl)),
3074
- g(v(ll), { "current-locale": v(i) }, null, 8, ["current-locale"])
3071
+ v(g(wl)),
3072
+ v(g(ll), { "current-locale": g(i) }, null, 8, ["current-locale"])
3075
3073
  ]),
3076
3074
  d("main", null, [
3077
- d("div", Fl, D(v(Z).fileName), 1),
3078
- g(v(bl)),
3079
- g(v(Qo), { editor: s.value }, null, 8, ["editor"]),
3080
- g(v(Bt))
3075
+ d("div", Fl, D(g(Z).fileName), 1),
3076
+ v(g(bl)),
3077
+ v(g(Qo), { editor: s.value }, null, 8, ["editor"]),
3078
+ v(g(Bt))
3081
3079
  ]),
3082
3080
  d("footer", null, [
3083
- g(v(el)),
3084
- g(v(Vl))
3081
+ v(g(el)),
3082
+ v(g(Vl))
3085
3083
  ]),
3086
- g(v(Et), { onFileRead: r }),
3087
- g(v(nl))
3084
+ v(g(Et), { onFileRead: r }),
3085
+ v(g(nl))
3088
3086
  ]),
3089
3087
  _: 1
3090
3088
  }, 8, ["locale"])
@@ -3102,7 +3100,7 @@ const _l = /* @__PURE__ */ L({
3102
3100
  W.SYSTEMT_COMMAND_GROUP_NAME,
3103
3101
  "la",
3104
3102
  "la",
3105
- new Pl()
3103
+ new Nl()
3106
3104
  ), W.instance.addCommand(
3107
3105
  W.SYSTEMT_COMMAND_GROUP_NAME,
3108
3106
  "md",
@@ -3125,7 +3123,7 @@ const _l = /* @__PURE__ */ L({
3125
3123
  component: he(ao),
3126
3124
  props: {}
3127
3125
  });
3128
- }, Nl = (t) => {
3126
+ }, Pl = (t) => {
3129
3127
  T.createInstance(t), Re(), Il(), T.instance.loadDefaultFonts();
3130
3128
  }, Z = U({
3131
3129
  fileName: "",
@@ -3133,7 +3131,7 @@ const _l = /* @__PURE__ */ L({
3133
3131
  layerManager: !1
3134
3132
  }
3135
3133
  });
3136
- class Pl extends re {
3134
+ class Nl extends re {
3137
3135
  execute(e) {
3138
3136
  Z.dialogs.layerManager = !0;
3139
3137
  }
@@ -3199,7 +3197,7 @@ class Gl extends re {
3199
3197
  }
3200
3198
  }
3201
3199
  export {
3202
- Pl as AcApLayerStateCmd,
3200
+ Nl as AcApLayerStateCmd,
3203
3201
  Ol as AcApLogCmd,
3204
3202
  Hl as AcApMissedDataCmd,
3205
3203
  Gl as AcApPointStyleCmd,
@@ -9,6 +9,7 @@ declare const _default: {
9
9
  Dimension: string;
10
10
  DiametricDimension: string;
11
11
  Ellipse: string;
12
+ Face: string;
12
13
  Hatch: string;
13
14
  Leader: string;
14
15
  Line: string;
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/locale/en/entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA6KC"}
1
+ {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/locale/en/entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8KC"}
@@ -143,6 +143,7 @@ export declare const i18n: import('vue-i18n').I18n<{
143
143
  Dimension: string;
144
144
  DiametricDimension: string;
145
145
  Ellipse: string;
146
+ Face: string;
146
147
  Hatch: string;
147
148
  Leader: string;
148
149
  Line: string;
@@ -450,6 +451,7 @@ export declare const i18n: import('vue-i18n').I18n<{
450
451
  Dimension: string;
451
452
  DiametricDimension: string;
452
453
  Ellipse: string;
454
+ Face: string;
453
455
  Hatch: string;
454
456
  Leader: string;
455
457
  Line: string;
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/locale/i18n.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAqCvE,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOf,CAAA;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,WAIhE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,WAE7C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,WAE9C,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAQ7C,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,OAAO,mBAAmB,WAIhE,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/locale/i18n.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAqCvE,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOf,CAAA;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,WAIhE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,WAE7C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,WAE9C,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAQ7C,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,OAAO,mBAAmB,WAIhE,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -9,6 +9,7 @@ declare const _default: {
9
9
  Dimension: string;
10
10
  DiametricDimension: string;
11
11
  Ellipse: string;
12
+ Face: string;
12
13
  Hatch: string;
13
14
  Leader: string;
14
15
  Line: string;
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA6KC"}
1
+ {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/locale/zh/entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8KC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-viewer",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
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.16",
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",
@@ -42,8 +42,8 @@
42
42
  "vite-svg-loader": "^5.1.0",
43
43
  "vue-eslint-parser": "^9.4.3",
44
44
  "vue-tsc": "^2.1.6",
45
- "@mlightcad/svg-renderer": "0.0.20",
46
- "@mlightcad/three-renderer": "1.1.8"
45
+ "@mlightcad/svg-renderer": "0.0.21",
46
+ "@mlightcad/three-renderer": "1.1.9"
47
47
  },
48
48
  "dependencies": {
49
49
  "@element-plus/icons-vue": "^2.3.1",
@@ -51,12 +51,12 @@
51
51
  "three": "^0.172.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@mlightcad/data-model": "1.2.20",
54
+ "@mlightcad/data-model": "1.2.23",
55
55
  "@vueuse/core": "^11.1.0",
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.8"
59
+ "@mlightcad/cad-simple-viewer": "1.1.10"
60
60
  },
61
61
  "scripts": {
62
62
  "analyze": "vite build --mode analyze",