@mlightcad/cad-viewer 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./index.css";
2
- import { AcEdCommandStack as W, AcApDocManager as B, eventBus as j, AcApSettingManager as Y, AcApConvertToSvgCmd as Fe, AcApQNewCmd as Pe, AcApOpenCmd as Re, registerConverters as Oe, AcEdCommand as re } from "@mlightcad/cad-simple-viewer";
2
+ import { AcEdCommandStack as q, AcApDocManager as B, eventBus as j, AcApSettingManager as Y, AcApConvertToSvgCmd as Ie, AcApQNewCmd as Fe, AcApOpenCmd as Pe, registerConverters as Re, AcEdCommand as re } from "@mlightcad/cad-simple-viewer";
3
3
  import "element-plus/dist/index.css";
4
- import { reactive as q, computed as k, defineComponent as L, onMounted as N, resolveComponent as M, createBlock as C, openBlock as u, unref as m, withCtx as p, renderSlot as ie, createVNode as v, createTextVNode as I, toDisplayString as D, createElementVNode as d, ref as x, onUnmounted as ee, watch as E, createElementBlock as w, Fragment as K, renderList as X, resolveDynamicComponent as ge, mergeProps as Ne, mergeModels as Z, useCssVars as Ce, useModel as fe, createCommentVNode as U, normalizeStyle as pe, normalizeClass as Le, pushScopeId as ze, popScopeId as De, onBeforeUnmount as Be, withKeys as He, isRef as Ge, markRaw as _e } from "vue";
5
- import { AcDbDatabaseConverterManager as Te, acdbHostApplicationServices as Ee, AcDbFileType as We, AcCmPerformanceCollector as qe } from "@mlightcad/data-model";
6
- import { useDark as Ue, useToggle as je, useFullscreen as Ye } from "@vueuse/core";
7
- import Ke from "element-plus/es/locale/lang/en";
8
- import Xe from "element-plus/es/locale/lang/zh-cn";
9
- import { useI18n as R, createI18n as Qe } from "vue-i18n";
10
- import { ElDialog as Ze, ElButton as we, ElTable as Je, ElAutocomplete as et, ElProgress as tt, ElLoading as ve, ElMessage as te } from "element-plus";
11
- import { ElIcon as se, ElDropdown as nt, ElDropdownMenu as ot, ElDropdownItem as lt, ElButtonGroup as at, ElTooltip as it, ElButton as rt } from "element-plus/es";
4
+ import { reactive as W, computed as k, defineComponent as L, onMounted as N, resolveComponent as M, createBlock as C, openBlock as u, unref as m, withCtx as p, renderSlot as ie, createVNode as v, createTextVNode as I, toDisplayString as D, createElementVNode as d, ref as b, onUnmounted as ee, watch as E, createElementBlock as w, Fragment as K, renderList as X, resolveDynamicComponent as ve, mergeProps as Oe, mergeModels as Z, useCssVars as Ce, useModel as ge, createCommentVNode as U, normalizeStyle as pe, normalizeClass as Le, pushScopeId as ze, popScopeId as De, onBeforeUnmount as Be, withKeys as Ne, isRef as He, markRaw as he } from "vue";
5
+ import { AcDbDatabaseConverterManager as Ge, acdbHostApplicationServices as Te, AcCmPerformanceCollector as qe } from "@mlightcad/data-model";
6
+ import { useDark as We, useToggle as Ue, useFullscreen as je } from "@vueuse/core";
7
+ import Ye from "element-plus/es/locale/lang/en";
8
+ import Ke from "element-plus/es/locale/lang/zh-cn";
9
+ import { useI18n as R, createI18n as Xe } from "vue-i18n";
10
+ import { ElDialog as Qe, ElButton as _e, ElTable as Ze, ElAutocomplete as Je, ElProgress as et, ElLoading as we, ElMessage as te } from "element-plus";
11
+ import { ElIcon as se, ElDropdown as tt, ElDropdownMenu as nt, ElDropdownItem as ot, ElButtonGroup as lt, ElTooltip as at, ElButton as it } from "element-plus/es";
12
12
  import "element-plus/es/components/base/style/css";
13
13
  import "element-plus/es/components/icon/style/css";
14
14
  import "element-plus/es/components/dropdown/style/css";
@@ -17,26 +17,26 @@ import "element-plus/es/components/dropdown-item/style/css";
17
17
  import "element-plus/es/components/tooltip/style/css";
18
18
  import "element-plus/es/components/button/style/css";
19
19
  import "element-plus/es/components/button-group/style/css";
