@aerogel/core 0.1.1-next.7fce7b4ce55cfb9c329a7746f571015aedc8e3bd → 0.1.1-next.9089cf50b6e252df5d7c6f134d3d287dae86fc73

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.
Files changed (55) hide show
  1. package/dist/aerogel-core.d.ts +443 -122
  2. package/dist/aerogel-core.js +1772 -1342
  3. package/dist/aerogel-core.js.map +1 -1
  4. package/package.json +2 -1
  5. package/src/bootstrap/index.ts +2 -1
  6. package/src/components/AppLayout.vue +1 -1
  7. package/src/components/AppOverlays.vue +1 -1
  8. package/src/components/contracts/Button.ts +1 -1
  9. package/src/components/contracts/Combobox.ts +5 -0
  10. package/src/components/contracts/Modal.ts +2 -0
  11. package/src/components/contracts/Select.ts +98 -4
  12. package/src/components/contracts/Toast.ts +1 -1
  13. package/src/components/contracts/index.ts +1 -0
  14. package/src/components/headless/HeadlessInputInput.vue +16 -5
  15. package/src/components/headless/HeadlessModal.vue +3 -12
  16. package/src/components/headless/HeadlessModalContent.vue +1 -1
  17. package/src/components/headless/HeadlessSelect.vue +10 -91
  18. package/src/components/headless/HeadlessSelectOption.vue +1 -5
  19. package/src/components/index.ts +1 -0
  20. package/src/components/ui/AdvancedOptions.vue +4 -13
  21. package/src/components/ui/Button.vue +1 -0
  22. package/src/components/ui/Combobox.vue +94 -0
  23. package/src/components/ui/ComboboxLabel.vue +29 -0
  24. package/src/components/ui/ComboboxOption.vue +46 -0
  25. package/src/components/ui/ComboboxOptions.vue +71 -0
  26. package/src/components/ui/ComboboxTrigger.vue +67 -0
  27. package/src/components/ui/Details.vue +33 -0
  28. package/src/components/ui/Input.vue +12 -4
  29. package/src/components/ui/LoadingModal.vue +1 -2
  30. package/src/components/ui/Modal.vue +32 -13
  31. package/src/components/ui/ProgressBar.vue +16 -2
  32. package/src/components/ui/Select.vue +2 -0
  33. package/src/components/ui/SelectTrigger.vue +13 -2
  34. package/src/components/ui/SettingsModal.vue +1 -1
  35. package/src/components/ui/Toast.vue +1 -0
  36. package/src/components/ui/index.ts +6 -0
  37. package/src/components/vue/Provide.vue +11 -0
  38. package/src/components/vue/index.ts +1 -0
  39. package/src/errors/Errors.ts +4 -0
  40. package/src/forms/FormController.test.ts +4 -4
  41. package/src/forms/FormController.ts +7 -3
  42. package/src/forms/index.ts +11 -0
  43. package/src/forms/utils.ts +36 -17
  44. package/src/forms/validation.ts +5 -1
  45. package/src/index.css +10 -0
  46. package/src/jobs/Job.ts +1 -1
  47. package/src/services/App.state.ts +1 -0
  48. package/src/services/App.ts +4 -0
  49. package/src/services/index.ts +7 -0
  50. package/src/ui/UI.ts +2 -2
  51. package/src/ui/index.ts +1 -1
  52. package/src/ui/modals.ts +36 -0
  53. package/src/utils/composition/reactiveSet.ts +10 -2
  54. package/src/utils/index.ts +1 -0
  55. package/src/utils/time.ts +7 -0
@@ -3,6 +3,9 @@ import { AllowedComponentProps } from 'vue';
3
3
  import { App as App_2 } from 'vue';
4
4
  import { AsTag } from 'reka-ui';
5
5
  import { ClassValue } from 'clsx';
6
+ import { closeModal } from '@noeldemartin/vue-modals';
7
+ import { ComboboxGroupProps } from 'reka-ui';
8
+ import { ComboboxItemProps } from 'reka-ui';
6
9
  import { Component } from 'vue';
7
10
  import { ComponentCustomProperties } from 'vue';
8
11
  import { ComponentCustomProps } from 'vue';
@@ -15,6 +18,7 @@ import { ComputedGetter } from 'vue';
15
18
  import { ComputedOptions } from 'vue';
16
19
  import { ComputedRef } from 'vue';
17
20
  import { Constructor } from '@noeldemartin/utils';
21
+ import { createModal } from '@noeldemartin/vue-modals';
18
22
  import { cva } from 'class-variance-authority';
19
23
  import { DebuggerEvent } from 'vue';
20
24
  import { DeepReadonly } from 'vue';
@@ -27,6 +31,7 @@ import { DialogOverlayProps } from 'reka-ui';
27
31
  import { DialogTitleProps } from 'reka-ui';
28
32
  import { Directive } from 'vue';
29
33
  import { DropdownMenuContentProps } from 'reka-ui';
34
+ import { EmitFn } from 'vue';
30
35
  import { Facade } from '@noeldemartin/utils';
31
36
  import { FocusOutsideEvent } from 'reka-ui';
32
37
  import { GetClosureArgs } from '@noeldemartin/utils';
@@ -38,6 +43,7 @@ import { GlobalComponents } from 'vue';
38
43
  import { GlobalDirectives } from 'vue';
39
44
  import { HTMLAttributes } from 'vue';
40
45
  import { InjectionKey } from 'vue';
46
+ import { injectModal } from '@noeldemartin/vue-modals';
41
47
  import { JSError } from '@noeldemartin/utils';
42
48
  import { LabelProps } from 'reka-ui';
43
49
  import { Listeners } from '@noeldemartin/utils';
