@dskripchenko/ui 0.4.0 → 0.5.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/README.md +103 -21
- package/dist/components/BackTop/UidBackTop.vue.d.ts +0 -1
- package/dist/components/Calendar/UidCalendar.vue.d.ts +34 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/Card/UidCard.vue.d.ts +5 -1
- package/dist/components/Carousel/UidCarousel.vue.d.ts +41 -0
- package/dist/components/Carousel/index.d.ts +2 -0
- package/dist/components/Cascader/UidCascader.vue.d.ts +36 -0
- package/dist/components/Cascader/index.d.ts +2 -0
- package/dist/components/Combobox/UidCombobox.vue.d.ts +0 -2
- package/dist/components/DatePicker/UidDatePicker.vue.d.ts +1 -1
- package/dist/components/DateRangePicker/UidDateRangePicker.vue.d.ts +0 -1
- package/dist/components/FileUpload/UidFileUpload.vue.d.ts +0 -2
- package/dist/components/LocaleProvider/UidLocaleProvider.vue.d.ts +23 -0
- package/dist/components/LocaleProvider/index.d.ts +2 -0
- package/dist/components/Mention/UidMention.vue.d.ts +0 -1
- package/dist/components/NotificationBadge/UidNotificationBadge.vue.d.ts +37 -0
- package/dist/components/NotificationBadge/index.d.ts +2 -0
- package/dist/components/Select/UidSelect.vue.d.ts +0 -1
- package/dist/components/TimePicker/UidTimePicker.vue.d.ts +0 -1
- package/dist/components/Tour/UidTour.vue.d.ts +3 -5
- package/dist/components/Transfer/UidTransfer.vue.d.ts +27 -0
- package/dist/components/Transfer/index.d.ts +2 -0
- package/dist/components/TreeSelect/UidTreeSelect.vue.d.ts +0 -1
- package/dist/composables/useLocale.d.ts +4 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +15 -0
- package/dist/index.mjs +2577 -1589
- package/dist/locales/en.d.ts +2 -0
- package/dist/locales/index.d.ts +3 -0
- package/dist/locales/ru.d.ts +2 -0
- package/dist/locales/types.d.ts +98 -0
- package/dist/styles/index.css +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export interface UidLocale {
|
|
2
|
+
common: {
|
|
3
|
+
clear: string;
|
|
4
|
+
close: string;
|
|
5
|
+
search: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
cancel: string;
|
|
8
|
+
loading: string;
|
|
9
|
+
noResults: string;
|
|
10
|
+
};
|
|
11
|
+
copy: {
|
|
12
|
+
copy: string;
|
|
13
|
+
copied: string;
|
|
14
|
+
};
|
|
15
|
+
select: {
|
|
16
|
+
placeholder: string;
|
|
17
|
+
noResults: string;
|
|
18
|
+
};
|
|
19
|
+
combobox: {
|
|
20
|
+
placeholder: string;
|
|
21
|
+
noResults: string;
|
|
22
|
+
create: (label: string) => string;
|
|
23
|
+
};
|
|
24
|
+
datePicker: {
|
|
25
|
+
placeholder: string;
|
|
26
|
+
months: readonly string[];
|
|
27
|
+
weekdaysShort: readonly string[];
|
|
28
|
+
prevMonth: string;
|
|
29
|
+
nextMonth: string;
|
|
30
|
+
};
|
|
31
|
+
dateRangePicker: {
|
|
32
|
+
placeholder: string;
|
|
33
|
+
presetLast: (days: number) => string;
|
|
34
|
+
};
|
|
35
|
+
timePicker: {
|
|
36
|
+
placeholder: string;
|
|
37
|
+
now: string;
|
|
38
|
+
confirm: string;
|
|
39
|
+
};
|
|
40
|
+
colorPicker: {
|
|
41
|
+
placeholder: string;
|
|
42
|
+
};
|
|
43
|
+
numberInput: {
|
|
44
|
+
increment: (step: number | string) => string;
|
|
45
|
+
decrement: (step: number | string) => string;
|
|
46
|
+
};
|
|
47
|
+
tagsInput: {
|
|
48
|
+
remove: (label: string) => string;
|
|
49
|
+
};
|
|
50
|
+
treeView: {
|
|
51
|
+
expand: string;
|
|
52
|
+
collapse: string;
|
|
53
|
+
};
|
|
54
|
+
treeSelect: {
|
|
55
|
+
placeholder: string;
|
|
56
|
+
removeTag: (label: string) => string;
|
|
57
|
+
};
|
|
58
|
+
fileUpload: {
|
|
59
|
+
primaryText: string;
|
|
60
|
+
secondaryText: string;
|
|
61
|
+
remove: (name: string) => string;
|
|
62
|
+
};
|
|
63
|
+
backTop: {
|
|
64
|
+
label: string;
|
|
65
|
+
};
|
|
66
|
+
tour: {
|
|
67
|
+
next: string;
|
|
68
|
+
prev: string;
|
|
69
|
+
finish: string;
|
|
70
|
+
skip: string;
|
|
71
|
+
};
|
|
72
|
+
rating: {
|
|
73
|
+
label: (current: number, max: number) => string;
|
|
74
|
+
};
|
|
75
|
+
mention: {
|
|
76
|
+
noResults: string;
|
|
77
|
+
};
|
|
78
|
+
modal: {
|
|
79
|
+
close: string;
|
|
80
|
+
};
|
|
81
|
+
drawer: {
|
|
82
|
+
close: string;
|
|
83
|
+
};
|
|
84
|
+
toast: {
|
|
85
|
+
close: string;
|
|
86
|
+
};
|
|
87
|
+
pagination: {
|
|
88
|
+
first: string;
|
|
89
|
+
prev: string;
|
|
90
|
+
next: string;
|
|
91
|
+
last: string;
|
|
92
|
+
page: (n: number) => string;
|
|
93
|
+
pageSize: (n: number) => string;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
export type UidPartialLocale = {
|
|
97
|
+
[K in keyof UidLocale]?: Partial<UidLocale[K]>;
|
|
98
|
+
};
|