@tmagic/editor 1.4.3 → 1.4.4
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 +15 -1
- package/dist/tmagic-editor.js +1236 -1162
- package/dist/tmagic-editor.umd.cjs +1254 -1179
- package/package.json +11 -11
- package/src/Editor.vue +6 -1
- package/src/editorProps.ts +3 -0
- package/src/fields/CodeSelectCol.vue +26 -18
- package/src/fields/DataSourceFieldSelect.vue +20 -20
- package/src/fields/DataSourceMethodSelect.vue +25 -31
- package/src/fields/DataSourceSelect.vue +49 -13
- package/src/fields/EventSelect.vue +8 -6
- package/src/hooks/use-editor-content-height.ts +11 -5
- package/src/layouts/PropsPanel.vue +3 -1
- package/src/layouts/sidebar/Sidebar.vue +24 -8
- package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +6 -1
- package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +6 -1
- package/src/services/ui.ts +1 -0
- package/src/theme/data-source-field.scss +12 -0
- package/src/theme/props-panel.scss +1 -1
- package/src/theme/theme.scss +1 -0
- package/src/type.ts +31 -2
- package/types/components/ContentMenu.vue.d.ts +3 -3
- package/types/components/ToolButton.vue.d.ts +2 -2
- package/types/editorProps.d.ts +3 -0
- package/types/layouts/PropsPanel.vue.d.ts +2 -0
- package/types/layouts/sidebar/Sidebar.vue.d.ts +7 -7
- package/types/layouts/sidebar/layer/LayerMenu.vue.d.ts +2 -2
- package/types/layouts/sidebar/layer/LayerPanel.vue.d.ts +4 -4
- package/types/layouts/sidebar/layer/use-click.d.ts +13 -13
- package/types/layouts/workspace/Workspace.vue.d.ts +4 -4
- package/types/layouts/workspace/viewer/ViewerMenu.vue.d.ts +2 -2
- package/types/services/ui.d.ts +18 -0
- package/types/type.d.ts +26 -2
package/dist/style.css
CHANGED
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
background-color: #f3f5f9;
|
|
501
501
|
}
|
|
502
502
|
.m-editor-props-panel {
|
|
503
|
-
padding: 0 10px;
|
|
503
|
+
padding: 0 10px 50px 10px;
|
|
504
504
|
}
|
|
505
505
|
.m-editor-props-panel .m-editor-props-panel-src-icon {
|
|
506
506
|
position: absolute;
|
|
@@ -942,6 +942,20 @@
|
|
|
942
942
|
.m-fields-page-fragment-select .page-fragment-select-container .icon {
|
|
943
943
|
margin-left: 10px;
|
|
944
944
|
}
|
|
945
|
+
.m-fields-data-source-select,
|
|
946
|
+
.m-fields-data-source-field-select,
|
|
947
|
+
.m-fields-data-source-method-select .data-source-method-select-container,
|
|
948
|
+
.m-fields-code-select-col .code-select-container {
|
|
949
|
+
width: 100%;
|
|
950
|
+
display: flex;
|
|
951
|
+
align-items: center;
|
|
952
|
+
}
|
|
953
|
+
.m-fields-data-source-select .m-fields-select-action-button,
|
|
954
|
+
.m-fields-data-source-field-select .m-fields-select-action-button,
|
|
955
|
+
.m-fields-data-source-method-select .data-source-method-select-container .m-fields-select-action-button,
|
|
956
|
+
.m-fields-code-select-col .code-select-container .m-fields-select-action-button {
|
|
957
|
+
margin-left: 5px;
|
|
958
|
+
}
|
|
945
959
|
.fade-enter-active,
|
|
946
960
|
.fade-leave-active {
|
|
947
961
|
transition: opacity 0.5s;
|