emacroh5lib 1.0.16 → 1.0.18

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
@@ -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,60 +184,3 @@
199
184
  border-radius: 0.15em;
200
185
  }
201
186
 
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;
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.16",
3
+ "version": "1.0.18",
4
4
  "description": "EMacro前端组件库",
5
5
  "main": "dist/emacroh5lib.min.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -5,9 +5,10 @@ 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/DragResizeViewTs/index.vue'
8
+ import DragView from './views/Draw/index.vue'
8
9
  import MessageBoxTest from "@/components/MessageBoxTest";
9
10
 
10
- const components = [FileViewer, ImageViewer, DragResizeView];
11
+ const components = [FileViewer, ImageViewer, DragResizeView, DragView];
11
12
 
12
13
  const install = (Vue: any) => {
13
14
  if ((install as any).installed) return;
@@ -30,4 +31,4 @@ if (typeof window !== 'undefined' && (window as any).Vue) {
30
31
 
31
32
 
32
33
  export default {}
33
- export { EMacro,FileViewer, ImageViewer, DragResizeView }
34
+ export { EMacro,FileViewer, ImageViewer, DragResizeView, DragView }
@@ -1,10 +1,3 @@
1
- .app-container {
2
- height: 100%;
3
- width: 100%;
4
- margin: 0;
5
- padding: 0;
6
- }
7
-
8
1
  .vdr {
9
2
  position: absolute;
10
3
  box-sizing: border-box;
@@ -26,7 +19,7 @@
26
19
  position: absolute;
27
20
  font-size: 1px;
28
21
  background: #ffffff;
29
- border: 1px solid #6c6c6c;
22
+ border: 2px solid #6c6c6c;
30
23
  box-shadow: 0 0 2px #bbb;
31
24
  }
32
25