@@ -45,6 +51,10 @@ import { ListenersManager } from '@noeldemartin/utils';
45
51
  import { MagicObject } from '@noeldemartin/utils';
46
52
  import { MaybeRef } from 'vue';
47
53
  import { MethodOptions } from 'vue';
54
+ import { ModalComponent } from '@noeldemartin/vue-modals';
55
+ import { ModalController } from '@noeldemartin/vue-modals';
56
+ import { modals } from '@noeldemartin/vue-modals';
57
+ import { ModalsPortal } from '@noeldemartin/vue-modals';
48
58
  import { nextTick } from 'vue';
49
59
  import { Nullable } from '@noeldemartin/utils';
50
60
  import { OnCleanup } from '@vue/reactivity';
@@ -58,11 +68,11 @@ import { Ref } from 'vue';
58
68
  import { SelectContentProps } from 'reka-ui';
59
69
  import { SelectItemProps } from 'reka-ui';
60
70
  import { ShallowUnwrapRef } from 'vue';
71
+ import { showModal } from '@noeldemartin/vue-modals';
61
72
  import { Slot } from 'vue';
62
73
  import { StateTree } from 'pinia';
63
74
  import { Store } from 'pinia';
64
75
  import { UnwrapNestedRefs } from 'vue';
65
- import { useModal } from '@noeldemartin/vue-modals';
66
76
  import { VNode } from 'vue';
67
77
  import { VNodeProps } from 'vue';
68
78
  import { WatchOptions } from 'vue';
@@ -157,7 +167,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
157
167
  as?: string;
158
168
  }> & Readonly<{
159
169
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
160
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
170
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
161
171
  id: string;
162
172
  name: ComputedRef<string | undefined>;
163
173
  label: ComputedRef<string | undefined>;
@@ -173,46 +183,50 @@ default?(_: {}): any;
173
183
  }) | null;
174
184
  }, any>;
175
185
 
176
- declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
186
+ declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
187
+
188
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
189
+
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>;
195
+
196
+ declare const __VLS_component_21: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
197
+
198
+ declare const __VLS_component_22: DefineComponent<DropdownMenuProps, {
177
199
  align: "start" | "center" | "end" | undefined;
178
200
  side: "top" | "right" | "bottom" | "left" | undefined;
179
201
  options: ComputedRef<DropdownMenuOptionData[] | undefined>;
180
202
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
181
203
 
182
- declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
183
-
184
- declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
204
+ declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
185
205
  select: () => any;
186
- }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
206
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
187
207
  onSelect?: (() => any) | undefined;
188
208
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
189
209
 
190
- declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
210
+ declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
191
211
 
192
- declare const __VLS_component_22: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
212
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
193
213
  update: (value: string | number) => any;
194
214
  save: () => any;
195
- }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
215
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
196
216
  onUpdate?: ((value: string | number) => any) | undefined;
197
217
  onSave?: (() => any) | undefined;
198
218
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
199
219
  $inputRef: HTMLInputElement;
200
220
  }, HTMLDivElement>;
201
221
 
202
- declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
222
+ declare const __VLS_component_26: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
203
223
 
204
- declare const __VLS_component_24: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
224
+ declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
205
225
  submit: () => any;
206
- }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
226
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
207
227
  onSubmit?: (() => any) | undefined;
208
228
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
209
229
 
210
- declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
211
-
212
- declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
213
-
214
- declare const __VLS_component_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
-
216
230
  declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
217
231
 
218
232
  declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -232,7 +246,15 @@ update(value: unknown): void;
232
246
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
233
247
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
234
248
 
235
- declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
249
+ declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
250
+
251
+ declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
252
+
253
+ declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
254
+
255
+ declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
256
+
257
+ declare const __VLS_component_34: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
236
258
 
237
259
  declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
238
260
 
@@ -344,32 +366,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
344
366
  [K in keyof T]: T[K];
345
367
  } & {};
346
368
 
369
+ declare type __VLS_PrettifyLocal_6<T> = {
370
+ [K in keyof T]: T[K];
371
+ } & {};
372
+
347
373
  declare type __VLS_Props = InputProps & {
348
374
  as?: string;
349
375
  };
350
376
 
351
377
  declare type __VLS_Props_10 = {
352
- report: ErrorReport;
378
+ label?: string;
379
+ contentClass?: HTMLAttributes['class'];
380
+ summaryClass?: HTMLAttributes['class'];
353
381
  };
354
382
 
355
383
  declare type __VLS_Props_11 = {
384
+ class?: HTMLAttributes['class'];
385
+ } & PrimitiveProps;
386
+
387
+ declare type __VLS_Props_12 = {
388
+ type?: string;
389
+ contentClass?: HTMLAttributes['class'];
390
+ ariaLabel?: string;
391
+ formAriaHidden?: boolean;
392
+ tabindex?: string;
393
+ text: string;
394
+ disabled?: boolean;
395
+ };
396
+
397
+ declare type __VLS_Props_13 = {
398
+ error: ErrorSource;
399
+ };
400
+
401
+ declare type __VLS_Props_14 = {
402
+ report: ErrorReport;
403
+ };
404
+
405
+ declare type __VLS_Props_15 = {
356
406
  report: ErrorReport;
357
407
  currentReport?: number;
358
408
  totalReports?: number;
359
409
  };
360
410
 
