@mlightcad/cad-viewer 1.3.0 → 1.3.1

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,7 +1,7 @@
1
1
  import "./index.css";
2
2
  import { AcApI18n as se, AcEdCommandStack as oe, AcApDocManager as A, eventBus as Q, AcApSettingManager as Z, AcApConvertToSvgCmd as Ke, AcApQNewCmd as Qe, AcApOpenCmd as Je, AcEdCommand as ke } from "@mlightcad/cad-simple-viewer";
3
3
  import "element-plus/dist/index.css";
4
- import { defineComponent as P, createElementBlock as b, openBlock as r, createElementVNode as c, computed as D, watch as N, nextTick as Ae, resolveComponent as B, createCommentVNode as H, createVNode as f, withCtx as g, normalizeStyle as q, createBlock as $, resolveDynamicComponent as ue, toDisplayString as V, unref as p, renderSlot as re, createTextVNode as F, ref as S, Fragment as O, renderList as W, reactive as j, onMounted as U, onUnmounted as le, withDirectives as et, withKeys as tt, vModelText as ot, mergeProps as nt, mergeModels as ie, useCssVars as Ne, useModel as pe, normalizeClass as ve, pushScopeId as Fe, popScopeId as Re, onBeforeUnmount as Oe, withModifiers as lt, markRaw as Le } from "vue";
4
+ import { defineComponent as P, createElementBlock as k, openBlock as r, createElementVNode as c, computed as D, watch as N, nextTick as Ae, resolveComponent as B, createCommentVNode as H, createVNode as f, withCtx as g, normalizeStyle as q, createBlock as $, resolveDynamicComponent as de, toDisplayString as V, unref as p, renderSlot as re, createTextVNode as R, ref as S, Fragment as O, renderList as W, reactive as j, onMounted as U, onUnmounted as le, withDirectives as et, withKeys as tt, vModelText as ot, mergeProps as nt, mergeModels as ie, useCssVars as Ne, useModel as ve, normalizeClass as ce, pushScopeId as Fe, popScopeId as Re, onBeforeUnmount as Oe, withModifiers as lt, markRaw as Le } from "vue";
5
5
  import { useDark as He, useToggle as Ye, useMediaQuery as at, useFullscreen as it } from "@vueuse/core";
6
6
  import { AcCmColor as ee, AcDbDatabaseConverterManager as st, acdbHostApplicationServices as Ge, AcCmColorMethod as rt } from "@mlightcad/data-model";
7
7
  import ct from "element-plus/es/locale/lang/en";
