@soybeanjs/headless 0.27.1 → 0.28.0
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/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/calendar-range/calendar-range-compact.vue.d.ts +0 -1
- package/dist/components/calendar-range/calendar-range-root.vue.d.ts +1 -2
- package/dist/components/checkbox/checkbox-root.vue.d.ts +1 -1
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- 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 +2 -2
- package/dist/components/color-picker/color-picker-root.vue.d.ts +3 -3
- package/dist/components/color-picker/types.d.ts +1 -1
- 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/context-menu/index.d.ts +1 -1
- package/dist/components/date-field/date-field-root.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker-compact.js +1 -1
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +2 -2
- package/dist/components/date-range-field/date-range-field-compact.vue.d.ts +0 -1
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +1 -2
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +3 -3
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/types.d.ts +2 -1
- package/dist/components/dialog/dialog-compact.vue.d.ts +5 -5
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- 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.js +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menubar/menubar-root.vue.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu-sub-option-compact.js +1 -1
- package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +2 -2
- 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/index.d.ts +1 -1
- package/dist/components/popconfirm/popconfirm-compact.vue.d.ts +2 -2
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popper/index.d.ts +1 -1
- package/dist/components/popper/popper-positioner.vue.d.ts +2 -2
- package/dist/components/slider/slider-root.vue.d.ts +1 -1
- package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
- 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/index.d.ts +2 -1
- package/dist/components/time-field/time-field-root.vue.d.ts +1 -1
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +1 -1
- package/dist/components/toast/toaster.vue.d.ts +2 -2
- package/dist/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/components/tooltip/index.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/dist/index.d.ts +28 -27
- package/dist/namespaced/index.d.ts +271 -271
- package/package.json +3 -2
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateRange } from "../../date/types.js";
|
|
2
2
|
import { CalendarRangeCompactProps, CalendarRangeCompactSlots } from "./types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/calendar-range/calendar-range-compact.vue.d.ts
|
|
5
4
|
type __VLS_Slots = CalendarRangeCompactSlots;
|
|
6
5
|
declare const __VLS_base: import("vue").DefineComponent<CalendarRangeCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateMatcher, DateRange, DateValue, WeekDayFormat } from "../../date/types.js";
|
|
2
2
|
import { CalendarRangeRootProps, CalendarRangeRootSlots } from "./types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/calendar-range/calendar-range-root.vue.d.ts
|
|
5
4
|
type __VLS_Slots = CalendarRangeRootSlots;
|
|
6
5
|
declare const __VLS_base: import("vue").DefineComponent<CalendarRangeRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -15,6 +14,7 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarRangeRootProps,
|
|
|
15
14
|
disabled: boolean;
|
|
16
15
|
placeholder: DateValue;
|
|
17
16
|
defaultValue: DateRange;
|
|
17
|
+
readonly: boolean;
|
|
18
18
|
defaultPlaceholder: DateValue;
|
|
19
19
|
allowNonContiguousRanges: boolean;
|
|
20
20
|
pagedNavigation: boolean;
|
|
@@ -23,7 +23,6 @@ declare const __VLS_base: import("vue").DefineComponent<CalendarRangeRootProps,
|
|
|
23
23
|
weekdayFormat: WeekDayFormat;
|
|
24
24
|
fixedWeeks: boolean;
|
|
25
25
|
numberOfMonths: number;
|
|
26
|
-
readonly: boolean;
|
|
27
26
|
initialFocus: boolean;
|
|
28
27
|
isDateDisabled: DateMatcher;
|
|
29
28
|
isDateUnavailable: DateMatcher;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<CheckboxRootProps, {}, {
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<CheckboxRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: CheckedState | null) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
value: DefinedValue;
|
|
17
16
|
modelValue: CheckedState | null;
|
|
17
|
+
value: 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;
|
|
@@ -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
|
-
unmountOnHide: boolean;
|
|
18
17
|
open: boolean;
|
|
18
|
+
unmountOnHide: 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>;
|
|
@@ -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:modelValue": (value: string) => any;
|
|
18
17
|
"update:open": (value: boolean) => 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:modelValue"?: ((value: string) => any) | undefined;
|
|
30
29
|
"onUpdate:open"?: ((value: boolean) => 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;
|
|
@@ -21,20 +21,20 @@ 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;
|
|
37
|
+
modelValue: string | ColorValue;
|
|
38
38
|
colorSpace: ColorSpace;
|
|
39
39
|
defaultFormat: ColorFormat;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,12 +2,12 @@ import { ColorFormat, ColorSpace, ColorValue, NormalizedColor } from "../../type
|
|
|
2
2
|
import { UiClass } from "../../types/common.js";
|
|
3
3
|
import { FormFieldCommonProps } from "../../types/component.js";
|
|
4
4
|
import { ButtonProps } from "../button/types.js";
|
|
5
|
+
import { PopoverCompactEmits, PopoverCompactProps } from "../popover/types.js";
|
|
5
6
|
import { ColorAreaCompactProps } from "../color-area/types.js";
|
|
6
7
|
import { ColorFieldCompactProps } from "../color-field/types.js";
|
|
7
8
|
import { ColorSliderCompactProps } from "../color-slider/types.js";
|
|
8
9
|
import { ColorSwatchCompactProps } from "../color-swatch/types.js";
|
|
9
10
|
import { ColorSwatchPickerCompactProps } from "../color-swatch-picker/types.js";
|
|
10
|
-
import { PopoverCompactEmits, PopoverCompactProps } from "../popover/types.js";
|
|
11
11
|
import { TabsOptionData } from "../tabs/types.js";
|
|
12
12
|
import { SegmentCompactProps } from "../segment/types.js";
|
|
13
13
|
import { ComputedRef } from "vue";
|
|
@@ -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
|
inverted: boolean;
|
|
27
27
|
colorSpace: ColorSpace;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -2,9 +2,9 @@ import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
|
2
2
|
import { PortalProps } from "../portal/types.js";
|
|
3
3
|
import { _default } from "../popper/popper-anchor.vue.js";
|
|
4
4
|
import { _default as _default$11 } from "../portal/portal.vue.js";
|
|
5
|
+
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
5
6
|
import { SeparatorRootProps } from "../separator/types.js";
|
|
6
7
|
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuUi, MenuUiSlot } from "../menu/types.js";
|
|
7
|
-
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
8
8
|
import { _default as _default$7 } from "../menu/menu-group.vue.js";
|
|
9
9
|
import { _default as _default$8 } from "../menu/menu-group-label.vue.js";
|
|
10
10
|
import { _default as _default$9 } from "../menu/menu-item.vue.js";
|
|
@@ -14,8 +14,8 @@ 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
20
|
granularity: Granularity;
|
|
21
21
|
hourCycle: 12 | 24;
|
|
@@ -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};
|
|
@@ -255,16 +255,16 @@ declare var __VLS_25: {
|
|
|
255
255
|
readonly asChild: boolean;
|
|
256
256
|
readonly open: boolean | undefined;
|
|
257
257
|
readonly multiple: boolean;
|
|
258
|
+
readonly readonly: boolean;
|
|
258
259
|
readonly showArrow: boolean;
|
|
259
260
|
readonly defaultOpen: boolean;
|
|
260
261
|
readonly modal: boolean;
|
|
261
262
|
readonly pagedNavigation: boolean;
|
|
262
263
|
readonly preventDeselect: boolean;
|
|
263
264
|
readonly fixedWeeks: boolean;
|
|
264
|
-
readonly readonly: boolean;
|
|
265
265
|
readonly initialFocus: boolean;
|
|
266
266
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
267
|
-
}, "positionerProps" | "
|
|
267
|
+
}, "positionerProps" | "open" | "triggerProps" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
268
268
|
onUpdateModelValue: (value: DateValue | undefined) => void;
|
|
269
269
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
270
270
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateRange } from "../../date/types.js";
|
|
2
2
|
import { DateRangeFieldCompactProps, DateRangeFieldCompactSlots } from "./types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/date-range-field/date-range-field-compact.vue.d.ts
|
|
5
4
|
type __VLS_Slots = DateRangeFieldCompactSlots;
|
|
6
5
|
declare const __VLS_base: import("vue").DefineComponent<DateRangeFieldCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateMatcher, DateRange, DateStep, Granularity } from "../../date/types.js";
|
|
2
2
|
import { DateRangeFieldRootProps, DateRangeFieldRootSlots } from "./types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/date-range-field/date-range-field-root.vue.d.ts
|
|
5
4
|
type __VLS_Slots = DateRangeFieldRootSlots;
|
|
6
5
|
declare const __VLS_base: import("vue").DefineComponent<DateRangeFieldRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -18,8 +17,8 @@ declare const __VLS_base: import("vue").DefineComponent<DateRangeFieldRootProps,
|
|
|
18
17
|
placeholder: import("@internationalized/date").DateValue;
|
|
19
18
|
step: DateStep;
|
|
20
19
|
defaultValue: DateRange;
|
|
21
|
-
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
22
20
|
readonly: boolean;
|
|
21
|
+
defaultPlaceholder: import("@internationalized/date").DateValue;
|
|
23
22
|
isDateUnavailable: DateMatcher;
|
|
24
23
|
granularity: Granularity;
|
|
25
24
|
hourCycle: 12 | 24;
|
|
@@ -5,8 +5,8 @@ import { AsTag } from "../primitive/types.js";
|
|
|
5
5
|
import { PopperArrowProps, PopperPositionerProps } from "../popper/types.js";
|
|
6
6
|
import { PortalProps } from "../portal/types.js";
|
|
7
7
|
import { DateMatcher, DateRange, DateValue, WeekDayFormat, WeekStartsOn } from "../../date/types.js";
|
|
8
|
-
import { CalendarRangeCellProps, CalendarRangeCellTriggerProps, CalendarRangeGridBodyProps, CalendarRangeGridHeadProps, CalendarRangeGridProps, CalendarRangeGridRowProps, CalendarRangeHeadCellProps, CalendarRangeHeaderProps, CalendarRangeHeadingProps, CalendarRangeNextProps, CalendarRangePrevProps } from "../calendar-range/types.js";
|
|
9
8
|
import { PopoverCloseProps, PopoverPopupProps, PopoverPositionerProps, PopoverTriggerProps } from "../popover/types.js";
|
|
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
12
|
declare var __VLS_25: {
|
|
@@ -257,6 +257,7 @@ declare var __VLS_25: {
|
|
|
257
257
|
readonly inlist: boolean;
|
|
258
258
|
readonly asChild: boolean;
|
|
259
259
|
readonly open: boolean | undefined;
|
|
260
|
+
readonly readonly: boolean;
|
|
260
261
|
readonly showArrow: boolean;
|
|
261
262
|
readonly defaultOpen: boolean;
|
|
262
263
|
readonly modal: boolean;
|
|
@@ -264,10 +265,9 @@ declare var __VLS_25: {
|
|
|
264
265
|
readonly pagedNavigation: boolean;
|
|
265
266
|
readonly preventDeselect: boolean;
|
|
266
267
|
readonly fixedWeeks: boolean;
|
|
267
|
-
readonly readonly: boolean;
|
|
268
268
|
readonly initialFocus: boolean;
|
|
269
269
|
readonly disableDaysOutsideCurrentView: boolean;
|
|
270
|
-
}, "positionerProps" | "
|
|
270
|
+
}, "positionerProps" | "open" | "triggerProps" | "placement" | "showArrow" | "portalProps" | "popupProps" | "arrowProps" | "closeProps" | "defaultOpen" | "modal">;
|
|
271
271
|
onUpdateModelValue: (value: DateRange) => void;
|
|
272
272
|
onUpdatePlaceholder: (placeholder: DateValue) => void;
|
|
273
273
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { DateRange } from "../../date/types.js";
|
|
1
2
|
import { DateRangePickerCompactEmits, DateRangePickerCompactProps, DateRangePickerUi, DateRangePickerUiSlot } from "./types.js";
|
|
2
3
|
import { _default } from "./date-range-picker-compact.vue.js";
|
|
3
4
|
import { provideDateRangePickerUi } from "./context.js";
|
|
4
|
-
export { _default as DateRangePickerCompact, type DateRangePickerCompactEmits, type DateRangePickerCompactProps, type DateRangePickerUi, type DateRangePickerUiSlot, provideDateRangePickerUi };
|
|
5
|
+
export { type DateRange, _default as DateRangePickerCompact, type DateRangePickerCompactEmits, type DateRangePickerCompactProps, type DateRangePickerUi, type DateRangePickerUiSlot, provideDateRangePickerUi };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { UiClass } from "../../types/common.js";
|
|
2
2
|
import { BaseProps } from "../../types/vue.js";
|
|
3
|
-
import {
|
|
3
|
+
import { DateRange } from "../../date/types.js";
|
|
4
4
|
import { PopoverCompactEmits, PopoverCompactProps, PopoverUiSlot } from "../popover/types.js";
|
|
5
|
+
import { CalendarRangeCompactEmits, CalendarRangeCompactProps } from "../calendar-range/types.js";
|
|
5
6
|
import { DateRangeFieldUiSlot } from "../date-range-field/types.js";
|
|
6
7
|
|
|
7
8
|
//#region src/components/date-range-picker/types.d.ts
|
|
@@ -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
|
+
"update:open": (value: boolean) => any;
|
|
7
|
+
close: (event: MouseEvent) => any;
|
|
6
8
|
cancel: (event: MouseEvent) => any;
|
|
7
9
|
click: (event: PointerEvent) => any;
|
|
8
|
-
close: (event: MouseEvent) => any;
|
|
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
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
18
20
|
onCancel?: ((event: MouseEvent) => any) | undefined;
|
|
19
21
|
onClick?: ((event: PointerEvent) => any) | undefined;
|
|
20
|
-
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
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;
|
|
33
34
|
showCancel: "onlyWarning" | boolean;
|
|
34
35
|
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
|
-
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;
|
|
@@ -2,9 +2,9 @@ import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
|
2
2
|
import { PortalProps } from "../portal/types.js";
|
|
3
3
|
import { _default } from "../popper/popper-anchor.vue.js";
|
|
4
4
|
import { _default as _default$11 } from "../portal/portal.vue.js";
|
|
5
|
+
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
5
6
|
import { SeparatorRootProps } from "../separator/types.js";
|
|
6
7
|
import { MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuUi, MenuUiSlot } from "../menu/types.js";
|
|
7
|
-
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
8
8
|
import { _default as _default$7 } from "../menu/menu-group.vue.js";
|
|
9
9
|
import { _default as _default$8 } from "../menu/menu-group-label.vue.js";
|
|
10
10
|
import { _default as _default$9 } from "../menu/menu-item.vue.js";
|
|
@@ -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,7 +18,6 @@ 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
21
|
sidebarVisible: boolean;
|
|
23
22
|
sidebarWidth: number;
|
|
24
23
|
collapsedSidebarWidth: number;
|
|
@@ -30,6 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<LayoutRootProps, {}, {},
|
|
|
30
29
|
tabHeight: number;
|
|
31
30
|
footerVisible: boolean;
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{computed as t,createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,resolveComponent as s,resolveDynamicComponent as c,unref as l,useAttrs as u,withCtx as d}from"vue";const f=r({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},replace:{type:Boolean,default:void 0},href:{},disabled:{type:Boolean,default:void 0},activeClass:{},exactActiveClass:{},inactiveClass:{},prefetchedClass:{},external:{type:Boolean,default:void 0},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},target:{},rel:{default:`noopener noreferrer`},noRel:{type:Boolean,default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`}},setup(r){let f=r,p=u(),m=s(`RouterLink`),h=typeof m==`string`?null:m,g=t(()=>!!(f.external||f.disabled||typeof f.to==`string`&&f.to.startsWith(`http`)||!f.to)),_=t(()=>g.value||!h),v=t(()=>f.target?f.target:g.value?`_blank`:`_self`),y=t(()=>{let{as:e,asChild:t,href:n,to:r,...i}=f,a=typeof f.to==`string`&&f.to||f.href,o={};return g.value||(o.to=f.to),g.value&&a&&(o.href=a),Object.assign(o,{...i,target:v.value,"data-disabled":f.disabled?``:void 0,"aria-disabled":f.disabled?`true`:void 0,role:f.disabled?`link`:void 0,tabindex:f.disabled?`-1`:f.tabindex,...p}),o}),b=e=>{f.disabled&&(e.preventDefault(),e.stopPropagation())};return(t,s)=>_.value?(a(),n(l(e),i({key:0},y.value,{as:r.as,"as-child":r.asChild,"data-soybean-link":``,"data-link":``,onClick:b}),{default:d(()=>[o(t.$slots,`default`,{isHref:!0})]),_:3},16,[`as`,`as-child`])):(a(),n(c(l(h)),i({key:1},y.value,{"data-soybean-link":``,"data-link":``,onClick:b}),{default:d(e=>[o(t.$slots,`default`,{isHref:!1,isActive:e?.isActive,isExactActive:e?.isExactActive})]),_:3},16))}});export{f as default};
|
|
@@ -2,11 +2,11 @@ import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
|
2
2
|
import { PortalProps } from "../portal/types.js";
|
|
3
3
|
import { _default } from "../popper/popper-anchor.vue.js";
|
|
4
4
|
import { _default as _default$12 } from "../portal/portal.vue.js";
|
|
5
|
+
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
5
6
|
import { SeparatorRootProps } from "../separator/types.js";
|
|
6
7
|
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuCheckboxOptionData, MenuCheckboxOptionsCompactEmits, MenuCheckboxOptionsCompactProps, MenuCheckboxOptionsCompactSelectEmits, MenuCheckboxOptionsCompactSlots, MenuContentEmits, MenuContentProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuOptionCompactEmits, MenuOptionCompactProps, MenuOptionCompactSelectEmits, MenuOptionCompactSlots, MenuOptionData, MenuOptionsCompactEmits, MenuOptionsCompactProps, MenuOptionsCompactSlots, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuRadioOptionData, MenuRadioOptionsCompactEmits, MenuRadioOptionsCompactProps, MenuRadioOptionsCompactSelectEmits, MenuRadioOptionsCompactSlots, MenuRootEmits, MenuRootProps, MenuShortcutProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuTriggerProps, MenuUi, MenuUiSlot } from "./types.js";
|
|
7
8
|
import { _default as _default$16 } from "./menu-root.vue.js";
|
|
8
9
|
import { _default as _default$5 } from "./menu-content.vue.js";
|
|
9
|
-
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
10
10
|
import { _default as _default$6 } from "./menu-group.vue.js";
|
|
11
11
|
import { _default as _default$7 } from "./menu-group-label.vue.js";
|
|
12
12
|
import { _default as _default$8 } from "./menu-item.vue.js";
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../_icon/icon.js";import{useCommonSlotNames as t}from"./shared.js";import{useNavigationMenuUi as n}from"./context.js";import r from"./navigation-menu-item-slot-compact.js";import i from"./navigation-menu-item.js";import a from"./navigation-menu-link.js";import
|
|
1
|
+
import e from"../_icon/icon.js";import{useCommonSlotNames as t}from"./shared.js";import{useNavigationMenuUi as n}from"./context.js";import r from"./navigation-menu-item-slot-compact.js";import i from"./navigation-menu-item.js";import a from"./navigation-menu-link.js";import{computed as o,createBlock as s,createCommentVNode as c,createElementVNode as l,createSlots as u,createVNode as d,defineComponent as f,mergeProps as p,normalizeClass as m,openBlock as h,renderList as g,renderSlot as _,resolveDynamicComponent as v,toDisplayString as y,unref as b,useSlots as x,withCtx as S}from"vue";const C=f({name:`NavigationMenuSubOptionCompact`,__name:`navigation-menu-sub-option-compact`,props:{subItem:{},subItemProps:{},linkProps:{}},emits:[`select`],setup(f,{emit:C}){let w=f,T=C,E=t(x()),D=n(),O=o(()=>!!(w.subItem.to||w.subItem.href)),k=o(()=>O.value?{...w.linkProps,disabled:w.subItem.disabled,to:w.subItem.to,href:w.subItem.href,target:w.subItem.target,external:w.subItem.external}:{});return(t,n)=>(h(),s(i,p(f.subItemProps,{value:f.subItem.value}),{default:S(()=>[(h(),s(v(O.value?a:`div`),p(k.value,{onSelect:n[0]||(n[0]=e=>T(`select`,e))}),{default:S(n=>[d(r,{icon:f.subItem.icon},u({default:S(()=>[l(`div`,{class:m(b(D).subLinkContent)},[l(`span`,{class:m(b(D).subLinkLabel)},y(f.subItem.label),3),l(`p`,{class:m(b(D).subLinkDescription)},y(f.subItem.description),3)],2)]),_:2},[g(b(E),e=>({name:e,fn:S(()=>[_(t.$slots,e,{item:f.subItem})])})),n?.isHref?{name:`link-icon`,fn:S(()=>[_(t.$slots,`item-link-icon`,{item:f.subItem},()=>[d(e,{icon:`lucide:arrow-up-right`,class:m(b(D).linkIcon)},null,8,[`class`])])]),key:`0`}:void 0]),1032,[`icon`])]),_:3},16)),f.subItem.children?.length?_(t.$slots,`item-children`,{key:0,item:f.subItem}):c(`v-if`,!0)]),_:3},16,[`value`]))}});export{C as default};
|
|
@@ -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
|
-
onClose?: ((tab: T) => any) | undefined;
|
|
9
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
+
onClose?: ((tab: T) => 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_13) => 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>;
|