@v1nt1248/3nclient-lib 0.1.16 → 0.1.18
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 +22 -6
- package/dist/components/ui3n-badge/ui3n-badge-simple.vue.d.ts +5 -32
- package/dist/components/ui3n-badge/ui3n-badge.vue.d.ts +2 -31
- package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue.d.ts +5 -30
- package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue.d.ts +2 -25
- package/dist/components/ui3n-button/ui3n-button.vue.d.ts +10 -37
- package/dist/components/ui3n-checkbox/ui3n-checkbox.vue.d.ts +6 -39
- package/dist/components/ui3n-chip/ui3n-chip.vue.d.ts +5 -40
- package/dist/components/ui3n-dialog/ui3n-dialog.vue.d.ts +8 -8
- package/dist/components/ui3n-drop-files/ui3n-drop-files.vue.d.ts +5 -30
- package/dist/components/ui3n-emoji/ui3n-emoji.vue.d.ts +5 -28
- package/dist/components/ui3n-icon/types.d.ts +1 -4
- package/dist/components/ui3n-icon/ui3n-icon.vue.d.ts +6 -35
- package/dist/components/ui3n-input/ui3n-input.vue.d.ts +13 -22
- package/dist/components/ui3n-list/ui3n-list.vue.d.ts +3 -3
- package/dist/components/ui3n-menu/ui3n-menu.vue.d.ts +9 -40
- package/dist/components/ui3n-notification/ui3n-notification.vue.d.ts +2 -33
- package/dist/components/ui3n-progress/ui3n-progress-circular.vue.d.ts +2 -29
- package/dist/components/ui3n-progress/ui3n-progress-linear.vue.d.ts +2 -29
- package/dist/components/ui3n-radio-group/ui3n-radio.vue.d.ts +8 -39
- package/dist/components/ui3n-step-line-bar/ui3n-step-line-bar.vue.d.ts +2 -23
- package/dist/components/ui3n-switch/ui3n-switch.vue.d.ts +6 -31
- package/dist/components/ui3n-table/composables/useTable.d.ts +10 -4
- package/dist/components/ui3n-table/ui3n-table-sort-icon.vue.d.ts +1 -10
- package/dist/components/ui3n-table/ui3n-table.vue.d.ts +4 -4
- package/dist/components/ui3n-tabs/ui3n-tabs.vue.d.ts +5 -38
- package/dist/components/ui3n-text/ui3n-text.vue.d.ts +13 -42
- package/dist/components/ui3n-tooltip/ui3n-tooltip.vue.d.ts +9 -42
- package/dist/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/plugins/types.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/ui3n-components.js +9400 -10643
- package/dist/ui3n-plugins.d.ts +2 -1
- package/dist/ui3n-plugins.js +4084 -5327
- package/dist/variables.css +1 -1
- package/package.json +7 -8
- package/src/components/index.ts +1 -0
- package/src/components/ui3n-chip/ui3n-chip.vue +1 -1
- package/src/components/ui3n-dialog/ui3n-dialog.vue +1 -1
- package/src/components/ui3n-icon/types.ts +1 -4
- package/src/components/ui3n-icon/ui3n-icon.vue +21 -21
- package/src/components/ui3n-input/ui3n-input.vue +3 -2
- package/src/components/ui3n-notification/ui3n-notification.vue +3 -3
- package/src/components/ui3n-table/ui3n-table-sort-icon.vue +2 -2
- package/src/components/ui3n-tabs/ui3n-tabs.vue +12 -12
- package/src/components/ui3n-text/ui3n-text.vue +1 -0
|
@@ -1,30 +1,21 @@
|
|
|
1
1
|
import { Ui3nInputProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
focus: (value: Event) =>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"update:valid": (value: boolean) =>
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
12
|
-
onInit?: ((value: HTMLInputElement) => any) | undefined;
|
|
13
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
blur: (value: Event) => any;
|
|
4
|
+
change: (value: string) => any;
|
|
5
|
+
focus: (value: Event) => any;
|
|
6
|
+
input: (value: string) => any;
|
|
7
|
+
init: (value: HTMLInputElement) => any;
|
|
8
|
+
"update:modelValue": (value: string) => any;
|
|
9
|
+
clear: () => any;
|
|
10
|
+
"update:valid": (value: boolean) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nInputProps> & Readonly<{
|
|
14
12
|
onBlur?: ((value: Event) => any) | undefined;
|
|
15
13
|
onChange?: ((value: string) => any) | undefined;
|
|
14
|
+
onFocus?: ((value: Event) => any) | undefined;
|
|
16
15
|
onInput?: ((value: string) => any) | undefined;
|
|
16
|
+
onInit?: ((value: HTMLInputElement) => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
18
|
onClear?: (() => any) | undefined;
|
|
19
19
|
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
20
|
-
}, {}, {}>;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -3,16 +3,16 @@ declare const _default: <T extends {
|
|
|
3
3
|
id?: string;
|
|
4
4
|
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
6
|
-
onSelect?: ((value: {
|
|
6
|
+
readonly onSelect?: ((value: {
|
|
7
7
|
value: T;
|
|
8
8
|
index: number;
|
|
9
9
|
}) => any) | undefined;
|
|
10
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
|
11
11
|
onSelect?: ((value: {
|
|
12
12
|
value: T;
|
|
13
13
|
index: number;
|
|
14
14
|
}) => any) | undefined;
|
|
15
|
-
}
|
|
15
|
+
}>, never>, "onSelect"> & Ui3nListProps<T>> & import('vue').PublicProps;
|
|
16
16
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
17
17
|
attrs: any;
|
|
18
18
|
slots: ReturnType<() => Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>>;
|
|
@@ -1,60 +1,29 @@
|
|
|
1
1
|
import { Ui3nMenuProps, Ui3nMenuSlots } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nMenuSlots> & Ui3nMenuSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
open: () => void;
|
|
12
|
-
opened: () => void;
|
|
13
|
-
close: () => void;
|
|
14
|
-
closed: () => void;
|
|
15
|
-
"click-outside": () => void;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nMenuProps>, {
|
|
17
|
-
positionStrategy: string;
|
|
18
|
-
offsetX: number;
|
|
19
|
-
offsetY: number;
|
|
20
|
-
closeOnClick: boolean;
|
|
21
|
-
closeOnClickOutside: boolean;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
close: () => any;
|
|
5
|
+
open: () => any;
|
|
6
|
+
opened: () => any;
|
|
7
|
+
closed: () => any;
|
|
8
|
+
"click-outside": () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nMenuProps> & Readonly<{
|
|
24
10
|
onClose?: (() => any) | undefined;
|
|
25
11
|
onOpen?: (() => any) | undefined;
|
|
26
12
|
onOpened?: (() => any) | undefined;
|
|
27
13
|
onClosed?: (() => any) | undefined;
|
|
28
14
|
"onClick-outside"?: (() => any) | undefined;
|
|
29
|
-
}
|
|
15
|
+
}>, {
|
|
30
16
|
disabled: boolean;
|
|
31
17
|
positionStrategy: "absolute" | "fixed";
|
|
32
18
|
offsetX: number;
|
|
33
19
|
offsetY: number;
|
|
34
20
|
closeOnClick: boolean;
|
|
35
21
|
closeOnClickOutside: boolean;
|
|
36
|
-
}, {}>;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
38
24
|
export default _default;
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
47
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
26
|
new (): {
|
|
49
27
|
$slots: S;
|
|
50
28
|
};
|
|
51
29
|
};
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToOption<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -1,41 +1,10 @@
|
|
|
1
1
|
import { Ui3nNotificationProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
type: string;
|
|
4
|
-
position: string;
|
|
5
|
-
duration: number;
|
|
6
|
-
withIcon: boolean;
|
|
7
|
-
onOpen: () => undefined;
|
|
8
|
-
onClose: () => undefined;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nNotificationProps>, {
|
|
10
|
-
type: string;
|
|
11
|
-
position: string;
|
|
12
|
-
duration: number;
|
|
13
|
-
withIcon: boolean;
|
|
14
|
-
onOpen: () => undefined;
|
|
15
|
-
onClose: () => undefined;
|
|
16
|
-
}>>>, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nNotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nNotificationProps> & Readonly<{}>, {
|
|
17
3
|
type: "success" | "warning" | "info" | "error";
|
|
18
4
|
onClose: () => void;
|
|
19
5
|
withIcon: boolean;
|
|
20
6
|
onOpen: () => void;
|
|
21
7
|
position: "left" | "center" | "right";
|
|
22
8
|
duration: number;
|
|
23
|
-
}, {}>;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
10
|
export default _default;
|
|
25
|
-
type __VLS_WithDefaults<P, D> = {
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToOption<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: import('vue').PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,35 +1,8 @@
|
|
|
1
1
|
import { Ui3nProgressCircularProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
value: number;
|
|
4
|
-
size: number;
|
|
5
|
-
bgColor: string;
|
|
6
|
-
color: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nProgressCircularProps>, {
|
|
8
|
-
value: number;
|
|
9
|
-
size: number;
|
|
10
|
-
bgColor: string;
|
|
11
|
-
color: string;
|
|
12
|
-
}>>>, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nProgressCircularProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nProgressCircularProps> & Readonly<{}>, {
|
|
13
3
|
color: string;
|
|
14
4
|
size: number | string;
|
|
15
5
|
bgColor: string;
|
|
16
6
|
value: number | string;
|
|
17
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
8
|
export default _default;
|
|
19
|
-
type __VLS_WithDefaults<P, D> = {
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Prettify<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,35 +1,8 @@
|
|
|
1
1
|
import { Ui3nProgressLinearProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
value: number;
|
|
4
|
-
height: number;
|
|
5
|
-
bgColor: string;
|
|
6
|
-
color: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nProgressLinearProps>, {
|
|
8
|
-
value: number;
|
|
9
|
-
height: number;
|
|
10
|
-
bgColor: string;
|
|
11
|
-
color: string;
|
|
12
|
-
}>>>, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nProgressLinearProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nProgressLinearProps> & Readonly<{}>, {
|
|
13
3
|
height: number | string;
|
|
14
4
|
color: string;
|
|
15
5
|
bgColor: string;
|
|
16
6
|
value: number | string;
|
|
17
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
8
|
export default _default;
|
|
19
|
-
type __VLS_WithDefaults<P, D> = {
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Prettify<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,58 +1,27 @@
|
|
|
1
1
|
import { Ui3nRadioProps, Ui3nRadioSlots, Ui3nRadioValue } from './types';
|
|
2
2
|
declare function change(): void;
|
|
3
3
|
declare function __VLS_template(): Readonly<Ui3nRadioSlots> & Ui3nRadioSlots;
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
5
|
-
modelValue: boolean;
|
|
6
|
-
checkedValue: boolean;
|
|
7
|
-
uncheckedValue: boolean;
|
|
8
|
-
size: string;
|
|
9
|
-
color: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}>, {
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioProps, {
|
|
12
5
|
change: typeof change;
|
|
13
|
-
radioEl: import('vue').Ref<HTMLDivElement | null>;
|
|
14
|
-
},
|
|
15
|
-
change: (value: Ui3nRadioValue) =>
|
|
16
|
-
"update:modelValue": (value: Ui3nRadioValue) =>
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
18
|
-
modelValue: boolean;
|
|
19
|
-
checkedValue: boolean;
|
|
20
|
-
uncheckedValue: boolean;
|
|
21
|
-
size: string;
|
|
22
|
-
color: string;
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
}>>> & {
|
|
6
|
+
radioEl: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
change: (value: Ui3nRadioValue) => any;
|
|
9
|
+
"update:modelValue": (value: Ui3nRadioValue) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nRadioProps> & Readonly<{
|
|
25
11
|
onChange?: ((value: Ui3nRadioValue) => any) | undefined;
|
|
26
12
|
"onUpdate:modelValue"?: ((value: Ui3nRadioValue) => any) | undefined;
|
|
27
|
-
}
|
|
13
|
+
}>, {
|
|
28
14
|
color: string;
|
|
29
15
|
size: number | string;
|
|
30
16
|
disabled: boolean;
|
|
31
17
|
modelValue: Ui3nRadioValue;
|
|
32
18
|
checkedValue: Ui3nRadioValue;
|
|
33
19
|
uncheckedValue: Ui3nRadioValue;
|
|
34
|
-
}, {}>;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
22
|
export default _default;
|
|
37
|
-
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
-
default: D[K];
|
|
40
|
-
}> : P[K];
|
|
41
|
-
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
45
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
24
|
new (): {
|
|
47
25
|
$slots: S;
|
|
48
26
|
};
|
|
49
27
|
};
|
|
50
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
-
type __VLS_TypePropsToOption<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
|
-
};
|
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
import { Ui3nStepLineBarProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nStepLineBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nStepLineBarProps> & Readonly<{}>, {
|
|
3
3
|
current: number;
|
|
4
|
-
}
|
|
5
|
-
current: number;
|
|
6
|
-
}>>>, {
|
|
7
|
-
current: number;
|
|
8
|
-
}, {}>;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
5
|
export default _default;
|
|
10
|
-
type __VLS_WithDefaults<P, D> = {
|
|
11
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
12
|
-
default: D[K];
|
|
13
|
-
}> : P[K];
|
|
14
|
-
};
|
|
15
|
-
type __VLS_Prettify<T> = {
|
|
16
|
-
[K in keyof T]: T[K];
|
|
17
|
-
} & {};
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,45 +1,20 @@
|
|
|
1
1
|
import { Ui3nSwitchProps, Ui3nSwitchSlots } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nSwitchSlots> & Ui3nSwitchSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
change: (value: boolean) => void;
|
|
9
|
-
"update:modelValue": (value: boolean) => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nSwitchProps>, {
|
|
11
|
-
size: number;
|
|
12
|
-
color: string;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
change: (value: boolean) => any;
|
|
5
|
+
"update:modelValue": (value: boolean) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nSwitchProps> & Readonly<{
|
|
15
7
|
onChange?: ((value: boolean) => any) | undefined;
|
|
16
8
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
|
-
}
|
|
9
|
+
}>, {
|
|
18
10
|
color: string;
|
|
19
11
|
size: number | string;
|
|
20
12
|
disabled: boolean;
|
|
21
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
15
|
export default _default;
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
|
32
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
17
|
new (): {
|
|
34
18
|
$slots: S;
|
|
35
19
|
};
|
|
36
20
|
};
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToOption<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: import('vue').PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { Ref, UnwrapRef } from 'vue';
|
|
2
|
-
import { Ui3nTableBodyBaseItem, Ui3nTableEmits, Ui3nTableProps } from '../types';
|
|
2
|
+
import { Ui3nTableBodyBaseItem, Ui3nTableConfig, Ui3nTableEmits, Ui3nTableProps } from '../types';
|
|
3
3
|
import { Ui3nCheckboxValue } from '../../ui3n-checkbox/types';
|
|
4
4
|
export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTableProps<T>, emits: Ui3nTableEmits<T>): {
|
|
5
|
-
tableEl: Ref<HTMLDivElement | null>;
|
|
5
|
+
tableEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
6
6
|
currentConfig: Ref<{
|
|
7
7
|
sortOrder?: {
|
|
8
8
|
field: UnwrapRef<keyof T>;
|
|
9
9
|
direction: "asc" | "desc";
|
|
10
10
|
} | undefined;
|
|
11
11
|
fieldAsRowKey?: UnwrapRef<keyof T> | undefined;
|
|
12
|
+
}, Pick<Ui3nTableConfig<T>, "sortOrder" | "fieldAsRowKey"> | {
|
|
13
|
+
sortOrder?: {
|
|
14
|
+
field: UnwrapRef<keyof T>;
|
|
15
|
+
direction: "asc" | "desc";
|
|
16
|
+
} | undefined;
|
|
17
|
+
fieldAsRowKey?: UnwrapRef<keyof T> | undefined;
|
|
12
18
|
}>;
|
|
13
19
|
visibleColumns: import('vue').ComputedRef<import('../types').Ui3nTableHeadProps<T>[]>;
|
|
14
|
-
hasGroupActionsRow: Ref<boolean>;
|
|
20
|
+
hasGroupActionsRow: Ref<boolean, boolean>;
|
|
15
21
|
showGroupActionsRow: import('vue').ComputedRef<boolean>;
|
|
16
|
-
selectedRows: Ref<Set<T> | T[keyof T][]>;
|
|
22
|
+
selectedRows: Ref<Set<T> | T[keyof T][], Set<T> | T[keyof T][]>;
|
|
17
23
|
selectedRowsArray: import('vue').ComputedRef<T[]>;
|
|
18
24
|
selectedRowsSize: import('vue').ComputedRef<number>;
|
|
19
25
|
closeGroupActionsRow: () => void;
|
|
@@ -1,12 +1,3 @@
|
|
|
1
1
|
import { Ui3nTableSortIconProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nTableSortIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nTableSortIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
export default _default;
|
|
4
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
-
type __VLS_TypePropsToOption<T> = {
|
|
6
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
-
} : {
|
|
9
|
-
type: import('vue').PropType<T[K]>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Ui3nTableBodyBaseItem, Ui3nTableEmits, Ui3nTableProps } from './types';
|
|
2
2
|
declare const _default: <T extends Ui3nTableBodyBaseItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onChange:sort"?: ((val: import('./types').Ui3nTableSort<T>) => any) | undefined;
|
|
5
|
+
readonly "onSelect:row"?: ((val: T[]) => any) | undefined;
|
|
6
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
|
4
7
|
"onChange:sort"?: ((val: import('./types').Ui3nTableSort<T>) => any) | undefined;
|
|
5
8
|
"onSelect:row"?: ((val: T[]) => any) | undefined;
|
|
6
|
-
}
|
|
7
|
-
"onChange:sort"?: ((val: import('./types').Ui3nTableSort<T>) => any) | undefined;
|
|
8
|
-
"onSelect:row"?: ((val: T[]) => any) | undefined;
|
|
9
|
-
}, never>, "onChange:sort" | "onSelect:row"> & Ui3nTableProps<T>> & import('vue').PublicProps;
|
|
9
|
+
}>, never>, "onChange:sort" | "onSelect:row"> & Ui3nTableProps<T>> & import('vue').PublicProps;
|
|
10
10
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: ReturnType<() => Readonly<import('./types').Ui3nTableGroupActionsSlot & import('./types').Ui3nTableHeaderCellSlot<T, string & keyof T> & import('./types').Ui3nTableBodyRowSlot<T> & import('./types').Ui3nTableBodyRowCellSlot<T, string & keyof T>> & import('./types').Ui3nTableGroupActionsSlot & import('./types').Ui3nTableHeaderCellSlot<T, string & keyof T> & import('./types').Ui3nTableBodyRowSlot<T> & import('./types').Ui3nTableBodyRowCellSlot<T, string & keyof T>>;
|
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import { Ui3nTabsProps, Ui3nTabsSlots } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nTabsSlots> & Ui3nTabsSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
modelValue: number;
|
|
5
|
-
|
|
6
|
-
activeColor: string;
|
|
7
|
-
inactiveColor: string;
|
|
8
|
-
indicatorColor: string;
|
|
9
|
-
indicatorSize: number;
|
|
10
|
-
indicatorPosition: string;
|
|
11
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (val: number) => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nTabsProps>, {
|
|
14
|
-
modelValue: number;
|
|
15
|
-
itemDirection: string;
|
|
16
|
-
activeColor: string;
|
|
17
|
-
inactiveColor: string;
|
|
18
|
-
indicatorColor: string;
|
|
19
|
-
indicatorSize: number;
|
|
20
|
-
indicatorPosition: string;
|
|
21
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:modelValue": (val: number) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nTabsProps> & Readonly<{
|
|
22
6
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
23
|
-
}
|
|
7
|
+
}>, {
|
|
24
8
|
modelValue: number;
|
|
25
9
|
itemDirection: "horizontal" | "vertical";
|
|
26
10
|
activeColor: string;
|
|
@@ -28,28 +12,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
28
12
|
indicatorColor: string;
|
|
29
13
|
indicatorSize: number | string;
|
|
30
14
|
indicatorPosition: "normal" | "reverse";
|
|
31
|
-
}, {}>;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
17
|
export default _default;
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
19
|
new (): {
|
|
44
20
|
$slots: S;
|
|
45
21
|
};
|
|
46
22
|
};
|
|
47
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
-
type __VLS_TypePropsToOption<T> = {
|
|
49
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
-
} : {
|
|
52
|
-
type: import('vue').PropType<T[K]>;
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
@@ -1,52 +1,23 @@
|
|
|
1
1
|
import { Ui3nTextProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
input: (value: string) => void;
|
|
11
|
-
focus: (value: Event) => void;
|
|
12
|
-
blur: (value: Event) => void;
|
|
13
|
-
"update:text": (value: string) => void;
|
|
14
|
-
"update:valid": (value: boolean) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nTextProps>, {
|
|
16
|
-
rows: number;
|
|
17
|
-
maxRows: number;
|
|
18
|
-
label: string;
|
|
19
|
-
placeholder: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
}>>> & {
|
|
22
|
-
onInit?: ((value: HTMLTextAreaElement) => any) | undefined;
|
|
23
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
blur: (value: Event) => any;
|
|
4
|
+
focus: (value: Event) => any;
|
|
5
|
+
input: (value: string) => any;
|
|
6
|
+
init: (value: HTMLTextAreaElement) => any;
|
|
7
|
+
"update:valid": (value: boolean) => any;
|
|
8
|
+
"update:text": (value: string) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nTextProps> & Readonly<{
|
|
24
10
|
onBlur?: ((value: Event) => any) | undefined;
|
|
11
|
+
onFocus?: ((value: Event) => any) | undefined;
|
|
25
12
|
onInput?: ((value: string) => any) | undefined;
|
|
13
|
+
onInit?: ((value: HTMLTextAreaElement) => any) | undefined;
|
|
26
14
|
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
27
15
|
"onUpdate:text"?: ((value: string) => any) | undefined;
|
|
28
|
-
}
|
|
29
|
-
disabled: boolean;
|
|
16
|
+
}>, {
|
|
30
17
|
label: string;
|
|
18
|
+
disabled: boolean;
|
|
31
19
|
placeholder: string;
|
|
32
20
|
rows: number;
|
|
33
21
|
maxRows: number;
|
|
34
|
-
}, {}>;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
23
|
export default _default;
|
|
36
|
-
type __VLS_WithDefaults<P, D> = {
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
}> : P[K];
|
|
40
|
-
};
|
|
41
|
-
type __VLS_Prettify<T> = {
|
|
42
|
-
[K in keyof T]: T[K];
|
|
43
|
-
} & {};
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToOption<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|