361
- declare type __VLS_Props_12 = {
411
+ declare type __VLS_Props_16 = {
362
412
  form?: FormController;
363
413
  };
364
414
 
365
- declare type __VLS_Props_13 = InputProps & {
415
+ declare type __VLS_Props_17 = InputProps & {
366
416
  inputClass?: HTMLAttributes['class'];
367
417
  wrapperClass?: HTMLAttributes['class'];
418
+ descriptionClass?: HTMLAttributes['class'];
419
+ errorClass?: HTMLAttributes['class'];
368
420
  };
369
421
 
370
- declare type __VLS_Props_14 = Omit<ButtonProps, 'variant'>;
422
+ declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
371
423
 
372
- declare type __VLS_Props_15 = {
424
+ declare type __VLS_Props_19 = {
373
425
  as?: string;
374
426
  inline?: boolean;
375
427
  langKey?: string;
@@ -379,35 +431,36 @@ declare type __VLS_Props_15 = {
379
431
  actions?: Record<string, () => unknown>;
380
432
  };
381
433
 
382
- declare type __VLS_Props_16 = {
434
+ declare type __VLS_Props_2 = {
435
+ type?: string;
436
+ };
437
+
438
+ declare type __VLS_Props_20 = {
383
439
  filledClass?: string;
440
+ overflowClass?: string;
384
441
  progress?: number;
385
442
  job?: Falsifiable<Job>;
386
443
  };
387
444
 
388
- declare type __VLS_Props_17 = {
445
+ declare type __VLS_Props_21 = {
389
446
  class?: HTMLAttributes['class'];
390
447
  };
391
448
 
392
- declare type __VLS_Props_18 = {
449
+ declare type __VLS_Props_22 = {
393
450
  value: AcceptableValue;
394
451
  class?: HTMLAttributes['class'];
395
452
  innerClass?: HTMLAttributes['class'];
396
453
  };
397
454
 
398
- declare type __VLS_Props_19 = {
455
+ declare type __VLS_Props_23 = {
399
456
  class?: HTMLAttributes['class'];
400
457
  };
401
458
 
402
- declare type __VLS_Props_2 = {
403
- type?: string;
404
- };
405
-
406
- declare type __VLS_Props_20 = {
459
+ declare type __VLS_Props_24 = {
407
460
  class?: HTMLAttributes['class'];
408
461
  };
409
462
 
410
- declare type __VLS_Props_21 = {
463
+ declare type __VLS_Props_25 = {
411
464
  title: string;
412
465
  titleId?: string;
413
466
  description?: string;
@@ -415,15 +468,20 @@ declare type __VLS_Props_21 = {
415
468
  layout?: 'vertical' | 'horizontal';
416
469
  };
417
470
 
418
- declare type __VLS_Props_22 = InputProps & {
471
+ declare type __VLS_Props_26 = InputProps & {
419
472
  inputClass?: HTMLAttributes['class'];
420
473
  wrapperClass?: HTMLAttributes['class'];
421
474
  };
422
475
 
423
- declare type __VLS_Props_23 = ToastProps & {
476
+ declare type __VLS_Props_27 = ToastProps & {
424
477
  class?: HTMLAttributes['class'];
425
478
  };
426
479
 
480
+ declare type __VLS_Props_28 = {
481
+ name: string;
482
+ value: unknown;
483
+ };
484
+
427
485
  declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
428
486
 
429
487
  declare type __VLS_Props_4 = SelectItemProps;
@@ -438,22 +496,12 @@ declare type __VLS_Props_6 = InputProps & {
438
496
  labelClass?: HTMLAttributes['class'];
439
497
  };
440
498
 
441
- declare type __VLS_Props_7 = {
442
- class?: HTMLAttributes['class'];
443
- } & PrimitiveProps;
499
+ declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
444
500
 
445
- declare type __VLS_Props_8 = {
446
- type?: string;
447
- contentClass?: HTMLAttributes['class'];
448
- ariaLabel?: string;
449
- formAriaHidden?: boolean;
450
- tabindex?: string;
451
- text: string;
452
- disabled?: boolean;
453
- };
501
+ declare type __VLS_Props_8 = ComboboxItemProps;
454
502
 
455
503
  declare type __VLS_Props_9 = {
456
- error: ErrorSource;
504
+ newInputValue?: (value: string) => Nullable<FormFieldValue>;
457
505
  };
458
506
 
459
507
  declare function __VLS_template(): {
@@ -608,7 +656,7 @@ declare function __VLS_template_18(): {
608
656
  as?: string;
609
657
  }> & Readonly<{
610
658
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
611
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
659
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
612
660
  id: string;
613
661
  name: ComputedRef<string | undefined>;
614
662
  label: ComputedRef<string | undefined>;
@@ -630,7 +678,6 @@ declare function __VLS_template_19(): {
630
678
  attrs: Partial<{}>;
631
679
  slots: {
632
680
  default?(_: {}): any;
633
- options?(_: {}): any;
634
681
  };
635
682
  refs: {};
636
683
  rootEl: any;
@@ -657,13 +704,42 @@ declare function __VLS_template_20(): {
657
704
  declare function __VLS_template_21(): {
658
705
  attrs: Partial<{}>;
659
706
  slots: {
707
+ label?(_: {}): any;
660
708
  default?(_: {}): any;
661
709
  };
662
710
  refs: {};
663
- rootEl: any;
711
+ rootEl: HTMLDetailsElement;
664
712
  };
665
713
 
666
714
  declare function __VLS_template_22(): {
715
+ attrs: Partial<{}>;
716
+ slots: {
717
+ default?(_: {}): any;
718
+ options?(_: {}): any;
719
+ };
720
+ refs: {};
721
+ rootEl: any;
722
+ };
723
+
724
+ declare function __VLS_template_23(): {
725
+ attrs: Partial<{}>;
726
+ slots: {
727
+ default?(_: {}): any;
728
+ };
729
+ refs: {};
730
+ rootEl: any;
731
+ };
732
+
733
+ declare function __VLS_template_24(): {
734
+ attrs: Partial<{}>;
735
+ slots: {
736
+ default?(_: {}): any;
737
+ };
738
+ refs: {};
739
+ rootEl: any;
740
+ };
741
+
742
+ declare function __VLS_template_25(): {
667
743
  attrs: Partial<{}>;
668
744
  slots: {
669
745
  default?(_: {}): any;
@@ -674,7 +750,7 @@ declare function __VLS_template_22(): {
674
750
  rootEl: HTMLDivElement;
675
751
  };
676
752
 
677
- declare function __VLS_template_23(): {
753
+ declare function __VLS_template_26(): {
678
754
  attrs: Partial<{}>;
679
755
  slots: Readonly<{
680
756
  default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
@@ -685,7 +761,7 @@ declare function __VLS_template_23(): {
685
761
  rootEl: HTMLDivElement;
686
762
  };
687
763
 
688
- declare function __VLS_template_24(): {
764
+ declare function __VLS_template_27(): {
689
765
  attrs: Partial<{}>;
690
766
  slots: {
691
767
  default?(_: {}): any;
@@ -694,7 +770,7 @@ declare function __VLS_template_24(): {
694
770
  rootEl: HTMLFormElement;
695
771
  };
696
772
 
697
- declare function __VLS_template_25(): {
773
+ declare function __VLS_template_28(): {
698
774
  attrs: Partial<{}>;
699
775
  slots: {
700
776
  default?(_: {}): any;
@@ -703,7 +779,7 @@ declare function __VLS_template_25(): {
703
779
  rootEl: any;
704
780
  };
705
781
 
706
- declare function __VLS_template_26(): {
782
+ declare function __VLS_template_29(): {
707
783
  attrs: Partial<{}>;
708
784
  slots: Readonly<{
709
785
  default?(): VNode[];
@@ -714,7 +790,7 @@ declare function __VLS_template_26(): {
714
790
  rootEl: any;
715
791
  };
716
792
 
717
- declare function __VLS_template_27(): {
793
+ declare function __VLS_template_3(): {
718
794
  attrs: Partial<{}>;
719
795
  slots: {
720
796
  default?(_: {}): any;
@@ -723,7 +799,7 @@ declare function __VLS_template_27(): {
723
799
  rootEl: any;
724
800
  };
725
801
 
726
- declare function __VLS_template_28(): {
802
+ declare function __VLS_template_30(): {
727
803
  attrs: Partial<{}>;
728
804
  slots: {
729
805
  default?(_: {}): any;
@@ -732,26 +808,26 @@ declare function __VLS_template_28(): {
732
808
  rootEl: any;
733
809
  };
734
810
 
735
- declare function __VLS_template_29(): {
811
+ declare function __VLS_template_31(): {
736
812
  attrs: Partial<{}>;
737
813
  slots: {
738
814
  default?(_: {}): any;
739
- default?(_: {}): any;
740
815
  };
741
816
  refs: {};
742
817
  rootEl: any;
743
818
  };
744
819
 
745
- declare function __VLS_template_3(): {
820
+ declare function __VLS_template_32(): {
746
821
  attrs: Partial<{}>;
747
822
  slots: {
748
823
  default?(_: {}): any;
824
+ default?(_: {}): any;
749
825
  };
750
826
  refs: {};
751
827
  rootEl: any;
752
828
  };
753
829
 
754
- declare function __VLS_template_30(): {
830
+ declare function __VLS_template_33(): {
755
831
  attrs: Partial<{}>;
756
832
  slots: {
757
833
  default?(_: {}): any;
@@ -760,6 +836,15 @@ declare function __VLS_template_30(): {
760
836
  rootEl: HTMLDivElement;
761
837
  };
762
838
 
839
+ declare function __VLS_template_34(): {
840
+ attrs: Partial<{}>;
841
+ slots: {
842
+ default?(_: {}): any;
843
+ };
844
+ refs: {};
845
+ rootEl: any;
846
+ };
847
+
763
848
  declare function __VLS_template_4(): {
764
849
  attrs: Partial<{}>;
765
850
  slots: {
@@ -942,6 +1027,14 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
942
1027
 
943
1028
  declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
944
1029
 
1030
+ declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
1031
+
1032
+ declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
1033
+
1034
+ declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
1035
+
1036
+ declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
1037
+
945
1038
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
946
1039
 
947
1040
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
@@ -1098,6 +1191,30 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
1098
1191
  };
1099
1192
  };
1100
1193
 
1194
+ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
1195
+ new (): {
1196
+ $slots: S;
1197
+ };
1198
+ };
1199
+
1200
+ declare type __VLS_WithTemplateSlots_32<T, S> = T & {
1201
+ new (): {
1202
+ $slots: S;
1203
+ };
1204
+ };
1205
+
1206
+ declare type __VLS_WithTemplateSlots_33<T, S> = T & {
1207
+ new (): {
1208
+ $slots: S;
1209
+ };
1210
+ };
1211
+
1212
+ declare type __VLS_WithTemplateSlots_34<T, S> = T & {
1213
+ new (): {
1214
+ $slots: S;
1215
+ };
1216
+ };
1217
+
1101
1218
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1102
1219
  new (): {
1103
1220
  $slots: S;
@@ -1190,6 +1307,7 @@ export declare class AppService extends _default_3 {
1190
1307
  isReady(): boolean;
1191
1308
  isMounted(): boolean;
1192
1309
  addSetting(setting: AppSetting): void;
1310
+ setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
1193
1311
  whenReady<T>(callback: () => T): Promise<T>;
1194
1312
  reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
1195
1313
  plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
@@ -1205,7 +1323,7 @@ export declare interface AppSetting {
1205
1323
  export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1206
1324
 
1207
1325
  export declare function booleanInput(defaultValue?: boolean, options?: {
1208
- rules?: string;
1326
+ rules?: string[];
1209
1327
  }): FormFieldDefinition<'boolean'>;
1210
1328
 
1211
1329
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
@@ -1230,7 +1348,7 @@ export declare interface ButtonProps extends PrimitiveProps {
1230
1348
 
1231
1349
  export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
1232
1350
 
1233
- export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
1351
+ export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
1234
1352
 
1235
1353
  declare const Cache_2: Facade<CacheService>;
1236
1354
  export { Cache_2 as Cache }
@@ -1247,6 +1365,120 @@ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component
1247
1365
 
1248
1366
  export declare function classes(...inputs: ClassValue[]): string;
1249
1367
 
1368
+ export { closeModal }
1369
+
1370
+ export declare const Combobox: <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<{
1371
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
1372
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1373
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectProps<T> & {
1374
+ newInputValue?: (value: string) => T;
1375
+ }) & Partial<{}>> & PublicProps;
1376
+ expose(exposed: ShallowUnwrapRef< {
1377
+ renderOption: (option: T) => string;
1378
+ labelClass: ComputedRef<any>;
1379
+ optionsClass: ComputedRef<any>;
1380
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
1381
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
1382
+ value: ComputedRef<T>;
1383
+ id: string;
1384
+ name: ComputedRef<string | undefined>;
1385
+ label: ComputedRef<string | undefined>;
1386
+ description: ComputedRef<string | undefined>;
1387
+ placeholder: ComputedRef<string>;
1388
+ options: ComputedRef< {
1389
+ key: string;
1390
+ label: string;
1391
+ value: AcceptableValue;
1392
+ }[] | null>;
1393
+ selectedOption: ComputedRef< {
1394
+ key: string;
1395
+ label: string;
1396
+ value: AcceptableValue;
1397
+ } | undefined>;
1398
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1399
+ required: ComputedRef<boolean | undefined>;
1400
+ update(value: T): void;
1401
+ }>): void;
1402
+ attrs: any;
1403
+ slots: {};
1404
+ emit: (evt: "update:modelValue", value: T) => void;
1405
+ }>) => VNode & {
1406
+ __ctx?: Awaited<typeof __VLS_setup>;
1407
+ };
1408
+
1409
+ export declare type ComboboxContext = {
1410
+ input: string;
1411
+ preventChange: boolean;
1412
+ $group: HTMLDivElement | null;
1413
+ };
1414
+
1415
+ export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1416
+
1417
+ export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1418
+
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>;
1471
+
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>;
1481
+
1250
1482
  export declare type ComponentPropDefinitions<T> = {
1251
1483
  [K in keyof T]: {
1252
1484
  type?: PropType<T[K]>;
@@ -1318,12 +1550,14 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
1318
1550
  checkboxes?: T;
1319
1551
  }
1320
1552
 
1553
+ export { createModal }
1554
+
1321
1555
  export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
1322
1556
 
1323
1557
  export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
1324
1558
 
1325
1559
  export declare function dateInput(defaultValue?: Date, options?: {
1326
- rules?: string;
1560
+ rules?: string[];
1327
1561
  }): FormFieldDefinition<'date'>;
1328
1562
 
1329
1563
  declare const _default: ServiceWithState< {
@@ -1357,6 +1591,7 @@ environment: string;
1357
1591
  version: string;
1358
1592
  sourceUrl: string | undefined;
1359
1593
  settings: AppSetting[];
1594
+ settingsFullscreenOnMobile: boolean;
1360
1595
  }, {
1361
1596
  development: boolean;
1362
1597
  staging: boolean;
@@ -1370,6 +1605,7 @@ environment: string;
1370
1605
  version: string;
1371
1606
  sourceUrl: string | undefined;
1372
1607
  settings: AppSetting[];
1608
+ settingsFullscreenOnMobile: boolean;
1373
1609
  }>>;
1374
1610
 
1375
1611
  declare const _default_4: ServiceWithState< {
@@ -1395,7 +1631,7 @@ export declare type DefaultServiceState = any;
1395
1631
 
1396
1632
  export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
1397
1633
 
1398
- export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
1634
+ export declare function defineFormValidationRules<T extends Record<string, FormFieldValidator>>(rules: T): T;
1399
1635
 
1400
1636
  export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
1401
1637
 
@@ -1413,9 +1649,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
1413
1649
 
1414
1650
  export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1415
1651
 
1652
+ export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1653
+
1416
1654
  export declare function dispatch(job: Job): Promise<void>;
1417
1655
 
1418
- export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1656
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1419
1657
 
1420
1658
  export declare interface DropdownMenuExpose {
1421
1659
  align?: DropdownMenuContentProps['align'];
@@ -1423,7 +1661,7 @@ export declare interface DropdownMenuExpose {
1423
1661
  options?: readonly DropdownMenuOptionData[];
1424
1662
  }
1425
1663
 
1426
- export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1664
+ export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1427
1665
 
1428
1666
  export declare type DropdownMenuOptionData = {
1429
1667
  label: string;
@@ -1435,7 +1673,7 @@ export declare type DropdownMenuOptionData = {
1435
1673
  class?: string;
1436
1674
  };
1437
1675
 
1438
- export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1676
+ export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1439
1677
 
1440
1678
  export declare interface DropdownMenuProps {
1441
1679
  align?: DropdownMenuContentProps['align'];
@@ -1443,7 +1681,7 @@ export declare interface DropdownMenuProps {
1443
1681
  options?: readonly Falsifiable<DropdownMenuOptionData>[];
1444
1682
  }
1445
1683
 
1446
- export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1684
+ export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1447
1685
 
1448
1686
  export declare interface ElementSize {
1449
1687
  width: number;
@@ -1451,7 +1689,7 @@ export declare interface ElementSize {
1451
1689
  }
1452
1690
 
1453
1691
  export declare function enumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
1454
- rules?: string;
1692
+ rules?: string[];
1455
1693
  }): FormFieldDefinition<'enum', string, T>;
1456
1694
 
1457
1695
  export declare type ErrorHandler = (error: ErrorSource) => boolean;
@@ -1462,7 +1700,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
1462
1700
 
1463
1701
  export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1464
1702
 
1465
- export declare const ErrorMessage: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1703
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1466
1704
 
1467
1705
  export declare interface ErrorReport {
1468
1706
  title: string;
@@ -1481,7 +1719,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
1481
1719
  $content: ModalContentInstance;
1482
1720
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1483
1721
 
1484
- export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1722
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1485
1723
 
1486
1724
  declare interface ErrorReportModalButtonsDefaultSlotProps {
1487
1725
  id: string;
@@ -1499,7 +1737,7 @@ export declare interface ErrorReportModalProps {
1499
1737
  reports: ErrorReport[];
1500
1738
  }
1501
1739
 
1502
- export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1740
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1503
1741
 
1504
1742
  export declare const Errors: Facade<ErrorsService>;
1505
1743
 
@@ -1509,6 +1747,7 @@ declare class ErrorsService extends _default {
1509
1747
  forceReporting: boolean;
1510
1748
  private enabled;
1511
1749
  private eruda;
1750
+ private erudaPlugins;
1512
1751
  enable(): void;
1513
1752
  disable(): void;
1514
1753
  inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
@@ -1578,7 +1817,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
1578
1817
 
1579
1818
  export declare type FocusFormListener = (input: string) => unknown;
1580
1819
 
1581
- export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1820
+ export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
1582
1821
 
1583
1822
  export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1584
1823
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1593,6 +1832,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
1593
1832
  setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
1594
1833
  getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
1595
1834
  getFieldRules<T extends keyof Fields>(field: T): string[];
1835
+ setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
1596
1836
  getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
1597
1837
  data(): FormData_2<Fields>;
1598
1838
  validate(): boolean;
@@ -1628,7 +1868,7 @@ export declare interface FormFieldDefinition<TType extends FormFieldType = FormF
1628
1868
  type: TType;
1629
1869
  trim?: boolean;
1630
1870
  default?: GetFormFieldValue<TType>;
1631
- rules?: TRules;
1871
+ rules?: TRules[];
1632
1872
  values?: readonly TValueType[];
1633
1873
  [__valueType]?: TValueType;
1634
1874
  }
@@ -1647,8 +1887,14 @@ export declare function getErrorMessage(error: ErrorSource): string;
1647
1887
 
1648
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;
1649
1889
 
1890
+ export declare function getLocalTimezoneOffset(date?: Nullable<Date>): number;
1891
+
1650
1892
  export declare function getMarkdownRouter(): MarkdownRouter | null;
1651
1893
 
1894
+ export { GetModalProps }
1895
+
1896
+ export { GetModalResponse }
1897
+
1652
1898
  export declare function getPiniaStore(): Pinia;
1653
1899
 
1654
1900
  export declare interface HasSelectOptionLabel {
@@ -1698,10 +1944,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
1698
1944
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1699
1945
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
1700
1946
  expose(exposed: ShallowUnwrapRef< {
1701
- labelClass: any;
1702
- optionsClass: any;
1703
- align: "start" | "center" | "end" | undefined;
1704
- side: "top" | "right" | "bottom" | "left" | undefined;
1947
+ renderOption: (option: T) => string;
1948
+ labelClass: ComputedRef<any>;
1949
+ optionsClass: ComputedRef<any>;
1950
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
1951
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
1705
1952
  value: ComputedRef<T>;
1706
1953
  id: string;
1707
1954
  name: ComputedRef<string | undefined>;
@@ -1772,15 +2019,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
1772
2019
 
1773
2020
  export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1774
2021
 
2022
+ export { injectModal }
2023
+
1775
2024
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1776
2025
 
1777
2026
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
1778
2027
 
1779
2028
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1780
2029
 
1781
- export declare const Input: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2030
+ export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1782
2031
  "update:modelValue": (value: unknown) => any;
1783
- }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
2032
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1784
2033
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1785
2034
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1786
2035
  $inputRef: ({
@@ -1847,7 +2096,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
1847
2096
  as?: string;
1848
2097
  }> & Readonly<{
1849
2098
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1850
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
2099
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
1851
2100
  id: string;
1852
2101
  name: ComputedRef<string | undefined>;
1853
2102
  label: ComputedRef<string | undefined>;
@@ -1955,7 +2204,7 @@ export declare const Layouts: {
1955
2204
  readonly Desktop: "desktop";
1956
2205
  };
1957
2206
 
1958
- export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2207
+ export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
1959
2208
 
1960
2209
  export declare const LoadingModal: DefineComponent<LoadingModalProps, {
1961
2210
  $content: ModalContentInstance;
@@ -1978,7 +2227,7 @@ export declare type LoadingOptions = AcceptRefs<{
1978
2227
  delay?: number;
1979
2228
  }>;
1980
2229
 
1981
- export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2230
+ export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
1982
2231
 
1983
2232
  export declare interface MarkdownRouter {
1984
2233
  resolve(route: string): string;
@@ -1994,10 +2243,12 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
1994
2243
  watch?: boolean;
1995
2244
  };
1996
2245
 
2246
+ export declare const MINUTE_MILLISECONDS = 60000;
2247
+
1997
2248
  export declare const MOBILE_BREAKPOINT = 768;
1998
2249
 
1999
- 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<{
2000
- props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2250
+ export declare const Modal: <T = void>(__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<{
2251
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2001
2252
  wrapperClass?: HTMLAttributes["class"];
2002
2253
  class?: HTMLAttributes["class"];
2003
2254
  closeHidden?: boolean;
@@ -2010,8 +2261,12 @@ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof _
2010
2261
  __ctx?: Awaited<typeof __VLS_setup>;
2011
2262
  };
2012
2263
 
2264
+ export { ModalComponent }
2265
+
2013
2266
  export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
2014
2267
 
2268
+ export { ModalController }
2269
+
2015
2270
  export declare interface ModalEmits<Result = never> {
2016
2271
  (event: 'close', payload: Result): void;
2017
2272
  }
@@ -2022,24 +2277,30 @@ export declare interface ModalExpose {
2022
2277
 
2023
2278
  export declare interface ModalProps {
2024
2279
  persistent?: boolean;
2280
+ fullscreen?: boolean;
2281
+ fullscreenOnMobile?: boolean;
2025
2282
  title?: string;
2026
2283
  titleHidden?: boolean;
2027
2284
  description?: string;
2028
2285
  descriptionHidden?: boolean;
2029
2286
  }
2030
2287
 
2288
+ export { modals }
2289
+
2031
2290
  export declare interface ModalSlots<Result = never> {
2032
2291
  default(props: {
2033
2292
  close(result?: Result): Promise<void>;
2034
2293
  }): unknown;
2035
2294
  }
2036
2295
 
2296
+ export { ModalsPortal }
2297
+
2037
2298
  export declare function numberInput(defaultValue?: number, options?: {
2038
- rules?: string;
2299
+ rules?: string[];
2039
2300
  }): FormFieldDefinition<'number'>;
2040
2301
 
2041
2302
  export declare function objectInput<T extends object>(defaultValue?: T, options?: {
2042
- rules?: string;
2303
+ rules?: string[];
2043
2304
  }): FormFieldDefinition<'object', string, T>;
2044
2305
 
2045
2306
  export declare function onCleanMounted(operation: () => Function): void;
@@ -2060,7 +2321,7 @@ declare interface Plugin_2 {
2060
2321
  }
2061
2322
  export { Plugin_2 as Plugin }
2062
2323
 
2063
- export declare const ProgressBar: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2324
+ export declare const ProgressBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2064
2325
 
2065
2326
  export declare const PromptModal: DefineComponent<PromptModalProps, {
2066
2327
  $content: ModalContentInstance;
@@ -2101,9 +2362,13 @@ export declare type PromptOptions = AcceptRefs<{
2101
2362
  trim?: boolean;
2102
2363
  }>;
2103
2364
 
2365
+ export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
2366
+
2104
2367
  export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
2105
2368
 
2106
- 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
+ }): {
2107
2372
  values(): T[];
2108
2373
  has(item: T): boolean;
2109
2374
  add(item: T): void;
@@ -2116,6 +2381,8 @@ export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
2116
2381
 
2117
2382
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
2118
2383
 
2384
+ export declare function registerFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
2385
+
2119
2386
  export declare function renderMarkdown(markdown: string): string;
2120
2387
 
2121
2388
  export declare function renderVNode(node: VNode | string): string;
@@ -2126,24 +2393,36 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
2126
2393
 
2127
2394
  export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
2128
2395
 
2129
- export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<'boolean', 'required'>;
2396
+ export declare function requiredBooleanInput(defaultValue?: boolean, options?: {
2397
+ rules?: string[];
2398
+ }): FormFieldDefinition<'boolean', 'required'>;
2130
2399
 
2131
- export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<'date', 'required'>;
2400
+ export declare function requiredDateInput(defaultValue?: Date, options?: {
2401
+ rules?: string[];
2402
+ }): FormFieldDefinition<'date', 'required'>;
2132
2403
 
2133
- 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>;
2134
2407
 
2135
- export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<'number', 'required'>;
2408
+ export declare function requiredNumberInput(defaultValue?: number, options?: {
2409
+ rules?: string[];
2410
+ }): FormFieldDefinition<'number', 'required'>;
2136
2411
 
2137
- 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>;
2138
2415
 
2139
- export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<'string', 'required'>;
2416
+ export declare function requiredStringInput(defaultValue?: string, options?: {
2417
+ rules?: string[];
2418
+ }): FormFieldDefinition<'string', 'required'>;
2140
2419
 
2141
2420
  export declare function resetPiniaStore(): Pinia;
2142
2421
 
2143
2422
  export declare function safeHtml(html: string): string;
2144
2423
 
2145
- 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<{
2146
- props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
2424
+ export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2425
+ props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
2147
2426
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
2148
2427
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
2149
2428
  expose(exposed: ShallowUnwrapRef< {}>): void;
@@ -2163,15 +2442,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
2163
2442
  options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
2164
2443
  selectedOption: ComputedRef<Nullable<SelectOptionData>>;
2165
2444
  placeholder: ComputedRef<string>;
2166
- labelClass?: HTMLAttributes['class'];
2167
- optionsClass?: HTMLAttributes['class'];
2445
+ labelClass: ComputedRef<HTMLAttributes['class']>;
2446
+ optionsClass: ComputedRef<HTMLAttributes['class']>;
2168
2447
  align?: SelectContentProps['align'];
2169
2448
  side?: SelectContentProps['side'];
2449
+ renderOption: (option: T) => string;
2170
2450
  }
2171
2451
 
2172
- export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2452
+ export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2173
2453
 
2174
- export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2454
+ export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
2175
2455
 
2176
2456
  export declare type SelectOptionData = {
2177
2457
  key: string;
@@ -2179,7 +2459,7 @@ export declare type SelectOptionData = {
2179
2459
  value: AcceptableValue;
2180
2460
  };
2181
2461
 
2182
- export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2462
+ export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
2183
2463
 
2184
2464
  export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
2185
2465
  as?: AsTag | Component;
@@ -2193,7 +2473,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
2193
2473
  side?: SelectContentProps['side'];
2194
2474
  }
2195
2475
 
2196
- export declare const SelectTrigger: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2476
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2197
2477
 
2198
2478
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2199
2479
  static persist: string[];
@@ -2260,10 +2540,12 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
2260
2540
 
2261
2541
  export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
2262
2542
 
2263
- export declare const Setting: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2543
+ export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
2264
2544
 
2265
2545
  export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2266
2546
 
2547
+ export { showModal }
2548
+
2267
2549
  export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2268
2550
 
2269
2551
  export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
@@ -2278,16 +2560,16 @@ declare class StorageService extends Service {
2278
2560
  }
2279
2561
 
2280
2562
  export declare function stringInput(defaultValue?: string, options?: {
2281
- rules?: string;
2563
+ rules?: string[];
2282
2564
  }): FormFieldDefinition<'string'>;
2283
2565
 
2284
2566
  export declare type SubmitFormListener = () => unknown;
2285
2567
 
2286
2568
  export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2287
2569
 
2288
- export declare const TextArea: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2570
+ export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2289
2571
  "update:modelValue": (value: unknown) => any;
2290
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
2572
+ }, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
2291
2573
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2292
2574
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2293
2575
  $inputRef: ({
@@ -2354,7 +2636,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
2354
2636
  as?: string;
2355
2637
  }> & Readonly<{
2356
2638
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2357
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
2639
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
2358
2640
  id: string;
2359
2641
  name: ComputedRef<string | undefined>;
2360
2642
  label: ComputedRef<string | undefined>;
@@ -2370,7 +2652,7 @@ default?(_: {}): any;
2370
2652
  }) | null;
2371
2653
  }, any>;
2372
2654
 
2373
- export declare const Toast: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2655
+ export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2374
2656
 
2375
2657
  export declare interface ToastAction {
2376
2658
  label: string;
@@ -2393,7 +2675,7 @@ export declare interface ToastProps {
2393
2675
  variant?: ToastVariant;
2394
2676
  }
2395
2677
 
2396
- export declare type ToastVariant = 'secondary' | 'danger';
2678
+ export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
2397
2679
 
2398
2680
  export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
2399
2681
 
@@ -2501,7 +2783,12 @@ export declare function useLoadingModal(props: LoadingModalProps): {
2501
2783
  showProgress: ComputedRef<boolean>;
2502
2784
  };
2503
2785
 
2504
- export { useModal }
2786
+ export declare function useModal<T = never>(): {
2787
+ close(result?: T): Promise<void>;
2788
+ id: ComputedRef<string>;
2789
+ visible: ComputedRef<boolean>;
2790
+ child: ComputedRef<ModalController<never> | null>;
2791
+ };
2505
2792
 
2506
2793
  export declare function usePromptModal(props: PromptModalProps): {
2507
2794
  form: FormController< {
@@ -2515,6 +2802,38 @@ export declare function usePromptModal(props: PromptModalProps): {
2515
2802
  renderedCancelText: ComputedRef<string>;
2516
2803
  };
2517
2804
 
2805
+ export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
2806
+ expose: {
2807
+ renderOption: (option: T) => string;
2808
+ labelClass: ComputedRef<any>;
2809
+ optionsClass: ComputedRef<any>;
2810
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
2811
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
2812
+ value: ComputedRef<T>;
2813
+ id: string;
2814
+ name: ComputedRef<string | undefined>;
2815
+ label: ComputedRef<string | undefined>;
2816
+ description: ComputedRef<string | undefined>;
2817
+ placeholder: ComputedRef<string>;
2818
+ options: ComputedRef<{
2819
+ key: string;
2820
+ label: string;
2821
+ value: AcceptableValue;
2822
+ }[] | null>;
2823
+ selectedOption: ComputedRef<{
2824
+ key: string;
2825
+ label: string;
2826
+ value: AcceptableValue;
2827
+ } | undefined>;
2828
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2829
+ required: ComputedRef<boolean | undefined>;
2830
+ update(value: T): void;
2831
+ };
2832
+ acceptableValue: ComputedRef<AcceptableValue>;
2833
+ update: (value: AcceptableValue) => void;
2834
+ renderOption: (option: T) => string;
2835
+ };
2836
+
2518
2837
  export declare function validate(value: unknown, rule: string): string[];
2519
2838
 
2520
2839
  export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
@@ -2540,22 +2859,22 @@ export { }
2540
2859
 
2541
2860
 
2542
2861
  declare module '@aerogel/core' {
2543
- interface AerogelOptions {
2544
- directives?: Record<string, Directive>;
2862
+ interface EventsPayload {
2863
+ 'application-ready': void;
2864
+ 'application-mounted': void;
2545
2865
  }
2546
2866
  }
2547
2867
 
2548
2868
 
2549
- declare module 'vue' {
2550
- interface ComponentCustomDirectives extends AerogelDirectives {
2869
+ declare module '@aerogel/core' {
2870
+ interface AerogelOptions {
2871
+ directives?: Record<string, Directive>;
2551
2872
  }
2552
2873
  }
2553
2874
 
2554
2875
 
2555
- declare module '@aerogel/core' {
2556
- interface EventsPayload {
2557
- 'application-ready': void;
2558
- 'application-mounted': void;
2876
+ declare module 'vue' {
2877
+ interface ComponentCustomDirectives extends AerogelDirectives {
2559
2878
  }
2560
2879
  }
2561
2880
 
@@ -2590,6 +2909,8 @@ declare module '@aerogel/core' {
2590
2909
  interface AerogelOptions {
2591
2910
  services?: Record<string, Service>;
2592
2911
  settings?: AppSetting[];
2912
+ formValidationRules?: Record<string, FormFieldValidator>;
2913
+ settingsFullscreenOnMobile?: boolean;
2593
2914
  }
2594
2915
  }
2595
2916