tianheng-ui 0.0.47 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/lib/iconfont.svg +155 -155
- package/lib/index.js +3 -3
- package/lib/tianheng-ui.js +3 -3
- package/package.json +1 -1
- package/packages/dialog/index.vue +4 -1
- package/packages/formMaking/Container.vue +591 -601
- package/packages/formMaking/CusDialog.vue +134 -134
- package/packages/formMaking/FormConfig.vue +40 -40
- package/packages/formMaking/GenerateForm.vue +176 -184
- package/packages/formMaking/GenerateFormItem.vue +203 -17
- package/packages/formMaking/Upload/index.vue +572 -572
- package/packages/formMaking/WidgetConfig.vue +212 -34
- package/packages/formMaking/WidgetForm.vue +134 -268
- package/packages/formMaking/WidgetFormItem.vue +382 -30
- package/packages/formMaking/componentsConfig.js +159 -14
- package/packages/formMaking/generateCode.js +163 -155
- package/packages/formMaking/iconfont/demo.css +539 -539
- package/packages/formMaking/iconfont/demo_index.html +1159 -1159
- package/packages/formMaking/iconfont/iconfont.css +189 -189
- package/packages/formMaking/iconfont/iconfont.svg +155 -155
- package/packages/formMaking/index.js +77 -77
- package/packages/formMaking/lang/en-US.js +187 -187
- package/packages/formMaking/lang/zh-CN.js +187 -187
- package/packages/formMaking/styles/cover.scss +3 -3
- package/packages/formMaking/styles/index.scss +768 -746
- package/packages/formMaking/util/index.js +32 -32
- package/packages/formMaking/util/request.js +28 -28
- package/packages/table/search.vue +46 -37
@@ -1,746 +1,768 @@
|
|
1
|
-
$primary-color: #409EFF;
|
2
|
-
$primary-background-color: #ecf5ff;
|
3
|
-
|
4
|
-
.fm-style{
|
5
|
-
height: 100%;
|
6
|
-
|
7
|
-
*, :after, :before {
|
8
|
-
-webkit-box-sizing: border-box;
|
9
|
-
-moz-box-sizing: border-box;
|
10
|
-
box-sizing: border-box;
|
11
|
-
}
|
12
|
-
|
13
|
-
.fa-icon{
|
14
|
-
width: auto;
|
15
|
-
height: 1em; /* 或任意其它字体大小相对值 */
|
16
|
-
|
17
|
-
/* 要在 Safari 中正常工作,需要再引入如下两行代码 */
|
18
|
-
max-width: 100%;
|
19
|
-
max-height: 100%;
|
20
|
-
vertical-align: middle;
|
21
|
-
}
|
22
|
-
|
23
|
-
.fm2-container{
|
24
|
-
background: #fff;
|
25
|
-
height: 100%;
|
26
|
-
border: 1px solid #e0e0e0;
|
27
|
-
|
28
|
-
.el-container{
|
29
|
-
height: 100% !important;
|
30
|
-
}
|
31
|
-
|
32
|
-
&>.el-container{
|
33
|
-
background: #fff;
|
34
|
-
}
|
35
|
-
.fm2-main{
|
36
|
-
position: relative;
|
37
|
-
|
38
|
-
&>.el-container{
|
39
|
-
position: absolute;
|
40
|
-
top: 0;
|
41
|
-
bottom: 0;
|
42
|
-
left: 0;
|
43
|
-
right: 0;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
main{
|
47
|
-
padding: 0;
|
48
|
-
}
|
49
|
-
|
50
|
-
footer{
|
51
|
-
height: 30px;
|
52
|
-
line-height: 30px;
|
53
|
-
border-top: 1px solid #e0e0e0;
|
54
|
-
font-size: 12px;
|
55
|
-
text-align: right;
|
56
|
-
color: $primary-color;
|
57
|
-
background: #fafafa;
|
58
|
-
|
59
|
-
a{
|
60
|
-
color: $primary-color;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
.center-container{
|
66
|
-
border-left: 1px solid #e0e0e0;
|
67
|
-
border-right: 1px solid #e0e0e0;
|
68
|
-
|
69
|
-
.btn-bar{
|
70
|
-
height: 45px;
|
71
|
-
line-height: 45px;
|
72
|
-
font-size: 18px;
|
73
|
-
border-bottom: solid 2px #e4e7ed;
|
74
|
-
text-align: right;
|
75
|
-
}
|
76
|
-
|
77
|
-
.el-main{
|
78
|
-
padding: 0;
|
79
|
-
position: relative;
|
80
|
-
background: #fafafa;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
.components-list{
|
85
|
-
padding: 8px 0;
|
86
|
-
width: 100%;
|
87
|
-
height: 100%;
|
88
|
-
|
89
|
-
.widget-cate{
|
90
|
-
padding: 8px 12px;
|
91
|
-
font-size: 13px;
|
92
|
-
}
|
93
|
-
|
94
|
-
ul{
|
95
|
-
position: relative;
|
96
|
-
overflow: hidden;
|
97
|
-
padding: 0 10px 10px;
|
98
|
-
margin: 0;
|
99
|
-
}
|
100
|
-
|
101
|
-
.form-edit-widget-label{
|
102
|
-
font-size: 12px;
|
103
|
-
display: block;
|
104
|
-
width: 48%;
|
105
|
-
line-height: 26px;
|
106
|
-
position: relative;
|
107
|
-
float: left;
|
108
|
-
left: 0;
|
109
|
-
overflow: hidden;
|
110
|
-
text-overflow: ellipsis;
|
111
|
-
white-space: nowrap;
|
112
|
-
margin: 1%;
|
113
|
-
color: #333;
|
114
|
-
border: 1px solid #F4F6FC;
|
115
|
-
|
116
|
-
&:hover{
|
117
|
-
color: $primary-color;
|
118
|
-
border: 1px dashed $primary-color;
|
119
|
-
}
|
120
|
-
|
121
|
-
&>a{
|
122
|
-
display: block;
|
123
|
-
cursor: move;
|
124
|
-
background: #F4F6FC;
|
125
|
-
border: 1px solid #F4F6FC;
|
126
|
-
|
127
|
-
.icon{
|
128
|
-
margin-right: 6px;
|
129
|
-
margin-left: 8px;
|
130
|
-
font-size: 14px;
|
131
|
-
display: inline-block;
|
132
|
-
vertical-align: middle;
|
133
|
-
}
|
134
|
-
|
135
|
-
span{
|
136
|
-
display: inline-block;
|
137
|
-
vertical-align: middle;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
.widget-form-container{
|
144
|
-
position: absolute;
|
145
|
-
top: 0;
|
146
|
-
left: 0;
|
147
|
-
right: 0;
|
148
|
-
bottom: 0;
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
.widget-form-list{
|
153
|
-
background: #fff;
|
154
|
-
// border: 1px dashed #999;
|
155
|
-
border: 1px dashed #999;
|
156
|
-
min-height: 600px;
|
157
|
-
margin: 10px;
|
158
|
-
|
159
|
-
.widget-col-list{
|
160
|
-
min-height: 50px;
|
161
|
-
border: 1px dashed #ccc;
|
162
|
-
background: #fff;
|
163
|
-
}
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
}
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
}
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
outline-offset: -1px;
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
}
|
486
|
-
}
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
outline
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
}
|
609
|
-
|
610
|
-
.
|
611
|
-
background: #
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
}
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
1
|
+
$primary-color: #409EFF;
|
2
|
+
$primary-background-color: #ecf5ff;
|
3
|
+
|
4
|
+
.fm-style{
|
5
|
+
height: 100%;
|
6
|
+
|
7
|
+
*, :after, :before {
|
8
|
+
-webkit-box-sizing: border-box;
|
9
|
+
-moz-box-sizing: border-box;
|
10
|
+
box-sizing: border-box;
|
11
|
+
}
|
12
|
+
|
13
|
+
.fa-icon{
|
14
|
+
width: auto;
|
15
|
+
height: 1em; /* 或任意其它字体大小相对值 */
|
16
|
+
|
17
|
+
/* 要在 Safari 中正常工作,需要再引入如下两行代码 */
|
18
|
+
max-width: 100%;
|
19
|
+
max-height: 100%;
|
20
|
+
vertical-align: middle;
|
21
|
+
}
|
22
|
+
|
23
|
+
.fm2-container{
|
24
|
+
background: #fff;
|
25
|
+
height: 100%;
|
26
|
+
border: 1px solid #e0e0e0;
|
27
|
+
|
28
|
+
.el-container{
|
29
|
+
height: 100% !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
&>.el-container{
|
33
|
+
background: #fff;
|
34
|
+
}
|
35
|
+
.fm2-main{
|
36
|
+
position: relative;
|
37
|
+
|
38
|
+
&>.el-container{
|
39
|
+
position: absolute;
|
40
|
+
top: 0;
|
41
|
+
bottom: 0;
|
42
|
+
left: 0;
|
43
|
+
right: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
main{
|
47
|
+
padding: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
footer{
|
51
|
+
height: 30px;
|
52
|
+
line-height: 30px;
|
53
|
+
border-top: 1px solid #e0e0e0;
|
54
|
+
font-size: 12px;
|
55
|
+
text-align: right;
|
56
|
+
color: $primary-color;
|
57
|
+
background: #fafafa;
|
58
|
+
|
59
|
+
a{
|
60
|
+
color: $primary-color;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.center-container{
|
66
|
+
border-left: 1px solid #e0e0e0;
|
67
|
+
border-right: 1px solid #e0e0e0;
|
68
|
+
|
69
|
+
.btn-bar{
|
70
|
+
height: 45px;
|
71
|
+
line-height: 45px;
|
72
|
+
font-size: 18px;
|
73
|
+
border-bottom: solid 2px #e4e7ed;
|
74
|
+
text-align: right;
|
75
|
+
}
|
76
|
+
|
77
|
+
.el-main{
|
78
|
+
padding: 0;
|
79
|
+
position: relative;
|
80
|
+
background: #fafafa;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.components-list{
|
85
|
+
padding: 8px 0;
|
86
|
+
width: 100%;
|
87
|
+
height: 100%;
|
88
|
+
|
89
|
+
.widget-cate{
|
90
|
+
padding: 8px 12px;
|
91
|
+
font-size: 13px;
|
92
|
+
}
|
93
|
+
|
94
|
+
ul{
|
95
|
+
position: relative;
|
96
|
+
overflow: hidden;
|
97
|
+
padding: 0 10px 10px;
|
98
|
+
margin: 0;
|
99
|
+
}
|
100
|
+
|
101
|
+
.form-edit-widget-label{
|
102
|
+
font-size: 12px;
|
103
|
+
display: block;
|
104
|
+
width: 48%;
|
105
|
+
line-height: 26px;
|
106
|
+
position: relative;
|
107
|
+
float: left;
|
108
|
+
left: 0;
|
109
|
+
overflow: hidden;
|
110
|
+
text-overflow: ellipsis;
|
111
|
+
white-space: nowrap;
|
112
|
+
margin: 1%;
|
113
|
+
color: #333;
|
114
|
+
border: 1px solid #F4F6FC;
|
115
|
+
|
116
|
+
&:hover{
|
117
|
+
color: $primary-color;
|
118
|
+
border: 1px dashed $primary-color;
|
119
|
+
}
|
120
|
+
|
121
|
+
&>a{
|
122
|
+
display: block;
|
123
|
+
cursor: move;
|
124
|
+
background: #F4F6FC;
|
125
|
+
border: 1px solid #F4F6FC;
|
126
|
+
|
127
|
+
.icon{
|
128
|
+
margin-right: 6px;
|
129
|
+
margin-left: 8px;
|
130
|
+
font-size: 14px;
|
131
|
+
display: inline-block;
|
132
|
+
vertical-align: middle;
|
133
|
+
}
|
134
|
+
|
135
|
+
span{
|
136
|
+
display: inline-block;
|
137
|
+
vertical-align: middle;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.widget-form-container{
|
144
|
+
position: absolute;
|
145
|
+
top: 0;
|
146
|
+
left: 0;
|
147
|
+
right: 0;
|
148
|
+
bottom: 0;
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
.widget-form-list{
|
153
|
+
background: #fff;
|
154
|
+
// border: 1px dashed #999;
|
155
|
+
border: 1px dashed #999;
|
156
|
+
min-height: 600px;
|
157
|
+
margin: 10px;
|
158
|
+
|
159
|
+
.widget-col-list{
|
160
|
+
min-height: 50px;
|
161
|
+
border: 1px dashed #ccc;
|
162
|
+
background: #fff;
|
163
|
+
}
|
164
|
+
.widget-table-list {
|
165
|
+
display: -webkit-box;
|
166
|
+
min-height: 50px;
|
167
|
+
border: 1px dashed #ccc;
|
168
|
+
background: #fff;
|
169
|
+
white-space: nowrap;
|
170
|
+
overflow-x: scroll;
|
171
|
+
.widget-table-list-item {
|
172
|
+
display: inline-block;
|
173
|
+
width: 230px;
|
174
|
+
border: 1px dashed #ccc;
|
175
|
+
vertical-align: top;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
.widget-table-list:hover::-webkit-scrollbar-thumb {
|
179
|
+
background-color: rgba(69, 90, 100, 0.2);
|
180
|
+
}
|
181
|
+
|
182
|
+
.widget-view{
|
183
|
+
padding-bottom: 18px;
|
184
|
+
position: relative;
|
185
|
+
border: 1px dashed rgba(170,170,170,0.7);
|
186
|
+
background-color: rgba(236, 245, 255, .3);
|
187
|
+
margin: 2px;
|
188
|
+
|
189
|
+
.el-form-item__content{
|
190
|
+
position: unset;
|
191
|
+
}
|
192
|
+
|
193
|
+
&.is_req{
|
194
|
+
.el-form-item__label::before{
|
195
|
+
content: '*';
|
196
|
+
color: #f56c6c;
|
197
|
+
margin-right: 4px;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
.widget-view-description{
|
202
|
+
height: 15px;
|
203
|
+
line-height: 15px;
|
204
|
+
font-size:13px;
|
205
|
+
margin-top: 6px;
|
206
|
+
color:#909399;
|
207
|
+
}
|
208
|
+
|
209
|
+
.widget-view-action{
|
210
|
+
position: absolute;
|
211
|
+
right: 0;
|
212
|
+
bottom: 0;
|
213
|
+
height: 28px;
|
214
|
+
line-height: 28px;
|
215
|
+
background: $primary-color;
|
216
|
+
z-index: 9;
|
217
|
+
|
218
|
+
i{
|
219
|
+
font-size: 14px;
|
220
|
+
color: #fff;
|
221
|
+
margin: 0 5px;
|
222
|
+
cursor: pointer;
|
223
|
+
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
.widget-view-drag{
|
228
|
+
position: absolute;
|
229
|
+
left: -2px;
|
230
|
+
top: -2px;
|
231
|
+
bottom: -18px;
|
232
|
+
height: 28px;
|
233
|
+
line-height: 28px;
|
234
|
+
background: $primary-color;
|
235
|
+
z-index: 9;
|
236
|
+
// display: none;
|
237
|
+
|
238
|
+
i{
|
239
|
+
font-size: 14px;
|
240
|
+
color: #fff;
|
241
|
+
margin: 0 5px;
|
242
|
+
cursor: move;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
// &:after{
|
247
|
+
// position: absolute;
|
248
|
+
// left: 0;
|
249
|
+
// right: 0;
|
250
|
+
// top: 0;
|
251
|
+
// bottom: 0;
|
252
|
+
// display: block;
|
253
|
+
// }
|
254
|
+
|
255
|
+
&:hover{
|
256
|
+
background: $primary-background-color;
|
257
|
+
outline: 1px solid $primary-color;
|
258
|
+
outline-offset: 0px;
|
259
|
+
|
260
|
+
&.active{
|
261
|
+
outline: 2px solid $primary-color;
|
262
|
+
border: 1px solid $primary-color;
|
263
|
+
outline-offset: 0;
|
264
|
+
}
|
265
|
+
|
266
|
+
.widget-view-drag{
|
267
|
+
display: block;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
&.active{
|
272
|
+
outline: 2px solid $primary-color;
|
273
|
+
border: 1px solid $primary-color;
|
274
|
+
}
|
275
|
+
|
276
|
+
&.ghost{
|
277
|
+
background: #F56C6C;
|
278
|
+
border: 2px solid #F56C6C;
|
279
|
+
outline-width: 0;
|
280
|
+
height: 3px;
|
281
|
+
box-sizing: border-box;
|
282
|
+
font-size: 0;
|
283
|
+
content: '';
|
284
|
+
overflow: hidden;
|
285
|
+
padding: 0;
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
.widget-table{
|
290
|
+
padding-bottom: 0;
|
291
|
+
padding: 5px;
|
292
|
+
background-color: rgba(253,246,236, .3);
|
293
|
+
|
294
|
+
.widget-table-wrapper{
|
295
|
+
min-height: 50px;
|
296
|
+
background: #fff;
|
297
|
+
display: flex;
|
298
|
+
justify-content: flex-start;
|
299
|
+
|
300
|
+
.widget-table-row{
|
301
|
+
td{
|
302
|
+
border-bottom: 0;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
.widget-table-left{
|
307
|
+
width: 51px;
|
308
|
+
border-left: 1px solid #EBEEF5;
|
309
|
+
border-right: 1px solid #EBEEF5;
|
310
|
+
border-top: 1px solid #EBEEF5;
|
311
|
+
flex: none;
|
312
|
+
}
|
313
|
+
|
314
|
+
.widget-table-view{
|
315
|
+
border: 1px solid #EBEEF5;
|
316
|
+
width: 200px;
|
317
|
+
float: left;
|
318
|
+
height: 100%;
|
319
|
+
position: relative;
|
320
|
+
display: block;
|
321
|
+
|
322
|
+
.el-table{
|
323
|
+
height: 100%;
|
324
|
+
}
|
325
|
+
|
326
|
+
&.is_req{
|
327
|
+
.el-form-item__label::before{
|
328
|
+
content: '*';
|
329
|
+
color: #f56c6c;
|
330
|
+
margin-right: 4px;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
.widget-view-description{
|
335
|
+
height: 15px;
|
336
|
+
line-height: 15px;
|
337
|
+
font-size:13px;
|
338
|
+
margin-top: 6px;
|
339
|
+
color:#909399;
|
340
|
+
}
|
341
|
+
|
342
|
+
.widget-view-action{
|
343
|
+
position: absolute;
|
344
|
+
right: 0;
|
345
|
+
bottom: 0;
|
346
|
+
height: 28px;
|
347
|
+
line-height: 28px;
|
348
|
+
background: $primary-color;
|
349
|
+
z-index: 9;
|
350
|
+
|
351
|
+
i{
|
352
|
+
font-size: 14px;
|
353
|
+
color: #fff;
|
354
|
+
margin: 0 5px;
|
355
|
+
cursor: pointer;
|
356
|
+
|
357
|
+
}
|
358
|
+
}
|
359
|
+
|
360
|
+
.widget-view-drag{
|
361
|
+
position: absolute;
|
362
|
+
left: -2px;
|
363
|
+
top: -2px;
|
364
|
+
bottom: -18px;
|
365
|
+
height: 28px;
|
366
|
+
line-height: 28px;
|
367
|
+
background: $primary-color;
|
368
|
+
z-index: 9;
|
369
|
+
// display: none;
|
370
|
+
|
371
|
+
i{
|
372
|
+
font-size: 14px;
|
373
|
+
color: #fff;
|
374
|
+
margin: 0 5px;
|
375
|
+
cursor: move;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
&::after{
|
380
|
+
position: absolute;
|
381
|
+
left: 0;
|
382
|
+
right: 0;
|
383
|
+
top: 0;
|
384
|
+
bottom: 0;
|
385
|
+
display: block;
|
386
|
+
content: '';
|
387
|
+
}
|
388
|
+
|
389
|
+
&::before{
|
390
|
+
display: none;
|
391
|
+
}
|
392
|
+
|
393
|
+
&:hover{
|
394
|
+
background: $primary-background-color;
|
395
|
+
outline: 1px solid $primary-color;
|
396
|
+
outline-offset: -1px;
|
397
|
+
|
398
|
+
&.active{
|
399
|
+
// outline: 1px solid $primary-color;
|
400
|
+
border: 1px solid $primary-color;
|
401
|
+
outline: 1px solid $primary-color;
|
402
|
+
outline-offset: -1px;
|
403
|
+
}
|
404
|
+
|
405
|
+
.widget-view-drag{
|
406
|
+
display: block;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
|
410
|
+
&.active{
|
411
|
+
outline: 1px solid $primary-color;
|
412
|
+
border: 1px solid $primary-color;
|
413
|
+
outline-offset: -1px;
|
414
|
+
}
|
415
|
+
|
416
|
+
&.ghost{
|
417
|
+
background: #F56C6C;
|
418
|
+
outline-width: 0;
|
419
|
+
width: 5px !important;
|
420
|
+
box-sizing: border-box;
|
421
|
+
font-size: 0;
|
422
|
+
content: '';
|
423
|
+
overflow: hidden;
|
424
|
+
padding: 0;
|
425
|
+
position: relative;
|
426
|
+
outline: none !important;
|
427
|
+
border: 0 !important;
|
428
|
+
|
429
|
+
&::after{
|
430
|
+
background: #F56C6C;
|
431
|
+
position: absolute;
|
432
|
+
top: 0;
|
433
|
+
left: 0;
|
434
|
+
bottom: 0;
|
435
|
+
right: 0;
|
436
|
+
z-index: 9999;
|
437
|
+
content: '';
|
438
|
+
outline: none;
|
439
|
+
}
|
440
|
+
}
|
441
|
+
}
|
442
|
+
|
443
|
+
.widget-table-content{
|
444
|
+
width:100%;
|
445
|
+
// border: 1px dashed #ccc;
|
446
|
+
outline: 1px dashed #ccc;
|
447
|
+
background: #fff;
|
448
|
+
flex:1;
|
449
|
+
margin: 0 1px;
|
450
|
+
overflow: auto;
|
451
|
+
|
452
|
+
&>div{
|
453
|
+
height: 100%;
|
454
|
+
}
|
455
|
+
|
456
|
+
.widget-table-col{
|
457
|
+
height: 100%;
|
458
|
+
|
459
|
+
.ghost{
|
460
|
+
background: #F56C6C;
|
461
|
+
// border: 2px solid #F56C6C;
|
462
|
+
position: relative;
|
463
|
+
content: '';
|
464
|
+
float: left;
|
465
|
+
height: 100%;
|
466
|
+
width: 5px !important;
|
467
|
+
list-style: none;
|
468
|
+
font-size: 0;
|
469
|
+
overflow: hidden;
|
470
|
+
outline: none;
|
471
|
+
|
472
|
+
&::after{
|
473
|
+
background: #F56C6C;
|
474
|
+
position: absolute;
|
475
|
+
top: 0;
|
476
|
+
left: 0;
|
477
|
+
bottom: 0;
|
478
|
+
right: 0;
|
479
|
+
z-index: 9999;
|
480
|
+
content: '';
|
481
|
+
outline: none;
|
482
|
+
}
|
483
|
+
}
|
484
|
+
}
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
&.active{
|
489
|
+
outline: 2px solid #e6a23c;
|
490
|
+
border: 1px solid #e6a23c;
|
491
|
+
}
|
492
|
+
|
493
|
+
&:hover{
|
494
|
+
background: #fdf6ec;
|
495
|
+
outline: 1px solid #e6a23c;
|
496
|
+
outline-offset: 0px;
|
497
|
+
|
498
|
+
&.active{
|
499
|
+
outline: 2px solid #e6a23c;
|
500
|
+
border: 1px solid #e6a23c;
|
501
|
+
outline-offset: 0;
|
502
|
+
}
|
503
|
+
}
|
504
|
+
|
505
|
+
.widget-view-action.widget-col-action{
|
506
|
+
background: #e6a23c;
|
507
|
+
}
|
508
|
+
|
509
|
+
.widget-view-drag.widget-col-drag{
|
510
|
+
background: #e6a23c;
|
511
|
+
}
|
512
|
+
|
513
|
+
&::after{
|
514
|
+
display: none;
|
515
|
+
}
|
516
|
+
|
517
|
+
&.ghost{
|
518
|
+
background: #F56C6C;
|
519
|
+
outline-width: 0;
|
520
|
+
height: 5px;
|
521
|
+
box-sizing: border-box;
|
522
|
+
font-size: 0;
|
523
|
+
content: '';
|
524
|
+
overflow: hidden;
|
525
|
+
padding: 0;
|
526
|
+
position: relative;
|
527
|
+
outline: none;
|
528
|
+
border: 0;
|
529
|
+
|
530
|
+
&::after{
|
531
|
+
background: #F56C6C;
|
532
|
+
position: absolute;
|
533
|
+
top:0;
|
534
|
+
left: 0;
|
535
|
+
right: 0;
|
536
|
+
bottom: 0;
|
537
|
+
content: '';
|
538
|
+
display: block;
|
539
|
+
z-index: 999;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
}
|
543
|
+
|
544
|
+
.widget-col{
|
545
|
+
padding-bottom: 0;
|
546
|
+
padding: 5px;
|
547
|
+
// margin-left: 2px !important;
|
548
|
+
// margin-right: 2px !important;
|
549
|
+
background-color: rgba(253,246,236, .3);
|
550
|
+
|
551
|
+
&.active{
|
552
|
+
outline: 2px solid #e6a23c;
|
553
|
+
border: 1px solid #e6a23c;
|
554
|
+
}
|
555
|
+
|
556
|
+
&:hover{
|
557
|
+
background: #fdf6ec;
|
558
|
+
outline: 1px solid #e6a23c;
|
559
|
+
outline-offset: 0px;
|
560
|
+
|
561
|
+
&.active{
|
562
|
+
outline: 2px solid #e6a23c;
|
563
|
+
border: 1px solid #e6a23c;
|
564
|
+
outline-offset: 0;
|
565
|
+
}
|
566
|
+
}
|
567
|
+
|
568
|
+
.el-col{
|
569
|
+
min-height: 50px;
|
570
|
+
}
|
571
|
+
|
572
|
+
&.ghost{
|
573
|
+
background: #F56C6C;
|
574
|
+
border: 2px solid #F56C6C;
|
575
|
+
outline-width: 0;
|
576
|
+
height: 3px;
|
577
|
+
box-sizing: border-box;
|
578
|
+
font-size: 0;
|
579
|
+
content: '';
|
580
|
+
overflow: hidden;
|
581
|
+
padding: 0;
|
582
|
+
}
|
583
|
+
|
584
|
+
.widget-view-action.widget-col-action{
|
585
|
+
background: #e6a23c;
|
586
|
+
}
|
587
|
+
|
588
|
+
.widget-view-drag.widget-col-drag{
|
589
|
+
background: #e6a23c;
|
590
|
+
}
|
591
|
+
|
592
|
+
&::after{
|
593
|
+
display: none;
|
594
|
+
}
|
595
|
+
}
|
596
|
+
|
597
|
+
.ghost{
|
598
|
+
background: #F56C6C;
|
599
|
+
border: 2px solid #F56C6C;
|
600
|
+
outline-width: 0;
|
601
|
+
height: 3px;
|
602
|
+
box-sizing: border-box;
|
603
|
+
font-size: 0;
|
604
|
+
content: '';
|
605
|
+
overflow: hidden;
|
606
|
+
padding: 0;
|
607
|
+
}
|
608
|
+
}
|
609
|
+
|
610
|
+
.ghost{
|
611
|
+
background: #F56C6C;
|
612
|
+
border: 2px solid #F56C6C;
|
613
|
+
position: relative;
|
614
|
+
|
615
|
+
&::after{
|
616
|
+
background: #F56C6C;
|
617
|
+
}
|
618
|
+
}
|
619
|
+
|
620
|
+
li.ghost{
|
621
|
+
height: 5px;
|
622
|
+
list-style: none;
|
623
|
+
font-size: 0;
|
624
|
+
overflow: hidden;
|
625
|
+
}
|
626
|
+
|
627
|
+
.widget-grid{
|
628
|
+
background: #F4F6FC;
|
629
|
+
position: relative;
|
630
|
+
border-left: 5px solid transparent;
|
631
|
+
padding: 5px;
|
632
|
+
margin: 0 !important;
|
633
|
+
|
634
|
+
&.active{
|
635
|
+
border-left: 5px solid $primary-color;
|
636
|
+
background: #b3d8ff;
|
637
|
+
}
|
638
|
+
}
|
639
|
+
|
640
|
+
.widget-grid-container{
|
641
|
+
&.ghost{
|
642
|
+
background: #F56C6C;
|
643
|
+
border: 2px solid #F56C6C;
|
644
|
+
outline-width: 0;
|
645
|
+
height: 3px;
|
646
|
+
box-sizing: border-box;
|
647
|
+
font-size: 0;
|
648
|
+
content: '';
|
649
|
+
overflow: hidden;
|
650
|
+
padding: 0;
|
651
|
+
}
|
652
|
+
}
|
653
|
+
|
654
|
+
.ghost{
|
655
|
+
background: #F56C6C;
|
656
|
+
border: 2px solid #F56C6C;
|
657
|
+
position: relative;
|
658
|
+
|
659
|
+
&::after{
|
660
|
+
background: #F56C6C;
|
661
|
+
}
|
662
|
+
}
|
663
|
+
|
664
|
+
li.ghost{
|
665
|
+
height: 5px;
|
666
|
+
list-style: none;
|
667
|
+
font-size: 0;
|
668
|
+
overflow: hidden;
|
669
|
+
}
|
670
|
+
}
|
671
|
+
|
672
|
+
.widget-config-container{
|
673
|
+
position: relative;
|
674
|
+
|
675
|
+
.el-header{
|
676
|
+
border-bottom: solid 2px #e4e7ed;
|
677
|
+
padding: 0 2px;
|
678
|
+
}
|
679
|
+
|
680
|
+
.config-tab{
|
681
|
+
height: 45px;
|
682
|
+
line-height: 45px;
|
683
|
+
display: inline-block;
|
684
|
+
width: 145px;
|
685
|
+
text-align: center;
|
686
|
+
font-size: 14px;
|
687
|
+
font-weight: 500;
|
688
|
+
position: relative;
|
689
|
+
cursor: pointer;
|
690
|
+
|
691
|
+
&.active{
|
692
|
+
border-bottom: solid 2px $primary-color;
|
693
|
+
}
|
694
|
+
}
|
695
|
+
|
696
|
+
.config-content{
|
697
|
+
padding: 10px;
|
698
|
+
|
699
|
+
.el-form-item__label{
|
700
|
+
padding: 0;
|
701
|
+
font-weight: 500;
|
702
|
+
}
|
703
|
+
|
704
|
+
.el-form-item {
|
705
|
+
border-bottom: solid 1px #e1e1e1;
|
706
|
+
padding-bottom: 10px;
|
707
|
+
}
|
708
|
+
|
709
|
+
.config-pattern-input{
|
710
|
+
.el-input-group__prepend,.el-input-group__append{
|
711
|
+
padding: 0 8px;
|
712
|
+
}
|
713
|
+
}
|
714
|
+
}
|
715
|
+
|
716
|
+
.ghost{
|
717
|
+
background: #fff;
|
718
|
+
border: 1px dashed $primary-color;
|
719
|
+
|
720
|
+
&::after{
|
721
|
+
background: #fff;
|
722
|
+
display: block;
|
723
|
+
content: '';
|
724
|
+
position: absolute;
|
725
|
+
top: 0;
|
726
|
+
left: 0;
|
727
|
+
right: 0;
|
728
|
+
bottom: 0;
|
729
|
+
}
|
730
|
+
}
|
731
|
+
|
732
|
+
ul{
|
733
|
+
margin: 0;
|
734
|
+
padding: 0;
|
735
|
+
}
|
736
|
+
|
737
|
+
li.ghost{
|
738
|
+
list-style: none;
|
739
|
+
font-size: 0;
|
740
|
+
display: block;
|
741
|
+
position: relative;
|
742
|
+
}
|
743
|
+
}
|
744
|
+
|
745
|
+
.viewer-container{
|
746
|
+
z-index: 99999 !important;
|
747
|
+
}
|
748
|
+
|
749
|
+
.form-empty{
|
750
|
+
position: absolute;
|
751
|
+
text-align: center;
|
752
|
+
width: 300px;
|
753
|
+
font-size: 20px;
|
754
|
+
top: 200px;
|
755
|
+
left: 50%;
|
756
|
+
margin-left: -150px;
|
757
|
+
color: #ccc;
|
758
|
+
}
|
759
|
+
|
760
|
+
.widget-empty{
|
761
|
+
background-position: 50%;
|
762
|
+
}
|
763
|
+
|
764
|
+
.widget-divider {
|
765
|
+
display: flex;
|
766
|
+
align-items: center;
|
767
|
+
}
|
768
|
+
}
|