@tmagic/editor 1.3.0-alpha.6 → 1.3.0-alpha.8
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 +17 -0
- package/dist/tmagic-editor.js +471 -264
- package/dist/tmagic-editor.js.map +1 -1
- package/dist/tmagic-editor.umd.cjs +474 -265
- package/dist/tmagic-editor.umd.cjs.map +1 -1
- package/package.json +12 -12
- package/src/Editor.vue +3 -0
- package/src/components/ContentMenu.vue +15 -8
- package/src/components/FunctionEditor.vue +6 -4
- package/src/components/SplitView.vue +2 -2
- package/src/fields/CodeLink.vue +4 -2
- package/src/fields/DataSourceInput.vue +11 -10
- package/src/index.ts +4 -2
- package/src/initService.ts +2 -0
- package/src/layouts/Framework.vue +4 -4
- package/src/layouts/PropsPanel.vue +2 -1
- package/src/layouts/sidebar/LayerMenu.vue +4 -3
- package/src/layouts/sidebar/LayerPanel.vue +55 -32
- package/src/layouts/workspace/Stage.vue +13 -3
- package/src/layouts/workspace/Workspace.vue +2 -2
- package/src/services/codeBlock.ts +3 -2
- package/src/services/keybinding.ts +148 -203
- package/src/services/storage.ts +3 -2
- package/src/theme/data-source-input.scss +18 -0
- package/src/theme/stage.scss +4 -0
- package/src/theme/theme.scss +1 -0
- package/src/type.ts +56 -0
- package/src/utils/config.ts +1 -1
- package/src/utils/keybinding-config.ts +120 -0
- package/src/utils/props.ts +34 -0
- package/types/components/ContentMenu.vue.d.ts +2 -0
- package/types/index.d.ts +2 -1
- package/types/initService.d.ts +1 -1
- package/types/layouts/workspace/Workspace.vue.d.ts +1 -1
- package/types/services/keybinding.d.ts +13 -5
- package/types/type.d.ts +53 -0
- package/types/utils/config.d.ts +1 -1
- package/types/utils/keybinding-config.d.ts +3 -0
package/dist/style.css
CHANGED
|
@@ -675,6 +675,9 @@
|
|
|
675
675
|
justify-content: center;
|
|
676
676
|
align-items: center;
|
|
677
677
|
}
|
|
678
|
+
.m-editor-stage:focus-visible {
|
|
679
|
+
outline: none;
|
|
680
|
+
}
|
|
678
681
|
.m-editor-stage-container {
|
|
679
682
|
width: 100%;
|
|
680
683
|
height: 100%;
|
|
@@ -940,6 +943,20 @@
|
|
|
940
943
|
justify-content: flex-end;
|
|
941
944
|
margin-top: 15px;
|
|
942
945
|
}
|
|
946
|
+
.tmagic-data-source-input-text .el-input__wrapper.tmagic-data-source-input-text-wrapper {
|
|
947
|
+
overflow: hidden;
|
|
948
|
+
padding-right: 30px;
|
|
949
|
+
}
|
|
950
|
+
.tmagic-data-source-input-text .el-input__inner {
|
|
951
|
+
display: flex;
|
|
952
|
+
align-items: center;
|
|
953
|
+
overflow: hidden;
|
|
954
|
+
white-space: nowrap;
|
|
955
|
+
}
|
|
956
|
+
.tmagic-data-source-input-text .tmagic-data-source-input-icon {
|
|
957
|
+
position: absolute;
|
|
958
|
+
right: 7px;
|
|
959
|
+
}
|
|
943
960
|
.m-fields-key-value-item {
|
|
944
961
|
display: flex;
|
|
945
962
|
margin-bottom: 10px;
|