@aerogel/core 0.1.1-next.1e4498f367b830c7a83435800066bb8261d179f5 → 0.1.1-next.38e999a09609d7c9cfa836fe396028ab230f6c89
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 +110 -74
- package/dist/aerogel-core.js +1242 -1183
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +2 -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 +9 -3
- package/src/components/ui/AdvancedOptions.vue +4 -13
- package/src/components/ui/Button.vue +1 -0
- package/src/components/ui/Details.vue +20 -0
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/LoadingModal.vue +1 -2
- package/src/components/ui/Modal.vue +30 -11
- package/src/components/ui/ProgressBar.vue +16 -2
- 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 +9 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/time.ts +2 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -180,45 +180,45 @@ default?(_: {}): any;
|
|
|
180
180
|
}) | null;
|
|
181
181
|
}, any>;
|
|
182
182
|
|
|
183
|
-
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, {
|
|
184
188
|
align: "start" | "center" | "end" | undefined;
|
|
185
189
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
186
190
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
187
191
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
188
192
|
|
|
189
|
-
declare const
|
|
190
|
-
|
|
191
|
-
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
193
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
194
|
select: () => any;
|
|
193
|
-
}, string, PublicProps, Readonly<
|
|
195
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
194
196
|
onSelect?: (() => any) | undefined;
|
|
195
197
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
196
198
|
|
|
197
|
-
declare const
|
|
199
|
+
declare const __VLS_component_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
198
200
|
|
|
199
|
-
declare const
|
|
201
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
200
202
|
update: (value: string | number) => any;
|
|
201
203
|
save: () => any;
|
|
202
|
-
}, string, PublicProps, Readonly<
|
|
204
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
203
205
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
204
206
|
onSave?: (() => any) | undefined;
|
|
205
207
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
206
208
|
$inputRef: HTMLInputElement;
|
|
207
209
|
}, HTMLDivElement>;
|
|
208
210
|
|
|
209
|
-
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>;
|
|
210
212
|
|
|
211
|
-
declare const
|
|
213
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
212
214
|
submit: () => any;
|
|
213
|
-
}, string, PublicProps, Readonly<
|
|
215
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
214
216
|
onSubmit?: (() => any) | undefined;
|
|
215
217
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
216
218
|
|
|
217
|
-
declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
218
|
-
|
|
219
219
|
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
220
220
|
|
|
221
|
-
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>;
|
|
222
222
|
|
|
223
223
|
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
224
224
|
|
|
@@ -239,7 +239,9 @@ update(value: unknown): void;
|
|
|
239
239
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
240
240
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
241
241
|
|
|
242
|
-
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>;
|
|
243
245
|
|
|
244
246
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
245
247
|
|
|
@@ -356,27 +358,33 @@ declare type __VLS_Props = InputProps & {
|
|
|
356
358
|
};
|
|
357
359
|
|
|
358
360
|
declare type __VLS_Props_10 = {
|
|
359
|
-
|
|
361
|
+
error: ErrorSource;
|
|
360
362
|
};
|
|
361
363
|
|
|
362
364
|
declare type __VLS_Props_11 = {
|
|
363
365
|
report: ErrorReport;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
declare type __VLS_Props_12 = {
|
|
369
|
+
report: ErrorReport;
|
|
364
370
|
currentReport?: number;
|
|
365
371
|
totalReports?: number;
|
|
366
372
|
};
|
|
367
373
|
|
|
368
|
-
declare type
|
|
374
|
+
declare type __VLS_Props_13 = {
|
|
369
375
|
form?: FormController;
|
|
370
376
|
};
|
|
371
377
|
|
|
372
|
-
declare type
|
|
378
|
+
declare type __VLS_Props_14 = InputProps & {
|
|
373
379
|
inputClass?: HTMLAttributes['class'];
|
|
374
380
|
wrapperClass?: HTMLAttributes['class'];
|
|
381
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
382
|
+
errorClass?: HTMLAttributes['class'];
|
|
375
383
|
};
|
|
376
384
|
|
|
377
|
-
declare type
|
|
385
|
+
declare type __VLS_Props_15 = Omit<ButtonProps, 'variant'>;
|
|
378
386
|
|
|
379
|
-
declare type
|
|
387
|
+
declare type __VLS_Props_16 = {
|
|
380
388
|
as?: string;
|
|
381
389
|
inline?: boolean;
|
|
382
390
|
langKey?: string;
|
|
@@ -386,24 +394,21 @@ declare type __VLS_Props_15 = {
|
|
|
386
394
|
actions?: Record<string, () => unknown>;
|
|
387
395
|
};
|
|
388
396
|
|
|
389
|
-
declare type
|
|
397
|
+
declare type __VLS_Props_17 = {
|
|
390
398
|
filledClass?: string;
|
|
399
|
+
overflowClass?: string;
|
|
391
400
|
progress?: number;
|
|
392
401
|
job?: Falsifiable<Job>;
|
|
393
402
|
};
|
|
394
403
|
|
|
395
|
-
declare type __VLS_Props_17 = {
|
|
396
|
-
class?: HTMLAttributes['class'];
|
|
397
|
-
};
|
|
398
|
-
|
|
399
404
|
declare type __VLS_Props_18 = {
|
|
400
|
-
value: AcceptableValue;
|
|
401
405
|
class?: HTMLAttributes['class'];
|
|
402
|
-
innerClass?: HTMLAttributes['class'];
|
|
403
406
|
};
|
|
404
407
|
|
|
405
408
|
declare type __VLS_Props_19 = {
|
|
409
|
+
value: AcceptableValue;
|
|
406
410
|
class?: HTMLAttributes['class'];
|
|
411
|
+
innerClass?: HTMLAttributes['class'];
|
|
407
412
|
};
|
|
408
413
|
|
|
409
414
|
declare type __VLS_Props_2 = {
|
|
@@ -415,6 +420,10 @@ declare type __VLS_Props_20 = {
|
|
|
415
420
|
};
|
|
416
421
|
|
|
417
422
|
declare type __VLS_Props_21 = {
|
|
423
|
+
class?: HTMLAttributes['class'];
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
declare type __VLS_Props_22 = {
|
|
418
427
|
title: string;
|
|
419
428
|
titleId?: string;
|
|
420
429
|
description?: string;
|
|
@@ -422,12 +431,12 @@ declare type __VLS_Props_21 = {
|
|
|
422
431
|
layout?: 'vertical' | 'horizontal';
|
|
423
432
|
};
|
|
424
433
|
|
|
425
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_23 = InputProps & {
|
|
426
435
|
inputClass?: HTMLAttributes['class'];
|
|
427
436
|
wrapperClass?: HTMLAttributes['class'];
|
|
428
437
|
};
|
|
429
438
|
|
|
430
|
-
declare type
|
|
439
|
+
declare type __VLS_Props_24 = ToastProps & {
|
|
431
440
|
class?: HTMLAttributes['class'];
|
|
432
441
|
};
|
|
433
442
|
|
|
@@ -446,10 +455,14 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
446
455
|
};
|
|
447
456
|
|
|
448
457
|
declare type __VLS_Props_7 = {
|
|
458
|
+
label: string;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
declare type __VLS_Props_8 = {
|
|
449
462
|
class?: HTMLAttributes['class'];
|
|
450
463
|
} & PrimitiveProps;
|
|
451
464
|
|
|
452
|
-
declare type
|
|
465
|
+
declare type __VLS_Props_9 = {
|
|
453
466
|
type?: string;
|
|
454
467
|
contentClass?: HTMLAttributes['class'];
|
|
455
468
|
ariaLabel?: string;
|
|
@@ -459,10 +472,6 @@ declare type __VLS_Props_8 = {
|
|
|
459
472
|
disabled?: boolean;
|
|
460
473
|
};
|
|
461
474
|
|
|
462
|
-
declare type __VLS_Props_9 = {
|
|
463
|
-
error: ErrorSource;
|
|
464
|
-
};
|
|
465
|
-
|
|
466
475
|
declare function __VLS_template(): {
|
|
467
476
|
attrs: Partial<{}>;
|
|
468
477
|
slots: {
|
|
@@ -637,10 +646,9 @@ declare function __VLS_template_19(): {
|
|
|
637
646
|
attrs: Partial<{}>;
|
|
638
647
|
slots: {
|
|
639
648
|
default?(_: {}): any;
|
|
640
|
-
options?(_: {}): any;
|
|
641
649
|
};
|
|
642
650
|
refs: {};
|
|
643
|
-
rootEl:
|
|
651
|
+
rootEl: HTMLDetailsElement;
|
|
644
652
|
};
|
|
645
653
|
|
|
646
654
|
declare function __VLS_template_2(): {
|
|
@@ -656,6 +664,7 @@ declare function __VLS_template_20(): {
|
|
|
656
664
|
attrs: Partial<{}>;
|
|
657
665
|
slots: {
|
|
658
666
|
default?(_: {}): any;
|
|
667
|
+
options?(_: {}): any;
|
|
659
668
|
};
|
|
660
669
|
refs: {};
|
|
661
670
|
rootEl: any;
|
|
@@ -671,6 +680,15 @@ declare function __VLS_template_21(): {
|
|
|
671
680
|
};
|
|
672
681
|
|
|
673
682
|
declare function __VLS_template_22(): {
|
|
683
|
+
attrs: Partial<{}>;
|
|
684
|
+
slots: {
|
|
685
|
+
default?(_: {}): any;
|
|
686
|
+
};
|
|
687
|
+
refs: {};
|
|
688
|
+
rootEl: any;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
declare function __VLS_template_23(): {
|
|
674
692
|
attrs: Partial<{}>;
|
|
675
693
|
slots: {
|
|
676
694
|
default?(_: {}): any;
|
|
@@ -681,7 +699,7 @@ declare function __VLS_template_22(): {
|
|
|
681
699
|
rootEl: HTMLDivElement;
|
|
682
700
|
};
|
|
683
701
|
|
|
684
|
-
declare function
|
|
702
|
+
declare function __VLS_template_24(): {
|
|
685
703
|
attrs: Partial<{}>;
|
|
686
704
|
slots: Readonly<{
|
|
687
705
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -692,7 +710,7 @@ declare function __VLS_template_23(): {
|
|
|
692
710
|
rootEl: HTMLDivElement;
|
|
693
711
|
};
|
|
694
712
|
|
|
695
|
-
declare function
|
|
713
|
+
declare function __VLS_template_25(): {
|
|
696
714
|
attrs: Partial<{}>;
|
|
697
715
|
slots: {
|
|
698
716
|
default?(_: {}): any;
|
|
@@ -701,7 +719,7 @@ declare function __VLS_template_24(): {
|
|
|
701
719
|
rootEl: HTMLFormElement;
|
|
702
720
|
};
|
|
703
721
|
|
|
704
|
-
declare function
|
|
722
|
+
declare function __VLS_template_26(): {
|
|
705
723
|
attrs: Partial<{}>;
|
|
706
724
|
slots: {
|
|
707
725
|
default?(_: {}): any;
|
|
@@ -710,7 +728,7 @@ declare function __VLS_template_25(): {
|
|
|
710
728
|
rootEl: any;
|
|
711
729
|
};
|
|
712
730
|
|
|
713
|
-
declare function
|
|
731
|
+
declare function __VLS_template_27(): {
|
|
714
732
|
attrs: Partial<{}>;
|
|
715
733
|
slots: Readonly<{
|
|
716
734
|
default?(): VNode[];
|
|
@@ -721,7 +739,7 @@ declare function __VLS_template_26(): {
|
|
|
721
739
|
rootEl: any;
|
|
722
740
|
};
|
|
723
741
|
|
|
724
|
-
declare function
|
|
742
|
+
declare function __VLS_template_28(): {
|
|
725
743
|
attrs: Partial<{}>;
|
|
726
744
|
slots: {
|
|
727
745
|
default?(_: {}): any;
|
|
@@ -730,7 +748,7 @@ declare function __VLS_template_27(): {
|
|
|
730
748
|
rootEl: any;
|
|
731
749
|
};
|
|
732
750
|
|
|
733
|
-
declare function
|
|
751
|
+
declare function __VLS_template_29(): {
|
|
734
752
|
attrs: Partial<{}>;
|
|
735
753
|
slots: {
|
|
736
754
|
default?(_: {}): any;
|
|
@@ -739,26 +757,26 @@ declare function __VLS_template_28(): {
|
|
|
739
757
|
rootEl: any;
|
|
740
758
|
};
|
|
741
759
|
|
|
742
|
-
declare function
|
|
760
|
+
declare function __VLS_template_3(): {
|
|
743
761
|
attrs: Partial<{}>;
|
|
744
762
|
slots: {
|
|
745
763
|
default?(_: {}): any;
|
|
746
|
-
default?(_: {}): any;
|
|
747
764
|
};
|
|
748
765
|
refs: {};
|
|
749
766
|
rootEl: any;
|
|
750
767
|
};
|
|
751
768
|
|
|
752
|
-
declare function
|
|
769
|
+
declare function __VLS_template_30(): {
|
|
753
770
|
attrs: Partial<{}>;
|
|
754
771
|
slots: {
|
|
755
772
|
default?(_: {}): any;
|
|
773
|
+
default?(_: {}): any;
|
|
756
774
|
};
|
|
757
775
|
refs: {};
|
|
758
776
|
rootEl: any;
|
|
759
777
|
};
|
|
760
778
|
|
|
761
|
-
declare function
|
|
779
|
+
declare function __VLS_template_31(): {
|
|
762
780
|
attrs: Partial<{}>;
|
|
763
781
|
slots: {
|
|
764
782
|
default?(_: {}): any;
|
|
@@ -949,6 +967,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
949
967
|
|
|
950
968
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
951
969
|
|
|
970
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
971
|
+
|
|
952
972
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
953
973
|
|
|
954
974
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1105,6 +1125,12 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1105
1125
|
};
|
|
1106
1126
|
};
|
|
1107
1127
|
|
|
1128
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1129
|
+
new (): {
|
|
1130
|
+
$slots: S;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1108
1134
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1109
1135
|
new (): {
|
|
1110
1136
|
$slots: S;
|
|
@@ -1237,7 +1263,7 @@ export declare interface ButtonProps extends PrimitiveProps {
|
|
|
1237
1263
|
|
|
1238
1264
|
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1239
1265
|
|
|
1240
|
-
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1266
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
|
|
1241
1267
|
|
|
1242
1268
|
declare const Cache_2: Facade<CacheService>;
|
|
1243
1269
|
export { Cache_2 as Cache }
|
|
@@ -1424,9 +1450,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1424
1450
|
|
|
1425
1451
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1426
1452
|
|
|
1453
|
+
export declare const Details: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1454
|
+
|
|
1427
1455
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1428
1456
|
|
|
1429
|
-
export declare const DropdownMenu:
|
|
1457
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1430
1458
|
|
|
1431
1459
|
export declare interface DropdownMenuExpose {
|
|
1432
1460
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1434,7 +1462,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1434
1462
|
options?: readonly DropdownMenuOptionData[];
|
|
1435
1463
|
}
|
|
1436
1464
|
|
|
1437
|
-
export declare const DropdownMenuOption:
|
|
1465
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1438
1466
|
|
|
1439
1467
|
export declare type DropdownMenuOptionData = {
|
|
1440
1468
|
label: string;
|
|
@@ -1446,7 +1474,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1446
1474
|
class?: string;
|
|
1447
1475
|
};
|
|
1448
1476
|
|
|
1449
|
-
export declare const DropdownMenuOptions:
|
|
1477
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1450
1478
|
|
|
1451
1479
|
export declare interface DropdownMenuProps {
|
|
1452
1480
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1454,7 +1482,7 @@ export declare interface DropdownMenuProps {
|
|
|
1454
1482
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1455
1483
|
}
|
|
1456
1484
|
|
|
1457
|
-
export declare const EditableContent:
|
|
1485
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1458
1486
|
|
|
1459
1487
|
export declare interface ElementSize {
|
|
1460
1488
|
width: number;
|
|
@@ -1473,7 +1501,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1473
1501
|
|
|
1474
1502
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1475
1503
|
|
|
1476
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1504
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1477
1505
|
|
|
1478
1506
|
export declare interface ErrorReport {
|
|
1479
1507
|
title: string;
|
|
@@ -1492,7 +1520,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1492
1520
|
$content: ModalContentInstance;
|
|
1493
1521
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1494
1522
|
|
|
1495
|
-
export declare const ErrorReportModalButtons:
|
|
1523
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1496
1524
|
|
|
1497
1525
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1498
1526
|
id: string;
|
|
@@ -1510,7 +1538,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1510
1538
|
reports: ErrorReport[];
|
|
1511
1539
|
}
|
|
1512
1540
|
|
|
1513
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1541
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1514
1542
|
|
|
1515
1543
|
export declare const Errors: Facade<ErrorsService>;
|
|
1516
1544
|
|
|
@@ -1520,6 +1548,7 @@ declare class ErrorsService extends _default {
|
|
|
1520
1548
|
forceReporting: boolean;
|
|
1521
1549
|
private enabled;
|
|
1522
1550
|
private eruda;
|
|
1551
|
+
private erudaPlugins;
|
|
1523
1552
|
enable(): void;
|
|
1524
1553
|
disable(): void;
|
|
1525
1554
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1589,7 +1618,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1589
1618
|
|
|
1590
1619
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1591
1620
|
|
|
1592
|
-
export declare const Form:
|
|
1621
|
+
export declare const Form: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1593
1622
|
|
|
1594
1623
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1595
1624
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1604,6 +1633,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1604
1633
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1605
1634
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1606
1635
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1636
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1607
1637
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1608
1638
|
data(): FormData_2<Fields>;
|
|
1609
1639
|
validate(): boolean;
|
|
@@ -1795,9 +1825,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1795
1825
|
|
|
1796
1826
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1797
1827
|
|
|
1798
|
-
export declare const Input: DefineComponent<
|
|
1828
|
+
export declare const Input: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1799
1829
|
"update:modelValue": (value: unknown) => any;
|
|
1800
|
-
}, string, PublicProps, Readonly<
|
|
1830
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
1801
1831
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1802
1832
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1803
1833
|
$inputRef: ({
|
|
@@ -1972,7 +2002,7 @@ export declare const Layouts: {
|
|
|
1972
2002
|
readonly Desktop: "desktop";
|
|
1973
2003
|
};
|
|
1974
2004
|
|
|
1975
|
-
export declare const Link:
|
|
2005
|
+
export declare const Link: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1976
2006
|
|
|
1977
2007
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1978
2008
|
$content: ModalContentInstance;
|
|
@@ -1995,7 +2025,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
1995
2025
|
delay?: number;
|
|
1996
2026
|
}>;
|
|
1997
2027
|
|
|
1998
|
-
export declare const
|
|
2028
|
+
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2029
|
+
|
|
2030
|
+
export declare const Markdown: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1999
2031
|
|
|
2000
2032
|
export declare interface MarkdownRouter {
|
|
2001
2033
|
resolve(route: string): string;
|
|
@@ -2011,6 +2043,8 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2011
2043
|
watch?: boolean;
|
|
2012
2044
|
};
|
|
2013
2045
|
|
|
2046
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2047
|
+
|
|
2014
2048
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2015
2049
|
|
|
2016
2050
|
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<{
|
|
@@ -2043,6 +2077,8 @@ export declare interface ModalExpose {
|
|
|
2043
2077
|
|
|
2044
2078
|
export declare interface ModalProps {
|
|
2045
2079
|
persistent?: boolean;
|
|
2080
|
+
fullscreen?: boolean;
|
|
2081
|
+
fullscreenMobile?: boolean;
|
|
2046
2082
|
title?: string;
|
|
2047
2083
|
titleHidden?: boolean;
|
|
2048
2084
|
description?: string;
|
|
@@ -2085,7 +2121,7 @@ declare interface Plugin_2 {
|
|
|
2085
2121
|
}
|
|
2086
2122
|
export { Plugin_2 as Plugin }
|
|
2087
2123
|
|
|
2088
|
-
export declare const ProgressBar: DefineComponent<
|
|
2124
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2089
2125
|
|
|
2090
2126
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2091
2127
|
$content: ModalContentInstance;
|
|
@@ -2194,9 +2230,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2194
2230
|
side?: SelectContentProps['side'];
|
|
2195
2231
|
}
|
|
2196
2232
|
|
|
2197
|
-
export declare const SelectLabel:
|
|
2233
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2198
2234
|
|
|
2199
|
-
export declare const SelectOption:
|
|
2235
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2200
2236
|
|
|
2201
2237
|
export declare type SelectOptionData = {
|
|
2202
2238
|
key: string;
|
|
@@ -2204,7 +2240,7 @@ export declare type SelectOptionData = {
|
|
|
2204
2240
|
value: AcceptableValue;
|
|
2205
2241
|
};
|
|
2206
2242
|
|
|
2207
|
-
export declare const SelectOptions:
|
|
2243
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2208
2244
|
|
|
2209
2245
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2210
2246
|
as?: AsTag | Component;
|
|
@@ -2218,7 +2254,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2218
2254
|
side?: SelectContentProps['side'];
|
|
2219
2255
|
}
|
|
2220
2256
|
|
|
2221
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2257
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2222
2258
|
|
|
2223
2259
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2224
2260
|
static persist: string[];
|
|
@@ -2285,7 +2321,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2285
2321
|
|
|
2286
2322
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2287
2323
|
|
|
2288
|
-
export declare const Setting:
|
|
2324
|
+
export declare const Setting: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2289
2325
|
|
|
2290
2326
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2291
2327
|
|
|
@@ -2312,9 +2348,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2312
2348
|
|
|
2313
2349
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2314
2350
|
|
|
2315
|
-
export declare const TextArea: DefineComponent<
|
|
2351
|
+
export declare const TextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2316
2352
|
"update:modelValue": (value: unknown) => any;
|
|
2317
|
-
}, string, PublicProps, Readonly<
|
|
2353
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
2318
2354
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2319
2355
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2320
2356
|
$inputRef: ({
|
|
@@ -2397,7 +2433,7 @@ default?(_: {}): any;
|
|
|
2397
2433
|
}) | null;
|
|
2398
2434
|
}, any>;
|
|
2399
2435
|
|
|
2400
|
-
export declare const Toast: DefineComponent<
|
|
2436
|
+
export declare const Toast: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2401
2437
|
|
|
2402
2438
|
export declare interface ToastAction {
|
|
2403
2439
|
label: string;
|
|
@@ -2420,7 +2456,7 @@ export declare interface ToastProps {
|
|
|
2420
2456
|
variant?: ToastVariant;
|
|
2421
2457
|
}
|
|
2422
2458
|
|
|
2423
|
-
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2459
|
+
export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
|
|
2424
2460
|
|
|
2425
2461
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2426
2462
|
|
|
@@ -2650,11 +2686,6 @@ declare module '@aerogel/core' {
|
|
|
2650
2686
|
}
|
|
2651
2687
|
|
|
2652
2688
|
|
|
2653
|
-
declare global {
|
|
2654
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
2689
|
declare module '@aerogel/core' {
|
|
2659
2690
|
interface EventsPayload {
|
|
2660
2691
|
error: {
|
|
@@ -2665,6 +2696,11 @@ declare module '@aerogel/core' {
|
|
|
2665
2696
|
}
|
|
2666
2697
|
|
|
2667
2698
|
|
|
2699
|
+
declare global {
|
|
2700
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
|
|
2668
2704
|
declare module '@aerogel/core' {
|
|
2669
2705
|
interface EventsPayload {
|
|
2670
2706
|
'purge-storage': void;
|