@@ -25,7 +25,7 @@ var St = /* @__PURE__ */ P({
25
25
  name: "Bell",
26
26
  __name: "bell",
27
27
  setup(o) {
28
- return (e, t) => (r(), b("svg", {
28
+ return (e, t) => (r(), k("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 1024 1024"
31
31
  }, [
@@ -47,7 +47,7 @@ var St = /* @__PURE__ */ P({
47
47
  name: "Check",
48
48
  __name: "check",
49
49
  setup(o) {
50
- return (e, t) => (r(), b("svg", {
50
+ return (e, t) => (r(), k("svg", {
51
51
  xmlns: "http://www.w3.org/2000/svg",
52
52
  viewBox: "0 0 1024 1024"
53
53
  }, [
@@ -61,7 +61,7 @@ var St = /* @__PURE__ */ P({
61
61
  name: "CircleCloseFilled",
62
62
  __name: "circle-close-filled",
63
63
  setup(o) {
64
- return (e, t) => (r(), b("svg", {
64
+ return (e, t) => (r(), k("svg", {
65
65
  xmlns: "http://www.w3.org/2000/svg",
66
66
  viewBox: "0 0 1024 1024"
67
67
  }, [
@@ -75,7 +75,7 @@ var St = /* @__PURE__ */ P({
75
75
  name: "Close",
76
76
  __name: "close",
77
77
  setup(o) {
78
- return (e, t) => (r(), b("svg", {
78
+ return (e, t) => (r(), k("svg", {
79
79
  xmlns: "http://www.w3.org/2000/svg",
80
80
  viewBox: "0 0 1024 1024"
81
81
  }, [
@@ -89,7 +89,7 @@ var St = /* @__PURE__ */ P({
89
89
  name: "Delete",
90
90
  __name: "delete",
91
91
  setup(o) {
92
- return (e, t) => (r(), b("svg", {
92
+ return (e, t) => (r(), k("svg", {
93
93
  xmlns: "http://www.w3.org/2000/svg",
94
94
  viewBox: "0 0 1024 1024"
95
95
  }, [
@@ -103,7 +103,7 @@ var St = /* @__PURE__ */ P({
103
103
  name: "InfoFilled",
104
104
  __name: "info-filled",
105
105
  setup(o) {
106
- return (e, t) => (r(), b("svg", {
106
+ return (e, t) => (r(), k("svg", {
107
107
  xmlns: "http://www.w3.org/2000/svg",
108
108
  viewBox: "0 0 1024 1024"
109
109
  }, [
@@ -117,7 +117,7 @@ var St = /* @__PURE__ */ P({
117
117
  name: "Menu",
118
118
  __name: "menu",
119
119
  setup(o) {
120
- return (e, t) => (r(), b("svg", {
120
+ return (e, t) => (r(), k("svg", {
121
121
  xmlns: "http://www.w3.org/2000/svg",
122
122
  viewBox: "0 0 1024 1024"
123
123
  }, [
@@ -131,7 +131,7 @@ var St = /* @__PURE__ */ P({
131
131
  name: "Moon",
132
132
  __name: "moon",
133
133
  setup(o) {
134
- return (e, t) => (r(), b("svg", {
134
+ return (e, t) => (r(), k("svg", {
135
135
  xmlns: "http://www.w3.org/2000/svg",
136
136
  viewBox: "0 0 1024 1024"
137
137
  }, [
@@ -145,7 +145,7 @@ var St = /* @__PURE__ */ P({
145
145
  name: "Operation",
146
146
  __name: "operation",
147
147
  setup(o) {
148
- return (e, t) => (r(), b("svg", {
148
+ return (e, t) => (r(), k("svg", {
149
149
  xmlns: "http://www.w3.org/2000/svg",
150
150
  viewBox: "0 0 1024 1024"
151
151
  }, [
@@ -159,7 +159,7 @@ var St = /* @__PURE__ */ P({
159
159
  name: "Setting",
160
160
  __name: "setting",
161
161
  setup(o) {
162
- return (e, t) => (r(), b("svg", {
162
+ return (e, t) => (r(), k("svg", {
163
163
  xmlns: "http://www.w3.org/2000/svg",
164
164
  viewBox: "0 0 1024 1024"
165
165
  }, [
@@ -173,7 +173,7 @@ var St = /* @__PURE__ */ P({
173
173
  name: "SuccessFilled",
174
174
  __name: "success-filled",
175
175
  setup(o) {
176
- return (e, t) => (r(), b("svg", {
176
+ return (e, t) => (r(), k("svg", {
177
177
  xmlns: "http://www.w3.org/2000/svg",
178
178
  viewBox: "0 0 1024 1024"
179
179
  }, [
@@ -187,7 +187,7 @@ var St = /* @__PURE__ */ P({
187
187
  name: "Sunny",
188
188
  __name: "sunny",
189
189
  setup(o) {
190
- return (e, t) => (r(), b("svg", {
190
+ return (e, t) => (r(), k("svg", {
191
191
  xmlns: "http://www.w3.org/2000/svg",
192
192
  viewBox: "0 0 1024 1024"
193
193
  }, [
@@ -201,7 +201,7 @@ var St = /* @__PURE__ */ P({
201
201
  name: "WarningFilled",
202
202
  __name: "warning-filled",
203
203
  setup(o) {
204
- return (e, t) => (r(), b("svg", {
204
+ return (e, t) => (r(), k("svg", {
205
205
  xmlns: "http://www.w3.org/2000/svg",
206
206
  viewBox: "0 0 1024 1024"
207
207
  }, [
@@ -215,7 +215,7 @@ var St = /* @__PURE__ */ P({
215
215
  name: "Warning",
216
216
  __name: "warning",
217
217
  setup(o) {
218
- return (e, t) => (r(), b("svg", {
218
+ return (e, t) => (r(), k("svg", {
219
219
  xmlns: "http://www.w3.org/2000/svg",
220
220
  viewBox: "0 0 1024 1024"
221
221
  }, [
@@ -233,7 +233,7 @@ const jt = {
233
233
  viewBox: "0 0 15 15"
234
234
  };
235
235
  function Kt(o, e) {
236
- return r(), b("svg", jt, e[0] || (e[0] = [
236
+ return r(), k("svg", jt, e[0] || (e[0] = [
237
237
  c("path", {
238
238
  fill: "currentColor",
239
239
  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"
@@ -247,7 +247,7 @@ const Be = { render: Kt }, Qt = {
247
247
  viewBox: "0 0 512 512"
248
248
  };
249
249
  function Jt(o, e) {
250
- return r(), b("svg", Qt, e[0] || (e[0] = [
250
+ return r(), k("svg", Qt, e[0] || (e[0] = [
251
251
  c("path", {
252
252
  fill: "none",
253
253
  stroke: "currentColor",
@@ -271,7 +271,7 @@ const eo = { render: Jt }, to = {
271
271
  viewBox: "0 0 1024 1024"
272
272
  };
273
273
  function oo(o, e) {
274
- return r(), b("svg", to, e[0] || (e[0] = [
274
+ return r(), k("svg", to, e[0] || (e[0] = [
275
275
  c("path", {
276
276
  fill: "currentColor",
277
277
  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"
@@ -295,7 +295,7 @@ const no = { render: oo }, lo = {
295
295
  viewBox: "0 0 20 20"
296
296
  };
297
297
  function ao(o, e) {
298
- return r(), b("svg", lo, e[0] || (e[0] = [
298
+ return r(), k("svg", lo, e[0] || (e[0] = [
299
299
  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)
300
300
  ]));
301
301
  }
@@ -306,7 +306,7 @@ const io = { render: ao }, so = {
306
306
  viewBox: "0 0 20 20"
307
307
  };
308
308
  function ro(o, e) {
309
- return r(), b("svg", so, e[0] || (e[0] = [
309
+ return r(), k("svg", so, e[0] || (e[0] = [
310
310
  c("path", {
311
311
  fill: "currentColor",
312
312
  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"
@@ -320,7 +320,7 @@ const co = { render: ro }, uo = {
320
320
  viewBox: "0 0 20 20"
321
321
  };
322
322
  function mo(o, e) {
323
- return r(), b("svg", uo, e[0] || (e[0] = [
323
+ return r(), k("svg", uo, e[0] || (e[0] = [
324
324
  c("path", {
325
325
  fill: "currentColor",
326
326
  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"
@@ -334,7 +334,7 @@ const po = { render: mo }, vo = {
334
334
  viewBox: "0 0 20 20"
335
335
  };
336
336
  function fo(o, e) {
337
- return r(), b("svg", vo, e[0] || (e[0] = [
337
+ return r(), k("svg", vo, e[0] || (e[0] = [
338
338
  c("path", {
339
339
  fill: "currentColor",
340
340
  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"
@@ -348,7 +348,7 @@ const go = { render: fo }, ho = {
348
348
  viewBox: "0 0 20 20"
349
349
  };
350
350
  function _o(o, e) {
351
- return r(), b("svg", ho, e[0] || (e[0] = [
351
+ return r(), k("svg", ho, e[0] || (e[0] = [
352
352
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
353
353
  ]));
354
354
  }
@@ -359,7 +359,7 @@ const yo = { render: _o }, wo = {
359
359
  viewBox: "0 0 20 20"
360
360
  };
361
361
  function bo(o, e) {
362
- return r(), b("svg", wo);
362
+ return r(), k("svg", wo);
363
363
  }
364
364
  const ko = { render: bo }, xo = {
365
365
  xmlns: "http://www.w3.org/2000/svg",
@@ -368,7 +368,7 @@ const ko = { render: bo }, xo = {
368
368
  viewBox: "0 0 20 20"
369
369
  };
370
370
  function Co(o, e) {
371
- return r(), b("svg", xo, e[0] || (e[0] = [
371
+ return r(), k("svg", xo, e[0] || (e[0] = [
372
372
  c("path", { d: "M2 9.5h16v1H2z" }, null, -1),
373
373
  c("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
374
374
  ]));
@@ -380,7 +380,7 @@ const Mo = { render: Co }, So = {
380
380
  viewBox: "0 0 20 20"
381
381
  };
382
382
  function Lo(o, e) {
383
- return r(), b("svg", So, e[0] || (e[0] = [
383
+ return r(), k("svg", So, e[0] || (e[0] = [
384
384
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
385
385
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
386
386
  ]));
@@ -392,7 +392,7 @@ const To = { render: Lo }, Bo = {
392
392
  viewBox: "0 0 20 20"
393
393
  };
394
394
  function Do(o, e) {
395
- return r(), b("svg", Bo, e[0] || (e[0] = [
395
+ return r(), k("svg", Bo, e[0] || (e[0] = [
396
396
  c("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
397
397
  ]));
398
398
  }
@@ -403,7 +403,7 @@ const zo = { render: Do }, $o = {
403
403
  viewBox: "0 0 20 20"
404
404
  };
405
405
  function Vo(o, e) {
406
- return r(), b("svg", $o, e[0] || (e[0] = [
406
+ return r(), k("svg", $o, e[0] || (e[0] = [
407
407
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
408
408
  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)
409
409
  ]));
@@ -415,7 +415,7 @@ const Po = { render: Vo }, Io = {
415
415
  viewBox: "0 0 20 20"
416
416
  };
417
417
  function Eo(o, e) {
418
- return r(), b("svg", Io, e[0] || (e[0] = [
418
+ return r(), k("svg", Io, e[0] || (e[0] = [
419
419
  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)
420
420
  ]));
421
421
  }
@@ -426,7 +426,7 @@ const Ao = { render: Eo }, No = {
426
426
  viewBox: "0 0 20 20"
427
427
  };
428
428
  function Fo(o, e) {
429
- return r(), b("svg", No, e[0] || (e[0] = [
429
+ return r(), k("svg", No, e[0] || (e[0] = [
430
430
  c("path", { d: "M3 9.5h14v1H3z" }, null, -1),
431
431
  c("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
432
432
  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)
@@ -439,7 +439,7 @@ const Ro = { render: Fo }, Oo = {
439
439
  viewBox: "0 0 20 20"
440
440
  };
441
441
  function Ho(o, e) {
442
- return r(), b("svg", Oo, e[0] || (e[0] = [
442
+ return r(), k("svg", Oo, e[0] || (e[0] = [
443
443
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
444
444
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
445
445
  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)
@@ -452,7 +452,7 @@ const Yo = { render: Ho }, Go = {
452
452
  viewBox: "0 0 20 20"
453
453
  };
454
454
  function Xo(o, e) {
455
- return r(), b("svg", Go, e[0] || (e[0] = [
455
+ return r(), k("svg", Go, e[0] || (e[0] = [
456
456
  c("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
457
457
  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)
458
458
  ]));
@@ -464,7 +464,7 @@ const Wo = { render: Xo }, Uo = {
464
464
  viewBox: "0 0 20 20"
465
465
  };
466
466
  function Zo(o, e) {
467
- return r(), b("svg", Uo, e[0] || (e[0] = [
467
+ return r(), k("svg", Uo, e[0] || (e[0] = [
468
468
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
469
469
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
470
470
  ]));
@@ -476,7 +476,7 @@ const qo = { render: Zo }, jo = {
476
476
  viewBox: "0 0 20 20"
477
477
  };
478
478
  function Ko(o, e) {
479
- return r(), b("svg", jo, e[0] || (e[0] = [
479
+ return r(), k("svg", jo, e[0] || (e[0] = [
480
480
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
481
481
  ]));
482
482
  }
@@ -487,7 +487,7 @@ const Qo = { render: Ko }, Jo = {
487
487
  viewBox: "0 0 20 20"
488
488
  };
489
489
  function en(o, e) {
490
- return r(), b("svg", Jo, e[0] || (e[0] = [
490
+ return r(), k("svg", Jo, e[0] || (e[0] = [
491
491
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
492
492
  c("path", { d: "M3 9.58h14v1H3z" }, null, -1),
493
493
  c("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
@@ -500,7 +500,7 @@ const tn = { render: en }, on = {
500
500
  viewBox: "0 0 20 20"
501
501
  };
502
502
  function nn(o, e) {
503
- return r(), b("svg", on, e[0] || (e[0] = [
503
+ return r(), k("svg", on, e[0] || (e[0] = [
504
504
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
505
505
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
506
506
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
@@ -513,7 +513,7 @@ const ln = { render: nn }, an = {
513
513
  viewBox: "0 0 20 20"
514
514
  };
515
515
  function sn(o, e) {
516
- return r(), b("svg", an, e[0] || (e[0] = [
516
+ return r(), k("svg", an, e[0] || (e[0] = [
517
517
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
518
518
  c("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
519
519
  ]));
@@ -525,7 +525,7 @@ const rn = { render: sn }, cn = {
525
525
  viewBox: "0 0 20 20"
526
526
  };
527
527
  function un(o, e) {
528
- return r(), b("svg", cn, e[0] || (e[0] = [
528
+ return r(), k("svg", cn, e[0] || (e[0] = [
529
529
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
530
530
  c("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
531
531
  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)
@@ -538,7 +538,7 @@ const dn = { render: un }, mn = {
538
538
  viewBox: "0 0 20 20"
539
539
  };
540
540
  function pn(o, e) {
541
- return r(), b("svg", mn, e[0] || (e[0] = [
541
+ return r(), k("svg", mn, e[0] || (e[0] = [
542
542
  c("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
543
543
  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)
544
544
  ]));
@@ -550,7 +550,7 @@ const vn = { render: pn }, fn = {
550
550
  viewBox: "0 0 20 20"
551
551
  };
552
552
  function gn(o, e) {
553
- return r(), b("svg", fn, e[0] || (e[0] = [
553
+ return r(), k("svg", fn, e[0] || (e[0] = [
554
554
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
555
555
  c("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
556
556
  c("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
@@ -564,7 +564,7 @@ const hn = { render: gn }, _n = {
564
564
  viewBox: "0 0 20 20"
565
565
  };
566
566
  function yn(o, e) {
567
- return r(), b("svg", _n, e[0] || (e[0] = [
567
+ return r(), k("svg", _n, e[0] || (e[0] = [
568
568
  c("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
569
569
  c("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
570
570
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
@@ -578,7 +578,7 @@ const wn = { render: yn }, bn = {
578
578
  viewBox: "0 0 20 20"
579
579
  };
580
580
  function kn(o, e) {
581
- return r(), b("svg", bn, e[0] || (e[0] = [
581
+ return r(), k("svg", bn, e[0] || (e[0] = [
582
582
  c("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
583
583
  c("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
584
584
  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)
@@ -613,8 +613,8 @@ const xn = { render: kn }, Cn = {
613
613
  );
614
614
  N(
615
615
  () => i.modelValue,
616
- async (h, k) => {
617
- h && !k && (n("open"), await Ae(), n("opened"));
616
+ async (h, x) => {
617
+ h && !x && (n("open"), await Ae(), n("opened"));
618
618
  }
619
619
  );
620
620
  function d() {
@@ -623,9 +623,9 @@ const xn = { render: kn }, Cn = {
623
623
  function s() {
624
624
  n("cancel"), n("update:modelValue", !1);
625
625
  }
626
- return (h, k) => {
626
+ return (h, x) => {
627
627
  const T = B("el-icon"), v = B("el-button"), m = B("el-config-provider");
628
- return o.modelValue ? (r(), b("div", Cn, [
628
+ return o.modelValue ? (r(), k("div", Cn, [
629
629
  c("div", {
630
630
  class: "ml-base-dialog-overlay",
631
631
  onClick: s
@@ -638,8 +638,8 @@ const xn = { render: kn }, Cn = {
638
638
  }, [
639
639
  c("div", Mn, [
640
640
  c("div", Sn, [
641
- l.value ? (r(), b("span", Ln, [
642
- (r(), $(ue(l.value), { class: "ml-base-dialog-icon" }))
641
+ l.value ? (r(), k("span", Ln, [
642
+ (r(), $(de(l.value), { class: "ml-base-dialog-icon" }))
643
643
  ])) : H("", !0),
644
644
  c("span", null, V(o.title), 1)
645
645
  ]),
@@ -667,7 +667,7 @@ const xn = { render: kn }, Cn = {
667
667
  c("div", Dn, [
668
668
  f(v, { onClick: s }, {
669
669
  default: g(() => [
670
- F(V(p(t)("dialog.baseDialog.cancel")), 1)
670
+ R(V(p(t)("dialog.baseDialog.cancel")), 1)
671
671
  ]),
672
672
  _: 1
673
673
  }),
@@ -676,7 +676,7 @@ const xn = { render: kn }, Cn = {
676
676
  onClick: d
677
677
  }, {
678
678
  default: g(() => [
679
- F(V(p(t)("dialog.baseDialog.ok")), 1)
679
+ R(V(p(t)("dialog.baseDialog.ok")), 1)
680
680
  ]),
681
681
  _: 1
682
682
  })
@@ -708,8 +708,8 @@ const xn = { render: kn }, Cn = {
708
708
  { label: "HEX", value: "hex" }
709
709
  ], d = (v, m) => {
710
710
  if (!v) return 0;
711
- const y = parseInt(v, m === "hex" ? 16 : m === "oct" ? 8 : 10);
712
- return Number.isNaN(y) ? 0 : y;
711
+ const b = parseInt(v, m === "hex" ? 16 : m === "oct" ? 8 : 10);
712
+ return Number.isNaN(b) ? 0 : b;
713
713
  }, s = (v, m) => Number.isNaN(v) ? "" : m === "hex" ? v.toString(16).toUpperCase() : m === "oct" ? v.toString(8) : v.toString(10), h = (v, m) => {
714
714
  switch (m) {
715
715
  case "dec":
@@ -719,7 +719,7 @@ const xn = { render: kn }, Cn = {
719
719
  case "hex":
720
720
  return v.replace(/[^0-9a-fA-F]/g, "");
721
721
  }
722
- }, k = (v) => {
722
+ }, x = (v) => {
723
723
  if (!t.editable) return;
724
724
  const m = h(v, n.value);
725
725
  l.value = m;
@@ -736,14 +736,14 @@ const xn = { render: kn }, Cn = {
736
736
  { immediate: !0 }
737
737
  ), N(n, (v) => {
738
738
  l.value = s(t.modelValue, v);
739
- }), (v, m) => (r(), b("div", $n, [
739
+ }), (v, m) => (r(), k("div", $n, [
740
740
  f(p(mt), {
741
741
  modelValue: l.value,
742
742
  "onUpdate:modelValue": m[0] || (m[0] = (u) => l.value = u),
743
743
  class: "ml-base-input-number__input",
744
744
  placeholder: v.placeholder,
745
745
  readonly: !v.editable,
746
- onInput: k,
746
+ onInput: x,
747
747
  onBlur: T,
748
748
  clearable: ""
749
749
  }, null, 8, ["modelValue", "placeholder", "readonly"]),
@@ -754,7 +754,7 @@ const xn = { render: kn }, Cn = {
754
754
  size: "small"
755
755
  }, {
756
756
  default: g(() => [
757
- (r(), b(O, null, W(a, (u) => f(p(vt), {
757
+ (r(), k(O, null, W(a, (u) => f(p(vt), {
758
758
  key: u.value,
759
759
  label: u.label,
760
760
  value: u.value
@@ -1644,15 +1644,15 @@ const ae = dt({
1644
1644
  h(v);
1645
1645
  }
1646
1646
  );
1647
- function k() {
1647
+ function x() {
1648
1648
  const v = new ee();
1649
1649
  if (a.value === "aci")
1650
1650
  d.value === 256 ? v.setByLayer() : d.value === 0 ? v.setByBlock() : v.colorIndex = d.value;
1651
1651
  else if (a.value === "rgb") {
1652
1652
  const m = s.value.replace(/^#/, "");
1653
1653
  if (m.length === 6) {
1654
- const u = parseInt(m.substring(0, 2), 16), y = parseInt(m.substring(2, 4), 16), M = parseInt(m.substring(4, 6), 16);
1655
- v.setRGB(u, y, M);
1654
+ const u = parseInt(m.substring(0, 2), 16), b = parseInt(m.substring(2, 4), 16), M = parseInt(m.substring(4, 6), 16);
1655
+ v.setRGB(u, b, M);
1656
1656
  }
1657
1657
  }
1658
1658
  n("ok", v);
@@ -1661,17 +1661,17 @@ const ae = dt({
1661
1661
  n("cancel", void 0);
1662
1662
  }
1663
1663
  return (v, m) => {
1664
- const u = B("el-tab-pane"), y = B("el-tabs");
1664
+ const u = B("el-tab-pane"), b = B("el-tabs");
1665
1665
  return r(), $(p(Ce), {
1666
1666
  modelValue: l.value,
1667
1667
  "onUpdate:modelValue": m[3] || (m[3] = (M) => l.value = M),
1668
1668
  title: v.title,
1669
1669
  width: 500,
1670
- onOk: k,
1670
+ onOk: x,
1671
1671
  onCancel: T
1672
1672
  }, {
1673
1673
  default: g(() => [
1674
- f(y, {
1674
+ f(b, {
1675
1675
  modelValue: a.value,
1676
1676
  "onUpdate:modelValue": m[2] || (m[2] = (M) => a.value = M)
1677
1677
  }, {
@@ -1745,20 +1745,20 @@ function qn(o) {
1745
1745
  const n = D(() => `${$e(e.value)}, ${$e(t.value)}`);
1746
1746
  return { x: e, y: t, text: n };
1747
1747
  }
1748
- const jn = He(), ss = Ye(jn), ce = j([]);
1748
+ const jn = He(), ss = Ye(jn), ue = j([]);
1749
1749
  function Kn(o) {
1750
- ce.find((t) => t.name === o.name) || ce.push({ ...o, visible: !1 });
1750
+ ue.find((t) => t.name === o.name) || ue.push({ ...o, visible: !1 });
1751
1751
  }
1752
1752
  function Qn(o, e) {
1753
- const t = ce.find((i) => i.name === o);
1753
+ const t = ue.find((i) => i.name === o);
1754
1754
  t && (t.visible = e);
1755
1755
  }
1756
1756
  function Jn(o) {
1757
- return ce.find((e) => e.name === o);
1757
+ return ue.find((e) => e.name === o);
1758
1758
  }
1759
1759
  function ge() {
1760
1760
  return {
1761
- dialogs: D(() => ce),
1761
+ dialogs: D(() => ue),
1762
1762
  registerDialog: Kn,
1763
1763
  toggleDialog: Qn,
1764
1764
  getDialogByName: Jn
@@ -1804,7 +1804,7 @@ function ol(o) {
1804
1804
  isInUse: a.isInUse,
1805
1805
  isOn: !a.isOff,
1806
1806
  isPlottable: a.isPlottable,
1807
- transparency: a.transparency,
1807
+ transparency: a.transparency.toString(),
1808
1808
  linetype: a.linetype,
1809
1809
  lineWeight: a.lineWeight
1810
1810
  });
@@ -1816,7 +1816,7 @@ function ol(o) {
1816
1816
  if (l) {
1817
1817
  l = l;
1818
1818
  const a = n.changes;
1819
- a.color != null && (l.color = a.color.toString()), a.isLocoked != null && (l.isLocked = a.isLocked), a.isHidden != null && (l.isHidden = a.isHidden), a.isInUse != null && (l.isInUse = a.isInUse), a.isOff != null && (l.isOn = !a.isOff), a.isPlottable != null && (l.isPlottable = a.isPlottable), a.transparency != null && (l.transparency = a.transparency), a.linetype != null && (l.linetype = a.linetype), a.lineWeight != null && (l.lineWeight = a.lineWeight);
1819
+ a.color != null && (l.color = a.color.toString()), a.isLocoked != null && (l.isLocked = a.isLocked), a.isHidden != null && (l.isHidden = a.isHidden), a.isInUse != null && (l.isInUse = a.isInUse), a.isOff != null && (l.isOn = !a.isOff), a.isPlottable != null && (l.isPlottable = a.isPlottable), a.transparency != null && (l.transparency = a.transparency.toString()), a.linetype != null && (l.linetype = a.linetype), a.lineWeight != null && (l.lineWeight = a.lineWeight);
1820
1820
  }
1821
1821
  }), o.events.documentActivated.addEventListener((n) => {
1822
1822
  e.length = 0, i(n.doc.database);
@@ -1851,8 +1851,8 @@ function Ze(o) {
1851
1851
  const { locale: e } = Y(), i = S((() => {
1852
1852
  const s = localStorage.getItem(we);
1853
1853
  if (s === "en" || s === "zh") return s;
1854
- const k = navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
1855
- return se.setCurrentLocale(k), k;
1854
+ const x = navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
1855
+ return se.setCurrentLocale(x), x;
1856
1856
  })()), n = D(() => i.value), l = (s) => {
1857
1857
  ae.global.locale.value = s, i.value = s, (!o || o === "default") && localStorage.setItem(we, s), se.setCurrentLocale(s);
1858
1858
  }, a = () => {
@@ -2015,7 +2015,7 @@ function al() {
2015
2015
  removed: t
2016
2016
  };
2017
2017
  }
2018
- function de() {
2018
+ function me() {
2019
2019
  const o = j(
2020
2020
  Z.instance.settings
2021
2021
  );
@@ -2089,11 +2089,11 @@ const rl = /* @__PURE__ */ P({
2089
2089
  n.value = l[T][v].id;
2090
2090
  }, h = () => {
2091
2091
  A.instance.curDocument.database.pdmode = n.value;
2092
- }, k = () => {
2092
+ }, x = () => {
2093
2093
  a();
2094
2094
  };
2095
2095
  return (T, v) => {
2096
- const m = B("el-button"), u = B("el-col"), y = B("el-row");
2096
+ const m = B("el-button"), u = B("el-col"), b = B("el-row");
2097
2097
  return r(), $(Ce, {
2098
2098
  title: p(e)("dialog.pointStyleDlg.title"),
2099
2099
  width: 400,
@@ -2101,17 +2101,17 @@ const rl = /* @__PURE__ */ P({
2101
2101
  "onUpdate:modelValue": v[0] || (v[0] = (M) => i.value = M),
2102
2102
  name: "PointStyleDlg",
2103
2103
  onOk: h,
2104
- onCancel: k
2104
+ onCancel: x
2105
2105
  }, {
2106
2106
  default: g(() => [
2107
- (r(), b(O, null, W(l, (M, I) => f(y, {
2107
+ (r(), k(O, null, W(l, (M, I) => f(b, {
2108
2108
  key: I,
2109
2109
  style: { "margin-top": "10px" },
2110
2110
  gutter: 6,
2111
2111
  justify: "space-between"
2112
2112
  }, {
2113
2113
  default: g(() => [
2114
- (r(!0), b(O, null, W(M, (L, C) => (r(), $(u, {
2114
+ (r(!0), k(O, null, W(M, (L, C) => (r(), $(u, {
2115
2115
  key: C,
2116
2116
  span: 4
2117
2117
  }, {
@@ -2119,7 +2119,7 @@ const rl = /* @__PURE__ */ P({
2119
2119
  f(m, {
2120
2120
  icon: L.icon,
2121
2121
  type: d(I, C),
2122
- onClick: (w) => s(I, C),
2122
+ onClick: (y) => s(I, C),
2123
2123
  style: { "font-size": "25px" }
2124
2124
  }, null, 8, ["icon", "type", "onClick"])
2125
2125
  ]),
@@ -2141,31 +2141,31 @@ const rl = /* @__PURE__ */ P({
2141
2141
  d.value = m.map((u) => u.name[0]);
2142
2142
  }, h = () => {
2143
2143
  const m = A.instance.curDocument.database;
2144
- i.forEach((y) => {
2145
- y.file && y.ids.forEach((M) => {
2144
+ i.forEach((b) => {
2145
+ b.file && b.ids.forEach((M) => {
2146
2146
  const I = m.tables.blockTable.modelSpace.getIdAt(
2147
2147
  M
2148
2148
  );
2149
- I.image = y.file, I.triggerModifiedEvent();
2149
+ I.image = b.file, I.triggerModifiedEvent();
2150
2150
  });
2151
2151
  });
2152
2152
  const u = Z.instance;
2153
- t.forEach((y, M) => {
2154
- M && y && u.setFontMapping(M, y);
2153
+ t.forEach((b, M) => {
2154
+ M && b && u.setFontMapping(M, b);
2155
2155
  });
2156
- }, k = (m) => {
2156
+ }, x = (m) => {
2157
2157
  a.value && (a.value.click(), a.value.onchange = () => {
2158
2158
  T(m);
2159
2159
  });
2160
2160
  }, T = (m) => {
2161
- var y, M;
2162
- const u = (M = (y = a.value) == null ? void 0 : y.files) == null ? void 0 : M[0];
2161
+ var b, M;
2162
+ const u = (M = (b = a.value) == null ? void 0 : b.files) == null ? void 0 : M[0];
2163
2163
  u && (m.file = u);
2164
2164
  }, v = (m, u) => {
2165
2165
  t.set(m, u);
2166
2166
  };
2167
2167
  return (m, u) => {
2168
- const y = B("el-col"), M = B("el-row"), I = B("el-option"), L = B("el-select"), C = B("el-tab-pane"), w = B("el-table-column"), x = B("el-button"), _ = B("el-table"), z = B("el-tabs");
2168
+ const b = B("el-col"), M = B("el-row"), I = B("el-option"), L = B("el-select"), C = B("el-tab-pane"), y = B("el-table-column"), w = B("el-button"), _ = B("el-table"), z = B("el-tabs");
2169
2169
  return r(), $(Ce, {
2170
2170
  title: p(e)("dialog.replacementDlg.title"),
2171
2171
  modelValue: n.value,
@@ -2190,13 +2190,13 @@ const rl = /* @__PURE__ */ P({
2190
2190
  c("div", null, [
2191
2191
  f(M, null, {
2192
2192
  default: g(() => [
2193
- f(y, { span: 12 }, {
2193
+ f(b, { span: 12 }, {
2194
2194
  default: g(() => [
2195
2195
  c("span", null, V(p(e)("dialog.replacementDlg.missedFont")), 1)
2196
2196
  ]),
2197
2197
  _: 1
2198
2198
  }),
2199
- f(y, { span: 12 }, {
2199
+ f(b, { span: 12 }, {
2200
2200
  default: g(() => [
2201
2201
  c("span", null, V(p(e)("dialog.replacementDlg.replacedFont")), 1)
2202
2202
  ]),
@@ -2205,27 +2205,27 @@ const rl = /* @__PURE__ */ P({
2205
2205
  ]),
2206
2206
  _: 1
2207
2207
  }),
2208
- (r(!0), b(O, null, W(p(t), ([E, R]) => (r(), $(M, {
2208
+ (r(!0), k(O, null, W(p(t), ([E, F]) => (r(), $(M, {
2209
2209
  key: E,
2210
2210
  style: { "margin-top": "10px" }
2211
2211
  }, {
2212
2212
  default: g(() => [
2213
- f(y, { span: 12 }, {
2213
+ f(b, { span: 12 }, {
2214
2214
  default: g(() => [
2215
2215
  c("span", null, V(E), 1)
2216
2216
  ]),
2217
2217
  _: 2
2218
2218
  }, 1024),
2219
- f(y, { span: 12 }, {
2219
+ f(b, { span: 12 }, {
2220
2220
  default: g(() => [
2221
2221
  f(L, {
2222
- "model-value": R,
2222
+ "model-value": F,
2223
2223
  placeholder: p(e)("dialog.replacementDlg.selectFont"),
2224
2224
  "onUpdate:modelValue": (K) => v(E, K),
2225
2225
  style: { width: "100%" }
2226
2226
  }, {
2227
2227
  default: g(() => [
2228
- (r(!0), b(O, null, W(d.value, (K, ye) => (r(), $(I, {
2228
+ (r(!0), k(O, null, W(d.value, (K, ye) => (r(), $(I, {
2229
2229
  key: ye,
2230
2230
  label: K,
2231
2231
  value: K
@@ -2255,26 +2255,26 @@ const rl = /* @__PURE__ */ P({
2255
2255
  "v-show": !1
2256
2256
  }, {
2257
2257
  default: g(() => [
2258
- f(w, {
2258
+ f(y, {
2259
2259
  label: p(e)("dialog.replacementDlg.file"),
2260
2260
  prop: "fileName",
2261
2261
  "min-width": 0,
2262
2262
  flex: 1
2263
2263
  }, null, 8, ["label"]),
2264
- f(w, {
2264
+ f(y, {
2265
2265
  label: p(e)("dialog.replacementDlg.replace"),
2266
2266
  fixed: "right",
2267
2267
  width: "60"
2268
2268
  }, {
2269
2269
  default: g(({ row: E }) => [
2270
- f(x, {
2270
+ f(w, {
2271
2271
  link: "",
2272
2272
  type: "primary",
2273
2273
  size: "small",
2274
- onClick: (R) => k(E)
2274
+ onClick: (F) => x(E)
2275
2275
  }, {
2276
2276
  default: g(() => u[2] || (u[2] = [
2277
- F(" ... ", -1)
2277
+ R(" ... ", -1)
2278
2278
  ])),
2279
2279
  _: 2,
2280
2280
  __: [2]
@@ -2329,7 +2329,7 @@ const rl = /* @__PURE__ */ P({
2329
2329
  { key: "aci-4", name: "Cyan" },
2330
2330
  { key: "aci-5", name: "Blue" },
2331
2331
  { key: "aci-6", name: "Magenta" }
2332
- ], k = D(
2332
+ ], x = D(
2333
2333
  () => h.map((L) => ({
2334
2334
  ...L,
2335
2335
  i18nName: We(L.name)
@@ -2342,14 +2342,14 @@ const rl = /* @__PURE__ */ P({
2342
2342
  }
2343
2343
  if (L === "custom-trigger") {
2344
2344
  if (t.onCustomColorSelected) {
2345
- const w = await t.onCustomColorSelected(t.modelValue);
2346
- w ? (i("update:modelValue", w), a.value = u(w)) : a.value = u(t.modelValue);
2345
+ const y = await t.onCustomColorSelected(t.modelValue);
2346
+ y ? (i("update:modelValue", y), a.value = u(y)) : a.value = u(t.modelValue);
2347
2347
  return;
2348
2348
  }
2349
2349
  l.value = !0;
2350
2350
  return;
2351
2351
  }
2352
- const C = y(L);
2352
+ const C = b(L);
2353
2353
  i("update:modelValue", C);
2354
2354
  }
2355
2355
  function v(L) {
@@ -2361,14 +2361,14 @@ const rl = /* @__PURE__ */ P({
2361
2361
  function u(L) {
2362
2362
  return L ? L.isByLayer ? "bylayer" : L.isByBlock ? "byblock" : L.isByACI ? `aci-${L.colorIndex}` : L.isByColor ? `rgb-${L.red}-${L.green}-${L.blue}` : "" : "";
2363
2363
  }
2364
- function y(L) {
2364
+ function b(L) {
2365
2365
  const C = new ee();
2366
2366
  if (L === "bylayer") C.setByLayer();
2367
2367
  else if (L === "byblock") C.setByBlock();
2368
2368
  else if (L.startsWith("aci-")) C.colorIndex = Number(L.substring(4));
2369
2369
  else if (L.startsWith("rgb-")) {
2370
- const [w, x, _, z] = L.split("-");
2371
- C.setRGB(Number(x), Number(_), Number(z));
2370
+ const [y, w, _, z] = L.split("-");
2371
+ C.setRGB(Number(w), Number(_), Number(z));
2372
2372
  }
2373
2373
  return C;
2374
2374
  }
@@ -2377,19 +2377,19 @@ const rl = /* @__PURE__ */ P({
2377
2377
  if (L.startsWith("aci-"))
2378
2378
  return new ee(rt.ByACI, Number(L.substring(4))).cssColor ?? "";
2379
2379
  if (L.startsWith("rgb-")) {
2380
- const [C, w, x, _] = L.split("-");
2381
- return `rgb(${w}, ${x}, ${_})`;
2380
+ const [C, y, w, _] = L.split("-");
2381
+ return `rgb(${y}, ${w}, ${_})`;
2382
2382
  }
2383
2383
  return "#FFFFFF";
2384
2384
  }
2385
2385
  function I(L) {
2386
- const C = k.value.find((w) => w.key === L);
2386
+ const C = x.value.find((y) => y.key === L);
2387
2387
  return C ? C.i18nName : L.startsWith("rgb-") ? n("main.colors.CustomColor") : "";
2388
2388
  }
2389
2389
  return (L, C) => {
2390
- const w = B("el-option"), x = B("el-select");
2391
- return r(), b("div", null, [
2392
- f(x, {
2390
+ const y = B("el-option"), w = B("el-select");
2391
+ return r(), k("div", null, [
2392
+ f(w, {
2393
2393
  modelValue: a.value,
2394
2394
  "onUpdate:modelValue": C[0] || (C[0] = (_) => a.value = _),
2395
2395
  onChange: T,
@@ -2405,7 +2405,7 @@ const rl = /* @__PURE__ */ P({
2405
2405
  ])
2406
2406
  ]),
2407
2407
  default: g(() => [
2408
- (r(!0), b(O, null, W(k.value, (_) => (r(), $(w, {
2408
+ (r(!0), k(O, null, W(x.value, (_) => (r(), $(y, {
2409
2409
  key: _.key,
2410
2410
  label: _.i18nName,
2411
2411
  value: _.key
@@ -2421,7 +2421,7 @@ const rl = /* @__PURE__ */ P({
2421
2421
  ]),
2422
2422
  _: 2
2423
2423
  }, 1032, ["label", "value"]))), 128)),
2424
- f(w, {
2424
+ f(y, {
2425
2425
  key: "custom-trigger",
2426
2426
  value: "custom-trigger",
2427
2427
  label: p(n)("main.colorDropdown.custom"),
@@ -2456,25 +2456,25 @@ const rl = /* @__PURE__ */ P({
2456
2456
  },
2457
2457
  emits: ["update:modelValue"],
2458
2458
  setup(o, { emit: e }) {
2459
- const t = e, i = o, { t: n } = Y(), l = Array.from({ length: 9 }, (C, w) => w + 1), a = Array.from({ length: 240 }, (C, w) => w + 10), d = Array.from({ length: 6 }, (C, w) => w + 250), s = S(i.modelValue ?? null), h = S(
2459
+ const t = e, i = o, { t: n } = Y(), l = Array.from({ length: 9 }, (C, y) => y + 1), a = Array.from({ length: 240 }, (C, y) => y + 10), d = Array.from({ length: 6 }, (C, y) => y + 250), s = S(i.modelValue ?? null), h = S(
2460
2460
  i.modelValue != null ? String(i.modelValue) : ""
2461
- ), k = S(null), T = S({ r: 0, g: 0, b: 0 }), v = (C) => {
2462
- const w = new ee();
2463
- return w.colorIndex = C, w.cssColor || "#FFF";
2461
+ ), x = S(null), T = S({ r: 0, g: 0, b: 0 }), v = (C) => {
2462
+ const y = new ee();
2463
+ return y.colorIndex = C, y.cssColor || "#FFF";
2464
2464
  };
2465
2465
  function m(C) {
2466
- k.value = C;
2467
- const w = new ee();
2468
- w.colorIndex = C, T.value = {
2469
- r: w.red ?? 0,
2470
- g: w.green ?? 0,
2471
- b: w.blue ?? 0
2466
+ x.value = C;
2467
+ const y = new ee();
2468
+ y.colorIndex = C, T.value = {
2469
+ r: y.red ?? 0,
2470
+ g: y.green ?? 0,
2471
+ b: y.blue ?? 0
2472
2472
  };
2473
2473
  }
2474
2474
  function u() {
2475
- k.value = null;
2475
+ x.value = null;
2476
2476
  }
2477
- function y(C) {
2477
+ function b(C) {
2478
2478
  s.value = C, h.value = C.toString(), t("update:modelValue", C);
2479
2479
  }
2480
2480
  N(
@@ -2485,14 +2485,14 @@ const rl = /* @__PURE__ */ P({
2485
2485
  );
2486
2486
  function M() {
2487
2487
  const C = h.value.trim().toUpperCase();
2488
- if (C === "BYLAYER") return y(256);
2489
- if (C === "BYBLOCK") return y(0);
2490
- const w = Number(C);
2491
- if (!Number.isInteger(w) || w < 0 || w > 256) {
2488
+ if (C === "BYLAYER") return b(256);
2489
+ if (C === "BYBLOCK") return b(0);
2490
+ const y = Number(C);
2491
+ if (!Number.isInteger(y) || y < 0 || y > 256) {
2492
2492
  h.value = "";
2493
2493
  return;
2494
2494
  }
2495
- y(w);
2495
+ b(y);
2496
2496
  }
2497
2497
  const I = D(() => s.value == null ? "" : s.value), L = D(() => {
2498
2498
  if (s.value == null || s.value === 0 || s.value === 256)
@@ -2500,47 +2500,47 @@ const rl = /* @__PURE__ */ P({
2500
2500
  const C = new ee();
2501
2501
  return C.colorIndex = s.value, `${C.red}, ${C.green}, ${C.blue}`;
2502
2502
  });
2503
- return (C, w) => (r(), b("div", hl, [
2503
+ return (C, y) => (r(), k("div", hl, [
2504
2504
  c("div", _l, [
2505
- (r(!0), b(O, null, W(p(a), (x) => (r(), b("div", {
2506
- key: x,
2505
+ (r(!0), k(O, null, W(p(a), (w) => (r(), k("div", {
2506
+ key: w,
2507
2507
  class: "ml-aci-color-cell",
2508
- style: q({ background: v(x) }),
2509
- onMouseenter: (_) => m(x),
2508
+ style: q({ background: v(w) }),
2509
+ onMouseenter: (_) => m(w),
2510
2510
  onMouseleave: u,
2511
- onClick: (_) => y(x)
2511
+ onClick: (_) => b(w)
2512
2512
  }, null, 44, yl))), 128))
2513
2513
  ]),
2514
2514
  c("div", wl, [
2515
2515
  c("div", bl, [
2516
- (r(!0), b(O, null, W(p(l), (x) => (r(), b("div", {
2517
- key: x,
2516
+ (r(!0), k(O, null, W(p(l), (w) => (r(), k("div", {
2517
+ key: w,
2518
2518
  class: "ml-aci-color-cell",
2519
- style: q({ background: v(x) }),
2520
- onMouseenter: (_) => m(x),
2519
+ style: q({ background: v(w) }),
2520
+ onMouseenter: (_) => m(w),
2521
2521
  onMouseleave: u,
2522
- onClick: (_) => y(x)
2522
+ onClick: (_) => b(w)
2523
2523
  }, null, 44, kl))), 128))
2524
2524
  ]),
2525
2525
  c("div", xl, [
2526
2526
  c("button", {
2527
2527
  type: "button",
2528
- onClick: w[0] || (w[0] = (x) => y(256))
2528
+ onClick: y[0] || (y[0] = (w) => b(256))
2529
2529
  }, "ByLayer"),
2530
2530
  c("button", {
2531
2531
  type: "button",
2532
- onClick: w[1] || (w[1] = (x) => y(0))
2532
+ onClick: y[1] || (y[1] = (w) => b(0))
2533
2533
  }, "ByBlock")
2534
2534
  ])
2535
2535
  ]),
2536
2536
  c("div", Cl, [
2537
- (r(!0), b(O, null, W(p(d), (x) => (r(), b("div", {
2538
- key: x,
2537
+ (r(!0), k(O, null, W(p(d), (w) => (r(), k("div", {
2538
+ key: w,
2539
2539
  class: "ml-aci-color-cell",
2540
- style: q({ background: v(x) }),
2541
- onMouseenter: (_) => m(x),
2540
+ style: q({ background: v(w) }),
2541
+ onMouseenter: (_) => m(w),
2542
2542
  onMouseleave: u,
2543
- onClick: (_) => y(x)
2543
+ onClick: (_) => b(w)
2544
2544
  }, null, 44, Ml))), 128))
2545
2545
  ]),
2546
2546
  c("div", Sl, [
@@ -2552,7 +2552,7 @@ const rl = /* @__PURE__ */ P({
2552
2552
  c("div", zl, [
2553
2553
  c("span", null, V(p(n)("main.colorIndexPicker.color")), 1),
2554
2554
  et(c("input", {
2555
- "onUpdate:modelValue": w[2] || (w[2] = (x) => h.value = x),
2555
+ "onUpdate:modelValue": y[2] || (y[2] = (w) => h.value = w),
2556
2556
  onKeydown: tt(M, ["enter"]),
2557
2557
  placeholder: p(n)("main.colorIndexPicker.inputPlaceholder")
2558
2558
  }, null, 40, $l), [
@@ -2576,10 +2576,10 @@ const rl = /* @__PURE__ */ P({
2576
2576
  return e({
2577
2577
  toggleDialog: i,
2578
2578
  registerDialog: n
2579
- }), (l, a) => (r(!0), b(O, null, W(p(t), (d) => (r(), b("div", {
2579
+ }), (l, a) => (r(!0), k(O, null, W(p(t), (d) => (r(), k("div", {
2580
2580
  key: d.name
2581
2581
  }, [
2582
- (r(), $(ue(d.component), nt({
2582
+ (r(), $(de(d.component), nt({
2583
2583
  modelValue: d.visible,
2584
2584
  "onUpdate:modelValue": (s) => d.visible = s
2585
2585
  }, { ref_for: !0 }, d.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
@@ -2592,8 +2592,8 @@ const rl = /* @__PURE__ */ P({
2592
2592
  const t = e, i = S(null), n = el(), l = D(() => {
2593
2593
  const d = Array.from(n.value);
2594
2594
  let s = "";
2595
- for (let h = 0, k = d.length; h < k; ++h)
2596
- h == k - 1 ? s += `.${d[h]}` : s += `.${d[h]}, `;
2595
+ for (let h = 0, x = d.length; h < x; ++h)
2596
+ h == x - 1 ? s += `.${d[h]}` : s += `.${d[h]}, `;
2597
2597
  return s;
2598
2598
  });
2599
2599
  U(() => {
@@ -2603,8 +2603,8 @@ const rl = /* @__PURE__ */ P({
2603
2603
  });
2604
2604
  });
2605
2605
  const a = (d) => {
2606
- var k;
2607
- const h = (k = d.target.files) == null ? void 0 : k[0];
2606
+ var x;
2607
+ const h = (x = d.target.files) == null ? void 0 : x[0];
2608
2608
  if (h && h.name) {
2609
2609
  const T = new FileReader();
2610
2610
  T.readAsArrayBuffer(h), T.onload = (v) => {
@@ -2616,7 +2616,7 @@ const rl = /* @__PURE__ */ P({
2616
2616
  };
2617
2617
  }
2618
2618
  };
2619
- return (d, s) => (r(), b("input", {
2619
+ return (d, s) => (r(), k("input", {
2620
2620
  type: "file",
2621
2621
  ref_key: "fileInput",
2622
2622
  ref: i,
@@ -2639,10 +2639,10 @@ const rl = /* @__PURE__ */ P({
2639
2639
  Ne((h) => ({
2640
2640
  a97b120a: a.value
2641
2641
  }));
2642
- const t = o, i = pe(o, "modelValue"), n = e, l = D(() => i.value ? t.data.onIcon : t.data.offIcon), a = D(() => t.size + "px"), d = D(() => i.value ? t.data.onTooltip : t.data.offTooltip), s = () => {
2642
+ const t = o, i = ve(o, "modelValue"), n = e, l = D(() => i.value ? t.data.onIcon : t.data.offIcon), a = D(() => t.size + "px"), d = D(() => i.value ? t.data.onTooltip : t.data.offTooltip), s = () => {
2643
2643
  n("click", i.value);
2644
2644
  };
2645
- return (h, k) => {
2645
+ return (h, x) => {
2646
2646
  const T = B("el-button"), v = B("el-tooltip");
2647
2647
  return r(), $(v, {
2648
2648
  content: d.value,
@@ -2664,7 +2664,7 @@ const rl = /* @__PURE__ */ P({
2664
2664
  try {
2665
2665
  if (typeof document < "u") {
2666
2666
  var o = document.createElement("style");
2667
- o.appendChild(document.createTextNode(".ml-dropdown-icon[data-v-3fc33b5d],.ml-dropdown-icon[data-v-3fc33b5d]:hover{outline:none;border:none}.ml-status-bar[data-v-d6a59cf0]{position:fixed;bottom:0;left:0;right:0;height:30px;display:flex;justify-content:space-between;align-items:center;background-color:var(--el-fill-color);box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-status-bar-left[data-v-d6a59cf0],.ml-status-bar-right[data-v-d6a59cf0]{display:flex;align-items:center}.ml-status-bar-left[data-v-d6a59cf0]>*{margin-right:10px}.ml-status-bar-right[data-v-d6a59cf0]>*{margin-left:10px}.ml-toggle-button[data-v-b676e93b]{border:none;padding:0;cursor:pointer;width:var(--0547f26d);height:var(--0547f26d)}.ml-vertical-toolbar-button-group[data-v-c6504e33]{display:flex;flex-direction:column;background-color:var(--el-fill-color)}.ml-horizontal-toolbar-button-group[data-v-c6504e33]{display:flex;flex-direction:row;background-color:var(--el-fill-color)}.ml-toolbar-button[data-v-c6504e33]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}.ml-toolbar-button-text[data-v-c6504e33]{margin-left:0;margin-top:5px}.ml-tool-palette-dialog[data-v-43098ce9]{cursor:default;width:300px;min-width:var(--collapsed-width);position:fixed;box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-tool-palette-dialog-icon[data-v-43098ce9]{border-bottom:1px solid var(--el-border-color);cursor:default}.ml-tool-palette-dialog-icon[data-v-43098ce9]:hover{color:var(--el-color-primary)}.ml-tool-palette-dialog-layout[data-v-43098ce9]{display:flex;height:100%}.ml-tool-palette-title-bar[data-v-43098ce9]{width:var(--collapsed-width);display:flex;justify-content:left;align-items:center;cursor:move;writing-mode:vertical-rl;text-align:center;background-color:var(--el-fill-color)}.ml-tool-palette-title[data-v-43098ce9]{pointer-events:none;margin-top:10px;margin-bottom:10px;font-size:small;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-tool-palette-content[data-v-43098ce9]{-webkit-user-select:none;user-select:none;flex-grow:1;display:flex;flex-direction:column;background-color:var(--el-fill-color);overflow:hidden}.ml-tool-palette-tabs[data-v-43098ce9]{display:flex;flex-direction:column;height:100%;flex:1}.ml-tool-palette-tabs[data-v-43098ce9] .el-tabs{display:flex;flex-direction:column;height:100%}.ml-tool-palette-tabs[data-v-43098ce9] .el-tabs__header{margin:0;border-bottom:none;order:1;flex-shrink:0;position:relative}.ml-tool-palette-tabs[data-v-43098ce9] .el-tabs__content{flex:1;overflow:auto;padding:0;order:2;min-height:0;position:relative}.ml-tool-palette-tabs[data-v-43098ce9] .el-tab-pane{height:100%;overflow:auto}.ml-tool-palette-default-content[data-v-43098ce9]{flex:1;overflow:auto;display:flex;flex-direction:column}.ml-tool-palette-dialog-layout.left .ml-tool-palette-title-bar[data-v-43098ce9]{order:1}.ml-tool-palette-dialog-layout.left .ml-tool-palette-content[data-v-43098ce9],.ml-tool-palette-dialog-layout.right .ml-tool-palette-title-bar[data-v-43098ce9]{order:2}.ml-tool-palette-dialog-layout.right .ml-tool-palette-content[data-v-43098ce9]{order:1}")), document.head.appendChild(o);
2667
+ o.appendChild(document.createTextNode(".ml-dropdown-icon[data-v-3fc33b5d],.ml-dropdown-icon[data-v-3fc33b5d]:hover{outline:none;border:none}.ml-status-bar[data-v-d6a59cf0]{position:fixed;bottom:0;left:0;right:0;height:30px;display:flex;justify-content:space-between;align-items:center;background-color:var(--el-fill-color);box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-status-bar-left[data-v-d6a59cf0],.ml-status-bar-right[data-v-d6a59cf0]{display:flex;align-items:center}.ml-status-bar-left[data-v-d6a59cf0]>*{margin-right:10px}.ml-status-bar-right[data-v-d6a59cf0]>*{margin-left:10px}.ml-toggle-button[data-v-5adaeb5a]{border:none;padding:0;cursor:pointer;width:var(--021a85e9);height:var(--021a85e9)}.ml-vertical-toolbar-button-group[data-v-c6504e33]{display:flex;flex-direction:column;background-color:var(--el-fill-color)}.ml-horizontal-toolbar-button-group[data-v-c6504e33]{display:flex;flex-direction:row;background-color:var(--el-fill-color)}.ml-toolbar-button[data-v-c6504e33]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}.ml-toolbar-button-text[data-v-c6504e33]{margin-left:0;margin-top:5px}.ml-tool-palette-dialog[data-v-cd1a3c67]{cursor:default;width:300px;min-width:var(--collapsed-width);position:fixed;box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-tool-palette-disabled[data-v-cd1a3c67]{pointer-events:none;opacity:.6}.ml-tool-palette-dialog-icon[data-v-cd1a3c67]{border-bottom:1px solid var(--el-border-color);cursor:default}.ml-tool-palette-dialog-icon[data-v-cd1a3c67]:hover{color:var(--el-color-primary)}.ml-tool-palette-dialog-layout[data-v-cd1a3c67]{display:flex;height:100%}.ml-tool-palette-title-bar[data-v-cd1a3c67]{width:var(--collapsed-width);display:flex;justify-content:left;align-items:center;cursor:move;writing-mode:vertical-rl;text-align:center;background-color:var(--el-fill-color)}.ml-tool-palette-title[data-v-cd1a3c67]{pointer-events:none;margin-top:10px;margin-bottom:10px;font-size:small;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-tool-palette-content[data-v-cd1a3c67]{-webkit-user-select:none;user-select:none;flex-grow:1;display:flex;flex-direction:column;background-color:var(--el-fill-color);overflow:hidden}.ml-tool-palette-tabs[data-v-cd1a3c67]{display:flex;flex-direction:column;height:100%;flex:1}.ml-tool-palette-tabs[data-v-cd1a3c67] .el-tabs{display:flex;flex-direction:column;height:100%}.ml-tool-palette-tabs[data-v-cd1a3c67] .el-tabs__header{margin:0;border-bottom:none;order:1;flex-shrink:0;position:relative}.ml-tool-palette-tabs[data-v-cd1a3c67] .el-tabs__content{flex:1;overflow:auto;padding:0;order:2;min-height:0;position:relative}.ml-tool-palette-tabs[data-v-cd1a3c67] .el-tab-pane{height:100%;overflow:auto}.ml-tool-palette-default-content[data-v-cd1a3c67]{flex:1;overflow:auto;display:flex;flex-direction:column}.ml-tool-palette-dialog-layout.left .ml-tool-palette-title-bar[data-v-cd1a3c67]{order:1}.ml-tool-palette-dialog-layout.left .ml-tool-palette-content[data-v-cd1a3c67],.ml-tool-palette-dialog-layout.right .ml-tool-palette-title-bar[data-v-cd1a3c67]{order:2}.ml-tool-palette-dialog-layout.right .ml-tool-palette-content[data-v-cd1a3c67]{order:1}")), document.head.appendChild(o);
2668
2668
  }
2669
2669
  } catch (e) {
2670
2670
  console.error("vite-plugin-css-injected-by-js", e);
@@ -2682,7 +2682,7 @@ const Fl = {
2682
2682
  Rl
2683
2683
  ];
2684
2684
  function Hl(o, e) {
2685
- return r(), b("svg", Fl, [...Ol]);
2685
+ return r(), k("svg", Fl, [...Ol]);
2686
2686
  }
2687
2687
  const Pe = { render: Hl }, Yl = {
2688
2688
  xmlns: "http://www.w3.org/2000/svg",
@@ -2696,7 +2696,7 @@ const Pe = { render: Hl }, Yl = {
2696
2696
  Gl
2697
2697
  ];
2698
2698
  function Wl(o, e) {
2699
- return r(), b("svg", Yl, [...Xl]);
2699
+ return r(), k("svg", Yl, [...Xl]);
2700
2700
  }
2701
2701
  const Ie = { render: Wl }, Ul = /* @__PURE__ */ P({
2702
2702
  __name: "MlCollapse",
@@ -2709,17 +2709,17 @@ const Ie = { render: Wl }, Ul = /* @__PURE__ */ P({
2709
2709
  }),
2710
2710
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
2711
2711
  setup(o, { emit: e }) {
2712
- const t = o, i = pe(o, "modelValue"), n = e, l = D(() => t.reverse ? i.value ? Pe : Ie : i.value ? Ie : Pe), a = D(() => `${t.size}px`), d = () => {
2712
+ const t = o, i = ve(o, "modelValue"), n = e, l = D(() => t.reverse ? i.value ? Pe : Ie : i.value ? Ie : Pe), a = D(() => `${t.size}px`), d = () => {
2713
2713
  n("change", i.value), i.value = !i.value;
2714
2714
  };
2715
2715
  return (s, h) => {
2716
- const k = fe;
2717
- return r(), $(k, {
2716
+ const x = fe;
2717
+ return r(), $(x, {
2718
2718
  size: a.value,
2719
2719
  onClick: d
2720
2720
  }, {
2721
2721
  default: g(() => [
2722
- (r(), $(ue(l.value)))
2722
+ (r(), $(de(l.value)))
2723
2723
  ]),
2724
2724
  _: 1
2725
2725
  }, 8, ["size"]);
@@ -2751,17 +2751,17 @@ const Ie = { render: Wl }, Ul = /* @__PURE__ */ P({
2751
2751
  i("click", a);
2752
2752
  };
2753
2753
  return (a, d) => {
2754
- const s = fe, h = kt, k = bt, T = wt;
2754
+ const s = fe, h = kt, x = bt, T = wt;
2755
2755
  return r(), $(T, { onCommand: l }, {
2756
2756
  dropdown: g(() => [
2757
- f(k, null, {
2757
+ f(x, null, {
2758
2758
  default: g(() => [
2759
- (r(!0), b(O, null, W(n.value, (v) => (r(), $(h, {
2759
+ (r(!0), k(O, null, W(n.value, (v) => (r(), $(h, {
2760
2760
  key: v.text,
2761
2761
  command: v.name
2762
2762
  }, {
2763
2763
  default: g(() => [
2764
- F(V(v.text), 1)
2764
+ R(V(v.text), 1)
2765
2765
  ]),
2766
2766
  _: 2
2767
2767
  }, 1032, ["command"]))), 128))
@@ -2811,7 +2811,7 @@ const Ie = { render: Wl }, Ul = /* @__PURE__ */ P({
2811
2811
  }
2812
2812
  }), ea = {}, ta = { class: "ml-status-bar" }, oa = { class: "ml-status-bar-left" }, na = { class: "ml-status-bar-right" };
2813
2813
  function la(o, e) {
2814
- return r(), b("div", ta, [
2814
+ return r(), k("div", ta, [
2815
2815
  c("div", oa, [
2816
2816
  re(o.$slots, "left", {}, void 0, !0)
2817
2817
  ]),
@@ -2842,16 +2842,16 @@ const aa = /* @__PURE__ */ _e(ea, [["render", la], ["__scopeId", "data-v-d6a59cf
2842
2842
  return 50;
2843
2843
  }
2844
2844
  return 70;
2845
- }), d = (k) => k.description ? k.description : k.text, s = D(() => t.size === "large"), h = (k) => {
2846
- i("click", k);
2845
+ }), d = (x) => x.description ? x.description : x.text, s = D(() => t.size === "large"), h = (x) => {
2846
+ i("click", x);
2847
2847
  };
2848
- return (k, T) => {
2849
- const v = fe, m = Mt, u = Ct, y = xt;
2850
- return r(), $(y, {
2851
- class: ve(n.value)
2848
+ return (x, T) => {
2849
+ const v = fe, m = Mt, u = Ct, b = xt;
2850
+ return r(), $(b, {
2851
+ class: ce(n.value)
2852
2852
  }, {
2853
2853
  default: g(() => [
2854
- (r(!0), b(O, null, W(k.items, (M, I) => (r(), $(u, {
2854
+ (r(!0), k(O, null, W(x.items, (M, I) => (r(), $(u, {
2855
2855
  key: M.text,
2856
2856
  content: d(M),
2857
2857
  "hide-after": 0
@@ -2867,11 +2867,11 @@ const aa = /* @__PURE__ */ _e(ea, [["render", la], ["__scopeId", "data-v-d6a59cf
2867
2867
  c("div", null, [
2868
2868
  f(v, { size: l.value }, {
2869
2869
  default: g(() => [
2870
- (r(), $(ue(M.icon)))
2870
+ (r(), $(de(M.icon)))
2871
2871
  ]),
2872
2872
  _: 2
2873
2873
  }, 1032, ["size"]),
2874
- s.value ? (r(), b("div", ia, V(M.text), 1)) : H("", !0)
2874
+ s.value ? (r(), k("div", ia, V(M.text), 1)) : H("", !0)
2875
2875
  ])
2876
2876
  ]),
2877
2877
  _: 2
@@ -2888,8 +2888,8 @@ const aa = /* @__PURE__ */ _e(ea, [["render", la], ["__scopeId", "data-v-d6a59cf
2888
2888
  function ca(o, e, t) {
2889
2889
  const i = S(!1), n = (s) => {
2890
2890
  if (t.value && o.value) {
2891
- const h = o.value.getBoundingClientRect(), k = s.clientX < h.left || s.clientX > h.right || s.clientY < h.top || s.clientY > h.bottom;
2892
- i.value = !k;
2891
+ const h = o.value.getBoundingClientRect(), x = s.clientX < h.left || s.clientX > h.right || s.clientY < h.top || s.clientY > h.bottom;
2892
+ i.value = !x;
2893
2893
  }
2894
2894
  }, l = () => {
2895
2895
  t.value && (i.value = !0);
@@ -2925,32 +2925,32 @@ function ua(o, e, t) {
2925
2925
  }
2926
2926
  }, h = () => {
2927
2927
  o.value && o.value.addEventListener("mousedown", T);
2928
- }, k = () => {
2928
+ }, x = () => {
2929
2929
  o.value && o.value.removeEventListener("mousedown", T);
2930
2930
  }, T = (u) => {
2931
2931
  if (o.value != null) {
2932
2932
  if (e && e.value) {
2933
- const y = e.value.getBoundingClientRect();
2934
- if (u.clientX < y.left || u.clientX > y.right || u.clientY < y.top || u.clientY > y.bottom) return;
2933
+ const b = e.value.getBoundingClientRect();
2934
+ if (u.clientX < b.left || u.clientX > b.right || u.clientY < b.top || u.clientY > b.bottom) return;
2935
2935
  }
2936
2936
  i.value = !0, a.x = u.clientX, a.y = u.clientY, s(), document.addEventListener("mousemove", v), document.addEventListener("mouseup", m);
2937
2937
  }
2938
2938
  }, v = (u) => {
2939
2939
  if (i.value && l.value && n.value) {
2940
- const y = window.innerWidth, M = window.innerHeight, I = o.value, L = I.getBoundingClientRect(), C = L.width, w = L.height, x = l.value.x + (u.clientX - a.x), _ = l.value.y + (u.clientY - a.y);
2940
+ const b = window.innerWidth, M = window.innerHeight, I = o.value, L = I.getBoundingClientRect(), C = L.width, y = L.height, w = l.value.x + (u.clientX - a.x), _ = l.value.y + (u.clientY - a.y);
2941
2941
  n.value.x = Math.max(
2942
2942
  t ? t.value.offset.value.left : 0,
2943
- x
2943
+ w
2944
2944
  );
2945
- const z = y - C;
2945
+ const z = b - C;
2946
2946
  n.value.x = Math.min(
2947
2947
  t ? z - t.value.offset.value.right : z,
2948
2948
  n.value.x
2949
2949
  ), n.value.y = Math.max(
2950
2950
  t ? t.value.offset.value.top : 0,
2951
- Math.min(_, M - w)
2951
+ Math.min(_, M - y)
2952
2952
  );
2953
- const E = M - w;
2953
+ const E = M - y;
2954
2954
  n.value.y = Math.min(
2955
2955
  t ? E - t.value.offset.value.bottom : E,
2956
2956
  n.value.y
@@ -2964,7 +2964,7 @@ function ua(o, e, t) {
2964
2964
  }), le(() => {
2965
2965
  o.value && o.value.removeEventListener("mousedown", T);
2966
2966
  }), N(o, (u) => {
2967
- u ? (s(), h()) : k();
2967
+ u ? (s(), h()) : x();
2968
2968
  }), {
2969
2969
  isDragging: i,
2970
2970
  movement: d,
@@ -3009,8 +3009,8 @@ function ma(o, e, t, i) {
3009
3009
  }
3010
3010
  function pa(o, e, t, i) {
3011
3011
  const n = S(o.value.width), l = S(o.value.left), a = D(() => o.value.width), d = D(() => o.value.left), s = D(() => t.value ? t.value.x : null);
3012
- return N([a, d], ([h, k]) => {
3013
- (n.value == null || l.value == null || e.value) && (n.value = h, l.value = k);
3012
+ return N([a, d], ([h, x]) => {
3013
+ (n.value == null || l.value == null || e.value) && (n.value = h, l.value = x);
3014
3014
  }), N(s, (h) => {
3015
3015
  i.value && t.value && (l.value = h);
3016
3016
  }), { left: l, width: n };
@@ -3035,37 +3035,37 @@ function va(o, e = S({ left: 0, right: 0, top: 0, bottom: 0 })) {
3035
3035
  }
3036
3036
  function fa(o, e = S(!1), t = S(!1), i = S({ left: 0, right: 0, top: 0, bottom: 0 }), n = { width: 20, height: 40 }) {
3037
3037
  const { initialRect: l } = va(o, i), a = S(!1);
3038
- let d = 0, s = 0, h = 0, k = 0, T = 0;
3038
+ let d = 0, s = 0, h = 0, x = 0, T = 0;
3039
3039
  const v = 5, m = S(null), u = (C) => {
3040
3040
  if (!(!o.value || e.value))
3041
3041
  if (a.value) {
3042
- const w = C.clientX - k, x = C.clientY - T;
3042
+ const y = C.clientX - x, w = C.clientY - T;
3043
3043
  if (m.value === "left" || m.value === "left-bottom-corner") {
3044
- const _ = s - w;
3045
- _ > n.width && (l.value.width = _, l.value.left = d + w, o.value.style.left = l.value.left + "px", o.value.style.width = l.value.width + "px");
3044
+ const _ = s - y;
3045
+ _ > n.width && (l.value.width = _, l.value.left = d + y, o.value.style.left = l.value.left + "px", o.value.style.width = l.value.width + "px");
3046
3046
  }
3047
3047
  if (m.value === "right" || m.value === "right-bottom-corner") {
3048
- const _ = s + w;
3048
+ const _ = s + y;
3049
3049
  _ > n.width && (l.value.width = _, o.value.style.width = l.value.width + "px");
3050
3050
  }
3051
3051
  if (m.value === "bottom" || m.value === "left-bottom-corner" || m.value === "right-bottom-corner") {
3052
- const _ = h + x;
3052
+ const _ = h + w;
3053
3053
  _ > n.height && (l.value.height = _, o.value.style.height = l.value.height + "px");
3054
3054
  }
3055
3055
  } else {
3056
- const w = o.value.getBoundingClientRect(), x = C.clientX - w.left, _ = C.clientY - w.top, z = x <= v, E = x >= w.width - v, R = _ >= w.height - v;
3057
- z && R && t.value ? (o.value.style.cursor = "nesw-resize", m.value = "left-bottom-corner") : E && R && !t.value ? (o.value.style.cursor = "nwse-resize", m.value = "right-bottom-corner") : z && t.value ? (o.value.style.cursor = "ew-resize", m.value = "left") : E && !t.value ? (o.value.style.cursor = "ew-resize", m.value = "right") : R ? (o.value.style.cursor = "ns-resize", m.value = "bottom") : (o.value.style.cursor = "", m.value = null);
3056
+ const y = o.value.getBoundingClientRect(), w = C.clientX - y.left, _ = C.clientY - y.top, z = Math.abs(w) <= v, E = Math.abs(y.width - w) <= v, F = Math.abs(y.height - _) <= v;
3057
+ z && F && t.value ? (o.value.style.cursor = "nesw-resize", m.value = "left-bottom-corner") : E && F && !t.value ? (o.value.style.cursor = "nwse-resize", m.value = "right-bottom-corner") : z && t.value ? (o.value.style.cursor = "ew-resize", m.value = "left") : E && !t.value ? (o.value.style.cursor = "ew-resize", m.value = "right") : F ? (o.value.style.cursor = "ns-resize", m.value = "bottom") : (o.value.style.cursor = "", m.value = null);
3058
3058
  }
3059
- }, y = (C) => {
3059
+ }, b = (C) => {
3060
3060
  if (!o.value || !m.value) return;
3061
- const w = o.value.getBoundingClientRect();
3062
- k = C.clientX, T = C.clientY, s = w.width, h = w.height, d = w.left, l.value.width = s, l.value.height = h, l.value.left = w.left, l.value.top = w.top, a.value = !0, document.addEventListener("mousemove", u), document.addEventListener("mouseup", M);
3061
+ const y = o.value.getBoundingClientRect();
3062
+ x = C.clientX, T = C.clientY, s = y.width, h = y.height, d = y.left, l.value.width = s, l.value.height = h, l.value.left = y.left, l.value.top = y.top, a.value = !0, document.addEventListener("mousemove", u), document.addEventListener("mouseup", M);
3063
3063
  }, M = () => {
3064
3064
  a.value = !1, m.value = null, o.value && (o.value.style.cursor = ""), document.removeEventListener("mousemove", u), document.removeEventListener("mouseup", M);
3065
3065
  }, I = () => {
3066
- o.value && (o.value.removeEventListener("mousedown", y), o.value.removeEventListener("mousemove", u)), document.removeEventListener("mouseup", M);
3066
+ o.value && (o.value.removeEventListener("mousedown", b), o.value.removeEventListener("mousemove", u)), document.removeEventListener("mouseup", M);
3067
3067
  }, L = () => {
3068
- o.value && (o.value.addEventListener("mousedown", y), o.value.addEventListener("mousemove", u));
3068
+ o.value && (o.value.addEventListener("mousedown", b), o.value.addEventListener("mousemove", u));
3069
3069
  };
3070
3070
  return U(() => {
3071
3071
  o.value && L();
@@ -3101,7 +3101,7 @@ function ga(o, e, t, i) {
3101
3101
  });
3102
3102
  }
3103
3103
  function ha(o, e, t, i) {
3104
- const n = S(window.innerWidth), l = S(window.innerHeight), { docked: a, orientation: d, movement: s, position: h, isDragging: k } = da(
3104
+ const n = S(window.innerWidth), l = S(window.innerHeight), { docked: a, orientation: d, movement: s, position: h, isDragging: x } = da(
3105
3105
  o,
3106
3106
  e,
3107
3107
  i
@@ -3110,11 +3110,11 @@ function ha(o, e, t, i) {
3110
3110
  t,
3111
3111
  T,
3112
3112
  i.value.offset
3113
- ), { width: u, left: y } = pa(
3113
+ ), { width: u, left: b } = pa(
3114
3114
  v,
3115
3115
  m,
3116
3116
  h,
3117
- k
3117
+ x
3118
3118
  ), { lastTop: M, lastHeight: I } = ma(
3119
3119
  D(() => v.value.left),
3120
3120
  D(() => v.value.top),
@@ -3124,34 +3124,34 @@ function ha(o, e, t, i) {
3124
3124
  ga(o, T, t, L);
3125
3125
  const C = (z) => {
3126
3126
  if (o.value) {
3127
- const E = o.value.getBoundingClientRect(), R = E.left + z;
3127
+ const E = o.value.getBoundingClientRect(), F = E.left + z;
3128
3128
  if (T.value) {
3129
- v.value.left = R;
3129
+ v.value.left = F;
3130
3130
  const K = window.innerWidth - E.width - E.left;
3131
- E.left <= 0 && K >= 0 && z < 0 && (v.value.left = Math.max(0, R)), window.innerWidth - E.width <= 0 && (v.value.left = window.innerWidth - E.width);
3131
+ E.left <= 0 && K >= 0 && z < 0 && (v.value.left = Math.max(0, F)), window.innerWidth - E.width <= 0 && (v.value.left = window.innerWidth - E.width);
3132
3132
  } else
3133
- E.left + E.width >= window.innerWidth && z < 0 && (v.value.left = Math.max(0, R));
3133
+ E.left + E.width >= window.innerWidth && z < 0 && (v.value.left = Math.max(0, F));
3134
3134
  }
3135
- }, w = () => {
3135
+ }, y = () => {
3136
3136
  const z = window.innerWidth - n.value;
3137
3137
  n.value = window.innerWidth, l.value = window.innerHeight, C(z);
3138
3138
  };
3139
3139
  U(() => {
3140
- window.addEventListener("resize", w);
3140
+ window.addEventListener("resize", y);
3141
3141
  }), le(() => {
3142
- window.removeEventListener("resize", w);
3142
+ window.removeEventListener("resize", y);
3143
3143
  });
3144
- const x = (z) => {
3145
- z ? (v.value.width = Ee, T.value && y.value && u.value && (v.value.left = y.value + u.value - Ee)) : (v.value.width = u.value, T.value && y.value && u.value && (v.value.left = y.value));
3144
+ const w = (z) => {
3145
+ z ? (v.value.width = Ee, T.value && b.value && u.value && (v.value.left = b.value + u.value - Ee)) : (v.value.width = u.value, T.value && b.value && u.value && (v.value.left = b.value));
3146
3146
  }, _ = () => {
3147
3147
  a.value ? (v.value.top = i.value.offset.value.top, v.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (v.value.top = M.value, v.value.height = I.value);
3148
3148
  };
3149
3149
  return N(a, () => {
3150
3150
  _();
3151
3151
  }), N(t, (z) => {
3152
- x(z);
3152
+ w(z);
3153
3153
  }), N(L, (z) => {
3154
- t.value && !k.value && x(!z);
3154
+ t.value && !x.value && w(!z);
3155
3155
  }), N(s, (z) => {
3156
3156
  if (z && o.value) {
3157
3157
  const E = o.value.getBoundingClientRect();
@@ -3159,7 +3159,7 @@ function ha(o, e, t, i) {
3159
3159
  }
3160
3160
  }), { rect: v, orientation: d, reversed: T };
3161
3161
  }
3162
- const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ */ _a(() => /* @__PURE__ */ c("svg", {
3162
+ const _a = (o) => (Fe("data-v-cd1a3c67"), o = o(), Re(), o), ya = /* @__PURE__ */ _a(() => /* @__PURE__ */ c("svg", {
3163
3163
  xmlns: "http://www.w3.org/2000/svg",
3164
3164
  width: "1em",
3165
3165
  height: "1em",
@@ -3180,7 +3180,8 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3180
3180
  leftOffset: { default: 0 },
3181
3181
  rightOffset: { default: 0 },
3182
3182
  topOffset: { default: 0 },
3183
- bottomOffset: { default: 0 }
3183
+ bottomOffset: { default: 0 },
3184
+ disabled: { type: Boolean, default: !1 }
3184
3185
  }, {
3185
3186
  modelValue: { default: !0 },
3186
3187
  modelModifiers: {},
@@ -3189,13 +3190,17 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3189
3190
  }),
3190
3191
  emits: /* @__PURE__ */ ie(["close", "tab-change", "tab-close"], ["update:modelValue", "update:activeTab"]),
3191
3192
  setup(o, { emit: e }) {
3192
- const t = o, i = pe(o, "modelValue"), n = pe(o, "activeTab"), l = e, a = D(() => t.tabs && t.tabs.length > 0);
3193
+ const t = o, i = ve(o, "modelValue"), n = ve(o, "activeTab"), l = e, a = D(() => t.tabs && t.tabs.length > 0);
3193
3194
  U(() => {
3194
3195
  a.value && !n.value && t.tabs && t.tabs.length > 0 && (n.value = t.tabs[0].name);
3195
- }), N(() => t.tabs, (w) => {
3196
- w && w.length > 0 && !n.value && (n.value = w[0].name);
3197
- }, { immediate: !0 });
3198
- const d = S(!1), s = S(null), h = S(null), k = D(() => ({
3196
+ }), N(
3197
+ () => t.tabs,
3198
+ (y) => {
3199
+ y && y.length > 0 && !n.value && (n.value = y[0].name);
3200
+ },
3201
+ { immediate: !0 }
3202
+ );
3203
+ const d = S(!1), s = S(null), h = S(null), x = D(() => ({
3199
3204
  offset: S({
3200
3205
  left: t.leftOffset,
3201
3206
  right: t.rightOffset,
@@ -3206,64 +3211,59 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3206
3211
  rect: T,
3207
3212
  orientation: v,
3208
3213
  reversed: m
3209
- } = ha(h, s, d, k), u = D(() => ({
3214
+ } = ha(h, s, d, x), u = D(() => ({
3210
3215
  left: `${T.value.left}px`,
3211
3216
  top: `${T.value.top}px`,
3212
3217
  width: `${T.value.width}px`,
3213
3218
  height: `${T.value.height}px`
3214
- })), y = D(() => m.value ? {
3215
- borderLeft: "1px solid var(--el-border-color)",
3216
- borderRight: null
3217
- } : {
3218
- borderLeft: null,
3219
- borderRight: "1px solid var(--el-border-color)"
3220
- }), M = D(() => {
3219
+ })), b = D(
3220
+ () => m.value ? { borderLeft: "1px solid var(--el-border-color)", borderRight: null } : { borderLeft: null, borderRight: "1px solid var(--el-border-color)" }
3221
+ ), M = D(() => {
3221
3222
  if (a.value && n.value && t.tabs) {
3222
- const w = t.tabs.find((x) => x.name === n.value);
3223
- if (w && w.title)
3224
- return w.title;
3223
+ const y = t.tabs.find((w) => w.name === n.value);
3224
+ if (y != null && y.title) return y.title;
3225
3225
  }
3226
3226
  return t.title;
3227
3227
  }), I = () => {
3228
3228
  i.value = !1;
3229
- const w = h.value;
3229
+ const y = h.value;
3230
3230
  l("close", {
3231
- x: w ? w.clientLeft : 0,
3232
- y: w ? w.clientTop : 0
3231
+ x: y ? y.clientLeft : 0,
3232
+ y: y ? y.clientTop : 0
3233
3233
  });
3234
- }, L = (w) => {
3235
- l("tab-change", w);
3236
- }, C = (w) => {
3237
- if (l("tab-close", w), n.value === w && t.tabs) {
3238
- const x = t.tabs.findIndex((_) => _.name === w);
3239
- if (x >= 0) {
3240
- const _ = t.tabs[x + 1] || t.tabs[x - 1];
3234
+ }, L = (y) => {
3235
+ l("tab-change", y);
3236
+ }, C = (y) => {
3237
+ if (l("tab-close", y), n.value === y && t.tabs) {
3238
+ const w = t.tabs.findIndex((_) => _.name === y);
3239
+ if (w >= 0) {
3240
+ const _ = t.tabs[w + 1] || t.tabs[w - 1];
3241
3241
  _ && (n.value = _.name);
3242
3242
  }
3243
3243
  }
3244
3244
  };
3245
- return (w, x) => {
3245
+ return (y, w) => {
3246
3246
  const _ = fe, z = yt, E = _t;
3247
- return i.value ? (r(), b("div", {
3247
+ return i.value ? (r(), k("div", {
3248
3248
  key: 0,
3249
3249
  ref_key: "toolPaletteElement",
3250
3250
  ref: h,
3251
3251
  style: q([u.value]),
3252
- class: "ml-tool-palette-dialog"
3252
+ class: ce(["ml-tool-palette-dialog", { "ml-tool-palette-disabled": y.disabled }])
3253
3253
  }, [
3254
3254
  c("div", {
3255
- class: ve(["ml-tool-palette-dialog-layout", p(v)])
3255
+ class: ce(["ml-tool-palette-dialog-layout", p(v)])
3256
3256
  }, [
3257
3257
  c("div", {
3258
3258
  ref_key: "titleBarElement",
3259
3259
  ref: s,
3260
3260
  class: "ml-tool-palette-title-bar",
3261
- style: q(y.value)
3261
+ style: q(b.value)
3262
3262
  }, [
3263
3263
  f(_, {
3264
3264
  size: 18,
3265
3265
  class: "ml-tool-palette-dialog-icon",
3266
- onClick: I
3266
+ onClick: w[0] || (w[0] = (F) => !y.disabled && I())
3267
3267
  }, {
3268
3268
  default: g(() => [
3269
3269
  ya
@@ -3273,46 +3273,47 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3273
3273
  f(Ul, {
3274
3274
  class: "ml-tool-palette-dialog-icon",
3275
3275
  modelValue: d.value,
3276
- "onUpdate:modelValue": x[0] || (x[0] = (R) => d.value = R),
3277
- reverse: p(m)
3278
- }, null, 8, ["modelValue", "reverse"]),
3276
+ "onUpdate:modelValue": w[1] || (w[1] = (F) => d.value = F),
3277
+ reverse: p(m),
3278
+ disabled: y.disabled
3279
+ }, null, 8, ["modelValue", "reverse", "disabled"]),
3279
3280
  c("span", wa, V(M.value), 1)
3280
3281
  ], 4),
3281
3282
  c("div", ba, [
3282
3283
  a.value ? (r(), $(E, {
3283
3284
  key: 0,
3284
3285
  modelValue: n.value,
3285
- "onUpdate:modelValue": x[1] || (x[1] = (R) => n.value = R),
3286
+ "onUpdate:modelValue": w[2] || (w[2] = (F) => n.value = F),
3286
3287
  type: "border-card",
3287
3288
  class: "ml-tool-palette-tabs",
3288
- onTabRemove: C,
3289
- onTabChange: L
3289
+ onTabRemove: w[3] || (w[3] = (F) => !y.disabled && C),
3290
+ onTabChange: w[4] || (w[4] = (F) => !y.disabled && L)
3290
3291
  }, {
3291
3292
  default: g(() => [
3292
- (r(!0), b(O, null, W(t.tabs, (R) => (r(), $(z, {
3293
- key: R.name,
3294
- name: R.name,
3295
- label: R.label
3293
+ (r(!0), k(O, null, W(t.tabs, (F) => (r(), $(z, {
3294
+ key: F.name,
3295
+ name: F.name,
3296
+ label: F.label
3296
3297
  }, {
3297
3298
  label: g(() => [
3298
- c("span", null, V(R.label), 1)
3299
+ c("span", null, V(F.label), 1)
3299
3300
  ]),
3300
3301
  default: g(() => [
3301
- re(w.$slots, `tab-${R.name}`, {}, void 0, !0)
3302
+ re(y.$slots, `tab-${F.name}`, {}, void 0, !0)
3302
3303
  ]),
3303
3304
  _: 2
3304
3305
  }, 1032, ["name", "label"]))), 128))
3305
3306
  ]),
3306
3307
  _: 3
3307
- }, 8, ["modelValue"])) : (r(), b("div", ka, [
3308
- re(w.$slots, "default", {}, void 0, !0)
3308
+ }, 8, ["modelValue"])) : (r(), k("div", ka, [
3309
+ re(y.$slots, "default", {}, void 0, !0)
3309
3310
  ]))
3310
3311
  ])
3311
3312
  ], 2)
3312
- ], 4)) : H("", !0);
3313
+ ], 6)) : H("", !0);
3313
3314
  };
3314
3315
  }
3315
- }), Ca = /* @__PURE__ */ _e(xa, [["__scopeId", "data-v-43098ce9"]]), Ma = { class: "ml-entity-properties" }, Sa = {
3316
+ }), Ca = /* @__PURE__ */ _e(xa, [["__scopeId", "data-v-cd1a3c67"]]), Ma = { class: "ml-entity-properties" }, Sa = {
3316
3317
  key: 0,
3317
3318
  class: "ml-entity-selector"
3318
3319
  }, La = { class: "ml-cell-container" }, Ta = { key: 0 }, Ba = { key: 1 }, Da = {
@@ -3331,13 +3332,13 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3331
3332
  setup(o, { emit: e }) {
3332
3333
  const { t } = Y(), i = o, n = e, l = S(-1);
3333
3334
  function a(m) {
3334
- var y;
3335
+ var b;
3335
3336
  const u = m.accessor.get();
3336
3337
  switch (m.type) {
3337
3338
  case "boolean":
3338
3339
  return u ? "True" : "False";
3339
3340
  case "enum": {
3340
- const M = (y = m.options) == null ? void 0 : y.find((I) => I.value === u);
3341
+ const M = (b = m.options) == null ? void 0 : b.find((I) => I.value === u);
3341
3342
  return M && M.label ? ze(M.label) : "";
3342
3343
  }
3343
3344
  case "color":
@@ -3356,8 +3357,8 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3356
3357
  grouping: !0,
3357
3358
  type: "success"
3358
3359
  });
3359
- } catch (y) {
3360
- console.error(y), J({
3360
+ } catch (b) {
3361
+ console.error(b), J({
3361
3362
  message: t(
3362
3363
  "main.toolPalette.entityProperties.propertyPanel.failedToCopyPropVal"
3363
3364
  ),
@@ -3374,40 +3375,40 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3374
3375
  const u = m[l.value];
3375
3376
  return h(u);
3376
3377
  } else {
3377
- const u = k(m);
3378
+ const u = x(m);
3378
3379
  return h(u);
3379
3380
  }
3380
3381
  });
3381
3382
  function h(m) {
3382
- return m.groups.map((u, y) => ({
3383
- id: `group-${y}`,
3383
+ return m.groups.map((u, b) => ({
3384
+ id: `group-${b}`,
3384
3385
  name: u.groupName,
3385
3386
  isGroup: !0,
3386
3387
  children: u.properties.map((M, I) => ({
3387
3388
  ...M,
3388
- id: `group-${y}-prop-${I}`,
3389
+ id: `group-${b}-prop-${I}`,
3389
3390
  isGroup: !1
3390
3391
  }))
3391
3392
  }));
3392
3393
  }
3393
- function k(m) {
3394
+ function x(m) {
3394
3395
  if (!m.length) return { type: "", groups: [] };
3395
- const u = m[0], y = [];
3396
+ const u = m[0], b = [];
3396
3397
  for (const M of u.groups) {
3397
3398
  const I = [];
3398
3399
  for (const L of M.properties)
3399
- m.every((w) => {
3400
- const x = w.groups.find((z) => z.groupName === M.groupName), _ = x == null ? void 0 : x.properties.find((z) => z.name === L.name);
3400
+ m.every((y) => {
3401
+ const w = y.groups.find((z) => z.groupName === M.groupName), _ = w == null ? void 0 : w.properties.find((z) => z.name === L.name);
3401
3402
  return _ && _.accessor.get() === L.accessor.get();
3402
3403
  }) && I.push(L);
3403
- I.length && y.push({
3404
+ I.length && b.push({
3404
3405
  groupName: M.groupName,
3405
3406
  properties: I
3406
3407
  });
3407
3408
  }
3408
3409
  return {
3409
3410
  type: u.type,
3410
- groups: y
3411
+ groups: b
3411
3412
  };
3412
3413
  }
3413
3414
  const T = ({
@@ -3427,9 +3428,9 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3427
3428
  });
3428
3429
  }
3429
3430
  return (m, u) => {
3430
- const y = B("el-option"), M = B("el-select"), I = B("el-table-column"), L = B("el-switch"), C = B("el-input-number"), w = B("el-input"), x = B("el-table");
3431
- return r(), b("div", Ma, [
3432
- m.entityPropsList && m.entityPropsList.length > 1 ? (r(), b("div", Sa, [
3431
+ const b = B("el-option"), M = B("el-select"), I = B("el-table-column"), L = B("el-switch"), C = B("el-input-number"), y = B("el-input"), w = B("el-table");
3432
+ return r(), k("div", Ma, [
3433
+ m.entityPropsList && m.entityPropsList.length > 1 ? (r(), k("div", Sa, [
3433
3434
  f(M, {
3434
3435
  modelValue: l.value,
3435
3436
  "onUpdate:modelValue": u[0] || (u[0] = (_) => l.value = _),
@@ -3437,14 +3438,14 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3437
3438
  style: { width: "100%", "margin-bottom": "0.5rem" }
3438
3439
  }, {
3439
3440
  default: g(() => [
3440
- f(y, {
3441
+ f(b, {
3441
3442
  label: p(t)(
3442
3443
  "main.toolPalette.entityProperties.propertyPanel.multipleEntitySelected",
3443
3444
  { count: m.entityPropsList.length }
3444
3445
  ),
3445
3446
  value: -1
3446
3447
  }, null, 8, ["label"]),
3447
- (r(!0), b(O, null, W(m.entityPropsList, (_, z) => (r(), $(y, {
3448
+ (r(!0), k(O, null, W(m.entityPropsList, (_, z) => (r(), $(b, {
3448
3449
  key: z,
3449
3450
  label: _.type,
3450
3451
  value: z
@@ -3453,7 +3454,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3453
3454
  _: 1
3454
3455
  }, 8, ["modelValue"])
3455
3456
  ])) : H("", !0),
3456
- s.value.length ? (r(), $(x, {
3457
+ s.value.length ? (r(), $(w, {
3457
3458
  key: 1,
3458
3459
  data: s.value,
3459
3460
  "row-key": "id",
@@ -3472,9 +3473,9 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3472
3473
  default: g(({ row: _ }) => [
3473
3474
  c("div", La, [
3474
3475
  c("div", {
3475
- class: ve(["ml-cell-label", { "ml-group-row": _.isGroup }])
3476
+ class: ce(["ml-cell-label", { "ml-group-row": _.isGroup }])
3476
3477
  }, [
3477
- _.isGroup ? (r(), b("strong", Ta, V(p(De)(_.name)), 1)) : (r(), b("span", Ba, V(p(De)(_.name)), 1))
3478
+ _.isGroup ? (r(), k("strong", Ta, V(p(De)(_.name)), 1)) : (r(), k("span", Ba, V(p(De)(_.name)), 1))
3478
3479
  ], 2)
3479
3480
  ])
3480
3481
  ]),
@@ -3482,19 +3483,19 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3482
3483
  }),
3483
3484
  f(I, null, {
3484
3485
  default: g(({ row: _ }) => [
3485
- _.isGroup ? H("", !0) : (r(), b("div", Da, [
3486
- !m.editable || !_.editable ? (r(), b(O, { key: 0 }, [
3486
+ _.isGroup ? H("", !0) : (r(), k("div", Da, [
3487
+ !m.editable || !_.editable ? (r(), k(O, { key: 0 }, [
3487
3488
  _.type === "color" ? (r(), $(p(Ve), {
3488
3489
  key: 0,
3489
3490
  "model-value": _.accessor.get(),
3490
3491
  disabled: ""
3491
- }, null, 8, ["model-value"])) : (r(), b("span", {
3492
+ }, null, 8, ["model-value"])) : (r(), k("span", {
3492
3493
  key: 1,
3493
3494
  title: a(_),
3494
3495
  class: "ml-readonly-value",
3495
3496
  onDblclick: (z) => d(_)
3496
3497
  }, V(a(_)), 41, za))
3497
- ], 64)) : (r(), b("div", $a, [
3498
+ ], 64)) : (r(), k("div", $a, [
3498
3499
  _.type === "enum" ? (r(), $(M, {
3499
3500
  key: 0,
3500
3501
  "model-value": _.accessor.get(),
@@ -3502,7 +3503,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3502
3503
  style: { width: "100%" }
3503
3504
  }, {
3504
3505
  default: g(() => [
3505
- (r(!0), b(O, null, W(_.options || [], (z) => (r(), $(y, {
3506
+ (r(!0), k(O, null, W(_.options || [], (z) => (r(), $(b, {
3506
3507
  key: z.value,
3507
3508
  label: p(ze)(z.label),
3508
3509
  value: z.value
@@ -3529,7 +3530,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3529
3530
  step: 0.1,
3530
3531
  precision: 3,
3531
3532
  onChange: (z) => v(_, z)
3532
- }, null, 8, ["model-value", "onChange"])) : (r(), $(w, {
3533
+ }, null, 8, ["model-value", "onChange"])) : (r(), $(y, {
3533
3534
  key: 5,
3534
3535
  "model-value": _.accessor.get(),
3535
3536
  onInput: (z) => v(_, z)
@@ -3541,7 +3542,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3541
3542
  })
3542
3543
  ]),
3543
3544
  _: 1
3544
- }, 8, ["data"])) : (r(), b("div", Va, V(p(t)("main.toolPalette.entityProperties.propertyPanel.noEntitySelected")), 1))
3545
+ }, 8, ["data"])) : (r(), k("div", Va, V(p(t)("main.toolPalette.entityProperties.propertyPanel.noEntitySelected")), 1))
3545
3546
  ]);
3546
3547
  };
3547
3548
  }
@@ -3552,8 +3553,8 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3552
3553
  },
3553
3554
  setup(o) {
3554
3555
  const { t: e } = Y(), t = o, i = ol(t.editor), n = (u) => D(() => {
3555
- const y = ee.fromString(u.color);
3556
- return (y == null ? void 0 : y.cssColor) || "#FFFFFF";
3556
+ const b = ee.fromString(u.color);
3557
+ return (b == null ? void 0 : b.cssColor) || "#FFFFFF";
3557
3558
  }), l = (u) => {
3558
3559
  t.editor.curView.zoomToFitLayer(u.name) && J({
3559
3560
  message: e("main.toolPalette.layerManager.layerList.zoomToLayer", {
@@ -3563,27 +3564,27 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3563
3564
  type: "success"
3564
3565
  });
3565
3566
  }, a = (u) => {
3566
- const y = t.editor.curDocument.database.tables.layerTable.getAt(
3567
+ const b = t.editor.curDocument.database.tables.layerTable.getAt(
3567
3568
  u.name
3568
3569
  );
3569
- y && (y.isOff = !u.isOn);
3570
- }, d = S(!1), s = S(null), h = S(void 0), k = (u) => {
3570
+ b && (b.isOff = !u.isOn);
3571
+ }, d = S(!1), s = S(null), h = S(void 0), x = (u) => {
3571
3572
  s.value = u, h.value = u.color, d.value = !0;
3572
3573
  }, T = (u) => {
3573
3574
  if (!s.value) return;
3574
- const y = s.value;
3575
- y.color = u.toString();
3575
+ const b = s.value;
3576
+ b.color = u.toString();
3576
3577
  const M = t.editor.curDocument.database.tables.layerTable.getAt(
3577
- y.name
3578
+ b.name
3578
3579
  );
3579
3580
  M && (M.color = u);
3580
3581
  }, v = (u) => {
3581
3582
  T(u);
3582
3583
  }, m = () => {
3583
3584
  };
3584
- return (u, y) => {
3585
+ return (u, b) => {
3585
3586
  const M = B("el-table-column"), I = B("el-checkbox"), L = B("el-tag");
3586
- return r(), b(O, null, [
3587
+ return r(), k(O, null, [
3587
3588
  f(p(ft), {
3588
3589
  data: p(i),
3589
3590
  class: "ml-layer-list",
@@ -3606,8 +3607,8 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3606
3607
  c("div", Ea, [
3607
3608
  f(I, {
3608
3609
  modelValue: C.row.isOn,
3609
- "onUpdate:modelValue": (w) => C.row.isOn = w,
3610
- onChange: (w) => a(C.row)
3610
+ "onUpdate:modelValue": (y) => C.row.isOn = y,
3611
+ onChange: (y) => a(C.row)
3611
3612
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
3612
3613
  ])
3613
3614
  ]),
@@ -3623,7 +3624,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3623
3624
  f(L, {
3624
3625
  color: n(C.row).value,
3625
3626
  class: "ml-layer-list-color",
3626
- onClick: lt((w) => k(C.row), ["stop"])
3627
+ onClick: lt((y) => x(C.row), ["stop"])
3627
3628
  }, null, 8, ["color", "onClick"])
3628
3629
  ])
3629
3630
  ]),
@@ -3634,7 +3635,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3634
3635
  }, 8, ["data"]),
3635
3636
  f(p(Ue), {
3636
3637
  modelValue: d.value,
3637
- "onUpdate:modelValue": y[0] || (y[0] = (C) => d.value = C),
3638
+ "onUpdate:modelValue": b[0] || (b[0] = (C) => d.value = C),
3638
3639
  title: p(e)("dialog.colorPickerDlg.title"),
3639
3640
  color: h.value,
3640
3641
  onOk: v,
@@ -3656,8 +3657,8 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3656
3657
  }))), { selectionSet: l } = al(), a = D(() => {
3657
3658
  const d = [], s = A.instance.curDocument.database;
3658
3659
  return l.value.forEach((h) => {
3659
- const k = s.tables.blockTable.modelSpace.getIdAt(h);
3660
- k && d.push(k.properties);
3660
+ const x = s.tables.blockTable.modelSpace.getIdAt(h);
3661
+ x && d.push(x.properties);
3661
3662
  }), d;
3662
3663
  });
3663
3664
  return (d, s) => {
@@ -3667,9 +3668,9 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3667
3668
  f(p(Ca), {
3668
3669
  class: "ml-layer-manager",
3669
3670
  modelValue: p(ne).dialogs.layerManager,
3670
- "onUpdate:modelValue": s[0] || (s[0] = (k) => p(ne).dialogs.layerManager = k),
3671
+ "onUpdate:modelValue": s[0] || (s[0] = (x) => p(ne).dialogs.layerManager = x),
3671
3672
  "active-tab": i.value,
3672
- "onUpdate:activeTab": s[1] || (s[1] = (k) => i.value = k),
3673
+ "onUpdate:activeTab": s[1] || (s[1] = (x) => i.value = x),
3673
3674
  tabs: n.value,
3674
3675
  "bottom-offset": 30
3675
3676
  }, {
@@ -3690,7 +3691,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3690
3691
  });
3691
3692
  };
3692
3693
  }
3693
- }), Oa = /* @__PURE__ */ X(Ra, [["__scopeId", "data-v-18adcdd0"]]), me = 8, Ha = /* @__PURE__ */ P({
3694
+ }), Oa = /* @__PURE__ */ X(Ra, [["__scopeId", "data-v-18adcdd0"]]), pe = 8, Ha = /* @__PURE__ */ P({
3694
3695
  __name: "MlEntityInfo",
3695
3696
  setup(o) {
3696
3697
  Ne((v) => ({
@@ -3698,10 +3699,10 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3698
3699
  "0741074e": h.value
3699
3700
  }));
3700
3701
  const { t: e } = Y(), t = S(null), { hovered: i, entity: n, mouse: l } = tl(), a = S(180), d = S(120), s = D(
3701
- () => `${Math.min(Math.max(l.value.x, me), window.innerWidth - a.value - me)}px`
3702
+ () => `${Math.min(Math.max(l.value.x, pe), window.innerWidth - a.value - pe)}px`
3702
3703
  ), h = D(
3703
- () => `${Math.min(Math.max(l.value.y, me), window.innerHeight - d.value - me)}px`
3704
- ), k = D(() => {
3704
+ () => `${Math.min(Math.max(l.value.y, pe), window.innerHeight - d.value - pe)}px`
3705
+ ), x = D(() => {
3705
3706
  const v = n.value;
3706
3707
  return v ? {
3707
3708
  type: Yn(v),
@@ -3710,7 +3711,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3710
3711
  lineType: v.lineType
3711
3712
  } : { type: "", color: "", layer: "", lineType: "" };
3712
3713
  }), T = D(
3713
- () => i.value && k.value.type !== "" && Z.instance.isShowEntityInfo && !A.instance.editor.isActive
3714
+ () => i.value && x.value.type !== "" && Z.instance.isShowEntityInfo && !A.instance.editor.isActive
3714
3715
  );
3715
3716
  return N(T, async (v) => {
3716
3717
  var m;
@@ -3720,7 +3721,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3720
3721
  u && (a.value = u.offsetWidth, d.value = u.offsetHeight);
3721
3722
  }
3722
3723
  }), (v, m) => {
3723
- const u = B("el-text"), y = B("el-col"), M = B("el-row"), I = B("el-card");
3724
+ const u = B("el-text"), b = B("el-col"), M = B("el-row"), I = B("el-card");
3724
3725
  return T.value ? (r(), $(I, {
3725
3726
  key: 0,
3726
3727
  ref_key: "cardRef",
@@ -3730,14 +3731,14 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3730
3731
  default: g(() => [
3731
3732
  f(M, { class: "ml-entity-info-text" }, {
3732
3733
  default: g(() => [
3733
- f(y, { span: 24 }, {
3734
+ f(b, { span: 24 }, {
3734
3735
  default: g(() => [
3735
3736
  f(u, {
3736
3737
  size: "small",
3737
3738
  class: "ml-entity-info-title"
3738
3739
  }, {
3739
3740
  default: g(() => [
3740
- F(V(k.value.type), 1)
3741
+ R(V(x.value.type), 1)
3741
3742
  ]),
3742
3743
  _: 1
3743
3744
  })
@@ -3749,22 +3750,22 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3749
3750
  }),
3750
3751
  f(M, { class: "ml-entity-info-text" }, {
3751
3752
  default: g(() => [
3752
- f(y, { span: 10 }, {
3753
+ f(b, { span: 10 }, {
3753
3754
  default: g(() => [
3754
3755
  f(u, { size: "small" }, {
3755
3756
  default: g(() => [
3756
- F(V(p(e)("main.entityInfo.color")), 1)
3757
+ R(V(p(e)("main.entityInfo.color")), 1)
3757
3758
  ]),
3758
3759
  _: 1
3759
3760
  })
3760
3761
  ]),
3761
3762
  _: 1
3762
3763
  }),
3763
- f(y, { span: 14 }, {
3764
+ f(b, { span: 14 }, {
3764
3765
  default: g(() => [
3765
3766
  f(u, { size: "small" }, {
3766
3767
  default: g(() => [
3767
- F(V(k.value.color), 1)
3768
+ R(V(x.value.color), 1)
3768
3769
  ]),
3769
3770
  _: 1
3770
3771
  })
@@ -3776,22 +3777,22 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3776
3777
  }),
3777
3778
  f(M, { class: "ml-entity-info-text" }, {
3778
3779
  default: g(() => [
3779
- f(y, { span: 10 }, {
3780
+ f(b, { span: 10 }, {
3780
3781
  default: g(() => [
3781
3782
  f(u, { size: "small" }, {
3782
3783
  default: g(() => [
3783
- F(V(p(e)("main.entityInfo.layer")), 1)
3784
+ R(V(p(e)("main.entityInfo.layer")), 1)
3784
3785
  ]),
3785
3786
  _: 1
3786
3787
  })
3787
3788
  ]),
3788
3789
  _: 1
3789
3790
  }),
3790
- f(y, { span: 14 }, {
3791
+ f(b, { span: 14 }, {
3791
3792
  default: g(() => [
3792
3793
  f(u, { size: "small" }, {
3793
3794
  default: g(() => [
3794
- F(V(k.value.layer), 1)
3795
+ R(V(x.value.layer), 1)
3795
3796
  ]),
3796
3797
  _: 1
3797
3798
  })
@@ -3803,22 +3804,22 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3803
3804
  }),
3804
3805
  f(M, { class: "ml-entity-info-text" }, {
3805
3806
  default: g(() => [
3806
- f(y, { span: 10 }, {
3807
+ f(b, { span: 10 }, {
3807
3808
  default: g(() => [
3808
3809
  f(u, { size: "small" }, {
3809
3810
  default: g(() => [
3810
- F(V(p(e)("main.entityInfo.lineType")), 1)
3811
+ R(V(p(e)("main.entityInfo.lineType")), 1)
3811
3812
  ]),
3812
3813
  _: 1
3813
3814
  })
3814
3815
  ]),
3815
3816
  _: 1
3816
3817
  }),
3817
- f(y, { span: 14 }, {
3818
+ f(b, { span: 14 }, {
3818
3819
  default: g(() => [
3819
3820
  f(u, { size: "small" }, {
3820
3821
  default: g(() => [
3821
- F(V(k.value.lineType), 1)
3822
+ R(V(x.value.lineType), 1)
3822
3823
  ]),
3823
3824
  _: 1
3824
3825
  })
@@ -3839,7 +3840,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3839
3840
  currentLocale: { default: void 0 }
3840
3841
  },
3841
3842
  setup(o) {
3842
- const e = de(), t = o, { effectiveLocale: i, setLocale: n } = Ze(t.currentLocale), l = j([
3843
+ const e = me(), t = o, { effectiveLocale: i, setLocale: n } = Ze(t.currentLocale), l = j([
3843
3844
  {
3844
3845
  name: "en",
3845
3846
  text: "English"
@@ -3862,7 +3863,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3862
3863
  }), Xa = /* @__PURE__ */ X(Ga, [["__scopeId", "data-v-22a7d15f"]]), Wa = /* @__PURE__ */ P({
3863
3864
  __name: "MlMainMenu",
3864
3865
  setup(o) {
3865
- const { t: e } = Y(), t = de(), i = (n) => {
3866
+ const { t: e } = Y(), t = me(), i = (n) => {
3866
3867
  n === "Convert" ? new Ke().tirgger(A.instance.context) : n === "QNew" ? new Qe().tirgger(A.instance.context) : n === "Open" && new Je().tirgger(A.instance.context);
3867
3868
  };
3868
3869
  return (n, l) => {
@@ -3878,13 +3879,13 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3878
3879
  default: g(() => [
3879
3880
  f(d, { command: "QNew" }, {
3880
3881
  default: g(() => [
3881
- F(V(p(e)("main.mainMenu.new")), 1)
3882
+ R(V(p(e)("main.mainMenu.new")), 1)
3882
3883
  ]),
3883
3884
  _: 1
3884
3885
  }),
3885
3886
  f(d, { command: "Open" }, {
3886
3887
  default: g(() => [
3887
- F(V(p(e)("main.mainMenu.open")), 1)
3888
+ R(V(p(e)("main.mainMenu.open")), 1)
3888
3889
  ]),
3889
3890
  _: 1
3890
3891
  })
@@ -3913,7 +3914,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3913
3914
  }, qa = /* @__PURE__ */ P({
3914
3915
  __name: "MlToolBars",
3915
3916
  setup(o) {
3916
- const { t: e } = Y(), t = de(), i = D(() => [
3917
+ const { t: e } = Y(), t = me(), i = D(() => [
3917
3918
  {
3918
3919
  icon: co,
3919
3920
  text: e("main.verticalToolbar.select.text"),
@@ -3947,7 +3948,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3947
3948
  ]), n = (l) => {
3948
3949
  A.instance.sendStringToExecute(l);
3949
3950
  };
3950
- return (l, a) => p(t).isShowToolbar ? (r(), b("div", Za, [
3951
+ return (l, a) => p(t).isShowToolbar ? (r(), k("div", Za, [
3951
3952
  f(p(ra), {
3952
3953
  items: i.value,
3953
3954
  size: "small",
@@ -3982,18 +3983,18 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
3982
3983
  }), n = (a) => {
3983
3984
  a.action();
3984
3985
  }, l = (a) => {
3985
- const s = (/* @__PURE__ */ new Date()).getTime() - a.getTime(), h = Math.floor(s / 6e4), k = Math.floor(s / 36e5), T = Math.floor(s / 864e5);
3986
- return T > 0 ? t("main.notification.time.daysAgo", { count: T }) : k > 0 ? t("main.notification.time.hoursAgo", { count: k }) : h > 0 ? t("main.notification.time.minutesAgo", { count: h }) : t("main.notification.time.justNow");
3986
+ const s = (/* @__PURE__ */ new Date()).getTime() - a.getTime(), h = Math.floor(s / 6e4), x = Math.floor(s / 36e5), T = Math.floor(s / 864e5);
3987
+ return T > 0 ? t("main.notification.time.daysAgo", { count: T }) : x > 0 ? t("main.notification.time.hoursAgo", { count: x }) : h > 0 ? t("main.notification.time.minutesAgo", { count: h }) : t("main.notification.time.justNow");
3987
3988
  };
3988
3989
  return (a, d) => {
3989
3990
  const s = B("el-icon"), h = B("el-button");
3990
- return r(), b("div", {
3991
- class: ve(["ml-notification-item", `ml-notification-item--${a.notification.type}`])
3991
+ return r(), k("div", {
3992
+ class: ce(["ml-notification-item", `ml-notification-item--${a.notification.type}`])
3992
3993
  }, [
3993
3994
  c("div", ja, [
3994
3995
  f(s, null, {
3995
3996
  default: g(() => [
3996
- (r(), $(ue(i.value)))
3997
+ (r(), $(de(i.value)))
3997
3998
  ]),
3998
3999
  _: 1
3999
4000
  })
@@ -4002,21 +4003,21 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4002
4003
  c("div", Qa, [
4003
4004
  c("h4", Ja, V(a.notification.title), 1),
4004
4005
  c("div", ei, [
4005
- a.notification.actions && a.notification.actions.length > 0 ? (r(!0), b(O, { key: 0 }, W(a.notification.actions, (k) => (r(), $(h, {
4006
- key: k.label,
4007
- type: k.primary ? "primary" : "default",
4006
+ a.notification.actions && a.notification.actions.length > 0 ? (r(!0), k(O, { key: 0 }, W(a.notification.actions, (x) => (r(), $(h, {
4007
+ key: x.label,
4008
+ type: x.primary ? "primary" : "default",
4008
4009
  size: "small",
4009
- onClick: (T) => n(k)
4010
+ onClick: (T) => n(x)
4010
4011
  }, {
4011
4012
  default: g(() => [
4012
- F(V(k.label), 1)
4013
+ R(V(x.label), 1)
4013
4014
  ]),
4014
4015
  _: 2
4015
4016
  }, 1032, ["type", "onClick"]))), 128)) : H("", !0),
4016
4017
  f(h, {
4017
4018
  text: "",
4018
4019
  size: "small",
4019
- onClick: d[0] || (d[0] = (k) => a.$emit("close"))
4020
+ onClick: d[0] || (d[0] = (x) => a.$emit("close"))
4020
4021
  }, {
4021
4022
  default: g(() => [
4022
4023
  f(s, null, {
@@ -4030,7 +4031,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4030
4031
  })
4031
4032
  ])
4032
4033
  ]),
4033
- a.notification.message ? (r(), b("p", ti, V(a.notification.message), 1)) : H("", !0),
4034
+ a.notification.message ? (r(), k("p", ti, V(a.notification.message), 1)) : H("", !0),
4034
4035
  c("div", oi, [
4035
4036
  c("span", ni, V(l(a.notification.timestamp)), 1)
4036
4037
  ])
@@ -4057,11 +4058,11 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4057
4058
  s.action();
4058
4059
  };
4059
4060
  return (s, h) => {
4060
- const k = B("el-icon"), T = B("el-button"), v = B("el-tooltip");
4061
- return r(), b("div", ii, [
4061
+ const x = B("el-icon"), T = B("el-button"), v = B("el-tooltip");
4062
+ return r(), k("div", ii, [
4062
4063
  c("div", si, [
4063
4064
  c("div", ri, [
4064
- f(k, { class: "ml-notification-center-icon" }, {
4065
+ f(x, { class: "ml-notification-center-icon" }, {
4065
4066
  default: g(() => [
4066
4067
  f(p(be))
4067
4068
  ]),
@@ -4084,7 +4085,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4084
4085
  onClick: p(a)
4085
4086
  }, {
4086
4087
  default: g(() => [
4087
- f(k, null, {
4088
+ f(x, null, {
4088
4089
  default: g(() => [
4089
4090
  f(p($t))
4090
4091
  ]),
@@ -4103,7 +4104,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4103
4104
  onClick: h[0] || (h[0] = (m) => s.$emit("close"))
4104
4105
  }, {
4105
4106
  default: g(() => [
4106
- f(k, null, {
4107
+ f(x, null, {
4107
4108
  default: g(() => [
4108
4109
  f(p(xe))
4109
4110
  ]),
@@ -4115,16 +4116,16 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4115
4116
  ])
4116
4117
  ]),
4117
4118
  c("div", ui, [
4118
- p(n).length === 0 ? (r(), b("div", di, [
4119
- f(k, { class: "ml-notification-center-empty-icon" }, {
4119
+ p(n).length === 0 ? (r(), k("div", di, [
4120
+ f(x, { class: "ml-notification-center-empty-icon" }, {
4120
4121
  default: g(() => [
4121
4122
  f(p(be))
4122
4123
  ]),
4123
4124
  _: 1
4124
4125
  }),
4125
4126
  c("p", null, V(p(e)("main.notification.center.noNotifications")), 1)
4126
- ])) : (r(), b("div", mi, [
4127
- (r(!0), b(O, null, W(p(n), (m) => (r(), $(ai, {
4127
+ ])) : (r(), k("div", mi, [
4128
+ (r(!0), k(O, null, W(p(n), (m) => (r(), $(ai, {
4128
4129
  key: m.id,
4129
4130
  notification: m,
4130
4131
  onClose: (u) => p(l)(m.id),
@@ -4159,8 +4160,8 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4159
4160
  n("click");
4160
4161
  };
4161
4162
  return (a, d) => {
4162
- const s = B("el-badge"), h = B("el-button"), k = B("el-tooltip");
4163
- return r(), $(k, {
4163
+ const s = B("el-badge"), h = B("el-button"), x = B("el-tooltip");
4164
+ return r(), $(x, {
4164
4165
  content: p(t)("main.statusBar.notification.tooltip"),
4165
4166
  "hide-after": 0
4166
4167
  }, {
@@ -4230,7 +4231,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4230
4231
  Q.on("open-file-progress", l);
4231
4232
  }), le(() => {
4232
4233
  Q.off("open-file-progress", l);
4233
- }), (d, s) => i.value ? (r(), b("div", wi, [
4234
+ }), (d, s) => i.value ? (r(), k("div", wi, [
4234
4235
  f(p(gt), {
4235
4236
  "text-inside": !0,
4236
4237
  "stroke-width": 20,
@@ -4242,12 +4243,12 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4242
4243
  }), ki = /* @__PURE__ */ X(bi, [["__scopeId", "data-v-7513492f"]]), xi = /* @__PURE__ */ P({
4243
4244
  __name: "MlSettingButton",
4244
4245
  setup(o) {
4245
- const { t: e } = Y(), t = de(), i = (n) => {
4246
+ const { t: e } = Y(), t = me(), i = (n) => {
4246
4247
  n == "isShowCoordinate" ? (t.isShowCoordinate = !t.isShowCoordinate, Z.instance.isShowCoordinate = t.isShowCoordinate) : n == "isShowCommandLine" ? (t.isShowCommandLine = !t.isShowCommandLine, Z.instance.isShowCommandLine = t.isShowCommandLine) : n == "isShowEntityInfo" ? (t.isShowEntityInfo = !t.isShowEntityInfo, Z.instance.isShowEntityInfo = t.isShowEntityInfo) : n == "isShowMainMenu" ? (t.isShowMainMenu = !t.isShowMainMenu, Z.instance.isShowMainMenu = t.isShowMainMenu) : n == "isShowLanguageSelector" ? (t.isShowLanguageSelector = !t.isShowLanguageSelector, Z.instance.isShowLanguageSelector = t.isShowLanguageSelector) : n == "isShowToolbar" ? (t.isShowToolbar = !t.isShowToolbar, Z.instance.isShowToolbar = t.isShowToolbar) : n == "isShowStats" && (t.isShowStats = !t.isShowStats, Z.instance.isShowStats = t.isShowStats);
4247
4248
  };
4248
4249
  return (n, l) => {
4249
- const a = B("el-button"), d = B("el-dropdown-item"), s = B("el-dropdown-menu"), h = B("el-dropdown"), k = B("el-tooltip");
4250
- return r(), $(k, {
4250
+ const a = B("el-button"), d = B("el-dropdown-item"), s = B("el-dropdown-menu"), h = B("el-dropdown"), x = B("el-tooltip");
4251
+ return r(), $(x, {
4251
4252
  content: p(e)("main.statusBar.setting.tooltip"),
4252
4253
  "hide-after": 0
4253
4254
  }, {
@@ -4264,7 +4265,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4264
4265
  command: "isShowStats"
4265
4266
  }, {
4266
4267
  default: g(() => [
4267
- F(V(p(e)("main.statusBar.setting.stats")), 1)
4268
+ R(V(p(e)("main.statusBar.setting.stats")), 1)
4268
4269
  ]),
4269
4270
  _: 1
4270
4271
  }, 8, ["icon"]),
@@ -4273,7 +4274,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4273
4274
  command: "isShowCommandLine"
4274
4275
  }, {
4275
4276
  default: g(() => [
4276
- F(V(p(e)("main.statusBar.setting.commandLine")), 1)
4277
+ R(V(p(e)("main.statusBar.setting.commandLine")), 1)
4277
4278
  ]),
4278
4279
  _: 1
4279
4280
  }, 8, ["icon"]),
@@ -4282,7 +4283,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4282
4283
  command: "isShowEntityInfo"
4283
4284
  }, {
4284
4285
  default: g(() => [
4285
- F(V(p(e)("main.statusBar.setting.entityInfo")), 1)
4286
+ R(V(p(e)("main.statusBar.setting.entityInfo")), 1)
4286
4287
  ]),
4287
4288
  _: 1
4288
4289
  }, 8, ["icon"]),
@@ -4291,7 +4292,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4291
4292
  command: "isShowMainMenu"
4292
4293
  }, {
4293
4294
  default: g(() => [
4294
- F(V(p(e)("main.statusBar.setting.mainMenu")), 1)
4295
+ R(V(p(e)("main.statusBar.setting.mainMenu")), 1)
4295
4296
  ]),
4296
4297
  _: 1
4297
4298
  }, 8, ["icon"]),
@@ -4300,7 +4301,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4300
4301
  command: "isShowLanguageSelector"
4301
4302
  }, {
4302
4303
  default: g(() => [
4303
- F(V(p(e)("main.statusBar.setting.languageSelector")), 1)
4304
+ R(V(p(e)("main.statusBar.setting.languageSelector")), 1)
4304
4305
  ]),
4305
4306
  _: 1
4306
4307
  }, 8, ["icon"]),
@@ -4309,7 +4310,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4309
4310
  command: "isShowCoordinate"
4310
4311
  }, {
4311
4312
  default: g(() => [
4312
- F(V(p(e)("main.statusBar.setting.coordinate")), 1)
4313
+ R(V(p(e)("main.statusBar.setting.coordinate")), 1)
4313
4314
  ]),
4314
4315
  _: 1
4315
4316
  }, 8, ["icon"]),
@@ -4318,7 +4319,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4318
4319
  command: "isShowToolbar"
4319
4320
  }, {
4320
4321
  default: g(() => [
4321
- F(V(p(e)("main.statusBar.setting.toolbar")), 1)
4322
+ R(V(p(e)("main.statusBar.setting.toolbar")), 1)
4322
4323
  ]),
4323
4324
  _: 1
4324
4325
  }, 8, ["icon"])
@@ -4383,27 +4384,27 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4383
4384
  },
4384
4385
  emits: ["toggleNotificationCenter"],
4385
4386
  setup(o, { emit: e }) {
4386
- const t = o, { text: i } = qn(A.instance.curView), n = nl(A.instance), l = de(), { isMobile: a } = sl(), d = (k) => {
4387
+ const t = o, { text: i } = qn(A.instance.curView), n = nl(A.instance), l = me(), { isMobile: a } = sl(), d = (x) => {
4387
4388
  Ge().layoutManager.setCurrentLayoutBtrId(
4388
- k.blockTableRecordId
4389
+ x.blockTableRecordId
4389
4390
  );
4390
4391
  }, s = e, h = () => {
4391
4392
  s("toggleNotificationCenter");
4392
4393
  };
4393
- return (k, T) => {
4394
+ return (x, T) => {
4394
4395
  const v = B("el-button"), m = B("el-button-group");
4395
4396
  return r(), $(p(aa), { class: "ml-status-bar" }, {
4396
4397
  left: g(() => [
4397
4398
  f(m, { class: "ml-status-bar-left-button-group" }, {
4398
4399
  default: g(() => [
4399
- (r(!0), b(O, null, W(p(n), (u) => (r(), $(v, {
4400
+ (r(!0), k(O, null, W(p(n), (u) => (r(), $(v, {
4400
4401
  class: "ml-status-bar-layout-button",
4401
4402
  key: u.name,
4402
4403
  type: u.isActive ? "primary" : "",
4403
- onClick: (y) => d(u)
4404
+ onClick: (b) => d(u)
4404
4405
  }, {
4405
4406
  default: g(() => [
4406
- F(V(u.name), 1)
4407
+ R(V(u.name), 1)
4407
4408
  ]),
4408
4409
  _: 2
4409
4410
  }, 1032, ["type", "onClick"]))), 128))
@@ -4420,7 +4421,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4420
4421
  class: "ml-status-bar-current-pos"
4421
4422
  }, {
4422
4423
  default: g(() => [
4423
- F(V(p(i)), 1)
4424
+ R(V(p(i)), 1)
4424
4425
  ]),
4425
4426
  _: 1
4426
4427
  })) : H("", !0),
@@ -4453,41 +4454,41 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4453
4454
  theme: { default: "dark" }
4454
4455
  },
4455
4456
  setup(o) {
4456
- const e = o, { t } = Y(), { effectiveLocale: i, elementPlusLocale: n } = Ze(e.locale), { info: l, warning: a, error: d, success: s } = he(), h = S(), k = S(null), T = S(null), v = D(() => T.value), m = S(!1), u = He({
4457
- selector: k,
4457
+ const e = o, { t } = Y(), { effectiveLocale: i, elementPlusLocale: n } = Ze(e.locale), { info: l, warning: a, error: d, success: s } = he(), h = S(), x = S(null), T = S(null), v = D(() => T.value), m = S(!1), u = He({
4458
+ selector: x,
4458
4459
  attribute: "class",
4459
4460
  valueDark: "ml-theme-dark",
4460
4461
  valueLight: "ml-theme-light"
4461
- }), y = Ye(u), M = async (x, _) => {
4462
+ }), b = Ye(u), M = async (w, _) => {
4462
4463
  const z = { minimumChunkSize: 1e3 };
4463
- await A.instance.openDocument(x, _, z), ne.fileName = A.instance.curDocument.docTitle;
4464
- }, I = async (x) => {
4464
+ await A.instance.openDocument(w, _, z), ne.fileName = A.instance.curDocument.docTitle;
4465
+ }, I = async (w) => {
4465
4466
  try {
4466
4467
  const _ = { minimumChunkSize: 1e3 };
4467
- await A.instance.openUrl(x, _), ne.fileName = A.instance.curDocument.docTitle;
4468
+ await A.instance.openUrl(w, _), ne.fileName = A.instance.curDocument.docTitle;
4468
4469
  } catch (_) {
4469
4470
  console.error("Failed to open file from URL:", _), J({
4470
- message: t("main.message.failedToOpenFile", { fileName: x }),
4471
+ message: t("main.message.failedToOpenFile", { fileName: w }),
4471
4472
  grouping: !0,
4472
4473
  type: "error",
4473
4474
  showClose: !0
4474
4475
  });
4475
4476
  }
4476
- }, L = async (x) => {
4477
+ }, L = async (w) => {
4477
4478
  try {
4478
4479
  const _ = new FileReader();
4479
- _.readAsArrayBuffer(x);
4480
- const z = await new Promise((R, K) => {
4480
+ _.readAsArrayBuffer(w);
4481
+ const z = await new Promise((F, K) => {
4481
4482
  _.onload = (ye) => {
4482
4483
  var Se;
4483
4484
  const Me = (Se = ye.target) == null ? void 0 : Se.result;
4484
- Me ? R(Me) : K(new Error("Failed to read file content"));
4485
+ Me ? F(Me) : K(new Error("Failed to read file content"));
4485
4486
  }, _.onerror = () => K(new Error("Failed to read file"));
4486
4487
  }), E = { minimumChunkSize: 1e3 };
4487
- await A.instance.openDocument(x.name, z, E), ne.fileName = A.instance.curDocument.docTitle;
4488
+ await A.instance.openDocument(w.name, z, E), ne.fileName = A.instance.curDocument.docTitle;
4488
4489
  } catch (_) {
4489
4490
  console.error("Failed to open local file:", _), J({
4490
- message: t("main.message.failedToOpenFile", { fileName: x.name }),
4491
+ message: t("main.message.failedToOpenFile", { fileName: w.name }),
4491
4492
  grouping: !0,
4492
4493
  type: "error",
4493
4494
  showClose: !0
@@ -4496,23 +4497,23 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4496
4497
  };
4497
4498
  N(
4498
4499
  () => e.url,
4499
- async (x) => {
4500
- x && I(x);
4500
+ async (w) => {
4501
+ w && I(w);
4501
4502
  }
4502
4503
  ), N(
4503
4504
  () => e.localFile,
4504
- async (x) => {
4505
- x && L(x);
4505
+ async (w) => {
4506
+ w && L(w);
4506
4507
  }
4507
4508
  ), N(
4508
4509
  () => e.background,
4509
- (x) => {
4510
- x != null && (A.instance.curView.backgroundColor = x);
4510
+ (w) => {
4511
+ w != null && (A.instance.curView.backgroundColor = w);
4511
4512
  }
4512
4513
  ), N(
4513
4514
  () => e.theme,
4514
- (x) => {
4515
- u.value = x === "dark";
4515
+ (w) => {
4516
+ u.value = w === "dark";
4516
4517
  }
4517
4518
  ), U(async () => {
4518
4519
  h.value && (Vi({
@@ -4520,44 +4521,44 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4520
4521
  baseUrl: e.baseUrl,
4521
4522
  useMainThreadDraw: e.useMainThreadDraw
4522
4523
  }), T.value = A.instance), e.url ? I(e.url) : e.localFile && L(e.localFile), e.background != null && (A.instance.curView.backgroundColor = e.background), e.theme === "dark" ? u.value = !0 : u.value = !1;
4523
- }), Q.on("message", (x) => {
4524
+ }), Q.on("message", (w) => {
4524
4525
  switch (J({
4525
- message: x.message,
4526
+ message: w.message,
4526
4527
  grouping: !0,
4527
- type: x.type,
4528
+ type: w.type,
4528
4529
  showClose: !0
4529
- }), x.type) {
4530
+ }), w.type) {
4530
4531
  case "success":
4531
- s("System Message", x.message);
4532
+ s("System Message", w.message);
4532
4533
  break;
4533
4534
  case "warning":
4534
- a("System Warning", x.message);
4535
+ a("System Warning", w.message);
4535
4536
  break;
4536
4537
  case "error":
4537
- d("System Error", x.message);
4538
+ d("System Error", w.message);
4538
4539
  break;
4539
4540
  default:
4540
- l("System Info", x.message);
4541
+ l("System Info", w.message);
4541
4542
  break;
4542
4543
  }
4543
- }), Q.on("fonts-not-loaded", (x) => {
4544
- const _ = x.fonts.map((E) => E.fontName).join(", "), z = t("main.message.fontsNotLoaded", { fonts: _ });
4544
+ }), Q.on("fonts-not-loaded", (w) => {
4545
+ const _ = w.fonts.map((E) => E.fontName).join(", "), z = t("main.message.fontsNotLoaded", { fonts: _ });
4545
4546
  d(t("main.notification.title.fontNotFound"), z);
4546
- }), Q.on("fonts-not-found", (x) => {
4547
+ }), Q.on("fonts-not-found", (w) => {
4547
4548
  const _ = t("main.message.fontsNotFound", {
4548
- fonts: x.fonts.join(", ")
4549
+ fonts: w.fonts.join(", ")
4549
4550
  });
4550
4551
  a(t("main.notification.title.fontNotFound"), _);
4551
- }), Q.on("failed-to-get-avaiable-fonts", (x) => {
4552
+ }), Q.on("failed-to-get-avaiable-fonts", (w) => {
4552
4553
  J({
4553
- message: t("main.message.failedToGetAvaiableFonts", { url: x.url }),
4554
+ message: t("main.message.failedToGetAvaiableFonts", { url: w.url }),
4554
4555
  grouping: !0,
4555
4556
  type: "error",
4556
4557
  showClose: !0
4557
4558
  });
4558
- }), Q.on("failed-to-open-file", (x) => {
4559
+ }), Q.on("failed-to-open-file", (w) => {
4559
4560
  const _ = t("main.message.failedToOpenFile", {
4560
- fileName: x.fileName
4561
+ fileName: w.fileName
4561
4562
  });
4562
4563
  J({
4563
4564
  message: _,
@@ -4568,21 +4569,21 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4568
4569
  });
4569
4570
  const C = () => {
4570
4571
  m.value = !m.value;
4571
- }, w = () => {
4572
+ }, y = () => {
4572
4573
  m.value = !1;
4573
4574
  };
4574
- return (x, _) => {
4575
+ return (w, _) => {
4575
4576
  const z = B("el-config-provider");
4576
- return r(), b(O, null, [
4577
+ return r(), k(O, null, [
4577
4578
  c("canvas", {
4578
4579
  ref_key: "canvasRef",
4579
4580
  ref: h,
4580
4581
  class: "ml-cad-canvas"
4581
4582
  }, null, 512),
4582
- T.value ? (r(), b("div", {
4583
+ T.value ? (r(), k("div", {
4583
4584
  key: 0,
4584
4585
  ref_key: "viewerRoot",
4585
- ref: k,
4586
+ ref: x,
4586
4587
  class: "ml-cad-viewer-container"
4587
4588
  }, [
4588
4589
  f(z, { locale: p(n) }, {
@@ -4600,7 +4601,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4600
4601
  c("footer", null, [
4601
4602
  f(p(Bi), {
4602
4603
  "is-dark": p(u),
4603
- "toggle-dark": p(y),
4604
+ "toggle-dark": p(b),
4604
4605
  onToggleNotificationCenter: C
4605
4606
  }, null, 8, ["is-dark", "toggle-dark"])
4606
4607
  ]),
@@ -4608,7 +4609,7 @@ const _a = (o) => (Fe("data-v-43098ce9"), o = o(), Re(), o), ya = /* @__PURE__ *
4608
4609
  f(p(Ya)),
4609
4610
  m.value ? (r(), $(p(vi), {
4610
4611
  key: 0,
4611
- onClose: w
4612
+ onClose: y
4612
4613
  })) : H("", !0)
4613
4614
  ]),
4614
4615
  _: 1
@@ -4714,6 +4715,6 @@ export {
4714
4715
  qe as useMissedData,
4715
4716
  he as useNotificationCenter,
4716
4717
  al as useSelectionSet,
4717
- de as useSettings,
4718
+ me as useSettings,
4718
4719
  il as useSystemVars
4719
4720
  };