@vuetify/v0 0.0.24 → 0.1.1
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 +2 -2
- package/dist/browser/index.js +165 -66
- package/dist/components/index.d.mts +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/{components-D_yAxHwn.mjs → components-BOipMGkD.mjs} +11 -6
- package/dist/composables/index.d.mts +4 -4
- package/dist/composables/index.mjs +3 -3
- package/dist/constants/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/{globals-BhNI7no7.mjs → globals-qE_M6ZhX.mjs} +1 -1
- package/dist/{index-OghXharF.d.mts → index-Bx6Ke-u_.d.mts} +291 -264
- package/dist/{index-kvJsAOSg.d.mts → index-CoO8LW8o.d.mts} +1 -1
- package/dist/{index-ZW2YLa57.d.mts → index-DlxrzbvZ.d.mts} +15 -14
- package/dist/{index-isYKpbs6.d.mts → index-DmNXO254.d.mts} +239 -73
- package/dist/{index-DknfL2GU.d.mts → index-qSuLpob3.d.mts} +226 -45
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +4 -4
- package/dist/json/attributes.json +5 -1
- package/dist/json/tags.json +1 -0
- package/dist/json/web-types.json +12 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/{useClickOutside-w-Y2QxHh.mjs → useClickOutside-DcrXfUVx.mjs} +156 -62
- package/dist/utilities/index.d.mts +2 -2
- package/package.json +19 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as ID } from "./index-DlxrzbvZ.mjs";
|
|
2
2
|
import { App, ComputedRef, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowRef } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/createTrinity/index.d.ts
|
|
@@ -583,6 +583,24 @@ interface RegistryOptions {
|
|
|
583
583
|
* ```
|
|
584
584
|
*/
|
|
585
585
|
events?: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* Enable reactive behavior for registry operations
|
|
588
|
+
*
|
|
589
|
+
* @default false
|
|
590
|
+
* @remarks When enabled, the registry will use Vue's shallowReactive to track changes. This is useful for scenarios where you want to reactively update the registry state in response to changes.
|
|
591
|
+
*
|
|
592
|
+
* @example
|
|
593
|
+
* ```ts
|
|
594
|
+
* import { createRegistry } from '@vuetify/v0'
|
|
595
|
+
*
|
|
596
|
+
* const registry = createRegistry({ reactive: true })
|
|
597
|
+
*
|
|
598
|
+
* registry.register({ id: 'ticket-id' })
|
|
599
|
+
*
|
|
600
|
+
* console.log(registry.size) // 1
|
|
601
|
+
* ```
|
|
602
|
+
*/
|
|
603
|
+
reactive?: boolean;
|
|
586
604
|
}
|
|
587
605
|
interface RegistryContextOptions extends RegistryOptions {
|
|
588
606
|
namespace?: string;
|
|
@@ -642,8 +660,44 @@ declare function createRegistry<Z extends RegistryTicket = RegistryTicket, E ext
|
|
|
642
660
|
declare function createRegistryContext<Z extends RegistryTicket = RegistryTicket, E extends RegistryContext<Z> = RegistryContext<Z>>(_options?: RegistryContextOptions): ContextTrinity<E>;
|
|
643
661
|
//#endregion
|
|
644
662
|
//#region src/composables/createSelection/index.d.ts
|
|
645
|
-
|
|
646
|
-
|
|
663
|
+
/**
|
|
664
|
+
* Input type for selection tickets - what users provide to register().
|
|
665
|
+
* Custom ticket types should extend this interface.
|
|
666
|
+
*
|
|
667
|
+
* @template V The type of the ticket value.
|
|
668
|
+
*
|
|
669
|
+
* @example
|
|
670
|
+
* ```ts
|
|
671
|
+
* interface MyTicket extends SelectionTicketInput {
|
|
672
|
+
* label: string
|
|
673
|
+
* disabled?: boolean
|
|
674
|
+
* metadata?: Record<string, unknown>
|
|
675
|
+
* }
|
|
676
|
+
*
|
|
677
|
+
* const selection = createSelection<MyTicket>()
|
|
678
|
+
* selection.register({ label: 'Item 1' })
|
|
679
|
+
* ```
|
|
680
|
+
*/
|
|
681
|
+
interface SelectionTicketInput<V = unknown> extends RegistryTicket<V> {
|
|
682
|
+
/** Disabled state of the ticket (optional on input, defaults to false) */
|
|
683
|
+
disabled?: MaybeRef<boolean>;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Output type for selection tickets - what users receive from get().
|
|
687
|
+
* Includes registry-added methods for self-selection.
|
|
688
|
+
*
|
|
689
|
+
* @template Z The input ticket type that extends SelectionTicketInput.
|
|
690
|
+
*
|
|
691
|
+
* @remarks
|
|
692
|
+
* The following properties are automatically added by the registry:
|
|
693
|
+
* - `disabled` - Defaults to `false` if not provided
|
|
694
|
+
* - `isSelected` - Reactive boolean indicating selection state
|
|
695
|
+
* - `select()` - Method to select this ticket
|
|
696
|
+
* - `unselect()` - Method to unselect this ticket
|
|
697
|
+
* - `toggle()` - Method to toggle selection state
|
|
698
|
+
*/
|
|
699
|
+
type SelectionTicket<Z extends SelectionTicketInput = SelectionTicketInput> = Z & {
|
|
700
|
+
/** Disabled state of the ticket (guaranteed to exist on output) */
|
|
647
701
|
disabled: MaybeRef<boolean>;
|
|
648
702
|
/** Whether the ticket is currently selected */
|
|
649
703
|
isSelected: Readonly<Ref<boolean, boolean>>;
|
|
@@ -653,12 +707,18 @@ interface SelectionTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
653
707
|
unselect: () => void;
|
|
654
708
|
/** Toggle self on and off */
|
|
655
709
|
toggle: () => void;
|
|
656
|
-
}
|
|
657
|
-
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Context returned by createSelection.
|
|
713
|
+
*
|
|
714
|
+
* @template Z The input ticket type (what users provide to register).
|
|
715
|
+
* @template E The output ticket type (what users receive from get). Defaults to SelectionTicket<Z>.
|
|
716
|
+
*/
|
|
717
|
+
interface SelectionContext<Z extends SelectionTicketInput = SelectionTicketInput, E extends SelectionTicket<Z> = SelectionTicket<Z>> extends Omit<RegistryContext<E>, 'register' | 'onboard'> {
|
|
658
718
|
/** Set of selected ticket IDs */
|
|
659
719
|
selectedIds: Reactive<Set<ID>>;
|
|
660
720
|
/** Set of selected ticket instances */
|
|
661
|
-
selectedItems: ComputedRef<Set<
|
|
721
|
+
selectedItems: ComputedRef<Set<E>>;
|
|
662
722
|
/** Set of selected ticket values */
|
|
663
723
|
selectedValues: ComputedRef<Set<unknown>>;
|
|
664
724
|
/** Disable state for the entire selection instance */
|
|
@@ -675,24 +735,28 @@ interface SelectionContext<Z extends SelectionTicket> extends RegistryContext<Z>
|
|
|
675
735
|
selected: (id: ID) => boolean;
|
|
676
736
|
/** Mandates selected ID based on "mandatory" Option */
|
|
677
737
|
mandate: () => void;
|
|
738
|
+
/** Register a new ticket (accepts input type, returns output type) */
|
|
739
|
+
register: (ticket?: Partial<Z>) => E;
|
|
740
|
+
/** Onboard multiple tickets at once */
|
|
741
|
+
onboard: (registrations: Partial<Z>[]) => E[];
|
|
678
742
|
}
|
|
679
743
|
interface SelectionOptions extends RegistryOptions {
|
|
680
744
|
/** When true, the entire selection instance is disabled. */
|
|
681
|
-
disabled?:
|
|
745
|
+
disabled?: MaybeRefOrGetter<boolean>;
|
|
682
746
|
/**
|
|
683
747
|
* When true, newly registered items are automatically selected if not disabled.
|
|
684
748
|
* Useful for pre-selecting items in multi-select scenarios.
|
|
685
749
|
*/
|
|
686
|
-
enroll?: boolean
|
|
750
|
+
enroll?: MaybeRefOrGetter<boolean>;
|
|
687
751
|
/**
|
|
688
752
|
* Controls mandatory selection behavior:
|
|
689
753
|
* - `false` (default): No mandatory selection enforcement
|
|
690
754
|
* - `true`: Prevents deselecting the last selected item (user must always have one selected)
|
|
691
755
|
* - `'force'`: Automatically selects the first non-disabled item on registration
|
|
692
756
|
*/
|
|
693
|
-
mandatory?: boolean | 'force'
|
|
757
|
+
mandatory?: MaybeRefOrGetter<boolean | 'force'>;
|
|
694
758
|
/** When true, treats the selection as an array */
|
|
695
|
-
multiple?: boolean
|
|
759
|
+
multiple?: MaybeRefOrGetter<boolean>;
|
|
696
760
|
}
|
|
697
761
|
interface SelectionContextOptions extends SelectionOptions {
|
|
698
762
|
namespace?: string;
|
|
@@ -704,8 +768,9 @@ interface SelectionContextOptions extends SelectionOptions {
|
|
|
704
768
|
* Supports disabled items, mandatory selection enforcement, and auto-enrollment.
|
|
705
769
|
*
|
|
706
770
|
* @param options The options for the selection instance.
|
|
707
|
-
* @template Z The type
|
|
708
|
-
* @template E The type
|
|
771
|
+
* @template Z The input ticket type - what users provide to register(). Extend SelectionTicketInput to add custom properties.
|
|
772
|
+
* @template E The output ticket type - what users receive from get(). Automatically includes selection methods.
|
|
773
|
+
* @template R The context type. Defaults to SelectionContext<Z, E>.
|
|
709
774
|
* @returns A new selection instance with selection management methods.
|
|
710
775
|
*
|
|
711
776
|
* @remarks
|
|
@@ -728,6 +793,7 @@ interface SelectionContextOptions extends SelectionOptions {
|
|
|
728
793
|
* ```ts
|
|
729
794
|
* import { createSelection } from '@vuetify/v0'
|
|
730
795
|
*
|
|
796
|
+
* // Basic usage
|
|
731
797
|
* const selection = createSelection({ mandatory: true })
|
|
732
798
|
*
|
|
733
799
|
* selection.onboard([
|
|
@@ -742,14 +808,32 @@ interface SelectionContextOptions extends SelectionOptions {
|
|
|
742
808
|
* console.log(selection.selectedIds) // Set { 'item-1', 'item-3' }
|
|
743
809
|
* console.log(Array.from(selection.selectedValues.value)) // ['Item 1', 'Item 3']
|
|
744
810
|
* ```
|
|
811
|
+
*
|
|
812
|
+
* @example
|
|
813
|
+
* ```ts
|
|
814
|
+
* // With custom ticket type
|
|
815
|
+
* interface MyTicket extends SelectionTicketInput {
|
|
816
|
+
* label: string
|
|
817
|
+
* icon?: string
|
|
818
|
+
* }
|
|
819
|
+
*
|
|
820
|
+
* const tabs = createSelection<MyTicket>()
|
|
821
|
+
*
|
|
822
|
+
* tabs.register({ label: 'Home', icon: 'mdi-home' })
|
|
823
|
+
* tabs.register({ label: 'Settings' })
|
|
824
|
+
*
|
|
825
|
+
* const ticket = tabs.get('...')
|
|
826
|
+
* // ticket has: label, icon, isSelected, select(), unselect(), toggle()
|
|
827
|
+
* ```
|
|
745
828
|
*/
|
|
746
|
-
declare function createSelection<Z extends
|
|
829
|
+
declare function createSelection<Z extends SelectionTicketInput = SelectionTicketInput, E extends SelectionTicket<Z> = SelectionTicket<Z>, R extends SelectionContext<Z, E> = SelectionContext<Z, E>>(_options?: SelectionOptions): R;
|
|
747
830
|
/**
|
|
748
831
|
* Creates a new selection context.
|
|
749
832
|
*
|
|
750
833
|
* @param options The options for the selection context.
|
|
751
|
-
* @template Z The type
|
|
752
|
-
* @template E The type
|
|
834
|
+
* @template Z The input ticket type - what users provide to register().
|
|
835
|
+
* @template E The output ticket type - what users receive from get().
|
|
836
|
+
* @template R The context type. Defaults to SelectionContext<Z, E>.
|
|
753
837
|
* @returns A new selection context.
|
|
754
838
|
*
|
|
755
839
|
* @see https://0.vuetifyjs.com/composables/selection/use-selection
|
|
@@ -771,12 +855,26 @@ declare function createSelection<Z extends SelectionTicket = SelectionTicket, E
|
|
|
771
855
|
* const checkboxes = useCheckboxes()
|
|
772
856
|
* checkboxes.select('checkbox-1')
|
|
773
857
|
* ```
|
|
858
|
+
*
|
|
859
|
+
* @example
|
|
860
|
+
* ```ts
|
|
861
|
+
* // With custom ticket type
|
|
862
|
+
* interface TabTicket extends SelectionTicketInput {
|
|
863
|
+
* label: string
|
|
864
|
+
* icon?: string
|
|
865
|
+
* }
|
|
866
|
+
*
|
|
867
|
+
* export const [useTabs, provideTabs, tabs] = createSelectionContext<TabTicket>()
|
|
868
|
+
* ```
|
|
774
869
|
*/
|
|
775
|
-
declare function createSelectionContext<Z extends
|
|
870
|
+
declare function createSelectionContext<Z extends SelectionTicketInput = SelectionTicketInput, E extends SelectionTicket<Z> = SelectionTicket<Z>, R extends SelectionContext<Z, E> = SelectionContext<Z, E>>(_options?: SelectionContextOptions): ContextTrinity<R>;
|
|
776
871
|
/**
|
|
777
872
|
* Returns the current selection instance.
|
|
778
873
|
*
|
|
779
874
|
* @param namespace The namespace for the selection context. Defaults to `'v0:selection'`.
|
|
875
|
+
* @template Z The input ticket type.
|
|
876
|
+
* @template E The output ticket type.
|
|
877
|
+
* @template R The context type.
|
|
780
878
|
* @returns The current selection instance.
|
|
781
879
|
*
|
|
782
880
|
* @see https://0.vuetifyjs.com/composables/selection/use-selection
|
|
@@ -796,20 +894,36 @@ declare function createSelectionContext<Z extends SelectionTicket = SelectionTic
|
|
|
796
894
|
* </template>
|
|
797
895
|
* ```
|
|
798
896
|
*/
|
|
799
|
-
declare function useSelection<Z extends
|
|
897
|
+
declare function useSelection<Z extends SelectionTicketInput = SelectionTicketInput, E extends SelectionTicket<Z> = SelectionTicket<Z>, R extends SelectionContext<Z, E> = SelectionContext<Z, E>>(namespace?: string): R;
|
|
800
898
|
//#endregion
|
|
801
899
|
//#region src/composables/createGroup/index.d.ts
|
|
802
|
-
|
|
900
|
+
/**
|
|
901
|
+
* Input type for group tickets.
|
|
902
|
+
* Extend this interface to add custom properties.
|
|
903
|
+
*/
|
|
904
|
+
interface GroupTicketInput<V = unknown> extends SelectionTicketInput<V> {
|
|
803
905
|
/** Whether the ticket should start in mixed/indeterminate state */
|
|
804
906
|
indeterminate?: MaybeRef<boolean>;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Output type for group tickets.
|
|
910
|
+
* Includes all input properties plus selection and tri-state methods.
|
|
911
|
+
*/
|
|
912
|
+
type GroupTicket<Z extends GroupTicketInput = GroupTicketInput> = SelectionTicket<Z> & {
|
|
805
913
|
/** Whether the ticket is in a mixed/indeterminate state */
|
|
806
914
|
isMixed: Readonly<Ref<boolean>>;
|
|
807
915
|
/** Set self to mixed/indeterminate state */
|
|
808
916
|
mix: () => void;
|
|
809
917
|
/** Clear mixed/indeterminate state from self */
|
|
810
918
|
unmix: () => void;
|
|
811
|
-
}
|
|
812
|
-
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* Context returned by createGroup.
|
|
922
|
+
*
|
|
923
|
+
* @template Z The input ticket type.
|
|
924
|
+
* @template E The output ticket type.
|
|
925
|
+
*/
|
|
926
|
+
interface GroupContext<Z extends GroupTicketInput = GroupTicketInput, E extends GroupTicket<Z> = GroupTicket<Z>> extends Omit<SelectionContext<Z, E>, 'register' | 'onboard' | 'select' | 'unselect' | 'toggle'> {
|
|
813
927
|
selectedIndexes: ComputedRef<Set<number>>;
|
|
814
928
|
/** Select one or more Tickets by ID */
|
|
815
929
|
select: (ids: ID | ID[]) => void;
|
|
@@ -820,7 +934,7 @@ interface GroupContext<Z extends GroupTicket> extends SelectionContext<Z> {
|
|
|
820
934
|
/** Set of mixed/indeterminate ticket IDs */
|
|
821
935
|
mixedIds: Reactive<Set<ID>>;
|
|
822
936
|
/** Set of mixed/indeterminate ticket instances */
|
|
823
|
-
mixedItems: ComputedRef<Set<
|
|
937
|
+
mixedItems: ComputedRef<Set<E>>;
|
|
824
938
|
/** Set one or more Tickets to mixed/indeterminate state by ID */
|
|
825
939
|
mix: (ids: ID | ID[]) => void;
|
|
826
940
|
/** Clear mixed/indeterminate state from one or more Tickets by ID */
|
|
@@ -839,6 +953,10 @@ interface GroupContext<Z extends GroupTicket> extends SelectionContext<Z> {
|
|
|
839
953
|
unselectAll: () => void;
|
|
840
954
|
/** Toggle between all selected and none selected */
|
|
841
955
|
toggleAll: () => void;
|
|
956
|
+
/** Register a new ticket (accepts input type, returns output type) */
|
|
957
|
+
register: (ticket?: Partial<Z>) => E;
|
|
958
|
+
/** Onboard multiple tickets at once */
|
|
959
|
+
onboard: (registrations: Partial<Z>[]) => E[];
|
|
842
960
|
}
|
|
843
961
|
interface GroupOptions extends SelectionOptions {}
|
|
844
962
|
interface GroupContextOptions extends SelectionContextOptions {}
|
|
@@ -915,13 +1033,14 @@ interface GroupContextOptions extends SelectionContextOptions {}
|
|
|
915
1033
|
* console.log(checkboxes.mixedIds) // Set {} (cleared)
|
|
916
1034
|
* ```
|
|
917
1035
|
*/
|
|
918
|
-
declare function createGroup<Z extends
|
|
1036
|
+
declare function createGroup<Z extends GroupTicketInput = GroupTicketInput, E extends GroupTicket<Z> = GroupTicket<Z>, R extends GroupContext<Z, E> = GroupContext<Z, E>>(_options?: GroupOptions): R;
|
|
919
1037
|
/**
|
|
920
1038
|
* Creates a new group context.
|
|
921
1039
|
*
|
|
922
1040
|
* @param options The options for the group context.
|
|
923
|
-
* @template Z The
|
|
924
|
-
* @template E The
|
|
1041
|
+
* @template Z The input ticket type.
|
|
1042
|
+
* @template E The output ticket type.
|
|
1043
|
+
* @template R The context type.
|
|
925
1044
|
* @returns A new group context.
|
|
926
1045
|
*
|
|
927
1046
|
* @see https://0.vuetifyjs.com/composables/selection/use-group
|
|
@@ -943,11 +1062,14 @@ declare function createGroup<Z extends GroupTicket = GroupTicket, E extends Grou
|
|
|
943
1062
|
* const group = useMyGroup()
|
|
944
1063
|
* ```
|
|
945
1064
|
*/
|
|
946
|
-
declare function createGroupContext<Z extends
|
|
1065
|
+
declare function createGroupContext<Z extends GroupTicketInput = GroupTicketInput, E extends GroupTicket<Z> = GroupTicket<Z>, R extends GroupContext<Z, E> = GroupContext<Z, E>>(_options?: GroupContextOptions): ContextTrinity<R>;
|
|
947
1066
|
/**
|
|
948
1067
|
* Returns the current group instance.
|
|
949
1068
|
*
|
|
950
1069
|
* @param namespace The namespace for the group context. Defaults to `'v0:group'`.
|
|
1070
|
+
* @template Z The input ticket type.
|
|
1071
|
+
* @template E The output ticket type.
|
|
1072
|
+
* @template R The context type.
|
|
951
1073
|
* @returns The current group instance.
|
|
952
1074
|
*
|
|
953
1075
|
* @see https://0.vuetifyjs.com/composables/selection/use-group
|
|
@@ -967,7 +1089,7 @@ declare function createGroupContext<Z extends GroupTicket = GroupTicket, E exten
|
|
|
967
1089
|
* </template>
|
|
968
1090
|
* ```
|
|
969
1091
|
*/
|
|
970
|
-
declare function useGroup<Z extends
|
|
1092
|
+
declare function useGroup<Z extends GroupTicketInput = GroupTicketInput, E extends GroupTicket<Z> = GroupTicket<Z>, R extends GroupContext<Z, E> = GroupContext<Z, E>>(namespace?: string): R;
|
|
971
1093
|
//#endregion
|
|
972
1094
|
//#region src/composables/usePagination/index.d.ts
|
|
973
1095
|
type PaginationTicket = {
|
|
@@ -1096,12 +1218,31 @@ declare function createPaginationContext(_options?: PaginationContextOptions): C
|
|
|
1096
1218
|
declare function usePagination(namespace?: string): PaginationContext;
|
|
1097
1219
|
//#endregion
|
|
1098
1220
|
//#region src/composables/createSingle/index.d.ts
|
|
1099
|
-
|
|
1100
|
-
|
|
1221
|
+
/**
|
|
1222
|
+
* Input type for single selection tickets.
|
|
1223
|
+
* Extend this interface to add custom properties.
|
|
1224
|
+
*/
|
|
1225
|
+
interface SingleTicketInput<V = unknown> extends SelectionTicketInput<V> {}
|
|
1226
|
+
/**
|
|
1227
|
+
* Output type for single selection tickets.
|
|
1228
|
+
* Includes all input properties plus selection methods.
|
|
1229
|
+
*/
|
|
1230
|
+
type SingleTicket<Z extends SingleTicketInput = SingleTicketInput> = SelectionTicket<Z>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Context returned by createSingle.
|
|
1233
|
+
*
|
|
1234
|
+
* @template Z The input ticket type.
|
|
1235
|
+
* @template E The output ticket type.
|
|
1236
|
+
*/
|
|
1237
|
+
interface SingleContext<Z extends SingleTicketInput = SingleTicketInput, E extends SingleTicket<Z> = SingleTicket<Z>> extends Omit<SelectionContext<Z, E>, 'register' | 'onboard'> {
|
|
1101
1238
|
selectedId: ComputedRef<ID | undefined>;
|
|
1102
1239
|
selectedIndex: ComputedRef<number>;
|
|
1103
|
-
selectedItem: ComputedRef<
|
|
1104
|
-
selectedValue: ComputedRef<
|
|
1240
|
+
selectedItem: ComputedRef<E | undefined>;
|
|
1241
|
+
selectedValue: ComputedRef<E['value'] | undefined>;
|
|
1242
|
+
/** Register a new ticket (accepts input type, returns output type) */
|
|
1243
|
+
register: (ticket?: Partial<Z>) => E;
|
|
1244
|
+
/** Onboard multiple tickets at once */
|
|
1245
|
+
onboard: (registrations: Partial<Z>[]) => E[];
|
|
1105
1246
|
}
|
|
1106
1247
|
interface SingleOptions extends SelectionOptions {}
|
|
1107
1248
|
interface SingleContextOptions extends SelectionContextOptions {}
|
|
@@ -1112,8 +1253,9 @@ interface SingleContextOptions extends SelectionContextOptions {}
|
|
|
1112
1253
|
* Adds computed singular properties: `selectedId`, `selectedItem`, `selectedIndex`, `selectedValue`.
|
|
1113
1254
|
*
|
|
1114
1255
|
* @param options The options for the single selection instance.
|
|
1115
|
-
* @template Z The type
|
|
1116
|
-
* @template E The type
|
|
1256
|
+
* @template Z The input ticket type - what users provide to register().
|
|
1257
|
+
* @template E The output ticket type - what users receive from get().
|
|
1258
|
+
* @template R The context type.
|
|
1117
1259
|
* @returns A new single selection instance with single-selection enforcement.
|
|
1118
1260
|
*
|
|
1119
1261
|
* @remarks
|
|
@@ -1154,14 +1296,27 @@ interface SingleContextOptions extends SelectionContextOptions {}
|
|
|
1154
1296
|
* console.log(tabs.selectedId.value) // 'about'
|
|
1155
1297
|
* console.log(tabs.selectedIds.size) // 1 (always enforces single selection)
|
|
1156
1298
|
* ```
|
|
1299
|
+
*
|
|
1300
|
+
* @example
|
|
1301
|
+
* ```ts
|
|
1302
|
+
* // With custom ticket type
|
|
1303
|
+
* interface TabTicket extends SingleTicketInput {
|
|
1304
|
+
* label: string
|
|
1305
|
+
* icon?: string
|
|
1306
|
+
* }
|
|
1307
|
+
*
|
|
1308
|
+
* const tabs = createSingle<TabTicket>()
|
|
1309
|
+
* tabs.register({ label: 'Home', icon: 'mdi-home' })
|
|
1310
|
+
* ```
|
|
1157
1311
|
*/
|
|
1158
|
-
declare function createSingle<Z extends
|
|
1312
|
+
declare function createSingle<Z extends SingleTicketInput = SingleTicketInput, E extends SingleTicket<Z> = SingleTicket<Z>, R extends SingleContext<Z, E> = SingleContext<Z, E>>(_options?: SingleOptions): R;
|
|
1159
1313
|
/**
|
|
1160
1314
|
* Creates a new single selection context.
|
|
1161
1315
|
*
|
|
1162
1316
|
* @param options The options for the single selection context.
|
|
1163
|
-
* @template Z The
|
|
1164
|
-
* @template E The
|
|
1317
|
+
* @template Z The input ticket type.
|
|
1318
|
+
* @template E The output ticket type.
|
|
1319
|
+
* @template R The context type.
|
|
1165
1320
|
* @returns A new single selection context.
|
|
1166
1321
|
*
|
|
1167
1322
|
* @see https://0.vuetifyjs.com/composables/selection/use-single
|
|
@@ -1181,11 +1336,14 @@ declare function createSingle<Z extends SingleTicket = SingleTicket, E extends S
|
|
|
1181
1336
|
* single.select('tab-1')
|
|
1182
1337
|
* ```
|
|
1183
1338
|
*/
|
|
1184
|
-
declare function createSingleContext<Z extends
|
|
1339
|
+
declare function createSingleContext<Z extends SingleTicketInput = SingleTicketInput, E extends SingleTicket<Z> = SingleTicket<Z>, R extends SingleContext<Z, E> = SingleContext<Z, E>>(_options?: SingleContextOptions): ContextTrinity<R>;
|
|
1185
1340
|
/**
|
|
1186
1341
|
* Returns the current single selection instance.
|
|
1187
1342
|
*
|
|
1188
1343
|
* @param namespace The namespace for the single selection context. Defaults to `'v0:single'`.
|
|
1344
|
+
* @template Z The input ticket type.
|
|
1345
|
+
* @template E The output ticket type.
|
|
1346
|
+
* @template R The context type.
|
|
1189
1347
|
* @returns The current single selection instance.
|
|
1190
1348
|
*
|
|
1191
1349
|
* @see https://0.vuetifyjs.com/composables/selection/use-single
|
|
@@ -1205,11 +1363,26 @@ declare function createSingleContext<Z extends SingleTicket = SingleTicket, E ex
|
|
|
1205
1363
|
* </template>
|
|
1206
1364
|
* ```
|
|
1207
1365
|
*/
|
|
1208
|
-
declare function useSingle<Z extends
|
|
1366
|
+
declare function useSingle<Z extends SingleTicketInput = SingleTicketInput, E extends SingleTicket<Z> = SingleTicket<Z>, R extends SingleContext<Z, E> = SingleContext<Z, E>>(namespace?: string): R;
|
|
1209
1367
|
//#endregion
|
|
1210
1368
|
//#region src/composables/createStep/index.d.ts
|
|
1211
|
-
|
|
1212
|
-
|
|
1369
|
+
/**
|
|
1370
|
+
* Input type for step tickets.
|
|
1371
|
+
* Extend this interface to add custom properties.
|
|
1372
|
+
*/
|
|
1373
|
+
interface StepTicketInput<V = unknown> extends SingleTicketInput<V> {}
|
|
1374
|
+
/**
|
|
1375
|
+
* Output type for step tickets.
|
|
1376
|
+
* Includes all input properties plus selection methods.
|
|
1377
|
+
*/
|
|
1378
|
+
type StepTicket<Z extends StepTicketInput = StepTicketInput> = SingleTicket<Z>;
|
|
1379
|
+
/**
|
|
1380
|
+
* Context returned by createStep.
|
|
1381
|
+
*
|
|
1382
|
+
* @template Z The input ticket type.
|
|
1383
|
+
* @template E The output ticket type.
|
|
1384
|
+
*/
|
|
1385
|
+
interface StepContext<Z extends StepTicketInput = StepTicketInput, E extends StepTicket<Z> = StepTicket<Z>> extends Omit<SingleContext<Z, E>, 'register' | 'onboard'> {
|
|
1213
1386
|
/** Select the first Ticket in the collection */
|
|
1214
1387
|
first: () => void;
|
|
1215
1388
|
/** Select the last Ticket in the collection */
|
|
@@ -1220,6 +1393,10 @@ interface StepContext<Z extends StepTicket> extends SingleContext<Z> {
|
|
|
1220
1393
|
prev: () => void;
|
|
1221
1394
|
/** Step through the collection by a given count */
|
|
1222
1395
|
step: (count: number) => void;
|
|
1396
|
+
/** Register a new ticket (accepts input type, returns output type) */
|
|
1397
|
+
register: (ticket?: Partial<Z>) => E;
|
|
1398
|
+
/** Onboard multiple tickets at once */
|
|
1399
|
+
onboard: (registrations: Partial<Z>[]) => E[];
|
|
1223
1400
|
}
|
|
1224
1401
|
interface StepOptions extends SingleOptions {
|
|
1225
1402
|
/**
|
|
@@ -1307,13 +1484,14 @@ interface StepContextOptions extends SingleContextOptions {
|
|
|
1307
1484
|
* carousel.next() // Wraps to 'slide-1'
|
|
1308
1485
|
* ```
|
|
1309
1486
|
*/
|
|
1310
|
-
declare function createStep<Z extends
|
|
1487
|
+
declare function createStep<Z extends StepTicketInput = StepTicketInput, E extends StepTicket<Z> = StepTicket<Z>, R extends StepContext<Z, E> = StepContext<Z, E>>(_options?: StepOptions): R;
|
|
1311
1488
|
/**
|
|
1312
1489
|
* Creates a new step context.
|
|
1313
1490
|
*
|
|
1314
1491
|
* @param options The options for the step context.
|
|
1315
|
-
* @template Z The
|
|
1316
|
-
* @template E The
|
|
1492
|
+
* @template Z The input ticket type.
|
|
1493
|
+
* @template E The output ticket type.
|
|
1494
|
+
* @template R The context type.
|
|
1317
1495
|
* @returns A new step context.
|
|
1318
1496
|
*
|
|
1319
1497
|
* @see https://0.vuetifyjs.com/composables/selection/use-step
|
|
@@ -1333,11 +1511,14 @@ declare function createStep<Z extends StepTicket = StepTicket, E extends StepCon
|
|
|
1333
1511
|
* context.next() // Progress to next step
|
|
1334
1512
|
* ```
|
|
1335
1513
|
*/
|
|
1336
|
-
declare function createStepContext<Z extends
|
|
1514
|
+
declare function createStepContext<Z extends StepTicketInput = StepTicketInput, E extends StepTicket<Z> = StepTicket<Z>, R extends StepContext<Z, E> = StepContext<Z, E>>(_options?: StepContextOptions): ContextTrinity<R>;
|
|
1337
1515
|
/**
|
|
1338
1516
|
* Returns the current step instance.
|
|
1339
1517
|
*
|
|
1340
1518
|
* @param namespace The namespace for the step context. Defaults to `'v0:step'`.
|
|
1519
|
+
* @template Z The input ticket type.
|
|
1520
|
+
* @template E The output ticket type.
|
|
1521
|
+
* @template R The context type.
|
|
1341
1522
|
* @returns The current step instance.
|
|
1342
1523
|
*
|
|
1343
1524
|
* @see https://0.vuetifyjs.com/composables/selection/use-step
|
|
@@ -1358,6 +1539,6 @@ declare function createStepContext<Z extends StepTicket = StepTicket, E extends
|
|
|
1358
1539
|
* </template>
|
|
1359
1540
|
* ```
|
|
1360
1541
|
*/
|
|
1361
|
-
declare function useStep<Z extends
|
|
1542
|
+
declare function useStep<Z extends StepTicketInput = StepTicketInput, E extends StepTicket<Z> = StepTicket<Z>, R extends StepContext<Z, E> = StepContext<Z, E>>(namespace?: string): R;
|
|
1362
1543
|
//#endregion
|
|
1363
|
-
export {
|
|
1544
|
+
export { createGroupContext as A, RegistryContext as B, usePagination as C, GroupTicket as D, GroupOptions as E, SelectionTicket as F, createRegistry as G, RegistryEventCallback as H, SelectionTicketInput as I, createTrinity as J, createRegistryContext as K, createSelection as L, SelectionContext as M, SelectionContextOptions as N, GroupTicketInput as O, SelectionOptions as P, createSelectionContext as R, createPaginationContext as S, GroupContextOptions as T, RegistryOptions as U, RegistryContextOptions as V, RegistryTicket as W, PaginationContext as _, StepTicketInput as a, PaginationTicket as b, useStep as c, SingleOptions as d, SingleTicket as f, useSingle as g, createSingleContext as h, StepTicket as i, useGroup as j, createGroup as k, SingleContext as l, createSingle as m, StepContextOptions as n, createStep as o, SingleTicketInput as p, ContextTrinity as q, StepOptions as r, createStepContext as s, StepContext as t, SingleContextOptions as u, PaginationContextOptions as v, GroupContext as w, createPagination as x, PaginationOptions as y, useSelection as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { $ as RadioRootSlotProps, $n as
|
|
3
|
-
import { A as
|
|
4
|
-
import { $ as
|
|
1
|
+
import "./index-DlxrzbvZ.mjs";
|
|
2
|
+
import { $ as RadioRootSlotProps, $n as DialogContext, $t as providePaginationControls, A as SingleItemProps, An as ExpansionPanelOptionsContext, Ar as AvatarImageEmits, At as PaginationStatusSlotProps, B as SelectionItemSlotProps, Bn as DialogDescriptionProps, Br as AtomExpose, Bt as _default$22, C as _default$41, Cn as _default$17, Cr as _default$4, Ct as PopoverRootProps, D as provideStepRoot, Dn as _default$18, Dr as AvatarFallbackProps, Dt as usePopoverContext, E as _default$42, En as ExpansionPanelItemSlotProps, Er as Avatar, Et as providePopoverContext, F as _default$40, Fn as useExpansionPanelRoot, Fr as AvatarRootProps, Ft as PaginationNextProps, G as provideSelectionRoot, Gn as _default$14, Gt as PaginationFirstSlotProps, H as SelectionRootProps, Hn as _default$12, Hr as AtomSlots, Ht as PaginationPrevSlotProps, I as provideSingleRoot, In as Dialog, Ir as AvatarTicket, It as PaginationNextSlotProps, J as RadioIndicatorProps, Jn as DialogContentSlotProps, Jt as PaginationItemSlotProps, K as useSelectionRoot, Kn as DialogContentEmits, Kt as _default$23, L as useSingleRoot, Ln as DialogCloseProps, Lr as _default$3, Lt as _default$26, M as _default$39, Mn as ExpansionPanelRootSlotProps, Mr as AvatarImageSlotProps, Mt as PaginationLastProps, N as SingleRootProps, Nn as _default$19, Nr as _default$2, Nt as PaginationLastSlotProps, O as useStepRoot, On as provideExpansionPanelItem, Or as AvatarFallbackSlotProps, Ot as Pagination, P as SingleRootSlotProps, Pn as provideExpansionPanelSelection, Pr as AvatarContext, Pt as _default$25, Q as RadioRootProps, Qn as _default$9, Qt as _default$28, R as Selection, Rn as DialogCloseSlotProps, Rr as provideAvatarContext, Rt as PaginationEllipsisProps, S as StepItemSlotProps, Sn as ExpansionPanelHeaderSlotProps, Sr as CheckboxGroupSlotProps, St as PopoverContext, T as StepRootSlotProps, Tn as ExpansionPanelItemProps, Tr as useCheckboxGroup, Tt as _default$32, U as SelectionRootSlotProps, Un as DialogTitleProps, Ur as _default, Ut as _default$27, V as _default$37, Vn as DialogDescriptionSlotProps, Vr as AtomProps, Vt as PaginationPrevProps, W as _default$38, Wn as DialogTitleSlotProps, Wt as PaginationFirstProps, X as _default$35, Xn as DialogActivatorProps, Xt as PaginationRootProps, Y as RadioIndicatorSlotProps, Yn as _default$11, Yt as _default$24, Z as RadioRootContext, Zn as DialogActivatorSlotProps, Zt as PaginationRootSlotProps, _ as _default$46, _n as _default$16, _r as provideCheckboxRoot, _t as PopoverContentSlotProps, a as TabsItemProps, an as Group, ar as Checkbox, at as _default$34, b as Step, bn as _default$15, br as _default$5, bt as PopoverActivatorSlotProps, c as TabsListProps, cn as _default$20, cr as _default$8, ct as RadioGroupProps, d as TabsActivation, dn as _default$21, dr as _default$6, dt as _default$33, en as providePaginationItems, er as DialogRootProps, et as RadioState, f as TabsContext, fn as provideGroupRoot, fr as CheckboxRootContext, ft as provideRadioGroup, g as TabsTicket, gn as ExpansionPanelContentSlotProps, gr as _default$7, gt as PopoverContentProps, h as TabsRootSlotProps, hn as ExpansionPanelContentProps, hr as CheckboxState, ht as PopoverContentEmits, i as _default$45, in as usePaginationRoot, ir as useDialogContext, it as RadioHiddenInputProps, j as SingleItemSlotProps, jn as ExpansionPanelRootProps, jr as AvatarImageProps, jt as _default$29, k as Single, kn as useExpansionPanelItem, kr as _default$1, kt as PaginationStatusProps, l as TabsListSlotProps, ln as GroupRootProps, lr as CheckboxIndicatorProps, lt as RadioGroupSlotProps, m as TabsRootProps, mn as ExpansionPanel, mr as CheckboxRootSlotProps, mt as Popover, n as TabsPanelProps, nn as usePaginationControls, nr as _default$13, nt as provideRadioRoot, o as TabsItemSlotProps, on as GroupItemProps, or as CheckboxSelectAllProps, ot as RadioActivation, p as TabsOrientation, pn as useGroupRoot, pr as CheckboxRootProps, pt as useRadioGroup, q as Radio, qn as DialogContentProps, qt as PaginationItemProps, r as TabsPanelSlotProps, rn as usePaginationItems, rr as provideDialogContext, rt as useRadioRoot, s as _default$43, sn as GroupItemSlotProps, sr as CheckboxSelectAllSlotProps, st as RadioGroupContext, t as Tabs, tn as providePaginationRoot, tr as DialogRootSlotProps, tt as _default$36, u as _default$44, un as GroupRootSlotProps, ur as CheckboxIndicatorSlotProps, ut as RadioTicket, v as provideTabsRoot, vn as ExpansionPanelActivatorProps, vr as useCheckboxRoot, vt as _default$31, w as StepRootProps, wn as ExpansionPanelItemContext, wr as provideCheckboxGroup, wt as PopoverRootSlotProps, x as StepItemProps, xn as ExpansionPanelHeaderProps, xr as CheckboxGroupProps, xt as _default$30, y as useTabsRoot, yn as ExpansionPanelActivatorSlotProps, yr as CheckboxHiddenInputProps, yt as PopoverActivatorProps, z as SelectionItemProps, zn as _default$10, zr as useAvatarRoot, zt as PaginationEllipsisSlotProps } from "./index-Bx6Ke-u_.mjs";
|
|
3
|
+
import { A as createGroupContext, B as RegistryContext, C as usePagination, D as GroupTicket, E as GroupOptions, F as SelectionTicket, G as createRegistry, H as RegistryEventCallback, I as SelectionTicketInput, J as createTrinity, K as createRegistryContext, L as createSelection, M as SelectionContext, N as SelectionContextOptions, O as GroupTicketInput, P as SelectionOptions, R as createSelectionContext, S as createPaginationContext, T as GroupContextOptions, U as RegistryOptions, V as RegistryContextOptions, W as RegistryTicket, _ as PaginationContext, a as StepTicketInput, b as PaginationTicket, c as useStep, d as SingleOptions, f as SingleTicket, g as useSingle, h as createSingleContext, i as StepTicket, j as useGroup, k as createGroup, l as SingleContext, m as createSingle, n as StepContextOptions, o as createStep, p as SingleTicketInput, q as ContextTrinity, r as StepOptions, s as createStepContext, t as StepContext, u as SingleContextOptions, v as PaginationContextOptions, w as GroupContext, x as createPagination, y as PaginationOptions, z as useSelection } from "./index-qSuLpob3.mjs";
|
|
4
|
+
import { $ as QueueTicket, $n as createForm, $r as useDate, $t as LoggerPluginOptions, A as useTheme, An as useElementIntersection, Ar as TokenAlias, At as singleOpenStrategy, B as useStorage, Bn as useHydration, Br as useTokens, Bt as OpenStrategyContext, C as ThemePluginOptions, Ci as provideContext, Cn as LazyContext, Cr as createFeaturesPlugin, Ct as createOverflow, D as createTheme, Dn as IntersectionObserverOptions, Dr as FeaturesAdapterInterface, Dt as createNestedContext, E as ThemeTicketInput, En as IntersectionObserverEntry, Er as FeaturesAdapterFlags, Et as createNested, F as StorageOptions, Fn as HydrationPluginOptions, Fr as TokenPrimitive, Ft as NestedRegistration, G as ResizeObserverOptions, Gn as FormContext, Gr as useWindowEventListener, Gt as MediaQueryContext, H as StorageType, Hn as UseHotkeyOptions, Hr as EventHandler, Ht as UseMutationObserverOptions, I as StoragePluginOptions, In as createFallbackHydration, Ir as TokenTicket, It as NestedSelectionMode, J as useElementSize, Jn as FormTicket, Jr as DateOptions, Jt as usePrefersDark, K as UseElementSizeReturn, Kn as FormContextOptions, Kr as DateContext, Kt as useMediaQuery, L as createStorage, Ln as createHydration, Lr as TokenValue, Lt as NestedTicket, M as ThemeAdapter, Mn as HydrationContext, Mr as TokenContext, Mt as NestedContextOptions, N as StorageContext, Nn as HydrationContextOptions, Nr as TokenContextOptions, Nt as NestedOpenMode, O as createThemeContext, On as UseElementIntersectionReturn, Or as FeaturesAdapterValue, Ot as useNested, P as StorageContextOptions, Pn as HydrationOptions, Pr as TokenOptions, Pt as NestedOptions, Q as QueueOptions, Qn as FormValue, Qr as createDatePlugin, Qt as LoggerOptions, R as createStorageContext, Rn as createHydrationContext, Rr as createTokens, Rt as NestedTicketInput, S as ThemeOptions, Si as createContext, Sn as LocaleAdapter, Sr as createFeaturesContext, St as OverflowOptions, T as ThemeTicket, Tn as useLazy, Tr as FeaturesAdapter, Tt as useOverflow, U as MemoryAdapter, Un as UseHotkeyReturn, Ur as useDocumentEventListener, Ut as UseMutationObserverReturn, V as StorageAdapter, Vn as PlatformContext, Vr as CleanupFunction, Vt as MutationObserverRecord, W as ResizeObserverEntry, Wn as useHotkey, Wr as useEventListener, Wt as useMutationObserver, X as QueueContext, Xn as FormValidationResult, Xr as createDate, Xt as LoggerContext, Y as useResizeObserver, Yn as FormTicketInput, Yr as DatePluginOptions, Yt as usePrefersReducedMotion, Z as QueueContextOptions, Zn as FormValidationRule, Zr as createDateContext, Zt as LoggerContextOptions, _ as useTimeline, _i as Plugin, _n as createLocaleContext, _r as FeatureOptions, _t as usePermissions, a as VirtualItem, ai as useClickOutside, an as Vuetify0LoggerAdapter, ar as FilterItem, at as ProxyRegistryOptions, b as ThemeContext, bi as ContextKey, bn as useLocale, br as FeatureTicketInput, bt as OverflowContext, c as useVirtual, ci as BreakpointsContextOptions, cn as LoggerAdapter, cr as FilterQuery, ct as useProxyModel, d as TimelineContext, di as createBreakpoints, dn as LocaleOptions, dr as createFilter, dt as PermissionOptions, ei as ClickOutsideElement, en as createLogger, er as createFormContext, et as QueueTicketInput, f as TimelineContextOptions, fi as createBreakpointsContext, fn as LocalePluginOptions, fr as createFilterContext, ft as PermissionPluginOptions, g as createTimelineContext, gi as toArray, gn as createLocale, gr as FeatureContextOptions, gt as createPermissionsPlugin, h as createTimeline, hi as toReactive, hn as LocaleTicketInput, hr as FeatureContext, ht as createPermissionsContext, i as VirtualDirection, ii as UseClickOutsideReturn, in as LogLevel, ir as FilterFunction, it as ProxyRegistryContext, j as Vuetify0ThemeAdapter, jn as useIntersectionObserver, jr as TokenCollection, jt as NestedContext, k as createThemePlugin, kn as UseIntersectionObserverReturn, kr as FlatTokenCollection, kt as multipleOpenStrategy, l as ToggleScopeControls, li as BreakpointsOptions, ln as LocaleContext, lr as FilterResult, lt as PermissionContext, m as TimelineTicket, mi as useBreakpoints, mn as LocaleTicket, mr as useFilterContext, mt as createPermissions, n as VirtualAnchor, ni as ClickOutsideTarget, nn as createLoggerPlugin, nr as FilterContext, nt as createQueueContext, o as VirtualOptions, oi as BreakpointName, on as PinoLoggerAdapter, or as FilterMode, ot as useProxyRegistry, p as TimelineOptions, pi as createBreakpointsPlugin, pn as LocaleRecord, pr as useFilter, pt as PermissionTicket, q as UseResizeObserverReturn, qn as FormOptions, qr as DateContextOptions, qt as usePrefersContrast, r as VirtualContext, ri as UseClickOutsideOptions, rn as useLogger, rr as FilterContextOptions, rt as useQueue, s as VirtualState, si as BreakpointsContext, sn as ConsolaLoggerAdapter, sr as FilterOptions, st as ProxyModelOptions, t as ScrollToOptions, ti as ClickOutsideIgnoreTarget, tn as createLoggerContext, tr as useForm, tt as createQueue, u as useToggleScope, ui as BreakpointsPluginOptions, un as LocaleContextOptions, ur as Primitive, ut as PermissionContextOptions, v as Colors, vi as PluginOptions, vn as createLocaleFallback, vr as FeaturePluginOptions, vt as PermissionAdapter, w as ThemeRecord, wi as useContext, wn as LazyOptions, wr as useFeatures, wt as createOverflowContext, x as ThemeContextOptions, xi as CreateContextOptions, xn as Vuetify0LocaleAdapter, xr as createFeatures, xt as OverflowContextOptions, y as ThemeColors, yi as createPlugin, yn as createLocalePlugin, yr as FeatureTicket, yt as PermissionAdapterInterface, z as createStoragePlugin, zn as createHydrationPlugin, zr as createTokensContext, zt as OpenStrategy } from "./index-DmNXO254.mjs";
|
|
5
5
|
import { t as DateAdapter } from "./adapter-L4Php1_S.mjs";
|
|
6
6
|
import { a as isSelfClosingTag, c as SUPPORTS_MATCH_MEDIA, d as SUPPORTS_TOUCH, f as __LOGGER_ENABLED__, i as SelfClosingElement, l as SUPPORTS_MUTATION_OBSERVER, n as HTMLElementName, o as IN_BROWSER, p as version, r as SELF_CLOSING_TAGS, s as SUPPORTS_INTERSECTION_OBSERVER, t as COMMON_ELEMENTS, u as SUPPORTS_OBSERVER } from "./index-cPmI99rd.mjs";
|
|
7
|
-
import { _ as mergeDeep, a as isArray, c as isNaN, d as isNumber, f as isObject, g as isUndefined, h as isSymbol, i as debounce, l as isNull, m as isString, n as instanceName, o as isBoolean, p as isPrimitive, r as clamp, s as isFunction, t as instanceExists, u as isNullOrUndefined, v as range, y as useId } from "./index-
|
|
8
|
-
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, Avatar, AvatarContext, _default$1 as AvatarFallback, AvatarFallbackProps, AvatarFallbackSlotProps, _default$2 as AvatarImage, AvatarImageEmits, AvatarImageProps, AvatarImageSlotProps, _default$3 as AvatarRoot, AvatarRootProps, AvatarTicket, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, COMMON_ELEMENTS, Checkbox, _default$4 as CheckboxGroup, CheckboxGroupProps, CheckboxGroupSlotProps, _default$5 as CheckboxHiddenInput, CheckboxHiddenInputProps, _default$6 as CheckboxIndicator, CheckboxIndicatorProps, CheckboxIndicatorSlotProps, _default$7 as CheckboxRoot, CheckboxRootContext, CheckboxRootProps, CheckboxRootSlotProps, _default$8 as CheckboxSelectAll, CheckboxSelectAllProps, CheckboxSelectAllSlotProps, CheckboxState, CleanupFunction, ClickOutsideElement, ClickOutsideIgnoreTarget, ClickOutsideTarget, Colors, ConsolaLoggerAdapter, ContextKey, ContextTrinity, CreateContextOptions, DateAdapter, DateContext, DateContextOptions, DateOptions, DatePluginOptions, Dialog, _default$9 as DialogActivator, DialogActivatorProps, DialogActivatorSlotProps, _default$10 as DialogClose, DialogCloseProps, DialogCloseSlotProps, _default$11 as DialogContent, DialogContentEmits, DialogContentProps, DialogContentSlotProps, DialogContext, _default$12 as DialogDescription, DialogDescriptionProps, DialogDescriptionSlotProps, _default$13 as DialogRoot, DialogRootProps, DialogRootSlotProps, _default$14 as DialogTitle, DialogTitleProps, DialogTitleSlotProps, EventHandler, ExpansionPanel, _default$15 as ExpansionPanelActivator, ExpansionPanelActivatorProps, ExpansionPanelActivatorSlotProps, _default$16 as ExpansionPanelContent, ExpansionPanelContentProps, ExpansionPanelContentSlotProps, _default$17 as ExpansionPanelHeader, ExpansionPanelHeaderProps, ExpansionPanelHeaderSlotProps, _default$18 as ExpansionPanelItem, ExpansionPanelItemContext, ExpansionPanelItemProps, ExpansionPanelItemSlotProps, ExpansionPanelOptionsContext, _default$19 as ExpansionPanelRoot, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FilterContext, FilterContextOptions, FilterFunction, FilterItem, FilterMode, FilterOptions, FilterQuery, FilterResult, FlatTokenCollection, FormContext, FormContextOptions, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue, Group, GroupContext, GroupContextOptions, _default$20 as GroupItem, GroupItemProps, GroupItemSlotProps, GroupOptions, _default$21 as GroupRoot, GroupRootProps, GroupRootSlotProps, GroupTicket, HTMLElementName, HydrationContext, HydrationContextOptions, HydrationOptions, HydrationPluginOptions, IN_BROWSER, IntersectionObserverEntry, IntersectionObserverOptions, LazyContext, LazyOptions, LocaleAdapter, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, MaybeRef, MediaQueryContext, MemoryAdapter, MutationObserverRecord, NestedContext, NestedContextOptions, NestedOpenMode, NestedOptions, NestedRegistration, NestedSelectionMode, NestedTicket, OpenStrategy, OpenStrategyContext, OverflowContext, OverflowContextOptions, OverflowOptions, Pagination, PaginationContext, PaginationContextOptions, _default$22 as PaginationEllipsis, PaginationEllipsisProps, PaginationEllipsisSlotProps, _default$23 as PaginationFirst, PaginationFirstProps, PaginationFirstSlotProps, _default$24 as PaginationItem, PaginationItemProps, PaginationItemSlotProps, _default$25 as PaginationLast, PaginationLastProps, PaginationLastSlotProps, _default$26 as PaginationNext, PaginationNextProps, PaginationNextSlotProps, PaginationOptions, _default$27 as PaginationPrev, PaginationPrevProps, PaginationPrevSlotProps, _default$28 as PaginationRoot, PaginationRootProps, PaginationRootSlotProps, _default$29 as PaginationStatus, PaginationStatusProps, PaginationStatusSlotProps, PaginationTicket, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, PlatformContext, Plugin, PluginOptions, Popover, _default$30 as PopoverActivator, PopoverActivatorProps, PopoverActivatorSlotProps, _default$31 as PopoverContent, PopoverContentEmits, PopoverContentProps, PopoverContentSlotProps, PopoverContext, _default$32 as PopoverRoot, PopoverRootProps, PopoverRootSlotProps, Primitive, ProxyModelOptions, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, Radio, _default$33 as RadioGroup, RadioGroupContext, RadioGroupProps, RadioGroupSlotProps, _default$34 as RadioHiddenInput, RadioHiddenInputProps, _default$35 as RadioIndicator, RadioIndicatorProps, RadioIndicatorSlotProps, _default$36 as RadioRoot, RadioRootContext, RadioRootProps, RadioRootSlotProps, RadioState, RadioTicket, RegistryContext, RegistryContextOptions, RegistryEventCallback, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, ScrollToOptions, Selection, SelectionContext, SelectionContextOptions, _default$37 as SelectionItem, SelectionItemProps, SelectionItemSlotProps, SelectionOptions, _default$38 as SelectionRoot, SelectionRootProps, SelectionRootSlotProps, SelectionTicket, SelfClosingElement, Single, SingleContext, SingleContextOptions, _default$39 as SingleItem, SingleItemProps, SingleItemSlotProps, SingleOptions, _default$40 as SingleRoot, SingleRootProps, SingleRootSlotProps, SingleTicket, Step, StepContext, StepContextOptions, _default$41 as StepItem, StepItemProps, StepItemSlotProps, StepOptions, _default$42 as StepRoot, StepRootProps, StepRootSlotProps, StepTicket, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, Tabs, TabsActivation, TabsContext, _default$43 as TabsItem, TabsItemProps, TabsItemSlotProps, _default$44 as TabsList, TabsListProps, TabsListSlotProps, TabsOrientation, _default$45 as TabsPanel, TabsPanelProps, TabsPanelSlotProps, _default$46 as TabsRoot, TabsRootProps, TabsRootSlotProps, TabsTicket, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, ToggleScopeControls, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseClickOutsideOptions, UseClickOutsideReturn, UseElementIntersectionReturn, UseElementSizeReturn, UseHotkeyOptions, UseHotkeyReturn, UseIntersectionObserverReturn, UseMutationObserverOptions, UseMutationObserverReturn, UseResizeObserverReturn, VirtualAnchor, VirtualContext, VirtualDirection, VirtualItem, VirtualOptions, VirtualState, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, clamp, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, debounce, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isSymbol, isUndefined, mergeDeep, multipleOpenStrategy, provideAvatarContext, provideCheckboxGroup, provideCheckboxRoot, provideContext, provideDialogContext, provideExpansionPanelItem, provideExpansionPanelSelection, provideGroupRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideRadioGroup, provideRadioRoot, provideSelectionRoot, provideSingleRoot, provideStepRoot, provideTabsRoot, range, singleOpenStrategy, toArray, toReactive, useAvatarRoot, useBreakpoints, useCheckboxGroup, useCheckboxRoot, useClickOutside, useContext, useDate, useDialogContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useExpansionPanelItem, useExpansionPanelRoot, useFeatures, useFilter, useFilterContext, useForm, useGroup, useGroupRoot, useHotkey, useHydration, useId, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePaginationRoot, usePermissions, usePopoverContext, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRadioGroup, useRadioRoot, useResizeObserver, useSelection, useSelectionRoot, useSingle, useSingleRoot, useStep, useStepRoot, useStorage, useTabsRoot, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener, version };
|
|
7
|
+
import { _ as mergeDeep, a as isArray, c as isNaN, d as isNumber, f as isObject, g as isUndefined, h as isSymbol, i as debounce, l as isNull, m as isString, n as instanceName, o as isBoolean, p as isPrimitive, r as clamp, s as isFunction, t as instanceExists, u as isNullOrUndefined, v as range, y as useId } from "./index-CoO8LW8o.mjs";
|
|
8
|
+
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, Avatar, AvatarContext, _default$1 as AvatarFallback, AvatarFallbackProps, AvatarFallbackSlotProps, _default$2 as AvatarImage, AvatarImageEmits, AvatarImageProps, AvatarImageSlotProps, _default$3 as AvatarRoot, AvatarRootProps, AvatarTicket, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, COMMON_ELEMENTS, Checkbox, _default$4 as CheckboxGroup, CheckboxGroupProps, CheckboxGroupSlotProps, _default$5 as CheckboxHiddenInput, CheckboxHiddenInputProps, _default$6 as CheckboxIndicator, CheckboxIndicatorProps, CheckboxIndicatorSlotProps, _default$7 as CheckboxRoot, CheckboxRootContext, CheckboxRootProps, CheckboxRootSlotProps, _default$8 as CheckboxSelectAll, CheckboxSelectAllProps, CheckboxSelectAllSlotProps, CheckboxState, CleanupFunction, ClickOutsideElement, ClickOutsideIgnoreTarget, ClickOutsideTarget, Colors, ConsolaLoggerAdapter, ContextKey, ContextTrinity, CreateContextOptions, DateAdapter, DateContext, DateContextOptions, DateOptions, DatePluginOptions, Dialog, _default$9 as DialogActivator, DialogActivatorProps, DialogActivatorSlotProps, _default$10 as DialogClose, DialogCloseProps, DialogCloseSlotProps, _default$11 as DialogContent, DialogContentEmits, DialogContentProps, DialogContentSlotProps, DialogContext, _default$12 as DialogDescription, DialogDescriptionProps, DialogDescriptionSlotProps, _default$13 as DialogRoot, DialogRootProps, DialogRootSlotProps, _default$14 as DialogTitle, DialogTitleProps, DialogTitleSlotProps, EventHandler, ExpansionPanel, _default$15 as ExpansionPanelActivator, ExpansionPanelActivatorProps, ExpansionPanelActivatorSlotProps, _default$16 as ExpansionPanelContent, ExpansionPanelContentProps, ExpansionPanelContentSlotProps, _default$17 as ExpansionPanelHeader, ExpansionPanelHeaderProps, ExpansionPanelHeaderSlotProps, _default$18 as ExpansionPanelItem, ExpansionPanelItemContext, ExpansionPanelItemProps, ExpansionPanelItemSlotProps, ExpansionPanelOptionsContext, _default$19 as ExpansionPanelRoot, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FeatureTicketInput, FeaturesAdapter, FeaturesAdapterFlags, FeaturesAdapterInterface, FeaturesAdapterValue, FilterContext, FilterContextOptions, FilterFunction, FilterItem, FilterMode, FilterOptions, FilterQuery, FilterResult, FlatTokenCollection, FormContext, FormContextOptions, FormOptions, FormTicket, FormTicketInput, FormValidationResult, FormValidationRule, FormValue, Group, GroupContext, GroupContextOptions, _default$20 as GroupItem, GroupItemProps, GroupItemSlotProps, GroupOptions, _default$21 as GroupRoot, GroupRootProps, GroupRootSlotProps, GroupTicket, GroupTicketInput, HTMLElementName, HydrationContext, HydrationContextOptions, HydrationOptions, HydrationPluginOptions, IN_BROWSER, IntersectionObserverEntry, IntersectionObserverOptions, LazyContext, LazyOptions, LocaleAdapter, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, MediaQueryContext, MemoryAdapter, MutationObserverRecord, NestedContext, NestedContextOptions, NestedOpenMode, NestedOptions, NestedRegistration, NestedSelectionMode, NestedTicket, NestedTicketInput, OpenStrategy, OpenStrategyContext, OverflowContext, OverflowContextOptions, OverflowOptions, Pagination, PaginationContext, PaginationContextOptions, _default$22 as PaginationEllipsis, PaginationEllipsisProps, PaginationEllipsisSlotProps, _default$23 as PaginationFirst, PaginationFirstProps, PaginationFirstSlotProps, _default$24 as PaginationItem, PaginationItemProps, PaginationItemSlotProps, _default$25 as PaginationLast, PaginationLastProps, PaginationLastSlotProps, _default$26 as PaginationNext, PaginationNextProps, PaginationNextSlotProps, PaginationOptions, _default$27 as PaginationPrev, PaginationPrevProps, PaginationPrevSlotProps, _default$28 as PaginationRoot, PaginationRootProps, PaginationRootSlotProps, _default$29 as PaginationStatus, PaginationStatusProps, PaginationStatusSlotProps, PaginationTicket, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, PlatformContext, Plugin, PluginOptions, Popover, _default$30 as PopoverActivator, PopoverActivatorProps, PopoverActivatorSlotProps, _default$31 as PopoverContent, PopoverContentEmits, PopoverContentProps, PopoverContentSlotProps, PopoverContext, _default$32 as PopoverRoot, PopoverRootProps, PopoverRootSlotProps, Primitive, ProxyModelOptions, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, QueueTicketInput, Radio, RadioActivation, _default$33 as RadioGroup, RadioGroupContext, RadioGroupProps, RadioGroupSlotProps, _default$34 as RadioHiddenInput, RadioHiddenInputProps, _default$35 as RadioIndicator, RadioIndicatorProps, RadioIndicatorSlotProps, _default$36 as RadioRoot, RadioRootContext, RadioRootProps, RadioRootSlotProps, RadioState, RadioTicket, RegistryContext, RegistryContextOptions, RegistryEventCallback, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, ScrollToOptions, Selection, SelectionContext, SelectionContextOptions, _default$37 as SelectionItem, SelectionItemProps, SelectionItemSlotProps, SelectionOptions, _default$38 as SelectionRoot, SelectionRootProps, SelectionRootSlotProps, SelectionTicket, SelectionTicketInput, SelfClosingElement, Single, SingleContext, SingleContextOptions, _default$39 as SingleItem, SingleItemProps, SingleItemSlotProps, SingleOptions, _default$40 as SingleRoot, SingleRootProps, SingleRootSlotProps, SingleTicket, SingleTicketInput, Step, StepContext, StepContextOptions, _default$41 as StepItem, StepItemProps, StepItemSlotProps, StepOptions, _default$42 as StepRoot, StepRootProps, StepRootSlotProps, StepTicket, StepTicketInput, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, Tabs, TabsActivation, TabsContext, _default$43 as TabsItem, TabsItemProps, TabsItemSlotProps, _default$44 as TabsList, TabsListProps, TabsListSlotProps, TabsOrientation, _default$45 as TabsPanel, TabsPanelProps, TabsPanelSlotProps, _default$46 as TabsRoot, TabsRootProps, TabsRootSlotProps, TabsTicket, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, ToggleScopeControls, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseClickOutsideOptions, UseClickOutsideReturn, UseElementIntersectionReturn, UseElementSizeReturn, UseHotkeyOptions, UseHotkeyReturn, UseIntersectionObserverReturn, UseMutationObserverOptions, UseMutationObserverReturn, UseResizeObserverReturn, VirtualAnchor, VirtualContext, VirtualDirection, VirtualItem, VirtualOptions, VirtualState, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, clamp, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, debounce, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isSymbol, isUndefined, mergeDeep, multipleOpenStrategy, provideAvatarContext, provideCheckboxGroup, provideCheckboxRoot, provideContext, provideDialogContext, provideExpansionPanelItem, provideExpansionPanelSelection, provideGroupRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideRadioGroup, provideRadioRoot, provideSelectionRoot, provideSingleRoot, provideStepRoot, provideTabsRoot, range, singleOpenStrategy, toArray, toReactive, useAvatarRoot, useBreakpoints, useCheckboxGroup, useCheckboxRoot, useClickOutside, useContext, useDate, useDialogContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useExpansionPanelItem, useExpansionPanelRoot, useFeatures, useFilter, useFilterContext, useForm, useGroup, useGroupRoot, useHotkey, useHydration, useId, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePaginationRoot, usePermissions, usePopoverContext, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRadioGroup, useRadioRoot, useResizeObserver, useSelection, useSelectionRoot, useSingle, useSingleRoot, useStep, useStepRoot, useStorage, useTabsRoot, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener, version };
|