emacroh5lib 1.0.15 → 1.0.19
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/emacroh5lib.min.js +1 -1
- package/dist/main.css +0 -61
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/views/{DragResizeViewTs/vue-drag-resize.css → DragResizeView/index.less} +21 -8
- package/src/views/DragResizeView/index.vue +955 -3
- package/src/views/DragResizeViewJs/index.vue +3 -0
- package/src/views/{DragResizeView → DragResizeViewJs}/vue-drag-resize.css +0 -0
- package/src/views/{DragResizeView → DragResizeViewJs}/vue-drag-resize.html +0 -0
- package/src/views/{DragResizeView → DragResizeViewJs}/vue-drag-resize.js +0 -0
- package/src/views/Draw/index.less +98 -0
- package/src/views/Draw/index.vue +429 -0
- package/src/views/TestView/index.less +11 -0
- package/src/views/TestView/index.vue +7 -1
- package/tsconfig.json +3 -3
- package/webpack.config.js +3 -1
- package/src/views/DragResizeViewTs/index.vue +0 -3
- package/src/views/DragResizeViewTs/vue-drag-resize.html +0 -17
- package/src/views/DragResizeViewTs/vue-drag-resize.ts +0 -876
package/dist/main.css
CHANGED
@@ -1,18 +1,3 @@
|
|
1
|
-
.app-container[data-v-7a6f68ae] {
|
2
|
-
height: 100%;
|
3
|
-
width: 100%;
|
4
|
-
margin: 0;
|
5
|
-
padding: 0;
|
6
|
-
background-color: aqua;
|
7
|
-
}
|
8
|
-
.click-button[data-v-7a6f68ae] {
|
9
|
-
padding: 10px;
|
10
|
-
font-size: 16px;
|
11
|
-
color: white;
|
12
|
-
border-radius: 15px;
|
13
|
-
background-color: blue;
|
14
|
-
}
|
15
|
-
|
16
1
|
.duo-viewer {
|
17
2
|
position: fixed;
|
18
3
|
top: 0;
|
@@ -199,49 +184,3 @@
|
|
199
184
|
border-radius: 0.15em;
|
200
185
|
}
|
201
186
|
|
202
|
-
.vdr {
|
203
|
-
position: absolute;
|
204
|
-
box-sizing: border-box;
|
205
|
-
}
|
206
|
-
.vdr.active:before{
|
207
|
-
content: '';
|
208
|
-
width: 100%;
|
209
|
-
height: 100%;
|
210
|
-
position: absolute;
|
211
|
-
top: 0;
|
212
|
-
left: 0;
|
213
|
-
box-sizing: border-box;
|
214
|
-
outline: 1px dashed #d6d6d6;
|
215
|
-
}
|
216
|
-
.vdr-stick {
|
217
|
-
box-sizing: border-box;
|
218
|
-
position: absolute;
|
219
|
-
font-size: 1px;
|
220
|
-
background: #ffffff;
|
221
|
-
border: 1px solid #6c6c6c;
|
222
|
-
box-shadow: 0 0 2px #bbb;
|
223
|
-
}
|
224
|
-
.inactive .vdr-stick {
|
225
|
-
display: none;
|
226
|
-
}
|
227
|
-
.vdr-stick-tl, .vdr-stick-br {
|
228
|
-
cursor: nwse-resize;
|
229
|
-
}
|
230
|
-
.vdr-stick-tm, .vdr-stick-bm {
|
231
|
-
left: 50%;
|
232
|
-
cursor: ns-resize;
|
233
|
-
}
|
234
|
-
.vdr-stick-tr, .vdr-stick-bl {
|
235
|
-
cursor: nesw-resize;
|
236
|
-
}
|
237
|
-
.vdr-stick-ml, .vdr-stick-mr {
|
238
|
-
top: 50%;
|
239
|
-
cursor: ew-resize;
|
240
|
-
}
|
241
|
-
.vdr-stick.not-resizable{
|
242
|
-
display: none;
|
243
|
-
}
|
244
|
-
.content-container{
|
245
|
-
display: block;
|
246
|
-
position: relative;
|
247
|
-
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
@@ -5,6 +5,7 @@ import { EMacro } from "./utilities/File";
|
|
5
5
|
import FileViewer from './views/FileViewer/index.vue'
|
6
6
|
import ImageViewer from './views/ImageViewer/index.vue'
|
7
7
|
import DragResizeView from './views/DragResizeView/index.vue'
|
8
|
+
import DragView from './views/Draw/index.vue'
|
8
9
|
import MessageBoxTest from "@/components/MessageBoxTest";
|
9
10
|
|
10
11
|
const components = [FileViewer, ImageViewer, DragResizeView];
|
@@ -2,7 +2,8 @@
|
|
2
2
|
position: absolute;
|
3
3
|
box-sizing: border-box;
|
4
4
|
}
|
5
|
-
|
5
|
+
|
6
|
+
.vdr.active:before {
|
6
7
|
content: '';
|
7
8
|
width: 100%;
|
8
9
|
height: 100%;
|
@@ -12,35 +13,47 @@
|
|
12
13
|
box-sizing: border-box;
|
13
14
|
outline: 1px dashed #d6d6d6;
|
14
15
|
}
|
16
|
+
|
15
17
|
.vdr-stick {
|
16
18
|
box-sizing: border-box;
|
17
19
|
position: absolute;
|
18
20
|
font-size: 1px;
|
19
21
|
background: #ffffff;
|
20
|
-
border:
|
22
|
+
border: 2px solid #6c6c6c;
|
21
23
|
box-shadow: 0 0 2px #bbb;
|
22
24
|
}
|
25
|
+
|
23
26
|
.inactive .vdr-stick {
|
24
27
|
display: none;
|
25
28
|
}
|
26
|
-
|
29
|
+
|
30
|
+
.vdr-stick-tl,
|
31
|
+
.vdr-stick-br {
|
27
32
|
cursor: nwse-resize;
|
28
33
|
}
|
29
|
-
|
34
|
+
|
35
|
+
.vdr-stick-tm,
|
36
|
+
.vdr-stick-bm {
|
30
37
|
left: 50%;
|
31
38
|
cursor: ns-resize;
|
32
39
|
}
|
33
|
-
|
40
|
+
|
41
|
+
.vdr-stick-tr,
|
42
|
+
.vdr-stick-bl {
|
34
43
|
cursor: nesw-resize;
|
35
44
|
}
|
36
|
-
|
45
|
+
|
46
|
+
.vdr-stick-ml,
|
47
|
+
.vdr-stick-mr {
|
37
48
|
top: 50%;
|
38
49
|
cursor: ew-resize;
|
39
50
|
}
|
40
|
-
|
51
|
+
|
52
|
+
.vdr-stick.not-resizable {
|
41
53
|
display: none;
|
42
54
|
}
|
43
|
-
|
55
|
+
|
56
|
+
.content-container {
|
44
57
|
display: block;
|
45
58
|
position: relative;
|
46
59
|
}
|