@tmagic/editor 1.7.6 → 1.7.8-beta.1

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.
Files changed (238) hide show
  1. package/LICENSE +235 -164
  2. package/dist/es/Editor.js +5 -0
  3. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +214 -0
  4. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  5. package/dist/es/components/CodeBlockEditor.js +5 -0
  6. package/dist/es/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +337 -0
  7. package/dist/es/components/CodeParams.js +5 -0
  8. package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +63 -0
  9. package/dist/es/components/ContentMenu.js +5 -0
  10. package/dist/es/components/ContentMenu.vue_vue_type_script_setup_true_lang.js +160 -0
  11. package/dist/es/components/FloatingBox.js +5 -0
  12. package/dist/es/components/FloatingBox.vue_vue_type_script_setup_true_lang.js +161 -0
  13. package/dist/es/components/Icon.js +5 -0
  14. package/dist/es/components/Icon.vue_vue_type_script_setup_true_lang.js +39 -0
  15. package/dist/es/components/Resizer.js +5 -0
  16. package/dist/es/components/Resizer.vue_vue_type_script_setup_true_lang.js +20 -0
  17. package/dist/es/components/ScrollBar.js +6 -0
  18. package/dist/es/components/ScrollBar.vue_vue_type_script_setup_true_lang.js +72 -0
  19. package/dist/es/components/ScrollViewer.js +5 -0
  20. package/dist/es/components/ScrollViewer.vue_vue_type_script_setup_true_lang.js +104 -0
  21. package/dist/es/components/SearchInput.js +5 -0
  22. package/dist/es/components/SearchInput.vue_vue_type_script_setup_true_lang.js +40 -0
  23. package/dist/es/components/SplitView.js +5 -0
  24. package/dist/es/components/SplitView.vue_vue_type_script_setup_true_lang.js +135 -0
  25. package/dist/es/components/ToolButton.js +5 -0
  26. package/dist/es/components/ToolButton.vue_vue_type_script_setup_true_lang.js +131 -0
  27. package/dist/es/components/Tree.js +5 -0
  28. package/dist/es/components/Tree.vue_vue_type_script_setup_true_lang.js +60 -0
  29. package/dist/es/components/TreeNode.js +5 -0
  30. package/dist/es/components/TreeNode.vue_vue_type_script_setup_true_lang.js +126 -0
  31. package/dist/es/editorProps.js +34 -0
  32. package/dist/es/fields/Code.js +5 -0
  33. package/dist/es/fields/Code.vue_vue_type_script_setup_true_lang.js +54 -0
  34. package/dist/es/fields/CodeLink.js +5 -0
  35. package/dist/es/fields/CodeLink.vue_vue_type_script_setup_true_lang.js +69 -0
  36. package/dist/es/fields/CodeSelect.js +5 -0
  37. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +116 -0
  38. package/dist/es/fields/CodeSelectCol.js +5 -0
  39. package/dist/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +145 -0
  40. package/dist/es/fields/CondOpSelect.js +5 -0
  41. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +81 -0
  42. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.js +5 -0
  43. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +158 -0
  44. package/dist/es/fields/DataSourceFieldSelect/Index.js +5 -0
  45. package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +155 -0
  46. package/dist/es/fields/DataSourceFields.js +5 -0
  47. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +390 -0
  48. package/dist/es/fields/DataSourceInput.js +5 -0
  49. package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +268 -0
  50. package/dist/es/fields/DataSourceMethodSelect.js +5 -0
  51. package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +144 -0
  52. package/dist/es/fields/DataSourceMethods.js +5 -0
  53. package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +148 -0
  54. package/dist/es/fields/DataSourceMocks.js +5 -0
  55. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +259 -0
  56. package/dist/es/fields/DataSourceSelect.js +5 -0
  57. package/dist/es/fields/DataSourceSelect.vue_vue_type_script_setup_true_lang.js +101 -0
  58. package/dist/es/fields/DisplayConds.js +5 -0
  59. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +156 -0
  60. package/dist/es/fields/EventSelect.js +5 -0
  61. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +338 -0
  62. package/dist/es/fields/KeyValue.js +5 -0
  63. package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +158 -0
  64. package/dist/es/fields/PageFragmentSelect.js +5 -0
  65. package/dist/es/fields/PageFragmentSelect.vue_vue_type_script_setup_true_lang.js +81 -0
  66. package/dist/es/fields/StyleSetter/Index.js +5 -0
  67. package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +92 -0
  68. package/dist/es/fields/StyleSetter/components/BackgroundPosition.js +5 -0
  69. package/dist/es/fields/StyleSetter/components/BackgroundPosition.vue_vue_type_script_setup_true_lang.js +96 -0
  70. package/dist/es/fields/StyleSetter/components/Border.js +5 -0
  71. package/dist/es/fields/StyleSetter/components/Border.vue_vue_type_script_setup_true_lang.js +100 -0
  72. package/dist/es/fields/StyleSetter/components/Box.js +5 -0
  73. package/dist/es/fields/StyleSetter/components/Box.vue_vue_type_script_setup_true_lang.js +81 -0
  74. package/dist/es/fields/StyleSetter/icons/background-repeat/NoRepeat.js +17 -0
  75. package/dist/es/fields/StyleSetter/icons/background-repeat/Repeat.js +14 -0
  76. package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatX.js +17 -0
  77. package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatY.js +17 -0
  78. package/dist/es/fields/StyleSetter/icons/display/Block.js +14 -0
  79. package/dist/es/fields/StyleSetter/icons/display/Flex.js +14 -0
  80. package/dist/es/fields/StyleSetter/icons/display/Inline.js +14 -0
  81. package/dist/es/fields/StyleSetter/icons/display/InlineBlock.js +14 -0
  82. package/dist/es/fields/StyleSetter/icons/display/None.js +14 -0
  83. package/dist/es/fields/StyleSetter/icons/flex-direction/Column.js +14 -0
  84. package/dist/es/fields/StyleSetter/icons/flex-direction/ColumnReverse.js +14 -0
  85. package/dist/es/fields/StyleSetter/icons/flex-direction/Row.js +14 -0
  86. package/dist/es/fields/StyleSetter/icons/flex-direction/RowReverse.js +14 -0
  87. package/dist/es/fields/StyleSetter/icons/justify-content/Center.js +14 -0
  88. package/dist/es/fields/StyleSetter/icons/justify-content/FlexEnd.js +14 -0
  89. package/dist/es/fields/StyleSetter/icons/justify-content/FlexStart.js +14 -0
  90. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceAround.js +14 -0
  91. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceBetween.js +14 -0
  92. package/dist/es/fields/StyleSetter/icons/text-align/Center.js +14 -0
  93. package/dist/es/fields/StyleSetter/icons/text-align/Left.js +14 -0
  94. package/dist/es/fields/StyleSetter/icons/text-align/Right.js +14 -0
  95. package/dist/es/fields/StyleSetter/pro/Background.js +5 -0
  96. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +114 -0
  97. package/dist/es/fields/StyleSetter/pro/Border.js +5 -0
  98. package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +50 -0
  99. package/dist/es/fields/StyleSetter/pro/Font.js +5 -0
  100. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +98 -0
  101. package/dist/es/fields/StyleSetter/pro/Layout.js +5 -0
  102. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +287 -0
  103. package/dist/es/fields/StyleSetter/pro/Position.js +5 -0
  104. package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +95 -0
  105. package/dist/es/fields/UISelect.js +6 -0
  106. package/dist/es/fields/UISelect.vue_vue_type_script_setup_true_lang.js +161 -0
  107. package/dist/es/hooks/use-code-block-edit.js +54 -0
  108. package/dist/es/hooks/use-data-source-edit.js +29 -0
  109. package/dist/es/hooks/use-editor-content-height.js +17 -0
  110. package/dist/es/hooks/use-filter.js +35 -0
  111. package/dist/es/hooks/use-float-box.js +76 -0
  112. package/dist/es/hooks/use-getso.js +28 -0
  113. package/dist/es/hooks/use-next-float-box-position.js +27 -0
  114. package/dist/es/hooks/use-node-status.js +28 -0
  115. package/dist/es/hooks/use-services.js +9 -0
  116. package/dist/es/hooks/use-stage.js +107 -0
  117. package/dist/es/hooks/use-window-rect.js +19 -0
  118. package/dist/es/icons/CenterIcon.js +5 -0
  119. package/dist/es/icons/CenterIcon.vue_vue_type_script_setup_true_lang.js +40 -0
  120. package/dist/es/icons/CodeIcon.js +5 -0
  121. package/dist/es/icons/CodeIcon.vue_vue_type_script_setup_true_lang.js +19 -0
  122. package/dist/es/icons/FolderMinusIcon.js +5 -0
  123. package/dist/es/icons/FolderMinusIcon.vue_vue_type_script_setup_true_lang.js +27 -0
  124. package/dist/es/index.js +79 -0
  125. package/dist/es/initService.js +392 -0
  126. package/dist/es/layouts/AddPageBox.js +5 -0
  127. package/dist/es/layouts/AddPageBox.vue_vue_type_script_setup_true_lang.js +38 -0
  128. package/dist/es/layouts/CodeEditor.js +5 -0
  129. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +270 -0
  130. package/dist/es/layouts/Framework.js +5 -0
  131. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +134 -0
  132. package/dist/es/layouts/NavMenu.js +5 -0
  133. package/dist/es/layouts/NavMenu.vue_vue_type_script_setup_true_lang.js +181 -0
  134. package/dist/es/layouts/page-bar/AddButton.js +5 -0
  135. package/dist/es/layouts/page-bar/AddButton.vue_vue_type_script_setup_true_lang.js +57 -0
  136. package/dist/es/layouts/page-bar/PageBar.js +5 -0
  137. package/dist/es/layouts/page-bar/PageBar.vue_vue_type_script_setup_true_lang.js +135 -0
  138. package/dist/es/layouts/page-bar/PageBarScrollContainer.js +5 -0
  139. package/dist/es/layouts/page-bar/PageBarScrollContainer.vue_vue_type_script_setup_true_lang.js +119 -0
  140. package/dist/es/layouts/page-bar/PageList.js +5 -0
  141. package/dist/es/layouts/page-bar/PageList.vue_vue_type_script_setup_true_lang.js +54 -0
  142. package/dist/es/layouts/page-bar/Search.js +5 -0
  143. package/dist/es/layouts/page-bar/Search.vue_vue_type_script_setup_true_lang.js +60 -0
  144. package/dist/es/layouts/props-panel/FormPanel.js +5 -0
  145. package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +129 -0
  146. package/dist/es/layouts/props-panel/PropsPanel.js +5 -0
  147. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +179 -0
  148. package/dist/es/layouts/props-panel/use-style-panel.js +40 -0
  149. package/dist/es/layouts/sidebar/ComponentListPanel.js +5 -0
  150. package/dist/es/layouts/sidebar/ComponentListPanel.vue_vue_type_script_setup_true_lang.js +121 -0
  151. package/dist/es/layouts/sidebar/Sidebar.js +5 -0
  152. package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +314 -0
  153. package/dist/es/layouts/sidebar/code-block/CodeBlockList.js +5 -0
  154. package/dist/es/layouts/sidebar/code-block/CodeBlockList.vue_vue_type_script_setup_true_lang.js +161 -0
  155. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.js +5 -0
  156. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +113 -0
  157. package/dist/es/layouts/sidebar/code-block/useContentMenu.js +60 -0
  158. package/dist/es/layouts/sidebar/data-source/DataSourceAddButton.js +5 -0
  159. package/dist/es/layouts/sidebar/data-source/DataSourceAddButton.vue_vue_type_script_setup_true_lang.js +44 -0
  160. package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.js +5 -0
  161. package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js +103 -0
  162. package/dist/es/layouts/sidebar/data-source/DataSourceList.js +5 -0
  163. package/dist/es/layouts/sidebar/data-source/DataSourceList.vue_vue_type_script_setup_true_lang.js +162 -0
  164. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.js +5 -0
  165. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +133 -0
  166. package/dist/es/layouts/sidebar/data-source/useContentMenu.js +59 -0
  167. package/dist/es/layouts/sidebar/layer/LayerMenu.js +5 -0
  168. package/dist/es/layouts/sidebar/layer/LayerMenu.vue_vue_type_script_setup_true_lang.js +90 -0
  169. package/dist/es/layouts/sidebar/layer/LayerNodeTool.js +5 -0
  170. package/dist/es/layouts/sidebar/layer/LayerNodeTool.vue_vue_type_script_setup_true_lang.js +35 -0
  171. package/dist/es/layouts/sidebar/layer/LayerPanel.js +5 -0
  172. package/dist/es/layouts/sidebar/layer/LayerPanel.vue_vue_type_script_setup_true_lang.js +99 -0
  173. package/dist/es/layouts/sidebar/layer/use-click.js +68 -0
  174. package/dist/es/layouts/sidebar/layer/use-drag.js +118 -0
  175. package/dist/es/layouts/sidebar/layer/use-keybinding.js +36 -0
  176. package/dist/es/layouts/sidebar/layer/use-node-status.js +75 -0
  177. package/dist/es/layouts/workspace/Breadcrumb.js +5 -0
  178. package/dist/es/layouts/workspace/Breadcrumb.vue_vue_type_script_setup_true_lang.js +39 -0
  179. package/dist/es/layouts/workspace/Workspace.js +5 -0
  180. package/dist/es/layouts/workspace/Workspace.vue_vue_type_script_setup_true_lang.js +43 -0
  181. package/dist/es/layouts/workspace/viewer/NodeListMenu.js +5 -0
  182. package/dist/es/layouts/workspace/viewer/NodeListMenu.vue_vue_type_script_setup_true_lang.js +88 -0
  183. package/dist/es/layouts/workspace/viewer/Stage.js +5 -0
  184. package/dist/es/layouts/workspace/viewer/Stage.vue_vue_type_script_setup_true_lang.js +206 -0
  185. package/dist/es/layouts/workspace/viewer/StageOverlay.js +5 -0
  186. package/dist/es/layouts/workspace/viewer/StageOverlay.vue_vue_type_script_setup_true_lang.js +89 -0
  187. package/dist/es/layouts/workspace/viewer/ViewerMenu.js +5 -0
  188. package/dist/es/layouts/workspace/viewer/ViewerMenu.vue_vue_type_script_setup_true_lang.js +132 -0
  189. package/dist/es/plugin.js +61 -0
  190. package/dist/es/services/BaseService.js +148 -0
  191. package/dist/es/services/codeBlock.js +251 -0
  192. package/dist/es/services/componentList.js +29 -0
  193. package/dist/es/services/dataSource.js +157 -0
  194. package/dist/es/services/dep.js +173 -0
  195. package/dist/es/services/editor.js +752 -0
  196. package/dist/es/services/events.js +64 -0
  197. package/dist/es/services/history.js +84 -0
  198. package/dist/es/services/keybinding.js +182 -0
  199. package/dist/es/services/props.js +215 -0
  200. package/dist/es/services/stageOverlay.js +161 -0
  201. package/dist/es/services/storage.js +127 -0
  202. package/dist/es/services/ui.js +112 -0
  203. package/dist/es/style.css +1937 -0
  204. package/dist/es/type.js +90 -0
  205. package/dist/es/utils/compose.js +44 -0
  206. package/dist/es/utils/config.js +8 -0
  207. package/dist/es/utils/const.js +15 -0
  208. package/dist/es/utils/content-menu.js +76 -0
  209. package/dist/es/utils/data-source/formConfigs/base.js +28 -0
  210. package/dist/es/utils/data-source/formConfigs/http.js +74 -0
  211. package/dist/es/utils/data-source/index.js +201 -0
  212. package/dist/es/utils/dep/idle-task.js +76 -0
  213. package/dist/es/utils/dep/worker.js +19 -0
  214. package/dist/es/utils/editor.js +261 -0
  215. package/dist/es/utils/keybinding-config.js +106 -0
  216. package/dist/es/utils/logger.js +18 -0
  217. package/dist/es/utils/monaco-editor.js +13 -0
  218. package/dist/es/utils/operator.js +73 -0
  219. package/dist/es/utils/props.js +232 -0
  220. package/dist/es/utils/scroll-viewer.js +115 -0
  221. package/dist/es/utils/tree.js +11 -0
  222. package/dist/es/utils/undo-redo.js +43 -0
  223. package/dist/style.css +10 -10
  224. package/dist/tmagic-editor.umd.cjs +18427 -21980
  225. package/package.json +17 -13
  226. package/src/fields/CodeLink.vue +2 -2
  227. package/src/fields/DataSourceFieldSelect/Index.vue +10 -2
  228. package/src/fields/EventSelect.vue +6 -5
  229. package/src/index.ts +1 -73
  230. package/src/layouts/CodeEditor.vue +15 -8
  231. package/src/layouts/Framework.vue +1 -1
  232. package/src/plugin.ts +92 -0
  233. package/src/type.ts +6 -7
  234. package/src/utils/index.ts +1 -0
  235. package/src/utils/monaco-editor.ts +13 -6
  236. package/src/utils/props.ts +2 -0
  237. package/types/index.d.ts +3388 -3342
  238. package/dist/tmagic-editor.js +0 -17037
