n20-common-lib 3.0.1 → 3.0.3
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/package.json +4 -3
- package/src/assets/css/filter.scss +280 -0
- package/src/assets/css/font-icon.scss +3 -4
- package/src/assets/css/normalize.scss +6 -20
- package/src/assets/iconFont3/demo.css +539 -0
- package/src/assets/iconFont3/demo_index.html +17576 -0
- package/src/assets/iconFont3/iconfont.css +3039 -0
- package/src/assets/iconFont3/iconfont.js +1 -0
- package/src/assets/iconFont3/iconfont.json +5301 -0
- package/src/assets/iconFont3/iconfont.ttf +0 -0
- package/src/assets/iconFont3/iconfont.woff +0 -0
- package/src/assets/iconFont3/iconfont.woff2 +0 -0
- package/src/components/AdvancedFilter/index.vue +163 -43
- package/src/components/ApprovalButtons/index.vue +2 -0
- package/src/components/ApprovalButtons/showOtherAttrNew.vue +34 -5
- package/src/components/HandlingAdvice/index.vue +2 -2
- package/src/components/InputNumber/index.vue +9 -16
- package/src/components/ProFilterView/advancedQuery.vue +518 -0
- package/src/components/ProFilterView/find.svg +3 -0
- package/src/components/ProFilterView/inbox.svg +3 -0
- package/src/components/ProFilterView/index.vue +511 -0
- package/src/components/ProFilterView/plus.svg +3 -0
- package/src/components/SelectLazy/index.vue +15 -10
- package/src/components/TablePro/index.vue +7 -5
- package/src/index.js +4 -1
- package/style/fonts/iconfont.0aa2107d.ttf +0 -0
- package/style/fonts/iconfont.3a1f3ab9.woff2 +0 -0
- package/style/fonts/iconfont.5306406d.woff +0 -0
- package/style/index.css +2 -2
- package/theme/blue.css +2 -2
- package/theme/cctcRed.css +2 -2
- package/theme/fonts/iconfont.0aa2107d.ttf +0 -0
- package/theme/fonts/iconfont.3a1f3ab9.woff2 +0 -0
- package/theme/fonts/iconfont.5306406d.woff +0 -0
- package/theme/green.css +2 -2
- package/theme/lightBlue.css +2 -2
- package/theme/orange.css +2 -2
- package/theme/purple.css +2 -2
- package/theme/red.css +2 -2
- package/theme/yellow.css +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"normalize.css": "^8.0.1",
|
|
60
60
|
"numerify": "*",
|
|
61
61
|
"nzh": "^1.0.12",
|
|
62
|
-
"panzoom": "
|
|
62
|
+
"panzoom": "9.4.2",
|
|
63
63
|
"qrcode": "*",
|
|
64
64
|
"resize-detector": "*",
|
|
65
65
|
"strip-json-comments": "*",
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
"vue-jsonp": "2.0.0",
|
|
69
69
|
"vuedraggable": "*",
|
|
70
70
|
"webpack-duplicate-relano-plugin": "^0.1.0",
|
|
71
|
-
"xe-utils": "^3.5.11"
|
|
71
|
+
"xe-utils": "^3.5.11",
|
|
72
|
+
"ngraph.events": "1.2.2"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
75
|
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
|
@@ -7,3 +7,283 @@
|
|
|
7
7
|
max-height: 300px;
|
|
8
8
|
overflow-y: auto;
|
|
9
9
|
}
|
|
10
|
+
// 高级筛选
|
|
11
|
+
.ProFilterView {
|
|
12
|
+
width: 100%;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
.top {
|
|
15
|
+
padding: 12px 16px;
|
|
16
|
+
border-bottom: 1px solid #e5e6eb !important;
|
|
17
|
+
}
|
|
18
|
+
.filter {
|
|
19
|
+
padding: 12px 16px 4px;
|
|
20
|
+
border-bottom: 1px solid #e5e6eb !important;
|
|
21
|
+
}
|
|
22
|
+
.flex-item {
|
|
23
|
+
border-bottom: 1px solid var(--button-disabled-background-color);
|
|
24
|
+
padding: 0 8px;
|
|
25
|
+
margin-top: 8px;
|
|
26
|
+
}
|
|
27
|
+
.add {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
margin-top: 8px;
|
|
30
|
+
img {
|
|
31
|
+
margin-right: 12px;
|
|
32
|
+
}
|
|
33
|
+
padding: 8px;
|
|
34
|
+
height: 20px;
|
|
35
|
+
line-height: 20px;
|
|
36
|
+
}
|
|
37
|
+
.add:hover {
|
|
38
|
+
border-radius: 2px;
|
|
39
|
+
background: var(--fill-1, #f7f8fa);
|
|
40
|
+
}
|
|
41
|
+
.botton {
|
|
42
|
+
padding: 8px;
|
|
43
|
+
border-radius: 4px;
|
|
44
|
+
background: var(--fill-2, #f2f3f5);
|
|
45
|
+
border: none;
|
|
46
|
+
}
|
|
47
|
+
.activiti {
|
|
48
|
+
background: var(--color-primary-light-9);
|
|
49
|
+
border: var(--color-primary-light-9);
|
|
50
|
+
color: var(--color-primary);
|
|
51
|
+
}
|
|
52
|
+
/deep/.n20-drag-list-item {
|
|
53
|
+
justify-content: start;
|
|
54
|
+
padding: 2px 0;
|
|
55
|
+
height: 28px;
|
|
56
|
+
}
|
|
57
|
+
.list-item {
|
|
58
|
+
width: 100%;
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: start;
|
|
62
|
+
padding: 4px;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
border-radius: 2px;
|
|
65
|
+
|
|
66
|
+
&:hover {
|
|
67
|
+
color: var(--color-primary);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.is-selected {
|
|
71
|
+
color: var(--color-primary);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.selected-icon {
|
|
75
|
+
color: var(--color-primary);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
/deep/.el-form-item__content {
|
|
79
|
+
margin-left: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
// 高级查询
|
|
83
|
+
.data-scope {
|
|
84
|
+
background: var(--fill-1, #f5f7fa);
|
|
85
|
+
padding: 16px;
|
|
86
|
+
border-radius: 4px;
|
|
87
|
+
max-height: 450px;
|
|
88
|
+
overflow-y: auto;
|
|
89
|
+
.children {
|
|
90
|
+
margin-left: 80px;
|
|
91
|
+
border: 1px dashed #e5e6eb;
|
|
92
|
+
}
|
|
93
|
+
.view-name {
|
|
94
|
+
margin-bottom: 16px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.view-name-input {
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.condition-group {
|
|
102
|
+
margin-bottom: 16px;
|
|
103
|
+
padding-left: 32px;
|
|
104
|
+
position: relative;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.delete-group-btn-top {
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: -16px;
|
|
110
|
+
right: -6px;
|
|
111
|
+
color: #4e5969;
|
|
112
|
+
z-index: 1;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.delete-group-btn-top :hover {
|
|
116
|
+
background: var(--color-danger-light-9, #fef0f0);
|
|
117
|
+
}
|
|
118
|
+
.conditions {
|
|
119
|
+
padding: 12px;
|
|
120
|
+
position: relative;
|
|
121
|
+
display: flex;
|
|
122
|
+
height: calc(44px * var(--condition-count, 1) - 12px);
|
|
123
|
+
.line {
|
|
124
|
+
width: 1px;
|
|
125
|
+
height: calc(44px * var(--line-condition-count, 1) - 36px);
|
|
126
|
+
background-color: #606266;
|
|
127
|
+
margin-right: 48px;
|
|
128
|
+
opacity: calc(1 - var(--is-single, 0));
|
|
129
|
+
margin-top: 12px;
|
|
130
|
+
position: relative;
|
|
131
|
+
.logic-select {
|
|
132
|
+
width: 60px;
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: 50%;
|
|
135
|
+
left: 50%;
|
|
136
|
+
transform: translate(-50%, -50%);
|
|
137
|
+
display: flex;
|
|
138
|
+
border-radius: 4px;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
border: 1px solid #dcdfe6;
|
|
141
|
+
|
|
142
|
+
.logic-option {
|
|
143
|
+
flex: 1;
|
|
144
|
+
text-align: center;
|
|
145
|
+
padding: 4px 0;
|
|
146
|
+
font-size: 12px;
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
background-color: #fff;
|
|
149
|
+
|
|
150
|
+
&.active {
|
|
151
|
+
background-color: var(--color-primary);
|
|
152
|
+
color: #fff;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&::before {
|
|
158
|
+
content: '';
|
|
159
|
+
position: absolute;
|
|
160
|
+
top: 0;
|
|
161
|
+
left: 0;
|
|
162
|
+
width: 8px;
|
|
163
|
+
height: 1px;
|
|
164
|
+
background-color: #606266;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&::after {
|
|
168
|
+
content: '';
|
|
169
|
+
position: absolute;
|
|
170
|
+
bottom: 0;
|
|
171
|
+
left: 0;
|
|
172
|
+
width: 8px;
|
|
173
|
+
height: 1px;
|
|
174
|
+
background-color: #606266;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
.condition-item {
|
|
178
|
+
margin-bottom: 12px;
|
|
179
|
+
&:last-child {
|
|
180
|
+
margin-bottom: 0;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.condition-row {
|
|
185
|
+
display: flex;
|
|
186
|
+
align-items: center;
|
|
187
|
+
gap: 12px;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.group-header {
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
justify-content: space-between;
|
|
195
|
+
margin-bottom: 12px;
|
|
196
|
+
padding: 8px;
|
|
197
|
+
background: var(--fill-2, #f2f3f5);
|
|
198
|
+
border-radius: 4px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.header-left {
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
gap: 12px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.group-logic-label,
|
|
208
|
+
.condition-logic-label {
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: 4px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.logic-text {
|
|
215
|
+
font-size: 14px;
|
|
216
|
+
color: var(--color-text-regular, #606266);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.delete-group-btn {
|
|
220
|
+
color: var(--color-danger, #f56c6c);
|
|
221
|
+
padding: 4px 8px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.delete-group-btn:hover {
|
|
225
|
+
background: var(--color-danger-light-9, #fef0f0);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.field-select,
|
|
229
|
+
.operator-select {
|
|
230
|
+
width: 150px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.value-inputs {
|
|
234
|
+
flex: 1;
|
|
235
|
+
display: flex;
|
|
236
|
+
align-items: center;
|
|
237
|
+
gap: 8px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.value-select,
|
|
241
|
+
.text-input {
|
|
242
|
+
width: 200px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.date-picker {
|
|
246
|
+
width: 300px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.number-input {
|
|
250
|
+
width: 200px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.number-range {
|
|
254
|
+
display: flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
gap: 8px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.delete-btn {
|
|
260
|
+
padding: 8px 2px;
|
|
261
|
+
margin-left: 0;
|
|
262
|
+
color: #4e5969;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.delete-btn:hover {
|
|
266
|
+
background: var(--color-danger-light-9, #fef0f0);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.add-btn {
|
|
270
|
+
padding: 8px 2px;
|
|
271
|
+
margin-right: -8px;
|
|
272
|
+
color: #4e5969;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.add-btn:hover {
|
|
276
|
+
background: var(--color-primary-light-9, #ecf5ff);
|
|
277
|
+
}
|
|
278
|
+
.group-actions {
|
|
279
|
+
display: flex;
|
|
280
|
+
gap: 12px;
|
|
281
|
+
margin-top: 8px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.add-condition-btn,
|
|
285
|
+
.add-group-btn {
|
|
286
|
+
color: var(--color-primary, #409eff);
|
|
287
|
+
font-size: 14px;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@import url('../iconFont/font.css');
|
|
2
2
|
@import url('../iconFont/iconfont.css');
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
.n20-icon- {
|
|
6
5
|
font-family: 'core-lib-iconfont' !important;
|
|
7
6
|
font-style: normal;
|
|
@@ -32,12 +31,12 @@
|
|
|
32
31
|
content: '\e602';
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
.el-button [class*='n20-icon-']+span {
|
|
34
|
+
.el-button [class*='n20-icon-'] + span {
|
|
36
35
|
margin-left: 5px;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
|
-
|
|
40
38
|
@import url('../iconFont2/iconfont.css');
|
|
39
|
+
@import url('../iconFont3/iconfont.css');
|
|
41
40
|
|
|
42
41
|
.iconfont {
|
|
43
42
|
font-family: 'iconfont' !important;
|
|
@@ -50,4 +49,4 @@
|
|
|
50
49
|
-webkit-font-smoothing: antialiased;
|
|
51
50
|
-moz-osx-font-smoothing: grayscale;
|
|
52
51
|
-webkit-text-stroke-width: 0.2px;
|
|
53
|
-
}
|
|
52
|
+
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
// .button-4em{min-width: 72px;}
|
|
4
4
|
/* 格式化样式 */
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
6
|
html {
|
|
9
7
|
height: 100%;
|
|
10
8
|
}
|
|
@@ -12,7 +10,7 @@ html {
|
|
|
12
10
|
body {
|
|
13
11
|
height: 100%;
|
|
14
12
|
font-size: $--font-size-base;
|
|
15
|
-
font-family: PingFang SC, Microsoft YaHei, SUN, Arial, sans-serif;
|
|
13
|
+
font-family: PingFang SC, Microsoft YaHei, SUN, Arial, sans-serif !important;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
li {
|
|
@@ -263,7 +261,7 @@ iframe {
|
|
|
263
261
|
.b-center {
|
|
264
262
|
text-align: center;
|
|
265
263
|
|
|
266
|
-
|
|
264
|
+
& > * {
|
|
267
265
|
display: inline-block;
|
|
268
266
|
vertical-align: bottom;
|
|
269
267
|
}
|
|
@@ -272,7 +270,7 @@ iframe {
|
|
|
272
270
|
.b-vertical {
|
|
273
271
|
font-size: 0;
|
|
274
272
|
|
|
275
|
-
|
|
273
|
+
& > * {
|
|
276
274
|
vertical-align: middle;
|
|
277
275
|
display: inline-block;
|
|
278
276
|
font-size: 14px;
|
|
@@ -335,13 +333,11 @@ iframe {
|
|
|
335
333
|
flex-direction: column;
|
|
336
334
|
}
|
|
337
335
|
|
|
338
|
-
.flex-box
|
|
339
|
-
.flex-column
|
|
336
|
+
.flex-box > *,
|
|
337
|
+
.flex-column > * {
|
|
340
338
|
flex: none;
|
|
341
339
|
}
|
|
342
340
|
|
|
343
|
-
|
|
344
|
-
|
|
345
341
|
.flex {
|
|
346
342
|
&-wrap {
|
|
347
343
|
flex-wrap: wrap;
|
|
@@ -394,12 +390,6 @@ iframe {
|
|
|
394
390
|
}
|
|
395
391
|
}
|
|
396
392
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
393
|
/* 旋转图标90度
|
|
404
394
|
-------------- */
|
|
405
395
|
.rotate90 {
|
|
@@ -486,7 +476,6 @@ iframe {
|
|
|
486
476
|
/* 边框
|
|
487
477
|
-------------- */
|
|
488
478
|
.bd {
|
|
489
|
-
|
|
490
479
|
&-none,
|
|
491
480
|
&-0 {
|
|
492
481
|
border: none !important;
|
|
@@ -835,7 +824,6 @@ $list: 45, 60, 80, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 2
|
|
|
835
824
|
}
|
|
836
825
|
|
|
837
826
|
@keyframes ping {
|
|
838
|
-
|
|
839
827
|
75%,
|
|
840
828
|
100% {
|
|
841
829
|
transform: scale(2);
|
|
@@ -844,7 +832,6 @@ $list: 45, 60, 80, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 2
|
|
|
844
832
|
}
|
|
845
833
|
|
|
846
834
|
@keyframes pulse {
|
|
847
|
-
|
|
848
835
|
0%,
|
|
849
836
|
100% {
|
|
850
837
|
opacity: 1;
|
|
@@ -856,7 +843,6 @@ $list: 45, 60, 80, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 2
|
|
|
856
843
|
}
|
|
857
844
|
|
|
858
845
|
@keyframes bounce {
|
|
859
|
-
|
|
860
846
|
0%,
|
|
861
847
|
100% {
|
|
862
848
|
transform: translateY(-25%);
|
|
@@ -867,4 +853,4 @@ $list: 45, 60, 80, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 2
|
|
|
867
853
|
transform: translateY(0);
|
|
868
854
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
869
855
|
}
|
|
870
|
-
}
|
|
856
|
+
}
|