@aerogel/core 0.1.1-next.bad775a386a94fedbee1d575ee1f4fb99d1f5bab → 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 -86
- package/dist/aerogel-core.js +1424 -1205
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppLayout.vue +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 +16 -6
- package/src/components/ui/ProgressBar.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/index.css +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,25 +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
|
-
};
|
|
497
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
461
498
|
|
|
462
|
-
declare type __VLS_Props_8 =
|
|
463
|
-
class?: HTMLAttributes['class'];
|
|
464
|
-
} & PrimitiveProps;
|
|
499
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
465
500
|
|
|
466
501
|
declare type __VLS_Props_9 = {
|
|
467
|
-
|
|
468
|
-
contentClass?: HTMLAttributes['class'];
|
|
469
|
-
ariaLabel?: string;
|
|
470
|
-
formAriaHidden?: boolean;
|
|
471
|
-
tabindex?: string;
|
|
472
|
-
text: string;
|
|
473
|
-
disabled?: boolean;
|
|
502
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
474
503
|
};
|
|
475
504
|
|
|
505
|
+
declare type __VLS_PublicProps = {
|
|
506
|
+
modelValue?: unknown;
|
|
507
|
+
} & __VLS_Props_28;
|
|
508
|
+
|
|
476
509
|
declare function __VLS_template(): {
|
|
477
510
|
attrs: Partial<{}>;
|
|
478
511
|
slots: {
|
|
@@ -649,7 +682,7 @@ declare function __VLS_template_19(): {
|
|
|
649
682
|
default?(_: {}): any;
|
|
650
683
|
};
|
|
651
684
|
refs: {};
|
|
652
|
-
rootEl:
|
|
685
|
+
rootEl: any;
|
|
653
686
|
};
|
|
654
687
|
|
|
655
688
|
declare function __VLS_template_2(): {
|
|
@@ -665,7 +698,6 @@ declare function __VLS_template_20(): {
|
|
|
665
698
|
attrs: Partial<{}>;
|
|
666
699
|
slots: {
|
|
667
700
|
default?(_: {}): any;
|
|
668
|
-
options?(_: {}): any;
|
|
669
701
|
};
|
|
670
702
|
refs: {};
|
|
671
703
|
rootEl: any;
|
|
@@ -674,22 +706,42 @@ declare function __VLS_template_20(): {
|
|
|
674
706
|
declare function __VLS_template_21(): {
|
|
675
707
|
attrs: Partial<{}>;
|
|
676
708
|
slots: {
|
|
709
|
+
label?(_: {}): any;
|
|
677
710
|
default?(_: {}): any;
|
|
678
711
|
};
|
|
679
712
|
refs: {};
|
|
680
|
-
rootEl:
|
|
713
|
+
rootEl: HTMLDetailsElement;
|
|
681
714
|
};
|
|
682
715
|
|
|
683
716
|
declare function __VLS_template_22(): {
|
|
684
717
|
attrs: Partial<{}>;
|
|
685
718
|
slots: {
|
|
686
719
|
default?(_: {}): any;
|
|
720
|
+
options?(_: {}): any;
|
|
687
721
|
};
|
|
688
722
|
refs: {};
|
|
689
723
|
rootEl: any;
|
|
690
724
|
};
|
|
691
725
|
|
|
692
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(): {
|
|
693
745
|
attrs: Partial<{}>;
|
|
694
746
|
slots: {
|
|
695
747
|
default?(_: {}): any;
|
|
@@ -700,7 +752,7 @@ declare function __VLS_template_23(): {
|
|
|
700
752
|
rootEl: HTMLDivElement;
|
|
701
753
|
};
|
|
702
754
|
|
|
703
|
-
declare function
|
|
755
|
+
declare function __VLS_template_26(): {
|
|
704
756
|
attrs: Partial<{}>;
|
|
705
757
|
slots: Readonly<{
|
|
706
758
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -711,7 +763,7 @@ declare function __VLS_template_24(): {
|
|
|
711
763
|
rootEl: HTMLDivElement;
|
|
712
764
|
};
|
|
713
765
|
|
|
714
|
-
declare function
|
|
766
|
+
declare function __VLS_template_27(): {
|
|
715
767
|
attrs: Partial<{}>;
|
|
716
768
|
slots: {
|
|
717
769
|
default?(_: {}): any;
|
|
@@ -720,7 +772,7 @@ declare function __VLS_template_25(): {
|
|
|
720
772
|
rootEl: HTMLFormElement;
|
|
721
773
|
};
|
|
722
774
|
|
|
723
|
-
declare function
|
|
775
|
+
declare function __VLS_template_28(): {
|
|
724
776
|
attrs: Partial<{}>;
|
|
725
777
|
slots: {
|
|
726
778
|
default?(_: {}): any;
|
|
@@ -729,7 +781,7 @@ declare function __VLS_template_26(): {
|
|
|
729
781
|
rootEl: any;
|
|
730
782
|
};
|
|
731
783
|
|
|
732
|
-
declare function
|
|
784
|
+
declare function __VLS_template_29(): {
|
|
733
785
|
attrs: Partial<{}>;
|
|
734
786
|
slots: Readonly<{
|
|
735
787
|
default?(): VNode[];
|
|
@@ -740,7 +792,7 @@ declare function __VLS_template_27(): {
|
|
|
740
792
|
rootEl: any;
|
|
741
793
|
};
|
|
742
794
|
|
|
743
|
-
declare function
|
|
795
|
+
declare function __VLS_template_3(): {
|
|
744
796
|
attrs: Partial<{}>;
|
|
745
797
|
slots: {
|
|
746
798
|
default?(_: {}): any;
|
|
@@ -749,7 +801,7 @@ declare function __VLS_template_28(): {
|
|
|
749
801
|
rootEl: any;
|
|
750
802
|
};
|
|
751
803
|
|
|
752
|
-
declare function
|
|
804
|
+
declare function __VLS_template_30(): {
|
|
753
805
|
attrs: Partial<{}>;
|
|
754
806
|
slots: {
|
|
755
807
|
default?(_: {}): any;
|
|
@@ -758,7 +810,7 @@ declare function __VLS_template_29(): {
|
|
|
758
810
|
rootEl: any;
|
|
759
811
|
};
|
|
760
812
|
|
|
761
|
-
declare function
|
|
813
|
+
declare function __VLS_template_31(): {
|
|
762
814
|
attrs: Partial<{}>;
|
|
763
815
|
slots: {
|
|
764
816
|
default?(_: {}): any;
|
|
@@ -767,7 +819,7 @@ declare function __VLS_template_3(): {
|
|
|
767
819
|
rootEl: any;
|
|
768
820
|
};
|
|
769
821
|
|
|
770
|
-
declare function
|
|
822
|
+
declare function __VLS_template_32(): {
|
|
771
823
|
attrs: Partial<{}>;
|
|
772
824
|
slots: {
|
|
773
825
|
default?(_: {}): any;
|
|
@@ -777,7 +829,7 @@ declare function __VLS_template_30(): {
|
|
|
777
829
|
rootEl: any;
|
|
778
830
|
};
|
|
779
831
|
|
|
780
|
-
declare function
|
|
832
|
+
declare function __VLS_template_33(): {
|
|
781
833
|
attrs: Partial<{}>;
|
|
782
834
|
slots: {
|
|
783
835
|
default?(_: {}): any;
|
|
@@ -786,6 +838,15 @@ declare function __VLS_template_31(): {
|
|
|
786
838
|
rootEl: HTMLDivElement;
|
|
787
839
|
};
|
|
788
840
|
|
|
841
|
+
declare function __VLS_template_34(): {
|
|
842
|
+
attrs: Partial<{}>;
|
|
843
|
+
slots: {
|
|
844
|
+
default?(_: {}): any;
|
|
845
|
+
};
|
|
846
|
+
refs: {};
|
|
847
|
+
rootEl: any;
|
|
848
|
+
};
|
|
849
|
+
|
|
789
850
|
declare function __VLS_template_4(): {
|
|
790
851
|
attrs: Partial<{}>;
|
|
791
852
|
slots: {
|
|
@@ -970,6 +1031,12 @@ declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
|
970
1031
|
|
|
971
1032
|
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
972
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
|
+
|
|
973
1040
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
974
1041
|
|
|
975
1042
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1132,6 +1199,24 @@ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
|
1132
1199
|
};
|
|
1133
1200
|
};
|
|
1134
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
|
+
|
|
1135
1220
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1136
1221
|
new (): {
|
|
1137
1222
|
$slots: S;
|
|
@@ -1284,6 +1369,53 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1284
1369
|
|
|
1285
1370
|
export { closeModal }
|
|
1286
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
|
+
|
|
1287
1419
|
export declare type ComponentPropDefinitions<T> = {
|
|
1288
1420
|
[K in keyof T]: {
|
|
1289
1421
|
type?: PropType<T[K]>;
|
|
@@ -1454,11 +1586,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1454
1586
|
|
|
1455
1587
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1456
1588
|
|
|
1457
|
-
export declare const Details:
|
|
1589
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1458
1590
|
|
|
1459
1591
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1460
1592
|
|
|
1461
|
-
export declare const DropdownMenu:
|
|
1593
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1462
1594
|
|
|
1463
1595
|
export declare interface DropdownMenuExpose {
|
|
1464
1596
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1466,7 +1598,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1466
1598
|
options?: readonly DropdownMenuOptionData[];
|
|
1467
1599
|
}
|
|
1468
1600
|
|
|
1469
|
-
export declare const DropdownMenuOption:
|
|
1601
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1470
1602
|
|
|
1471
1603
|
export declare type DropdownMenuOptionData = {
|
|
1472
1604
|
label: string;
|
|
@@ -1478,7 +1610,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1478
1610
|
class?: string;
|
|
1479
1611
|
};
|
|
1480
1612
|
|
|
1481
|
-
export declare const DropdownMenuOptions:
|
|
1613
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1482
1614
|
|
|
1483
1615
|
export declare interface DropdownMenuProps {
|
|
1484
1616
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1486,7 +1618,7 @@ export declare interface DropdownMenuProps {
|
|
|
1486
1618
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1487
1619
|
}
|
|
1488
1620
|
|
|
1489
|
-
export declare const EditableContent:
|
|
1621
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1490
1622
|
|
|
1491
1623
|
export declare interface ElementSize {
|
|
1492
1624
|
width: number;
|
|
@@ -1505,7 +1637,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1505
1637
|
|
|
1506
1638
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1507
1639
|
|
|
1508
|
-
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>;
|
|
1509
1641
|
|
|
1510
1642
|
export declare interface ErrorReport {
|
|
1511
1643
|
title: string;
|
|
@@ -1524,7 +1656,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1524
1656
|
$content: ModalContentInstance;
|
|
1525
1657
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1526
1658
|
|
|
1527
|
-
export declare const ErrorReportModalButtons:
|
|
1659
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1528
1660
|
|
|
1529
1661
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1530
1662
|
id: string;
|
|
@@ -1542,7 +1674,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1542
1674
|
reports: ErrorReport[];
|
|
1543
1675
|
}
|
|
1544
1676
|
|
|
1545
|
-
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>;
|
|
1546
1678
|
|
|
1547
1679
|
export declare const Errors: Facade<ErrorsService>;
|
|
1548
1680
|
|
|
@@ -1622,7 +1754,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1622
1754
|
|
|
1623
1755
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1624
1756
|
|
|
1625
|
-
export declare const Form:
|
|
1757
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1626
1758
|
|
|
1627
1759
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1628
1760
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1747,6 +1879,7 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1747
1879
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1748
1880
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1749
1881
|
expose(exposed: ShallowUnwrapRef< {
|
|
1882
|
+
renderOption: (option: T) => string;
|
|
1750
1883
|
labelClass: any;
|
|
1751
1884
|
optionsClass: any;
|
|
1752
1885
|
align: "start" | "center" | "end" | undefined;
|
|
@@ -1829,9 +1962,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1829
1962
|
|
|
1830
1963
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1831
1964
|
|
|
1832
|
-
export declare const Input: DefineComponent<
|
|
1965
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1833
1966
|
"update:modelValue": (value: unknown) => any;
|
|
1834
|
-
}, string, PublicProps, Readonly<
|
|
1967
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1835
1968
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1836
1969
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1837
1970
|
$inputRef: ({
|
|
@@ -2006,7 +2139,7 @@ export declare const Layouts: {
|
|
|
2006
2139
|
readonly Desktop: "desktop";
|
|
2007
2140
|
};
|
|
2008
2141
|
|
|
2009
|
-
export declare const Link:
|
|
2142
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2010
2143
|
|
|
2011
2144
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2012
2145
|
$content: ModalContentInstance;
|
|
@@ -2031,7 +2164,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2031
2164
|
|
|
2032
2165
|
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2033
2166
|
|
|
2034
|
-
export declare const Markdown:
|
|
2167
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2035
2168
|
|
|
2036
2169
|
export declare interface MarkdownRouter {
|
|
2037
2170
|
resolve(route: string): string;
|
|
@@ -2051,8 +2184,8 @@ export declare const MINUTE_MILLISECONDS = 60000;
|
|
|
2051
2184
|
|
|
2052
2185
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2053
2186
|
|
|
2054
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2055
|
-
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 & {
|
|
2056
2189
|
wrapperClass?: HTMLAttributes["class"];
|
|
2057
2190
|
class?: HTMLAttributes["class"];
|
|
2058
2191
|
closeHidden?: boolean;
|
|
@@ -2125,7 +2258,7 @@ declare interface Plugin_2 {
|
|
|
2125
2258
|
}
|
|
2126
2259
|
export { Plugin_2 as Plugin }
|
|
2127
2260
|
|
|
2128
|
-
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>;
|
|
2129
2262
|
|
|
2130
2263
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2131
2264
|
$content: ModalContentInstance;
|
|
@@ -2166,6 +2299,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2166
2299
|
trim?: boolean;
|
|
2167
2300
|
}>;
|
|
2168
2301
|
|
|
2302
|
+
export declare const ProvideRef: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2303
|
+
|
|
2169
2304
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2170
2305
|
|
|
2171
2306
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2207,8 +2342,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2207
2342
|
|
|
2208
2343
|
export declare function safeHtml(html: string): string;
|
|
2209
2344
|
|
|
2210
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2211
|
-
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<{
|
|
2212
2347
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2213
2348
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2214
2349
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2232,11 +2367,12 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2232
2367
|
optionsClass?: HTMLAttributes['class'];
|
|
2233
2368
|
align?: SelectContentProps['align'];
|
|
2234
2369
|
side?: SelectContentProps['side'];
|
|
2370
|
+
renderOption: (option: T) => string;
|
|
2235
2371
|
}
|
|
2236
2372
|
|
|
2237
|
-
export declare const SelectLabel:
|
|
2373
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2238
2374
|
|
|
2239
|
-
export declare const SelectOption:
|
|
2375
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2240
2376
|
|
|
2241
2377
|
export declare type SelectOptionData = {
|
|
2242
2378
|
key: string;
|
|
@@ -2244,7 +2380,7 @@ export declare type SelectOptionData = {
|
|
|
2244
2380
|
value: AcceptableValue;
|
|
2245
2381
|
};
|
|
2246
2382
|
|
|
2247
|
-
export declare const SelectOptions:
|
|
2383
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2248
2384
|
|
|
2249
2385
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2250
2386
|
as?: AsTag | Component;
|
|
@@ -2258,7 +2394,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2258
2394
|
side?: SelectContentProps['side'];
|
|
2259
2395
|
}
|
|
2260
2396
|
|
|
2261
|
-
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>;
|
|
2262
2398
|
|
|
2263
2399
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2264
2400
|
static persist: string[];
|
|
@@ -2325,7 +2461,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2325
2461
|
|
|
2326
2462
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2327
2463
|
|
|
2328
|
-
export declare const Setting:
|
|
2464
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2329
2465
|
|
|
2330
2466
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2331
2467
|
|
|
@@ -2352,9 +2488,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2352
2488
|
|
|
2353
2489
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2354
2490
|
|
|
2355
|
-
export declare const TextArea: DefineComponent<
|
|
2491
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2356
2492
|
"update:modelValue": (value: unknown) => any;
|
|
2357
|
-
}, string, PublicProps, Readonly<
|
|
2493
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2358
2494
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2359
2495
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2360
2496
|
$inputRef: ({
|
|
@@ -2437,7 +2573,7 @@ default?(_: {}): any;
|
|
|
2437
2573
|
}) | null;
|
|
2438
2574
|
}, any>;
|
|
2439
2575
|
|
|
2440
|
-
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>;
|
|
2441
2577
|
|
|
2442
2578
|
export declare interface ToastAction {
|
|
2443
2579
|
label: string;
|
|
@@ -2587,6 +2723,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2587
2723
|
renderedCancelText: ComputedRef<string>;
|
|
2588
2724
|
};
|
|
2589
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
|
+
|
|
2590
2758
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2591
2759
|
|
|
2592
2760
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|