@@ -0,0 +1,1937 @@
1
+ @charset "UTF-8";.m-editor-scroll-bar {
2
+ position: absolute;
3
+ background-color: transparent;
4
+ opacity: 0.3;
5
+ transition: background-color 0.2s linear, opacity 0.2s linear;
6
+ }
7
+ .m-editor-scroll-bar .m-editor-scroll-bar-thumb {
8
+ background-color: #aaa;
9
+ border-radius: 6px;
10
+ position: absolute;
11
+ }
12
+ .m-editor-scroll-bar.horizontal {
13
+ width: 100%;
14
+ height: 15px;
15
+ bottom: 0;
16
+ }
17
+ .m-editor-scroll-bar.horizontal .m-editor-scroll-bar-thumb {
18
+ height: 6px;
19
+ transition: background-color 0.2s linear, height 0.2s ease-in-out;
20
+ bottom: 2px;
21
+ }
22
+ .m-editor-scroll-bar.vertical {
23
+ height: 100%;
24
+ width: 15px;
25
+ right: 5px;
26
+ }
27
+ .m-editor-scroll-bar.vertical .m-editor-scroll-bar-thumb {
28
+ width: 6px;
29
+ transition: background-color 0.2s linear, width 0.2s ease-in-out;
30
+ right: 2px;
31
+ }
32
+ .m-editor-scroll-bar:hover, .m-editor-scroll-bar:focus {
33
+ background-color: #eee;
34
+ opacity: 0.9;
35
+ }
36
+ .m-editor-scroll-bar:hover .m-editor-scroll-bar-thumb, .m-editor-scroll-bar:focus .m-editor-scroll-bar-thumb {
37
+ background-color: #999;
38
+ }
39
+ .m-editor-scroll-bar:hover.horizontal .m-editor-scroll-bar-thumb, .m-editor-scroll-bar:focus.horizontal .m-editor-scroll-bar-thumb {
40
+ height: 11px;
41
+ }
42
+ .m-editor-scroll-bar:hover.vertical .m-editor-scroll-bar-thumb, .m-editor-scroll-bar:focus.vertical .m-editor-scroll-bar-thumb {
43
+ width: 11px;
44
+ }.m-fields-ui-select {
45
+ cursor: pointer;
46
+ }
47
+ .m-fields-ui-select i {
48
+ margin-right: 3px;
49
+ }
50
+ .m-fields-ui-select span {
51
+ color: #2882e0;
52
+ }
53
+ .tmagic-design-popper {
54
+ min-width: 150px;
55
+ line-height: 1.4;
56
+ background-color: #fff;
57
+ box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
58
+ color: #606266;
59
+ border: 1px solid #e4e7ed;
60
+ border-radius: 4px;
61
+ font-size: 14px;
62
+ overflow-wrap: break-word;
63
+ box-sizing: border-box;
64
+ padding: 10px;
65
+ }
66
+ .tmagic-design-popper:focus {
67
+ outline: none;
68
+ }
69
+
70
+ .tmagic-design-popper[data-popper-placement^=top] > .tmagic-design-popper-arrow {
71
+ bottom: -4px;
72
+ }
73
+
74
+ .tmagic-design-popper[data-popper-placement^=bottom] > .tmagic-design-popper-arrow {
75
+ top: -4px;
76
+ }
77
+
78
+ .tmagic-design-popper[data-popper-placement^=left] > .tmagic-design-popper-arrow {
79
+ right: -4px;
80
+ }
81
+
82
+ .tmagic-design-popper[data-popper-placement^=right] > .tmagic-design-popper-arrow {
83
+ left: -4px;
84
+ }
85
+
86
+ .tmagic-design-popper-arrow,
87
+ .tmagic-design-popper-arrow::before {
88
+ position: absolute;
89
+ width: 8px;
90
+ height: 8px;
91
+ background: inherit;
92
+ }
93
+
94
+ .tmagic-design-popper-arrow {
95
+ visibility: hidden;
96
+ }
97
+
98
+ .tmagic-design-popper-arrow::before {
99
+ visibility: visible;
100
+ content: "";
101
+ transform: rotate(45deg);
102
+ }
103
+
104
+ .m-table .el-button.action-btn + .el-button.action-btn {
105
+ margin-left: 0;
106
+ }
107
+ .m-table .keep-all {
108
+ word-break: keep-all;
109
+ }
110
+ .m-table .el-table .cell > div {
111
+ display: inline-block;
112
+ vertical-align: middle;
113
+ }
114
+ .m-table .el-table__row.el-table__row--level-1 {
115
+ color: #999;
116
+ }
117
+
118
+ .tmagic-design-form-inline .m-form-container {
119
+ display: inline-flex;
120
+ }
121
+
122
+ .m-form-container.has-tip {
123
+ display: flex;
124
+ align-items: baseline;
125
+ }
126
+ .m-form-container.has-tip .tmagic-design-form-item {
127
+ flex: 1;
128
+ }
129
+ .m-form-container .tmagic-design-form-item.show-diff {
130
+ background: #f7dadd;
131
+ }
132
+
133
+ .m-form-dialog .el-dialog__body {
134
+ padding: 0 !important;
135
+ }
136
+ .m-form-dialog .m-dialog-body {
137
+ padding: 0 20px;
138
+ }
139
+ .m-form-dialog .el-table .m-form-item .el-form-item {
140
+ margin-bottom: 0;
141
+ }
142
+
143
+ .m-form-drawer .el-drawer__header {
144
+ margin: 0;
145
+ }
146
+ .m-form-drawer .m-drawer-body {
147
+ height: 100%;
148
+ overflow-y: auto;
149
+ overflow-x: hidden;
150
+ }
151
+
152
+ .fade-enter-active,
153
+ .fade-leave-active {
154
+ transition: opacity 0.5s;
155
+ }
156
+
157
+ .fade-enter, .fade-leave-to {
158
+ opacity: 0;
159
+ }
160
+
161
+ .m-form .m-form-tip {
162
+ color: rgba(0, 0, 0, 0.45);
163
+ font-size: 12px;
164
+ transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
165
+ }
166
+ .m-form .m-form-schematic {
167
+ max-width: 50%;
168
+ height: 100%;
169
+ }
170
+ .m-form .tmagic-design-table .cell > div.m-form-container {
171
+ display: block;
172
+ }
173
+ .m-form .tmagic-design-table .cell > div.m-form-container.has-tip {
174
+ display: flex;
175
+ }
176
+ .m-form .tmagic-design-tabs {
177
+ margin-bottom: 10px;
178
+ }
179
+ .m-form .tmagic-design-form-item.tmagic-form-hidden > .el-form-item__label {
180
+ display: none;
181
+ }
182
+ .m-form .t-form__item.tmagic-form-hidden > .t-form__label {
183
+ display: none;
184
+ }
185
+ .m-form .t-form__item.tmagic-form-hidden > .t-form__controls {
186
+ margin-left: 0 !important;
187
+ }
188
+ .m-form.t-form:not(.t-form-inline) .t-form__item:last-of-type {
189
+ margin-bottom: var(--td-comp-margin-xxl);
190
+ }
191
+
192
+ .magic-datetime-picker-popper .el-picker-panel__footer button:first-child {
193
+ display: none;
194
+ }
195
+
196
+ .m-fields-text {
197
+ display: flex;
198
+ align-items: center;
199
+ width: 100%;
200
+ }
201
+
202
+ .m-form-validate__warning {
203
+ color: var(--el-color-warning);
204
+ font-size: 12px;
205
+ width: 100%;
206
+ line-height: 1.4;
207
+ }
208
+
209
+ .tmagic-form-text-popper {
210
+ min-width: 150px;
211
+ line-height: 1.4;
212
+ background-color: #fff;
213
+ box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
214
+ color: #606266;
215
+ border: 1px solid #e4e7ed;
216
+ border-radius: 4px;
217
+ font-size: 14px;
218
+ overflow-wrap: break-word;
219
+ box-sizing: border-box;
220
+ padding: 10px;
221
+ }
222
+ .tmagic-form-text-popper:focus {
223
+ outline: none;
224
+ }
225
+
226
+ .tmagic-form-text-popper[data-popper-placement^=top] > .tmagic-form-text-popper-arrow {
227
+ bottom: -4px;
228
+ }
229
+
230
+ .tmagic-form-text-popper[data-popper-placement^=bottom] > .tmagic-form-text-popper-arrow {
231
+ top: -4px;
232
+ }
233
+
234
+ .tmagic-form-text-popper[data-popper-placement^=left] > .tmagic-form-text-popper-arrow {
235
+ right: -4px;
236
+ }
237
+
238
+ .tmagic-form-text-popper[data-popper-placement^=right] > .tmagic-form-text-popper-arrow {
239
+ left: -4px;
240
+ }
241
+
242
+ .tmagic-form-text-popper-arrow,
243
+ .tmagic-form-text-popper-arrow::before {
244
+ position: absolute;
245
+ width: 8px;
246
+ height: 8px;
247
+ background: inherit;
248
+ }
249
+
250
+ .tmagic-form-text-popper-arrow {
251
+ visibility: hidden;
252
+ }
253
+
254
+ .tmagic-form-text-popper-arrow::before {
255
+ visibility: visible;
256
+ content: "";
257
+ transform: rotate(45deg);
258
+ }
259
+
260
+ div.m-fields-link {
261
+ width: fit-content;
262
+ }
263
+
264
+ fieldset.m-fieldset {
265
+ position: relative;
266
+ border: 1px solid rgb(229, 229, 229);
267
+ margin-top: 10px;
268
+ margin-bottom: 10px;
269
+ min-inline-size: auto;
270
+ }
271
+ fieldset.m-fieldset .el-checkbox {
272
+ height: 22px;
273
+ }
274
+ fieldset.m-fieldset legend {
275
+ font-size: 14px;
276
+ position: absolute;
277
+ border: 0;
278
+ top: -10px;
279
+ left: 20px;
280
+ background: rgb(255, 255, 255);
281
+ width: auto;
282
+ padding: 0px 3px;
283
+ font-weight: bold;
284
+ line-height: 20px;
285
+ }
286
+ fieldset.m-fieldset .m-form-tip {
287
+ margin-left: 5px;
288
+ }
289
+
290
+ .m-fields-group-list .el-button--text {
291
+ padding: 0;
292
+ margin-bottom: 7px;
293
+ }
294
+ .m-fields-group-list .el-tree-node__expand-icon {
295
+ padding: 0;
296
+ margin-bottom: 7px;
297
+ }
298
+ .m-fields-group-list .el-tree-node__expand-icon.expand {
299
+ transform: rotate(90deg);
300
+ }
301
+ .m-fields-group-list .m-fields-group-list-item {
302
+ border-bottom: 1px solid #ebeef5;
303
+ margin-bottom: 7px;
304
+ }
305
+ .m-fields-group-list .m-fields-group-list-item:last-of-type {
306
+ border-bottom: 0;
307
+ }
308
+ .m-fields-group-list .tmagic-design-card .el-card__header {
309
+ padding: 5px 20px;
310
+ }
311
+ .m-fields-group-list .tmagic-design-card .t-card__header {
312
+ padding: 5px 0;
313
+ }
314
+ .m-fields-group-list .m-fields-group-list-footer {
315
+ display: flex;
316
+ justify-content: space-between;
317
+ margin-top: 10px;
318
+ }
319
+
320
+ .m-form-panel .el-card__header:hover {
321
+ background: #f2f6fc;
322
+ }
323
+ .m-form-panel .el-card__header a {
324
+ color: #409eff;
325
+ }
326
+ .m-form-panel .el-card__body {
327
+ padding: 10px;
328
+ }
329
+ .m-form-panel .m-form-tip {
330
+ margin-left: 5px;
331
+ }
332
+
333
+ .m-container-panel:not(:last-of-type) {
334
+ margin-bottom: 20px;
335
+ }
336
+
337
+ .m-fields-table-wrap {
338
+ width: 100%;
339
+ }
340
+ .m-fields-table-wrap.fixed {
341
+ position: fixed;
342
+ height: 100%;
343
+ overflow: auto;
344
+ top: 0;
345
+ right: 0;
346
+ left: 0;
347
+ bottom: 0;
348
+ z-index: 100;
349
+ background: rgba(0, 0, 0, 0.5);
350
+ align-items: center;
351
+ display: flex;
352
+ }
353
+ .m-fields-table-wrap.fixed > .el-form-item__content {
354
+ z-index: 101;
355
+ position: relative;
356
+ margin: 10vh auto;
357
+ max-width: fit-content;
358
+ }
359
+ .m-fields-table-wrap.fixed table {
360
+ width: 95vw !important;
361
+ }
362
+
363
+ .m-fields-table {
364
+ width: 100%;
365
+ }
366
+ .m-fields-table th {
367
+ background-color: #f2f2f2 !important;
368
+ color: #333 !important;
369
+ }
370
+ .m-fields-table .el-table th {
371
+ padding: 0 !important;
372
+ }
373
+ .m-fields-table .el-table__column--dropable {
374
+ cursor: move;
375
+ }
376
+ .m-fields-table .el-form-item__content .el-input-group {
377
+ vertical-align: middle;
378
+ }
379
+ .m-fields-table.m-fields-table-item-extra tr.expanded td {
380
+ border-bottom: 0;
381
+ }
382
+ .m-fields-table .el-table__expanded-cell .m-form-tip {
383
+ margin-left: 80px;
384
+ }
385
+ .m-fields-table .el-form-item {
386
+ margin-bottom: 0;
387
+ }
388
+ .m-fields-table .tmagic-form-table-drag-target {
389
+ cursor: move;
390
+ }
391
+
392
+ .m-select {
393
+ width: 100%;
394
+ }
395
+
396
+ .magic-form-dynamic-tab .el-tabs__header.is-top {
397
+ padding-right: 8px;
398
+ }
399
+ .magic-form-dynamic-tab .el-tabs__header.is-top .el-tabs__new-tab {
400
+ margin-right: auto;
401
+ min-width: 50px;
402
+ outline: none;
403
+ border-color: #409eff;
404
+ color: #409eff;
405
+ width: 10px;
406
+ }
407
+ .magic-form-dynamic-tab .el-tabs__header.is-top .el-tabs__new-tab::before {
408
+ content: "添加";
409
+ }
410
+ .magic-form-dynamic-tab .el-tabs__header.is-top .el-tabs__new-tab .el-icon-plus {
411
+ display: none;
412
+ }
413
+
414
+ .magic-form-tab {
415
+ margin-bottom: 10px;
416
+ }
417
+
418
+ .diff-count-badge {
419
+ top: -10px;
420
+ }
421
+
422
+ .m-fields-number-range {
423
+ display: flex;
424
+ align-items: center;
425
+ }
426
+ .m-fields-number-range .split-tag {
427
+ margin: 0 5px;
428
+ }
429
+
430
+ .m-form-box {
431
+ display: flex;
432
+ flex-direction: column;
433
+ }
434
+ .m-form-box .el-box__header {
435
+ margin: 0;
436
+ }
437
+ .m-form-box .dialog-footer {
438
+ display: flex;
439
+ align-items: center;
440
+ justify-content: space-between;
441
+ }
442
+
443
+ .tmagic-design-input.search-input {
444
+ background: #fff;
445
+ color: #bbbbbb;
446
+ padding: 10px;
447
+ position: absolute;
448
+ top: 0;
449
+ left: 0;
450
+ box-sizing: border-box;
451
+ z-index: 1;
452
+ background: transparent;
453
+ }
454
+ .tmagic-design-input.search-input .el-input__prefix {
455
+ padding: 7px;
456
+ }
457
+
458
+ .m-editor-nav-menu {
459
+ display: flex;
460
+ z-index: 5;
461
+ -webkit-box-pack: justify;
462
+ justify-content: space-between;
463
+ -webkit-box-align: center;
464
+ align-items: center;
465
+ background-color: #ffffff;
466
+ font-size: 19.2px;
467
+ color: #313a40;
468
+ font-weight: 400;
469
+ box-sizing: border-box;
470
+ margin: 0px;
471
+ flex: 0 0 35px;
472
+ border-bottom: 1px solid #d8dee8;
473
+ }
474
+ .m-editor-nav-menu > div {
475
+ display: flex;
476
+ gap: 3px;
477
+ height: 100%;
478
+ z-index: 1;
479
+ align-items: center;
480
+ }
481
+ .m-editor-nav-menu .menu-center {
482
+ justify-content: center;
483
+ }
484
+ .m-editor-nav-menu .menu-right {
485
+ justify-content: flex-end;
486
+ }
487
+ .m-editor-nav-menu .menu-item {
488
+ flex-direction: row;
489
+ -webkit-box-align: center;
490
+ align-items: center;
491
+ vertical-align: middle;
492
+ font-size: 14px;
493
+ line-height: 1;
494
+ height: 100%;
495
+ color: rgba(255, 255, 255, 0.7);
496
+ box-sizing: inherit;
497
+ z-index: 1;
498
+ display: flex !important;
499
+ transition: all 0.3s ease 0s;
500
+ border-bottom: 2px solid transparent;
501
+ margin: 0;
502
+ }
503
+ .m-editor-nav-menu .menu-item .is-disabled {
504
+ opacity: 0.5;
505
+ }
506
+ .m-editor-nav-menu .menu-item .is-text {
507
+ padding: 5px;
508
+ }
509
+ .m-editor-nav-menu .menu-item .is-text > i {
510
+ color: #313a40;
511
+ }
512
+ .m-editor-nav-menu .menu-item .icon {
513
+ display: flex;
514
+ -webkit-box-align: center;
515
+ align-items: center;
516
+ height: 100%;
517
+ padding: 0px 8px;
518
+ }
519
+ .m-editor-nav-menu .menu-item .menu-item-text {
520
+ color: #313a40;
521
+ }
522
+ .m-editor-nav-menu .menu-item.rule .el-icon {
523
+ transform: rotate(-90deg);
524
+ }
525
+ .m-editor-nav-menu .menu-item .t-button {
526
+ padding-left: 1px;
527
+ padding-right: 1px;
528
+ }
529
+
530
+ .m-editor {
531
+ display: flex;
532
+ flex-direction: column;
533
+ width: 100%;
534
+ }
535
+ .m-editor-content {
536
+ height: calc(100% - 35px);
537
+ }
538
+ .m-editor-framework-center {
539
+ position: relative;
540
+ transform: translateZ(0);
541
+ flex: 1;
542
+ }
543
+ .m-editor-framework-left {
544
+ background-color: #ffffff;
545
+ }
546
+ .m-editor-framework-center .el-scrollbar__view {
547
+ height: 100%;
548
+ min-height: 100%;
549
+ display: flex;
550
+ justify-content: center;
551
+ align-items: center;
552
+ }
553
+ .m-editor-empty-panel {
554
+ display: flex;
555
+ flex: 1;
556
+ justify-content: center;
557
+ align-items: center;
558
+ flex-direction: column;
559
+ height: calc(100% - 32px);
560
+ }
561
+ .m-editor-empty-content {
562
+ display: flex;
563
+ justify-content: space-evenly;
564
+ flex-direction: row;
565
+ width: 100%;
566
+ }
567
+ .m-editor-empty-button {
568
+ border: 3px solid rgba(0, 0, 0, 0.2);
569
+ padding: 10px 40px;
570
+ color: rgba(0, 0, 0, 0.6);
571
+ cursor: pointer;
572
+ }
573
+ .m-editor-empty-button i {
574
+ height: 180px;
575
+ line-height: 180px;
576
+ font-size: 100px;
577
+ }
578
+ .m-editor-empty-button p {
579
+ text-align: center;
580
+ font-size: 20px;
581
+ margin-top: 5px;
582
+ }
583
+ .m-editor-empty-button:hover {
584
+ border-color: #2882e0;
585
+ color: #2882e0;
586
+ }
587
+
588
+ .m-editor-sidebar {
589
+ display: flex;
590
+ height: 100%;
591
+ position: relative;
592
+ }
593
+ .m-editor-sidebar .m-editor-sidebar-header {
594
+ background: #2882e0;
595
+ height: 100%;
596
+ width: 40px;
597
+ }
598
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item {
599
+ line-height: 15px;
600
+ height: auto;
601
+ padding: 8px;
602
+ color: rgb(255, 255, 255);
603
+ box-sizing: border-box;
604
+ cursor: pointer;
605
+ }
606
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active {
607
+ background: #ffffff;
608
+ }
609
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active i {
610
+ color: #353140;
611
+ }
612
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active .magic-editor-tab-panel-title {
613
+ color: #353140;
614
+ }
615
+ .m-editor-sidebar .m-editor-sidebar-header i {
616
+ font-size: 25px;
617
+ color: rgba(255, 255, 255, 0.6);
618
+ }
619
+ .m-editor-sidebar .m-editor-sidebar-header i:hover {
620
+ color: rgb(255, 255, 255);
621
+ }
622
+ .m-editor-sidebar .m-editor-sidebar-header .magic-editor-tab-panel-title {
623
+ font-size: 12px;
624
+ white-space: normal;
625
+ user-select: none;
626
+ }
627
+ .m-editor-sidebar .m-editor-sidebar-content {
628
+ height: 100%;
629
+ width: calc(100% - 40px);
630
+ overflow: auto;
631
+ }
632
+ .m-editor-sidebar .m-editor-sidebar-tips {
633
+ position: absolute;
634
+ bottom: 0;
635
+ left: 40px;
636
+ width: calc(100% - 40px);
637
+ text-align: center;
638
+ background-color: rgba(252.5, 245.7, 235.5, 0.9);
639
+ color: #e6a23c;
640
+ padding: 5px 0;
641
+ font-size: 12px;
642
+ }
643
+ .m-editor-sidebar .m-editor-sidebar-tips .close-icon {
644
+ cursor: pointer;
645
+ position: absolute;
646
+ right: 15px;
647
+ }
648
+ .m-editor-sidebar .fold-icon {
649
+ position: absolute;
650
+ bottom: 8px;
651
+ left: 0px;
652
+ width: 45px;
653
+ padding-left: 8px;
654
+ color: #fff;
655
+ font-size: 32px;
656
+ opacity: 0.8;
657
+ cursor: pointer;
658
+ }
659
+ .m-editor-sidebar .fold-icon:hover {
660
+ background: rgba(0, 0, 0, 0.2);
661
+ }
662
+
663
+ .m-editor-slide-list-box > div:first-child {
664
+ min-width: 240px;
665
+ }
666
+ .m-editor-slide-list-box .m-form-box {
667
+ border-left: 1px solid #e0e0e0;
668
+ }
669
+
670
+ .m-editor-layer-panel {
671
+ background: #ffffff;
672
+ }
673
+ .m-editor-layer-panel .m-editor-tree {
674
+ padding-top: 48px;
675
+ }
676
+ .m-editor-layer-panel .m-editor-tree .tree-node-tool {
677
+ padding-right: 10px;
678
+ }
679
+ .m-editor-layer-panel .m-editor-tree .tree-node-tool .tmagic-design-button + .tmagic-design-button {
680
+ margin-left: 2px;
681
+ }
682
+ .m-editor-layer-panel .m-editor-tree .tree-node.selected .tree-node-tool .tmagic-design-button {
683
+ color: #fff;
684
+ }
685
+ .m-editor-layer-panel .search-wrapper {
686
+ display: flex;
687
+ align-items: center;
688
+ justify-content: center;
689
+ position: absolute;
690
+ top: 0;
691
+ width: 100%;
692
+ z-index: 1;
693
+ }
694
+ .m-editor-layer-panel .search-wrapper .search-input {
695
+ flex: 1;
696
+ position: relative;
697
+ }
698
+ .m-editor-layer-panel .search-wrapper .tmagic-design-button {
699
+ margin-right: 10px;
700
+ }
701
+
702
+ .ui-component-panel.tmagic-design-collapse {
703
+ border-top: 0 !important;
704
+ margin-top: 48px;
705
+ background-color: #ffffff;
706
+ }
707
+ .ui-component-panel.tmagic-design-collapse .tmagic-design-collapse-item > div:first-of-type {
708
+ border-bottom: 1px solid #d9dbdd;
709
+ margin-bottom: 10px;
710
+ }
711
+ .ui-component-panel.tmagic-design-collapse .tmagic-design-collapse-item > .el-collapse-item__header {
712
+ padding: 0 10px;
713
+ box-sizing: border-box;
714
+ }
715
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__title {
716
+ display: flex;
717
+ align-items: center;
718
+ gap: 3px;
719
+ }
720
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__header,
721
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__header {
722
+ background: #ffffff;
723
+ color: #313a40;
724
+ height: 25px;
725
+ line-height: 25px;
726
+ padding-left: 10px;
727
+ font-size: 12px;
728
+ }
729
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__header i,
730
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__header i {
731
+ margin-right: 5px;
732
+ font-size: 14px;
733
+ }
734
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap,
735
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body {
736
+ background: #ffffff;
737
+ border-bottom: 0;
738
+ }
739
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .el-collapse-item__content,
740
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .t-collapse-panel__content,
741
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .el-collapse-item__content,
742
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .t-collapse-panel__content {
743
+ padding: 10px;
744
+ display: flex;
745
+ flex-wrap: wrap;
746
+ }
747
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item,
748
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item {
749
+ display: flex;
750
+ overflow: hidden;
751
+ text-overflow: ellipsis;
752
+ margin: 5px 10px;
753
+ box-sizing: border-box;
754
+ color: #313a40;
755
+ flex-direction: column;
756
+ width: 42px;
757
+ cursor: pointer;
758
+ }
759
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item i,
760
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item i {
761
+ font-size: 20px;
762
+ background: #fff;
763
+ height: 40px;
764
+ width: 40px;
765
+ line-height: 40px;
766
+ border-radius: 5px;
767
+ color: #909090;
768
+ border: 1px solid #d9dbdd;
769
+ display: flex;
770
+ justify-content: space-evenly;
771
+ align-items: center;
772
+ margin-bottom: 5px;
773
+ }
774
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item i:hover,
775
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item i:hover {
776
+ background: #2882e0;
777
+ color: #fff;
778
+ border-color: #4e8be1;
779
+ }
780
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item span,
781
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item span {
782
+ font-size: 12px;
783
+ text-align: center;
784
+ }
785
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item .el-tooltip,
786
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item .el-tooltip {
787
+ width: 50px;
788
+ height: 30px;
789
+ line-height: 15px;
790
+ display: block;
791
+ white-space: normal;
792
+ margin: 0;
793
+ }
794
+ .ui-component-panel .t-collapse {
795
+ margin-top: 0;
796
+ padding-top: 48px;
797
+ position: relative;
798
+ }
799
+
800
+ .m-editor-resizer {
801
+ border-left: 2px solid transparent;
802
+ border-right: 2px solid transparent;
803
+ width: 8px;
804
+ margin: 0 -5px;
805
+ height: 100%;
806
+ opacity: 0.8;
807
+ background: padding-box #d8dee8;
808
+ box-sizing: border-box;
809
+ cursor: col-resize;
810
+ z-index: 1;
811
+ position: relative;
812
+ }
813
+ .m-editor-resizer:hover {
814
+ border-color: #d8dee8;
815
+ }
816
+ .m-editor-resizer:hover .icon-container {
817
+ visibility: visible;
818
+ opacity: 1;
819
+ }
820
+ .m-editor-resizer.m-editor-resizer-dragging::after {
821
+ content: "";
822
+ position: absolute;
823
+ width: 600px;
824
+ height: 100%;
825
+ left: 0;
826
+ }
827
+ .m-editor-resizer.m-editor-resizer-dragging::before {
828
+ content: "";
829
+ position: absolute;
830
+ width: 600px;
831
+ height: 100%;
832
+ right: 0;
833
+ }
834
+ .m-editor-resizer .icon-container {
835
+ visibility: hidden;
836
+ opacity: 0;
837
+ transition: opacity 0.4s;
838
+ width: 20px;
839
+ height: 120px;
840
+ line-height: 120px;
841
+ text-align: center;
842
+ background: #d8dee8;
843
+ position: absolute;
844
+ top: 50%;
845
+ left: 50%;
846
+ transform: translate(-50%, -50%);
847
+ cursor: pointer;
848
+ }
849
+ .m-editor-resizer .icon-container.position-left {
850
+ transform: translate(calc(-100% - 4px), -50%);
851
+ }
852
+ .m-editor-resizer .icon-container.position-right {
853
+ transform: translate(calc(100% + 4px), -50%);
854
+ }
855
+ .m-editor-resizer .icon {
856
+ color: #fff;
857
+ font-size: 18px;
858
+ }
859
+
860
+ .m-editor-workspace {
861
+ height: 100%;
862
+ width: 100%;
863
+ user-select: none;
864
+ }
865
+ .m-editor-workspace:focus-visible {
866
+ outline: 0;
867
+ }
868
+
869
+ .m-editor-page-bar-tabs {
870
+ position: fixed;
871
+ bottom: 0;
872
+ left: 0;
873
+ width: 100%;
874
+ user-select: none;
875
+ }
876
+
877
+ .m-editor-page-list-item {
878
+ display: flex;
879
+ width: 100%;
880
+ height: 32px;
881
+ line-height: 32px;
882
+ color: #313a40;
883
+ z-index: 2;
884
+ overflow: hidden;
885
+ }
886
+ .m-editor-page-list-item:hover {
887
+ background-color: #f3f5f9;
888
+ }
889
+
890
+ .m-editor-page-bar {
891
+ display: flex;
892
+ width: 100%;
893
+ height: 32px;
894
+ line-height: 32px;
895
+ color: #313a40;
896
+ background-color: #f3f3f3;
897
+ border-top: 1px solid #d9dbdd;
898
+ z-index: 2;
899
+ overflow: hidden;
900
+ }
901
+ .m-editor-page-bar-items {
902
+ display: flex;
903
+ transition: transform 0.3s;
904
+ }
905
+ .m-editor-page-bar-item {
906
+ padding: 0 10px;
907
+ cursor: pointer;
908
+ border-right: 1px solid #d9dbdd;
909
+ display: flex;
910
+ justify-items: center;
911
+ align-items: center;
912
+ background-color: #f3f3f3;
913
+ white-space: nowrap;
914
+ }
915
+ .m-editor-page-bar-item.active {
916
+ background-color: #fff;
917
+ cursor: text;
918
+ }
919
+ .m-editor-page-bar-item.active .m-editor-page-bar-menu-icon {
920
+ cursor: pointer;
921
+ }
922
+ .m-editor-page-bar-item-icon {
923
+ position: relative;
924
+ z-index: 1;
925
+ }
926
+ .m-editor-page-bar-item-icon .icon-active {
927
+ font-weight: bold;
928
+ color: #2882e0;
929
+ }
930
+ .m-editor-page-bar-item-title {
931
+ max-width: 150px;
932
+ text-overflow: ellipsis;
933
+ white-space: nowrap;
934
+ overflow: hidden;
935
+ }
936
+ .m-editor-page-bar-item-left-icon, .m-editor-page-bar-item-right-icon {
937
+ position: absolute;
938
+ right: 0;
939
+ top: 0;
940
+ height: 100%;
941
+ }
942
+ .m-editor-page-bar-item-left-icon {
943
+ right: 34px;
944
+ }
945
+
946
+ .page-bar-popover.tmagic-design-popper {
947
+ padding: 4px 0;
948
+ }
949
+ .page-bar-popover .page-bar-popover-wrapper {
950
+ max-height: calc(100vh - 32px - 20px);
951
+ overflow: auto;
952
+ }
953
+ .page-bar-popover .menu-item {
954
+ cursor: pointer;
955
+ transition: all 0.2s ease 0s;
956
+ padding: 5px 14px;
957
+ }
958
+ .page-bar-popover .menu-item .tmagic-design-button {
959
+ color: #313a40;
960
+ }
961
+ .page-bar-popover .menu-item:hover {
962
+ background-color: #f3f5f9;
963
+ }
964
+ .page-bar-popover .menu-item.active .tmagic-design-button {
965
+ color: #2882e0;
966
+ }
967
+
968
+ .m-editor-page-bar-search-panel {
969
+ position: absolute;
970
+ bottom: 32px;
971
+ border: 1px solid #d9dbdd;
972
+ padding: 6px 10px;
973
+ width: 100%;
974
+ box-sizing: border-box;
975
+ }
976
+ .m-editor-page-bar-search-panel .tmagic-design-form-item {
977
+ margin-bottom: 0;
978
+ }
979
+
980
+ .m-editor-props-panel {
981
+ height: 100%;
982
+ position: relative;
983
+ --props-style-panel-width: 300px;
984
+ }
985
+ .m-editor-props-panel .m-editor-props-form-panel {
986
+ padding-bottom: 10px;
987
+ position: relative;
988
+ height: 100%;
989
+ box-sizing: border-box;
990
+ }
991
+ .m-editor-props-panel .m-editor-props-form-panel .tmagic-design-scrollbar {
992
+ height: 100%;
993
+ }
994
+ .m-editor-props-panel .m-editor-props-property-panel.show-style-panel {
995
+ padding-right: var(--props-style-panel-width);
996
+ }
997
+ .m-editor-props-panel .m-editor-props-property-panel.show-style-panel .m-editor-props-panel-src-icon {
998
+ right: calc(15px + var(--props-style-panel-width));
999
+ }
1000
+ .m-editor-props-panel .m-editor-props-property-panel .tmagic-design-form {
1001
+ padding-right: 10px;
1002
+ padding-left: 10px;
1003
+ }
1004
+ .m-editor-props-panel .m-editor-props-property-panel .tmagic-design-form > .m-container-tab > .tmagic-design-tabs > .el-tabs__content {
1005
+ padding-top: 55px;
1006
+ }
1007
+ .m-editor-props-panel .m-editor-props-property-panel .tmagic-design-form > .m-container-tab > .tmagic-design-tabs > .el-tabs__header.is-top {
1008
+ position: absolute;
1009
+ top: 0;
1010
+ width: 100%;
1011
+ background: #fff;
1012
+ z-index: 3;
1013
+ }
1014
+ .m-editor-props-panel .m-editor-props-style-panel {
1015
+ position: absolute;
1016
+ width: var(--props-style-panel-width);
1017
+ right: 0;
1018
+ top: 0;
1019
+ background: #fff;
1020
+ z-index: 12;
1021
+ }
1022
+ .m-editor-props-panel .m-editor-props-style-panel .tmagic-design-scrollbar {
1023
+ height: calc(100% - 38px - 1px);
1024
+ }
1025
+ .m-editor-props-panel .m-editor-props-style-panel .m-editor-props-style-panel-title {
1026
+ text-align: center;
1027
+ font-size: 14px;
1028
+ font-weight: 600;
1029
+ padding: 0 5px;
1030
+ height: 38px;
1031
+ display: flex;
1032
+ justify-content: space-between;
1033
+ align-items: center;
1034
+ border-bottom: 2px solid #d9dbdd;
1035
+ }
1036
+ .m-editor-props-panel .m-editor-props-panel-src-icon {
1037
+ position: absolute;
1038
+ right: 15px;
1039
+ bottom: 15px;
1040
+ z-index: 30;
1041
+ opacity: 0.5;
1042
+ }
1043
+ .m-editor-props-panel .m-editor-props-panel-src-icon:hover {
1044
+ opacity: 1;
1045
+ }
1046
+ .m-editor-props-panel .m-editor-props-panel-style-icon {
1047
+ position: absolute;
1048
+ right: 15px;
1049
+ bottom: 60px;
1050
+ z-index: 30;
1051
+ opacity: 0.5;
1052
+ }
1053
+ .m-editor-props-panel .m-editor-props-panel-style-icon:hover {
1054
+ opacity: 1;
1055
+ }
1056
+ .m-editor-props-panel .m-editor-props-panel-src-code.magic-code-editor {
1057
+ position: absolute;
1058
+ left: 0;
1059
+ top: 0;
1060
+ z-index: 10;
1061
+ }
1062
+ .m-editor-props-panel .m-editor-resizer {
1063
+ position: absolute;
1064
+ display: block;
1065
+ top: 0;
1066
+ right: var(--props-style-panel-width);
1067
+ z-index: 13;
1068
+ }
1069
+ .m-editor-props-panel.small .el-form-item__label {
1070
+ font-size: 12px;
1071
+ }
1072
+ .m-editor-props-panel.small .m-fieldset legend {
1073
+ font-size: 12px;
1074
+ }
1075
+ .m-editor-props-panel.small .el-tabs__item {
1076
+ font-size: 12px;
1077
+ }
1078
+ .m-editor-props-panel .el-input__wrapper {
1079
+ border-radius: 0;
1080
+ }
1081
+ .m-editor-props-panel .m-fields-group-list .tmagic-design-table th {
1082
+ font-size: 12px;
1083
+ }
1084
+
1085
+ .m-editor-props-panel-popper.small span,
1086
+ .m-editor-props-panel-popper.small a,
1087
+ .m-editor-props-panel-popper.small p {
1088
+ font-size: 12px;
1089
+ }
1090
+
1091
+ .magic-editor-content-menu {
1092
+ position: fixed;
1093
+ font-size: 12px;
1094
+ background: #fff;
1095
+ box-shadow: 0 2px 8px 2px rgba(68, 73, 77, 0.16);
1096
+ z-index: 1000;
1097
+ transform-origin: 0% 0%;
1098
+ font-weight: 600;
1099
+ padding: 4px 0px;
1100
+ overflow: auto;
1101
+ max-height: 80%;
1102
+ min-width: 180px;
1103
+ }
1104
+ .magic-editor-content-menu .menu-item {
1105
+ color: #333;
1106
+ display: flex;
1107
+ -webkit-box-align: center;
1108
+ align-items: center;
1109
+ cursor: pointer;
1110
+ min-width: 140px;
1111
+ transition: all 0.2s ease 0s;
1112
+ padding: 5px 14px;
1113
+ border-left: 2px solid transparent;
1114
+ }
1115
+ .magic-editor-content-menu .menu-item .el-button {
1116
+ width: 100%;
1117
+ justify-content: flex-start;
1118
+ }
1119
+ .magic-editor-content-menu .menu-item .el-button--text,
1120
+ .magic-editor-content-menu .menu-item i {
1121
+ color: #313a40;
1122
+ }
1123
+ .magic-editor-content-menu .menu-item .magic-editor-icon {
1124
+ margin-right: 5px;
1125
+ }
1126
+ .magic-editor-content-menu .menu-item.divider {
1127
+ padding: 0 14px;
1128
+ }
1129
+ .magic-editor-content-menu .menu-item.divider .el-divider {
1130
+ margin: 0;
1131
+ }
1132
+ .magic-editor-content-menu .menu-item.button:hover {
1133
+ background-color: #f3f5f9;
1134
+ }
1135
+ .magic-editor-content-menu .menu-item.button:hover .tmagic-design-button,
1136
+ .magic-editor-content-menu .menu-item.button:hover .tmagic-design-button:active,
1137
+ .magic-editor-content-menu .menu-item.button:hover .tmagic-design-button:focus {
1138
+ color: #313a40;
1139
+ }
1140
+ .magic-editor-content-menu .menu-item.button:hover.menu-item i {
1141
+ color: #313a40;
1142
+ }
1143
+ .magic-editor-content-menu .menu-item.button.active {
1144
+ background-color: #2882e0;
1145
+ }
1146
+ .magic-editor-content-menu .menu-item.button.active .tmagic-design-button,
1147
+ .magic-editor-content-menu .menu-item.button.active .tmagic-design-button:active,
1148
+ .magic-editor-content-menu .menu-item.button.active .tmagic-design-button:focus {
1149
+ color: #fff;
1150
+ background-color: transparent;
1151
+ }
1152
+ .magic-editor-content-menu .menu-item.button.active.menu-item i {
1153
+ color: #fff;
1154
+ }
1155
+
1156
+ .m-editor-stage {
1157
+ position: relative;
1158
+ width: 100%;
1159
+ height: calc(100% - 32px);
1160
+ overflow: hidden;
1161
+ display: flex;
1162
+ justify-content: center;
1163
+ align-items: center;
1164
+ }
1165
+ .m-editor-stage:focus-visible {
1166
+ outline: none;
1167
+ }
1168
+
1169
+ .m-editor-stage-container {
1170
+ width: 100%;
1171
+ height: 100%;
1172
+ z-index: 0;
1173
+ position: relative;
1174
+ transition: transform 0.3s;
1175
+ box-sizing: content-box;
1176
+ box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
1177
+ }
1178
+ .m-editor-stage-container::-webkit-scrollbar {
1179
+ width: 0 !important;
1180
+ }
1181
+
1182
+ .m-editor-stage-overlay {
1183
+ position: absolute;
1184
+ left: 0;
1185
+ top: 0;
1186
+ width: 100%;
1187
+ height: 100%;
1188
+ background-color: #fff;
1189
+ z-index: 20;
1190
+ }
1191
+
1192
+ .m-editor-stage-overlay-close.tmagic-design-icon {
1193
+ position: fixed;
1194
+ right: 20px;
1195
+ top: 10px;
1196
+ cursor: pointer;
1197
+ z-index: 1;
1198
+ }
1199
+
1200
+ .m-editor-stage-float-button {
1201
+ cursor: pointer;
1202
+ transform: translateY(-50%);
1203
+ width: 12px;
1204
+ font-size: 12px;
1205
+ line-height: 1.2;
1206
+ position: absolute;
1207
+ left: 100%;
1208
+ top: 50%;
1209
+ padding: 5px;
1210
+ background-color: #ffffff;
1211
+ transition: background-color 0.2s;
1212
+ color: rgba(0, 0, 0, 0.88);
1213
+ box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
1214
+ }
1215
+
1216
+ .m-editor-node-list-menu {
1217
+ height: 100%;
1218
+ width: 100%;
1219
+ min-width: 300px;
1220
+ max-height: 500px;
1221
+ }
1222
+
1223
+ .m-container-vs-code .el-form-item {
1224
+ margin-bottom: 0;
1225
+ }
1226
+
1227
+ .magic-code-editor {
1228
+ width: 100%;
1229
+ }
1230
+
1231
+ .magic-code-editor-wrapper {
1232
+ width: 100%;
1233
+ height: 100%;
1234
+ position: relative;
1235
+ }
1236
+ .magic-code-editor-wrapper.full-screen {
1237
+ position: fixed;
1238
+ z-index: 10000;
1239
+ top: 0;
1240
+ left: 0;
1241
+ }
1242
+ .magic-code-editor-wrapper .magic-code-editor-content {
1243
+ width: 100%;
1244
+ height: 100%;
1245
+ }
1246
+ .magic-code-editor-wrapper .magic-code-editor-content .margin {
1247
+ margin: 0;
1248
+ }
1249
+ .magic-code-editor-wrapper .magic-code-editor-full-screen-icon {
1250
+ position: absolute;
1251
+ top: 20px;
1252
+ right: 10px;
1253
+ z-index: 11;
1254
+ opacity: 0.3;
1255
+ }
1256
+ .magic-code-editor-wrapper .magic-code-editor-full-screen-icon:hover {
1257
+ opacity: 1;
1258
+ }
1259
+
1260
+ .tmagic-design-icon {
1261
+ --color: inherit;
1262
+ height: 1em;
1263
+ width: 1em;
1264
+ position: relative;
1265
+ fill: currentColor;
1266
+ }
1267
+ .tmagic-design-icon img {
1268
+ max-width: 100%;
1269
+ max-height: 100%;
1270
+ }
1271
+
1272
+ .m-fields-code-select {
1273
+ width: 100%;
1274
+ }
1275
+
1276
+ .m-fields-event-select {
1277
+ width: 100%;
1278
+ }
1279
+ .m-fields-event-select .fullWidth {
1280
+ width: 100%;
1281
+ }
1282
+ .m-fields-event-select .event-select-code {
1283
+ margin-left: 20px;
1284
+ width: auto;
1285
+ }
1286
+ .m-fields-event-select .m-form-panel {
1287
+ margin: 10px 0px;
1288
+ }
1289
+ .m-fields-event-select .el-card.is-always-shadow {
1290
+ box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.12);
1291
+ }
1292
+
1293
+ .m-fields-code-select-col,
1294
+ .m-fields-data-source-method-select {
1295
+ width: 100%;
1296
+ }
1297
+
1298
+ .code-select-container,
1299
+ .data-source-method-select-container {
1300
+ display: flex;
1301
+ align-items: center;
1302
+ }
1303
+ .code-select-container .select,
1304
+ .data-source-method-select-container .select {
1305
+ flex: 10 0 100px;
1306
+ }
1307
+ .code-select-container .icon,
1308
+ .data-source-method-select-container .icon {
1309
+ flex: 1 0 20px;
1310
+ cursor: pointer;
1311
+ margin-right: 5px;
1312
+ }
1313
+
1314
+ .m-editor-layout {
1315
+ width: 100%;
1316
+ display: flex;
1317
+ justify-self: space-between;
1318
+ }
1319
+ .m-editor-layout:has(.m-editor-resizer-dragging) {
1320
+ overflow: hidden;
1321
+ }
1322
+
1323
+ .m-editor-breadcrumb {
1324
+ position: absolute;
1325
+ left: 5px;
1326
+ top: 5px;
1327
+ z-index: 10;
1328
+ }
1329
+
1330
+ .data-source-list-panel .list-container .list-item .codeIcon {
1331
+ width: 22px;
1332
+ height: 22px;
1333
+ margin-right: 5px;
1334
+ }
1335
+ .data-source-list-panel .list-container .list-item .compIcon {
1336
+ width: 22px;
1337
+ height: 22px;
1338
+ margin-right: 5px;
1339
+ }
1340
+
1341
+ .data-source-list-panel-add-menu {
1342
+ padding: 4px 0;
1343
+ }
1344
+ .data-source-list-panel-add-menu .menu-item {
1345
+ cursor: pointer;
1346
+ transition: all 0.2s ease 0s;
1347
+ padding: 5px 14px;
1348
+ }
1349
+ .data-source-list-panel-add-menu .menu-item:hover {
1350
+ background-color: #f3f5f9;
1351
+ }
1352
+
1353
+ .m-editor-data-source-fields {
1354
+ width: 100%;
1355
+ }
1356
+ .m-editor-data-source-fields .tmagic-design-table {
1357
+ width: 100%;
1358
+ }
1359
+ .m-editor-data-source-fields .m-editor-data-source-fields-footer {
1360
+ display: flex;
1361
+ justify-content: flex-end;
1362
+ margin-top: 15px;
1363
+ }
1364
+
1365
+ .m-editor-data-source-methods {
1366
+ width: 100%;
1367
+ }
1368
+ .m-editor-data-source-methods .tmagic-design-table {
1369
+ width: 100%;
1370
+ }
1371
+ .m-editor-data-source-methods .m-editor-data-source-methods-footer {
1372
+ display: flex;
1373
+ justify-content: flex-end;
1374
+ margin-top: 15px;
1375
+ }
1376
+
1377
+ .tmagic-data-source-input-text .el-input__wrapper.tmagic-data-source-input-text-wrapper {
1378
+ overflow: hidden;
1379
+ padding-right: 30px;
1380
+ }
1381
+ .tmagic-data-source-input-text .el-input__inner {
1382
+ display: flex;
1383
+ align-items: center;
1384
+ overflow: hidden;
1385
+ white-space: nowrap;
1386
+ }
1387
+ .tmagic-data-source-input-text .tmagic-data-source-input-icon {
1388
+ position: absolute;
1389
+ right: 7px;
1390
+ }
1391
+
1392
+ .m-fields-key-value {
1393
+ display: flex;
1394
+ justify-items: center;
1395
+ align-items: top;
1396
+ width: 100%;
1397
+ }
1398
+
1399
+ .m-fields-key-value-item {
1400
+ display: flex;
1401
+ margin-bottom: 10px;
1402
+ align-items: center;
1403
+ }
1404
+
1405
+ .m-fields-key-value-delimiter {
1406
+ margin: 0 10px;
1407
+ }
1408
+
1409
+ .m-fields-key-value-delete {
1410
+ margin-left: 10px;
1411
+ }
1412
+
1413
+ .m-editor-tree {
1414
+ color: #313a40;
1415
+ font-size: 13px;
1416
+ }
1417
+ .m-editor-tree .m-editor-tree-node {
1418
+ cursor: pointer;
1419
+ white-space: nowrap;
1420
+ }
1421
+ .m-editor-tree .m-editor-tree-node .tree-node {
1422
+ display: flex;
1423
+ align-items: center;
1424
+ }
1425
+ .m-editor-tree .m-editor-tree-node .tree-node:hover {
1426
+ background-color: #f3f5f9;
1427
+ color: #313a40;
1428
+ }
1429
+ .m-editor-tree .m-editor-tree-node .tree-node.selected {
1430
+ background-color: #2882e0;
1431
+ color: #f3f5f9;
1432
+ }
1433
+ .m-editor-tree .m-editor-tree-node .tree-node.drag-inner .tree-node-content {
1434
+ background-color: rgba(40, 130, 224, 0.5);
1435
+ color: #f3f5f9;
1436
+ }
1437
+ .m-editor-tree .m-editor-tree-node .tree-node.drag-before .tree-node-content {
1438
+ border-top-color: rgba(40, 130, 224, 0.5);
1439
+ }
1440
+ .m-editor-tree .m-editor-tree-node .tree-node.drag-after .tree-node-content {
1441
+ border-bottom-color: rgba(40, 130, 224, 0.5);
1442
+ }
1443
+ .m-editor-tree .m-editor-tree-node .tree-node .expand-icon {
1444
+ padding: 4px;
1445
+ box-sizing: content-box;
1446
+ font-size: 14px;
1447
+ }
1448
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content {
1449
+ display: flex;
1450
+ flex: 1;
1451
+ justify-content: space-between;
1452
+ height: 22px;
1453
+ border-top: 2px solid transparent;
1454
+ border-bottom: 2px solid transparent;
1455
+ }
1456
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content .tree-node-label {
1457
+ line-height: 22px;
1458
+ flex: 1;
1459
+ width: 100px;
1460
+ overflow: hidden;
1461
+ text-overflow: ellipsis;
1462
+ }
1463
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content .tree-node-label .disabled {
1464
+ cursor: default;
1465
+ }
1466
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content .tree-node-label .hook {
1467
+ color: #999;
1468
+ }
1469
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-tool {
1470
+ display: flex;
1471
+ align-items: center;
1472
+ }
1473
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-tool .tmagic-design-icon {
1474
+ margin-right: 10px;
1475
+ }
1476
+ .m-editor-tree .m-editor-tree-empty {
1477
+ text-align: center;
1478
+ color: #909399;
1479
+ font-size: 14px;
1480
+ }
1481
+
1482
+ .m-editor-float-box {
1483
+ position: absolute;
1484
+ background-color: #fff;
1485
+ z-index: 100;
1486
+ border: 1px solid #d9dbdd;
1487
+ display: flex;
1488
+ flex-direction: column;
1489
+ max-height: 100%;
1490
+ max-width: 100%;
1491
+ }
1492
+ .m-editor-float-box .m-editor-float-box-title {
1493
+ text-align: center;
1494
+ font-size: 14px;
1495
+ font-weight: 600;
1496
+ padding: 5px;
1497
+ cursor: move;
1498
+ display: flex;
1499
+ justify-content: space-between;
1500
+ align-items: center;
1501
+ border-bottom: 1px solid #d9dbdd;
1502
+ }
1503
+ .m-editor-float-box .m-editor-float-box-body {
1504
+ overflow: auto;
1505
+ flex: 1;
1506
+ padding: 0 16px;
1507
+ }
1508
+
1509
+ .m-editor-floating-box-moveable {
1510
+ opacity: 0;
1511
+ }
1512
+
1513
+ .m-fields-page-fragment-select {
1514
+ width: 100%;
1515
+ }
1516
+ .m-fields-page-fragment-select .page-fragment-select-container {
1517
+ width: 100%;
1518
+ display: flex;
1519
+ align-items: center;
1520
+ }
1521
+ .m-fields-page-fragment-select .page-fragment-select-container .select {
1522
+ flex: 1;
1523
+ }
1524
+ .m-fields-page-fragment-select .page-fragment-select-container .icon {
1525
+ margin-left: 10px;
1526
+ }
1527
+
1528
+ .m-fields-data-source-select,
1529
+ .m-fields-data-source-field-select,
1530
+ .m-fields-data-source-method-select .data-source-method-select-container,
1531
+ .m-fields-code-select-col .code-select-container {
1532
+ width: 100%;
1533
+ display: flex;
1534
+ align-items: center;
1535
+ }
1536
+ .m-fields-data-source-select .m-fields-select-action-button,
1537
+ .m-fields-data-source-field-select .m-fields-select-action-button,
1538
+ .m-fields-data-source-method-select .data-source-method-select-container .m-fields-select-action-button,
1539
+ .m-fields-code-select-col .code-select-container .m-fields-select-action-button {
1540
+ margin-left: 5px;
1541
+ }
1542
+
1543
+ .m-fields-data-source-field-select {
1544
+ width: 100%;
1545
+ }
1546
+ .m-fields-data-source-field-select .m-editor-data-source-field-select {
1547
+ display: flex;
1548
+ width: 100%;
1549
+ }
1550
+ .m-fields-data-source-field-select .m-editor-data-source-field-select .tmagic-design-select {
1551
+ flex: 1;
1552
+ margin-right: 10px;
1553
+ }
1554
+ .m-fields-data-source-field-select .m-editor-data-source-field-select .tmagic-design-cascader {
1555
+ flex: 2;
1556
+ }
1557
+ .m-fields-data-source-field-select .tmagic-design-button {
1558
+ margin-left: 5px;
1559
+ padding: 5px 8px;
1560
+ }
1561
+
1562
+ .border-box-container {
1563
+ display: flex;
1564
+ }
1565
+ .border-box-container .border-icon-container {
1566
+ display: flex;
1567
+ flex-direction: column;
1568
+ justify-content: center;
1569
+ width: 88px;
1570
+ }
1571
+ .border-box-container .border-icon-container-row {
1572
+ display: flex;
1573
+ justify-content: center;
1574
+ align-items: center;
1575
+ }
1576
+ .border-box-container .border-icon-container-row + .border-icon-container-row {
1577
+ margin-top: 8px;
1578
+ }
1579
+ .border-box-container .border-icon-container .border-icon {
1580
+ box-sizing: border-box;
1581
+ width: 16px;
1582
+ height: 16px;
1583
+ border-width: 1px;
1584
+ border-color: #111;
1585
+ border-style: solid;
1586
+ cursor: pointer;
1587
+ }
1588
+ .border-box-container .border-icon-container .border-icon + .border-icon {
1589
+ margin-left: 8px;
1590
+ }
1591
+ .border-box-container .border-icon-container .border-icon.active {
1592
+ border-width: 1px;
1593
+ border-color: var(--el-color-primary);
1594
+ }
1595
+ .border-box-container .border-icon-container .border-icon.border-icon-top {
1596
+ border-top-width: 2px;
1597
+ border-style: solid dashed dashed dashed;
1598
+ }
1599
+ .border-box-container .border-icon-container .border-icon.border-icon-right {
1600
+ border-right-width: 2px;
1601
+ border-style: dashed solid dashed dashed;
1602
+ }
1603
+ .border-box-container .border-icon-container .border-icon.border-icon-bottom {
1604
+ border-bottom-width: 2px;
1605
+ border-style: dashed dashed solid dashed;
1606
+ }
1607
+ .border-box-container .border-icon-container .border-icon.border-icon-left {
1608
+ border-left-width: 2px;
1609
+ border-style: dashed dashed dashed solid;
1610
+ }
1611
+ .border-box-container .border-value-container {
1612
+ margin-left: 16px;
1613
+ flex: 1;
1614
+ }
1615
+
1616
+ .layout-box-container {
1617
+ position: relative;
1618
+ width: 100%;
1619
+ height: 130px;
1620
+ }
1621
+ .layout-box-container .help-txt {
1622
+ float: left;
1623
+ margin-left: -10px;
1624
+ transform: scale(0.75);
1625
+ }
1626
+ .layout-box-container .outer-top-border,
1627
+ .layout-box-container .inner-top-border,
1628
+ .layout-box-container .outer-right-border,
1629
+ .layout-box-container .inner-right-border,
1630
+ .layout-box-container .outer-bottom-border,
1631
+ .layout-box-container .inner-bottom-border,
1632
+ .layout-box-container .outer-left-border,
1633
+ .layout-box-container .inner-left-border {
1634
+ position: absolute;
1635
+ transition: all 0.3s ease;
1636
+ }
1637
+ .layout-box-container .outer-top-border .next-input,
1638
+ .layout-box-container .inner-top-border .next-input,
1639
+ .layout-box-container .outer-right-border .next-input,
1640
+ .layout-box-container .inner-right-border .next-input,
1641
+ .layout-box-container .outer-bottom-border .next-input,
1642
+ .layout-box-container .inner-bottom-border .next-input,
1643
+ .layout-box-container .outer-left-border .next-input,
1644
+ .layout-box-container .inner-left-border .next-input {
1645
+ position: absolute;
1646
+ height: 20px;
1647
+ }
1648
+ .layout-box-container .outer-top-border .next-input input,
1649
+ .layout-box-container .inner-top-border .next-input input,
1650
+ .layout-box-container .outer-right-border .next-input input,
1651
+ .layout-box-container .inner-right-border .next-input input,
1652
+ .layout-box-container .outer-bottom-border .next-input input,
1653
+ .layout-box-container .inner-bottom-border .next-input input,
1654
+ .layout-box-container .outer-left-border .next-input input,
1655
+ .layout-box-container .inner-left-border .next-input input {
1656
+ padding: 0;
1657
+ width: 100%;
1658
+ border: none;
1659
+ outline: none;
1660
+ margin: 0;
1661
+ font-weight: 400;
1662
+ vertical-align: top;
1663
+ background-color: transparent;
1664
+ color: #333;
1665
+ text-align: center;
1666
+ line-height: 20px;
1667
+ height: 20px;
1668
+ }
1669
+ .layout-box-container .outer-top-border,
1670
+ .layout-box-container .inner-top-border {
1671
+ height: 0;
1672
+ border-left: 20px solid transparent;
1673
+ border-right: 20px solid transparent;
1674
+ border-top: 20px solid #d6e4ff;
1675
+ }
1676
+ .layout-box-container .outer-top-border .next-input,
1677
+ .layout-box-container .inner-top-border .next-input {
1678
+ left: 0;
1679
+ right: 0;
1680
+ top: -20px;
1681
+ }
1682
+ .layout-box-container .outer-top-border {
1683
+ top: 0;
1684
+ left: 0;
1685
+ right: 0;
1686
+ }
1687
+ .layout-box-container .inner-top-border {
1688
+ top: 25px;
1689
+ left: 25px;
1690
+ right: 25px;
1691
+ }
1692
+ .layout-box-container .outer-top-border:hover,
1693
+ .layout-box-container .inner-top-border:hover {
1694
+ border-top: 20px solid #bfd4fb;
1695
+ }
1696
+ .layout-box-container .outer-right-border,
1697
+ .layout-box-container .inner-right-border {
1698
+ width: 0;
1699
+ border-top: 20px solid transparent;
1700
+ border-bottom: 20px solid transparent;
1701
+ border-right: 20px solid #d6e4ff;
1702
+ }
1703
+ .layout-box-container .outer-right-border .next-input,
1704
+ .layout-box-container .inner-right-border .next-input {
1705
+ top: 0;
1706
+ bottom: 0;
1707
+ right: -20px;
1708
+ width: 20px;
1709
+ margin: auto;
1710
+ }
1711
+ .layout-box-container .outer-right-border .next-input input,
1712
+ .layout-box-container .inner-right-border .next-input input {
1713
+ position: absolute;
1714
+ top: 0;
1715
+ bottom: 0;
1716
+ left: 0;
1717
+ margin: auto;
1718
+ width: 20px;
1719
+ }
1720
+ .layout-box-container .outer-right-border {
1721
+ top: 5px;
1722
+ bottom: 5px;
1723
+ right: 0;
1724
+ }
1725
+ .layout-box-container .inner-right-border {
1726
+ top: 30px;
1727
+ bottom: 30px;
1728
+ right: 25px;
1729
+ }
1730
+ .layout-box-container .outer-right-border:hover,
1731
+ .layout-box-container .inner-right-border:hover {
1732
+ border-right: 20px solid #bfd4fb;
1733
+ }
1734
+ .layout-box-container .outer-bottom-border,
1735
+ .layout-box-container .inner-bottom-border {
1736
+ height: 0;
1737
+ border-left: 20px solid transparent;
1738
+ border-right: 20px solid transparent;
1739
+ border-bottom: 20px solid #d6e4ff;
1740
+ }
1741
+ .layout-box-container .outer-bottom-border .next-input,
1742
+ .layout-box-container .inner-bottom-border .next-input {
1743
+ position: absolute;
1744
+ left: 0;
1745
+ right: 0;
1746
+ bottom: -20px;
1747
+ }
1748
+ .layout-box-container .outer-bottom-border {
1749
+ bottom: 0;
1750
+ left: 0;
1751
+ right: 0;
1752
+ }
1753
+ .layout-box-container .inner-bottom-border {
1754
+ bottom: 25px;
1755
+ left: 25px;
1756
+ right: 25px;
1757
+ }
1758
+ .layout-box-container .outer-bottom-border:hover,
1759
+ .layout-box-container .inner-bottom-border:hover {
1760
+ border-bottom: 20px solid #bfd4fb;
1761
+ }
1762
+ .layout-box-container .outer-left-border,
1763
+ .layout-box-container .inner-left-border {
1764
+ width: 0;
1765
+ border-top: 20px solid transparent;
1766
+ border-bottom: 20px solid transparent;
1767
+ border-left: 20px solid #d6e4ff;
1768
+ }
1769
+ .layout-box-container .outer-left-border .next-input,
1770
+ .layout-box-container .inner-left-border .next-input {
1771
+ position: absolute;
1772
+ top: 0;
1773
+ bottom: 0;
1774
+ left: -20px;
1775
+ width: 20px;
1776
+ margin: auto;
1777
+ }
1778
+ .layout-box-container .outer-left-border .next-input input,
1779
+ .layout-box-container .inner-left-border .next-input input {
1780
+ position: absolute;
1781
+ top: 0;
1782
+ bottom: 0;
1783
+ right: 0;
1784
+ margin: auto;
1785
+ width: 20px;
1786
+ }
1787
+ .layout-box-container .outer-left-border {
1788
+ top: 5px;
1789
+ bottom: 5px;
1790
+ left: 0;
1791
+ }
1792
+ .layout-box-container .inner-left-border {
1793
+ top: 30px;
1794
+ bottom: 30px;
1795
+ left: 25px;
1796
+ }
1797
+ .layout-box-container .outer-left-border:hover,
1798
+ .layout-box-container .inner-left-border:hover {
1799
+ border-left: 20px solid #bfd4fb;
1800
+ }
1801
+
1802
+ .background-position-container {
1803
+ display: flex;
1804
+ width: 100%;
1805
+ }
1806
+ .background-position-container .presets-value-list {
1807
+ display: flex;
1808
+ flex-wrap: wrap;
1809
+ width: 80px;
1810
+ height: auto;
1811
+ }
1812
+ .background-position-container .presets-value-list .tmagic-design-button + .tmagic-design-button {
1813
+ margin-left: 2px;
1814
+ }
1815
+ .background-position-container .presets-value-list .tmagic-design-button:nth-child(3n+1) {
1816
+ margin-left: 0 !important;
1817
+ }
1818
+ .background-position-container .presets-value-list .t-button--variant-text {
1819
+ padding-left: 2px;
1820
+ padding-right: 2px;
1821
+ }
1822
+ .background-position-container .presets-value-list .position-icon {
1823
+ position: relative;
1824
+ width: 14px;
1825
+ height: 14px;
1826
+ border: 1px solid #1d1f24;
1827
+ }
1828
+ .background-position-container .presets-value-list .position-icon.active {
1829
+ background-color: #2882e0;
1830
+ }
1831
+ .background-position-container .presets-value-list .position-icon.active::after {
1832
+ border: 1px solid #fff;
1833
+ }
1834
+ .background-position-container .presets-value-list .position-icon::after {
1835
+ position: absolute;
1836
+ content: "";
1837
+ border: 1px solid #1d1f24;
1838
+ box-sizing: border-box;
1839
+ }
1840
+ .background-position-container .presets-value-list .position-icon.left-top::after {
1841
+ top: 1px;
1842
+ left: 1px;
1843
+ width: 6px;
1844
+ height: 6px;
1845
+ }
1846
+ .background-position-container .presets-value-list .position-icon.center-top::after {
1847
+ top: 1px;
1848
+ left: 1px;
1849
+ width: 12px;
1850
+ height: 6px;
1851
+ }
1852
+ .background-position-container .presets-value-list .position-icon.right-top::after {
1853
+ top: 1px;
1854
+ right: 1px;
1855
+ width: 6px;
1856
+ height: 6px;
1857
+ }
1858
+ .background-position-container .presets-value-list .position-icon.left-center::after {
1859
+ top: 1px;
1860
+ left: 1px;
1861
+ width: 6px;
1862
+ height: 12px;
1863
+ }
1864
+ .background-position-container .presets-value-list .position-icon.center-center::after {
1865
+ top: 1px;
1866
+ left: 1px;
1867
+ width: 12px;
1868
+ height: 12px;
1869
+ }
1870
+ .background-position-container .presets-value-list .position-icon.right-center::after {
1871
+ top: 1px;
1872
+ right: 1px;
1873
+ width: 6px;
1874
+ height: 12px;
1875
+ }
1876
+ .background-position-container .presets-value-list .position-icon.left-bottom::after {
1877
+ bottom: 1px;
1878
+ left: 1px;
1879
+ width: 6px;
1880
+ height: 6px;
1881
+ }
1882
+ .background-position-container .presets-value-list .position-icon.center-bottom::after {
1883
+ bottom: 1px;
1884
+ left: 1px;
1885
+ width: 12px;
1886
+ height: 6px;
1887
+ }
1888
+ .background-position-container .presets-value-list .position-icon.right-bottom::after {
1889
+ bottom: 1px;
1890
+ right: 1px;
1891
+ width: 6px;
1892
+ height: 6px;
1893
+ }
1894
+ .background-position-container .custom-value {
1895
+ position: relative;
1896
+ flex: 1;
1897
+ }
1898
+
1899
+ .m-fields-style-setter {
1900
+ width: 100%;
1901
+ }
1902
+ .m-fields-style-setter .tmagic-design-collapse-item > .el-collapse-item__header {
1903
+ background-color: #f2f3f7;
1904
+ height: 26px;
1905
+ min-height: 26px;
1906
+ line-height: 26px;
1907
+ padding: 0 20px;
1908
+ box-sizing: border-box;
1909
+ }
1910
+ .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__wrap {
1911
+ padding: 10px 20px;
1912
+ }
1913
+ .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__title {
1914
+ display: flex;
1915
+ align-items: center;
1916
+ gap: 3px;
1917
+ }
1918
+ .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__content {
1919
+ padding: 0;
1920
+ }
1921
+
1922
+ .text-align-list {
1923
+ display: flex;
1924
+ height: 100%;
1925
+ }
1926
+ .text-align-list .btn-active {
1927
+ color: var(--el-color-primary) !important;
1928
+ }
1929
+
1930
+ .fade-enter-active,
1931
+ .fade-leave-active {
1932
+ transition: opacity 0.5s;
1933
+ }
1934
+
1935
+ .fade-enter, .fade-leave-to {
1936
+ opacity: 0;
1937
+ }/*$vite$:1*/