@aerogel/core 0.1.1-next.9bd06e629f34098543a54bdb87e8996767876d42 → 0.1.1-next.a33efa4fd6560f7df50d8a64a9e9e2a2f62e79bb

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.
@@ -40,6 +40,7 @@ import { GlobalComponents } from 'vue';
40
40
  import { GlobalDirectives } from 'vue';
41
41
  import { HTMLAttributes } from 'vue';
42
42
  import { InjectionKey } from 'vue';
43
+ import { injectModal } from '@noeldemartin/vue-modals';
43
44
  import { JSError } from '@noeldemartin/utils';
44
45
  import { LabelProps } from 'reka-ui';
45
46
  import { Listeners } from '@noeldemartin/utils';
@@ -48,6 +49,7 @@ import { MagicObject } from '@noeldemartin/utils';
48
49
  import { MaybeRef } from 'vue';
49
50
  import { MethodOptions } from 'vue';
50
51
  import { ModalComponent } from '@noeldemartin/vue-modals';
52
+ import { ModalController } from '@noeldemartin/vue-modals';
51
53
  import { modals } from '@noeldemartin/vue-modals';
52
54
  import { ModalsPortal } from '@noeldemartin/vue-modals';
53
55
  import { nextTick } from 'vue';
@@ -68,7 +70,6 @@ import { Slot } from 'vue';
68
70
  import { StateTree } from 'pinia';
69
71
  import { Store } from 'pinia';
70
72
  import { UnwrapNestedRefs } from 'vue';
71
- import { useModal } from '@noeldemartin/vue-modals';
72
73
  import { VNode } from 'vue';
73
74
  import { VNodeProps } from 'vue';
74
75
  import { WatchOptions } from 'vue';
@@ -179,45 +180,45 @@ default?(_: {}): any;
179
180
  }) | null;
180
181
  }, any>;
181
182
 
182
- declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
183
+ declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
184
+
185
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
186
+
187
+ declare const __VLS_component_20: DefineComponent<DropdownMenuProps, {
183
188
  align: "start" | "center" | "end" | undefined;
184
189
  side: "top" | "right" | "bottom" | "left" | undefined;
185
190
  options: ComputedRef<DropdownMenuOptionData[] | undefined>;
186
191
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
187
192
 
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_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
193
+ declare const __VLS_component_21: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
191
194
  select: () => any;
192
- }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
195
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
193
196
  onSelect?: (() => any) | undefined;
194
197
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
195
198
 
196
- declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
199
+ declare const __VLS_component_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
197
200
 
198
- declare const __VLS_component_22: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
+ declare const __VLS_component_23: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
199
202
  update: (value: string | number) => any;
200
203
  save: () => any;
201
- }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
204
+ }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
202
205
  onUpdate?: ((value: string | number) => any) | undefined;
203
206
  onSave?: (() => any) | undefined;
204
207
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
205
208
  $inputRef: HTMLInputElement;
206
209
  }, HTMLDivElement>;
207
210
 
208
- declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
211
+ declare const __VLS_component_24: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
209
212
 
210
- declare const __VLS_component_24: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
213
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
211
214
  submit: () => any;
212
- }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
215
+ }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
213
216
  onSubmit?: (() => any) | undefined;
214
217
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
215
218
 
216
- declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
217
-
218
219
  declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
219
220
 
220
- declare const __VLS_component_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
221
+ declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
221
222
 
222
223
  declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
223
224
 
@@ -238,7 +239,9 @@ update(value: unknown): void;
238
239
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
239
240
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
240
241
 
241
- declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
242
+ declare const __VLS_component_30: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
243
+
244
+ declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
242
245
 
243
246
  declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
244
247
 
@@ -355,27 +358,31 @@ declare type __VLS_Props = InputProps & {
355
358
  };
356
359
 
357
360
  declare type __VLS_Props_10 = {
358
- report: ErrorReport;
361
+ error: ErrorSource;
359
362
  };
360
363
 
361
364
  declare type __VLS_Props_11 = {
362
365
  report: ErrorReport;
366
+ };
367
+
368
+ declare type __VLS_Props_12 = {
369
+ report: ErrorReport;
363
370
  currentReport?: number;
364
371
  totalReports?: number;
365
372
  };
366
373
 
