r3ui-lib 1.0.0 → 1.0.2

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 (147) hide show
  1. package/dist/types/App.vue.d.ts +3 -0
  2. package/dist/types/App.vue.d.ts.map +1 -0
  3. package/dist/types/components/DefaultButton.vue.d.ts +25 -0
  4. package/dist/types/components/DefaultButton.vue.d.ts.map +1 -0
  5. package/dist/types/components/Divider.vue.d.ts +13 -0
  6. package/dist/types/components/Divider.vue.d.ts.map +1 -0
  7. package/dist/types/components/Icon.vue.d.ts +9 -0
  8. package/dist/types/components/Icon.vue.d.ts.map +1 -0
  9. package/dist/types/components/Slider.vue.d.ts +38 -0
  10. package/dist/types/components/Slider.vue.d.ts.map +1 -0
  11. package/dist/types/components/Spinner.vue.d.ts +9 -0
  12. package/dist/types/components/Spinner.vue.d.ts.map +1 -0
  13. package/dist/types/components/accordions/DefaultAccordion.vue.d.ts +33 -0
  14. package/dist/types/components/accordions/DefaultAccordion.vue.d.ts.map +1 -0
  15. package/dist/types/components/accordions/KindCheckboxesAccordion.vue.d.ts +31 -0
  16. package/dist/types/components/accordions/KindCheckboxesAccordion.vue.d.ts.map +1 -0
  17. package/dist/types/components/buttons/AddButton.vue.d.ts +18 -0
  18. package/dist/types/components/buttons/AddButton.vue.d.ts.map +1 -0
  19. package/dist/types/components/buttons/ClearFormButton.vue.d.ts +14 -0
  20. package/dist/types/components/buttons/ClearFormButton.vue.d.ts.map +1 -0
  21. package/dist/types/components/buttons/CollapseButton.vue.d.ts +35 -0
  22. package/dist/types/components/buttons/CollapseButton.vue.d.ts.map +1 -0
  23. package/dist/types/components/buttons/ExportButton.vue.d.ts +18 -0
  24. package/dist/types/components/buttons/ExportButton.vue.d.ts.map +1 -0
  25. package/dist/types/components/buttons/PrintButton.vue.d.ts +16 -0
  26. package/dist/types/components/buttons/PrintButton.vue.d.ts.map +1 -0
  27. package/dist/types/components/buttons/ToggleButtons.vue.d.ts +17 -0
  28. package/dist/types/components/buttons/ToggleButtons.vue.d.ts.map +1 -0
  29. package/dist/types/components/cards/CardInfo.vue.d.ts +36 -0
  30. package/dist/types/components/cards/CardInfo.vue.d.ts.map +1 -0
  31. package/dist/types/components/cards/PageCard.vue.d.ts +49 -0
  32. package/dist/types/components/cards/PageCard.vue.d.ts.map +1 -0
  33. package/dist/types/components/dropdowns/DefaultDropDown.vue.d.ts +13 -0
  34. package/dist/types/components/dropdowns/DefaultDropDown.vue.d.ts.map +1 -0
  35. package/dist/types/components/export/ExportComponent.vue.d.ts +10 -0
  36. package/dist/types/components/export/ExportComponent.vue.d.ts.map +1 -0
  37. package/dist/types/components/filters/MultipleQuickFilterComponent.vue.d.ts +18 -0
  38. package/dist/types/components/filters/MultipleQuickFilterComponent.vue.d.ts.map +1 -0
  39. package/dist/types/components/form/Checkbox.vue.d.ts +23 -0
  40. package/dist/types/components/form/Checkbox.vue.d.ts.map +1 -0
  41. package/dist/types/components/form/CustomInput.vue.d.ts +27 -0
  42. package/dist/types/components/form/CustomInput.vue.d.ts.map +1 -0
  43. package/dist/types/components/form/FormError.vue.d.ts +9 -0
  44. package/dist/types/components/form/FormError.vue.d.ts.map +1 -0
  45. package/dist/types/components/form/PasswordInput.vue.d.ts +15 -0
  46. package/dist/types/components/form/PasswordInput.vue.d.ts.map +1 -0
  47. package/dist/types/components/form/VSelect.vue.d.ts +37 -0
  48. package/dist/types/components/form/VSelect.vue.d.ts.map +1 -0
  49. package/dist/types/components/forms/AddressForm.stories.d.ts +9 -0
  50. package/dist/types/components/forms/AddressForm.stories.d.ts.map +1 -0
  51. package/dist/types/components/forms/AddressForm.vue.d.ts +77 -0
  52. package/dist/types/components/forms/AddressForm.vue.d.ts.map +1 -0
  53. package/dist/types/components/forms/AgeFromAgeTo.stories.d.ts +8 -0
  54. package/dist/types/components/forms/AgeFromAgeTo.stories.d.ts.map +1 -0
  55. package/dist/types/components/forms/AgeFromAgeTo.vue.d.ts +43 -0
  56. package/dist/types/components/forms/AgeFromAgeTo.vue.d.ts.map +1 -0
  57. package/dist/types/components/forms/BooleanCheckbox.vue.d.ts +28 -0
  58. package/dist/types/components/forms/BooleanCheckbox.vue.d.ts.map +1 -0
  59. package/dist/types/components/forms/Flatpickr.vue.d.ts +59 -0
  60. package/dist/types/components/forms/Flatpickr.vue.d.ts.map +1 -0
  61. package/dist/types/components/forms/HeaderSearchForm.stories.d.ts +9 -0
  62. package/dist/types/components/forms/HeaderSearchForm.stories.d.ts.map +1 -0
  63. package/dist/types/components/forms/HeaderSearchForm.vue.d.ts +45 -0
  64. package/dist/types/components/forms/HeaderSearchForm.vue.d.ts.map +1 -0
  65. package/dist/types/components/forms/MultiCheckbox.vue.d.ts +27 -0
  66. package/dist/types/components/forms/MultiCheckbox.vue.d.ts.map +1 -0
  67. package/dist/types/components/forms/MultiInput.vue.d.ts +28 -0
  68. package/dist/types/components/forms/MultiInput.vue.d.ts.map +1 -0
  69. package/dist/types/components/forms/types.d.ts +16 -0
  70. package/dist/types/components/forms/types.d.ts.map +1 -0
  71. package/dist/types/components/icons/QuestionIcon.vue.d.ts +18 -0
  72. package/dist/types/components/icons/QuestionIcon.vue.d.ts.map +1 -0
  73. package/dist/types/components/layout/Breadcrumbs.vue.d.ts +23 -0
  74. package/dist/types/components/layout/Breadcrumbs.vue.d.ts.map +1 -0
  75. package/dist/types/components/layout/Card.vue.d.ts +20 -0
  76. package/dist/types/components/layout/Card.vue.d.ts.map +1 -0
  77. package/dist/types/components/layout/Footer.vue.d.ts +13 -0
  78. package/dist/types/components/layout/Footer.vue.d.ts.map +1 -0
  79. package/dist/types/components/layout/Header.vue.d.ts +65 -0
  80. package/dist/types/components/layout/Header.vue.d.ts.map +1 -0
  81. package/dist/types/components/layout/MainComponent.vue.d.ts +41 -0
  82. package/dist/types/components/layout/MainComponent.vue.d.ts.map +1 -0
  83. package/dist/types/components/layout/PageTitle.vue.d.ts +27 -0
  84. package/dist/types/components/layout/PageTitle.vue.d.ts.map +1 -0
  85. package/dist/types/components/modals/ConfirmationModal.vue.d.ts +50 -0
  86. package/dist/types/components/modals/ConfirmationModal.vue.d.ts.map +1 -0
  87. package/dist/types/components/modals/DefaultModal.vue.d.ts +76 -0
  88. package/dist/types/components/modals/DefaultModal.vue.d.ts.map +1 -0
  89. package/dist/types/components/modals/EditTableColumnsModalComponent.vue.d.ts +26 -0
  90. package/dist/types/components/modals/EditTableColumnsModalComponent.vue.d.ts.map +1 -0
  91. package/dist/types/components/modals/TableFilterModalComponent.vue.d.ts +26 -0
  92. package/dist/types/components/modals/TableFilterModalComponent.vue.d.ts.map +1 -0
  93. package/dist/types/components/notifications/ErrorMessageComponent.vue.d.ts +14 -0
  94. package/dist/types/components/notifications/ErrorMessageComponent.vue.d.ts.map +1 -0
  95. package/dist/types/components/notifications/Toast.vue.d.ts +11 -0
  96. package/dist/types/components/notifications/Toast.vue.d.ts.map +1 -0
  97. package/dist/types/components/sidebar/CollapsedSidebarLink.vue.d.ts +19 -0
  98. package/dist/types/components/sidebar/CollapsedSidebarLink.vue.d.ts.map +1 -0
  99. package/dist/types/components/sidebar/Sidebar.vue.d.ts +39 -0
  100. package/dist/types/components/sidebar/Sidebar.vue.d.ts.map +1 -0
  101. package/dist/types/components/sidebar/SidebarLink.vue.d.ts +19 -0
  102. package/dist/types/components/sidebar/SidebarLink.vue.d.ts.map +1 -0
  103. package/dist/types/components/tables/ColumnSubFilter.vue.d.ts +19 -0
  104. package/dist/types/components/tables/ColumnSubFilter.vue.d.ts.map +1 -0
  105. package/dist/types/components/tables/EditTableColumns.vue.d.ts +35 -0
  106. package/dist/types/components/tables/EditTableColumns.vue.d.ts.map +1 -0
  107. package/dist/types/components/tables/SubFilterToggleBtn.vue.d.ts +11 -0
  108. package/dist/types/components/tables/SubFilterToggleBtn.vue.d.ts.map +1 -0
  109. package/dist/types/components/tables/Table.vue.d.ts +166 -0
  110. package/dist/types/components/tables/Table.vue.d.ts.map +1 -0
  111. package/dist/types/components/tables/TableAppliedFiltersStorage.vue.d.ts +16 -0
  112. package/dist/types/components/tables/TableAppliedFiltersStorage.vue.d.ts.map +1 -0
  113. package/dist/types/components/tables/TableCount.example.vue.d.ts +3 -0
  114. package/dist/types/components/tables/TableCount.example.vue.d.ts.map +1 -0
  115. package/dist/types/components/tables/TableCount.vue.d.ts +24 -0
  116. package/dist/types/components/tables/TableCount.vue.d.ts.map +1 -0
  117. package/dist/types/components/tables/TableQuickFilterComponent.vue.d.ts +18 -0
  118. package/dist/types/components/tables/TableQuickFilterComponent.vue.d.ts.map +1 -0
  119. package/dist/types/components/tables/ToggleAllTableRowButtons.vue.d.ts +22 -0
  120. package/dist/types/components/tables/ToggleAllTableRowButtons.vue.d.ts.map +1 -0
  121. package/dist/types/components/utilities/FilterValuesPanel.stories.d.ts +16 -0
  122. package/dist/types/components/utilities/FilterValuesPanel.stories.d.ts.map +1 -0
  123. package/dist/types/components/utilities/FilterValuesPanel.vue.d.ts +13 -0
  124. package/dist/types/components/utilities/FilterValuesPanel.vue.d.ts.map +1 -0
  125. package/dist/types/composables/forms/useAddressForm.d.ts +124 -0
  126. package/dist/types/composables/forms/useAddressForm.d.ts.map +1 -0
  127. package/dist/types/composables/forms/useSearchForm.d.ts +48 -0
  128. package/dist/types/composables/forms/useSearchForm.d.ts.map +1 -0
  129. package/dist/types/composables/main/useMain.d.ts +10 -0
  130. package/dist/types/composables/main/useMain.d.ts.map +1 -0
  131. package/dist/types/composables/sidebar/useSidebar.d.ts +20 -0
  132. package/dist/types/composables/sidebar/useSidebar.d.ts.map +1 -0
  133. package/dist/types/composables/table/useTableDefault.d.ts +42 -0
  134. package/dist/types/composables/table/useTableDefault.d.ts.map +1 -0
  135. package/dist/types/main-simple.d.ts +25 -0
  136. package/dist/types/main-simple.d.ts.map +1 -0
  137. package/dist/types/main.d.ts +51 -0
  138. package/dist/types/main.d.ts.map +1 -0
  139. package/dist/types/test-setup.d.ts +2 -0
  140. package/dist/types/test-setup.d.ts.map +1 -0
  141. package/dist/types/utils/constants.d.ts +25 -0
  142. package/dist/types/utils/constants.d.ts.map +1 -0
  143. package/dist/types/utils/helpers.d.ts +199 -0
  144. package/dist/types/utils/helpers.d.ts.map +1 -0
  145. package/dist/types/utils/tableLocalizations.d.ts +26 -0
  146. package/dist/types/utils/tableLocalizations.d.ts.map +1 -0
  147. package/package.json +1 -1
