@vuetify/v0 0.0.24 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/browser/index.js +266 -50
- package/dist/components/index.d.mts +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/{components-D_yAxHwn.mjs → components-V4KaMfn-.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-CgcVstn0.mjs} +1 -1
- package/dist/{index-OghXharF.d.mts → index-CSjKBMhp.d.mts} +266 -239
- 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-DsiFkTD8.d.mts} +269 -73
- package/dist/{index-DknfL2GU.d.mts → index-t-t6sAn3.d.mts} +222 -41
- 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-Cj8CguMD.mjs} +257 -46
- package/dist/utilities/index.d.mts +2 -2
- package/package.json +19 -2
|
@@ -1,7 +1,10 @@
|
|
|
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-t-t6sAn3.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
|
+
import { IFlagsmith, IInitConfig } from "flagsmith";
|
|
6
|
+
import { LDClient } from "launchdarkly-js-client-sdk";
|
|
7
|
+
import { PostHog } from "posthog-js";
|
|
5
8
|
|
|
6
9
|
//#region src/composables/createContext/index.d.ts
|
|
7
10
|
|
|
@@ -827,18 +830,108 @@ declare function createTokensContext<Z extends TokenTicket = TokenTicket, E exte
|
|
|
827
830
|
*/
|
|
828
831
|
declare function useTokens<Z extends TokenTicket = TokenTicket, E extends TokenContext<Z> = TokenContext<Z>>(namespace?: string): E;
|
|
829
832
|
//#endregion
|
|
833
|
+
//#region src/composables/useFeatures/adapters/generic/index.d.ts
|
|
834
|
+
type FeaturesAdapterValue = boolean | {
|
|
835
|
+
$value?: boolean;
|
|
836
|
+
$variation?: unknown;
|
|
837
|
+
};
|
|
838
|
+
type FeaturesAdapterFlags = Record<ID, FeaturesAdapterValue>;
|
|
839
|
+
interface FeaturesAdapterInterface {
|
|
840
|
+
/**
|
|
841
|
+
* Initialize the adapter and return initial flags.
|
|
842
|
+
*
|
|
843
|
+
* @param onUpdate Callback invoked when flags change.
|
|
844
|
+
* @returns Initial feature flags.
|
|
845
|
+
*
|
|
846
|
+
* @remarks Called during plugin setup. Sets up change listeners
|
|
847
|
+
* and returns the initial flag values.
|
|
848
|
+
*/
|
|
849
|
+
setup: (onUpdate: (flags: FeaturesAdapterFlags) => void) => FeaturesAdapterFlags;
|
|
850
|
+
/**
|
|
851
|
+
* Cleanup adapter resources.
|
|
852
|
+
*
|
|
853
|
+
* @remarks Called when the plugin is disposed.
|
|
854
|
+
*/
|
|
855
|
+
dispose?: () => void;
|
|
856
|
+
}
|
|
857
|
+
declare abstract class FeaturesAdapter implements FeaturesAdapterInterface {
|
|
858
|
+
abstract setup(onUpdate: (flags: FeaturesAdapterFlags) => void): FeaturesAdapterFlags;
|
|
859
|
+
}
|
|
860
|
+
//#endregion
|
|
861
|
+
//#region src/composables/useFeatures/adapters/flagsmith/index.d.ts
|
|
862
|
+
declare class FlagsmithFeatureAdapter implements FeaturesAdapterInterface {
|
|
863
|
+
private client;
|
|
864
|
+
private options;
|
|
865
|
+
constructor(client: IFlagsmith | undefined, options: IInitConfig);
|
|
866
|
+
setup(onUpdate: (flags: FeaturesAdapterFlags) => void): FeaturesAdapterFlags;
|
|
867
|
+
dispose(): void;
|
|
868
|
+
private disposeFn;
|
|
869
|
+
}
|
|
870
|
+
//#endregion
|
|
871
|
+
//#region src/composables/useFeatures/adapters/launchdarkly/index.d.ts
|
|
872
|
+
declare class LaunchDarklyFeatureAdapter implements FeaturesAdapterInterface {
|
|
873
|
+
private client;
|
|
874
|
+
constructor(client: LDClient);
|
|
875
|
+
setup(onUpdate: (flags: FeaturesAdapterFlags) => void): FeaturesAdapterFlags;
|
|
876
|
+
dispose(): void;
|
|
877
|
+
private disposeFn;
|
|
878
|
+
}
|
|
879
|
+
//#endregion
|
|
880
|
+
//#region src/composables/useFeatures/adapters/posthog/index.d.ts
|
|
881
|
+
declare class PostHogFeatureAdapter implements FeaturesAdapterInterface {
|
|
882
|
+
private client;
|
|
883
|
+
constructor(client: PostHog);
|
|
884
|
+
setup(onUpdate: (flags: FeaturesAdapterFlags) => void): FeaturesAdapterFlags;
|
|
885
|
+
dispose(): void;
|
|
886
|
+
private disposeFn;
|
|
887
|
+
}
|
|
888
|
+
//#endregion
|
|
830
889
|
//#region src/composables/useFeatures/index.d.ts
|
|
831
|
-
|
|
832
|
-
|
|
890
|
+
/**
|
|
891
|
+
* Input type for feature tickets - what users provide to register().
|
|
892
|
+
*/
|
|
893
|
+
interface FeatureTicketInput extends GroupTicketInput {}
|
|
894
|
+
/**
|
|
895
|
+
* Output type for feature tickets - what users receive from get().
|
|
896
|
+
*/
|
|
897
|
+
type FeatureTicket<Z extends FeatureTicketInput = FeatureTicketInput> = GroupTicket<Z>;
|
|
898
|
+
interface FeatureContext<Z extends FeatureTicketInput = FeatureTicketInput, E extends FeatureTicket<Z> = FeatureTicket<Z>> extends Omit<GroupContext<Z, E>, 'register'> {
|
|
899
|
+
/**
|
|
900
|
+
* Get the variation value of a feature, or a fallback if not set.
|
|
901
|
+
*
|
|
902
|
+
* @param id The feature ID.
|
|
903
|
+
* @param fallback The fallback value if the feature has no variation.
|
|
904
|
+
*/
|
|
833
905
|
variation: (id: ID, fallback?: unknown) => unknown;
|
|
906
|
+
/**
|
|
907
|
+
* Sync feature flags from an external source.
|
|
908
|
+
*
|
|
909
|
+
* @param flags The flags to sync, typically from an adapter.
|
|
910
|
+
*
|
|
911
|
+
* @remarks This updates existing flags and registers new ones.
|
|
912
|
+
* Use this when adapter flags change to update the registry.
|
|
913
|
+
*/
|
|
914
|
+
sync: (flags: FeaturesAdapterFlags) => void;
|
|
915
|
+
/** Register a feature (accepts input type, returns output type) */
|
|
916
|
+
register: (registration?: Partial<Z>) => E;
|
|
834
917
|
}
|
|
835
918
|
interface FeatureOptions extends RegistryOptions {
|
|
919
|
+
/**
|
|
920
|
+
* Static feature flags to register.
|
|
921
|
+
*/
|
|
836
922
|
features?: Record<ID, boolean | TokenCollection>;
|
|
837
923
|
}
|
|
838
924
|
interface FeatureContextOptions extends FeatureOptions {
|
|
839
925
|
namespace?: string;
|
|
840
926
|
}
|
|
841
|
-
interface FeaturePluginOptions extends FeatureContextOptions {
|
|
927
|
+
interface FeaturePluginOptions extends FeatureContextOptions {
|
|
928
|
+
/**
|
|
929
|
+
* Feature flag adapter for external services.
|
|
930
|
+
*
|
|
931
|
+
* @remarks Adapters provide dynamic flag values from external services.
|
|
932
|
+
*/
|
|
933
|
+
adapter?: MaybeArray<FeaturesAdapterInterface>;
|
|
934
|
+
}
|
|
842
935
|
/**
|
|
843
936
|
* Creates a new features instance.
|
|
844
937
|
*
|
|
@@ -862,7 +955,7 @@ interface FeaturePluginOptions extends FeatureContextOptions {}
|
|
|
862
955
|
* })
|
|
863
956
|
* ```
|
|
864
957
|
*/
|
|
865
|
-
declare function createFeatures<Z extends
|
|
958
|
+
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
959
|
/**
|
|
867
960
|
* Creates a new features context.
|
|
868
961
|
*
|
|
@@ -886,7 +979,7 @@ declare function createFeatures<Z extends FeatureTicket = FeatureTicket, E exten
|
|
|
886
979
|
* })
|
|
887
980
|
* ```
|
|
888
981
|
*/
|
|
889
|
-
declare function createFeaturesContext<Z extends
|
|
982
|
+
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
983
|
/**
|
|
891
984
|
* Creates a new features plugin.
|
|
892
985
|
*
|
|
@@ -917,7 +1010,7 @@ declare function createFeaturesContext<Z extends FeatureTicket = FeatureTicket,
|
|
|
917
1010
|
* app.mount('#app')
|
|
918
1011
|
* ```
|
|
919
1012
|
*/
|
|
920
|
-
declare function createFeaturesPlugin<Z extends
|
|
1013
|
+
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
1014
|
/**
|
|
922
1015
|
* Returns the current features instance.
|
|
923
1016
|
*
|
|
@@ -943,7 +1036,7 @@ declare function createFeaturesPlugin<Z extends FeatureTicket = FeatureTicket, E
|
|
|
943
1036
|
* </template>
|
|
944
1037
|
* ```
|
|
945
1038
|
*/
|
|
946
|
-
declare function useFeatures<Z extends
|
|
1039
|
+
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
1040
|
//#endregion
|
|
948
1041
|
//#region src/composables/useFilter/index.d.ts
|
|
949
1042
|
type Primitive = string | number | boolean;
|
|
@@ -1087,7 +1180,27 @@ declare function useFilterContext<Z extends FilterItem = FilterItem, E extends F
|
|
|
1087
1180
|
type FormValidationResult = string | true | Promise<string | true>;
|
|
1088
1181
|
type FormValidationRule = (value: unknown) => FormValidationResult;
|
|
1089
1182
|
type FormValue = Ref<unknown> | ShallowRef<unknown>;
|
|
1090
|
-
|
|
1183
|
+
/**
|
|
1184
|
+
* Input type for form tickets - what users provide to register().
|
|
1185
|
+
* Extend this interface to add custom properties.
|
|
1186
|
+
*
|
|
1187
|
+
* @template V The type of the field value.
|
|
1188
|
+
*/
|
|
1189
|
+
interface FormTicketInput<V = unknown> extends RegistryTicket<V> {
|
|
1190
|
+
/** Validation rules for this field */
|
|
1191
|
+
rules?: FormValidationRule[];
|
|
1192
|
+
/** When validation should trigger (inherits from form if not set) */
|
|
1193
|
+
validateOn?: 'submit' | 'change' | string;
|
|
1194
|
+
/** Whether this field is disabled */
|
|
1195
|
+
disabled?: boolean;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* Output type for form tickets - what users receive from get().
|
|
1199
|
+
* Includes all input properties plus validation state and methods.
|
|
1200
|
+
*
|
|
1201
|
+
* @template Z The input ticket type that extends FormTicketInput.
|
|
1202
|
+
*/
|
|
1203
|
+
type FormTicket<Z extends FormTicketInput = FormTicketInput> = Z & {
|
|
1091
1204
|
validate: (silent?: boolean) => Promise<boolean>;
|
|
1092
1205
|
reset: () => void;
|
|
1093
1206
|
validateOn: 'submit' | 'change' | string;
|
|
@@ -1097,8 +1210,16 @@ interface FormTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
1097
1210
|
isPristine: ShallowRef<boolean>;
|
|
1098
1211
|
isValid: ShallowRef<boolean | null>;
|
|
1099
1212
|
isValidating: ShallowRef<boolean>;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* Context for managing form field collections with validation.
|
|
1216
|
+
*
|
|
1217
|
+
* @template Z The input ticket type.
|
|
1218
|
+
* @template E The output ticket type.
|
|
1219
|
+
*/
|
|
1220
|
+
interface FormContext<Z extends FormTicketInput = FormTicketInput, E extends FormTicket<Z> = FormTicket<Z>> extends Omit<RegistryContext<E>, 'register' | 'onboard'> {
|
|
1221
|
+
register: (registration: Partial<Z>) => E;
|
|
1222
|
+
onboard: (registrations: Partial<Z>[]) => E[];
|
|
1102
1223
|
submit: (id?: ID | ID[]) => Promise<boolean>;
|
|
1103
1224
|
reset: () => void;
|
|
1104
1225
|
validateOn: 'submit' | 'change' | string;
|
|
@@ -1141,7 +1262,7 @@ interface FormContextOptions extends RegistryOptions {
|
|
|
1141
1262
|
* form.reset()
|
|
1142
1263
|
* ```
|
|
1143
1264
|
*/
|
|
1144
|
-
declare function createForm<Z extends
|
|
1265
|
+
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
1266
|
/**
|
|
1146
1267
|
* Creates a new form context.
|
|
1147
1268
|
*
|
|
@@ -1173,7 +1294,7 @@ declare function createForm<Z extends FormTicket = FormTicket, E extends FormCon
|
|
|
1173
1294
|
* form.register({ id: 'field', value: ref(''), rules: [...] })
|
|
1174
1295
|
* ```
|
|
1175
1296
|
*/
|
|
1176
|
-
declare function createFormContext<Z extends
|
|
1297
|
+
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
1298
|
/**
|
|
1178
1299
|
* Returns the current form instance.
|
|
1179
1300
|
*
|
|
@@ -1197,7 +1318,7 @@ declare function createFormContext<Z extends FormTicket = FormTicket, E extends
|
|
|
1197
1318
|
* </template>
|
|
1198
1319
|
* ```
|
|
1199
1320
|
*/
|
|
1200
|
-
declare function useForm<Z extends
|
|
1321
|
+
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
1322
|
//#endregion
|
|
1202
1323
|
//#region src/composables/useHotkey/index.d.ts
|
|
1203
1324
|
interface UseHotkeyOptions {
|
|
@@ -1476,7 +1597,7 @@ interface UseIntersectionObserverReturn {
|
|
|
1476
1597
|
* resume()
|
|
1477
1598
|
* ```
|
|
1478
1599
|
*/
|
|
1479
|
-
declare function useIntersectionObserver(target: MaybeRef
|
|
1600
|
+
declare function useIntersectionObserver(target: MaybeRef<Element | null | undefined>, callback: (entries: IntersectionObserverEntry[]) => void, options?: IntersectionObserverOptions): UseIntersectionObserverReturn;
|
|
1480
1601
|
interface UseElementIntersectionReturn extends UseIntersectionObserverReturn {
|
|
1481
1602
|
/**
|
|
1482
1603
|
* The intersection ratio (0.0 to 1.0) indicating how much of the element is visible
|
|
@@ -1511,7 +1632,7 @@ interface UseElementIntersectionReturn extends UseIntersectionObserverReturn {
|
|
|
1511
1632
|
* })
|
|
1512
1633
|
* ```
|
|
1513
1634
|
*/
|
|
1514
|
-
declare function useElementIntersection(target: MaybeRef
|
|
1635
|
+
declare function useElementIntersection(target: MaybeRef<Element | null | undefined>, options?: IntersectionObserverOptions): UseElementIntersectionReturn;
|
|
1515
1636
|
//#endregion
|
|
1516
1637
|
//#region src/composables/useLazy/index.d.ts
|
|
1517
1638
|
interface LazyOptions {
|
|
@@ -1606,8 +1727,15 @@ declare class Vuetify0LocaleAdapter implements LocaleAdapter {
|
|
|
1606
1727
|
//#endregion
|
|
1607
1728
|
//#region src/composables/useLocale/index.d.ts
|
|
1608
1729
|
type LocaleRecord = TokenCollection;
|
|
1609
|
-
|
|
1610
|
-
|
|
1730
|
+
/**
|
|
1731
|
+
* Input type for locale tickets - what users provide to register().
|
|
1732
|
+
*/
|
|
1733
|
+
interface LocaleTicketInput extends SingleTicketInput {}
|
|
1734
|
+
/**
|
|
1735
|
+
* Output type for locale tickets - what users receive from get().
|
|
1736
|
+
*/
|
|
1737
|
+
type LocaleTicket<Z extends LocaleTicketInput = LocaleTicketInput> = SingleTicket<Z>;
|
|
1738
|
+
interface LocaleContext<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>> extends Omit<SingleContext<Z, E>, 'register'> {
|
|
1611
1739
|
/**
|
|
1612
1740
|
* Translate a message key with optional parameters and fallback.
|
|
1613
1741
|
*
|
|
@@ -1632,6 +1760,8 @@ interface LocaleContext<Z extends LocaleTicket> extends SingleContext<Z> {
|
|
|
1632
1760
|
*/
|
|
1633
1761
|
t: (key: string, params?: Record<string, unknown>, fallback?: string) => string;
|
|
1634
1762
|
n: (value: number) => string;
|
|
1763
|
+
/** Register a locale (accepts input type, returns output type) */
|
|
1764
|
+
register: (registration?: Partial<Z>) => E;
|
|
1635
1765
|
}
|
|
1636
1766
|
interface LocaleOptions<Z extends LocaleRecord = LocaleRecord> extends SingleOptions {
|
|
1637
1767
|
adapter?: LocaleAdapter;
|
|
@@ -1653,8 +1783,8 @@ interface LocalePluginOptions extends LocaleContextOptions {}
|
|
|
1653
1783
|
*
|
|
1654
1784
|
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
1655
1785
|
*/
|
|
1656
|
-
declare function createLocale<Z extends
|
|
1657
|
-
declare function createLocaleFallback<Z extends
|
|
1786
|
+
declare function createLocale<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(_options?: LocaleOptions): R;
|
|
1787
|
+
declare function createLocaleFallback<Z extends LocaleTicketInput = LocaleTicketInput, E extends LocaleTicket<Z> = LocaleTicket<Z>, R extends LocaleContext<Z, E> = LocaleContext<Z, E>>(): R;
|
|
1658
1788
|
/**
|
|
1659
1789
|
* Creates a new locale context.
|
|
1660
1790
|
*
|
|
@@ -1685,7 +1815,7 @@ declare function createLocaleFallback<Z extends LocaleTicket = LocaleTicket, E e
|
|
|
1685
1815
|
* locale.select('es')
|
|
1686
1816
|
* ```
|
|
1687
1817
|
*/
|
|
1688
|
-
declare function createLocaleContext<Z extends
|
|
1818
|
+
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
1819
|
/**
|
|
1690
1820
|
* Creates a new locale plugin.
|
|
1691
1821
|
*
|
|
@@ -1698,7 +1828,7 @@ declare function createLocaleContext<Z extends LocaleTicket = LocaleTicket, E ex
|
|
|
1698
1828
|
*
|
|
1699
1829
|
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
1700
1830
|
*/
|
|
1701
|
-
declare function createLocalePlugin<Z extends
|
|
1831
|
+
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
1832
|
/**
|
|
1703
1833
|
* Returns the current locale instance.
|
|
1704
1834
|
*
|
|
@@ -1706,7 +1836,7 @@ declare function createLocalePlugin<Z extends LocaleTicket = LocaleTicket, E ext
|
|
|
1706
1836
|
*
|
|
1707
1837
|
* @see https://0.vuetifyjs.com/composables/plugins/use-locale
|
|
1708
1838
|
*/
|
|
1709
|
-
declare function useLocale<Z extends
|
|
1839
|
+
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
1840
|
//#endregion
|
|
1711
1841
|
//#region src/composables/useLogger/adapters/adapter.d.ts
|
|
1712
1842
|
interface LoggerAdapter {
|
|
@@ -2057,17 +2187,26 @@ interface UseMutationObserverReturn {
|
|
|
2057
2187
|
* resume()
|
|
2058
2188
|
* ```
|
|
2059
2189
|
*/
|
|
2060
|
-
declare function useMutationObserver(target: MaybeRef
|
|
2190
|
+
declare function useMutationObserver(target: MaybeRef<Element | null | undefined>, callback: (entries: MutationObserverRecord[]) => void, options?: UseMutationObserverOptions): UseMutationObserverReturn;
|
|
2061
2191
|
//#endregion
|
|
2062
2192
|
//#region src/composables/createNested/types.d.ts
|
|
2063
2193
|
/**
|
|
2064
|
-
*
|
|
2194
|
+
* Input type for nested tickets - what users provide to register().
|
|
2195
|
+
* Extend this interface to add custom properties.
|
|
2065
2196
|
*
|
|
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.
|
|
2197
|
+
* @template V The type of the ticket value.
|
|
2069
2198
|
*/
|
|
2070
|
-
interface
|
|
2199
|
+
interface NestedTicketInput<V = unknown> extends GroupTicketInput<V> {
|
|
2200
|
+
/** ID of the parent ticket, or undefined if this is a root item */
|
|
2201
|
+
parentId?: ID;
|
|
2202
|
+
}
|
|
2203
|
+
/**
|
|
2204
|
+
* Output type for nested tickets - what users receive from get().
|
|
2205
|
+
* Includes all input properties plus tree traversal and state methods.
|
|
2206
|
+
*
|
|
2207
|
+
* @template Z The input ticket type that extends NestedTicketInput.
|
|
2208
|
+
*/
|
|
2209
|
+
type NestedTicket<Z extends NestedTicketInput = NestedTicketInput> = GroupTicket<Z> & {
|
|
2071
2210
|
/** ID of the parent ticket, or undefined if this is a root item */
|
|
2072
2211
|
parentId: ID | undefined;
|
|
2073
2212
|
/** Whether this ticket is currently open/expanded */
|
|
@@ -2098,7 +2237,7 @@ interface NestedTicket<V = unknown> extends GroupTicket<V> {
|
|
|
2098
2237
|
siblings: () => ID[];
|
|
2099
2238
|
/** Get 1-indexed position among siblings (for aria-posinset) */
|
|
2100
2239
|
position: () => number;
|
|
2101
|
-
}
|
|
2240
|
+
};
|
|
2102
2241
|
/**
|
|
2103
2242
|
* Minimal context interface for open strategy callbacks.
|
|
2104
2243
|
* Only exposes the state needed for open/close operations.
|
|
@@ -2129,28 +2268,25 @@ interface OpenStrategy {
|
|
|
2129
2268
|
/**
|
|
2130
2269
|
* Registration input for nested items.
|
|
2131
2270
|
* Allows inline children definition for easier tree construction.
|
|
2271
|
+
*
|
|
2272
|
+
* @template Z The input ticket type that extends NestedTicketInput.
|
|
2132
2273
|
*/
|
|
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;
|
|
2274
|
+
type NestedRegistration<Z extends NestedTicketInput = NestedTicketInput> = Partial<Z> & {
|
|
2142
2275
|
/** Inline children to register with this item as parent */
|
|
2143
|
-
children?: NestedRegistration<
|
|
2144
|
-
}
|
|
2276
|
+
children?: NestedRegistration<Z>[];
|
|
2277
|
+
};
|
|
2145
2278
|
/**
|
|
2146
2279
|
* Context for managing nested/hierarchical item collections.
|
|
2147
2280
|
*
|
|
2281
|
+
* @template Z The input ticket type.
|
|
2282
|
+
* @template E The output ticket type.
|
|
2283
|
+
*
|
|
2148
2284
|
* @remarks
|
|
2149
2285
|
* Extends GroupContext with parent-child relationship tracking, open/close state,
|
|
2150
2286
|
* and hierarchical traversal methods. Perfect for tree structures, nested menus,
|
|
2151
2287
|
* file explorers, and organizational charts.
|
|
2152
2288
|
*/
|
|
2153
|
-
interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'register' | 'onboard' | 'select' | 'unselect' | 'toggle'> {
|
|
2289
|
+
interface NestedContext<Z extends NestedTicketInput = NestedTicketInput, E extends NestedTicket<Z> = NestedTicket<Z>> extends Omit<GroupContext<Z, E>, 'register' | 'onboard' | 'select' | 'unselect' | 'toggle'> {
|
|
2154
2290
|
/** Map of parent IDs to arrays of child IDs. Use register/unregister to modify. */
|
|
2155
2291
|
readonly children: ReadonlyMap<ID, readonly ID[]>;
|
|
2156
2292
|
/** Map of child IDs to their parent ID (or undefined for roots). Use register/unregister to modify. */
|
|
@@ -2158,7 +2294,7 @@ interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'r
|
|
|
2158
2294
|
/** Reactive Set of opened/expanded item IDs. Use open/close/flip to modify. */
|
|
2159
2295
|
readonly openedIds: Reactive<Set<ID>>;
|
|
2160
2296
|
/** Computed Set of opened/expanded item instances */
|
|
2161
|
-
openedItems: ComputedRef<Set<
|
|
2297
|
+
openedItems: ComputedRef<Set<E>>;
|
|
2162
2298
|
/** Open/expand one or more items by ID */
|
|
2163
2299
|
open: (ids: ID | ID[]) => void;
|
|
2164
2300
|
/** Close/collapse one or more items by ID */
|
|
@@ -2202,9 +2338,9 @@ interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'r
|
|
|
2202
2338
|
/** Get 1-indexed position among siblings (for aria-posinset). Returns 0 if not found. */
|
|
2203
2339
|
position: (id: ID) => number;
|
|
2204
2340
|
/** Computed array of root items (items with no parent) */
|
|
2205
|
-
roots: ComputedRef<
|
|
2341
|
+
roots: ComputedRef<E[]>;
|
|
2206
2342
|
/** Computed array of leaf items (items with no children) */
|
|
2207
|
-
leaves: ComputedRef<
|
|
2343
|
+
leaves: ComputedRef<E[]>;
|
|
2208
2344
|
/** Strategy controlling how items are opened */
|
|
2209
2345
|
openStrategy: OpenStrategy;
|
|
2210
2346
|
/** Select item(s) and all descendants, updating ancestor mixed states */
|
|
@@ -2213,10 +2349,10 @@ interface NestedContext<Z extends NestedTicket> extends Omit<GroupContext<Z>, 'r
|
|
|
2213
2349
|
unselect: (ids: ID | ID[]) => void;
|
|
2214
2350
|
/** Toggle selection with cascading behavior */
|
|
2215
2351
|
toggle: (ids: ID | ID[]) => void;
|
|
2216
|
-
/** Register a node with optional inline children */
|
|
2217
|
-
register: (registration?: NestedRegistration) =>
|
|
2352
|
+
/** Register a node with optional inline children (accepts input type, returns output type) */
|
|
2353
|
+
register: (registration?: NestedRegistration<Z>) => E;
|
|
2218
2354
|
/** Batch register nodes with optional inline children */
|
|
2219
|
-
onboard: (registrations: NestedRegistration[]) =>
|
|
2355
|
+
onboard: (registrations: NestedRegistration<Z>[]) => E[];
|
|
2220
2356
|
/** Unregister a node, optionally cascading to descendants */
|
|
2221
2357
|
unregister: (id: ID, cascade?: boolean) => void;
|
|
2222
2358
|
/** Offboard multiple nodes, optionally cascading */
|
|
@@ -2380,7 +2516,7 @@ declare const singleOpenStrategy: OpenStrategy;
|
|
|
2380
2516
|
* console.log(tree.opened('root')) // true
|
|
2381
2517
|
* ```
|
|
2382
2518
|
*/
|
|
2383
|
-
declare function createNested<Z extends
|
|
2519
|
+
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
2520
|
/**
|
|
2385
2521
|
* Creates a new nested context with provide/inject pattern.
|
|
2386
2522
|
*
|
|
@@ -2399,7 +2535,7 @@ declare function createNested<Z extends NestedTicket = NestedTicket, E extends N
|
|
|
2399
2535
|
* // In child: const tree = useTree()
|
|
2400
2536
|
* ```
|
|
2401
2537
|
*/
|
|
2402
|
-
declare function createNestedContext<Z extends
|
|
2538
|
+
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
2539
|
/**
|
|
2404
2540
|
* Returns the current nested instance from context.
|
|
2405
2541
|
*
|
|
@@ -2408,7 +2544,7 @@ declare function createNestedContext<Z extends NestedTicket = NestedTicket, E ex
|
|
|
2408
2544
|
*
|
|
2409
2545
|
* @see https://0.vuetifyjs.com/composables/selection/use-nested
|
|
2410
2546
|
*/
|
|
2411
|
-
declare function useNested<Z extends
|
|
2547
|
+
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
2548
|
//#endregion
|
|
2413
2549
|
//#region src/composables/useOverflow/index.d.ts
|
|
2414
2550
|
interface OverflowOptions {
|
|
@@ -2742,7 +2878,13 @@ interface ProxyRegistryContext<Z extends RegistryTicket = RegistryTicket> {
|
|
|
2742
2878
|
declare function useProxyRegistry<Z extends RegistryTicket = RegistryTicket>(registry: RegistryContext<Z>, options?: ProxyRegistryOptions): ProxyRegistryContext<Z>;
|
|
2743
2879
|
//#endregion
|
|
2744
2880
|
//#region src/composables/createQueue/index.d.ts
|
|
2745
|
-
|
|
2881
|
+
/**
|
|
2882
|
+
* Input type for queue tickets - what users provide to register().
|
|
2883
|
+
* Extend this interface to add custom properties.
|
|
2884
|
+
*
|
|
2885
|
+
* @template V The type of the ticket value.
|
|
2886
|
+
*/
|
|
2887
|
+
interface QueueTicketInput<V = unknown> extends RegistryTicket<V> {
|
|
2746
2888
|
/**
|
|
2747
2889
|
* Timeout in milliseconds
|
|
2748
2890
|
*
|
|
@@ -2752,6 +2894,18 @@ interface QueueTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
2752
2894
|
* - If a number: Ticket will be automatically removed after the specified milliseconds
|
|
2753
2895
|
*/
|
|
2754
2896
|
timeout?: number;
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* Output type for queue tickets - what users receive from get().
|
|
2900
|
+
* Includes all input properties plus queue state and methods.
|
|
2901
|
+
*
|
|
2902
|
+
* @template Z The input ticket type that extends QueueTicketInput.
|
|
2903
|
+
*/
|
|
2904
|
+
type QueueTicket<Z extends QueueTicketInput = QueueTicketInput> = Z & {
|
|
2905
|
+
/**
|
|
2906
|
+
* Timeout in milliseconds (resolved from input or default)
|
|
2907
|
+
*/
|
|
2908
|
+
timeout?: number;
|
|
2755
2909
|
/**
|
|
2756
2910
|
* Whether the timeout is currently paused
|
|
2757
2911
|
*
|
|
@@ -2768,10 +2922,16 @@ interface QueueTicket<V = unknown> extends RegistryTicket<V> {
|
|
|
2768
2922
|
* Equivalent to calling `queue.unregister(ticket.id)`
|
|
2769
2923
|
*/
|
|
2770
2924
|
dismiss: () => void;
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2925
|
+
};
|
|
2926
|
+
/**
|
|
2927
|
+
* Context for managing queue collections with timeout support.
|
|
2928
|
+
*
|
|
2929
|
+
* @template Z The input ticket type.
|
|
2930
|
+
* @template E The output ticket type.
|
|
2931
|
+
*/
|
|
2932
|
+
interface QueueContext<Z extends QueueTicketInput = QueueTicketInput, E extends QueueTicket<Z> = QueueTicket<Z>> extends Omit<RegistryContext<E>, 'register' | 'unregister' | 'offboard'> {
|
|
2773
2933
|
/**
|
|
2774
|
-
* Register a new ticket in the queue
|
|
2934
|
+
* Register a new ticket in the queue (accepts input type, returns output type)
|
|
2775
2935
|
*
|
|
2776
2936
|
* @param ticket The partial ticket data to register
|
|
2777
2937
|
* @remarks
|
|
@@ -2799,7 +2959,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2799
2959
|
* const ticket3 = queue.register({ value: 'Persistent', timeout: -1 })
|
|
2800
2960
|
* ```
|
|
2801
2961
|
*/
|
|
2802
|
-
register: (ticket?: Partial<Z>) =>
|
|
2962
|
+
register: (ticket?: Partial<Z>) => E;
|
|
2803
2963
|
/**
|
|
2804
2964
|
* Unregister a ticket from the queue
|
|
2805
2965
|
*
|
|
@@ -2828,7 +2988,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2828
2988
|
* console.log(removed?.value) // 'First'
|
|
2829
2989
|
* ```
|
|
2830
2990
|
*/
|
|
2831
|
-
unregister: (id?: ID) =>
|
|
2991
|
+
unregister: (id?: ID) => E | undefined;
|
|
2832
2992
|
/**
|
|
2833
2993
|
* Pause the timeout of the first ticket in the queue
|
|
2834
2994
|
*
|
|
@@ -2853,7 +3013,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2853
3013
|
* console.log(paused?.isPaused) // true
|
|
2854
3014
|
* ```
|
|
2855
3015
|
*/
|
|
2856
|
-
pause: () =>
|
|
3016
|
+
pause: () => E | undefined;
|
|
2857
3017
|
/**
|
|
2858
3018
|
* Resume the timeout of the first paused ticket in the queue
|
|
2859
3019
|
*
|
|
@@ -2879,7 +3039,7 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2879
3039
|
* console.log(resumed?.isPaused) // false
|
|
2880
3040
|
* ```
|
|
2881
3041
|
*/
|
|
2882
|
-
resume: () =>
|
|
3042
|
+
resume: () => E | undefined;
|
|
2883
3043
|
/**
|
|
2884
3044
|
* Clear the entire queue
|
|
2885
3045
|
*
|
|
@@ -2933,6 +3093,10 @@ interface QueueContext<Z extends QueueTicket = QueueTicket> extends RegistryCont
|
|
|
2933
3093
|
* ```
|
|
2934
3094
|
*/
|
|
2935
3095
|
dispose: () => void;
|
|
3096
|
+
/**
|
|
3097
|
+
* Batch unregister tickets from the queue
|
|
3098
|
+
*/
|
|
3099
|
+
offboard: (ids: ID[]) => void;
|
|
2936
3100
|
}
|
|
2937
3101
|
interface QueueOptions extends RegistryOptions {
|
|
2938
3102
|
/**
|
|
@@ -2979,7 +3143,7 @@ interface QueueContextOptions extends QueueOptions {
|
|
|
2979
3143
|
* console.log(queue.size) // 2
|
|
2980
3144
|
* ```
|
|
2981
3145
|
*/
|
|
2982
|
-
declare function createQueue<Z extends
|
|
3146
|
+
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
3147
|
/**
|
|
2984
3148
|
* Creates a new queue context.
|
|
2985
3149
|
*
|
|
@@ -2999,7 +3163,7 @@ declare function createQueue<Z extends QueueTicket = QueueTicket, E extends Queu
|
|
|
2999
3163
|
* })
|
|
3000
3164
|
* ```
|
|
3001
3165
|
*/
|
|
3002
|
-
declare function createQueueContext<Z extends
|
|
3166
|
+
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
3167
|
/**
|
|
3004
3168
|
* Returns the current queue instance.
|
|
3005
3169
|
*
|
|
@@ -3017,7 +3181,7 @@ declare function createQueueContext<Z extends QueueTicket = QueueTicket, E exten
|
|
|
3017
3181
|
* </script>
|
|
3018
3182
|
* ```
|
|
3019
3183
|
*/
|
|
3020
|
-
declare function useQueue<Z extends
|
|
3184
|
+
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
3185
|
//#endregion
|
|
3022
3186
|
//#region src/composables/useResizeObserver/index.d.ts
|
|
3023
3187
|
interface ResizeObserverEntry {
|
|
@@ -3097,7 +3261,7 @@ interface UseResizeObserverReturn {
|
|
|
3097
3261
|
* resume()
|
|
3098
3262
|
* ```
|
|
3099
3263
|
*/
|
|
3100
|
-
declare function useResizeObserver(target: MaybeRef
|
|
3264
|
+
declare function useResizeObserver(target: MaybeRef<Element | null | undefined>, callback: (entries: ResizeObserverEntry[]) => void, options?: ResizeObserverOptions): UseResizeObserverReturn;
|
|
3101
3265
|
interface UseElementSizeReturn extends UseResizeObserverReturn {
|
|
3102
3266
|
/**
|
|
3103
3267
|
* The width of the element in pixels
|
|
@@ -3131,7 +3295,7 @@ interface UseElementSizeReturn extends UseResizeObserverReturn {
|
|
|
3131
3295
|
* })
|
|
3132
3296
|
* ```
|
|
3133
3297
|
*/
|
|
3134
|
-
declare function useElementSize(target: MaybeRef
|
|
3298
|
+
declare function useElementSize(target: MaybeRef<Element | null | undefined>): UseElementSizeReturn;
|
|
3135
3299
|
//#endregion
|
|
3136
3300
|
//#region src/composables/useStorage/adapters/adapter.d.ts
|
|
3137
3301
|
interface StorageAdapter$1 {
|
|
@@ -3320,7 +3484,31 @@ type ThemeRecord = {
|
|
|
3320
3484
|
lazy?: boolean;
|
|
3321
3485
|
colors: ThemeColors;
|
|
3322
3486
|
};
|
|
3323
|
-
|
|
3487
|
+
/**
|
|
3488
|
+
* Input type for theme tickets - what users provide to register().
|
|
3489
|
+
* Extend this interface to add custom properties.
|
|
3490
|
+
*/
|
|
3491
|
+
interface ThemeTicketInput extends SingleTicketInput<ThemeColors> {
|
|
3492
|
+
/**
|
|
3493
|
+
* Indicates whether the theme is dark or light.
|
|
3494
|
+
*
|
|
3495
|
+
* @remarks Defaults to `false` (light theme).
|
|
3496
|
+
*/
|
|
3497
|
+
dark?: boolean;
|
|
3498
|
+
/**
|
|
3499
|
+
* Indicates whether the theme should be loaded lazily.
|
|
3500
|
+
*
|
|
3501
|
+
* @remarks Defaults to `false`.
|
|
3502
|
+
*/
|
|
3503
|
+
lazy?: boolean;
|
|
3504
|
+
}
|
|
3505
|
+
/**
|
|
3506
|
+
* Output type for theme tickets - what users receive from get().
|
|
3507
|
+
* Includes all input properties plus guaranteed dark/lazy values.
|
|
3508
|
+
*
|
|
3509
|
+
* @template Z The input ticket type that extends ThemeTicketInput.
|
|
3510
|
+
*/
|
|
3511
|
+
type ThemeTicket<Z extends ThemeTicketInput = ThemeTicketInput> = SingleTicket<Z> & {
|
|
3324
3512
|
/**
|
|
3325
3513
|
* Indicates whether the theme is dark or light.
|
|
3326
3514
|
*
|
|
@@ -3333,8 +3521,14 @@ interface ThemeTicket extends SingleTicket<ThemeColors> {
|
|
|
3333
3521
|
* @remarks Defaults to `false`.
|
|
3334
3522
|
*/
|
|
3335
3523
|
lazy: boolean;
|
|
3336
|
-
}
|
|
3337
|
-
|
|
3524
|
+
};
|
|
3525
|
+
/**
|
|
3526
|
+
* Context for managing theme collections.
|
|
3527
|
+
*
|
|
3528
|
+
* @template Z The input ticket type.
|
|
3529
|
+
* @template E The output ticket type.
|
|
3530
|
+
*/
|
|
3531
|
+
interface ThemeContext<Z extends ThemeTicketInput = ThemeTicketInput, E extends ThemeTicket<Z> = ThemeTicket<Z>> extends Omit<SingleContext<Z, E>, 'register'> {
|
|
3338
3532
|
/**
|
|
3339
3533
|
* A computed reference to the resolved colors of the current theme.
|
|
3340
3534
|
*
|
|
@@ -3386,6 +3580,8 @@ interface ThemeContext<Z extends ThemeTicket> extends SingleContext<Z> {
|
|
|
3386
3580
|
* ```
|
|
3387
3581
|
*/
|
|
3388
3582
|
cycle: (themes?: ID[]) => void;
|
|
3583
|
+
/** Register a theme (accepts input type, returns output type) */
|
|
3584
|
+
register: (registration?: Partial<Z>) => E;
|
|
3389
3585
|
}
|
|
3390
3586
|
interface ThemeOptions<Z extends ThemeRecord = ThemeRecord> extends RegistryOptions {
|
|
3391
3587
|
/**
|
|
@@ -3451,7 +3647,7 @@ interface ThemePluginOptions extends ThemeContextOptions {}
|
|
|
3451
3647
|
* })
|
|
3452
3648
|
* ```
|
|
3453
3649
|
*/
|
|
3454
|
-
declare function createTheme<Z extends
|
|
3650
|
+
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
3651
|
/**
|
|
3456
3652
|
* Creates a new theme context trinity.
|
|
3457
3653
|
*
|
|
@@ -3486,7 +3682,7 @@ declare function createTheme<Z extends ThemeTicket = ThemeTicket, E extends Them
|
|
|
3486
3682
|
* })
|
|
3487
3683
|
* ```
|
|
3488
3684
|
*/
|
|
3489
|
-
declare function createThemeContext<Z extends
|
|
3685
|
+
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
3686
|
/**
|
|
3491
3687
|
* Creates a new theme plugin.
|
|
3492
3688
|
*
|
|
@@ -3528,7 +3724,7 @@ declare function createThemeContext<Z extends ThemeTicket = ThemeTicket, E exten
|
|
|
3528
3724
|
* app.mount('#app')
|
|
3529
3725
|
* ```
|
|
3530
3726
|
*/
|
|
3531
|
-
declare function createThemePlugin<Z extends
|
|
3727
|
+
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
3728
|
/**
|
|
3533
3729
|
* Returns the current theme instance.
|
|
3534
3730
|
*
|
|
@@ -3552,7 +3748,7 @@ declare function createThemePlugin<Z extends ThemeTicket = ThemeTicket, E extend
|
|
|
3552
3748
|
* </template>
|
|
3553
3749
|
* ```
|
|
3554
3750
|
*/
|
|
3555
|
-
declare function useTheme<Z extends
|
|
3751
|
+
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
3752
|
//#endregion
|
|
3557
3753
|
//#region src/composables/createTimeline/index.d.ts
|
|
3558
3754
|
interface TimelineContext<Z extends TimelineTicket> extends RegistryContext<Z> {
|
|
@@ -4062,4 +4258,4 @@ interface VirtualContext<T = unknown> {
|
|
|
4062
4258
|
*/
|
|
4063
4259
|
declare function useVirtual<T = unknown>(items: Ref<readonly T[]>, _options?: VirtualOptions): VirtualContext<T>;
|
|
4064
4260
|
//#endregion
|
|
4065
|
-
export {
|
|
4261
|
+
export { QueueTicket as $, createForm as $n, createDate as $r, LoggerPluginOptions as $t, useTheme as A, useElementIntersection as An, FeaturesAdapterInterface as Ar, singleOpenStrategy as At, useStorage as B, useHydration as Bn, TokenValue as Br, OpenStrategyContext as Bt, ThemePluginOptions as C, ContextKey as Ci, LazyContext as Cn, createFeaturesPlugin as Cr, createOverflow as Ct, createTheme as D, useContext as Di, IntersectionObserverOptions as Dn, FlagsmithFeatureAdapter as Dr, createNestedContext as Dt, ThemeTicketInput as E, provideContext as Ei, IntersectionObserverEntry as En, LaunchDarklyFeatureAdapter as Er, createNested as Et, StorageOptions as F, HydrationPluginOptions as Fn, TokenContext as Fr, NestedRegistration as Ft, ResizeObserverOptions as G, FormContext as Gn, EventHandler as Gr, MediaQueryContext as Gt, StorageType as H, UseHotkeyOptions as Hn, createTokensContext as Hr, UseMutationObserverOptions as Ht, StoragePluginOptions as I, createFallbackHydration as In, TokenContextOptions as Ir, NestedSelectionMode as It, useElementSize as J, FormTicket as Jn, useWindowEventListener as Jr, usePrefersDark as Jt, UseElementSizeReturn as K, FormContextOptions as Kn, useDocumentEventListener as Kr, useMediaQuery as Kt, createStorage as L, createHydration as Ln, TokenOptions as Lr, NestedTicket as Lt, ThemeAdapter as M, HydrationContext as Mn, FlatTokenCollection as Mr, NestedContextOptions as Mt, StorageContext as N, HydrationContextOptions as Nn, TokenAlias as Nr, NestedOpenMode as Nt, createThemeContext as O, UseElementIntersectionReturn as On, FeaturesAdapter as Or, useNested as Ot, StorageContextOptions as P, HydrationOptions as Pn, TokenCollection as Pr, NestedOptions as Pt, QueueOptions as Q, FormValue as Qn, DatePluginOptions as Qr, LoggerOptions as Qt, createStorageContext as R, createHydrationContext as Rn, TokenPrimitive as Rr, NestedTicketInput as Rt, ThemeOptions as S, createPlugin as Si, LocaleAdapter as Sn, createFeaturesContext as Sr, OverflowOptions as St, ThemeTicket as T, createContext as Ti, useLazy as Tn, PostHogFeatureAdapter as Tr, useOverflow as Tt, MemoryAdapter as U, UseHotkeyReturn as Un, useTokens as Ur, UseMutationObserverReturn as Ut, StorageAdapter as V, PlatformContext as Vn, createTokens as Vr, MutationObserverRecord as Vt, ResizeObserverEntry as W, useHotkey as Wn, CleanupFunction as Wr, useMutationObserver as Wt, QueueContext as X, FormValidationResult as Xn, DateContextOptions as Xr, LoggerContext as Xt, useResizeObserver as Y, FormTicketInput as Yn, DateContext as Yr, usePrefersReducedMotion as Yt, QueueContextOptions as Z, FormValidationRule as Zn, DateOptions as Zr, LoggerContextOptions as Zt, useTimeline as _, useBreakpoints as _i, createLocaleContext as _n, FeatureOptions as _r, usePermissions as _t, VirtualItem as a, ClickOutsideTarget as ai, Vuetify0LoggerAdapter as an, FilterItem as ar, ProxyRegistryOptions as at, ThemeContext as b, Plugin as bi, useLocale as bn, FeatureTicketInput as br, OverflowContext as bt, useVirtual as c, useClickOutside as ci, LoggerAdapter as cn, FilterQuery as cr, useProxyModel as ct, TimelineContext as d, BreakpointsContextOptions as di, LocaleOptions as dn, createFilter as dr, PermissionOptions as dt, createDateContext as ei, createLogger as en, createFormContext as er, QueueTicketInput as et, TimelineContextOptions as f, BreakpointsOptions as fi, LocalePluginOptions as fn, createFilterContext as fr, PermissionPluginOptions as ft, createTimelineContext as g, createBreakpointsPlugin as gi, createLocale as gn, FeatureContextOptions as gr, createPermissionsPlugin as gt, createTimeline as h, createBreakpointsContext as hi, LocaleTicketInput as hn, FeatureContext as hr, createPermissionsContext as ht, VirtualDirection as i, ClickOutsideIgnoreTarget as ii, LogLevel as in, FilterFunction as ir, ProxyRegistryContext as it, Vuetify0ThemeAdapter as j, useIntersectionObserver as jn, FeaturesAdapterValue as jr, NestedContext as jt, createThemePlugin as k, UseIntersectionObserverReturn as kn, FeaturesAdapterFlags as kr, multipleOpenStrategy as kt, ToggleScopeControls as l, BreakpointName as li, LocaleContext as ln, FilterResult as lr, PermissionContext as lt, TimelineTicket as m, createBreakpoints as mi, LocaleTicket as mn, useFilterContext as mr, createPermissions as mt, VirtualAnchor as n, useDate as ni, createLoggerPlugin as nn, FilterContext as nr, createQueueContext as nt, VirtualOptions as o, UseClickOutsideOptions as oi, PinoLoggerAdapter as on, FilterMode as or, useProxyRegistry as ot, TimelineOptions as p, BreakpointsPluginOptions as pi, LocaleRecord as pn, useFilter as pr, PermissionTicket as pt, UseResizeObserverReturn as q, FormOptions as qn, useEventListener as qr, usePrefersContrast as qt, VirtualContext as r, ClickOutsideElement as ri, useLogger as rn, FilterContextOptions as rr, useQueue as rt, VirtualState as s, UseClickOutsideReturn as si, ConsolaLoggerAdapter as sn, FilterOptions as sr, ProxyModelOptions as st, ScrollToOptions as t, createDatePlugin as ti, createLoggerContext as tn, useForm as tr, createQueue as tt, useToggleScope as u, BreakpointsContext as ui, LocaleContextOptions as un, Primitive as ur, PermissionContextOptions as ut, Colors as v, toReactive as vi, createLocaleFallback as vn, FeaturePluginOptions as vr, PermissionAdapter as vt, ThemeRecord as w, CreateContextOptions as wi, LazyOptions as wn, useFeatures as wr, createOverflowContext as wt, ThemeContextOptions as x, PluginOptions as xi, Vuetify0LocaleAdapter as xn, createFeatures as xr, OverflowContextOptions as xt, ThemeColors as y, toArray as yi, createLocalePlugin as yn, FeatureTicket as yr, PermissionAdapterInterface as yt, createStoragePlugin as z, createHydrationPlugin as zn, TokenTicket as zr, OpenStrategy as zt };
|