n20-common-lib 3.0.37 → 3.0.39
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 +2 -2
- package/src/assets/css/_coreLib.scss +4 -1
- package/src/assets/css/button.scss +8 -19
- package/src/assets/css/element-variables.scss +11 -11
- package/src/assets/css/file-upload-table.scss +10 -0
- package/src/assets/css/layout-content.scss +1 -0
- package/src/{components/PageHeader/style.scss → assets/css/page-header.scss} +22 -7
- package/src/assets/css/page.scss +12 -0
- package/src/assets/css/pagination.scss +76 -17
- package/src/assets/css/rootvar.scss +1 -0
- package/src/assets/css/secondary-tab.scss +60 -43
- package/src/assets/css/table.scss +165 -19
- package/src/assets/css/tabs.scss +68 -0
- package/src/components/FileUploadTable/FileUploadTableV3.vue +2 -2
- package/src/components/FileUploadTable/aiCheckDialog.vue +2 -2
- package/src/components/PageHeader/index.vue +11 -6
- package/src/components/PageLayout/page.vue +15 -3
- package/src/components/Pagination/index.vue +7 -4
- package/src/components/Pagination/main.vue +113 -0
- package/src/components/SecondaryTab/index.vue +45 -34
- package/src/components/ShowColumn/index.vue +14 -4
- package/src/components/TableOperate/index.vue +124 -0
- package/src/components/TablePro/index.vue +185 -97
- package/src/components/TableSetSize/index.vue +3 -3
- package/src/components/TableSetSize/index1.vue +82 -0
- package/src/components/Tabs/index.vue +64 -0
- package/src/index.js +4 -1
- package/src/utils/asciiWidth.js +1 -1
- package/src/utils/axios.js +1 -1
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
- package/src/components/TableSetSize/index copy.vue +0 -69
- package/src/components/TableSetSize/style.scss +0 -81
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.39",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"vue-router": "^3.5.2",
|
|
121
121
|
"vue-template-compiler": "^2.6.11",
|
|
122
122
|
"vuex": "^3.6.2",
|
|
123
|
-
"vxe-table": "3.20.
|
|
123
|
+
"vxe-table": "3.20.10",
|
|
124
124
|
"vxe-pc-ui": "3.13.2",
|
|
125
125
|
"webpack-bundle-analyzer": "^3.9.0",
|
|
126
126
|
"xlsx": "0.14.1",
|
|
@@ -45,6 +45,9 @@
|
|
|
45
45
|
@import './plain-text.scss';
|
|
46
46
|
@import './date-quarter.scss';
|
|
47
47
|
@import './work-card.scss';
|
|
48
|
+
@import './tabs.scss';
|
|
49
|
+
@import './page-header.scss';
|
|
50
|
+
@import './page.scss';
|
|
51
|
+
|
|
48
52
|
/* 临时引入 */
|
|
49
53
|
@import '../../components/ChildRange/style.scss';
|
|
50
|
-
@import '../../components/PageHeader/style.scss';
|
|
@@ -17,20 +17,19 @@ $--button-margin-left: 6px;
|
|
|
17
17
|
min-width: 72px;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.el-button
|
|
20
|
+
.el-button + .el-button {
|
|
21
21
|
margin-left: $--button-margin-left;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.el-button
|
|
24
|
+
.el-button + .el-dropdown {
|
|
25
25
|
margin-left: $--button-margin-left;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.el-button--mini
|
|
28
|
+
.el-button--mini + .el-button--mini {
|
|
29
29
|
margin-left: $--button-margin-left;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.el-button[onlyicon] {
|
|
33
|
-
|
|
34
33
|
&.el-button--default,
|
|
35
34
|
&.el-button--medium,
|
|
36
35
|
&.el-button--small {
|
|
@@ -41,9 +40,11 @@ $--button-margin-left: 6px;
|
|
|
41
40
|
padding: 5px;
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
|
-
|
|
43
|
+
.el-button--mini {
|
|
44
|
+
padding: 5px 12px;
|
|
45
|
+
font-size: 13px;
|
|
46
|
+
}
|
|
45
47
|
.el-button--info {
|
|
46
|
-
|
|
47
48
|
&,
|
|
48
49
|
&:focus {
|
|
49
50
|
background-color: $--color-info;
|
|
@@ -57,7 +58,6 @@ $--button-margin-left: 6px;
|
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
.el-button--primary {
|
|
60
|
-
|
|
61
61
|
&,
|
|
62
62
|
&:focus {
|
|
63
63
|
background-color: $--color-primary;
|
|
@@ -71,7 +71,6 @@ $--button-margin-left: 6px;
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.el-button--success {
|
|
74
|
-
|
|
75
74
|
&,
|
|
76
75
|
&:focus {
|
|
77
76
|
background-color: $--color-success;
|
|
@@ -85,7 +84,6 @@ $--button-margin-left: 6px;
|
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
.el-button--warning {
|
|
88
|
-
|
|
89
87
|
&,
|
|
90
88
|
&:focus {
|
|
91
89
|
background-color: $--color-warning;
|
|
@@ -99,7 +97,6 @@ $--button-margin-left: 6px;
|
|
|
99
97
|
}
|
|
100
98
|
|
|
101
99
|
.el-button--danger {
|
|
102
|
-
|
|
103
100
|
&,
|
|
104
101
|
&:focus {
|
|
105
102
|
background-color: $--color-danger;
|
|
@@ -113,7 +110,6 @@ $--button-margin-left: 6px;
|
|
|
113
110
|
}
|
|
114
111
|
|
|
115
112
|
.el-button.is-plain {
|
|
116
|
-
|
|
117
113
|
&,
|
|
118
114
|
&:focus {
|
|
119
115
|
color: $--color-text-primary;
|
|
@@ -129,7 +125,6 @@ $--button-margin-left: 6px;
|
|
|
129
125
|
}
|
|
130
126
|
|
|
131
127
|
.el-button--warning.is-plain {
|
|
132
|
-
|
|
133
128
|
&,
|
|
134
129
|
&:focus {
|
|
135
130
|
color: $--color-warning;
|
|
@@ -145,7 +140,6 @@ $--button-margin-left: 6px;
|
|
|
145
140
|
}
|
|
146
141
|
|
|
147
142
|
.el-button--danger.is-plain {
|
|
148
|
-
|
|
149
143
|
&,
|
|
150
144
|
&:focus {
|
|
151
145
|
color: $--color-danger;
|
|
@@ -161,7 +155,6 @@ $--button-margin-left: 6px;
|
|
|
161
155
|
}
|
|
162
156
|
|
|
163
157
|
.el-button--text {
|
|
164
|
-
|
|
165
158
|
&,
|
|
166
159
|
&:focus {
|
|
167
160
|
color: $--color-primary;
|
|
@@ -175,7 +168,6 @@ $--button-margin-left: 6px;
|
|
|
175
168
|
|
|
176
169
|
.el-button--default.is-plain {
|
|
177
170
|
&.is-disabled {
|
|
178
|
-
|
|
179
171
|
&,
|
|
180
172
|
&:hover,
|
|
181
173
|
&:focus,
|
|
@@ -189,7 +181,6 @@ $--button-margin-left: 6px;
|
|
|
189
181
|
|
|
190
182
|
.el-button--danger.is-plain {
|
|
191
183
|
&.is-disabled {
|
|
192
|
-
|
|
193
184
|
&,
|
|
194
185
|
&:hover,
|
|
195
186
|
&:focus,
|
|
@@ -204,7 +195,6 @@ $--button-margin-left: 6px;
|
|
|
204
195
|
|
|
205
196
|
.el-button.el-button--text {
|
|
206
197
|
&.is-disabled {
|
|
207
|
-
|
|
208
198
|
&,
|
|
209
199
|
&:hover,
|
|
210
200
|
&:focus,
|
|
@@ -228,7 +218,6 @@ $--button-margin-left: 6px;
|
|
|
228
218
|
}
|
|
229
219
|
|
|
230
220
|
&.is-disabled {
|
|
231
|
-
|
|
232
221
|
&,
|
|
233
222
|
&:hover,
|
|
234
223
|
&:focus,
|
|
@@ -252,4 +241,4 @@ $--button-margin-left: 6px;
|
|
|
252
241
|
background: $--color-white;
|
|
253
242
|
border-color: $--color-primary;
|
|
254
243
|
}
|
|
255
|
-
}
|
|
244
|
+
}
|
|
@@ -46,7 +46,7 @@ $--color-warning: #ff9933;
|
|
|
46
46
|
/// color|1|Functional Color|1
|
|
47
47
|
$--color-danger: #ff3b30;
|
|
48
48
|
/// color|1|Functional Color|1
|
|
49
|
-
$--color-info: #
|
|
49
|
+
$--color-info: #86909c;
|
|
50
50
|
|
|
51
51
|
$--color-success-light: mix($--color-white, $--color-success, 80%) !default;
|
|
52
52
|
$--color-warning-light: mix($--color-white, $--color-warning, 80%) !default;
|
|
@@ -65,25 +65,25 @@ $--color-danger-hover: mix($--color-black, $--color-danger, 10%) !default;
|
|
|
65
65
|
$--color-info-hover: mix($--color-black, $--color-info, 10%) !default;
|
|
66
66
|
|
|
67
67
|
/// color|1|Font Color|2
|
|
68
|
-
$--color-text-primary: #
|
|
68
|
+
$--color-text-primary: #1d2129;
|
|
69
69
|
/// color|1|Font Color|2
|
|
70
|
-
$--color-text-regular: #
|
|
70
|
+
$--color-text-regular: #4e5969;
|
|
71
71
|
/// color|1|Font Color|2
|
|
72
|
-
$--color-text-secondary: #
|
|
72
|
+
$--color-text-secondary: #86909c;
|
|
73
73
|
/// color|1|Font Color|2
|
|
74
|
-
$--color-text-placeholder: #
|
|
74
|
+
$--color-text-placeholder: #c9cdd4;
|
|
75
75
|
/// color|1|Border Color|3
|
|
76
|
-
$--border-color-base: #
|
|
76
|
+
$--border-color-base: #e5e6eb !default;
|
|
77
77
|
/// color|1|Border Color|3
|
|
78
78
|
$--border-color-light: #e4e7ed !default;
|
|
79
79
|
/// color|1|Border Color|3
|
|
80
|
-
$--border-color-lighter: #
|
|
80
|
+
$--border-color-lighter: #f2f3f5 !default;
|
|
81
81
|
/// color|1|Border Color|3
|
|
82
82
|
$--border-color-extra-light: #f2f6fc !default;
|
|
83
83
|
|
|
84
84
|
// Background
|
|
85
85
|
/// color|1|Background Color|4
|
|
86
|
-
$--background-color-base: #
|
|
86
|
+
$--background-color-base: #f2f3f5 !default;
|
|
87
87
|
|
|
88
88
|
/* Link
|
|
89
89
|
-------------------------- */
|
|
@@ -142,7 +142,7 @@ $--font-weight-secondary: 100 !default;
|
|
|
142
142
|
$--font-line-height-primary: 1.5;
|
|
143
143
|
/// fontLineHeight|1|Line Height|2
|
|
144
144
|
$--font-line-height-secondary: 1.5;
|
|
145
|
-
$--font-color-disabled-base: #
|
|
145
|
+
$--font-color-disabled-base: #c9cdd4 !default;
|
|
146
146
|
/* Size
|
|
147
147
|
-------------------------- */
|
|
148
148
|
$--size-base: 14px !default;
|
|
@@ -161,7 +161,7 @@ $--disabled-border-base: $--border-color-light !default;
|
|
|
161
161
|
|
|
162
162
|
/* Icon
|
|
163
163
|
-------------------------- */
|
|
164
|
-
$--icon-color: #
|
|
164
|
+
$--icon-color: #4e5969 !default;
|
|
165
165
|
$--icon-color-base: $--color-info !default;
|
|
166
166
|
|
|
167
167
|
/* Checkbox
|
|
@@ -190,7 +190,7 @@ $--checkbox-disabled-checked-input-border-color: $--border-color-base !default;
|
|
|
190
190
|
$--checkbox-disabled-checked-icon-color: $--color-text-placeholder !default;
|
|
191
191
|
|
|
192
192
|
/// color||Color|0
|
|
193
|
-
$--checkbox-checked-font-color: #
|
|
193
|
+
$--checkbox-checked-font-color: #e5e6eb;
|
|
194
194
|
$--checkbox-checked-input-border-color: $--color-primary !default;
|
|
195
195
|
/// color||Color|0
|
|
196
196
|
$--checkbox-checked-background-color: $--color-primary !default;
|