amis-editor-core 5.2.0-beta.0

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 (105) hide show
  1. package/lib/cebfe0bc5a1dbde02da1.svg +10 -0
  2. package/lib/compat.d.ts +30 -0
  3. package/lib/component/Breadcrumb.d.ts +33 -0
  4. package/lib/component/ClassNameControl.d.ts +31 -0
  5. package/lib/component/CommonConfigWrapper.d.ts +6 -0
  6. package/lib/component/ContainerWrapper.d.ts +12 -0
  7. package/lib/component/Editor.d.ts +99 -0
  8. package/lib/component/HighlightBox.d.ts +29 -0
  9. package/lib/component/IFrameBridge.d.ts +32 -0
  10. package/lib/component/IFramePreview.d.ts +38 -0
  11. package/lib/component/MiniEditor.d.ts +9 -0
  12. package/lib/component/NodeWrapper.d.ts +20 -0
  13. package/lib/component/Panel/AMisCodeEditor.d.ts +37 -0
  14. package/lib/component/Panel/AvailableRenderersPanel.d.ts +10 -0
  15. package/lib/component/Panel/CodeEditorPanel.d.ts +6 -0
  16. package/lib/component/Panel/ContextMenuPanel.d.ts +8 -0
  17. package/lib/component/Panel/DrawerPanel.d.ts +15 -0
  18. package/lib/component/Panel/DrawerRendererPanel.d.ts +15 -0
  19. package/lib/component/Panel/InsertSubRendererPanel.d.ts +11 -0
  20. package/lib/component/Panel/LeftPanels.d.ts +20 -0
  21. package/lib/component/Panel/Outline.d.ts +18 -0
  22. package/lib/component/Panel/RenderersPanel.d.ts +31 -0
  23. package/lib/component/Panel/RightPanels.d.ts +21 -0
  24. package/lib/component/Panel/TargetNamePanel.d.ts +7 -0
  25. package/lib/component/PopOverForm.d.ts +22 -0
  26. package/lib/component/Preview.d.ts +67 -0
  27. package/lib/component/RegionHLBox.d.ts +20 -0
  28. package/lib/component/RegionWrapper.d.ts +206 -0
  29. package/lib/component/RendererThumb.d.ts +22 -0
  30. package/lib/component/ScaffoldModal.d.ts +24 -0
  31. package/lib/component/SubEditor.d.ts +67 -0
  32. package/lib/component/VRenderer.d.ts +191 -0
  33. package/lib/component/base/BackTop.d.ts +26 -0
  34. package/lib/component/base/ErrorRenderer.d.ts +4 -0
  35. package/lib/component/base/SearchCustomRendererPanel.d.ts +15 -0
  36. package/lib/component/base/SearchPanel.d.ts +83 -0
  37. package/lib/component/base/SearchRendererPanel.d.ts +19 -0
  38. package/lib/component/base/WidthDraggableBtn.d.ts +16 -0
  39. package/lib/component/base/WidthDraggableContainer.d.ts +2 -0
  40. package/lib/component/factory.d.ts +19 -0
  41. package/lib/dnd/default.d.ts +47 -0
  42. package/lib/dnd/index.d.ts +119 -0
  43. package/lib/dnd/interface.d.ts +14 -0
  44. package/lib/dnd/position-h.d.ts +7 -0
  45. package/lib/env.d.ts +5 -0
  46. package/lib/icons/index.d.ts +2 -0
  47. package/lib/index.d.ts +36 -0
  48. package/lib/index.min.js +1 -0
  49. package/lib/manager.d.ts +509 -0
  50. package/lib/mocker.d.ts +1 -0
  51. package/lib/plugin/AvailableRenderers.d.ts +8 -0
  52. package/lib/plugin/BasicToolbar.d.ts +11 -0
  53. package/lib/plugin/Code.d.ts +9 -0
  54. package/lib/plugin/DataDebug.d.ts +19 -0
  55. package/lib/plugin/ErrorRenderer.d.ts +7 -0
  56. package/lib/plugin/Name.d.ts +8 -0
  57. package/lib/plugin/Outline.d.ts +8 -0
  58. package/lib/plugin/Unknown.d.ts +5 -0
  59. package/lib/plugin.d.ts +639 -0
  60. package/lib/store/editor.d.ts +1048 -0
  61. package/lib/store/node.d.ts +281 -0
  62. package/lib/style.css +1 -0
  63. package/lib/tpl.d.ts +5 -0
  64. package/lib/util.d.ts +80 -0
  65. package/package.json +102 -0
  66. package/scss/_backTop.scss +55 -0
  67. package/scss/_bcn.scss +157 -0
  68. package/scss/_classname-picker.scss +57 -0
  69. package/scss/_context-menu-setting.scss +109 -0
  70. package/scss/_data-chain.scss +39 -0
  71. package/scss/_leftPanel.scss +237 -0
  72. package/scss/_mixin.scss +95 -0
  73. package/scss/_outline.scss +206 -0
  74. package/scss/_renderers.scss +536 -0
  75. package/scss/_rightPanel.scss +424 -0
  76. package/scss/_searchRendererPanel.scss +244 -0
  77. package/scss/_selection.scss +6 -0
  78. package/scss/_tableview.scss +53 -0
  79. package/scss/_targetname.scss +30 -0
  80. package/scss/_tooltip.scss +111 -0
  81. package/scss/_variables.scss +41 -0
  82. package/scss/control/_api-control.scss +61 -0
  83. package/scss/control/_badge-control.scss +46 -0
  84. package/scss/control/_dateshortcut-control.scss +108 -0
  85. package/scss/control/_formItem-control.scss +121 -0
  86. package/scss/control/_formula-control.scss +108 -0
  87. package/scss/control/_option-control.scss +170 -0
  88. package/scss/control/_switch-more-control.scss +121 -0
  89. package/scss/control/_validation-control.scss +101 -0
  90. package/scss/editor.scss +1563 -0
  91. package/scss/style-control/_background.scss +204 -0
  92. package/scss/style-control/_border.scss +105 -0
  93. package/scss/style-control/_box-model.scss +100 -0
  94. package/scss/style-control/_box-shadow.scss +12 -0
  95. package/scss/style-control/_font.scss +28 -0
  96. package/scss/style-control/_size.scss +40 -0
  97. package/scss/style-control/_style-common.scss +22 -0
  98. package/static/Code-hover.png +0 -0
  99. package/static/Code.png +0 -0
  100. package/static/Outline-hover.png +0 -0
  101. package/static/Outline.png +0 -0
  102. package/static/Renderers-hover.png +0 -0
  103. package/static/Renderers.png +0 -0
  104. package/static/empty.png +0 -0
  105. package/static/side_hide_left.svg +10 -0
