@plexui/vue 0.8.0 → 0.9.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/es/components/Badge/Badge.js +1 -1
- package/dist/es/components/Badge/Badge.js.map +1 -1
- package/dist/es/components/Button/Button.js +13 -5
- package/dist/es/components/Button/Button.js.map +1 -1
- package/dist/es/components/Button/ButtonLink.js +7 -1
- package/dist/es/components/Button/ButtonLink.js.map +1 -1
- package/dist/es/components/Button/NavigationButton.js +27 -0
- package/dist/es/components/Button/NavigationButton.js.map +1 -0
- package/dist/es/components/Button/NavigationGlyph.js +27 -0
- package/dist/es/components/Button/NavigationGlyph.js.map +1 -0
- package/dist/es/components/Button/index.js +1 -0
- package/dist/es/components/Button/index.js.map +1 -1
- package/dist/es/components/Checkbox/Checkbox.js +14 -4
- package/dist/es/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/es/components/DateInput/DateInput.js +7 -3
- package/dist/es/components/DateInput/DateInput.js.map +1 -1
- package/dist/es/components/DatePicker/Calendar.js +130 -86
- package/dist/es/components/DatePicker/Calendar.js.map +1 -1
- package/dist/es/components/DatePicker/CalendarNavigationIcon.js +31 -0
- package/dist/es/components/DatePicker/CalendarNavigationIcon.js.map +1 -0
- package/dist/es/components/DatePicker/DatePicker.js +16 -4
- package/dist/es/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/es/components/DatePicker/context.js.map +1 -1
- package/dist/es/components/DatePicker/useCalendarGutter.js +14 -0
- package/dist/es/components/DatePicker/useCalendarGutter.js.map +1 -0
- package/dist/es/components/DateRangePicker/Calendar.js +92 -71
- package/dist/es/components/DateRangePicker/Calendar.js.map +1 -1
- package/dist/es/components/DateRangePicker/DateRangePicker.js +13 -4
- package/dist/es/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/es/components/DateRangePicker/Trigger.js +1 -0
- package/dist/es/components/DateRangePicker/Trigger.js.map +1 -1
- package/dist/es/components/Dialog/Dialog.js +125 -52
- package/dist/es/components/Dialog/Dialog.js.map +1 -1
- package/dist/es/components/Dialog/index.js.map +1 -1
- package/dist/es/components/Dialog/sheetDrag.js +77 -24
- package/dist/es/components/Dialog/sheetDrag.js.map +1 -1
- package/dist/es/components/Field/Field.js +58 -5
- package/dist/es/components/Field/Field.js.map +1 -1
- package/dist/es/components/FieldGroup/FieldGroup.js +3 -1
- package/dist/es/components/FieldGroup/FieldGroup.js.map +1 -1
- package/dist/es/components/FileUpload/FileUpload.js +50 -11
- package/dist/es/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.js +24 -13
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.js.map +1 -1
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.js +9 -3
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.js.map +1 -1
- package/dist/es/components/Icon/index.js +1 -0
- package/dist/es/components/Icon/index.js.map +1 -1
- package/dist/es/components/Icon/svg/Disclosure.js +10 -0
- package/dist/es/components/Icon/svg/Disclosure.js.map +1 -0
- package/dist/es/components/Indicator/LoadingIndicator.js +2 -2
- package/dist/es/components/Indicator/LoadingIndicator.js.map +1 -1
- package/dist/es/components/Input/Input.js +15 -5
- package/dist/es/components/Input/Input.js.map +1 -1
- package/dist/es/components/InputGroup/InputGroup.js +3 -1
- package/dist/es/components/InputGroup/InputGroup.js.map +1 -1
- package/dist/es/components/MarkdownEditor/MarkdownEditor.js +126 -151
- package/dist/es/components/MarkdownEditor/MarkdownEditor.js.map +1 -1
- package/dist/es/components/Menu/Menu.js +217 -35
- package/dist/es/components/Menu/Menu.js.map +1 -1
- package/dist/es/components/Menu/internal.js +2 -1
- package/dist/es/components/Menu/internal.js.map +1 -1
- package/dist/es/components/OTPInput/OTPInput.js +7 -4
- package/dist/es/components/OTPInput/OTPInput.js.map +1 -1
- package/dist/es/components/Page/Page.js +93 -14
- package/dist/es/components/Page/Page.js.map +1 -1
- package/dist/es/components/Page/index.js +1 -1
- package/dist/es/components/Page/index.js.map +1 -1
- package/dist/es/components/Popover/Popover.js +16 -6
- package/dist/es/components/Popover/Popover.js.map +1 -1
- package/dist/es/components/Popover/deferredPointerDownOutside.js +6 -0
- package/dist/es/components/Popover/deferredPointerDownOutside.js.map +1 -1
- package/dist/es/components/RadioGroup/RadioGroup.js +31 -13
- package/dist/es/components/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/es/components/Select/Select.js +75 -25
- package/dist/es/components/Select/Select.js.map +1 -1
- package/dist/es/components/SelectControl/SelectControl.js +58 -25
- package/dist/es/components/SelectControl/SelectControl.js.map +1 -1
- package/dist/es/components/SelectControl/index.js +1 -1
- package/dist/es/components/SelectControl/index.js.map +1 -1
- package/dist/es/components/ShimmerText/ShimmerText.js +16 -3
- package/dist/es/components/ShimmerText/ShimmerText.js.map +1 -1
- package/dist/es/components/Slider/Slider.js +56 -16
- package/dist/es/components/Slider/Slider.js.map +1 -1
- package/dist/es/components/Sortable/Sortable.js +20 -13
- package/dist/es/components/Sortable/Sortable.js.map +1 -1
- package/dist/es/components/Switch/Switch.js +6 -3
- package/dist/es/components/Switch/Switch.js.map +1 -1
- package/dist/es/components/Tabs/Tabs.js +12 -11
- package/dist/es/components/Tabs/Tabs.js.map +1 -1
- package/dist/es/components/TagInput/TagInput.js +46 -6
- package/dist/es/components/TagInput/TagInput.js.map +1 -1
- package/dist/es/components/Textarea/Textarea.js +13 -2
- package/dist/es/components/Textarea/Textarea.js.map +1 -1
- package/dist/es/components/Toast/ToastRenderer.js +144 -0
- package/dist/es/components/Toast/ToastRenderer.js.map +1 -0
- package/dist/es/components/Toast/Toaster.js +23 -1
- package/dist/es/components/Toast/Toaster.js.map +1 -1
- package/dist/es/components/Toast/toastLifecycle.js +283 -0
- package/dist/es/components/Toast/toastLifecycle.js.map +1 -0
- package/dist/es/components/Toolbar/Toolbar.js +107 -0
- package/dist/es/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/es/components/Toolbar/index.js +2 -0
- package/dist/es/components/Toolbar/index.js.map +1 -0
- package/dist/es/components/Tooltip/CopyTooltip.js +39 -13
- package/dist/es/components/Tooltip/CopyTooltip.js.map +1 -1
- package/dist/es/components/Tooltip/Tooltip.js +35 -14
- package/dist/es/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/es/composables/useFloatingBoundary.js +48 -0
- package/dist/es/composables/useFloatingBoundary.js.map +1 -0
- package/dist/es/composables/usePhoneSubmenu.js +19 -0
- package/dist/es/composables/usePhoneSubmenu.js.map +1 -0
- package/dist/es/lib/copyToClipboard.js +16 -7
- package/dist/es/lib/copyToClipboard.js.map +1 -1
- package/dist/es/lib/floatingBoundary.js +90 -0
- package/dist/es/lib/floatingBoundary.js.map +1 -0
- package/dist/es/lib/focusRestore.js +56 -0
- package/dist/es/lib/focusRestore.js.map +1 -0
- package/dist/es/lib/helpers.js +0 -18
- package/dist/es/lib/helpers.js.map +1 -1
- package/dist/es/lib/inputMode.js +9 -0
- package/dist/es/lib/inputMode.js.map +1 -0
- package/dist/es/lib/menuInitialFocus.js +100 -0
- package/dist/es/lib/menuInitialFocus.js.map +1 -0
- package/dist/es/lib/menuSubmenuPlacement.js +219 -0
- package/dist/es/lib/menuSubmenuPlacement.js.map +1 -0
- package/dist/es/lib/observeTextareaWidth.js +49 -0
- package/dist/es/lib/observeTextareaWidth.js.map +1 -0
- package/dist/es/lib/selectPress.js +34 -0
- package/dist/es/lib/selectPress.js.map +1 -0
- package/dist/es/lib/sortable.js +74 -20
- package/dist/es/lib/sortable.js.map +1 -1
- package/dist/types/components/Button/Button.d.ts +6 -2
- package/dist/types/components/Button/ButtonLink.d.ts +6 -2
- package/dist/types/components/Button/NavigationButton.d.ts +27 -0
- package/dist/types/components/Button/NavigationGlyph.d.ts +16 -0
- package/dist/types/components/Button/index.d.ts +1 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +12 -12
- package/dist/types/components/DateInput/DateInput.d.ts +4 -4
- package/dist/types/components/DatePicker/CalendarNavigationIcon.d.ts +6 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +13 -13
- package/dist/types/components/DatePicker/context.d.ts +1 -0
- package/dist/types/components/DatePicker/useCalendarGutter.d.ts +2 -0
- package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +13 -13
- package/dist/types/components/Dialog/Dialog.d.ts +46 -11
- package/dist/types/components/Dialog/index.d.ts +1 -1
- package/dist/types/components/Field/Field.d.ts +2 -2
- package/dist/types/components/FileUpload/FileUpload.d.ts +6 -6
- package/dist/types/components/FloatingLabelInput/FloatingLabelInput.d.ts +4 -4
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Icon/svg/Disclosure.d.ts +3 -0
- package/dist/types/components/Indicator/LoadingIndicator.d.ts +2 -2
- package/dist/types/components/Input/Input.d.ts +2 -2
- package/dist/types/components/MarkdownEditor/MarkdownEditor.d.ts +8 -8
- package/dist/types/components/Menu/Menu.d.ts +18 -25
- package/dist/types/components/OTPInput/OTPInput.d.ts +6 -6
- package/dist/types/components/Page/Page.d.ts +48 -7
- package/dist/types/components/Page/index.d.ts +1 -1
- package/dist/types/components/Popover/Popover.d.ts +17 -6
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +10 -10
- package/dist/types/components/SelectControl/index.d.ts +1 -1
- package/dist/types/components/Sortable/Sortable.d.ts +8 -8
- package/dist/types/components/Switch/Switch.d.ts +34 -12
- package/dist/types/components/Tabs/Tabs.d.ts +6 -6
- package/dist/types/components/TagInput/TagInput.d.ts +4 -4
- package/dist/types/components/Textarea/Textarea.d.ts +2 -2
- package/dist/types/components/Toast/ToastRenderer.d.ts +79 -0
- package/dist/types/components/Toast/Toaster.d.ts +6 -2
- package/dist/types/components/Toast/toastLifecycle.d.ts +90 -0
- package/dist/types/components/Toolbar/Toolbar.d.ts +149 -0
- package/dist/types/components/Toolbar/index.d.ts +1 -0
- package/dist/types/components/Tooltip/CopyTooltip.d.ts +2 -2
- package/dist/types/components/Tooltip/Tooltip.d.ts +6 -6
- package/dist/types/composables/useFloatingBoundary.d.ts +24 -0
- package/dist/types/composables/usePhoneSubmenu.d.ts +3 -0
- package/dist/types/lib/floatingBoundary.d.ts +9 -0
- package/dist/types/lib/focusRestore.d.ts +5 -0
- package/dist/types/lib/helpers.d.ts +0 -4
- package/dist/types/lib/inputMode.d.ts +7 -0
- package/dist/types/lib/menuInitialFocus.d.ts +9 -0
- package/dist/types/lib/menuSubmenuPlacement.d.ts +44 -0
- package/dist/types/lib/observeTextareaWidth.d.ts +2 -0
- package/dist/types/lib/selectPress.d.ts +23 -0
- package/dist/types/lib/sortable.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DateTime } from "luxon";
|
|
2
2
|
import { type PropType } from "vue";
|
|
3
3
|
import type { ControlSize } from "@plexui/styles/types";
|
|
4
4
|
import { type PopoverAlign, type PopoverSide } from "../Popover/index.js";
|
|
@@ -23,7 +23,7 @@ declare const DateRangePickerComponent: import("vue").DefineComponent<import("vu
|
|
|
23
23
|
};
|
|
24
24
|
/** Date range shortcuts for quick selection, shown to the left of the calendar. */
|
|
25
25
|
shortcuts: PropType<DateRangeShortcut[]>;
|
|
26
|
-
/**
|
|
26
|
+
/** Preferred side; collisions can flip it. On phones, left and right prefer bottom so seven 44px day targets fit. @default "bottom" */
|
|
27
27
|
side: {
|
|
28
28
|
type: PropType<PopoverSide>;
|
|
29
29
|
default: string;
|
|
@@ -94,8 +94,8 @@ declare const DateRangePickerComponent: import("vue").DefineComponent<import("vu
|
|
|
94
94
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
95
95
|
[key: string]: any;
|
|
96
96
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
|
-
"update:value": (
|
|
98
|
-
change: (
|
|
97
|
+
"update:value": (nextValue: DateRange | null) => boolean;
|
|
98
|
+
change: (nextValue: DateRange | null, shortcut?: DateRangeShortcut) => boolean;
|
|
99
99
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
100
|
/** The selected date range value (`v-model:value`). */
|
|
101
101
|
value: {
|
|
@@ -115,7 +115,7 @@ declare const DateRangePickerComponent: import("vue").DefineComponent<import("vu
|
|
|
115
115
|
};
|
|
116
116
|
/** Date range shortcuts for quick selection, shown to the left of the calendar. */
|
|
117
117
|
shortcuts: PropType<DateRangeShortcut[]>;
|
|
118
|
-
/**
|
|
118
|
+
/** Preferred side; collisions can flip it. On phones, left and right prefer bottom so seven 44px day targets fit. @default "bottom" */
|
|
119
119
|
side: {
|
|
120
120
|
type: PropType<PopoverSide>;
|
|
121
121
|
default: string;
|
|
@@ -184,8 +184,8 @@ declare const DateRangePickerComponent: import("vue").DefineComponent<import("vu
|
|
|
184
184
|
default: boolean;
|
|
185
185
|
};
|
|
186
186
|
}>> & Readonly<{
|
|
187
|
-
onChange?: ((
|
|
188
|
-
"onUpdate:value"?: ((
|
|
187
|
+
onChange?: ((nextValue: DateRange | null, shortcut?: DateRangeShortcut | undefined) => any) | undefined;
|
|
188
|
+
"onUpdate:value"?: ((nextValue: DateRange | null) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
190
|
value: DateRange | null;
|
|
191
191
|
disabled: boolean;
|
|
@@ -227,7 +227,7 @@ export declare const DateRangePicker: import("vue").DefineComponent<import("vue"
|
|
|
227
227
|
};
|
|
228
228
|
/** Date range shortcuts for quick selection, shown to the left of the calendar. */
|
|
229
229
|
shortcuts: PropType<DateRangeShortcut[]>;
|
|
230
|
-
/**
|
|
230
|
+
/** Preferred side; collisions can flip it. On phones, left and right prefer bottom so seven 44px day targets fit. @default "bottom" */
|
|
231
231
|
side: {
|
|
232
232
|
type: PropType<PopoverSide>;
|
|
233
233
|
default: string;
|
|
@@ -298,8 +298,8 @@ export declare const DateRangePicker: import("vue").DefineComponent<import("vue"
|
|
|
298
298
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
299
299
|
[key: string]: any;
|
|
300
300
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
301
|
-
"update:value": (
|
|
302
|
-
change: (
|
|
301
|
+
"update:value": (nextValue: DateRange | null) => boolean;
|
|
302
|
+
change: (nextValue: DateRange | null, shortcut?: DateRangeShortcut) => boolean;
|
|
303
303
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
304
304
|
/** The selected date range value (`v-model:value`). */
|
|
305
305
|
value: {
|
|
@@ -319,7 +319,7 @@ export declare const DateRangePicker: import("vue").DefineComponent<import("vue"
|
|
|
319
319
|
};
|
|
320
320
|
/** Date range shortcuts for quick selection, shown to the left of the calendar. */
|
|
321
321
|
shortcuts: PropType<DateRangeShortcut[]>;
|
|
322
|
-
/**
|
|
322
|
+
/** Preferred side; collisions can flip it. On phones, left and right prefer bottom so seven 44px day targets fit. @default "bottom" */
|
|
323
323
|
side: {
|
|
324
324
|
type: PropType<PopoverSide>;
|
|
325
325
|
default: string;
|
|
@@ -388,8 +388,8 @@ export declare const DateRangePicker: import("vue").DefineComponent<import("vue"
|
|
|
388
388
|
default: boolean;
|
|
389
389
|
};
|
|
390
390
|
}>> & Readonly<{
|
|
391
|
-
onChange?: ((
|
|
392
|
-
"onUpdate:value"?: ((
|
|
391
|
+
onChange?: ((nextValue: DateRange | null, shortcut?: DateRangeShortcut | undefined) => any) | undefined;
|
|
392
|
+
"onUpdate:value"?: ((nextValue: DateRange | null) => any) | undefined;
|
|
393
393
|
}>, {
|
|
394
394
|
value: DateRange | null;
|
|
395
395
|
disabled: boolean;
|
|
@@ -8,21 +8,20 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
8
8
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
"update:open": (
|
|
11
|
+
"update:open": (open: boolean) => boolean;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
open: {
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: undefined;
|
|
16
16
|
};
|
|
17
17
|
}>> & Readonly<{
|
|
18
|
-
"onUpdate:open"?: ((
|
|
18
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
open: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
22
|
export declare const DialogTrigger: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
24
|
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
/** Overlay and panel. `class` lands on the panel, like `className` in React. */
|
|
26
25
|
export declare const DialogContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
27
26
|
/** Panel width; numbers are pixels. @default 480 */
|
|
28
27
|
width: {
|
|
@@ -51,10 +50,15 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
51
50
|
type: PropType<DialogPlacement>;
|
|
52
51
|
default: string;
|
|
53
52
|
};
|
|
54
|
-
/** Placement at
|
|
53
|
+
/** Placement at 767px and below, such as a bottom sheet on phones. @default placement */
|
|
55
54
|
mobilePlacement: PropType<Extract<DialogPlacement, "center" | "bottom" | "fullscreen">>;
|
|
56
|
-
/** Mobile presentation at
|
|
55
|
+
/** Mobile presentation at 767px and below. Sheets default to bottom placement. */
|
|
57
56
|
mobileVariant: PropType<"alert" | "sheet">;
|
|
57
|
+
/** Mobile panel palette; dark mode uses elevated surfaces. @default "plain" */
|
|
58
|
+
surface: {
|
|
59
|
+
type: PropType<"plain" | "grouped">;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
58
62
|
/** Called when focus moves into the dialog on open; `event.preventDefault()` keeps it for you to place. */
|
|
59
63
|
onOpenAutoFocus: PropType<(event: Event) => void>;
|
|
60
64
|
/** Called when focus returns on close; `event.preventDefault()` keeps it elsewhere. */
|
|
@@ -89,10 +93,15 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
89
93
|
type: PropType<DialogPlacement>;
|
|
90
94
|
default: string;
|
|
91
95
|
};
|
|
92
|
-
/** Placement at
|
|
96
|
+
/** Placement at 767px and below, such as a bottom sheet on phones. @default placement */
|
|
93
97
|
mobilePlacement: PropType<Extract<DialogPlacement, "center" | "bottom" | "fullscreen">>;
|
|
94
|
-
/** Mobile presentation at
|
|
98
|
+
/** Mobile presentation at 767px and below. Sheets default to bottom placement. */
|
|
95
99
|
mobileVariant: PropType<"alert" | "sheet">;
|
|
100
|
+
/** Mobile panel palette; dark mode uses elevated surfaces. @default "plain" */
|
|
101
|
+
surface: {
|
|
102
|
+
type: PropType<"plain" | "grouped">;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
96
105
|
/** Called when focus moves into the dialog on open; `event.preventDefault()` keeps it for you to place. */
|
|
97
106
|
onOpenAutoFocus: PropType<(event: Event) => void>;
|
|
98
107
|
/** Called when focus returns on close; `event.preventDefault()` keeps it elsewhere. */
|
|
@@ -100,12 +109,26 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
100
109
|
}>> & Readonly<{}>, {
|
|
101
110
|
width: string | number;
|
|
102
111
|
pill: boolean;
|
|
103
|
-
showClose: boolean;
|
|
104
112
|
placement: DialogPlacement;
|
|
113
|
+
showClose: boolean;
|
|
114
|
+
surface: "plain" | "grouped";
|
|
105
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
|
-
export
|
|
116
|
+
export type DialogBarBackground = "glass" | "solid";
|
|
117
|
+
export declare const DialogHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
118
|
+
background: {
|
|
119
|
+
type: PropType<DialogBarBackground>;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
107
123
|
[key: string]: any;
|
|
108
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
124
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
125
|
+
background: {
|
|
126
|
+
type: PropType<DialogBarBackground>;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
}>> & Readonly<{}>, {
|
|
130
|
+
background: DialogBarBackground;
|
|
131
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
132
|
export declare const DialogHeaderAction: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
110
133
|
[key: string]: any;
|
|
111
134
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -116,12 +139,22 @@ export declare const DialogBody: import("vue").DefineComponent<{}, () => VNode<i
|
|
|
116
139
|
export declare const DialogFooter: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
117
140
|
/** Override the mobile action layout. Alerts default to inline; sheets to stacked. */
|
|
118
141
|
mobileLayout: PropType<"inline" | "stacked">;
|
|
142
|
+
background: {
|
|
143
|
+
type: PropType<DialogBarBackground>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
119
146
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
120
147
|
[key: string]: any;
|
|
121
148
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
122
149
|
/** Override the mobile action layout. Alerts default to inline; sheets to stacked. */
|
|
123
150
|
mobileLayout: PropType<"inline" | "stacked">;
|
|
124
|
-
|
|
151
|
+
background: {
|
|
152
|
+
type: PropType<DialogBarBackground>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{}>, {
|
|
156
|
+
background: DialogBarBackground;
|
|
157
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
125
158
|
export declare const DialogTitle: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
126
159
|
[key: string]: any;
|
|
127
160
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -137,3 +170,5 @@ export type DialogPlacement = "center" | "top" | "bottom" | "start" | "end" | "f
|
|
|
137
170
|
export type DialogContentProps = InstanceType<typeof DialogContent>["$props"] & {
|
|
138
171
|
class?: HTMLAttributes["class"];
|
|
139
172
|
};
|
|
173
|
+
export type DialogHeaderProps = InstanceType<typeof DialogHeader>["$props"];
|
|
174
|
+
export type DialogFooterProps = InstanceType<typeof DialogFooter>["$props"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderAction, DialogTitle, DialogTrigger, type DialogContentProps, type DialogPlacement, type DialogProps, } from "./Dialog.js";
|
|
1
|
+
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderAction, DialogTitle, DialogTrigger, type DialogBarBackground, type DialogHeaderProps, type DialogFooterProps, type DialogContentProps, type DialogPlacement, type DialogProps, } from "./Dialog.js";
|
|
@@ -30,7 +30,7 @@ declare const FieldComponent: import("vue").DefineComponent<import("vue").Extrac
|
|
|
30
30
|
};
|
|
31
31
|
/** Layout direction of label and control. @default "horizontal" on a `row`, else "vertical" */
|
|
32
32
|
orientation: PropType<"vertical" | "horizontal">;
|
|
33
|
-
/** One line of a FieldGroup
|
|
33
|
+
/** One line of a FieldGroup. Its non-interactive area focuses the text editor or activates the choice control or popup trigger. @default false */
|
|
34
34
|
row: {
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
@@ -67,7 +67,7 @@ declare const FieldComponent: import("vue").DefineComponent<import("vue").Extrac
|
|
|
67
67
|
};
|
|
68
68
|
/** Layout direction of label and control. @default "horizontal" on a `row`, else "vertical" */
|
|
69
69
|
orientation: PropType<"vertical" | "horizontal">;
|
|
70
|
-
/** One line of a FieldGroup
|
|
70
|
+
/** One line of a FieldGroup. Its non-interactive area focuses the text editor or activates the choice control or popup trigger. @default false */
|
|
71
71
|
row: {
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: boolean;
|
|
@@ -62,7 +62,7 @@ export declare const FileUpload: import("vue").DefineComponent<import("vue").Ext
|
|
|
62
62
|
type: BooleanConstructor;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
-
/** Maximum number of files.
|
|
65
|
+
/** Maximum number of files. In multiple mode, the button disables at the limit. */
|
|
66
66
|
maxFiles: NumberConstructor;
|
|
67
67
|
/** Maximum file size in bytes */
|
|
68
68
|
maxSize: NumberConstructor;
|
|
@@ -89,9 +89,9 @@ export declare const FileUpload: import("vue").DefineComponent<import("vue").Ext
|
|
|
89
89
|
[key: string]: any;
|
|
90
90
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
91
|
/** Files were added or removed (`v-model:value`) */
|
|
92
|
-
"update:value": (
|
|
92
|
+
"update:value": (files: File[]) => boolean;
|
|
93
93
|
/** A file was rejected (wrong type, too large, over the limit) */
|
|
94
|
-
fileReject: (
|
|
94
|
+
fileReject: (file: File, reason: string) => boolean;
|
|
95
95
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
96
|
/** Visual variant: compact button or larger tappable area. @default "compact" */
|
|
97
97
|
variant: {
|
|
@@ -109,7 +109,7 @@ export declare const FileUpload: import("vue").DefineComponent<import("vue").Ext
|
|
|
109
109
|
type: BooleanConstructor;
|
|
110
110
|
default: boolean;
|
|
111
111
|
};
|
|
112
|
-
/** Maximum number of files.
|
|
112
|
+
/** Maximum number of files. In multiple mode, the button disables at the limit. */
|
|
113
113
|
maxFiles: NumberConstructor;
|
|
114
114
|
/** Maximum file size in bytes */
|
|
115
115
|
maxSize: NumberConstructor;
|
|
@@ -133,8 +133,8 @@ export declare const FileUpload: import("vue").DefineComponent<import("vue").Ext
|
|
|
133
133
|
/** Id of the hidden file input */
|
|
134
134
|
id: StringConstructor;
|
|
135
135
|
}>> & Readonly<{
|
|
136
|
-
"onUpdate:value"?: ((
|
|
137
|
-
onFileReject?: ((
|
|
136
|
+
"onUpdate:value"?: ((files: File[]) => any) | undefined;
|
|
137
|
+
onFileReject?: ((file: File, reason: string) => any) | undefined;
|
|
138
138
|
}>, {
|
|
139
139
|
invalid: boolean;
|
|
140
140
|
multiple: boolean;
|
|
@@ -84,9 +84,9 @@ declare const FloatingLabelInputComponent: import("vue").DefineComponent<import(
|
|
|
84
84
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
85
85
|
[key: string]: any;
|
|
86
86
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
87
|
-
"update:value": (
|
|
87
|
+
"update:value": (value: string) => boolean;
|
|
88
88
|
autofill: () => true;
|
|
89
|
-
revealedChange: (
|
|
89
|
+
revealedChange: (revealed: boolean) => boolean;
|
|
90
90
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
91
|
/** Label text for the floating label */
|
|
92
92
|
label: {
|
|
@@ -164,9 +164,9 @@ declare const FloatingLabelInputComponent: import("vue").DefineComponent<import(
|
|
|
164
164
|
default: undefined;
|
|
165
165
|
};
|
|
166
166
|
}>> & Readonly<{
|
|
167
|
-
"onUpdate:value"?: ((
|
|
167
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
168
168
|
onAutofill?: (() => any) | undefined;
|
|
169
|
-
onRevealedChange?: ((
|
|
169
|
+
onRevealedChange?: ((revealed: boolean) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
171
|
invalid: boolean;
|
|
172
172
|
type: string;
|
|
@@ -182,6 +182,7 @@ export { default as Desktop } from "./svg/Desktop.js";
|
|
|
182
182
|
export { default as DiceRandomize } from "./svg/DiceRandomize.js";
|
|
183
183
|
export { default as DiningEvents } from "./svg/DiningEvents.js";
|
|
184
184
|
export { default as DisabledCursor } from "./svg/DisabledCursor.js";
|
|
185
|
+
export { default as Disclosure } from "./svg/Disclosure.js";
|
|
185
186
|
export { default as Dock } from "./svg/Dock.js";
|
|
186
187
|
export { default as DollarCircle } from "./svg/DollarCircle.js";
|
|
187
188
|
export { default as Dot } from "./svg/Dot.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type HTMLAttributes, type PropType } from "vue";
|
|
2
2
|
declare const LoadingIndicatorComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
/** Size of the indicator, in pixels. Defaults to 1em. */
|
|
3
|
+
/** Size of the indicator, in pixels. Defaults to 1em, or 30px with the touch stylesheet. */
|
|
4
4
|
size: PropType<number | string>;
|
|
5
5
|
/** Stroke width of the indicator, in pixels. Defaults to 2. */
|
|
6
6
|
strokeWidth: NumberConstructor;
|
|
7
7
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
/** Size of the indicator, in pixels. Defaults to 1em. */
|
|
10
|
+
/** Size of the indicator, in pixels. Defaults to 1em, or 30px with the touch stylesheet. */
|
|
11
11
|
size: PropType<number | string>;
|
|
12
12
|
/** Stroke width of the indicator, in pixels. Defaults to 2. */
|
|
13
13
|
strokeWidth: NumberConstructor;
|
|
@@ -77,7 +77,7 @@ declare const InputComponent: import("vue").DefineComponent<import("vue").Extrac
|
|
|
77
77
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
78
|
[key: string]: any;
|
|
79
79
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
|
-
"update:value": (
|
|
80
|
+
"update:value": (value: string) => boolean;
|
|
81
81
|
autofill: () => true;
|
|
82
82
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
/** Visual style of the input. @default "outline" */
|
|
@@ -154,7 +154,7 @@ declare const InputComponent: import("vue").DefineComponent<import("vue").Extrac
|
|
|
154
154
|
/** Native `autocomplete` of the <input>. */
|
|
155
155
|
autoComplete: StringConstructor;
|
|
156
156
|
}>> & Readonly<{
|
|
157
|
-
"onUpdate:value"?: ((
|
|
157
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
158
158
|
onAutofill?: (() => any) | undefined;
|
|
159
159
|
}>, {
|
|
160
160
|
invalid: boolean;
|
|
@@ -53,9 +53,9 @@ declare const MarkdownEditorComponent: import("vue").DefineComponent<import("vue
|
|
|
53
53
|
[key: string]: any;
|
|
54
54
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
55
|
/** The editor's markdown after a change (`v-model:value`) */
|
|
56
|
-
"update:value": (
|
|
56
|
+
"update:value": (markdown: string) => boolean;
|
|
57
57
|
/** Same as `update:value` (React's `onChange`) */
|
|
58
|
-
change: (
|
|
58
|
+
change: (markdown: string) => boolean;
|
|
59
59
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
/** Visual style of the editor. @default "outline" */
|
|
61
61
|
variant: {
|
|
@@ -103,8 +103,8 @@ declare const MarkdownEditorComponent: import("vue").DefineComponent<import("vue
|
|
|
103
103
|
default: undefined;
|
|
104
104
|
};
|
|
105
105
|
}>> & Readonly<{
|
|
106
|
-
onChange?: ((
|
|
107
|
-
"onUpdate:value"?: ((
|
|
106
|
+
onChange?: ((markdown: string) => any) | undefined;
|
|
107
|
+
"onUpdate:value"?: ((markdown: string) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
invalid: boolean;
|
|
110
110
|
value: string;
|
|
@@ -168,9 +168,9 @@ export declare const MarkdownEditor: import("vue").DefineComponent<import("vue")
|
|
|
168
168
|
[key: string]: any;
|
|
169
169
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
170
170
|
/** The editor's markdown after a change (`v-model:value`) */
|
|
171
|
-
"update:value": (
|
|
171
|
+
"update:value": (markdown: string) => boolean;
|
|
172
172
|
/** Same as `update:value` (React's `onChange`) */
|
|
173
|
-
change: (
|
|
173
|
+
change: (markdown: string) => boolean;
|
|
174
174
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
175
175
|
/** Visual style of the editor. @default "outline" */
|
|
176
176
|
variant: {
|
|
@@ -218,8 +218,8 @@ export declare const MarkdownEditor: import("vue").DefineComponent<import("vue")
|
|
|
218
218
|
default: undefined;
|
|
219
219
|
};
|
|
220
220
|
}>> & Readonly<{
|
|
221
|
-
onChange?: ((
|
|
222
|
-
"onUpdate:value"?: ((
|
|
221
|
+
onChange?: ((markdown: string) => any) | undefined;
|
|
222
|
+
"onUpdate:value"?: ((markdown: string) => any) | undefined;
|
|
223
223
|
}>, {
|
|
224
224
|
invalid: boolean;
|
|
225
225
|
value: string;
|
|
@@ -131,7 +131,7 @@ export declare const MenuContent: import("vue").DefineComponent<import("vue").Ex
|
|
|
131
131
|
* `event.preventDefault()` to keep the trigger from regaining focus (and
|
|
132
132
|
* its focus-visible ring).
|
|
133
133
|
*/
|
|
134
|
-
closeAutoFocus: (
|
|
134
|
+
closeAutoFocus: (event: Event) => boolean;
|
|
135
135
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
136
136
|
/**
|
|
137
137
|
* The preferred side of the trigger to render against when open. Will be reversed when collisions occur.
|
|
@@ -187,7 +187,7 @@ export declare const MenuContent: import("vue").DefineComponent<import("vue").Ex
|
|
|
187
187
|
default: boolean;
|
|
188
188
|
};
|
|
189
189
|
}>> & Readonly<{
|
|
190
|
-
onCloseAutoFocus?: ((
|
|
190
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
191
191
|
}>, {
|
|
192
192
|
layout: "vertical" | "horizontal";
|
|
193
193
|
pill: boolean;
|
|
@@ -264,12 +264,12 @@ export declare const MenuItemAction: import("vue").DefineComponent<import("vue")
|
|
|
264
264
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
265
265
|
[key: string]: any;
|
|
266
266
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
267
|
-
click: (
|
|
267
|
+
click: (event: MouseEvent) => boolean;
|
|
268
268
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
269
269
|
/** Accessible name; the action is an icon-only button */
|
|
270
270
|
ariaLabel: StringConstructor;
|
|
271
271
|
}>> & Readonly<{
|
|
272
|
-
onClick?: ((
|
|
272
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
273
273
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
274
274
|
type RouteTarget = string | Record<string, unknown>;
|
|
275
275
|
/**
|
|
@@ -396,10 +396,7 @@ export declare const MenuSubContent: import("vue").DefineComponent<import("vue")
|
|
|
396
396
|
default: string;
|
|
397
397
|
};
|
|
398
398
|
/** Defines the `min-width` property of the content. @default "auto" */
|
|
399
|
-
minWidth:
|
|
400
|
-
type: PropType<SizeValue>;
|
|
401
|
-
default: string;
|
|
402
|
-
};
|
|
399
|
+
minWidth: PropType<SizeValue>;
|
|
403
400
|
/** Defines the `max-height` property of the content, in pixels. */
|
|
404
401
|
maxHeight: NumberConstructor;
|
|
405
402
|
/**
|
|
@@ -429,10 +426,7 @@ export declare const MenuSubContent: import("vue").DefineComponent<import("vue")
|
|
|
429
426
|
default: string;
|
|
430
427
|
};
|
|
431
428
|
/** Defines the `min-width` property of the content. @default "auto" */
|
|
432
|
-
minWidth:
|
|
433
|
-
type: PropType<SizeValue>;
|
|
434
|
-
default: string;
|
|
435
|
-
};
|
|
429
|
+
minWidth: PropType<SizeValue>;
|
|
436
430
|
/** Defines the `max-height` property of the content, in pixels. */
|
|
437
431
|
maxHeight: NumberConstructor;
|
|
438
432
|
/**
|
|
@@ -446,7 +440,6 @@ export declare const MenuSubContent: import("vue").DefineComponent<import("vue")
|
|
|
446
440
|
}>> & Readonly<{}>, {
|
|
447
441
|
width: SizeValue;
|
|
448
442
|
pill: boolean;
|
|
449
|
-
minWidth: SizeValue;
|
|
450
443
|
sideOffset: number;
|
|
451
444
|
alignOffset: number;
|
|
452
445
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -465,9 +458,9 @@ export declare const MenuRadioGroup: import("vue").DefineComponent<import("vue")
|
|
|
465
458
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
466
459
|
[key: string]: any;
|
|
467
460
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
468
|
-
"update:value": (
|
|
461
|
+
"update:value": (value: string) => boolean;
|
|
469
462
|
/** Fired when selection changes */
|
|
470
|
-
change: (
|
|
463
|
+
change: (value: string) => boolean;
|
|
471
464
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
472
465
|
/** The selected value (`v-model:value`) */
|
|
473
466
|
value: StringConstructor;
|
|
@@ -480,8 +473,8 @@ export declare const MenuRadioGroup: import("vue").DefineComponent<import("vue")
|
|
|
480
473
|
default: string;
|
|
481
474
|
};
|
|
482
475
|
}>> & Readonly<{
|
|
483
|
-
onChange?: ((
|
|
484
|
-
"onUpdate:value"?: ((
|
|
476
|
+
onChange?: ((value: string) => any) | undefined;
|
|
477
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
485
478
|
}>, {
|
|
486
479
|
indicatorPosition: "end" | "start";
|
|
487
480
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -500,7 +493,7 @@ export declare const MenuRadioItem: import("vue").DefineComponent<import("vue").
|
|
|
500
493
|
[key: string]: any;
|
|
501
494
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
502
495
|
/** The radio item was pressed; `event.preventDefault()` keeps the menu open */
|
|
503
|
-
select: (
|
|
496
|
+
select: (event: Event) => boolean;
|
|
504
497
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
505
498
|
value: {
|
|
506
499
|
type: StringConstructor;
|
|
@@ -512,7 +505,7 @@ export declare const MenuRadioItem: import("vue").DefineComponent<import("vue").
|
|
|
512
505
|
default: boolean;
|
|
513
506
|
};
|
|
514
507
|
}>> & Readonly<{
|
|
515
|
-
onSelect?: ((
|
|
508
|
+
onSelect?: ((event: Event) => any) | undefined;
|
|
516
509
|
}>, {
|
|
517
510
|
disabled: boolean;
|
|
518
511
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -547,11 +540,11 @@ export declare const MenuCheckboxItem: import("vue").DefineComponent<import("vue
|
|
|
547
540
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
548
541
|
[key: string]: any;
|
|
549
542
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
550
|
-
"update:checked": (
|
|
543
|
+
"update:checked": (checked: boolean) => boolean;
|
|
551
544
|
/** Event handler called when the checked state changes */
|
|
552
|
-
checkedChange: (
|
|
545
|
+
checkedChange: (checked: boolean) => boolean;
|
|
553
546
|
/** The checkbox item was pressed; `event.preventDefault()` keeps the menu open */
|
|
554
|
-
select: (
|
|
547
|
+
select: (event: Event) => boolean;
|
|
555
548
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
556
549
|
/** Checked state of the checkbox item (`v-model:checked`) */
|
|
557
550
|
checked: {
|
|
@@ -580,9 +573,9 @@ export declare const MenuCheckboxItem: import("vue").DefineComponent<import("vue
|
|
|
580
573
|
default: string;
|
|
581
574
|
};
|
|
582
575
|
}>> & Readonly<{
|
|
583
|
-
onSelect?: ((
|
|
584
|
-
"onUpdate:checked"?: ((
|
|
585
|
-
onCheckedChange?: ((
|
|
576
|
+
onSelect?: ((event: Event) => any) | undefined;
|
|
577
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
578
|
+
onCheckedChange?: ((checked: boolean) => any) | undefined;
|
|
586
579
|
}>, {
|
|
587
580
|
disabled: boolean;
|
|
588
581
|
checked: CheckedState;
|
|
@@ -29,9 +29,9 @@ export declare const OTPInput: import("vue").DefineComponent<import("vue").Extra
|
|
|
29
29
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
-
"update:value": (
|
|
33
|
-
change: (
|
|
34
|
-
complete: (
|
|
32
|
+
"update:value": (value: string) => boolean;
|
|
33
|
+
change: (value: string) => boolean;
|
|
34
|
+
complete: (value: string) => boolean;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
/** Number of digit cells. @default 6 */
|
|
37
37
|
length: {
|
|
@@ -55,9 +55,9 @@ export declare const OTPInput: import("vue").DefineComponent<import("vue").Extra
|
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
57
|
}>> & Readonly<{
|
|
58
|
-
onChange?: ((
|
|
59
|
-
"onUpdate:value"?: ((
|
|
60
|
-
onComplete?: ((
|
|
58
|
+
onChange?: ((value: string) => any) | undefined;
|
|
59
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
60
|
+
onComplete?: ((value: string) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
62
|
invalid: boolean;
|
|
63
63
|
disabled: boolean;
|