@vuetify/v0 1.0.0-alpha.4 → 1.0.0-beta.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 +26 -5
- package/dist/{adapter-C9cR4AcY.mjs → adapter-BCVxBtDp.mjs} +11 -11
- package/dist/{adapter-Cr7Bl4la.d.mts → adapter-BO75n0Cn.d.mts} +7 -7
- package/dist/{adapter-C6JmOyYo.d.mts → adapter-DZeI0ZbW.d.mts} +1 -1
- package/dist/{adapter-DgBBe_BW.d.mts → adapter-we-0GbFH.d.mts} +2 -2
- package/dist/adapters-BHD1lc-K.mjs +4 -0
- package/dist/adapters-BYLWDmYl.mjs +5 -0
- package/dist/adapters-BxrTL8E3.mjs +4 -0
- package/dist/adapters-CBgBd7VE.mjs +2 -0
- package/dist/browser/index.js +2860 -908
- package/dist/components/index.d.mts +2 -3
- package/dist/components/index.mjs +2 -2
- package/dist/{components-BWxMSWr7.mjs → components-_uxZ_Zo3.mjs} +1054 -502
- package/dist/composables/index.d.mts +19 -18
- package/dist/composables/index.mjs +26 -26
- package/dist/{consola-Crr4qbeI.d.mts → consola-CUNHyu8J.d.mts} +1 -1
- package/dist/{consola-DYvbPNbF.mjs → consola-cad-VEV2.mjs} +5 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-DDr2yY-A.mjs → createDataTable-DlFQyBTN.mjs} +192 -101
- package/dist/{createGroup-BSGtfBUE.mjs → createGroup-DsKJMuRd.mjs} +2 -2
- package/dist/{createRegistry-Db_juawd.mjs → createRegistry-tJ1PPNIr.mjs} +2 -2
- package/dist/{createSelection-BeKZMxha.mjs → createSelection-DEqhvdoj.mjs} +2 -2
- package/dist/{createSingle-Dms2efxr.mjs → createSingle-ClzWqRCe.mjs} +2 -2
- package/dist/{createTokens-B1lwHZvO.mjs → createTokens-mNxs8DQ3.mjs} +3 -3
- package/dist/{createTrinity-BTCs1pYx.mjs → createTrinity-z-3q9QWR.mjs} +5 -2
- package/dist/data-table/adapters/client/index.d.mts +1 -1
- package/dist/data-table/adapters/client/index.mjs +1 -1
- package/dist/data-table/adapters/index.d.mts +4 -4
- package/dist/data-table/adapters/index.mjs +5 -5
- package/dist/data-table/adapters/server/index.d.mts +1 -1
- package/dist/data-table/adapters/server/index.mjs +1 -1
- package/dist/data-table/adapters/virtual/index.d.mts +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +1 -1
- package/dist/data-table/index.d.mts +6 -6
- package/dist/data-table/index.mjs +5 -5
- package/dist/date/index.d.mts +1 -1
- package/dist/date/index.mjs +2 -2
- package/dist/features/adapters/flagsmith/index.d.mts +1 -1
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +2 -2
- package/dist/features/index.mjs +1 -1
- package/dist/{flagsmith-ygKMImos.d.mts → flagsmith-Cn_KVy6v.d.mts} +1 -1
- package/dist/{globals-BAe6tA_x.mjs → globals-DB-krEA-.mjs} +1 -1
- package/dist/{index-B3-FstpY.d.mts → index-ATZqco03.d.mts} +95 -2
- package/dist/{index-jQPkwo3G.d.mts → index-B3PDLk_Y.d.mts} +879 -454
- package/dist/{index-Cw04PFVO.d.mts → index-BIyQ3OxC.d.mts} +2 -168
- package/dist/{index-BfpLkDR_.d.mts → index-BN06veYe.d.mts} +947 -225
- package/dist/{index-CLR1QMM3.d.mts → index-DHmuwBdv.d.mts} +60 -1
- package/dist/index-DWAgQOBa.d.mts +170 -0
- package/dist/{index-BA7YU2xY.d.mts → index-ZD3hw2Zo.d.mts} +123 -62
- package/dist/index.d.mts +23 -22
- package/dist/index.mjs +29 -29
- package/dist/json/attributes.json +128 -0
- package/dist/json/importMap.json +24 -0
- package/dist/json/tags.json +57 -0
- package/dist/json/web-types.json +375 -2
- package/dist/{launchdarkly-BJR4vbbV.d.mts → launchdarkly-C3Knz7-v.d.mts} +1 -1
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +2 -2
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +2 -2
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/consola/index.mjs +1 -1
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +4 -4
- package/dist/logger/adapters/pino/index.d.mts +1 -1
- package/dist/logger/adapters/pino/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.d.mts +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +5 -5
- package/dist/logger/index.mjs +4 -4
- package/dist/notifications/index.d.mts +1 -1
- package/dist/notifications/index.mjs +2 -2
- package/dist/palettes/ant/generate/index.mjs +6 -1
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +3 -3
- package/dist/palettes/leonardo/generate/index.mjs +6 -2
- package/dist/palettes/material/generate/index.mjs +11 -2
- package/dist/palettes/material/index.d.mts +1 -1
- package/dist/palettes/md1/index.d.mts +1 -1
- package/dist/palettes/md2/index.d.mts +1 -1
- package/dist/palettes/radix/index.d.mts +1 -1
- package/dist/palettes/tailwind/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +1 -1
- package/dist/{pino-NmR7X0s4.d.mts → pino-BaYY_KIN.d.mts} +1 -1
- package/dist/{pino-CIcYlW3u.mjs → pino-BscMO3RR.mjs} +5 -2
- package/dist/{posthog-B3go2aCh.mjs → posthog-B5s_KGhy.mjs} +1 -1
- package/dist/{posthog-CQntUXFO.d.mts → posthog-CR8R2ywM.d.mts} +1 -1
- package/dist/rules/index.d.mts +2 -2
- package/dist/rules/index.mjs +1 -1
- package/dist/{server-DQK305lc.d.mts → server-7vjHxjNc.d.mts} +1 -1
- package/dist/{server-ZFXbgQoY.mjs → server-CZ83nTn_.mjs} +1 -1
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/index.d.mts +3 -3
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +3 -3
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/types/index.d.mts +2 -2
- package/dist/{unhead-dPyVkgiJ.mjs → unhead-CG672gKh.mjs} +1 -1
- package/dist/{useClickOutside-B8naChaQ.mjs → useClickOutside-DoOgNtrj.mjs} +1583 -436
- package/dist/{useFeatures-x2iKp0C8.mjs → useFeatures-B-A-eOo-.mjs} +4 -4
- package/dist/{useLocale-BUms59Bw.mjs → useLocale-CbpoxbVU.mjs} +5 -5
- package/dist/{useLogger-DPSSa-YR.mjs → useLogger-CTgAedNH.mjs} +51 -7
- package/dist/{useNotifications-BPTmZWQy.mjs → useNotifications-BkKGUl_1.mjs} +6 -6
- package/dist/{usePermissions-CTi-3pBk.mjs → usePermissions-BYOrKcnk.mjs} +2 -2
- package/dist/{useRules-DNhljkyO.mjs → useRules-mD_DY9dy.mjs} +4 -3
- package/dist/{useTheme-3vW3kFNg.mjs → useTheme-B1lUya5B.mjs} +5 -5
- package/dist/utilities/index.d.mts +2 -2
- package/dist/utilities/index.mjs +116 -2
- package/dist/{v0-DadOcxFI.mjs → v0-Bx5Mi7qE.mjs} +1 -1
- package/dist/{v0-YJQoTLsp.mjs → v0-CG9o3on7.mjs} +1 -1
- package/dist/{v0-CotC1PiS.mjs → v0-CHK79mZX.mjs} +1 -1
- package/dist/{v0-DAlKpCR8.mjs → v0-COaQncfZ.mjs} +1 -1
- package/dist/{v0-CRGArJim.d.mts → v0-DWZ_N2GG.d.mts} +1 -1
- package/dist/{v0-DYsCJPIu.d.mts → v0-QIjffi4E.d.mts} +1 -1
- package/dist/{v0-DDELiSI6.d.mts → v0-WzS4GAIp.d.mts} +1 -1
- package/dist/{virtual-BqCRw0ly.d.mts → virtual-CrgGA-o6.d.mts} +1 -1
- package/dist/{virtual-Dnno49F8.mjs → virtual-UumJ2BQ9.mjs} +1 -1
- package/package.json +12 -3
- package/dist/adapters-B25KaYU4.mjs +0 -2
- package/dist/adapters-BcddLSNs.mjs +0 -4
- package/dist/adapters-Dv74Jk6A.mjs +0 -5
- package/dist/adapters-t6QC-zE8.mjs +0 -3
- /package/dist/{adapter-Dzyrlbz7.d.mts → adapter-B6IrPwib.d.mts} +0 -0
- /package/dist/{adapter-o8r-2vUn.d.mts → adapter-BEJXp-ie.d.mts} +0 -0
- /package/dist/{index-DWfPppPU.d.mts → index-BOn0AAue.d.mts} +0 -0
- /package/dist/{index-DewYtDsc.d.mts → index-C6NnIuDv.d.mts} +0 -0
- /package/dist/{index-DJQwYeyx.d.mts → index-PvkxPev3.d.mts} +0 -0
- /package/dist/{memory-B0w39kno.d.mts → memory-D-JbdKXg.d.mts} +0 -0
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { a as ID, i as Extensible, o as MaybeArray } from "./index-
|
|
1
|
+
import { a as ID, i as Extensible, o as MaybeArray } from "./index-DHmuwBdv.mjs";
|
|
2
2
|
import { t as ContextTrinity } from "./index-H_hl6-4b.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as FilterMode } from "./adapter-
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
3
|
+
import { a as RegistryEventName, c as RegistryTicketInput, o as RegistryOptions, r as RegistryEventCallback, s as RegistryTicket, t as RegistryContext } from "./index-BIyQ3OxC.mjs";
|
|
4
|
+
import { _ as FilterMode } from "./adapter-BO75n0Cn.mjs";
|
|
5
|
+
import { _ as ColumnNode, c as DataTableOptions, n as DataTableColumnTicketInput, r as DataTableContext, t as DataTableColumnTicket } from "./index-ZD3hw2Zo.mjs";
|
|
6
|
+
import { c as TokenTicket, i as TokenContext, o as TokenOptions, r as TokenCollection } from "./index-DWAgQOBa.mjs";
|
|
7
|
+
import { t as DateAdapter } from "./adapter-B6IrPwib.mjs";
|
|
8
|
+
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-DZeI0ZbW.mjs";
|
|
9
|
+
import { t as LocaleAdapter } from "./adapter-we-0GbFH.mjs";
|
|
10
|
+
import { t as LoggerAdapter } from "./adapter-BEJXp-ie.mjs";
|
|
11
|
+
import { n as StorageAdapter } from "./memory-D-JbdKXg.mjs";
|
|
12
|
+
import { App, ComponentPublicInstance, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowReactive, ShallowRef, UnwrapNestedRefs, WatchSource, WritableComputedRef } from "vue";
|
|
11
13
|
|
|
12
14
|
//#region src/composables/createModel/index.d.ts
|
|
13
15
|
/**
|
|
@@ -629,6 +631,151 @@ interface UseImageReturn {
|
|
|
629
631
|
*/
|
|
630
632
|
declare function useImage(options: UseImageOptions): UseImageReturn;
|
|
631
633
|
//#endregion
|
|
634
|
+
//#region src/composables/createOverflow/index.d.ts
|
|
635
|
+
interface OverflowOptions {
|
|
636
|
+
/**
|
|
637
|
+
* Container element to track. Can be a ref, getter, or MaybeRefOrGetter.
|
|
638
|
+
* When provided, useOverflow tracks this element's width automatically.
|
|
639
|
+
* Accepts null for compatibility with Vue's useTemplateRef.
|
|
640
|
+
*/
|
|
641
|
+
container?: MaybeRefOrGetter<Element | null | undefined>;
|
|
642
|
+
/** Gap between items in pixels */
|
|
643
|
+
gap?: MaybeRefOrGetter<number>;
|
|
644
|
+
/** Reserved space in pixels (for nav buttons, ellipsis, etc) */
|
|
645
|
+
reserved?: MaybeRefOrGetter<number>;
|
|
646
|
+
/**
|
|
647
|
+
* Uniform item width in pixels. When provided, enables uniform mode
|
|
648
|
+
* where capacity is calculated as available space / itemWidth.
|
|
649
|
+
* Use this for same-width items like pagination buttons.
|
|
650
|
+
*/
|
|
651
|
+
itemWidth?: MaybeRefOrGetter<number>;
|
|
652
|
+
/**
|
|
653
|
+
* Calculate capacity from end instead of start.
|
|
654
|
+
* Useful for breadcrumbs where trailing items take priority.
|
|
655
|
+
* Only affects variable mode (uniform mode capacity is direction-independent).
|
|
656
|
+
*/
|
|
657
|
+
reverse?: MaybeRefOrGetter<boolean>;
|
|
658
|
+
}
|
|
659
|
+
interface OverflowContext {
|
|
660
|
+
/** Container element ref */
|
|
661
|
+
container: ShallowRef<Element | null | undefined>;
|
|
662
|
+
/** Current container width */
|
|
663
|
+
width: Readonly<ShallowRef<number>>;
|
|
664
|
+
/** How many items fit in available space */
|
|
665
|
+
capacity: ComputedRef<number>;
|
|
666
|
+
/** Total width of all measured items */
|
|
667
|
+
total: ComputedRef<number>;
|
|
668
|
+
/** Whether items overflow the container */
|
|
669
|
+
isOverflowing: Readonly<Ref<boolean>>;
|
|
670
|
+
/**
|
|
671
|
+
* Register an item's element for width measurement. Required for every
|
|
672
|
+
* child in both modes — variable mode reads the measured widths for
|
|
673
|
+
* capacity; uniform mode reads only the entry count for isOverflowing.
|
|
674
|
+
* Pass `undefined` to unregister.
|
|
675
|
+
*/
|
|
676
|
+
measure: (index: number, el: Element | undefined) => void;
|
|
677
|
+
/** Clear all measurements */
|
|
678
|
+
reset: () => void;
|
|
679
|
+
}
|
|
680
|
+
interface OverflowContextOptions extends OverflowOptions {
|
|
681
|
+
/** Namespace for dependency injection */
|
|
682
|
+
namespace?: string;
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* Creates a new overflow context for computing how many items fit in a container.
|
|
686
|
+
*
|
|
687
|
+
* @param options Configuration options
|
|
688
|
+
* @returns Overflow context with container ref, capacity, and measurement functions
|
|
689
|
+
*
|
|
690
|
+
* @example Variable-width mode (Breadcrumbs)
|
|
691
|
+
* ```vue
|
|
692
|
+
* <script lang="ts" setup>
|
|
693
|
+
* import { useTemplateRef } from 'vue'
|
|
694
|
+
* import { createOverflow } from '@vuetify/v0'
|
|
695
|
+
*
|
|
696
|
+
* const containerRef = useTemplateRef('container')
|
|
697
|
+
* const overflow = createOverflow({
|
|
698
|
+
* container: containerRef,
|
|
699
|
+
* gap: 8,
|
|
700
|
+
* reserved: 40,
|
|
701
|
+
* })
|
|
702
|
+
* </script>
|
|
703
|
+
*
|
|
704
|
+
* <template>
|
|
705
|
+
* <div ref="container">
|
|
706
|
+
* <span
|
|
707
|
+
* v-for="(item, i) in items.slice(0, overflow.capacity.value)"
|
|
708
|
+
* :key="i"
|
|
709
|
+
* :ref="el => overflow.measure(i, el)"
|
|
710
|
+
* >
|
|
711
|
+
* {{ item }}
|
|
712
|
+
* </span>
|
|
713
|
+
* <span v-if="overflow.isOverflowing.value">...</span>
|
|
714
|
+
* </div>
|
|
715
|
+
* </template>
|
|
716
|
+
* ```
|
|
717
|
+
*
|
|
718
|
+
* @example Uniform-width mode (Pagination)
|
|
719
|
+
* ```ts
|
|
720
|
+
* const overflow = createOverflow({
|
|
721
|
+
* container: () => atom.value?.element,
|
|
722
|
+
* itemWidth: buttonWidth,
|
|
723
|
+
* reserved: () => buttonWidth.value * 4,
|
|
724
|
+
* })
|
|
725
|
+
* ```
|
|
726
|
+
*/
|
|
727
|
+
declare function createOverflow<E extends OverflowContext = OverflowContext>(options?: OverflowOptions): E;
|
|
728
|
+
/**
|
|
729
|
+
* Creates an overflow context with dependency injection support.
|
|
730
|
+
*
|
|
731
|
+
* @param options Configuration options including namespace
|
|
732
|
+
* @template E The type of the overflow context
|
|
733
|
+
* @returns Trinity tuple: [useOverflow, provideOverflow, defaultOverflow]
|
|
734
|
+
*
|
|
735
|
+
* @example
|
|
736
|
+
* ```ts
|
|
737
|
+
* // Create injectable context
|
|
738
|
+
* const [useOverflow, provideOverflow, overflow] = createOverflowContext({
|
|
739
|
+
* namespace: 'my-overflow',
|
|
740
|
+
* gap: 8,
|
|
741
|
+
* reserved: 160,
|
|
742
|
+
* })
|
|
743
|
+
*
|
|
744
|
+
* // In parent component
|
|
745
|
+
* provideOverflow()
|
|
746
|
+
*
|
|
747
|
+
* // In child component
|
|
748
|
+
* const overflow = useOverflow()
|
|
749
|
+
* ```
|
|
750
|
+
*/
|
|
751
|
+
declare function createOverflowContext<E extends OverflowContext = OverflowContext>(_options?: OverflowContextOptions): ContextTrinity<E>;
|
|
752
|
+
/**
|
|
753
|
+
* Returns the current overflow context from dependency injection.
|
|
754
|
+
*
|
|
755
|
+
* @param namespace The namespace for the overflow context. Defaults to `v0:overflow`.
|
|
756
|
+
* @template E The type of the overflow context
|
|
757
|
+
* @returns The current overflow context.
|
|
758
|
+
*
|
|
759
|
+
* @throws An error if the overflow context is not found and no default is provided.
|
|
760
|
+
*
|
|
761
|
+
* @example
|
|
762
|
+
* ```vue
|
|
763
|
+
* <script lang="ts" setup>
|
|
764
|
+
* import { useOverflow } from '@vuetify/v0'
|
|
765
|
+
*
|
|
766
|
+
* // Inject overflow context provided by parent
|
|
767
|
+
* const overflow = useOverflow()
|
|
768
|
+
* </script>
|
|
769
|
+
*
|
|
770
|
+
* <template>
|
|
771
|
+
* <div>
|
|
772
|
+
* <p>Capacity: {{ overflow.capacity.value }}</p>
|
|
773
|
+
* </div>
|
|
774
|
+
* </template>
|
|
775
|
+
* ```
|
|
776
|
+
*/
|
|
777
|
+
declare function useOverflow<E extends OverflowContext = OverflowContext>(namespace?: string): E;
|
|
778
|
+
//#endregion
|
|
632
779
|
//#region src/composables/createSingle/index.d.ts
|
|
633
780
|
/**
|
|
634
781
|
* Input type for single selection tickets.
|
|
@@ -1070,146 +1217,6 @@ declare function createGroupContext<Z extends GroupTicketInput = GroupTicketInpu
|
|
|
1070
1217
|
*/
|
|
1071
1218
|
declare function useGroup<Z extends GroupTicketInput = GroupTicketInput, E extends GroupTicket<Z> = GroupTicket<Z>, R extends GroupContext<Z, E> = GroupContext<Z, E>>(namespace?: string): R;
|
|
1072
1219
|
//#endregion
|
|
1073
|
-
//#region src/composables/createOverflow/index.d.ts
|
|
1074
|
-
interface OverflowOptions {
|
|
1075
|
-
/**
|
|
1076
|
-
* Container element to track. Can be a ref, getter, or MaybeRefOrGetter.
|
|
1077
|
-
* When provided, useOverflow tracks this element's width automatically.
|
|
1078
|
-
* Accepts null for compatibility with Vue's useTemplateRef.
|
|
1079
|
-
*/
|
|
1080
|
-
container?: MaybeRefOrGetter<Element | null | undefined>;
|
|
1081
|
-
/** Gap between items in pixels */
|
|
1082
|
-
gap?: MaybeRefOrGetter<number>;
|
|
1083
|
-
/** Reserved space in pixels (for nav buttons, ellipsis, etc) */
|
|
1084
|
-
reserved?: MaybeRefOrGetter<number>;
|
|
1085
|
-
/**
|
|
1086
|
-
* Uniform item width in pixels. When provided, enables uniform mode
|
|
1087
|
-
* where capacity is calculated as available space / itemWidth.
|
|
1088
|
-
* Use this for same-width items like pagination buttons.
|
|
1089
|
-
*/
|
|
1090
|
-
itemWidth?: MaybeRefOrGetter<number>;
|
|
1091
|
-
/**
|
|
1092
|
-
* Calculate capacity from end instead of start.
|
|
1093
|
-
* Useful for breadcrumbs where trailing items take priority.
|
|
1094
|
-
* Only affects variable mode (uniform mode capacity is direction-independent).
|
|
1095
|
-
*/
|
|
1096
|
-
reverse?: MaybeRefOrGetter<boolean>;
|
|
1097
|
-
}
|
|
1098
|
-
interface OverflowContext {
|
|
1099
|
-
/** Container element ref */
|
|
1100
|
-
container: ShallowRef<Element | null | undefined>;
|
|
1101
|
-
/** Current container width */
|
|
1102
|
-
width: Readonly<ShallowRef<number>>;
|
|
1103
|
-
/** How many items fit in available space */
|
|
1104
|
-
capacity: ComputedRef<number>;
|
|
1105
|
-
/** Total width of all measured items */
|
|
1106
|
-
total: ComputedRef<number>;
|
|
1107
|
-
/** Whether items overflow the container */
|
|
1108
|
-
isOverflowing: Readonly<Ref<boolean>>;
|
|
1109
|
-
/** Register an item's element for width measurement */
|
|
1110
|
-
measure: (index: number, el: Element | undefined) => void;
|
|
1111
|
-
/** Clear all measurements */
|
|
1112
|
-
reset: () => void;
|
|
1113
|
-
}
|
|
1114
|
-
interface OverflowContextOptions extends OverflowOptions {
|
|
1115
|
-
/** Namespace for dependency injection */
|
|
1116
|
-
namespace?: string;
|
|
1117
|
-
}
|
|
1118
|
-
/**
|
|
1119
|
-
* Creates a new overflow context for computing how many items fit in a container.
|
|
1120
|
-
*
|
|
1121
|
-
* @param options Configuration options
|
|
1122
|
-
* @returns Overflow context with container ref, capacity, and measurement functions
|
|
1123
|
-
*
|
|
1124
|
-
* @example Variable-width mode (Breadcrumbs)
|
|
1125
|
-
* ```vue
|
|
1126
|
-
* <script lang="ts" setup>
|
|
1127
|
-
* import { useTemplateRef } from 'vue'
|
|
1128
|
-
* import { createOverflow } from '@vuetify/v0'
|
|
1129
|
-
*
|
|
1130
|
-
* const containerRef = useTemplateRef('container')
|
|
1131
|
-
* const overflow = createOverflow({
|
|
1132
|
-
* container: containerRef,
|
|
1133
|
-
* gap: 8,
|
|
1134
|
-
* reserved: 40,
|
|
1135
|
-
* })
|
|
1136
|
-
* </script>
|
|
1137
|
-
*
|
|
1138
|
-
* <template>
|
|
1139
|
-
* <div ref="container">
|
|
1140
|
-
* <span
|
|
1141
|
-
* v-for="(item, i) in items.slice(0, overflow.capacity.value)"
|
|
1142
|
-
* :key="i"
|
|
1143
|
-
* :ref="el => overflow.measure(i, el)"
|
|
1144
|
-
* >
|
|
1145
|
-
* {{ item }}
|
|
1146
|
-
* </span>
|
|
1147
|
-
* <span v-if="overflow.isOverflowing.value">...</span>
|
|
1148
|
-
* </div>
|
|
1149
|
-
* </template>
|
|
1150
|
-
* ```
|
|
1151
|
-
*
|
|
1152
|
-
* @example Uniform-width mode (Pagination)
|
|
1153
|
-
* ```ts
|
|
1154
|
-
* const overflow = createOverflow({
|
|
1155
|
-
* container: () => atom.value?.element,
|
|
1156
|
-
* itemWidth: buttonWidth,
|
|
1157
|
-
* reserved: () => buttonWidth.value * 4,
|
|
1158
|
-
* })
|
|
1159
|
-
* ```
|
|
1160
|
-
*/
|
|
1161
|
-
declare function createOverflow<E extends OverflowContext = OverflowContext>(options?: OverflowOptions): E;
|
|
1162
|
-
/**
|
|
1163
|
-
* Creates an overflow context with dependency injection support.
|
|
1164
|
-
*
|
|
1165
|
-
* @param options Configuration options including namespace
|
|
1166
|
-
* @template E The type of the overflow context
|
|
1167
|
-
* @returns Trinity tuple: [useOverflow, provideOverflow, defaultOverflow]
|
|
1168
|
-
*
|
|
1169
|
-
* @example
|
|
1170
|
-
* ```ts
|
|
1171
|
-
* // Create injectable context
|
|
1172
|
-
* const [useOverflow, provideOverflow, overflow] = createOverflowContext({
|
|
1173
|
-
* namespace: 'my-overflow',
|
|
1174
|
-
* gap: 8,
|
|
1175
|
-
* reserved: 160,
|
|
1176
|
-
* })
|
|
1177
|
-
*
|
|
1178
|
-
* // In parent component
|
|
1179
|
-
* provideOverflow()
|
|
1180
|
-
*
|
|
1181
|
-
* // In child component
|
|
1182
|
-
* const overflow = useOverflow()
|
|
1183
|
-
* ```
|
|
1184
|
-
*/
|
|
1185
|
-
declare function createOverflowContext<E extends OverflowContext = OverflowContext>(_options?: OverflowContextOptions): ContextTrinity<E>;
|
|
1186
|
-
/**
|
|
1187
|
-
* Returns the current overflow context from dependency injection.
|
|
1188
|
-
*
|
|
1189
|
-
* @param namespace The namespace for the overflow context. Defaults to `v0:overflow`.
|
|
1190
|
-
* @template E The type of the overflow context
|
|
1191
|
-
* @returns The current overflow context.
|
|
1192
|
-
*
|
|
1193
|
-
* @throws An error if the overflow context is not found and no default is provided.
|
|
1194
|
-
*
|
|
1195
|
-
* @example
|
|
1196
|
-
* ```vue
|
|
1197
|
-
* <script lang="ts" setup>
|
|
1198
|
-
* import { useOverflow } from '@vuetify/v0'
|
|
1199
|
-
*
|
|
1200
|
-
* // Inject overflow context provided by parent
|
|
1201
|
-
* const overflow = useOverflow()
|
|
1202
|
-
* </script>
|
|
1203
|
-
*
|
|
1204
|
-
* <template>
|
|
1205
|
-
* <div>
|
|
1206
|
-
* <p>Capacity: {{ overflow.capacity.value }}</p>
|
|
1207
|
-
* </div>
|
|
1208
|
-
* </template>
|
|
1209
|
-
* ```
|
|
1210
|
-
*/
|
|
1211
|
-
declare function useOverflow<E extends OverflowContext = OverflowContext>(namespace?: string): E;
|
|
1212
|
-
//#endregion
|
|
1213
1220
|
//#region src/composables/createStep/index.d.ts
|
|
1214
1221
|
/**
|
|
1215
1222
|
* Input type for step tickets.
|
|
@@ -1396,22 +1403,24 @@ interface PopoverOptions {
|
|
|
1396
1403
|
positionTry?: string;
|
|
1397
1404
|
/** External ref for bidirectional open state (e.g., from defineModel) */
|
|
1398
1405
|
isOpen?: Ref<boolean>;
|
|
1399
|
-
/** Delay in ms before
|
|
1400
|
-
|
|
1401
|
-
/** Delay in ms before
|
|
1402
|
-
|
|
1406
|
+
/** Delay in ms before opening the popover. @default 0 */
|
|
1407
|
+
openDelay?: MaybeRefOrGetter<number>;
|
|
1408
|
+
/** Delay in ms before closing the popover. @default 0 */
|
|
1409
|
+
closeDelay?: MaybeRefOrGetter<number>;
|
|
1403
1410
|
}
|
|
1404
1411
|
interface PopoverReturn {
|
|
1405
1412
|
/** Whether the popover is open */
|
|
1406
1413
|
isOpen: Ref<boolean>;
|
|
1407
1414
|
/** Unique ID for the popover */
|
|
1408
1415
|
id: string;
|
|
1409
|
-
/** Open the popover */
|
|
1416
|
+
/** Open the popover (respects openDelay) */
|
|
1410
1417
|
open: () => void;
|
|
1411
|
-
/** Close the popover */
|
|
1418
|
+
/** Close the popover (respects closeDelay) */
|
|
1412
1419
|
close: () => void;
|
|
1413
1420
|
/** Toggle open/close */
|
|
1414
1421
|
toggle: () => void;
|
|
1422
|
+
/** Cancel any pending open or close transition */
|
|
1423
|
+
cancel: () => void;
|
|
1415
1424
|
/** Styles to spread on the activator element (anchor-name) */
|
|
1416
1425
|
anchorStyles: Readonly<Ref<Record<string, string>>>;
|
|
1417
1426
|
/** Attrs to spread on the content element (id, popover) */
|
|
@@ -1599,106 +1608,468 @@ declare function createComboboxContext(options?: ComboboxOptions & {
|
|
|
1599
1608
|
* @param namespace - DI namespace. Defaults to `'v0:combobox'`.
|
|
1600
1609
|
* @returns The combobox context from the nearest provider.
|
|
1601
1610
|
*
|
|
1602
|
-
* @see https://0.vuetifyjs.com/composables/forms/create-combobox
|
|
1611
|
+
* @see https://0.vuetifyjs.com/composables/forms/create-combobox
|
|
1612
|
+
*
|
|
1613
|
+
* @example
|
|
1614
|
+
* ```ts
|
|
1615
|
+
* import { useCombobox } from '@vuetify/v0'
|
|
1616
|
+
*
|
|
1617
|
+
* const combobox = useCombobox()
|
|
1618
|
+
* combobox.query.value = 'search term'
|
|
1619
|
+
* ```
|
|
1620
|
+
*/
|
|
1621
|
+
declare function useCombobox(namespace?: string): ComboboxContext;
|
|
1622
|
+
//#endregion
|
|
1623
|
+
//#region src/composables/createContext/index.d.ts
|
|
1624
|
+
type ContextKey<Z> = InjectionKey<Z> | string;
|
|
1625
|
+
interface CreateContextOptions {
|
|
1626
|
+
/** Optional suffix to append to the runtime key */
|
|
1627
|
+
suffix?: string;
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Injects a context provided by an ancestor component.
|
|
1631
|
+
*
|
|
1632
|
+
* @param key The key of the context to inject.
|
|
1633
|
+
* @param defaultValue Optional default value if context is not found.
|
|
1634
|
+
* @template Z The type of the context.
|
|
1635
|
+
* @returns The injected context.
|
|
1636
|
+
* @throws An error if the context is not found and no default is provided.
|
|
1637
|
+
*
|
|
1638
|
+
* @see https://vuejs.org/api/composition-api-dependency-injection.html#inject
|
|
1639
|
+
* @see https://0.vuetifyjs.com/composables/foundation/create-context
|
|
1640
|
+
*
|
|
1641
|
+
* @example
|
|
1642
|
+
* ```ts
|
|
1643
|
+
* // Without default value
|
|
1644
|
+
* const context = useContext<MyContext>('my-context')
|
|
1645
|
+
*
|
|
1646
|
+
* // With default value
|
|
1647
|
+
* const context = useContext<MyContext>('my-context', defaultContext)
|
|
1648
|
+
* ```
|
|
1649
|
+
*/
|
|
1650
|
+
declare function useContext<Z>(key: ContextKey<Z>, defaultValue?: Z): Z;
|
|
1651
|
+
/**
|
|
1652
|
+
* Provides a context to all descendant components.
|
|
1653
|
+
*
|
|
1654
|
+
* @param key The key of the context to provide.
|
|
1655
|
+
* @param context The context to provide.
|
|
1656
|
+
* @param app Optional Vue app instance to provide the context at app level instead of component level.
|
|
1657
|
+
* @template Z The type of the context.
|
|
1658
|
+
* @returns The provided context.
|
|
1659
|
+
*
|
|
1660
|
+
* @remarks
|
|
1661
|
+
* When `app` parameter is provided, the context is made available to all components in the app.
|
|
1662
|
+
* When omitted, the context is provided at the current component level and available to descendants only.
|
|
1663
|
+
*
|
|
1664
|
+
* @see https://vuejs.org/api/composition-api-dependency-injection.html#provide
|
|
1665
|
+
* @see https://0.vuetifyjs.com/composables/foundation/create-context
|
|
1666
|
+
*
|
|
1667
|
+
* @example
|
|
1668
|
+
* ```ts
|
|
1669
|
+
* // Component-level provision
|
|
1670
|
+
* provideContext<MyContext>('my-context', context)
|
|
1671
|
+
*
|
|
1672
|
+
* // App-level provision (typically used in plugins)
|
|
1673
|
+
* const app = createApp()
|
|
1674
|
+
* provideContext<MyContext>('my-context', context, app)
|
|
1675
|
+
* ```
|
|
1676
|
+
*/
|
|
1677
|
+
declare function provideContext<Z>(key: ContextKey<Z>, context: Z, app?: App): Z;
|
|
1678
|
+
/**
|
|
1679
|
+
* Creates a new context for providing and injecting data.
|
|
1680
|
+
*
|
|
1681
|
+
* Supports two modes:
|
|
1682
|
+
* - **Static key mode**: Pass a string/symbol key. The key is fixed at creation time.
|
|
1683
|
+
* - **Dynamic key mode**: Pass nothing or an options object. The key is provided at runtime.
|
|
1684
|
+
*
|
|
1685
|
+
* @template Z The type of the context.
|
|
1686
|
+
* @returns A tuple containing the `useContext` and `provideContext` functions.
|
|
1687
|
+
*
|
|
1688
|
+
* @see https://vuejs.org/api/composition-api-dependency-injection.html
|
|
1689
|
+
* @see https://0.vuetifyjs.com/composables/foundation/create-context
|
|
1690
|
+
*
|
|
1691
|
+
* @example
|
|
1692
|
+
* ```ts
|
|
1693
|
+
* // Static key mode - key fixed at creation
|
|
1694
|
+
* const [useContext, provideContext] = createContext<ThemeContext>('v0:theme')
|
|
1695
|
+
* provideContext(context) // provides to 'v0:theme'
|
|
1696
|
+
* useContext() // injects from 'v0:theme'
|
|
1697
|
+
*
|
|
1698
|
+
* // Dynamic key mode - key provided at runtime
|
|
1699
|
+
* const [useContext, provideContext] = createContext<PanelContext>()
|
|
1700
|
+
* provideContext('v0:panel', context) // provides to 'v0:panel'
|
|
1701
|
+
* useContext('v0:panel') // injects from 'v0:panel'
|
|
1702
|
+
*
|
|
1703
|
+
* // Dynamic key with suffix - suffix appended to runtime key
|
|
1704
|
+
* const [useContext, provideContext] = createContext<ItemContext>({ suffix: 'item' })
|
|
1705
|
+
* provideContext('v0:panel', context) // provides to 'v0:panel:item'
|
|
1706
|
+
* useContext('v0:panel') // injects from 'v0:panel:item'
|
|
1707
|
+
* ```
|
|
1708
|
+
*/
|
|
1709
|
+
declare function createContext<Z>(key: ContextKey<Z>, defaultValue?: Z): readonly [() => Z, (context: Z, app?: App) => Z];
|
|
1710
|
+
declare function createContext<Z>(options?: CreateContextOptions): readonly [(key: string, defaultValue?: Z) => Z, (key: string, context: Z, app?: App) => Z];
|
|
1711
|
+
//#endregion
|
|
1712
|
+
//#region src/composables/createDataGrid/editing.d.ts
|
|
1713
|
+
interface EditableColumn<T = unknown> {
|
|
1714
|
+
readonly id: string;
|
|
1715
|
+
readonly editable?: boolean | ((item: T) => boolean);
|
|
1716
|
+
readonly validate?: (value: unknown, item?: T) => string | true;
|
|
1717
|
+
}
|
|
1718
|
+
/**
|
|
1719
|
+
* Minimal structural type of the row registry surface that
|
|
1720
|
+
* `createCellEditing` subscribes to for pruning stale state.
|
|
1721
|
+
*
|
|
1722
|
+
* Compatible with the registry returned by `createDataTable` / spread onto
|
|
1723
|
+
* `createDataGrid`. The `on` / `off` channel is needed — handlers subscribe at
|
|
1724
|
+
* setup and unsubscribe on scope dispose, so a registry that outlives the
|
|
1725
|
+
* editing instance does not accumulate listeners. The payload arrives as
|
|
1726
|
+
* `unknown` and is narrowed inside the handler.
|
|
1727
|
+
*/
|
|
1728
|
+
interface CellEditingRegistry {
|
|
1729
|
+
on: (event: string, listener: (data: unknown) => void) => void;
|
|
1730
|
+
off: (event: string, listener: (data: unknown) => void) => void;
|
|
1731
|
+
}
|
|
1732
|
+
interface CellEditingOptions<T = unknown> {
|
|
1733
|
+
/**
|
|
1734
|
+
* Editable columns, read reactively. Accepts a ref or getter so the column
|
|
1735
|
+
* set can change after construction — e.g. a grid that derives editables
|
|
1736
|
+
* from a live column registry. Resolved via `toValue` on every `edit` /
|
|
1737
|
+
* `commit`, so newly-onboarded editable columns are picked up without
|
|
1738
|
+
* re-creating the editing instance.
|
|
1739
|
+
*/
|
|
1740
|
+
columns: MaybeRefOrGetter<readonly EditableColumn<T>[]>;
|
|
1741
|
+
onEdit?: (row: ID, column: string, value: unknown) => void;
|
|
1742
|
+
lookup?: (row: ID) => T | undefined;
|
|
1743
|
+
registry?: CellEditingRegistry;
|
|
1744
|
+
}
|
|
1745
|
+
interface ActiveCell {
|
|
1746
|
+
row: ID;
|
|
1747
|
+
column: string;
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Cell editing state and controls returned by {@link createCellEditing}.
|
|
1751
|
+
*
|
|
1752
|
+
* @example
|
|
1753
|
+
* ```ts
|
|
1754
|
+
* grid.editing.edit(1, 'email')
|
|
1755
|
+
* grid.editing.commit('x@y.z')
|
|
1756
|
+
*
|
|
1757
|
+
* grid.editing.active.value // { row: 1, column: 'email' } | null
|
|
1758
|
+
* grid.editing.error.value // 'Invalid email' | null
|
|
1759
|
+
* grid.editing.dirty // Map<ID, Map<string, unknown>> (ShallowReactive)
|
|
1760
|
+
* ```
|
|
1761
|
+
*/
|
|
1762
|
+
interface CellEditing {
|
|
1763
|
+
active: Readonly<ShallowRef<ActiveCell | null>>;
|
|
1764
|
+
edit: (row: ID, column: string) => void;
|
|
1765
|
+
commit: (value: unknown) => void;
|
|
1766
|
+
cancel: () => void;
|
|
1767
|
+
error: Readonly<ShallowRef<string | null>>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Map of rows that have staged (uncommitted) cell values. The outer key
|
|
1770
|
+
* is the row id; the inner Map is column id → staged value. Empty
|
|
1771
|
+
* entries are not pre-created — consumers that want to stage a value
|
|
1772
|
+
* insert their own per-row Map (or use the dirty Map's `set`).
|
|
1773
|
+
*
|
|
1774
|
+
* `dirty` is a consumer-managed staging area for uncommitted values;
|
|
1775
|
+
* `commit(value)` commits its explicit `value` argument and merely deletes
|
|
1776
|
+
* the matching staged entry — it does not read or auto-flush staged values.
|
|
1777
|
+
*/
|
|
1778
|
+
dirty: Readonly<ShallowReactive<Map<ID, Map<string, unknown>>>>;
|
|
1779
|
+
}
|
|
1780
|
+
//#endregion
|
|
1781
|
+
//#region src/composables/createDataGrid/layout.d.ts
|
|
1782
|
+
type PinPosition = 'left' | 'right' | false;
|
|
1783
|
+
interface GridColumnDef extends ColumnNode {
|
|
1784
|
+
/** Width as a percentage (0–100). Unset columns share remaining space equally. */
|
|
1785
|
+
readonly size?: number;
|
|
1786
|
+
/** Minimum width as a percentage. @default 2 */
|
|
1787
|
+
readonly minSize?: number;
|
|
1788
|
+
/** Maximum width as a percentage. @default 100 */
|
|
1789
|
+
readonly maxSize?: number;
|
|
1790
|
+
/** Pin position. @default false */
|
|
1791
|
+
readonly pinned?: PinPosition;
|
|
1792
|
+
/** Allow resizing. @default true */
|
|
1793
|
+
readonly resizable?: boolean;
|
|
1794
|
+
/** Allow reordering. @default true */
|
|
1795
|
+
readonly reorderable?: boolean;
|
|
1796
|
+
readonly children?: readonly GridColumnDef[];
|
|
1797
|
+
}
|
|
1798
|
+
interface ResolvedColumn {
|
|
1799
|
+
id: string;
|
|
1800
|
+
index: number;
|
|
1801
|
+
/** Current size as a percentage */
|
|
1802
|
+
size: number;
|
|
1803
|
+
/** Distance from the column's pinning edge — left edge for left/scrollable, right edge for right. Apply directly as the CSS `left` / `right` value for sticky positioning. */
|
|
1804
|
+
offset: number;
|
|
1805
|
+
pinned: PinPosition;
|
|
1806
|
+
resizable: boolean;
|
|
1807
|
+
reorderable: boolean;
|
|
1808
|
+
minSize: number;
|
|
1809
|
+
maxSize: number;
|
|
1810
|
+
/** Whether the column is part of the render set. Always `true` for render-set entries; meaningful on `all`, where hidden columns surface as `false`. */
|
|
1811
|
+
visible: boolean;
|
|
1812
|
+
}
|
|
1813
|
+
interface PinnedRegion {
|
|
1814
|
+
left: ResolvedColumn[];
|
|
1815
|
+
scrollable: ResolvedColumn[];
|
|
1816
|
+
right: ResolvedColumn[];
|
|
1817
|
+
}
|
|
1818
|
+
interface ColumnLayout {
|
|
1819
|
+
/** Resolved columns for each pin region (hidden columns excluded) */
|
|
1820
|
+
pinned: Readonly<Ref<PinnedRegion>>;
|
|
1821
|
+
/** All visible resolved columns in display order (hidden columns excluded) */
|
|
1822
|
+
columns: Readonly<Ref<ResolvedColumn[]>>;
|
|
1823
|
+
/** Every column in display order, including hidden ones, each carrying a `visible` flag — for a column chooser. */
|
|
1824
|
+
all: Readonly<Ref<ResolvedColumn[]>>;
|
|
1825
|
+
/** Pin a column to a region (or unpin with false) */
|
|
1826
|
+
pin: (id: string, position: PinPosition) => void;
|
|
1827
|
+
/**
|
|
1828
|
+
* Resize a column by delta percentage within its pin region.
|
|
1829
|
+
* The neighbor to the right absorbs the inverse delta.
|
|
1830
|
+
* No-op for the last column in its region or non-resizable columns.
|
|
1831
|
+
*/
|
|
1832
|
+
resize: (id: string, delta: number) => void;
|
|
1833
|
+
/**
|
|
1834
|
+
* Move a column from one display-order index to another. Indices address
|
|
1835
|
+
* the visible display set (matching `columns`), so hidden columns are not
|
|
1836
|
+
* counted. No-op if the resolved top-level group has `reorderable: false`.
|
|
1837
|
+
*/
|
|
1838
|
+
reorder: (from: number, to: number) => void;
|
|
1839
|
+
/** Replace all sizes at once and normalize to sum to 100 */
|
|
1840
|
+
distribute: (sizes: number[]) => void;
|
|
1841
|
+
/** Show a previously hidden column */
|
|
1842
|
+
show: (id: string) => void;
|
|
1843
|
+
/** Hide a column — excludes it from the render set without redistributing */
|
|
1844
|
+
hide: (id: string) => void;
|
|
1845
|
+
/** Toggle a column's visibility */
|
|
1846
|
+
toggle: (id: string) => void;
|
|
1847
|
+
/** Restore initial sizes, order, and pins */
|
|
1848
|
+
reset: () => void;
|
|
1849
|
+
}
|
|
1850
|
+
//#endregion
|
|
1851
|
+
//#region src/composables/createDataGrid/spanning.d.ts
|
|
1852
|
+
interface SpanEntry {
|
|
1853
|
+
rowSpan: number;
|
|
1854
|
+
hidden: boolean;
|
|
1855
|
+
}
|
|
1856
|
+
/**
|
|
1857
|
+
* Options for {@link createRowSpanning}.
|
|
1858
|
+
*
|
|
1859
|
+
* @template T Row value type.
|
|
1860
|
+
*
|
|
1861
|
+
* @example
|
|
1862
|
+
* ```ts
|
|
1863
|
+
* const options: RowSpanningOptions<Holding> = {
|
|
1864
|
+
* items: computed(() => grid.items.value),
|
|
1865
|
+
* columns: ['group', 'ticker', 'value'],
|
|
1866
|
+
* span: (item, column) => column === 'group' ? 3 : 1,
|
|
1867
|
+
* }
|
|
1868
|
+
* ```
|
|
1869
|
+
*/
|
|
1870
|
+
interface RowSpanningOptions<T = Record<string, unknown>> {
|
|
1871
|
+
items: Ref<readonly T[]> | ComputedRef<readonly T[]>;
|
|
1872
|
+
columns: MaybeRefOrGetter<readonly string[]>;
|
|
1873
|
+
/**
|
|
1874
|
+
* Projects the row key from its item and index. Takes precedence over
|
|
1875
|
+
* `itemKey` — the grid passes the registry ticket id so the span map shares
|
|
1876
|
+
* identity with the rest of the grid. Rows whose projected key is
|
|
1877
|
+
* `undefined` are skipped, since their spans can't be addressed.
|
|
1878
|
+
*/
|
|
1879
|
+
key?: (item: T, index: number) => ID | undefined;
|
|
1880
|
+
/**
|
|
1881
|
+
* Property used to identify each row in the span map when `key` is absent.
|
|
1882
|
+
* Rows whose value for this key is `undefined` are skipped, since their
|
|
1883
|
+
* spans can't be addressed.
|
|
1884
|
+
*/
|
|
1885
|
+
itemKey?: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* Resolves the row span for a cell. Return a value < 1 (or `NaN`) to span a
|
|
1888
|
+
* single row. When absent, no spans are produced.
|
|
1889
|
+
*/
|
|
1890
|
+
span?: (item: T, column: string) => number;
|
|
1891
|
+
}
|
|
1892
|
+
//#endregion
|
|
1893
|
+
//#region src/composables/createDataGrid/index.d.ts
|
|
1894
|
+
/**
|
|
1895
|
+
* Column registration shape for `createDataGrid`. Extends the data-table
|
|
1896
|
+
* column ticket input with grid-specific layout, editing, and spanning config.
|
|
1897
|
+
*
|
|
1898
|
+
* The extra fields ride on the column ticket — `createRegistry` preserves them
|
|
1899
|
+
* via `{ ...registration }` — so layout/editing/spanning read config straight
|
|
1900
|
+
* off the registered ticket. Nested `children` config rides inline on the
|
|
1901
|
+
* parent ticket, mirroring `DataTableColumnTicketInput`.
|
|
1902
|
+
*
|
|
1903
|
+
* @template T Row value type.
|
|
1904
|
+
*
|
|
1905
|
+
* @example
|
|
1906
|
+
* ```ts
|
|
1907
|
+
* const grid = createDataGrid<Product>()
|
|
1908
|
+
*
|
|
1909
|
+
* grid.columns.onboard([
|
|
1910
|
+
* { id: 'name', sortable: true, size: 40, pinned: 'left' },
|
|
1911
|
+
* { id: 'price', editable: true, validate: v => Number(v) >= 0 || 'must be positive' },
|
|
1912
|
+
* ])
|
|
1913
|
+
* ```
|
|
1914
|
+
*/
|
|
1915
|
+
interface DataGridColumnTicketInput<T extends Record<string, unknown> = Record<string, unknown>> extends DataTableColumnTicketInput<T> {
|
|
1916
|
+
/** Width as a percentage (0–100). Unset columns share remaining space equally. */
|
|
1917
|
+
size?: number;
|
|
1918
|
+
/** Minimum width as a percentage. @default 2 */
|
|
1919
|
+
minSize?: number;
|
|
1920
|
+
/** Maximum width as a percentage. @default 100 */
|
|
1921
|
+
maxSize?: number;
|
|
1922
|
+
/** Pin position. @default false */
|
|
1923
|
+
pinned?: PinPosition;
|
|
1924
|
+
/** Allow resizing. @default true */
|
|
1925
|
+
resizable?: boolean;
|
|
1926
|
+
/** Allow reordering. @default true */
|
|
1927
|
+
reorderable?: boolean;
|
|
1928
|
+
/** Whether cells in this column can be edited. A function gates per-row. */
|
|
1929
|
+
editable?: boolean | ((item: T) => boolean);
|
|
1930
|
+
/** Validate an edited value; return `true` to accept or a string error to reject. */
|
|
1931
|
+
validate?: (value: unknown, item?: T) => string | true;
|
|
1932
|
+
/** Row span for a cell in this column. */
|
|
1933
|
+
span?: (item: T) => number;
|
|
1934
|
+
/** Header-group children (recursive). Children are NOT separately registered. */
|
|
1935
|
+
children?: readonly DataGridColumnTicketInput<T>[];
|
|
1936
|
+
}
|
|
1937
|
+
/**
|
|
1938
|
+
* Output ticket returned by `grid.columns.register` / `grid.columns.onboard`.
|
|
1939
|
+
*
|
|
1940
|
+
* Combines the standard registry ticket fields (`index`, `valueIsIndex`,
|
|
1941
|
+
* `unregister`) with the column-shape fields from {@link DataGridColumnTicketInput}.
|
|
1942
|
+
*
|
|
1943
|
+
* @template T Row value type.
|
|
1944
|
+
*/
|
|
1945
|
+
type DataGridColumnTicket<T extends Record<string, unknown> = Record<string, unknown>> = DataTableColumnTicket<T> & DataGridColumnTicketInput<T>;
|
|
1946
|
+
/**
|
|
1947
|
+
* @deprecated Use {@link DataGridColumnTicketInput}. Columns are now onboarded
|
|
1948
|
+
* via `grid.columns.onboard([...])` rather than passed as a factory option.
|
|
1949
|
+
*/
|
|
1950
|
+
type DataGridColumn<T extends Record<string, unknown> = Record<string, unknown>> = DataGridColumnTicketInput<T>;
|
|
1951
|
+
/**
|
|
1952
|
+
* Factory options for {@link createDataGrid}. Extends {@link DataTableOptions}
|
|
1953
|
+
* with cell-editing, row-spanning, and row-order-preservation config.
|
|
1954
|
+
*
|
|
1955
|
+
* @template T Row value type.
|
|
1603
1956
|
*
|
|
1604
1957
|
* @example
|
|
1605
1958
|
* ```ts
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1608
|
-
*
|
|
1609
|
-
*
|
|
1959
|
+
* const grid = createDataGrid<Product>({
|
|
1960
|
+
* editing: { onEdit (row, column, value, item) { persist(item.id, column, value) } },
|
|
1961
|
+
* rowSpanning: (item, column) => column === 'group' ? 3 : 1,
|
|
1962
|
+
* preserveRowOrder: true,
|
|
1963
|
+
* })
|
|
1610
1964
|
* ```
|
|
1611
1965
|
*/
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
suffix?: string;
|
|
1966
|
+
interface DataGridOptions<T extends Record<string, unknown>> extends DataTableOptions<T> {
|
|
1967
|
+
editing?: {
|
|
1968
|
+
onEdit?: (row: ID, column: string, value: unknown, item: T) => void;
|
|
1969
|
+
};
|
|
1970
|
+
preserveRowOrder?: MaybeRefOrGetter<boolean>;
|
|
1971
|
+
rowSpanning?: (item: T, column: string) => number;
|
|
1619
1972
|
}
|
|
1620
1973
|
/**
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1624
|
-
* @param defaultValue Optional default value if context is not found.
|
|
1625
|
-
* @template Z The type of the context.
|
|
1626
|
-
* @returns The injected context.
|
|
1627
|
-
* @throws An error if the context is not found and no default is provided.
|
|
1974
|
+
* The reactive grid instance returned by {@link createDataGrid}. Spreads the
|
|
1975
|
+
* inherited {@link DataTableContext} surface and adds `layout`, `rows`,
|
|
1976
|
+
* `editing`, and `spans`.
|
|
1628
1977
|
*
|
|
1629
|
-
* @
|
|
1630
|
-
* @see https://0.vuetifyjs.com/composables/foundation/create-context
|
|
1978
|
+
* @template T Row value type.
|
|
1631
1979
|
*
|
|
1632
1980
|
* @example
|
|
1633
1981
|
* ```ts
|
|
1634
|
-
*
|
|
1635
|
-
* const context = useContext<MyContext>('my-context')
|
|
1982
|
+
* const grid = createDataGrid<Product>()
|
|
1636
1983
|
*
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1984
|
+
* grid.layout.pin('name', 'left')
|
|
1985
|
+
* grid.rows.move(id, 0)
|
|
1986
|
+
* grid.editing.edit(1, 'email')
|
|
1987
|
+
* grid.spans.value.get(id)?.get('group')
|
|
1639
1988
|
* ```
|
|
1640
1989
|
*/
|
|
1641
|
-
|
|
1990
|
+
interface DataGridContext<T extends Record<string, unknown>> extends DataTableContext<T> {
|
|
1991
|
+
/**
|
|
1992
|
+
* Column registry, widened to the grid column ticket shape. Covariant
|
|
1993
|
+
* override of the inherited {@link DataTableContext.columns} (PHILOSOPHY
|
|
1994
|
+
* §2.6): every grid-added column field (`size`, `pinned`, `editable`,
|
|
1995
|
+
* `validate`, `span`, `minSize`, `maxSize`, `resizable`, `reorderable`) is
|
|
1996
|
+
* optional, so the widened input still satisfies the base `register` /
|
|
1997
|
+
* `onboard` signatures and runtime behavior is unchanged.
|
|
1998
|
+
*/
|
|
1999
|
+
columns: RegistryContext<DataGridColumnTicketInput<T>, DataGridColumnTicket<T>>;
|
|
2000
|
+
layout: ColumnLayout;
|
|
2001
|
+
rows: {
|
|
2002
|
+
order: Readonly<Ref<ID[]>>;
|
|
2003
|
+
move: (id: ID, toIndex: number) => void;
|
|
2004
|
+
reset: () => void;
|
|
2005
|
+
};
|
|
2006
|
+
editing: CellEditing;
|
|
2007
|
+
spans: ComputedRef<Map<ID, Map<string, SpanEntry>>>;
|
|
2008
|
+
}
|
|
2009
|
+
interface DataGridContextOptions<T extends Record<string, unknown>> extends DataGridOptions<T> {
|
|
2010
|
+
namespace?: string;
|
|
2011
|
+
}
|
|
1642
2012
|
/**
|
|
1643
|
-
*
|
|
1644
|
-
*
|
|
1645
|
-
* @param key The key of the context to provide.
|
|
1646
|
-
* @param context The context to provide.
|
|
1647
|
-
* @param app Optional Vue app instance to provide the context at app level instead of component level.
|
|
1648
|
-
* @template Z The type of the context.
|
|
1649
|
-
* @returns The provided context.
|
|
2013
|
+
* Creates a data grid instance with layout, editing, row ordering, and spanning
|
|
2014
|
+
* layered on top of the createDataTable pipeline.
|
|
1650
2015
|
*
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
1653
|
-
*
|
|
2016
|
+
* Rows live on the inherited registry surface — register them with
|
|
2017
|
+
* `grid.onboard(rows.map(value => ({ id: value.id, value })))` or
|
|
2018
|
+
* `grid.register({ id, value })`.
|
|
1654
2019
|
*
|
|
1655
|
-
* @
|
|
1656
|
-
* @
|
|
2020
|
+
* @param options Data grid options
|
|
2021
|
+
* @returns Data grid context
|
|
1657
2022
|
*
|
|
1658
2023
|
* @example
|
|
1659
2024
|
* ```ts
|
|
1660
|
-
*
|
|
1661
|
-
* provideContext<MyContext>('my-context', context)
|
|
2025
|
+
* const grid = createDataGrid({ pagination: { initial: 1 } })
|
|
1662
2026
|
*
|
|
1663
|
-
*
|
|
1664
|
-
*
|
|
1665
|
-
*
|
|
2027
|
+
* grid.columns.onboard([
|
|
2028
|
+
* { id: 'name', sortable: true },
|
|
2029
|
+
* { id: 'progress', editable: true, validate: v => Number(v) >= 0 || 'must be positive' },
|
|
2030
|
+
* ])
|
|
2031
|
+
*
|
|
2032
|
+
* grid.onboard(rows.map(value => ({ id: value.id, value })))
|
|
2033
|
+
* grid.layout.pin('name', 'left')
|
|
2034
|
+
* grid.rows.move(rowId, 0)
|
|
2035
|
+
* grid.editing.edit(row.id, 'progress')
|
|
1666
2036
|
* ```
|
|
1667
2037
|
*/
|
|
1668
|
-
declare function
|
|
2038
|
+
declare function createDataGrid<T extends Record<string, unknown>>(_options?: DataGridOptions<T>): DataGridContext<T>;
|
|
1669
2039
|
/**
|
|
1670
|
-
* Creates a
|
|
2040
|
+
* Creates a data grid context with dependency injection support.
|
|
1671
2041
|
*
|
|
1672
|
-
*
|
|
1673
|
-
*
|
|
1674
|
-
* - **Dynamic key mode**: Pass nothing or an options object. The key is provided at runtime.
|
|
2042
|
+
* @param options Data grid context options including namespace
|
|
2043
|
+
* @returns A trinity tuple: [useDataGridContext, provideDataGridContext, defaultContext]
|
|
1675
2044
|
*
|
|
1676
|
-
* @
|
|
1677
|
-
*
|
|
2045
|
+
* @example
|
|
2046
|
+
* ```ts
|
|
2047
|
+
* const [useDataGrid, provideDataGrid, grid] = createDataGridContext({
|
|
2048
|
+
* namespace: 'v0:projects',
|
|
2049
|
+
* })
|
|
1678
2050
|
*
|
|
1679
|
-
*
|
|
1680
|
-
*
|
|
2051
|
+
* grid.columns.onboard(columns)
|
|
2052
|
+
* grid.onboard(rows.map(value => ({ id: value.id, value })))
|
|
2053
|
+
* provideDataGrid()
|
|
2054
|
+
* const ctx = useDataGrid()
|
|
2055
|
+
* ```
|
|
2056
|
+
*/
|
|
2057
|
+
declare function createDataGridContext<T extends Record<string, unknown>>(_options?: DataGridContextOptions<T>): ContextTrinity<DataGridContext<T>>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Returns the current data grid context from dependency injection.
|
|
2060
|
+
*
|
|
2061
|
+
* @param namespace The namespace for the data grid context. @default 'v0:data-grid'
|
|
2062
|
+
* @returns The current data grid context
|
|
1681
2063
|
*
|
|
1682
2064
|
* @example
|
|
1683
2065
|
* ```ts
|
|
1684
|
-
*
|
|
1685
|
-
* const [useContext, provideContext] = createContext<ThemeContext>('v0:theme')
|
|
1686
|
-
* provideContext(context) // provides to 'v0:theme'
|
|
1687
|
-
* useContext() // injects from 'v0:theme'
|
|
1688
|
-
*
|
|
1689
|
-
* // Dynamic key mode - key provided at runtime
|
|
1690
|
-
* const [useContext, provideContext] = createContext<PanelContext>()
|
|
1691
|
-
* provideContext('v0:panel', context) // provides to 'v0:panel'
|
|
1692
|
-
* useContext('v0:panel') // injects from 'v0:panel'
|
|
2066
|
+
* const grid = useDataGrid<Project>()
|
|
1693
2067
|
*
|
|
1694
|
-
*
|
|
1695
|
-
*
|
|
1696
|
-
* provideContext('v0:panel', context) // provides to 'v0:panel:item'
|
|
1697
|
-
* useContext('v0:panel') // injects from 'v0:panel:item'
|
|
2068
|
+
* grid.layout.pin('id', 'left')
|
|
2069
|
+
* grid.rows.reset()
|
|
1698
2070
|
* ```
|
|
1699
2071
|
*/
|
|
1700
|
-
declare function
|
|
1701
|
-
declare function createContext<Z>(options?: CreateContextOptions): readonly [(key: string, defaultValue?: Z) => Z, (key: string, context: Z, app?: App) => Z];
|
|
2072
|
+
declare function useDataGrid<T extends Record<string, unknown>>(namespace?: string): DataGridContext<T>;
|
|
1702
2073
|
//#endregion
|
|
1703
2074
|
//#region src/composables/createPlugin/index.d.ts
|
|
1704
2075
|
interface PluginOptions {
|
|
@@ -1774,7 +2145,7 @@ interface PluginContextConfig<O, E> {
|
|
|
1774
2145
|
* createPluginContext('v0:logger', options => createLogger(options), {
|
|
1775
2146
|
* fallback: ns => createFallbackLogger(ns),
|
|
1776
2147
|
* setup: (context) => {
|
|
1777
|
-
* if (__DEV__ && IN_BROWSER) (window as
|
|
2148
|
+
* if (__DEV__ && IN_BROWSER) (window as Window & { __v0Logger__?: typeof context }).__v0Logger__ = context
|
|
1778
2149
|
* },
|
|
1779
2150
|
* })
|
|
1780
2151
|
* ```
|
|
@@ -3000,6 +3371,118 @@ interface NumberFieldContext {
|
|
|
3000
3371
|
}
|
|
3001
3372
|
declare function createNumberField(options?: NumberFieldOptions): NumberFieldContext;
|
|
3002
3373
|
//#endregion
|
|
3374
|
+
//#region src/composables/createOtp/index.d.ts
|
|
3375
|
+
/**
|
|
3376
|
+
* Pattern presets — string literals compile to internal RegExps; arbitrary
|
|
3377
|
+
* RegExp values are applied per character.
|
|
3378
|
+
*
|
|
3379
|
+
* @example
|
|
3380
|
+
* ```ts
|
|
3381
|
+
* const otp = createOtp({ pattern: 'numeric' })
|
|
3382
|
+
* const hex = createOtp({ pattern: /^[0-9a-fA-F]$/ })
|
|
3383
|
+
* ```
|
|
3384
|
+
*/
|
|
3385
|
+
type OtpPattern = 'numeric' | 'alphanumeric' | 'alphabetic' | RegExp;
|
|
3386
|
+
/**
|
|
3387
|
+
* Options accepted by `createOtp`.
|
|
3388
|
+
*
|
|
3389
|
+
* @example
|
|
3390
|
+
* ```ts
|
|
3391
|
+
* const otp = createOtp({
|
|
3392
|
+
* length: 6,
|
|
3393
|
+
* pattern: 'numeric',
|
|
3394
|
+
* disabled: false,
|
|
3395
|
+
* onComplete: async value => {
|
|
3396
|
+
* const ok = await verify(value)
|
|
3397
|
+
* return ok
|
|
3398
|
+
* },
|
|
3399
|
+
* })
|
|
3400
|
+
* ```
|
|
3401
|
+
*/
|
|
3402
|
+
interface OtpOptions extends Omit<InputOptions<string>, 'value' | 'error' | 'errorMessages'> {
|
|
3403
|
+
/** Number of characters. @default 6 */
|
|
3404
|
+
length?: MaybeRefOrGetter<number>;
|
|
3405
|
+
/** Joined value source. @default shallowRef('') */
|
|
3406
|
+
value?: Ref<string>;
|
|
3407
|
+
/**
|
|
3408
|
+
* Per-character pattern. String presets compile to internal RegExps;
|
|
3409
|
+
* custom RegExp must match a single character.
|
|
3410
|
+
* @default 'numeric'
|
|
3411
|
+
*/
|
|
3412
|
+
pattern?: MaybeRefOrGetter<OtpPattern>;
|
|
3413
|
+
/**
|
|
3414
|
+
* Fire when the joined value first reaches `length`. Decisional —
|
|
3415
|
+
* return / resolve `false` to reject (clears value, sets error).
|
|
3416
|
+
* A rejected Promise is treated as `false` and logs a warning.
|
|
3417
|
+
*/
|
|
3418
|
+
onComplete?: (value: string) => boolean | void | PromiseLike<boolean | void>;
|
|
3419
|
+
}
|
|
3420
|
+
/**
|
|
3421
|
+
* Reactive context returned by `createOtp`. Consumers index into `value`
|
|
3422
|
+
* for per-character rendering and call the mutation helpers to drive state.
|
|
3423
|
+
*
|
|
3424
|
+
* @example
|
|
3425
|
+
* ```ts
|
|
3426
|
+
* const otp = createOtp({ length: 6 })
|
|
3427
|
+
*
|
|
3428
|
+
* otp.write(0, '4')
|
|
3429
|
+
* otp.distribute('12345', 1) // returns 5
|
|
3430
|
+
* otp.isComplete.value // true
|
|
3431
|
+
* otp.clear()
|
|
3432
|
+
* ```
|
|
3433
|
+
*/
|
|
3434
|
+
interface OtpContext {
|
|
3435
|
+
/**
|
|
3436
|
+
* The joined OTP string. Use the mutation helpers (`write`, `distribute`,
|
|
3437
|
+
* `fill`, `clear`) to update. Writing through this ref directly is
|
|
3438
|
+
* intentionally prevented to preserve pattern, length, and lock invariants.
|
|
3439
|
+
*/
|
|
3440
|
+
value: Readonly<Ref<string>>;
|
|
3441
|
+
/** Resolved character count from the `length` option. */
|
|
3442
|
+
length: Readonly<Ref<number>>;
|
|
3443
|
+
/**
|
|
3444
|
+
* The underlying `createInput` context — exposes ARIA IDs, validation
|
|
3445
|
+
* state, focus/touched, and the `validate` / `reset` methods.
|
|
3446
|
+
*
|
|
3447
|
+
* Note: `input.value` aliases `OtpContext.value` and is also readonly on
|
|
3448
|
+
* the public surface. Use the mutation helpers (`write`, `distribute`,
|
|
3449
|
+
* `fill`, `clear`) to update.
|
|
3450
|
+
*/
|
|
3451
|
+
input: Omit<InputContext<string>, 'value'> & {
|
|
3452
|
+
value: Readonly<Ref<string>>;
|
|
3453
|
+
};
|
|
3454
|
+
/** True when `value` reaches `length` and every character matches `pattern`. */
|
|
3455
|
+
isComplete: Readonly<Ref<boolean>>;
|
|
3456
|
+
/**
|
|
3457
|
+
* True while an async `onComplete` is in flight. Mutation helpers no-op
|
|
3458
|
+
* during this window; consumers can render a spinner against this ref.
|
|
3459
|
+
*/
|
|
3460
|
+
isValidating: Readonly<Ref<boolean>>;
|
|
3461
|
+
/**
|
|
3462
|
+
* Write a single character at `index`. Empty string clears trailing
|
|
3463
|
+
* characters from `index` onward. Out-of-range indices and characters
|
|
3464
|
+
* rejected by `pattern` are ignored. No-ops while locked.
|
|
3465
|
+
*/
|
|
3466
|
+
write: (index: number, char: string) => void;
|
|
3467
|
+
/**
|
|
3468
|
+
* Splice pattern-accepted characters from `text` into `value` starting
|
|
3469
|
+
* at `index`. Returns the number of characters written. No-ops while
|
|
3470
|
+
* locked or when no characters pass the pattern.
|
|
3471
|
+
*/
|
|
3472
|
+
distribute: (text: string, index?: number) => number;
|
|
3473
|
+
/** Clear `value` and rejection state. No-ops while locked. */
|
|
3474
|
+
clear: () => void;
|
|
3475
|
+
/**
|
|
3476
|
+
* Replace `value` with pattern-accepted characters from `text`, truncated
|
|
3477
|
+
* to `length`. Clears rejection state on deliberate empty input or any
|
|
3478
|
+
* accepted characters. No-ops while locked.
|
|
3479
|
+
*/
|
|
3480
|
+
fill: (text: string) => void;
|
|
3481
|
+
/** Whether `char` is a single character matching the current `pattern`. */
|
|
3482
|
+
accepts: (char: string) => boolean;
|
|
3483
|
+
}
|
|
3484
|
+
declare function createOtp(options?: OtpOptions): OtpContext;
|
|
3485
|
+
//#endregion
|
|
3003
3486
|
//#region src/composables/createProgress/index.d.ts
|
|
3004
3487
|
type ProgressTicketInput = ModelTicketInput<ShallowRef<number>>;
|
|
3005
3488
|
type ProgressTicket = ModelTicket<ProgressTicketInput>;
|
|
@@ -4454,6 +4937,91 @@ type MaybeElementRef = {
|
|
|
4454
4937
|
*/
|
|
4455
4938
|
declare function toElement(target: MaybeElementRef): Element | undefined;
|
|
4456
4939
|
//#endregion
|
|
4940
|
+
//#region src/composables/toHighlight/index.d.ts
|
|
4941
|
+
/**
|
|
4942
|
+
* A `[start, end]` index pair where `end` is exclusive (matches
|
|
4943
|
+
* `String.prototype.slice` convention).
|
|
4944
|
+
*
|
|
4945
|
+
* @example
|
|
4946
|
+
* ```ts
|
|
4947
|
+
* import type { MatchRange } from '@vuetify/v0'
|
|
4948
|
+
*
|
|
4949
|
+
* const ranges: MatchRange[] = [[0, 5], [12, 17]]
|
|
4950
|
+
* ```
|
|
4951
|
+
*/
|
|
4952
|
+
type MatchRange = readonly [number, number];
|
|
4953
|
+
/**
|
|
4954
|
+
* A contiguous chunk of source text, flagged as matched or unmatched.
|
|
4955
|
+
*
|
|
4956
|
+
* @example
|
|
4957
|
+
* ```ts
|
|
4958
|
+
* import type { HighlightChunk } from '@vuetify/v0'
|
|
4959
|
+
*
|
|
4960
|
+
* const chunk: HighlightChunk = { text: 'Hello', match: true }
|
|
4961
|
+
* ```
|
|
4962
|
+
*/
|
|
4963
|
+
interface HighlightChunk {
|
|
4964
|
+
text: string;
|
|
4965
|
+
match: boolean;
|
|
4966
|
+
}
|
|
4967
|
+
/**
|
|
4968
|
+
* Optional configuration for {@link toHighlight}.
|
|
4969
|
+
*
|
|
4970
|
+
* @example
|
|
4971
|
+
* ```ts
|
|
4972
|
+
* import { toHighlight } from '@vuetify/v0'
|
|
4973
|
+
*
|
|
4974
|
+
* const chunks = toHighlight('Hello World', 'WORLD', {
|
|
4975
|
+
* ignoreCase: true,
|
|
4976
|
+
* matchAll: true,
|
|
4977
|
+
* })
|
|
4978
|
+
* ```
|
|
4979
|
+
*/
|
|
4980
|
+
interface ToHighlightOptions {
|
|
4981
|
+
/**
|
|
4982
|
+
* Pre-computed `[start, end]` index pairs.
|
|
4983
|
+
* When non-empty, takes priority over `query`. `matchAll` is ignored.
|
|
4984
|
+
* Caller-supplied ranges are sorted and merged before chunking, so
|
|
4985
|
+
* unsorted or overlapping input is handled gracefully.
|
|
4986
|
+
*/
|
|
4987
|
+
matches?: MaybeRefOrGetter<readonly MatchRange[] | undefined>;
|
|
4988
|
+
/**
|
|
4989
|
+
* Highlight every occurrence (`true`) or only the first per term (`false`, default).
|
|
4990
|
+
* Ignored when `matches` is provided.
|
|
4991
|
+
*/
|
|
4992
|
+
matchAll?: MaybeRefOrGetter<boolean>;
|
|
4993
|
+
/** Case-insensitive matching. Default `false`. */
|
|
4994
|
+
ignoreCase?: MaybeRefOrGetter<boolean>;
|
|
4995
|
+
}
|
|
4996
|
+
/**
|
|
4997
|
+
* Splits text into matched and unmatched chunks.
|
|
4998
|
+
*
|
|
4999
|
+
* Pure transformer — returns a plain array. Wrap the call in `computed()` for
|
|
5000
|
+
* reactive recomputation.
|
|
5001
|
+
*
|
|
5002
|
+
* Priority: `options.matches` (when non-empty) → `query` → no-match fallback.
|
|
5003
|
+
*
|
|
5004
|
+
* @param text The source string to split.
|
|
5005
|
+
* @param query One or more search terms. Empty strings are ignored. Case sensitivity controlled by `options.ignoreCase`.
|
|
5006
|
+
* @param options Optional `matches`, `matchAll`, `ignoreCase`.
|
|
5007
|
+
* @returns A `HighlightChunk[]` array.
|
|
5008
|
+
*
|
|
5009
|
+
* @see https://0.vuetifyjs.com/composables/transformers/to-highlight
|
|
5010
|
+
*
|
|
5011
|
+
* @example
|
|
5012
|
+
* ```ts
|
|
5013
|
+
* import { computed, shallowRef } from 'vue'
|
|
5014
|
+
* import { toHighlight } from '@vuetify/v0'
|
|
5015
|
+
*
|
|
5016
|
+
* const query = shallowRef('World')
|
|
5017
|
+
* const chunks = computed(() => toHighlight('Hello World', query))
|
|
5018
|
+
*
|
|
5019
|
+
* console.log(chunks.value)
|
|
5020
|
+
* // [{ text: 'Hello ', match: false }, { text: 'World', match: true }]
|
|
5021
|
+
* ```
|
|
5022
|
+
*/
|
|
5023
|
+
declare function toHighlight(text: MaybeRefOrGetter<string>, query?: MaybeRefOrGetter<string | string[] | undefined>, options?: ToHighlightOptions): HighlightChunk[];
|
|
5024
|
+
//#endregion
|
|
4457
5025
|
//#region src/composables/toReactive/index.d.ts
|
|
4458
5026
|
/**
|
|
4459
5027
|
* Converts a `MaybeRef` to a `UnwrapNestedRefs`.
|
|
@@ -6026,7 +6594,32 @@ declare function createLogger(options?: LoggerOptions): LoggerContext;
|
|
|
6026
6594
|
* })
|
|
6027
6595
|
* ```
|
|
6028
6596
|
*/
|
|
6029
|
-
declare const createLoggerContext: <_E extends LoggerContext = LoggerContext>(_options?: LoggerContextOptions | undefined) => ContextTrinity<_E>, createLoggerPlugin: (_options?: LoggerContextOptions | undefined) => Plugin
|
|
6597
|
+
declare const createLoggerContext: <_E extends LoggerContext = LoggerContext>(_options?: LoggerContextOptions | undefined) => ContextTrinity<_E>, createLoggerPlugin: (_options?: LoggerContextOptions | undefined) => Plugin;
|
|
6598
|
+
/**
|
|
6599
|
+
* Consumes the application logger provided by `createLoggerPlugin`.
|
|
6600
|
+
*
|
|
6601
|
+
* Call with no argument to use the configured logger as-is. Pass a scope key to get a
|
|
6602
|
+
* logger that prefixes every message with a `[scope]` segment after the plugin prefix —
|
|
6603
|
+
* useful for telling apart output from composables that share the app-level logger. A
|
|
6604
|
+
* scoped logger shares the underlying logger's level, enabled state, and adapter; only
|
|
6605
|
+
* the message prefix differs. A blank scope is treated as no scope.
|
|
6606
|
+
*
|
|
6607
|
+
* @param scope Optional per-caller scope key prefixed onto every message.
|
|
6608
|
+
* @returns The application logger, or a scoped wrapper around it.
|
|
6609
|
+
*
|
|
6610
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-logger
|
|
6611
|
+
*
|
|
6612
|
+
* @example
|
|
6613
|
+
* ```ts
|
|
6614
|
+
* import { useLogger } from '@vuetify/v0'
|
|
6615
|
+
*
|
|
6616
|
+
* const logger = useLogger('createKanban')
|
|
6617
|
+
*
|
|
6618
|
+
* logger.warn('drop rejected')
|
|
6619
|
+
* // → [v0 warn] [createKanban] drop rejected
|
|
6620
|
+
* ```
|
|
6621
|
+
*/
|
|
6622
|
+
declare function useLogger(scope?: string): LoggerContext;
|
|
6030
6623
|
//#endregion
|
|
6031
6624
|
//#region src/composables/useMediaQuery/index.d.ts
|
|
6032
6625
|
interface MediaQueryContext {
|
|
@@ -7376,4 +7969,133 @@ interface ToggleScopeControls {
|
|
|
7376
7969
|
*/
|
|
7377
7970
|
declare function useToggleScope(source: WatchSource<boolean>, fn: (() => void) | ((controls: ToggleScopeControls) => void)): ToggleScopeControls;
|
|
7378
7971
|
//#endregion
|
|
7379
|
-
|
|
7972
|
+
//#region src/composables/useTooltip/index.d.ts
|
|
7973
|
+
/**
|
|
7974
|
+
* Options accepted by the tooltip factory.
|
|
7975
|
+
*
|
|
7976
|
+
* @example
|
|
7977
|
+
* ```ts
|
|
7978
|
+
* import { createTooltipPlugin } from '@vuetify/v0'
|
|
7979
|
+
*
|
|
7980
|
+
* app.use(createTooltipPlugin({ openDelay: 500, closeDelay: 100 }))
|
|
7981
|
+
* ```
|
|
7982
|
+
*/
|
|
7983
|
+
interface TooltipOptions {
|
|
7984
|
+
/** Default open delay in ms. @default 700 */
|
|
7985
|
+
openDelay?: MaybeRefOrGetter<number>;
|
|
7986
|
+
/** Default close delay in ms. @default 150 */
|
|
7987
|
+
closeDelay?: MaybeRefOrGetter<number>;
|
|
7988
|
+
/** Window in ms after a tooltip closes during which the next open is instant. @default 300 */
|
|
7989
|
+
skipDelay?: MaybeRefOrGetter<number>;
|
|
7990
|
+
/** Disable all tooltips in this region. @default false */
|
|
7991
|
+
disabled?: MaybeRefOrGetter<boolean>;
|
|
7992
|
+
}
|
|
7993
|
+
interface TooltipContext {
|
|
7994
|
+
/**
|
|
7995
|
+
* Reactive open delay in ms.
|
|
7996
|
+
*
|
|
7997
|
+
* @example
|
|
7998
|
+
* ```ts
|
|
7999
|
+
* const tooltip = useTooltip()
|
|
8000
|
+
* console.log(tooltip.openDelay.value)
|
|
8001
|
+
* ```
|
|
8002
|
+
*/
|
|
8003
|
+
openDelay: Readonly<Ref<number>>;
|
|
8004
|
+
/**
|
|
8005
|
+
* Reactive close delay in ms.
|
|
8006
|
+
*
|
|
8007
|
+
* @example
|
|
8008
|
+
* ```ts
|
|
8009
|
+
* const tooltip = useTooltip()
|
|
8010
|
+
* console.log(tooltip.closeDelay.value)
|
|
8011
|
+
* ```
|
|
8012
|
+
*/
|
|
8013
|
+
closeDelay: Readonly<Ref<number>>;
|
|
8014
|
+
/**
|
|
8015
|
+
* Reactive skip-window length in ms.
|
|
8016
|
+
*
|
|
8017
|
+
* @example
|
|
8018
|
+
* ```ts
|
|
8019
|
+
* const tooltip = useTooltip()
|
|
8020
|
+
* console.log(tooltip.skipDelay.value)
|
|
8021
|
+
* ```
|
|
8022
|
+
*/
|
|
8023
|
+
skipDelay: Readonly<Ref<number>>;
|
|
8024
|
+
/**
|
|
8025
|
+
* Reactive disabled flag for the region.
|
|
8026
|
+
*
|
|
8027
|
+
* @example
|
|
8028
|
+
* ```ts
|
|
8029
|
+
* const tooltip = useTooltip()
|
|
8030
|
+
* if (tooltip.disabled.value) return
|
|
8031
|
+
* ```
|
|
8032
|
+
*/
|
|
8033
|
+
disabled: Readonly<Ref<boolean>>;
|
|
8034
|
+
/**
|
|
8035
|
+
* True when at least one tooltip is currently open in this region.
|
|
8036
|
+
*
|
|
8037
|
+
* @example
|
|
8038
|
+
* ```ts
|
|
8039
|
+
* const tooltip = useTooltip()
|
|
8040
|
+
* watch(tooltip.isAnyOpen, open => console.log(open))
|
|
8041
|
+
* ```
|
|
8042
|
+
*/
|
|
8043
|
+
isAnyOpen: Readonly<Ref<boolean>>;
|
|
8044
|
+
/**
|
|
8045
|
+
* Returns true when the next opening tooltip should skip its open delay.
|
|
8046
|
+
*
|
|
8047
|
+
* @remarks
|
|
8048
|
+
* The skip rule is two-pronged: skip when another tooltip is already open
|
|
8049
|
+
* in the region, or skip when the previous tooltip closed within the
|
|
8050
|
+
* `skipDelay` window.
|
|
8051
|
+
*
|
|
8052
|
+
* @example
|
|
8053
|
+
* ```ts
|
|
8054
|
+
* const tooltip = useTooltip()
|
|
8055
|
+
* const delay = tooltip.shouldSkipOpenDelay() ? 0 : tooltip.openDelay.value
|
|
8056
|
+
* ```
|
|
8057
|
+
*/
|
|
8058
|
+
shouldSkipOpenDelay: () => boolean;
|
|
8059
|
+
/**
|
|
8060
|
+
* Register an open tooltip with the region.
|
|
8061
|
+
*
|
|
8062
|
+
* @example
|
|
8063
|
+
* ```ts
|
|
8064
|
+
* const tooltip = useTooltip()
|
|
8065
|
+
* const ticket = tooltip.register({ id: 'tooltip:1' })
|
|
8066
|
+
* ```
|
|
8067
|
+
*/
|
|
8068
|
+
register: (input?: Partial<RegistryTicketInput>) => RegistryTicket;
|
|
8069
|
+
/**
|
|
8070
|
+
* Unregister a tooltip and stamp the close timestamp.
|
|
8071
|
+
*
|
|
8072
|
+
* @example
|
|
8073
|
+
* ```ts
|
|
8074
|
+
* const tooltip = useTooltip()
|
|
8075
|
+
* tooltip.unregister(ticket.id)
|
|
8076
|
+
* ```
|
|
8077
|
+
*/
|
|
8078
|
+
unregister: (id: ID) => void;
|
|
8079
|
+
}
|
|
8080
|
+
interface TooltipContextOptions extends TooltipOptions {
|
|
8081
|
+
namespace?: string;
|
|
8082
|
+
}
|
|
8083
|
+
interface TooltipPluginOptions extends TooltipContextOptions {}
|
|
8084
|
+
/**
|
|
8085
|
+
* Synthesized fallback used when `useTooltip()` is called without
|
|
8086
|
+
* `app.use(createTooltipPlugin())`. Returns a fresh context with the
|
|
8087
|
+
* documented defaults — `<Tooltip.Root>` keeps working but warmup
|
|
8088
|
+
* coordination is per-instance instead of region-wide.
|
|
8089
|
+
*
|
|
8090
|
+
* @example
|
|
8091
|
+
* ```ts
|
|
8092
|
+
* import { createTooltipFallback } from '@vuetify/v0'
|
|
8093
|
+
*
|
|
8094
|
+
* const tooltip = createTooltipFallback()
|
|
8095
|
+
* console.log(tooltip.openDelay.value) // 700
|
|
8096
|
+
* ```
|
|
8097
|
+
*/
|
|
8098
|
+
declare function createTooltipFallback(): TooltipContext;
|
|
8099
|
+
declare const createTooltipContext: <_E extends TooltipContext = TooltipContext>(_options?: TooltipPluginOptions | undefined) => ContextTrinity<_E>, createTooltipPlugin: (_options?: TooltipPluginOptions | undefined) => Plugin, useTooltip: <_E extends TooltipContext = TooltipContext>(namespace?: string) => _E;
|
|
8100
|
+
//#endregion
|
|
8101
|
+
export { RtlPluginOptions as $, FormTicketInput as $a, createQueueContext as $i, FeatureContextOptions as $n, provideContext as $o, useClickOutside as $r, OverflowOptions as $s, MutationObserverRecord as $t, Vuetify0ThemeOptions as A, NestedTicketInput as Aa, TimelineOptions as Ai, LazyContext as An, DataGridColumnTicket as Ao, KeyboardAdapterOptions as Ar, GroupTicket as As, PermissionContext as At, StackContext as B, SortableMovePayload as Ba, RatingContextOptions as Bi, HydrationContextOptions as Bn, ColumnLayout as Bo, DateContext as Br, createBreadcrumbs as Bs, PermissionsAdapter as Bt, createTheme as C, NestedContext as Ca, VirtualOptions as Ci, LocaleTicket as Cn, isStandardSchema as Co, DropPosition as Cr, StepTicketInput as Cs, ProxyModelOptions as Ct, V0UnheadThemeAdapter as D, NestedRegistration as Da, useVirtual as Di, createLocaleFallback as Dn, createPlugin as Do, ZonesContext as Dr, GroupContext as Ds, UsePresenceOptions as Dt, useTheme as E, NestedOptions as Ea, createVirtualContext as Ei, createLocaleContext as En, PluginOptions as Eo, Orientation as Er, useStep as Es, PresenceState as Et, StoragePluginOptions as F, KanbanOptions as Fa, SliderContext as Fi, UseElementIntersectionReturn as Fn, createDataGrid as Fo, DragDropAdapterEmit as Fr, BreadcrumbTicket as Fs, createPermissions as Ft, StackTicketInput as G, InputContext as Ga, createRatingContext as Gi, createHydrationContext as Gn, ActiveCell as Go, createDateContext as Gr, SingleOptions as Gs, NotificationsContext as Gt, StackOptions as H, SortableTicket as Ha, RatingItemState as Hi, HydrationPluginOptions as Hn, PinPosition as Ho, DateOptions as Hr, useBreadcrumbs as Hs, NotificationSeverity as Ht, createStorage as I, KanbanTransferPayload as Ia, SliderOptions as Ii, UseIntersectionObserverReturn as In, createDataGridContext as Io, UseDelayOptions as Ir, BreadcrumbTicketInput as Is, createPermissionsContext as It, createStackPlugin as J, createInput as Ja, QueueContextOptions as Ji, PlatformContext as Jn, CellEditingRegistry as Jo, ClickOutsideElement as Jr, createSingle as Js, createNotifications as Jt, createStack as K, InputOptions as Ka, useRating as Ki, createHydrationPlugin as Kn, CellEditing as Ko, createDatePlugin as Kr, SingleTicket as Ks, NotificationsOptions as Kt, createStorageContext as L, createKanban as La, SliderTicketInput as Li, useElementIntersection as Ln, useDataGrid as Lo, UseDelayReturn as Lr, BreadcrumbsContext as Ls, createPermissionsPlugin as Lt, StorageContext as M, KanbanColumnTicketInput as Ma, createTimeline as Mi, useLazy as Mn, DataGridContext as Mo, PointerAdapterOptions as Mr, createGroup as Ms, PermissionOptions as Mt, StorageContextOptions as N, KanbanContext as Na, createTimelineContext as Ni, IntersectionObserverEntry as Nn, DataGridContextOptions as No, DragDropAdapter as Nr, createGroupContext as Ns, PermissionPluginOptions as Nt, V0UnheadThemeOptions as O, NestedSelectionMode as Oa, TimelineContext as Oi, createLocalePlugin as On, createPluginContext as Oo, useDragDrop as Or, GroupContextOptions as Os, UsePresenceReturn as Ot, StorageOptions as P, KanbanEventListener as Pa, useTimeline as Pi, IntersectionObserverOptions as Pn, DataGridOptions as Po, DragDropAdapterContext as Pr, useGroup as Ps, PermissionTicket as Pt, RtlOptions as Q, FormTicket as Qa, createQueue as Qi, FeatureContext as Qn, createContext as Qo, UseClickOutsideReturn as Qr, OverflowContextOptions as Qs, NotificationsAdapter as Qt, createStoragePlugin as R, SortableContext as Ra, createSlider as Ri, useIntersectionObserver as Rn, RowSpanningOptions as Ro, UseDelayStartOptions as Rr, BreadcrumbsContextOptions as Rs, usePermissions as Rt, ThemeTicketInput as S, NestedActiveMode as Sa, VirtualItem as Si, LocaleRecord as Sn, StandardSchemaV1 as So, DropIndicator as Sr, StepTicket as Ss, useProxyRegistry as St, createThemePlugin as T, NestedOpenMode as Ta, createVirtual as Ti, createLocale as Tn, PluginContextConfig as To, DropZoneTicketInput as Tr, createStepContext as Ts, useProxyModel as Tt, StackPluginOptions as U, SortableTicketInput as Ua, RatingOptions as Ui, createFallbackHydration as Un, PinnedRegion as Uo, DatePluginOptions as Ur, SingleContext as Us, NotificationTicket as Ut, StackContextOptions as V, SortableOptions as Va, RatingItemDescriptor as Vi, HydrationOptions as Vn, GridColumnDef as Vo, DateContextOptions as Vr, createBreadcrumbsContext as Vs, NotificationInput as Vt, StackTicket as W, createSortable as Wa, createRating as Wi, createHydration as Wn, ResolvedColumn as Wo, createDate as Wr, SingleContextOptions as Ws, NotificationsAdapterContext as Wt, RtlContext as X, FormContextOptions as Xa, QueueTicket as Xi, UseHotkeyReturn as Xn, ContextKey as Xo, ClickOutsideTarget as Xr, useSingle as Xs, createNotificationsPlugin as Xt, useStack as Y, FormContext as Ya, QueueOptions as Yi, UseHotkeyOptions as Yn, EditableColumn as Yo, ClickOutsideIgnoreTarget as Yr, createSingleContext as Ys, createNotificationsContext as Yt, RtlContextOptions as Z, FormOptions as Za, QueueTicketInput as Zi, useHotkey as Zn, CreateContextOptions as Zo, UseClickOutsideOptions as Zr, OverflowContext as Zs, useNotifications as Zt, ThemeContextOptions as _, NumericOptions as _a, ModelTicket as _c, ScrollToOptions as _i, LogLevel as _n, createRules as _o, DragType as _r, PopoverReturn as _s, useResizeObserver as _t, createTooltipContext as a, ProgressTicketInput as aa, UseImageReturn as ac, createBreakpoints as ai, useMediaQuery as an, useForm as ao, createFeaturesContext as ar, useCombobox as as, V0RtlAdapter as at, ThemeRecord as b, createNestedContext as ba, VirtualContextOptions as bi, LocaleOptions as bn, createRulesPlugin as bo, DraggableTicketInput as br, StepContextOptions as bs, ProxyRegistryContext as bt, useTooltip as c, useProgress as ca, SelectionContextOptions as cc, useBreakpoints as ci, usePrefersReducedMotion as cn, ValidationTicket as co, CleanupFunction as cr, ClientComboboxAdapterOptions as cs, RovingFocusOptions as ct, TimerContext as d, OtpPattern as da, SelectionTicketInput as dc, MatchRange as di, LoggerOptions as dn, RuleAlias as do, useEventListener as dr, ComboboxAdapterResult as ds, useRovingFocus as dt, useQueue as ea, createOverflow as ec, BreakpointName as ei, ObservableNodeList as en, FormValidationResult as eo, FeatureOptions as er, useContext as es, createRtl as et, TimerOptions as f, createOtp as fa, createSelection as fc, ToHighlightOptions as fi, LoggerPluginOptions as fn, RuleAliases as fo, useWindowEventListener as fr, VirtualFocusItem as fs, ResizeObserverEntry as ft, ThemeContext as g, NumericContext as ga, ModelOptions as gc, toArray as gi, useLogger as gn, RulesOptions as go, DragDropPlugin as gr, PopoverOptions as gs, useElementSize as gt, ThemeColors as h, createNumberField as ha, ModelContext as hc, toElement as hi, createLoggerPlugin as hn, RulesContextOptions as ho, DragDropOptions as hr, useVirtualFocus as hs, UseResizeObserverReturn as ht, TooltipPluginOptions as i, ProgressTicket as ia, UseImageOptions as ic, BreakpointsPluginOptions as ii, MediaQueryContext as in, createFormContext as io, createFeatures as ir, createComboboxContext as is, useRtl as it, ThemeAdapter as j, KanbanColumnTicket as ja, TimelineTicket as ji, LazyOptions as jn, DataGridColumnTicketInput as jo, PointerAdapter as jr, GroupTicketInput as js, PermissionContextOptions as jt, V0StyleSheetThemeAdapter as k, NestedTicket as ka, TimelineContextOptions as ki, useLocale as kn, DataGridColumn as ko, KeyboardAdapter as kr, GroupOptions as ks, usePresence as kt, ToggleScopeControls as l, OtpContext as la, SelectionOptions as lc, toReactive as li, LoggerContext as ln, ValidationTicketInput as lo, EventHandler as lr, ComboboxAdapter as ls, RovingFocusReturn as lt, Colors as m, NumberFieldOptions as ma, useSelection as mc, MaybeElementRef as mi, createLoggerContext as mn, RulesContext as mo, DragDropContext as mr, VirtualFocusReturn as ms, UseElementSizeReturn as mt, TooltipContextOptions as n, ProgressContextOptions as na, useOverflow as nc, BreakpointsContextOptions as ni, UseMutationObserverReturn as nn, FormValue as no, FeatureTicket as nr, ComboboxOptions as ns, createRtlFallback as nt, createTooltipFallback as o, createProgress as oa, useImage as oc, createBreakpointsContext as oi, usePrefersContrast as on, ValidationContext as oo, createFeaturesPlugin as or, ServerComboboxAdapter as os, RtlAdapter as ot, useTimer as p, NumberFieldContext as pa, createSelectionContext as pc, toHighlight as pi, createLogger as pn, RuleInput as po, ActiveDrag as pr, VirtualFocusOptions as ps, ResizeObserverOptions as pt, createStackContext as q, InputState as qa, QueueContext as qi, useHydration as qn, CellEditingOptions as qo, useDate as qr, SingleTicketInput as qs, NotificationsPluginOptions as qt, TooltipOptions as r, ProgressOptions as ra, ImageStatus as rc, BreakpointsOptions as ri, useMutationObserver as rn, createForm as ro, FeatureTicketInput as rr, createCombobox as rs, createRtlPlugin as rt, createTooltipPlugin as s, createProgressContext as sa, SelectionContext as sc, createBreakpointsPlugin as si, usePrefersDark as sn, ValidationOptions as so, useFeatures as sr, ClientComboboxAdapter as ss, RtlAdapterSetupContext as st, TooltipContext as t, ProgressContext as ta, createOverflowContext as tc, BreakpointsContext as ti, UseMutationObserverOptions as tn, FormValidationRule as to, FeaturePluginOptions as tr, ComboboxContext as ts, createRtlContext as tt, useToggleScope as u, OtpOptions as ua, SelectionTicket as uc, HighlightChunk as ui, LoggerContextOptions as un, createValidation as uo, useDocumentEventListener as ur, ComboboxAdapterContext as us, RovingItem as ut, ThemeOptions as v, createNumeric as va, ModelTicketInput as vc, VirtualAnchor as vi, LocaleContext as vn, createRulesContext as vo, DragVia as vr, usePopover as vs, UseRafReturn as vt, createThemeContext as w, NestedContextOptions as wa, VirtualState as wi, LocaleTicketInput as wn, Plugin as wo, DropZoneTicket as wr, createStep as ws, ProxyModelTarget as wt, ThemeTicket as x, useNested as xa, VirtualDirection as xi, LocalePluginOptions as xn, useRules as xo, DraggablesContext as xr, StepOptions as xs, ProxyRegistryOptions as xt, ThemePluginOptions as y, createNested as ya, createModel as yc, VirtualContext as yi, LocaleContextOptions as yn, createRulesFallback as yo, DraggableTicket as yr, StepContext as ys, useRaf as yt, useStorage as z, SortableEventListener as za, RatingContext as zi, HydrationContext as zn, SpanEntry as zo, useDelay as zr, BreadcrumbsOptions as zs, V0PermissionsAdapter as zt };
|