antd-mobile 5.34.0 → 5.35.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/2x/bundle/antd-mobile.cjs.development.js +427 -1385
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +428 -1386
- package/2x/bundle/antd-mobile.es.js +6409 -7003
- package/2x/bundle/antd-mobile.umd.development.js +427 -1385
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/bundle/css-vars-patch.css +3 -3
- package/2x/bundle/style.css +6 -10
- package/2x/cjs/components/button/button.d.ts +1 -1
- package/2x/cjs/components/button/button.patch.css +3 -3
- package/2x/cjs/components/cascader-view/use-cascader-value-extend.js +10 -5
- package/2x/cjs/components/checkbox/native-input.js +1 -1
- package/2x/cjs/components/config-provider/config-provider.d.ts +3 -2
- package/2x/cjs/components/error-block/create-error-block.d.ts +1 -0
- package/2x/cjs/components/error-block/create-error-block.js +1 -0
- package/2x/cjs/components/error-block/index.d.ts +0 -1
- package/2x/cjs/components/error-block/index.js +2 -3
- package/2x/cjs/components/form/form-item.js +1 -0
- package/2x/cjs/components/form/form.js +2 -2
- package/2x/cjs/components/infinite-scroll/infinite-scroll.js +8 -4
- package/2x/cjs/components/picker-view/wheel.js +7 -4
- package/2x/cjs/components/popover/index.d.ts +1 -1
- package/2x/cjs/components/popover/popover.d.ts +1 -1
- package/2x/cjs/components/radio/radio.css +1 -1
- package/2x/cjs/components/radio/radio.d.ts +1 -1
- package/2x/cjs/components/radio/radio.js +5 -5
- package/2x/cjs/components/result-page/result-page.css +5 -5
- package/2x/cjs/components/swipe-action/swipe-action.d.ts +1 -1
- package/2x/cjs/components/text-area/text-area.css +0 -4
- package/2x/cjs/global/css-vars-patch.css +3 -3
- package/2x/cjs/index.d.ts +1 -1
- package/2x/cjs/index.js +6 -0
- package/2x/cjs/locales/hu-HU.d.ts +139 -0
- package/2x/cjs/locales/hu-HU.js +148 -0
- package/2x/cjs/locales/th-TH.d.ts +139 -0
- package/2x/cjs/locales/th-TH.js +149 -0
- package/2x/cjs/utils/with-default-props.js +8 -9
- package/2x/cjs/utils/with-stop-propagation.d.ts +1 -1
- package/2x/cjs/utils/with-stop-propagation.js +2 -1
- package/2x/es/components/button/button.d.ts +1 -1
- package/2x/es/components/button/button.patch.css +3 -3
- package/2x/es/components/cascader-view/use-cascader-value-extend.js +8 -3
- package/2x/es/components/checkbox/native-input.js +1 -1
- package/2x/es/components/config-provider/config-provider.d.ts +3 -2
- package/2x/es/components/error-block/create-error-block.d.ts +1 -0
- package/2x/es/components/error-block/create-error-block.js +1 -0
- package/2x/es/components/error-block/index.d.ts +0 -1
- package/2x/es/components/error-block/index.js +0 -1
- package/2x/es/components/form/form-item.js +1 -0
- package/2x/es/components/form/form.js +2 -2
- package/2x/es/components/infinite-scroll/infinite-scroll.js +8 -4
- package/2x/es/components/picker-view/wheel.js +6 -3
- package/2x/es/components/popover/index.d.ts +1 -1
- package/2x/es/components/popover/popover.d.ts +1 -1
- package/2x/es/components/radio/radio.css +1 -1
- package/2x/es/components/radio/radio.d.ts +1 -1
- package/2x/es/components/radio/radio.js +4 -4
- package/2x/es/components/result-page/result-page.css +5 -5
- package/2x/es/components/swipe-action/swipe-action.d.ts +1 -1
- package/2x/es/components/text-area/text-area.css +0 -4
- package/2x/es/global/css-vars-patch.css +3 -3
- package/2x/es/index.d.ts +1 -1
- package/2x/es/index.js +1 -1
- package/2x/es/locales/hu-HU.d.ts +139 -0
- package/2x/es/locales/hu-HU.js +140 -0
- package/2x/es/locales/th-TH.d.ts +139 -0
- package/2x/es/locales/th-TH.js +142 -0
- package/2x/es/utils/with-default-props.js +8 -8
- package/2x/es/utils/with-stop-propagation.d.ts +1 -1
- package/2x/es/utils/with-stop-propagation.js +2 -1
- package/2x/package.json +11 -3
- package/bundle/antd-mobile.cjs.development.js +427 -1385
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +428 -1386
- package/bundle/antd-mobile.es.js +6409 -7003
- package/bundle/antd-mobile.umd.development.js +427 -1385
- package/bundle/antd-mobile.umd.js +7 -7
- package/bundle/css-vars-patch.css +3 -3
- package/bundle/style.css +1 -1
- package/cjs/components/button/button.d.ts +1 -1
- package/cjs/components/button/button.patch.css +3 -3
- package/cjs/components/cascader-view/use-cascader-value-extend.js +10 -5
- package/cjs/components/checkbox/native-input.js +1 -1
- package/cjs/components/config-provider/config-provider.d.ts +3 -2
- package/cjs/components/error-block/create-error-block.d.ts +1 -0
- package/cjs/components/error-block/create-error-block.js +1 -0
- package/cjs/components/error-block/index.d.ts +0 -1
- package/cjs/components/error-block/index.js +2 -3
- package/cjs/components/form/form-item.js +1 -0
- package/cjs/components/form/form.js +2 -2
- package/cjs/components/infinite-scroll/infinite-scroll.js +8 -4
- package/cjs/components/picker-view/wheel.js +7 -4
- package/cjs/components/popover/index.d.ts +1 -1
- package/cjs/components/popover/popover.d.ts +1 -1
- package/cjs/components/radio/radio.css +1 -1
- package/cjs/components/radio/radio.d.ts +1 -1
- package/cjs/components/radio/radio.js +5 -5
- package/cjs/components/result-page/result-page.css +5 -5
- package/cjs/components/swipe-action/swipe-action.d.ts +1 -1
- package/cjs/components/text-area/text-area.css +0 -3
- package/cjs/global/css-vars-patch.css +3 -3
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +6 -0
- package/cjs/locales/hu-HU.d.ts +139 -0
- package/cjs/locales/hu-HU.js +148 -0
- package/cjs/locales/th-TH.d.ts +139 -0
- package/cjs/locales/th-TH.js +149 -0
- package/cjs/utils/with-default-props.js +8 -9
- package/cjs/utils/with-stop-propagation.d.ts +1 -1
- package/cjs/utils/with-stop-propagation.js +2 -1
- package/es/components/button/button.d.ts +1 -1
- package/es/components/button/button.patch.css +3 -3
- package/es/components/cascader-view/use-cascader-value-extend.js +8 -3
- package/es/components/checkbox/native-input.js +1 -1
- package/es/components/config-provider/config-provider.d.ts +3 -2
- package/es/components/error-block/create-error-block.d.ts +1 -0
- package/es/components/error-block/create-error-block.js +1 -0
- package/es/components/error-block/index.d.ts +0 -1
- package/es/components/error-block/index.js +0 -1
- package/es/components/form/form-item.js +1 -0
- package/es/components/form/form.js +2 -2
- package/es/components/infinite-scroll/infinite-scroll.js +8 -4
- package/es/components/picker-view/wheel.js +6 -3
- package/es/components/popover/index.d.ts +1 -1
- package/es/components/popover/popover.d.ts +1 -1
- package/es/components/radio/radio.css +1 -1
- package/es/components/radio/radio.d.ts +1 -1
- package/es/components/radio/radio.js +4 -4
- package/es/components/result-page/result-page.css +5 -5
- package/es/components/swipe-action/swipe-action.d.ts +1 -1
- package/es/components/text-area/text-area.css +0 -3
- package/es/global/css-vars-patch.css +3 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locales/hu-HU.d.ts +139 -0
- package/es/locales/hu-HU.js +140 -0
- package/es/locales/th-TH.d.ts +139 -0
- package/es/locales/th-TH.js +142 -0
- package/es/utils/with-default-props.js +8 -8
- package/es/utils/with-stop-propagation.d.ts +1 -1
- package/es/utils/with-stop-propagation.js +2 -1
- package/package.json +11 -3
- package/umd/antd-mobile.js +1 -1
|
@@ -14,7 +14,7 @@ declare const _default: import("react").ForwardRefExoticComponent<{
|
|
|
14
14
|
mode?: "dark" | "light" | undefined;
|
|
15
15
|
trigger?: "click" | undefined;
|
|
16
16
|
placement?: DeprecatedPlacement | Placement | undefined;
|
|
17
|
-
stopPropagation?: "
|
|
17
|
+
stopPropagation?: import("../../utils/with-stop-propagation").PropagationEvent[] | undefined;
|
|
18
18
|
content: import("react").ReactNode;
|
|
19
19
|
} & {
|
|
20
20
|
className?: string | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const Popover: React.ForwardRefExoticComponent<{
|
|
|
32
32
|
mode?: "dark" | "light" | undefined;
|
|
33
33
|
trigger?: "click" | undefined;
|
|
34
34
|
placement?: DeprecatedPlacement | Placement | undefined;
|
|
35
|
-
stopPropagation?:
|
|
35
|
+
stopPropagation?: PropagationEvent[] | undefined;
|
|
36
36
|
content: ReactNode;
|
|
37
37
|
} & {
|
|
38
38
|
className?: string | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import classNames from 'classnames';
|
|
1
2
|
import React, { useContext } from 'react';
|
|
3
|
+
import { devWarning } from '../../utils/dev-log';
|
|
4
|
+
import { isDev } from '../../utils/is-dev';
|
|
2
5
|
import { withNativeProps } from '../../utils/native-props';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import { RadioGroupContext } from './group-context';
|
|
5
6
|
import { usePropsValue } from '../../utils/use-props-value';
|
|
6
7
|
import { mergeProps } from '../../utils/with-default-props';
|
|
7
8
|
import { CheckIcon } from '../checkbox/check-icon';
|
|
8
|
-
import { devWarning } from '../../utils/dev-log';
|
|
9
|
-
import { isDev } from '../../utils/is-dev';
|
|
10
9
|
import { NativeInput } from '../checkbox/native-input';
|
|
10
|
+
import { RadioGroupContext } from './group-context';
|
|
11
11
|
const classPrefix = `adm-radio`;
|
|
12
12
|
const defaultProps = {
|
|
13
13
|
defaultChecked: false
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.adm-result-page-icon {
|
|
22
|
-
color: var(--adm-color-
|
|
22
|
+
color: var(--adm-color-text-light-solid);
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
padding: 4px;
|
|
25
25
|
margin-bottom: 16px;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
.adm-result-page-title {
|
|
33
33
|
font-size: var(--adm-font-size-10);
|
|
34
|
-
color: var(--adm-color-
|
|
34
|
+
color: var(--adm-color-text-light-solid);
|
|
35
35
|
line-height: 1.4;
|
|
36
36
|
text-align: center;
|
|
37
37
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
flex-direction: row;
|
|
56
56
|
justify-content: space-between;
|
|
57
57
|
margin-bottom: 10px;
|
|
58
|
-
color: var(--adm-color-
|
|
58
|
+
color: var(--adm-color-text-light-solid);
|
|
59
59
|
font-size: var(--adm-font-size-6);
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
height: 20px;
|
|
70
70
|
margin: auto;
|
|
71
71
|
margin-bottom: 10px;
|
|
72
|
-
border-top: 4px solid var(--adm-color-
|
|
73
|
-
border-right: 4px solid var(--adm-color-
|
|
72
|
+
border-top: 4px solid var(--adm-color-text-light-solid);
|
|
73
|
+
border-right: 4px solid var(--adm-color-text-light-solid);
|
|
74
74
|
transform: rotate(135deg);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -31,7 +31,7 @@ export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
|
31
31
|
closeOnTouchOutside?: boolean | undefined;
|
|
32
32
|
closeOnAction?: boolean | undefined;
|
|
33
33
|
children: ReactNode;
|
|
34
|
-
stopPropagation?:
|
|
34
|
+
stopPropagation?: PropagationEvent[] | undefined;
|
|
35
35
|
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
className?: string | undefined;
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.adm-button-danger {
|
|
62
|
-
background-color: #
|
|
63
|
-
border-color: #
|
|
62
|
+
background-color: #ff3141;
|
|
63
|
+
border-color: #ff3141;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.adm-button-danger.adm-button-fill-outline,
|
|
67
67
|
.adm-button-danger.adm-button-fill-none {
|
|
68
|
-
color: #
|
|
68
|
+
color: #ff3141;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.adm-button-warning {
|
package/2x/es/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export { default as Checkbox } from './components/checkbox';
|
|
|
36
36
|
export type { CheckboxProps, CheckboxGroupProps, CheckboxRef, } from './components/checkbox';
|
|
37
37
|
export { default as Collapse } from './components/collapse';
|
|
38
38
|
export type { CollapseProps, CollapsePanelProps } from './components/collapse';
|
|
39
|
-
export { default as ConfigProvider } from './components/config-provider';
|
|
39
|
+
export { default as ConfigProvider, useConfig } from './components/config-provider';
|
|
40
40
|
export type { ConfigProviderProps } from './components/config-provider';
|
|
41
41
|
export { default as DatePicker } from './components/date-picker';
|
|
42
42
|
export type { DatePickerProps, DatePickerRef } from './components/date-picker';
|
package/2x/es/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { default as CenterPopup } from './components/center-popup';
|
|
|
18
18
|
export { default as CheckList } from './components/check-list';
|
|
19
19
|
export { default as Checkbox } from './components/checkbox';
|
|
20
20
|
export { default as Collapse } from './components/collapse';
|
|
21
|
-
export { default as ConfigProvider } from './components/config-provider';
|
|
21
|
+
export { default as ConfigProvider, useConfig } from './components/config-provider';
|
|
22
22
|
export { default as DatePicker } from './components/date-picker';
|
|
23
23
|
export { default as DatePickerView } from './components/date-picker-view';
|
|
24
24
|
export { default as Dialog } from './components/dialog';
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export declare const huHU: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export default huHU;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { mergeLocale } from '../utils/merge-locale';
|
|
2
|
+
import { base } from './base';
|
|
3
|
+
const typeTemplate = '${label} is not a valid ${type}';
|
|
4
|
+
export const huHU = mergeLocale(base, {
|
|
5
|
+
locale: 'hu',
|
|
6
|
+
common: {
|
|
7
|
+
confirm: 'Alkalmazás',
|
|
8
|
+
cancel: 'Visszavonás',
|
|
9
|
+
loading: 'Betöltés',
|
|
10
|
+
close: 'Bezárás'
|
|
11
|
+
},
|
|
12
|
+
Calendar: {
|
|
13
|
+
title: 'Dátum kiválasztása',
|
|
14
|
+
confirm: 'Alkalmazás',
|
|
15
|
+
today: 'ma',
|
|
16
|
+
markItems: ['Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo', 'Vas'],
|
|
17
|
+
yearAndMonth: '${year}-${month}'
|
|
18
|
+
},
|
|
19
|
+
Cascader: {
|
|
20
|
+
placeholder: 'Kiválasztás'
|
|
21
|
+
},
|
|
22
|
+
Dialog: {
|
|
23
|
+
ok: 'OK'
|
|
24
|
+
},
|
|
25
|
+
DatePicker: {
|
|
26
|
+
tillNow: 'Till Now'
|
|
27
|
+
},
|
|
28
|
+
ErrorBlock: {
|
|
29
|
+
default: {
|
|
30
|
+
title: 'Oopsz, valami hiba történt',
|
|
31
|
+
description: 'Kérjük, várjon egy percet, és próbálja újra'
|
|
32
|
+
},
|
|
33
|
+
busy: {
|
|
34
|
+
title: 'Oopsz, nem sikerült betölteni',
|
|
35
|
+
description: 'Próbálja meg frissíteni az oldalt'
|
|
36
|
+
},
|
|
37
|
+
disconnected: {
|
|
38
|
+
title: 'A hálózat elfoglalt',
|
|
39
|
+
description: 'Próbálja meg frissíteni az oldalt'
|
|
40
|
+
},
|
|
41
|
+
empty: {
|
|
42
|
+
title: "Hmm, nem találjuk amit keresel...",
|
|
43
|
+
description: 'Szeretnél új keresést indítani?'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
Form: {
|
|
47
|
+
required: 'Kötelező',
|
|
48
|
+
optional: 'Opcionális',
|
|
49
|
+
defaultValidateMessages: {
|
|
50
|
+
default: 'Mező validációs hiba ${label}',
|
|
51
|
+
required: 'Mező kitöltése kötelező ${label}',
|
|
52
|
+
enum: '${label} tatroznia kell [${enum}]',
|
|
53
|
+
whitespace: '${label} nem lehet üres karakter',
|
|
54
|
+
date: {
|
|
55
|
+
format: '${label} dátum formátuma érvénytelen',
|
|
56
|
+
parse: '${label} nem alakítható dátummá',
|
|
57
|
+
invalid: '${label} nem érvényes dátum'
|
|
58
|
+
},
|
|
59
|
+
types: {
|
|
60
|
+
string: typeTemplate,
|
|
61
|
+
method: typeTemplate,
|
|
62
|
+
array: typeTemplate,
|
|
63
|
+
object: typeTemplate,
|
|
64
|
+
number: typeTemplate,
|
|
65
|
+
date: typeTemplate,
|
|
66
|
+
boolean: typeTemplate,
|
|
67
|
+
integer: typeTemplate,
|
|
68
|
+
float: typeTemplate,
|
|
69
|
+
regexp: typeTemplate,
|
|
70
|
+
email: typeTemplate,
|
|
71
|
+
url: typeTemplate,
|
|
72
|
+
hex: typeTemplate
|
|
73
|
+
},
|
|
74
|
+
string: {
|
|
75
|
+
len: '${label} muszáj hogy ${len} karakter hosszú legyen',
|
|
76
|
+
min: '${label} muszáj hogy legalább ${min} karakter hosszú legyen',
|
|
77
|
+
max: '${label} muszáj hogy maximum ${max} karakter hosszú legyen',
|
|
78
|
+
range: '${label} muszáj hogy ${min}-${max} karakter hosszú legyen'
|
|
79
|
+
},
|
|
80
|
+
number: {
|
|
81
|
+
len: '${label} muszáj hogy ${len} legyen',
|
|
82
|
+
min: '${label} legalább ${min} legyen',
|
|
83
|
+
max: '${label} maximum ${max} lehet',
|
|
84
|
+
range: '${label} muszáj hogy ${min}-${max} között legyen'
|
|
85
|
+
},
|
|
86
|
+
array: {
|
|
87
|
+
len: 'Muszáj ${len} legyen ${label}',
|
|
88
|
+
min: 'Legalább ${min} ${label}',
|
|
89
|
+
max: 'Maximum ${max} ${label}',
|
|
90
|
+
range: '${label} értéke ${min}-${max} között kell legyen'
|
|
91
|
+
},
|
|
92
|
+
pattern: {
|
|
93
|
+
mismatch: '${label} nem hasonlít ${pattern}'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
ImageUploader: {
|
|
98
|
+
uploading: 'Feltöltés...',
|
|
99
|
+
upload: 'Feltöltés'
|
|
100
|
+
},
|
|
101
|
+
InfiniteScroll: {
|
|
102
|
+
noMore: 'Nincs több',
|
|
103
|
+
failedToLoad: 'Nem sikerült betölteni',
|
|
104
|
+
retry: 'Újra'
|
|
105
|
+
},
|
|
106
|
+
Input: {
|
|
107
|
+
clear: 'Törlés'
|
|
108
|
+
},
|
|
109
|
+
Mask: {
|
|
110
|
+
name: 'Maszk'
|
|
111
|
+
},
|
|
112
|
+
Modal: {
|
|
113
|
+
ok: 'OK'
|
|
114
|
+
},
|
|
115
|
+
PasscodeInput: {
|
|
116
|
+
name: 'PIN-kód'
|
|
117
|
+
},
|
|
118
|
+
PullToRefresh: {
|
|
119
|
+
pulling: 'Görgessen le a frissítéshez',
|
|
120
|
+
canRelease: 'Engedje el az azonnalli frissítéshez',
|
|
121
|
+
complete: 'Sikeresen frissítve'
|
|
122
|
+
},
|
|
123
|
+
SearchBar: {
|
|
124
|
+
name: 'Keresés'
|
|
125
|
+
},
|
|
126
|
+
Slider: {
|
|
127
|
+
name: 'Csúszka'
|
|
128
|
+
},
|
|
129
|
+
Stepper: {
|
|
130
|
+
decrease: 'csökkentés',
|
|
131
|
+
increase: 'növelés'
|
|
132
|
+
},
|
|
133
|
+
Switch: {
|
|
134
|
+
name: 'Kapcsoló'
|
|
135
|
+
},
|
|
136
|
+
Selector: {
|
|
137
|
+
name: 'Kiválasztás'
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
export default huHU;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const thTH: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export default thTH;
|