@v1nt1248/3nclient-lib 0.0.25 → 0.0.26
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 +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/ui3n-button.vue.d.ts +11 -52
- package/dist/components/ui3n-checkbox.vue.d.ts +68 -0
- package/dist/components/ui3n-dialog.vue.d.ts +11 -24
- package/dist/components/ui3n-drop-files.vue.d.ts +11 -22
- package/dist/components/ui3n-emoji.vue.d.ts +22 -28
- package/dist/components/ui3n-icon.vue.d.ts +11 -72
- package/dist/components/ui3n-input.vue.d.ts +11 -60
- package/dist/components/ui3n-list.vue.d.ts +36 -11
- package/dist/components/ui3n-menu.vue.d.ts +29 -45
- package/dist/components/ui3n-notification.vue.d.ts +10 -70
- package/dist/components/ui3n-table-sort-icon.vue.d.ts +9 -22
- package/dist/components/ui3n-table.vue.d.ts +11 -18
- package/dist/components/ui3n-text.vue.d.ts +11 -48
- package/dist/components/ui3n-virtual-scroll.vue.d.ts +21 -11
- package/dist/index.d.ts +2 -0
- package/dist/stories/Ui3nButton.stories.d.ts +32 -47
- package/dist/stories/Ui3nCheckbox.stories.d.ts +226 -0
- package/dist/stories/Ui3nDropFiles.stories.d.ts +15 -47
- package/dist/stories/Ui3nEmoji.stories.d.ts +8 -8
- package/dist/stories/Ui3nList.stories.d.ts +36 -11
- package/dist/style.css +1 -1
- package/dist/ui-3n-lib.js +4949 -4860
- package/package.json +11 -11
- package/src/components/index.ts +6 -0
- package/src/components/ui3n-button.vue +2 -15
- package/src/components/ui3n-checkbox.vue +191 -0
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ import Ui3nInput from './ui3n-input.vue';
|
|
|
10
10
|
import type { Ui3nInputProps, Ui3nInputEmits } from './ui3n-input.vue';
|
|
11
11
|
import Ui3nText from './ui3n-text.vue';
|
|
12
12
|
import type { Ui3nTextProps, Ui3nTextEmits } from './ui3n-text.vue';
|
|
13
|
+
import Ui3mCheckbox from './ui3n-checkbox.vue';
|
|
14
|
+
import type { Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots } from './ui3n-checkbox.vue';
|
|
13
15
|
import Ui3nNotification from './ui3n-notification.vue';
|
|
14
16
|
import Ui3nTableSortIcon from './ui3n-table-sort-icon.vue';
|
|
15
17
|
import type { Ui3nTableSortIconProps } from './ui3n-table-sort-icon.vue';
|
|
@@ -23,4 +25,4 @@ import Ui3nList from './ui3n-list.vue';
|
|
|
23
25
|
import type { Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list.vue';
|
|
24
26
|
import Ui3nVirtualScroll from './ui3n-virtual-scroll.vue';
|
|
25
27
|
import type { Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
|
|
26
|
-
export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, };
|
|
28
|
+
export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3mCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, };
|
|
@@ -13,61 +13,11 @@ export interface Ui3nButtonEmits {
|
|
|
13
13
|
(ev: 'focus', value: Event): void;
|
|
14
14
|
(ev: 'blur', value: Event): void;
|
|
15
15
|
}
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
17
|
-
textColor: {
|
|
18
|
-
type: import("vue").PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
color: {
|
|
21
|
-
type: import("vue").PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
round: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
elevation: {
|
|
27
|
-
type: import("vue").PropType<boolean>;
|
|
28
|
-
};
|
|
29
|
-
icon: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
iconSize: {
|
|
33
|
-
type: import("vue").PropType<string | number>;
|
|
34
|
-
};
|
|
35
|
-
iconColor: {
|
|
36
|
-
type: import("vue").PropType<string>;
|
|
37
|
-
};
|
|
38
|
-
disabled: {
|
|
39
|
-
type: import("vue").PropType<boolean>;
|
|
40
|
-
};
|
|
41
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
17
|
click: (value: Event) => void;
|
|
43
18
|
focus: (value: Event) => void;
|
|
44
19
|
blur: (value: Event) => void;
|
|
45
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
textColor: {
|
|
47
|
-
type: import("vue").PropType<string>;
|
|
48
|
-
};
|
|
49
|
-
color: {
|
|
50
|
-
type: import("vue").PropType<string>;
|
|
51
|
-
};
|
|
52
|
-
round: {
|
|
53
|
-
type: import("vue").PropType<boolean>;
|
|
54
|
-
};
|
|
55
|
-
elevation: {
|
|
56
|
-
type: import("vue").PropType<boolean>;
|
|
57
|
-
};
|
|
58
|
-
icon: {
|
|
59
|
-
type: import("vue").PropType<string>;
|
|
60
|
-
};
|
|
61
|
-
iconSize: {
|
|
62
|
-
type: import("vue").PropType<string | number>;
|
|
63
|
-
};
|
|
64
|
-
iconColor: {
|
|
65
|
-
type: import("vue").PropType<string>;
|
|
66
|
-
};
|
|
67
|
-
disabled: {
|
|
68
|
-
type: import("vue").PropType<boolean>;
|
|
69
|
-
};
|
|
70
|
-
}>> & {
|
|
20
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>>> & {
|
|
71
21
|
onClick?: ((value: Event) => any) | undefined;
|
|
72
22
|
onFocus?: ((value: Event) => any) | undefined;
|
|
73
23
|
onBlur?: ((value: Event) => any) | undefined;
|
|
@@ -75,6 +25,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
25
|
default?(_: {}): any;
|
|
76
26
|
}>;
|
|
77
27
|
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
78
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
38
|
new (): {
|
|
80
39
|
$slots: S;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
type Ui3nCheckboxValue = boolean | string | number;
|
|
2
|
+
export interface Ui3nCheckboxProps {
|
|
3
|
+
modelValue: Ui3nCheckboxValue;
|
|
4
|
+
checkedValue?: Ui3nCheckboxValue;
|
|
5
|
+
uncheckedValue?: Ui3nCheckboxValue;
|
|
6
|
+
size?: number | string;
|
|
7
|
+
color?: string;
|
|
8
|
+
indeterminate?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Ui3nCheckboxEmits {
|
|
12
|
+
(ev: 'change', value: Ui3nCheckboxValue): void;
|
|
13
|
+
(ev: 'update:modelValue', value: Ui3nCheckboxValue): void;
|
|
14
|
+
}
|
|
15
|
+
export interface Ui3nCheckboxSlots {
|
|
16
|
+
default: () => any;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
|
|
19
|
+
modelValue: boolean;
|
|
20
|
+
checkedValue: boolean;
|
|
21
|
+
uncheckedValue: boolean;
|
|
22
|
+
size: string;
|
|
23
|
+
color: string;
|
|
24
|
+
indeterminate: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
change: (value: Ui3nCheckboxValue) => void;
|
|
28
|
+
"update:modelValue": (value: Ui3nCheckboxValue) => void;
|
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
|
|
30
|
+
modelValue: boolean;
|
|
31
|
+
checkedValue: boolean;
|
|
32
|
+
uncheckedValue: boolean;
|
|
33
|
+
size: string;
|
|
34
|
+
color: string;
|
|
35
|
+
indeterminate: boolean;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
}>>> & {
|
|
38
|
+
onChange?: ((value: Ui3nCheckboxValue) => any) | undefined;
|
|
39
|
+
"onUpdate:modelValue"?: ((value: Ui3nCheckboxValue) => any) | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
color: string;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
modelValue: Ui3nCheckboxValue;
|
|
44
|
+
checkedValue: Ui3nCheckboxValue;
|
|
45
|
+
uncheckedValue: Ui3nCheckboxValue;
|
|
46
|
+
size: string | number;
|
|
47
|
+
indeterminate: boolean;
|
|
48
|
+
}, {}>, Readonly<Ui3nCheckboxSlots>>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -34,36 +34,14 @@ export interface Ui3nDialogComponentEmits {
|
|
|
34
34
|
(ev: 'cancel', value?: any): void;
|
|
35
35
|
(ev: 'click-overlay', value?: any): void;
|
|
36
36
|
}
|
|
37
|
-
declare const _default: import("vue").DefineComponent<{
|
|
38
|
-
component: {
|
|
39
|
-
type: import("vue").PropType<Component>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
componentProps: {
|
|
43
|
-
type: import("vue").PropType<Record<string, any>>;
|
|
44
|
-
};
|
|
45
|
-
dialogProps: {
|
|
46
|
-
type: import("vue").PropType<Ui3nDialogProps>;
|
|
47
|
-
};
|
|
48
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
38
|
open: (value?: any) => void;
|
|
50
39
|
"before-close": (value?: any) => void;
|
|
51
40
|
close: (value?: any) => void;
|
|
52
41
|
confirm: (value?: any) => void;
|
|
53
42
|
cancel: (value?: any) => void;
|
|
54
43
|
"click-overlay": (value?: any) => void;
|
|
55
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
-
component: {
|
|
57
|
-
type: import("vue").PropType<Component>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
componentProps: {
|
|
61
|
-
type: import("vue").PropType<Record<string, any>>;
|
|
62
|
-
};
|
|
63
|
-
dialogProps: {
|
|
64
|
-
type: import("vue").PropType<Ui3nDialogProps>;
|
|
65
|
-
};
|
|
66
|
-
}>> & {
|
|
44
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>>> & {
|
|
67
45
|
onCancel?: ((value?: any) => any) | undefined;
|
|
68
46
|
onOpen?: ((value?: any) => any) | undefined;
|
|
69
47
|
"onBefore-close"?: ((value?: any) => any) | undefined;
|
|
@@ -72,3 +50,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
50
|
"onClick-overlay"?: ((value?: any) => any) | undefined;
|
|
73
51
|
}, {}, {}>;
|
|
74
52
|
export default _default;
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -6,34 +6,23 @@ export interface Ui3nDropFilesProps {
|
|
|
6
6
|
export interface Ui3nDropFilesEmits {
|
|
7
7
|
(e: 'select', fileList: FileList): void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
10
|
-
title: {
|
|
11
|
-
type: import("vue").PropType<string>;
|
|
12
|
-
};
|
|
13
|
-
text: {
|
|
14
|
-
type: import("vue").PropType<string>;
|
|
15
|
-
};
|
|
16
|
-
additionalText: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
10
|
select: (fileList: FileList) => void;
|
|
21
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
title: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
text: {
|
|
26
|
-
type: import("vue").PropType<string>;
|
|
27
|
-
};
|
|
28
|
-
additionalText: {
|
|
29
|
-
type: import("vue").PropType<string>;
|
|
30
|
-
};
|
|
31
|
-
}>> & {
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>>> & {
|
|
32
12
|
onSelect?: ((fileList: FileList) => any) | undefined;
|
|
33
13
|
}, {}, {}>, {
|
|
34
14
|
default?(_: {}): any;
|
|
35
15
|
}>;
|
|
36
16
|
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
37
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
27
|
new (): {
|
|
39
28
|
$slots: S;
|
|
@@ -6,38 +6,32 @@ export interface Ui3nEmojiProps {
|
|
|
6
6
|
export interface Ui3nEmojiEmits {
|
|
7
7
|
(ev: 'click', value: Event): void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
size: {
|
|
15
|
-
type: import("vue").PropType<string | number>;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
readonly: {
|
|
19
|
-
type: import("vue").PropType<boolean>;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
|
|
10
|
+
size: number;
|
|
11
|
+
readonly: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
13
|
click: (value: Event) => void;
|
|
24
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
size: {
|
|
30
|
-
type: import("vue").PropType<string | number>;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
readonly: {
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
}>> & {
|
|
14
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
|
|
15
|
+
size: number;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
}>>> & {
|
|
38
18
|
onClick?: ((value: Event) => any) | undefined;
|
|
39
19
|
}, {
|
|
40
20
|
size: string | number;
|
|
41
21
|
readonly: boolean;
|
|
42
22
|
}, {}>;
|
|
43
23
|
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
@@ -14,79 +14,18 @@ export interface Ui3nIconProps {
|
|
|
14
14
|
export interface Ui3nIconEmits {
|
|
15
15
|
(ev: 'click', value: Event): void;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: import("vue").DefineComponent<{
|
|
18
|
-
icon: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
title: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
inline: {
|
|
26
|
-
type: import("vue").PropType<boolean>;
|
|
27
|
-
};
|
|
28
|
-
width: {
|
|
29
|
-
type: import("vue").PropType<string | number>;
|
|
30
|
-
};
|
|
31
|
-
height: {
|
|
32
|
-
type: import("vue").PropType<string | number>;
|
|
33
|
-
};
|
|
34
|
-
horizontalFlip: {
|
|
35
|
-
type: import("vue").PropType<boolean>;
|
|
36
|
-
};
|
|
37
|
-
verticalFlip: {
|
|
38
|
-
type: import("vue").PropType<boolean>;
|
|
39
|
-
};
|
|
40
|
-
flip: {
|
|
41
|
-
type: import("vue").PropType<string>;
|
|
42
|
-
};
|
|
43
|
-
rotate: {
|
|
44
|
-
type: import("vue").PropType<number>;
|
|
45
|
-
};
|
|
46
|
-
color: {
|
|
47
|
-
type: import("vue").PropType<string>;
|
|
48
|
-
};
|
|
49
|
-
onLoad: {
|
|
50
|
-
type: import("vue").PropType<Function>;
|
|
51
|
-
};
|
|
52
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
18
|
click: (value: Event) => void;
|
|
54
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
icon: {
|
|
56
|
-
type: import("vue").PropType<string>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
title: {
|
|
60
|
-
type: import("vue").PropType<string>;
|
|
61
|
-
};
|
|
62
|
-
inline: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
};
|
|
65
|
-
width: {
|
|
66
|
-
type: import("vue").PropType<string | number>;
|
|
67
|
-
};
|
|
68
|
-
height: {
|
|
69
|
-
type: import("vue").PropType<string | number>;
|
|
70
|
-
};
|
|
71
|
-
horizontalFlip: {
|
|
72
|
-
type: import("vue").PropType<boolean>;
|
|
73
|
-
};
|
|
74
|
-
verticalFlip: {
|
|
75
|
-
type: import("vue").PropType<boolean>;
|
|
76
|
-
};
|
|
77
|
-
flip: {
|
|
78
|
-
type: import("vue").PropType<string>;
|
|
79
|
-
};
|
|
80
|
-
rotate: {
|
|
81
|
-
type: import("vue").PropType<number>;
|
|
82
|
-
};
|
|
83
|
-
color: {
|
|
84
|
-
type: import("vue").PropType<string>;
|
|
85
|
-
};
|
|
86
|
-
onLoad: {
|
|
87
|
-
type: import("vue").PropType<Function>;
|
|
88
|
-
};
|
|
89
|
-
}>> & {
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>>> & {
|
|
90
20
|
onClick?: ((value: Event) => any) | undefined;
|
|
91
21
|
}, {}, {}>;
|
|
92
22
|
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -18,36 +18,7 @@ export interface Ui3nInputEmits {
|
|
|
18
18
|
(ev: 'update:value', value: string): void;
|
|
19
19
|
(ev: 'update:valid', value: boolean): void;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: import("vue").DefineComponent<{
|
|
22
|
-
value: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
label: {
|
|
27
|
-
type: import("vue").PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
placeholder: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
clearable: {
|
|
33
|
-
type: import("vue").PropType<boolean>;
|
|
34
|
-
};
|
|
35
|
-
autofocus: {
|
|
36
|
-
type: import("vue").PropType<boolean>;
|
|
37
|
-
};
|
|
38
|
-
rules: {
|
|
39
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
40
|
-
};
|
|
41
|
-
disabled: {
|
|
42
|
-
type: import("vue").PropType<boolean>;
|
|
43
|
-
};
|
|
44
|
-
icon: {
|
|
45
|
-
type: import("vue").PropType<string>;
|
|
46
|
-
};
|
|
47
|
-
iconColor: {
|
|
48
|
-
type: import("vue").PropType<string>;
|
|
49
|
-
};
|
|
50
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
22
|
input: (value: string) => void;
|
|
52
23
|
focus: (value: Event) => void;
|
|
53
24
|
blur: (value: Event) => void;
|
|
@@ -55,36 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
26
|
change: (value: string) => void;
|
|
56
27
|
"update:value": (value: string) => void;
|
|
57
28
|
"update:valid": (value: boolean) => void;
|
|
58
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
value: {
|
|
60
|
-
type: import("vue").PropType<string>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
label: {
|
|
64
|
-
type: import("vue").PropType<string>;
|
|
65
|
-
};
|
|
66
|
-
placeholder: {
|
|
67
|
-
type: import("vue").PropType<string>;
|
|
68
|
-
};
|
|
69
|
-
clearable: {
|
|
70
|
-
type: import("vue").PropType<boolean>;
|
|
71
|
-
};
|
|
72
|
-
autofocus: {
|
|
73
|
-
type: import("vue").PropType<boolean>;
|
|
74
|
-
};
|
|
75
|
-
rules: {
|
|
76
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
77
|
-
};
|
|
78
|
-
disabled: {
|
|
79
|
-
type: import("vue").PropType<boolean>;
|
|
80
|
-
};
|
|
81
|
-
icon: {
|
|
82
|
-
type: import("vue").PropType<string>;
|
|
83
|
-
};
|
|
84
|
-
iconColor: {
|
|
85
|
-
type: import("vue").PropType<string>;
|
|
86
|
-
};
|
|
87
|
-
}>> & {
|
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>>> & {
|
|
88
30
|
onFocus?: ((value: Event) => any) | undefined;
|
|
89
31
|
onBlur?: ((value: Event) => any) | undefined;
|
|
90
32
|
onChange?: ((value: string) => any) | undefined;
|
|
@@ -94,3 +36,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
36
|
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
95
37
|
}, {}, {}>;
|
|
96
38
|
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -19,26 +19,51 @@ export interface Ui3nListSlots<T> {
|
|
|
19
19
|
}
|
|
20
20
|
declare const _default: <T extends {
|
|
21
21
|
id?: string | undefined;
|
|
22
|
-
}>(__VLS_props:
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
}>(__VLS_props: {
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
disabled?: boolean | undefined;
|
|
25
|
+
onSelect?: ((value: {
|
|
26
|
+
value: T;
|
|
27
|
+
index: number;
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
sticky?: boolean | undefined;
|
|
30
|
+
items: T[];
|
|
31
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
25
32
|
attrs: any;
|
|
26
|
-
slots: Ui3nListSlots<T
|
|
33
|
+
slots: Readonly<Ui3nListSlots<T>>;
|
|
27
34
|
emit: Ui3nListEmits<T>;
|
|
28
|
-
}
|
|
29
|
-
props:
|
|
30
|
-
|
|
35
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
36
|
+
props: {
|
|
37
|
+
title?: string | undefined;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
onSelect?: ((value: {
|
|
40
|
+
value: T;
|
|
41
|
+
index: number;
|
|
42
|
+
}) => any) | undefined;
|
|
43
|
+
sticky?: boolean | undefined;
|
|
44
|
+
items: T[];
|
|
45
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
46
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
31
47
|
attrs: any;
|
|
32
|
-
slots: Ui3nListSlots<T
|
|
48
|
+
slots: Readonly<Ui3nListSlots<T>>;
|
|
33
49
|
emit: Ui3nListEmits<T>;
|
|
34
50
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
51
|
[key: string]: any;
|
|
36
52
|
}> & {
|
|
37
53
|
__ctx?: {
|
|
38
|
-
props:
|
|
39
|
-
|
|
54
|
+
props: {
|
|
55
|
+
title?: string | undefined;
|
|
56
|
+
disabled?: boolean | undefined;
|
|
57
|
+
onSelect?: ((value: {
|
|
58
|
+
value: T;
|
|
59
|
+
index: number;
|
|
60
|
+
}) => any) | undefined;
|
|
61
|
+
sticky?: boolean | undefined;
|
|
62
|
+
items: T[];
|
|
63
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
64
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
40
65
|
attrs: any;
|
|
41
|
-
slots: Ui3nListSlots<T
|
|
66
|
+
slots: Readonly<Ui3nListSlots<T>>;
|
|
42
67
|
emit: Ui3nListEmits<T>;
|
|
43
68
|
} | undefined;
|
|
44
69
|
};
|
|
@@ -16,55 +16,25 @@ export interface Ui3nMenuSlots {
|
|
|
16
16
|
default: () => any;
|
|
17
17
|
menu?: () => any;
|
|
18
18
|
}
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
default: number;
|
|
27
|
-
};
|
|
28
|
-
offsetY: {
|
|
29
|
-
type: import("vue").PropType<number>;
|
|
30
|
-
default: number;
|
|
31
|
-
};
|
|
32
|
-
closeOnClick: {
|
|
33
|
-
type: import("vue").PropType<boolean>;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
closeOnClickOutside: {
|
|
37
|
-
type: import("vue").PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
|
|
20
|
+
offsetX: number;
|
|
21
|
+
offsetY: number;
|
|
22
|
+
closeOnClick: boolean;
|
|
23
|
+
closeOnClickOutside: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
26
|
open: () => void;
|
|
42
27
|
opened: () => void;
|
|
43
28
|
close: () => void;
|
|
44
29
|
closed: () => void;
|
|
45
30
|
"click-outside": () => void;
|
|
46
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
|
-
offsetY: {
|
|
56
|
-
type: import("vue").PropType<number>;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
closeOnClick: {
|
|
60
|
-
type: import("vue").PropType<boolean>;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
closeOnClickOutside: {
|
|
64
|
-
type: import("vue").PropType<boolean>;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
}>> & {
|
|
31
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
|
|
32
|
+
offsetX: number;
|
|
33
|
+
offsetY: number;
|
|
34
|
+
closeOnClick: boolean;
|
|
35
|
+
closeOnClickOutside: boolean;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
}>>> & {
|
|
68
38
|
onOpen?: (() => any) | undefined;
|
|
69
39
|
onClose?: (() => any) | undefined;
|
|
70
40
|
onOpened?: (() => any) | undefined;
|
|
@@ -76,8 +46,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
76
46
|
offsetY: number;
|
|
77
47
|
closeOnClick: boolean;
|
|
78
48
|
closeOnClickOutside: boolean;
|
|
79
|
-
}, {}>, Ui3nMenuSlots
|
|
49
|
+
}, {}>, Readonly<Ui3nMenuSlots>>;
|
|
80
50
|
export default _default;
|
|
51
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
+
} : {
|
|
56
|
+
type: import('vue').PropType<T[K]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
type __VLS_WithDefaults<P, D> = {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
+
default: D[K];
|
|
63
|
+
}> : P[K];
|
|
64
|
+
};
|
|
81
65
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
66
|
new (): {
|
|
83
67
|
$slots: S;
|