@@ -0,0 +1,199 @@
1
+ import { type Component } from "vue";
2
+ interface SelectOption {
3
+ id: any;
4
+ name: string;
5
+ [key: string]: any;
6
+ }
7
+ interface MaskConfig {
8
+ alias?: string;
9
+ mask?: string;
10
+ regex?: string;
11
+ }
12
+ interface FormatOptions {
13
+ locale?: string;
14
+ currency?: string;
15
+ withTime?: boolean;
16
+ }
17
+ /**
18
+ * Проверяет, есть ли хотя бы одно значение из arr в haystack
19
+ * @param haystack - массив в котором ищем
20
+ * @param arr - массив значений для поиска
21
+ * @returns true если найдено хотя бы одно значение
22
+ */
23
+ export declare const findOne: (haystack: string[], arr: string[]) => boolean;
24
+ /**
25
+ * Проверяет, есть ли все значения из arr в haystack
26
+ * @param haystack - массив в котором ищем
27
+ * @param arr - массив значений для поиска
28
+ * @returns true если найдены все значения
29
+ */
30
+ export declare const findAll: (haystack: string[], arr: string[]) => boolean;
31
+ export declare function prepareSelectOptions(arr: SelectOption[]): {
32
+ id: any;
33
+ label: string;
34
+ all: SelectOption;
35
+ }[];
36
+ export declare function scrollToError(): void;
37
+ export declare function scrollToElement(selector: string, options?: ScrollIntoViewOptions): void;
38
+ export declare function getBrowserLocale(): string | undefined;
39
+ export declare function getSupportedLocales(): string[];
40
+ export declare function isValidLocale(locale: string): boolean;
41
+ export declare function debounce<T extends (...args: any[]) => any>(fn: T, wait: number): (...args: Parameters<T>) => void;
42
+ export declare function throttle<T extends (...args: any[]) => any>(fn: T, wait: number): (...args: Parameters<T>) => void;
43
+ export declare function getValueFromObjectItem(i: {
44
+ [key: string]: any;
45
+ }): {
46
+ [key: string]: any;
47
+ };
48
+ export declare function getValueFromArr(arr: any[]): any[];
49
+ export declare function sumOfArrayNumbers(arr: number[]): number;
50
+ export declare const initEmailMask: () => MaskConfig;
51
+ export declare const initPhoneMask: (country?: "ru" | "kz" | "us") => MaskConfig;
52
+ export declare const initInnMask: () => MaskConfig;
53
+ export declare const initKppMask: () => MaskConfig;
54
+ export declare const initSnilsMask: () => MaskConfig;
55
+ export declare const initPassportMask: () => MaskConfig;
56
+ export declare function isValidDate(dateString: string): boolean;
57
+ export declare function formatDate(string: string, options?: FormatOptions): string;
58
+ export declare function formatMoney(amount: number | string, options?: FormatOptions): string;
59
+ export declare function getNowDate(formatString: string): string;
60
+ export declare function addDays(date: Date, days: number): Date;
61
+ export declare function addMonths(date: Date, months: number): Date;
62
+ export declare function addYears(date: Date, years: number): Date;
63
+ export declare function getDeclinationFromNumber(number: number, one: string, two: string, five: string): string;
64
+ export declare function firstToUppercase(str: string): string;
65
+ export declare function capitalize(str: string): string;
66
+ export declare function camelCase(str: string): string;
67
+ export declare function kebabCase(str: string): string;
68
+ export declare function snakeCase(str: string): string;
69
+ export declare function truncate(str: string, length: number, suffix?: string): string;
70
+ export declare function maskDate(value: string): string;
71
+ export declare function cutString({ str, limit, }: {
72
+ str: string | null;
73
+ limit?: number | null;
74
+ }): string | null;
75
+ export declare function arrayToCutString(arr: {
76
+ name: string;
77
+ }[], limit: number): string;
78
+ export declare function unique<T>(arr: T[]): T[];
79
+ export declare function groupBy<T>(arr: T[], key: keyof T): {
80
+ [key: string]: T[];
81
+ };
82
+ export declare function sortBy<T>(arr: T[], key: keyof T, direction?: 'asc' | 'desc'): T[];
83
+ export declare function chunk<T>(arr: T[], size: number): T[][];
84
+ export declare function isObject(obj: any): boolean;
85
+ export declare function getDeepCopyObject<T>(obj: T): T;
86
+ export declare function isEqual(first: any, second: any): boolean;
87
+ export declare function isArraysEqual(firstArray: any[], secondArray: any[]): boolean;
88
+ export declare function areArraysEqual(arr1: any[], arr2: any[]): boolean;
89
+ export declare const unflatenObject: (sourceObject: {
90
+ [key: string]: any;
91
+ }) => {
92
+ [key: string]: any;
93
+ };
94
+ export declare const flattenObject: (sourceObject: {
95
+ [key: string]: any;
96
+ }) => {
97
+ [key: string]: any;
98
+ };
99
+ export declare function pick<T extends object, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
100
+ export declare function omit<T, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
101
+ export declare function mountSubFilter(el: HTMLElement, component: Component, propsObj: object, isRemoved?: boolean): boolean;
102
+ export declare function getUniqueKey(): number;
103
+ export declare function generateId(prefix?: string): string;
104
+ export declare function required(varName: string): never;
105
+ export declare function isValidEmail(email: string): boolean;
106
+ export declare function isValidPhone(phone: string): boolean;
107
+ export declare function isValidUrl(url: string): boolean;
108
+ export declare function setLocalStorage(key: string, value: any): void;
109
+ export declare function getLocalStorage<T>(key: string, defaultValue?: T): T | null;
110
+ export declare function removeLocalStorage(key: string): void;
111
+ export declare function setSessionStorage(key: string, value: any): void;
112
+ export declare function getSessionStorage<T>(key: string, defaultValue?: T): T | null;
113
+ export declare function removeSessionStorage(key: string): void;
114
+ export declare function memoize<T extends (...args: any[]) => any>(fn: T): T;
115
+ export declare function once<T extends (...args: any[]) => any>(fn: T): T;
116
+ export declare function clamp(value: number, min: number, max: number): number;
117
+ export declare function lerp(start: number, end: number, factor: number): number;
118
+ export declare function random(min: number, max: number): number;
119
+ export declare function roundToDecimals(value: number, decimals: number): number;
120
+ declare const _default: {
121
+ prepareSelectOptions: typeof prepareSelectOptions;
122
+ scrollToError: typeof scrollToError;
123
+ scrollToElement: typeof scrollToElement;
124
+ getBrowserLocale: typeof getBrowserLocale;
125
+ getSupportedLocales: typeof getSupportedLocales;
126
+ isValidLocale: typeof isValidLocale;
127
+ debounce: typeof debounce;
128
+ throttle: typeof throttle;
129
+ getValueFromObjectItem: typeof getValueFromObjectItem;
130
+ getValueFromArr: typeof getValueFromArr;
131
+ sumOfArrayNumbers: typeof sumOfArrayNumbers;
132
+ initEmailMask: () => MaskConfig;
133
+ initPhoneMask: (country?: "ru" | "kz" | "us") => MaskConfig;
134
+ initInnMask: () => MaskConfig;
135
+ initKppMask: () => MaskConfig;
136
+ initSnilsMask: () => MaskConfig;
137
+ initPassportMask: () => MaskConfig;
138
+ isValidDate: typeof isValidDate;
139
+ formatDate: typeof formatDate;
140
+ formatMoney: typeof formatMoney;
141
+ getNowDate: typeof getNowDate;
142
+ addDays: typeof addDays;
143
+ addMonths: typeof addMonths;
144
+ addYears: typeof addYears;
145
+ getDeclinationFromNumber: typeof getDeclinationFromNumber;
146
+ firstToUppercase: typeof firstToUppercase;
147
+ capitalize: typeof capitalize;
148
+ camelCase: typeof camelCase;
149
+ kebabCase: typeof kebabCase;
150
+ snakeCase: typeof snakeCase;
151
+ truncate: typeof truncate;
152
+ maskDate: typeof maskDate;
153
+ cutString: typeof cutString;
154
+ arrayToCutString: typeof arrayToCutString;
155
+ findOne: (haystack: string[], arr: string[]) => boolean;
156
+ findAll: (haystack: string[], arr: string[]) => boolean;
157
+ unique: typeof unique;
158
+ groupBy: typeof groupBy;
159
+ sortBy: typeof sortBy;
160
+ chunk: typeof chunk;
161
+ isObject: typeof isObject;
162
+ getDeepCopyObject: typeof getDeepCopyObject;
163
+ isEqual: typeof isEqual;
164
+ isArraysEqual: typeof isArraysEqual;
165
+ areArraysEqual: typeof areArraysEqual;
166
+ unflatenObject: (sourceObject: {
167
+ [key: string]: any;
168
+ }) => {
169
+ [key: string]: any;
170
+ };
171
+ flattenObject: (sourceObject: {
172
+ [key: string]: any;
173
+ }) => {
174
+ [key: string]: any;
175
+ };
176
+ pick: typeof pick;
177
+ omit: typeof omit;
178
+ mountSubFilter: typeof mountSubFilter;
179
+ getUniqueKey: typeof getUniqueKey;
180
+ generateId: typeof generateId;
181
+ required: typeof required;
182
+ isValidEmail: typeof isValidEmail;
183
+ isValidPhone: typeof isValidPhone;
184
+ isValidUrl: typeof isValidUrl;
185
+ setLocalStorage: typeof setLocalStorage;
186
+ getLocalStorage: typeof getLocalStorage;
187
+ removeLocalStorage: typeof removeLocalStorage;
188
+ setSessionStorage: typeof setSessionStorage;
189
+ getSessionStorage: typeof getSessionStorage;
190
+ removeSessionStorage: typeof removeSessionStorage;
191
+ memoize: typeof memoize;
192
+ once: typeof once;
193
+ clamp: typeof clamp;
194
+ lerp: typeof lerp;
195
+ random: typeof random;
196
+ roundToDecimals: typeof roundToDecimals;
197
+ };
198
+ export default _default;
199
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAOhD,UAAU,YAAY;IACpB,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,KAAG,OAE3D,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,KAAG,OAE3D,CAAA;AAMD,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,YAAY,EAAE,GAClB;IAAE,EAAE,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,YAAY,CAAA;CAAE,EAAE,CAGjD;AAMD,wBAAgB,aAAa,IAAI,IAAI,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UAAU;uBAS9C,UAAU;uBAIV,UAAU;yBAIR,UAAU;4BAIP,UAAU;;;;;;;;;;;;;;;;;;wBA/JZ,MAAM,EAAE,OAAO,MAAM,EAAE,KAAG,OAAO;wBAUjC,MAAM,EAAE,OAAO,MAAM,EAAE,KAAG,OAAO;;;;;;;;;;mCA2ZtB;QAC3C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;kCAsBkB;QAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;AAuM1B,wBAmGE"}
@@ -0,0 +1,26 @@
1
+ export declare const getTableLocalizations: () => {
2
+ en: {
3
+ pagination: {
4
+ first: string;
5
+ first_title: string;
6
+ last: string;
7
+ last_title: string;
8
+ prev: string;
9
+ prev_title: string;
10
+ next: string;
11
+ next_title: string;
12
+ all: string;
13
+ counter: {
14
+ showing: string;
15
+ of: string;
16
+ rows: string;
17
+ pages: string;
18
+ };
19
+ };
20
+ data: {
21
+ loading: string;
22
+ error: string;
23
+ };
24
+ };
25
+ };
26
+ //# sourceMappingURL=tableLocalizations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableLocalizations.d.ts","sourceRoot":"","sources":["../../../src/utils/tableLocalizations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;CA+BjC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "r3ui-lib",
3
3
  "private": false,
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "description": "Modern Vue 3 UI component library with TypeScript support",
6
6
  "keywords": [
7
7
  "vue",