@a-vision-software/vue-input-components 1.2.1 → 1.2.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/types.d.ts +40 -3
- package/dist/vue-input-components.cjs.js +561 -1
- package/dist/vue-input-components.css +1 -1
- package/dist/vue-input-components.es.js +8020 -4700
- package/dist/vue-input-components.umd.js +561 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { default as Action } from './components/Action';
|
|
2
1
|
import { Component } from 'vue';
|
|
3
2
|
import { default as FileUpload } from './components/FileUpload';
|
|
3
|
+
import { default as Navigation } from './components/Navigation';
|
|
4
4
|
import { default as TextInput } from './components/TextInput';
|
|
5
5
|
|
|
6
|
-
export { Action }
|
|
7
|
-
|
|
8
6
|
export declare type ActionComponent = {
|
|
9
7
|
focus: () => void;
|
|
10
8
|
blur: () => void;
|
|
@@ -47,6 +45,45 @@ export declare interface FileUploadProps {
|
|
|
47
45
|
uploadUrl?: string;
|
|
48
46
|
}
|
|
49
47
|
|
|
48
|
+
export { Navigation }
|
|
49
|
+
|
|
50
|
+
export declare interface NavigationComponent {
|
|
51
|
+
props: NavigationProps;
|
|
52
|
+
emits: {
|
|
53
|
+
(e: 'item-click', item: NavigationItem): void;
|
|
54
|
+
(e: 'update:activeItem', id: string): void;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export declare interface NavigationItem {
|
|
59
|
+
id: string;
|
|
60
|
+
label: string;
|
|
61
|
+
icon?: string;
|
|
62
|
+
url?: string;
|
|
63
|
+
children?: NavigationItem[];
|
|
64
|
+
type?: 'tile' | 'tab' | 'dropdown';
|
|
65
|
+
color?: string;
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
alignment?: 'start' | 'end';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export declare interface NavigationProps {
|
|
71
|
+
items: NavigationItem[];
|
|
72
|
+
type?: 'tiles' | 'tabs' | 'dropdowns';
|
|
73
|
+
orientation?: 'horizontal' | 'vertical';
|
|
74
|
+
activeItem?: string;
|
|
75
|
+
color?: string;
|
|
76
|
+
hoverColor?: string;
|
|
77
|
+
activeColor?: string;
|
|
78
|
+
disabledColor?: string;
|
|
79
|
+
iconSize?: string;
|
|
80
|
+
gap?: string;
|
|
81
|
+
padding?: string;
|
|
82
|
+
borderRadius?: string;
|
|
83
|
+
showIcons?: boolean;
|
|
84
|
+
activeItemAlignment?: 'start' | 'end';
|
|
85
|
+
}
|
|
86
|
+
|
|
50
87
|
export { TextInput }
|
|
51
88
|
|
|
52
89
|
export declare type TextInputComponent = {
|