@mlightcad/cad-viewer 1.4.8 → 1.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import "./index.css";
2
- import { AcApI18n as ge, AcApDocManager as F, AcApAnnotation as pt, AcApBaseRevCmd as vt, eventBus as oe, AcApSettingManager as K, AcApConvertToSvgCmd as gt, AcApQNewCmd as ft, AcApOpenCmd as ht, AcEdOpenMode as qe, AcEdCommandStack as Me, AcEdCommand as Te } from "@mlightcad/cad-simple-viewer";
2
+ import { AcApI18n as ge, AcApDocManager as F, AcApAnnotation as Ie, AcApBaseRevCmd as vt, eventBus as oe, AcApSettingManager as K, AcApConvertToSvgCmd as gt, AcApQNewCmd as ft, AcApOpenCmd as ht, AcEdOpenMode as Ue, AcEdCommandStack as Me, AcEdCommand as Te } from "@mlightcad/cad-simple-viewer";
3
3
  import "element-plus/dist/index.css";
4
- import { defineComponent as I, createElementBlock as b, openBlock as s, createElementVNode as c, createStaticVNode as _t, computed as z, watch as H, nextTick as Ue, resolveComponent as S, createCommentVNode as W, createVNode as _, withCtx as h, normalizeStyle as j, createBlock as V, resolveDynamicComponent as se, toDisplayString as A, unref as d, renderSlot as pe, createTextVNode as G, ref as L, Fragment as Y, renderList as U, reactive as te, onMounted as J, onUnmounted as ie, withDirectives as wt, withKeys as yt, vModelText as bt, mergeProps as xt, mergeModels as ve, useCssVars as Ze, useModel as ye, normalizeClass as fe, pushScopeId as Xe, popScopeId as je, onBeforeUnmount as Ke, withModifiers as kt, toRef as Ct, markRaw as Ie } from "vue";
5
- import { useDark as Qe, useToggle as Je, useMediaQuery as Mt, useFullscreen as Lt } from "@vueuse/core";
6
- import { AcCmColor as Q, AcGiLineWeight as le, AcCmColorMethod as et, AcDbDatabaseConverterManager as St, acdbHostApplicationServices as tt, AcDbOsnapMode as me, acdbHasOsnapMode as Tt, acdbToggleOsnapMode as Bt } from "@mlightcad/data-model";
7
- import Dt from "element-plus/es/locale/lang/en";
8
- import $t from "element-plus/es/locale/lang/zh-cn";
9
- import { useI18n as Z, createI18n as zt } from "vue-i18n";
10
- import { ElInput as Vt, ElSelect as It, ElOption as At, ElMessage as ae, ElTable as Et, ElProgress as Pt } from "element-plus";
11
- import Nt from "element-plus/es/components/color-picker-panel/index";
12
- import { ElIcon as be, ElTabs as Ft, ElTabPane as Rt, ElDropdown as Ot, ElDropdownMenu as Ht, ElDropdownItem as Wt, ElButtonGroup as Yt, ElPopover as Gt, ElTooltip as qt, ElButton as Ut } from "element-plus/es";
4
+ import { defineComponent as I, createElementBlock as b, openBlock as s, createElementVNode as c, createStaticVNode as _t, computed as z, watch as H, nextTick as Ze, resolveComponent as S, createCommentVNode as W, createVNode as _, withCtx as h, normalizeStyle as j, createBlock as V, resolveDynamicComponent as se, toDisplayString as A, unref as d, renderSlot as pe, createTextVNode as G, ref as L, Fragment as Y, renderList as U, reactive as te, onMounted as J, onUnmounted as ae, withDirectives as wt, withKeys as yt, vModelText as bt, mergeProps as xt, mergeModels as ve, useCssVars as Xe, useModel as ye, normalizeClass as fe, pushScopeId as je, popScopeId as Ke, onBeforeUnmount as Qe, withModifiers as kt, toRef as Ct, markRaw as Ae } from "vue";
5
+ import { useDark as Je, useToggle as et, useMediaQuery as Mt, useFullscreen as Lt } from "@vueuse/core";
6
+ import { AcCmColor as Q, AcCmColorMethod as tt, AcDbDatabaseConverterManager as St, acdbHostApplicationServices as nt, AcDbSysVarManager as Tt, AcGiLineWeight as ie, AcDbOsnapMode as me, acdbHasOsnapMode as Bt, acdbToggleOsnapMode as Dt } from "@mlightcad/data-model";
7
+ import $t from "element-plus/es/locale/lang/en";
8
+ import zt from "element-plus/es/locale/lang/zh-cn";
9
+ import { useI18n as Z, createI18n as Vt } from "vue-i18n";
10
+ import { ElInput as It, ElSelect as At, ElOption as Et, ElMessage as le, ElTable as Nt, ElProgress as Pt } from "element-plus";
11
+ import Ft from "element-plus/es/components/color-picker-panel/index";
12
+ import { ElIcon as be, ElTabs as Rt, ElTabPane as Ot, ElDropdown as Ht, ElDropdownMenu as Wt, ElDropdownItem as Yt, ElButtonGroup as Gt, ElPopover as qt, ElTooltip as Ut, ElButton as Zt } from "element-plus/es";
13
13
  import "element-plus/es/components/base/style/css";
14
14
  import "element-plus/es/components/icon/style/css";
15
15
  import "element-plus/es/components/dropdown/style/css";
@@ -22,7 +22,7 @@ import "element-plus/es/components/button-group/style/css";
22
22
  import "element-plus/es/components/tabs/style/css";
23
23
  import "element-plus/es/components/tab-pane/style/css";
24
24
  /*! Element Plus Icons Vue v2.3.1 */
25
- var Zt = /* @__PURE__ */ I({
25
+ var Xt = /* @__PURE__ */ I({
26
26
  name: "ArrowDown",
27
27
  __name: "arrow-down",
28
28
  setup(n) {
@@ -36,7 +36,7 @@ var Zt = /* @__PURE__ */ I({
36
36
  })
37
37
  ]));
38
38
  }
39
- }), nt = Zt, Xt = /* @__PURE__ */ I({
39
+ }), ot = Xt, jt = /* @__PURE__ */ I({
40
40
  name: "Bell",
41
41
  __name: "bell",
42
42
  setup(n) {
@@ -58,7 +58,7 @@ var Zt = /* @__PURE__ */ I({
58
58
  })
59
59
  ]));
60
60
  }
61
- }), Se = Xt, jt = /* @__PURE__ */ I({
61
+ }), Se = jt, Kt = /* @__PURE__ */ I({
62
62
  name: "ChatDotRound",
63
63
  __name: "chat-dot-round",
64
64
  setup(n) {
@@ -76,7 +76,7 @@ var Zt = /* @__PURE__ */ I({
76
76
  })
77
77
  ]));
78
78
  }
79
- }), Kt = jt, Qt = /* @__PURE__ */ I({
79
+ }), Qt = Kt, Jt = /* @__PURE__ */ I({
80
80
  name: "Check",
81
81
  __name: "check",
82
82
  setup(n) {
@@ -90,7 +90,7 @@ var Zt = /* @__PURE__ */ I({
90
90
  })
91
91
  ]));
92
92
  }
93
- }), ne = Qt, Jt = /* @__PURE__ */ I({
93
+ }), ne = Jt, en = /* @__PURE__ */ I({
94
94
  name: "CircleCloseFilled",
95
95
  __name: "circle-close-filled",
96
96
  setup(n) {
@@ -104,7 +104,7 @@ var Zt = /* @__PURE__ */ I({
104
104
  })
105
105
  ]));
106
106
  }
107
- }), en = Jt, tn = /* @__PURE__ */ I({
107
+ }), tn = en, nn = /* @__PURE__ */ I({
108
108
  name: "Close",
109
109
  __name: "close",
110
110
  setup(n) {
@@ -118,7 +118,7 @@ var Zt = /* @__PURE__ */ I({
118
118
  })
119
119
  ]));
120
120
  }
121
- }), Be = tn, nn = /* @__PURE__ */ I({
121
+ }), Be = nn, on = /* @__PURE__ */ I({
122
122
  name: "Delete",
123
123
  __name: "delete",
124
124
  setup(n) {
@@ -132,7 +132,7 @@ var Zt = /* @__PURE__ */ I({
132
132
  })
133
133
  ]));
134
134
  }
135
- }), on = nn, ln = /* @__PURE__ */ I({
135
+ }), ln = on, an = /* @__PURE__ */ I({
136
136
  name: "Hide",
137
137
  __name: "hide",
138
138
  setup(n) {
@@ -150,7 +150,7 @@ var Zt = /* @__PURE__ */ I({
150
150
  })
151
151
  ]));
152
152
  }
153
- }), an = ln, rn = /* @__PURE__ */ I({
153
+ }), rn = an, sn = /* @__PURE__ */ I({
154
154
  name: "InfoFilled",
155
155
  __name: "info-filled",
156
156
  setup(n) {
@@ -164,7 +164,7 @@ var Zt = /* @__PURE__ */ I({
164
164
  })
165
165
  ]));
166
166
  }
167
- }), Ae = rn, sn = /* @__PURE__ */ I({
167
+ }), Ee = sn, cn = /* @__PURE__ */ I({
168
168
  name: "Menu",
169
169
  __name: "menu",
170
170
  setup(n) {
@@ -178,7 +178,7 @@ var Zt = /* @__PURE__ */ I({
178
178
  })
179
179
  ]));
180
180
  }
181
- }), cn = sn, un = /* @__PURE__ */ I({
181
+ }), un = cn, dn = /* @__PURE__ */ I({
182
182
  name: "Moon",
183
183
  __name: "moon",
184
184
  setup(n) {
@@ -192,7 +192,7 @@ var Zt = /* @__PURE__ */ I({
192
192
  })
193
193
  ]));
194
194
  }
195
- }), dn = un, mn = /* @__PURE__ */ I({
195
+ }), mn = dn, pn = /* @__PURE__ */ I({
196
196
  name: "Operation",
197
197
  __name: "operation",
198
198
  setup(n) {
@@ -206,7 +206,7 @@ var Zt = /* @__PURE__ */ I({
206
206
  })
207
207
  ]));
208
208
  }
209
- }), pn = mn, vn = /* @__PURE__ */ I({
209
+ }), vn = pn, gn = /* @__PURE__ */ I({
210
210
  name: "Setting",
211
211
  __name: "setting",
212
212
  setup(n) {
@@ -220,7 +220,7 @@ var Zt = /* @__PURE__ */ I({
220
220
  })
221
221
  ]));
222
222
  }
223
- }), gn = vn, fn = /* @__PURE__ */ I({
223
+ }), fn = gn, hn = /* @__PURE__ */ I({
224
224
  name: "SuccessFilled",
225
225
  __name: "success-filled",
226
226
  setup(n) {
@@ -234,7 +234,7 @@ var Zt = /* @__PURE__ */ I({
234
234
  })
235
235
  ]));
236
236
  }
237
- }), hn = fn, _n = /* @__PURE__ */ I({
237
+ }), _n = hn, wn = /* @__PURE__ */ I({
238
238
  name: "Sunny",
239
239
  __name: "sunny",
240
240
  setup(n) {
@@ -248,7 +248,7 @@ var Zt = /* @__PURE__ */ I({
248
248
  })
249
249
  ]));
250
250
  }
251
- }), wn = _n, yn = /* @__PURE__ */ I({
251
+ }), yn = wn, bn = /* @__PURE__ */ I({
252
252
  name: "View",
253
253
  __name: "view",
254
254
  setup(n) {
@@ -262,7 +262,7 @@ var Zt = /* @__PURE__ */ I({
262
262
  })
263
263
  ]));
264
264
  }
265
- }), bn = yn, xn = /* @__PURE__ */ I({
265
+ }), xn = bn, kn = /* @__PURE__ */ I({
266
266
  name: "WarningFilled",
267
267
  __name: "warning-filled",
268
268
  setup(n) {
@@ -276,7 +276,7 @@ var Zt = /* @__PURE__ */ I({
276
276
  })
277
277
  ]));
278
278
  }
279
- }), kn = xn, Cn = /* @__PURE__ */ I({
279
+ }), Cn = kn, Mn = /* @__PURE__ */ I({
280
280
  name: "Warning",
281
281
  __name: "warning",
282
282
  setup(n) {
@@ -290,27 +290,27 @@ var Zt = /* @__PURE__ */ I({
290
290
  })
291
291
  ]));
292
292
  }
293
- }), Mn = Cn;
294
- const Ln = {
293
+ }), Ln = Mn;
294
+ const Sn = {
295
295
  xmlns: "http://www.w3.org/2000/svg",
296
296
  width: "1em",
297
297
  height: "1em",
298
298
  viewBox: "0 0 15 15"
299
299
  };
