assui 2.2.3 → 2.3.0
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/es/config-provider/index.d.ts +1 -1
- package/es/config-provider/index.js +41 -1
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/es/messages/ar_EG.d.ts +26 -0
- package/es/messages/ar_EG.js +26 -0
- package/es/messages/bg_BG.d.ts +26 -0
- package/es/messages/bg_BG.js +26 -0
- package/es/messages/cs_CZ.d.ts +26 -0
- package/es/messages/cs_CZ.js +26 -0
- package/es/messages/de_DE.d.ts +26 -0
- package/es/messages/de_DE.js +26 -0
- package/es/messages/es_ES.d.ts +26 -0
- package/es/messages/es_ES.js +26 -0
- package/es/messages/fi_FI.d.ts +26 -0
- package/es/messages/fi_FI.js +26 -0
- package/es/messages/fr_FR.d.ts +26 -0
- package/es/messages/fr_FR.js +26 -0
- package/es/messages/id_ID.d.ts +26 -0
- package/es/messages/id_ID.js +26 -0
- package/es/messages/it_IT.d.ts +26 -0
- package/es/messages/it_IT.js +26 -0
- package/es/messages/ja_JP.d.ts +26 -0
- package/es/messages/ja_JP.js +26 -0
- package/es/messages/ko_KR.d.ts +26 -0
- package/es/messages/ko_KR.js +26 -0
- package/es/messages/nb_NO.d.ts +26 -0
- package/es/messages/nb_NO.js +26 -0
- package/es/messages/nl_NL.d.ts +26 -0
- package/es/messages/nl_NL.js +26 -0
- package/es/messages/pt_PT.d.ts +26 -0
- package/es/messages/pt_PT.js +26 -0
- package/es/messages/ro_RO.d.ts +26 -0
- package/es/messages/ro_RO.js +26 -0
- package/es/messages/ru_RU.d.ts +26 -0
- package/es/messages/ru_RU.js +26 -0
- package/es/messages/sv_SE.d.ts +26 -0
- package/es/messages/sv_SE.js +26 -0
- package/es/messages/th_TH.d.ts +26 -0
- package/es/messages/th_TH.js +26 -0
- package/es/messages/vi_VN.d.ts +26 -0
- package/es/messages/vi_VN.js +26 -0
- package/es/messages/zh_TW.d.ts +26 -0
- package/es/messages/zh_TW.js +26 -0
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +61 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -10
- package/lib/messages/ar_EG.d.ts +26 -0
- package/lib/messages/ar_EG.js +31 -0
- package/lib/messages/bg_BG.d.ts +26 -0
- package/lib/messages/bg_BG.js +31 -0
- package/lib/messages/cs_CZ.d.ts +26 -0
- package/lib/messages/cs_CZ.js +31 -0
- package/lib/messages/de_DE.d.ts +26 -0
- package/lib/messages/de_DE.js +31 -0
- package/lib/messages/es_ES.d.ts +26 -0
- package/lib/messages/es_ES.js +31 -0
- package/lib/messages/fi_FI.d.ts +26 -0
- package/lib/messages/fi_FI.js +31 -0
- package/lib/messages/fr_FR.d.ts +26 -0
- package/lib/messages/fr_FR.js +31 -0
- package/lib/messages/id_ID.d.ts +26 -0
- package/lib/messages/id_ID.js +31 -0
- package/lib/messages/it_IT.d.ts +26 -0
- package/lib/messages/it_IT.js +31 -0
- package/lib/messages/ja_JP.d.ts +26 -0
- package/lib/messages/ja_JP.js +31 -0
- package/lib/messages/ko_KR.d.ts +26 -0
- package/lib/messages/ko_KR.js +31 -0
- package/lib/messages/nb_NO.d.ts +26 -0
- package/lib/messages/nb_NO.js +31 -0
- package/lib/messages/nl_NL.d.ts +26 -0
- package/lib/messages/nl_NL.js +31 -0
- package/lib/messages/pt_PT.d.ts +26 -0
- package/lib/messages/pt_PT.js +31 -0
- package/lib/messages/ro_RO.d.ts +26 -0
- package/lib/messages/ro_RO.js +31 -0
- package/lib/messages/ru_RU.d.ts +26 -0
- package/lib/messages/ru_RU.js +31 -0
- package/lib/messages/sv_SE.d.ts +26 -0
- package/lib/messages/sv_SE.js +31 -0
- package/lib/messages/th_TH.d.ts +26 -0
- package/lib/messages/th_TH.js +31 -0
- package/lib/messages/vi_VN.d.ts +26 -0
- package/lib/messages/vi_VN.js +31 -0
- package/lib/messages/zh_TW.d.ts +26 -0
- package/lib/messages/zh_TW.js +31 -0
- package/package.json +2 -2
- package/es/picker-with-type/index.d.ts +0 -2
- package/es/picker-with-type/index.js +0 -63
- package/es/picker-with-type/style/index.d.ts +0 -3
- package/es/picker-with-type/style/index.js +0 -3
- package/lib/picker-with-type/index.d.ts +0 -2
- package/lib/picker-with-type/index.js +0 -118
- package/lib/picker-with-type/style/index.d.ts +0 -3
- package/lib/picker-with-type/style/index.js +0 -11
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'nl_NL',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'pt_PT',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'ro_RO',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'ru_RU',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'sv_SE',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'th_TH',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'vi_VN',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: 'Please select'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: 'CustomTime',
|
|
14
|
+
toDay: 'ToDay',
|
|
15
|
+
yesterDay: 'YesterDay',
|
|
16
|
+
week: 'Week',
|
|
17
|
+
lastWeek: 'LastWeek',
|
|
18
|
+
month: 'Month',
|
|
19
|
+
lastMonth: 'LastMonth',
|
|
20
|
+
quarter: 'Quarter',
|
|
21
|
+
lastQuarter: 'LastQuarter',
|
|
22
|
+
last7days: 'Last7Days',
|
|
23
|
+
last14days: 'Last14Days',
|
|
24
|
+
last30days: 'Last30Days',
|
|
25
|
+
last90days: 'Last90Days',
|
|
26
|
+
last180days: 'Last180Days',
|
|
27
|
+
last365days: 'Last365Days'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const locale: {
|
|
2
|
+
locale: string;
|
|
3
|
+
lang: {
|
|
4
|
+
global: {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
labelCustomizeRangePicker: {
|
|
8
|
+
customTime: string;
|
|
9
|
+
toDay: string;
|
|
10
|
+
yesterDay: string;
|
|
11
|
+
week: string;
|
|
12
|
+
lastWeek: string;
|
|
13
|
+
month: string;
|
|
14
|
+
lastMonth: string;
|
|
15
|
+
quarter: string;
|
|
16
|
+
lastQuarter: string;
|
|
17
|
+
last7days: string;
|
|
18
|
+
last14days: string;
|
|
19
|
+
last30days: string;
|
|
20
|
+
last90days: string;
|
|
21
|
+
last180days: string;
|
|
22
|
+
last365days: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default locale;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var locale = {
|
|
7
|
+
locale: 'zh-Hant',
|
|
8
|
+
lang: {
|
|
9
|
+
global: {
|
|
10
|
+
placeholder: '請選擇'
|
|
11
|
+
},
|
|
12
|
+
labelCustomizeRangePicker: {
|
|
13
|
+
customTime: '自定義時間',
|
|
14
|
+
toDay: '今天',
|
|
15
|
+
yesterDay: '昨天',
|
|
16
|
+
week: '本週',
|
|
17
|
+
lastWeek: '上週',
|
|
18
|
+
month: '本月',
|
|
19
|
+
lastMonth: '上月',
|
|
20
|
+
quarter: '本季度',
|
|
21
|
+
lastQuarter: '上季度',
|
|
22
|
+
last7days: '最近7天',
|
|
23
|
+
last14days: '最近14天',
|
|
24
|
+
last30days: '最近30天',
|
|
25
|
+
last90days: '最近90天',
|
|
26
|
+
last180days: '最近180天',
|
|
27
|
+
last365days: '最近365天'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports["default"] = locale;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "react ui library",
|
|
5
5
|
"author": "jason <usochen@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": ">=10.0.0"
|
|
80
80
|
},
|
|
81
81
|
"license": "MIT",
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "fb3f90499d07b07ba17c72191a2d45557bf301e7"
|
|
83
83
|
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
var __read = this && this.__read || function (o, n) {
|
|
2
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
3
|
-
if (!m) return o;
|
|
4
|
-
var i = m.call(o),
|
|
5
|
-
r,
|
|
6
|
-
ar = [],
|
|
7
|
-
e;
|
|
8
|
-
|
|
9
|
-
try {
|
|
10
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
11
|
-
ar.push(r.value);
|
|
12
|
-
}
|
|
13
|
-
} catch (error) {
|
|
14
|
-
e = {
|
|
15
|
-
error: error
|
|
16
|
-
};
|
|
17
|
-
} finally {
|
|
18
|
-
try {
|
|
19
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
20
|
-
} finally {
|
|
21
|
-
if (e) throw e.error;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return ar;
|
|
26
|
-
}; // @ts-nocheck
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
import React, { useState } from 'react';
|
|
30
|
-
import DatePicker from "antd/es/date-picker";
|
|
31
|
-
import Select from "antd/es/select";
|
|
32
|
-
import Space from "antd/es/space";
|
|
33
|
-
var Option = Select.Option;
|
|
34
|
-
|
|
35
|
-
var PickerWithType = function PickerWithType() {
|
|
36
|
-
var _a = __read(useState('date'), 2),
|
|
37
|
-
type = _a[0],
|
|
38
|
-
setType = _a[1];
|
|
39
|
-
|
|
40
|
-
return /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, {
|
|
41
|
-
value: type,
|
|
42
|
-
onChange: setType
|
|
43
|
-
}, /*#__PURE__*/React.createElement(Option, {
|
|
44
|
-
value: "time"
|
|
45
|
-
}, "Time"), /*#__PURE__*/React.createElement(Option, {
|
|
46
|
-
value: "date"
|
|
47
|
-
}, "Date"), /*#__PURE__*/React.createElement(Option, {
|
|
48
|
-
value: "week"
|
|
49
|
-
}, "Week"), /*#__PURE__*/React.createElement(Option, {
|
|
50
|
-
value: "month"
|
|
51
|
-
}, "Month"), /*#__PURE__*/React.createElement(Option, {
|
|
52
|
-
value: "quarter"
|
|
53
|
-
}, "Quarter"), /*#__PURE__*/React.createElement(Option, {
|
|
54
|
-
value: "year"
|
|
55
|
-
}, "Year")), /*#__PURE__*/React.createElement(DatePicker, {
|
|
56
|
-
type: type,
|
|
57
|
-
onChange: function onChange(value) {
|
|
58
|
-
return console.log(value);
|
|
59
|
-
}
|
|
60
|
-
}));
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export default PickerWithType;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function get() {
|
|
11
|
-
return m[k];
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
Object.defineProperty(o, k2, desc);
|
|
17
|
-
} : function (o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
o[k2] = m[k];
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
|
|
23
|
-
Object.defineProperty(o, "default", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
value: v
|
|
26
|
-
});
|
|
27
|
-
} : function (o, v) {
|
|
28
|
-
o["default"] = v;
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
var __importStar = this && this.__importStar || function (mod) {
|
|
32
|
-
if (mod && mod.__esModule) return mod;
|
|
33
|
-
var result = {};
|
|
34
|
-
if (mod != null) for (var k in mod) {
|
|
35
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
__setModuleDefault(result, mod);
|
|
39
|
-
|
|
40
|
-
return result;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
var __read = this && this.__read || function (o, n) {
|
|
44
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
45
|
-
if (!m) return o;
|
|
46
|
-
var i = m.call(o),
|
|
47
|
-
r,
|
|
48
|
-
ar = [],
|
|
49
|
-
e;
|
|
50
|
-
|
|
51
|
-
try {
|
|
52
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
53
|
-
ar.push(r.value);
|
|
54
|
-
}
|
|
55
|
-
} catch (error) {
|
|
56
|
-
e = {
|
|
57
|
-
error: error
|
|
58
|
-
};
|
|
59
|
-
} finally {
|
|
60
|
-
try {
|
|
61
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
62
|
-
} finally {
|
|
63
|
-
if (e) throw e.error;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
return ar;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var __importDefault = this && this.__importDefault || function (mod) {
|
|
71
|
-
return mod && mod.__esModule ? mod : {
|
|
72
|
-
"default": mod
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
Object.defineProperty(exports, "__esModule", {
|
|
77
|
-
value: true
|
|
78
|
-
}); // @ts-nocheck
|
|
79
|
-
|
|
80
|
-
var react_1 = __importStar(require("react"));
|
|
81
|
-
|
|
82
|
-
var date_picker_1 = __importDefault(require("antd/lib/date-picker"));
|
|
83
|
-
|
|
84
|
-
var select_1 = __importDefault(require("antd/lib/select"));
|
|
85
|
-
|
|
86
|
-
var space_1 = __importDefault(require("antd/lib/space"));
|
|
87
|
-
|
|
88
|
-
var Option = select_1["default"].Option;
|
|
89
|
-
|
|
90
|
-
var PickerWithType = function PickerWithType() {
|
|
91
|
-
var _a = __read((0, react_1.useState)('date'), 2),
|
|
92
|
-
type = _a[0],
|
|
93
|
-
setType = _a[1];
|
|
94
|
-
|
|
95
|
-
return react_1["default"].createElement(space_1["default"], null, react_1["default"].createElement(select_1["default"], {
|
|
96
|
-
value: type,
|
|
97
|
-
onChange: setType
|
|
98
|
-
}, react_1["default"].createElement(Option, {
|
|
99
|
-
value: "time"
|
|
100
|
-
}, "Time"), react_1["default"].createElement(Option, {
|
|
101
|
-
value: "date"
|
|
102
|
-
}, "Date"), react_1["default"].createElement(Option, {
|
|
103
|
-
value: "week"
|
|
104
|
-
}, "Week"), react_1["default"].createElement(Option, {
|
|
105
|
-
value: "month"
|
|
106
|
-
}, "Month"), react_1["default"].createElement(Option, {
|
|
107
|
-
value: "quarter"
|
|
108
|
-
}, "Quarter"), react_1["default"].createElement(Option, {
|
|
109
|
-
value: "year"
|
|
110
|
-
}, "Year")), react_1["default"].createElement(date_picker_1["default"], {
|
|
111
|
-
type: type,
|
|
112
|
-
onChange: function onChange(value) {
|
|
113
|
-
return console.log(value);
|
|
114
|
-
}
|
|
115
|
-
}));
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
exports["default"] = PickerWithType;
|