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

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 (45) 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 +1 -1
  17. package/dist/editor.d.ts +195 -15
  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 +2 -227
  23. package/dist/index.css +564 -564
  24. package/dist/index.d.ts +13 -13
  25. package/dist/index.js +11006 -2489
  26. package/package.json +7 -3
  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 +2 -2
  31. package/src/HeaderBar/components/BarDialog.vue +1 -1
  32. package/src/HeaderBar/index.vue +1 -1
  33. package/src/NavTree/index.vue +2 -2
  34. package/src/SchemaConfig/index.vue +1 -1
  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 +2 -2
  38. package/src/domain/EditorDomain.ts +1 -1
  39. package/src/editor.ts +1 -1
  40. package/src/editor.vue +1 -1
  41. package/src/formily/DataBinding/index.vue +2 -2
  42. package/src/formily/MenuTable/PageList.vue +1 -1
  43. package/src/formily/MenuTable/index.vue +1 -1
  44. package/src/formily/MenuTable/useMenuTable.ts +1 -1
  45. package/src/formily/SidebarPane/index.vue +1 -1
package/dist/index.css CHANGED
@@ -151,249 +151,392 @@
151
151
  margin-left: 5px;
152
152
  }
153
153
 
154
- .nav-tree .el-tree-node.activity > .el-tree-node__content {
155
- background-color: rgba(245, 219, 193, 0.5);
154
+ .data-binding {
155
+ position: relative;
156
156
  }
157
- .nav-tree .el-tree-node {
158
- padding: 8px 0;
157
+ .data-binding .setter-actions {
158
+ position: absolute;
159
+ right: 0;
160
+ top: 0;
161
+ transform: none;
162
+ cursor: pointer;
163
+ display: flex;
164
+ align-items: center;
159
165
  }
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);
166
+ .data-binding .setter-actions .title {
167
+ background: #006cff;
168
+ color: #fff !important;
169
+ border-radius: 3px;
162
170
  }
163
- .nav-tree .el-tree-node .el-tree-node__content .el-tree-node__label {
164
- flex: 1;
171
+ .data-binding .setter-actions .title .title-icon {
172
+ display: flex;
173
+ align-items: center;
165
174
  }
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;
175
+ .data-binding .setter-actions .only-icon {
176
+ background: #fff;
177
+ color: #8f9bb3;
170
178
  }
171
- .nav-tree .el-tree-node .el-tree-node__children .el-tree-node:nth-child(1) {
172
- margin-top: 8px;
179
+ .data-binding:deep(.formily-element-plus-form-item-control-content-component) {
180
+ justify-content: flex-start;
173
181
  }
174
- .nav-tree .el-tree-node .el-tree-node__children .tree-item span {
175
- font-weight: 400;
176
- font-size: 14px;
182
+
183
+ .variable-dialog-content {
184
+ display: flex;
185
+ box-sizing: border-box;
177
186
  }
178
- .nav-tree .tree-item .el-input__wrapper {
179
- box-shadow: 0 0 0 1px #bf935f inset;
180
- padding: 4px 5px 4px 4px;
187
+ .variable-dialog-content .variable-selector {
188
+ width: 270px;
189
+ flex-shrink: 0;
190
+ flex-grow: 0;
181
191
  }
182
- .nav-tree .tree-item .el-input__wrapper .el-input__inner {
183
- color: #50381f;
192
+ .variable-dialog-content .variable-selector .variable-selector-inner {
193
+ display: flex;
194
+ border: 1px solid rgba(31, 56, 88, 0.3);
195
+ border-radius: 3px;
196
+ height: calc(100% - 28px);
197
+ }
198
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category {
199
+ width: 110px;
200
+ flex-shrink: 0;
201
+ flex-grow: 0;
202
+ border-right: 1px solid rgba(31, 56, 88, 0.2);
203
+ }
204
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category li {
205
+ height: 28px;
206
+ line-height: 28px;
207
+ padding: 0 12px;
208
+ cursor: pointer;
209
+ position: relative;
210
+ overflow: hidden;
211
+ text-overflow: ellipsis;
212
+ white-space: nowrap;
213
+ }
214
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-category .active {
215
+ background: rgba(31, 56, 88, 0.06);
216
+ }
217
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container {
218
+ width: 157px;
219
+ }
220
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .selector-search-control {
221
+ margin: 10px;
222
+ height: 30px;
223
+ }
224
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .variable-selector-items {
225
+ overflow-y: auto;
226
+ overflow-x: hidden;
227
+ height: 270px;
228
+ }
229
+ .variable-dialog-content .variable-selector .variable-selector-inner .variable-selector-items-container .variable-selector-items li {
230
+ height: 28px;
231
+ line-height: 28px;
232
+ padding: 0 12px;
233
+ cursor: pointer;
234
+ position: relative;
235
+ overflow: hidden;
236
+ text-overflow: ellipsis;
237
+ white-space: nowrap;
238
+ }
239
+ .variable-dialog-content .variable-selector .variable-selector-inner ul {
240
+ margin: 0;
241
+ padding: 0;
242
+ list-style-type: none;
243
+ }
244
+ .variable-dialog-content .variable-selector .variable-selector-inner ul li:hover {
245
+ background: rgba(31, 56, 88, 0.04);
246
+ }
247
+ .variable-dialog-content .variable-content {
248
+ margin-left: 12px;
249
+ flex-grow: 1;
250
+ }
251
+ .variable-dialog-content .variable-title {
252
+ font-weight: 700;
253
+ margin-bottom: 8px;
254
+ color: rgba(0, 0, 0, 0.8);
255
+ display: flex;
256
+ align-items: center;
184
257
  }
185
258
 
186
- .nav-tree {
187
- flex: 0 0 30%;
188
- padding: 16px 17px;
259
+ .binded-page {
260
+ display: "flex";
261
+ align-items: "center";
262
+ }
263
+
264
+ .menu-form {
265
+ margin-bottom: 17px;
266
+ padding-top: 44px;
267
+ padding-bottom: 26px;
268
+ border: 1px solid #e8e9eb;
269
+ border-left: none;
270
+ border-right: none;
271
+ }
272
+
273
+ .page-list {
274
+ flex: 1;
275
+ margin-bottom: 18px;
276
+ border: 1px solid #6b7280;
277
+ border-radius: 5px;
278
+ overflow: hidden;
279
+ }
280
+ .page-list .input,
281
+ .page-list .title {
282
+ padding: 10px 15px 10px 15px;
283
+ }
284
+ .page-list .name-list {
285
+ list-style: none;
286
+ margin: 0;
287
+ padding: 0;
189
288
  overflow: auto;
190
- color: #020202;
191
- height: 100%;
289
+ height: 150px;
192
290
  }
193
- .nav-tree .tree-item {
291
+ .page-list .name-list li {
292
+ padding-left: 20px;
293
+ padding-right: 20px;
294
+ line-height: 30px;
295
+ cursor: pointer;
296
+ }
297
+ .page-list .show-area {
298
+ padding: 10px 15px 10px 15px;
194
299
  display: flex;
195
- flex: 1;
300
+ justify-content: space-between;
301
+ }
302
+ .page-list .show-area .remove-icon {
303
+ display: flex;
304
+ justify-content: space-between;
196
305
  align-items: center;
197
- position: relative;
306
+ cursor: pointer;
198
307
  }
199
- .nav-tree .tree-item span {
200
- margin-left: 3px;
308
+
309
+ .page-item {
310
+ transition: all 0.3s ease-in-out;
311
+ }
312
+
313
+ .page-item:hover {
314
+ background-color: #f5f7fa;
315
+ }
316
+
317
+ .component-list-favorites .el-collapse {
318
+ margin-top: 20px;
319
+ border: none;
320
+ }
321
+ .component-list-favorites .el-collapse .el-collapse-item__arrow {
322
+ display: none;
323
+ }
324
+ .component-list-favorites .el-collapse .el-collapse-item__header {
325
+ color: #282f40;
326
+ font-size: 14px;
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;
335
+ }
336
+ .component-list-favorites .el-collapse .el-collapse-item__header path {
337
+ fill: #999 !important;
338
+ }
339
+ .component-list-favorites .el-collapse .el-collapse-item__wrap {
340
+ border-bottom: none;
341
+ }
342
+ .component-list-favorites .el-collapse .el-collapse-item__wrap .el-collapse-item__content {
343
+ padding-bottom: 0px;
344
+ padding-left: 10px;
345
+ }
346
+ .component-list-favorites .nested-list .el-collapse-item__header {
201
347
  font-size: 14px;
202
348
  line-height: 24px;
203
- color: #020202;
349
+ font-weight: 400;
350
+ height: auto;
351
+ color: #282f40;
352
+ margin-bottom: 4px;
353
+ border: none;
204
354
  }
205
- .nav-tree .tree-item .tree-icon {
206
- width: 20px;
207
- height: 18px;
208
- object-fit: contain;
355
+ .component-list-favorites .nested-list .el-collapse-item__content {
356
+ padding-left: 0px !important;
209
357
  }
210
- .nav-tree .tree-item .el-input {
211
- height: 26px;
212
- width: fit-content;
358
+
359
+ .component-list-favorites__tags {
360
+ display: flex;
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;
213
368
  }
214
- .nav-tree .tree-item .delete-icon {
215
- position: absolute;
216
- right: 0;
217
- transition: all 0.2s ease;
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;
218
380
  }
219
- .nav-tree .tree-item .delete-icon:hover {
220
- font-size: 18px !important;
381
+ .component-list-favorites__tags .tag-item:hover {
382
+ background: #c79156;
383
+ border: 1px solid #c79156;
384
+ color: #fff;
221
385
  }
222
386
 
223
- .schema-config .title {
224
- font-family: "Noto Sans SC";
225
- font-style: normal;
226
- font-weight: 600;
227
- font-size: 16px;
228
- line-height: 24px;
229
- /* identical to box height, or 150% */
230
- color: #020202;
231
- margin-bottom: 16px;
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;
232
394
  }
233
- .schema-config .notice {
395
+ .component-list-favorites .notice {
234
396
  text-align: center;
235
397
  font-size: 14px;
236
398
  color: rgba(0, 0, 0, 0.6);
237
399
  padding: 50px 15px 0;
238
400
  }
239
-
240
- .header-bar {
401
+ .component-list-favorites .component-group {
241
402
  display: flex;
242
- align-items: center;
243
- width: 100%;
244
- white-space: nowrap;
245
- }
246
- .header-bar .read-only {
247
- opacity: 0.4;
248
- pointer-events: none;
249
- cursor: not-allowed;
403
+ flex-wrap: wrap;
404
+ column-gap: 10px;
250
405
  }
251
- .header-bar__left {
252
- flex: 1 1 320px;
406
+ .component-list-favorites .component-item {
253
407
  display: flex;
254
408
  align-items: center;
409
+ flex-direction: column;
410
+ margin-bottom: 10px;
411
+ position: relative;
412
+ cursor: pointer;
255
413
  }
256
- .header-bar__left .title {
257
- margin-right: 10px;
258
- font-weight: 500;
259
- font-size: 16px;
260
- line-height: 22px;
261
- color: #4b515e;
262
- width: 300px;
263
- white-space: nowrap;
264
- overflow: hidden;
265
- text-overflow: ellipsis;
414
+ .component-list-favorites .component-item:hover .tip-box {
415
+ display: block;
266
416
  }
267
- .header-bar__left .title .status {
268
- color: #b7b7b7;
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;
269
429
  }
270
- .header-bar__left .title-edit {
430
+ .component-list-favorites .component-item .tip-box .icon {
431
+ float: right;
432
+ margin-left: 4px;
433
+ position: relative;
434
+ z-index: 1;
271
435
  cursor: pointer;
272
436
  }
273
- .header-bar__center {
274
- flex: 1 1 auto;
275
- display: flex;
276
- align-items: center;
277
- justify-content: center;
278
- }
279
- .header-bar__center .label {
280
- font-size: 14px;
281
- line-height: 20px;
282
- color: #1e1917;
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;
283
445
  }
284
- .header-bar__center .select-wrap {
285
- margin: 0 24px 0 9px;
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;
286
450
  }
287
- .header-bar__center .img-box {
288
- position: relative;
451
+ .component-list-favorites .component-item .component-img-copy {
452
+ /* 由于设置为absolute会被该组件外的其他组件遮盖 因此设置为fixed */
453
+ position: fixed;
454
+ z-index: 999;
455
+ transition: all ease;
289
456
  }
290
- .header-bar__center .img-box .box-1 {
291
- transform: rotate(90deg);
292
- transform-origin: 6px 14px;
457
+ .component-list-favorites .component-item .component-name {
458
+ font-size: 12px;
459
+ line-height: 24px;
460
+ color: #828690;
293
461
  }
294
- .header-bar__center .img-box .box-2, .header-bar__center .img-box .box-1 {
295
- box-sizing: border-box;
296
- height: 20px;
297
- width: 12px;
298
- position: absolute;
299
- left: 15px;
300
- top: 10px;
301
- border: 1px solid #4f5052;
302
- border-radius: 2px;
303
- background-color: #fff;
304
- z-index: 10;
462
+
463
+ .drop-area {
464
+ background: transparent;
305
465
  }
306
- .header-bar__center .img-box .box-3 {
307
- position: absolute;
308
- height: 1px;
309
- width: 3px;
310
- top: 26px;
311
- left: 19px;
312
- background-color: #4f5052;
313
- z-index: 10;
466
+
467
+ .cover-iframe {
468
+ position: fixed;
469
+ inset: 0;
470
+ z-index: 99;
314
471
  }
315
- .header-bar__center .img-box .inactive {
316
- opacity: 0.2;
317
- z-index: 1;
472
+
473
+ .nav-tree {
474
+ flex: 0 0 30%;
475
+ padding: 16px 17px;
476
+ overflow: auto;
477
+ color: #020202;
478
+ height: 100%;
318
479
  }
319
- .header-bar__center .scale-area {
320
- margin-left: 10px;
321
- font-family: "Noto Sans SC";
322
- width: 150px;
480
+ .nav-tree .tree-item {
323
481
  display: flex;
482
+ flex: 1;
324
483
  align-items: center;
325
- justify-content: space-evenly;
326
- background-color: #fff;
327
- border-radius: 6px;
484
+ position: relative;
328
485
  }
329
- .header-bar__center .scale-area .scale {
330
- font-size: 20px;
331
- cursor: pointer;
332
- flex: 1;
333
- text-align: center;
486
+ .nav-tree .tree-item span {
487
+ margin-left: 3px;
488
+ font-size: 14px;
489
+ line-height: 24px;
490
+ color: #020202;
334
491
  }
335
- .header-bar__center .scale-area .disabled {
336
- cursor: not-allowed;
337
- color: #a8abb2;
492
+ .nav-tree .tree-item .tree-icon {
493
+ width: 20px;
494
+ height: 18px;
495
+ object-fit: contain;
338
496
  }
339
- .header-bar__center .scale-area .percent {
340
- width: 62px;
341
- height: 40px;
342
- line-height: 40px;
343
- text-align: center;
344
- border-left: 1px solid #dbdbdb;
345
- border-right: 1px solid #dbdbdb;
497
+ .nav-tree .tree-item .el-input {
498
+ height: 26px;
499
+ width: fit-content;
346
500
  }
347
- .header-bar__center .history-btn {
348
- margin-left: 20px;
349
- margin-right: 10px;
350
- display: flex;
501
+ .nav-tree .tree-item .delete-icon {
502
+ position: absolute;
503
+ right: 0;
504
+ transition: all 0.2s ease;
351
505
  }
352
- .header-bar__center .history-btn .undo,
353
- .header-bar__center .history-btn .redo {
354
- display: flex;
355
- margin-right: 10px;
356
- cursor: pointer;
357
- line-height: 40px;
506
+ .nav-tree .tree-item .delete-icon:hover {
507
+ font-size: 18px !important;
358
508
  }
359
- .header-bar__center .history-btn .undo img,
360
- .header-bar__center .history-btn .redo img {
361
- width: 25px;
362
- vertical-align: middle;
509
+
510
+ .nav-tree .el-tree-node.activity > .el-tree-node__content {
511
+ background-color: rgba(245, 219, 193, 0.5);
363
512
  }
364
- .header-bar__center .history-btn .disable {
365
- pointer-events: none;
366
- cursor: not-allowed !important;
367
- opacity: 0.3;
513
+ .nav-tree .el-tree-node {
514
+ padding: 8px 0;
368
515
  }
369
- .header-bar__right {
370
- flex: 1 1 485px;
371
- display: flex;
372
- align-items: center;
373
- justify-content: space-between;
516
+ .nav-tree .el-tree-node .el-tree-node__content:hover, .nav-tree .el-tree-node .el-tree-node__content:active {
517
+ background-color: rgba(245, 219, 193, 0.5);
374
518
  }
375
- .header-bar__right .tips .img-box:first-child {
376
- margin-right: 10px;
519
+ .nav-tree .el-tree-node .el-tree-node__content .el-tree-node__label {
520
+ flex: 1;
377
521
  }
378
- .header-bar__right .btns .el-button:first-child:focus, .header-bar__right .btns .el-button:first-child:hover {
379
- color: #704528;
380
- border-color: #f5dbc1;
381
- background-color: #f5dbc1;
522
+ .nav-tree .el-tree-node .el-tree-node__content .tree-item span {
523
+ font-weight: 500;
524
+ font-size: 16px;
525
+ line-height: 24px;
382
526
  }
383
- .header-bar__right .btns .el-button--primary {
384
- color: #704528;
527
+ .nav-tree .el-tree-node .el-tree-node__children .el-tree-node:nth-child(1) {
528
+ margin-top: 8px;
385
529
  }
386
- .header-bar .img-box {
387
- display: inline-block;
388
- width: 51px;
389
- height: 40px;
390
- line-height: 40px;
391
- text-align: center;
392
- background-color: #fff;
393
- cursor: pointer;
530
+ .nav-tree .el-tree-node .el-tree-node__children .tree-item span {
531
+ font-weight: 400;
532
+ font-size: 14px;
394
533
  }
395
- .header-bar .img-box img {
396
- vertical-align: middle;
534
+ .nav-tree .tree-item .el-input__wrapper {
535
+ box-shadow: 0 0 0 1px #bf935f inset;
536
+ padding: 4px 5px 4px 4px;
537
+ }
538
+ .nav-tree .tree-item .el-input__wrapper .el-input__inner {
539
+ color: #50381f;
397
540
  }
398
541
 
399
542
  .component-tree {
@@ -415,38 +558,6 @@
415
558
  flex-grow: 0;
416
559
  }
417
560
 
418
- .sidebar {
419
- padding-top: 12px;
420
- height: 100%;
421
- width: 48px;
422
- display: flex;
423
- flex-direction: column;
424
- align-items: center;
425
- justify-content: flex-start;
426
- }
427
- .sidebar .title {
428
- width: 46px;
429
- height: 46px;
430
- display: flex;
431
- flex-direction: column;
432
- align-items: center;
433
- justify-content: center;
434
- cursor: pointer;
435
- }
436
- .sidebar .title .title-icon {
437
- width: 20px;
438
- height: 20px;
439
- margin: 0;
440
- display: flex;
441
- align-items: center;
442
- }
443
- .sidebar .title .title-icon .el-icon:deep(svg > path) {
444
- fill: currentColor;
445
- }
446
- .sidebar .activated {
447
- color: #f0dcc4;
448
- }
449
-
450
561
  .float-pane {
451
562
  position: absolute;
452
563
  width: 300px;
@@ -540,307 +651,212 @@
540
651
  display: block;
541
652
  }
542
653
 
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 {
654
+ .schema-config .title {
655
+ font-family: "Noto Sans SC";
556
656
  font-style: normal;
557
- font-weight: 400;
558
- font-size: 14px;
657
+ font-weight: 600;
658
+ font-size: 16px;
559
659
  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;
660
+ /* identical to box height, or 150% */
661
+ color: #020202;
662
+ margin-bottom: 16px;
609
663
  }
610
- .data-binding:deep(.formily-element-plus-form-item-control-content-component) {
611
- justify-content: flex-start;
664
+ .schema-config .notice {
665
+ text-align: center;
666
+ font-size: 14px;
667
+ color: rgba(0, 0, 0, 0.6);
668
+ padding: 50px 15px 0;
612
669
  }
613
670
 
614
- .variable-dialog-content {
671
+ .header-bar {
615
672
  display: flex;
616
- box-sizing: border-box;
673
+ align-items: center;
674
+ width: 100%;
675
+ white-space: nowrap;
617
676
  }
618
- .variable-dialog-content .variable-selector {
619
- width: 270px;
620
- flex-shrink: 0;
621
- flex-grow: 0;
677
+ .header-bar .read-only {
678
+ opacity: 0.4;
679
+ pointer-events: none;
680
+ cursor: not-allowed;
622
681
  }
623
- .variable-dialog-content .variable-selector .variable-selector-inner {
682
+ .header-bar__left {
683
+ flex: 1 1 320px;
624
684
  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);
685
+ align-items: center;
634
686
  }
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;
687
+ .header-bar__left .title {
688
+ margin-right: 10px;
689
+ font-weight: 500;
690
+ font-size: 16px;
691
+ line-height: 22px;
692
+ color: #4b515e;
693
+ width: 300px;
643
694
  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
695
  overflow: hidden;
667
696
  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
697
  }
675
- .variable-dialog-content .variable-selector .variable-selector-inner ul li:hover {
676
- background: rgba(31, 56, 88, 0.04);
698
+ .header-bar__left .title .status {
699
+ color: #b7b7b7;
677
700
  }
678
- .variable-dialog-content .variable-content {
679
- margin-left: 12px;
680
- flex-grow: 1;
701
+ .header-bar__left .title-edit {
702
+ cursor: pointer;
681
703
  }
682
- .variable-dialog-content .variable-title {
683
- font-weight: 700;
684
- margin-bottom: 8px;
685
- color: rgba(0, 0, 0, 0.8);
704
+ .header-bar__center {
705
+ flex: 1 1 auto;
686
706
  display: flex;
687
707
  align-items: center;
708
+ justify-content: center;
688
709
  }
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;
710
+ .header-bar__center .label {
699
711
  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;
712
+ line-height: 20px;
713
+ color: #1e1917;
708
714
  }
709
- .component-list-favorites .el-collapse .el-collapse-item__header path {
710
- fill: #999 !important;
715
+ .header-bar__center .select-wrap {
716
+ margin: 0 24px 0 9px;
711
717
  }
712
- .component-list-favorites .el-collapse .el-collapse-item__wrap {
713
- border-bottom: none;
718
+ .header-bar__center .img-box {
719
+ position: relative;
714
720
  }
715
- .component-list-favorites .el-collapse .el-collapse-item__wrap .el-collapse-item__content {
716
- padding-bottom: 0px;
717
- padding-left: 10px;
721
+ .header-bar__center .img-box .box-1 {
722
+ transform: rotate(90deg);
723
+ transform-origin: 6px 14px;
718
724
  }
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;
725
+ .header-bar__center .img-box .box-2, .header-bar__center .img-box .box-1 {
726
+ box-sizing: border-box;
727
+ height: 20px;
728
+ width: 12px;
729
+ position: absolute;
730
+ left: 15px;
731
+ top: 10px;
732
+ border: 1px solid #4f5052;
733
+ border-radius: 2px;
734
+ background-color: #fff;
735
+ z-index: 10;
727
736
  }
728
- .component-list-favorites .nested-list .el-collapse-item__content {
729
- padding-left: 0px !important;
737
+ .header-bar__center .img-box .box-3 {
738
+ position: absolute;
739
+ height: 1px;
740
+ width: 3px;
741
+ top: 26px;
742
+ left: 19px;
743
+ background-color: #4f5052;
744
+ z-index: 10;
730
745
  }
731
-
732
- .component-list-favorites__tags {
746
+ .header-bar__center .img-box .inactive {
747
+ opacity: 0.2;
748
+ z-index: 1;
749
+ }
750
+ .header-bar__center .scale-area {
751
+ margin-left: 10px;
752
+ font-family: "Noto Sans SC";
753
+ width: 150px;
733
754
  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;
755
+ align-items: center;
756
+ justify-content: space-evenly;
757
+ background-color: #fff;
758
+ border-radius: 6px;
741
759
  }
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;
760
+ .header-bar__center .scale-area .scale {
761
+ font-size: 20px;
752
762
  cursor: pointer;
763
+ flex: 1;
764
+ text-align: center;
753
765
  }
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;
766
+ .header-bar__center .scale-area .disabled {
767
+ cursor: not-allowed;
768
+ color: #a8abb2;
767
769
  }
768
- .component-list-favorites .notice {
770
+ .header-bar__center .scale-area .percent {
771
+ width: 62px;
772
+ height: 40px;
773
+ line-height: 40px;
769
774
  text-align: center;
770
- font-size: 14px;
771
- color: rgba(0, 0, 0, 0.6);
772
- padding: 50px 15px 0;
775
+ border-left: 1px solid #dbdbdb;
776
+ border-right: 1px solid #dbdbdb;
773
777
  }
774
- .component-list-favorites .component-group {
778
+ .header-bar__center .history-btn {
779
+ margin-left: 20px;
780
+ margin-right: 10px;
775
781
  display: flex;
776
- flex-wrap: wrap;
777
- column-gap: 10px;
778
782
  }
779
- .component-list-favorites .component-item {
783
+ .header-bar__center .history-btn .undo,
784
+ .header-bar__center .history-btn .redo {
780
785
  display: flex;
781
- align-items: center;
782
- flex-direction: column;
783
- margin-bottom: 10px;
784
- position: relative;
786
+ margin-right: 10px;
785
787
  cursor: pointer;
788
+ line-height: 40px;
786
789
  }
787
- .component-list-favorites .component-item:hover .tip-box {
788
- display: block;
790
+ .header-bar__center .history-btn .undo img,
791
+ .header-bar__center .history-btn .redo img {
792
+ width: 25px;
793
+ vertical-align: middle;
789
794
  }
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;
795
+ .header-bar__center .history-btn .disable {
796
+ pointer-events: none;
797
+ cursor: not-allowed !important;
798
+ opacity: 0.3;
799
+ }
800
+ .header-bar__right {
801
+ flex: 1 1 485px;
802
+ display: flex;
803
+ align-items: center;
804
+ justify-content: space-between;
802
805
  }
803
- .component-list-favorites .component-item .tip-box .icon {
804
- float: right;
805
- margin-left: 4px;
806
- position: relative;
807
- z-index: 1;
806
+ .header-bar__right .tips .img-box:first-child {
807
+ margin-right: 10px;
808
+ }
809
+ .header-bar__right .btns .el-button:first-child:focus, .header-bar__right .btns .el-button:first-child:hover {
810
+ color: #704528;
811
+ border-color: #f5dbc1;
812
+ background-color: #f5dbc1;
813
+ }
814
+ .header-bar__right .btns .el-button--primary {
815
+ color: #704528;
816
+ }
817
+ .header-bar .img-box {
818
+ display: inline-block;
819
+ width: 51px;
820
+ height: 40px;
821
+ line-height: 40px;
822
+ text-align: center;
823
+ background-color: #fff;
808
824
  cursor: pointer;
809
825
  }
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;
826
+ .header-bar .img-box img {
827
+ vertical-align: middle;
818
828
  }
819
- .component-list-favorites .component-item .component-img img, .component-list-favorites .component-item .component-img-copy img {
829
+
830
+ .sidebar {
831
+ padding-top: 12px;
820
832
  height: 100%;
821
- width: 100%;
822
- object-fit: contain;
833
+ width: 48px;
834
+ display: flex;
835
+ flex-direction: column;
836
+ align-items: center;
837
+ justify-content: flex-start;
823
838
  }
824
- .component-list-favorites .component-item .component-img-copy {
825
- /* 由于设置为absolute会被该组件外的其他组件遮盖 因此设置为fixed */
826
- position: fixed;
827
- z-index: 999;
828
- transition: all ease;
839
+ .sidebar .title {
840
+ width: 46px;
841
+ height: 46px;
842
+ display: flex;
843
+ flex-direction: column;
844
+ align-items: center;
845
+ justify-content: center;
846
+ cursor: pointer;
829
847
  }
830
- .component-list-favorites .component-item .component-name {
831
- font-size: 12px;
832
- line-height: 24px;
833
- color: #828690;
848
+ .sidebar .title .title-icon {
849
+ width: 20px;
850
+ height: 20px;
851
+ margin: 0;
852
+ display: flex;
853
+ align-items: center;
834
854
  }
835
-
836
- .drop-area {
837
- background: transparent;
855
+ .sidebar .title .title-icon .el-icon:deep(svg > path) {
856
+ fill: currentColor;
838
857
  }
839
-
840
- .cover-iframe {
841
- position: fixed;
842
- inset: 0;
843
- z-index: 99;
858
+ .sidebar .activated {
859
+ color: #f0dcc4;
844
860
  }
845
861
 
846
862
  .datapool {
@@ -984,6 +1000,86 @@
984
1000
  padding: 8px 12px;
985
1001
  }
986
1002
 
1003
+ .guide-dialog .el-dialog__body {
1004
+ padding: 32px;
1005
+ overflow-y: scroll;
1006
+ }
1007
+ .guide-dialog .image-export-guide {
1008
+ box-sizing: border-box;
1009
+ padding: 16px 137px 24px 22px;
1010
+ background: #f3f3f3;
1011
+ }
1012
+ .guide-dialog .image-export-guide--item {
1013
+ margin-bottom: 22px;
1014
+ }
1015
+ .guide-dialog .image-export-guide--item p {
1016
+ font-style: normal;
1017
+ font-weight: 400;
1018
+ font-size: 14px;
1019
+ line-height: 24px;
1020
+ /* identical to box height, or 171% */
1021
+ display: flex;
1022
+ align-items: center;
1023
+ color: #000000;
1024
+ margin-bottom: 12px;
1025
+ }
1026
+ .guide-dialog .image-export-guide .image-group {
1027
+ display: flex;
1028
+ justify-content: space-around;
1029
+ }
1030
+
1031
+ .component-tips ::v-deep .el-dialog__body {
1032
+ padding: 30px;
1033
+ }
1034
+ .component-tips ::v-deep .el-dialog__title {
1035
+ color: #1a1a1a;
1036
+ font-size: 18px;
1037
+ font-weight: 500;
1038
+ line-height: 24px;
1039
+ }
1040
+ .component-tips ::v-deep .el-dialog {
1041
+ border-radius: 10px;
1042
+ }
1043
+ .component-tips ::v-deep .el-dialog__header {
1044
+ border-bottom: 1px solid #e6e6e6;
1045
+ padding: 30px 0 16px 0;
1046
+ margin: 0 30px;
1047
+ }
1048
+ .component-tips ::v-deep .el-dialog__header .el-icon {
1049
+ font-size: 24px;
1050
+ color: #1c212d;
1051
+ }
1052
+ .component-tips h1 {
1053
+ color: #1a1a1a;
1054
+ font-size: 16px;
1055
+ font-weight: 500;
1056
+ line-height: 24px;
1057
+ margin-bottom: 10px;
1058
+ }
1059
+ .component-tips--content {
1060
+ display: flex;
1061
+ }
1062
+ .component-tips--content__left {
1063
+ flex-grow: 1;
1064
+ }
1065
+ .component-tips--content__left p {
1066
+ color: #1a1a1a;
1067
+ font-size: 14px;
1068
+ font-weight: 400;
1069
+ line-height: 24px;
1070
+ }
1071
+ .component-tips--content__right {
1072
+ display: flex;
1073
+ flex-direction: column;
1074
+ min-width: 270px;
1075
+ max-width: 270px;
1076
+ margin-left: 80px;
1077
+ }
1078
+ .component-tips--content__right img {
1079
+ width: 100%;
1080
+ margin-top: 15px;
1081
+ }
1082
+
987
1083
  .component-list {
988
1084
  display: flex;
989
1085
  flex-basis: 100px;
@@ -1068,100 +1164,4 @@
1068
1164
  }
1069
1165
  .component-list .nested-list .el-collapse-item__content {
1070
1166
  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 {
1103
- display: flex;
1104
- justify-content: space-between;
1105
- align-items: center;
1106
- cursor: pointer;
1107
- }
1108
-
1109
- .page-item {
1110
- transition: all 0.3s ease-in-out;
1111
- }
1112
-
1113
- .page-item:hover {
1114
- background-color: #f5f7fa;
1115
- }
1116
-
1117
- .component-tips ::v-deep .el-dialog__body {
1118
- padding: 30px;
1119
- }
1120
- .component-tips ::v-deep .el-dialog__title {
1121
- color: #1a1a1a;
1122
- font-size: 18px;
1123
- font-weight: 500;
1124
- line-height: 24px;
1125
- }
1126
- .component-tips ::v-deep .el-dialog {
1127
- border-radius: 10px;
1128
- }
1129
- .component-tips ::v-deep .el-dialog__header {
1130
- border-bottom: 1px solid #e6e6e6;
1131
- padding: 30px 0 16px 0;
1132
- margin: 0 30px;
1133
- }
1134
- .component-tips ::v-deep .el-dialog__header .el-icon {
1135
- font-size: 24px;
1136
- color: #1c212d;
1137
- }
1138
- .component-tips h1 {
1139
- color: #1a1a1a;
1140
- font-size: 16px;
1141
- font-weight: 500;
1142
- line-height: 24px;
1143
- margin-bottom: 10px;
1144
- }
1145
- .component-tips--content {
1146
- display: flex;
1147
- }
1148
- .component-tips--content__left {
1149
- flex-grow: 1;
1150
- }
1151
- .component-tips--content__left p {
1152
- color: #1a1a1a;
1153
- font-size: 14px;
1154
- font-weight: 400;
1155
- line-height: 24px;
1156
- }
1157
- .component-tips--content__right {
1158
- display: flex;
1159
- flex-direction: column;
1160
- min-width: 270px;
1161
- max-width: 270px;
1162
- margin-left: 80px;
1163
- }
1164
- .component-tips--content__right img {
1165
- width: 100%;
1166
- margin-top: 15px;
1167
1167
  }