n20-common-lib 3.0.36 → 3.0.38

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.
Files changed (51) hide show
  1. package/nstc-g6/components/Form/CheckboxCustom/index.vue +1 -1
  2. package/nstc-g6/components/NstcConfirm/NstcConfirm.vue +5 -5
  3. package/nstc-g6/components/NstcFileUpload/NstcFileUpload.vue +1 -1
  4. package/nstc-g6/components/NstcForm/CheckboxCustom/index.vue +1 -1
  5. package/package.json +3 -3
  6. package/src/assets/css/_coreLib.scss +4 -1
  7. package/src/assets/css/button.scss +8 -19
  8. package/src/assets/css/element-variables.scss +53 -27
  9. package/src/assets/css/file-upload-table.scss +35 -9
  10. package/src/assets/css/filter.scss +1 -1
  11. package/src/assets/css/layout-aside.scss +3 -9
  12. package/src/assets/css/layout-content.scss +1 -0
  13. package/src/assets/css/layout.scss +5 -5
  14. package/src/{components/PageHeader/style.scss → assets/css/page-header.scss} +22 -7
  15. package/src/assets/css/page.scss +12 -0
  16. package/src/assets/css/pagination.scss +75 -17
  17. package/src/assets/css/rootvar.scss +1 -0
  18. package/src/assets/css/secondary-tab.scss +60 -43
  19. package/src/assets/css/table.scss +165 -19
  20. package/src/assets/css/tabs.scss +68 -0
  21. package/src/components/FileUploadTable/FileUploadTableV3.vue +79 -7
  22. package/src/components/FileUploadTable/Png.svg +34 -0
  23. package/src/components/FileUploadTable/Txt.svg +29 -0
  24. package/src/components/FileUploadTable/Zip.svg +21 -0
  25. package/src/components/FileUploadTable/aiCheckDialog.vue +3 -3
  26. package/src/components/FileUploadTable/not.svg +29 -0
  27. package/src/components/PageHeader/index.vue +11 -6
  28. package/src/components/PageLayout/page.vue +15 -3
  29. package/src/components/Pagination/index.vue +7 -4
  30. package/src/components/Pagination/main.vue +113 -0
  31. package/src/components/ProFilterView/advancedQuery.vue +32 -28
  32. package/src/components/ProFilterView/index.vue +49 -26
  33. package/src/components/SecondaryTab/index.vue +45 -34
  34. package/src/components/ShowColumn/index.vue +14 -4
  35. package/src/components/TableOperate/index.vue +101 -0
  36. package/src/components/TablePro/index.vue +171 -95
  37. package/src/components/TableSetSize/index.vue +3 -3
  38. package/src/components/TableSetSize/index1.vue +82 -0
  39. package/src/components/Tabs/index.vue +64 -0
  40. package/src/index.js +4 -1
  41. package/style/index.css +1 -3
  42. package/theme/blue.css +1 -3
  43. package/theme/cctcRed.css +1 -3
  44. package/theme/green.css +1 -3
  45. package/theme/lightBlue.css +1 -3
  46. package/theme/orange.css +1 -3
  47. package/theme/purple.css +1 -3
  48. package/theme/red.css +1 -3
  49. package/theme/yellow.css +1 -3
  50. package/src/components/TableSetSize/index copy.vue +0 -69
  51. package/src/components/TableSetSize/style.scss +0 -81
