@soybeanjs/headless 0.29.0-beta.4 → 0.29.0-beta.6
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-root.vue.d.ts +1 -1
- package/dist/components/backtop/backtop.vue.d.ts +2 -2
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-root.vue.d.ts +4 -4
- 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 +1 -1
- package/dist/components/color-picker/color-picker-compact.vue.d.ts +3 -3
- package/dist/components/color-picker/color-picker-root.vue.d.ts +6 -6
- package/dist/components/color-slider/color-slider-compact.vue.d.ts +2 -2
- package/dist/components/color-slider/color-slider-root.vue.d.ts +3 -3
- package/dist/components/combobox/combobox-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 +3 -3
- 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 +3 -3
- package/dist/components/dialog/dialog-compact.vue.d.ts +6 -6
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +2 -2
- package/dist/components/input-otp/input-otp-root.vue.d.ts +3 -3
- package/dist/components/layout/layout-root.vue.d.ts +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- 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-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/popper/popper-positioner.vue.d.ts +5 -5
- package/dist/components/slider/slider-root.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-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/toggle/toggle.vue.d.ts +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/package.json +1 -1
|
@@ -3,11 +3,11 @@ import { AlertCompactProps, AlertCompactSlots } from "./types.js";
|
|
|
3
3
|
//#region src/components/alert/alert-compact.vue.d.ts
|
|
4
4
|
type __VLS_Slots = AlertCompactSlots;
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<AlertCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
close: (event: PointerEvent) => any;
|
|
7
6
|
"update:open": (open: boolean) => any;
|
|
7
|
+
close: (event: PointerEvent) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<AlertCompactProps> & Readonly<{
|
|
9
|
-
onClose?: ((event: PointerEvent) => any) | undefined;
|
|
10
9
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
10
|
+
onClose?: ((event: PointerEvent) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
open: boolean;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<AutocompleteRootProps, {
|
|
|
28
28
|
}>, {
|
|
29
29
|
open: boolean;
|
|
30
30
|
modelValue: string;
|
|
31
|
-
defaultOpen: boolean;
|
|
32
31
|
highlightOnHover: boolean;
|
|
32
|
+
defaultOpen: boolean;
|
|
33
33
|
openOnFocus: boolean;
|
|
34
34
|
openOnClick: boolean;
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -13,11 +13,11 @@ declare const __VLS_base: import("vue").DefineComponent<BacktopProps, {
|
|
|
13
13
|
scrollToTop: typeof scrollToTop;
|
|
14
14
|
updateVisibility: import("@vueuse/shared").Fn;
|
|
15
15
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
change: (visible: boolean) => any;
|
|
17
16
|
click: (event: PointerEvent) => any;
|
|
17
|
+
change: (visible: boolean) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<BacktopProps> & Readonly<{
|
|
19
|
-
onChange?: ((visible: boolean) => any) | undefined;
|
|
20
19
|
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
20
|
+
onChange?: ((visible: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
visibilityHeight: number;
|
|
23
23
|
duration: number;
|
|
@@ -33,9 +33,9 @@ declare const __VLS_base: import("vue").DefineComponent<(DialogRootProps & {
|
|
|
33
33
|
handleOnly?: boolean;
|
|
34
34
|
preventScrollRestoration?: boolean;
|
|
35
35
|
} & WithoutFadeFromProps), {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:open": (value: boolean) => any;
|
|
36
37
|
close: () => any;
|
|
37
38
|
drag: (percentageDragged: number) => any;
|
|
38
|
-
"update:open": (value: boolean) => any;
|
|
39
39
|
release: (open: boolean) => any;
|
|
40
40
|
"update:activeSnapPoint": (val: string | number | null) => any;
|
|
41
41
|
}, string, import("vue").PublicProps, Readonly<(DialogRootProps & {
|
|
@@ -65,9 +65,9 @@ declare const __VLS_base: import("vue").DefineComponent<(DialogRootProps & {
|
|
|
65
65
|
handleOnly?: boolean;
|
|
66
66
|
preventScrollRestoration?: boolean;
|
|
67
67
|
} & WithoutFadeFromProps)> & Readonly<{
|
|
68
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
68
69
|
onClose?: (() => any) | undefined;
|
|
69
70
|
onDrag?: ((percentageDragged: number) => any) | undefined;
|
|
70
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
71
71
|
onRelease?: ((open: boolean) => any) | undefined;
|
|
72
72
|
"onUpdate:activeSnapPoint"?: ((val: string | number | null) => any) | undefined;
|
|
73
73
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -14,20 +14,20 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarRangeRootProps,
|
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
placeholder: DateValue;
|
|
16
16
|
defaultValue: DateRange;
|
|
17
|
-
defaultPlaceholder: DateValue;
|
|
18
17
|
readonly: boolean;
|
|
18
|
+
defaultPlaceholder: DateValue;
|
|
19
|
+
allowNonContiguousRanges: boolean;
|
|
19
20
|
pagedNavigation: boolean;
|
|
20
21
|
preventDeselect: boolean;
|
|
22
|
+
maximumDays: number;
|
|
21
23
|
weekdayFormat: WeekDayFormat;
|
|
22
24
|
fixedWeeks: boolean;
|
|
23
25
|
numberOfMonths: number;
|
|
24
26
|
initialFocus: boolean;
|
|
25
27
|
isDateDisabled: DateMatcher;
|
|
26
28
|
isDateUnavailable: DateMatcher;
|
|
27
|
-
disableDaysOutsideCurrentView: boolean;
|
|
28
|
-
allowNonContiguousRanges: boolean;
|
|
29
|
-
maximumDays: number;
|
|
30
29
|
isDateHighlightable: DateMatcher;
|
|
30
|
+
disableDaysOutsideCurrentView: boolean;
|
|
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>;
|
|
@@ -3,13 +3,13 @@ import { ColorAreaCompactProps } from "./types.js";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/color-area/color-area-compact.vue.d.ts
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<ColorAreaCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
change: (value: string) => any;
|
|
7
6
|
"update:modelValue": (value: string) => any;
|
|
7
|
+
change: (value: string) => any;
|
|
8
8
|
"update:color": (value: NormalizedColor) => any;
|
|
9
9
|
changeEnd: (value: string) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<ColorAreaCompactProps> & Readonly<{
|
|
11
|
-
onChange?: ((value: string) => any) | undefined;
|
|
12
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
+
onChange?: ((value: string) => any) | undefined;
|
|
13
13
|
"onUpdate:color"?: ((value: NormalizedColor) => any) | undefined;
|
|
14
14
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,20 +7,20 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<ColorAreaRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
change: (value: string) => any;
|
|
11
10
|
"update:modelValue": (value: string) => any;
|
|
11
|
+
change: (value: string) => any;
|
|
12
12
|
"update:color": (value: NormalizedColor) => any;
|
|
13
13
|
changeEnd: (value: string) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<ColorAreaRootProps> & Readonly<{
|
|
15
|
-
onChange?: ((value: string) => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
onChange?: ((value: string) => any) | undefined;
|
|
17
17
|
"onUpdate:color"?: ((value: NormalizedColor) => any) | undefined;
|
|
18
18
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
format: ColorFormat;
|
|
22
|
-
modelValue: string | ColorValue;
|
|
23
22
|
defaultValue: string | ColorValue;
|
|
23
|
+
modelValue: 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
|
-
modelValue: string | ColorValue;
|
|
20
19
|
defaultValue: string | ColorValue;
|
|
20
|
+
modelValue: string | ColorValue;
|
|
21
21
|
readonly: boolean;
|
|
22
22
|
colorSpace: ColorSpace;
|
|
23
23
|
disableWheelChange: boolean;
|
|
@@ -13,9 +13,9 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
trigger?: (props: typeof __VLS_21) => any;
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_base: import("vue").DefineComponent<ColorPickerCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
change: (value: string) => any;
|
|
17
16
|
"update:open": (value: boolean) => any;
|
|
18
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
19
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
20
20
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
21
21
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -25,9 +25,9 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerCompactProps,
|
|
|
25
25
|
"update:color": (value: NormalizedColor) => any;
|
|
26
26
|
"update:format": (value: ColorFormat) => any;
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<ColorPickerCompactProps> & Readonly<{
|
|
28
|
-
onChange?: ((value: string) => any) | undefined;
|
|
29
28
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
30
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
+
onChange?: ((value: string) => any) | undefined;
|
|
31
31
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
32
32
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
33
33
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -40,11 +40,11 @@ declare const __VLS_base: import("vue").DefineComponent<ColorPickerCompactProps,
|
|
|
40
40
|
open: boolean;
|
|
41
41
|
placement: Placement;
|
|
42
42
|
showArrow: boolean;
|
|
43
|
+
colorSpace: ColorSpace;
|
|
43
44
|
showAlpha: boolean;
|
|
44
45
|
showFields: boolean;
|
|
45
46
|
showSwatches: boolean;
|
|
46
47
|
swatches: string[];
|
|
47
|
-
colorSpace: ColorSpace;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
50
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,8 +11,8 @@ declare var __VLS_1: {
|
|
|
11
11
|
displayFormat: ColorFormat;
|
|
12
12
|
displayFormatLabel: string;
|
|
13
13
|
areaChannel: {
|
|
14
|
-
readonly x: "
|
|
15
|
-
readonly y: "
|
|
14
|
+
readonly x: "saturation" | "chroma";
|
|
15
|
+
readonly y: "lightness" | "brightness";
|
|
16
16
|
};
|
|
17
17
|
setColor: typeof setColor;
|
|
18
18
|
setFormat: typeof setFormat;
|
|
@@ -21,22 +21,22 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
default?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<ColorPickerRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
-
change: (value: string) => any;
|
|
25
24
|
"update:modelValue": (value: string) => any;
|
|
25
|
+
change: (value: string) => any;
|
|
26
26
|
"update:color": (value: NormalizedColor) => any;
|
|
27
27
|
"update:format": (value: ColorFormat) => any;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<ColorPickerRootProps> & Readonly<{
|
|
29
|
-
onChange?: ((value: string) => any) | undefined;
|
|
30
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
+
onChange?: ((value: string) => any) | undefined;
|
|
31
31
|
"onUpdate:color"?: ((value: NormalizedColor) => any) | undefined;
|
|
32
32
|
"onUpdate:format"?: ((value: ColorFormat) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
format: ColorFormat;
|
|
36
|
-
modelValue: string | ColorValue;
|
|
37
36
|
defaultValue: string | ColorValue;
|
|
38
|
-
|
|
37
|
+
modelValue: string | ColorValue;
|
|
39
38
|
colorSpace: ColorSpace;
|
|
39
|
+
defaultFormat: ColorFormat;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
@@ -3,13 +3,13 @@ import { ColorSliderCompactProps } from "./types.js";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/color-slider/color-slider-compact.vue.d.ts
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<ColorSliderCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
change: (value: string) => any;
|
|
7
6
|
"update:modelValue": (value: string) => any;
|
|
7
|
+
change: (value: string) => any;
|
|
8
8
|
"update:color": (value: NormalizedColor) => any;
|
|
9
9
|
changeEnd: (value: string) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<ColorSliderCompactProps> & Readonly<{
|
|
11
|
-
onChange?: ((value: string) => any) | undefined;
|
|
12
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
+
onChange?: ((value: string) => any) | undefined;
|
|
13
13
|
"onUpdate:color"?: ((value: NormalizedColor) => any) | undefined;
|
|
14
14
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,13 +7,13 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<ColorSliderRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
change: (value: string) => any;
|
|
11
10
|
"update:modelValue": (value: string) => any;
|
|
11
|
+
change: (value: string) => any;
|
|
12
12
|
"update:color": (value: NormalizedColor) => any;
|
|
13
13
|
changeEnd: (value: string) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<ColorSliderRootProps> & Readonly<{
|
|
15
|
-
onChange?: ((value: string) => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
onChange?: ((value: string) => any) | undefined;
|
|
17
17
|
"onUpdate:color"?: ((value: NormalizedColor) => any) | undefined;
|
|
18
18
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
19
19
|
}>, {
|
|
@@ -21,8 +21,8 @@ declare const __VLS_base: import("vue").DefineComponent<ColorSliderRootProps, {}
|
|
|
21
21
|
format: ColorFormat;
|
|
22
22
|
orientation: DataOrientation;
|
|
23
23
|
step: number;
|
|
24
|
-
modelValue: string | ColorValue;
|
|
25
24
|
defaultValue: string | ColorValue;
|
|
25
|
+
modelValue: string | ColorValue;
|
|
26
26
|
colorSpace: ColorSpace;
|
|
27
27
|
inverted: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,13 +8,13 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
8
8
|
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
9
9
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
10
10
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
11
|
+
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
12
13
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
13
14
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
14
15
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
15
16
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16
17
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
|
-
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
18
18
|
onPlaced?: (() => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
20
20
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
22
22
|
expose: (exposed: {}) => void;
|
|
23
23
|
attrs: any;
|
|
24
24
|
slots: ComboboxCompactSlots<M>;
|
|
25
|
-
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
25
|
+
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => 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: "placed") => void);
|
|
26
26
|
}>) => import("vue").VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
@@ -14,11 +14,11 @@ declare const __VLS_base: import("vue").DefineComponent<DateFieldRootProps, {},
|
|
|
14
14
|
placeholder: import("@internationalized/date").DateValue;
|
|
15
15
|
step: DateStep;
|
|
16
16
|
defaultValue: import("@internationalized/date").DateValue;
|
|
17
|
-
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
18
17
|
readonly: boolean;
|
|
18
|
+
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
19
19
|
isDateUnavailable: DateMatcher;
|
|
20
|
-
hourCycle: 12 | 24;
|
|
21
20
|
granularity: Granularity;
|
|
21
|
+
hourCycle: 12 | 24;
|
|
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};
|
|
@@ -252,13 +252,13 @@ declare var __VLS_24: {
|
|
|
252
252
|
} & {
|
|
253
253
|
readonly disabled: boolean;
|
|
254
254
|
readonly inlist: boolean;
|
|
255
|
-
readonly asChild: boolean;
|
|
256
255
|
readonly open: boolean | undefined;
|
|
256
|
+
readonly asChild: boolean;
|
|
257
|
+
readonly readonly: boolean;
|
|
258
|
+
readonly multiple: boolean;
|
|
257
259
|
readonly showArrow: boolean;
|
|
258
260
|
readonly defaultOpen: boolean;
|
|
259
261
|
readonly modal: boolean;
|
|
260
|
-
readonly multiple: boolean;
|
|
261
|
-
readonly readonly: boolean;
|
|
262
262
|
readonly pagedNavigation: boolean;
|
|
263
263
|
readonly preventDeselect: boolean;
|
|
264
264
|
readonly fixedWeeks: boolean;
|
|
@@ -17,11 +17,11 @@ declare const __VLS_base: import("vue").DefineComponent<DateRangeFieldRootProps,
|
|
|
17
17
|
placeholder: import("@internationalized/date").DateValue;
|
|
18
18
|
step: DateStep;
|
|
19
19
|
defaultValue: DateRange;
|
|
20
|
-
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
21
20
|
readonly: boolean;
|
|
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;
|
|
@@ -255,18 +255,18 @@ declare var __VLS_24: {
|
|
|
255
255
|
} & {
|
|
256
256
|
readonly disabled: boolean;
|
|
257
257
|
readonly inlist: boolean;
|
|
258
|
-
readonly asChild: boolean;
|
|
259
258
|
readonly open: boolean | undefined;
|
|
259
|
+
readonly asChild: boolean;
|
|
260
|
+
readonly readonly: boolean;
|
|
260
261
|
readonly showArrow: boolean;
|
|
261
262
|
readonly defaultOpen: boolean;
|
|
262
263
|
readonly modal: boolean;
|
|
263
|
-
readonly
|
|
264
|
+
readonly allowNonContiguousRanges: boolean;
|
|
264
265
|
readonly pagedNavigation: boolean;
|
|
265
266
|
readonly preventDeselect: boolean;
|
|
266
267
|
readonly fixedWeeks: boolean;
|
|
267
268
|
readonly initialFocus: boolean;
|
|
268
269
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
269
|
-
readonly allowNonContiguousRanges: boolean;
|
|
270
270
|
}, "open" | "triggerProps" | "positionerProps" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
271
271
|
onUpdateModelValue: (value: DateRange) => void;
|
|
272
272
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
@@ -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;
|
|
7
|
-
click: (event: PointerEvent) => any;
|
|
8
|
-
close: (event: MouseEvent) => any;
|
|
9
6
|
"update:open": (value: boolean) => any;
|
|
7
|
+
close: (event: MouseEvent) => any;
|
|
8
|
+
click: (event: PointerEvent) => any;
|
|
9
|
+
cancel: (event: MouseEvent) => 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;
|
|
19
|
-
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
20
|
-
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
21
18
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
20
|
+
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
21
|
+
onCancel?: ((event: MouseEvent) => any) | undefined;
|
|
22
22
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
23
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
24
24
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -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
|
+
"update:modelValue": (value: string) => any;
|
|
8
9
|
blur: (event: FocusEvent) => any;
|
|
9
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
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
20
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
20
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
|
+
"update:modelValue": (value: string) => any;
|
|
20
21
|
blur: (event: FocusEvent) => any;
|
|
21
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
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
31
32
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
32
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
|
-
modelValue: string;
|
|
43
42
|
defaultValue: string;
|
|
43
|
+
modelValue: 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;
|
|
@@ -11,8 +11,8 @@ 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;
|
|
15
14
|
replace: boolean;
|
|
15
|
+
as: AsTag | import("vue").Component;
|
|
16
16
|
external: boolean;
|
|
17
17
|
viewTransition: boolean;
|
|
18
18
|
rel: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | (string & {}) | null;
|
|
@@ -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
|
-
loop: boolean;
|
|
17
16
|
modelValue: DefinedValue;
|
|
17
|
+
loop: 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;
|
|
@@ -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
|
-
onClick?: ((tab: T) => any) | undefined;
|
|
8
7
|
onClose?: ((tab: T) => any) | undefined;
|
|
9
8
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
|
+
onClick?: ((tab: T) => 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;
|
|
@@ -6,12 +6,12 @@ type __VLS_Slots = {} & {
|
|
|
6
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
|
-
click: () => any;
|
|
10
9
|
close: () => any;
|
|
10
|
+
click: () => any;
|
|
11
11
|
pin: (pinned: boolean) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<PageTabsItemProps> & Readonly<{
|
|
13
|
-
onClick?: (() => any) | undefined;
|
|
14
13
|
onClose?: (() => any) | undefined;
|
|
14
|
+
onClick?: (() => any) | undefined;
|
|
15
15
|
onPin?: ((pinned: boolean) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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
|
-
loop: boolean;
|
|
14
13
|
modelValue: string;
|
|
14
|
+
loop: boolean;
|
|
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;
|
|
@@ -3,8 +3,8 @@ import { PopconfirmCompactProps, PopconfirmCompactSlots } from "./types.js";
|
|
|
3
3
|
//#region src/components/popconfirm/popconfirm-compact.vue.d.ts
|
|
4
4
|
type __VLS_Slots = PopconfirmCompactSlots;
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<PopconfirmCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
cancel: (event: PointerEvent) => any;
|
|
7
6
|
"update:open": (value: boolean) => any;
|
|
7
|
+
cancel: (event: PointerEvent) => any;
|
|
8
8
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
9
9
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
10
10
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopconfirmCompactProps,
|
|
|
13
13
|
closeAutoFocus: (event: Event) => any;
|
|
14
14
|
confirm: (event: PointerEvent) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<PopconfirmCompactProps> & Readonly<{
|
|
16
|
-
onCancel?: ((event: PointerEvent) => any) | undefined;
|
|
17
16
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
onCancel?: ((event: PointerEvent) => any) | undefined;
|
|
18
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
19
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
20
20
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -115,8 +115,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
|
|
|
115
115
|
contextmenu: string;
|
|
116
116
|
dir: string;
|
|
117
117
|
draggable: boolean | "true" | "false";
|
|
118
|
-
enterkeyhint: "done" | "
|
|
119
|
-
enterKeyHint: "done" | "
|
|
118
|
+
enterkeyhint: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
|
|
119
|
+
enterKeyHint: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
|
|
120
120
|
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
121
121
|
id: string;
|
|
122
122
|
inert: boolean | "true" | "false";
|
|
@@ -161,11 +161,11 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
|
|
|
161
161
|
'aria-colindex': string | number;
|
|
162
162
|
'aria-colspan': string | number;
|
|
163
163
|
'aria-controls': string;
|
|
164
|
-
'aria-current':
|
|
164
|
+
'aria-current': (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time";
|
|
165
165
|
'aria-describedby': string;
|
|
166
166
|
'aria-details': string;
|
|
167
167
|
'aria-disabled': boolean | "true" | "false";
|
|
168
|
-
'aria-dropeffect': "link" | "
|
|
168
|
+
'aria-dropeffect': "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
169
169
|
'aria-errormessage': string;
|
|
170
170
|
'aria-expanded': boolean | "true" | "false";
|
|
171
171
|
'aria-flowto': string;
|
|
@@ -201,6 +201,7 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
|
|
|
201
201
|
'aria-valuenow': string | number;
|
|
202
202
|
'aria-valuetext': string;
|
|
203
203
|
placement: Placement;
|
|
204
|
+
reference: import("@floating-ui/dom").ReferenceElement;
|
|
204
205
|
side: import("@floating-ui/utils").Side;
|
|
205
206
|
sideOffset: number;
|
|
206
207
|
sideFlip: boolean;
|
|
@@ -218,7 +219,6 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
|
|
|
218
219
|
updatePositionStrategy: "optimized" | "always";
|
|
219
220
|
disableUpdateOnLayoutShift: boolean;
|
|
220
221
|
prioritizePosition: boolean;
|
|
221
|
-
reference: import("@floating-ui/dom").ReferenceElement;
|
|
222
222
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
223
223
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
224
224
|
declare const _default: typeof __VLS_export;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_base: import("vue").DefineComponent<SliderRootProps, {}, {},
|
|
|
20
20
|
min: number;
|
|
21
21
|
orientation: DataOrientation;
|
|
22
22
|
step: number;
|
|
23
|
-
modelValue: number[];
|
|
24
23
|
defaultValue: number[];
|
|
24
|
+
modelValue: number[];
|
|
25
25
|
inverted: boolean;
|
|
26
26
|
minStepsBetweenThumbs: number;
|
|
27
27
|
thumbAlignment: SliderThumbAlignment;
|
|
@@ -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
|
-
modelValue: number;
|
|
41
40
|
defaultValue: number;
|
|
41
|
+
modelValue: 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
|
-
loop: boolean;
|
|
18
17
|
modelValue: DefinedValue | null;
|
|
18
|
+
loop: boolean;
|
|
19
19
|
activationMode: TabsActivationMode;
|
|
20
20
|
unmountOnHide: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,13 +3,13 @@ import { TagsInputCompactProps, TagsInputCompactSlots } from "./types.js";
|
|
|
3
3
|
//#region src/components/tags-input/tags-input-compact.vue.d.ts
|
|
4
4
|
type __VLS_Slots = TagsInputCompactSlots;
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<TagsInputCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
invalid: (value: string) => any;
|
|
7
6
|
"update:modelValue": (value: string[]) => any;
|
|
7
|
+
invalid: (value: string) => any;
|
|
8
8
|
addTag: (value: string) => any;
|
|
9
9
|
removeTag: (value: string) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<TagsInputCompactProps> & Readonly<{
|
|
11
|
-
onInvalid?: ((value: string) => any) | undefined;
|
|
12
11
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
12
|
+
onInvalid?: ((value: string) => any) | undefined;
|
|
13
13
|
onAddTag?: ((value: string) => any) | undefined;
|
|
14
14
|
onRemoveTag?: ((value: string) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<TagsInputRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
invalid: (value: string) => any;
|
|
13
12
|
"update:modelValue": (value: string[]) => any;
|
|
13
|
+
invalid: (value: string) => any;
|
|
14
14
|
addTag: (value: string) => any;
|
|
15
15
|
removeTag: (value: string) => any;
|
|
16
16
|
}, string, import("vue").PublicProps, Readonly<TagsInputRootProps> & Readonly<{
|
|
17
|
-
onInvalid?: ((value: string) => any) | undefined;
|
|
18
17
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
18
|
+
onInvalid?: ((value: string) => any) | undefined;
|
|
19
19
|
onAddTag?: ((value: string) => any) | undefined;
|
|
20
20
|
onRemoveTag?: ((value: string) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
max: number;
|
|
23
|
-
modelValue: string[];
|
|
24
23
|
defaultValue: string[];
|
|
24
|
+
modelValue: 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>;
|
|
@@ -14,10 +14,10 @@ declare const __VLS_base: import("vue").DefineComponent<TimeFieldRootProps, {},
|
|
|
14
14
|
placeholder: TimeValue;
|
|
15
15
|
step: DateStep;
|
|
16
16
|
defaultValue: TimeValue;
|
|
17
|
-
defaultPlaceholder: TimeValue;
|
|
18
17
|
readonly: boolean;
|
|
19
|
-
|
|
18
|
+
defaultPlaceholder: TimeValue;
|
|
20
19
|
granularity: TimeGranularity;
|
|
20
|
+
hourCycle: 12 | 24;
|
|
21
21
|
hideTimeZone: boolean;
|
|
22
22
|
isTimeUnavailable: TimeMatcher;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -18,10 +18,10 @@ declare const __VLS_base: import("vue").DefineComponent<TimeRangeFieldRootProps,
|
|
|
18
18
|
placeholder: TimeValue;
|
|
19
19
|
step: DateStep;
|
|
20
20
|
defaultValue: TimeRange;
|
|
21
|
-
defaultPlaceholder: TimeValue;
|
|
22
21
|
readonly: boolean;
|
|
23
|
-
|
|
22
|
+
defaultPlaceholder: TimeValue;
|
|
24
23
|
granularity: TimeGranularity;
|
|
24
|
+
hourCycle: 12 | 24;
|
|
25
25
|
hideTimeZone: boolean;
|
|
26
26
|
startName: string;
|
|
27
27
|
endName: string;
|
|
@@ -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
|
-
modelValue: boolean;
|
|
19
18
|
defaultValue: boolean;
|
|
19
|
+
modelValue: 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;
|
|
@@ -5,15 +5,15 @@ declare const __VLS_export: <T extends TreeMenuBaseOptionData = TreeMenuBaseOpti
|
|
|
5
5
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TreeMenuCompactProps<T> & {
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
7
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
8
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
9
8
|
onSelectDropdown?: ((value: string) => any) | undefined;
|
|
9
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
12
12
|
} ? P : {});
|
|
13
13
|
expose: (exposed: {}) => void;
|
|
14
14
|
attrs: any;
|
|
15
15
|
slots: TreeMenuCompactSlots<T>;
|
|
16
|
-
emit: ((evt: "update:modelValue", value: string) => void) & ((evt: "update:expanded", value: string[]) => void) & ((evt: "
|
|
16
|
+
emit: ((evt: "update:modelValue", value: string) => void) & ((evt: "update:expanded", value: string[]) => void) & ((evt: "selectDropdown", value: string) => void) & ((evt: "update:collapsed", value: boolean) => void);
|
|
17
17
|
}>) => import("vue").VNode & {
|
|
18
18
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
19
19
|
};
|
|
@@ -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;
|
|
22
21
|
defaultCollapsed: boolean;
|
|
23
22
|
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.0-beta.
|
|
3
|
+
"version": "0.29.0-beta.6",
|
|
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": {
|