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/main.css CHANGED
@@ -199,49 +199,60 @@
199
199
  border-radius: 0.15em;
200
200
  }
201
201
 
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;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emacroh5lib",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "EMacro前端组件库",
5
5
  "main": "dist/emacroh5lib.min.js",
6
6
  "scripts": {
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/DragResizeView/index.vue'
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
+ }