cnhis-design-vue 3.0.3 → 3.0.4
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/CHANGELOG.md +12 -0
- package/env.d.ts +0 -2
- package/es/big-table/index.css +12 -206
- package/es/big-table/index.js +70 -507
- package/es/button-print/index.css +43 -237
- package/es/drag-layout/index.css +43 -237
- package/es/field-set/index.css +1044 -0
- package/es/field-set/index.js +351 -0
- package/es/grid/index.css +241 -237
- package/es/index.css +40 -36
- package/es/index.js +11 -107
- package/package.json +1 -1
- package/packages/big-table/index.ts +0 -5
- package/packages/big-table/src/BigTable.vue +1 -1
- package/packages/big-table/src/assets/iconfont/iconfont.less +3 -2
- package/packages/big-table/src/assets/style/table-global.less +4 -0
- package/packages/field-set/index.ts +15 -0
- package/packages/{big-table → field-set}/src/FieldSet.vue +0 -6
- package/packages/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.0.4](http://120.25.59.85:3000/cnhis-frontend/cnhis-design-vue/compare/v3.0.3...v3.0.4) (2022-05-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* vxe-table按需引入报错 ([4a4220d](http://120.25.59.85:3000/cnhis-frontend/cnhis-design-vue/commit/4a4220dda8e1a77f9c59996081a8c3d07d8c5917))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* field-set可按需引入 ([7eb5380](http://120.25.59.85:3000/cnhis-frontend/cnhis-design-vue/commit/7eb538007cc348a17990a6b630b153692aa98534))
|
|
16
|
+
|
|
5
17
|
### [3.0.3](http://120.25.59.85:3000/cnhis-frontend/cnhis-design-vue/compare/v3.0.2...v3.0.3) (2022-05-20)
|
|
6
18
|
|
|
7
19
|
### [3.0.2](http://120.25.59.85:3000/cnhis-frontend/cnhis-design-vue/compare/v3.0.1...v3.0.2) (2022-05-19)
|
package/env.d.ts
CHANGED
package/es/big-table/index.css
CHANGED
|
@@ -394,11 +394,11 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
394
394
|
width: var(--tableImageWidth);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
+
/*
|
|
397
398
|
@font-face {
|
|
398
399
|
font-family: "iconfont";
|
|
399
|
-
/* Project id */
|
|
400
400
|
src: url('iconfont.ttf?t=1631151904509') format('truetype');
|
|
401
|
-
}
|
|
401
|
+
}*/
|
|
402
402
|
.iconfont {
|
|
403
403
|
font-family: "iconfont" !important;
|
|
404
404
|
font-size: 16px;
|
|
@@ -438,6 +438,16 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
438
438
|
overflow: hidden;
|
|
439
439
|
-webkit-transition: width 2s;
|
|
440
440
|
transition: width 2s;
|
|
441
|
+
/*
|
|
442
|
+
.sort-icon-asc {
|
|
443
|
+
background-image: url('../img/icon-asc.png');
|
|
444
|
+
}
|
|
445
|
+
*/
|
|
446
|
+
/*
|
|
447
|
+
.sort-icon-desc {
|
|
448
|
+
background-image: url('../img/icon-desc.png');
|
|
449
|
+
}
|
|
450
|
+
*/
|
|
441
451
|
}
|
|
442
452
|
.big-table-filter-wrap .sort-list {
|
|
443
453
|
margin-top: 6px;
|
|
@@ -464,18 +474,12 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
464
474
|
background-size: contain;
|
|
465
475
|
display: inline-block;
|
|
466
476
|
}
|
|
467
|
-
.big-table-filter-wrap .sort-icon-asc {
|
|
468
|
-
background-image: url('../img/icon-asc.png');
|
|
469
|
-
}
|
|
470
477
|
.big-table-filter-wrap .sort-text {
|
|
471
478
|
margin-left: 11px;
|
|
472
479
|
font-size: 14px;
|
|
473
480
|
line-height: 32px;
|
|
474
481
|
color: rgba(0, 0, 0, 0.8);
|
|
475
482
|
}
|
|
476
|
-
.big-table-filter-wrap .sort-icon-desc {
|
|
477
|
-
background-image: url('../img/icon-desc.png');
|
|
478
|
-
}
|
|
479
483
|
.big-table-filter-wrap .filter-header {
|
|
480
484
|
padding: 0 13px;
|
|
481
485
|
cursor: initial;
|
|
@@ -581,201 +585,3 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
581
585
|
width: 25px;
|
|
582
586
|
height: 20px;
|
|
583
587
|
}
|
|
584
|
-
|
|
585
|
-
ul[data-v-5cd39776] {
|
|
586
|
-
margin: 0;
|
|
587
|
-
padding: 0;
|
|
588
|
-
}
|
|
589
|
-
.fields-set-content[data-v-5cd39776] {
|
|
590
|
-
height: 100%;
|
|
591
|
-
display: -webkit-box;
|
|
592
|
-
display: -webkit-flex;
|
|
593
|
-
display: -ms-flexbox;
|
|
594
|
-
display: flex;
|
|
595
|
-
-webkit-box-orient: vertical;
|
|
596
|
-
-webkit-box-direction: normal;
|
|
597
|
-
-webkit-flex-direction: column;
|
|
598
|
-
-ms-flex-direction: column;
|
|
599
|
-
flex-direction: column;
|
|
600
|
-
overflow: hidden;
|
|
601
|
-
}
|
|
602
|
-
.fields-set-content[data-v-5cd39776] .fields-table[data-v-5cd39776] {
|
|
603
|
-
-webkit-box-flex: 1;
|
|
604
|
-
-webkit-flex: 1;
|
|
605
|
-
-ms-flex: 1;
|
|
606
|
-
flex: 1;
|
|
607
|
-
display: -webkit-box;
|
|
608
|
-
display: -webkit-flex;
|
|
609
|
-
display: -ms-flexbox;
|
|
610
|
-
display: flex;
|
|
611
|
-
-webkit-box-orient: vertical;
|
|
612
|
-
-webkit-box-direction: normal;
|
|
613
|
-
-webkit-flex-direction: column;
|
|
614
|
-
-ms-flex-direction: column;
|
|
615
|
-
flex-direction: column;
|
|
616
|
-
overflow: auto;
|
|
617
|
-
}
|
|
618
|
-
.setting-view[data-v-5cd39776] {
|
|
619
|
-
height: 100%;
|
|
620
|
-
position: relative;
|
|
621
|
-
}
|
|
622
|
-
.setting-view[data-v-5cd39776] [data-v-5cd39776] .n-spin-container {
|
|
623
|
-
width: 100%;
|
|
624
|
-
height: 100%;
|
|
625
|
-
}
|
|
626
|
-
.setting-view[data-v-5cd39776] [data-v-5cd39776] .n-spin-content {
|
|
627
|
-
height: 100%;
|
|
628
|
-
}
|
|
629
|
-
.setting-view[data-v-5cd39776] .setting-title[data-v-5cd39776] {
|
|
630
|
-
background: #f2f2f4;
|
|
631
|
-
border: 1px solid #f2f2f2;
|
|
632
|
-
height: 52px;
|
|
633
|
-
line-height: 52px;
|
|
634
|
-
}
|
|
635
|
-
.setting-view[data-v-5cd39776] .setting-title[data-v-5cd39776] span[data-v-5cd39776] {
|
|
636
|
-
display: inline-block;
|
|
637
|
-
}
|
|
638
|
-
.setting-view[data-v-5cd39776] .setting-title[data-v-5cd39776].seting-title-api[data-v-5cd39776] .width-large[data-v-5cd39776] {
|
|
639
|
-
width: 15%;
|
|
640
|
-
}
|
|
641
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] {
|
|
642
|
-
min-height: 100px;
|
|
643
|
-
overflow-y: auto;
|
|
644
|
-
}
|
|
645
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776].set-show-api[data-v-5cd39776] .width-large[data-v-5cd39776] {
|
|
646
|
-
width: 15%;
|
|
647
|
-
}
|
|
648
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .left-style.sortable-chosen[data-v-5cd39776] {
|
|
649
|
-
background: #fafafa;
|
|
650
|
-
-webkit-box-shadow: 0px 0px 10px 0px #d5d5d5;
|
|
651
|
-
box-shadow: 0px 0px 10px 0px #d5d5d5;
|
|
652
|
-
}
|
|
653
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] li[data-v-5cd39776] {
|
|
654
|
-
padding: 5px 0;
|
|
655
|
-
display: -webkit-box;
|
|
656
|
-
display: -webkit-flex;
|
|
657
|
-
display: -ms-flexbox;
|
|
658
|
-
display: flex;
|
|
659
|
-
-webkit-box-align: center;
|
|
660
|
-
-webkit-align-items: center;
|
|
661
|
-
-ms-flex-align: center;
|
|
662
|
-
align-items: center;
|
|
663
|
-
border-bottom: 1px solid #e8e8e8;
|
|
664
|
-
height: 52px;
|
|
665
|
-
line-height: 52px;
|
|
666
|
-
}
|
|
667
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .alias-style[data-v-5cd39776] {
|
|
668
|
-
outline: none;
|
|
669
|
-
border-radius: 4px 4px 4px 4px;
|
|
670
|
-
border: solid 1px #d5d5d5;
|
|
671
|
-
height: 32px;
|
|
672
|
-
text-indent: 16px;
|
|
673
|
-
color: #38454f;
|
|
674
|
-
width: 100%;
|
|
675
|
-
}
|
|
676
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .is-sort-style[data-v-5cd39776] {
|
|
677
|
-
outline: none;
|
|
678
|
-
border-radius: 4px 4px 4px 4px;
|
|
679
|
-
border: solid 1px #d5d5d5;
|
|
680
|
-
height: 32px;
|
|
681
|
-
text-indent: 6px;
|
|
682
|
-
color: #38454f;
|
|
683
|
-
width: 87px;
|
|
684
|
-
margin-right: 5px;
|
|
685
|
-
}
|
|
686
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .is-sort-style[data-v-5cd39776][data-v-5cd39776]:disabled {
|
|
687
|
-
cursor: not-allowed;
|
|
688
|
-
background: #f5f5f5;
|
|
689
|
-
}
|
|
690
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .col-width-style[data-v-5cd39776] {
|
|
691
|
-
width: 70px;
|
|
692
|
-
}
|
|
693
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .title-item[data-v-5cd39776] {
|
|
694
|
-
display: -webkit-inline-box;
|
|
695
|
-
display: -webkit-inline-flex;
|
|
696
|
-
display: -ms-inline-flexbox;
|
|
697
|
-
display: inline-flex;
|
|
698
|
-
-webkit-box-pack: start;
|
|
699
|
-
-webkit-justify-content: flex-start;
|
|
700
|
-
-ms-flex-pack: start;
|
|
701
|
-
justify-content: flex-start;
|
|
702
|
-
-webkit-box-align: center;
|
|
703
|
-
-webkit-align-items: center;
|
|
704
|
-
-ms-flex-align: center;
|
|
705
|
-
align-items: center;
|
|
706
|
-
text-align: left;
|
|
707
|
-
}
|
|
708
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .title-item[data-v-5cd39776] > span[data-v-5cd39776] {
|
|
709
|
-
display: inline-block;
|
|
710
|
-
max-width: calc(100% - 20px);
|
|
711
|
-
overflow: hidden;
|
|
712
|
-
white-space: nowrap;
|
|
713
|
-
text-overflow: ellipsis;
|
|
714
|
-
}
|
|
715
|
-
.setting-view[data-v-5cd39776] .alias-style[data-v-5cd39776] {
|
|
716
|
-
outline: none;
|
|
717
|
-
border-radius: 4px 4px 4px 4px;
|
|
718
|
-
border: solid 1px #d4dee5;
|
|
719
|
-
height: 32px;
|
|
720
|
-
text-indent: 16px;
|
|
721
|
-
color: #38454f;
|
|
722
|
-
}
|
|
723
|
-
.setting-view[data-v-5cd39776] .btn-operate[data-v-5cd39776] {
|
|
724
|
-
border-top: 1px solid #d5d5d5;
|
|
725
|
-
padding: 12px 0 12px;
|
|
726
|
-
}
|
|
727
|
-
.setting-view[data-v-5cd39776] .width-show[data-v-5cd39776] {
|
|
728
|
-
display: inline-block;
|
|
729
|
-
width: 10%;
|
|
730
|
-
overflow: hidden;
|
|
731
|
-
white-space: nowrap;
|
|
732
|
-
text-overflow: ellipsis;
|
|
733
|
-
}
|
|
734
|
-
.setting-view[data-v-5cd39776] .drag-icon-wrap[data-v-5cd39776] {
|
|
735
|
-
width: 5% !important;
|
|
736
|
-
cursor: pointer;
|
|
737
|
-
text-align: center;
|
|
738
|
-
}
|
|
739
|
-
.setting-view[data-v-5cd39776] .width-showed[data-v-5cd39776] {
|
|
740
|
-
display: inline-block;
|
|
741
|
-
width: 15%;
|
|
742
|
-
overflow: hidden;
|
|
743
|
-
white-space: nowrap;
|
|
744
|
-
text-overflow: ellipsis;
|
|
745
|
-
}
|
|
746
|
-
.setting-view[data-v-5cd39776] .width-showed[data-v-5cd39776] select[data-v-5cd39776] {
|
|
747
|
-
width: 90% !important;
|
|
748
|
-
}
|
|
749
|
-
.setting-view[data-v-5cd39776] .width-word[data-v-5cd39776] {
|
|
750
|
-
display: inline-block;
|
|
751
|
-
width: 20%;
|
|
752
|
-
line-height: 52px;
|
|
753
|
-
overflow: hidden;
|
|
754
|
-
white-space: nowrap;
|
|
755
|
-
}
|
|
756
|
-
.setting-view[data-v-5cd39776] .width-word[data-v-5cd39776] input[data-v-5cd39776] {
|
|
757
|
-
width: 90% !important;
|
|
758
|
-
}
|
|
759
|
-
.setting-view[data-v-5cd39776] .width-large[data-v-5cd39776] {
|
|
760
|
-
display: inline-block;
|
|
761
|
-
width: 20%;
|
|
762
|
-
overflow: hidden;
|
|
763
|
-
white-space: nowrap;
|
|
764
|
-
text-overflow: ellipsis;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
.popver-content {
|
|
769
|
-
height: 400px;
|
|
770
|
-
overflow: hidden;
|
|
771
|
-
overflow-y: auto;
|
|
772
|
-
}
|
|
773
|
-
.popver-ul {
|
|
774
|
-
margin-bottom: 10px;
|
|
775
|
-
}
|
|
776
|
-
.ul-title {
|
|
777
|
-
font-size: 14px;
|
|
778
|
-
font-weight: 400;
|
|
779
|
-
color: rgba(145, 159, 190, 1);
|
|
780
|
-
line-height: 20px;
|
|
781
|
-
}
|