@aerogel/core 0.0.0-next.e4c0d5bd2801fbe93545477ea515af53df69b522 → 0.0.0-next.ea2e864c719d0a4d01b04729a9b681c0e9c85ea7

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.
@@ -207,11 +207,11 @@ declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}
207
207
 
208
208
  declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
209
209
 
210
- declare const __VLS_component_27: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
210
+ declare const __VLS_component_27: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
211
211
 
212
- declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
212
+ declare const __VLS_component_28: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
213
213
 
214
- declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
214
+ declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
215
 
216
216
  declare const __VLS_component_3: DefineComponent<__VLS_Props, {
217
217
  id: string;
@@ -374,6 +374,10 @@ declare type __VLS_PrettifyLocal_4<T> = {
374
374
  [K in keyof T]: T[K];
375
375
  } & {};
376
376
 
377
+ declare type __VLS_PrettifyLocal_5<T> = {
378
+ [K in keyof T]: T[K];
379
+ } & {};
380
+
377
381
  declare type __VLS_Props = InputProps & {
378
382
  as?: string;
379
383
  };
@@ -421,13 +425,13 @@ declare type __VLS_Props_17 = {
421
425
  };
422
426
 
423
427
  declare type __VLS_Props_18 = {
424
- value: AcceptableValue;
425
428
  class?: HTMLAttributes['class'];
426
- innerClass?: HTMLAttributes['class'];
427
429
  };
428
430
 
429
431
  declare type __VLS_Props_19 = {
432
+ value: AcceptableValue;
430
433
  class?: HTMLAttributes['class'];
434
+ innerClass?: HTMLAttributes['class'];
431
435
  };
432
436
 
433
437
  declare type __VLS_Props_2 = {
@@ -438,7 +442,11 @@ declare type __VLS_Props_20 = {
438
442
  class?: HTMLAttributes['class'];
439
443
  };
440
444
 
441
- declare type __VLS_Props_21 = ToastProps & {
445
+ declare type __VLS_Props_21 = {
446
+ class?: HTMLAttributes['class'];
447
+ };
448
+
449
+ declare type __VLS_Props_22 = ToastProps & {
442
450
  class?: HTMLAttributes['class'];
443
451
  };
444
452
 
@@ -1764,6 +1772,32 @@ export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_13<typeof __
1764
1772
 
1765
1773
  export declare const HeadlessSelectValue: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1766
1774
 
1775
+ export declare const HeadlessSwitch: <T extends boolean = boolean>(__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<{
1776
+ props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
1777
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1778
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (InputProps<T> & {
1779
+ class?: HTMLAttributes["class"];
1780
+ labelClass?: HTMLAttributes["class"];
1781
+ inputClass?: HTMLAttributes["class"];
1782
+ thumbClass?: HTMLAttributes["class"];
1783
+ }) & Partial<{}>> & PublicProps;
1784
+ expose(exposed: ShallowUnwrapRef< {
1785
+ id: string;
1786
+ name: ComputedRef<string | undefined>;
1787
+ label: ComputedRef<string | undefined>;
1788
+ description: ComputedRef<string | undefined>;
1789
+ value: ComputedRef<boolean | undefined>;
1790
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1791
+ required: ComputedRef<boolean | undefined>;
1792
+ update(value: Nullable<FormFieldValue>): void;
1793
+ }>): void;
1794
+ attrs: any;
1795
+ slots: {};
1796
+ emit: (evt: "update:modelValue", value: Nullable<FormFieldValue>) => void;
1797
+ }>) => VNode & {
1798
+ __ctx?: Awaited<typeof __VLS_setup>;
1799
+ };
1800
+
1767
1801
  export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1768
1802
 
1769
1803
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
@@ -1990,8 +2024,8 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
1990
2024
 
1991
2025
  export declare const MOBILE_BREAKPOINT = 768;
1992
2026
 
1993
- 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<{
1994
- props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2027
+ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2028
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
1995
2029
  wrapperClass?: HTMLAttributes["class"];
1996
2030
  class?: HTMLAttributes["class"];
1997
2031
  closeHidden?: boolean;
@@ -2120,8 +2154,8 @@ export declare function resetPiniaStore(): Pinia;
2120
2154
 
2121
2155
  export declare function safeHtml(html: string): string;
2122
2156
 
2123
- export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2124
- props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
2157
+ export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2158
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
2125
2159
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
2126
2160
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
2127
2161
  expose(exposed: ShallowUnwrapRef< {}>): void;
@@ -2171,7 +2205,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
2171
2205
  side?: SelectContentProps['side'];
2172
2206
  }
2173
2207
 
2174
- export declare const SelectTrigger: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2208
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2175
2209
 
2176
2210
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2177
2211
  static persist: string[];
@@ -2258,7 +2292,9 @@ export declare function stringInput(defaultValue?: string, options?: {
2258
2292
 
2259
2293
  export declare type SubmitFormListener = () => unknown;
2260
2294
 
2261
- export declare const Toast: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2295
+ export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2296
+
2297
+ export declare const Toast: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2262
2298
 
2263
2299
  export declare interface ToastAction {
2264
2300
  label: string;
@@ -2493,33 +2529,33 @@ declare module 'vue' {
2493
2529
 
2494
2530
  declare module '@aerogel/core' {
2495
2531
  interface AerogelOptions {
2496
- components?: Partial<Partial<UIComponents>>;
2532
+ services?: Record<string, Service>;
2533
+ settings?: AppSetting[];
2497
2534
  }
2498
2535
  }
2499
2536
 
2500
2537
 
2501
- declare module '@aerogel/core' {
2502
- interface Services extends UIServices {
2538
+ declare module 'vue' {
2539
+ interface ComponentCustomProperties extends Services {
2503
2540
  }
2504
2541
  }
2505
2542
 
2506
2543
 
2507
- declare module '@aerogel/core' {
2508
- interface AerogelOptions {
2509
- services?: Record<string, Service>;
2510
- settings?: AppSetting[];
2511
- }
2544
+ declare global {
2545
+ var testingRuntime: AerogelTestingRuntime | undefined;
2512
2546
  }
2513
2547
 
2514
2548
 
2515
- declare module 'vue' {
2516
- interface ComponentCustomProperties extends Services {
2549
+ declare module '@aerogel/core' {
2550
+ interface AerogelOptions {
2551
+ components?: Partial<Partial<UIComponents>>;
2517
2552
  }
2518
2553
  }
2519
2554
 
2520
2555
 
2521
- declare global {
2522
- var testingRuntime: AerogelTestingRuntime | undefined;
2556
+ declare module '@aerogel/core' {
2557
+ interface Services extends UIServices {
2558
+ }
2523
2559
  }
2524
2560
 
2525
2561
 
@@ -2538,6 +2574,13 @@ declare module '@aerogel/core' {
2538
2574
  }
2539
2575
 
2540
2576
 
2577
+ declare module '@aerogel/core' {
2578
+ interface EventsPayload {
2579
+ 'purge-storage': void;
2580
+ }
2581
+ }
2582
+
2583
+
2541
2584
  declare module '@aerogel/core' {
2542
2585
  interface EventsPayload {
2543
2586
  'close-modal': {
@@ -2554,10 +2597,3 @@ declare module '@aerogel/core' {
2554
2597
  };
2555
2598
  }
2556
2599
  }
2557
-
2558
-
2559
- declare module '@aerogel/core' {
2560
- interface EventsPayload {
2561
- 'purge-storage': void;
2562
- }
2563
- }