@oneb/ui-vue 0.2.29 → 0.3.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.
- package/dist/dataTable/index.cjs +1 -1
- package/dist/dataTable/index.js +4 -3
- package/dist/dropdown/index.cjs +1 -1
- package/dist/dropdown/index.js +12 -11
- package/dist/entityPicker/entityPicker.d.ts +2 -13
- package/dist/entityPicker/index.d.ts +0 -1
- package/dist/i18n/defaults.d.ts +1 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/plugin.d.ts +10 -0
- package/dist/i18n/useI18n.d.ts +2 -0
- package/dist/{index-4f1aeab2.js → index-649075f0.js} +397 -396
- package/dist/index-85e729ab.cjs +1 -0
- package/dist/index-8b41a099.cjs +1 -0
- package/dist/{index-8b4488cc.js → index-98daa7ed.js} +230 -229
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4850 -4525
- package/dist/periodPicker/periodPicker.d.ts +30 -56
- package/dist/periodPicker/util.d.ts +6 -1
- package/dist/style.css +1 -1
- package/dist/useI18n-2103b39e.js +126 -0
- package/dist/useI18n-bcf9c640.cjs +1 -0
- package/package.json +1 -1
- package/dist/index-09b67bb7.cjs +0 -1
- package/dist/index-5fa52675.cjs +0 -1
package/dist/dataTable/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-8b41a099.cjs");require("vue");require("../useI18n-bcf9c640.cjs");require("../ChevronRightIcon-6aa413c4.cjs");require("../SpinnerIcon-01be39fe.cjs");require("../_plugin-vue_export-helper-f246444f.cjs");exports.OneColumn=e._sfc_main;exports.OneDataTable=e.OneDataTable;exports.OneDataTablePaginator=e._sfc_main$1;
|
package/dist/dataTable/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as p, O as n, a as O } from "../index-98daa7ed.js";
|
|
2
2
|
import "vue";
|
|
3
|
+
import "../useI18n-2103b39e.js";
|
|
3
4
|
import "../ChevronRightIcon-8df1af46.js";
|
|
4
5
|
import "../SpinnerIcon-516264ba.js";
|
|
5
6
|
import "../_plugin-vue_export-helper-dad06003.js";
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
p as OneColumn,
|
|
8
9
|
n as OneDataTable,
|
|
9
|
-
|
|
10
|
+
O as OneDataTablePaginator
|
|
10
11
|
};
|
package/dist/dropdown/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../OneHelpMenu-95ae3d5a.cjs"),r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../OneHelpMenu-95ae3d5a.cjs"),r=require("../index-85e729ab.cjs");require("vue");require("../OneAvatar.vue_vue_type_script_setup_true_lang-2d9f44f1.cjs");require("../XMarkIcon-f94baa4c.cjs");require("../ChevronRightIcon-6aa413c4.cjs");require("../button/index.cjs");require("../SpinnerIcon-01be39fe.cjs");require("../_plugin-vue_export-helper-f246444f.cjs");require("../useI18n-bcf9c640.cjs");exports.OneBrowserMenu=e.OneBrowserMenu;exports.OneDropdown=e._sfc_main;exports.OneDropdownItem=e._sfc_main$1;exports.OneHelpMenu=e.OneHelpMenu;exports.OneUserMenu=e._sfc_main$2;exports.OneBrowserMenuGrid=r._sfc_main$1;exports.OneDropdownAuto=r._sfc_main;exports.OneDropdownDivider=r.OneDropdownDivider;exports.OneDropdownSelect=r._sfc_main$2;
|
package/dist/dropdown/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O
|
|
2
|
-
import { b as
|
|
1
|
+
import { O, _ as d, a as w, c as D, b as u } from "../OneHelpMenu-9a2f42f5.js";
|
|
2
|
+
import { b as c, _ as b, a as f, c as l } from "../index-649075f0.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "../OneAvatar.vue_vue_type_script_setup_true_lang-08ab80dd.js";
|
|
5
5
|
import "../XMarkIcon-51ef0691.js";
|
|
@@ -7,14 +7,15 @@ import "../ChevronRightIcon-8df1af46.js";
|
|
|
7
7
|
import "../button/index.js";
|
|
8
8
|
import "../SpinnerIcon-516264ba.js";
|
|
9
9
|
import "../_plugin-vue_export-helper-dad06003.js";
|
|
10
|
+
import "../useI18n-2103b39e.js";
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
O as OneBrowserMenu,
|
|
13
|
+
c as OneBrowserMenuGrid,
|
|
14
|
+
d as OneDropdown,
|
|
15
|
+
b as OneDropdownAuto,
|
|
16
|
+
f as OneDropdownDivider,
|
|
17
|
+
w as OneDropdownItem,
|
|
18
|
+
l as OneDropdownSelect,
|
|
19
|
+
D as OneHelpMenu,
|
|
20
|
+
u as OneUserMenu
|
|
20
21
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TranslateFunction } from '../i18n/plugin';
|
|
1
2
|
export interface EntityItem {
|
|
2
3
|
id: string | number;
|
|
3
4
|
[key: string]: unknown;
|
|
@@ -20,19 +21,6 @@ export interface ListEntityUseReturn {
|
|
|
20
21
|
value: unknown;
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Translation function type for OneEntityPicker component.
|
|
25
|
-
*
|
|
26
|
-
* Required translation keys:
|
|
27
|
-
* - 'entity_picker.Loading' - Loading indicator text (e.g., "Loading...")
|
|
28
|
-
* - 'entity_picker.Select' - Modal title (e.g., "Select")
|
|
29
|
-
* - 'entity_picker.Search' - Search input placeholder (e.g., "Search...")
|
|
30
|
-
* - 'entity_picker.Change' - Change button text (e.g., "Change")
|
|
31
|
-
* - 'entity_picker.Edit' - Edit button text (e.g., "Edit")
|
|
32
|
-
* - 'entity_picker.List empty' - Empty list message (e.g., "List is empty")
|
|
33
|
-
* - 'entity_picker.Nothing found for' - Search no results prefix (e.g., "Nothing found for")
|
|
34
|
-
*/
|
|
35
|
-
export type TranslateFunction = (key: string) => string;
|
|
36
24
|
/**
|
|
37
25
|
* Default Ukrainian translations for OneEntityPicker.
|
|
38
26
|
* Copy and customize for your app.
|
|
@@ -42,6 +30,7 @@ export declare const entityPickerProps: {
|
|
|
42
30
|
t: {
|
|
43
31
|
type: PropType<TranslateFunction>;
|
|
44
32
|
required: boolean;
|
|
33
|
+
default: any;
|
|
45
34
|
};
|
|
46
35
|
title: {
|
|
47
36
|
required: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { default as OneEntityPicker } from './OneEntityPicker.vue';
|
|
2
2
|
export type { EntityItem, ListEntityUseReturn } from './entityPicker';
|
|
3
|
-
export type { TranslateFunction as EntityPickerTranslateFunction } from './entityPicker';
|
|
4
3
|
export { defaultEntityPickerTranslations } from './entityPicker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defaultTranslations: Record<string, string>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { InjectionKey } from 'vue';
|
|
2
|
+
export type TranslateFunction = (key: string, params?: Record<string, string | number>) => string;
|
|
3
|
+
export interface OnebI18nOptions {
|
|
4
|
+
t?: TranslateFunction;
|
|
5
|
+
translations?: Record<string, string>;
|
|
6
|
+
}
|
|
7
|
+
export declare const OnebI18nKey: InjectionKey<TranslateFunction>;
|
|
8
|
+
export declare const OnebI18n: {
|
|
9
|
+
install(app: App, options?: OnebI18nOptions): void;
|
|
10
|
+
};
|