@soybeanjs/headless 0.29.2 → 0.29.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/anchor/anchor-root.vue.d.ts +1 -1
- package/dist/components/calendar-range/calendar-range-root.vue.d.ts +5 -5
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/color-area/color-area-root.vue.d.ts +1 -1
- package/dist/components/color-field/color-field-root.vue.d.ts +1 -1
- package/dist/components/color-picker/color-picker-root.vue.d.ts +1 -1
- package/dist/components/color-slider/color-slider-root.vue.d.ts +2 -2
- 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/command/command-compact.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 +4 -4
- 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 +4 -4
- package/dist/components/dialog/dialog-compact.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/input-otp/input-otp-root.vue.d.ts +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +5 -5
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-root.vue.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs-root.vue.d.ts +1 -1
- package/dist/components/slider/slider-root.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 +1 -1
- package/dist/components/stepper/stepper-root.vue.d.ts +1 -1
- package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/components/tags-input/tags-input-root.vue.d.ts +1 -1
- 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-menu/tree-menu-root.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,8 +22,8 @@ declare const __VLS_base: import("vue").DefineComponent<AnchorRootProps, {}, {},
|
|
|
22
22
|
}>, {
|
|
23
23
|
orientation: DataOrientation;
|
|
24
24
|
modelValue: string;
|
|
25
|
-
bounds: number;
|
|
26
25
|
offsetTop: number;
|
|
26
|
+
bounds: number;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,23 +11,23 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarRangeRootProps,
|
|
|
11
11
|
"onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
|
|
12
12
|
"onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
disabled: boolean;
|
|
15
14
|
placeholder: DateValue;
|
|
15
|
+
disabled: boolean;
|
|
16
16
|
defaultValue: DateRange;
|
|
17
17
|
defaultPlaceholder: DateValue;
|
|
18
|
-
|
|
18
|
+
readonly: boolean;
|
|
19
19
|
pagedNavigation: boolean;
|
|
20
20
|
preventDeselect: boolean;
|
|
21
|
-
maximumDays: number;
|
|
22
21
|
weekdayFormat: WeekDayFormat;
|
|
23
22
|
fixedWeeks: boolean;
|
|
24
23
|
numberOfMonths: number;
|
|
25
|
-
readonly: boolean;
|
|
26
24
|
initialFocus: boolean;
|
|
27
25
|
isDateDisabled: DateMatcher;
|
|
28
26
|
isDateUnavailable: DateMatcher;
|
|
29
|
-
isDateHighlightable: DateMatcher;
|
|
30
27
|
disableDaysOutsideCurrentView: boolean;
|
|
28
|
+
allowNonContiguousRanges: boolean;
|
|
29
|
+
maximumDays: number;
|
|
30
|
+
isDateHighlightable: DateMatcher;
|
|
31
31
|
fixedDate: "start" | "end";
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<CollapsibleRootProps, {
|
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
open: boolean;
|
|
18
17
|
unmountOnHide: boolean;
|
|
18
|
+
open: boolean;
|
|
19
19
|
defaultOpen: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -19,8 +19,8 @@ declare const __VLS_base: import("vue").DefineComponent<ColorAreaRootProps, {},
|
|
|
19
19
|
}>, {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
format: ColorFormat;
|
|
22
|
-
defaultValue: string | ColorValue;
|
|
23
22
|
modelValue: string | ColorValue;
|
|
23
|
+
defaultValue: string | ColorValue;
|
|
24
24
|
colorSpace: ColorSpace;
|
|
25
25
|
xChannel: ColorAreaAxisChannel;
|
|
26
26
|
yChannel: ColorAreaAxisChannel;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<ColorFieldRootProps, {},
|
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
format: ColorFormat;
|
|
18
18
|
step: number;
|
|
19
|
-
defaultValue: string | ColorValue;
|
|
20
19
|
modelValue: string | ColorValue;
|
|
20
|
+
defaultValue: string | ColorValue;
|
|
21
21
|
readonly: boolean;
|
|
22
22
|
colorSpace: ColorSpace;
|
|
23
23
|
disableWheelChange: boolean;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerRootProps, {}
|
|
|
33
33
|
}>, {
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
format: ColorFormat;
|
|
36
|
-
defaultValue: string | ColorValue;
|
|
37
36
|
modelValue: string | ColorValue;
|
|
37
|
+
defaultValue: string | ColorValue;
|
|
38
38
|
defaultFormat: ColorFormat;
|
|
39
39
|
colorSpace: ColorSpace;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -21,10 +21,10 @@ declare const __VLS_base: import("vue").DefineComponent<ColorSliderRootProps, {}
|
|
|
21
21
|
format: ColorFormat;
|
|
22
22
|
orientation: DataOrientation;
|
|
23
23
|
step: number;
|
|
24
|
-
defaultValue: string | ColorValue;
|
|
25
24
|
modelValue: string | ColorValue;
|
|
26
|
-
|
|
25
|
+
defaultValue: string | ColorValue;
|
|
27
26
|
colorSpace: ColorSpace;
|
|
27
|
+
inverted: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
7
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<ColorSwatchPickerCompactProps<M> & {
|
|
8
8
|
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
10
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
11
10
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
12
12
|
onLeave?: ((event: Event) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
16
16
|
expose: (exposed: {}) => void;
|
|
17
17
|
attrs: any;
|
|
18
18
|
slots: ColorSwatchPickerCompactSlots<M>;
|
|
19
|
-
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
19
|
+
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((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);
|
|
20
20
|
}>) => import("vue").VNode & {
|
|
21
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
22
|
};
|
|
@@ -6,8 +6,8 @@ import { ColorSwatchPickerRootProps } from "./types.js";
|
|
|
6
6
|
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<{
|
|
7
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<ColorSwatchPickerRootProps<M> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
9
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
10
9
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
10
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
11
11
|
onLeave?: ((event: Event) => any) | undefined;
|
|
12
12
|
}> & (typeof globalThis extends {
|
|
13
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
19
19
|
modelValue: ((M extends true ? string[] : string) | undefined) & Exclude<M extends true ? string[] : string, undefined>;
|
|
20
20
|
}) => any;
|
|
21
21
|
};
|
|
22
|
-
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
22
|
+
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);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
24
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
25
|
};
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: <T extends CommandSingleOptionData = CommandSingleOp
|
|
|
7
7
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<CommandCompactProps<T> & {
|
|
8
8
|
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
11
10
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
12
12
|
onLeave?: ((event: Event) => any) | undefined;
|
|
13
13
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
14
14
|
}> & (typeof globalThis extends {
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends CommandSingleOptionData = CommandSingleOp
|
|
|
17
17
|
expose: (exposed: {}) => void;
|
|
18
18
|
attrs: any;
|
|
19
19
|
slots: CommandCompactSlots<T>;
|
|
20
|
-
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "
|
|
20
|
+
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
21
21
|
}>) => import("vue").VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
@@ -10,15 +10,15 @@ declare const __VLS_base: import("vue").DefineComponent<DateFieldRootProps, {},
|
|
|
10
10
|
"onUpdate:modelValue"?: ((value: import("@internationalized/date").DateValue | undefined) => any) | undefined;
|
|
11
11
|
"onUpdate:placeholder"?: ((value: import("@internationalized/date").DateValue) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
placeholder: import("@internationalized/date").DateValue;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
step: DateStep;
|
|
16
16
|
defaultValue: import("@internationalized/date").DateValue;
|
|
17
17
|
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
18
18
|
readonly: boolean;
|
|
19
19
|
isDateUnavailable: DateMatcher;
|
|
20
|
-
granularity: Granularity;
|
|
21
20
|
hourCycle: 12 | 24;
|
|
21
|
+
granularity: Granularity;
|
|
22
22
|
hideTimeZone: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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:{},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};
|
|
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:{type:Boolean},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};
|
|
@@ -250,21 +250,21 @@ declare var __VLS_25: {
|
|
|
250
250
|
}> & {
|
|
251
251
|
readonly open: boolean | undefined;
|
|
252
252
|
} & {
|
|
253
|
-
readonly disabled: boolean;
|
|
254
253
|
readonly inlist: boolean;
|
|
254
|
+
readonly disabled: boolean;
|
|
255
255
|
readonly asChild: boolean;
|
|
256
256
|
readonly open: boolean | undefined;
|
|
257
257
|
readonly showArrow: boolean;
|
|
258
258
|
readonly defaultOpen: boolean;
|
|
259
259
|
readonly modal: boolean;
|
|
260
|
+
readonly multiple: boolean;
|
|
261
|
+
readonly readonly: boolean;
|
|
260
262
|
readonly pagedNavigation: boolean;
|
|
261
263
|
readonly preventDeselect: boolean;
|
|
262
264
|
readonly fixedWeeks: boolean;
|
|
263
|
-
readonly readonly: boolean;
|
|
264
265
|
readonly initialFocus: boolean;
|
|
265
266
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
266
|
-
|
|
267
|
-
}, "positionerProps" | "open" | "triggerProps" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
267
|
+
}, "positionerProps" | "triggerProps" | "open" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
268
268
|
onUpdateModelValue: (value: DateValue | undefined) => void;
|
|
269
269
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
270
270
|
};
|
|
@@ -13,15 +13,15 @@ declare const __VLS_base: import("vue").DefineComponent<DateRangeFieldRootProps,
|
|
|
13
13
|
"onUpdate:startValue"?: ((date: import("@internationalized/date").DateValue | undefined) => any) | undefined;
|
|
14
14
|
"onUpdate:endValue"?: ((date: import("@internationalized/date").DateValue | undefined) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
disabled: boolean;
|
|
17
16
|
placeholder: import("@internationalized/date").DateValue;
|
|
17
|
+
disabled: boolean;
|
|
18
18
|
step: DateStep;
|
|
19
19
|
defaultValue: DateRange;
|
|
20
20
|
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
21
21
|
readonly: boolean;
|
|
22
22
|
isDateUnavailable: DateMatcher;
|
|
23
|
-
granularity: Granularity;
|
|
24
23
|
hourCycle: 12 | 24;
|
|
24
|
+
granularity: Granularity;
|
|
25
25
|
hideTimeZone: boolean;
|
|
26
26
|
startName: string;
|
|
27
27
|
endName: string;
|
|
@@ -253,21 +253,21 @@ declare var __VLS_25: {
|
|
|
253
253
|
}> & {
|
|
254
254
|
readonly open: boolean | undefined;
|
|
255
255
|
} & {
|
|
256
|
-
readonly disabled: boolean;
|
|
257
256
|
readonly inlist: boolean;
|
|
257
|
+
readonly disabled: boolean;
|
|
258
258
|
readonly asChild: boolean;
|
|
259
259
|
readonly open: boolean | undefined;
|
|
260
260
|
readonly showArrow: boolean;
|
|
261
261
|
readonly defaultOpen: boolean;
|
|
262
262
|
readonly modal: boolean;
|
|
263
|
-
readonly
|
|
263
|
+
readonly readonly: boolean;
|
|
264
264
|
readonly pagedNavigation: boolean;
|
|
265
265
|
readonly preventDeselect: boolean;
|
|
266
266
|
readonly fixedWeeks: boolean;
|
|
267
|
-
readonly readonly: boolean;
|
|
268
267
|
readonly initialFocus: boolean;
|
|
269
268
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
270
|
-
|
|
269
|
+
readonly allowNonContiguousRanges: boolean;
|
|
270
|
+
}, "positionerProps" | "triggerProps" | "open" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
271
271
|
onUpdateModelValue: (value: DateRange) => void;
|
|
272
272
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
273
273
|
};
|
|
@@ -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;
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<DropdownMenuRootProps, {
|
|
|
15
15
|
delayDuration: number;
|
|
16
16
|
skipDelayDuration: number;
|
|
17
17
|
open: boolean;
|
|
18
|
-
modal: boolean;
|
|
19
18
|
trigger: DropdownMenuTriggerType;
|
|
19
|
+
modal: boolean;
|
|
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;
|
|
@@ -39,8 +39,8 @@ declare const __VLS_base: import("vue").DefineComponent<InputOtpRootProps, {
|
|
|
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,18 +18,18 @@ 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;
|
|
22
|
-
sidebarVisible: boolean;
|
|
23
21
|
sidebarWidth: number;
|
|
24
22
|
collapsedSidebarWidth: number;
|
|
25
23
|
isMobile: boolean;
|
|
26
|
-
|
|
24
|
+
sidebarVisible: boolean;
|
|
27
25
|
headerVisible: boolean;
|
|
28
|
-
headerHeight: number;
|
|
29
26
|
tabVisible: boolean;
|
|
30
|
-
tabHeight: number;
|
|
31
27
|
footerVisible: boolean;
|
|
28
|
+
mobileSidebarWidth: number;
|
|
29
|
+
headerHeight: number;
|
|
30
|
+
tabHeight: number;
|
|
32
31
|
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;
|
|
@@ -11,6 +11,7 @@ type Slots = {
|
|
|
11
11
|
type __VLS_Slots = Slots;
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
|
+
as: AsTag | import("vue").Component;
|
|
14
15
|
replace: boolean;
|
|
15
16
|
external: boolean;
|
|
16
17
|
viewTransition: boolean;
|
|
@@ -18,7 +19,6 @@ declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {
|
|
|
18
19
|
noRel: boolean;
|
|
19
20
|
prefetch: boolean;
|
|
20
21
|
noPrefetch: boolean;
|
|
21
|
-
as: AsTag | import("vue").Component;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -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
|
};
|
|
@@ -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;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: <T extends PageTabsOptionData = PageTabsOptionData>(
|
|
|
7
7
|
onClick?: ((tab: T) => any) | undefined;
|
|
8
8
|
onClose?: ((tab: T) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
-
onPin?: ((tab: T) => any) | undefined;
|
|
11
10
|
"onUpdate:items"?: ((items: T[]) => any) | undefined;
|
|
11
|
+
onPin?: ((tab: T) => any) | undefined;
|
|
12
12
|
onSelectContextMenu?: ((menu: PageTabsContextMenuOptionData, tab: T) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -10,8 +10,8 @@ declare const __VLS_base: import("vue").DefineComponent<PageTabsRootProps, {}, {
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<PageTabsRootProps> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
modelValue: string;
|
|
14
13
|
loop: boolean;
|
|
14
|
+
modelValue: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,14 +14,14 @@ declare const __VLS_base: import("vue").DefineComponent<SliderRootProps, {}, {},
|
|
|
14
14
|
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
15
15
|
onValueCommit?: ((value: number[]) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
disabled: boolean;
|
|
18
17
|
dir: Direction;
|
|
18
|
+
disabled: boolean;
|
|
19
19
|
max: number;
|
|
20
20
|
min: number;
|
|
21
21
|
orientation: DataOrientation;
|
|
22
22
|
step: number;
|
|
23
|
-
defaultValue: number[];
|
|
24
23
|
modelValue: number[];
|
|
24
|
+
defaultValue: number[];
|
|
25
25
|
inverted: boolean;
|
|
26
26
|
minStepsBetweenThumbs: number;
|
|
27
27
|
thumbAlignment: SliderThumbAlignment;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<SplitterGroupProps, {},
|
|
|
14
14
|
}>, {
|
|
15
15
|
dir: Direction;
|
|
16
16
|
direction: DataOrientation;
|
|
17
|
-
defaultLayout: number[];
|
|
18
17
|
keyboardResizeBy: number;
|
|
18
|
+
defaultLayout: number[];
|
|
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;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<SplitterResizeHandleProp
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<SplitterResizeHandleProps> & Readonly<{
|
|
14
14
|
onDragging?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
disabled: boolean;
|
|
17
16
|
tabindex: number;
|
|
17
|
+
disabled: boolean;
|
|
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;
|
|
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<StepperRootProps, {
|
|
|
37
37
|
"onUpdate:modelValue"?: ((payload: number) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
39
|
orientation: DataOrientation;
|
|
40
|
-
defaultValue: number;
|
|
41
40
|
modelValue: number;
|
|
41
|
+
defaultValue: number;
|
|
42
42
|
linear: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
14
14
|
"onUpdate:modelValue"?: ((payload: DefinedValue | null) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
orientation: DataOrientation;
|
|
17
|
-
modelValue: DefinedValue | null;
|
|
18
17
|
loop: boolean;
|
|
18
|
+
modelValue: DefinedValue | null;
|
|
19
19
|
activationMode: TabsActivationMode;
|
|
20
20
|
unmountOnHide: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_base: import("vue").DefineComponent<TagsInputRootProps, {},
|
|
|
20
20
|
onRemoveTag?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
max: number;
|
|
23
|
-
defaultValue: string[];
|
|
24
23
|
modelValue: string[];
|
|
24
|
+
defaultValue: string[];
|
|
25
25
|
delimiter: string | RegExp;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,14 +10,14 @@ declare const __VLS_base: import("vue").DefineComponent<TimeFieldRootProps, {},
|
|
|
10
10
|
"onUpdate:modelValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
11
11
|
"onUpdate:placeholder"?: ((time: TimeValue) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
placeholder: TimeValue;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
step: DateStep;
|
|
16
16
|
defaultValue: TimeValue;
|
|
17
17
|
defaultPlaceholder: TimeValue;
|
|
18
18
|
readonly: boolean;
|
|
19
|
-
granularity: TimeGranularity;
|
|
20
19
|
hourCycle: 12 | 24;
|
|
20
|
+
granularity: TimeGranularity;
|
|
21
21
|
hideTimeZone: boolean;
|
|
22
22
|
isTimeUnavailable: TimeMatcher;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -14,18 +14,18 @@ declare const __VLS_base: import("vue").DefineComponent<TimeRangeFieldRootProps,
|
|
|
14
14
|
"onUpdate:startValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
15
15
|
"onUpdate:endValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
disabled: boolean;
|
|
18
17
|
placeholder: TimeValue;
|
|
18
|
+
disabled: boolean;
|
|
19
19
|
step: DateStep;
|
|
20
20
|
defaultValue: TimeRange;
|
|
21
21
|
defaultPlaceholder: TimeValue;
|
|
22
22
|
readonly: boolean;
|
|
23
|
-
granularity: TimeGranularity;
|
|
24
23
|
hourCycle: 12 | 24;
|
|
24
|
+
granularity: TimeGranularity;
|
|
25
25
|
hideTimeZone: boolean;
|
|
26
|
-
isTimeUnavailable: TimeMatcher;
|
|
27
26
|
startName: string;
|
|
28
27
|
endName: string;
|
|
28
|
+
isTimeUnavailable: TimeMatcher;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
@@ -9,10 +9,10 @@ declare const __VLS_base: import("vue").DefineComponent<ToasterProps, {}, {}, {}
|
|
|
9
9
|
offset: ToastOffset;
|
|
10
10
|
duration: number;
|
|
11
11
|
gap: number;
|
|
12
|
-
hotkey: string[];
|
|
13
|
-
containerAriaLabel: string;
|
|
14
12
|
position: ToastPosition;
|
|
15
13
|
visibleCounts: number;
|
|
14
|
+
hotkey: string[];
|
|
15
|
+
containerAriaLabel: string;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<ToggleProps, {}, {}, {},
|
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<ToggleProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
defaultValue: boolean;
|
|
19
18
|
modelValue: boolean;
|
|
19
|
+
defaultValue: boolean;
|
|
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;
|
|
@@ -18,9 +18,9 @@ declare const __VLS_base: import("vue").DefineComponent<TreeMenuRootProps, {}, {
|
|
|
18
18
|
defaultExpanded: string[];
|
|
19
19
|
collapsed: boolean;
|
|
20
20
|
indent: number;
|
|
21
|
+
pxToRem: (px: number) => number;
|
|
21
22
|
defaultCollapsed: boolean;
|
|
22
23
|
collapsedWidth: number;
|
|
23
|
-
pxToRem: (px: number) => number;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/headless",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.3",
|
|
4
4
|
"description": "SoybeanHeadless is a collection unstyled components for Vue 3. It is designed to be lightweight and easy to use.",
|
|
5
5
|
"homepage": "https://github.com/soybeanjs/soybean-ui",
|
|
6
6
|
"bugs": {
|