@cicctencent/low-code-editor 1.1.9-beta.5 → 1.1.10

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 (52) hide show
  1. package/dist/ActivityBar/index.vue.d.ts +7 -7
  2. package/dist/ComponentTree/components/List.vue.d.ts +6 -6
  3. package/dist/ComponentTree/index.vue.d.ts +6 -6
  4. package/dist/DataSource/index.vue.d.ts +6 -6
  5. package/dist/HeaderBar/components/BarTooltip.vue.d.ts +5 -5
  6. package/dist/HeaderBar/index.vue.d.ts +6 -6
  7. package/dist/NavTree/index.vue.d.ts +6 -6
  8. package/dist/SchemaConfig/index.vue.d.ts +7 -7
  9. package/dist/SidebarPane/index.vue.d.ts +6 -6
  10. package/dist/components/ComponentTreeFavorites/components/List.vue.d.ts +6 -6
  11. package/dist/components/ComponentTreeFavorites/components/Tips.vue.d.ts +5 -5
  12. package/dist/components/ComponentTreeFavorites/index.vue.d.ts +6 -6
  13. package/dist/components/ImageGuide/index.vue.d.ts +6 -6
  14. package/dist/components.d.ts +3 -3
  15. package/dist/composables/useComponentTree.d.ts +2 -2
  16. package/dist/domain/EditorDomain.d.ts +3 -3
  17. package/dist/editor.d.ts +197 -17
  18. package/dist/editor.vue.d.ts +6 -6
  19. package/dist/formily/DataBinding/index.vue.d.ts +7 -7
  20. package/dist/formily/MenuTable/PageList.vue.d.ts +6 -6
  21. package/dist/formily/MenuTable/index.vue.d.ts +6 -6
  22. package/dist/formily/MenuTable/useMenuTable.d.ts +9 -195
  23. package/dist/index.css +534 -534
  24. package/dist/index.d.ts +15 -15
  25. package/dist/index.js +11010 -2493
  26. package/package.json +15 -11
  27. package/src/ActivityBar/index.vue +2 -2
  28. package/src/ComponentTree/components/List.vue +2 -2
  29. package/src/ComponentTree/index.vue +2 -2
  30. package/src/DataSource/index.vue +3 -3
  31. package/src/HeaderBar/components/BarDialog.vue +2 -2
  32. package/src/HeaderBar/index.vue +2 -2
  33. package/src/NavTree/index.vue +5 -5
  34. package/src/SchemaConfig/index.vue +3 -3
  35. package/src/SidebarPane/index.vue +1 -1
  36. package/src/components/ComponentTreeFavorites/components/List.vue +2 -2
  37. package/src/components/ComponentTreeFavorites/index.vue +3 -3
  38. package/src/domain/EditorDomain.ts +3 -3
  39. package/src/editor.ts +5 -5
  40. package/src/editor.vue +3 -3
  41. package/src/formily/ActivityBar/index.ts +1 -1
  42. package/src/formily/ComponentTree/index.ts +1 -1
  43. package/src/formily/DataBinding/index.ts +1 -1
  44. package/src/formily/DataBinding/index.vue +3 -3
  45. package/src/formily/DataSource/index.ts +1 -1
  46. package/src/formily/MenuTable/PageList.vue +1 -1
  47. package/src/formily/MenuTable/index.ts +1 -1
  48. package/src/formily/MenuTable/index.vue +1 -1
  49. package/src/formily/MenuTable/useMenuTable.ts +2 -2
  50. package/src/formily/NavTree/index.ts +1 -1
  51. package/src/formily/SidebarPane/index.ts +1 -1
  52. package/src/formily/SidebarPane/index.vue +1 -1
package/dist/index.css CHANGED
@@ -89,6 +89,125 @@
89
89
  box-shadow: 0px 2px 12px rgba(216, 222, 235, 0.5);
90
90
  }
91
91
 
