base-ui-vue 0.1.0 → 0.2.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 +41 -1
- package/dist/button/Button.cjs +53 -12
- package/dist/button/Button.cjs.map +1 -1
- package/dist/button/Button.js +26 -15
- package/dist/button/Button.js.map +1 -1
- package/dist/button/ToolbarButton.cjs +367 -0
- package/dist/button/ToolbarButton.cjs.map +1 -0
- package/dist/button/ToolbarButton.js +320 -0
- package/dist/button/ToolbarButton.js.map +1 -0
- package/dist/button/ToolbarButtonDataAttributes.cjs +27 -0
- package/dist/button/ToolbarButtonDataAttributes.cjs.map +1 -0
- package/dist/button/ToolbarButtonDataAttributes.js +21 -0
- package/dist/button/ToolbarButtonDataAttributes.js.map +1 -0
- package/dist/checkbox/index.cjs +1173 -0
- package/dist/checkbox/index.cjs.map +1 -0
- package/dist/checkbox/index.js +1048 -0
- package/dist/checkbox/index.js.map +1 -0
- package/dist/checkbox-group/CheckboxGroup.cjs +629 -0
- package/dist/checkbox-group/CheckboxGroup.cjs.map +1 -0
- package/dist/checkbox-group/CheckboxGroup.js +540 -0
- package/dist/checkbox-group/CheckboxGroup.js.map +1 -0
- package/dist/checkbox-group/CheckboxGroupDataAttributes.cjs +18 -0
- package/dist/checkbox-group/CheckboxGroupDataAttributes.cjs.map +1 -0
- package/dist/checkbox-group/CheckboxGroupDataAttributes.js +12 -0
- package/dist/checkbox-group/CheckboxGroupDataAttributes.js.map +1 -0
- package/dist/composite/composite.cjs +167 -0
- package/dist/composite/composite.cjs.map +1 -1
- package/dist/composite/composite.js +96 -1
- package/dist/composite/composite.js.map +1 -1
- package/dist/composite/constants.cjs +12 -0
- package/dist/composite/constants.cjs.map +1 -0
- package/dist/composite/constants.js +6 -0
- package/dist/composite/constants.js.map +1 -0
- package/dist/control/FieldControl.cjs +18 -343
- package/dist/control/FieldControl.cjs.map +1 -1
- package/dist/control/FieldControl.js +14 -285
- package/dist/control/FieldControl.js.map +1 -1
- package/dist/control/SliderControl.cjs +636 -0
- package/dist/control/SliderControl.cjs.map +1 -0
- package/dist/control/SliderControl.js +553 -0
- package/dist/control/SliderControl.js.map +1 -0
- package/dist/control/SliderControlDataAttributes.cjs +47 -0
- package/dist/control/SliderControlDataAttributes.cjs.map +1 -0
- package/dist/control/SliderControlDataAttributes.js +41 -0
- package/dist/control/SliderControlDataAttributes.js.map +1 -0
- package/dist/csp-provider/CSPContext.cjs +32 -0
- package/dist/csp-provider/CSPContext.cjs.map +1 -0
- package/dist/csp-provider/CSPContext.js +21 -0
- package/dist/csp-provider/CSPContext.js.map +1 -0
- package/dist/csp-provider/CSPProvider.cjs +46 -0
- package/dist/csp-provider/CSPProvider.cjs.map +1 -0
- package/dist/csp-provider/CSPProvider.js +41 -0
- package/dist/csp-provider/CSPProvider.js.map +1 -0
- package/dist/description/FieldDescription.cjs +5 -5
- package/dist/description/FieldDescription.cjs.map +1 -1
- package/dist/description/FieldDescription.js +1 -1
- package/dist/direction-provider/DirectionProvider.cjs +2 -2
- package/dist/direction-provider/DirectionProvider.cjs.map +1 -1
- package/dist/direction-provider/DirectionProvider.js +1 -1
- package/dist/error/FieldError.cjs +10 -288
- package/dist/error/FieldError.cjs.map +1 -1
- package/dist/error/FieldError.js +4 -246
- package/dist/error/FieldError.js.map +1 -1
- package/dist/form/Form.cjs +5 -4
- package/dist/form/Form.cjs.map +1 -1
- package/dist/form/Form.js +5 -4
- package/dist/form/Form.js.map +1 -1
- package/dist/group/ToolbarGroup.cjs +92 -0
- package/dist/group/ToolbarGroup.cjs.map +1 -0
- package/dist/group/ToolbarGroup.js +87 -0
- package/dist/group/ToolbarGroup.js.map +1 -0
- package/dist/group/ToolbarGroupDataAttributes.cjs +23 -0
- package/dist/group/ToolbarGroupDataAttributes.cjs.map +1 -0
- package/dist/group/ToolbarGroupDataAttributes.js +17 -0
- package/dist/group/ToolbarGroupDataAttributes.js.map +1 -0
- package/dist/header/AccordionHeader.cjs +2 -2
- package/dist/header/AccordionHeader.js +1 -1
- package/dist/image/AvatarImage.cjs +4 -4
- package/dist/image/AvatarImage.cjs.map +1 -1
- package/dist/image/AvatarImage.js +1 -1
- package/dist/index.cjs +80 -10
- package/dist/index.d.cts +2751 -612
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +2751 -612
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -5
- package/dist/index2.cjs +3651 -370
- package/dist/index2.cjs.map +1 -1
- package/dist/index2.js +3365 -270
- package/dist/index2.js.map +1 -1
- package/package.json +8 -4
- package/src/accordion/root/AccordionRoot.vue +2 -1
- package/src/checkbox/index.ts +23 -0
- package/src/checkbox/indicator/CheckboxIndicator.vue +102 -0
- package/src/checkbox/indicator/CheckboxIndicatorDataAttributes.ts +61 -0
- package/src/checkbox/root/CheckboxRoot.vue +632 -0
- package/src/checkbox/root/CheckboxRootContext.ts +22 -0
- package/src/checkbox/root/CheckboxRootDataAttributes.ts +54 -0
- package/src/checkbox/utils/useStateAttributesMapping.ts +30 -0
- package/src/checkbox-group/CheckboxGroup.vue +241 -0
- package/src/checkbox-group/CheckboxGroupContext.ts +39 -0
- package/src/checkbox-group/CheckboxGroupDataAttributes.ts +6 -0
- package/src/checkbox-group/index.ts +11 -0
- package/src/checkbox-group/useCheckboxGroupParent.ts +173 -0
- package/src/collapsible/panel/useCollapsiblePanel.ts +2 -1
- package/src/collapsible/root/useCollapsibleRoot.ts +3 -1
- package/src/composite/composite.ts +2 -0
- package/src/composite/item/CompositeItem.vue +7 -8
- package/src/composite/root/CompositeRoot.vue +12 -1
- package/src/csp-provider/CSPContext.ts +26 -0
- package/src/csp-provider/CSPProvider.vue +40 -0
- package/src/csp-provider/index.ts +5 -0
- package/src/field/item/FieldItem.vue +6 -1
- package/src/field/label/FieldLabel.vue +10 -51
- package/src/field/root/FieldRoot.vue +16 -3
- package/src/floating-ui-vue/types.ts +1 -4
- package/src/floating-ui-vue/utils/element.ts +12 -0
- package/src/floating-ui-vue/utils/shadowDom.ts +44 -0
- package/src/floating-ui-vue/utils.ts +3 -0
- package/src/form/Form.vue +5 -3
- package/src/index.ts +9 -0
- package/src/labelable-provider/LabelableContext.ts +2 -2
- package/src/labelable-provider/LabelableProvider.vue +21 -4
- package/src/labelable-provider/index.ts +2 -0
- package/src/labelable-provider/useAriaLabelledBy.ts +9 -9
- package/src/labelable-provider/useLabel.ts +115 -0
- package/src/labelable-provider/useLabelableId.ts +12 -10
- package/src/separator/Separator.vue +65 -0
- package/src/separator/SeparatorDataAttributes.ts +7 -0
- package/src/separator/index.ts +3 -0
- package/src/slider/control/SliderControl.vue +497 -0
- package/src/slider/control/SliderControlDataAttributes.ts +35 -0
- package/src/slider/index.ts +35 -0
- package/src/slider/indicator/SliderIndicator.vue +144 -0
- package/src/slider/indicator/SliderIndicatorDataAttributes.ts +35 -0
- package/src/slider/label/SliderLabel.vue +75 -0
- package/src/slider/root/SliderRoot.vue +557 -0
- package/src/slider/root/SliderRootContext.ts +126 -0
- package/src/slider/root/SliderRootDataAttributes.ts +35 -0
- package/src/slider/root/stateAttributesMapping.ts +13 -0
- package/src/slider/thumb/SliderThumb.vue +601 -0
- package/src/slider/thumb/SliderThumbDataAttributes.ts +39 -0
- package/src/slider/thumb/prehydrationScript.min.ts +5 -0
- package/src/slider/thumb/prehydrationScript.template.js +69 -0
- package/src/slider/track/SliderTrack.vue +48 -0
- package/src/slider/track/SliderTrackDataAttributes.ts +10 -0
- package/src/slider/utils/asc.ts +3 -0
- package/src/slider/utils/getMidpoint.ts +9 -0
- package/src/slider/utils/getPushedThumbValues.ts +68 -0
- package/src/slider/utils/getSliderValue.ts +25 -0
- package/src/slider/utils/replaceArrayItemAtIndex.ts +15 -0
- package/src/slider/utils/resolveThumbCollision.ts +177 -0
- package/src/slider/utils/roundValueToStep.ts +19 -0
- package/src/slider/utils/test-utils.ts +25 -0
- package/src/slider/utils/validateMinimumDistance.ts +20 -0
- package/src/slider/utils/valueArrayToPercentages.ts +10 -0
- package/src/slider/value/SliderValue.vue +90 -0
- package/src/slider/value/SliderValueDataAttributes.ts +35 -0
- package/src/switch/index.ts +14 -0
- package/src/switch/root/SwitchRoot.vue +448 -0
- package/src/switch/root/SwitchRootContext.ts +22 -0
- package/src/switch/root/SwitchRootDataAttributes.ts +46 -0
- package/src/switch/stateAttributesMapping.ts +23 -0
- package/src/switch/thumb/SwitchThumb.vue +59 -0
- package/src/switch/thumb/SwitchThumbDataAttributes.ts +46 -0
- package/src/toggle/Toggle.vue +211 -0
- package/src/toggle/ToggleDataAttributes.ts +6 -0
- package/src/toggle/index.ts +3 -0
- package/src/toggle-group/ToggleGroup.vue +224 -0
- package/src/toggle-group/ToggleGroupContext.ts +45 -0
- package/src/toggle-group/ToggleGroupDataAttributes.ts +15 -0
- package/src/toggle-group/index.ts +5 -0
- package/src/toolbar/button/ToolbarButton.vue +99 -0
- package/src/toolbar/button/ToolbarButtonDataAttributes.ts +15 -0
- package/src/toolbar/group/ToolbarGroup.vue +70 -0
- package/src/toolbar/group/ToolbarGroupContext.ts +23 -0
- package/src/toolbar/group/ToolbarGroupDataAttributes.ts +11 -0
- package/src/toolbar/index.ts +27 -0
- package/src/toolbar/input/ToolbarInput.vue +114 -0
- package/src/toolbar/input/ToolbarInputDataAttributes.ts +15 -0
- package/src/toolbar/link/ToolbarLink.vue +54 -0
- package/src/toolbar/link/ToolbarLinkDataAttributes.ts +7 -0
- package/src/toolbar/root/ToolbarRoot.vue +144 -0
- package/src/toolbar/root/ToolbarRootContext.ts +29 -0
- package/src/toolbar/root/ToolbarRootDataAttributes.ts +11 -0
- package/src/toolbar/separator/ToolbarSeparator.vue +41 -0
- package/src/toolbar/separator/ToolbarSeparatorDataAttributes.ts +7 -0
- package/src/use-button/useButton.ts +2 -1
- package/src/utils/areArraysEqual.ts +12 -0
- package/src/utils/clamp.ts +7 -0
- package/src/utils/createBaseUIEventDetails.ts +9 -0
- package/src/utils/formatNumber.ts +7 -0
- package/src/utils/owner.ts +5 -0
- package/src/utils/resolveAriaLabelledBy.ts +10 -0
- package/src/utils/useControllableState.ts +78 -14
- package/src/utils/useFocusableWhenDisabled.ts +6 -1
- package/src/utils/useMergedRefs.ts +26 -2
- package/src/utils/useRegisteredLabelId.ts +21 -0
- package/src/utils/valueToPercent.ts +7 -0
- package/src/utils/visuallyHidden.ts +24 -0
- package/dist/direction-provider/DirectionContext.cjs +0 -26
- package/dist/direction-provider/DirectionContext.cjs.map +0 -1
- package/dist/direction-provider/DirectionContext.js +0 -15
- package/dist/direction-provider/DirectionContext.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
-
import { Component, ComponentPublicInstance, ComputedRef, HTMLAttributes, InjectionKey, MaybeRefOrGetter, NativeElements, Ref, ShallowRef, StyleValue, VNodeRef } from "vue";
|
|
2
|
+
import { CSSProperties, Component, ComponentPublicInstance, ComputedRef, HTMLAttributes, InjectionKey, MaybeRefOrGetter, NativeElements, Ref, ShallowRef, StyleValue, VNodeRef } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/reasons.d.ts
|
|
5
5
|
declare const none: "none";
|
|
@@ -111,6 +111,7 @@ type BaseUIChangeEventDetail<Reason extends string, CustomProperties extends obj
|
|
|
111
111
|
trigger: Element | undefined;
|
|
112
112
|
} & CustomProperties;
|
|
113
113
|
type BaseUIChangeEventDetails<Reason extends string, CustomProperties extends object = Record<string, never>> = Reason extends string ? BaseUIChangeEventDetail<Reason, CustomProperties> : never;
|
|
114
|
+
type BaseUIGenericEventDetails<Reason extends string> = BaseUIChangeEventDetails<Reason>;
|
|
114
115
|
//#endregion
|
|
115
116
|
//#region src/types/index.d.ts
|
|
116
117
|
type HTMLProps = HTMLAttributes & {
|
|
@@ -153,6 +154,15 @@ interface NativeButtonProps {
|
|
|
153
154
|
*/
|
|
154
155
|
nativeButton?: boolean;
|
|
155
156
|
}
|
|
157
|
+
interface NonNativeButtonProps {
|
|
158
|
+
/**
|
|
159
|
+
* Whether the component renders a native `<button>` element when replaceing it.
|
|
160
|
+
* via the `as` prop.
|
|
161
|
+
* Set to `true` if the rendered element is a native button.
|
|
162
|
+
* @default false
|
|
163
|
+
*/
|
|
164
|
+
nativeButton?: boolean;
|
|
165
|
+
}
|
|
156
166
|
//#endregion
|
|
157
167
|
//#region src/utils/useTransitionStatus.d.ts
|
|
158
168
|
type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
|
|
@@ -269,42 +279,42 @@ interface AccordionPanelProps extends BaseUIComponentProps<AccordionPanelState>
|
|
|
269
279
|
}
|
|
270
280
|
//#endregion
|
|
271
281
|
//#region src/accordion/header/AccordionHeader.vue.d.ts
|
|
272
|
-
declare var __VLS_1$
|
|
282
|
+
declare var __VLS_1$34: {
|
|
273
283
|
props: Record<string, any>;
|
|
274
284
|
state: AccordionItemState<any>;
|
|
275
|
-
}, __VLS_10$
|
|
285
|
+
}, __VLS_10$29: {
|
|
276
286
|
state: AccordionItemState<any>;
|
|
277
287
|
};
|
|
278
|
-
type __VLS_Slots$
|
|
279
|
-
default?: (props: typeof __VLS_1$
|
|
288
|
+
type __VLS_Slots$41 = {} & {
|
|
289
|
+
default?: (props: typeof __VLS_1$34) => any;
|
|
280
290
|
} & {
|
|
281
|
-
default?: (props: typeof __VLS_10$
|
|
291
|
+
default?: (props: typeof __VLS_10$29) => any;
|
|
282
292
|
};
|
|
283
|
-
declare const __VLS_base$
|
|
293
|
+
declare const __VLS_base$41: vue.DefineComponent<AccordionHeaderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<AccordionHeaderProps> & Readonly<{}>, {
|
|
284
294
|
as: string | vue.Component;
|
|
285
295
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
286
|
-
declare const __VLS_export$
|
|
287
|
-
declare const _default: typeof __VLS_export$
|
|
288
|
-
type __VLS_WithSlots$
|
|
296
|
+
declare const __VLS_export$44: __VLS_WithSlots$41<typeof __VLS_base$41, __VLS_Slots$41>;
|
|
297
|
+
declare const _default: typeof __VLS_export$44;
|
|
298
|
+
type __VLS_WithSlots$41<T, S> = T & {
|
|
289
299
|
new (): {
|
|
290
300
|
$slots: S;
|
|
291
301
|
};
|
|
292
302
|
}; //# sourceMappingURL=AccordionHeader.vue.d.ts.map
|
|
293
303
|
//#endregion
|
|
294
304
|
//#region src/accordion/item/AccordionItem.vue.d.ts
|
|
295
|
-
declare var __VLS_1$
|
|
305
|
+
declare var __VLS_1$33: {
|
|
296
306
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
297
307
|
props: Record<string, any>;
|
|
298
308
|
state: AccordionItemState<any>;
|
|
299
|
-
}, __VLS_10$
|
|
309
|
+
}, __VLS_10$28: {
|
|
300
310
|
state: AccordionItemState<any>;
|
|
301
311
|
};
|
|
302
|
-
type __VLS_Slots$
|
|
303
|
-
default?: (props: typeof __VLS_1$
|
|
312
|
+
type __VLS_Slots$40 = {} & {
|
|
313
|
+
default?: (props: typeof __VLS_1$33) => any;
|
|
304
314
|
} & {
|
|
305
|
-
default?: (props: typeof __VLS_10$
|
|
315
|
+
default?: (props: typeof __VLS_10$28) => any;
|
|
306
316
|
};
|
|
307
|
-
declare const __VLS_base$
|
|
317
|
+
declare const __VLS_base$40: vue.DefineComponent<AccordionItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
308
318
|
openChange: (open: boolean, details: AccordionItemChangeEventDetails) => any;
|
|
309
319
|
}, string, vue.PublicProps, Readonly<AccordionItemProps> & Readonly<{
|
|
310
320
|
onOpenChange?: ((open: boolean, details: AccordionItemChangeEventDetails) => any) | undefined;
|
|
@@ -312,9 +322,9 @@ declare const __VLS_base$21: vue.DefineComponent<AccordionItemProps, {}, {}, {},
|
|
|
312
322
|
disabled: boolean;
|
|
313
323
|
as: string | vue.Component;
|
|
314
324
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
315
|
-
declare const __VLS_export$
|
|
316
|
-
declare const _default$1: typeof __VLS_export$
|
|
317
|
-
type __VLS_WithSlots$
|
|
325
|
+
declare const __VLS_export$43: __VLS_WithSlots$40<typeof __VLS_base$40, __VLS_Slots$40>;
|
|
326
|
+
declare const _default$1: typeof __VLS_export$43;
|
|
327
|
+
type __VLS_WithSlots$40<T, S> = T & {
|
|
318
328
|
new (): {
|
|
319
329
|
$slots: S;
|
|
320
330
|
};
|
|
@@ -331,58 +341,58 @@ declare const accordionItemContextKey: InjectionKey<AccordionItemContext>;
|
|
|
331
341
|
declare function useAccordionItemContext(): AccordionItemContext;
|
|
332
342
|
//#endregion
|
|
333
343
|
//#region src/accordion/panel/AccordionPanel.vue.d.ts
|
|
334
|
-
declare var __VLS_1$
|
|
344
|
+
declare var __VLS_1$32: {
|
|
335
345
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
336
346
|
props: Record<string, any>;
|
|
337
347
|
state: AccordionPanelState;
|
|
338
|
-
}, __VLS_10$
|
|
348
|
+
}, __VLS_10$27: {
|
|
339
349
|
state: AccordionPanelState;
|
|
340
350
|
};
|
|
341
|
-
type __VLS_Slots$
|
|
342
|
-
default?: (props: typeof __VLS_1$
|
|
351
|
+
type __VLS_Slots$39 = {} & {
|
|
352
|
+
default?: (props: typeof __VLS_1$32) => any;
|
|
343
353
|
} & {
|
|
344
|
-
default?: (props: typeof __VLS_10$
|
|
354
|
+
default?: (props: typeof __VLS_10$27) => any;
|
|
345
355
|
};
|
|
346
|
-
declare const __VLS_base$
|
|
356
|
+
declare const __VLS_base$39: vue.DefineComponent<AccordionPanelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<AccordionPanelProps> & Readonly<{}>, {
|
|
347
357
|
as: string | vue.Component;
|
|
348
358
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
349
|
-
declare const __VLS_export$
|
|
350
|
-
declare const _default$2: typeof __VLS_export$
|
|
351
|
-
type __VLS_WithSlots$
|
|
359
|
+
declare const __VLS_export$42: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
|
|
360
|
+
declare const _default$2: typeof __VLS_export$42;
|
|
361
|
+
type __VLS_WithSlots$39<T, S> = T & {
|
|
352
362
|
new (): {
|
|
353
363
|
$slots: S;
|
|
354
364
|
};
|
|
355
365
|
}; //# sourceMappingURL=AccordionPanel.vue.d.ts.map
|
|
356
366
|
//#endregion
|
|
357
367
|
//#region src/accordion/root/AccordionRoot.vue.d.ts
|
|
358
|
-
type __VLS_Props = AccordionRootProps;
|
|
359
|
-
declare var __VLS_8$
|
|
368
|
+
type __VLS_Props$1 = AccordionRootProps;
|
|
369
|
+
declare var __VLS_8$5: {
|
|
360
370
|
props: Record<string, any>;
|
|
361
371
|
state: AccordionRootState<any>;
|
|
362
|
-
}, __VLS_16$
|
|
372
|
+
}, __VLS_16$2: {
|
|
363
373
|
state: AccordionRootState<any>;
|
|
364
374
|
};
|
|
365
|
-
type __VLS_Slots$
|
|
366
|
-
default?: (props: typeof __VLS_8$
|
|
375
|
+
type __VLS_Slots$38 = {} & {
|
|
376
|
+
default?: (props: typeof __VLS_8$5) => any;
|
|
367
377
|
} & {
|
|
368
|
-
default?: (props: typeof __VLS_16$
|
|
378
|
+
default?: (props: typeof __VLS_16$2) => any;
|
|
369
379
|
};
|
|
370
|
-
declare const __VLS_base$
|
|
380
|
+
declare const __VLS_base$38: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
371
381
|
valueChange: (value: AccordionValue, details: AccordionRootChangeEventDetails) => any;
|
|
372
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
382
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
373
383
|
onValueChange?: ((value: AccordionValue, details: AccordionRootChangeEventDetails) => any) | undefined;
|
|
374
384
|
}>, {
|
|
375
385
|
disabled: boolean;
|
|
376
386
|
as: string | vue.Component;
|
|
387
|
+
keepMounted: boolean;
|
|
377
388
|
orientation: Orientation;
|
|
378
389
|
hiddenUntilFound: boolean;
|
|
379
|
-
keepMounted: boolean;
|
|
380
390
|
multiple: boolean;
|
|
381
391
|
loopFocus: boolean;
|
|
382
392
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
383
|
-
declare const __VLS_export$
|
|
384
|
-
declare const _default$3: typeof __VLS_export$
|
|
385
|
-
type __VLS_WithSlots$
|
|
393
|
+
declare const __VLS_export$41: __VLS_WithSlots$38<typeof __VLS_base$38, __VLS_Slots$38>;
|
|
394
|
+
declare const _default$3: typeof __VLS_export$41;
|
|
395
|
+
type __VLS_WithSlots$38<T, S> = T & {
|
|
386
396
|
new (): {
|
|
387
397
|
$slots: S;
|
|
388
398
|
};
|
|
@@ -416,25 +426,25 @@ declare const accordionRootContextKey: InjectionKey<AccordionRootContext>;
|
|
|
416
426
|
declare function useAccordionRootContext<Value = any>(): AccordionRootContext<Value>;
|
|
417
427
|
//#endregion
|
|
418
428
|
//#region src/accordion/trigger/AccordionTrigger.vue.d.ts
|
|
419
|
-
declare var __VLS_1$
|
|
429
|
+
declare var __VLS_1$31: {
|
|
420
430
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
421
431
|
props: Record<string, any>;
|
|
422
432
|
state: vue.Ref<AccordionItemState<any>, AccordionItemState<any>>;
|
|
423
|
-
}, __VLS_10$
|
|
433
|
+
}, __VLS_10$26: {
|
|
424
434
|
state: vue.Ref<AccordionItemState<any>, AccordionItemState<any>>;
|
|
425
435
|
};
|
|
426
|
-
type __VLS_Slots$
|
|
427
|
-
default?: (props: typeof __VLS_1$
|
|
436
|
+
type __VLS_Slots$37 = {} & {
|
|
437
|
+
default?: (props: typeof __VLS_1$31) => any;
|
|
428
438
|
} & {
|
|
429
|
-
default?: (props: typeof __VLS_10$
|
|
439
|
+
default?: (props: typeof __VLS_10$26) => any;
|
|
430
440
|
};
|
|
431
|
-
declare const __VLS_base$
|
|
441
|
+
declare const __VLS_base$37: vue.DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {
|
|
432
442
|
nativeButton: boolean;
|
|
433
443
|
as: string | vue.Component;
|
|
434
444
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
435
|
-
declare const __VLS_export$
|
|
436
|
-
declare const _default$4: typeof __VLS_export$
|
|
437
|
-
type __VLS_WithSlots$
|
|
445
|
+
declare const __VLS_export$40: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
|
|
446
|
+
declare const _default$4: typeof __VLS_export$40;
|
|
447
|
+
type __VLS_WithSlots$37<T, S> = T & {
|
|
438
448
|
new (): {
|
|
439
449
|
$slots: S;
|
|
440
450
|
};
|
|
@@ -446,23 +456,23 @@ interface AvatarRootState {
|
|
|
446
456
|
imageLoadingStatus: ImageLoadingStatus;
|
|
447
457
|
}
|
|
448
458
|
interface AvatarRootProps extends BaseUIComponentProps<AvatarRootState> {}
|
|
449
|
-
declare var __VLS_1$
|
|
459
|
+
declare var __VLS_1$30: {
|
|
450
460
|
props: Record<string, any>;
|
|
451
461
|
state: AvatarRootState;
|
|
452
|
-
}, __VLS_10$
|
|
462
|
+
}, __VLS_10$25: {
|
|
453
463
|
state: AvatarRootState;
|
|
454
464
|
};
|
|
455
|
-
type __VLS_Slots$
|
|
456
|
-
default?: (props: typeof __VLS_1$
|
|
465
|
+
type __VLS_Slots$36 = {} & {
|
|
466
|
+
default?: (props: typeof __VLS_1$30) => any;
|
|
457
467
|
} & {
|
|
458
|
-
default?: (props: typeof __VLS_10$
|
|
468
|
+
default?: (props: typeof __VLS_10$25) => any;
|
|
459
469
|
};
|
|
460
|
-
declare const __VLS_base$
|
|
470
|
+
declare const __VLS_base$36: vue.DefineComponent<AvatarRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<AvatarRootProps> & Readonly<{}>, {
|
|
461
471
|
as: string | vue.Component;
|
|
462
472
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
463
|
-
declare const __VLS_export$
|
|
464
|
-
declare const _default$7: typeof __VLS_export$
|
|
465
|
-
type __VLS_WithSlots$
|
|
473
|
+
declare const __VLS_export$39: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
|
|
474
|
+
declare const _default$7: typeof __VLS_export$39;
|
|
475
|
+
type __VLS_WithSlots$36<T, S> = T & {
|
|
466
476
|
new (): {
|
|
467
477
|
$slots: S;
|
|
468
478
|
};
|
|
@@ -476,23 +486,23 @@ interface AvatarFallbackProps extends BaseUIComponentProps<AvatarFallbackState>
|
|
|
476
486
|
*/
|
|
477
487
|
delay?: number;
|
|
478
488
|
}
|
|
479
|
-
declare var __VLS_1$
|
|
489
|
+
declare var __VLS_1$29: {
|
|
480
490
|
props: Record<string, any>;
|
|
481
491
|
state: AvatarFallbackState;
|
|
482
|
-
}, __VLS_10$
|
|
492
|
+
}, __VLS_10$24: {
|
|
483
493
|
state: AvatarFallbackState;
|
|
484
494
|
};
|
|
485
|
-
type __VLS_Slots$
|
|
486
|
-
default?: (props: typeof __VLS_1$
|
|
495
|
+
type __VLS_Slots$35 = {} & {
|
|
496
|
+
default?: (props: typeof __VLS_1$29) => any;
|
|
487
497
|
} & {
|
|
488
|
-
default?: (props: typeof __VLS_10$
|
|
498
|
+
default?: (props: typeof __VLS_10$24) => any;
|
|
489
499
|
};
|
|
490
|
-
declare const __VLS_base$
|
|
500
|
+
declare const __VLS_base$35: vue.DefineComponent<AvatarFallbackProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<AvatarFallbackProps> & Readonly<{}>, {
|
|
491
501
|
as: string | vue.Component;
|
|
492
502
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
493
|
-
declare const __VLS_export$
|
|
494
|
-
declare const _default$5: typeof __VLS_export$
|
|
495
|
-
type __VLS_WithSlots$
|
|
503
|
+
declare const __VLS_export$38: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
|
|
504
|
+
declare const _default$5: typeof __VLS_export$38;
|
|
505
|
+
type __VLS_WithSlots$35<T, S> = T & {
|
|
496
506
|
new (): {
|
|
497
507
|
$slots: S;
|
|
498
508
|
};
|
|
@@ -510,28 +520,28 @@ interface AvatarImageProps extends BaseUIComponentProps<AvatarImageState> {
|
|
|
510
520
|
referrerPolicy?: HTMLImageElement['referrerPolicy'];
|
|
511
521
|
crossOrigin?: '' | 'anonymous' | 'use-credentials';
|
|
512
522
|
}
|
|
513
|
-
declare var __VLS_1$
|
|
523
|
+
declare var __VLS_1$28: {
|
|
514
524
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
515
525
|
props: Record<string, any>;
|
|
516
526
|
state: AvatarImageState;
|
|
517
|
-
}, __VLS_10$
|
|
527
|
+
}, __VLS_10$23: {
|
|
518
528
|
state: AvatarImageState;
|
|
519
529
|
};
|
|
520
|
-
type __VLS_Slots$
|
|
521
|
-
default?: (props: typeof __VLS_1$
|
|
530
|
+
type __VLS_Slots$34 = {} & {
|
|
531
|
+
default?: (props: typeof __VLS_1$28) => any;
|
|
522
532
|
} & {
|
|
523
|
-
default?: (props: typeof __VLS_10$
|
|
533
|
+
default?: (props: typeof __VLS_10$23) => any;
|
|
524
534
|
};
|
|
525
|
-
declare const __VLS_base$
|
|
535
|
+
declare const __VLS_base$34: vue.DefineComponent<AvatarImageProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
526
536
|
loadingStatusChange: (status: ImageLoadingStatus$1) => any;
|
|
527
537
|
}, string, vue.PublicProps, Readonly<AvatarImageProps> & Readonly<{
|
|
528
538
|
onLoadingStatusChange?: ((status: ImageLoadingStatus$1) => any) | undefined;
|
|
529
539
|
}>, {
|
|
530
540
|
as: string | vue.Component;
|
|
531
541
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
532
|
-
declare const __VLS_export$
|
|
533
|
-
declare const _default$6: typeof __VLS_export$
|
|
534
|
-
type __VLS_WithSlots$
|
|
542
|
+
declare const __VLS_export$37: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
543
|
+
declare const _default$6: typeof __VLS_export$37;
|
|
544
|
+
type __VLS_WithSlots$34<T, S> = T & {
|
|
535
545
|
new (): {
|
|
536
546
|
$slots: S;
|
|
537
547
|
};
|
|
@@ -574,240 +584,36 @@ interface ButtonProps extends NativeButtonProps, BaseUIComponentProps<ButtonStat
|
|
|
574
584
|
}
|
|
575
585
|
//#endregion
|
|
576
586
|
//#region src/button/Button.vue.d.ts
|
|
577
|
-
declare var __VLS_1$
|
|
587
|
+
declare var __VLS_1$27: {
|
|
578
588
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
579
589
|
props: Record<string, any>;
|
|
580
590
|
state: {
|
|
581
591
|
disabled: boolean;
|
|
582
592
|
};
|
|
583
|
-
}, __VLS_10$
|
|
593
|
+
}, __VLS_10$22: {
|
|
584
594
|
state: {
|
|
585
595
|
disabled: boolean;
|
|
586
596
|
};
|
|
587
597
|
};
|
|
588
|
-
type __VLS_Slots$
|
|
589
|
-
default?: (props: typeof __VLS_1$
|
|
598
|
+
type __VLS_Slots$33 = {} & {
|
|
599
|
+
default?: (props: typeof __VLS_1$27) => any;
|
|
590
600
|
} & {
|
|
591
|
-
default?: (props: typeof __VLS_10$
|
|
601
|
+
default?: (props: typeof __VLS_10$22) => any;
|
|
592
602
|
};
|
|
593
|
-
declare const __VLS_base$
|
|
603
|
+
declare const __VLS_base$33: vue.DefineComponent<ButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
594
604
|
disabled: boolean;
|
|
595
|
-
focusableWhenDisabled: boolean;
|
|
596
605
|
nativeButton: boolean;
|
|
597
606
|
as: string | vue.Component;
|
|
607
|
+
focusableWhenDisabled: boolean;
|
|
598
608
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
599
|
-
declare const __VLS_export$
|
|
600
|
-
declare const _default$8: typeof __VLS_export$
|
|
601
|
-
type __VLS_WithSlots$
|
|
609
|
+
declare const __VLS_export$36: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
610
|
+
declare const _default$8: typeof __VLS_export$36;
|
|
611
|
+
type __VLS_WithSlots$33<T, S> = T & {
|
|
602
612
|
new (): {
|
|
603
613
|
$slots: S;
|
|
604
614
|
};
|
|
605
615
|
}; //# sourceMappingURL=Button.vue.d.ts.map
|
|
606
616
|
//#endregion
|
|
607
|
-
//#region src/collapsible/collapsible.types.d.ts
|
|
608
|
-
interface CollapsibleRootState {
|
|
609
|
-
open: boolean;
|
|
610
|
-
disabled: boolean;
|
|
611
|
-
transitionStatus: TransitionStatus;
|
|
612
|
-
}
|
|
613
|
-
type CollapsibleChangeEventReason = typeof REASONS.triggerPress | typeof REASONS.none;
|
|
614
|
-
type CollapsibleChangeEventDetails = BaseUIChangeEventDetails<CollapsibleChangeEventReason>;
|
|
615
|
-
interface CollapsibleRootProps extends BaseUIComponentProps<CollapsibleRootState> {
|
|
616
|
-
/**
|
|
617
|
-
* Whether the collapsible panel is currently open (controlled).
|
|
618
|
-
*/
|
|
619
|
-
open?: boolean;
|
|
620
|
-
/**
|
|
621
|
-
* Whether the collapsible panel is initially open (uncontrolled).
|
|
622
|
-
* @default false
|
|
623
|
-
*/
|
|
624
|
-
defaultOpen?: boolean;
|
|
625
|
-
/**
|
|
626
|
-
* Whether the component should ignore user interaction.
|
|
627
|
-
* @default false
|
|
628
|
-
*/
|
|
629
|
-
disabled?: boolean;
|
|
630
|
-
}
|
|
631
|
-
interface CollapsibleTriggerProps extends NativeButtonProps, BaseUIComponentProps<CollapsibleRootState> {
|
|
632
|
-
/**
|
|
633
|
-
* Whether the trigger should ignore user interaction.
|
|
634
|
-
* When undefined, inherits from CollapsibleRoot.
|
|
635
|
-
*/
|
|
636
|
-
disabled?: boolean;
|
|
637
|
-
}
|
|
638
|
-
interface CollapsiblePanelState extends CollapsibleRootState {
|
|
639
|
-
transitionStatus: TransitionStatus;
|
|
640
|
-
}
|
|
641
|
-
interface CollapsiblePanelProps extends BaseUIComponentProps<CollapsiblePanelState> {
|
|
642
|
-
/**
|
|
643
|
-
* The `id` attribute of the panel element.
|
|
644
|
-
* When set, overrides the auto-generated panel id.
|
|
645
|
-
*/
|
|
646
|
-
id?: string;
|
|
647
|
-
/**
|
|
648
|
-
* Whether to keep the element in the DOM while the panel is hidden.
|
|
649
|
-
* @default false
|
|
650
|
-
*/
|
|
651
|
-
keepMounted?: boolean;
|
|
652
|
-
/**
|
|
653
|
-
* Allows the browser's built-in page search to find and expand the panel contents.
|
|
654
|
-
* Overrides the `keepMounted` prop and uses `hidden="until-found"`.
|
|
655
|
-
* @default false
|
|
656
|
-
*/
|
|
657
|
-
hiddenUntilFound?: boolean;
|
|
658
|
-
}
|
|
659
|
-
//#endregion
|
|
660
|
-
//#region src/collapsible/panel/CollapsiblePanel.vue.d.ts
|
|
661
|
-
declare var __VLS_1$12: {
|
|
662
|
-
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
663
|
-
props: Record<string, any>;
|
|
664
|
-
state: CollapsiblePanelState;
|
|
665
|
-
}, __VLS_10$9: {
|
|
666
|
-
state: CollapsiblePanelState;
|
|
667
|
-
};
|
|
668
|
-
type __VLS_Slots$13 = {} & {
|
|
669
|
-
default?: (props: typeof __VLS_1$12) => any;
|
|
670
|
-
} & {
|
|
671
|
-
default?: (props: typeof __VLS_10$9) => any;
|
|
672
|
-
};
|
|
673
|
-
declare const __VLS_base$13: vue.DefineComponent<CollapsiblePanelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CollapsiblePanelProps> & Readonly<{}>, {
|
|
674
|
-
as: string | vue.Component;
|
|
675
|
-
hiddenUntilFound: boolean;
|
|
676
|
-
keepMounted: boolean;
|
|
677
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
678
|
-
declare const __VLS_export$13: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
679
|
-
declare const _default$9: typeof __VLS_export$13;
|
|
680
|
-
type __VLS_WithSlots$13<T, S> = T & {
|
|
681
|
-
new (): {
|
|
682
|
-
$slots: S;
|
|
683
|
-
};
|
|
684
|
-
}; //# sourceMappingURL=CollapsiblePanel.vue.d.ts.map
|
|
685
|
-
//#endregion
|
|
686
|
-
//#region src/collapsible/root/CollapsibleRoot.vue.d.ts
|
|
687
|
-
declare var __VLS_1$11: {
|
|
688
|
-
props: Record<string, any>;
|
|
689
|
-
state: CollapsibleRootState;
|
|
690
|
-
}, __VLS_10$8: {
|
|
691
|
-
state: CollapsibleRootState;
|
|
692
|
-
};
|
|
693
|
-
type __VLS_Slots$12 = {} & {
|
|
694
|
-
default?: (props: typeof __VLS_1$11) => any;
|
|
695
|
-
} & {
|
|
696
|
-
default?: (props: typeof __VLS_10$8) => any;
|
|
697
|
-
};
|
|
698
|
-
declare const __VLS_base$12: vue.DefineComponent<CollapsibleRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
699
|
-
openChange: (open: boolean, details: CollapsibleChangeEventDetails) => any;
|
|
700
|
-
}, string, vue.PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
701
|
-
onOpenChange?: ((open: boolean, details: CollapsibleChangeEventDetails) => any) | undefined;
|
|
702
|
-
}>, {
|
|
703
|
-
disabled: boolean;
|
|
704
|
-
as: string | vue.Component;
|
|
705
|
-
defaultOpen: boolean;
|
|
706
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
707
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
708
|
-
declare const _default$10: typeof __VLS_export$12;
|
|
709
|
-
type __VLS_WithSlots$12<T, S> = T & {
|
|
710
|
-
new (): {
|
|
711
|
-
$slots: S;
|
|
712
|
-
};
|
|
713
|
-
}; //# sourceMappingURL=CollapsibleRoot.vue.d.ts.map
|
|
714
|
-
//#endregion
|
|
715
|
-
//#region src/collapsible/root/useCollapsibleRoot.d.ts
|
|
716
|
-
type AnimationType = 'css-transition' | 'css-animation' | 'none' | null;
|
|
717
|
-
interface Dimensions {
|
|
718
|
-
height: number | undefined;
|
|
719
|
-
width: number | undefined;
|
|
720
|
-
}
|
|
721
|
-
interface UseCollapsibleRootReturnValue {
|
|
722
|
-
abortControllerRef: Ref<AbortController | null>;
|
|
723
|
-
animationTypeRef: Ref<AnimationType>;
|
|
724
|
-
disabled: Ref<boolean>;
|
|
725
|
-
handleTrigger: (event: MouseEvent | KeyboardEvent) => void;
|
|
726
|
-
/**
|
|
727
|
-
* The height of the panel.
|
|
728
|
-
*/
|
|
729
|
-
height: Ref<number | undefined>;
|
|
730
|
-
/**
|
|
731
|
-
* Whether the collapsible panel is currently mounted.
|
|
732
|
-
*/
|
|
733
|
-
mounted: Ref<boolean>;
|
|
734
|
-
/**
|
|
735
|
-
* Whether the collapsible panel is currently open.
|
|
736
|
-
*/
|
|
737
|
-
open: Ref<boolean>;
|
|
738
|
-
panelId: Ref<string | undefined>;
|
|
739
|
-
panelRef: Ref<HTMLElement | null>;
|
|
740
|
-
runOnceAnimationsFinish: (fn: () => void, signal?: AbortSignal | null) => void;
|
|
741
|
-
setDimensions: (dims: Dimensions) => void;
|
|
742
|
-
setHiddenUntilFound: (next: boolean) => void;
|
|
743
|
-
setKeepMounted: (next: boolean) => void;
|
|
744
|
-
setMounted: (next: boolean) => void;
|
|
745
|
-
setOpen: (next: boolean) => void;
|
|
746
|
-
setPanelIdState: (id: string | undefined) => void;
|
|
747
|
-
setVisible: (next: boolean) => void;
|
|
748
|
-
transitionDimensionRef: Ref<'width' | 'height' | null>;
|
|
749
|
-
transitionStatus: Ref<TransitionStatus>;
|
|
750
|
-
/**
|
|
751
|
-
* The visible state of the panel used to determine the `[hidden]` attribute
|
|
752
|
-
* only when CSS keyframe animations are used.
|
|
753
|
-
*/
|
|
754
|
-
visible: Ref<boolean>;
|
|
755
|
-
/**
|
|
756
|
-
* The width of the panel.
|
|
757
|
-
*/
|
|
758
|
-
width: Ref<number | undefined>;
|
|
759
|
-
keepMounted: Ref<boolean>;
|
|
760
|
-
hiddenUntilFound: Ref<boolean>;
|
|
761
|
-
state: Ref<CollapsibleRootState>;
|
|
762
|
-
onOpenChange: (open: boolean, details: CollapsibleChangeEventDetails) => void;
|
|
763
|
-
}
|
|
764
|
-
//#endregion
|
|
765
|
-
//#region src/collapsible/root/CollapsibleRootContext.d.ts
|
|
766
|
-
interface CollapsibleRootContext extends UseCollapsibleRootReturnValue {}
|
|
767
|
-
declare const collapsibleRootContextKey: InjectionKey<CollapsibleRootContext>;
|
|
768
|
-
declare function useCollapsibleRootContext(): CollapsibleRootContext;
|
|
769
|
-
//#endregion
|
|
770
|
-
//#region src/collapsible/trigger/CollapsibleTrigger.vue.d.ts
|
|
771
|
-
declare var __VLS_1$10: {
|
|
772
|
-
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
773
|
-
props: Record<string, any>;
|
|
774
|
-
state: vue.Ref<CollapsibleRootState, CollapsibleRootState>;
|
|
775
|
-
}, __VLS_10$7: {
|
|
776
|
-
state: vue.Ref<CollapsibleRootState, CollapsibleRootState>;
|
|
777
|
-
};
|
|
778
|
-
type __VLS_Slots$11 = {} & {
|
|
779
|
-
default?: (props: typeof __VLS_1$10) => any;
|
|
780
|
-
} & {
|
|
781
|
-
default?: (props: typeof __VLS_10$7) => any;
|
|
782
|
-
};
|
|
783
|
-
declare const __VLS_base$11: vue.DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {
|
|
784
|
-
nativeButton: boolean;
|
|
785
|
-
as: string | vue.Component;
|
|
786
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
787
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
788
|
-
declare const _default$11: typeof __VLS_export$11;
|
|
789
|
-
type __VLS_WithSlots$11<T, S> = T & {
|
|
790
|
-
new (): {
|
|
791
|
-
$slots: S;
|
|
792
|
-
};
|
|
793
|
-
}; //# sourceMappingURL=CollapsibleTrigger.vue.d.ts.map
|
|
794
|
-
//#endregion
|
|
795
|
-
//#region src/direction-provider/DirectionProvider.vue.d.ts
|
|
796
|
-
declare var __VLS_1$9: {};
|
|
797
|
-
type __VLS_Slots$10 = {} & {
|
|
798
|
-
default?: (props: typeof __VLS_1$9) => any;
|
|
799
|
-
};
|
|
800
|
-
declare const __VLS_base$10: vue.DefineComponent<DirectionProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<DirectionProviderProps> & Readonly<{}>, {
|
|
801
|
-
direction: TextDirection;
|
|
802
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
803
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
804
|
-
declare const _default$12: typeof __VLS_export$10;
|
|
805
|
-
type __VLS_WithSlots$10<T, S> = T & {
|
|
806
|
-
new (): {
|
|
807
|
-
$slots: S;
|
|
808
|
-
};
|
|
809
|
-
}; //# sourceMappingURL=DirectionProvider.vue.d.ts.map
|
|
810
|
-
//#endregion
|
|
811
617
|
//#region src/form/FormContext.d.ts
|
|
812
618
|
type FormErrors = Record<string, string | string[]>;
|
|
813
619
|
type FormValidationMode = 'onSubmit' | 'onBlur' | 'onChange';
|
|
@@ -921,488 +727,2821 @@ interface FieldRootProps extends BaseUIComponentProps<FieldRootState> {
|
|
|
921
727
|
*/
|
|
922
728
|
touched?: boolean;
|
|
923
729
|
}
|
|
924
|
-
declare var __VLS_1$
|
|
730
|
+
declare var __VLS_1$26: {
|
|
925
731
|
props: Record<string, any>;
|
|
926
732
|
state: FieldRootState;
|
|
927
|
-
}, __VLS_10$
|
|
733
|
+
}, __VLS_10$21: {
|
|
928
734
|
state: FieldRootState;
|
|
929
735
|
};
|
|
930
|
-
type __VLS_Slots$
|
|
931
|
-
default?: (props: typeof __VLS_1$
|
|
736
|
+
type __VLS_Slots$32 = {} & {
|
|
737
|
+
default?: (props: typeof __VLS_1$26) => any;
|
|
932
738
|
} & {
|
|
933
|
-
default?: (props: typeof __VLS_10$
|
|
739
|
+
default?: (props: typeof __VLS_10$21) => any;
|
|
934
740
|
};
|
|
935
|
-
declare const __VLS_base$
|
|
741
|
+
declare const __VLS_base$32: vue.DefineComponent<FieldRootProps, FieldRootExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldRootProps> & Readonly<{}>, {
|
|
936
742
|
disabled: boolean;
|
|
937
743
|
as: string | vue.Component;
|
|
938
|
-
invalid: boolean;
|
|
939
744
|
touched: boolean;
|
|
940
745
|
dirty: boolean;
|
|
746
|
+
invalid: boolean;
|
|
941
747
|
validationDebounceTime: number;
|
|
942
748
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
943
|
-
declare const __VLS_export$
|
|
944
|
-
declare const _default$
|
|
945
|
-
type __VLS_WithSlots$
|
|
749
|
+
declare const __VLS_export$35: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
750
|
+
declare const _default$22: typeof __VLS_export$35;
|
|
751
|
+
type __VLS_WithSlots$32<T, S> = T & {
|
|
946
752
|
new (): {
|
|
947
753
|
$slots: S;
|
|
948
754
|
};
|
|
949
755
|
}; //# sourceMappingURL=FieldRoot.vue.d.ts.map
|
|
950
756
|
//#endregion
|
|
951
|
-
//#region src/
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
type?: string;
|
|
961
|
-
required?: boolean;
|
|
962
|
-
pattern?: string;
|
|
963
|
-
minlength?: number;
|
|
964
|
-
maxlength?: number;
|
|
965
|
-
min?: string | number;
|
|
966
|
-
max?: string | number;
|
|
967
|
-
step?: string | number;
|
|
968
|
-
placeholder?: string;
|
|
969
|
-
}
|
|
970
|
-
declare var __VLS_1$7: {
|
|
971
|
-
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
972
|
-
props: Record<string, any>;
|
|
973
|
-
state: FieldRootState;
|
|
974
|
-
};
|
|
975
|
-
type __VLS_Slots$8 = {} & {
|
|
976
|
-
default?: (props: typeof __VLS_1$7) => any;
|
|
977
|
-
};
|
|
978
|
-
declare const __VLS_base$8: vue.DefineComponent<FieldControlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
979
|
-
valueChange: (value: string, event: Event) => any;
|
|
980
|
-
}, string, vue.PublicProps, Readonly<FieldControlProps> & Readonly<{
|
|
981
|
-
onValueChange?: ((value: string, event: Event) => any) | undefined;
|
|
982
|
-
}>, {
|
|
757
|
+
//#region src/checkbox/root/CheckboxRoot.vue.d.ts
|
|
758
|
+
interface CheckboxRootState extends FieldRootState {
|
|
759
|
+
/**
|
|
760
|
+
* Whether the checkbox is currently ticked.
|
|
761
|
+
*/
|
|
762
|
+
checked: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* Whether the component should ignore user interaction.
|
|
765
|
+
*/
|
|
983
766
|
disabled: boolean;
|
|
984
|
-
as: string | vue.Component;
|
|
985
|
-
autofocus: boolean;
|
|
986
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
987
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
988
|
-
declare const _default$13: typeof __VLS_export$8;
|
|
989
|
-
type __VLS_WithSlots$8<T, S> = T & {
|
|
990
|
-
new (): {
|
|
991
|
-
$slots: S;
|
|
992
|
-
};
|
|
993
|
-
}; //# sourceMappingURL=FieldControl.vue.d.ts.map
|
|
994
|
-
//#endregion
|
|
995
|
-
//#region src/field/control/FieldControlDataAttributes.d.ts
|
|
996
|
-
declare enum FieldControlDataAttributes {
|
|
997
767
|
/**
|
|
998
|
-
*
|
|
768
|
+
* Whether the user should be unable to tick or untick the checkbox.
|
|
999
769
|
*/
|
|
1000
|
-
|
|
770
|
+
readOnly: boolean;
|
|
1001
771
|
/**
|
|
1002
|
-
*
|
|
772
|
+
* Whether the user must tick the checkbox before submitting a form.
|
|
1003
773
|
*/
|
|
1004
|
-
|
|
774
|
+
required: boolean;
|
|
1005
775
|
/**
|
|
1006
|
-
*
|
|
776
|
+
* Whether the checkbox is in a mixed state: neither ticked, nor unticked.
|
|
1007
777
|
*/
|
|
1008
|
-
|
|
778
|
+
indeterminate: boolean;
|
|
779
|
+
}
|
|
780
|
+
interface CheckboxRootProps extends NonNativeButtonProps, BaseUIComponentProps<CheckboxRootState> {
|
|
1009
781
|
/**
|
|
1010
|
-
*
|
|
782
|
+
* The id of the input element.
|
|
1011
783
|
*/
|
|
1012
|
-
|
|
784
|
+
'id'?: string;
|
|
1013
785
|
/**
|
|
1014
|
-
*
|
|
786
|
+
* Identifies the field when a form is submitted.
|
|
787
|
+
* @default undefined
|
|
1015
788
|
*/
|
|
1016
|
-
|
|
789
|
+
'name'?: string;
|
|
1017
790
|
/**
|
|
1018
|
-
*
|
|
791
|
+
* Identifies the form that owns the hidden input.
|
|
792
|
+
* Useful when the checkbox is rendered outside the form.
|
|
1019
793
|
*/
|
|
1020
|
-
|
|
794
|
+
'form'?: string;
|
|
1021
795
|
/**
|
|
1022
|
-
*
|
|
796
|
+
* Whether the checkbox is currently ticked.
|
|
797
|
+
*
|
|
798
|
+
* To render an uncontrolled checkbox, use the `defaultChecked` prop instead.
|
|
799
|
+
* @default undefined
|
|
1023
800
|
*/
|
|
1024
|
-
|
|
1025
|
-
}
|
|
1026
|
-
//#endregion
|
|
1027
|
-
//#region src/field/description/FieldDescription.vue.d.ts
|
|
1028
|
-
type FieldDescriptionState = FieldRootState;
|
|
1029
|
-
interface FieldDescriptionProps extends BaseUIComponentProps<FieldDescriptionState> {
|
|
801
|
+
'checked'?: boolean;
|
|
1030
802
|
/**
|
|
1031
|
-
*
|
|
803
|
+
* Whether the checkbox is initially ticked.
|
|
804
|
+
*
|
|
805
|
+
* To render a controlled checkbox, use the `checked` prop instead.
|
|
806
|
+
* @default false
|
|
1032
807
|
*/
|
|
1033
|
-
|
|
808
|
+
'defaultChecked'?: boolean;
|
|
809
|
+
/**
|
|
810
|
+
* Whether the component should ignore user interaction.
|
|
811
|
+
* @default false
|
|
812
|
+
*/
|
|
813
|
+
'disabled'?: boolean;
|
|
814
|
+
/**
|
|
815
|
+
* Whether the user should be unable to tick or untick the checkbox.
|
|
816
|
+
* @default false
|
|
817
|
+
*/
|
|
818
|
+
'readOnly'?: boolean;
|
|
819
|
+
/**
|
|
820
|
+
* Whether the user must tick the checkbox before submitting a form.
|
|
821
|
+
* @default false
|
|
822
|
+
*/
|
|
823
|
+
'required'?: boolean;
|
|
824
|
+
/**
|
|
825
|
+
* Whether the checkbox is in a mixed state: neither ticked, nor unticked.
|
|
826
|
+
* @default false
|
|
827
|
+
*/
|
|
828
|
+
'indeterminate'?: boolean;
|
|
829
|
+
/**
|
|
830
|
+
* A ref to access the hidden `<input>` element.
|
|
831
|
+
*/
|
|
832
|
+
'inputRef'?: any;
|
|
833
|
+
/**
|
|
834
|
+
* Whether the checkbox controls a group of child checkboxes.
|
|
835
|
+
*
|
|
836
|
+
* Must be used in a [Checkbox Group](https://baseui-vue.com/docs/components/checkbox-group).
|
|
837
|
+
* @default false
|
|
838
|
+
*/
|
|
839
|
+
'parent'?: boolean;
|
|
840
|
+
/**
|
|
841
|
+
* The value submitted with the form when the checkbox is unchecked.
|
|
842
|
+
* By default, unchecked checkboxes do not submit any value, matching native checkbox behavior.
|
|
843
|
+
*/
|
|
844
|
+
'uncheckedValue'?: string;
|
|
845
|
+
/**
|
|
846
|
+
* The value of the selected checkbox.
|
|
847
|
+
*/
|
|
848
|
+
'value'?: string;
|
|
849
|
+
'aria-labelledby'?: string;
|
|
1034
850
|
}
|
|
1035
|
-
declare var __VLS_1$
|
|
851
|
+
declare var __VLS_1$25: {
|
|
852
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1036
853
|
props: Record<string, any>;
|
|
1037
|
-
state:
|
|
1038
|
-
},
|
|
1039
|
-
state:
|
|
854
|
+
state: CheckboxRootState;
|
|
855
|
+
}, __VLS_9$1: {
|
|
856
|
+
state: CheckboxRootState;
|
|
1040
857
|
};
|
|
1041
|
-
type __VLS_Slots$
|
|
1042
|
-
default?: (props: typeof __VLS_1$
|
|
858
|
+
type __VLS_Slots$31 = {} & {
|
|
859
|
+
default?: (props: typeof __VLS_1$25) => any;
|
|
1043
860
|
} & {
|
|
1044
|
-
default?: (props: typeof
|
|
861
|
+
default?: (props: typeof __VLS_9$1) => any;
|
|
1045
862
|
};
|
|
1046
|
-
declare const __VLS_base$
|
|
863
|
+
declare const __VLS_base$31: vue.DefineComponent<CheckboxRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
864
|
+
checkedChange: (checked: boolean, eventDetails: {
|
|
865
|
+
reason: "none";
|
|
866
|
+
event: Event;
|
|
867
|
+
cancel: () => void;
|
|
868
|
+
allowPropagation: () => void;
|
|
869
|
+
isCanceled: boolean;
|
|
870
|
+
isPropagationAllowed: boolean;
|
|
871
|
+
trigger: Element | undefined;
|
|
872
|
+
} & Record<string, never>) => any;
|
|
873
|
+
}, string, vue.PublicProps, Readonly<CheckboxRootProps> & Readonly<{
|
|
874
|
+
onCheckedChange?: ((checked: boolean, eventDetails: {
|
|
875
|
+
reason: "none";
|
|
876
|
+
event: Event;
|
|
877
|
+
cancel: () => void;
|
|
878
|
+
allowPropagation: () => void;
|
|
879
|
+
isCanceled: boolean;
|
|
880
|
+
isPropagationAllowed: boolean;
|
|
881
|
+
trigger: Element | undefined;
|
|
882
|
+
} & Record<string, never>) => any) | undefined;
|
|
883
|
+
}>, {
|
|
884
|
+
defaultChecked: boolean;
|
|
885
|
+
disabled: boolean;
|
|
886
|
+
readOnly: boolean;
|
|
887
|
+
required: boolean;
|
|
888
|
+
indeterminate: boolean;
|
|
889
|
+
parent: boolean;
|
|
890
|
+
nativeButton: boolean;
|
|
1047
891
|
as: string | vue.Component;
|
|
1048
892
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1049
|
-
declare const __VLS_export$
|
|
1050
|
-
declare const _default$
|
|
1051
|
-
type __VLS_WithSlots$
|
|
893
|
+
declare const __VLS_export$34: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
894
|
+
declare const _default$12: typeof __VLS_export$34;
|
|
895
|
+
type __VLS_WithSlots$31<T, S> = T & {
|
|
1052
896
|
new (): {
|
|
1053
897
|
$slots: S;
|
|
1054
898
|
};
|
|
1055
|
-
}; //# sourceMappingURL=
|
|
899
|
+
}; //# sourceMappingURL=CheckboxRoot.vue.d.ts.map
|
|
1056
900
|
//#endregion
|
|
1057
|
-
//#region src/
|
|
1058
|
-
interface
|
|
901
|
+
//#region src/checkbox/indicator/CheckboxIndicator.vue.d.ts
|
|
902
|
+
interface CheckboxIndicatorState extends CheckboxRootState {
|
|
1059
903
|
transitionStatus: TransitionStatus;
|
|
1060
904
|
}
|
|
1061
|
-
interface
|
|
1062
|
-
/**
|
|
1063
|
-
* The `id` attribute of the error element.
|
|
1064
|
-
*/
|
|
1065
|
-
id?: string;
|
|
905
|
+
interface CheckboxIndicatorProps extends BaseUIComponentProps<CheckboxIndicatorState> {
|
|
1066
906
|
/**
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
1069
|
-
* (show when field is invalid).
|
|
907
|
+
* Whether to keep the element in the DOM when the checkbox is not checked.
|
|
908
|
+
* @default false
|
|
1070
909
|
*/
|
|
1071
|
-
|
|
910
|
+
keepMounted?: boolean;
|
|
1072
911
|
}
|
|
1073
|
-
declare var __VLS_1$
|
|
912
|
+
declare var __VLS_1$24: {
|
|
1074
913
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1075
914
|
props: Record<string, any>;
|
|
1076
|
-
state:
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
915
|
+
state: CheckboxIndicatorState;
|
|
916
|
+
}, __VLS_10$20: {
|
|
917
|
+
state: CheckboxIndicatorState;
|
|
918
|
+
};
|
|
919
|
+
type __VLS_Slots$30 = {} & {
|
|
920
|
+
default?: (props: typeof __VLS_1$24) => any;
|
|
1081
921
|
} & {
|
|
1082
|
-
default?: (props: typeof __VLS_10$
|
|
922
|
+
default?: (props: typeof __VLS_10$20) => any;
|
|
1083
923
|
};
|
|
1084
|
-
declare const __VLS_base$
|
|
924
|
+
declare const __VLS_base$30: vue.DefineComponent<CheckboxIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CheckboxIndicatorProps> & Readonly<{}>, {
|
|
1085
925
|
as: string | vue.Component;
|
|
926
|
+
keepMounted: boolean;
|
|
1086
927
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1087
|
-
declare const __VLS_export$
|
|
1088
|
-
declare const _default$
|
|
1089
|
-
type __VLS_WithSlots$
|
|
928
|
+
declare const __VLS_export$33: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
929
|
+
declare const _default$11: typeof __VLS_export$33;
|
|
930
|
+
type __VLS_WithSlots$30<T, S> = T & {
|
|
1090
931
|
new (): {
|
|
1091
932
|
$slots: S;
|
|
1092
933
|
};
|
|
1093
|
-
}; //# sourceMappingURL=
|
|
934
|
+
}; //# sourceMappingURL=CheckboxIndicator.vue.d.ts.map
|
|
1094
935
|
//#endregion
|
|
1095
|
-
//#region src/
|
|
1096
|
-
|
|
1097
|
-
interface FieldItemProps extends BaseUIComponentProps<FieldItemState> {
|
|
936
|
+
//#region src/checkbox/indicator/CheckboxIndicatorDataAttributes.d.ts
|
|
937
|
+
declare enum CheckboxIndicatorDataAttributes {
|
|
1098
938
|
/**
|
|
1099
|
-
*
|
|
1100
|
-
|
|
939
|
+
* Present when the checkbox is checked.
|
|
940
|
+
*/
|
|
941
|
+
checked = "data-checked",
|
|
942
|
+
/**
|
|
943
|
+
* Present when the checkbox is not checked.
|
|
944
|
+
*/
|
|
945
|
+
unchecked = "data-unchecked",
|
|
946
|
+
/**
|
|
947
|
+
* Present when the checkbox is in an indeterminate state.
|
|
948
|
+
*/
|
|
949
|
+
indeterminate = "data-indeterminate",
|
|
950
|
+
/**
|
|
951
|
+
* Present when the checkbox is disabled.
|
|
952
|
+
*/
|
|
953
|
+
disabled = "data-disabled",
|
|
954
|
+
/**
|
|
955
|
+
* Present when the checkbox is readonly.
|
|
956
|
+
*/
|
|
957
|
+
readonly = "data-readonly",
|
|
958
|
+
/**
|
|
959
|
+
* Present when the checkbox is required.
|
|
960
|
+
*/
|
|
961
|
+
required = "data-required",
|
|
962
|
+
/**
|
|
963
|
+
* Present when the checkbox indicator is animating in.
|
|
964
|
+
*/
|
|
965
|
+
startingStyle = "data-starting-style",
|
|
966
|
+
/**
|
|
967
|
+
* Present when the checkbox indicator is animating out.
|
|
968
|
+
*/
|
|
969
|
+
endingStyle = "data-ending-style",
|
|
970
|
+
/**
|
|
971
|
+
* Present when the checkbox is in valid state (when wrapped in FieldRoot).
|
|
972
|
+
*/
|
|
973
|
+
valid = "data-valid",
|
|
974
|
+
/**
|
|
975
|
+
* Present when the checkbox is in invalid state (when wrapped in FieldRoot).
|
|
976
|
+
*/
|
|
977
|
+
invalid = "data-invalid",
|
|
978
|
+
/**
|
|
979
|
+
* Present when the checkbox has been touched (when wrapped in FieldRoot).
|
|
980
|
+
*/
|
|
981
|
+
touched = "data-touched",
|
|
982
|
+
/**
|
|
983
|
+
* Present when the checkbox's value has changed (when wrapped in FieldRoot).
|
|
984
|
+
*/
|
|
985
|
+
dirty = "data-dirty",
|
|
986
|
+
/**
|
|
987
|
+
* Present when the checkbox is checked (when wrapped in FieldRoot).
|
|
988
|
+
*/
|
|
989
|
+
filled = "data-filled",
|
|
990
|
+
/**
|
|
991
|
+
* Present when the checkbox is focused (when wrapped in FieldRoot).
|
|
992
|
+
*/
|
|
993
|
+
focused = "data-focused"
|
|
994
|
+
}
|
|
995
|
+
//#endregion
|
|
996
|
+
//#region src/checkbox/root/CheckboxRootContext.d.ts
|
|
997
|
+
type CheckboxRootContext = Readonly<Ref<CheckboxRootState>>;
|
|
998
|
+
declare const checkboxRootContextKey: InjectionKey<CheckboxRootContext>;
|
|
999
|
+
declare function useCheckboxRootContext(optional: true): CheckboxRootContext | undefined;
|
|
1000
|
+
declare function useCheckboxRootContext(optional?: false): CheckboxRootContext;
|
|
1001
|
+
//#endregion
|
|
1002
|
+
//#region src/checkbox/root/CheckboxRootDataAttributes.d.ts
|
|
1003
|
+
declare enum CheckboxRootDataAttributes {
|
|
1004
|
+
/**
|
|
1005
|
+
* Present when the checkbox is checked.
|
|
1006
|
+
*/
|
|
1007
|
+
checked = "data-checked",
|
|
1008
|
+
/**
|
|
1009
|
+
* Present when the checkbox is not checked.
|
|
1010
|
+
*/
|
|
1011
|
+
unchecked = "data-unchecked",
|
|
1012
|
+
/**
|
|
1013
|
+
* Present when the checkbox is in an indeterminate state.
|
|
1014
|
+
*/
|
|
1015
|
+
indeterminate = "data-indeterminate",
|
|
1016
|
+
/**
|
|
1017
|
+
* Present when the checkbox is disabled.
|
|
1018
|
+
*/
|
|
1019
|
+
disabled = "data-disabled",
|
|
1020
|
+
/**
|
|
1021
|
+
* Present when the checkbox is readonly.
|
|
1022
|
+
*/
|
|
1023
|
+
readonly = "data-readonly",
|
|
1024
|
+
/**
|
|
1025
|
+
* Present when the checkbox is required.
|
|
1026
|
+
*/
|
|
1027
|
+
required = "data-required",
|
|
1028
|
+
/**
|
|
1029
|
+
* Present when the checkbox is in valid state (when wrapped in FieldRoot).
|
|
1030
|
+
*/
|
|
1031
|
+
valid = "data-valid",
|
|
1032
|
+
/**
|
|
1033
|
+
* Present when the checkbox is in invalid state (when wrapped in FieldRoot).
|
|
1034
|
+
*/
|
|
1035
|
+
invalid = "data-invalid",
|
|
1036
|
+
/**
|
|
1037
|
+
* Present when the checkbox has been touched (when wrapped in FieldRoot).
|
|
1038
|
+
*/
|
|
1039
|
+
touched = "data-touched",
|
|
1040
|
+
/**
|
|
1041
|
+
* Present when the checkbox's value has changed (when wrapped in FieldRoot).
|
|
1042
|
+
*/
|
|
1043
|
+
dirty = "data-dirty",
|
|
1044
|
+
/**
|
|
1045
|
+
* Present when the checkbox is checked (when wrapped in FieldRoot).
|
|
1046
|
+
*/
|
|
1047
|
+
filled = "data-filled",
|
|
1048
|
+
/**
|
|
1049
|
+
* Present when the checkbox is focused (when wrapped in FieldRoot).
|
|
1050
|
+
*/
|
|
1051
|
+
focused = "data-focused",
|
|
1052
|
+
/**
|
|
1053
|
+
* Present when the checkbox is acting as the parent checkbox for a group.
|
|
1054
|
+
*/
|
|
1055
|
+
parent = "data-parent"
|
|
1056
|
+
}
|
|
1057
|
+
//#endregion
|
|
1058
|
+
//#region src/checkbox/index.d.ts
|
|
1059
|
+
declare const Checkbox: {
|
|
1060
|
+
readonly Root: {
|
|
1061
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxRootProps> & Readonly<{
|
|
1062
|
+
onCheckedChange?: ((checked: boolean, eventDetails: {
|
|
1063
|
+
reason: "none";
|
|
1064
|
+
event: Event;
|
|
1065
|
+
cancel: () => void;
|
|
1066
|
+
allowPropagation: () => void;
|
|
1067
|
+
isCanceled: boolean;
|
|
1068
|
+
isPropagationAllowed: boolean;
|
|
1069
|
+
trigger: Element | undefined;
|
|
1070
|
+
} & Record<string, never>) => any) | undefined;
|
|
1071
|
+
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1072
|
+
checkedChange: (checked: boolean, eventDetails: {
|
|
1073
|
+
reason: "none";
|
|
1074
|
+
event: Event;
|
|
1075
|
+
cancel: () => void;
|
|
1076
|
+
allowPropagation: () => void;
|
|
1077
|
+
isCanceled: boolean;
|
|
1078
|
+
isPropagationAllowed: boolean;
|
|
1079
|
+
trigger: Element | undefined;
|
|
1080
|
+
} & Record<string, never>) => any;
|
|
1081
|
+
}, vue.PublicProps, {
|
|
1082
|
+
defaultChecked: boolean;
|
|
1083
|
+
disabled: boolean;
|
|
1084
|
+
readOnly: boolean;
|
|
1085
|
+
required: boolean;
|
|
1086
|
+
indeterminate: boolean;
|
|
1087
|
+
parent: boolean;
|
|
1088
|
+
nativeButton: boolean;
|
|
1089
|
+
as: string | vue.Component;
|
|
1090
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1091
|
+
P: {};
|
|
1092
|
+
B: {};
|
|
1093
|
+
D: {};
|
|
1094
|
+
C: {};
|
|
1095
|
+
M: {};
|
|
1096
|
+
Defaults: {};
|
|
1097
|
+
}, Readonly<CheckboxRootProps> & Readonly<{
|
|
1098
|
+
onCheckedChange?: ((checked: boolean, eventDetails: {
|
|
1099
|
+
reason: "none";
|
|
1100
|
+
event: Event;
|
|
1101
|
+
cancel: () => void;
|
|
1102
|
+
allowPropagation: () => void;
|
|
1103
|
+
isCanceled: boolean;
|
|
1104
|
+
isPropagationAllowed: boolean;
|
|
1105
|
+
trigger: Element | undefined;
|
|
1106
|
+
} & Record<string, never>) => any) | undefined;
|
|
1107
|
+
}>, {}, {}, {}, {}, {
|
|
1108
|
+
defaultChecked: boolean;
|
|
1109
|
+
disabled: boolean;
|
|
1110
|
+
readOnly: boolean;
|
|
1111
|
+
required: boolean;
|
|
1112
|
+
indeterminate: boolean;
|
|
1113
|
+
parent: boolean;
|
|
1114
|
+
nativeButton: boolean;
|
|
1115
|
+
as: string | vue.Component;
|
|
1116
|
+
}>;
|
|
1117
|
+
__isFragment?: never;
|
|
1118
|
+
__isTeleport?: never;
|
|
1119
|
+
__isSuspense?: never;
|
|
1120
|
+
} & vue.ComponentOptionsBase<Readonly<CheckboxRootProps> & Readonly<{
|
|
1121
|
+
onCheckedChange?: ((checked: boolean, eventDetails: {
|
|
1122
|
+
reason: "none";
|
|
1123
|
+
event: Event;
|
|
1124
|
+
cancel: () => void;
|
|
1125
|
+
allowPropagation: () => void;
|
|
1126
|
+
isCanceled: boolean;
|
|
1127
|
+
isPropagationAllowed: boolean;
|
|
1128
|
+
trigger: Element | undefined;
|
|
1129
|
+
} & Record<string, never>) => any) | undefined;
|
|
1130
|
+
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1131
|
+
checkedChange: (checked: boolean, eventDetails: {
|
|
1132
|
+
reason: "none";
|
|
1133
|
+
event: Event;
|
|
1134
|
+
cancel: () => void;
|
|
1135
|
+
allowPropagation: () => void;
|
|
1136
|
+
isCanceled: boolean;
|
|
1137
|
+
isPropagationAllowed: boolean;
|
|
1138
|
+
trigger: Element | undefined;
|
|
1139
|
+
} & Record<string, never>) => any;
|
|
1140
|
+
}, string, {
|
|
1141
|
+
defaultChecked: boolean;
|
|
1142
|
+
disabled: boolean;
|
|
1143
|
+
readOnly: boolean;
|
|
1144
|
+
required: boolean;
|
|
1145
|
+
indeterminate: boolean;
|
|
1146
|
+
parent: boolean;
|
|
1147
|
+
nativeButton: boolean;
|
|
1148
|
+
as: string | vue.Component;
|
|
1149
|
+
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
1150
|
+
$slots: {
|
|
1151
|
+
default?: (props: {
|
|
1152
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1153
|
+
props: Record<string, any>;
|
|
1154
|
+
state: CheckboxRootState;
|
|
1155
|
+
}) => any;
|
|
1156
|
+
} & {
|
|
1157
|
+
default?: (props: {
|
|
1158
|
+
state: CheckboxRootState;
|
|
1159
|
+
}) => any;
|
|
1160
|
+
};
|
|
1161
|
+
});
|
|
1162
|
+
readonly Indicator: {
|
|
1163
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
|
|
1164
|
+
as: string | vue.Component;
|
|
1165
|
+
keepMounted: boolean;
|
|
1166
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1167
|
+
P: {};
|
|
1168
|
+
B: {};
|
|
1169
|
+
D: {};
|
|
1170
|
+
C: {};
|
|
1171
|
+
M: {};
|
|
1172
|
+
Defaults: {};
|
|
1173
|
+
}, Readonly<CheckboxIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
1174
|
+
as: string | vue.Component;
|
|
1175
|
+
keepMounted: boolean;
|
|
1176
|
+
}>;
|
|
1177
|
+
__isFragment?: never;
|
|
1178
|
+
__isTeleport?: never;
|
|
1179
|
+
__isSuspense?: never;
|
|
1180
|
+
} & vue.ComponentOptionsBase<Readonly<CheckboxIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
|
|
1181
|
+
as: string | vue.Component;
|
|
1182
|
+
keepMounted: boolean;
|
|
1183
|
+
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new () => {
|
|
1184
|
+
$slots: {
|
|
1185
|
+
default?: (props: {
|
|
1186
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1187
|
+
props: Record<string, any>;
|
|
1188
|
+
state: CheckboxIndicatorState;
|
|
1189
|
+
}) => any;
|
|
1190
|
+
} & {
|
|
1191
|
+
default?: (props: {
|
|
1192
|
+
state: CheckboxIndicatorState;
|
|
1193
|
+
}) => any;
|
|
1194
|
+
};
|
|
1195
|
+
});
|
|
1196
|
+
};
|
|
1197
|
+
//#endregion
|
|
1198
|
+
//#region src/checkbox-group/CheckboxGroup.vue.d.ts
|
|
1199
|
+
interface CheckboxGroupState extends FieldRootState {
|
|
1200
|
+
/**
|
|
1201
|
+
* Whether the component should ignore user interaction.
|
|
1202
|
+
*/
|
|
1203
|
+
disabled: boolean;
|
|
1204
|
+
}
|
|
1205
|
+
interface CheckboxGroupProps extends BaseUIComponentProps<CheckboxGroupState> {
|
|
1206
|
+
/**
|
|
1207
|
+
* Names of the checkboxes in the group that should be ticked.
|
|
1208
|
+
*
|
|
1209
|
+
* To render an uncontrolled checkbox group, use the `defaultValue` prop instead.
|
|
1210
|
+
*/
|
|
1211
|
+
value?: string[];
|
|
1212
|
+
/**
|
|
1213
|
+
* Names of the checkboxes in the group that should be initially ticked.
|
|
1214
|
+
*
|
|
1215
|
+
* To render a controlled checkbox group, use the `value` prop instead.
|
|
1216
|
+
*/
|
|
1217
|
+
defaultValue?: string[];
|
|
1218
|
+
/**
|
|
1219
|
+
* Names of all checkboxes in the group. Use this when creating a parent checkbox.
|
|
1220
|
+
*/
|
|
1221
|
+
allValues?: string[];
|
|
1222
|
+
/**
|
|
1223
|
+
* Whether the component should ignore user interaction.
|
|
1101
1224
|
* @default false
|
|
1102
1225
|
*/
|
|
1103
1226
|
disabled?: boolean;
|
|
1227
|
+
id?: string;
|
|
1104
1228
|
}
|
|
1105
|
-
declare var
|
|
1229
|
+
declare var __VLS_1$23: {
|
|
1230
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1106
1231
|
props: Record<string, any>;
|
|
1107
|
-
state:
|
|
1108
|
-
},
|
|
1109
|
-
state:
|
|
1232
|
+
state: CheckboxGroupState;
|
|
1233
|
+
}, __VLS_10$19: {
|
|
1234
|
+
state: CheckboxGroupState;
|
|
1110
1235
|
};
|
|
1111
|
-
type __VLS_Slots$
|
|
1112
|
-
default?: (props: typeof
|
|
1236
|
+
type __VLS_Slots$29 = {} & {
|
|
1237
|
+
default?: (props: typeof __VLS_1$23) => any;
|
|
1113
1238
|
} & {
|
|
1114
|
-
default?: (props: typeof
|
|
1239
|
+
default?: (props: typeof __VLS_10$19) => any;
|
|
1115
1240
|
};
|
|
1116
|
-
declare const __VLS_base$
|
|
1241
|
+
declare const __VLS_base$29: vue.DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1242
|
+
valueChange: (value: string[], eventDetails: {
|
|
1243
|
+
reason: "none";
|
|
1244
|
+
event: Event;
|
|
1245
|
+
cancel: () => void;
|
|
1246
|
+
allowPropagation: () => void;
|
|
1247
|
+
isCanceled: boolean;
|
|
1248
|
+
isPropagationAllowed: boolean;
|
|
1249
|
+
trigger: Element | undefined;
|
|
1250
|
+
} & Record<string, never>) => any;
|
|
1251
|
+
}, string, vue.PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
|
|
1252
|
+
onValueChange?: ((value: string[], eventDetails: {
|
|
1253
|
+
reason: "none";
|
|
1254
|
+
event: Event;
|
|
1255
|
+
cancel: () => void;
|
|
1256
|
+
allowPropagation: () => void;
|
|
1257
|
+
isCanceled: boolean;
|
|
1258
|
+
isPropagationAllowed: boolean;
|
|
1259
|
+
trigger: Element | undefined;
|
|
1260
|
+
} & Record<string, never>) => any) | undefined;
|
|
1261
|
+
}>, {
|
|
1117
1262
|
disabled: boolean;
|
|
1118
1263
|
as: string | vue.Component;
|
|
1264
|
+
defaultValue: string[];
|
|
1119
1265
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1120
|
-
declare const __VLS_export$
|
|
1121
|
-
declare const _default$
|
|
1122
|
-
type __VLS_WithSlots$
|
|
1266
|
+
declare const __VLS_export$32: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
1267
|
+
declare const _default$10: typeof __VLS_export$32;
|
|
1268
|
+
type __VLS_WithSlots$29<T, S> = T & {
|
|
1123
1269
|
new (): {
|
|
1124
1270
|
$slots: S;
|
|
1125
1271
|
};
|
|
1126
|
-
}; //# sourceMappingURL=
|
|
1272
|
+
}; //# sourceMappingURL=CheckboxGroup.vue.d.ts.map
|
|
1127
1273
|
//#endregion
|
|
1128
|
-
//#region src/field/
|
|
1129
|
-
interface
|
|
1130
|
-
|
|
1274
|
+
//#region src/field/root/useFieldValidation.d.ts
|
|
1275
|
+
interface FieldValidationProps {
|
|
1276
|
+
'aria-describedby'?: string;
|
|
1277
|
+
'aria-invalid'?: true;
|
|
1131
1278
|
}
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1279
|
+
interface FieldInputValidationProps extends FieldValidationProps {
|
|
1280
|
+
onInput?: (event: Event) => void;
|
|
1281
|
+
}
|
|
1282
|
+
interface UseFieldValidationReturnValue {
|
|
1283
|
+
getValidationProps: () => FieldValidationProps;
|
|
1284
|
+
getInputValidationProps: () => FieldInputValidationProps;
|
|
1285
|
+
inputRef: Readonly<Ref<HTMLInputElement | null>>;
|
|
1286
|
+
setInputRef: (element: HTMLInputElement | null) => void;
|
|
1287
|
+
commit: (value: unknown, revalidate?: boolean) => Promise<void>;
|
|
1288
|
+
}
|
|
1289
|
+
//#endregion
|
|
1290
|
+
//#region src/checkbox-group/useCheckboxGroupParent.d.ts
|
|
1291
|
+
interface UseCheckboxGroupParentParameters {
|
|
1292
|
+
allValues: Readonly<Ref<string[] | undefined>>;
|
|
1293
|
+
value: Readonly<Ref<string[]>>;
|
|
1294
|
+
onValueChange: (value: string[], eventDetails: BaseUIChangeEventDetails<typeof REASONS.none>) => void;
|
|
1295
|
+
}
|
|
1296
|
+
interface UseCheckboxGroupParentReturnValue {
|
|
1297
|
+
id: string | undefined;
|
|
1298
|
+
indeterminate: Readonly<Ref<boolean>>;
|
|
1299
|
+
disabledStatesRef: Ref<Map<string, boolean>>;
|
|
1300
|
+
registeredControlIdsRef: Ref<Map<string, string>>;
|
|
1301
|
+
getParentProps: () => {
|
|
1302
|
+
'id': string | undefined;
|
|
1303
|
+
'indeterminate': boolean;
|
|
1304
|
+
'checked': boolean;
|
|
1305
|
+
'aria-controls': string;
|
|
1306
|
+
'onCheckedChange': (checked: boolean, eventDetails: BaseUIChangeEventDetails<typeof REASONS.none>) => void;
|
|
1307
|
+
};
|
|
1308
|
+
getChildProps: (value: string) => {
|
|
1309
|
+
checked: boolean;
|
|
1310
|
+
onCheckedChange: (checked: boolean, eventDetails: BaseUIChangeEventDetails<typeof REASONS.none>) => void;
|
|
1311
|
+
};
|
|
1312
|
+
registerChildControlId: (value: string, id: string | undefined) => void;
|
|
1313
|
+
}
|
|
1314
|
+
//#endregion
|
|
1315
|
+
//#region src/checkbox-group/CheckboxGroupContext.d.ts
|
|
1316
|
+
interface CheckboxGroupContext {
|
|
1317
|
+
value: Readonly<Ref<string[]>>;
|
|
1318
|
+
defaultValue: Readonly<Ref<string[]>>;
|
|
1319
|
+
allValues: Readonly<Ref<string[] | undefined>>;
|
|
1320
|
+
disabled: Readonly<Ref<boolean>>;
|
|
1321
|
+
validation: UseFieldValidationReturnValue;
|
|
1322
|
+
parent: UseCheckboxGroupParentReturnValue;
|
|
1323
|
+
setValue: (value: string[], eventDetails: BaseUIChangeEventDetails<typeof REASONS.none>) => void;
|
|
1324
|
+
registerControlRef: (element: HTMLElement | null) => void;
|
|
1325
|
+
}
|
|
1326
|
+
declare const checkboxGroupContextKey: InjectionKey<CheckboxGroupContext>;
|
|
1327
|
+
declare function useCheckboxGroupContext(optional: true): CheckboxGroupContext | undefined;
|
|
1328
|
+
declare function useCheckboxGroupContext(optional?: false): CheckboxGroupContext;
|
|
1329
|
+
//#endregion
|
|
1330
|
+
//#region src/checkbox-group/CheckboxGroupDataAttributes.d.ts
|
|
1331
|
+
declare enum CheckboxGroupDataAttributes {
|
|
1332
|
+
/**
|
|
1333
|
+
* Present when the checkbox group is disabled.
|
|
1334
|
+
*/
|
|
1335
|
+
disabled = "data-disabled"
|
|
1336
|
+
}
|
|
1337
|
+
//#endregion
|
|
1338
|
+
//#region src/collapsible/collapsible.types.d.ts
|
|
1339
|
+
interface CollapsibleRootState {
|
|
1340
|
+
open: boolean;
|
|
1341
|
+
disabled: boolean;
|
|
1342
|
+
transitionStatus: TransitionStatus;
|
|
1343
|
+
}
|
|
1344
|
+
type CollapsibleChangeEventReason = typeof REASONS.triggerPress | typeof REASONS.none;
|
|
1345
|
+
type CollapsibleChangeEventDetails = BaseUIChangeEventDetails<CollapsibleChangeEventReason>;
|
|
1346
|
+
interface CollapsibleRootProps extends BaseUIComponentProps<CollapsibleRootState> {
|
|
1347
|
+
/**
|
|
1348
|
+
* Whether the collapsible panel is currently open (controlled).
|
|
1349
|
+
*/
|
|
1350
|
+
open?: boolean;
|
|
1351
|
+
/**
|
|
1352
|
+
* Whether the collapsible panel is initially open (uncontrolled).
|
|
1353
|
+
* @default false
|
|
1354
|
+
*/
|
|
1355
|
+
defaultOpen?: boolean;
|
|
1356
|
+
/**
|
|
1357
|
+
* Whether the component should ignore user interaction.
|
|
1358
|
+
* @default false
|
|
1359
|
+
*/
|
|
1360
|
+
disabled?: boolean;
|
|
1361
|
+
}
|
|
1362
|
+
interface CollapsibleTriggerProps extends NativeButtonProps, BaseUIComponentProps<CollapsibleRootState> {
|
|
1363
|
+
/**
|
|
1364
|
+
* Whether the trigger should ignore user interaction.
|
|
1365
|
+
* When undefined, inherits from CollapsibleRoot.
|
|
1366
|
+
*/
|
|
1367
|
+
disabled?: boolean;
|
|
1368
|
+
}
|
|
1369
|
+
interface CollapsiblePanelState extends CollapsibleRootState {
|
|
1370
|
+
transitionStatus: TransitionStatus;
|
|
1371
|
+
}
|
|
1372
|
+
interface CollapsiblePanelProps extends BaseUIComponentProps<CollapsiblePanelState> {
|
|
1373
|
+
/**
|
|
1374
|
+
* The `id` attribute of the panel element.
|
|
1375
|
+
* When set, overrides the auto-generated panel id.
|
|
1376
|
+
*/
|
|
1377
|
+
id?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Whether to keep the element in the DOM while the panel is hidden.
|
|
1380
|
+
* @default false
|
|
1381
|
+
*/
|
|
1382
|
+
keepMounted?: boolean;
|
|
1383
|
+
/**
|
|
1384
|
+
* Allows the browser's built-in page search to find and expand the panel contents.
|
|
1385
|
+
* Overrides the `keepMounted` prop and uses `hidden="until-found"`.
|
|
1386
|
+
* @default false
|
|
1387
|
+
*/
|
|
1388
|
+
hiddenUntilFound?: boolean;
|
|
1389
|
+
}
|
|
1390
|
+
//#endregion
|
|
1391
|
+
//#region src/collapsible/panel/CollapsiblePanel.vue.d.ts
|
|
1392
|
+
declare var __VLS_1$22: {
|
|
1393
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1394
|
+
props: Record<string, any>;
|
|
1395
|
+
state: CollapsiblePanelState;
|
|
1396
|
+
}, __VLS_10$18: {
|
|
1397
|
+
state: CollapsiblePanelState;
|
|
1398
|
+
};
|
|
1399
|
+
type __VLS_Slots$28 = {} & {
|
|
1400
|
+
default?: (props: typeof __VLS_1$22) => any;
|
|
1401
|
+
} & {
|
|
1402
|
+
default?: (props: typeof __VLS_10$18) => any;
|
|
1403
|
+
};
|
|
1404
|
+
declare const __VLS_base$28: vue.DefineComponent<CollapsiblePanelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CollapsiblePanelProps> & Readonly<{}>, {
|
|
1405
|
+
as: string | vue.Component;
|
|
1406
|
+
keepMounted: boolean;
|
|
1407
|
+
hiddenUntilFound: boolean;
|
|
1408
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1409
|
+
declare const __VLS_export$31: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
1410
|
+
declare const _default$13: typeof __VLS_export$31;
|
|
1411
|
+
type __VLS_WithSlots$28<T, S> = T & {
|
|
1412
|
+
new (): {
|
|
1413
|
+
$slots: S;
|
|
1414
|
+
};
|
|
1415
|
+
}; //# sourceMappingURL=CollapsiblePanel.vue.d.ts.map
|
|
1416
|
+
//#endregion
|
|
1417
|
+
//#region src/collapsible/root/CollapsibleRoot.vue.d.ts
|
|
1418
|
+
declare var __VLS_1$21: {
|
|
1419
|
+
props: Record<string, any>;
|
|
1420
|
+
state: CollapsibleRootState;
|
|
1421
|
+
}, __VLS_10$17: {
|
|
1422
|
+
state: CollapsibleRootState;
|
|
1423
|
+
};
|
|
1424
|
+
type __VLS_Slots$27 = {} & {
|
|
1425
|
+
default?: (props: typeof __VLS_1$21) => any;
|
|
1426
|
+
} & {
|
|
1427
|
+
default?: (props: typeof __VLS_10$17) => any;
|
|
1428
|
+
};
|
|
1429
|
+
declare const __VLS_base$27: vue.DefineComponent<CollapsibleRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
1430
|
+
openChange: (open: boolean, details: CollapsibleChangeEventDetails) => any;
|
|
1431
|
+
}, string, vue.PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
1432
|
+
onOpenChange?: ((open: boolean, details: CollapsibleChangeEventDetails) => any) | undefined;
|
|
1433
|
+
}>, {
|
|
1434
|
+
disabled: boolean;
|
|
1435
|
+
as: string | vue.Component;
|
|
1436
|
+
defaultOpen: boolean;
|
|
1437
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1438
|
+
declare const __VLS_export$30: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
1439
|
+
declare const _default$14: typeof __VLS_export$30;
|
|
1440
|
+
type __VLS_WithSlots$27<T, S> = T & {
|
|
1441
|
+
new (): {
|
|
1442
|
+
$slots: S;
|
|
1443
|
+
};
|
|
1444
|
+
}; //# sourceMappingURL=CollapsibleRoot.vue.d.ts.map
|
|
1445
|
+
//#endregion
|
|
1446
|
+
//#region src/collapsible/root/useCollapsibleRoot.d.ts
|
|
1447
|
+
type AnimationType = 'css-transition' | 'css-animation' | 'none' | null;
|
|
1448
|
+
interface Dimensions {
|
|
1449
|
+
height: number | undefined;
|
|
1450
|
+
width: number | undefined;
|
|
1451
|
+
}
|
|
1452
|
+
interface UseCollapsibleRootReturnValue {
|
|
1453
|
+
abortControllerRef: Ref<AbortController | null>;
|
|
1454
|
+
animationTypeRef: Ref<AnimationType>;
|
|
1455
|
+
disabled: Ref<boolean>;
|
|
1456
|
+
handleTrigger: (event: MouseEvent | KeyboardEvent) => void;
|
|
1457
|
+
/**
|
|
1458
|
+
* The height of the panel.
|
|
1459
|
+
*/
|
|
1460
|
+
height: Ref<number | undefined>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Whether the collapsible panel is currently mounted.
|
|
1463
|
+
*/
|
|
1464
|
+
mounted: Ref<boolean>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Whether the collapsible panel is currently open.
|
|
1467
|
+
*/
|
|
1468
|
+
open: Ref<boolean>;
|
|
1469
|
+
panelId: Ref<string | undefined>;
|
|
1470
|
+
panelRef: Ref<HTMLElement | null>;
|
|
1471
|
+
runOnceAnimationsFinish: (fn: () => void, signal?: AbortSignal | null) => void;
|
|
1472
|
+
setDimensions: (dims: Dimensions) => void;
|
|
1473
|
+
setHiddenUntilFound: (next: boolean) => void;
|
|
1474
|
+
setKeepMounted: (next: boolean) => void;
|
|
1475
|
+
setMounted: (next: boolean) => void;
|
|
1476
|
+
setOpen: (next: boolean) => void;
|
|
1477
|
+
setPanelIdState: (id: string | undefined) => void;
|
|
1478
|
+
setVisible: (next: boolean) => void;
|
|
1479
|
+
transitionDimensionRef: Ref<'width' | 'height' | null>;
|
|
1480
|
+
transitionStatus: Ref<TransitionStatus>;
|
|
1481
|
+
/**
|
|
1482
|
+
* The visible state of the panel used to determine the `[hidden]` attribute
|
|
1483
|
+
* only when CSS keyframe animations are used.
|
|
1484
|
+
*/
|
|
1485
|
+
visible: Ref<boolean>;
|
|
1486
|
+
/**
|
|
1487
|
+
* The width of the panel.
|
|
1488
|
+
*/
|
|
1489
|
+
width: Ref<number | undefined>;
|
|
1490
|
+
keepMounted: Ref<boolean>;
|
|
1491
|
+
hiddenUntilFound: Ref<boolean>;
|
|
1492
|
+
state: Ref<CollapsibleRootState>;
|
|
1493
|
+
onOpenChange: (open: boolean, details: CollapsibleChangeEventDetails) => void;
|
|
1494
|
+
}
|
|
1495
|
+
//#endregion
|
|
1496
|
+
//#region src/collapsible/root/CollapsibleRootContext.d.ts
|
|
1497
|
+
interface CollapsibleRootContext extends UseCollapsibleRootReturnValue {}
|
|
1498
|
+
declare const collapsibleRootContextKey: InjectionKey<CollapsibleRootContext>;
|
|
1499
|
+
declare function useCollapsibleRootContext(): CollapsibleRootContext;
|
|
1500
|
+
//#endregion
|
|
1501
|
+
//#region src/collapsible/trigger/CollapsibleTrigger.vue.d.ts
|
|
1502
|
+
declare var __VLS_1$20: {
|
|
1503
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1504
|
+
props: Record<string, any>;
|
|
1505
|
+
state: vue.Ref<CollapsibleRootState, CollapsibleRootState>;
|
|
1506
|
+
}, __VLS_10$16: {
|
|
1507
|
+
state: vue.Ref<CollapsibleRootState, CollapsibleRootState>;
|
|
1508
|
+
};
|
|
1509
|
+
type __VLS_Slots$26 = {} & {
|
|
1510
|
+
default?: (props: typeof __VLS_1$20) => any;
|
|
1511
|
+
} & {
|
|
1512
|
+
default?: (props: typeof __VLS_10$16) => any;
|
|
1513
|
+
};
|
|
1514
|
+
declare const __VLS_base$26: vue.DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {
|
|
1515
|
+
nativeButton: boolean;
|
|
1516
|
+
as: string | vue.Component;
|
|
1517
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1518
|
+
declare const __VLS_export$29: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
1519
|
+
declare const _default$15: typeof __VLS_export$29;
|
|
1520
|
+
type __VLS_WithSlots$26<T, S> = T & {
|
|
1521
|
+
new (): {
|
|
1522
|
+
$slots: S;
|
|
1523
|
+
};
|
|
1524
|
+
}; //# sourceMappingURL=CollapsibleTrigger.vue.d.ts.map
|
|
1525
|
+
//#endregion
|
|
1526
|
+
//#region src/csp-provider/CSPContext.d.ts
|
|
1527
|
+
interface CSPContextValue {
|
|
1528
|
+
nonce: Readonly<Ref<string | undefined>>;
|
|
1529
|
+
disableStyleElements: Readonly<Ref<boolean>>;
|
|
1530
|
+
}
|
|
1531
|
+
/**
|
|
1532
|
+
* @internal
|
|
1533
|
+
*/
|
|
1534
|
+
declare function useCSPContext(): CSPContextValue;
|
|
1535
|
+
//#endregion
|
|
1536
|
+
//#region src/csp-provider/CSPProvider.vue.d.ts
|
|
1537
|
+
interface CSPProviderProps {
|
|
1538
|
+
/**
|
|
1539
|
+
* The nonce value to apply to inline `<style>` and `<script>` tags.
|
|
1540
|
+
*/
|
|
1541
|
+
nonce?: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* Whether inline `<style>` elements created by Base UI components should not be rendered.
|
|
1544
|
+
* @default false
|
|
1545
|
+
*/
|
|
1546
|
+
disableStyleElements?: boolean;
|
|
1547
|
+
}
|
|
1548
|
+
declare var __VLS_1$19: {};
|
|
1549
|
+
type __VLS_Slots$25 = {} & {
|
|
1550
|
+
default?: (props: typeof __VLS_1$19) => any;
|
|
1551
|
+
};
|
|
1552
|
+
declare const __VLS_base$25: vue.DefineComponent<CSPProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CSPProviderProps> & Readonly<{}>, {
|
|
1553
|
+
disableStyleElements: boolean;
|
|
1554
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1555
|
+
declare const __VLS_export$28: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
1556
|
+
declare const _default$9: typeof __VLS_export$28;
|
|
1557
|
+
type __VLS_WithSlots$25<T, S> = T & {
|
|
1558
|
+
new (): {
|
|
1559
|
+
$slots: S;
|
|
1560
|
+
};
|
|
1561
|
+
}; //# sourceMappingURL=CSPProvider.vue.d.ts.map
|
|
1562
|
+
//#endregion
|
|
1563
|
+
//#region src/direction-provider/DirectionProvider.vue.d.ts
|
|
1564
|
+
declare var __VLS_1$18: {};
|
|
1565
|
+
type __VLS_Slots$24 = {} & {
|
|
1566
|
+
default?: (props: typeof __VLS_1$18) => any;
|
|
1567
|
+
};
|
|
1568
|
+
declare const __VLS_base$24: vue.DefineComponent<DirectionProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<DirectionProviderProps> & Readonly<{}>, {
|
|
1569
|
+
direction: TextDirection;
|
|
1570
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1571
|
+
declare const __VLS_export$27: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
1572
|
+
declare const _default$16: typeof __VLS_export$27;
|
|
1573
|
+
type __VLS_WithSlots$24<T, S> = T & {
|
|
1574
|
+
new (): {
|
|
1575
|
+
$slots: S;
|
|
1576
|
+
};
|
|
1577
|
+
}; //# sourceMappingURL=DirectionProvider.vue.d.ts.map
|
|
1578
|
+
//#endregion
|
|
1579
|
+
//#region src/field/control/FieldControl.vue.d.ts
|
|
1580
|
+
type FieldControlState = FieldRootState;
|
|
1581
|
+
interface FieldControlProps extends BaseUIComponentProps<FieldControlState> {
|
|
1582
|
+
id?: string;
|
|
1583
|
+
name?: string;
|
|
1584
|
+
disabled?: boolean;
|
|
1585
|
+
value?: string;
|
|
1586
|
+
defaultValue?: string;
|
|
1587
|
+
autofocus?: boolean;
|
|
1588
|
+
type?: string;
|
|
1589
|
+
required?: boolean;
|
|
1590
|
+
pattern?: string;
|
|
1591
|
+
minlength?: number;
|
|
1592
|
+
maxlength?: number;
|
|
1593
|
+
min?: string | number;
|
|
1594
|
+
max?: string | number;
|
|
1595
|
+
step?: string | number;
|
|
1596
|
+
placeholder?: string;
|
|
1597
|
+
}
|
|
1598
|
+
declare var __VLS_1$17: {
|
|
1599
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1600
|
+
props: Record<string, any>;
|
|
1601
|
+
state: FieldRootState;
|
|
1602
|
+
};
|
|
1603
|
+
type __VLS_Slots$23 = {} & {
|
|
1604
|
+
default?: (props: typeof __VLS_1$17) => any;
|
|
1605
|
+
};
|
|
1606
|
+
declare const __VLS_base$23: vue.DefineComponent<FieldControlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1607
|
+
valueChange: (value: string, event: Event) => any;
|
|
1608
|
+
}, string, vue.PublicProps, Readonly<FieldControlProps> & Readonly<{
|
|
1609
|
+
onValueChange?: ((value: string, event: Event) => any) | undefined;
|
|
1610
|
+
}>, {
|
|
1611
|
+
disabled: boolean;
|
|
1612
|
+
as: string | vue.Component;
|
|
1613
|
+
autofocus: boolean;
|
|
1614
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1615
|
+
declare const __VLS_export$26: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
1616
|
+
declare const _default$17: typeof __VLS_export$26;
|
|
1617
|
+
type __VLS_WithSlots$23<T, S> = T & {
|
|
1618
|
+
new (): {
|
|
1619
|
+
$slots: S;
|
|
1620
|
+
};
|
|
1621
|
+
}; //# sourceMappingURL=FieldControl.vue.d.ts.map
|
|
1622
|
+
//#endregion
|
|
1623
|
+
//#region src/field/control/FieldControlDataAttributes.d.ts
|
|
1624
|
+
declare enum FieldControlDataAttributes {
|
|
1625
|
+
/**
|
|
1626
|
+
* Present when the field is disabled.
|
|
1627
|
+
*/
|
|
1628
|
+
disabled = "data-disabled",
|
|
1629
|
+
/**
|
|
1630
|
+
* Present when the field is in valid state.
|
|
1631
|
+
*/
|
|
1632
|
+
valid = "data-valid",
|
|
1633
|
+
/**
|
|
1634
|
+
* Present when the field is in invalid state.
|
|
1635
|
+
*/
|
|
1636
|
+
invalid = "data-invalid",
|
|
1637
|
+
/**
|
|
1638
|
+
* Present when the field has been touched.
|
|
1639
|
+
*/
|
|
1640
|
+
touched = "data-touched",
|
|
1641
|
+
/**
|
|
1642
|
+
* Present when the field's value has changed.
|
|
1643
|
+
*/
|
|
1644
|
+
dirty = "data-dirty",
|
|
1645
|
+
/**
|
|
1646
|
+
* Present when the field is filled.
|
|
1647
|
+
*/
|
|
1648
|
+
filled = "data-filled",
|
|
1649
|
+
/**
|
|
1650
|
+
* Present when the field control is focused.
|
|
1651
|
+
*/
|
|
1652
|
+
focused = "data-focused"
|
|
1653
|
+
}
|
|
1654
|
+
//#endregion
|
|
1655
|
+
//#region src/field/description/FieldDescription.vue.d.ts
|
|
1656
|
+
type FieldDescriptionState = FieldRootState;
|
|
1657
|
+
interface FieldDescriptionProps extends BaseUIComponentProps<FieldDescriptionState> {
|
|
1658
|
+
/**
|
|
1659
|
+
* The `id` attribute of the description element.
|
|
1660
|
+
*/
|
|
1661
|
+
id?: string;
|
|
1662
|
+
}
|
|
1663
|
+
declare var __VLS_1$16: {
|
|
1664
|
+
props: Record<string, any>;
|
|
1665
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1666
|
+
}, __VLS_10$15: {
|
|
1667
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1668
|
+
};
|
|
1669
|
+
type __VLS_Slots$22 = {} & {
|
|
1670
|
+
default?: (props: typeof __VLS_1$16) => any;
|
|
1671
|
+
} & {
|
|
1672
|
+
default?: (props: typeof __VLS_10$15) => any;
|
|
1673
|
+
};
|
|
1674
|
+
declare const __VLS_base$22: vue.DefineComponent<FieldDescriptionProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldDescriptionProps> & Readonly<{}>, {
|
|
1675
|
+
as: string | vue.Component;
|
|
1676
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1677
|
+
declare const __VLS_export$25: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
1678
|
+
declare const _default$18: typeof __VLS_export$25;
|
|
1679
|
+
type __VLS_WithSlots$22<T, S> = T & {
|
|
1680
|
+
new (): {
|
|
1681
|
+
$slots: S;
|
|
1682
|
+
};
|
|
1683
|
+
}; //# sourceMappingURL=FieldDescription.vue.d.ts.map
|
|
1684
|
+
//#endregion
|
|
1685
|
+
//#region src/field/error/FieldError.vue.d.ts
|
|
1686
|
+
interface FieldErrorState extends FieldRootState {
|
|
1687
|
+
transitionStatus: TransitionStatus;
|
|
1688
|
+
}
|
|
1689
|
+
interface FieldErrorProps extends BaseUIComponentProps<FieldErrorState> {
|
|
1690
|
+
/**
|
|
1691
|
+
* The `id` attribute of the error element.
|
|
1692
|
+
*/
|
|
1693
|
+
id?: string;
|
|
1694
|
+
/**
|
|
1695
|
+
* Determines whether to show the error message.
|
|
1696
|
+
* Can be `true` (always show), a `ValidityState` key, or unset
|
|
1697
|
+
* (show when field is invalid).
|
|
1698
|
+
*/
|
|
1699
|
+
match?: boolean | keyof ValidityState;
|
|
1700
|
+
}
|
|
1701
|
+
declare var __VLS_1$15: {
|
|
1702
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1703
|
+
props: Record<string, any>;
|
|
1704
|
+
state: FieldErrorState;
|
|
1705
|
+
message: string | string[];
|
|
1706
|
+
}, __VLS_10$14: {};
|
|
1707
|
+
type __VLS_Slots$21 = {} & {
|
|
1708
|
+
default?: (props: typeof __VLS_1$15) => any;
|
|
1709
|
+
} & {
|
|
1710
|
+
default?: (props: typeof __VLS_10$14) => any;
|
|
1711
|
+
};
|
|
1712
|
+
declare const __VLS_base$21: vue.DefineComponent<FieldErrorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldErrorProps> & Readonly<{}>, {
|
|
1713
|
+
as: string | vue.Component;
|
|
1714
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1715
|
+
declare const __VLS_export$24: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
1716
|
+
declare const _default$19: typeof __VLS_export$24;
|
|
1717
|
+
type __VLS_WithSlots$21<T, S> = T & {
|
|
1718
|
+
new (): {
|
|
1719
|
+
$slots: S;
|
|
1720
|
+
};
|
|
1721
|
+
}; //# sourceMappingURL=FieldError.vue.d.ts.map
|
|
1722
|
+
//#endregion
|
|
1723
|
+
//#region src/field/item/FieldItem.vue.d.ts
|
|
1724
|
+
type FieldItemState = FieldRootState;
|
|
1725
|
+
interface FieldItemProps extends BaseUIComponentProps<FieldItemState> {
|
|
1726
|
+
/**
|
|
1727
|
+
* Whether the wrapped control should ignore user interaction.
|
|
1728
|
+
* The `disabled` prop on `<FieldRoot>` takes precedence over this.
|
|
1729
|
+
* @default false
|
|
1730
|
+
*/
|
|
1731
|
+
disabled?: boolean;
|
|
1732
|
+
}
|
|
1733
|
+
declare var __VLS_8$4: {
|
|
1734
|
+
props: Record<string, any>;
|
|
1735
|
+
state: FieldRootState;
|
|
1736
|
+
}, __VLS_16$1: {
|
|
1737
|
+
state: FieldRootState;
|
|
1738
|
+
};
|
|
1739
|
+
type __VLS_Slots$20 = {} & {
|
|
1740
|
+
default?: (props: typeof __VLS_8$4) => any;
|
|
1741
|
+
} & {
|
|
1742
|
+
default?: (props: typeof __VLS_16$1) => any;
|
|
1743
|
+
};
|
|
1744
|
+
declare const __VLS_base$20: vue.DefineComponent<FieldItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldItemProps> & Readonly<{}>, {
|
|
1745
|
+
disabled: boolean;
|
|
1746
|
+
as: string | vue.Component;
|
|
1747
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1748
|
+
declare const __VLS_export$23: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
1749
|
+
declare const _default$20: typeof __VLS_export$23;
|
|
1750
|
+
type __VLS_WithSlots$20<T, S> = T & {
|
|
1751
|
+
new (): {
|
|
1752
|
+
$slots: S;
|
|
1753
|
+
};
|
|
1754
|
+
}; //# sourceMappingURL=FieldItem.vue.d.ts.map
|
|
1755
|
+
//#endregion
|
|
1756
|
+
//#region src/field/item/FieldItemContext.d.ts
|
|
1757
|
+
interface FieldItemContext {
|
|
1758
|
+
disabled: Ref<boolean>;
|
|
1759
|
+
}
|
|
1760
|
+
declare const fieldItemContextKey: InjectionKey<FieldItemContext>;
|
|
1761
|
+
declare function useFieldItemContext(): FieldItemContext;
|
|
1762
|
+
//#endregion
|
|
1135
1763
|
//#region src/field/label/FieldLabel.vue.d.ts
|
|
1136
1764
|
type FieldLabelState = FieldRootState;
|
|
1137
1765
|
interface FieldLabelProps extends BaseUIComponentProps<FieldLabelState> {
|
|
1138
1766
|
/**
|
|
1139
|
-
* The `id` attribute of the label element.
|
|
1767
|
+
* The `id` attribute of the label element.
|
|
1768
|
+
*/
|
|
1769
|
+
id?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* Whether the component renders a native `<label>` element.
|
|
1772
|
+
* @default true
|
|
1773
|
+
*/
|
|
1774
|
+
nativeLabel?: boolean;
|
|
1775
|
+
}
|
|
1776
|
+
declare var __VLS_1$14: {
|
|
1777
|
+
props: Record<string, any>;
|
|
1778
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1779
|
+
}, __VLS_10$13: {
|
|
1780
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1781
|
+
};
|
|
1782
|
+
type __VLS_Slots$19 = {} & {
|
|
1783
|
+
default?: (props: typeof __VLS_1$14) => any;
|
|
1784
|
+
} & {
|
|
1785
|
+
default?: (props: typeof __VLS_10$13) => any;
|
|
1786
|
+
};
|
|
1787
|
+
declare const __VLS_base$19: vue.DefineComponent<FieldLabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldLabelProps> & Readonly<{}>, {
|
|
1788
|
+
as: string | vue.Component;
|
|
1789
|
+
nativeLabel: boolean;
|
|
1790
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1791
|
+
declare const __VLS_export$22: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
1792
|
+
declare const _default$21: typeof __VLS_export$22;
|
|
1793
|
+
type __VLS_WithSlots$19<T, S> = T & {
|
|
1794
|
+
new (): {
|
|
1795
|
+
$slots: S;
|
|
1796
|
+
};
|
|
1797
|
+
}; //# sourceMappingURL=FieldLabel.vue.d.ts.map
|
|
1798
|
+
//#endregion
|
|
1799
|
+
//#region src/field/root/FieldRootContext.d.ts
|
|
1800
|
+
interface FieldRootContext {
|
|
1801
|
+
invalid: Readonly<Ref<boolean | undefined>>;
|
|
1802
|
+
name: Readonly<Ref<string | undefined>>;
|
|
1803
|
+
validityData: Readonly<Ref<FieldValidityData>>;
|
|
1804
|
+
setValidityData: (data: FieldValidityData) => void;
|
|
1805
|
+
disabled: Readonly<Ref<boolean>>;
|
|
1806
|
+
touched: Readonly<Ref<boolean>>;
|
|
1807
|
+
setTouched: (value: boolean) => void;
|
|
1808
|
+
dirty: Readonly<Ref<boolean>>;
|
|
1809
|
+
setDirty: (value: boolean) => void;
|
|
1810
|
+
filled: Readonly<Ref<boolean>>;
|
|
1811
|
+
setFilled: (value: boolean) => void;
|
|
1812
|
+
focused: Readonly<Ref<boolean>>;
|
|
1813
|
+
setFocused: (value: boolean) => void;
|
|
1814
|
+
validate: (value: unknown, formValues: Record<string, unknown>) => string | string[] | null | Promise<string | string[] | null>;
|
|
1815
|
+
validationMode: Readonly<Ref<FormValidationMode>>;
|
|
1816
|
+
validationDebounceTime: Readonly<Ref<number>>;
|
|
1817
|
+
shouldValidateOnChange: () => boolean;
|
|
1818
|
+
state: Readonly<Ref<FieldRootState>>;
|
|
1819
|
+
markedDirtyRef: Ref<boolean>;
|
|
1820
|
+
validation: UseFieldValidationReturnValue;
|
|
1821
|
+
}
|
|
1822
|
+
declare const fieldRootContextKey: InjectionKey<FieldRootContext>;
|
|
1823
|
+
declare function useFieldRootContext(optional?: true): FieldRootContext;
|
|
1824
|
+
declare function useFieldRootContext(optional: false): FieldRootContext;
|
|
1825
|
+
//#endregion
|
|
1826
|
+
//#region src/field/validity/FieldValidity.vue.d.ts
|
|
1827
|
+
interface FieldValidityState extends Omit<FieldValidityData, 'state'> {
|
|
1828
|
+
validity: FieldValidityData['state'];
|
|
1829
|
+
transitionStatus: TransitionStatus;
|
|
1830
|
+
}
|
|
1831
|
+
declare var __VLS_1$13: {
|
|
1832
|
+
validity: FieldValidityData["state"];
|
|
1833
|
+
transitionStatus: TransitionStatus;
|
|
1834
|
+
value: unknown;
|
|
1835
|
+
error: string;
|
|
1836
|
+
errors: string[];
|
|
1837
|
+
initialValue: unknown;
|
|
1838
|
+
};
|
|
1839
|
+
type __VLS_Slots$18 = {} & {
|
|
1840
|
+
default?: (props: typeof __VLS_1$13) => any;
|
|
1841
|
+
};
|
|
1842
|
+
declare const __VLS_base$18: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1843
|
+
declare const __VLS_export$21: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
1844
|
+
declare const _default$23: typeof __VLS_export$21;
|
|
1845
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
1846
|
+
new (): {
|
|
1847
|
+
$slots: S;
|
|
1848
|
+
};
|
|
1849
|
+
}; //# sourceMappingURL=FieldValidity.vue.d.ts.map
|
|
1850
|
+
//#endregion
|
|
1851
|
+
//#region src/fieldset/legend/FieldsetLegend.vue.d.ts
|
|
1852
|
+
interface FieldsetLegendState {
|
|
1853
|
+
/**
|
|
1854
|
+
* Whether the component should ignore user interaction.
|
|
1855
|
+
*/
|
|
1856
|
+
disabled: boolean;
|
|
1857
|
+
}
|
|
1858
|
+
interface FieldsetLegendProps extends BaseUIComponentProps<FieldsetLegendState> {
|
|
1859
|
+
/**
|
|
1860
|
+
* The `id` attribute of the legend element.
|
|
1861
|
+
* When set, overrides the auto-generated id.
|
|
1862
|
+
*/
|
|
1863
|
+
id?: string;
|
|
1864
|
+
}
|
|
1865
|
+
declare var __VLS_1$12: {
|
|
1866
|
+
props: Record<string, any>;
|
|
1867
|
+
state: FieldsetLegendState;
|
|
1868
|
+
}, __VLS_10$12: {
|
|
1869
|
+
state: FieldsetLegendState;
|
|
1870
|
+
};
|
|
1871
|
+
type __VLS_Slots$17 = {} & {
|
|
1872
|
+
default?: (props: typeof __VLS_1$12) => any;
|
|
1873
|
+
} & {
|
|
1874
|
+
default?: (props: typeof __VLS_10$12) => any;
|
|
1875
|
+
};
|
|
1876
|
+
declare const __VLS_base$17: vue.DefineComponent<FieldsetLegendProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldsetLegendProps> & Readonly<{}>, {
|
|
1877
|
+
as: string | vue.Component;
|
|
1878
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1879
|
+
declare const __VLS_export$20: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
1880
|
+
declare const _default$24: typeof __VLS_export$20;
|
|
1881
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
1882
|
+
new (): {
|
|
1883
|
+
$slots: S;
|
|
1884
|
+
};
|
|
1885
|
+
}; //# sourceMappingURL=FieldsetLegend.vue.d.ts.map
|
|
1886
|
+
//#endregion
|
|
1887
|
+
//#region src/fieldset/root/FieldsetRoot.vue.d.ts
|
|
1888
|
+
interface FieldsetRootState {
|
|
1889
|
+
/**
|
|
1890
|
+
* Whether the component should ignore user interaction.
|
|
1891
|
+
*/
|
|
1892
|
+
disabled: boolean;
|
|
1893
|
+
}
|
|
1894
|
+
interface FieldsetRootProps extends BaseUIComponentProps<FieldsetRootState> {
|
|
1895
|
+
/**
|
|
1896
|
+
* Whether the component should ignore user interaction.
|
|
1897
|
+
* @default false
|
|
1898
|
+
*/
|
|
1899
|
+
disabled?: boolean;
|
|
1900
|
+
}
|
|
1901
|
+
declare var __VLS_1$11: {
|
|
1902
|
+
props: Record<string, any>;
|
|
1903
|
+
state: FieldsetRootState;
|
|
1904
|
+
}, __VLS_10$11: {
|
|
1905
|
+
state: FieldsetRootState;
|
|
1906
|
+
};
|
|
1907
|
+
type __VLS_Slots$16 = {} & {
|
|
1908
|
+
default?: (props: typeof __VLS_1$11) => any;
|
|
1909
|
+
} & {
|
|
1910
|
+
default?: (props: typeof __VLS_10$11) => any;
|
|
1911
|
+
};
|
|
1912
|
+
declare const __VLS_base$16: vue.DefineComponent<FieldsetRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FieldsetRootProps> & Readonly<{}>, {
|
|
1913
|
+
disabled: boolean;
|
|
1914
|
+
as: string | vue.Component;
|
|
1915
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1916
|
+
declare const __VLS_export$19: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
1917
|
+
declare const _default$25: typeof __VLS_export$19;
|
|
1918
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
1919
|
+
new (): {
|
|
1920
|
+
$slots: S;
|
|
1921
|
+
};
|
|
1922
|
+
}; //# sourceMappingURL=FieldsetRoot.vue.d.ts.map
|
|
1923
|
+
//#endregion
|
|
1924
|
+
//#region src/fieldset/root/FieldsetRootContext.d.ts
|
|
1925
|
+
interface FieldsetRootContext {
|
|
1926
|
+
legendId: Ref<string | undefined>;
|
|
1927
|
+
setLegendId: (id: string | undefined) => void;
|
|
1928
|
+
disabled: Ref<boolean>;
|
|
1929
|
+
}
|
|
1930
|
+
declare const fieldsetRootContextKey: InjectionKey<FieldsetRootContext>;
|
|
1931
|
+
declare function useFieldsetRootContext(optional: true): FieldsetRootContext | undefined;
|
|
1932
|
+
declare function useFieldsetRootContext(optional?: false): FieldsetRootContext;
|
|
1933
|
+
//#endregion
|
|
1934
|
+
//#region src/form/Form.vue.d.ts
|
|
1935
|
+
interface FormActions {
|
|
1936
|
+
validate: (fieldName?: string) => void;
|
|
1937
|
+
}
|
|
1938
|
+
interface FormState {}
|
|
1939
|
+
interface FormProps extends BaseUIComponentProps<FormState> {
|
|
1940
|
+
/**
|
|
1941
|
+
* Determines when the form should be validated.
|
|
1942
|
+
*
|
|
1943
|
+
* - `onSubmit` (default): validates on submit, re-validates on change after submission.
|
|
1944
|
+
* - `onBlur`: validates when a control loses focus.
|
|
1945
|
+
* - `onChange`: validates on every change.
|
|
1946
|
+
*
|
|
1947
|
+
* @default 'onSubmit'
|
|
1948
|
+
*/
|
|
1949
|
+
validationMode?: FormValidationMode;
|
|
1950
|
+
/**
|
|
1951
|
+
* Validation errors returned externally (e.g. from a server).
|
|
1952
|
+
* Keys correspond to the `name` attribute on `<FieldRoot>`.
|
|
1953
|
+
*/
|
|
1954
|
+
errors?: FormErrors;
|
|
1955
|
+
/**
|
|
1956
|
+
* Whether native form validation is disabled.
|
|
1957
|
+
* @default true
|
|
1958
|
+
*/
|
|
1959
|
+
noValidate?: boolean;
|
|
1960
|
+
}
|
|
1961
|
+
declare var __VLS_1$10: {
|
|
1962
|
+
props: Record<string, any>;
|
|
1963
|
+
state: FormState;
|
|
1964
|
+
actions: {
|
|
1965
|
+
validate: (fieldName?: string) => void;
|
|
1966
|
+
};
|
|
1967
|
+
}, __VLS_10$10: {
|
|
1968
|
+
state: FormState;
|
|
1969
|
+
actions: {
|
|
1970
|
+
validate: (fieldName?: string) => void;
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
type __VLS_Slots$15 = {} & {
|
|
1974
|
+
default?: (props: typeof __VLS_1$10) => any;
|
|
1975
|
+
} & {
|
|
1976
|
+
default?: (props: typeof __VLS_10$10) => any;
|
|
1977
|
+
};
|
|
1978
|
+
declare const __VLS_base$15: vue.DefineComponent<FormProps, {
|
|
1979
|
+
actions: {
|
|
1980
|
+
validate: (fieldName?: string) => void;
|
|
1981
|
+
};
|
|
1982
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1983
|
+
formSubmit: (formValues: Record<string, unknown>, event: Event) => any;
|
|
1984
|
+
}, string, vue.PublicProps, Readonly<FormProps> & Readonly<{
|
|
1985
|
+
onFormSubmit?: ((formValues: Record<string, unknown>, event: Event) => any) | undefined;
|
|
1986
|
+
}>, {
|
|
1987
|
+
as: string | vue.Component;
|
|
1988
|
+
validationMode: FormValidationMode;
|
|
1989
|
+
noValidate: boolean;
|
|
1990
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1991
|
+
declare const __VLS_export$18: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
1992
|
+
declare const _default$26: typeof __VLS_export$18;
|
|
1993
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
1994
|
+
new (): {
|
|
1995
|
+
$slots: S;
|
|
1996
|
+
};
|
|
1997
|
+
}; //# sourceMappingURL=Form.vue.d.ts.map
|
|
1998
|
+
//#endregion
|
|
1999
|
+
//#region src/merge-props/mergeProps.d.ts
|
|
2000
|
+
declare function makeEventPreventable<T extends Event>(event: T): BaseUIEvent<T>;
|
|
2001
|
+
declare function mergeClasses(ourClass: string | undefined, theirClass: string | undefined): string | undefined;
|
|
2002
|
+
declare function mergeObjects<A extends object | undefined, B extends object | undefined>(a: A, b: B): NonNullable<A> | NonNullable<B> | (A & B) | undefined;
|
|
2003
|
+
/**
|
|
2004
|
+
* Merges Vue prop/attr objects using Base UI Vue semantics.
|
|
2005
|
+
*
|
|
2006
|
+
* Later props overwrite earlier ones, except for:
|
|
2007
|
+
* - Event listeners: merged so the rightmost listener runs first and can prevent earlier listeners.
|
|
2008
|
+
* - `class`: merged in rightmost-first order.
|
|
2009
|
+
* - `style`: merged using Vue's native style merging.
|
|
2010
|
+
*/
|
|
2011
|
+
declare function mergeProps(...args: (Record<string, any> | undefined)[]): Record<string, any>;
|
|
2012
|
+
/**
|
|
2013
|
+
* Merges an array of Vue prop/attr objects using the same semantics as {@link mergeProps}.
|
|
2014
|
+
*
|
|
2015
|
+
* Useful when prop layers are assembled dynamically before being bound with `v-bind`.
|
|
2016
|
+
*/
|
|
2017
|
+
declare function mergePropsN(props: readonly (Record<string, any> | undefined)[]): Record<string, any>;
|
|
2018
|
+
//#endregion
|
|
2019
|
+
//#region src/separator/Separator.vue.d.ts
|
|
2020
|
+
interface SeparatorState {
|
|
2021
|
+
/**
|
|
2022
|
+
* The orientation of the separator.
|
|
2023
|
+
*/
|
|
2024
|
+
orientation: Orientation;
|
|
2025
|
+
}
|
|
2026
|
+
interface SeparatorProps extends BaseUIComponentProps<SeparatorState> {
|
|
2027
|
+
/**
|
|
2028
|
+
* The orientation of the separator.
|
|
2029
|
+
* @default 'horizontal'
|
|
2030
|
+
*/
|
|
2031
|
+
orientation?: Orientation;
|
|
2032
|
+
}
|
|
2033
|
+
declare var __VLS_1$9: {
|
|
2034
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2035
|
+
props: Record<string, any>;
|
|
2036
|
+
state: SeparatorState;
|
|
2037
|
+
}, __VLS_10$9: {
|
|
2038
|
+
state: SeparatorState;
|
|
2039
|
+
};
|
|
2040
|
+
type __VLS_Slots$14 = {} & {
|
|
2041
|
+
default?: (props: typeof __VLS_1$9) => any;
|
|
2042
|
+
} & {
|
|
2043
|
+
default?: (props: typeof __VLS_10$9) => any;
|
|
2044
|
+
};
|
|
2045
|
+
declare const __VLS_base$14: vue.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
2046
|
+
as: string | vue.Component;
|
|
2047
|
+
orientation: Orientation;
|
|
2048
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2049
|
+
declare const __VLS_export$17: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
2050
|
+
declare const _default$27: typeof __VLS_export$17;
|
|
2051
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
2052
|
+
new (): {
|
|
2053
|
+
$slots: S;
|
|
2054
|
+
};
|
|
2055
|
+
}; //# sourceMappingURL=Separator.vue.d.ts.map
|
|
2056
|
+
//#endregion
|
|
2057
|
+
//#region src/separator/SeparatorDataAttributes.d.ts
|
|
2058
|
+
declare enum SeparatorDataAttributes {
|
|
2059
|
+
/**
|
|
2060
|
+
* Indicates the orientation of the separator.
|
|
2061
|
+
* @type {'horizontal' | 'vertical'}
|
|
2062
|
+
*/
|
|
2063
|
+
orientation = "data-orientation"
|
|
2064
|
+
}
|
|
2065
|
+
//#endregion
|
|
2066
|
+
//#region src/slider/root/SliderRoot.vue.d.ts
|
|
2067
|
+
type SliderRootChangeEventReason = typeof REASONS.inputChange | typeof REASONS.trackPress | typeof REASONS.drag | typeof REASONS.keyboard | typeof REASONS.none;
|
|
2068
|
+
type SliderRootCommitEventReason = SliderRootChangeEventReason;
|
|
2069
|
+
type SliderRootChangeEventDetails = BaseUIChangeEventDetails<SliderRootChangeEventReason, {
|
|
2070
|
+
/**
|
|
2071
|
+
* The index of the active thumb at the time of the change.
|
|
2072
|
+
*/
|
|
2073
|
+
activeThumbIndex: number;
|
|
2074
|
+
}>;
|
|
2075
|
+
type SliderRootCommitEventDetails = BaseUIGenericEventDetails<SliderRootCommitEventReason>;
|
|
2076
|
+
interface SliderRootState extends FieldRootState {
|
|
2077
|
+
/**
|
|
2078
|
+
* The index of the active thumb.
|
|
2079
|
+
*/
|
|
2080
|
+
activeThumbIndex: number;
|
|
2081
|
+
/**
|
|
2082
|
+
* Whether the component should ignore user interaction.
|
|
2083
|
+
*/
|
|
2084
|
+
disabled: boolean;
|
|
2085
|
+
/**
|
|
2086
|
+
* Whether the thumb is currently being dragged.
|
|
2087
|
+
*/
|
|
2088
|
+
dragging: boolean;
|
|
2089
|
+
/**
|
|
2090
|
+
* The maximum value.
|
|
2091
|
+
*/
|
|
2092
|
+
max: number;
|
|
2093
|
+
/**
|
|
2094
|
+
* The minimum value.
|
|
2095
|
+
*/
|
|
2096
|
+
min: number;
|
|
2097
|
+
/**
|
|
2098
|
+
* The minimum steps between values in a range slider.
|
|
2099
|
+
* @default 0
|
|
2100
|
+
*/
|
|
2101
|
+
minStepsBetweenValues: number;
|
|
2102
|
+
/**
|
|
2103
|
+
* The component orientation.
|
|
2104
|
+
*/
|
|
2105
|
+
orientation: Orientation;
|
|
2106
|
+
/**
|
|
2107
|
+
* The step increment of the slider when incrementing or decrementing. It will snap
|
|
2108
|
+
* to multiples of this value. Decimal values are supported.
|
|
2109
|
+
* @default 1
|
|
2110
|
+
*/
|
|
2111
|
+
step: number;
|
|
2112
|
+
/**
|
|
2113
|
+
* The raw number value of the slider.
|
|
2114
|
+
*/
|
|
2115
|
+
values: readonly number[];
|
|
2116
|
+
}
|
|
2117
|
+
interface SliderRootProps<Value extends number | readonly number[] = number | readonly number[]> extends BaseUIComponentProps<SliderRootState> {
|
|
2118
|
+
/**
|
|
2119
|
+
* The uncontrolled value of the slider when it's initially rendered.
|
|
2120
|
+
*
|
|
2121
|
+
* To render a controlled slider, use the `value` prop instead.
|
|
2122
|
+
*/
|
|
2123
|
+
defaultValue?: Value;
|
|
2124
|
+
/**
|
|
2125
|
+
* Whether the slider should ignore user interaction.
|
|
2126
|
+
* @default false
|
|
2127
|
+
*/
|
|
2128
|
+
disabled?: boolean;
|
|
2129
|
+
/**
|
|
2130
|
+
* Options to format the input value.
|
|
2131
|
+
*/
|
|
2132
|
+
format?: Intl.NumberFormatOptions;
|
|
2133
|
+
/**
|
|
2134
|
+
* The locale used by `Intl.NumberFormat` when formatting the value.
|
|
2135
|
+
* Defaults to the user's runtime locale.
|
|
2136
|
+
*/
|
|
2137
|
+
locale?: Intl.LocalesArgument;
|
|
2138
|
+
/**
|
|
2139
|
+
* The maximum allowed value of the slider.
|
|
2140
|
+
* Should not be equal to min.
|
|
2141
|
+
* @default 100
|
|
2142
|
+
*/
|
|
2143
|
+
max?: number;
|
|
2144
|
+
/**
|
|
2145
|
+
* The minimum allowed value of the slider.
|
|
2146
|
+
* Should not be equal to min.
|
|
2147
|
+
* @default 0
|
|
2148
|
+
*/
|
|
2149
|
+
min?: number;
|
|
2150
|
+
/**
|
|
2151
|
+
* The minimum steps between values in a range slider.
|
|
2152
|
+
* @default 0
|
|
2153
|
+
*/
|
|
2154
|
+
minStepsBetweenValues?: number;
|
|
2155
|
+
/**
|
|
2156
|
+
* Identifies the field when a form is submitted.
|
|
2157
|
+
*/
|
|
2158
|
+
name?: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* Identifies the form that owns the slider inputs.
|
|
2161
|
+
* Useful when the slider is rendered outside the form.
|
|
2162
|
+
*/
|
|
2163
|
+
form?: string;
|
|
2164
|
+
/**
|
|
2165
|
+
* The component orientation.
|
|
2166
|
+
* @default 'horizontal'
|
|
2167
|
+
*/
|
|
2168
|
+
orientation?: Orientation;
|
|
2169
|
+
/**
|
|
2170
|
+
* The granularity with which the slider can step through values. (A "discrete" slider.)
|
|
2171
|
+
* The `min` prop serves as the origin for the valid values.
|
|
2172
|
+
* We recommend (max - min) to be evenly divisible by the step.
|
|
2173
|
+
* @default 1
|
|
2174
|
+
*/
|
|
2175
|
+
step?: number;
|
|
2176
|
+
/**
|
|
2177
|
+
* The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down.
|
|
2178
|
+
* @default 10
|
|
2179
|
+
*/
|
|
2180
|
+
largeStep?: number;
|
|
2181
|
+
/**
|
|
2182
|
+
* How the thumb(s) are aligned relative to `Slider.Control` when the value is at `min` or `max`:
|
|
2183
|
+
* - `center`: The center of the thumb is aligned with the control edge
|
|
2184
|
+
* - `edge`: The thumb is inset within the control such that its edge is aligned with the control edge
|
|
2185
|
+
* - `edge-client-only`: Same as `edge` but renders after React hydration on the client, reducing bundle size in return
|
|
2186
|
+
* @default 'center'
|
|
2187
|
+
*/
|
|
2188
|
+
thumbAlignment?: 'center' | 'edge' | 'edge-client-only';
|
|
2189
|
+
/**
|
|
2190
|
+
* Controls how thumbs behave when they collide during pointer interactions.
|
|
2191
|
+
*
|
|
2192
|
+
* - `'push'` (default): Thumbs push each other without restoring their previous positions when dragged back.
|
|
2193
|
+
* - `'swap'`: Thumbs swap places when dragged past each other.
|
|
2194
|
+
* - `'none'`: Thumbs cannot move past each other; excess movement is ignored.
|
|
2195
|
+
*
|
|
2196
|
+
* @default 'push'
|
|
2197
|
+
*/
|
|
2198
|
+
thumbCollisionBehavior?: 'push' | 'swap' | 'none';
|
|
2199
|
+
/**
|
|
2200
|
+
* The value of the slider.
|
|
2201
|
+
* For ranged sliders, provide an array with two values.
|
|
2202
|
+
*/
|
|
2203
|
+
value?: Value;
|
|
2204
|
+
id?: string;
|
|
2205
|
+
ariaLabelledby?: string;
|
|
2206
|
+
}
|
|
2207
|
+
type IntlNumberFormatOptionsRef = Readonly<{
|
|
2208
|
+
value: Intl.NumberFormatOptions | undefined;
|
|
2209
|
+
}>;
|
|
2210
|
+
type __VLS_Props = SliderRootProps;
|
|
2211
|
+
declare var __VLS_8$3: {
|
|
2212
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2213
|
+
props: Record<string, any>;
|
|
2214
|
+
state: SliderRootState;
|
|
2215
|
+
}, __VLS_16: {};
|
|
2216
|
+
type __VLS_Slots$13 = {} & {
|
|
2217
|
+
default?: (props: typeof __VLS_8$3) => any;
|
|
2218
|
+
} & {
|
|
2219
|
+
default?: (props: typeof __VLS_16) => any;
|
|
2220
|
+
};
|
|
2221
|
+
declare const __VLS_base$13: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2222
|
+
valueChange: (value: number | readonly number[], details: SliderRootChangeEventDetails) => any;
|
|
2223
|
+
valueCommitted: (value: number | readonly number[], details: SliderRootCommitEventDetails) => any;
|
|
2224
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
2225
|
+
onValueChange?: ((value: number | readonly number[], details: SliderRootChangeEventDetails) => any) | undefined;
|
|
2226
|
+
onValueCommitted?: ((value: number | readonly number[], details: SliderRootCommitEventDetails) => any) | undefined;
|
|
2227
|
+
}>, {
|
|
2228
|
+
disabled: boolean;
|
|
2229
|
+
as: string | vue.Component;
|
|
2230
|
+
orientation: Orientation;
|
|
2231
|
+
min: number;
|
|
2232
|
+
max: number;
|
|
2233
|
+
step: number;
|
|
2234
|
+
minStepsBetweenValues: number;
|
|
2235
|
+
largeStep: number;
|
|
2236
|
+
thumbAlignment: "center" | "edge" | "edge-client-only";
|
|
2237
|
+
thumbCollisionBehavior: "push" | "swap" | "none";
|
|
2238
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2239
|
+
declare const __VLS_export$16: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
2240
|
+
declare const _default$31: typeof __VLS_export$16;
|
|
2241
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
2242
|
+
new (): {
|
|
2243
|
+
$slots: S;
|
|
2244
|
+
};
|
|
2245
|
+
}; //# sourceMappingURL=SliderRoot.vue.d.ts.map
|
|
2246
|
+
//#endregion
|
|
2247
|
+
//#region src/slider/control/SliderControl.vue.d.ts
|
|
2248
|
+
interface SliderControlState extends SliderRootState {}
|
|
2249
|
+
interface SliderControlProps extends BaseUIComponentProps<SliderControlState> {}
|
|
2250
|
+
declare var __VLS_1$8: {
|
|
2251
|
+
ref: ((el: Element | ComponentPublicInstance | null) => void) | undefined;
|
|
2252
|
+
props: Record<string, any>;
|
|
2253
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2254
|
+
}, __VLS_10$8: {};
|
|
2255
|
+
type __VLS_Slots$12 = {} & {
|
|
2256
|
+
default?: (props: typeof __VLS_1$8) => any;
|
|
2257
|
+
} & {
|
|
2258
|
+
default?: (props: typeof __VLS_10$8) => any;
|
|
2259
|
+
};
|
|
2260
|
+
declare const __VLS_base$12: vue.DefineComponent<SliderControlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderControlProps> & Readonly<{}>, {
|
|
2261
|
+
as: string | vue.Component;
|
|
2262
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2263
|
+
declare const __VLS_export$15: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
2264
|
+
declare const _default$28: typeof __VLS_export$15;
|
|
2265
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
2266
|
+
new (): {
|
|
2267
|
+
$slots: S;
|
|
2268
|
+
};
|
|
2269
|
+
}; //# sourceMappingURL=SliderControl.vue.d.ts.map
|
|
2270
|
+
//#endregion
|
|
2271
|
+
//#region src/slider/control/SliderControlDataAttributes.d.ts
|
|
2272
|
+
declare enum SliderControlDataAttributes {
|
|
2273
|
+
/**
|
|
2274
|
+
* Present while the user is dragging.
|
|
2275
|
+
*/
|
|
2276
|
+
dragging = "data-dragging",
|
|
2277
|
+
/**
|
|
2278
|
+
* Indicates the orientation of the slider.
|
|
2279
|
+
* @type {'horizontal' | 'vertical'}
|
|
2280
|
+
*/
|
|
2281
|
+
orientation = "data-orientation",
|
|
2282
|
+
/**
|
|
2283
|
+
* Present when the slider is disabled.
|
|
2284
|
+
*/
|
|
2285
|
+
disabled = "data-disabled",
|
|
2286
|
+
/**
|
|
2287
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2288
|
+
*/
|
|
2289
|
+
valid = "data-valid",
|
|
2290
|
+
/**
|
|
2291
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2292
|
+
*/
|
|
2293
|
+
invalid = "data-invalid",
|
|
2294
|
+
/**
|
|
2295
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2296
|
+
*/
|
|
2297
|
+
touched = "data-touched",
|
|
2298
|
+
/**
|
|
2299
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2300
|
+
*/
|
|
2301
|
+
dirty = "data-dirty",
|
|
2302
|
+
/**
|
|
2303
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2304
|
+
*/
|
|
2305
|
+
focused = "data-focused"
|
|
2306
|
+
}
|
|
2307
|
+
//#endregion
|
|
2308
|
+
//#region src/slider/indicator/SliderIndicator.vue.d.ts
|
|
2309
|
+
interface SliderIndicatorState extends SliderRootState {}
|
|
2310
|
+
interface SliderIndicatorProps extends BaseUIComponentProps<SliderIndicatorState> {}
|
|
2311
|
+
declare var __VLS_1$7: {
|
|
2312
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2313
|
+
props: Record<string, any>;
|
|
2314
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2315
|
+
}, __VLS_10$7: {};
|
|
2316
|
+
type __VLS_Slots$11 = {} & {
|
|
2317
|
+
default?: (props: typeof __VLS_1$7) => any;
|
|
2318
|
+
} & {
|
|
2319
|
+
default?: (props: typeof __VLS_10$7) => any;
|
|
2320
|
+
};
|
|
2321
|
+
declare const __VLS_base$11: vue.DefineComponent<SliderIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderIndicatorProps> & Readonly<{}>, {
|
|
2322
|
+
as: string | vue.Component;
|
|
2323
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2324
|
+
declare const __VLS_export$14: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
2325
|
+
declare const _default$29: typeof __VLS_export$14;
|
|
2326
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
2327
|
+
new (): {
|
|
2328
|
+
$slots: S;
|
|
2329
|
+
};
|
|
2330
|
+
}; //# sourceMappingURL=SliderIndicator.vue.d.ts.map
|
|
2331
|
+
//#endregion
|
|
2332
|
+
//#region src/slider/indicator/SliderIndicatorDataAttributes.d.ts
|
|
2333
|
+
declare enum SliderIndicatorDataAttributes {
|
|
2334
|
+
/**
|
|
2335
|
+
* Present while the user is dragging.
|
|
2336
|
+
*/
|
|
2337
|
+
dragging = "data-dragging",
|
|
2338
|
+
/**
|
|
2339
|
+
* Indicates the orientation of the slider.
|
|
2340
|
+
* @type {'horizontal' | 'vertical'}
|
|
2341
|
+
*/
|
|
2342
|
+
orientation = "data-orientation",
|
|
2343
|
+
/**
|
|
2344
|
+
* Present when the slider is disabled.
|
|
2345
|
+
*/
|
|
2346
|
+
disabled = "data-disabled",
|
|
2347
|
+
/**
|
|
2348
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2349
|
+
*/
|
|
2350
|
+
valid = "data-valid",
|
|
2351
|
+
/**
|
|
2352
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2353
|
+
*/
|
|
2354
|
+
invalid = "data-invalid",
|
|
2355
|
+
/**
|
|
2356
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2357
|
+
*/
|
|
2358
|
+
touched = "data-touched",
|
|
2359
|
+
/**
|
|
2360
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2361
|
+
*/
|
|
2362
|
+
dirty = "data-dirty",
|
|
2363
|
+
/**
|
|
2364
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2365
|
+
*/
|
|
2366
|
+
focused = "data-focused"
|
|
2367
|
+
}
|
|
2368
|
+
//#endregion
|
|
2369
|
+
//#region src/slider/label/SliderLabel.vue.d.ts
|
|
2370
|
+
type SliderLabelState = SliderRootState;
|
|
2371
|
+
interface SliderLabelProps extends BaseUIComponentProps<SliderLabelState> {}
|
|
2372
|
+
declare var __VLS_1$6: {
|
|
2373
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2374
|
+
props: Record<string, any>;
|
|
2375
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2376
|
+
}, __VLS_10$6: {};
|
|
2377
|
+
type __VLS_Slots$10 = {} & {
|
|
2378
|
+
default?: (props: typeof __VLS_1$6) => any;
|
|
2379
|
+
} & {
|
|
2380
|
+
default?: (props: typeof __VLS_10$6) => any;
|
|
2381
|
+
};
|
|
2382
|
+
declare const __VLS_base$10: vue.DefineComponent<SliderLabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderLabelProps> & Readonly<{}>, {
|
|
2383
|
+
as: string | vue.Component;
|
|
2384
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2385
|
+
declare const __VLS_export$13: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
2386
|
+
declare const _default$30: typeof __VLS_export$13;
|
|
2387
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
2388
|
+
new (): {
|
|
2389
|
+
$slots: S;
|
|
2390
|
+
};
|
|
2391
|
+
}; //# sourceMappingURL=SliderLabel.vue.d.ts.map
|
|
2392
|
+
//#endregion
|
|
2393
|
+
//#region src/composite/list/CompositeList.vue.d.ts
|
|
2394
|
+
type CompositeMetadata<CustomMetadata> = {
|
|
2395
|
+
index?: number | null | undefined;
|
|
2396
|
+
} & CustomMetadata;
|
|
2397
|
+
//#endregion
|
|
2398
|
+
//#region src/labelable-provider/LabelableContext.d.ts
|
|
2399
|
+
interface LabelableContext {
|
|
2400
|
+
/**
|
|
2401
|
+
* The `id` of the labelable element.
|
|
2402
|
+
* When `null` the association is implicit.
|
|
2403
|
+
*/
|
|
2404
|
+
controlId: Readonly<Ref<string | null | undefined>>;
|
|
2405
|
+
registerControlId: (source: symbol, id: string | null | undefined) => void;
|
|
2406
|
+
labelId: Readonly<Ref<string | undefined>>;
|
|
2407
|
+
setLabelId: (id: string | undefined) => void;
|
|
2408
|
+
messageIds: Readonly<Ref<string[]>>;
|
|
2409
|
+
setMessageIds: (updater: (ids: string[]) => string[]) => void;
|
|
2410
|
+
getDescriptionProps: () => Record<string, string | undefined>;
|
|
2411
|
+
}
|
|
2412
|
+
//#endregion
|
|
2413
|
+
//#region src/slider/thumb/SliderThumb.vue.d.ts
|
|
2414
|
+
interface ThumbMetadata {
|
|
2415
|
+
inputId: LabelableContext['controlId'];
|
|
2416
|
+
}
|
|
2417
|
+
interface SliderThumbState extends SliderRootState {}
|
|
2418
|
+
interface SliderThumbProps extends Omit<BaseUIComponentProps<SliderThumbState>, 'style'> {
|
|
2419
|
+
/**
|
|
2420
|
+
* Whether the thumb should ignore user interaction.
|
|
2421
|
+
* @default false
|
|
2422
|
+
*/
|
|
2423
|
+
disabled?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* A function which returns a string value for the [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label) attribute of the `input`.
|
|
2426
|
+
*/
|
|
2427
|
+
getAriaLabel?: ((index: number) => string) | null;
|
|
2428
|
+
/**
|
|
2429
|
+
* A function which returns a string value for the [`aria-valuetext`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuetext) attribute of the `input`.
|
|
2430
|
+
* This is important for screen reader users.
|
|
2431
|
+
*/
|
|
2432
|
+
getAriaValueText?: ((formattedValue: string, value: number, index: number) => string) | null;
|
|
2433
|
+
/**
|
|
2434
|
+
* The index of the thumb which corresponds to the index of its value in the
|
|
2435
|
+
* `modelValue` or `defaultValue` array.
|
|
2436
|
+
* This prop is required to support server-side rendering for range sliders
|
|
2437
|
+
* with multiple thumbs.
|
|
2438
|
+
* @example
|
|
2439
|
+
* ```vue
|
|
2440
|
+
* <SliderRoot :default-value="[10, 20]">
|
|
2441
|
+
* <SliderThumb :index="0" />
|
|
2442
|
+
* <SliderThumb :index="1" />
|
|
2443
|
+
* </SliderRoot>
|
|
2444
|
+
* ```
|
|
2445
|
+
*/
|
|
2446
|
+
index?: number;
|
|
2447
|
+
/**
|
|
2448
|
+
* A ref to access the nested input element.
|
|
2449
|
+
*/
|
|
2450
|
+
inputRef?: ((el: HTMLInputElement | null) => void) | Ref<HTMLInputElement | null> | null;
|
|
2451
|
+
/**
|
|
2452
|
+
* Optional tab index attribute forwarded to the `input`.
|
|
2453
|
+
*/
|
|
2454
|
+
tabIndex?: number;
|
|
2455
|
+
id?: string;
|
|
2456
|
+
ariaLabel?: string;
|
|
2457
|
+
ariaLabelledby?: string;
|
|
2458
|
+
ariaDescribedby?: string;
|
|
2459
|
+
style?: CSSProperties | ((state: SliderThumbState) => CSSProperties);
|
|
2460
|
+
}
|
|
2461
|
+
declare var __VLS_1$5: {
|
|
2462
|
+
ref: ((el: Element | ComponentPublicInstance | null) => void) | undefined;
|
|
2463
|
+
props: Record<string, any>;
|
|
2464
|
+
state: Ref<SliderRootState, SliderRootState>;
|
|
2465
|
+
}, __VLS_10$5: {};
|
|
2466
|
+
type __VLS_Slots$9 = {} & {
|
|
2467
|
+
default?: (props: typeof __VLS_1$5) => any;
|
|
2468
|
+
} & {
|
|
2469
|
+
default?: (props: typeof __VLS_10$5) => any;
|
|
2470
|
+
};
|
|
2471
|
+
declare const __VLS_base$9: vue.DefineComponent<SliderThumbProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderThumbProps> & Readonly<{}>, {
|
|
2472
|
+
disabled: boolean;
|
|
2473
|
+
as: string | vue.Component;
|
|
2474
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2475
|
+
declare const __VLS_export$12: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
2476
|
+
declare const _default$32: typeof __VLS_export$12;
|
|
2477
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
2478
|
+
new (): {
|
|
2479
|
+
$slots: S;
|
|
2480
|
+
};
|
|
2481
|
+
}; //# sourceMappingURL=SliderThumb.vue.d.ts.map
|
|
2482
|
+
//#endregion
|
|
2483
|
+
//#region src/slider/root/SliderRootContext.d.ts
|
|
2484
|
+
interface SliderRootContext {
|
|
2485
|
+
/**
|
|
2486
|
+
* The index of the active thumb.
|
|
2487
|
+
*/
|
|
2488
|
+
active: Ref<number>;
|
|
2489
|
+
/**
|
|
2490
|
+
* The index of the most recently interacted thumb.
|
|
2491
|
+
*/
|
|
2492
|
+
lastUsedThumbIndex: Ref<number>;
|
|
2493
|
+
controlRef: Ref<HTMLElement | null>;
|
|
2494
|
+
dragging: Ref<boolean>;
|
|
2495
|
+
disabled: Ref<boolean>;
|
|
2496
|
+
validation: UseFieldValidationReturnValue;
|
|
2497
|
+
formatOptionsRef: IntlNumberFormatOptionsRef;
|
|
2498
|
+
handleInputChange: (valueInput: number, index: number, event: KeyboardEvent | Event) => void;
|
|
2499
|
+
indicatorPosition: Ref<(number | undefined)[]>;
|
|
2500
|
+
inset: Ref<boolean>;
|
|
2501
|
+
labelId: Ref<string | undefined>;
|
|
2502
|
+
rootLabelId: Ref<string | undefined>;
|
|
2503
|
+
/**
|
|
2504
|
+
* The large step value of the slider when incrementing or decrementing while the shift key is held,
|
|
2505
|
+
* or when using Page-Up or Page-Down keys. Snaps to multiples of this value.
|
|
2506
|
+
* @default 10
|
|
2507
|
+
*/
|
|
2508
|
+
largeStep: Ref<number>;
|
|
2509
|
+
lastChangedValueRef: Ref<number | readonly number[] | null>;
|
|
2510
|
+
lastChangeReasonRef: Ref<SliderRootChangeReason>;
|
|
2511
|
+
/**
|
|
2512
|
+
* The locale used by `Intl.NumberFormat` when formatting the value.
|
|
2513
|
+
* Defaults to the user's runtime locale.
|
|
2514
|
+
*/
|
|
2515
|
+
locale: Ref<Intl.LocalesArgument | undefined>;
|
|
2516
|
+
/**
|
|
2517
|
+
* The maximum allowed value of the slider.
|
|
2518
|
+
*/
|
|
2519
|
+
max: Ref<number>;
|
|
2520
|
+
/**
|
|
2521
|
+
* The minimum allowed value of the slider.
|
|
2522
|
+
*/
|
|
2523
|
+
min: Ref<number>;
|
|
2524
|
+
/**
|
|
2525
|
+
* The minimum steps between values in a range slider.
|
|
2526
|
+
*/
|
|
2527
|
+
minStepsBetweenValues: Ref<number>;
|
|
2528
|
+
form: Ref<string | undefined>;
|
|
2529
|
+
name: Ref<string | undefined>;
|
|
2530
|
+
/**
|
|
2531
|
+
* Function to be called when drag ends and the pointer is released.
|
|
2532
|
+
*/
|
|
2533
|
+
onValueCommitted: (value: number | readonly number[], details: BaseUIGenericEventDetails<SliderRootChangeReason>) => void;
|
|
2534
|
+
/**
|
|
2535
|
+
* The component orientation.
|
|
2536
|
+
* @default 'horizontal'
|
|
2537
|
+
*/
|
|
2538
|
+
orientation: Ref<Orientation>;
|
|
2539
|
+
pressedInputRef: Ref<HTMLInputElement | null>;
|
|
2540
|
+
pressedThumbCenterOffsetRef: Ref<number | null>;
|
|
2541
|
+
pressedThumbIndexRef: Ref<number>;
|
|
2542
|
+
pressedValuesRef: Ref<readonly number[] | null>;
|
|
2543
|
+
registerFieldControlRef: (element: HTMLElement | null) => void;
|
|
2544
|
+
renderBeforeHydration: Ref<boolean>;
|
|
2545
|
+
setActive: (value: number) => void;
|
|
2546
|
+
setDragging: (value: boolean) => void;
|
|
2547
|
+
setIndicatorPosition: (updater: (prev: (number | undefined)[]) => (number | undefined)[]) => void;
|
|
2548
|
+
setLabelId: (value: string | undefined) => void;
|
|
2549
|
+
/**
|
|
2550
|
+
* Callback fired when dragging and invokes onValueChange.
|
|
2551
|
+
*/
|
|
2552
|
+
setValue: (value: number | number[], details?: BaseUIChangeEventDetails<SliderRootChangeReason, {
|
|
2553
|
+
activeThumbIndex: number;
|
|
2554
|
+
}>) => void;
|
|
2555
|
+
state: Ref<SliderRootState>;
|
|
2556
|
+
/**
|
|
2557
|
+
* The step increment of the slider when incrementing or decrementing. It will snap
|
|
2558
|
+
* to multiples of this value. Decimal values are supported.
|
|
2559
|
+
* @default 1
|
|
2560
|
+
*/
|
|
2561
|
+
step: Ref<number>;
|
|
2562
|
+
thumbCollisionBehavior: Ref<'push' | 'swap' | 'none'>;
|
|
2563
|
+
thumbMap: ShallowRef<Map<Element, CompositeMetadata<ThumbMetadata> | null>>;
|
|
2564
|
+
thumbRefs: Ref<(HTMLElement | null)[]>;
|
|
2565
|
+
/**
|
|
2566
|
+
* The value(s) of the slider
|
|
2567
|
+
*/
|
|
2568
|
+
values: Ref<readonly number[]>;
|
|
2569
|
+
}
|
|
2570
|
+
type SliderRootChangeReason = typeof REASONS.inputChange | typeof REASONS.trackPress | typeof REASONS.drag | typeof REASONS.keyboard | typeof REASONS.none;
|
|
2571
|
+
declare const sliderRootContextKey: InjectionKey<SliderRootContext>;
|
|
2572
|
+
declare function useSliderRootContext(optional: true): SliderRootContext | undefined;
|
|
2573
|
+
declare function useSliderRootContext(optional?: false): SliderRootContext;
|
|
2574
|
+
//#endregion
|
|
2575
|
+
//#region src/slider/root/SliderRootDataAttributes.d.ts
|
|
2576
|
+
declare enum SliderRootDataAttributes {
|
|
2577
|
+
/**
|
|
2578
|
+
* Present while the user is dragging.
|
|
2579
|
+
*/
|
|
2580
|
+
dragging = "data-dragging",
|
|
2581
|
+
/**
|
|
2582
|
+
* Indicates the orientation of the slider.
|
|
2583
|
+
* @type {'horizontal' | 'vertical'}
|
|
2584
|
+
*/
|
|
2585
|
+
orientation = "data-orientation",
|
|
2586
|
+
/**
|
|
2587
|
+
* Present when the slider is disabled.
|
|
2588
|
+
*/
|
|
2589
|
+
disabled = "data-disabled",
|
|
2590
|
+
/**
|
|
2591
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2592
|
+
*/
|
|
2593
|
+
valid = "data-valid",
|
|
2594
|
+
/**
|
|
2595
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2596
|
+
*/
|
|
2597
|
+
invalid = "data-invalid",
|
|
2598
|
+
/**
|
|
2599
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2600
|
+
*/
|
|
2601
|
+
touched = "data-touched",
|
|
2602
|
+
/**
|
|
2603
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2604
|
+
*/
|
|
2605
|
+
dirty = "data-dirty",
|
|
2606
|
+
/**
|
|
2607
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2608
|
+
*/
|
|
2609
|
+
focused = "data-focused"
|
|
2610
|
+
}
|
|
2611
|
+
//#endregion
|
|
2612
|
+
//#region src/slider/thumb/SliderThumbDataAttributes.d.ts
|
|
2613
|
+
declare enum SliderThumbDataAttributes {
|
|
2614
|
+
/**
|
|
2615
|
+
* Indicates the index of the thumb in range sliders.
|
|
2616
|
+
*/
|
|
2617
|
+
index = "data-index",
|
|
2618
|
+
/**
|
|
2619
|
+
* Present while the user is dragging.
|
|
2620
|
+
*/
|
|
2621
|
+
dragging = "data-dragging",
|
|
2622
|
+
/**
|
|
2623
|
+
* Indicates the orientation of the slider.
|
|
2624
|
+
* @type {'horizontal' | 'vertical'}
|
|
2625
|
+
*/
|
|
2626
|
+
orientation = "data-orientation",
|
|
2627
|
+
/**
|
|
2628
|
+
* Present when the slider is disabled.
|
|
2629
|
+
*/
|
|
2630
|
+
disabled = "data-disabled",
|
|
2631
|
+
/**
|
|
2632
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2633
|
+
*/
|
|
2634
|
+
valid = "data-valid",
|
|
2635
|
+
/**
|
|
2636
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2637
|
+
*/
|
|
2638
|
+
invalid = "data-invalid",
|
|
2639
|
+
/**
|
|
2640
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2641
|
+
*/
|
|
2642
|
+
touched = "data-touched",
|
|
2643
|
+
/**
|
|
2644
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2645
|
+
*/
|
|
2646
|
+
dirty = "data-dirty",
|
|
2647
|
+
/**
|
|
2648
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2649
|
+
*/
|
|
2650
|
+
focused = "data-focused"
|
|
2651
|
+
}
|
|
2652
|
+
//#endregion
|
|
2653
|
+
//#region src/slider/track/SliderTrack.vue.d.ts
|
|
2654
|
+
interface SliderTrackState extends SliderRootState {}
|
|
2655
|
+
interface SliderTrackProps extends BaseUIComponentProps<SliderTrackState> {}
|
|
2656
|
+
declare var __VLS_1$4: {
|
|
2657
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2658
|
+
props: Record<string, any>;
|
|
2659
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2660
|
+
}, __VLS_10$4: {};
|
|
2661
|
+
type __VLS_Slots$8 = {} & {
|
|
2662
|
+
default?: (props: typeof __VLS_1$4) => any;
|
|
2663
|
+
} & {
|
|
2664
|
+
default?: (props: typeof __VLS_10$4) => any;
|
|
2665
|
+
};
|
|
2666
|
+
declare const __VLS_base$8: vue.DefineComponent<SliderTrackProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderTrackProps> & Readonly<{}>, {
|
|
2667
|
+
as: string | vue.Component;
|
|
2668
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2669
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
2670
|
+
declare const _default$33: typeof __VLS_export$11;
|
|
2671
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
2672
|
+
new (): {
|
|
2673
|
+
$slots: S;
|
|
2674
|
+
};
|
|
2675
|
+
}; //# sourceMappingURL=SliderTrack.vue.d.ts.map
|
|
2676
|
+
//#endregion
|
|
2677
|
+
//#region src/slider/track/SliderTrackDataAttributes.d.ts
|
|
2678
|
+
declare enum SliderTrackDataAttributes {
|
|
2679
|
+
dragging = "data-dragging",
|
|
2680
|
+
orientation = "data-orientation",
|
|
2681
|
+
disabled = "data-disabled",
|
|
2682
|
+
valid = "data-valid",
|
|
2683
|
+
invalid = "data-invalid",
|
|
2684
|
+
touched = "data-touched",
|
|
2685
|
+
dirty = "data-dirty",
|
|
2686
|
+
focused = "data-focused"
|
|
2687
|
+
}
|
|
2688
|
+
//#endregion
|
|
2689
|
+
//#region src/slider/value/SliderValue.vue.d.ts
|
|
2690
|
+
interface SliderValueState extends SliderRootState {}
|
|
2691
|
+
interface SliderValueProps extends BaseUIComponentProps<SliderValueState> {
|
|
2692
|
+
ariaLive?: 'off' | 'polite' | 'assertive';
|
|
2693
|
+
}
|
|
2694
|
+
declare var __VLS_1$3: {
|
|
2695
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2696
|
+
props: Record<string, any>;
|
|
2697
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2698
|
+
formattedValues: string[];
|
|
2699
|
+
values: readonly number[];
|
|
2700
|
+
}, __VLS_10$3: {
|
|
2701
|
+
formattedValues: string[];
|
|
2702
|
+
values: readonly number[];
|
|
2703
|
+
};
|
|
2704
|
+
type __VLS_Slots$7 = {} & {
|
|
2705
|
+
default?: (props: typeof __VLS_1$3) => any;
|
|
2706
|
+
} & {
|
|
2707
|
+
default?: (props: typeof __VLS_10$3) => any;
|
|
2708
|
+
};
|
|
2709
|
+
declare const __VLS_base$7: vue.DefineComponent<SliderValueProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderValueProps> & Readonly<{}>, {
|
|
2710
|
+
as: string | vue.Component;
|
|
2711
|
+
ariaLive: "off" | "polite" | "assertive";
|
|
2712
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2713
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
2714
|
+
declare const _default$34: typeof __VLS_export$10;
|
|
2715
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
2716
|
+
new (): {
|
|
2717
|
+
$slots: S;
|
|
2718
|
+
};
|
|
2719
|
+
}; //# sourceMappingURL=SliderValue.vue.d.ts.map
|
|
2720
|
+
//#endregion
|
|
2721
|
+
//#region src/slider/value/SliderValueDataAttributes.d.ts
|
|
2722
|
+
declare enum SliderValueDataAttributes {
|
|
2723
|
+
/**
|
|
2724
|
+
* Present while the user is dragging.
|
|
2725
|
+
*/
|
|
2726
|
+
dragging = "data-dragging",
|
|
2727
|
+
/**
|
|
2728
|
+
* Indicates the orientation of the slider.
|
|
2729
|
+
* @type {'horizontal' | 'vertical'}
|
|
2730
|
+
*/
|
|
2731
|
+
orientation = "data-orientation",
|
|
2732
|
+
/**
|
|
2733
|
+
* Present when the slider is disabled.
|
|
1140
2734
|
*/
|
|
1141
|
-
|
|
2735
|
+
disabled = "data-disabled",
|
|
1142
2736
|
/**
|
|
1143
|
-
*
|
|
2737
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2738
|
+
*/
|
|
2739
|
+
valid = "data-valid",
|
|
2740
|
+
/**
|
|
2741
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2742
|
+
*/
|
|
2743
|
+
invalid = "data-invalid",
|
|
2744
|
+
/**
|
|
2745
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2746
|
+
*/
|
|
2747
|
+
touched = "data-touched",
|
|
2748
|
+
/**
|
|
2749
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2750
|
+
*/
|
|
2751
|
+
dirty = "data-dirty",
|
|
2752
|
+
/**
|
|
2753
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2754
|
+
*/
|
|
2755
|
+
focused = "data-focused"
|
|
2756
|
+
}
|
|
2757
|
+
//#endregion
|
|
2758
|
+
//#region src/switch/root/SwitchRoot.vue.d.ts
|
|
2759
|
+
interface SwitchRootState extends FieldRootState {
|
|
2760
|
+
/**
|
|
2761
|
+
* Whether the switch is currently active.
|
|
2762
|
+
*/
|
|
2763
|
+
checked: boolean;
|
|
2764
|
+
/**
|
|
2765
|
+
* Whether the component should ignore user interaction.
|
|
2766
|
+
*/
|
|
2767
|
+
disabled: boolean;
|
|
2768
|
+
/**
|
|
2769
|
+
* Whether the user should be unable to activate or deactivate the switch.
|
|
2770
|
+
*/
|
|
2771
|
+
readOnly: boolean;
|
|
2772
|
+
/**
|
|
2773
|
+
* Whether the user must activate the switch before submitting a form.
|
|
2774
|
+
*/
|
|
2775
|
+
required: boolean;
|
|
2776
|
+
}
|
|
2777
|
+
interface SwitchRootProps extends NonNativeButtonProps, BaseUIComponentProps<SwitchRootState> {
|
|
2778
|
+
/**
|
|
2779
|
+
* The id of the switch element.
|
|
2780
|
+
*/
|
|
2781
|
+
'id'?: string;
|
|
2782
|
+
/**
|
|
2783
|
+
* Whether the switch is currently active.
|
|
2784
|
+
*
|
|
2785
|
+
* To render an uncontrolled switch, use the `defaultChecked` prop instead.
|
|
2786
|
+
*/
|
|
2787
|
+
'checked'?: boolean;
|
|
2788
|
+
/**
|
|
2789
|
+
* Whether the switch is initially active.
|
|
2790
|
+
*
|
|
2791
|
+
* To render a controlled switch, use the `checked` prop instead.
|
|
2792
|
+
* @default false
|
|
2793
|
+
*/
|
|
2794
|
+
'defaultChecked'?: boolean;
|
|
2795
|
+
/**
|
|
2796
|
+
* Whether the component should ignore user interaction.
|
|
2797
|
+
* @default false
|
|
2798
|
+
*/
|
|
2799
|
+
'disabled'?: boolean;
|
|
2800
|
+
/**
|
|
2801
|
+
* A ref to access the hidden `<input>` element.
|
|
2802
|
+
*/
|
|
2803
|
+
'inputRef'?: Ref<HTMLInputElement | null> | ((element: HTMLInputElement | null) => void) | null;
|
|
2804
|
+
/**
|
|
2805
|
+
* Identifies the field when a form is submitted.
|
|
2806
|
+
*/
|
|
2807
|
+
'name'?: string;
|
|
2808
|
+
/**
|
|
2809
|
+
* Identifies the form that owns the hidden input.
|
|
2810
|
+
* Useful when the switch is rendered outside the form.
|
|
2811
|
+
*/
|
|
2812
|
+
'form'?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
* Whether the user should be unable to activate or deactivate the switch.
|
|
2815
|
+
* @default false
|
|
2816
|
+
*/
|
|
2817
|
+
'readOnly'?: boolean;
|
|
2818
|
+
/**
|
|
2819
|
+
* Whether the user must activate the switch before submitting a form.
|
|
2820
|
+
* @default false
|
|
2821
|
+
*/
|
|
2822
|
+
'required'?: boolean;
|
|
2823
|
+
/**
|
|
2824
|
+
* The value submitted with the form when the switch is on.
|
|
2825
|
+
* By default, switch submits the "on" value, matching native checkbox behavior.
|
|
2826
|
+
*/
|
|
2827
|
+
'value'?: string;
|
|
2828
|
+
/**
|
|
2829
|
+
* The value submitted with the form when the switch is off.
|
|
2830
|
+
* By default, unchecked switches do not submit any value, matching native checkbox behavior.
|
|
2831
|
+
*/
|
|
2832
|
+
'uncheckedValue'?: string;
|
|
2833
|
+
/**
|
|
2834
|
+
* Identifies the element that labels the switch.
|
|
2835
|
+
* When omitted, Base UI Vue falls back to the surrounding label system.
|
|
2836
|
+
*/
|
|
2837
|
+
'aria-labelledby'?: string;
|
|
2838
|
+
}
|
|
2839
|
+
type SwitchRootChangeEventReason = typeof REASONS.none;
|
|
2840
|
+
type SwitchRootChangeEventDetails = BaseUIChangeEventDetails<SwitchRootChangeEventReason>;
|
|
2841
|
+
declare var __VLS_1$2: {
|
|
2842
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2843
|
+
props: Record<string, any>;
|
|
2844
|
+
state: SwitchRootState;
|
|
2845
|
+
}, __VLS_9: {
|
|
2846
|
+
state: SwitchRootState;
|
|
2847
|
+
};
|
|
2848
|
+
type __VLS_Slots$6 = {} & {
|
|
2849
|
+
default?: (props: typeof __VLS_1$2) => any;
|
|
2850
|
+
} & {
|
|
2851
|
+
default?: (props: typeof __VLS_9) => any;
|
|
2852
|
+
};
|
|
2853
|
+
declare const __VLS_base$6: vue.DefineComponent<SwitchRootProps, {
|
|
2854
|
+
element: Ref<HTMLElement | null, HTMLElement | null>;
|
|
2855
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2856
|
+
checkedChange: (checked: boolean, eventDetails: {
|
|
2857
|
+
reason: "none";
|
|
2858
|
+
event: Event;
|
|
2859
|
+
cancel: () => void;
|
|
2860
|
+
allowPropagation: () => void;
|
|
2861
|
+
isCanceled: boolean;
|
|
2862
|
+
isPropagationAllowed: boolean;
|
|
2863
|
+
trigger: Element | undefined;
|
|
2864
|
+
} & Record<string, never>) => any;
|
|
2865
|
+
}, string, vue.PublicProps, Readonly<SwitchRootProps> & Readonly<{
|
|
2866
|
+
onCheckedChange?: ((checked: boolean, eventDetails: {
|
|
2867
|
+
reason: "none";
|
|
2868
|
+
event: Event;
|
|
2869
|
+
cancel: () => void;
|
|
2870
|
+
allowPropagation: () => void;
|
|
2871
|
+
isCanceled: boolean;
|
|
2872
|
+
isPropagationAllowed: boolean;
|
|
2873
|
+
trigger: Element | undefined;
|
|
2874
|
+
} & Record<string, never>) => any) | undefined;
|
|
2875
|
+
}>, {
|
|
2876
|
+
defaultChecked: boolean;
|
|
2877
|
+
disabled: boolean;
|
|
2878
|
+
readOnly: boolean;
|
|
2879
|
+
required: boolean;
|
|
2880
|
+
nativeButton: boolean;
|
|
2881
|
+
as: string | vue.Component;
|
|
2882
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2883
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
2884
|
+
declare const _default$35: typeof __VLS_export$9;
|
|
2885
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
2886
|
+
new (): {
|
|
2887
|
+
$slots: S;
|
|
2888
|
+
};
|
|
2889
|
+
}; //# sourceMappingURL=SwitchRoot.vue.d.ts.map
|
|
2890
|
+
//#endregion
|
|
2891
|
+
//#region src/switch/root/SwitchRootContext.d.ts
|
|
2892
|
+
type SwitchRootContext = Readonly<Ref<SwitchRootState>>;
|
|
2893
|
+
declare const switchRootContextKey: InjectionKey<SwitchRootContext>;
|
|
2894
|
+
declare function useSwitchRootContext(optional: true): SwitchRootContext | undefined;
|
|
2895
|
+
declare function useSwitchRootContext(optional?: false): SwitchRootContext;
|
|
2896
|
+
//#endregion
|
|
2897
|
+
//#region src/switch/root/SwitchRootDataAttributes.d.ts
|
|
2898
|
+
declare enum SwitchRootDataAttributes {
|
|
2899
|
+
/**
|
|
2900
|
+
* Present when the switch is checked.
|
|
2901
|
+
*/
|
|
2902
|
+
checked = "data-checked",
|
|
2903
|
+
/**
|
|
2904
|
+
* Present when the switch is not checked.
|
|
2905
|
+
*/
|
|
2906
|
+
unchecked = "data-unchecked",
|
|
2907
|
+
/**
|
|
2908
|
+
* Present when the switch is disabled.
|
|
2909
|
+
*/
|
|
2910
|
+
disabled = "data-disabled",
|
|
2911
|
+
/**
|
|
2912
|
+
* Present when the switch is readonly.
|
|
2913
|
+
*/
|
|
2914
|
+
readonly = "data-readonly",
|
|
2915
|
+
/**
|
|
2916
|
+
* Present when the switch is required.
|
|
2917
|
+
*/
|
|
2918
|
+
required = "data-required",
|
|
2919
|
+
/**
|
|
2920
|
+
* Present when the switch is in valid state (when wrapped in FieldRoot).
|
|
2921
|
+
*/
|
|
2922
|
+
valid = "data-valid",
|
|
2923
|
+
/**
|
|
2924
|
+
* Present when the switch is in invalid state (when wrapped in FieldRoot).
|
|
2925
|
+
*/
|
|
2926
|
+
invalid = "data-invalid",
|
|
2927
|
+
/**
|
|
2928
|
+
* Present when the switch has been touched (when wrapped in FieldRoot).
|
|
2929
|
+
*/
|
|
2930
|
+
touched = "data-touched",
|
|
2931
|
+
/**
|
|
2932
|
+
* Present when the switch's value has changed (when wrapped in FieldRoot).
|
|
2933
|
+
*/
|
|
2934
|
+
dirty = "data-dirty",
|
|
2935
|
+
/**
|
|
2936
|
+
* Present when the switch is active (when wrapped in FieldRoot).
|
|
2937
|
+
*/
|
|
2938
|
+
filled = "data-filled",
|
|
2939
|
+
/**
|
|
2940
|
+
* Present when the switch is focused (when wrapped in FieldRoot).
|
|
2941
|
+
*/
|
|
2942
|
+
focused = "data-focused"
|
|
2943
|
+
}
|
|
2944
|
+
//#endregion
|
|
2945
|
+
//#region src/switch/thumb/SwitchThumb.vue.d.ts
|
|
2946
|
+
interface SwitchThumbState extends SwitchRootState {}
|
|
2947
|
+
interface SwitchThumbProps extends BaseUIComponentProps<SwitchThumbState> {}
|
|
2948
|
+
declare var __VLS_1$1: {
|
|
2949
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2950
|
+
props: Record<string, any>;
|
|
2951
|
+
state: SwitchThumbState;
|
|
2952
|
+
}, __VLS_10$2: {
|
|
2953
|
+
state: SwitchThumbState;
|
|
2954
|
+
};
|
|
2955
|
+
type __VLS_Slots$5 = {} & {
|
|
2956
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
2957
|
+
} & {
|
|
2958
|
+
default?: (props: typeof __VLS_10$2) => any;
|
|
2959
|
+
};
|
|
2960
|
+
declare const __VLS_base$5: vue.DefineComponent<SwitchThumbProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SwitchThumbProps> & Readonly<{}>, {
|
|
2961
|
+
as: string | vue.Component;
|
|
2962
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2963
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
2964
|
+
declare const _default$36: typeof __VLS_export$8;
|
|
2965
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
2966
|
+
new (): {
|
|
2967
|
+
$slots: S;
|
|
2968
|
+
};
|
|
2969
|
+
}; //# sourceMappingURL=SwitchThumb.vue.d.ts.map
|
|
2970
|
+
//#endregion
|
|
2971
|
+
//#region src/switch/thumb/SwitchThumbDataAttributes.d.ts
|
|
2972
|
+
declare enum SwitchThumbDataAttributes {
|
|
2973
|
+
/**
|
|
2974
|
+
* Present when the switch is checked.
|
|
2975
|
+
*/
|
|
2976
|
+
checked = "data-checked",
|
|
2977
|
+
/**
|
|
2978
|
+
* Present when the switch is not checked.
|
|
2979
|
+
*/
|
|
2980
|
+
unchecked = "data-unchecked",
|
|
2981
|
+
/**
|
|
2982
|
+
* Present when the switch is disabled.
|
|
2983
|
+
*/
|
|
2984
|
+
disabled = "data-disabled",
|
|
2985
|
+
/**
|
|
2986
|
+
* Present when the switch is readonly.
|
|
2987
|
+
*/
|
|
2988
|
+
readonly = "data-readonly",
|
|
2989
|
+
/**
|
|
2990
|
+
* Present when the switch is required.
|
|
2991
|
+
*/
|
|
2992
|
+
required = "data-required",
|
|
2993
|
+
/**
|
|
2994
|
+
* Present when the switch is in valid state (when wrapped in FieldRoot).
|
|
2995
|
+
*/
|
|
2996
|
+
valid = "data-valid",
|
|
2997
|
+
/**
|
|
2998
|
+
* Present when the switch is in invalid state (when wrapped in FieldRoot).
|
|
2999
|
+
*/
|
|
3000
|
+
invalid = "data-invalid",
|
|
3001
|
+
/**
|
|
3002
|
+
* Present when the switch has been touched (when wrapped in FieldRoot).
|
|
3003
|
+
*/
|
|
3004
|
+
touched = "data-touched",
|
|
3005
|
+
/**
|
|
3006
|
+
* Present when the switch's value has changed (when wrapped in FieldRoot).
|
|
3007
|
+
*/
|
|
3008
|
+
dirty = "data-dirty",
|
|
3009
|
+
/**
|
|
3010
|
+
* Present when the switch is active (when wrapped in FieldRoot).
|
|
3011
|
+
*/
|
|
3012
|
+
filled = "data-filled",
|
|
3013
|
+
/**
|
|
3014
|
+
* Present when the switch is focused (when wrapped in FieldRoot).
|
|
3015
|
+
*/
|
|
3016
|
+
focused = "data-focused"
|
|
3017
|
+
}
|
|
3018
|
+
//#endregion
|
|
3019
|
+
//#region src/toggle/Toggle.vue.d.ts
|
|
3020
|
+
interface ToggleState {
|
|
3021
|
+
/**
|
|
3022
|
+
* Whether the toggle is currently pressed.
|
|
3023
|
+
*/
|
|
3024
|
+
pressed: boolean;
|
|
3025
|
+
/**
|
|
3026
|
+
* Whether the toggle should ignore user interaction.
|
|
3027
|
+
*/
|
|
3028
|
+
disabled: boolean;
|
|
3029
|
+
}
|
|
3030
|
+
interface ToggleProps<Value extends string = string> extends NativeButtonProps, BaseUIComponentProps<ToggleState> {
|
|
3031
|
+
/**
|
|
3032
|
+
* Whether the toggle button is currently pressed.
|
|
3033
|
+
* This is the controlled counterpart of `defaultPressed`.
|
|
3034
|
+
*/
|
|
3035
|
+
pressed?: boolean;
|
|
3036
|
+
/**
|
|
3037
|
+
* Whether the toggle button is initially pressed.
|
|
3038
|
+
* This is the uncontrolled counterpart of `pressed`.
|
|
3039
|
+
* @default false
|
|
3040
|
+
*/
|
|
3041
|
+
defaultPressed?: boolean;
|
|
3042
|
+
/**
|
|
3043
|
+
* Whether the component should ignore user interaction.
|
|
3044
|
+
* @default false
|
|
3045
|
+
*/
|
|
3046
|
+
disabled?: boolean;
|
|
3047
|
+
/**
|
|
3048
|
+
* A unique string that identifies the toggle when used inside a toggle group.
|
|
3049
|
+
*/
|
|
3050
|
+
value?: Value | undefined;
|
|
3051
|
+
}
|
|
3052
|
+
declare const __VLS_export$7: <Value extends string = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3053
|
+
props: vue.PublicProps & __VLS_PrettifyLocal$1<ToggleProps<Value> & {
|
|
3054
|
+
onPressedChange?: ((pressed: boolean, eventDetails: {
|
|
3055
|
+
reason: "none";
|
|
3056
|
+
event: Event;
|
|
3057
|
+
cancel: () => void;
|
|
3058
|
+
allowPropagation: () => void;
|
|
3059
|
+
isCanceled: boolean;
|
|
3060
|
+
isPropagationAllowed: boolean;
|
|
3061
|
+
trigger: Element | undefined;
|
|
3062
|
+
} & Record<string, never>) => any) | undefined;
|
|
3063
|
+
}> & (typeof globalThis extends {
|
|
3064
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
3065
|
+
} ? P : {});
|
|
3066
|
+
expose: (exposed: {}) => void;
|
|
3067
|
+
attrs: any;
|
|
3068
|
+
slots: {
|
|
3069
|
+
default?: (props: {
|
|
3070
|
+
state: ToggleState;
|
|
3071
|
+
}) => any;
|
|
3072
|
+
} & {
|
|
3073
|
+
default?: (props: {
|
|
3074
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3075
|
+
props: Record<string, any>;
|
|
3076
|
+
state: ToggleState;
|
|
3077
|
+
}) => any;
|
|
3078
|
+
} & {
|
|
3079
|
+
default?: (props: {
|
|
3080
|
+
state: ToggleState;
|
|
3081
|
+
}) => any;
|
|
3082
|
+
};
|
|
3083
|
+
emit: (evt: "pressedChange", pressed: boolean, eventDetails: {
|
|
3084
|
+
reason: "none";
|
|
3085
|
+
event: Event;
|
|
3086
|
+
cancel: () => void;
|
|
3087
|
+
allowPropagation: () => void;
|
|
3088
|
+
isCanceled: boolean;
|
|
3089
|
+
isPropagationAllowed: boolean;
|
|
3090
|
+
trigger: Element | undefined;
|
|
3091
|
+
} & Record<string, never>) => void;
|
|
3092
|
+
}>) => vue.VNode & {
|
|
3093
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
3094
|
+
};
|
|
3095
|
+
declare const _default$37: typeof __VLS_export$7;
|
|
3096
|
+
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=Toggle.vue.d.ts.map
|
|
3097
|
+
//#endregion
|
|
3098
|
+
//#region src/toggle/ToggleDataAttributes.d.ts
|
|
3099
|
+
declare enum ToggleDataAttributes {
|
|
3100
|
+
/**
|
|
3101
|
+
* Present when the toggle button is pressed.
|
|
3102
|
+
*/
|
|
3103
|
+
pressed = "data-pressed"
|
|
3104
|
+
}
|
|
3105
|
+
//#endregion
|
|
3106
|
+
//#region src/toggle-group/ToggleGroup.vue.d.ts
|
|
3107
|
+
interface ToggleGroupState {
|
|
3108
|
+
/**
|
|
3109
|
+
* Whether the component should ignore user interaction.
|
|
3110
|
+
*/
|
|
3111
|
+
disabled: boolean;
|
|
3112
|
+
/**
|
|
3113
|
+
* When `false` only one item in the group can be pressed. If any item in
|
|
3114
|
+
* the group becomes pressed, the others will become unpressed.
|
|
3115
|
+
* When `true` multiple items can be pressed.
|
|
3116
|
+
* @default false
|
|
3117
|
+
*/
|
|
3118
|
+
multiple: boolean;
|
|
3119
|
+
/**
|
|
3120
|
+
* The orientation of the toggle group.
|
|
3121
|
+
*/
|
|
3122
|
+
orientation: Orientation;
|
|
3123
|
+
}
|
|
3124
|
+
interface ToggleGroupProps<Value extends string = string> extends BaseUIComponentProps<ToggleGroupState> {
|
|
3125
|
+
/**
|
|
3126
|
+
* The pressed values of the toggle group.
|
|
3127
|
+
* This is the controlled counterpart of `defaultValue`.
|
|
3128
|
+
*/
|
|
3129
|
+
value?: Value[];
|
|
3130
|
+
/**
|
|
3131
|
+
* The pressed values of the toggle group.
|
|
3132
|
+
* This is the uncontrolled counterpart of `value`.
|
|
3133
|
+
*/
|
|
3134
|
+
defaultValue?: Value[];
|
|
3135
|
+
/**
|
|
3136
|
+
* Whether the toggle group should ignore user interaction.
|
|
3137
|
+
* @default false
|
|
3138
|
+
*/
|
|
3139
|
+
disabled?: boolean;
|
|
3140
|
+
/**
|
|
3141
|
+
* The orientation of the toggle group.
|
|
3142
|
+
* @default 'horizontal'
|
|
3143
|
+
*/
|
|
3144
|
+
orientation?: Orientation;
|
|
3145
|
+
/**
|
|
3146
|
+
* Whether to loop keyboard focus back to the first item when the end of the list is reached.
|
|
1144
3147
|
* @default true
|
|
1145
3148
|
*/
|
|
1146
|
-
|
|
3149
|
+
loopFocus?: boolean;
|
|
3150
|
+
/**
|
|
3151
|
+
* When `false` only one item in the group can be pressed. If any item in
|
|
3152
|
+
* the group becomes pressed, the others will become unpressed.
|
|
3153
|
+
* When `true` multiple items can be pressed.
|
|
3154
|
+
* @default false
|
|
3155
|
+
*/
|
|
3156
|
+
multiple?: boolean;
|
|
1147
3157
|
}
|
|
1148
|
-
declare
|
|
3158
|
+
declare const __VLS_export$6: <Value extends string = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3159
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<ToggleGroupProps<Value> & {
|
|
3160
|
+
onValueChange?: ((value: Value[], eventDetails: {
|
|
3161
|
+
reason: "none";
|
|
3162
|
+
event: Event;
|
|
3163
|
+
cancel: () => void;
|
|
3164
|
+
allowPropagation: () => void;
|
|
3165
|
+
isCanceled: boolean;
|
|
3166
|
+
isPropagationAllowed: boolean;
|
|
3167
|
+
trigger: Element | undefined;
|
|
3168
|
+
} & Record<string, never>) => any) | undefined;
|
|
3169
|
+
}> & (typeof globalThis extends {
|
|
3170
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
3171
|
+
} ? P : {});
|
|
3172
|
+
expose: (exposed: {}) => void;
|
|
3173
|
+
attrs: any;
|
|
3174
|
+
slots: {
|
|
3175
|
+
default?: (props: {
|
|
3176
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3177
|
+
props: Record<string, any>;
|
|
3178
|
+
state: ToggleGroupState;
|
|
3179
|
+
}) => any;
|
|
3180
|
+
} & {
|
|
3181
|
+
default?: (props: {
|
|
3182
|
+
state: ToggleGroupState;
|
|
3183
|
+
}) => any;
|
|
3184
|
+
} & {
|
|
3185
|
+
default?: (props: {
|
|
3186
|
+
ref: ((el: Element | null) => void) | undefined;
|
|
3187
|
+
props: Record<string, any> | undefined;
|
|
3188
|
+
state: Record<string, any>;
|
|
3189
|
+
}) => any;
|
|
3190
|
+
} & {
|
|
3191
|
+
default?: (props: {
|
|
3192
|
+
state: Record<string, any>;
|
|
3193
|
+
}) => any;
|
|
3194
|
+
};
|
|
3195
|
+
emit: (evt: "valueChange", value: Value[], eventDetails: {
|
|
3196
|
+
reason: "none";
|
|
3197
|
+
event: Event;
|
|
3198
|
+
cancel: () => void;
|
|
3199
|
+
allowPropagation: () => void;
|
|
3200
|
+
isCanceled: boolean;
|
|
3201
|
+
isPropagationAllowed: boolean;
|
|
3202
|
+
trigger: Element | undefined;
|
|
3203
|
+
} & Record<string, never>) => void;
|
|
3204
|
+
}>) => vue.VNode & {
|
|
3205
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
3206
|
+
};
|
|
3207
|
+
declare const _default$38: typeof __VLS_export$6;
|
|
3208
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=ToggleGroup.vue.d.ts.map
|
|
3209
|
+
//#endregion
|
|
3210
|
+
//#region src/toggle-group/ToggleGroupContext.d.ts
|
|
3211
|
+
interface ToggleGroupContext<Value> {
|
|
3212
|
+
value: Readonly<Ref<Value[]>>;
|
|
3213
|
+
setGroupValue: (newValue: Value, nextPressed: boolean, eventDetails: BaseUIChangeEventDetails<typeof REASONS.none>) => void;
|
|
3214
|
+
disabled: Readonly<Ref<boolean>>;
|
|
3215
|
+
orientation: Readonly<Ref<Orientation>>;
|
|
3216
|
+
/**
|
|
3217
|
+
* Indicates whether the value has been initialized via `value` or `defaultValue` props.
|
|
3218
|
+
* Used to determine if Toggle should warn users about data inconsistency problems.
|
|
3219
|
+
*/
|
|
3220
|
+
isValueInitialized: Readonly<Ref<boolean>>;
|
|
3221
|
+
}
|
|
3222
|
+
declare const toggleGroupContextKey: InjectionKey<ToggleGroupContext<any>>;
|
|
3223
|
+
declare function useToggleGroupContext<Value>(optional: true): ToggleGroupContext<Value> | undefined;
|
|
3224
|
+
declare function useToggleGroupContext<Value>(optional?: false): ToggleGroupContext<Value>;
|
|
3225
|
+
//#endregion
|
|
3226
|
+
//#region src/toggle-group/ToggleGroupDataAttributes.d.ts
|
|
3227
|
+
declare enum ToggleGroupDataAttributes {
|
|
3228
|
+
/**
|
|
3229
|
+
* Present when the toggle group is disabled.
|
|
3230
|
+
*/
|
|
3231
|
+
disabled = "data-disabled",
|
|
3232
|
+
/**
|
|
3233
|
+
* Indicates the orientation of the toggle group.
|
|
3234
|
+
* @type {'horizontal' | 'vertical'}
|
|
3235
|
+
*/
|
|
3236
|
+
orientation = "data-orientation",
|
|
3237
|
+
/**
|
|
3238
|
+
* Present when the toggle group allows multiple buttons to be in the pressed state at the same time.
|
|
3239
|
+
*/
|
|
3240
|
+
multiple = "data-multiple"
|
|
3241
|
+
}
|
|
3242
|
+
//#endregion
|
|
3243
|
+
//#region src/toolbar/root/ToolbarRoot.vue.d.ts
|
|
3244
|
+
interface ToolbarRootState {
|
|
3245
|
+
/**
|
|
3246
|
+
* Whether the component is disabled.
|
|
3247
|
+
*/
|
|
3248
|
+
disabled: boolean;
|
|
3249
|
+
/**
|
|
3250
|
+
* The component orientation.
|
|
3251
|
+
*/
|
|
3252
|
+
orientation: Orientation;
|
|
3253
|
+
}
|
|
3254
|
+
interface ToolbarRootProps extends BaseUIComponentProps<ToolbarRootState> {
|
|
3255
|
+
/**
|
|
3256
|
+
* Whether the component is disabled.
|
|
3257
|
+
* @default false
|
|
3258
|
+
*/
|
|
3259
|
+
disabled?: boolean;
|
|
3260
|
+
/**
|
|
3261
|
+
* The orientation of the toolbar.
|
|
3262
|
+
* @default 'horizontal'
|
|
3263
|
+
*/
|
|
3264
|
+
orientation?: Orientation;
|
|
3265
|
+
/**
|
|
3266
|
+
* If `true`, using keyboard navigation will wrap focus to the other end of
|
|
3267
|
+
* the toolbar once the end is reached.
|
|
3268
|
+
* @default true
|
|
3269
|
+
*/
|
|
3270
|
+
loopFocus?: boolean;
|
|
3271
|
+
}
|
|
3272
|
+
declare var __VLS_10$1: {
|
|
3273
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1149
3274
|
props: Record<string, any>;
|
|
1150
|
-
state:
|
|
1151
|
-
},
|
|
1152
|
-
state:
|
|
3275
|
+
state: ToolbarRootState;
|
|
3276
|
+
}, __VLS_18: {
|
|
3277
|
+
state: ToolbarRootState;
|
|
1153
3278
|
};
|
|
1154
3279
|
type __VLS_Slots$4 = {} & {
|
|
1155
|
-
default?: (props: typeof
|
|
3280
|
+
default?: (props: typeof __VLS_10$1) => any;
|
|
1156
3281
|
} & {
|
|
1157
|
-
default?: (props: typeof
|
|
3282
|
+
default?: (props: typeof __VLS_18) => any;
|
|
1158
3283
|
};
|
|
1159
|
-
declare const __VLS_base$4: vue.DefineComponent<
|
|
3284
|
+
declare const __VLS_base$4: vue.DefineComponent<ToolbarRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarRootProps> & Readonly<{}>, {
|
|
3285
|
+
disabled: boolean;
|
|
1160
3286
|
as: string | vue.Component;
|
|
1161
|
-
|
|
3287
|
+
orientation: Orientation;
|
|
3288
|
+
loopFocus: boolean;
|
|
1162
3289
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1163
|
-
declare const __VLS_export$
|
|
1164
|
-
declare const _default$
|
|
3290
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
3291
|
+
declare const _default$43: typeof __VLS_export$5;
|
|
1165
3292
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
1166
3293
|
new (): {
|
|
1167
3294
|
$slots: S;
|
|
1168
3295
|
};
|
|
1169
|
-
}; //# sourceMappingURL=
|
|
1170
|
-
//#endregion
|
|
1171
|
-
//#region src/field/root/useFieldValidation.d.ts
|
|
1172
|
-
interface FieldValidationProps {
|
|
1173
|
-
'aria-describedby'?: string;
|
|
1174
|
-
'aria-invalid'?: true;
|
|
1175
|
-
}
|
|
1176
|
-
interface FieldInputValidationProps extends FieldValidationProps {
|
|
1177
|
-
onInput?: (event: Event) => void;
|
|
1178
|
-
}
|
|
1179
|
-
interface UseFieldValidationReturnValue {
|
|
1180
|
-
getValidationProps: () => FieldValidationProps;
|
|
1181
|
-
getInputValidationProps: () => FieldInputValidationProps;
|
|
1182
|
-
inputRef: Readonly<Ref<HTMLInputElement | null>>;
|
|
1183
|
-
setInputRef: (element: HTMLInputElement | null) => void;
|
|
1184
|
-
commit: (value: unknown, revalidate?: boolean) => Promise<void>;
|
|
1185
|
-
}
|
|
3296
|
+
}; //# sourceMappingURL=ToolbarRoot.vue.d.ts.map
|
|
1186
3297
|
//#endregion
|
|
1187
|
-
//#region src/
|
|
1188
|
-
interface
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
setDirty: (value: boolean) => void;
|
|
1198
|
-
filled: Readonly<Ref<boolean>>;
|
|
1199
|
-
setFilled: (value: boolean) => void;
|
|
1200
|
-
focused: Readonly<Ref<boolean>>;
|
|
1201
|
-
setFocused: (value: boolean) => void;
|
|
1202
|
-
validate: (value: unknown, formValues: Record<string, unknown>) => string | string[] | null | Promise<string | string[] | null>;
|
|
1203
|
-
validationMode: Readonly<Ref<FormValidationMode>>;
|
|
1204
|
-
validationDebounceTime: Readonly<Ref<number>>;
|
|
1205
|
-
shouldValidateOnChange: () => boolean;
|
|
1206
|
-
state: Readonly<Ref<FieldRootState>>;
|
|
1207
|
-
markedDirtyRef: Ref<boolean>;
|
|
1208
|
-
validation: UseFieldValidationReturnValue;
|
|
3298
|
+
//#region src/toolbar/button/ToolbarButton.vue.d.ts
|
|
3299
|
+
interface ToolbarButtonState extends ToolbarRootState {
|
|
3300
|
+
/**
|
|
3301
|
+
* Whether the component is disabled.
|
|
3302
|
+
*/
|
|
3303
|
+
disabled: boolean;
|
|
3304
|
+
/**
|
|
3305
|
+
* Whether the component remains focusable when disabled.
|
|
3306
|
+
*/
|
|
3307
|
+
focusable: boolean;
|
|
1209
3308
|
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
3309
|
+
interface ToolbarButtonProps extends NativeButtonProps, BaseUIComponentProps<ToolbarButtonState> {
|
|
3310
|
+
/**
|
|
3311
|
+
* Whether the component is disabled.
|
|
3312
|
+
* @default false
|
|
3313
|
+
*/
|
|
3314
|
+
disabled?: boolean;
|
|
3315
|
+
/**
|
|
3316
|
+
* Whether the component remains focusable when disabled.
|
|
3317
|
+
* @default true
|
|
3318
|
+
*/
|
|
3319
|
+
focusableWhenDisabled?: boolean;
|
|
1218
3320
|
}
|
|
1219
|
-
declare var
|
|
1220
|
-
|
|
1221
|
-
transitionStatus: TransitionStatus;
|
|
1222
|
-
value: unknown;
|
|
1223
|
-
error: string;
|
|
1224
|
-
errors: string[];
|
|
1225
|
-
initialValue: unknown;
|
|
3321
|
+
declare var __VLS_8$2: {
|
|
3322
|
+
state: ToolbarButtonState;
|
|
1226
3323
|
};
|
|
1227
3324
|
type __VLS_Slots$3 = {} & {
|
|
1228
|
-
default?: (props: typeof
|
|
3325
|
+
default?: (props: typeof __VLS_8$2) => any;
|
|
1229
3326
|
};
|
|
1230
|
-
declare const __VLS_base$3: vue.DefineComponent<
|
|
1231
|
-
|
|
1232
|
-
|
|
3327
|
+
declare const __VLS_base$3: vue.DefineComponent<ToolbarButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarButtonProps> & Readonly<{}>, {
|
|
3328
|
+
disabled: boolean;
|
|
3329
|
+
nativeButton: boolean;
|
|
3330
|
+
as: string | vue.Component;
|
|
3331
|
+
focusableWhenDisabled: boolean;
|
|
3332
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3333
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
3334
|
+
declare const _default$39: typeof __VLS_export$4;
|
|
1233
3335
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
1234
3336
|
new (): {
|
|
1235
3337
|
$slots: S;
|
|
1236
3338
|
};
|
|
1237
|
-
}; //# sourceMappingURL=
|
|
3339
|
+
}; //# sourceMappingURL=ToolbarButton.vue.d.ts.map
|
|
1238
3340
|
//#endregion
|
|
1239
|
-
//#region src/
|
|
1240
|
-
|
|
3341
|
+
//#region src/toolbar/button/ToolbarButtonDataAttributes.d.ts
|
|
3342
|
+
declare enum ToolbarButtonDataAttributes {
|
|
1241
3343
|
/**
|
|
1242
|
-
*
|
|
3344
|
+
* Present when the button is disabled.
|
|
1243
3345
|
*/
|
|
1244
|
-
disabled
|
|
3346
|
+
disabled = "data-disabled",
|
|
3347
|
+
/**
|
|
3348
|
+
* Indicates the orientation of the toolbar.
|
|
3349
|
+
* @type {'horizontal' | 'vertical'}
|
|
3350
|
+
*/
|
|
3351
|
+
orientation = "data-orientation",
|
|
3352
|
+
/**
|
|
3353
|
+
* Present when the button remains focusable when disabled.
|
|
3354
|
+
*/
|
|
3355
|
+
focusable = "data-focusable"
|
|
1245
3356
|
}
|
|
1246
|
-
|
|
3357
|
+
//#endregion
|
|
3358
|
+
//#region src/toolbar/group/ToolbarGroup.vue.d.ts
|
|
3359
|
+
interface ToolbarGroupState extends ToolbarRootState {}
|
|
3360
|
+
interface ToolbarGroupProps extends BaseUIComponentProps<ToolbarGroupState> {
|
|
1247
3361
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*
|
|
3362
|
+
* Whether all toolbar items in the group are disabled.
|
|
3363
|
+
* @default false
|
|
1250
3364
|
*/
|
|
1251
|
-
|
|
3365
|
+
disabled?: boolean;
|
|
1252
3366
|
}
|
|
1253
|
-
declare var __VLS_1
|
|
3367
|
+
declare var __VLS_1: {
|
|
3368
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1254
3369
|
props: Record<string, any>;
|
|
1255
|
-
state:
|
|
1256
|
-
}, __VLS_10
|
|
1257
|
-
state:
|
|
3370
|
+
state: ToolbarGroupState;
|
|
3371
|
+
}, __VLS_10: {
|
|
3372
|
+
state: ToolbarGroupState;
|
|
1258
3373
|
};
|
|
1259
3374
|
type __VLS_Slots$2 = {} & {
|
|
1260
|
-
default?: (props: typeof __VLS_1
|
|
3375
|
+
default?: (props: typeof __VLS_1) => any;
|
|
1261
3376
|
} & {
|
|
1262
|
-
default?: (props: typeof __VLS_10
|
|
3377
|
+
default?: (props: typeof __VLS_10) => any;
|
|
1263
3378
|
};
|
|
1264
|
-
declare const __VLS_base$2: vue.DefineComponent<
|
|
3379
|
+
declare const __VLS_base$2: vue.DefineComponent<ToolbarGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarGroupProps> & Readonly<{}>, {
|
|
3380
|
+
disabled: boolean;
|
|
1265
3381
|
as: string | vue.Component;
|
|
1266
3382
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1267
|
-
declare const __VLS_export$
|
|
1268
|
-
declare const _default$
|
|
3383
|
+
declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
3384
|
+
declare const _default$40: typeof __VLS_export$3;
|
|
1269
3385
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
1270
3386
|
new (): {
|
|
1271
3387
|
$slots: S;
|
|
1272
3388
|
};
|
|
1273
|
-
}; //# sourceMappingURL=
|
|
3389
|
+
}; //# sourceMappingURL=ToolbarGroup.vue.d.ts.map
|
|
1274
3390
|
//#endregion
|
|
1275
|
-
//#region src/
|
|
1276
|
-
interface
|
|
3391
|
+
//#region src/toolbar/group/ToolbarGroupContext.d.ts
|
|
3392
|
+
interface ToolbarGroupContext {
|
|
3393
|
+
disabled: Ref<boolean>;
|
|
3394
|
+
}
|
|
3395
|
+
declare const toolbarGroupContextKey: InjectionKey<ToolbarGroupContext>;
|
|
3396
|
+
declare function useToolbarGroupContext(): ToolbarGroupContext;
|
|
3397
|
+
declare function useToolbarGroupContext(optional: true): ToolbarGroupContext | undefined;
|
|
3398
|
+
//#endregion
|
|
3399
|
+
//#region src/toolbar/group/ToolbarGroupDataAttributes.d.ts
|
|
3400
|
+
declare enum ToolbarGroupDataAttributes {
|
|
1277
3401
|
/**
|
|
1278
|
-
*
|
|
3402
|
+
* Present when the group is disabled.
|
|
3403
|
+
*/
|
|
3404
|
+
disabled = "data-disabled",
|
|
3405
|
+
/**
|
|
3406
|
+
* Indicates the orientation of the toolbar.
|
|
3407
|
+
* @type {'horizontal' | 'vertical'}
|
|
3408
|
+
*/
|
|
3409
|
+
orientation = "data-orientation"
|
|
3410
|
+
}
|
|
3411
|
+
//#endregion
|
|
3412
|
+
//#region src/toolbar/input/ToolbarInput.vue.d.ts
|
|
3413
|
+
interface ToolbarInputState extends ToolbarRootState {
|
|
3414
|
+
/**
|
|
3415
|
+
* Whether the component is disabled.
|
|
1279
3416
|
*/
|
|
1280
3417
|
disabled: boolean;
|
|
3418
|
+
/**
|
|
3419
|
+
* Whether the component remains focusable when disabled.
|
|
3420
|
+
*/
|
|
3421
|
+
focusable: boolean;
|
|
1281
3422
|
}
|
|
1282
|
-
interface
|
|
3423
|
+
interface ToolbarInputProps extends BaseUIComponentProps<ToolbarInputState> {
|
|
1283
3424
|
/**
|
|
1284
|
-
* Whether the component
|
|
3425
|
+
* Whether the component is disabled.
|
|
1285
3426
|
* @default false
|
|
1286
3427
|
*/
|
|
1287
3428
|
disabled?: boolean;
|
|
3429
|
+
/**
|
|
3430
|
+
* Whether the component remains focusable when disabled.
|
|
3431
|
+
* @default true
|
|
3432
|
+
*/
|
|
3433
|
+
focusableWhenDisabled?: boolean;
|
|
3434
|
+
defaultValue?: string | number;
|
|
1288
3435
|
}
|
|
1289
|
-
declare
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
3436
|
+
declare const __VLS_export$2: vue.DefineComponent<ToolbarInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarInputProps> & Readonly<{}>, {
|
|
3437
|
+
disabled: boolean;
|
|
3438
|
+
as: string | vue.Component;
|
|
3439
|
+
focusableWhenDisabled: boolean;
|
|
3440
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3441
|
+
declare const _default$41: typeof __VLS_export$2;
|
|
3442
|
+
//#endregion
|
|
3443
|
+
//#region src/toolbar/input/ToolbarInputDataAttributes.d.ts
|
|
3444
|
+
declare enum ToolbarInputDataAttributes {
|
|
3445
|
+
/**
|
|
3446
|
+
* Present when the input is disabled.
|
|
3447
|
+
*/
|
|
3448
|
+
disabled = "data-disabled",
|
|
3449
|
+
/**
|
|
3450
|
+
* Indicates the orientation of the toolbar.
|
|
3451
|
+
* @type {'horizontal' | 'vertical'}
|
|
3452
|
+
*/
|
|
3453
|
+
orientation = "data-orientation",
|
|
3454
|
+
/**
|
|
3455
|
+
* Present when the input remains focusable when disabled.
|
|
3456
|
+
*/
|
|
3457
|
+
focusable = "data-focusable"
|
|
3458
|
+
}
|
|
3459
|
+
//#endregion
|
|
3460
|
+
//#region src/toolbar/link/ToolbarLink.vue.d.ts
|
|
3461
|
+
interface ToolbarLinkState {
|
|
3462
|
+
/**
|
|
3463
|
+
* The component orientation.
|
|
3464
|
+
*/
|
|
3465
|
+
orientation: 'horizontal' | 'vertical';
|
|
3466
|
+
}
|
|
3467
|
+
interface ToolbarLinkProps extends BaseUIComponentProps<ToolbarLinkState> {}
|
|
3468
|
+
declare var __VLS_8$1: {
|
|
3469
|
+
state: ToolbarLinkState;
|
|
3470
|
+
};
|
|
1295
3471
|
type __VLS_Slots$1 = {} & {
|
|
1296
|
-
default?: (props: typeof
|
|
1297
|
-
} & {
|
|
1298
|
-
default?: (props: typeof __VLS_10$1) => any;
|
|
3472
|
+
default?: (props: typeof __VLS_8$1) => any;
|
|
1299
3473
|
};
|
|
1300
|
-
declare const __VLS_base$1: vue.DefineComponent<
|
|
1301
|
-
disabled: boolean;
|
|
3474
|
+
declare const __VLS_base$1: vue.DefineComponent<ToolbarLinkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarLinkProps> & Readonly<{}>, {
|
|
1302
3475
|
as: string | vue.Component;
|
|
1303
3476
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1304
3477
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1305
|
-
declare const _default$
|
|
3478
|
+
declare const _default$42: typeof __VLS_export$1;
|
|
1306
3479
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1307
3480
|
new (): {
|
|
1308
3481
|
$slots: S;
|
|
1309
3482
|
};
|
|
1310
|
-
}; //# sourceMappingURL=
|
|
3483
|
+
}; //# sourceMappingURL=ToolbarLink.vue.d.ts.map
|
|
1311
3484
|
//#endregion
|
|
1312
|
-
//#region src/
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
3485
|
+
//#region src/toolbar/link/ToolbarLinkDataAttributes.d.ts
|
|
3486
|
+
declare enum ToolbarLinkDataAttributes {
|
|
3487
|
+
/**
|
|
3488
|
+
* Indicates the orientation of the toolbar.
|
|
3489
|
+
* @type {'horizontal' | 'vertical'}
|
|
3490
|
+
*/
|
|
3491
|
+
orientation = "data-orientation"
|
|
1317
3492
|
}
|
|
1318
|
-
declare const fieldsetRootContextKey: InjectionKey<FieldsetRootContext>;
|
|
1319
|
-
declare function useFieldsetRootContext(optional: true): FieldsetRootContext | undefined;
|
|
1320
|
-
declare function useFieldsetRootContext(optional?: false): FieldsetRootContext;
|
|
1321
3493
|
//#endregion
|
|
1322
|
-
//#region src/
|
|
1323
|
-
interface
|
|
1324
|
-
|
|
3494
|
+
//#region src/toolbar/root/ToolbarRootContext.d.ts
|
|
3495
|
+
interface ToolbarRootItemMetadata {
|
|
3496
|
+
focusableWhenDisabled: boolean;
|
|
1325
3497
|
}
|
|
1326
|
-
interface
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
*/
|
|
1337
|
-
validationMode?: FormValidationMode;
|
|
3498
|
+
interface ToolbarRootContext {
|
|
3499
|
+
disabled: Ref<boolean>;
|
|
3500
|
+
orientation: Ref<Orientation>;
|
|
3501
|
+
}
|
|
3502
|
+
declare const toolbarRootContextKey: InjectionKey<ToolbarRootContext>;
|
|
3503
|
+
declare function useToolbarRootContext(optional: true): ToolbarRootContext | undefined;
|
|
3504
|
+
declare function useToolbarRootContext(optional?: false): ToolbarRootContext;
|
|
3505
|
+
//#endregion
|
|
3506
|
+
//#region src/toolbar/root/ToolbarRootDataAttributes.d.ts
|
|
3507
|
+
declare enum ToolbarRootDataAttributes {
|
|
1338
3508
|
/**
|
|
1339
|
-
*
|
|
1340
|
-
* Keys correspond to the `name` attribute on `<FieldRoot>`.
|
|
3509
|
+
* Present when the toolbar is disabled.
|
|
1341
3510
|
*/
|
|
1342
|
-
|
|
3511
|
+
disabled = "data-disabled",
|
|
1343
3512
|
/**
|
|
1344
|
-
*
|
|
1345
|
-
* @
|
|
3513
|
+
* Indicates the orientation of the toolbar.
|
|
3514
|
+
* @type {'horizontal' | 'vertical'}
|
|
1346
3515
|
*/
|
|
1347
|
-
|
|
3516
|
+
orientation = "data-orientation"
|
|
1348
3517
|
}
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
state: FormState;
|
|
1357
|
-
actions: {
|
|
1358
|
-
validate: (fieldName?: string) => void;
|
|
1359
|
-
};
|
|
1360
|
-
};
|
|
3518
|
+
//#endregion
|
|
3519
|
+
//#region src/toolbar/separator/ToolbarSeparator.vue.d.ts
|
|
3520
|
+
interface ToolbarSeparatorState extends SeparatorState {}
|
|
3521
|
+
interface ToolbarSeparatorProps extends SeparatorProps {}
|
|
3522
|
+
declare var __VLS_8: {
|
|
3523
|
+
state: SeparatorState;
|
|
3524
|
+
};
|
|
1361
3525
|
type __VLS_Slots = {} & {
|
|
1362
|
-
default?: (props: typeof
|
|
1363
|
-
} & {
|
|
1364
|
-
default?: (props: typeof __VLS_10) => any;
|
|
3526
|
+
default?: (props: typeof __VLS_8) => any;
|
|
1365
3527
|
};
|
|
1366
|
-
declare const __VLS_base: vue.DefineComponent<
|
|
1367
|
-
actions: {
|
|
1368
|
-
validate: (fieldName?: string) => void;
|
|
1369
|
-
};
|
|
1370
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1371
|
-
formSubmit: (formValues: Record<string, unknown>, event: Event) => any;
|
|
1372
|
-
}, string, vue.PublicProps, Readonly<FormProps> & Readonly<{
|
|
1373
|
-
onFormSubmit?: ((formValues: Record<string, unknown>, event: Event) => any) | undefined;
|
|
1374
|
-
}>, {
|
|
1375
|
-
as: string | vue.Component;
|
|
1376
|
-
validationMode: FormValidationMode;
|
|
1377
|
-
noValidate: boolean;
|
|
1378
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3528
|
+
declare const __VLS_base: vue.DefineComponent<ToolbarSeparatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1379
3529
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1380
|
-
declare const _default$
|
|
3530
|
+
declare const _default$44: typeof __VLS_export;
|
|
1381
3531
|
type __VLS_WithSlots<T, S> = T & {
|
|
1382
3532
|
new (): {
|
|
1383
3533
|
$slots: S;
|
|
1384
3534
|
};
|
|
1385
|
-
}; //# sourceMappingURL=
|
|
3535
|
+
}; //# sourceMappingURL=ToolbarSeparator.vue.d.ts.map
|
|
1386
3536
|
//#endregion
|
|
1387
|
-
//#region src/
|
|
1388
|
-
declare
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
* - Event listeners: merged so the rightmost listener runs first and can prevent earlier listeners.
|
|
1396
|
-
* - `class`: merged in rightmost-first order.
|
|
1397
|
-
* - `style`: merged using Vue's native style merging.
|
|
1398
|
-
*/
|
|
1399
|
-
declare function mergeProps(...args: (Record<string, any> | undefined)[]): Record<string, any>;
|
|
1400
|
-
/**
|
|
1401
|
-
* Merges an array of Vue prop/attr objects using the same semantics as {@link mergeProps}.
|
|
1402
|
-
*
|
|
1403
|
-
* Useful when prop layers are assembled dynamically before being bound with `v-bind`.
|
|
1404
|
-
*/
|
|
1405
|
-
declare function mergePropsN(props: readonly (Record<string, any> | undefined)[]): Record<string, any>;
|
|
3537
|
+
//#region src/toolbar/separator/ToolbarSeparatorDataAttributes.d.ts
|
|
3538
|
+
declare enum ToolbarSeparatorDataAttributes {
|
|
3539
|
+
/**
|
|
3540
|
+
* Indicates the orientation of the toolbar.
|
|
3541
|
+
* @type {'horizontal' | 'vertical'}
|
|
3542
|
+
*/
|
|
3543
|
+
orientation = "data-orientation"
|
|
3544
|
+
}
|
|
1406
3545
|
//#endregion
|
|
1407
3546
|
//#region src/utils/getStateAttributesProps.d.ts
|
|
1408
3547
|
type StateAttributesMapping<State> = { [Property in keyof State]?: (state: State[Property]) => Record<string, string> | null };
|
|
@@ -1497,5 +3636,5 @@ declare const Slot: Component;
|
|
|
1497
3636
|
declare const name = "base-ui-vue";
|
|
1498
3637
|
declare const version = "0.0.0";
|
|
1499
3638
|
//#endregion
|
|
1500
|
-
export { _default as AccordionHeader, AccordionHeaderProps, _default$1 as AccordionItem, AccordionItemChangeEventDetails, AccordionItemChangeEventReason, type AccordionItemContext, AccordionItemProps, AccordionItemState, _default$2 as AccordionPanel, AccordionPanelProps, AccordionPanelState, _default$3 as AccordionRoot, AccordionRootChangeEventDetails, AccordionRootChangeEventReason, type AccordionRootContext, AccordionRootProps, AccordionRootState, _default$4 as AccordionTrigger, AccordionTriggerProps, AccordionValue, _default$5 as AvatarFallback, type AvatarFallbackProps, type AvatarFallbackState, _default$6 as AvatarImage, AvatarImageDataAttributes, type AvatarImageProps, type AvatarImageState, _default$7 as AvatarRoot, type AvatarRootProps, type AvatarRootState, _default$8 as Button, ButtonProps, ButtonState, CollapsibleChangeEventDetails, CollapsibleChangeEventReason, _default$
|
|
3639
|
+
export { _default as AccordionHeader, AccordionHeaderProps, _default$1 as AccordionItem, AccordionItemChangeEventDetails, AccordionItemChangeEventReason, type AccordionItemContext, AccordionItemProps, AccordionItemState, _default$2 as AccordionPanel, AccordionPanelProps, AccordionPanelState, _default$3 as AccordionRoot, AccordionRootChangeEventDetails, AccordionRootChangeEventReason, type AccordionRootContext, AccordionRootProps, AccordionRootState, _default$4 as AccordionTrigger, AccordionTriggerProps, AccordionValue, _default$5 as AvatarFallback, type AvatarFallbackProps, type AvatarFallbackState, _default$6 as AvatarImage, AvatarImageDataAttributes, type AvatarImageProps, type AvatarImageState, _default$7 as AvatarRoot, type AvatarRootProps, type AvatarRootState, _default$8 as Button, ButtonProps, ButtonState, type CSPContextValue, _default$9 as CSPProvider, type CSPProviderProps, Checkbox, _default$10 as CheckboxGroup, type CheckboxGroupContext, CheckboxGroupDataAttributes, type CheckboxGroupProps, type CheckboxGroupState, _default$11 as CheckboxIndicator, CheckboxIndicatorDataAttributes, type CheckboxIndicatorProps, type CheckboxIndicatorState, _default$12 as CheckboxRoot, type CheckboxRootContext, CheckboxRootDataAttributes, type CheckboxRootProps, type CheckboxRootState, CollapsibleChangeEventDetails, CollapsibleChangeEventReason, _default$13 as CollapsiblePanel, CollapsiblePanelProps, CollapsiblePanelState, _default$14 as CollapsibleRoot, type CollapsibleRootContext, CollapsibleRootProps, CollapsibleRootState, _default$15 as CollapsibleTrigger, CollapsibleTriggerProps, _default$16 as DirectionProvider, type DirectionProviderProps, _default$17 as FieldControl, FieldControlDataAttributes, type FieldControlProps, type FieldControlState, _default$18 as FieldDescription, type FieldDescriptionProps, type FieldDescriptionState, _default$19 as FieldError, type FieldErrorProps, type FieldErrorState, _default$20 as FieldItem, type FieldItemContext, type FieldItemProps, type FieldItemState, _default$21 as FieldLabel, type FieldLabelProps, type FieldLabelState, _default$22 as FieldRoot, type FieldRootContext, type FieldRootExpose, type FieldRootProps, type FieldRootState, _default$23 as FieldValidity, type FieldValidityData, type FieldValidityState, _default$24 as FieldsetLegend, type FieldsetLegendProps, type FieldsetLegendState, _default$25 as FieldsetRoot, type FieldsetRootContext, type FieldsetRootProps, type FieldsetRootState, _default$26 as Form, type FormActions, type FormContext, type FormErrors, type FormField, type FormProps, type FormState, type FormValidationMode, type ImageLoadingStatus, _default$11 as Indicator, RenderRef, _default$12 as Root, _default$27 as Separator, SeparatorDataAttributes, type SeparatorProps, type SeparatorState, _default$28 as SliderControl, SliderControlDataAttributes, type SliderControlProps, type SliderControlState, _default$29 as SliderIndicator, SliderIndicatorDataAttributes, type SliderIndicatorProps, type SliderIndicatorState, _default$30 as SliderLabel, type SliderLabelProps, type SliderLabelState, _default$31 as SliderRoot, type SliderRootChangeEventDetails, type SliderRootChangeEventReason, type SliderRootCommitEventDetails, type SliderRootCommitEventReason, type SliderRootContext, SliderRootDataAttributes, type SliderRootProps, type SliderRootState, _default$32 as SliderThumb, SliderThumbDataAttributes, type SliderThumbProps, type SliderThumbState, _default$33 as SliderTrack, SliderTrackDataAttributes, type SliderTrackProps, type SliderTrackState, _default$34 as SliderValue, SliderValueDataAttributes, type SliderValueProps, type SliderValueState, Slot, _default$35 as SwitchRoot, type SwitchRootChangeEventDetails, type SwitchRootChangeEventReason, type SwitchRootContext, SwitchRootDataAttributes, type SwitchRootProps, type SwitchRootState, _default$36 as SwitchThumb, SwitchThumbDataAttributes, type SwitchThumbProps, type SwitchThumbState, type TextDirection, type ThumbMetadata, _default$37 as Toggle, ToggleDataAttributes, _default$38 as ToggleGroup, type ToggleGroupContext, ToggleGroupDataAttributes, type ToggleGroupProps, type ToggleGroupState, type ToggleProps, type ToggleState, _default$39 as ToolbarButton, ToolbarButtonDataAttributes, type ToolbarButtonProps, type ToolbarButtonState, _default$40 as ToolbarGroup, type ToolbarGroupContext, ToolbarGroupDataAttributes, type ToolbarGroupProps, type ToolbarGroupState, _default$41 as ToolbarInput, ToolbarInputDataAttributes, type ToolbarInputProps, type ToolbarInputState, _default$42 as ToolbarLink, ToolbarLinkDataAttributes, type ToolbarLinkProps, type ToolbarLinkState, _default$43 as ToolbarRoot, type ToolbarRootContext, ToolbarRootDataAttributes, type ToolbarRootItemMetadata, type ToolbarRootProps, type ToolbarRootState, _default$44 as ToolbarSeparator, ToolbarSeparatorDataAttributes, type ToolbarSeparatorProps, type ToolbarSeparatorState, type TransitionStatus, type UseCheckboxGroupParentParameters, type UseCheckboxGroupParentReturnValue, UseRenderComponentProps, UseRenderElementProps, UseRenderParams, UseRenderReturn, accordionItemContextKey, accordionRootContextKey, checkboxGroupContextKey, checkboxRootContextKey, collapsibleRootContextKey, fieldItemContextKey, fieldRootContextKey, fieldsetRootContextKey, formContextKey, makeEventPreventable, mergeClasses, mergeObjects, mergeProps, mergePropsN, name, sliderRootContextKey, switchRootContextKey, toggleGroupContextKey, toolbarGroupContextKey, toolbarRootContextKey, useAccordionItemContext, useAccordionRootContext, useCSPContext, useCheckboxGroupContext, useCheckboxRootContext, useCollapsibleRootContext, useDirection, useFieldItemContext, useFieldRootContext, useFieldsetRootContext, useFormContext, useRender, useSliderRootContext, useSwitchRootContext, useToggleGroupContext, useToolbarGroupContext, useToolbarRootContext, version };
|
|
1501
3640
|
//# sourceMappingURL=index.d.ts.map
|