@soybeanjs/headless 0.28.2 → 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/alert/alert-compact.vue.d.ts +2 -2
- 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/backtop/backtop.vue.d.ts +2 -2
- 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 +4 -4
- package/dist/components/calendar/calendar-root.js +1 -1
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/clipboard/clipboard.vue.d.ts +4 -4
- 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/color-swatch-picker/color-swatch-picker-compact.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
- 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/command/command-compact.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.js +1 -1
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +5 -5
- 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 +5 -5
- package/dist/components/dialog/dialog-compact.vue.d.ts +5 -5
- 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/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/listbox/listbox-root.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/popconfirm/popconfirm-compact.vue.d.ts +2 -2
- package/dist/components/popover/popover-positioner.vue.d.ts +2 -2
- 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-panel.vue.d.ts +2 -2
- 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 +3 -3
- 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-compact.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +1 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useOmitProps as t,usePickProps as n}from"../../composables/use-props.js";import"../../composables/index.js";import r from"../_icon/icon.js";import i from"../popover/popover-compact.js";import a from"../date-field/date-field-compact.js";import{computed as o,createBlock as s,createVNode as c,defineComponent as l,mergeProps as u,openBlock as d,renderSlot as f,toHandlers as p,unref as m,withCtx as h}from"vue";const g=l({name:`DatePickerCompact`,__name:`date-picker-compact`,props:{dateFieldProps:{},placement:{},showArrow:{type:Boolean},triggerProps:{},portalProps:{},positionerProps:{},popupProps:{},arrowProps:{},closeProps:{},disabled:{type:Boolean},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean},headerProps:{},headingProps:{},prevProps:{},nextProps:{},gridProps:{},gridHeadProps:{},gridBodyProps:{},gridRowProps:{},headCellProps:{},cellProps:{},cellTriggerProps:{},locale:{},modelValue:{},defaultValue:{},multiple:{
|
|
1
|
+
import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useOmitProps as t,usePickProps as n}from"../../composables/use-props.js";import"../../composables/index.js";import r from"../_icon/icon.js";import i from"../popover/popover-compact.js";import a from"../date-field/date-field-compact.js";import{computed as o,createBlock as s,createVNode as c,defineComponent as l,mergeProps as u,openBlock as d,renderSlot as f,toHandlers as p,unref as m,withCtx as h}from"vue";const g=l({name:`DatePickerCompact`,__name:`date-picker-compact`,props:{dateFieldProps:{},placement:{},showArrow:{type:Boolean},triggerProps:{},portalProps:{},positionerProps:{},popupProps:{},arrowProps:{},closeProps:{},disabled:{type:Boolean},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean},headerProps:{},headingProps:{},prevProps:{},nextProps:{},gridProps:{},gridHeadProps:{},gridBodyProps:{},gridRowProps:{},headCellProps:{},cellProps:{},cellTriggerProps:{},locale:{},modelValue:{},defaultValue:{},multiple:{},placeholder:{},defaultPlaceholder:{},readonly:{type:Boolean},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},numberOfMonths:{},initialFocus:{type:Boolean},isDateDisabled:{},isDateUnavailable:{},nextPage:{},prevPage:{},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`update:modelValue`,`update:placeholder`],setup(l,{emit:g}){let _=l,v=g,y=e(v),b=n(_,[`open`,`defaultOpen`,`modal`,`disabled`,`placement`,`showArrow`,`portalProps`,`positionerProps`,`popupProps`,`arrowProps`,`closeProps`]),x=n(_,[`dir`,`locale`,`modelValue`,`defaultValue`,`placeholder`,`defaultPlaceholder`,`disabled`,`readonly`,`maxValue`,`minValue`,`isDateUnavailable`],o(()=>({..._.dateFieldProps}))),S=o(()=>({..._.triggerProps,asChild:_.triggerProps?.asChild??!1})),C=t(_,[`open`,`defaultOpen`,`modal`,`placement`,`showArrow`,`triggerProps`,`portalProps`,`positionerProps`,`popupProps`,`arrowProps`,`closeProps`]),w=e=>{v(`update:modelValue`,e)},T=e=>{v(`update:placeholder`,e)};return(e,t)=>(d(),s(a,u(m(x),{"data-soybean-date-picker":``,"onUpdate:modelValue":t[0]||(t[0]=e=>v(`update:modelValue`,e)),"onUpdate:placeholder":t[1]||(t[1]=e=>v(`update:placeholder`,e))}),{trailing:h(()=>[c(i,u(m(b),{"trigger-props":S.value},p(m(y))),{trigger:h(()=>[c(r,{icon:`lucide:calendar`})]),default:h(({open:t,close:n})=>[f(e.$slots,`default`,{open:t,close:n,calendarProps:m(C),onUpdateModelValue:w,onUpdatePlaceholder:T})]),_:3},16,[`trigger-props`])]),_:3},16))}});export{g as default};
|
|
@@ -9,7 +9,7 @@ import { CalendarCellProps, CalendarCellTriggerProps, CalendarGridBodyProps, Cal
|
|
|
9
9
|
import { PopoverCloseProps, PopoverPopupProps, PopoverPositionerProps, PopoverTriggerProps } from "../popover/types.js";
|
|
10
10
|
import { DatePickerCompactProps } from "./types.js";
|
|
11
11
|
//#region src/components/date-picker/date-picker-compact.vue.d.ts
|
|
12
|
-
declare var
|
|
12
|
+
declare var __VLS_24: {
|
|
13
13
|
open: boolean;
|
|
14
14
|
close: () => void;
|
|
15
15
|
calendarProps: Omit<Readonly<{
|
|
@@ -264,16 +264,16 @@ declare var __VLS_25: {
|
|
|
264
264
|
readonly fixedWeeks: boolean;
|
|
265
265
|
readonly initialFocus: boolean;
|
|
266
266
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
267
|
-
}, "
|
|
267
|
+
}, "triggerProps" | "open" | "positionerProps" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
268
268
|
onUpdateModelValue: (value: DateValue | undefined) => void;
|
|
269
269
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
270
270
|
};
|
|
271
271
|
type __VLS_Slots = {} & {
|
|
272
|
-
default?: (props: typeof
|
|
272
|
+
default?: (props: typeof __VLS_24) => any;
|
|
273
273
|
};
|
|
274
274
|
declare const __VLS_base: import("vue").DefineComponent<DatePickerCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
275
|
-
"update:open": (value: boolean) => any;
|
|
276
275
|
"update:modelValue": (date: DateValue | undefined) => any;
|
|
276
|
+
"update:open": (value: boolean) => any;
|
|
277
277
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
278
278
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
279
279
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -282,8 +282,8 @@ declare const __VLS_base: import("vue").DefineComponent<DatePickerCompactProps,
|
|
|
282
282
|
closeAutoFocus: (event: Event) => any;
|
|
283
283
|
"update:placeholder": (date: DateValue) => any;
|
|
284
284
|
}, string, import("vue").PublicProps, Readonly<DatePickerCompactProps> & Readonly<{
|
|
285
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
286
285
|
"onUpdate:modelValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
286
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
287
287
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
288
288
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
289
289
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -15,13 +15,13 @@ declare const __VLS_base: import("vue").DefineComponent<DateRangeFieldRootProps,
|
|
|
15
15
|
}>, {
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
placeholder: import("@internationalized/date").DateValue;
|
|
18
|
-
step: DateStep;
|
|
19
18
|
defaultValue: DateRange;
|
|
19
|
+
step: DateStep;
|
|
20
20
|
readonly: boolean;
|
|
21
21
|
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
22
22
|
isDateUnavailable: DateMatcher;
|
|
23
|
-
hourCycle: 12 | 24;
|
|
24
23
|
granularity: Granularity;
|
|
24
|
+
hourCycle: 12 | 24;
|
|
25
25
|
hideTimeZone: boolean;
|
|
26
26
|
startName: string;
|
|
27
27
|
endName: string;
|
|
@@ -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<{
|
|
@@ -267,16 +267,16 @@ declare var __VLS_25: {
|
|
|
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,10 +3,10 @@ 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
|
+
cancel: (event: MouseEvent) => any;
|
|
6
7
|
click: (event: PointerEvent) => any;
|
|
7
|
-
"update:open": (value: boolean) => any;
|
|
8
8
|
close: (event: MouseEvent) => any;
|
|
9
|
-
|
|
9
|
+
"update:open": (value: boolean) => any;
|
|
10
10
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
11
11
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
12
12
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -15,10 +15,10 @@ 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
|
+
onCancel?: ((event: MouseEvent) => any) | undefined;
|
|
18
19
|
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
19
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
21
|
-
|
|
21
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
23
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
24
24
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -30,9 +30,9 @@ declare const __VLS_base: import("vue").DefineComponent<DialogCompactProps, {},
|
|
|
30
30
|
open: boolean;
|
|
31
31
|
modal: boolean;
|
|
32
32
|
showClose: boolean;
|
|
33
|
-
alertType: DialogAlertType;
|
|
34
33
|
showCancel: "onlyWarning" | boolean;
|
|
35
34
|
showConfirm: boolean;
|
|
35
|
+
alertType: DialogAlertType;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
@@ -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
|
};
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<DropdownMenuRootProps, {
|
|
|
15
15
|
open: boolean;
|
|
16
16
|
delayDuration: number;
|
|
17
17
|
skipDelayDuration: number;
|
|
18
|
-
trigger: DropdownMenuTriggerType;
|
|
19
18
|
modal: boolean;
|
|
19
|
+
trigger: DropdownMenuTriggerType;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -5,8 +5,8 @@ import { ListboxCollectionItemData, ListboxRootProps } from "./types.js";
|
|
|
5
5
|
declare const __VLS_export: <M extends boolean>(__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
6
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<ListboxRootProps<M> & {
|
|
7
7
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
8
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
9
8
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
9
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
10
10
|
onLeave?: ((event: Event) => any) | undefined;
|
|
11
11
|
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
24
24
|
modelValue: (M extends true ? string[] : string) | undefined;
|
|
25
25
|
}) => any;
|
|
26
26
|
};
|
|
27
|
-
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
27
|
+
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void);
|
|
28
28
|
}>) => import("vue").VNode & {
|
|
29
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
30
|
};
|
|
@@ -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;
|