build-dxf 0.0.20-4 → 0.0.20-5
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 -6
- package/src/index2.js +1 -1
- package/src/index3.js +529 -252
- 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
|
}
|
|
@@ -254,6 +250,10 @@
|
|
|
254
250
|
max-width: 150px;
|
|
255
251
|
}
|
|
256
252
|
|
|
253
|
+
.max-w-\[180px\] {
|
|
254
|
+
max-width: 180px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
257
|
.max-w-\[260px\] {
|
|
258
258
|
max-width: 260px;
|
|
259
259
|
}
|
|
@@ -274,6 +274,10 @@
|
|
|
274
274
|
rotate: 90deg;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
+
.\!cursor-no-drop {
|
|
278
|
+
cursor: no-drop !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
277
281
|
.cursor-pointer {
|
|
278
282
|
cursor: pointer;
|
|
279
283
|
}
|
|
@@ -346,7 +350,7 @@
|
|
|
346
350
|
border-radius: var(--radius-lg);
|
|
347
351
|
}
|
|
348
352
|
|
|
349
|
-
.border {
|
|
353
|
+
.border, .border-1 {
|
|
350
354
|
border-style: var(--tw-border-style);
|
|
351
355
|
border-width: 1px;
|
|
352
356
|
}
|
|
@@ -361,6 +365,10 @@
|
|
|
361
365
|
border-bottom-width: 1px;
|
|
362
366
|
}
|
|
363
367
|
|
|
368
|
+
.border-\[\#ccc\] {
|
|
369
|
+
border-color: #ccc;
|
|
370
|
+
}
|
|
371
|
+
|
|
364
372
|
.border-t-\[\#eee\] {
|
|
365
373
|
border-top-color: #eee;
|
|
366
374
|
}
|
|
@@ -377,6 +385,10 @@
|
|
|
377
385
|
background-color: var(--primary-color) !important;
|
|
378
386
|
}
|
|
379
387
|
|
|
388
|
+
.bg-\[\#ccc\] {
|
|
389
|
+
background-color: #ccc;
|
|
390
|
+
}
|
|
391
|
+
|
|
380
392
|
.bg-\[\#f0f0f0\] {
|
|
381
393
|
background-color: #f0f0f0;
|
|
382
394
|
}
|
|
@@ -415,6 +427,10 @@
|
|
|
415
427
|
padding: 0 10px;
|
|
416
428
|
}
|
|
417
429
|
|
|
430
|
+
.p-\[2px\] {
|
|
431
|
+
padding: 2px;
|
|
432
|
+
}
|
|
433
|
+
|
|
418
434
|
.p-\[2px_5px\] {
|
|
419
435
|
padding: 2px 5px;
|
|
420
436
|
}
|
|
@@ -473,6 +489,10 @@
|
|
|
473
489
|
font-weight: var(--font-weight-bold);
|
|
474
490
|
}
|
|
475
491
|
|
|
492
|
+
.text-nowrap {
|
|
493
|
+
text-wrap: nowrap;
|
|
494
|
+
}
|
|
495
|
+
|
|
476
496
|
.text-\[\#333\] {
|
|
477
497
|
color: #333;
|
|
478
498
|
}
|
|
@@ -497,6 +517,10 @@
|
|
|
497
517
|
color: var(--color-primary);
|
|
498
518
|
}
|
|
499
519
|
|
|
520
|
+
.opacity-30 {
|
|
521
|
+
opacity: .3;
|
|
522
|
+
}
|
|
523
|
+
|
|
500
524
|
.blur {
|
|
501
525
|
--tw-blur: blur(8px);
|
|
502
526
|
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 +554,10 @@
|
|
|
530
554
|
}
|
|
531
555
|
}
|
|
532
556
|
|
|
557
|
+
.active\:\!scale-\[1\]:active {
|
|
558
|
+
scale: 1 !important;
|
|
559
|
+
}
|
|
560
|
+
|
|
533
561
|
.active\:scale-\[0\.7\]:active {
|
|
534
562
|
scale: .7;
|
|
535
563
|
}
|
|
@@ -620,7 +648,7 @@
|
|
|
620
648
|
inherits: false
|
|
621
649
|
}
|
|
622
650
|
|
|
623
|
-
[data-v-
|
|
651
|
+
[data-v-6aea548c] {
|
|
624
652
|
font-family: 宋体;
|
|
625
653
|
}
|
|
626
654
|
|
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
|
* 是否按下按键组
|