@aerogel/core 0.0.0-next.d197d66a9d339318d752a1d8a96b2919faba3003 → 0.0.0-next.d4f3ae130b52cace673d7c95681c19256ee1acb4

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.
@@ -0,0 +1 @@
1
+ [data-v-ba56d181] a{--tw-font-weight: var(--font-weight-normal);text-decoration-line:none;color:var(--color-links);font-weight:var(--font-weight-normal)}@media (hover: hover){[data-v-ba56d181] a:hover{text-decoration-line:underline}}
@@ -750,7 +750,7 @@ declare function __VLS_template_29(): {
750
750
  attrs: Partial<{}>;
751
751
  slots: {
752
752
  default?(_: {}): any;
753
- empty?(_: {}): any;
753
+ default?(_: {}): any;
754
754
  };
755
755
  refs: {};
756
756
  rootEl: any;
@@ -1301,12 +1301,6 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
1301
1301
  readonly [K in keyof TComputedState]: TComputedState[K];
1302
1302
  }>;
1303
1303
 
1304
- export declare function computedVariantClasses<T>(value: RefsObject<{
1305
- baseClasses?: string;
1306
- } & CVAProps<T>>, config: {
1307
- baseClasses?: string;
1308
- } & CVAConfig<T>): ComputedRef<string>;
1309
-
1310
1304
  export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
1311
1305
  close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
1312
1306
  $content: ModalContentInstance;
@@ -1422,7 +1416,7 @@ declare const defaultServices: {
1422
1416
 
1423
1417
  export declare type DefaultServiceState = any;
1424
1418
 
1425
- export declare function defineDirective(directive: Directive): Directive;
1419
+ export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
1426
1420
 
1427
1421
  export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
1428
1422
 
@@ -1964,11 +1958,18 @@ export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component
1964
1958
 
1965
1959
  export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
1966
1960
 
1961
+ export declare type MeasureDirectiveModifiers = 'css' | 'watch';
1962
+
1963
+ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
1964
+ css?: boolean;
1965
+ watch?: boolean;
1966
+ };
1967
+
1967
1968
  export declare const MOBILE_BREAKPOINT = 768;
1968
1969
 
1969
1970
  export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1970
1971
  props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
1971
- dismissable?: boolean;
1972
+ closeClass?: HTMLAttributes["class"];
1972
1973
  wrapperClass?: HTMLAttributes["class"];
1973
1974
  class?: HTMLAttributes["class"];
1974
1975
  }) & Partial<{}>> & PublicProps;
@@ -2068,10 +2069,6 @@ export declare type PromptOptions = AcceptRefs<{
2068
2069
  trim?: boolean;
2069
2070
  }>;
2070
2071
 
2071
- export declare type RefsObject<T> = {
2072
- [K in keyof T]: Ref<T[K]> | T[K];
2073
- };
2074
-
2075
2072
  export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
2076
2073
 
2077
2074
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
@@ -2339,6 +2336,11 @@ export declare type Unref<T> = {
2339
2336
  [K in keyof T]: T[K] extends MaybeRef<infer Value> ? Value : T[K];
2340
2337
  };
2341
2338
 
2339
+ export declare function useAlertModal(props: AlertModalProps): {
2340
+ renderedTitle: ComputedRef<string>;
2341
+ titleHidden: ComputedRef<boolean>;
2342
+ };
2343
+
2342
2344
  export declare function useConfirmModal(props: ConfirmModalProps): {
2343
2345
  form: FormController< {
2344
2346
  [x: string]: FormFieldDefinition<"boolean", string, object> | {
@@ -2353,6 +2355,8 @@ export declare function useConfirmModal(props: ConfirmModalProps): {
2353
2355
  required: string | undefined;
2354
2356
  };
2355
2357
  }>;
2358
+ renderedTitle: ComputedRef<string>;
2359
+ titleHidden: ComputedRef<boolean>;
2356
2360
  renderedAcceptText: ComputedRef<string>;
2357
2361
  renderedCancelText: ComputedRef<string>;
2358
2362
  };
@@ -2396,6 +2400,12 @@ export declare function validate(value: unknown, rule: string): string[];
2396
2400
 
2397
2401
  export declare const validators: Record<string, FormFieldValidator>;
2398
2402
 
2403
+ export declare function variantClasses<T>(value: {
2404
+ baseClasses?: string;
2405
+ } & CVAProps<T>, config: {
2406
+ baseClasses?: string;
2407
+ } & CVAConfig<T>): string;
2408
+
2399
2409
  export declare type Variants<T extends Record<string, string | boolean>> = Required<{
2400
2410
  [K in keyof T]: Exclude<T[K], undefined> extends string ? {
2401
2411
  [key in Exclude<T[K], undefined>]: string | null;
@@ -2503,6 +2513,13 @@ declare module '@aerogel/core' {
2503
2513
  }
2504
2514
 
2505
2515
 
2516
+ declare module '@aerogel/core' {
2517
+ interface EventsPayload {
2518
+ 'purge-storage': void;
2519
+ }
2520
+ }
2521
+
2522
+
2506
2523
  declare module '@aerogel/core' {
2507
2524
  interface EventsPayload {
2508
2525
  'close-modal': {
@@ -2519,10 +2536,3 @@ declare module '@aerogel/core' {
2519
2536
  };
2520
2537
  }
2521
2538
  }
2522
-
2523
-
2524
- declare module '@aerogel/core' {
2525
- interface EventsPayload {
2526
- 'purge-storage': void;
2527
- }
2528
- }