@tmagic/editor 1.0.0-beta.14 → 1.0.0-beta.15
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/coverage/clover.xml +46 -46
- package/coverage/coverage-final.json +34 -34
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/Editor.vue.html +1 -1
- package/coverage/lcov-report/src/components/ContentMenu.vue.html +1 -1
- package/coverage/lcov-report/src/components/Icon.vue.html +1 -1
- package/coverage/lcov-report/src/components/ScrollViewer.vue.html +1 -1
- package/coverage/lcov-report/src/components/ToolButton.vue.html +13 -13
- package/coverage/lcov-report/src/components/index.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/layouts/AddPageBox.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/Framework.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/NavMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/PropsPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/Resizer.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/index.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/ComponentListPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/LayerMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/LayerPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/Sidebar.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/index.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/PageBar.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/Stage.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/ViewerMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/index.html +1 -1
- package/coverage/lcov-report/src/services/BaseService.ts.html +1 -1
- package/coverage/lcov-report/src/services/componentList.ts.html +1 -1
- package/coverage/lcov-report/src/services/editor.ts.html +1 -1
- package/coverage/lcov-report/src/services/events.ts.html +1 -1
- package/coverage/lcov-report/src/services/history.ts.html +1 -1
- package/coverage/lcov-report/src/services/index.html +1 -1
- package/coverage/lcov-report/src/services/props.ts.html +1 -1
- package/coverage/lcov-report/src/services/ui.ts.html +1 -1
- package/coverage/lcov-report/src/type.ts.html +1 -1
- package/coverage/lcov-report/src/utils/compose.ts.html +1 -1
- package/coverage/lcov-report/src/utils/config.ts.html +1 -1
- package/coverage/lcov-report/src/utils/editor.ts.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov-report/src/utils/index.ts.html +1 -1
- package/coverage/lcov-report/src/utils/logger.ts.html +1 -1
- package/coverage/lcov-report/src/utils/props.ts.html +1 -1
- package/coverage/lcov-report/src/utils/scroll-viewer.ts.html +1 -1
- package/coverage/lcov-report/src/utils/undo-redo.ts.html +1 -1
- package/coverage/lcov-report/undo-redo.ts.html +313 -0
- package/coverage/lcov.info +17 -17
- package/dist/style.css +5 -2
- package/dist/tmagic-editor.es.js +2 -2
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +2 -2
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/package.json +14 -10
- package/src/components/ToolButton.vue +2 -2
- package/src/theme/nav-menu.scss +6 -2
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.0-beta.
|
|
2
|
+
"version": "1.0.0-beta.15",
|
|
3
3
|
"name": "@tmagic/editor",
|
|
4
|
-
"sideEffects":
|
|
4
|
+
"sideEffects": [
|
|
5
|
+
"dist/*",
|
|
6
|
+
"src/theme/*"
|
|
7
|
+
],
|
|
5
8
|
"main": "dist/tmagic-editor.umd.js",
|
|
6
9
|
"module": "dist/tmagic-editor.es.js",
|
|
7
10
|
"style": "dist/style.css",
|
|
@@ -14,7 +17,8 @@
|
|
|
14
17
|
"./dist/style.css": {
|
|
15
18
|
"import": "./dist/style.css",
|
|
16
19
|
"require": "./dist/style.css"
|
|
17
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"./*": "./*"
|
|
18
22
|
},
|
|
19
23
|
"license": "Apache-2.0",
|
|
20
24
|
"scripts": {
|
|
@@ -40,14 +44,14 @@
|
|
|
40
44
|
],
|
|
41
45
|
"dependencies": {
|
|
42
46
|
"@element-plus/icons": "0.0.11",
|
|
43
|
-
"@tmagic/core": "^1.0.0-beta.
|
|
44
|
-
"@tmagic/form": "^1.0.0-beta.
|
|
45
|
-
"@tmagic/schema": "^1.0.0-beta.
|
|
46
|
-
"@tmagic/stage": "^1.0.0-beta.
|
|
47
|
-
"@tmagic/utils": "^1.0.0-beta.
|
|
47
|
+
"@tmagic/core": "^1.0.0-beta.15",
|
|
48
|
+
"@tmagic/form": "^1.0.0-beta.15",
|
|
49
|
+
"@tmagic/schema": "^1.0.0-beta.15",
|
|
50
|
+
"@tmagic/stage": "^1.0.0-beta.15",
|
|
51
|
+
"@tmagic/utils": "^1.0.0-beta.15",
|
|
48
52
|
"buffer": "^6.0.3",
|
|
49
53
|
"color": "^3.1.3",
|
|
50
|
-
"element-plus": "^2.
|
|
54
|
+
"element-plus": "^2.2.0",
|
|
51
55
|
"events": "^3.3.0",
|
|
52
56
|
"keycon": "^1.1.2",
|
|
53
57
|
"lodash-es": "^4.17.21",
|
|
@@ -76,5 +80,5 @@
|
|
|
76
80
|
"vite-plugin-dts": "^0.9.6",
|
|
77
81
|
"vue-tsc": "^0.0.24"
|
|
78
82
|
},
|
|
79
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "340e4e3018c8699d6cf49001e0c367996ecea857"
|
|
80
84
|
}
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<template v-else-if="item.type === 'button'">
|
|
26
26
|
<el-tooltip v-if="item.tooltip" effect="dark" placement="bottom-start" :content="item.tooltip">
|
|
27
|
-
<el-button size="small"
|
|
27
|
+
<el-button size="small" text :disabled="disabled"
|
|
28
28
|
><m-icon v-if="item.icon" :icon="item.icon"></m-icon><span>{{ item.text }}</span></el-button
|
|
29
29
|
>
|
|
30
30
|
</el-tooltip>
|
|
31
|
-
<el-button v-else size="small"
|
|
31
|
+
<el-button v-else size="small" text :disabled="disabled"
|
|
32
32
|
><m-icon v-if="item.icon" :icon="item.icon"></m-icon><span>{{ item.text }}</span></el-button
|
|
33
33
|
>
|
|
34
34
|
</template>
|
package/src/theme/nav-menu.scss
CHANGED
|
@@ -43,13 +43,17 @@
|
|
|
43
43
|
display: flex !important;
|
|
44
44
|
transition: all 0.3s ease 0s;
|
|
45
45
|
border-bottom: 2px solid transparent;
|
|
46
|
-
margin: 0
|
|
46
|
+
margin: 0;
|
|
47
47
|
|
|
48
48
|
.is-disabled {
|
|
49
49
|
opacity: 0.5;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.is-text {
|
|
53
|
+
padding: 5px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.is-text,
|
|
53
57
|
i {
|
|
54
58
|
color: $--font-color;
|
|
55
59
|
}
|