@soybeanjs/headless 0.28.1 → 0.29.0-beta.1
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/affix/affix-compact.js +1 -1
- package/dist/components/affix/affix-root.js +1 -1
- package/dist/components/affix/types.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete-input.js +1 -1
- package/dist/components/autocomplete/autocomplete-input.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +3 -3
- package/dist/components/bottom-sheet/bottom-sheet-popup.vue.d.ts +2 -2
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/calendar/calendar-root.js +1 -1
- package/dist/components/calendar-range/calendar-range-root.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/color-area/color-area-area.vue.d.ts +2 -2
- package/dist/components/color-area/color-area-compact.vue.d.ts +2 -2
- package/dist/components/color-area/color-area-root.vue.d.ts +3 -3
- package/dist/components/color-field/color-field-root.vue.d.ts +2 -2
- package/dist/components/color-picker/color-picker-compact.vue.d.ts +3 -3
- package/dist/components/color-picker/color-picker-root.vue.d.ts +3 -3
- package/dist/components/color-slider/color-slider-compact.vue.d.ts +2 -2
- package/dist/components/color-slider/color-slider-root.vue.d.ts +4 -4
- package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-root.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +2 -2
- package/dist/components/date-field/date-field-root.vue.d.ts +2 -2
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +6 -6
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +6 -6
- package/dist/components/dialog/dialog-compact.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-popup.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-provider.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/editable/editable-compact.vue.d.ts +2 -2
- package/dist/components/editable/editable-input.vue.d.ts +2 -2
- package/dist/components/editable/editable-preview.vue.d.ts +2 -2
- package/dist/components/editable/editable-root.vue.d.ts +4 -4
- package/dist/components/hover-card/hover-card-popup.vue.d.ts +2 -2
- package/dist/components/hover-card/hover-card-trigger.vue.d.ts +2 -2
- package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +4 -4
- package/dist/components/input-otp/input-otp-root.vue.d.ts +5 -5
- package/dist/components/layout/layout-root.vue.d.ts +1 -1
- package/dist/components/listbox/listbox-filter.js +1 -1
- package/dist/components/listbox/listbox-filter.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-item.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +2 -2
- package/dist/components/menu/menu-item.vue.d.ts +2 -2
- package/dist/components/menu/menu-radio-item.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-root.vue.d.ts +1 -1
- package/dist/components/menubar/menubar-trigger.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +2 -2
- package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs-item.js +1 -1
- package/dist/components/page-tabs/page-tabs-item.vue.d.ts +2 -2
- package/dist/components/page-tabs/page-tabs-root.vue.d.ts +1 -1
- package/dist/components/popover/popover-positioner.vue.d.ts +2 -2
- package/dist/components/popper/popper-positioner.vue.d.ts +1 -1
- package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-root.vue.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-thumb.vue.d.ts +2 -2
- package/dist/components/select/select-compact.vue.d.ts +2 -2
- package/dist/components/select/select-item.vue.d.ts +2 -2
- package/dist/components/select/select-root.vue.d.ts +2 -2
- package/dist/components/select/select-trigger.vue.d.ts +2 -2
- package/dist/components/slider/slider-root.vue.d.ts +2 -2
- package/dist/components/slider/slider-thumb.vue.d.ts +2 -2
- package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +2 -2
- package/dist/components/stepper/stepper-root.vue.d.ts +1 -1
- package/dist/components/stepper/stepper-trigger.vue.d.ts +2 -2
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/components/tabs/tabs-trigger.vue.d.ts +2 -2
- package/dist/components/tags-input/tags-input-compact.vue.d.ts +2 -2
- package/dist/components/tags-input/tags-input-root.vue.d.ts +3 -3
- package/dist/components/time-field/time-field-root.vue.d.ts +2 -2
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +2 -2
- package/dist/components/toast/toaster.vue.d.ts +2 -2
- package/dist/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/components/tree/tree-item.js +1 -1
- package/dist/components/tree/tree-item.vue.d.ts +2 -2
- package/dist/components/tree/tree-root.js +1 -1
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +2 -2
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +1 -1
- package/dist/shared/env.d.ts +1 -2
- package/dist/shared/env.js +1 -1
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/package.json +8 -8
|
@@ -9,7 +9,7 @@ import { PopoverCloseProps, PopoverPopupProps, PopoverPositionerProps, PopoverTr
|
|
|
9
9
|
import { CalendarRangeCellProps, CalendarRangeCellTriggerProps, CalendarRangeGridBodyProps, CalendarRangeGridHeadProps, CalendarRangeGridProps, CalendarRangeGridRowProps, CalendarRangeHeadCellProps, CalendarRangeHeaderProps, CalendarRangeHeadingProps, CalendarRangeNextProps, CalendarRangePrevProps } from "../calendar-range/types.js";
|
|
10
10
|
import { DateRangePickerCompactProps } from "./types.js";
|
|
11
11
|
//#region src/components/date-range-picker/date-range-picker-compact.vue.d.ts
|
|
12
|
-
declare var
|
|
12
|
+
declare var __VLS_24: {
|
|
13
13
|
open: boolean;
|
|
14
14
|
close: () => void;
|
|
15
15
|
calendarRangeProps: Omit<Readonly<{
|
|
@@ -257,26 +257,26 @@ declare var __VLS_25: {
|
|
|
257
257
|
readonly inlist: boolean;
|
|
258
258
|
readonly asChild: boolean;
|
|
259
259
|
readonly open: boolean | undefined;
|
|
260
|
+
readonly readonly: boolean;
|
|
260
261
|
readonly showArrow: boolean;
|
|
261
262
|
readonly defaultOpen: boolean;
|
|
262
263
|
readonly modal: boolean;
|
|
263
|
-
readonly readonly: boolean;
|
|
264
264
|
readonly pagedNavigation: boolean;
|
|
265
265
|
readonly preventDeselect: boolean;
|
|
266
266
|
readonly fixedWeeks: boolean;
|
|
267
267
|
readonly initialFocus: boolean;
|
|
268
268
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
269
269
|
readonly allowNonContiguousRanges: boolean;
|
|
270
|
-
}, "
|
|
270
|
+
}, "triggerProps" | "open" | "positionerProps" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
271
271
|
onUpdateModelValue: (value: DateRange) => void;
|
|
272
272
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
273
273
|
};
|
|
274
274
|
type __VLS_Slots = {} & {
|
|
275
|
-
default?: (props: typeof
|
|
275
|
+
default?: (props: typeof __VLS_24) => any;
|
|
276
276
|
};
|
|
277
277
|
declare const __VLS_base: import("vue").DefineComponent<DateRangePickerCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
278
|
-
"update:open": (value: boolean) => any;
|
|
279
278
|
"update:modelValue": (range: DateRange) => any;
|
|
279
|
+
"update:open": (value: boolean) => any;
|
|
280
280
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
281
281
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
282
282
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -286,8 +286,8 @@ declare const __VLS_base: import("vue").DefineComponent<DateRangePickerCompactPr
|
|
|
286
286
|
"update:placeholder": (date: DateValue) => any;
|
|
287
287
|
"update:startValue": (date: DateValue | undefined) => any;
|
|
288
288
|
}, string, import("vue").PublicProps, Readonly<DateRangePickerCompactProps> & Readonly<{
|
|
289
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
290
289
|
"onUpdate:modelValue"?: ((range: DateRange) => any) | undefined;
|
|
290
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
291
291
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
292
292
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
293
293
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -3,8 +3,8 @@ import { DialogAlertType, DialogCompactProps, DialogCompactSlots } from "./types
|
|
|
3
3
|
//#region src/components/dialog/dialog-compact.vue.d.ts
|
|
4
4
|
type __VLS_Slots = DialogCompactSlots;
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<DialogCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
click: (event: PointerEvent) => any;
|
|
7
6
|
cancel: (event: MouseEvent) => any;
|
|
7
|
+
click: (event: PointerEvent) => any;
|
|
8
8
|
close: (event: MouseEvent) => any;
|
|
9
9
|
"update:open": (value: boolean) => any;
|
|
10
10
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<DialogCompactProps, {},
|
|
|
15
15
|
closeAutoFocus: (event: Event) => any;
|
|
16
16
|
confirm: (event: MouseEvent) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<DialogCompactProps> & Readonly<{
|
|
18
|
-
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
19
18
|
onCancel?: ((event: MouseEvent) => any) | undefined;
|
|
19
|
+
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
20
20
|
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
21
21
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -2,9 +2,9 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
|
|
|
2
2
|
import { DialogPopupProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dialog/dialog-popup.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<DialogPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/components/dialog/dialog-provider.vue.d.ts
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_44: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_44) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -6,8 +6,8 @@ import { DropdownMenuCheckboxCompactProps, DropdownMenuCheckboxCompactSlots } fr
|
|
|
6
6
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__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<{
|
|
7
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<DropdownMenuCheckboxCompactProps<T> & {
|
|
8
8
|
onSelect?: ((item: MenuCheckboxOptionData<T>, event: Event) => any) | undefined;
|
|
9
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
10
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
12
12
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
13
13
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
21
21
|
expose: (exposed: {}) => void;
|
|
22
22
|
attrs: any;
|
|
23
23
|
slots: DropdownMenuCheckboxCompactSlots<T>;
|
|
24
|
-
emit: ((evt: "select", item: MenuCheckboxOptionData<T>, event: Event) => void) & ((evt: "update:
|
|
24
|
+
emit: ((evt: "select", item: MenuCheckboxOptionData<T>, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
25
25
|
}>) => import("vue").VNode & {
|
|
26
26
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
27
|
};
|
|
@@ -2,9 +2,9 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
|
|
|
2
2
|
import { DropdownMenuContentProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown-menu/dropdown-menu-content.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -6,8 +6,8 @@ import { DropdownMenuRadioCompactProps, DropdownMenuRadioCompactSlots } from "./
|
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue>(__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<{
|
|
7
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<DropdownMenuRadioCompactProps<T> & {
|
|
8
8
|
onSelect?: ((item: MenuRadioOptionData<T>, event: Event) => any) | undefined;
|
|
9
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
10
9
|
"onUpdate:modelValue"?: ((payload: Exclude<T, undefined>) => any) | undefined;
|
|
10
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
12
12
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
13
13
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
21
21
|
expose: (exposed: {}) => void;
|
|
22
22
|
attrs: any;
|
|
23
23
|
slots: DropdownMenuRadioCompactSlots<T>;
|
|
24
|
-
emit: ((evt: "select", item: MenuRadioOptionData<T>, event: Event) => void) & ((evt: "update:
|
|
24
|
+
emit: ((evt: "select", item: MenuRadioOptionData<T>, event: Event) => void) & ((evt: "update:modelValue", payload: Exclude<T, undefined>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
25
25
|
}>) => import("vue").VNode & {
|
|
26
26
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
27
|
};
|
|
@@ -12,9 +12,9 @@ declare const __VLS_base: import("vue").DefineComponent<DropdownMenuRootProps, {
|
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
|
|
13
13
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
+
open: boolean;
|
|
15
16
|
delayDuration: number;
|
|
16
17
|
skipDelayDuration: number;
|
|
17
|
-
open: boolean;
|
|
18
18
|
modal: boolean;
|
|
19
19
|
trigger: DropdownMenuTriggerType;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,12 +3,12 @@ import { EditableCompactProps, EditableCompactSlots, EditableEventState } from "
|
|
|
3
3
|
//#region src/components/editable/editable-compact.vue.d.ts
|
|
4
4
|
type __VLS_Slots = EditableCompactSlots;
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<EditableCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
submit: (value: string) => any;
|
|
7
6
|
"update:modelValue": (value: string) => any;
|
|
7
|
+
submit: (value: string) => any;
|
|
8
8
|
"update:state": (state: EditableEventState) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<EditableCompactProps> & Readonly<{
|
|
10
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
12
12
|
"onUpdate:state"?: ((state: EditableEventState) => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -2,9 +2,9 @@ import { AsTag } from "../primitive/types.js";
|
|
|
2
2
|
import { EditableInputProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/editable/editable-input.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<EditableInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EditableInputProps> & Readonly<{}>, {
|
|
10
10
|
as: AsTag | import("vue").Component;
|
|
@@ -2,9 +2,9 @@ import { AsTag } from "../primitive/types.js";
|
|
|
2
2
|
import { EditablePreviewProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/editable/editable-preview.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<EditablePreviewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EditablePreviewProps> & Readonly<{}>, {
|
|
10
10
|
as: AsTag | import("vue").Component;
|
|
@@ -4,7 +4,7 @@ import { EditableActivationMode, EditableEventState, EditableRootProps, Editable
|
|
|
4
4
|
declare function edit(): void;
|
|
5
5
|
declare function cancel(): void;
|
|
6
6
|
declare function submit(): void;
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_10: {
|
|
8
8
|
modelValue: string;
|
|
9
9
|
inputValue: string;
|
|
10
10
|
isEditing: boolean;
|
|
@@ -14,19 +14,19 @@ declare var __VLS_12: {
|
|
|
14
14
|
submit: typeof submit;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_Slots = {} & {
|
|
17
|
-
default?: (props: typeof
|
|
17
|
+
default?: (props: typeof __VLS_10) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import("vue").DefineComponent<EditableRootProps, {
|
|
20
20
|
edit: typeof edit;
|
|
21
21
|
cancel: typeof cancel;
|
|
22
22
|
submit: typeof submit;
|
|
23
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
-
submit: (value: string) => any;
|
|
25
24
|
"update:modelValue": (value: string) => any;
|
|
25
|
+
submit: (value: string) => any;
|
|
26
26
|
"update:state": (state: EditableEventState) => any;
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<EditableRootProps> & Readonly<{
|
|
28
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
29
28
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
30
30
|
"onUpdate:state"?: ((state: EditableEventState) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
disabled: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HoverCardPopupProps } from "./types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/hover-card/hover-card-popup.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<HoverCardPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HoverCardPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
3
3
|
//#region src/components/hover-card/hover-card-trigger.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<PopperAnchorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {
|
|
9
9
|
as: AsTag | import("vue").Component;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<InputNumberRootProps, {}
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<InputNumberRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((val: number | null) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
step: number;
|
|
17
16
|
modelValue: number | null;
|
|
17
|
+
step: number;
|
|
18
18
|
stepSnapping: boolean;
|
|
19
19
|
focusOnChange: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,24 +5,24 @@ type __VLS_Slots = InputOtpCompactSlots;
|
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<InputOtpCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
input: (value: string) => any;
|
|
7
7
|
select: (event: Event) => any;
|
|
8
|
-
|
|
8
|
+
"update:modelValue": (value: string) => any;
|
|
9
9
|
blur: (event: FocusEvent) => any;
|
|
10
|
+
change: (event: Event) => any;
|
|
10
11
|
focus: (event: FocusEvent) => any;
|
|
11
12
|
mouseleave: (event: MouseEvent) => any;
|
|
12
13
|
mouseover: (event: MouseEvent) => any;
|
|
13
14
|
paste: (event: ClipboardEvent) => any;
|
|
14
|
-
"update:modelValue": (value: string) => any;
|
|
15
15
|
complete: (value: string) => any;
|
|
16
16
|
}, string, import("vue").PublicProps, Readonly<InputOtpCompactProps> & Readonly<{
|
|
17
17
|
onInput?: ((value: string) => any) | undefined;
|
|
18
18
|
onSelect?: ((event: Event) => any) | undefined;
|
|
19
|
-
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
20
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
21
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
21
22
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
22
23
|
onMouseleave?: ((event: MouseEvent) => any) | undefined;
|
|
23
24
|
onMouseover?: ((event: MouseEvent) => any) | undefined;
|
|
24
25
|
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
25
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
26
|
onComplete?: ((value: string) => any) | undefined;
|
|
27
27
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -17,30 +17,30 @@ declare const __VLS_base: import("vue").DefineComponent<InputOtpRootProps, {
|
|
|
17
17
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
input: (value: string) => any;
|
|
19
19
|
select: (event: Event) => any;
|
|
20
|
-
|
|
20
|
+
"update:modelValue": (value: string) => any;
|
|
21
21
|
blur: (event: FocusEvent) => any;
|
|
22
|
+
change: (event: Event) => any;
|
|
22
23
|
focus: (event: FocusEvent) => any;
|
|
23
24
|
mouseleave: (event: MouseEvent) => any;
|
|
24
25
|
mouseover: (event: MouseEvent) => any;
|
|
25
26
|
paste: (event: ClipboardEvent) => any;
|
|
26
|
-
"update:modelValue": (value: string) => any;
|
|
27
27
|
complete: (value: string) => any;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<InputOtpRootProps> & Readonly<{
|
|
29
29
|
onInput?: ((value: string) => any) | undefined;
|
|
30
30
|
onSelect?: ((event: Event) => any) | undefined;
|
|
31
|
-
|
|
31
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
33
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
33
34
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
34
35
|
onMouseleave?: ((event: MouseEvent) => any) | undefined;
|
|
35
36
|
onMouseover?: ((event: MouseEvent) => any) | undefined;
|
|
36
37
|
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
37
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
38
38
|
onComplete?: ((value: string) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
autocomplete: string;
|
|
41
41
|
inputmode: InputOtpInputMode;
|
|
42
|
-
defaultValue: string;
|
|
43
42
|
modelValue: string;
|
|
43
|
+
defaultValue: string;
|
|
44
44
|
pushPasswordManagerStrategy: InputOtpPushPasswordManagerStrategy;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -18,6 +18,7 @@ declare const __VLS_base: import("vue").DefineComponent<LayoutRootProps, {}, {},
|
|
|
18
18
|
defaultOpen: boolean;
|
|
19
19
|
side: LayoutSide;
|
|
20
20
|
variant: LayoutVariant;
|
|
21
|
+
pxToRem: (px: number) => number;
|
|
21
22
|
sidebarVisible: boolean;
|
|
22
23
|
sidebarWidth: number;
|
|
23
24
|
collapsedSidebarWidth: number;
|
|
@@ -29,7 +30,6 @@ declare const __VLS_base: import("vue").DefineComponent<LayoutRootProps, {}, {},
|
|
|
29
30
|
tabHeight: number;
|
|
30
31
|
footerVisible: boolean;
|
|
31
32
|
footerHeight: number;
|
|
32
|
-
pxToRem: (px: number) => number;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{useListboxRootContext as n}from"./context.js";import r from"../input/input-control.js";import i from"../input/input-root.js";import"../input/index.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,mergeProps as l,onMounted as u,onUnmounted as d,openBlock as f,renderSlot as p,shallowRef as m,unref as h,watchSyncEffect as g,withCtx as _,withKeys as v,withModifiers as y}from"vue";const b=c({name:`ListboxFilter`,__name:`listbox-filter`,props:{inputRef:{type:Function},controlProps:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},readonly:{type:Boolean},rootProps:{},name:{},required:{type:Boolean},id:{},autofocus:{type:Boolean},autocomplete:{},maxlength:{},minlength:{},pattern:{},placeholder:{},type:{}},emits:[`update:modelValue`],setup(c,{emit:b}){let x=c,S=b,C=t(x,[`inputRef`,`controlProps`]),{disabled:w,focusable:T,highlightedElement:E,highlightFirstItem:D,onKeydownNavigation:O,onKeydownEnter:k}=n(`ListboxFilter`),[A,j]=e(e=>x.inputRef?.(e)),M=a(()=>x.disabled||w.value||!1),N=m(),P=()=>{D()};return g(()=>{N.value=E.value?.id}),u(()=>{T.value=!1,setTimeout(()=>{x.autofocus&&A.value?.focus()},1)}),d(()=>{T.value=!0}),(e,t)=>(f(),o(h(i),l({"data-soybean-listbox-filter":``},h(C),{"onUpdate:modelValue":t[0]||(t[0]=e=>S(`update:modelValue`,e))}),{default:_(({clear:t})=>[p(e.$slots,`leading`,{clear:t}),s(h(r),l(c.controlProps,{ref:h(j),"aria-activedescendant":N.value,disabled:M.value,type:`text`,onKeydown:
|
|
1
|
+
import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{useListboxRootContext as n}from"./context.js";import r from"../input/input-control.js";import i from"../input/input-root.js";import"../input/index.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,mergeProps as l,onMounted as u,onUnmounted as d,openBlock as f,renderSlot as p,shallowRef as m,unref as h,watchSyncEffect as g,withCtx as _,withKeys as v,withModifiers as y}from"vue";const b=c({name:`ListboxFilter`,__name:`listbox-filter`,props:{inputRef:{type:Function},controlProps:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},readonly:{type:Boolean},rootProps:{},name:{},required:{type:Boolean},id:{},autofocus:{type:Boolean},autocomplete:{},maxlength:{},minlength:{},pattern:{},placeholder:{},type:{}},emits:[`update:modelValue`],setup(c,{emit:b}){let x=c,S=b,C=t(x,[`inputRef`,`controlProps`]),{disabled:w,focusable:T,highlightedElement:E,highlightFirstItem:D,onKeydownNavigation:O,onKeydownEnter:k}=n(`ListboxFilter`),[A,j]=e(e=>x.inputRef?.(e)),M=a(()=>x.disabled||w.value||!1),N=m(),P=()=>{D()},F=e=>{if(e.key===`Enter`){k(e);return}O(e)};return g(()=>{N.value=E.value?.id}),u(()=>{T.value=!1,setTimeout(()=>{x.autofocus&&A.value?.focus()},1)}),d(()=>{T.value=!0}),(e,t)=>(f(),o(h(i),l({"data-soybean-listbox-filter":``},h(C),{"onUpdate:modelValue":t[0]||(t[0]=e=>S(`update:modelValue`,e))}),{default:_(({clear:t})=>[p(e.$slots,`leading`,{clear:t}),s(h(r),l(c.controlProps,{ref:h(j),"aria-activedescendant":N.value,disabled:M.value,type:`text`,onKeydown:v(y(F,[`prevent`]),[`enter`,`down`,`up`,`home`,`end`]),onInput:P}),null,16,[`aria-activedescendant`,`disabled`,`onKeydown`]),p(e.$slots,`trailing`,{clear:t})]),_:3},16))}});export{b as default};
|
|
@@ -3,13 +3,13 @@ import { ListboxFilterProps } from "./types.js";
|
|
|
3
3
|
//#region src/components/listbox/listbox-filter.vue.d.ts
|
|
4
4
|
declare var __VLS_10: {
|
|
5
5
|
clear: () => void;
|
|
6
|
-
},
|
|
6
|
+
}, __VLS_19: {
|
|
7
7
|
clear: () => void;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
leading?: (props: typeof __VLS_10) => any;
|
|
11
11
|
} & {
|
|
12
|
-
trailing?: (props: typeof
|
|
12
|
+
trailing?: (props: typeof __VLS_19) => any;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: import("vue").DefineComponent<ListboxFilterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
@@ -2,9 +2,9 @@ import { SelectEvent } from "../../types/event.js";
|
|
|
2
2
|
import { ListboxItemProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-item.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<ListboxItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
select: (event: SelectEvent<string>) => any;
|
|
@@ -2,11 +2,11 @@ import { CheckedState } from "../../types/common.js";
|
|
|
2
2
|
import { MenuCheckboxItemProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-checkbox-item.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {
|
|
6
6
|
modelValue: CheckedState;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
select: (event: Event) => any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MenuItemProps } from "./types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/menu/menu-item.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<MenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
select: (event: Event) => any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MenuRadioItemProps } from "./types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/menu/menu-radio-item.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_10: {
|
|
5
5
|
modelValue: boolean;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
8
|
+
default?: (props: typeof __VLS_10) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
select: (event: Event) => any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { MenuSubContentProps } from "./types.js";
|
|
3
3
|
//#region src/components/menu/menu-sub-content.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<MenuSubContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MenuSubTriggerProps } from "./types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/menu/menu-sub-trigger.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_16: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_16) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -6,8 +6,8 @@ import { MenubarCompactProps, MenubarCompactSlots } from "./types.js";
|
|
|
6
6
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__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<{
|
|
7
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<MenubarCompactProps<T> & {
|
|
8
8
|
onSelect?: ((item: MenuOptionData<T>, event: Event) => any) | undefined;
|
|
9
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
10
9
|
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
10
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
12
12
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
13
13
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
21
21
|
expose: (exposed: {}) => void;
|
|
22
22
|
attrs: any;
|
|
23
23
|
slots: MenubarCompactSlots<T>;
|
|
24
|
-
emit: ((evt: "select", item: MenuOptionData<T>, event: Event) => void) & ((evt: "update:
|
|
24
|
+
emit: ((evt: "select", item: MenuOptionData<T>, event: Event) => void) & ((evt: "update:modelValue", value: T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
25
25
|
}>) => import("vue").VNode & {
|
|
26
26
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
27
|
};
|
|
@@ -2,9 +2,9 @@ import { Align } from "../../types/common.js";
|
|
|
2
2
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
3
3
|
import { MenubarContentProps } from "./types.js";
|
|
4
4
|
//#region src/components/menubar/menubar-content.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<MenubarContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: DefinedValue) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
modelValue: DefinedValue;
|
|
17
16
|
loop: boolean;
|
|
17
|
+
modelValue: DefinedValue;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MenubarTriggerProps } from "./types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/menubar/menubar-trigger.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_22: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_22) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<MenubarTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MenubarTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { NavigationMenuContentProps } from "./types.js";
|
|
3
3
|
//#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_16: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_16) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -13,9 +13,9 @@ declare const __VLS_base: import("vue").DefineComponent<NavigationMenuRootProps,
|
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
orientation: DataOrientation;
|
|
16
|
+
unmountOnHide: boolean;
|
|
16
17
|
delayDuration: number;
|
|
17
18
|
skipDelayDuration: number;
|
|
18
|
-
unmountOnHide: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,9 +2,9 @@ import { AsTag } from "../primitive/types.js";
|
|
|
2
2
|
import { NavigationMenuTriggerProps } from "./types.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-trigger.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_9: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_9) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
|
|
10
10
|
as: AsTag | import("vue").Component;
|
|
@@ -4,9 +4,9 @@ import { PageTabsCompactEmits, PageTabsCompactProps, PageTabsCompactSlots, PageT
|
|
|
4
4
|
declare const __VLS_export: <T extends PageTabsOptionData = PageTabsOptionData>(__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<{
|
|
5
5
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<PageTabsCompactProps<T> & {
|
|
6
6
|
onContextmenu?: ((tab: T) => any) | undefined;
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
8
|
onClick?: ((tab: T) => any) | undefined;
|
|
8
9
|
onClose?: ((tab: T) => any) | undefined;
|
|
9
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
onPin?: ((tab: T) => any) | undefined;
|
|
11
11
|
"onUpdate:items"?: ((items: T[]) => any) | undefined;
|
|
12
12
|
onSelectContextMenu?: ((menu: PageTabsContextMenuOptionData, tab: T) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import t from"../roving-focus/roving-focus-item.js";import{providePageTabsItemContext as n,usePageTabsRootContext as r,usePageTabsUi as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f,withKeys as p}from"vue";const m=s({name:`PageTabsItem`,__name:`page-tabs-item`,props:{value:{},pinned:{type:Boolean}},emits:[`click`,`close`,`pin`],setup(s,{emit:m}){let h=s,g=m,_=i(`item`),{middleClickClose:v,modelValue:y}=r(`PageTabsItem`),b=a(()=>h.value===y.value),x=a(()=>!h.pinned),S=()=>{b.value||(y.value=h.value,g(`click`))},C=async()=>{x.value&&g(`close`)},w=e=>{e.button===1&&v.value&&(e.preventDefault(),C())},
|
|
1
|
+
import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import t from"../roving-focus/roving-focus-item.js";import{providePageTabsItemContext as n,usePageTabsRootContext as r,usePageTabsUi as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f,withKeys as p}from"vue";const m=s({name:`PageTabsItem`,__name:`page-tabs-item`,props:{value:{},pinned:{type:Boolean}},emits:[`click`,`close`,`pin`],setup(s,{emit:m}){let h=s,g=m,_=i(`item`),{middleClickClose:v,modelValue:y}=r(`PageTabsItem`),b=a(()=>h.value===y.value),x=a(()=>!h.pinned),S=()=>{b.value||(y.value=h.value,g(`click`))},C=async()=>{x.value&&g(`close`)},w=e=>{if(e.key===`Enter`){S();return}e.key===`Backspace`&&C()},T=e=>{e.button===1&&v.value&&(e.preventDefault(),C())},E=()=>{g(`pin`,!h.pinned)};return n({...e(h,[`pinned`]),closable:x,onClose:C,onPin:E}),(e,n)=>(l(),o(t,{class:c(d(_)),"data-soybean-page-tabs-item":``,"data-value":s.value,"data-active":b.value,"data-pinned":s.pinned,active:b.value,focusable:!0,onClick:S,onMousedown:T,onKeydown:p(w,[`enter`,`backspace`])},{default:f(()=>[u(e.$slots,`default`)]),_:3},8,[`class`,`data-value`,`data-active`,`data-pinned`,`active`]))}});export{m as default};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PageTabsItemProps } from "./types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/page-tabs/page-tabs-item.vue.d.ts
|
|
4
|
-
declare var
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<PageTabsItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
9
|
click: () => any;
|