@aerogel/core 0.1.1-next.7f33b133934b479bdeee0808001759d92e987cf9 → 0.1.1-next.83b702b110078faef3926d147f4746121b64a2d5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aerogel-core.d.ts +209 -89
- package/dist/aerogel-core.js +1343 -1132
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +2 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/contracts/Modal.ts +2 -0
- package/src/components/contracts/Select.ts +80 -2
- package/src/components/headless/HeadlessInputInput.vue +9 -3
- package/src/components/headless/HeadlessSelect.vue +6 -91
- package/src/components/ui/Combobox.vue +30 -0
- package/src/components/ui/ComboboxLabel.vue +27 -0
- package/src/components/ui/ComboboxOption.vue +30 -0
- package/src/components/ui/ComboboxOptions.vue +40 -0
- package/src/components/ui/ComboboxTrigger.vue +26 -0
- package/src/components/ui/Details.vue +19 -6
- 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/SettingsModal.vue +1 -1
- package/src/components/ui/index.ts +5 -0
- package/src/errors/Errors.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/utils/index.ts +1 -0
- package/src/utils/time.ts +2 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { App as App_2 } from 'vue';
|
|
|
4
4
|
import { AsTag } from 'reka-ui';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
6
|
import { closeModal } from '@noeldemartin/vue-modals';
|
|
7
|
+
import { ComboboxItemProps } from 'reka-ui';
|
|
7
8
|
import { Component } from 'vue';
|
|
8
9
|
import { ComponentCustomProperties } from 'vue';
|
|
9
10
|
import { ComponentCustomProps } from 'vue';
|
|
@@ -29,6 +30,7 @@ import { DialogOverlayProps } from 'reka-ui';
|
|
|
29
30
|
import { DialogTitleProps } from 'reka-ui';
|
|
30
31
|
import { Directive } from 'vue';
|
|
31
32
|
import { DropdownMenuContentProps } from 'reka-ui';
|
|
33
|
+
import { EmitFn } from 'vue';
|
|
32
34
|
import { Facade } from '@noeldemartin/utils';
|
|
33
35
|
import { FocusOutsideEvent } from 'reka-ui';
|
|
34
36
|
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
@@ -180,49 +182,49 @@ default?(_: {}): any;
|
|
|
180
182
|
}) | null;
|
|
181
183
|
}, any>;
|
|
182
184
|
|
|
183
|
-
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
185
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
184
186
|
|
|
185
187
|
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
186
188
|
|
|
187
|
-
declare const __VLS_component_20: DefineComponent<
|
|
189
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
190
|
+
|
|
191
|
+
declare const __VLS_component_21: DefineComponent<DropdownMenuProps, {
|
|
188
192
|
align: "start" | "center" | "end" | undefined;
|
|
189
193
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
190
194
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
191
195
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
192
196
|
|
|
193
|
-
declare const
|
|
197
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
194
198
|
select: () => any;
|
|
195
|
-
}, string, PublicProps, Readonly<
|
|
199
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
196
200
|
onSelect?: (() => any) | undefined;
|
|
197
201
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
198
202
|
|
|
199
|
-
declare const
|
|
203
|
+
declare const __VLS_component_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
200
204
|
|
|
201
|
-
declare const
|
|
205
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
202
206
|
update: (value: string | number) => any;
|
|
203
207
|
save: () => any;
|
|
204
|
-
}, string, PublicProps, Readonly<
|
|
208
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
205
209
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
206
210
|
onSave?: (() => any) | undefined;
|
|
207
211
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
208
212
|
$inputRef: HTMLInputElement;
|
|
209
213
|
}, HTMLDivElement>;
|
|
210
214
|
|
|
211
|
-
declare const
|
|
215
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
212
216
|
|
|
213
|
-
declare const
|
|
217
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
214
218
|
submit: () => any;
|
|
215
|
-
}, string, PublicProps, Readonly<
|
|
219
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
216
220
|
onSubmit?: (() => any) | undefined;
|
|
217
221
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
218
222
|
|
|
219
|
-
declare const
|
|
220
|
-
|
|
221
|
-
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
223
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
222
224
|
|
|
223
225
|
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
224
226
|
|
|
225
|
-
declare const __VLS_component_29: DefineComponent<
|
|
227
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
226
228
|
|
|
227
229
|
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
228
230
|
id: string;
|
|
@@ -239,9 +241,11 @@ update(value: unknown): void;
|
|
|
239
241
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
240
242
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
241
243
|
|
|
242
|
-
declare const __VLS_component_30: DefineComponent<
|
|
244
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
245
|
+
|
|
246
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
243
247
|
|
|
244
|
-
declare const
|
|
248
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
245
249
|
|
|
246
250
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
247
251
|
|
|
@@ -353,36 +357,56 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
353
357
|
[K in keyof T]: T[K];
|
|
354
358
|
} & {};
|
|
355
359
|
|
|
360
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
361
|
+
[K in keyof T]: T[K];
|
|
362
|
+
} & {};
|
|
363
|
+
|
|
356
364
|
declare type __VLS_Props = InputProps & {
|
|
357
365
|
as?: string;
|
|
358
366
|
};
|
|
359
367
|
|
|
360
368
|
declare type __VLS_Props_10 = {
|
|
369
|
+
class?: HTMLAttributes['class'];
|
|
370
|
+
} & PrimitiveProps;
|
|
371
|
+
|
|
372
|
+
declare type __VLS_Props_11 = {
|
|
373
|
+
type?: string;
|
|
374
|
+
contentClass?: HTMLAttributes['class'];
|
|
375
|
+
ariaLabel?: string;
|
|
376
|
+
formAriaHidden?: boolean;
|
|
377
|
+
tabindex?: string;
|
|
378
|
+
text: string;
|
|
379
|
+
disabled?: boolean;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
declare type __VLS_Props_12 = {
|
|
361
383
|
error: ErrorSource;
|
|
362
384
|
};
|
|
363
385
|
|
|
364
|
-
declare type
|
|
386
|
+
declare type __VLS_Props_13 = {
|
|
365
387
|
report: ErrorReport;
|
|
366
388
|
};
|
|
367
389
|
|
|
368
|
-
declare type
|
|
390
|
+
declare type __VLS_Props_14 = {
|
|
369
391
|
report: ErrorReport;
|
|
370
392
|
currentReport?: number;
|
|
371
393
|
totalReports?: number;
|
|
372
394
|
};
|
|
373
395
|
|
|
374
|
-
declare type
|
|
396
|
+
declare type __VLS_Props_15 = {
|
|
375
397
|
form?: FormController;
|
|
376
398
|
};
|
|
377
399
|
|
|
378
|
-
declare type
|
|
400
|
+
declare type __VLS_Props_16 = InputProps & {
|
|
379
401
|
inputClass?: HTMLAttributes['class'];
|
|
380
402
|
wrapperClass?: HTMLAttributes['class'];
|
|
403
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
404
|
+
errorClass?: HTMLAttributes['class'];
|
|
381
405
|
};
|
|
382
406
|
|
|
383
|
-
declare type
|
|
407
|
+
declare type __VLS_Props_17 = Omit<ButtonProps, 'variant'>;
|
|
384
408
|
|
|
385
|
-
declare type
|
|
409
|
+
declare type __VLS_Props_18 = {
|
|
386
410
|
as?: string;
|
|
387
411
|
inline?: boolean;
|
|
388
412
|
langKey?: string;
|
|
@@ -392,35 +416,36 @@ declare type __VLS_Props_16 = {
|
|
|
392
416
|
actions?: Record<string, () => unknown>;
|
|
393
417
|
};
|
|
394
418
|
|
|
395
|
-
declare type
|
|
419
|
+
declare type __VLS_Props_19 = {
|
|
396
420
|
filledClass?: string;
|
|
421
|
+
overflowClass?: string;
|
|
397
422
|
progress?: number;
|
|
398
423
|
job?: Falsifiable<Job>;
|
|
399
424
|
};
|
|
400
425
|
|
|
401
|
-
declare type
|
|
426
|
+
declare type __VLS_Props_2 = {
|
|
427
|
+
type?: string;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
declare type __VLS_Props_20 = {
|
|
402
431
|
class?: HTMLAttributes['class'];
|
|
403
432
|
};
|
|
404
433
|
|
|
405
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_21 = {
|
|
406
435
|
value: AcceptableValue;
|
|
407
436
|
class?: HTMLAttributes['class'];
|
|
408
437
|
innerClass?: HTMLAttributes['class'];
|
|
409
438
|
};
|
|
410
439
|
|
|
411
|
-
declare type
|
|
412
|
-
type?: string;
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
declare type __VLS_Props_20 = {
|
|
440
|
+
declare type __VLS_Props_22 = {
|
|
416
441
|
class?: HTMLAttributes['class'];
|
|
417
442
|
};
|
|
418
443
|
|
|
419
|
-
declare type
|
|
444
|
+
declare type __VLS_Props_23 = {
|
|
420
445
|
class?: HTMLAttributes['class'];
|
|
421
446
|
};
|
|
422
447
|
|
|
423
|
-
declare type
|
|
448
|
+
declare type __VLS_Props_24 = {
|
|
424
449
|
title: string;
|
|
425
450
|
titleId?: string;
|
|
426
451
|
description?: string;
|
|
@@ -428,12 +453,12 @@ declare type __VLS_Props_22 = {
|
|
|
428
453
|
layout?: 'vertical' | 'horizontal';
|
|
429
454
|
};
|
|
430
455
|
|
|
431
|
-
declare type
|
|
456
|
+
declare type __VLS_Props_25 = InputProps & {
|
|
432
457
|
inputClass?: HTMLAttributes['class'];
|
|
433
458
|
wrapperClass?: HTMLAttributes['class'];
|
|
434
459
|
};
|
|
435
460
|
|
|
436
|
-
declare type
|
|
461
|
+
declare type __VLS_Props_26 = ToastProps & {
|
|
437
462
|
class?: HTMLAttributes['class'];
|
|
438
463
|
};
|
|
439
464
|
|
|
@@ -451,22 +476,14 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
451
476
|
labelClass?: HTMLAttributes['class'];
|
|
452
477
|
};
|
|
453
478
|
|
|
454
|
-
declare type __VLS_Props_7 =
|
|
455
|
-
label: string;
|
|
456
|
-
};
|
|
479
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
457
480
|
|
|
458
|
-
declare type __VLS_Props_8 =
|
|
459
|
-
class?: HTMLAttributes['class'];
|
|
460
|
-
} & PrimitiveProps;
|
|
481
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
461
482
|
|
|
462
483
|
declare type __VLS_Props_9 = {
|
|
463
|
-
|
|
484
|
+
label?: string;
|
|
464
485
|
contentClass?: HTMLAttributes['class'];
|
|
465
|
-
|
|
466
|
-
formAriaHidden?: boolean;
|
|
467
|
-
tabindex?: string;
|
|
468
|
-
text: string;
|
|
469
|
-
disabled?: boolean;
|
|
486
|
+
summaryClass?: HTMLAttributes['class'];
|
|
470
487
|
};
|
|
471
488
|
|
|
472
489
|
declare function __VLS_template(): {
|
|
@@ -645,7 +662,7 @@ declare function __VLS_template_19(): {
|
|
|
645
662
|
default?(_: {}): any;
|
|
646
663
|
};
|
|
647
664
|
refs: {};
|
|
648
|
-
rootEl:
|
|
665
|
+
rootEl: any;
|
|
649
666
|
};
|
|
650
667
|
|
|
651
668
|
declare function __VLS_template_2(): {
|
|
@@ -660,17 +677,18 @@ declare function __VLS_template_2(): {
|
|
|
660
677
|
declare function __VLS_template_20(): {
|
|
661
678
|
attrs: Partial<{}>;
|
|
662
679
|
slots: {
|
|
680
|
+
label?(_: {}): any;
|
|
663
681
|
default?(_: {}): any;
|
|
664
|
-
options?(_: {}): any;
|
|
665
682
|
};
|
|
666
683
|
refs: {};
|
|
667
|
-
rootEl:
|
|
684
|
+
rootEl: HTMLDetailsElement;
|
|
668
685
|
};
|
|
669
686
|
|
|
670
687
|
declare function __VLS_template_21(): {
|
|
671
688
|
attrs: Partial<{}>;
|
|
672
689
|
slots: {
|
|
673
690
|
default?(_: {}): any;
|
|
691
|
+
options?(_: {}): any;
|
|
674
692
|
};
|
|
675
693
|
refs: {};
|
|
676
694
|
rootEl: any;
|
|
@@ -686,6 +704,15 @@ declare function __VLS_template_22(): {
|
|
|
686
704
|
};
|
|
687
705
|
|
|
688
706
|
declare function __VLS_template_23(): {
|
|
707
|
+
attrs: Partial<{}>;
|
|
708
|
+
slots: {
|
|
709
|
+
default?(_: {}): any;
|
|
710
|
+
};
|
|
711
|
+
refs: {};
|
|
712
|
+
rootEl: any;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
declare function __VLS_template_24(): {
|
|
689
716
|
attrs: Partial<{}>;
|
|
690
717
|
slots: {
|
|
691
718
|
default?(_: {}): any;
|
|
@@ -696,7 +723,7 @@ declare function __VLS_template_23(): {
|
|
|
696
723
|
rootEl: HTMLDivElement;
|
|
697
724
|
};
|
|
698
725
|
|
|
699
|
-
declare function
|
|
726
|
+
declare function __VLS_template_25(): {
|
|
700
727
|
attrs: Partial<{}>;
|
|
701
728
|
slots: Readonly<{
|
|
702
729
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -707,7 +734,7 @@ declare function __VLS_template_24(): {
|
|
|
707
734
|
rootEl: HTMLDivElement;
|
|
708
735
|
};
|
|
709
736
|
|
|
710
|
-
declare function
|
|
737
|
+
declare function __VLS_template_26(): {
|
|
711
738
|
attrs: Partial<{}>;
|
|
712
739
|
slots: {
|
|
713
740
|
default?(_: {}): any;
|
|
@@ -716,7 +743,7 @@ declare function __VLS_template_25(): {
|
|
|
716
743
|
rootEl: HTMLFormElement;
|
|
717
744
|
};
|
|
718
745
|
|
|
719
|
-
declare function
|
|
746
|
+
declare function __VLS_template_27(): {
|
|
720
747
|
attrs: Partial<{}>;
|
|
721
748
|
slots: {
|
|
722
749
|
default?(_: {}): any;
|
|
@@ -725,7 +752,7 @@ declare function __VLS_template_26(): {
|
|
|
725
752
|
rootEl: any;
|
|
726
753
|
};
|
|
727
754
|
|
|
728
|
-
declare function
|
|
755
|
+
declare function __VLS_template_28(): {
|
|
729
756
|
attrs: Partial<{}>;
|
|
730
757
|
slots: Readonly<{
|
|
731
758
|
default?(): VNode[];
|
|
@@ -736,7 +763,7 @@ declare function __VLS_template_27(): {
|
|
|
736
763
|
rootEl: any;
|
|
737
764
|
};
|
|
738
765
|
|
|
739
|
-
declare function
|
|
766
|
+
declare function __VLS_template_29(): {
|
|
740
767
|
attrs: Partial<{}>;
|
|
741
768
|
slots: {
|
|
742
769
|
default?(_: {}): any;
|
|
@@ -745,7 +772,7 @@ declare function __VLS_template_28(): {
|
|
|
745
772
|
rootEl: any;
|
|
746
773
|
};
|
|
747
774
|
|
|
748
|
-
declare function
|
|
775
|
+
declare function __VLS_template_3(): {
|
|
749
776
|
attrs: Partial<{}>;
|
|
750
777
|
slots: {
|
|
751
778
|
default?(_: {}): any;
|
|
@@ -754,7 +781,7 @@ declare function __VLS_template_29(): {
|
|
|
754
781
|
rootEl: any;
|
|
755
782
|
};
|
|
756
783
|
|
|
757
|
-
declare function
|
|
784
|
+
declare function __VLS_template_30(): {
|
|
758
785
|
attrs: Partial<{}>;
|
|
759
786
|
slots: {
|
|
760
787
|
default?(_: {}): any;
|
|
@@ -763,7 +790,7 @@ declare function __VLS_template_3(): {
|
|
|
763
790
|
rootEl: any;
|
|
764
791
|
};
|
|
765
792
|
|
|
766
|
-
declare function
|
|
793
|
+
declare function __VLS_template_31(): {
|
|
767
794
|
attrs: Partial<{}>;
|
|
768
795
|
slots: {
|
|
769
796
|
default?(_: {}): any;
|
|
@@ -773,7 +800,7 @@ declare function __VLS_template_30(): {
|
|
|
773
800
|
rootEl: any;
|
|
774
801
|
};
|
|
775
802
|
|
|
776
|
-
declare function
|
|
803
|
+
declare function __VLS_template_32(): {
|
|
777
804
|
attrs: Partial<{}>;
|
|
778
805
|
slots: {
|
|
779
806
|
default?(_: {}): any;
|
|
@@ -966,6 +993,8 @@ declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
|
966
993
|
|
|
967
994
|
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
968
995
|
|
|
996
|
+
declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
|
|
997
|
+
|
|
969
998
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
970
999
|
|
|
971
1000
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1128,6 +1157,12 @@ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
|
1128
1157
|
};
|
|
1129
1158
|
};
|
|
1130
1159
|
|
|
1160
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
1161
|
+
new (): {
|
|
1162
|
+
$slots: S;
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1131
1166
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1132
1167
|
new (): {
|
|
1133
1168
|
$slots: S;
|
|
@@ -1220,6 +1255,7 @@ export declare class AppService extends _default_3 {
|
|
|
1220
1255
|
isReady(): boolean;
|
|
1221
1256
|
isMounted(): boolean;
|
|
1222
1257
|
addSetting(setting: AppSetting): void;
|
|
1258
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1223
1259
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1224
1260
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1225
1261
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1279,6 +1315,50 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1279
1315
|
|
|
1280
1316
|
export { closeModal }
|
|
1281
1317
|
|
|
1318
|
+
export declare const Combobox: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1319
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
|
|
1320
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1321
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1322
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1323
|
+
labelClass: any;
|
|
1324
|
+
optionsClass: any;
|
|
1325
|
+
align: "start" | "center" | "end" | undefined;
|
|
1326
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
1327
|
+
value: ComputedRef<T>;
|
|
1328
|
+
id: string;
|
|
1329
|
+
name: ComputedRef<string | undefined>;
|
|
1330
|
+
label: ComputedRef<string | undefined>;
|
|
1331
|
+
description: ComputedRef<string | undefined>;
|
|
1332
|
+
placeholder: ComputedRef<string>;
|
|
1333
|
+
options: ComputedRef< {
|
|
1334
|
+
key: string;
|
|
1335
|
+
label: string;
|
|
1336
|
+
value: AcceptableValue;
|
|
1337
|
+
}[] | null>;
|
|
1338
|
+
selectedOption: ComputedRef< {
|
|
1339
|
+
key: string;
|
|
1340
|
+
label: string;
|
|
1341
|
+
value: AcceptableValue;
|
|
1342
|
+
} | undefined>;
|
|
1343
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1344
|
+
required: ComputedRef<boolean | undefined>;
|
|
1345
|
+
update(value: T): void;
|
|
1346
|
+
}>): void;
|
|
1347
|
+
attrs: any;
|
|
1348
|
+
slots: {};
|
|
1349
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1350
|
+
}>) => VNode & {
|
|
1351
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1355
|
+
|
|
1356
|
+
export declare const ComboboxOption: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1357
|
+
|
|
1358
|
+
export declare const ComboboxOptions: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1359
|
+
|
|
1360
|
+
export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1361
|
+
|
|
1282
1362
|
export declare type ComponentPropDefinitions<T> = {
|
|
1283
1363
|
[K in keyof T]: {
|
|
1284
1364
|
type?: PropType<T[K]>;
|
|
@@ -1391,6 +1471,7 @@ environment: string;
|
|
|
1391
1471
|
version: string;
|
|
1392
1472
|
sourceUrl: string | undefined;
|
|
1393
1473
|
settings: AppSetting[];
|
|
1474
|
+
settingsFullscreenOnMobile: boolean;
|
|
1394
1475
|
}, {
|
|
1395
1476
|
development: boolean;
|
|
1396
1477
|
staging: boolean;
|
|
@@ -1404,6 +1485,7 @@ environment: string;
|
|
|
1404
1485
|
version: string;
|
|
1405
1486
|
sourceUrl: string | undefined;
|
|
1406
1487
|
settings: AppSetting[];
|
|
1488
|
+
settingsFullscreenOnMobile: boolean;
|
|
1407
1489
|
}>>;
|
|
1408
1490
|
|
|
1409
1491
|
declare const _default_4: ServiceWithState< {
|
|
@@ -1447,11 +1529,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1447
1529
|
|
|
1448
1530
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1449
1531
|
|
|
1450
|
-
export declare const Details:
|
|
1532
|
+
export declare const Details: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1451
1533
|
|
|
1452
1534
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1453
1535
|
|
|
1454
|
-
export declare const DropdownMenu:
|
|
1536
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1455
1537
|
|
|
1456
1538
|
export declare interface DropdownMenuExpose {
|
|
1457
1539
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1459,7 +1541,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1459
1541
|
options?: readonly DropdownMenuOptionData[];
|
|
1460
1542
|
}
|
|
1461
1543
|
|
|
1462
|
-
export declare const DropdownMenuOption:
|
|
1544
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1463
1545
|
|
|
1464
1546
|
export declare type DropdownMenuOptionData = {
|
|
1465
1547
|
label: string;
|
|
@@ -1471,7 +1553,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1471
1553
|
class?: string;
|
|
1472
1554
|
};
|
|
1473
1555
|
|
|
1474
|
-
export declare const DropdownMenuOptions:
|
|
1556
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1475
1557
|
|
|
1476
1558
|
export declare interface DropdownMenuProps {
|
|
1477
1559
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1479,7 +1561,7 @@ export declare interface DropdownMenuProps {
|
|
|
1479
1561
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1480
1562
|
}
|
|
1481
1563
|
|
|
1482
|
-
export declare const EditableContent:
|
|
1564
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1483
1565
|
|
|
1484
1566
|
export declare interface ElementSize {
|
|
1485
1567
|
width: number;
|
|
@@ -1498,7 +1580,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1498
1580
|
|
|
1499
1581
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1500
1582
|
|
|
1501
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1583
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1502
1584
|
|
|
1503
1585
|
export declare interface ErrorReport {
|
|
1504
1586
|
title: string;
|
|
@@ -1517,7 +1599,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1517
1599
|
$content: ModalContentInstance;
|
|
1518
1600
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1519
1601
|
|
|
1520
|
-
export declare const ErrorReportModalButtons:
|
|
1602
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1521
1603
|
|
|
1522
1604
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1523
1605
|
id: string;
|
|
@@ -1535,7 +1617,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1535
1617
|
reports: ErrorReport[];
|
|
1536
1618
|
}
|
|
1537
1619
|
|
|
1538
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1620
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1539
1621
|
|
|
1540
1622
|
export declare const Errors: Facade<ErrorsService>;
|
|
1541
1623
|
|
|
@@ -1545,6 +1627,7 @@ declare class ErrorsService extends _default {
|
|
|
1545
1627
|
forceReporting: boolean;
|
|
1546
1628
|
private enabled;
|
|
1547
1629
|
private eruda;
|
|
1630
|
+
private erudaPlugins;
|
|
1548
1631
|
enable(): void;
|
|
1549
1632
|
disable(): void;
|
|
1550
1633
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1614,7 +1697,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1614
1697
|
|
|
1615
1698
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1616
1699
|
|
|
1617
|
-
export declare const Form:
|
|
1700
|
+
export declare const Form: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1618
1701
|
|
|
1619
1702
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1620
1703
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1821,9 +1904,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1821
1904
|
|
|
1822
1905
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1823
1906
|
|
|
1824
|
-
export declare const Input: DefineComponent<
|
|
1907
|
+
export declare const Input: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1825
1908
|
"update:modelValue": (value: unknown) => any;
|
|
1826
|
-
}, string, PublicProps, Readonly<
|
|
1909
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
1827
1910
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1828
1911
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1829
1912
|
$inputRef: ({
|
|
@@ -1998,7 +2081,7 @@ export declare const Layouts: {
|
|
|
1998
2081
|
readonly Desktop: "desktop";
|
|
1999
2082
|
};
|
|
2000
2083
|
|
|
2001
|
-
export declare const Link:
|
|
2084
|
+
export declare const Link: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
2002
2085
|
|
|
2003
2086
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2004
2087
|
$content: ModalContentInstance;
|
|
@@ -2021,7 +2104,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2021
2104
|
delay?: number;
|
|
2022
2105
|
}>;
|
|
2023
2106
|
|
|
2024
|
-
export declare const
|
|
2107
|
+
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2108
|
+
|
|
2109
|
+
export declare const Markdown: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2025
2110
|
|
|
2026
2111
|
export declare interface MarkdownRouter {
|
|
2027
2112
|
resolve(route: string): string;
|
|
@@ -2037,10 +2122,12 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2037
2122
|
watch?: boolean;
|
|
2038
2123
|
};
|
|
2039
2124
|
|
|
2125
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2126
|
+
|
|
2040
2127
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2041
2128
|
|
|
2042
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2043
|
-
props:
|
|
2129
|
+
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2130
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2044
2131
|
wrapperClass?: HTMLAttributes["class"];
|
|
2045
2132
|
class?: HTMLAttributes["class"];
|
|
2046
2133
|
closeHidden?: boolean;
|
|
@@ -2069,6 +2156,8 @@ export declare interface ModalExpose {
|
|
|
2069
2156
|
|
|
2070
2157
|
export declare interface ModalProps {
|
|
2071
2158
|
persistent?: boolean;
|
|
2159
|
+
fullscreen?: boolean;
|
|
2160
|
+
fullscreenOnMobile?: boolean;
|
|
2072
2161
|
title?: string;
|
|
2073
2162
|
titleHidden?: boolean;
|
|
2074
2163
|
description?: string;
|
|
@@ -2111,7 +2200,7 @@ declare interface Plugin_2 {
|
|
|
2111
2200
|
}
|
|
2112
2201
|
export { Plugin_2 as Plugin }
|
|
2113
2202
|
|
|
2114
|
-
export declare const ProgressBar: DefineComponent<
|
|
2203
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2115
2204
|
|
|
2116
2205
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2117
2206
|
$content: ModalContentInstance;
|
|
@@ -2193,8 +2282,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2193
2282
|
|
|
2194
2283
|
export declare function safeHtml(html: string): string;
|
|
2195
2284
|
|
|
2196
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2197
|
-
props:
|
|
2285
|
+
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2286
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2198
2287
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2199
2288
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2200
2289
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2220,9 +2309,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2220
2309
|
side?: SelectContentProps['side'];
|
|
2221
2310
|
}
|
|
2222
2311
|
|
|
2223
|
-
export declare const SelectLabel:
|
|
2312
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2224
2313
|
|
|
2225
|
-
export declare const SelectOption:
|
|
2314
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2226
2315
|
|
|
2227
2316
|
export declare type SelectOptionData = {
|
|
2228
2317
|
key: string;
|
|
@@ -2230,7 +2319,7 @@ export declare type SelectOptionData = {
|
|
|
2230
2319
|
value: AcceptableValue;
|
|
2231
2320
|
};
|
|
2232
2321
|
|
|
2233
|
-
export declare const SelectOptions:
|
|
2322
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2234
2323
|
|
|
2235
2324
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2236
2325
|
as?: AsTag | Component;
|
|
@@ -2244,7 +2333,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2244
2333
|
side?: SelectContentProps['side'];
|
|
2245
2334
|
}
|
|
2246
2335
|
|
|
2247
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2336
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2248
2337
|
|
|
2249
2338
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2250
2339
|
static persist: string[];
|
|
@@ -2311,7 +2400,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2311
2400
|
|
|
2312
2401
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2313
2402
|
|
|
2314
|
-
export declare const Setting:
|
|
2403
|
+
export declare const Setting: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2315
2404
|
|
|
2316
2405
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2317
2406
|
|
|
@@ -2338,9 +2427,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2338
2427
|
|
|
2339
2428
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2340
2429
|
|
|
2341
|
-
export declare const TextArea: DefineComponent<
|
|
2430
|
+
export declare const TextArea: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2342
2431
|
"update:modelValue": (value: unknown) => any;
|
|
2343
|
-
}, string, PublicProps, Readonly<
|
|
2432
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
2344
2433
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2345
2434
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2346
2435
|
$inputRef: ({
|
|
@@ -2423,7 +2512,7 @@ default?(_: {}): any;
|
|
|
2423
2512
|
}) | null;
|
|
2424
2513
|
}, any>;
|
|
2425
2514
|
|
|
2426
|
-
export declare const Toast: DefineComponent<
|
|
2515
|
+
export declare const Toast: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2427
2516
|
|
|
2428
2517
|
export declare interface ToastAction {
|
|
2429
2518
|
label: string;
|
|
@@ -2573,6 +2662,36 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2573
2662
|
renderedCancelText: ComputedRef<string>;
|
|
2574
2663
|
};
|
|
2575
2664
|
|
|
2665
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: SelectProps<T>, emit: EmitFn<SelectEmits<T>>): {
|
|
2666
|
+
expose: {
|
|
2667
|
+
labelClass: any;
|
|
2668
|
+
optionsClass: any;
|
|
2669
|
+
align: "start" | "center" | "end" | undefined;
|
|
2670
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
2671
|
+
value: ComputedRef<T>;
|
|
2672
|
+
id: string;
|
|
2673
|
+
name: ComputedRef<string | undefined>;
|
|
2674
|
+
label: ComputedRef<string | undefined>;
|
|
2675
|
+
description: ComputedRef<string | undefined>;
|
|
2676
|
+
placeholder: ComputedRef<string>;
|
|
2677
|
+
options: ComputedRef<{
|
|
2678
|
+
key: string;
|
|
2679
|
+
label: string;
|
|
2680
|
+
value: AcceptableValue;
|
|
2681
|
+
}[] | null>;
|
|
2682
|
+
selectedOption: ComputedRef<{
|
|
2683
|
+
key: string;
|
|
2684
|
+
label: string;
|
|
2685
|
+
value: AcceptableValue;
|
|
2686
|
+
} | undefined>;
|
|
2687
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2688
|
+
required: ComputedRef<boolean | undefined>;
|
|
2689
|
+
update(value: T): void;
|
|
2690
|
+
};
|
|
2691
|
+
update: (value: AcceptableValue) => void;
|
|
2692
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2693
|
+
};
|
|
2694
|
+
|
|
2576
2695
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2577
2696
|
|
|
2578
2697
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2648,6 +2767,7 @@ declare module '@aerogel/core' {
|
|
|
2648
2767
|
interface AerogelOptions {
|
|
2649
2768
|
services?: Record<string, Service>;
|
|
2650
2769
|
settings?: AppSetting[];
|
|
2770
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2651
2771
|
}
|
|
2652
2772
|
}
|
|
2653
2773
|
|
|
@@ -2676,11 +2796,6 @@ declare module '@aerogel/core' {
|
|
|
2676
2796
|
}
|
|
2677
2797
|
|
|
2678
2798
|
|
|
2679
|
-
declare global {
|
|
2680
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2681
|
-
}
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
2799
|
declare module '@aerogel/core' {
|
|
2685
2800
|
interface EventsPayload {
|
|
2686
2801
|
error: {
|
|
@@ -2691,6 +2806,11 @@ declare module '@aerogel/core' {
|
|
|
2691
2806
|
}
|
|
2692
2807
|
|
|
2693
2808
|
|
|
2809
|
+
declare global {
|
|
2810
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
|
|
2694
2814
|
declare module '@aerogel/core' {
|
|
2695
2815
|
interface EventsPayload {
|
|
2696
2816
|
'purge-storage': void;
|