@aerogel/core 0.1.1-next.7fce7b4ce55cfb9c329a7746f571015aedc8e3bd → 0.1.1-next.83b702b110078faef3926d147f4746121b64a2d5

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 (40) hide show
  1. package/dist/aerogel-core.d.ts +279 -101
  2. package/dist/aerogel-core.js +1365 -1118
  3. package/dist/aerogel-core.js.map +1 -1
  4. package/package.json +2 -1
  5. package/src/components/AppLayout.vue +1 -1
  6. package/src/components/AppOverlays.vue +1 -1
  7. package/src/components/contracts/Button.ts +1 -1
  8. package/src/components/contracts/Modal.ts +2 -0
  9. package/src/components/contracts/Select.ts +80 -2
  10. package/src/components/contracts/Toast.ts +1 -1
  11. package/src/components/headless/HeadlessInputInput.vue +13 -5
  12. package/src/components/headless/HeadlessModal.vue +3 -12
  13. package/src/components/headless/HeadlessModalContent.vue +1 -1
  14. package/src/components/headless/HeadlessSelect.vue +6 -91
  15. package/src/components/ui/AdvancedOptions.vue +4 -13
  16. package/src/components/ui/Button.vue +1 -0
  17. package/src/components/ui/Combobox.vue +30 -0
  18. package/src/components/ui/ComboboxLabel.vue +27 -0
  19. package/src/components/ui/ComboboxOption.vue +30 -0
  20. package/src/components/ui/ComboboxOptions.vue +40 -0
  21. package/src/components/ui/ComboboxTrigger.vue +26 -0
  22. package/src/components/ui/Details.vue +33 -0
  23. package/src/components/ui/Input.vue +12 -4
  24. package/src/components/ui/LoadingModal.vue +1 -2
  25. package/src/components/ui/Modal.vue +32 -13
  26. package/src/components/ui/ProgressBar.vue +16 -2
  27. package/src/components/ui/SettingsModal.vue +1 -1
  28. package/src/components/ui/Toast.vue +1 -0
  29. package/src/components/ui/index.ts +6 -0
  30. package/src/errors/Errors.ts +4 -0
  31. package/src/forms/FormController.ts +4 -0
  32. package/src/index.css +10 -0
  33. package/src/services/App.state.ts +1 -0
  34. package/src/services/App.ts +4 -0
  35. package/src/services/index.ts +5 -0
  36. package/src/ui/UI.ts +2 -2
  37. package/src/ui/index.ts +1 -1
  38. package/src/ui/modals.ts +36 -0
  39. package/src/utils/index.ts +1 -0
  40. package/src/utils/time.ts +2 -0
@@ -3,6 +3,8 @@ 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 { ComboboxItemProps } from 'reka-ui';
6
8
  import { Component } from 'vue';
7
9
  import { ComponentCustomProperties } from 'vue';
8
10
  import { ComponentCustomProps } from 'vue';
@@ -15,6 +17,7 @@ import { ComputedGetter } from 'vue';
15
17
  import { ComputedOptions } from 'vue';
16
18
  import { ComputedRef } from 'vue';
17
19
  import { Constructor } from '@noeldemartin/utils';
20
+ import { createModal } from '@noeldemartin/vue-modals';
18
21
  import { cva } from 'class-variance-authority';
19
22
  import { DebuggerEvent } from 'vue';
20
23
  import { DeepReadonly } from 'vue';
@@ -27,6 +30,7 @@ import { DialogOverlayProps } from 'reka-ui';
27
30
  import { DialogTitleProps } from 'reka-ui';
28
31
  import { Directive } from 'vue';
29
32
  import { DropdownMenuContentProps } from 'reka-ui';
33
+ import { EmitFn } from 'vue';
30
34
  import { Facade } from '@noeldemartin/utils';
31
35
  import { FocusOutsideEvent } from 'reka-ui';
32
36
  import { GetClosureArgs } from '@noeldemartin/utils';
@@ -38,6 +42,7 @@ import { GlobalComponents } from 'vue';
38
42
  import { GlobalDirectives } from 'vue';
39
43
  import { HTMLAttributes } from 'vue';
40
44
  import { InjectionKey } from 'vue';
45
+ import { injectModal } from '@noeldemartin/vue-modals';
41
46
  import { JSError } from '@noeldemartin/utils';
42
47
  import { LabelProps } from 'reka-ui';
43
48
  import { Listeners } from '@noeldemartin/utils';
@@ -45,6 +50,10 @@ import { ListenersManager } from '@noeldemartin/utils';
45
50
  import { MagicObject } from '@noeldemartin/utils';
46
51
  import { MaybeRef } from 'vue';
47
52
  import { MethodOptions } from 'vue';
