antd-mobile 5.37.1 → 5.38.1
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/README.md +2 -2
- package/2x/bundle/antd-mobile.cjs.development.js +2276 -1113
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +2279 -1116
- package/2x/bundle/antd-mobile.es.js +7914 -7141
- package/2x/bundle/antd-mobile.umd.development.js +2276 -1113
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/bundle/css-vars-patch.css +42 -0
- package/2x/bundle/style.css +142 -4
- package/2x/cjs/components/calendar-picker-view/calendar-picker-view.d.ts +1 -1
- package/2x/cjs/components/calendar-picker-view/calendar-picker-view.js +31 -10
- package/2x/cjs/components/card/card.css +1 -0
- package/2x/cjs/components/card/card.d.ts +2 -1
- package/2x/cjs/components/card/card.js +7 -3
- package/2x/cjs/components/card/card.patch.css +8 -0
- package/2x/cjs/components/date-picker/date-picker-quarter-utils.d.ts +7 -0
- package/2x/cjs/components/date-picker/date-picker-quarter-utils.js +77 -0
- package/2x/cjs/components/date-picker/date-picker-utils.d.ts +3 -2
- package/2x/cjs/components/date-picker/date-picker-utils.js +7 -0
- package/2x/cjs/components/ellipsis/ellipsis.css +1 -0
- package/2x/cjs/components/ellipsis/ellipsis.d.ts +1 -1
- package/2x/cjs/components/ellipsis/ellipsis.js +28 -124
- package/2x/cjs/components/ellipsis/useMeasure.d.ts +2 -0
- package/2x/cjs/components/ellipsis/useMeasure.js +108 -0
- package/2x/cjs/components/ellipsis/~ellipsis.d.ts +15 -0
- package/2x/cjs/components/ellipsis/~ellipsis.js +161 -0
- package/2x/cjs/components/image-uploader/image-uploader.js +2 -2
- package/2x/cjs/components/input/input.d.ts +2 -2
- package/2x/cjs/components/input/input.js +1 -0
- package/2x/cjs/components/notice-bar/notice-bar.css +30 -4
- package/2x/cjs/components/notice-bar/notice-bar.d.ts +5 -1
- package/2x/cjs/components/notice-bar/notice-bar.js +7 -3
- package/2x/cjs/components/search-bar/search-bar.d.ts +2 -2
- package/2x/cjs/components/search-bar/search-bar.js +1 -0
- package/2x/cjs/components/segmented/index.d.ts +4 -0
- package/2x/cjs/components/segmented/index.js +10 -0
- package/2x/cjs/components/segmented/segmented.css +113 -0
- package/2x/cjs/components/segmented/segmented.d.ts +21 -0
- package/2x/cjs/components/segmented/segmented.js +57 -0
- package/2x/cjs/components/segmented/segmented.patch.css +41 -0
- package/2x/cjs/components/tab-bar/tab-bar.d.ts +1 -0
- package/2x/cjs/components/tab-bar/tab-bar.js +2 -0
- package/2x/cjs/components/tabs/tabs.js +1 -1
- package/2x/cjs/components/toast/methods.js +9 -3
- package/2x/cjs/global/css-vars-patch.css +42 -0
- package/2x/cjs/index.d.ts +2 -0
- package/2x/cjs/index.js +7 -0
- package/2x/cjs/locales/cnr-ME.d.ts +139 -0
- package/2x/cjs/locales/cnr-ME.js +149 -0
- package/2x/cjs/locales/hr-HR.d.ts +139 -0
- package/2x/cjs/locales/hr-HR.js +149 -0
- package/2x/cjs/locales/kk-KZ.js +6 -6
- package/2x/cjs/locales/sr-RS.d.ts +139 -0
- package/2x/cjs/locales/sr-RS.js +149 -0
- package/2x/cjs/utils/render-imperatively.d.ts +1 -0
- package/2x/cjs/utils/render-imperatively.js +6 -3
- package/2x/es/components/calendar-picker-view/calendar-picker-view.d.ts +1 -1
- package/2x/es/components/calendar-picker-view/calendar-picker-view.js +32 -11
- package/2x/es/components/card/card.css +1 -0
- package/2x/es/components/card/card.d.ts +2 -1
- package/2x/es/components/card/card.js +7 -3
- package/2x/es/components/card/card.patch.css +8 -0
- package/2x/es/components/date-picker/date-picker-quarter-utils.d.ts +7 -0
- package/2x/es/components/date-picker/date-picker-quarter-utils.js +68 -0
- package/2x/es/components/date-picker/date-picker-utils.d.ts +3 -2
- package/2x/es/components/date-picker/date-picker-utils.js +7 -0
- package/2x/es/components/ellipsis/ellipsis.css +1 -0
- package/2x/es/components/ellipsis/ellipsis.d.ts +1 -1
- package/2x/es/components/ellipsis/ellipsis.js +28 -122
- package/2x/es/components/ellipsis/useMeasure.d.ts +2 -0
- package/2x/es/components/ellipsis/useMeasure.js +101 -0
- package/2x/es/components/ellipsis/~ellipsis.d.ts +15 -0
- package/2x/es/components/ellipsis/~ellipsis.js +151 -0
- package/2x/es/components/image-uploader/image-uploader.js +2 -2
- package/2x/es/components/input/input.d.ts +2 -2
- package/2x/es/components/input/input.js +1 -0
- package/2x/es/components/notice-bar/notice-bar.css +30 -4
- package/2x/es/components/notice-bar/notice-bar.d.ts +5 -1
- package/2x/es/components/notice-bar/notice-bar.js +7 -3
- package/2x/es/components/search-bar/search-bar.d.ts +2 -2
- package/2x/es/components/search-bar/search-bar.js +1 -0
- package/2x/es/components/segmented/index.d.ts +4 -0
- package/2x/es/components/segmented/index.js +3 -0
- package/2x/es/components/segmented/segmented.css +113 -0
- package/2x/es/components/segmented/segmented.d.ts +21 -0
- package/2x/es/components/segmented/segmented.js +48 -0
- package/2x/es/components/segmented/segmented.patch.css +41 -0
- package/2x/es/components/tab-bar/tab-bar.d.ts +1 -0
- package/2x/es/components/tab-bar/tab-bar.js +2 -0
- package/2x/es/components/tabs/tabs.js +1 -1
- package/2x/es/components/toast/methods.js +9 -3
- package/2x/es/global/css-vars-patch.css +42 -0
- package/2x/es/index.d.ts +2 -0
- package/2x/es/index.js +1 -0
- package/2x/es/locales/cnr-ME.d.ts +139 -0
- package/2x/es/locales/cnr-ME.js +142 -0
- package/2x/es/locales/hr-HR.d.ts +139 -0
- package/2x/es/locales/hr-HR.js +142 -0
- package/2x/es/locales/kk-KZ.js +6 -6
- package/2x/es/locales/sr-RS.d.ts +139 -0
- package/2x/es/locales/sr-RS.js +142 -0
- package/2x/es/utils/render-imperatively.d.ts +1 -0
- package/2x/es/utils/render-imperatively.js +6 -3
- package/2x/package.json +3 -2
- package/README.md +2 -2
- package/bundle/antd-mobile.cjs.development.js +2276 -1113
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +2279 -1116
- package/bundle/antd-mobile.es.js +7914 -7141
- package/bundle/antd-mobile.umd.development.js +2276 -1113
- package/bundle/antd-mobile.umd.js +7 -7
- package/bundle/css-vars-patch.css +32 -0
- package/bundle/style.css +1 -1
- package/cjs/components/calendar-picker-view/calendar-picker-view.d.ts +1 -1
- package/cjs/components/calendar-picker-view/calendar-picker-view.js +31 -10
- package/cjs/components/card/card.css +1 -0
- package/cjs/components/card/card.d.ts +2 -1
- package/cjs/components/card/card.js +7 -3
- package/cjs/components/card/card.patch.css +6 -0
- package/cjs/components/date-picker/date-picker-quarter-utils.d.ts +7 -0
- package/cjs/components/date-picker/date-picker-quarter-utils.js +77 -0
- package/cjs/components/date-picker/date-picker-utils.d.ts +3 -2
- package/cjs/components/date-picker/date-picker-utils.js +7 -0
- package/cjs/components/ellipsis/ellipsis.css +1 -0
- package/cjs/components/ellipsis/ellipsis.d.ts +1 -1
- package/cjs/components/ellipsis/ellipsis.js +28 -124
- package/cjs/components/ellipsis/useMeasure.d.ts +2 -0
- package/cjs/components/ellipsis/useMeasure.js +108 -0
- package/cjs/components/ellipsis/~ellipsis.d.ts +15 -0
- package/cjs/components/ellipsis/~ellipsis.js +161 -0
- package/cjs/components/image-uploader/image-uploader.js +2 -2
- package/cjs/components/input/input.d.ts +2 -2
- package/cjs/components/input/input.js +1 -0
- package/cjs/components/notice-bar/notice-bar.css +25 -4
- package/cjs/components/notice-bar/notice-bar.d.ts +5 -1
- package/cjs/components/notice-bar/notice-bar.js +7 -3
- package/cjs/components/search-bar/search-bar.d.ts +2 -2
- package/cjs/components/search-bar/search-bar.js +1 -0
- package/cjs/components/segmented/index.d.ts +4 -0
- package/cjs/components/segmented/index.js +10 -0
- package/cjs/components/segmented/segmented.css +97 -0
- package/cjs/components/segmented/segmented.d.ts +21 -0
- package/cjs/components/segmented/segmented.js +57 -0
- package/cjs/components/segmented/segmented.patch.css +32 -0
- package/cjs/components/tab-bar/tab-bar.d.ts +1 -0
- package/cjs/components/tab-bar/tab-bar.js +2 -0
- package/cjs/components/tabs/tabs.js +1 -1
- package/cjs/components/toast/methods.js +9 -3
- package/cjs/global/css-vars-patch.css +32 -0
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +7 -0
- package/cjs/locales/cnr-ME.d.ts +139 -0
- package/cjs/locales/cnr-ME.js +149 -0
- package/cjs/locales/hr-HR.d.ts +139 -0
- package/cjs/locales/hr-HR.js +149 -0
- package/cjs/locales/kk-KZ.js +6 -6
- package/cjs/locales/sr-RS.d.ts +139 -0
- package/cjs/locales/sr-RS.js +149 -0
- package/cjs/utils/render-imperatively.d.ts +1 -0
- package/cjs/utils/render-imperatively.js +6 -3
- package/es/components/calendar-picker-view/calendar-picker-view.d.ts +1 -1
- package/es/components/calendar-picker-view/calendar-picker-view.js +32 -11
- package/es/components/card/card.css +1 -0
- package/es/components/card/card.d.ts +2 -1
- package/es/components/card/card.js +7 -3
- package/es/components/card/card.patch.css +6 -0
- package/es/components/date-picker/date-picker-quarter-utils.d.ts +7 -0
- package/es/components/date-picker/date-picker-quarter-utils.js +68 -0
- package/es/components/date-picker/date-picker-utils.d.ts +3 -2
- package/es/components/date-picker/date-picker-utils.js +7 -0
- package/es/components/ellipsis/ellipsis.css +1 -0
- package/es/components/ellipsis/ellipsis.d.ts +1 -1
- package/es/components/ellipsis/ellipsis.js +28 -122
- package/es/components/ellipsis/useMeasure.d.ts +2 -0
- package/es/components/ellipsis/useMeasure.js +101 -0
- package/es/components/ellipsis/~ellipsis.d.ts +15 -0
- package/es/components/ellipsis/~ellipsis.js +151 -0
- package/es/components/image-uploader/image-uploader.js +2 -2
- package/es/components/input/input.d.ts +2 -2
- package/es/components/input/input.js +1 -0
- package/es/components/notice-bar/notice-bar.css +25 -4
- package/es/components/notice-bar/notice-bar.d.ts +5 -1
- package/es/components/notice-bar/notice-bar.js +7 -3
- package/es/components/search-bar/search-bar.d.ts +2 -2
- package/es/components/search-bar/search-bar.js +1 -0
- package/es/components/segmented/index.d.ts +4 -0
- package/es/components/segmented/index.js +3 -0
- package/es/components/segmented/segmented.css +97 -0
- package/es/components/segmented/segmented.d.ts +21 -0
- package/es/components/segmented/segmented.js +48 -0
- package/es/components/segmented/segmented.patch.css +32 -0
- package/es/components/tab-bar/tab-bar.d.ts +1 -0
- package/es/components/tab-bar/tab-bar.js +2 -0
- package/es/components/tabs/tabs.js +1 -1
- package/es/components/toast/methods.js +9 -3
- package/es/global/css-vars-patch.css +32 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -0
- package/es/locales/cnr-ME.d.ts +139 -0
- package/es/locales/cnr-ME.js +142 -0
- package/es/locales/hr-HR.d.ts +139 -0
- package/es/locales/hr-HR.js +142 -0
- package/es/locales/kk-KZ.js +6 -6
- package/es/locales/sr-RS.d.ts +139 -0
- package/es/locales/sr-RS.js +142 -0
- package/es/utils/render-imperatively.d.ts +1 -0
- package/es/utils/render-imperatively.js +6 -3
- package/package.json +3 -2
- package/umd/antd-mobile.js +1 -1
|
@@ -246,6 +246,38 @@
|
|
|
246
246
|
.adm-space-horizontal.adm-space-wrap > .adm-space-item {
|
|
247
247
|
padding-bottom: 8px;
|
|
248
248
|
}
|
|
249
|
+
.adm-segmented {
|
|
250
|
+
color: #666;
|
|
251
|
+
background-color: #f5f5f5;
|
|
252
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
253
|
+
}
|
|
254
|
+
.adm-segmented-item {
|
|
255
|
+
transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
256
|
+
}
|
|
257
|
+
.adm-segmented-item-selected {
|
|
258
|
+
background-color: #fff;
|
|
259
|
+
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 4px -1px rgba(0, 0, 0, 0.07), 0 0 1px 0 rgba(0, 0, 0, 0.08);
|
|
260
|
+
color: #333;
|
|
261
|
+
}
|
|
262
|
+
.adm-segmented-item-disabled {
|
|
263
|
+
color: #999;
|
|
264
|
+
}
|
|
265
|
+
.adm-segmented-thumb {
|
|
266
|
+
background-color: #fff;
|
|
267
|
+
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 4px -1px rgba(0, 0, 0, 0.07), 0 0 1px 0 rgba(0, 0, 0, 0.08);
|
|
268
|
+
}
|
|
269
|
+
.adm-segmented-thumb-motion-appear-active {
|
|
270
|
+
transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
271
|
+
}
|
|
272
|
+
/* ---- mixins part starts ---- */
|
|
273
|
+
.segmented-disabled-item {
|
|
274
|
+
color: #999;
|
|
275
|
+
}
|
|
276
|
+
.segmented-item-selected {
|
|
277
|
+
background-color: #fff;
|
|
278
|
+
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 4px -1px rgba(0, 0, 0, 0.07), 0 0 1px 0 rgba(0, 0, 0, 0.08);
|
|
279
|
+
}
|
|
280
|
+
/* ---- mixins part ends ---- */
|
|
249
281
|
.adm-spin-loading {
|
|
250
282
|
width: 32px;
|
|
251
283
|
height: 32px;
|
package/cjs/index.d.ts
CHANGED
|
@@ -124,6 +124,8 @@ export { default as ScrollMask } from './components/scroll-mask';
|
|
|
124
124
|
export type { ScrollMaskProps } from './components/scroll-mask';
|
|
125
125
|
export { default as SearchBar } from './components/search-bar';
|
|
126
126
|
export type { SearchBarProps, SearchBarRef } from './components/search-bar';
|
|
127
|
+
export { default as Segmented } from './components/segmented';
|
|
128
|
+
export type { SegmentedProps, SegmentedValue } from './components/segmented';
|
|
127
129
|
export { default as Selector } from './components/selector';
|
|
128
130
|
export type { SelectorProps, SelectorOption } from './components/selector';
|
|
129
131
|
export { default as SideBar } from './components/side-bar';
|
package/cjs/index.js
CHANGED
|
@@ -381,6 +381,12 @@ Object.defineProperty(exports, "SearchBar", {
|
|
|
381
381
|
return _searchBar.default;
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
|
+
Object.defineProperty(exports, "Segmented", {
|
|
385
|
+
enumerable: true,
|
|
386
|
+
get: function () {
|
|
387
|
+
return _segmented.default;
|
|
388
|
+
}
|
|
389
|
+
});
|
|
384
390
|
Object.defineProperty(exports, "Selector", {
|
|
385
391
|
enumerable: true,
|
|
386
392
|
get: function () {
|
|
@@ -588,6 +594,7 @@ var _resultPage = _interopRequireDefault(require("./components/result-page"));
|
|
|
588
594
|
var _safeArea = _interopRequireDefault(require("./components/safe-area"));
|
|
589
595
|
var _scrollMask = _interopRequireDefault(require("./components/scroll-mask"));
|
|
590
596
|
var _searchBar = _interopRequireDefault(require("./components/search-bar"));
|
|
597
|
+
var _segmented = _interopRequireDefault(require("./components/segmented"));
|
|
591
598
|
var _selector = _interopRequireDefault(require("./components/selector"));
|
|
592
599
|
var _sideBar = _interopRequireDefault(require("./components/side-bar"));
|
|
593
600
|
var _skeleton = _interopRequireDefault(require("./components/skeleton"));
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const cnrME: {
|
|
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 cnrME;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _mergeLocale = require("../utils/merge-locale");
|
|
8
|
+
var _base = require("./base");
|
|
9
|
+
const typeTemplate = '${label} nije važeći ${type}';
|
|
10
|
+
const cnrME = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
11
|
+
locale: 'cnr',
|
|
12
|
+
common: {
|
|
13
|
+
confirm: 'Potvrdi',
|
|
14
|
+
cancel: 'Otkaži',
|
|
15
|
+
loading: 'Učitavanje',
|
|
16
|
+
close: 'Zatvori'
|
|
17
|
+
},
|
|
18
|
+
Calendar: {
|
|
19
|
+
title: 'Izbor datuma',
|
|
20
|
+
confirm: 'Potvrdi',
|
|
21
|
+
start: 'početak',
|
|
22
|
+
end: 'kraj',
|
|
23
|
+
today: 'danas',
|
|
24
|
+
markItems: ['Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub', 'Ned'],
|
|
25
|
+
yearAndMonth: '${year}/${month}'
|
|
26
|
+
},
|
|
27
|
+
Cascader: {
|
|
28
|
+
placeholder: 'Odabir'
|
|
29
|
+
},
|
|
30
|
+
Dialog: {
|
|
31
|
+
ok: 'U redu'
|
|
32
|
+
},
|
|
33
|
+
DatePicker: {
|
|
34
|
+
tillNow: 'Do sada'
|
|
35
|
+
},
|
|
36
|
+
ErrorBlock: {
|
|
37
|
+
default: {
|
|
38
|
+
title: 'Ups, nešto je pošlo po zlu',
|
|
39
|
+
description: 'Molimo sačekajte trenutak i pokušajte ponovo'
|
|
40
|
+
},
|
|
41
|
+
busy: {
|
|
42
|
+
title: 'Ups, nije učitano',
|
|
43
|
+
description: 'Pokušajte da osvježite stranicu'
|
|
44
|
+
},
|
|
45
|
+
disconnected: {
|
|
46
|
+
title: 'Mreža je zauzeta',
|
|
47
|
+
description: 'Pokušajte da osvježite stranicu'
|
|
48
|
+
},
|
|
49
|
+
empty: {
|
|
50
|
+
title: 'Hmm, nismo to pronašli...',
|
|
51
|
+
description: 'Želite li pokušati novu pretragu?'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
Form: {
|
|
55
|
+
required: 'Obavezno',
|
|
56
|
+
optional: 'Opcionalno',
|
|
57
|
+
defaultValidateMessages: {
|
|
58
|
+
default: 'Greška pri validaciji za polje ${label}',
|
|
59
|
+
required: 'Molimo unesite ${label}',
|
|
60
|
+
enum: '${label} mora biti jedno od [${enum}]',
|
|
61
|
+
whitespace: '${label} ne može biti prazan karakter',
|
|
62
|
+
date: {
|
|
63
|
+
format: '${label} format datuma nije važeći',
|
|
64
|
+
parse: '${label} ne može biti pretvoren u datum',
|
|
65
|
+
invalid: '${label} je nevažeći datum'
|
|
66
|
+
},
|
|
67
|
+
types: {
|
|
68
|
+
string: typeTemplate,
|
|
69
|
+
method: typeTemplate,
|
|
70
|
+
array: typeTemplate,
|
|
71
|
+
object: typeTemplate,
|
|
72
|
+
number: typeTemplate,
|
|
73
|
+
date: typeTemplate,
|
|
74
|
+
boolean: typeTemplate,
|
|
75
|
+
integer: typeTemplate,
|
|
76
|
+
float: typeTemplate,
|
|
77
|
+
regexp: typeTemplate,
|
|
78
|
+
email: typeTemplate,
|
|
79
|
+
url: typeTemplate,
|
|
80
|
+
hex: typeTemplate
|
|
81
|
+
},
|
|
82
|
+
string: {
|
|
83
|
+
len: '${label} mora imati ${len} karaktera',
|
|
84
|
+
min: '${label} mora imati najmanje ${min} karaktera',
|
|
85
|
+
max: '${label} može imati najviše ${max} karaktera',
|
|
86
|
+
range: '${label} mora biti između ${min}-${max} karaktera'
|
|
87
|
+
},
|
|
88
|
+
number: {
|
|
89
|
+
len: '${label} mora biti jednak ${len}',
|
|
90
|
+
min: '${label} mora biti najmanje ${min}',
|
|
91
|
+
max: '${label} mora biti najviše ${max}',
|
|
92
|
+
range: '${label} mora biti između ${min}-${max}'
|
|
93
|
+
},
|
|
94
|
+
array: {
|
|
95
|
+
len: 'Mora biti ${len} ${label}',
|
|
96
|
+
min: 'Najmanje ${min} ${label}',
|
|
97
|
+
max: 'Najviše ${max} ${label}',
|
|
98
|
+
range: 'Količina ${label} mora biti između ${min}-${max}'
|
|
99
|
+
},
|
|
100
|
+
pattern: {
|
|
101
|
+
mismatch: '${label} ne odgovara šablonu ${pattern}'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
ImageUploader: {
|
|
106
|
+
uploading: 'Otpremanje...',
|
|
107
|
+
upload: 'Otpremi'
|
|
108
|
+
},
|
|
109
|
+
InfiniteScroll: {
|
|
110
|
+
noMore: 'Nema više',
|
|
111
|
+
failedToLoad: 'Učitavanje nije uspjelo',
|
|
112
|
+
retry: 'Pokušaj ponovo'
|
|
113
|
+
},
|
|
114
|
+
Input: {
|
|
115
|
+
clear: 'očisti'
|
|
116
|
+
},
|
|
117
|
+
Mask: {
|
|
118
|
+
name: 'Maska'
|
|
119
|
+
},
|
|
120
|
+
Modal: {
|
|
121
|
+
ok: 'U redu'
|
|
122
|
+
},
|
|
123
|
+
PasscodeInput: {
|
|
124
|
+
name: 'Unos šifre'
|
|
125
|
+
},
|
|
126
|
+
PullToRefresh: {
|
|
127
|
+
pulling: 'Povucite nadole za osvježavanje',
|
|
128
|
+
canRelease: 'Oslobodite za trenutno osvježavanje',
|
|
129
|
+
complete: 'Osvježavanje uspješno'
|
|
130
|
+
},
|
|
131
|
+
SearchBar: {
|
|
132
|
+
name: 'Traka za pretragu'
|
|
133
|
+
},
|
|
134
|
+
Slider: {
|
|
135
|
+
name: 'Klizač'
|
|
136
|
+
},
|
|
137
|
+
Stepper: {
|
|
138
|
+
decrease: 'smanji',
|
|
139
|
+
increase: 'povećaj'
|
|
140
|
+
},
|
|
141
|
+
Switch: {
|
|
142
|
+
name: 'Prekidač'
|
|
143
|
+
},
|
|
144
|
+
Selector: {
|
|
145
|
+
name: 'Selektor'
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
var _default = cnrME;
|
|
149
|
+
exports.default = _default;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const hrHR: {
|
|
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 hrHR;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _mergeLocale = require("../utils/merge-locale");
|
|
8
|
+
var _base = require("./base");
|
|
9
|
+
const typeTemplate = '${label} nije važeći ${type}';
|
|
10
|
+
const hrHR = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
11
|
+
locale: 'hr',
|
|
12
|
+
common: {
|
|
13
|
+
confirm: 'Potvrdi',
|
|
14
|
+
cancel: 'Otkaži',
|
|
15
|
+
loading: 'Učitavanje',
|
|
16
|
+
close: 'Zatvori'
|
|
17
|
+
},
|
|
18
|
+
Calendar: {
|
|
19
|
+
title: 'Odabir datuma',
|
|
20
|
+
confirm: 'Potvrdi',
|
|
21
|
+
start: 'početak',
|
|
22
|
+
end: 'kraj',
|
|
23
|
+
today: 'danas',
|
|
24
|
+
markItems: ['Pon', 'Uto', 'Sri', 'Čet', 'Pet', 'Sub', 'Ned'],
|
|
25
|
+
yearAndMonth: '${year}/${month}'
|
|
26
|
+
},
|
|
27
|
+
Cascader: {
|
|
28
|
+
placeholder: 'Odabir'
|
|
29
|
+
},
|
|
30
|
+
Dialog: {
|
|
31
|
+
ok: 'U redu'
|
|
32
|
+
},
|
|
33
|
+
DatePicker: {
|
|
34
|
+
tillNow: 'Do sada'
|
|
35
|
+
},
|
|
36
|
+
ErrorBlock: {
|
|
37
|
+
default: {
|
|
38
|
+
title: 'Ups, nešto je pošlo po zlu',
|
|
39
|
+
description: 'Molimo pričekajte trenutak i pokušajte ponovo'
|
|
40
|
+
},
|
|
41
|
+
busy: {
|
|
42
|
+
title: 'Ups, nije učitano',
|
|
43
|
+
description: 'Pokušajte osvježiti stranicu'
|
|
44
|
+
},
|
|
45
|
+
disconnected: {
|
|
46
|
+
title: 'Mreža je zauzeta',
|
|
47
|
+
description: 'Pokušajte osvježiti stranicu'
|
|
48
|
+
},
|
|
49
|
+
empty: {
|
|
50
|
+
title: 'Hmm, nismo to pronašli...',
|
|
51
|
+
description: 'Želite li pokušati novu pretragu?'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
Form: {
|
|
55
|
+
required: 'Obavezno',
|
|
56
|
+
optional: 'Opcionalno',
|
|
57
|
+
defaultValidateMessages: {
|
|
58
|
+
default: 'Greška pri validaciji za polje ${label}',
|
|
59
|
+
required: 'Molimo unesite ${label}',
|
|
60
|
+
enum: '${label} mora biti jedno od [${enum}]',
|
|
61
|
+
whitespace: '${label} ne može biti prazno',
|
|
62
|
+
date: {
|
|
63
|
+
format: '${label} format datuma nije važeći',
|
|
64
|
+
parse: '${label} ne može biti pretvoren u datum',
|
|
65
|
+
invalid: '${label} je nevažeći datum'
|
|
66
|
+
},
|
|
67
|
+
types: {
|
|
68
|
+
string: typeTemplate,
|
|
69
|
+
method: typeTemplate,
|
|
70
|
+
array: typeTemplate,
|
|
71
|
+
object: typeTemplate,
|
|
72
|
+
number: typeTemplate,
|
|
73
|
+
date: typeTemplate,
|
|
74
|
+
boolean: typeTemplate,
|
|
75
|
+
integer: typeTemplate,
|
|
76
|
+
float: typeTemplate,
|
|
77
|
+
regexp: typeTemplate,
|
|
78
|
+
email: typeTemplate,
|
|
79
|
+
url: typeTemplate,
|
|
80
|
+
hex: typeTemplate
|
|
81
|
+
},
|
|
82
|
+
string: {
|
|
83
|
+
len: '${label} mora imati ${len} znakova',
|
|
84
|
+
min: '${label} mora imati najmanje ${min} znakova',
|
|
85
|
+
max: '${label} može imati najviše ${max} znakova',
|
|
86
|
+
range: '${label} mora biti između ${min}-${max} znakova'
|
|
87
|
+
},
|
|
88
|
+
number: {
|
|
89
|
+
len: '${label} mora biti jednak ${len}',
|
|
90
|
+
min: '${label} mora biti najmanje ${min}',
|
|
91
|
+
max: '${label} mora biti najviše ${max}',
|
|
92
|
+
range: '${label} mora biti između ${min}-${max}'
|
|
93
|
+
},
|
|
94
|
+
array: {
|
|
95
|
+
len: 'Mora biti ${len} ${label}',
|
|
96
|
+
min: 'Najmanje ${min} ${label}',
|
|
97
|
+
max: 'Najviše ${max} ${label}',
|
|
98
|
+
range: 'Količina ${label} mora biti između ${min}-${max}'
|
|
99
|
+
},
|
|
100
|
+
pattern: {
|
|
101
|
+
mismatch: '${label} ne odgovara uzorku ${pattern}'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
ImageUploader: {
|
|
106
|
+
uploading: 'Učitavanje...',
|
|
107
|
+
upload: 'Učitaj'
|
|
108
|
+
},
|
|
109
|
+
InfiniteScroll: {
|
|
110
|
+
noMore: 'Nema više',
|
|
111
|
+
failedToLoad: 'Učitavanje nije uspjelo',
|
|
112
|
+
retry: 'Pokušaj ponovno'
|
|
113
|
+
},
|
|
114
|
+
Input: {
|
|
115
|
+
clear: 'očisti'
|
|
116
|
+
},
|
|
117
|
+
Mask: {
|
|
118
|
+
name: 'Maska'
|
|
119
|
+
},
|
|
120
|
+
Modal: {
|
|
121
|
+
ok: 'U redu'
|
|
122
|
+
},
|
|
123
|
+
PasscodeInput: {
|
|
124
|
+
name: 'Unos lozinke'
|
|
125
|
+
},
|
|
126
|
+
PullToRefresh: {
|
|
127
|
+
pulling: 'Povucite dolje za osvježavanje',
|
|
128
|
+
canRelease: 'Otpustite za trenutnu obnovu',
|
|
129
|
+
complete: 'Osvježavanje uspješno'
|
|
130
|
+
},
|
|
131
|
+
SearchBar: {
|
|
132
|
+
name: 'Traka za pretraživanje'
|
|
133
|
+
},
|
|
134
|
+
Slider: {
|
|
135
|
+
name: 'Klizač'
|
|
136
|
+
},
|
|
137
|
+
Stepper: {
|
|
138
|
+
decrease: 'smanji',
|
|
139
|
+
increase: 'povećaj'
|
|
140
|
+
},
|
|
141
|
+
Switch: {
|
|
142
|
+
name: 'Prekidač'
|
|
143
|
+
},
|
|
144
|
+
Selector: {
|
|
145
|
+
name: 'Selektor'
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
var _default = hrHR;
|
|
149
|
+
exports.default = _default;
|
package/cjs/locales/kk-KZ.js
CHANGED
|
@@ -15,8 +15,8 @@ const kkKZ = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
15
15
|
loading: 'Жүктелуде'
|
|
16
16
|
},
|
|
17
17
|
Calendar: {
|
|
18
|
-
markItems: ['
|
|
19
|
-
yearAndMonth: '${year}
|
|
18
|
+
markItems: ['Дс', 'Сс', 'Ср', 'Бс', 'Жм', 'Сб', 'Жс'],
|
|
19
|
+
yearAndMonth: '${year} жыл ${month} ай'
|
|
20
20
|
},
|
|
21
21
|
Cascader: {
|
|
22
22
|
placeholder: 'Таңдаңыз'
|
|
@@ -35,11 +35,11 @@ const kkKZ = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
35
35
|
},
|
|
36
36
|
disconnected: {
|
|
37
37
|
title: 'Желі бос емес',
|
|
38
|
-
description: '
|
|
38
|
+
description: 'Бетті жаңартып көріңіз'
|
|
39
39
|
},
|
|
40
40
|
empty: {
|
|
41
41
|
title: 'Сізге қажетті нәрсе табылмады',
|
|
42
|
-
description: '
|
|
42
|
+
description: 'Басқаша іздеп көріңіз'
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
Form: {
|
|
@@ -109,8 +109,8 @@ const kkKZ = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
109
109
|
ok: 'Мен түсіндім'
|
|
110
110
|
},
|
|
111
111
|
PullToRefresh: {
|
|
112
|
-
pulling: '
|
|
113
|
-
canRelease: '
|
|
112
|
+
pulling: 'Жаңарту үшін тартыңыз',
|
|
113
|
+
canRelease: 'Жаңарту үшін жіберіңіз',
|
|
114
114
|
complete: 'Сәтті жаңартылды'
|
|
115
115
|
},
|
|
116
116
|
Switch: {
|