mce 0.15.36 → 0.15.38
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/components/Selection.vue.d.ts +2 -20
- package/dist/index.css +36 -29
- package/dist/index.js +420 -402
- package/dist/mixins/0.context.d.ts +1 -1
- package/dist/mixins/4.3.element.d.ts +1 -2
- package/dist/plugins/selection.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,27 +1,9 @@
|
|
|
1
1
|
import type { TransformValue } from './shared/TransformControls.vue';
|
|
2
|
-
declare var __VLS_14: {
|
|
3
|
-
box: {
|
|
4
|
-
left: number;
|
|
5
|
-
top: number;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
rotate: number;
|
|
9
|
-
borderRadius: number;
|
|
10
|
-
};
|
|
11
|
-
}, __VLS_16: {
|
|
12
|
-
transform: {
|
|
13
|
-
left: number;
|
|
14
|
-
top: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
rotate: number;
|
|
18
|
-
borderRadius: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
2
|
+
declare var __VLS_14: {}, __VLS_21: {};
|
|
21
3
|
type __VLS_Slots = {} & {
|
|
22
4
|
transform?: (props: typeof __VLS_14) => any;
|
|
23
5
|
} & {
|
|
24
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_21) => any;
|
|
25
7
|
};
|
|
26
8
|
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
27
9
|
transformControls: Readonly<import("vue").ShallowRef<({
|
package/dist/index.css
CHANGED
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
transform-origin: left bottom;
|
|
56
56
|
font-size: 0.75rem;
|
|
57
57
|
line-height: 1.5;
|
|
58
|
-
white-space: nowrap;
|
|
59
58
|
pointer-events: auto;
|
|
60
59
|
user-select: none;
|
|
60
|
+
max-width: 100%;
|
|
61
61
|
}
|
|
62
62
|
.mce-frame__name > div {
|
|
63
63
|
position: relative;
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
box-sizing: content-box;
|
|
66
66
|
color: rgb(var(--mce-theme-on-surface));
|
|
67
67
|
opacity: 0.5;
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
text-overflow: ellipsis;
|
|
68
72
|
}
|
|
69
73
|
.mce-frame__name > input {
|
|
70
74
|
position: absolute;
|
|
@@ -711,6 +715,33 @@
|
|
|
711
715
|
.mce-transform-controls--hide-ui .mce-transform-controls__rotator,
|
|
712
716
|
.mce-transform-controls--hide-ui .mce-transform-controls__tip {
|
|
713
717
|
visibility: hidden;
|
|
718
|
+
}.mce-cropper {
|
|
719
|
+
pointer-events: auto;
|
|
720
|
+
position: absolute;
|
|
721
|
+
left: 0;
|
|
722
|
+
top: 0;
|
|
723
|
+
width: 100%;
|
|
724
|
+
height: 100%;
|
|
725
|
+
}
|
|
726
|
+
.mce-cropper__source {
|
|
727
|
+
position: absolute;
|
|
728
|
+
width: 100%;
|
|
729
|
+
height: 100%;
|
|
730
|
+
transform-origin: top left;
|
|
731
|
+
}
|
|
732
|
+
.mce-cropper__source canvas {
|
|
733
|
+
position: absolute;
|
|
734
|
+
width: 100%;
|
|
735
|
+
height: 100%;
|
|
736
|
+
}
|
|
737
|
+
.mce-cropper__transform {
|
|
738
|
+
position: absolute;
|
|
739
|
+
color: rgba(var(--mce-theme-primary), 1);
|
|
740
|
+
opacity: 0.5;
|
|
741
|
+
}
|
|
742
|
+
.mce-cropper__transform_rect {
|
|
743
|
+
width: 100%;
|
|
744
|
+
height: 100%;
|
|
714
745
|
}.mce-selection {
|
|
715
746
|
position: absolute;
|
|
716
747
|
left: 0;
|
|
@@ -728,13 +759,15 @@
|
|
|
728
759
|
border-style: dashed;
|
|
729
760
|
color: rgba(var(--mce-theme-primary), 1);
|
|
730
761
|
opacity: 0.5;
|
|
762
|
+
border-color: currentColor;
|
|
731
763
|
}
|
|
732
|
-
.mce-
|
|
764
|
+
.mce-selection__marquee {
|
|
733
765
|
position: absolute;
|
|
734
766
|
border-width: 1px;
|
|
735
767
|
border-style: solid;
|
|
736
768
|
color: rgba(var(--mce-theme-primary), 1);
|
|
737
769
|
background-color: rgba(var(--mce-theme-primary), 0.1);
|
|
770
|
+
border-color: currentcolor;
|
|
738
771
|
}
|
|
739
772
|
.mce-selection__transform {
|
|
740
773
|
position: absolute;
|
|
@@ -745,6 +778,7 @@
|
|
|
745
778
|
border-width: 1px;
|
|
746
779
|
border-style: solid;
|
|
747
780
|
color: rgba(var(--mce-theme-primary), 1);
|
|
781
|
+
border-color: currentcolor;
|
|
748
782
|
}.mce-smart-guides {
|
|
749
783
|
position: absolute;
|
|
750
784
|
overflow: hidden;
|
|
@@ -1384,33 +1418,6 @@
|
|
|
1384
1418
|
width: 100%;
|
|
1385
1419
|
height: 100%;
|
|
1386
1420
|
pointer-events: none;
|
|
1387
|
-
}.mce-cropper {
|
|
1388
|
-
pointer-events: auto;
|
|
1389
|
-
position: absolute;
|
|
1390
|
-
left: 0;
|
|
1391
|
-
top: 0;
|
|
1392
|
-
width: 100%;
|
|
1393
|
-
height: 100%;
|
|
1394
|
-
}
|
|
1395
|
-
.mce-cropper__source {
|
|
1396
|
-
position: absolute;
|
|
1397
|
-
width: 100%;
|
|
1398
|
-
height: 100%;
|
|
1399
|
-
transform-origin: top left;
|
|
1400
|
-
}
|
|
1401
|
-
.mce-cropper__source canvas {
|
|
1402
|
-
position: absolute;
|
|
1403
|
-
width: 100%;
|
|
1404
|
-
height: 100%;
|
|
1405
|
-
}
|
|
1406
|
-
.mce-cropper__transform {
|
|
1407
|
-
position: absolute;
|
|
1408
|
-
color: rgba(var(--mce-theme-primary), 1);
|
|
1409
|
-
opacity: 0.5;
|
|
1410
|
-
}
|
|
1411
|
-
.mce-cropper__transform_rect {
|
|
1412
|
-
width: 100%;
|
|
1413
|
-
height: 100%;
|
|
1414
1421
|
}.mce-dialog > * {
|
|
1415
1422
|
box-shadow: var(--mce-shadow);
|
|
1416
1423
|
}
|