92
+ .binded-page {
93
+ display: "flex";
94
+ align-items: "center";
95
+ }
96
+
97
+ .menu-form {
98
+ margin-bottom: 17px;
99
+ padding-top: 44px;
100
+ padding-bottom: 26px;
101
+ border: 1px solid #e8e9eb;
102
+ border-left: none;
103
+ border-right: none;
104
+ }
105
+
106
+ .data-binding {
107
+ position: relative;
108
+ }
109
+ .data-binding .setter-actions {
110
+ position: absolute;
111
+ right: 0;
112
+ top: 0;
113
+ transform: none;
114
+ cursor: pointer;
115
+ display: flex;
116
+ align-items: center;
117
+ }
118
+ .data-binding .setter-actions .title {
119
+ background: #006cff;
120
+ color: #fff !important;
121
+ border-radius: 3px;
122
+ }
123
+ .data-binding .setter-actions .title .title-icon {
124
+ display: flex;
125
+ align-items: center;
126
+ }
127
+ .data-binding .setter-actions .only-icon {
128
+ background: #fff;
129
+ color: #8f9bb3;
130
+ }
131
+ .data-binding:deep(.formily-element-plus-form-item-control-content-component) {
132
+ justify-content: flex-start;
133
+ }
134
+
135
+ .variable-dialog-content {
136
+ display: flex;
137
+ box-sizing: border-box;
138
+ }
139
+ .variable-dialog-content .variable-selector {
140
+ width: 270px;
141
+ flex-shrink: 0;
142
+ flex-grow: 0;
143
+ }
144
+ .variable-dialog-content .variable-selector .variable-selector-inner {
145
+ display: flex;
146
+ border: 1px solid rgba(31, 56, 88, 0.3);
147
+ border-radius: 3px;
148
+ height: calc(100% - 28px);
149
+ }
150
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category {
151
+ width: 110px;
152
+ flex-shrink: 0;
153
+ flex-grow: 0;
154
+ border-right: 1px solid rgba(31, 56, 88, 0.2);
155
+ }
156
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category li {
157
+ height: 28px;
158
+ line-height: 28px;
159
+ padding: 0 12px;
160
+ cursor: pointer;
161
+ position: relative;
162
+ overflow: hidden;
163
+ text-overflow: ellipsis;
164
+ white-space: nowrap;
165
+ }
166
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category .active {
167
+ background: rgba(31, 56, 88, 0.06);
168
+ }
169
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container {
170
+ width: 157px;
171
+ }
172
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .selector-search-control {
173
+ margin: 10px;
174
+ height: 30px;
175
+ }
176
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .variable-selector-items {
177
+ overflow-y: auto;
178
+ overflow-x: hidden;
179
+ height: 270px;
180
+ }
181
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .variable-selector-items li {
182
+ height: 28px;
183
+ line-height: 28px;
184
+ padding: 0 12px;
185
+ cursor: pointer;
186
+ position: relative;
187
+ overflow: hidden;
188
+ text-overflow: ellipsis;
189
+ white-space: nowrap;
190
+ }
191
+ .variable-dialog-content .variable-selector .variable-selector-inner ul {
192
+ margin: 0;
193
+ padding: 0;
194
+ list-style-type: none;
195
+ }
196
+ .variable-dialog-content .variable-selector .variable-selector-inner ul li:hover {
197
+ background: rgba(31, 56, 88, 0.04);
198
+ }
199
+ .variable-dialog-content .variable-content {
200
+ margin-left: 12px;
201
+ flex-grow: 1;
202
+ }
203
+ .variable-dialog-content .variable-title {
204
+ font-weight: 700;
205
+ margin-bottom: 8px;
206
+ color: rgba(0, 0, 0, 0.8);
207
+ display: flex;
208
+ align-items: center;
209
+ }
210
+
92
211
  .component-tree-v2 {
93
212
  box-sizing: border-box;
94
213
  padding: 20px;
@@ -151,97 +270,316 @@
151
270
  margin-left: 5px;
152
271
  }
153
272
 
