nuance-ui 0.1.11 → 0.1.12
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/module.json +1 -1
- package/dist/runtime/components/checkbox/checkbox-indicator.d.vue.ts +2 -2
- package/dist/runtime/components/checkbox/checkbox-indicator.vue.d.ts +2 -2
- package/dist/runtime/components/checkbox/checkbox.d.vue.ts +1 -1
- package/dist/runtime/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/chip/chip-group.d.vue.ts +3 -1
- package/dist/runtime/components/chip/chip-group.vue.d.ts +3 -1
- package/dist/runtime/components/combobox/combobox-group.d.vue.ts +9 -2
- package/dist/runtime/components/combobox/combobox-group.vue.d.ts +9 -2
- package/dist/runtime/components/combobox/combobox-options-dropdown.d.vue.ts +4 -1
- package/dist/runtime/components/combobox/combobox-options-dropdown.vue.d.ts +4 -1
- package/dist/runtime/components/input/ui/input-base.d.vue.ts +46 -1
- package/dist/runtime/components/input/ui/input-base.vue.d.ts +46 -1
- package/dist/runtime/components/progress/progress-section.d.vue.ts +11 -1
- package/dist/runtime/components/progress/progress-section.vue +3 -1
- package/dist/runtime/components/progress/progress-section.vue.d.ts +11 -1
- package/dist/runtime/components/select/select.d.vue.ts +10 -1
- package/dist/runtime/components/select/select.vue.d.ts +10 -1
- package/dist/runtime/components/tree/_ui/tree-item.d.vue.ts +19 -0
- package/dist/runtime/components/tree/_ui/tree-item.vue.d.ts +19 -0
- package/dist/runtime/components/tree/_ui/tree-root.d.vue.ts +6 -1
- package/dist/runtime/components/tree/_ui/tree-root.vue.d.ts +6 -1
- package/dist/runtime/components/tree/tree.d.vue.ts +6 -1
- package/dist/runtime/components/tree/tree.vue.d.ts +6 -1
- package/dist/runtime/components/visually-hidden/visually-hidden-input.d.vue.ts +3 -1
- package/dist/runtime/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -14,9 +14,9 @@ type __VLS_ModelProps = {
|
|
|
14
14
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
15
15
|
declare var __VLS_6: {
|
|
16
16
|
mod: {
|
|
17
|
-
checked:
|
|
17
|
+
checked: boolean | undefined;
|
|
18
18
|
};
|
|
19
|
-
class:
|
|
19
|
+
class: string;
|
|
20
20
|
indeterminate: boolean;
|
|
21
21
|
};
|
|
22
22
|
type __VLS_Slots = {} & {
|
|
@@ -14,9 +14,9 @@ type __VLS_ModelProps = {
|
|
|
14
14
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
15
15
|
declare var __VLS_6: {
|
|
16
16
|
mod: {
|
|
17
|
-
checked:
|
|
17
|
+
checked: boolean | undefined;
|
|
18
18
|
};
|
|
19
|
-
class:
|
|
19
|
+
class: string;
|
|
20
20
|
indeterminate: boolean;
|
|
21
21
|
};
|
|
22
22
|
type __VLS_Slots = {} & {
|
|
@@ -7,7 +7,9 @@ export interface ChipGroupProps<T extends boolean = false> {
|
|
|
7
7
|
declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<(ChipGroupProps<T> & {
|
|
9
9
|
modelValue?: ChipGroupValue<T>;
|
|
10
|
-
}) &
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: ChipGroupValue<T>) => any) | undefined;
|
|
12
|
+
}> & import("vue").PublicProps;
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {
|
|
@@ -7,7 +7,9 @@ export interface ChipGroupProps<T extends boolean = false> {
|
|
|
7
7
|
declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<(ChipGroupProps<T> & {
|
|
9
9
|
modelValue?: ChipGroupValue<T>;
|
|
10
|
-
}) &
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: ChipGroupValue<T>) => any) | undefined;
|
|
12
|
+
}> & import("vue").PublicProps;
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {
|
|
@@ -8,13 +8,20 @@ export interface ComboboxGroupProps<Value extends string = string, Ext extends C
|
|
|
8
8
|
declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
9
|
props: __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
|
|
10
10
|
value?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
|
|
11
|
-
}) &
|
|
11
|
+
}) & {
|
|
12
|
+
"onUpdate:value"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
|
|
13
|
+
}> & import("vue").PublicProps;
|
|
12
14
|
expose: (exposed: {}) => void;
|
|
13
15
|
attrs: any;
|
|
14
16
|
slots: {
|
|
15
17
|
label?: (props: {}) => any;
|
|
16
18
|
} & {
|
|
17
|
-
option?: (props:
|
|
19
|
+
option?: (props: {
|
|
20
|
+
data: ComboboxItem<Value, Ext>;
|
|
21
|
+
checked: boolean;
|
|
22
|
+
withCheckIcon: boolean;
|
|
23
|
+
iconPosition: "left" | "right";
|
|
24
|
+
}) => any;
|
|
18
25
|
};
|
|
19
26
|
emit: (evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
|
|
20
27
|
}>) => import("vue").VNode & {
|
|
@@ -8,13 +8,20 @@ export interface ComboboxGroupProps<Value extends string = string, Ext extends C
|
|
|
8
8
|
declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
9
|
props: __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
|
|
10
10
|
value?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
|
|
11
|
-
}) &
|
|
11
|
+
}) & {
|
|
12
|
+
"onUpdate:value"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
|
|
13
|
+
}> & import("vue").PublicProps;
|
|
12
14
|
expose: (exposed: {}) => void;
|
|
13
15
|
attrs: any;
|
|
14
16
|
slots: {
|
|
15
17
|
label?: (props: {}) => any;
|
|
16
18
|
} & {
|
|
17
|
-
option?: (props:
|
|
19
|
+
option?: (props: {
|
|
20
|
+
data: ComboboxItem<Value, Ext>;
|
|
21
|
+
checked: boolean;
|
|
22
|
+
withCheckIcon: boolean;
|
|
23
|
+
iconPosition: "left" | "right";
|
|
24
|
+
}) => any;
|
|
18
25
|
};
|
|
19
26
|
emit: (evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
|
|
20
27
|
}>) => import("vue").VNode & {
|
|
@@ -19,7 +19,10 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
|
|
|
19
19
|
props: __VLS_PrettifyLocal<(ComboboxOptionsDropdownProps<Value, Ext> & {
|
|
20
20
|
search?: string | undefined;
|
|
21
21
|
modelValue?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
|
|
22
|
-
}) &
|
|
22
|
+
}) & {
|
|
23
|
+
"onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
|
|
24
|
+
"onUpdate:search"?: ((value: string | undefined) => any) | undefined;
|
|
25
|
+
}> & import("vue").PublicProps;
|
|
23
26
|
expose: (exposed: {}) => void;
|
|
24
27
|
attrs: any;
|
|
25
28
|
slots: {};
|
|
@@ -19,7 +19,10 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
|
|
|
19
19
|
props: __VLS_PrettifyLocal<(ComboboxOptionsDropdownProps<Value, Ext> & {
|
|
20
20
|
search?: string | undefined;
|
|
21
21
|
modelValue?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
|
|
22
|
-
}) &
|
|
22
|
+
}) & {
|
|
23
|
+
"onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
|
|
24
|
+
"onUpdate:search"?: ((value: string | undefined) => any) | undefined;
|
|
25
|
+
}> & import("vue").PublicProps;
|
|
23
26
|
expose: (exposed: {}) => void;
|
|
24
27
|
attrs: any;
|
|
25
28
|
slots: {};
|
|
@@ -13,7 +13,52 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
rightSection?: (props: typeof __VLS_17) => any;
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_base: import("vue").DefineComponent<BaseInputProps, {
|
|
16
|
-
ref: Readonly<import("vue").ShallowRef<
|
|
16
|
+
ref: Readonly<import("vue").ShallowRef<({
|
|
17
|
+
$: import("vue").ComponentInternalInstance;
|
|
18
|
+
$data: {};
|
|
19
|
+
$props: {
|
|
20
|
+
readonly is?: (keyof HTMLElementTagNameMap | Component) | undefined;
|
|
21
|
+
readonly mod?: (import("@nui/utils").Mod | import("@nui/utils").Mod[] | import("@nui/utils").Mod[][] | null) | undefined;
|
|
22
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
23
|
+
$attrs: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
$refs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$slots: Readonly<{
|
|
30
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
33
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
34
|
+
$host: Element | null;
|
|
35
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
36
|
+
$el: any;
|
|
37
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
38
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
39
|
+
created?: (() => void) | (() => void)[];
|
|
40
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
41
|
+
mounted?: (() => void) | (() => void)[];
|
|
42
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
43
|
+
updated?: (() => void) | (() => void)[];
|
|
44
|
+
activated?: (() => void) | (() => void)[];
|
|
45
|
+
deactivated?: (() => void) | (() => void)[];
|
|
46
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
47
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
48
|
+
destroyed?: (() => void) | (() => void)[];
|
|
49
|
+
unmounted?: (() => void) | (() => void)[];
|
|
50
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
51
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
52
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
53
|
+
};
|
|
54
|
+
$forceUpdate: () => void;
|
|
55
|
+
$nextTick: typeof import("vue").nextTick;
|
|
56
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
57
|
+
} & Readonly<{}> & Omit<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
58
|
+
$slots: {
|
|
59
|
+
default?: (props: {}) => any;
|
|
60
|
+
};
|
|
61
|
+
}) | null>>;
|
|
17
62
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
63
|
"update:modelValue": (value: string | number | undefined) => any;
|
|
19
64
|
}, string, import("vue").PublicProps, Readonly<BaseInputProps> & Readonly<{
|
|
@@ -13,7 +13,52 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
rightSection?: (props: typeof __VLS_17) => any;
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_base: import("vue").DefineComponent<BaseInputProps, {
|
|
16
|
-
ref: Readonly<import("vue").ShallowRef<
|
|
16
|
+
ref: Readonly<import("vue").ShallowRef<({
|
|
17
|
+
$: import("vue").ComponentInternalInstance;
|
|
18
|
+
$data: {};
|
|
19
|
+
$props: {
|
|
20
|
+
readonly is?: (keyof HTMLElementTagNameMap | Component) | undefined;
|
|
21
|
+
readonly mod?: (import("@nui/utils").Mod | import("@nui/utils").Mod[] | import("@nui/utils").Mod[][] | null) | undefined;
|
|
22
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
23
|
+
$attrs: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
$refs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$slots: Readonly<{
|
|
30
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
33
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
34
|
+
$host: Element | null;
|
|
35
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
36
|
+
$el: any;
|
|
37
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
38
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
39
|
+
created?: (() => void) | (() => void)[];
|
|
40
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
41
|
+
mounted?: (() => void) | (() => void)[];
|
|
42
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
43
|
+
updated?: (() => void) | (() => void)[];
|
|
44
|
+
activated?: (() => void) | (() => void)[];
|
|
45
|
+
deactivated?: (() => void) | (() => void)[];
|
|
46
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
47
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
48
|
+
destroyed?: (() => void) | (() => void)[];
|
|
49
|
+
unmounted?: (() => void) | (() => void)[];
|
|
50
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
51
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
52
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
53
|
+
};
|
|
54
|
+
$forceUpdate: () => void;
|
|
55
|
+
$nextTick: typeof import("vue").nextTick;
|
|
56
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
57
|
+
} & Readonly<{}> & Omit<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
58
|
+
$slots: {
|
|
59
|
+
default?: (props: {}) => any;
|
|
60
|
+
};
|
|
61
|
+
}) | null>>;
|
|
17
62
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
63
|
"update:modelValue": (value: string | number | undefined) => any;
|
|
19
64
|
}, string, import("vue").PublicProps, Readonly<BaseInputProps> & Readonly<{
|
|
@@ -16,10 +16,20 @@ type __VLS_ModelProps = {
|
|
|
16
16
|
modelValue: number;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
19
|
-
declare
|
|
19
|
+
declare var __VLS_6: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_6) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
24
|
"update:modelValue": (value: number) => any;
|
|
21
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
26
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
23
27
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
29
|
declare const _default: typeof __VLS_export;
|
|
25
30
|
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -16,10 +16,20 @@ type __VLS_ModelProps = {
|
|
|
16
16
|
modelValue: number;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
19
|
-
declare
|
|
19
|
+
declare var __VLS_6: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_6) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
24
|
"update:modelValue": (value: number) => any;
|
|
21
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
26
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
23
27
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
29
|
declare const _default: typeof __VLS_export;
|
|
25
30
|
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -23,7 +23,16 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
|
|
|
23
23
|
open?: boolean;
|
|
24
24
|
modelValue?: ComboboxItem<Value, Ext> | null;
|
|
25
25
|
search?: string;
|
|
26
|
-
}) &
|
|
26
|
+
}) & {
|
|
27
|
+
onSelect?: ((args_0: number) => any) | undefined;
|
|
28
|
+
onClear?: (() => any) | undefined;
|
|
29
|
+
onClose?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
|
|
30
|
+
onSubmit?: ((args_0: string, args_1: ComboboxItem) => any) | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | null) => any) | undefined;
|
|
32
|
+
onOpen?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
|
|
33
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
34
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
}> & import("vue").PublicProps;
|
|
27
36
|
expose: (exposed: {}) => void;
|
|
28
37
|
attrs: any;
|
|
29
38
|
slots: {
|
|
@@ -23,7 +23,16 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
|
|
|
23
23
|
open?: boolean;
|
|
24
24
|
modelValue?: ComboboxItem<Value, Ext> | null;
|
|
25
25
|
search?: string;
|
|
26
|
-
}) &
|
|
26
|
+
}) & {
|
|
27
|
+
onSelect?: ((args_0: number) => any) | undefined;
|
|
28
|
+
onClear?: (() => any) | undefined;
|
|
29
|
+
onClose?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
|
|
30
|
+
onSubmit?: ((args_0: string, args_1: ComboboxItem) => any) | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | null) => any) | undefined;
|
|
32
|
+
onOpen?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
|
|
33
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
34
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
}> & import("vue").PublicProps;
|
|
27
36
|
expose: (exposed: {}) => void;
|
|
28
37
|
attrs: any;
|
|
29
38
|
slots: {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TreeItem } from '../model.js';
|
|
2
|
+
export interface TreeItemProps<T extends string = string> {
|
|
3
|
+
item: TreeItem<T>;
|
|
4
|
+
level: number;
|
|
5
|
+
}
|
|
6
|
+
declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
+
props: __VLS_PrettifyLocal<TreeItemProps<T>> & import("vue").PublicProps;
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = {
|
|
18
|
+
[K in keyof T as K]: T[K];
|
|
19
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TreeItem } from '../model.js';
|
|
2
|
+
export interface TreeItemProps<T extends string = string> {
|
|
3
|
+
item: TreeItem<T>;
|
|
4
|
+
level: number;
|
|
5
|
+
}
|
|
6
|
+
declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
+
props: __VLS_PrettifyLocal<TreeItemProps<T>> & import("vue").PublicProps;
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = {
|
|
18
|
+
[K in keyof T as K]: T[K];
|
|
19
|
+
} & {};
|
|
@@ -22,7 +22,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
|
|
|
22
22
|
active?: TreeModels<T>["active"];
|
|
23
23
|
selected?: TreeModels<T>["selected"];
|
|
24
24
|
expanded?: TreeModels<T>["expanded"];
|
|
25
|
-
}) &
|
|
25
|
+
}) & {
|
|
26
|
+
"onUpdate:tree"?: ((value: import("@nui/components").TreeItem<T>[]) => any) | undefined;
|
|
27
|
+
"onUpdate:active"?: ((value: T | null) => any) | undefined;
|
|
28
|
+
"onUpdate:selected"?: ((value: T[]) => any) | undefined;
|
|
29
|
+
"onUpdate:expanded"?: ((value: T[]) => any) | undefined;
|
|
30
|
+
}> & import("vue").PublicProps;
|
|
26
31
|
expose: (exposed: {}) => void;
|
|
27
32
|
attrs: any;
|
|
28
33
|
slots: {
|
|
@@ -22,7 +22,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
|
|
|
22
22
|
active?: TreeModels<T>["active"];
|
|
23
23
|
selected?: TreeModels<T>["selected"];
|
|
24
24
|
expanded?: TreeModels<T>["expanded"];
|
|
25
|
-
}) &
|
|
25
|
+
}) & {
|
|
26
|
+
"onUpdate:tree"?: ((value: import("@nui/components").TreeItem<T>[]) => any) | undefined;
|
|
27
|
+
"onUpdate:active"?: ((value: T | null) => any) | undefined;
|
|
28
|
+
"onUpdate:selected"?: ((value: T[]) => any) | undefined;
|
|
29
|
+
"onUpdate:expanded"?: ((value: T[]) => any) | undefined;
|
|
30
|
+
}> & import("vue").PublicProps;
|
|
26
31
|
expose: (exposed: {}) => void;
|
|
27
32
|
attrs: any;
|
|
28
33
|
slots: {
|
|
@@ -8,7 +8,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
|
|
|
8
8
|
active?: TreeModels<T>["active"];
|
|
9
9
|
selected?: TreeModels<T>["selected"];
|
|
10
10
|
expanded?: TreeModels<T>["expanded"];
|
|
11
|
-
}) &
|
|
11
|
+
}) & {
|
|
12
|
+
"onUpdate:tree"?: ((value: import("./model.js").TreeItem<T>[]) => any) | undefined;
|
|
13
|
+
"onUpdate:active"?: ((value: T | null) => any) | undefined;
|
|
14
|
+
"onUpdate:selected"?: ((value: T[]) => any) | undefined;
|
|
15
|
+
"onUpdate:expanded"?: ((value: T[]) => any) | undefined;
|
|
16
|
+
}> & import("vue").PublicProps;
|
|
12
17
|
expose: (exposed: {}) => void;
|
|
13
18
|
attrs: any;
|
|
14
19
|
slots: {};
|
|
@@ -8,7 +8,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
|
|
|
8
8
|
active?: TreeModels<T>["active"];
|
|
9
9
|
selected?: TreeModels<T>["selected"];
|
|
10
10
|
expanded?: TreeModels<T>["expanded"];
|
|
11
|
-
}) &
|
|
11
|
+
}) & {
|
|
12
|
+
"onUpdate:tree"?: ((value: import("./model.js").TreeItem<T>[]) => any) | undefined;
|
|
13
|
+
"onUpdate:active"?: ((value: T | null) => any) | undefined;
|
|
14
|
+
"onUpdate:selected"?: ((value: T[]) => any) | undefined;
|
|
15
|
+
"onUpdate:expanded"?: ((value: T[]) => any) | undefined;
|
|
16
|
+
}> & import("vue").PublicProps;
|
|
12
17
|
expose: (exposed: {}) => void;
|
|
13
18
|
attrs: any;
|
|
14
19
|
slots: {};
|
|
@@ -7,7 +7,9 @@ export interface VisuallyHiddenInputProps extends VisuallyHiddenProps {
|
|
|
7
7
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<(VisuallyHiddenInputProps & {
|
|
9
9
|
modelValue?: T;
|
|
10
|
-
}) &
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
|
|
12
|
+
}> & import("vue").PublicProps;
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {};
|
|
@@ -7,7 +7,9 @@ export interface VisuallyHiddenInputProps extends VisuallyHiddenProps {
|
|
|
7
7
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<(VisuallyHiddenInputProps & {
|
|
9
9
|
modelValue?: T;
|
|
10
|
-
}) &
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
|
|
12
|
+
}> & import("vue").PublicProps;
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {};
|