@uzum-tech/ui 1.12.4 → 1.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +909 -162
- package/dist/index.prod.js +4 -4
- package/es/locales/common/ruRU.d.ts +3 -0
- package/es/locales/common/ruRU.js +152 -0
- package/es/locales/date/ruRU.d.ts +3 -0
- package/es/locales/date/ruRU.js +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/locales/common/ruRU.d.ts +3 -0
- package/lib/locales/common/ruRU.js +154 -0
- package/lib/locales/date/ruRU.d.ts +3 -0
- package/lib/locales/date/ruRU.js +11 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
const ruRu = {
|
|
2
|
+
name: 'ru-RU',
|
|
3
|
+
global: {
|
|
4
|
+
undo: 'Отменить',
|
|
5
|
+
redo: 'Вернуть',
|
|
6
|
+
confirm: 'Подтвердить',
|
|
7
|
+
clear: 'Очистить'
|
|
8
|
+
},
|
|
9
|
+
Popconfirm: {
|
|
10
|
+
positiveText: 'Подтвердить',
|
|
11
|
+
negativeText: 'Отмена'
|
|
12
|
+
},
|
|
13
|
+
Cascader: {
|
|
14
|
+
placeholder: 'Выбрать',
|
|
15
|
+
loading: 'Загрузка',
|
|
16
|
+
loadingRequiredMessage: (label) => `Загрузите все дочерние узлы ${label} прежде чем они станут необязательными`
|
|
17
|
+
},
|
|
18
|
+
Time: {
|
|
19
|
+
dateFormat: 'yyyy-MM-dd',
|
|
20
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
21
|
+
},
|
|
22
|
+
DatePicker: {
|
|
23
|
+
yearFormat: 'yyyy',
|
|
24
|
+
monthFormat: 'MMM',
|
|
25
|
+
dayFormat: 'eeeeee',
|
|
26
|
+
yearTypeFormat: 'yyyy',
|
|
27
|
+
monthTypeFormat: 'yyyy-MM',
|
|
28
|
+
dateFormat: 'yyyy-MM-dd',
|
|
29
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
30
|
+
quarterFormat: 'yyyy-qqq',
|
|
31
|
+
clear: 'Очистить',
|
|
32
|
+
now: 'Сейчас',
|
|
33
|
+
confirm: 'Подтвердить',
|
|
34
|
+
selectTime: 'Выбрать время',
|
|
35
|
+
selectDate: 'Выбрать дату',
|
|
36
|
+
datePlaceholder: 'Выбрать дату',
|
|
37
|
+
datetimePlaceholder: 'Выбрать дату и время',
|
|
38
|
+
monthPlaceholder: 'Выберите месяц',
|
|
39
|
+
// FIXME: translation needed
|
|
40
|
+
yearPlaceholder: 'Select Year',
|
|
41
|
+
quarterPlaceholder: 'Select Quarter',
|
|
42
|
+
startDatePlaceholder: 'Дата начала',
|
|
43
|
+
endDatePlaceholder: 'Дата окончания',
|
|
44
|
+
startDatetimePlaceholder: 'Дата и время начала',
|
|
45
|
+
endDatetimePlaceholder: 'Дата и время окончания',
|
|
46
|
+
// FIXME: translation needed
|
|
47
|
+
startMonthPlaceholder: 'Start Month',
|
|
48
|
+
endMonthPlaceholder: 'End Month',
|
|
49
|
+
monthBeforeYear: true,
|
|
50
|
+
firstDayOfWeek: 0,
|
|
51
|
+
today: 'Сегодня'
|
|
52
|
+
},
|
|
53
|
+
DataTable: {
|
|
54
|
+
checkTableAll: 'Выбрать все в таблице',
|
|
55
|
+
uncheckTableAll: 'Отменить все в таблице',
|
|
56
|
+
confirm: 'Подтвердить',
|
|
57
|
+
clear: 'Очистить'
|
|
58
|
+
},
|
|
59
|
+
LegacyTransfer: {
|
|
60
|
+
sourceTitle: 'Источник',
|
|
61
|
+
targetTitle: 'Назначение'
|
|
62
|
+
},
|
|
63
|
+
// TODO: translation
|
|
64
|
+
Transfer: {
|
|
65
|
+
selectAll: 'Select all',
|
|
66
|
+
unselectAll: 'Unselect all',
|
|
67
|
+
clearAll: 'Clear',
|
|
68
|
+
total: (num) => `Total ${num} items`,
|
|
69
|
+
selected: (num) => `${num} items selected`
|
|
70
|
+
},
|
|
71
|
+
Empty: {
|
|
72
|
+
title: 'Нет совпадений',
|
|
73
|
+
description: 'Попробуйте изменить поисковый запрос'
|
|
74
|
+
},
|
|
75
|
+
Select: {
|
|
76
|
+
placeholder: 'Выбрать'
|
|
77
|
+
},
|
|
78
|
+
TimePicker: {
|
|
79
|
+
placeholder: 'Выбрать время',
|
|
80
|
+
positiveText: 'OK',
|
|
81
|
+
negativeText: 'Отменить',
|
|
82
|
+
now: 'Сейчас'
|
|
83
|
+
},
|
|
84
|
+
Pagination: {
|
|
85
|
+
goto: 'Перейти',
|
|
86
|
+
selectionSuffix: 'страница'
|
|
87
|
+
},
|
|
88
|
+
DynamicTags: {
|
|
89
|
+
add: 'Добавить'
|
|
90
|
+
},
|
|
91
|
+
Log: {
|
|
92
|
+
loading: 'Загрузка'
|
|
93
|
+
},
|
|
94
|
+
Input: {
|
|
95
|
+
placeholder: 'Ввести',
|
|
96
|
+
copied: 'Скопировано'
|
|
97
|
+
},
|
|
98
|
+
InputNumber: {
|
|
99
|
+
placeholder: 'Ввести'
|
|
100
|
+
},
|
|
101
|
+
DynamicInput: {
|
|
102
|
+
create: 'Создать'
|
|
103
|
+
},
|
|
104
|
+
ThemeEditor: {
|
|
105
|
+
title: 'Редактор темы',
|
|
106
|
+
clearAllVars: 'Очистить все',
|
|
107
|
+
clearSearch: 'Очистить поиск',
|
|
108
|
+
filterCompName: 'Фильтровать по имени компонента',
|
|
109
|
+
filterVarName: 'Фильтровать имена переменных',
|
|
110
|
+
import: 'Импорт',
|
|
111
|
+
export: 'Экспорт',
|
|
112
|
+
restore: 'Сбросить'
|
|
113
|
+
},
|
|
114
|
+
// TODO: translation
|
|
115
|
+
Image: {
|
|
116
|
+
tipPrevious: 'Previous picture (←)',
|
|
117
|
+
tipNext: 'Next picture (→)',
|
|
118
|
+
tipCounterclockwise: 'Counterclockwise',
|
|
119
|
+
tipClockwise: 'Clockwise',
|
|
120
|
+
tipZoomOut: 'Zoom out',
|
|
121
|
+
tipZoomIn: 'Zoom in',
|
|
122
|
+
tipDownload: 'Download',
|
|
123
|
+
tipClose: 'Close (Esc)',
|
|
124
|
+
// TODO: translation
|
|
125
|
+
tipOriginalSize: 'Zoom to original size'
|
|
126
|
+
},
|
|
127
|
+
Upload: {
|
|
128
|
+
title: 'Выберите файл или перетащите сюда',
|
|
129
|
+
subtitle: 'PDF, PNG, JPEG не более 100 MB',
|
|
130
|
+
uploading: 'Загружается'
|
|
131
|
+
},
|
|
132
|
+
Chat: {
|
|
133
|
+
inputPlaceholder: 'Написать сообщение...',
|
|
134
|
+
typingText: 'Печатает...',
|
|
135
|
+
retryText: 'Повторно отправить',
|
|
136
|
+
closeButtonText: 'Завершить чат',
|
|
137
|
+
shareButtonTooltip: 'Поделиться чатом',
|
|
138
|
+
profileButtonTooltip: 'Просмотреть профиль',
|
|
139
|
+
unreadNotificationText: 'новых сообщений',
|
|
140
|
+
editText: 'Редактировать',
|
|
141
|
+
copyText: 'Скопировать',
|
|
142
|
+
deleteText: 'Удалить',
|
|
143
|
+
editingTitle: 'Редактирование'
|
|
144
|
+
},
|
|
145
|
+
Header: {
|
|
146
|
+
desktopSearchTitle: 'Поиск',
|
|
147
|
+
searchPlaceholder: 'Поиск по сайту',
|
|
148
|
+
primaryActionText: 'Стать клиентом',
|
|
149
|
+
secondaryActionText: 'Перейти в приложение'
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
export default ruRu;
|
package/es/locales/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { default as enUS } from './common/enUS';
|
|
2
|
+
export { default as ruRU } from './common/ruRU';
|
|
2
3
|
export { default as dateEnUS } from './date/enUS';
|
|
4
|
+
export { default as dateRuRU } from './date/ruRU';
|
|
3
5
|
export type { ULocale } from './common/enUS';
|
|
4
6
|
export type { UDateLocale } from './date/enUS';
|
|
5
7
|
export type { UPartialLocale } from './utils/index';
|
package/es/locales/index.js
CHANGED
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.12.
|
|
1
|
+
declare const _default: "1.12.5";
|
|
2
2
|
export default _default;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.12.
|
|
1
|
+
export default '1.12.5';
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const ruRu = {
|
|
4
|
+
name: 'ru-RU',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Отменить',
|
|
7
|
+
redo: 'Вернуть',
|
|
8
|
+
confirm: 'Подтвердить',
|
|
9
|
+
clear: 'Очистить'
|
|
10
|
+
},
|
|
11
|
+
Popconfirm: {
|
|
12
|
+
positiveText: 'Подтвердить',
|
|
13
|
+
negativeText: 'Отмена'
|
|
14
|
+
},
|
|
15
|
+
Cascader: {
|
|
16
|
+
placeholder: 'Выбрать',
|
|
17
|
+
loading: 'Загрузка',
|
|
18
|
+
loadingRequiredMessage: (label) => `Загрузите все дочерние узлы ${label} прежде чем они станут необязательными`
|
|
19
|
+
},
|
|
20
|
+
Time: {
|
|
21
|
+
dateFormat: 'yyyy-MM-dd',
|
|
22
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
23
|
+
},
|
|
24
|
+
DatePicker: {
|
|
25
|
+
yearFormat: 'yyyy',
|
|
26
|
+
monthFormat: 'MMM',
|
|
27
|
+
dayFormat: 'eeeeee',
|
|
28
|
+
yearTypeFormat: 'yyyy',
|
|
29
|
+
monthTypeFormat: 'yyyy-MM',
|
|
30
|
+
dateFormat: 'yyyy-MM-dd',
|
|
31
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
32
|
+
quarterFormat: 'yyyy-qqq',
|
|
33
|
+
clear: 'Очистить',
|
|
34
|
+
now: 'Сейчас',
|
|
35
|
+
confirm: 'Подтвердить',
|
|
36
|
+
selectTime: 'Выбрать время',
|
|
37
|
+
selectDate: 'Выбрать дату',
|
|
38
|
+
datePlaceholder: 'Выбрать дату',
|
|
39
|
+
datetimePlaceholder: 'Выбрать дату и время',
|
|
40
|
+
monthPlaceholder: 'Выберите месяц',
|
|
41
|
+
// FIXME: translation needed
|
|
42
|
+
yearPlaceholder: 'Select Year',
|
|
43
|
+
quarterPlaceholder: 'Select Quarter',
|
|
44
|
+
startDatePlaceholder: 'Дата начала',
|
|
45
|
+
endDatePlaceholder: 'Дата окончания',
|
|
46
|
+
startDatetimePlaceholder: 'Дата и время начала',
|
|
47
|
+
endDatetimePlaceholder: 'Дата и время окончания',
|
|
48
|
+
// FIXME: translation needed
|
|
49
|
+
startMonthPlaceholder: 'Start Month',
|
|
50
|
+
endMonthPlaceholder: 'End Month',
|
|
51
|
+
monthBeforeYear: true,
|
|
52
|
+
firstDayOfWeek: 0,
|
|
53
|
+
today: 'Сегодня'
|
|
54
|
+
},
|
|
55
|
+
DataTable: {
|
|
56
|
+
checkTableAll: 'Выбрать все в таблице',
|
|
57
|
+
uncheckTableAll: 'Отменить все в таблице',
|
|
58
|
+
confirm: 'Подтвердить',
|
|
59
|
+
clear: 'Очистить'
|
|
60
|
+
},
|
|
61
|
+
LegacyTransfer: {
|
|
62
|
+
sourceTitle: 'Источник',
|
|
63
|
+
targetTitle: 'Назначение'
|
|
64
|
+
},
|
|
65
|
+
// TODO: translation
|
|
66
|
+
Transfer: {
|
|
67
|
+
selectAll: 'Select all',
|
|
68
|
+
unselectAll: 'Unselect all',
|
|
69
|
+
clearAll: 'Clear',
|
|
70
|
+
total: (num) => `Total ${num} items`,
|
|
71
|
+
selected: (num) => `${num} items selected`
|
|
72
|
+
},
|
|
73
|
+
Empty: {
|
|
74
|
+
title: 'Нет совпадений',
|
|
75
|
+
description: 'Попробуйте изменить поисковый запрос'
|
|
76
|
+
},
|
|
77
|
+
Select: {
|
|
78
|
+
placeholder: 'Выбрать'
|
|
79
|
+
},
|
|
80
|
+
TimePicker: {
|
|
81
|
+
placeholder: 'Выбрать время',
|
|
82
|
+
positiveText: 'OK',
|
|
83
|
+
negativeText: 'Отменить',
|
|
84
|
+
now: 'Сейчас'
|
|
85
|
+
},
|
|
86
|
+
Pagination: {
|
|
87
|
+
goto: 'Перейти',
|
|
88
|
+
selectionSuffix: 'страница'
|
|
89
|
+
},
|
|
90
|
+
DynamicTags: {
|
|
91
|
+
add: 'Добавить'
|
|
92
|
+
},
|
|
93
|
+
Log: {
|
|
94
|
+
loading: 'Загрузка'
|
|
95
|
+
},
|
|
96
|
+
Input: {
|
|
97
|
+
placeholder: 'Ввести',
|
|
98
|
+
copied: 'Скопировано'
|
|
99
|
+
},
|
|
100
|
+
InputNumber: {
|
|
101
|
+
placeholder: 'Ввести'
|
|
102
|
+
},
|
|
103
|
+
DynamicInput: {
|
|
104
|
+
create: 'Создать'
|
|
105
|
+
},
|
|
106
|
+
ThemeEditor: {
|
|
107
|
+
title: 'Редактор темы',
|
|
108
|
+
clearAllVars: 'Очистить все',
|
|
109
|
+
clearSearch: 'Очистить поиск',
|
|
110
|
+
filterCompName: 'Фильтровать по имени компонента',
|
|
111
|
+
filterVarName: 'Фильтровать имена переменных',
|
|
112
|
+
import: 'Импорт',
|
|
113
|
+
export: 'Экспорт',
|
|
114
|
+
restore: 'Сбросить'
|
|
115
|
+
},
|
|
116
|
+
// TODO: translation
|
|
117
|
+
Image: {
|
|
118
|
+
tipPrevious: 'Previous picture (←)',
|
|
119
|
+
tipNext: 'Next picture (→)',
|
|
120
|
+
tipCounterclockwise: 'Counterclockwise',
|
|
121
|
+
tipClockwise: 'Clockwise',
|
|
122
|
+
tipZoomOut: 'Zoom out',
|
|
123
|
+
tipZoomIn: 'Zoom in',
|
|
124
|
+
tipDownload: 'Download',
|
|
125
|
+
tipClose: 'Close (Esc)',
|
|
126
|
+
// TODO: translation
|
|
127
|
+
tipOriginalSize: 'Zoom to original size'
|
|
128
|
+
},
|
|
129
|
+
Upload: {
|
|
130
|
+
title: 'Выберите файл или перетащите сюда',
|
|
131
|
+
subtitle: 'PDF, PNG, JPEG не более 100 MB',
|
|
132
|
+
uploading: 'Загружается'
|
|
133
|
+
},
|
|
134
|
+
Chat: {
|
|
135
|
+
inputPlaceholder: 'Написать сообщение...',
|
|
136
|
+
typingText: 'Печатает...',
|
|
137
|
+
retryText: 'Повторно отправить',
|
|
138
|
+
closeButtonText: 'Завершить чат',
|
|
139
|
+
shareButtonTooltip: 'Поделиться чатом',
|
|
140
|
+
profileButtonTooltip: 'Просмотреть профиль',
|
|
141
|
+
unreadNotificationText: 'новых сообщений',
|
|
142
|
+
editText: 'Редактировать',
|
|
143
|
+
copyText: 'Скопировать',
|
|
144
|
+
deleteText: 'Удалить',
|
|
145
|
+
editingTitle: 'Редактирование'
|
|
146
|
+
},
|
|
147
|
+
Header: {
|
|
148
|
+
desktopSearchTitle: 'Поиск',
|
|
149
|
+
searchPlaceholder: 'Поиск по сайту',
|
|
150
|
+
primaryActionText: 'Стать клиентом',
|
|
151
|
+
secondaryActionText: 'Перейти в приложение'
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
exports.default = ruRu;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const ru_1 = __importDefault(require("date-fns/locale/ru")); //
|
|
7
|
+
const dateRuRU = {
|
|
8
|
+
name: 'ru-RU',
|
|
9
|
+
locale: ru_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = dateRuRU;
|
package/lib/locales/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { default as enUS } from './common/enUS';
|
|
2
|
+
export { default as ruRU } from './common/ruRU';
|
|
2
3
|
export { default as dateEnUS } from './date/enUS';
|
|
4
|
+
export { default as dateRuRU } from './date/ruRU';
|
|
3
5
|
export type { ULocale } from './common/enUS';
|
|
4
6
|
export type { UDateLocale } from './date/enUS';
|
|
5
7
|
export type { UPartialLocale } from './utils/index';
|
package/lib/locales/index.js
CHANGED
|
@@ -3,10 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createLocale = exports.dateEnUS = exports.enUS = void 0;
|
|
6
|
+
exports.createLocale = exports.dateRuRU = exports.dateEnUS = exports.ruRU = exports.enUS = void 0;
|
|
7
7
|
var enUS_1 = require("./common/enUS");
|
|
8
8
|
Object.defineProperty(exports, "enUS", { enumerable: true, get: function () { return __importDefault(enUS_1).default; } });
|
|
9
|
+
var ruRU_1 = require("./common/ruRU");
|
|
10
|
+
Object.defineProperty(exports, "ruRU", { enumerable: true, get: function () { return __importDefault(ruRU_1).default; } });
|
|
9
11
|
var enUS_2 = require("./date/enUS");
|
|
10
12
|
Object.defineProperty(exports, "dateEnUS", { enumerable: true, get: function () { return __importDefault(enUS_2).default; } });
|
|
13
|
+
var ruRU_2 = require("./date/ruRU");
|
|
14
|
+
Object.defineProperty(exports, "dateRuRU", { enumerable: true, get: function () { return __importDefault(ruRU_2).default; } });
|
|
11
15
|
var index_1 = require("./utils/index");
|
|
12
16
|
Object.defineProperty(exports, "createLocale", { enumerable: true, get: function () { return index_1.createLocale; } });
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.12.
|
|
1
|
+
declare const _default: "1.12.5";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED