@aerogel/core 0.1.1-next.a8a712e051e6729532e787aab3e4573464412909 → 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 +248 -93
- package/dist/aerogel-core.js +1430 -1233
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +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/index.ts +5 -0
- package/src/components/vue/ProvideRef.vue +12 -0
- package/src/components/vue/index.ts +1 -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>;
|
|
222
|
-
|
|
223
|
-
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & 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>;
|
|
224
226
|
|
|
225
|
-
declare const __VLS_component_29: DefineComponent<
|
|
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,38 +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'];
|
|
381
411
|
descriptionClass?: HTMLAttributes['class'];
|
|
382
412
|
errorClass?: HTMLAttributes['class'];
|
|
383
413
|
};
|
|
384
414
|
|
|
385
|
-
declare type
|
|
415
|
+
declare type __VLS_Props_17 = Omit<ButtonProps, 'variant'>;
|
|
386
416
|
|
|
387
|
-
declare type
|
|
417
|
+
declare type __VLS_Props_18 = {
|
|
388
418
|
as?: string;
|
|
389
419
|
inline?: boolean;
|
|
390
420
|
langKey?: string;
|
|
@@ -394,36 +424,36 @@ declare type __VLS_Props_16 = {
|
|
|
394
424
|
actions?: Record<string, () => unknown>;
|
|
395
425
|
};
|
|
396
426
|
|
|
397
|
-
declare type
|
|
427
|
+
declare type __VLS_Props_19 = {
|
|
398
428
|
filledClass?: string;
|
|
399
429
|
overflowClass?: string;
|
|
400
430
|
progress?: number;
|
|
401
431
|
job?: Falsifiable<Job>;
|
|
402
432
|
};
|
|
403
433
|
|
|
404
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_2 = {
|
|
435
|
+
type?: string;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
declare type __VLS_Props_20 = {
|
|
405
439
|
class?: HTMLAttributes['class'];
|
|
406
440
|
};
|
|
407
441
|
|
|
408
|
-
declare type
|
|
442
|
+
declare type __VLS_Props_21 = {
|
|
409
443
|
value: AcceptableValue;
|
|
410
444
|
class?: HTMLAttributes['class'];
|
|
411
445
|
innerClass?: HTMLAttributes['class'];
|
|
412
446
|
};
|
|
413
447
|
|
|
414
|
-
declare type
|
|
415
|
-
type?: string;
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
declare type __VLS_Props_20 = {
|
|
448
|
+
declare type __VLS_Props_22 = {
|
|
419
449
|
class?: HTMLAttributes['class'];
|
|
420
450
|
};
|
|
421
451
|
|
|
422
|
-
declare type
|
|
452
|
+
declare type __VLS_Props_23 = {
|
|
423
453
|
class?: HTMLAttributes['class'];
|
|
424
454
|
};
|
|
425
455
|
|
|
426
|
-
declare type
|
|
456
|
+
declare type __VLS_Props_24 = {
|
|
427
457
|
title: string;
|
|
428
458
|
titleId?: string;
|
|
429
459
|
description?: string;
|
|
@@ -431,15 +461,19 @@ declare type __VLS_Props_22 = {
|
|
|
431
461
|
layout?: 'vertical' | 'horizontal';
|
|
432
462
|
};
|
|
433
463
|
|
|
434
|
-
declare type
|
|
464
|
+
declare type __VLS_Props_25 = InputProps & {
|
|
435
465
|
inputClass?: HTMLAttributes['class'];
|
|
436
466
|
wrapperClass?: HTMLAttributes['class'];
|
|
437
467
|
};
|
|
438
468
|
|
|
439
|
-
declare type
|
|
469
|
+
declare type __VLS_Props_26 = ToastProps & {
|
|
440
470
|
class?: HTMLAttributes['class'];
|
|
441
471
|
};
|
|
442
472
|
|
|
473
|
+
declare type __VLS_Props_27 = {
|
|
474
|
+
name: string;
|
|
475
|
+
};
|
|
476
|
+
|
|
443
477
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
444
478
|
|
|
445
479
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -454,26 +488,20 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
454
488
|
labelClass?: HTMLAttributes['class'];
|
|
455
489
|
};
|
|
456
490
|
|
|
457
|
-
declare type __VLS_Props_7 =
|
|
458
|
-
label?: string;
|
|
459
|
-
contentClass?: HTMLAttributes['class'];
|
|
460
|
-
summaryClass?: HTMLAttributes['class'];
|
|
461
|
-
};
|
|
491
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
462
492
|
|
|
463
|
-
declare type __VLS_Props_8 =
|
|
464
|
-
class?: HTMLAttributes['class'];
|
|
465
|
-
} & PrimitiveProps;
|
|
493
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
466
494
|
|
|
467
495
|
declare type __VLS_Props_9 = {
|
|
468
|
-
|
|
496
|
+
label?: string;
|
|
469
497
|
contentClass?: HTMLAttributes['class'];
|
|
470
|
-
|
|
471
|
-
formAriaHidden?: boolean;
|
|
472
|
-
tabindex?: string;
|
|
473
|
-
text: string;
|
|
474
|
-
disabled?: boolean;
|
|
498
|
+
summaryClass?: HTMLAttributes['class'];
|
|
475
499
|
};
|
|
476
500
|
|
|
501
|
+
declare type __VLS_PublicProps = {
|
|
502
|
+
modelValue?: unknown;
|
|
503
|
+
} & __VLS_Props_27;
|
|
504
|
+
|
|
477
505
|
declare function __VLS_template(): {
|
|
478
506
|
attrs: Partial<{}>;
|
|
479
507
|
slots: {
|
|
@@ -647,11 +675,10 @@ declare function __VLS_template_18(): {
|
|
|
647
675
|
declare function __VLS_template_19(): {
|
|
648
676
|
attrs: Partial<{}>;
|
|
649
677
|
slots: {
|
|
650
|
-
label?(_: {}): any;
|
|
651
678
|
default?(_: {}): any;
|
|
652
679
|
};
|
|
653
680
|
refs: {};
|
|
654
|
-
rootEl:
|
|
681
|
+
rootEl: any;
|
|
655
682
|
};
|
|
656
683
|
|
|
657
684
|
declare function __VLS_template_2(): {
|
|
@@ -667,7 +694,6 @@ declare function __VLS_template_20(): {
|
|
|
667
694
|
attrs: Partial<{}>;
|
|
668
695
|
slots: {
|
|
669
696
|
default?(_: {}): any;
|
|
670
|
-
options?(_: {}): any;
|
|
671
697
|
};
|
|
672
698
|
refs: {};
|
|
673
699
|
rootEl: any;
|
|
@@ -676,22 +702,42 @@ declare function __VLS_template_20(): {
|
|
|
676
702
|
declare function __VLS_template_21(): {
|
|
677
703
|
attrs: Partial<{}>;
|
|
678
704
|
slots: {
|
|
705
|
+
label?(_: {}): any;
|
|
679
706
|
default?(_: {}): any;
|
|
680
707
|
};
|
|
681
708
|
refs: {};
|
|
682
|
-
rootEl:
|
|
709
|
+
rootEl: HTMLDetailsElement;
|
|
683
710
|
};
|
|
684
711
|
|
|
685
712
|
declare function __VLS_template_22(): {
|
|
686
713
|
attrs: Partial<{}>;
|
|
687
714
|
slots: {
|
|
688
715
|
default?(_: {}): any;
|
|
716
|
+
options?(_: {}): any;
|
|
689
717
|
};
|
|
690
718
|
refs: {};
|
|
691
719
|
rootEl: any;
|
|
692
720
|
};
|
|
693
721
|
|
|
694
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(): {
|
|
695
741
|
attrs: Partial<{}>;
|
|
696
742
|
slots: {
|
|
697
743
|
default?(_: {}): any;
|
|
@@ -702,7 +748,7 @@ declare function __VLS_template_23(): {
|
|
|
702
748
|
rootEl: HTMLDivElement;
|
|
703
749
|
};
|
|
704
750
|
|
|
705
|
-
declare function
|
|
751
|
+
declare function __VLS_template_26(): {
|
|
706
752
|
attrs: Partial<{}>;
|
|
707
753
|
slots: Readonly<{
|
|
708
754
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -713,7 +759,7 @@ declare function __VLS_template_24(): {
|
|
|
713
759
|
rootEl: HTMLDivElement;
|
|
714
760
|
};
|
|
715
761
|
|
|
716
|
-
declare function
|
|
762
|
+
declare function __VLS_template_27(): {
|
|
717
763
|
attrs: Partial<{}>;
|
|
718
764
|
slots: {
|
|
719
765
|
default?(_: {}): any;
|
|
@@ -722,7 +768,7 @@ declare function __VLS_template_25(): {
|
|
|
722
768
|
rootEl: HTMLFormElement;
|
|
723
769
|
};
|
|
724
770
|
|
|
725
|
-
declare function
|
|
771
|
+
declare function __VLS_template_28(): {
|
|
726
772
|
attrs: Partial<{}>;
|
|
727
773
|
slots: {
|
|
728
774
|
default?(_: {}): any;
|
|
@@ -731,7 +777,7 @@ declare function __VLS_template_26(): {
|
|
|
731
777
|
rootEl: any;
|
|
732
778
|
};
|
|
733
779
|
|
|
734
|
-
declare function
|
|
780
|
+
declare function __VLS_template_29(): {
|
|
735
781
|
attrs: Partial<{}>;
|
|
736
782
|
slots: Readonly<{
|
|
737
783
|
default?(): VNode[];
|
|
@@ -742,7 +788,7 @@ declare function __VLS_template_27(): {
|
|
|
742
788
|
rootEl: any;
|
|
743
789
|
};
|
|
744
790
|
|
|
745
|
-
declare function
|
|
791
|
+
declare function __VLS_template_3(): {
|
|
746
792
|
attrs: Partial<{}>;
|
|
747
793
|
slots: {
|
|
748
794
|
default?(_: {}): any;
|
|
@@ -751,7 +797,7 @@ declare function __VLS_template_28(): {
|
|
|
751
797
|
rootEl: any;
|
|
752
798
|
};
|
|
753
799
|
|
|
754
|
-
declare function
|
|
800
|
+
declare function __VLS_template_30(): {
|
|
755
801
|
attrs: Partial<{}>;
|
|
756
802
|
slots: {
|
|
757
803
|
default?(_: {}): any;
|
|
@@ -760,7 +806,7 @@ declare function __VLS_template_29(): {
|
|
|
760
806
|
rootEl: any;
|
|
761
807
|
};
|
|
762
808
|
|
|
763
|
-
declare function
|
|
809
|
+
declare function __VLS_template_31(): {
|
|
764
810
|
attrs: Partial<{}>;
|
|
765
811
|
slots: {
|
|
766
812
|
default?(_: {}): any;
|
|
@@ -769,7 +815,7 @@ declare function __VLS_template_3(): {
|
|
|
769
815
|
rootEl: any;
|
|
770
816
|
};
|
|
771
817
|
|
|
772
|
-
declare function
|
|
818
|
+
declare function __VLS_template_32(): {
|
|
773
819
|
attrs: Partial<{}>;
|
|
774
820
|
slots: {
|
|
775
821
|
default?(_: {}): any;
|
|
@@ -779,7 +825,7 @@ declare function __VLS_template_30(): {
|
|
|
779
825
|
rootEl: any;
|
|
780
826
|
};
|
|
781
827
|
|
|
782
|
-
declare function
|
|
828
|
+
declare function __VLS_template_33(): {
|
|
783
829
|
attrs: Partial<{}>;
|
|
784
830
|
slots: {
|
|
785
831
|
default?(_: {}): any;
|
|
@@ -788,6 +834,15 @@ declare function __VLS_template_31(): {
|
|
|
788
834
|
rootEl: HTMLDivElement;
|
|
789
835
|
};
|
|
790
836
|
|
|
837
|
+
declare function __VLS_template_34(): {
|
|
838
|
+
attrs: Partial<{}>;
|
|
839
|
+
slots: {
|
|
840
|
+
default?(_: {}): any;
|
|
841
|
+
};
|
|
842
|
+
refs: {};
|
|
843
|
+
rootEl: any;
|
|
844
|
+
};
|
|
845
|
+
|
|
791
846
|
declare function __VLS_template_4(): {
|
|
792
847
|
attrs: Partial<{}>;
|
|
793
848
|
slots: {
|
|
@@ -972,6 +1027,12 @@ declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
|
972
1027
|
|
|
973
1028
|
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
974
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
|
+
|
|
975
1036
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
976
1037
|
|
|
977
1038
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1134,6 +1195,24 @@ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
|
1134
1195
|
};
|
|
1135
1196
|
};
|
|
1136
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
|
+
|
|
1137
1216
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1138
1217
|
new (): {
|
|
1139
1218
|
$slots: S;
|
|
@@ -1286,6 +1365,50 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1286
1365
|
|
|
1287
1366
|
export { closeModal }
|
|
1288
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
|
+
|
|
1289
1412
|
export declare type ComponentPropDefinitions<T> = {
|
|
1290
1413
|
[K in keyof T]: {
|
|
1291
1414
|
type?: PropType<T[K]>;
|
|
@@ -1456,11 +1579,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1456
1579
|
|
|
1457
1580
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1458
1581
|
|
|
1459
|
-
export declare const Details:
|
|
1582
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1460
1583
|
|
|
1461
1584
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1462
1585
|
|
|
1463
|
-
export declare const DropdownMenu:
|
|
1586
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1464
1587
|
|
|
1465
1588
|
export declare interface DropdownMenuExpose {
|
|
1466
1589
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1468,7 +1591,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1468
1591
|
options?: readonly DropdownMenuOptionData[];
|
|
1469
1592
|
}
|
|
1470
1593
|
|
|
1471
|
-
export declare const DropdownMenuOption:
|
|
1594
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1472
1595
|
|
|
1473
1596
|
export declare type DropdownMenuOptionData = {
|
|
1474
1597
|
label: string;
|
|
@@ -1480,7 +1603,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1480
1603
|
class?: string;
|
|
1481
1604
|
};
|
|
1482
1605
|
|
|
1483
|
-
export declare const DropdownMenuOptions:
|
|
1606
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1484
1607
|
|
|
1485
1608
|
export declare interface DropdownMenuProps {
|
|
1486
1609
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1488,7 +1611,7 @@ export declare interface DropdownMenuProps {
|
|
|
1488
1611
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1489
1612
|
}
|
|
1490
1613
|
|
|
1491
|
-
export declare const EditableContent:
|
|
1614
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1492
1615
|
|
|
1493
1616
|
export declare interface ElementSize {
|
|
1494
1617
|
width: number;
|
|
@@ -1507,7 +1630,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1507
1630
|
|
|
1508
1631
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1509
1632
|
|
|
1510
|
-
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>;
|
|
1511
1634
|
|
|
1512
1635
|
export declare interface ErrorReport {
|
|
1513
1636
|
title: string;
|
|
@@ -1526,7 +1649,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1526
1649
|
$content: ModalContentInstance;
|
|
1527
1650
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1528
1651
|
|
|
1529
|
-
export declare const ErrorReportModalButtons:
|
|
1652
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1530
1653
|
|
|
1531
1654
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1532
1655
|
id: string;
|
|
@@ -1544,7 +1667,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1544
1667
|
reports: ErrorReport[];
|
|
1545
1668
|
}
|
|
1546
1669
|
|
|
1547
|
-
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>;
|
|
1548
1671
|
|
|
1549
1672
|
export declare const Errors: Facade<ErrorsService>;
|
|
1550
1673
|
|
|
@@ -1624,7 +1747,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1624
1747
|
|
|
1625
1748
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1626
1749
|
|
|
1627
|
-
export declare const Form:
|
|
1750
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1628
1751
|
|
|
1629
1752
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1630
1753
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1831,9 +1954,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1831
1954
|
|
|
1832
1955
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1833
1956
|
|
|
1834
|
-
export declare const Input: DefineComponent<
|
|
1957
|
+
export declare const Input: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1835
1958
|
"update:modelValue": (value: unknown) => any;
|
|
1836
|
-
}, string, PublicProps, Readonly<
|
|
1959
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
1837
1960
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1838
1961
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1839
1962
|
$inputRef: ({
|
|
@@ -2008,7 +2131,7 @@ export declare const Layouts: {
|
|
|
2008
2131
|
readonly Desktop: "desktop";
|
|
2009
2132
|
};
|
|
2010
2133
|
|
|
2011
|
-
export declare const Link:
|
|
2134
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2012
2135
|
|
|
2013
2136
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2014
2137
|
$content: ModalContentInstance;
|
|
@@ -2033,7 +2156,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2033
2156
|
|
|
2034
2157
|
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2035
2158
|
|
|
2036
|
-
export declare const Markdown:
|
|
2159
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2037
2160
|
|
|
2038
2161
|
export declare interface MarkdownRouter {
|
|
2039
2162
|
resolve(route: string): string;
|
|
@@ -2053,8 +2176,8 @@ export declare const MINUTE_MILLISECONDS = 60000;
|
|
|
2053
2176
|
|
|
2054
2177
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2055
2178
|
|
|
2056
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2057
|
-
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 & {
|
|
2058
2181
|
wrapperClass?: HTMLAttributes["class"];
|
|
2059
2182
|
class?: HTMLAttributes["class"];
|
|
2060
2183
|
closeHidden?: boolean;
|
|
@@ -2127,7 +2250,7 @@ declare interface Plugin_2 {
|
|
|
2127
2250
|
}
|
|
2128
2251
|
export { Plugin_2 as Plugin }
|
|
2129
2252
|
|
|
2130
|
-
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>;
|
|
2131
2254
|
|
|
2132
2255
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2133
2256
|
$content: ModalContentInstance;
|
|
@@ -2168,6 +2291,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2168
2291
|
trim?: boolean;
|
|
2169
2292
|
}>;
|
|
2170
2293
|
|
|
2294
|
+
export declare const ProvideRef: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2295
|
+
|
|
2171
2296
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2172
2297
|
|
|
2173
2298
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2209,8 +2334,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2209
2334
|
|
|
2210
2335
|
export declare function safeHtml(html: string): string;
|
|
2211
2336
|
|
|
2212
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2213
|
-
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<{
|
|
2214
2339
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2215
2340
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2216
2341
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2236,9 +2361,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2236
2361
|
side?: SelectContentProps['side'];
|
|
2237
2362
|
}
|
|
2238
2363
|
|
|
2239
|
-
export declare const SelectLabel:
|
|
2364
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2240
2365
|
|
|
2241
|
-
export declare const SelectOption:
|
|
2366
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2242
2367
|
|
|
2243
2368
|
export declare type SelectOptionData = {
|
|
2244
2369
|
key: string;
|
|
@@ -2246,7 +2371,7 @@ export declare type SelectOptionData = {
|
|
|
2246
2371
|
value: AcceptableValue;
|
|
2247
2372
|
};
|
|
2248
2373
|
|
|
2249
|
-
export declare const SelectOptions:
|
|
2374
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2250
2375
|
|
|
2251
2376
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2252
2377
|
as?: AsTag | Component;
|
|
@@ -2260,7 +2385,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2260
2385
|
side?: SelectContentProps['side'];
|
|
2261
2386
|
}
|
|
2262
2387
|
|
|
2263
|
-
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>;
|
|
2264
2389
|
|
|
2265
2390
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2266
2391
|
static persist: string[];
|
|
@@ -2327,7 +2452,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2327
2452
|
|
|
2328
2453
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2329
2454
|
|
|
2330
|
-
export declare const Setting:
|
|
2455
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2331
2456
|
|
|
2332
2457
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2333
2458
|
|
|
@@ -2354,9 +2479,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2354
2479
|
|
|
2355
2480
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2356
2481
|
|
|
2357
|
-
export declare const TextArea: DefineComponent<
|
|
2482
|
+
export declare const TextArea: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2358
2483
|
"update:modelValue": (value: unknown) => any;
|
|
2359
|
-
}, string, PublicProps, Readonly<
|
|
2484
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
2360
2485
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2361
2486
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2362
2487
|
$inputRef: ({
|
|
@@ -2439,7 +2564,7 @@ default?(_: {}): any;
|
|
|
2439
2564
|
}) | null;
|
|
2440
2565
|
}, any>;
|
|
2441
2566
|
|
|
2442
|
-
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>;
|
|
2443
2568
|
|
|
2444
2569
|
export declare interface ToastAction {
|
|
2445
2570
|
label: string;
|
|
@@ -2589,6 +2714,36 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2589
2714
|
renderedCancelText: ComputedRef<string>;
|
|
2590
2715
|
};
|
|
2591
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
|
+
|
|
2592
2747
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2593
2748
|
|
|
2594
2749
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2693,6 +2848,11 @@ declare module '@aerogel/core' {
|
|
|
2693
2848
|
}
|
|
2694
2849
|
|
|
2695
2850
|
|
|
2851
|
+
declare global {
|
|
2852
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
|
|
2696
2856
|
declare module '@aerogel/core' {
|
|
2697
2857
|
interface EventsPayload {
|
|
2698
2858
|
error: {
|
|
@@ -2703,11 +2863,6 @@ declare module '@aerogel/core' {
|
|
|
2703
2863
|
}
|
|
2704
2864
|
|
|
2705
2865
|
|
|
2706
|
-
declare global {
|
|
2707
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2708
|
-
}
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
2866
|
declare module '@aerogel/core' {
|
|
2712
2867
|
interface EventsPayload {
|
|
2713
2868
|
'purge-storage': void;
|