367
- declare type __VLS_Props_12 = {
374
+ declare type __VLS_Props_13 = {
368
375
  form?: FormController;
369
376
  };
370
377
 
371
- declare type __VLS_Props_13 = InputProps & {
378
+ declare type __VLS_Props_14 = InputProps & {
372
379
  inputClass?: HTMLAttributes['class'];
373
380
  wrapperClass?: HTMLAttributes['class'];
374
381
  };
375
382
 
376
- declare type __VLS_Props_14 = Omit<ButtonProps, 'variant'>;
383
+ declare type __VLS_Props_15 = Omit<ButtonProps, 'variant'>;
377
384
 
378
- declare type __VLS_Props_15 = {
385
+ declare type __VLS_Props_16 = {
379
386
  as?: string;
380
387
  inline?: boolean;
381
388
  langKey?: string;
@@ -385,24 +392,20 @@ declare type __VLS_Props_15 = {
385
392
  actions?: Record<string, () => unknown>;
386
393
  };
387
394
 
388
- declare type __VLS_Props_16 = {
395
+ declare type __VLS_Props_17 = {
389
396
  filledClass?: string;
390
397
  progress?: number;
391
398
  job?: Falsifiable<Job>;
392
399
  };
393
400
 
394
- declare type __VLS_Props_17 = {
395
- class?: HTMLAttributes['class'];
396
- };
397
-
398
401
  declare type __VLS_Props_18 = {
399
- value: AcceptableValue;
400
402
  class?: HTMLAttributes['class'];
401
- innerClass?: HTMLAttributes['class'];
402
403
  };
403
404
 
404
405
  declare type __VLS_Props_19 = {
406
+ value: AcceptableValue;
405
407
  class?: HTMLAttributes['class'];
408
+ innerClass?: HTMLAttributes['class'];
406
409
  };
407
410
 
408
411
  declare type __VLS_Props_2 = {
@@ -414,6 +417,10 @@ declare type __VLS_Props_20 = {
414
417
  };
415
418
 
416
419
  declare type __VLS_Props_21 = {
420
+ class?: HTMLAttributes['class'];
421
+ };
422
+
423
+ declare type __VLS_Props_22 = {
417
424
  title: string;
418
425
  titleId?: string;
419
426
  description?: string;
@@ -421,12 +428,12 @@ declare type __VLS_Props_21 = {
421
428
  layout?: 'vertical' | 'horizontal';
422
429
  };
423
430
 
424
- declare type __VLS_Props_22 = InputProps & {
431
+ declare type __VLS_Props_23 = InputProps & {
425
432
  inputClass?: HTMLAttributes['class'];
426
433
  wrapperClass?: HTMLAttributes['class'];
427
434
  };
428
435
 
429
- declare type __VLS_Props_23 = ToastProps & {
436
+ declare type __VLS_Props_24 = ToastProps & {
430
437
  class?: HTMLAttributes['class'];
431
438
  };
432
439
 
@@ -445,10 +452,14 @@ declare type __VLS_Props_6 = InputProps & {
445
452
  };
446
453
 
447
454
  declare type __VLS_Props_7 = {
455
+ label: string;
456
+ };
457
+
458
+ declare type __VLS_Props_8 = {
448
459
  class?: HTMLAttributes['class'];
449
460
  } & PrimitiveProps;
450
461
 
451
- declare type __VLS_Props_8 = {
462
+ declare type __VLS_Props_9 = {
452
463
  type?: string;
453
464
  contentClass?: HTMLAttributes['class'];
454
465
  ariaLabel?: string;
@@ -458,10 +469,6 @@ declare type __VLS_Props_8 = {
458
469
  disabled?: boolean;
459
470
  };
460
471
 
461
- declare type __VLS_Props_9 = {
462
- error: ErrorSource;
463
- };
464
-
465
472
  declare function __VLS_template(): {
466
473
  attrs: Partial<{}>;
467
474
  slots: {
@@ -636,10 +643,9 @@ declare function __VLS_template_19(): {
636
643
  attrs: Partial<{}>;
637
644
  slots: {
638
645
  default?(_: {}): any;
639
- options?(_: {}): any;
640
646
  };
641
647
  refs: {};
642
- rootEl: any;
648
+ rootEl: HTMLDetailsElement;
643
649
  };
644
650
 
645
651
  declare function __VLS_template_2(): {
@@ -655,6 +661,7 @@ declare function __VLS_template_20(): {
655
661
  attrs: Partial<{}>;
656
662
  slots: {
657
663
  default?(_: {}): any;
664
+ options?(_: {}): any;
658
665
  };
659
666
  refs: {};
660
667
  rootEl: any;
@@ -670,6 +677,15 @@ declare function __VLS_template_21(): {
670
677
  };
671
678
 
672
679
  declare function __VLS_template_22(): {
680
+ attrs: Partial<{}>;
681
+ slots: {
682
+ default?(_: {}): any;
683
+ };
684
+ refs: {};
685
+ rootEl: any;
686
+ };
687
+
688
+ declare function __VLS_template_23(): {
673
689
  attrs: Partial<{}>;
674
690
  slots: {
675
691
  default?(_: {}): any;
@@ -680,7 +696,7 @@ declare function __VLS_template_22(): {
680
696
  rootEl: HTMLDivElement;
681
697
  };
682
698
 
683
- declare function __VLS_template_23(): {
699
+ declare function __VLS_template_24(): {
684
700
  attrs: Partial<{}>;
685
701
  slots: Readonly<{
686
702
  default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
@@ -691,7 +707,7 @@ declare function __VLS_template_23(): {
691
707
  rootEl: HTMLDivElement;
692
708
  };
693
709
 
694
- declare function __VLS_template_24(): {
710
+ declare function __VLS_template_25(): {
695
711
  attrs: Partial<{}>;
696
712
  slots: {
697
713
  default?(_: {}): any;
@@ -700,7 +716,7 @@ declare function __VLS_template_24(): {
700
716
  rootEl: HTMLFormElement;
701
717
  };
702
718
 
703
- declare function __VLS_template_25(): {
719
+ declare function __VLS_template_26(): {
704
720
  attrs: Partial<{}>;
705
721
  slots: {
706
722
  default?(_: {}): any;
@@ -709,7 +725,7 @@ declare function __VLS_template_25(): {
709
725
  rootEl: any;
710
726
  };
711
727
 
712
- declare function __VLS_template_26(): {
728
+ declare function __VLS_template_27(): {
713
729
  attrs: Partial<{}>;
714
730
  slots: Readonly<{
715
731
  default?(): VNode[];
@@ -720,7 +736,7 @@ declare function __VLS_template_26(): {
720
736
  rootEl: any;
721
737
  };
722
738
 
723
- declare function __VLS_template_27(): {
739
+ declare function __VLS_template_28(): {
724
740
  attrs: Partial<{}>;
725
741
  slots: {
726
742
  default?(_: {}): any;
@@ -729,7 +745,7 @@ declare function __VLS_template_27(): {
729
745
  rootEl: any;
730
746
  };
731
747
 
732
- declare function __VLS_template_28(): {
748
+ declare function __VLS_template_29(): {
733
749
  attrs: Partial<{}>;
734
750
  slots: {
735
751
  default?(_: {}): any;
@@ -738,26 +754,26 @@ declare function __VLS_template_28(): {
738
754
  rootEl: any;
739
755
  };
740
756
 
741
- declare function __VLS_template_29(): {
757
+ declare function __VLS_template_3(): {
742
758
  attrs: Partial<{}>;
743
759
  slots: {
744
760
  default?(_: {}): any;
745
- default?(_: {}): any;
746
761
  };
747
762
  refs: {};
748
763
  rootEl: any;
749
764
  };
750
765
 
751
- declare function __VLS_template_3(): {
766
+ declare function __VLS_template_30(): {
752
767
  attrs: Partial<{}>;
753
768
  slots: {
754
769
  default?(_: {}): any;
770
+ default?(_: {}): any;
755
771
  };
756
772
  refs: {};
757
773
  rootEl: any;
758
774
  };
759
775
 
760
- declare function __VLS_template_30(): {
776
+ declare function __VLS_template_31(): {
761
777
  attrs: Partial<{}>;
762
778
  slots: {
763
779
  default?(_: {}): any;
@@ -948,6 +964,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
948
964
 
949
965
  declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
950
966
 
967
+ declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
968
+
951
969
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
952
970
 
953
971
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
@@ -1104,6 +1122,12 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
1104
1122
  };
1105
1123
  };
1106
1124
 
1125
+ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
1126
+ new (): {
1127
+ $slots: S;
1128
+ };
1129
+ };
1130
+
1107
1131
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1108
1132
  new (): {
1109
1133
  $slots: S;
@@ -1236,7 +1260,7 @@ export declare interface ButtonProps extends PrimitiveProps {
1236
1260
 
1237
1261
  export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
1238
1262
 
1239
- export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
1263
+ export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
1240
1264
 
1241
1265
  declare const Cache_2: Facade<CacheService>;
1242
1266
  export { Cache_2 as Cache }
@@ -1423,9 +1447,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
1423
1447
 
1424
1448
  export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1425
1449
 
1450
+ export declare const Details: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1451
+
1426
1452
  export declare function dispatch(job: Job): Promise<void>;
1427
1453
 
1428
- export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1454
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1429
1455
 
1430
1456
  export declare interface DropdownMenuExpose {
1431
1457
  align?: DropdownMenuContentProps['align'];
@@ -1433,7 +1459,7 @@ export declare interface DropdownMenuExpose {
1433
1459
  options?: readonly DropdownMenuOptionData[];
1434
1460
  }
1435
1461
 
1436
- export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1462
+ export declare const DropdownMenuOption: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1437
1463
 
1438
1464
  export declare type DropdownMenuOptionData = {
1439
1465
  label: string;
@@ -1445,7 +1471,7 @@ export declare type DropdownMenuOptionData = {
1445
1471
  class?: string;
1446
1472
  };
1447
1473
 
1448
- export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1474
+ export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1449
1475
 
1450
1476
  export declare interface DropdownMenuProps {
1451
1477
  align?: DropdownMenuContentProps['align'];
@@ -1453,7 +1479,7 @@ export declare interface DropdownMenuProps {
1453
1479
  options?: readonly Falsifiable<DropdownMenuOptionData>[];
1454
1480
  }
1455
1481
 
1456
- export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1482
+ export declare const EditableContent: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1457
1483
 
1458
1484
  export declare interface ElementSize {
1459
1485
  width: number;
@@ -1472,7 +1498,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
1472
1498
 
1473
1499
  export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1474
1500
 
1475
- export declare const ErrorMessage: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1501
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1476
1502
 
1477
1503
  export declare interface ErrorReport {
1478
1504
  title: string;
@@ -1491,7 +1517,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
1491
1517
  $content: ModalContentInstance;
1492
1518
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1493
1519
 
1494
- export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1520
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1495
1521
 
1496
1522
  declare interface ErrorReportModalButtonsDefaultSlotProps {
1497
1523
  id: string;
@@ -1509,7 +1535,7 @@ export declare interface ErrorReportModalProps {
1509
1535
  reports: ErrorReport[];
1510
1536
  }
1511
1537
 
1512
- export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1538
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1513
1539
 
1514
1540
  export declare const Errors: Facade<ErrorsService>;
1515
1541
 
@@ -1588,7 +1614,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
1588
1614
 
1589
1615
  export declare type FocusFormListener = (input: string) => unknown;
1590
1616
 
1591
- export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1617
+ export declare const Form: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1592
1618
 
1593
1619
  export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1594
1620
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1603,6 +1629,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
1603
1629
  setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
1604
1630
  getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
1605
1631
  getFieldRules<T extends keyof Fields>(field: T): string[];
1632
+ setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
1606
1633
  getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
1607
1634
  data(): FormData_2<Fields>;
1608
1635
  validate(): boolean;
@@ -1786,15 +1813,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
1786
1813
 
1787
1814
  export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1788
1815
 
1816
+ export { injectModal }
1817
+
1789
1818
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1790
1819
 
1791
1820
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
1792
1821
 
1793
1822
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1794
1823
 
1795
- export declare const Input: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1824
+ export declare const Input: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1796
1825
  "update:modelValue": (value: unknown) => any;
1797
- }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
1826
+ }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
1798
1827
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1799
1828
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1800
1829
  $inputRef: ({
@@ -1969,7 +1998,7 @@ export declare const Layouts: {
1969
1998
  readonly Desktop: "desktop";
1970
1999
  };
1971
2000
 
1972
- export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2001
+ export declare const Link: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1973
2002
 
1974
2003
  export declare const LoadingModal: DefineComponent<LoadingModalProps, {
1975
2004
  $content: ModalContentInstance;
@@ -1992,7 +2021,9 @@ export declare type LoadingOptions = AcceptRefs<{
1992
2021
  delay?: number;
1993
2022
  }>;
1994
2023
 
1995
- export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2024
+ export declare const LOCAL_TIMEZONE_OFFSET: number;
2025
+
2026
+ export declare const Markdown: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
1996
2027
 
1997
2028
  export declare interface MarkdownRouter {
1998
2029
  resolve(route: string): string;
@@ -2008,6 +2039,8 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
2008
2039
  watch?: boolean;
2009
2040
  };
2010
2041
 
2042
+ export declare const MINUTE_MILLISECONDS = 60000;
2043
+
2011
2044
  export declare const MOBILE_BREAKPOINT = 768;
2012
2045
 
2013
2046
  export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
@@ -2028,6 +2061,8 @@ export { ModalComponent }
2028
2061
 
2029
2062
  export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
2030
2063
 
2064
+ export { ModalController }
2065
+
2031
2066
  export declare interface ModalEmits<Result = never> {
2032
2067
  (event: 'close', payload: Result): void;
2033
2068
  }
@@ -2038,6 +2073,8 @@ export declare interface ModalExpose {
2038
2073
 
2039
2074
  export declare interface ModalProps {
2040
2075
  persistent?: boolean;
2076
+ fullscreen?: boolean;
2077
+ fullscreenMobile?: boolean;
2041
2078
  title?: string;
2042
2079
  titleHidden?: boolean;
2043
2080
  description?: string;
@@ -2080,7 +2117,7 @@ declare interface Plugin_2 {
2080
2117
  }
2081
2118
  export { Plugin_2 as Plugin }
2082
2119
 
2083
- export declare const ProgressBar: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2120
+ export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2084
2121
 
2085
2122
  export declare const PromptModal: DefineComponent<PromptModalProps, {
2086
2123
  $content: ModalContentInstance;
@@ -2189,9 +2226,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
2189
2226
  side?: SelectContentProps['side'];
2190
2227
  }
2191
2228
 
2192
- export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2229
+ export declare const SelectLabel: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2193
2230
 
2194
- export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2231
+ export declare const SelectOption: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2195
2232
 
2196
2233
  export declare type SelectOptionData = {
2197
2234
  key: string;
@@ -2199,7 +2236,7 @@ export declare type SelectOptionData = {
2199
2236
  value: AcceptableValue;
2200
2237
  };
2201
2238
 
2202
- export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2239
+ export declare const SelectOptions: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2203
2240
 
2204
2241
  export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
2205
2242
  as?: AsTag | Component;
@@ -2213,7 +2250,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
2213
2250
  side?: SelectContentProps['side'];
2214
2251
  }
2215
2252
 
2216
- export declare const SelectTrigger: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2253
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2217
2254
 
2218
2255
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2219
2256
  static persist: string[];
@@ -2280,7 +2317,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
2280
2317
 
2281
2318
  export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
2282
2319
 
2283
- export declare const Setting: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2320
+ export declare const Setting: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
2284
2321
 
2285
2322
  export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2286
2323
 
@@ -2307,9 +2344,9 @@ export declare type SubmitFormListener = () => unknown;
2307
2344
 
2308
2345
  export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2309
2346
 
2310
- export declare const TextArea: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2347
+ export declare const TextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2311
2348
  "update:modelValue": (value: unknown) => any;
2312
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
2349
+ }, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
2313
2350
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2314
2351
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2315
2352
  $inputRef: ({
@@ -2392,7 +2429,7 @@ default?(_: {}): any;
2392
2429
  }) | null;
2393
2430
  }, any>;
2394
2431
 
2395
- export declare const Toast: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2432
+ export declare const Toast: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2396
2433
 
2397
2434
  export declare interface ToastAction {
2398
2435
  label: string;
@@ -2415,7 +2452,7 @@ export declare interface ToastProps {
2415
2452
  variant?: ToastVariant;
2416
2453
  }
2417
2454
 
2418
- export declare type ToastVariant = 'secondary' | 'danger';
2455
+ export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
2419
2456
 
2420
2457
  export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
2421
2458
 
@@ -2523,7 +2560,12 @@ export declare function useLoadingModal(props: LoadingModalProps): {
2523
2560
  showProgress: ComputedRef<boolean>;
2524
2561
  };
2525
2562
 
2526
- export { useModal }
2563
+ export declare function useModal<T = never>(): {
2564
+ close(result?: T): Promise<void>;
2565
+ id: ComputedRef<string>;
2566
+ visible: ComputedRef<boolean>;
2567
+ child: ComputedRef<ModalController<never> | null>;
2568
+ };
2527
2569
 
2528
2570
  export declare function usePromptModal(props: PromptModalProps): {
2529
2571
  form: FormController< {