@soybeanjs/ui 0.22.2 → 0.22.3
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/components/accordion/accordion.vue.d.ts +2 -3
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/affix/affix.vue.d.ts +3 -4
- package/dist/components/affix/index.d.ts +1 -1
- package/dist/components/alert/alert.vue.d.ts +3 -4
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/variants.d.ts +2 -3
- package/dist/components/anchor/anchor.vue.d.ts +3 -4
- package/dist/components/anchor/index.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete.vue.d.ts +4 -6
- package/dist/components/autocomplete/index.d.ts +1 -1
- package/dist/components/avatar/avatar.vue.d.ts +5 -7
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/backtop/backtop.vue.d.ts +4 -5
- package/dist/components/backtop/index.d.ts +1 -1
- package/dist/components/badge/badge.vue.d.ts +3 -4
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/variants.d.ts +2 -3
- package/dist/components/bottom-sheet/bottom-sheet.vue.d.ts +1 -2
- package/dist/components/bottom-sheet/index.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +2 -3
- package/dist/components/breadcrumb/index.d.ts +1 -1
- package/dist/components/button/button-group.vue.d.ts +3 -5
- package/dist/components/button/button-icon.vue.d.ts +3 -5
- package/dist/components/button/button-link.vue.d.ts +2 -3
- package/dist/components/button/button-loading.vue.d.ts +2 -3
- package/dist/components/button/button.vue.d.ts +3 -4
- package/dist/components/button/variants.d.ts +2 -3
- package/dist/components/calendar/calendar.vue.d.ts +5 -8
- package/dist/components/calendar/index.d.ts +1 -1
- package/dist/components/calendar-range/calendar-range.vue.d.ts +9 -12
- package/dist/components/calendar-range/index.d.ts +1 -1
- package/dist/components/card/card-collapsible-trigger.vue.d.ts +2 -3
- package/dist/components/card/card.vue.d.ts +2 -3
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/carousel/carousel.vue.d.ts +4 -6
- package/dist/components/carousel/index.d.ts +1 -1
- package/dist/components/checkbox/checkbox-card-group.vue.d.ts +2 -3
- package/dist/components/checkbox/checkbox-card.vue.d.ts +6 -8
- package/dist/components/checkbox/checkbox-group.vue.d.ts +2 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +6 -8
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/variants.d.ts +2 -3
- package/dist/components/clipboard/clipboard.vue.d.ts +9 -11
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/collapsible/collapsible.vue.d.ts +3 -4
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/color-area/color-area.vue.d.ts +7 -9
- package/dist/components/color-area/index.d.ts +1 -1
- package/dist/components/color-field/color-field.vue.d.ts +5 -7
- package/dist/components/color-field/index.d.ts +1 -1
- package/dist/components/color-picker/color-picker.vue.d.ts +15 -18
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-slider/color-slider.vue.d.ts +7 -9
- package/dist/components/color-slider/index.d.ts +1 -1
- package/dist/components/color-swatch/color-swatch.vue.d.ts +1 -2
- package/dist/components/color-swatch/index.d.ts +1 -1
- package/dist/components/color-swatch/variants.d.ts +2 -3
- package/dist/components/color-swatch-picker/color-swatch-picker.vue.d.ts +7 -10
- package/dist/components/color-swatch-picker/index.d.ts +1 -1
- package/dist/components/color-swatch-picker/variants.d.ts +2 -3
- package/dist/components/combobox/combobox.vue.d.ts +8 -11
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/command/command.vue.d.ts +5 -8
- package/dist/components/command/index.d.ts +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -5
- package/dist/components/config-provider/index.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +7 -9
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +7 -9
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +9 -11
- package/dist/components/context-menu/context-menu.vue.d.ts +7 -9
- package/dist/components/context-menu/index.d.ts +1 -1
- package/dist/components/date-field/date-field.vue.d.ts +7 -9
- package/dist/components/date-field/index.d.ts +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +13 -16
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-range-field/date-range-field.vue.d.ts +11 -14
- package/dist/components/date-range-field/index.d.ts +1 -1
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +15 -19
- package/dist/components/date-range-picker/index.d.ts +1 -1
- package/dist/components/dialog/dialog-provider.vue.d.ts +1 -3
- package/dist/components/dialog/dialog.vue.d.ts +11 -13
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dialog/variants.js +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +11 -13
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +7 -9
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +7 -9
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +9 -11
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +7 -9
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- package/dist/components/editable/editable.vue.d.ts +5 -7
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/empty/empty.vue.d.ts +1 -2
- package/dist/components/empty/index.d.ts +1 -1
- package/dist/components/form/form-field-base.vue.d.ts +1 -2
- package/dist/components/form/form.vue.d.ts +1 -2
- package/dist/components/form/index.d.ts +1 -1
- package/dist/components/hover-card/hover-card.vue.d.ts +7 -9
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/icon/icon.vue.d.ts +1 -2
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/input.vue.d.ts +3 -4
- package/dist/components/input-number/index.d.ts +1 -1
- package/dist/components/input-number/input-number.vue.d.ts +3 -4
- package/dist/components/input-otp/index.d.ts +1 -1
- package/dist/components/input-otp/input-otp.vue.d.ts +5 -6
- package/dist/components/kbd/index.d.ts +1 -1
- package/dist/components/kbd/kbd.vue.d.ts +2 -3
- package/dist/components/kbd/variants.d.ts +2 -3
- package/dist/components/label/label.vue.d.ts +1 -2
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/layout-classic.vue.d.ts +3 -4
- package/dist/components/layout/layout.vue.d.ts +3 -4
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/link/link.vue.d.ts +2 -3
- package/dist/components/list/index.d.ts +1 -1
- package/dist/components/list/list-item.vue.d.ts +1 -2
- package/dist/components/list/list.vue.d.ts +1 -2
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menubar/index.d.ts +1 -1
- package/dist/components/menubar/menubar.vue.d.ts +7 -9
- package/dist/components/navigation-menu/index.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +9 -11
- package/dist/components/page-tabs/index.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +4 -6
- package/dist/components/page-tabs/variants.d.ts +2 -3
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination.vue.d.ts +3 -4
- package/dist/components/pagination/variants.d.ts +2 -3
- package/dist/components/password/index.d.ts +1 -1
- package/dist/components/password/password.vue.d.ts +3 -4
- package/dist/components/popconfirm/popconfirm.vue.d.ts +9 -11
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover.vue.d.ts +9 -11
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/progress-circle.vue.d.ts +3 -4
- package/dist/components/progress/progress-provider.vue.d.ts +1 -2
- package/dist/components/progress/progress.vue.d.ts +3 -4
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/radio-group/radio-group-card.vue.d.ts +2 -3
- package/dist/components/radio-group/radio-group.vue.d.ts +2 -3
- package/dist/components/radio-group/variants.d.ts +2 -3
- package/dist/components/scroll-area/index.d.ts +1 -1
- package/dist/components/scroll-area/scroll-area.vue.d.ts +1 -2
- package/dist/components/segment/index.d.ts +1 -1
- package/dist/components/segment/segment.vue.d.ts +2 -3
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/select.vue.d.ts +5 -7
- package/dist/components/separator/index.d.ts +1 -1
- package/dist/components/separator/separator.vue.d.ts +3 -5
- package/dist/components/separator/variants.d.ts +2 -3
- package/dist/components/skeleton/skeleton.vue.d.ts +2 -3
- package/dist/components/skeleton/variants.d.ts +2 -3
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.vue.d.ts +3 -4
- package/dist/components/spinner/spinner.vue.d.ts +2 -3
- package/dist/components/splitter/splitter-group.vue.d.ts +3 -4
- package/dist/components/splitter/splitter-panel.vue.d.ts +5 -6
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +14 -17
- package/dist/components/stepper/index.d.ts +1 -1
- package/dist/components/stepper/stepper.vue.d.ts +3 -4
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +2 -3
- package/dist/components/switch/variants.d.ts +2 -3
- package/dist/components/table/hooks.d.ts +13 -14
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/table.vue.d.ts +6 -8
- package/dist/components/table/variants.d.ts +2 -3
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/tabs.vue.d.ts +2 -3
- package/dist/components/tabs/variants.d.ts +2 -3
- package/dist/components/tag/tag.vue.d.ts +3 -4
- package/dist/components/tag/variants.d.ts +2 -3
- package/dist/components/tags-input/index.d.ts +1 -1
- package/dist/components/tags-input/tags-input.vue.d.ts +5 -6
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/textarea/textarea.vue.d.ts +3 -4
- package/dist/components/textarea/variants.d.ts +2 -3
- package/dist/components/time-field/index.d.ts +1 -1
- package/dist/components/time-field/time-field.vue.d.ts +7 -9
- package/dist/components/time-range-field/index.d.ts +1 -1
- package/dist/components/time-range-field/time-range-field.vue.d.ts +11 -13
- package/dist/components/toast/toast-provider.vue.d.ts +2 -3
- package/dist/components/toggle/toggle.vue.d.ts +4 -6
- package/dist/components/toggle/variants.d.ts +2 -3
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group.vue.d.ts +2 -3
- package/dist/components/toggle-group/variants.d.ts +2 -3
- package/dist/components/toolbar/index.d.ts +1 -1
- package/dist/components/toolbar/toolbar.vue.d.ts +1 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +5 -7
- package/dist/components/tree/index.d.ts +1 -1
- package/dist/components/tree/tree-virtualizer.vue.d.ts +4 -7
- package/dist/components/tree/tree.vue.d.ts +3 -5
- package/dist/components/tree-menu/index.d.ts +1 -1
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +1 -2
- package/dist/components/tree-menu/tree-menu.vue.d.ts +2 -3
- package/dist/components/virtualizer/index.d.ts +1 -1
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -5
- package/dist/index.d.ts +1 -1
- package/dist/nuxt/index.d.ts +1 -2
- package/dist/resolver/index.d.ts +1 -3
- package/dist/styles.css +3 -2
- package/package.json +10 -10
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CheckboxCardGroupOptionData, CheckboxCardGroupProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
|
|
4
3
|
//#region src/components/checkbox/checkbox-card-group.vue.d.ts
|
|
5
4
|
declare const __VLS_export: <T extends CheckboxCardGroupOptionData = CheckboxCardGroupOptionData>(__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<{
|
|
6
|
-
props:
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<CheckboxCardGroupProps<T> & {
|
|
7
6
|
"onUpdate:modelValue"?: ((value: T["value"][]) => any) | undefined;
|
|
8
7
|
}> & (typeof globalThis extends {
|
|
9
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -12,7 +11,7 @@ declare const __VLS_export: <T extends CheckboxCardGroupOptionData = CheckboxCar
|
|
|
12
11
|
attrs: any;
|
|
13
12
|
slots: {};
|
|
14
13
|
emit: (evt: "update:modelValue", value: T["value"][]) => void;
|
|
15
|
-
}>) =>
|
|
14
|
+
}>) => import("vue").VNode & {
|
|
16
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
16
|
};
|
|
18
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CheckboxCardProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
2
|
|
|
5
3
|
//#region src/components/checkbox/checkbox-card.vue.d.ts
|
|
6
4
|
declare var __VLS_11: {}, __VLS_13: {};
|
|
@@ -9,13 +7,13 @@ type __VLS_Slots = {} & {
|
|
|
9
7
|
} & {
|
|
10
8
|
default?: (props: typeof __VLS_13) => any;
|
|
11
9
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
"update:modelValue": (value:
|
|
14
|
-
}, string,
|
|
15
|
-
"onUpdate:modelValue"?: ((value:
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<CheckboxCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: import("@soybeanjs/headless").CheckedState | null) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<CheckboxCardProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: import("@soybeanjs/headless").CheckedState | null) => any) | undefined;
|
|
16
14
|
}>, {
|
|
17
|
-
modelValue:
|
|
18
|
-
}, {}, {}, {}, string,
|
|
15
|
+
modelValue: import("@soybeanjs/headless").CheckedState | null;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
18
|
declare const _default: typeof __VLS_export;
|
|
21
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CheckboxGroupOptionData, CheckboxGroupProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
|
|
4
3
|
//#region src/components/checkbox/checkbox-group.vue.d.ts
|
|
5
4
|
declare const __VLS_export: <T extends CheckboxGroupOptionData = CheckboxGroupOptionData>(__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<{
|
|
6
|
-
props:
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<CheckboxGroupProps<T> & {
|
|
7
6
|
"onUpdate:modelValue"?: ((value: T["value"][]) => any) | undefined;
|
|
8
7
|
}> & (typeof globalThis extends {
|
|
9
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -12,7 +11,7 @@ declare const __VLS_export: <T extends CheckboxGroupOptionData = CheckboxGroupOp
|
|
|
12
11
|
attrs: any;
|
|
13
12
|
slots: {};
|
|
14
13
|
emit: (evt: "update:modelValue", value: T["value"][]) => void;
|
|
15
|
-
}>) =>
|
|
14
|
+
}>) => import("vue").VNode & {
|
|
16
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
16
|
};
|
|
18
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { CheckboxProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
2
|
|
|
5
3
|
//#region src/components/checkbox/checkbox.vue.d.ts
|
|
6
4
|
declare var __VLS_10: {};
|
|
7
5
|
type __VLS_Slots = {} & {
|
|
8
6
|
default?: (props: typeof __VLS_10) => any;
|
|
9
7
|
};
|
|
10
|
-
declare const __VLS_base:
|
|
11
|
-
"update:modelValue": (value:
|
|
12
|
-
}, string,
|
|
13
|
-
"onUpdate:modelValue"?: ((value:
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<CheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: import("@soybeanjs/headless").CheckedState | null) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: import("@soybeanjs/headless").CheckedState | null) => any) | undefined;
|
|
14
12
|
}>, {
|
|
15
|
-
modelValue:
|
|
16
|
-
}, {}, {}, {}, string,
|
|
13
|
+
modelValue: import("@soybeanjs/headless").CheckedState | null;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
16
|
declare const _default: typeof __VLS_export;
|
|
19
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,4 +3,4 @@ import { _default } from "./checkbox-group.vue.js";
|
|
|
3
3
|
import { _default as _default$1 } from "./checkbox.vue.js";
|
|
4
4
|
import { _default as _default$2 } from "./checkbox-card-group.vue.js";
|
|
5
5
|
import { _default as _default$3 } from "./checkbox-card.vue.js";
|
|
6
|
-
export * from "@soybeanjs/headless/checkbox";
|
|
6
|
+
export type * from "@soybeanjs/headless/checkbox";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
1
|
import { VariantProps } from "tailwind-variants";
|
|
3
2
|
|
|
4
3
|
//#region src/components/checkbox/variants.d.ts
|
|
5
|
-
declare const checkboxVariants:
|
|
4
|
+
declare const checkboxVariants: import("tailwind-variants").TVReturnType<{
|
|
6
5
|
color: {
|
|
7
6
|
primary: {
|
|
8
7
|
control: string;
|
|
@@ -166,7 +165,7 @@ declare const checkboxVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
166
165
|
indicator: string;
|
|
167
166
|
'indicator-icon': string;
|
|
168
167
|
label: string;
|
|
169
|
-
},
|
|
168
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
170
169
|
color: {
|
|
171
170
|
primary: {
|
|
172
171
|
control: string;
|
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
import { ClipboardProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
2
|
|
|
5
3
|
//#region src/components/clipboard/clipboard.vue.d.ts
|
|
6
4
|
declare var __VLS_9: {
|
|
7
5
|
copied: boolean;
|
|
8
6
|
disabled: boolean;
|
|
9
|
-
icon:
|
|
7
|
+
icon: import("@soybeanjs/headless").IconValue;
|
|
10
8
|
supported: boolean;
|
|
11
|
-
state:
|
|
9
|
+
state: import("@soybeanjs/headless").ClipboardState;
|
|
12
10
|
text: string;
|
|
13
11
|
copy: () => Promise<void>;
|
|
14
12
|
}, __VLS_12: {
|
|
15
13
|
copied: boolean;
|
|
16
14
|
disabled: boolean;
|
|
17
|
-
icon:
|
|
15
|
+
icon: import("@soybeanjs/headless").IconValue;
|
|
18
16
|
supported: boolean;
|
|
19
|
-
state:
|
|
17
|
+
state: import("@soybeanjs/headless").ClipboardState;
|
|
20
18
|
text: string;
|
|
21
19
|
copy: () => Promise<void>;
|
|
22
20
|
}, __VLS_15: {
|
|
23
21
|
copied: boolean;
|
|
24
22
|
disabled: boolean;
|
|
25
|
-
icon:
|
|
23
|
+
icon: import("@soybeanjs/headless").IconValue;
|
|
26
24
|
supported: boolean;
|
|
27
|
-
state:
|
|
25
|
+
state: import("@soybeanjs/headless").ClipboardState;
|
|
28
26
|
text: string;
|
|
29
27
|
copy: () => Promise<void>;
|
|
30
28
|
};
|
|
@@ -35,15 +33,15 @@ type __VLS_Slots = {} & {
|
|
|
35
33
|
} & {
|
|
36
34
|
trailing?: (props: typeof __VLS_15) => any;
|
|
37
35
|
};
|
|
38
|
-
declare const __VLS_base:
|
|
36
|
+
declare const __VLS_base: import("vue").DefineComponent<ClipboardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
37
|
click: (event: PointerEvent) => any;
|
|
40
38
|
copied: (value: string) => any;
|
|
41
39
|
copyError: (error: unknown) => any;
|
|
42
|
-
}, string,
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<ClipboardProps> & Readonly<{
|
|
43
41
|
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
44
42
|
onCopied?: ((value: string) => any) | undefined;
|
|
45
43
|
onCopyError?: ((error: unknown) => any) | undefined;
|
|
46
|
-
}>, {}, {}, {}, {}, string,
|
|
44
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
45
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
46
|
declare const _default: typeof __VLS_export;
|
|
49
47
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ButtonShape, ButtonVariant } from "../button/variants.js";
|
|
2
2
|
import { ClipboardEmits, ClipboardProps, ClipboardSlotProps } from "./types.js";
|
|
3
3
|
import { _default } from "./clipboard.vue.js";
|
|
4
|
-
export * from "@soybeanjs/headless/clipboard";
|
|
4
|
+
export type * from "@soybeanjs/headless/clipboard";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CollapsibleProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
|
|
4
3
|
//#region src/components/collapsible/collapsible.vue.d.ts
|
|
5
4
|
declare var __VLS_10: {
|
|
@@ -8,15 +7,15 @@ declare var __VLS_10: {
|
|
|
8
7
|
type __VLS_Slots = {} & {
|
|
9
8
|
default?: (props: typeof __VLS_10) => any;
|
|
10
9
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<CollapsibleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
11
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<CollapsibleProps> & Readonly<{
|
|
14
13
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
14
|
}>, {
|
|
16
15
|
open: boolean;
|
|
17
16
|
defaultOpen: boolean;
|
|
18
17
|
unmountOnHide: boolean;
|
|
19
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
20
|
declare const _default: typeof __VLS_export;
|
|
22
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollapsibleEmits, CollapsibleProps } from "./types.js";
|
|
2
2
|
import { _default } from "./collapsible.vue.js";
|
|
3
3
|
import { CollapsibleContent as SCollapsibleContent, CollapsibleTrigger as SCollapsibleTrigger } from "@soybeanjs/headless/collapsible";
|
|
4
|
-
export * from "@soybeanjs/headless/collapsible";
|
|
4
|
+
export type * from "@soybeanjs/headless/collapsible";
|
|
5
5
|
export { SCollapsibleContent, SCollapsibleTrigger };
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { ColorAreaProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless_types0 from "@soybeanjs/headless/types";
|
|
4
2
|
|
|
5
3
|
//#region src/components/color-area/color-area.vue.d.ts
|
|
6
|
-
declare const __VLS_export:
|
|
7
|
-
change: (value: string) => any;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<ColorAreaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
5
|
"update:modelValue": (value: string) => any;
|
|
9
|
-
|
|
6
|
+
change: (value: string) => any;
|
|
7
|
+
"update:color": (value: import("@soybeanjs/headless/types").NormalizedColor) => any;
|
|
10
8
|
changeEnd: (value: string) => any;
|
|
11
|
-
}, string,
|
|
12
|
-
onChange?: ((value: string) => any) | undefined;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<ColorAreaProps> & Readonly<{
|
|
13
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
-
|
|
11
|
+
onChange?: ((value: string) => any) | undefined;
|
|
12
|
+
"onUpdate:color"?: ((value: import("@soybeanjs/headless/types").NormalizedColor) => any) | undefined;
|
|
15
13
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string,
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
15
|
declare const _default: typeof __VLS_export;
|
|
18
16
|
//#endregion
|
|
19
17
|
export { _default };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { ColorFieldProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless_types0 from "@soybeanjs/headless/types";
|
|
4
2
|
|
|
5
3
|
//#region src/components/color-field/color-field.vue.d.ts
|
|
6
|
-
declare const __VLS_export:
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<ColorFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
5
|
"update:modelValue": (value: string) => any;
|
|
8
|
-
"update:color": (value:
|
|
9
|
-
}, string,
|
|
6
|
+
"update:color": (value: import("@soybeanjs/headless/types").NormalizedColor) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<ColorFieldProps> & Readonly<{
|
|
10
8
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
-
"onUpdate:color"?: ((value:
|
|
12
|
-
}>, {}, {}, {}, {}, string,
|
|
9
|
+
"onUpdate:color"?: ((value: import("@soybeanjs/headless/types").NormalizedColor) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
11
|
declare const _default: typeof __VLS_export;
|
|
14
12
|
//#endregion
|
|
15
13
|
export { _default };
|
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
import { ColorPickerProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
|
-
import * as _$_soybeanjs_headless_types0 from "@soybeanjs/headless/types";
|
|
5
2
|
|
|
6
3
|
//#region src/components/color-picker/color-picker.vue.d.ts
|
|
7
|
-
declare const __VLS_export:
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<ColorPickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
5
|
"update:open": (value: boolean) => any;
|
|
9
6
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
10
|
-
pointerDownOutside: (event:
|
|
11
|
-
focusOutside: (event:
|
|
12
|
-
interactOutside: (event:
|
|
7
|
+
pointerDownOutside: (event: import("@soybeanjs/headless").PointerDownOutsideEvent) => any;
|
|
8
|
+
focusOutside: (event: import("@soybeanjs/headless").FocusOutsideEvent) => any;
|
|
9
|
+
interactOutside: (event: import("@soybeanjs/headless").PointerDownOutsideEvent | import("@soybeanjs/headless").FocusOutsideEvent) => any;
|
|
13
10
|
openAutoFocus: (event: Event) => any;
|
|
14
11
|
closeAutoFocus: (event: Event) => any;
|
|
15
|
-
change: (value: string) => any;
|
|
16
12
|
"update:modelValue": (value: string) => any;
|
|
17
|
-
|
|
18
|
-
"update:
|
|
19
|
-
|
|
13
|
+
change: (value: string) => any;
|
|
14
|
+
"update:color": (value: import("@soybeanjs/headless/types").NormalizedColor) => any;
|
|
15
|
+
"update:format": (value: import("@soybeanjs/headless/types").ColorFormat) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
20
17
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
21
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
22
|
-
onPointerDownOutside?: ((event:
|
|
23
|
-
onFocusOutside?: ((event:
|
|
24
|
-
onInteractOutside?: ((event:
|
|
19
|
+
onPointerDownOutside?: ((event: import("@soybeanjs/headless").PointerDownOutsideEvent) => any) | undefined;
|
|
20
|
+
onFocusOutside?: ((event: import("@soybeanjs/headless").FocusOutsideEvent) => any) | undefined;
|
|
21
|
+
onInteractOutside?: ((event: import("@soybeanjs/headless").PointerDownOutsideEvent | import("@soybeanjs/headless").FocusOutsideEvent) => any) | undefined;
|
|
25
22
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
23
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
|
-
onChange?: ((value: string) => any) | undefined;
|
|
28
24
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
-
|
|
30
|
-
"onUpdate:
|
|
25
|
+
onChange?: ((value: string) => any) | undefined;
|
|
26
|
+
"onUpdate:color"?: ((value: import("@soybeanjs/headless/types").NormalizedColor) => any) | undefined;
|
|
27
|
+
"onUpdate:format"?: ((value: import("@soybeanjs/headless/types").ColorFormat) => any) | undefined;
|
|
31
28
|
}>, {
|
|
32
29
|
open: boolean;
|
|
33
30
|
showAlpha: boolean;
|
|
34
31
|
showFields: boolean;
|
|
35
32
|
showSwatches: boolean;
|
|
36
33
|
showArrow: boolean;
|
|
37
|
-
}, {}, {}, {}, string,
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
35
|
declare const _default: typeof __VLS_export;
|
|
39
36
|
//#endregion
|
|
40
37
|
export { _default };
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import { ColorSliderProps } from "./types.js";
|
|
3
|
-
import * as _$vue from "vue";
|
|
4
|
-
import * as _$_soybeanjs_headless_types0 from "@soybeanjs/headless/types";
|
|
5
3
|
|
|
6
4
|
//#region src/components/color-slider/color-slider.vue.d.ts
|
|
7
|
-
declare const __VLS_export:
|
|
8
|
-
change: (value: string) => any;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<ColorSliderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
6
|
"update:modelValue": (value: string) => any;
|
|
10
|
-
|
|
7
|
+
change: (value: string) => any;
|
|
8
|
+
"update:color": (value: import("@soybeanjs/headless/types").NormalizedColor) => any;
|
|
11
9
|
changeEnd: (value: string) => any;
|
|
12
|
-
}, string,
|
|
13
|
-
onChange?: ((value: string) => any) | undefined;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<ColorSliderProps> & Readonly<{
|
|
14
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
|
|
12
|
+
onChange?: ((value: string) => any) | undefined;
|
|
13
|
+
"onUpdate:color"?: ((value: import("@soybeanjs/headless/types").NormalizedColor) => any) | undefined;
|
|
16
14
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
17
15
|
}>, {
|
|
18
16
|
color: ThemeColor;
|
|
19
17
|
size: ThemeSize;
|
|
20
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
19
|
declare const _default: typeof __VLS_export;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { _default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ColorSwatchProps, ColorSwatchSlots } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
|
|
4
3
|
//#region src/components/color-swatch/color-swatch.vue.d.ts
|
|
5
4
|
type __VLS_Slots = ColorSwatchSlots;
|
|
6
|
-
declare const __VLS_base:
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<ColorSwatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ColorSwatchProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
7
|
declare const _default: typeof __VLS_export;
|
|
9
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ColorSwatchShape } from "./variants.js";
|
|
2
2
|
import { ColorSwatchProps, ColorSwatchSlots } from "./types.js";
|
|
3
3
|
import { _default } from "./color-swatch.vue.js";
|
|
4
|
-
export * from "@soybeanjs/headless/color-swatch";
|
|
4
|
+
export type * from "@soybeanjs/headless/color-swatch";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
1
|
import { VariantProps } from "tailwind-variants";
|
|
3
2
|
|
|
4
3
|
//#region src/components/color-swatch/variants.d.ts
|
|
5
|
-
declare const colorSwatchVariants:
|
|
4
|
+
declare const colorSwatchVariants: import("tailwind-variants").TVReturnType<{
|
|
6
5
|
size: {
|
|
7
6
|
xs: {
|
|
8
7
|
root: string;
|
|
@@ -68,7 +67,7 @@ declare const colorSwatchVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
68
67
|
root: string[];
|
|
69
68
|
checker: string;
|
|
70
69
|
fill: string;
|
|
71
|
-
},
|
|
70
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
72
71
|
size: {
|
|
73
72
|
xs: {
|
|
74
73
|
root: string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { ColorSwatchPickerShape } from "./variants.js";
|
|
2
2
|
import { ColorSwatchPickerProps } from "./types.js";
|
|
3
|
-
import * as _$vue from "vue";
|
|
4
|
-
import * as _$_soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
|
|
5
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
6
3
|
|
|
7
4
|
//#region src/components/color-swatch-picker/color-swatch-picker.vue.d.ts
|
|
8
5
|
type __VLS_Slots = {
|
|
@@ -13,21 +10,21 @@ type __VLS_Slots = {
|
|
|
13
10
|
color: string;
|
|
14
11
|
}) => any;
|
|
15
12
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
17
|
-
select: (event:
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<ColorSwatchPickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
select: (event: import("@soybeanjs/headless").SelectEvent<string>) => any;
|
|
18
15
|
"update:modelValue": (value: string | string[]) => any;
|
|
19
|
-
highlight: (payload?:
|
|
16
|
+
highlight: (payload?: import("@soybeanjs/headless/composables").CollectionItemData<import("@soybeanjs/headless").ListboxCollectionItemData> | undefined) => any;
|
|
20
17
|
entryFocus: (event: CustomEvent<any>) => any;
|
|
21
18
|
leave: (event: Event) => any;
|
|
22
|
-
}, string,
|
|
23
|
-
onSelect?: ((event:
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<ColorSwatchPickerProps> & Readonly<{
|
|
20
|
+
onSelect?: ((event: import("@soybeanjs/headless").SelectEvent<string>) => any) | undefined;
|
|
24
21
|
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
25
|
-
onHighlight?: ((payload?:
|
|
22
|
+
onHighlight?: ((payload?: import("@soybeanjs/headless/composables").CollectionItemData<import("@soybeanjs/headless").ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
26
23
|
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
27
24
|
onLeave?: ((event: Event) => any) | undefined;
|
|
28
25
|
}>, {
|
|
29
26
|
shape: ColorSwatchPickerShape;
|
|
30
|
-
}, {}, {}, {}, string,
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
29
|
declare const _default: typeof __VLS_export;
|
|
33
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ColorSwatchPickerShape } from "./variants.js";
|
|
2
2
|
import { ColorSwatchPickerEmits, ColorSwatchPickerExtendedUi, ColorSwatchPickerExtraUiSlot, ColorSwatchPickerProps } from "./types.js";
|
|
3
3
|
import { _default } from "./color-swatch-picker.vue.js";
|
|
4
|
-
export * from "@soybeanjs/headless/color-swatch-picker";
|
|
4
|
+
export type * from "@soybeanjs/headless/color-swatch-picker";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
1
|
import { VariantProps } from "tailwind-variants";
|
|
3
2
|
|
|
4
3
|
//#region src/components/color-swatch-picker/variants.d.ts
|
|
5
|
-
declare const colorSwatchPickerVariants:
|
|
4
|
+
declare const colorSwatchPickerVariants: import("tailwind-variants").TVReturnType<{
|
|
6
5
|
size: {
|
|
7
6
|
xs: {
|
|
8
7
|
root: string;
|
|
@@ -98,7 +97,7 @@ declare const colorSwatchPickerVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
98
97
|
swatchRoot: string;
|
|
99
98
|
swatchChecker: string;
|
|
100
99
|
swatchFill: string;
|
|
101
|
-
},
|
|
100
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
102
101
|
size: {
|
|
103
102
|
xs: {
|
|
104
103
|
root: string;
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { ComboboxProps, ComboboxSlots } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
|
|
4
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
5
2
|
|
|
6
3
|
//#region src/components/combobox/combobox.vue.d.ts
|
|
7
4
|
declare const __VLS_export: <M 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<{
|
|
8
|
-
props:
|
|
9
|
-
onSelect?: ((event:
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<ComboboxProps<M> & {
|
|
6
|
+
onSelect?: ((event: import("@soybeanjs/headless").SelectEvent<string>) => any) | undefined;
|
|
10
7
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
8
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
12
|
-
onPointerDownOutside?: ((event:
|
|
13
|
-
onFocusOutside?: ((event:
|
|
14
|
-
onInteractOutside?: ((event:
|
|
9
|
+
onPointerDownOutside?: ((event: import("@soybeanjs/headless").PointerDownOutsideEvent) => any) | undefined;
|
|
10
|
+
onFocusOutside?: ((event: import("@soybeanjs/headless").FocusOutsideEvent) => any) | undefined;
|
|
11
|
+
onInteractOutside?: ((event: import("@soybeanjs/headless").PointerDownOutsideEvent | import("@soybeanjs/headless").FocusOutsideEvent) => any) | undefined;
|
|
15
12
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16
13
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
14
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
18
|
-
onHighlight?: ((payload?:
|
|
15
|
+
onHighlight?: ((payload?: import("@soybeanjs/headless/composables").CollectionItemData<import("@soybeanjs/headless").ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
19
16
|
onPlaced?: (() => any) | undefined;
|
|
20
17
|
}> & (typeof globalThis extends {
|
|
21
18
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -23,8 +20,8 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
23
20
|
expose: (exposed: {}) => void;
|
|
24
21
|
attrs: any;
|
|
25
22
|
slots: ComboboxSlots<M>;
|
|
26
|
-
emit: ((evt: "select", event:
|
|
27
|
-
}>) =>
|
|
23
|
+
emit: ((evt: "select", event: import("@soybeanjs/headless").SelectEvent<string>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: import("@soybeanjs/headless").PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: import("@soybeanjs/headless").FocusOutsideEvent) => void) & ((evt: "interactOutside", event: import("@soybeanjs/headless").PointerDownOutsideEvent | import("@soybeanjs/headless").FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: import("@soybeanjs/headless/composables").CollectionItemData<import("@soybeanjs/headless").ListboxCollectionItemData> | undefined) => void) & ((evt: "placed") => void);
|
|
24
|
+
}>) => import("vue").VNode & {
|
|
28
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
26
|
};
|
|
30
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { CommandProps, CommandSlots } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
|
|
4
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
5
2
|
import { CommandSingleOptionData } from "@soybeanjs/headless/command";
|
|
6
3
|
|
|
7
4
|
//#region src/components/command/command.vue.d.ts
|
|
8
5
|
declare const __VLS_export: <T extends CommandSingleOptionData = CommandSingleOptionData>(__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<{
|
|
9
|
-
props:
|
|
10
|
-
onSelect?: ((event:
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
|
|
7
|
+
onSelect?: ((event: import("@soybeanjs/headless").SelectEvent<string>) => any) | undefined;
|
|
11
8
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
-
onHighlight?: ((payload?:
|
|
9
|
+
onHighlight?: ((payload?: import("@soybeanjs/headless/composables").CollectionItemData<import("@soybeanjs/headless").ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
13
10
|
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
14
11
|
onLeave?: ((event: Event) => any) | undefined;
|
|
15
12
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
@@ -19,8 +16,8 @@ declare const __VLS_export: <T extends CommandSingleOptionData = CommandSingleOp
|
|
|
19
16
|
expose: (exposed: {}) => void;
|
|
20
17
|
attrs: any;
|
|
21
18
|
slots: CommandSlots<T>;
|
|
22
|
-
emit: ((evt: "select", event:
|
|
23
|
-
}>) =>
|
|
19
|
+
emit: ((evt: "select", event: import("@soybeanjs/headless").SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: import("@soybeanjs/headless/composables").CollectionItemData<import("@soybeanjs/headless").ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
20
|
+
}>) => import("vue").VNode & {
|
|
24
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
22
|
};
|
|
26
23
|
declare const _default: typeof __VLS_export;
|