@rockshin/tao-ui 0.0.44 → 0.0.46
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/README.md +9 -1
- package/component-manifest.json +38 -4
- package/dist/components/alert/alert.js +20 -17
- package/dist/components/auto-complete/auto-complete.js +12 -3
- package/dist/components/avatar/avatar.js +2 -1
- package/dist/components/breadcrumb/breadcrumb.css +4 -0
- package/dist/components/breadcrumb/breadcrumb.js +82 -77
- package/dist/components/calendar/calendar.d.ts +1 -1
- package/dist/components/calendar/calendar.js +51 -33
- package/dist/components/card/card-tabs.js +204 -182
- package/dist/components/card/card.js +1 -1
- package/dist/components/carousel/carousel.js +11 -5
- package/dist/components/cascader/cascader.js +16 -4
- package/dist/components/collapse/collapse.css +8 -0
- package/dist/components/color-picker/color-picker.js +273 -269
- package/dist/components/context-menu/context-menu.d.ts +2 -1
- package/dist/components/context-menu/context-menu.js +57 -44
- package/dist/components/date-picker/calendar/calendar-grid.js +13 -6
- package/dist/components/date-picker/calendar/use-calendar.d.ts +2 -2
- package/dist/components/date-picker/calendar/use-calendar.js +2 -3
- package/dist/components/date-picker/date-localization.d.ts +3 -0
- package/dist/components/date-picker/date-localization.js +76 -0
- package/dist/components/date-picker/date-picker.css +4 -0
- package/dist/components/date-picker/date-picker.d.ts +1 -0
- package/dist/components/date-picker/date-picker.js +48 -30
- package/dist/components/date-picker/range-picker.d.ts +1 -0
- package/dist/components/date-picker/range-picker.js +41 -23
- package/dist/components/drawer/drawer.d.ts +2 -1
- package/dist/components/drawer/drawer.js +32 -20
- package/dist/components/dropdown/dropdown.d.ts +1 -0
- package/dist/components/dropdown/dropdown.js +160 -143
- package/dist/components/float-button/float-button.js +3 -2
- package/dist/components/form/form.js +88 -103
- package/dist/components/image/image.js +202 -137
- package/dist/components/list/list-pagination.js +148 -147
- package/dist/components/mentions/mentions.js +6 -2
- package/dist/components/modal/confirm-dialog.js +4 -2
- package/dist/components/modal/modal.d.ts +2 -1
- package/dist/components/modal/modal.js +387 -375
- package/dist/components/pagination/pagination.css +4 -0
- package/dist/components/pagination/pagination.js +115 -110
- package/dist/components/popconfirm/popconfirm.js +109 -107
- package/dist/components/popover/popover.d.ts +2 -1
- package/dist/components/popover/popover.js +185 -176
- package/dist/components/qr-code/qr-code.js +22 -21
- package/dist/components/rate/rate.js +114 -88
- package/dist/components/scroll-area/scroll-area.js +132 -120
- package/dist/components/segmented/segmented.js +52 -29
- package/dist/components/select/mobile-select.d.ts +3 -2
- package/dist/components/select/mobile-select.js +54 -48
- package/dist/components/select/select-types.d.ts +1 -0
- package/dist/components/select/select.js +19 -6
- package/dist/components/slider/slider.js +136 -133
- package/dist/components/sonner/sonner.js +10 -10
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/splitter/splitter.css +4 -0
- package/dist/components/splitter/splitter.js +29 -24
- package/dist/components/statistic/statistic.d.ts +2 -0
- package/dist/components/statistic/statistic.js +203 -187
- package/dist/components/table/table-filter.js +61 -52
- package/dist/components/table/table-icons.js +3 -1
- package/dist/components/table/table.css +29 -11
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.js +384 -547
- package/dist/components/tabs/tabs.js +3 -2
- package/dist/components/tag/tag.js +22 -19
- package/dist/components/time-picker/time-picker.d.ts +0 -1
- package/dist/components/time-picker/time-picker.js +160 -103
- package/dist/components/tooltip/tooltip.d.ts +2 -1
- package/dist/components/tooltip/tooltip.js +82 -71
- package/dist/components/transfer/transfer-list.js +224 -488
- package/dist/components/transfer/transfer-parts.js +14 -4
- package/dist/components/transfer/transfer-types.d.ts +1 -0
- package/dist/components/transfer/transfer.js +23 -20
- package/dist/components/tree/tree-keyboard.d.ts +6 -0
- package/dist/components/tree/tree-keyboard.js +27 -0
- package/dist/components/tree/tree.js +14 -3
- package/dist/components/tree-select/select-engine.d.ts +2 -1
- package/dist/components/tree-select/select-engine.js +23 -15
- package/dist/components/tree-select/tree-select.js +20 -10
- package/dist/components/upload/upload.js +30 -26
- package/dist/docs/component-docs.d.ts +13 -2
- package/dist/docs/components/headless-input-number.doc.d.ts +5 -0
- package/dist/docs/components/headless-input-number.doc.js +7 -0
- package/dist/docs/components/input-number.doc.d.ts +5 -0
- package/dist/docs/components/input-number.doc.js +7 -0
- package/dist/docs/components/statistic.doc.d.ts +5 -0
- package/dist/docs/components/statistic.doc.js +7 -0
- package/dist/docs/components/tao-provider.doc.d.ts +8 -2
- package/dist/docs/components/tao-provider.doc.js +16 -3
- package/dist/docs/components/tooltip.doc.d.ts +2 -2
- package/dist/entries/provider.d.ts +2 -1
- package/dist/entries/provider.js +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/locales/ar-EG.d.ts +3 -0
- package/dist/locales/ar-EG.js +199 -0
- package/dist/locales/create-locale.d.ts +41 -0
- package/dist/locales/create-locale.js +88 -0
- package/dist/locales/de-DE.d.ts +3 -0
- package/dist/locales/de-DE.js +195 -0
- package/dist/locales/en-US.d.ts +2 -0
- package/dist/locales/en-US.js +194 -0
- package/dist/locales/es-ES.d.ts +3 -0
- package/dist/locales/es-ES.js +195 -0
- package/dist/locales/fr-FR.d.ts +3 -0
- package/dist/locales/fr-FR.js +195 -0
- package/dist/locales/hi-IN.d.ts +3 -0
- package/dist/locales/hi-IN.js +194 -0
- package/dist/locales/id-ID.d.ts +3 -0
- package/dist/locales/id-ID.js +194 -0
- package/dist/locales/index.d.ts +18 -0
- package/dist/locales/index.js +17 -0
- package/dist/locales/it-IT.d.ts +3 -0
- package/dist/locales/it-IT.js +195 -0
- package/dist/locales/ja-JP.d.ts +3 -0
- package/dist/locales/ja-JP.js +194 -0
- package/dist/locales/ko-KR.d.ts +3 -0
- package/dist/locales/ko-KR.js +194 -0
- package/dist/locales/pt-BR.d.ts +3 -0
- package/dist/locales/pt-BR.js +195 -0
- package/dist/locales/ru-RU.d.ts +3 -0
- package/dist/locales/ru-RU.js +197 -0
- package/dist/locales/th-TH.d.ts +3 -0
- package/dist/locales/th-TH.js +194 -0
- package/dist/locales/tr-TR.d.ts +3 -0
- package/dist/locales/tr-TR.js +194 -0
- package/dist/locales/types.d.ts +176 -0
- package/dist/locales/types.js +0 -0
- package/dist/locales/vi-VN.d.ts +3 -0
- package/dist/locales/vi-VN.js +194 -0
- package/dist/locales/zh-CN.d.ts +3 -0
- package/dist/locales/zh-CN.js +194 -0
- package/dist/locales/zh-TW.d.ts +3 -0
- package/dist/locales/zh-TW.js +194 -0
- package/dist/number-input/format.d.ts +4 -3
- package/dist/number-input/format.js +9 -7
- package/dist/number-input/locale.d.ts +19 -0
- package/dist/number-input/locale.js +44 -0
- package/dist/number-input/number-input.js +1 -0
- package/dist/number-input/use-number-input.d.ts +2 -0
- package/dist/number-input/use-number-input.js +180 -176
- package/dist/provider/locale.d.ts +3 -65
- package/dist/provider/locale.js +2 -146
- package/dist/provider/merge-locale.d.ts +8 -0
- package/dist/provider/merge-locale.js +53 -0
- package/dist/provider/tao-provider.d.ts +16 -5
- package/dist/provider/tao-provider.js +200 -92
- package/dist/utils/scroll-left.d.ts +3 -0
- package/dist/utils/scroll-left.js +7 -0
- package/llms.txt +3 -3
- package/package.json +5 -1
|
@@ -2,7 +2,7 @@ const taoProviderDoc = {
|
|
|
2
2
|
name: 'tao-provider',
|
|
3
3
|
displayName: 'TaoProvider',
|
|
4
4
|
category: 'Config',
|
|
5
|
-
description: 'Provides global component defaults, portal scoping, and theme seed token overrides.',
|
|
5
|
+
description: 'Provides global component defaults, 17 locales with date and number regional settings, portal scoping, and theme seed token overrides.',
|
|
6
6
|
exports: [
|
|
7
7
|
'TaoProvider'
|
|
8
8
|
],
|
|
@@ -16,7 +16,9 @@ const taoProviderDoc = {
|
|
|
16
16
|
'theme',
|
|
17
17
|
'tokens',
|
|
18
18
|
'size',
|
|
19
|
-
'disabled'
|
|
19
|
+
'disabled',
|
|
20
|
+
'locale',
|
|
21
|
+
'internationalization'
|
|
20
22
|
],
|
|
21
23
|
related: [
|
|
22
24
|
'Button',
|
|
@@ -24,7 +26,7 @@ const taoProviderDoc = {
|
|
|
24
26
|
'tokenVar'
|
|
25
27
|
],
|
|
26
28
|
usage: {
|
|
27
|
-
description: 'Wrap an app or subtree with TaoProvider to set size, disabled, variant, and theme defaults.',
|
|
29
|
+
description: 'Wrap an app or subtree with TaoProvider to set size, disabled, variant, direction, and theme defaults.',
|
|
28
30
|
bestPractices: [
|
|
29
31
|
'Prefer provider-level defaults for app-wide decisions.',
|
|
30
32
|
'Use nested providers for scoped theme overrides.'
|
|
@@ -34,6 +36,17 @@ const taoProviderDoc = {
|
|
|
34
36
|
]
|
|
35
37
|
},
|
|
36
38
|
props: [
|
|
39
|
+
{
|
|
40
|
+
name: 'locale',
|
|
41
|
+
type: 'Partial<TaoLocale>',
|
|
42
|
+
defaultValue: 'enUS',
|
|
43
|
+
description: 'Component text, accessible names, form validation and regional date/number settings. Missing keys inherit from the parent; explicit component overrides win. Direction is independent.'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'direction',
|
|
47
|
+
type: "'ltr' | 'rtl'",
|
|
48
|
+
description: 'Text and interaction direction. Inherits the surrounding DOM when omitted; nested providers and component props can override it. Portals retain their source direction.'
|
|
49
|
+
},
|
|
37
50
|
{
|
|
38
51
|
name: 'size',
|
|
39
52
|
type: 'TaoSize',
|
|
@@ -16,11 +16,11 @@ export declare const tooltipDoc: {
|
|
|
16
16
|
avoid: string[];
|
|
17
17
|
};
|
|
18
18
|
props: ({
|
|
19
|
+
defaultValue?: undefined;
|
|
19
20
|
name: string;
|
|
20
21
|
type: string;
|
|
21
22
|
description: string;
|
|
22
23
|
required: true;
|
|
23
|
-
defaultValue?: undefined;
|
|
24
24
|
} | {
|
|
25
25
|
required?: undefined;
|
|
26
26
|
name: string;
|
|
@@ -28,8 +28,8 @@ export declare const tooltipDoc: {
|
|
|
28
28
|
description: string;
|
|
29
29
|
defaultValue: string;
|
|
30
30
|
} | {
|
|
31
|
-
required?: undefined;
|
|
32
31
|
defaultValue?: undefined;
|
|
32
|
+
required?: undefined;
|
|
33
33
|
name: string;
|
|
34
34
|
type: string;
|
|
35
35
|
description: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import '../theme/theme.css';
|
|
2
2
|
import '../theme/control.css';
|
|
3
|
-
export { type ButtonComponentToken, enUS, type FormFieldComponentToken, type InputComponentToken, type TaoComponentTokenMap, type TaoConfig, type TaoLocale, TaoProvider, type TaoProviderProps, type TaoSeedToken, type TaoSize, type TaoStatus, type TaoThemeConfig, type TaoThemeMode, type TaoVariant, useTaoConfig, useTaoToken, zhCN, } from '../provider/tao-provider.js';
|
|
3
|
+
export { type ButtonComponentToken, enUS, type FormFieldComponentToken, type InputComponentToken, type TaoComponentTokenMap, type TaoConfig, type TaoDirection, type TaoLocale, TaoProvider, type TaoProviderProps, type TaoSeedToken, type TaoSize, type TaoStatus, type TaoThemeConfig, type TaoThemeMode, type TaoVariant, useTaoConfig, useTaoToken, zhCN, } from '../provider/tao-provider.js';
|
|
4
|
+
export { arEG, deDE, esES, frFR, hiIN, idID, itIT, jaJP, koKR, ptBR, ruRU, thTH, trTR, viVN, zhTW, type BuiltinTaoLocale, type TaoMessages, } from '../locales/index.js';
|
package/dist/entries/provider.js
CHANGED
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
import "../theme/theme.css";
|
|
3
3
|
import "../theme/control.css";
|
|
4
4
|
export { TaoProvider, enUS, useTaoConfig, useTaoToken, zhCN } from "../provider/tao-provider.js";
|
|
5
|
+
export { arEG, deDE, esES, frFR, hiIN, idID, itIT, jaJP, koKR, ptBR, ruRU, thTH, trTR, viVN, zhTW } from "../locales/index.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,8 @@ export { Watermark, type WatermarkContent, type WatermarkFont, type WatermarkPro
|
|
|
80
80
|
export { FormLayout, type FormLayoutProps, type FormLayoutSemanticPart, } from './layouts/form-layout/form-layout.js';
|
|
81
81
|
export { Stack, type StackProps, type StackSemanticPart, } from './layouts/stack/stack.js';
|
|
82
82
|
export { type FormatOptions, HeadlessInputNumber, type HeadlessInputNumberProps, NumberInput, type NumberInputProps, type PadDecimalsOnBlur, type UseNumberInputOptions, type UseNumberInputReturn, useNumberInput, } from './number-input/index.js';
|
|
83
|
-
export { type ButtonComponentToken, enUS, type FormFieldComponentToken, type InputComponentToken, type TaoComponentTokenMap, type TaoConfig, type TaoLocale, TaoProvider, type TaoProviderProps, type TaoSeedToken, type TaoSize, type TaoStatus, type TaoThemeConfig, type TaoThemeMode, type TaoVariant, useTaoConfig, useTaoToken, zhCN, } from './provider/tao-provider.js';
|
|
83
|
+
export { type ButtonComponentToken, enUS, type FormFieldComponentToken, type InputComponentToken, type TaoComponentTokenMap, type TaoConfig, type TaoDirection, type TaoLocale, TaoProvider, type TaoProviderProps, type TaoSeedToken, type TaoSize, type TaoStatus, type TaoThemeConfig, type TaoThemeMode, type TaoVariant, useTaoConfig, useTaoToken, zhCN, } from './provider/tao-provider.js';
|
|
84
|
+
export { arEG, deDE, esES, frFR, hiIN, idID, itIT, jaJP, koKR, ptBR, ruRU, thTH, trTR, viVN, zhTW, type BuiltinTaoLocale, type TaoMessages, } from './locales/index.js';
|
|
84
85
|
export { type TaoTokenName, taoTokenNames, tokenVar } from './theme/tokens.js';
|
|
85
86
|
export { resolveResponsiveValue, type TaoBreakpoint, type TaoBreakpointMap, type TaoResponsiveValue, useBreakpoint, useIsMobile, } from './utils/breakpoint.js';
|
|
86
87
|
export { cx, type SemanticClassNames, type SemanticStyles, } from './utils/semantic.js';
|
package/dist/index.js
CHANGED
|
@@ -73,6 +73,7 @@ export { FormLayout } from "./layouts/form-layout/form-layout.js";
|
|
|
73
73
|
export { Stack } from "./layouts/stack/stack.js";
|
|
74
74
|
export { HeadlessInputNumber, NumberInput, useNumberInput } from "./number-input/index.js";
|
|
75
75
|
export { TaoProvider, enUS, useTaoConfig, useTaoToken, zhCN } from "./provider/tao-provider.js";
|
|
76
|
+
export { arEG, deDE, esES, frFR, hiIN, idID, itIT, jaJP, koKR, ptBR, ruRU, thTH, trTR, viVN, zhTW } from "./locales/index.js";
|
|
76
77
|
export { taoTokenNames, tokenVar } from "./theme/tokens.js";
|
|
77
78
|
export { resolveResponsiveValue, useBreakpoint, useIsMobile } from "./utils/breakpoint.js";
|
|
78
79
|
export { cx } from "./utils/semantic.js";
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import ar_EG from "@rc-component/picker/locale/ar_EG";
|
|
2
|
+
import "dayjs/locale/ar";
|
|
3
|
+
import { createFormMessages, createItemCount, createLocale } from "./create-locale.js";
|
|
4
|
+
const arEG = createLocale({
|
|
5
|
+
locale: 'ar_EG',
|
|
6
|
+
numberLocale: 'ar-EG',
|
|
7
|
+
dayjsLocale: 'ar',
|
|
8
|
+
weekStartsOn: 6,
|
|
9
|
+
pickerLocale: ar_EG,
|
|
10
|
+
select: 'اختيار',
|
|
11
|
+
searchPlaceholder: 'بحث…',
|
|
12
|
+
search: 'بحث',
|
|
13
|
+
showPassword: 'إظهار كلمة المرور',
|
|
14
|
+
hidePassword: 'إخفاء كلمة المرور',
|
|
15
|
+
otpLabel: (index, length)=>`الحرف ${index} من ${length}`,
|
|
16
|
+
searchOptions: 'البحث في الخيارات',
|
|
17
|
+
noResults: 'لا توجد نتائج',
|
|
18
|
+
emptyDescription: 'لا توجد بيانات',
|
|
19
|
+
done: 'تم',
|
|
20
|
+
clear: 'مسح',
|
|
21
|
+
close: 'إغلاق',
|
|
22
|
+
remove: (label)=>`إزالة ${label}`,
|
|
23
|
+
dateTime: 'التاريخ والوقت',
|
|
24
|
+
selectDate: 'اختيار التاريخ',
|
|
25
|
+
selectTime: 'اختيار الوقت',
|
|
26
|
+
startTime: 'وقت البدء',
|
|
27
|
+
endTime: 'وقت الانتهاء',
|
|
28
|
+
dateRange: 'اختيار نطاق التاريخ',
|
|
29
|
+
startDate: 'تاريخ البدء',
|
|
30
|
+
endDate: 'تاريخ الانتهاء',
|
|
31
|
+
now: 'الآن',
|
|
32
|
+
ok: 'موافق',
|
|
33
|
+
cancel: 'إلغاء',
|
|
34
|
+
previous: 'السابق',
|
|
35
|
+
next: 'التالي',
|
|
36
|
+
previousMonth: 'الشهر السابق',
|
|
37
|
+
nextMonth: 'الشهر التالي',
|
|
38
|
+
previousYear: 'السنة السابقة',
|
|
39
|
+
nextYear: 'السنة التالية',
|
|
40
|
+
hour: 'ساعة',
|
|
41
|
+
minute: 'دقيقة',
|
|
42
|
+
second: 'ثانية',
|
|
43
|
+
qrCode: {
|
|
44
|
+
expired: 'انتهت صلاحية رمز QR',
|
|
45
|
+
refresh: 'تحديث',
|
|
46
|
+
scanned: 'تم المسح'
|
|
47
|
+
},
|
|
48
|
+
messages: {
|
|
49
|
+
tableEmpty: 'لا توجد بيانات',
|
|
50
|
+
loading: 'جارٍ التحميل',
|
|
51
|
+
pagination: 'التنقل بين الصفحات',
|
|
52
|
+
previousPage: 'الصفحة السابقة',
|
|
53
|
+
nextPage: 'الصفحة التالية',
|
|
54
|
+
itemsPerPage: '/ صفحة',
|
|
55
|
+
pageSize: 'عدد العناصر في الصفحة',
|
|
56
|
+
jumpTo: 'انتقال إلى',
|
|
57
|
+
jumpToConfirm: 'انتقال',
|
|
58
|
+
previousPages: 'الصفحات السابقة',
|
|
59
|
+
nextPages: 'الصفحات التالية',
|
|
60
|
+
selectAllRows: 'تحديد جميع الصفوف',
|
|
61
|
+
expandRow: 'توسيع الصف',
|
|
62
|
+
collapseRow: 'طي الصف',
|
|
63
|
+
uploadFile: 'رفع ملفات',
|
|
64
|
+
uploadDrop: 'انقر أو اسحب الملفات إلى هنا لرفعها',
|
|
65
|
+
removeFile: 'إزالة الملف',
|
|
66
|
+
previewFile: 'معاينة الملف',
|
|
67
|
+
downloadFile: 'تنزيل الملف',
|
|
68
|
+
uploadError: 'فشل الرفع',
|
|
69
|
+
previewUnavailable: 'المعاينة غير متاحة',
|
|
70
|
+
source: 'المصدر',
|
|
71
|
+
target: 'الوجهة',
|
|
72
|
+
itemUnit: 'عنصر',
|
|
73
|
+
itemsUnit: 'عناصر',
|
|
74
|
+
selectAll: 'تحديد الكل',
|
|
75
|
+
deselectAll: 'إلغاء تحديد الكل',
|
|
76
|
+
selectCurrent: 'تحديد الصفحة الحالية',
|
|
77
|
+
invertCurrent: 'عكس التحديد الحالي',
|
|
78
|
+
removeAll: 'إزالة الكل',
|
|
79
|
+
removeCurrent: 'إزالة الصفحة الحالية',
|
|
80
|
+
moveToTarget: 'نقل إلى الوجهة',
|
|
81
|
+
moveToSource: 'نقل إلى المصدر',
|
|
82
|
+
clearSearch: 'مسح البحث',
|
|
83
|
+
calendarYear: 'السنة',
|
|
84
|
+
calendarMonth: 'الشهر',
|
|
85
|
+
calendarView: 'عرض التقويم',
|
|
86
|
+
zoomIn: 'تكبير',
|
|
87
|
+
zoomOut: 'تصغير',
|
|
88
|
+
rotateLeft: 'تدوير لليسار',
|
|
89
|
+
rotateRight: 'تدوير لليمين',
|
|
90
|
+
flipX: 'قلب أفقي',
|
|
91
|
+
flipY: 'قلب عمودي',
|
|
92
|
+
colorMode: 'وضع اللون',
|
|
93
|
+
colorSingle: 'لون موحد',
|
|
94
|
+
colorGradient: 'تدرج',
|
|
95
|
+
colorStop: 'نقطة لون',
|
|
96
|
+
addColorStop: 'إضافة نقطة لون',
|
|
97
|
+
removeColorStop: 'إزالة نقطة اللون',
|
|
98
|
+
colorPosition: 'الموضع',
|
|
99
|
+
colorStopPosition: 'موضع النقطة',
|
|
100
|
+
colorFormat: 'تنسيق اللون',
|
|
101
|
+
colorHex: 'لون بالنظام الست عشري',
|
|
102
|
+
colorRed: 'أحمر',
|
|
103
|
+
colorGreen: 'أخضر',
|
|
104
|
+
colorBlue: 'أزرق',
|
|
105
|
+
colorHue: 'درجة اللون',
|
|
106
|
+
colorSaturation: 'التشبع',
|
|
107
|
+
colorBrightness: 'السطوع',
|
|
108
|
+
colorAlpha: 'العتامة',
|
|
109
|
+
clearColor: 'مسح اللون',
|
|
110
|
+
colorPreset: 'إعداد مسبق',
|
|
111
|
+
colorTransparent: 'شفاف',
|
|
112
|
+
chooseColor: 'اختيار لون',
|
|
113
|
+
colorPicker: 'منتقي الألوان',
|
|
114
|
+
loadingQrCode: 'جارٍ تحميل رمز QR',
|
|
115
|
+
loadingNotification: 'جارٍ تحميل الإشعار',
|
|
116
|
+
closeNotification: 'إغلاق الإشعار',
|
|
117
|
+
floatingActions: 'إجراءات عائمة',
|
|
118
|
+
breadcrumb: 'مسار التنقل',
|
|
119
|
+
showMore: 'عرض المزيد',
|
|
120
|
+
collapsePanel: 'طي اللوحة',
|
|
121
|
+
selectionActions: 'إجراءات التحديد',
|
|
122
|
+
more: 'المزيد',
|
|
123
|
+
scrollVertically: 'تمرير عمودي',
|
|
124
|
+
scrollHorizontally: 'تمرير أفقي',
|
|
125
|
+
filter: 'تصفية',
|
|
126
|
+
filterReset: 'إعادة ضبط عوامل التصفية',
|
|
127
|
+
page: (page)=>`الصفحة ${page}`,
|
|
128
|
+
selectRow: (label)=>`تحديد الصف ${label}`,
|
|
129
|
+
moreUsers: (count)=>`مستخدمون إضافيون: ${count}`,
|
|
130
|
+
resizePanels: (first, second)=>`تغيير حجم اللوحتين ${first} و${second}`,
|
|
131
|
+
backToTop: 'العودة إلى الأعلى',
|
|
132
|
+
successNotification: 'إشعار نجاح',
|
|
133
|
+
errorNotification: 'إشعار خطأ',
|
|
134
|
+
warningNotification: 'إشعار تحذير',
|
|
135
|
+
infoNotification: 'إشعار معلومات',
|
|
136
|
+
notification: 'إشعار',
|
|
137
|
+
removeFileError: 'تعذرت إزالة الملف',
|
|
138
|
+
readFileError: 'تعذرت قراءة الملف',
|
|
139
|
+
millisecond: 'مللي ثانية',
|
|
140
|
+
meridiem: 'صباحًا/مساءً',
|
|
141
|
+
pageUnit: 'صفحة',
|
|
142
|
+
itemCount: createItemCount('ar-EG', {
|
|
143
|
+
zero: 'لا عناصر',
|
|
144
|
+
one: 'عنصر واحد',
|
|
145
|
+
two: 'عنصران',
|
|
146
|
+
few: '# عناصر',
|
|
147
|
+
many: '# عنصرًا',
|
|
148
|
+
other: '# عنصر'
|
|
149
|
+
})
|
|
150
|
+
},
|
|
151
|
+
form: createFormMessages({
|
|
152
|
+
default: "خطأ في التحقق من الحقل «${name}»",
|
|
153
|
+
required: "الحقل «${name}» مطلوب",
|
|
154
|
+
enum: "يجب أن تكون قيمة «${name}» واحدة من [${enum}]",
|
|
155
|
+
whitespace: "لا يمكن أن يكون «${name}» فارغًا",
|
|
156
|
+
invalid: "يجب أن تكون قيمة «${name}» من النوع ${type}",
|
|
157
|
+
dateFormat: "تنسيق التاريخ في «${name}» غير صالح",
|
|
158
|
+
dateParse: "تعذر تفسير «${name}» كتاريخ",
|
|
159
|
+
dateInvalid: "«${name}» ليس تاريخًا صالحًا",
|
|
160
|
+
string: {
|
|
161
|
+
len: "يجب أن يتكون «${name}» من ${len} حرفًا بالضبط",
|
|
162
|
+
min: "يجب ألا يقل طول «${name}» عن ${min} حرفًا",
|
|
163
|
+
max: "يجب ألا يتجاوز طول «${name}» ${max} حرفًا",
|
|
164
|
+
range: "يجب أن يكون طول «${name}» بين ${min} و${max} حرفًا"
|
|
165
|
+
},
|
|
166
|
+
number: {
|
|
167
|
+
len: "يجب أن تساوي قيمة «${name}» ${len}",
|
|
168
|
+
min: "يجب ألا تقل قيمة «${name}» عن ${min}",
|
|
169
|
+
max: "يجب ألا تزيد قيمة «${name}» عن ${max}",
|
|
170
|
+
range: "يجب أن تكون قيمة «${name}» بين ${min} و${max}"
|
|
171
|
+
},
|
|
172
|
+
array: {
|
|
173
|
+
len: "يجب أن يحتوي «${name}» على ${len} عنصرًا بالضبط",
|
|
174
|
+
min: "يجب ألا يقل عدد عناصر «${name}» عن ${min}",
|
|
175
|
+
max: "يجب ألا يزيد عدد عناصر «${name}» عن ${max}",
|
|
176
|
+
range: "يجب أن يكون عدد عناصر «${name}» بين ${min} و${max}"
|
|
177
|
+
},
|
|
178
|
+
pattern: "لا تتطابق قيمة «${name}» مع النمط ${pattern}",
|
|
179
|
+
typeNames: {
|
|
180
|
+
string: 'نص',
|
|
181
|
+
method: 'دالة',
|
|
182
|
+
array: 'مصفوفة',
|
|
183
|
+
object: 'كائن',
|
|
184
|
+
number: 'عدد',
|
|
185
|
+
date: 'تاريخ',
|
|
186
|
+
boolean: 'قيمة منطقية',
|
|
187
|
+
integer: 'عدد صحيح',
|
|
188
|
+
float: 'عدد عشري',
|
|
189
|
+
regexp: 'تعبير نمطي',
|
|
190
|
+
email: 'عنوان بريد إلكتروني',
|
|
191
|
+
tel: 'رقم هاتف',
|
|
192
|
+
url: 'عنوان ويب',
|
|
193
|
+
hex: 'قيمة ست عشرية'
|
|
194
|
+
}
|
|
195
|
+
})
|
|
196
|
+
});
|
|
197
|
+
const locales_ar_EG = arEG;
|
|
198
|
+
export default locales_ar_EG;
|
|
199
|
+
export { arEG };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ValidateMessages } from '@rc-component/form/es/interface';
|
|
2
|
+
import type { BuiltinTaoLocale } from './types.js';
|
|
3
|
+
export declare function createItemCount(locale: string, forms: Partial<Record<Intl.LDMLPluralRule, string>> & {
|
|
4
|
+
other: string;
|
|
5
|
+
}): (count: number) => string;
|
|
6
|
+
type LocaleDefinition = Omit<BuiltinTaoLocale, 'weekdays' | 'months' | 'monthTitle' | 'calendarTitle'>;
|
|
7
|
+
/** Each language module registers only its own Day.js resource before calling this. */
|
|
8
|
+
export declare function createLocale(definition: LocaleDefinition): BuiltinTaoLocale;
|
|
9
|
+
interface FormMessages {
|
|
10
|
+
default: string;
|
|
11
|
+
required: string;
|
|
12
|
+
enum: string;
|
|
13
|
+
whitespace: string;
|
|
14
|
+
invalid: string;
|
|
15
|
+
dateFormat: string;
|
|
16
|
+
dateParse: string;
|
|
17
|
+
dateInvalid: string;
|
|
18
|
+
string: {
|
|
19
|
+
len: string;
|
|
20
|
+
min: string;
|
|
21
|
+
max: string;
|
|
22
|
+
range: string;
|
|
23
|
+
};
|
|
24
|
+
number: {
|
|
25
|
+
len: string;
|
|
26
|
+
min: string;
|
|
27
|
+
max: string;
|
|
28
|
+
range: string;
|
|
29
|
+
};
|
|
30
|
+
array: {
|
|
31
|
+
len: string;
|
|
32
|
+
min: string;
|
|
33
|
+
max: string;
|
|
34
|
+
range: string;
|
|
35
|
+
};
|
|
36
|
+
pattern: string;
|
|
37
|
+
typeNames: Record<keyof NonNullable<ValidateMessages['types']>, string>;
|
|
38
|
+
}
|
|
39
|
+
/** Expand translated type names once; rc-form substitutes field values at validation time. */
|
|
40
|
+
export declare function createFormMessages(text: FormMessages): ValidateMessages;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
function createItemCount(locale, forms) {
|
|
3
|
+
const rules = new Intl.PluralRules(locale);
|
|
4
|
+
const number = new Intl.NumberFormat(locale, {
|
|
5
|
+
useGrouping: false
|
|
6
|
+
});
|
|
7
|
+
return (count)=>(forms[rules.select(count)] ?? forms.other).replace('#', number.format(count));
|
|
8
|
+
}
|
|
9
|
+
function createLocale(definition) {
|
|
10
|
+
const weekday = (index)=>dayjs('2020-01-06').add(index, 'day').locale(definition.dayjsLocale).format('dd');
|
|
11
|
+
const month = (index)=>dayjs('2020-01-01').month(index).locale(definition.dayjsLocale).format('MMM');
|
|
12
|
+
const weekdays = [
|
|
13
|
+
weekday(0),
|
|
14
|
+
weekday(1),
|
|
15
|
+
weekday(2),
|
|
16
|
+
weekday(3),
|
|
17
|
+
weekday(4),
|
|
18
|
+
weekday(5),
|
|
19
|
+
weekday(6)
|
|
20
|
+
];
|
|
21
|
+
const months = [
|
|
22
|
+
month(0),
|
|
23
|
+
month(1),
|
|
24
|
+
month(2),
|
|
25
|
+
month(3),
|
|
26
|
+
month(4),
|
|
27
|
+
month(5),
|
|
28
|
+
month(6),
|
|
29
|
+
month(7),
|
|
30
|
+
month(8),
|
|
31
|
+
month(9),
|
|
32
|
+
month(10),
|
|
33
|
+
month(11)
|
|
34
|
+
];
|
|
35
|
+
const title = (month)=>{
|
|
36
|
+
const formatter = new Intl.DateTimeFormat(definition.numberLocale, {
|
|
37
|
+
year: 'numeric',
|
|
38
|
+
month,
|
|
39
|
+
calendar: 'gregory',
|
|
40
|
+
timeZone: 'UTC'
|
|
41
|
+
});
|
|
42
|
+
return (monthIndex, year)=>{
|
|
43
|
+
const date = new Date(0);
|
|
44
|
+
date.setUTCFullYear(year, monthIndex, 1);
|
|
45
|
+
return formatter.format(date);
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
const pickerLabel = (current, englishDefault, translated)=>'en_US' === definition.locale || current && current !== englishDefault ? current : translated;
|
|
49
|
+
return {
|
|
50
|
+
...definition,
|
|
51
|
+
pickerLocale: {
|
|
52
|
+
...definition.pickerLocale,
|
|
53
|
+
hourSelect: pickerLabel(definition.pickerLocale.hourSelect, 'Select an hour', definition.hour),
|
|
54
|
+
minuteSelect: pickerLabel(definition.pickerLocale.minuteSelect, 'Select a minute', definition.minute),
|
|
55
|
+
secondSelect: pickerLabel(definition.pickerLocale.secondSelect, 'Select a second', definition.second),
|
|
56
|
+
millisecondSelect: pickerLabel(definition.pickerLocale.millisecondSelect, 'Select a millisecond', definition.messages.millisecond),
|
|
57
|
+
meridiemSelect: pickerLabel(definition.pickerLocale.meridiemSelect, 'Select a meridiem', definition.messages.meridiem)
|
|
58
|
+
},
|
|
59
|
+
weekdays,
|
|
60
|
+
months,
|
|
61
|
+
monthTitle: title('short'),
|
|
62
|
+
calendarTitle: title('long')
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function createFormMessages(text) {
|
|
66
|
+
return {
|
|
67
|
+
default: text.default,
|
|
68
|
+
required: text.required,
|
|
69
|
+
enum: text.enum,
|
|
70
|
+
whitespace: text.whitespace,
|
|
71
|
+
date: {
|
|
72
|
+
format: text.dateFormat,
|
|
73
|
+
parse: text.dateParse,
|
|
74
|
+
invalid: text.dateInvalid
|
|
75
|
+
},
|
|
76
|
+
types: Object.fromEntries(Object.entries(text.typeNames).map(([type, name])=>[
|
|
77
|
+
type,
|
|
78
|
+
text.invalid.replace("${type}", name)
|
|
79
|
+
])),
|
|
80
|
+
string: text.string,
|
|
81
|
+
number: text.number,
|
|
82
|
+
array: text.array,
|
|
83
|
+
pattern: {
|
|
84
|
+
mismatch: text.pattern
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export { createFormMessages, createItemCount, createLocale };
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import de_DE from "@rc-component/picker/locale/de_DE";
|
|
2
|
+
import "dayjs/locale/de";
|
|
3
|
+
import { createFormMessages, createItemCount, createLocale } from "./create-locale.js";
|
|
4
|
+
const deDE = createLocale({
|
|
5
|
+
locale: 'de_DE',
|
|
6
|
+
numberLocale: 'de-DE',
|
|
7
|
+
dayjsLocale: 'de',
|
|
8
|
+
weekStartsOn: 1,
|
|
9
|
+
pickerLocale: de_DE,
|
|
10
|
+
select: 'Auswählen',
|
|
11
|
+
searchPlaceholder: 'Suchen…',
|
|
12
|
+
search: 'Suchen',
|
|
13
|
+
showPassword: 'Passwort anzeigen',
|
|
14
|
+
hidePassword: 'Passwort ausblenden',
|
|
15
|
+
otpLabel: (index, length)=>`Zeichen ${index} von ${length}`,
|
|
16
|
+
searchOptions: 'Optionen suchen',
|
|
17
|
+
noResults: 'Keine Ergebnisse',
|
|
18
|
+
emptyDescription: 'Keine Daten',
|
|
19
|
+
done: 'Fertig',
|
|
20
|
+
clear: 'Leeren',
|
|
21
|
+
close: 'Schließen',
|
|
22
|
+
remove: (label)=>`${label} entfernen`,
|
|
23
|
+
dateTime: 'Datum und Uhrzeit',
|
|
24
|
+
selectDate: 'Datum auswählen',
|
|
25
|
+
selectTime: 'Uhrzeit auswählen',
|
|
26
|
+
startTime: 'Startzeit',
|
|
27
|
+
endTime: 'Endzeit',
|
|
28
|
+
dateRange: 'Zeitraum auswählen',
|
|
29
|
+
startDate: 'Startdatum',
|
|
30
|
+
endDate: 'Enddatum',
|
|
31
|
+
now: 'Jetzt',
|
|
32
|
+
ok: 'OK',
|
|
33
|
+
cancel: 'Abbrechen',
|
|
34
|
+
previous: 'Zurück',
|
|
35
|
+
next: 'Weiter',
|
|
36
|
+
previousMonth: 'Vorheriger Monat',
|
|
37
|
+
nextMonth: 'Nächster Monat',
|
|
38
|
+
previousYear: 'Vorheriges Jahr',
|
|
39
|
+
nextYear: 'Nächstes Jahr',
|
|
40
|
+
hour: 'Stunde',
|
|
41
|
+
minute: 'Minute',
|
|
42
|
+
second: 'Sekunde',
|
|
43
|
+
qrCode: {
|
|
44
|
+
expired: 'QR-Code abgelaufen',
|
|
45
|
+
refresh: 'Aktualisieren',
|
|
46
|
+
scanned: 'Gescannt'
|
|
47
|
+
},
|
|
48
|
+
messages: {
|
|
49
|
+
tableEmpty: 'Keine Daten',
|
|
50
|
+
loading: 'Wird geladen',
|
|
51
|
+
pagination: 'Seitennavigation',
|
|
52
|
+
previousPage: 'Vorherige Seite',
|
|
53
|
+
nextPage: 'Nächste Seite',
|
|
54
|
+
itemsPerPage: '/ Seite',
|
|
55
|
+
pageSize: 'Einträge pro Seite',
|
|
56
|
+
jumpTo: 'Gehe zu',
|
|
57
|
+
jumpToConfirm: 'Los',
|
|
58
|
+
previousPages: 'Vorherige Seiten',
|
|
59
|
+
nextPages: 'Nächste Seiten',
|
|
60
|
+
selectAllRows: 'Alle Zeilen auswählen',
|
|
61
|
+
expandRow: 'Zeile erweitern',
|
|
62
|
+
collapseRow: 'Zeile reduzieren',
|
|
63
|
+
uploadFile: 'Dateien hochladen',
|
|
64
|
+
uploadDrop: 'Zum Hochladen klicken oder Dateien hier ablegen',
|
|
65
|
+
removeFile: 'Datei entfernen',
|
|
66
|
+
previewFile: 'Dateivorschau',
|
|
67
|
+
downloadFile: 'Datei herunterladen',
|
|
68
|
+
uploadError: 'Hochladen fehlgeschlagen',
|
|
69
|
+
previewUnavailable: 'Vorschau nicht verfügbar',
|
|
70
|
+
source: 'Quelle',
|
|
71
|
+
target: 'Ziel',
|
|
72
|
+
itemUnit: 'Element',
|
|
73
|
+
itemsUnit: 'Elemente',
|
|
74
|
+
selectAll: 'Alle auswählen',
|
|
75
|
+
deselectAll: 'Auswahl aufheben',
|
|
76
|
+
selectCurrent: 'Aktuelle Seite auswählen',
|
|
77
|
+
invertCurrent: 'Aktuelle Auswahl umkehren',
|
|
78
|
+
removeAll: 'Alle entfernen',
|
|
79
|
+
removeCurrent: 'Aktuelle Seite entfernen',
|
|
80
|
+
moveToTarget: 'Zum Ziel verschieben',
|
|
81
|
+
moveToSource: 'Zur Quelle verschieben',
|
|
82
|
+
clearSearch: 'Suche leeren',
|
|
83
|
+
calendarYear: 'Jahr',
|
|
84
|
+
calendarMonth: 'Monat',
|
|
85
|
+
calendarView: 'Kalenderansicht',
|
|
86
|
+
zoomIn: 'Vergrößern',
|
|
87
|
+
zoomOut: 'Verkleinern',
|
|
88
|
+
rotateLeft: 'Nach links drehen',
|
|
89
|
+
rotateRight: 'Nach rechts drehen',
|
|
90
|
+
flipX: 'Horizontal spiegeln',
|
|
91
|
+
flipY: 'Vertikal spiegeln',
|
|
92
|
+
colorMode: 'Farbmodus',
|
|
93
|
+
colorSingle: 'Einfarbig',
|
|
94
|
+
colorGradient: 'Farbverlauf',
|
|
95
|
+
colorStop: 'Farbstopp',
|
|
96
|
+
addColorStop: 'Farbstopp hinzufügen',
|
|
97
|
+
removeColorStop: 'Farbstopp entfernen',
|
|
98
|
+
colorPosition: 'Position',
|
|
99
|
+
colorStopPosition: 'Position des Farbstopps',
|
|
100
|
+
colorFormat: 'Farbformat',
|
|
101
|
+
colorHex: 'Hexadezimale Farbe',
|
|
102
|
+
colorRed: 'Rot',
|
|
103
|
+
colorGreen: 'Grün',
|
|
104
|
+
colorBlue: 'Blau',
|
|
105
|
+
colorHue: 'Farbton',
|
|
106
|
+
colorSaturation: 'Sättigung',
|
|
107
|
+
colorBrightness: 'Helligkeit',
|
|
108
|
+
colorAlpha: 'Deckkraft',
|
|
109
|
+
clearColor: 'Farbe entfernen',
|
|
110
|
+
colorPreset: 'Voreinstellung',
|
|
111
|
+
colorTransparent: 'Transparent',
|
|
112
|
+
chooseColor: 'Farbe auswählen',
|
|
113
|
+
colorPicker: 'Farbauswahl',
|
|
114
|
+
loadingQrCode: 'QR-Code wird geladen',
|
|
115
|
+
loadingNotification: 'Benachrichtigung wird geladen',
|
|
116
|
+
closeNotification: 'Benachrichtigung schließen',
|
|
117
|
+
floatingActions: 'Schwebende Aktionen',
|
|
118
|
+
breadcrumb: 'Navigationspfad',
|
|
119
|
+
showMore: 'Mehr anzeigen',
|
|
120
|
+
collapsePanel: 'Bereich reduzieren',
|
|
121
|
+
selectionActions: 'Auswahlaktionen',
|
|
122
|
+
more: 'Mehr',
|
|
123
|
+
scrollVertically: 'Vertikal scrollen',
|
|
124
|
+
scrollHorizontally: 'Horizontal scrollen',
|
|
125
|
+
filter: 'Filtern',
|
|
126
|
+
filterReset: 'Filter zurücksetzen',
|
|
127
|
+
page: (page)=>`Seite ${page}`,
|
|
128
|
+
selectRow: (label)=>`Zeile ${label} auswählen`,
|
|
129
|
+
moreUsers: (count)=>`${count} weitere Benutzer`,
|
|
130
|
+
resizePanels: (first, second)=>`Größe der Bereiche ${first} und ${second} ändern`,
|
|
131
|
+
backToTop: 'Nach oben',
|
|
132
|
+
successNotification: 'Erfolgsbenachrichtigung',
|
|
133
|
+
errorNotification: 'Fehlerbenachrichtigung',
|
|
134
|
+
warningNotification: 'Warnbenachrichtigung',
|
|
135
|
+
infoNotification: 'Informationsbenachrichtigung',
|
|
136
|
+
notification: 'Benachrichtigung',
|
|
137
|
+
removeFileError: 'Datei konnte nicht entfernt werden',
|
|
138
|
+
readFileError: 'Datei konnte nicht gelesen werden',
|
|
139
|
+
millisecond: 'Millisekunde',
|
|
140
|
+
meridiem: 'Vormittag/Nachmittag',
|
|
141
|
+
pageUnit: 'Seite',
|
|
142
|
+
itemCount: createItemCount('de-DE', {
|
|
143
|
+
one: '# Element',
|
|
144
|
+
other: '# Elemente'
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
form: createFormMessages({
|
|
148
|
+
default: "Validierungsfehler im Feld „${name}“",
|
|
149
|
+
required: "„${name}“ ist erforderlich",
|
|
150
|
+
enum: "„${name}“ muss einen der Werte [${enum}] enthalten",
|
|
151
|
+
whitespace: "„${name}“ darf nicht leer sein",
|
|
152
|
+
invalid: "„${name}“ muss dem Typ ${type} entsprechen",
|
|
153
|
+
dateFormat: "„${name}“ hat ein ungültiges Datumsformat",
|
|
154
|
+
dateParse: "„${name}“ konnte nicht als Datum gelesen werden",
|
|
155
|
+
dateInvalid: "„${name}“ ist kein gültiges Datum",
|
|
156
|
+
string: {
|
|
157
|
+
len: "„${name}“ muss genau ${len} Zeichen enthalten",
|
|
158
|
+
min: "„${name}“ muss mindestens ${min} Zeichen enthalten",
|
|
159
|
+
max: "„${name}“ darf höchstens ${max} Zeichen enthalten",
|
|
160
|
+
range: "„${name}“ muss zwischen ${min} und ${max} Zeichen enthalten"
|
|
161
|
+
},
|
|
162
|
+
number: {
|
|
163
|
+
len: "„${name}“ muss gleich ${len} sein",
|
|
164
|
+
min: "„${name}“ darf nicht kleiner als ${min} sein",
|
|
165
|
+
max: "„${name}“ darf nicht größer als ${max} sein",
|
|
166
|
+
range: "„${name}“ muss zwischen ${min} und ${max} liegen"
|
|
167
|
+
},
|
|
168
|
+
array: {
|
|
169
|
+
len: "„${name}“ muss genau ${len} Elemente enthalten",
|
|
170
|
+
min: "„${name}“ muss mindestens ${min} Elemente enthalten",
|
|
171
|
+
max: "„${name}“ darf höchstens ${max} Elemente enthalten",
|
|
172
|
+
range: "„${name}“ muss zwischen ${min} und ${max} Elemente enthalten"
|
|
173
|
+
},
|
|
174
|
+
pattern: "„${name}“ entspricht nicht dem Muster ${pattern}",
|
|
175
|
+
typeNames: {
|
|
176
|
+
string: 'Zeichenkette',
|
|
177
|
+
method: 'Funktion',
|
|
178
|
+
array: 'Liste',
|
|
179
|
+
object: 'Objekt',
|
|
180
|
+
number: 'Zahl',
|
|
181
|
+
date: 'Datum',
|
|
182
|
+
boolean: 'Wahrheitswert',
|
|
183
|
+
integer: 'Ganzzahl',
|
|
184
|
+
float: 'Dezimalzahl',
|
|
185
|
+
regexp: 'regulärer Ausdruck',
|
|
186
|
+
email: 'E-Mail-Adresse',
|
|
187
|
+
tel: 'Telefonnummer',
|
|
188
|
+
url: 'Webadresse',
|
|
189
|
+
hex: 'Hexadezimalwert'
|
|
190
|
+
}
|
|
191
|
+
})
|
|
192
|
+
});
|
|
193
|
+
const locales_de_DE = deDE;
|
|
194
|
+
export default locales_de_DE;
|
|
195
|
+
export { deDE };
|