@aerogel/core 0.1.1-next.e6a6ad3e33336c7da826eebdf24cd581e20522f2 → 0.1.1-next.eccf11f4e757c5de2ef17ea40a8ff8a74a81bf97
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 +338 -100
- package/dist/aerogel-core.js +1438 -1142
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/contracts/Combobox.ts +5 -0
- package/src/components/contracts/Modal.ts +1 -1
- package/src/components/contracts/Select.ts +98 -4
- package/src/components/contracts/index.ts +1 -0
- package/src/components/headless/HeadlessSelect.vue +10 -91
- package/src/components/headless/HeadlessSelectOption.vue +1 -5
- package/src/components/index.ts +1 -0
- package/src/components/ui/Combobox.vue +66 -0
- package/src/components/ui/ComboboxLabel.vue +29 -0
- package/src/components/ui/ComboboxOption.vue +46 -0
- package/src/components/ui/ComboboxOptions.vue +71 -0
- package/src/components/ui/ComboboxTrigger.vue +62 -0
- package/src/components/ui/Details.vue +19 -6
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/Modal.vue +2 -2
- package/src/components/ui/ProgressBar.vue +1 -1
- package/src/components/ui/SettingsModal.vue +1 -1
- package/src/components/ui/index.ts +5 -0
- package/src/components/vue/Provide.vue +11 -0
- package/src/components/vue/index.ts +1 -0
- package/src/index.css +1 -0
- package/src/services/App.state.ts +1 -0
- package/src/services/App.ts +4 -0
- package/src/services/index.ts +5 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ 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 { ComboboxGroupProps } from 'reka-ui';
|
|
8
|
+
import { ComboboxItemProps } from 'reka-ui';
|
|
7
9
|
import { Component } from 'vue';
|
|
8
10
|
import { ComponentCustomProperties } from 'vue';
|
|
9
11
|
import { ComponentCustomProps } from 'vue';
|
|
@@ -29,6 +31,7 @@ import { DialogOverlayProps } from 'reka-ui';
|
|
|
29
31
|
import { DialogTitleProps } from 'reka-ui';
|
|
30
32
|
import { Directive } from 'vue';
|
|
31
33
|
import { DropdownMenuContentProps } from 'reka-ui';
|
|
34
|
+
import { EmitFn } from 'vue';
|
|
32
35
|
import { Facade } from '@noeldemartin/utils';
|
|
33
36
|
import { FocusOutsideEvent } from 'reka-ui';
|
|
34
37
|
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
@@ -180,46 +183,50 @@ default?(_: {}): any;
|
|
|
180
183
|
}) | null;
|
|
181
184
|
}, any>;
|
|
182
185
|
|
|
183
|
-
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
186
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
184
187
|
|
|
185
188
|
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
186
189
|
|
|
187
|
-
declare const __VLS_component_20: DefineComponent<
|
|
190
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
191
|
+
select: () => any;
|
|
192
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
193
|
+
onSelect?: (() => any) | undefined;
|
|
194
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
195
|
+
|
|
196
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
197
|
+
|
|
198
|
+
declare const __VLS_component_22: DefineComponent<DropdownMenuProps, {
|
|
188
199
|
align: "start" | "center" | "end" | undefined;
|
|
189
200
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
190
201
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
191
202
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
192
203
|
|
|
193
|
-
declare const
|
|
204
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
194
205
|
select: () => any;
|
|
195
|
-
}, string, PublicProps, Readonly<
|
|
206
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
196
207
|
onSelect?: (() => any) | undefined;
|
|
197
208
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
198
209
|
|
|
199
|
-
declare const
|
|
210
|
+
declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
200
211
|
|
|
201
|
-
declare const
|
|
212
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
202
213
|
update: (value: string | number) => any;
|
|
203
214
|
save: () => any;
|
|
204
|
-
}, string, PublicProps, Readonly<
|
|
215
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
205
216
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
206
217
|
onSave?: (() => any) | undefined;
|
|
207
218
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
208
219
|
$inputRef: HTMLInputElement;
|
|
209
220
|
}, HTMLDivElement>;
|
|
210
221
|
|
|
211
|
-
declare const
|
|
222
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
212
223
|
|
|
213
|
-
declare const
|
|
224
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
214
225
|
submit: () => any;
|
|
215
|
-
}, string, PublicProps, Readonly<
|
|
226
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
216
227
|
onSubmit?: (() => any) | undefined;
|
|
217
228
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
218
229
|
|
|
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
230
|
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
224
231
|
|
|
225
232
|
declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -239,9 +246,15 @@ update(value: unknown): void;
|
|
|
239
246
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
240
247
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
241
248
|
|
|
242
|
-
declare const __VLS_component_30: DefineComponent<
|
|
249
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
250
|
+
|
|
251
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
252
|
+
|
|
253
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
243
254
|
|
|
244
|
-
declare const
|
|
255
|
+
declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
256
|
+
|
|
257
|
+
declare const __VLS_component_34: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
245
258
|
|
|
246
259
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
247
260
|
|
|
@@ -353,36 +366,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
353
366
|
[K in keyof T]: T[K];
|
|
354
367
|
} & {};
|
|
355
368
|
|
|
369
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
370
|
+
[K in keyof T]: T[K];
|
|
371
|
+
} & {};
|
|
372
|
+
|
|
356
373
|
declare type __VLS_Props = InputProps & {
|
|
357
374
|
as?: string;
|
|
358
375
|
};
|
|
359
376
|
|
|
360
377
|
declare type __VLS_Props_10 = {
|
|
361
|
-
|
|
378
|
+
label?: string;
|
|
379
|
+
contentClass?: HTMLAttributes['class'];
|
|
380
|
+
summaryClass?: HTMLAttributes['class'];
|
|
362
381
|
};
|
|
363
382
|
|
|
364
383
|
declare type __VLS_Props_11 = {
|
|
384
|
+
class?: HTMLAttributes['class'];
|
|
385
|
+
} & PrimitiveProps;
|
|
386
|
+
|
|
387
|
+
declare type __VLS_Props_12 = {
|
|
388
|
+
type?: string;
|
|
389
|
+
contentClass?: HTMLAttributes['class'];
|
|
390
|
+
ariaLabel?: string;
|
|
391
|
+
formAriaHidden?: boolean;
|
|
392
|
+
tabindex?: string;
|
|
393
|
+
text: string;
|
|
394
|
+
disabled?: boolean;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
declare type __VLS_Props_13 = {
|
|
398
|
+
error: ErrorSource;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
declare type __VLS_Props_14 = {
|
|
365
402
|
report: ErrorReport;
|
|
366
403
|
};
|
|
367
404
|
|
|
368
|
-
declare type
|
|
405
|
+
declare type __VLS_Props_15 = {
|
|
369
406
|
report: ErrorReport;
|
|
370
407
|
currentReport?: number;
|
|
371
408
|
totalReports?: number;
|
|
372
409
|
};
|
|
373
410
|
|
|
374
|
-
declare type
|
|
411
|
+
declare type __VLS_Props_16 = {
|
|
375
412
|
form?: FormController;
|
|
376
413
|
};
|
|
377
414
|
|
|
378
|
-
declare type
|
|
415
|
+
declare type __VLS_Props_17 = InputProps & {
|
|
379
416
|
inputClass?: HTMLAttributes['class'];
|
|
380
417
|
wrapperClass?: HTMLAttributes['class'];
|
|
418
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
419
|
+
errorClass?: HTMLAttributes['class'];
|
|
381
420
|
};
|
|
382
421
|
|
|
383
|
-
declare type
|
|
422
|
+
declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
|
|
384
423
|
|
|
385
|
-
declare type
|
|
424
|
+
declare type __VLS_Props_19 = {
|
|
386
425
|
as?: string;
|
|
387
426
|
inline?: boolean;
|
|
388
427
|
langKey?: string;
|
|
@@ -392,36 +431,36 @@ declare type __VLS_Props_16 = {
|
|
|
392
431
|
actions?: Record<string, () => unknown>;
|
|
393
432
|
};
|
|
394
433
|
|
|
395
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_2 = {
|
|
435
|
+
type?: string;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
declare type __VLS_Props_20 = {
|
|
396
439
|
filledClass?: string;
|
|
397
440
|
overflowClass?: string;
|
|
398
441
|
progress?: number;
|
|
399
442
|
job?: Falsifiable<Job>;
|
|
400
443
|
};
|
|
401
444
|
|
|
402
|
-
declare type
|
|
445
|
+
declare type __VLS_Props_21 = {
|
|
403
446
|
class?: HTMLAttributes['class'];
|
|
404
447
|
};
|
|
405
448
|
|
|
406
|
-
declare type
|
|
449
|
+
declare type __VLS_Props_22 = {
|
|
407
450
|
value: AcceptableValue;
|
|
408
451
|
class?: HTMLAttributes['class'];
|
|
409
452
|
innerClass?: HTMLAttributes['class'];
|
|
410
453
|
};
|
|
411
454
|
|
|
412
|
-
declare type
|
|
413
|
-
type?: string;
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
declare type __VLS_Props_20 = {
|
|
455
|
+
declare type __VLS_Props_23 = {
|
|
417
456
|
class?: HTMLAttributes['class'];
|
|
418
457
|
};
|
|
419
458
|
|
|
420
|
-
declare type
|
|
459
|
+
declare type __VLS_Props_24 = {
|
|
421
460
|
class?: HTMLAttributes['class'];
|
|
422
461
|
};
|
|
423
462
|
|
|
424
|
-
declare type
|
|
463
|
+
declare type __VLS_Props_25 = {
|
|
425
464
|
title: string;
|
|
426
465
|
titleId?: string;
|
|
427
466
|
description?: string;
|
|
@@ -429,15 +468,20 @@ declare type __VLS_Props_22 = {
|
|
|
429
468
|
layout?: 'vertical' | 'horizontal';
|
|
430
469
|
};
|
|
431
470
|
|
|
432
|
-
declare type
|
|
471
|
+
declare type __VLS_Props_26 = InputProps & {
|
|
433
472
|
inputClass?: HTMLAttributes['class'];
|
|
434
473
|
wrapperClass?: HTMLAttributes['class'];
|
|
435
474
|
};
|
|
436
475
|
|
|
437
|
-
declare type
|
|
476
|
+
declare type __VLS_Props_27 = ToastProps & {
|
|
438
477
|
class?: HTMLAttributes['class'];
|
|
439
478
|
};
|
|
440
479
|
|
|
480
|
+
declare type __VLS_Props_28 = {
|
|
481
|
+
name: string;
|
|
482
|
+
value: unknown;
|
|
483
|
+
};
|
|
484
|
+
|
|
441
485
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
442
486
|
|
|
443
487
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -452,22 +496,12 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
452
496
|
labelClass?: HTMLAttributes['class'];
|
|
453
497
|
};
|
|
454
498
|
|
|
455
|
-
declare type __VLS_Props_7 =
|
|
456
|
-
label: string;
|
|
457
|
-
};
|
|
499
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
458
500
|
|
|
459
|
-
declare type __VLS_Props_8 =
|
|
460
|
-
class?: HTMLAttributes['class'];
|
|
461
|
-
} & PrimitiveProps;
|
|
501
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
462
502
|
|
|
463
503
|
declare type __VLS_Props_9 = {
|
|
464
|
-
|
|
465
|
-
contentClass?: HTMLAttributes['class'];
|
|
466
|
-
ariaLabel?: string;
|
|
467
|
-
formAriaHidden?: boolean;
|
|
468
|
-
tabindex?: string;
|
|
469
|
-
text: string;
|
|
470
|
-
disabled?: boolean;
|
|
504
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
471
505
|
};
|
|
472
506
|
|
|
473
507
|
declare function __VLS_template(): {
|
|
@@ -646,7 +680,7 @@ declare function __VLS_template_19(): {
|
|
|
646
680
|
default?(_: {}): any;
|
|
647
681
|
};
|
|
648
682
|
refs: {};
|
|
649
|
-
rootEl:
|
|
683
|
+
rootEl: any;
|
|
650
684
|
};
|
|
651
685
|
|
|
652
686
|
declare function __VLS_template_2(): {
|
|
@@ -662,7 +696,6 @@ declare function __VLS_template_20(): {
|
|
|
662
696
|
attrs: Partial<{}>;
|
|
663
697
|
slots: {
|
|
664
698
|
default?(_: {}): any;
|
|
665
|
-
options?(_: {}): any;
|
|
666
699
|
};
|
|
667
700
|
refs: {};
|
|
668
701
|
rootEl: any;
|
|
@@ -671,22 +704,42 @@ declare function __VLS_template_20(): {
|
|
|
671
704
|
declare function __VLS_template_21(): {
|
|
672
705
|
attrs: Partial<{}>;
|
|
673
706
|
slots: {
|
|
707
|
+
label?(_: {}): any;
|
|
674
708
|
default?(_: {}): any;
|
|
675
709
|
};
|
|
676
710
|
refs: {};
|
|
677
|
-
rootEl:
|
|
711
|
+
rootEl: HTMLDetailsElement;
|
|
678
712
|
};
|
|
679
713
|
|
|
680
714
|
declare function __VLS_template_22(): {
|
|
681
715
|
attrs: Partial<{}>;
|
|
682
716
|
slots: {
|
|
683
717
|
default?(_: {}): any;
|
|
718
|
+
options?(_: {}): any;
|
|
684
719
|
};
|
|
685
720
|
refs: {};
|
|
686
721
|
rootEl: any;
|
|
687
722
|
};
|
|
688
723
|
|
|
689
724
|
declare function __VLS_template_23(): {
|
|
725
|
+
attrs: Partial<{}>;
|
|
726
|
+
slots: {
|
|
727
|
+
default?(_: {}): any;
|
|
728
|
+
};
|
|
729
|
+
refs: {};
|
|
730
|
+
rootEl: any;
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
declare function __VLS_template_24(): {
|
|
734
|
+
attrs: Partial<{}>;
|
|
735
|
+
slots: {
|
|
736
|
+
default?(_: {}): any;
|
|
737
|
+
};
|
|
738
|
+
refs: {};
|
|
739
|
+
rootEl: any;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
declare function __VLS_template_25(): {
|
|
690
743
|
attrs: Partial<{}>;
|
|
691
744
|
slots: {
|
|
692
745
|
default?(_: {}): any;
|
|
@@ -697,7 +750,7 @@ declare function __VLS_template_23(): {
|
|
|
697
750
|
rootEl: HTMLDivElement;
|
|
698
751
|
};
|
|
699
752
|
|
|
700
|
-
declare function
|
|
753
|
+
declare function __VLS_template_26(): {
|
|
701
754
|
attrs: Partial<{}>;
|
|
702
755
|
slots: Readonly<{
|
|
703
756
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -708,7 +761,7 @@ declare function __VLS_template_24(): {
|
|
|
708
761
|
rootEl: HTMLDivElement;
|
|
709
762
|
};
|
|
710
763
|
|
|
711
|
-
declare function
|
|
764
|
+
declare function __VLS_template_27(): {
|
|
712
765
|
attrs: Partial<{}>;
|
|
713
766
|
slots: {
|
|
714
767
|
default?(_: {}): any;
|
|
@@ -717,7 +770,7 @@ declare function __VLS_template_25(): {
|
|
|
717
770
|
rootEl: HTMLFormElement;
|
|
718
771
|
};
|
|
719
772
|
|
|
720
|
-
declare function
|
|
773
|
+
declare function __VLS_template_28(): {
|
|
721
774
|
attrs: Partial<{}>;
|
|
722
775
|
slots: {
|
|
723
776
|
default?(_: {}): any;
|
|
@@ -726,7 +779,7 @@ declare function __VLS_template_26(): {
|
|
|
726
779
|
rootEl: any;
|
|
727
780
|
};
|
|
728
781
|
|
|
729
|
-
declare function
|
|
782
|
+
declare function __VLS_template_29(): {
|
|
730
783
|
attrs: Partial<{}>;
|
|
731
784
|
slots: Readonly<{
|
|
732
785
|
default?(): VNode[];
|
|
@@ -737,7 +790,7 @@ declare function __VLS_template_27(): {
|
|
|
737
790
|
rootEl: any;
|
|
738
791
|
};
|
|
739
792
|
|
|
740
|
-
declare function
|
|
793
|
+
declare function __VLS_template_3(): {
|
|
741
794
|
attrs: Partial<{}>;
|
|
742
795
|
slots: {
|
|
743
796
|
default?(_: {}): any;
|
|
@@ -746,7 +799,7 @@ declare function __VLS_template_28(): {
|
|
|
746
799
|
rootEl: any;
|
|
747
800
|
};
|
|
748
801
|
|
|
749
|
-
declare function
|
|
802
|
+
declare function __VLS_template_30(): {
|
|
750
803
|
attrs: Partial<{}>;
|
|
751
804
|
slots: {
|
|
752
805
|
default?(_: {}): any;
|
|
@@ -755,7 +808,7 @@ declare function __VLS_template_29(): {
|
|
|
755
808
|
rootEl: any;
|
|
756
809
|
};
|
|
757
810
|
|
|
758
|
-
declare function
|
|
811
|
+
declare function __VLS_template_31(): {
|
|
759
812
|
attrs: Partial<{}>;
|
|
760
813
|
slots: {
|
|
761
814
|
default?(_: {}): any;
|
|
@@ -764,7 +817,7 @@ declare function __VLS_template_3(): {
|
|
|
764
817
|
rootEl: any;
|
|
765
818
|
};
|
|
766
819
|
|
|
767
|
-
declare function
|
|
820
|
+
declare function __VLS_template_32(): {
|
|
768
821
|
attrs: Partial<{}>;
|
|
769
822
|
slots: {
|
|
770
823
|
default?(_: {}): any;
|
|
@@ -774,7 +827,7 @@ declare function __VLS_template_30(): {
|
|
|
774
827
|
rootEl: any;
|
|
775
828
|
};
|
|
776
829
|
|
|
777
|
-
declare function
|
|
830
|
+
declare function __VLS_template_33(): {
|
|
778
831
|
attrs: Partial<{}>;
|
|
779
832
|
slots: {
|
|
780
833
|
default?(_: {}): any;
|
|
@@ -783,6 +836,15 @@ declare function __VLS_template_31(): {
|
|
|
783
836
|
rootEl: HTMLDivElement;
|
|
784
837
|
};
|
|
785
838
|
|
|
839
|
+
declare function __VLS_template_34(): {
|
|
840
|
+
attrs: Partial<{}>;
|
|
841
|
+
slots: {
|
|
842
|
+
default?(_: {}): any;
|
|
843
|
+
};
|
|
844
|
+
refs: {};
|
|
845
|
+
rootEl: any;
|
|
846
|
+
};
|
|
847
|
+
|
|
786
848
|
declare function __VLS_template_4(): {
|
|
787
849
|
attrs: Partial<{}>;
|
|
788
850
|
slots: {
|
|
@@ -967,6 +1029,12 @@ declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
|
967
1029
|
|
|
968
1030
|
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
969
1031
|
|
|
1032
|
+
declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
|
|
1033
|
+
|
|
1034
|
+
declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
1035
|
+
|
|
1036
|
+
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
1037
|
+
|
|
970
1038
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
971
1039
|
|
|
972
1040
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1129,6 +1197,24 @@ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
|
1129
1197
|
};
|
|
1130
1198
|
};
|
|
1131
1199
|
|
|
1200
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
1201
|
+
new (): {
|
|
1202
|
+
$slots: S;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
1207
|
+
new (): {
|
|
1208
|
+
$slots: S;
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
1213
|
+
new (): {
|
|
1214
|
+
$slots: S;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1132
1218
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1133
1219
|
new (): {
|
|
1134
1220
|
$slots: S;
|
|
@@ -1221,6 +1307,7 @@ export declare class AppService extends _default_3 {
|
|
|
1221
1307
|
isReady(): boolean;
|
|
1222
1308
|
isMounted(): boolean;
|
|
1223
1309
|
addSetting(setting: AppSetting): void;
|
|
1310
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1224
1311
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1225
1312
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1226
1313
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1280,6 +1367,118 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1280
1367
|
|
|
1281
1368
|
export { closeModal }
|
|
1282
1369
|
|
|
1370
|
+
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<{
|
|
1371
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
|
|
1372
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1373
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectProps<T> & {
|
|
1374
|
+
newInputValue?: (value: string) => T;
|
|
1375
|
+
}) & Partial<{}>> & PublicProps;
|
|
1376
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1377
|
+
renderOption: (option: T) => string;
|
|
1378
|
+
labelClass: ComputedRef<any>;
|
|
1379
|
+
optionsClass: ComputedRef<any>;
|
|
1380
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
1381
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
1382
|
+
value: ComputedRef<T>;
|
|
1383
|
+
id: string;
|
|
1384
|
+
name: ComputedRef<string | undefined>;
|
|
1385
|
+
label: ComputedRef<string | undefined>;
|
|
1386
|
+
description: ComputedRef<string | undefined>;
|
|
1387
|
+
placeholder: ComputedRef<string>;
|
|
1388
|
+
options: ComputedRef< {
|
|
1389
|
+
key: string;
|
|
1390
|
+
label: string;
|
|
1391
|
+
value: AcceptableValue;
|
|
1392
|
+
}[] | null>;
|
|
1393
|
+
selectedOption: ComputedRef< {
|
|
1394
|
+
key: string;
|
|
1395
|
+
label: string;
|
|
1396
|
+
value: AcceptableValue;
|
|
1397
|
+
} | undefined>;
|
|
1398
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1399
|
+
required: ComputedRef<boolean | undefined>;
|
|
1400
|
+
update(value: T): void;
|
|
1401
|
+
}>): void;
|
|
1402
|
+
attrs: any;
|
|
1403
|
+
slots: {};
|
|
1404
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1405
|
+
}>) => VNode & {
|
|
1406
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
export declare type ComboboxContext = {
|
|
1410
|
+
input: string;
|
|
1411
|
+
preventChange: boolean;
|
|
1412
|
+
$group: HTMLDivElement | null;
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1416
|
+
|
|
1417
|
+
export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1418
|
+
|
|
1419
|
+
export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1420
|
+
select: () => any;
|
|
1421
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
1422
|
+
onSelect?: (() => any) | undefined;
|
|
1423
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1424
|
+
$group: ({
|
|
1425
|
+
$: ComponentInternalInstance;
|
|
1426
|
+
$data: {};
|
|
1427
|
+
$props: {
|
|
1428
|
+
readonly asChild?: boolean | undefined;
|
|
1429
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
1430
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1431
|
+
$attrs: {
|
|
1432
|
+
[x: string]: unknown;
|
|
1433
|
+
};
|
|
1434
|
+
$refs: {
|
|
1435
|
+
[x: string]: unknown;
|
|
1436
|
+
};
|
|
1437
|
+
$slots: Readonly<{
|
|
1438
|
+
[name: string]: Slot<any> | undefined;
|
|
1439
|
+
}>;
|
|
1440
|
+
$root: ComponentPublicInstance | null;
|
|
1441
|
+
$parent: ComponentPublicInstance | null;
|
|
1442
|
+
$host: Element | null;
|
|
1443
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1444
|
+
$el: any;
|
|
1445
|
+
$options: ComponentOptionsBase<Readonly<ComboboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1446
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1447
|
+
created?: (() => void) | (() => void)[];
|
|
1448
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1449
|
+
mounted?: (() => void) | (() => void)[];
|
|
1450
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1451
|
+
updated?: (() => void) | (() => void)[];
|
|
1452
|
+
activated?: (() => void) | (() => void)[];
|
|
1453
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1454
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1455
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1456
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1457
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1458
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1459
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1460
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1461
|
+
};
|
|
1462
|
+
$forceUpdate: () => void;
|
|
1463
|
+
$nextTick: typeof nextTick;
|
|
1464
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1465
|
+
} & Readonly<{}> & Omit<Readonly<ComboboxGroupProps> & Readonly<{}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
1466
|
+
$slots: {
|
|
1467
|
+
default?: (props: {}) => any;
|
|
1468
|
+
};
|
|
1469
|
+
}) | null;
|
|
1470
|
+
}, any>;
|
|
1471
|
+
|
|
1472
|
+
export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1473
|
+
focus: () => any;
|
|
1474
|
+
blur: () => any;
|
|
1475
|
+
change: () => any;
|
|
1476
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
1477
|
+
onFocus?: (() => any) | undefined;
|
|
1478
|
+
onBlur?: (() => any) | undefined;
|
|
1479
|
+
onChange?: (() => any) | undefined;
|
|
1480
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1481
|
+
|
|
1283
1482
|
export declare type ComponentPropDefinitions<T> = {
|
|
1284
1483
|
[K in keyof T]: {
|
|
1285
1484
|
type?: PropType<T[K]>;
|
|
@@ -1392,6 +1591,7 @@ environment: string;
|
|
|
1392
1591
|
version: string;
|
|
1393
1592
|
sourceUrl: string | undefined;
|
|
1394
1593
|
settings: AppSetting[];
|
|
1594
|
+
settingsFullscreenOnMobile: boolean;
|
|
1395
1595
|
}, {
|
|
1396
1596
|
development: boolean;
|
|
1397
1597
|
staging: boolean;
|
|
@@ -1405,6 +1605,7 @@ environment: string;
|
|
|
1405
1605
|
version: string;
|
|
1406
1606
|
sourceUrl: string | undefined;
|
|
1407
1607
|
settings: AppSetting[];
|
|
1608
|
+
settingsFullscreenOnMobile: boolean;
|
|
1408
1609
|
}>>;
|
|
1409
1610
|
|
|
1410
1611
|
declare const _default_4: ServiceWithState< {
|
|
@@ -1448,11 +1649,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1448
1649
|
|
|
1449
1650
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1450
1651
|
|
|
1451
|
-
export declare const Details:
|
|
1652
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1452
1653
|
|
|
1453
1654
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1454
1655
|
|
|
1455
|
-
export declare const DropdownMenu:
|
|
1656
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1456
1657
|
|
|
1457
1658
|
export declare interface DropdownMenuExpose {
|
|
1458
1659
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1460,7 +1661,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1460
1661
|
options?: readonly DropdownMenuOptionData[];
|
|
1461
1662
|
}
|
|
1462
1663
|
|
|
1463
|
-
export declare const DropdownMenuOption:
|
|
1664
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1464
1665
|
|
|
1465
1666
|
export declare type DropdownMenuOptionData = {
|
|
1466
1667
|
label: string;
|
|
@@ -1472,7 +1673,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1472
1673
|
class?: string;
|
|
1473
1674
|
};
|
|
1474
1675
|
|
|
1475
|
-
export declare const DropdownMenuOptions:
|
|
1676
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1476
1677
|
|
|
1477
1678
|
export declare interface DropdownMenuProps {
|
|
1478
1679
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1480,7 +1681,7 @@ export declare interface DropdownMenuProps {
|
|
|
1480
1681
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1481
1682
|
}
|
|
1482
1683
|
|
|
1483
|
-
export declare const EditableContent:
|
|
1684
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1484
1685
|
|
|
1485
1686
|
export declare interface ElementSize {
|
|
1486
1687
|
width: number;
|
|
@@ -1499,7 +1700,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1499
1700
|
|
|
1500
1701
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1501
1702
|
|
|
1502
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1703
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1503
1704
|
|
|
1504
1705
|
export declare interface ErrorReport {
|
|
1505
1706
|
title: string;
|
|
@@ -1518,7 +1719,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1518
1719
|
$content: ModalContentInstance;
|
|
1519
1720
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1520
1721
|
|
|
1521
|
-
export declare const ErrorReportModalButtons:
|
|
1722
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1522
1723
|
|
|
1523
1724
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1524
1725
|
id: string;
|
|
@@ -1536,7 +1737,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1536
1737
|
reports: ErrorReport[];
|
|
1537
1738
|
}
|
|
1538
1739
|
|
|
1539
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1740
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1540
1741
|
|
|
1541
1742
|
export declare const Errors: Facade<ErrorsService>;
|
|
1542
1743
|
|
|
@@ -1616,7 +1817,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1616
1817
|
|
|
1617
1818
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1618
1819
|
|
|
1619
|
-
export declare const Form:
|
|
1820
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1620
1821
|
|
|
1621
1822
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1622
1823
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1741,10 +1942,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1741
1942
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1742
1943
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1743
1944
|
expose(exposed: ShallowUnwrapRef< {
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1945
|
+
renderOption: (option: T) => string;
|
|
1946
|
+
labelClass: ComputedRef<any>;
|
|
1947
|
+
optionsClass: ComputedRef<any>;
|
|
1948
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
1949
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
1748
1950
|
value: ComputedRef<T>;
|
|
1749
1951
|
id: string;
|
|
1750
1952
|
name: ComputedRef<string | undefined>;
|
|
@@ -1823,9 +2025,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1823
2025
|
|
|
1824
2026
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1825
2027
|
|
|
1826
|
-
export declare const Input: DefineComponent<
|
|
2028
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1827
2029
|
"update:modelValue": (value: unknown) => any;
|
|
1828
|
-
}, string, PublicProps, Readonly<
|
|
2030
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1829
2031
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1830
2032
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1831
2033
|
$inputRef: ({
|
|
@@ -2000,7 +2202,7 @@ export declare const Layouts: {
|
|
|
2000
2202
|
readonly Desktop: "desktop";
|
|
2001
2203
|
};
|
|
2002
2204
|
|
|
2003
|
-
export declare const Link:
|
|
2205
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2004
2206
|
|
|
2005
2207
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2006
2208
|
$content: ModalContentInstance;
|
|
@@ -2025,7 +2227,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2025
2227
|
|
|
2026
2228
|
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2027
2229
|
|
|
2028
|
-
export declare const Markdown:
|
|
2230
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2029
2231
|
|
|
2030
2232
|
export declare interface MarkdownRouter {
|
|
2031
2233
|
resolve(route: string): string;
|
|
@@ -2045,8 +2247,8 @@ export declare const MINUTE_MILLISECONDS = 60000;
|
|
|
2045
2247
|
|
|
2046
2248
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2047
2249
|
|
|
2048
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2049
|
-
props:
|
|
2250
|
+
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<{
|
|
2251
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2050
2252
|
wrapperClass?: HTMLAttributes["class"];
|
|
2051
2253
|
class?: HTMLAttributes["class"];
|
|
2052
2254
|
closeHidden?: boolean;
|
|
@@ -2076,7 +2278,7 @@ export declare interface ModalExpose {
|
|
|
2076
2278
|
export declare interface ModalProps {
|
|
2077
2279
|
persistent?: boolean;
|
|
2078
2280
|
fullscreen?: boolean;
|
|
2079
|
-
|
|
2281
|
+
fullscreenOnMobile?: boolean;
|
|
2080
2282
|
title?: string;
|
|
2081
2283
|
titleHidden?: boolean;
|
|
2082
2284
|
description?: string;
|
|
@@ -2119,7 +2321,7 @@ declare interface Plugin_2 {
|
|
|
2119
2321
|
}
|
|
2120
2322
|
export { Plugin_2 as Plugin }
|
|
2121
2323
|
|
|
2122
|
-
export declare const ProgressBar: DefineComponent<
|
|
2324
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2123
2325
|
|
|
2124
2326
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2125
2327
|
$content: ModalContentInstance;
|
|
@@ -2160,6 +2362,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2160
2362
|
trim?: boolean;
|
|
2161
2363
|
}>;
|
|
2162
2364
|
|
|
2365
|
+
export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2366
|
+
|
|
2163
2367
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2164
2368
|
|
|
2165
2369
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2201,8 +2405,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2201
2405
|
|
|
2202
2406
|
export declare function safeHtml(html: string): string;
|
|
2203
2407
|
|
|
2204
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2205
|
-
props:
|
|
2408
|
+
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<{
|
|
2409
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2206
2410
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2207
2411
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2208
2412
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2222,15 +2426,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2222
2426
|
options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
|
|
2223
2427
|
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2224
2428
|
placeholder: ComputedRef<string>;
|
|
2225
|
-
labelClass
|
|
2226
|
-
optionsClass
|
|
2429
|
+
labelClass: ComputedRef<HTMLAttributes['class']>;
|
|
2430
|
+
optionsClass: ComputedRef<HTMLAttributes['class']>;
|
|
2227
2431
|
align?: SelectContentProps['align'];
|
|
2228
2432
|
side?: SelectContentProps['side'];
|
|
2433
|
+
renderOption: (option: T) => string;
|
|
2229
2434
|
}
|
|
2230
2435
|
|
|
2231
|
-
export declare const SelectLabel:
|
|
2436
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2232
2437
|
|
|
2233
|
-
export declare const SelectOption:
|
|
2438
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2234
2439
|
|
|
2235
2440
|
export declare type SelectOptionData = {
|
|
2236
2441
|
key: string;
|
|
@@ -2238,7 +2443,7 @@ export declare type SelectOptionData = {
|
|
|
2238
2443
|
value: AcceptableValue;
|
|
2239
2444
|
};
|
|
2240
2445
|
|
|
2241
|
-
export declare const SelectOptions:
|
|
2446
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2242
2447
|
|
|
2243
2448
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2244
2449
|
as?: AsTag | Component;
|
|
@@ -2252,7 +2457,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2252
2457
|
side?: SelectContentProps['side'];
|
|
2253
2458
|
}
|
|
2254
2459
|
|
|
2255
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2460
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2256
2461
|
|
|
2257
2462
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2258
2463
|
static persist: string[];
|
|
@@ -2319,7 +2524,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2319
2524
|
|
|
2320
2525
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2321
2526
|
|
|
2322
|
-
export declare const Setting:
|
|
2527
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2323
2528
|
|
|
2324
2529
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2325
2530
|
|
|
@@ -2346,9 +2551,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2346
2551
|
|
|
2347
2552
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2348
2553
|
|
|
2349
|
-
export declare const TextArea: DefineComponent<
|
|
2554
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2350
2555
|
"update:modelValue": (value: unknown) => any;
|
|
2351
|
-
}, string, PublicProps, Readonly<
|
|
2556
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2352
2557
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2353
2558
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2354
2559
|
$inputRef: ({
|
|
@@ -2431,7 +2636,7 @@ default?(_: {}): any;
|
|
|
2431
2636
|
}) | null;
|
|
2432
2637
|
}, any>;
|
|
2433
2638
|
|
|
2434
|
-
export declare const Toast: DefineComponent<
|
|
2639
|
+
export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2435
2640
|
|
|
2436
2641
|
export declare interface ToastAction {
|
|
2437
2642
|
label: string;
|
|
@@ -2581,6 +2786,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2581
2786
|
renderedCancelText: ComputedRef<string>;
|
|
2582
2787
|
};
|
|
2583
2788
|
|
|
2789
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
|
|
2790
|
+
expose: {
|
|
2791
|
+
renderOption: (option: T) => string;
|
|
2792
|
+
labelClass: ComputedRef<any>;
|
|
2793
|
+
optionsClass: ComputedRef<any>;
|
|
2794
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
2795
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
2796
|
+
value: ComputedRef<T>;
|
|
2797
|
+
id: string;
|
|
2798
|
+
name: ComputedRef<string | undefined>;
|
|
2799
|
+
label: ComputedRef<string | undefined>;
|
|
2800
|
+
description: ComputedRef<string | undefined>;
|
|
2801
|
+
placeholder: ComputedRef<string>;
|
|
2802
|
+
options: ComputedRef<{
|
|
2803
|
+
key: string;
|
|
2804
|
+
label: string;
|
|
2805
|
+
value: AcceptableValue;
|
|
2806
|
+
}[] | null>;
|
|
2807
|
+
selectedOption: ComputedRef<{
|
|
2808
|
+
key: string;
|
|
2809
|
+
label: string;
|
|
2810
|
+
value: AcceptableValue;
|
|
2811
|
+
} | undefined>;
|
|
2812
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2813
|
+
required: ComputedRef<boolean | undefined>;
|
|
2814
|
+
update(value: T): void;
|
|
2815
|
+
};
|
|
2816
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2817
|
+
update: (value: AcceptableValue) => void;
|
|
2818
|
+
renderOption: (option: T) => string;
|
|
2819
|
+
};
|
|
2820
|
+
|
|
2584
2821
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2585
2822
|
|
|
2586
2823
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2605,6 +2842,14 @@ export declare type Variants<T extends Record<string, string | boolean>> = Requi
|
|
|
2605
2842
|
export { }
|
|
2606
2843
|
|
|
2607
2844
|
|
|
2845
|
+
declare module '@aerogel/core' {
|
|
2846
|
+
interface EventsPayload {
|
|
2847
|
+
'application-ready': void;
|
|
2848
|
+
'application-mounted': void;
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
|
|
2608
2853
|
declare module '@aerogel/core' {
|
|
2609
2854
|
interface AerogelOptions {
|
|
2610
2855
|
directives?: Record<string, Directive>;
|
|
@@ -2631,14 +2876,6 @@ declare module '@aerogel/core' {
|
|
|
2631
2876
|
}
|
|
2632
2877
|
|
|
2633
2878
|
|
|
2634
|
-
declare module '@aerogel/core' {
|
|
2635
|
-
interface EventsPayload {
|
|
2636
|
-
'application-ready': void;
|
|
2637
|
-
'application-mounted': void;
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
2879
|
declare module '@aerogel/core' {
|
|
2643
2880
|
interface Services extends LangServices {
|
|
2644
2881
|
}
|
|
@@ -2656,6 +2893,7 @@ declare module '@aerogel/core' {
|
|
|
2656
2893
|
interface AerogelOptions {
|
|
2657
2894
|
services?: Record<string, Service>;
|
|
2658
2895
|
settings?: AppSetting[];
|
|
2896
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2659
2897
|
}
|
|
2660
2898
|
}
|
|
2661
2899
|
|