n20-common-lib 3.3.26 → 3.3.28
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
CHANGED
|
@@ -42,13 +42,13 @@ $--color-primary-light-8: mix($--color-white, $--color-primary, 80%) !default;
|
|
|
42
42
|
$--color-primary-light-9: mix($--color-white, $--color-primary, 90%) !default;
|
|
43
43
|
/* #e6f2ff */
|
|
44
44
|
/// color|1|Functional Color|1
|
|
45
|
-
$--color-success: #2db185;
|
|
45
|
+
$--color-success: #2db185 !default;
|
|
46
46
|
/// color|1|Functional Color|1
|
|
47
|
-
$--color-warning: #ff9933;
|
|
47
|
+
$--color-warning: #ff9933 !default;
|
|
48
48
|
/// color|1|Functional Color|1
|
|
49
|
-
$--color-danger: #ff3b30;
|
|
49
|
+
$--color-danger: #ff3b30 !default;
|
|
50
50
|
/// color|1|Functional Color|1
|
|
51
|
-
$--color-info: #86909c;
|
|
51
|
+
$--color-info: #86909c !default;
|
|
52
52
|
|
|
53
53
|
$--color-success-light: mix($--color-white, $--color-success, 80%) !default;
|
|
54
54
|
$--color-warning-light: mix($--color-white, $--color-warning, 80%) !default;
|
|
@@ -67,13 +67,13 @@ $--color-danger-hover: mix($--color-black, $--color-danger, 10%) !default;
|
|
|
67
67
|
$--color-info-hover: mix($--color-black, $--color-info, 10%) !default;
|
|
68
68
|
|
|
69
69
|
/// color|1|Font Color|2
|
|
70
|
-
$--color-text-primary: #1d2129;
|
|
70
|
+
$--color-text-primary: #1d2129 !default;
|
|
71
71
|
/// color|1|Font Color|2
|
|
72
|
-
$--color-text-regular: #4e5969;
|
|
72
|
+
$--color-text-regular: #4e5969 !default;
|
|
73
73
|
/// color|1|Font Color|2
|
|
74
|
-
$--color-text-secondary: #86909c;
|
|
74
|
+
$--color-text-secondary: #86909c !default;
|
|
75
75
|
/// color|1|Font Color|2
|
|
76
|
-
$--color-text-placeholder: #c9cdd4;
|
|
76
|
+
$--color-text-placeholder: #c9cdd4 !default;
|
|
77
77
|
/// color|1|Border Color|3
|
|
78
78
|
$--border-color-base: #e5e6eb !default;
|
|
79
79
|
/// color|1|Border Color|3
|
|
@@ -193,7 +193,7 @@ $--checkbox-disabled-checked-input-border-color: $--border-color-base !default;
|
|
|
193
193
|
$--checkbox-disabled-checked-icon-color: $--color-text-placeholder !default;
|
|
194
194
|
|
|
195
195
|
/// color||Color|0
|
|
196
|
-
$--checkbox-checked-font-color: #1d2129;
|
|
196
|
+
$--checkbox-checked-font-color: #1d2129 !default;
|
|
197
197
|
$--checkbox-checked-input-border-color: $--color-primary !default;
|
|
198
198
|
/// color||Color|0
|
|
199
199
|
$--checkbox-checked-background-color: $--color-primary !default;
|
|
@@ -568,14 +568,14 @@ $--button-default-font-color: #333333;
|
|
|
568
568
|
/// color||Color|0
|
|
569
569
|
$--button-default-background-color: #ffffff;
|
|
570
570
|
/// color||Color|0
|
|
571
|
-
$--button-default-border-color: #dddddd;
|
|
571
|
+
$--button-default-border-color: #dddddd !default;
|
|
572
572
|
|
|
573
573
|
/// color||Color|0
|
|
574
574
|
$--button-disabled-font-color: #cccccc;
|
|
575
575
|
/// color||Color|0
|
|
576
576
|
$--button-disabled-background-color: #eeeeee;
|
|
577
577
|
/// color||Color|0
|
|
578
|
-
$--button-disabled-border-color: #dddddd;
|
|
578
|
+
$--button-disabled-border-color: #dddddd !default;
|
|
579
579
|
|
|
580
580
|
/// color||Color|0
|
|
581
581
|
$--button-primary-border-color: $--color-primary !default;
|
|
@@ -596,11 +596,11 @@ $--button-warning-font-color: $--color-white !default;
|
|
|
596
596
|
/// color||Color|0
|
|
597
597
|
$--button-warning-background-color: $--color-warning !default;
|
|
598
598
|
/// color||Color|0
|
|
599
|
-
$--button-danger-border-color: #ff3b30;
|
|
599
|
+
$--button-danger-border-color: #ff3b30 !default;
|
|
600
600
|
/// color||Color|0
|
|
601
601
|
$--button-danger-font-color: $--color-white !default;
|
|
602
602
|
/// color||Color|0
|
|
603
|
-
$--button-danger-background-color: #ff3b30;
|
|
603
|
+
$--button-danger-background-color: #ff3b30 !default;
|
|
604
604
|
/// color||Color|0
|
|
605
605
|
$--button-info-border-color: $--color-info !default;
|
|
606
606
|
/// color||Color|0
|
|
@@ -73,8 +73,9 @@ let shortcuts_1 = [
|
|
|
73
73
|
text: $lc('最近一周'),
|
|
74
74
|
onClick(picker) {
|
|
75
75
|
const end = new Date()
|
|
76
|
-
const start = new Date()
|
|
77
|
-
|
|
76
|
+
const start = new Date(end.getTime())
|
|
77
|
+
// 最近一周包含今天,按自然日回退 6 天,避免首尾合计 8 天。
|
|
78
|
+
start.setDate(start.getDate() - 6)
|
|
78
79
|
picker.$emit('pick', [start, end])
|
|
79
80
|
}
|
|
80
81
|
},
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
const themeList = [
|
|
2
2
|
{ label: '科技蓝', value: 'blue', color: '#007aff', aD: `$--color-primary: #007aff;` },
|
|
3
|
+
{
|
|
4
|
+
label: '商飞蓝',
|
|
5
|
+
value: 'comacBlue',
|
|
6
|
+
color: '#1B7AFF',
|
|
7
|
+
// 复用组件库已有的颜色参数,仅覆盖商飞蓝所需的主色、文字色、辅助色和边框色。
|
|
8
|
+
aD: `
|
|
9
|
+
$--color-primary: #1B7AFF;
|
|
10
|
+
$--color-black: #000000;
|
|
11
|
+
$--color-text-primary: #000000;
|
|
12
|
+
$--color-text-regular: #333333;
|
|
13
|
+
$--color-text-secondary: #666666;
|
|
14
|
+
$--color-text-placeholder: #999999;
|
|
15
|
+
$--color-success: #47C908;
|
|
16
|
+
$--color-warning: #FF9705;
|
|
17
|
+
$--color-danger: #F33B50;
|
|
18
|
+
$--color-info: #3375DC;
|
|
19
|
+
$--border-color-base: #CCCCCC;
|
|
20
|
+
$--border-color-light: rgba(0, 0, 0, 0.08);
|
|
21
|
+
$--border-color-lighter: rgba(0, 0, 0, 0.08);
|
|
22
|
+
$--border-color-extra-light: rgba(0, 0, 0, 0.08);
|
|
23
|
+
$--button-default-border-color: #CCCCCC;
|
|
24
|
+
$--button-disabled-border-color: #CCCCCC;
|
|
25
|
+
$--font-color-disabled-base: #CCCCCC;
|
|
26
|
+
$--checkbox-checked-font-color: $--color-text-primary;
|
|
27
|
+
$--button-danger-border-color: $--color-danger;
|
|
28
|
+
$--button-danger-background-color: $--color-danger;
|
|
29
|
+
`
|
|
30
|
+
},
|
|
3
31
|
{ label: '中国红', value: 'red', color: '#f5222d', aD: `$--color-primary: #f5222d;` },
|
|
4
32
|
{ label: '阳光橘', value: 'orange', color: '#fa541c', aD: `$--color-primary: #fa541c;` },
|
|
5
33
|
{ label: '金融金', value: 'yellow', color: '#fadb14', aD: `$--color-primary: #fadb14;` },
|