@mlightcad/cad-viewer 1.1.11 → 1.2.0

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.
Files changed (31) hide show
  1. package/README.md +50 -0
  2. package/dist/component/MlCadViewer.vue.d.ts +5 -0
  3. package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
  4. package/dist/component/common/MlFileReader.vue.d.ts.map +1 -1
  5. package/dist/component/index.d.ts +1 -0
  6. package/dist/component/index.d.ts.map +1 -1
  7. package/dist/component/notification/MlNotificationCenter.vue.d.ts +20 -0
  8. package/dist/component/notification/MlNotificationCenter.vue.d.ts.map +1 -0
  9. package/dist/component/notification/MlNotificationItem.vue.d.ts +22 -0
  10. package/dist/component/notification/MlNotificationItem.vue.d.ts.map +1 -0
  11. package/dist/component/notification/index.d.ts +3 -0
  12. package/dist/component/notification/index.d.ts.map +1 -0
  13. package/dist/component/statusBar/MlNotificationButton.vue.d.ts +7 -0
  14. package/dist/component/statusBar/MlNotificationButton.vue.d.ts.map +1 -0
  15. package/dist/component/statusBar/MlStatusBar.vue.d.ts +5 -1
  16. package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
  17. package/dist/composable/index.d.ts +2 -0
  18. package/dist/composable/index.d.ts.map +1 -1
  19. package/dist/composable/useIsMobile.d.ts +4 -0
  20. package/dist/composable/useIsMobile.d.ts.map +1 -0
  21. package/dist/composable/useNotificationCenter.d.ts +88 -0
  22. package/dist/composable/useNotificationCenter.d.ts.map +1 -0
  23. package/dist/index.css +1 -1
  24. package/dist/index.js +1644 -1139
  25. package/dist/locale/en/main.d.ts +24 -1
  26. package/dist/locale/en/main.d.ts.map +1 -1
  27. package/dist/locale/i18n.d.ts +48 -2
  28. package/dist/locale/i18n.d.ts.map +1 -1
  29. package/dist/locale/zh/main.d.ts +24 -1
  30. package/dist/locale/zh/main.d.ts.map +1 -1
  31. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./index.css";
2
- import { AcEdCommandStack as W, AcApDocManager as T, eventBus as Y, AcApSettingManager as K, AcApConvertToSvgCmd as Ae, AcApQNewCmd as Fe, AcApOpenCmd as Ie, registerWorkers as Re, AcEdCommand as re } from "@mlightcad/cad-simple-viewer";
2
+ import { AcEdCommandStack as q, AcApDocManager as E, eventBus as X, AcApSettingManager as Q, AcApConvertToSvgCmd as Oe, AcApQNewCmd as Re, AcApOpenCmd as He, registerWorkers as Ge, AcEdCommand as ce } from "@mlightcad/cad-simple-viewer";
3
3
  import "element-plus/dist/index.css";