154
- .nav-tree .el-tree-node.activity > .el-tree-node__content {
155
- background-color: rgba(245, 219, 193, 0.5);
156
- }
157
- .nav-tree .el-tree-node {
158
- padding: 8px 0;
273
+ .page-list {
274
+ flex: 1;
275
+ margin-bottom: 18px;
276
+ border: 1px solid #6b7280;
277
+ border-radius: 5px;
278
+ overflow: hidden;
159
279
  }
160
- .nav-tree .el-tree-node .el-tree-node__content:hover, .nav-tree .el-tree-node .el-tree-node__content:active {
161
- background-color: rgba(245, 219, 193, 0.5);
280
+ .page-list .input,
281
+ .page-list .title {
282
+ padding: 10px 15px 10px 15px;
162
283
  }
163
- .nav-tree .el-tree-node .el-tree-node__content .el-tree-node__label {
164
- flex: 1;
284
+ .page-list .name-list {
285
+ list-style: none;
286
+ margin: 0;
287
+ padding: 0;
288
+ overflow: auto;
289
+ height: 150px;
165
290
  }
166
- .nav-tree .el-tree-node .el-tree-node__content .tree-item span {
167
- font-weight: 500;
168
- font-size: 16px;
169
- line-height: 24px;
291
+ .page-list .name-list li {
292
+ padding-left: 20px;
293
+ padding-right: 20px;
294
+ line-height: 30px;
295
+ cursor: pointer;
170
296
  }
171
- .nav-tree .el-tree-node .el-tree-node__children .el-tree-node:nth-child(1) {
172
- margin-top: 8px;
297
+ .page-list .show-area {
298
+ padding: 10px 15px 10px 15px;
299
+ display: flex;
300
+ justify-content: space-between;
173
301
  }
174
- .nav-tree .el-tree-node .el-tree-node__children .tree-item span {
175
- font-weight: 400;
176
- font-size: 14px;
302
+ .page-list .show-area .remove-icon {
303
+ display: flex;
304
+ justify-content: space-between;
305
+ align-items: center;
306
+ cursor: pointer;
177
307
  }
178
- .nav-tree .tree-item .el-input__wrapper {
179
- box-shadow: 0 0 0 1px #bf935f inset;
180
- padding: 4px 5px 4px 4px;
308
+
309
+ .page-item {
310
+ transition: all 0.3s ease-in-out;
181
311
  }
182
- .nav-tree .tree-item .el-input__wrapper .el-input__inner {
183
- color: #50381f;
312
+
313
+ .page-item:hover {
314
+ background-color: #f5f7fa;
184
315
  }
185
316
 
186
- .nav-tree {
187
- flex: 0 0 30%;
188
- padding: 16px 17px;
189
- overflow: auto;
190
- color: #020202;
191
- height: 100%;
317
+ .component-list-favorites .el-collapse {
318
+ margin-top: 20px;
319
+ border: none;
192
320
  }
193
- .nav-tree .tree-item {
194
- display: flex;
195
- flex: 1;
196
- align-items: center;
197
- position: relative;
321
+ .component-list-favorites .el-collapse .el-collapse-item__arrow {
322
+ display: none;
198
323
  }
199
- .nav-tree .tree-item span {
200
- margin-left: 3px;
324
+ .component-list-favorites .el-collapse .el-collapse-item__header {
325
+ color: #282f40;
201
326
  font-size: 14px;
202
- line-height: 24px;
203
- color: #020202;
204
- }
205
- .nav-tree .tree-item .tree-icon {
206
- width: 20px;
207
- height: 18px;
208
- object-fit: contain;
327
+ font-weight: 500;
328
+ line-height: 120%;
329
+ height: auto;
330
+ margin-bottom: 20px;
331
+ border: none;
332
+ display: flex;
333
+ align-items: center;
334
+ column-gap: 8px;
209
335
  }
210
- .nav-tree .tree-item .el-input {
211
- height: 26px;
212
- width: fit-content;
336
+ .component-list-favorites .el-collapse .el-collapse-item__header path {
337
+ fill: #999 !important;
213
338
  }
214
- .nav-tree .tree-item .delete-icon {
215
- position: absolute;
216
- right: 0;
217
- transition: all 0.2s ease;
339
+ .component-list-favorites .el-collapse .el-collapse-item__wrap {
340
+ border-bottom: none;
218
341
  }
219
- .nav-tree .tree-item .delete-icon:hover {
220
- font-size: 18px !important;
342
+ .component-list-favorites .el-collapse .el-collapse-item__wrap .el-collapse-item__content {
343
+ padding-bottom: 0px;
344
+ padding-left: 10px;
221
345
  }
222
-
223
- .schema-config .title {
224
- font-family: "Noto Sans SC";
225
- font-style: normal;
226
- font-weight: 600;
227
- font-size: 16px;
346
+ .component-list-favorites .nested-list .el-collapse-item__header {
347
+ font-size: 14px;
228
348
  line-height: 24px;
229
- /* identical to box height, or 150% */
230
- color: #020202;
231
- margin-bottom: 16px;
349
+ font-weight: 400;
350
+ height: auto;
351
+ color: #282f40;
352
+ margin-bottom: 4px;
353
+ border: none;
232
354
  }
233
- .schema-config .notice {
234
- text-align: center;
235
- font-size: 14px;
236
- color: rgba(0, 0, 0, 0.6);
237
- padding: 50px 15px 0;
355
+ .component-list-favorites .nested-list .el-collapse-item__content {
356
+ padding-left: 0px !important;
238
357
  }
239
358
 
240
- .header-bar {
359
+ .component-list-favorites__tags {
241
360
  display: flex;
242
- align-items: center;
243
- width: 100%;
244
- white-space: nowrap;
361
+ column-gap: 4px;
362
+ flex-wrap: wrap;
363
+ padding-top: 12px;
364
+ position: sticky;
365
+ top: 0;
366
+ background: #fff;
367
+ z-index: 2;
368
+ }
369
+ .component-list-favorites__tags .tag-item {
370
+ padding: 5px 10px;
371
+ border-radius: 4px;
372
+ border: 1px solid #dcdfe6;
373
+ background: #fff;
374
+ color: #4d5260;
375
+ font-size: 14px;
376
+ font-weight: 500;
377
+ line-height: 22px;
378
+ margin-bottom: 6px;
379
+ cursor: pointer;
380
+ }
381
+ .component-list-favorites__tags .tag-item:hover {
382
+ background: #c79156;
383
+ border: 1px solid #c79156;
384
+ color: #fff;
385
+ }
386
+
387
+ .component-list-favorites {
388
+ display: flex;
389
+ flex-basis: 100px;
390
+ flex-grow: 1;
391
+ height: 100%;
392
+ overflow-y: auto;
393
+ flex-direction: column;
394
+ }
395
+ .component-list-favorites .notice {
396
+ text-align: center;
397
+ font-size: 14px;
398
+ color: rgba(0, 0, 0, 0.6);
399
+ padding: 50px 15px 0;
400
+ }
401
+ .component-list-favorites .component-group {
402
+ display: flex;
403
+ flex-wrap: wrap;
404
+ column-gap: 10px;
405
+ }
406
+ .component-list-favorites .component-item {
407
+ display: flex;
408
+ align-items: center;
409
+ flex-direction: column;
410
+ margin-bottom: 10px;
411
+ position: relative;
412
+ cursor: pointer;
413
+ }
414
+ .component-list-favorites .component-item:hover .tip-box {
415
+ display: block;
416
+ }
417
+ .component-list-favorites .component-item .tip-box {
418
+ position: absolute;
419
+ background: rgba(26, 26, 26, 0.4);
420
+ width: 100px;
421
+ height: 100px;
422
+ left: 0;
423
+ top: 0;
424
+ box-sizing: border-box;
425
+ padding-top: 9px;
426
+ padding-right: 6px;
427
+ display: none;
428
+ border-radius: 4px;
429
+ }
430
+ .component-list-favorites .component-item .tip-box .icon {
431
+ float: right;
432
+ margin-left: 4px;
433
+ position: relative;
434
+ z-index: 1;
435
+ cursor: pointer;
436
+ }
437
+ .component-list-favorites .component-item .component-img, .component-list-favorites .component-item .component-img-copy {
438
+ box-sizing: border-box;
439
+ width: 100px;
440
+ min-width: 100px;
441
+ height: 100px;
442
+ background-color: rgba(33, 33, 33, 0.1);
443
+ border-radius: 4px;
444
+ padding: 8px 9px;
445
+ }
446
+ .component-list-favorites .component-item .component-img img, .component-list-favorites .component-item .component-img-copy img {
447
+ height: 100%;
448
+ width: 100%;
449
+ object-fit: contain;
450
+ }
451
+ .component-list-favorites .component-item .component-img-copy {
452
+ /* 由于设置为absolute会被该组件外的其他组件遮盖 因此设置为fixed */
453
+ position: fixed;
454
+ z-index: 999;
455
+ transition: all ease;
456
+ }
457
+ .component-list-favorites .component-item .component-name {
458
+ font-size: 12px;
459
+ line-height: 24px;
460
+ color: #828690;
461
+ }
462
+
463
+ .drop-area {
464
+ background: transparent;
465
+ }
466
+
467
+ .cover-iframe {
468
+ position: fixed;
469
+ inset: 0;
470
+ z-index: 99;
471
+ }
472
+
473
+ .nav-tree .el-tree-node.activity > .el-tree-node__content {
474
+ background-color: rgba(245, 219, 193, 0.5);
475
+ }
476
+ .nav-tree .el-tree-node {
477
+ padding: 8px 0;
478
+ }
479
+ .nav-tree .el-tree-node .el-tree-node__content:hover, .nav-tree .el-tree-node .el-tree-node__content:active {
480
+ background-color: rgba(245, 219, 193, 0.5);
481
+ }
482
+ .nav-tree .el-tree-node .el-tree-node__content .el-tree-node__label {
483
+ flex: 1;
484
+ }
485
+ .nav-tree .el-tree-node .el-tree-node__content .tree-item span {
486
+ font-weight: 500;
487
+ font-size: 16px;
488
+ line-height: 24px;
489
+ }
490
+ .nav-tree .el-tree-node .el-tree-node__children .el-tree-node:nth-child(1) {
491
+ margin-top: 8px;
492
+ }
493
+ .nav-tree .el-tree-node .el-tree-node__children .tree-item span {
494
+ font-weight: 400;
495
+ font-size: 14px;
496
+ }
497
+ .nav-tree .tree-item .el-input__wrapper {
498
+ box-shadow: 0 0 0 1px #bf935f inset;
499
+ padding: 4px 5px 4px 4px;
500
+ }
501
+ .nav-tree .tree-item .el-input__wrapper .el-input__inner {
502
+ color: #50381f;
503
+ }
504
+
505
+ .nav-tree {
506
+ flex: 0 0 30%;
507
+ padding: 16px 17px;
508
+ overflow: auto;
509
+ color: #020202;
510
+ height: 100%;
511
+ }
512
+ .nav-tree .tree-item {
513
+ display: flex;
514
+ flex: 1;
515
+ align-items: center;
516
+ position: relative;
517
+ }
518
+ .nav-tree .tree-item span {
519
+ margin-left: 3px;
520
+ font-size: 14px;
521
+ line-height: 24px;
522
+ color: #020202;
523
+ }
524
+ .nav-tree .tree-item .tree-icon {
525
+ width: 20px;
526
+ height: 18px;
527
+ object-fit: contain;
528
+ }
529
+ .nav-tree .tree-item .el-input {
530
+ height: 26px;
531
+ width: fit-content;
532
+ }
533
+ .nav-tree .tree-item .delete-icon {
534
+ position: absolute;
535
+ right: 0;
536
+ transition: all 0.2s ease;
537
+ }
538
+ .nav-tree .tree-item .delete-icon:hover {
539
+ font-size: 18px !important;
540
+ }
541
+
542
+ .component-tree {
543
+ flex-shrink: 1;
544
+ padding: 16px 17px;
545
+ position: relative;
546
+ height: 100%;
547
+ display: flex;
548
+ flex-direction: column;
549
+ }
550
+ .component-tree__title {
551
+ margin-bottom: 19px;
552
+ font-weight: 500;
553
+ font-size: 16px;
554
+ line-height: 24px;
555
+ }
556
+ .component-tree .search-input {
557
+ margin-bottom: 9px;
558
+ flex-grow: 0;
559
+ }
560
+
561
+ .schema-config .title {
562
+ font-family: "Noto Sans SC";
563
+ font-style: normal;
564
+ font-weight: 600;
565
+ font-size: 16px;
566
+ line-height: 24px;
567
+ /* identical to box height, or 150% */
568
+ color: #020202;
569
+ margin-bottom: 16px;
570
+ }
571
+ .schema-config .notice {
572
+ text-align: center;
573
+ font-size: 14px;
574
+ color: rgba(0, 0, 0, 0.6);
575
+ padding: 50px 15px 0;
576
+ }
577
+
578
+ .header-bar {
579
+ display: flex;
580
+ align-items: center;
581
+ width: 100%;
582
+ white-space: nowrap;
245
583
  }
246
584
  .header-bar .read-only {
247
585
  opacity: 0.4;
@@ -396,25 +734,6 @@
396
734
  vertical-align: middle;
397
735
  }
398
736
 
399
- .component-tree {
400
- flex-shrink: 1;
401
- padding: 16px 17px;
402
- position: relative;
403
- height: 100%;
404
- display: flex;
405
- flex-direction: column;
406
- }
407
- .component-tree__title {
408
- margin-bottom: 19px;
409
- font-weight: 500;
410
- font-size: 16px;
411
- line-height: 24px;
412
- }
413
- .component-tree .search-input {
414
- margin-bottom: 9px;
415
- flex-grow: 0;
416
- }
417
-
418
737
  .sidebar {
419
738
  padding-top: 12px;
420
739
  height: 100%;
@@ -511,336 +830,33 @@
511
830
  border-width: 0;
512
831
  cursor: pointer;
513
832
  display: flex;
514
- align-items: center;
515
- justify-content: center;
516
- }
517
- .float-pane .titled-panel .panel-title,
518
- .fixed-pane .titled-panel .panel-title {
519
- height: 48px;
520
- font-size: 16px;
521
- padding: 0 15px;
522
- color: #0f1726;
523
- font-weight: 700;
524
- display: flex;
525
- justify-content: flex-start;
526
- align-items: center;
527
- }
528
- .float-pane .titled-panel .panel-body,
529
- .fixed-pane .titled-panel .panel-body {
530
- position: absolute;
531
- top: 0;
532
- bottom: 0;
533
- left: 0;
534
- right: 0;
535
- overflow: visible;
536
- border-top: 1px solid rgba(31, 56, 88, 0.1);
537
- }
538
-
539
- .visible {
540
- display: block;
541
- }
542
-
543
- .guide-dialog .el-dialog__body {
544
- padding: 32px;
545
- overflow-y: scroll;
546
- }
547
- .guide-dialog .image-export-guide {
548
- box-sizing: border-box;
549
- padding: 16px 137px 24px 22px;
550
- background: #f3f3f3;
551
- }
552
- .guide-dialog .image-export-guide--item {
553
- margin-bottom: 22px;
554
- }
555
- .guide-dialog .image-export-guide--item p {
556
- font-style: normal;
557
- font-weight: 400;
558
- font-size: 14px;
559
- line-height: 24px;
560
- /* identical to box height, or 171% */
561
- display: flex;
562
- align-items: center;
563
- color: #000000;
564
- margin-bottom: 12px;
565
- }
566
- .guide-dialog .image-export-guide .image-group {
567
- display: flex;
568
- justify-content: space-around;
569
- }
570
-
571
- .binded-page {
572
- display: "flex";
573
- align-items: "center";
574
- }
575
-
576
- .menu-form {
577
- margin-bottom: 17px;
578
- padding-top: 44px;
579
- padding-bottom: 26px;
580
- border: 1px solid #e8e9eb;
581
- border-left: none;
582
- border-right: none;
583
- }
584
-
585
- .data-binding {
586
- position: relative;
587
- }
588
- .data-binding .setter-actions {
589
- position: absolute;
590
- right: 0;
591
- top: 0;
592
- transform: none;
593
- cursor: pointer;
594
- display: flex;
595
- align-items: center;
596
- }
597
- .data-binding .setter-actions .title {
598
- background: #006cff;
599
- color: #fff !important;
600
- border-radius: 3px;
601
- }
602
- .data-binding .setter-actions .title .title-icon {
603
- display: flex;
604
- align-items: center;
605
- }
606
- .data-binding .setter-actions .only-icon {
607
- background: #fff;
608
- color: #8f9bb3;
609
- }
610
- .data-binding:deep(.formily-element-plus-form-item-control-content-component) {
611
- justify-content: flex-start;
612
- }
613
-
614
- .variable-dialog-content {
615
- display: flex;
616
- box-sizing: border-box;
617
- }
618
- .variable-dialog-content .variable-selector {
619
- width: 270px;
620
- flex-shrink: 0;
621
- flex-grow: 0;
622
- }
623
- .variable-dialog-content .variable-selector .variable-selector-inner {
624
- display: flex;
625
- border: 1px solid rgba(31, 56, 88, 0.3);
626
- border-radius: 3px;
627
- height: calc(100% - 28px);
628
- }
629
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category {
630
- width: 110px;
631
- flex-shrink: 0;
632
- flex-grow: 0;
633
- border-right: 1px solid rgba(31, 56, 88, 0.2);
634
- }
635
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category li {
636
- height: 28px;
637
- line-height: 28px;
638
- padding: 0 12px;
639
- cursor: pointer;
640
- position: relative;
641
- overflow: hidden;
642
- text-overflow: ellipsis;
643
- white-space: nowrap;
644
- }
645
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category .active {
646
- background: rgba(31, 56, 88, 0.06);
647
- }
648
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container {
649
- width: 157px;
650
- }
651
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .selector-search-control {
652
- margin: 10px;
653
- height: 30px;
654
- }
655
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .variable-selector-items {
656
- overflow-y: auto;
657
- overflow-x: hidden;
658
- height: 270px;
659
- }
660
- .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .variable-selector-items li {
661
- height: 28px;
662
- line-height: 28px;
663
- padding: 0 12px;
664
- cursor: pointer;
665
- position: relative;
666
- overflow: hidden;
667
- text-overflow: ellipsis;
668
- white-space: nowrap;
669
- }
670
- .variable-dialog-content .variable-selector .variable-selector-inner ul {
671
- margin: 0;
672
- padding: 0;
673
- list-style-type: none;
674
- }
675
- .variable-dialog-content .variable-selector .variable-selector-inner ul li:hover {
676
- background: rgba(31, 56, 88, 0.04);
677
- }
678
- .variable-dialog-content .variable-content {
679
- margin-left: 12px;
680
- flex-grow: 1;
681
- }
682
- .variable-dialog-content .variable-title {
683
- font-weight: 700;
684
- margin-bottom: 8px;
685
- color: rgba(0, 0, 0, 0.8);
686
- display: flex;
687
- align-items: center;
688
- }
689
-
690
- .component-list-favorites .el-collapse {
691
- margin-top: 20px;
692
- border: none;
693
- }
694
- .component-list-favorites .el-collapse .el-collapse-item__arrow {
695
- display: none;
696
- }
697
- .component-list-favorites .el-collapse .el-collapse-item__header {
698
- color: #282f40;
699
- font-size: 14px;
700
- font-weight: 500;
701
- line-height: 120%;
702
- height: auto;
703
- margin-bottom: 20px;
704
- border: none;
705
- display: flex;
706
- align-items: center;
707
- column-gap: 8px;
708
- }
709
- .component-list-favorites .el-collapse .el-collapse-item__header path {
710
- fill: #999 !important;
711
- }
712
- .component-list-favorites .el-collapse .el-collapse-item__wrap {
713
- border-bottom: none;
714
- }
715
- .component-list-favorites .el-collapse .el-collapse-item__wrap .el-collapse-item__content {
716
- padding-bottom: 0px;
717
- padding-left: 10px;
718
- }
719
- .component-list-favorites .nested-list .el-collapse-item__header {
720
- font-size: 14px;
721
- line-height: 24px;
722
- font-weight: 400;
723
- height: auto;
724
- color: #282f40;
725
- margin-bottom: 4px;
726
- border: none;
727
- }
728
- .component-list-favorites .nested-list .el-collapse-item__content {
729
- padding-left: 0px !important;
730
- }
731
-
732
- .component-list-favorites__tags {
733
- display: flex;
734
- column-gap: 4px;
735
- flex-wrap: wrap;
736
- padding-top: 12px;
737
- position: sticky;
738
- top: 0;
739
- background: #fff;
740
- z-index: 2;
741
- }
742
- .component-list-favorites__tags .tag-item {
743
- padding: 5px 10px;
744
- border-radius: 4px;
745
- border: 1px solid #dcdfe6;
746
- background: #fff;
747
- color: #4d5260;
748
- font-size: 14px;
749
- font-weight: 500;
750
- line-height: 22px;
751
- margin-bottom: 6px;
752
- cursor: pointer;
753
- }
754
- .component-list-favorites__tags .tag-item:hover {
755
- background: #c79156;
756
- border: 1px solid #c79156;
757
- color: #fff;
758
- }
759
-
760
- .component-list-favorites {
761
- display: flex;
762
- flex-basis: 100px;
763
- flex-grow: 1;
764
- height: 100%;
765
- overflow-y: auto;
766
- flex-direction: column;
767
- }
768
- .component-list-favorites .notice {
769
- text-align: center;
770
- font-size: 14px;
771
- color: rgba(0, 0, 0, 0.6);
772
- padding: 50px 15px 0;
773
- }
774
- .component-list-favorites .component-group {
775
- display: flex;
776
- flex-wrap: wrap;
777
- column-gap: 10px;
778
- }
779
- .component-list-favorites .component-item {
780
- display: flex;
781
- align-items: center;
782
- flex-direction: column;
783
- margin-bottom: 10px;
784
- position: relative;
785
- cursor: pointer;
786
- }
787
- .component-list-favorites .component-item:hover .tip-box {
788
- display: block;
789
- }
790
- .component-list-favorites .component-item .tip-box {
791
- position: absolute;
792
- background: rgba(26, 26, 26, 0.4);
793
- width: 100px;
794
- height: 100px;
795
- left: 0;
796
- top: 0;
797
- box-sizing: border-box;
798
- padding-top: 9px;
799
- padding-right: 6px;
800
- display: none;
801
- border-radius: 4px;
802
- }
803
- .component-list-favorites .component-item .tip-box .icon {
804
- float: right;
805
- margin-left: 4px;
806
- position: relative;
807
- z-index: 1;
808
- cursor: pointer;
809
- }
810
- .component-list-favorites .component-item .component-img, .component-list-favorites .component-item .component-img-copy {
811
- box-sizing: border-box;
812
- width: 100px;
813
- min-width: 100px;
814
- height: 100px;
815
- background-color: rgba(33, 33, 33, 0.1);
816
- border-radius: 4px;
817
- padding: 8px 9px;
818
- }
819
- .component-list-favorites .component-item .component-img img, .component-list-favorites .component-item .component-img-copy img {
820
- height: 100%;
821
- width: 100%;
822
- object-fit: contain;
823
- }
824
- .component-list-favorites .component-item .component-img-copy {
825
- /* 由于设置为absolute会被该组件外的其他组件遮盖 因此设置为fixed */
826
- position: fixed;
827
- z-index: 999;
828
- transition: all ease;
833
+ align-items: center;
834
+ justify-content: center;
829
835
  }
830
- .component-list-favorites .component-item .component-name {
831
- font-size: 12px;
832
- line-height: 24px;
833
- color: #828690;
836
+ .float-pane .titled-panel .panel-title,
837
+ .fixed-pane .titled-panel .panel-title {
838
+ height: 48px;
839
+ font-size: 16px;
840
+ padding: 0 15px;
841
+ color: #0f1726;
842
+ font-weight: 700;
843
+ display: flex;
844
+ justify-content: flex-start;
845
+ align-items: center;
834
846
  }
835
-
836
- .drop-area {
837
- background: transparent;
847
+ .float-pane .titled-panel .panel-body,
848
+ .fixed-pane .titled-panel .panel-body {
849
+ position: absolute;
850
+ top: 0;
851
+ bottom: 0;
852
+ left: 0;
853
+ right: 0;
854
+ overflow: visible;
855
+ border-top: 1px solid rgba(31, 56, 88, 0.1);
838
856
  }
839
857
 
840
- .cover-iframe {
841
- position: fixed;
842
- inset: 0;
843
- z-index: 99;
858
+ .visible {
859
+ display: block;
844
860
  }
845
861
 
846
862
  .datapool {
@@ -984,134 +1000,32 @@
984
1000
  padding: 8px 12px;
985
1001
  }
986
1002
 
987
- .component-list {
988
- display: flex;
989
- flex-basis: 100px;
990
- flex-grow: 1;
991
- height: 100%;
992
- overflow-y: auto;
993
- flex-direction: column;
994
- }
995
- .component-list .notice {
996
- text-align: center;
997
- font-size: 14px;
998
- color: rgba(0, 0, 0, 0.6);
999
- padding: 50px 15px 0;
1000
- }
1001
- .component-list .component-item {
1002
- display: flex;
1003
- align-items: center;
1004
- margin-bottom: 12px;
1005
- cursor: pointer;
1003
+ .guide-dialog .el-dialog__body {
1004
+ padding: 32px;
1005
+ overflow-y: scroll;
1006
1006
  }
1007
- .component-list .component-item .component-img, .component-list .component-item .component-img-copy {
1007
+ .guide-dialog .image-export-guide {
1008
1008
  box-sizing: border-box;
1009
- width: 100px;
1010
- min-width: 100px;
1011
- height: 52px;
1012
- background-color: rgba(33, 33, 33, 0.1);
1013
- border-radius: 4px;
1014
- margin-right: 24px;
1015
- padding: 8px 9px;
1016
- }
1017
- .component-list .component-item .component-img img, .component-list .component-item .component-img-copy img {
1018
- height: 100%;
1019
- width: 100%;
1020
- object-fit: contain;
1021
- }
1022
- .component-list .component-item .component-img-copy {
1023
- /* 由于设置为absolute会被该组件外的其他组件遮盖 因此设置为fixed */
1024
- position: fixed;
1025
- z-index: 999;
1026
- transition: all ease;
1027
- }
1028
- .component-list .component-item .component-name {
1029
- font-size: 14px;
1030
- line-height: 24px;
1031
- color: #4b515e;
1032
- }
1033
-
1034
- .drop-area {
1035
- background: transparent;
1036
- }
1037
-
1038
- .cover-iframe {
1039
- position: fixed;
1040
- inset: 0;
1041
- z-index: 99;
1042
- }
1043
-
1044
- .component-list .el-collapse {
1045
- border-top: none;
1009
+ padding: 16px 137px 24px 22px;
1010
+ background: #f3f3f3;
1046
1011
  }
1047
- .component-list .el-collapse .el-collapse-item__arrow {
1048
- display: none;
1012
+ .guide-dialog .image-export-guide--item {
1013
+ margin-bottom: 22px;
1049
1014
  }
1050
- .component-list .el-collapse .el-collapse-item__header {
1051
- border-bottom: none;
1052
- font-size: 14px;
1015
+ .guide-dialog .image-export-guide--item p {
1016
+ font-style: normal;
1053
1017
  font-weight: 400;
1018
+ font-size: 14px;
1054
1019
  line-height: 24px;
1055
- color: #020202;
1056
- }
1057
- .component-list .el-collapse .el-collapse-item__wrap {
1058
- border-bottom: none;
1059
- }
1060
- .component-list .el-collapse .el-collapse-item__wrap .el-collapse-item__content {
1061
- padding-bottom: 0px;
1062
- padding-left: 10px;
1063
- }
1064
- .component-list .nested-list .el-collapse-item__header {
1065
- font-size: 12px;
1066
- line-height: 24px;
1067
- color: #4b515e;
1068
- }
1069
- .component-list .nested-list .el-collapse-item__content {
1070
- padding-left: 0px !important;
1071
- }
1072
-
1073
- .page-list {
1074
- flex: 1;
1075
- margin-bottom: 18px;
1076
- border: 1px solid #6b7280;
1077
- border-radius: 5px;
1078
- overflow: hidden;
1079
- }
1080
- .page-list .input,
1081
- .page-list .title {
1082
- padding: 10px 15px 10px 15px;
1083
- }
1084
- .page-list .name-list {
1085
- list-style: none;
1086
- margin: 0;
1087
- padding: 0;
1088
- overflow: auto;
1089
- height: 150px;
1090
- }
1091
- .page-list .name-list li {
1092
- padding-left: 20px;
1093
- padding-right: 20px;
1094
- line-height: 30px;
1095
- cursor: pointer;
1096
- }
1097
- .page-list .show-area {
1098
- padding: 10px 15px 10px 15px;
1099
- display: flex;
1100
- justify-content: space-between;
1101
- }
1102
- .page-list .show-area .remove-icon {
1020
+ /* identical to box height, or 171% */
1103
1021
  display: flex;
1104
- justify-content: space-between;
1105
1022
  align-items: center;
1106
- cursor: pointer;
1107
- }
1108
-
1109
- .page-item {
1110
- transition: all 0.3s ease-in-out;
1023
+ color: #000000;
1024
+ margin-bottom: 12px;
1111
1025
  }
1112
-
1113
- .page-item:hover {
1114
- background-color: #f5f7fa;
1026
+ .guide-dialog .image-export-guide .image-group {
1027
+ display: flex;
1028
+ justify-content: space-around;
1115
1029
  }
1116
1030
 
1117
1031
  .component-tips ::v-deep .el-dialog__body {
@@ -1164,4 +1078,90 @@
1164
1078
  .component-tips--content__right img {
1165
1079
  width: 100%;
1166
1080
  margin-top: 15px;
1081
+ }
1082
+
1083
+ .component-list .el-collapse {
1084
+ border-top: none;
1085
+ }
1086
+ .component-list .el-collapse .el-collapse-item__arrow {
1087
+ display: none;
1088
+ }
1089
+ .component-list .el-collapse .el-collapse-item__header {
1090
+ border-bottom: none;
1091
+ font-size: 14px;
1092
+ font-weight: 400;
1093
+ line-height: 24px;
1094
+ color: #020202;
1095
+ }
1096
+ .component-list .el-collapse .el-collapse-item__wrap {
1097
+ border-bottom: none;
1098
+ }
1099
+ .component-list .el-collapse .el-collapse-item__wrap .el-collapse-item__content {
1100
+ padding-bottom: 0px;
1101
+ padding-left: 10px;
1102
+ }
1103
+ .component-list .nested-list .el-collapse-item__header {
1104
+ font-size: 12px;
1105
+ line-height: 24px;
1106
+ color: #4b515e;
1107
+ }
1108
+ .component-list .nested-list .el-collapse-item__content {
1109
+ padding-left: 0px !important;
1110
+ }
1111
+
1112
+ .component-list {
1113
+ display: flex;
1114
+ flex-basis: 100px;
1115
+ flex-grow: 1;
1116
+ height: 100%;
1117
+ overflow-y: auto;
1118
+ flex-direction: column;
1119
+ }
1120
+ .component-list .notice {
1121
+ text-align: center;
1122
+ font-size: 14px;
1123
+ color: rgba(0, 0, 0, 0.6);
1124
+ padding: 50px 15px 0;
1125
+ }
1126
+ .component-list .component-item {
1127
+ display: flex;
1128
+ align-items: center;
1129
+ margin-bottom: 12px;
1130
+ cursor: pointer;
1131
+ }
1132
+ .component-list .component-item .component-img, .component-list .component-item .component-img-copy {
1133
+ box-sizing: border-box;
1134
+ width: 100px;
1135
+ min-width: 100px;
1136
+ height: 52px;
1137
+ background-color: rgba(33, 33, 33, 0.1);
1138
+ border-radius: 4px;
1139
+ margin-right: 24px;
1140
+ padding: 8px 9px;
1141
+ }
1142
+ .component-list .component-item .component-img img, .component-list .component-item .component-img-copy img {
1143
+ height: 100%;
1144
+ width: 100%;
1145
+ object-fit: contain;
1146
+ }
1147
+ .component-list .component-item .component-img-copy {
1148
+ /* 由于设置为absolute会被该组件外的其他组件遮盖 因此设置为fixed */
1149
+ position: fixed;
1150
+ z-index: 999;
1151
+ transition: all ease;
1152
+ }
1153
+ .component-list .component-item .component-name {
1154
+ font-size: 14px;
1155
+ line-height: 24px;
1156
+ color: #4b515e;
1157
+ }
1158
+
1159
+ .drop-area {
1160
+ background: transparent;
1161
+ }
1162
+
1163
+ .cover-iframe {
1164
+ position: fixed;
1165
+ inset: 0;
1166
+ z-index: 99;
1167
1167
  }