300
- function Sn(n, e) {
301
- return s(), b("svg", Ln, e[0] || (e[0] = [
300
+ function Tn(n, e) {
301
+ return s(), b("svg", Sn, e[0] || (e[0] = [
302
302
  c("path", {
303
303
  fill: "currentColor",
304
304
  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"
305
305
  }, null, -1)
306
306
  ]));
307
307
  }
308
- const Ee = { render: Sn }, Tn = {
308
+ const Ne = { render: Tn }, Bn = {
309
309
  xmlns: "http://www.w3.org/2000/svg",
310
310
  viewBox: "0 0 512 512"
311
311
  };
312
- function Bn(n, e) {
313
- return s(), b("svg", Tn, e[0] || (e[0] = [
312
+ function Dn(n, e) {
313
+ return s(), b("svg", Bn, e[0] || (e[0] = [
314
314
  c("path", {
315
315
  fill: "none",
316
316
  stroke: "currentColor",
@@ -329,12 +329,12 @@ function Bn(n, e) {
329
329
  }, null, -1)
330
330
  ]));
331
331
  }
332
- const Dn = { render: Bn }, $n = {
332
+ const $n = { render: Dn }, zn = {
333
333
  xmlns: "http://www.w3.org/2000/svg",
334
334
  viewBox: "0 0 1024 1024"
335
335
  };
336
- function zn(n, e) {
337
- return s(), b("svg", $n, e[0] || (e[0] = [
336
+ function Vn(n, e) {
337
+ return s(), b("svg", zn, e[0] || (e[0] = [
338
338
  c("path", {
339
339
  fill: "currentColor",
340
340
  d: "M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.81 207.81 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.81 271.81 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"
@@ -351,24 +351,24 @@ function zn(n, e) {
351
351
  }, "ML", -1)
352
352
  ]));
353
353
  }
354
- const Vn = { render: zn }, In = {
354
+ const In = { render: Vn }, An = {
355
355
  xmlns: "http://www.w3.org/2000/svg",
356
356
  width: "1em",
357
357
  height: "1em",
358
358
  viewBox: "0 0 20 20"
359
359
  };
360
- function An(n, e) {
361
- return s(), b("svg", In, e[0] || (e[0] = [
360
+ function En(n, e) {
361
+ return s(), b("svg", An, e[0] || (e[0] = [
362
362
  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)
363
363
  ]));
364
364
  }
365
- const En = { render: An }, Pn = {
365
+ const Nn = { render: En }, Pn = {
366
366
  xmlns: "http://www.w3.org/2000/svg",
367
367
  width: "1em",
368
368
  height: "1em",
369
369
  viewBox: "0 0 24 24"
370
370
  };
371
- function Nn(n, e) {
371
+ function Fn(n, e) {
372
372
  return s(), b("svg", Pn, e[0] || (e[0] = [
373
373
  c("path", {
374
374
  stroke: "currentColor",
@@ -382,12 +382,12 @@ function Nn(n, e) {
382
382
  c("path", { d: "M5.175 20.773V7.128h-.97V21.75h17.544V4.204H7.13v.97h13.644v15.599z" }, null, -1)
383
383
  ]));
384
384
  }
385
- const Fn = { render: Nn }, Rn = {
385
+ const Rn = { render: Fn }, On = {
386
386
  xmlns: "http://www.w3.org/2000/svg",
387
387
  viewBox: "0 0 20 20"
388
388
  };
389
- function On(n, e) {
390
- return s(), b("svg", Rn, e[0] || (e[0] = [
389
+ function Hn(n, e) {
390
+ return s(), b("svg", On, e[0] || (e[0] = [
391
391
  c("path", {
392
392
  fill: "currentColor",
393
393
  d: "M17.366 8.133a7.917 7.917 0 1 0-9.146 9.249l.21-.81a7.083 7.083 0 1 1 8.018-8.735q.074-.008.152-.007.446.005.766.303"
@@ -398,12 +398,12 @@ function On(n, e) {
398
398
  }, null, -1)
399
399
  ]));
400
400
  }
401
- const Hn = { render: On }, Wn = {
401
+ const Wn = { render: Hn }, Yn = {
402
402
  xmlns: "http://www.w3.org/2000/svg",
403
403
  viewBox: "0 0 40 40"
404
404
  };
405
- function Yn(n, e) {
406
- return s(), b("svg", Wn, e[0] || (e[0] = [
405
+ function Gn(n, e) {
406
+ return s(), b("svg", Yn, e[0] || (e[0] = [
407
407
  c("path", {
408
408
  fill: "currentColor",
409
409
  d: "M35.291 15c1.834-2.69 1.667-5.665-.5-7.97-2.168-2.498-5.336-2.69-7.67-.577-2.168-1.921-5.17-1.921-7.17 0-2.168-1.921-5.169-1.921-7.17 0-2.334-2.114-5.67-1.921-7.837.577-2 2.305-2.167 5.28-.333 7.97-1.668 2.498-1.668 7.694 0 10-1.834 2.69-1.668 5.665.5 7.97 2.168 2.498 5.336 2.69 7.67.577 1.232 1.092 2.734 1.564 4.169 1.414l.434-1.683q-1.688.625-3.497-.978a1.667 1.667 0 0 0-2.225.011q-1.231 1.116-2.66 1.015-1.466-.104-2.632-1.448l-.045-.05q-2.523-2.683-.337-5.89a1.67 1.67 0 0 0-.027-1.915q-.934-1.292-.934-3.95 0-2.694.97-4.148a1.67 1.67 0 0 0-.01-1.864q-2.172-3.187.216-5.94 1.164-1.34 2.712-1.446 1.513-.104 2.747 1.014a1.667 1.667 0 0 0 2.274-.034q2.332-2.24 4.91.045c.65.577 1.633.557 2.26-.045q2.332-2.24 4.91.045a1.667 1.667 0 0 0 2.223-.011q1.232-1.116 2.661-1.014 1.466.103 2.632 1.447l.044.05q2.524 2.683.338 5.89a1.67 1.67 0 0 0-.282.783q.167-.021.344-.02.957.013 1.624.699l.065.067a5 5 0 0 0-.374-.591m.675 11.183-1.29 1.28q.718 2.27-1.144 4.415l-.042.05q-1.036 1.293-2.525 1.397-.96.067-1.815-.373l-1.22 1.212c2.247 1.426 5.081 1.028 6.86-1.194 1.852-2.133 2.244-4.474 1.176-6.787"
@@ -414,24 +414,24 @@ function Yn(n, e) {
414
414
  }, null, -1)
415
415
  ]));
416
416
  }
417
- const Gn = { render: Yn }, qn = {
417
+ const qn = { render: Gn }, Un = {
418
418
  xmlns: "http://www.w3.org/2000/svg",
419
419
  viewBox: "0 0 20 20"
420
420
  };
421
- function Un(n, e) {
422
- return s(), b("svg", qn, e[0] || (e[0] = [
421
+ function Zn(n, e) {
422
+ return s(), b("svg", Un, e[0] || (e[0] = [
423
423
  c("path", {
424
424
  fill: "currentColor",
425
425
  d: "m9.174 18.04.581-2.25a.236.236 0 0 1 .396-.107l1.626 1.615a.234.234 0 0 1-.101.391l-2.208.635a.235.235 0 0 1-.294-.283m1.402-3.027 1.867 1.854a.237.237 0 0 0 .334 0l5.487-5.45a.233.233 0 0 0 .003-.329l-1.796-1.85a.237.237 0 0 0-.336-.004l-5.558 5.446a.233.233 0 0 0 0 .333M2.904 5.16q.683-1.633 2.466-3.18l-.547-.63Q2.894 3.025 2.135 4.837q-.78 1.862.035 2.917.708.918 1.988.977.826.038 3.641-.376l.178-.026q2.636-.387 2.835.716.088.488-.358 1.176-.51.785-1.532 1.525-1.166.844-1.377 1.863-.205.985.493 1.685.45.452 1.353.452v-.833q-.556 0-.763-.207-.38-.383-.267-.928.145-.703 1.05-1.357 2.527-1.829 2.22-3.524Q11.29 7 7.857 7.504l-.178.027q-2.736.402-3.482.368-.894-.041-1.366-.654-.518-.671.074-2.086m15.3 2.34-2.45-6.1Z"
426
426
  }, null, -1)
427
427
  ]));
428
428
  }
429
- const Zn = { render: Un }, Xn = {
429
+ const Xn = { render: Zn }, jn = {
430
430
  xmlns: "http://www.w3.org/2000/svg",
431
431
  viewBox: "0 0 20 20"
432
432
  };
433
- function jn(n, e) {
434
- return s(), b("svg", Xn, e[0] || (e[0] = [
433
+ function Kn(n, e) {
434
+ return s(), b("svg", jn, e[0] || (e[0] = [
435
435
  c("path", {
436
436
  fill: "currentColor",
437
437
  d: "M1.667 15.833V4.167c0-.92.746-1.667 1.666-1.667h13.334c.92 0 1.666.746 1.666 1.667v4.96L17.5 8.27V4.167q0-.834-.833-.834H3.333q-.833 0-.833.834v11.666q0 .834.833.834h5.072l-.215.833H3.333c-.92 0-1.666-.746-1.666-1.667M13.576 17.5h3.09c.921 0 1.667-.746 1.667-1.667v-3.058l-.833.828v2.23q0 .834-.833.834h-2.252z"
@@ -442,309 +442,309 @@ function jn(n, e) {
442
442
  }, null, -1)
443
443
  ]));
444
444
  }
445
- const Kn = { render: jn }, Qn = {
445
+ const Qn = { render: Kn }, Jn = {
446
446
  xmlns: "http://www.w3.org/2000/svg",
447
447
  width: "1em",
448
448
  height: "1em",
449
449
  viewBox: "0 0 20 20"
450
450
  };
451
- function Jn(n, e) {
452
- return s(), b("svg", Qn, e[0] || (e[0] = [
451
+ function eo(n, e) {
452
+ return s(), b("svg", Jn, e[0] || (e[0] = [
453
453
  c("path", {
454
454
  fill: "currentColor",
455
455
  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"
456
456
  }, null, -1)
457
457
  ]));
458
458
  }
459
- const eo = { render: Jn }, to = {
459
+ const to = { render: eo }, no = {
460
460
  xmlns: "http://www.w3.org/2000/svg",
461
461
  viewBox: "0 0 24 24"
462
462
  };
463
- function no(n, e) {
464
- return s(), b("svg", to, e[0] || (e[0] = [
463
+ function oo(n, e) {
464
+ return s(), b("svg", no, e[0] || (e[0] = [
465
465
  _t('<path fill="currentColor" d="M3 3h7v7H3z"></path><path fill="none" stroke="currentColor" d="M14 14h7v7h-7z"></path><path fill="none" stroke="currentColor" stroke-linecap="round" d="M12 4a8 8 0 0 1 7.25 7.25"></path><path fill="currentColor" d="M20.75 10h-3.5L19 12.5Z"></path><path fill="none" stroke="currentColor" stroke-linecap="round" d="M12 20a8 8 0 0 1-8-8"></path><path fill="currentColor" d="M6 14H2.5L4 11Z"></path>', 6)
466
466
  ]));
467
467
  }
468
- const oo = { render: no }, lo = {
468
+ const lo = { render: oo }, ao = {
469
469
  xmlns: "http://www.w3.org/2000/svg",
470
470
  width: "1em",
471
471
  height: "1em",
472
472
  viewBox: "0 0 20 20"
473
473
  };
474
- function ao(n, e) {
475
- return s(), b("svg", lo, e[0] || (e[0] = [
474
+ function io(n, e) {
475
+ return s(), b("svg", ao, e[0] || (e[0] = [
476
476
  c("path", {
477
477
  fill: "currentColor",
478
478
  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"
479
479
  }, null, -1)
480
480
  ]));
481
481
  }
482
- const io = { render: ao }, ro = {
482
+ const ro = { render: io }, so = {
483
483
  xmlns: "http://www.w3.org/2000/svg",
484
484
  width: "1em",
485
485
  height: "1em",
486
486
  viewBox: "0 0 20 20"
487
487
  };
488
- function so(n, e) {
489
- return s(), b("svg", ro, e[0] || (e[0] = [
488
+ function co(n, e) {
489
+ return s(), b("svg", so, e[0] || (e[0] = [
490
490
  c("path", {
491
491
  fill: "currentColor",
492
492
  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"
493
493
  }, null, -1)
494
494
  ]));
495
495
  }
496
- const co = { render: so }, uo = {
496
+ const uo = { render: co }, mo = {
497
497
  xmlns: "http://www.w3.org/2000/svg",
498
498
  width: "1em",
499
499
  height: "1em",
500
500
  viewBox: "0 0 20 20"
501
501
  };
502
- function mo(n, e) {
503
- return s(), b("svg", uo, e[0] || (e[0] = [
502
+ function po(n, e) {
503
+ return s(), b("svg", mo, e[0] || (e[0] = [
504
504
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
505
505
  ]));
506
506
  }
507
- const po = { render: mo }, vo = {
507
+ const vo = { render: po }, go = {
508
508
  xmlns: "http://www.w3.org/2000/svg",
509
509
  width: "1em",
510
510
  height: "1em",
511
511
  viewBox: "0 0 20 20"
512
512
  };
513
- function go(n, e) {
514
- return s(), b("svg", vo);
513
+ function fo(n, e) {
514
+ return s(), b("svg", go);
515
515
  }
516
- const fo = { render: go }, ho = {
516
+ const ho = { render: fo }, _o = {
517
517
  xmlns: "http://www.w3.org/2000/svg",
518
518
  width: "1em",
519
519
  height: "1em",
520
520
  viewBox: "0 0 20 20"
521
521
  };
522
- function _o(n, e) {
523
- return s(), b("svg", ho, e[0] || (e[0] = [
522
+ function wo(n, e) {
523
+ return s(), b("svg", _o, e[0] || (e[0] = [
524
524
  c("path", { d: "M2 9.5h16v1H2z" }, null, -1),
525
525
  c("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
526
526
  ]));
527
527
  }
528
- const wo = { render: _o }, yo = {
528
+ const yo = { render: wo }, bo = {
529
529
  xmlns: "http://www.w3.org/2000/svg",
530
530
  width: "1em",
531
531
  height: "1em",
532
532
  viewBox: "0 0 20 20"
533
533
  };
534
- function bo(n, e) {
535
- return s(), b("svg", yo, e[0] || (e[0] = [
534
+ function xo(n, e) {
535
+ return s(), b("svg", bo, e[0] || (e[0] = [
536
536
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
537
537
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
538
538
  ]));
539
539
  }
540
- const xo = { render: bo }, ko = {
540
+ const ko = { render: xo }, Co = {
541
541
  xmlns: "http://www.w3.org/2000/svg",
542
542
  width: "1em",
543
543
  height: "1em",
544
544
  viewBox: "0 0 20 20"
545
545
  };
546
- function Co(n, e) {
547
- return s(), b("svg", ko, e[0] || (e[0] = [
546
+ function Mo(n, e) {
547
+ return s(), b("svg", Co, e[0] || (e[0] = [
548
548
  c("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
549
549
  ]));
550
550
  }
551
- const Mo = { render: Co }, Lo = {
551
+ const Lo = { render: Mo }, So = {
552
552
  xmlns: "http://www.w3.org/2000/svg",
553
553
  width: "1em",
554
554
  height: "1em",
555
555
  viewBox: "0 0 20 20"
556
556
  };
557
- function So(n, e) {
558
- return s(), b("svg", Lo, e[0] || (e[0] = [
557
+ function To(n, e) {
558
+ return s(), b("svg", So, e[0] || (e[0] = [
559
559
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
560
560
  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)
561
561
  ]));
562
562
  }
563
- const To = { render: So }, Bo = {
563
+ const Bo = { render: To }, Do = {
564
564
  xmlns: "http://www.w3.org/2000/svg",
565
565
  width: "1em",
566
566
  height: "1em",
567
567
  viewBox: "0 0 20 20"
568
568
  };
569
- function Do(n, e) {
570
- return s(), b("svg", Bo, e[0] || (e[0] = [
569
+ function $o(n, e) {
570
+ return s(), b("svg", Do, e[0] || (e[0] = [
571
571
  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)
572
572
  ]));
573
573
  }
574
- const $o = { render: Do }, zo = {
574
+ const zo = { render: $o }, Vo = {
575
575
  xmlns: "http://www.w3.org/2000/svg",
576
576
  width: "1em",
577
577
  height: "1em",
578
578
  viewBox: "0 0 20 20"
579
579
  };
580
- function Vo(n, e) {
581
- return s(), b("svg", zo, e[0] || (e[0] = [
580
+ function Io(n, e) {
581
+ return s(), b("svg", Vo, e[0] || (e[0] = [
582
582
  c("path", { d: "M3 9.5h14v1H3z" }, null, -1),
583
583
  c("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
584
584
  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)
585
585
  ]));
586
586
  }
587
- const Io = { render: Vo }, Ao = {
587
+ const Ao = { render: Io }, Eo = {
588
588
  xmlns: "http://www.w3.org/2000/svg",
589
589
  width: "1em",
590
590
  height: "1em",
591
591
  viewBox: "0 0 20 20"
592
592
  };
593
- function Eo(n, e) {
594
- return s(), b("svg", Ao, e[0] || (e[0] = [
593
+ function No(n, e) {
594
+ return s(), b("svg", Eo, e[0] || (e[0] = [
595
595
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
596
596
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
597
597
  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)
598
598
  ]));
599
599
  }
600
- const Po = { render: Eo }, No = {
600
+ const Po = { render: No }, Fo = {
601
601
  xmlns: "http://www.w3.org/2000/svg",
602
602
  width: "1em",
603
603
  height: "1em",
604
604
  viewBox: "0 0 20 20"
605
605
  };
606
- function Fo(n, e) {
607
- return s(), b("svg", No, e[0] || (e[0] = [
606
+ function Ro(n, e) {
607
+ return s(), b("svg", Fo, e[0] || (e[0] = [
608
608
  c("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
609
609
  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)
610
610
  ]));
611
611
  }
612
- const Ro = { render: Fo }, Oo = {
612
+ const Oo = { render: Ro }, Ho = {
613
613
  xmlns: "http://www.w3.org/2000/svg",
614
614
  width: "1em",
615
615
  height: "1em",
616
616
  viewBox: "0 0 20 20"
617
617
  };
618
- function Ho(n, e) {
619
- return s(), b("svg", Oo, e[0] || (e[0] = [
618
+ function Wo(n, e) {
619
+ return s(), b("svg", Ho, e[0] || (e[0] = [
620
620
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
621
621
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
622
622
  ]));
623
623
  }
624
- const Wo = { render: Ho }, Yo = {
624
+ const Yo = { render: Wo }, Go = {
625
625
  xmlns: "http://www.w3.org/2000/svg",
626
626
  width: "1em",
627
627
  height: "1em",
628
628
  viewBox: "0 0 20 20"
629
629
  };
630
- function Go(n, e) {
631
- return s(), b("svg", Yo, e[0] || (e[0] = [
630
+ function qo(n, e) {
631
+ return s(), b("svg", Go, e[0] || (e[0] = [
632
632
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
633
633
  ]));
634
634
  }
635
- const qo = { render: Go }, Uo = {
635
+ const Uo = { render: qo }, Zo = {
636
636
  xmlns: "http://www.w3.org/2000/svg",
637
637
  width: "1em",
638
638
  height: "1em",
639
639
  viewBox: "0 0 20 20"
640
640
  };
641
- function Zo(n, e) {
642
- return s(), b("svg", Uo, e[0] || (e[0] = [
641
+ function Xo(n, e) {
642
+ return s(), b("svg", Zo, e[0] || (e[0] = [
643
643
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
644
644
  c("path", { d: "M3 9.58h14v1H3z" }, null, -1),
645
645
  c("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
646
646
  ]));
647
647
  }
648
- const Xo = { render: Zo }, jo = {
648
+ const jo = { render: Xo }, Ko = {
649
649
  xmlns: "http://www.w3.org/2000/svg",
650
650
  width: "1em",
651
651
  height: "1em",
652
652
  viewBox: "0 0 20 20"
653
653
  };
654
- function Ko(n, e) {
655
- return s(), b("svg", jo, e[0] || (e[0] = [
654
+ function Qo(n, e) {
655
+ return s(), b("svg", Ko, e[0] || (e[0] = [
656
656
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
657
657
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
658
658
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
659
659
  ]));
660
660
  }
661
- const Qo = { render: Ko }, Jo = {
661
+ const Jo = { render: Qo }, el = {
662
662
  xmlns: "http://www.w3.org/2000/svg",
663
663
  width: "1em",
664
664
  height: "1em",
665
665
  viewBox: "0 0 20 20"
666
666
  };
667
- function el(n, e) {
668
- return s(), b("svg", Jo, e[0] || (e[0] = [
667
+ function tl(n, e) {
668
+ return s(), b("svg", el, e[0] || (e[0] = [
669
669
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
670
670
  c("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
671
671
  ]));
672
672
  }
673
- const tl = { render: el }, nl = {
673
+ const nl = { render: tl }, ol = {
674
674
  xmlns: "http://www.w3.org/2000/svg",
675
675
  width: "1em",
676
676
  height: "1em",
677
677
  viewBox: "0 0 20 20"
678
678
  };
679
- function ol(n, e) {
680
- return s(), b("svg", nl, e[0] || (e[0] = [
679
+ function ll(n, e) {
680
+ return s(), b("svg", ol, e[0] || (e[0] = [
681
681
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
682
682
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
683
683
  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)
684
684
  ]));
685
685
  }
686
- const ll = { render: ol }, al = {
686
+ const al = { render: ll }, il = {
687
687
  xmlns: "http://www.w3.org/2000/svg",
688
688
  width: "1em",
689
689
  height: "1em",
690
690
  viewBox: "0 0 20 20"
691
691
  };
692
- function il(n, e) {
693
- return s(), b("svg", al, e[0] || (e[0] = [
692
+ function rl(n, e) {
693
+ return s(), b("svg", il, e[0] || (e[0] = [
694
694
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
695
695
  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)
696
696
  ]));
697
697
  }
698
- const rl = { render: il }, sl = {
698
+ const sl = { render: rl }, cl = {
699
699
  xmlns: "http://www.w3.org/2000/svg",
700
700
  width: "1em",
701
701
  height: "1em",
702
702
  viewBox: "0 0 20 20"
703
703
  };
704
- function cl(n, e) {
705
- return s(), b("svg", sl, e[0] || (e[0] = [
704
+ function ul(n, e) {
705
+ return s(), b("svg", cl, e[0] || (e[0] = [
706
706
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
707
707
  c("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
708
708
  c("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
709
709
  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)
710
710
  ]));
711
711
  }
712
- const ul = { render: cl }, dl = {
712
+ const dl = { render: ul }, ml = {
713
713
  xmlns: "http://www.w3.org/2000/svg",
714
714
  width: "1em",
715
715
  height: "1em",
716
716
  viewBox: "0 0 20 20"
717
717
  };
718
- function ml(n, e) {
719
- return s(), b("svg", dl, e[0] || (e[0] = [
718
+ function pl(n, e) {
719
+ return s(), b("svg", ml, e[0] || (e[0] = [
720
720
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
721
721
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
722
722
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
723
723
  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)
724
724
  ]));
725
725
  }
726
- const pl = { render: ml }, vl = {
726
+ const vl = { render: pl }, gl = {
727
727
  xmlns: "http://www.w3.org/2000/svg",
728
728
  width: "1em",
729
729
  height: "1em",
730
730
  viewBox: "0 0 20 20"
731
731
  };
732
- function gl(n, e) {
733
- return s(), b("svg", vl, e[0] || (e[0] = [
732
+ function fl(n, e) {
733
+ return s(), b("svg", gl, e[0] || (e[0] = [
734
734
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
735
735
  c("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
736
736
  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)
737
737
  ]));
738
738
  }
739
- const fl = { render: gl }, hl = {
739
+ const hl = { render: fl }, _l = {
740
740
  key: 0,
741
741
  class: "ml-base-dialog",
742
742
  role: "dialog",
743
743
  "aria-modal": "true"
744
- }, _l = { class: "ml-base-dialog-header" }, wl = { class: "ml-base-dialog-title" }, yl = {
744
+ }, wl = { class: "ml-base-dialog-header" }, yl = { class: "ml-base-dialog-title" }, bl = {
745
745
  key: 0,
746
746
  class: "ml-base-dialog-icon-wrapper"
747
- }, bl = { class: "ml-base-dialog-actions" }, xl = { class: "ml-base-dialog-body" }, kl = { class: "ml-base-dialog-footer" }, Cl = /* @__PURE__ */ I({
747
+ }, xl = { class: "ml-base-dialog-actions" }, kl = { class: "ml-base-dialog-body" }, Cl = { class: "ml-base-dialog-footer" }, Ml = /* @__PURE__ */ I({
748
748
  __name: "MlBaseDialog",
749
749
  props: {
750
750
  modelValue: { type: Boolean, required: !0 },
@@ -760,13 +760,13 @@ const fl = { render: gl }, hl = {
760
760
  "opened"
761
761
  ],
762
762
  setup(n, { emit: e }) {
763
- const { t } = Z(), l = n, o = e, a = z(() => l.icon ?? Vn), r = z(
763
+ const { t } = Z(), l = n, o = e, a = z(() => l.icon ?? In), r = z(
764
764
  () => typeof l.width == "number" ? `${l.width}px` : l.width
765
765
  );
766
766
  H(
767
767
  () => l.modelValue,
768
768
  async (w, p) => {
769
- w && !p && (o("open"), await Ue(), o("opened"));
769
+ w && !p && (o("open"), await Ze(), o("opened"));
770
770
  }
771
771
  );
772
772
  function u() {
@@ -777,7 +777,7 @@ const fl = { render: gl }, hl = {
777
777
  }
778
778
  return (w, p) => {
779
779
  const C = S("el-icon"), v = S("el-button"), g = S("el-config-provider");
780
- return n.modelValue ? (s(), b("div", hl, [
780
+ return n.modelValue ? (s(), b("div", _l, [
781
781
  c("div", {
782
782
  class: "ml-base-dialog-overlay",
783
783
  onClick: i
@@ -788,14 +788,14 @@ const fl = { render: gl }, hl = {
788
788
  class: "ml-base-dialog-container",
789
789
  style: j({ width: r.value })
790
790
  }, [
791
- c("div", _l, [
792
- c("div", wl, [
793
- a.value ? (s(), b("span", yl, [
791
+ c("div", wl, [
792
+ c("div", yl, [
793
+ a.value ? (s(), b("span", bl, [
794
794
  (s(), V(se(a.value), { class: "ml-base-dialog-icon" }))
795
795
  ])) : W("", !0),
796
796
  c("span", null, A(n.title), 1)
797
797
  ]),
798
- c("div", bl, [
798
+ c("div", xl, [
799
799
  _(v, {
800
800
  text: "",
801
801
  class: "ml-base-dialog-close",
@@ -813,10 +813,10 @@ const fl = { render: gl }, hl = {
813
813
  })
814
814
  ])
815
815
  ]),
816
- c("div", xl, [
816
+ c("div", kl, [
817
817
  pe(w.$slots, "default", {}, void 0, !0)
818
818
  ]),
819
- c("div", kl, [
819
+ c("div", Cl, [
820
820
  _(v, { onClick: i }, {
821
821
  default: h(() => [
822
822
  G(A(d(t)("dialog.baseDialog.cancel")), 1)
@@ -845,7 +845,7 @@ const fl = { render: gl }, hl = {
845
845
  for (const [l, o] of e)
846
846
  t[l] = o;
847
847
  return t;
848
- }, De = /* @__PURE__ */ q(Cl, [["__scopeId", "data-v-a16d1a97"]]), Ml = /* @__PURE__ */ I({
848
+ }, De = /* @__PURE__ */ q(Ml, [["__scopeId", "data-v-a16d1a97"]]), Ll = /* @__PURE__ */ I({
849
849
  __name: "MlBaseDrawStyleToolbar",
850
850
  props: {
851
851
  colorIndex: {},
@@ -890,14 +890,14 @@ const fl = { render: gl }, hl = {
890
890
  }, 8, ["disabled"])
891
891
  ]),
892
892
  default: h(() => [
893
- _(d(dt), {
893
+ _(d(mt), {
894
894
  "model-value": i.colorIndex,
895
895
  "onUpdate:modelValue": r
896
896
  }, null, 8, ["model-value"])
897
897
  ]),
898
898
  _: 1
899
899
  }, 8, ["visible", "disabled"]),
900
- _(d(za), {
900
+ _(d(Va), {
901
901
  modelValue: a.value,
902
902
  "onUpdate:modelValue": w[1] || (w[1] = (g) => a.value = g),
903
903
  disabled: i.disabled,
@@ -908,7 +908,7 @@ const fl = { render: gl }, hl = {
908
908
  });
909
909
  };
910
910
  }
911
- }), ot = /* @__PURE__ */ q(Ml, [["__scopeId", "data-v-dee39ae6"]]), Ll = { class: "ml-base-input-number" }, Sl = /* @__PURE__ */ I({
911
+ }), lt = /* @__PURE__ */ q(Ll, [["__scopeId", "data-v-dee39ae6"]]), Sl = { class: "ml-base-input-number" }, Tl = /* @__PURE__ */ I({
912
912
  __name: "MlBaseInputNumber",
913
913
  props: {
914
914
  modelValue: {},
@@ -951,8 +951,8 @@ const fl = { render: gl }, hl = {
951
951
  { immediate: !0 }
952
952
  ), H(o, (v) => {
953
953
  a.value = i(t.modelValue, v);
954
- }), (v, g) => (s(), b("div", Ll, [
955
- _(d(Vt), {
954
+ }), (v, g) => (s(), b("div", Sl, [
955
+ _(d(It), {
956
956
  modelValue: a.value,
957
957
  "onUpdate:modelValue": g[0] || (g[0] = (f) => a.value = f),
958
958
  class: "ml-base-input-number__input",
@@ -962,14 +962,14 @@ const fl = { render: gl }, hl = {
962
962
  onBlur: C,
963
963
  clearable: ""
964
964
  }, null, 8, ["modelValue", "placeholder", "readonly"]),
965
- _(d(It), {
965
+ _(d(At), {
966
966
  modelValue: o.value,
967
967
  "onUpdate:modelValue": g[1] || (g[1] = (f) => o.value = f),
968
968
  class: "ml-base-input-number__select",
969
969
  size: "small"
970
970
  }, {
971
971
  default: h(() => [
972
- (s(), b(Y, null, U(r, (f) => _(d(At), {
972
+ (s(), b(Y, null, U(r, (f) => _(d(Et), {
973
973
  key: f.value,
974
974
  label: f.label,
975
975
  value: f.value
@@ -979,7 +979,7 @@ const fl = { render: gl }, hl = {
979
979
  }, 8, ["modelValue"])
980
980
  ]));
981
981
  }
982
- }), us = /* @__PURE__ */ q(Sl, [["__scopeId", "data-v-5628dd65"]]), Tl = {
982
+ }), ds = /* @__PURE__ */ q(Tl, [["__scopeId", "data-v-5628dd65"]]), Bl = {
983
983
  ACAD: {
984
984
  la: {
985
985
  description: "Layer properties manager"
@@ -992,7 +992,7 @@ const fl = { render: gl }, hl = {
992
992
  }
993
993
  },
994
994
  USER: {}
995
- }, Bl = {
995
+ }, Dl = {
996
996
  baseDialog: {
997
997
  ok: "OK",
998
998
  cancel: "Cancel"
@@ -1016,7 +1016,7 @@ const fl = { render: gl }, hl = {
1016
1016
  aciTabTitle: "Color Index",
1017
1017
  rgbTabTitle: "True Color"
1018
1018
  }
1019
- }, Dl = {
1019
+ }, $l = {
1020
1020
  entityName: {
1021
1021
  "2dPolyline": "2D Polyline",
1022
1022
  "3dPolyline": "3D Polyline",
@@ -1292,7 +1292,7 @@ const fl = { render: gl }, hl = {
1292
1292
  vertices: "Vertices",
1293
1293
  closed: "Closed"
1294
1294
  }
1295
- }, $l = {
1295
+ }, zl = {
1296
1296
  mainMenu: {
1297
1297
  new: "New Drawing",
1298
1298
  open: "Open Drawing",
@@ -1460,7 +1460,7 @@ const fl = { render: gl }, hl = {
1460
1460
  parsingWarning: "Issues on Parsing Drawing"
1461
1461
  }
1462
1462
  }
1463
- }, zl = {
1463
+ }, Vl = {
1464
1464
  ACAD: {
1465
1465
  la: {
1466
1466
  description: "图层属性管理器"
@@ -1473,7 +1473,7 @@ const fl = { render: gl }, hl = {
1473
1473
  }
1474
1474
  },
1475
1475
  USER: {}
1476
- }, Vl = {
1476
+ }, Il = {
1477
1477
  baseDialog: {
1478
1478
  ok: "确定",
1479
1479
  cancel: "取消"
@@ -1497,7 +1497,7 @@ const fl = { render: gl }, hl = {
1497
1497
  aciTabTitle: "颜色索引",
1498
1498
  rgbTabTitle: "真彩色"
1499
1499
  }
1500
- }, Il = {
1500
+ }, Al = {
1501
1501
  entityName: {
1502
1502
  "2dPolyline": "二维多段线",
1503
1503
  "3dPolyline": "三维多段线",
@@ -1773,7 +1773,7 @@ const fl = { render: gl }, hl = {
1773
1773
  vertices: "顶点",
1774
1774
  closed: "闭合"
1775
1775
  }
1776
- }, Al = {
1776
+ }, El = {
1777
1777
  mainMenu: {
1778
1778
  new: "新建图纸",
1779
1779
  open: "打开图纸",
@@ -1941,29 +1941,29 @@ const fl = { render: gl }, hl = {
1941
1941
  parsingWarning: "解析图纸问题"
1942
1942
  }
1943
1943
  }
1944
- }, El = () => {
1944
+ }, Nl = () => {
1945
1945
  const n = localStorage.getItem("preferred_lang");
1946
1946
  return n === "en" || n === "zh" ? n : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
1947
- }, lt = {
1947
+ }, at = {
1948
1948
  en: {
1949
- main: $l,
1950
- command: Tl,
1951
- dialog: Bl,
1952
- entity: Dl
1949
+ main: zl,
1950
+ command: Bl,
1951
+ dialog: Dl,
1952
+ entity: $l
1953
1953
  },
1954
1954
  zh: {
1955
- main: Al,
1956
- command: zl,
1957
- dialog: Vl,
1958
- entity: Il
1955
+ main: El,
1956
+ command: Vl,
1957
+ dialog: Il,
1958
+ entity: Al
1959
1959
  }
1960
1960
  };
1961
- ge.mergeLocaleMessage("en", lt.en);
1962
- ge.mergeLocaleMessage("zh", lt.zh);
1963
- const ce = zt({
1961
+ ge.mergeLocaleMessage("en", at.en);
1962
+ ge.mergeLocaleMessage("zh", at.zh);
1963
+ const ce = Vt({
1964
1964
  legacy: !1,
1965
1965
  messages: ge.messages,
1966
- locale: El(),
1966
+ locale: Nl(),
1967
1967
  fallbackLocale: "en",
1968
1968
  allowComposition: !0,
1969
1969
  globalInjection: !0
@@ -1973,23 +1973,23 @@ const ce = zt({
1973
1973
  }, Pe = (n) => {
1974
1974
  const e = ce.global.t, t = "entity.property." + n;
1975
1975
  return e(t, n, { missingWarn: !1 });
1976
- }, Ne = (n) => {
1976
+ }, Fe = (n) => {
1977
1977
  const e = ce.global.t, t = "entity.enum." + n;
1978
1978
  return e(t, n, { missingWarn: !0 });
1979
- }, at = (n) => {
1979
+ }, it = (n) => {
1980
1980
  if (n == "ByLayer" || n == "ByBlock")
1981
1981
  return n;
1982
1982
  {
1983
1983
  const e = ce.global.t, t = "entity.color." + n.toLowerCase();
1984
1984
  return e(t, n, { missingWarn: !1 });
1985
1985
  }
1986
- }, Nl = (n) => {
1986
+ }, Fl = (n) => {
1987
1987
  const e = ce.global.t, t = `main.toolPalette.${n}.title`;
1988
1988
  return e(t, n, { missingWarn: !1 });
1989
- }, Fl = (n) => {
1989
+ }, Rl = (n) => {
1990
1990
  const e = ce.global.t, t = `main.toolPalette.${n}.tab`;
1991
1991
  return e(t, n, { missingWarn: !1 });
1992
- }, Rl = { class: "ml-color-picker-dlg-panel-body" }, Ol = { class: "ml-color-picker-dlg-panel-body" }, Hl = /* @__PURE__ */ I({
1992
+ }, Ol = { class: "ml-color-picker-dlg-panel-body" }, Hl = { class: "ml-color-picker-dlg-panel-body" }, Wl = /* @__PURE__ */ I({
1993
1993
  __name: "MlColorPickerDlg",
1994
1994
  props: {
1995
1995
  modelValue: { type: Boolean },
@@ -2050,8 +2050,8 @@ const ce = zt({
2050
2050
  name: "aci"
2051
2051
  }, {
2052
2052
  default: h(() => [
2053
- c("div", Rl, [
2054
- _(d(dt), {
2053
+ c("div", Ol, [
2054
+ _(d(mt), {
2055
2055
  modelValue: u.value,
2056
2056
  "onUpdate:modelValue": g[0] || (g[0] = ($) => u.value = $)
2057
2057
  }, null, 8, ["modelValue"])
@@ -2064,8 +2064,8 @@ const ce = zt({
2064
2064
  name: "rgb"
2065
2065
  }, {
2066
2066
  default: h(() => [
2067
- c("div", Ol, [
2068
- _(d(Nt), {
2067
+ c("div", Hl, [
2068
+ _(d(Ft), {
2069
2069
  modelValue: i.value,
2070
2070
  "onUpdate:modelValue": g[1] || (g[1] = ($) => i.value = $)
2071
2071
  }, null, 8, ["modelValue"])
@@ -2081,8 +2081,8 @@ const ce = zt({
2081
2081
  }, 8, ["modelValue", "title"]);
2082
2082
  };
2083
2083
  }
2084
- }), it = /* @__PURE__ */ q(Hl, [["__scopeId", "data-v-7a7eb144"]]);
2085
- function ds() {
2084
+ }), rt = /* @__PURE__ */ q(Wl, [["__scopeId", "data-v-7a7eb144"]]);
2085
+ function ms() {
2086
2086
  const n = te([]), e = F.instance.commandManager.iterator();
2087
2087
  for (const t of e)
2088
2088
  n.push({
@@ -2093,7 +2093,7 @@ function ds() {
2093
2093
  (t, l) => t.commandName.toLowerCase().localeCompare(l.commandName.toLowerCase())
2094
2094
  ), n;
2095
2095
  }
2096
- function Fe(n, e = "en-US") {
2096
+ function Re(n, e = "en-US") {
2097
2097
  const t = Math.abs(n);
2098
2098
  if (t !== 0 && (t < 1e-3 || t >= 1e6)) {
2099
2099
  const [l, o] = n.toExponential(3).split("e");
@@ -2105,42 +2105,44 @@ function Fe(n, e = "en-US") {
2105
2105
  maximumFractionDigits: 6
2106
2106
  }).format(n);
2107
2107
  }
2108
- function Wl(n) {
2108
+ function Yl(n) {
2109
2109
  const e = L(0), t = L(0);
2110
2110
  function l(a) {
2111
2111
  e.value = a.x, t.value = a.y;
2112
2112
  }
2113
- J(() => n.events.mouseMove.addEventListener(l)), ie(() => n.events.mouseMove.removeEventListener(l));
2114
- const o = z(() => `${Fe(e.value)}, ${Fe(t.value)}`);
2113
+ J(() => n.events.mouseMove.addEventListener(l)), ae(() => n.events.mouseMove.removeEventListener(l));
2114
+ const o = z(() => `${Re(e.value)}, ${Re(t.value)}`);
2115
2115
  return { x: e, y: t, text: o };
2116
2116
  }
2117
- const Yl = Qe(), ms = Je(Yl), he = te([]);
2118
- function Gl(n) {
2117
+ const Gl = Je(), ps = et(Gl), he = te([]);
2118
+ function ql(n) {
2119
2119
  he.find((t) => t.name === n.name) || he.push({ ...n, visible: !1 });
2120
2120
  }
2121
- function ql(n, e) {
2121
+ function Ul(n, e) {
2122
2122
  const t = he.find((l) => l.name === n);
2123
2123
  t && (t.visible = e);
2124
2124
  }
2125
- function Ul(n) {
2125
+ function Zl(n) {
2126
2126
  return he.find((e) => e.name === n);
2127
2127
  }
2128
2128
  function xe() {
2129
2129
  return {
2130
2130
  dialogs: z(() => he),
2131
- registerDialog: Gl,
2132
- toggleDialog: ql,
2133
- getDialogByName: Ul
2131
+ registerDialog: ql,
2132
+ toggleDialog: Ul,
2133
+ getDialogByName: Zl
2134
2134
  };
2135
2135
  }
2136
- function Zl() {
2136
+ function Xl() {
2137
2137
  const n = L(F.instance.curDocument.openMode);
2138
2138
  return F.instance.events.documentActivated.addEventListener((e) => {
2139
2139
  n.value = e.doc.openMode;
2140
2140
  }), n;
2141
2141
  }
2142
- function rt(n) {
2143
- const e = L(pt.DEFAULT_ANNOTATION_COLOR.toString()), t = L(le.ByLayer), l = L(!1), o = z(() => {
2142
+ function st(n) {
2143
+ const e = L(Ie.DEFAULT_ANNOTATION_COLOR.toString()), t = L(
2144
+ Ie.DEFAULT_ANNOTATION_LINE_WEIGHT
2145
+ ), l = L(!1), o = z(() => {
2144
2146
  const v = Q.fromString(e.value);
2145
2147
  return (v == null ? void 0 : v.cssColor) || "#FF0000";
2146
2148
  });
@@ -2154,8 +2156,8 @@ function rt(n) {
2154
2156
  var $;
2155
2157
  if (u(), l.value = !1, !v || !(($ = v.curDocument) == null ? void 0 : $.database))
2156
2158
  return;
2157
- const f = (P) => {
2158
- const y = P.command;
2159
+ const f = (N) => {
2160
+ const y = N.command;
2159
2161
  y instanceof vt && (l.value = y.isShowEntityDrawStyleToolbar, C());
2160
2162
  }, k = () => {
2161
2163
  l.value = !1;
@@ -2174,7 +2176,7 @@ function rt(n) {
2174
2176
  var $;
2175
2177
  const g = n.value, f = ($ = g == null ? void 0 : g.curDocument) == null ? void 0 : $.database;
2176
2178
  if (!f) return;
2177
- const k = new Q(et.ByACI, v);
2179
+ const k = new Q(tt.ByACI, v);
2178
2180
  e.value = k.toString(), f.cecolor = k;
2179
2181
  }
2180
2182
  function w(v) {
@@ -2206,7 +2208,7 @@ function rt(n) {
2206
2208
  syncToDatabase: C
2207
2209
  };
2208
2210
  }
2209
- function Xl() {
2211
+ function jl() {
2210
2212
  const n = L(/* @__PURE__ */ new Set()), e = St.instance;
2211
2213
  for (const t of e.fileTypes)
2212
2214
  n.value.add(t);
@@ -2214,7 +2216,7 @@ function Xl() {
2214
2216
  n.value.add(t.fileType);
2215
2217
  }), n;
2216
2218
  }
2217
- function jl() {
2219
+ function Kl() {
2218
2220
  const n = L(!1), e = L(null), t = L(null), l = L({ x: -1, y: -1 }), o = (r) => {
2219
2221
  const i = F.instance.curDocument.database.tables.blockTable.modelSpace.getIdAt(r.id);
2220
2222
  i ? (e.value = i, t.value = r.id, n.value = !0, l.value = { x: r.x, y: r.y }) : (n.value = !1, e.value = null, t.value = null);
@@ -2224,7 +2226,7 @@ function jl() {
2224
2226
  return J(() => {
2225
2227
  const r = F.instance.curView.events;
2226
2228
  r.hover.addEventListener(o), r.unhover.addEventListener(a);
2227
- }), ie(() => {
2229
+ }), ae(() => {
2228
2230
  const r = F.instance.curView.events;
2229
2231
  r.hover.removeEventListener(o), r.unhover.removeEventListener(a);
2230
2232
  }), {
@@ -2234,7 +2236,7 @@ function jl() {
2234
2236
  mouse: l
2235
2237
  };
2236
2238
  }
2237
- function st(n) {
2239
+ function ct(n) {
2238
2240
  const e = te([]), t = n.curDocument, l = z({
2239
2241
  get: () => t.database.clayer,
2240
2242
  set: (i) => {
@@ -2285,7 +2287,7 @@ function st(n) {
2285
2287
  setLayerLineWeight: u
2286
2288
  };
2287
2289
  }
2288
- function Kl(n) {
2290
+ function Ql(n) {
2289
2291
  const e = te([]), t = n.curDocument, l = (o) => {
2290
2292
  const a = o.objects.layout.newIterator();
2291
2293
  e.length = 0;
@@ -2300,7 +2302,7 @@ function Kl(n) {
2300
2302
  };
2301
2303
  return l(t.database), n.events.documentActivated.addEventListener((o) => {
2302
2304
  e.length = 0, l(o.doc.database);
2303
- }), tt().layoutManager.events.layoutSwitched.addEventListener(
2305
+ }), nt().layoutManager.events.layoutSwitched.addEventListener(
2304
2306
  (o) => {
2305
2307
  const a = o.layout;
2306
2308
  e.forEach((r) => {
@@ -2310,7 +2312,7 @@ function Kl(n) {
2310
2312
  ), e;
2311
2313
  }
2312
2314
  const Le = "preferred_lang";
2313
- function ct(n) {
2315
+ function ut(n) {
2314
2316
  const { locale: e } = Z(), l = L((() => {
2315
2317
  const i = localStorage.getItem(Le);
2316
2318
  if (i === "en" || i === "zh") return i;
@@ -2333,7 +2335,7 @@ function ct(n) {
2333
2335
  (!n || n === "default") && a(i === "zh" ? "zh" : "en");
2334
2336
  }
2335
2337
  );
2336
- const u = z(() => o.value === "en" ? Dt : $t);
2338
+ const u = z(() => o.value === "en" ? $t : zt);
2337
2339
  return {
2338
2340
  currentLocale: l,
2339
2341
  effectiveLocale: o,
@@ -2343,7 +2345,7 @@ function ct(n) {
2343
2345
  isControlled: z(() => !!(n && n !== "default"))
2344
2346
  };
2345
2347
  }
2346
- function ut() {
2348
+ function dt() {
2347
2349
  const n = te(/* @__PURE__ */ new Map()), e = te(/* @__PURE__ */ new Map()), t = () => {
2348
2350
  const l = F.instance.curView.missedData, o = K.instance.fontMapping;
2349
2351
  n.clear(), Object.keys(l.fonts).forEach((a) => {
@@ -2366,7 +2368,7 @@ function ut() {
2366
2368
  images: e
2367
2369
  };
2368
2370
  }
2369
- class Ql {
2371
+ class Jl {
2370
2372
  constructor() {
2371
2373
  this.notifications = L([]), this.nextId = 1;
2372
2374
  }
@@ -2433,7 +2435,7 @@ class Ql {
2433
2435
  });
2434
2436
  }
2435
2437
  }
2436
- const X = new Ql();
2438
+ const X = new Jl();
2437
2439
  function ke() {
2438
2440
  return {
2439
2441
  /** Reactive list of all notifications */
@@ -2460,7 +2462,7 @@ function ke() {
2460
2462
  success: X.success.bind(X)
2461
2463
  };
2462
2464
  }
2463
- function Jl() {
2465
+ function ea() {
2464
2466
  const n = L([]), e = L([]), t = L([]), l = (a) => {
2465
2467
  e.value = a.ids, n.value = F.instance.curView.selectionSet.ids;
2466
2468
  }, o = (a) => {
@@ -2469,7 +2471,7 @@ function Jl() {
2469
2471
  return J(() => {
2470
2472
  const a = F.instance.curView.selectionSet.events;
2471
2473
  a.selectionAdded.addEventListener(l), a.selectionRemoved.addEventListener(o);
2472
- }), ie(() => {
2474
+ }), ae(() => {
2473
2475
  const a = F.instance.curView.selectionSet.events;
2474
2476
  a.selectionAdded.removeEventListener(l), a.selectionRemoved.removeEventListener(o);
2475
2477
  }), {
@@ -2484,17 +2486,17 @@ function ue() {
2484
2486
  n[e.key] = e.value;
2485
2487
  }), n;
2486
2488
  }
2487
- function ea(n) {
2489
+ function ta(n) {
2488
2490
  const e = te({}), t = n.curDocument, l = (o) => {
2489
2491
  e.pdmode = o.pdmode, e.pdmode = o.pdsize;
2490
2492
  };
2491
- return l(t.database), t.database.events.headerSysVarChanged.addEventListener((o) => {
2493
+ return l(t.database), Tt.instance().events.sysVarChanged.addEventListener((o) => {
2492
2494
  e[o.name] = o.database[o.name];
2493
2495
  }), n.events.documentActivated.addEventListener((o) => {
2494
2496
  l(o.doc.database);
2495
2497
  }), e;
2496
2498
  }
2497
- function ta() {
2499
+ function na() {
2498
2500
  const n = Mt("(max-width: 768px)"), e = L(!1), t = L(!1);
2499
2501
  return J(() => {
2500
2502
  var o;
@@ -2510,37 +2512,37 @@ function ta() {
2510
2512
  }
2511
2513
  }), { isMobile: z(() => !!n.value && (e.value || t.value)) };
2512
2514
  }
2513
- const na = /* @__PURE__ */ I({
2515
+ const oa = /* @__PURE__ */ I({
2514
2516
  __name: "MlPointStyleDlg",
2515
2517
  setup(n) {
2516
- const { t: e } = Z(), t = ea(F.instance), l = L(!0), o = L(0), a = [
2518
+ const { t: e } = Z(), t = ta(F.instance), l = L(!0), o = L(0), a = [
2517
2519
  [
2518
- { id: 0, icon: po },
2519
- { id: 1, icon: fo },
2520
- { id: 2, icon: wo },
2521
- { id: 3, icon: xo },
2522
- { id: 4, icon: Mo }
2520
+ { id: 0, icon: vo },
2521
+ { id: 1, icon: ho },
2522
+ { id: 2, icon: yo },
2523
+ { id: 3, icon: ko },
2524
+ { id: 4, icon: Lo }
2523
2525
  ],
2524
2526
  [
2525
- { id: 32, icon: To },
2526
- { id: 33, icon: $o },
2527
- { id: 34, icon: Io },
2527
+ { id: 32, icon: Bo },
2528
+ { id: 33, icon: zo },
2529
+ { id: 34, icon: Ao },
2528
2530
  { id: 35, icon: Po },
2529
- { id: 36, icon: Ro }
2531
+ { id: 36, icon: Oo }
2530
2532
  ],
2531
2533
  [
2532
- { id: 64, icon: Wo },
2533
- { id: 65, icon: qo },
2534
- { id: 66, icon: Xo },
2535
- { id: 67, icon: Qo },
2536
- { id: 68, icon: tl }
2534
+ { id: 64, icon: Yo },
2535
+ { id: 65, icon: Uo },
2536
+ { id: 66, icon: jo },
2537
+ { id: 67, icon: Jo },
2538
+ { id: 68, icon: nl }
2537
2539
  ],
2538
2540
  [
2539
- { id: 96, icon: ll },
2540
- { id: 97, icon: rl },
2541
- { id: 98, icon: ul },
2542
- { id: 99, icon: pl },
2543
- { id: 100, icon: fl }
2541
+ { id: 96, icon: al },
2542
+ { id: 97, icon: sl },
2543
+ { id: 98, icon: dl },
2544
+ { id: 99, icon: vl },
2545
+ { id: 100, icon: hl }
2544
2546
  ]
2545
2547
  ], r = () => {
2546
2548
  t.pdmode && (o.value = t.pdmode);
@@ -2565,8 +2567,8 @@ const na = /* @__PURE__ */ I({
2565
2567
  onCancel: p
2566
2568
  }, {
2567
2569
  default: h(() => [
2568
- (s(), b(Y, null, U(a, ($, P) => _(k, {
2569
- key: P,
2570
+ (s(), b(Y, null, U(a, ($, N) => _(k, {
2571
+ key: N,
2570
2572
  style: { "margin-top": "10px" },
2571
2573
  gutter: 6,
2572
2574
  justify: "space-between"
@@ -2579,8 +2581,8 @@ const na = /* @__PURE__ */ I({
2579
2581
  default: h(() => [
2580
2582
  _(g, {
2581
2583
  icon: y.icon,
2582
- type: u(P, x),
2583
- onClick: (m) => i(P, x),
2584
+ type: u(N, x),
2585
+ onClick: (m) => i(N, x),
2584
2586
  style: { "font-size": "25px" }
2585
2587
  }, null, 8, ["icon", "type", "onClick"])
2586
2588
  ]),
@@ -2594,20 +2596,20 @@ const na = /* @__PURE__ */ I({
2594
2596
  }, 8, ["title", "modelValue"]);
2595
2597
  };
2596
2598
  }
2597
- }), oa = /* @__PURE__ */ I({
2599
+ }), la = /* @__PURE__ */ I({
2598
2600
  __name: "MlReplacementDlg",
2599
2601
  setup(n) {
2600
- const { t: e } = Z(), { fonts: t, images: l } = ut(), o = L(!0), a = z(() => t.size > 0 ? "font" : "image"), r = L(null), u = L([]), i = () => {
2602
+ const { t: e } = Z(), { fonts: t, images: l } = dt(), o = L(!0), a = z(() => t.size > 0 ? "font" : "image"), r = L(null), u = L([]), i = () => {
2601
2603
  const g = F.instance.avaiableFonts;
2602
2604
  u.value = g.map((f) => f.name[0]);
2603
2605
  }, w = () => {
2604
2606
  const g = F.instance.curDocument.database;
2605
2607
  l.forEach((k) => {
2606
2608
  k.file && k.ids.forEach(($) => {
2607
- const P = g.tables.blockTable.modelSpace.getIdAt(
2609
+ const N = g.tables.blockTable.modelSpace.getIdAt(
2608
2610
  $
2609
2611
  );
2610
- P.image = k.file, P.triggerModifiedEvent();
2612
+ N.image = k.file, N.triggerModifiedEvent();
2611
2613
  });
2612
2614
  });
2613
2615
  const f = K.instance;
@@ -2626,7 +2628,7 @@ const na = /* @__PURE__ */ I({
2626
2628
  t.set(g, f);
2627
2629
  };
2628
2630
  return (g, f) => {
2629
- const k = S("el-col"), $ = S("el-row"), P = S("el-option"), y = S("el-select"), x = S("el-tab-pane"), m = S("el-table-column"), M = S("el-button"), B = S("el-table"), N = S("el-tabs");
2631
+ const k = S("el-col"), $ = S("el-row"), N = S("el-option"), y = S("el-select"), x = S("el-tab-pane"), m = S("el-table-column"), M = S("el-button"), B = S("el-table"), P = S("el-tabs");
2630
2632
  return s(), V(De, {
2631
2633
  title: d(e)("dialog.replacementDlg.title"),
2632
2634
  modelValue: o.value,
@@ -2636,7 +2638,7 @@ const na = /* @__PURE__ */ I({
2636
2638
  onOpen: i
2637
2639
  }, {
2638
2640
  default: h(() => [
2639
- _(N, {
2641
+ _(P, {
2640
2642
  size: "small",
2641
2643
  modelValue: a.value,
2642
2644
  "onUpdate:modelValue": f[0] || (f[0] = (E) => a.value = E)
@@ -2686,7 +2688,7 @@ const na = /* @__PURE__ */ I({
2686
2688
  style: { width: "100%" }
2687
2689
  }, {
2688
2690
  default: h(() => [
2689
- (s(!0), b(Y, null, U(u.value, (O, D) => (s(), V(P, {
2691
+ (s(!0), b(Y, null, U(u.value, (O, D) => (s(), V(N, {
2690
2692
  key: D,
2691
2693
  label: O,
2692
2694
  value: O
@@ -2765,7 +2767,7 @@ const na = /* @__PURE__ */ I({
2765
2767
  }, 8, ["title", "modelValue"]);
2766
2768
  };
2767
2769
  }
2768
- }), la = { class: "ml-color-dropdown-color-item" }, aa = { class: "ml-color-dropdown-color-name" }, ia = { class: "ml-color-dropdown-color-item" }, ra = { class: "ml-color-dropdown-color-name" }, sa = { class: "ml-color-dropdown-color-item" }, ca = { class: "ml-color-dropdown-color-name" }, ua = /* @__PURE__ */ I({
2770
+ }), aa = { class: "ml-color-dropdown-color-item" }, ia = { class: "ml-color-dropdown-color-name" }, ra = { class: "ml-color-dropdown-color-item" }, sa = { class: "ml-color-dropdown-color-name" }, ca = { class: "ml-color-dropdown-color-item" }, ua = { class: "ml-color-dropdown-color-name" }, da = /* @__PURE__ */ I({
2769
2771
  __name: "MlColorDropdown",
2770
2772
  props: {
2771
2773
  modelValue: {},
@@ -2793,7 +2795,7 @@ const na = /* @__PURE__ */ I({
2793
2795
  ], p = z(
2794
2796
  () => w.map((y) => ({
2795
2797
  ...y,
2796
- i18nName: at(y.name)
2798
+ i18nName: it(y.name)
2797
2799
  }))
2798
2800
  );
2799
2801
  async function C(y) {
@@ -2828,22 +2830,22 @@ const na = /* @__PURE__ */ I({
2828
2830
  else if (y === "byblock") x.setByBlock();
2829
2831
  else if (y.startsWith("aci-")) x.colorIndex = Number(y.substring(4));
2830
2832
  else if (y.startsWith("rgb-")) {
2831
- const [m, M, B, N] = y.split("-");
2832
- x.setRGB(Number(M), Number(B), Number(N));
2833
+ const [m, M, B, P] = y.split("-");
2834
+ x.setRGB(Number(M), Number(B), Number(P));
2833
2835
  }
2834
2836
  return x;
2835
2837
  }
2836
2838
  function $(y) {
2837
2839
  if (!y) return "";
2838
2840
  if (y.startsWith("aci-"))
2839
- return new Q(et.ByACI, Number(y.substring(4))).cssColor ?? "";
2841
+ return new Q(tt.ByACI, Number(y.substring(4))).cssColor ?? "";
2840
2842
  if (y.startsWith("rgb-")) {
2841
2843
  const [x, m, M, B] = y.split("-");
2842
2844
  return `rgb(${m}, ${M}, ${B})`;
2843
2845
  }
2844
2846
  return "#FFFFFF";
2845
2847
  }
2846
- function P(y) {
2848
+ function N(y) {
2847
2849
  const x = p.value.find((m) => m.key === y);
2848
2850
  return x ? x.i18nName : y.startsWith("rgb-") ? o("main.colors.CustomColor") : "";
2849
2851
  }
@@ -2857,12 +2859,12 @@ const na = /* @__PURE__ */ I({
2857
2859
  disabled: t.disabled
2858
2860
  }, {
2859
2861
  label: h(() => [
2860
- c("div", la, [
2862
+ c("div", aa, [
2861
2863
  c("span", {
2862
2864
  class: "ml-color-dropdown-color-preview",
2863
2865
  style: j({ backgroundColor: i.value })
2864
2866
  }, null, 4),
2865
- c("span", aa, A(P(r.value)), 1)
2867
+ c("span", ia, A(N(r.value)), 1)
2866
2868
  ])
2867
2869
  ]),
2868
2870
  default: h(() => [
@@ -2872,12 +2874,12 @@ const na = /* @__PURE__ */ I({
2872
2874
  value: B.key
2873
2875
  }, {
2874
2876
  default: h(() => [
2875
- c("div", ia, [
2877
+ c("div", ra, [
2876
2878
  c("span", {
2877
2879
  class: "ml-color-dropdown-color-preview",
2878
2880
  style: j({ backgroundColor: $(B.key) })
2879
2881
  }, null, 4),
2880
- c("span", ra, A(B.i18nName), 1)
2882
+ c("span", sa, A(B.i18nName), 1)
2881
2883
  ])
2882
2884
  ]),
2883
2885
  _: 2
@@ -2889,9 +2891,9 @@ const na = /* @__PURE__ */ I({
2889
2891
  disabled: t.disabled
2890
2892
  }, {
2891
2893
  default: h(() => [
2892
- c("div", sa, [
2894
+ c("div", ca, [
2893
2895
  x[2] || (x[2] = c("span", { class: "ml-color-dropdown-custom-icon" }, "🎨", -1)),
2894
- c("span", ca, A(d(o)("main.colorDropdown.custom")), 1)
2896
+ c("span", ua, A(d(o)("main.colorDropdown.custom")), 1)
2895
2897
  ])
2896
2898
  ]),
2897
2899
  _: 1
@@ -2899,7 +2901,7 @@ const na = /* @__PURE__ */ I({
2899
2901
  ]),
2900
2902
  _: 1
2901
2903
  }, 8, ["modelValue", "disabled"]),
2902
- _(d(it), {
2904
+ _(d(rt), {
2903
2905
  modelValue: a.value,
2904
2906
  "onUpdate:modelValue": x[1] || (x[1] = (B) => a.value = B),
2905
2907
  title: d(o)("dialog.colorPickerDlg.title"),
@@ -2910,7 +2912,7 @@ const na = /* @__PURE__ */ I({
2910
2912
  ]);
2911
2913
  };
2912
2914
  }
2913
- }), Re = /* @__PURE__ */ q(ua, [["__scopeId", "data-v-993864b4"]]), da = { class: "ml-aci-picker" }, ma = { class: "ml-aci-palette ml-aci-palette-large" }, pa = ["onMouseenter", "onClick"], va = { class: "ml-aci-small-row" }, ga = { class: "ml-aci-palette ml-aci-palette-small" }, fa = ["onMouseenter", "onClick"], ha = { class: "ml-aci-small-actions" }, _a = { class: "ml-aci-palette ml-aci-palette-gray" }, wa = ["onMouseenter", "onClick"], ya = { class: "ml-aci-bottom-row" }, ba = { class: "ml-aci-bottom-left" }, xa = { class: "ml-aci-info-row" }, ka = { class: "ml-aci-info-left" }, Ca = { class: "ml-aci-info-right" }, Ma = { class: "ml-aci-input-row" }, La = ["placeholder"], Sa = /* @__PURE__ */ I({
2915
+ }), Oe = /* @__PURE__ */ q(da, [["__scopeId", "data-v-993864b4"]]), ma = { class: "ml-aci-picker" }, pa = { class: "ml-aci-palette ml-aci-palette-large" }, va = ["onMouseenter", "onClick"], ga = { class: "ml-aci-small-row" }, fa = { class: "ml-aci-palette ml-aci-palette-small" }, ha = ["onMouseenter", "onClick"], _a = { class: "ml-aci-small-actions" }, wa = { class: "ml-aci-palette ml-aci-palette-gray" }, ya = ["onMouseenter", "onClick"], ba = { class: "ml-aci-bottom-row" }, xa = { class: "ml-aci-bottom-left" }, ka = { class: "ml-aci-info-row" }, Ca = { class: "ml-aci-info-left" }, Ma = { class: "ml-aci-info-right" }, La = { class: "ml-aci-input-row" }, Sa = ["placeholder"], Ta = /* @__PURE__ */ I({
2914
2916
  __name: "MlColorIndexPicker",
2915
2917
  props: {
2916
2918
  modelValue: { type: Number, default: 256 }
@@ -2955,14 +2957,14 @@ const na = /* @__PURE__ */ I({
2955
2957
  }
2956
2958
  k(m);
2957
2959
  }
2958
- const P = z(() => i.value == null ? "" : i.value), y = z(() => {
2960
+ const N = z(() => i.value == null ? "" : i.value), y = z(() => {
2959
2961
  if (i.value == null || i.value === 0 || i.value === 256)
2960
2962
  return "";
2961
2963
  const x = new Q();
2962
2964
  return x.colorIndex = i.value, `${x.red}, ${x.green}, ${x.blue}`;
2963
2965
  });
2964
- return (x, m) => (s(), b("div", da, [
2965
- c("div", ma, [
2966
+ return (x, m) => (s(), b("div", ma, [
2967
+ c("div", pa, [
2966
2968
  (s(!0), b(Y, null, U(d(r), (M) => (s(), b("div", {
2967
2969
  key: M,
2968
2970
  class: "ml-aci-color-cell",
@@ -2970,10 +2972,10 @@ const na = /* @__PURE__ */ I({
2970
2972
  onMouseenter: (B) => g(M),
2971
2973
  onMouseleave: f,
2972
2974
  onClick: (B) => k(M)
2973
- }, null, 44, pa))), 128))
2975
+ }, null, 44, va))), 128))
2974
2976
  ]),
2975
- c("div", va, [
2976
- c("div", ga, [
2977
+ c("div", ga, [
2978
+ c("div", fa, [
2977
2979
  (s(!0), b(Y, null, U(d(a), (M) => (s(), b("div", {
2978
2980
  key: M,
2979
2981
  class: "ml-aci-color-cell",
@@ -2981,9 +2983,9 @@ const na = /* @__PURE__ */ I({
2981
2983
  onMouseenter: (B) => g(M),
2982
2984
  onMouseleave: f,
2983
2985
  onClick: (B) => k(M)
2984
- }, null, 44, fa))), 128))
2986
+ }, null, 44, ha))), 128))
2985
2987
  ]),
2986
- c("div", ha, [
2988
+ c("div", _a, [
2987
2989
  c("button", {
2988
2990
  type: "button",
2989
2991
  onClick: m[0] || (m[0] = (M) => k(256))
@@ -2994,7 +2996,7 @@ const na = /* @__PURE__ */ I({
2994
2996
  }, "ByBlock")
2995
2997
  ])
2996
2998
  ]),
2997
- c("div", _a, [
2999
+ c("div", wa, [
2998
3000
  (s(!0), b(Y, null, U(d(u), (M) => (s(), b("div", {
2999
3001
  key: M,
3000
3002
  class: "ml-aci-color-cell",
@@ -3002,22 +3004,22 @@ const na = /* @__PURE__ */ I({
3002
3004
  onMouseenter: (B) => g(M),
3003
3005
  onMouseleave: f,
3004
3006
  onClick: (B) => k(M)
3005
- }, null, 44, wa))), 128))
3007
+ }, null, 44, ya))), 128))
3006
3008
  ]),
3007
- c("div", ya, [
3008
- c("div", ba, [
3009
- c("div", xa, [
3010
- c("div", ka, A(d(o)("main.colorIndexPicker.colorIndex")) + A(P.value), 1),
3011
- c("div", Ca, A(d(o)("main.colorIndexPicker.rgb")) + A(y.value), 1)
3009
+ c("div", ba, [
3010
+ c("div", xa, [
3011
+ c("div", ka, [
3012
+ c("div", Ca, A(d(o)("main.colorIndexPicker.colorIndex")) + A(N.value), 1),
3013
+ c("div", Ma, A(d(o)("main.colorIndexPicker.rgb")) + A(y.value), 1)
3012
3014
  ]),
3013
- c("div", Ma, [
3015
+ c("div", La, [
3014
3016
  c("span", null, A(d(o)("main.colorIndexPicker.color")), 1),
3015
3017
  wt(c("input", {
3016
3018
  "onUpdate:modelValue": m[2] || (m[2] = (M) => w.value = M),
3017
3019
  onBlur: $,
3018
3020
  onKeydown: yt($, ["enter"]),
3019
3021
  placeholder: d(o)("main.colorIndexPicker.inputPlaceholder")
3020
- }, null, 40, La), [
3022
+ }, null, 40, Sa), [
3021
3023
  [bt, w.value]
3022
3024
  ])
3023
3025
  ])
@@ -3031,7 +3033,7 @@ const na = /* @__PURE__ */ I({
3031
3033
  ])
3032
3034
  ]));
3033
3035
  }
3034
- }), dt = /* @__PURE__ */ q(Sa, [["__scopeId", "data-v-2e0d03e3"]]), Ta = /* @__PURE__ */ I({
3036
+ }), mt = /* @__PURE__ */ q(Ta, [["__scopeId", "data-v-2e0d03e3"]]), Ba = /* @__PURE__ */ I({
3035
3037
  __name: "MlDialogManager",
3036
3038
  setup(n, { expose: e }) {
3037
3039
  const { dialogs: t, toggleDialog: l, registerDialog: o } = xe();
@@ -3047,7 +3049,7 @@ const na = /* @__PURE__ */ I({
3047
3049
  }, { ref_for: !0 }, u.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
3048
3050
  ]))), 128));
3049
3051
  }
3050
- }), Ba = { class: "ml-lineweight-label" }, Da = { class: "ml-lineweight-text" }, $a = /* @__PURE__ */ I({
3052
+ }), Da = { class: "ml-lineweight-label" }, $a = { class: "ml-lineweight-text" }, za = /* @__PURE__ */ I({
3051
3053
  __name: "MlLineWeightSelect",
3052
3054
  props: {
3053
3055
  modelValue: {}
@@ -3057,13 +3059,13 @@ const na = /* @__PURE__ */ I({
3057
3059
  const t = n, l = e;
3058
3060
  function o(p) {
3059
3061
  switch (p) {
3060
- case le.ByLayer:
3062
+ case ie.ByLayer:
3061
3063
  return "ByLayer";
3062
- case le.ByBlock:
3064
+ case ie.ByBlock:
3063
3065
  return "ByBlock";
3064
- case le.ByDIPs:
3066
+ case ie.ByDIPs:
3065
3067
  return "ByDIPs";
3066
- case le.ByLineWeightDefault:
3068
+ case ie.ByLineWeightDefault:
3067
3069
  return "Default";
3068
3070
  default:
3069
3071
  return `${(p / 100).toFixed(2)} mm`;
@@ -3073,7 +3075,7 @@ const na = /* @__PURE__ */ I({
3073
3075
  return p < 0 ? null : Math.max(1, Math.min(6, p / 40));
3074
3076
  }
3075
3077
  const r = z(
3076
- () => Object.values(le).filter((p) => typeof p == "number").map((p) => ({
3078
+ () => Object.values(ie).filter((p) => typeof p == "number").map((p) => ({
3077
3079
  value: p,
3078
3080
  label: o(p),
3079
3081
  previewWidth: a(p)
@@ -3083,8 +3085,8 @@ const na = /* @__PURE__ */ I({
3083
3085
  l("update:modelValue", p), l("change", p);
3084
3086
  }
3085
3087
  return (p, C) => {
3086
- const v = S("el-icon"), g = S("el-space"), f = S("el-button"), k = S("el-dropdown-item"), $ = S("el-dropdown-menu"), P = S("el-dropdown");
3087
- return s(), V(P, {
3088
+ const v = S("el-icon"), g = S("el-space"), f = S("el-button"), k = S("el-dropdown-item"), $ = S("el-dropdown-menu"), N = S("el-dropdown");
3089
+ return s(), V(N, {
3088
3090
  trigger: "click",
3089
3091
  onCommand: w
3090
3092
  }, {
@@ -3099,7 +3101,7 @@ const na = /* @__PURE__ */ I({
3099
3101
  default: h(() => [
3100
3102
  _(g, null, {
3101
3103
  default: h(() => [
3102
- c("span", Da, A(y.label), 1),
3104
+ c("span", $a, A(y.label), 1),
3103
3105
  y.previewWidth !== null ? (s(), b("span", {
3104
3106
  key: 0,
3105
3107
  class: "ml-lineweight-preview",
@@ -3120,7 +3122,7 @@ const na = /* @__PURE__ */ I({
3120
3122
  default: h(() => [
3121
3123
  _(g, null, {
3122
3124
  default: h(() => [
3123
- c("span", Ba, A(u.value), 1),
3125
+ c("span", Da, A(u.value), 1),
3124
3126
  i.value !== null ? (s(), b("span", {
3125
3127
  key: 0,
3126
3128
  class: "ml-lineweight-preview ml-lineweight-preview--btn",
@@ -3128,7 +3130,7 @@ const na = /* @__PURE__ */ I({
3128
3130
  }, null, 4)) : W("", !0),
3129
3131
  _(v, { class: "ml-lineweight-caret" }, {
3130
3132
  default: h(() => [
3131
- _(d(nt))
3133
+ _(d(ot))
3132
3134
  ]),
3133
3135
  _: 1
3134
3136
  })
@@ -3143,11 +3145,11 @@ const na = /* @__PURE__ */ I({
3143
3145
  });
3144
3146
  };
3145
3147
  }
3146
- }), za = /* @__PURE__ */ q($a, [["__scopeId", "data-v-5637ac7c"]]), Va = ["accept"], Ia = /* @__PURE__ */ I({
3148
+ }), Va = /* @__PURE__ */ q(za, [["__scopeId", "data-v-5637ac7c"]]), Ia = ["accept"], Aa = /* @__PURE__ */ I({
3147
3149
  __name: "MlFileReader",
3148
3150
  emits: ["file-read"],
3149
3151
  setup(n, { emit: e }) {
3150
- const t = e, l = L(null), o = Xl(), a = z(() => {
3152
+ const t = e, l = L(null), o = jl(), a = z(() => {
3151
3153
  const u = Array.from(o.value);
3152
3154
  let i = "";
3153
3155
  for (let w = 0, p = u.length; w < p; ++w)
@@ -3181,9 +3183,9 @@ const na = /* @__PURE__ */ I({
3181
3183
  accept: a.value,
3182
3184
  style: { display: "none" },
3183
3185
  onChange: r
3184
- }, null, 40, Va));
3186
+ }, null, 40, Ia));
3185
3187
  }
3186
- }), Aa = /* @__PURE__ */ I({
3188
+ }), Ea = /* @__PURE__ */ I({
3187
3189
  __name: "MlToggleButton",
3188
3190
  props: /* @__PURE__ */ ve({
3189
3191
  size: { default: 30 },
@@ -3194,7 +3196,7 @@ const na = /* @__PURE__ */ I({
3194
3196
  }),
3195
3197
  emits: /* @__PURE__ */ ve(["click"], ["update:modelValue"]),
3196
3198
  setup(n, { emit: e }) {
3197
- Ze((w) => ({
3199
+ Xe((w) => ({
3198
3200
  a97b120a: r.value
3199
3201
  }));
3200
3202
  const t = n, l = ye(n, "modelValue"), o = e, a = z(() => l.value ? t.data.onIcon : t.data.offIcon), r = z(() => t.size + "px"), u = z(() => l.value ? t.data.onTooltip : t.data.offTooltip), i = () => {
@@ -3217,7 +3219,7 @@ const na = /* @__PURE__ */ I({
3217
3219
  }, 8, ["content"]);
3218
3220
  };
3219
3221
  }
3220
- }), mt = /* @__PURE__ */ q(Aa, [["__scopeId", "data-v-48d6b055"]]);
3222
+ }), pt = /* @__PURE__ */ q(Ea, [["__scopeId", "data-v-48d6b055"]]);
3221
3223
  (function() {
3222
3224
  try {
3223
3225
  if (typeof document < "u") {
@@ -3228,7 +3230,7 @@ const na = /* @__PURE__ */ I({
3228
3230
  console.error("vite-plugin-css-injected-by-js", e);
3229
3231
  }
3230
3232
  })();
3231
- const Ea = {
3233
+ const Na = {
3232
3234
  xmlns: "http://www.w3.org/2000/svg",
3233
3235
  width: "1em",
3234
3236
  height: "1em",
@@ -3236,27 +3238,27 @@ const Ea = {
3236
3238
  }, Pa = /* @__PURE__ */ c("path", {
3237
3239
  fill: "currentColor",
3238
3240
  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"
3239
- }, null, -1), Na = [
3241
+ }, null, -1), Fa = [
3240
3242
  Pa
3241
3243
  ];
3242
- function Fa(n, e) {
3243
- return s(), b("svg", Ea, [...Na]);
3244
+ function Ra(n, e) {
3245
+ return s(), b("svg", Na, [...Fa]);
3244
3246
  }
3245
- const Oe = { render: Fa }, Ra = {
3247
+ const He = { render: Ra }, Oa = {
3246
3248
  xmlns: "http://www.w3.org/2000/svg",
3247
3249
  width: "1em",
3248
3250
  height: "1em",
3249
3251
  viewBox: "0 0 1024 1024"
3250
- }, Oa = /* @__PURE__ */ c("path", {
3252
+ }, Ha = /* @__PURE__ */ c("path", {
3251
3253
  fill: "currentColor",
3252
3254
  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"
3253
- }, null, -1), Ha = [
3254
- Oa
3255
+ }, null, -1), Wa = [
3256
+ Ha
3255
3257
  ];
3256
- function Wa(n, e) {
3257
- return s(), b("svg", Ra, [...Ha]);
3258
+ function Ya(n, e) {
3259
+ return s(), b("svg", Oa, [...Wa]);
3258
3260
  }
3259
- const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3261
+ const We = { render: Ya }, Ga = /* @__PURE__ */ I({
3260
3262
  __name: "MlCollapse",
3261
3263
  props: /* @__PURE__ */ ve({
3262
3264
  size: { default: 18 },
@@ -3267,7 +3269,7 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3267
3269
  }),
3268
3270
  emits: /* @__PURE__ */ ve(["change"], ["update:modelValue"]),
3269
3271
  setup(n, { emit: e }) {
3270
- const t = n, l = ye(n, "modelValue"), o = e, a = z(() => t.reverse ? l.value ? Oe : He : l.value ? He : Oe), r = z(() => `${t.size}px`), u = () => {
3272
+ const t = n, l = ye(n, "modelValue"), o = e, a = z(() => t.reverse ? l.value ? He : We : l.value ? We : He), r = z(() => `${t.size}px`), u = () => {
3271
3273
  o("change", l.value), l.value = !l.value;
3272
3274
  };
3273
3275
  return (i, w) => {
@@ -3283,7 +3285,7 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3283
3285
  }, 8, ["size"]);
3284
3286
  };
3285
3287
  }
3286
- }), Ga = (n) => (Xe("data-v-3fc33b5d"), n = n(), je(), n), qa = /* @__PURE__ */ Ga(() => /* @__PURE__ */ c("svg", {
3288
+ }), qa = (n) => (je("data-v-3fc33b5d"), n = n(), Ke(), n), Ua = /* @__PURE__ */ qa(() => /* @__PURE__ */ c("svg", {
3287
3289
  preserveAspectRatio: "xMidYMid meet",
3288
3290
  viewBox: "0 0 24 24",
3289
3291
  width: "1.2em",
@@ -3294,7 +3296,7 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3294
3296
  fill: "currentColor",
3295
3297
  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"
3296
3298
  })
3297
- ], -1)), Ua = /* @__PURE__ */ I({
3299
+ ], -1)), Za = /* @__PURE__ */ I({
3298
3300
  __name: "MlDropdown",
3299
3301
  props: {
3300
3302
  icon: {},
@@ -3309,7 +3311,7 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3309
3311
  l("click", r);
3310
3312
  };
3311
3313
  return (r, u) => {
3312
- const i = be, w = Wt, p = Ht, C = Ot;
3314
+ const i = be, w = Yt, p = Wt, C = Ht;
3313
3315
  return s(), V(C, { onCommand: a }, {
3314
3316
  dropdown: h(() => [
3315
3317
  _(p, null, {
@@ -3333,7 +3335,7 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3333
3335
  class: "ml-dropdown-icon"
3334
3336
  }, {
3335
3337
  default: h(() => [
3336
- qa
3338
+ Ua
3337
3339
  ]),
3338
3340
  _: 1
3339
3341
  })
@@ -3347,7 +3349,7 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3347
3349
  for (const [l, o] of e)
3348
3350
  t[l] = o;
3349
3351
  return t;
3350
- }, Za = /* @__PURE__ */ Ce(Ua, [["__scopeId", "data-v-3fc33b5d"]]), Xa = '<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>', ja = /* @__PURE__ */ I({
3352
+ }, Xa = /* @__PURE__ */ Ce(Za, [["__scopeId", "data-v-3fc33b5d"]]), ja = '<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>', Ka = /* @__PURE__ */ I({
3351
3353
  __name: "MlLanguage",
3352
3354
  props: {
3353
3355
  languages: {},
@@ -3360,34 +3362,34 @@ const He = { render: Wa }, Ya = /* @__PURE__ */ I({
3360
3362
  const t = n, l = e, o = (a) => {
3361
3363
  l("click", a);
3362
3364
  };
3363
- return (a, r) => (s(), V(Za, {
3364
- icon: Xa,
3365
+ return (a, r) => (s(), V(Xa, {
3366
+ icon: ja,
3365
3367
  items: t.languages,
3366
3368
  current: t.current,
3367
3369
  onClick: o
3368
3370
  }, null, 8, ["items", "current"]));
3369
3371
  }
3370
- }), Ka = {}, Qa = { class: "ml-status-bar" }, Ja = { class: "ml-status-bar-left" }, ei = { class: "ml-status-bar-right" };
3371
- function ti(n, e) {
3372
- return s(), b("div", Qa, [
3373
- c("div", Ja, [
3372
+ }), Qa = {}, Ja = { class: "ml-status-bar" }, ei = { class: "ml-status-bar-left" }, ti = { class: "ml-status-bar-right" };
3373
+ function ni(n, e) {
3374
+ return s(), b("div", Ja, [
3375
+ c("div", ei, [
3374
3376
  pe(n.$slots, "left", {}, void 0, !0)
3375
3377
  ]),
3376
- c("div", ei, [
3378
+ c("div", ti, [
3377
3379
  pe(n.$slots, "right", {}, void 0, !0)
3378
3380
  ])
3379
3381
  ]);
3380
3382
  }
3381
- const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf0"]]), oi = {
3383
+ const oi = /* @__PURE__ */ Ce(Qa, [["render", ni], ["__scopeId", "data-v-d6a59cf0"]]), li = {
3382
3384
  key: 0,
3383
3385
  class: "ml-toolbar-button-text"
3384
- }, li = {
3386
+ }, ai = {
3385
3387
  key: 0,
3386
3388
  class: "ml-toolbar-button-text"
3387
- }, ai = {
3389
+ }, ii = {
3388
3390
  key: 0,
3389
3391
  class: "ml-toolbar-button-text"
3390
- }, ii = /* @__PURE__ */ I({
3392
+ }, ri = /* @__PURE__ */ I({
3391
3393
  __name: "MlToolBar",
3392
3394
  props: {
3393
3395
  items: {},
@@ -3419,9 +3421,9 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3419
3421
  l("click", m.command);
3420
3422
  }, v = (m) => {
3421
3423
  m && l("click", m), w();
3422
- }, g = (m) => !!m.toggle && p.value[m.command], f = (m) => m.toggle ? g(m) ? m.toggle.on.icon : m.toggle.off.icon : m.icon, k = (m) => m.toggle ? g(m) ? m.toggle.on.text : m.toggle.off.text : m.text, $ = (m) => m.toggle ? g(m) ? m.toggle.on.description ?? m.toggle.on.text : m.toggle.off.description ?? m.toggle.off.text : m.description ?? m.text, P = z(() => t.placement && (t.direction === "vertical" && (t.placement.startsWith("left") || t.placement.startsWith("right")) || t.direction === "horizontal" && (t.placement.startsWith("top") || t.placement.startsWith("bottom"))) ? t.placement : t.direction === "vertical" ? "right-start" : "bottom-start"), y = (m) => t.direction === "horizontal" && m.children ? m.children.length * a.value : a.value, x = (m) => t.direction === "vertical" && m.children ? a.value : 0;
3424
+ }, g = (m) => !!m.toggle && p.value[m.command], f = (m) => m.toggle ? g(m) ? m.toggle.on.icon : m.toggle.off.icon : m.icon, k = (m) => m.toggle ? g(m) ? m.toggle.on.text : m.toggle.off.text : m.text, $ = (m) => m.toggle ? g(m) ? m.toggle.on.description ?? m.toggle.on.text : m.toggle.off.description ?? m.toggle.off.text : m.description ?? m.text, N = z(() => t.placement && (t.direction === "vertical" && (t.placement.startsWith("left") || t.placement.startsWith("right")) || t.direction === "horizontal" && (t.placement.startsWith("top") || t.placement.startsWith("bottom"))) ? t.placement : t.direction === "vertical" ? "right-start" : "bottom-start"), y = (m) => t.direction === "horizontal" && m.children ? m.children.length * a.value : a.value, x = (m) => t.direction === "vertical" && m.children ? a.value : 0;
3423
3425
  return (m, M) => {
3424
- const B = be, N = Ut, E = qt, T = Yt, O = Gt;
3426
+ const B = be, P = Zt, E = Ut, T = Gt, O = qt;
3425
3427
  return s(), V(T, {
3426
3428
  class: "ml-toolbar-group",
3427
3429
  direction: m.direction
@@ -3434,7 +3436,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3434
3436
  key: 0,
3435
3437
  visible: u.value === R,
3436
3438
  trigger: "manual",
3437
- placement: P.value,
3439
+ placement: N.value,
3438
3440
  "show-arrow": !0,
3439
3441
  teleported: !0,
3440
3442
  "popper-style": {
@@ -3448,7 +3450,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3448
3450
  onMouseleave: w
3449
3451
  }, {
3450
3452
  reference: h(() => [
3451
- _(N, {
3453
+ _(P, {
3452
3454
  class: "ml-toolbar-button",
3453
3455
  style: j({ width: a.value + "px", height: a.value + "px" }),
3454
3456
  onMouseenter: (ee) => i(R),
@@ -3469,7 +3471,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3469
3471
  ]),
3470
3472
  _: 2
3471
3473
  }, 1032, ["size"]),
3472
- r.value ? (s(), b("div", li, A(k(D)), 1)) : W("", !0)
3474
+ r.value ? (s(), b("div", ai, A(k(D)), 1)) : W("", !0)
3473
3475
  ])
3474
3476
  ]),
3475
3477
  _: 2
@@ -3494,7 +3496,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3494
3496
  "hide-after": 0
3495
3497
  }, {
3496
3498
  default: h(() => [
3497
- _(N, {
3499
+ _(P, {
3498
3500
  class: "ml-toolbar-button",
3499
3501
  style: j({ width: a.value + "px", height: a.value + "px" }),
3500
3502
  onClick: ($e) => v(ee.command)
@@ -3507,7 +3509,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3507
3509
  ]),
3508
3510
  _: 2
3509
3511
  }, 1032, ["size"]),
3510
- r.value ? (s(), b("div", oi, A(k(ee)), 1)) : W("", !0)
3512
+ r.value ? (s(), b("div", li, A(k(ee)), 1)) : W("", !0)
3511
3513
  ])
3512
3514
  ]),
3513
3515
  _: 2
@@ -3528,7 +3530,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3528
3530
  "hide-after": 0
3529
3531
  }, {
3530
3532
  default: h(() => [
3531
- _(N, {
3533
+ _(P, {
3532
3534
  class: "ml-toolbar-button",
3533
3535
  style: j({ width: a.value + "px", height: a.value + "px" }),
3534
3536
  onClick: (ee) => C(D)
@@ -3541,7 +3543,7 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3541
3543
  ]),
3542
3544
  _: 2
3543
3545
  }, 1032, ["size"]),
3544
- r.value ? (s(), b("div", ai, A(k(D)), 1)) : W("", !0)
3546
+ r.value ? (s(), b("div", ii, A(k(D)), 1)) : W("", !0)
3545
3547
  ])
3546
3548
  ]),
3547
3549
  _: 2
@@ -3556,8 +3558,8 @@ const ni = /* @__PURE__ */ Ce(Ka, [["render", ti], ["__scopeId", "data-v-d6a59cf
3556
3558
  }, 8, ["direction"]);
3557
3559
  };
3558
3560
  }
3559
- }), ri = /* @__PURE__ */ Ce(ii, [["__scopeId", "data-v-64f06546"]]), We = 20;
3560
- function si(n, e, t) {
3561
+ }), si = /* @__PURE__ */ Ce(ri, [["__scopeId", "data-v-64f06546"]]), Ye = 20;
3562
+ function ci(n, e, t) {
3561
3563
  const l = L(!1), o = (i) => {
3562
3564
  if (t.value && n.value) {
3563
3565
  const w = n.value.getBoundingClientRect(), p = i.clientX < w.left || i.clientX > w.right || i.clientY < w.top || i.clientY > w.bottom;
@@ -3572,7 +3574,7 @@ function si(n, e, t) {
3572
3574
  };
3573
3575
  return J(() => {
3574
3576
  window.addEventListener("mousemove", o);
3575
- }), ie(() => {
3577
+ }), ae(() => {
3576
3578
  window.removeEventListener("mousemove", o);
3577
3579
  }), H(t, (i) => {
3578
3580
  i && (l.value = !1);
@@ -3580,7 +3582,7 @@ function si(n, e, t) {
3580
3582
  i ? r() : u();
3581
3583
  }), { autoOpened: l };
3582
3584
  }
3583
- function ci(n, e, t) {
3585
+ function ui(n, e, t) {
3584
3586
  const l = L(!1), o = L(null), a = L(null), r = { x: 0, y: 0 }, u = z(() => o.value == null || a.value == null ? { x: 0, y: 0 } : {
3585
3587
  x: o.value.x - a.value.x,
3586
3588
  y: o.value.y - a.value.y
@@ -3609,14 +3611,14 @@ function ci(n, e, t) {
3609
3611
  }
3610
3612
  }, v = (f) => {
3611
3613
  if (l.value && a.value && o.value) {
3612
- const k = window.innerWidth, $ = window.innerHeight, P = n.value, y = P.getBoundingClientRect(), x = y.width, m = y.height, M = a.value.x + (f.clientX - r.x), B = a.value.y + (f.clientY - r.y);
3614
+ const k = window.innerWidth, $ = window.innerHeight, N = n.value, y = N.getBoundingClientRect(), x = y.width, m = y.height, M = a.value.x + (f.clientX - r.x), B = a.value.y + (f.clientY - r.y);
3613
3615
  o.value.x = Math.max(
3614
3616
  t ? t.value.offset.value.left : 0,
3615
3617
  M
3616
3618
  );
3617
- const N = k - x;
3619
+ const P = k - x;
3618
3620
  o.value.x = Math.min(
3619
- t ? N - t.value.offset.value.right : N,
3621
+ t ? P - t.value.offset.value.right : P,
3620
3622
  o.value.x
3621
3623
  ), o.value.y = Math.max(
3622
3624
  t ? t.value.offset.value.top : 0,
@@ -3626,14 +3628,14 @@ function ci(n, e, t) {
3626
3628
  o.value.y = Math.min(
3627
3629
  t ? E - t.value.offset.value.bottom : E,
3628
3630
  o.value.y
3629
- ), P.style.left = o.value.x + "px", P.style.top = o.value.y + "px";
3631
+ ), N.style.left = o.value.x + "px", N.style.top = o.value.y + "px";
3630
3632
  }
3631
3633
  }, g = () => {
3632
3634
  l.value = !1, document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", g);
3633
3635
  };
3634
3636
  return J(() => {
3635
3637
  n.value && (i(), w());
3636
- }), ie(() => {
3638
+ }), ae(() => {
3637
3639
  n.value && n.value.removeEventListener("mousedown", C);
3638
3640
  }), H(n, (f) => {
3639
3641
  f ? (i(), w()) : p();
@@ -3643,8 +3645,8 @@ function ci(n, e, t) {
3643
3645
  position: o
3644
3646
  };
3645
3647
  }
3646
- function ui(n, e, t) {
3647
- const l = L(!1), o = L("left"), { isDragging: a, movement: r, position: u } = ci(
3648
+ function di(n, e, t) {
3649
+ const l = L(!1), o = L("left"), { isDragging: a, movement: r, position: u } = ui(
3648
3650
  n,
3649
3651
  e,
3650
3652
  t
@@ -3662,7 +3664,7 @@ function ui(n, e, t) {
3662
3664
  position: u
3663
3665
  };
3664
3666
  }
3665
- function di(n, e, t, l) {
3667
+ function mi(n, e, t, l) {
3666
3668
  const o = L(null), a = L(null), r = L(null), u = L(null);
3667
3669
  return H(n, (i, w) => {
3668
3670
  o.value = w;
@@ -3679,7 +3681,7 @@ function di(n, e, t, l) {
3679
3681
  lastHeight: u
3680
3682
  };
3681
3683
  }
3682
- function mi(n, e, t, l) {
3684
+ function pi(n, e, t, l) {
3683
3685
  const o = L(n.value.width), a = L(n.value.left), r = z(() => n.value.width), u = z(() => n.value.left), i = z(() => t.value ? t.value.x : null);
3684
3686
  return H([r, u], ([w, p]) => {
3685
3687
  (o.value == null || a.value == null || e.value) && (o.value = w, a.value = p);
@@ -3687,7 +3689,7 @@ function mi(n, e, t, l) {
3687
3689
  l.value && t.value && (a.value = w);
3688
3690
  }), { left: a, width: o };
3689
3691
  }
3690
- function pi(n, e = L({ left: 0, right: 0, top: 0, bottom: 0 })) {
3692
+ function vi(n, e = L({ left: 0, right: 0, top: 0, bottom: 0 })) {
3691
3693
  const t = L({});
3692
3694
  let l = !1;
3693
3695
  const o = () => {
@@ -3705,8 +3707,8 @@ function pi(n, e = L({ left: 0, right: 0, top: 0, bottom: 0 })) {
3705
3707
  initialRect: t
3706
3708
  };
3707
3709
  }
3708
- function vi(n, e = L(!1), t = L(!1), l = L({ left: 0, right: 0, top: 0, bottom: 0 }), o = { width: 20, height: 40 }) {
3709
- const { initialRect: a } = pi(n, l), r = L(!1);
3710
+ function gi(n, e = L(!1), t = L(!1), l = L({ left: 0, right: 0, top: 0, bottom: 0 }), o = { width: 20, height: 40 }) {
3711
+ const { initialRect: a } = vi(n, l), r = L(!1);
3710
3712
  let u = 0, i = 0, w = 0, p = 0, C = 0;
3711
3713
  const v = 5, g = L(null), f = (x) => {
3712
3714
  if (!(!n.value || e.value))
@@ -3725,8 +3727,8 @@ function vi(n, e = L(!1), t = L(!1), l = L({ left: 0, right: 0, top: 0, bottom:
3725
3727
  B > o.height && (a.value.height = B, n.value.style.height = a.value.height + "px");
3726
3728
  }
3727
3729
  } else {
3728
- const m = n.value.getBoundingClientRect(), M = x.clientX - m.left, B = x.clientY - m.top, N = Math.abs(M) <= v, E = Math.abs(m.width - M) <= v, T = Math.abs(m.height - B) <= v;
3729
- N && T && t.value ? (n.value.style.cursor = "nesw-resize", g.value = "left-bottom-corner") : E && T && !t.value ? (n.value.style.cursor = "nwse-resize", g.value = "right-bottom-corner") : N && t.value ? (n.value.style.cursor = "ew-resize", g.value = "left") : E && !t.value ? (n.value.style.cursor = "ew-resize", g.value = "right") : T ? (n.value.style.cursor = "ns-resize", g.value = "bottom") : (n.value.style.cursor = "", g.value = null);
3730
+ const m = n.value.getBoundingClientRect(), M = x.clientX - m.left, B = x.clientY - m.top, P = Math.abs(M) <= v, E = Math.abs(m.width - M) <= v, T = Math.abs(m.height - B) <= v;
3731
+ P && T && t.value ? (n.value.style.cursor = "nesw-resize", g.value = "left-bottom-corner") : E && T && !t.value ? (n.value.style.cursor = "nwse-resize", g.value = "right-bottom-corner") : P && t.value ? (n.value.style.cursor = "ew-resize", g.value = "left") : E && !t.value ? (n.value.style.cursor = "ew-resize", g.value = "right") : T ? (n.value.style.cursor = "ns-resize", g.value = "bottom") : (n.value.style.cursor = "", g.value = null);
3730
3732
  }
3731
3733
  }, k = (x) => {
3732
3734
  if (!n.value || !g.value) return;
@@ -3734,20 +3736,20 @@ function vi(n, e = L(!1), t = L(!1), l = L({ left: 0, right: 0, top: 0, bottom:
3734
3736
  p = x.clientX, C = x.clientY, i = m.width, w = m.height, u = m.left, a.value.width = i, a.value.height = w, a.value.left = m.left, a.value.top = m.top, r.value = !0, document.addEventListener("mousemove", f), document.addEventListener("mouseup", $);
3735
3737
  }, $ = () => {
3736
3738
  r.value = !1, g.value = null, n.value && (n.value.style.cursor = ""), document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", $);
3737
- }, P = () => {
3739
+ }, N = () => {
3738
3740
  n.value && (n.value.removeEventListener("mousedown", k), n.value.removeEventListener("mousemove", f)), document.removeEventListener("mouseup", $);
3739
3741
  }, y = () => {
3740
3742
  n.value && (n.value.addEventListener("mousedown", k), n.value.addEventListener("mousemove", f));
3741
3743
  };
3742
3744
  return J(() => {
3743
3745
  n.value && y();
3744
- }), Ke(() => {
3745
- P();
3746
+ }), Qe(() => {
3747
+ N();
3746
3748
  }), H(n, (x) => {
3747
- x ? y() : P();
3749
+ x ? y() : N();
3748
3750
  }), { rect: a, isResizing: r };
3749
3751
  }
3750
- function gi(n, e, t, l) {
3752
+ function fi(n, e, t, l) {
3751
3753
  const o = () => {
3752
3754
  if (n.value) {
3753
3755
  const i = n.value;
@@ -3762,7 +3764,7 @@ function gi(n, e, t, l) {
3762
3764
  };
3763
3765
  J(() => {
3764
3766
  n.value && n.value.addEventListener("transitionend", a);
3765
- }), Ke(() => {
3767
+ }), Qe(() => {
3766
3768
  n.value && n.value.removeEventListener("transitionend", a);
3767
3769
  }), H(n, (i) => {
3768
3770
  i ? u() : r();
@@ -3772,66 +3774,66 @@ function gi(n, e, t, l) {
3772
3774
  o();
3773
3775
  });
3774
3776
  }
3775
- function fi(n, e, t, l) {
3776
- const o = L(window.innerWidth), a = L(window.innerHeight), { docked: r, orientation: u, movement: i, position: w, isDragging: p } = ui(
3777
+ function hi(n, e, t, l) {
3778
+ const o = L(window.innerWidth), a = L(window.innerHeight), { docked: r, orientation: u, movement: i, position: w, isDragging: p } = di(
3777
3779
  n,
3778
3780
  e,
3779
3781
  l
3780
- ), C = z(() => u.value === "right"), { rect: v, isResizing: g } = vi(
3782
+ ), C = z(() => u.value === "right"), { rect: v, isResizing: g } = gi(
3781
3783
  n,
3782
3784
  t,
3783
3785
  C,
3784
3786
  l.value.offset
3785
- ), { width: f, left: k } = mi(
3787
+ ), { width: f, left: k } = pi(
3786
3788
  v,
3787
3789
  g,
3788
3790
  w,
3789
3791
  p
3790
- ), { lastTop: $, lastHeight: P } = di(
3792
+ ), { lastTop: $, lastHeight: N } = mi(
3791
3793
  z(() => v.value.left),
3792
3794
  z(() => v.value.top),
3793
3795
  z(() => v.value.width),
3794
3796
  z(() => v.value.height)
3795
- ), { autoOpened: y } = si(n, e, t);
3796
- gi(n, C, t, y);
3797
- const x = (N) => {
3797
+ ), { autoOpened: y } = ci(n, e, t);
3798
+ fi(n, C, t, y);
3799
+ const x = (P) => {
3798
3800
  if (n.value) {
3799
- const E = n.value.getBoundingClientRect(), T = E.left + N;
3801
+ const E = n.value.getBoundingClientRect(), T = E.left + P;
3800
3802
  if (C.value) {
3801
3803
  v.value.left = T;
3802
3804
  const O = window.innerWidth - E.width - E.left;
3803
- E.left <= 0 && O >= 0 && N < 0 && (v.value.left = Math.max(0, T)), window.innerWidth - E.width <= 0 && (v.value.left = window.innerWidth - E.width);
3805
+ E.left <= 0 && O >= 0 && P < 0 && (v.value.left = Math.max(0, T)), window.innerWidth - E.width <= 0 && (v.value.left = window.innerWidth - E.width);
3804
3806
  } else
3805
- E.left + E.width >= window.innerWidth && N < 0 && (v.value.left = Math.max(0, T));
3807
+ E.left + E.width >= window.innerWidth && P < 0 && (v.value.left = Math.max(0, T));
3806
3808
  }
3807
3809
  }, m = () => {
3808
- const N = window.innerWidth - o.value;
3809
- o.value = window.innerWidth, a.value = window.innerHeight, x(N);
3810
+ const P = window.innerWidth - o.value;
3811
+ o.value = window.innerWidth, a.value = window.innerHeight, x(P);
3810
3812
  };
3811
3813
  J(() => {
3812
3814
  window.addEventListener("resize", m);
3813
- }), ie(() => {
3815
+ }), ae(() => {
3814
3816
  window.removeEventListener("resize", m);
3815
3817
  });
3816
- const M = (N) => {
3817
- N ? (v.value.width = We, C.value && k.value && f.value && (v.value.left = k.value + f.value - We)) : (v.value.width = f.value, C.value && k.value && f.value && (v.value.left = k.value));
3818
+ const M = (P) => {
3819
+ P ? (v.value.width = Ye, C.value && k.value && f.value && (v.value.left = k.value + f.value - Ye)) : (v.value.width = f.value, C.value && k.value && f.value && (v.value.left = k.value));
3818
3820
  }, B = () => {
3819
- r.value ? (v.value.top = l.value.offset.value.top, v.value.height = window.innerHeight - l.value.offset.value.top - l.value.offset.value.bottom) : (v.value.top = $.value, v.value.height = P.value);
3821
+ r.value ? (v.value.top = l.value.offset.value.top, v.value.height = window.innerHeight - l.value.offset.value.top - l.value.offset.value.bottom) : (v.value.top = $.value, v.value.height = N.value);
3820
3822
  };
3821
3823
  return H(r, () => {
3822
3824
  B();
3823
- }), H(t, (N) => {
3824
- M(N);
3825
- }), H(y, (N) => {
3826
- t.value && !p.value && M(!N);
3827
- }), H(i, (N) => {
3828
- if (N && n.value) {
3825
+ }), H(t, (P) => {
3826
+ M(P);
3827
+ }), H(y, (P) => {
3828
+ t.value && !p.value && M(!P);
3829
+ }), H(i, (P) => {
3830
+ if (P && n.value) {
3829
3831
  const E = n.value.getBoundingClientRect();
3830
3832
  v.value.left = E.left, v.value.top = E.top;
3831
3833
  }
3832
3834
  }), { rect: v, orientation: u, reversed: C };
3833
3835
  }
3834
- const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ */ hi(() => /* @__PURE__ */ c("svg", {
3836
+ const _i = (n) => (je("data-v-cd1a3c67"), n = n(), Ke(), n), wi = /* @__PURE__ */ _i(() => /* @__PURE__ */ c("svg", {
3835
3837
  xmlns: "http://www.w3.org/2000/svg",
3836
3838
  width: "1em",
3837
3839
  height: "1em",
@@ -3841,10 +3843,10 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3841
3843
  fill: "currentColor",
3842
3844
  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"
3843
3845
  })
3844
- ], -1)), wi = { class: "ml-tool-palette-title" }, yi = { class: "ml-tool-palette-content" }, bi = {
3846
+ ], -1)), yi = { class: "ml-tool-palette-title" }, bi = { class: "ml-tool-palette-content" }, xi = {
3845
3847
  key: 1,
3846
3848
  class: "ml-tool-palette-default-content"
3847
- }, xi = /* @__PURE__ */ I({
3849
+ }, ki = /* @__PURE__ */ I({
3848
3850
  __name: "MlToolPalette",
3849
3851
  props: /* @__PURE__ */ ve({
3850
3852
  title: { default: "" },
@@ -3883,7 +3885,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3883
3885
  rect: C,
3884
3886
  orientation: v,
3885
3887
  reversed: g
3886
- } = fi(w, i, u, p), f = z(() => ({
3888
+ } = hi(w, i, u, p), f = z(() => ({
3887
3889
  left: `${C.value.left}px`,
3888
3890
  top: `${C.value.top}px`,
3889
3891
  width: `${C.value.width}px`,
@@ -3896,7 +3898,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3896
3898
  if (m != null && m.title) return m.title;
3897
3899
  }
3898
3900
  return t.title;
3899
- }), P = () => {
3901
+ }), N = () => {
3900
3902
  l.value = !1;
3901
3903
  const m = w.value;
3902
3904
  a("close", {
@@ -3915,7 +3917,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3915
3917
  }
3916
3918
  };
3917
3919
  return (m, M) => {
3918
- const B = be, N = Rt, E = Ft;
3920
+ const B = be, P = Ot, E = Rt;
3919
3921
  return l.value ? (s(), b("div", {
3920
3922
  key: 0,
3921
3923
  ref_key: "toolPaletteElement",
@@ -3935,23 +3937,23 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3935
3937
  _(B, {
3936
3938
  size: 18,
3937
3939
  class: "ml-tool-palette-dialog-icon",
3938
- onClick: M[0] || (M[0] = (T) => !m.disabled && P())
3940
+ onClick: M[0] || (M[0] = (T) => !m.disabled && N())
3939
3941
  }, {
3940
3942
  default: h(() => [
3941
- _i
3943
+ wi
3942
3944
  ]),
3943
3945
  _: 1
3944
3946
  }),
3945
- _(Ya, {
3947
+ _(Ga, {
3946
3948
  class: "ml-tool-palette-dialog-icon",
3947
3949
  modelValue: u.value,
3948
3950
  "onUpdate:modelValue": M[1] || (M[1] = (T) => u.value = T),
3949
3951
  reverse: d(g),
3950
3952
  disabled: m.disabled
3951
3953
  }, null, 8, ["modelValue", "reverse", "disabled"]),
3952
- c("span", wi, A($.value), 1)
3954
+ c("span", yi, A($.value), 1)
3953
3955
  ], 4),
3954
- c("div", yi, [
3956
+ c("div", bi, [
3955
3957
  r.value ? (s(), V(E, {
3956
3958
  key: 0,
3957
3959
  modelValue: o.value,
@@ -3962,7 +3964,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3962
3964
  onTabChange: M[4] || (M[4] = (T) => !m.disabled && y)
3963
3965
  }, {
3964
3966
  default: h(() => [
3965
- (s(!0), b(Y, null, U(t.tabs, (T) => (s(), V(N, {
3967
+ (s(!0), b(Y, null, U(t.tabs, (T) => (s(), V(P, {
3966
3968
  key: T.name,
3967
3969
  name: T.name,
3968
3970
  label: T.label
@@ -3977,7 +3979,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3977
3979
  }, 1032, ["name", "label"]))), 128))
3978
3980
  ]),
3979
3981
  _: 3
3980
- }, 8, ["modelValue"])) : (s(), b("div", bi, [
3982
+ }, 8, ["modelValue"])) : (s(), b("div", xi, [
3981
3983
  pe(m.$slots, "default", {}, void 0, !0)
3982
3984
  ]))
3983
3985
  ])
@@ -3985,16 +3987,16 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
3985
3987
  ], 6)) : W("", !0);
3986
3988
  };
3987
3989
  }
3988
- }), ki = /* @__PURE__ */ Ce(xi, [["__scopeId", "data-v-cd1a3c67"]]), Ci = { class: "ml-entity-properties" }, Mi = {
3990
+ }), Ci = /* @__PURE__ */ Ce(ki, [["__scopeId", "data-v-cd1a3c67"]]), Mi = { class: "ml-entity-properties" }, Li = {
3989
3991
  key: 0,
3990
3992
  class: "ml-entity-selector"
3991
- }, Li = { class: "ml-cell-container" }, Si = { key: 0 }, Ti = { key: 1 }, Bi = {
3993
+ }, Si = { class: "ml-cell-container" }, Ti = { key: 0 }, Bi = { key: 1 }, Di = {
3992
3994
  key: 0,
3993
3995
  class: "ml-cell-value"
3994
- }, Di = ["title", "onDblclick"], $i = {
3996
+ }, $i = ["title", "onDblclick"], zi = {
3995
3997
  key: 2,
3996
3998
  class: "ml-no-entity-selected"
3997
- }, zi = /* @__PURE__ */ I({
3999
+ }, Vi = /* @__PURE__ */ I({
3998
4000
  __name: "MlEntityProperties",
3999
4001
  props: {
4000
4002
  entityPropsList: {},
@@ -4019,11 +4021,11 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4019
4021
  case "boolean":
4020
4022
  return x ? "True" : "False";
4021
4023
  case "enum":
4022
- return Ne(((M = (m = y.options) == null ? void 0 : m.find((B) => B.value === x)) == null ? void 0 : M.label) ?? "");
4024
+ return Fe(((M = (m = y.options) == null ? void 0 : m.find((B) => B.value === x)) == null ? void 0 : M.label) ?? "");
4023
4025
  case "color":
4024
4026
  return x.toString();
4025
4027
  case "lineweight":
4026
- return le[x];
4028
+ return ie[x];
4027
4029
  case "transparency":
4028
4030
  return x.toString();
4029
4031
  default:
@@ -4033,7 +4035,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4033
4035
  async function v(y) {
4034
4036
  const x = C(y);
4035
4037
  try {
4036
- await navigator.clipboard.writeText(x), ae({
4038
+ await navigator.clipboard.writeText(x), le({
4037
4039
  message: t(
4038
4040
  "main.toolPalette.entityProperties.propertyPanel.propValCopied"
4039
4041
  ),
@@ -4041,7 +4043,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4041
4043
  type: "success"
4042
4044
  });
4043
4045
  } catch (m) {
4044
- console.error(m), ae({
4046
+ console.error(m), le({
4045
4047
  message: t(
4046
4048
  "main.toolPalette.entityProperties.propertyPanel.failedToCopyPropVal"
4047
4049
  ),
@@ -4060,11 +4062,11 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4060
4062
  function f(y) {
4061
4063
  return y.groups.map((x, m) => {
4062
4064
  const M = [];
4063
- return x.properties.forEach((B, N) => {
4065
+ return x.properties.forEach((B, P) => {
4064
4066
  if (!i(B)) {
4065
4067
  M.push({
4066
4068
  ...B,
4067
- id: `g-${m}-p-${N}`,
4069
+ id: `g-${m}-p-${P}`,
4068
4070
  isGroup: !1,
4069
4071
  __groupName: x.groupName
4070
4072
  });
@@ -4075,7 +4077,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4075
4077
  Math.max(1, r.value[T]),
4076
4078
  E.length
4077
4079
  ), M.push({
4078
- id: `g-${m}-p-${N}-index`,
4080
+ id: `g-${m}-p-${P}-index`,
4079
4081
  name: B.name,
4080
4082
  type: "int",
4081
4083
  editable: !0,
@@ -4096,7 +4098,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4096
4098
  if (O && B.itemSchema)
4097
4099
  for (const D of B.itemSchema.properties)
4098
4100
  M.push({
4099
- id: `g-${m}-p-${N}-${D.name}`,
4101
+ id: `g-${m}-p-${P}-${D.name}`,
4100
4102
  name: D.name,
4101
4103
  type: D.type,
4102
4104
  editable: D.editable,
@@ -4121,12 +4123,12 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4121
4123
  const x = y[0], m = [];
4122
4124
  for (const M of x.groups) {
4123
4125
  const B = [];
4124
- for (const N of M.properties)
4126
+ for (const P of M.properties)
4125
4127
  y.every((E) => {
4126
4128
  var O;
4127
- const T = (O = E.groups.find((D) => D.groupName === M.groupName)) == null ? void 0 : O.properties.find((D) => D.name === N.name);
4128
- return T && T.accessor.get() === N.accessor.get();
4129
- }) && B.push(N);
4129
+ const T = (O = E.groups.find((D) => D.groupName === M.groupName)) == null ? void 0 : O.properties.find((D) => D.name === P.name);
4130
+ return T && T.accessor.get() === P.accessor.get();
4131
+ }) && B.push(P);
4130
4132
  B.length && m.push({ groupName: M.groupName, properties: B });
4131
4133
  }
4132
4134
  return { type: x.type, groups: m };
@@ -4135,7 +4137,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4135
4137
  row: y,
4136
4138
  columnIndex: x
4137
4139
  }) => y.isGroup ? x === 0 ? [1, 2] : [0, 0] : [1, 1];
4138
- function P(y, x) {
4140
+ function N(y, x) {
4139
4141
  y.__isArrayIndex || o("update-property", {
4140
4142
  groupName: y.__groupName ?? "",
4141
4143
  propertyName: y.name,
@@ -4143,9 +4145,9 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4143
4145
  });
4144
4146
  }
4145
4147
  return (y, x) => {
4146
- const m = S("el-option"), M = S("el-select"), B = S("el-table-column"), N = S("el-switch"), E = S("el-input-number"), T = S("el-input"), O = S("el-table");
4147
- return s(), b("div", Ci, [
4148
- y.entityPropsList && y.entityPropsList.length > 1 ? (s(), b("div", Mi, [
4148
+ const m = S("el-option"), M = S("el-select"), B = S("el-table-column"), P = S("el-switch"), E = S("el-input-number"), T = S("el-input"), O = S("el-table");
4149
+ return s(), b("div", Mi, [
4150
+ y.entityPropsList && y.entityPropsList.length > 1 ? (s(), b("div", Li, [
4149
4151
  _(M, {
4150
4152
  modelValue: a.value,
4151
4153
  "onUpdate:modelValue": x[0] || (x[0] = (D) => a.value = D),
@@ -4183,11 +4185,11 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4183
4185
  default: h(() => [
4184
4186
  _(B, { prop: "name" }, {
4185
4187
  default: h(({ row: D }) => [
4186
- c("div", Li, [
4188
+ c("div", Si, [
4187
4189
  c("div", {
4188
4190
  class: fe(["ml-cell-label", { "ml-group-row": D.isGroup }])
4189
4191
  }, [
4190
- D.isGroup ? (s(), b("strong", Si, A(d(Pe)(D.name)), 1)) : (s(), b("span", Ti, A(p(D)), 1))
4192
+ D.isGroup ? (s(), b("strong", Ti, A(d(Pe)(D.name)), 1)) : (s(), b("span", Bi, A(p(D)), 1))
4191
4193
  ], 2)
4192
4194
  ])
4193
4195
  ]),
@@ -4195,9 +4197,9 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4195
4197
  }),
4196
4198
  _(B, null, {
4197
4199
  default: h(({ row: D }) => [
4198
- D.isGroup ? W("", !0) : (s(), b("div", Bi, [
4200
+ D.isGroup ? W("", !0) : (s(), b("div", Di, [
4199
4201
  !D.__isArrayIndex && (!y.editable || !D.editable) ? (s(), b(Y, { key: 0 }, [
4200
- D.type === "color" ? (s(), V(d(Re), {
4202
+ D.type === "color" ? (s(), V(d(Oe), {
4201
4203
  key: 0,
4202
4204
  "model-value": D.accessor.get(),
4203
4205
  disabled: ""
@@ -4206,29 +4208,29 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4206
4208
  title: C(D),
4207
4209
  class: "ml-readonly-value",
4208
4210
  onDblclick: (R) => v(D)
4209
- }, A(C(D)), 41, Di))
4211
+ }, A(C(D)), 41, $i))
4210
4212
  ], 64)) : (s(), b(Y, { key: 1 }, [
4211
4213
  D.type === "enum" ? (s(), V(M, {
4212
4214
  key: 0,
4213
4215
  "model-value": D.accessor.get(),
4214
- onChange: (R) => P(D, R)
4216
+ onChange: (R) => N(D, R)
4215
4217
  }, {
4216
4218
  default: h(() => [
4217
4219
  (s(!0), b(Y, null, U(D.options || [], (R) => (s(), V(m, {
4218
4220
  key: R.value,
4219
- label: d(Ne)(R.label),
4221
+ label: d(Fe)(R.label),
4220
4222
  value: R.value
4221
4223
  }, null, 8, ["label", "value"]))), 128))
4222
4224
  ]),
4223
4225
  _: 2
4224
- }, 1032, ["model-value", "onChange"])) : D.type === "color" ? (s(), V(d(Re), {
4226
+ }, 1032, ["model-value", "onChange"])) : D.type === "color" ? (s(), V(d(Oe), {
4225
4227
  key: 1,
4226
4228
  "model-value": D.accessor.get(),
4227
- onColorChange: (R) => P(D, R)
4228
- }, null, 8, ["model-value", "onColorChange"])) : D.type === "boolean" ? (s(), V(N, {
4229
+ onColorChange: (R) => N(D, R)
4230
+ }, null, 8, ["model-value", "onColorChange"])) : D.type === "boolean" ? (s(), V(P, {
4229
4231
  key: 2,
4230
4232
  "model-value": D.accessor.get(),
4231
- onChange: (R) => P(D, R)
4233
+ onChange: (R) => N(D, R)
4232
4234
  }, null, 8, ["model-value", "onChange"])) : D.type === "int" ? (s(), V(E, {
4233
4235
  key: 3,
4234
4236
  "controls-position": "right",
@@ -4239,7 +4241,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4239
4241
  precision: 0,
4240
4242
  onChange: (R) => {
4241
4243
  var de, ee;
4242
- D.__isArrayIndex ? (ee = (de = D.accessor).set) == null || ee.call(de, R) : P(D, R);
4244
+ D.__isArrayIndex ? (ee = (de = D.accessor).set) == null || ee.call(de, R) : N(D, R);
4243
4245
  }
4244
4246
  }, null, 8, ["model-value", "min", "max", "onChange"])) : D.type === "float" ? (s(), V(E, {
4245
4247
  key: 4,
@@ -4247,11 +4249,11 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4247
4249
  "model-value": D.accessor.get(),
4248
4250
  step: 0.1,
4249
4251
  precision: 3,
4250
- onChange: (R) => P(D, R)
4252
+ onChange: (R) => N(D, R)
4251
4253
  }, null, 8, ["model-value", "onChange"])) : (s(), V(T, {
4252
4254
  key: 5,
4253
4255
  "model-value": D.accessor.get(),
4254
- onInput: (R) => P(D, R)
4256
+ onInput: (R) => N(D, R)
4255
4257
  }, null, 8, ["model-value", "onInput"]))
4256
4258
  ], 64))
4257
4259
  ]))
@@ -4260,18 +4262,18 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4260
4262
  })
4261
4263
  ]),
4262
4264
  _: 1
4263
- }, 8, ["data"])) : (s(), b("div", $i, A(d(t)("main.toolPalette.entityProperties.propertyPanel.noEntitySelected")), 1))
4265
+ }, 8, ["data"])) : (s(), b("div", zi, A(d(t)("main.toolPalette.entityProperties.propertyPanel.noEntitySelected")), 1))
4264
4266
  ]);
4265
4267
  };
4266
4268
  }
4267
- }), Vi = /* @__PURE__ */ q(zi, [["__scopeId", "data-v-be6589c2"]]), Ii = { class: "ml-layer-list-cell" }, Ai = { class: "ml-layer-list-cell" }, Ei = /* @__PURE__ */ I({
4269
+ }), Ii = /* @__PURE__ */ q(Vi, [["__scopeId", "data-v-be6589c2"]]), Ai = { class: "ml-layer-list-cell" }, Ei = { class: "ml-layer-list-cell" }, Ni = /* @__PURE__ */ I({
4268
4270
  __name: "MlLayerList",
4269
4271
  props: {
4270
4272
  editor: {}
4271
4273
  },
4272
4274
  setup(n) {
4273
- const { t: e } = Z(), t = n, { layers: l } = st(t.editor), o = (g) => {
4274
- t.editor.curView.zoomToFitLayer(g.name) && ae({
4275
+ const { t: e } = Z(), t = n, { layers: l } = ct(t.editor), o = (g) => {
4276
+ t.editor.curView.zoomToFitLayer(g.name) && le({
4275
4277
  message: e("main.toolPalette.layerManager.layerList.zoomToLayer", {
4276
4278
  layer: g.name
4277
4279
  }),
@@ -4298,9 +4300,9 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4298
4300
  }, v = () => {
4299
4301
  };
4300
4302
  return (g, f) => {
4301
- const k = S("el-table-column"), $ = S("el-checkbox"), P = S("el-tag");
4303
+ const k = S("el-table-column"), $ = S("el-checkbox"), N = S("el-tag");
4302
4304
  return s(), b(Y, null, [
4303
- _(d(Et), {
4305
+ _(d(Nt), {
4304
4306
  data: d(l),
4305
4307
  class: "ml-layer-list",
4306
4308
  onRowDblclick: o
@@ -4319,7 +4321,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4319
4321
  width: "50"
4320
4322
  }, {
4321
4323
  default: h((y) => [
4322
- c("div", Ii, [
4324
+ c("div", Ai, [
4323
4325
  _($, {
4324
4326
  modelValue: y.row.isOn,
4325
4327
  "onUpdate:modelValue": (x) => y.row.isOn = x,
@@ -4335,8 +4337,8 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4335
4337
  width: "70"
4336
4338
  }, {
4337
4339
  default: h((y) => [
4338
- c("div", Ai, [
4339
- _(P, {
4340
+ c("div", Ei, [
4341
+ _(N, {
4340
4342
  color: y.row.cssColor,
4341
4343
  class: "ml-layer-list-color",
4342
4344
  onClick: kt((x) => w(y.row), ["stop"])
@@ -4348,7 +4350,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4348
4350
  ]),
4349
4351
  _: 1
4350
4352
  }, 8, ["data"]),
4351
- _(d(it), {
4353
+ _(d(rt), {
4352
4354
  modelValue: r.value,
4353
4355
  "onUpdate:modelValue": f[0] || (f[0] = (y) => r.value = y),
4354
4356
  title: d(e)("dialog.colorPickerDlg.title"),
@@ -4359,7 +4361,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4359
4361
  ], 64);
4360
4362
  };
4361
4363
  }
4362
- }), Pi = { class: "ml-layer-list-wrapper" }, Ni = /* @__PURE__ */ I({
4364
+ }), Pi = { class: "ml-layer-list-wrapper" }, Fi = /* @__PURE__ */ I({
4363
4365
  __name: "MlPaletteManager",
4364
4366
  props: {
4365
4367
  editor: {}
@@ -4367,9 +4369,9 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4367
4369
  setup(n) {
4368
4370
  const e = n, t = ["layerManager", "entityProperties"], l = L(t[0]), o = z(() => t.map((u) => ({
4369
4371
  name: u,
4370
- label: Fl(u),
4371
- title: Nl(u)
4372
- }))), { selectionSet: a } = Jl(), r = z(() => {
4372
+ label: Rl(u),
4373
+ title: Fl(u)
4374
+ }))), { selectionSet: a } = ea(), r = z(() => {
4373
4375
  const u = [], i = F.instance.curDocument.database;
4374
4376
  return a.value.forEach((w) => {
4375
4377
  const p = i.tables.blockTable.modelSpace.getIdAt(w);
@@ -4380,7 +4382,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4380
4382
  const w = S("el-config-provider");
4381
4383
  return s(), V(w, { size: "small" }, {
4382
4384
  default: h(() => [
4383
- _(d(ki), {
4385
+ _(d(Ci), {
4384
4386
  class: "ml-layer-manager",
4385
4387
  modelValue: d(re).dialogs.layerManager,
4386
4388
  "onUpdate:modelValue": i[0] || (i[0] = (p) => d(re).dialogs.layerManager = p),
@@ -4391,13 +4393,13 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4391
4393
  }, {
4392
4394
  "tab-layerManager": h(() => [
4393
4395
  c("div", Pi, [
4394
- _(Ei, {
4396
+ _(Ni, {
4395
4397
  editor: e.editor
4396
4398
  }, null, 8, ["editor"])
4397
4399
  ])
4398
4400
  ]),
4399
4401
  "tab-entityProperties": h(() => [
4400
- _(Vi, { "entity-props-list": r.value }, null, 8, ["entity-props-list"])
4402
+ _(Ii, { "entity-props-list": r.value }, null, 8, ["entity-props-list"])
4401
4403
  ]),
4402
4404
  _: 1
4403
4405
  }, 8, ["modelValue", "active-tab", "tabs"])
@@ -4406,7 +4408,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4406
4408
  });
4407
4409
  };
4408
4410
  }
4409
- }), Fi = /* @__PURE__ */ q(Ni, [["__scopeId", "data-v-18adcdd0"]]), Ri = /* @__PURE__ */ I({
4411
+ }), Ri = /* @__PURE__ */ q(Fi, [["__scopeId", "data-v-18adcdd0"]]), Oi = /* @__PURE__ */ I({
4410
4412
  __name: "MlEntityDrawStyleToolbar",
4411
4413
  props: {
4412
4414
  editor: {}
@@ -4420,7 +4422,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4420
4422
  isShowToolbar: i,
4421
4423
  setColorIndex: w,
4422
4424
  setLineWeight: p
4423
- } = rt(o), C = z(() => {
4425
+ } = st(o), C = z(() => {
4424
4426
  const k = Q.fromString(a.value);
4425
4427
  return (k == null ? void 0 : k.colorIndex) ?? 1;
4426
4428
  });
@@ -4436,7 +4438,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4436
4438
  lineWeight: r.value
4437
4439
  });
4438
4440
  }
4439
- return (k, $) => d(i) ? (s(), V(d(ot), {
4441
+ return (k, $) => d(i) ? (s(), V(d(lt), {
4440
4442
  key: 0,
4441
4443
  "color-index": C.value,
4442
4444
  "css-color": d(u),
@@ -4445,14 +4447,14 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4445
4447
  onLineweightChange: g
4446
4448
  }, null, 8, ["color-index", "css-color", "line-weight"])) : W("", !0);
4447
4449
  }
4448
- }), we = 8, Oi = /* @__PURE__ */ I({
4450
+ }), we = 8, Hi = /* @__PURE__ */ I({
4449
4451
  __name: "MlEntityInfo",
4450
4452
  setup(n) {
4451
- Ze((v) => ({
4453
+ Xe((v) => ({
4452
4454
  "3e47cda4": i.value,
4453
4455
  "0741074e": w.value
4454
4456
  }));
4455
- const { t: e } = Z(), t = L(null), { hovered: l, entity: o, mouse: a } = jl(), r = L(180), u = L(120), i = z(
4457
+ const { t: e } = Z(), t = L(null), { hovered: l, entity: o, mouse: a } = Kl(), r = L(180), u = L(120), i = z(
4456
4458
  () => `${Math.min(Math.max(a.value.x, we), window.innerWidth - r.value - we)}px`
4457
4459
  ), w = z(
4458
4460
  () => `${Math.min(Math.max(a.value.y, we), window.innerHeight - u.value - we)}px`
@@ -4460,7 +4462,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4460
4462
  const v = o.value;
4461
4463
  return v ? {
4462
4464
  type: Pl(v),
4463
- color: at(v.color.toString()),
4465
+ color: it(v.color.toString()),
4464
4466
  layer: v.layer,
4465
4467
  lineType: v.lineType
4466
4468
  } : { type: "", color: "", layer: "", lineType: "" };
@@ -4470,13 +4472,13 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4470
4472
  return H(C, async (v) => {
4471
4473
  var g;
4472
4474
  if (v) {
4473
- await Ue();
4475
+ await Ze();
4474
4476
  const f = (g = t.value) == null ? void 0 : g.$el;
4475
4477
  f && (r.value = f.offsetWidth, u.value = f.offsetHeight);
4476
4478
  }
4477
4479
  }), (v, g) => {
4478
- const f = S("el-text"), k = S("el-col"), $ = S("el-row"), P = S("el-card");
4479
- return C.value ? (s(), V(P, {
4480
+ const f = S("el-text"), k = S("el-col"), $ = S("el-row"), N = S("el-card");
4481
+ return C.value ? (s(), V(N, {
4480
4482
  key: 0,
4481
4483
  ref_key: "cardRef",
4482
4484
  ref: t,
@@ -4588,13 +4590,13 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4588
4590
  }, 512)) : W("", !0);
4589
4591
  };
4590
4592
  }
4591
- }), Hi = /* @__PURE__ */ q(Oi, [["__scopeId", "data-v-d0b7631d"]]), Wi = /* @__PURE__ */ I({
4593
+ }), Wi = /* @__PURE__ */ q(Hi, [["__scopeId", "data-v-d0b7631d"]]), Yi = /* @__PURE__ */ I({
4592
4594
  __name: "MlLanguageSelector",
4593
4595
  props: {
4594
4596
  currentLocale: { default: void 0 }
4595
4597
  },
4596
4598
  setup(n) {
4597
- const e = ue(), t = n, { effectiveLocale: l, setLocale: o } = ct(t.currentLocale), a = te([
4599
+ const e = ue(), t = n, { effectiveLocale: l, setLocale: o } = ut(t.currentLocale), a = te([
4598
4600
  {
4599
4601
  name: "en",
4600
4602
  text: "English"
@@ -4606,7 +4608,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4606
4608
  ]), r = (u) => {
4607
4609
  (u === "en" || u === "zh") && o(u);
4608
4610
  };
4609
- return (u, i) => d(e).isShowLanguageSelector ? (s(), V(d(ja), {
4611
+ return (u, i) => d(e).isShowLanguageSelector ? (s(), V(d(Ka), {
4610
4612
  key: 0,
4611
4613
  class: "ml-language-selector",
4612
4614
  languages: a,
@@ -4614,7 +4616,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4614
4616
  onClick: r
4615
4617
  }, null, 8, ["languages", "current"])) : W("", !0);
4616
4618
  }
4617
- }), Yi = /* @__PURE__ */ q(Wi, [["__scopeId", "data-v-22a7d15f"]]), Gi = { class: "ml-layer-draw-style-layer-name" }, qi = { class: "ml-layer-draw-style-layer-item-name" }, Ui = /* @__PURE__ */ I({
4619
+ }), Gi = /* @__PURE__ */ q(Yi, [["__scopeId", "data-v-22a7d15f"]]), qi = { class: "ml-layer-draw-style-layer-name" }, Ui = { class: "ml-layer-draw-style-layer-item-name" }, Zi = /* @__PURE__ */ I({
4618
4620
  __name: "MlLayerDrawStyleToolbar",
4619
4621
  props: {
4620
4622
  editor: {}
@@ -4627,13 +4629,13 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4627
4629
  currentLayerInfo: r,
4628
4630
  setLayerColor: u,
4629
4631
  setLayerLineWeight: i
4630
- } = st(t.editor), w = z(() => {
4632
+ } = ct(t.editor), w = z(() => {
4631
4633
  if (!r.value) return 1;
4632
4634
  const f = Q.fromString(r.value.color);
4633
4635
  return (f == null ? void 0 : f.colorIndex) ?? 256;
4634
4636
  }), p = z(() => {
4635
4637
  var f;
4636
- return ((f = r.value) == null ? void 0 : f.lineWeight) ?? le.ByLayer;
4638
+ return ((f = r.value) == null ? void 0 : f.lineWeight) ?? ie.ByLayer;
4637
4639
  });
4638
4640
  function C(f) {
4639
4641
  a.value = f, l("layer-change", f);
@@ -4646,8 +4648,8 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4646
4648
  }
4647
4649
  return (f, k) => {
4648
4650
  var M;
4649
- const $ = S("el-icon"), P = S("el-button"), y = S("el-dropdown-item"), x = S("el-dropdown-menu"), m = S("el-dropdown");
4650
- return s(), V(d(ot), {
4651
+ const $ = S("el-icon"), N = S("el-button"), y = S("el-dropdown-item"), x = S("el-dropdown-menu"), m = S("el-dropdown");
4652
+ return s(), V(d(lt), {
4651
4653
  "color-index": w.value,
4652
4654
  "css-color": (M = d(r)) == null ? void 0 : M.cssColor,
4653
4655
  "line-weight": p.value,
@@ -4671,7 +4673,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4671
4673
  class: fe({ "is-active": B.name === d(a) })
4672
4674
  }, {
4673
4675
  default: h(() => [
4674
- c("span", qi, A(B.name), 1)
4676
+ c("span", Ui, A(B.name), 1)
4675
4677
  ]),
4676
4678
  _: 2
4677
4679
  }, 1032, ["command", "disabled", "class"]))), 128)),
@@ -4690,14 +4692,14 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4690
4692
  })
4691
4693
  ]),
4692
4694
  default: h(() => [
4693
- _(P, { class: "ml-layer-draw-style-layer-button" }, {
4695
+ _(N, { class: "ml-layer-draw-style-layer-button" }, {
4694
4696
  default: h(() => {
4695
4697
  var B;
4696
4698
  return [
4697
- c("span", Gi, A(((B = d(r)) == null ? void 0 : B.name) || "—"), 1),
4699
+ c("span", qi, A(((B = d(r)) == null ? void 0 : B.name) || "—"), 1),
4698
4700
  _($, { class: "ml-dropdown-caret" }, {
4699
4701
  default: h(() => [
4700
- _(d(nt))
4702
+ _(d(ot))
4701
4703
  ]),
4702
4704
  _: 1
4703
4705
  })
@@ -4713,7 +4715,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4713
4715
  }, 8, ["color-index", "css-color", "line-weight", "disabled"]);
4714
4716
  };
4715
4717
  }
4716
- }), ps = /* @__PURE__ */ q(Ui, [["__scopeId", "data-v-40670552"]]), Zi = /* @__PURE__ */ I({
4718
+ }), vs = /* @__PURE__ */ q(Zi, [["__scopeId", "data-v-40670552"]]), Xi = /* @__PURE__ */ I({
4717
4719
  __name: "MlMainMenu",
4718
4720
  setup(n) {
4719
4721
  const { t: e } = Z(), t = ue(), l = (o) => {
@@ -4752,7 +4754,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4752
4754
  size: "30"
4753
4755
  }, {
4754
4756
  default: h(() => [
4755
- _(d(cn))
4757
+ _(d(un))
4756
4758
  ]),
4757
4759
  _: 1
4758
4760
  })
@@ -4761,45 +4763,45 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4761
4763
  })) : W("", !0);
4762
4764
  };
4763
4765
  }
4764
- }), Xi = /* @__PURE__ */ q(Zi, [["__scopeId", "data-v-01dfd285"]]), ji = {
4766
+ }), ji = /* @__PURE__ */ q(Xi, [["__scopeId", "data-v-01dfd285"]]), Ki = {
4765
4767
  key: 0,
4766
4768
  class: "ml-vertical-toolbar-container"
4767
- }, Ki = /* @__PURE__ */ I({
4769
+ }, Qi = /* @__PURE__ */ I({
4768
4770
  __name: "MlToolBars",
4769
4771
  setup(n) {
4770
- const { t: e } = Z(), t = ue(), l = Zl(), o = [
4772
+ const { t: e } = Z(), t = ue(), l = Xl(), o = [
4771
4773
  {
4772
- icon: oo,
4774
+ icon: lo,
4773
4775
  text: e("main.verticalToolbar.switchBg.text"),
4774
4776
  command: "switchbg",
4775
4777
  description: e("main.verticalToolbar.switchBg.description")
4776
4778
  },
4777
4779
  {
4778
- icon: Kt,
4780
+ icon: Qt,
4779
4781
  text: e("main.verticalToolbar.annotation.text"),
4780
4782
  command: "",
4781
4783
  description: e("main.verticalToolbar.annotation.description"),
4782
4784
  children: [
4783
4785
  {
4784
- icon: Zn,
4786
+ icon: Xn,
4785
4787
  text: e("main.verticalToolbar.revFreehand.text"),
4786
4788
  command: "sketch",
4787
4789
  description: e("main.verticalToolbar.revFreehand.description")
4788
4790
  },
4789
4791
  {
4790
- icon: Kn,
4792
+ icon: Qn,
4791
4793
  text: e("main.verticalToolbar.revRect.text"),
4792
4794
  command: "revrect",
4793
4795
  description: e("main.verticalToolbar.revRect.description")
4794
4796
  },
4795
4797
  {
4796
- icon: Gn,
4798
+ icon: qn,
4797
4799
  text: e("main.verticalToolbar.revCloud.text"),
4798
4800
  command: "revcloud",
4799
4801
  description: e("main.verticalToolbar.revCloud.description")
4800
4802
  },
4801
4803
  {
4802
- icon: Hn,
4804
+ icon: Wn,
4803
4805
  text: e("main.verticalToolbar.revCircle.text"),
4804
4806
  command: "revcircle",
4805
4807
  description: e("main.verticalToolbar.revCircle.description")
@@ -4811,12 +4813,12 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4811
4813
  toggle: {
4812
4814
  value: !0,
4813
4815
  on: {
4814
- icon: bn,
4816
+ icon: xn,
4815
4817
  text: e("main.verticalToolbar.showAnnotation.text"),
4816
4818
  description: e("main.verticalToolbar.showAnnotation.description")
4817
4819
  },
4818
4820
  off: {
4819
- icon: an,
4821
+ icon: rn,
4820
4822
  text: e("main.verticalToolbar.hideAnnotation.text"),
4821
4823
  description: e("main.verticalToolbar.showAnnotation.description")
4822
4824
  }
@@ -4825,44 +4827,44 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4825
4827
  ], a = z(() => {
4826
4828
  const i = [
4827
4829
  {
4828
- icon: eo,
4830
+ icon: to,
4829
4831
  text: e("main.verticalToolbar.select.text"),
4830
4832
  command: "select",
4831
4833
  description: e("main.verticalToolbar.select.description")
4832
4834
  },
4833
4835
  {
4834
- icon: En,
4836
+ icon: Nn,
4835
4837
  text: e("main.verticalToolbar.pan.text"),
4836
4838
  command: "pan",
4837
4839
  description: e("main.verticalToolbar.pan.description")
4838
4840
  },
4839
4841
  {
4840
- icon: co,
4842
+ icon: uo,
4841
4843
  text: e("main.verticalToolbar.zoomToExtent.text"),
4842
4844
  command: "zoom",
4843
4845
  description: e("main.verticalToolbar.zoomToExtent.description")
4844
4846
  },
4845
4847
  {
4846
- icon: io,
4848
+ icon: ro,
4847
4849
  text: e("main.verticalToolbar.zoomToBox.text"),
4848
4850
  command: "zoomw",
4849
4851
  description: e("main.verticalToolbar.zoomToBox.description")
4850
4852
  },
4851
4853
  {
4852
- icon: Dn,
4854
+ icon: $n,
4853
4855
  text: e("main.verticalToolbar.layer.text"),
4854
4856
  command: "la",
4855
4857
  description: e("main.verticalToolbar.layer.description")
4856
4858
  }
4857
4859
  ];
4858
- return l.value >= qe.Review && i.push(...o), i;
4860
+ return l.value >= Ue.Review && i.push(...o), i;
4859
4861
  }), r = (i) => {
4860
4862
  F.instance.sendStringToExecute(i);
4861
4863
  }, u = (i, w) => {
4862
4864
  F.instance.sendStringToExecute(i);
4863
4865
  };
4864
- return (i, w) => d(t).isShowToolbar ? (s(), b("div", ji, [
4865
- _(d(ri), {
4866
+ return (i, w) => d(t).isShowToolbar ? (s(), b("div", Ki, [
4867
+ _(d(si), {
4866
4868
  items: a.value,
4867
4869
  size: "small",
4868
4870
  direction: "vertical",
@@ -4872,10 +4874,10 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4872
4874
  }, null, 8, ["items"])
4873
4875
  ])) : W("", !0);
4874
4876
  }
4875
- }), Qi = { class: "ml-notification-item-icon" }, Ji = { class: "ml-notification-item-content" }, er = { class: "ml-notification-item-header" }, tr = { class: "ml-notification-item-title" }, nr = { class: "ml-notification-item-actions" }, or = {
4877
+ }), Ji = { class: "ml-notification-item-icon" }, er = { class: "ml-notification-item-content" }, tr = { class: "ml-notification-item-header" }, nr = { class: "ml-notification-item-title" }, or = { class: "ml-notification-item-actions" }, lr = {
4876
4878
  key: 0,
4877
4879
  class: "ml-notification-item-message"
4878
- }, lr = { class: "ml-notification-item-footer" }, ar = { class: "ml-notification-item-time" }, ir = /* @__PURE__ */ I({
4880
+ }, ar = { class: "ml-notification-item-footer" }, ir = { class: "ml-notification-item-time" }, rr = /* @__PURE__ */ I({
4879
4881
  __name: "MlNotificationItem",
4880
4882
  props: {
4881
4883
  notification: {}
@@ -4885,15 +4887,15 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4885
4887
  const e = n, { t } = Z(), l = z(() => {
4886
4888
  switch (e.notification.type) {
4887
4889
  case "info":
4888
- return Ae;
4890
+ return Ee;
4889
4891
  case "warning":
4890
- return kn;
4892
+ return Cn;
4891
4893
  case "error":
4892
- return en;
4894
+ return tn;
4893
4895
  case "success":
4894
- return hn;
4896
+ return _n;
4895
4897
  default:
4896
- return Ae;
4898
+ return Ee;
4897
4899
  }
4898
4900
  }), o = (r) => {
4899
4901
  r.action();
@@ -4906,7 +4908,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4906
4908
  return s(), b("div", {
4907
4909
  class: fe(["ml-notification-item", `ml-notification-item--${r.notification.type}`])
4908
4910
  }, [
4909
- c("div", Qi, [
4911
+ c("div", Ji, [
4910
4912
  _(i, null, {
4911
4913
  default: h(() => [
4912
4914
  (s(), V(se(l.value)))
@@ -4914,10 +4916,10 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4914
4916
  _: 1
4915
4917
  })
4916
4918
  ]),
4917
- c("div", Ji, [
4918
- c("div", er, [
4919
- c("h4", tr, A(r.notification.title), 1),
4920
- c("div", nr, [
4919
+ c("div", er, [
4920
+ c("div", tr, [
4921
+ c("h4", nr, A(r.notification.title), 1),
4922
+ c("div", or, [
4921
4923
  r.notification.actions && r.notification.actions.length > 0 ? (s(!0), b(Y, { key: 0 }, U(r.notification.actions, (p) => (s(), V(w, {
4922
4924
  key: p.label,
4923
4925
  type: p.primary ? "primary" : "default",
@@ -4946,21 +4948,21 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4946
4948
  })
4947
4949
  ])
4948
4950
  ]),
4949
- r.notification.message ? (s(), b("p", or, A(r.notification.message), 1)) : W("", !0),
4950
- c("div", lr, [
4951
- c("span", ar, A(a(r.notification.timestamp)), 1)
4951
+ r.notification.message ? (s(), b("p", lr, A(r.notification.message), 1)) : W("", !0),
4952
+ c("div", ar, [
4953
+ c("span", ir, A(a(r.notification.timestamp)), 1)
4952
4954
  ])
4953
4955
  ])
4954
4956
  ], 2);
4955
4957
  };
4956
4958
  }
4957
- }), rr = /* @__PURE__ */ q(ir, [["__scopeId", "data-v-e1dde915"]]), sr = { class: "ml-notification-center" }, cr = { class: "ml-notification-center-header" }, ur = { class: "ml-notification-center-title" }, dr = { class: "ml-notification-center-actions" }, mr = { class: "ml-notification-center-content" }, pr = {
4959
+ }), sr = /* @__PURE__ */ q(rr, [["__scopeId", "data-v-e1dde915"]]), cr = { class: "ml-notification-center" }, ur = { class: "ml-notification-center-header" }, dr = { class: "ml-notification-center-title" }, mr = { class: "ml-notification-center-actions" }, pr = { class: "ml-notification-center-content" }, vr = {
4958
4960
  key: 0,
4959
4961
  class: "ml-notification-center-empty"
4960
- }, vr = {
4962
+ }, gr = {
4961
4963
  key: 1,
4962
4964
  class: "ml-notification-list"
4963
- }, gr = /* @__PURE__ */ I({
4965
+ }, fr = /* @__PURE__ */ I({
4964
4966
  __name: "MlNotificationCenter",
4965
4967
  props: {
4966
4968
  title: {}
@@ -4974,9 +4976,9 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4974
4976
  };
4975
4977
  return (i, w) => {
4976
4978
  const p = S("el-icon"), C = S("el-button"), v = S("el-tooltip");
4977
- return s(), b("div", sr, [
4978
- c("div", cr, [
4979
- c("div", ur, [
4979
+ return s(), b("div", cr, [
4980
+ c("div", ur, [
4981
+ c("div", dr, [
4980
4982
  _(p, { class: "ml-notification-center-icon" }, {
4981
4983
  default: h(() => [
4982
4984
  _(d(Se))
@@ -4985,7 +4987,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
4985
4987
  }),
4986
4988
  c("span", null, A(l.value), 1)
4987
4989
  ]),
4988
- c("div", dr, [
4990
+ c("div", mr, [
4989
4991
  d(o).length > 0 ? (s(), V(v, {
4990
4992
  key: 0,
4991
4993
  content: d(e)("main.notification.center.clearAll"),
@@ -5002,7 +5004,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5002
5004
  default: h(() => [
5003
5005
  _(p, null, {
5004
5006
  default: h(() => [
5005
- _(d(on))
5007
+ _(d(ln))
5006
5008
  ]),
5007
5009
  _: 1
5008
5010
  })
@@ -5030,8 +5032,8 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5030
5032
  })
5031
5033
  ])
5032
5034
  ]),
5033
- c("div", mr, [
5034
- d(o).length === 0 ? (s(), b("div", pr, [
5035
+ c("div", pr, [
5036
+ d(o).length === 0 ? (s(), b("div", vr, [
5035
5037
  _(p, { class: "ml-notification-center-empty-icon" }, {
5036
5038
  default: h(() => [
5037
5039
  _(d(Se))
@@ -5039,8 +5041,8 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5039
5041
  _: 1
5040
5042
  }),
5041
5043
  c("p", null, A(d(e)("main.notification.center.noNotifications")), 1)
5042
- ])) : (s(), b("div", vr, [
5043
- (s(!0), b(Y, null, U(d(o), (g) => (s(), V(rr, {
5044
+ ])) : (s(), b("div", gr, [
5045
+ (s(!0), b(Y, null, U(d(o), (g) => (s(), V(sr, {
5044
5046
  key: g.id,
5045
5047
  notification: g,
5046
5048
  onClose: (f) => d(a)(g.id),
@@ -5051,23 +5053,23 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5051
5053
  ]);
5052
5054
  };
5053
5055
  }
5054
- }), fr = /* @__PURE__ */ q(gr, [["__scopeId", "data-v-bdd67bed"]]), hr = /* @__PURE__ */ I({
5056
+ }), hr = /* @__PURE__ */ q(fr, [["__scopeId", "data-v-bdd67bed"]]), _r = /* @__PURE__ */ I({
5055
5057
  __name: "MlFullScreenButton",
5056
5058
  setup(n) {
5057
5059
  const { t: e } = Z(), { isFullscreen: t, toggle: l } = Lt(), o = z(() => ({
5058
- onIcon: Ee,
5059
- offIcon: Ee,
5060
+ onIcon: Ne,
5061
+ offIcon: Ne,
5060
5062
  onTooltip: e("main.statusBar.fullScreen.on"),
5061
5063
  offTooltip: e("main.statusBar.fullScreen.off")
5062
5064
  })), a = z(() => !t.value);
5063
- return (r, u) => (s(), V(d(mt), {
5065
+ return (r, u) => (s(), V(d(pt), {
5064
5066
  modelValue: a.value,
5065
5067
  "onUpdate:modelValue": u[0] || (u[0] = (i) => a.value = i),
5066
5068
  data: o.value,
5067
5069
  onClick: d(l)
5068
5070
  }, null, 8, ["modelValue", "data", "onClick"]));
5069
5071
  }
5070
- }), _r = /* @__PURE__ */ I({
5072
+ }), wr = /* @__PURE__ */ I({
5071
5073
  __name: "MlNotificationButton",
5072
5074
  emits: ["click"],
5073
5075
  setup(n, { emit: e }) {
@@ -5101,7 +5103,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5101
5103
  }, 8, ["content"]);
5102
5104
  };
5103
5105
  }
5104
- }), wr = /* @__PURE__ */ q(_r, [["__scopeId", "data-v-48c740b7"]]), yr = /* @__PURE__ */ I({
5106
+ }), yr = /* @__PURE__ */ q(wr, [["__scopeId", "data-v-48c740b7"]]), br = /* @__PURE__ */ I({
5105
5107
  __name: "MlOsnapButton",
5106
5108
  setup(n) {
5107
5109
  const { t: e } = Z(), t = ue(), l = [
@@ -5116,7 +5118,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5116
5118
  // { value: AcDbOsnapMode.Nearest, label: t('main.statusBar.osnap.nearest') },
5117
5119
  // { value: AcDbOsnapMode.Centroid, label: t('main.statusBar.osnap.centroid') }
5118
5120
  ], o = (a) => {
5119
- t.osnapModes = Bt(t.osnapModes, a), K.instance.osnapModes = t.osnapModes;
5121
+ t.osnapModes = Dt(t.osnapModes, a), K.instance.osnapModes = t.osnapModes;
5120
5122
  };
5121
5123
  return (a, r) => {
5122
5124
  const u = S("el-button"), i = S("el-dropdown-item"), w = S("el-dropdown-menu"), p = S("el-dropdown"), C = S("el-tooltip");
@@ -5135,7 +5137,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5135
5137
  (s(), b(Y, null, U(l, (v) => _(i, {
5136
5138
  key: v.value,
5137
5139
  command: v.value,
5138
- icon: d(Tt)(d(t).osnapModes, v.value) ? d(ne) : void 0
5140
+ icon: d(Bt)(d(t).osnapModes, v.value) ? d(ne) : void 0
5139
5141
  }, {
5140
5142
  default: h(() => [
5141
5143
  G(A(v.label), 1)
@@ -5149,7 +5151,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5149
5151
  default: h(() => [
5150
5152
  _(u, {
5151
5153
  class: "ml-osnap-setting-button",
5152
- icon: d(Fn)
5154
+ icon: d(Rn)
5153
5155
  }, null, 8, ["icon"])
5154
5156
  ]),
5155
5157
  _: 1
@@ -5159,7 +5161,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5159
5161
  }, 8, ["content"]);
5160
5162
  };
5161
5163
  }
5162
- }), br = /* @__PURE__ */ q(yr, [["__scopeId", "data-v-6ab77080"]]), xr = /* @__PURE__ */ I({
5164
+ }), xr = /* @__PURE__ */ q(br, [["__scopeId", "data-v-6ab77080"]]), kr = /* @__PURE__ */ I({
5163
5165
  __name: "MlPointStyleButton",
5164
5166
  setup(n) {
5165
5167
  const { t: e } = Z(), t = () => {
@@ -5174,7 +5176,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5174
5176
  default: h(() => [
5175
5177
  _(a, {
5176
5178
  class: "ml-point-style-button",
5177
- icon: d(pn),
5179
+ icon: d(vn),
5178
5180
  onClick: o[0] || (o[0] = (u) => t())
5179
5181
  }, null, 8, ["icon"])
5180
5182
  ]),
@@ -5182,10 +5184,10 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5182
5184
  }, 8, ["content"]);
5183
5185
  };
5184
5186
  }
5185
- }), kr = /* @__PURE__ */ q(xr, [["__scopeId", "data-v-29692d7d"]]), Cr = {
5187
+ }), Cr = /* @__PURE__ */ q(kr, [["__scopeId", "data-v-29692d7d"]]), Mr = {
5186
5188
  key: 0,
5187
5189
  class: "ml-progress"
5188
- }, Mr = /* @__PURE__ */ I({
5190
+ }, Lr = /* @__PURE__ */ I({
5189
5191
  __name: "MlProgress",
5190
5192
  setup(n) {
5191
5193
  const { t: e } = Z(), t = L(0), l = L(!1), { warning: o } = ke(), a = (u) => {
@@ -5202,9 +5204,9 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5202
5204
  }, r = (u) => `${u.toFixed(0)}%`;
5203
5205
  return J(() => {
5204
5206
  oe.on("open-file-progress", a);
5205
- }), ie(() => {
5207
+ }), ae(() => {
5206
5208
  oe.off("open-file-progress", a);
5207
- }), (u, i) => l.value ? (s(), b("div", Cr, [
5209
+ }), (u, i) => l.value ? (s(), b("div", Mr, [
5208
5210
  _(d(Pt), {
5209
5211
  "text-inside": !0,
5210
5212
  "stroke-width": 20,
@@ -5213,7 +5215,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5213
5215
  }, null, 8, ["percentage"])
5214
5216
  ])) : W("", !0);
5215
5217
  }
5216
- }), Lr = /* @__PURE__ */ q(Mr, [["__scopeId", "data-v-7513492f"]]), Sr = /* @__PURE__ */ I({
5218
+ }), Sr = /* @__PURE__ */ q(Lr, [["__scopeId", "data-v-7513492f"]]), Tr = /* @__PURE__ */ I({
5217
5219
  __name: "MlSettingButton",
5218
5220
  setup(n) {
5219
5221
  const { t: e } = Z(), t = ue(), l = (o) => {
@@ -5312,7 +5314,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5312
5314
  default: h(() => [
5313
5315
  _(r, {
5314
5316
  class: "ml-setting-button",
5315
- icon: d(gn)
5317
+ icon: d(fn)
5316
5318
  }, null, 8, ["icon"])
5317
5319
  ]),
5318
5320
  _: 1
@@ -5322,7 +5324,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5322
5324
  }, 8, ["content"]);
5323
5325
  };
5324
5326
  }
5325
- }), Tr = /* @__PURE__ */ q(Sr, [["__scopeId", "data-v-4e9dc111"]]), Br = /* @__PURE__ */ I({
5327
+ }), Br = /* @__PURE__ */ q(Tr, [["__scopeId", "data-v-4e9dc111"]]), Dr = /* @__PURE__ */ I({
5326
5328
  __name: "MlThemeButton",
5327
5329
  props: {
5328
5330
  isDark: { type: Boolean },
@@ -5330,35 +5332,35 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5330
5332
  },
5331
5333
  setup(n) {
5332
5334
  const { t: e } = Z(), t = z(() => ({
5333
- onIcon: wn,
5334
- offIcon: dn,
5335
+ onIcon: yn,
5336
+ offIcon: mn,
5335
5337
  onTooltip: e("main.statusBar.theme.light"),
5336
5338
  offTooltip: e("main.statusBar.theme.dark")
5337
5339
  }));
5338
- return (l, o) => (s(), V(d(mt), {
5340
+ return (l, o) => (s(), V(d(pt), {
5339
5341
  "model-value": l.isDark,
5340
5342
  data: t.value,
5341
5343
  onClick: o[0] || (o[0] = (a) => l.toggleDark())
5342
5344
  }, null, 8, ["model-value", "data"]));
5343
5345
  }
5344
- }), Dr = /* @__PURE__ */ I({
5346
+ }), $r = /* @__PURE__ */ I({
5345
5347
  __name: "MlWarningButton",
5346
5348
  setup(n) {
5347
5349
  const e = () => {
5348
5350
  F.instance.sendStringToExecute("md");
5349
- }, { fonts: t, images: l } = ut(), o = z(() => l.size > 0 || t.size > 0);
5351
+ }, { fonts: t, images: l } = dt(), o = z(() => l.size > 0 || t.size > 0);
5350
5352
  return (a, r) => {
5351
5353
  const u = S("el-button");
5352
5354
  return o.value ? (s(), V(u, {
5353
5355
  key: 0,
5354
5356
  class: "ml-warning-button",
5355
5357
  type: "warning",
5356
- icon: d(Mn),
5358
+ icon: d(Ln),
5357
5359
  onClick: r[0] || (r[0] = (i) => e())
5358
5360
  }, null, 8, ["icon"])) : W("", !0);
5359
5361
  };
5360
5362
  }
5361
- }), $r = /* @__PURE__ */ q(Dr, [["__scopeId", "data-v-3411a3ec"]]), zr = /* @__PURE__ */ I({
5363
+ }), zr = /* @__PURE__ */ q($r, [["__scopeId", "data-v-3411a3ec"]]), Vr = /* @__PURE__ */ I({
5362
5364
  __name: "MlStatusBar",
5363
5365
  props: {
5364
5366
  isDark: { type: Boolean },
@@ -5366,8 +5368,8 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5366
5368
  },
5367
5369
  emits: ["toggleNotificationCenter"],
5368
5370
  setup(n, { emit: e }) {
5369
- const t = n, { text: l } = Wl(F.instance.curView), o = Kl(F.instance), a = ue(), { isMobile: r } = ta(), u = (p) => {
5370
- tt().layoutManager.setCurrentLayoutBtrId(
5371
+ const t = n, { text: l } = Yl(F.instance.curView), o = Ql(F.instance), a = ue(), { isMobile: r } = na(), u = (p) => {
5372
+ nt().layoutManager.setCurrentLayoutBtrId(
5371
5373
  p.blockTableRecordId
5372
5374
  );
5373
5375
  }, i = e, w = () => {
@@ -5375,7 +5377,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5375
5377
  };
5376
5378
  return (p, C) => {
5377
5379
  const v = S("el-button"), g = S("el-button-group");
5378
- return s(), V(d(ni), { class: "ml-status-bar" }, {
5380
+ return s(), V(d(oi), { class: "ml-status-bar" }, {
5379
5381
  left: h(() => [
5380
5382
  _(g, { class: "ml-status-bar-left-button-group" }, {
5381
5383
  default: h(() => [
@@ -5395,7 +5397,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5395
5397
  })
5396
5398
  ]),
5397
5399
  right: h(() => [
5398
- _(Lr),
5400
+ _(Sr),
5399
5401
  _(g, { class: "ml-status-bar-right-button-group" }, {
5400
5402
  default: h(() => [
5401
5403
  d(a).isShowCoordinate && !d(r) ? (s(), V(v, {
@@ -5407,16 +5409,16 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5407
5409
  ]),
5408
5410
  _: 1
5409
5411
  })) : W("", !0),
5410
- _($r),
5411
- _(wr, { onClick: w }),
5412
- _(Br, {
5412
+ _(zr),
5413
+ _(yr, { onClick: w }),
5414
+ _(Dr, {
5413
5415
  "is-dark": t.isDark,
5414
5416
  "toggle-dark": t.toggleDark
5415
5417
  }, null, 8, ["is-dark", "toggle-dark"]),
5416
- _(hr),
5417
- _(kr),
5418
- _(br),
5419
- _(Tr)
5418
+ _(_r),
5419
+ _(Cr),
5420
+ _(xr),
5421
+ _(Br)
5420
5422
  ]),
5421
5423
  _: 1
5422
5424
  })
@@ -5425,10 +5427,10 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5425
5427
  });
5426
5428
  };
5427
5429
  }
5428
- }), Vr = /* @__PURE__ */ q(zr, [["__scopeId", "data-v-2dc891d2"]]), Ir = {
5430
+ }), Ir = /* @__PURE__ */ q(Vr, [["__scopeId", "data-v-2dc891d2"]]), Ar = {
5429
5431
  key: 0,
5430
5432
  class: "ml-file-name"
5431
- }, vs = /* @__PURE__ */ I({
5433
+ }, gs = /* @__PURE__ */ I({
5432
5434
  __name: "MlCadViewer",
5433
5435
  props: {
5434
5436
  locale: { default: "default" },
@@ -5438,16 +5440,16 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5438
5440
  baseUrl: { default: void 0 },
5439
5441
  useMainThreadDraw: { type: Boolean, default: !1 },
5440
5442
  theme: { default: "dark" },
5441
- mode: { default: qe.Write }
5443
+ mode: { default: Ue.Write }
5442
5444
  },
5443
5445
  emits: ["create", "destroy"],
5444
5446
  setup(n, { emit: e }) {
5445
- const t = e, l = n, { t: o } = Z(), { effectiveLocale: a, elementPlusLocale: r } = ct(l.locale), { info: u, warning: i, error: w, success: p } = ke(), C = L(), v = L(null), g = L(null), f = z(() => g.value), k = L(!1), $ = Qe({
5447
+ const t = e, l = n, { t: o } = Z(), { effectiveLocale: a, elementPlusLocale: r } = ut(l.locale), { info: u, warning: i, error: w, success: p } = ke(), C = L(), v = L(null), g = L(null), f = z(() => g.value), k = L(!1), $ = Je({
5446
5448
  selector: v,
5447
5449
  attribute: "class",
5448
5450
  valueDark: "ml-theme-dark",
5449
5451
  valueLight: "ml-theme-light"
5450
- }), P = Je($), y = ue(), { isShowToolbar: x } = rt(f), m = async (T, O) => {
5452
+ }), N = et($), y = ue(), { isShowToolbar: x } = st(f), m = async (T, O) => {
5451
5453
  const D = {
5452
5454
  minimumChunkSize: 1e3,
5453
5455
  mode: l.mode
@@ -5467,7 +5469,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5467
5469
  };
5468
5470
  await F.instance.openUrl(T, O), re.fileName = F.instance.curDocument.docTitle;
5469
5471
  } catch (O) {
5470
- console.error("Failed to open file from URL:", O), ae({
5472
+ console.error("Failed to open file from URL:", O), le({
5471
5473
  message: o("main.message.failedToOpenFile", { fileName: T }),
5472
5474
  grouping: !0,
5473
5475
  type: "error",
@@ -5496,7 +5498,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5496
5498
  throw new Error("Failed to open local file");
5497
5499
  re.fileName = F.instance.curDocument.docTitle;
5498
5500
  } catch {
5499
- ae({
5501
+ le({
5500
5502
  message: o("main.message.failedToOpenFile", { fileName: T.name }),
5501
5503
  grouping: !0,
5502
5504
  type: "error",
@@ -5531,10 +5533,10 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5531
5533
  autoResize: !0,
5532
5534
  useMainThreadDraw: l.useMainThreadDraw
5533
5535
  }), g.value = F.instance), l.url ? M(l.url) : l.localFile && B(l.localFile), l.background != null && (F.instance.curView.backgroundColor = l.background), l.theme === "dark" ? $.value = !0 : $.value = !1, t("create");
5534
- }), ie(() => {
5536
+ }), ae(() => {
5535
5537
  t("destroy"), F.instance.destroy();
5536
5538
  }), oe.on("message", (T) => {
5537
- switch (ae({
5539
+ switch (le({
5538
5540
  message: T.message,
5539
5541
  grouping: !0,
5540
5542
  type: T.type,
@@ -5562,7 +5564,7 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5562
5564
  });
5563
5565
  i(o("main.notification.title.fontNotFound"), O);
5564
5566
  }), oe.on("failed-to-get-avaiable-fonts", (T) => {
5565
- ae({
5567
+ le({
5566
5568
  message: o("main.message.failedToGetAvaiableFonts", { url: T.url }),
5567
5569
  grouping: !0,
5568
5570
  type: "error",
@@ -5572,14 +5574,14 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5572
5574
  const O = o("main.message.failedToOpenFile", {
5573
5575
  fileName: T.fileName
5574
5576
  });
5575
- ae({
5577
+ le({
5576
5578
  message: O,
5577
5579
  grouping: !0,
5578
5580
  type: "error",
5579
5581
  showClose: !0
5580
5582
  }), w("File Opening Failed", O);
5581
5583
  });
5582
- const N = () => {
5584
+ const P = () => {
5583
5585
  k.value = !k.value;
5584
5586
  }, E = () => {
5585
5587
  k.value = !1;
@@ -5601,29 +5603,29 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5601
5603
  _(D, { locale: d(r) }, {
5602
5604
  default: h(() => [
5603
5605
  c("header", null, [
5604
- _(d(Xi)),
5605
- _(d(Yi), { "current-locale": d(a) }, null, 8, ["current-locale"])
5606
+ _(d(ji)),
5607
+ _(d(Gi), { "current-locale": d(a) }, null, 8, ["current-locale"])
5606
5608
  ]),
5607
5609
  c("main", null, [
5608
- d(y).isShowFileName && !d(x) ? (s(), b("div", Ir, A(d(re).fileName), 1)) : W("", !0),
5609
- _(d(Ri), {
5610
+ d(y).isShowFileName && !d(x) ? (s(), b("div", Ar, A(d(re).fileName), 1)) : W("", !0),
5611
+ _(d(Oi), {
5610
5612
  editor: f.value,
5611
5613
  class: "ml-rev-tool-bar"
5612
5614
  }, null, 8, ["editor"]),
5613
- _(d(Ki)),
5614
- _(d(Fi), { editor: f.value }, null, 8, ["editor"]),
5615
- _(d(Ta))
5615
+ _(d(Qi)),
5616
+ _(d(Ri), { editor: f.value }, null, 8, ["editor"]),
5617
+ _(d(Ba))
5616
5618
  ]),
5617
5619
  c("footer", null, [
5618
- _(d(Vr), {
5620
+ _(d(Ir), {
5619
5621
  "is-dark": d($),
5620
- "toggle-dark": d(P),
5621
- onToggleNotificationCenter: N
5622
+ "toggle-dark": d(N),
5623
+ onToggleNotificationCenter: P
5622
5624
  }, null, 8, ["is-dark", "toggle-dark"])
5623
5625
  ]),
5624
- _(d(Ia), { onFileRead: m }),
5625
- _(d(Hi)),
5626
- k.value ? (s(), V(d(fr), {
5626
+ _(d(Aa), { onFileRead: m }),
5627
+ _(d(Wi)),
5628
+ k.value ? (s(), V(d(hr), {
5627
5629
  key: 0,
5628
5630
  onClose: E
5629
5631
  })) : W("", !0)
@@ -5635,117 +5637,117 @@ const hi = (n) => (Xe("data-v-cd1a3c67"), n = n(), je(), n), _i = /* @__PURE__ *
5635
5637
  };
5636
5638
  }
5637
5639
  });
5638
- let Ye = !1;
5639
- const Ar = () => {
5640
- if (!Ye) {
5640
+ let Ge = !1;
5641
+ const Er = () => {
5642
+ if (!Ge) {
5641
5643
  const n = F.instance.commandManager;
5642
5644
  n.addCommand(
5643
5645
  Me.SYSTEMT_COMMAND_GROUP_NAME,
5644
5646
  "la",
5645
5647
  "la",
5646
- new Nr()
5648
+ new Fr()
5647
5649
  ), n.addCommand(
5648
5650
  Me.SYSTEMT_COMMAND_GROUP_NAME,
5649
5651
  "md",
5650
5652
  "md",
5651
- new Fr()
5653
+ new Rr()
5652
5654
  ), n.addCommand(
5653
5655
  Me.SYSTEMT_COMMAND_GROUP_NAME,
5654
5656
  "pttype",
5655
5657
  "pttype",
5656
- new Rr()
5657
- ), Ye = !0;
5658
+ new Or()
5659
+ ), Ge = !0;
5658
5660
  }
5659
5661
  };
5660
- let Ge = !1;
5661
- const Er = () => {
5662
- if (!Ge) {
5662
+ let qe = !1;
5663
+ const Nr = () => {
5664
+ if (!qe) {
5663
5665
  const { registerDialog: n } = xe();
5664
5666
  n({
5665
5667
  name: "ReplacementDlg",
5666
- component: Ie(oa),
5668
+ component: Ae(la),
5667
5669
  props: {}
5668
5670
  }), n({
5669
5671
  name: "PointStyleDlg",
5670
- component: Ie(na),
5672
+ component: Ae(oa),
5671
5673
  props: {}
5672
- }), Ge = !0;
5674
+ }), qe = !0;
5673
5675
  }
5674
5676
  }, Pr = (n = {}) => {
5675
- F.createInstance(n), Ar(), Er();
5677
+ F.createInstance(n), Er(), Nr();
5676
5678
  }, re = te({
5677
5679
  fileName: "",
5678
5680
  dialogs: {
5679
5681
  layerManager: !1
5680
5682
  }
5681
5683
  });
5682
- class Nr extends Te {
5684
+ class Fr extends Te {
5683
5685
  async execute(e) {
5684
5686
  re.dialogs.layerManager = !0;
5685
5687
  }
5686
5688
  }
5687
- class Fr extends Te {
5689
+ class Rr extends Te {
5688
5690
  async execute(e) {
5689
5691
  const { toggleDialog: t } = xe();
5690
5692
  t("ReplacementDlg", !0);
5691
5693
  }
5692
5694
  }
5693
- class Rr extends Te {
5695
+ class Or extends Te {
5694
5696
  async execute(e) {
5695
5697
  const { toggleDialog: t } = xe();
5696
5698
  t("PointStyleDlg", !0);
5697
5699
  }
5698
5700
  }
5699
5701
  export {
5700
- Nr as AcApLayerStateCmd,
5701
- Fr as AcApMissedDataCmd,
5702
- Rr as AcApPointStyleCmd,
5702
+ Fr as AcApLayerStateCmd,
5703
+ Rr as AcApMissedDataCmd,
5704
+ Or as AcApPointStyleCmd,
5703
5705
  De as MlBaseDialog,
5704
- ot as MlBaseDrawStyleToolbar,
5705
- us as MlBaseInputNumber,
5706
- vs as MlCadViewer,
5707
- Re as MlColorDropdown,
5708
- dt as MlColorIndexPicker,
5709
- it as MlColorPickerDlg,
5710
- Ta as MlDialogManager,
5711
- Ri as MlEntityDrawStyleToolbar,
5712
- Hi as MlEntityInfo,
5713
- Ia as MlFileReader,
5714
- Yi as MlLanguageSelector,
5715
- ps as MlLayerDrawStyleToolbar,
5716
- za as MlLineWeightSelect,
5717
- Xi as MlMainMenu,
5718
- fr as MlNotificationCenter,
5719
- rr as MlNotificationItem,
5720
- Fi as MlPaletteManager,
5721
- na as MlPointStyleDlg,
5722
- oa as MlReplacementDlg,
5723
- Vr as MlStatusBar,
5724
- mt as MlToggleButton,
5725
- Ki as MlToolBars,
5726
- at as colorName,
5706
+ lt as MlBaseDrawStyleToolbar,
5707
+ ds as MlBaseInputNumber,
5708
+ gs as MlCadViewer,
5709
+ Oe as MlColorDropdown,
5710
+ mt as MlColorIndexPicker,
5711
+ rt as MlColorPickerDlg,
5712
+ Ba as MlDialogManager,
5713
+ Oi as MlEntityDrawStyleToolbar,
5714
+ Wi as MlEntityInfo,
5715
+ Aa as MlFileReader,
5716
+ Gi as MlLanguageSelector,
5717
+ vs as MlLayerDrawStyleToolbar,
5718
+ Va as MlLineWeightSelect,
5719
+ ji as MlMainMenu,
5720
+ hr as MlNotificationCenter,
5721
+ sr as MlNotificationItem,
5722
+ Ri as MlPaletteManager,
5723
+ oa as MlPointStyleDlg,
5724
+ la as MlReplacementDlg,
5725
+ Ir as MlStatusBar,
5726
+ pt as MlToggleButton,
5727
+ Qi as MlToolBars,
5728
+ it as colorName,
5727
5729
  Pl as entityName,
5728
- Ne as entityPropEnum,
5730
+ Fe as entityPropEnum,
5729
5731
  Pe as entityPropName,
5730
5732
  ce as i18n,
5731
- Yl as isDark,
5732
- ms as toggleDark,
5733
- Fl as toolPaletteTabName,
5734
- Nl as toolPaletteTitle,
5735
- ds as useCommands,
5736
- Wl as useCurrentPos,
5733
+ Gl as isDark,
5734
+ ps as toggleDark,
5735
+ Rl as toolPaletteTabName,
5736
+ Fl as toolPaletteTitle,
5737
+ ms as useCommands,
5738
+ Yl as useCurrentPos,
5737
5739
  xe as useDialogManager,
5738
- Zl as useDocOpenMode,
5739
- rt as useEntityDrawStyle,
5740
- Xl as useFileTypes,
5741
- jl as useHover,
5742
- ta as useIsMobile,
5743
- st as useLayers,
5744
- Kl as useLayouts,
5745
- ct as useLocale,
5746
- ut as useMissedData,
5740
+ Xl as useDocOpenMode,
5741
+ st as useEntityDrawStyle,
5742
+ jl as useFileTypes,
5743
+ Kl as useHover,
5744
+ na as useIsMobile,
5745
+ ct as useLayers,
5746
+ Ql as useLayouts,
5747
+ ut as useLocale,
5748
+ dt as useMissedData,
5747
5749
  ke as useNotificationCenter,
5748
- Jl as useSelectionSet,
5750
+ ea as useSelectionSet,
5749
5751
  ue as useSettings,
5750
- ea as useSystemVars
5752
+ ta as useSystemVars
5751
5753
  };