@aerogel/core 0.1.1-next.d3af81f1f7f69a65742c4d298e0c77c6c3977d2b → 0.1.1-next.d6144642389e7fbf7ef662ecdbb069e185750112

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.
@@ -4,6 +4,7 @@ import { App as App_2 } from 'vue';
4
4
  import { AsTag } from 'reka-ui';
5
5
  import { ClassValue } from 'clsx';
6
6
  import { closeModal } from '@noeldemartin/vue-modals';
7
+ import { ComboboxGroupProps } from 'reka-ui';
7
8
  import { ComboboxItemProps } from 'reka-ui';
8
9
  import { Component } from 'vue';
9
10
  import { ComponentCustomProperties } from 'vue';
@@ -166,7 +167,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
166
167
  as?: string;
167
168
  }> & Readonly<{
168
169
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
169
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
170
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
170
171
  id: string;
171
172
  name: ComputedRef<string | undefined>;
172
173
  label: ComputedRef<string | undefined>;
@@ -186,7 +187,11 @@ declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {},
186
187
 
187
188
  declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
188
189
 
189
- declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
190
+ declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
191
+ select: () => any;
192
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
193
+ onSelect?: (() => any) | undefined;
194
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
190
195
 
191
196
  declare const __VLS_component_21: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
192
197
 
@@ -249,11 +254,7 @@ declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}
249
254
 
250
255
  declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
251
256
 
252
- declare const __VLS_component_34: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
253
- "update:modelValue": (value: unknown) => any;
254
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
255
- "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
256
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
257
+ declare const __VLS_component_34: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
257
258
 
258
259
  declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
259
260
 
