@aerogel/core 0.1.1-next.9bd06e629f34098543a54bdb87e8996767876d42 → 0.1.1-next.a8a712e051e6729532e787aab3e4573464412909
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.
- package/dist/aerogel-core.d.ts +129 -76
- package/dist/aerogel-core.js +1274 -1187
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +2 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/AppOverlays.vue +1 -1
- package/src/components/contracts/Button.ts +1 -1
- package/src/components/contracts/Modal.ts +2 -0
- package/src/components/contracts/Toast.ts +1 -1
- package/src/components/headless/HeadlessInputInput.vue +13 -5
- package/src/components/headless/HeadlessModal.vue +3 -12
- package/src/components/headless/HeadlessModalContent.vue +1 -1
- package/src/components/ui/AdvancedOptions.vue +4 -13
- package/src/components/ui/Button.vue +1 -0
- package/src/components/ui/Details.vue +33 -0
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/LoadingModal.vue +1 -2
- package/src/components/ui/Modal.vue +32 -13
- package/src/components/ui/ProgressBar.vue +16 -2
- package/src/components/ui/SettingsModal.vue +1 -1
- package/src/components/ui/Toast.vue +1 -0
- package/src/components/ui/index.ts +1 -0
- package/src/errors/Errors.ts +4 -0
- package/src/forms/FormController.ts +4 -0
- package/src/index.css +10 -0
- package/src/services/App.state.ts +1 -0
- package/src/services/App.ts +4 -0
- package/src/services/index.ts +5 -0
- package/src/ui/UI.ts +2 -2
- package/src/ui/index.ts +1 -11
- package/src/ui/modals.ts +36 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/time.ts +2 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -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<
|
|
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
|
|
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<
|
|
195
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
193
196
|
onSelect?: (() => any) | undefined;
|
|
194
197
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
195
198
|
|
|
196
|
-
declare const
|
|
199
|
+
declare const __VLS_component_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
197
200
|
|
|
198
|
-
declare const
|
|
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<
|
|
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
|
|
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
|
|
213
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
211
214
|
submit: () => any;
|
|
212
|
-
}, string, PublicProps, 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<
|
|
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<
|
|
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,33 @@ declare type __VLS_Props = InputProps & {
|
|
|
355
358
|
};
|
|
356
359
|
|
|
357
360
|
declare type __VLS_Props_10 = {
|
|
358
|
-
|
|
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
|
|
374
|
+
declare type __VLS_Props_13 = {
|
|
368
375
|
form?: FormController;
|
|
369
376
|
};
|
|
370
377
|
|
|
371
|
-
declare type
|
|
378
|
+
declare type __VLS_Props_14 = InputProps & {
|
|
372
379
|
inputClass?: HTMLAttributes['class'];
|
|
373
380
|
wrapperClass?: HTMLAttributes['class'];
|
|
381
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
382
|
+
errorClass?: HTMLAttributes['class'];
|
|
374
383
|
};
|
|
375
384
|
|
|
376
|
-
declare type
|
|
385
|
+
declare type __VLS_Props_15 = Omit<ButtonProps, 'variant'>;
|
|
377
386
|
|
|
378
|
-
declare type
|
|
387
|
+
declare type __VLS_Props_16 = {
|
|
379
388
|
as?: string;
|
|
380
389
|
inline?: boolean;
|
|
381
390
|
langKey?: string;
|
|
@@ -385,24 +394,21 @@ declare type __VLS_Props_15 = {
|
|
|
385
394
|
actions?: Record<string, () => unknown>;
|
|
386
395
|
};
|
|
387
396
|
|
|
388
|
-
declare type
|
|
397
|
+
declare type __VLS_Props_17 = {
|
|
389
398
|
filledClass?: string;
|
|
399
|
+
overflowClass?: string;
|
|
390
400
|
progress?: number;
|
|
391
401
|
job?: Falsifiable<Job>;
|
|
392
402
|
};
|
|
393
403
|
|
|
394
|
-
declare type __VLS_Props_17 = {
|
|
395
|
-
class?: HTMLAttributes['class'];
|
|
396
|
-
};
|
|
397
|
-
|
|
398
404
|
declare type __VLS_Props_18 = {
|
|
399
|
-
value: AcceptableValue;
|
|
400
405
|
class?: HTMLAttributes['class'];
|
|
401
|
-
innerClass?: HTMLAttributes['class'];
|
|
402
406
|
};
|
|
403
407
|
|
|
404
408
|
declare type __VLS_Props_19 = {
|
|
409
|
+
value: AcceptableValue;
|
|
405
410
|
class?: HTMLAttributes['class'];
|
|
411
|
+
innerClass?: HTMLAttributes['class'];
|
|
406
412
|
};
|
|
407
413
|
|
|
408
414
|
declare type __VLS_Props_2 = {
|
|
@@ -414,6 +420,10 @@ declare type __VLS_Props_20 = {
|
|
|
414
420
|
};
|
|
415
421
|
|
|
416
422
|
declare type __VLS_Props_21 = {
|
|
423
|
+
class?: HTMLAttributes['class'];
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
declare type __VLS_Props_22 = {
|
|
417
427
|
title: string;
|
|
418
428
|
titleId?: string;
|
|
419
429
|
description?: string;
|
|
@@ -421,12 +431,12 @@ declare type __VLS_Props_21 = {
|
|
|
421
431
|
layout?: 'vertical' | 'horizontal';
|
|
422
432
|
};
|
|
423
433
|
|
|
424
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_23 = InputProps & {
|
|
425
435
|
inputClass?: HTMLAttributes['class'];
|
|
426
436
|
wrapperClass?: HTMLAttributes['class'];
|
|
427
437
|
};
|
|
428
438
|
|
|
429
|
-
declare type
|
|
439
|
+
declare type __VLS_Props_24 = ToastProps & {
|
|
430
440
|
class?: HTMLAttributes['class'];
|
|
431
441
|
};
|
|
432
442
|
|
|
@@ -445,10 +455,16 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
445
455
|
};
|
|
446
456
|
|
|
447
457
|
declare type __VLS_Props_7 = {
|
|
458
|
+
label?: string;
|
|
459
|
+
contentClass?: HTMLAttributes['class'];
|
|
460
|
+
summaryClass?: HTMLAttributes['class'];
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
declare type __VLS_Props_8 = {
|
|
448
464
|
class?: HTMLAttributes['class'];
|
|
449
465
|
} & PrimitiveProps;
|
|
450
466
|
|
|
451
|
-
declare type
|
|
467
|
+
declare type __VLS_Props_9 = {
|
|
452
468
|
type?: string;
|
|
453
469
|
contentClass?: HTMLAttributes['class'];
|
|
454
470
|
ariaLabel?: string;
|
|
@@ -458,10 +474,6 @@ declare type __VLS_Props_8 = {
|
|
|
458
474
|
disabled?: boolean;
|
|
459
475
|
};
|
|
460
476
|
|
|
461
|
-
declare type __VLS_Props_9 = {
|
|
462
|
-
error: ErrorSource;
|
|
463
|
-
};
|
|
464
|
-
|
|
465
477
|
declare function __VLS_template(): {
|
|
466
478
|
attrs: Partial<{}>;
|
|
467
479
|
slots: {
|
|
@@ -635,11 +647,11 @@ declare function __VLS_template_18(): {
|
|
|
635
647
|
declare function __VLS_template_19(): {
|
|
636
648
|
attrs: Partial<{}>;
|
|
637
649
|
slots: {
|
|
650
|
+
label?(_: {}): any;
|
|
638
651
|
default?(_: {}): any;
|
|
639
|
-
options?(_: {}): any;
|
|
640
652
|
};
|
|
641
653
|
refs: {};
|
|
642
|
-
rootEl:
|
|
654
|
+
rootEl: HTMLDetailsElement;
|
|
643
655
|
};
|
|
644
656
|
|
|
645
657
|
declare function __VLS_template_2(): {
|
|
@@ -655,6 +667,7 @@ declare function __VLS_template_20(): {
|
|
|
655
667
|
attrs: Partial<{}>;
|
|
656
668
|
slots: {
|
|
657
669
|
default?(_: {}): any;
|
|
670
|
+
options?(_: {}): any;
|
|
658
671
|
};
|
|
659
672
|
refs: {};
|
|
660
673
|
rootEl: any;
|
|
@@ -670,6 +683,15 @@ declare function __VLS_template_21(): {
|
|
|
670
683
|
};
|
|
671
684
|
|
|
672
685
|
declare function __VLS_template_22(): {
|
|
686
|
+
attrs: Partial<{}>;
|
|
687
|
+
slots: {
|
|
688
|
+
default?(_: {}): any;
|
|
689
|
+
};
|
|
690
|
+
refs: {};
|
|
691
|
+
rootEl: any;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
declare function __VLS_template_23(): {
|
|
673
695
|
attrs: Partial<{}>;
|
|
674
696
|
slots: {
|
|
675
697
|
default?(_: {}): any;
|
|
@@ -680,7 +702,7 @@ declare function __VLS_template_22(): {
|
|
|
680
702
|
rootEl: HTMLDivElement;
|
|
681
703
|
};
|
|
682
704
|
|
|
683
|
-
declare function
|
|
705
|
+
declare function __VLS_template_24(): {
|
|
684
706
|
attrs: Partial<{}>;
|
|
685
707
|
slots: Readonly<{
|
|
686
708
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -691,7 +713,7 @@ declare function __VLS_template_23(): {
|
|
|
691
713
|
rootEl: HTMLDivElement;
|
|
692
714
|
};
|
|
693
715
|
|
|
694
|
-
declare function
|
|
716
|
+
declare function __VLS_template_25(): {
|
|
695
717
|
attrs: Partial<{}>;
|
|
696
718
|
slots: {
|
|
697
719
|
default?(_: {}): any;
|
|
@@ -700,7 +722,7 @@ declare function __VLS_template_24(): {
|
|
|
700
722
|
rootEl: HTMLFormElement;
|
|
701
723
|
};
|
|
702
724
|
|
|
703
|
-
declare function
|
|
725
|
+
declare function __VLS_template_26(): {
|
|
704
726
|
attrs: Partial<{}>;
|
|
705
727
|
slots: {
|
|
706
728
|
default?(_: {}): any;
|
|
@@ -709,7 +731,7 @@ declare function __VLS_template_25(): {
|
|
|
709
731
|
rootEl: any;
|
|
710
732
|
};
|
|
711
733
|
|
|
712
|
-
declare function
|
|
734
|
+
declare function __VLS_template_27(): {
|
|
713
735
|
attrs: Partial<{}>;
|
|
714
736
|
slots: Readonly<{
|
|
715
737
|
default?(): VNode[];
|
|
@@ -720,7 +742,7 @@ declare function __VLS_template_26(): {
|
|
|
720
742
|
rootEl: any;
|
|
721
743
|
};
|
|
722
744
|
|
|
723
|
-
declare function
|
|
745
|
+
declare function __VLS_template_28(): {
|
|
724
746
|
attrs: Partial<{}>;
|
|
725
747
|
slots: {
|
|
726
748
|
default?(_: {}): any;
|
|
@@ -729,7 +751,7 @@ declare function __VLS_template_27(): {
|
|
|
729
751
|
rootEl: any;
|
|
730
752
|
};
|
|
731
753
|
|
|
732
|
-
declare function
|
|
754
|
+
declare function __VLS_template_29(): {
|
|
733
755
|
attrs: Partial<{}>;
|
|
734
756
|
slots: {
|
|
735
757
|
default?(_: {}): any;
|
|
@@ -738,26 +760,26 @@ declare function __VLS_template_28(): {
|
|
|
738
760
|
rootEl: any;
|
|
739
761
|
};
|
|
740
762
|
|
|
741
|
-
declare function
|
|
763
|
+
declare function __VLS_template_3(): {
|
|
742
764
|
attrs: Partial<{}>;
|
|
743
765
|
slots: {
|
|
744
766
|
default?(_: {}): any;
|
|
745
|
-
default?(_: {}): any;
|
|
746
767
|
};
|
|
747
768
|
refs: {};
|
|
748
769
|
rootEl: any;
|
|
749
770
|
};
|
|
750
771
|
|
|
751
|
-
declare function
|
|
772
|
+
declare function __VLS_template_30(): {
|
|
752
773
|
attrs: Partial<{}>;
|
|
753
774
|
slots: {
|
|
754
775
|
default?(_: {}): any;
|
|
776
|
+
default?(_: {}): any;
|
|
755
777
|
};
|
|
756
778
|
refs: {};
|
|
757
779
|
rootEl: any;
|
|
758
780
|
};
|
|
759
781
|
|
|
760
|
-
declare function
|
|
782
|
+
declare function __VLS_template_31(): {
|
|
761
783
|
attrs: Partial<{}>;
|
|
762
784
|
slots: {
|
|
763
785
|
default?(_: {}): any;
|
|
@@ -948,6 +970,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
948
970
|
|
|
949
971
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
950
972
|
|
|
973
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
974
|
+
|
|
951
975
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
952
976
|
|
|
953
977
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1104,6 +1128,12 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1104
1128
|
};
|
|
1105
1129
|
};
|
|
1106
1130
|
|
|
1131
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1132
|
+
new (): {
|
|
1133
|
+
$slots: S;
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1107
1137
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1108
1138
|
new (): {
|
|
1109
1139
|
$slots: S;
|
|
@@ -1196,6 +1226,7 @@ export declare class AppService extends _default_3 {
|
|
|
1196
1226
|
isReady(): boolean;
|
|
1197
1227
|
isMounted(): boolean;
|
|
1198
1228
|
addSetting(setting: AppSetting): void;
|
|
1229
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1199
1230
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1200
1231
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1201
1232
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1236,7 +1267,7 @@ export declare interface ButtonProps extends PrimitiveProps {
|
|
|
1236
1267
|
|
|
1237
1268
|
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1238
1269
|
|
|
1239
|
-
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1270
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
|
|
1240
1271
|
|
|
1241
1272
|
declare const Cache_2: Facade<CacheService>;
|
|
1242
1273
|
export { Cache_2 as Cache }
|
|
@@ -1367,6 +1398,7 @@ environment: string;
|
|
|
1367
1398
|
version: string;
|
|
1368
1399
|
sourceUrl: string | undefined;
|
|
1369
1400
|
settings: AppSetting[];
|
|
1401
|
+
settingsFullscreenOnMobile: boolean;
|
|
1370
1402
|
}, {
|
|
1371
1403
|
development: boolean;
|
|
1372
1404
|
staging: boolean;
|
|
@@ -1380,6 +1412,7 @@ environment: string;
|
|
|
1380
1412
|
version: string;
|
|
1381
1413
|
sourceUrl: string | undefined;
|
|
1382
1414
|
settings: AppSetting[];
|
|
1415
|
+
settingsFullscreenOnMobile: boolean;
|
|
1383
1416
|
}>>;
|
|
1384
1417
|
|
|
1385
1418
|
declare const _default_4: ServiceWithState< {
|
|
@@ -1423,9 +1456,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1423
1456
|
|
|
1424
1457
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1425
1458
|
|
|
1459
|
+
export declare const Details: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1460
|
+
|
|
1426
1461
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1427
1462
|
|
|
1428
|
-
export declare const DropdownMenu:
|
|
1463
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1429
1464
|
|
|
1430
1465
|
export declare interface DropdownMenuExpose {
|
|
1431
1466
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1433,7 +1468,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1433
1468
|
options?: readonly DropdownMenuOptionData[];
|
|
1434
1469
|
}
|
|
1435
1470
|
|
|
1436
|
-
export declare const DropdownMenuOption:
|
|
1471
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1437
1472
|
|
|
1438
1473
|
export declare type DropdownMenuOptionData = {
|
|
1439
1474
|
label: string;
|
|
@@ -1445,7 +1480,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1445
1480
|
class?: string;
|
|
1446
1481
|
};
|
|
1447
1482
|
|
|
1448
|
-
export declare const DropdownMenuOptions:
|
|
1483
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1449
1484
|
|
|
1450
1485
|
export declare interface DropdownMenuProps {
|
|
1451
1486
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1453,7 +1488,7 @@ export declare interface DropdownMenuProps {
|
|
|
1453
1488
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1454
1489
|
}
|
|
1455
1490
|
|
|
1456
|
-
export declare const EditableContent:
|
|
1491
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1457
1492
|
|
|
1458
1493
|
export declare interface ElementSize {
|
|
1459
1494
|
width: number;
|
|
@@ -1472,7 +1507,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1472
1507
|
|
|
1473
1508
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1474
1509
|
|
|
1475
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1510
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1476
1511
|
|
|
1477
1512
|
export declare interface ErrorReport {
|
|
1478
1513
|
title: string;
|
|
@@ -1491,7 +1526,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1491
1526
|
$content: ModalContentInstance;
|
|
1492
1527
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1493
1528
|
|
|
1494
|
-
export declare const ErrorReportModalButtons:
|
|
1529
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1495
1530
|
|
|
1496
1531
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1497
1532
|
id: string;
|
|
@@ -1509,7 +1544,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1509
1544
|
reports: ErrorReport[];
|
|
1510
1545
|
}
|
|
1511
1546
|
|
|
1512
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1547
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1513
1548
|
|
|
1514
1549
|
export declare const Errors: Facade<ErrorsService>;
|
|
1515
1550
|
|
|
@@ -1519,6 +1554,7 @@ declare class ErrorsService extends _default {
|
|
|
1519
1554
|
forceReporting: boolean;
|
|
1520
1555
|
private enabled;
|
|
1521
1556
|
private eruda;
|
|
1557
|
+
private erudaPlugins;
|
|
1522
1558
|
enable(): void;
|
|
1523
1559
|
disable(): void;
|
|
1524
1560
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1588,7 +1624,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1588
1624
|
|
|
1589
1625
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1590
1626
|
|
|
1591
|
-
export declare const Form:
|
|
1627
|
+
export declare const Form: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1592
1628
|
|
|
1593
1629
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1594
1630
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1603,6 +1639,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1603
1639
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1604
1640
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1605
1641
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1642
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1606
1643
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1607
1644
|
data(): FormData_2<Fields>;
|
|
1608
1645
|
validate(): boolean;
|
|
@@ -1786,15 +1823,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
|
|
|
1786
1823
|
|
|
1787
1824
|
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1788
1825
|
|
|
1826
|
+
export { injectModal }
|
|
1827
|
+
|
|
1789
1828
|
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
1790
1829
|
|
|
1791
1830
|
export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
|
|
1792
1831
|
|
|
1793
1832
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1794
1833
|
|
|
1795
|
-
export declare const Input: DefineComponent<
|
|
1834
|
+
export declare const Input: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1796
1835
|
"update:modelValue": (value: unknown) => any;
|
|
1797
|
-
}, string, PublicProps, Readonly<
|
|
1836
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
1798
1837
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1799
1838
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1800
1839
|
$inputRef: ({
|
|
@@ -1969,7 +2008,7 @@ export declare const Layouts: {
|
|
|
1969
2008
|
readonly Desktop: "desktop";
|
|
1970
2009
|
};
|
|
1971
2010
|
|
|
1972
|
-
export declare const Link:
|
|
2011
|
+
export declare const Link: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1973
2012
|
|
|
1974
2013
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1975
2014
|
$content: ModalContentInstance;
|
|
@@ -1992,7 +2031,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
1992
2031
|
delay?: number;
|
|
1993
2032
|
}>;
|
|
1994
2033
|
|
|
1995
|
-
export declare const
|
|
2034
|
+
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2035
|
+
|
|
2036
|
+
export declare const Markdown: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1996
2037
|
|
|
1997
2038
|
export declare interface MarkdownRouter {
|
|
1998
2039
|
resolve(route: string): string;
|
|
@@ -2008,6 +2049,8 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2008
2049
|
watch?: boolean;
|
|
2009
2050
|
};
|
|
2010
2051
|
|
|
2052
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2053
|
+
|
|
2011
2054
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2012
2055
|
|
|
2013
2056
|
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 +2071,8 @@ export { ModalComponent }
|
|
|
2028
2071
|
|
|
2029
2072
|
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2030
2073
|
|
|
2074
|
+
export { ModalController }
|
|
2075
|
+
|
|
2031
2076
|
export declare interface ModalEmits<Result = never> {
|
|
2032
2077
|
(event: 'close', payload: Result): void;
|
|
2033
2078
|
}
|
|
@@ -2038,6 +2083,8 @@ export declare interface ModalExpose {
|
|
|
2038
2083
|
|
|
2039
2084
|
export declare interface ModalProps {
|
|
2040
2085
|
persistent?: boolean;
|
|
2086
|
+
fullscreen?: boolean;
|
|
2087
|
+
fullscreenOnMobile?: boolean;
|
|
2041
2088
|
title?: string;
|
|
2042
2089
|
titleHidden?: boolean;
|
|
2043
2090
|
description?: string;
|
|
@@ -2080,7 +2127,7 @@ declare interface Plugin_2 {
|
|
|
2080
2127
|
}
|
|
2081
2128
|
export { Plugin_2 as Plugin }
|
|
2082
2129
|
|
|
2083
|
-
export declare const ProgressBar: DefineComponent<
|
|
2130
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2084
2131
|
|
|
2085
2132
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2086
2133
|
$content: ModalContentInstance;
|
|
@@ -2189,9 +2236,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2189
2236
|
side?: SelectContentProps['side'];
|
|
2190
2237
|
}
|
|
2191
2238
|
|
|
2192
|
-
export declare const SelectLabel:
|
|
2239
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2193
2240
|
|
|
2194
|
-
export declare const SelectOption:
|
|
2241
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2195
2242
|
|
|
2196
2243
|
export declare type SelectOptionData = {
|
|
2197
2244
|
key: string;
|
|
@@ -2199,7 +2246,7 @@ export declare type SelectOptionData = {
|
|
|
2199
2246
|
value: AcceptableValue;
|
|
2200
2247
|
};
|
|
2201
2248
|
|
|
2202
|
-
export declare const SelectOptions:
|
|
2249
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2203
2250
|
|
|
2204
2251
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2205
2252
|
as?: AsTag | Component;
|
|
@@ -2213,7 +2260,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2213
2260
|
side?: SelectContentProps['side'];
|
|
2214
2261
|
}
|
|
2215
2262
|
|
|
2216
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2263
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2217
2264
|
|
|
2218
2265
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2219
2266
|
static persist: string[];
|
|
@@ -2280,7 +2327,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2280
2327
|
|
|
2281
2328
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2282
2329
|
|
|
2283
|
-
export declare const Setting:
|
|
2330
|
+
export declare const Setting: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2284
2331
|
|
|
2285
2332
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2286
2333
|
|
|
@@ -2307,9 +2354,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2307
2354
|
|
|
2308
2355
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2309
2356
|
|
|
2310
|
-
export declare const TextArea: DefineComponent<
|
|
2357
|
+
export declare const TextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2311
2358
|
"update:modelValue": (value: unknown) => any;
|
|
2312
|
-
}, string, PublicProps, Readonly<
|
|
2359
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
2313
2360
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2314
2361
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2315
2362
|
$inputRef: ({
|
|
@@ -2392,7 +2439,7 @@ default?(_: {}): any;
|
|
|
2392
2439
|
}) | null;
|
|
2393
2440
|
}, any>;
|
|
2394
2441
|
|
|
2395
|
-
export declare const Toast: DefineComponent<
|
|
2442
|
+
export declare const Toast: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2396
2443
|
|
|
2397
2444
|
export declare interface ToastAction {
|
|
2398
2445
|
label: string;
|
|
@@ -2415,7 +2462,7 @@ export declare interface ToastProps {
|
|
|
2415
2462
|
variant?: ToastVariant;
|
|
2416
2463
|
}
|
|
2417
2464
|
|
|
2418
|
-
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2465
|
+
export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
|
|
2419
2466
|
|
|
2420
2467
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2421
2468
|
|
|
@@ -2523,7 +2570,12 @@ export declare function useLoadingModal(props: LoadingModalProps): {
|
|
|
2523
2570
|
showProgress: ComputedRef<boolean>;
|
|
2524
2571
|
};
|
|
2525
2572
|
|
|
2526
|
-
export
|
|
2573
|
+
export declare function useModal<T = never>(): {
|
|
2574
|
+
close(result?: T): Promise<void>;
|
|
2575
|
+
id: ComputedRef<string>;
|
|
2576
|
+
visible: ComputedRef<boolean>;
|
|
2577
|
+
child: ComputedRef<ModalController<never> | null>;
|
|
2578
|
+
};
|
|
2527
2579
|
|
|
2528
2580
|
export declare function usePromptModal(props: PromptModalProps): {
|
|
2529
2581
|
form: FormController< {
|
|
@@ -2612,6 +2664,7 @@ declare module '@aerogel/core' {
|
|
|
2612
2664
|
interface AerogelOptions {
|
|
2613
2665
|
services?: Record<string, Service>;
|
|
2614
2666
|
settings?: AppSetting[];
|
|
2667
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2615
2668
|
}
|
|
2616
2669
|
}
|
|
2617
2670
|
|
|
@@ -2640,11 +2693,6 @@ declare module '@aerogel/core' {
|
|
|
2640
2693
|
}
|
|
2641
2694
|
|
|
2642
2695
|
|
|
2643
|
-
declare global {
|
|
2644
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
2696
|
declare module '@aerogel/core' {
|
|
2649
2697
|
interface EventsPayload {
|
|
2650
2698
|
error: {
|
|
@@ -2655,6 +2703,11 @@ declare module '@aerogel/core' {
|
|
|
2655
2703
|
}
|
|
2656
2704
|
|
|
2657
2705
|
|
|
2706
|
+
declare global {
|
|
2707
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
|
|
2658
2711
|
declare module '@aerogel/core' {
|
|
2659
2712
|
interface EventsPayload {
|
|
2660
2713
|
'purge-storage': void;
|