@hydrateless/vue 0.7.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/README.md +126 -43
- package/dist/index.d.ts +2387 -943
- package/dist/index.js +1300 -1391
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,164 +1,824 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { Ref,
|
|
2
|
+
import { Ref, MaybeRefOrGetter, WatchSource, ShallowRef, ExtractPublicPropTypes, PropType, VNode } from 'vue';
|
|
3
3
|
import * as _hydrateless_enhancers from '@hydrateless/enhancers';
|
|
4
|
-
import { EnhancerHandle, EnhanceToastOptions, ToastApi, EnhanceTabsOptions, EnhanceDropdownOptions, EnhanceMenuOptions, EnhanceComboboxOptions } from '@hydrateless/enhancers';
|
|
5
|
-
export { AccordionApi, ComboboxApi, Disposer, DrawerApi, DropdownApi, EnhancerHandle, ModalApi, PopoverApi, TabsApi, ToastApi, TooltipApi } from '@hydrateless/enhancers';
|
|
4
|
+
import { EnhancerHandle, EnhanceToastOptions, ToastApi, EnhanceTabsOptions, EnhanceDropdownOptions, EnhanceMenuOptions, EnhancePopoverOptions, EnhanceTooltipOptions, EnhanceComboboxOptions } from '@hydrateless/enhancers';
|
|
5
|
+
export { AccordionApi, ComboboxApi, CommandApi, DisclosureApi, Disposer, DrawerApi, DropdownApi, EnhancerHandle, MenuApi, ModalApi, PopoverApi, TabsApi, ToastApi, ToastIntent, ToastOptions, TocApi, TooltipApi } from '@hydrateless/enhancers';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Attach
|
|
9
|
-
* component.
|
|
10
|
-
*
|
|
8
|
+
* Attach a Hydrateless enhancer to a template ref for the lifetime of the
|
|
9
|
+
* component. This is the one low-level escape hatch in `@hydrateless/vue`:
|
|
10
|
+
* every component in the package is built on it, and you can use it directly
|
|
11
|
+
* for markup the components don't cover. Returns a shallow ref to the
|
|
12
|
+
* enhancer's imperative API (`setValue`, `setOpen`, and so on), `null` until
|
|
13
|
+
* mounted. The enhancer runs client-side only, so components stay SSR-safe,
|
|
14
|
+
* and is destroyed on unmount. `options` may be a getter; it's re-read, and
|
|
15
|
+
* the enhancer re-attached, whenever `deps` changes.
|
|
11
16
|
*
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
17
|
+
* ```vue
|
|
18
|
+
* <script setup>
|
|
19
|
+
* import { useTemplateRef } from 'vue';
|
|
20
|
+
* import { enhanceTabs } from '@hydrateless/enhancers';
|
|
21
|
+
* const host = useTemplateRef('host');
|
|
22
|
+
* const api = useEnhancer(host, enhanceTabs, { activation: 'automatic' });
|
|
23
|
+
* // api.value?.setValue('two');
|
|
24
|
+
* </script>
|
|
25
|
+
* <template><div data-hl-tabs ref="host">...</div></template>
|
|
16
26
|
* ```
|
|
17
27
|
*/
|
|
18
|
-
declare function useEnhancer<
|
|
28
|
+
declare function useEnhancer<Options extends object, Api>(el: Ref<HTMLElement | null>, enhancer: (container: HTMLElement, options?: Partial<Options>) => EnhancerHandle<Api>, options?: MaybeRefOrGetter<Partial<Options>>, deps?: WatchSource<unknown>): ShallowRef<Api | null>;
|
|
19
29
|
|
|
20
30
|
/**
|
|
21
|
-
* Imperative toast API
|
|
22
|
-
* `[data-hl-toast-region]`
|
|
23
|
-
*
|
|
31
|
+
* Imperative toast API: `show(message, { duration, intent })` and
|
|
32
|
+
* `dismiss(toast)`. Toasts render into the page's `[data-hl-toast-region]`
|
|
33
|
+
* (mount a `<ToastRegion>` once near the app root) or into a region created
|
|
34
|
+
* on demand, so no provider is required and it's safe to call from any
|
|
35
|
+
* component.
|
|
24
36
|
*/
|
|
25
37
|
declare function useToast(options?: EnhanceToastOptions): ToastApi;
|
|
26
38
|
|
|
39
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
40
|
+
/** Bindings a control inside a `<Field>` reads through {@link useField}. */
|
|
41
|
+
interface FieldBindings {
|
|
42
|
+
/** Id shared by the control and its `<FieldLabel>`. */
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/** Space-separated ids of the rendered help and error text, if any. */
|
|
45
|
+
readonly describedBy: string | undefined;
|
|
46
|
+
readonly invalid: boolean;
|
|
47
|
+
readonly required: boolean;
|
|
48
|
+
}
|
|
49
|
+
declare const fieldProps: {
|
|
50
|
+
readonly id: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: undefined;
|
|
53
|
+
};
|
|
54
|
+
/** Renders a `<FieldLabel>`; the `label` slot takes precedence. */
|
|
55
|
+
readonly label: {
|
|
56
|
+
readonly type: StringConstructor;
|
|
57
|
+
readonly default: undefined;
|
|
58
|
+
};
|
|
59
|
+
/** Renders a `<FieldHelp>`. */
|
|
60
|
+
readonly description: {
|
|
61
|
+
readonly type: StringConstructor;
|
|
62
|
+
readonly default: undefined;
|
|
63
|
+
};
|
|
64
|
+
/** Renders a `<FieldError>` and marks the field invalid. */
|
|
65
|
+
readonly error: {
|
|
66
|
+
readonly type: StringConstructor;
|
|
67
|
+
readonly default: undefined;
|
|
68
|
+
};
|
|
69
|
+
readonly invalid: {
|
|
70
|
+
readonly type: BooleanConstructor;
|
|
71
|
+
readonly default: false;
|
|
72
|
+
};
|
|
73
|
+
readonly required: {
|
|
74
|
+
readonly type: BooleanConstructor;
|
|
75
|
+
readonly default: false;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
/** Props for {@link Field}. */
|
|
79
|
+
type FieldProps = ExtractPublicPropTypes<typeof fieldProps>;
|
|
27
80
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* Then use `v-hl-tabs`, `v-hl-dropdown`, etc. in templates.
|
|
81
|
+
* Layout + accessibility wrapper for a control. Provides a shared id so
|
|
82
|
+
* `<FieldLabel>`, `<FieldHelp>`, and `<FieldError>` (or the `label`,
|
|
83
|
+
* `description`, and `error` props) wire up automatically, and every
|
|
84
|
+
* Hydrateless control placed inside reads its `id`, `aria-describedby`,
|
|
85
|
+
* `aria-invalid`, and `required` through {@link useField}.
|
|
36
86
|
*/
|
|
37
|
-
declare const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
87
|
+
declare const Field: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
88
|
+
readonly id: {
|
|
89
|
+
readonly type: StringConstructor;
|
|
90
|
+
readonly default: undefined;
|
|
91
|
+
};
|
|
92
|
+
/** Renders a `<FieldLabel>`; the `label` slot takes precedence. */
|
|
93
|
+
readonly label: {
|
|
94
|
+
readonly type: StringConstructor;
|
|
95
|
+
readonly default: undefined;
|
|
96
|
+
};
|
|
97
|
+
/** Renders a `<FieldHelp>`. */
|
|
98
|
+
readonly description: {
|
|
99
|
+
readonly type: StringConstructor;
|
|
100
|
+
readonly default: undefined;
|
|
101
|
+
};
|
|
102
|
+
/** Renders a `<FieldError>` and marks the field invalid. */
|
|
103
|
+
readonly error: {
|
|
104
|
+
readonly type: StringConstructor;
|
|
105
|
+
readonly default: undefined;
|
|
106
|
+
};
|
|
107
|
+
readonly invalid: {
|
|
108
|
+
readonly type: BooleanConstructor;
|
|
109
|
+
readonly default: false;
|
|
110
|
+
};
|
|
111
|
+
readonly required: {
|
|
112
|
+
readonly type: BooleanConstructor;
|
|
113
|
+
readonly default: false;
|
|
114
|
+
};
|
|
115
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
118
|
+
readonly id: {
|
|
119
|
+
readonly type: StringConstructor;
|
|
120
|
+
readonly default: undefined;
|
|
121
|
+
};
|
|
122
|
+
/** Renders a `<FieldLabel>`; the `label` slot takes precedence. */
|
|
123
|
+
readonly label: {
|
|
124
|
+
readonly type: StringConstructor;
|
|
125
|
+
readonly default: undefined;
|
|
126
|
+
};
|
|
127
|
+
/** Renders a `<FieldHelp>`. */
|
|
128
|
+
readonly description: {
|
|
129
|
+
readonly type: StringConstructor;
|
|
130
|
+
readonly default: undefined;
|
|
131
|
+
};
|
|
132
|
+
/** Renders a `<FieldError>` and marks the field invalid. */
|
|
133
|
+
readonly error: {
|
|
134
|
+
readonly type: StringConstructor;
|
|
135
|
+
readonly default: undefined;
|
|
136
|
+
};
|
|
137
|
+
readonly invalid: {
|
|
138
|
+
readonly type: BooleanConstructor;
|
|
139
|
+
readonly default: false;
|
|
140
|
+
};
|
|
141
|
+
readonly required: {
|
|
142
|
+
readonly type: BooleanConstructor;
|
|
143
|
+
readonly default: false;
|
|
144
|
+
};
|
|
145
|
+
}>> & Readonly<{}>, {
|
|
146
|
+
readonly error: string;
|
|
147
|
+
readonly invalid: boolean;
|
|
148
|
+
readonly label: string;
|
|
149
|
+
readonly id: string;
|
|
150
|
+
readonly description: string;
|
|
151
|
+
readonly required: boolean;
|
|
152
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
153
|
+
/**
|
|
154
|
+
* Bindings for a custom control inside a `<Field>` (`id`, `describedBy`,
|
|
155
|
+
* `invalid`, `required`), live as the field's props change. Returns `null`
|
|
156
|
+
* outside a `<Field>`, so controls can read it unconditionally.
|
|
157
|
+
*/
|
|
158
|
+
declare function useField(): FieldBindings | null;
|
|
159
|
+
/** Props for {@link FieldLabel}. */
|
|
160
|
+
type FieldLabelProps = Record<never, never>;
|
|
161
|
+
/** Props for {@link FieldHelp}. */
|
|
162
|
+
type FieldHelpProps = Record<never, never>;
|
|
163
|
+
/** Props for {@link FieldError}. */
|
|
164
|
+
type FieldErrorProps = Record<never, never>;
|
|
165
|
+
/** Props for {@link Fieldset}. */
|
|
166
|
+
type FieldsetProps = Record<never, never>;
|
|
167
|
+
/** Label for a {@link Field}'s control, associated with it by id. */
|
|
168
|
+
declare const FieldLabel: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
169
|
+
[key: string]: any;
|
|
170
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
171
|
+
/** Help text for a {@link Field}, linked to its control via `aria-describedby`. */
|
|
172
|
+
declare const FieldHelp: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
173
|
+
[key: string]: any;
|
|
174
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
/** Validation message for a {@link Field}; renders nothing until it has content. */
|
|
176
|
+
declare const FieldError: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
179
|
+
/** Groups related controls in a native fieldset with an optional `legend` slot. */
|
|
180
|
+
declare const Fieldset: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
181
|
+
[key: string]: any;
|
|
182
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
183
|
+
declare const inputProps: {
|
|
184
|
+
readonly modelValue: {
|
|
185
|
+
readonly type: PropType<string | number>;
|
|
186
|
+
readonly default: undefined;
|
|
187
|
+
};
|
|
188
|
+
readonly size: {
|
|
189
|
+
readonly type: PropType<Size>;
|
|
190
|
+
readonly default: undefined;
|
|
191
|
+
};
|
|
192
|
+
readonly invalid: {
|
|
193
|
+
readonly type: BooleanConstructor;
|
|
194
|
+
readonly default: false;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
/** Props for {@link Input}. */
|
|
198
|
+
type InputProps = ExtractPublicPropTypes<typeof inputProps>;
|
|
199
|
+
/** Text input styled with the `hl-input` primitive. Supports `v-model` and `<Field>` wiring. */
|
|
200
|
+
declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
201
|
+
readonly modelValue: {
|
|
202
|
+
readonly type: PropType<string | number>;
|
|
203
|
+
readonly default: undefined;
|
|
204
|
+
};
|
|
205
|
+
readonly size: {
|
|
206
|
+
readonly type: PropType<Size>;
|
|
207
|
+
readonly default: undefined;
|
|
208
|
+
};
|
|
209
|
+
readonly invalid: {
|
|
210
|
+
readonly type: BooleanConstructor;
|
|
211
|
+
readonly default: false;
|
|
212
|
+
};
|
|
213
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
214
|
+
[key: string]: any;
|
|
215
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
216
|
+
readonly modelValue: {
|
|
217
|
+
readonly type: PropType<string | number>;
|
|
218
|
+
readonly default: undefined;
|
|
219
|
+
};
|
|
220
|
+
readonly size: {
|
|
221
|
+
readonly type: PropType<Size>;
|
|
222
|
+
readonly default: undefined;
|
|
223
|
+
};
|
|
224
|
+
readonly invalid: {
|
|
225
|
+
readonly type: BooleanConstructor;
|
|
226
|
+
readonly default: false;
|
|
227
|
+
};
|
|
228
|
+
}>> & Readonly<{
|
|
229
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
230
|
+
}>, {
|
|
231
|
+
readonly invalid: boolean;
|
|
232
|
+
readonly size: Size;
|
|
233
|
+
readonly modelValue: string | number;
|
|
234
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
235
|
+
declare const textareaProps: {
|
|
236
|
+
readonly modelValue: {
|
|
237
|
+
readonly type: StringConstructor;
|
|
238
|
+
readonly default: undefined;
|
|
239
|
+
};
|
|
240
|
+
/** Grow with the content (`field-sizing: content`). */
|
|
241
|
+
readonly autosize: {
|
|
242
|
+
readonly type: BooleanConstructor;
|
|
243
|
+
readonly default: false;
|
|
244
|
+
};
|
|
245
|
+
readonly size: {
|
|
246
|
+
readonly type: PropType<Size>;
|
|
247
|
+
readonly default: undefined;
|
|
248
|
+
};
|
|
249
|
+
readonly invalid: {
|
|
250
|
+
readonly type: BooleanConstructor;
|
|
251
|
+
readonly default: false;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
/** Props for {@link Textarea}. */
|
|
255
|
+
type TextareaProps = ExtractPublicPropTypes<typeof textareaProps>;
|
|
256
|
+
/** Multi-line text input. Supports `v-model` and `<Field>` wiring. */
|
|
257
|
+
declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
258
|
+
readonly modelValue: {
|
|
259
|
+
readonly type: StringConstructor;
|
|
260
|
+
readonly default: undefined;
|
|
261
|
+
};
|
|
262
|
+
/** Grow with the content (`field-sizing: content`). */
|
|
263
|
+
readonly autosize: {
|
|
264
|
+
readonly type: BooleanConstructor;
|
|
265
|
+
readonly default: false;
|
|
266
|
+
};
|
|
267
|
+
readonly size: {
|
|
268
|
+
readonly type: PropType<Size>;
|
|
269
|
+
readonly default: undefined;
|
|
270
|
+
};
|
|
271
|
+
readonly invalid: {
|
|
272
|
+
readonly type: BooleanConstructor;
|
|
273
|
+
readonly default: false;
|
|
274
|
+
};
|
|
275
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
276
|
+
[key: string]: any;
|
|
277
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
278
|
+
readonly modelValue: {
|
|
279
|
+
readonly type: StringConstructor;
|
|
280
|
+
readonly default: undefined;
|
|
281
|
+
};
|
|
282
|
+
/** Grow with the content (`field-sizing: content`). */
|
|
283
|
+
readonly autosize: {
|
|
284
|
+
readonly type: BooleanConstructor;
|
|
285
|
+
readonly default: false;
|
|
286
|
+
};
|
|
287
|
+
readonly size: {
|
|
288
|
+
readonly type: PropType<Size>;
|
|
289
|
+
readonly default: undefined;
|
|
290
|
+
};
|
|
291
|
+
readonly invalid: {
|
|
292
|
+
readonly type: BooleanConstructor;
|
|
293
|
+
readonly default: false;
|
|
294
|
+
};
|
|
295
|
+
}>> & Readonly<{
|
|
296
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
297
|
+
}>, {
|
|
298
|
+
readonly invalid: boolean;
|
|
299
|
+
readonly size: Size;
|
|
300
|
+
readonly modelValue: string;
|
|
301
|
+
readonly autosize: boolean;
|
|
302
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
303
|
+
declare const selectProps: {
|
|
304
|
+
readonly modelValue: {
|
|
305
|
+
readonly type: StringConstructor;
|
|
306
|
+
readonly default: undefined;
|
|
307
|
+
};
|
|
308
|
+
readonly size: {
|
|
309
|
+
readonly type: PropType<Size>;
|
|
310
|
+
readonly default: undefined;
|
|
311
|
+
};
|
|
312
|
+
readonly invalid: {
|
|
313
|
+
readonly type: BooleanConstructor;
|
|
314
|
+
readonly default: false;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
/** Props for {@link Select}. */
|
|
318
|
+
type SelectProps = ExtractPublicPropTypes<typeof selectProps>;
|
|
319
|
+
/** Native `<select>` styled with `hl-select`. Supports `v-model` and `<Field>` wiring. */
|
|
320
|
+
declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
321
|
+
readonly modelValue: {
|
|
322
|
+
readonly type: StringConstructor;
|
|
323
|
+
readonly default: undefined;
|
|
324
|
+
};
|
|
325
|
+
readonly size: {
|
|
326
|
+
readonly type: PropType<Size>;
|
|
327
|
+
readonly default: undefined;
|
|
328
|
+
};
|
|
329
|
+
readonly invalid: {
|
|
330
|
+
readonly type: BooleanConstructor;
|
|
331
|
+
readonly default: false;
|
|
332
|
+
};
|
|
333
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
334
|
+
[key: string]: any;
|
|
335
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
336
|
+
readonly modelValue: {
|
|
337
|
+
readonly type: StringConstructor;
|
|
338
|
+
readonly default: undefined;
|
|
339
|
+
};
|
|
340
|
+
readonly size: {
|
|
341
|
+
readonly type: PropType<Size>;
|
|
342
|
+
readonly default: undefined;
|
|
343
|
+
};
|
|
344
|
+
readonly invalid: {
|
|
345
|
+
readonly type: BooleanConstructor;
|
|
346
|
+
readonly default: false;
|
|
347
|
+
};
|
|
348
|
+
}>> & Readonly<{
|
|
349
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
350
|
+
}>, {
|
|
351
|
+
readonly invalid: boolean;
|
|
352
|
+
readonly size: Size;
|
|
353
|
+
readonly modelValue: string;
|
|
354
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
355
|
+
declare const checkedProps: {
|
|
356
|
+
readonly modelValue: {
|
|
357
|
+
readonly type: BooleanConstructor;
|
|
358
|
+
readonly default: undefined;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
/** Props for {@link Checkbox}. */
|
|
362
|
+
type CheckboxProps = ExtractPublicPropTypes<typeof checkedProps>;
|
|
363
|
+
/** Props for {@link Switch}. */
|
|
364
|
+
type SwitchProps = ExtractPublicPropTypes<typeof checkedProps>;
|
|
365
|
+
/** Checkbox built on a native input, label-wrapped. Supports `v-model` and `<Field>` wiring. */
|
|
366
|
+
declare const Checkbox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
367
|
+
readonly modelValue: {
|
|
368
|
+
readonly type: BooleanConstructor;
|
|
369
|
+
readonly default: undefined;
|
|
370
|
+
};
|
|
371
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
372
|
+
[key: string]: any;
|
|
373
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
374
|
+
readonly modelValue: {
|
|
375
|
+
readonly type: BooleanConstructor;
|
|
376
|
+
readonly default: undefined;
|
|
377
|
+
};
|
|
378
|
+
}>> & Readonly<{
|
|
379
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
}>, {
|
|
381
|
+
readonly modelValue: boolean;
|
|
382
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
383
|
+
/** Toggle switch built on a native checkbox. Supports `v-model` and `<Field>` wiring. */
|
|
384
|
+
declare const Switch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
385
|
+
readonly modelValue: {
|
|
386
|
+
readonly type: BooleanConstructor;
|
|
387
|
+
readonly default: undefined;
|
|
388
|
+
};
|
|
389
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
390
|
+
[key: string]: any;
|
|
391
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
392
|
+
readonly modelValue: {
|
|
393
|
+
readonly type: BooleanConstructor;
|
|
394
|
+
readonly default: undefined;
|
|
395
|
+
};
|
|
396
|
+
}>> & Readonly<{
|
|
397
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
398
|
+
}>, {
|
|
399
|
+
readonly modelValue: boolean;
|
|
400
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
401
|
+
declare const sliderProps: {
|
|
402
|
+
readonly modelValue: {
|
|
403
|
+
readonly type: PropType<string | number>;
|
|
404
|
+
readonly default: undefined;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
/** Props for {@link Slider}. */
|
|
408
|
+
type SliderProps = ExtractPublicPropTypes<typeof sliderProps>;
|
|
409
|
+
/** Range slider primitive. Supports `v-model` and `<Field>` wiring. */
|
|
410
|
+
declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
411
|
+
readonly modelValue: {
|
|
412
|
+
readonly type: PropType<string | number>;
|
|
413
|
+
readonly default: undefined;
|
|
414
|
+
};
|
|
415
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
416
|
+
[key: string]: any;
|
|
417
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
418
|
+
readonly modelValue: {
|
|
419
|
+
readonly type: PropType<string | number>;
|
|
420
|
+
readonly default: undefined;
|
|
421
|
+
};
|
|
422
|
+
}>> & Readonly<{
|
|
423
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
424
|
+
}>, {
|
|
425
|
+
readonly modelValue: string | number;
|
|
426
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
427
|
+
declare const radioGroupProps: {
|
|
428
|
+
/** Controlled selected value (`v-model`). */
|
|
429
|
+
readonly modelValue: {
|
|
430
|
+
readonly type: StringConstructor;
|
|
431
|
+
readonly default: undefined;
|
|
432
|
+
};
|
|
433
|
+
/** Initially selected value for uncontrolled usage. */
|
|
434
|
+
readonly defaultValue: {
|
|
435
|
+
readonly type: StringConstructor;
|
|
436
|
+
readonly default: undefined;
|
|
437
|
+
};
|
|
438
|
+
/** Shared `name` for the radios; generated when omitted. */
|
|
439
|
+
readonly name: {
|
|
440
|
+
readonly type: StringConstructor;
|
|
441
|
+
readonly default: undefined;
|
|
442
|
+
};
|
|
443
|
+
/** Layout direction; sets `data-hl-orientation` and `aria-orientation`. */
|
|
444
|
+
readonly orientation: {
|
|
445
|
+
readonly type: PropType<"horizontal" | "vertical">;
|
|
446
|
+
readonly default: undefined;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
/** Props for {@link RadioGroup}. */
|
|
450
|
+
type RadioGroupProps = ExtractPublicPropTypes<typeof radioGroupProps>;
|
|
451
|
+
/**
|
|
452
|
+
* Groups radios under `role="radiogroup"`, sharing a name and managing the
|
|
453
|
+
* selected value (uncontrolled via `defaultValue` or controlled via `v-model`).
|
|
454
|
+
*/
|
|
455
|
+
declare const RadioGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
456
|
+
/** Controlled selected value (`v-model`). */
|
|
457
|
+
readonly modelValue: {
|
|
458
|
+
readonly type: StringConstructor;
|
|
459
|
+
readonly default: undefined;
|
|
460
|
+
};
|
|
461
|
+
/** Initially selected value for uncontrolled usage. */
|
|
462
|
+
readonly defaultValue: {
|
|
463
|
+
readonly type: StringConstructor;
|
|
464
|
+
readonly default: undefined;
|
|
465
|
+
};
|
|
466
|
+
/** Shared `name` for the radios; generated when omitted. */
|
|
467
|
+
readonly name: {
|
|
468
|
+
readonly type: StringConstructor;
|
|
469
|
+
readonly default: undefined;
|
|
470
|
+
};
|
|
471
|
+
/** Layout direction; sets `data-hl-orientation` and `aria-orientation`. */
|
|
472
|
+
readonly orientation: {
|
|
473
|
+
readonly type: PropType<"horizontal" | "vertical">;
|
|
474
|
+
readonly default: undefined;
|
|
475
|
+
};
|
|
476
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
477
|
+
[key: string]: any;
|
|
478
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
479
|
+
/** Controlled selected value (`v-model`). */
|
|
480
|
+
readonly modelValue: {
|
|
481
|
+
readonly type: StringConstructor;
|
|
482
|
+
readonly default: undefined;
|
|
483
|
+
};
|
|
484
|
+
/** Initially selected value for uncontrolled usage. */
|
|
485
|
+
readonly defaultValue: {
|
|
486
|
+
readonly type: StringConstructor;
|
|
487
|
+
readonly default: undefined;
|
|
488
|
+
};
|
|
489
|
+
/** Shared `name` for the radios; generated when omitted. */
|
|
490
|
+
readonly name: {
|
|
491
|
+
readonly type: StringConstructor;
|
|
492
|
+
readonly default: undefined;
|
|
493
|
+
};
|
|
494
|
+
/** Layout direction; sets `data-hl-orientation` and `aria-orientation`. */
|
|
495
|
+
readonly orientation: {
|
|
496
|
+
readonly type: PropType<"horizontal" | "vertical">;
|
|
497
|
+
readonly default: undefined;
|
|
498
|
+
};
|
|
499
|
+
}>> & Readonly<{
|
|
500
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
501
|
+
}>, {
|
|
502
|
+
readonly name: string;
|
|
503
|
+
readonly modelValue: string;
|
|
504
|
+
readonly defaultValue: string;
|
|
505
|
+
readonly orientation: "horizontal" | "vertical";
|
|
506
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
507
|
+
declare const radioProps: {
|
|
508
|
+
readonly value: {
|
|
509
|
+
readonly type: StringConstructor;
|
|
510
|
+
readonly required: true;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
/** Props for {@link Radio}. */
|
|
514
|
+
type RadioProps = ExtractPublicPropTypes<typeof radioProps>;
|
|
515
|
+
/** A single radio. Inside a `<RadioGroup>` it binds to the shared value. */
|
|
516
|
+
declare const Radio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
517
|
+
readonly value: {
|
|
518
|
+
readonly type: StringConstructor;
|
|
519
|
+
readonly required: true;
|
|
520
|
+
};
|
|
521
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
522
|
+
[key: string]: any;
|
|
523
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
524
|
+
readonly value: {
|
|
525
|
+
readonly type: StringConstructor;
|
|
526
|
+
readonly required: true;
|
|
527
|
+
};
|
|
528
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
529
|
+
/** One choice in a {@link SegmentedControl}. */
|
|
530
|
+
interface SegmentedOption {
|
|
531
|
+
label: string;
|
|
532
|
+
value: string;
|
|
533
|
+
disabled?: boolean;
|
|
534
|
+
}
|
|
535
|
+
declare const segmentedControlProps: {
|
|
536
|
+
readonly options: {
|
|
537
|
+
readonly type: PropType<SegmentedOption[]>;
|
|
538
|
+
readonly default: () => never[];
|
|
539
|
+
};
|
|
540
|
+
/** Controlled selected value (`v-model`). */
|
|
541
|
+
readonly modelValue: {
|
|
542
|
+
readonly type: StringConstructor;
|
|
543
|
+
readonly default: undefined;
|
|
544
|
+
};
|
|
545
|
+
/** Initially selected value for uncontrolled usage; defaults to the first option. */
|
|
546
|
+
readonly defaultValue: {
|
|
547
|
+
readonly type: StringConstructor;
|
|
548
|
+
readonly default: undefined;
|
|
549
|
+
};
|
|
550
|
+
readonly name: {
|
|
551
|
+
readonly type: StringConstructor;
|
|
552
|
+
readonly default: undefined;
|
|
553
|
+
};
|
|
554
|
+
readonly size: {
|
|
555
|
+
readonly type: PropType<Size>;
|
|
556
|
+
readonly default: undefined;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
/** Props for {@link SegmentedControl}. */
|
|
560
|
+
type SegmentedControlProps = ExtractPublicPropTypes<typeof segmentedControlProps>;
|
|
561
|
+
/**
|
|
562
|
+
* Segmented control: a styled radiogroup. The selected value works
|
|
563
|
+
* uncontrolled (`defaultValue`, else the first option) or with `v-model`.
|
|
564
|
+
*/
|
|
565
|
+
declare const SegmentedControl: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
566
|
+
readonly options: {
|
|
567
|
+
readonly type: PropType<SegmentedOption[]>;
|
|
568
|
+
readonly default: () => never[];
|
|
569
|
+
};
|
|
570
|
+
/** Controlled selected value (`v-model`). */
|
|
571
|
+
readonly modelValue: {
|
|
572
|
+
readonly type: StringConstructor;
|
|
573
|
+
readonly default: undefined;
|
|
574
|
+
};
|
|
575
|
+
/** Initially selected value for uncontrolled usage; defaults to the first option. */
|
|
576
|
+
readonly defaultValue: {
|
|
577
|
+
readonly type: StringConstructor;
|
|
578
|
+
readonly default: undefined;
|
|
579
|
+
};
|
|
580
|
+
readonly name: {
|
|
581
|
+
readonly type: StringConstructor;
|
|
582
|
+
readonly default: undefined;
|
|
583
|
+
};
|
|
584
|
+
readonly size: {
|
|
585
|
+
readonly type: PropType<Size>;
|
|
586
|
+
readonly default: undefined;
|
|
587
|
+
};
|
|
588
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
589
|
+
[key: string]: any;
|
|
590
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
591
|
+
readonly options: {
|
|
592
|
+
readonly type: PropType<SegmentedOption[]>;
|
|
593
|
+
readonly default: () => never[];
|
|
594
|
+
};
|
|
595
|
+
/** Controlled selected value (`v-model`). */
|
|
596
|
+
readonly modelValue: {
|
|
597
|
+
readonly type: StringConstructor;
|
|
598
|
+
readonly default: undefined;
|
|
599
|
+
};
|
|
600
|
+
/** Initially selected value for uncontrolled usage; defaults to the first option. */
|
|
601
|
+
readonly defaultValue: {
|
|
602
|
+
readonly type: StringConstructor;
|
|
603
|
+
readonly default: undefined;
|
|
604
|
+
};
|
|
605
|
+
readonly name: {
|
|
606
|
+
readonly type: StringConstructor;
|
|
607
|
+
readonly default: undefined;
|
|
608
|
+
};
|
|
609
|
+
readonly size: {
|
|
610
|
+
readonly type: PropType<Size>;
|
|
611
|
+
readonly default: undefined;
|
|
612
|
+
};
|
|
613
|
+
}>> & Readonly<{
|
|
614
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
615
|
+
}>, {
|
|
616
|
+
readonly name: string;
|
|
617
|
+
readonly size: Size;
|
|
618
|
+
readonly modelValue: string;
|
|
619
|
+
readonly defaultValue: string;
|
|
620
|
+
readonly options: SegmentedOption[];
|
|
621
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
65
622
|
|
|
623
|
+
declare const accordionProps: {
|
|
624
|
+
readonly allowMultiple: {
|
|
625
|
+
readonly type: BooleanConstructor;
|
|
626
|
+
readonly default: false;
|
|
627
|
+
};
|
|
628
|
+
/** Controlled list of open item values (`v-model`). */
|
|
629
|
+
readonly modelValue: {
|
|
630
|
+
readonly type: PropType<string[]>;
|
|
631
|
+
readonly default: undefined;
|
|
632
|
+
};
|
|
633
|
+
/** Initially open item values for uncontrolled usage. */
|
|
634
|
+
readonly defaultValue: {
|
|
635
|
+
readonly type: PropType<string[]>;
|
|
636
|
+
readonly default: undefined;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
/** Props for {@link Accordion}. */
|
|
640
|
+
type AccordionProps = ExtractPublicPropTypes<typeof accordionProps>;
|
|
66
641
|
/**
|
|
67
642
|
* Accordion root of native `<details>` items. Compose with `<AccordionItem>`.
|
|
68
643
|
* Item values come from each `<AccordionItem value>`, defaulting to the index;
|
|
69
|
-
* open state works uncontrolled (`defaultValue` or `
|
|
70
|
-
* with `v-model`.
|
|
644
|
+
* open state works uncontrolled (`defaultValue`) or with `v-model`.
|
|
71
645
|
*/
|
|
72
646
|
declare const Accordion: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
73
|
-
allowMultiple: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
default:
|
|
647
|
+
readonly allowMultiple: {
|
|
648
|
+
readonly type: BooleanConstructor;
|
|
649
|
+
readonly default: false;
|
|
76
650
|
};
|
|
77
651
|
/** Controlled list of open item values (`v-model`). */
|
|
78
|
-
modelValue: {
|
|
79
|
-
type: PropType<string[]>;
|
|
80
|
-
default: undefined;
|
|
652
|
+
readonly modelValue: {
|
|
653
|
+
readonly type: PropType<string[]>;
|
|
654
|
+
readonly default: undefined;
|
|
81
655
|
};
|
|
82
656
|
/** Initially open item values for uncontrolled usage. */
|
|
83
|
-
defaultValue: {
|
|
84
|
-
type: PropType<string[]>;
|
|
85
|
-
default: undefined;
|
|
657
|
+
readonly defaultValue: {
|
|
658
|
+
readonly type: PropType<string[]>;
|
|
659
|
+
readonly default: undefined;
|
|
86
660
|
};
|
|
87
661
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
88
662
|
[key: string]: any;
|
|
89
663
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
90
|
-
allowMultiple: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default:
|
|
664
|
+
readonly allowMultiple: {
|
|
665
|
+
readonly type: BooleanConstructor;
|
|
666
|
+
readonly default: false;
|
|
93
667
|
};
|
|
94
668
|
/** Controlled list of open item values (`v-model`). */
|
|
95
|
-
modelValue: {
|
|
96
|
-
type: PropType<string[]>;
|
|
97
|
-
default: undefined;
|
|
669
|
+
readonly modelValue: {
|
|
670
|
+
readonly type: PropType<string[]>;
|
|
671
|
+
readonly default: undefined;
|
|
98
672
|
};
|
|
99
673
|
/** Initially open item values for uncontrolled usage. */
|
|
100
|
-
defaultValue: {
|
|
101
|
-
type: PropType<string[]>;
|
|
102
|
-
default: undefined;
|
|
674
|
+
readonly defaultValue: {
|
|
675
|
+
readonly type: PropType<string[]>;
|
|
676
|
+
readonly default: undefined;
|
|
103
677
|
};
|
|
104
678
|
}>> & Readonly<{
|
|
105
679
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
106
680
|
}>, {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
681
|
+
readonly modelValue: string[];
|
|
682
|
+
readonly defaultValue: string[];
|
|
683
|
+
readonly allowMultiple: boolean;
|
|
110
684
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
111
|
-
|
|
685
|
+
declare const accordionItemProps: {
|
|
686
|
+
/** Stable value identifying this item; defaults to its index. */
|
|
687
|
+
readonly value: {
|
|
688
|
+
readonly type: StringConstructor;
|
|
689
|
+
readonly default: undefined;
|
|
690
|
+
};
|
|
691
|
+
/** Header text; the `summary` slot takes precedence. */
|
|
692
|
+
readonly title: {
|
|
693
|
+
readonly type: StringConstructor;
|
|
694
|
+
readonly default: undefined;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
/** Props for {@link AccordionItem}. */
|
|
698
|
+
type AccordionItemProps = ExtractPublicPropTypes<typeof accordionItemProps>;
|
|
699
|
+
/** A `<details>`-based accordion section. Use `title` or the `summary` slot for the header. */
|
|
112
700
|
declare const AccordionItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
113
701
|
/** Stable value identifying this item; defaults to its index. */
|
|
114
|
-
value: {
|
|
115
|
-
type: StringConstructor;
|
|
116
|
-
default: undefined;
|
|
702
|
+
readonly value: {
|
|
703
|
+
readonly type: StringConstructor;
|
|
704
|
+
readonly default: undefined;
|
|
117
705
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
706
|
+
/** Header text; the `summary` slot takes precedence. */
|
|
707
|
+
readonly title: {
|
|
708
|
+
readonly type: StringConstructor;
|
|
709
|
+
readonly default: undefined;
|
|
121
710
|
};
|
|
122
711
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
123
712
|
[key: string]: any;
|
|
124
713
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
125
714
|
/** Stable value identifying this item; defaults to its index. */
|
|
126
|
-
value: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
default: undefined;
|
|
715
|
+
readonly value: {
|
|
716
|
+
readonly type: StringConstructor;
|
|
717
|
+
readonly default: undefined;
|
|
129
718
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
719
|
+
/** Header text; the `summary` slot takes precedence. */
|
|
720
|
+
readonly title: {
|
|
721
|
+
readonly type: StringConstructor;
|
|
722
|
+
readonly default: undefined;
|
|
133
723
|
};
|
|
134
724
|
}>> & Readonly<{}>, {
|
|
135
|
-
value: string;
|
|
136
|
-
|
|
725
|
+
readonly value: string;
|
|
726
|
+
readonly title: string;
|
|
137
727
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
728
|
+
declare const disclosureProps: {
|
|
729
|
+
/** Controlled open state (`v-model:open`). */
|
|
730
|
+
readonly open: {
|
|
731
|
+
readonly type: PropType<boolean | undefined>;
|
|
732
|
+
readonly default: undefined;
|
|
733
|
+
};
|
|
734
|
+
/** Open the disclosure initially for uncontrolled usage. */
|
|
735
|
+
readonly defaultOpen: {
|
|
736
|
+
readonly type: BooleanConstructor;
|
|
737
|
+
readonly default: false;
|
|
738
|
+
};
|
|
739
|
+
/** Header text; the `summary` slot takes precedence. */
|
|
740
|
+
readonly title: {
|
|
741
|
+
readonly type: StringConstructor;
|
|
742
|
+
readonly default: undefined;
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
/** Props for {@link Disclosure}. */
|
|
746
|
+
type DisclosureProps = ExtractPublicPropTypes<typeof disclosureProps>;
|
|
138
747
|
/**
|
|
139
|
-
* A single expandable section
|
|
140
|
-
*
|
|
748
|
+
* A single expandable section built on native `<details>`, which handles
|
|
749
|
+
* open/close (and exclusive groups, via the `name` attribute) on its own.
|
|
750
|
+
* Open state works uncontrolled (`defaultOpen`) or with `v-model:open`.
|
|
141
751
|
*/
|
|
142
752
|
declare const Disclosure: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
753
|
+
/** Controlled open state (`v-model:open`). */
|
|
754
|
+
readonly open: {
|
|
755
|
+
readonly type: PropType<boolean | undefined>;
|
|
756
|
+
readonly default: undefined;
|
|
757
|
+
};
|
|
758
|
+
/** Open the disclosure initially for uncontrolled usage. */
|
|
759
|
+
readonly defaultOpen: {
|
|
760
|
+
readonly type: BooleanConstructor;
|
|
761
|
+
readonly default: false;
|
|
762
|
+
};
|
|
763
|
+
/** Header text; the `summary` slot takes precedence. */
|
|
764
|
+
readonly title: {
|
|
765
|
+
readonly type: StringConstructor;
|
|
766
|
+
readonly default: undefined;
|
|
146
767
|
};
|
|
147
768
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
148
769
|
[key: string]: any;
|
|
149
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
770
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:open"[], "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
771
|
+
/** Controlled open state (`v-model:open`). */
|
|
772
|
+
readonly open: {
|
|
773
|
+
readonly type: PropType<boolean | undefined>;
|
|
774
|
+
readonly default: undefined;
|
|
153
775
|
};
|
|
154
|
-
|
|
155
|
-
defaultOpen:
|
|
776
|
+
/** Open the disclosure initially for uncontrolled usage. */
|
|
777
|
+
readonly defaultOpen: {
|
|
778
|
+
readonly type: BooleanConstructor;
|
|
779
|
+
readonly default: false;
|
|
780
|
+
};
|
|
781
|
+
/** Header text; the `summary` slot takes precedence. */
|
|
782
|
+
readonly title: {
|
|
783
|
+
readonly type: StringConstructor;
|
|
784
|
+
readonly default: undefined;
|
|
785
|
+
};
|
|
786
|
+
}>> & Readonly<{
|
|
787
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
788
|
+
}>, {
|
|
789
|
+
readonly title: string;
|
|
790
|
+
readonly open: boolean | undefined;
|
|
791
|
+
readonly defaultOpen: boolean;
|
|
156
792
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
157
793
|
|
|
794
|
+
declare const tabsProps: {
|
|
795
|
+
readonly activation: {
|
|
796
|
+
readonly type: PropType<EnhanceTabsOptions["activation"]>;
|
|
797
|
+
readonly default: undefined;
|
|
798
|
+
};
|
|
799
|
+
readonly orientation: {
|
|
800
|
+
readonly type: PropType<EnhanceTabsOptions["orientation"]>;
|
|
801
|
+
readonly default: undefined;
|
|
802
|
+
};
|
|
803
|
+
/** Controlled value of the selected tab (`v-model`). */
|
|
804
|
+
readonly modelValue: {
|
|
805
|
+
readonly type: StringConstructor;
|
|
806
|
+
readonly default: undefined;
|
|
807
|
+
};
|
|
808
|
+
/** Initial value for uncontrolled usage. */
|
|
809
|
+
readonly defaultValue: {
|
|
810
|
+
readonly type: StringConstructor;
|
|
811
|
+
readonly default: undefined;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
/** Props for {@link Tabs}. */
|
|
815
|
+
type TabsProps = ExtractPublicPropTypes<typeof tabsProps>;
|
|
158
816
|
/**
|
|
159
817
|
* Tabbed interface root. Compose with `<TabList>`, `<Tab>`, and `<TabPanel>`.
|
|
160
818
|
* Tab values come from each `<Tab value>`, defaulting to the index; selection
|
|
161
|
-
* works uncontrolled (`defaultValue`) or with `v-model`.
|
|
819
|
+
* works uncontrolled (`defaultValue`) or with `v-model`. Selection state is
|
|
820
|
+
* rendered (`aria-selected`, `hidden`, roving `tabindex`), so server output
|
|
821
|
+
* is correct before the enhancer takes over.
|
|
162
822
|
*
|
|
163
823
|
* ```vue
|
|
164
824
|
* <Tabs v-model="tab">
|
|
@@ -172,331 +832,902 @@ declare const Disclosure: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
172
832
|
* ```
|
|
173
833
|
*/
|
|
174
834
|
declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
175
|
-
activation: {
|
|
176
|
-
type: PropType<EnhanceTabsOptions["activation"]>;
|
|
177
|
-
default: undefined;
|
|
835
|
+
readonly activation: {
|
|
836
|
+
readonly type: PropType<EnhanceTabsOptions["activation"]>;
|
|
837
|
+
readonly default: undefined;
|
|
178
838
|
};
|
|
179
|
-
orientation: {
|
|
180
|
-
type: PropType<EnhanceTabsOptions["orientation"]>;
|
|
181
|
-
default: undefined;
|
|
839
|
+
readonly orientation: {
|
|
840
|
+
readonly type: PropType<EnhanceTabsOptions["orientation"]>;
|
|
841
|
+
readonly default: undefined;
|
|
182
842
|
};
|
|
183
843
|
/** Controlled value of the selected tab (`v-model`). */
|
|
184
|
-
modelValue: {
|
|
185
|
-
type: StringConstructor;
|
|
186
|
-
default: undefined;
|
|
844
|
+
readonly modelValue: {
|
|
845
|
+
readonly type: StringConstructor;
|
|
846
|
+
readonly default: undefined;
|
|
187
847
|
};
|
|
188
848
|
/** Initial value for uncontrolled usage. */
|
|
189
|
-
defaultValue: {
|
|
190
|
-
type: StringConstructor;
|
|
191
|
-
default: undefined;
|
|
849
|
+
readonly defaultValue: {
|
|
850
|
+
readonly type: StringConstructor;
|
|
851
|
+
readonly default: undefined;
|
|
192
852
|
};
|
|
193
853
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
194
854
|
[key: string]: any;
|
|
195
855
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
196
|
-
activation: {
|
|
197
|
-
type: PropType<EnhanceTabsOptions["activation"]>;
|
|
198
|
-
default: undefined;
|
|
856
|
+
readonly activation: {
|
|
857
|
+
readonly type: PropType<EnhanceTabsOptions["activation"]>;
|
|
858
|
+
readonly default: undefined;
|
|
199
859
|
};
|
|
200
|
-
orientation: {
|
|
201
|
-
type: PropType<EnhanceTabsOptions["orientation"]>;
|
|
202
|
-
default: undefined;
|
|
860
|
+
readonly orientation: {
|
|
861
|
+
readonly type: PropType<EnhanceTabsOptions["orientation"]>;
|
|
862
|
+
readonly default: undefined;
|
|
203
863
|
};
|
|
204
864
|
/** Controlled value of the selected tab (`v-model`). */
|
|
205
|
-
modelValue: {
|
|
206
|
-
type: StringConstructor;
|
|
207
|
-
default: undefined;
|
|
865
|
+
readonly modelValue: {
|
|
866
|
+
readonly type: StringConstructor;
|
|
867
|
+
readonly default: undefined;
|
|
208
868
|
};
|
|
209
869
|
/** Initial value for uncontrolled usage. */
|
|
210
|
-
defaultValue: {
|
|
211
|
-
type: StringConstructor;
|
|
212
|
-
default: undefined;
|
|
870
|
+
readonly defaultValue: {
|
|
871
|
+
readonly type: StringConstructor;
|
|
872
|
+
readonly default: undefined;
|
|
213
873
|
};
|
|
214
874
|
}>> & Readonly<{
|
|
215
875
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
216
876
|
}>, {
|
|
217
|
-
modelValue: string;
|
|
218
|
-
defaultValue: string;
|
|
219
|
-
|
|
220
|
-
|
|
877
|
+
readonly modelValue: string;
|
|
878
|
+
readonly defaultValue: string;
|
|
879
|
+
readonly orientation: "horizontal" | "vertical" | undefined;
|
|
880
|
+
readonly activation: "manual" | "automatic" | undefined;
|
|
221
881
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
882
|
+
/** Props for {@link TabList}. */
|
|
883
|
+
type TabListProps = Record<never, never>;
|
|
222
884
|
/** The row of tab triggers (`role="tablist"`). */
|
|
223
885
|
declare const TabList: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
224
886
|
[key: string]: any;
|
|
225
887
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
888
|
+
declare const tabProps: {
|
|
889
|
+
/** Stable value identifying this tab; defaults to its index. */
|
|
890
|
+
readonly value: {
|
|
891
|
+
readonly type: StringConstructor;
|
|
892
|
+
readonly default: undefined;
|
|
893
|
+
};
|
|
894
|
+
readonly disabled: {
|
|
895
|
+
readonly type: BooleanConstructor;
|
|
896
|
+
readonly default: false;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
/** Props for {@link Tab}. */
|
|
900
|
+
type TabProps = ExtractPublicPropTypes<typeof tabProps>;
|
|
226
901
|
/** A single tab trigger (`role="tab"`). */
|
|
227
902
|
declare const Tab: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
228
903
|
/** Stable value identifying this tab; defaults to its index. */
|
|
229
|
-
value: {
|
|
230
|
-
type: StringConstructor;
|
|
231
|
-
default: undefined;
|
|
904
|
+
readonly value: {
|
|
905
|
+
readonly type: StringConstructor;
|
|
906
|
+
readonly default: undefined;
|
|
907
|
+
};
|
|
908
|
+
readonly disabled: {
|
|
909
|
+
readonly type: BooleanConstructor;
|
|
910
|
+
readonly default: false;
|
|
232
911
|
};
|
|
233
912
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
234
913
|
[key: string]: any;
|
|
235
914
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
236
915
|
/** Stable value identifying this tab; defaults to its index. */
|
|
237
|
-
value: {
|
|
238
|
-
type: StringConstructor;
|
|
239
|
-
default: undefined;
|
|
916
|
+
readonly value: {
|
|
917
|
+
readonly type: StringConstructor;
|
|
918
|
+
readonly default: undefined;
|
|
919
|
+
};
|
|
920
|
+
readonly disabled: {
|
|
921
|
+
readonly type: BooleanConstructor;
|
|
922
|
+
readonly default: false;
|
|
240
923
|
};
|
|
241
924
|
}>> & Readonly<{}>, {
|
|
242
|
-
value: string;
|
|
925
|
+
readonly value: string;
|
|
926
|
+
readonly disabled: boolean;
|
|
243
927
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
244
|
-
/**
|
|
928
|
+
/** Props for {@link TabPanel}. */
|
|
929
|
+
type TabPanelProps = Record<never, never>;
|
|
930
|
+
/** Content for the tab at the same position (`role="tabpanel"`). */
|
|
245
931
|
declare const TabPanel: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
246
932
|
[key: string]: any;
|
|
247
933
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
248
934
|
|
|
935
|
+
declare const dropdownProps: {
|
|
936
|
+
readonly placement: {
|
|
937
|
+
readonly type: PropType<EnhanceDropdownOptions["placement"]>;
|
|
938
|
+
readonly default: undefined;
|
|
939
|
+
};
|
|
940
|
+
/** Close the menu after an item is activated. Defaults to `true`. */
|
|
941
|
+
readonly closeOnSelect: {
|
|
942
|
+
readonly type: BooleanConstructor;
|
|
943
|
+
readonly default: true;
|
|
944
|
+
};
|
|
945
|
+
/** Controlled open state (`v-model:open`). */
|
|
946
|
+
readonly open: {
|
|
947
|
+
readonly type: PropType<boolean | undefined>;
|
|
948
|
+
readonly default: undefined;
|
|
949
|
+
};
|
|
950
|
+
/** Open the menu initially for uncontrolled usage. */
|
|
951
|
+
readonly defaultOpen: {
|
|
952
|
+
readonly type: BooleanConstructor;
|
|
953
|
+
readonly default: false;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
/** Props for {@link Dropdown}. */
|
|
957
|
+
type DropdownProps = ExtractPublicPropTypes<typeof dropdownProps>;
|
|
249
958
|
/**
|
|
250
959
|
* Button-triggered menu (WAI-ARIA menu-button pattern). Compose with
|
|
251
|
-
* `<DropdownTrigger>`, `<DropdownMenu>`, `<DropdownItem>`,
|
|
252
|
-
* `<DropdownSeparator>`.
|
|
253
|
-
* `
|
|
960
|
+
* `<DropdownTrigger>`, `<DropdownMenu>`, `<DropdownItem>`, `<DropdownGroup>`,
|
|
961
|
+
* and `<DropdownSeparator>`. The menu is a native `popover` toggled through
|
|
962
|
+
* `popovertarget`, so it opens before hydration; open state works
|
|
963
|
+
* uncontrolled or with `v-model:open`, and activating an item emits `select`
|
|
964
|
+
* with `(value, item, checked?)`.
|
|
254
965
|
*/
|
|
255
966
|
declare const Dropdown: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
256
|
-
placement: {
|
|
257
|
-
type: PropType<EnhanceDropdownOptions["placement"]>;
|
|
258
|
-
default: undefined;
|
|
967
|
+
readonly placement: {
|
|
968
|
+
readonly type: PropType<EnhanceDropdownOptions["placement"]>;
|
|
969
|
+
readonly default: undefined;
|
|
970
|
+
};
|
|
971
|
+
/** Close the menu after an item is activated. Defaults to `true`. */
|
|
972
|
+
readonly closeOnSelect: {
|
|
973
|
+
readonly type: BooleanConstructor;
|
|
974
|
+
readonly default: true;
|
|
259
975
|
};
|
|
260
976
|
/** Controlled open state (`v-model:open`). */
|
|
261
|
-
open: {
|
|
262
|
-
type: PropType<boolean | undefined>;
|
|
263
|
-
default: undefined;
|
|
977
|
+
readonly open: {
|
|
978
|
+
readonly type: PropType<boolean | undefined>;
|
|
979
|
+
readonly default: undefined;
|
|
264
980
|
};
|
|
265
981
|
/** Open the menu initially for uncontrolled usage. */
|
|
266
|
-
defaultOpen: {
|
|
267
|
-
type: BooleanConstructor;
|
|
268
|
-
default:
|
|
982
|
+
readonly defaultOpen: {
|
|
983
|
+
readonly type: BooleanConstructor;
|
|
984
|
+
readonly default: false;
|
|
269
985
|
};
|
|
270
986
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
271
987
|
[key: string]: any;
|
|
272
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:open"[], "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
273
|
-
placement: {
|
|
274
|
-
type: PropType<EnhanceDropdownOptions["placement"]>;
|
|
275
|
-
default: undefined;
|
|
988
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("select" | "update:open")[], "select" | "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
989
|
+
readonly placement: {
|
|
990
|
+
readonly type: PropType<EnhanceDropdownOptions["placement"]>;
|
|
991
|
+
readonly default: undefined;
|
|
992
|
+
};
|
|
993
|
+
/** Close the menu after an item is activated. Defaults to `true`. */
|
|
994
|
+
readonly closeOnSelect: {
|
|
995
|
+
readonly type: BooleanConstructor;
|
|
996
|
+
readonly default: true;
|
|
276
997
|
};
|
|
277
998
|
/** Controlled open state (`v-model:open`). */
|
|
278
|
-
open: {
|
|
279
|
-
type: PropType<boolean | undefined>;
|
|
280
|
-
default: undefined;
|
|
999
|
+
readonly open: {
|
|
1000
|
+
readonly type: PropType<boolean | undefined>;
|
|
1001
|
+
readonly default: undefined;
|
|
281
1002
|
};
|
|
282
1003
|
/** Open the menu initially for uncontrolled usage. */
|
|
283
|
-
defaultOpen: {
|
|
284
|
-
type: BooleanConstructor;
|
|
285
|
-
default:
|
|
1004
|
+
readonly defaultOpen: {
|
|
1005
|
+
readonly type: BooleanConstructor;
|
|
1006
|
+
readonly default: false;
|
|
286
1007
|
};
|
|
287
1008
|
}>> & Readonly<{
|
|
1009
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
288
1010
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
289
1011
|
}>, {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
1012
|
+
readonly open: boolean | undefined;
|
|
1013
|
+
readonly defaultOpen: boolean;
|
|
1014
|
+
readonly placement: _hydrateless_enhancers.Placement | undefined;
|
|
1015
|
+
readonly closeOnSelect: boolean;
|
|
293
1016
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
294
|
-
/**
|
|
1017
|
+
/** Props for {@link DropdownTrigger}. */
|
|
1018
|
+
type DropdownTriggerProps = Record<never, never>;
|
|
1019
|
+
/** The button that opens the menu (`popovertarget` points at the menu). */
|
|
295
1020
|
declare const DropdownTrigger: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
296
1021
|
[key: string]: any;
|
|
297
1022
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
298
|
-
/**
|
|
1023
|
+
/** Props for {@link DropdownMenu}. */
|
|
1024
|
+
type DropdownMenuProps = Record<never, never>;
|
|
1025
|
+
/** The menu surface: a `popover` list of items. */
|
|
299
1026
|
declare const DropdownMenu: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
300
1027
|
[key: string]: any;
|
|
301
1028
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
302
|
-
|
|
303
|
-
|
|
1029
|
+
declare const dropdownItemProps: {
|
|
1030
|
+
/** Value reported on selection; defaults to the item's text. */
|
|
1031
|
+
readonly value: {
|
|
1032
|
+
readonly type: StringConstructor;
|
|
1033
|
+
readonly default: undefined;
|
|
1034
|
+
};
|
|
1035
|
+
readonly disabled: {
|
|
1036
|
+
readonly type: BooleanConstructor;
|
|
1037
|
+
readonly default: false;
|
|
1038
|
+
};
|
|
1039
|
+
/** `menuitemcheckbox` toggles, `menuitemradio` checks one per group. */
|
|
1040
|
+
readonly role: {
|
|
1041
|
+
readonly type: PropType<"menuitem" | "menuitemcheckbox" | "menuitemradio">;
|
|
1042
|
+
readonly default: "menuitem";
|
|
1043
|
+
};
|
|
1044
|
+
/** Checked state for checkable roles (sets `aria-checked`). */
|
|
1045
|
+
readonly checked: {
|
|
1046
|
+
readonly type: PropType<boolean | undefined>;
|
|
1047
|
+
readonly default: undefined;
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
1050
|
+
/** Props for {@link DropdownItem}. */
|
|
1051
|
+
type DropdownItemProps = ExtractPublicPropTypes<typeof dropdownItemProps>;
|
|
1052
|
+
/**
|
|
1053
|
+
* A menu item button. Emits both `click` (the native event) and `select`
|
|
1054
|
+
* (`value`, plus the new `checked` state for checkable roles).
|
|
1055
|
+
*/
|
|
1056
|
+
declare const DropdownItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1057
|
+
/** Value reported on selection; defaults to the item's text. */
|
|
1058
|
+
readonly value: {
|
|
1059
|
+
readonly type: StringConstructor;
|
|
1060
|
+
readonly default: undefined;
|
|
1061
|
+
};
|
|
1062
|
+
readonly disabled: {
|
|
1063
|
+
readonly type: BooleanConstructor;
|
|
1064
|
+
readonly default: false;
|
|
1065
|
+
};
|
|
1066
|
+
/** `menuitemcheckbox` toggles, `menuitemradio` checks one per group. */
|
|
1067
|
+
readonly role: {
|
|
1068
|
+
readonly type: PropType<"menuitem" | "menuitemcheckbox" | "menuitemradio">;
|
|
1069
|
+
readonly default: "menuitem";
|
|
1070
|
+
};
|
|
1071
|
+
/** Checked state for checkable roles (sets `aria-checked`). */
|
|
1072
|
+
readonly checked: {
|
|
1073
|
+
readonly type: PropType<boolean | undefined>;
|
|
1074
|
+
readonly default: undefined;
|
|
1075
|
+
};
|
|
1076
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
304
1077
|
[key: string]: any;
|
|
305
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "select"[], "select", vue.PublicProps, Readonly<
|
|
1078
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("click" | "select")[], "click" | "select", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1079
|
+
/** Value reported on selection; defaults to the item's text. */
|
|
1080
|
+
readonly value: {
|
|
1081
|
+
readonly type: StringConstructor;
|
|
1082
|
+
readonly default: undefined;
|
|
1083
|
+
};
|
|
1084
|
+
readonly disabled: {
|
|
1085
|
+
readonly type: BooleanConstructor;
|
|
1086
|
+
readonly default: false;
|
|
1087
|
+
};
|
|
1088
|
+
/** `menuitemcheckbox` toggles, `menuitemradio` checks one per group. */
|
|
1089
|
+
readonly role: {
|
|
1090
|
+
readonly type: PropType<"menuitem" | "menuitemcheckbox" | "menuitemradio">;
|
|
1091
|
+
readonly default: "menuitem";
|
|
1092
|
+
};
|
|
1093
|
+
/** Checked state for checkable roles (sets `aria-checked`). */
|
|
1094
|
+
readonly checked: {
|
|
1095
|
+
readonly type: PropType<boolean | undefined>;
|
|
1096
|
+
readonly default: undefined;
|
|
1097
|
+
};
|
|
1098
|
+
}>> & Readonly<{
|
|
1099
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
306
1100
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
307
|
-
}>, {
|
|
1101
|
+
}>, {
|
|
1102
|
+
readonly value: string;
|
|
1103
|
+
readonly role: "menuitem" | "menuitemcheckbox" | "menuitemradio";
|
|
1104
|
+
readonly checked: boolean | undefined;
|
|
1105
|
+
readonly disabled: boolean;
|
|
1106
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1107
|
+
declare const dropdownGroupProps: {
|
|
1108
|
+
/** Accessible name of the group. */
|
|
1109
|
+
readonly label: {
|
|
1110
|
+
readonly type: StringConstructor;
|
|
1111
|
+
readonly default: undefined;
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
/** Props for {@link DropdownGroup}. */
|
|
1115
|
+
type DropdownGroupProps = ExtractPublicPropTypes<typeof dropdownGroupProps>;
|
|
1116
|
+
/** A labelled `role="group"` of items; `menuitemradio` items check per group. */
|
|
1117
|
+
declare const DropdownGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1118
|
+
/** Accessible name of the group. */
|
|
1119
|
+
readonly label: {
|
|
1120
|
+
readonly type: StringConstructor;
|
|
1121
|
+
readonly default: undefined;
|
|
1122
|
+
};
|
|
1123
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1124
|
+
[key: string]: any;
|
|
1125
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1126
|
+
/** Accessible name of the group. */
|
|
1127
|
+
readonly label: {
|
|
1128
|
+
readonly type: StringConstructor;
|
|
1129
|
+
readonly default: undefined;
|
|
1130
|
+
};
|
|
1131
|
+
}>> & Readonly<{}>, {
|
|
1132
|
+
readonly label: string;
|
|
1133
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1134
|
+
/** Props for {@link DropdownSeparator}. */
|
|
1135
|
+
type DropdownSeparatorProps = Record<never, never>;
|
|
308
1136
|
/** A visual divider between groups of items. */
|
|
309
1137
|
declare const DropdownSeparator: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
310
1138
|
[key: string]: any;
|
|
311
1139
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
312
1140
|
|
|
1141
|
+
declare const menuProps: {
|
|
1142
|
+
readonly orientation: {
|
|
1143
|
+
readonly type: PropType<EnhanceMenuOptions["orientation"]>;
|
|
1144
|
+
readonly default: "horizontal";
|
|
1145
|
+
};
|
|
1146
|
+
/** Controlled value of the open submenu (`v-model`), or `null` for none. */
|
|
1147
|
+
readonly modelValue: {
|
|
1148
|
+
readonly type: PropType<string | null | undefined>;
|
|
1149
|
+
readonly default: undefined;
|
|
1150
|
+
};
|
|
1151
|
+
/** Submenu to open initially for uncontrolled usage. */
|
|
1152
|
+
readonly defaultValue: {
|
|
1153
|
+
readonly type: PropType<string | null>;
|
|
1154
|
+
readonly default: null;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
/** Props for {@link Menu}. */
|
|
1158
|
+
type MenuProps = ExtractPublicPropTypes<typeof menuProps>;
|
|
313
1159
|
/**
|
|
314
|
-
* Menubar / navigation menu with single-level submenus
|
|
315
|
-
*
|
|
1160
|
+
* Menubar / navigation menu with single-level submenus rendered in the top
|
|
1161
|
+
* layer. Compose with `<MenuItem>` leaves and `<MenuSubmenu>` flyouts. The
|
|
1162
|
+
* open submenu's value (from `<MenuSubmenu value>`) works uncontrolled
|
|
1163
|
+
* or with `v-model` (a submenu value or `null`), and activating a leaf item
|
|
1164
|
+
* emits `select` with `(value, item, checked?)`.
|
|
316
1165
|
*/
|
|
317
1166
|
declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
318
|
-
orientation: {
|
|
319
|
-
type: PropType<EnhanceMenuOptions["orientation"]>;
|
|
320
|
-
default:
|
|
1167
|
+
readonly orientation: {
|
|
1168
|
+
readonly type: PropType<EnhanceMenuOptions["orientation"]>;
|
|
1169
|
+
readonly default: "horizontal";
|
|
1170
|
+
};
|
|
1171
|
+
/** Controlled value of the open submenu (`v-model`), or `null` for none. */
|
|
1172
|
+
readonly modelValue: {
|
|
1173
|
+
readonly type: PropType<string | null | undefined>;
|
|
1174
|
+
readonly default: undefined;
|
|
1175
|
+
};
|
|
1176
|
+
/** Submenu to open initially for uncontrolled usage. */
|
|
1177
|
+
readonly defaultValue: {
|
|
1178
|
+
readonly type: PropType<string | null>;
|
|
1179
|
+
readonly default: null;
|
|
321
1180
|
};
|
|
322
1181
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
323
1182
|
[key: string]: any;
|
|
324
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin,
|
|
325
|
-
orientation: {
|
|
326
|
-
type: PropType<EnhanceMenuOptions["orientation"]>;
|
|
327
|
-
default:
|
|
1183
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("select" | "update:modelValue")[], "select" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1184
|
+
readonly orientation: {
|
|
1185
|
+
readonly type: PropType<EnhanceMenuOptions["orientation"]>;
|
|
1186
|
+
readonly default: "horizontal";
|
|
328
1187
|
};
|
|
329
|
-
|
|
330
|
-
|
|
1188
|
+
/** Controlled value of the open submenu (`v-model`), or `null` for none. */
|
|
1189
|
+
readonly modelValue: {
|
|
1190
|
+
readonly type: PropType<string | null | undefined>;
|
|
1191
|
+
readonly default: undefined;
|
|
1192
|
+
};
|
|
1193
|
+
/** Submenu to open initially for uncontrolled usage. */
|
|
1194
|
+
readonly defaultValue: {
|
|
1195
|
+
readonly type: PropType<string | null>;
|
|
1196
|
+
readonly default: null;
|
|
1197
|
+
};
|
|
1198
|
+
}>> & Readonly<{
|
|
1199
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1200
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1201
|
+
}>, {
|
|
1202
|
+
readonly modelValue: string | null | undefined;
|
|
1203
|
+
readonly defaultValue: string | null;
|
|
1204
|
+
readonly orientation: "horizontal" | "vertical" | undefined;
|
|
331
1205
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1206
|
+
declare const menuItemProps: {
|
|
1207
|
+
/** Render a link instead of a button. */
|
|
1208
|
+
readonly href: {
|
|
1209
|
+
readonly type: StringConstructor;
|
|
1210
|
+
readonly default: undefined;
|
|
1211
|
+
};
|
|
1212
|
+
/** Value reported to `select`; defaults to the item's text. */
|
|
1213
|
+
readonly value: {
|
|
1214
|
+
readonly type: StringConstructor;
|
|
1215
|
+
readonly default: undefined;
|
|
1216
|
+
};
|
|
1217
|
+
/** `menuitemcheckbox` toggles; `menuitemradio` is exclusive within its menu. Defaults to `menuitem`. */
|
|
1218
|
+
readonly role: {
|
|
1219
|
+
readonly type: PropType<"menuitem" | "menuitemcheckbox" | "menuitemradio">;
|
|
1220
|
+
readonly default: "menuitem";
|
|
1221
|
+
};
|
|
1222
|
+
/** Checked state for checkable roles (rendered as `aria-checked`). */
|
|
1223
|
+
readonly checked: {
|
|
1224
|
+
readonly type: BooleanConstructor;
|
|
1225
|
+
readonly default: undefined;
|
|
1226
|
+
};
|
|
1227
|
+
/** Skip the item in keyboard navigation and ignore activation. */
|
|
1228
|
+
readonly disabled: {
|
|
1229
|
+
readonly type: BooleanConstructor;
|
|
1230
|
+
readonly default: false;
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
/** Props for {@link MenuItem}. */
|
|
1234
|
+
type MenuItemProps = ExtractPublicPropTypes<typeof menuItemProps>;
|
|
332
1235
|
/**
|
|
333
|
-
* A menu entry. Default slot is the label
|
|
334
|
-
*
|
|
1236
|
+
* A leaf menu entry. Default slot is the label. With `href` it renders an
|
|
1237
|
+
* anchor, otherwise a button. Emits `click` on activation; the owning `Menu`
|
|
1238
|
+
* emits `select` with the item's value.
|
|
335
1239
|
*/
|
|
336
1240
|
declare const MenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
1241
|
+
/** Render a link instead of a button. */
|
|
1242
|
+
readonly href: {
|
|
1243
|
+
readonly type: StringConstructor;
|
|
1244
|
+
readonly default: undefined;
|
|
1245
|
+
};
|
|
1246
|
+
/** Value reported to `select`; defaults to the item's text. */
|
|
1247
|
+
readonly value: {
|
|
1248
|
+
readonly type: StringConstructor;
|
|
1249
|
+
readonly default: undefined;
|
|
1250
|
+
};
|
|
1251
|
+
/** `menuitemcheckbox` toggles; `menuitemradio` is exclusive within its menu. Defaults to `menuitem`. */
|
|
1252
|
+
readonly role: {
|
|
1253
|
+
readonly type: PropType<"menuitem" | "menuitemcheckbox" | "menuitemradio">;
|
|
1254
|
+
readonly default: "menuitem";
|
|
1255
|
+
};
|
|
1256
|
+
/** Checked state for checkable roles (rendered as `aria-checked`). */
|
|
1257
|
+
readonly checked: {
|
|
1258
|
+
readonly type: BooleanConstructor;
|
|
1259
|
+
readonly default: undefined;
|
|
1260
|
+
};
|
|
1261
|
+
/** Skip the item in keyboard navigation and ignore activation. */
|
|
1262
|
+
readonly disabled: {
|
|
1263
|
+
readonly type: BooleanConstructor;
|
|
1264
|
+
readonly default: false;
|
|
340
1265
|
};
|
|
341
1266
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
342
1267
|
[key: string]: any;
|
|
343
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
1268
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "click"[], "click", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1269
|
+
/** Render a link instead of a button. */
|
|
1270
|
+
readonly href: {
|
|
1271
|
+
readonly type: StringConstructor;
|
|
1272
|
+
readonly default: undefined;
|
|
1273
|
+
};
|
|
1274
|
+
/** Value reported to `select`; defaults to the item's text. */
|
|
1275
|
+
readonly value: {
|
|
1276
|
+
readonly type: StringConstructor;
|
|
1277
|
+
readonly default: undefined;
|
|
1278
|
+
};
|
|
1279
|
+
/** `menuitemcheckbox` toggles; `menuitemradio` is exclusive within its menu. Defaults to `menuitem`. */
|
|
1280
|
+
readonly role: {
|
|
1281
|
+
readonly type: PropType<"menuitem" | "menuitemcheckbox" | "menuitemradio">;
|
|
1282
|
+
readonly default: "menuitem";
|
|
1283
|
+
};
|
|
1284
|
+
/** Checked state for checkable roles (rendered as `aria-checked`). */
|
|
1285
|
+
readonly checked: {
|
|
1286
|
+
readonly type: BooleanConstructor;
|
|
1287
|
+
readonly default: undefined;
|
|
1288
|
+
};
|
|
1289
|
+
/** Skip the item in keyboard navigation and ignore activation. */
|
|
1290
|
+
readonly disabled: {
|
|
1291
|
+
readonly type: BooleanConstructor;
|
|
1292
|
+
readonly default: false;
|
|
347
1293
|
};
|
|
348
1294
|
}>> & Readonly<{
|
|
349
|
-
|
|
1295
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
350
1296
|
}>, {
|
|
351
|
-
|
|
1297
|
+
readonly value: string;
|
|
1298
|
+
readonly role: "menuitem" | "menuitemcheckbox" | "menuitemradio";
|
|
1299
|
+
readonly checked: boolean;
|
|
1300
|
+
readonly disabled: boolean;
|
|
1301
|
+
readonly href: string;
|
|
1302
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1303
|
+
declare const menuSubmenuProps: {
|
|
1304
|
+
/** Plain-text label of the trigger item. Use the `trigger` slot for rich content. */
|
|
1305
|
+
readonly label: {
|
|
1306
|
+
readonly type: StringConstructor;
|
|
1307
|
+
readonly default: undefined;
|
|
1308
|
+
};
|
|
1309
|
+
/** Value the Menu reports while this submenu is open; defaults to the top-level index. */
|
|
1310
|
+
readonly value: {
|
|
1311
|
+
readonly type: StringConstructor;
|
|
1312
|
+
readonly default: undefined;
|
|
1313
|
+
};
|
|
1314
|
+
/** Skip the trigger in keyboard navigation and keep the submenu closed. */
|
|
1315
|
+
readonly disabled: {
|
|
1316
|
+
readonly type: BooleanConstructor;
|
|
1317
|
+
readonly default: false;
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
/** Props for {@link MenuSubmenu}. */
|
|
1321
|
+
type MenuSubmenuProps = ExtractPublicPropTypes<typeof menuSubmenuProps>;
|
|
1322
|
+
/**
|
|
1323
|
+
* A top-level menu entry that opens a flyout of `<MenuItem>`s. Attrs go to
|
|
1324
|
+
* the submenu list (`role="menu"`). No `hidden` is rendered: before the
|
|
1325
|
+
* enhancer runs, the stylesheet shows the submenu on hover and focus-within so
|
|
1326
|
+
* the navigation stays usable.
|
|
1327
|
+
*/
|
|
1328
|
+
declare const MenuSubmenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1329
|
+
/** Plain-text label of the trigger item. Use the `trigger` slot for rich content. */
|
|
1330
|
+
readonly label: {
|
|
1331
|
+
readonly type: StringConstructor;
|
|
1332
|
+
readonly default: undefined;
|
|
1333
|
+
};
|
|
1334
|
+
/** Value the Menu reports while this submenu is open; defaults to the top-level index. */
|
|
1335
|
+
readonly value: {
|
|
1336
|
+
readonly type: StringConstructor;
|
|
1337
|
+
readonly default: undefined;
|
|
1338
|
+
};
|
|
1339
|
+
/** Skip the trigger in keyboard navigation and keep the submenu closed. */
|
|
1340
|
+
readonly disabled: {
|
|
1341
|
+
readonly type: BooleanConstructor;
|
|
1342
|
+
readonly default: false;
|
|
1343
|
+
};
|
|
1344
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1345
|
+
[key: string]: any;
|
|
1346
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1347
|
+
/** Plain-text label of the trigger item. Use the `trigger` slot for rich content. */
|
|
1348
|
+
readonly label: {
|
|
1349
|
+
readonly type: StringConstructor;
|
|
1350
|
+
readonly default: undefined;
|
|
1351
|
+
};
|
|
1352
|
+
/** Value the Menu reports while this submenu is open; defaults to the top-level index. */
|
|
1353
|
+
readonly value: {
|
|
1354
|
+
readonly type: StringConstructor;
|
|
1355
|
+
readonly default: undefined;
|
|
1356
|
+
};
|
|
1357
|
+
/** Skip the trigger in keyboard navigation and keep the submenu closed. */
|
|
1358
|
+
readonly disabled: {
|
|
1359
|
+
readonly type: BooleanConstructor;
|
|
1360
|
+
readonly default: false;
|
|
1361
|
+
};
|
|
1362
|
+
}>> & Readonly<{}>, {
|
|
1363
|
+
readonly value: string;
|
|
1364
|
+
readonly label: string;
|
|
1365
|
+
readonly disabled: boolean;
|
|
352
1366
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
353
1367
|
|
|
1368
|
+
declare const modalProps: {
|
|
1369
|
+
/** Let Escape and backdrop clicks close the dialog (`closedby="any"`). */
|
|
1370
|
+
readonly closeOnBackdrop: {
|
|
1371
|
+
readonly type: BooleanConstructor;
|
|
1372
|
+
readonly default: true;
|
|
1373
|
+
};
|
|
1374
|
+
/** Controlled open state (`v-model:open`). */
|
|
1375
|
+
readonly open: {
|
|
1376
|
+
readonly type: PropType<boolean | undefined>;
|
|
1377
|
+
readonly default: undefined;
|
|
1378
|
+
};
|
|
1379
|
+
/** Open initially for uncontrolled usage. */
|
|
1380
|
+
readonly defaultOpen: {
|
|
1381
|
+
readonly type: BooleanConstructor;
|
|
1382
|
+
readonly default: false;
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
/** Props for {@link Modal}. */
|
|
1386
|
+
type ModalProps = ExtractPublicPropTypes<typeof modalProps>;
|
|
354
1387
|
/**
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
1388
|
+
* Dialog overlay on the native `<dialog>` plus the modal enhancer (focus
|
|
1389
|
+
* trap, scroll-lock, background `inert`). Open state works uncontrolled
|
|
1390
|
+
* (`defaultOpen`, or a `command="show-modal"` invoker button) or with
|
|
1391
|
+
* `v-model:open`; Escape and backdrop clicks emit `update:open`. Compose
|
|
1392
|
+
* with `<ModalHeader>`, `<ModalBody>`, `<ModalFooter>`.
|
|
359
1393
|
*/
|
|
360
1394
|
declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
1395
|
+
/** Let Escape and backdrop clicks close the dialog (`closedby="any"`). */
|
|
1396
|
+
readonly closeOnBackdrop: {
|
|
1397
|
+
readonly type: BooleanConstructor;
|
|
1398
|
+
readonly default: true;
|
|
364
1399
|
};
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
1400
|
+
/** Controlled open state (`v-model:open`). */
|
|
1401
|
+
readonly open: {
|
|
1402
|
+
readonly type: PropType<boolean | undefined>;
|
|
1403
|
+
readonly default: undefined;
|
|
368
1404
|
};
|
|
369
|
-
|
|
1405
|
+
/** Open initially for uncontrolled usage. */
|
|
1406
|
+
readonly defaultOpen: {
|
|
1407
|
+
readonly type: BooleanConstructor;
|
|
1408
|
+
readonly default: false;
|
|
1409
|
+
};
|
|
1410
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
370
1411
|
[key: string]: any;
|
|
371
1412
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:open"[], "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
1413
|
+
/** Let Escape and backdrop clicks close the dialog (`closedby="any"`). */
|
|
1414
|
+
readonly closeOnBackdrop: {
|
|
1415
|
+
readonly type: BooleanConstructor;
|
|
1416
|
+
readonly default: true;
|
|
1417
|
+
};
|
|
1418
|
+
/** Controlled open state (`v-model:open`). */
|
|
1419
|
+
readonly open: {
|
|
1420
|
+
readonly type: PropType<boolean | undefined>;
|
|
1421
|
+
readonly default: undefined;
|
|
375
1422
|
};
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
1423
|
+
/** Open initially for uncontrolled usage. */
|
|
1424
|
+
readonly defaultOpen: {
|
|
1425
|
+
readonly type: BooleanConstructor;
|
|
1426
|
+
readonly default: false;
|
|
379
1427
|
};
|
|
380
1428
|
}>> & Readonly<{
|
|
381
1429
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
382
1430
|
}>, {
|
|
383
|
-
|
|
1431
|
+
readonly open: boolean | undefined;
|
|
1432
|
+
readonly defaultOpen: boolean;
|
|
1433
|
+
readonly closeOnBackdrop: boolean;
|
|
384
1434
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1435
|
+
declare const drawerProps: {
|
|
1436
|
+
/** Edge the panel slides in from (logical, so `end` is the right in LTR). */
|
|
1437
|
+
readonly side: {
|
|
1438
|
+
readonly type: PropType<"start" | "end">;
|
|
1439
|
+
readonly default: "end";
|
|
1440
|
+
};
|
|
1441
|
+
/** Let Escape and backdrop clicks close the dialog (`closedby="any"`). */
|
|
1442
|
+
readonly closeOnBackdrop: {
|
|
1443
|
+
readonly type: BooleanConstructor;
|
|
1444
|
+
readonly default: true;
|
|
1445
|
+
};
|
|
1446
|
+
/** Controlled open state (`v-model:open`). */
|
|
1447
|
+
readonly open: {
|
|
1448
|
+
readonly type: PropType<boolean | undefined>;
|
|
1449
|
+
readonly default: undefined;
|
|
1450
|
+
};
|
|
1451
|
+
/** Open initially for uncontrolled usage. */
|
|
1452
|
+
readonly defaultOpen: {
|
|
1453
|
+
readonly type: BooleanConstructor;
|
|
1454
|
+
readonly default: false;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
/** Props for {@link Drawer}. */
|
|
1458
|
+
type DrawerProps = ExtractPublicPropTypes<typeof drawerProps>;
|
|
385
1459
|
/**
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
* `<DrawerHeader>`,
|
|
1460
|
+
* Off-canvas panel on the native `<dialog>` plus the drawer enhancer. Open
|
|
1461
|
+
* state works uncontrolled (`defaultOpen`, or an invoker button) or with
|
|
1462
|
+
* `v-model:open`; choose a `side`. Compose with `<DrawerHeader>`,
|
|
1463
|
+
* `<DrawerBody>`, `<DrawerFooter>`.
|
|
389
1464
|
*/
|
|
390
1465
|
declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
1466
|
+
/** Edge the panel slides in from (logical, so `end` is the right in LTR). */
|
|
1467
|
+
readonly side: {
|
|
1468
|
+
readonly type: PropType<"start" | "end">;
|
|
1469
|
+
readonly default: "end";
|
|
394
1470
|
};
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
1471
|
+
/** Let Escape and backdrop clicks close the dialog (`closedby="any"`). */
|
|
1472
|
+
readonly closeOnBackdrop: {
|
|
1473
|
+
readonly type: BooleanConstructor;
|
|
1474
|
+
readonly default: true;
|
|
398
1475
|
};
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
1476
|
+
/** Controlled open state (`v-model:open`). */
|
|
1477
|
+
readonly open: {
|
|
1478
|
+
readonly type: PropType<boolean | undefined>;
|
|
1479
|
+
readonly default: undefined;
|
|
402
1480
|
};
|
|
403
|
-
|
|
1481
|
+
/** Open initially for uncontrolled usage. */
|
|
1482
|
+
readonly defaultOpen: {
|
|
1483
|
+
readonly type: BooleanConstructor;
|
|
1484
|
+
readonly default: false;
|
|
1485
|
+
};
|
|
1486
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
404
1487
|
[key: string]: any;
|
|
405
1488
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:open"[], "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
1489
|
+
/** Edge the panel slides in from (logical, so `end` is the right in LTR). */
|
|
1490
|
+
readonly side: {
|
|
1491
|
+
readonly type: PropType<"start" | "end">;
|
|
1492
|
+
readonly default: "end";
|
|
1493
|
+
};
|
|
1494
|
+
/** Let Escape and backdrop clicks close the dialog (`closedby="any"`). */
|
|
1495
|
+
readonly closeOnBackdrop: {
|
|
1496
|
+
readonly type: BooleanConstructor;
|
|
1497
|
+
readonly default: true;
|
|
409
1498
|
};
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
1499
|
+
/** Controlled open state (`v-model:open`). */
|
|
1500
|
+
readonly open: {
|
|
1501
|
+
readonly type: PropType<boolean | undefined>;
|
|
1502
|
+
readonly default: undefined;
|
|
413
1503
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
1504
|
+
/** Open initially for uncontrolled usage. */
|
|
1505
|
+
readonly defaultOpen: {
|
|
1506
|
+
readonly type: BooleanConstructor;
|
|
1507
|
+
readonly default: false;
|
|
417
1508
|
};
|
|
418
1509
|
}>> & Readonly<{
|
|
419
1510
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
420
1511
|
}>, {
|
|
421
|
-
|
|
422
|
-
|
|
1512
|
+
readonly open: boolean | undefined;
|
|
1513
|
+
readonly defaultOpen: boolean;
|
|
1514
|
+
readonly closeOnBackdrop: boolean;
|
|
1515
|
+
readonly side: "start" | "end";
|
|
423
1516
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1517
|
+
/** Props for {@link ModalHeader}. */
|
|
1518
|
+
type ModalHeaderProps = Record<never, never>;
|
|
1519
|
+
/** Props for {@link ModalBody}. */
|
|
1520
|
+
type ModalBodyProps = Record<never, never>;
|
|
1521
|
+
/** Props for {@link ModalFooter}. */
|
|
1522
|
+
type ModalFooterProps = Record<never, never>;
|
|
1523
|
+
/** Props for {@link DrawerHeader}. */
|
|
1524
|
+
type DrawerHeaderProps = Record<never, never>;
|
|
1525
|
+
/** Props for {@link DrawerBody}. */
|
|
1526
|
+
type DrawerBodyProps = Record<never, never>;
|
|
1527
|
+
/** Props for {@link DrawerFooter}. */
|
|
1528
|
+
type DrawerFooterProps = Record<never, never>;
|
|
424
1529
|
/** Header region of a {@link Modal}. */
|
|
425
|
-
declare const ModalHeader: vue.DefineComponent<{}, () =>
|
|
1530
|
+
declare const ModalHeader: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
426
1531
|
[key: string]: any;
|
|
427
1532
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
428
1533
|
/** Body region of a {@link Modal}. */
|
|
429
|
-
declare const ModalBody: vue.DefineComponent<{}, () =>
|
|
1534
|
+
declare const ModalBody: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
430
1535
|
[key: string]: any;
|
|
431
1536
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
432
1537
|
/** Footer region of a {@link Modal}. */
|
|
433
|
-
declare const ModalFooter: vue.DefineComponent<{}, () =>
|
|
1538
|
+
declare const ModalFooter: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
434
1539
|
[key: string]: any;
|
|
435
1540
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
436
1541
|
/** Header region of a {@link Drawer}. */
|
|
437
|
-
declare const DrawerHeader: vue.DefineComponent<{}, () =>
|
|
1542
|
+
declare const DrawerHeader: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
438
1543
|
[key: string]: any;
|
|
439
1544
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
440
1545
|
/** Body region of a {@link Drawer}. */
|
|
441
|
-
declare const DrawerBody: vue.DefineComponent<{}, () =>
|
|
1546
|
+
declare const DrawerBody: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
442
1547
|
[key: string]: any;
|
|
443
1548
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
444
1549
|
/** Footer region of a {@link Drawer}. */
|
|
445
|
-
declare const DrawerFooter: vue.DefineComponent<{}, () =>
|
|
1550
|
+
declare const DrawerFooter: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
446
1551
|
[key: string]: any;
|
|
447
1552
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1553
|
+
declare const popoverProps: {
|
|
1554
|
+
readonly placement: {
|
|
1555
|
+
readonly type: PropType<EnhancePopoverOptions["placement"]>;
|
|
1556
|
+
readonly default: undefined;
|
|
1557
|
+
};
|
|
1558
|
+
/** Open on pointer hover and focus of the invoker instead of click. */
|
|
1559
|
+
readonly hover: {
|
|
1560
|
+
readonly type: BooleanConstructor;
|
|
1561
|
+
readonly default: false;
|
|
1562
|
+
};
|
|
1563
|
+
/** Controlled open state (`v-model:open`). */
|
|
1564
|
+
readonly open: {
|
|
1565
|
+
readonly type: PropType<boolean | undefined>;
|
|
1566
|
+
readonly default: undefined;
|
|
1567
|
+
};
|
|
1568
|
+
/** Open initially for uncontrolled usage. */
|
|
1569
|
+
readonly defaultOpen: {
|
|
1570
|
+
readonly type: BooleanConstructor;
|
|
1571
|
+
readonly default: false;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
/** Props for {@link Popover}. */
|
|
1575
|
+
type PopoverProps = ExtractPublicPropTypes<typeof popoverProps>;
|
|
448
1576
|
/**
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
452
|
-
*
|
|
1577
|
+
* Floating content built on the native Popover API. The surface lives in the
|
|
1578
|
+
* top layer with light-dismiss and Escape handled by the browser; visibility
|
|
1579
|
+
* works uncontrolled (`defaultOpen`, or a `popovertarget` trigger button) or
|
|
1580
|
+
* with `v-model:open` (`update:open` is emitted when the browser dismisses
|
|
1581
|
+
* it).
|
|
453
1582
|
*/
|
|
454
1583
|
declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
455
|
-
|
|
456
|
-
type:
|
|
457
|
-
default:
|
|
1584
|
+
readonly placement: {
|
|
1585
|
+
readonly type: PropType<EnhancePopoverOptions["placement"]>;
|
|
1586
|
+
readonly default: undefined;
|
|
458
1587
|
};
|
|
459
|
-
|
|
1588
|
+
/** Open on pointer hover and focus of the invoker instead of click. */
|
|
1589
|
+
readonly hover: {
|
|
1590
|
+
readonly type: BooleanConstructor;
|
|
1591
|
+
readonly default: false;
|
|
1592
|
+
};
|
|
1593
|
+
/** Controlled open state (`v-model:open`). */
|
|
1594
|
+
readonly open: {
|
|
1595
|
+
readonly type: PropType<boolean | undefined>;
|
|
1596
|
+
readonly default: undefined;
|
|
1597
|
+
};
|
|
1598
|
+
/** Open initially for uncontrolled usage. */
|
|
1599
|
+
readonly defaultOpen: {
|
|
1600
|
+
readonly type: BooleanConstructor;
|
|
1601
|
+
readonly default: false;
|
|
1602
|
+
};
|
|
1603
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
460
1604
|
[key: string]: any;
|
|
461
1605
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:open"[], "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
462
|
-
|
|
463
|
-
type:
|
|
464
|
-
default:
|
|
1606
|
+
readonly placement: {
|
|
1607
|
+
readonly type: PropType<EnhancePopoverOptions["placement"]>;
|
|
1608
|
+
readonly default: undefined;
|
|
1609
|
+
};
|
|
1610
|
+
/** Open on pointer hover and focus of the invoker instead of click. */
|
|
1611
|
+
readonly hover: {
|
|
1612
|
+
readonly type: BooleanConstructor;
|
|
1613
|
+
readonly default: false;
|
|
1614
|
+
};
|
|
1615
|
+
/** Controlled open state (`v-model:open`). */
|
|
1616
|
+
readonly open: {
|
|
1617
|
+
readonly type: PropType<boolean | undefined>;
|
|
1618
|
+
readonly default: undefined;
|
|
1619
|
+
};
|
|
1620
|
+
/** Open initially for uncontrolled usage. */
|
|
1621
|
+
readonly defaultOpen: {
|
|
1622
|
+
readonly type: BooleanConstructor;
|
|
1623
|
+
readonly default: false;
|
|
465
1624
|
};
|
|
466
1625
|
}>> & Readonly<{
|
|
467
1626
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
468
1627
|
}>, {
|
|
469
|
-
open: boolean;
|
|
1628
|
+
readonly open: boolean | undefined;
|
|
1629
|
+
readonly defaultOpen: boolean;
|
|
1630
|
+
readonly placement: _hydrateless_enhancers.Placement | undefined;
|
|
1631
|
+
readonly hover: boolean;
|
|
470
1632
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1633
|
+
declare const tooltipProps: {
|
|
1634
|
+
/** Hint text; the `content` slot takes precedence. */
|
|
1635
|
+
readonly content: {
|
|
1636
|
+
readonly type: StringConstructor;
|
|
1637
|
+
readonly default: undefined;
|
|
1638
|
+
};
|
|
1639
|
+
readonly placement: {
|
|
1640
|
+
readonly type: PropType<EnhanceTooltipOptions["placement"]>;
|
|
1641
|
+
readonly default: undefined;
|
|
1642
|
+
};
|
|
1643
|
+
/** Delay in ms before showing on hover. */
|
|
1644
|
+
readonly showDelay: {
|
|
1645
|
+
readonly type: NumberConstructor;
|
|
1646
|
+
readonly default: undefined;
|
|
1647
|
+
};
|
|
1648
|
+
/** Grace period in ms before hiding. */
|
|
1649
|
+
readonly hideDelay: {
|
|
1650
|
+
readonly type: NumberConstructor;
|
|
1651
|
+
readonly default: undefined;
|
|
1652
|
+
};
|
|
1653
|
+
/** Controlled visibility (`v-model:open`). */
|
|
1654
|
+
readonly open: {
|
|
1655
|
+
readonly type: PropType<boolean | undefined>;
|
|
1656
|
+
readonly default: undefined;
|
|
1657
|
+
};
|
|
1658
|
+
};
|
|
1659
|
+
/** Props for {@link Tooltip}. */
|
|
1660
|
+
type TooltipProps = ExtractPublicPropTypes<typeof tooltipProps>;
|
|
471
1661
|
/**
|
|
472
|
-
* Accessible tooltip wrapping a single focusable trigger (the default slot)
|
|
473
|
-
*
|
|
1662
|
+
* Accessible tooltip wrapping a single focusable trigger (the default slot),
|
|
1663
|
+
* which receives `data-hl-tooltip` and `aria-describedby`. The hint comes
|
|
1664
|
+
* from `content` (prop or slot). Visibility is observable with
|
|
1665
|
+
* `v-model:open`.
|
|
474
1666
|
*/
|
|
475
1667
|
declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
1668
|
+
/** Hint text; the `content` slot takes precedence. */
|
|
1669
|
+
readonly content: {
|
|
1670
|
+
readonly type: StringConstructor;
|
|
1671
|
+
readonly default: undefined;
|
|
479
1672
|
};
|
|
480
|
-
|
|
481
|
-
type:
|
|
482
|
-
default: undefined;
|
|
1673
|
+
readonly placement: {
|
|
1674
|
+
readonly type: PropType<EnhanceTooltipOptions["placement"]>;
|
|
1675
|
+
readonly default: undefined;
|
|
483
1676
|
};
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
type: StringConstructor;
|
|
489
|
-
default: undefined;
|
|
1677
|
+
/** Delay in ms before showing on hover. */
|
|
1678
|
+
readonly showDelay: {
|
|
1679
|
+
readonly type: NumberConstructor;
|
|
1680
|
+
readonly default: undefined;
|
|
490
1681
|
};
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
1682
|
+
/** Grace period in ms before hiding. */
|
|
1683
|
+
readonly hideDelay: {
|
|
1684
|
+
readonly type: NumberConstructor;
|
|
1685
|
+
readonly default: undefined;
|
|
494
1686
|
};
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
1687
|
+
/** Controlled visibility (`v-model:open`). */
|
|
1688
|
+
readonly open: {
|
|
1689
|
+
readonly type: PropType<boolean | undefined>;
|
|
1690
|
+
readonly default: undefined;
|
|
1691
|
+
};
|
|
1692
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
1693
|
+
[key: string]: any;
|
|
1694
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:open"[], "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1695
|
+
/** Hint text; the `content` slot takes precedence. */
|
|
1696
|
+
readonly content: {
|
|
1697
|
+
readonly type: StringConstructor;
|
|
1698
|
+
readonly default: undefined;
|
|
1699
|
+
};
|
|
1700
|
+
readonly placement: {
|
|
1701
|
+
readonly type: PropType<EnhanceTooltipOptions["placement"]>;
|
|
1702
|
+
readonly default: undefined;
|
|
1703
|
+
};
|
|
1704
|
+
/** Delay in ms before showing on hover. */
|
|
1705
|
+
readonly showDelay: {
|
|
1706
|
+
readonly type: NumberConstructor;
|
|
1707
|
+
readonly default: undefined;
|
|
1708
|
+
};
|
|
1709
|
+
/** Grace period in ms before hiding. */
|
|
1710
|
+
readonly hideDelay: {
|
|
1711
|
+
readonly type: NumberConstructor;
|
|
1712
|
+
readonly default: undefined;
|
|
1713
|
+
};
|
|
1714
|
+
/** Controlled visibility (`v-model:open`). */
|
|
1715
|
+
readonly open: {
|
|
1716
|
+
readonly type: PropType<boolean | undefined>;
|
|
1717
|
+
readonly default: undefined;
|
|
1718
|
+
};
|
|
1719
|
+
}>> & Readonly<{
|
|
1720
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
1721
|
+
}>, {
|
|
1722
|
+
readonly open: boolean | undefined;
|
|
1723
|
+
readonly placement: _hydrateless_enhancers.Placement | undefined;
|
|
1724
|
+
readonly content: string;
|
|
1725
|
+
readonly showDelay: number;
|
|
1726
|
+
readonly hideDelay: number;
|
|
498
1727
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
499
1728
|
|
|
1729
|
+
/** Props for {@link Breadcrumb}. */
|
|
1730
|
+
type BreadcrumbProps = Record<never, never>;
|
|
500
1731
|
/**
|
|
501
1732
|
* Semantic breadcrumb navigation (`<nav> > <ol>`). CSS-only. Compose with
|
|
502
1733
|
* `<BreadcrumbItem>`.
|
|
@@ -504,768 +1735,810 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
504
1735
|
declare const Breadcrumb: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
505
1736
|
[key: string]: any;
|
|
506
1737
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1738
|
+
declare const breadcrumbItemProps: {
|
|
1739
|
+
readonly href: {
|
|
1740
|
+
readonly type: StringConstructor;
|
|
1741
|
+
readonly default: undefined;
|
|
1742
|
+
};
|
|
1743
|
+
/** Marks the current page (`aria-current="page"`). */
|
|
1744
|
+
readonly current: {
|
|
1745
|
+
readonly type: BooleanConstructor;
|
|
1746
|
+
readonly default: false;
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
/** Props for {@link BreadcrumbItem}. */
|
|
1750
|
+
type BreadcrumbItemProps = ExtractPublicPropTypes<typeof breadcrumbItemProps>;
|
|
507
1751
|
/** A single crumb. Renders a link unless `current` (or no `href`) is set. */
|
|
508
1752
|
declare const BreadcrumbItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
509
|
-
href: {
|
|
510
|
-
type: StringConstructor;
|
|
511
|
-
default: undefined;
|
|
1753
|
+
readonly href: {
|
|
1754
|
+
readonly type: StringConstructor;
|
|
1755
|
+
readonly default: undefined;
|
|
512
1756
|
};
|
|
513
|
-
current
|
|
514
|
-
|
|
515
|
-
|
|
1757
|
+
/** Marks the current page (`aria-current="page"`). */
|
|
1758
|
+
readonly current: {
|
|
1759
|
+
readonly type: BooleanConstructor;
|
|
1760
|
+
readonly default: false;
|
|
516
1761
|
};
|
|
517
1762
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
518
1763
|
[key: string]: any;
|
|
519
1764
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
520
|
-
href: {
|
|
521
|
-
type: StringConstructor;
|
|
522
|
-
default: undefined;
|
|
1765
|
+
readonly href: {
|
|
1766
|
+
readonly type: StringConstructor;
|
|
1767
|
+
readonly default: undefined;
|
|
523
1768
|
};
|
|
524
|
-
current
|
|
525
|
-
|
|
526
|
-
|
|
1769
|
+
/** Marks the current page (`aria-current="page"`). */
|
|
1770
|
+
readonly current: {
|
|
1771
|
+
readonly type: BooleanConstructor;
|
|
1772
|
+
readonly default: false;
|
|
527
1773
|
};
|
|
528
1774
|
}>> & Readonly<{}>, {
|
|
529
|
-
href: string;
|
|
530
|
-
current: boolean;
|
|
1775
|
+
readonly href: string;
|
|
1776
|
+
readonly current: boolean;
|
|
531
1777
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
532
1778
|
|
|
1779
|
+
declare const comboboxProps: {
|
|
1780
|
+
readonly filter: {
|
|
1781
|
+
readonly type: PropType<EnhanceComboboxOptions["filter"]>;
|
|
1782
|
+
readonly default: undefined;
|
|
1783
|
+
};
|
|
1784
|
+
readonly autoHighlight: {
|
|
1785
|
+
readonly type: PropType<EnhanceComboboxOptions["autoHighlight"]>;
|
|
1786
|
+
readonly default: undefined;
|
|
1787
|
+
};
|
|
1788
|
+
/** Controlled committed value (`v-model`). */
|
|
1789
|
+
readonly modelValue: {
|
|
1790
|
+
readonly type: StringConstructor;
|
|
1791
|
+
readonly default: undefined;
|
|
1792
|
+
};
|
|
1793
|
+
/** Initial committed value for uncontrolled usage. */
|
|
1794
|
+
readonly defaultValue: {
|
|
1795
|
+
readonly type: StringConstructor;
|
|
1796
|
+
readonly default: undefined;
|
|
1797
|
+
};
|
|
1798
|
+
/** Controlled listbox state (`v-model:open`). */
|
|
1799
|
+
readonly open: {
|
|
1800
|
+
readonly type: PropType<boolean | undefined>;
|
|
1801
|
+
readonly default: undefined;
|
|
1802
|
+
};
|
|
1803
|
+
/** Expand the listbox initially for uncontrolled usage. */
|
|
1804
|
+
readonly defaultOpen: {
|
|
1805
|
+
readonly type: BooleanConstructor;
|
|
1806
|
+
readonly default: false;
|
|
1807
|
+
};
|
|
1808
|
+
};
|
|
1809
|
+
/** Props for {@link Combobox}. */
|
|
1810
|
+
type ComboboxProps = ExtractPublicPropTypes<typeof comboboxProps>;
|
|
533
1811
|
/**
|
|
534
1812
|
* Editable combobox (input + listbox), APG pattern. Compose with
|
|
535
1813
|
* `<ComboboxInput>`, `<ComboboxList>`, `<ComboboxOption>`. The committed
|
|
536
|
-
* value works uncontrolled (`defaultValue`) or with `v-model`;
|
|
537
|
-
*
|
|
1814
|
+
* value works uncontrolled (`defaultValue`) or with `v-model`; the listbox
|
|
1815
|
+
* state with `defaultOpen` or `v-model:open`.
|
|
538
1816
|
*/
|
|
539
1817
|
declare const Combobox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
540
|
-
filter: {
|
|
541
|
-
type: PropType<EnhanceComboboxOptions["filter"]>;
|
|
542
|
-
default: undefined;
|
|
1818
|
+
readonly filter: {
|
|
1819
|
+
readonly type: PropType<EnhanceComboboxOptions["filter"]>;
|
|
1820
|
+
readonly default: undefined;
|
|
543
1821
|
};
|
|
544
|
-
autoHighlight: {
|
|
545
|
-
type: PropType<EnhanceComboboxOptions["autoHighlight"]>;
|
|
546
|
-
default: undefined;
|
|
1822
|
+
readonly autoHighlight: {
|
|
1823
|
+
readonly type: PropType<EnhanceComboboxOptions["autoHighlight"]>;
|
|
1824
|
+
readonly default: undefined;
|
|
547
1825
|
};
|
|
548
1826
|
/** Controlled committed value (`v-model`). */
|
|
549
|
-
modelValue: {
|
|
550
|
-
type: StringConstructor;
|
|
551
|
-
default: undefined;
|
|
1827
|
+
readonly modelValue: {
|
|
1828
|
+
readonly type: StringConstructor;
|
|
1829
|
+
readonly default: undefined;
|
|
552
1830
|
};
|
|
553
1831
|
/** Initial committed value for uncontrolled usage. */
|
|
554
|
-
defaultValue: {
|
|
555
|
-
type: StringConstructor;
|
|
556
|
-
default: undefined;
|
|
1832
|
+
readonly defaultValue: {
|
|
1833
|
+
readonly type: StringConstructor;
|
|
1834
|
+
readonly default: undefined;
|
|
1835
|
+
};
|
|
1836
|
+
/** Controlled listbox state (`v-model:open`). */
|
|
1837
|
+
readonly open: {
|
|
1838
|
+
readonly type: PropType<boolean | undefined>;
|
|
1839
|
+
readonly default: undefined;
|
|
1840
|
+
};
|
|
1841
|
+
/** Expand the listbox initially for uncontrolled usage. */
|
|
1842
|
+
readonly defaultOpen: {
|
|
1843
|
+
readonly type: BooleanConstructor;
|
|
1844
|
+
readonly default: false;
|
|
557
1845
|
};
|
|
558
1846
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
559
1847
|
[key: string]: any;
|
|
560
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:modelValue" | "
|
|
561
|
-
filter: {
|
|
562
|
-
type: PropType<EnhanceComboboxOptions["filter"]>;
|
|
563
|
-
default: undefined;
|
|
1848
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:modelValue" | "update:open")[], "update:modelValue" | "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1849
|
+
readonly filter: {
|
|
1850
|
+
readonly type: PropType<EnhanceComboboxOptions["filter"]>;
|
|
1851
|
+
readonly default: undefined;
|
|
564
1852
|
};
|
|
565
|
-
autoHighlight: {
|
|
566
|
-
type: PropType<EnhanceComboboxOptions["autoHighlight"]>;
|
|
567
|
-
default: undefined;
|
|
1853
|
+
readonly autoHighlight: {
|
|
1854
|
+
readonly type: PropType<EnhanceComboboxOptions["autoHighlight"]>;
|
|
1855
|
+
readonly default: undefined;
|
|
568
1856
|
};
|
|
569
1857
|
/** Controlled committed value (`v-model`). */
|
|
570
|
-
modelValue: {
|
|
571
|
-
type: StringConstructor;
|
|
572
|
-
default: undefined;
|
|
1858
|
+
readonly modelValue: {
|
|
1859
|
+
readonly type: StringConstructor;
|
|
1860
|
+
readonly default: undefined;
|
|
573
1861
|
};
|
|
574
1862
|
/** Initial committed value for uncontrolled usage. */
|
|
575
|
-
defaultValue: {
|
|
576
|
-
type: StringConstructor;
|
|
577
|
-
default: undefined;
|
|
1863
|
+
readonly defaultValue: {
|
|
1864
|
+
readonly type: StringConstructor;
|
|
1865
|
+
readonly default: undefined;
|
|
1866
|
+
};
|
|
1867
|
+
/** Controlled listbox state (`v-model:open`). */
|
|
1868
|
+
readonly open: {
|
|
1869
|
+
readonly type: PropType<boolean | undefined>;
|
|
1870
|
+
readonly default: undefined;
|
|
1871
|
+
};
|
|
1872
|
+
/** Expand the listbox initially for uncontrolled usage. */
|
|
1873
|
+
readonly defaultOpen: {
|
|
1874
|
+
readonly type: BooleanConstructor;
|
|
1875
|
+
readonly default: false;
|
|
578
1876
|
};
|
|
579
1877
|
}>> & Readonly<{
|
|
580
1878
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
581
|
-
|
|
1879
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
582
1880
|
}>, {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
1881
|
+
readonly filter: boolean | undefined;
|
|
1882
|
+
readonly modelValue: string;
|
|
1883
|
+
readonly defaultValue: string;
|
|
1884
|
+
readonly open: boolean | undefined;
|
|
1885
|
+
readonly defaultOpen: boolean;
|
|
1886
|
+
readonly autoHighlight: boolean | undefined;
|
|
587
1887
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
588
|
-
|
|
1888
|
+
declare const comboboxInputProps: {
|
|
1889
|
+
readonly styled: {
|
|
1890
|
+
readonly type: BooleanConstructor;
|
|
1891
|
+
readonly default: true;
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
/** Props for {@link ComboboxInput}. */
|
|
1895
|
+
type ComboboxInputProps = ExtractPublicPropTypes<typeof comboboxInputProps>;
|
|
1896
|
+
/** The combobox text field. Wires itself to a surrounding `<Field>`. */
|
|
589
1897
|
declare const ComboboxInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
590
|
-
styled: {
|
|
591
|
-
type: BooleanConstructor;
|
|
592
|
-
default:
|
|
1898
|
+
readonly styled: {
|
|
1899
|
+
readonly type: BooleanConstructor;
|
|
1900
|
+
readonly default: true;
|
|
593
1901
|
};
|
|
594
1902
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
595
1903
|
[key: string]: any;
|
|
596
1904
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
597
|
-
styled: {
|
|
598
|
-
type: BooleanConstructor;
|
|
599
|
-
default:
|
|
1905
|
+
readonly styled: {
|
|
1906
|
+
readonly type: BooleanConstructor;
|
|
1907
|
+
readonly default: true;
|
|
600
1908
|
};
|
|
601
1909
|
}>> & Readonly<{}>, {
|
|
602
|
-
styled: boolean;
|
|
1910
|
+
readonly styled: boolean;
|
|
603
1911
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1912
|
+
/** Props for {@link ComboboxList}. */
|
|
1913
|
+
type ComboboxListProps = Record<never, never>;
|
|
604
1914
|
/** The option popup (`role="listbox"`). */
|
|
605
1915
|
declare const ComboboxList: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
606
1916
|
[key: string]: any;
|
|
607
1917
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
608
|
-
|
|
1918
|
+
declare const comboboxOptionProps: {
|
|
1919
|
+
readonly value: {
|
|
1920
|
+
readonly type: StringConstructor;
|
|
1921
|
+
readonly required: true;
|
|
1922
|
+
};
|
|
1923
|
+
readonly disabled: {
|
|
1924
|
+
readonly type: BooleanConstructor;
|
|
1925
|
+
readonly default: false;
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1928
|
+
/** Props for {@link ComboboxOption}. */
|
|
1929
|
+
type ComboboxOptionProps = ExtractPublicPropTypes<typeof comboboxOptionProps>;
|
|
1930
|
+
/** A selectable option. The `value` is committed on selection; `disabled` options are skipped. */
|
|
609
1931
|
declare const ComboboxOption: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
610
|
-
value: {
|
|
611
|
-
type: StringConstructor;
|
|
612
|
-
required: true;
|
|
1932
|
+
readonly value: {
|
|
1933
|
+
readonly type: StringConstructor;
|
|
1934
|
+
readonly required: true;
|
|
1935
|
+
};
|
|
1936
|
+
readonly disabled: {
|
|
1937
|
+
readonly type: BooleanConstructor;
|
|
1938
|
+
readonly default: false;
|
|
613
1939
|
};
|
|
614
1940
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
615
1941
|
[key: string]: any;
|
|
616
1942
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
617
|
-
value: {
|
|
618
|
-
type: StringConstructor;
|
|
619
|
-
required: true;
|
|
1943
|
+
readonly value: {
|
|
1944
|
+
readonly type: StringConstructor;
|
|
1945
|
+
readonly required: true;
|
|
620
1946
|
};
|
|
621
|
-
|
|
1947
|
+
readonly disabled: {
|
|
1948
|
+
readonly type: BooleanConstructor;
|
|
1949
|
+
readonly default: false;
|
|
1950
|
+
};
|
|
1951
|
+
}>> & Readonly<{}>, {
|
|
1952
|
+
readonly disabled: boolean;
|
|
1953
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
622
1954
|
|
|
1955
|
+
declare const commandProps: {
|
|
1956
|
+
/** Lowercased key that, with Cmd/Ctrl, opens the hosting `<dialog>`. */
|
|
1957
|
+
readonly hotkey: {
|
|
1958
|
+
readonly type: StringConstructor;
|
|
1959
|
+
readonly default: undefined;
|
|
1960
|
+
};
|
|
1961
|
+
/** Controlled filter query (`v-model:query`). */
|
|
1962
|
+
readonly query: {
|
|
1963
|
+
readonly type: StringConstructor;
|
|
1964
|
+
readonly default: undefined;
|
|
1965
|
+
};
|
|
1966
|
+
/** Initial query for uncontrolled usage. */
|
|
1967
|
+
readonly defaultQuery: {
|
|
1968
|
+
readonly type: StringConstructor;
|
|
1969
|
+
readonly default: undefined;
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
/** Props for {@link Command}. */
|
|
1973
|
+
type CommandProps = ExtractPublicPropTypes<typeof commandProps>;
|
|
623
1974
|
/**
|
|
624
1975
|
* Command palette. Compose with `<CommandInput>`, `<CommandList>`,
|
|
625
|
-
* `<CommandGroup>`, `<CommandItem>`, `<CommandEmpty>`.
|
|
626
|
-
*
|
|
1976
|
+
* `<CommandGroup>`, `<CommandItem>`, `<CommandEmpty>`. The filter query works
|
|
1977
|
+
* uncontrolled (`defaultQuery`) or with `v-model:query`; running a command
|
|
1978
|
+
* emits `command` with `(value, item)`. Place inside a `<dialog>` to use
|
|
1979
|
+
* `hotkey`.
|
|
627
1980
|
*/
|
|
628
1981
|
declare const Command: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
1982
|
+
/** Lowercased key that, with Cmd/Ctrl, opens the hosting `<dialog>`. */
|
|
1983
|
+
readonly hotkey: {
|
|
1984
|
+
readonly type: StringConstructor;
|
|
1985
|
+
readonly default: undefined;
|
|
1986
|
+
};
|
|
1987
|
+
/** Controlled filter query (`v-model:query`). */
|
|
1988
|
+
readonly query: {
|
|
1989
|
+
readonly type: StringConstructor;
|
|
1990
|
+
readonly default: undefined;
|
|
1991
|
+
};
|
|
1992
|
+
/** Initial query for uncontrolled usage. */
|
|
1993
|
+
readonly defaultQuery: {
|
|
1994
|
+
readonly type: StringConstructor;
|
|
1995
|
+
readonly default: undefined;
|
|
632
1996
|
};
|
|
633
1997
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
634
1998
|
[key: string]: any;
|
|
635
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
1999
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:query" | "command")[], "update:query" | "command", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
2000
|
+
/** Lowercased key that, with Cmd/Ctrl, opens the hosting `<dialog>`. */
|
|
2001
|
+
readonly hotkey: {
|
|
2002
|
+
readonly type: StringConstructor;
|
|
2003
|
+
readonly default: undefined;
|
|
2004
|
+
};
|
|
2005
|
+
/** Controlled filter query (`v-model:query`). */
|
|
2006
|
+
readonly query: {
|
|
2007
|
+
readonly type: StringConstructor;
|
|
2008
|
+
readonly default: undefined;
|
|
2009
|
+
};
|
|
2010
|
+
/** Initial query for uncontrolled usage. */
|
|
2011
|
+
readonly defaultQuery: {
|
|
2012
|
+
readonly type: StringConstructor;
|
|
2013
|
+
readonly default: undefined;
|
|
639
2014
|
};
|
|
640
2015
|
}>> & Readonly<{
|
|
641
|
-
|
|
2016
|
+
"onUpdate:query"?: ((...args: any[]) => any) | undefined;
|
|
2017
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
|
642
2018
|
}>, {
|
|
643
|
-
hotkey: string;
|
|
2019
|
+
readonly hotkey: string;
|
|
2020
|
+
readonly query: string;
|
|
2021
|
+
readonly defaultQuery: string;
|
|
644
2022
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2023
|
+
declare const commandInputProps: {
|
|
2024
|
+
readonly styled: {
|
|
2025
|
+
readonly type: BooleanConstructor;
|
|
2026
|
+
readonly default: true;
|
|
2027
|
+
};
|
|
2028
|
+
};
|
|
2029
|
+
/** Props for {@link CommandInput}. */
|
|
2030
|
+
type CommandInputProps = ExtractPublicPropTypes<typeof commandInputProps>;
|
|
645
2031
|
/** The palette search field. */
|
|
646
2032
|
declare const CommandInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
647
|
-
styled: {
|
|
648
|
-
type: BooleanConstructor;
|
|
649
|
-
default:
|
|
2033
|
+
readonly styled: {
|
|
2034
|
+
readonly type: BooleanConstructor;
|
|
2035
|
+
readonly default: true;
|
|
650
2036
|
};
|
|
651
2037
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
652
2038
|
[key: string]: any;
|
|
653
2039
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
654
|
-
styled: {
|
|
655
|
-
type: BooleanConstructor;
|
|
656
|
-
default:
|
|
2040
|
+
readonly styled: {
|
|
2041
|
+
readonly type: BooleanConstructor;
|
|
2042
|
+
readonly default: true;
|
|
657
2043
|
};
|
|
658
2044
|
}>> & Readonly<{}>, {
|
|
659
|
-
styled: boolean;
|
|
2045
|
+
readonly styled: boolean;
|
|
660
2046
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2047
|
+
/** Props for {@link CommandList}. */
|
|
2048
|
+
type CommandListProps = Record<never, never>;
|
|
661
2049
|
/** The scrollable list of commands (`role="listbox"`). */
|
|
662
2050
|
declare const CommandList: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
663
2051
|
[key: string]: any;
|
|
664
2052
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
declare const CommandItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
671
|
-
value: {
|
|
672
|
-
type: StringConstructor;
|
|
673
|
-
required: true;
|
|
2053
|
+
declare const commandGroupProps: {
|
|
2054
|
+
/** Group heading; the `label` slot takes precedence. */
|
|
2055
|
+
readonly label: {
|
|
2056
|
+
readonly type: StringConstructor;
|
|
2057
|
+
readonly default: undefined;
|
|
674
2058
|
};
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
2059
|
+
};
|
|
2060
|
+
/** Props for {@link CommandGroup}. */
|
|
2061
|
+
type CommandGroupProps = ExtractPublicPropTypes<typeof commandGroupProps>;
|
|
2062
|
+
/** A labelled group of commands. */
|
|
2063
|
+
declare const CommandGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
2064
|
+
/** Group heading; the `label` slot takes precedence. */
|
|
2065
|
+
readonly label: {
|
|
2066
|
+
readonly type: StringConstructor;
|
|
2067
|
+
readonly default: undefined;
|
|
678
2068
|
};
|
|
679
2069
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
680
2070
|
[key: string]: any;
|
|
681
2071
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
keywords: {
|
|
687
|
-
type: StringConstructor;
|
|
688
|
-
default: undefined;
|
|
2072
|
+
/** Group heading; the `label` slot takes precedence. */
|
|
2073
|
+
readonly label: {
|
|
2074
|
+
readonly type: StringConstructor;
|
|
2075
|
+
readonly default: undefined;
|
|
689
2076
|
};
|
|
690
2077
|
}>> & Readonly<{}>, {
|
|
691
|
-
|
|
2078
|
+
readonly label: string;
|
|
692
2079
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
* Bind the control with `v-bind="useField()"` or place an `<Input>` inside.
|
|
703
|
-
*/
|
|
704
|
-
declare const Field: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
705
|
-
id: {
|
|
706
|
-
type: StringConstructor;
|
|
707
|
-
default: undefined;
|
|
2080
|
+
declare const commandItemProps: {
|
|
2081
|
+
readonly value: {
|
|
2082
|
+
readonly type: StringConstructor;
|
|
2083
|
+
readonly required: true;
|
|
2084
|
+
};
|
|
2085
|
+
/** Extra search terms matched by the filter. */
|
|
2086
|
+
readonly keywords: {
|
|
2087
|
+
readonly type: StringConstructor;
|
|
2088
|
+
readonly default: undefined;
|
|
708
2089
|
};
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
2090
|
+
};
|
|
2091
|
+
/** Props for {@link CommandItem}. */
|
|
2092
|
+
type CommandItemProps = ExtractPublicPropTypes<typeof commandItemProps>;
|
|
2093
|
+
/** A runnable command (`role="option"`). */
|
|
2094
|
+
declare const CommandItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
2095
|
+
readonly value: {
|
|
2096
|
+
readonly type: StringConstructor;
|
|
2097
|
+
readonly required: true;
|
|
712
2098
|
};
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
2099
|
+
/** Extra search terms matched by the filter. */
|
|
2100
|
+
readonly keywords: {
|
|
2101
|
+
readonly type: StringConstructor;
|
|
2102
|
+
readonly default: undefined;
|
|
716
2103
|
};
|
|
717
2104
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
718
2105
|
[key: string]: any;
|
|
719
2106
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
720
|
-
|
|
721
|
-
type: StringConstructor;
|
|
722
|
-
|
|
723
|
-
};
|
|
724
|
-
invalid: {
|
|
725
|
-
type: BooleanConstructor;
|
|
726
|
-
default: boolean;
|
|
2107
|
+
readonly value: {
|
|
2108
|
+
readonly type: StringConstructor;
|
|
2109
|
+
readonly required: true;
|
|
727
2110
|
};
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
2111
|
+
/** Extra search terms matched by the filter. */
|
|
2112
|
+
readonly keywords: {
|
|
2113
|
+
readonly type: StringConstructor;
|
|
2114
|
+
readonly default: undefined;
|
|
731
2115
|
};
|
|
732
2116
|
}>> & Readonly<{}>, {
|
|
733
|
-
|
|
734
|
-
required: boolean;
|
|
735
|
-
id: string;
|
|
2117
|
+
readonly keywords: string;
|
|
736
2118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
737
|
-
/**
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
'aria-invalid'?: undefined;
|
|
742
|
-
} | {
|
|
743
|
-
id: string;
|
|
744
|
-
'aria-describedby': string | undefined;
|
|
745
|
-
'aria-invalid': true | undefined;
|
|
746
|
-
};
|
|
747
|
-
/** Label for a {@link Field}'s control, associated with it by id. */
|
|
748
|
-
declare const FieldLabel: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
749
|
-
[key: string]: any;
|
|
750
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
751
|
-
/** Help text for a {@link Field}, linked to its control via `aria-describedby`. */
|
|
752
|
-
declare const FieldHelp: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
753
|
-
[key: string]: any;
|
|
754
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
755
|
-
/** Validation message for a {@link Field}; renders nothing until it has content. */
|
|
756
|
-
declare const FieldError: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
757
|
-
[key: string]: any;
|
|
758
|
-
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
759
|
-
/** Groups related controls in a native fieldset with an optional `legend` slot. */
|
|
760
|
-
declare const Fieldset: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2119
|
+
/** Props for {@link CommandEmpty}. */
|
|
2120
|
+
type CommandEmptyProps = Record<never, never>;
|
|
2121
|
+
/** Shown when no commands match the query. */
|
|
2122
|
+
declare const CommandEmpty: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
761
2123
|
[key: string]: any;
|
|
762
2124
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
763
|
-
/** Text input styled with the `hl-input` primitive. Supports `v-model`. */
|
|
764
|
-
declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
765
|
-
modelValue: {
|
|
766
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
767
|
-
default: undefined;
|
|
768
|
-
};
|
|
769
|
-
size: {
|
|
770
|
-
type: PropType<Size>;
|
|
771
|
-
default: undefined;
|
|
772
|
-
};
|
|
773
|
-
invalid: {
|
|
774
|
-
type: BooleanConstructor;
|
|
775
|
-
default: boolean;
|
|
776
|
-
};
|
|
777
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
778
|
-
[key: string]: any;
|
|
779
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
780
|
-
modelValue: {
|
|
781
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
782
|
-
default: undefined;
|
|
783
|
-
};
|
|
784
|
-
size: {
|
|
785
|
-
type: PropType<Size>;
|
|
786
|
-
default: undefined;
|
|
787
|
-
};
|
|
788
|
-
invalid: {
|
|
789
|
-
type: BooleanConstructor;
|
|
790
|
-
default: boolean;
|
|
791
|
-
};
|
|
792
|
-
}>> & Readonly<{
|
|
793
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
794
|
-
}>, {
|
|
795
|
-
modelValue: string | number;
|
|
796
|
-
invalid: boolean;
|
|
797
|
-
size: Size;
|
|
798
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
799
|
-
/** Multi-line text input. Supports `v-model`. */
|
|
800
|
-
declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
801
|
-
modelValue: {
|
|
802
|
-
type: StringConstructor;
|
|
803
|
-
default: undefined;
|
|
804
|
-
};
|
|
805
|
-
size: {
|
|
806
|
-
type: PropType<Size>;
|
|
807
|
-
default: undefined;
|
|
808
|
-
};
|
|
809
|
-
invalid: {
|
|
810
|
-
type: BooleanConstructor;
|
|
811
|
-
default: boolean;
|
|
812
|
-
};
|
|
813
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
814
|
-
[key: string]: any;
|
|
815
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
816
|
-
modelValue: {
|
|
817
|
-
type: StringConstructor;
|
|
818
|
-
default: undefined;
|
|
819
|
-
};
|
|
820
|
-
size: {
|
|
821
|
-
type: PropType<Size>;
|
|
822
|
-
default: undefined;
|
|
823
|
-
};
|
|
824
|
-
invalid: {
|
|
825
|
-
type: BooleanConstructor;
|
|
826
|
-
default: boolean;
|
|
827
|
-
};
|
|
828
|
-
}>> & Readonly<{
|
|
829
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
830
|
-
}>, {
|
|
831
|
-
modelValue: string;
|
|
832
|
-
invalid: boolean;
|
|
833
|
-
size: Size;
|
|
834
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
835
|
-
/** Native `<select>` styled with `hl-select`. Supports `v-model`. */
|
|
836
|
-
declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
837
|
-
modelValue: {
|
|
838
|
-
type: StringConstructor;
|
|
839
|
-
default: undefined;
|
|
840
|
-
};
|
|
841
|
-
size: {
|
|
842
|
-
type: PropType<Size>;
|
|
843
|
-
default: undefined;
|
|
844
|
-
};
|
|
845
|
-
invalid: {
|
|
846
|
-
type: BooleanConstructor;
|
|
847
|
-
default: boolean;
|
|
848
|
-
};
|
|
849
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
850
|
-
[key: string]: any;
|
|
851
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
852
|
-
modelValue: {
|
|
853
|
-
type: StringConstructor;
|
|
854
|
-
default: undefined;
|
|
855
|
-
};
|
|
856
|
-
size: {
|
|
857
|
-
type: PropType<Size>;
|
|
858
|
-
default: undefined;
|
|
859
|
-
};
|
|
860
|
-
invalid: {
|
|
861
|
-
type: BooleanConstructor;
|
|
862
|
-
default: boolean;
|
|
863
|
-
};
|
|
864
|
-
}>> & Readonly<{
|
|
865
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
866
|
-
}>, {
|
|
867
|
-
modelValue: string;
|
|
868
|
-
invalid: boolean;
|
|
869
|
-
size: Size;
|
|
870
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
871
|
-
/** Checkbox built on a native input, label-wrapped. Supports `v-model`. */
|
|
872
|
-
declare const Checkbox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
873
|
-
modelValue: {
|
|
874
|
-
type: BooleanConstructor;
|
|
875
|
-
default: undefined;
|
|
876
|
-
};
|
|
877
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
878
|
-
[key: string]: any;
|
|
879
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
880
|
-
modelValue: {
|
|
881
|
-
type: BooleanConstructor;
|
|
882
|
-
default: undefined;
|
|
883
|
-
};
|
|
884
|
-
}>> & Readonly<{
|
|
885
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
886
|
-
}>, {
|
|
887
|
-
modelValue: boolean;
|
|
888
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
889
|
-
/** Toggle switch built on a native checkbox. Supports `v-model`. */
|
|
890
|
-
declare const Switch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
891
|
-
modelValue: {
|
|
892
|
-
type: BooleanConstructor;
|
|
893
|
-
default: undefined;
|
|
894
|
-
};
|
|
895
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
896
|
-
[key: string]: any;
|
|
897
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
898
|
-
modelValue: {
|
|
899
|
-
type: BooleanConstructor;
|
|
900
|
-
default: undefined;
|
|
901
|
-
};
|
|
902
|
-
}>> & Readonly<{
|
|
903
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
904
|
-
}>, {
|
|
905
|
-
modelValue: boolean;
|
|
906
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
907
|
-
/** Range slider primitive. Supports `v-model`. */
|
|
908
|
-
declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
909
|
-
modelValue: {
|
|
910
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
911
|
-
default: undefined;
|
|
912
|
-
};
|
|
913
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
914
|
-
[key: string]: any;
|
|
915
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
916
|
-
modelValue: {
|
|
917
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
918
|
-
default: undefined;
|
|
919
|
-
};
|
|
920
|
-
}>> & Readonly<{
|
|
921
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
922
|
-
}>, {
|
|
923
|
-
modelValue: string | number;
|
|
924
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
925
|
-
/** Groups radios under `role="radiogroup"`. Supports `v-model`. */
|
|
926
|
-
declare const RadioGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
927
|
-
modelValue: {
|
|
928
|
-
type: StringConstructor;
|
|
929
|
-
default: undefined;
|
|
930
|
-
};
|
|
931
|
-
name: {
|
|
932
|
-
type: StringConstructor;
|
|
933
|
-
default: undefined;
|
|
934
|
-
};
|
|
935
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
936
|
-
[key: string]: any;
|
|
937
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
938
|
-
modelValue: {
|
|
939
|
-
type: StringConstructor;
|
|
940
|
-
default: undefined;
|
|
941
|
-
};
|
|
942
|
-
name: {
|
|
943
|
-
type: StringConstructor;
|
|
944
|
-
default: undefined;
|
|
945
|
-
};
|
|
946
|
-
}>> & Readonly<{
|
|
947
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
948
|
-
}>, {
|
|
949
|
-
name: string;
|
|
950
|
-
modelValue: string;
|
|
951
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
952
|
-
/** A single radio. Inside a `<RadioGroup>` it binds to the shared value. */
|
|
953
|
-
declare const Radio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
954
|
-
value: {
|
|
955
|
-
type: StringConstructor;
|
|
956
|
-
required: true;
|
|
957
|
-
};
|
|
958
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
959
|
-
[key: string]: any;
|
|
960
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
961
|
-
value: {
|
|
962
|
-
type: StringConstructor;
|
|
963
|
-
required: true;
|
|
964
|
-
};
|
|
965
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
966
|
-
/** Segmented control: a styled radiogroup. Supports `v-model`. */
|
|
967
|
-
declare const SegmentedControl: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
968
|
-
modelValue: {
|
|
969
|
-
type: StringConstructor;
|
|
970
|
-
default: undefined;
|
|
971
|
-
};
|
|
972
|
-
options: {
|
|
973
|
-
type: PropType<Array<{
|
|
974
|
-
label: string;
|
|
975
|
-
value: string;
|
|
976
|
-
disabled?: boolean;
|
|
977
|
-
}>>;
|
|
978
|
-
default: () => never[];
|
|
979
|
-
};
|
|
980
|
-
name: {
|
|
981
|
-
type: StringConstructor;
|
|
982
|
-
default: undefined;
|
|
983
|
-
};
|
|
984
|
-
size: {
|
|
985
|
-
type: PropType<Size>;
|
|
986
|
-
default: undefined;
|
|
987
|
-
};
|
|
988
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
989
|
-
[key: string]: any;
|
|
990
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
991
|
-
modelValue: {
|
|
992
|
-
type: StringConstructor;
|
|
993
|
-
default: undefined;
|
|
994
|
-
};
|
|
995
|
-
options: {
|
|
996
|
-
type: PropType<Array<{
|
|
997
|
-
label: string;
|
|
998
|
-
value: string;
|
|
999
|
-
disabled?: boolean;
|
|
1000
|
-
}>>;
|
|
1001
|
-
default: () => never[];
|
|
1002
|
-
};
|
|
1003
|
-
name: {
|
|
1004
|
-
type: StringConstructor;
|
|
1005
|
-
default: undefined;
|
|
1006
|
-
};
|
|
1007
|
-
size: {
|
|
1008
|
-
type: PropType<Size>;
|
|
1009
|
-
default: undefined;
|
|
1010
|
-
};
|
|
1011
|
-
}>> & Readonly<{
|
|
1012
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1013
|
-
}>, {
|
|
1014
|
-
name: string;
|
|
1015
|
-
modelValue: string;
|
|
1016
|
-
size: Size;
|
|
1017
|
-
options: {
|
|
1018
|
-
label: string;
|
|
1019
|
-
value: string;
|
|
1020
|
-
disabled?: boolean;
|
|
1021
|
-
}[];
|
|
1022
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1023
2125
|
|
|
2126
|
+
declare const buttonProps: {
|
|
2127
|
+
readonly variant: {
|
|
2128
|
+
readonly type: PropType<"solid" | "soft" | "outline" | "ghost" | "link">;
|
|
2129
|
+
readonly default: undefined;
|
|
2130
|
+
};
|
|
2131
|
+
readonly intent: {
|
|
2132
|
+
readonly type: PropType<"neutral" | "primary" | "danger" | "success" | "warning" | "info">;
|
|
2133
|
+
readonly default: undefined;
|
|
2134
|
+
};
|
|
2135
|
+
readonly size: {
|
|
2136
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2137
|
+
readonly default: undefined;
|
|
2138
|
+
};
|
|
2139
|
+
/** Stretch to the container's inline size. */
|
|
2140
|
+
readonly block: {
|
|
2141
|
+
readonly type: BooleanConstructor;
|
|
2142
|
+
readonly default: false;
|
|
2143
|
+
};
|
|
2144
|
+
/** Square icon-only button. */
|
|
2145
|
+
readonly icon: {
|
|
2146
|
+
readonly type: BooleanConstructor;
|
|
2147
|
+
readonly default: false;
|
|
2148
|
+
};
|
|
2149
|
+
/** Show the busy state and disable the button. */
|
|
2150
|
+
readonly loading: {
|
|
2151
|
+
readonly type: BooleanConstructor;
|
|
2152
|
+
readonly default: false;
|
|
2153
|
+
};
|
|
2154
|
+
};
|
|
2155
|
+
/** Props for {@link Button}. */
|
|
2156
|
+
type ButtonProps = ExtractPublicPropTypes<typeof buttonProps>;
|
|
1024
2157
|
/** Button primitive: `hl-button` with intent/variant/size modifiers. */
|
|
1025
2158
|
declare const Button: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1026
|
-
variant: {
|
|
1027
|
-
type: PropType<"solid" | "soft" | "outline" | "ghost" | "link">;
|
|
1028
|
-
default: undefined;
|
|
2159
|
+
readonly variant: {
|
|
2160
|
+
readonly type: PropType<"solid" | "soft" | "outline" | "ghost" | "link">;
|
|
2161
|
+
readonly default: undefined;
|
|
1029
2162
|
};
|
|
1030
|
-
intent: {
|
|
1031
|
-
type: PropType<"neutral" | "primary" | "danger" | "success" | "warning" | "info">;
|
|
1032
|
-
default: undefined;
|
|
2163
|
+
readonly intent: {
|
|
2164
|
+
readonly type: PropType<"neutral" | "primary" | "danger" | "success" | "warning" | "info">;
|
|
2165
|
+
readonly default: undefined;
|
|
1033
2166
|
};
|
|
1034
|
-
size: {
|
|
1035
|
-
type: PropType<"sm" | "md" | "lg">;
|
|
1036
|
-
default: undefined;
|
|
2167
|
+
readonly size: {
|
|
2168
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2169
|
+
readonly default: undefined;
|
|
1037
2170
|
};
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
2171
|
+
/** Stretch to the container's inline size. */
|
|
2172
|
+
readonly block: {
|
|
2173
|
+
readonly type: BooleanConstructor;
|
|
2174
|
+
readonly default: false;
|
|
1041
2175
|
};
|
|
1042
|
-
icon
|
|
1043
|
-
|
|
1044
|
-
|
|
2176
|
+
/** Square icon-only button. */
|
|
2177
|
+
readonly icon: {
|
|
2178
|
+
readonly type: BooleanConstructor;
|
|
2179
|
+
readonly default: false;
|
|
1045
2180
|
};
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
2181
|
+
/** Show the busy state and disable the button. */
|
|
2182
|
+
readonly loading: {
|
|
2183
|
+
readonly type: BooleanConstructor;
|
|
2184
|
+
readonly default: false;
|
|
1049
2185
|
};
|
|
1050
2186
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1051
2187
|
[key: string]: any;
|
|
1052
2188
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1053
|
-
variant: {
|
|
1054
|
-
type: PropType<"solid" | "soft" | "outline" | "ghost" | "link">;
|
|
1055
|
-
default: undefined;
|
|
2189
|
+
readonly variant: {
|
|
2190
|
+
readonly type: PropType<"solid" | "soft" | "outline" | "ghost" | "link">;
|
|
2191
|
+
readonly default: undefined;
|
|
1056
2192
|
};
|
|
1057
|
-
intent: {
|
|
1058
|
-
type: PropType<"neutral" | "primary" | "danger" | "success" | "warning" | "info">;
|
|
1059
|
-
default: undefined;
|
|
2193
|
+
readonly intent: {
|
|
2194
|
+
readonly type: PropType<"neutral" | "primary" | "danger" | "success" | "warning" | "info">;
|
|
2195
|
+
readonly default: undefined;
|
|
1060
2196
|
};
|
|
1061
|
-
size: {
|
|
1062
|
-
type: PropType<"sm" | "md" | "lg">;
|
|
1063
|
-
default: undefined;
|
|
2197
|
+
readonly size: {
|
|
2198
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2199
|
+
readonly default: undefined;
|
|
1064
2200
|
};
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
2201
|
+
/** Stretch to the container's inline size. */
|
|
2202
|
+
readonly block: {
|
|
2203
|
+
readonly type: BooleanConstructor;
|
|
2204
|
+
readonly default: false;
|
|
1068
2205
|
};
|
|
1069
|
-
icon
|
|
1070
|
-
|
|
1071
|
-
|
|
2206
|
+
/** Square icon-only button. */
|
|
2207
|
+
readonly icon: {
|
|
2208
|
+
readonly type: BooleanConstructor;
|
|
2209
|
+
readonly default: false;
|
|
1072
2210
|
};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
2211
|
+
/** Show the busy state and disable the button. */
|
|
2212
|
+
readonly loading: {
|
|
2213
|
+
readonly type: BooleanConstructor;
|
|
2214
|
+
readonly default: false;
|
|
1076
2215
|
};
|
|
1077
2216
|
}>> & Readonly<{}>, {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
variant: "link" | "solid" | "soft" | "outline" | "ghost";
|
|
1081
|
-
intent: "neutral" | "primary" | "danger" | "success" | "warning" | "info";
|
|
1082
|
-
block: boolean;
|
|
1083
|
-
loading: boolean;
|
|
2217
|
+
readonly size: "sm" | "md" | "lg";
|
|
2218
|
+
readonly icon: boolean;
|
|
2219
|
+
readonly variant: "link" | "solid" | "soft" | "outline" | "ghost";
|
|
2220
|
+
readonly intent: "neutral" | "primary" | "danger" | "success" | "warning" | "info";
|
|
2221
|
+
readonly block: boolean;
|
|
2222
|
+
readonly loading: boolean;
|
|
1084
2223
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1085
2224
|
|
|
1086
2225
|
type Intent = 'neutral' | 'primary' | 'danger' | 'success' | 'warning' | 'info';
|
|
2226
|
+
declare const alertProps: {
|
|
2227
|
+
readonly intent: {
|
|
2228
|
+
readonly type: PropType<Intent>;
|
|
2229
|
+
readonly default: undefined;
|
|
2230
|
+
};
|
|
2231
|
+
readonly title: {
|
|
2232
|
+
readonly type: StringConstructor;
|
|
2233
|
+
readonly default: undefined;
|
|
2234
|
+
};
|
|
2235
|
+
};
|
|
2236
|
+
/** Props for {@link Alert}. */
|
|
2237
|
+
type AlertProps = ExtractPublicPropTypes<typeof alertProps>;
|
|
1087
2238
|
/** Alert primitive: `hl-alert` with intent, optional `icon` slot + `title`. */
|
|
1088
2239
|
declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1089
|
-
intent: {
|
|
1090
|
-
type: PropType<Intent>;
|
|
1091
|
-
default: undefined;
|
|
2240
|
+
readonly intent: {
|
|
2241
|
+
readonly type: PropType<Intent>;
|
|
2242
|
+
readonly default: undefined;
|
|
1092
2243
|
};
|
|
1093
|
-
title: {
|
|
1094
|
-
type: StringConstructor;
|
|
1095
|
-
default: undefined;
|
|
2244
|
+
readonly title: {
|
|
2245
|
+
readonly type: StringConstructor;
|
|
2246
|
+
readonly default: undefined;
|
|
1096
2247
|
};
|
|
1097
2248
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1098
2249
|
[key: string]: any;
|
|
1099
2250
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1100
|
-
intent: {
|
|
1101
|
-
type: PropType<Intent>;
|
|
1102
|
-
default: undefined;
|
|
2251
|
+
readonly intent: {
|
|
2252
|
+
readonly type: PropType<Intent>;
|
|
2253
|
+
readonly default: undefined;
|
|
1103
2254
|
};
|
|
1104
|
-
title: {
|
|
1105
|
-
type: StringConstructor;
|
|
1106
|
-
default: undefined;
|
|
2255
|
+
readonly title: {
|
|
2256
|
+
readonly type: StringConstructor;
|
|
2257
|
+
readonly default: undefined;
|
|
1107
2258
|
};
|
|
1108
2259
|
}>> & Readonly<{}>, {
|
|
1109
|
-
title: string;
|
|
1110
|
-
intent: Intent;
|
|
2260
|
+
readonly title: string;
|
|
2261
|
+
readonly intent: Intent;
|
|
1111
2262
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2263
|
+
declare const badgeProps: {
|
|
2264
|
+
readonly intent: {
|
|
2265
|
+
readonly type: PropType<Intent>;
|
|
2266
|
+
readonly default: undefined;
|
|
2267
|
+
};
|
|
2268
|
+
readonly variant: {
|
|
2269
|
+
readonly type: PropType<"soft" | "solid" | "outline">;
|
|
2270
|
+
readonly default: undefined;
|
|
2271
|
+
};
|
|
2272
|
+
readonly size: {
|
|
2273
|
+
readonly type: PropType<"sm" | "md">;
|
|
2274
|
+
readonly default: undefined;
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
2277
|
+
/** Props for {@link Badge}. */
|
|
2278
|
+
type BadgeProps = ExtractPublicPropTypes<typeof badgeProps>;
|
|
1112
2279
|
/** Badge primitive: `hl-badge` with intent/variant/size modifiers. */
|
|
1113
2280
|
declare const Badge: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1114
|
-
intent: {
|
|
1115
|
-
type: PropType<Intent>;
|
|
1116
|
-
default: undefined;
|
|
2281
|
+
readonly intent: {
|
|
2282
|
+
readonly type: PropType<Intent>;
|
|
2283
|
+
readonly default: undefined;
|
|
1117
2284
|
};
|
|
1118
|
-
variant: {
|
|
1119
|
-
type: PropType<"soft" | "solid" | "outline">;
|
|
1120
|
-
default: undefined;
|
|
2285
|
+
readonly variant: {
|
|
2286
|
+
readonly type: PropType<"soft" | "solid" | "outline">;
|
|
2287
|
+
readonly default: undefined;
|
|
1121
2288
|
};
|
|
1122
|
-
size: {
|
|
1123
|
-
type: PropType<"sm" | "md">;
|
|
1124
|
-
default: undefined;
|
|
2289
|
+
readonly size: {
|
|
2290
|
+
readonly type: PropType<"sm" | "md">;
|
|
2291
|
+
readonly default: undefined;
|
|
1125
2292
|
};
|
|
1126
2293
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1127
2294
|
[key: string]: any;
|
|
1128
2295
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1129
|
-
intent: {
|
|
1130
|
-
type: PropType<Intent>;
|
|
1131
|
-
default: undefined;
|
|
2296
|
+
readonly intent: {
|
|
2297
|
+
readonly type: PropType<Intent>;
|
|
2298
|
+
readonly default: undefined;
|
|
1132
2299
|
};
|
|
1133
|
-
variant: {
|
|
1134
|
-
type: PropType<"soft" | "solid" | "outline">;
|
|
1135
|
-
default: undefined;
|
|
2300
|
+
readonly variant: {
|
|
2301
|
+
readonly type: PropType<"soft" | "solid" | "outline">;
|
|
2302
|
+
readonly default: undefined;
|
|
1136
2303
|
};
|
|
1137
|
-
size: {
|
|
1138
|
-
type: PropType<"sm" | "md">;
|
|
1139
|
-
default: undefined;
|
|
2304
|
+
readonly size: {
|
|
2305
|
+
readonly type: PropType<"sm" | "md">;
|
|
2306
|
+
readonly default: undefined;
|
|
1140
2307
|
};
|
|
1141
2308
|
}>> & Readonly<{}>, {
|
|
1142
|
-
size: "sm" | "md";
|
|
1143
|
-
variant: "solid" | "soft" | "outline";
|
|
1144
|
-
intent: Intent;
|
|
2309
|
+
readonly size: "sm" | "md";
|
|
2310
|
+
readonly variant: "solid" | "soft" | "outline";
|
|
2311
|
+
readonly intent: Intent;
|
|
1145
2312
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2313
|
+
declare const progressProps: {
|
|
2314
|
+
readonly value: {
|
|
2315
|
+
readonly type: NumberConstructor;
|
|
2316
|
+
readonly default: undefined;
|
|
2317
|
+
};
|
|
2318
|
+
readonly max: {
|
|
2319
|
+
readonly type: NumberConstructor;
|
|
2320
|
+
readonly default: 100;
|
|
2321
|
+
};
|
|
2322
|
+
readonly intent: {
|
|
2323
|
+
readonly type: PropType<"primary" | "success" | "warning" | "danger" | "info">;
|
|
2324
|
+
readonly default: undefined;
|
|
2325
|
+
};
|
|
2326
|
+
readonly size: {
|
|
2327
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2328
|
+
readonly default: undefined;
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
/** Props for {@link Progress}. */
|
|
2332
|
+
type ProgressProps = ExtractPublicPropTypes<typeof progressProps>;
|
|
1146
2333
|
/** Progress primitive: native `<progress class="hl-progress">`. */
|
|
1147
2334
|
declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1148
|
-
value: {
|
|
1149
|
-
type: NumberConstructor;
|
|
1150
|
-
default: undefined;
|
|
2335
|
+
readonly value: {
|
|
2336
|
+
readonly type: NumberConstructor;
|
|
2337
|
+
readonly default: undefined;
|
|
1151
2338
|
};
|
|
1152
|
-
max: {
|
|
1153
|
-
type: NumberConstructor;
|
|
1154
|
-
default:
|
|
2339
|
+
readonly max: {
|
|
2340
|
+
readonly type: NumberConstructor;
|
|
2341
|
+
readonly default: 100;
|
|
1155
2342
|
};
|
|
1156
|
-
intent: {
|
|
1157
|
-
type: PropType<"primary" | "success" | "warning" | "danger" | "info">;
|
|
1158
|
-
default: undefined;
|
|
2343
|
+
readonly intent: {
|
|
2344
|
+
readonly type: PropType<"primary" | "success" | "warning" | "danger" | "info">;
|
|
2345
|
+
readonly default: undefined;
|
|
1159
2346
|
};
|
|
1160
|
-
size: {
|
|
1161
|
-
type: PropType<"sm" | "md" | "lg">;
|
|
1162
|
-
default: undefined;
|
|
2347
|
+
readonly size: {
|
|
2348
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2349
|
+
readonly default: undefined;
|
|
1163
2350
|
};
|
|
1164
2351
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1165
2352
|
[key: string]: any;
|
|
1166
2353
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1167
|
-
value: {
|
|
1168
|
-
type: NumberConstructor;
|
|
1169
|
-
default: undefined;
|
|
2354
|
+
readonly value: {
|
|
2355
|
+
readonly type: NumberConstructor;
|
|
2356
|
+
readonly default: undefined;
|
|
1170
2357
|
};
|
|
1171
|
-
max: {
|
|
1172
|
-
type: NumberConstructor;
|
|
1173
|
-
default:
|
|
2358
|
+
readonly max: {
|
|
2359
|
+
readonly type: NumberConstructor;
|
|
2360
|
+
readonly default: 100;
|
|
1174
2361
|
};
|
|
1175
|
-
intent: {
|
|
1176
|
-
type: PropType<"primary" | "success" | "warning" | "danger" | "info">;
|
|
1177
|
-
default: undefined;
|
|
2362
|
+
readonly intent: {
|
|
2363
|
+
readonly type: PropType<"primary" | "success" | "warning" | "danger" | "info">;
|
|
2364
|
+
readonly default: undefined;
|
|
1178
2365
|
};
|
|
1179
|
-
size: {
|
|
1180
|
-
type: PropType<"sm" | "md" | "lg">;
|
|
1181
|
-
default: undefined;
|
|
2366
|
+
readonly size: {
|
|
2367
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2368
|
+
readonly default: undefined;
|
|
1182
2369
|
};
|
|
1183
2370
|
}>> & Readonly<{}>, {
|
|
1184
|
-
value: number;
|
|
1185
|
-
size: "sm" | "md" | "lg";
|
|
1186
|
-
intent: "primary" | "danger" | "success" | "warning" | "info";
|
|
1187
|
-
max: number;
|
|
2371
|
+
readonly value: number;
|
|
2372
|
+
readonly size: "sm" | "md" | "lg";
|
|
2373
|
+
readonly intent: "primary" | "danger" | "success" | "warning" | "info";
|
|
2374
|
+
readonly max: number;
|
|
1188
2375
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2376
|
+
declare const spinnerProps: {
|
|
2377
|
+
readonly size: {
|
|
2378
|
+
readonly type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
2379
|
+
readonly default: undefined;
|
|
2380
|
+
};
|
|
2381
|
+
readonly label: {
|
|
2382
|
+
readonly type: StringConstructor;
|
|
2383
|
+
readonly default: "Loading";
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
/** Props for {@link Spinner}. */
|
|
2387
|
+
type SpinnerProps = ExtractPublicPropTypes<typeof spinnerProps>;
|
|
1189
2388
|
/** Spinner primitive: `hl-spinner`, announced via `role="status"`. */
|
|
1190
2389
|
declare const Spinner: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1191
|
-
size: {
|
|
1192
|
-
type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
1193
|
-
default: undefined;
|
|
2390
|
+
readonly size: {
|
|
2391
|
+
readonly type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
2392
|
+
readonly default: undefined;
|
|
1194
2393
|
};
|
|
1195
|
-
label: {
|
|
1196
|
-
type: StringConstructor;
|
|
1197
|
-
default:
|
|
2394
|
+
readonly label: {
|
|
2395
|
+
readonly type: StringConstructor;
|
|
2396
|
+
readonly default: "Loading";
|
|
1198
2397
|
};
|
|
1199
2398
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1200
2399
|
[key: string]: any;
|
|
1201
2400
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1202
|
-
size: {
|
|
1203
|
-
type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
1204
|
-
default: undefined;
|
|
2401
|
+
readonly size: {
|
|
2402
|
+
readonly type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
2403
|
+
readonly default: undefined;
|
|
1205
2404
|
};
|
|
1206
|
-
label: {
|
|
1207
|
-
type: StringConstructor;
|
|
1208
|
-
default:
|
|
2405
|
+
readonly label: {
|
|
2406
|
+
readonly type: StringConstructor;
|
|
2407
|
+
readonly default: "Loading";
|
|
1209
2408
|
};
|
|
1210
2409
|
}>> & Readonly<{}>, {
|
|
1211
|
-
label: string;
|
|
1212
|
-
size: "sm" | "md" | "lg" | "xl";
|
|
2410
|
+
readonly label: string;
|
|
2411
|
+
readonly size: "sm" | "md" | "lg" | "xl";
|
|
1213
2412
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1214
|
-
|
|
2413
|
+
declare const skeletonProps: {
|
|
2414
|
+
readonly shape: {
|
|
2415
|
+
readonly type: PropType<"rect" | "text" | "circle">;
|
|
2416
|
+
readonly default: undefined;
|
|
2417
|
+
};
|
|
2418
|
+
/** Inline size (CSS length or px number). */
|
|
2419
|
+
readonly width: {
|
|
2420
|
+
readonly type: PropType<string | number>;
|
|
2421
|
+
readonly default: undefined;
|
|
2422
|
+
};
|
|
2423
|
+
/** Block size (CSS length or px number). */
|
|
2424
|
+
readonly height: {
|
|
2425
|
+
readonly type: PropType<string | number>;
|
|
2426
|
+
readonly default: undefined;
|
|
2427
|
+
};
|
|
2428
|
+
};
|
|
2429
|
+
/** Props for {@link Skeleton}. */
|
|
2430
|
+
type SkeletonProps = ExtractPublicPropTypes<typeof skeletonProps>;
|
|
2431
|
+
/** Skeleton placeholder primitive: `hl-skeleton` with a `shape`. */
|
|
1215
2432
|
declare const Skeleton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1216
|
-
|
|
1217
|
-
type: PropType<"rect" | "text" | "circle">;
|
|
1218
|
-
default: undefined;
|
|
2433
|
+
readonly shape: {
|
|
2434
|
+
readonly type: PropType<"rect" | "text" | "circle">;
|
|
2435
|
+
readonly default: undefined;
|
|
1219
2436
|
};
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
2437
|
+
/** Inline size (CSS length or px number). */
|
|
2438
|
+
readonly width: {
|
|
2439
|
+
readonly type: PropType<string | number>;
|
|
2440
|
+
readonly default: undefined;
|
|
1223
2441
|
};
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
2442
|
+
/** Block size (CSS length or px number). */
|
|
2443
|
+
readonly height: {
|
|
2444
|
+
readonly type: PropType<string | number>;
|
|
2445
|
+
readonly default: undefined;
|
|
1227
2446
|
};
|
|
1228
2447
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1229
2448
|
[key: string]: any;
|
|
1230
2449
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1231
|
-
|
|
1232
|
-
type: PropType<"rect" | "text" | "circle">;
|
|
1233
|
-
default: undefined;
|
|
2450
|
+
readonly shape: {
|
|
2451
|
+
readonly type: PropType<"rect" | "text" | "circle">;
|
|
2452
|
+
readonly default: undefined;
|
|
1234
2453
|
};
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
2454
|
+
/** Inline size (CSS length or px number). */
|
|
2455
|
+
readonly width: {
|
|
2456
|
+
readonly type: PropType<string | number>;
|
|
2457
|
+
readonly default: undefined;
|
|
1238
2458
|
};
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
2459
|
+
/** Block size (CSS length or px number). */
|
|
2460
|
+
readonly height: {
|
|
2461
|
+
readonly type: PropType<string | number>;
|
|
2462
|
+
readonly default: undefined;
|
|
1242
2463
|
};
|
|
1243
2464
|
}>> & Readonly<{}>, {
|
|
1244
|
-
|
|
1245
|
-
width: string | number;
|
|
1246
|
-
height: string | number;
|
|
2465
|
+
readonly shape: "rect" | "text" | "circle";
|
|
2466
|
+
readonly width: string | number;
|
|
2467
|
+
readonly height: string | number;
|
|
1247
2468
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1248
|
-
|
|
1249
|
-
|
|
2469
|
+
declare const toastRegionProps: {
|
|
2470
|
+
/** Default auto-dismiss duration in ms for toasts shown into this region. */
|
|
2471
|
+
readonly duration: {
|
|
2472
|
+
readonly type: NumberConstructor;
|
|
2473
|
+
readonly default: undefined;
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
/** Props for {@link ToastRegion}. */
|
|
2477
|
+
type ToastRegionProps = ExtractPublicPropTypes<typeof toastRegionProps>;
|
|
2478
|
+
/**
|
|
2479
|
+
* The polite live region toasts render into. Mount once near your app root;
|
|
2480
|
+
* it enhances itself on mount so `useToast()` and declarative
|
|
2481
|
+
* `data-hl-toast-trigger` buttons target it.
|
|
2482
|
+
*/
|
|
2483
|
+
declare const ToastRegion: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
2484
|
+
/** Default auto-dismiss duration in ms for toasts shown into this region. */
|
|
2485
|
+
readonly duration: {
|
|
2486
|
+
readonly type: NumberConstructor;
|
|
2487
|
+
readonly default: undefined;
|
|
2488
|
+
};
|
|
2489
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1250
2490
|
[key: string]: any;
|
|
1251
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<
|
|
2491
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
2492
|
+
/** Default auto-dismiss duration in ms for toasts shown into this region. */
|
|
2493
|
+
readonly duration: {
|
|
2494
|
+
readonly type: NumberConstructor;
|
|
2495
|
+
readonly default: undefined;
|
|
2496
|
+
};
|
|
2497
|
+
}>> & Readonly<{}>, {
|
|
2498
|
+
readonly duration: number;
|
|
2499
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1252
2500
|
|
|
2501
|
+
declare const cardProps: {
|
|
2502
|
+
/** Hover/focus affordance for clickable cards. */
|
|
2503
|
+
readonly interactive: {
|
|
2504
|
+
readonly type: BooleanConstructor;
|
|
2505
|
+
readonly default: false;
|
|
2506
|
+
};
|
|
2507
|
+
};
|
|
2508
|
+
/** Props for {@link Card}. */
|
|
2509
|
+
type CardProps = ExtractPublicPropTypes<typeof cardProps>;
|
|
1253
2510
|
/** Card container: `hl-card`. Compose with the Card* parts. */
|
|
1254
2511
|
declare const Card: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
2512
|
+
/** Hover/focus affordance for clickable cards. */
|
|
2513
|
+
readonly interactive: {
|
|
2514
|
+
readonly type: BooleanConstructor;
|
|
2515
|
+
readonly default: false;
|
|
1258
2516
|
};
|
|
1259
2517
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1260
2518
|
[key: string]: any;
|
|
1261
2519
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
2520
|
+
/** Hover/focus affordance for clickable cards. */
|
|
2521
|
+
readonly interactive: {
|
|
2522
|
+
readonly type: BooleanConstructor;
|
|
2523
|
+
readonly default: false;
|
|
1265
2524
|
};
|
|
1266
2525
|
}>> & Readonly<{}>, {
|
|
1267
|
-
interactive: boolean;
|
|
2526
|
+
readonly interactive: boolean;
|
|
1268
2527
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2528
|
+
/** Props for {@link CardHeader}. */
|
|
2529
|
+
type CardHeaderProps = Record<never, never>;
|
|
2530
|
+
/** Props for {@link CardBody}. */
|
|
2531
|
+
type CardBodyProps = Record<never, never>;
|
|
2532
|
+
/** Props for {@link CardFooter}. */
|
|
2533
|
+
type CardFooterProps = Record<never, never>;
|
|
2534
|
+
/** Props for {@link CardTitle}. */
|
|
2535
|
+
type CardTitleProps = Record<never, never>;
|
|
2536
|
+
/** Props for {@link CardDescription}. */
|
|
2537
|
+
type CardDescriptionProps = Record<never, never>;
|
|
2538
|
+
/** Props for {@link AvatarGroup}. */
|
|
2539
|
+
type AvatarGroupProps = Record<never, never>;
|
|
2540
|
+
/** Props for {@link Kbd}. */
|
|
2541
|
+
type KbdProps = Record<never, never>;
|
|
1269
2542
|
/** Header region of a {@link Card}. */
|
|
1270
2543
|
declare const CardHeader: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1271
2544
|
[key: string]: any;
|
|
@@ -1286,48 +2559,68 @@ declare const CardTitle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNod
|
|
|
1286
2559
|
declare const CardDescription: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1287
2560
|
[key: string]: any;
|
|
1288
2561
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1289
|
-
|
|
2562
|
+
declare const avatarProps: {
|
|
2563
|
+
readonly src: {
|
|
2564
|
+
readonly type: StringConstructor;
|
|
2565
|
+
readonly default: undefined;
|
|
2566
|
+
};
|
|
2567
|
+
readonly alt: {
|
|
2568
|
+
readonly type: StringConstructor;
|
|
2569
|
+
readonly default: "";
|
|
2570
|
+
};
|
|
2571
|
+
readonly size: {
|
|
2572
|
+
readonly type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
2573
|
+
readonly default: undefined;
|
|
2574
|
+
};
|
|
2575
|
+
readonly shape: {
|
|
2576
|
+
readonly type: PropType<"circle" | "square">;
|
|
2577
|
+
readonly default: undefined;
|
|
2578
|
+
};
|
|
2579
|
+
};
|
|
2580
|
+
/** Props for {@link Avatar}. */
|
|
2581
|
+
type AvatarProps = ExtractPublicPropTypes<typeof avatarProps>;
|
|
2582
|
+
/** Avatar primitive: `hl-avatar` with image + graceful fallback (default slot). */
|
|
1290
2583
|
declare const Avatar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1291
|
-
src: {
|
|
1292
|
-
type: StringConstructor;
|
|
1293
|
-
default: undefined;
|
|
2584
|
+
readonly src: {
|
|
2585
|
+
readonly type: StringConstructor;
|
|
2586
|
+
readonly default: undefined;
|
|
1294
2587
|
};
|
|
1295
|
-
alt: {
|
|
1296
|
-
type: StringConstructor;
|
|
1297
|
-
default:
|
|
2588
|
+
readonly alt: {
|
|
2589
|
+
readonly type: StringConstructor;
|
|
2590
|
+
readonly default: "";
|
|
1298
2591
|
};
|
|
1299
|
-
size: {
|
|
1300
|
-
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
1301
|
-
default: undefined;
|
|
2592
|
+
readonly size: {
|
|
2593
|
+
readonly type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
2594
|
+
readonly default: undefined;
|
|
1302
2595
|
};
|
|
1303
|
-
shape: {
|
|
1304
|
-
type: PropType<"circle" | "square">;
|
|
1305
|
-
default: undefined;
|
|
2596
|
+
readonly shape: {
|
|
2597
|
+
readonly type: PropType<"circle" | "square">;
|
|
2598
|
+
readonly default: undefined;
|
|
1306
2599
|
};
|
|
1307
2600
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1308
2601
|
[key: string]: any;
|
|
1309
2602
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1310
|
-
src: {
|
|
1311
|
-
type: StringConstructor;
|
|
1312
|
-
default: undefined;
|
|
2603
|
+
readonly src: {
|
|
2604
|
+
readonly type: StringConstructor;
|
|
2605
|
+
readonly default: undefined;
|
|
1313
2606
|
};
|
|
1314
|
-
alt: {
|
|
1315
|
-
type: StringConstructor;
|
|
1316
|
-
default:
|
|
2607
|
+
readonly alt: {
|
|
2608
|
+
readonly type: StringConstructor;
|
|
2609
|
+
readonly default: "";
|
|
1317
2610
|
};
|
|
1318
|
-
size: {
|
|
1319
|
-
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
1320
|
-
default: undefined;
|
|
2611
|
+
readonly size: {
|
|
2612
|
+
readonly type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
2613
|
+
readonly default: undefined;
|
|
1321
2614
|
};
|
|
1322
|
-
shape: {
|
|
1323
|
-
type: PropType<"circle" | "square">;
|
|
1324
|
-
default: undefined;
|
|
2615
|
+
readonly shape: {
|
|
2616
|
+
readonly type: PropType<"circle" | "square">;
|
|
2617
|
+
readonly default: undefined;
|
|
1325
2618
|
};
|
|
1326
2619
|
}>> & Readonly<{}>, {
|
|
1327
|
-
size: "sm" | "md" | "lg" | "xl" | "xs";
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
2620
|
+
readonly size: "sm" | "md" | "lg" | "xl" | "xs";
|
|
2621
|
+
readonly shape: "circle" | "square";
|
|
2622
|
+
readonly src: string;
|
|
2623
|
+
readonly alt: string;
|
|
1331
2624
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1332
2625
|
/** Overlapping stack of avatars. */
|
|
1333
2626
|
declare const AvatarGroup: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -1337,130 +2630,281 @@ declare const AvatarGroup: vue.DefineComponent<{}, () => vue.VNode<vue.RendererN
|
|
|
1337
2630
|
declare const Kbd: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1338
2631
|
[key: string]: any;
|
|
1339
2632
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2633
|
+
declare const separatorProps: {
|
|
2634
|
+
readonly orientation: {
|
|
2635
|
+
readonly type: PropType<"horizontal" | "vertical">;
|
|
2636
|
+
readonly default: "horizontal";
|
|
2637
|
+
};
|
|
2638
|
+
/** Purely visual: hides the separator from assistive technology. */
|
|
2639
|
+
readonly decorative: {
|
|
2640
|
+
readonly type: BooleanConstructor;
|
|
2641
|
+
readonly default: false;
|
|
2642
|
+
};
|
|
2643
|
+
};
|
|
2644
|
+
/** Props for {@link Separator}. */
|
|
2645
|
+
type SeparatorProps = ExtractPublicPropTypes<typeof separatorProps>;
|
|
1340
2646
|
/** Separator primitive: `<hr class="hl-separator">`. */
|
|
1341
2647
|
declare const Separator: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1342
|
-
orientation: {
|
|
1343
|
-
type: PropType<"horizontal" | "vertical">;
|
|
1344
|
-
default:
|
|
2648
|
+
readonly orientation: {
|
|
2649
|
+
readonly type: PropType<"horizontal" | "vertical">;
|
|
2650
|
+
readonly default: "horizontal";
|
|
2651
|
+
};
|
|
2652
|
+
/** Purely visual: hides the separator from assistive technology. */
|
|
2653
|
+
readonly decorative: {
|
|
2654
|
+
readonly type: BooleanConstructor;
|
|
2655
|
+
readonly default: false;
|
|
2656
|
+
};
|
|
2657
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
2658
|
+
[key: string]: any;
|
|
2659
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
2660
|
+
readonly orientation: {
|
|
2661
|
+
readonly type: PropType<"horizontal" | "vertical">;
|
|
2662
|
+
readonly default: "horizontal";
|
|
2663
|
+
};
|
|
2664
|
+
/** Purely visual: hides the separator from assistive technology. */
|
|
2665
|
+
readonly decorative: {
|
|
2666
|
+
readonly type: BooleanConstructor;
|
|
2667
|
+
readonly default: false;
|
|
2668
|
+
};
|
|
2669
|
+
}>> & Readonly<{}>, {
|
|
2670
|
+
readonly orientation: "horizontal" | "vertical";
|
|
2671
|
+
readonly decorative: boolean;
|
|
2672
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2673
|
+
declare const tableProps: {
|
|
2674
|
+
/** Alternate row backgrounds. */
|
|
2675
|
+
readonly striped: {
|
|
2676
|
+
readonly type: BooleanConstructor;
|
|
2677
|
+
readonly default: false;
|
|
2678
|
+
};
|
|
2679
|
+
/** Highlight the hovered row. */
|
|
2680
|
+
readonly hover: {
|
|
2681
|
+
readonly type: BooleanConstructor;
|
|
2682
|
+
readonly default: false;
|
|
2683
|
+
};
|
|
2684
|
+
/** Cell text alignment. */
|
|
2685
|
+
readonly align: {
|
|
2686
|
+
readonly type: PropType<"start" | "center" | "end">;
|
|
2687
|
+
readonly default: undefined;
|
|
2688
|
+
};
|
|
2689
|
+
readonly size: {
|
|
2690
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2691
|
+
readonly default: undefined;
|
|
1345
2692
|
};
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
2693
|
+
};
|
|
2694
|
+
/** Props for {@link Table}. */
|
|
2695
|
+
type TableProps = ExtractPublicPropTypes<typeof tableProps>;
|
|
2696
|
+
/**
|
|
2697
|
+
* Data table primitive: `<table class="hl-table">` with `striped`, `hover`,
|
|
2698
|
+
* `align`, and `size` modifiers. Author the rows yourself in the default slot.
|
|
2699
|
+
*/
|
|
2700
|
+
declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
2701
|
+
/** Alternate row backgrounds. */
|
|
2702
|
+
readonly striped: {
|
|
2703
|
+
readonly type: BooleanConstructor;
|
|
2704
|
+
readonly default: false;
|
|
2705
|
+
};
|
|
2706
|
+
/** Highlight the hovered row. */
|
|
2707
|
+
readonly hover: {
|
|
2708
|
+
readonly type: BooleanConstructor;
|
|
2709
|
+
readonly default: false;
|
|
2710
|
+
};
|
|
2711
|
+
/** Cell text alignment. */
|
|
2712
|
+
readonly align: {
|
|
2713
|
+
readonly type: PropType<"start" | "center" | "end">;
|
|
2714
|
+
readonly default: undefined;
|
|
2715
|
+
};
|
|
2716
|
+
readonly size: {
|
|
2717
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2718
|
+
readonly default: undefined;
|
|
1349
2719
|
};
|
|
1350
2720
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1351
2721
|
[key: string]: any;
|
|
1352
2722
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
2723
|
+
/** Alternate row backgrounds. */
|
|
2724
|
+
readonly striped: {
|
|
2725
|
+
readonly type: BooleanConstructor;
|
|
2726
|
+
readonly default: false;
|
|
1356
2727
|
};
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
2728
|
+
/** Highlight the hovered row. */
|
|
2729
|
+
readonly hover: {
|
|
2730
|
+
readonly type: BooleanConstructor;
|
|
2731
|
+
readonly default: false;
|
|
2732
|
+
};
|
|
2733
|
+
/** Cell text alignment. */
|
|
2734
|
+
readonly align: {
|
|
2735
|
+
readonly type: PropType<"start" | "center" | "end">;
|
|
2736
|
+
readonly default: undefined;
|
|
2737
|
+
};
|
|
2738
|
+
readonly size: {
|
|
2739
|
+
readonly type: PropType<"sm" | "md" | "lg">;
|
|
2740
|
+
readonly default: undefined;
|
|
1360
2741
|
};
|
|
1361
2742
|
}>> & Readonly<{}>, {
|
|
1362
|
-
|
|
1363
|
-
|
|
2743
|
+
readonly size: "sm" | "md" | "lg";
|
|
2744
|
+
readonly hover: boolean;
|
|
2745
|
+
readonly striped: boolean;
|
|
2746
|
+
readonly align: "start" | "center" | "end";
|
|
1364
2747
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1365
2748
|
|
|
2749
|
+
declare const paginationProps: {
|
|
2750
|
+
/** Current page (1-based); use `v-model:page`. */
|
|
2751
|
+
readonly page: {
|
|
2752
|
+
readonly type: NumberConstructor;
|
|
2753
|
+
readonly required: true;
|
|
2754
|
+
};
|
|
2755
|
+
/** Total number of pages. */
|
|
2756
|
+
readonly count: {
|
|
2757
|
+
readonly type: NumberConstructor;
|
|
2758
|
+
readonly required: true;
|
|
2759
|
+
};
|
|
2760
|
+
/** Pages shown on each side of the current one. */
|
|
2761
|
+
readonly siblingCount: {
|
|
2762
|
+
readonly type: NumberConstructor;
|
|
2763
|
+
readonly default: 1;
|
|
2764
|
+
};
|
|
2765
|
+
readonly showControls: {
|
|
2766
|
+
readonly type: BooleanConstructor;
|
|
2767
|
+
readonly default: true;
|
|
2768
|
+
};
|
|
2769
|
+
readonly prevLabel: {
|
|
2770
|
+
readonly type: StringConstructor;
|
|
2771
|
+
readonly default: "‹";
|
|
2772
|
+
};
|
|
2773
|
+
readonly nextLabel: {
|
|
2774
|
+
readonly type: StringConstructor;
|
|
2775
|
+
readonly default: "›";
|
|
2776
|
+
};
|
|
2777
|
+
};
|
|
2778
|
+
/** Props for {@link Pagination}. */
|
|
2779
|
+
type PaginationProps = ExtractPublicPropTypes<typeof paginationProps>;
|
|
1366
2780
|
/** Pagination primitive: `hl-pagination` with smart ellipsis truncation. Emits `update:page`. */
|
|
1367
2781
|
declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1368
|
-
page:
|
|
1369
|
-
|
|
1370
|
-
|
|
2782
|
+
/** Current page (1-based); use `v-model:page`. */
|
|
2783
|
+
readonly page: {
|
|
2784
|
+
readonly type: NumberConstructor;
|
|
2785
|
+
readonly required: true;
|
|
1371
2786
|
};
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
2787
|
+
/** Total number of pages. */
|
|
2788
|
+
readonly count: {
|
|
2789
|
+
readonly type: NumberConstructor;
|
|
2790
|
+
readonly required: true;
|
|
1375
2791
|
};
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
2792
|
+
/** Pages shown on each side of the current one. */
|
|
2793
|
+
readonly siblingCount: {
|
|
2794
|
+
readonly type: NumberConstructor;
|
|
2795
|
+
readonly default: 1;
|
|
1379
2796
|
};
|
|
1380
|
-
showControls: {
|
|
1381
|
-
type: BooleanConstructor;
|
|
1382
|
-
default:
|
|
2797
|
+
readonly showControls: {
|
|
2798
|
+
readonly type: BooleanConstructor;
|
|
2799
|
+
readonly default: true;
|
|
1383
2800
|
};
|
|
1384
|
-
prevLabel: {
|
|
1385
|
-
type: StringConstructor;
|
|
1386
|
-
default:
|
|
2801
|
+
readonly prevLabel: {
|
|
2802
|
+
readonly type: StringConstructor;
|
|
2803
|
+
readonly default: "‹";
|
|
1387
2804
|
};
|
|
1388
|
-
nextLabel: {
|
|
1389
|
-
type: StringConstructor;
|
|
1390
|
-
default:
|
|
2805
|
+
readonly nextLabel: {
|
|
2806
|
+
readonly type: StringConstructor;
|
|
2807
|
+
readonly default: "›";
|
|
1391
2808
|
};
|
|
1392
2809
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1393
2810
|
[key: string]: any;
|
|
1394
2811
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:page"[], "update:page", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1395
|
-
page:
|
|
1396
|
-
|
|
1397
|
-
|
|
2812
|
+
/** Current page (1-based); use `v-model:page`. */
|
|
2813
|
+
readonly page: {
|
|
2814
|
+
readonly type: NumberConstructor;
|
|
2815
|
+
readonly required: true;
|
|
1398
2816
|
};
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
2817
|
+
/** Total number of pages. */
|
|
2818
|
+
readonly count: {
|
|
2819
|
+
readonly type: NumberConstructor;
|
|
2820
|
+
readonly required: true;
|
|
1402
2821
|
};
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
2822
|
+
/** Pages shown on each side of the current one. */
|
|
2823
|
+
readonly siblingCount: {
|
|
2824
|
+
readonly type: NumberConstructor;
|
|
2825
|
+
readonly default: 1;
|
|
1406
2826
|
};
|
|
1407
|
-
showControls: {
|
|
1408
|
-
type: BooleanConstructor;
|
|
1409
|
-
default:
|
|
2827
|
+
readonly showControls: {
|
|
2828
|
+
readonly type: BooleanConstructor;
|
|
2829
|
+
readonly default: true;
|
|
1410
2830
|
};
|
|
1411
|
-
prevLabel: {
|
|
1412
|
-
type: StringConstructor;
|
|
1413
|
-
default:
|
|
2831
|
+
readonly prevLabel: {
|
|
2832
|
+
readonly type: StringConstructor;
|
|
2833
|
+
readonly default: "‹";
|
|
1414
2834
|
};
|
|
1415
|
-
nextLabel: {
|
|
1416
|
-
type: StringConstructor;
|
|
1417
|
-
default:
|
|
2835
|
+
readonly nextLabel: {
|
|
2836
|
+
readonly type: StringConstructor;
|
|
2837
|
+
readonly default: "›";
|
|
1418
2838
|
};
|
|
1419
2839
|
}>> & Readonly<{
|
|
1420
2840
|
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
1421
2841
|
}>, {
|
|
1422
|
-
siblingCount: number;
|
|
1423
|
-
showControls: boolean;
|
|
1424
|
-
prevLabel: string;
|
|
1425
|
-
nextLabel: string;
|
|
2842
|
+
readonly siblingCount: number;
|
|
2843
|
+
readonly showControls: boolean;
|
|
2844
|
+
readonly prevLabel: string;
|
|
2845
|
+
readonly nextLabel: string;
|
|
1426
2846
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2847
|
+
declare const tocProps: {
|
|
2848
|
+
/** Selector for the region whose headings populate the list. */
|
|
2849
|
+
readonly contentSelector: {
|
|
2850
|
+
readonly type: StringConstructor;
|
|
2851
|
+
readonly default: undefined;
|
|
2852
|
+
};
|
|
2853
|
+
/** Selector for which headings to include. */
|
|
2854
|
+
readonly headings: {
|
|
2855
|
+
readonly type: StringConstructor;
|
|
2856
|
+
readonly default: undefined;
|
|
2857
|
+
};
|
|
2858
|
+
readonly scrollSpy: {
|
|
2859
|
+
readonly type: PropType<boolean | undefined>;
|
|
2860
|
+
readonly default: undefined;
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
/** Props for {@link Toc}. */
|
|
2864
|
+
type TocProps = ExtractPublicPropTypes<typeof tocProps>;
|
|
1427
2865
|
/** Auto-generated table of contents with optional scroll-spy. */
|
|
1428
2866
|
declare const Toc: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
2867
|
+
/** Selector for the region whose headings populate the list. */
|
|
2868
|
+
readonly contentSelector: {
|
|
2869
|
+
readonly type: StringConstructor;
|
|
2870
|
+
readonly default: undefined;
|
|
1432
2871
|
};
|
|
1433
|
-
headings
|
|
1434
|
-
|
|
1435
|
-
|
|
2872
|
+
/** Selector for which headings to include. */
|
|
2873
|
+
readonly headings: {
|
|
2874
|
+
readonly type: StringConstructor;
|
|
2875
|
+
readonly default: undefined;
|
|
1436
2876
|
};
|
|
1437
|
-
scrollSpy: {
|
|
1438
|
-
type: PropType<boolean | undefined>;
|
|
1439
|
-
default: undefined;
|
|
2877
|
+
readonly scrollSpy: {
|
|
2878
|
+
readonly type: PropType<boolean | undefined>;
|
|
2879
|
+
readonly default: undefined;
|
|
1440
2880
|
};
|
|
1441
2881
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1442
2882
|
[key: string]: any;
|
|
1443
2883
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
2884
|
+
/** Selector for the region whose headings populate the list. */
|
|
2885
|
+
readonly contentSelector: {
|
|
2886
|
+
readonly type: StringConstructor;
|
|
2887
|
+
readonly default: undefined;
|
|
1447
2888
|
};
|
|
1448
|
-
headings
|
|
1449
|
-
|
|
1450
|
-
|
|
2889
|
+
/** Selector for which headings to include. */
|
|
2890
|
+
readonly headings: {
|
|
2891
|
+
readonly type: StringConstructor;
|
|
2892
|
+
readonly default: undefined;
|
|
1451
2893
|
};
|
|
1452
|
-
scrollSpy: {
|
|
1453
|
-
type: PropType<boolean | undefined>;
|
|
1454
|
-
default: undefined;
|
|
2894
|
+
readonly scrollSpy: {
|
|
2895
|
+
readonly type: PropType<boolean | undefined>;
|
|
2896
|
+
readonly default: undefined;
|
|
1455
2897
|
};
|
|
1456
2898
|
}>> & Readonly<{}>, {
|
|
1457
|
-
contentSelector: string;
|
|
1458
|
-
headings: string;
|
|
1459
|
-
scrollSpy: boolean | undefined;
|
|
2899
|
+
readonly contentSelector: string;
|
|
2900
|
+
readonly headings: string;
|
|
2901
|
+
readonly scrollSpy: boolean | undefined;
|
|
1460
2902
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2903
|
+
/** Props for {@link SkipLink}. */
|
|
2904
|
+
type SkipLinkProps = Record<never, never>;
|
|
1461
2905
|
/** Accessibility skip-navigation link, visually hidden until focused. */
|
|
1462
2906
|
declare const SkipLink: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
1463
2907
|
[key: string]: any;
|
|
1464
2908
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1465
2909
|
|
|
1466
|
-
export { Accordion, AccordionItem, Alert, Avatar, AvatarGroup, Badge, Breadcrumb, BreadcrumbItem, Button, Card, CardBody, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, Disclosure, Drawer, DrawerBody, DrawerFooter, DrawerHeader, Dropdown, DropdownItem, DropdownMenu, DropdownSeparator, DropdownTrigger, Field, FieldError, FieldHelp, FieldLabel, Fieldset,
|
|
2910
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxProps, Combobox, ComboboxInput, type ComboboxInputProps, ComboboxList, type ComboboxListProps, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, Command, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, Disclosure, type DisclosureProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, Dropdown, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownMenu, type DropdownMenuProps, type DropdownProps, DropdownSeparator, type DropdownSeparatorProps, DropdownTrigger, type DropdownTriggerProps, Field, type FieldBindings, FieldError, type FieldErrorProps, FieldHelp, type FieldHelpProps, FieldLabel, type FieldLabelProps, type FieldProps, Fieldset, type FieldsetProps, Input, type InputProps, Kbd, type KbdProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSubmenu, type MenuSubmenuProps, Modal, ModalBody, type ModalBodyProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Select, type SelectProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, SkipLink, type SkipLinkProps, Slider, type SliderProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableProps, Tabs, type TabsProps, Textarea, type TextareaProps, ToastRegion, type ToastRegionProps, Toc, type TocProps, Tooltip, type TooltipProps, useEnhancer, useField, useToast };
|