@aerogel/core 0.1.1-next.b342b522bd4e8a154c68962bb545cd8ae66010c3 → 0.1.1-next.bf5c51083c0817e96fa4f38273c32d388441f514

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.
@@ -34,8 +34,6 @@ import { DropdownMenuContentProps } from 'reka-ui';
34
34
  import { EmitFn } from 'vue';
35
35
  import { Facade } from '@noeldemartin/utils';
36
36
  import { FocusOutsideEvent } from 'reka-ui';
37
- import { GetClosureArgs } from '@noeldemartin/utils';
38
- import { GetClosureResult } from '@noeldemartin/utils';
39
37
  import { GetModalProps } from '@noeldemartin/vue-modals';
40
38
  import { GetModalResponse } from '@noeldemartin/vue-modals';
41
39
  import { _GettersTree } from 'pinia';
@@ -1552,9 +1550,9 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
1552
1550
 
1553
1551
  export { createModal }
1554
1552
 
1555
- export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
1553
+ export declare type CVAConfig<T> = NonNullable<Parameters<typeof cva<T>>[1]>;
1556
1554
 
1557
- export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
1555
+ export declare type CVAProps<T> = NonNullable<Parameters<ReturnType<typeof cva<T>>>[0]>;
1558
1556
 
1559
1557
  export declare function dateInput(defaultValue?: Date, options?: {
1560
1558
  rules?: string[];
@@ -1887,6 +1885,8 @@ export declare function getErrorMessage(error: ErrorSource): string;
1887
1885
 
1888
1886
  export declare type GetFormFieldValue<TType, TValueType = unknown> = TType extends 'string' ? string : TType extends 'number' ? number : TType extends 'boolean' ? boolean : TType extends 'enum' ? TValueType : TType extends 'object' ? TValueType extends object ? TValueType : object : TType extends 'date' ? Date : never;
1889
1887
 
1888
+ export declare function getLocalTimezoneOffset(date?: Nullable<Date>): number;
1889
+
1890
1890
  export declare function getMarkdownRouter(): MarkdownRouter | null;
1891
1891
 
1892
1892
  export { GetModalProps }
@@ -2132,7 +2132,7 @@ export declare interface InputProps<T extends Nullable<FormFieldValue> = Nullabl
2132
2132
  modelValue?: T;
2133
2133
  }
2134
2134
 
2135
- export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
2135
+ export declare function installPlugins(plugins: Plugin_2[], ...args: Parameters<Plugin_2['install']>): Promise<void>;
2136
2136
 
2137
2137
  export declare abstract class Job<Listener extends JobListener = JobListener, Status extends JobStatus = JobStatus, SerializedStatus extends JobStatus = JobStatus> {
2138
2138
  protected status: Status;
@@ -2225,8 +2225,6 @@ export declare type LoadingOptions = AcceptRefs<{
2225
2225
  delay?: number;
2226
2226
  }>;
2227
2227
 
2228
- export declare const LOCAL_TIMEZONE_OFFSET: number;
2229
-
2230
2228
  export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2231
2229
 
2232
2230
  export declare interface MarkdownRouter {
@@ -2366,7 +2364,9 @@ export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_
2366
2364
 
2367
2365
  export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
2368
2366
 
2369
- export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
2367
+ export declare function reactiveSet<T>(initial?: T[] | Set<T>, options?: {
2368
+ equals?: (a: T, b: T) => boolean;
2369
+ }): {
2370
2370
  values(): T[];
2371
2371
  has(item: T): boolean;
2372
2372
  add(item: T): void;
@@ -2866,26 +2866,26 @@ declare module '@aerogel/core' {
2866
2866
 
2867
2867
  declare module '@aerogel/core' {
2868
2868
  interface AerogelOptions {
2869
- handleError?(error: ErrorSource): boolean;
2869
+ directives?: Record<string, Directive>;
2870
2870
  }
2871
2871
  }
2872
2872
 
2873
2873
 
2874
- declare module '@aerogel/core' {
2875
- interface Services extends ErrorsServices {
2874
+ declare module 'vue' {
2875
+ interface ComponentCustomDirectives extends AerogelDirectives {
2876
2876
  }
2877
2877
  }
2878
2878
 
2879
2879
 
2880
2880
  declare module '@aerogel/core' {
2881
2881
  interface AerogelOptions {
2882
- directives?: Record<string, Directive>;
2882
+ handleError?(error: ErrorSource): boolean;
2883
2883
  }
2884
2884
  }
2885
2885
 
2886
2886
 
2887
- declare module 'vue' {
2888
- interface ComponentCustomDirectives extends AerogelDirectives {
2887
+ declare module '@aerogel/core' {
2888
+ interface Services extends ErrorsServices {
2889
2889
  }
2890
2890
  }
2891
2891