@vizejs/ui 0.406.0 → 0.408.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert-dialog.d.mts +1 -1
- package/dist/{announcer-CuBryPW9.d.mts → announcer-Dldh-8I4.d.mts} +77 -16
- package/dist/announcer.d.mts +1 -1
- package/dist/avatar.d.mts +1 -1
- package/dist/badge.d.mts +1 -1
- package/dist/banner.d.mts +1 -1
- package/dist/block-ui.d.mts +1 -1
- package/dist/blockquote.d.mts +1 -1
- package/dist/callout.d.mts +1 -1
- package/dist/card.d.mts +1 -1
- package/dist/catalog.d.mts +3 -3
- package/dist/catalog.mjs +4 -2
- package/dist/checkbox.d.mts +1 -1
- package/dist/code.d.mts +1 -1
- package/dist/collapsible.d.mts +1 -1
- package/dist/copy-button.d.mts +1 -1
- package/dist/dialog.d.mts +1 -1
- package/dist/empty-state.d.mts +1 -1
- package/dist/form-BSS3SlU9.d.mts +182 -0
- package/dist/form-DnMzKS86.mjs +219 -0
- package/dist/form.d.mts +2 -2
- package/dist/form.mjs +2 -1
- package/dist/fullscreen-button.d.mts +1 -1
- package/dist/heading.d.mts +1 -1
- package/dist/icon-button.d.mts +1 -1
- package/dist/icon.d.mts +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +3 -3
- package/dist/{input-D4Zvmf67.d.mts → input-C0fgeRnS.d.mts} +2 -2
- package/dist/input.d.mts +1 -1
- package/dist/kbd.d.mts +1 -1
- package/dist/list.d.mts +1 -1
- package/dist/listbox.d.mts +1 -1
- package/dist/{locale-DzWqhJZs.mjs → locale-DmAAufmA.mjs} +179 -16
- package/dist/locale.d.mts +2 -2
- package/dist/locale.mjs +2 -2
- package/dist/native-select.d.mts +1 -1
- package/dist/pagination.d.mts +1 -1
- package/dist/popover.d.mts +1 -1
- package/dist/print-button.d.mts +1 -1
- package/dist/progress-bar.d.mts +1 -1
- package/dist/radio-group.d.mts +1 -1
- package/dist/scroll-area.d.mts +1 -1
- package/dist/{search-field-DzW31UHM.d.mts → search-field-zyMCYvZ2.d.mts} +4 -4
- package/dist/search-field.d.mts +1 -1
- package/dist/share-button.d.mts +1 -1
- package/dist/status-light.d.mts +1 -1
- package/dist/stepper.d.mts +1 -1
- package/dist/surface.d.mts +1 -1
- package/dist/switch.d.mts +1 -1
- package/dist/tabs.d.mts +1 -1
- package/dist/text.d.mts +1 -1
- package/dist/{textarea-D7V5lLPX.d.mts → textarea-4eIDNcvv.d.mts} +2 -2
- package/dist/textarea.d.mts +1 -1
- package/dist/toggle.d.mts +1 -1
- package/dist/tooltip.d.mts +1 -1
- package/package.json +2 -2
- package/dist/form-1V2V30Sv.d.mts +0 -20
package/dist/alert-dialog.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $o as _default$5, Bo as AlertDialogAutoFocusEvent, Go as AlertDialogPortalExpose, Ho as AlertDialogContentExpose, Jo as AlertDialogState, Ko as AlertDialogRootExpose, Qo as _default$6, Ro as _default$2, Uo as AlertDialogDescriptionExpose, Vo as AlertDialogCancelExpose, Wo as AlertDialogOverlayExpose, Xo as AlertDialogTriggerExpose, Yo as AlertDialogTitleExpose, Zo as _default$7, es as _default$4, is as _default, qo as AlertDialogSlotState, rs as _default$1, ts as _default$3, zo as AlertDialogActionExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as AlertDialog, _default as AlertDialogRoot, _default$1 as AlertDialogAction, _default$1 as AlertDialogCancel, type AlertDialogActionExpose, type AlertDialogAutoFocusEvent, type AlertDialogCancelExpose, _default$2 as AlertDialogContent, type AlertDialogContentExpose, _default$3 as AlertDialogDescription, type AlertDialogDescriptionExpose, _default$4 as AlertDialogOverlay, type AlertDialogOverlayExpose, _default$5 as AlertDialogPortal, type AlertDialogPortalExpose, type AlertDialogRootExpose, type AlertDialogSlotState, type AlertDialogState, _default$6 as AlertDialogTitle, type AlertDialogTitleExpose, _default$7 as AlertDialogTrigger, type AlertDialogTriggerExpose };
|
|
@@ -362,11 +362,11 @@ declare const __VLS_base$63: import("vue").DefineComponent<BannerProps, {
|
|
|
362
362
|
titleId: ComputedRef<DeterministicId>;
|
|
363
363
|
tone: ComputedRef<BannerTone>;
|
|
364
364
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
365
|
-
dismiss: (nativeEvent: MouseEvent) => any;
|
|
366
365
|
"update:open": (open: boolean) => any;
|
|
366
|
+
dismiss: (nativeEvent: MouseEvent) => any;
|
|
367
367
|
}, string, import("vue").PublicProps, Readonly<BannerProps> & Readonly<{
|
|
368
|
-
onDismiss?: (nativeEvent: MouseEvent) => any;
|
|
369
368
|
"onUpdate:open"?: (open: boolean) => any;
|
|
369
|
+
onDismiss?: (nativeEvent: MouseEvent) => any;
|
|
370
370
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
371
371
|
declare const __VLS_export$65: __VLS_WithSlots$63<typeof __VLS_base$63, __VLS_Slots$63>;
|
|
372
372
|
declare const _default$65: typeof __VLS_export$65;
|
|
@@ -2298,16 +2298,16 @@ declare const __VLS_base$42: import("vue").DefineComponent<__VLS_Props$31, {
|
|
|
2298
2298
|
open: ComputedRef<boolean>;
|
|
2299
2299
|
state: ComputedRef<DialogState>;
|
|
2300
2300
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2301
|
-
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
2302
2301
|
"escape-key-down": (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
2302
|
+
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
2303
2303
|
"open-auto-focus": (event: FocusScopeAutoFocusEvent) => any;
|
|
2304
2304
|
"close-auto-focus": (event: FocusScopeAutoFocusEvent) => any;
|
|
2305
2305
|
"pointer-down-outside": (event: DismissableLayerPointerDownOutsideEvent) => any;
|
|
2306
2306
|
"focus-outside": (event: DismissableLayerFocusOutsideEvent) => any;
|
|
2307
2307
|
"interact-outside": (event: DismissableLayerInteractOutsideEvent) => any;
|
|
2308
2308
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
|
|
2309
|
-
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
2310
2309
|
"onEscape-key-down"?: (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
2310
|
+
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
2311
2311
|
"onOpen-auto-focus"?: (event: FocusScopeAutoFocusEvent) => any;
|
|
2312
2312
|
"onClose-auto-focus"?: (event: FocusScopeAutoFocusEvent) => any;
|
|
2313
2313
|
"onPointer-down-outside"?: (event: DismissableLayerPointerDownOutsideEvent) => any;
|
|
@@ -2556,16 +2556,16 @@ declare const __VLS_base$36: import("vue").DefineComponent<__VLS_Props$25, {
|
|
|
2556
2556
|
open: ComputedRef<boolean>;
|
|
2557
2557
|
state: ComputedRef<DialogState>;
|
|
2558
2558
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2559
|
-
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
2560
2559
|
"escape-key-down": (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
2560
|
+
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
2561
2561
|
"open-auto-focus": (event: FocusScopeAutoFocusEvent) => any;
|
|
2562
2562
|
"close-auto-focus": (event: FocusScopeAutoFocusEvent) => any;
|
|
2563
2563
|
"pointer-down-outside": (event: DismissableLayerPointerDownOutsideEvent) => any;
|
|
2564
2564
|
"focus-outside": (event: DismissableLayerFocusOutsideEvent) => any;
|
|
2565
2565
|
"interact-outside": (event: DismissableLayerInteractOutsideEvent) => any;
|
|
2566
2566
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
|
|
2567
|
-
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
2568
2567
|
"onEscape-key-down"?: (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
2568
|
+
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
2569
2569
|
"onOpen-auto-focus"?: (event: FocusScopeAutoFocusEvent) => any;
|
|
2570
2570
|
"onClose-auto-focus"?: (event: FocusScopeAutoFocusEvent) => any;
|
|
2571
2571
|
"onPointer-down-outside"?: (event: DismissableLayerPointerDownOutsideEvent) => any;
|
|
@@ -3883,16 +3883,16 @@ declare const __VLS_base$27: import("vue").DefineComponent<__VLS_Props$22, {
|
|
|
3883
3883
|
open: ComputedRef<boolean>;
|
|
3884
3884
|
state: ComputedRef<PopoverState>;
|
|
3885
3885
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3886
|
-
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
3887
3886
|
"escape-key-down": (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
3887
|
+
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
3888
3888
|
"open-auto-focus": (event: FocusScopeAutoFocusEvent) => any;
|
|
3889
3889
|
"close-auto-focus": (event: FocusScopeAutoFocusEvent) => any;
|
|
3890
3890
|
"pointer-down-outside": (event: DismissableLayerPointerDownOutsideEvent) => any;
|
|
3891
3891
|
"focus-outside": (event: DismissableLayerFocusOutsideEvent) => any;
|
|
3892
3892
|
"interact-outside": (event: DismissableLayerInteractOutsideEvent) => any;
|
|
3893
3893
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
|
|
3894
|
-
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
3895
3894
|
"onEscape-key-down"?: (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
3895
|
+
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
3896
3896
|
"onOpen-auto-focus"?: (event: FocusScopeAutoFocusEvent) => any;
|
|
3897
3897
|
"onClose-auto-focus"?: (event: FocusScopeAutoFocusEvent) => any;
|
|
3898
3898
|
"onPointer-down-outside"?: (event: DismissableLayerPointerDownOutsideEvent) => any;
|
|
@@ -4115,11 +4115,11 @@ declare const __VLS_base$24: import("vue").DefineComponent<__VLS_Props$19, {
|
|
|
4115
4115
|
open: ComputedRef<boolean>;
|
|
4116
4116
|
state: ComputedRef<TooltipState>;
|
|
4117
4117
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4118
|
-
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
4119
4118
|
"escape-key-down": (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
4119
|
+
dismiss: (event: DismissableLayerDismissEvent) => any;
|
|
4120
4120
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
|
|
4121
|
-
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
4122
4121
|
"onEscape-key-down"?: (event: DismissableLayerEscapeKeyDownEvent) => any;
|
|
4122
|
+
onDismiss?: (event: DismissableLayerDismissEvent) => any;
|
|
4123
4123
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4124
4124
|
declare const __VLS_export$25: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
4125
4125
|
declare const _default$25: typeof __VLS_export$25;
|
|
@@ -6285,14 +6285,25 @@ type __VLS_WithSlots$4<T, S> = T & {
|
|
|
6285
6285
|
type TextDirection = "ltr" | "rtl";
|
|
6286
6286
|
/** Direction preference, including locale-driven resolution. */
|
|
6287
6287
|
type DirectionPreference = TextDirection | "auto";
|
|
6288
|
+
/** Numbering system identifier such as `latn`, `arab`, or `fullwide`. */
|
|
6289
|
+
type LocaleNumberingSystem = string;
|
|
6290
|
+
/** Calendar system identifier such as `gregory`, `japanese`, or `islamic`. */
|
|
6291
|
+
type LocaleCalendar = string;
|
|
6292
|
+
/** IANA time-zone identifier used by locale-aware date-time helpers. */
|
|
6293
|
+
type LocaleTimeZone = string;
|
|
6294
|
+
/** Temporal-compatible disambiguation policy for local time-zone edges. */
|
|
6295
|
+
type LocaleTimeZoneDisambiguation = "compatible" | "earlier" | "later" | "reject";
|
|
6296
|
+
type LocaleNumberingSystemOptions = {
|
|
6297
|
+
readonly numberingSystem?: LocaleNumberingSystem | undefined;
|
|
6298
|
+
};
|
|
6288
6299
|
/** Number formatter options resolved against the active locale. */
|
|
6289
|
-
type LocaleNumberFormatterOptions = Intl.NumberFormatOptions;
|
|
6300
|
+
type LocaleNumberFormatterOptions = Intl.NumberFormatOptions & LocaleNumberingSystemOptions;
|
|
6290
6301
|
/** Date-time formatter options resolved against the active locale. */
|
|
6291
|
-
type LocaleDateTimeFormatterOptions = Intl.DateTimeFormatOptions;
|
|
6302
|
+
type LocaleDateTimeFormatterOptions = Intl.DateTimeFormatOptions & LocaleNumberingSystemOptions;
|
|
6292
6303
|
/** List formatter options resolved against the active locale. */
|
|
6293
6304
|
type LocaleListFormatterOptions = Intl.ListFormatOptions;
|
|
6294
6305
|
/** Relative-time formatter options resolved against the active locale. */
|
|
6295
|
-
type LocaleRelativeTimeFormatterOptions = Intl.RelativeTimeFormatOptions;
|
|
6306
|
+
type LocaleRelativeTimeFormatterOptions = Intl.RelativeTimeFormatOptions & LocaleNumberingSystemOptions;
|
|
6296
6307
|
/** Collator options resolved against the active locale. */
|
|
6297
6308
|
type LocaleCollatorOptions = Intl.CollatorOptions;
|
|
6298
6309
|
/** Display-name kinds supported by `Intl.DisplayNames`. */
|
|
@@ -6305,10 +6316,14 @@ type LocaleDisplayNamesOptions = Omit<Intl.DisplayNamesOptions, "type"> & {
|
|
|
6305
6316
|
type LocaleFormatterOptionsInput<Options> = MaybeRefOrGetter<Options | undefined>;
|
|
6306
6317
|
/** Static, ref, or getter-backed display-name options. */
|
|
6307
6318
|
type LocaleDisplayNamesOptionsInput = MaybeRefOrGetter<LocaleDisplayNamesOptions>;
|
|
6308
|
-
/** Locale and
|
|
6319
|
+
/** Locale, direction, and formatter defaults published by LocaleProvider. */
|
|
6309
6320
|
interface LocaleValue {
|
|
6310
6321
|
readonly locale: string;
|
|
6311
6322
|
readonly direction: TextDirection;
|
|
6323
|
+
readonly numberingSystem: LocaleNumberingSystem | undefined;
|
|
6324
|
+
readonly calendar: LocaleCalendar | undefined;
|
|
6325
|
+
readonly timeZone: LocaleTimeZone;
|
|
6326
|
+
readonly timeZoneDisambiguation: LocaleTimeZoneDisambiguation;
|
|
6312
6327
|
}
|
|
6313
6328
|
/** Typed locale context for application and component subtrees. */
|
|
6314
6329
|
declare const localeContext: ComponentContext<LocaleValue>;
|
|
@@ -6318,6 +6333,14 @@ declare function resolveLocale(locale: string): string;
|
|
|
6318
6333
|
* Resolve `auto` direction from `Intl.Locale` when the engine exposes it.
|
|
6319
6334
|
*/
|
|
6320
6335
|
declare function resolveDirection(direction: DirectionPreference, locale: string): TextDirection;
|
|
6336
|
+
/** Resolve a numbering-system identifier, or the locale default. */
|
|
6337
|
+
declare function resolveNumberingSystem(numberingSystem: string | null | undefined, locale?: string): LocaleNumberingSystem | undefined;
|
|
6338
|
+
/** Resolve a calendar-system identifier, or the locale default. */
|
|
6339
|
+
declare function resolveCalendar(calendar: string | null | undefined, locale?: string): LocaleCalendar | undefined;
|
|
6340
|
+
/** Resolve an IANA time-zone identifier, or `UTC`. */
|
|
6341
|
+
declare function resolveTimeZone(timeZone: string | null | undefined): LocaleTimeZone;
|
|
6342
|
+
/** Resolve a Temporal-compatible time-zone disambiguation policy. */
|
|
6343
|
+
declare function resolveTimeZoneDisambiguation(disambiguation: LocaleTimeZoneDisambiguation | null | undefined): LocaleTimeZoneDisambiguation;
|
|
6321
6344
|
/** Create a number formatter. */
|
|
6322
6345
|
declare function resolveNumberFormatter(locale: string, options?: LocaleNumberFormatterOptions): Intl.NumberFormat;
|
|
6323
6346
|
/** Create a date-time formatter. */
|
|
@@ -6332,10 +6355,20 @@ declare function resolveDisplayNames(locale: string, options: LocaleDisplayNames
|
|
|
6332
6355
|
declare function resolveCollator(locale: string, options?: LocaleCollatorOptions): Intl.Collator;
|
|
6333
6356
|
/** Create a search collator with stable typeahead defaults. */
|
|
6334
6357
|
declare function resolveSearchCollator(locale: string, options?: LocaleCollatorOptions): Intl.Collator;
|
|
6358
|
+
/** Read the nearest locale context, or the document/SSR fallback. */
|
|
6359
|
+
declare function useLocaleValue(): ComputedRef<LocaleValue>;
|
|
6335
6360
|
/** Read the nearest locale, or the document/SSR fallback. */
|
|
6336
6361
|
declare function useLocale(): ComputedRef<string>;
|
|
6337
6362
|
/** Read the nearest resolved writing direction, or the document/SSR fallback. */
|
|
6338
6363
|
declare function useDirection(): ComputedRef<TextDirection>;
|
|
6364
|
+
/** Read the nearest numbering system, or the locale default. */
|
|
6365
|
+
declare function useNumberingSystem(): ComputedRef<LocaleNumberingSystem | undefined>;
|
|
6366
|
+
/** Read the nearest calendar system, or the locale default. */
|
|
6367
|
+
declare function useCalendar(): ComputedRef<LocaleCalendar | undefined>;
|
|
6368
|
+
/** Read the nearest time zone, or the deterministic `UTC` fallback. */
|
|
6369
|
+
declare function useTimeZone(): ComputedRef<LocaleTimeZone>;
|
|
6370
|
+
/** Read the nearest time-zone disambiguation policy. */
|
|
6371
|
+
declare function useTimeZoneDisambiguation(): ComputedRef<LocaleTimeZoneDisambiguation>;
|
|
6339
6372
|
/** Read the nearest locale and memoize a number formatter. */
|
|
6340
6373
|
declare function useNumberFormatter(options?: LocaleFormatterOptionsInput<LocaleNumberFormatterOptions>): ComputedRef<Intl.NumberFormat>;
|
|
6341
6374
|
/** Read the nearest locale and memoize a date-time formatter. */
|
|
@@ -6398,11 +6431,39 @@ type __VLS_Props$2 = {
|
|
|
6398
6431
|
* @default "ltr"
|
|
6399
6432
|
*/
|
|
6400
6433
|
readonly direction?: DirectionPreference;
|
|
6434
|
+
/**
|
|
6435
|
+
* Intl numbering system for formatter composables in the subtree.
|
|
6436
|
+
*
|
|
6437
|
+
* @default undefined
|
|
6438
|
+
*/
|
|
6439
|
+
readonly numberingSystem?: string;
|
|
6440
|
+
/**
|
|
6441
|
+
* Intl calendar system for date-time formatter composables in the subtree.
|
|
6442
|
+
*
|
|
6443
|
+
* @default undefined
|
|
6444
|
+
*/
|
|
6445
|
+
readonly calendar?: string;
|
|
6446
|
+
/**
|
|
6447
|
+
* IANA time-zone identifier for date-time and Temporal adapters.
|
|
6448
|
+
*
|
|
6449
|
+
* @default "UTC"
|
|
6450
|
+
*/
|
|
6451
|
+
readonly timeZone?: string;
|
|
6452
|
+
/**
|
|
6453
|
+
* Temporal-compatible policy for DST gaps and overlaps.
|
|
6454
|
+
*
|
|
6455
|
+
* @default "compatible"
|
|
6456
|
+
*/
|
|
6457
|
+
readonly timeZoneDisambiguation?: LocaleTimeZoneDisambiguation;
|
|
6401
6458
|
};
|
|
6402
6459
|
type __VLS_Slots$3 = {
|
|
6403
|
-
/** Localized subtree. Receives the resolved locale and
|
|
6460
|
+
/** Localized subtree. Receives the resolved locale, direction, and formatter defaults. */default(props: {
|
|
6404
6461
|
readonly locale: string;
|
|
6405
6462
|
readonly direction: TextDirection;
|
|
6463
|
+
readonly numberingSystem: string | undefined;
|
|
6464
|
+
readonly calendar: string | undefined;
|
|
6465
|
+
readonly timeZone: string;
|
|
6466
|
+
readonly timeZoneDisambiguation: LocaleTimeZoneDisambiguation;
|
|
6406
6467
|
}): unknown;
|
|
6407
6468
|
};
|
|
6408
6469
|
declare const __VLS_base$3: import("vue").DefineComponent<__VLS_Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$2> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6826,4 +6887,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
6826
6887
|
};
|
|
6827
6888
|
};
|
|
6828
6889
|
//#endregion
|
|
6829
|
-
export { LocaleRelativeTimeFormatterOptions as $, FullscreenButtonElement as $a, BlockUISlotState as $c, IconButtonExpose as $i, HeadingSize as $n, DialogRootExpose as $o, RadioGroupAriaInvalid as $r, StepperListExpose as $s, PaginationPageState as $t, ProgressBarDirection as A, ShareButtonSlotState as Aa, BlockquoteElement as Ac, PopoverContentSlotState as Ai, AvatarImageLoading as Al, ListboxSelectionMode as An, AlertDialogDescriptionExpose as Ao, SurfaceTone as Ar, CodeVariant as As, TextSize as At, localeTextContains as B, PrintButtonEmits as Ba, CalloutLive as Bc, PopoverSlotState as Bi, ListSpacing as Bn, _default$40 as Bo, ScrollAreaOverscrollBehavior as Br, _default$53 as Bs, _default$13 as Bt, StatusLightState as C, ShareButtonDataName as Ca, TabsSlotState as Cc, _default$29 as Ci, AvatarElement as Cl, ListboxExpose as Cn, CopyButtonType as Co, SurfaceAs as Cr, EmptyStateTone as Cs, SwitchAriaInvalid as Ct, PROGRESS_BAR_DEFAULT_MIN as D, ShareButtonPart as Da, TabsTriggerState as Dc, PopoverArrowSlotState as Di, AvatarImageDecoding as Dl, ListboxMultipleValue as Dn, AlertDialogAutoFocusEvent as Do, SurfaceProps as Dr, CodeSize as Ds, _default$6 as Dt, PROGRESS_BAR_DEFAULT_MAX as E, ShareButtonExpose as Ea, TabsTriggerSlotState as Ec, PopoverArrowExpose as Ei, AvatarImageCrossOrigin as El, ListboxItemState as En, AlertDialogActionExpose as Eo, SurfaceExpose as Er, CodeExpose as Es, SwitchState as Et, ProgressBarState as F, PrintButtonAction as Fa, _default$63 as Fc, PopoverPlacement as Fi, AvatarStatus as Fl, _default$16 as Fn, AlertDialogState as Fo, ScrollAreaEmits as Fr, CardSlotState as Fs, _default$8 as Ft, LocaleCollatorOptions as G, PrintButtonSlots as Ga, CalloutState as Gc, ToggleExpose as Gi, KbdSize as Gn, _default$45 as Go, ScrollAreaScrollBehavior as Gr, StepperContentExpose as Gs, PaginationEllipsisPosition as Gt, localeTextStartsWith as H, PrintButtonPart as Ha, CalloutRole as Hc, PopoverTriggerExpose as Hi, _default$17 as Hn, _default$42 as Ho, ScrollAreaResolvedLayout as Hr, _default$55 as Hs, PaginationControlSlotState as Ht, ProgressBarStyle as I, PrintButtonCssCustomProperty as Ia, CalloutAriaState as Ic, PopoverPointerDownOutsideEvent as Ii, ListElement as In, AlertDialogTitleExpose as Io, ScrollAreaExpose as Ir, CardTone as Is, _default$9 as It, LocaleDisplayNamesOptionsInput as J, _default$35 as Ja, BlockUIAnnouncement as Jc, IconAccessibleNameProps as Ji, KbdVariant as Jn, DialogContentExpose as Jo, ScrollAreaSlotState as Jr, StepperContentState as Js, PaginationItemSlotState as Jt, LocaleDateTimeFormatterOptions as K, PrintButtonState as Ka, CalloutTone as Kc, ToggleSlotState as Ki, KbdSlotState as Kn, DialogAutoFocusEvent as Ko, ScrollAreaScrollbarGutter as Kr, StepperContentRole as Ks, PaginationEllipsisSlotState as Kt, _default$3 as L, PrintButtonDataAttribute as La, CalloutDensity as Lc, PopoverPositionerStrategy as Li, ListExpose as Ln, AlertDialogTriggerExpose as Lo, ScrollAreaLength as Lr, CardVariant as Ls, _default$10 as Lt, ProgressBarProps as M, ShareButtonState as Ma, BlockquoteSize as Mc, PopoverEscapeKeyDownEvent as Mi, AvatarPresence as Ml, ListboxSlotState as Mn, AlertDialogPortalExpose as Mo, ScrollAreaAriaState as Mr, CardDensity as Ms, TextTone as Mt, ProgressBarSlotState as N, ShareButtonType as Na, BlockquoteSlotState as Nc, PopoverFocusOutsideEvent as Ni, AvatarSlotState as Nl, ListboxState as Nn, AlertDialogRootExpose as No, ScrollAreaAs as Nr, CardElement as Ns, TextWeight as Nt, getProgressBarState as O, ShareButtonPayload as Oa, TabsValue as Oc, PopoverAutoFocusEvent as Oi, AvatarImageElement as Ol, ListboxOrientation as On, AlertDialogCancelExpose as Oo, SurfaceSemanticHost as Or, CodeSlotState as Os, TextElement as Ot, ProgressBarSlots as P, _default$34 as Pa, BlockquoteTone as Pc, PopoverInteractOutsideEvent as Pi, AvatarState as Pl, ListboxValue as Pn, AlertDialogSlotState as Po, ScrollAreaDirection as Pr, CardExpose as Ps, _default$7 as Pt, LocaleNumberFormatterOptions as Q, FullscreenButtonDataName as Qa, BlockUIReason as Qc, IconButtonElement as Qi, HeadingLevel as Qn, DialogRole as Qo, _default$23 as Qr, StepperItemState as Qs, PaginationPageSlotState as Qt, LocaleTextMatchMode as R, PrintButtonDataName as Ra, CalloutElement as Rc, PopoverRootExpose as Ri, ListMarker as Rn, _default$38 as Ro, ScrollAreaOrientation as Rr, getStepperValueIdSegment as Rs, _default$11 as Rt, StatusLightSlotState as S, ShareButtonDataAttribute as Sa, TabsRootExpose as Sc, _default$28 as Si, _default$67 as Sl, ListboxDirection as Sn, CopyButtonState as So, SurfaceAriaState as Sr, EmptyStateState as Ss, _default$5 as St, _default$2 as T, ShareButtonEmits as Ta, TabsTriggerExpose as Tc, PopoverAlign as Ti, AvatarFallbackElement as Tl, ListboxItemSlotState as Tn, _default$37 as To, SurfaceElevation as Tr, CodeElement as Ts, SwitchSlotState as Tt, normalizeLocaleText as U, PrintButtonProps as Ua, CalloutSlotState as Uc, PopoverViewport as Ui, KbdElement as Un, _default$43 as Uo, ScrollAreaResolvedLength as Ur, _default$56 as Us, PaginationControlState as Ut, localeTextMatches as V, PrintButtonExpose as Va, CalloutProps as Vc, PopoverState as Vi, ListTone as Vn, _default$41 as Vo, ScrollAreaProps as Vr, _default$54 as Vs, PaginationControlExpose as Vt, DirectionPreference as W, PrintButtonSlotState as Wa, CalloutSlots as Wc, _default$31 as Wi, KbdExpose as Wn, _default$44 as Wo, ScrollAreaRootElement as Wr, _default$57 as Ws, PaginationEllipsisExpose as Wt, LocaleFormatterOptionsInput as X, FullscreenButtonCssCustomProperty as Xa, BlockUIExpose as Xc, IconBaseProps as Xi, HeadingElement as Xn, DialogOverlayExpose as Xo, ScrollAreaStyle as Xr, StepperItemExpose as Xs, PaginationListSlotState as Xt, LocaleDisplayNamesType as Y, FullscreenButtonController as Ya, BlockUIElement as Yc, IconAriaState as Yi, _default$18 as Yn, DialogDescriptionExpose as Yo, ScrollAreaState as Yr, StepperDirection as Ys, PaginationListExpose as Yt, LocaleListFormatterOptions as Z, FullscreenButtonDataAttribute as Za, BlockUIInteraction as Zc, IconButtonBaseProps as Zi, HeadingExpose as Zn, DialogPortalExpose as Zo, _default$22 as Zr, StepperItemSlotState as Zs, PaginationPageExpose as Zt, StatusLightElement as _, IconStrokeLinejoin as _a, TabsContentState as _c, TooltipSlotState as _i, BadgeElement as _l, selectListboxValue as _n, CopyButtonExpose as _o, NativeSelectSlotState as _r, EmptyStateDensity as _s, useLocale as _t, createAnnouncer as a, IconButtonTone as aa, StepperRootState as ac, RadioGroupState as ai, BannerAriaState as al, PaginationRangeItem as an, FullscreenButtonProps as ao, normalizeNativeSelectValue as ar, CheckboxState as as, resolveDirection as at, StatusLightRole as b, ShareButtonAction as ba, TabsListSlotState as bc, TooltipViewport as bi, BadgeTone as bl, _default$15 as bn, CopyButtonSlotState as bo, NativeSelectValue as br, EmptyStateOrientation as bs, useSearchCollator as bt, AnnouncerController as c, IconDecorativeProps as ca, StepperTriggerSlotState as cc, _default$25 as ci, BannerExpose as cl, createPaginationRange as cn, FullscreenButtonState as co, NativeSelectDirection as cr, _default$48 as cs, resolveLocale as ct, AnnouncerOwnership as d, IconImageProps as da, _default$59 as dc, TooltipContentSlotState as di, BannerRole as dl, normalizePaginationPageCount as dn, _default$36 as do, NativeSelectMultipleValue as dr, CollapsibleContentRole as ds, resolveSearchCollator as dt, IconButtonNameProps as ea, StepperListSlotState as ec, RadioGroupExpose as ei, BlockUIState as el, PaginationRootExpose as en, FullscreenButtonEmits as eo, HeadingSlotState as er, DialogSlotState as es, LocaleValue as et, AnnouncerPoliteness as f, IconPaint as fa, _default$60 as fc, TooltipDismissEvent as fi, BannerSlotState as fl, toPaginationPageInRange as fn, CopyButtonCssCustomProperty as fo, NativeSelectOption as fr, CollapsibleRootExpose as fs, useCollator as ft, StatusLightAriaState as g, IconStrokeLinecap as ga, TabsContentSlotState as gc, TooltipRootExpose as gi, _default$66 as gl, normalizeListboxValue as gn, CopyButtonEmits as go, NativeSelectSingleValue as gr, _default$50 as gs, useListFormatter as gt, _default$1 as h, IconSlotState as ha, TabsContentExpose as hc, TooltipPositionerStrategy as hi, BannerTone as hl, listboxSelectedValues as hn, CopyButtonElement as ho, NativeSelectSelectionMode as hr, CollapsibleTriggerExpose as hs, useDisplayNames as ht, announcerContext as i, IconButtonState as ia, StepperRootProps as ic, RadioGroupSlotState as ii, _default$65 as il, PaginationRangeEllipsis as in, FullscreenButtonPart as io, nativeSelectSelectedValues as ir, _default$46 as is, resolveDateTimeFormatter as it, ProgressBarExpose as j, ShareButtonSlots as ja, BlockquoteExpose as jc, PopoverDismissEvent as ji, AvatarImageReferrerPolicy as jl, ListboxSingleValue as jn, AlertDialogOverlayExpose as jo, _default$21 as jr, _default$52 as js, TextSlotState as jt, getProgressBarStyle as k, ShareButtonProps as ka, _default$62 as kc, PopoverContentExpose as ki, AvatarImageFetchPriority as kl, ListboxProps as kn, AlertDialogContentExpose as ko, SurfaceSlotState as kr, CodeTone as ks, TextExpose as kt, AnnouncerMessageOptions as l, IconElement as la, StepperValue as lc, _default$26 as li, BannerLive as ll, getPaginationPageIdSegment as ln, FullscreenButtonTarget as lo, NativeSelectEmits as lr, _default$49 as ls, resolveNumberFormatter as lt, BusyAnnouncementOptions as m, IconSize as ma, TabsActivationMode as mc, TooltipPlacement as mi, BannerState as ml, emptyListboxValue as mn, CopyButtonDataName as mo, NativeSelectProps as mr, CollapsibleState as ms, useDirection as mt, createBusyAnnouncement as n, IconButtonSize as na, StepperOrientation as nc, RadioGroupItemState as ni, NormalizedBannerAria as nl, PaginationSlotState as nn, FullscreenButtonOperation as no, HeadingWeight as nr, DialogTitleExpose as ns, localeContext as nt, useAnnouncer as o, IconButtonType as oa, StepperSlotState as oc, RadioGroupValue as oi, BannerElement as ol, PaginationRangeOptions as on, FullscreenButtonSlotState as oo, _default$19 as or, getCheckboxState as os, resolveDisplayNames as ot, BusyAnnouncement as p, IconProps as pa, _default$61 as pc, TooltipEscapeKeyDownEvent as pi, BannerSlots as pl, areListboxValuesEqual as pn, CopyButtonDataAttribute as po, NativeSelectOptionState as pr, CollapsibleSlotState as ps, useDateTimeFormatter as pt, LocaleDisplayNamesOptions as q, PrintButtonType as qa, _default$64 as qc, _default$32 as qi, KbdTone as qn, DialogCloseExpose as qo, ScrollAreaScrollbarWidth as qr, StepperContentSlotState as qs, PaginationItemExpose as qt, useBusyAnnouncement as r, IconButtonSlotState as ra, StepperRootExpose as rc, RadioGroupOrientation as ri, normalizeBannerAria as rl, PaginationState as rn, FullscreenButtonOperationType as ro, areNativeSelectValuesEqual as rr, DialogTriggerExpose as rs, resolveCollator as rt, useAnnouncerOwnership as s, IconButtonVariant as sa, StepperTriggerExpose as sc, _default$24 as si, BannerEmits as sl, PaginationRangePage as sn, FullscreenButtonSlots as so, NativeSelectAriaInvalid as sr, _default$47 as ss, resolveListFormatter as st, _default as t, IconButtonProps as ta, StepperNavigationMode as tc, RadioGroupItemExpose as ti, BannerAriaInput as tl, PaginationRootProps as tn, FullscreenButtonExpose as to, HeadingTone as tr, DialogState as ts, TextDirection as tt, AnnouncerOptions as u, IconExpose as ua, _default$58 as uc, TooltipContentExpose as ui, BannerProps as ul, normalizePaginationPage as un, FullscreenButtonType as uo, NativeSelectExpose as ur, CollapsibleContentExpose as us, resolveRelativeTimeFormatter as ut, StatusLightExpose as v, IconStrokeWidth as va, TabsDirection as vc, TooltipState as vi, BadgeExpose as vl, toggleListboxValue as vn, CopyButtonPart as vo, NativeSelectSlots as vr, EmptyStateElement as vs, useNumberFormatter as vt, StatusLightTone as w, ShareButtonElement as wa, TabsState as wc, _default$30 as wi, AvatarExpose as wl, ListboxItemExpose as wn, CopyButtonWriter as wo, SurfaceElement as wr, _default$51 as ws, SwitchExpose as wt, StatusLightSize as x, ShareButtonCssCustomProperty as xa, TabsOrientation as xc, _default$27 as xi, BadgeVariant as xl, ListboxAriaInvalid as xn, CopyButtonSlots as xo, _default$20 as xr, EmptyStateSlotState as xs, _default$4 as xt, StatusLightProps as y, _default$33 as ya, TabsListExpose as yc, TooltipTriggerExpose as yi, BadgeSlotState as yl, _default$14 as yn, CopyButtonProps as yo, NativeSelectState as yr, EmptyStateExpose as ys, useRelativeTimeFormatter as yt, LocaleTextMatchOptions as z, PrintButtonElement as za, CalloutExpose as zc, PopoverSide as zi, ListSlotState as zn, _default$39 as zo, ScrollAreaOverflow as zr, stepperValueEquals as zs, _default$12 as zt };
|
|
6890
|
+
export { LocaleNumberFormatterOptions as $, PrintButtonEmits as $a, CalloutLive as $c, PopoverSlotState as $i, ListSpacing as $n, _default$40 as $o, ScrollAreaOverscrollBehavior as $r, _default$53 as $s, _default$13 as $t, ProgressBarDirection as A, IconStrokeLinejoin as Aa, TabsContentState as Ac, TooltipSlotState as Ai, BadgeElement as Al, selectListboxValue as An, CopyButtonExpose as Ao, NativeSelectSlotState as Ar, EmptyStateDensity as As, useRelativeTimeFormatter as At, localeTextContains as B, ShareButtonPart as Ba, TabsTriggerState as Bc, PopoverArrowSlotState as Bi, AvatarImageDecoding as Bl, ListboxMultipleValue as Bn, AlertDialogAutoFocusEvent as Bo, SurfaceProps as Br, CodeSize as Bs, _default$6 as Bt, StatusLightState as C, IconExpose as Ca, _default$58 as Cc, TooltipContentExpose as Ci, BannerProps as Cl, normalizePaginationPage as Cn, FullscreenButtonType as Co, NativeSelectExpose as Cr, CollapsibleContentExpose as Cs, useDirection as Ct, PROGRESS_BAR_DEFAULT_MIN as D, IconSize as Da, TabsActivationMode as Dc, TooltipPlacement as Di, BannerState as Dl, emptyListboxValue as Dn, CopyButtonDataName as Do, NativeSelectProps as Dr, CollapsibleState as Ds, useLocaleValue as Dt, PROGRESS_BAR_DEFAULT_MAX as E, IconProps as Ea, _default$61 as Ec, TooltipEscapeKeyDownEvent as Ei, BannerSlots as El, areListboxValuesEqual as En, CopyButtonDataAttribute as Eo, NativeSelectOptionState as Er, CollapsibleSlotState as Es, useLocale as Et, ProgressBarState as F, ShareButtonDataAttribute as Fa, TabsRootExpose as Fc, _default$28 as Fi, _default$67 as Fl, ListboxDirection as Fn, CopyButtonState as Fo, SurfaceAriaState as Fr, EmptyStateState as Fs, _default$5 as Ft, LocaleCalendar as G, ShareButtonState as Ga, BlockquoteSize as Gc, PopoverEscapeKeyDownEvent as Gi, AvatarPresence as Gl, ListboxSlotState as Gn, AlertDialogPortalExpose as Go, ScrollAreaAriaState as Gr, CardDensity as Gs, TextTone as Gt, localeTextStartsWith as H, ShareButtonProps as Ha, _default$62 as Hc, PopoverContentExpose as Hi, AvatarImageFetchPriority as Hl, ListboxProps as Hn, AlertDialogContentExpose as Ho, SurfaceSlotState as Hr, CodeTone as Hs, TextExpose as Ht, ProgressBarStyle as I, ShareButtonDataName as Ia, TabsSlotState as Ic, _default$29 as Ii, AvatarElement as Il, ListboxExpose as In, CopyButtonType as Io, SurfaceAs as Ir, EmptyStateTone as Is, SwitchAriaInvalid as It, LocaleDisplayNamesOptions as J, PrintButtonAction as Ja, _default$63 as Jc, PopoverPlacement as Ji, AvatarStatus as Jl, _default$16 as Jn, AlertDialogState as Jo, ScrollAreaEmits as Jr, CardSlotState as Js, _default$8 as Jt, LocaleCollatorOptions as K, ShareButtonType as Ka, BlockquoteSlotState as Kc, PopoverFocusOutsideEvent as Ki, AvatarSlotState as Kl, ListboxState as Kn, AlertDialogRootExpose as Ko, ScrollAreaAs as Kr, CardElement as Ks, TextWeight as Kt, _default$3 as L, ShareButtonElement as La, TabsState as Lc, _default$30 as Li, AvatarExpose as Ll, ListboxItemExpose as Ln, CopyButtonWriter as Lo, SurfaceElement as Lr, _default$51 as Ls, SwitchExpose as Lt, ProgressBarProps as M, _default$33 as Ma, TabsListExpose as Mc, TooltipTriggerExpose as Mi, BadgeSlotState as Ml, _default$14 as Mn, CopyButtonProps as Mo, NativeSelectState as Mr, EmptyStateExpose as Ms, useTimeZone as Mt, ProgressBarSlotState as N, ShareButtonAction as Na, TabsListSlotState as Nc, TooltipViewport as Ni, BadgeTone as Nl, _default$15 as Nn, CopyButtonSlotState as No, NativeSelectValue as Nr, EmptyStateOrientation as Ns, useTimeZoneDisambiguation as Nt, getProgressBarState as O, IconSlotState as Oa, TabsContentExpose as Oc, TooltipPositionerStrategy as Oi, BannerTone as Ol, listboxSelectedValues as On, CopyButtonElement as Oo, NativeSelectSelectionMode as Or, CollapsibleTriggerExpose as Os, useNumberFormatter as Ot, ProgressBarSlots as P, ShareButtonCssCustomProperty as Pa, TabsOrientation as Pc, _default$27 as Pi, BadgeVariant as Pl, ListboxAriaInvalid as Pn, CopyButtonSlots as Po, _default$20 as Pr, EmptyStateSlotState as Ps, _default$4 as Pt, LocaleListFormatterOptions as Q, PrintButtonElement as Qa, CalloutExpose as Qc, PopoverSide as Qi, ListSlotState as Qn, _default$39 as Qo, ScrollAreaOverflow as Qr, stepperValueEquals as Qs, _default$12 as Qt, LocaleTextMatchMode as R, ShareButtonEmits as Ra, TabsTriggerExpose as Rc, PopoverAlign as Ri, AvatarFallbackElement as Rl, ListboxItemSlotState as Rn, _default$37 as Ro, SurfaceElevation as Rr, CodeElement as Rs, SwitchSlotState as Rt, StatusLightSlotState as S, IconElement as Sa, StepperValue as Sc, _default$26 as Si, BannerLive as Sl, getPaginationPageIdSegment as Sn, FullscreenButtonTarget as So, NativeSelectEmits as Sr, _default$49 as Ss, useDateTimeFormatter as St, _default$2 as T, IconPaint as Ta, _default$60 as Tc, TooltipDismissEvent as Ti, BannerSlotState as Tl, toPaginationPageInRange as Tn, CopyButtonCssCustomProperty as To, NativeSelectOption as Tr, CollapsibleRootExpose as Ts, useListFormatter as Tt, normalizeLocaleText as U, ShareButtonSlotState as Ua, BlockquoteElement as Uc, PopoverContentSlotState as Ui, AvatarImageLoading as Ul, ListboxSelectionMode as Un, AlertDialogDescriptionExpose as Uo, SurfaceTone as Ur, CodeVariant as Us, TextSize as Ut, localeTextMatches as V, ShareButtonPayload as Va, TabsValue as Vc, PopoverAutoFocusEvent as Vi, AvatarImageElement as Vl, ListboxOrientation as Vn, AlertDialogCancelExpose as Vo, SurfaceSemanticHost as Vr, CodeSlotState as Vs, TextElement as Vt, DirectionPreference as W, ShareButtonSlots as Wa, BlockquoteExpose as Wc, PopoverDismissEvent as Wi, AvatarImageReferrerPolicy as Wl, ListboxSingleValue as Wn, AlertDialogOverlayExpose as Wo, _default$21 as Wr, _default$52 as Ws, TextSlotState as Wt, LocaleDisplayNamesType as X, PrintButtonDataAttribute as Xa, CalloutDensity as Xc, PopoverPositionerStrategy as Xi, ListExpose as Xn, AlertDialogTriggerExpose as Xo, ScrollAreaLength as Xr, CardVariant as Xs, _default$10 as Xt, LocaleDisplayNamesOptionsInput as Y, PrintButtonCssCustomProperty as Ya, CalloutAriaState as Yc, PopoverPointerDownOutsideEvent as Yi, ListElement as Yn, AlertDialogTitleExpose as Yo, ScrollAreaExpose as Yr, CardTone as Ys, _default$9 as Yt, LocaleFormatterOptionsInput as Z, PrintButtonDataName as Za, CalloutElement as Zc, PopoverRootExpose as Zi, ListMarker as Zn, _default$38 as Zo, ScrollAreaOrientation as Zr, getStepperValueIdSegment as Zs, _default$11 as Zt, StatusLightElement as _, IconButtonState as _a, StepperRootProps as _c, RadioGroupSlotState as _i, _default$65 as _l, PaginationRangeEllipsis as _n, FullscreenButtonPart as _o, nativeSelectSelectedValues as _r, _default$46 as _s, resolveSearchCollator as _t, createAnnouncer as a, ToggleSlotState as aa, StepperContentRole as ac, ScrollAreaScrollbarGutter as ai, CalloutTone as al, PaginationEllipsisSlotState as an, PrintButtonState as ao, KbdSlotState as ar, DialogAutoFocusEvent as as, TextDirection as at, StatusLightRole as b, IconButtonVariant as ba, StepperTriggerExpose as bc, _default$24 as bi, BannerEmits as bl, PaginationRangePage as bn, FullscreenButtonSlots as bo, NativeSelectAriaInvalid as br, _default$47 as bs, useCalendar as bt, AnnouncerController as c, IconAriaState as ca, StepperDirection as cc, ScrollAreaState as ci, BlockUIElement as cl, PaginationListExpose as cn, FullscreenButtonController as co, _default$18 as cr, DialogDescriptionExpose as cs, resolveCollator as ct, AnnouncerOwnership as d, IconButtonElement as da, StepperItemState as dc, _default$23 as di, BlockUIReason as dl, PaginationPageSlotState as dn, FullscreenButtonDataName as do, HeadingLevel as dr, DialogRole as ds, resolveDisplayNames as dt, PopoverState as ea, _default$54 as ec, ScrollAreaProps as ei, CalloutProps as el, PaginationControlExpose as en, PrintButtonExpose as eo, ListTone as er, _default$41 as es, LocaleNumberingSystem as et, AnnouncerPoliteness as f, IconButtonExpose as fa, StepperListExpose as fc, RadioGroupAriaInvalid as fi, BlockUISlotState as fl, PaginationPageState as fn, FullscreenButtonElement as fo, HeadingSize as fr, DialogRootExpose as fs, resolveListFormatter as ft, StatusLightAriaState as g, IconButtonSlotState as ga, StepperRootExpose as gc, RadioGroupOrientation as gi, normalizeBannerAria as gl, PaginationState as gn, FullscreenButtonOperationType as go, areNativeSelectValuesEqual as gr, DialogTriggerExpose as gs, resolveRelativeTimeFormatter as gt, _default$1 as h, IconButtonSize as ha, StepperOrientation as hc, RadioGroupItemState as hi, NormalizedBannerAria as hl, PaginationSlotState as hn, FullscreenButtonOperation as ho, HeadingWeight as hr, DialogTitleExpose as hs, resolveNumberingSystem as ht, announcerContext as i, ToggleExpose as ia, StepperContentExpose as ic, ScrollAreaScrollBehavior as ii, CalloutState as il, PaginationEllipsisPosition as in, PrintButtonSlots as io, KbdSize as ir, _default$45 as is, LocaleValue as it, ProgressBarExpose as j, IconStrokeWidth as ja, TabsDirection as jc, TooltipState as ji, BadgeExpose as jl, toggleListboxValue as jn, CopyButtonPart as jo, NativeSelectSlots as jr, EmptyStateElement as js, useSearchCollator as jt, getProgressBarStyle as k, IconStrokeLinecap as ka, TabsContentSlotState as kc, TooltipRootExpose as ki, _default$66 as kl, normalizeListboxValue as kn, CopyButtonEmits as ko, NativeSelectSingleValue as kr, _default$50 as ks, useNumberingSystem as kt, AnnouncerMessageOptions as l, IconBaseProps as la, StepperItemExpose as lc, ScrollAreaStyle as li, BlockUIExpose as ll, PaginationListSlotState as ln, FullscreenButtonCssCustomProperty as lo, HeadingElement as lr, DialogOverlayExpose as ls, resolveDateTimeFormatter as lt, BusyAnnouncementOptions as m, IconButtonProps as ma, StepperNavigationMode as mc, RadioGroupItemExpose as mi, BannerAriaInput as ml, PaginationRootProps as mn, FullscreenButtonExpose as mo, HeadingTone as mr, DialogState as ms, resolveNumberFormatter as mt, createBusyAnnouncement as n, PopoverViewport as na, _default$56 as nc, ScrollAreaResolvedLength as ni, CalloutSlotState as nl, PaginationControlState as nn, PrintButtonProps as no, KbdElement as nr, _default$43 as ns, LocaleTimeZone as nt, useAnnouncer as o, _default$32 as oa, StepperContentSlotState as oc, ScrollAreaScrollbarWidth as oi, _default$64 as ol, PaginationItemExpose as on, PrintButtonType as oo, KbdTone as or, DialogCloseExpose as os, localeContext as ot, BusyAnnouncement as p, IconButtonNameProps as pa, StepperListSlotState as pc, RadioGroupExpose as pi, BlockUIState as pl, PaginationRootExpose as pn, FullscreenButtonEmits as po, HeadingSlotState as pr, DialogSlotState as ps, resolveLocale as pt, LocaleDateTimeFormatterOptions as q, _default$34 as qa, BlockquoteTone as qc, PopoverInteractOutsideEvent as qi, AvatarState as ql, ListboxValue as qn, AlertDialogSlotState as qo, ScrollAreaDirection as qr, CardExpose as qs, _default$7 as qt, useBusyAnnouncement as r, _default$31 as ra, _default$57 as rc, ScrollAreaRootElement as ri, CalloutSlots as rl, PaginationEllipsisExpose as rn, PrintButtonSlotState as ro, KbdExpose as rr, _default$44 as rs, LocaleTimeZoneDisambiguation as rt, useAnnouncerOwnership as s, IconAccessibleNameProps as sa, StepperContentState as sc, ScrollAreaSlotState as si, BlockUIAnnouncement as sl, PaginationItemSlotState as sn, _default$35 as so, KbdVariant as sr, DialogContentExpose as ss, resolveCalendar as st, _default as t, PopoverTriggerExpose as ta, _default$55 as tc, ScrollAreaResolvedLayout as ti, CalloutRole as tl, PaginationControlSlotState as tn, PrintButtonPart as to, _default$17 as tr, _default$42 as ts, LocaleRelativeTimeFormatterOptions as tt, AnnouncerOptions as u, IconButtonBaseProps as ua, StepperItemSlotState as uc, _default$22 as ui, BlockUIInteraction as ul, PaginationPageExpose as un, FullscreenButtonDataAttribute as uo, HeadingExpose as ur, DialogPortalExpose as us, resolveDirection as ut, StatusLightExpose as v, IconButtonTone as va, StepperRootState as vc, RadioGroupState as vi, BannerAriaState as vl, PaginationRangeItem as vn, FullscreenButtonProps as vo, normalizeNativeSelectValue as vr, CheckboxState as vs, resolveTimeZone as vt, StatusLightTone as w, IconImageProps as wa, _default$59 as wc, TooltipContentSlotState as wi, BannerRole as wl, normalizePaginationPageCount as wn, _default$36 as wo, NativeSelectMultipleValue as wr, CollapsibleContentRole as ws, useDisplayNames as wt, StatusLightSize as x, IconDecorativeProps as xa, StepperTriggerSlotState as xc, _default$25 as xi, BannerExpose as xl, createPaginationRange as xn, FullscreenButtonState as xo, NativeSelectDirection as xr, _default$48 as xs, useCollator as xt, StatusLightProps as y, IconButtonType as ya, StepperSlotState as yc, RadioGroupValue as yi, BannerElement as yl, PaginationRangeOptions as yn, FullscreenButtonSlotState as yo, _default$19 as yr, getCheckboxState as ys, resolveTimeZoneDisambiguation as yt, LocaleTextMatchOptions as z, ShareButtonExpose as za, TabsTriggerSlotState as zc, PopoverArrowExpose as zi, AvatarImageCrossOrigin as zl, ListboxItemState as zn, AlertDialogActionExpose as zo, SurfaceExpose as zr, CodeExpose as zs, SwitchState as zt };
|
package/dist/announcer.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createAnnouncer, c as AnnouncerController, d as AnnouncerOwnership, f as AnnouncerPoliteness, i as announcerContext, l as AnnouncerMessageOptions, m as BusyAnnouncementOptions, n as createBusyAnnouncement, o as useAnnouncer, p as BusyAnnouncement, r as useBusyAnnouncement, s as useAnnouncerOwnership, t as _default, u as AnnouncerOptions } from "./announcer-
|
|
1
|
+
import { a as createAnnouncer, c as AnnouncerController, d as AnnouncerOwnership, f as AnnouncerPoliteness, i as announcerContext, l as AnnouncerMessageOptions, m as BusyAnnouncementOptions, n as createBusyAnnouncement, o as useAnnouncer, p as BusyAnnouncement, r as useBusyAnnouncement, s as useAnnouncerOwnership, t as _default, u as AnnouncerOptions } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { type AnnouncerController, type AnnouncerMessageOptions, type AnnouncerOptions, type AnnouncerOwnership, type AnnouncerPoliteness, _default as AnnouncerProvider, type BusyAnnouncement, type BusyAnnouncementOptions, announcerContext, createAnnouncer, createBusyAnnouncement, useAnnouncer, useAnnouncerOwnership, useBusyAnnouncement };
|
package/dist/avatar.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bl as AvatarImageDecoding, Fl as _default, Gl as AvatarPresence, Hl as AvatarImageFetchPriority, Il as AvatarElement, Jl as AvatarStatus, Kl as AvatarSlotState, Ll as AvatarExpose, Rl as AvatarFallbackElement, Ul as AvatarImageLoading, Vl as AvatarImageElement, Wl as AvatarImageReferrerPolicy, ql as AvatarState, zl as AvatarImageCrossOrigin } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Avatar, type AvatarElement, type AvatarExpose, type AvatarFallbackElement, type AvatarImageCrossOrigin, type AvatarImageDecoding, type AvatarImageElement, type AvatarImageFetchPriority, type AvatarImageLoading, type AvatarImageReferrerPolicy, type AvatarPresence, type AvatarSlotState, type AvatarState, type AvatarStatus };
|
package/dist/badge.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Al as BadgeElement, Ml as BadgeSlotState, Nl as BadgeTone, Pl as BadgeVariant, jl as BadgeExpose, kl as _default } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Badge, type BadgeElement, type BadgeExpose, type BadgeSlotState, type BadgeTone, type BadgeVariant };
|
package/dist/banner.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cl as BannerProps, Dl as BannerState, El as BannerSlots, Ol as BannerTone, Sl as BannerLive, Tl as BannerSlotState, _l as _default, bl as BannerEmits, gl as normalizeBannerAria, hl as NormalizedBannerAria, ml as BannerAriaInput, vl as BannerAriaState, wl as BannerRole, xl as BannerExpose, yl as BannerElement } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Banner, type BannerAriaInput, type BannerAriaState, type BannerElement, type BannerEmits, type BannerExpose, type BannerLive, type BannerProps, type BannerRole, type BannerSlotState, type BannerSlots, type BannerState, type BannerTone, type NormalizedBannerAria, normalizeBannerAria };
|
package/dist/block-ui.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cl as BlockUIElement, dl as BlockUIReason, fl as BlockUISlotState, ll as BlockUIExpose, ol as _default, pl as BlockUIState, sl as BlockUIAnnouncement, ul as BlockUIInteraction } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as BlockUI, type BlockUIAnnouncement, type BlockUIElement, type BlockUIExpose, type BlockUIInteraction, type BlockUIReason, type BlockUISlotState, type BlockUIState };
|
package/dist/blockquote.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gc as BlockquoteSize, Hc as _default, Kc as BlockquoteSlotState, Uc as BlockquoteElement, Wc as BlockquoteExpose, qc as BlockquoteTone } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Blockquote, type BlockquoteElement, type BlockquoteExpose, type BlockquoteSize, type BlockquoteSlotState, type BlockquoteTone };
|
package/dist/callout.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $c as CalloutLive, Jc as _default, Qc as CalloutExpose, Xc as CalloutDensity, Yc as CalloutAriaState, Zc as CalloutElement, al as CalloutTone, el as CalloutProps, il as CalloutState, nl as CalloutSlotState, rl as CalloutSlots, tl as CalloutRole } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Callout, type CalloutAriaState, type CalloutDensity, type CalloutElement, type CalloutExpose, type CalloutLive, type CalloutProps, type CalloutRole, type CalloutSlotState, type CalloutSlots, type CalloutState, type CalloutTone };
|
package/dist/card.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gs as CardDensity, Js as CardSlotState, Ks as CardElement, Ws as _default, Xs as CardVariant, Ys as CardTone, qs as CardExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Card, type CardDensity, type CardElement, type CardExpose, type CardSlotState, type CardTone, type CardVariant };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -988,10 +988,10 @@ declare const uiFamilyCatalog: ({
|
|
|
988
988
|
readonly title: "Standard Schema Forms";
|
|
989
989
|
readonly packageSubpath: "./form";
|
|
990
990
|
readonly entryFile: "src/families/form/form/form.ts";
|
|
991
|
-
readonly sourceFiles: readonly ["src/families/form/form/form.ts", "src/families/form/form/form-runtime.ts", "src/families/form/form/form-types.ts"];
|
|
991
|
+
readonly sourceFiles: readonly ["src/families/form/form/form.ts", "src/families/form/form/form-runtime.ts", "src/families/form/form/form-state.ts", "src/families/form/form/form-state-types.ts", "src/families/form/form/form-types.ts"];
|
|
992
992
|
readonly behaviorContract: "src/families/form/form/form.behavior.md";
|
|
993
|
-
readonly tests: readonly ["src/families/form/form/form.test.ts"];
|
|
994
|
-
readonly typeTests: readonly ["src/families/form/form/form.types.test-d.ts"];
|
|
993
|
+
readonly tests: readonly ["src/families/form/form/form.test.ts", "src/families/form/form/form-state.test.ts"];
|
|
994
|
+
readonly typeTests: readonly ["src/families/form/form/form.types.test-d.ts", "src/families/form/form/form-state.types.test-d.ts"];
|
|
995
995
|
readonly qualityGates: readonly ["behavior-contract", "mounted-dom", "type-inference", "tree-shaking", "bundle-size"];
|
|
996
996
|
readonly bundleBudget: {
|
|
997
997
|
readonly exportName: "validateStandardSchema";
|
package/dist/catalog.mjs
CHANGED
|
@@ -1787,11 +1787,13 @@ const foundationFamilyCatalog = [
|
|
|
1787
1787
|
sourceFiles: [
|
|
1788
1788
|
`${formFamilyRoot}form.ts`,
|
|
1789
1789
|
`${formFamilyRoot}form-runtime.ts`,
|
|
1790
|
+
`${formFamilyRoot}form-state.ts`,
|
|
1791
|
+
`${formFamilyRoot}form-state-types.ts`,
|
|
1790
1792
|
`${formFamilyRoot}form-types.ts`
|
|
1791
1793
|
],
|
|
1792
1794
|
behaviorContract: `${formFamilyRoot}form.behavior.md`,
|
|
1793
|
-
tests: [`${formFamilyRoot}form.test.ts`],
|
|
1794
|
-
typeTests: [`${formFamilyRoot}form.types.test-d.ts`],
|
|
1795
|
+
tests: [`${formFamilyRoot}form.test.ts`, `${formFamilyRoot}form-state.test.ts`],
|
|
1796
|
+
typeTests: [`${formFamilyRoot}form.types.test-d.ts`, `${formFamilyRoot}form-state.types.test-d.ts`],
|
|
1795
1797
|
qualityGates: stableQualityGates,
|
|
1796
1798
|
bundleBudget: {
|
|
1797
1799
|
exportName: "validateStandardSchema",
|
package/dist/checkbox.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _s as _default, vs as CheckboxState, ys as getCheckboxState } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Checkbox, CheckboxState, getCheckboxState };
|
package/dist/code.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bs as CodeSize, Hs as CodeTone, Ls as _default, Rs as CodeElement, Us as CodeVariant, Vs as CodeSlotState, zs as CodeExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Code, type CodeElement, type CodeExpose, type CodeSize, type CodeSlotState, type CodeTone, type CodeVariant };
|
package/dist/collapsible.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cs as CollapsibleContentExpose, Ds as CollapsibleState, Es as CollapsibleSlotState, Os as CollapsibleTriggerExpose, Ss as _default, Ts as CollapsibleRootExpose, bs as _default$2, ws as CollapsibleContentRole, xs as _default$1 } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Collapsible, _default as CollapsibleRoot, _default$1 as CollapsibleContent, type CollapsibleContentExpose, type CollapsibleContentRole, type CollapsibleRootExpose, type CollapsibleSlotState, type CollapsibleState, _default$2 as CollapsibleTrigger, type CollapsibleTriggerExpose };
|
package/dist/copy-button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ao as CopyButtonExpose, Do as CopyButtonDataName, Eo as CopyButtonDataAttribute, Fo as CopyButtonState, Io as CopyButtonType, Lo as CopyButtonWriter, Mo as CopyButtonProps, No as CopyButtonSlotState, Oo as CopyButtonElement, Po as CopyButtonSlots, To as CopyButtonCssCustomProperty, jo as CopyButtonPart, ko as CopyButtonEmits, wo as _default } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as CopyButton, type CopyButtonCssCustomProperty, type CopyButtonDataAttribute, type CopyButtonDataName, type CopyButtonElement, type CopyButtonEmits, type CopyButtonExpose, type CopyButtonPart, type CopyButtonProps, type CopyButtonSlotState, type CopyButtonSlots, type CopyButtonState, type CopyButtonType, type CopyButtonWriter };
|
package/dist/dialog.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $o as
|
|
1
|
+
import { $o as _default$5, Qo as _default$6, Zo as _default$7, as as DialogAutoFocusEvent, cs as DialogDescriptionExpose, ds as DialogRole, es as _default$4, fs as DialogRootExpose, gs as DialogTriggerExpose, hs as DialogTitleExpose, is as _default, ls as DialogOverlayExpose, ms as DialogState, ns as _default$2, os as DialogCloseExpose, ps as DialogSlotState, rs as _default$1, ss as DialogContentExpose, ts as _default$3, us as DialogPortalExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Dialog, _default as DialogRoot, type DialogAutoFocusEvent, _default$1 as DialogClose, type DialogCloseExpose, _default$2 as DialogContent, type DialogContentExpose, _default$3 as DialogDescription, type DialogDescriptionExpose, _default$4 as DialogOverlay, type DialogOverlayExpose, _default$5 as DialogPortal, type DialogPortalExpose, type DialogRole, type DialogRootExpose, type DialogSlotState, type DialogState, _default$6 as DialogTitle, type DialogTitleExpose, _default$7 as DialogTrigger, type DialogTriggerExpose };
|
package/dist/empty-state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { As as EmptyStateDensity, Fs as EmptyStateState, Is as EmptyStateTone, Ms as EmptyStateExpose, Ns as EmptyStateOrientation, Ps as EmptyStateSlotState, js as EmptyStateElement, ks as _default } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as EmptyState, type EmptyStateDensity, type EmptyStateElement, type EmptyStateExpose, type EmptyStateOrientation, type EmptyStateSlotState, type EmptyStateState, type EmptyStateTone };
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { n as ErrorSummaryField } from "./error-summary-types-5ePaC9O3.mjs";
|
|
2
|
+
import { a as FormFieldError, c as FormPathKey, d as FormValidationSuccess, f as StandardSchemaV1, i as FormFieldController, n as FormErrorSummaryFieldOptions, o as FormFieldErrorOptions, p as StandardSchemaValidationOptions, r as FormErrorSummaryOptions, s as FormFieldOptions, t as FormErrorSummaryController, u as FormValidationResult } from "./form-types-DXwZRLcs.mjs";
|
|
3
|
+
import { ComputedRef, MaybeRefOrGetter, Ref } from "vue";
|
|
4
|
+
|
|
5
|
+
//#region src/families/form/form/form-runtime.d.ts
|
|
6
|
+
/** Convert a Standard Schema issue path into a conventional HTML field name. */
|
|
7
|
+
declare function formatFormFieldName(path: readonly FormPathKey[]): string;
|
|
8
|
+
/** Convert Standard Schema issues into normalized field errors. */
|
|
9
|
+
declare function normalizeStandardSchemaIssues(issues: readonly StandardSchemaV1.Issue[], options?: FormFieldErrorOptions): readonly FormFieldError[];
|
|
10
|
+
/** Convert normalized field errors into unique fields for the error summary. */
|
|
11
|
+
declare function createFormErrorSummaryFields(errors: readonly FormFieldError[], options?: FormErrorSummaryFieldOptions): readonly ErrorSummaryField[];
|
|
12
|
+
/** Normalize a Standard Schema validation result for form fields and summaries. */
|
|
13
|
+
declare function normalizeStandardSchemaResult<Output>(result: StandardSchemaV1.Result<Output>, options?: StandardSchemaValidationOptions): FormValidationResult<Output>;
|
|
14
|
+
/** Validate a Standard Schema and normalize the result for form consumers. */
|
|
15
|
+
declare function validateStandardSchema<Input, Output>(schema: StandardSchemaV1<Input, Output>, value: Input, options?: StandardSchemaValidationOptions): Promise<FormValidationResult<Output>>;
|
|
16
|
+
/** Create normalized field state whose invalid flag can feed existing field wiring. */
|
|
17
|
+
declare function useFormField(options: FormFieldOptions): FormFieldController;
|
|
18
|
+
/** Create error-summary fields from normalized form errors. */
|
|
19
|
+
declare function useFormErrorSummary(options?: FormErrorSummaryOptions): FormErrorSummaryController;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/families/form/form/form-state-types.d.ts
|
|
22
|
+
/** Element-like focus target registered for invalid-field focus movement. */
|
|
23
|
+
interface FormFocusableElement {
|
|
24
|
+
/** Move browser focus to the control. */
|
|
25
|
+
focus(options?: FocusOptions): void;
|
|
26
|
+
}
|
|
27
|
+
/** One tracked field's aggregate form state. */
|
|
28
|
+
interface FormFieldState {
|
|
29
|
+
/** Normalized HTML form field name. */
|
|
30
|
+
readonly name: string;
|
|
31
|
+
/** Whether the field value has been changed by the consumer. */
|
|
32
|
+
readonly isDirty: boolean;
|
|
33
|
+
/** Whether the field has received focus or equivalent visitation. */
|
|
34
|
+
readonly isVisited: boolean;
|
|
35
|
+
/** Whether the field has been blurred or equivalent confirmation. */
|
|
36
|
+
readonly isTouched: boolean;
|
|
37
|
+
/** Whether this field currently has at least one normalized error. */
|
|
38
|
+
readonly isInvalid: boolean;
|
|
39
|
+
/** Current errors for this field only. */
|
|
40
|
+
readonly errors: readonly FormFieldError[];
|
|
41
|
+
/** First current error for this field. */
|
|
42
|
+
readonly firstError: FormFieldError | undefined;
|
|
43
|
+
/** First current error message for this field. */
|
|
44
|
+
readonly errorMessage: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
/** Options accepted by {@link normalizeNativeConstraintErrors}. */
|
|
47
|
+
interface NativeConstraintErrorOptions {
|
|
48
|
+
/**
|
|
49
|
+
* Resolve a field name for one invalid native form control.
|
|
50
|
+
*
|
|
51
|
+
* @default the control's `name` attribute
|
|
52
|
+
*/
|
|
53
|
+
readonly nameForControl?: (control: Element) => string | null | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Resolve the message for one invalid native form control.
|
|
56
|
+
*
|
|
57
|
+
* @default the control's `validationMessage`, or `"Invalid value"`
|
|
58
|
+
*/
|
|
59
|
+
readonly messageForControl?: (control: Element) => string | undefined;
|
|
60
|
+
}
|
|
61
|
+
/** Options accepted by {@link useFormState}. */
|
|
62
|
+
interface FormStateOptions<Input = unknown, Output = Input> extends FormErrorSummaryFieldOptions {
|
|
63
|
+
/**
|
|
64
|
+
* Standard Schema used by `validate` and `submit`.
|
|
65
|
+
*
|
|
66
|
+
* @default undefined
|
|
67
|
+
*/
|
|
68
|
+
readonly schema?: StandardSchemaV1<Input, Output>;
|
|
69
|
+
/**
|
|
70
|
+
* Initial normalized errors.
|
|
71
|
+
*
|
|
72
|
+
* @default []
|
|
73
|
+
*/
|
|
74
|
+
readonly initialErrors?: readonly FormFieldError[];
|
|
75
|
+
/**
|
|
76
|
+
* Submit callback invoked only for the latest valid submission.
|
|
77
|
+
*
|
|
78
|
+
* @default undefined
|
|
79
|
+
*/
|
|
80
|
+
readonly onSubmit?: (value: Output, result: FormValidationSuccess<Output>) => unknown;
|
|
81
|
+
/**
|
|
82
|
+
* Move focus to the first registered invalid field after an invalid submit.
|
|
83
|
+
*
|
|
84
|
+
* @default true
|
|
85
|
+
*/
|
|
86
|
+
readonly focusFirstInvalidOnSubmit?: boolean;
|
|
87
|
+
}
|
|
88
|
+
/** Per-submit options layered on top of Standard Schema normalization. */
|
|
89
|
+
interface FormSubmitOptions<Output> extends StandardSchemaValidationOptions {
|
|
90
|
+
/**
|
|
91
|
+
* Submit callback for this call. Overrides the controller default.
|
|
92
|
+
*
|
|
93
|
+
* @default controller `onSubmit`
|
|
94
|
+
*/
|
|
95
|
+
readonly onSubmit?: (value: Output, result: FormValidationSuccess<Output>) => unknown;
|
|
96
|
+
/**
|
|
97
|
+
* Move focus to the first registered invalid field after this invalid submit.
|
|
98
|
+
*
|
|
99
|
+
* @default controller `focusFirstInvalidOnSubmit`
|
|
100
|
+
*/
|
|
101
|
+
readonly focusFirstInvalid?: boolean;
|
|
102
|
+
}
|
|
103
|
+
/** Options accepted by {@link FormStateController.reset}. */
|
|
104
|
+
interface FormStateResetOptions {
|
|
105
|
+
/**
|
|
106
|
+
* Errors to install after reset.
|
|
107
|
+
*
|
|
108
|
+
* @default []
|
|
109
|
+
*/
|
|
110
|
+
readonly errors?: readonly FormFieldError[];
|
|
111
|
+
/**
|
|
112
|
+
* Field names that should remain dirty after reset.
|
|
113
|
+
*
|
|
114
|
+
* @default []
|
|
115
|
+
*/
|
|
116
|
+
readonly dirtyFields?: readonly string[];
|
|
117
|
+
/**
|
|
118
|
+
* Field names that should remain touched after reset.
|
|
119
|
+
*
|
|
120
|
+
* @default []
|
|
121
|
+
*/
|
|
122
|
+
readonly touchedFields?: readonly string[];
|
|
123
|
+
/**
|
|
124
|
+
* Field names that should remain visited after reset.
|
|
125
|
+
*
|
|
126
|
+
* @default []
|
|
127
|
+
*/
|
|
128
|
+
readonly visitedFields?: readonly string[];
|
|
129
|
+
}
|
|
130
|
+
/** Reactive controller for Standard Schema form state and submission. */
|
|
131
|
+
interface FormStateController<Input = unknown, Output = Input> {
|
|
132
|
+
/** Current normalized validation and server errors. */
|
|
133
|
+
readonly errors: Readonly<Ref<readonly FormFieldError[]>>;
|
|
134
|
+
/** Error-summary fields derived from current errors. */
|
|
135
|
+
readonly summaryFields: ComputedRef<readonly ErrorSummaryField[]>;
|
|
136
|
+
/** Whether at least one current error exists. */
|
|
137
|
+
readonly hasErrors: ComputedRef<boolean>;
|
|
138
|
+
/** Whether any field has been marked dirty. */
|
|
139
|
+
readonly isDirty: ComputedRef<boolean>;
|
|
140
|
+
/** Whether any field has been marked touched. */
|
|
141
|
+
readonly isTouched: ComputedRef<boolean>;
|
|
142
|
+
/** Whether any field has been marked visited. */
|
|
143
|
+
readonly isVisited: ComputedRef<boolean>;
|
|
144
|
+
/** Whether at least one schema validation is currently pending. */
|
|
145
|
+
readonly isValidating: ComputedRef<boolean>;
|
|
146
|
+
/** Whether at least one submission is currently pending. */
|
|
147
|
+
readonly isSubmitting: ComputedRef<boolean>;
|
|
148
|
+
/** Number of submit attempts made through this controller. */
|
|
149
|
+
readonly submitCount: Readonly<Ref<number>>;
|
|
150
|
+
/** Aggregate state for one field name. */
|
|
151
|
+
fieldState(name: MaybeRefOrGetter<string>): ComputedRef<FormFieldState>;
|
|
152
|
+
/** Register a focus target for first-invalid focus movement. */
|
|
153
|
+
registerField(name: string, element: FormFocusableElement | null | undefined): () => void;
|
|
154
|
+
/** Mark or unmark one field as dirty. */
|
|
155
|
+
markFieldDirty(name: string, dirty?: boolean): void;
|
|
156
|
+
/** Mark or unmark one field as touched. */
|
|
157
|
+
markFieldTouched(name: string, touched?: boolean): void;
|
|
158
|
+
/** Mark or unmark one field as visited. */
|
|
159
|
+
markFieldVisited(name: string, visited?: boolean): void;
|
|
160
|
+
/** Replace current errors with normalized validation or server errors. */
|
|
161
|
+
setErrors(errors: readonly FormFieldError[]): void;
|
|
162
|
+
/** Replace current errors with server-returned normalized field errors. */
|
|
163
|
+
setServerErrors(errors: readonly FormFieldError[]): void;
|
|
164
|
+
/** Clear current errors. */
|
|
165
|
+
clearErrors(): void;
|
|
166
|
+
/** Reset errors and tracked field interaction state. */
|
|
167
|
+
reset(options?: FormStateResetOptions): void;
|
|
168
|
+
/** Validate with the configured Standard Schema, discarding stale side effects. */
|
|
169
|
+
validate(value: Input, options?: StandardSchemaValidationOptions): Promise<FormValidationResult<Output>>;
|
|
170
|
+
/** Validate, submit the latest valid result, and focus the first invalid field. */
|
|
171
|
+
submit(value: Input, options?: FormSubmitOptions<Output>): Promise<FormValidationResult<Output>>;
|
|
172
|
+
/** Focus the first registered field with a current error. */
|
|
173
|
+
focusFirstInvalid(options?: FocusOptions): boolean;
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region src/families/form/form/form-state.d.ts
|
|
177
|
+
/** Convert native constraint-validation failures into normalized form errors. */
|
|
178
|
+
declare function normalizeNativeConstraintErrors(form: HTMLFormElement, options?: NativeConstraintErrorOptions): readonly FormFieldError[];
|
|
179
|
+
/** Create reactive form state around Standard Schema validation and submission. */
|
|
180
|
+
declare function useFormState<Input, Output = Input>(options?: FormStateOptions<Input, Output>): FormStateController<Input, Output>;
|
|
181
|
+
//#endregion
|
|
182
|
+
export { FormStateController as a, FormSubmitOptions as c, formatFormFieldName as d, normalizeStandardSchemaIssues as f, validateStandardSchema as g, useFormField as h, FormFocusableElement as i, NativeConstraintErrorOptions as l, useFormErrorSummary as m, useFormState as n, FormStateOptions as o, normalizeStandardSchemaResult as p, FormFieldState as r, FormStateResetOptions as s, normalizeNativeConstraintErrors as t, createFormErrorSummaryFields as u };
|