base-ui-vue 0.1.0 → 0.3.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/content/ScrollAreaContent.cjs +168 -0
- package/dist/content/ScrollAreaContent.cjs.map +1 -0
- package/dist/content/ScrollAreaContent.js +133 -0
- package/dist/content/ScrollAreaContent.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/corner/ScrollAreaCorner.cjs +77 -0
- package/dist/corner/ScrollAreaCorner.cjs.map +1 -0
- package/dist/corner/ScrollAreaCorner.js +72 -0
- package/dist/corner/ScrollAreaCorner.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 +113 -10
- package/dist/index.d.cts +3457 -603
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +3457 -603
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -5
- package/dist/index2.cjs +5897 -424
- package/dist/index2.cjs.map +1 -1
- package/dist/index2.js +5389 -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 +13 -0
- package/src/input/Input.vue +37 -0
- package/src/input/InputDataAttributes.ts +30 -0
- package/src/input/index.ts +4 -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/meter/index.ts +16 -0
- package/src/meter/indicator/MeterIndicator.vue +65 -0
- package/src/meter/label/MeterLabel.vue +63 -0
- package/src/meter/root/MeterRoot.vue +131 -0
- package/src/meter/root/MeterRootContext.ts +41 -0
- package/src/meter/track/MeterTrack.vue +46 -0
- package/src/meter/value/MeterValue.vue +85 -0
- package/src/progress/index.ts +23 -0
- package/src/progress/indicator/ProgressIndicator.vue +74 -0
- package/src/progress/label/ProgressLabel.vue +63 -0
- package/src/progress/root/ProgressRoot.vue +160 -0
- package/src/progress/root/ProgressRootContext.ts +51 -0
- package/src/progress/root/ProgressRootDataAttributes.ts +14 -0
- package/src/progress/root/stateAttributesMapping.ts +18 -0
- package/src/progress/track/ProgressTrack.vue +48 -0
- package/src/progress/value/ProgressValue.vue +92 -0
- package/src/scroll-area/constants.ts +2 -0
- package/src/scroll-area/content/ScrollAreaContent.vue +87 -0
- package/src/scroll-area/corner/ScrollAreaCorner.vue +64 -0
- package/src/scroll-area/index.ts +25 -0
- package/src/scroll-area/root/ScrollAreaRoot.vue +297 -0
- package/src/scroll-area/root/ScrollAreaRootContext.ts +89 -0
- package/src/scroll-area/root/ScrollAreaRootCssVars.ts +4 -0
- package/src/scroll-area/root/ScrollAreaRootDataAttributes.ts +9 -0
- package/src/scroll-area/root/stateAttributes.ts +14 -0
- package/src/scroll-area/scrollbar/ScrollAreaScrollbar.vue +263 -0
- package/src/scroll-area/scrollbar/ScrollAreaScrollbarContext.ts +20 -0
- package/src/scroll-area/scrollbar/ScrollAreaScrollbarCssVars.ts +4 -0
- package/src/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.ts +11 -0
- package/src/scroll-area/thumb/ScrollAreaThumb.vue +120 -0
- package/src/scroll-area/thumb/ScrollAreaThumbDataAttributes.ts +3 -0
- package/src/scroll-area/utils/getOffset.ts +34 -0
- package/src/scroll-area/viewport/ScrollAreaViewport.vue +379 -0
- package/src/scroll-area/viewport/ScrollAreaViewportContext.ts +20 -0
- package/src/scroll-area/viewport/ScrollAreaViewportCssVars.ts +6 -0
- package/src/scroll-area/viewport/ScrollAreaViewportDataAttributes.ts +9 -0
- 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 +32 -0
- package/src/utils/owner.ts +5 -0
- package/src/utils/resolveAriaLabelledBy.ts +10 -0
- package/src/utils/scrollEdges.ts +33 -0
- package/src/utils/styles.ts +28 -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.cts
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$48: {
|
|
273
283
|
props: Record<string, any>;
|
|
274
284
|
state: AccordionItemState<any>;
|
|
275
|
-
}, __VLS_10$
|
|
285
|
+
}, __VLS_10$41: {
|
|
276
286
|
state: AccordionItemState<any>;
|
|
277
287
|
};
|
|
278
|
-
type __VLS_Slots$
|
|
279
|
-
default?: (props: typeof __VLS_1$
|
|
288
|
+
type __VLS_Slots$58 = {} & {
|
|
289
|
+
default?: (props: typeof __VLS_1$48) => any;
|
|
280
290
|
} & {
|
|
281
|
-
default?: (props: typeof __VLS_10$
|
|
291
|
+
default?: (props: typeof __VLS_10$41) => any;
|
|
282
292
|
};
|
|
283
|
-
declare const __VLS_base$
|
|
293
|
+
declare const __VLS_base$58: 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$61: __VLS_WithSlots$58<typeof __VLS_base$58, __VLS_Slots$58>;
|
|
297
|
+
declare const _default: typeof __VLS_export$61;
|
|
298
|
+
type __VLS_WithSlots$58<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$47: {
|
|
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$40: {
|
|
300
310
|
state: AccordionItemState<any>;
|
|
301
311
|
};
|
|
302
|
-
type __VLS_Slots$
|
|
303
|
-
default?: (props: typeof __VLS_1$
|
|
312
|
+
type __VLS_Slots$57 = {} & {
|
|
313
|
+
default?: (props: typeof __VLS_1$47) => any;
|
|
304
314
|
} & {
|
|
305
|
-
default?: (props: typeof __VLS_10$
|
|
315
|
+
default?: (props: typeof __VLS_10$40) => any;
|
|
306
316
|
};
|
|
307
|
-
declare const __VLS_base$
|
|
317
|
+
declare const __VLS_base$57: 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$60: __VLS_WithSlots$57<typeof __VLS_base$57, __VLS_Slots$57>;
|
|
326
|
+
declare const _default$1: typeof __VLS_export$60;
|
|
327
|
+
type __VLS_WithSlots$57<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$46: {
|
|
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$39: {
|
|
339
349
|
state: AccordionPanelState;
|
|
340
350
|
};
|
|
341
|
-
type __VLS_Slots$
|
|
342
|
-
default?: (props: typeof __VLS_1$
|
|
351
|
+
type __VLS_Slots$56 = {} & {
|
|
352
|
+
default?: (props: typeof __VLS_1$46) => any;
|
|
343
353
|
} & {
|
|
344
|
-
default?: (props: typeof __VLS_10$
|
|
354
|
+
default?: (props: typeof __VLS_10$39) => any;
|
|
345
355
|
};
|
|
346
|
-
declare const __VLS_base$
|
|
356
|
+
declare const __VLS_base$56: 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$59: __VLS_WithSlots$56<typeof __VLS_base$56, __VLS_Slots$56>;
|
|
360
|
+
declare const _default$2: typeof __VLS_export$59;
|
|
361
|
+
type __VLS_WithSlots$56<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$55 = {} & {
|
|
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$55: 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$58: __VLS_WithSlots$55<typeof __VLS_base$55, __VLS_Slots$55>;
|
|
394
|
+
declare const _default$3: typeof __VLS_export$58;
|
|
395
|
+
type __VLS_WithSlots$55<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$45: {
|
|
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$38: {
|
|
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$54 = {} & {
|
|
437
|
+
default?: (props: typeof __VLS_1$45) => any;
|
|
428
438
|
} & {
|
|
429
|
-
default?: (props: typeof __VLS_10$
|
|
439
|
+
default?: (props: typeof __VLS_10$38) => any;
|
|
430
440
|
};
|
|
431
|
-
declare const __VLS_base$
|
|
441
|
+
declare const __VLS_base$54: 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$57: __VLS_WithSlots$54<typeof __VLS_base$54, __VLS_Slots$54>;
|
|
446
|
+
declare const _default$4: typeof __VLS_export$57;
|
|
447
|
+
type __VLS_WithSlots$54<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$44: {
|
|
450
460
|
props: Record<string, any>;
|
|
451
461
|
state: AvatarRootState;
|
|
452
|
-
}, __VLS_10$
|
|
462
|
+
}, __VLS_10$37: {
|
|
453
463
|
state: AvatarRootState;
|
|
454
464
|
};
|
|
455
|
-
type __VLS_Slots$
|
|
456
|
-
default?: (props: typeof __VLS_1$
|
|
465
|
+
type __VLS_Slots$53 = {} & {
|
|
466
|
+
default?: (props: typeof __VLS_1$44) => any;
|
|
457
467
|
} & {
|
|
458
|
-
default?: (props: typeof __VLS_10$
|
|
468
|
+
default?: (props: typeof __VLS_10$37) => any;
|
|
459
469
|
};
|
|
460
|
-
declare const __VLS_base$
|
|
470
|
+
declare const __VLS_base$53: 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$56: __VLS_WithSlots$53<typeof __VLS_base$53, __VLS_Slots$53>;
|
|
474
|
+
declare const _default$7: typeof __VLS_export$56;
|
|
475
|
+
type __VLS_WithSlots$53<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$43: {
|
|
480
490
|
props: Record<string, any>;
|
|
481
491
|
state: AvatarFallbackState;
|
|
482
|
-
}, __VLS_10$
|
|
492
|
+
}, __VLS_10$36: {
|
|
483
493
|
state: AvatarFallbackState;
|
|
484
494
|
};
|
|
485
|
-
type __VLS_Slots$
|
|
486
|
-
default?: (props: typeof __VLS_1$
|
|
495
|
+
type __VLS_Slots$52 = {} & {
|
|
496
|
+
default?: (props: typeof __VLS_1$43) => any;
|
|
487
497
|
} & {
|
|
488
|
-
default?: (props: typeof __VLS_10$
|
|
498
|
+
default?: (props: typeof __VLS_10$36) => any;
|
|
489
499
|
};
|
|
490
|
-
declare const __VLS_base$
|
|
500
|
+
declare const __VLS_base$52: 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$55: __VLS_WithSlots$52<typeof __VLS_base$52, __VLS_Slots$52>;
|
|
504
|
+
declare const _default$5: typeof __VLS_export$55;
|
|
505
|
+
type __VLS_WithSlots$52<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$42: {
|
|
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$35: {
|
|
518
528
|
state: AvatarImageState;
|
|
519
529
|
};
|
|
520
|
-
type __VLS_Slots$
|
|
521
|
-
default?: (props: typeof __VLS_1$
|
|
530
|
+
type __VLS_Slots$51 = {} & {
|
|
531
|
+
default?: (props: typeof __VLS_1$42) => any;
|
|
522
532
|
} & {
|
|
523
|
-
default?: (props: typeof __VLS_10$
|
|
533
|
+
default?: (props: typeof __VLS_10$35) => any;
|
|
524
534
|
};
|
|
525
|
-
declare const __VLS_base$
|
|
535
|
+
declare const __VLS_base$51: 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$54: __VLS_WithSlots$51<typeof __VLS_base$51, __VLS_Slots$51>;
|
|
543
|
+
declare const _default$6: typeof __VLS_export$54;
|
|
544
|
+
type __VLS_WithSlots$51<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$41: {
|
|
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$34: {
|
|
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$50 = {} & {
|
|
599
|
+
default?: (props: typeof __VLS_1$41) => any;
|
|
590
600
|
} & {
|
|
591
|
-
default?: (props: typeof __VLS_10$
|
|
601
|
+
default?: (props: typeof __VLS_10$34) => any;
|
|
592
602
|
};
|
|
593
|
-
declare const __VLS_base$
|
|
603
|
+
declare const __VLS_base$50: 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$53: __VLS_WithSlots$50<typeof __VLS_base$50, __VLS_Slots$50>;
|
|
610
|
+
declare const _default$8: typeof __VLS_export$53;
|
|
611
|
+
type __VLS_WithSlots$50<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,491 +727,3539 @@ interface FieldRootProps extends BaseUIComponentProps<FieldRootState> {
|
|
|
921
727
|
*/
|
|
922
728
|
touched?: boolean;
|
|
923
729
|
}
|
|
924
|
-
declare var __VLS_1$
|
|
730
|
+
declare var __VLS_1$40: {
|
|
925
731
|
props: Record<string, any>;
|
|
926
732
|
state: FieldRootState;
|
|
927
|
-
}, __VLS_10$
|
|
733
|
+
}, __VLS_10$33: {
|
|
928
734
|
state: FieldRootState;
|
|
929
735
|
};
|
|
930
|
-
type __VLS_Slots$
|
|
931
|
-
default?: (props: typeof __VLS_1$
|
|
736
|
+
type __VLS_Slots$49 = {} & {
|
|
737
|
+
default?: (props: typeof __VLS_1$40) => any;
|
|
932
738
|
} & {
|
|
933
|
-
default?: (props: typeof __VLS_10$
|
|
739
|
+
default?: (props: typeof __VLS_10$33) => any;
|
|
934
740
|
};
|
|
935
|
-
declare const __VLS_base$
|
|
741
|
+
declare const __VLS_base$49: 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$52: __VLS_WithSlots$49<typeof __VLS_base$49, __VLS_Slots$49>;
|
|
750
|
+
declare const _default$22: typeof __VLS_export$52;
|
|
751
|
+
type __VLS_WithSlots$49<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
|
-
|
|
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
|
+
*/
|
|
766
|
+
disabled: boolean;
|
|
767
|
+
/**
|
|
768
|
+
* Whether the user should be unable to tick or untick the checkbox.
|
|
769
|
+
*/
|
|
770
|
+
readOnly: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* Whether the user must tick the checkbox before submitting a form.
|
|
773
|
+
*/
|
|
774
|
+
required: boolean;
|
|
775
|
+
/**
|
|
776
|
+
* Whether the checkbox is in a mixed state: neither ticked, nor unticked.
|
|
777
|
+
*/
|
|
778
|
+
indeterminate: boolean;
|
|
779
|
+
}
|
|
780
|
+
interface CheckboxRootProps extends NonNativeButtonProps, BaseUIComponentProps<CheckboxRootState> {
|
|
781
|
+
/**
|
|
782
|
+
* The id of the input element.
|
|
783
|
+
*/
|
|
784
|
+
'id'?: string;
|
|
785
|
+
/**
|
|
786
|
+
* Identifies the field when a form is submitted.
|
|
787
|
+
* @default undefined
|
|
788
|
+
*/
|
|
789
|
+
'name'?: string;
|
|
790
|
+
/**
|
|
791
|
+
* Identifies the form that owns the hidden input.
|
|
792
|
+
* Useful when the checkbox is rendered outside the form.
|
|
793
|
+
*/
|
|
794
|
+
'form'?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Whether the checkbox is currently ticked.
|
|
797
|
+
*
|
|
798
|
+
* To render an uncontrolled checkbox, use the `defaultChecked` prop instead.
|
|
799
|
+
* @default undefined
|
|
800
|
+
*/
|
|
801
|
+
'checked'?: boolean;
|
|
802
|
+
/**
|
|
803
|
+
* Whether the checkbox is initially ticked.
|
|
804
|
+
*
|
|
805
|
+
* To render a controlled checkbox, use the `checked` prop instead.
|
|
806
|
+
* @default false
|
|
807
|
+
*/
|
|
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;
|
|
850
|
+
}
|
|
851
|
+
declare var __VLS_1$39: {
|
|
852
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
853
|
+
props: Record<string, any>;
|
|
854
|
+
state: CheckboxRootState;
|
|
855
|
+
}, __VLS_9$1: {
|
|
856
|
+
state: CheckboxRootState;
|
|
857
|
+
};
|
|
858
|
+
type __VLS_Slots$48 = {} & {
|
|
859
|
+
default?: (props: typeof __VLS_1$39) => any;
|
|
860
|
+
} & {
|
|
861
|
+
default?: (props: typeof __VLS_9$1) => any;
|
|
862
|
+
};
|
|
863
|
+
declare const __VLS_base$48: 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;
|
|
891
|
+
as: string | vue.Component;
|
|
892
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
893
|
+
declare const __VLS_export$51: __VLS_WithSlots$48<typeof __VLS_base$48, __VLS_Slots$48>;
|
|
894
|
+
declare const _default$12: typeof __VLS_export$51;
|
|
895
|
+
type __VLS_WithSlots$48<T, S> = T & {
|
|
896
|
+
new (): {
|
|
897
|
+
$slots: S;
|
|
898
|
+
};
|
|
899
|
+
}; //# sourceMappingURL=CheckboxRoot.vue.d.ts.map
|
|
900
|
+
//#endregion
|
|
901
|
+
//#region src/checkbox/indicator/CheckboxIndicator.vue.d.ts
|
|
902
|
+
interface CheckboxIndicatorState extends CheckboxRootState {
|
|
903
|
+
transitionStatus: TransitionStatus;
|
|
904
|
+
}
|
|
905
|
+
interface CheckboxIndicatorProps extends BaseUIComponentProps<CheckboxIndicatorState> {
|
|
906
|
+
/**
|
|
907
|
+
* Whether to keep the element in the DOM when the checkbox is not checked.
|
|
908
|
+
* @default false
|
|
909
|
+
*/
|
|
910
|
+
keepMounted?: boolean;
|
|
911
|
+
}
|
|
912
|
+
declare var __VLS_1$38: {
|
|
913
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
914
|
+
props: Record<string, any>;
|
|
915
|
+
state: CheckboxIndicatorState;
|
|
916
|
+
}, __VLS_10$32: {
|
|
917
|
+
state: CheckboxIndicatorState;
|
|
918
|
+
};
|
|
919
|
+
type __VLS_Slots$47 = {} & {
|
|
920
|
+
default?: (props: typeof __VLS_1$38) => any;
|
|
921
|
+
} & {
|
|
922
|
+
default?: (props: typeof __VLS_10$32) => any;
|
|
923
|
+
};
|
|
924
|
+
declare const __VLS_base$47: vue.DefineComponent<CheckboxIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CheckboxIndicatorProps> & Readonly<{}>, {
|
|
925
|
+
as: string | vue.Component;
|
|
926
|
+
keepMounted: boolean;
|
|
927
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
928
|
+
declare const __VLS_export$50: __VLS_WithSlots$47<typeof __VLS_base$47, __VLS_Slots$47>;
|
|
929
|
+
declare const _default$11: typeof __VLS_export$50;
|
|
930
|
+
type __VLS_WithSlots$47<T, S> = T & {
|
|
931
|
+
new (): {
|
|
932
|
+
$slots: S;
|
|
933
|
+
};
|
|
934
|
+
}; //# sourceMappingURL=CheckboxIndicator.vue.d.ts.map
|
|
935
|
+
//#endregion
|
|
936
|
+
//#region src/checkbox/indicator/CheckboxIndicatorDataAttributes.d.ts
|
|
937
|
+
declare enum CheckboxIndicatorDataAttributes {
|
|
938
|
+
/**
|
|
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.
|
|
1224
|
+
* @default false
|
|
1225
|
+
*/
|
|
956
1226
|
disabled?: boolean;
|
|
957
|
-
|
|
958
|
-
defaultValue?: string;
|
|
959
|
-
autofocus?: boolean;
|
|
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;
|
|
1227
|
+
id?: string;
|
|
969
1228
|
}
|
|
970
|
-
declare var __VLS_1$
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
1229
|
+
declare var __VLS_1$37: {
|
|
1230
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1231
|
+
props: Record<string, any>;
|
|
1232
|
+
state: CheckboxGroupState;
|
|
1233
|
+
}, __VLS_10$31: {
|
|
1234
|
+
state: CheckboxGroupState;
|
|
1235
|
+
};
|
|
1236
|
+
type __VLS_Slots$46 = {} & {
|
|
1237
|
+
default?: (props: typeof __VLS_1$37) => any;
|
|
1238
|
+
} & {
|
|
1239
|
+
default?: (props: typeof __VLS_10$31) => any;
|
|
974
1240
|
};
|
|
975
|
-
|
|
1241
|
+
declare const __VLS_base$46: 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
|
+
}>, {
|
|
1262
|
+
disabled: boolean;
|
|
1263
|
+
as: string | vue.Component;
|
|
1264
|
+
defaultValue: string[];
|
|
1265
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1266
|
+
declare const __VLS_export$49: __VLS_WithSlots$46<typeof __VLS_base$46, __VLS_Slots$46>;
|
|
1267
|
+
declare const _default$10: typeof __VLS_export$49;
|
|
1268
|
+
type __VLS_WithSlots$46<T, S> = T & {
|
|
1269
|
+
new (): {
|
|
1270
|
+
$slots: S;
|
|
1271
|
+
};
|
|
1272
|
+
}; //# sourceMappingURL=CheckboxGroup.vue.d.ts.map
|
|
1273
|
+
//#endregion
|
|
1274
|
+
//#region src/field/root/useFieldValidation.d.ts
|
|
1275
|
+
interface FieldValidationProps {
|
|
1276
|
+
'aria-describedby'?: string;
|
|
1277
|
+
'aria-invalid'?: true;
|
|
1278
|
+
}
|
|
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$36: {
|
|
1393
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1394
|
+
props: Record<string, any>;
|
|
1395
|
+
state: CollapsiblePanelState;
|
|
1396
|
+
}, __VLS_10$30: {
|
|
1397
|
+
state: CollapsiblePanelState;
|
|
1398
|
+
};
|
|
1399
|
+
type __VLS_Slots$45 = {} & {
|
|
1400
|
+
default?: (props: typeof __VLS_1$36) => any;
|
|
1401
|
+
} & {
|
|
1402
|
+
default?: (props: typeof __VLS_10$30) => any;
|
|
1403
|
+
};
|
|
1404
|
+
declare const __VLS_base$45: 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$48: __VLS_WithSlots$45<typeof __VLS_base$45, __VLS_Slots$45>;
|
|
1410
|
+
declare const _default$13: typeof __VLS_export$48;
|
|
1411
|
+
type __VLS_WithSlots$45<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$35: {
|
|
1419
|
+
props: Record<string, any>;
|
|
1420
|
+
state: CollapsibleRootState;
|
|
1421
|
+
}, __VLS_10$29: {
|
|
1422
|
+
state: CollapsibleRootState;
|
|
1423
|
+
};
|
|
1424
|
+
type __VLS_Slots$44 = {} & {
|
|
1425
|
+
default?: (props: typeof __VLS_1$35) => any;
|
|
1426
|
+
} & {
|
|
1427
|
+
default?: (props: typeof __VLS_10$29) => any;
|
|
1428
|
+
};
|
|
1429
|
+
declare const __VLS_base$44: 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$47: __VLS_WithSlots$44<typeof __VLS_base$44, __VLS_Slots$44>;
|
|
1439
|
+
declare const _default$14: typeof __VLS_export$47;
|
|
1440
|
+
type __VLS_WithSlots$44<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$34: {
|
|
1503
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1504
|
+
props: Record<string, any>;
|
|
1505
|
+
state: vue.Ref<CollapsibleRootState, CollapsibleRootState>;
|
|
1506
|
+
}, __VLS_10$28: {
|
|
1507
|
+
state: vue.Ref<CollapsibleRootState, CollapsibleRootState>;
|
|
1508
|
+
};
|
|
1509
|
+
type __VLS_Slots$43 = {} & {
|
|
1510
|
+
default?: (props: typeof __VLS_1$34) => any;
|
|
1511
|
+
} & {
|
|
1512
|
+
default?: (props: typeof __VLS_10$28) => any;
|
|
1513
|
+
};
|
|
1514
|
+
declare const __VLS_base$43: 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$46: __VLS_WithSlots$43<typeof __VLS_base$43, __VLS_Slots$43>;
|
|
1519
|
+
declare const _default$15: typeof __VLS_export$46;
|
|
1520
|
+
type __VLS_WithSlots$43<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$33: {};
|
|
1549
|
+
type __VLS_Slots$42 = {} & {
|
|
1550
|
+
default?: (props: typeof __VLS_1$33) => any;
|
|
1551
|
+
};
|
|
1552
|
+
declare const __VLS_base$42: 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$45: __VLS_WithSlots$42<typeof __VLS_base$42, __VLS_Slots$42>;
|
|
1556
|
+
declare const _default$9: typeof __VLS_export$45;
|
|
1557
|
+
type __VLS_WithSlots$42<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$32: {};
|
|
1565
|
+
type __VLS_Slots$41 = {} & {
|
|
1566
|
+
default?: (props: typeof __VLS_1$32) => any;
|
|
1567
|
+
};
|
|
1568
|
+
declare const __VLS_base$41: 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$44: __VLS_WithSlots$41<typeof __VLS_base$41, __VLS_Slots$41>;
|
|
1572
|
+
declare const _default$16: typeof __VLS_export$44;
|
|
1573
|
+
type __VLS_WithSlots$41<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$31: {
|
|
1599
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1600
|
+
props: Record<string, any>;
|
|
1601
|
+
state: FieldRootState;
|
|
1602
|
+
};
|
|
1603
|
+
type __VLS_Slots$40 = {} & {
|
|
1604
|
+
default?: (props: typeof __VLS_1$31) => any;
|
|
1605
|
+
};
|
|
1606
|
+
declare const __VLS_base$40: 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$43: __VLS_WithSlots$40<typeof __VLS_base$40, __VLS_Slots$40>;
|
|
1616
|
+
declare const _default$17: typeof __VLS_export$43;
|
|
1617
|
+
type __VLS_WithSlots$40<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$30: {
|
|
1664
|
+
props: Record<string, any>;
|
|
1665
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1666
|
+
}, __VLS_10$27: {
|
|
1667
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1668
|
+
};
|
|
1669
|
+
type __VLS_Slots$39 = {} & {
|
|
1670
|
+
default?: (props: typeof __VLS_1$30) => any;
|
|
1671
|
+
} & {
|
|
1672
|
+
default?: (props: typeof __VLS_10$27) => any;
|
|
1673
|
+
};
|
|
1674
|
+
declare const __VLS_base$39: 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$42: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
|
|
1678
|
+
declare const _default$18: typeof __VLS_export$42;
|
|
1679
|
+
type __VLS_WithSlots$39<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$29: {
|
|
1702
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1703
|
+
props: Record<string, any>;
|
|
1704
|
+
state: FieldErrorState;
|
|
1705
|
+
message: string | string[];
|
|
1706
|
+
}, __VLS_10$26: {};
|
|
1707
|
+
type __VLS_Slots$38 = {} & {
|
|
1708
|
+
default?: (props: typeof __VLS_1$29) => any;
|
|
1709
|
+
} & {
|
|
1710
|
+
default?: (props: typeof __VLS_10$26) => any;
|
|
1711
|
+
};
|
|
1712
|
+
declare const __VLS_base$38: 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$41: __VLS_WithSlots$38<typeof __VLS_base$38, __VLS_Slots$38>;
|
|
1716
|
+
declare const _default$19: typeof __VLS_export$41;
|
|
1717
|
+
type __VLS_WithSlots$38<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$37 = {} & {
|
|
1740
|
+
default?: (props: typeof __VLS_8$4) => any;
|
|
1741
|
+
} & {
|
|
1742
|
+
default?: (props: typeof __VLS_16$1) => any;
|
|
1743
|
+
};
|
|
1744
|
+
declare const __VLS_base$37: 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$40: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
|
|
1749
|
+
declare const _default$20: typeof __VLS_export$40;
|
|
1750
|
+
type __VLS_WithSlots$37<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
|
|
1763
|
+
//#region src/field/label/FieldLabel.vue.d.ts
|
|
1764
|
+
type FieldLabelState = FieldRootState;
|
|
1765
|
+
interface FieldLabelProps extends BaseUIComponentProps<FieldLabelState> {
|
|
1766
|
+
/**
|
|
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$28: {
|
|
1777
|
+
props: Record<string, any>;
|
|
1778
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1779
|
+
}, __VLS_10$25: {
|
|
1780
|
+
state: Readonly<vue.Ref<FieldRootState, FieldRootState>>;
|
|
1781
|
+
};
|
|
1782
|
+
type __VLS_Slots$36 = {} & {
|
|
1783
|
+
default?: (props: typeof __VLS_1$28) => any;
|
|
1784
|
+
} & {
|
|
1785
|
+
default?: (props: typeof __VLS_10$25) => any;
|
|
1786
|
+
};
|
|
1787
|
+
declare const __VLS_base$36: 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$39: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
|
|
1792
|
+
declare const _default$21: typeof __VLS_export$39;
|
|
1793
|
+
type __VLS_WithSlots$36<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$27: {
|
|
1832
|
+
validity: FieldValidityData["state"];
|
|
1833
|
+
transitionStatus: TransitionStatus;
|
|
1834
|
+
value: unknown;
|
|
1835
|
+
error: string;
|
|
1836
|
+
errors: string[];
|
|
1837
|
+
initialValue: unknown;
|
|
1838
|
+
};
|
|
1839
|
+
type __VLS_Slots$35 = {} & {
|
|
1840
|
+
default?: (props: typeof __VLS_1$27) => any;
|
|
1841
|
+
};
|
|
1842
|
+
declare const __VLS_base$35: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1843
|
+
declare const __VLS_export$38: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
|
|
1844
|
+
declare const _default$23: typeof __VLS_export$38;
|
|
1845
|
+
type __VLS_WithSlots$35<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$26: {
|
|
1866
|
+
props: Record<string, any>;
|
|
1867
|
+
state: FieldsetLegendState;
|
|
1868
|
+
}, __VLS_10$24: {
|
|
1869
|
+
state: FieldsetLegendState;
|
|
1870
|
+
};
|
|
1871
|
+
type __VLS_Slots$34 = {} & {
|
|
1872
|
+
default?: (props: typeof __VLS_1$26) => any;
|
|
1873
|
+
} & {
|
|
1874
|
+
default?: (props: typeof __VLS_10$24) => any;
|
|
1875
|
+
};
|
|
1876
|
+
declare const __VLS_base$34: 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$37: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
1880
|
+
declare const _default$24: typeof __VLS_export$37;
|
|
1881
|
+
type __VLS_WithSlots$34<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$25: {
|
|
1902
|
+
props: Record<string, any>;
|
|
1903
|
+
state: FieldsetRootState;
|
|
1904
|
+
}, __VLS_10$23: {
|
|
1905
|
+
state: FieldsetRootState;
|
|
1906
|
+
};
|
|
1907
|
+
type __VLS_Slots$33 = {} & {
|
|
1908
|
+
default?: (props: typeof __VLS_1$25) => any;
|
|
1909
|
+
} & {
|
|
1910
|
+
default?: (props: typeof __VLS_10$23) => any;
|
|
1911
|
+
};
|
|
1912
|
+
declare const __VLS_base$33: 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$36: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
1917
|
+
declare const _default$25: typeof __VLS_export$36;
|
|
1918
|
+
type __VLS_WithSlots$33<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$24: {
|
|
1962
|
+
props: Record<string, any>;
|
|
1963
|
+
state: FormState;
|
|
1964
|
+
actions: {
|
|
1965
|
+
validate: (fieldName?: string) => void;
|
|
1966
|
+
};
|
|
1967
|
+
}, __VLS_10$22: {
|
|
1968
|
+
state: FormState;
|
|
1969
|
+
actions: {
|
|
1970
|
+
validate: (fieldName?: string) => void;
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
type __VLS_Slots$32 = {} & {
|
|
1974
|
+
default?: (props: typeof __VLS_1$24) => any;
|
|
1975
|
+
} & {
|
|
1976
|
+
default?: (props: typeof __VLS_10$22) => any;
|
|
1977
|
+
};
|
|
1978
|
+
declare const __VLS_base$32: 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$35: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
1992
|
+
declare const _default$26: typeof __VLS_export$35;
|
|
1993
|
+
type __VLS_WithSlots$32<T, S> = T & {
|
|
1994
|
+
new (): {
|
|
1995
|
+
$slots: S;
|
|
1996
|
+
};
|
|
1997
|
+
}; //# sourceMappingURL=Form.vue.d.ts.map
|
|
1998
|
+
//#endregion
|
|
1999
|
+
//#region src/input/Input.vue.d.ts
|
|
2000
|
+
type InputState = FieldControlState;
|
|
2001
|
+
interface InputProps extends FieldControlProps {}
|
|
2002
|
+
declare var __VLS_11: {
|
|
2003
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2004
|
+
props: Record<string, any>;
|
|
2005
|
+
state: FieldRootState;
|
|
2006
|
+
};
|
|
2007
|
+
type __VLS_Slots$31 = {} & {
|
|
2008
|
+
default?: (props: typeof __VLS_11) => any;
|
|
2009
|
+
};
|
|
2010
|
+
declare const __VLS_base$31: vue.DefineComponent<InputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2011
|
+
valueChange: (value: string, event: Event) => any;
|
|
2012
|
+
}, string, vue.PublicProps, Readonly<InputProps> & Readonly<{
|
|
2013
|
+
onValueChange?: ((value: string, event: Event) => any) | undefined;
|
|
2014
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2015
|
+
declare const __VLS_export$34: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
2016
|
+
declare const _default$27: typeof __VLS_export$34;
|
|
2017
|
+
type __VLS_WithSlots$31<T, S> = T & {
|
|
2018
|
+
new (): {
|
|
2019
|
+
$slots: S;
|
|
2020
|
+
};
|
|
2021
|
+
}; //# sourceMappingURL=Input.vue.d.ts.map
|
|
2022
|
+
//#endregion
|
|
2023
|
+
//#region src/input/InputDataAttributes.d.ts
|
|
2024
|
+
declare enum InputDataAttributes {
|
|
2025
|
+
/**
|
|
2026
|
+
* Present when the input is disabled.
|
|
2027
|
+
*/
|
|
2028
|
+
disabled = "data-disabled",
|
|
2029
|
+
/**
|
|
2030
|
+
* Present when the input is in a valid state (when wrapped in FieldRoot).
|
|
2031
|
+
*/
|
|
2032
|
+
valid = "data-valid",
|
|
2033
|
+
/**
|
|
2034
|
+
* Present when the input is in an invalid state (when wrapped in FieldRoot).
|
|
2035
|
+
*/
|
|
2036
|
+
invalid = "data-invalid",
|
|
2037
|
+
/**
|
|
2038
|
+
* Present when the input has been touched (when wrapped in FieldRoot).
|
|
2039
|
+
*/
|
|
2040
|
+
touched = "data-touched",
|
|
2041
|
+
/**
|
|
2042
|
+
* Present when the input's value has changed (when wrapped in FieldRoot).
|
|
2043
|
+
*/
|
|
2044
|
+
dirty = "data-dirty",
|
|
2045
|
+
/**
|
|
2046
|
+
* Present when the input is filled (when wrapped in FieldRoot).
|
|
2047
|
+
*/
|
|
2048
|
+
filled = "data-filled",
|
|
2049
|
+
/**
|
|
2050
|
+
* Present when the input is focused (when wrapped in FieldRoot).
|
|
2051
|
+
*/
|
|
2052
|
+
focused = "data-focused"
|
|
2053
|
+
}
|
|
2054
|
+
//#endregion
|
|
2055
|
+
//#region src/merge-props/mergeProps.d.ts
|
|
2056
|
+
declare function makeEventPreventable<T extends Event>(event: T): BaseUIEvent<T>;
|
|
2057
|
+
declare function mergeClasses(ourClass: string | undefined, theirClass: string | undefined): string | undefined;
|
|
2058
|
+
declare function mergeObjects<A extends object | undefined, B extends object | undefined>(a: A, b: B): NonNullable<A> | NonNullable<B> | (A & B) | undefined;
|
|
2059
|
+
/**
|
|
2060
|
+
* Merges Vue prop/attr objects using Base UI Vue semantics.
|
|
2061
|
+
*
|
|
2062
|
+
* Later props overwrite earlier ones, except for:
|
|
2063
|
+
* - Event listeners: merged so the rightmost listener runs first and can prevent earlier listeners.
|
|
2064
|
+
* - `class`: merged in rightmost-first order.
|
|
2065
|
+
* - `style`: merged using Vue's native style merging.
|
|
2066
|
+
*/
|
|
2067
|
+
declare function mergeProps(...args: (Record<string, any> | undefined)[]): Record<string, any>;
|
|
2068
|
+
/**
|
|
2069
|
+
* Merges an array of Vue prop/attr objects using the same semantics as {@link mergeProps}.
|
|
2070
|
+
*
|
|
2071
|
+
* Useful when prop layers are assembled dynamically before being bound with `v-bind`.
|
|
2072
|
+
*/
|
|
2073
|
+
declare function mergePropsN(props: readonly (Record<string, any> | undefined)[]): Record<string, any>;
|
|
2074
|
+
//#endregion
|
|
2075
|
+
//#region src/meter/root/MeterRoot.vue.d.ts
|
|
2076
|
+
interface MeterRootState {}
|
|
2077
|
+
interface MeterRootProps extends BaseUIComponentProps<MeterRootState> {
|
|
2078
|
+
/**
|
|
2079
|
+
* A string value that provides a user-friendly name for `aria-valuenow`,
|
|
2080
|
+
* the current value of the meter.
|
|
2081
|
+
*/
|
|
2082
|
+
ariaValuetext?: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* Options to format the value.
|
|
2085
|
+
*/
|
|
2086
|
+
format?: Intl.NumberFormatOptions;
|
|
2087
|
+
/**
|
|
2088
|
+
* A function that returns a string value that provides a human-readable
|
|
2089
|
+
* text alternative for `aria-valuenow`, the current value of the meter.
|
|
2090
|
+
*/
|
|
2091
|
+
getAriaValueText?: (formattedValue: string, value: number) => string;
|
|
2092
|
+
/**
|
|
2093
|
+
* The locale used by `Intl.NumberFormat` when formatting the value.
|
|
2094
|
+
* Defaults to the user's runtime locale.
|
|
2095
|
+
*/
|
|
2096
|
+
locale?: Intl.LocalesArgument;
|
|
2097
|
+
/**
|
|
2098
|
+
* The maximum value.
|
|
2099
|
+
* @default 100
|
|
2100
|
+
*/
|
|
2101
|
+
max?: number;
|
|
2102
|
+
/**
|
|
2103
|
+
* The minimum value.
|
|
2104
|
+
* @default 0
|
|
2105
|
+
*/
|
|
2106
|
+
min?: number;
|
|
2107
|
+
/**
|
|
2108
|
+
* The current value.
|
|
2109
|
+
*/
|
|
2110
|
+
value: number;
|
|
2111
|
+
}
|
|
2112
|
+
declare var __VLS_1$23: {
|
|
2113
|
+
props: Record<string, any>;
|
|
2114
|
+
state: MeterRootState;
|
|
2115
|
+
}, __VLS_10$21: {
|
|
2116
|
+
state: MeterRootState;
|
|
2117
|
+
};
|
|
2118
|
+
type __VLS_Slots$30 = {} & {
|
|
2119
|
+
default?: (props: typeof __VLS_1$23) => any;
|
|
2120
|
+
} & {
|
|
2121
|
+
default?: (props: typeof __VLS_10$21) => any;
|
|
2122
|
+
};
|
|
2123
|
+
declare const __VLS_base$30: vue.DefineComponent<MeterRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MeterRootProps> & Readonly<{}>, {
|
|
2124
|
+
as: string | vue.Component;
|
|
2125
|
+
min: number;
|
|
2126
|
+
max: number;
|
|
2127
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2128
|
+
declare const __VLS_export$33: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
2129
|
+
declare const _default$30: typeof __VLS_export$33;
|
|
2130
|
+
type __VLS_WithSlots$30<T, S> = T & {
|
|
2131
|
+
new (): {
|
|
2132
|
+
$slots: S;
|
|
2133
|
+
};
|
|
2134
|
+
}; //# sourceMappingURL=MeterRoot.vue.d.ts.map
|
|
2135
|
+
//#endregion
|
|
2136
|
+
//#region src/meter/indicator/MeterIndicator.vue.d.ts
|
|
2137
|
+
interface MeterIndicatorState extends MeterRootState {}
|
|
2138
|
+
interface MeterIndicatorProps extends BaseUIComponentProps<MeterIndicatorState> {}
|
|
2139
|
+
declare var __VLS_1$22: {
|
|
2140
|
+
props: Record<string, any>;
|
|
2141
|
+
state: MeterIndicatorState;
|
|
2142
|
+
}, __VLS_10$20: {
|
|
2143
|
+
state: MeterIndicatorState;
|
|
2144
|
+
};
|
|
2145
|
+
type __VLS_Slots$29 = {} & {
|
|
2146
|
+
default?: (props: typeof __VLS_1$22) => any;
|
|
2147
|
+
} & {
|
|
2148
|
+
default?: (props: typeof __VLS_10$20) => any;
|
|
2149
|
+
};
|
|
2150
|
+
declare const __VLS_base$29: vue.DefineComponent<MeterIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MeterIndicatorProps> & Readonly<{}>, {
|
|
2151
|
+
as: string | vue.Component;
|
|
2152
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2153
|
+
declare const __VLS_export$32: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
2154
|
+
declare const _default$28: typeof __VLS_export$32;
|
|
2155
|
+
type __VLS_WithSlots$29<T, S> = T & {
|
|
2156
|
+
new (): {
|
|
2157
|
+
$slots: S;
|
|
2158
|
+
};
|
|
2159
|
+
}; //# sourceMappingURL=MeterIndicator.vue.d.ts.map
|
|
2160
|
+
//#endregion
|
|
2161
|
+
//#region src/meter/label/MeterLabel.vue.d.ts
|
|
2162
|
+
interface MeterLabelState extends MeterRootState {}
|
|
2163
|
+
interface MeterLabelProps extends BaseUIComponentProps<MeterLabelState> {
|
|
2164
|
+
/**
|
|
2165
|
+
* The id of the label element. When provided, it overrides the automatically
|
|
2166
|
+
* generated one.
|
|
2167
|
+
*/
|
|
2168
|
+
id?: string;
|
|
2169
|
+
}
|
|
2170
|
+
declare var __VLS_1$21: {
|
|
2171
|
+
props: Record<string, any>;
|
|
2172
|
+
state: MeterLabelState;
|
|
2173
|
+
}, __VLS_10$19: {
|
|
2174
|
+
state: MeterLabelState;
|
|
2175
|
+
};
|
|
2176
|
+
type __VLS_Slots$28 = {} & {
|
|
2177
|
+
default?: (props: typeof __VLS_1$21) => any;
|
|
2178
|
+
} & {
|
|
2179
|
+
default?: (props: typeof __VLS_10$19) => any;
|
|
2180
|
+
};
|
|
2181
|
+
declare const __VLS_base$28: vue.DefineComponent<MeterLabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MeterLabelProps> & Readonly<{}>, {
|
|
2182
|
+
as: string | vue.Component;
|
|
2183
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2184
|
+
declare const __VLS_export$31: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
2185
|
+
declare const _default$29: typeof __VLS_export$31;
|
|
2186
|
+
type __VLS_WithSlots$28<T, S> = T & {
|
|
2187
|
+
new (): {
|
|
2188
|
+
$slots: S;
|
|
2189
|
+
};
|
|
2190
|
+
}; //# sourceMappingURL=MeterLabel.vue.d.ts.map
|
|
2191
|
+
//#endregion
|
|
2192
|
+
//#region src/meter/root/MeterRootContext.d.ts
|
|
2193
|
+
interface MeterRootContext {
|
|
2194
|
+
/**
|
|
2195
|
+
* The formatted current value of the meter.
|
|
2196
|
+
*/
|
|
2197
|
+
formattedValue: Ref<string>;
|
|
2198
|
+
/**
|
|
2199
|
+
* The maximum allowed value of the meter.
|
|
2200
|
+
*/
|
|
2201
|
+
max: Ref<number>;
|
|
2202
|
+
/**
|
|
2203
|
+
* The minimum allowed value of the meter.
|
|
2204
|
+
*/
|
|
2205
|
+
min: Ref<number>;
|
|
2206
|
+
/**
|
|
2207
|
+
* The raw current value of the meter.
|
|
2208
|
+
*/
|
|
2209
|
+
value: Ref<number>;
|
|
2210
|
+
/**
|
|
2211
|
+
* Registers the DOM id of the `<MeterLabel>` for `aria-labelledby`.
|
|
2212
|
+
*/
|
|
2213
|
+
setLabelId: (id: string | undefined) => void;
|
|
2214
|
+
}
|
|
2215
|
+
declare const meterRootContextKey: InjectionKey<MeterRootContext>;
|
|
2216
|
+
declare function useMeterRootContext(optional: true): MeterRootContext | undefined;
|
|
2217
|
+
declare function useMeterRootContext(optional?: false): MeterRootContext;
|
|
2218
|
+
//#endregion
|
|
2219
|
+
//#region src/meter/track/MeterTrack.vue.d.ts
|
|
2220
|
+
interface MeterTrackState extends MeterRootState {}
|
|
2221
|
+
interface MeterTrackProps extends BaseUIComponentProps<MeterTrackState> {}
|
|
2222
|
+
declare var __VLS_1$20: {
|
|
2223
|
+
props: Record<string, any>;
|
|
2224
|
+
state: MeterTrackState;
|
|
2225
|
+
}, __VLS_10$18: {
|
|
2226
|
+
state: MeterTrackState;
|
|
2227
|
+
};
|
|
2228
|
+
type __VLS_Slots$27 = {} & {
|
|
2229
|
+
default?: (props: typeof __VLS_1$20) => any;
|
|
2230
|
+
} & {
|
|
2231
|
+
default?: (props: typeof __VLS_10$18) => any;
|
|
2232
|
+
};
|
|
2233
|
+
declare const __VLS_base$27: vue.DefineComponent<MeterTrackProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MeterTrackProps> & Readonly<{}>, {
|
|
2234
|
+
as: string | vue.Component;
|
|
2235
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2236
|
+
declare const __VLS_export$30: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
2237
|
+
declare const _default$31: typeof __VLS_export$30;
|
|
2238
|
+
type __VLS_WithSlots$27<T, S> = T & {
|
|
2239
|
+
new (): {
|
|
2240
|
+
$slots: S;
|
|
2241
|
+
};
|
|
2242
|
+
}; //# sourceMappingURL=MeterTrack.vue.d.ts.map
|
|
2243
|
+
//#endregion
|
|
2244
|
+
//#region src/meter/value/MeterValue.vue.d.ts
|
|
2245
|
+
interface MeterValueState extends MeterRootState {}
|
|
2246
|
+
interface MeterValueProps extends BaseUIComponentProps<MeterValueState> {}
|
|
2247
|
+
interface MeterValueSlotProps {
|
|
2248
|
+
formattedValue: string;
|
|
2249
|
+
value: number;
|
|
2250
|
+
}
|
|
2251
|
+
interface MeterValueRenderlessSlotProps extends MeterValueSlotProps {
|
|
2252
|
+
props: Record<string, unknown>;
|
|
2253
|
+
state: MeterValueState;
|
|
2254
|
+
}
|
|
2255
|
+
type __VLS_Slots$26 = {
|
|
2256
|
+
default?: (props: MeterValueSlotProps | MeterValueRenderlessSlotProps) => unknown;
|
|
2257
|
+
};
|
|
2258
|
+
declare const __VLS_base$26: vue.DefineComponent<MeterValueProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MeterValueProps> & Readonly<{}>, {
|
|
2259
|
+
as: string | vue.Component;
|
|
2260
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2261
|
+
declare const __VLS_export$29: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
2262
|
+
declare const _default$32: typeof __VLS_export$29;
|
|
2263
|
+
type __VLS_WithSlots$26<T, S> = T & {
|
|
2264
|
+
new (): {
|
|
2265
|
+
$slots: S;
|
|
2266
|
+
};
|
|
2267
|
+
}; //# sourceMappingURL=MeterValue.vue.d.ts.map
|
|
2268
|
+
//#endregion
|
|
2269
|
+
//#region src/progress/root/ProgressRoot.vue.d.ts
|
|
2270
|
+
type ProgressStatus = 'indeterminate' | 'progressing' | 'complete';
|
|
2271
|
+
interface ProgressRootState {
|
|
2272
|
+
/**
|
|
2273
|
+
* The current status.
|
|
2274
|
+
*/
|
|
2275
|
+
status: ProgressStatus;
|
|
2276
|
+
}
|
|
2277
|
+
interface ProgressRootProps extends BaseUIComponentProps<ProgressRootState> {
|
|
2278
|
+
/**
|
|
2279
|
+
* A string value that provides a user-friendly name for `aria-valuenow`.
|
|
2280
|
+
* Takes precedence over `getAriaValueText`.
|
|
2281
|
+
*/
|
|
2282
|
+
ariaValuetext?: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* Options to format the value.
|
|
2285
|
+
*/
|
|
2286
|
+
format?: Intl.NumberFormatOptions;
|
|
2287
|
+
/**
|
|
2288
|
+
* A function that returns a string value for `aria-valuetext`.
|
|
2289
|
+
* Receives the formatted value (or `null` when indeterminate) and the raw
|
|
2290
|
+
* value.
|
|
2291
|
+
*/
|
|
2292
|
+
getAriaValueText?: (formattedValue: string | null, value: number | null) => string;
|
|
2293
|
+
/**
|
|
2294
|
+
* The locale used by `Intl.NumberFormat` when formatting the value.
|
|
2295
|
+
* Defaults to the user's runtime locale.
|
|
2296
|
+
*/
|
|
2297
|
+
locale?: Intl.LocalesArgument;
|
|
2298
|
+
/**
|
|
2299
|
+
* The maximum value.
|
|
2300
|
+
* @default 100
|
|
2301
|
+
*/
|
|
2302
|
+
max?: number;
|
|
2303
|
+
/**
|
|
2304
|
+
* The minimum value.
|
|
2305
|
+
* @default 0
|
|
2306
|
+
*/
|
|
2307
|
+
min?: number;
|
|
2308
|
+
/**
|
|
2309
|
+
* The current value. The component is indeterminate when value is `null`.
|
|
2310
|
+
* @default null
|
|
2311
|
+
*/
|
|
2312
|
+
value: number | null;
|
|
2313
|
+
}
|
|
2314
|
+
declare var __VLS_1$19: {
|
|
2315
|
+
props: Record<string, any>;
|
|
2316
|
+
state: ProgressRootState;
|
|
2317
|
+
}, __VLS_10$17: {
|
|
2318
|
+
state: ProgressRootState;
|
|
2319
|
+
};
|
|
2320
|
+
type __VLS_Slots$25 = {} & {
|
|
2321
|
+
default?: (props: typeof __VLS_1$19) => any;
|
|
2322
|
+
} & {
|
|
2323
|
+
default?: (props: typeof __VLS_10$17) => any;
|
|
2324
|
+
};
|
|
2325
|
+
declare const __VLS_base$25: vue.DefineComponent<ProgressRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressRootProps> & Readonly<{}>, {
|
|
2326
|
+
as: string | vue.Component;
|
|
2327
|
+
min: number;
|
|
2328
|
+
max: number;
|
|
2329
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2330
|
+
declare const __VLS_export$28: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
2331
|
+
declare const _default$35: typeof __VLS_export$28;
|
|
2332
|
+
type __VLS_WithSlots$25<T, S> = T & {
|
|
2333
|
+
new (): {
|
|
2334
|
+
$slots: S;
|
|
2335
|
+
};
|
|
2336
|
+
}; //# sourceMappingURL=ProgressRoot.vue.d.ts.map
|
|
2337
|
+
//#endregion
|
|
2338
|
+
//#region src/progress/indicator/ProgressIndicator.vue.d.ts
|
|
2339
|
+
interface ProgressIndicatorState extends ProgressRootState {}
|
|
2340
|
+
interface ProgressIndicatorProps extends BaseUIComponentProps<ProgressIndicatorState> {}
|
|
2341
|
+
declare var __VLS_1$18: {
|
|
2342
|
+
props: Record<string, any>;
|
|
2343
|
+
state: ProgressRootState;
|
|
2344
|
+
}, __VLS_10$16: {
|
|
2345
|
+
state: ProgressRootState;
|
|
2346
|
+
};
|
|
2347
|
+
type __VLS_Slots$24 = {} & {
|
|
2348
|
+
default?: (props: typeof __VLS_1$18) => any;
|
|
2349
|
+
} & {
|
|
2350
|
+
default?: (props: typeof __VLS_10$16) => any;
|
|
2351
|
+
};
|
|
2352
|
+
declare const __VLS_base$24: vue.DefineComponent<ProgressIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressIndicatorProps> & Readonly<{}>, {
|
|
2353
|
+
as: string | vue.Component;
|
|
2354
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2355
|
+
declare const __VLS_export$27: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
2356
|
+
declare const _default$33: typeof __VLS_export$27;
|
|
2357
|
+
type __VLS_WithSlots$24<T, S> = T & {
|
|
2358
|
+
new (): {
|
|
2359
|
+
$slots: S;
|
|
2360
|
+
};
|
|
2361
|
+
}; //# sourceMappingURL=ProgressIndicator.vue.d.ts.map
|
|
2362
|
+
//#endregion
|
|
2363
|
+
//#region src/progress/label/ProgressLabel.vue.d.ts
|
|
2364
|
+
interface ProgressLabelState extends ProgressRootState {}
|
|
2365
|
+
interface ProgressLabelProps extends BaseUIComponentProps<ProgressLabelState> {
|
|
2366
|
+
/**
|
|
2367
|
+
* The id of the label element. When provided, it overrides the
|
|
2368
|
+
* automatically generated one.
|
|
2369
|
+
*/
|
|
2370
|
+
id?: string;
|
|
2371
|
+
}
|
|
2372
|
+
declare var __VLS_1$17: {
|
|
2373
|
+
props: Record<string, any>;
|
|
2374
|
+
state: ProgressRootState;
|
|
2375
|
+
}, __VLS_10$15: {
|
|
2376
|
+
state: ProgressRootState;
|
|
2377
|
+
};
|
|
2378
|
+
type __VLS_Slots$23 = {} & {
|
|
2379
|
+
default?: (props: typeof __VLS_1$17) => any;
|
|
2380
|
+
} & {
|
|
2381
|
+
default?: (props: typeof __VLS_10$15) => any;
|
|
2382
|
+
};
|
|
2383
|
+
declare const __VLS_base$23: vue.DefineComponent<ProgressLabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressLabelProps> & Readonly<{}>, {
|
|
2384
|
+
as: string | vue.Component;
|
|
2385
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2386
|
+
declare const __VLS_export$26: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
2387
|
+
declare const _default$34: typeof __VLS_export$26;
|
|
2388
|
+
type __VLS_WithSlots$23<T, S> = T & {
|
|
2389
|
+
new (): {
|
|
2390
|
+
$slots: S;
|
|
2391
|
+
};
|
|
2392
|
+
}; //# sourceMappingURL=ProgressLabel.vue.d.ts.map
|
|
2393
|
+
//#endregion
|
|
2394
|
+
//#region src/progress/root/ProgressRootContext.d.ts
|
|
2395
|
+
interface ProgressRootContext {
|
|
2396
|
+
/**
|
|
2397
|
+
* The formatted current value of the progress bar.
|
|
2398
|
+
* Empty string when the component is indeterminate.
|
|
2399
|
+
*/
|
|
2400
|
+
formattedValue: Ref<string>;
|
|
2401
|
+
/**
|
|
2402
|
+
* The maximum allowed value of the progress bar.
|
|
2403
|
+
*/
|
|
2404
|
+
max: Ref<number>;
|
|
2405
|
+
/**
|
|
2406
|
+
* The minimum allowed value of the progress bar.
|
|
2407
|
+
*/
|
|
2408
|
+
min: Ref<number>;
|
|
2409
|
+
/**
|
|
2410
|
+
* The raw current value, or `null` when indeterminate.
|
|
2411
|
+
*/
|
|
2412
|
+
value: Ref<number | null>;
|
|
2413
|
+
/**
|
|
2414
|
+
* Derived completion status. Used to produce `data-*` state attributes.
|
|
2415
|
+
*/
|
|
2416
|
+
status: ComputedRef<ProgressStatus>;
|
|
2417
|
+
/**
|
|
2418
|
+
* The state of the root component.
|
|
2419
|
+
*/
|
|
2420
|
+
state: ComputedRef<ProgressRootState>;
|
|
2421
|
+
/**
|
|
2422
|
+
* Registers the DOM id of the `<ProgressLabel>` for `aria-labelledby`.
|
|
2423
|
+
*/
|
|
2424
|
+
setLabelId: (id: string | undefined) => void;
|
|
2425
|
+
}
|
|
2426
|
+
declare const progressRootContextKey: InjectionKey<ProgressRootContext>;
|
|
2427
|
+
declare function useProgressRootContext(optional: true): ProgressRootContext | undefined;
|
|
2428
|
+
declare function useProgressRootContext(optional?: false): ProgressRootContext;
|
|
2429
|
+
//#endregion
|
|
2430
|
+
//#region src/progress/root/ProgressRootDataAttributes.d.ts
|
|
2431
|
+
declare enum ProgressRootDataAttributes {
|
|
2432
|
+
/**
|
|
2433
|
+
* Present when the progress has completed.
|
|
2434
|
+
*/
|
|
2435
|
+
complete = "data-complete",
|
|
2436
|
+
/**
|
|
2437
|
+
* Present when the progress is in indeterminate state.
|
|
2438
|
+
*/
|
|
2439
|
+
indeterminate = "data-indeterminate",
|
|
2440
|
+
/**
|
|
2441
|
+
* Present while the progress is progressing.
|
|
2442
|
+
*/
|
|
2443
|
+
progressing = "data-progressing"
|
|
2444
|
+
}
|
|
2445
|
+
//#endregion
|
|
2446
|
+
//#region src/utils/getStateAttributesProps.d.ts
|
|
2447
|
+
type StateAttributesMapping<State> = { [Property in keyof State]?: (state: State[Property]) => Record<string, string> | null };
|
|
2448
|
+
//#endregion
|
|
2449
|
+
//#region src/progress/root/stateAttributesMapping.d.ts
|
|
2450
|
+
declare const progressStateAttributesMapping: StateAttributesMapping<ProgressRootState>;
|
|
2451
|
+
//#endregion
|
|
2452
|
+
//#region src/progress/track/ProgressTrack.vue.d.ts
|
|
2453
|
+
interface ProgressTrackState extends ProgressRootState {}
|
|
2454
|
+
interface ProgressTrackProps extends BaseUIComponentProps<ProgressTrackState> {}
|
|
2455
|
+
declare var __VLS_1$16: {
|
|
2456
|
+
props: Record<string, any>;
|
|
2457
|
+
state: ProgressRootState;
|
|
2458
|
+
}, __VLS_10$14: {
|
|
2459
|
+
state: ProgressRootState;
|
|
2460
|
+
};
|
|
2461
|
+
type __VLS_Slots$22 = {} & {
|
|
2462
|
+
default?: (props: typeof __VLS_1$16) => any;
|
|
2463
|
+
} & {
|
|
2464
|
+
default?: (props: typeof __VLS_10$14) => any;
|
|
2465
|
+
};
|
|
2466
|
+
declare const __VLS_base$22: vue.DefineComponent<ProgressTrackProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressTrackProps> & Readonly<{}>, {
|
|
2467
|
+
as: string | vue.Component;
|
|
2468
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2469
|
+
declare const __VLS_export$25: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
2470
|
+
declare const _default$36: typeof __VLS_export$25;
|
|
2471
|
+
type __VLS_WithSlots$22<T, S> = T & {
|
|
2472
|
+
new (): {
|
|
2473
|
+
$slots: S;
|
|
2474
|
+
};
|
|
2475
|
+
}; //# sourceMappingURL=ProgressTrack.vue.d.ts.map
|
|
2476
|
+
//#endregion
|
|
2477
|
+
//#region src/progress/value/ProgressValue.vue.d.ts
|
|
2478
|
+
interface ProgressValueState extends ProgressRootState {}
|
|
2479
|
+
interface ProgressValueProps extends BaseUIComponentProps<ProgressValueState> {}
|
|
2480
|
+
interface ProgressValueSlotProps {
|
|
2481
|
+
/**
|
|
2482
|
+
* Formatted value. `"indeterminate"` when the root value is `null`.
|
|
2483
|
+
*/
|
|
2484
|
+
formattedValue: string | 'indeterminate';
|
|
2485
|
+
/**
|
|
2486
|
+
* Raw numeric value, or `null` when indeterminate.
|
|
2487
|
+
*/
|
|
2488
|
+
value: number | null;
|
|
2489
|
+
}
|
|
2490
|
+
interface ProgressValueRenderlessSlotProps extends ProgressValueSlotProps {
|
|
2491
|
+
props: Record<string, unknown>;
|
|
2492
|
+
state: ProgressValueState;
|
|
2493
|
+
}
|
|
2494
|
+
type __VLS_Slots$21 = {
|
|
2495
|
+
default?: (props: ProgressValueSlotProps | ProgressValueRenderlessSlotProps) => unknown;
|
|
2496
|
+
};
|
|
2497
|
+
declare const __VLS_base$21: vue.DefineComponent<ProgressValueProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressValueProps> & Readonly<{}>, {
|
|
2498
|
+
as: string | vue.Component;
|
|
2499
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2500
|
+
declare const __VLS_export$24: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2501
|
+
declare const _default$37: typeof __VLS_export$24;
|
|
2502
|
+
type __VLS_WithSlots$21<T, S> = T & {
|
|
2503
|
+
new (): {
|
|
2504
|
+
$slots: S;
|
|
2505
|
+
};
|
|
2506
|
+
}; //# sourceMappingURL=ProgressValue.vue.d.ts.map
|
|
2507
|
+
//#endregion
|
|
2508
|
+
//#region src/separator/Separator.vue.d.ts
|
|
2509
|
+
interface SeparatorState {
|
|
2510
|
+
/**
|
|
2511
|
+
* The orientation of the separator.
|
|
2512
|
+
*/
|
|
2513
|
+
orientation: Orientation;
|
|
2514
|
+
}
|
|
2515
|
+
interface SeparatorProps extends BaseUIComponentProps<SeparatorState> {
|
|
2516
|
+
/**
|
|
2517
|
+
* The orientation of the separator.
|
|
2518
|
+
* @default 'horizontal'
|
|
2519
|
+
*/
|
|
2520
|
+
orientation?: Orientation;
|
|
2521
|
+
}
|
|
2522
|
+
declare var __VLS_1$15: {
|
|
2523
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2524
|
+
props: Record<string, any>;
|
|
2525
|
+
state: SeparatorState;
|
|
2526
|
+
}, __VLS_10$13: {
|
|
2527
|
+
state: SeparatorState;
|
|
2528
|
+
};
|
|
2529
|
+
type __VLS_Slots$20 = {} & {
|
|
2530
|
+
default?: (props: typeof __VLS_1$15) => any;
|
|
2531
|
+
} & {
|
|
2532
|
+
default?: (props: typeof __VLS_10$13) => any;
|
|
2533
|
+
};
|
|
2534
|
+
declare const __VLS_base$20: vue.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
2535
|
+
as: string | vue.Component;
|
|
2536
|
+
orientation: Orientation;
|
|
2537
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2538
|
+
declare const __VLS_export$23: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
2539
|
+
declare const _default$44: typeof __VLS_export$23;
|
|
2540
|
+
type __VLS_WithSlots$20<T, S> = T & {
|
|
2541
|
+
new (): {
|
|
2542
|
+
$slots: S;
|
|
2543
|
+
};
|
|
2544
|
+
}; //# sourceMappingURL=Separator.vue.d.ts.map
|
|
2545
|
+
//#endregion
|
|
2546
|
+
//#region src/separator/SeparatorDataAttributes.d.ts
|
|
2547
|
+
declare enum SeparatorDataAttributes {
|
|
2548
|
+
/**
|
|
2549
|
+
* Indicates the orientation of the separator.
|
|
2550
|
+
* @type {'horizontal' | 'vertical'}
|
|
2551
|
+
*/
|
|
2552
|
+
orientation = "data-orientation"
|
|
2553
|
+
}
|
|
2554
|
+
//#endregion
|
|
2555
|
+
//#region src/slider/root/SliderRoot.vue.d.ts
|
|
2556
|
+
type SliderRootChangeEventReason = typeof REASONS.inputChange | typeof REASONS.trackPress | typeof REASONS.drag | typeof REASONS.keyboard | typeof REASONS.none;
|
|
2557
|
+
type SliderRootCommitEventReason = SliderRootChangeEventReason;
|
|
2558
|
+
type SliderRootChangeEventDetails = BaseUIChangeEventDetails<SliderRootChangeEventReason, {
|
|
2559
|
+
/**
|
|
2560
|
+
* The index of the active thumb at the time of the change.
|
|
2561
|
+
*/
|
|
2562
|
+
activeThumbIndex: number;
|
|
2563
|
+
}>;
|
|
2564
|
+
type SliderRootCommitEventDetails = BaseUIGenericEventDetails<SliderRootCommitEventReason>;
|
|
2565
|
+
interface SliderRootState extends FieldRootState {
|
|
2566
|
+
/**
|
|
2567
|
+
* The index of the active thumb.
|
|
2568
|
+
*/
|
|
2569
|
+
activeThumbIndex: number;
|
|
2570
|
+
/**
|
|
2571
|
+
* Whether the component should ignore user interaction.
|
|
2572
|
+
*/
|
|
2573
|
+
disabled: boolean;
|
|
2574
|
+
/**
|
|
2575
|
+
* Whether the thumb is currently being dragged.
|
|
2576
|
+
*/
|
|
2577
|
+
dragging: boolean;
|
|
2578
|
+
/**
|
|
2579
|
+
* The maximum value.
|
|
2580
|
+
*/
|
|
2581
|
+
max: number;
|
|
2582
|
+
/**
|
|
2583
|
+
* The minimum value.
|
|
2584
|
+
*/
|
|
2585
|
+
min: number;
|
|
2586
|
+
/**
|
|
2587
|
+
* The minimum steps between values in a range slider.
|
|
2588
|
+
* @default 0
|
|
2589
|
+
*/
|
|
2590
|
+
minStepsBetweenValues: number;
|
|
2591
|
+
/**
|
|
2592
|
+
* The component orientation.
|
|
2593
|
+
*/
|
|
2594
|
+
orientation: Orientation;
|
|
2595
|
+
/**
|
|
2596
|
+
* The step increment of the slider when incrementing or decrementing. It will snap
|
|
2597
|
+
* to multiples of this value. Decimal values are supported.
|
|
2598
|
+
* @default 1
|
|
2599
|
+
*/
|
|
2600
|
+
step: number;
|
|
2601
|
+
/**
|
|
2602
|
+
* The raw number value of the slider.
|
|
2603
|
+
*/
|
|
2604
|
+
values: readonly number[];
|
|
2605
|
+
}
|
|
2606
|
+
interface SliderRootProps<Value extends number | readonly number[] = number | readonly number[]> extends BaseUIComponentProps<SliderRootState> {
|
|
2607
|
+
/**
|
|
2608
|
+
* The uncontrolled value of the slider when it's initially rendered.
|
|
2609
|
+
*
|
|
2610
|
+
* To render a controlled slider, use the `value` prop instead.
|
|
2611
|
+
*/
|
|
2612
|
+
defaultValue?: Value;
|
|
2613
|
+
/**
|
|
2614
|
+
* Whether the slider should ignore user interaction.
|
|
2615
|
+
* @default false
|
|
2616
|
+
*/
|
|
2617
|
+
disabled?: boolean;
|
|
2618
|
+
/**
|
|
2619
|
+
* Options to format the input value.
|
|
2620
|
+
*/
|
|
2621
|
+
format?: Intl.NumberFormatOptions;
|
|
2622
|
+
/**
|
|
2623
|
+
* The locale used by `Intl.NumberFormat` when formatting the value.
|
|
2624
|
+
* Defaults to the user's runtime locale.
|
|
2625
|
+
*/
|
|
2626
|
+
locale?: Intl.LocalesArgument;
|
|
2627
|
+
/**
|
|
2628
|
+
* The maximum allowed value of the slider.
|
|
2629
|
+
* Should not be equal to min.
|
|
2630
|
+
* @default 100
|
|
2631
|
+
*/
|
|
2632
|
+
max?: number;
|
|
2633
|
+
/**
|
|
2634
|
+
* The minimum allowed value of the slider.
|
|
2635
|
+
* Should not be equal to min.
|
|
2636
|
+
* @default 0
|
|
2637
|
+
*/
|
|
2638
|
+
min?: number;
|
|
2639
|
+
/**
|
|
2640
|
+
* The minimum steps between values in a range slider.
|
|
2641
|
+
* @default 0
|
|
2642
|
+
*/
|
|
2643
|
+
minStepsBetweenValues?: number;
|
|
2644
|
+
/**
|
|
2645
|
+
* Identifies the field when a form is submitted.
|
|
2646
|
+
*/
|
|
2647
|
+
name?: string;
|
|
2648
|
+
/**
|
|
2649
|
+
* Identifies the form that owns the slider inputs.
|
|
2650
|
+
* Useful when the slider is rendered outside the form.
|
|
2651
|
+
*/
|
|
2652
|
+
form?: string;
|
|
2653
|
+
/**
|
|
2654
|
+
* The component orientation.
|
|
2655
|
+
* @default 'horizontal'
|
|
2656
|
+
*/
|
|
2657
|
+
orientation?: Orientation;
|
|
2658
|
+
/**
|
|
2659
|
+
* The granularity with which the slider can step through values. (A "discrete" slider.)
|
|
2660
|
+
* The `min` prop serves as the origin for the valid values.
|
|
2661
|
+
* We recommend (max - min) to be evenly divisible by the step.
|
|
2662
|
+
* @default 1
|
|
2663
|
+
*/
|
|
2664
|
+
step?: number;
|
|
2665
|
+
/**
|
|
2666
|
+
* The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down.
|
|
2667
|
+
* @default 10
|
|
2668
|
+
*/
|
|
2669
|
+
largeStep?: number;
|
|
2670
|
+
/**
|
|
2671
|
+
* How the thumb(s) are aligned relative to `Slider.Control` when the value is at `min` or `max`:
|
|
2672
|
+
* - `center`: The center of the thumb is aligned with the control edge
|
|
2673
|
+
* - `edge`: The thumb is inset within the control such that its edge is aligned with the control edge
|
|
2674
|
+
* - `edge-client-only`: Same as `edge` but renders after React hydration on the client, reducing bundle size in return
|
|
2675
|
+
* @default 'center'
|
|
2676
|
+
*/
|
|
2677
|
+
thumbAlignment?: 'center' | 'edge' | 'edge-client-only';
|
|
2678
|
+
/**
|
|
2679
|
+
* Controls how thumbs behave when they collide during pointer interactions.
|
|
2680
|
+
*
|
|
2681
|
+
* - `'push'` (default): Thumbs push each other without restoring their previous positions when dragged back.
|
|
2682
|
+
* - `'swap'`: Thumbs swap places when dragged past each other.
|
|
2683
|
+
* - `'none'`: Thumbs cannot move past each other; excess movement is ignored.
|
|
2684
|
+
*
|
|
2685
|
+
* @default 'push'
|
|
2686
|
+
*/
|
|
2687
|
+
thumbCollisionBehavior?: 'push' | 'swap' | 'none';
|
|
2688
|
+
/**
|
|
2689
|
+
* The value of the slider.
|
|
2690
|
+
* For ranged sliders, provide an array with two values.
|
|
2691
|
+
*/
|
|
2692
|
+
value?: Value;
|
|
2693
|
+
id?: string;
|
|
2694
|
+
ariaLabelledby?: string;
|
|
2695
|
+
}
|
|
2696
|
+
type IntlNumberFormatOptionsRef = Readonly<{
|
|
2697
|
+
value: Intl.NumberFormatOptions | undefined;
|
|
2698
|
+
}>;
|
|
2699
|
+
type __VLS_Props = SliderRootProps;
|
|
2700
|
+
declare var __VLS_8$3: {
|
|
2701
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2702
|
+
props: Record<string, any>;
|
|
2703
|
+
state: SliderRootState;
|
|
2704
|
+
}, __VLS_16: {};
|
|
2705
|
+
type __VLS_Slots$19 = {} & {
|
|
2706
|
+
default?: (props: typeof __VLS_8$3) => any;
|
|
2707
|
+
} & {
|
|
2708
|
+
default?: (props: typeof __VLS_16) => any;
|
|
2709
|
+
};
|
|
2710
|
+
declare const __VLS_base$19: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2711
|
+
valueChange: (value: number | readonly number[], details: SliderRootChangeEventDetails) => any;
|
|
2712
|
+
valueCommitted: (value: number | readonly number[], details: SliderRootCommitEventDetails) => any;
|
|
2713
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
2714
|
+
onValueChange?: ((value: number | readonly number[], details: SliderRootChangeEventDetails) => any) | undefined;
|
|
2715
|
+
onValueCommitted?: ((value: number | readonly number[], details: SliderRootCommitEventDetails) => any) | undefined;
|
|
2716
|
+
}>, {
|
|
2717
|
+
disabled: boolean;
|
|
2718
|
+
as: string | vue.Component;
|
|
2719
|
+
orientation: Orientation;
|
|
2720
|
+
min: number;
|
|
2721
|
+
max: number;
|
|
2722
|
+
step: number;
|
|
2723
|
+
minStepsBetweenValues: number;
|
|
2724
|
+
largeStep: number;
|
|
2725
|
+
thumbAlignment: "center" | "edge" | "edge-client-only";
|
|
2726
|
+
thumbCollisionBehavior: "push" | "swap" | "none";
|
|
2727
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2728
|
+
declare const __VLS_export$22: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
2729
|
+
declare const _default$48: typeof __VLS_export$22;
|
|
2730
|
+
type __VLS_WithSlots$19<T, S> = T & {
|
|
2731
|
+
new (): {
|
|
2732
|
+
$slots: S;
|
|
2733
|
+
};
|
|
2734
|
+
}; //# sourceMappingURL=SliderRoot.vue.d.ts.map
|
|
2735
|
+
//#endregion
|
|
2736
|
+
//#region src/slider/control/SliderControl.vue.d.ts
|
|
2737
|
+
interface SliderControlState extends SliderRootState {}
|
|
2738
|
+
interface SliderControlProps extends BaseUIComponentProps<SliderControlState> {}
|
|
2739
|
+
declare var __VLS_1$14: {
|
|
2740
|
+
ref: ((el: Element | ComponentPublicInstance | null) => void) | undefined;
|
|
2741
|
+
props: Record<string, any>;
|
|
2742
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2743
|
+
}, __VLS_10$12: {};
|
|
2744
|
+
type __VLS_Slots$18 = {} & {
|
|
2745
|
+
default?: (props: typeof __VLS_1$14) => any;
|
|
2746
|
+
} & {
|
|
2747
|
+
default?: (props: typeof __VLS_10$12) => any;
|
|
2748
|
+
};
|
|
2749
|
+
declare const __VLS_base$18: vue.DefineComponent<SliderControlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderControlProps> & Readonly<{}>, {
|
|
2750
|
+
as: string | vue.Component;
|
|
2751
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2752
|
+
declare const __VLS_export$21: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
2753
|
+
declare const _default$45: typeof __VLS_export$21;
|
|
2754
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
2755
|
+
new (): {
|
|
2756
|
+
$slots: S;
|
|
2757
|
+
};
|
|
2758
|
+
}; //# sourceMappingURL=SliderControl.vue.d.ts.map
|
|
2759
|
+
//#endregion
|
|
2760
|
+
//#region src/slider/control/SliderControlDataAttributes.d.ts
|
|
2761
|
+
declare enum SliderControlDataAttributes {
|
|
2762
|
+
/**
|
|
2763
|
+
* Present while the user is dragging.
|
|
2764
|
+
*/
|
|
2765
|
+
dragging = "data-dragging",
|
|
2766
|
+
/**
|
|
2767
|
+
* Indicates the orientation of the slider.
|
|
2768
|
+
* @type {'horizontal' | 'vertical'}
|
|
2769
|
+
*/
|
|
2770
|
+
orientation = "data-orientation",
|
|
2771
|
+
/**
|
|
2772
|
+
* Present when the slider is disabled.
|
|
2773
|
+
*/
|
|
2774
|
+
disabled = "data-disabled",
|
|
2775
|
+
/**
|
|
2776
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2777
|
+
*/
|
|
2778
|
+
valid = "data-valid",
|
|
2779
|
+
/**
|
|
2780
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2781
|
+
*/
|
|
2782
|
+
invalid = "data-invalid",
|
|
2783
|
+
/**
|
|
2784
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2785
|
+
*/
|
|
2786
|
+
touched = "data-touched",
|
|
2787
|
+
/**
|
|
2788
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2789
|
+
*/
|
|
2790
|
+
dirty = "data-dirty",
|
|
2791
|
+
/**
|
|
2792
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2793
|
+
*/
|
|
2794
|
+
focused = "data-focused"
|
|
2795
|
+
}
|
|
2796
|
+
//#endregion
|
|
2797
|
+
//#region src/slider/indicator/SliderIndicator.vue.d.ts
|
|
2798
|
+
interface SliderIndicatorState extends SliderRootState {}
|
|
2799
|
+
interface SliderIndicatorProps extends BaseUIComponentProps<SliderIndicatorState> {}
|
|
2800
|
+
declare var __VLS_1$13: {
|
|
2801
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2802
|
+
props: Record<string, any>;
|
|
2803
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2804
|
+
}, __VLS_10$11: {};
|
|
2805
|
+
type __VLS_Slots$17 = {} & {
|
|
2806
|
+
default?: (props: typeof __VLS_1$13) => any;
|
|
2807
|
+
} & {
|
|
2808
|
+
default?: (props: typeof __VLS_10$11) => any;
|
|
2809
|
+
};
|
|
2810
|
+
declare const __VLS_base$17: vue.DefineComponent<SliderIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderIndicatorProps> & Readonly<{}>, {
|
|
2811
|
+
as: string | vue.Component;
|
|
2812
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2813
|
+
declare const __VLS_export$20: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
2814
|
+
declare const _default$46: typeof __VLS_export$20;
|
|
2815
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
2816
|
+
new (): {
|
|
2817
|
+
$slots: S;
|
|
2818
|
+
};
|
|
2819
|
+
}; //# sourceMappingURL=SliderIndicator.vue.d.ts.map
|
|
2820
|
+
//#endregion
|
|
2821
|
+
//#region src/slider/indicator/SliderIndicatorDataAttributes.d.ts
|
|
2822
|
+
declare enum SliderIndicatorDataAttributes {
|
|
2823
|
+
/**
|
|
2824
|
+
* Present while the user is dragging.
|
|
2825
|
+
*/
|
|
2826
|
+
dragging = "data-dragging",
|
|
2827
|
+
/**
|
|
2828
|
+
* Indicates the orientation of the slider.
|
|
2829
|
+
* @type {'horizontal' | 'vertical'}
|
|
2830
|
+
*/
|
|
2831
|
+
orientation = "data-orientation",
|
|
2832
|
+
/**
|
|
2833
|
+
* Present when the slider is disabled.
|
|
2834
|
+
*/
|
|
2835
|
+
disabled = "data-disabled",
|
|
2836
|
+
/**
|
|
2837
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
2838
|
+
*/
|
|
2839
|
+
valid = "data-valid",
|
|
2840
|
+
/**
|
|
2841
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
2842
|
+
*/
|
|
2843
|
+
invalid = "data-invalid",
|
|
2844
|
+
/**
|
|
2845
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
2846
|
+
*/
|
|
2847
|
+
touched = "data-touched",
|
|
2848
|
+
/**
|
|
2849
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
2850
|
+
*/
|
|
2851
|
+
dirty = "data-dirty",
|
|
2852
|
+
/**
|
|
2853
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
2854
|
+
*/
|
|
2855
|
+
focused = "data-focused"
|
|
2856
|
+
}
|
|
2857
|
+
//#endregion
|
|
2858
|
+
//#region src/slider/label/SliderLabel.vue.d.ts
|
|
2859
|
+
type SliderLabelState = SliderRootState;
|
|
2860
|
+
interface SliderLabelProps extends BaseUIComponentProps<SliderLabelState> {}
|
|
2861
|
+
declare var __VLS_1$12: {
|
|
2862
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
2863
|
+
props: Record<string, any>;
|
|
2864
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
2865
|
+
}, __VLS_10$10: {};
|
|
2866
|
+
type __VLS_Slots$16 = {} & {
|
|
2867
|
+
default?: (props: typeof __VLS_1$12) => any;
|
|
2868
|
+
} & {
|
|
2869
|
+
default?: (props: typeof __VLS_10$10) => any;
|
|
2870
|
+
};
|
|
2871
|
+
declare const __VLS_base$16: vue.DefineComponent<SliderLabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderLabelProps> & Readonly<{}>, {
|
|
2872
|
+
as: string | vue.Component;
|
|
2873
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2874
|
+
declare const __VLS_export$19: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
2875
|
+
declare const _default$47: typeof __VLS_export$19;
|
|
2876
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
2877
|
+
new (): {
|
|
2878
|
+
$slots: S;
|
|
2879
|
+
};
|
|
2880
|
+
}; //# sourceMappingURL=SliderLabel.vue.d.ts.map
|
|
2881
|
+
//#endregion
|
|
2882
|
+
//#region src/composite/list/CompositeList.vue.d.ts
|
|
2883
|
+
type CompositeMetadata<CustomMetadata> = {
|
|
2884
|
+
index?: number | null | undefined;
|
|
2885
|
+
} & CustomMetadata;
|
|
2886
|
+
//#endregion
|
|
2887
|
+
//#region src/labelable-provider/LabelableContext.d.ts
|
|
2888
|
+
interface LabelableContext {
|
|
2889
|
+
/**
|
|
2890
|
+
* The `id` of the labelable element.
|
|
2891
|
+
* When `null` the association is implicit.
|
|
2892
|
+
*/
|
|
2893
|
+
controlId: Readonly<Ref<string | null | undefined>>;
|
|
2894
|
+
registerControlId: (source: symbol, id: string | null | undefined) => void;
|
|
2895
|
+
labelId: Readonly<Ref<string | undefined>>;
|
|
2896
|
+
setLabelId: (id: string | undefined) => void;
|
|
2897
|
+
messageIds: Readonly<Ref<string[]>>;
|
|
2898
|
+
setMessageIds: (updater: (ids: string[]) => string[]) => void;
|
|
2899
|
+
getDescriptionProps: () => Record<string, string | undefined>;
|
|
2900
|
+
}
|
|
2901
|
+
//#endregion
|
|
2902
|
+
//#region src/slider/thumb/SliderThumb.vue.d.ts
|
|
2903
|
+
interface ThumbMetadata {
|
|
2904
|
+
inputId: LabelableContext['controlId'];
|
|
2905
|
+
}
|
|
2906
|
+
interface SliderThumbState extends SliderRootState {}
|
|
2907
|
+
interface SliderThumbProps extends Omit<BaseUIComponentProps<SliderThumbState>, 'style'> {
|
|
2908
|
+
/**
|
|
2909
|
+
* Whether the thumb should ignore user interaction.
|
|
2910
|
+
* @default false
|
|
2911
|
+
*/
|
|
2912
|
+
disabled?: boolean;
|
|
2913
|
+
/**
|
|
2914
|
+
* 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`.
|
|
2915
|
+
*/
|
|
2916
|
+
getAriaLabel?: ((index: number) => string) | null;
|
|
2917
|
+
/**
|
|
2918
|
+
* 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`.
|
|
2919
|
+
* This is important for screen reader users.
|
|
2920
|
+
*/
|
|
2921
|
+
getAriaValueText?: ((formattedValue: string, value: number, index: number) => string) | null;
|
|
2922
|
+
/**
|
|
2923
|
+
* The index of the thumb which corresponds to the index of its value in the
|
|
2924
|
+
* `modelValue` or `defaultValue` array.
|
|
2925
|
+
* This prop is required to support server-side rendering for range sliders
|
|
2926
|
+
* with multiple thumbs.
|
|
2927
|
+
* @example
|
|
2928
|
+
* ```vue
|
|
2929
|
+
* <SliderRoot :default-value="[10, 20]">
|
|
2930
|
+
* <SliderThumb :index="0" />
|
|
2931
|
+
* <SliderThumb :index="1" />
|
|
2932
|
+
* </SliderRoot>
|
|
2933
|
+
* ```
|
|
2934
|
+
*/
|
|
2935
|
+
index?: number;
|
|
2936
|
+
/**
|
|
2937
|
+
* A ref to access the nested input element.
|
|
2938
|
+
*/
|
|
2939
|
+
inputRef?: ((el: HTMLInputElement | null) => void) | Ref<HTMLInputElement | null> | null;
|
|
2940
|
+
/**
|
|
2941
|
+
* Optional tab index attribute forwarded to the `input`.
|
|
2942
|
+
*/
|
|
2943
|
+
tabIndex?: number;
|
|
2944
|
+
id?: string;
|
|
2945
|
+
ariaLabel?: string;
|
|
2946
|
+
ariaLabelledby?: string;
|
|
2947
|
+
ariaDescribedby?: string;
|
|
2948
|
+
style?: CSSProperties | ((state: SliderThumbState) => CSSProperties);
|
|
2949
|
+
}
|
|
2950
|
+
declare var __VLS_1$11: {
|
|
2951
|
+
ref: ((el: Element | ComponentPublicInstance | null) => void) | undefined;
|
|
2952
|
+
props: Record<string, any>;
|
|
2953
|
+
state: Ref<SliderRootState, SliderRootState>;
|
|
2954
|
+
}, __VLS_10$9: {};
|
|
2955
|
+
type __VLS_Slots$15 = {} & {
|
|
2956
|
+
default?: (props: typeof __VLS_1$11) => any;
|
|
2957
|
+
} & {
|
|
2958
|
+
default?: (props: typeof __VLS_10$9) => any;
|
|
2959
|
+
};
|
|
2960
|
+
declare const __VLS_base$15: vue.DefineComponent<SliderThumbProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderThumbProps> & Readonly<{}>, {
|
|
2961
|
+
disabled: boolean;
|
|
2962
|
+
as: string | vue.Component;
|
|
2963
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2964
|
+
declare const __VLS_export$18: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
2965
|
+
declare const _default$49: typeof __VLS_export$18;
|
|
2966
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
2967
|
+
new (): {
|
|
2968
|
+
$slots: S;
|
|
2969
|
+
};
|
|
2970
|
+
}; //# sourceMappingURL=SliderThumb.vue.d.ts.map
|
|
2971
|
+
//#endregion
|
|
2972
|
+
//#region src/slider/root/SliderRootContext.d.ts
|
|
2973
|
+
interface SliderRootContext {
|
|
2974
|
+
/**
|
|
2975
|
+
* The index of the active thumb.
|
|
2976
|
+
*/
|
|
2977
|
+
active: Ref<number>;
|
|
2978
|
+
/**
|
|
2979
|
+
* The index of the most recently interacted thumb.
|
|
2980
|
+
*/
|
|
2981
|
+
lastUsedThumbIndex: Ref<number>;
|
|
2982
|
+
controlRef: Ref<HTMLElement | null>;
|
|
2983
|
+
dragging: Ref<boolean>;
|
|
2984
|
+
disabled: Ref<boolean>;
|
|
2985
|
+
validation: UseFieldValidationReturnValue;
|
|
2986
|
+
formatOptionsRef: IntlNumberFormatOptionsRef;
|
|
2987
|
+
handleInputChange: (valueInput: number, index: number, event: KeyboardEvent | Event) => void;
|
|
2988
|
+
indicatorPosition: Ref<(number | undefined)[]>;
|
|
2989
|
+
inset: Ref<boolean>;
|
|
2990
|
+
labelId: Ref<string | undefined>;
|
|
2991
|
+
rootLabelId: Ref<string | undefined>;
|
|
2992
|
+
/**
|
|
2993
|
+
* The large step value of the slider when incrementing or decrementing while the shift key is held,
|
|
2994
|
+
* or when using Page-Up or Page-Down keys. Snaps to multiples of this value.
|
|
2995
|
+
* @default 10
|
|
2996
|
+
*/
|
|
2997
|
+
largeStep: Ref<number>;
|
|
2998
|
+
lastChangedValueRef: Ref<number | readonly number[] | null>;
|
|
2999
|
+
lastChangeReasonRef: Ref<SliderRootChangeReason>;
|
|
3000
|
+
/**
|
|
3001
|
+
* The locale used by `Intl.NumberFormat` when formatting the value.
|
|
3002
|
+
* Defaults to the user's runtime locale.
|
|
3003
|
+
*/
|
|
3004
|
+
locale: Ref<Intl.LocalesArgument | undefined>;
|
|
3005
|
+
/**
|
|
3006
|
+
* The maximum allowed value of the slider.
|
|
3007
|
+
*/
|
|
3008
|
+
max: Ref<number>;
|
|
3009
|
+
/**
|
|
3010
|
+
* The minimum allowed value of the slider.
|
|
3011
|
+
*/
|
|
3012
|
+
min: Ref<number>;
|
|
3013
|
+
/**
|
|
3014
|
+
* The minimum steps between values in a range slider.
|
|
3015
|
+
*/
|
|
3016
|
+
minStepsBetweenValues: Ref<number>;
|
|
3017
|
+
form: Ref<string | undefined>;
|
|
3018
|
+
name: Ref<string | undefined>;
|
|
3019
|
+
/**
|
|
3020
|
+
* Function to be called when drag ends and the pointer is released.
|
|
3021
|
+
*/
|
|
3022
|
+
onValueCommitted: (value: number | readonly number[], details: BaseUIGenericEventDetails<SliderRootChangeReason>) => void;
|
|
3023
|
+
/**
|
|
3024
|
+
* The component orientation.
|
|
3025
|
+
* @default 'horizontal'
|
|
3026
|
+
*/
|
|
3027
|
+
orientation: Ref<Orientation>;
|
|
3028
|
+
pressedInputRef: Ref<HTMLInputElement | null>;
|
|
3029
|
+
pressedThumbCenterOffsetRef: Ref<number | null>;
|
|
3030
|
+
pressedThumbIndexRef: Ref<number>;
|
|
3031
|
+
pressedValuesRef: Ref<readonly number[] | null>;
|
|
3032
|
+
registerFieldControlRef: (element: HTMLElement | null) => void;
|
|
3033
|
+
renderBeforeHydration: Ref<boolean>;
|
|
3034
|
+
setActive: (value: number) => void;
|
|
3035
|
+
setDragging: (value: boolean) => void;
|
|
3036
|
+
setIndicatorPosition: (updater: (prev: (number | undefined)[]) => (number | undefined)[]) => void;
|
|
3037
|
+
setLabelId: (value: string | undefined) => void;
|
|
3038
|
+
/**
|
|
3039
|
+
* Callback fired when dragging and invokes onValueChange.
|
|
3040
|
+
*/
|
|
3041
|
+
setValue: (value: number | number[], details?: BaseUIChangeEventDetails<SliderRootChangeReason, {
|
|
3042
|
+
activeThumbIndex: number;
|
|
3043
|
+
}>) => void;
|
|
3044
|
+
state: Ref<SliderRootState>;
|
|
3045
|
+
/**
|
|
3046
|
+
* The step increment of the slider when incrementing or decrementing. It will snap
|
|
3047
|
+
* to multiples of this value. Decimal values are supported.
|
|
3048
|
+
* @default 1
|
|
3049
|
+
*/
|
|
3050
|
+
step: Ref<number>;
|
|
3051
|
+
thumbCollisionBehavior: Ref<'push' | 'swap' | 'none'>;
|
|
3052
|
+
thumbMap: ShallowRef<Map<Element, CompositeMetadata<ThumbMetadata> | null>>;
|
|
3053
|
+
thumbRefs: Ref<(HTMLElement | null)[]>;
|
|
3054
|
+
/**
|
|
3055
|
+
* The value(s) of the slider
|
|
3056
|
+
*/
|
|
3057
|
+
values: Ref<readonly number[]>;
|
|
3058
|
+
}
|
|
3059
|
+
type SliderRootChangeReason = typeof REASONS.inputChange | typeof REASONS.trackPress | typeof REASONS.drag | typeof REASONS.keyboard | typeof REASONS.none;
|
|
3060
|
+
declare const sliderRootContextKey: InjectionKey<SliderRootContext>;
|
|
3061
|
+
declare function useSliderRootContext(optional: true): SliderRootContext | undefined;
|
|
3062
|
+
declare function useSliderRootContext(optional?: false): SliderRootContext;
|
|
3063
|
+
//#endregion
|
|
3064
|
+
//#region src/slider/root/SliderRootDataAttributes.d.ts
|
|
3065
|
+
declare enum SliderRootDataAttributes {
|
|
3066
|
+
/**
|
|
3067
|
+
* Present while the user is dragging.
|
|
3068
|
+
*/
|
|
3069
|
+
dragging = "data-dragging",
|
|
3070
|
+
/**
|
|
3071
|
+
* Indicates the orientation of the slider.
|
|
3072
|
+
* @type {'horizontal' | 'vertical'}
|
|
3073
|
+
*/
|
|
3074
|
+
orientation = "data-orientation",
|
|
3075
|
+
/**
|
|
3076
|
+
* Present when the slider is disabled.
|
|
3077
|
+
*/
|
|
3078
|
+
disabled = "data-disabled",
|
|
3079
|
+
/**
|
|
3080
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
3081
|
+
*/
|
|
3082
|
+
valid = "data-valid",
|
|
3083
|
+
/**
|
|
3084
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
3085
|
+
*/
|
|
3086
|
+
invalid = "data-invalid",
|
|
3087
|
+
/**
|
|
3088
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
3089
|
+
*/
|
|
3090
|
+
touched = "data-touched",
|
|
3091
|
+
/**
|
|
3092
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
3093
|
+
*/
|
|
3094
|
+
dirty = "data-dirty",
|
|
3095
|
+
/**
|
|
3096
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
3097
|
+
*/
|
|
3098
|
+
focused = "data-focused"
|
|
3099
|
+
}
|
|
3100
|
+
//#endregion
|
|
3101
|
+
//#region src/slider/thumb/SliderThumbDataAttributes.d.ts
|
|
3102
|
+
declare enum SliderThumbDataAttributes {
|
|
3103
|
+
/**
|
|
3104
|
+
* Indicates the index of the thumb in range sliders.
|
|
3105
|
+
*/
|
|
3106
|
+
index = "data-index",
|
|
3107
|
+
/**
|
|
3108
|
+
* Present while the user is dragging.
|
|
3109
|
+
*/
|
|
3110
|
+
dragging = "data-dragging",
|
|
3111
|
+
/**
|
|
3112
|
+
* Indicates the orientation of the slider.
|
|
3113
|
+
* @type {'horizontal' | 'vertical'}
|
|
3114
|
+
*/
|
|
3115
|
+
orientation = "data-orientation",
|
|
3116
|
+
/**
|
|
3117
|
+
* Present when the slider is disabled.
|
|
3118
|
+
*/
|
|
3119
|
+
disabled = "data-disabled",
|
|
3120
|
+
/**
|
|
3121
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
3122
|
+
*/
|
|
3123
|
+
valid = "data-valid",
|
|
3124
|
+
/**
|
|
3125
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
3126
|
+
*/
|
|
3127
|
+
invalid = "data-invalid",
|
|
3128
|
+
/**
|
|
3129
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
3130
|
+
*/
|
|
3131
|
+
touched = "data-touched",
|
|
3132
|
+
/**
|
|
3133
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
3134
|
+
*/
|
|
3135
|
+
dirty = "data-dirty",
|
|
3136
|
+
/**
|
|
3137
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
3138
|
+
*/
|
|
3139
|
+
focused = "data-focused"
|
|
3140
|
+
}
|
|
3141
|
+
//#endregion
|
|
3142
|
+
//#region src/slider/track/SliderTrack.vue.d.ts
|
|
3143
|
+
interface SliderTrackState extends SliderRootState {}
|
|
3144
|
+
interface SliderTrackProps extends BaseUIComponentProps<SliderTrackState> {}
|
|
3145
|
+
declare var __VLS_1$10: {
|
|
3146
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3147
|
+
props: Record<string, any>;
|
|
3148
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
3149
|
+
}, __VLS_10$8: {};
|
|
3150
|
+
type __VLS_Slots$14 = {} & {
|
|
3151
|
+
default?: (props: typeof __VLS_1$10) => any;
|
|
3152
|
+
} & {
|
|
3153
|
+
default?: (props: typeof __VLS_10$8) => any;
|
|
3154
|
+
};
|
|
3155
|
+
declare const __VLS_base$14: vue.DefineComponent<SliderTrackProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderTrackProps> & Readonly<{}>, {
|
|
3156
|
+
as: string | vue.Component;
|
|
3157
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3158
|
+
declare const __VLS_export$17: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
3159
|
+
declare const _default$50: typeof __VLS_export$17;
|
|
3160
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
3161
|
+
new (): {
|
|
3162
|
+
$slots: S;
|
|
3163
|
+
};
|
|
3164
|
+
}; //# sourceMappingURL=SliderTrack.vue.d.ts.map
|
|
3165
|
+
//#endregion
|
|
3166
|
+
//#region src/slider/track/SliderTrackDataAttributes.d.ts
|
|
3167
|
+
declare enum SliderTrackDataAttributes {
|
|
3168
|
+
dragging = "data-dragging",
|
|
3169
|
+
orientation = "data-orientation",
|
|
3170
|
+
disabled = "data-disabled",
|
|
3171
|
+
valid = "data-valid",
|
|
3172
|
+
invalid = "data-invalid",
|
|
3173
|
+
touched = "data-touched",
|
|
3174
|
+
dirty = "data-dirty",
|
|
3175
|
+
focused = "data-focused"
|
|
3176
|
+
}
|
|
3177
|
+
//#endregion
|
|
3178
|
+
//#region src/slider/value/SliderValue.vue.d.ts
|
|
3179
|
+
interface SliderValueState extends SliderRootState {}
|
|
3180
|
+
interface SliderValueProps extends BaseUIComponentProps<SliderValueState> {
|
|
3181
|
+
ariaLive?: 'off' | 'polite' | 'assertive';
|
|
3182
|
+
}
|
|
3183
|
+
declare var __VLS_1$9: {
|
|
3184
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3185
|
+
props: Record<string, any>;
|
|
3186
|
+
state: vue.Ref<SliderRootState, SliderRootState>;
|
|
3187
|
+
formattedValues: string[];
|
|
3188
|
+
values: readonly number[];
|
|
3189
|
+
}, __VLS_10$7: {
|
|
3190
|
+
formattedValues: string[];
|
|
3191
|
+
values: readonly number[];
|
|
3192
|
+
};
|
|
3193
|
+
type __VLS_Slots$13 = {} & {
|
|
3194
|
+
default?: (props: typeof __VLS_1$9) => any;
|
|
3195
|
+
} & {
|
|
3196
|
+
default?: (props: typeof __VLS_10$7) => any;
|
|
3197
|
+
};
|
|
3198
|
+
declare const __VLS_base$13: vue.DefineComponent<SliderValueProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderValueProps> & Readonly<{}>, {
|
|
3199
|
+
as: string | vue.Component;
|
|
3200
|
+
ariaLive: "off" | "polite" | "assertive";
|
|
3201
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3202
|
+
declare const __VLS_export$16: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
3203
|
+
declare const _default$51: typeof __VLS_export$16;
|
|
3204
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
3205
|
+
new (): {
|
|
3206
|
+
$slots: S;
|
|
3207
|
+
};
|
|
3208
|
+
}; //# sourceMappingURL=SliderValue.vue.d.ts.map
|
|
3209
|
+
//#endregion
|
|
3210
|
+
//#region src/slider/value/SliderValueDataAttributes.d.ts
|
|
3211
|
+
declare enum SliderValueDataAttributes {
|
|
3212
|
+
/**
|
|
3213
|
+
* Present while the user is dragging.
|
|
3214
|
+
*/
|
|
3215
|
+
dragging = "data-dragging",
|
|
3216
|
+
/**
|
|
3217
|
+
* Indicates the orientation of the slider.
|
|
3218
|
+
* @type {'horizontal' | 'vertical'}
|
|
3219
|
+
*/
|
|
3220
|
+
orientation = "data-orientation",
|
|
3221
|
+
/**
|
|
3222
|
+
* Present when the slider is disabled.
|
|
3223
|
+
*/
|
|
3224
|
+
disabled = "data-disabled",
|
|
3225
|
+
/**
|
|
3226
|
+
* Present when the slider is in valid state (when wrapped in Field.Root).
|
|
3227
|
+
*/
|
|
3228
|
+
valid = "data-valid",
|
|
3229
|
+
/**
|
|
3230
|
+
* Present when the slider is in invalid state (when wrapped in Field.Root).
|
|
3231
|
+
*/
|
|
3232
|
+
invalid = "data-invalid",
|
|
3233
|
+
/**
|
|
3234
|
+
* Present when the slider has been touched (when wrapped in Field.Root).
|
|
3235
|
+
*/
|
|
3236
|
+
touched = "data-touched",
|
|
3237
|
+
/**
|
|
3238
|
+
* Present when the slider's value has changed (when wrapped in Field.Root).
|
|
3239
|
+
*/
|
|
3240
|
+
dirty = "data-dirty",
|
|
3241
|
+
/**
|
|
3242
|
+
* Present when the slider is focused (when wrapped in Field.Root).
|
|
3243
|
+
*/
|
|
3244
|
+
focused = "data-focused"
|
|
3245
|
+
}
|
|
3246
|
+
//#endregion
|
|
3247
|
+
//#region src/switch/root/SwitchRoot.vue.d.ts
|
|
3248
|
+
interface SwitchRootState extends FieldRootState {
|
|
3249
|
+
/**
|
|
3250
|
+
* Whether the switch is currently active.
|
|
3251
|
+
*/
|
|
3252
|
+
checked: boolean;
|
|
3253
|
+
/**
|
|
3254
|
+
* Whether the component should ignore user interaction.
|
|
3255
|
+
*/
|
|
3256
|
+
disabled: boolean;
|
|
3257
|
+
/**
|
|
3258
|
+
* Whether the user should be unable to activate or deactivate the switch.
|
|
3259
|
+
*/
|
|
3260
|
+
readOnly: boolean;
|
|
3261
|
+
/**
|
|
3262
|
+
* Whether the user must activate the switch before submitting a form.
|
|
3263
|
+
*/
|
|
3264
|
+
required: boolean;
|
|
3265
|
+
}
|
|
3266
|
+
interface SwitchRootProps extends NonNativeButtonProps, BaseUIComponentProps<SwitchRootState> {
|
|
3267
|
+
/**
|
|
3268
|
+
* The id of the switch element.
|
|
3269
|
+
*/
|
|
3270
|
+
'id'?: string;
|
|
3271
|
+
/**
|
|
3272
|
+
* Whether the switch is currently active.
|
|
3273
|
+
*
|
|
3274
|
+
* To render an uncontrolled switch, use the `defaultChecked` prop instead.
|
|
3275
|
+
*/
|
|
3276
|
+
'checked'?: boolean;
|
|
3277
|
+
/**
|
|
3278
|
+
* Whether the switch is initially active.
|
|
3279
|
+
*
|
|
3280
|
+
* To render a controlled switch, use the `checked` prop instead.
|
|
3281
|
+
* @default false
|
|
3282
|
+
*/
|
|
3283
|
+
'defaultChecked'?: boolean;
|
|
3284
|
+
/**
|
|
3285
|
+
* Whether the component should ignore user interaction.
|
|
3286
|
+
* @default false
|
|
3287
|
+
*/
|
|
3288
|
+
'disabled'?: boolean;
|
|
3289
|
+
/**
|
|
3290
|
+
* A ref to access the hidden `<input>` element.
|
|
3291
|
+
*/
|
|
3292
|
+
'inputRef'?: Ref<HTMLInputElement | null> | ((element: HTMLInputElement | null) => void) | null;
|
|
3293
|
+
/**
|
|
3294
|
+
* Identifies the field when a form is submitted.
|
|
3295
|
+
*/
|
|
3296
|
+
'name'?: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* Identifies the form that owns the hidden input.
|
|
3299
|
+
* Useful when the switch is rendered outside the form.
|
|
3300
|
+
*/
|
|
3301
|
+
'form'?: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* Whether the user should be unable to activate or deactivate the switch.
|
|
3304
|
+
* @default false
|
|
3305
|
+
*/
|
|
3306
|
+
'readOnly'?: boolean;
|
|
3307
|
+
/**
|
|
3308
|
+
* Whether the user must activate the switch before submitting a form.
|
|
3309
|
+
* @default false
|
|
3310
|
+
*/
|
|
3311
|
+
'required'?: boolean;
|
|
3312
|
+
/**
|
|
3313
|
+
* The value submitted with the form when the switch is on.
|
|
3314
|
+
* By default, switch submits the "on" value, matching native checkbox behavior.
|
|
3315
|
+
*/
|
|
3316
|
+
'value'?: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* The value submitted with the form when the switch is off.
|
|
3319
|
+
* By default, unchecked switches do not submit any value, matching native checkbox behavior.
|
|
3320
|
+
*/
|
|
3321
|
+
'uncheckedValue'?: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* Identifies the element that labels the switch.
|
|
3324
|
+
* When omitted, Base UI Vue falls back to the surrounding label system.
|
|
3325
|
+
*/
|
|
3326
|
+
'aria-labelledby'?: string;
|
|
3327
|
+
}
|
|
3328
|
+
type SwitchRootChangeEventReason = typeof REASONS.none;
|
|
3329
|
+
type SwitchRootChangeEventDetails = BaseUIChangeEventDetails<SwitchRootChangeEventReason>;
|
|
3330
|
+
declare var __VLS_1$8: {
|
|
3331
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3332
|
+
props: Record<string, any>;
|
|
3333
|
+
state: SwitchRootState;
|
|
3334
|
+
}, __VLS_9: {
|
|
3335
|
+
state: SwitchRootState;
|
|
3336
|
+
};
|
|
3337
|
+
type __VLS_Slots$12 = {} & {
|
|
3338
|
+
default?: (props: typeof __VLS_1$8) => any;
|
|
3339
|
+
} & {
|
|
3340
|
+
default?: (props: typeof __VLS_9) => any;
|
|
3341
|
+
};
|
|
3342
|
+
declare const __VLS_base$12: vue.DefineComponent<SwitchRootProps, {
|
|
3343
|
+
element: Ref<HTMLElement | null, HTMLElement | null>;
|
|
3344
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3345
|
+
checkedChange: (checked: boolean, eventDetails: {
|
|
3346
|
+
reason: "none";
|
|
3347
|
+
event: Event;
|
|
3348
|
+
cancel: () => void;
|
|
3349
|
+
allowPropagation: () => void;
|
|
3350
|
+
isCanceled: boolean;
|
|
3351
|
+
isPropagationAllowed: boolean;
|
|
3352
|
+
trigger: Element | undefined;
|
|
3353
|
+
} & Record<string, never>) => any;
|
|
3354
|
+
}, string, vue.PublicProps, Readonly<SwitchRootProps> & Readonly<{
|
|
3355
|
+
onCheckedChange?: ((checked: boolean, eventDetails: {
|
|
3356
|
+
reason: "none";
|
|
3357
|
+
event: Event;
|
|
3358
|
+
cancel: () => void;
|
|
3359
|
+
allowPropagation: () => void;
|
|
3360
|
+
isCanceled: boolean;
|
|
3361
|
+
isPropagationAllowed: boolean;
|
|
3362
|
+
trigger: Element | undefined;
|
|
3363
|
+
} & Record<string, never>) => any) | undefined;
|
|
3364
|
+
}>, {
|
|
3365
|
+
defaultChecked: boolean;
|
|
3366
|
+
disabled: boolean;
|
|
3367
|
+
readOnly: boolean;
|
|
3368
|
+
required: boolean;
|
|
3369
|
+
nativeButton: boolean;
|
|
3370
|
+
as: string | vue.Component;
|
|
3371
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3372
|
+
declare const __VLS_export$15: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
3373
|
+
declare const _default$52: typeof __VLS_export$15;
|
|
3374
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
3375
|
+
new (): {
|
|
3376
|
+
$slots: S;
|
|
3377
|
+
};
|
|
3378
|
+
}; //# sourceMappingURL=SwitchRoot.vue.d.ts.map
|
|
3379
|
+
//#endregion
|
|
3380
|
+
//#region src/switch/root/SwitchRootContext.d.ts
|
|
3381
|
+
type SwitchRootContext = Readonly<Ref<SwitchRootState>>;
|
|
3382
|
+
declare const switchRootContextKey: InjectionKey<SwitchRootContext>;
|
|
3383
|
+
declare function useSwitchRootContext(optional: true): SwitchRootContext | undefined;
|
|
3384
|
+
declare function useSwitchRootContext(optional?: false): SwitchRootContext;
|
|
3385
|
+
//#endregion
|
|
3386
|
+
//#region src/switch/root/SwitchRootDataAttributes.d.ts
|
|
3387
|
+
declare enum SwitchRootDataAttributes {
|
|
3388
|
+
/**
|
|
3389
|
+
* Present when the switch is checked.
|
|
3390
|
+
*/
|
|
3391
|
+
checked = "data-checked",
|
|
3392
|
+
/**
|
|
3393
|
+
* Present when the switch is not checked.
|
|
3394
|
+
*/
|
|
3395
|
+
unchecked = "data-unchecked",
|
|
3396
|
+
/**
|
|
3397
|
+
* Present when the switch is disabled.
|
|
3398
|
+
*/
|
|
3399
|
+
disabled = "data-disabled",
|
|
3400
|
+
/**
|
|
3401
|
+
* Present when the switch is readonly.
|
|
3402
|
+
*/
|
|
3403
|
+
readonly = "data-readonly",
|
|
3404
|
+
/**
|
|
3405
|
+
* Present when the switch is required.
|
|
3406
|
+
*/
|
|
3407
|
+
required = "data-required",
|
|
3408
|
+
/**
|
|
3409
|
+
* Present when the switch is in valid state (when wrapped in FieldRoot).
|
|
3410
|
+
*/
|
|
3411
|
+
valid = "data-valid",
|
|
3412
|
+
/**
|
|
3413
|
+
* Present when the switch is in invalid state (when wrapped in FieldRoot).
|
|
3414
|
+
*/
|
|
3415
|
+
invalid = "data-invalid",
|
|
3416
|
+
/**
|
|
3417
|
+
* Present when the switch has been touched (when wrapped in FieldRoot).
|
|
3418
|
+
*/
|
|
3419
|
+
touched = "data-touched",
|
|
3420
|
+
/**
|
|
3421
|
+
* Present when the switch's value has changed (when wrapped in FieldRoot).
|
|
3422
|
+
*/
|
|
3423
|
+
dirty = "data-dirty",
|
|
3424
|
+
/**
|
|
3425
|
+
* Present when the switch is active (when wrapped in FieldRoot).
|
|
3426
|
+
*/
|
|
3427
|
+
filled = "data-filled",
|
|
3428
|
+
/**
|
|
3429
|
+
* Present when the switch is focused (when wrapped in FieldRoot).
|
|
3430
|
+
*/
|
|
3431
|
+
focused = "data-focused"
|
|
3432
|
+
}
|
|
3433
|
+
//#endregion
|
|
3434
|
+
//#region src/switch/thumb/SwitchThumb.vue.d.ts
|
|
3435
|
+
interface SwitchThumbState extends SwitchRootState {}
|
|
3436
|
+
interface SwitchThumbProps extends BaseUIComponentProps<SwitchThumbState> {}
|
|
3437
|
+
declare var __VLS_1$7: {
|
|
3438
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3439
|
+
props: Record<string, any>;
|
|
3440
|
+
state: SwitchThumbState;
|
|
3441
|
+
}, __VLS_10$6: {
|
|
3442
|
+
state: SwitchThumbState;
|
|
3443
|
+
};
|
|
3444
|
+
type __VLS_Slots$11 = {} & {
|
|
976
3445
|
default?: (props: typeof __VLS_1$7) => any;
|
|
3446
|
+
} & {
|
|
3447
|
+
default?: (props: typeof __VLS_10$6) => any;
|
|
977
3448
|
};
|
|
978
|
-
declare const __VLS_base$
|
|
979
|
-
valueChange: (value: string, event: Event) => any;
|
|
980
|
-
}, string, vue.PublicProps, Readonly<FieldControlProps> & Readonly<{
|
|
981
|
-
onValueChange?: ((value: string, event: Event) => any) | undefined;
|
|
982
|
-
}>, {
|
|
983
|
-
disabled: boolean;
|
|
3449
|
+
declare const __VLS_base$11: vue.DefineComponent<SwitchThumbProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SwitchThumbProps> & Readonly<{}>, {
|
|
984
3450
|
as: string | vue.Component;
|
|
985
|
-
autofocus: boolean;
|
|
986
3451
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
987
|
-
declare const __VLS_export$
|
|
988
|
-
declare const _default$
|
|
989
|
-
type __VLS_WithSlots$
|
|
3452
|
+
declare const __VLS_export$14: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
3453
|
+
declare const _default$53: typeof __VLS_export$14;
|
|
3454
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
990
3455
|
new (): {
|
|
991
3456
|
$slots: S;
|
|
992
3457
|
};
|
|
993
|
-
}; //# sourceMappingURL=
|
|
3458
|
+
}; //# sourceMappingURL=SwitchThumb.vue.d.ts.map
|
|
994
3459
|
//#endregion
|
|
995
|
-
//#region src/
|
|
996
|
-
declare enum
|
|
3460
|
+
//#region src/switch/thumb/SwitchThumbDataAttributes.d.ts
|
|
3461
|
+
declare enum SwitchThumbDataAttributes {
|
|
997
3462
|
/**
|
|
998
|
-
* Present when the
|
|
3463
|
+
* Present when the switch is checked.
|
|
3464
|
+
*/
|
|
3465
|
+
checked = "data-checked",
|
|
3466
|
+
/**
|
|
3467
|
+
* Present when the switch is not checked.
|
|
3468
|
+
*/
|
|
3469
|
+
unchecked = "data-unchecked",
|
|
3470
|
+
/**
|
|
3471
|
+
* Present when the switch is disabled.
|
|
999
3472
|
*/
|
|
1000
3473
|
disabled = "data-disabled",
|
|
1001
3474
|
/**
|
|
1002
|
-
* Present when the
|
|
3475
|
+
* Present when the switch is readonly.
|
|
3476
|
+
*/
|
|
3477
|
+
readonly = "data-readonly",
|
|
3478
|
+
/**
|
|
3479
|
+
* Present when the switch is required.
|
|
3480
|
+
*/
|
|
3481
|
+
required = "data-required",
|
|
3482
|
+
/**
|
|
3483
|
+
* Present when the switch is in valid state (when wrapped in FieldRoot).
|
|
1003
3484
|
*/
|
|
1004
3485
|
valid = "data-valid",
|
|
1005
3486
|
/**
|
|
1006
|
-
* Present when the
|
|
3487
|
+
* Present when the switch is in invalid state (when wrapped in FieldRoot).
|
|
1007
3488
|
*/
|
|
1008
3489
|
invalid = "data-invalid",
|
|
1009
3490
|
/**
|
|
1010
|
-
* Present when the
|
|
3491
|
+
* Present when the switch has been touched (when wrapped in FieldRoot).
|
|
1011
3492
|
*/
|
|
1012
3493
|
touched = "data-touched",
|
|
1013
3494
|
/**
|
|
1014
|
-
* Present when the
|
|
3495
|
+
* Present when the switch's value has changed (when wrapped in FieldRoot).
|
|
1015
3496
|
*/
|
|
1016
3497
|
dirty = "data-dirty",
|
|
1017
3498
|
/**
|
|
1018
|
-
* Present when the
|
|
3499
|
+
* Present when the switch is active (when wrapped in FieldRoot).
|
|
1019
3500
|
*/
|
|
1020
3501
|
filled = "data-filled",
|
|
1021
3502
|
/**
|
|
1022
|
-
* Present when the
|
|
3503
|
+
* Present when the switch is focused (when wrapped in FieldRoot).
|
|
1023
3504
|
*/
|
|
1024
3505
|
focused = "data-focused"
|
|
1025
3506
|
}
|
|
1026
3507
|
//#endregion
|
|
1027
|
-
//#region src/
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
3508
|
+
//#region src/scroll-area/root/ScrollAreaRootContext.d.ts
|
|
3509
|
+
interface ScrollAreaRootState {
|
|
3510
|
+
scrolling: boolean;
|
|
3511
|
+
hasOverflowX: boolean;
|
|
3512
|
+
hasOverflowY: boolean;
|
|
3513
|
+
overflowXStart: boolean;
|
|
3514
|
+
overflowXEnd: boolean;
|
|
3515
|
+
overflowYStart: boolean;
|
|
3516
|
+
overflowYEnd: boolean;
|
|
3517
|
+
cornerHidden: boolean;
|
|
1034
3518
|
}
|
|
3519
|
+
//#endregion
|
|
3520
|
+
//#region src/scroll-area/content/ScrollAreaContent.vue.d.ts
|
|
3521
|
+
type ScrollAreaContentState = ScrollAreaRootState;
|
|
3522
|
+
interface ScrollAreaContentProps extends BaseUIComponentProps<ScrollAreaContentState> {}
|
|
1035
3523
|
declare var __VLS_1$6: {
|
|
3524
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1036
3525
|
props: Record<string, any>;
|
|
1037
|
-
state:
|
|
1038
|
-
}, __VLS_10$5: {
|
|
1039
|
-
|
|
1040
|
-
};
|
|
1041
|
-
type __VLS_Slots$7 = {} & {
|
|
3526
|
+
state: ScrollAreaRootState;
|
|
3527
|
+
}, __VLS_10$5: {};
|
|
3528
|
+
type __VLS_Slots$10 = {} & {
|
|
1042
3529
|
default?: (props: typeof __VLS_1$6) => any;
|
|
1043
3530
|
} & {
|
|
1044
3531
|
default?: (props: typeof __VLS_10$5) => any;
|
|
1045
3532
|
};
|
|
1046
|
-
declare const __VLS_base$
|
|
3533
|
+
declare const __VLS_base$10: vue.DefineComponent<ScrollAreaContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaContentProps> & Readonly<{}>, {
|
|
1047
3534
|
as: string | vue.Component;
|
|
1048
3535
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1049
|
-
declare const __VLS_export$
|
|
1050
|
-
declare const _default$
|
|
1051
|
-
type __VLS_WithSlots$
|
|
3536
|
+
declare const __VLS_export$13: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
3537
|
+
declare const _default$38: typeof __VLS_export$13;
|
|
3538
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
1052
3539
|
new (): {
|
|
1053
3540
|
$slots: S;
|
|
1054
3541
|
};
|
|
1055
|
-
}; //# sourceMappingURL=
|
|
3542
|
+
}; //# sourceMappingURL=ScrollAreaContent.vue.d.ts.map
|
|
1056
3543
|
//#endregion
|
|
1057
|
-
//#region src/
|
|
1058
|
-
interface
|
|
1059
|
-
|
|
1060
|
-
}
|
|
1061
|
-
interface FieldErrorProps extends BaseUIComponentProps<FieldErrorState> {
|
|
1062
|
-
/**
|
|
1063
|
-
* The `id` attribute of the error element.
|
|
1064
|
-
*/
|
|
1065
|
-
id?: string;
|
|
1066
|
-
/**
|
|
1067
|
-
* Determines whether to show the error message.
|
|
1068
|
-
* Can be `true` (always show), a `ValidityState` key, or unset
|
|
1069
|
-
* (show when field is invalid).
|
|
1070
|
-
*/
|
|
1071
|
-
match?: boolean | keyof ValidityState;
|
|
1072
|
-
}
|
|
3544
|
+
//#region src/scroll-area/corner/ScrollAreaCorner.vue.d.ts
|
|
3545
|
+
interface ScrollAreaCornerState {}
|
|
3546
|
+
interface ScrollAreaCornerProps extends BaseUIComponentProps<ScrollAreaCornerState> {}
|
|
1073
3547
|
declare var __VLS_1$5: {
|
|
3548
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3549
|
+
props: Record<string, any>;
|
|
3550
|
+
state: ScrollAreaCornerState;
|
|
3551
|
+
};
|
|
3552
|
+
type __VLS_Slots$9 = {} & {
|
|
3553
|
+
default?: (props: typeof __VLS_1$5) => any;
|
|
3554
|
+
};
|
|
3555
|
+
declare const __VLS_base$9: vue.DefineComponent<ScrollAreaCornerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaCornerProps> & Readonly<{}>, {
|
|
3556
|
+
as: string | vue.Component;
|
|
3557
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3558
|
+
declare const __VLS_export$12: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
3559
|
+
declare const _default$39: typeof __VLS_export$12;
|
|
3560
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
3561
|
+
new (): {
|
|
3562
|
+
$slots: S;
|
|
3563
|
+
};
|
|
3564
|
+
}; //# sourceMappingURL=ScrollAreaCorner.vue.d.ts.map
|
|
3565
|
+
//#endregion
|
|
3566
|
+
//#region src/scroll-area/root/ScrollAreaRoot.vue.d.ts
|
|
3567
|
+
interface ScrollAreaRootProps extends BaseUIComponentProps<ScrollAreaRootState> {
|
|
3568
|
+
overflowEdgeThreshold?: number | Partial<{
|
|
3569
|
+
xStart: number;
|
|
3570
|
+
xEnd: number;
|
|
3571
|
+
yStart: number;
|
|
3572
|
+
yEnd: number;
|
|
3573
|
+
}>;
|
|
3574
|
+
}
|
|
3575
|
+
declare var __VLS_1$4: {
|
|
1074
3576
|
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1075
3577
|
props: Record<string, any>;
|
|
1076
|
-
state:
|
|
1077
|
-
message: string | string[];
|
|
3578
|
+
state: ScrollAreaRootState;
|
|
1078
3579
|
}, __VLS_10$4: {};
|
|
1079
|
-
type __VLS_Slots$
|
|
1080
|
-
default?: (props: typeof __VLS_1$
|
|
3580
|
+
type __VLS_Slots$8 = {} & {
|
|
3581
|
+
default?: (props: typeof __VLS_1$4) => any;
|
|
1081
3582
|
} & {
|
|
1082
3583
|
default?: (props: typeof __VLS_10$4) => any;
|
|
1083
3584
|
};
|
|
1084
|
-
declare const __VLS_base$
|
|
3585
|
+
declare const __VLS_base$8: vue.DefineComponent<ScrollAreaRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaRootProps> & Readonly<{}>, {
|
|
1085
3586
|
as: string | vue.Component;
|
|
1086
3587
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1087
|
-
declare const __VLS_export$
|
|
1088
|
-
declare const _default$
|
|
1089
|
-
type __VLS_WithSlots$
|
|
3588
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
3589
|
+
declare const _default$40: typeof __VLS_export$11;
|
|
3590
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
1090
3591
|
new (): {
|
|
1091
3592
|
$slots: S;
|
|
1092
3593
|
};
|
|
1093
|
-
}; //# sourceMappingURL=
|
|
3594
|
+
}; //# sourceMappingURL=ScrollAreaRoot.vue.d.ts.map
|
|
1094
3595
|
//#endregion
|
|
1095
|
-
//#region src/
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
* Whether the wrapped control should ignore user interaction.
|
|
1100
|
-
* The `disabled` prop on `<FieldRoot>` takes precedence over this.
|
|
1101
|
-
* @default false
|
|
1102
|
-
*/
|
|
1103
|
-
disabled?: boolean;
|
|
3596
|
+
//#region src/scroll-area/root/ScrollAreaRootCssVars.d.ts
|
|
3597
|
+
declare enum ScrollAreaRootCssVars {
|
|
3598
|
+
scrollAreaCornerHeight = "--scroll-area-corner-height",
|
|
3599
|
+
scrollAreaCornerWidth = "--scroll-area-corner-width"
|
|
1104
3600
|
}
|
|
1105
|
-
|
|
3601
|
+
//#endregion
|
|
3602
|
+
//#region src/scroll-area/root/ScrollAreaRootDataAttributes.d.ts
|
|
3603
|
+
declare enum ScrollAreaRootDataAttributes {
|
|
3604
|
+
scrolling = "data-scrolling",
|
|
3605
|
+
hasOverflowX = "data-has-overflow-x",
|
|
3606
|
+
hasOverflowY = "data-has-overflow-y",
|
|
3607
|
+
overflowXStart = "data-overflow-x-start",
|
|
3608
|
+
overflowXEnd = "data-overflow-x-end",
|
|
3609
|
+
overflowYStart = "data-overflow-y-start",
|
|
3610
|
+
overflowYEnd = "data-overflow-y-end"
|
|
3611
|
+
}
|
|
3612
|
+
//#endregion
|
|
3613
|
+
//#region src/scroll-area/scrollbar/ScrollAreaScrollbar.vue.d.ts
|
|
3614
|
+
interface ScrollAreaScrollbarState extends ScrollAreaRootState {
|
|
3615
|
+
hovering: boolean;
|
|
3616
|
+
scrolling: boolean;
|
|
3617
|
+
orientation: 'vertical' | 'horizontal';
|
|
3618
|
+
}
|
|
3619
|
+
interface ScrollAreaScrollbarProps extends BaseUIComponentProps<ScrollAreaScrollbarState> {
|
|
3620
|
+
orientation?: 'vertical' | 'horizontal';
|
|
3621
|
+
keepMounted?: boolean;
|
|
3622
|
+
}
|
|
3623
|
+
declare var __VLS_1$3: {
|
|
3624
|
+
ref: ((el: Element | ComponentPublicInstance | null) => void) | undefined;
|
|
1106
3625
|
props: Record<string, any>;
|
|
1107
|
-
state:
|
|
1108
|
-
},
|
|
1109
|
-
|
|
3626
|
+
state: ScrollAreaScrollbarState;
|
|
3627
|
+
}, __VLS_10$3: {};
|
|
3628
|
+
type __VLS_Slots$7 = {} & {
|
|
3629
|
+
default?: (props: typeof __VLS_1$3) => any;
|
|
3630
|
+
} & {
|
|
3631
|
+
default?: (props: typeof __VLS_10$3) => any;
|
|
3632
|
+
};
|
|
3633
|
+
declare const __VLS_base$7: vue.DefineComponent<ScrollAreaScrollbarProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaScrollbarProps> & Readonly<{}>, {
|
|
3634
|
+
as: string | vue.Component;
|
|
3635
|
+
keepMounted: boolean;
|
|
3636
|
+
orientation: "vertical" | "horizontal";
|
|
3637
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3638
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
3639
|
+
declare const _default$41: typeof __VLS_export$10;
|
|
3640
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
3641
|
+
new (): {
|
|
3642
|
+
$slots: S;
|
|
3643
|
+
};
|
|
3644
|
+
}; //# sourceMappingURL=ScrollAreaScrollbar.vue.d.ts.map
|
|
3645
|
+
//#endregion
|
|
3646
|
+
//#region src/scroll-area/scrollbar/ScrollAreaScrollbarCssVars.d.ts
|
|
3647
|
+
declare enum ScrollAreaScrollbarCssVars {
|
|
3648
|
+
scrollAreaThumbHeight = "--scroll-area-thumb-height",
|
|
3649
|
+
scrollAreaThumbWidth = "--scroll-area-thumb-width"
|
|
3650
|
+
}
|
|
3651
|
+
//#endregion
|
|
3652
|
+
//#region src/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.d.ts
|
|
3653
|
+
declare enum ScrollAreaScrollbarDataAttributes {
|
|
3654
|
+
orientation = "data-orientation",
|
|
3655
|
+
hovering = "data-hovering",
|
|
3656
|
+
scrolling = "data-scrolling",
|
|
3657
|
+
hasOverflowX = "data-has-overflow-x",
|
|
3658
|
+
hasOverflowY = "data-has-overflow-y",
|
|
3659
|
+
overflowXStart = "data-overflow-x-start",
|
|
3660
|
+
overflowXEnd = "data-overflow-x-end",
|
|
3661
|
+
overflowYStart = "data-overflow-y-start",
|
|
3662
|
+
overflowYEnd = "data-overflow-y-end"
|
|
3663
|
+
}
|
|
3664
|
+
//#endregion
|
|
3665
|
+
//#region src/scroll-area/thumb/ScrollAreaThumb.vue.d.ts
|
|
3666
|
+
interface ScrollAreaThumbState {
|
|
3667
|
+
orientation?: 'horizontal' | 'vertical';
|
|
3668
|
+
}
|
|
3669
|
+
interface ScrollAreaThumbProps extends BaseUIComponentProps<ScrollAreaThumbState> {}
|
|
3670
|
+
declare var __VLS_1$2: {
|
|
3671
|
+
ref: ((el: Element | ComponentPublicInstance | null) => void) | undefined;
|
|
3672
|
+
props: Record<string, any>;
|
|
3673
|
+
state: ScrollAreaThumbState;
|
|
3674
|
+
};
|
|
3675
|
+
type __VLS_Slots$6 = {} & {
|
|
3676
|
+
default?: (props: typeof __VLS_1$2) => any;
|
|
3677
|
+
};
|
|
3678
|
+
declare const __VLS_base$6: vue.DefineComponent<ScrollAreaThumbProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaThumbProps> & Readonly<{}>, {
|
|
3679
|
+
as: string | vue.Component;
|
|
3680
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3681
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
3682
|
+
declare const _default$42: typeof __VLS_export$9;
|
|
3683
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
3684
|
+
new (): {
|
|
3685
|
+
$slots: S;
|
|
1110
3686
|
};
|
|
3687
|
+
}; //# sourceMappingURL=ScrollAreaThumb.vue.d.ts.map
|
|
3688
|
+
//#endregion
|
|
3689
|
+
//#region src/scroll-area/thumb/ScrollAreaThumbDataAttributes.d.ts
|
|
3690
|
+
declare enum ScrollAreaThumbDataAttributes {
|
|
3691
|
+
orientation = "data-orientation"
|
|
3692
|
+
}
|
|
3693
|
+
//#endregion
|
|
3694
|
+
//#region src/scroll-area/viewport/ScrollAreaViewport.vue.d.ts
|
|
3695
|
+
type ScrollAreaViewportState = ScrollAreaRootState;
|
|
3696
|
+
interface ScrollAreaViewportProps extends BaseUIComponentProps<ScrollAreaViewportState> {}
|
|
3697
|
+
declare var __VLS_1$1: {
|
|
3698
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3699
|
+
props: Record<string, any>;
|
|
3700
|
+
state: ScrollAreaRootState;
|
|
3701
|
+
}, __VLS_10$2: {};
|
|
1111
3702
|
type __VLS_Slots$5 = {} & {
|
|
1112
|
-
default?: (props: typeof
|
|
3703
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
1113
3704
|
} & {
|
|
1114
|
-
default?: (props: typeof
|
|
3705
|
+
default?: (props: typeof __VLS_10$2) => any;
|
|
1115
3706
|
};
|
|
1116
|
-
declare const __VLS_base$5: vue.DefineComponent<
|
|
1117
|
-
disabled: boolean;
|
|
3707
|
+
declare const __VLS_base$5: vue.DefineComponent<ScrollAreaViewportProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaViewportProps> & Readonly<{}>, {
|
|
1118
3708
|
as: string | vue.Component;
|
|
1119
3709
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1120
|
-
declare const __VLS_export$
|
|
1121
|
-
declare const _default$
|
|
3710
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
3711
|
+
declare const _default$43: typeof __VLS_export$8;
|
|
1122
3712
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
1123
3713
|
new (): {
|
|
1124
3714
|
$slots: S;
|
|
1125
3715
|
};
|
|
1126
|
-
}; //# sourceMappingURL=
|
|
3716
|
+
}; //# sourceMappingURL=ScrollAreaViewport.vue.d.ts.map
|
|
1127
3717
|
//#endregion
|
|
1128
|
-
//#region src/
|
|
1129
|
-
|
|
1130
|
-
|
|
3718
|
+
//#region src/scroll-area/viewport/ScrollAreaViewportCssVars.d.ts
|
|
3719
|
+
declare enum ScrollAreaViewportCssVars {
|
|
3720
|
+
scrollAreaOverflowXStart = "--scroll-area-overflow-x-start",
|
|
3721
|
+
scrollAreaOverflowXEnd = "--scroll-area-overflow-x-end",
|
|
3722
|
+
scrollAreaOverflowYStart = "--scroll-area-overflow-y-start",
|
|
3723
|
+
scrollAreaOverflowYEnd = "--scroll-area-overflow-y-end"
|
|
1131
3724
|
}
|
|
1132
|
-
declare const fieldItemContextKey: InjectionKey<FieldItemContext>;
|
|
1133
|
-
declare function useFieldItemContext(): FieldItemContext;
|
|
1134
3725
|
//#endregion
|
|
1135
|
-
//#region src/
|
|
1136
|
-
|
|
1137
|
-
|
|
3726
|
+
//#region src/scroll-area/viewport/ScrollAreaViewportDataAttributes.d.ts
|
|
3727
|
+
declare enum ScrollAreaViewportDataAttributes {
|
|
3728
|
+
scrolling = "data-scrolling",
|
|
3729
|
+
hasOverflowX = "data-has-overflow-x",
|
|
3730
|
+
hasOverflowY = "data-has-overflow-y",
|
|
3731
|
+
overflowXStart = "data-overflow-x-start",
|
|
3732
|
+
overflowXEnd = "data-overflow-x-end",
|
|
3733
|
+
overflowYStart = "data-overflow-y-start",
|
|
3734
|
+
overflowYEnd = "data-overflow-y-end"
|
|
3735
|
+
}
|
|
3736
|
+
//#endregion
|
|
3737
|
+
//#region src/toggle/Toggle.vue.d.ts
|
|
3738
|
+
interface ToggleState {
|
|
1138
3739
|
/**
|
|
1139
|
-
*
|
|
3740
|
+
* Whether the toggle is currently pressed.
|
|
1140
3741
|
*/
|
|
1141
|
-
|
|
3742
|
+
pressed: boolean;
|
|
1142
3743
|
/**
|
|
1143
|
-
* Whether the
|
|
3744
|
+
* Whether the toggle should ignore user interaction.
|
|
3745
|
+
*/
|
|
3746
|
+
disabled: boolean;
|
|
3747
|
+
}
|
|
3748
|
+
interface ToggleProps<Value extends string = string> extends NativeButtonProps, BaseUIComponentProps<ToggleState> {
|
|
3749
|
+
/**
|
|
3750
|
+
* Whether the toggle button is currently pressed.
|
|
3751
|
+
* This is the controlled counterpart of `defaultPressed`.
|
|
3752
|
+
*/
|
|
3753
|
+
pressed?: boolean;
|
|
3754
|
+
/**
|
|
3755
|
+
* Whether the toggle button is initially pressed.
|
|
3756
|
+
* This is the uncontrolled counterpart of `pressed`.
|
|
3757
|
+
* @default false
|
|
3758
|
+
*/
|
|
3759
|
+
defaultPressed?: boolean;
|
|
3760
|
+
/**
|
|
3761
|
+
* Whether the component should ignore user interaction.
|
|
3762
|
+
* @default false
|
|
3763
|
+
*/
|
|
3764
|
+
disabled?: boolean;
|
|
3765
|
+
/**
|
|
3766
|
+
* A unique string that identifies the toggle when used inside a toggle group.
|
|
3767
|
+
*/
|
|
3768
|
+
value?: Value | undefined;
|
|
3769
|
+
}
|
|
3770
|
+
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<{
|
|
3771
|
+
props: vue.PublicProps & __VLS_PrettifyLocal$1<ToggleProps<Value> & {
|
|
3772
|
+
onPressedChange?: ((pressed: boolean, eventDetails: {
|
|
3773
|
+
reason: "none";
|
|
3774
|
+
event: Event;
|
|
3775
|
+
cancel: () => void;
|
|
3776
|
+
allowPropagation: () => void;
|
|
3777
|
+
isCanceled: boolean;
|
|
3778
|
+
isPropagationAllowed: boolean;
|
|
3779
|
+
trigger: Element | undefined;
|
|
3780
|
+
} & Record<string, never>) => any) | undefined;
|
|
3781
|
+
}> & (typeof globalThis extends {
|
|
3782
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
3783
|
+
} ? P : {});
|
|
3784
|
+
expose: (exposed: {}) => void;
|
|
3785
|
+
attrs: any;
|
|
3786
|
+
slots: {
|
|
3787
|
+
default?: (props: {
|
|
3788
|
+
state: ToggleState;
|
|
3789
|
+
}) => any;
|
|
3790
|
+
} & {
|
|
3791
|
+
default?: (props: {
|
|
3792
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3793
|
+
props: Record<string, any>;
|
|
3794
|
+
state: ToggleState;
|
|
3795
|
+
}) => any;
|
|
3796
|
+
} & {
|
|
3797
|
+
default?: (props: {
|
|
3798
|
+
state: ToggleState;
|
|
3799
|
+
}) => any;
|
|
3800
|
+
};
|
|
3801
|
+
emit: (evt: "pressedChange", pressed: boolean, eventDetails: {
|
|
3802
|
+
reason: "none";
|
|
3803
|
+
event: Event;
|
|
3804
|
+
cancel: () => void;
|
|
3805
|
+
allowPropagation: () => void;
|
|
3806
|
+
isCanceled: boolean;
|
|
3807
|
+
isPropagationAllowed: boolean;
|
|
3808
|
+
trigger: Element | undefined;
|
|
3809
|
+
} & Record<string, never>) => void;
|
|
3810
|
+
}>) => vue.VNode & {
|
|
3811
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
3812
|
+
};
|
|
3813
|
+
declare const _default$54: typeof __VLS_export$7;
|
|
3814
|
+
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
|
|
3815
|
+
//#endregion
|
|
3816
|
+
//#region src/toggle/ToggleDataAttributes.d.ts
|
|
3817
|
+
declare enum ToggleDataAttributes {
|
|
3818
|
+
/**
|
|
3819
|
+
* Present when the toggle button is pressed.
|
|
3820
|
+
*/
|
|
3821
|
+
pressed = "data-pressed"
|
|
3822
|
+
}
|
|
3823
|
+
//#endregion
|
|
3824
|
+
//#region src/toggle-group/ToggleGroup.vue.d.ts
|
|
3825
|
+
interface ToggleGroupState {
|
|
3826
|
+
/**
|
|
3827
|
+
* Whether the component should ignore user interaction.
|
|
3828
|
+
*/
|
|
3829
|
+
disabled: boolean;
|
|
3830
|
+
/**
|
|
3831
|
+
* When `false` only one item in the group can be pressed. If any item in
|
|
3832
|
+
* the group becomes pressed, the others will become unpressed.
|
|
3833
|
+
* When `true` multiple items can be pressed.
|
|
3834
|
+
* @default false
|
|
3835
|
+
*/
|
|
3836
|
+
multiple: boolean;
|
|
3837
|
+
/**
|
|
3838
|
+
* The orientation of the toggle group.
|
|
3839
|
+
*/
|
|
3840
|
+
orientation: Orientation;
|
|
3841
|
+
}
|
|
3842
|
+
interface ToggleGroupProps<Value extends string = string> extends BaseUIComponentProps<ToggleGroupState> {
|
|
3843
|
+
/**
|
|
3844
|
+
* The pressed values of the toggle group.
|
|
3845
|
+
* This is the controlled counterpart of `defaultValue`.
|
|
3846
|
+
*/
|
|
3847
|
+
value?: Value[];
|
|
3848
|
+
/**
|
|
3849
|
+
* The pressed values of the toggle group.
|
|
3850
|
+
* This is the uncontrolled counterpart of `value`.
|
|
3851
|
+
*/
|
|
3852
|
+
defaultValue?: Value[];
|
|
3853
|
+
/**
|
|
3854
|
+
* Whether the toggle group should ignore user interaction.
|
|
3855
|
+
* @default false
|
|
3856
|
+
*/
|
|
3857
|
+
disabled?: boolean;
|
|
3858
|
+
/**
|
|
3859
|
+
* The orientation of the toggle group.
|
|
3860
|
+
* @default 'horizontal'
|
|
3861
|
+
*/
|
|
3862
|
+
orientation?: Orientation;
|
|
3863
|
+
/**
|
|
3864
|
+
* Whether to loop keyboard focus back to the first item when the end of the list is reached.
|
|
1144
3865
|
* @default true
|
|
1145
3866
|
*/
|
|
1146
|
-
|
|
3867
|
+
loopFocus?: boolean;
|
|
3868
|
+
/**
|
|
3869
|
+
* When `false` only one item in the group can be pressed. If any item in
|
|
3870
|
+
* the group becomes pressed, the others will become unpressed.
|
|
3871
|
+
* When `true` multiple items can be pressed.
|
|
3872
|
+
* @default false
|
|
3873
|
+
*/
|
|
3874
|
+
multiple?: boolean;
|
|
1147
3875
|
}
|
|
1148
|
-
declare
|
|
3876
|
+
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<{
|
|
3877
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<ToggleGroupProps<Value> & {
|
|
3878
|
+
onValueChange?: ((value: Value[], eventDetails: {
|
|
3879
|
+
reason: "none";
|
|
3880
|
+
event: Event;
|
|
3881
|
+
cancel: () => void;
|
|
3882
|
+
allowPropagation: () => void;
|
|
3883
|
+
isCanceled: boolean;
|
|
3884
|
+
isPropagationAllowed: boolean;
|
|
3885
|
+
trigger: Element | undefined;
|
|
3886
|
+
} & Record<string, never>) => any) | undefined;
|
|
3887
|
+
}> & (typeof globalThis extends {
|
|
3888
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
3889
|
+
} ? P : {});
|
|
3890
|
+
expose: (exposed: {}) => void;
|
|
3891
|
+
attrs: any;
|
|
3892
|
+
slots: {
|
|
3893
|
+
default?: (props: {
|
|
3894
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
3895
|
+
props: Record<string, any>;
|
|
3896
|
+
state: ToggleGroupState;
|
|
3897
|
+
}) => any;
|
|
3898
|
+
} & {
|
|
3899
|
+
default?: (props: {
|
|
3900
|
+
state: ToggleGroupState;
|
|
3901
|
+
}) => any;
|
|
3902
|
+
} & {
|
|
3903
|
+
default?: (props: {
|
|
3904
|
+
ref: ((el: Element | null) => void) | undefined;
|
|
3905
|
+
props: Record<string, any> | undefined;
|
|
3906
|
+
state: Record<string, any>;
|
|
3907
|
+
}) => any;
|
|
3908
|
+
} & {
|
|
3909
|
+
default?: (props: {
|
|
3910
|
+
state: Record<string, any>;
|
|
3911
|
+
}) => any;
|
|
3912
|
+
};
|
|
3913
|
+
emit: (evt: "valueChange", value: Value[], eventDetails: {
|
|
3914
|
+
reason: "none";
|
|
3915
|
+
event: Event;
|
|
3916
|
+
cancel: () => void;
|
|
3917
|
+
allowPropagation: () => void;
|
|
3918
|
+
isCanceled: boolean;
|
|
3919
|
+
isPropagationAllowed: boolean;
|
|
3920
|
+
trigger: Element | undefined;
|
|
3921
|
+
} & Record<string, never>) => void;
|
|
3922
|
+
}>) => vue.VNode & {
|
|
3923
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
3924
|
+
};
|
|
3925
|
+
declare const _default$55: typeof __VLS_export$6;
|
|
3926
|
+
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
|
|
3927
|
+
//#endregion
|
|
3928
|
+
//#region src/toggle-group/ToggleGroupContext.d.ts
|
|
3929
|
+
interface ToggleGroupContext<Value> {
|
|
3930
|
+
value: Readonly<Ref<Value[]>>;
|
|
3931
|
+
setGroupValue: (newValue: Value, nextPressed: boolean, eventDetails: BaseUIChangeEventDetails<typeof REASONS.none>) => void;
|
|
3932
|
+
disabled: Readonly<Ref<boolean>>;
|
|
3933
|
+
orientation: Readonly<Ref<Orientation>>;
|
|
3934
|
+
/**
|
|
3935
|
+
* Indicates whether the value has been initialized via `value` or `defaultValue` props.
|
|
3936
|
+
* Used to determine if Toggle should warn users about data inconsistency problems.
|
|
3937
|
+
*/
|
|
3938
|
+
isValueInitialized: Readonly<Ref<boolean>>;
|
|
3939
|
+
}
|
|
3940
|
+
declare const toggleGroupContextKey: InjectionKey<ToggleGroupContext<any>>;
|
|
3941
|
+
declare function useToggleGroupContext<Value>(optional: true): ToggleGroupContext<Value> | undefined;
|
|
3942
|
+
declare function useToggleGroupContext<Value>(optional?: false): ToggleGroupContext<Value>;
|
|
3943
|
+
//#endregion
|
|
3944
|
+
//#region src/toggle-group/ToggleGroupDataAttributes.d.ts
|
|
3945
|
+
declare enum ToggleGroupDataAttributes {
|
|
3946
|
+
/**
|
|
3947
|
+
* Present when the toggle group is disabled.
|
|
3948
|
+
*/
|
|
3949
|
+
disabled = "data-disabled",
|
|
3950
|
+
/**
|
|
3951
|
+
* Indicates the orientation of the toggle group.
|
|
3952
|
+
* @type {'horizontal' | 'vertical'}
|
|
3953
|
+
*/
|
|
3954
|
+
orientation = "data-orientation",
|
|
3955
|
+
/**
|
|
3956
|
+
* Present when the toggle group allows multiple buttons to be in the pressed state at the same time.
|
|
3957
|
+
*/
|
|
3958
|
+
multiple = "data-multiple"
|
|
3959
|
+
}
|
|
3960
|
+
//#endregion
|
|
3961
|
+
//#region src/toolbar/root/ToolbarRoot.vue.d.ts
|
|
3962
|
+
interface ToolbarRootState {
|
|
3963
|
+
/**
|
|
3964
|
+
* Whether the component is disabled.
|
|
3965
|
+
*/
|
|
3966
|
+
disabled: boolean;
|
|
3967
|
+
/**
|
|
3968
|
+
* The component orientation.
|
|
3969
|
+
*/
|
|
3970
|
+
orientation: Orientation;
|
|
3971
|
+
}
|
|
3972
|
+
interface ToolbarRootProps extends BaseUIComponentProps<ToolbarRootState> {
|
|
3973
|
+
/**
|
|
3974
|
+
* Whether the component is disabled.
|
|
3975
|
+
* @default false
|
|
3976
|
+
*/
|
|
3977
|
+
disabled?: boolean;
|
|
3978
|
+
/**
|
|
3979
|
+
* The orientation of the toolbar.
|
|
3980
|
+
* @default 'horizontal'
|
|
3981
|
+
*/
|
|
3982
|
+
orientation?: Orientation;
|
|
3983
|
+
/**
|
|
3984
|
+
* If `true`, using keyboard navigation will wrap focus to the other end of
|
|
3985
|
+
* the toolbar once the end is reached.
|
|
3986
|
+
* @default true
|
|
3987
|
+
*/
|
|
3988
|
+
loopFocus?: boolean;
|
|
3989
|
+
}
|
|
3990
|
+
declare var __VLS_10$1: {
|
|
3991
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1149
3992
|
props: Record<string, any>;
|
|
1150
|
-
state:
|
|
1151
|
-
},
|
|
1152
|
-
state:
|
|
3993
|
+
state: ToolbarRootState;
|
|
3994
|
+
}, __VLS_18: {
|
|
3995
|
+
state: ToolbarRootState;
|
|
1153
3996
|
};
|
|
1154
3997
|
type __VLS_Slots$4 = {} & {
|
|
1155
|
-
default?: (props: typeof
|
|
3998
|
+
default?: (props: typeof __VLS_10$1) => any;
|
|
1156
3999
|
} & {
|
|
1157
|
-
default?: (props: typeof
|
|
4000
|
+
default?: (props: typeof __VLS_18) => any;
|
|
1158
4001
|
};
|
|
1159
|
-
declare const __VLS_base$4: vue.DefineComponent<
|
|
4002
|
+
declare const __VLS_base$4: vue.DefineComponent<ToolbarRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarRootProps> & Readonly<{}>, {
|
|
4003
|
+
disabled: boolean;
|
|
1160
4004
|
as: string | vue.Component;
|
|
1161
|
-
|
|
4005
|
+
orientation: Orientation;
|
|
4006
|
+
loopFocus: boolean;
|
|
1162
4007
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1163
|
-
declare const __VLS_export$
|
|
1164
|
-
declare const _default$
|
|
4008
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
4009
|
+
declare const _default$60: typeof __VLS_export$5;
|
|
1165
4010
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
1166
4011
|
new (): {
|
|
1167
4012
|
$slots: S;
|
|
1168
4013
|
};
|
|
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
|
-
}
|
|
4014
|
+
}; //# sourceMappingURL=ToolbarRoot.vue.d.ts.map
|
|
1186
4015
|
//#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;
|
|
4016
|
+
//#region src/toolbar/button/ToolbarButton.vue.d.ts
|
|
4017
|
+
interface ToolbarButtonState extends ToolbarRootState {
|
|
4018
|
+
/**
|
|
4019
|
+
* Whether the component is disabled.
|
|
4020
|
+
*/
|
|
4021
|
+
disabled: boolean;
|
|
4022
|
+
/**
|
|
4023
|
+
* Whether the component remains focusable when disabled.
|
|
4024
|
+
*/
|
|
4025
|
+
focusable: boolean;
|
|
1209
4026
|
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
4027
|
+
interface ToolbarButtonProps extends NativeButtonProps, BaseUIComponentProps<ToolbarButtonState> {
|
|
4028
|
+
/**
|
|
4029
|
+
* Whether the component is disabled.
|
|
4030
|
+
* @default false
|
|
4031
|
+
*/
|
|
4032
|
+
disabled?: boolean;
|
|
4033
|
+
/**
|
|
4034
|
+
* Whether the component remains focusable when disabled.
|
|
4035
|
+
* @default true
|
|
4036
|
+
*/
|
|
4037
|
+
focusableWhenDisabled?: boolean;
|
|
1218
4038
|
}
|
|
1219
|
-
declare var
|
|
1220
|
-
|
|
1221
|
-
transitionStatus: TransitionStatus;
|
|
1222
|
-
value: unknown;
|
|
1223
|
-
error: string;
|
|
1224
|
-
errors: string[];
|
|
1225
|
-
initialValue: unknown;
|
|
4039
|
+
declare var __VLS_8$2: {
|
|
4040
|
+
state: ToolbarButtonState;
|
|
1226
4041
|
};
|
|
1227
4042
|
type __VLS_Slots$3 = {} & {
|
|
1228
|
-
default?: (props: typeof
|
|
4043
|
+
default?: (props: typeof __VLS_8$2) => any;
|
|
1229
4044
|
};
|
|
1230
|
-
declare const __VLS_base$3: vue.DefineComponent<
|
|
1231
|
-
|
|
1232
|
-
|
|
4045
|
+
declare const __VLS_base$3: vue.DefineComponent<ToolbarButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarButtonProps> & Readonly<{}>, {
|
|
4046
|
+
disabled: boolean;
|
|
4047
|
+
nativeButton: boolean;
|
|
4048
|
+
as: string | vue.Component;
|
|
4049
|
+
focusableWhenDisabled: boolean;
|
|
4050
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
4051
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
4052
|
+
declare const _default$56: typeof __VLS_export$4;
|
|
1233
4053
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
1234
4054
|
new (): {
|
|
1235
4055
|
$slots: S;
|
|
1236
4056
|
};
|
|
1237
|
-
}; //# sourceMappingURL=
|
|
4057
|
+
}; //# sourceMappingURL=ToolbarButton.vue.d.ts.map
|
|
1238
4058
|
//#endregion
|
|
1239
|
-
//#region src/
|
|
1240
|
-
|
|
4059
|
+
//#region src/toolbar/button/ToolbarButtonDataAttributes.d.ts
|
|
4060
|
+
declare enum ToolbarButtonDataAttributes {
|
|
1241
4061
|
/**
|
|
1242
|
-
*
|
|
4062
|
+
* Present when the button is disabled.
|
|
1243
4063
|
*/
|
|
1244
|
-
disabled
|
|
4064
|
+
disabled = "data-disabled",
|
|
4065
|
+
/**
|
|
4066
|
+
* Indicates the orientation of the toolbar.
|
|
4067
|
+
* @type {'horizontal' | 'vertical'}
|
|
4068
|
+
*/
|
|
4069
|
+
orientation = "data-orientation",
|
|
4070
|
+
/**
|
|
4071
|
+
* Present when the button remains focusable when disabled.
|
|
4072
|
+
*/
|
|
4073
|
+
focusable = "data-focusable"
|
|
1245
4074
|
}
|
|
1246
|
-
|
|
4075
|
+
//#endregion
|
|
4076
|
+
//#region src/toolbar/group/ToolbarGroup.vue.d.ts
|
|
4077
|
+
interface ToolbarGroupState extends ToolbarRootState {}
|
|
4078
|
+
interface ToolbarGroupProps extends BaseUIComponentProps<ToolbarGroupState> {
|
|
1247
4079
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*
|
|
4080
|
+
* Whether all toolbar items in the group are disabled.
|
|
4081
|
+
* @default false
|
|
1250
4082
|
*/
|
|
1251
|
-
|
|
4083
|
+
disabled?: boolean;
|
|
1252
4084
|
}
|
|
1253
|
-
declare var __VLS_1
|
|
4085
|
+
declare var __VLS_1: {
|
|
4086
|
+
ref: ((el: Element | vue.ComponentPublicInstance | null) => void) | undefined;
|
|
1254
4087
|
props: Record<string, any>;
|
|
1255
|
-
state:
|
|
1256
|
-
}, __VLS_10
|
|
1257
|
-
state:
|
|
4088
|
+
state: ToolbarGroupState;
|
|
4089
|
+
}, __VLS_10: {
|
|
4090
|
+
state: ToolbarGroupState;
|
|
1258
4091
|
};
|
|
1259
4092
|
type __VLS_Slots$2 = {} & {
|
|
1260
|
-
default?: (props: typeof __VLS_1
|
|
4093
|
+
default?: (props: typeof __VLS_1) => any;
|
|
1261
4094
|
} & {
|
|
1262
|
-
default?: (props: typeof __VLS_10
|
|
4095
|
+
default?: (props: typeof __VLS_10) => any;
|
|
1263
4096
|
};
|
|
1264
|
-
declare const __VLS_base$2: vue.DefineComponent<
|
|
4097
|
+
declare const __VLS_base$2: vue.DefineComponent<ToolbarGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarGroupProps> & Readonly<{}>, {
|
|
4098
|
+
disabled: boolean;
|
|
1265
4099
|
as: string | vue.Component;
|
|
1266
4100
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1267
|
-
declare const __VLS_export$
|
|
1268
|
-
declare const _default$
|
|
4101
|
+
declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
4102
|
+
declare const _default$57: typeof __VLS_export$3;
|
|
1269
4103
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
1270
4104
|
new (): {
|
|
1271
4105
|
$slots: S;
|
|
1272
4106
|
};
|
|
1273
|
-
}; //# sourceMappingURL=
|
|
4107
|
+
}; //# sourceMappingURL=ToolbarGroup.vue.d.ts.map
|
|
1274
4108
|
//#endregion
|
|
1275
|
-
//#region src/
|
|
1276
|
-
interface
|
|
4109
|
+
//#region src/toolbar/group/ToolbarGroupContext.d.ts
|
|
4110
|
+
interface ToolbarGroupContext {
|
|
4111
|
+
disabled: Ref<boolean>;
|
|
4112
|
+
}
|
|
4113
|
+
declare const toolbarGroupContextKey: InjectionKey<ToolbarGroupContext>;
|
|
4114
|
+
declare function useToolbarGroupContext(): ToolbarGroupContext;
|
|
4115
|
+
declare function useToolbarGroupContext(optional: true): ToolbarGroupContext | undefined;
|
|
4116
|
+
//#endregion
|
|
4117
|
+
//#region src/toolbar/group/ToolbarGroupDataAttributes.d.ts
|
|
4118
|
+
declare enum ToolbarGroupDataAttributes {
|
|
1277
4119
|
/**
|
|
1278
|
-
*
|
|
4120
|
+
* Present when the group is disabled.
|
|
4121
|
+
*/
|
|
4122
|
+
disabled = "data-disabled",
|
|
4123
|
+
/**
|
|
4124
|
+
* Indicates the orientation of the toolbar.
|
|
4125
|
+
* @type {'horizontal' | 'vertical'}
|
|
4126
|
+
*/
|
|
4127
|
+
orientation = "data-orientation"
|
|
4128
|
+
}
|
|
4129
|
+
//#endregion
|
|
4130
|
+
//#region src/toolbar/input/ToolbarInput.vue.d.ts
|
|
4131
|
+
interface ToolbarInputState extends ToolbarRootState {
|
|
4132
|
+
/**
|
|
4133
|
+
* Whether the component is disabled.
|
|
1279
4134
|
*/
|
|
1280
4135
|
disabled: boolean;
|
|
4136
|
+
/**
|
|
4137
|
+
* Whether the component remains focusable when disabled.
|
|
4138
|
+
*/
|
|
4139
|
+
focusable: boolean;
|
|
1281
4140
|
}
|
|
1282
|
-
interface
|
|
4141
|
+
interface ToolbarInputProps extends BaseUIComponentProps<ToolbarInputState> {
|
|
1283
4142
|
/**
|
|
1284
|
-
* Whether the component
|
|
4143
|
+
* Whether the component is disabled.
|
|
1285
4144
|
* @default false
|
|
1286
4145
|
*/
|
|
1287
4146
|
disabled?: boolean;
|
|
4147
|
+
/**
|
|
4148
|
+
* Whether the component remains focusable when disabled.
|
|
4149
|
+
* @default true
|
|
4150
|
+
*/
|
|
4151
|
+
focusableWhenDisabled?: boolean;
|
|
4152
|
+
defaultValue?: string | number;
|
|
1288
4153
|
}
|
|
1289
|
-
declare
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
4154
|
+
declare const __VLS_export$2: vue.DefineComponent<ToolbarInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarInputProps> & Readonly<{}>, {
|
|
4155
|
+
disabled: boolean;
|
|
4156
|
+
as: string | vue.Component;
|
|
4157
|
+
focusableWhenDisabled: boolean;
|
|
4158
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
4159
|
+
declare const _default$58: typeof __VLS_export$2;
|
|
4160
|
+
//#endregion
|
|
4161
|
+
//#region src/toolbar/input/ToolbarInputDataAttributes.d.ts
|
|
4162
|
+
declare enum ToolbarInputDataAttributes {
|
|
4163
|
+
/**
|
|
4164
|
+
* Present when the input is disabled.
|
|
4165
|
+
*/
|
|
4166
|
+
disabled = "data-disabled",
|
|
4167
|
+
/**
|
|
4168
|
+
* Indicates the orientation of the toolbar.
|
|
4169
|
+
* @type {'horizontal' | 'vertical'}
|
|
4170
|
+
*/
|
|
4171
|
+
orientation = "data-orientation",
|
|
4172
|
+
/**
|
|
4173
|
+
* Present when the input remains focusable when disabled.
|
|
4174
|
+
*/
|
|
4175
|
+
focusable = "data-focusable"
|
|
4176
|
+
}
|
|
4177
|
+
//#endregion
|
|
4178
|
+
//#region src/toolbar/link/ToolbarLink.vue.d.ts
|
|
4179
|
+
interface ToolbarLinkState {
|
|
4180
|
+
/**
|
|
4181
|
+
* The component orientation.
|
|
4182
|
+
*/
|
|
4183
|
+
orientation: 'horizontal' | 'vertical';
|
|
4184
|
+
}
|
|
4185
|
+
interface ToolbarLinkProps extends BaseUIComponentProps<ToolbarLinkState> {}
|
|
4186
|
+
declare var __VLS_8$1: {
|
|
4187
|
+
state: ToolbarLinkState;
|
|
4188
|
+
};
|
|
1295
4189
|
type __VLS_Slots$1 = {} & {
|
|
1296
|
-
default?: (props: typeof
|
|
1297
|
-
} & {
|
|
1298
|
-
default?: (props: typeof __VLS_10$1) => any;
|
|
4190
|
+
default?: (props: typeof __VLS_8$1) => any;
|
|
1299
4191
|
};
|
|
1300
|
-
declare const __VLS_base$1: vue.DefineComponent<
|
|
1301
|
-
disabled: boolean;
|
|
4192
|
+
declare const __VLS_base$1: vue.DefineComponent<ToolbarLinkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarLinkProps> & Readonly<{}>, {
|
|
1302
4193
|
as: string | vue.Component;
|
|
1303
4194
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1304
4195
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1305
|
-
declare const _default$
|
|
4196
|
+
declare const _default$59: typeof __VLS_export$1;
|
|
1306
4197
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1307
4198
|
new (): {
|
|
1308
4199
|
$slots: S;
|
|
1309
4200
|
};
|
|
1310
|
-
}; //# sourceMappingURL=
|
|
4201
|
+
}; //# sourceMappingURL=ToolbarLink.vue.d.ts.map
|
|
1311
4202
|
//#endregion
|
|
1312
|
-
//#region src/
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
4203
|
+
//#region src/toolbar/link/ToolbarLinkDataAttributes.d.ts
|
|
4204
|
+
declare enum ToolbarLinkDataAttributes {
|
|
4205
|
+
/**
|
|
4206
|
+
* Indicates the orientation of the toolbar.
|
|
4207
|
+
* @type {'horizontal' | 'vertical'}
|
|
4208
|
+
*/
|
|
4209
|
+
orientation = "data-orientation"
|
|
1317
4210
|
}
|
|
1318
|
-
declare const fieldsetRootContextKey: InjectionKey<FieldsetRootContext>;
|
|
1319
|
-
declare function useFieldsetRootContext(optional: true): FieldsetRootContext | undefined;
|
|
1320
|
-
declare function useFieldsetRootContext(optional?: false): FieldsetRootContext;
|
|
1321
4211
|
//#endregion
|
|
1322
|
-
//#region src/
|
|
1323
|
-
interface
|
|
1324
|
-
|
|
4212
|
+
//#region src/toolbar/root/ToolbarRootContext.d.ts
|
|
4213
|
+
interface ToolbarRootItemMetadata {
|
|
4214
|
+
focusableWhenDisabled: boolean;
|
|
1325
4215
|
}
|
|
1326
|
-
interface
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
*/
|
|
1337
|
-
validationMode?: FormValidationMode;
|
|
4216
|
+
interface ToolbarRootContext {
|
|
4217
|
+
disabled: Ref<boolean>;
|
|
4218
|
+
orientation: Ref<Orientation>;
|
|
4219
|
+
}
|
|
4220
|
+
declare const toolbarRootContextKey: InjectionKey<ToolbarRootContext>;
|
|
4221
|
+
declare function useToolbarRootContext(optional: true): ToolbarRootContext | undefined;
|
|
4222
|
+
declare function useToolbarRootContext(optional?: false): ToolbarRootContext;
|
|
4223
|
+
//#endregion
|
|
4224
|
+
//#region src/toolbar/root/ToolbarRootDataAttributes.d.ts
|
|
4225
|
+
declare enum ToolbarRootDataAttributes {
|
|
1338
4226
|
/**
|
|
1339
|
-
*
|
|
1340
|
-
* Keys correspond to the `name` attribute on `<FieldRoot>`.
|
|
4227
|
+
* Present when the toolbar is disabled.
|
|
1341
4228
|
*/
|
|
1342
|
-
|
|
4229
|
+
disabled = "data-disabled",
|
|
1343
4230
|
/**
|
|
1344
|
-
*
|
|
1345
|
-
* @
|
|
4231
|
+
* Indicates the orientation of the toolbar.
|
|
4232
|
+
* @type {'horizontal' | 'vertical'}
|
|
1346
4233
|
*/
|
|
1347
|
-
|
|
4234
|
+
orientation = "data-orientation"
|
|
1348
4235
|
}
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
state: FormState;
|
|
1357
|
-
actions: {
|
|
1358
|
-
validate: (fieldName?: string) => void;
|
|
1359
|
-
};
|
|
1360
|
-
};
|
|
4236
|
+
//#endregion
|
|
4237
|
+
//#region src/toolbar/separator/ToolbarSeparator.vue.d.ts
|
|
4238
|
+
interface ToolbarSeparatorState extends SeparatorState {}
|
|
4239
|
+
interface ToolbarSeparatorProps extends SeparatorProps {}
|
|
4240
|
+
declare var __VLS_8: {
|
|
4241
|
+
state: SeparatorState;
|
|
4242
|
+
};
|
|
1361
4243
|
type __VLS_Slots = {} & {
|
|
1362
|
-
default?: (props: typeof
|
|
1363
|
-
} & {
|
|
1364
|
-
default?: (props: typeof __VLS_10) => any;
|
|
4244
|
+
default?: (props: typeof __VLS_8) => any;
|
|
1365
4245
|
};
|
|
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>;
|
|
4246
|
+
declare const __VLS_base: vue.DefineComponent<ToolbarSeparatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToolbarSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1379
4247
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1380
|
-
declare const _default$
|
|
4248
|
+
declare const _default$61: typeof __VLS_export;
|
|
1381
4249
|
type __VLS_WithSlots<T, S> = T & {
|
|
1382
4250
|
new (): {
|
|
1383
4251
|
$slots: S;
|
|
1384
4252
|
};
|
|
1385
|
-
}; //# sourceMappingURL=
|
|
1386
|
-
//#endregion
|
|
1387
|
-
//#region src/merge-props/mergeProps.d.ts
|
|
1388
|
-
declare function makeEventPreventable<T extends Event>(event: T): BaseUIEvent<T>;
|
|
1389
|
-
declare function mergeClasses(ourClass: string | undefined, theirClass: string | undefined): string | undefined;
|
|
1390
|
-
declare function mergeObjects<A extends object | undefined, B extends object | undefined>(a: A, b: B): NonNullable<A> | NonNullable<B> | (A & B) | undefined;
|
|
1391
|
-
/**
|
|
1392
|
-
* Merges Vue prop/attr objects using Base UI Vue semantics.
|
|
1393
|
-
*
|
|
1394
|
-
* Later props overwrite earlier ones, except for:
|
|
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>;
|
|
4253
|
+
}; //# sourceMappingURL=ToolbarSeparator.vue.d.ts.map
|
|
1406
4254
|
//#endregion
|
|
1407
|
-
//#region src/
|
|
1408
|
-
|
|
4255
|
+
//#region src/toolbar/separator/ToolbarSeparatorDataAttributes.d.ts
|
|
4256
|
+
declare enum ToolbarSeparatorDataAttributes {
|
|
4257
|
+
/**
|
|
4258
|
+
* Indicates the orientation of the toolbar.
|
|
4259
|
+
* @type {'horizontal' | 'vertical'}
|
|
4260
|
+
*/
|
|
4261
|
+
orientation = "data-orientation"
|
|
4262
|
+
}
|
|
1409
4263
|
//#endregion
|
|
1410
4264
|
//#region src/use-render/useRender.d.ts
|
|
1411
4265
|
type UseRenderIntrinsicElement = keyof NativeElements;
|
|
@@ -1497,5 +4351,5 @@ declare const Slot: Component;
|
|
|
1497
4351
|
declare const name = "base-ui-vue";
|
|
1498
4352
|
declare const version = "0.0.0";
|
|
1499
4353
|
//#endregion
|
|
1500
|
-
export { _default as AccordionHeader, AccordionHeaderProps, _default$1 as AccordionItem, AccordionItemChangeEventDetails, AccordionItemChangeEventReason, AccordionItemContext, AccordionItemProps, AccordionItemState, _default$2 as AccordionPanel, AccordionPanelProps, AccordionPanelState, _default$3 as AccordionRoot, AccordionRootChangeEventDetails, AccordionRootChangeEventReason, AccordionRootContext, AccordionRootProps, AccordionRootState, _default$4 as AccordionTrigger, AccordionTriggerProps, AccordionValue, _default$5 as AvatarFallback, AvatarFallbackProps, AvatarFallbackState, _default$6 as AvatarImage, AvatarImageDataAttributes, AvatarImageProps, AvatarImageState, _default$7 as AvatarRoot, AvatarRootProps, AvatarRootState, _default$8 as Button, ButtonProps, ButtonState, CollapsibleChangeEventDetails, CollapsibleChangeEventReason, _default$
|
|
4354
|
+
export { _default as AccordionHeader, AccordionHeaderProps, _default$1 as AccordionItem, AccordionItemChangeEventDetails, AccordionItemChangeEventReason, AccordionItemContext, AccordionItemProps, AccordionItemState, _default$2 as AccordionPanel, AccordionPanelProps, AccordionPanelState, _default$3 as AccordionRoot, AccordionRootChangeEventDetails, AccordionRootChangeEventReason, AccordionRootContext, AccordionRootProps, AccordionRootState, _default$4 as AccordionTrigger, AccordionTriggerProps, AccordionValue, _default$5 as AvatarFallback, AvatarFallbackProps, AvatarFallbackState, _default$6 as AvatarImage, AvatarImageDataAttributes, AvatarImageProps, AvatarImageState, _default$7 as AvatarRoot, AvatarRootProps, AvatarRootState, _default$8 as Button, ButtonProps, ButtonState, CSPContextValue, _default$9 as CSPProvider, CSPProviderProps, Checkbox, _default$10 as CheckboxGroup, CheckboxGroupContext, CheckboxGroupDataAttributes, CheckboxGroupProps, 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, CollapsibleRootContext, CollapsibleRootProps, CollapsibleRootState, _default$15 as CollapsibleTrigger, CollapsibleTriggerProps, _default$16 as DirectionProvider, DirectionProviderProps, _default$17 as FieldControl, FieldControlDataAttributes, FieldControlProps, FieldControlState, _default$18 as FieldDescription, FieldDescriptionProps, FieldDescriptionState, _default$19 as FieldError, FieldErrorProps, FieldErrorState, _default$20 as FieldItem, FieldItemContext, FieldItemProps, FieldItemState, _default$21 as FieldLabel, FieldLabelProps, FieldLabelState, _default$22 as FieldRoot, FieldRootContext, FieldRootExpose, FieldRootProps, FieldRootState, _default$23 as FieldValidity, FieldValidityData, FieldValidityState, _default$24 as FieldsetLegend, FieldsetLegendProps, FieldsetLegendState, _default$25 as FieldsetRoot, FieldsetRootContext, FieldsetRootProps, FieldsetRootState, _default$26 as Form, FormActions, FormContext, FormErrors, FormField, FormProps, FormState, FormValidationMode, ImageLoadingStatus, _default$11 as Indicator, _default$27 as Input, InputDataAttributes, InputProps, InputState, _default$28 as MeterIndicator, MeterIndicatorProps, MeterIndicatorState, _default$29 as MeterLabel, MeterLabelProps, MeterLabelState, _default$30 as MeterRoot, MeterRootContext, MeterRootProps, MeterRootState, _default$31 as MeterTrack, MeterTrackProps, MeterTrackState, _default$32 as MeterValue, MeterValueProps, MeterValueState, _default$33 as ProgressIndicator, ProgressIndicatorProps, ProgressIndicatorState, _default$34 as ProgressLabel, ProgressLabelProps, ProgressLabelState, _default$35 as ProgressRoot, ProgressRootContext, ProgressRootDataAttributes, ProgressRootProps, ProgressRootState, ProgressStatus, _default$36 as ProgressTrack, ProgressTrackProps, ProgressTrackState, _default$37 as ProgressValue, ProgressValueProps, ProgressValueRenderlessSlotProps, ProgressValueSlotProps, ProgressValueState, RenderRef, _default$12 as Root, _default$38 as ScrollAreaContent, ScrollAreaContentProps, ScrollAreaContentState, _default$39 as ScrollAreaCorner, ScrollAreaCornerProps, ScrollAreaCornerState, _default$40 as ScrollAreaRoot, ScrollAreaRootCssVars, ScrollAreaRootDataAttributes, ScrollAreaRootProps, ScrollAreaRootState, _default$41 as ScrollAreaScrollbar, ScrollAreaScrollbarCssVars, ScrollAreaScrollbarDataAttributes, ScrollAreaScrollbarProps, ScrollAreaScrollbarState, _default$42 as ScrollAreaThumb, ScrollAreaThumbDataAttributes, ScrollAreaThumbProps, ScrollAreaThumbState, _default$43 as ScrollAreaViewport, ScrollAreaViewportCssVars, ScrollAreaViewportDataAttributes, ScrollAreaViewportProps, ScrollAreaViewportState, _default$44 as Separator, SeparatorDataAttributes, SeparatorProps, SeparatorState, _default$45 as SliderControl, SliderControlDataAttributes, SliderControlProps, SliderControlState, _default$46 as SliderIndicator, SliderIndicatorDataAttributes, SliderIndicatorProps, SliderIndicatorState, _default$47 as SliderLabel, SliderLabelProps, SliderLabelState, _default$48 as SliderRoot, SliderRootChangeEventDetails, SliderRootChangeEventReason, SliderRootCommitEventDetails, SliderRootCommitEventReason, SliderRootContext, SliderRootDataAttributes, SliderRootProps, SliderRootState, _default$49 as SliderThumb, SliderThumbDataAttributes, SliderThumbProps, SliderThumbState, _default$50 as SliderTrack, SliderTrackDataAttributes, SliderTrackProps, SliderTrackState, _default$51 as SliderValue, SliderValueDataAttributes, SliderValueProps, SliderValueState, Slot, _default$52 as SwitchRoot, SwitchRootChangeEventDetails, SwitchRootChangeEventReason, SwitchRootContext, SwitchRootDataAttributes, SwitchRootProps, SwitchRootState, _default$53 as SwitchThumb, SwitchThumbDataAttributes, SwitchThumbProps, SwitchThumbState, TextDirection, ThumbMetadata, _default$54 as Toggle, ToggleDataAttributes, _default$55 as ToggleGroup, ToggleGroupContext, ToggleGroupDataAttributes, ToggleGroupProps, ToggleGroupState, ToggleProps, ToggleState, _default$56 as ToolbarButton, ToolbarButtonDataAttributes, ToolbarButtonProps, ToolbarButtonState, _default$57 as ToolbarGroup, ToolbarGroupContext, ToolbarGroupDataAttributes, ToolbarGroupProps, ToolbarGroupState, _default$58 as ToolbarInput, ToolbarInputDataAttributes, ToolbarInputProps, ToolbarInputState, _default$59 as ToolbarLink, ToolbarLinkDataAttributes, ToolbarLinkProps, ToolbarLinkState, _default$60 as ToolbarRoot, ToolbarRootContext, ToolbarRootDataAttributes, ToolbarRootItemMetadata, ToolbarRootProps, ToolbarRootState, _default$61 as ToolbarSeparator, ToolbarSeparatorDataAttributes, ToolbarSeparatorProps, ToolbarSeparatorState, type TransitionStatus, UseCheckboxGroupParentParameters, UseCheckboxGroupParentReturnValue, UseRenderComponentProps, UseRenderElementProps, UseRenderParams, UseRenderReturn, accordionItemContextKey, accordionRootContextKey, checkboxGroupContextKey, checkboxRootContextKey, collapsibleRootContextKey, fieldItemContextKey, fieldRootContextKey, fieldsetRootContextKey, formContextKey, makeEventPreventable, mergeClasses, mergeObjects, mergeProps, mergePropsN, meterRootContextKey, name, progressRootContextKey, progressStateAttributesMapping, sliderRootContextKey, switchRootContextKey, toggleGroupContextKey, toolbarGroupContextKey, toolbarRootContextKey, useAccordionItemContext, useAccordionRootContext, useCSPContext, useCheckboxGroupContext, useCheckboxRootContext, useCollapsibleRootContext, useDirection, useFieldItemContext, useFieldRootContext, useFieldsetRootContext, useFormContext, useMeterRootContext, useProgressRootContext, useRender, useSliderRootContext, useSwitchRootContext, useToggleGroupContext, useToolbarGroupContext, useToolbarRootContext, version };
|
|
1501
4355
|
//# sourceMappingURL=index.d.cts.map
|