53
+ import { ModalComponent } from '@noeldemartin/vue-modals';
54
+ import { ModalController } from '@noeldemartin/vue-modals';
55
+ import { modals } from '@noeldemartin/vue-modals';
56
+ import { ModalsPortal } from '@noeldemartin/vue-modals';
48
57
  import { nextTick } from 'vue';
49
58
  import { Nullable } from '@noeldemartin/utils';
50
59
  import { OnCleanup } from '@vue/reactivity';
@@ -58,11 +67,11 @@ import { Ref } from 'vue';
58
67
  import { SelectContentProps } from 'reka-ui';
59
68
  import { SelectItemProps } from 'reka-ui';
60
69
  import { ShallowUnwrapRef } from 'vue';
70
+ import { showModal } from '@noeldemartin/vue-modals';
61
71
  import { Slot } from 'vue';
62
72
  import { StateTree } from 'pinia';
63
73
  import { Store } from 'pinia';
64
74
  import { UnwrapNestedRefs } from 'vue';
65
- import { useModal } from '@noeldemartin/vue-modals';
66
75
  import { VNode } from 'vue';
67
76
  import { VNodeProps } from 'vue';
68
77
  import { WatchOptions } from 'vue';
@@ -173,49 +182,49 @@ default?(_: {}): any;
173
182
  }) | null;
174
183
  }, any>;
175
184
 
176
- declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
185
+ declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
186
+
187
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
188
+
189
+ declare const __VLS_component_20: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
190
+
191
+ declare const __VLS_component_21: DefineComponent<DropdownMenuProps, {
177
192
  align: "start" | "center" | "end" | undefined;
178
193
  side: "top" | "right" | "bottom" | "left" | undefined;
179
194
  options: ComputedRef<DropdownMenuOptionData[] | undefined>;
180
195
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
181
196
 
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, {
197
+ declare const __VLS_component_22: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
185
198
  select: () => any;
186
- }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
199
+ }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
187
200
  onSelect?: (() => any) | undefined;
188
201
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
189
202
 
190
- declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
203
+ declare const __VLS_component_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
191
204
 
192
- declare const __VLS_component_22: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
205
+ declare const __VLS_component_24: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
193
206
  update: (value: string | number) => any;
194
207
  save: () => any;
195
- }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
208
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
196
209
  onUpdate?: ((value: string | number) => any) | undefined;
197
210
  onSave?: (() => any) | undefined;
198
211
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
199
212
  $inputRef: HTMLInputElement;
200
213
  }, HTMLDivElement>;
201
214
 
202
- declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
215
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
203
216
 
204
- declare const __VLS_component_24: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
217
+ declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
205
218
  submit: () => any;
206
- }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
219
+ }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
207
220
  onSubmit?: (() => any) | undefined;
208
221
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
209
222
 
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
223
  declare const __VLS_component_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
224
 
216
225
  declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
217
226
 
218
- declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
227
+ declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
219
228
 
