@tmagic/editor 1.5.20 → 1.5.22
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/style.css +14 -2
- package/dist/tmagic-editor.js +1746 -2415
- package/dist/tmagic-editor.umd.cjs +1744 -2413
- package/package.json +12 -12
- package/src/Editor.vue +17 -1
- package/src/components/CodeBlockEditor.vue +3 -3
- package/src/editorProps.ts +6 -0
- package/src/fields/DataSourceFieldSelect/Index.vue +8 -3
- package/src/fields/DataSourceInput.vue +12 -3
- package/src/fields/EventSelect.vue +37 -22
- package/src/fields/StyleSetter/pro/Position.vue +10 -2
- package/src/index.ts +3 -0
- package/src/initService.ts +16 -0
- package/src/layouts/CodeEditor.vue +36 -10
- package/src/layouts/sidebar/Sidebar.vue +14 -2
- package/src/layouts/workspace/viewer/Stage.vue +17 -3
- package/src/services/events.ts +2 -2
- package/src/services/props.ts +25 -1
- package/src/theme/code-editor.scss +7 -2
- package/src/theme/props-panel.scss +10 -0
- package/src/type.ts +16 -0
- package/src/utils/props.ts +39 -18
- package/types/index.d.ts +367 -349
package/dist/style.css
CHANGED
|
@@ -973,12 +973,20 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
973
973
|
right: 15px;
|
|
974
974
|
bottom: 15px;
|
|
975
975
|
z-index: 30;
|
|
976
|
+
opacity: 0.5;
|
|
977
|
+
}
|
|
978
|
+
.m-editor-props-panel .m-editor-props-panel-src-icon:hover {
|
|
979
|
+
opacity: 1;
|
|
976
980
|
}
|
|
977
981
|
.m-editor-props-panel .m-editor-props-panel-style-icon {
|
|
978
982
|
position: absolute;
|
|
979
983
|
right: 15px;
|
|
980
984
|
bottom: 60px;
|
|
981
985
|
z-index: 30;
|
|
986
|
+
opacity: 0.5;
|
|
987
|
+
}
|
|
988
|
+
.m-editor-props-panel .m-editor-props-panel-style-icon:hover {
|
|
989
|
+
opacity: 1;
|
|
982
990
|
}
|
|
983
991
|
.m-editor-props-panel .m-editor-props-panel-src-code.magic-code-editor {
|
|
984
992
|
position: absolute;
|
|
@@ -1182,9 +1190,13 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
1182
1190
|
}
|
|
1183
1191
|
.magic-code-editor-wrapper .magic-code-editor-full-screen-icon {
|
|
1184
1192
|
position: absolute;
|
|
1185
|
-
top:
|
|
1186
|
-
right:
|
|
1193
|
+
top: 20px;
|
|
1194
|
+
right: 10px;
|
|
1187
1195
|
z-index: 11;
|
|
1196
|
+
opacity: 0.3;
|
|
1197
|
+
}
|
|
1198
|
+
.magic-code-editor-wrapper .magic-code-editor-full-screen-icon:hover {
|
|
1199
|
+
opacity: 1;
|
|
1188
1200
|
}
|
|
1189
1201
|
|
|
1190
1202
|
.tmagic-design-icon {
|