@aerogel/core 0.1.1-next.c3c3c32e9b674ba4ae2d33973d4659e37c863c35 → 0.1.1-next.d3af81f1f7f69a65742c4d298e0c77c6c3977d2b
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 +254 -88
- package/dist/aerogel-core.js +1413 -1204
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/contracts/Select.ts +89 -2
- package/src/components/headless/HeadlessSelect.vue +6 -91
- package/src/components/headless/HeadlessSelectOption.vue +1 -5
- package/src/components/index.ts +1 -0
- package/src/components/ui/Combobox.vue +41 -0
- package/src/components/ui/ComboboxLabel.vue +29 -0
- package/src/components/ui/ComboboxOption.vue +28 -0
- package/src/components/ui/ComboboxOptions.vue +58 -0
- package/src/components/ui/ComboboxTrigger.vue +35 -0
- package/src/components/ui/Details.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/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,46 +182,46 @@ 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_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & 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_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
194
200
|
select: () => any;
|
|
195
|
-
}, string, PublicProps, Readonly<
|
|
201
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & 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_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
202
208
|
update: (value: string | number) => any;
|
|
203
209
|
save: () => any;
|
|
204
|
-
}, string, PublicProps, Readonly<
|
|
210
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & 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_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
212
218
|
|
|
213
|
-
declare const
|
|
219
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
214
220
|
submit: () => any;
|
|
215
|
-
}, string, PublicProps, Readonly<
|
|
221
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
216
222
|
onSubmit?: (() => any) | undefined;
|
|
217
223
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
218
224
|
|
|
219
|
-
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
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
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
227
|
declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -239,9 +241,19 @@ 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>;
|
|
247
|
+
|
|
248
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
243
249
|
|
|
244
|
-
declare const
|
|
250
|
+
declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & 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,62 @@ 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 = {
|
|
361
|
-
|
|
377
|
+
label?: string;
|
|
378
|
+
contentClass?: HTMLAttributes['class'];
|
|
379
|
+
summaryClass?: HTMLAttributes['class'];
|
|
362
380
|
};
|
|
363
381
|
|
|
364
382
|
declare type __VLS_Props_11 = {
|
|
383
|
+
class?: HTMLAttributes['class'];
|
|
384
|
+
} & PrimitiveProps;
|
|
385
|
+
|
|
386
|
+
declare type __VLS_Props_12 = {
|
|
387
|
+
type?: string;
|
|
388
|
+
contentClass?: HTMLAttributes['class'];
|
|
389
|
+
ariaLabel?: string;
|
|
390
|
+
formAriaHidden?: boolean;
|
|
391
|
+
tabindex?: string;
|
|
392
|
+
text: string;
|
|
393
|
+
disabled?: boolean;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
declare type __VLS_Props_13 = {
|
|
397
|
+
error: ErrorSource;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
declare type __VLS_Props_14 = {
|
|
365
401
|
report: ErrorReport;
|
|
366
402
|
};
|
|
367
403
|
|
|
368
|
-
declare type
|
|
404
|
+
declare type __VLS_Props_15 = {
|
|
369
405
|
report: ErrorReport;
|
|
370
406
|
currentReport?: number;
|
|
371
407
|
totalReports?: number;
|
|
372
408
|
};
|
|
373
409
|
|
|
374
|
-
declare type
|
|
410
|
+
declare type __VLS_Props_16 = {
|
|
375
411
|
form?: FormController;
|
|
376
412
|
};
|
|
377
413
|
|
|
378
|
-
declare type
|
|
414
|
+
declare type __VLS_Props_17 = InputProps & {
|
|
379
415
|
inputClass?: HTMLAttributes['class'];
|
|
380
416
|
wrapperClass?: HTMLAttributes['class'];
|
|
381
417
|
descriptionClass?: HTMLAttributes['class'];
|
|
382
418
|
errorClass?: HTMLAttributes['class'];
|
|
383
419
|
};
|
|
384
420
|
|
|
385
|
-
declare type
|
|
421
|
+
declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
|
|
386
422
|
|
|
387
|
-
declare type
|
|
423
|
+
declare type __VLS_Props_19 = {
|
|
388
424
|
as?: string;
|
|
389
425
|
inline?: boolean;
|
|
390
426
|
langKey?: string;
|
|
@@ -394,36 +430,36 @@ declare type __VLS_Props_16 = {
|
|
|
394
430
|
actions?: Record<string, () => unknown>;
|
|
395
431
|
};
|
|
396
432
|
|
|
397
|
-
declare type
|
|
433
|
+
declare type __VLS_Props_2 = {
|
|
434
|
+
type?: string;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
declare type __VLS_Props_20 = {
|
|
398
438
|
filledClass?: string;
|
|
399
439
|
overflowClass?: string;
|
|
400
440
|
progress?: number;
|
|
401
441
|
job?: Falsifiable<Job>;
|
|
402
442
|
};
|
|
403
443
|
|
|
404
|
-
declare type
|
|
444
|
+
declare type __VLS_Props_21 = {
|
|
405
445
|
class?: HTMLAttributes['class'];
|
|
406
446
|
};
|
|
407
447
|
|
|
408
|
-
declare type
|
|
448
|
+
declare type __VLS_Props_22 = {
|
|
409
449
|
value: AcceptableValue;
|
|
410
450
|
class?: HTMLAttributes['class'];
|
|
411
451
|
innerClass?: HTMLAttributes['class'];
|
|
412
452
|
};
|
|
413
453
|
|
|
414
|
-
declare type
|
|
415
|
-
type?: string;
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
declare type __VLS_Props_20 = {
|
|
454
|
+
declare type __VLS_Props_23 = {
|
|
419
455
|
class?: HTMLAttributes['class'];
|
|
420
456
|
};
|
|
421
457
|
|
|
422
|
-
declare type
|
|
458
|
+
declare type __VLS_Props_24 = {
|
|
423
459
|
class?: HTMLAttributes['class'];
|
|
424
460
|
};
|
|
425
461
|
|
|
426
|
-
declare type
|
|
462
|
+
declare type __VLS_Props_25 = {
|
|
427
463
|
title: string;
|
|
428
464
|
titleId?: string;
|
|
429
465
|
description?: string;
|
|
@@ -431,15 +467,19 @@ declare type __VLS_Props_22 = {
|
|
|
431
467
|
layout?: 'vertical' | 'horizontal';
|
|
432
468
|
};
|
|
433
469
|
|
|
434
|
-
declare type
|
|
470
|
+
declare type __VLS_Props_26 = InputProps & {
|
|
435
471
|
inputClass?: HTMLAttributes['class'];
|
|
436
472
|
wrapperClass?: HTMLAttributes['class'];
|
|
437
473
|
};
|
|
438
474
|
|
|
439
|
-
declare type
|
|
475
|
+
declare type __VLS_Props_27 = ToastProps & {
|
|
440
476
|
class?: HTMLAttributes['class'];
|
|
441
477
|
};
|
|
442
478
|
|
|
479
|
+
declare type __VLS_Props_28 = {
|
|
480
|
+
name: string;
|
|
481
|
+
};
|
|
482
|
+
|
|
443
483
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
444
484
|
|
|
445
485
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -454,26 +494,18 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
454
494
|
labelClass?: HTMLAttributes['class'];
|
|
455
495
|
};
|
|
456
496
|
|
|
457
|
-
declare type __VLS_Props_7 =
|
|
458
|
-
label?: string;
|
|
459
|
-
contentClass?: HTMLAttributes['class'];
|
|
460
|
-
summaryClass?: HTMLAttributes['class'];
|
|
461
|
-
};
|
|
497
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
462
498
|
|
|
463
|
-
declare type __VLS_Props_8 =
|
|
464
|
-
class?: HTMLAttributes['class'];
|
|
465
|
-
} & PrimitiveProps;
|
|
499
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
466
500
|
|
|
467
501
|
declare type __VLS_Props_9 = {
|
|
468
|
-
|
|
469
|
-
contentClass?: HTMLAttributes['class'];
|
|
470
|
-
ariaLabel?: string;
|
|
471
|
-
formAriaHidden?: boolean;
|
|
472
|
-
tabindex?: string;
|
|
473
|
-
text: string;
|
|
474
|
-
disabled?: boolean;
|
|
502
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
475
503
|
};
|
|
476
504
|
|
|
505
|
+
declare type __VLS_PublicProps = {
|
|
506
|
+
modelValue?: unknown;
|
|
507
|
+
} & __VLS_Props_28;
|
|
508
|
+
|
|
477
509
|
declare function __VLS_template(): {
|
|
478
510
|
attrs: Partial<{}>;
|
|
479
511
|
slots: {
|
|
@@ -647,11 +679,10 @@ declare function __VLS_template_18(): {
|
|
|
647
679
|
declare function __VLS_template_19(): {
|
|
648
680
|
attrs: Partial<{}>;
|
|
649
681
|
slots: {
|
|
650
|
-
label?(_: {}): any;
|
|
651
682
|
default?(_: {}): any;
|
|
652
683
|
};
|
|
653
684
|
refs: {};
|
|
654
|
-
rootEl:
|
|
685
|
+
rootEl: any;
|
|
655
686
|
};
|
|
656
687
|
|
|
657
688
|
declare function __VLS_template_2(): {
|
|
@@ -667,7 +698,6 @@ declare function __VLS_template_20(): {
|
|
|
667
698
|
attrs: Partial<{}>;
|
|
668
699
|
slots: {
|
|
669
700
|
default?(_: {}): any;
|
|
670
|
-
options?(_: {}): any;
|
|
671
701
|
};
|
|
672
702
|
refs: {};
|
|
673
703
|
rootEl: any;
|
|
@@ -676,22 +706,42 @@ declare function __VLS_template_20(): {
|
|
|
676
706
|
declare function __VLS_template_21(): {
|
|
677
707
|
attrs: Partial<{}>;
|
|
678
708
|
slots: {
|
|
709
|
+
label?(_: {}): any;
|
|
679
710
|
default?(_: {}): any;
|
|
680
711
|
};
|
|
681
712
|
refs: {};
|
|
682
|
-
rootEl:
|
|
713
|
+
rootEl: HTMLDetailsElement;
|
|
683
714
|
};
|
|
684
715
|
|
|
685
716
|
declare function __VLS_template_22(): {
|
|
686
717
|
attrs: Partial<{}>;
|
|
687
718
|
slots: {
|
|
688
719
|
default?(_: {}): any;
|
|
720
|
+
options?(_: {}): any;
|
|
689
721
|
};
|
|
690
722
|
refs: {};
|
|
691
723
|
rootEl: any;
|
|
692
724
|
};
|
|
693
725
|
|
|
694
726
|
declare function __VLS_template_23(): {
|
|
727
|
+
attrs: Partial<{}>;
|
|
728
|
+
slots: {
|
|
729
|
+
default?(_: {}): any;
|
|
730
|
+
};
|
|
731
|
+
refs: {};
|
|
732
|
+
rootEl: any;
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
declare function __VLS_template_24(): {
|
|
736
|
+
attrs: Partial<{}>;
|
|
737
|
+
slots: {
|
|
738
|
+
default?(_: {}): any;
|
|
739
|
+
};
|
|
740
|
+
refs: {};
|
|
741
|
+
rootEl: any;
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
declare function __VLS_template_25(): {
|
|
695
745
|
attrs: Partial<{}>;
|
|
696
746
|
slots: {
|
|
697
747
|
default?(_: {}): any;
|
|
@@ -702,7 +752,7 @@ declare function __VLS_template_23(): {
|
|
|
702
752
|
rootEl: HTMLDivElement;
|
|
703
753
|
};
|
|
704
754
|
|
|
705
|
-
declare function
|
|
755
|
+
declare function __VLS_template_26(): {
|
|
706
756
|
attrs: Partial<{}>;
|
|
707
757
|
slots: Readonly<{
|
|
708
758
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -713,7 +763,7 @@ declare function __VLS_template_24(): {
|
|
|
713
763
|
rootEl: HTMLDivElement;
|
|
714
764
|
};
|
|
715
765
|
|
|
716
|
-
declare function
|
|
766
|
+
declare function __VLS_template_27(): {
|
|
717
767
|
attrs: Partial<{}>;
|
|
718
768
|
slots: {
|
|
719
769
|
default?(_: {}): any;
|
|
@@ -722,7 +772,7 @@ declare function __VLS_template_25(): {
|
|
|
722
772
|
rootEl: HTMLFormElement;
|
|
723
773
|
};
|
|
724
774
|
|
|
725
|
-
declare function
|
|
775
|
+
declare function __VLS_template_28(): {
|
|
726
776
|
attrs: Partial<{}>;
|
|
727
777
|
slots: {
|
|
728
778
|
default?(_: {}): any;
|
|
@@ -731,7 +781,7 @@ declare function __VLS_template_26(): {
|
|
|
731
781
|
rootEl: any;
|
|
732
782
|
};
|
|
733
783
|
|
|
734
|
-
declare function
|
|
784
|
+
declare function __VLS_template_29(): {
|
|
735
785
|
attrs: Partial<{}>;
|
|
736
786
|
slots: Readonly<{
|
|
737
787
|
default?(): VNode[];
|
|
@@ -742,7 +792,7 @@ declare function __VLS_template_27(): {
|
|
|
742
792
|
rootEl: any;
|
|
743
793
|
};
|
|
744
794
|
|
|
745
|
-
declare function
|
|
795
|
+
declare function __VLS_template_3(): {
|
|
746
796
|
attrs: Partial<{}>;
|
|
747
797
|
slots: {
|
|
748
798
|
default?(_: {}): any;
|
|
@@ -751,7 +801,7 @@ declare function __VLS_template_28(): {
|
|
|
751
801
|
rootEl: any;
|
|
752
802
|
};
|
|
753
803
|
|
|
754
|
-
declare function
|
|
804
|
+
declare function __VLS_template_30(): {
|
|
755
805
|
attrs: Partial<{}>;
|
|
756
806
|
slots: {
|
|
757
807
|
default?(_: {}): any;
|
|
@@ -760,7 +810,7 @@ declare function __VLS_template_29(): {
|
|
|
760
810
|
rootEl: any;
|
|
761
811
|
};
|
|
762
812
|
|
|
763
|
-
declare function
|
|
813
|
+
declare function __VLS_template_31(): {
|
|
764
814
|
attrs: Partial<{}>;
|
|
765
815
|
slots: {
|
|
766
816
|
default?(_: {}): any;
|
|
@@ -769,7 +819,7 @@ declare function __VLS_template_3(): {
|
|
|
769
819
|
rootEl: any;
|
|
770
820
|
};
|
|
771
821
|
|
|
772
|
-
declare function
|
|
822
|
+
declare function __VLS_template_32(): {
|
|
773
823
|
attrs: Partial<{}>;
|
|
774
824
|
slots: {
|
|
775
825
|
default?(_: {}): any;
|
|
@@ -779,7 +829,7 @@ declare function __VLS_template_30(): {
|
|
|
779
829
|
rootEl: any;
|
|
780
830
|
};
|
|
781
831
|
|
|
782
|
-
declare function
|
|
832
|
+
declare function __VLS_template_33(): {
|
|
783
833
|
attrs: Partial<{}>;
|
|
784
834
|
slots: {
|
|
785
835
|
default?(_: {}): any;
|
|
@@ -788,6 +838,15 @@ declare function __VLS_template_31(): {
|
|
|
788
838
|
rootEl: HTMLDivElement;
|
|
789
839
|
};
|
|
790
840
|
|
|
841
|
+
declare function __VLS_template_34(): {
|
|
842
|
+
attrs: Partial<{}>;
|
|
843
|
+
slots: {
|
|
844
|
+
default?(_: {}): any;
|
|
845
|
+
};
|
|
846
|
+
refs: {};
|
|
847
|
+
rootEl: any;
|
|
848
|
+
};
|
|
849
|
+
|
|
791
850
|
declare function __VLS_template_4(): {
|
|
792
851
|
attrs: Partial<{}>;
|
|
793
852
|
slots: {
|
|
@@ -972,6 +1031,12 @@ declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
|
972
1031
|
|
|
973
1032
|
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
974
1033
|
|
|
1034
|
+
declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
|
|
1035
|
+
|
|
1036
|
+
declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
1037
|
+
|
|
1038
|
+
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
1039
|
+
|
|
975
1040
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
976
1041
|
|
|
977
1042
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1134,6 +1199,24 @@ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
|
1134
1199
|
};
|
|
1135
1200
|
};
|
|
1136
1201
|
|
|
1202
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
1203
|
+
new (): {
|
|
1204
|
+
$slots: S;
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
1209
|
+
new (): {
|
|
1210
|
+
$slots: S;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
1215
|
+
new (): {
|
|
1216
|
+
$slots: S;
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
|
|
1137
1220
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1138
1221
|
new (): {
|
|
1139
1222
|
$slots: S;
|
|
@@ -1286,6 +1369,53 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1286
1369
|
|
|
1287
1370
|
export { closeModal }
|
|
1288
1371
|
|
|
1372
|
+
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<{
|
|
1373
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
|
|
1374
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1375
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectProps<T> & {
|
|
1376
|
+
newInputValue?: (value: string) => T;
|
|
1377
|
+
}) & Partial<{}>> & PublicProps;
|
|
1378
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1379
|
+
renderOption: (option: T) => string;
|
|
1380
|
+
labelClass: any;
|
|
1381
|
+
optionsClass: any;
|
|
1382
|
+
align: "start" | "center" | "end" | undefined;
|
|
1383
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
1384
|
+
value: ComputedRef<T>;
|
|
1385
|
+
id: string;
|
|
1386
|
+
name: ComputedRef<string | undefined>;
|
|
1387
|
+
label: ComputedRef<string | undefined>;
|
|
1388
|
+
description: ComputedRef<string | undefined>;
|
|
1389
|
+
placeholder: ComputedRef<string>;
|
|
1390
|
+
options: ComputedRef< {
|
|
1391
|
+
key: string;
|
|
1392
|
+
label: string;
|
|
1393
|
+
value: AcceptableValue;
|
|
1394
|
+
}[] | null>;
|
|
1395
|
+
selectedOption: ComputedRef< {
|
|
1396
|
+
key: string;
|
|
1397
|
+
label: string;
|
|
1398
|
+
value: AcceptableValue;
|
|
1399
|
+
} | undefined>;
|
|
1400
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1401
|
+
required: ComputedRef<boolean | undefined>;
|
|
1402
|
+
update(value: T): void;
|
|
1403
|
+
}>): void;
|
|
1404
|
+
attrs: any;
|
|
1405
|
+
slots: {};
|
|
1406
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1407
|
+
}>) => VNode & {
|
|
1408
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1412
|
+
|
|
1413
|
+
export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1414
|
+
|
|
1415
|
+
export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1416
|
+
|
|
1417
|
+
export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1418
|
+
|
|
1289
1419
|
export declare type ComponentPropDefinitions<T> = {
|
|
1290
1420
|
[K in keyof T]: {
|
|
1291
1421
|
type?: PropType<T[K]>;
|
|
@@ -1456,11 +1586,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1456
1586
|
|
|
1457
1587
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1458
1588
|
|
|
1459
|
-
export declare const Details:
|
|
1589
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1460
1590
|
|
|
1461
1591
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1462
1592
|
|
|
1463
|
-
export declare const DropdownMenu:
|
|
1593
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1464
1594
|
|
|
1465
1595
|
export declare interface DropdownMenuExpose {
|
|
1466
1596
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1468,7 +1598,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1468
1598
|
options?: readonly DropdownMenuOptionData[];
|
|
1469
1599
|
}
|
|
1470
1600
|
|
|
1471
|
-
export declare const DropdownMenuOption:
|
|
1601
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1472
1602
|
|
|
1473
1603
|
export declare type DropdownMenuOptionData = {
|
|
1474
1604
|
label: string;
|
|
@@ -1480,7 +1610,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1480
1610
|
class?: string;
|
|
1481
1611
|
};
|
|
1482
1612
|
|
|
1483
|
-
export declare const DropdownMenuOptions:
|
|
1613
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1484
1614
|
|
|
1485
1615
|
export declare interface DropdownMenuProps {
|
|
1486
1616
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1488,7 +1618,7 @@ export declare interface DropdownMenuProps {
|
|
|
1488
1618
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1489
1619
|
}
|
|
1490
1620
|
|
|
1491
|
-
export declare const EditableContent:
|
|
1621
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1492
1622
|
|
|
1493
1623
|
export declare interface ElementSize {
|
|
1494
1624
|
width: number;
|
|
@@ -1507,7 +1637,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1507
1637
|
|
|
1508
1638
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1509
1639
|
|
|
1510
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1640
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1511
1641
|
|
|
1512
1642
|
export declare interface ErrorReport {
|
|
1513
1643
|
title: string;
|
|
@@ -1526,7 +1656,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1526
1656
|
$content: ModalContentInstance;
|
|
1527
1657
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1528
1658
|
|
|
1529
|
-
export declare const ErrorReportModalButtons:
|
|
1659
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1530
1660
|
|
|
1531
1661
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1532
1662
|
id: string;
|
|
@@ -1544,7 +1674,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1544
1674
|
reports: ErrorReport[];
|
|
1545
1675
|
}
|
|
1546
1676
|
|
|
1547
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1677
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1548
1678
|
|
|
1549
1679
|
export declare const Errors: Facade<ErrorsService>;
|
|
1550
1680
|
|
|
@@ -1624,7 +1754,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1624
1754
|
|
|
1625
1755
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1626
1756
|
|
|
1627
|
-
export declare const Form:
|
|
1757
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1628
1758
|
|
|
1629
1759
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1630
1760
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1749,6 +1879,7 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1749
1879
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1750
1880
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1751
1881
|
expose(exposed: ShallowUnwrapRef< {
|
|
1882
|
+
renderOption: (option: T) => string;
|
|
1752
1883
|
labelClass: any;
|
|
1753
1884
|
optionsClass: any;
|
|
1754
1885
|
align: "start" | "center" | "end" | undefined;
|
|
@@ -1831,9 +1962,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1831
1962
|
|
|
1832
1963
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1833
1964
|
|
|
1834
|
-
export declare const Input: DefineComponent<
|
|
1965
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1835
1966
|
"update:modelValue": (value: unknown) => any;
|
|
1836
|
-
}, string, PublicProps, Readonly<
|
|
1967
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1837
1968
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1838
1969
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1839
1970
|
$inputRef: ({
|
|
@@ -2008,7 +2139,7 @@ export declare const Layouts: {
|
|
|
2008
2139
|
readonly Desktop: "desktop";
|
|
2009
2140
|
};
|
|
2010
2141
|
|
|
2011
|
-
export declare const Link:
|
|
2142
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2012
2143
|
|
|
2013
2144
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2014
2145
|
$content: ModalContentInstance;
|
|
@@ -2033,7 +2164,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2033
2164
|
|
|
2034
2165
|
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2035
2166
|
|
|
2036
|
-
export declare const Markdown:
|
|
2167
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2037
2168
|
|
|
2038
2169
|
export declare interface MarkdownRouter {
|
|
2039
2170
|
resolve(route: string): string;
|
|
@@ -2053,8 +2184,8 @@ export declare const MINUTE_MILLISECONDS = 60000;
|
|
|
2053
2184
|
|
|
2054
2185
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2055
2186
|
|
|
2056
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2057
|
-
props:
|
|
2187
|
+
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<{
|
|
2188
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2058
2189
|
wrapperClass?: HTMLAttributes["class"];
|
|
2059
2190
|
class?: HTMLAttributes["class"];
|
|
2060
2191
|
closeHidden?: boolean;
|
|
@@ -2127,7 +2258,7 @@ declare interface Plugin_2 {
|
|
|
2127
2258
|
}
|
|
2128
2259
|
export { Plugin_2 as Plugin }
|
|
2129
2260
|
|
|
2130
|
-
export declare const ProgressBar: DefineComponent<
|
|
2261
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2131
2262
|
|
|
2132
2263
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2133
2264
|
$content: ModalContentInstance;
|
|
@@ -2168,6 +2299,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2168
2299
|
trim?: boolean;
|
|
2169
2300
|
}>;
|
|
2170
2301
|
|
|
2302
|
+
export declare const ProvideRef: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2303
|
+
|
|
2171
2304
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2172
2305
|
|
|
2173
2306
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2209,8 +2342,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2209
2342
|
|
|
2210
2343
|
export declare function safeHtml(html: string): string;
|
|
2211
2344
|
|
|
2212
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2213
|
-
props:
|
|
2345
|
+
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<{
|
|
2346
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2214
2347
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2215
2348
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2216
2349
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2234,11 +2367,12 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2234
2367
|
optionsClass?: HTMLAttributes['class'];
|
|
2235
2368
|
align?: SelectContentProps['align'];
|
|
2236
2369
|
side?: SelectContentProps['side'];
|
|
2370
|
+
renderOption: (option: T) => string;
|
|
2237
2371
|
}
|
|
2238
2372
|
|
|
2239
|
-
export declare const SelectLabel:
|
|
2373
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2240
2374
|
|
|
2241
|
-
export declare const SelectOption:
|
|
2375
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2242
2376
|
|
|
2243
2377
|
export declare type SelectOptionData = {
|
|
2244
2378
|
key: string;
|
|
@@ -2246,7 +2380,7 @@ export declare type SelectOptionData = {
|
|
|
2246
2380
|
value: AcceptableValue;
|
|
2247
2381
|
};
|
|
2248
2382
|
|
|
2249
|
-
export declare const SelectOptions:
|
|
2383
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2250
2384
|
|
|
2251
2385
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2252
2386
|
as?: AsTag | Component;
|
|
@@ -2260,7 +2394,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2260
2394
|
side?: SelectContentProps['side'];
|
|
2261
2395
|
}
|
|
2262
2396
|
|
|
2263
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2397
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2264
2398
|
|
|
2265
2399
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2266
2400
|
static persist: string[];
|
|
@@ -2327,7 +2461,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2327
2461
|
|
|
2328
2462
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2329
2463
|
|
|
2330
|
-
export declare const Setting:
|
|
2464
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2331
2465
|
|
|
2332
2466
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2333
2467
|
|
|
@@ -2354,9 +2488,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2354
2488
|
|
|
2355
2489
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2356
2490
|
|
|
2357
|
-
export declare const TextArea: DefineComponent<
|
|
2491
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2358
2492
|
"update:modelValue": (value: unknown) => any;
|
|
2359
|
-
}, string, PublicProps, Readonly<
|
|
2493
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2360
2494
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2361
2495
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2362
2496
|
$inputRef: ({
|
|
@@ -2439,7 +2573,7 @@ default?(_: {}): any;
|
|
|
2439
2573
|
}) | null;
|
|
2440
2574
|
}, any>;
|
|
2441
2575
|
|
|
2442
|
-
export declare const Toast: DefineComponent<
|
|
2576
|
+
export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2443
2577
|
|
|
2444
2578
|
export declare interface ToastAction {
|
|
2445
2579
|
label: string;
|
|
@@ -2589,6 +2723,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2589
2723
|
renderedCancelText: ComputedRef<string>;
|
|
2590
2724
|
};
|
|
2591
2725
|
|
|
2726
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: SelectProps<T>, emit: EmitFn<SelectEmits<T>>): {
|
|
2727
|
+
expose: {
|
|
2728
|
+
renderOption: (option: T) => string;
|
|
2729
|
+
labelClass: any;
|
|
2730
|
+
optionsClass: any;
|
|
2731
|
+
align: "start" | "center" | "end" | undefined;
|
|
2732
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
2733
|
+
value: ComputedRef<T>;
|
|
2734
|
+
id: string;
|
|
2735
|
+
name: ComputedRef<string | undefined>;
|
|
2736
|
+
label: ComputedRef<string | undefined>;
|
|
2737
|
+
description: ComputedRef<string | undefined>;
|
|
2738
|
+
placeholder: ComputedRef<string>;
|
|
2739
|
+
options: ComputedRef<{
|
|
2740
|
+
key: string;
|
|
2741
|
+
label: string;
|
|
2742
|
+
value: AcceptableValue;
|
|
2743
|
+
}[] | null>;
|
|
2744
|
+
selectedOption: ComputedRef<{
|
|
2745
|
+
key: string;
|
|
2746
|
+
label: string;
|
|
2747
|
+
value: AcceptableValue;
|
|
2748
|
+
} | undefined>;
|
|
2749
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2750
|
+
required: ComputedRef<boolean | undefined>;
|
|
2751
|
+
update(value: T): void;
|
|
2752
|
+
};
|
|
2753
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2754
|
+
update: (value: AcceptableValue) => void;
|
|
2755
|
+
renderOption: (option: T) => string;
|
|
2756
|
+
};
|
|
2757
|
+
|
|
2592
2758
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2593
2759
|
|
|
2594
2760
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|