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