cnhis-design-vue 3.0.3 → 3.0.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.
- package/CHANGELOG.md +22 -0
- package/env.d.ts +0 -2
- package/es/big-table/index.css +12 -206
- package/es/big-table/index.js +130 -502
- package/es/button-print/index.css +12 -206
- package/es/button-print/index.js +30 -128
- package/es/drag-layout/index.css +12 -206
- package/es/field-set/index.css +1044 -0
- package/es/field-set/index.js +351 -0
- package/es/grid/index.css +252 -248
- package/es/index.css +40 -36
- package/es/index.js +145 -274
- package/package.json +1 -1
- package/packages/big-table/index.ts +0 -5
- package/packages/big-table/src/BigTable.vue +9 -13
- 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/big-table/src/bigTableEmits.ts +1 -2
- package/packages/big-table/src/components/edit-form/edit-date.vue +42 -0
- package/packages/big-table/src/components/edit-form/edit-input.vue +2 -2
- package/packages/big-table/src/components/edit-form/edit-select.vue +12 -3
- package/packages/big-table/src/hooks/useEdit.ts +3 -3
- package/packages/button-print/src/ButtonPrint.vue +39 -128
- 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/es/drag-layout/index.css
CHANGED
|
@@ -1,201 +1,3 @@
|
|
|
1
|
-
ul[data-v-5cd39776] {
|
|
2
|
-
margin: 0;
|
|
3
|
-
padding: 0;
|
|
4
|
-
}
|
|
5
|
-
.fields-set-content[data-v-5cd39776] {
|
|
6
|
-
height: 100%;
|
|
7
|
-
display: -webkit-box;
|
|
8
|
-
display: -webkit-flex;
|
|
9
|
-
display: -ms-flexbox;
|
|
10
|
-
display: flex;
|
|
11
|
-
-webkit-box-orient: vertical;
|
|
12
|
-
-webkit-box-direction: normal;
|
|
13
|
-
-webkit-flex-direction: column;
|
|
14
|
-
-ms-flex-direction: column;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
.fields-set-content[data-v-5cd39776] .fields-table[data-v-5cd39776] {
|
|
19
|
-
-webkit-box-flex: 1;
|
|
20
|
-
-webkit-flex: 1;
|
|
21
|
-
-ms-flex: 1;
|
|
22
|
-
flex: 1;
|
|
23
|
-
display: -webkit-box;
|
|
24
|
-
display: -webkit-flex;
|
|
25
|
-
display: -ms-flexbox;
|
|
26
|
-
display: flex;
|
|
27
|
-
-webkit-box-orient: vertical;
|
|
28
|
-
-webkit-box-direction: normal;
|
|
29
|
-
-webkit-flex-direction: column;
|
|
30
|
-
-ms-flex-direction: column;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
overflow: auto;
|
|
33
|
-
}
|
|
34
|
-
.setting-view[data-v-5cd39776] {
|
|
35
|
-
height: 100%;
|
|
36
|
-
position: relative;
|
|
37
|
-
}
|
|
38
|
-
.setting-view[data-v-5cd39776] [data-v-5cd39776] .n-spin-container {
|
|
39
|
-
width: 100%;
|
|
40
|
-
height: 100%;
|
|
41
|
-
}
|
|
42
|
-
.setting-view[data-v-5cd39776] [data-v-5cd39776] .n-spin-content {
|
|
43
|
-
height: 100%;
|
|
44
|
-
}
|
|
45
|
-
.setting-view[data-v-5cd39776] .setting-title[data-v-5cd39776] {
|
|
46
|
-
background: #f2f2f4;
|
|
47
|
-
border: 1px solid #f2f2f2;
|
|
48
|
-
height: 52px;
|
|
49
|
-
line-height: 52px;
|
|
50
|
-
}
|
|
51
|
-
.setting-view[data-v-5cd39776] .setting-title[data-v-5cd39776] span[data-v-5cd39776] {
|
|
52
|
-
display: inline-block;
|
|
53
|
-
}
|
|
54
|
-
.setting-view[data-v-5cd39776] .setting-title[data-v-5cd39776].seting-title-api[data-v-5cd39776] .width-large[data-v-5cd39776] {
|
|
55
|
-
width: 15%;
|
|
56
|
-
}
|
|
57
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] {
|
|
58
|
-
min-height: 100px;
|
|
59
|
-
overflow-y: auto;
|
|
60
|
-
}
|
|
61
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776].set-show-api[data-v-5cd39776] .width-large[data-v-5cd39776] {
|
|
62
|
-
width: 15%;
|
|
63
|
-
}
|
|
64
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .left-style.sortable-chosen[data-v-5cd39776] {
|
|
65
|
-
background: #fafafa;
|
|
66
|
-
-webkit-box-shadow: 0px 0px 10px 0px #d5d5d5;
|
|
67
|
-
box-shadow: 0px 0px 10px 0px #d5d5d5;
|
|
68
|
-
}
|
|
69
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] li[data-v-5cd39776] {
|
|
70
|
-
padding: 5px 0;
|
|
71
|
-
display: -webkit-box;
|
|
72
|
-
display: -webkit-flex;
|
|
73
|
-
display: -ms-flexbox;
|
|
74
|
-
display: flex;
|
|
75
|
-
-webkit-box-align: center;
|
|
76
|
-
-webkit-align-items: center;
|
|
77
|
-
-ms-flex-align: center;
|
|
78
|
-
align-items: center;
|
|
79
|
-
border-bottom: 1px solid #e8e8e8;
|
|
80
|
-
height: 52px;
|
|
81
|
-
line-height: 52px;
|
|
82
|
-
}
|
|
83
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .alias-style[data-v-5cd39776] {
|
|
84
|
-
outline: none;
|
|
85
|
-
border-radius: 4px 4px 4px 4px;
|
|
86
|
-
border: solid 1px #d5d5d5;
|
|
87
|
-
height: 32px;
|
|
88
|
-
text-indent: 16px;
|
|
89
|
-
color: #38454f;
|
|
90
|
-
width: 100%;
|
|
91
|
-
}
|
|
92
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .is-sort-style[data-v-5cd39776] {
|
|
93
|
-
outline: none;
|
|
94
|
-
border-radius: 4px 4px 4px 4px;
|
|
95
|
-
border: solid 1px #d5d5d5;
|
|
96
|
-
height: 32px;
|
|
97
|
-
text-indent: 6px;
|
|
98
|
-
color: #38454f;
|
|
99
|
-
width: 87px;
|
|
100
|
-
margin-right: 5px;
|
|
101
|
-
}
|
|
102
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .is-sort-style[data-v-5cd39776][data-v-5cd39776]:disabled {
|
|
103
|
-
cursor: not-allowed;
|
|
104
|
-
background: #f5f5f5;
|
|
105
|
-
}
|
|
106
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .col-width-style[data-v-5cd39776] {
|
|
107
|
-
width: 70px;
|
|
108
|
-
}
|
|
109
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .title-item[data-v-5cd39776] {
|
|
110
|
-
display: -webkit-inline-box;
|
|
111
|
-
display: -webkit-inline-flex;
|
|
112
|
-
display: -ms-inline-flexbox;
|
|
113
|
-
display: inline-flex;
|
|
114
|
-
-webkit-box-pack: start;
|
|
115
|
-
-webkit-justify-content: flex-start;
|
|
116
|
-
-ms-flex-pack: start;
|
|
117
|
-
justify-content: flex-start;
|
|
118
|
-
-webkit-box-align: center;
|
|
119
|
-
-webkit-align-items: center;
|
|
120
|
-
-ms-flex-align: center;
|
|
121
|
-
align-items: center;
|
|
122
|
-
text-align: left;
|
|
123
|
-
}
|
|
124
|
-
.setting-view[data-v-5cd39776] .set-show[data-v-5cd39776] .title-item[data-v-5cd39776] > span[data-v-5cd39776] {
|
|
125
|
-
display: inline-block;
|
|
126
|
-
max-width: calc(100% - 20px);
|
|
127
|
-
overflow: hidden;
|
|
128
|
-
white-space: nowrap;
|
|
129
|
-
text-overflow: ellipsis;
|
|
130
|
-
}
|
|
131
|
-
.setting-view[data-v-5cd39776] .alias-style[data-v-5cd39776] {
|
|
132
|
-
outline: none;
|
|
133
|
-
border-radius: 4px 4px 4px 4px;
|
|
134
|
-
border: solid 1px #d4dee5;
|
|
135
|
-
height: 32px;
|
|
136
|
-
text-indent: 16px;
|
|
137
|
-
color: #38454f;
|
|
138
|
-
}
|
|
139
|
-
.setting-view[data-v-5cd39776] .btn-operate[data-v-5cd39776] {
|
|
140
|
-
border-top: 1px solid #d5d5d5;
|
|
141
|
-
padding: 12px 0 12px;
|
|
142
|
-
}
|
|
143
|
-
.setting-view[data-v-5cd39776] .width-show[data-v-5cd39776] {
|
|
144
|
-
display: inline-block;
|
|
145
|
-
width: 10%;
|
|
146
|
-
overflow: hidden;
|
|
147
|
-
white-space: nowrap;
|
|
148
|
-
text-overflow: ellipsis;
|
|
149
|
-
}
|
|
150
|
-
.setting-view[data-v-5cd39776] .drag-icon-wrap[data-v-5cd39776] {
|
|
151
|
-
width: 5% !important;
|
|
152
|
-
cursor: pointer;
|
|
153
|
-
text-align: center;
|
|
154
|
-
}
|
|
155
|
-
.setting-view[data-v-5cd39776] .width-showed[data-v-5cd39776] {
|
|
156
|
-
display: inline-block;
|
|
157
|
-
width: 15%;
|
|
158
|
-
overflow: hidden;
|
|
159
|
-
white-space: nowrap;
|
|
160
|
-
text-overflow: ellipsis;
|
|
161
|
-
}
|
|
162
|
-
.setting-view[data-v-5cd39776] .width-showed[data-v-5cd39776] select[data-v-5cd39776] {
|
|
163
|
-
width: 90% !important;
|
|
164
|
-
}
|
|
165
|
-
.setting-view[data-v-5cd39776] .width-word[data-v-5cd39776] {
|
|
166
|
-
display: inline-block;
|
|
167
|
-
width: 20%;
|
|
168
|
-
line-height: 52px;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
white-space: nowrap;
|
|
171
|
-
}
|
|
172
|
-
.setting-view[data-v-5cd39776] .width-word[data-v-5cd39776] input[data-v-5cd39776] {
|
|
173
|
-
width: 90% !important;
|
|
174
|
-
}
|
|
175
|
-
.setting-view[data-v-5cd39776] .width-large[data-v-5cd39776] {
|
|
176
|
-
display: inline-block;
|
|
177
|
-
width: 20%;
|
|
178
|
-
overflow: hidden;
|
|
179
|
-
white-space: nowrap;
|
|
180
|
-
text-overflow: ellipsis;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
.popver-content {
|
|
185
|
-
height: 400px;
|
|
186
|
-
overflow: hidden;
|
|
187
|
-
overflow-y: auto;
|
|
188
|
-
}
|
|
189
|
-
.popver-ul {
|
|
190
|
-
margin-bottom: 10px;
|
|
191
|
-
}
|
|
192
|
-
.ul-title {
|
|
193
|
-
font-size: 14px;
|
|
194
|
-
font-weight: 400;
|
|
195
|
-
color: rgba(145, 159, 190, 1);
|
|
196
|
-
line-height: 20px;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
1
|
body > .vxe-table--tooltip-wrapper {
|
|
200
2
|
display: none !important;
|
|
201
3
|
}
|
|
@@ -512,11 +314,11 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
512
314
|
width: var(--tableImageWidth);
|
|
513
315
|
}
|
|
514
316
|
|
|
317
|
+
/*
|
|
515
318
|
@font-face {
|
|
516
319
|
font-family: "iconfont";
|
|
517
|
-
/* Project id */
|
|
518
320
|
src: url('iconfont.ttf?t=1631151904509') format('truetype');
|
|
519
|
-
}
|
|
321
|
+
}*/
|
|
520
322
|
.iconfont {
|
|
521
323
|
font-family: "iconfont" !important;
|
|
522
324
|
font-size: 16px;
|
|
@@ -556,6 +358,16 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
556
358
|
overflow: hidden;
|
|
557
359
|
-webkit-transition: width 2s;
|
|
558
360
|
transition: width 2s;
|
|
361
|
+
/*
|
|
362
|
+
.sort-icon-asc {
|
|
363
|
+
background-image: url('../img/icon-asc.png');
|
|
364
|
+
}
|
|
365
|
+
*/
|
|
366
|
+
/*
|
|
367
|
+
.sort-icon-desc {
|
|
368
|
+
background-image: url('../img/icon-desc.png');
|
|
369
|
+
}
|
|
370
|
+
*/
|
|
559
371
|
}
|
|
560
372
|
.big-table-filter-wrap .sort-list {
|
|
561
373
|
margin-top: 6px;
|
|
@@ -582,18 +394,12 @@ body > .vxe-table--tooltip-wrapper {
|
|
|
582
394
|
background-size: contain;
|
|
583
395
|
display: inline-block;
|
|
584
396
|
}
|
|
585
|
-
.big-table-filter-wrap .sort-icon-asc {
|
|
586
|
-
background-image: url('../img/icon-asc.png');
|
|
587
|
-
}
|
|
588
397
|
.big-table-filter-wrap .sort-text {
|
|
589
398
|
margin-left: 11px;
|
|
590
399
|
font-size: 14px;
|
|
591
400
|
line-height: 32px;
|
|
592
401
|
color: rgba(0, 0, 0, 0.8);
|
|
593
402
|
}
|
|
594
|
-
.big-table-filter-wrap .sort-icon-desc {
|
|
595
|
-
background-image: url('../img/icon-desc.png');
|
|
596
|
-
}
|
|
597
403
|
.big-table-filter-wrap .filter-header {
|
|
598
404
|
padding: 0 13px;
|
|
599
405
|
cursor: initial;
|