@@ -72,7 +72,7 @@ export default {
72
72
  </script>
73
73
 
74
74
  <style scoped>
75
- .checkbox-group /deep/ .el-checkbox {
75
+ .checkbox-group ::v-deep .el-checkbox {
76
76
  margin-right: 40px;
77
77
  }
78
78
  </style>
@@ -116,22 +116,22 @@ export default {
116
116
  }
117
117
  </style>
118
118
  <style scoped>
119
- .confirmTip /deep/ .el-dialog {
119
+ .confirmTip ::v-deep .el-dialog {
120
120
  margin-top: 36vh !important;
121
121
  }
122
- .confirmTip /deep/.el-dialog__header {
122
+ .confirmTip ::v-deep .el-dialog__header {
123
123
  /* display: none; */
124
124
  border-bottom: none !important;
125
125
  }
126
- .confirmTip /deep/.el-dialog__body {
126
+ .confirmTip ::v-deep .el-dialog__body {
127
127
  padding: 24px;
128
128
  padding-bottom: 0px;
129
129
  padding: 0 20px !important;
130
130
  }
131
- .confirmTip /deep/.el-dialog__footer {
131
+ .confirmTip ::v-deep .el-dialog__footer {
132
132
  padding: 16px;
133
133
  }
134
- .confirmTip /deep/.el-dialog__headerbtn {
134
+ .confirmTip ::v-deep .el-dialog__headerbtn {
135
135
  display: none;
136
136
  }
137
137
  </style>
@@ -923,7 +923,7 @@ export default {
923
923
  }
924
924
  </style>
925
925
  <style scoped>
926
- .nstc-file-upload /deep/ .cell {
926
+ .nstc-file-upload ::v-deep .cell {
927
927
  padding: 0 8px 0 16px !important;
928
928
  }
929
929
 
@@ -72,7 +72,7 @@ export default {
72
72
  </script>
73
73
 
74
74
  <style scoped>
75
- .checkbox-group /deep/ .el-checkbox {
75
+ .checkbox-group ::v-deep .el-checkbox {
76
76
  margin-right: 40px;
77
77
  }
78
78
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "3.0.36",
3
+ "version": "3.0.38",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -101,10 +101,10 @@
101
101
  "jszip": "^3.10.0",
102
102
  "md2vue-loader": "file:./md2vue-loader",
103
103
  "mockjs": "^1.1.0",
104
- "node-sass": "6.0.0",
104
+ "sass": "^1.77.0",
105
105
  "nstc-get-i18n": "^0.0.4",
106
106
  "qiankun": "^2.5.1",
107
- "sass-loader": "^10.2.0",
107
+ "sass-loader": "^10.5.2",
108
108
  "screenfull": "^5.1.0",
109
109
  "showdown": "^2.1.0",
110
110
  "sortablejs": "^1.15.0",
@@ -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+.el-button {
20
+ .el-button + .el-button {
21
21
  margin-left: $--button-margin-left;
22
22
  }
23
23
 
24
- .el-button+.el-dropdown {
24
+ .el-button + .el-dropdown {
25
25
  margin-left: $--button-margin-left;
26
26
  }
27
27
 
28
- .el-button--mini+.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
+ }
@@ -20,7 +20,7 @@ $--color-primary: #007aff !default;
20
20
  /// color|1|Background Color|4
21
21
  $--color-white: #ffffff !default;
22
22
  /// color|1|Background Color|4
23
- $--color-black: #000000 !default;
23
+ $--color-black: #1d2129 !default;
24
24
  $--color-primary-light-1: mix($--color-white, $--color-primary, 10%) !default;
25
25
  /* #1a87ff */
26
26
  $--color-primary-light-2: mix($--color-white, $--color-primary, 20%) !default;
@@ -40,13 +40,13 @@ $--color-primary-light-8: mix($--color-white, $--color-primary, 80%) !default;
40
40
  $--color-primary-light-9: mix($--color-white, $--color-primary, 90%) !default;
41
41
  /* #e6f2ff */
42
42
  /// color|1|Functional Color|1
43
- $--color-success: #48d2a0;
43
+ $--color-success: #2db185;
44
44
  /// color|1|Functional Color|1
45
45
  $--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: #666666;
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: #333333;
68
+ $--color-text-primary: #1d2129;
69
69
  /// color|1|Font Color|2
70
- $--color-text-regular: #666666;
70
+ $--color-text-regular: #4e5969;
71
71
  /// color|1|Font Color|2
72
- $--color-text-secondary: #999999;
72
+ $--color-text-secondary: #86909c;
73
73
  /// color|1|Font Color|2
74
- $--color-text-placeholder: #cccccc;
74
+ $--color-text-placeholder: #c9cdd4;
75
75
  /// color|1|Border Color|3
76
- $--border-color-base: #dcdfe6 !default;
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: #ebeef5 !default;
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: #f5f5f5 !default;
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: #bbb !default;
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: #666 !default;
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: #666666;
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;
@@ -1024,23 +1024,49 @@ $--lg: 1200px !default;
1024
1024
  $--xl: 1920px !default;
1025
1025
 
1026
1026
  $--breakpoints: (
1027
- 'xs': (max-width: $--sm - 1),
1028
- 'sm': (min-width: $--sm ),
1029
- 'md': (min-width: $--md ),
1030
- 'lg': (min-width: $--lg ),
1031
- 'xl': (min-width: $--xl )
1027
+ 'xs': (
1028
+ max-width: $--sm - 1
1029
+ ),
1030
+ 'sm': (
1031
+ min-width: $--sm
1032
+ ),
1033
+ 'md': (
1034
+ min-width: $--md
1035
+ ),
1036
+ 'lg': (
1037
+ min-width: $--lg
1038
+ ),
1039
+ 'xl': (
1040
+ min-width: $--xl
1041
+ )
1032
1042
  );
1033
1043
 
1034
1044
  $--breakpoints-spec: (
1035
- 'xs-only': (max-width: $--sm - 1),
1036
- 'sm-and-up': (min-width: $--sm ),
1045
+ 'xs-only': (
1046
+ max-width: $--sm - 1
1047
+ ),
1048
+ 'sm-and-up': (
1049
+ min-width: $--sm
1050
+ ),
1037
1051
  'sm-only': '(min-width: #{$--sm}) and (max-width: #{$--md - 1})',
1038
- 'sm-and-down': (max-width: $--md - 1),
1039
- 'md-and-up': (min-width: $--md ),
1052
+ 'sm-and-down': (
1053
+ max-width: $--md - 1
1054
+ ),
1055
+ 'md-and-up': (
1056
+ min-width: $--md
1057
+ ),
1040
1058
  'md-only': '(min-width: #{$--md}) and (max-width: #{$--lg - 1})',
1041
- 'md-and-down': (max-width: $--lg - 1),
1042
- 'lg-and-up': (min-width: $--lg ),
1059
+ 'md-and-down': (
1060
+ max-width: $--lg - 1
1061
+ ),
1062
+ 'lg-and-up': (
1063
+ min-width: $--lg
1064
+ ),
1043
1065
  'lg-only': '(min-width: #{$--lg}) and (max-width: #{$--xl - 1})',
1044
- 'lg-and-down': (max-width: $--xl - 1),
1045
- 'xl-only': (min-width: $--xl )
1046
- );
1066
+ 'lg-and-down': (
1067
+ max-width: $--xl - 1
1068
+ ),
1069
+ 'xl-only': (
1070
+ min-width: $--xl
1071
+ )
1072
+ );