@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,5 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { B as
|
|
1
|
+
import { a as ID, o as MaybeArray } from "./index-DlxrzbvZ.mjs";
|
|
2
|
+
import { B as RegistryContext, D as GroupTicket, E as GroupOptions, F as SelectionTicket, M as SelectionContext, O as GroupTicketInput, T as GroupContextOptions, U as RegistryOptions, V as RegistryContextOptions, W as RegistryTicket, d as SingleOptions, f as SingleTicket, l as SingleContext, p as SingleTicketInput, q as ContextTrinity, w as GroupContext } from "./index-qSuLpob3.mjs";
|
|
3
3
|
import { t as DateAdapter } from "./adapter-L4Php1_S.mjs";
|
|
4
4
|
import { App, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowRef, UnwrapNestedRefs, WatchSource } from "vue";
|
|
5
5
|
|
|
@@ -827,18 +827,80 @@ declare function createTokensContext<Z extends TokenTicket = TokenTicket, E exte
|
|
|
827
827
|
*/
|
|
828
828
|
declare function useTokens<Z extends TokenTicket = TokenTicket, E extends TokenContext<Z> = TokenContext<Z>>(namespace?: string): E;
|
|
829
829
|
//#endregion
|
|
830
|
+
//#region src/composables/useFeatures/adapters/generic/index.d.ts
|
|
831
|
+
type FeaturesAdapterValue = boolean | {
|
|
832
|
+
$value?: boolean;
|
|
833
|
+
$variation?: unknown;
|
|
834
|
+
};
|
|
835
|
+
type FeaturesAdapterFlags = Record<ID, FeaturesAdapterValue>;
|
|
836
|
+
interface FeaturesAdapterInterface {
|
|
837
|
+
/**
|
|
838
|
+
* Initialize the adapter and return initial flags.
|
|
839
|
+
*
|
|
840
|
+
* @param onUpdate Callback invoked when flags change.
|
|
841
|
+
* @returns Initial feature flags.
|
|
842
|
+
*
|
|
843
|
+
* @remarks Called during plugin setup. Sets up change listeners
|
|
844
|
+
* and returns the initial flag values.
|
|
845
|
+
*/
|
|
846
|
+
setup: (onUpdate: (flags: FeaturesAdapterFlags) => void) => FeaturesAdapterFlags;
|
|
847
|
+
/**
|
|
848
|
+
* Cleanup adapter resources.
|
|
849
|
+
*
|
|
850
|
+
* @remarks Called when the plugin is disposed.
|
|
851
|
+
*/
|
|
852
|
+
dispose?: () => void;
|
|
853
|
+
}
|
|
854
|
+
declare abstract class FeaturesAdapter implements FeaturesAdapterInterface {
|
|
855
|
+
abstract setup(onUpdate: (flags: FeaturesAdapterFlags) => void): FeaturesAdapterFlags;
|
|
856
|
+
}
|
|
857
|
+
//#endregion
|
|
830
858
|
//#region src/composables/useFeatures/index.d.ts
|
|
831
|
-
|
|
832
|
-
|
|
859
|
+
/**
|
|
860
|
+
* Input type for feature tickets - what users provide to register().
|
|
861
|
+
*/
|
|
862
|
+
interface FeatureTicketInput extends GroupTicketInput {}
|
|
863
|
+
/**
|
|
864
|
+
* Output type for feature tickets - what users receive from get().
|
|
865
|
+
*/
|
|
866
|
+
type FeatureTicket<Z extends FeatureTicketInput = FeatureTicketInput> = GroupTicket<Z>;
|
|
867
|
+
interface FeatureContext<Z extends FeatureTicketInput = FeatureTicketInput, E extends FeatureTicket<Z> = FeatureTicket<Z>> extends Omit<GroupContext<Z, E>, 'register'> {
|
|
868
|
+
/**
|
|
869
|
+
* Get the variation value of a feature, or a fallback if not set.
|
|
870
|
+
*
|
|
871
|
+
* @param id The feature ID.
|
|
872
|
+
* @param fallback The fallback value if the feature has no variation.
|
|
873
|
+
*/
|
|
833
874
|
variation: (id: ID, fallback?: unknown) => unknown;
|
|
875
|
+
/**
|
|
876
|
+
* Sync feature flags from an external source.
|
|
877
|
+
*
|
|
878
|
+
* @param flags The flags to sync, typically from an adapter.
|
|
879
|
+
*
|
|
880
|
+
* @remarks This updates existing flags and registers new ones.
|
|
881
|
+
* Use this when adapter flags change to update the registry.
|
|
882
|
+
*/
|
|
883
|
+
sync: (flags: FeaturesAdapterFlags) => void;
|
|
884
|
+
/** Register a feature (accepts input type, returns output type) */
|
|
885
|
+
register: (registration?: Partial<Z>) => E;
|
|
834
886
|
}
|
|
835
887
|
interface FeatureOptions extends RegistryOptions {
|
|
888
|
+
/**
|
|
889
|
+
* Static feature flags to register.
|
|
890
|
+
*/
|
|
836
891
|
features?: Record<ID, boolean | TokenCollection>;
|
|
837
892
|
}
|
|
838
893
|
interface FeatureContextOptions extends FeatureOptions {
|
|
839
894
|
namespace?: string;
|
|
840
895
|
}
|
|
841
|
-
interface FeaturePluginOptions extends FeatureContextOptions {
|
|
896
|
+
interface FeaturePluginOptions extends FeatureContextOptions {
|
|
897
|
+
/**
|
|
898
|
+
* Feature flag adapter for external services.
|
|
899
|
+
*
|
|
900
|
+
* @remarks Adapters provide dynamic flag values from external services.
|
|
901
|
+
*/
|
|
902
|
+
adapter?: MaybeArray<FeaturesAdapterInterface>;
|
|
903
|
+
}
|
|
842
904
|
/**
|
|
843
905
|
* Creates a new features instance.
|
|
844
906
|
*
|
|
@@ -862,7 +924,7 @@ interface FeaturePluginOptions extends FeatureContextOptions {}
|
|
|
862
924
|
* })
|
|
863
925
|
* ```
|
|
864
926
|
*/
|
|
865
|
-
declare function createFeatures<Z extends
|
|
927
|
+
declare function createFeatures<Z extends FeatureTicketInput = FeatureTicketInput, E extends FeatureTicket<Z> = FeatureTicket<Z>, R extends FeatureContext<Z, E> = FeatureContext<Z, E>>(_options?: FeatureOptions): R;
|
|
866
928
|
/**
|
|
867
929
|
* Creates a new features context.
|
|
868
930
|
*
|
|
@@ -886,7 +948,7 @@ declare function createFeatures<Z extends FeatureTicket = FeatureTicket, E exten
|
|
|
886
948
|
* })
|
|
887
949
|
* ```
|
|
888
950
|
*/
|
|
889
|
-
declare function createFeaturesContext<Z extends
|
|
951
|
+
declare function createFeaturesContext<Z extends FeatureTicketInput = FeatureTicketInput, E extends FeatureTicket<Z> = FeatureTicket<Z>, R extends FeatureContext<Z, E> = FeatureContext<Z, E>>(_options?: FeatureContextOptions): ContextTrinity<R>;
|
|
890
952
|
/**
|
|
891
953
|
* Creates a new features plugin.
|
|
892
954
|
*
|
|
@@ -917,7 +979,7 @@ declare function createFeaturesContext<Z extends FeatureTicket = FeatureTicket,
|
|
|
917
979
|
* app.mount('#app')
|
|
918
980
|
* ```
|
|
919
981
|
*/
|
|
920
|
-
declare function createFeaturesPlugin<Z extends
|
|
982
|
+
declare function createFeaturesPlugin<Z extends FeatureTicketInput = FeatureTicketInput, E extends FeatureTicket<Z> = FeatureTicket<Z>, R extends FeatureContext<Z, E> = FeatureContext<Z, E>>(_options?: FeaturePluginOptions): Plugin;
|
|
921
983
|
/**
|
|
922
984
|
* Returns the current features instance.
|
|
923
985
|
*
|
|
@@ -943,7 +1005,7 @@ declare function createFeaturesPlugin<Z extends FeatureTicket = FeatureTicket, E
|
|
|
943
1005
|
* </template>
|
|
944
1006
|
* ```
|
|
945
1007
|
*/
|
|
946
|
-
declare function useFeatures<Z extends
|
|
1008
|
+
declare function useFeatures<Z extends FeatureTicketInput = FeatureTicketInput, E extends FeatureTicket<Z> = FeatureTicket<Z>, R extends FeatureContext<Z, E> = FeatureContext<Z, E>>(namespace?: string): R;
|
|
947
1009
|
//#endregion
|
|
948
1010
|
//#region src/composables/useFilter/index.d.ts
|
|
949
1011
|
type Primitive = string | number | boolean;
|
|
@@ -1087,7 +1149,27 @@ declare function useFilterContext<Z extends FilterItem = FilterItem, E extends F
|
|
|
1087
1149
|
type FormValidationResult = string | true | Promise<string | true>;
|
|
1088
1150
|
type FormValidationRule = (value: unknown) => FormValidationResult;
|
|
1089
1151
|
type FormValue = Ref<unknown> | ShallowRef<unknown>;
|
|
1090
|
-
|
|
1152
|
+
/**
|
|
1153
|
+
* Input type for form tickets - what users provide to register().
|
|
1154
|
+
* Extend this interface to add custom properties.
|
|
1155
|
+
*
|
|
1156
|
+
* @template V The type of the field value.
|
|
1157
|
+
*/
|
|
1158
|
+
interface FormTicketInput<V = unknown> extends RegistryTicket<V> {
|
|
1159
|
+
/** Validation rules for this field */
|
|
1160
|
+
rules?: FormValidationRule[];
|
|
1161
|
+
/** When validation should trigger (inherits from form if not set) */
|
|
1162
|
+
validateOn?: 'submit' | 'change' | string;
|
|
1163
|
+
/** Whether this field is disabled */
|
|
1164
|
+
disabled?: boolean;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Output type for form tickets - what users receive from get().
|
|
1168
|
+
* Includes all input properties plus validation state and methods.
|
|
1169
|
+
*
|
|
1170
|
+
* @template Z The input ticket type that extends FormTicketInput.
|
|
1171
|
+
*/
|
|
1172
|
+
type FormTicket<Z extends FormTicketInput = FormTicketInput> = Z & {
|
|
1091
1173
|
validate: (silent?: boolean) => Promise<boolean>;
|
|
1092
1174
|
reset: () => void;
|
|
1093
1175
|
validateOn: 'submit' | 'change' | string;
|
|
@@ -1097,8 +1179,16 @@ interface FormTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
1097
1179
|
isPristine: ShallowRef<boolean>;
|
|
1098
1180
|
isValid: ShallowRef<boolean | null>;
|
|
1099
1181
|
isValidating: ShallowRef<boolean>;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* Context for managing form field collections with validation.
|
|
1185
|
+
*
|
|
1186
|
+
* @template Z The input ticket type.
|
|
1187
|
+
* @template E The output ticket type.
|
|
1188
|
+
*/
|
|
1189
|
+
interface FormContext<Z extends FormTicketInput = FormTicketInput, E extends FormTicket<Z> = FormTicket<Z>> extends Omit<RegistryContext<E>, 'register' | 'onboard'> {
|
|
1190
|
+
register: (registration: Partial<Z>) => E;
|
|
1191
|
+
onboard: (registrations: Partial<Z>[]) => E[];
|
|
1102
1192
|
submit: (id?: ID | ID[]) => Promise<boolean>;
|
|
1103
1193
|
reset: () => void;
|
|
1104
1194
|
validateOn: 'submit' | 'change' | string;
|
|
@@ -1141,7 +1231,7 @@ interface FormContextOptions extends RegistryOptions {
|
|
|
1141
1231
|
* form.reset()
|
|
1142
1232
|
* ```
|
|
1143
1233
|
*/
|
|
1144
|
-
declare function createForm<Z extends
|
|
1234
|
+
declare function createForm<Z extends FormTicketInput = FormTicketInput, E extends FormTicket<Z> = FormTicket<Z>, R extends FormContext<Z, E> = FormContext<Z, E>>(options?: FormOptions): R;
|
|
1145
1235
|
/**
|
|
1146
1236
|
* Creates a new form context.
|
|
1147
1237
|
*
|
|
@@ -1173,7 +1263,7 @@ declare function createForm<Z extends FormTicket = FormTicket, E extends FormCon
|
|
|
1173
1263
|
* form.register({ id: 'field', value: ref(''), rules: [...] })
|
|
1174
1264
|
* ```
|
|
1175
1265
|
*/
|
|
1176
|
-
declare function createFormContext<Z extends
|
|
1266
|
+
declare function createFormContext<Z extends FormTicketInput = FormTicketInput, E extends FormTicket<Z> = FormTicket<Z>, R extends FormContext<Z, E> = FormContext<Z, E>>(_options?: FormContextOptions): ContextTrinity<R>;
|
|
1177
1267
|
/**
|
|
1178
1268
|
* Returns the current form instance.
|
|
1179
1269
|
*
|
|
@@ -1197,7 +1287,7 @@ declare function createFormContext<Z extends FormTicket = FormTicket, E extends
|
|
|
1197
1287
|
* </template>
|
|
1198
1288
|
* ```
|
|
1199
1289
|
*/
|
|
1200
|
-
declare function useForm<Z extends
|
|
1290
|
+
declare function useForm<Z extends FormTicketInput = FormTicketInput, E extends FormTicket<Z> = FormTicket<Z>, R extends FormContext<Z, E> = FormContext<Z, E>>(namespace?: string): R;
|
|
1201
1291
|
//#endregion
|
|
1202
1292
|
//#region src/composables/useHotkey/index.d.ts
|
|
1203
1293
|
interface UseHotkeyOptions {
|
|
@@ -1476,7 +1566,7 @@ interface UseIntersectionObserverReturn {
|
|
|
1476
1566
|
* resume()
|
|
1477
1567
|
* ```
|
|
1478
1568
|
*/
|
|
1479
|
-
declare function useIntersectionObserver(target: MaybeRef
|
|
1569
|
+
declare function useIntersectionObserver(target: MaybeRef<Element | null | undefined>, callback: (entries: IntersectionObserverEntry[]) => void, options?: IntersectionObserverOptions): UseIntersectionObserverReturn;
|
|
1480
1570
|
interface UseElementIntersectionReturn extends UseIntersectionObserverReturn {
|
|
1481
1571
|
/**
|
|
1482
1572
|
* The intersection ratio (0.0 to 1.0) indicating how much of the element is visible
|
|
@@ -1511,7 +1601,7 @@ interface UseElementIntersectionReturn extends UseIntersectionObserverReturn {
|
|
|
1511
1601
|
* })
|
|
1512
1602
|
* ```
|
|
1513
1603
|
*/
|
|
1514
|
-
declare function useElementIntersection(target: MaybeRef
|
|
1604
|
+
declare function useElementIntersection(target: MaybeRef<Element | null | undefined>, options?: IntersectionObserverOptions): UseElementIntersectionReturn;
|
|
1515
1605
|
//#endregion
|
|
1516
1606
|
//#region src/composables/useLazy/index.d.ts
|
|
1517
1607
|
interface LazyOptions {
|
|
@@ -1606,8 +1696,15 @@ declare class Vuetify0LocaleAdapter implements LocaleAdapter {
|
|
|
1606
1696
|
//#endregion
|
|
1607
1697
|
//#region src/composables/useLocale/index.d.ts
|
|
1608
1698
|
type LocaleRecord = TokenCollection;
|
|
1609
|
-
|
|
1610
|
-
|
|
1699
|
+
/**
|
|
1700
|
+
* Input type for locale tickets - what users provide to register().
|
|
1701
|
+
*/
|
|
1702
|
+
interface LocaleTicketInput extends SingleTicketInput {}
|
|
1703
|
+
/**
|
|
1704
|
+
* Output type for locale tickets - what users receive from get().
|
|
1705
|
+
*/
|
|
1706
|
+
type LocaleTicket<Z extends LocaleTicketInput = LocaleTicketInput> = SingleTicket<Z>;
|
|
1707
|
+
interface LocaleContext<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>> extends Omit<SingleContext<Z, E>, 'register'> {
|
|
1611
1708
|
/**
|
|
1612
1709
|
* Translate a message key with optional parameters and fallback.
|
|
1613
1710
|
*
|
|
@@ -1632,6 +1729,8 @@ interface LocaleContext<Z extends LocaleTicket> extends SingleContext<Z> {
|
|
|
1632
1729
|
*/
|
|
1633
1730
|
t: (key: string, params?: Record<string, unknown>, fallback?: string) => string;
|
|
1634
1731
|
n: (value: number) => string;
|
|
1732
|
+
/** Register a locale (accepts input type, returns output type) */
|
|
1733
|
+
register: (registration?: Partial<Z>) => E;
|
|
1635
1734
|
}
|
|
1636
1735
|
interface LocaleOptions<Z extends LocaleRecord = LocaleRecord> extends SingleOptions {
|
|
1637
1736
|
adapter?: LocaleAdapter;
|
|
@@ -1653,8 +1752,8 @@ interface LocalePluginOptions extends LocaleContextOptions {}
|
|
|
1653
1752
|
*
|
|
1654
1753
|
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
1655
1754
|
*/
|
|
1656
|
-
declare function createLocale<Z extends
|
|
1657
|
-
declare function createLocaleFallback<Z extends
|
|
1755
|
+
declare function createLocale<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(_options?: LocaleOptions): R;
|
|
1756
|
+
declare function createLocaleFallback<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(): R;
|
|
1658
1757
|
/**
|
|
1659
1758
|
* Creates a new locale context.
|
|
1660
1759
|
*
|
|
@@ -1685,7 +1784,7 @@ declare function createLocaleFallback<Z extends LocaleTicket = LocaleTicket, E e
|
|
|
1685
1784
|
* locale.select('es')
|
|
1686
1785
|
* ```
|
|
1687
1786
|
*/
|
|
1688
|
-
declare function createLocaleContext<Z extends
|
|
1787
|
+
declare function createLocaleContext<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(_options?: LocaleContextOptions): ContextTrinity<R>;
|
|
1689
1788
|
/**
|
|
1690
1789
|
* Creates a new locale plugin.
|
|
1691
1790
|
*
|
|
@@ -1698,7 +1797,7 @@ declare function createLocaleContext<Z extends LocaleTicket = LocaleTicket, E ex
|
|
|
1698
1797
|
*
|
|
1699
1798
|
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
1700
1799
|
*/
|
|
1701
|
-
declare function createLocalePlugin<Z extends
|
|
1800
|
+
declare function createLocalePlugin<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(_options?: LocalePluginOptions): Plugin;
|
|
1702
1801
|
/**
|
|
1703
1802
|
* Returns the current locale instance.
|
|
1704
1803
|
*
|
|
@@ -1706,7 +1805,7 @@ declare function createLocalePlugin<Z extends LocaleTicket = LocaleTicket, E ext
|
|
|
1706
1805
|
*
|
|
1707
1806
|
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
1708
1807
|
*/
|
|
1709
|
-
declare function useLocale<Z extends
|
|
1808
|
+
declare function useLocale<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(namespace?: string): R;
|
|
1710
1809
|
//#endregion
|
|
1711
1810
|
//#region src/composables/useLogger/adapters/adapter.d.ts
|
|
1712
1811
|
interface LoggerAdapter {
|
|
@@ -2057,17 +2156,26 @@ interface UseMutationObserverReturn {
|
|
|
2057
2156
|
* resume()
|
|
2058
2157
|
* ```
|
|
2059
2158
|
*/
|
|
2060
|
-
declare function useMutationObserver(target: MaybeRef
|
|
2159
|
+
declare function useMutationObserver(target: MaybeRef<Element | null | undefined>, callback: (entries: MutationObserverRecord[]) => void, options?: UseMutationObserverOptions): UseMutationObserverReturn;
|
|
2061
2160
|
//#endregion
|
|
2062
2161
|
//#region src/composables/createNested/types.d.ts
|
|
2063
2162
|
/**
|
|
2064
|
-
*
|
|
2163
|
+
* Input type for nested tickets - what users provide to register().
|
|
2164
|
+
* Extend this interface to add custom properties.
|
|
2065
2165
|
*
|
|
2066
|
-
* @
|
|
2067
|
-
* Extends GroupTicket with open/close state and leaf detection.
|
|
2068
|
-
* Each ticket knows its parent and can control its own open/closed state.
|
|
2166
|
+
* @template V The type of the ticket value.
|
|
2069
2167
|
*/
|
|
2070
|
-
interface
|
|
2168
|
+
interface NestedTicketInput<V = unknown> extends GroupTicketInput<V> {
|
|
2169
|
+
/** ID of the parent ticket, or undefined if this is a root item */
|
|
2170
|
+
parentId?: ID;
|
|
2171
|
+
}
|
|
2172
|
+
/**
|
|
2173
|
+
* Output type for nested tickets - what users receive from get().
|
|
2174
|
+
* Includes all input properties plus tree traversal and state methods.
|
|
2175
|
+
*
|
|
2176
|
+
* @template Z The input ticket type that extends NestedTicketInput.
|
|
2177
|
+
*/
|
|
2178
|
+
type NestedTicket<Z extends NestedTicketInput = NestedTicketInput> = GroupTicket<Z> & {
|
|
2071
2179
|
/** ID of the parent ticket, or undefined if this is a root item */
|
|
2072
2180
|
parentId: ID | undefined;
|
|
2073
2181
|
/** Whether this ticket is currently open/expanded */
|
|
@@ -2098,7 +2206,7 @@ interface NestedTicket<V = unknown> extends GroupTicket<V> {
|
|
|
2098
2206
|
siblings: () => ID[];
|
|
2099
2207
|
/** Get 1-indexed position among siblings (for aria-posinset) */
|
|
2100
2208
|
position: () => number;
|
|
2101
|
-
}
|
|
2209
|
+
};
|
|
2102
2210
|
/**
|
|
2103
2211
|
* Minimal context interface for open strategy callbacks.
|
|
2104
2212
|
* Only exposes the state needed for open/close operations.
|
|
@@ -2129,28 +2237,25 @@ interface OpenStrategy {
|
|
|
2129
2237
|
/**
|
|
2130
2238
|
* Registration input for nested items.
|
|
2131
2239
|
* Allows inline children definition for easier tree construction.
|
|
2240
|
+
*
|
|
2241
|
+
* @template Z The input ticket type that extends NestedTicketInput.
|
|
2132
2242
|
*/
|
|
2133
|
-
|
|
2134
|
-
/** Unique identifier (auto-generated if not provided) */
|
|
2135
|
-
id?: ID;
|
|
2136
|
-
/** Value associated with this item */
|
|
2137
|
-
value?: V;
|
|
2138
|
-
/** Parent ID (set automatically when using children property) */
|
|
2139
|
-
parentId?: ID;
|
|
2140
|
-
/** Whether this item is disabled */
|
|
2141
|
-
disabled?: boolean;
|
|
2243
|
+
type NestedRegistration<Z extends NestedTicketInput = NestedTicketInput> = Partial<Z> & {
|
|
2142
2244
|
/** Inline children to register with this item as parent */
|
|
2143
|
-
children?: NestedRegistration<
|
|
2144
|
-
}
|
|
2245
|
+
children?: NestedRegistration<Z>[];
|
|
2246
|
+
};
|
|
2145
2247
|
/**
|
|
2146
2248
|
* Context for managing nested/hierarchical item collections.
|
|
2147
2249
|
*
|
|
2250
|
+
* @template Z The input ticket type.
|
|
2251
|
+
* @template E The output ticket type.
|
|
2252
|
+
*
|
|
2148
2253
|
* @remarks
|
|
2149
2254
|
* Extends GroupContext with parent-child relationship tracking, open/close state,
|
|
2150
2255
|
* and hierarchical traversal methods. Perfect for tree structures, nested menus,
|
|
2151
2256
|
* file explorers, and organizational charts.
|
|
2152
2257
|
*/
|
|
2153
|
-
interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'register' | 'onboard' | 'select' | 'unselect' | 'toggle'> {
|
|
2258
|
+
interface NestedContext<Z extends NestedTicketInput = NestedTicketInput, E extends NestedTicket<Z> = NestedTicket<Z>> extends Omit<GroupContext<Z, E>, 'register' | 'onboard' | 'select' | 'unselect' | 'toggle'> {
|
|
2154
2259
|
/** Map of parent IDs to arrays of child IDs. Use register/unregister to modify. */
|
|
2155
2260
|
readonly children: ReadonlyMap<ID, readonly ID[]>;
|
|
2156
2261
|
/** Map of child IDs to their parent ID (or undefined for roots). Use register/unregister to modify. */
|
|
@@ -2158,7 +2263,7 @@ interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'r
|
|
|
2158
2263
|
/** Reactive Set of opened/expanded item IDs. Use open/close/flip to modify. */
|
|
2159
2264
|
readonly openedIds: Reactive<Set<ID>>;
|
|
2160
2265
|
/** Computed Set of opened/expanded item instances */
|
|
2161
|
-
openedItems: ComputedRef<Set<
|
|
2266
|
+
openedItems: ComputedRef<Set<E>>;
|
|
2162
2267
|
/** Open/expand one or more items by ID */
|
|
2163
2268
|
open: (ids: ID | ID[]) => void;
|
|
2164
2269
|
/** Close/collapse one or more items by ID */
|
|
@@ -2202,9 +2307,9 @@ interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'r
|
|
|
2202
2307
|
/** Get 1-indexed position among siblings (for aria-posinset). Returns 0 if not found. */
|
|
2203
2308
|
position: (id: ID) => number;
|
|
2204
2309
|
/** Computed array of root items (items with no parent) */
|
|
2205
|
-
roots: ComputedRef<
|
|
2310
|
+
roots: ComputedRef<E[]>;
|
|
2206
2311
|
/** Computed array of leaf items (items with no children) */
|
|
2207
|
-
leaves: ComputedRef<
|
|
2312
|
+
leaves: ComputedRef<E[]>;
|
|
2208
2313
|
/** Strategy controlling how items are opened */
|
|
2209
2314
|
openStrategy: OpenStrategy;
|
|
2210
2315
|
/** Select item(s) and all descendants, updating ancestor mixed states */
|
|
@@ -2213,10 +2318,10 @@ interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'r
|
|
|
2213
2318
|
unselect: (ids: ID | ID[]) => void;
|
|
2214
2319
|
/** Toggle selection with cascading behavior */
|
|
2215
2320
|
toggle: (ids: ID | ID[]) => void;
|
|
2216
|
-
/** Register a node with optional inline children */
|
|
2217
|
-
register: (registration?: NestedRegistration) =>
|
|
2321
|
+
/** Register a node with optional inline children (accepts input type, returns output type) */
|
|
2322
|
+
register: (registration?: NestedRegistration<Z>) => E;
|
|
2218
2323
|
/** Batch register nodes with optional inline children */
|
|
2219
|
-
onboard: (registrations: NestedRegistration[]) =>
|
|
2324
|
+
onboard: (registrations: NestedRegistration<Z>[]) => E[];
|
|
2220
2325
|
/** Unregister a node, optionally cascading to descendants */
|
|
2221
2326
|
unregister: (id: ID, cascade?: boolean) => void;
|
|
2222
2327
|
/** Offboard multiple nodes, optionally cascading */
|
|
@@ -2380,7 +2485,7 @@ declare const singleOpenStrategy: OpenStrategy;
|
|
|
2380
2485
|
* console.log(tree.opened('root')) // true
|
|
2381
2486
|
* ```
|
|
2382
2487
|
*/
|
|
2383
|
-
declare function createNested<Z extends
|
|
2488
|
+
declare function createNested<Z extends NestedTicketInput = NestedTicketInput, E extends NestedTicket<Z> = NestedTicket<Z>, R extends NestedContext<Z, E> = NestedContext<Z, E>>(_options?: NestedOptions): R;
|
|
2384
2489
|
/**
|
|
2385
2490
|
* Creates a new nested context with provide/inject pattern.
|
|
2386
2491
|
*
|
|
@@ -2399,7 +2504,7 @@ declare function createNested<Z extends NestedTicket = NestedTicket, E extends N
|
|
|
2399
2504
|
* // In child: const tree = useTree()
|
|
2400
2505
|
* ```
|
|
2401
2506
|
*/
|
|
2402
|
-
declare function createNestedContext<Z extends
|
|
2507
|
+
declare function createNestedContext<Z extends NestedTicketInput = NestedTicketInput, E extends NestedTicket<Z> = NestedTicket<Z>, R extends NestedContext<Z, E> = NestedContext<Z, E>>(_options?: NestedContextOptions): ContextTrinity<R>;
|
|
2403
2508
|
/**
|
|
2404
2509
|
* Returns the current nested instance from context.
|
|
2405
2510
|
*
|
|
@@ -2408,7 +2513,7 @@ declare function createNestedContext<Z extends NestedTicket = NestedTicket, E ex
|
|
|
2408
2513
|
*
|
|
2409
2514
|
* @see https://0.vuetifyjs.com/composables/selection/use-nested
|
|
2410
2515
|
*/
|
|
2411
|
-
declare function useNested<Z extends
|
|
2516
|
+
declare function useNested<Z extends NestedTicketInput = NestedTicketInput, E extends NestedTicket<Z> = NestedTicket<Z>, R extends NestedContext<Z, E> = NestedContext<Z, E>>(namespace?: string): R;
|
|
2412
2517
|
//#endregion
|
|
2413
2518
|
//#region src/composables/useOverflow/index.d.ts
|
|
2414
2519
|
interface OverflowOptions {
|
|
@@ -2742,7 +2847,13 @@ interface ProxyRegistryContext<Z extends RegistryTicket = RegistryTicket> {
|
|
|
2742
2847
|
declare function useProxyRegistry<Z extends RegistryTicket = RegistryTicket>(registry: RegistryContext<Z>, options?: ProxyRegistryOptions): ProxyRegistryContext<Z>;
|
|
2743
2848
|
//#endregion
|
|
2744
2849
|
//#region src/composables/createQueue/index.d.ts
|
|
2745
|
-
|
|
2850
|
+
/**
|
|
2851
|
+
* Input type for queue tickets - what users provide to register().
|
|
2852
|
+
* Extend this interface to add custom properties.
|
|
2853
|
+
*
|
|
2854
|
+
* @template V The type of the ticket value.
|
|
2855
|
+
*/
|
|
2856
|
+
interface QueueTicketInput<V = unknown> extends RegistryTicket<V> {
|
|
2746
2857
|
/**
|
|
2747
2858
|
* Timeout in milliseconds
|
|
2748
2859
|
*
|
|
@@ -2752,6 +2863,18 @@ interface QueueTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
2752
2863
|
* - If a number: Ticket will be automatically removed after the specified milliseconds
|
|
2753
2864
|
*/
|
|
2754
2865
|
timeout?: number;
|
|
2866
|
+
}
|
|
2867
|
+
/**
|
|
2868
|
+
* Output type for queue tickets - what users receive from get().
|
|
2869
|
+
* Includes all input properties plus queue state and methods.
|
|
2870
|
+
*
|
|
2871
|
+
* @template Z The input ticket type that extends QueueTicketInput.
|
|
2872
|
+
*/
|
|
2873
|
+
type QueueTicket<Z extends QueueTicketInput = QueueTicketInput> = Z & {
|
|
2874
|
+
/**
|
|
2875
|
+
* Timeout in milliseconds (resolved from input or default)
|
|
2876
|
+
*/
|
|
2877
|
+
timeout?: number;
|
|
2755
2878
|
/**
|
|
2756
2879
|
* Whether the timeout is currently paused
|
|
2757
2880
|
*
|
|
@@ -2768,10 +2891,16 @@ interface QueueTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
2768
2891
|
* Equivalent to calling `queue.unregister(ticket.id)`
|
|
2769
2892
|
*/
|
|
2770
2893
|
dismiss: () => void;
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2894
|
+
};
|
|
2895
|
+
/**
|
|
2896
|
+
* Context for managing queue collections with timeout support.
|
|
2897
|
+
*
|
|
2898
|
+
* @template Z The input ticket type.
|
|
2899
|
+
* @template E The output ticket type.
|
|
2900
|
+
*/
|
|
2901
|
+
interface QueueContext<Z extends QueueTicketInput = QueueTicketInput, E extends QueueTicket<Z> = QueueTicket<Z>> extends Omit<RegistryContext<E>, 'register' | 'unregister' | 'offboard'> {
|
|
2773
2902
|
/**
|
|
2774
|
-
* Register a new ticket in the queue
|
|
2903
|
+
* Register a new ticket in the queue (accepts input type, returns output type)
|
|
2775
2904
|
*
|
|
2776
2905
|
* @param ticket The partial ticket data to register
|
|
2777
2906
|
* @remarks
|
|
@@ -2799,7 +2928,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2799
2928
|
* const ticket3 = queue.register({ value: 'Persistent', timeout: -1 })
|
|
2800
2929
|
* ```
|
|
2801
2930
|
*/
|
|
2802
|
-
register: (ticket?: Partial<Z>) =>
|
|
2931
|
+
register: (ticket?: Partial<Z>) => E;
|
|
2803
2932
|
/**
|
|
2804
2933
|
* Unregister a ticket from the queue
|
|
2805
2934
|
*
|
|
@@ -2828,7 +2957,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2828
2957
|
* console.log(removed?.value) // 'First'
|
|
2829
2958
|
* ```
|
|
2830
2959
|
*/
|
|
2831
|
-
unregister: (id?: ID) =>
|
|
2960
|
+
unregister: (id?: ID) => E | undefined;
|
|
2832
2961
|
/**
|
|
2833
2962
|
* Pause the timeout of the first ticket in the queue
|
|
2834
2963
|
*
|
|
@@ -2853,7 +2982,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2853
2982
|
* console.log(paused?.isPaused) // true
|
|
2854
2983
|
* ```
|
|
2855
2984
|
*/
|
|
2856
|
-
pause: () =>
|
|
2985
|
+
pause: () => E | undefined;
|
|
2857
2986
|
/**
|
|
2858
2987
|
* Resume the timeout of the first paused ticket in the queue
|
|
2859
2988
|
*
|
|
@@ -2879,7 +3008,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2879
3008
|
* console.log(resumed?.isPaused) // false
|
|
2880
3009
|
* ```
|
|
2881
3010
|
*/
|
|
2882
|
-
resume: () =>
|
|
3011
|
+
resume: () => E | undefined;
|
|
2883
3012
|
/**
|
|
2884
3013
|
* Clear the entire queue
|
|
2885
3014
|
*
|
|
@@ -2933,6 +3062,10 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2933
3062
|
* ```
|
|
2934
3063
|
*/
|
|
2935
3064
|
dispose: () => void;
|
|
3065
|
+
/**
|
|
3066
|
+
* Batch unregister tickets from the queue
|
|
3067
|
+
*/
|
|
3068
|
+
offboard: (ids: ID[]) => void;
|
|
2936
3069
|
}
|
|
2937
3070
|
interface QueueOptions extends RegistryOptions {
|
|
2938
3071
|
/**
|
|
@@ -2979,7 +3112,7 @@ interface QueueContextOptions extends QueueOptions {
|
|
|
2979
3112
|
* console.log(queue.size) // 2
|
|
2980
3113
|
* ```
|
|
2981
3114
|
*/
|
|
2982
|
-
declare function createQueue<Z extends
|
|
3115
|
+
declare function createQueue<Z extends QueueTicketInput = QueueTicketInput, E extends QueueTicket<Z> = QueueTicket<Z>, R extends QueueContext<Z, E> = QueueContext<Z, E>>(_options?: QueueOptions): R;
|
|
2983
3116
|
/**
|
|
2984
3117
|
* Creates a new queue context.
|
|
2985
3118
|
*
|
|
@@ -2999,7 +3132,7 @@ declare function createQueue<Z extends QueueTicket = QueueTicket, E extends Queu
|
|
|
2999
3132
|
* })
|
|
3000
3133
|
* ```
|
|
3001
3134
|
*/
|
|
3002
|
-
declare function createQueueContext<Z extends
|
|
3135
|
+
declare function createQueueContext<Z extends QueueTicketInput = QueueTicketInput, E extends QueueTicket<Z> = QueueTicket<Z>, R extends QueueContext<Z, E> = QueueContext<Z, E>>(_options?: QueueContextOptions): ContextTrinity<R>;
|
|
3003
3136
|
/**
|
|
3004
3137
|
* Returns the current queue instance.
|
|
3005
3138
|
*
|
|
@@ -3017,7 +3150,7 @@ declare function createQueueContext<Z extends QueueTicket = QueueTicket, E exten
|
|
|
3017
3150
|
* </script>
|
|
3018
3151
|
* ```
|
|
3019
3152
|
*/
|
|
3020
|
-
declare function useQueue<Z extends
|
|
3153
|
+
declare function useQueue<Z extends QueueTicketInput = QueueTicketInput, E extends QueueTicket<Z> = QueueTicket<Z>, R extends QueueContext<Z, E> = QueueContext<Z, E>>(namespace?: string): R;
|
|
3021
3154
|
//#endregion
|
|
3022
3155
|
//#region src/composables/useResizeObserver/index.d.ts
|
|
3023
3156
|
interface ResizeObserverEntry {
|
|
@@ -3097,7 +3230,7 @@ interface UseResizeObserverReturn {
|
|
|
3097
3230
|
* resume()
|
|
3098
3231
|
* ```
|
|
3099
3232
|
*/
|
|
3100
|
-
declare function useResizeObserver(target: MaybeRef
|
|
3233
|
+
declare function useResizeObserver(target: MaybeRef<Element | null | undefined>, callback: (entries: ResizeObserverEntry[]) => void, options?: ResizeObserverOptions): UseResizeObserverReturn;
|
|
3101
3234
|
interface UseElementSizeReturn extends UseResizeObserverReturn {
|
|
3102
3235
|
/**
|
|
3103
3236
|
* The width of the element in pixels
|
|
@@ -3131,7 +3264,7 @@ interface UseElementSizeReturn extends UseResizeObserverReturn {
|
|
|
3131
3264
|
* })
|
|
3132
3265
|
* ```
|
|
3133
3266
|
*/
|
|
3134
|
-
declare function useElementSize(target: MaybeRef
|
|
3267
|
+
declare function useElementSize(target: MaybeRef<Element | null | undefined>): UseElementSizeReturn;
|
|
3135
3268
|
//#endregion
|
|
3136
3269
|
//#region src/composables/useStorage/adapters/adapter.d.ts
|
|
3137
3270
|
interface StorageAdapter$1 {
|
|
@@ -3302,6 +3435,7 @@ interface Vuetify0ThemeOptions {
|
|
|
3302
3435
|
*/
|
|
3303
3436
|
declare class Vuetify0ThemeAdapter extends ThemeAdapter {
|
|
3304
3437
|
cspNonce?: string;
|
|
3438
|
+
sheet?: CSSStyleSheet;
|
|
3305
3439
|
constructor(options?: Vuetify0ThemeOptions);
|
|
3306
3440
|
setup<T extends ThemeAdapterSetupContext>(app: App, context: T, target?: string | HTMLElement | null): void;
|
|
3307
3441
|
update(colors: Record<ID, Colors>, isDark?: boolean): void;
|
|
@@ -3320,7 +3454,31 @@ type ThemeRecord = {
|
|
|
3320
3454
|
lazy?: boolean;
|
|
3321
3455
|
colors: ThemeColors;
|
|
3322
3456
|
};
|
|
3323
|
-
|
|
3457
|
+
/**
|
|
3458
|
+
* Input type for theme tickets - what users provide to register().
|
|
3459
|
+
* Extend this interface to add custom properties.
|
|
3460
|
+
*/
|
|
3461
|
+
interface ThemeTicketInput extends SingleTicketInput<ThemeColors> {
|
|
3462
|
+
/**
|
|
3463
|
+
* Indicates whether the theme is dark or light.
|
|
3464
|
+
*
|
|
3465
|
+
* @remarks Defaults to `false` (light theme).
|
|
3466
|
+
*/
|
|
3467
|
+
dark?: boolean;
|
|
3468
|
+
/**
|
|
3469
|
+
* Indicates whether the theme should be loaded lazily.
|
|
3470
|
+
*
|
|
3471
|
+
* @remarks Defaults to `false`.
|
|
3472
|
+
*/
|
|
3473
|
+
lazy?: boolean;
|
|
3474
|
+
}
|
|
3475
|
+
/**
|
|
3476
|
+
* Output type for theme tickets - what users receive from get().
|
|
3477
|
+
* Includes all input properties plus guaranteed dark/lazy values.
|
|
3478
|
+
*
|
|
3479
|
+
* @template Z The input ticket type that extends ThemeTicketInput.
|
|
3480
|
+
*/
|
|
3481
|
+
type ThemeTicket<Z extends ThemeTicketInput = ThemeTicketInput> = SingleTicket<Z> & {
|
|
3324
3482
|
/**
|
|
3325
3483
|
* Indicates whether the theme is dark or light.
|
|
3326
3484
|
*
|
|
@@ -3333,8 +3491,14 @@ interface ThemeTicket extends SingleTicket<ThemeColors> {
|
|
|
3333
3491
|
* @remarks Defaults to `false`.
|
|
3334
3492
|
*/
|
|
3335
3493
|
lazy: boolean;
|
|
3336
|
-
}
|
|
3337
|
-
|
|
3494
|
+
};
|
|
3495
|
+
/**
|
|
3496
|
+
* Context for managing theme collections.
|
|
3497
|
+
*
|
|
3498
|
+
* @template Z The input ticket type.
|
|
3499
|
+
* @template E The output ticket type.
|
|
3500
|
+
*/
|
|
3501
|
+
interface ThemeContext<Z extends ThemeTicketInput = ThemeTicketInput, E extends ThemeTicket<Z> = ThemeTicket<Z>> extends Omit<SingleContext<Z, E>, 'register'> {
|
|
3338
3502
|
/**
|
|
3339
3503
|
* A computed reference to the resolved colors of the current theme.
|
|
3340
3504
|
*
|
|
@@ -3386,6 +3550,8 @@ interface ThemeContext<Z extends ThemeTicket> extends SingleContext<Z> {
|
|
|
3386
3550
|
* ```
|
|
3387
3551
|
*/
|
|
3388
3552
|
cycle: (themes?: ID[]) => void;
|
|
3553
|
+
/** Register a theme (accepts input type, returns output type) */
|
|
3554
|
+
register: (registration?: Partial<Z>) => E;
|
|
3389
3555
|
}
|
|
3390
3556
|
interface ThemeOptions<Z extends ThemeRecord = ThemeRecord> extends RegistryOptions {
|
|
3391
3557
|
/**
|
|
@@ -3451,7 +3617,7 @@ interface ThemePluginOptions extends ThemeContextOptions {}
|
|
|
3451
3617
|
* })
|
|
3452
3618
|
* ```
|
|
3453
3619
|
*/
|
|
3454
|
-
declare function createTheme<Z extends
|
|
3620
|
+
declare function createTheme<Z extends ThemeTicketInput = ThemeTicketInput, E extends ThemeTicket<Z> = ThemeTicket<Z>, R extends ThemeContext<Z, E> = ThemeContext<Z, E>>(_options?: ThemeOptions): R;
|
|
3455
3621
|
/**
|
|
3456
3622
|
* Creates a new theme context trinity.
|
|
3457
3623
|
*
|
|
@@ -3486,7 +3652,7 @@ declare function createTheme<Z extends ThemeTicket = ThemeTicket, E extends Them
|
|
|
3486
3652
|
* })
|
|
3487
3653
|
* ```
|
|
3488
3654
|
*/
|
|
3489
|
-
declare function createThemeContext<Z extends
|
|
3655
|
+
declare function createThemeContext<Z extends ThemeTicketInput = ThemeTicketInput, E extends ThemeTicket<Z> = ThemeTicket<Z>, R extends ThemeContext<Z, E> = ThemeContext<Z, E>>(_options?: ThemeContextOptions): ContextTrinity<R>;
|
|
3490
3656
|
/**
|
|
3491
3657
|
* Creates a new theme plugin.
|
|
3492
3658
|
*
|
|
@@ -3528,7 +3694,7 @@ declare function createThemeContext<Z extends ThemeTicket = ThemeTicket, E exten
|
|
|
3528
3694
|
* app.mount('#app')
|
|
3529
3695
|
* ```
|
|
3530
3696
|
*/
|
|
3531
|
-
declare function createThemePlugin<Z extends
|
|
3697
|
+
declare function createThemePlugin<Z extends ThemeTicketInput = ThemeTicketInput, E extends ThemeTicket<Z> = ThemeTicket<Z>, R extends ThemeContext<Z, E> = ThemeContext<Z, E>>(_options?: ThemePluginOptions): Plugin;
|
|
3532
3698
|
/**
|
|
3533
3699
|
* Returns the current theme instance.
|
|
3534
3700
|
*
|
|
@@ -3552,7 +3718,7 @@ declare function createThemePlugin<Z extends ThemeTicket = ThemeTicket, E extend
|
|
|
3552
3718
|
* </template>
|
|
3553
3719
|
* ```
|
|
3554
3720
|
*/
|
|
3555
|
-
declare function useTheme<Z extends
|
|
3721
|
+
declare function useTheme<Z extends ThemeTicketInput = ThemeTicketInput, E extends ThemeTicket<Z> = ThemeTicket<Z>, R extends ThemeContext<Z, E> = ThemeContext<Z, E>>(namespace?: string): R;
|
|
3556
3722
|
//#endregion
|
|
3557
3723
|
//#region src/composables/createTimeline/index.d.ts
|
|
3558
3724
|
interface TimelineContext<Z extends TimelineTicket> extends RegistryContext<Z> {
|
|
@@ -4062,4 +4228,4 @@ interface VirtualContext<T = unknown> {
|
|
|
4062
4228
|
*/
|
|
4063
4229
|
declare function useVirtual<T = unknown>(items: Ref<readonly T[]>, _options?: VirtualOptions): VirtualContext<T>;
|
|
4064
4230
|
//#endregion
|
|
4065
|
-
export {
|
|
4231
|
+
export { QueueTicket as $, createForm as $n, useDate as $r, LoggerPluginOptions as $t, useTheme as A, useElementIntersection as An, TokenAlias as Ar, singleOpenStrategy as At, useStorage as B, useHydration as Bn, useTokens as Br, OpenStrategyContext as Bt, ThemePluginOptions as C, provideContext as Ci, LazyContext as Cn, createFeaturesPlugin as Cr, createOverflow as Ct, createTheme as D, IntersectionObserverOptions as Dn, FeaturesAdapterInterface as Dr, createNestedContext as Dt, ThemeTicketInput as E, IntersectionObserverEntry as En, FeaturesAdapterFlags as Er, createNested as Et, StorageOptions as F, HydrationPluginOptions as Fn, TokenPrimitive as Fr, NestedRegistration as Ft, ResizeObserverOptions as G, FormContext as Gn, useWindowEventListener as Gr, MediaQueryContext as Gt, StorageType as H, UseHotkeyOptions as Hn, EventHandler as Hr, UseMutationObserverOptions as Ht, StoragePluginOptions as I, createFallbackHydration as In, TokenTicket as Ir, NestedSelectionMode as It, useElementSize as J, FormTicket as Jn, DateOptions as Jr, usePrefersDark as Jt, UseElementSizeReturn as K, FormContextOptions as Kn, DateContext as Kr, useMediaQuery as Kt, createStorage as L, createHydration as Ln, TokenValue as Lr, NestedTicket as Lt, ThemeAdapter as M, HydrationContext as Mn, TokenContext as Mr, NestedContextOptions as Mt, StorageContext as N, HydrationContextOptions as Nn, TokenContextOptions as Nr, NestedOpenMode as Nt, createThemeContext as O, UseElementIntersectionReturn as On, FeaturesAdapterValue as Or, useNested as Ot, StorageContextOptions as P, HydrationOptions as Pn, TokenOptions as Pr, NestedOptions as Pt, QueueOptions as Q, FormValue as Qn, createDatePlugin as Qr, LoggerOptions as Qt, createStorageContext as R, createHydrationContext as Rn, createTokens as Rr, NestedTicketInput as Rt, ThemeOptions as S, createContext as Si, LocaleAdapter as Sn, createFeaturesContext as Sr, OverflowOptions as St, ThemeTicket as T, useLazy as Tn, FeaturesAdapter as Tr, useOverflow as Tt, MemoryAdapter as U, UseHotkeyReturn as Un, useDocumentEventListener as Ur, UseMutationObserverReturn as Ut, StorageAdapter as V, PlatformContext as Vn, CleanupFunction as Vr, MutationObserverRecord as Vt, ResizeObserverEntry as W, useHotkey as Wn, useEventListener as Wr, useMutationObserver as Wt, QueueContext as X, FormValidationResult as Xn, createDate as Xr, LoggerContext as Xt, useResizeObserver as Y, FormTicketInput as Yn, DatePluginOptions as Yr, usePrefersReducedMotion as Yt, QueueContextOptions as Z, FormValidationRule as Zn, createDateContext as Zr, LoggerContextOptions as Zt, useTimeline as _, Plugin as _i, createLocaleContext as _n, FeatureOptions as _r, usePermissions as _t, VirtualItem as a, useClickOutside as ai, Vuetify0LoggerAdapter as an, FilterItem as ar, ProxyRegistryOptions as at, ThemeContext as b, ContextKey as bi, useLocale as bn, FeatureTicketInput as br, OverflowContext as bt, useVirtual as c, BreakpointsContextOptions as ci, LoggerAdapter as cn, FilterQuery as cr, useProxyModel as ct, TimelineContext as d, createBreakpoints as di, LocaleOptions as dn, createFilter as dr, PermissionOptions as dt, ClickOutsideElement as ei, createLogger as en, createFormContext as er, QueueTicketInput as et, TimelineContextOptions as f, createBreakpointsContext as fi, LocalePluginOptions as fn, createFilterContext as fr, PermissionPluginOptions as ft, createTimelineContext as g, toArray as gi, createLocale as gn, FeatureContextOptions as gr, createPermissionsPlugin as gt, createTimeline as h, toReactive as hi, LocaleTicketInput as hn, FeatureContext as hr, createPermissionsContext as ht, VirtualDirection as i, UseClickOutsideReturn as ii, LogLevel as in, FilterFunction as ir, ProxyRegistryContext as it, Vuetify0ThemeAdapter as j, useIntersectionObserver as jn, TokenCollection as jr, NestedContext as jt, createThemePlugin as k, UseIntersectionObserverReturn as kn, FlatTokenCollection as kr, multipleOpenStrategy as kt, ToggleScopeControls as l, BreakpointsOptions as li, LocaleContext as ln, FilterResult as lr, PermissionContext as lt, TimelineTicket as m, useBreakpoints as mi, LocaleTicket as mn, useFilterContext as mr, createPermissions as mt, VirtualAnchor as n, ClickOutsideTarget as ni, createLoggerPlugin as nn, FilterContext as nr, createQueueContext as nt, VirtualOptions as o, BreakpointName as oi, PinoLoggerAdapter as on, FilterMode as or, useProxyRegistry as ot, TimelineOptions as p, createBreakpointsPlugin as pi, LocaleRecord as pn, useFilter as pr, PermissionTicket as pt, UseResizeObserverReturn as q, FormOptions as qn, DateContextOptions as qr, usePrefersContrast as qt, VirtualContext as r, UseClickOutsideOptions as ri, useLogger as rn, FilterContextOptions as rr, useQueue as rt, VirtualState as s, BreakpointsContext as si, ConsolaLoggerAdapter as sn, FilterOptions as sr, ProxyModelOptions as st, ScrollToOptions as t, ClickOutsideIgnoreTarget as ti, createLoggerContext as tn, useForm as tr, createQueue as tt, useToggleScope as u, BreakpointsPluginOptions as ui, LocaleContextOptions as un, Primitive as ur, PermissionContextOptions as ut, Colors as v, PluginOptions as vi, createLocaleFallback as vn, FeaturePluginOptions as vr, PermissionAdapter as vt, ThemeRecord as w, useContext as wi, LazyOptions as wn, useFeatures as wr, createOverflowContext as wt, ThemeContextOptions as x, CreateContextOptions as xi, Vuetify0LocaleAdapter as xn, createFeatures as xr, OverflowContextOptions as xt, ThemeColors as y, createPlugin as yi, createLocalePlugin as yn, FeatureTicket as yr, PermissionAdapterInterface as yt, createStoragePlugin as z, createHydrationPlugin as zn, createTokensContext as zr, OpenStrategy as zt };
|