build-dxf 0.0.20-4 → 0.0.20-6
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/package.json +1 -1
- package/src/index.css +34 -18
- package/src/index2.js +1 -1
- package/src/index3.js +529 -252
- package/src/selectLocalFile.js +10 -8
- package/src/utils/CommandManager/CommandFlow.d.ts +4 -0
- package/src/utils/CommandManager/CommandManager.d.ts +14 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/CommandFlowComponent.d.ts +4 -1
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/ConnectionLine.d.ts +19 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/Default.d.ts +0 -20
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/DeleteSelectLine.d.ts +19 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/DeleteSelectWindow.d.ts +19 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/IntersectionConnectionLine.d.ts +19 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/SelectAll.d.ts +17 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/VerticalCorrection.d.ts +39 -0
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/mergeLine.d.ts +19 -0
- package/src/utils/DxfSystem/plugin/Editor/components/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.css
CHANGED
|
@@ -112,10 +112,6 @@
|
|
|
112
112
|
z-index: 1000;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.z-\[10000\] {
|
|
116
|
-
z-index: 10000;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
115
|
.container {
|
|
120
116
|
width: 100%;
|
|
121
117
|
}
|
|
@@ -218,10 +214,6 @@
|
|
|
218
214
|
height: 20px;
|
|
219
215
|
}
|
|
220
216
|
|
|
221
|
-
.h-\[20px\] {
|
|
222
|
-
height: 20px;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
217
|
.h-\[100vh\] {
|
|
226
218
|
height: 100vh;
|
|
227
219
|
}
|
|
@@ -254,26 +246,26 @@
|
|
|
254
246
|
max-width: 150px;
|
|
255
247
|
}
|
|
256
248
|
|
|
257
|
-
.max-w-\[
|
|
258
|
-
max-width:
|
|
249
|
+
.max-w-\[180px\] {
|
|
250
|
+
max-width: 180px;
|
|
259
251
|
}
|
|
260
252
|
|
|
261
|
-
.
|
|
262
|
-
|
|
253
|
+
.max-w-\[260px\] {
|
|
254
|
+
max-width: 260px;
|
|
263
255
|
}
|
|
264
256
|
|
|
265
257
|
.min-w-\[150px\] {
|
|
266
258
|
min-width: 150px;
|
|
267
259
|
}
|
|
268
260
|
|
|
269
|
-
.flex-1 {
|
|
270
|
-
flex: 1;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
261
|
.rotate-90 {
|
|
274
262
|
rotate: 90deg;
|
|
275
263
|
}
|
|
276
264
|
|
|
265
|
+
.\!cursor-no-drop {
|
|
266
|
+
cursor: no-drop !important;
|
|
267
|
+
}
|
|
268
|
+
|
|
277
269
|
.cursor-pointer {
|
|
278
270
|
cursor: pointer;
|
|
279
271
|
}
|
|
@@ -346,7 +338,7 @@
|
|
|
346
338
|
border-radius: var(--radius-lg);
|
|
347
339
|
}
|
|
348
340
|
|
|
349
|
-
.border {
|
|
341
|
+
.border, .border-1 {
|
|
350
342
|
border-style: var(--tw-border-style);
|
|
351
343
|
border-width: 1px;
|
|
352
344
|
}
|
|
@@ -361,6 +353,10 @@
|
|
|
361
353
|
border-bottom-width: 1px;
|
|
362
354
|
}
|
|
363
355
|
|
|
356
|
+
.border-\[\#ccc\] {
|
|
357
|
+
border-color: #ccc;
|
|
358
|
+
}
|
|
359
|
+
|
|
364
360
|
.border-t-\[\#eee\] {
|
|
365
361
|
border-top-color: #eee;
|
|
366
362
|
}
|
|
@@ -377,6 +373,10 @@
|
|
|
377
373
|
background-color: var(--primary-color) !important;
|
|
378
374
|
}
|
|
379
375
|
|
|
376
|
+
.bg-\[\#ccc\] {
|
|
377
|
+
background-color: #ccc;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
380
|
.bg-\[\#f0f0f0\] {
|
|
381
381
|
background-color: #f0f0f0;
|
|
382
382
|
}
|
|
@@ -415,6 +415,10 @@
|
|
|
415
415
|
padding: 0 10px;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
+
.p-\[2px\] {
|
|
419
|
+
padding: 2px;
|
|
420
|
+
}
|
|
421
|
+
|
|
418
422
|
.p-\[2px_5px\] {
|
|
419
423
|
padding: 2px 5px;
|
|
420
424
|
}
|
|
@@ -473,6 +477,10 @@
|
|
|
473
477
|
font-weight: var(--font-weight-bold);
|
|
474
478
|
}
|
|
475
479
|
|
|
480
|
+
.text-nowrap {
|
|
481
|
+
text-wrap: nowrap;
|
|
482
|
+
}
|
|
483
|
+
|
|
476
484
|
.text-\[\#333\] {
|
|
477
485
|
color: #333;
|
|
478
486
|
}
|
|
@@ -497,6 +505,10 @@
|
|
|
497
505
|
color: var(--color-primary);
|
|
498
506
|
}
|
|
499
507
|
|
|
508
|
+
.opacity-30 {
|
|
509
|
+
opacity: .3;
|
|
510
|
+
}
|
|
511
|
+
|
|
500
512
|
.blur {
|
|
501
513
|
--tw-blur: blur(8px);
|
|
502
514
|
filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
|
|
@@ -530,6 +542,10 @@
|
|
|
530
542
|
}
|
|
531
543
|
}
|
|
532
544
|
|
|
545
|
+
.active\:\!scale-\[1\]:active {
|
|
546
|
+
scale: 1 !important;
|
|
547
|
+
}
|
|
548
|
+
|
|
533
549
|
.active\:scale-\[0\.7\]:active {
|
|
534
550
|
scale: .7;
|
|
535
551
|
}
|
|
@@ -620,7 +636,7 @@
|
|
|
620
636
|
inherits: false
|
|
621
637
|
}
|
|
622
638
|
|
|
623
|
-
[data-v-
|
|
639
|
+
[data-v-6aea548c] {
|
|
624
640
|
font-family: 宋体;
|
|
625
641
|
}
|
|
626
642
|
|
package/src/index2.js
CHANGED
|
@@ -465,7 +465,7 @@ class EventInput extends Component {
|
|
|
465
465
|
* @returns
|
|
466
466
|
*/
|
|
467
467
|
isKeyDown(key) {
|
|
468
|
-
return this.keyList.has(key) || this.mouseList.has(key);
|
|
468
|
+
return this.keyList.has(key.toLocaleLowerCase()) || this.mouseList.has(key.toLocaleLowerCase());
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* 是否按下按键组
|