@aerogel/core 0.1.1-next.a33efa4fd6560f7df50d8a64a9e9e2a2f62e79bb → 0.1.1-next.ad50ec0af53abadac36a5f25261330a0b5d77f4b
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 +252 -86
- package/dist/aerogel-core.js +1364 -1128
- 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 +1 -1
- package/src/components/contracts/Select.ts +80 -2
- package/src/components/headless/HeadlessSelect.vue +6 -91
- package/src/components/index.ts +1 -0
- package/src/components/ui/Combobox.vue +37 -0
- package/src/components/ui/ComboboxLabel.vue +29 -0
- package/src/components/ui/ComboboxOption.vue +32 -0
- package/src/components/ui/ComboboxOptions.vue +48 -0
- package/src/components/ui/ComboboxTrigger.vue +33 -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 +8 -4
- 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/components/vue/ProvideRef.vue +12 -0
- package/src/components/vue/index.ts +1 -0
- package/src/errors/Errors.ts +4 -0
- package/src/index.css +1 -0
- package/src/services/App.state.ts +1 -0
- package/src/services/App.ts +4 -0
- package/src/services/index.ts +5 -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_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
190
|
+
|
|
191
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
192
|
+
|
|
193
|
+
declare const __VLS_component_22: DefineComponent<DropdownMenuProps, {
|
|
188
194
|
align: "start" | "center" | "end" | undefined;
|
|
189
195
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
190
196
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
191
197
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
192
198
|
|
|
193
|
-
declare const
|
|
199
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
194
200
|
select: () => any;
|
|
195
|
-
}, string, PublicProps, Readonly<
|
|
201
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
196
202
|
onSelect?: (() => any) | undefined;
|
|
197
203
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
198
204
|
|
|
199
|
-
declare const
|
|
205
|
+
declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
200
206
|
|
|
201
|
-
declare const
|
|
207
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
202
208
|
update: (value: string | number) => any;
|
|
203
209
|
save: () => any;
|
|
204
|
-
}, string, PublicProps, Readonly<
|
|
210
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
205
211
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
206
212
|
onSave?: (() => any) | undefined;
|
|
207
213
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
208
214
|
$inputRef: HTMLInputElement;
|
|
209
215
|
}, HTMLDivElement>;
|
|
210
216
|
|
|
211
|
-
declare const
|
|
217
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
212
218
|
|
|
213
|
-
declare const
|
|
219
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
214
220
|
submit: () => any;
|
|
215
|
-
}, string, PublicProps, Readonly<
|
|
221
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
216
222
|
onSubmit?: (() => any) | undefined;
|
|
217
223
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
218
224
|
|
|
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>;
|
|
225
|
+
declare const __VLS_component_28: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
222
226
|
|
|
223
|
-
declare const
|
|
224
|
-
|
|
225
|
-
declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
227
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
226
228
|
|
|
227
229
|
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
228
230
|
id: string;
|
|
@@ -241,7 +243,17 @@ update(value: unknown): void;
|
|
|
241
243
|
|
|
242
244
|
declare const __VLS_component_30: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
243
245
|
|
|
244
|
-
declare const __VLS_component_31: DefineComponent<
|
|
246
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
247
|
+
|
|
248
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
249
|
+
|
|
250
|
+
declare const __VLS_component_33: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
251
|
+
|
|
252
|
+
declare const __VLS_component_34: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
253
|
+
"update:modelValue": (value: unknown) => any;
|
|
254
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
255
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
256
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
245
257
|
|
|
246
258
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
247
259
|
|
|
@@ -353,36 +365,56 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
353
365
|
[K in keyof T]: T[K];
|
|
354
366
|
} & {};
|
|
355
367
|
|
|
368
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
369
|
+
[K in keyof T]: T[K];
|
|
370
|
+
} & {};
|
|
371
|
+
|
|
356
372
|
declare type __VLS_Props = InputProps & {
|
|
357
373
|
as?: string;
|
|
358
374
|
};
|
|
359
375
|
|
|
360
376
|
declare type __VLS_Props_10 = {
|
|
377
|
+
class?: HTMLAttributes['class'];
|
|
378
|
+
} & PrimitiveProps;
|
|
379
|
+
|
|
380
|
+
declare type __VLS_Props_11 = {
|
|
381
|
+
type?: string;
|
|
382
|
+
contentClass?: HTMLAttributes['class'];
|
|
383
|
+
ariaLabel?: string;
|
|
384
|
+
formAriaHidden?: boolean;
|
|
385
|
+
tabindex?: string;
|
|
386
|
+
text: string;
|
|
387
|
+
disabled?: boolean;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
declare type __VLS_Props_12 = {
|
|
361
391
|
error: ErrorSource;
|
|
362
392
|
};
|
|
363
393
|
|
|
364
|
-
declare type
|
|
394
|
+
declare type __VLS_Props_13 = {
|
|
365
395
|
report: ErrorReport;
|
|
366
396
|
};
|
|
367
397
|
|
|
368
|
-
declare type
|
|
398
|
+
declare type __VLS_Props_14 = {
|
|
369
399
|
report: ErrorReport;
|
|
370
400
|
currentReport?: number;
|
|
371
401
|
totalReports?: number;
|
|
372
402
|
};
|
|
373
403
|
|
|
374
|
-
declare type
|
|
404
|
+
declare type __VLS_Props_15 = {
|
|
375
405
|
form?: FormController;
|
|
376
406
|
};
|
|
377
407
|
|
|
378
|
-
declare type
|
|
408
|
+
declare type __VLS_Props_16 = InputProps & {
|
|
379
409
|
inputClass?: HTMLAttributes['class'];
|
|
380
410
|
wrapperClass?: HTMLAttributes['class'];
|
|
411
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
412
|
+
errorClass?: HTMLAttributes['class'];
|
|
381
413
|
};
|
|
382
414
|
|
|
383
|
-
declare type
|
|
415
|
+
declare type __VLS_Props_17 = Omit<ButtonProps, 'variant'>;
|
|
384
416
|
|
|
385
|
-
declare type
|
|
417
|
+
declare type __VLS_Props_18 = {
|
|
386
418
|
as?: string;
|
|
387
419
|
inline?: boolean;
|
|
388
420
|
langKey?: string;
|
|
@@ -392,35 +424,36 @@ declare type __VLS_Props_16 = {
|
|
|
392
424
|
actions?: Record<string, () => unknown>;
|
|
393
425
|
};
|
|
394
426
|
|
|
395
|
-
declare type
|
|
427
|
+
declare type __VLS_Props_19 = {
|
|
396
428
|
filledClass?: string;
|
|
429
|
+
overflowClass?: string;
|
|
397
430
|
progress?: number;
|
|
398
431
|
job?: Falsifiable<Job>;
|
|
399
432
|
};
|
|
400
433
|
|
|
401
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_2 = {
|
|
435
|
+
type?: string;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
declare type __VLS_Props_20 = {
|
|
402
439
|
class?: HTMLAttributes['class'];
|
|
403
440
|
};
|
|
404
441
|
|
|
405
|
-
declare type
|
|
442
|
+
declare type __VLS_Props_21 = {
|
|
406
443
|
value: AcceptableValue;
|
|
407
444
|
class?: HTMLAttributes['class'];
|
|
408
445
|
innerClass?: HTMLAttributes['class'];
|
|
409
446
|
};
|
|
410
447
|
|
|
411
|
-
declare type
|
|
412
|
-
type?: string;
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
declare type __VLS_Props_20 = {
|
|
448
|
+
declare type __VLS_Props_22 = {
|
|
416
449
|
class?: HTMLAttributes['class'];
|
|
417
450
|
};
|
|
418
451
|
|
|
419
|
-
declare type
|
|
452
|
+
declare type __VLS_Props_23 = {
|
|
420
453
|
class?: HTMLAttributes['class'];
|
|
421
454
|
};
|
|
422
455
|
|
|
423
|
-
declare type
|
|
456
|
+
declare type __VLS_Props_24 = {
|
|
424
457
|
title: string;
|
|
425
458
|
titleId?: string;
|
|
426
459
|
description?: string;
|
|
@@ -428,15 +461,19 @@ declare type __VLS_Props_22 = {
|
|
|
428
461
|
layout?: 'vertical' | 'horizontal';
|
|
429
462
|
};
|
|
430
463
|
|
|
431
|
-
declare type
|
|
464
|
+
declare type __VLS_Props_25 = InputProps & {
|
|
432
465
|
inputClass?: HTMLAttributes['class'];
|
|
433
466
|
wrapperClass?: HTMLAttributes['class'];
|
|
434
467
|
};
|
|
435
468
|
|
|
436
|
-
declare type
|
|
469
|
+
declare type __VLS_Props_26 = ToastProps & {
|
|
437
470
|
class?: HTMLAttributes['class'];
|
|
438
471
|
};
|
|
439
472
|
|
|
473
|
+
declare type __VLS_Props_27 = {
|
|
474
|
+
name: string;
|
|
475
|
+
};
|
|
476
|
+
|
|
440
477
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
441
478
|
|
|
442
479
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -451,24 +488,20 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
451
488
|
labelClass?: HTMLAttributes['class'];
|
|
452
489
|
};
|
|
453
490
|
|
|
454
|
-
declare type __VLS_Props_7 =
|
|
455
|
-
label: string;
|
|
456
|
-
};
|
|
491
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
457
492
|
|
|
458
|
-
declare type __VLS_Props_8 =
|
|
459
|
-
class?: HTMLAttributes['class'];
|
|
460
|
-
} & PrimitiveProps;
|
|
493
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
461
494
|
|
|
462
495
|
declare type __VLS_Props_9 = {
|
|
463
|
-
|
|
496
|
+
label?: string;
|
|
464
497
|
contentClass?: HTMLAttributes['class'];
|
|
465
|
-
|
|
466
|
-
formAriaHidden?: boolean;
|
|
467
|
-
tabindex?: string;
|
|
468
|
-
text: string;
|
|
469
|
-
disabled?: boolean;
|
|
498
|
+
summaryClass?: HTMLAttributes['class'];
|
|
470
499
|
};
|
|
471
500
|
|
|
501
|
+
declare type __VLS_PublicProps = {
|
|
502
|
+
modelValue?: unknown;
|
|
503
|
+
} & __VLS_Props_27;
|
|
504
|
+
|
|
472
505
|
declare function __VLS_template(): {
|
|
473
506
|
attrs: Partial<{}>;
|
|
474
507
|
slots: {
|
|
@@ -645,7 +678,7 @@ declare function __VLS_template_19(): {
|
|
|
645
678
|
default?(_: {}): any;
|
|
646
679
|
};
|
|
647
680
|
refs: {};
|
|
648
|
-
rootEl:
|
|
681
|
+
rootEl: any;
|
|
649
682
|
};
|
|
650
683
|
|
|
651
684
|
declare function __VLS_template_2(): {
|
|
@@ -661,7 +694,6 @@ declare function __VLS_template_20(): {
|
|
|
661
694
|
attrs: Partial<{}>;
|
|
662
695
|
slots: {
|
|
663
696
|
default?(_: {}): any;
|
|
664
|
-
options?(_: {}): any;
|
|
665
697
|
};
|
|
666
698
|
refs: {};
|
|
667
699
|
rootEl: any;
|
|
@@ -670,22 +702,42 @@ declare function __VLS_template_20(): {
|
|
|
670
702
|
declare function __VLS_template_21(): {
|
|
671
703
|
attrs: Partial<{}>;
|
|
672
704
|
slots: {
|
|
705
|
+
label?(_: {}): any;
|
|
673
706
|
default?(_: {}): any;
|
|
674
707
|
};
|
|
675
708
|
refs: {};
|
|
676
|
-
rootEl:
|
|
709
|
+
rootEl: HTMLDetailsElement;
|
|
677
710
|
};
|
|
678
711
|
|
|
679
712
|
declare function __VLS_template_22(): {
|
|
680
713
|
attrs: Partial<{}>;
|
|
681
714
|
slots: {
|
|
682
715
|
default?(_: {}): any;
|
|
716
|
+
options?(_: {}): any;
|
|
683
717
|
};
|
|
684
718
|
refs: {};
|
|
685
719
|
rootEl: any;
|
|
686
720
|
};
|
|
687
721
|
|
|
688
722
|
declare function __VLS_template_23(): {
|
|
723
|
+
attrs: Partial<{}>;
|
|
724
|
+
slots: {
|
|
725
|
+
default?(_: {}): any;
|
|
726
|
+
};
|
|
727
|
+
refs: {};
|
|
728
|
+
rootEl: any;
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
declare function __VLS_template_24(): {
|
|
732
|
+
attrs: Partial<{}>;
|
|
733
|
+
slots: {
|
|
734
|
+
default?(_: {}): any;
|
|
735
|
+
};
|
|
736
|
+
refs: {};
|
|
737
|
+
rootEl: any;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
declare function __VLS_template_25(): {
|
|
689
741
|
attrs: Partial<{}>;
|
|
690
742
|
slots: {
|
|
691
743
|
default?(_: {}): any;
|
|
@@ -696,7 +748,7 @@ declare function __VLS_template_23(): {
|
|
|
696
748
|
rootEl: HTMLDivElement;
|
|
697
749
|
};
|
|
698
750
|
|
|
699
|
-
declare function
|
|
751
|
+
declare function __VLS_template_26(): {
|
|
700
752
|
attrs: Partial<{}>;
|
|
701
753
|
slots: Readonly<{
|
|
702
754
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -707,7 +759,7 @@ declare function __VLS_template_24(): {
|
|
|
707
759
|
rootEl: HTMLDivElement;
|
|
708
760
|
};
|
|
709
761
|
|
|
710
|
-
declare function
|
|
762
|
+
declare function __VLS_template_27(): {
|
|
711
763
|
attrs: Partial<{}>;
|
|
712
764
|
slots: {
|
|
713
765
|
default?(_: {}): any;
|
|
@@ -716,7 +768,7 @@ declare function __VLS_template_25(): {
|
|
|
716
768
|
rootEl: HTMLFormElement;
|
|
717
769
|
};
|
|
718
770
|
|
|
719
|
-
declare function
|
|
771
|
+
declare function __VLS_template_28(): {
|
|
720
772
|
attrs: Partial<{}>;
|
|
721
773
|
slots: {
|
|
722
774
|
default?(_: {}): any;
|
|
@@ -725,7 +777,7 @@ declare function __VLS_template_26(): {
|
|
|
725
777
|
rootEl: any;
|
|
726
778
|
};
|
|
727
779
|
|
|
728
|
-
declare function
|
|
780
|
+
declare function __VLS_template_29(): {
|
|
729
781
|
attrs: Partial<{}>;
|
|
730
782
|
slots: Readonly<{
|
|
731
783
|
default?(): VNode[];
|
|
@@ -736,7 +788,7 @@ declare function __VLS_template_27(): {
|
|
|
736
788
|
rootEl: any;
|
|
737
789
|
};
|
|
738
790
|
|
|
739
|
-
declare function
|
|
791
|
+
declare function __VLS_template_3(): {
|
|
740
792
|
attrs: Partial<{}>;
|
|
741
793
|
slots: {
|
|
742
794
|
default?(_: {}): any;
|
|
@@ -745,7 +797,7 @@ declare function __VLS_template_28(): {
|
|
|
745
797
|
rootEl: any;
|
|
746
798
|
};
|
|
747
799
|
|
|
748
|
-
declare function
|
|
800
|
+
declare function __VLS_template_30(): {
|
|
749
801
|
attrs: Partial<{}>;
|
|
750
802
|
slots: {
|
|
751
803
|
default?(_: {}): any;
|
|
@@ -754,7 +806,7 @@ declare function __VLS_template_29(): {
|
|
|
754
806
|
rootEl: any;
|
|
755
807
|
};
|
|
756
808
|
|
|
757
|
-
declare function
|
|
809
|
+
declare function __VLS_template_31(): {
|
|
758
810
|
attrs: Partial<{}>;
|
|
759
811
|
slots: {
|
|
760
812
|
default?(_: {}): any;
|
|
@@ -763,7 +815,7 @@ declare function __VLS_template_3(): {
|
|
|
763
815
|
rootEl: any;
|
|
764
816
|
};
|
|
765
817
|
|
|
766
|
-
declare function
|
|
818
|
+
declare function __VLS_template_32(): {
|
|
767
819
|
attrs: Partial<{}>;
|
|
768
820
|
slots: {
|
|
769
821
|
default?(_: {}): any;
|
|
@@ -773,7 +825,7 @@ declare function __VLS_template_30(): {
|
|
|
773
825
|
rootEl: any;
|
|
774
826
|
};
|
|
775
827
|
|
|
776
|
-
declare function
|
|
828
|
+
declare function __VLS_template_33(): {
|
|
777
829
|
attrs: Partial<{}>;
|
|
778
830
|
slots: {
|
|
779
831
|
default?(_: {}): any;
|
|
@@ -782,6 +834,15 @@ declare function __VLS_template_31(): {
|
|
|
782
834
|
rootEl: HTMLDivElement;
|
|
783
835
|
};
|
|
784
836
|
|
|
837
|
+
declare function __VLS_template_34(): {
|
|
838
|
+
attrs: Partial<{}>;
|
|
839
|
+
slots: {
|
|
840
|
+
default?(_: {}): any;
|
|
841
|
+
};
|
|
842
|
+
refs: {};
|
|
843
|
+
rootEl: any;
|
|
844
|
+
};
|
|
845
|
+
|
|
785
846
|
declare function __VLS_template_4(): {
|
|
786
847
|
attrs: Partial<{}>;
|
|
787
848
|
slots: {
|
|
@@ -966,6 +1027,12 @@ declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
|
966
1027
|
|
|
967
1028
|
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
968
1029
|
|
|
1030
|
+
declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
|
|
1031
|
+
|
|
1032
|
+
declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
1033
|
+
|
|
1034
|
+
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
1035
|
+
|
|
969
1036
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
970
1037
|
|
|
971
1038
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1128,6 +1195,24 @@ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
|
1128
1195
|
};
|
|
1129
1196
|
};
|
|
1130
1197
|
|
|
1198
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
1199
|
+
new (): {
|
|
1200
|
+
$slots: S;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
1205
|
+
new (): {
|
|
1206
|
+
$slots: S;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
1211
|
+
new (): {
|
|
1212
|
+
$slots: S;
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1131
1216
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1132
1217
|
new (): {
|
|
1133
1218
|
$slots: S;
|
|
@@ -1220,6 +1305,7 @@ export declare class AppService extends _default_3 {
|
|
|
1220
1305
|
isReady(): boolean;
|
|
1221
1306
|
isMounted(): boolean;
|
|
1222
1307
|
addSetting(setting: AppSetting): void;
|
|
1308
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1223
1309
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1224
1310
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1225
1311
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1279,6 +1365,50 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1279
1365
|
|
|
1280
1366
|
export { closeModal }
|
|
1281
1367
|
|
|
1368
|
+
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<{
|
|
1369
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
|
|
1370
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1371
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1372
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1373
|
+
labelClass: any;
|
|
1374
|
+
optionsClass: any;
|
|
1375
|
+
align: "start" | "center" | "end" | undefined;
|
|
1376
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
1377
|
+
value: ComputedRef<T>;
|
|
1378
|
+
id: string;
|
|
1379
|
+
name: ComputedRef<string | undefined>;
|
|
1380
|
+
label: ComputedRef<string | undefined>;
|
|
1381
|
+
description: ComputedRef<string | undefined>;
|
|
1382
|
+
placeholder: ComputedRef<string>;
|
|
1383
|
+
options: ComputedRef< {
|
|
1384
|
+
key: string;
|
|
1385
|
+
label: string;
|
|
1386
|
+
value: AcceptableValue;
|
|
1387
|
+
}[] | null>;
|
|
1388
|
+
selectedOption: ComputedRef< {
|
|
1389
|
+
key: string;
|
|
1390
|
+
label: string;
|
|
1391
|
+
value: AcceptableValue;
|
|
1392
|
+
} | undefined>;
|
|
1393
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1394
|
+
required: ComputedRef<boolean | undefined>;
|
|
1395
|
+
update(value: T): void;
|
|
1396
|
+
}>): void;
|
|
1397
|
+
attrs: any;
|
|
1398
|
+
slots: {};
|
|
1399
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1400
|
+
}>) => VNode & {
|
|
1401
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1405
|
+
|
|
1406
|
+
export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1407
|
+
|
|
1408
|
+
export declare const ComboboxOptions: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1409
|
+
|
|
1410
|
+
export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1411
|
+
|
|
1282
1412
|
export declare type ComponentPropDefinitions<T> = {
|
|
1283
1413
|
[K in keyof T]: {
|
|
1284
1414
|
type?: PropType<T[K]>;
|
|
@@ -1391,6 +1521,7 @@ environment: string;
|
|
|
1391
1521
|
version: string;
|
|
1392
1522
|
sourceUrl: string | undefined;
|
|
1393
1523
|
settings: AppSetting[];
|
|
1524
|
+
settingsFullscreenOnMobile: boolean;
|
|
1394
1525
|
}, {
|
|
1395
1526
|
development: boolean;
|
|
1396
1527
|
staging: boolean;
|
|
@@ -1404,6 +1535,7 @@ environment: string;
|
|
|
1404
1535
|
version: string;
|
|
1405
1536
|
sourceUrl: string | undefined;
|
|
1406
1537
|
settings: AppSetting[];
|
|
1538
|
+
settingsFullscreenOnMobile: boolean;
|
|
1407
1539
|
}>>;
|
|
1408
1540
|
|
|
1409
1541
|
declare const _default_4: ServiceWithState< {
|
|
@@ -1447,11 +1579,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1447
1579
|
|
|
1448
1580
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1449
1581
|
|
|
1450
|
-
export declare const Details:
|
|
1582
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1451
1583
|
|
|
1452
1584
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1453
1585
|
|
|
1454
|
-
export declare const DropdownMenu:
|
|
1586
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1455
1587
|
|
|
1456
1588
|
export declare interface DropdownMenuExpose {
|
|
1457
1589
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1459,7 +1591,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1459
1591
|
options?: readonly DropdownMenuOptionData[];
|
|
1460
1592
|
}
|
|
1461
1593
|
|
|
1462
|
-
export declare const DropdownMenuOption:
|
|
1594
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1463
1595
|
|
|
1464
1596
|
export declare type DropdownMenuOptionData = {
|
|
1465
1597
|
label: string;
|
|
@@ -1471,7 +1603,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1471
1603
|
class?: string;
|
|
1472
1604
|
};
|
|
1473
1605
|
|
|
1474
|
-
export declare const DropdownMenuOptions:
|
|
1606
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1475
1607
|
|
|
1476
1608
|
export declare interface DropdownMenuProps {
|
|
1477
1609
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1479,7 +1611,7 @@ export declare interface DropdownMenuProps {
|
|
|
1479
1611
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1480
1612
|
}
|
|
1481
1613
|
|
|
1482
|
-
export declare const EditableContent:
|
|
1614
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1483
1615
|
|
|
1484
1616
|
export declare interface ElementSize {
|
|
1485
1617
|
width: number;
|
|
@@ -1498,7 +1630,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1498
1630
|
|
|
1499
1631
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1500
1632
|
|
|
1501
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1633
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1502
1634
|
|
|
1503
1635
|
export declare interface ErrorReport {
|
|
1504
1636
|
title: string;
|
|
@@ -1517,7 +1649,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1517
1649
|
$content: ModalContentInstance;
|
|
1518
1650
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1519
1651
|
|
|
1520
|
-
export declare const ErrorReportModalButtons:
|
|
1652
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1521
1653
|
|
|
1522
1654
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1523
1655
|
id: string;
|
|
@@ -1535,7 +1667,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1535
1667
|
reports: ErrorReport[];
|
|
1536
1668
|
}
|
|
1537
1669
|
|
|
1538
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1670
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1539
1671
|
|
|
1540
1672
|
export declare const Errors: Facade<ErrorsService>;
|
|
1541
1673
|
|
|
@@ -1545,6 +1677,7 @@ declare class ErrorsService extends _default {
|
|
|
1545
1677
|
forceReporting: boolean;
|
|
1546
1678
|
private enabled;
|
|
1547
1679
|
private eruda;
|
|
1680
|
+
private erudaPlugins;
|
|
1548
1681
|
enable(): void;
|
|
1549
1682
|
disable(): void;
|
|
1550
1683
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1614,7 +1747,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1614
1747
|
|
|
1615
1748
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1616
1749
|
|
|
1617
|
-
export declare const Form:
|
|
1750
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1618
1751
|
|
|
1619
1752
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1620
1753
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1821,9 +1954,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1821
1954
|
|
|
1822
1955
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1823
1956
|
|
|
1824
|
-
export declare const Input: DefineComponent<
|
|
1957
|
+
export declare const Input: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1825
1958
|
"update:modelValue": (value: unknown) => any;
|
|
1826
|
-
}, string, PublicProps, Readonly<
|
|
1959
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
1827
1960
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1828
1961
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1829
1962
|
$inputRef: ({
|
|
@@ -1998,7 +2131,7 @@ export declare const Layouts: {
|
|
|
1998
2131
|
readonly Desktop: "desktop";
|
|
1999
2132
|
};
|
|
2000
2133
|
|
|
2001
|
-
export declare const Link:
|
|
2134
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2002
2135
|
|
|
2003
2136
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2004
2137
|
$content: ModalContentInstance;
|
|
@@ -2023,7 +2156,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2023
2156
|
|
|
2024
2157
|
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2025
2158
|
|
|
2026
|
-
export declare const Markdown:
|
|
2159
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2027
2160
|
|
|
2028
2161
|
export declare interface MarkdownRouter {
|
|
2029
2162
|
resolve(route: string): string;
|
|
@@ -2043,8 +2176,8 @@ export declare const MINUTE_MILLISECONDS = 60000;
|
|
|
2043
2176
|
|
|
2044
2177
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2045
2178
|
|
|
2046
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2047
|
-
props:
|
|
2179
|
+
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<{
|
|
2180
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2048
2181
|
wrapperClass?: HTMLAttributes["class"];
|
|
2049
2182
|
class?: HTMLAttributes["class"];
|
|
2050
2183
|
closeHidden?: boolean;
|
|
@@ -2074,7 +2207,7 @@ export declare interface ModalExpose {
|
|
|
2074
2207
|
export declare interface ModalProps {
|
|
2075
2208
|
persistent?: boolean;
|
|
2076
2209
|
fullscreen?: boolean;
|
|
2077
|
-
|
|
2210
|
+
fullscreenOnMobile?: boolean;
|
|
2078
2211
|
title?: string;
|
|
2079
2212
|
titleHidden?: boolean;
|
|
2080
2213
|
description?: string;
|
|
@@ -2117,7 +2250,7 @@ declare interface Plugin_2 {
|
|
|
2117
2250
|
}
|
|
2118
2251
|
export { Plugin_2 as Plugin }
|
|
2119
2252
|
|
|
2120
|
-
export declare const ProgressBar: DefineComponent<
|
|
2253
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2121
2254
|
|
|
2122
2255
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2123
2256
|
$content: ModalContentInstance;
|
|
@@ -2158,6 +2291,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2158
2291
|
trim?: boolean;
|
|
2159
2292
|
}>;
|
|
2160
2293
|
|
|
2294
|
+
export declare const ProvideRef: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2295
|
+
|
|
2161
2296
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2162
2297
|
|
|
2163
2298
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2199,8 +2334,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2199
2334
|
|
|
2200
2335
|
export declare function safeHtml(html: string): string;
|
|
2201
2336
|
|
|
2202
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2203
|
-
props:
|
|
2337
|
+
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<{
|
|
2338
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2204
2339
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2205
2340
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2206
2341
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2226,9 +2361,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2226
2361
|
side?: SelectContentProps['side'];
|
|
2227
2362
|
}
|
|
2228
2363
|
|
|
2229
|
-
export declare const SelectLabel:
|
|
2364
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2230
2365
|
|
|
2231
|
-
export declare const SelectOption:
|
|
2366
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2232
2367
|
|
|
2233
2368
|
export declare type SelectOptionData = {
|
|
2234
2369
|
key: string;
|
|
@@ -2236,7 +2371,7 @@ export declare type SelectOptionData = {
|
|
|
2236
2371
|
value: AcceptableValue;
|
|
2237
2372
|
};
|
|
2238
2373
|
|
|
2239
|
-
export declare const SelectOptions:
|
|
2374
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2240
2375
|
|
|
2241
2376
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2242
2377
|
as?: AsTag | Component;
|
|
@@ -2250,7 +2385,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2250
2385
|
side?: SelectContentProps['side'];
|
|
2251
2386
|
}
|
|
2252
2387
|
|
|
2253
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2388
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2254
2389
|
|
|
2255
2390
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2256
2391
|
static persist: string[];
|
|
@@ -2317,7 +2452,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2317
2452
|
|
|
2318
2453
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2319
2454
|
|
|
2320
|
-
export declare const Setting:
|
|
2455
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2321
2456
|
|
|
2322
2457
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2323
2458
|
|
|
@@ -2344,9 +2479,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2344
2479
|
|
|
2345
2480
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2346
2481
|
|
|
2347
|
-
export declare const TextArea: DefineComponent<
|
|
2482
|
+
export declare const TextArea: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2348
2483
|
"update:modelValue": (value: unknown) => any;
|
|
2349
|
-
}, string, PublicProps, Readonly<
|
|
2484
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
2350
2485
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2351
2486
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2352
2487
|
$inputRef: ({
|
|
@@ -2429,7 +2564,7 @@ default?(_: {}): any;
|
|
|
2429
2564
|
}) | null;
|
|
2430
2565
|
}, any>;
|
|
2431
2566
|
|
|
2432
|
-
export declare const Toast: DefineComponent<
|
|
2567
|
+
export declare const Toast: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2433
2568
|
|
|
2434
2569
|
export declare interface ToastAction {
|
|
2435
2570
|
label: string;
|
|
@@ -2579,6 +2714,36 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2579
2714
|
renderedCancelText: ComputedRef<string>;
|
|
2580
2715
|
};
|
|
2581
2716
|
|
|
2717
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: SelectProps<T>, emit: EmitFn<SelectEmits<T>>): {
|
|
2718
|
+
expose: {
|
|
2719
|
+
labelClass: any;
|
|
2720
|
+
optionsClass: any;
|
|
2721
|
+
align: "start" | "center" | "end" | undefined;
|
|
2722
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
2723
|
+
value: ComputedRef<T>;
|
|
2724
|
+
id: string;
|
|
2725
|
+
name: ComputedRef<string | undefined>;
|
|
2726
|
+
label: ComputedRef<string | undefined>;
|
|
2727
|
+
description: ComputedRef<string | undefined>;
|
|
2728
|
+
placeholder: ComputedRef<string>;
|
|
2729
|
+
options: ComputedRef<{
|
|
2730
|
+
key: string;
|
|
2731
|
+
label: string;
|
|
2732
|
+
value: AcceptableValue;
|
|
2733
|
+
}[] | null>;
|
|
2734
|
+
selectedOption: ComputedRef<{
|
|
2735
|
+
key: string;
|
|
2736
|
+
label: string;
|
|
2737
|
+
value: AcceptableValue;
|
|
2738
|
+
} | undefined>;
|
|
2739
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2740
|
+
required: ComputedRef<boolean | undefined>;
|
|
2741
|
+
update(value: T): void;
|
|
2742
|
+
};
|
|
2743
|
+
update: (value: AcceptableValue) => void;
|
|
2744
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2582
2747
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2583
2748
|
|
|
2584
2749
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2654,6 +2819,7 @@ declare module '@aerogel/core' {
|
|
|
2654
2819
|
interface AerogelOptions {
|
|
2655
2820
|
services?: Record<string, Service>;
|
|
2656
2821
|
settings?: AppSetting[];
|
|
2822
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2657
2823
|
}
|
|
2658
2824
|
}
|
|
2659
2825
|
|