220
229
  declare const __VLS_component_3: DefineComponent<__VLS_Props, {
221
230
  id: string;
@@ -232,7 +241,11 @@ update(value: unknown): void;
232
241
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
233
242
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
234
243
 
235
- declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
244
+ declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
245
+
246
+ declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
247
+
248
+ declare const __VLS_component_32: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
236
249
 
237
250
  declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
238
251
 
@@ -344,32 +357,56 @@ declare type __VLS_PrettifyLocal_5<T> = {
344
357
  [K in keyof T]: T[K];
345
358
  } & {};
346
359
 
360
+ declare type __VLS_PrettifyLocal_6<T> = {
361
+ [K in keyof T]: T[K];
362
+ } & {};
363
+
347
364
  declare type __VLS_Props = InputProps & {
348
365
  as?: string;
349
366
  };
350
367
 
351
368
  declare type __VLS_Props_10 = {
369
+ class?: HTMLAttributes['class'];
370
+ } & PrimitiveProps;
371
+
372
+ declare type __VLS_Props_11 = {
373
+ type?: string;
374
+ contentClass?: HTMLAttributes['class'];
375
+ ariaLabel?: string;
376
+ formAriaHidden?: boolean;
377
+ tabindex?: string;
378
+ text: string;
379
+ disabled?: boolean;
380
+ };
381
+
382
+ declare type __VLS_Props_12 = {
383
+ error: ErrorSource;
384
+ };
385
+
386
+ declare type __VLS_Props_13 = {
352
387
  report: ErrorReport;
353
388
  };
354
389
 
355
- declare type __VLS_Props_11 = {
390
+ declare type __VLS_Props_14 = {
356
391
  report: ErrorReport;
357
392
  currentReport?: number;
358
393
  totalReports?: number;
359
394
  };
360
395
 
361
- declare type __VLS_Props_12 = {
396
+ declare type __VLS_Props_15 = {
362
397
  form?: FormController;
363
398
  };
364
399
 
365
- declare type __VLS_Props_13 = InputProps & {
400
+ declare type __VLS_Props_16 = InputProps & {
366
401
  inputClass?: HTMLAttributes['class'];
367
402
  wrapperClass?: HTMLAttributes['class'];
403
+ descriptionClass?: HTMLAttributes['class'];
404
+ errorClass?: HTMLAttributes['class'];
368
405
  };
369
406
 
370
- declare type __VLS_Props_14 = Omit<ButtonProps, 'variant'>;
407
+ declare type __VLS_Props_17 = Omit<ButtonProps, 'variant'>;
371
408
 
372
- declare type __VLS_Props_15 = {
409
+ declare type __VLS_Props_18 = {
373
410
  as?: string;
374
411
  inline?: boolean;
375
412
  langKey?: string;
@@ -379,35 +416,36 @@ declare type __VLS_Props_15 = {
379
416
  actions?: Record<string, () => unknown>;
380
417
  };
381
418
 
382
- declare type __VLS_Props_16 = {
419
+ declare type __VLS_Props_19 = {
383
420
  filledClass?: string;
421
+ overflowClass?: string;
384
422
  progress?: number;
385
423
  job?: Falsifiable<Job>;
386
424
  };
387
425
 
388
- declare type __VLS_Props_17 = {
426
+ declare type __VLS_Props_2 = {
427
+ type?: string;
428
+ };
429
+
430
+ declare type __VLS_Props_20 = {
389
431
  class?: HTMLAttributes['class'];
390
432
  };
391
433
 
392
- declare type __VLS_Props_18 = {
434
+ declare type __VLS_Props_21 = {
393
435
  value: AcceptableValue;
394
436
  class?: HTMLAttributes['class'];
395
437
  innerClass?: HTMLAttributes['class'];
396
438
  };
397
439
 
398
- declare type __VLS_Props_19 = {
440
+ declare type __VLS_Props_22 = {
399
441
  class?: HTMLAttributes['class'];
400
442
  };
401
443
 
402
- declare type __VLS_Props_2 = {
403
- type?: string;
404
- };
405
-
406
- declare type __VLS_Props_20 = {
444
+ declare type __VLS_Props_23 = {
407
445
  class?: HTMLAttributes['class'];
408
446
  };
409
447
 
410
- declare type __VLS_Props_21 = {
448
+ declare type __VLS_Props_24 = {
411
449
  title: string;
412
450
  titleId?: string;
413
451
  description?: string;
@@ -415,12 +453,12 @@ declare type __VLS_Props_21 = {
415
453
  layout?: 'vertical' | 'horizontal';
416
454
  };
417
455
 
418
- declare type __VLS_Props_22 = InputProps & {
456
+ declare type __VLS_Props_25 = InputProps & {
419
457
  inputClass?: HTMLAttributes['class'];
420
458
  wrapperClass?: HTMLAttributes['class'];
421
459
  };
422
460
 
423
- declare type __VLS_Props_23 = ToastProps & {
461
+ declare type __VLS_Props_26 = ToastProps & {
424
462
  class?: HTMLAttributes['class'];
425
463
  };
426
464
 
@@ -438,22 +476,14 @@ declare type __VLS_Props_6 = InputProps & {
438
476
  labelClass?: HTMLAttributes['class'];
439
477
  };
440
478
 
441
- declare type __VLS_Props_7 = {
442
- class?: HTMLAttributes['class'];
443
- } & PrimitiveProps;
479
+ declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
444
480
 
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
- };
481
+ declare type __VLS_Props_8 = ComboboxItemProps;
454
482
 
455
483
  declare type __VLS_Props_9 = {
456
- error: ErrorSource;
484
+ label?: string;
485
+ contentClass?: HTMLAttributes['class'];
486
+ summaryClass?: HTMLAttributes['class'];
457
487
  };
458
488
 
459
489
  declare function __VLS_template(): {
@@ -630,7 +660,6 @@ declare function __VLS_template_19(): {
630
660
  attrs: Partial<{}>;
631
661
  slots: {
632
662
  default?(_: {}): any;
633
- options?(_: {}): any;
634
663
  };
635
664
  refs: {};
636
665
  rootEl: any;
@@ -648,22 +677,42 @@ declare function __VLS_template_2(): {
648
677
  declare function __VLS_template_20(): {
649
678
  attrs: Partial<{}>;
650
679
  slots: {
680
+ label?(_: {}): any;
651
681
  default?(_: {}): any;
652
682
  };
653
683
  refs: {};
654
- rootEl: any;
684
+ rootEl: HTMLDetailsElement;
655
685
  };
656
686
 
657
687
  declare function __VLS_template_21(): {
658
688
  attrs: Partial<{}>;
659
689
  slots: {
660
690
  default?(_: {}): any;
691
+ options?(_: {}): any;
661
692
  };
662
693
  refs: {};
663
694
  rootEl: any;
664
695
  };
665
696
 
666
697
  declare function __VLS_template_22(): {
698
+ attrs: Partial<{}>;
699
+ slots: {
700
+ default?(_: {}): any;
701
+ };
702
+ refs: {};
703
+ rootEl: any;
704
+ };
705
+
706
+ declare function __VLS_template_23(): {
707
+ attrs: Partial<{}>;
708
+ slots: {
709
+ default?(_: {}): any;
710
+ };
711
+ refs: {};
712
+ rootEl: any;
713
+ };
714
+
715
+ declare function __VLS_template_24(): {
667
716
  attrs: Partial<{}>;
668
717
  slots: {
669
718
  default?(_: {}): any;
@@ -674,7 +723,7 @@ declare function __VLS_template_22(): {
674
723
  rootEl: HTMLDivElement;
675
724
  };
676
725
 
677
- declare function __VLS_template_23(): {
726
+ declare function __VLS_template_25(): {
678
727
  attrs: Partial<{}>;
679
728
  slots: Readonly<{
680
729
  default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
@@ -685,7 +734,7 @@ declare function __VLS_template_23(): {
685
734
  rootEl: HTMLDivElement;
686
735
  };
687
736
 
688
- declare function __VLS_template_24(): {
737
+ declare function __VLS_template_26(): {
689
738
  attrs: Partial<{}>;
690
739
  slots: {
691
740
  default?(_: {}): any;
@@ -694,7 +743,7 @@ declare function __VLS_template_24(): {
694
743
  rootEl: HTMLFormElement;
695
744
  };
696
745
 
697
- declare function __VLS_template_25(): {
746
+ declare function __VLS_template_27(): {
698
747
  attrs: Partial<{}>;
699
748
  slots: {
700
749
  default?(_: {}): any;
@@ -703,7 +752,7 @@ declare function __VLS_template_25(): {
703
752
  rootEl: any;
704
753
  };
705
754
 
706
- declare function __VLS_template_26(): {
755
+ declare function __VLS_template_28(): {
707
756
  attrs: Partial<{}>;
708
757
  slots: Readonly<{
709
758
  default?(): VNode[];
@@ -714,7 +763,7 @@ declare function __VLS_template_26(): {
714
763
  rootEl: any;
715
764
  };
716
765
 
717
- declare function __VLS_template_27(): {
766
+ declare function __VLS_template_29(): {
718
767
  attrs: Partial<{}>;
719
768
  slots: {
720
769
  default?(_: {}): any;
@@ -723,7 +772,7 @@ declare function __VLS_template_27(): {
723
772
  rootEl: any;
724
773
  };
725
774
 
726
- declare function __VLS_template_28(): {
775
+ declare function __VLS_template_3(): {
727
776
  attrs: Partial<{}>;
728
777
  slots: {
729
778
  default?(_: {}): any;
@@ -732,26 +781,26 @@ declare function __VLS_template_28(): {
732
781
  rootEl: any;
733
782
  };
734
783
 
735
- declare function __VLS_template_29(): {
784
+ declare function __VLS_template_30(): {
736
785
  attrs: Partial<{}>;
737
786
  slots: {
738
787
  default?(_: {}): any;
739
- default?(_: {}): any;
740
788
  };
741
789
  refs: {};
742
790
  rootEl: any;
743
791
  };
744
792
 
745
- declare function __VLS_template_3(): {
793
+ declare function __VLS_template_31(): {
746
794
  attrs: Partial<{}>;
747
795
  slots: {
748
796
  default?(_: {}): any;
797
+ default?(_: {}): any;
749
798
  };
750
799
  refs: {};
751
800
  rootEl: any;
752
801
  };
753
802
 
754
- declare function __VLS_template_30(): {
803
+ declare function __VLS_template_32(): {
755
804
  attrs: Partial<{}>;
756
805
  slots: {
757
806
  default?(_: {}): any;
@@ -942,6 +991,10 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
942
991
 
943
992
  declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
944
993
 
994
+ declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
995
+
996
+ declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
997
+
945
998
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
946
999
 
947
1000
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
@@ -1098,6 +1151,18 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
1098
1151
  };
1099
1152
  };
1100
1153
 
1154
+ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
1155
+ new (): {
1156
+ $slots: S;
1157
+ };
1158
+ };
1159
+
1160
+ declare type __VLS_WithTemplateSlots_32<T, S> = T & {
1161
+ new (): {
1162
+ $slots: S;
1163
+ };
1164
+ };
1165
+
1101
1166
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1102
1167
  new (): {
1103
1168
  $slots: S;
@@ -1190,6 +1255,7 @@ export declare class AppService extends _default_3 {
1190
1255
  isReady(): boolean;
1191
1256
  isMounted(): boolean;
1192
1257
  addSetting(setting: AppSetting): void;
1258
+ setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
1193
1259
  whenReady<T>(callback: () => T): Promise<T>;
1194
1260
  reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
1195
1261
  plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
@@ -1230,7 +1296,7 @@ export declare interface ButtonProps extends PrimitiveProps {
1230
1296
 
1231
1297
  export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
1232
1298
 
1233
- export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
1299
+ export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
1234
1300
 
1235
1301
  declare const Cache_2: Facade<CacheService>;
1236
1302
  export { Cache_2 as Cache }
@@ -1247,6 +1313,52 @@ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component
1247
1313
 
1248
1314
  export declare function classes(...inputs: ClassValue[]): string;
1249
1315
 
1316
+ export { closeModal }
1317
+
1318
+ 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<{
1319
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
1320
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1321
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
1322
+ expose(exposed: ShallowUnwrapRef< {
1323
+ labelClass: any;
1324
+ optionsClass: any;
1325
+ align: "start" | "center" | "end" | undefined;
1326
+ side: "top" | "right" | "bottom" | "left" | undefined;
1327
+ value: ComputedRef<T>;
1328
+ id: string;
1329
+ name: ComputedRef<string | undefined>;
1330
+ label: ComputedRef<string | undefined>;
1331
+ description: ComputedRef<string | undefined>;
1332
+ placeholder: ComputedRef<string>;
1333
+ options: ComputedRef< {
1334
+ key: string;
1335
+ label: string;
1336
+ value: AcceptableValue;
1337
+ }[] | null>;
1338
+ selectedOption: ComputedRef< {
1339
+ key: string;
1340
+ label: string;
1341
+ value: AcceptableValue;
1342
+ } | undefined>;
1343
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1344
+ required: ComputedRef<boolean | undefined>;
1345
+ update(value: T): void;
1346
+ }>): void;
1347
+ attrs: any;
1348
+ slots: {};
1349
+ emit: (evt: "update:modelValue", value: T) => void;
1350
+ }>) => VNode & {
1351
+ __ctx?: Awaited<typeof __VLS_setup>;
1352
+ };
1353
+
1354
+ export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1355
+
1356
+ export declare const ComboboxOption: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1357
+
1358
+ export declare const ComboboxOptions: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1359
+
1360
+ export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1361
+
1250
1362
  export declare type ComponentPropDefinitions<T> = {
1251
1363
  [K in keyof T]: {
1252
1364
  type?: PropType<T[K]>;
@@ -1318,6 +1430,8 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
1318
1430
  checkboxes?: T;
1319
1431
  }
1320
1432
 
1433
+ export { createModal }
1434
+
1321
1435
  export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
1322
1436
 
1323
1437
  export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
@@ -1357,6 +1471,7 @@ environment: string;
1357
1471
  version: string;
1358
1472
  sourceUrl: string | undefined;
1359
1473
  settings: AppSetting[];
1474
+ settingsFullscreenOnMobile: boolean;
1360
1475
  }, {
1361
1476
  development: boolean;
1362
1477
  staging: boolean;
@@ -1370,6 +1485,7 @@ environment: string;
1370
1485
  version: string;
1371
1486
  sourceUrl: string | undefined;
1372
1487
  settings: AppSetting[];
1488
+ settingsFullscreenOnMobile: boolean;
1373
1489
  }>>;
1374
1490
 
1375
1491
  declare const _default_4: ServiceWithState< {
@@ -1413,9 +1529,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
1413
1529
 
1414
1530
  export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1415
1531
 
1532
+ export declare const Details: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1533
+
1416
1534
  export declare function dispatch(job: Job): Promise<void>;
1417
1535
 
1418
- export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1536
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1419
1537
 
1420
1538
  export declare interface DropdownMenuExpose {
1421
1539
  align?: DropdownMenuContentProps['align'];
@@ -1423,7 +1541,7 @@ export declare interface DropdownMenuExpose {
1423
1541
  options?: readonly DropdownMenuOptionData[];
1424
1542
  }
1425
1543
 
1426
- export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1544
+ export declare const DropdownMenuOption: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1427
1545
 
1428
1546
  export declare type DropdownMenuOptionData = {
1429
1547
  label: string;
@@ -1435,7 +1553,7 @@ export declare type DropdownMenuOptionData = {
1435
1553
  class?: string;
1436
1554
  };
1437
1555
 
1438
- export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1556
+ export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1439
1557
 
1440
1558
  export declare interface DropdownMenuProps {
1441
1559
  align?: DropdownMenuContentProps['align'];
@@ -1443,7 +1561,7 @@ export declare interface DropdownMenuProps {
1443
1561
  options?: readonly Falsifiable<DropdownMenuOptionData>[];
1444
1562
  }
1445
1563
 
1446
- export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1564
+ export declare const EditableContent: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1447
1565
 
1448
1566
  export declare interface ElementSize {
1449
1567
  width: number;
@@ -1462,7 +1580,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
1462
1580
 
1463
1581
  export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1464
1582
 
1465
- export declare const ErrorMessage: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1583
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1466
1584
 
1467
1585
  export declare interface ErrorReport {
1468
1586
  title: string;
@@ -1481,7 +1599,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
1481
1599
  $content: ModalContentInstance;
1482
1600
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1483
1601
 
1484
- export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1602
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1485
1603
 
1486
1604
  declare interface ErrorReportModalButtonsDefaultSlotProps {
1487
1605
  id: string;
@@ -1499,7 +1617,7 @@ export declare interface ErrorReportModalProps {
1499
1617
  reports: ErrorReport[];
1500
1618
  }
1501
1619
 
1502
- export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1620
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1503
1621
 
1504
1622
  export declare const Errors: Facade<ErrorsService>;
1505
1623
 
@@ -1509,6 +1627,7 @@ declare class ErrorsService extends _default {
1509
1627
  forceReporting: boolean;
1510
1628
  private enabled;
1511
1629
  private eruda;
1630
+ private erudaPlugins;
1512
1631
  enable(): void;
1513
1632
  disable(): void;
1514
1633
  inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
@@ -1578,7 +1697,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
1578
1697
 
1579
1698
  export declare type FocusFormListener = (input: string) => unknown;
1580
1699
 
1581
- export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1700
+ export declare const Form: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1582
1701
 
1583
1702
  export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1584
1703
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1593,6 +1712,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
1593
1712
  setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
1594
1713
  getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
1595
1714
  getFieldRules<T extends keyof Fields>(field: T): string[];
1715
+ setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
1596
1716
  getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
1597
1717
  data(): FormData_2<Fields>;
1598
1718
  validate(): boolean;
@@ -1649,6 +1769,10 @@ export declare type GetFormFieldValue<TType, TValueType = unknown> = TType exten
1649
1769
 
1650
1770
  export declare function getMarkdownRouter(): MarkdownRouter | null;
1651
1771
 
1772
+ export { GetModalProps }
1773
+
1774
+ export { GetModalResponse }
1775
+
1652
1776
  export declare function getPiniaStore(): Pinia;
1653
1777
 
1654
1778
  export declare interface HasSelectOptionLabel {
@@ -1772,15 +1896,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
1772
1896
 
1773
1897
  export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1774
1898
 
1899
+ export { injectModal }
1900
+
1775
1901
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1776
1902
 
1777
1903
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
1778
1904
 
1779
1905
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1780
1906
 
1781
- export declare const Input: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1907
+ export declare const Input: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1782
1908
  "update:modelValue": (value: unknown) => any;
1783
- }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
1909
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
1784
1910
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1785
1911
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1786
1912
  $inputRef: ({
@@ -1955,7 +2081,7 @@ export declare const Layouts: {
1955
2081
  readonly Desktop: "desktop";
1956
2082
  };
1957
2083
 
1958
- export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2084
+ export declare const Link: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
1959
2085
 
1960
2086
  export declare const LoadingModal: DefineComponent<LoadingModalProps, {
1961
2087
  $content: ModalContentInstance;
@@ -1978,7 +2104,9 @@ export declare type LoadingOptions = AcceptRefs<{
1978
2104
  delay?: number;
1979
2105
  }>;
1980
2106
 
1981
- export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2107
+ export declare const LOCAL_TIMEZONE_OFFSET: number;
2108
+
2109
+ export declare const Markdown: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
1982
2110
 
1983
2111
  export declare interface MarkdownRouter {
1984
2112
  resolve(route: string): string;
@@ -1994,10 +2122,12 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
1994
2122
  watch?: boolean;
1995
2123
  };
1996
2124
 
2125
+ export declare const MINUTE_MILLISECONDS = 60000;
2126
+
1997
2127
  export declare const MOBILE_BREAKPOINT = 768;
1998
2128
 
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 & {
2129
+ 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<{
2130
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2001
2131
  wrapperClass?: HTMLAttributes["class"];
2002
2132
  class?: HTMLAttributes["class"];
2003
2133
  closeHidden?: boolean;
@@ -2010,8 +2140,12 @@ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof _
2010
2140
  __ctx?: Awaited<typeof __VLS_setup>;
2011
2141
  };
2012
2142
 
2143
+ export { ModalComponent }
2144
+
2013
2145
  export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
2014
2146
 
2147
+ export { ModalController }
2148
+
2015
2149
  export declare interface ModalEmits<Result = never> {
2016
2150
  (event: 'close', payload: Result): void;
2017
2151
  }
@@ -2022,18 +2156,24 @@ export declare interface ModalExpose {
2022
2156
 
2023
2157
  export declare interface ModalProps {
2024
2158
  persistent?: boolean;
2159
+ fullscreen?: boolean;
2160
+ fullscreenOnMobile?: boolean;
2025
2161
  title?: string;
2026
2162
  titleHidden?: boolean;
2027
2163
  description?: string;
2028
2164
  descriptionHidden?: boolean;
2029
2165
  }
2030
2166
 
2167
+ export { modals }
2168
+
2031
2169
  export declare interface ModalSlots<Result = never> {
2032
2170
  default(props: {
2033
2171
  close(result?: Result): Promise<void>;
2034
2172
  }): unknown;
2035
2173
  }
2036
2174
 
2175
+ export { ModalsPortal }
2176
+
2037
2177
  export declare function numberInput(defaultValue?: number, options?: {
2038
2178
  rules?: string;
2039
2179
  }): FormFieldDefinition<'number'>;
@@ -2060,7 +2200,7 @@ declare interface Plugin_2 {
2060
2200
  }
2061
2201
  export { Plugin_2 as Plugin }
2062
2202
 
2063
- export declare const ProgressBar: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2203
+ export declare const ProgressBar: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2064
2204
 
2065
2205
  export declare const PromptModal: DefineComponent<PromptModalProps, {
2066
2206
  $content: ModalContentInstance;
@@ -2142,8 +2282,8 @@ export declare function resetPiniaStore(): Pinia;
2142
2282
 
2143
2283
  export declare function safeHtml(html: string): string;
2144
2284
 
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<{
2285
+ 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<{
2286
+ props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
2147
2287
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
2148
2288
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
2149
2289
  expose(exposed: ShallowUnwrapRef< {}>): void;
@@ -2169,9 +2309,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
2169
2309
  side?: SelectContentProps['side'];
2170
2310
  }
2171
2311
 
2172
- export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2312
+ export declare const SelectLabel: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2173
2313
 
2174
- export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2314
+ export declare const SelectOption: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2175
2315
 
2176
2316
  export declare type SelectOptionData = {
2177
2317
  key: string;
@@ -2179,7 +2319,7 @@ export declare type SelectOptionData = {
2179
2319
  value: AcceptableValue;
2180
2320
  };
2181
2321
 
2182
- export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2322
+ export declare const SelectOptions: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
2183
2323
 
2184
2324
  export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
2185
2325
  as?: AsTag | Component;
@@ -2193,7 +2333,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
2193
2333
  side?: SelectContentProps['side'];
2194
2334
  }
2195
2335
 
2196
- export declare const SelectTrigger: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2336
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2197
2337
 
2198
2338
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2199
2339
  static persist: string[];
@@ -2260,10 +2400,12 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
2260
2400
 
2261
2401
  export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
2262
2402
 
2263
- export declare const Setting: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2403
+ export declare const Setting: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
2264
2404
 
2265
2405
  export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2266
2406
 
2407
+ export { showModal }
2408
+
2267
2409
  export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2268
2410
 
2269
2411
  export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
@@ -2285,9 +2427,9 @@ export declare type SubmitFormListener = () => unknown;
2285
2427
 
2286
2428
  export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2287
2429
 
2288
- export declare const TextArea: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2430
+ export declare const TextArea: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2289
2431
  "update:modelValue": (value: unknown) => any;
2290
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
2432
+ }, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
2291
2433
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2292
2434
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2293
2435
  $inputRef: ({
@@ -2370,7 +2512,7 @@ default?(_: {}): any;
2370
2512
  }) | null;
2371
2513
  }, any>;
2372
2514
 
2373
- export declare const Toast: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2515
+ export declare const Toast: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2374
2516
 
2375
2517
  export declare interface ToastAction {
2376
2518
  label: string;
@@ -2393,7 +2535,7 @@ export declare interface ToastProps {
2393
2535
  variant?: ToastVariant;
2394
2536
  }
2395
2537
 
2396
- export declare type ToastVariant = 'secondary' | 'danger';
2538
+ export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
2397
2539
 
2398
2540
  export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
2399
2541
 
@@ -2501,7 +2643,12 @@ export declare function useLoadingModal(props: LoadingModalProps): {
2501
2643
  showProgress: ComputedRef<boolean>;
2502
2644
  };
2503
2645
 
2504
- export { useModal }
2646
+ export declare function useModal<T = never>(): {
2647
+ close(result?: T): Promise<void>;
2648
+ id: ComputedRef<string>;
2649
+ visible: ComputedRef<boolean>;
2650
+ child: ComputedRef<ModalController<never> | null>;
2651
+ };
2505
2652
 
2506
2653
  export declare function usePromptModal(props: PromptModalProps): {
2507
2654
  form: FormController< {
@@ -2515,6 +2662,36 @@ export declare function usePromptModal(props: PromptModalProps): {
2515
2662
  renderedCancelText: ComputedRef<string>;
2516
2663
  };
2517
2664
 
2665
+ export declare function useSelect<T extends Nullable<FormFieldValue>>(props: SelectProps<T>, emit: EmitFn<SelectEmits<T>>): {
2666
+ expose: {
2667
+ labelClass: any;
2668
+ optionsClass: any;
2669
+ align: "start" | "center" | "end" | undefined;
2670
+ side: "top" | "right" | "bottom" | "left" | undefined;
2671
+ value: ComputedRef<T>;
2672
+ id: string;
2673
+ name: ComputedRef<string | undefined>;
2674
+ label: ComputedRef<string | undefined>;
2675
+ description: ComputedRef<string | undefined>;
2676
+ placeholder: ComputedRef<string>;
2677
+ options: ComputedRef<{
2678
+ key: string;
2679
+ label: string;
2680
+ value: AcceptableValue;
2681
+ }[] | null>;
2682
+ selectedOption: ComputedRef<{
2683
+ key: string;
2684
+ label: string;
2685
+ value: AcceptableValue;
2686
+ } | undefined>;
2687
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2688
+ required: ComputedRef<boolean | undefined>;
2689
+ update(value: T): void;
2690
+ };
2691
+ update: (value: AcceptableValue) => void;
2692
+ acceptableValue: ComputedRef<AcceptableValue>;
2693
+ };
2694
+
2518
2695
  export declare function validate(value: unknown, rule: string): string[];
2519
2696
 
2520
2697
  export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
@@ -2540,22 +2717,22 @@ export { }
2540
2717
 
2541
2718
 
2542
2719
  declare module '@aerogel/core' {
2543
- interface AerogelOptions {
2544
- directives?: Record<string, Directive>;
2720
+ interface EventsPayload {
2721
+ 'application-ready': void;
2722
+ 'application-mounted': void;
2545
2723
  }
2546
2724
  }
2547
2725
 
2548
2726
 
2549
- declare module 'vue' {
2550
- interface ComponentCustomDirectives extends AerogelDirectives {
2727
+ declare module '@aerogel/core' {
2728
+ interface AerogelOptions {
2729
+ directives?: Record<string, Directive>;
2551
2730
  }
2552
2731
  }
2553
2732
 
2554
2733
 
2555
- declare module '@aerogel/core' {
2556
- interface EventsPayload {
2557
- 'application-ready': void;
2558
- 'application-mounted': void;
2734
+ declare module 'vue' {
2735
+ interface ComponentCustomDirectives extends AerogelDirectives {
2559
2736
  }
2560
2737
  }
2561
2738
 
@@ -2590,6 +2767,7 @@ declare module '@aerogel/core' {
2590
2767
  interface AerogelOptions {
2591
2768
  services?: Record<string, Service>;
2592
2769
  settings?: AppSetting[];
2770
+ settingsFullscreenOnMobile?: boolean;
2593
2771
  }
2594
2772
  }
2595
2773
 
@@ -2618,11 +2796,6 @@ declare module '@aerogel/core' {
2618
2796
  }
2619
2797
 
2620
2798
 
2621
- declare global {
2622
- var __aerogelEvents__: AerogelGlobalEvents | undefined;
2623
- }
2624
-
2625
-
2626
2799
  declare module '@aerogel/core' {
2627
2800
  interface EventsPayload {
2628
2801
  error: {
@@ -2633,6 +2806,11 @@ declare module '@aerogel/core' {
2633
2806
  }
2634
2807
 
2635
2808
 
2809
+ declare global {
2810
+ var __aerogelEvents__: AerogelGlobalEvents | undefined;
2811
+ }
2812
+
2813
+
2636
2814
  declare module '@aerogel/core' {
2637
2815
  interface EventsPayload {
2638
2816
  'purge-storage': void;