20
- const ne = q([]);
21
- function st(t) {
20
+ const ne = W([]);
21
+ function rt(t) {
22
22
  ne.find((n) => n.name === t.name) || ne.push({ ...t, visible: !1 });
23
23
  }
24
- function ct(t, e) {
24
+ function st(t, e) {
25
25
  const n = ne.find((i) => i.name === t);
26
26
  n && (n.visible = e);
27
27
  }
28
- function ut(t) {
28
+ function ct(t) {
29
29
  return ne.find((e) => e.name === t);
30
30
  }
31
31
  function oe() {
32
32
  return {
33
33
  dialogs: k(() => ne),
34
- registerDialog: st,
35
- toggleDialog: ct,
36
- getDialogByName: ut
34
+ registerDialog: rt,
35
+ toggleDialog: st,
36
+ getDialogByName: ct
37
37
  };
38
38
  }
39
- const dt = /* @__PURE__ */ L({
39
+ const ut = /* @__PURE__ */ L({
40
40
  __name: "MlBaseDialog",
41
41
  props: {
42
42
  title: {
@@ -66,7 +66,7 @@ const dt = /* @__PURE__ */ L({
66
66
  function a() {
67
67
  l("ok"), l("update:modelValue", !1);
68
68
  }
69
- function s() {
69
+ function r() {
70
70
  l("cancel"), l("update:modelValue", !1);
71
71
  }
72
72
  return N(() => {
@@ -75,9 +75,9 @@ const dt = /* @__PURE__ */ L({
75
75
  component: "BaseDialog",
76
76
  props: i.props
77
77
  });
78
- }), (r, c) => {
78
+ }), (s, c) => {
79
79
  const f = M("el-divider");
80
- return u(), C(m(Ze), {
80
+ return u(), C(m(Qe), {
81
81
  "model-value": t.modelValue,
82
82
  width: t.width,
83
83
  close: "handleCancel",
@@ -89,13 +89,13 @@ const dt = /* @__PURE__ */ L({
89
89
  ]),
90
90
  footer: p(() => [
91
91
  v(f, { class: "ml-dialog-footer-top-line" }),
92
- v(m(we), { onClick: s }, {
92
+ v(m(_e), { onClick: r }, {
93
93
  default: p(() => [
94
94
  I(D(m(n)("dialog.baseDialog.cancel")), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }),
98
- v(m(we), {
98
+ v(m(_e), {
99
99
  type: "primary",
100
100
  onClick: a
101
101
  }, {
@@ -106,7 +106,7 @@ const dt = /* @__PURE__ */ L({
106
106
  })
107
107
  ]),
108
108
  default: p(() => [
109
- ie(r.$slots, "default", {}, void 0, !0)
109
+ ie(s.$slots, "default", {}, void 0, !0)
110
110
  ]),
111
111
  _: 3
112
112
  }, 8, ["model-value", "width"]);
@@ -117,9 +117,9 @@ const dt = /* @__PURE__ */ L({
117
117
  for (const [i, l] of e)
118
118
  n[i] = l;
119
119
  return n;
120
- }, $e = /* @__PURE__ */ H(dt, [["__scopeId", "data-v-8df470d5"]]);
121
- function mt() {
122
- const t = q([]), e = W.instance.iterator();
120
+ }, Ee = /* @__PURE__ */ H(ut, [["__scopeId", "data-v-8df470d5"]]);
121
+ function dt() {
122
+ const t = W([]), e = q.instance.iterator();
123
123
  for (const n of e)
124
124
  t.push({
125
125
  commandName: n.command.localName,
@@ -134,8 +134,8 @@ const ye = new Intl.NumberFormat("en-US", {
134
134
  minimumFractionDigits: 2,
135
135
  maximumFractionDigits: 2
136
136
  });
137
- function pt(t) {
138
- const e = x(0), n = x(0);
137
+ function mt(t) {
138
+ const e = b(0), n = b(0);
139
139
  function i(o) {
140
140
  e.value = o.x, n.value = o.y;
141
141
  }
@@ -143,17 +143,17 @@ function pt(t) {
143
143
  const l = k(() => `${ye.format(e.value)}, ${ye.format(n.value)}`);
144
144
  return { x: e, y: n, text: l };
145
145
  }
146
- const ae = Ue(), vt = je(ae);
147
- function gt() {
148
- const t = x(/* @__PURE__ */ new Set()), e = Te.instance;
146
+ const ae = We(), pt = Ue(ae);
147
+ function vt() {
148
+ const t = b(/* @__PURE__ */ new Set()), e = Ge.instance;
149
149
  for (const n of e.fileTypes)
150
150
  t.value.add(n);
151
151
  return e.events.registered.addEventListener((n) => {
152
152
  t.value.add(n.fileType);
153
153
  }), t;
154
154
  }
155
- function ft(t) {
156
- const e = q([]), n = t.curDocument, i = (l) => {
155
+ function gt(t) {
156
+ const e = W([]), n = t.curDocument, i = (l) => {
157
157
  const o = l.tables.layerTable.newIterator();
158
158
  for (const a of o)
159
159
  e.push({
@@ -182,8 +182,8 @@ function ft(t) {
182
182
  e.length = 0, i(l.doc.database);
183
183
  }), e;
184
184
  }
185
- function ht(t) {
186
- const e = q([]), n = t.curDocument, i = (l) => {
185
+ function ft(t) {
186
+ const e = W([]), n = t.curDocument, i = (l) => {
187
187
  const o = l.dictionaries.layouts.newIterator();
188
188
  e.length = 0;
189
189
  for (const a of o)
@@ -193,11 +193,11 @@ function ht(t) {
193
193
  blockTableRecordId: a.blockTableRecordId,
194
194
  isActive: a.blockTableRecordId == l.currentSpaceId
195
195
  });
196
- e.sort((a, s) => a.tabOrder - s.tabOrder);
196
+ e.sort((a, r) => a.tabOrder - r.tabOrder);
197
197
  };
198
198
  return i(n.database), t.events.documentActivated.addEventListener((l) => {
199
199
  e.length = 0, i(l.doc.database);
200
- }), Ee().layoutManager.events.layoutSwitched.addEventListener(
200
+ }), Te().layoutManager.events.layoutSwitched.addEventListener(
201
201
  (l) => {
202
202
  const o = l.newLayout;
203
203
  e.forEach((a) => {
@@ -206,7 +206,7 @@ function ht(t) {
206
206
  }
207
207
  ), e;
208
208
  }
209
- const _t = {
209
+ const ht = {
210
210
  ACAD: {
211
211
  csvg: "Converts current drawing to SVG",
212
212
  la: "Layer properties manager",
@@ -221,7 +221,7 @@ const _t = {
221
221
  zoomw: "Zooms to display an area specified by a rectangular window"
222
222
  },
223
223
  USER: {}
224
- }, wt = {
224
+ }, _t = {
225
225
  baseDialog: {
226
226
  ok: "OK",
227
227
  cancel: "Cancel"
@@ -240,7 +240,7 @@ const _t = {
240
240
  title: "Point Style",
241
241
  pointSize: "Point Size:"
242
242
  }
243
- }, yt = {
243
+ }, wt = {
244
244
  entityName: {
245
245
  "3PointAngularDimension": "Three Point Angular Dimension",
246
246
  AlignedDimension: "Aligned Dimension",
@@ -413,7 +413,7 @@ const _t = {
413
413
  yellow: "Yellow",
414
414
  yellowgreen: "Yellow Green"
415
415
  }
416
- }, bt = {
416
+ }, yt = {
417
417
  mainMenu: {
418
418
  new: "New Drawing",
419
419
  open: "Open Drawing",
@@ -506,7 +506,7 @@ const _t = {
506
506
  failedToOpenFile: 'Failed to open file "{fileName}"!',
507
507
  fetchingDrawingFile: "Fetching file ..."
508
508
  }
509
- }, xt = {
509
+ }, bt = {
510
510
  ACAD: {
511
511
  csvg: "转换当前图纸为SVG格式",
512
512
  la: "图层属性管理器",
@@ -521,7 +521,7 @@ const _t = {
521
521
  zoomw: "缩放以显示矩形窗口内的对象"
522
522
  },
523
523
  USER: {}
524
- }, kt = {
524
+ }, xt = {
525
525
  baseDialog: {
526
526
  ok: "确定",
527
527
  cancel: "取消"
@@ -540,7 +540,7 @@ const _t = {
540
540
  title: "点样式",
541
541
  pointSize: "点大小:"
542
542
  }
543
- }, Mt = {
543
+ }, kt = {
544
544
  entityName: {
545
545
  "3PointAngularDimension": "三点角度标注",
546
546
  AlignedDimension: "线性标注",
@@ -713,7 +713,7 @@ const _t = {
713
713
  yellow: "黄色",
714
714
  yellowgreen: "黄绿色"
715
715
  }
716
- }, St = {
716
+ }, Mt = {
717
717
  mainMenu: {
718
718
  new: "新建图纸",
719
719
  open: "打开图纸",
@@ -806,89 +806,89 @@ const _t = {
806
806
  failedToOpenFile: '无法打开文件"{fileName}"!',
807
807
  fetchingDrawingFile: "正在加载图纸文件..."
808
808
  }
809
- }, Ct = () => {
809
+ }, St = () => {
810
810
  const t = localStorage.getItem("preferred_lang");
811
811
  return t === "en" || t === "zh" ? t : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
812
- }, Lt = {
812
+ }, Ct = {
813
813
  en: {
814
- main: bt,
815
- command: _t,
816
- dialog: wt,
817
- entity: yt
814
+ main: yt,
815
+ command: ht,
816
+ dialog: _t,
817
+ entity: wt
818
818
  },
819
819
  zh: {
820
- main: St,
821
- command: xt,
822
- dialog: kt,
823
- entity: Mt
820
+ main: Mt,
821
+ command: bt,
822
+ dialog: xt,
823
+ entity: kt
824
824
  }
825
- }, J = Qe({
825
+ }, J = Xe({
826
826
  legacy: !1,
827
- messages: Lt,
828
- locale: Ct(),
827
+ messages: Ct,
828
+ locale: St(),
829
829
  fallbackLocale: "en",
830
830
  allowComposition: !0,
831
831
  globalInjection: !0
832
- }), he = (t, e) => {
832
+ }), fe = (t, e) => {
833
833
  const n = J.global.t, i = `command.${t}.${e}`;
834
834
  return n(i, "");
835
- }, ua = (t) => he(W.SYSTEMT_COMMAND_GROUP_NAME, t), da = (t) => he(W.DEFAUT_COMMAND_GROUP_NAME, t), zt = (t) => {
835
+ }, ca = (t) => fe(q.SYSTEMT_COMMAND_GROUP_NAME, t), ua = (t) => fe(q.DEFAUT_COMMAND_GROUP_NAME, t), Lt = (t) => {
836
836
  const e = J.global.t, n = "entity.entityName." + t.type;
837
837
  return e(n, t.type, { missingWarn: !1 });
838
- }, Dt = (t) => {
838
+ }, zt = (t) => {
839
839
  if (t == "ByLayer" || t == "ByBlock")
840
840
  return t;
841
841
  {
842
842
  const e = J.global.t, n = "entity.color." + t;
843
843
  return e(n, t, { missingWarn: !1 });
844
844
  }
845
- }, Bt = (t) => {
845
+ }, Dt = (t) => {
846
846
  const e = J.global.t, n = "main.progress." + t.replace(/_/g, "").toLowerCase();
847
847
  return e(n, t);
848
848
  }, me = "preferred_lang";
849
849
  function Ve(t) {
850
- const { locale: e } = R(), i = x((() => {
851
- const r = localStorage.getItem(me);
852
- return r === "en" || r === "zh" ? r : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
853
- })()), l = k(() => i.value), o = (r) => {
854
- J.global.locale.value = r, i.value = r, (!t || t === "default") && localStorage.setItem(me, r);
850
+ const { locale: e } = R(), i = b((() => {
851
+ const s = localStorage.getItem(me);
852
+ return s === "en" || s === "zh" ? s : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
853
+ })()), l = k(() => i.value), o = (s) => {
854
+ J.global.locale.value = s, i.value = s, (!t || t === "default") && localStorage.setItem(me, s);
855
855
  }, a = () => {
856
856
  localStorage.removeItem(me);
857
857
  };
858
858
  t && E(
859
859
  () => t,
860
- (r) => {
861
- r && r !== "default" && (i.value = r, J.global.locale.value = r, a());
860
+ (s) => {
861
+ s && s !== "default" && (i.value = s, J.global.locale.value = s, a());
862
862
  },
863
863
  { immediate: !0 }
864
864
  ), E(
865
865
  () => e.value,
866
- (r) => {
866
+ (s) => {
867
867
  if (!t || t === "default") {
868
- const c = r === "zh" ? "zh" : "en";
868
+ const c = s === "zh" ? "zh" : "en";
869
869
  i.value = c;
870
870
  }
871
871
  }
872
872
  );
873
- const s = k(() => l.value === "en" ? Ke : Xe);
873
+ const r = k(() => l.value === "en" ? Ye : Ke);
874
874
  return {
875
875
  currentLocale: i,
876
876
  effectiveLocale: l,
877
- elementPlusLocale: s,
877
+ elementPlusLocale: r,
878
878
  setLocale: o,
879
879
  clearStoragePreference: a,
880
880
  isControlled: k(() => !!(t && t !== "default"))
881
881
  };
882
882
  }
883
- function Ae() {
884
- const t = q(/* @__PURE__ */ new Map()), e = q(/* @__PURE__ */ new Map()), n = () => {
883
+ function $e() {
884
+ const t = W(/* @__PURE__ */ new Map()), e = W(/* @__PURE__ */ new Map()), n = () => {
885
885
  const i = B.instance.curView.missedData, l = Y.instance.fontMapping;
886
886
  t.clear(), Object.keys(i.fonts).forEach((o) => {
887
887
  const a = l[o];
888
888
  t.set(o, a || "");
889
889
  }), e.clear(), i.images.forEach((o, a) => {
890
- const s = e.get(o);
891
- s ? s.ids.add(a) : e.set(o, {
890
+ const r = e.get(o);
891
+ r ? r.ids.add(a) : e.set(o, {
892
892
  fileName: o,
893
893
  ids: /* @__PURE__ */ new Set([a])
894
894
  });
@@ -904,15 +904,15 @@ function Ae() {
904
904
  };
905
905
  }
906
906
  function ce() {
907
- const t = q(
907
+ const t = W(
908
908
  Y.instance.settings
909
909
  );
910
910
  return Y.instance.events.modified.addEventListener((e) => {
911
911
  t[e.key] = e.value;
912
912
  }), t;
913
913
  }
914
- function Tt(t) {
915
- const e = q({}), n = t.curDocument, i = (l) => {
914
+ function Bt(t) {
915
+ const e = W({}), n = t.curDocument, i = (l) => {
916
916
  e.pdmode = l.pdmode, e.pdmode = l.pdsize;
917
917
  };
918
918
  return i(n.database), n.database.events.headerSysVarChanged.addEventListener((l) => {
@@ -921,44 +921,44 @@ function Tt(t) {
921
921
  i(l.doc.database);
922
922
  }), e;
923
923
  }
924
- const Et = /* @__PURE__ */ L({
924
+ const Tt = /* @__PURE__ */ L({
925
925
  __name: "MlDialogManager",
926
926
  setup(t, { expose: e }) {
927
927
  const { dialogs: n, toggleDialog: i, registerDialog: l } = oe();
928
928
  return e({
929
929
  toggleDialog: i,
930
930
  registerDialog: l
931
- }), (o, a) => (u(!0), w(K, null, X(m(n), (s) => (u(), w("div", {
932
- key: s.name
931
+ }), (o, a) => (u(!0), w(K, null, X(m(n), (r) => (u(), w("div", {
932
+ key: r.name
933
933
  }, [
934
- (u(), C(ge(s.component), Ne({
935
- modelValue: s.visible,
936
- "onUpdate:modelValue": (r) => s.visible = r
937
- }, { ref_for: !0 }, s.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
934
+ (u(), C(ve(r.component), Oe({
935
+ modelValue: r.visible,
936
+ "onUpdate:modelValue": (s) => r.visible = s
937
+ }, { ref_for: !0 }, r.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
938
938
  ]))), 128));
939
939
  }
940
- }), $t = ["accept"], Vt = /* @__PURE__ */ L({
940
+ }), Et = ["accept"], Vt = /* @__PURE__ */ L({
941
941
  __name: "MlFileReader",
942
942
  emits: ["file-read"],
943
943
  setup(t, { emit: e }) {
944
- const n = e, i = x(null), l = gt(), o = k(() => {
945
- const s = Array.from(l.value);
946
- let r = "";
947
- for (let c = 0, f = s.length; c < f; ++c)
948
- c == f - 1 ? r += `.${s[c]}` : r += `.${s[c]}, `;
949
- return r;
944
+ const n = e, i = b(null), l = vt(), o = k(() => {
945
+ const r = Array.from(l.value);
946
+ let s = "";
947
+ for (let c = 0, f = r.length; c < f; ++c)
948
+ c == f - 1 ? s += `.${r[c]}` : s += `.${r[c]}, `;
949
+ return s;
950
950
  });
951
951
  N(() => {
952
952
  j.on("open-file", () => {
953
- var s;
954
- (s = i.value) == null || s.click();
953
+ var r;
954
+ (r = i.value) == null || r.click();
955
955
  });
956
956
  });
957
- const a = (s) => {
958
- var f, b;
959
- const c = (f = s.target.files) == null ? void 0 : f[0];
957
+ const a = (r) => {
958
+ var f, x;
959
+ const c = (f = r.target.files) == null ? void 0 : f[0];
960
960
  if (c && c.name) {
961
- const g = (b = c.name.split(".").pop()) == null ? void 0 : b.toLocaleLowerCase(), h = new FileReader();
961
+ const g = (x = c.name.split(".").pop()) == null ? void 0 : x.toLocaleLowerCase(), h = new FileReader();
962
962
  g == "dxf" ? h.readAsText(c) : g == "dwg" && h.readAsArrayBuffer(c), h.onload = (_) => {
963
963
  var S;
964
964
  const y = (S = _.target) == null ? void 0 : S.result;
@@ -968,16 +968,16 @@ const Et = /* @__PURE__ */ L({
968
968
  };
969
969
  }
970
970
  };
971
- return (s, r) => (u(), w("input", {
971
+ return (r, s) => (u(), w("input", {
972
972
  type: "file",
973
973
  ref_key: "fileInput",
974
974
  ref: i,
975
975
  accept: o.value,
976
976
  style: { display: "none" },
977
977
  onChange: a
978
- }, null, 40, $t));
978
+ }, null, 40, Et));
979
979
  }
980
- }), At = /* @__PURE__ */ L({
980
+ }), $t = /* @__PURE__ */ L({
981
981
  __name: "MlToggleButton",
982
982
  props: /* @__PURE__ */ Z({
983
983
  size: { default: 30 },
@@ -991,30 +991,30 @@ const Et = /* @__PURE__ */ L({
991
991
  Ce((c) => ({
992
992
  a97b120a: a.value
993
993
  }));
994
- const n = t, i = fe(t, "modelValue"), l = e, o = k(() => i.value ? n.data.onIcon : n.data.offIcon), a = k(() => n.size + "px"), s = k(() => i.value ? n.data.onTooltip : n.data.offTooltip), r = () => {
994
+ const n = t, i = ge(t, "modelValue"), l = e, o = k(() => i.value ? n.data.onIcon : n.data.offIcon), a = k(() => n.size + "px"), r = k(() => i.value ? n.data.onTooltip : n.data.offTooltip), s = () => {
995
995
  l("click", i.value);
996
996
  };
997
997
  return (c, f) => {
998
- const b = M("el-button"), g = M("el-tooltip");
998
+ const x = M("el-button"), g = M("el-tooltip");
999
999
  return u(), C(g, {
1000
- content: s.value,
1000
+ content: r.value,
1001
1001
  "hide-after": 0
1002
1002
  }, {
1003
1003
  default: p(() => [
1004
- v(b, {
1004
+ v(x, {
1005
1005
  class: "ml-toggle-button",
1006
1006
  icon: o.value,
1007
- onClick: r
1007
+ onClick: s
1008
1008
  }, null, 8, ["icon"])
1009
1009
  ]),
1010
1010
  _: 1
1011
1011
  }, 8, ["content"]);
1012
1012
  };
1013
1013
  }
1014
- }), Ie = /* @__PURE__ */ H(At, [["__scopeId", "data-v-48d6b055"]]), It = /* @__PURE__ */ L({
1014
+ }), Ae = /* @__PURE__ */ H($t, [["__scopeId", "data-v-48d6b055"]]), At = /* @__PURE__ */ L({
1015
1015
  __name: "MlReplacementDlg",
1016
1016
  setup(t) {
1017
- const { t: e } = R(), { fonts: n, images: i } = Ae(), l = x(!0), o = k(() => n.size > 0 ? "font" : "image"), a = x(null), s = k(() => B.instance.avaiableFonts.map((h) => h.name[0])), r = () => {
1017
+ const { t: e } = R(), { fonts: n, images: i } = $e(), l = b(!0), o = k(() => n.size > 0 ? "font" : "image"), a = b(null), r = k(() => B.instance.avaiableFonts.map((h) => h.name[0])), s = () => {
1018
1018
  const g = B.instance.curDocument.database;
1019
1019
  i.forEach((_) => {
1020
1020
  _.file && _.ids.forEach((y) => {
@@ -1036,17 +1036,17 @@ const Et = /* @__PURE__ */ L({
1036
1036
  var _, y;
1037
1037
  const h = (y = (_ = a.value) == null ? void 0 : _.files) == null ? void 0 : y[0];
1038
1038
  h && (g.file = h);
1039
- }, b = (g, h) => {
1039
+ }, x = (g, h) => {
1040
1040
  n.set(g, h);
1041
1041
  };
1042
1042
  return (g, h) => {
1043
- const _ = M("el-col"), y = M("el-row"), S = M("el-option"), $ = M("el-select"), F = M("el-tab-pane"), V = M("el-table-column"), T = M("el-button"), G = M("el-table"), P = M("el-tabs");
1044
- return u(), C($e, {
1043
+ const _ = M("el-col"), y = M("el-row"), S = M("el-option"), V = M("el-select"), F = M("el-tab-pane"), $ = M("el-table-column"), T = M("el-button"), G = M("el-table"), P = M("el-tabs");
1044
+ return u(), C(Ee, {
1045
1045
  title: m(e)("dialog.replacementDlg.title"),
1046
1046
  modelValue: l.value,
1047
1047
  "onUpdate:modelValue": h[1] || (h[1] = (z) => l.value = z),
1048
1048
  name: "ReplacementDlg",
1049
- onOk: r
1049
+ onOk: s
1050
1050
  }, {
1051
1051
  default: p(() => [
1052
1052
  v(P, {
@@ -1092,14 +1092,14 @@ const Et = /* @__PURE__ */ L({
1092
1092
  }, 1024),
1093
1093
  v(_, { span: 12 }, {
1094
1094
  default: p(() => [
1095
- v($, {
1095
+ v(V, {
1096
1096
  "model-value": A,
1097
1097
  placeholder: m(e)("dialog.replacementDlg.selectFont"),
1098
- "onUpdate:modelValue": (O) => b(z, O),
1098
+ "onUpdate:modelValue": (O) => x(z, O),
1099
1099
  style: { width: "100%" }
1100
1100
  }, {
1101
1101
  default: p(() => [
1102
- (u(!0), w(K, null, X(s.value, (O, de) => (u(), C(S, {
1102
+ (u(!0), w(K, null, X(r.value, (O, de) => (u(), C(S, {
1103
1103
  key: de,
1104
1104
  label: O,
1105
1105
  value: O
@@ -1129,13 +1129,13 @@ const Et = /* @__PURE__ */ L({
1129
1129
  "v-show": !1
1130
1130
  }, {
1131
1131
  default: p(() => [
1132
- v(V, {
1132
+ v($, {
1133
1133
  label: m(e)("dialog.replacementDlg.file"),
1134
1134
  prop: "fileName",
1135
1135
  "min-width": 0,
1136
1136
  flex: 1
1137
1137
  }, null, 8, ["label"]),
1138
- v(V, {
1138
+ v($, {
1139
1139
  label: m(e)("dialog.replacementDlg.replace"),
1140
1140
  fixed: "right",
1141
1141
  width: "60"
@@ -1178,28 +1178,28 @@ const Et = /* @__PURE__ */ L({
1178
1178
  }, 8, ["title", "modelValue"]);
1179
1179
  };
1180
1180
  }
1181
- }), Ft = {
1181
+ }), It = {
1182
1182
  xmlns: "http://www.w3.org/2000/svg",
1183
1183
  width: "1em",
1184
1184
  height: "1em",
1185
1185
  viewBox: "0 0 15 15"
1186
1186
  };
1187
- function Pt(t, e) {
1188
- return u(), w("svg", Ft, e[0] || (e[0] = [
1187
+ function Ft(t, e) {
1188
+ return u(), w("svg", It, e[0] || (e[0] = [
1189
1189
  d("path", {
1190
1190
  fill: "currentColor",
1191
1191
  d: "M1.417 11.667h1.916v.833H0V9.167h.833v1.916l2.5-2.5.584.584zm9.666 0-2.5-2.5.584-.584 2.5 2.5V9.167h.833V12.5H9.167v-.833zM1.417.833l2.5 2.5-.584.584-2.5-2.5v1.916H0V0h3.333v.833zm9.666 0H9.167V0H12.5v3.333h-.833V1.417l-2.5 2.5-.584-.584z"
1192
1192
  }, null, -1)
1193
1193
  ]));
1194
1194
  }
1195
- const be = { render: Pt }, Rt = {
1195
+ const be = { render: Ft }, Pt = {
1196
1196
  xmlns: "http://www.w3.org/2000/svg",
1197
1197
  width: "1em",
1198
1198
  height: "1em",
1199
1199
  viewBox: "0 0 512 512"
1200
1200
  };
1201
- function Ot(t, e) {
1202
- return u(), w("svg", Rt, e[0] || (e[0] = [
1201
+ function Rt(t, e) {
1202
+ return u(), w("svg", Pt, e[0] || (e[0] = [
1203
1203
  d("path", {
1204
1204
  fill: "none",
1205
1205
  stroke: "currentColor",
@@ -1218,24 +1218,24 @@ function Ot(t, e) {
1218
1218
  }, null, -1)
1219
1219
  ]));
1220
1220
  }
1221
- const Nt = { render: Ot }, Ht = {
1221
+ const Ot = { render: Rt }, Nt = {
1222
1222
  xmlns: "http://www.w3.org/2000/svg",
1223
1223
  width: "1em",
1224
1224
  height: "1em",
1225
1225
  viewBox: "0 0 20 20"
1226
1226
  };
1227
- function Gt(t, e) {
1228
- return u(), w("svg", Ht, e[0] || (e[0] = [
1227
+ function Ht(t, e) {
1228
+ return u(), w("svg", Nt, e[0] || (e[0] = [
1229
1229
  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)
1230
1230
  ]));
1231
1231
  }
1232
- const Wt = { render: Gt }, qt = {
1232
+ const Gt = { render: Ht }, qt = {
1233
1233
  xmlns: "http://www.w3.org/2000/svg",
1234
1234
  width: "1em",
1235
1235
  height: "1em",
1236
1236
  viewBox: "0 0 20 20"
1237
1237
  };
1238
- function Ut(t, e) {
1238
+ function Wt(t, e) {
1239
1239
  return u(), w("svg", qt, e[0] || (e[0] = [
1240
1240
  d("path", {
1241
1241
  fill: "currentColor",
@@ -1243,323 +1243,323 @@ function Ut(t, e) {
1243
1243
  }, null, -1)
1244
1244
  ]));
1245
1245
  }
1246
- const jt = { render: Ut }, Yt = {
1246
+ const Ut = { render: Wt }, jt = {
1247
1247
  xmlns: "http://www.w3.org/2000/svg",
1248
1248
  width: "1em",
1249
1249
  height: "1em",
1250
1250
  viewBox: "0 0 20 20"
1251
1251
  };
1252
- function Kt(t, e) {
1253
- return u(), w("svg", Yt, e[0] || (e[0] = [
1252
+ function Yt(t, e) {
1253
+ return u(), w("svg", jt, e[0] || (e[0] = [
1254
1254
  d("path", {
1255
1255
  fill: "currentColor",
1256
1256
  d: "M15.083 14.808a7 7 0 0 0 1.909-4.825 7.001 7.001 0 1 0-2.167 5.083c.092-.083.175-.174.258-.258m1.259.592 2.575 2.575-.942.942-2.575-2.575a8.334 8.334 0 0 1-11.525-.692 8.326 8.326 0 0 1 .233-11.542C7.267.942 12.367.842 15.65 3.875s3.592 8.117.692 11.525m-3.55-2.608V7.208H7.208v5.584zM5.875 5.875h8.25v8.25h-8.25z"
1257
1257
  }, null, -1)
1258
1258
  ]));
1259
1259
  }
1260
- const Xt = { render: Kt }, Qt = {
1260
+ const Kt = { render: Yt }, Xt = {
1261
1261
  xmlns: "http://www.w3.org/2000/svg",
1262
1262
  width: "1em",
1263
1263
  height: "1em",
1264
1264
  viewBox: "0 0 20 20"
1265
1265
  };
1266
- function Zt(t, e) {
1267
- return u(), w("svg", Qt, e[0] || (e[0] = [
1266
+ function Qt(t, e) {
1267
+ return u(), w("svg", Xt, e[0] || (e[0] = [
1268
1268
  d("path", {
1269
1269
  fill: "currentColor",
1270
1270
  d: "m9.333 14.125-3.458-3.458v3.458zm4.792-3.458-3.458 3.458h3.458zm-3.458-4.792 3.458 3.458V5.875zM5.875 9.333l3.458-3.458H5.875zm9.208 5.475a7 7 0 0 0 1.909-4.825 7.001 7.001 0 1 0-2.167 5.083c.092-.083.175-.174.258-.258m1.259.592 2.575 2.575-.942.942-2.575-2.575c-3.408 2.9-8.492 2.591-11.525-.692S.942 7.275 4.108 4.108C7.267.942 12.367.842 15.65 3.875s3.592 8.117.692 11.525"
1271
1271
  }, null, -1)
1272
1272
  ]));
1273
1273
  }
1274
- const Jt = { render: Zt }, en = {
1274
+ const Zt = { render: Qt }, Jt = {
1275
1275
  xmlns: "http://www.w3.org/2000/svg",
1276
1276
  width: "1em",
1277
1277
  height: "1em",
1278
1278
  viewBox: "0 0 20 20"
1279
1279
  };
1280
- function tn(t, e) {
1281
- return u(), w("svg", en, e[0] || (e[0] = [
1280
+ function en(t, e) {
1281
+ return u(), w("svg", Jt, e[0] || (e[0] = [
1282
1282
  d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
1283
1283
  ]));
1284
1284
  }
1285
- const nn = { render: tn }, on = {
1285
+ const tn = { render: en }, nn = {
1286
1286
  xmlns: "http://www.w3.org/2000/svg",
1287
1287
  width: "1em",
1288
1288
  height: "1em",
1289
1289
  viewBox: "0 0 20 20"
1290
1290
  };
1291
- function ln(t, e) {
1292
- return u(), w("svg", on);
1291
+ function on(t, e) {
1292
+ return u(), w("svg", nn);
1293
1293
  }
1294
- const an = { render: ln }, rn = {
1294
+ const ln = { render: on }, an = {
1295
1295
  xmlns: "http://www.w3.org/2000/svg",
1296
1296
  width: "1em",
1297
1297
  height: "1em",
1298
1298
  viewBox: "0 0 20 20"
1299
1299
  };
1300
- function sn(t, e) {
1301
- return u(), w("svg", rn, e[0] || (e[0] = [
1300
+ function rn(t, e) {
1301
+ return u(), w("svg", an, e[0] || (e[0] = [
1302
1302
  d("path", { d: "M2 9.5h16v1H2z" }, null, -1),
1303
1303
  d("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
1304
1304
  ]));
1305
1305
  }
1306
- const cn = { render: sn }, un = {
1306
+ const sn = { render: rn }, cn = {
1307
1307
  xmlns: "http://www.w3.org/2000/svg",
1308
1308
  width: "1em",
1309
1309
  height: "1em",
1310
1310
  viewBox: "0 0 20 20"
1311
1311
  };
1312
- function dn(t, e) {
1313
- return u(), w("svg", un, e[0] || (e[0] = [
1312
+ function un(t, e) {
1313
+ return u(), w("svg", cn, e[0] || (e[0] = [
1314
1314
  d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1315
1315
  d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1316
1316
  ]));
1317
1317
  }
1318
- const mn = { render: dn }, pn = {
1318
+ const dn = { render: un }, mn = {
1319
1319
  xmlns: "http://www.w3.org/2000/svg",
1320
1320
  width: "1em",
1321
1321
  height: "1em",
1322
1322
  viewBox: "0 0 20 20"
1323
1323
  };
1324
- function vn(t, e) {
1325
- return u(), w("svg", pn, e[0] || (e[0] = [
1324
+ function pn(t, e) {
1325
+ return u(), w("svg", mn, e[0] || (e[0] = [
1326
1326
  d("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
1327
1327
  ]));
1328
1328
  }
1329
- const gn = { render: vn }, fn = {
1329
+ const vn = { render: pn }, gn = {
1330
1330
  xmlns: "http://www.w3.org/2000/svg",
1331
1331
  width: "1em",
1332
1332
  height: "1em",
1333
1333
  viewBox: "0 0 20 20"
1334
1334
  };
1335
- function hn(t, e) {
1336
- return u(), w("svg", fn, e[0] || (e[0] = [
1335
+ function fn(t, e) {
1336
+ return u(), w("svg", gn, e[0] || (e[0] = [
1337
1337
  d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1338
1338
  d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1339
1339
  ]));
1340
1340
  }
1341
- const _n = { render: hn }, wn = {
1341
+ const hn = { render: fn }, _n = {
1342
1342
  xmlns: "http://www.w3.org/2000/svg",
1343
1343
  width: "1em",
1344
1344
  height: "1em",
1345
1345
  viewBox: "0 0 20 20"
1346
1346
  };
1347
- function yn(t, e) {
1348
- return u(), w("svg", wn, e[0] || (e[0] = [
1347
+ function wn(t, e) {
1348
+ return u(), w("svg", _n, e[0] || (e[0] = [
1349
1349
  d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1350
1350
  ]));
1351
1351
  }
1352
- const bn = { render: yn }, xn = {
1352
+ const yn = { render: wn }, bn = {
1353
1353
  xmlns: "http://www.w3.org/2000/svg",
1354
1354
  width: "1em",
1355
1355
  height: "1em",
1356
1356
  viewBox: "0 0 20 20"
1357
1357
  };
1358
- function kn(t, e) {
1359
- return u(), w("svg", xn, e[0] || (e[0] = [
1358
+ function xn(t, e) {
1359
+ return u(), w("svg", bn, e[0] || (e[0] = [
1360
1360
  d("path", { d: "M3 9.5h14v1H3z" }, null, -1),
1361
1361
  d("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
1362
1362
  d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1363
1363
  ]));
1364
1364
  }
1365
- const Mn = { render: kn }, Sn = {
1365
+ const kn = { render: xn }, Mn = {
1366
1366
  xmlns: "http://www.w3.org/2000/svg",
1367
1367
  width: "1em",
1368
1368
  height: "1em",
1369
1369
  viewBox: "0 0 20 20"
1370
1370
  };
1371
- function Cn(t, e) {
1372
- return u(), w("svg", Sn, e[0] || (e[0] = [
1371
+ function Sn(t, e) {
1372
+ return u(), w("svg", Mn, e[0] || (e[0] = [
1373
1373
  d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1374
1374
  d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1375
1375
  d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1376
1376
  ]));
1377
1377
  }
1378
- const Ln = { render: Cn }, zn = {
1378
+ const Cn = { render: Sn }, Ln = {
1379
1379
  xmlns: "http://www.w3.org/2000/svg",
1380
1380
  width: "1em",
1381
1381
  height: "1em",
1382
1382
  viewBox: "0 0 20 20"
1383
1383
  };
1384
- function Dn(t, e) {
1385
- return u(), w("svg", zn, e[0] || (e[0] = [
1384
+ function zn(t, e) {
1385
+ return u(), w("svg", Ln, e[0] || (e[0] = [
1386
1386
  d("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1387
1387
  d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1388
1388
  ]));
1389
1389
  }
1390
- const Bn = { render: Dn }, Tn = {
1390
+ const Dn = { render: zn }, Bn = {
1391
1391
  xmlns: "http://www.w3.org/2000/svg",
1392
1392
  width: "1em",
1393
1393
  height: "1em",
1394
1394
  viewBox: "0 0 20 20"
1395
1395
  };
1396
- function En(t, e) {
1397
- return u(), w("svg", Tn, e[0] || (e[0] = [
1396
+ function Tn(t, e) {
1397
+ return u(), w("svg", Bn, e[0] || (e[0] = [
1398
1398
  d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1399
1399
  d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1400
1400
  ]));
1401
1401
  }
1402
- const $n = { render: En }, Vn = {
1402
+ const En = { render: Tn }, Vn = {
1403
1403
  xmlns: "http://www.w3.org/2000/svg",
1404
1404
  width: "1em",
1405
1405
  height: "1em",
1406
1406
  viewBox: "0 0 20 20"
1407
1407
  };
1408
- function An(t, e) {
1408
+ function $n(t, e) {
1409
1409
  return u(), w("svg", Vn, e[0] || (e[0] = [
1410
1410
  d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1411
1411
  ]));
1412
1412
  }
1413
- const In = { render: An }, Fn = {
1413
+ const An = { render: $n }, In = {
1414
1414
  xmlns: "http://www.w3.org/2000/svg",
1415
1415
  width: "1em",
1416
1416
  height: "1em",
1417
1417
  viewBox: "0 0 20 20"
1418
1418
  };
1419
- function Pn(t, e) {
1420
- return u(), w("svg", Fn, e[0] || (e[0] = [
1419
+ function Fn(t, e) {
1420
+ return u(), w("svg", In, e[0] || (e[0] = [
1421
1421
  d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1422
1422
  d("path", { d: "M3 9.58h14v1H3z" }, null, -1),
1423
1423
  d("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
1424
1424
  ]));
1425
1425
  }
1426
- const Rn = { render: Pn }, On = {
1426
+ const Pn = { render: Fn }, Rn = {
1427
1427
  xmlns: "http://www.w3.org/2000/svg",
1428
1428
  width: "1em",
1429
1429
  height: "1em",
1430
1430
  viewBox: "0 0 20 20"
1431
1431
  };
1432
- function Nn(t, e) {
1433
- return u(), w("svg", On, e[0] || (e[0] = [
1432
+ function On(t, e) {
1433
+ return u(), w("svg", Rn, e[0] || (e[0] = [
1434
1434
  d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1435
1435
  d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1436
1436
  d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1437
1437
  ]));
1438
1438
  }
1439
- const Hn = { render: Nn }, Gn = {
1439
+ const Nn = { render: On }, Hn = {
1440
1440
  xmlns: "http://www.w3.org/2000/svg",
1441
1441
  width: "1em",
1442
1442
  height: "1em",
1443
1443
  viewBox: "0 0 20 20"
1444
1444
  };
1445
- function Wn(t, e) {
1446
- return u(), w("svg", Gn, e[0] || (e[0] = [
1445
+ function Gn(t, e) {
1446
+ return u(), w("svg", Hn, e[0] || (e[0] = [
1447
1447
  d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1448
1448
  d("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
1449
1449
  ]));
1450
1450
  }
1451
- const qn = { render: Wn }, Un = {
1451
+ const qn = { render: Gn }, Wn = {
1452
1452
  xmlns: "http://www.w3.org/2000/svg",
1453
1453
  width: "1em",
1454
1454
  height: "1em",
1455
1455
  viewBox: "0 0 20 20"
1456
1456
  };
1457
- function jn(t, e) {
1458
- return u(), w("svg", Un, e[0] || (e[0] = [
1457
+ function Un(t, e) {
1458
+ return u(), w("svg", Wn, e[0] || (e[0] = [
1459
1459
  d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1460
1460
  d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1461
1461
  d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1462
1462
  ]));
1463
1463
  }
1464
- const Yn = { render: jn }, Kn = {
1464
+ const jn = { render: Un }, Yn = {
1465
1465
  xmlns: "http://www.w3.org/2000/svg",
1466
1466
  width: "1em",
1467
1467
  height: "1em",
1468
1468
  viewBox: "0 0 20 20"
1469
1469
  };
1470
- function Xn(t, e) {
1471
- return u(), w("svg", Kn, e[0] || (e[0] = [
1470
+ function Kn(t, e) {
1471
+ return u(), w("svg", Yn, e[0] || (e[0] = [
1472
1472
  d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1473
1473
  d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1474
1474
  ]));
1475
1475
  }
1476
- const Qn = { render: Xn }, Zn = {
1476
+ const Xn = { render: Kn }, Qn = {
1477
1477
  xmlns: "http://www.w3.org/2000/svg",
1478
1478
  width: "1em",
1479
1479
  height: "1em",
1480
1480
  viewBox: "0 0 20 20"
1481
1481
  };
1482
- function Jn(t, e) {
1483
- return u(), w("svg", Zn, e[0] || (e[0] = [
1482
+ function Zn(t, e) {
1483
+ return u(), w("svg", Qn, e[0] || (e[0] = [
1484
1484
  d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1485
1485
  d("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
1486
1486
  d("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
1487
1487
  d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1488
1488
  ]));
1489
1489
  }
1490
- const eo = { render: Jn }, to = {
1490
+ const Jn = { render: Zn }, eo = {
1491
1491
  xmlns: "http://www.w3.org/2000/svg",
1492
1492
  width: "1em",
1493
1493
  height: "1em",
1494
1494
  viewBox: "0 0 20 20"
1495
1495
  };
1496
- function no(t, e) {
1497
- return u(), w("svg", to, e[0] || (e[0] = [
1496
+ function to(t, e) {
1497
+ return u(), w("svg", eo, e[0] || (e[0] = [
1498
1498
  d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1499
1499
  d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1500
1500
  d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1501
1501
  d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1502
1502
  ]));
1503
1503
  }
1504
- const oo = { render: no }, lo = {
1504
+ const no = { render: to }, oo = {
1505
1505
  xmlns: "http://www.w3.org/2000/svg",
1506
1506
  width: "1em",
1507
1507
  height: "1em",
1508
1508
  viewBox: "0 0 20 20"
1509
1509
  };
1510
- function ao(t, e) {
1511
- return u(), w("svg", lo, e[0] || (e[0] = [
1510
+ function lo(t, e) {
1511
+ return u(), w("svg", oo, e[0] || (e[0] = [
1512
1512
  d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1513
1513
  d("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1514
1514
  d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1515
1515
  ]));
1516
1516
  }
1517
- const io = { render: ao }, ro = /* @__PURE__ */ L({
1517
+ const ao = { render: lo }, io = /* @__PURE__ */ L({
1518
1518
  __name: "MlPointStyleDlg",
1519
1519
  setup(t) {
1520
- const { t: e } = R(), n = Tt(B.instance), i = x(!0), l = x(0), o = [
1520
+ const { t: e } = R(), n = Bt(B.instance), i = b(!0), l = b(0), o = [
1521
1521
  [
1522
- { id: 0, icon: nn },
1523
- { id: 1, icon: an },
1524
- { id: 2, icon: cn },
1525
- { id: 3, icon: mn },
1526
- { id: 4, icon: gn }
1522
+ { id: 0, icon: tn },
1523
+ { id: 1, icon: ln },
1524
+ { id: 2, icon: sn },
1525
+ { id: 3, icon: dn },
1526
+ { id: 4, icon: vn }
1527
1527
  ],
1528
1528
  [
1529
- { id: 32, icon: _n },
1530
- { id: 33, icon: bn },
1531
- { id: 34, icon: Mn },
1532
- { id: 35, icon: Ln },
1533
- { id: 36, icon: Bn }
1529
+ { id: 32, icon: hn },
1530
+ { id: 33, icon: yn },
1531
+ { id: 34, icon: kn },
1532
+ { id: 35, icon: Cn },
1533
+ { id: 36, icon: Dn }
1534
1534
  ],
1535
1535
  [
1536
- { id: 64, icon: $n },
1537
- { id: 65, icon: In },
1538
- { id: 66, icon: Rn },
1539
- { id: 67, icon: Hn },
1536
+ { id: 64, icon: En },
1537
+ { id: 65, icon: An },
1538
+ { id: 66, icon: Pn },
1539
+ { id: 67, icon: Nn },
1540
1540
  { id: 68, icon: qn }
1541
1541
  ],
1542
1542
  [
1543
- { id: 96, icon: Yn },
1544
- { id: 97, icon: Qn },
1545
- { id: 98, icon: eo },
1546
- { id: 99, icon: oo },
1547
- { id: 100, icon: io }
1543
+ { id: 96, icon: jn },
1544
+ { id: 97, icon: Xn },
1545
+ { id: 98, icon: Jn },
1546
+ { id: 99, icon: no },
1547
+ { id: 100, icon: ao }
1548
1548
  ]
1549
1549
  ], a = () => {
1550
1550
  n.pdmode && (l.value = n.pdmode);
1551
1551
  };
1552
1552
  a();
1553
- const s = (b, g) => o[b][g].id == l.value ? "primary" : null, r = (b, g) => {
1554
- l.value = o[b][g].id;
1553
+ const r = (x, g) => o[x][g].id == l.value ? "primary" : null, s = (x, g) => {
1554
+ l.value = o[x][g].id;
1555
1555
  }, c = () => {
1556
1556
  B.instance.curDocument.database.pdmode = l.value;
1557
1557
  }, f = () => {
1558
1558
  a();
1559
1559
  };
1560
- return (b, g) => {
1560
+ return (x, g) => {
1561
1561
  const h = M("el-button"), _ = M("el-col"), y = M("el-row");
1562
- return u(), C($e, {
1562
+ return u(), C(Ee, {
1563
1563
  title: m(e)("dialog.pointStyleDlg.title"),
1564
1564
  width: 400,
1565
1565
  modelValue: i.value,
@@ -1569,22 +1569,22 @@ const io = { render: ao }, ro = /* @__PURE__ */ L({
1569
1569
  onCancel: f
1570
1570
  }, {
1571
1571
  default: p(() => [
1572
- (u(), w(K, null, X(o, (S, $) => v(y, {
1573
- key: $,
1572
+ (u(), w(K, null, X(o, (S, V) => v(y, {
1573
+ key: V,
1574
1574
  style: { "margin-top": "10px" },
1575
1575
  gutter: 6,
1576
1576
  justify: "space-between"
1577
1577
  }, {
1578
1578
  default: p(() => [
1579
- (u(!0), w(K, null, X(S, (F, V) => (u(), C(_, {
1580
- key: V,
1579
+ (u(!0), w(K, null, X(S, (F, $) => (u(), C(_, {
1580
+ key: $,
1581
1581
  span: 4
1582
1582
  }, {
1583
1583
  default: p(() => [
1584
1584
  v(h, {
1585
1585
  icon: F.icon,
1586
- type: s($, V),
1587
- onClick: (T) => r($, V),
1586
+ type: r(V, $),
1587
+ onClick: (T) => s(V, $),
1588
1588
  style: { "font-size": "25px" }
1589
1589
  }, null, 8, ["icon", "type", "onClick"])
1590
1590
  ]),
@@ -1609,35 +1609,35 @@ const io = { render: ao }, ro = /* @__PURE__ */ L({
1609
1609
  console.error("vite-plugin-css-injected-by-js", e);
1610
1610
  }
1611
1611
  })();
1612
- const so = {
1612
+ const ro = {
1613
1613
  xmlns: "http://www.w3.org/2000/svg",
1614
1614
  width: "1em",
1615
1615
  height: "1em",
1616
1616
  viewBox: "0 0 1024 1024"
1617
- }, co = /* @__PURE__ */ d("path", {
1617
+ }, so = /* @__PURE__ */ d("path", {
1618
1618
  fill: "currentColor",
1619
1619
  d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"
1620
- }, null, -1), uo = [
1621
- co
1620
+ }, null, -1), co = [
1621
+ so
1622
1622
  ];
1623
- function mo(t, e) {
1624
- return u(), w("svg", so, [...uo]);
1623
+ function uo(t, e) {
1624
+ return u(), w("svg", ro, [...co]);
1625
1625
  }
1626
- const xe = { render: mo }, po = {
1626
+ const xe = { render: uo }, mo = {
1627
1627
  xmlns: "http://www.w3.org/2000/svg",
1628
1628
  width: "1em",
1629
1629
  height: "1em",
1630
1630
  viewBox: "0 0 1024 1024"
1631
- }, vo = /* @__PURE__ */ d("path", {
1631
+ }, po = /* @__PURE__ */ d("path", {
1632
1632
  fill: "currentColor",
1633
1633
  d: "M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
1634
- }, null, -1), go = [
1635
- vo
1634
+ }, null, -1), vo = [
1635
+ po
1636
1636
  ];
1637
- function fo(t, e) {
1638
- return u(), w("svg", po, [...go]);
1637
+ function go(t, e) {
1638
+ return u(), w("svg", mo, [...vo]);
1639
1639
  }
1640
- const ke = { render: fo }, ho = /* @__PURE__ */ L({
1640
+ const ke = { render: go }, fo = /* @__PURE__ */ L({
1641
1641
  __name: "MlCollapse",
1642
1642
  props: /* @__PURE__ */ Z({
1643
1643
  size: { default: 18 },
@@ -1648,23 +1648,23 @@ const ke = { render: fo }, ho = /* @__PURE__ */ L({
1648
1648
  }),
1649
1649
  emits: /* @__PURE__ */ Z(["change"], ["update:modelValue"]),
1650
1650
  setup(t, { emit: e }) {
1651
- const n = t, i = fe(t, "modelValue"), l = e, o = k(() => n.reverse ? i.value ? xe : ke : i.value ? ke : xe), a = k(() => `${n.size}px`), s = () => {
1651
+ const n = t, i = ge(t, "modelValue"), l = e, o = k(() => n.reverse ? i.value ? xe : ke : i.value ? ke : xe), a = k(() => `${n.size}px`), r = () => {
1652
1652
  l("change", i.value), i.value = !i.value;
1653
1653
  };
1654
- return (r, c) => {
1654
+ return (s, c) => {
1655
1655
  const f = se;
1656
1656
  return u(), C(f, {
1657
1657
  size: a.value,
1658
- onClick: s
1658
+ onClick: r
1659
1659
  }, {
1660
1660
  default: p(() => [
1661
- (u(), C(ge(o.value)))
1661
+ (u(), C(ve(o.value)))
1662
1662
  ]),
1663
1663
  _: 1
1664
1664
  }, 8, ["size"]);
1665
1665
  };
1666
1666
  }
1667
- }), _o = (t) => (ze("data-v-3fc33b5d"), t = t(), De(), t), wo = /* @__PURE__ */ _o(() => /* @__PURE__ */ d("svg", {
1667
+ }), ho = (t) => (ze("data-v-3fc33b5d"), t = t(), De(), t), _o = /* @__PURE__ */ ho(() => /* @__PURE__ */ d("svg", {
1668
1668
  preserveAspectRatio: "xMidYMid meet",
1669
1669
  viewBox: "0 0 24 24",
1670
1670
  width: "1.2em",
@@ -1675,7 +1675,7 @@ const ke = { render: fo }, ho = /* @__PURE__ */ L({
1675
1675
  fill: "currentColor",
1676
1676
  d: "m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"
1677
1677
  })
1678
- ], -1)), yo = /* @__PURE__ */ L({
1678
+ ], -1)), wo = /* @__PURE__ */ L({
1679
1679
  __name: "MlDropdown",
1680
1680
  props: {
1681
1681
  icon: {},
@@ -1689,9 +1689,9 @@ const ke = { render: fo }, ho = /* @__PURE__ */ L({
1689
1689
  const n = t, i = e, l = k(() => n.items.filter((a) => a.name !== n.current)), o = (a) => {
1690
1690
  i("click", a);
1691
1691
  };
1692
- return (a, s) => {
1693
- const r = se, c = lt, f = ot, b = nt;
1694
- return u(), C(b, { onCommand: o }, {
1692
+ return (a, r) => {
1693
+ const s = se, c = ot, f = nt, x = tt;
1694
+ return u(), C(x, { onCommand: o }, {
1695
1695
  dropdown: p(() => [
1696
1696
  v(f, null, {
1697
1697
  default: p(() => [
@@ -1709,12 +1709,12 @@ const ke = { render: fo }, ho = /* @__PURE__ */ L({
1709
1709
  })
1710
1710
  ]),
1711
1711
  default: p(() => [
1712
- v(r, {
1712
+ v(s, {
1713
1713
  size: "30",
1714
1714
  class: "ml-dropdown-icon"
1715
1715
  }, {
1716
1716
  default: p(() => [
1717
- wo
1717
+ _o
1718
1718
  ]),
1719
1719
  _: 1
1720
1720
  })
@@ -1728,7 +1728,7 @@ const ke = { render: fo }, ho = /* @__PURE__ */ L({
1728
1728
  for (const [i, l] of e)
1729
1729
  n[i] = l;
1730
1730
  return n;
1731
- }, bo = /* @__PURE__ */ ue(yo, [["__scopeId", "data-v-3fc33b5d"]]), xo = '<svg preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" width="1.2em" height="1.2em" data-v-63d067da=""><path fill="currentColor" d="m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"></path></svg>', ko = /* @__PURE__ */ L({
1731
+ }, yo = /* @__PURE__ */ ue(wo, [["__scopeId", "data-v-3fc33b5d"]]), bo = '<svg preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" width="1.2em" height="1.2em" data-v-63d067da=""><path fill="currentColor" d="m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"></path></svg>', xo = /* @__PURE__ */ L({
1732
1732
  __name: "MlLanguage",
1733
1733
  props: {
1734
1734
  languages: {},
@@ -1741,28 +1741,28 @@ const ke = { render: fo }, ho = /* @__PURE__ */ L({
1741
1741
  const n = t, i = e, l = (o) => {
1742
1742
  i("click", o);
1743
1743
  };
1744
- return (o, a) => (u(), C(bo, {
1745
- icon: xo,
1744
+ return (o, a) => (u(), C(yo, {
1745
+ icon: bo,
1746
1746
  items: n.languages,
1747
1747
  current: n.current,
1748
1748
  onClick: l
1749
1749
  }, null, 8, ["items", "current"]));
1750
1750
  }
1751
- }), Mo = {}, So = { class: "ml-status-bar" }, Co = { class: "ml-status-bar-left" }, Lo = { class: "ml-status-bar-right" };
1752
- function zo(t, e) {
1753
- return u(), w("div", So, [
1754
- d("div", Co, [
1751
+ }), ko = {}, Mo = { class: "ml-status-bar" }, So = { class: "ml-status-bar-left" }, Co = { class: "ml-status-bar-right" };
1752
+ function Lo(t, e) {
1753
+ return u(), w("div", Mo, [
1754
+ d("div", So, [
1755
1755
  ie(t.$slots, "left", {}, void 0, !0)
1756
1756
  ]),
1757
- d("div", Lo, [
1757
+ d("div", Co, [
1758
1758
  ie(t.$slots, "right", {}, void 0, !0)
1759
1759
  ])
1760
1760
  ]);
1761
1761
  }
1762
- const Do = /* @__PURE__ */ ue(Mo, [["render", zo], ["__scopeId", "data-v-d6a59cf0"]]), Bo = {
1762
+ const zo = /* @__PURE__ */ ue(ko, [["render", Lo], ["__scopeId", "data-v-d6a59cf0"]]), Do = {
1763
1763
  key: 0,
1764
1764
  class: "ml-toolbar-button-text"
1765
- }, To = /* @__PURE__ */ L({
1765
+ }, Bo = /* @__PURE__ */ L({
1766
1766
  __name: "MlToolBar",
1767
1767
  props: {
1768
1768
  items: {},
@@ -1781,36 +1781,36 @@ const Do = /* @__PURE__ */ ue(Mo, [["render", zo], ["__scopeId", "data-v-d6a59cf
1781
1781
  return 50;
1782
1782
  }
1783
1783
  return 70;
1784
- }), s = (f) => f.description ? f.description : f.text, r = k(() => n.size === "large"), c = (f) => {
1784
+ }), r = (f) => f.description ? f.description : f.text, s = k(() => n.size === "large"), c = (f) => {
1785
1785
  i("click", f);
1786
1786
  };
1787
- return (f, b) => {
1788
- const g = se, h = rt, _ = it, y = at;
1787
+ return (f, x) => {
1788
+ const g = se, h = it, _ = at, y = lt;
1789
1789
  return u(), C(y, {
1790
1790
  class: Le(l.value)
1791
1791
  }, {
1792
1792
  default: p(() => [
1793
- (u(!0), w(K, null, X(f.items, (S, $) => (u(), C(_, {
1793
+ (u(!0), w(K, null, X(f.items, (S, V) => (u(), C(_, {
1794
1794
  key: S.text,
1795
- content: s(S),
1795
+ content: r(S),
1796
1796
  "hide-after": 0
1797
1797
  }, {
1798
1798
  default: p(() => [
1799
1799
  (u(), C(h, {
1800
1800
  class: "ml-toolbar-button",
1801
1801
  style: pe({ width: a.value + "px", height: a.value + "px" }),
1802
- key: $,
1802
+ key: V,
1803
1803
  onClick: (F) => c(S.command)
1804
1804
  }, {
1805
1805
  default: p(() => [
1806
1806
  d("div", null, [
1807
1807
  v(g, { size: o.value }, {
1808
1808
  default: p(() => [
1809
- (u(), C(ge(S.icon)))
1809
+ (u(), C(ve(S.icon)))
1810
1810
  ]),
1811
1811
  _: 2
1812
1812
  }, 1032, ["size"]),
1813
- r.value ? (u(), w("div", Bo, D(S.text), 1)) : U("", !0)
1813
+ s.value ? (u(), w("div", Do, D(S.text), 1)) : U("", !0)
1814
1814
  ])
1815
1815
  ]),
1816
1816
  _: 2
@@ -1823,35 +1823,35 @@ const Do = /* @__PURE__ */ ue(Mo, [["render", zo], ["__scopeId", "data-v-d6a59cf
1823
1823
  }, 8, ["class"]);
1824
1824
  };
1825
1825
  }
1826
- }), Eo = /* @__PURE__ */ ue(To, [["__scopeId", "data-v-3eed2087"]]), Me = 20;
1827
- function $o(t, e, n) {
1828
- const i = x(!1), l = (r) => {
1826
+ }), To = /* @__PURE__ */ ue(Bo, [["__scopeId", "data-v-3eed2087"]]), Me = 20;
1827
+ function Eo(t, e, n) {
1828
+ const i = b(!1), l = (s) => {
1829
1829
  if (n.value && t.value) {
1830
- const c = t.value.getBoundingClientRect(), f = r.clientX < c.left || r.clientX > c.right || r.clientY < c.top || r.clientY > c.bottom;
1830
+ const c = t.value.getBoundingClientRect(), f = s.clientX < c.left || s.clientX > c.right || s.clientY < c.top || s.clientY > c.bottom;
1831
1831
  i.value = !f;
1832
1832
  }
1833
1833
  }, o = () => {
1834
1834
  n.value && (i.value = !0);
1835
1835
  }, a = () => {
1836
1836
  e.value && e.value.addEventListener("mousemove", o), t.value && t.value.addEventListener("mousemove", o);
1837
- }, s = () => {
1837
+ }, r = () => {
1838
1838
  e.value && e.value.removeEventListener("mousemove", o), t.value && t.value.removeEventListener("mousemove", o);
1839
1839
  };
1840
1840
  return N(() => {
1841
1841
  window.addEventListener("mousemove", l);
1842
1842
  }), ee(() => {
1843
1843
  window.removeEventListener("mousemove", l);
1844
- }), E(n, (r) => {
1845
- r && (i.value = !1);
1846
- }), E(t, (r) => {
1847
- r ? a() : s();
1844
+ }), E(n, (s) => {
1845
+ s && (i.value = !1);
1846
+ }), E(t, (s) => {
1847
+ s ? a() : r();
1848
1848
  }), { autoOpened: i };
1849
1849
  }
1850
1850
  function Vo(t, e, n) {
1851
- const i = x(!1), l = x(null), o = x(null), a = { x: 0, y: 0 }, s = k(() => l.value == null || o.value == null ? { x: 0, y: 0 } : {
1851
+ const i = b(!1), l = b(null), o = b(null), a = { x: 0, y: 0 }, r = k(() => l.value == null || o.value == null ? { x: 0, y: 0 } : {
1852
1852
  x: l.value.x - o.value.x,
1853
1853
  y: l.value.y - o.value.y
1854
- }), r = () => {
1854
+ }), s = () => {
1855
1855
  if (t.value) {
1856
1856
  const _ = t.value.getBoundingClientRect();
1857
1857
  o.value = {
@@ -1863,25 +1863,25 @@ function Vo(t, e, n) {
1863
1863
  };
1864
1864
  }
1865
1865
  }, c = () => {
1866
- t.value && t.value.addEventListener("mousedown", b);
1866
+ t.value && t.value.addEventListener("mousedown", x);
1867
1867
  }, f = () => {
1868
- t.value && t.value.removeEventListener("mousedown", b);
1869
- }, b = (_) => {
1868
+ t.value && t.value.removeEventListener("mousedown", x);
1869
+ }, x = (_) => {
1870
1870
  if (t.value != null) {
1871
1871
  if (e && e.value) {
1872
1872
  const y = e.value.getBoundingClientRect();
1873
1873
  if (_.clientX < y.left || _.clientX > y.right || _.clientY < y.top || _.clientY > y.bottom) return;
1874
1874
  }
1875
- i.value = !0, a.x = _.clientX, a.y = _.clientY, r(), document.addEventListener("mousemove", g), document.addEventListener("mouseup", h);
1875
+ i.value = !0, a.x = _.clientX, a.y = _.clientY, s(), document.addEventListener("mousemove", g), document.addEventListener("mouseup", h);
1876
1876
  }
1877
1877
  }, g = (_) => {
1878
1878
  if (i.value && o.value && l.value) {
1879
- const y = window.innerWidth, S = window.innerHeight, $ = t.value, F = $.getBoundingClientRect(), V = F.width, T = F.height, G = o.value.x + (_.clientX - a.x), P = o.value.y + (_.clientY - a.y);
1879
+ const y = window.innerWidth, S = window.innerHeight, V = t.value, F = V.getBoundingClientRect(), $ = F.width, T = F.height, G = o.value.x + (_.clientX - a.x), P = o.value.y + (_.clientY - a.y);
1880
1880
  l.value.x = Math.max(
1881
1881
  n ? n.value.offset.value.left : 0,
1882
1882
  G
1883
1883
  );
1884
- const z = y - V;
1884
+ const z = y - $;
1885
1885
  l.value.x = Math.min(
1886
1886
  n ? z - n.value.offset.value.right : z,
1887
1887
  l.value.x
@@ -1893,31 +1893,31 @@ function Vo(t, e, n) {
1893
1893
  l.value.y = Math.min(
1894
1894
  n ? A - n.value.offset.value.bottom : A,
1895
1895
  l.value.y
1896
- ), $.style.left = l.value.x + "px", $.style.top = l.value.y + "px";
1896
+ ), V.style.left = l.value.x + "px", V.style.top = l.value.y + "px";
1897
1897
  }
1898
1898
  }, h = () => {
1899
1899
  i.value = !1, document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", h);
1900
1900
  };
1901
1901
  return N(() => {
1902
- t.value && (r(), c());
1902
+ t.value && (s(), c());
1903
1903
  }), ee(() => {
1904
- t.value && t.value.removeEventListener("mousedown", b);
1904
+ t.value && t.value.removeEventListener("mousedown", x);
1905
1905
  }), E(t, (_) => {
1906
- _ ? (r(), c()) : f();
1906
+ _ ? (s(), c()) : f();
1907
1907
  }), {
1908
1908
  isDragging: i,
1909
- movement: s,
1909
+ movement: r,
1910
1910
  position: l
1911
1911
  };
1912
1912
  }
1913
- function Ao(t, e, n) {
1914
- const i = x(!1), l = x("left"), { isDragging: o, movement: a, position: s } = Vo(
1913
+ function $o(t, e, n) {
1914
+ const i = b(!1), l = b("left"), { isDragging: o, movement: a, position: r } = Vo(
1915
1915
  t,
1916
1916
  e,
1917
1917
  n
1918
1918
  );
1919
- return E(a, (r) => {
1920
- if (r && t.value) {
1919
+ return E(a, (s) => {
1920
+ if (s && t.value) {
1921
1921
  const c = t.value.getBoundingClientRect();
1922
1922
  c.left <= n.value.offset.value.left ? (l.value = "left", i.value = !0) : window.innerWidth - c.left - c.width <= n.value.offset.value.right ? (l.value = "right", i.value = !0) : i.value = !1;
1923
1923
  }
@@ -1926,36 +1926,36 @@ function Ao(t, e, n) {
1926
1926
  orientation: l,
1927
1927
  isDragging: o,
1928
1928
  movement: a,
1929
- position: s
1929
+ position: r
1930
1930
  };
1931
1931
  }
1932
- function Io(t, e, n, i) {
1933
- const l = x(null), o = x(null), a = x(null), s = x(null);
1934
- return E(t, (r, c) => {
1932
+ function Ao(t, e, n, i) {
1933
+ const l = b(null), o = b(null), a = b(null), r = b(null);
1934
+ return E(t, (s, c) => {
1935
1935
  l.value = c;
1936
- }), E(e, (r, c) => {
1936
+ }), E(e, (s, c) => {
1937
1937
  o.value = c;
1938
- }), E(n, (r, c) => {
1938
+ }), E(n, (s, c) => {
1939
1939
  a.value = c;
1940
- }), E(i, (r, c) => {
1941
- s.value = c;
1940
+ }), E(i, (s, c) => {
1941
+ r.value = c;
1942
1942
  }), {
1943
1943
  lastLeft: l,
1944
1944
  lastTop: o,
1945
1945
  lastWidth: a,
1946
- lastHeight: s
1946
+ lastHeight: r
1947
1947
  };
1948
1948
  }
1949
- function Fo(t, e, n, i) {
1950
- const l = x(t.value.width), o = x(t.value.left), a = k(() => t.value.width), s = k(() => t.value.left), r = k(() => n.value ? n.value.x : null);
1951
- return E([a, s], ([c, f]) => {
1949
+ function Io(t, e, n, i) {
1950
+ const l = b(t.value.width), o = b(t.value.left), a = k(() => t.value.width), r = k(() => t.value.left), s = k(() => n.value ? n.value.x : null);
1951
+ return E([a, r], ([c, f]) => {
1952
1952
  (l.value == null || o.value == null || e.value) && (l.value = c, o.value = f);
1953
- }), E(r, (c) => {
1953
+ }), E(s, (c) => {
1954
1954
  i.value && n.value && (o.value = c);
1955
1955
  }), { left: o, width: l };
1956
1956
  }
1957
- function Po(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
1958
- const n = x({});
1957
+ function Fo(t, e = b({ left: 0, right: 0, top: 0, bottom: 0 })) {
1958
+ const n = b({});
1959
1959
  let i = !1;
1960
1960
  const l = () => {
1961
1961
  if (!i && t.value) {
@@ -1972,19 +1972,19 @@ function Po(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
1972
1972
  initialRect: n
1973
1973
  };
1974
1974
  }
1975
- function Ro(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom: 0 }), l = { width: 20, height: 40 }) {
1976
- const { initialRect: o } = Po(t, i), a = x(!1);
1977
- let s = 0, r = 0, c = 0, f = 0, b = 0;
1978
- const g = 5, h = x(null), _ = (V) => {
1975
+ function Po(t, e = b(!1), n = b(!1), i = b({ left: 0, right: 0, top: 0, bottom: 0 }), l = { width: 20, height: 40 }) {
1976
+ const { initialRect: o } = Fo(t, i), a = b(!1);
1977
+ let r = 0, s = 0, c = 0, f = 0, x = 0;
1978
+ const g = 5, h = b(null), _ = ($) => {
1979
1979
  if (!(!t.value || e.value))
1980
1980
  if (a.value) {
1981
- const T = V.clientX - f, G = V.clientY - b;
1981
+ const T = $.clientX - f, G = $.clientY - x;
1982
1982
  if (h.value === "left" || h.value === "left-bottom-corner") {
1983
- const P = r - T;
1984
- P > l.width && (o.value.width = P, o.value.left = s + T, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
1983
+ const P = s - T;
1984
+ P > l.width && (o.value.width = P, o.value.left = r + T, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
1985
1985
  }
1986
1986
  if (h.value === "right" || h.value === "right-bottom-corner") {
1987
- const P = r + T;
1987
+ const P = s + T;
1988
1988
  P > l.width && (o.value.width = P, t.value.style.width = o.value.width + "px");
1989
1989
  }
1990
1990
  if (h.value === "bottom" || h.value === "left-bottom-corner" || h.value === "right-bottom-corner") {
@@ -1992,16 +1992,16 @@ function Ro(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom:
1992
1992
  P > l.height && (o.value.height = P, t.value.style.height = o.value.height + "px");
1993
1993
  }
1994
1994
  } else {
1995
- const T = t.value.getBoundingClientRect(), G = V.clientX - T.left, P = V.clientY - T.top, z = G <= g, A = G >= T.width - g, O = P >= T.height - g;
1995
+ const T = t.value.getBoundingClientRect(), G = $.clientX - T.left, P = $.clientY - T.top, z = G <= g, A = G >= T.width - g, O = P >= T.height - g;
1996
1996
  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);
1997
1997
  }
1998
- }, y = (V) => {
1998
+ }, y = ($) => {
1999
1999
  if (!t.value || !h.value) return;
2000
2000
  const T = t.value.getBoundingClientRect();
2001
- f = V.clientX, b = V.clientY, r = T.width, c = T.height, s = T.left, o.value.width = r, o.value.height = c, o.value.left = T.left, o.value.top = T.top, a.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", S);
2001
+ f = $.clientX, x = $.clientY, s = T.width, c = T.height, r = T.left, o.value.width = s, o.value.height = c, o.value.left = T.left, o.value.top = T.top, a.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", S);
2002
2002
  }, S = () => {
2003
2003
  a.value = !1, h.value = null, t.value && (t.value.style.cursor = ""), document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", S);
2004
- }, $ = () => {
2004
+ }, V = () => {
2005
2005
  t.value && (t.value.removeEventListener("mousedown", y), t.value.removeEventListener("mousemove", _)), document.removeEventListener("mouseup", S);
2006
2006
  }, F = () => {
2007
2007
  t.value && (t.value.addEventListener("mousedown", y), t.value.addEventListener("mousemove", _));
@@ -2009,62 +2009,62 @@ function Ro(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom:
2009
2009
  return N(() => {
2010
2010
  t.value && F();
2011
2011
  }), Be(() => {
2012
- $();
2013
- }), E(t, (V) => {
2014
- V ? F() : $();
2012
+ V();
2013
+ }), E(t, ($) => {
2014
+ $ ? F() : V();
2015
2015
  }), { rect: o, isResizing: a };
2016
2016
  }
2017
- function Oo(t, e, n, i) {
2017
+ function Ro(t, e, n, i) {
2018
2018
  const l = () => {
2019
2019
  if (t.value) {
2020
- const r = t.value;
2021
- e.value ? r.style.transition = "width 0.3s ease-out, left 0.3s ease-out" : r.style.transition = "width 0.3s ease";
2020
+ const s = t.value;
2021
+ e.value ? s.style.transition = "width 0.3s ease-out, left 0.3s ease-out" : s.style.transition = "width 0.3s ease";
2022
2022
  }
2023
2023
  }, o = () => {
2024
2024
  t.value && (t.value.style.transition = "");
2025
2025
  }, a = () => {
2026
2026
  t.value && t.value.removeEventListener("transitionend", o);
2027
- }, s = () => {
2027
+ }, r = () => {
2028
2028
  t.value && t.value.addEventListener("transitionend", o);
2029
2029
  };
2030
2030
  N(() => {
2031
2031
  t.value && t.value.addEventListener("transitionend", o);
2032
2032
  }), Be(() => {
2033
2033
  t.value && t.value.removeEventListener("transitionend", o);
2034
- }), E(t, (r) => {
2035
- r ? s() : a();
2034
+ }), E(t, (s) => {
2035
+ s ? r() : a();
2036
2036
  }), E(n, () => {
2037
2037
  l();
2038
2038
  }), E(i, () => {
2039
2039
  l();
2040
2040
  });
2041
2041
  }
2042
- function No(t, e, n, i) {
2043
- const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: s, movement: r, position: c, isDragging: f } = Ao(
2042
+ function Oo(t, e, n, i) {
2043
+ const l = b(window.innerWidth), o = b(window.innerHeight), { docked: a, orientation: r, movement: s, position: c, isDragging: f } = $o(
2044
2044
  t,
2045
2045
  e,
2046
2046
  i
2047
- ), b = k(() => s.value === "right"), { rect: g, isResizing: h } = Ro(
2047
+ ), x = k(() => r.value === "right"), { rect: g, isResizing: h } = Po(
2048
2048
  t,
2049
2049
  n,
2050
- b,
2050
+ x,
2051
2051
  i.value.offset
2052
- ), { width: _, left: y } = Fo(
2052
+ ), { width: _, left: y } = Io(
2053
2053
  g,
2054
2054
  h,
2055
2055
  c,
2056
2056
  f
2057
- ), { lastTop: S, lastHeight: $ } = Io(
2057
+ ), { lastTop: S, lastHeight: V } = Ao(
2058
2058
  k(() => g.value.left),
2059
2059
  k(() => g.value.top),
2060
2060
  k(() => g.value.width),
2061
2061
  k(() => g.value.height)
2062
- ), { autoOpened: F } = $o(t, e, n);
2063
- Oo(t, b, n, F);
2064
- const V = (z) => {
2062
+ ), { autoOpened: F } = Eo(t, e, n);
2063
+ Ro(t, x, n, F);
2064
+ const $ = (z) => {
2065
2065
  if (t.value) {
2066
2066
  const A = t.value.getBoundingClientRect(), O = A.left + z;
2067
- if (b.value) {
2067
+ if (x.value) {
2068
2068
  g.value.left = O;
2069
2069
  const de = window.innerWidth - A.width - A.left;
2070
2070
  A.left <= 0 && de >= 0 && z < 0 && (g.value.left = Math.max(0, O)), window.innerWidth - A.width <= 0 && (g.value.left = window.innerWidth - A.width);
@@ -2073,7 +2073,7 @@ function No(t, e, n, i) {
2073
2073
  }
2074
2074
  }, T = () => {
2075
2075
  const z = window.innerWidth - l.value;
2076
- l.value = window.innerWidth, o.value = window.innerHeight, V(z);
2076
+ l.value = window.innerWidth, o.value = window.innerHeight, $(z);
2077
2077
  };
2078
2078
  N(() => {
2079
2079
  window.addEventListener("resize", T);
@@ -2081,9 +2081,9 @@ function No(t, e, n, i) {
2081
2081
  window.removeEventListener("resize", T);
2082
2082
  });
2083
2083
  const G = (z) => {
2084
- z ? (g.value.width = Me, b.value && y.value && _.value && (g.value.left = y.value + _.value - Me)) : (g.value.width = _.value, b.value && y.value && _.value && (g.value.left = y.value));
2084
+ z ? (g.value.width = Me, x.value && y.value && _.value && (g.value.left = y.value + _.value - Me)) : (g.value.width = _.value, x.value && y.value && _.value && (g.value.left = y.value));
2085
2085
  }, P = () => {
2086
- a.value ? (g.value.top = i.value.offset.value.top, g.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (g.value.top = S.value, g.value.height = $.value);
2086
+ a.value ? (g.value.top = i.value.offset.value.top, g.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (g.value.top = S.value, g.value.height = V.value);
2087
2087
  };
2088
2088
  return E(a, () => {
2089
2089
  P();
@@ -2091,14 +2091,14 @@ function No(t, e, n, i) {
2091
2091
  G(z);
2092
2092
  }), E(F, (z) => {
2093
2093
  n.value && !f.value && G(!z);
2094
- }), E(r, (z) => {
2094
+ }), E(s, (z) => {
2095
2095
  if (z && t.value) {
2096
2096
  const A = t.value.getBoundingClientRect();
2097
2097
  g.value.left = A.left, g.value.top = A.top;
2098
2098
  }
2099
- }), { rect: g, orientation: s, reversed: b };
2099
+ }), { rect: g, orientation: r, reversed: x };
2100
2100
  }
2101
- const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ */ Ho(() => /* @__PURE__ */ d("svg", {
2101
+ const No = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Ho = /* @__PURE__ */ No(() => /* @__PURE__ */ d("svg", {
2102
2102
  xmlns: "http://www.w3.org/2000/svg",
2103
2103
  width: "1em",
2104
2104
  height: "1em",
@@ -2108,7 +2108,7 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2108
2108
  fill: "currentColor",
2109
2109
  d: "M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
2110
2110
  })
2111
- ], -1)), Wo = { class: "ml-tool-palette-title" }, qo = { class: "ml-tool-palette-content" }, Uo = /* @__PURE__ */ L({
2111
+ ], -1)), Go = { class: "ml-tool-palette-title" }, qo = { class: "ml-tool-palette-content" }, Wo = /* @__PURE__ */ L({
2112
2112
  __name: "MlToolPalette",
2113
2113
  props: /* @__PURE__ */ Z({
2114
2114
  title: { default: "" },
@@ -2122,8 +2122,8 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2122
2122
  }),
2123
2123
  emits: /* @__PURE__ */ Z(["close"], ["update:modelValue"]),
2124
2124
  setup(t, { emit: e }) {
2125
- const n = t, i = fe(t, "modelValue"), l = e, o = x(!1), a = x(null), s = x(null), r = k(() => ({
2126
- offset: x({
2125
+ const n = t, i = ge(t, "modelValue"), l = e, o = b(!1), a = b(null), r = b(null), s = k(() => ({
2126
+ offset: b({
2127
2127
  left: n.leftOffset,
2128
2128
  right: n.rightOffset,
2129
2129
  top: n.topOffset,
@@ -2132,13 +2132,13 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2132
2132
  })), {
2133
2133
  rect: c,
2134
2134
  orientation: f,
2135
- reversed: b
2136
- } = No(s, a, o, r), g = k(() => ({
2135
+ reversed: x
2136
+ } = Oo(r, a, o, s), g = k(() => ({
2137
2137
  left: `${c.value.left}px`,
2138
2138
  top: `${c.value.top}px`,
2139
2139
  width: `${c.value.width}px`,
2140
2140
  height: `${c.value.height}px`
2141
- })), h = k(() => b.value ? {
2141
+ })), h = k(() => x.value ? {
2142
2142
  borderLeft: "1px solid var(--el-border-color)",
2143
2143
  borderRight: null
2144
2144
  } : {
@@ -2146,18 +2146,18 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2146
2146
  borderRight: "1px solid var(--el-border-color)"
2147
2147
  }), _ = () => {
2148
2148
  i.value = !1;
2149
- const y = s.value;
2149
+ const y = r.value;
2150
2150
  l("close", {
2151
2151
  x: y ? y.clientLeft : 0,
2152
2152
  y: y ? y.clientTop : 0
2153
2153
  });
2154
2154
  };
2155
2155
  return (y, S) => {
2156
- const $ = se;
2156
+ const V = se;
2157
2157
  return i.value ? (u(), w("div", {
2158
2158
  key: 0,
2159
2159
  ref_key: "toolPaletteElement",
2160
- ref: s,
2160
+ ref: r,
2161
2161
  style: pe([g.value]),
2162
2162
  class: "ml-tool-palette-dialog"
2163
2163
  }, [
@@ -2170,23 +2170,23 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2170
2170
  class: "ml-tool-palette-title-bar",
2171
2171
  style: pe(h.value)
2172
2172
  }, [
2173
- v($, {
2173
+ v(V, {
2174
2174
  size: 18,
2175
2175
  class: "ml-tool-palette-dialog-icon",
2176
2176
  onClick: _
2177
2177
  }, {
2178
2178
  default: p(() => [
2179
- Go
2179
+ Ho
2180
2180
  ]),
2181
2181
  _: 1
2182
2182
  }),
2183
- v(ho, {
2183
+ v(fo, {
2184
2184
  class: "ml-tool-palette-dialog-icon",
2185
2185
  modelValue: o.value,
2186
2186
  "onUpdate:modelValue": S[0] || (S[0] = (F) => o.value = F),
2187
- reverse: m(b)
2187
+ reverse: m(x)
2188
2188
  }, null, 8, ["modelValue", "reverse"]),
2189
- d("span", Wo, D(n.title), 1)
2189
+ d("span", Go, D(n.title), 1)
2190
2190
  ], 4),
2191
2191
  d("div", qo, [
2192
2192
  ie(y.$slots, "default", {}, void 0, !0)
@@ -2195,23 +2195,23 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2195
2195
  ], 4)) : U("", !0);
2196
2196
  };
2197
2197
  }
2198
- }), jo = /* @__PURE__ */ ue(Uo, [["__scopeId", "data-v-11a64c54"]]), Yo = { class: "ml-layer-list-cell" }, Ko = { class: "ml-layer-list-cell" }, Xo = /* @__PURE__ */ L({
2198
+ }), Uo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-11a64c54"]]), jo = { class: "ml-layer-list-cell" }, Yo = { class: "ml-layer-list-cell" }, Ko = /* @__PURE__ */ L({
2199
2199
  __name: "MlLayerList",
2200
2200
  props: {
2201
2201
  editor: {}
2202
2202
  },
2203
2203
  setup(t) {
2204
- const { t: e } = R(), n = t, i = ft(n.editor), l = x(), o = x([]), a = (r) => {
2205
- o.value = r;
2206
- }, s = (r) => {
2204
+ const { t: e } = R(), n = t, i = gt(n.editor), l = b(), o = b([]), a = (s) => {
2205
+ o.value = s;
2206
+ }, r = (s) => {
2207
2207
  const c = n.editor.curDocument.database.tables.layerTable.getAt(
2208
- r.name
2208
+ s.name
2209
2209
  );
2210
- c && (c.isOff = !r.isOn);
2210
+ c && (c.isOff = !s.isOn);
2211
2211
  };
2212
- return (r, c) => {
2213
- const f = M("el-table-column"), b = M("el-checkbox"), g = M("el-tag");
2214
- return u(), C(m(Je), {
2212
+ return (s, c) => {
2213
+ const f = M("el-table-column"), x = M("el-checkbox"), g = M("el-tag");
2214
+ return u(), C(m(Ze), {
2215
2215
  ref_key: "multipleTableRef",
2216
2216
  ref: l,
2217
2217
  data: m(i),
@@ -2236,11 +2236,11 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2236
2236
  width: "50"
2237
2237
  }, {
2238
2238
  default: p((h) => [
2239
- d("div", Yo, [
2240
- v(b, {
2239
+ d("div", jo, [
2240
+ v(x, {
2241
2241
  modelValue: h.row.isOn,
2242
2242
  "onUpdate:modelValue": (_) => h.row.isOn = _,
2243
- onChange: (_) => s(h.row)
2243
+ onChange: (_) => r(h.row)
2244
2244
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
2245
2245
  ])
2246
2246
  ]),
@@ -2252,7 +2252,7 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2252
2252
  width: "70"
2253
2253
  }, {
2254
2254
  default: p((h) => [
2255
- d("div", Ko, [
2255
+ d("div", Yo, [
2256
2256
  v(g, {
2257
2257
  color: h.row.color,
2258
2258
  class: "ml-layer-list-color"
@@ -2266,14 +2266,14 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2266
2266
  }, 8, ["data"]);
2267
2267
  };
2268
2268
  }
2269
- }), Qo = { class: "ml-layer-list-wrapper" }, Zo = /* @__PURE__ */ L({
2269
+ }), Xo = { class: "ml-layer-list-wrapper" }, Qo = /* @__PURE__ */ L({
2270
2270
  __name: "MlLayerManager",
2271
2271
  props: {
2272
2272
  editor: {}
2273
2273
  },
2274
2274
  setup(t) {
2275
2275
  const e = t;
2276
- return (n, i) => (u(), C(m(jo), {
2276
+ return (n, i) => (u(), C(m(Uo), {
2277
2277
  class: "ml-layer-manager",
2278
2278
  modelValue: m(Q).dialogs.layerManager,
2279
2279
  "onUpdate:modelValue": i[0] || (i[0] = (l) => m(Q).dialogs.layerManager = l),
@@ -2281,8 +2281,8 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2281
2281
  "bottom-offset": 30
2282
2282
  }, {
2283
2283
  default: p(() => [
2284
- d("div", Qo, [
2285
- v(Xo, {
2284
+ d("div", Xo, [
2285
+ v(Ko, {
2286
2286
  editor: e.editor
2287
2287
  }, null, 8, ["editor"])
2288
2288
  ])
@@ -2290,22 +2290,22 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2290
2290
  _: 1
2291
2291
  }, 8, ["modelValue"]));
2292
2292
  }
2293
- }), Jo = /* @__PURE__ */ H(Zo, [["__scopeId", "data-v-d49ba2cb"]]), el = { class: "autocomplete-container" }, tl = /* @__PURE__ */ L({
2293
+ }), Zo = /* @__PURE__ */ H(Qo, [["__scopeId", "data-v-d49ba2cb"]]), Jo = { class: "autocomplete-container" }, el = /* @__PURE__ */ L({
2294
2294
  __name: "MlCommandLine",
2295
2295
  setup(t) {
2296
- const { t: e } = R(), n = ce(), i = mt(), l = x(""), o = x(""), a = (c, f) => {
2297
- const b = c ? i.filter(
2296
+ const { t: e } = R(), n = ce(), i = dt(), l = b(""), o = b(""), a = (c, f) => {
2297
+ const x = c ? i.filter(
2298
2298
  (g) => g.commandName.startsWith(c.toLowerCase())
2299
2299
  ) : i;
2300
- f(b);
2301
- }, s = () => {
2300
+ f(x);
2301
+ }, r = () => {
2302
2302
  l.value && (B.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
2303
- }, r = (c, f) => `${f}: ${he(c, f)}`;
2304
- return (c, f) => (u(), w("div", el, [
2305
- m(n).isShowCommandLine ? (u(), C(m(et), {
2303
+ }, s = (c, f) => `${f}: ${fe(c, f)}`;
2304
+ return (c, f) => (u(), w("div", Jo, [
2305
+ m(n).isShowCommandLine ? (u(), C(m(Je), {
2306
2306
  key: 0,
2307
2307
  modelValue: l.value,
2308
- "onUpdate:modelValue": f[0] || (f[0] = (b) => l.value = b),
2308
+ "onUpdate:modelValue": f[0] || (f[0] = (x) => l.value = x),
2309
2309
  "value-key": "commandName",
2310
2310
  clearable: "",
2311
2311
  "fetch-suggestions": a,
@@ -2313,12 +2313,12 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2313
2313
  debounce: 300,
2314
2314
  "trigger-on-focus": "",
2315
2315
  "fit-input-width": !1,
2316
- onSelect: s,
2317
- onKeydown: He(s, ["enter"]),
2316
+ onSelect: r,
2317
+ onKeydown: Ne(r, ["enter"]),
2318
2318
  class: "autocomplete-input"
2319
2319
  }, {
2320
- default: p(({ item: b }) => [
2321
- d("div", null, D(r(b.groupName, b.commandName)), 1)
2320
+ default: p(({ item: x }) => [
2321
+ d("div", null, D(s(x.groupName, x.commandName)), 1)
2322
2322
  ]),
2323
2323
  prepend: p(() => [
2324
2324
  I(D(`> ${o.value}`), 1)
@@ -2327,21 +2327,21 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2327
2327
  }, 8, ["modelValue", "placeholder"])) : U("", !0)
2328
2328
  ]));
2329
2329
  }
2330
- }), nl = /* @__PURE__ */ H(tl, [["__scopeId", "data-v-082845cb"]]), ol = /* @__PURE__ */ L({
2330
+ }), tl = /* @__PURE__ */ H(el, [["__scopeId", "data-v-082845cb"]]), nl = /* @__PURE__ */ L({
2331
2331
  __name: "MlEntityInfo",
2332
2332
  setup(t) {
2333
2333
  Ce((g) => ({
2334
2334
  "2d5cc4ca": a.value,
2335
- "11fa7d7e": s.value
2335
+ "11fa7d7e": r.value
2336
2336
  }));
2337
- const { t: e } = R(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = k(() => i.value + "px"), s = k(() => l.value + "px"), r = k(() => {
2337
+ const { t: e } = R(), n = b(!1), i = b(-1), l = b(-1), o = b(null), a = k(() => i.value + "px"), r = k(() => l.value + "px"), s = k(() => {
2338
2338
  const g = B.instance.curDocument.database;
2339
2339
  if (o.value) {
2340
2340
  const h = g.tables.blockTable.modelSpace.getIdAt(o.value);
2341
2341
  if (h)
2342
2342
  return {
2343
- type: zt(h),
2344
- color: Dt(h.color.toString()),
2343
+ type: Lt(h),
2344
+ color: zt(h.color.toString()),
2345
2345
  layer: h.layer,
2346
2346
  lineType: h.lineType
2347
2347
  };
@@ -2352,20 +2352,20 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2352
2352
  layer: "",
2353
2353
  lineType: ""
2354
2354
  };
2355
- }), c = k(() => n.value && r.value.type != ""), f = (g) => {
2355
+ }), c = k(() => n.value && s.value.type != ""), f = (g) => {
2356
2356
  o.value = g.id, i.value = g.x, l.value = g.y, n.value = !0;
2357
- }, b = () => {
2357
+ }, x = () => {
2358
2358
  n.value = !1;
2359
2359
  };
2360
2360
  return N(() => {
2361
2361
  const g = B.instance.curView.events;
2362
- g.hover.addEventListener(f), g.unhover.addEventListener(b);
2362
+ g.hover.addEventListener(f), g.unhover.addEventListener(x);
2363
2363
  }), ee(() => {
2364
2364
  const g = B.instance.curView.events;
2365
- g.hover.removeEventListener(f), g.unhover.removeEventListener(b);
2365
+ g.hover.removeEventListener(f), g.unhover.removeEventListener(x);
2366
2366
  }), (g, h) => {
2367
- const _ = M("el-text"), y = M("el-col"), S = M("el-row"), $ = M("el-card");
2368
- return c.value ? (u(), C($, {
2367
+ const _ = M("el-text"), y = M("el-col"), S = M("el-row"), V = M("el-card");
2368
+ return c.value ? (u(), C(V, {
2369
2369
  key: 0,
2370
2370
  class: "ml-entity-info"
2371
2371
  }, {
@@ -2379,7 +2379,7 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2379
2379
  class: "ml-entity-info-title"
2380
2380
  }, {
2381
2381
  default: p(() => [
2382
- I(D(r.value.type), 1)
2382
+ I(D(s.value.type), 1)
2383
2383
  ]),
2384
2384
  _: 1
2385
2385
  })
@@ -2406,7 +2406,7 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2406
2406
  default: p(() => [
2407
2407
  v(_, { size: "small" }, {
2408
2408
  default: p(() => [
2409
- I(D(r.value.color), 1)
2409
+ I(D(s.value.color), 1)
2410
2410
  ]),
2411
2411
  _: 1
2412
2412
  })
@@ -2433,7 +2433,7 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2433
2433
  default: p(() => [
2434
2434
  v(_, { size: "small" }, {
2435
2435
  default: p(() => [
2436
- I(D(r.value.layer), 1)
2436
+ I(D(s.value.layer), 1)
2437
2437
  ]),
2438
2438
  _: 1
2439
2439
  })
@@ -2460,7 +2460,7 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2460
2460
  default: p(() => [
2461
2461
  v(_, { size: "small" }, {
2462
2462
  default: p(() => [
2463
- I(D(r.value.lineType), 1)
2463
+ I(D(s.value.lineType), 1)
2464
2464
  ]),
2465
2465
  _: 1
2466
2466
  })
@@ -2475,13 +2475,13 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2475
2475
  })) : U("", !0);
2476
2476
  };
2477
2477
  }
2478
- }), ll = /* @__PURE__ */ H(ol, [["__scopeId", "data-v-6a67bbe7"]]), al = /* @__PURE__ */ L({
2478
+ }), ol = /* @__PURE__ */ H(nl, [["__scopeId", "data-v-6a67bbe7"]]), ll = /* @__PURE__ */ L({
2479
2479
  __name: "MlLanguageSelector",
2480
2480
  props: {
2481
2481
  currentLocale: { default: void 0 }
2482
2482
  },
2483
2483
  setup(t) {
2484
- const e = t, { effectiveLocale: n, setLocale: i } = Ve(e.currentLocale), l = q([
2484
+ const e = t, { effectiveLocale: n, setLocale: i } = Ve(e.currentLocale), l = W([
2485
2485
  {
2486
2486
  name: "en",
2487
2487
  text: "English"
@@ -2493,16 +2493,16 @@ const Ho = (t) => (ze("data-v-11a64c54"), t = t(), De(), t), Go = /* @__PURE__ *
2493
2493
  ]), o = (a) => {
2494
2494
  (a === "en" || a === "zh") && i(a);
2495
2495
  };
2496
- return (a, s) => (u(), C(m(ko), {
2496
+ return (a, r) => (u(), C(m(xo), {
2497
2497
  class: "ml-language-selector",
2498
2498
  languages: l,
2499
2499
  current: m(n),
2500
2500
  onClick: o
2501
2501
  }, null, 8, ["languages", "current"]));
2502
2502
  }
2503
- }), il = /* @__PURE__ */ H(al, [["__scopeId", "data-v-1b9f7bc0"]]);
2503
+ }), al = /* @__PURE__ */ H(ll, [["__scopeId", "data-v-1b9f7bc0"]]);
2504
2504
  /*! Element Plus Icons Vue v2.3.1 */
2505
- var rl = /* @__PURE__ */ L({
2505
+ var il = /* @__PURE__ */ L({
2506
2506
  name: "Check",
2507
2507
  __name: "check",
2508
2508
  setup(t) {
@@ -2516,7 +2516,7 @@ var rl = /* @__PURE__ */ L({
2516
2516
  })
2517
2517
  ]));
2518
2518
  }
2519
- }), le = rl, sl = /* @__PURE__ */ L({
2519
+ }), le = il, rl = /* @__PURE__ */ L({
2520
2520
  name: "Menu",
2521
2521
  __name: "menu",
2522
2522
  setup(t) {
@@ -2530,7 +2530,7 @@ var rl = /* @__PURE__ */ L({
2530
2530
  })
2531
2531
  ]));
2532
2532
  }
2533
- }), cl = sl, ul = /* @__PURE__ */ L({
2533
+ }), sl = rl, cl = /* @__PURE__ */ L({
2534
2534
  name: "Moon",
2535
2535
  __name: "moon",
2536
2536
  setup(t) {
@@ -2544,7 +2544,7 @@ var rl = /* @__PURE__ */ L({
2544
2544
  })
2545
2545
  ]));
2546
2546
  }
2547
- }), dl = ul, ml = /* @__PURE__ */ L({
2547
+ }), ul = cl, dl = /* @__PURE__ */ L({
2548
2548
  name: "Operation",
2549
2549
  __name: "operation",
2550
2550
  setup(t) {
@@ -2558,7 +2558,7 @@ var rl = /* @__PURE__ */ L({
2558
2558
  })
2559
2559
  ]));
2560
2560
  }
2561
- }), pl = ml, vl = /* @__PURE__ */ L({
2561
+ }), ml = dl, pl = /* @__PURE__ */ L({
2562
2562
  name: "Setting",
2563
2563
  __name: "setting",
2564
2564
  setup(t) {
@@ -2572,7 +2572,7 @@ var rl = /* @__PURE__ */ L({
2572
2572
  })
2573
2573
  ]));
2574
2574
  }
2575
- }), gl = vl, fl = /* @__PURE__ */ L({
2575
+ }), vl = pl, gl = /* @__PURE__ */ L({
2576
2576
  name: "Sunny",
2577
2577
  __name: "sunny",
2578
2578
  setup(t) {
@@ -2586,7 +2586,7 @@ var rl = /* @__PURE__ */ L({
2586
2586
  })
2587
2587
  ]));
2588
2588
  }
2589
- }), hl = fl, _l = /* @__PURE__ */ L({
2589
+ }), fl = gl, hl = /* @__PURE__ */ L({
2590
2590
  name: "Warning",
2591
2591
  __name: "warning",
2592
2592
  setup(t) {
@@ -2600,22 +2600,22 @@ var rl = /* @__PURE__ */ L({
2600
2600
  })
2601
2601
  ]));
2602
2602
  }
2603
- }), wl = _l;
2604
- const yl = /* @__PURE__ */ L({
2603
+ }), _l = hl;
2604
+ const wl = /* @__PURE__ */ L({
2605
2605
  __name: "MlMainMenu",
2606
2606
  setup(t) {
2607
2607
  const { t: e } = R(), n = (i) => {
2608
- i === "Convert" ? new Fe().tirgger(B.instance.context) : i === "QNew" ? new Pe().tirgger(B.instance.context) : i === "Open" && new Re().tirgger(B.instance.context);
2608
+ i === "Convert" ? new Ie().tirgger(B.instance.context) : i === "QNew" ? new Fe().tirgger(B.instance.context) : i === "Open" && new Pe().tirgger(B.instance.context);
2609
2609
  };
2610
2610
  return (i, l) => {
2611
- const o = M("el-icon"), a = M("el-dropdown-item"), s = M("el-dropdown-menu"), r = M("el-dropdown");
2612
- return u(), C(r, {
2611
+ const o = M("el-icon"), a = M("el-dropdown-item"), r = M("el-dropdown-menu"), s = M("el-dropdown");
2612
+ return u(), C(s, {
2613
2613
  "aria-hidden": "false",
2614
2614
  class: "ml-main-menu-container",
2615
2615
  onCommand: n
2616
2616
  }, {
2617
2617
  dropdown: p(() => [
2618
- v(s, null, {
2618
+ v(r, null, {
2619
2619
  default: p(() => [
2620
2620
  v(a, { command: "QNew" }, {
2621
2621
  default: p(() => [
@@ -2639,7 +2639,7 @@ const yl = /* @__PURE__ */ L({
2639
2639
  size: "30"
2640
2640
  }, {
2641
2641
  default: p(() => [
2642
- v(m(cl))
2642
+ v(m(sl))
2643
2643
  ]),
2644
2644
  _: 1
2645
2645
  })
@@ -2648,39 +2648,39 @@ const yl = /* @__PURE__ */ L({
2648
2648
  });
2649
2649
  };
2650
2650
  }
2651
- }), bl = /* @__PURE__ */ H(yl, [["__scopeId", "data-v-8c0c738e"]]), xl = {
2651
+ }), yl = /* @__PURE__ */ H(wl, [["__scopeId", "data-v-8c0c738e"]]), bl = {
2652
2652
  key: 0,
2653
2653
  class: "ml-vertical-toolbar-container"
2654
- }, kl = /* @__PURE__ */ L({
2654
+ }, xl = /* @__PURE__ */ L({
2655
2655
  __name: "MlToolBars",
2656
2656
  setup(t) {
2657
2657
  const { t: e } = R(), n = ce(), i = k(() => [
2658
2658
  {
2659
- icon: jt,
2659
+ icon: Ut,
2660
2660
  text: e("main.verticalToolbar.select.text"),
2661
2661
  command: "select",
2662
2662
  description: e("main.verticalToolbar.select.description")
2663
2663
  },
2664
2664
  {
2665
- icon: Wt,
2665
+ icon: Gt,
2666
2666
  text: e("main.verticalToolbar.pan.text"),
2667
2667
  command: "pan",
2668
2668
  description: e("main.verticalToolbar.pan.description")
2669
2669
  },
2670
2670
  {
2671
- icon: Jt,
2671
+ icon: Zt,
2672
2672
  text: e("main.verticalToolbar.zoomToExtent.text"),
2673
2673
  command: "zoom",
2674
2674
  description: e("main.verticalToolbar.zoomToExtent.description")
2675
2675
  },
2676
2676
  {
2677
- icon: Xt,
2677
+ icon: Kt,
2678
2678
  text: e("main.verticalToolbar.zoomToBox.text"),
2679
2679
  command: "zoomw",
2680
2680
  description: e("main.verticalToolbar.zoomToBox.description")
2681
2681
  },
2682
2682
  {
2683
- icon: Nt,
2683
+ icon: Ot,
2684
2684
  text: e("main.verticalToolbar.layer.text"),
2685
2685
  command: "la",
2686
2686
  description: e("main.verticalToolbar.layer.description")
@@ -2688,8 +2688,8 @@ const yl = /* @__PURE__ */ L({
2688
2688
  ]), l = (o) => {
2689
2689
  B.instance.sendStringToExecute(o);
2690
2690
  };
2691
- return (o, a) => m(n).isShowToolbar ? (u(), w("div", xl, [
2692
- v(m(Eo), {
2691
+ return (o, a) => m(n).isShowToolbar ? (u(), w("div", bl, [
2692
+ v(m(To), {
2693
2693
  items: i.value,
2694
2694
  size: "small",
2695
2695
  direction: "vertical",
@@ -2697,23 +2697,23 @@ const yl = /* @__PURE__ */ L({
2697
2697
  }, null, 8, ["items"])
2698
2698
  ])) : U("", !0);
2699
2699
  }
2700
- }), Ml = /* @__PURE__ */ L({
2700
+ }), kl = /* @__PURE__ */ L({
2701
2701
  __name: "MlFullScreenButton",
2702
2702
  setup(t) {
2703
- const { t: e } = R(), { isFullscreen: n, toggle: i } = Ye(), l = k(() => ({
2703
+ const { t: e } = R(), { isFullscreen: n, toggle: i } = je(), l = k(() => ({
2704
2704
  onIcon: be,
2705
2705
  offIcon: be,
2706
2706
  onTooltip: e("main.statusBar.fullScreen.on"),
2707
2707
  offTooltip: e("main.statusBar.fullScreen.off")
2708
2708
  })), o = k(() => !n.value);
2709
- return (a, s) => (u(), C(m(Ie), {
2709
+ return (a, r) => (u(), C(m(Ae), {
2710
2710
  modelValue: o.value,
2711
- "onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
2711
+ "onUpdate:modelValue": r[0] || (r[0] = (s) => o.value = s),
2712
2712
  data: l.value,
2713
2713
  onClick: m(i)
2714
2714
  }, null, 8, ["modelValue", "data", "onClick"]));
2715
2715
  }
2716
- }), Sl = /* @__PURE__ */ L({
2716
+ }), Ml = /* @__PURE__ */ L({
2717
2717
  __name: "MlPointStyleButton",
2718
2718
  setup(t) {
2719
2719
  const { t: e } = R(), n = () => {
@@ -2728,43 +2728,43 @@ const yl = /* @__PURE__ */ L({
2728
2728
  default: p(() => [
2729
2729
  v(o, {
2730
2730
  class: "ml-point-style-button",
2731
- icon: m(pl),
2732
- onClick: l[0] || (l[0] = (s) => n())
2731
+ icon: m(ml),
2732
+ onClick: l[0] || (l[0] = (r) => n())
2733
2733
  }, null, 8, ["icon"])
2734
2734
  ]),
2735
2735
  _: 1
2736
2736
  }, 8, ["content"]);
2737
2737
  };
2738
2738
  }
2739
- }), Cl = /* @__PURE__ */ H(Sl, [["__scopeId", "data-v-29692d7d"]]), Ll = {
2739
+ }), Sl = /* @__PURE__ */ H(Ml, [["__scopeId", "data-v-29692d7d"]]), Cl = {
2740
2740
  key: 0,
2741
2741
  class: "ml-progress"
2742
- }, zl = /* @__PURE__ */ L({
2742
+ }, Ll = /* @__PURE__ */ L({
2743
2743
  __name: "MlProgress",
2744
2744
  setup(t) {
2745
- const { t: e } = R(), n = x(0), i = x(!1), l = (a) => {
2745
+ const { t: e } = R(), n = b(0), i = b(!1), l = (a) => {
2746
2746
  if (a.stage === "CONVERSION") {
2747
- const s = ve.service({
2747
+ const r = we.service({
2748
2748
  lock: !0
2749
2749
  });
2750
2750
  if (a.subStage) {
2751
- const r = Bt(a.subStage);
2752
- s.setText(r);
2751
+ const s = Dt(a.subStage);
2752
+ r.setText(s);
2753
2753
  }
2754
- n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close(), B.instance.curView.zoomToFit());
2754
+ n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, r.close(), B.instance.curView.zoomToFit());
2755
2755
  } else if (a.stage === "FETCH_FILE") {
2756
- const s = ve.service({
2756
+ const r = we.service({
2757
2757
  lock: !0
2758
2758
  });
2759
- s.setText(e("main.message.fetchingDrawingFile")), n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close());
2759
+ r.setText(e("main.message.fetchingDrawingFile")), n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, r.close());
2760
2760
  }
2761
2761
  }, o = (a) => `${a.toFixed(0)}%`;
2762
2762
  return N(() => {
2763
2763
  j.on("open-file-progress", l);
2764
2764
  }), ee(() => {
2765
2765
  j.off("open-file-progress", l);
2766
- }), (a, s) => i.value ? (u(), w("div", Ll, [
2767
- v(m(tt), {
2766
+ }), (a, r) => i.value ? (u(), w("div", Cl, [
2767
+ v(m(et), {
2768
2768
  "text-inside": !0,
2769
2769
  "stroke-width": 20,
2770
2770
  percentage: n.value,
@@ -2772,14 +2772,14 @@ const yl = /* @__PURE__ */ L({
2772
2772
  }, null, 8, ["percentage"])
2773
2773
  ])) : U("", !0);
2774
2774
  }
2775
- }), Dl = /* @__PURE__ */ H(zl, [["__scopeId", "data-v-c4edb83e"]]), Bl = /* @__PURE__ */ L({
2775
+ }), zl = /* @__PURE__ */ H(Ll, [["__scopeId", "data-v-c4edb83e"]]), Dl = /* @__PURE__ */ L({
2776
2776
  __name: "MlSettingButton",
2777
2777
  setup(t) {
2778
2778
  const { t: e } = R(), n = ce(), i = (l) => {
2779
2779
  l == "isShowCoordinate" ? (n.isShowCoordinate = !n.isShowCoordinate, Y.instance.isShowCoordinate = n.isShowCoordinate) : l == "isShowCommandLine" ? (n.isShowCommandLine = !n.isShowCommandLine, Y.instance.isShowCommandLine = n.isShowCommandLine) : l == "isShowToolbar" ? (n.isShowToolbar = !n.isShowToolbar, Y.instance.isShowToolbar = n.isShowToolbar) : l == "isShowStats" && (n.isShowStats = !n.isShowStats, Y.instance.isShowStats = n.isShowStats);
2780
2780
  };
2781
2781
  return (l, o) => {
2782
- const a = M("el-button"), s = M("el-dropdown-item"), r = M("el-dropdown-menu"), c = M("el-dropdown"), f = M("el-tooltip");
2782
+ const a = M("el-button"), r = M("el-dropdown-item"), s = M("el-dropdown-menu"), c = M("el-dropdown"), f = M("el-tooltip");
2783
2783
  return u(), C(f, {
2784
2784
  content: m(e)("main.statusBar.setting.tooltip"),
2785
2785
  "hide-after": 0
@@ -2790,9 +2790,9 @@ const yl = /* @__PURE__ */ L({
2790
2790
  onCommand: i
2791
2791
  }, {
2792
2792
  dropdown: p(() => [
2793
- v(r, null, {
2793
+ v(s, null, {
2794
2794
  default: p(() => [
2795
- v(s, {
2795
+ v(r, {
2796
2796
  icon: m(n).isShowStats ? m(le) : "",
2797
2797
  command: "isShowStats"
2798
2798
  }, {
@@ -2801,7 +2801,7 @@ const yl = /* @__PURE__ */ L({
2801
2801
  ]),
2802
2802
  _: 1
2803
2803
  }, 8, ["icon"]),
2804
- v(s, {
2804
+ v(r, {
2805
2805
  icon: m(n).isShowCommandLine ? m(le) : "",
2806
2806
  command: "isShowCommandLine"
2807
2807
  }, {
@@ -2810,7 +2810,7 @@ const yl = /* @__PURE__ */ L({
2810
2810
  ]),
2811
2811
  _: 1
2812
2812
  }, 8, ["icon"]),
2813
- v(s, {
2813
+ v(r, {
2814
2814
  icon: m(n).isShowCoordinate ? m(le) : "",
2815
2815
  command: "isShowCoordinate"
2816
2816
  }, {
@@ -2819,7 +2819,7 @@ const yl = /* @__PURE__ */ L({
2819
2819
  ]),
2820
2820
  _: 1
2821
2821
  }, 8, ["icon"]),
2822
- v(s, {
2822
+ v(r, {
2823
2823
  icon: m(n).isShowToolbar ? m(le) : "",
2824
2824
  command: "isShowToolbar"
2825
2825
  }, {
@@ -2835,7 +2835,7 @@ const yl = /* @__PURE__ */ L({
2835
2835
  default: p(() => [
2836
2836
  v(a, {
2837
2837
  class: "ml-setting-button",
2838
- icon: m(gl)
2838
+ icon: m(vl)
2839
2839
  }, null, 8, ["icon"])
2840
2840
  ]),
2841
2841
  _: 1
@@ -2845,54 +2845,54 @@ const yl = /* @__PURE__ */ L({
2845
2845
  }, 8, ["content"]);
2846
2846
  };
2847
2847
  }
2848
- }), Tl = /* @__PURE__ */ H(Bl, [["__scopeId", "data-v-666f03a3"]]), El = /* @__PURE__ */ L({
2848
+ }), Bl = /* @__PURE__ */ H(Dl, [["__scopeId", "data-v-666f03a3"]]), Tl = /* @__PURE__ */ L({
2849
2849
  __name: "MlThemeButton",
2850
2850
  setup(t) {
2851
2851
  const { t: e } = R(), n = k(() => ({
2852
- onIcon: hl,
2853
- offIcon: dl,
2852
+ onIcon: fl,
2853
+ offIcon: ul,
2854
2854
  onTooltip: e("main.statusBar.theme.light"),
2855
2855
  offTooltip: e("main.statusBar.theme.dark")
2856
2856
  }));
2857
- return (i, l) => (u(), C(m(Ie), {
2857
+ return (i, l) => (u(), C(m(Ae), {
2858
2858
  modelValue: m(ae),
2859
- "onUpdate:modelValue": l[0] || (l[0] = (o) => Ge(ae) ? ae.value = o : null),
2859
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => He(ae) ? ae.value = o : null),
2860
2860
  data: n.value,
2861
- onClick: l[1] || (l[1] = (o) => m(vt)())
2861
+ onClick: l[1] || (l[1] = (o) => m(pt)())
2862
2862
  }, null, 8, ["modelValue", "data"]));
2863
2863
  }
2864
- }), $l = /* @__PURE__ */ L({
2864
+ }), El = /* @__PURE__ */ L({
2865
2865
  __name: "MlWarningButton",
2866
2866
  setup(t) {
2867
2867
  const e = () => {
2868
2868
  B.instance.sendStringToExecute("md");
2869
- }, { fonts: n, images: i } = Ae(), l = k(() => i.size > 0 || n.size > 0);
2869
+ }, { fonts: n, images: i } = $e(), l = k(() => i.size > 0 || n.size > 0);
2870
2870
  return (o, a) => {
2871
- const s = M("el-button");
2872
- return l.value ? (u(), C(s, {
2871
+ const r = M("el-button");
2872
+ return l.value ? (u(), C(r, {
2873
2873
  key: 0,
2874
2874
  class: "ml-warning-button",
2875
2875
  type: "warning",
2876
- icon: m(wl),
2877
- onClick: a[0] || (a[0] = (r) => e())
2876
+ icon: m(_l),
2877
+ onClick: a[0] || (a[0] = (s) => e())
2878
2878
  }, null, 8, ["icon"])) : U("", !0);
2879
2879
  };
2880
2880
  }
2881
- }), Vl = /* @__PURE__ */ H($l, [["__scopeId", "data-v-3411a3ec"]]), Al = /* @__PURE__ */ L({
2881
+ }), Vl = /* @__PURE__ */ H(El, [["__scopeId", "data-v-3411a3ec"]]), $l = /* @__PURE__ */ L({
2882
2882
  __name: "MlStatusBar",
2883
2883
  setup(t) {
2884
- const { text: e } = pt(B.instance.curView), n = ht(B.instance), i = ce(), l = (o) => {
2885
- Ee().layoutManager.setCurrentLayoutBtrId(
2884
+ const { text: e } = mt(B.instance.curView), n = ft(B.instance), i = ce(), l = (o) => {
2885
+ Te().layoutManager.setCurrentLayoutBtrId(
2886
2886
  o.blockTableRecordId
2887
2887
  );
2888
2888
  };
2889
2889
  return (o, a) => {
2890
- const s = M("el-button"), r = M("el-button-group");
2891
- return u(), C(m(Do), { class: "ml-status-bar" }, {
2890
+ const r = M("el-button"), s = M("el-button-group");
2891
+ return u(), C(m(zo), { class: "ml-status-bar" }, {
2892
2892
  left: p(() => [
2893
- v(r, { class: "ml-status-bar-left-button-group" }, {
2893
+ v(s, { class: "ml-status-bar-left-button-group" }, {
2894
2894
  default: p(() => [
2895
- (u(!0), w(K, null, X(m(n), (c) => (u(), C(s, {
2895
+ (u(!0), w(K, null, X(m(n), (c) => (u(), C(r, {
2896
2896
  class: "ml-status-bar-layout-button",
2897
2897
  key: c.name,
2898
2898
  type: c.isActive ? "primary" : "",
@@ -2908,10 +2908,10 @@ const yl = /* @__PURE__ */ L({
2908
2908
  })
2909
2909
  ]),
2910
2910
  right: p(() => [
2911
- v(Dl),
2912
- v(r, { class: "ml-status-bar-right-button-group" }, {
2911
+ v(zl),
2912
+ v(s, { class: "ml-status-bar-right-button-group" }, {
2913
2913
  default: p(() => [
2914
- m(i).isShowCoordinate ? (u(), C(s, {
2914
+ m(i).isShowCoordinate ? (u(), C(r, {
2915
2915
  key: 0,
2916
2916
  class: "ml-status-bar-current-pos"
2917
2917
  }, {
@@ -2921,10 +2921,10 @@ const yl = /* @__PURE__ */ L({
2921
2921
  _: 1
2922
2922
  })) : U("", !0),
2923
2923
  v(Vl),
2924
- v(El),
2925
- v(Ml),
2926
- v(Cl),
2927
- v(Tl)
2924
+ v(Tl),
2925
+ v(kl),
2926
+ v(Sl),
2927
+ v(Bl)
2928
2928
  ]),
2929
2929
  _: 1
2930
2930
  })
@@ -2933,48 +2933,30 @@ const yl = /* @__PURE__ */ L({
2933
2933
  });
2934
2934
  };
2935
2935
  }
2936
- }), Il = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-ee6f13c4"]]), Fl = { class: "ml-file-name" }, ma = /* @__PURE__ */ L({
2936
+ }), Al = /* @__PURE__ */ H($l, [["__scopeId", "data-v-ee6f13c4"]]), Il = { class: "ml-file-name" }, da = /* @__PURE__ */ L({
2937
2937
  __name: "MlCadViewer",
2938
2938
  props: {
2939
2939
  locale: { default: "default" },
2940
2940
  url: { default: void 0 },
2941
2941
  wait: { default: 10 },
2942
- canvasId: {}
2942
+ canvasId: {},
2943
+ background: { default: void 0 }
2943
2944
  },
2944
2945
  setup(t) {
2945
2946
  const e = t;
2946
- Ol(e.canvasId);
2947
- const n = () => e.wait <= 0 ? Promise.resolve() : new Promise((r) => {
2948
- const c = ve.service({
2949
- lock: !0,
2950
- text: i("main.message.loadingDwgConverter")
2951
- }), f = () => Te.instance.get(
2952
- We.DWG
2953
- ) ? (c.close(), r(), !0) : !1;
2954
- if (f())
2955
- return;
2956
- let b = 0;
2957
- const g = Math.floor(e.wait * 2), h = setInterval(() => {
2958
- if (b++, f()) {
2959
- clearInterval(h);
2960
- return;
2961
- }
2962
- b >= g && (console.warn(
2963
- `DWG converter loading timeout after ${e.wait} seconds - proceeding anyway`
2964
- ), c.close(), clearInterval(h), r());
2965
- }, 500);
2966
- }), { t: i } = R(), { effectiveLocale: l, elementPlusLocale: o } = Ve(e.locale), a = async (r, c) => {
2967
- const f = { minimumChunkSize: 1e3 };
2968
- await B.instance.openDocument(r, c, f), Q.fileName = r;
2969
- }, s = async (r) => {
2947
+ Rl(e.canvasId);
2948
+ const { t: n } = R(), { effectiveLocale: i, elementPlusLocale: l } = Ve(e.locale), o = async (r, s) => {
2949
+ const c = { minimumChunkSize: 1e3 };
2950
+ await B.instance.openDocument(r, s, c), Q.fileName = r;
2951
+ }, a = async (r) => {
2970
2952
  try {
2971
- const c = { minimumChunkSize: 1e3 };
2972
- await B.instance.openUrl(r, c);
2973
- const f = r.split("/").pop();
2974
- Q.fileName = f ?? "";
2975
- } catch (c) {
2976
- console.error("Failed to open file from URL:", c), te({
2977
- message: i("main.message.failedToOpenFile", { fileName: r }),
2953
+ const s = { minimumChunkSize: 1e3 };
2954
+ await B.instance.openUrl(r, s);
2955
+ const c = r.split("/").pop();
2956
+ Q.fileName = c ?? "";
2957
+ } catch (s) {
2958
+ console.error("Failed to open file from URL:", s), te({
2959
+ message: n("main.message.failedToOpenFile", { fileName: r }),
2978
2960
  grouping: !0,
2979
2961
  type: "error",
2980
2962
  showClose: !0
@@ -2984,10 +2966,15 @@ const yl = /* @__PURE__ */ L({
2984
2966
  return E(
2985
2967
  () => e.url,
2986
2968
  async (r) => {
2987
- r && (await n(), s(r));
2969
+ r && a(r);
2970
+ }
2971
+ ), E(
2972
+ () => e.background,
2973
+ (r) => {
2974
+ r != null && (B.instance.curView.backgroundColor = r);
2988
2975
  }
2989
2976
  ), N(async () => {
2990
- await n(), e.url && s(e.url);
2977
+ e.url && a(e.url), e.background != null && (B.instance.curView.backgroundColor = e.background);
2991
2978
  }), j.on("message", (r) => {
2992
2979
  te({
2993
2980
  message: r.message,
@@ -2997,7 +2984,7 @@ const yl = /* @__PURE__ */ L({
2997
2984
  });
2998
2985
  }), j.on("font-not-loaded", (r) => {
2999
2986
  te({
3000
- message: i("main.message.fontNotLoaded", {
2987
+ message: n("main.message.fontNotLoaded", {
3001
2988
  fontName: r.fontName,
3002
2989
  url: r.url
3003
2990
  }),
@@ -3007,94 +2994,94 @@ const yl = /* @__PURE__ */ L({
3007
2994
  });
3008
2995
  }), j.on("failed-to-get-avaiable-fonts", (r) => {
3009
2996
  te({
3010
- message: i("main.message.failedToGetAvaiableFonts", { url: r.url }),
2997
+ message: n("main.message.failedToGetAvaiableFonts", { url: r.url }),
3011
2998
  grouping: !0,
3012
2999
  type: "error",
3013
3000
  showClose: !0
3014
3001
  });
3015
3002
  }), j.on("failed-to-open-file", (r) => {
3016
3003
  te({
3017
- message: i("main.message.failedToOpenFile", { fileName: r.fileName }),
3004
+ message: n("main.message.failedToOpenFile", { fileName: r.fileName }),
3018
3005
  grouping: !0,
3019
3006
  type: "error",
3020
3007
  showClose: !0
3021
3008
  });
3022
- }), Rl(), (r, c) => {
3023
- const f = M("el-config-provider");
3009
+ }), Pl(), (r, s) => {
3010
+ const c = M("el-config-provider");
3024
3011
  return u(), w("div", null, [
3025
- v(f, { locale: m(o) }, {
3012
+ v(c, { locale: m(l) }, {
3026
3013
  default: p(() => [
3027
3014
  d("header", null, [
3028
- v(m(bl)),
3029
- v(m(il), { "current-locale": m(l) }, null, 8, ["current-locale"])
3015
+ v(m(yl)),
3016
+ v(m(al), { "current-locale": m(i) }, null, 8, ["current-locale"])
3030
3017
  ]),
3031
3018
  d("main", null, [
3032
- d("div", Fl, D(m(Q).fileName), 1),
3033
- v(m(kl)),
3034
- v(m(Jo), {
3019
+ d("div", Il, D(m(Q).fileName), 1),
3020
+ v(m(xl)),
3021
+ v(m(Zo), {
3035
3022
  editor: m(B).instance
3036
3023
  }, null, 8, ["editor"]),
3037
- v(m(Et))
3024
+ v(m(Tt))
3038
3025
  ]),
3039
3026
  d("footer", null, [
3040
- v(m(nl)),
3041
- v(m(Il))
3027
+ v(m(tl)),
3028
+ v(m(Al))
3042
3029
  ]),
3043
- v(m(Vt), { onFileRead: a }),
3044
- v(m(ll))
3030
+ v(m(Vt), { onFileRead: o }),
3031
+ v(m(ol))
3045
3032
  ]),
3046
3033
  _: 1
3047
3034
  }, 8, ["locale"])
3048
3035
  ]);
3049
3036
  };
3050
3037
  }
3051
- }), { registerDialog: Se } = oe(), Pl = () => {
3052
- W.instance.addCommand(
3053
- W.SYSTEMT_COMMAND_GROUP_NAME,
3038
+ }), { registerDialog: Se } = oe(), Fl = () => {
3039
+ q.instance.addCommand(
3040
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3054
3041
  "log",
3055
3042
  "log",
3056
- new Hl()
3057
- ), W.instance.addCommand(
3058
- W.SYSTEMT_COMMAND_GROUP_NAME,
3043
+ new Nl()
3044
+ ), q.instance.addCommand(
3045
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3059
3046
  "la",
3060
3047
  "la",
3061
- new Nl()
3062
- ), W.instance.addCommand(
3063
- W.SYSTEMT_COMMAND_GROUP_NAME,
3048
+ new Ol()
3049
+ ), q.instance.addCommand(
3050
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3064
3051
  "md",
3065
3052
  "md",
3066
- new Gl()
3067
- ), W.instance.addCommand(
3068
- W.SYSTEMT_COMMAND_GROUP_NAME,
3053
+ new Hl()
3054
+ ), q.instance.addCommand(
3055
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3069
3056
  "pttype",
3070
3057
  "pttype",
3071
- new Wl()
3058
+ new Gl()
3072
3059
  );
3073
- }, Rl = () => {
3060
+ }, Pl = () => {
3074
3061
  Se({
3075
3062
  name: "ReplacementDlg",
3076
- component: _e(It),
3063
+ component: he(At),
3077
3064
  props: {}
3078
3065
  }), Se({
3079
3066
  name: "PointStyleDlg",
3080
- component: _e(ro),
3067
+ component: he(io),
3081
3068
  props: {}
3082
3069
  });
3083
- }, Ol = (t) => {
3070
+ }, Rl = (t) => {
3084
3071
  const e = document.getElementById(t);
3085
- B.createInstance(e), Oe(), Pl(), B.instance.loadDefaultFonts();
3086
- }, Q = q({
3072
+ B.createInstance(e), Re(), Fl(), B.instance.loadDefaultFonts();
3073
+ }, Q = W({
3087
3074
  fileName: "",
3088
3075
  dialogs: {
3089
3076
  layerManager: !1
3090
3077
  }
3091
3078
  });
3092
- class Nl extends re {
3079
+ class Ol extends re {
3093
3080
  execute(e) {
3094
3081
  Q.dialogs.layerManager = !0;
3095
3082
  }
3096
3083
  }
3097
- class Hl extends re {
3084
+ class Nl extends re {
3098
3085
  execute(e) {
3099
3086
  this.printSelectionSet(e), this.printStats(e), this.printPerformanceData();
3100
3087
  }
@@ -3110,20 +3097,20 @@ class Hl extends re {
3110
3097
  console.log("Geometry information in current drawing:");
3111
3098
  for (let i = 0; i < n.length; ++i) {
3112
3099
  console.group(`Layout: ${i}`);
3113
- const l = n[i], o = [0, 0, 0, 0, 0, 0], a = [0, 0, 0, 0, 0, 0], s = l.layers.map((r) => (o[0] = r.line.indexed.geometrySize / 1024, o[1] = r.line.nonIndexed.geometrySize / 1024, o[2] = r.mesh.indexed.geometrySize / 1024, o[3] = r.mesh.nonIndexed.geometrySize / 1024, o[4] = r.point.indexed.geometrySize / 1024, o[5] = r.point.nonIndexed.geometrySize / 1024, a[0] += o[0], a[1] += o[1], a[2] += o[2], a[3] += o[3], a[4] += o[4], a[5] += o[5], {
3114
- name: r.name,
3100
+ const l = n[i], o = [0, 0, 0, 0, 0, 0], a = [0, 0, 0, 0, 0, 0], r = l.layers.map((s) => (o[0] = s.line.indexed.geometrySize / 1024, o[1] = s.line.nonIndexed.geometrySize / 1024, o[2] = s.mesh.indexed.geometrySize / 1024, o[3] = s.mesh.nonIndexed.geometrySize / 1024, o[4] = s.point.indexed.geometrySize / 1024, o[5] = s.point.nonIndexed.geometrySize / 1024, a[0] += o[0], a[1] += o[1], a[2] += o[2], a[3] += o[3], a[4] += o[4], a[5] += o[5], {
3101
+ name: s.name,
3115
3102
  "idx line (KB)": o[0].toFixed(1),
3116
3103
  "line (KB)": o[1].toFixed(1),
3117
3104
  "idx mesh (KB)": o[2].toFixed(1),
3118
3105
  "mesh (KB)": o[3].toFixed(1),
3119
3106
  "idx point (KB)": o[4].toFixed(1),
3120
3107
  "point (KB)": o[5].toFixed(1),
3121
- "total geo (KB)": (r.summary.totalGeometrySize / 1024).toFixed(1),
3122
- "total mapping (KB)": (r.summary.totalMappingSize / 1024).toFixed(
3108
+ "total geo (KB)": (s.summary.totalGeometrySize / 1024).toFixed(1),
3109
+ "total mapping (KB)": (s.summary.totalMappingSize / 1024).toFixed(
3123
3110
  1
3124
3111
  )
3125
3112
  }));
3126
- s.push({
3113
+ r.push({
3127
3114
  name: "total",
3128
3115
  "idx line (KB)": a[0].toFixed(1),
3129
3116
  "line (KB)": a[1].toFixed(1),
@@ -3135,61 +3122,61 @@ class Hl extends re {
3135
3122
  "total mapping (KB)": (l.summary.totalSize.mapping / 1024).toFixed(
3136
3123
  1
3137
3124
  )
3138
- }), console.table(s), console.groupEnd();
3125
+ }), console.table(r), console.groupEnd();
3139
3126
  }
3140
3127
  }
3141
3128
  printPerformanceData() {
3142
3129
  qe.getInstance().printAll();
3143
3130
  }
3144
3131
  }
3145
- class Gl extends re {
3132
+ class Hl extends re {
3146
3133
  execute(e) {
3147
3134
  const { toggleDialog: n } = oe();
3148
3135
  n("ReplacementDlg", !0);
3149
3136
  }
3150
3137
  }
3151
- class Wl extends re {
3138
+ class Gl extends re {
3152
3139
  execute(e) {
3153
3140
  const { toggleDialog: n } = oe();
3154
3141
  n("PointStyleDlg", !0);
3155
3142
  }
3156
3143
  }
3157
3144
  export {
3158
- Nl as AcApLayerStateCmd,
3159
- Hl as AcApLogCmd,
3160
- Gl as AcApMissedDataCmd,
3161
- Wl as AcApPointStyleCmd,
3162
- $e as MlBaseDialog,
3163
- ma as MlCadViewer,
3164
- nl as MlCommandLine,
3165
- Et as MlDialogManager,
3166
- ll as MlEntityInfo,
3145
+ Ol as AcApLayerStateCmd,
3146
+ Nl as AcApLogCmd,
3147
+ Hl as AcApMissedDataCmd,
3148
+ Gl as AcApPointStyleCmd,
3149
+ Ee as MlBaseDialog,
3150
+ da as MlCadViewer,
3151
+ tl as MlCommandLine,
3152
+ Tt as MlDialogManager,
3153
+ ol as MlEntityInfo,
3167
3154
  Vt as MlFileReader,
3168
- il as MlLanguageSelector,
3169
- Jo as MlLayerManager,
3170
- bl as MlMainMenu,
3171
- ro as MlPointStyleDlg,
3172
- It as MlReplacementDlg,
3173
- Il as MlStatusBar,
3174
- Ie as MlToggleButton,
3175
- kl as MlToolBars,
3176
- he as cmdDescription,
3177
- Dt as colorName,
3178
- Bt as conversionSubStageName,
3179
- zt as entityName,
3155
+ al as MlLanguageSelector,
3156
+ Zo as MlLayerManager,
3157
+ yl as MlMainMenu,
3158
+ io as MlPointStyleDlg,
3159
+ At as MlReplacementDlg,
3160
+ Al as MlStatusBar,
3161
+ Ae as MlToggleButton,
3162
+ xl as MlToolBars,
3163
+ fe as cmdDescription,
3164
+ zt as colorName,
3165
+ Dt as conversionSubStageName,
3166
+ Lt as entityName,
3180
3167
  J as i18n,
3181
3168
  ae as isDark,
3182
- ua as sysCmdDescription,
3183
- vt as toggleDark,
3184
- mt as useCommands,
3185
- pt as useCurrentPos,
3169
+ ca as sysCmdDescription,
3170
+ pt as toggleDark,
3171
+ dt as useCommands,
3172
+ mt as useCurrentPos,
3186
3173
  oe as useDialogManager,
3187
- gt as useFileTypes,
3188
- ft as useLayers,
3189
- ht as useLayouts,
3174
+ vt as useFileTypes,
3175
+ gt as useLayers,
3176
+ ft as useLayouts,
3190
3177
  Ve as useLocale,
3191
- Ae as useMissedData,
3178
+ $e as useMissedData,
3192
3179
  ce as useSettings,
3193
- Tt as useSystemVars,
3194
- da as userCmdDescription
3180
+ Bt as useSystemVars,
3181
+ ua as userCmdDescription
3195
3182
  };