@tmagic/editor 1.4.9 → 1.4.11
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 +26 -0
- package/dist/tmagic-editor.js +3231 -2800
- package/dist/tmagic-editor.umd.cjs +3257 -2821
- package/package.json +12 -10
- package/src/Editor.vue +2 -1
- package/src/components/CodeParams.vue +11 -1
- package/src/editorProps.ts +3 -0
- package/src/fields/CondOpSelect.vue +87 -0
- package/src/fields/DataSourceFieldSelect/FieldSelect.vue +183 -0
- package/src/fields/DataSourceFieldSelect/Index.vue +168 -0
- package/src/fields/DataSourceFields.vue +6 -0
- package/src/fields/DisplayConds.vue +145 -0
- package/src/hooks/use-data-source-method.ts +1 -1
- package/src/index.ts +8 -2
- package/src/layouts/Framework.vue +4 -2
- package/src/layouts/page-bar/PageBar.vue +8 -2
- package/src/layouts/page-bar/PageBarScrollContainer.vue +40 -4
- package/src/layouts/page-bar/PageList.vue +55 -0
- package/src/services/ui.ts +1 -0
- package/src/theme/data-source-field-select.scss +16 -0
- package/src/theme/page-bar.scss +13 -0
- package/src/theme/theme.scss +1 -0
- package/src/type.ts +35 -4
- package/src/utils/data-source/index.ts +9 -3
- package/src/utils/props.ts +6 -103
- package/types/editorProps.d.ts +3 -1
- package/types/fields/CondOpSelect.vue.d.ts +17 -0
- package/types/fields/DataSourceFieldSelect/FieldSelect.vue.d.ts +36 -0
- package/types/fields/{DataSourceFieldSelect.vue.d.ts → DataSourceFieldSelect/Index.vue.d.ts} +1 -1
- package/types/fields/DisplayConds.vue.d.ts +32 -0
- package/types/index.d.ts +3 -1
- package/types/layouts/Framework.vue.d.ts +3 -1
- package/types/layouts/PropsPanel.vue.d.ts +21 -21
- package/types/layouts/page-bar/PageBar.vue.d.ts +6 -0
- package/types/layouts/page-bar/PageBarScrollContainer.vue.d.ts +3 -0
- package/types/layouts/page-bar/PageList.vue.d.ts +25 -0
- package/types/services/ui.d.ts +1 -0
- package/types/type.d.ts +30 -4
- package/types/utils/data-source/index.d.ts +1 -0
- package/types/utils/props.d.ts +12 -0
- package/src/fields/DataSourceFieldSelect.vue +0 -149
package/dist/style.css
CHANGED
|
@@ -442,6 +442,18 @@
|
|
|
442
442
|
.m-editor-page-bar-tabs .tmagic-design-button.m-editor-page-bar-switch-type-button.active {
|
|
443
443
|
background-color: #f3f3f3;
|
|
444
444
|
}
|
|
445
|
+
.m-editor-page-list-item {
|
|
446
|
+
display: flex;
|
|
447
|
+
width: 100%;
|
|
448
|
+
height: 32px;
|
|
449
|
+
line-height: 32px;
|
|
450
|
+
color: #313a40;
|
|
451
|
+
z-index: 2;
|
|
452
|
+
overflow: hidden;
|
|
453
|
+
}
|
|
454
|
+
.m-editor-page-list-item:hover {
|
|
455
|
+
background-color: #f3f5f9;
|
|
456
|
+
}
|
|
445
457
|
.m-editor-page-bar {
|
|
446
458
|
display: flex;
|
|
447
459
|
width: 100%;
|
|
@@ -956,6 +968,20 @@
|
|
|
956
968
|
.m-fields-code-select-col .code-select-container .m-fields-select-action-button {
|
|
957
969
|
margin-left: 5px;
|
|
958
970
|
}
|
|
971
|
+
.m-fields-data-source-field-select {
|
|
972
|
+
width: 100%;
|
|
973
|
+
}
|
|
974
|
+
.m-fields-data-source-field-select .m-editor-data-source-field-select {
|
|
975
|
+
display: flex;
|
|
976
|
+
width: 100%;
|
|
977
|
+
}
|
|
978
|
+
.m-fields-data-source-field-select .m-editor-data-source-field-select .tmagic-design-select {
|
|
979
|
+
flex: 1;
|
|
980
|
+
margin-right: 10px;
|
|
981
|
+
}
|
|
982
|
+
.m-fields-data-source-field-select .m-editor-data-source-field-select .tmagic-design-cascader {
|
|
983
|
+
flex: 2;
|
|
984
|
+
}
|
|
959
985
|
.fade-enter-active,
|
|
960
986
|
.fade-leave-active {
|
|
961
987
|
transition: opacity 0.5s;
|