@sewadah/selaras 0.3.1 → 0.4.0
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 +10 -1
- package/agent/catalog.mjs +73 -0
- package/agent/mcp.mjs +15 -0
- package/agent/server.mjs +58 -0
- package/dist/agent/catalog.json +1 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +7 -5
- package/dist/runtime/components/AlertDialog.d.vue.ts +5 -3
- package/dist/runtime/components/AlertDialog.vue +17 -9
- package/dist/runtime/components/AlertDialog.vue.d.ts +5 -3
- package/dist/runtime/components/App.vue +2 -0
- package/dist/runtime/components/Autocomplete.d.vue.ts +2 -2
- package/dist/runtime/components/Autocomplete.vue +1 -1
- package/dist/runtime/components/Autocomplete.vue.d.ts +2 -2
- package/dist/runtime/components/Button.d.vue.ts +7 -5
- package/dist/runtime/components/Button.vue +14 -3
- package/dist/runtime/components/Button.vue.d.ts +7 -5
- package/dist/runtime/components/ColorModeSwitch.d.vue.ts +18 -0
- package/dist/runtime/components/ColorModeSwitch.vue +59 -0
- package/dist/runtime/components/ColorModeSwitch.vue.d.ts +18 -0
- package/dist/runtime/components/ConfirmRenderer.d.vue.ts +3 -0
- package/dist/runtime/components/ConfirmRenderer.vue +39 -0
- package/dist/runtime/components/ConfirmRenderer.vue.d.ts +3 -0
- package/dist/runtime/components/ContextMenu.vue +4 -2
- package/dist/runtime/components/Drawer.vue +3 -2
- package/dist/runtime/components/Dropdown.vue +4 -2
- package/dist/runtime/components/Modal.vue +3 -2
- package/dist/runtime/components/Popover.vue +4 -2
- package/dist/runtime/components/Select.d.vue.ts +8 -4
- package/dist/runtime/components/Select.vue +1 -1
- package/dist/runtime/components/Select.vue.d.ts +8 -4
- package/dist/runtime/components/Slideover.vue +3 -2
- package/dist/runtime/components/Tooltip.vue +4 -2
- package/dist/runtime/composables/use-confirm.d.ts +14 -0
- package/dist/runtime/composables/use-confirm.js +28 -0
- package/dist/runtime/internal/ComboboxSelectBase.d.vue.ts +41 -32
- package/dist/runtime/internal/ComboboxSelectBase.vue +154 -68
- package/dist/runtime/internal/ComboboxSelectBase.vue.d.ts +41 -32
- package/dist/runtime/internal/ComboboxSelectBody.d.vue.ts +9 -7
- package/dist/runtime/internal/ComboboxSelectBody.vue +6 -6
- package/dist/runtime/internal/ComboboxSelectBody.vue.d.ts +9 -7
- package/dist/runtime/internal/combobox-select.d.ts +19 -18
- package/dist/runtime/internal/combobox-select.js +36 -14
- package/dist/runtime/internal/programmatic-services.d.ts +11 -0
- package/dist/runtime/internal/programmatic-services.js +1 -0
- package/dist/runtime/theme/badge.d.ts +9 -0
- package/dist/runtime/theme/badge.js +2 -1
- package/dist/runtime/theme/button.d.ts +18 -0
- package/dist/runtime/theme/button.js +4 -1
- package/dist/runtime/theme/select.js +1 -4
- package/dist/runtime/theme/toast.js +1 -1
- package/dist/runtime/theme-config.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +4 -1
- package/dist/runtime/utils/autocomplete-contracts.d.ts +4 -4
- package/dist/runtime/utils/file-icons.js +1 -0
- package/dist/runtime/utils/messages.d.ts +1 -0
- package/dist/runtime/utils/messages.js +1 -0
- package/dist/runtime/utils/select-contracts.d.ts +18 -10
- package/dist/runtime/utils/ui.d.ts +11 -0
- package/dist/runtime/utils/ui.js +54 -1
- package/package.json +19 -9
- package/skills/selaras/SKILL.md +40 -0
- package/skills/selaras/agents/openai.yaml +4 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SelectEntry, SelectEntryItem, SelectModel, SelectProps, SelectSlots } from '../utils/select-contracts.js';
|
|
2
2
|
export type { SelectEmits, SelectProps, SelectSlots } from '../utils/select-contracts.js';
|
|
3
|
-
declare const __VLS_export: <Entry extends
|
|
3
|
+
declare const __VLS_export: <Entry extends SelectEntry, Key extends string = "value", Multiple 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_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<SelectProps<Entry, Key, Multiple> & {
|
|
5
|
-
"onUpdate:modelValue"?: ((value: SelectModel<
|
|
5
|
+
"onUpdate:modelValue"?: ((value: SelectModel<SelectEntryItem<Entry> extends infer T ? T extends SelectEntryItem<Entry> ? T extends import("../utils/select-contracts.js").SelectValue ? T : Key extends "value" ? T extends object ? "value" extends keyof T ? T extends infer T_1 ? T_1 extends T ? T_1 extends {
|
|
6
|
+
value: infer Value;
|
|
7
|
+
} ? Value : T_1 | NonNullable<T_1[keyof T_1 & "value"]> : never : never : T : never : Key extends keyof T ? T[Key] : never : never : never, Multiple>) => any) | undefined;
|
|
6
8
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
7
9
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
8
10
|
}> & (typeof globalThis extends {
|
|
@@ -11,7 +13,9 @@ declare const __VLS_export: <Entry extends object, Key extends string = "value",
|
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: SelectSlots<Entry, Key>;
|
|
14
|
-
emit: ((evt: "update:modelValue", value: SelectModel<
|
|
16
|
+
emit: ((evt: "update:modelValue", value: SelectModel<SelectEntryItem<Entry> extends infer T ? T extends SelectEntryItem<Entry> ? T extends import("../utils/select-contracts.js").SelectValue ? T : Key extends "value" ? T extends object ? "value" extends keyof T ? T extends infer T_1 ? T_1 extends T ? T_1 extends {
|
|
17
|
+
value: infer Value;
|
|
18
|
+
} ? Value : T_1 | NonNullable<T_1[keyof T_1 & "value"]> : never : never : T : never : Key extends keyof T ? T[Key] : never : never : never, Multiple>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
15
19
|
}>) => import("vue").VNode & {
|
|
16
20
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
17
21
|
};
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
name: { type: String, required: false },
|
|
8
8
|
form: { type: String, required: false },
|
|
9
9
|
items: { type: Array, required: true },
|
|
10
|
-
valueKey: { type:
|
|
10
|
+
valueKey: { type: void 0, required: false },
|
|
11
11
|
labelKey: { type: String, required: false },
|
|
12
12
|
open: { type: Boolean, required: false },
|
|
13
13
|
defaultOpen: { type: Boolean, required: false },
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SelectEntry, SelectEntryItem, SelectModel, SelectProps, SelectSlots } from '../utils/select-contracts.js';
|
|
2
2
|
export type { SelectEmits, SelectProps, SelectSlots } from '../utils/select-contracts.js';
|
|
3
|
-
declare const __VLS_export: <Entry extends
|
|
3
|
+
declare const __VLS_export: <Entry extends SelectEntry, Key extends string = "value", Multiple 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_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<SelectProps<Entry, Key, Multiple> & {
|
|
5
|
-
"onUpdate:modelValue"?: ((value: SelectModel<
|
|
5
|
+
"onUpdate:modelValue"?: ((value: SelectModel<SelectEntryItem<Entry> extends infer T ? T extends SelectEntryItem<Entry> ? T extends import("../utils/select-contracts.js").SelectValue ? T : Key extends "value" ? T extends object ? "value" extends keyof T ? T extends infer T_1 ? T_1 extends T ? T_1 extends {
|
|
6
|
+
value: infer Value;
|
|
7
|
+
} ? Value : T_1 | NonNullable<T_1[keyof T_1 & "value"]> : never : never : T : never : Key extends keyof T ? T[Key] : never : never : never, Multiple>) => any) | undefined;
|
|
6
8
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
7
9
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
8
10
|
}> & (typeof globalThis extends {
|
|
@@ -11,7 +13,9 @@ declare const __VLS_export: <Entry extends object, Key extends string = "value",
|
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: SelectSlots<Entry, Key>;
|
|
14
|
-
emit: ((evt: "update:modelValue", value: SelectModel<
|
|
16
|
+
emit: ((evt: "update:modelValue", value: SelectModel<SelectEntryItem<Entry> extends infer T ? T extends SelectEntryItem<Entry> ? T extends import("../utils/select-contracts.js").SelectValue ? T : Key extends "value" ? T extends object ? "value" extends keyof T ? T extends infer T_1 ? T_1 extends T ? T_1 extends {
|
|
17
|
+
value: infer Value;
|
|
18
|
+
} ? Value : T_1 | NonNullable<T_1[keyof T_1 & "value"]> : never : never : T : never : Key extends keyof T ? T[Key] : never : never : never, Multiple>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
15
19
|
}>) => import("vue").VNode & {
|
|
16
20
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
17
21
|
};
|
|
@@ -4,9 +4,10 @@ import { computed, getCurrentInstance, ref, useSlots, watch, watchEffect } from
|
|
|
4
4
|
import { useIcons } from "../composables/use-icons";
|
|
5
5
|
import { useMessages } from "../composables/use-messages";
|
|
6
6
|
import { slideoverTheme } from "../theme/slideover";
|
|
7
|
-
import { resolveSlot, useComponentTheme, useThemeBindings } from "../utils/ui";
|
|
7
|
+
import { resolveSlot, useComponentTheme, useRootProps, useThemeBindings } from "../utils/ui";
|
|
8
8
|
import Button from "./Button.vue";
|
|
9
9
|
import Icon from "./Icon.vue";
|
|
10
|
+
defineOptions({ inheritAttrs: false });
|
|
10
11
|
const props = defineProps({
|
|
11
12
|
open: { type: Boolean, required: false, default: void 0 },
|
|
12
13
|
defaultOpen: { type: Boolean, required: false },
|
|
@@ -70,8 +71,8 @@ const messages = useMessages();
|
|
|
70
71
|
const theme = useComponentTheme("slideover", slideoverTheme);
|
|
71
72
|
const themeBindings = useThemeBindings();
|
|
72
73
|
const ui = computed(() => theme.value({ side: props.side, inset: props.inset, transition: props.transition }));
|
|
74
|
+
const contentProps = useRootProps(() => ui.value.content, () => props.ui?.content);
|
|
73
75
|
const overlayProps = computed(() => resolveSlot(ui.value.overlay, props.ui?.overlay));
|
|
74
|
-
const contentProps = computed(() => resolveSlot(ui.value.content, props.ui?.content));
|
|
75
76
|
const headerProps = computed(() => resolveSlot(ui.value.header, props.ui?.header));
|
|
76
77
|
const titleProps = computed(() => resolveSlot(ui.value.title, props.ui?.title));
|
|
77
78
|
const descriptionProps = computed(() => resolveSlot(ui.value.description, props.ui?.description));
|
|
@@ -4,7 +4,8 @@ import { computed } from "vue";
|
|
|
4
4
|
import { tooltipTheme } from "../theme/tooltip";
|
|
5
5
|
import { arrowContentProps, arrowElementProps } from "../utils/arrow";
|
|
6
6
|
import { overlayPortalProps } from "../utils/overlay";
|
|
7
|
-
import { resolveSlot, useComponentTheme, useThemeBindings } from "../utils/ui";
|
|
7
|
+
import { resolveSlot, useComponentTheme, useFallthroughProps, useThemeBindings } from "../utils/ui";
|
|
8
|
+
defineOptions({ inheritAttrs: false });
|
|
8
9
|
const props = defineProps({
|
|
9
10
|
text: { type: String, required: false },
|
|
10
11
|
side: { type: String, required: false, default: "top" },
|
|
@@ -19,6 +20,7 @@ const props = defineProps({
|
|
|
19
20
|
const theme = useComponentTheme("tooltip", tooltipTheme);
|
|
20
21
|
const themeBindings = useThemeBindings();
|
|
21
22
|
const ui = computed(() => theme.value());
|
|
23
|
+
const triggerProps = useFallthroughProps();
|
|
22
24
|
const contentProps = computed(() => ({ ...resolveSlot(ui.value.content, props.ui?.content), ...arrowContentProps(props.arrow), ...props.positioning }));
|
|
23
25
|
const portalProps = computed(() => overlayPortalProps(props.portal));
|
|
24
26
|
const arrowProps = computed(() => ({ ...resolveSlot(ui.value.arrow, props.ui?.arrow), ...arrowElementProps(props.arrow) }));
|
|
@@ -28,7 +30,7 @@ const kbdProps = computed(() => resolveSlot(ui.value.kbd, props.ui?.kbd));
|
|
|
28
30
|
|
|
29
31
|
<template>
|
|
30
32
|
<TooltipRoot :delay-duration="delayDuration" :disabled="disabled">
|
|
31
|
-
<TooltipTrigger as-child>
|
|
33
|
+
<TooltipTrigger as-child v-bind="triggerProps">
|
|
32
34
|
<slot />
|
|
33
35
|
</TooltipTrigger>
|
|
34
36
|
<TooltipPortal v-bind="portalProps">
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ColorRole } from '../utils/color-registry.js';
|
|
2
|
+
export interface UseConfirmOptions {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
confirmLabel?: string;
|
|
6
|
+
cancelLabel?: string;
|
|
7
|
+
confirmColor?: ColorRole;
|
|
8
|
+
icon?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UseConfirmReturn {
|
|
11
|
+
/** Resolves true only for an explicit confirmation; cancel, Escape, and dismissal resolve false. */
|
|
12
|
+
confirm: (options?: UseConfirmOptions) => Promise<boolean>;
|
|
13
|
+
}
|
|
14
|
+
export declare function useConfirm(): UseConfirmReturn;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useConfirmService } from "../internal/programmatic-services.js";
|
|
2
|
+
import { useProgrammaticThemeSnapshot } from "../utils/programmatic-theme.js";
|
|
3
|
+
import { useMessages } from "./use-messages.js";
|
|
4
|
+
export function useConfirm() {
|
|
5
|
+
const service = useConfirmService();
|
|
6
|
+
const messages = useMessages();
|
|
7
|
+
const snapshotTheme = useProgrammaticThemeSnapshot();
|
|
8
|
+
function confirm(options = {}) {
|
|
9
|
+
if (import.meta.server)
|
|
10
|
+
return Promise.reject(new Error("[useConfirm] confirm() is client-only. Render SAlertDialog declaratively during SSR."));
|
|
11
|
+
return new Promise((resolve) => {
|
|
12
|
+
service.instances.value.push({
|
|
13
|
+
id: service.nextId(),
|
|
14
|
+
isOpen: true,
|
|
15
|
+
_settled: false,
|
|
16
|
+
resolve: (value) => resolve(value === true),
|
|
17
|
+
title: options.title ?? messages.value.confirmation,
|
|
18
|
+
description: options.description,
|
|
19
|
+
confirmLabel: options.confirmLabel,
|
|
20
|
+
cancelLabel: options.cancelLabel,
|
|
21
|
+
confirmColor: options.confirmColor,
|
|
22
|
+
icon: options.icon,
|
|
23
|
+
_theme: snapshotTheme()
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return { confirm };
|
|
28
|
+
}
|
|
@@ -3,6 +3,7 @@ import type { SelectThemeSlots } from '../theme/select.js';
|
|
|
3
3
|
import type { RoundedArrowConfig } from '../utils/arrow.js';
|
|
4
4
|
import type { ColorRole } from '../utils/color-registry.js';
|
|
5
5
|
import type { OverlayPortal, OverlayPositioning } from '../utils/overlay.js';
|
|
6
|
+
import type { SelectModelValue } from '../utils/select-contracts.js';
|
|
6
7
|
import type { UiProp } from '../utils/ui.js';
|
|
7
8
|
import type { SelectItems, SelectOption } from './combobox-select.js';
|
|
8
9
|
import { selectTheme } from '../theme/select.js';
|
|
@@ -18,9 +19,9 @@ export interface ComboboxSelectBaseProps {
|
|
|
18
19
|
open?: boolean;
|
|
19
20
|
/** Initial uncontrolled open state. */
|
|
20
21
|
defaultOpen?: boolean;
|
|
21
|
-
modelValue?:
|
|
22
|
+
modelValue?: SelectModelValue | SelectModelValue[];
|
|
22
23
|
/** Initial uncontrolled selection and native form reset target. */
|
|
23
|
-
defaultValue?:
|
|
24
|
+
defaultValue?: SelectModelValue | SelectModelValue[];
|
|
24
25
|
multiple?: boolean;
|
|
25
26
|
searchable?: boolean;
|
|
26
27
|
virtualize?: boolean | {
|
|
@@ -54,26 +55,26 @@ export interface ComboboxSelectBaseProps {
|
|
|
54
55
|
}
|
|
55
56
|
export interface ComboboxSelectBaseEmits {
|
|
56
57
|
'update:open': [value: boolean];
|
|
57
|
-
'update:modelValue': [value:
|
|
58
|
+
'update:modelValue': [value: SelectModelValue | SelectModelValue[] | undefined];
|
|
58
59
|
'update:searchTerm': [value: string];
|
|
59
60
|
}
|
|
60
61
|
declare var __VLS_43: {
|
|
61
|
-
item: SelectOption<
|
|
62
|
-
}, __VLS_98: {}, __VLS_105: {}, __VLS_120: {},
|
|
63
|
-
item: SelectOption<
|
|
64
|
-
},
|
|
62
|
+
item: SelectModelValue | SelectOption<SelectModelValue>;
|
|
63
|
+
}, __VLS_98: {}, __VLS_105: {}, __VLS_120: {}, __VLS_136: {}, __VLS_143: {}, __VLS_150: {}, __VLS_174: {
|
|
64
|
+
item: SelectModelValue | SelectOption<SelectModelValue>;
|
|
65
|
+
}, __VLS_194: {
|
|
65
66
|
selected: import("./combobox-select.js").ResolvedOption | undefined;
|
|
66
|
-
},
|
|
67
|
-
item: SelectOption<
|
|
68
|
-
},
|
|
69
|
-
group: import("./combobox-select.js").SelectOptionGroup<
|
|
70
|
-
},
|
|
71
|
-
item: SelectOption<
|
|
72
|
-
},
|
|
73
|
-
group: import("./combobox-select.js").SelectOptionGroup<
|
|
67
|
+
}, __VLS_205: {}, __VLS_212: {}, __VLS_219: {}, __VLS_249: {}, __VLS_252: {}, __VLS_255: {}, __VLS_258: {}, __VLS_261: {
|
|
68
|
+
item: SelectModelValue | SelectOption<SelectModelValue>;
|
|
69
|
+
}, __VLS_264: {
|
|
70
|
+
group: import("./combobox-select.js").SelectOptionGroup<SelectModelValue>;
|
|
71
|
+
}, __VLS_267: {}, __VLS_305: string, __VLS_306: {}, __VLS_309: {}, __VLS_319: {
|
|
72
|
+
item: SelectModelValue | SelectOption<SelectModelValue>;
|
|
73
|
+
}, __VLS_322: {
|
|
74
|
+
group: import("./combobox-select.js").SelectOptionGroup<SelectModelValue>;
|
|
74
75
|
};
|
|
75
76
|
type __VLS_Slots = {} & {
|
|
76
|
-
[K in NonNullable<typeof
|
|
77
|
+
[K in NonNullable<typeof __VLS_305>]?: (props: typeof __VLS_306) => any;
|
|
77
78
|
} & {
|
|
78
79
|
item?: (props: typeof __VLS_43) => any;
|
|
79
80
|
} & {
|
|
@@ -83,40 +84,48 @@ type __VLS_Slots = {} & {
|
|
|
83
84
|
} & {
|
|
84
85
|
'dropdown-icon'?: (props: typeof __VLS_120) => any;
|
|
85
86
|
} & {
|
|
86
|
-
|
|
87
|
+
'clear-icon'?: (props: typeof __VLS_136) => any;
|
|
87
88
|
} & {
|
|
88
|
-
|
|
89
|
+
'loading-icon'?: (props: typeof __VLS_143) => any;
|
|
89
90
|
} & {
|
|
90
|
-
'
|
|
91
|
+
'dropdown-icon'?: (props: typeof __VLS_150) => any;
|
|
91
92
|
} & {
|
|
92
|
-
|
|
93
|
+
item?: (props: typeof __VLS_174) => any;
|
|
93
94
|
} & {
|
|
94
|
-
|
|
95
|
+
value?: (props: typeof __VLS_194) => any;
|
|
95
96
|
} & {
|
|
96
|
-
|
|
97
|
+
'clear-icon'?: (props: typeof __VLS_205) => any;
|
|
97
98
|
} & {
|
|
98
|
-
'
|
|
99
|
+
'loading-icon'?: (props: typeof __VLS_212) => any;
|
|
99
100
|
} & {
|
|
100
|
-
|
|
101
|
+
'dropdown-icon'?: (props: typeof __VLS_219) => any;
|
|
101
102
|
} & {
|
|
102
|
-
|
|
103
|
+
header?: (props: typeof __VLS_249) => any;
|
|
103
104
|
} & {
|
|
104
|
-
|
|
105
|
+
'filter-icon'?: (props: typeof __VLS_252) => any;
|
|
105
106
|
} & {
|
|
106
|
-
|
|
107
|
+
empty?: (props: typeof __VLS_255) => any;
|
|
107
108
|
} & {
|
|
108
|
-
|
|
109
|
+
'empty-filter'?: (props: typeof __VLS_258) => any;
|
|
109
110
|
} & {
|
|
110
|
-
item?: (props: typeof
|
|
111
|
+
item?: (props: typeof __VLS_261) => any;
|
|
111
112
|
} & {
|
|
112
|
-
group?: (props: typeof
|
|
113
|
+
group?: (props: typeof __VLS_264) => any;
|
|
114
|
+
} & {
|
|
115
|
+
footer?: (props: typeof __VLS_267) => any;
|
|
116
|
+
} & {
|
|
117
|
+
header?: (props: typeof __VLS_309) => any;
|
|
118
|
+
} & {
|
|
119
|
+
item?: (props: typeof __VLS_319) => any;
|
|
120
|
+
} & {
|
|
121
|
+
group?: (props: typeof __VLS_322) => any;
|
|
113
122
|
};
|
|
114
123
|
declare const __VLS_base: import("vue").DefineComponent<ComboboxSelectBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
115
|
-
"update:modelValue": (value:
|
|
124
|
+
"update:modelValue": (value: SelectModelValue | SelectModelValue[] | undefined) => any;
|
|
116
125
|
"update:open": (value: boolean) => any;
|
|
117
126
|
"update:searchTerm": (value: string) => any;
|
|
118
127
|
}, string, import("vue").PublicProps, Readonly<ComboboxSelectBaseProps> & Readonly<{
|
|
119
|
-
"onUpdate:modelValue"?: ((value:
|
|
128
|
+
"onUpdate:modelValue"?: ((value: SelectModelValue | SelectModelValue[] | undefined) => any) | undefined;
|
|
120
129
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
121
130
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
122
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|