@@ -0,0 +1,424 @@
1
+ $right-panel-width: px2rem(280px);
2
+ $right-panel-sidetab-width: px2rem(62px);
3
+ $category-1-height: px2rem(44px);
4
+ $category-2-height: px2rem(32px);
5
+
6
+ .editor-right-panel {
7
+ position: relative;
8
+ flex: 0 0 auto;
9
+ width: $right-panel-width;
10
+ min-width: $right-panel-width;
11
+ max-width: 600px; // 避免过度拖拽
12
+ // width: 280px;
13
+ background: #fff;
14
+ box-shadow: -2px 0 20px 0 rgba(0, 0, 0, 0.1);
15
+ z-index: 5;
16
+ // 搞点动画?
17
+ transition: width ease-in-out 0.2s;
18
+ transform: translateZ(0);
19
+
20
+ @include panel-sm-content();
21
+
22
+ .ae-Settings-content {
23
+ padding: var(--gap-base);
24
+ [data-tooltip][data-position=bottom]:hover:after {
25
+ margin-left: 15px;
26
+ }
27
+ }
28
+
29
+ // FIXME: icon-picker临时修复超出内容显示滚动条问题,后amis中修复后可删除 fix-icon-picker-overflow 类
30
+ .fix-icon-picker-overflow {
31
+ .cxd-IconPickerControl-valueWrap {
32
+ > div {
33
+ display: block;
34
+ }
35
+ > a {
36
+ display: inline-block;
37
+ }
38
+ }
39
+ }
40
+
41
+ // 宽度可拖拽时不增加过渡,避免卡顿
42
+ &.width-draggable {
43
+ transition: none;
44
+ }
45
+
46
+ // 外层有多个tab面板
47
+ &.mul-tabs-panel {
48
+ width: calc(#{$right-panel-sidetab-width} + #{$right-panel-width});
49
+ min-width: calc(#{$right-panel-sidetab-width} + #{$right-panel-width});
50
+ // width: 328px;
51
+ // min-width: 328px; // 48px + 280px
52
+ }
53
+
54
+ // 悬浮icon
55
+ .editor-panel-btn {
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ height: 16px;
60
+ width: 16px;
61
+ z-index: 100;
62
+ display: flex;
63
+ justify-content: center;
64
+ align-items: center;
65
+ display: none;
66
+
67
+ .panel-btn {
68
+ width: 16px;
69
+ height: 16px;
70
+ fill: $default-icon-color;
71
+ color: $default-icon-color;
72
+ cursor: pointer;
73
+ transform: rotate(-45deg);
74
+
75
+ &:hover {
76
+ fill: $Editor-theme;
77
+ color: $Editor-theme;
78
+ }
79
+ }
80
+ }
81
+
82
+ // 折叠状态
83
+ &.hidden-status {
84
+ width: 0 !important;
85
+ min-width: 0;
86
+
87
+ .editor-panel-btn {
88
+ display: none;
89
+ }
90
+
91
+ .width-draggable-icon.hasArrowIcon {
92
+ visibility: hidden;
93
+ }
94
+
95
+ .editorPanel-inner {
96
+ display: none;
97
+ }
98
+ }
99
+
100
+ &.fixed-status {
101
+ position: fixed;
102
+ top: 0;
103
+ right: 0;
104
+ width: 280px;
105
+ height: 100%;
106
+
107
+ &.mul-tabs-panel {
108
+ width: calc(#{$right-panel-sidetab-width} + #{$right-panel-width});
109
+ // width: 328px; // 48px + 280px
110
+ }
111
+ }
112
+
113
+ &.has-popover {
114
+ z-index: 1300;
115
+ }
116
+
117
+ .editorPanel-inner {
118
+ position: relative;
119
+ height: 100%;
120
+
121
+ &.has-popover {
122
+ z-index: 1300;
123
+ }
124
+ }
125
+
126
+ // 外层tabs
127
+ .editorPanel-tabs {
128
+ display: flex;
129
+ flex-direction: row-reverse;
130
+ height: 100%;
131
+
132
+ > [class$='Tabs-linksWrapper'] {
133
+ position: relative;
134
+ flex: 0 0 48px;
135
+ border: none;
136
+ }
137
+
138
+ .editorPanel-tabs-header {
139
+ padding-top: 20px;
140
+ // tab面板title
141
+ &:empty {
142
+ min-width: unset;
143
+ }
144
+
145
+ > li {
146
+ margin: 0 0 12px 0 !important;
147
+ padding: 0;
148
+ overflow: visible; // 避免 tooltip被遮挡
149
+ width: 48px;
150
+ height: 48px;
151
+ box-sizing: border-box;
152
+ padding: 0 3px;
153
+ display: flex !important;
154
+ flex-direction: column;
155
+ justify-content: flex-start;
156
+ align-items: center;
157
+
158
+ > a {
159
+ position: relative;
160
+ display: inline-block;
161
+ width: 100%;
162
+ height: 100%;
163
+ margin: 0 !important;
164
+ padding: 0 !important;
165
+ border: none !important;
166
+ overflow: visible; // 避免 tooltip被遮挡
167
+ display: flex;
168
+ justify-content: center;
169
+ align-items: center;
170
+
171
+ // 用于设置自定义tab面板中的icon样式
172
+ .editor-tab-icon {
173
+ position: relative;
174
+ width: 100%;
175
+ height: 100%;
176
+ display: flex;
177
+ justify-content: center;
178
+ align-items: center;
179
+
180
+ i.fa {
181
+ font-size: 16px !important;
182
+ width: 16px;
183
+ height: auto;
184
+ margin-bottom: 0 !important;
185
+ color: #151b26;
186
+ }
187
+
188
+ > svg {
189
+ width: 45px;
190
+ height: 45px;
191
+ color: #151b26;
192
+ }
193
+ }
194
+ }
195
+
196
+ &.is-active,
197
+ &:hover {
198
+ background: #eef3fe;
199
+
200
+ > a {
201
+ background: #eef3fe;
202
+ }
203
+
204
+ i.fa,
205
+ .editor-tab-icon > svg {
206
+ color: $editor-active-color !important;
207
+ }
208
+ }
209
+
210
+ // 选中态左侧边框高亮
211
+ &.is-active {
212
+ padding: 0 0 0 3px;
213
+ border-right: 3px solid $editor-active-color;
214
+ }
215
+ }
216
+ }
217
+
218
+ > .editorPanel-tabs-content {
219
+ position: relative;
220
+ flex: 1 1 auto;
221
+ height: 100%;
222
+ max-width: calc(100% - 48px); // 避免被内容元素撑开
223
+ border-left: none;
224
+ transform: scale(1); // 内部元素fixed定位需要
225
+
226
+ .editorPanel-tabs-pane {
227
+ position: relative;
228
+ height: 100%;
229
+ padding: 0;
230
+ box-sizing: border-box;
231
+ max-width: 100%;
232
+ }
233
+ }
234
+ }
235
+
236
+ // 属性配置表单面板
237
+ .config-form-content {
238
+ position: relative;
239
+ height: 100%;
240
+ // 添加事件按钮display:fixed,继承该元素宽度
241
+ transform: translateX(0);
242
+ padding: 16px 12px;
243
+
244
+ // 带底部操作按钮的属性配置面板
245
+ &.with-actions {
246
+ position: relative;
247
+
248
+ .editor-prop-config-tabs {
249
+ padding-bottom: 45px;
250
+ }
251
+
252
+ .ae-Settings-actions,
253
+ > input {
254
+ position: fixed;
255
+ left: 0;
256
+ bottom: 0;
257
+ margin-bottom: 0;
258
+ width: 100%;
259
+ line-height: 1;
260
+ display: flex;
261
+ align-items: center;
262
+ justify-content: center;
263
+ }
264
+ }
265
+ }
266
+
267
+ // 内层tabs
268
+ .editor-prop-config-tabs {
269
+ display: flex;
270
+ position: relative;
271
+ height: 100%;
272
+ padding: 0;
273
+ flex-direction: column;
274
+ justify-content: flex-start;
275
+ overflow: hidden;
276
+ margin: calc(0rem - (var(--gap-base)));
277
+
278
+ // tab导航
279
+ ul[role='tablist'],
280
+ &-links {
281
+ margin: 0 0 -1px 0;
282
+ flex: 0;
283
+ border-bottom: 1px solid #d4d6d9;
284
+ display: flex;
285
+ justify-content: space-between;
286
+ z-index: 1; // 防止被panel body中的部分组件覆盖border
287
+
288
+ > li {
289
+ flex: 1;
290
+ display: flex;
291
+ height: $category-1-height;
292
+ justify-content: center;
293
+ border: 0 !important;
294
+ padding: 0 !important;
295
+ max-width: none;
296
+ align-items: stretch;
297
+ padding: 0 !important;
298
+
299
+ > a {
300
+ display: inline-block;
301
+ height: 100%;
302
+ width: 100%;
303
+ text-align: center;
304
+ padding: 0 !important;
305
+ color: #84868c;
306
+ width: 100%;
307
+ font-size: 14px;
308
+ letter-spacing: 0;
309
+ font-weight: 400;
310
+ text-decoration: none;
311
+ display: flex !important;
312
+ justify-content: center !important;
313
+ align-items: center !important;
314
+ }
315
+
316
+ &.is-active > a {
317
+ color: $Editor-theme-color !important;
318
+
319
+ font-family: PingFangSC-Regular;
320
+ font-size: 14px;
321
+ color: #84868c;
322
+ letter-spacing: 0;
323
+ font-weight: 400;
324
+
325
+ display: flex;
326
+ justify-content: center;
327
+ align-items: center;
328
+ }
329
+
330
+ &:not(:last-child):after {
331
+ position: absolute;
332
+ right: 0;
333
+ top: 50%;
334
+ transform: translateY(-50%);
335
+ content: '';
336
+ width: 1px;
337
+ height: 12px;
338
+ background-color: #d8d8d8;
339
+ }
340
+
341
+ &:not(:last-child):after {
342
+ position: absolute;
343
+ right: 0;
344
+ top: 50%;
345
+ transform: translateY(-50%);
346
+ content: '';
347
+ width: 1px;
348
+ height: 12px;
349
+ background-color: #d8d8d8;
350
+ }
351
+ }
352
+ }
353
+
354
+ // tab内容
355
+ &-cont {
356
+ flex: 1 1 auto;
357
+ padding: 0;
358
+ overflow-y: overlay;
359
+ @include minScrollBar();
360
+ }
361
+ }
362
+
363
+ // 右侧面板收起箭头
364
+ .right-panel-arrow {
365
+ position: absolute;
366
+ width: 16px;
367
+ height: 50px;
368
+ top: 50%;
369
+ left: -15px;
370
+ transform: translateY(-50%);
371
+ background-color: transparent;
372
+ box-sizing: border-box;
373
+ z-index: 10;
374
+ cursor: pointer;
375
+
376
+ &::before {
377
+ content: '';
378
+ position: absolute;
379
+ border-radius: 10px 0 0 10px;
380
+ box-sizing: border-box;
381
+ // border: 1px solid rgba(0, 0, 0, 0.1);
382
+ border-right: 0;
383
+ // box-shadow: -2px 2px 2px #f0f1f2;
384
+ top: 0;
385
+ right: 0;
386
+ bottom: 0;
387
+ left: 0;
388
+ background: #fff;
389
+ z-index: -1;
390
+ transform: perspective(50px) rotateY(-30deg);
391
+ transition: all 0.15s;
392
+ }
393
+ &::after {
394
+ content: '';
395
+ position: absolute;
396
+ width: 6px;
397
+ height: 8px;
398
+ left: 55%;
399
+ top: 50%;
400
+ -webkit-mask-image: url(../static/side_hide_left.svg);
401
+ -webkit-mask-size: 100% 100%;
402
+ mask-size: 100% 100%;
403
+ -webkit-mask-repeat: no-repeat;
404
+ mask-repeat: no-repeat;
405
+ background-color: #a1a6b3;
406
+ transform: translate(-50%, -50%) rotate(180deg);
407
+ transition: all 0.15s;
408
+ }
409
+ display: flex;
410
+ flex-direction: column;
411
+ align-items: center;
412
+ justify-content: center;
413
+
414
+ &.hidden-status {
415
+ &::after {
416
+ transform: translate(-50%, -50%) rotate(0deg);
417
+ }
418
+ }
419
+ }
420
+ }
421
+
422
+ .right-panel-pop {
423
+ @include panel-sm-content();
424
+ }
@@ -0,0 +1,244 @@
1
+ .editor-InputSearch-panel {
2
+ position: relative;
3
+
4
+ .editor-InputSearch-content {
5
+ position: absolute;
6
+ top: 36px;
7
+ left: 12px;
8
+ width: calc(100% - 24px);
9
+ min-height: 50px;
10
+ padding: 4px 12px;
11
+ background: #fff;
12
+ box-shadow: 0 4px 5px 0 rgba(62, 72, 99, 0.06),
13
+ 0 1px 10px 0 rgba(62, 72, 99, 0.05), 0 2px 4px -1px rgba(62, 72, 99, 0.04);
14
+ border-radius: 4px;
15
+ z-index: 100;
16
+ visibility: visible;
17
+ transition: all 0.3s;
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: flex-start;
21
+
22
+ &.hidden-status {
23
+ visibility: hidden;
24
+ }
25
+
26
+ .search-history {
27
+ flex: 0 0 auto;
28
+ margin-bottom: 12px;
29
+ padding-bottom: 4px;
30
+ font-family: PingFangSC-Regular;
31
+ font-size: 12px;
32
+ color: #080e1a;
33
+ line-height: 20px;
34
+ font-weight: 400;
35
+
36
+ &.has-border-bottom {
37
+ border-bottom: 1px solid #e6e6e8;
38
+ }
39
+
40
+ .header {
41
+ opacity: 0.5;
42
+ height: 32px;
43
+ line-height: 32px;
44
+
45
+ display: flex;
46
+ justify-content: space-between;
47
+ align-items: center;
48
+
49
+ .header-clear-icon {
50
+ cursor: pointer;
51
+ }
52
+ }
53
+
54
+ .history-cont {
55
+ position: relative;
56
+ margin: 0 -12px;
57
+ padding: 0 12px;
58
+ overflow: hidden;
59
+ // overflow-y: hidden;
60
+ display: flex;
61
+ flex-direction: column;
62
+
63
+ &.hasScrollBtn {
64
+ max-height: 192px;
65
+
66
+ &:hover {
67
+ overflow-y: auto;
68
+ padding: 0 2px 0 12px;
69
+ }
70
+ }
71
+
72
+ @include minScrollBar();
73
+
74
+ .history-item {
75
+ flex: 0 0 auto;
76
+ margin: 0 -12px;
77
+ padding: 0 12px;
78
+ opacity: 0.95;
79
+ height: 32px;
80
+ display: flex;
81
+ justify-content: space-between;
82
+ align-items: center;
83
+
84
+ &:hover {
85
+ opacity: 0.8;
86
+ background: #f0f0f0;
87
+ }
88
+
89
+ .history-keyword {
90
+ flex: 1 1 auto;
91
+ max-width: calc(100% - 16px);
92
+ color: #151a26;
93
+ user-select: none;
94
+ overflow: hidden;
95
+ text-overflow: ellipsis;
96
+ white-space: nowrap;
97
+ cursor: pointer;
98
+ }
99
+
100
+ .delete-icon {
101
+ flex: 0 0 20px;
102
+ color: #080e1a;
103
+ display: flex;
104
+ justify-content: center;
105
+ align-items: center;
106
+
107
+ svg {
108
+ width: 12px;
109
+ height: 12px;
110
+ opacity: 0.5;
111
+ cursor: pointer;
112
+
113
+ &:hover {
114
+ fill: $Editor-theme-color;
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ .search-result-list {
123
+ position: relative;
124
+ flex: 0 0 auto;
125
+ font-family: PingFangSC-Regular;
126
+ font-size: 12px;
127
+ color: #080e1a;
128
+ line-height: 20px;
129
+ font-weight: 400;
130
+ margin: 0 -12px;
131
+ padding: 0 12px;
132
+ max-height: 192px;
133
+ overflow: hidden;
134
+
135
+ &.hasScrollBtn {
136
+ max-height: 192px;
137
+
138
+ &:hover {
139
+ overflow-y: auto;
140
+ padding: 0 2px 0 12px;
141
+ }
142
+ }
143
+
144
+ @include minScrollBar();
145
+
146
+ .subRenderers-header {
147
+ // padding-right: 12px;
148
+ height: 32px;
149
+ line-height: 32px;
150
+ cursor: pointer;
151
+
152
+ display: flex;
153
+ justify-content: space-between;
154
+ align-items: center;
155
+
156
+ svg {
157
+ width: 10px;
158
+ height: 10px;
159
+ opacity: 0.5;
160
+ transform: rotate(90deg);
161
+ transition: all 0.15s;
162
+ }
163
+
164
+ &.is-folded svg {
165
+ transform: rotate(270deg);
166
+ }
167
+ }
168
+
169
+ .multiple-subRenderers-list {
170
+ display: flex;
171
+ flex-direction: column;
172
+ }
173
+
174
+ .subRenderers-list {
175
+ display: flex;
176
+ flex-direction: column;
177
+
178
+ &.is-folded {
179
+ height: 0;
180
+ overflow: hidden;
181
+ }
182
+
183
+ .subRenderers-item {
184
+ flex: 0 0 32px;
185
+ padding-left: 12px;
186
+ line-height: 32px;
187
+ user-select: none;
188
+ cursor: pointer;
189
+ text-align: left;
190
+ opacity: 0.95;
191
+
192
+ &:hover {
193
+ background: #f0f0f0;
194
+ }
195
+
196
+ .is-keyword {
197
+ color: $Editor-theme-color;
198
+ }
199
+ }
200
+
201
+ // 仅有一个分类
202
+ &.only-one-tag .subRenderers-item {
203
+ margin: 0 -12px;
204
+ padding: 0 12px;
205
+ }
206
+ }
207
+ }
208
+
209
+ .tag-list {
210
+ flex: 0 0 auto;
211
+ font-family: PingFangSC-Regular;
212
+ font-size: 12px;
213
+ color: #080e1a;
214
+ line-height: 20px;
215
+ font-weight: 400;
216
+
217
+ .header {
218
+ opacity: 0.5;
219
+ }
220
+
221
+ .tag-list-cont {
222
+ margin: 4px -4px;
223
+ display: flex;
224
+ flex-wrap: wrap;
225
+ justify-items: flex-start;
226
+
227
+ .tag-item {
228
+ margin: 4px;
229
+ flex: 0 0 auto;
230
+ padding: 2px 8px;
231
+ opacity: 0.95;
232
+ border: 1px solid #f2f3f3;
233
+ background-color: #f2f3f3;
234
+ border-radius: 2px;
235
+ cursor: pointer;
236
+
237
+ &:hover {
238
+ color: $Editor-theme-color;
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
@@ -0,0 +1,6 @@
1
+ .ae-Editor-selectionCursor {
2
+ position: absolute;
3
+ background: rgba(#23b7e5, 0.2);
4
+ border: 1px solid rgba(#23b7e5, 1);
5
+ z-index: 999999;
6
+ }
@@ -0,0 +1,53 @@
1
+ /**
2
+ * table view 相关节点的编辑器扩展
3
+ */
4
+
5
+ .ae-TableViewEditor {
6
+ position: relative;
7
+
8
+ &-rowLine {
9
+ position: absolute;
10
+ height: 7px;
11
+ left: 0;
12
+ right: 0;
13
+ cursor: row-resize;
14
+ user-select: none;
15
+ opacity: 0.5;
16
+ // &:hover {
17
+ // background: #4285f4;
18
+ // }
19
+ }
20
+
21
+ &-colLine {
22
+ position: absolute;
23
+ width: 7px;
24
+ top: 0;
25
+ bottom: 0;
26
+ cursor: col-resize;
27
+ user-select: none;
28
+ opacity: 0.5;
29
+ // &:hover {
30
+ // background: #4285f4;
31
+ // }
32
+ }
33
+
34
+ &-mergeIcon {
35
+ position: absolute;
36
+ bottom: -22px;
37
+ left: calc(50% - 3.5em);
38
+ color: #4285f4;
39
+ cursor: pointer;
40
+ }
41
+
42
+ td[data-selected] {
43
+ background: #cfe1fe;
44
+ }
45
+
46
+ // 这个按钮会导致单元格高宽发生变化
47
+ .ae-AddBtn {
48
+ position: absolute;
49
+ left: calc(50% - 10px);
50
+ top: calc(50% - 10px);
51
+ margin: 0;
52
+ }
53
+ }