@expcat/tigercat-core 2.0.0-preview.1 → 2.0.0-preview.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/dist/{datepicker-ZdzYUqm5.d.ts → datepicker-Digy7Stt.d.ts} +6 -1
- package/dist/datepicker-locales/ar-SA.d.ts +1 -1
- package/dist/datepicker-locales/de-DE.d.ts +1 -1
- package/dist/datepicker-locales/en-US.d.ts +1 -1
- package/dist/datepicker-locales/en-US.js +6 -1
- package/dist/datepicker-locales/es-ES.d.ts +1 -1
- package/dist/datepicker-locales/fr-FR.d.ts +1 -1
- package/dist/datepicker-locales/id-ID.d.ts +1 -1
- package/dist/datepicker-locales/ja-JP.d.ts +1 -1
- package/dist/datepicker-locales/ko-KR.d.ts +1 -1
- package/dist/datepicker-locales/pt-BR.d.ts +1 -1
- package/dist/datepicker-locales/registry.d.ts +1 -1
- package/dist/datepicker-locales/registry.js +14 -3
- package/dist/datepicker-locales/th-TH.d.ts +1 -1
- package/dist/datepicker-locales/vi-VN.d.ts +1 -1
- package/dist/datepicker-locales/zh-CN.d.ts +1 -1
- package/dist/datepicker-locales/zh-CN.js +6 -1
- package/dist/datepicker-locales/zh-TW.d.ts +1 -1
- package/dist/index.d.ts +96 -10
- package/dist/index.js +483 -20
- package/dist/{locale-44p_QYnH.d.ts → locale-DKOXT9k0.d.ts} +103 -2
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +91 -1
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +91 -1
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/en-US.js +88 -1
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +91 -1
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +91 -1
- package/dist/locales/id-ID.d.ts +2 -2
- package/dist/locales/id-ID.js +91 -1
- package/dist/locales/ja-JP.d.ts +2 -2
- package/dist/locales/ja-JP.js +91 -1
- package/dist/locales/ko-KR.d.ts +2 -2
- package/dist/locales/ko-KR.js +91 -1
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +91 -1
- package/dist/locales/th-TH.d.ts +2 -2
- package/dist/locales/th-TH.js +91 -1
- package/dist/locales/vi-VN.d.ts +2 -2
- package/dist/locales/vi-VN.js +91 -1
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-CN.js +88 -1
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +91 -1
- package/dist/{table-export-CzPmX1b6.d.ts → table-export-DR-OBL6e.d.ts} +1 -1
- package/dist/utils/table-export.d.ts +3 -3
- package/package.json +1 -1
|
@@ -78,6 +78,8 @@ interface BaseLayoutProps {
|
|
|
78
78
|
type DatePickerInputDate = Date | string;
|
|
79
79
|
type DatePickerModelValue = DatePickerInputDate | null | [DatePickerInputDate | null, DatePickerInputDate | null];
|
|
80
80
|
interface DatePickerLabels {
|
|
81
|
+
placeholder: string;
|
|
82
|
+
rangePlaceholder: string;
|
|
81
83
|
today: string;
|
|
82
84
|
ok: string;
|
|
83
85
|
calendar: string;
|
|
@@ -85,10 +87,13 @@ interface DatePickerLabels {
|
|
|
85
87
|
clearDate: string;
|
|
86
88
|
previousMonth: string;
|
|
87
89
|
nextMonth: string;
|
|
90
|
+
year: string;
|
|
91
|
+
month: string;
|
|
92
|
+
day: string;
|
|
88
93
|
}
|
|
89
94
|
interface DatePickerLocalePreset {
|
|
90
95
|
locale: string;
|
|
91
|
-
labels: DatePickerLabels
|
|
96
|
+
labels: Partial<DatePickerLabels>;
|
|
92
97
|
}
|
|
93
98
|
interface DatePickerLocaleConfig {
|
|
94
99
|
datePicker?: Partial<DatePickerLocalePreset>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const AR_SA_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const arSADatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const DE_DE_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const deDEDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const EN_US_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const enUSDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
var EN_US_DATEPICKER_LOCALE = {
|
|
3
3
|
locale: "en-US",
|
|
4
4
|
labels: {
|
|
5
|
+
placeholder: "Select date",
|
|
6
|
+
rangePlaceholder: "Select date range",
|
|
5
7
|
today: "Today",
|
|
6
8
|
ok: "OK",
|
|
7
9
|
calendar: "Calendar",
|
|
8
10
|
toggleCalendar: "Toggle calendar",
|
|
9
11
|
clearDate: "Clear date",
|
|
10
12
|
previousMonth: "Previous month",
|
|
11
|
-
nextMonth: "Next month"
|
|
13
|
+
nextMonth: "Next month",
|
|
14
|
+
year: "Year",
|
|
15
|
+
month: "Month",
|
|
16
|
+
day: "Day"
|
|
12
17
|
}
|
|
13
18
|
};
|
|
14
19
|
var enUSDatePickerLocale = EN_US_DATEPICKER_LOCALE;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const ES_ES_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const esESDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const FR_FR_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const frFRDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const ID_ID_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const idIDDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const JA_JP_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const jaJPDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const KO_KR_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const koKRDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const PT_BR_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const ptBRDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset, a as DatePickerLabels } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset, a as DatePickerLabels } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const DATEPICKER_LOCALES: readonly DatePickerLocalePreset[];
|
|
4
4
|
declare function getDatePickerLocalePreset(locale?: string): DatePickerLocalePreset | undefined;
|
|
@@ -30,13 +30,18 @@ var DE_DE_DATEPICKER_LOCALE = {
|
|
|
30
30
|
var EN_US_DATEPICKER_LOCALE = {
|
|
31
31
|
locale: "en-US",
|
|
32
32
|
labels: {
|
|
33
|
+
placeholder: "Select date",
|
|
34
|
+
rangePlaceholder: "Select date range",
|
|
33
35
|
today: "Today",
|
|
34
36
|
ok: "OK",
|
|
35
37
|
calendar: "Calendar",
|
|
36
38
|
toggleCalendar: "Toggle calendar",
|
|
37
39
|
clearDate: "Clear date",
|
|
38
40
|
previousMonth: "Previous month",
|
|
39
|
-
nextMonth: "Next month"
|
|
41
|
+
nextMonth: "Next month",
|
|
42
|
+
year: "Year",
|
|
43
|
+
month: "Month",
|
|
44
|
+
day: "Day"
|
|
40
45
|
}
|
|
41
46
|
};
|
|
42
47
|
|
|
@@ -156,13 +161,18 @@ var VI_VN_DATEPICKER_LOCALE = {
|
|
|
156
161
|
var ZH_CN_DATEPICKER_LOCALE = {
|
|
157
162
|
locale: "zh-CN",
|
|
158
163
|
labels: {
|
|
164
|
+
placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
|
|
165
|
+
rangePlaceholder: "\u8BF7\u9009\u62E9\u65E5\u671F\u8303\u56F4",
|
|
159
166
|
today: "\u4ECA\u5929",
|
|
160
167
|
ok: "\u786E\u5B9A",
|
|
161
168
|
calendar: "\u65E5\u5386",
|
|
162
169
|
toggleCalendar: "\u6253\u5F00\u65E5\u5386",
|
|
163
170
|
clearDate: "\u6E05\u9664\u65E5\u671F",
|
|
164
171
|
previousMonth: "\u4E0A\u4E2A\u6708",
|
|
165
|
-
nextMonth: "\u4E0B\u4E2A\u6708"
|
|
172
|
+
nextMonth: "\u4E0B\u4E2A\u6708",
|
|
173
|
+
year: "\u5E74\u4EFD",
|
|
174
|
+
month: "\u6708\u4EFD",
|
|
175
|
+
day: "\u65E5\u671F"
|
|
166
176
|
}
|
|
167
177
|
};
|
|
168
178
|
|
|
@@ -213,7 +223,8 @@ function getDatePickerLocalePreset(locale) {
|
|
|
213
223
|
}
|
|
214
224
|
function getDatePickerLabelsFromLocale(locale, overrides) {
|
|
215
225
|
return {
|
|
216
|
-
...
|
|
226
|
+
...EN_US_DATEPICKER_LOCALE.labels,
|
|
227
|
+
...getDatePickerLocalePreset(locale)?.labels ?? {},
|
|
217
228
|
...overrides ?? {}
|
|
218
229
|
};
|
|
219
230
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const TH_TH_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const thTHDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const VI_VN_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const viVNDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const ZH_CN_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const zhCNDatePickerLocale: DatePickerLocalePreset;
|
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
var ZH_CN_DATEPICKER_LOCALE = {
|
|
3
3
|
locale: "zh-CN",
|
|
4
4
|
labels: {
|
|
5
|
+
placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
|
|
6
|
+
rangePlaceholder: "\u8BF7\u9009\u62E9\u65E5\u671F\u8303\u56F4",
|
|
5
7
|
today: "\u4ECA\u5929",
|
|
6
8
|
ok: "\u786E\u5B9A",
|
|
7
9
|
calendar: "\u65E5\u5386",
|
|
8
10
|
toggleCalendar: "\u6253\u5F00\u65E5\u5386",
|
|
9
11
|
clearDate: "\u6E05\u9664\u65E5\u671F",
|
|
10
12
|
previousMonth: "\u4E0A\u4E2A\u6708",
|
|
11
|
-
nextMonth: "\u4E0B\u4E2A\u6708"
|
|
13
|
+
nextMonth: "\u4E0B\u4E2A\u6708",
|
|
14
|
+
year: "\u5E74\u4EFD",
|
|
15
|
+
month: "\u6708\u4EFD",
|
|
16
|
+
day: "\u65E5\u671F"
|
|
12
17
|
}
|
|
13
18
|
};
|
|
14
19
|
var zhCNDatePickerLocale = ZH_CN_DATEPICKER_LOCALE;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-
|
|
1
|
+
import { D as DatePickerLocalePreset } from '../datepicker-Digy7Stt.js';
|
|
2
2
|
|
|
3
3
|
declare const ZH_TW_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
4
|
declare const zhTWDatePickerLocale: DatePickerLocalePreset;
|