@dskripchenko/ui 0.3.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.
Files changed (44) hide show
  1. package/README.md +103 -21
  2. package/dist/components/Affix/UidAffix.vue.d.ts +33 -0
  3. package/dist/components/Affix/index.d.ts +2 -0
  4. package/dist/components/Anchor/UidAnchor.vue.d.ts +30 -0
  5. package/dist/components/Anchor/index.d.ts +2 -0
  6. package/dist/components/BackTop/UidBackTop.vue.d.ts +33 -0
  7. package/dist/components/BackTop/index.d.ts +2 -0
  8. package/dist/components/Calendar/UidCalendar.vue.d.ts +34 -0
  9. package/dist/components/Calendar/index.d.ts +2 -0
  10. package/dist/components/Card/UidCard.vue.d.ts +5 -1
  11. package/dist/components/Carousel/UidCarousel.vue.d.ts +41 -0
  12. package/dist/components/Carousel/index.d.ts +2 -0
  13. package/dist/components/Cascader/UidCascader.vue.d.ts +36 -0
  14. package/dist/components/Cascader/index.d.ts +2 -0
  15. package/dist/components/Combobox/UidCombobox.vue.d.ts +0 -2
  16. package/dist/components/DatePicker/UidDatePicker.vue.d.ts +1 -1
  17. package/dist/components/DateRangePicker/UidDateRangePicker.vue.d.ts +0 -1
  18. package/dist/components/FileUpload/UidFileUpload.vue.d.ts +0 -2
  19. package/dist/components/LocaleProvider/UidLocaleProvider.vue.d.ts +23 -0
  20. package/dist/components/LocaleProvider/index.d.ts +2 -0
  21. package/dist/components/Mention/UidMention.vue.d.ts +33 -0
  22. package/dist/components/Mention/index.d.ts +2 -0
  23. package/dist/components/NotificationBadge/UidNotificationBadge.vue.d.ts +37 -0
  24. package/dist/components/NotificationBadge/index.d.ts +2 -0
  25. package/dist/components/Select/UidSelect.vue.d.ts +0 -1
  26. package/dist/components/TimePicker/UidTimePicker.vue.d.ts +0 -1
  27. package/dist/components/Tour/UidTour.vue.d.ts +42 -0
  28. package/dist/components/Tour/index.d.ts +2 -0
  29. package/dist/components/Transfer/UidTransfer.vue.d.ts +27 -0
  30. package/dist/components/Transfer/index.d.ts +2 -0
  31. package/dist/components/TreeSelect/UidTreeSelect.vue.d.ts +41 -0
  32. package/dist/components/TreeSelect/index.d.ts +2 -0
  33. package/dist/components/Watermark/UidWatermark.vue.d.ts +34 -0
  34. package/dist/components/Watermark/index.d.ts +2 -0
  35. package/dist/composables/useLocale.d.ts +4 -0
  36. package/dist/index.cjs +2 -2
  37. package/dist/index.d.ts +29 -0
  38. package/dist/index.mjs +3113 -1439
  39. package/dist/locales/en.d.ts +2 -0
  40. package/dist/locales/index.d.ts +3 -0
  41. package/dist/locales/ru.d.ts +2 -0
  42. package/dist/locales/types.d.ts +98 -0
  43. package/dist/styles/index.css +1 -1
  44. package/package.json +4 -1
@@ -0,0 +1,2 @@
1
+ import { UidLocale } from './types.js';
2
+ export declare const en: UidLocale;
@@ -0,0 +1,3 @@
1
+ export type { UidLocale, UidPartialLocale } from './types.js';
2
+ export { ru } from './ru.js';
3
+ export { en } from './en.js';
@@ -0,0 +1,2 @@
1
+ import { UidLocale } from './types.js';
2
+ export declare const ru: UidLocale;
@@ -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
+ };