@@ -478,6 +479,7 @@ declare type __VLS_Props_27 = ToastProps & {
478
479
 
479
480
  declare type __VLS_Props_28 = {
480
481
  name: string;
482
+ value: unknown;
481
483
  };
482
484
 
483
485
  declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
@@ -502,10 +504,6 @@ declare type __VLS_Props_9 = {
502
504
  newInputValue?: (value: string) => Nullable<FormFieldValue>;
503
505
  };
504
506
 
505
- declare type __VLS_PublicProps = {
506
- modelValue?: unknown;
507
- } & __VLS_Props_28;
508
-
509
507
  declare function __VLS_template(): {
510
508
  attrs: Partial<{}>;
511
509
  slots: {
@@ -658,7 +656,7 @@ declare function __VLS_template_18(): {
658
656
  as?: string;
659
657
  }> & Readonly<{
660
658
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
661
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
659
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
662
660
  id: string;
663
661
  name: ComputedRef<string | undefined>;
664
662
  label: ComputedRef<string | undefined>;
@@ -1325,7 +1323,7 @@ export declare interface AppSetting {
1325
1323
  export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1326
1324
 
1327
1325
  export declare function booleanInput(defaultValue?: boolean, options?: {
1328
- rules?: string;
1326
+ rules?: string[];
1329
1327
  }): FormFieldDefinition<'boolean'>;
1330
1328
 
1331
1329
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
@@ -1377,10 +1375,10 @@ export declare const Combobox: <T extends Nullable<FormFieldValue>>(__VLS_props:
1377
1375
  }) & Partial<{}>> & PublicProps;
1378
1376
  expose(exposed: ShallowUnwrapRef< {
1379
1377
  renderOption: (option: T) => string;
1380
- labelClass: any;
1381
- optionsClass: any;
1382
- align: "start" | "center" | "end" | undefined;
1383
- side: "top" | "right" | "bottom" | "left" | undefined;
1378
+ labelClass: ComputedRef<any>;
1379
+ optionsClass: ComputedRef<any>;
1380
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
1381
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
1384
1382
  value: ComputedRef<T>;
1385
1383
  id: string;
1386
1384
  name: ComputedRef<string | undefined>;
@@ -1408,13 +1406,78 @@ export declare const Combobox: <T extends Nullable<FormFieldValue>>(__VLS_props:
1408
1406
  __ctx?: Awaited<typeof __VLS_setup>;
1409
1407
  };
1410
1408
 
1409
+ export declare type ComboboxContext = {
1410
+ input: string;
1411
+ preventChange: boolean;
1412
+ $group: HTMLDivElement | null;
1413
+ };
1414
+
1411
1415
  export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1412
1416
 
1413
1417
  export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1414
1418
 
1415
- export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1419
+ export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1420
+ select: () => any;
1421
+ }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
1422
+ onSelect?: (() => any) | undefined;
1423
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1424
+ $group: ({
1425
+ $: ComponentInternalInstance;
1426
+ $data: {};
1427
+ $props: {
1428
+ readonly asChild?: boolean | undefined;
1429
+ readonly as?: (AsTag | Component) | undefined;
1430
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1431
+ $attrs: {
1432
+ [x: string]: unknown;
1433
+ };
1434
+ $refs: {
1435
+ [x: string]: unknown;
1436
+ };
1437
+ $slots: Readonly<{
1438
+ [name: string]: Slot<any> | undefined;
1439
+ }>;
1440
+ $root: ComponentPublicInstance | null;
1441
+ $parent: ComponentPublicInstance | null;
1442
+ $host: Element | null;
1443
+ $emit: (event: string, ...args: any[]) => void;
1444
+ $el: any;
1445
+ $options: ComponentOptionsBase<Readonly<ComboboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1446
+ beforeCreate?: (() => void) | (() => void)[];
1447
+ created?: (() => void) | (() => void)[];
1448
+ beforeMount?: (() => void) | (() => void)[];
1449
+ mounted?: (() => void) | (() => void)[];
1450
+ beforeUpdate?: (() => void) | (() => void)[];
1451
+ updated?: (() => void) | (() => void)[];
1452
+ activated?: (() => void) | (() => void)[];
1453
+ deactivated?: (() => void) | (() => void)[];
1454
+ beforeDestroy?: (() => void) | (() => void)[];
1455
+ beforeUnmount?: (() => void) | (() => void)[];
1456
+ destroyed?: (() => void) | (() => void)[];
1457
+ unmounted?: (() => void) | (() => void)[];
1458
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1459
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1460
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1461
+ };
1462
+ $forceUpdate: () => void;
1463
+ $nextTick: typeof nextTick;
1464
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1465
+ } & Readonly<{}> & Omit<Readonly<ComboboxGroupProps> & Readonly<{}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
1466
+ $slots: {
1467
+ default?: (props: {}) => any;
1468
+ };
1469
+ }) | null;
1470
+ }, any>;
1416
1471
 
1417
- export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1472
+ export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1473
+ focus: () => any;
1474
+ blur: () => any;
1475
+ change: () => any;
1476
+ }, string, PublicProps, Readonly<{}> & Readonly<{
1477
+ onFocus?: (() => any) | undefined;
1478
+ onBlur?: (() => any) | undefined;
1479
+ onChange?: (() => any) | undefined;
1480
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1418
1481
 
1419
1482
  export declare type ComponentPropDefinitions<T> = {
1420
1483
  [K in keyof T]: {
@@ -1494,7 +1557,7 @@ export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>
1494
1557
  export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
1495
1558
 
1496
1559
  export declare function dateInput(defaultValue?: Date, options?: {
1497
- rules?: string;
1560
+ rules?: string[];
1498
1561
  }): FormFieldDefinition<'date'>;
1499
1562
 
1500
1563
  declare const _default: ServiceWithState< {
@@ -1568,7 +1631,7 @@ export declare type DefaultServiceState = any;
1568
1631
 
1569
1632
  export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
1570
1633
 
1571
- export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
1634
+ export declare function defineFormValidationRules<T extends Record<string, FormFieldValidator>>(rules: T): T;
1572
1635
 
1573
1636
  export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
1574
1637
 
@@ -1626,7 +1689,7 @@ export declare interface ElementSize {
1626
1689
  }
1627
1690
 
1628
1691
  export declare function enumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
1629
- rules?: string;
1692
+ rules?: string[];
1630
1693
  }): FormFieldDefinition<'enum', string, T>;
1631
1694
 
1632
1695
  export declare type ErrorHandler = (error: ErrorSource) => boolean;
@@ -1805,7 +1868,7 @@ export declare interface FormFieldDefinition<TType extends FormFieldType = FormF
1805
1868
  type: TType;
1806
1869
  trim?: boolean;
1807
1870
  default?: GetFormFieldValue<TType>;
1808
- rules?: TRules;
1871
+ rules?: TRules[];
1809
1872
  values?: readonly TValueType[];
1810
1873
  [__valueType]?: TValueType;
1811
1874
  }
@@ -1824,6 +1887,8 @@ export declare function getErrorMessage(error: ErrorSource): string;
1824
1887
 
1825
1888
  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;
1826
1889
 
1890
+ export declare function getLocalTimezoneOffset(date?: Nullable<Date>): number;
1891
+
1827
1892
  export declare function getMarkdownRouter(): MarkdownRouter | null;
1828
1893
 
1829
1894
  export { GetModalProps }
@@ -1880,10 +1945,10 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
1880
1945
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
1881
1946
  expose(exposed: ShallowUnwrapRef< {
1882
1947
  renderOption: (option: T) => string;
1883
- labelClass: any;
1884
- optionsClass: any;
1885
- align: "start" | "center" | "end" | undefined;
1886
- side: "top" | "right" | "bottom" | "left" | undefined;
1948
+ labelClass: ComputedRef<any>;
1949
+ optionsClass: ComputedRef<any>;
1950
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
1951
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
1887
1952
  value: ComputedRef<T>;
1888
1953
  id: string;
1889
1954
  name: ComputedRef<string | undefined>;
@@ -2031,7 +2096,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
2031
2096
  as?: string;
2032
2097
  }> & Readonly<{
2033
2098
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2034
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
2099
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
2035
2100
  id: string;
2036
2101
  name: ComputedRef<string | undefined>;
2037
2102
  label: ComputedRef<string | undefined>;
@@ -2162,8 +2227,6 @@ export declare type LoadingOptions = AcceptRefs<{
2162
2227
  delay?: number;
2163
2228
  }>;
2164
2229
 
2165
- export declare const LOCAL_TIMEZONE_OFFSET: number;
2166
-
2167
2230
  export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2168
2231
 
2169
2232
  export declare interface MarkdownRouter {
@@ -2233,11 +2296,11 @@ export declare interface ModalSlots<Result = never> {
2233
2296
  export { ModalsPortal }
2234
2297
 
2235
2298
  export declare function numberInput(defaultValue?: number, options?: {
2236
- rules?: string;
2299
+ rules?: string[];
2237
2300
  }): FormFieldDefinition<'number'>;
2238
2301
 
2239
2302
  export declare function objectInput<T extends object>(defaultValue?: T, options?: {
2240
- rules?: string;
2303
+ rules?: string[];
2241
2304
  }): FormFieldDefinition<'object', string, T>;
2242
2305
 
2243
2306
  export declare function onCleanMounted(operation: () => Function): void;
@@ -2299,11 +2362,13 @@ export declare type PromptOptions = AcceptRefs<{
2299
2362
  trim?: boolean;
2300
2363
  }>;
2301
2364
 
2302
- export declare const ProvideRef: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
2365
+ export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
2303
2366
 
2304
2367
  export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
2305
2368
 
2306
- export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
2369
+ export declare function reactiveSet<T>(initial?: T[] | Set<T>, options?: {
2370
+ equals?: (a: T, b: T) => boolean;
2371
+ }): {
2307
2372
  values(): T[];
2308
2373
  has(item: T): boolean;
2309
2374
  add(item: T): void;
@@ -2316,6 +2381,8 @@ export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
2316
2381
 
2317
2382
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
2318
2383
 
2384
+ export declare function registerFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
2385
+
2319
2386
  export declare function renderMarkdown(markdown: string): string;
2320
2387
 
2321
2388
  export declare function renderVNode(node: VNode | string): string;
@@ -2326,17 +2393,29 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
2326
2393
 
2327
2394
  export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
2328
2395
 
2329
- export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<'boolean', 'required'>;
2396
+ export declare function requiredBooleanInput(defaultValue?: boolean, options?: {
2397
+ rules?: string[];
2398
+ }): FormFieldDefinition<'boolean', 'required'>;
2330
2399
 
2331
- export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<'date', 'required'>;
2400
+ export declare function requiredDateInput(defaultValue?: Date, options?: {
2401
+ rules?: string[];
2402
+ }): FormFieldDefinition<'date', 'required'>;
2332
2403
 
2333
- export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T): FormFieldDefinition<'enum', 'required', T>;
2404
+ export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
2405
+ rules?: string[];
2406
+ }): FormFieldDefinition<'enum', 'required', T>;
2334
2407
 
2335
- export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<'number', 'required'>;
2408
+ export declare function requiredNumberInput(defaultValue?: number, options?: {
2409
+ rules?: string[];
2410
+ }): FormFieldDefinition<'number', 'required'>;
2336
2411
 
2337
- export declare function requiredObjectInput<T extends object>(defaultValue?: T): FormFieldDefinition<'object', 'required', T>;
2412
+ export declare function requiredObjectInput<T extends object>(defaultValue?: T, options?: {
2413
+ rules?: string[];
2414
+ }): FormFieldDefinition<'object', 'required', T>;
2338
2415
 
2339
- export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<'string', 'required'>;
2416
+ export declare function requiredStringInput(defaultValue?: string, options?: {
2417
+ rules?: string[];
2418
+ }): FormFieldDefinition<'string', 'required'>;
2340
2419
 
2341
2420
  export declare function resetPiniaStore(): Pinia;
2342
2421
 
@@ -2363,8 +2442,8 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
2363
2442
  options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
2364
2443
  selectedOption: ComputedRef<Nullable<SelectOptionData>>;
2365
2444
  placeholder: ComputedRef<string>;
2366
- labelClass?: HTMLAttributes['class'];
2367
- optionsClass?: HTMLAttributes['class'];
2445
+ labelClass: ComputedRef<HTMLAttributes['class']>;
2446
+ optionsClass: ComputedRef<HTMLAttributes['class']>;
2368
2447
  align?: SelectContentProps['align'];
2369
2448
  side?: SelectContentProps['side'];
2370
2449
  renderOption: (option: T) => string;
@@ -2481,7 +2560,7 @@ declare class StorageService extends Service {
2481
2560
  }
2482
2561
 
2483
2562
  export declare function stringInput(defaultValue?: string, options?: {
2484
- rules?: string;
2563
+ rules?: string[];
2485
2564
  }): FormFieldDefinition<'string'>;
2486
2565
 
2487
2566
  export declare type SubmitFormListener = () => unknown;
@@ -2557,7 +2636,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
2557
2636
  as?: string;
2558
2637
  }> & Readonly<{
2559
2638
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2560
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
2639
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
2561
2640
  id: string;
2562
2641
  name: ComputedRef<string | undefined>;
2563
2642
  label: ComputedRef<string | undefined>;
@@ -2723,13 +2802,13 @@ export declare function usePromptModal(props: PromptModalProps): {
2723
2802
  renderedCancelText: ComputedRef<string>;
2724
2803
  };
2725
2804
 
2726
- export declare function useSelect<T extends Nullable<FormFieldValue>>(props: SelectProps<T>, emit: EmitFn<SelectEmits<T>>): {
2805
+ export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
2727
2806
  expose: {
2728
2807
  renderOption: (option: T) => string;
2729
- labelClass: any;
2730
- optionsClass: any;
2731
- align: "start" | "center" | "end" | undefined;
2732
- side: "top" | "right" | "bottom" | "left" | undefined;
2808
+ labelClass: ComputedRef<any>;
2809
+ optionsClass: ComputedRef<any>;
2810
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
2811
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
2733
2812
  value: ComputedRef<T>;
2734
2813
  id: string;
2735
2814
  name: ComputedRef<string | undefined>;
@@ -2830,6 +2909,7 @@ declare module '@aerogel/core' {
2830
2909
  interface AerogelOptions {
2831
2910
  services?: Record<string, Service>;
2832
2911
  settings?: AppSetting[];
2912
+ formValidationRules?: Record<string, FormFieldValidator>;
2833
2913
  settingsFullscreenOnMobile?: boolean;
2834
2914
  }
2835
2915
  }