4
- import { reactive as U, computed as k, defineComponent as L, onMounted as H, resolveComponent as M, createBlock as C, openBlock as u, unref as g, withCtx as p, renderSlot as ie, createVNode as v, createTextVNode as F, toDisplayString as D, createElementVNode as d, ref as x, onUnmounted as te, watch as E, createElementBlock as y, Fragment as j, renderList as X, resolveDynamicComponent as ge, mergeProps as Pe, mergeModels as J, useCssVars as Se, useModel as ve, createCommentVNode as q, normalizeStyle as pe, normalizeClass as Ce, pushScopeId as Le, popScopeId as ze, onBeforeUnmount as De, withKeys as Ne, isRef as Oe, markRaw as he } from "vue";
5
- import { AcDbDatabaseConverterManager as He, acdbHostApplicationServices as Be, AcCmPerformanceCollector as Ge } from "@mlightcad/data-model";
6
- import { useDark as We, useToggle as qe, useFullscreen as Ue } from "@vueuse/core";
7
- import je from "element-plus/es/locale/lang/en";
8
- import Ye from "element-plus/es/locale/lang/zh-cn";
9
- import { useI18n as P, createI18n as Ke } from "vue-i18n";
10
- import { ElDialog as Xe, ElButton as _e, ElTable as Qe, ElAutocomplete as Ze, ElProgress as Je, ElLoading as we, ElMessage as Q } from "element-plus";
11
- import { ElIcon as se, ElDropdown as et, ElDropdownMenu as tt, ElDropdownItem as nt, ElButtonGroup as ot, ElTooltip as lt, ElButton as at } from "element-plus/es";
4
+ import { reactive as Y, computed as M, defineComponent as S, onMounted as U, resolveComponent as C, createBlock as z, openBlock as u, unref as d, withCtx as f, renderSlot as re, createVNode as m, createTextVNode as N, toDisplayString as T, createElementVNode as c, ref as x, onUnmounted as ne, watch as A, createElementBlock as _, Fragment as j, renderList as K, resolveDynamicComponent as ue, mergeProps as We, mergeModels as ee, useCssVars as De, useModel as _e, createCommentVNode as R, normalizeStyle as ge, normalizeClass as we, pushScopeId as Te, popScopeId as $e, onBeforeUnmount as Ee, withKeys as Ue, isRef as qe, markRaw as be } from "vue";
5
+ import { AcDbDatabaseConverterManager as je, acdbHostApplicationServices as Ae, AcCmPerformanceCollector as Ye } from "@mlightcad/data-model";
6
+ import { useDark as Ke, useToggle as Xe, useMediaQuery as Qe, useFullscreen as Ze } from "@vueuse/core";
7
+ import Je from "element-plus/es/locale/lang/en";
8
+ import et from "element-plus/es/locale/lang/zh-cn";
9
+ import { useI18n as O, createI18n as tt } from "vue-i18n";
10
+ import { ElDialog as nt, ElButton as xe, ElTable as ot, ElAutocomplete as lt, ElProgress as at, ElLoading as ke, ElMessage as oe } from "element-plus";
11
+ import { ElIcon as de, ElDropdown as it, ElDropdownMenu as st, ElDropdownItem as rt, ElButtonGroup as ct, ElTooltip as ut, ElButton as dt } 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 = U([]);
21
- function it(t) {
22
- ne.find((n) => n.name === t.name) || ne.push({ ...t, visible: !1 });
20
+ const le = Y([]);
21
+ function mt(t) {
22
+ le.find((n) => n.name === t.name) || le.push({ ...t, visible: !1 });
23
23
  }
24
- function rt(t, e) {
25
- const n = ne.find((i) => i.name === t);
24
+ function pt(t, e) {
25
+ const n = le.find((i) => i.name === t);
26
26
  n && (n.visible = e);
27
27
  }
28
- function st(t) {
29
- return ne.find((e) => e.name === t);
28
+ function ft(t) {
29
+ return le.find((e) => e.name === t);
30
30
  }
31
- function oe() {
31
+ function ae() {
32
32
  return {
33
- dialogs: k(() => ne),
34
- registerDialog: it,
35
- toggleDialog: rt,
36
- getDialogByName: st
33
+ dialogs: M(() => le),
34
+ registerDialog: mt,
35
+ toggleDialog: pt,
36
+ getDialogByName: ft
37
37
  };
38
38
  }
39
- const ct = /* @__PURE__ */ L({
39
+ const vt = /* @__PURE__ */ S({
40
40
  __name: "MlBaseDialog",
41
41
  props: {
42
42
  title: {
@@ -62,64 +62,64 @@ const ct = /* @__PURE__ */ L({
62
62
  },
63
63
  emits: ["update:modelValue", "ok", "cancel"],
64
64
  setup(t, { emit: e }) {
65
- const { t: n } = P(), i = t, l = e, { registerDialog: o } = oe();
65
+ const { t: n } = O(), i = t, l = e, { registerDialog: o } = ae();
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
- return H(() => {
72
+ return U(() => {
73
73
  o({
74
74
  name: i.name,
75
75
  component: "BaseDialog",
76
76
  props: i.props
77
77
  });
78
- }), (r, c) => {
79
- const w = M("el-divider");
80
- return u(), C(g(Xe), {
78
+ }), (s, p) => {
79
+ const g = C("el-divider");
80
+ return u(), z(d(nt), {
81
81
  "model-value": t.modelValue,
82
82
  width: t.width,
83
83
  close: "handleCancel",
84
84
  class: "ml-dialog"
85
85
  }, {
86
- header: p(() => [
87
- d("div", null, D(t.title), 1),
88
- v(w, { class: "ml-dialog-header-bottom-line" })
86
+ header: f(() => [
87
+ c("div", null, T(t.title), 1),
88
+ m(g, { class: "ml-dialog-header-bottom-line" })
89
89
  ]),
90
- footer: p(() => [
91
- v(w, { class: "ml-dialog-footer-top-line" }),
92
- v(g(_e), { onClick: s }, {
93
- default: p(() => [
94
- F(D(g(n)("dialog.baseDialog.cancel")), 1)
90
+ footer: f(() => [
91
+ m(g, { class: "ml-dialog-footer-top-line" }),
92
+ m(d(xe), { onClick: r }, {
93
+ default: f(() => [
94
+ N(T(d(n)("dialog.baseDialog.cancel")), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }),
98
- v(g(_e), {
98
+ m(d(xe), {
99
99
  type: "primary",
100
100
  onClick: a
101
101
  }, {
102
- default: p(() => [
103
- F(D(g(n)("dialog.baseDialog.ok")), 1)
102
+ default: f(() => [
103
+ N(T(d(n)("dialog.baseDialog.ok")), 1)
104
104
  ]),
105
105
  _: 1
106
106
  })
107
107
  ]),
108
- default: p(() => [
109
- ie(r.$slots, "default", {}, void 0, !0)
108
+ default: f(() => [
109
+ re(s.$slots, "default", {}, void 0, !0)
110
110
  ]),
111
111
  _: 3
112
112
  }, 8, ["model-value", "width"]);
113
113
  };
114
114
  }
115
- }), G = (t, e) => {
115
+ }), W = (t, e) => {
116
116
  const n = t.__vccOpts || t;
117
117
  for (const [i, l] of e)
118
118
  n[i] = l;
119
119
  return n;
120
- }, Te = /* @__PURE__ */ G(ct, [["__scopeId", "data-v-8df470d5"]]);
121
- function ut() {
122
- const t = U([]), e = W.instance.iterator();
120
+ }, Ve = /* @__PURE__ */ W(vt, [["__scopeId", "data-v-8df470d5"]]);
121
+ function gt() {
122
+ const t = Y([]), e = q.instance.iterator();
123
123
  for (const n of e)
124
124
  t.push({
125
125
  commandName: n.command.localName,
@@ -129,7 +129,7 @@ function ut() {
129
129
  (n, i) => n.commandName.toLowerCase().localeCompare(i.commandName.toLowerCase())
130
130
  ), t;
131
131
  }
132
- function ye(t, e = "en-US") {
132
+ function Me(t, e = "en-US") {
133
133
  const n = Math.abs(t);
134
134
  if (n !== 0 && (n < 1e-3 || n >= 1e6)) {
135
135
  const [i, l] = t.toExponential(3).split("e");
@@ -141,26 +141,26 @@ function ye(t, e = "en-US") {
141
141
  maximumFractionDigits: 6
142
142
  }).format(t);
143
143
  }
144
- function dt(t) {
144
+ function ht(t) {
145
145
  const e = x(0), n = x(0);
146
146
  function i(o) {
147
147
  e.value = o.x, n.value = o.y;
148
148
  }
149
- H(() => t.events.mouseMove.addEventListener(i)), te(() => t.events.mouseMove.removeEventListener(i));
150
- const l = k(() => `${ye(e.value)}, ${ye(n.value)}`);
149
+ U(() => t.events.mouseMove.addEventListener(i)), ne(() => t.events.mouseMove.removeEventListener(i));
150
+ const l = M(() => `${Me(e.value)}, ${Me(n.value)}`);
151
151
  return { x: e, y: n, text: l };
152
152
  }
153
- const ae = We(), mt = qe(ae);
154
- function pt() {
155
- const t = x(/* @__PURE__ */ new Set()), e = He.instance;
153
+ const se = Ke(), _t = Xe(se);
154
+ function wt() {
155
+ const t = x(/* @__PURE__ */ new Set()), e = je.instance;
156
156
  for (const n of e.fileTypes)
157
157
  t.value.add(n);
158
158
  return e.events.registered.addEventListener((n) => {
159
159
  t.value.add(n.fileType);
160
160
  }), t;
161
161
  }
162
- function gt(t) {
163
- const e = U([]), n = t.curDocument, i = (l) => {
162
+ function yt(t) {
163
+ const e = Y([]), n = t.curDocument, i = (l) => {
164
164
  const o = l.tables.layerTable.newIterator();
165
165
  for (const a of o)
166
166
  e.push({
@@ -189,8 +189,8 @@ function gt(t) {
189
189
  e.length = 0, i(l.doc.database);
190
190
  }), e;
191
191
  }
192
- function vt(t) {
193
- const e = U([]), n = t.curDocument, i = (l) => {
192
+ function bt(t) {
193
+ const e = Y([]), n = t.curDocument, i = (l) => {
194
194
  const o = l.dictionaries.layouts.newIterator();
195
195
  e.length = 0;
196
196
  for (const a of o)
@@ -200,11 +200,11 @@ function vt(t) {
200
200
  blockTableRecordId: a.blockTableRecordId,
201
201
  isActive: a.blockTableRecordId == l.currentSpaceId
202
202
  });
203
- e.sort((a, s) => a.tabOrder - s.tabOrder);
203
+ e.sort((a, r) => a.tabOrder - r.tabOrder);
204
204
  };
205
205
  return i(n.database), t.events.documentActivated.addEventListener((l) => {
206
206
  e.length = 0, i(l.doc.database);
207
- }), Be().layoutManager.events.layoutSwitched.addEventListener(
207
+ }), Ae().layoutManager.events.layoutSwitched.addEventListener(
208
208
  (l) => {
209
209
  const o = l.layout;
210
210
  e.forEach((a) => {
@@ -213,7 +213,7 @@ function vt(t) {
213
213
  }
214
214
  ), e;
215
215
  }
216
- const ft = {
216
+ const xt = {
217
217
  ACAD: {
218
218
  csvg: "Converts current drawing to SVG",
219
219
  la: "Layer properties manager",
@@ -228,7 +228,7 @@ const ft = {
228
228
  zoomw: "Zooms to display an area specified by a rectangular window"
229
229
  },
230
230
  USER: {}
231
- }, ht = {
231
+ }, kt = {
232
232
  baseDialog: {
233
233
  ok: "OK",
234
234
  cancel: "Cancel"
@@ -247,7 +247,7 @@ const ft = {
247
247
  title: "Point Style",
248
248
  pointSize: "Point Size:"
249
249
  }
250
- }, _t = {
250
+ }, Mt = {
251
251
  entityName: {
252
252
  "3PointAngularDimension": "Three Point Angular Dimension",
253
253
  AlignedDimension: "Aligned Dimension",
@@ -421,7 +421,7 @@ const ft = {
421
421
  yellow: "Yellow",
422
422
  yellowgreen: "Yellow Green"
423
423
  }
424
- }, wt = {
424
+ }, Ct = {
425
425
  mainMenu: {
426
426
  new: "New Drawing",
427
427
  open: "Open Drawing",
@@ -489,6 +489,9 @@ const ft = {
489
489
  },
490
490
  warning: {
491
491
  font: "The following fonts are not found!"
492
+ },
493
+ notification: {
494
+ tooltip: "Show notifications"
492
495
  }
493
496
  },
494
497
  toolPalette: {
@@ -509,13 +512,33 @@ const ft = {
509
512
  message: {
510
513
  loadingFonts: "Loading fonts ...",
511
514
  loadingDwgConverter: "Loading DWG converter...",
512
- fontNotLoaded: 'Font "{fontName}" can not be loaded from "{url}"!',
515
+ fontsNotFound: 'Fonts "{fonts}" can not be found in font repository!',
516
+ fontsNotLoaded: 'Fonts "{fonts}" can not be loaded!',
513
517
  failedToGetAvaiableFonts: 'Failed to get avaiable fonts from "{url}"!',
514
518
  failedToOpenFile: 'Failed to open file "{fileName}"!',
515
519
  fetchingDrawingFile: "Fetching file ...",
516
520
  unknownEntities: "This drawing contains {count} unknown or unsupported entities! Those entities will not be shown."
521
+ },
522
+ notification: {
523
+ center: {
524
+ title: "Notifications",
525
+ clearAll: "Clear All",
526
+ noNotifications: "No notifications"
527
+ },
528
+ time: {
529
+ justNow: "Just now",
530
+ minutesAgo: "{count} minute ago | {count} minutes ago",
531
+ hoursAgo: "{count} hour ago | {count} hours ago",
532
+ daysAgo: "{count} day ago | {count} days ago"
533
+ },
534
+ title: {
535
+ failedToOpenFile: "Failed to Open File",
536
+ fontNotFound: "Font Not Found",
537
+ fontNotLoaded: "Font Not Loaded",
538
+ parsingWarning: "Issues on Parsing Drawing"
539
+ }
517
540
  }
518
- }, yt = {
541
+ }, St = {
519
542
  ACAD: {
520
543
  csvg: "转换当前图纸为SVG格式",
521
544
  la: "图层属性管理器",
@@ -530,7 +553,7 @@ const ft = {
530
553
  zoomw: "缩放以显示矩形窗口内的对象"
531
554
  },
532
555
  USER: {}
533
- }, bt = {
556
+ }, Lt = {
534
557
  baseDialog: {
535
558
  ok: "确定",
536
559
  cancel: "取消"
@@ -549,7 +572,7 @@ const ft = {
549
572
  title: "点样式",
550
573
  pointSize: "点大小:"
551
574
  }
552
- }, xt = {
575
+ }, zt = {
553
576
  entityName: {
554
577
  "3PointAngularDimension": "三点角度标注",
555
578
  AlignedDimension: "线性标注",
@@ -723,7 +746,7 @@ const ft = {
723
746
  yellow: "黄色",
724
747
  yellowgreen: "黄绿色"
725
748
  }
726
- }, kt = {
749
+ }, Bt = {
727
750
  mainMenu: {
728
751
  new: "新建图纸",
729
752
  open: "打开图纸",
@@ -791,6 +814,9 @@ const ft = {
791
814
  },
792
815
  warning: {
793
816
  font: "没有找到如下字体:"
817
+ },
818
+ notification: {
819
+ tooltip: "显示通知"
794
820
  }
795
821
  },
796
822
  toolPalette: {
@@ -811,119 +837,233 @@ const ft = {
811
837
  message: {
812
838
  loadingFonts: "正在加载字体...",
813
839
  loadingDwgConverter: "正在加载DWG转换器...",
814
- fontNotLoaded: '无法从"{url}"加载字体"{fontName}"!',
840
+ fontsNotFound: "在字体库中找不到字体:{fonts}",
841
+ fontsNotLoaded: "无法加载字体:{fonts}。",
815
842
  failedToGetAvaiableFonts: '无法从"{url}"获取可用的字体信息!',
816
843
  failedToOpenFile: '无法打开文件"{fileName}"!',
817
844
  fetchingDrawingFile: "正在加载图纸文件...",
818
845
  unknownEntities: "这张图纸中包含了{count}个未知或不支持的实体,这些实体将无法显示!"
846
+ },
847
+ notification: {
848
+ center: {
849
+ title: "通知",
850
+ clearAll: "清除全部",
851
+ noNotifications: "暂无通知"
852
+ },
853
+ time: {
854
+ justNow: "刚刚",
855
+ minutesAgo: "{count} 分钟前",
856
+ hoursAgo: "{count} 小时前",
857
+ daysAgo: "{count} 天前"
858
+ },
859
+ title: {
860
+ failedToOpenFile: "无法打开文件",
861
+ fontNotFound: "找不到字体",
862
+ fontNotLoaded: "无法加载字体",
863
+ parsingWarning: "解析图纸问题"
864
+ }
819
865
  }
820
- }, Mt = () => {
866
+ }, Dt = () => {
821
867
  const t = localStorage.getItem("preferred_lang");
822
868
  return t === "en" || t === "zh" ? t : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
823
- }, St = {
869
+ }, Tt = {
824
870
  en: {
825
- main: wt,
826
- command: ft,
827
- dialog: ht,
828
- entity: _t
871
+ main: Ct,
872
+ command: xt,
873
+ dialog: kt,
874
+ entity: Mt
829
875
  },
830
876
  zh: {
831
- main: kt,
832
- command: yt,
833
- dialog: bt,
834
- entity: xt
877
+ main: Bt,
878
+ command: St,
879
+ dialog: Lt,
880
+ entity: zt
835
881
  }
836
- }, ee = Ke({
882
+ }, te = tt({
837
883
  legacy: !1,
838
- messages: St,
839
- locale: Mt(),
884
+ messages: Tt,
885
+ locale: Dt(),
840
886
  fallbackLocale: "en",
841
887
  allowComposition: !0,
842
888
  globalInjection: !0
843
- }), fe = (t, e) => {
844
- const n = ee.global.t, i = `command.${t}.${e}`;
889
+ }), ye = (t, e) => {
890
+ const n = te.global.t, i = `command.${t}.${e}`;
845
891
  return n(i, "");
846
- }, ca = (t) => fe(W.SYSTEMT_COMMAND_GROUP_NAME, t), ua = (t) => fe(W.DEFAUT_COMMAND_GROUP_NAME, t), Ct = (t) => {
847
- const e = ee.global.t, n = "entity.entityName." + t.type;
892
+ }, Ka = (t) => ye(q.SYSTEMT_COMMAND_GROUP_NAME, t), Xa = (t) => ye(q.DEFAUT_COMMAND_GROUP_NAME, t), $t = (t) => {
893
+ const e = te.global.t, n = "entity.entityName." + t.type;
848
894
  return e(n, t.type, { missingWarn: !1 });
849
- }, Lt = (t) => {
895
+ }, Et = (t) => {
850
896
  if (t == "ByLayer" || t == "ByBlock")
851
897
  return t;
852
898
  {
853
- const e = ee.global.t, n = "entity.color." + t;
899
+ const e = te.global.t, n = "entity.color." + t;
854
900
  return e(n, t, { missingWarn: !1 });
855
901
  }
856
- }, zt = (t) => {
857
- const e = ee.global.t, n = "main.progress." + t.replace(/_/g, "").toLowerCase();
902
+ }, At = (t) => {
903
+ const e = te.global.t, n = "main.progress." + t.replace(/_/g, "").toLowerCase();
858
904
  return e(n, t);
859
- }, me = "preferred_lang";
860
- function Ee(t) {
861
- const { locale: e } = P(), i = x((() => {
862
- const r = localStorage.getItem(me);
863
- return r === "en" || r === "zh" ? r : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
864
- })()), l = k(() => i.value), o = (r) => {
865
- ee.global.locale.value = r, i.value = r, (!t || t === "default") && localStorage.setItem(me, r);
905
+ }, ve = "preferred_lang";
906
+ function Fe(t) {
907
+ const { locale: e } = O(), i = x((() => {
908
+ const s = localStorage.getItem(ve);
909
+ return s === "en" || s === "zh" ? s : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
910
+ })()), l = M(() => i.value), o = (s) => {
911
+ te.global.locale.value = s, i.value = s, (!t || t === "default") && localStorage.setItem(ve, s);
866
912
  }, a = () => {
867
- localStorage.removeItem(me);
913
+ localStorage.removeItem(ve);
868
914
  };
869
- t && E(
915
+ t && A(
870
916
  () => t,
871
- (r) => {
872
- r && r !== "default" && (i.value = r, ee.global.locale.value = r, a());
917
+ (s) => {
918
+ s && s !== "default" && (i.value = s, te.global.locale.value = s, a());
873
919
  },
874
920
  { immediate: !0 }
875
- ), E(
921
+ ), A(
876
922
  () => e.value,
877
- (r) => {
923
+ (s) => {
878
924
  if (!t || t === "default") {
879
- const c = r === "zh" ? "zh" : "en";
880
- i.value = c;
925
+ const p = s === "zh" ? "zh" : "en";
926
+ i.value = p;
881
927
  }
882
928
  }
883
929
  );
884
- const s = k(() => l.value === "en" ? je : Ye);
930
+ const r = M(() => l.value === "en" ? Je : et);
885
931
  return {
886
932
  currentLocale: i,
887
933
  effectiveLocale: l,
888
- elementPlusLocale: s,
934
+ elementPlusLocale: r,
889
935
  setLocale: o,
890
936
  clearStoragePreference: a,
891
- isControlled: k(() => !!(t && t !== "default"))
937
+ isControlled: M(() => !!(t && t !== "default"))
892
938
  };
893
939
  }
894
- function $e() {
895
- const t = U(/* @__PURE__ */ new Map()), e = U(/* @__PURE__ */ new Map()), n = () => {
896
- const i = T.instance.curView.missedData, l = K.instance.fontMapping;
940
+ function Ne() {
941
+ const t = Y(/* @__PURE__ */ new Map()), e = Y(/* @__PURE__ */ new Map()), n = () => {
942
+ const i = E.instance.curView.missedData, l = Q.instance.fontMapping;
897
943
  t.clear(), Object.keys(i.fonts).forEach((o) => {
898
944
  const a = l[o];
899
945
  t.set(o, a || "");
900
946
  }), e.clear(), i.images.forEach((o, a) => {
901
- const s = e.get(o);
902
- s ? s.ids.add(a) : e.set(o, {
947
+ const r = e.get(o);
948
+ r ? r.ids.add(a) : e.set(o, {
903
949
  fileName: o,
904
950
  ids: /* @__PURE__ */ new Set([a])
905
951
  });
906
952
  });
907
953
  };
908
- return T.instance.events.documentActivated.addEventListener(() => {
954
+ return E.instance.events.documentActivated.addEventListener(() => {
909
955
  n();
910
- }), Y.on("font-not-found", (i) => {
956
+ }), X.on("font-not-found", (i) => {
911
957
  n();
912
958
  }), {
913
959
  fonts: t,
914
960
  images: e
915
961
  };
916
962
  }
917
- function ce() {
918
- const t = U(
919
- K.instance.settings
963
+ class Vt {
964
+ constructor() {
965
+ this.notifications = x([]), this.nextId = 1;
966
+ }
967
+ get allNotifications() {
968
+ return M(() => this.notifications.value);
969
+ }
970
+ get unreadCount() {
971
+ return M(() => this.notifications.value.length);
972
+ }
973
+ get hasNotifications() {
974
+ return M(() => this.notifications.value.length > 0);
975
+ }
976
+ add(e) {
977
+ const n = {
978
+ ...e,
979
+ id: `notification-${this.nextId++}`,
980
+ timestamp: /* @__PURE__ */ new Date()
981
+ };
982
+ return this.notifications.value.unshift(n), n.id;
983
+ }
984
+ remove(e) {
985
+ const n = this.notifications.value.findIndex((i) => i.id === e);
986
+ n > -1 && this.notifications.value.splice(n, 1);
987
+ }
988
+ clear() {
989
+ this.notifications.value = [];
990
+ }
991
+ clearAll() {
992
+ this.clear();
993
+ }
994
+ // Convenience methods for different notification types
995
+ info(e, n, i) {
996
+ return this.add({
997
+ type: "info",
998
+ title: e,
999
+ message: n,
1000
+ ...i
1001
+ });
1002
+ }
1003
+ warning(e, n, i) {
1004
+ return this.add({
1005
+ type: "warning",
1006
+ title: e,
1007
+ message: n,
1008
+ ...i
1009
+ });
1010
+ }
1011
+ error(e, n, i) {
1012
+ return this.add({
1013
+ type: "error",
1014
+ title: e,
1015
+ message: n,
1016
+ persistent: !0,
1017
+ // Errors are persistent by default
1018
+ ...i
1019
+ });
1020
+ }
1021
+ success(e, n, i) {
1022
+ return this.add({
1023
+ type: "success",
1024
+ title: e,
1025
+ message: n,
1026
+ ...i
1027
+ });
1028
+ }
1029
+ }
1030
+ const I = new Vt();
1031
+ function me() {
1032
+ return {
1033
+ /** Reactive list of all notifications */
1034
+ notifications: I.allNotifications,
1035
+ /** Reactive count of unread notifications */
1036
+ unreadCount: I.unreadCount,
1037
+ /** Reactive boolean indicating if there are any notifications */
1038
+ hasNotifications: I.hasNotifications,
1039
+ /** Add a custom notification */
1040
+ add: I.add.bind(I),
1041
+ /** Remove a notification by ID */
1042
+ remove: I.remove.bind(I),
1043
+ /** Clear all notifications */
1044
+ clear: I.clear.bind(I),
1045
+ /** Clear all notifications (alias for clear) */
1046
+ clearAll: I.clearAll.bind(I),
1047
+ /** Add an info notification */
1048
+ info: I.info.bind(I),
1049
+ /** Add a warning notification */
1050
+ warning: I.warning.bind(I),
1051
+ /** Add an error notification */
1052
+ error: I.error.bind(I),
1053
+ /** Add a success notification */
1054
+ success: I.success.bind(I)
1055
+ };
1056
+ }
1057
+ function pe() {
1058
+ const t = Y(
1059
+ Q.instance.settings
920
1060
  );
921
- return K.instance.events.modified.addEventListener((e) => {
1061
+ return Q.instance.events.modified.addEventListener((e) => {
922
1062
  t[e.key] = e.value;
923
1063
  }), t;
924
1064
  }
925
- function Dt(t) {
926
- const e = U({}), n = t.curDocument, i = (l) => {
1065
+ function Ft(t) {
1066
+ const e = Y({}), n = t.curDocument, i = (l) => {
927
1067
  e.pdmode = l.pdmode, e.pdmode = l.pdsize;
928
1068
  };
929
1069
  return i(n.database), n.database.events.headerSysVarChanged.addEventListener((l) => {
@@ -932,188 +1072,204 @@ function Dt(t) {
932
1072
  i(l.doc.database);
933
1073
  }), e;
934
1074
  }
935
- const Bt = /* @__PURE__ */ L({
1075
+ function Nt() {
1076
+ const t = Qe("(max-width: 768px)"), e = x(!1), n = x(!1);
1077
+ return U(() => {
1078
+ var l;
1079
+ try {
1080
+ const o = window.navigator, a = o.maxTouchPoints ?? o.msMaxTouchPoints ?? 0, r = ((l = window.matchMedia) == null ? void 0 : l.call(window, "(pointer: coarse)").matches) ?? !1;
1081
+ e.value = a > 0 || r || "ontouchstart" in window;
1082
+ const s = o.userAgent || "";
1083
+ n.value = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
1084
+ s
1085
+ );
1086
+ } catch {
1087
+ e.value = !1, n.value = !1;
1088
+ }
1089
+ }), { isMobile: M(() => !!t.value && (e.value || n.value)) };
1090
+ }
1091
+ const It = /* @__PURE__ */ S({
936
1092
  __name: "MlDialogManager",
937
1093
  setup(t, { expose: e }) {
938
- const { dialogs: n, toggleDialog: i, registerDialog: l } = oe();
1094
+ const { dialogs: n, toggleDialog: i, registerDialog: l } = ae();
939
1095
  return e({
940
1096
  toggleDialog: i,
941
1097
  registerDialog: l
942
- }), (o, a) => (u(!0), y(j, null, X(g(n), (s) => (u(), y("div", {
943
- key: s.name
1098
+ }), (o, a) => (u(!0), _(j, null, K(d(n), (r) => (u(), _("div", {
1099
+ key: r.name
944
1100
  }, [
945
- (u(), C(ge(s.component), Pe({
946
- modelValue: s.visible,
947
- "onUpdate:modelValue": (r) => s.visible = r
948
- }, { ref_for: !0 }, s.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
1101
+ (u(), z(ue(r.component), We({
1102
+ modelValue: r.visible,
1103
+ "onUpdate:modelValue": (s) => r.visible = s
1104
+ }, { ref_for: !0 }, r.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
949
1105
  ]))), 128));
950
1106
  }
951
- }), Tt = ["accept"], Et = /* @__PURE__ */ L({
1107
+ }), Pt = ["accept"], Ot = /* @__PURE__ */ S({
952
1108
  __name: "MlFileReader",
953
1109
  emits: ["file-read"],
954
1110
  setup(t, { emit: e }) {
955
- const n = e, i = x(null), l = pt(), o = k(() => {
956
- const s = Array.from(l.value);
957
- let r = "";
958
- for (let c = 0, w = s.length; c < w; ++c)
959
- c == w - 1 ? r += `.${s[c]}` : r += `.${s[c]}, `;
960
- return r;
1111
+ const n = e, i = x(null), l = wt(), o = M(() => {
1112
+ const r = Array.from(l.value);
1113
+ let s = "";
1114
+ for (let p = 0, g = r.length; p < g; ++p)
1115
+ p == g - 1 ? s += `.${r[p]}` : s += `.${r[p]}, `;
1116
+ return s;
961
1117
  });
962
- H(() => {
963
- Y.on("open-file", () => {
964
- var s;
965
- (s = i.value) == null || s.click();
1118
+ U(() => {
1119
+ X.on("open-file", () => {
1120
+ var r;
1121
+ (r = i.value) == null || r.click();
966
1122
  });
967
1123
  });
968
- const a = (s) => {
969
- var w, f;
970
- const c = (w = s.target.files) == null ? void 0 : w[0];
971
- if (c && c.name) {
972
- const m = (f = c.name.split(".").pop()) == null ? void 0 : f.toLocaleLowerCase(), h = new FileReader();
973
- m == "dxf" ? h.readAsText(c) : m == "dwg" && h.readAsArrayBuffer(c), h.onload = (_) => {
974
- var S;
975
- const b = (S = _.target) == null ? void 0 : S.result;
976
- b && n("file-read", c.name, b);
977
- }, h.onerror = () => {
1124
+ const a = (r) => {
1125
+ var g;
1126
+ const p = (g = r.target.files) == null ? void 0 : g[0];
1127
+ if (p && p.name) {
1128
+ const b = new FileReader();
1129
+ b.readAsArrayBuffer(p), b.onload = (v) => {
1130
+ var w;
1131
+ const h = (w = v.target) == null ? void 0 : w.result;
1132
+ h && n("file-read", p.name, h);
1133
+ }, b.onerror = () => {
978
1134
  console.error("Failed to read the file.");
979
1135
  };
980
1136
  }
981
1137
  };
982
- return (s, r) => (u(), y("input", {
1138
+ return (r, s) => (u(), _("input", {
983
1139
  type: "file",
984
1140
  ref_key: "fileInput",
985
1141
  ref: i,
986
1142
  accept: o.value,
987
1143
  style: { display: "none" },
988
1144
  onChange: a
989
- }, null, 40, Tt));
1145
+ }, null, 40, Pt));
990
1146
  }
991
- }), $t = /* @__PURE__ */ L({
1147
+ }), Rt = /* @__PURE__ */ S({
992
1148
  __name: "MlToggleButton",
993
- props: /* @__PURE__ */ J({
1149
+ props: /* @__PURE__ */ ee({
994
1150
  size: { default: 30 },
995
1151
  data: {}
996
1152
  }, {
997
1153
  modelValue: { default: !1 },
998
1154
  modelModifiers: {}
999
1155
  }),
1000
- emits: /* @__PURE__ */ J(["click"], ["update:modelValue"]),
1156
+ emits: /* @__PURE__ */ ee(["click"], ["update:modelValue"]),
1001
1157
  setup(t, { emit: e }) {
1002
- Se((c) => ({
1158
+ De((p) => ({
1003
1159
  a97b120a: a.value
1004
1160
  }));
1005
- const n = t, i = ve(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 = () => {
1161
+ const n = t, i = _e(t, "modelValue"), l = e, o = M(() => i.value ? n.data.onIcon : n.data.offIcon), a = M(() => n.size + "px"), r = M(() => i.value ? n.data.onTooltip : n.data.offTooltip), s = () => {
1006
1162
  l("click", i.value);
1007
1163
  };
1008
- return (c, w) => {
1009
- const f = M("el-button"), m = M("el-tooltip");
1010
- return u(), C(m, {
1011
- content: s.value,
1164
+ return (p, g) => {
1165
+ const b = C("el-button"), v = C("el-tooltip");
1166
+ return u(), z(v, {
1167
+ content: r.value,
1012
1168
  "hide-after": 0
1013
1169
  }, {
1014
- default: p(() => [
1015
- v(f, {
1170
+ default: f(() => [
1171
+ m(b, {
1016
1172
  class: "ml-toggle-button",
1017
1173
  icon: o.value,
1018
- onClick: r
1174
+ onClick: s
1019
1175
  }, null, 8, ["icon"])
1020
1176
  ]),
1021
1177
  _: 1
1022
1178
  }, 8, ["content"]);
1023
1179
  };
1024
1180
  }
1025
- }), Ve = /* @__PURE__ */ G($t, [["__scopeId", "data-v-48d6b055"]]), Vt = /* @__PURE__ */ L({
1181
+ }), Ie = /* @__PURE__ */ W(Rt, [["__scopeId", "data-v-48d6b055"]]), Ht = /* @__PURE__ */ S({
1026
1182
  __name: "MlReplacementDlg",
1027
1183
  setup(t) {
1028
- const { t: e } = P(), { fonts: n, images: i } = $e(), l = x(!0), o = k(() => n.size > 0 ? "font" : "image"), a = x(null), s = k(() => T.instance.avaiableFonts.map((h) => h.name[0])), r = () => {
1029
- const m = T.instance.curDocument.database;
1030
- i.forEach((_) => {
1031
- _.file && _.ids.forEach((b) => {
1032
- const S = m.tables.blockTable.modelSpace.getIdAt(
1033
- b
1184
+ const { t: e } = O(), { fonts: n, images: i } = Ne(), l = x(!0), o = M(() => n.size > 0 ? "font" : "image"), a = x(null), r = M(() => E.instance.avaiableFonts.map((h) => h.name[0])), s = () => {
1185
+ const v = E.instance.curDocument.database;
1186
+ i.forEach((w) => {
1187
+ w.file && w.ids.forEach((k) => {
1188
+ const B = v.tables.blockTable.modelSpace.getIdAt(
1189
+ k
1034
1190
  );
1035
- S.image = _.file, S.triggerModifiedEvent();
1191
+ B.image = w.file, B.triggerModifiedEvent();
1036
1192
  });
1037
1193
  });
1038
- const h = K.instance;
1039
- n.forEach((_, b) => {
1040
- b && _ && h.setFontMapping(b, _);
1194
+ const h = Q.instance;
1195
+ n.forEach((w, k) => {
1196
+ k && w && h.setFontMapping(k, w);
1041
1197
  });
1042
- }, c = (m) => {
1198
+ }, p = (v) => {
1043
1199
  a.value && (a.value.click(), a.value.onchange = () => {
1044
- w(m);
1200
+ g(v);
1045
1201
  });
1046
- }, w = (m) => {
1047
- var _, b;
1048
- const h = (b = (_ = a.value) == null ? void 0 : _.files) == null ? void 0 : b[0];
1049
- h && (m.file = h);
1050
- }, f = (m, h) => {
1051
- n.set(m, h);
1202
+ }, g = (v) => {
1203
+ var w, k;
1204
+ const h = (k = (w = a.value) == null ? void 0 : w.files) == null ? void 0 : k[0];
1205
+ h && (v.file = h);
1206
+ }, b = (v, h) => {
1207
+ n.set(v, h);
1052
1208
  };
1053
- return (m, h) => {
1054
- const _ = M("el-col"), b = M("el-row"), S = M("el-option"), $ = M("el-select"), I = M("el-tab-pane"), V = M("el-table-column"), B = M("el-button"), N = M("el-table"), R = M("el-tabs");
1055
- return u(), C(Te, {
1056
- title: g(e)("dialog.replacementDlg.title"),
1209
+ return (v, h) => {
1210
+ const w = C("el-col"), k = C("el-row"), B = C("el-option"), V = C("el-select"), y = C("el-tab-pane"), L = C("el-table-column"), D = C("el-button"), H = C("el-table"), P = C("el-tabs");
1211
+ return u(), z(Ve, {
1212
+ title: d(e)("dialog.replacementDlg.title"),
1057
1213
  modelValue: l.value,
1058
- "onUpdate:modelValue": h[1] || (h[1] = (z) => l.value = z),
1214
+ "onUpdate:modelValue": h[1] || (h[1] = ($) => l.value = $),
1059
1215
  name: "ReplacementDlg",
1060
- onOk: r
1216
+ onOk: s
1061
1217
  }, {
1062
- default: p(() => [
1063
- v(R, {
1218
+ default: f(() => [
1219
+ m(P, {
1064
1220
  type: "card",
1065
1221
  modelValue: o.value,
1066
- "onUpdate:modelValue": h[0] || (h[0] = (z) => o.value = z)
1222
+ "onUpdate:modelValue": h[0] || (h[0] = ($) => o.value = $)
1067
1223
  }, {
1068
- default: p(() => [
1069
- g(n).size > 0 ? (u(), C(I, {
1224
+ default: f(() => [
1225
+ d(n).size > 0 ? (u(), z(y, {
1070
1226
  key: 0,
1071
- label: g(e)("dialog.replacementDlg.fontTabName"),
1227
+ label: d(e)("dialog.replacementDlg.fontTabName"),
1072
1228
  name: "font"
1073
1229
  }, {
1074
- default: p(() => [
1075
- d("div", null, [
1076
- v(b, null, {
1077
- default: p(() => [
1078
- v(_, { span: 12 }, {
1079
- default: p(() => [
1080
- d("span", null, D(g(e)("dialog.replacementDlg.missedFont")), 1)
1230
+ default: f(() => [
1231
+ c("div", null, [
1232
+ m(k, null, {
1233
+ default: f(() => [
1234
+ m(w, { span: 12 }, {
1235
+ default: f(() => [
1236
+ c("span", null, T(d(e)("dialog.replacementDlg.missedFont")), 1)
1081
1237
  ]),
1082
1238
  _: 1
1083
1239
  }),
1084
- v(_, { span: 12 }, {
1085
- default: p(() => [
1086
- d("span", null, D(g(e)("dialog.replacementDlg.replacedFont")), 1)
1240
+ m(w, { span: 12 }, {
1241
+ default: f(() => [
1242
+ c("span", null, T(d(e)("dialog.replacementDlg.replacedFont")), 1)
1087
1243
  ]),
1088
1244
  _: 1
1089
1245
  })
1090
1246
  ]),
1091
1247
  _: 1
1092
1248
  }),
1093
- (u(!0), y(j, null, X(g(n), ([z, A]) => (u(), C(b, {
1094
- key: z,
1249
+ (u(!0), _(j, null, K(d(n), ([$, F]) => (u(), z(k, {
1250
+ key: $,
1095
1251
  style: { "margin-top": "10px" }
1096
1252
  }, {
1097
- default: p(() => [
1098
- v(_, { span: 12 }, {
1099
- default: p(() => [
1100
- d("span", null, D(z), 1)
1253
+ default: f(() => [
1254
+ m(w, { span: 12 }, {
1255
+ default: f(() => [
1256
+ c("span", null, T($), 1)
1101
1257
  ]),
1102
1258
  _: 2
1103
1259
  }, 1024),
1104
- v(_, { span: 12 }, {
1105
- default: p(() => [
1106
- v($, {
1107
- "model-value": A,
1108
- placeholder: g(e)("dialog.replacementDlg.selectFont"),
1109
- "onUpdate:modelValue": (O) => f(z, O),
1260
+ m(w, { span: 12 }, {
1261
+ default: f(() => [
1262
+ m(V, {
1263
+ "model-value": F,
1264
+ placeholder: d(e)("dialog.replacementDlg.selectFont"),
1265
+ "onUpdate:modelValue": (G) => b($, G),
1110
1266
  style: { width: "100%" }
1111
1267
  }, {
1112
- default: p(() => [
1113
- (u(!0), y(j, null, X(s.value, (O, de) => (u(), C(S, {
1114
- key: de,
1115
- label: O,
1116
- value: O
1268
+ default: f(() => [
1269
+ (u(!0), _(j, null, K(r.value, (G, J) => (u(), z(B, {
1270
+ key: J,
1271
+ label: G,
1272
+ value: G
1117
1273
  }, null, 8, ["label", "value"]))), 128))
1118
1274
  ]),
1119
1275
  _: 2
@@ -1127,39 +1283,39 @@ const Bt = /* @__PURE__ */ L({
1127
1283
  ])
1128
1284
  ]),
1129
1285
  _: 1
1130
- }, 8, ["label"])) : q("", !0),
1131
- g(i).size > 0 ? (u(), C(I, {
1286
+ }, 8, ["label"])) : R("", !0),
1287
+ d(i).size > 0 ? (u(), z(y, {
1132
1288
  key: 1,
1133
- label: g(e)("dialog.replacementDlg.imageTabName"),
1289
+ label: d(e)("dialog.replacementDlg.imageTabName"),
1134
1290
  name: "image"
1135
1291
  }, {
1136
- default: p(() => [
1137
- v(N, {
1138
- data: Array.from(g(i).values()),
1292
+ default: f(() => [
1293
+ m(H, {
1294
+ data: Array.from(d(i).values()),
1139
1295
  style: { width: "100%" },
1140
1296
  "v-show": !1
1141
1297
  }, {
1142
- default: p(() => [
1143
- v(V, {
1144
- label: g(e)("dialog.replacementDlg.file"),
1298
+ default: f(() => [
1299
+ m(L, {
1300
+ label: d(e)("dialog.replacementDlg.file"),
1145
1301
  prop: "fileName",
1146
1302
  "min-width": 0,
1147
1303
  flex: 1
1148
1304
  }, null, 8, ["label"]),
1149
- v(V, {
1150
- label: g(e)("dialog.replacementDlg.replace"),
1305
+ m(L, {
1306
+ label: d(e)("dialog.replacementDlg.replace"),
1151
1307
  fixed: "right",
1152
1308
  width: "60"
1153
1309
  }, {
1154
- default: p(({ row: z }) => [
1155
- v(B, {
1310
+ default: f(({ row: $ }) => [
1311
+ m(D, {
1156
1312
  link: "",
1157
1313
  type: "primary",
1158
1314
  size: "small",
1159
- onClick: (A) => c(z)
1315
+ onClick: (F) => p($)
1160
1316
  }, {
1161
- default: p(() => h[2] || (h[2] = [
1162
- F(" ... ", -1)
1317
+ default: f(() => h[2] || (h[2] = [
1318
+ N(" ... ", -1)
1163
1319
  ])),
1164
1320
  _: 2,
1165
1321
  __: [2]
@@ -1170,17 +1326,17 @@ const Bt = /* @__PURE__ */ L({
1170
1326
  ]),
1171
1327
  _: 1
1172
1328
  }, 8, ["data"]),
1173
- d("input", {
1329
+ c("input", {
1174
1330
  type: "file",
1175
1331
  ref_key: "fileInput",
1176
1332
  ref: a,
1177
1333
  accept: ".png,.jpg,.jpeg",
1178
- onChange: w,
1334
+ onChange: g,
1179
1335
  style: { display: "none" }
1180
1336
  }, null, 544)
1181
1337
  ]),
1182
1338
  _: 1
1183
- }, 8, ["label"])) : q("", !0)
1339
+ }, 8, ["label"])) : R("", !0)
1184
1340
  ]),
1185
1341
  _: 1
1186
1342
  }, 8, ["modelValue"])
@@ -1189,29 +1345,29 @@ const Bt = /* @__PURE__ */ L({
1189
1345
  }, 8, ["title", "modelValue"]);
1190
1346
  };
1191
1347
  }
1192
- }), At = {
1348
+ }), Gt = {
1193
1349
  xmlns: "http://www.w3.org/2000/svg",
1194
1350
  width: "1em",
1195
1351
  height: "1em",
1196
1352
  viewBox: "0 0 15 15"
1197
1353
  };
1198
- function Ft(t, e) {
1199
- return u(), y("svg", At, e[0] || (e[0] = [
1200
- d("path", {
1354
+ function Wt(t, e) {
1355
+ return u(), _("svg", Gt, e[0] || (e[0] = [
1356
+ c("path", {
1201
1357
  fill: "currentColor",
1202
1358
  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"
1203
1359
  }, null, -1)
1204
1360
  ]));
1205
1361
  }
1206
- const be = { render: Ft }, It = {
1362
+ const Ce = { render: Wt }, Ut = {
1207
1363
  xmlns: "http://www.w3.org/2000/svg",
1208
1364
  width: "1em",
1209
1365
  height: "1em",
1210
1366
  viewBox: "0 0 512 512"
1211
1367
  };
1212
- function Rt(t, e) {
1213
- return u(), y("svg", It, e[0] || (e[0] = [
1214
- d("path", {
1368
+ function qt(t, e) {
1369
+ return u(), _("svg", Ut, e[0] || (e[0] = [
1370
+ c("path", {
1215
1371
  fill: "none",
1216
1372
  stroke: "currentColor",
1217
1373
  "stroke-linecap": "round",
@@ -1219,7 +1375,7 @@ function Rt(t, e) {
1219
1375
  "stroke-width": "32",
1220
1376
  d: "m434.8 137.65-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09M160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"
1221
1377
  }, null, -1),
1222
- d("path", {
1378
+ c("path", {
1223
1379
  fill: "none",
1224
1380
  stroke: "currentColor",
1225
1381
  "stroke-linecap": "round",
@@ -1229,373 +1385,373 @@ function Rt(t, e) {
1229
1385
  }, null, -1)
1230
1386
  ]));
1231
1387
  }
1232
- const Pt = { render: Rt }, Nt = {
1388
+ const jt = { render: qt }, Yt = {
1233
1389
  xmlns: "http://www.w3.org/2000/svg",
1234
1390
  width: "1em",
1235
1391
  height: "1em",
1236
1392
  viewBox: "0 0 20 20"
1237
1393
  };
1238
- function Ot(t, e) {
1239
- return u(), y("svg", Nt, e[0] || (e[0] = [
1240
- d("path", { d: "m15.08 12.854.002-.002V5.59c0-.422-.652-.414-.652 0v3.466c0 .938-1.482.95-1.482 0v-4.83c0-.414-.638-.414-.638 0h-.014v4.83c.014.95-1.482.95-1.482 0V3.444c0-.42-.638-.414-.638 0v5.612c0 .95-1.494.95-1.494 0V4.232c0-.408-.64-.42-.64 0v6.756c0 .802-1.094 1.088-1.494.388q-.39-.669-.776-1.338c-.338-.482-1.1-.15-.794.38l.978 1.698.02.04q.829 1.418 1.658 2.834c.19.3.422.578.666.802h-.006c.672.61 1.528.964 2.418 1.052.888.06 1.792-.124 2.56-.612q.45-.285.816-.68a4 4 0 0 0 .734-1.204c.176-.482.258-.97.258-1.494m-.91-8.608-.004-.002c.958-.38 2.058.244 2.058 1.346v7.266c0 .652-.108 1.29-.332 1.894a4.8 4.8 0 0 1-.964 1.576 5.9 5.9 0 0 1-1.046.884c-.978.612-2.146.862-3.26.774a5.34 5.34 0 0 1-3.098-1.352 5.4 5.4 0 0 1-.87-1.034l-1.672-2.88-.012-.028-.978-1.706c-.59-1.018.068-2.186 1.156-2.336.536-.074 1.126.116 1.562.72.026.028.04.062.054.096q.061.11.122.218V4.234c0-1.176 1.244-1.788 2.202-1.278.42-1.278 2.378-1.264 2.792-.014.972-.51 2.222.102 2.222 1.284v.06z" }, null, -1)
1394
+ function Kt(t, e) {
1395
+ return u(), _("svg", Yt, e[0] || (e[0] = [
1396
+ c("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)
1241
1397
  ]));
1242
1398
  }
1243
- const Ht = { render: Ot }, Gt = {
1399
+ const Xt = { render: Kt }, Qt = {
1244
1400
  xmlns: "http://www.w3.org/2000/svg",
1245
1401
  width: "1em",
1246
1402
  height: "1em",
1247
1403
  viewBox: "0 0 20 20"
1248
1404
  };
1249
- function Wt(t, e) {
1250
- return u(), y("svg", Gt, e[0] || (e[0] = [
1251
- d("path", {
1405
+ function Zt(t, e) {
1406
+ return u(), _("svg", Qt, e[0] || (e[0] = [
1407
+ c("path", {
1252
1408
  fill: "currentColor",
1253
1409
  d: "M10.438 15.298h.002l4.86-4.86-9.722-4.86zM18 10l-3.434 3.434 3.2 3.2-1.132 1.132-3.2-3.2L10 18 2.4 2.4z"
1254
1410
  }, null, -1)
1255
1411
  ]));
1256
1412
  }
1257
- const qt = { render: Wt }, Ut = {
1413
+ const Jt = { render: Zt }, en = {
1258
1414
  xmlns: "http://www.w3.org/2000/svg",
1259
1415
  width: "1em",
1260
1416
  height: "1em",
1261
1417
  viewBox: "0 0 20 20"
1262
1418
  };
1263
- function jt(t, e) {
1264
- return u(), y("svg", Ut, e[0] || (e[0] = [
1265
- d("path", {
1419
+ function tn(t, e) {
1420
+ return u(), _("svg", en, e[0] || (e[0] = [
1421
+ c("path", {
1266
1422
  fill: "currentColor",
1267
1423
  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"
1268
1424
  }, null, -1)
1269
1425
  ]));
1270
1426
  }
1271
- const Yt = { render: jt }, Kt = {
1427
+ const nn = { render: tn }, on = {
1272
1428
  xmlns: "http://www.w3.org/2000/svg",
1273
1429
  width: "1em",
1274
1430
  height: "1em",
1275
1431
  viewBox: "0 0 20 20"
1276
1432
  };
1277
- function Xt(t, e) {
1278
- return u(), y("svg", Kt, e[0] || (e[0] = [
1279
- d("path", {
1433
+ function ln(t, e) {
1434
+ return u(), _("svg", on, e[0] || (e[0] = [
1435
+ c("path", {
1280
1436
  fill: "currentColor",
1281
1437
  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"
1282
1438
  }, null, -1)
1283
1439
  ]));
1284
1440
  }
1285
- const Qt = { render: Xt }, Zt = {
1441
+ const an = { render: ln }, sn = {
1286
1442
  xmlns: "http://www.w3.org/2000/svg",
1287
1443
  width: "1em",
1288
1444
  height: "1em",
1289
1445
  viewBox: "0 0 20 20"
1290
1446
  };
1291
- function Jt(t, e) {
1292
- return u(), y("svg", Zt, e[0] || (e[0] = [
1293
- d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
1447
+ function rn(t, e) {
1448
+ return u(), _("svg", sn, e[0] || (e[0] = [
1449
+ c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
1294
1450
  ]));
1295
1451
  }
1296
- const en = { render: Jt }, tn = {
1452
+ const cn = { render: rn }, un = {
1297
1453
  xmlns: "http://www.w3.org/2000/svg",
1298
1454
  width: "1em",
1299
1455
  height: "1em",
1300
1456
  viewBox: "0 0 20 20"
1301
1457
  };
1302
- function nn(t, e) {
1303
- return u(), y("svg", tn);
1458
+ function dn(t, e) {
1459
+ return u(), _("svg", un);
1304
1460
  }
1305
- const on = { render: nn }, ln = {
1461
+ const mn = { render: dn }, pn = {
1306
1462
  xmlns: "http://www.w3.org/2000/svg",
1307
1463
  width: "1em",
1308
1464
  height: "1em",
1309
1465
  viewBox: "0 0 20 20"
1310
1466
  };
1311
- function an(t, e) {
1312
- return u(), y("svg", ln, e[0] || (e[0] = [
1313
- d("path", { d: "M2 9.5h16v1H2z" }, null, -1),
1314
- d("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
1467
+ function fn(t, e) {
1468
+ return u(), _("svg", pn, e[0] || (e[0] = [
1469
+ c("path", { d: "M2 9.5h16v1H2z" }, null, -1),
1470
+ c("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
1315
1471
  ]));
1316
1472
  }
1317
- const rn = { render: an }, sn = {
1473
+ const vn = { render: fn }, gn = {
1318
1474
  xmlns: "http://www.w3.org/2000/svg",
1319
1475
  width: "1em",
1320
1476
  height: "1em",
1321
1477
  viewBox: "0 0 20 20"
1322
1478
  };
1323
- function cn(t, e) {
1324
- return u(), y("svg", sn, e[0] || (e[0] = [
1325
- d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1326
- d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1479
+ function hn(t, e) {
1480
+ return u(), _("svg", gn, e[0] || (e[0] = [
1481
+ c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1482
+ c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1327
1483
  ]));
1328
1484
  }
1329
- const un = { render: cn }, dn = {
1485
+ const _n = { render: hn }, wn = {
1330
1486
  xmlns: "http://www.w3.org/2000/svg",
1331
1487
  width: "1em",
1332
1488
  height: "1em",
1333
1489
  viewBox: "0 0 20 20"
1334
1490
  };
1335
- function mn(t, e) {
1336
- return u(), y("svg", dn, e[0] || (e[0] = [
1337
- d("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
1491
+ function yn(t, e) {
1492
+ return u(), _("svg", wn, e[0] || (e[0] = [
1493
+ c("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
1338
1494
  ]));
1339
1495
  }
1340
- const pn = { render: mn }, gn = {
1496
+ const bn = { render: yn }, xn = {
1341
1497
  xmlns: "http://www.w3.org/2000/svg",
1342
1498
  width: "1em",
1343
1499
  height: "1em",
1344
1500
  viewBox: "0 0 20 20"
1345
1501
  };
1346
- function vn(t, e) {
1347
- return u(), y("svg", gn, e[0] || (e[0] = [
1348
- d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
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)
1502
+ function kn(t, e) {
1503
+ return u(), _("svg", xn, e[0] || (e[0] = [
1504
+ c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1505
+ c("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
1506
  ]));
1351
1507
  }
1352
- const fn = { render: vn }, hn = {
1508
+ const Mn = { render: kn }, Cn = {
1353
1509
  xmlns: "http://www.w3.org/2000/svg",
1354
1510
  width: "1em",
1355
1511
  height: "1em",
1356
1512
  viewBox: "0 0 20 20"
1357
1513
  };
1358
- function _n(t, e) {
1359
- return u(), y("svg", hn, e[0] || (e[0] = [
1360
- 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)
1514
+ function Sn(t, e) {
1515
+ return u(), _("svg", Cn, e[0] || (e[0] = [
1516
+ c("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)
1361
1517
  ]));
1362
1518
  }
1363
- const wn = { render: _n }, yn = {
1519
+ const Ln = { render: Sn }, zn = {
1364
1520
  xmlns: "http://www.w3.org/2000/svg",
1365
1521
  width: "1em",
1366
1522
  height: "1em",
1367
1523
  viewBox: "0 0 20 20"
1368
1524
  };
1369
- function bn(t, e) {
1370
- return u(), y("svg", yn, e[0] || (e[0] = [
1371
- d("path", { d: "M3 9.5h14v1H3z" }, null, -1),
1372
- d("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
1373
- 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)
1525
+ function Bn(t, e) {
1526
+ return u(), _("svg", zn, e[0] || (e[0] = [
1527
+ c("path", { d: "M3 9.5h14v1H3z" }, null, -1),
1528
+ c("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
1529
+ c("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)
1374
1530
  ]));
1375
1531
  }
1376
- const xn = { render: bn }, kn = {
1532
+ const Dn = { render: Bn }, Tn = {
1377
1533
  xmlns: "http://www.w3.org/2000/svg",
1378
1534
  width: "1em",
1379
1535
  height: "1em",
1380
1536
  viewBox: "0 0 20 20"
1381
1537
  };
1382
- function Mn(t, e) {
1383
- return u(), y("svg", kn, e[0] || (e[0] = [
1384
- d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1385
- d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1386
- 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)
1538
+ function $n(t, e) {
1539
+ return u(), _("svg", Tn, e[0] || (e[0] = [
1540
+ c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1541
+ c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1542
+ c("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)
1387
1543
  ]));
1388
1544
  }
1389
- const Sn = { render: Mn }, Cn = {
1545
+ const En = { render: $n }, An = {
1390
1546
  xmlns: "http://www.w3.org/2000/svg",
1391
1547
  width: "1em",
1392
1548
  height: "1em",
1393
1549
  viewBox: "0 0 20 20"
1394
1550
  };
1395
- function Ln(t, e) {
1396
- return u(), y("svg", Cn, e[0] || (e[0] = [
1397
- d("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1398
- 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)
1551
+ function Vn(t, e) {
1552
+ return u(), _("svg", An, e[0] || (e[0] = [
1553
+ c("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1554
+ c("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)
1399
1555
  ]));
1400
1556
  }
1401
- const zn = { render: Ln }, Dn = {
1557
+ const Fn = { render: Vn }, Nn = {
1402
1558
  xmlns: "http://www.w3.org/2000/svg",
1403
1559
  width: "1em",
1404
1560
  height: "1em",
1405
1561
  viewBox: "0 0 20 20"
1406
1562
  };
1407
- function Bn(t, e) {
1408
- return u(), y("svg", Dn, e[0] || (e[0] = [
1409
- d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1410
- d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1563
+ function In(t, e) {
1564
+ return u(), _("svg", Nn, e[0] || (e[0] = [
1565
+ c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1566
+ c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1411
1567
  ]));
1412
1568
  }
1413
- const Tn = { render: Bn }, En = {
1569
+ const Pn = { render: In }, On = {
1414
1570
  xmlns: "http://www.w3.org/2000/svg",
1415
1571
  width: "1em",
1416
1572
  height: "1em",
1417
1573
  viewBox: "0 0 20 20"
1418
1574
  };
1419
- function $n(t, e) {
1420
- return u(), y("svg", En, e[0] || (e[0] = [
1421
- d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1575
+ function Rn(t, e) {
1576
+ return u(), _("svg", On, e[0] || (e[0] = [
1577
+ c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1422
1578
  ]));
1423
1579
  }
1424
- const Vn = { render: $n }, An = {
1580
+ const Hn = { render: Rn }, Gn = {
1425
1581
  xmlns: "http://www.w3.org/2000/svg",
1426
1582
  width: "1em",
1427
1583
  height: "1em",
1428
1584
  viewBox: "0 0 20 20"
1429
1585
  };
1430
- function Fn(t, e) {
1431
- return u(), y("svg", An, e[0] || (e[0] = [
1432
- d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1433
- d("path", { d: "M3 9.58h14v1H3z" }, null, -1),
1434
- d("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
1586
+ function Wn(t, e) {
1587
+ return u(), _("svg", Gn, e[0] || (e[0] = [
1588
+ c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1589
+ c("path", { d: "M3 9.58h14v1H3z" }, null, -1),
1590
+ c("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
1435
1591
  ]));
1436
1592
  }
1437
- const In = { render: Fn }, Rn = {
1593
+ const Un = { render: Wn }, qn = {
1438
1594
  xmlns: "http://www.w3.org/2000/svg",
1439
1595
  width: "1em",
1440
1596
  height: "1em",
1441
1597
  viewBox: "0 0 20 20"
1442
1598
  };
1443
- function Pn(t, e) {
1444
- return u(), y("svg", Rn, e[0] || (e[0] = [
1445
- d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1446
- d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1447
- d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1599
+ function jn(t, e) {
1600
+ return u(), _("svg", qn, e[0] || (e[0] = [
1601
+ c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1602
+ c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1603
+ c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1448
1604
  ]));
1449
1605
  }
1450
- const Nn = { render: Pn }, On = {
1606
+ const Yn = { render: jn }, Kn = {
1451
1607
  xmlns: "http://www.w3.org/2000/svg",
1452
1608
  width: "1em",
1453
1609
  height: "1em",
1454
1610
  viewBox: "0 0 20 20"
1455
1611
  };
1456
- function Hn(t, e) {
1457
- return u(), y("svg", On, e[0] || (e[0] = [
1458
- d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1459
- d("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
1612
+ function Xn(t, e) {
1613
+ return u(), _("svg", Kn, e[0] || (e[0] = [
1614
+ c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1615
+ c("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
1460
1616
  ]));
1461
1617
  }
1462
- const Gn = { render: Hn }, Wn = {
1618
+ const Qn = { render: Xn }, Zn = {
1463
1619
  xmlns: "http://www.w3.org/2000/svg",
1464
1620
  width: "1em",
1465
1621
  height: "1em",
1466
1622
  viewBox: "0 0 20 20"
1467
1623
  };
1468
- function qn(t, e) {
1469
- return u(), y("svg", Wn, e[0] || (e[0] = [
1470
- d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1471
- d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1472
- 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)
1624
+ function Jn(t, e) {
1625
+ return u(), _("svg", Zn, e[0] || (e[0] = [
1626
+ c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1627
+ c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1628
+ c("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)
1473
1629
  ]));
1474
1630
  }
1475
- const Un = { render: qn }, jn = {
1631
+ const eo = { render: Jn }, to = {
1476
1632
  xmlns: "http://www.w3.org/2000/svg",
1477
1633
  width: "1em",
1478
1634
  height: "1em",
1479
1635
  viewBox: "0 0 20 20"
1480
1636
  };
1481
- function Yn(t, e) {
1482
- return u(), y("svg", jn, e[0] || (e[0] = [
1483
- d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1484
- 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)
1637
+ function no(t, e) {
1638
+ return u(), _("svg", to, e[0] || (e[0] = [
1639
+ c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1640
+ c("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)
1485
1641
  ]));
1486
1642
  }
1487
- const Kn = { render: Yn }, Xn = {
1643
+ const oo = { render: no }, lo = {
1488
1644
  xmlns: "http://www.w3.org/2000/svg",
1489
1645
  width: "1em",
1490
1646
  height: "1em",
1491
1647
  viewBox: "0 0 20 20"
1492
1648
  };
1493
- function Qn(t, e) {
1494
- return u(), y("svg", Xn, e[0] || (e[0] = [
1495
- d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1496
- d("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
1497
- d("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
1498
- 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)
1649
+ function ao(t, e) {
1650
+ return u(), _("svg", lo, e[0] || (e[0] = [
1651
+ c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1652
+ c("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
1653
+ c("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
1654
+ c("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)
1499
1655
  ]));
1500
1656
  }
1501
- const Zn = { render: Qn }, Jn = {
1657
+ const io = { render: ao }, so = {
1502
1658
  xmlns: "http://www.w3.org/2000/svg",
1503
1659
  width: "1em",
1504
1660
  height: "1em",
1505
1661
  viewBox: "0 0 20 20"
1506
1662
  };
1507
- function eo(t, e) {
1508
- return u(), y("svg", Jn, e[0] || (e[0] = [
1509
- d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1510
- d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1511
- d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1512
- 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)
1663
+ function ro(t, e) {
1664
+ return u(), _("svg", so, e[0] || (e[0] = [
1665
+ c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1666
+ c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1667
+ c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1668
+ c("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)
1513
1669
  ]));
1514
1670
  }
1515
- const to = { render: eo }, no = {
1671
+ const co = { render: ro }, uo = {
1516
1672
  xmlns: "http://www.w3.org/2000/svg",
1517
1673
  width: "1em",
1518
1674
  height: "1em",
1519
1675
  viewBox: "0 0 20 20"
1520
1676
  };
1521
- function oo(t, e) {
1522
- return u(), y("svg", no, e[0] || (e[0] = [
1523
- d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1524
- d("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1525
- 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)
1677
+ function mo(t, e) {
1678
+ return u(), _("svg", uo, e[0] || (e[0] = [
1679
+ c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1680
+ c("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1681
+ c("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)
1526
1682
  ]));
1527
1683
  }
1528
- const lo = { render: oo }, ao = /* @__PURE__ */ L({
1684
+ const po = { render: mo }, fo = /* @__PURE__ */ S({
1529
1685
  __name: "MlPointStyleDlg",
1530
1686
  setup(t) {
1531
- const { t: e } = P(), n = Dt(T.instance), i = x(!0), l = x(0), o = [
1687
+ const { t: e } = O(), n = Ft(E.instance), i = x(!0), l = x(0), o = [
1532
1688
  [
1533
- { id: 0, icon: en },
1534
- { id: 1, icon: on },
1535
- { id: 2, icon: rn },
1536
- { id: 3, icon: un },
1537
- { id: 4, icon: pn }
1689
+ { id: 0, icon: cn },
1690
+ { id: 1, icon: mn },
1691
+ { id: 2, icon: vn },
1692
+ { id: 3, icon: _n },
1693
+ { id: 4, icon: bn }
1538
1694
  ],
1539
1695
  [
1540
- { id: 32, icon: fn },
1541
- { id: 33, icon: wn },
1542
- { id: 34, icon: xn },
1543
- { id: 35, icon: Sn },
1544
- { id: 36, icon: zn }
1696
+ { id: 32, icon: Mn },
1697
+ { id: 33, icon: Ln },
1698
+ { id: 34, icon: Dn },
1699
+ { id: 35, icon: En },
1700
+ { id: 36, icon: Fn }
1545
1701
  ],
1546
1702
  [
1547
- { id: 64, icon: Tn },
1548
- { id: 65, icon: Vn },
1549
- { id: 66, icon: In },
1550
- { id: 67, icon: Nn },
1551
- { id: 68, icon: Gn }
1703
+ { id: 64, icon: Pn },
1704
+ { id: 65, icon: Hn },
1705
+ { id: 66, icon: Un },
1706
+ { id: 67, icon: Yn },
1707
+ { id: 68, icon: Qn }
1552
1708
  ],
1553
1709
  [
1554
- { id: 96, icon: Un },
1555
- { id: 97, icon: Kn },
1556
- { id: 98, icon: Zn },
1557
- { id: 99, icon: to },
1558
- { id: 100, icon: lo }
1710
+ { id: 96, icon: eo },
1711
+ { id: 97, icon: oo },
1712
+ { id: 98, icon: io },
1713
+ { id: 99, icon: co },
1714
+ { id: 100, icon: po }
1559
1715
  ]
1560
1716
  ], a = () => {
1561
1717
  n.pdmode && (l.value = n.pdmode);
1562
1718
  };
1563
1719
  a();
1564
- const s = (f, m) => o[f][m].id == l.value ? "primary" : null, r = (f, m) => {
1565
- l.value = o[f][m].id;
1566
- }, c = () => {
1567
- T.instance.curDocument.database.pdmode = l.value;
1568
- }, w = () => {
1720
+ const r = (b, v) => o[b][v].id == l.value ? "primary" : null, s = (b, v) => {
1721
+ l.value = o[b][v].id;
1722
+ }, p = () => {
1723
+ E.instance.curDocument.database.pdmode = l.value;
1724
+ }, g = () => {
1569
1725
  a();
1570
1726
  };
1571
- return (f, m) => {
1572
- const h = M("el-button"), _ = M("el-col"), b = M("el-row");
1573
- return u(), C(Te, {
1574
- title: g(e)("dialog.pointStyleDlg.title"),
1727
+ return (b, v) => {
1728
+ const h = C("el-button"), w = C("el-col"), k = C("el-row");
1729
+ return u(), z(Ve, {
1730
+ title: d(e)("dialog.pointStyleDlg.title"),
1575
1731
  width: 400,
1576
1732
  modelValue: i.value,
1577
- "onUpdate:modelValue": m[0] || (m[0] = (S) => i.value = S),
1733
+ "onUpdate:modelValue": v[0] || (v[0] = (B) => i.value = B),
1578
1734
  name: "PointStyleDlg",
1579
- onOk: c,
1580
- onCancel: w
1735
+ onOk: p,
1736
+ onCancel: g
1581
1737
  }, {
1582
- default: p(() => [
1583
- (u(), y(j, null, X(o, (S, $) => v(b, {
1584
- key: $,
1738
+ default: f(() => [
1739
+ (u(), _(j, null, K(o, (B, V) => m(k, {
1740
+ key: V,
1585
1741
  style: { "margin-top": "10px" },
1586
1742
  gutter: 6,
1587
1743
  justify: "space-between"
1588
1744
  }, {
1589
- default: p(() => [
1590
- (u(!0), y(j, null, X(S, (I, V) => (u(), C(_, {
1591
- key: V,
1745
+ default: f(() => [
1746
+ (u(!0), _(j, null, K(B, (y, L) => (u(), z(w, {
1747
+ key: L,
1592
1748
  span: 4
1593
1749
  }, {
1594
- default: p(() => [
1595
- v(h, {
1596
- icon: I.icon,
1597
- type: s($, V),
1598
- onClick: (B) => r($, V),
1750
+ default: f(() => [
1751
+ m(h, {
1752
+ icon: y.icon,
1753
+ type: r(V, L),
1754
+ onClick: (D) => s(V, L),
1599
1755
  style: { "font-size": "25px" }
1600
1756
  }, null, 8, ["icon", "type", "onClick"])
1601
1757
  ]),
@@ -1620,73 +1776,73 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1620
1776
  console.error("vite-plugin-css-injected-by-js", e);
1621
1777
  }
1622
1778
  })();
1623
- const io = {
1779
+ const vo = {
1624
1780
  xmlns: "http://www.w3.org/2000/svg",
1625
1781
  width: "1em",
1626
1782
  height: "1em",
1627
1783
  viewBox: "0 0 1024 1024"
1628
- }, ro = /* @__PURE__ */ d("path", {
1784
+ }, go = /* @__PURE__ */ c("path", {
1629
1785
  fill: "currentColor",
1630
1786
  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"
1631
- }, null, -1), so = [
1632
- ro
1787
+ }, null, -1), ho = [
1788
+ go
1633
1789
  ];
1634
- function co(t, e) {
1635
- return u(), y("svg", io, [...so]);
1790
+ function _o(t, e) {
1791
+ return u(), _("svg", vo, [...ho]);
1636
1792
  }
1637
- const xe = { render: co }, uo = {
1793
+ const Se = { render: _o }, wo = {
1638
1794
  xmlns: "http://www.w3.org/2000/svg",
1639
1795
  width: "1em",
1640
1796
  height: "1em",
1641
1797
  viewBox: "0 0 1024 1024"
1642
- }, mo = /* @__PURE__ */ d("path", {
1798
+ }, yo = /* @__PURE__ */ c("path", {
1643
1799
  fill: "currentColor",
1644
1800
  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"
1645
- }, null, -1), po = [
1646
- mo
1801
+ }, null, -1), bo = [
1802
+ yo
1647
1803
  ];
1648
- function go(t, e) {
1649
- return u(), y("svg", uo, [...po]);
1804
+ function xo(t, e) {
1805
+ return u(), _("svg", wo, [...bo]);
1650
1806
  }
1651
- const ke = { render: go }, vo = /* @__PURE__ */ L({
1807
+ const Le = { render: xo }, ko = /* @__PURE__ */ S({
1652
1808
  __name: "MlCollapse",
1653
- props: /* @__PURE__ */ J({
1809
+ props: /* @__PURE__ */ ee({
1654
1810
  size: { default: 18 },
1655
1811
  reverse: { type: Boolean, default: !1 }
1656
1812
  }, {
1657
1813
  modelValue: { default: !0 },
1658
1814
  modelModifiers: {}
1659
1815
  }),
1660
- emits: /* @__PURE__ */ J(["change"], ["update:modelValue"]),
1816
+ emits: /* @__PURE__ */ ee(["change"], ["update:modelValue"]),
1661
1817
  setup(t, { emit: e }) {
1662
- const n = t, i = ve(t, "modelValue"), l = e, o = k(() => n.reverse ? i.value ? xe : ke : i.value ? ke : xe), a = k(() => `${n.size}px`), s = () => {
1818
+ const n = t, i = _e(t, "modelValue"), l = e, o = M(() => n.reverse ? i.value ? Se : Le : i.value ? Le : Se), a = M(() => `${n.size}px`), r = () => {
1663
1819
  l("change", i.value), i.value = !i.value;
1664
1820
  };
1665
- return (r, c) => {
1666
- const w = se;
1667
- return u(), C(w, {
1821
+ return (s, p) => {
1822
+ const g = de;
1823
+ return u(), z(g, {
1668
1824
  size: a.value,
1669
- onClick: s
1825
+ onClick: r
1670
1826
  }, {
1671
- default: p(() => [
1672
- (u(), C(ge(o.value)))
1827
+ default: f(() => [
1828
+ (u(), z(ue(o.value)))
1673
1829
  ]),
1674
1830
  _: 1
1675
1831
  }, 8, ["size"]);
1676
1832
  };
1677
1833
  }
1678
- }), fo = (t) => (Le("data-v-3fc33b5d"), t = t(), ze(), t), ho = /* @__PURE__ */ fo(() => /* @__PURE__ */ d("svg", {
1834
+ }), Mo = (t) => (Te("data-v-3fc33b5d"), t = t(), $e(), t), Co = /* @__PURE__ */ Mo(() => /* @__PURE__ */ c("svg", {
1679
1835
  preserveAspectRatio: "xMidYMid meet",
1680
1836
  viewBox: "0 0 24 24",
1681
1837
  width: "1.2em",
1682
1838
  height: "1.2em",
1683
1839
  "data-v-63d067da": ""
1684
1840
  }, [
1685
- /* @__PURE__ */ d("path", {
1841
+ /* @__PURE__ */ c("path", {
1686
1842
  fill: "currentColor",
1687
1843
  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"
1688
1844
  })
1689
- ], -1)), _o = /* @__PURE__ */ L({
1845
+ ], -1)), So = /* @__PURE__ */ S({
1690
1846
  __name: "MlDropdown",
1691
1847
  props: {
1692
1848
  icon: {},
@@ -1697,21 +1853,21 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
1697
1853
  click: null
1698
1854
  },
1699
1855
  setup(t, { emit: e }) {
1700
- const n = t, i = e, l = k(() => n.items.filter((a) => a.name !== n.current)), o = (a) => {
1856
+ const n = t, i = e, l = M(() => n.items.filter((a) => a.name !== n.current)), o = (a) => {
1701
1857
  i("click", a);
1702
1858
  };
1703
- return (a, s) => {
1704
- const r = se, c = nt, w = tt, f = et;
1705
- return u(), C(f, { onCommand: o }, {
1706
- dropdown: p(() => [
1707
- v(w, null, {
1708
- default: p(() => [
1709
- (u(!0), y(j, null, X(l.value, (m) => (u(), C(c, {
1710
- key: m.text,
1711
- command: m.name
1859
+ return (a, r) => {
1860
+ const s = de, p = rt, g = st, b = it;
1861
+ return u(), z(b, { onCommand: o }, {
1862
+ dropdown: f(() => [
1863
+ m(g, null, {
1864
+ default: f(() => [
1865
+ (u(!0), _(j, null, K(l.value, (v) => (u(), z(p, {
1866
+ key: v.text,
1867
+ command: v.name
1712
1868
  }, {
1713
- default: p(() => [
1714
- F(D(m.text), 1)
1869
+ default: f(() => [
1870
+ N(T(v.text), 1)
1715
1871
  ]),
1716
1872
  _: 2
1717
1873
  }, 1032, ["command"]))), 128))
@@ -1719,13 +1875,13 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
1719
1875
  _: 1
1720
1876
  })
1721
1877
  ]),
1722
- default: p(() => [
1723
- v(r, {
1878
+ default: f(() => [
1879
+ m(s, {
1724
1880
  size: "30",
1725
1881
  class: "ml-dropdown-icon"
1726
1882
  }, {
1727
- default: p(() => [
1728
- ho
1883
+ default: f(() => [
1884
+ Co
1729
1885
  ]),
1730
1886
  _: 1
1731
1887
  })
@@ -1734,12 +1890,12 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
1734
1890
  });
1735
1891
  };
1736
1892
  }
1737
- }), ue = (t, e) => {
1893
+ }), fe = (t, e) => {
1738
1894
  const n = t.__vccOpts || t;
1739
1895
  for (const [i, l] of e)
1740
1896
  n[i] = l;
1741
1897
  return n;
1742
- }, wo = /* @__PURE__ */ ue(_o, [["__scopeId", "data-v-3fc33b5d"]]), yo = '<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>', bo = /* @__PURE__ */ L({
1898
+ }, Lo = /* @__PURE__ */ fe(So, [["__scopeId", "data-v-3fc33b5d"]]), zo = '<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>', Bo = /* @__PURE__ */ S({
1743
1899
  __name: "MlLanguage",
1744
1900
  props: {
1745
1901
  languages: {},
@@ -1752,28 +1908,28 @@ const ke = { render: go }, vo = /* @__PURE__ */ L({
1752
1908
  const n = t, i = e, l = (o) => {
1753
1909
  i("click", o);
1754
1910
  };
1755
- return (o, a) => (u(), C(wo, {
1756
- icon: yo,
1911
+ return (o, a) => (u(), z(Lo, {
1912
+ icon: zo,
1757
1913
  items: n.languages,
1758
1914
  current: n.current,
1759
1915
  onClick: l
1760
1916
  }, null, 8, ["items", "current"]));
1761
1917
  }
1762
- }), xo = {}, ko = { class: "ml-status-bar" }, Mo = { class: "ml-status-bar-left" }, So = { class: "ml-status-bar-right" };
1763
- function Co(t, e) {
1764
- return u(), y("div", ko, [
1765
- d("div", Mo, [
1766
- ie(t.$slots, "left", {}, void 0, !0)
1918
+ }), Do = {}, To = { class: "ml-status-bar" }, $o = { class: "ml-status-bar-left" }, Eo = { class: "ml-status-bar-right" };
1919
+ function Ao(t, e) {
1920
+ return u(), _("div", To, [
1921
+ c("div", $o, [
1922
+ re(t.$slots, "left", {}, void 0, !0)
1767
1923
  ]),
1768
- d("div", So, [
1769
- ie(t.$slots, "right", {}, void 0, !0)
1924
+ c("div", Eo, [
1925
+ re(t.$slots, "right", {}, void 0, !0)
1770
1926
  ])
1771
1927
  ]);
1772
1928
  }
1773
- const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf0"]]), zo = {
1929
+ const Vo = /* @__PURE__ */ fe(Do, [["render", Ao], ["__scopeId", "data-v-d6a59cf0"]]), Fo = {
1774
1930
  key: 0,
1775
1931
  class: "ml-toolbar-button-text"
1776
- }, Do = /* @__PURE__ */ L({
1932
+ }, No = /* @__PURE__ */ S({
1777
1933
  __name: "MlToolBar",
1778
1934
  props: {
1779
1935
  items: {},
@@ -1784,7 +1940,7 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1784
1940
  click: null
1785
1941
  },
1786
1942
  setup(t, { emit: e }) {
1787
- const n = t, i = e, l = k(() => n.direction === "vertical" ? "ml-vertical-toolbar-button-group" : "ml-horizontal-toolbar-button-group"), o = k(() => n.size === "small" ? 20 : 30), a = k(() => {
1943
+ const n = t, i = e, l = M(() => n.direction === "vertical" ? "ml-vertical-toolbar-button-group" : "ml-horizontal-toolbar-button-group"), o = M(() => n.size === "small" ? 20 : 30), a = M(() => {
1788
1944
  switch (n.size) {
1789
1945
  case "small":
1790
1946
  return 30;
@@ -1792,36 +1948,36 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1792
1948
  return 50;
1793
1949
  }
1794
1950
  return 70;
1795
- }), s = (w) => w.description ? w.description : w.text, r = k(() => n.size === "large"), c = (w) => {
1796
- i("click", w);
1951
+ }), r = (g) => g.description ? g.description : g.text, s = M(() => n.size === "large"), p = (g) => {
1952
+ i("click", g);
1797
1953
  };
1798
- return (w, f) => {
1799
- const m = se, h = at, _ = lt, b = ot;
1800
- return u(), C(b, {
1801
- class: Ce(l.value)
1954
+ return (g, b) => {
1955
+ const v = de, h = dt, w = ut, k = ct;
1956
+ return u(), z(k, {
1957
+ class: we(l.value)
1802
1958
  }, {
1803
- default: p(() => [
1804
- (u(!0), y(j, null, X(w.items, (S, $) => (u(), C(_, {
1805
- key: S.text,
1806
- content: s(S),
1959
+ default: f(() => [
1960
+ (u(!0), _(j, null, K(g.items, (B, V) => (u(), z(w, {
1961
+ key: B.text,
1962
+ content: r(B),
1807
1963
  "hide-after": 0
1808
1964
  }, {
1809
- default: p(() => [
1810
- (u(), C(h, {
1965
+ default: f(() => [
1966
+ (u(), z(h, {
1811
1967
  class: "ml-toolbar-button",
1812
- style: pe({ width: a.value + "px", height: a.value + "px" }),
1813
- key: $,
1814
- onClick: (I) => c(S.command)
1968
+ style: ge({ width: a.value + "px", height: a.value + "px" }),
1969
+ key: V,
1970
+ onClick: (y) => p(B.command)
1815
1971
  }, {
1816
- default: p(() => [
1817
- d("div", null, [
1818
- v(m, { size: o.value }, {
1819
- default: p(() => [
1820
- (u(), C(ge(S.icon)))
1972
+ default: f(() => [
1973
+ c("div", null, [
1974
+ m(v, { size: o.value }, {
1975
+ default: f(() => [
1976
+ (u(), z(ue(B.icon)))
1821
1977
  ]),
1822
1978
  _: 2
1823
1979
  }, 1032, ["size"]),
1824
- r.value ? (u(), y("div", zo, D(S.text), 1)) : q("", !0)
1980
+ s.value ? (u(), _("div", Fo, T(B.text), 1)) : R("", !0)
1825
1981
  ])
1826
1982
  ]),
1827
1983
  _: 2
@@ -1834,138 +1990,138 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1834
1990
  }, 8, ["class"]);
1835
1991
  };
1836
1992
  }
1837
- }), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-5261c686"]]), Me = 20;
1838
- function To(t, e, n) {
1839
- const i = x(!1), l = (r) => {
1993
+ }), Io = /* @__PURE__ */ fe(No, [["__scopeId", "data-v-5261c686"]]), ze = 20;
1994
+ function Po(t, e, n) {
1995
+ const i = x(!1), l = (s) => {
1840
1996
  if (n.value && t.value) {
1841
- const c = t.value.getBoundingClientRect(), w = r.clientX < c.left || r.clientX > c.right || r.clientY < c.top || r.clientY > c.bottom;
1842
- i.value = !w;
1997
+ const p = t.value.getBoundingClientRect(), g = s.clientX < p.left || s.clientX > p.right || s.clientY < p.top || s.clientY > p.bottom;
1998
+ i.value = !g;
1843
1999
  }
1844
2000
  }, o = () => {
1845
2001
  n.value && (i.value = !0);
1846
2002
  }, a = () => {
1847
2003
  e.value && e.value.addEventListener("mousemove", o), t.value && t.value.addEventListener("mousemove", o);
1848
- }, s = () => {
2004
+ }, r = () => {
1849
2005
  e.value && e.value.removeEventListener("mousemove", o), t.value && t.value.removeEventListener("mousemove", o);
1850
2006
  };
1851
- return H(() => {
2007
+ return U(() => {
1852
2008
  window.addEventListener("mousemove", l);
1853
- }), te(() => {
2009
+ }), ne(() => {
1854
2010
  window.removeEventListener("mousemove", l);
1855
- }), E(n, (r) => {
1856
- r && (i.value = !1);
1857
- }), E(t, (r) => {
1858
- r ? a() : s();
2011
+ }), A(n, (s) => {
2012
+ s && (i.value = !1);
2013
+ }), A(t, (s) => {
2014
+ s ? a() : r();
1859
2015
  }), { autoOpened: i };
1860
2016
  }
1861
- function Eo(t, e, n) {
1862
- 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 } : {
2017
+ function Oo(t, e, n) {
2018
+ const i = x(!1), l = x(null), o = x(null), a = { x: 0, y: 0 }, r = M(() => l.value == null || o.value == null ? { x: 0, y: 0 } : {
1863
2019
  x: l.value.x - o.value.x,
1864
2020
  y: l.value.y - o.value.y
1865
- }), r = () => {
2021
+ }), s = () => {
1866
2022
  if (t.value) {
1867
- const _ = t.value.getBoundingClientRect();
2023
+ const w = t.value.getBoundingClientRect();
1868
2024
  o.value = {
1869
- x: _.left,
1870
- y: _.top
2025
+ x: w.left,
2026
+ y: w.top
1871
2027
  }, l.value = {
1872
- x: _.left,
1873
- y: _.top
2028
+ x: w.left,
2029
+ y: w.top
1874
2030
  };
1875
2031
  }
1876
- }, c = () => {
1877
- t.value && t.value.addEventListener("mousedown", f);
1878
- }, w = () => {
1879
- t.value && t.value.removeEventListener("mousedown", f);
1880
- }, f = (_) => {
2032
+ }, p = () => {
2033
+ t.value && t.value.addEventListener("mousedown", b);
2034
+ }, g = () => {
2035
+ t.value && t.value.removeEventListener("mousedown", b);
2036
+ }, b = (w) => {
1881
2037
  if (t.value != null) {
1882
2038
  if (e && e.value) {
1883
- const b = e.value.getBoundingClientRect();
1884
- if (_.clientX < b.left || _.clientX > b.right || _.clientY < b.top || _.clientY > b.bottom) return;
2039
+ const k = e.value.getBoundingClientRect();
2040
+ if (w.clientX < k.left || w.clientX > k.right || w.clientY < k.top || w.clientY > k.bottom) return;
1885
2041
  }
1886
- i.value = !0, a.x = _.clientX, a.y = _.clientY, r(), document.addEventListener("mousemove", m), document.addEventListener("mouseup", h);
2042
+ i.value = !0, a.x = w.clientX, a.y = w.clientY, s(), document.addEventListener("mousemove", v), document.addEventListener("mouseup", h);
1887
2043
  }
1888
- }, m = (_) => {
2044
+ }, v = (w) => {
1889
2045
  if (i.value && o.value && l.value) {
1890
- const b = window.innerWidth, S = window.innerHeight, $ = t.value, I = $.getBoundingClientRect(), V = I.width, B = I.height, N = o.value.x + (_.clientX - a.x), R = o.value.y + (_.clientY - a.y);
2046
+ const k = window.innerWidth, B = window.innerHeight, V = t.value, y = V.getBoundingClientRect(), L = y.width, D = y.height, H = o.value.x + (w.clientX - a.x), P = o.value.y + (w.clientY - a.y);
1891
2047
  l.value.x = Math.max(
1892
2048
  n ? n.value.offset.value.left : 0,
1893
- N
2049
+ H
1894
2050
  );
1895
- const z = b - V;
2051
+ const $ = k - L;
1896
2052
  l.value.x = Math.min(
1897
- n ? z - n.value.offset.value.right : z,
2053
+ n ? $ - n.value.offset.value.right : $,
1898
2054
  l.value.x
1899
2055
  ), l.value.y = Math.max(
1900
2056
  n ? n.value.offset.value.top : 0,
1901
- Math.min(R, S - B)
2057
+ Math.min(P, B - D)
1902
2058
  );
1903
- const A = S - B;
2059
+ const F = B - D;
1904
2060
  l.value.y = Math.min(
1905
- n ? A - n.value.offset.value.bottom : A,
2061
+ n ? F - n.value.offset.value.bottom : F,
1906
2062
  l.value.y
1907
- ), $.style.left = l.value.x + "px", $.style.top = l.value.y + "px";
2063
+ ), V.style.left = l.value.x + "px", V.style.top = l.value.y + "px";
1908
2064
  }
1909
2065
  }, h = () => {
1910
- i.value = !1, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", h);
2066
+ i.value = !1, document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", h);
1911
2067
  };
1912
- return H(() => {
1913
- t.value && (r(), c());
1914
- }), te(() => {
1915
- t.value && t.value.removeEventListener("mousedown", f);
1916
- }), E(t, (_) => {
1917
- _ ? (r(), c()) : w();
2068
+ return U(() => {
2069
+ t.value && (s(), p());
2070
+ }), ne(() => {
2071
+ t.value && t.value.removeEventListener("mousedown", b);
2072
+ }), A(t, (w) => {
2073
+ w ? (s(), p()) : g();
1918
2074
  }), {
1919
2075
  isDragging: i,
1920
- movement: s,
2076
+ movement: r,
1921
2077
  position: l
1922
2078
  };
1923
2079
  }
1924
- function $o(t, e, n) {
1925
- const i = x(!1), l = x("left"), { isDragging: o, movement: a, position: s } = Eo(
2080
+ function Ro(t, e, n) {
2081
+ const i = x(!1), l = x("left"), { isDragging: o, movement: a, position: r } = Oo(
1926
2082
  t,
1927
2083
  e,
1928
2084
  n
1929
2085
  );
1930
- return E(a, (r) => {
1931
- if (r && t.value) {
1932
- const c = t.value.getBoundingClientRect();
1933
- 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;
2086
+ return A(a, (s) => {
2087
+ if (s && t.value) {
2088
+ const p = t.value.getBoundingClientRect();
2089
+ p.left <= n.value.offset.value.left ? (l.value = "left", i.value = !0) : window.innerWidth - p.left - p.width <= n.value.offset.value.right ? (l.value = "right", i.value = !0) : i.value = !1;
1934
2090
  }
1935
2091
  }), {
1936
2092
  docked: i,
1937
2093
  orientation: l,
1938
2094
  isDragging: o,
1939
2095
  movement: a,
1940
- position: s
2096
+ position: r
1941
2097
  };
1942
2098
  }
1943
- function Vo(t, e, n, i) {
1944
- const l = x(null), o = x(null), a = x(null), s = x(null);
1945
- return E(t, (r, c) => {
1946
- l.value = c;
1947
- }), E(e, (r, c) => {
1948
- o.value = c;
1949
- }), E(n, (r, c) => {
1950
- a.value = c;
1951
- }), E(i, (r, c) => {
1952
- s.value = c;
2099
+ function Ho(t, e, n, i) {
2100
+ const l = x(null), o = x(null), a = x(null), r = x(null);
2101
+ return A(t, (s, p) => {
2102
+ l.value = p;
2103
+ }), A(e, (s, p) => {
2104
+ o.value = p;
2105
+ }), A(n, (s, p) => {
2106
+ a.value = p;
2107
+ }), A(i, (s, p) => {
2108
+ r.value = p;
1953
2109
  }), {
1954
2110
  lastLeft: l,
1955
2111
  lastTop: o,
1956
2112
  lastWidth: a,
1957
- lastHeight: s
2113
+ lastHeight: r
1958
2114
  };
1959
2115
  }
1960
- function Ao(t, e, n, i) {
1961
- 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);
1962
- return E([a, s], ([c, w]) => {
1963
- (l.value == null || o.value == null || e.value) && (l.value = c, o.value = w);
1964
- }), E(r, (c) => {
1965
- i.value && n.value && (o.value = c);
2116
+ function Go(t, e, n, i) {
2117
+ const l = x(t.value.width), o = x(t.value.left), a = M(() => t.value.width), r = M(() => t.value.left), s = M(() => n.value ? n.value.x : null);
2118
+ return A([a, r], ([p, g]) => {
2119
+ (l.value == null || o.value == null || e.value) && (l.value = p, o.value = g);
2120
+ }), A(s, (p) => {
2121
+ i.value && n.value && (o.value = p);
1966
2122
  }), { left: o, width: l };
1967
2123
  }
1968
- function Fo(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
2124
+ function Wo(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
1969
2125
  const n = x({});
1970
2126
  let i = !1;
1971
2127
  const l = () => {
@@ -1974,154 +2130,154 @@ function Fo(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
1974
2130
  n.value.left = Math.max(o.left, e.value.left), n.value.top = Math.max(o.top, e.value.top), n.value.width = o.width, n.value.height = o.height, i = !0;
1975
2131
  }
1976
2132
  };
1977
- return H(() => {
2133
+ return U(() => {
1978
2134
  t.value && l();
1979
- }), E(t, (o) => {
2135
+ }), A(t, (o) => {
1980
2136
  o && l();
1981
2137
  }), {
1982
2138
  isIntialized: i,
1983
2139
  initialRect: n
1984
2140
  };
1985
2141
  }
1986
- function Io(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom: 0 }), l = { width: 20, height: 40 }) {
1987
- const { initialRect: o } = Fo(t, i), a = x(!1);
1988
- let s = 0, r = 0, c = 0, w = 0, f = 0;
1989
- const m = 5, h = x(null), _ = (V) => {
2142
+ function Uo(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom: 0 }), l = { width: 20, height: 40 }) {
2143
+ const { initialRect: o } = Wo(t, i), a = x(!1);
2144
+ let r = 0, s = 0, p = 0, g = 0, b = 0;
2145
+ const v = 5, h = x(null), w = (L) => {
1990
2146
  if (!(!t.value || e.value))
1991
2147
  if (a.value) {
1992
- const B = V.clientX - w, N = V.clientY - f;
2148
+ const D = L.clientX - g, H = L.clientY - b;
1993
2149
  if (h.value === "left" || h.value === "left-bottom-corner") {
1994
- const R = r - B;
1995
- R > l.width && (o.value.width = R, o.value.left = s + B, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
2150
+ const P = s - D;
2151
+ P > l.width && (o.value.width = P, o.value.left = r + D, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
1996
2152
  }
1997
2153
  if (h.value === "right" || h.value === "right-bottom-corner") {
1998
- const R = r + B;
1999
- R > l.width && (o.value.width = R, t.value.style.width = o.value.width + "px");
2154
+ const P = s + D;
2155
+ P > l.width && (o.value.width = P, t.value.style.width = o.value.width + "px");
2000
2156
  }
2001
2157
  if (h.value === "bottom" || h.value === "left-bottom-corner" || h.value === "right-bottom-corner") {
2002
- const R = c + N;
2003
- R > l.height && (o.value.height = R, t.value.style.height = o.value.height + "px");
2158
+ const P = p + H;
2159
+ P > l.height && (o.value.height = P, t.value.style.height = o.value.height + "px");
2004
2160
  }
2005
2161
  } else {
2006
- const B = t.value.getBoundingClientRect(), N = V.clientX - B.left, R = V.clientY - B.top, z = N <= m, A = N >= B.width - m, O = R >= B.height - m;
2007
- z && O && n.value ? (t.value.style.cursor = "nesw-resize", h.value = "left-bottom-corner") : A && O && !n.value ? (t.value.style.cursor = "nwse-resize", h.value = "right-bottom-corner") : z && n.value ? (t.value.style.cursor = "ew-resize", h.value = "left") : A && !n.value ? (t.value.style.cursor = "ew-resize", h.value = "right") : O ? (t.value.style.cursor = "ns-resize", h.value = "bottom") : (t.value.style.cursor = "", h.value = null);
2162
+ const D = t.value.getBoundingClientRect(), H = L.clientX - D.left, P = L.clientY - D.top, $ = H <= v, F = H >= D.width - v, G = P >= D.height - v;
2163
+ $ && G && n.value ? (t.value.style.cursor = "nesw-resize", h.value = "left-bottom-corner") : F && G && !n.value ? (t.value.style.cursor = "nwse-resize", h.value = "right-bottom-corner") : $ && n.value ? (t.value.style.cursor = "ew-resize", h.value = "left") : F && !n.value ? (t.value.style.cursor = "ew-resize", h.value = "right") : G ? (t.value.style.cursor = "ns-resize", h.value = "bottom") : (t.value.style.cursor = "", h.value = null);
2008
2164
  }
2009
- }, b = (V) => {
2165
+ }, k = (L) => {
2010
2166
  if (!t.value || !h.value) return;
2011
- const B = t.value.getBoundingClientRect();
2012
- w = V.clientX, f = V.clientY, r = B.width, c = B.height, s = B.left, o.value.width = r, o.value.height = c, o.value.left = B.left, o.value.top = B.top, a.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", S);
2013
- }, S = () => {
2014
- a.value = !1, h.value = null, t.value && (t.value.style.cursor = ""), document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", S);
2015
- }, $ = () => {
2016
- t.value && (t.value.removeEventListener("mousedown", b), t.value.removeEventListener("mousemove", _)), document.removeEventListener("mouseup", S);
2017
- }, I = () => {
2018
- t.value && (t.value.addEventListener("mousedown", b), t.value.addEventListener("mousemove", _));
2167
+ const D = t.value.getBoundingClientRect();
2168
+ g = L.clientX, b = L.clientY, s = D.width, p = D.height, r = D.left, o.value.width = s, o.value.height = p, o.value.left = D.left, o.value.top = D.top, a.value = !0, document.addEventListener("mousemove", w), document.addEventListener("mouseup", B);
2169
+ }, B = () => {
2170
+ a.value = !1, h.value = null, t.value && (t.value.style.cursor = ""), document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", B);
2171
+ }, V = () => {
2172
+ t.value && (t.value.removeEventListener("mousedown", k), t.value.removeEventListener("mousemove", w)), document.removeEventListener("mouseup", B);
2173
+ }, y = () => {
2174
+ t.value && (t.value.addEventListener("mousedown", k), t.value.addEventListener("mousemove", w));
2019
2175
  };
2020
- return H(() => {
2021
- t.value && I();
2022
- }), De(() => {
2023
- $();
2024
- }), E(t, (V) => {
2025
- V ? I() : $();
2176
+ return U(() => {
2177
+ t.value && y();
2178
+ }), Ee(() => {
2179
+ V();
2180
+ }), A(t, (L) => {
2181
+ L ? y() : V();
2026
2182
  }), { rect: o, isResizing: a };
2027
2183
  }
2028
- function Ro(t, e, n, i) {
2184
+ function qo(t, e, n, i) {
2029
2185
  const l = () => {
2030
2186
  if (t.value) {
2031
- const r = t.value;
2032
- e.value ? r.style.transition = "width 0.3s ease-out, left 0.3s ease-out" : r.style.transition = "width 0.3s ease";
2187
+ const s = t.value;
2188
+ e.value ? s.style.transition = "width 0.3s ease-out, left 0.3s ease-out" : s.style.transition = "width 0.3s ease";
2033
2189
  }
2034
2190
  }, o = () => {
2035
2191
  t.value && (t.value.style.transition = "");
2036
2192
  }, a = () => {
2037
2193
  t.value && t.value.removeEventListener("transitionend", o);
2038
- }, s = () => {
2194
+ }, r = () => {
2039
2195
  t.value && t.value.addEventListener("transitionend", o);
2040
2196
  };
2041
- H(() => {
2197
+ U(() => {
2042
2198
  t.value && t.value.addEventListener("transitionend", o);
2043
- }), De(() => {
2199
+ }), Ee(() => {
2044
2200
  t.value && t.value.removeEventListener("transitionend", o);
2045
- }), E(t, (r) => {
2046
- r ? s() : a();
2047
- }), E(n, () => {
2201
+ }), A(t, (s) => {
2202
+ s ? r() : a();
2203
+ }), A(n, () => {
2048
2204
  l();
2049
- }), E(i, () => {
2205
+ }), A(i, () => {
2050
2206
  l();
2051
2207
  });
2052
2208
  }
2053
- function Po(t, e, n, i) {
2054
- const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: s, movement: r, position: c, isDragging: w } = $o(
2209
+ function jo(t, e, n, i) {
2210
+ const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: r, movement: s, position: p, isDragging: g } = Ro(
2055
2211
  t,
2056
2212
  e,
2057
2213
  i
2058
- ), f = k(() => s.value === "right"), { rect: m, isResizing: h } = Io(
2214
+ ), b = M(() => r.value === "right"), { rect: v, isResizing: h } = Uo(
2059
2215
  t,
2060
2216
  n,
2061
- f,
2217
+ b,
2062
2218
  i.value.offset
2063
- ), { width: _, left: b } = Ao(
2064
- m,
2219
+ ), { width: w, left: k } = Go(
2220
+ v,
2065
2221
  h,
2066
- c,
2067
- w
2068
- ), { lastTop: S, lastHeight: $ } = Vo(
2069
- k(() => m.value.left),
2070
- k(() => m.value.top),
2071
- k(() => m.value.width),
2072
- k(() => m.value.height)
2073
- ), { autoOpened: I } = To(t, e, n);
2074
- Ro(t, f, n, I);
2075
- const V = (z) => {
2222
+ p,
2223
+ g
2224
+ ), { lastTop: B, lastHeight: V } = Ho(
2225
+ M(() => v.value.left),
2226
+ M(() => v.value.top),
2227
+ M(() => v.value.width),
2228
+ M(() => v.value.height)
2229
+ ), { autoOpened: y } = Po(t, e, n);
2230
+ qo(t, b, n, y);
2231
+ const L = ($) => {
2076
2232
  if (t.value) {
2077
- const A = t.value.getBoundingClientRect(), O = A.left + z;
2078
- if (f.value) {
2079
- m.value.left = O;
2080
- const de = window.innerWidth - A.width - A.left;
2081
- A.left <= 0 && de >= 0 && z < 0 && (m.value.left = Math.max(0, O)), window.innerWidth - A.width <= 0 && (m.value.left = window.innerWidth - A.width);
2233
+ const F = t.value.getBoundingClientRect(), G = F.left + $;
2234
+ if (b.value) {
2235
+ v.value.left = G;
2236
+ const J = window.innerWidth - F.width - F.left;
2237
+ F.left <= 0 && J >= 0 && $ < 0 && (v.value.left = Math.max(0, G)), window.innerWidth - F.width <= 0 && (v.value.left = window.innerWidth - F.width);
2082
2238
  } else
2083
- A.left + A.width >= window.innerWidth && z < 0 && (m.value.left = Math.max(0, O));
2239
+ F.left + F.width >= window.innerWidth && $ < 0 && (v.value.left = Math.max(0, G));
2084
2240
  }
2085
- }, B = () => {
2086
- const z = window.innerWidth - l.value;
2087
- l.value = window.innerWidth, o.value = window.innerHeight, V(z);
2241
+ }, D = () => {
2242
+ const $ = window.innerWidth - l.value;
2243
+ l.value = window.innerWidth, o.value = window.innerHeight, L($);
2088
2244
  };
2089
- H(() => {
2090
- window.addEventListener("resize", B);
2091
- }), te(() => {
2092
- window.removeEventListener("resize", B);
2245
+ U(() => {
2246
+ window.addEventListener("resize", D);
2247
+ }), ne(() => {
2248
+ window.removeEventListener("resize", D);
2093
2249
  });
2094
- const N = (z) => {
2095
- z ? (m.value.width = Me, f.value && b.value && _.value && (m.value.left = b.value + _.value - Me)) : (m.value.width = _.value, f.value && b.value && _.value && (m.value.left = b.value));
2096
- }, R = () => {
2097
- a.value ? (m.value.top = i.value.offset.value.top, m.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (m.value.top = S.value, m.value.height = $.value);
2250
+ const H = ($) => {
2251
+ $ ? (v.value.width = ze, b.value && k.value && w.value && (v.value.left = k.value + w.value - ze)) : (v.value.width = w.value, b.value && k.value && w.value && (v.value.left = k.value));
2252
+ }, P = () => {
2253
+ a.value ? (v.value.top = i.value.offset.value.top, v.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (v.value.top = B.value, v.value.height = V.value);
2098
2254
  };
2099
- return E(a, () => {
2100
- R();
2101
- }), E(n, (z) => {
2102
- N(z);
2103
- }), E(I, (z) => {
2104
- n.value && !w.value && N(!z);
2105
- }), E(r, (z) => {
2106
- if (z && t.value) {
2107
- const A = t.value.getBoundingClientRect();
2108
- m.value.left = A.left, m.value.top = A.top;
2255
+ return A(a, () => {
2256
+ P();
2257
+ }), A(n, ($) => {
2258
+ H($);
2259
+ }), A(y, ($) => {
2260
+ n.value && !g.value && H(!$);
2261
+ }), A(s, ($) => {
2262
+ if ($ && t.value) {
2263
+ const F = t.value.getBoundingClientRect();
2264
+ v.value.left = F.left, v.value.top = F.top;
2109
2265
  }
2110
- }), { rect: m, orientation: s, reversed: f };
2266
+ }), { rect: v, orientation: r, reversed: b };
2111
2267
  }
2112
- const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ */ No(() => /* @__PURE__ */ d("svg", {
2268
+ const Yo = (t) => (Te("data-v-8645db4f"), t = t(), $e(), t), Ko = /* @__PURE__ */ Yo(() => /* @__PURE__ */ c("svg", {
2113
2269
  xmlns: "http://www.w3.org/2000/svg",
2114
2270
  width: "1em",
2115
2271
  height: "1em",
2116
2272
  viewBox: "0 0 1024 1024"
2117
2273
  }, [
2118
- /* @__PURE__ */ d("path", {
2274
+ /* @__PURE__ */ c("path", {
2119
2275
  fill: "currentColor",
2120
2276
  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"
2121
2277
  })
2122
- ], -1)), Ho = { class: "ml-tool-palette-title" }, Go = { class: "ml-tool-palette-content" }, Wo = /* @__PURE__ */ L({
2278
+ ], -1)), Xo = { class: "ml-tool-palette-title" }, Qo = { class: "ml-tool-palette-content" }, Zo = /* @__PURE__ */ S({
2123
2279
  __name: "MlToolPalette",
2124
- props: /* @__PURE__ */ J({
2280
+ props: /* @__PURE__ */ ee({
2125
2281
  title: { default: "" },
2126
2282
  leftOffset: { default: 0 },
2127
2283
  rightOffset: { default: 0 },
@@ -2131,9 +2287,9 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2131
2287
  modelValue: { default: !0 },
2132
2288
  modelModifiers: {}
2133
2289
  }),
2134
- emits: /* @__PURE__ */ J(["close"], ["update:modelValue"]),
2290
+ emits: /* @__PURE__ */ ee(["close"], ["update:modelValue"]),
2135
2291
  setup(t, { emit: e }) {
2136
- const n = t, i = ve(t, "modelValue"), l = e, o = x(!1), a = x(null), s = x(null), r = k(() => ({
2292
+ const n = t, i = _e(t, "modelValue"), l = e, o = x(!1), a = x(null), r = x(null), s = M(() => ({
2137
2293
  offset: x({
2138
2294
  left: n.leftOffset,
2139
2295
  right: n.rightOffset,
@@ -2141,126 +2297,126 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2141
2297
  bottom: n.bottomOffset
2142
2298
  })
2143
2299
  })), {
2144
- rect: c,
2145
- orientation: w,
2146
- reversed: f
2147
- } = Po(s, a, o, r), m = k(() => ({
2148
- left: `${c.value.left}px`,
2149
- top: `${c.value.top}px`,
2150
- width: `${c.value.width}px`,
2151
- height: `${c.value.height}px`
2152
- })), h = k(() => f.value ? {
2300
+ rect: p,
2301
+ orientation: g,
2302
+ reversed: b
2303
+ } = jo(r, a, o, s), v = M(() => ({
2304
+ left: `${p.value.left}px`,
2305
+ top: `${p.value.top}px`,
2306
+ width: `${p.value.width}px`,
2307
+ height: `${p.value.height}px`
2308
+ })), h = M(() => b.value ? {
2153
2309
  borderLeft: "1px solid var(--el-border-color)",
2154
2310
  borderRight: null
2155
2311
  } : {
2156
2312
  borderLeft: null,
2157
2313
  borderRight: "1px solid var(--el-border-color)"
2158
- }), _ = () => {
2314
+ }), w = () => {
2159
2315
  i.value = !1;
2160
- const b = s.value;
2316
+ const k = r.value;
2161
2317
  l("close", {
2162
- x: b ? b.clientLeft : 0,
2163
- y: b ? b.clientTop : 0
2318
+ x: k ? k.clientLeft : 0,
2319
+ y: k ? k.clientTop : 0
2164
2320
  });
2165
2321
  };
2166
- return (b, S) => {
2167
- const $ = se;
2168
- return i.value ? (u(), y("div", {
2322
+ return (k, B) => {
2323
+ const V = de;
2324
+ return i.value ? (u(), _("div", {
2169
2325
  key: 0,
2170
2326
  ref_key: "toolPaletteElement",
2171
- ref: s,
2172
- style: pe([m.value]),
2327
+ ref: r,
2328
+ style: ge([v.value]),
2173
2329
  class: "ml-tool-palette-dialog"
2174
2330
  }, [
2175
- d("div", {
2176
- class: Ce(["ml-tool-palette-dialog-layout", g(w)])
2331
+ c("div", {
2332
+ class: we(["ml-tool-palette-dialog-layout", d(g)])
2177
2333
  }, [
2178
- d("div", {
2334
+ c("div", {
2179
2335
  ref_key: "titleBarElement",
2180
2336
  ref: a,
2181
2337
  class: "ml-tool-palette-title-bar",
2182
- style: pe(h.value)
2338
+ style: ge(h.value)
2183
2339
  }, [
2184
- v($, {
2340
+ m(V, {
2185
2341
  size: 18,
2186
2342
  class: "ml-tool-palette-dialog-icon",
2187
- onClick: _
2343
+ onClick: w
2188
2344
  }, {
2189
- default: p(() => [
2190
- Oo
2345
+ default: f(() => [
2346
+ Ko
2191
2347
  ]),
2192
2348
  _: 1
2193
2349
  }),
2194
- v(vo, {
2350
+ m(ko, {
2195
2351
  class: "ml-tool-palette-dialog-icon",
2196
2352
  modelValue: o.value,
2197
- "onUpdate:modelValue": S[0] || (S[0] = (I) => o.value = I),
2198
- reverse: g(f)
2353
+ "onUpdate:modelValue": B[0] || (B[0] = (y) => o.value = y),
2354
+ reverse: d(b)
2199
2355
  }, null, 8, ["modelValue", "reverse"]),
2200
- d("span", Ho, D(n.title), 1)
2356
+ c("span", Xo, T(n.title), 1)
2201
2357
  ], 4),
2202
- d("div", Go, [
2203
- ie(b.$slots, "default", {}, void 0, !0)
2358
+ c("div", Qo, [
2359
+ re(k.$slots, "default", {}, void 0, !0)
2204
2360
  ])
2205
2361
  ], 2)
2206
- ], 4)) : q("", !0);
2362
+ ], 4)) : R("", !0);
2207
2363
  };
2208
2364
  }
2209
- }), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-8645db4f"]]), Uo = { class: "ml-layer-list-cell" }, jo = { class: "ml-layer-list-cell" }, Yo = /* @__PURE__ */ L({
2365
+ }), Jo = /* @__PURE__ */ fe(Zo, [["__scopeId", "data-v-8645db4f"]]), el = { class: "ml-layer-list-cell" }, tl = { class: "ml-layer-list-cell" }, nl = /* @__PURE__ */ S({
2210
2366
  __name: "MlLayerList",
2211
2367
  props: {
2212
2368
  editor: {}
2213
2369
  },
2214
2370
  setup(t) {
2215
- const { t: e } = P(), n = t, i = gt(n.editor), l = x(), o = x([]), a = (r) => {
2216
- o.value = r;
2217
- }, s = (r) => {
2218
- const c = n.editor.curDocument.database.tables.layerTable.getAt(
2219
- r.name
2371
+ const { t: e } = O(), n = t, i = yt(n.editor), l = x(), o = x([]), a = (s) => {
2372
+ o.value = s;
2373
+ }, r = (s) => {
2374
+ const p = n.editor.curDocument.database.tables.layerTable.getAt(
2375
+ s.name
2220
2376
  );
2221
- c && (c.isOff = !r.isOn);
2377
+ p && (p.isOff = !s.isOn);
2222
2378
  };
2223
- return (r, c) => {
2224
- const w = M("el-table-column"), f = M("el-checkbox"), m = M("el-tag");
2225
- return u(), C(g(Qe), {
2379
+ return (s, p) => {
2380
+ const g = C("el-table-column"), b = C("el-checkbox"), v = C("el-tag");
2381
+ return u(), z(d(ot), {
2226
2382
  ref_key: "multipleTableRef",
2227
2383
  ref: l,
2228
- data: g(i),
2384
+ data: d(i),
2229
2385
  class: "ml-layer-list",
2230
2386
  onSelectionChange: a
2231
2387
  }, {
2232
- default: p(() => [
2233
- v(w, {
2388
+ default: f(() => [
2389
+ m(g, {
2234
2390
  property: "name",
2235
- label: g(e)("main.toolPalette.layerManager.layerList.name"),
2391
+ label: d(e)("main.toolPalette.layerManager.layerList.name"),
2236
2392
  "min-width": "120",
2237
2393
  sortable: "",
2238
2394
  "show-overflow-tooltip": ""
2239
2395
  }, null, 8, ["label"]),
2240
- v(w, {
2396
+ m(g, {
2241
2397
  property: "isOn",
2242
- label: g(e)("main.toolPalette.layerManager.layerList.on"),
2398
+ label: d(e)("main.toolPalette.layerManager.layerList.on"),
2243
2399
  width: "50"
2244
2400
  }, {
2245
- default: p((h) => [
2246
- d("div", Uo, [
2247
- v(f, {
2401
+ default: f((h) => [
2402
+ c("div", el, [
2403
+ m(b, {
2248
2404
  modelValue: h.row.isOn,
2249
- "onUpdate:modelValue": (_) => h.row.isOn = _,
2250
- onChange: (_) => s(h.row)
2405
+ "onUpdate:modelValue": (w) => h.row.isOn = w,
2406
+ onChange: (w) => r(h.row)
2251
2407
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
2252
2408
  ])
2253
2409
  ]),
2254
2410
  _: 1
2255
2411
  }, 8, ["label"]),
2256
- v(w, {
2412
+ m(g, {
2257
2413
  property: "color",
2258
- label: g(e)("main.toolPalette.layerManager.layerList.color"),
2414
+ label: d(e)("main.toolPalette.layerManager.layerList.color"),
2259
2415
  width: "70"
2260
2416
  }, {
2261
- default: p((h) => [
2262
- d("div", jo, [
2263
- v(m, {
2417
+ default: f((h) => [
2418
+ c("div", tl, [
2419
+ m(v, {
2264
2420
  color: h.row.color,
2265
2421
  class: "ml-layer-list-color"
2266
2422
  }, null, 8, ["color"])
@@ -2273,23 +2429,23 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2273
2429
  }, 8, ["data"]);
2274
2430
  };
2275
2431
  }
2276
- }), Ko = { class: "ml-layer-list-wrapper" }, Xo = /* @__PURE__ */ L({
2432
+ }), ol = { class: "ml-layer-list-wrapper" }, ll = /* @__PURE__ */ S({
2277
2433
  __name: "MlLayerManager",
2278
2434
  props: {
2279
2435
  editor: {}
2280
2436
  },
2281
2437
  setup(t) {
2282
2438
  const e = t;
2283
- return (n, i) => (u(), C(g(qo), {
2439
+ return (n, i) => (u(), z(d(Jo), {
2284
2440
  class: "ml-layer-manager",
2285
- modelValue: g(Z).dialogs.layerManager,
2286
- "onUpdate:modelValue": i[0] || (i[0] = (l) => g(Z).dialogs.layerManager = l),
2441
+ modelValue: d(Z).dialogs.layerManager,
2442
+ "onUpdate:modelValue": i[0] || (i[0] = (l) => d(Z).dialogs.layerManager = l),
2287
2443
  title: "Layers",
2288
2444
  "bottom-offset": 30
2289
2445
  }, {
2290
- default: p(() => [
2291
- d("div", Ko, [
2292
- v(Yo, {
2446
+ default: f(() => [
2447
+ c("div", ol, [
2448
+ m(nl, {
2293
2449
  editor: e.editor
2294
2450
  }, null, 8, ["editor"])
2295
2451
  ])
@@ -2297,58 +2453,58 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2297
2453
  _: 1
2298
2454
  }, 8, ["modelValue"]));
2299
2455
  }
2300
- }), Qo = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-d49ba2cb"]]), Zo = { class: "autocomplete-container" }, Jo = /* @__PURE__ */ L({
2456
+ }), al = /* @__PURE__ */ W(ll, [["__scopeId", "data-v-d49ba2cb"]]), il = { class: "autocomplete-container" }, sl = /* @__PURE__ */ S({
2301
2457
  __name: "MlCommandLine",
2302
2458
  setup(t) {
2303
- const { t: e } = P(), n = ce(), i = ut(), l = x(""), o = x(""), a = (c, w) => {
2304
- const f = c ? i.filter(
2305
- (m) => m.commandName.startsWith(c.toLowerCase())
2459
+ const { t: e } = O(), n = pe(), i = gt(), l = x(""), o = x(""), a = (p, g) => {
2460
+ const b = p ? i.filter(
2461
+ (v) => v.commandName.startsWith(p.toLowerCase())
2306
2462
  ) : i;
2307
- w(f);
2308
- }, s = () => {
2309
- l.value && (T.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
2310
- }, r = (c, w) => `${w}: ${fe(c, w)}`;
2311
- return (c, w) => (u(), y("div", Zo, [
2312
- g(n).isShowCommandLine ? (u(), C(g(Ze), {
2463
+ g(b);
2464
+ }, r = () => {
2465
+ l.value && (E.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
2466
+ }, s = (p, g) => `${g}: ${ye(p, g)}`;
2467
+ return (p, g) => (u(), _("div", il, [
2468
+ d(n).isShowCommandLine ? (u(), z(d(lt), {
2313
2469
  key: 0,
2314
2470
  modelValue: l.value,
2315
- "onUpdate:modelValue": w[0] || (w[0] = (f) => l.value = f),
2471
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => l.value = b),
2316
2472
  "value-key": "commandName",
2317
2473
  clearable: "",
2318
2474
  "fetch-suggestions": a,
2319
- placeholder: g(e)("main.commandLine.prompt"),
2475
+ placeholder: d(e)("main.commandLine.prompt"),
2320
2476
  debounce: 300,
2321
2477
  "trigger-on-focus": "",
2322
2478
  "fit-input-width": !1,
2323
- onSelect: s,
2324
- onKeydown: Ne(s, ["enter"]),
2479
+ onSelect: r,
2480
+ onKeydown: Ue(r, ["enter"]),
2325
2481
  class: "autocomplete-input"
2326
2482
  }, {
2327
- default: p(({ item: f }) => [
2328
- d("div", null, D(r(f.groupName, f.commandName)), 1)
2483
+ default: f(({ item: b }) => [
2484
+ c("div", null, T(s(b.groupName, b.commandName)), 1)
2329
2485
  ]),
2330
- prepend: p(() => [
2331
- F(D(`> ${o.value}`), 1)
2486
+ prepend: f(() => [
2487
+ N(T(`> ${o.value}`), 1)
2332
2488
  ]),
2333
2489
  _: 1
2334
- }, 8, ["modelValue", "placeholder"])) : q("", !0)
2490
+ }, 8, ["modelValue", "placeholder"])) : R("", !0)
2335
2491
  ]));
2336
2492
  }
2337
- }), el = /* @__PURE__ */ G(Jo, [["__scopeId", "data-v-082845cb"]]), tl = /* @__PURE__ */ L({
2493
+ }), rl = /* @__PURE__ */ W(sl, [["__scopeId", "data-v-082845cb"]]), cl = /* @__PURE__ */ S({
2338
2494
  __name: "MlEntityInfo",
2339
2495
  setup(t) {
2340
- Se((m) => ({
2496
+ De((v) => ({
2341
2497
  "2d5cc4ca": a.value,
2342
- "11fa7d7e": s.value
2498
+ "11fa7d7e": r.value
2343
2499
  }));
2344
- const { t: e } = P(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = k(() => i.value + "px"), s = k(() => l.value + "px"), r = k(() => {
2345
- const m = T.instance.curDocument.database;
2500
+ const { t: e } = O(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = M(() => i.value + "px"), r = M(() => l.value + "px"), s = M(() => {
2501
+ const v = E.instance.curDocument.database;
2346
2502
  if (o.value) {
2347
- const h = m.tables.blockTable.modelSpace.getIdAt(o.value);
2503
+ const h = v.tables.blockTable.modelSpace.getIdAt(o.value);
2348
2504
  if (h)
2349
2505
  return {
2350
- type: Ct(h),
2351
- color: Lt(h.color.toString()),
2506
+ type: $t(h),
2507
+ color: Et(h.color.toString()),
2352
2508
  layer: h.layer,
2353
2509
  lineType: h.lineType
2354
2510
  };
@@ -2359,34 +2515,34 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2359
2515
  layer: "",
2360
2516
  lineType: ""
2361
2517
  };
2362
- }), c = k(() => n.value && r.value.type != ""), w = (m) => {
2363
- o.value = m.id, i.value = m.x, l.value = m.y, n.value = !0;
2364
- }, f = () => {
2518
+ }), p = M(() => n.value && s.value.type != ""), g = (v) => {
2519
+ o.value = v.id, i.value = v.x, l.value = v.y, n.value = !0;
2520
+ }, b = () => {
2365
2521
  n.value = !1;
2366
2522
  };
2367
- return H(() => {
2368
- const m = T.instance.curView.events;
2369
- m.hover.addEventListener(w), m.unhover.addEventListener(f);
2370
- }), te(() => {
2371
- const m = T.instance.curView.events;
2372
- m.hover.removeEventListener(w), m.unhover.removeEventListener(f);
2373
- }), (m, h) => {
2374
- const _ = M("el-text"), b = M("el-col"), S = M("el-row"), $ = M("el-card");
2375
- return c.value ? (u(), C($, {
2523
+ return U(() => {
2524
+ const v = E.instance.curView.events;
2525
+ v.hover.addEventListener(g), v.unhover.addEventListener(b);
2526
+ }), ne(() => {
2527
+ const v = E.instance.curView.events;
2528
+ v.hover.removeEventListener(g), v.unhover.removeEventListener(b);
2529
+ }), (v, h) => {
2530
+ const w = C("el-text"), k = C("el-col"), B = C("el-row"), V = C("el-card");
2531
+ return p.value ? (u(), z(V, {
2376
2532
  key: 0,
2377
2533
  class: "ml-entity-info"
2378
2534
  }, {
2379
- default: p(() => [
2380
- v(S, { class: "ml-entity-info-text" }, {
2381
- default: p(() => [
2382
- v(b, { span: 24 }, {
2383
- default: p(() => [
2384
- v(_, {
2535
+ default: f(() => [
2536
+ m(B, { class: "ml-entity-info-text" }, {
2537
+ default: f(() => [
2538
+ m(k, { span: 24 }, {
2539
+ default: f(() => [
2540
+ m(w, {
2385
2541
  size: "small",
2386
2542
  class: "ml-entity-info-title"
2387
2543
  }, {
2388
- default: p(() => [
2389
- F(D(r.value.type), 1)
2544
+ default: f(() => [
2545
+ N(T(s.value.type), 1)
2390
2546
  ]),
2391
2547
  _: 1
2392
2548
  })
@@ -2396,24 +2552,24 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2396
2552
  ]),
2397
2553
  _: 1
2398
2554
  }),
2399
- v(S, { class: "ml-entity-info-text" }, {
2400
- default: p(() => [
2401
- v(b, { span: 10 }, {
2402
- default: p(() => [
2403
- v(_, { size: "small" }, {
2404
- default: p(() => [
2405
- F(D(g(e)("main.entityInfo.color")), 1)
2555
+ m(B, { class: "ml-entity-info-text" }, {
2556
+ default: f(() => [
2557
+ m(k, { span: 10 }, {
2558
+ default: f(() => [
2559
+ m(w, { size: "small" }, {
2560
+ default: f(() => [
2561
+ N(T(d(e)("main.entityInfo.color")), 1)
2406
2562
  ]),
2407
2563
  _: 1
2408
2564
  })
2409
2565
  ]),
2410
2566
  _: 1
2411
2567
  }),
2412
- v(b, { span: 14 }, {
2413
- default: p(() => [
2414
- v(_, { size: "small" }, {
2415
- default: p(() => [
2416
- F(D(r.value.color), 1)
2568
+ m(k, { span: 14 }, {
2569
+ default: f(() => [
2570
+ m(w, { size: "small" }, {
2571
+ default: f(() => [
2572
+ N(T(s.value.color), 1)
2417
2573
  ]),
2418
2574
  _: 1
2419
2575
  })
@@ -2423,24 +2579,24 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2423
2579
  ]),
2424
2580
  _: 1
2425
2581
  }),
2426
- v(S, { class: "ml-entity-info-text" }, {
2427
- default: p(() => [
2428
- v(b, { span: 10 }, {
2429
- default: p(() => [
2430
- v(_, { size: "small" }, {
2431
- default: p(() => [
2432
- F(D(g(e)("main.entityInfo.layer")), 1)
2582
+ m(B, { class: "ml-entity-info-text" }, {
2583
+ default: f(() => [
2584
+ m(k, { span: 10 }, {
2585
+ default: f(() => [
2586
+ m(w, { size: "small" }, {
2587
+ default: f(() => [
2588
+ N(T(d(e)("main.entityInfo.layer")), 1)
2433
2589
  ]),
2434
2590
  _: 1
2435
2591
  })
2436
2592
  ]),
2437
2593
  _: 1
2438
2594
  }),
2439
- v(b, { span: 14 }, {
2440
- default: p(() => [
2441
- v(_, { size: "small" }, {
2442
- default: p(() => [
2443
- F(D(r.value.layer), 1)
2595
+ m(k, { span: 14 }, {
2596
+ default: f(() => [
2597
+ m(w, { size: "small" }, {
2598
+ default: f(() => [
2599
+ N(T(s.value.layer), 1)
2444
2600
  ]),
2445
2601
  _: 1
2446
2602
  })
@@ -2450,24 +2606,24 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2450
2606
  ]),
2451
2607
  _: 1
2452
2608
  }),
2453
- v(S, { class: "ml-entity-info-text" }, {
2454
- default: p(() => [
2455
- v(b, { span: 10 }, {
2456
- default: p(() => [
2457
- v(_, { size: "small" }, {
2458
- default: p(() => [
2459
- F(D(g(e)("main.entityInfo.lineType")), 1)
2609
+ m(B, { class: "ml-entity-info-text" }, {
2610
+ default: f(() => [
2611
+ m(k, { span: 10 }, {
2612
+ default: f(() => [
2613
+ m(w, { size: "small" }, {
2614
+ default: f(() => [
2615
+ N(T(d(e)("main.entityInfo.lineType")), 1)
2460
2616
  ]),
2461
2617
  _: 1
2462
2618
  })
2463
2619
  ]),
2464
2620
  _: 1
2465
2621
  }),
2466
- v(b, { span: 14 }, {
2467
- default: p(() => [
2468
- v(_, { size: "small" }, {
2469
- default: p(() => [
2470
- F(D(r.value.lineType), 1)
2622
+ m(k, { span: 14 }, {
2623
+ default: f(() => [
2624
+ m(w, { size: "small" }, {
2625
+ default: f(() => [
2626
+ N(T(s.value.lineType), 1)
2471
2627
  ]),
2472
2628
  _: 1
2473
2629
  })
@@ -2479,16 +2635,16 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2479
2635
  })
2480
2636
  ]),
2481
2637
  _: 1
2482
- })) : q("", !0);
2638
+ })) : R("", !0);
2483
2639
  };
2484
2640
  }
2485
- }), nl = /* @__PURE__ */ G(tl, [["__scopeId", "data-v-6a67bbe7"]]), ol = /* @__PURE__ */ L({
2641
+ }), ul = /* @__PURE__ */ W(cl, [["__scopeId", "data-v-6a67bbe7"]]), dl = /* @__PURE__ */ S({
2486
2642
  __name: "MlLanguageSelector",
2487
2643
  props: {
2488
2644
  currentLocale: { default: void 0 }
2489
2645
  },
2490
2646
  setup(t) {
2491
- const e = t, { effectiveLocale: n, setLocale: i } = Ee(e.currentLocale), l = U([
2647
+ const e = t, { effectiveLocale: n, setLocale: i } = Fe(e.currentLocale), l = Y([
2492
2648
  {
2493
2649
  name: "en",
2494
2650
  text: "English"
@@ -2500,139 +2656,245 @@ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ *
2500
2656
  ]), o = (a) => {
2501
2657
  (a === "en" || a === "zh") && i(a);
2502
2658
  };
2503
- return (a, s) => (u(), C(g(bo), {
2659
+ return (a, r) => (u(), z(d(Bo), {
2504
2660
  class: "ml-language-selector",
2505
2661
  languages: l,
2506
- current: g(n),
2662
+ current: d(n),
2507
2663
  onClick: o
2508
2664
  }, null, 8, ["languages", "current"]));
2509
2665
  }
2510
- }), ll = /* @__PURE__ */ G(ol, [["__scopeId", "data-v-1b9f7bc0"]]);
2666
+ }), ml = /* @__PURE__ */ W(dl, [["__scopeId", "data-v-1b9f7bc0"]]);
2511
2667
  /*! Element Plus Icons Vue v2.3.1 */
2512
- var al = /* @__PURE__ */ L({
2668
+ var pl = /* @__PURE__ */ S({
2669
+ name: "Bell",
2670
+ __name: "bell",
2671
+ setup(t) {
2672
+ return (e, n) => (u(), _("svg", {
2673
+ xmlns: "http://www.w3.org/2000/svg",
2674
+ viewBox: "0 0 1024 1024"
2675
+ }, [
2676
+ c("path", {
2677
+ fill: "currentColor",
2678
+ d: "M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"
2679
+ }),
2680
+ c("path", {
2681
+ fill: "currentColor",
2682
+ d: "M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"
2683
+ }),
2684
+ c("path", {
2685
+ fill: "currentColor",
2686
+ d: "M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"
2687
+ })
2688
+ ]));
2689
+ }
2690
+ }), he = pl, fl = /* @__PURE__ */ S({
2513
2691
  name: "Check",
2514
2692
  __name: "check",
2515
2693
  setup(t) {
2516
- return (e, n) => (u(), y("svg", {
2694
+ return (e, n) => (u(), _("svg", {
2517
2695
  xmlns: "http://www.w3.org/2000/svg",
2518
2696
  viewBox: "0 0 1024 1024"
2519
2697
  }, [
2520
- d("path", {
2698
+ c("path", {
2521
2699
  fill: "currentColor",
2522
2700
  d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
2523
2701
  })
2524
2702
  ]));
2525
2703
  }
2526
- }), le = al, il = /* @__PURE__ */ L({
2704
+ }), ie = fl, vl = /* @__PURE__ */ S({
2705
+ name: "CircleCloseFilled",
2706
+ __name: "circle-close-filled",
2707
+ setup(t) {
2708
+ return (e, n) => (u(), _("svg", {
2709
+ xmlns: "http://www.w3.org/2000/svg",
2710
+ viewBox: "0 0 1024 1024"
2711
+ }, [
2712
+ c("path", {
2713
+ fill: "currentColor",
2714
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
2715
+ })
2716
+ ]));
2717
+ }
2718
+ }), gl = vl, hl = /* @__PURE__ */ S({
2719
+ name: "Close",
2720
+ __name: "close",
2721
+ setup(t) {
2722
+ return (e, n) => (u(), _("svg", {
2723
+ xmlns: "http://www.w3.org/2000/svg",
2724
+ viewBox: "0 0 1024 1024"
2725
+ }, [
2726
+ c("path", {
2727
+ fill: "currentColor",
2728
+ d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.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"
2729
+ })
2730
+ ]));
2731
+ }
2732
+ }), Pe = hl, _l = /* @__PURE__ */ S({
2733
+ name: "Delete",
2734
+ __name: "delete",
2735
+ setup(t) {
2736
+ return (e, n) => (u(), _("svg", {
2737
+ xmlns: "http://www.w3.org/2000/svg",
2738
+ viewBox: "0 0 1024 1024"
2739
+ }, [
2740
+ c("path", {
2741
+ fill: "currentColor",
2742
+ d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
2743
+ })
2744
+ ]));
2745
+ }
2746
+ }), wl = _l, yl = /* @__PURE__ */ S({
2747
+ name: "InfoFilled",
2748
+ __name: "info-filled",
2749
+ setup(t) {
2750
+ return (e, n) => (u(), _("svg", {
2751
+ xmlns: "http://www.w3.org/2000/svg",
2752
+ viewBox: "0 0 1024 1024"
2753
+ }, [
2754
+ c("path", {
2755
+ fill: "currentColor",
2756
+ d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
2757
+ })
2758
+ ]));
2759
+ }
2760
+ }), Be = yl, bl = /* @__PURE__ */ S({
2527
2761
  name: "Menu",
2528
2762
  __name: "menu",
2529
2763
  setup(t) {
2530
- return (e, n) => (u(), y("svg", {
2764
+ return (e, n) => (u(), _("svg", {
2531
2765
  xmlns: "http://www.w3.org/2000/svg",
2532
2766
  viewBox: "0 0 1024 1024"
2533
2767
  }, [
2534
- d("path", {
2768
+ c("path", {
2535
2769
  fill: "currentColor",
2536
2770
  d: "M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"
2537
2771
  })
2538
2772
  ]));
2539
2773
  }
2540
- }), rl = il, sl = /* @__PURE__ */ L({
2774
+ }), xl = bl, kl = /* @__PURE__ */ S({
2541
2775
  name: "Moon",
2542
2776
  __name: "moon",
2543
2777
  setup(t) {
2544
- return (e, n) => (u(), y("svg", {
2778
+ return (e, n) => (u(), _("svg", {
2545
2779
  xmlns: "http://www.w3.org/2000/svg",
2546
2780
  viewBox: "0 0 1024 1024"
2547
2781
  }, [
2548
- d("path", {
2782
+ c("path", {
2549
2783
  fill: "currentColor",
2550
2784
  d: "M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"
2551
2785
  })
2552
2786
  ]));
2553
2787
  }
2554
- }), cl = sl, ul = /* @__PURE__ */ L({
2788
+ }), Ml = kl, Cl = /* @__PURE__ */ S({
2555
2789
  name: "Operation",
2556
2790
  __name: "operation",
2557
2791
  setup(t) {
2558
- return (e, n) => (u(), y("svg", {
2792
+ return (e, n) => (u(), _("svg", {
2559
2793
  xmlns: "http://www.w3.org/2000/svg",
2560
2794
  viewBox: "0 0 1024 1024"
2561
2795
  }, [
2562
- d("path", {
2796
+ c("path", {
2563
2797
  fill: "currentColor",
2564
2798
  d: "M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"
2565
2799
  })
2566
2800
  ]));
2567
2801
  }
2568
- }), dl = ul, ml = /* @__PURE__ */ L({
2802
+ }), Sl = Cl, Ll = /* @__PURE__ */ S({
2569
2803
  name: "Setting",
2570
2804
  __name: "setting",
2571
2805
  setup(t) {
2572
- return (e, n) => (u(), y("svg", {
2806
+ return (e, n) => (u(), _("svg", {
2573
2807
  xmlns: "http://www.w3.org/2000/svg",
2574
2808
  viewBox: "0 0 1024 1024"
2575
2809
  }, [
2576
- d("path", {
2810
+ c("path", {
2577
2811
  fill: "currentColor",
2578
2812
  d: "M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"
2579
2813
  })
2580
2814
  ]));
2581
2815
  }
2582
- }), pl = ml, gl = /* @__PURE__ */ L({
2816
+ }), zl = Ll, Bl = /* @__PURE__ */ S({
2817
+ name: "SuccessFilled",
2818
+ __name: "success-filled",
2819
+ setup(t) {
2820
+ return (e, n) => (u(), _("svg", {
2821
+ xmlns: "http://www.w3.org/2000/svg",
2822
+ viewBox: "0 0 1024 1024"
2823
+ }, [
2824
+ c("path", {
2825
+ fill: "currentColor",
2826
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
2827
+ })
2828
+ ]));
2829
+ }
2830
+ }), Dl = Bl, Tl = /* @__PURE__ */ S({
2583
2831
  name: "Sunny",
2584
2832
  __name: "sunny",
2585
2833
  setup(t) {
2586
- return (e, n) => (u(), y("svg", {
2834
+ return (e, n) => (u(), _("svg", {
2587
2835
  xmlns: "http://www.w3.org/2000/svg",
2588
2836
  viewBox: "0 0 1024 1024"
2589
2837
  }, [
2590
- d("path", {
2838
+ c("path", {
2591
2839
  fill: "currentColor",
2592
2840
  d: "M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"
2593
2841
  })
2594
2842
  ]));
2595
2843
  }
2596
- }), vl = gl, fl = /* @__PURE__ */ L({
2844
+ }), $l = Tl, El = /* @__PURE__ */ S({
2845
+ name: "WarningFilled",
2846
+ __name: "warning-filled",
2847
+ setup(t) {
2848
+ return (e, n) => (u(), _("svg", {
2849
+ xmlns: "http://www.w3.org/2000/svg",
2850
+ viewBox: "0 0 1024 1024"
2851
+ }, [
2852
+ c("path", {
2853
+ fill: "currentColor",
2854
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
2855
+ })
2856
+ ]));
2857
+ }
2858
+ }), Al = El, Vl = /* @__PURE__ */ S({
2597
2859
  name: "Warning",
2598
2860
  __name: "warning",
2599
2861
  setup(t) {
2600
- return (e, n) => (u(), y("svg", {
2862
+ return (e, n) => (u(), _("svg", {
2601
2863
  xmlns: "http://www.w3.org/2000/svg",
2602
2864
  viewBox: "0 0 1024 1024"
2603
2865
  }, [
2604
- d("path", {
2866
+ c("path", {
2605
2867
  fill: "currentColor",
2606
2868
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
2607
2869
  })
2608
2870
  ]));
2609
2871
  }
2610
- }), hl = fl;
2611
- const _l = /* @__PURE__ */ L({
2872
+ }), Fl = Vl;
2873
+ const Nl = /* @__PURE__ */ S({
2612
2874
  __name: "MlMainMenu",
2613
2875
  setup(t) {
2614
- const { t: e } = P(), n = (i) => {
2615
- i === "Convert" ? new Ae().tirgger(T.instance.context) : i === "QNew" ? new Fe().tirgger(T.instance.context) : i === "Open" && new Ie().tirgger(T.instance.context);
2876
+ const { t: e } = O(), n = (i) => {
2877
+ i === "Convert" ? new Oe().tirgger(E.instance.context) : i === "QNew" ? new Re().tirgger(E.instance.context) : i === "Open" && new He().tirgger(E.instance.context);
2616
2878
  };
2617
2879
  return (i, l) => {
2618
- const o = M("el-icon"), a = M("el-dropdown-item"), s = M("el-dropdown-menu"), r = M("el-dropdown");
2619
- return u(), C(r, {
2880
+ const o = C("el-icon"), a = C("el-dropdown-item"), r = C("el-dropdown-menu"), s = C("el-dropdown");
2881
+ return u(), z(s, {
2620
2882
  "aria-hidden": "false",
2621
2883
  class: "ml-main-menu-container",
2622
2884
  onCommand: n
2623
2885
  }, {
2624
- dropdown: p(() => [
2625
- v(s, null, {
2626
- default: p(() => [
2627
- v(a, { command: "QNew" }, {
2628
- default: p(() => [
2629
- F(D(g(e)("main.mainMenu.new")), 1)
2886
+ dropdown: f(() => [
2887
+ m(r, null, {
2888
+ default: f(() => [
2889
+ m(a, { command: "QNew" }, {
2890
+ default: f(() => [
2891
+ N(T(d(e)("main.mainMenu.new")), 1)
2630
2892
  ]),
2631
2893
  _: 1
2632
2894
  }),
2633
- v(a, { command: "Open" }, {
2634
- default: p(() => [
2635
- F(D(g(e)("main.mainMenu.open")), 1)
2895
+ m(a, { command: "Open" }, {
2896
+ default: f(() => [
2897
+ N(T(d(e)("main.mainMenu.open")), 1)
2636
2898
  ]),
2637
2899
  _: 1
2638
2900
  })
@@ -2640,13 +2902,13 @@ const _l = /* @__PURE__ */ L({
2640
2902
  _: 1
2641
2903
  })
2642
2904
  ]),
2643
- default: p(() => [
2644
- v(o, {
2905
+ default: f(() => [
2906
+ m(o, {
2645
2907
  class: "ml-main-menu-icon",
2646
2908
  size: "30"
2647
2909
  }, {
2648
- default: p(() => [
2649
- v(g(rl))
2910
+ default: f(() => [
2911
+ m(d(xl))
2650
2912
  ]),
2651
2913
  _: 1
2652
2914
  })
@@ -2655,193 +2917,404 @@ const _l = /* @__PURE__ */ L({
2655
2917
  });
2656
2918
  };
2657
2919
  }
2658
- }), wl = /* @__PURE__ */ G(_l, [["__scopeId", "data-v-8c0c738e"]]), yl = {
2920
+ }), Il = /* @__PURE__ */ W(Nl, [["__scopeId", "data-v-8c0c738e"]]), Pl = {
2659
2921
  key: 0,
2660
2922
  class: "ml-vertical-toolbar-container"
2661
- }, bl = /* @__PURE__ */ L({
2923
+ }, Ol = /* @__PURE__ */ S({
2662
2924
  __name: "MlToolBars",
2663
2925
  setup(t) {
2664
- const { t: e } = P(), n = ce(), i = k(() => [
2926
+ const { t: e } = O(), n = pe(), i = M(() => [
2665
2927
  {
2666
- icon: qt,
2928
+ icon: Jt,
2667
2929
  text: e("main.verticalToolbar.select.text"),
2668
2930
  command: "select",
2669
2931
  description: e("main.verticalToolbar.select.description")
2670
2932
  },
2671
2933
  {
2672
- icon: Ht,
2934
+ icon: Xt,
2673
2935
  text: e("main.verticalToolbar.pan.text"),
2674
2936
  command: "pan",
2675
2937
  description: e("main.verticalToolbar.pan.description")
2676
2938
  },
2677
2939
  {
2678
- icon: Qt,
2940
+ icon: an,
2679
2941
  text: e("main.verticalToolbar.zoomToExtent.text"),
2680
2942
  command: "zoom",
2681
2943
  description: e("main.verticalToolbar.zoomToExtent.description")
2682
2944
  },
2683
2945
  {
2684
- icon: Yt,
2946
+ icon: nn,
2685
2947
  text: e("main.verticalToolbar.zoomToBox.text"),
2686
2948
  command: "zoomw",
2687
2949
  description: e("main.verticalToolbar.zoomToBox.description")
2688
2950
  },
2689
2951
  {
2690
- icon: Pt,
2952
+ icon: jt,
2691
2953
  text: e("main.verticalToolbar.layer.text"),
2692
2954
  command: "la",
2693
2955
  description: e("main.verticalToolbar.layer.description")
2694
2956
  }
2695
2957
  ]), l = (o) => {
2696
- T.instance.sendStringToExecute(o);
2958
+ E.instance.sendStringToExecute(o);
2697
2959
  };
2698
- return (o, a) => g(n).isShowToolbar ? (u(), y("div", yl, [
2699
- v(g(Bo), {
2960
+ return (o, a) => d(n).isShowToolbar ? (u(), _("div", Pl, [
2961
+ m(d(Io), {
2700
2962
  items: i.value,
2701
2963
  size: "small",
2702
2964
  direction: "vertical",
2703
2965
  onClick: l
2704
2966
  }, null, 8, ["items"])
2705
- ])) : q("", !0);
2967
+ ])) : R("", !0);
2706
2968
  }
2707
- }), xl = /* @__PURE__ */ L({
2969
+ }), Rl = { class: "ml-notification-item-icon" }, Hl = { class: "ml-notification-item-content" }, Gl = { class: "ml-notification-item-header" }, Wl = { class: "ml-notification-item-title" }, Ul = { class: "ml-notification-item-actions" }, ql = {
2970
+ key: 0,
2971
+ class: "ml-notification-item-message"
2972
+ }, jl = { class: "ml-notification-item-footer" }, Yl = { class: "ml-notification-item-time" }, Kl = /* @__PURE__ */ S({
2973
+ __name: "MlNotificationItem",
2974
+ props: {
2975
+ notification: {}
2976
+ },
2977
+ emits: ["close", "action"],
2978
+ setup(t) {
2979
+ const e = t, { t: n } = O(), i = M(() => {
2980
+ switch (e.notification.type) {
2981
+ case "info":
2982
+ return Be;
2983
+ case "warning":
2984
+ return Al;
2985
+ case "error":
2986
+ return gl;
2987
+ case "success":
2988
+ return Dl;
2989
+ default:
2990
+ return Be;
2991
+ }
2992
+ }), l = (a) => {
2993
+ a.action();
2994
+ }, o = (a) => {
2995
+ const s = (/* @__PURE__ */ new Date()).getTime() - a.getTime(), p = Math.floor(s / 6e4), g = Math.floor(s / 36e5), b = Math.floor(s / 864e5);
2996
+ return b > 0 ? n("main.notification.time.daysAgo", { count: b }) : g > 0 ? n("main.notification.time.hoursAgo", { count: g }) : p > 0 ? n("main.notification.time.minutesAgo", { count: p }) : n("main.notification.time.justNow");
2997
+ };
2998
+ return (a, r) => {
2999
+ const s = C("el-icon"), p = C("el-button");
3000
+ return u(), _("div", {
3001
+ class: we(["ml-notification-item", `ml-notification-item--${a.notification.type}`])
3002
+ }, [
3003
+ c("div", Rl, [
3004
+ m(s, null, {
3005
+ default: f(() => [
3006
+ (u(), z(ue(i.value)))
3007
+ ]),
3008
+ _: 1
3009
+ })
3010
+ ]),
3011
+ c("div", Hl, [
3012
+ c("div", Gl, [
3013
+ c("h4", Wl, T(a.notification.title), 1),
3014
+ c("div", Ul, [
3015
+ a.notification.actions && a.notification.actions.length > 0 ? (u(!0), _(j, { key: 0 }, K(a.notification.actions, (g) => (u(), z(p, {
3016
+ key: g.label,
3017
+ type: g.primary ? "primary" : "default",
3018
+ size: "small",
3019
+ onClick: (b) => l(g)
3020
+ }, {
3021
+ default: f(() => [
3022
+ N(T(g.label), 1)
3023
+ ]),
3024
+ _: 2
3025
+ }, 1032, ["type", "onClick"]))), 128)) : R("", !0),
3026
+ m(p, {
3027
+ text: "",
3028
+ size: "small",
3029
+ onClick: r[0] || (r[0] = (g) => a.$emit("close"))
3030
+ }, {
3031
+ default: f(() => [
3032
+ m(s, null, {
3033
+ default: f(() => [
3034
+ m(d(Pe))
3035
+ ]),
3036
+ _: 1
3037
+ })
3038
+ ]),
3039
+ _: 1
3040
+ })
3041
+ ])
3042
+ ]),
3043
+ a.notification.message ? (u(), _("p", ql, T(a.notification.message), 1)) : R("", !0),
3044
+ c("div", jl, [
3045
+ c("span", Yl, T(o(a.notification.timestamp)), 1)
3046
+ ])
3047
+ ])
3048
+ ], 2);
3049
+ };
3050
+ }
3051
+ }), Xl = /* @__PURE__ */ W(Kl, [["__scopeId", "data-v-e1dde915"]]), Ql = { class: "ml-notification-center" }, Zl = { class: "ml-notification-center-header" }, Jl = { class: "ml-notification-center-title" }, ea = { class: "ml-notification-center-actions" }, ta = { class: "ml-notification-center-content" }, na = {
3052
+ key: 0,
3053
+ class: "ml-notification-center-empty"
3054
+ }, oa = {
3055
+ key: 1,
3056
+ class: "ml-notification-list"
3057
+ }, la = /* @__PURE__ */ S({
3058
+ __name: "MlNotificationCenter",
3059
+ props: {
3060
+ title: {}
3061
+ },
3062
+ emits: ["close"],
3063
+ setup(t) {
3064
+ const { t: e } = O(), n = t, i = M(
3065
+ () => n.title ?? e("main.notification.center.title")
3066
+ ), { notifications: l, remove: o, clearAll: a } = me(), r = (s) => {
3067
+ s.action();
3068
+ };
3069
+ return (s, p) => {
3070
+ const g = C("el-icon"), b = C("el-button"), v = C("el-tooltip");
3071
+ return u(), _("div", Ql, [
3072
+ c("div", Zl, [
3073
+ c("div", Jl, [
3074
+ m(g, { class: "ml-notification-center-icon" }, {
3075
+ default: f(() => [
3076
+ m(d(he))
3077
+ ]),
3078
+ _: 1
3079
+ }),
3080
+ c("span", null, T(i.value), 1)
3081
+ ]),
3082
+ c("div", ea, [
3083
+ d(l).length > 0 ? (u(), z(v, {
3084
+ key: 0,
3085
+ content: d(e)("main.notification.center.clearAll"),
3086
+ "hide-after": 0
3087
+ }, {
3088
+ default: f(() => [
3089
+ m(b, {
3090
+ text: "",
3091
+ circle: "",
3092
+ size: "small",
3093
+ class: "ml-notification-center-clear",
3094
+ onClick: d(a)
3095
+ }, {
3096
+ default: f(() => [
3097
+ m(g, null, {
3098
+ default: f(() => [
3099
+ m(d(wl))
3100
+ ]),
3101
+ _: 1
3102
+ })
3103
+ ]),
3104
+ _: 1
3105
+ }, 8, ["onClick"])
3106
+ ]),
3107
+ _: 1
3108
+ }, 8, ["content"])) : R("", !0),
3109
+ m(b, {
3110
+ text: "",
3111
+ size: "small",
3112
+ class: "ml-notification-center-close",
3113
+ onClick: p[0] || (p[0] = (h) => s.$emit("close"))
3114
+ }, {
3115
+ default: f(() => [
3116
+ m(g, null, {
3117
+ default: f(() => [
3118
+ m(d(Pe))
3119
+ ]),
3120
+ _: 1
3121
+ })
3122
+ ]),
3123
+ _: 1
3124
+ })
3125
+ ])
3126
+ ]),
3127
+ c("div", ta, [
3128
+ d(l).length === 0 ? (u(), _("div", na, [
3129
+ m(g, { class: "ml-notification-center-empty-icon" }, {
3130
+ default: f(() => [
3131
+ m(d(he))
3132
+ ]),
3133
+ _: 1
3134
+ }),
3135
+ c("p", null, T(d(e)("main.notification.center.noNotifications")), 1)
3136
+ ])) : (u(), _("div", oa, [
3137
+ (u(!0), _(j, null, K(d(l), (h) => (u(), z(Xl, {
3138
+ key: h.id,
3139
+ notification: h,
3140
+ onClose: (w) => d(o)(h.id),
3141
+ onAction: r
3142
+ }, null, 8, ["notification", "onClose"]))), 128))
3143
+ ]))
3144
+ ])
3145
+ ]);
3146
+ };
3147
+ }
3148
+ }), aa = /* @__PURE__ */ W(la, [["__scopeId", "data-v-56d037f5"]]), ia = /* @__PURE__ */ S({
2708
3149
  __name: "MlFullScreenButton",
2709
3150
  setup(t) {
2710
- const { t: e } = P(), { isFullscreen: n, toggle: i } = Ue(), l = k(() => ({
2711
- onIcon: be,
2712
- offIcon: be,
3151
+ const { t: e } = O(), { isFullscreen: n, toggle: i } = Ze(), l = M(() => ({
3152
+ onIcon: Ce,
3153
+ offIcon: Ce,
2713
3154
  onTooltip: e("main.statusBar.fullScreen.on"),
2714
3155
  offTooltip: e("main.statusBar.fullScreen.off")
2715
- })), o = k(() => !n.value);
2716
- return (a, s) => (u(), C(g(Ve), {
3156
+ })), o = M(() => !n.value);
3157
+ return (a, r) => (u(), z(d(Ie), {
2717
3158
  modelValue: o.value,
2718
- "onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
3159
+ "onUpdate:modelValue": r[0] || (r[0] = (s) => o.value = s),
2719
3160
  data: l.value,
2720
- onClick: g(i)
3161
+ onClick: d(i)
2721
3162
  }, null, 8, ["modelValue", "data", "onClick"]));
2722
3163
  }
2723
- }), kl = /* @__PURE__ */ L({
3164
+ }), sa = /* @__PURE__ */ S({
3165
+ __name: "MlNotificationButton",
3166
+ emits: ["click"],
3167
+ setup(t, { emit: e }) {
3168
+ const { t: n } = O(), { unreadCount: i } = me(), l = e, o = () => {
3169
+ l("click");
3170
+ };
3171
+ return (a, r) => {
3172
+ const s = C("el-badge"), p = C("el-button"), g = C("el-tooltip");
3173
+ return u(), z(g, {
3174
+ content: d(n)("main.statusBar.notification.tooltip"),
3175
+ "hide-after": 0
3176
+ }, {
3177
+ default: f(() => [
3178
+ m(p, {
3179
+ class: "ml-notification-button",
3180
+ icon: d(he),
3181
+ onClick: o
3182
+ }, {
3183
+ default: f(() => [
3184
+ d(i) > 0 ? (u(), z(s, {
3185
+ key: 0,
3186
+ value: d(i),
3187
+ max: 99,
3188
+ class: "ml-notification-badge"
3189
+ }, null, 8, ["value"])) : R("", !0)
3190
+ ]),
3191
+ _: 1
3192
+ }, 8, ["icon"])
3193
+ ]),
3194
+ _: 1
3195
+ }, 8, ["content"]);
3196
+ };
3197
+ }
3198
+ }), ra = /* @__PURE__ */ W(sa, [["__scopeId", "data-v-48c740b7"]]), ca = /* @__PURE__ */ S({
2724
3199
  __name: "MlPointStyleButton",
2725
3200
  setup(t) {
2726
- const { t: e } = P(), n = () => {
2727
- T.instance.sendStringToExecute("pttype");
3201
+ const { t: e } = O(), n = () => {
3202
+ E.instance.sendStringToExecute("pttype");
2728
3203
  };
2729
3204
  return (i, l) => {
2730
- const o = M("el-button"), a = M("el-tooltip");
2731
- return u(), C(a, {
2732
- content: g(e)("main.statusBar.pointStyle.tooltip"),
3205
+ const o = C("el-button"), a = C("el-tooltip");
3206
+ return u(), z(a, {
3207
+ content: d(e)("main.statusBar.pointStyle.tooltip"),
2733
3208
  "hide-after": 0
2734
3209
  }, {
2735
- default: p(() => [
2736
- v(o, {
3210
+ default: f(() => [
3211
+ m(o, {
2737
3212
  class: "ml-point-style-button",
2738
- icon: g(dl),
2739
- onClick: l[0] || (l[0] = (s) => n())
3213
+ icon: d(Sl),
3214
+ onClick: l[0] || (l[0] = (r) => n())
2740
3215
  }, null, 8, ["icon"])
2741
3216
  ]),
2742
3217
  _: 1
2743
3218
  }, 8, ["content"]);
2744
3219
  };
2745
3220
  }
2746
- }), Ml = /* @__PURE__ */ G(kl, [["__scopeId", "data-v-29692d7d"]]), Sl = {
3221
+ }), ua = /* @__PURE__ */ W(ca, [["__scopeId", "data-v-29692d7d"]]), da = {
2747
3222
  key: 0,
2748
3223
  class: "ml-progress"
2749
- }, Cl = /* @__PURE__ */ L({
3224
+ }, ma = /* @__PURE__ */ S({
2750
3225
  __name: "MlProgress",
2751
3226
  setup(t) {
2752
- const { t: e } = P(), n = x(0), i = x(!1), l = (a) => {
2753
- if (a.stage === "CONVERSION") {
2754
- const s = we.service({
3227
+ const { t: e } = O(), n = x(0), i = x(!1), { warning: l } = me(), o = (r) => {
3228
+ if (r.stage === "CONVERSION") {
3229
+ const s = ke.service({
2755
3230
  lock: !0
2756
3231
  });
2757
- if (a.subStage) {
2758
- const r = zt(a.subStage);
2759
- if (s.setText(r), a.subStage === "PARSE" && a.subStageStatus === "END" && a.data) {
2760
- const c = a.data;
2761
- c.unknownEntityCount > 0 && Q({
2762
- showClose: !0,
2763
- message: e("main.message.unknownEntities", {
2764
- count: c.unknownEntityCount
2765
- }),
2766
- grouping: !0,
2767
- type: "warning"
2768
- });
3232
+ if (r.subStage) {
3233
+ const p = At(r.subStage);
3234
+ if (s.setText(p), r.subStage === "PARSE" && r.subStageStatus === "END" && r.data) {
3235
+ const g = r.data;
3236
+ g.unknownEntityCount > 0 && l(
3237
+ e("main.notification.title.parsingWarning"),
3238
+ e("main.message.unknownEntities", {
3239
+ count: g.unknownEntityCount
3240
+ })
3241
+ );
2769
3242
  }
2770
3243
  }
2771
- n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close());
2772
- } else if (a.stage === "FETCH_FILE") {
2773
- const s = we.service({
3244
+ n.value = r.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close());
3245
+ } else if (r.stage === "FETCH_FILE") {
3246
+ const s = ke.service({
2774
3247
  lock: !0
2775
3248
  });
2776
- s.setText(e("main.message.fetchingDrawingFile")), n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close());
3249
+ s.setText(e("main.message.fetchingDrawingFile")), n.value = r.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close());
2777
3250
  }
2778
- }, o = (a) => `${a.toFixed(0)}%`;
2779
- return H(() => {
2780
- Y.on("open-file-progress", l);
2781
- }), te(() => {
2782
- Y.off("open-file-progress", l);
2783
- }), (a, s) => i.value ? (u(), y("div", Sl, [
2784
- v(g(Je), {
3251
+ }, a = (r) => `${r.toFixed(0)}%`;
3252
+ return U(() => {
3253
+ X.on("open-file-progress", o);
3254
+ }), ne(() => {
3255
+ X.off("open-file-progress", o);
3256
+ }), (r, s) => i.value ? (u(), _("div", da, [
3257
+ m(d(at), {
2785
3258
  "text-inside": !0,
2786
3259
  "stroke-width": 20,
2787
3260
  percentage: n.value,
2788
- format: o
3261
+ format: a
2789
3262
  }, null, 8, ["percentage"])
2790
- ])) : q("", !0);
3263
+ ])) : R("", !0);
2791
3264
  }
2792
- }), Ll = /* @__PURE__ */ G(Cl, [["__scopeId", "data-v-fe8fa18d"]]), zl = /* @__PURE__ */ L({
3265
+ }), pa = /* @__PURE__ */ W(ma, [["__scopeId", "data-v-35ad24b9"]]), fa = /* @__PURE__ */ S({
2793
3266
  __name: "MlSettingButton",
2794
3267
  setup(t) {
2795
- const { t: e } = P(), n = ce(), i = (l) => {
2796
- l == "isShowCoordinate" ? (n.isShowCoordinate = !n.isShowCoordinate, K.instance.isShowCoordinate = n.isShowCoordinate) : l == "isShowCommandLine" ? (n.isShowCommandLine = !n.isShowCommandLine, K.instance.isShowCommandLine = n.isShowCommandLine) : l == "isShowToolbar" ? (n.isShowToolbar = !n.isShowToolbar, K.instance.isShowToolbar = n.isShowToolbar) : l == "isShowStats" && (n.isShowStats = !n.isShowStats, K.instance.isShowStats = n.isShowStats);
3268
+ const { t: e } = O(), n = pe(), i = (l) => {
3269
+ l == "isShowCoordinate" ? (n.isShowCoordinate = !n.isShowCoordinate, Q.instance.isShowCoordinate = n.isShowCoordinate) : l == "isShowCommandLine" ? (n.isShowCommandLine = !n.isShowCommandLine, Q.instance.isShowCommandLine = n.isShowCommandLine) : l == "isShowToolbar" ? (n.isShowToolbar = !n.isShowToolbar, Q.instance.isShowToolbar = n.isShowToolbar) : l == "isShowStats" && (n.isShowStats = !n.isShowStats, Q.instance.isShowStats = n.isShowStats);
2797
3270
  };
2798
3271
  return (l, o) => {
2799
- const a = M("el-button"), s = M("el-dropdown-item"), r = M("el-dropdown-menu"), c = M("el-dropdown"), w = M("el-tooltip");
2800
- return u(), C(w, {
2801
- content: g(e)("main.statusBar.setting.tooltip"),
3272
+ const a = C("el-button"), r = C("el-dropdown-item"), s = C("el-dropdown-menu"), p = C("el-dropdown"), g = C("el-tooltip");
3273
+ return u(), z(g, {
3274
+ content: d(e)("main.statusBar.setting.tooltip"),
2802
3275
  "hide-after": 0
2803
3276
  }, {
2804
- default: p(() => [
2805
- v(c, {
3277
+ default: f(() => [
3278
+ m(p, {
2806
3279
  trigger: "click",
2807
3280
  onCommand: i
2808
3281
  }, {
2809
- dropdown: p(() => [
2810
- v(r, null, {
2811
- default: p(() => [
2812
- v(s, {
2813
- icon: g(n).isShowStats ? g(le) : "",
3282
+ dropdown: f(() => [
3283
+ m(s, null, {
3284
+ default: f(() => [
3285
+ m(r, {
3286
+ icon: d(n).isShowStats ? d(ie) : "",
2814
3287
  command: "isShowStats"
2815
3288
  }, {
2816
- default: p(() => [
2817
- F(D(g(e)("main.statusBar.setting.stats")), 1)
3289
+ default: f(() => [
3290
+ N(T(d(e)("main.statusBar.setting.stats")), 1)
2818
3291
  ]),
2819
3292
  _: 1
2820
3293
  }, 8, ["icon"]),
2821
- v(s, {
2822
- icon: g(n).isShowCommandLine ? g(le) : "",
3294
+ m(r, {
3295
+ icon: d(n).isShowCommandLine ? d(ie) : "",
2823
3296
  command: "isShowCommandLine"
2824
3297
  }, {
2825
- default: p(() => [
2826
- F(D(g(e)("main.statusBar.setting.commandLine")), 1)
3298
+ default: f(() => [
3299
+ N(T(d(e)("main.statusBar.setting.commandLine")), 1)
2827
3300
  ]),
2828
3301
  _: 1
2829
3302
  }, 8, ["icon"]),
2830
- v(s, {
2831
- icon: g(n).isShowCoordinate ? g(le) : "",
3303
+ m(r, {
3304
+ icon: d(n).isShowCoordinate ? d(ie) : "",
2832
3305
  command: "isShowCoordinate"
2833
3306
  }, {
2834
- default: p(() => [
2835
- F(D(g(e)("main.statusBar.setting.coordinate")), 1)
3307
+ default: f(() => [
3308
+ N(T(d(e)("main.statusBar.setting.coordinate")), 1)
2836
3309
  ]),
2837
3310
  _: 1
2838
3311
  }, 8, ["icon"]),
2839
- v(s, {
2840
- icon: g(n).isShowToolbar ? g(le) : "",
3312
+ m(r, {
3313
+ icon: d(n).isShowToolbar ? d(ie) : "",
2841
3314
  command: "isShowToolbar"
2842
3315
  }, {
2843
- default: p(() => [
2844
- F(D(g(e)("main.statusBar.setting.toolbar")), 1)
3316
+ default: f(() => [
3317
+ N(T(d(e)("main.statusBar.setting.toolbar")), 1)
2845
3318
  ]),
2846
3319
  _: 1
2847
3320
  }, 8, ["icon"])
@@ -2849,10 +3322,10 @@ const _l = /* @__PURE__ */ L({
2849
3322
  _: 1
2850
3323
  })
2851
3324
  ]),
2852
- default: p(() => [
2853
- v(a, {
3325
+ default: f(() => [
3326
+ m(a, {
2854
3327
  class: "ml-setting-button",
2855
- icon: g(pl)
3328
+ icon: d(zl)
2856
3329
  }, null, 8, ["icon"])
2857
3330
  ]),
2858
3331
  _: 1
@@ -2862,61 +3335,64 @@ const _l = /* @__PURE__ */ L({
2862
3335
  }, 8, ["content"]);
2863
3336
  };
2864
3337
  }
2865
- }), Dl = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-666f03a3"]]), Bl = /* @__PURE__ */ L({
3338
+ }), va = /* @__PURE__ */ W(fa, [["__scopeId", "data-v-666f03a3"]]), ga = /* @__PURE__ */ S({
2866
3339
  __name: "MlThemeButton",
2867
3340
  setup(t) {
2868
- const { t: e } = P(), n = k(() => ({
2869
- onIcon: vl,
2870
- offIcon: cl,
3341
+ const { t: e } = O(), n = M(() => ({
3342
+ onIcon: $l,
3343
+ offIcon: Ml,
2871
3344
  onTooltip: e("main.statusBar.theme.light"),
2872
3345
  offTooltip: e("main.statusBar.theme.dark")
2873
3346
  }));
2874
- return (i, l) => (u(), C(g(Ve), {
2875
- modelValue: g(ae),
2876
- "onUpdate:modelValue": l[0] || (l[0] = (o) => Oe(ae) ? ae.value = o : null),
3347
+ return (i, l) => (u(), z(d(Ie), {
3348
+ modelValue: d(se),
3349
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => qe(se) ? se.value = o : null),
2877
3350
  data: n.value,
2878
- onClick: l[1] || (l[1] = (o) => g(mt)())
3351
+ onClick: l[1] || (l[1] = (o) => d(_t)())
2879
3352
  }, null, 8, ["modelValue", "data"]));
2880
3353
  }
2881
- }), Tl = /* @__PURE__ */ L({
3354
+ }), ha = /* @__PURE__ */ S({
2882
3355
  __name: "MlWarningButton",
2883
3356
  setup(t) {
2884
3357
  const e = () => {
2885
- T.instance.sendStringToExecute("md");
2886
- }, { fonts: n, images: i } = $e(), l = k(() => i.size > 0 || n.size > 0);
3358
+ E.instance.sendStringToExecute("md");
3359
+ }, { fonts: n, images: i } = Ne(), l = M(() => i.size > 0 || n.size > 0);
2887
3360
  return (o, a) => {
2888
- const s = M("el-button");
2889
- return l.value ? (u(), C(s, {
3361
+ const r = C("el-button");
3362
+ return l.value ? (u(), z(r, {
2890
3363
  key: 0,
2891
3364
  class: "ml-warning-button",
2892
3365
  type: "warning",
2893
- icon: g(hl),
2894
- onClick: a[0] || (a[0] = (r) => e())
2895
- }, null, 8, ["icon"])) : q("", !0);
3366
+ icon: d(Fl),
3367
+ onClick: a[0] || (a[0] = (s) => e())
3368
+ }, null, 8, ["icon"])) : R("", !0);
2896
3369
  };
2897
3370
  }
2898
- }), El = /* @__PURE__ */ G(Tl, [["__scopeId", "data-v-3411a3ec"]]), $l = /* @__PURE__ */ L({
3371
+ }), _a = /* @__PURE__ */ W(ha, [["__scopeId", "data-v-3411a3ec"]]), wa = /* @__PURE__ */ S({
2899
3372
  __name: "MlStatusBar",
2900
- setup(t) {
2901
- const { text: e } = dt(T.instance.curView), n = vt(T.instance), i = ce(), l = (o) => {
2902
- Be().layoutManager.setCurrentLayoutBtrId(
2903
- o.blockTableRecordId
3373
+ emits: ["toggleNotificationCenter"],
3374
+ setup(t, { emit: e }) {
3375
+ const { text: n } = ht(E.instance.curView), i = bt(E.instance), l = pe(), { isMobile: o } = Nt(), a = (p) => {
3376
+ Ae().layoutManager.setCurrentLayoutBtrId(
3377
+ p.blockTableRecordId
2904
3378
  );
3379
+ }, r = e, s = () => {
3380
+ r("toggleNotificationCenter");
2905
3381
  };
2906
- return (o, a) => {
2907
- const s = M("el-button"), r = M("el-button-group");
2908
- return u(), C(g(Lo), { class: "ml-status-bar" }, {
2909
- left: p(() => [
2910
- v(r, { class: "ml-status-bar-left-button-group" }, {
2911
- default: p(() => [
2912
- (u(!0), y(j, null, X(g(n), (c) => (u(), C(s, {
3382
+ return (p, g) => {
3383
+ const b = C("el-button"), v = C("el-button-group");
3384
+ return u(), z(d(Vo), { class: "ml-status-bar" }, {
3385
+ left: f(() => [
3386
+ m(v, { class: "ml-status-bar-left-button-group" }, {
3387
+ default: f(() => [
3388
+ (u(!0), _(j, null, K(d(i), (h) => (u(), z(b, {
2913
3389
  class: "ml-status-bar-layout-button",
2914
- key: c.name,
2915
- type: c.isActive ? "primary" : "",
2916
- onClick: (w) => l(c)
3390
+ key: h.name,
3391
+ type: h.isActive ? "primary" : "",
3392
+ onClick: (w) => a(h)
2917
3393
  }, {
2918
- default: p(() => [
2919
- F(D(c.name), 1)
3394
+ default: f(() => [
3395
+ N(T(h.name), 1)
2920
3396
  ]),
2921
3397
  _: 2
2922
3398
  }, 1032, ["type", "onClick"]))), 128))
@@ -2924,24 +3400,25 @@ const _l = /* @__PURE__ */ L({
2924
3400
  _: 1
2925
3401
  })
2926
3402
  ]),
2927
- right: p(() => [
2928
- v(Ll),
2929
- v(r, { class: "ml-status-bar-right-button-group" }, {
2930
- default: p(() => [
2931
- g(i).isShowCoordinate ? (u(), C(s, {
3403
+ right: f(() => [
3404
+ m(pa),
3405
+ m(v, { class: "ml-status-bar-right-button-group" }, {
3406
+ default: f(() => [
3407
+ d(l).isShowCoordinate && !d(o) ? (u(), z(b, {
2932
3408
  key: 0,
2933
3409
  class: "ml-status-bar-current-pos"
2934
3410
  }, {
2935
- default: p(() => [
2936
- F(D(g(e)), 1)
3411
+ default: f(() => [
3412
+ N(T(d(n)), 1)
2937
3413
  ]),
2938
3414
  _: 1
2939
- })) : q("", !0),
2940
- v(El),
2941
- v(Bl),
2942
- v(xl),
2943
- v(Ml),
2944
- v(Dl)
3415
+ })) : R("", !0),
3416
+ m(_a),
3417
+ m(ra, { onClick: s }),
3418
+ m(ga),
3419
+ m(ia),
3420
+ m(ua),
3421
+ m(va)
2945
3422
  ]),
2946
3423
  _: 1
2947
3424
  })
@@ -2950,193 +3427,217 @@ const _l = /* @__PURE__ */ L({
2950
3427
  });
2951
3428
  };
2952
3429
  }
2953
- }), Vl = /* @__PURE__ */ G($l, [["__scopeId", "data-v-ee6f13c4"]]), Al = {
3430
+ }), ya = /* @__PURE__ */ W(wa, [["__scopeId", "data-v-24578503"]]), ba = {
2954
3431
  key: 0,
2955
3432
  class: "ml-cad-viewer-container"
2956
- }, Fl = { class: "ml-file-name" }, da = /* @__PURE__ */ L({
3433
+ }, xa = { class: "ml-file-name" }, Qa = /* @__PURE__ */ S({
2957
3434
  __name: "MlCadViewer",
2958
3435
  props: {
2959
3436
  locale: { default: "default" },
2960
3437
  url: { default: void 0 },
2961
3438
  localFile: { default: void 0 },
2962
- background: { default: void 0 }
3439
+ background: { default: void 0 },
3440
+ baseUrl: { default: void 0 }
2963
3441
  },
2964
3442
  setup(t) {
2965
- const e = t, { t: n } = P(), { effectiveLocale: i, elementPlusLocale: l } = Ee(e.locale), o = x(), a = x(null), s = k(() => a.value), r = async (f, m) => {
2966
- const h = { minimumChunkSize: 1e3 };
2967
- await T.instance.openDocument(f, m, h), Z.fileName = f;
2968
- }, c = async (f) => {
3443
+ const e = t, { t: n } = O(), { effectiveLocale: i, elementPlusLocale: l } = Fe(e.locale), { info: o, warning: a, error: r, success: s } = me(), p = x(), g = x(null), b = M(() => g.value), v = x(!1), h = async (y, L) => {
3444
+ const D = { minimumChunkSize: 1e3 };
3445
+ await E.instance.openDocument(y, L, D), Z.fileName = y;
3446
+ }, w = async (y) => {
2969
3447
  try {
2970
- const m = { minimumChunkSize: 1e3 };
2971
- await T.instance.openUrl(f, m);
2972
- const h = f.split("/").pop();
2973
- Z.fileName = h ?? "";
2974
- } catch (m) {
2975
- console.error("Failed to open file from URL:", m), Q({
2976
- message: n("main.message.failedToOpenFile", { fileName: f }),
3448
+ const L = { minimumChunkSize: 1e3 };
3449
+ await E.instance.openUrl(y, L);
3450
+ const D = y.split("/").pop();
3451
+ Z.fileName = D ?? "";
3452
+ } catch (L) {
3453
+ console.error("Failed to open file from URL:", L), oe({
3454
+ message: n("main.message.failedToOpenFile", { fileName: y }),
2977
3455
  grouping: !0,
2978
3456
  type: "error",
2979
3457
  showClose: !0
2980
3458
  });
2981
3459
  }
2982
- }, w = async (f) => {
2983
- var m;
3460
+ }, k = async (y) => {
2984
3461
  try {
2985
- const h = (m = f.name.split(".").pop()) == null ? void 0 : m.toLowerCase(), _ = new FileReader();
2986
- if (h === "dxf")
2987
- _.readAsText(f);
2988
- else if (h === "dwg")
2989
- _.readAsArrayBuffer(f);
2990
- else
2991
- throw new Error(`Unsupported file type: ${h}`);
2992
- const b = await new Promise(
2993
- ($, I) => {
2994
- _.onload = (V) => {
2995
- var N;
2996
- const B = (N = V.target) == null ? void 0 : N.result;
2997
- B ? $(B) : I(new Error("Failed to read file content"));
2998
- }, _.onerror = () => I(new Error("Failed to read file"));
3462
+ const L = new FileReader();
3463
+ L.readAsArrayBuffer(y);
3464
+ const D = await new Promise(
3465
+ (P, $) => {
3466
+ L.onload = (F) => {
3467
+ var J;
3468
+ const G = (J = F.target) == null ? void 0 : J.result;
3469
+ G ? P(G) : $(new Error("Failed to read file content"));
3470
+ }, L.onerror = () => $(new Error("Failed to read file"));
2999
3471
  }
3000
- ), S = { minimumChunkSize: 1e3 };
3001
- await T.instance.openDocument(f.name, b, S), Z.fileName = f.name;
3002
- } catch (h) {
3003
- console.error("Failed to open local file:", h), Q({
3004
- message: n("main.message.failedToOpenFile", { fileName: f.name }),
3472
+ ), H = { minimumChunkSize: 1e3 };
3473
+ await E.instance.openDocument(y.name, D, H), Z.fileName = y.name;
3474
+ } catch (L) {
3475
+ console.error("Failed to open local file:", L), oe({
3476
+ message: n("main.message.failedToOpenFile", { fileName: y.name }),
3005
3477
  grouping: !0,
3006
3478
  type: "error",
3007
3479
  showClose: !0
3008
3480
  });
3009
3481
  }
3010
3482
  };
3011
- return E(
3483
+ A(
3012
3484
  () => e.url,
3013
- async (f) => {
3014
- f && c(f);
3485
+ async (y) => {
3486
+ y && w(y);
3015
3487
  }
3016
- ), E(
3488
+ ), A(
3017
3489
  () => e.localFile,
3018
- async (f) => {
3019
- f && w(f);
3490
+ async (y) => {
3491
+ y && k(y);
3020
3492
  }
3021
- ), E(
3493
+ ), A(
3022
3494
  () => e.background,
3023
- (f) => {
3024
- f != null && (T.instance.curView.backgroundColor = f);
3495
+ (y) => {
3496
+ y != null && (E.instance.curView.backgroundColor = y);
3497
+ }
3498
+ ), A(
3499
+ () => e.baseUrl,
3500
+ (y) => {
3501
+ y && (E.instance.baseUrl = y);
3025
3502
  }
3026
- ), H(async () => {
3027
- o.value && (Pl(o.value), Rl(), a.value = T.instance), e.url ? c(e.url) : e.localFile && w(e.localFile), e.background != null && (T.instance.curView.backgroundColor = e.background);
3028
- }), Y.on("message", (f) => {
3029
- Q({
3030
- message: f.message,
3503
+ ), U(async () => {
3504
+ p.value && (Ca(p.value), Ma(), g.value = E.instance), e.url ? w(e.url) : e.localFile && k(e.localFile), e.background != null && (E.instance.curView.backgroundColor = e.background), e.baseUrl && (E.instance.baseUrl = e.baseUrl);
3505
+ }), X.on("message", (y) => {
3506
+ switch (oe({
3507
+ message: y.message,
3031
3508
  grouping: !0,
3032
- type: f.type,
3509
+ type: y.type,
3033
3510
  showClose: !0
3511
+ }), y.type) {
3512
+ case "success":
3513
+ s("System Message", y.message);
3514
+ break;
3515
+ case "warning":
3516
+ a("System Warning", y.message);
3517
+ break;
3518
+ case "error":
3519
+ r("System Error", y.message);
3520
+ break;
3521
+ default:
3522
+ o("System Info", y.message);
3523
+ break;
3524
+ }
3525
+ }), X.on("fonts-not-loaded", (y) => {
3526
+ const L = y.fonts.map((H) => H.fontName).join(", "), D = n("main.message.fontsNotLoaded", { fonts: L });
3527
+ r(n("main.notification.title.fontNotFound"), D);
3528
+ }), X.on("fonts-not-found", (y) => {
3529
+ const L = n("main.message.fontsNotFound", {
3530
+ fonts: y.fonts.join(", ")
3034
3531
  });
3035
- }), Y.on("font-not-loaded", (f) => {
3036
- Q({
3037
- message: n("main.message.fontNotLoaded", {
3038
- fontName: f.fontName,
3039
- url: f.url
3040
- }),
3532
+ a(n("main.notification.title.fontNotFound"), L);
3533
+ }), X.on("failed-to-get-avaiable-fonts", (y) => {
3534
+ oe({
3535
+ message: n("main.message.failedToGetAvaiableFonts", { url: y.url }),
3041
3536
  grouping: !0,
3042
3537
  type: "error",
3043
3538
  showClose: !0
3044
3539
  });
3045
- }), Y.on("failed-to-get-avaiable-fonts", (f) => {
3046
- Q({
3047
- message: n("main.message.failedToGetAvaiableFonts", { url: f.url }),
3048
- grouping: !0,
3049
- type: "error",
3050
- showClose: !0
3540
+ }), X.on("failed-to-open-file", (y) => {
3541
+ const L = n("main.message.failedToOpenFile", {
3542
+ fileName: y.fileName
3051
3543
  });
3052
- }), Y.on("failed-to-open-file", (f) => {
3053
- Q({
3054
- message: n("main.message.failedToOpenFile", { fileName: f.fileName }),
3544
+ oe({
3545
+ message: L,
3055
3546
  grouping: !0,
3056
3547
  type: "error",
3057
3548
  showClose: !0
3058
- });
3059
- }), (f, m) => {
3060
- const h = M("el-config-provider");
3061
- return u(), y(j, null, [
3062
- d("canvas", {
3549
+ }), r("File Opening Failed", L);
3550
+ });
3551
+ const B = () => {
3552
+ v.value = !v.value;
3553
+ }, V = () => {
3554
+ v.value = !1;
3555
+ };
3556
+ return (y, L) => {
3557
+ const D = C("el-config-provider");
3558
+ return u(), _(j, null, [
3559
+ c("canvas", {
3063
3560
  ref_key: "canvasRef",
3064
- ref: o,
3561
+ ref: p,
3065
3562
  class: "ml-cad-canvas"
3066
3563
  }, null, 512),
3067
- a.value ? (u(), y("div", Al, [
3068
- v(h, { locale: g(l) }, {
3069
- default: p(() => [
3070
- d("header", null, [
3071
- v(g(wl)),
3072
- v(g(ll), { "current-locale": g(i) }, null, 8, ["current-locale"])
3564
+ g.value ? (u(), _("div", ba, [
3565
+ m(D, { locale: d(l) }, {
3566
+ default: f(() => [
3567
+ c("header", null, [
3568
+ m(d(Il)),
3569
+ m(d(ml), { "current-locale": d(i) }, null, 8, ["current-locale"])
3073
3570
  ]),
3074
- d("main", null, [
3075
- d("div", Fl, D(g(Z).fileName), 1),
3076
- v(g(bl)),
3077
- v(g(Qo), { editor: s.value }, null, 8, ["editor"]),
3078
- v(g(Bt))
3571
+ c("main", null, [
3572
+ c("div", xa, T(d(Z).fileName), 1),
3573
+ m(d(Ol)),
3574
+ m(d(al), { editor: b.value }, null, 8, ["editor"]),
3575
+ m(d(It))
3079
3576
  ]),
3080
- d("footer", null, [
3081
- v(g(el)),
3082
- v(g(Vl))
3577
+ c("footer", null, [
3578
+ m(d(rl)),
3579
+ m(d(ya), { onToggleNotificationCenter: B })
3083
3580
  ]),
3084
- v(g(Et), { onFileRead: r }),
3085
- v(g(nl))
3581
+ m(d(Ot), { onFileRead: h }),
3582
+ m(d(ul)),
3583
+ v.value ? (u(), z(d(aa), {
3584
+ key: 0,
3585
+ onClose: V
3586
+ })) : R("", !0)
3086
3587
  ]),
3087
3588
  _: 1
3088
3589
  }, 8, ["locale"])
3089
- ])) : q("", !0)
3590
+ ])) : R("", !0)
3090
3591
  ], 64);
3091
3592
  };
3092
3593
  }
3093
- }), Il = () => {
3094
- W.instance.addCommand(
3095
- W.SYSTEMT_COMMAND_GROUP_NAME,
3594
+ }), ka = () => {
3595
+ q.instance.addCommand(
3596
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3096
3597
  "log",
3097
3598
  "log",
3098
- new Ol()
3099
- ), W.instance.addCommand(
3100
- W.SYSTEMT_COMMAND_GROUP_NAME,
3599
+ new La()
3600
+ ), q.instance.addCommand(
3601
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3101
3602
  "la",
3102
3603
  "la",
3103
- new Nl()
3104
- ), W.instance.addCommand(
3105
- W.SYSTEMT_COMMAND_GROUP_NAME,
3604
+ new Sa()
3605
+ ), q.instance.addCommand(
3606
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3106
3607
  "md",
3107
3608
  "md",
3108
- new Hl()
3109
- ), W.instance.addCommand(
3110
- W.SYSTEMT_COMMAND_GROUP_NAME,
3609
+ new za()
3610
+ ), q.instance.addCommand(
3611
+ q.SYSTEMT_COMMAND_GROUP_NAME,
3111
3612
  "pttype",
3112
3613
  "pttype",
3113
- new Gl()
3614
+ new Ba()
3114
3615
  );
3115
- }, Rl = () => {
3116
- const { registerDialog: t } = oe();
3616
+ }, Ma = () => {
3617
+ const { registerDialog: t } = ae();
3117
3618
  t({
3118
3619
  name: "ReplacementDlg",
3119
- component: he(Vt),
3620
+ component: be(Ht),
3120
3621
  props: {}
3121
3622
  }), t({
3122
3623
  name: "PointStyleDlg",
3123
- component: he(ao),
3624
+ component: be(fo),
3124
3625
  props: {}
3125
3626
  });
3126
- }, Pl = (t) => {
3127
- T.createInstance(t), Re(), Il(), T.instance.loadDefaultFonts();
3128
- }, Z = U({
3627
+ }, Ca = (t) => {
3628
+ E.createInstance(t), Ge(), ka(), E.instance.loadDefaultFonts();
3629
+ }, Z = Y({
3129
3630
  fileName: "",
3130
3631
  dialogs: {
3131
3632
  layerManager: !1
3132
3633
  }
3133
3634
  });
3134
- class Nl extends re {
3635
+ class Sa extends ce {
3135
3636
  execute(e) {
3136
3637
  Z.dialogs.layerManager = !0;
3137
3638
  }
3138
3639
  }
3139
- class Ol extends re {
3640
+ class La extends ce {
3140
3641
  execute(e) {
3141
3642
  this.printSelectionSet(e), this.printStats(e), this.printPerformanceData();
3142
3643
  }
@@ -3152,20 +3653,20 @@ class Ol extends re {
3152
3653
  console.log("Geometry information in current drawing:");
3153
3654
  for (let i = 0; i < n.length; ++i) {
3154
3655
  console.group(`Layout: ${i}`);
3155
- 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], {
3156
- name: r.name,
3656
+ 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], {
3657
+ name: s.name,
3157
3658
  "idx line (KB)": o[0].toFixed(1),
3158
3659
  "line (KB)": o[1].toFixed(1),
3159
3660
  "idx mesh (KB)": o[2].toFixed(1),
3160
3661
  "mesh (KB)": o[3].toFixed(1),
3161
3662
  "idx point (KB)": o[4].toFixed(1),
3162
3663
  "point (KB)": o[5].toFixed(1),
3163
- "total geo (KB)": (r.summary.totalGeometrySize / 1024).toFixed(1),
3164
- "total mapping (KB)": (r.summary.totalMappingSize / 1024).toFixed(
3664
+ "total geo (KB)": (s.summary.totalGeometrySize / 1024).toFixed(1),
3665
+ "total mapping (KB)": (s.summary.totalMappingSize / 1024).toFixed(
3165
3666
  1
3166
3667
  )
3167
3668
  }));
3168
- s.push({
3669
+ r.push({
3169
3670
  name: "total",
3170
3671
  "idx line (KB)": a[0].toFixed(1),
3171
3672
  "line (KB)": a[1].toFixed(1),
@@ -3177,61 +3678,65 @@ class Ol extends re {
3177
3678
  "total mapping (KB)": (l.summary.totalSize.mapping / 1024).toFixed(
3178
3679
  1
3179
3680
  )
3180
- }), console.table(s), console.groupEnd();
3681
+ }), console.table(r), console.groupEnd();
3181
3682
  }
3182
3683
  }
3183
3684
  printPerformanceData() {
3184
- Ge.getInstance().printAll();
3685
+ Ye.getInstance().printAll();
3185
3686
  }
3186
3687
  }
3187
- class Hl extends re {
3688
+ class za extends ce {
3188
3689
  execute(e) {
3189
- const { toggleDialog: n } = oe();
3690
+ const { toggleDialog: n } = ae();
3190
3691
  n("ReplacementDlg", !0);
3191
3692
  }
3192
3693
  }
3193
- class Gl extends re {
3694
+ class Ba extends ce {
3194
3695
  execute(e) {
3195
- const { toggleDialog: n } = oe();
3696
+ const { toggleDialog: n } = ae();
3196
3697
  n("PointStyleDlg", !0);
3197
3698
  }
3198
3699
  }
3199
3700
  export {
3200
- Nl as AcApLayerStateCmd,
3201
- Ol as AcApLogCmd,
3202
- Hl as AcApMissedDataCmd,
3203
- Gl as AcApPointStyleCmd,
3204
- Te as MlBaseDialog,
3205
- da as MlCadViewer,
3206
- el as MlCommandLine,
3207
- Bt as MlDialogManager,
3208
- nl as MlEntityInfo,
3209
- Et as MlFileReader,
3210
- ll as MlLanguageSelector,
3211
- Qo as MlLayerManager,
3212
- wl as MlMainMenu,
3213
- ao as MlPointStyleDlg,
3214
- Vt as MlReplacementDlg,
3215
- Vl as MlStatusBar,
3216
- Ve as MlToggleButton,
3217
- bl as MlToolBars,
3218
- fe as cmdDescription,
3219
- Lt as colorName,
3220
- zt as conversionSubStageName,
3221
- Ct as entityName,
3222
- ee as i18n,
3223
- ae as isDark,
3224
- ca as sysCmdDescription,
3225
- mt as toggleDark,
3226
- ut as useCommands,
3227
- dt as useCurrentPos,
3228
- oe as useDialogManager,
3229
- pt as useFileTypes,
3230
- gt as useLayers,
3231
- vt as useLayouts,
3232
- Ee as useLocale,
3233
- $e as useMissedData,
3234
- ce as useSettings,
3235
- Dt as useSystemVars,
3236
- ua as userCmdDescription
3701
+ Sa as AcApLayerStateCmd,
3702
+ La as AcApLogCmd,
3703
+ za as AcApMissedDataCmd,
3704
+ Ba as AcApPointStyleCmd,
3705
+ Ve as MlBaseDialog,
3706
+ Qa as MlCadViewer,
3707
+ rl as MlCommandLine,
3708
+ It as MlDialogManager,
3709
+ ul as MlEntityInfo,
3710
+ Ot as MlFileReader,
3711
+ ml as MlLanguageSelector,
3712
+ al as MlLayerManager,
3713
+ Il as MlMainMenu,
3714
+ aa as MlNotificationCenter,
3715
+ Xl as MlNotificationItem,
3716
+ fo as MlPointStyleDlg,
3717
+ Ht as MlReplacementDlg,
3718
+ ya as MlStatusBar,
3719
+ Ie as MlToggleButton,
3720
+ Ol as MlToolBars,
3721
+ ye as cmdDescription,
3722
+ Et as colorName,
3723
+ At as conversionSubStageName,
3724
+ $t as entityName,
3725
+ te as i18n,
3726
+ se as isDark,
3727
+ Ka as sysCmdDescription,
3728
+ _t as toggleDark,
3729
+ gt as useCommands,
3730
+ ht as useCurrentPos,
3731
+ ae as useDialogManager,
3732
+ wt as useFileTypes,
3733
+ Nt as useIsMobile,
3734
+ yt as useLayers,
3735
+ bt as useLayouts,
3736
+ Fe as useLocale,
3737
+ Ne as useMissedData,
3738
+ me as useNotificationCenter,
3739
+ pe as useSettings,
3740
+ Ft as useSystemVars,
3741
+ Xa as userCmdDescription
3237
3742
  };