@aerogel/core 0.1.1-next.97f5cf5c97f16ab8a0ef63b82aaab049a0f9e15b → 0.1.1-next.a33efa4fd6560f7df50d8a64a9e9e2a2f62e79bb
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 +101 -69
- package/dist/aerogel-core.js +1021 -980
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/contracts/Button.ts +1 -1
- package/src/components/contracts/Modal.ts +2 -0
- package/src/components/contracts/Toast.ts +1 -1
- package/src/components/headless/HeadlessInputInput.vue +13 -5
- package/src/components/ui/AdvancedOptions.vue +4 -13
- package/src/components/ui/Button.vue +1 -0
- package/src/components/ui/Details.vue +20 -0
- package/src/components/ui/Modal.vue +25 -10
- package/src/components/ui/Toast.vue +1 -0
- package/src/components/ui/index.ts +1 -0
- package/src/forms/FormController.ts +4 -0
- package/src/index.css +9 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/time.ts +2 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -180,45 +180,45 @@ default?(_: {}): any;
|
|
|
180
180
|
}) | null;
|
|
181
181
|
}, any>;
|
|
182
182
|
|
|
183
|
-
declare const __VLS_component_19: DefineComponent<
|
|
183
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
184
|
+
|
|
185
|
+
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
186
|
+
|
|
187
|
+
declare const __VLS_component_20: DefineComponent<DropdownMenuProps, {
|
|
184
188
|
align: "start" | "center" | "end" | undefined;
|
|
185
189
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
186
190
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
187
191
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
188
192
|
|
|
189
|
-
declare const
|
|
190
|
-
|
|
191
|
-
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
193
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
194
|
select: () => any;
|
|
193
|
-
}, string, PublicProps, Readonly<
|
|
195
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
194
196
|
onSelect?: (() => any) | undefined;
|
|
195
197
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
196
198
|
|
|
197
|
-
declare const
|
|
199
|
+
declare const __VLS_component_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
198
200
|
|
|
199
|
-
declare const
|
|
201
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
200
202
|
update: (value: string | number) => any;
|
|
201
203
|
save: () => any;
|
|
202
|
-
}, string, PublicProps, Readonly<
|
|
204
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
203
205
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
204
206
|
onSave?: (() => any) | undefined;
|
|
205
207
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
206
208
|
$inputRef: HTMLInputElement;
|
|
207
209
|
}, HTMLDivElement>;
|
|
208
210
|
|
|
209
|
-
declare const
|
|
211
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
210
212
|
|
|
211
|
-
declare const
|
|
213
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
212
214
|
submit: () => any;
|
|
213
|
-
}, string, PublicProps, Readonly<
|
|
215
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
214
216
|
onSubmit?: (() => any) | undefined;
|
|
215
217
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
216
218
|
|
|
217
|
-
declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
218
|
-
|
|
219
219
|
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
220
220
|
|
|
221
|
-
declare const __VLS_component_27: DefineComponent<
|
|
221
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
222
222
|
|
|
223
223
|
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
224
224
|
|
|
@@ -239,7 +239,9 @@ update(value: unknown): void;
|
|
|
239
239
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
240
240
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
241
241
|
|
|
242
|
-
declare const __VLS_component_30: DefineComponent<
|
|
242
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
243
|
+
|
|
244
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
243
245
|
|
|
244
246
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
245
247
|
|
|
@@ -356,27 +358,31 @@ declare type __VLS_Props = InputProps & {
|
|
|
356
358
|
};
|
|
357
359
|
|
|
358
360
|
declare type __VLS_Props_10 = {
|
|
359
|
-
|
|
361
|
+
error: ErrorSource;
|
|
360
362
|
};
|
|
361
363
|
|
|
362
364
|
declare type __VLS_Props_11 = {
|
|
363
365
|
report: ErrorReport;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
declare type __VLS_Props_12 = {
|
|
369
|
+
report: ErrorReport;
|
|
364
370
|
currentReport?: number;
|
|
365
371
|
totalReports?: number;
|
|
366
372
|
};
|
|
367
373
|
|
|
368
|
-
declare type
|
|
374
|
+
declare type __VLS_Props_13 = {
|
|
369
375
|
form?: FormController;
|
|
370
376
|
};
|
|
371
377
|
|
|
372
|
-
declare type
|
|
378
|
+
declare type __VLS_Props_14 = InputProps & {
|
|
373
379
|
inputClass?: HTMLAttributes['class'];
|
|
374
380
|
wrapperClass?: HTMLAttributes['class'];
|
|
375
381
|
};
|
|
376
382
|
|
|
377
|
-
declare type
|
|
383
|
+
declare type __VLS_Props_15 = Omit<ButtonProps, 'variant'>;
|
|
378
384
|
|
|
379
|
-
declare type
|
|
385
|
+
declare type __VLS_Props_16 = {
|
|
380
386
|
as?: string;
|
|
381
387
|
inline?: boolean;
|
|
382
388
|
langKey?: string;
|
|
@@ -386,24 +392,20 @@ declare type __VLS_Props_15 = {
|
|
|
386
392
|
actions?: Record<string, () => unknown>;
|
|
387
393
|
};
|
|
388
394
|
|
|
389
|
-
declare type
|
|
395
|
+
declare type __VLS_Props_17 = {
|
|
390
396
|
filledClass?: string;
|
|
391
397
|
progress?: number;
|
|
392
398
|
job?: Falsifiable<Job>;
|
|
393
399
|
};
|
|
394
400
|
|
|
395
|
-
declare type __VLS_Props_17 = {
|
|
396
|
-
class?: HTMLAttributes['class'];
|
|
397
|
-
};
|
|
398
|
-
|
|
399
401
|
declare type __VLS_Props_18 = {
|
|
400
|
-
value: AcceptableValue;
|
|
401
402
|
class?: HTMLAttributes['class'];
|
|
402
|
-
innerClass?: HTMLAttributes['class'];
|
|
403
403
|
};
|
|
404
404
|
|
|
405
405
|
declare type __VLS_Props_19 = {
|
|
406
|
+
value: AcceptableValue;
|
|
406
407
|
class?: HTMLAttributes['class'];
|
|
408
|
+
innerClass?: HTMLAttributes['class'];
|
|
407
409
|
};
|
|
408
410
|
|
|
409
411
|
declare type __VLS_Props_2 = {
|
|
@@ -415,6 +417,10 @@ declare type __VLS_Props_20 = {
|
|
|
415
417
|
};
|
|
416
418
|
|
|
417
419
|
declare type __VLS_Props_21 = {
|
|
420
|
+
class?: HTMLAttributes['class'];
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
declare type __VLS_Props_22 = {
|
|
418
424
|
title: string;
|
|
419
425
|
titleId?: string;
|
|
420
426
|
description?: string;
|
|
@@ -422,12 +428,12 @@ declare type __VLS_Props_21 = {
|
|
|
422
428
|
layout?: 'vertical' | 'horizontal';
|
|
423
429
|
};
|
|
424
430
|
|
|
425
|
-
declare type
|
|
431
|
+
declare type __VLS_Props_23 = InputProps & {
|
|
426
432
|
inputClass?: HTMLAttributes['class'];
|
|
427
433
|
wrapperClass?: HTMLAttributes['class'];
|
|
428
434
|
};
|
|
429
435
|
|
|
430
|
-
declare type
|
|
436
|
+
declare type __VLS_Props_24 = ToastProps & {
|
|
431
437
|
class?: HTMLAttributes['class'];
|
|
432
438
|
};
|
|
433
439
|
|
|
@@ -446,10 +452,14 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
446
452
|
};
|
|
447
453
|
|
|
448
454
|
declare type __VLS_Props_7 = {
|
|
455
|
+
label: string;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
declare type __VLS_Props_8 = {
|
|
449
459
|
class?: HTMLAttributes['class'];
|
|
450
460
|
} & PrimitiveProps;
|
|
451
461
|
|
|
452
|
-
declare type
|
|
462
|
+
declare type __VLS_Props_9 = {
|
|
453
463
|
type?: string;
|
|
454
464
|
contentClass?: HTMLAttributes['class'];
|
|
455
465
|
ariaLabel?: string;
|
|
@@ -459,10 +469,6 @@ declare type __VLS_Props_8 = {
|
|
|
459
469
|
disabled?: boolean;
|
|
460
470
|
};
|
|
461
471
|
|
|
462
|
-
declare type __VLS_Props_9 = {
|
|
463
|
-
error: ErrorSource;
|
|
464
|
-
};
|
|
465
|
-
|
|
466
472
|
declare function __VLS_template(): {
|
|
467
473
|
attrs: Partial<{}>;
|
|
468
474
|
slots: {
|
|
@@ -637,10 +643,9 @@ declare function __VLS_template_19(): {
|
|
|
637
643
|
attrs: Partial<{}>;
|
|
638
644
|
slots: {
|
|
639
645
|
default?(_: {}): any;
|
|
640
|
-
options?(_: {}): any;
|
|
641
646
|
};
|
|
642
647
|
refs: {};
|
|
643
|
-
rootEl:
|
|
648
|
+
rootEl: HTMLDetailsElement;
|
|
644
649
|
};
|
|
645
650
|
|
|
646
651
|
declare function __VLS_template_2(): {
|
|
@@ -656,6 +661,7 @@ declare function __VLS_template_20(): {
|
|
|
656
661
|
attrs: Partial<{}>;
|
|
657
662
|
slots: {
|
|
658
663
|
default?(_: {}): any;
|
|
664
|
+
options?(_: {}): any;
|
|
659
665
|
};
|
|
660
666
|
refs: {};
|
|
661
667
|
rootEl: any;
|
|
@@ -671,6 +677,15 @@ declare function __VLS_template_21(): {
|
|
|
671
677
|
};
|
|
672
678
|
|
|
673
679
|
declare function __VLS_template_22(): {
|
|
680
|
+
attrs: Partial<{}>;
|
|
681
|
+
slots: {
|
|
682
|
+
default?(_: {}): any;
|
|
683
|
+
};
|
|
684
|
+
refs: {};
|
|
685
|
+
rootEl: any;
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
declare function __VLS_template_23(): {
|
|
674
689
|
attrs: Partial<{}>;
|
|
675
690
|
slots: {
|
|
676
691
|
default?(_: {}): any;
|
|
@@ -681,7 +696,7 @@ declare function __VLS_template_22(): {
|
|
|
681
696
|
rootEl: HTMLDivElement;
|
|
682
697
|
};
|
|
683
698
|
|
|
684
|
-
declare function
|
|
699
|
+
declare function __VLS_template_24(): {
|
|
685
700
|
attrs: Partial<{}>;
|
|
686
701
|
slots: Readonly<{
|
|
687
702
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -692,7 +707,7 @@ declare function __VLS_template_23(): {
|
|
|
692
707
|
rootEl: HTMLDivElement;
|
|
693
708
|
};
|
|
694
709
|
|
|
695
|
-
declare function
|
|
710
|
+
declare function __VLS_template_25(): {
|
|
696
711
|
attrs: Partial<{}>;
|
|
697
712
|
slots: {
|
|
698
713
|
default?(_: {}): any;
|
|
@@ -701,7 +716,7 @@ declare function __VLS_template_24(): {
|
|
|
701
716
|
rootEl: HTMLFormElement;
|
|
702
717
|
};
|
|
703
718
|
|
|
704
|
-
declare function
|
|
719
|
+
declare function __VLS_template_26(): {
|
|
705
720
|
attrs: Partial<{}>;
|
|
706
721
|
slots: {
|
|
707
722
|
default?(_: {}): any;
|
|
@@ -710,7 +725,7 @@ declare function __VLS_template_25(): {
|
|
|
710
725
|
rootEl: any;
|
|
711
726
|
};
|
|
712
727
|
|
|
713
|
-
declare function
|
|
728
|
+
declare function __VLS_template_27(): {
|
|
714
729
|
attrs: Partial<{}>;
|
|
715
730
|
slots: Readonly<{
|
|
716
731
|
default?(): VNode[];
|
|
@@ -721,7 +736,7 @@ declare function __VLS_template_26(): {
|
|
|
721
736
|
rootEl: any;
|
|
722
737
|
};
|
|
723
738
|
|
|
724
|
-
declare function
|
|
739
|
+
declare function __VLS_template_28(): {
|
|
725
740
|
attrs: Partial<{}>;
|
|
726
741
|
slots: {
|
|
727
742
|
default?(_: {}): any;
|
|
@@ -730,7 +745,7 @@ declare function __VLS_template_27(): {
|
|
|
730
745
|
rootEl: any;
|
|
731
746
|
};
|
|
732
747
|
|
|
733
|
-
declare function
|
|
748
|
+
declare function __VLS_template_29(): {
|
|
734
749
|
attrs: Partial<{}>;
|
|
735
750
|
slots: {
|
|
736
751
|
default?(_: {}): any;
|
|
@@ -739,26 +754,26 @@ declare function __VLS_template_28(): {
|
|
|
739
754
|
rootEl: any;
|
|
740
755
|
};
|
|
741
756
|
|
|
742
|
-
declare function
|
|
757
|
+
declare function __VLS_template_3(): {
|
|
743
758
|
attrs: Partial<{}>;
|
|
744
759
|
slots: {
|
|
745
760
|
default?(_: {}): any;
|
|
746
|
-
default?(_: {}): any;
|
|
747
761
|
};
|
|
748
762
|
refs: {};
|
|
749
763
|
rootEl: any;
|
|
750
764
|
};
|
|
751
765
|
|
|
752
|
-
declare function
|
|
766
|
+
declare function __VLS_template_30(): {
|
|
753
767
|
attrs: Partial<{}>;
|
|
754
768
|
slots: {
|
|
755
769
|
default?(_: {}): any;
|
|
770
|
+
default?(_: {}): any;
|
|
756
771
|
};
|
|
757
772
|
refs: {};
|
|
758
773
|
rootEl: any;
|
|
759
774
|
};
|
|
760
775
|
|
|
761
|
-
declare function
|
|
776
|
+
declare function __VLS_template_31(): {
|
|
762
777
|
attrs: Partial<{}>;
|
|
763
778
|
slots: {
|
|
764
779
|
default?(_: {}): any;
|
|
@@ -949,6 +964,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
949
964
|
|
|
950
965
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
951
966
|
|
|
967
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
968
|
+
|
|
952
969
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
953
970
|
|
|
954
971
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1105,6 +1122,12 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1105
1122
|
};
|
|
1106
1123
|
};
|
|
1107
1124
|
|
|
1125
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1126
|
+
new (): {
|
|
1127
|
+
$slots: S;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1108
1131
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1109
1132
|
new (): {
|
|
1110
1133
|
$slots: S;
|
|
@@ -1237,7 +1260,7 @@ export declare interface ButtonProps extends PrimitiveProps {
|
|
|
1237
1260
|
|
|
1238
1261
|
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1239
1262
|
|
|
1240
|
-
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1263
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
|
|
1241
1264
|
|
|
1242
1265
|
declare const Cache_2: Facade<CacheService>;
|
|
1243
1266
|
export { Cache_2 as Cache }
|
|
@@ -1424,9 +1447,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1424
1447
|
|
|
1425
1448
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1426
1449
|
|
|
1450
|
+
export declare const Details: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1451
|
+
|
|
1427
1452
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1428
1453
|
|
|
1429
|
-
export declare const DropdownMenu:
|
|
1454
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1430
1455
|
|
|
1431
1456
|
export declare interface DropdownMenuExpose {
|
|
1432
1457
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1434,7 +1459,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1434
1459
|
options?: readonly DropdownMenuOptionData[];
|
|
1435
1460
|
}
|
|
1436
1461
|
|
|
1437
|
-
export declare const DropdownMenuOption:
|
|
1462
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1438
1463
|
|
|
1439
1464
|
export declare type DropdownMenuOptionData = {
|
|
1440
1465
|
label: string;
|
|
@@ -1446,7 +1471,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1446
1471
|
class?: string;
|
|
1447
1472
|
};
|
|
1448
1473
|
|
|
1449
|
-
export declare const DropdownMenuOptions:
|
|
1474
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1450
1475
|
|
|
1451
1476
|
export declare interface DropdownMenuProps {
|
|
1452
1477
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1454,7 +1479,7 @@ export declare interface DropdownMenuProps {
|
|
|
1454
1479
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1455
1480
|
}
|
|
1456
1481
|
|
|
1457
|
-
export declare const EditableContent:
|
|
1482
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1458
1483
|
|
|
1459
1484
|
export declare interface ElementSize {
|
|
1460
1485
|
width: number;
|
|
@@ -1473,7 +1498,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1473
1498
|
|
|
1474
1499
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1475
1500
|
|
|
1476
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1501
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1477
1502
|
|
|
1478
1503
|
export declare interface ErrorReport {
|
|
1479
1504
|
title: string;
|
|
@@ -1492,7 +1517,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1492
1517
|
$content: ModalContentInstance;
|
|
1493
1518
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1494
1519
|
|
|
1495
|
-
export declare const ErrorReportModalButtons:
|
|
1520
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1496
1521
|
|
|
1497
1522
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1498
1523
|
id: string;
|
|
@@ -1510,7 +1535,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1510
1535
|
reports: ErrorReport[];
|
|
1511
1536
|
}
|
|
1512
1537
|
|
|
1513
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1538
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1514
1539
|
|
|
1515
1540
|
export declare const Errors: Facade<ErrorsService>;
|
|
1516
1541
|
|
|
@@ -1589,7 +1614,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1589
1614
|
|
|
1590
1615
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1591
1616
|
|
|
1592
|
-
export declare const Form:
|
|
1617
|
+
export declare const Form: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1593
1618
|
|
|
1594
1619
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1595
1620
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1604,6 +1629,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1604
1629
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1605
1630
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1606
1631
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1632
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1607
1633
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1608
1634
|
data(): FormData_2<Fields>;
|
|
1609
1635
|
validate(): boolean;
|
|
@@ -1795,9 +1821,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1795
1821
|
|
|
1796
1822
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1797
1823
|
|
|
1798
|
-
export declare const Input: DefineComponent<
|
|
1824
|
+
export declare const Input: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1799
1825
|
"update:modelValue": (value: unknown) => any;
|
|
1800
|
-
}, string, PublicProps, Readonly<
|
|
1826
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
1801
1827
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1802
1828
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1803
1829
|
$inputRef: ({
|
|
@@ -1972,7 +1998,7 @@ export declare const Layouts: {
|
|
|
1972
1998
|
readonly Desktop: "desktop";
|
|
1973
1999
|
};
|
|
1974
2000
|
|
|
1975
|
-
export declare const Link:
|
|
2001
|
+
export declare const Link: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1976
2002
|
|
|
1977
2003
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1978
2004
|
$content: ModalContentInstance;
|
|
@@ -1995,7 +2021,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
1995
2021
|
delay?: number;
|
|
1996
2022
|
}>;
|
|
1997
2023
|
|
|
1998
|
-
export declare const
|
|
2024
|
+
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2025
|
+
|
|
2026
|
+
export declare const Markdown: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1999
2027
|
|
|
2000
2028
|
export declare interface MarkdownRouter {
|
|
2001
2029
|
resolve(route: string): string;
|
|
@@ -2011,6 +2039,8 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2011
2039
|
watch?: boolean;
|
|
2012
2040
|
};
|
|
2013
2041
|
|
|
2042
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2043
|
+
|
|
2014
2044
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2015
2045
|
|
|
2016
2046
|
export declare const Modal: <T = void>(__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<{
|
|
@@ -2043,6 +2073,8 @@ export declare interface ModalExpose {
|
|
|
2043
2073
|
|
|
2044
2074
|
export declare interface ModalProps {
|
|
2045
2075
|
persistent?: boolean;
|
|
2076
|
+
fullscreen?: boolean;
|
|
2077
|
+
fullscreenMobile?: boolean;
|
|
2046
2078
|
title?: string;
|
|
2047
2079
|
titleHidden?: boolean;
|
|
2048
2080
|
description?: string;
|
|
@@ -2085,7 +2117,7 @@ declare interface Plugin_2 {
|
|
|
2085
2117
|
}
|
|
2086
2118
|
export { Plugin_2 as Plugin }
|
|
2087
2119
|
|
|
2088
|
-
export declare const ProgressBar: DefineComponent<
|
|
2120
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2089
2121
|
|
|
2090
2122
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2091
2123
|
$content: ModalContentInstance;
|
|
@@ -2194,9 +2226,9 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2194
2226
|
side?: SelectContentProps['side'];
|
|
2195
2227
|
}
|
|
2196
2228
|
|
|
2197
|
-
export declare const SelectLabel:
|
|
2229
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2198
2230
|
|
|
2199
|
-
export declare const SelectOption:
|
|
2231
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2200
2232
|
|
|
2201
2233
|
export declare type SelectOptionData = {
|
|
2202
2234
|
key: string;
|
|
@@ -2204,7 +2236,7 @@ export declare type SelectOptionData = {
|
|
|
2204
2236
|
value: AcceptableValue;
|
|
2205
2237
|
};
|
|
2206
2238
|
|
|
2207
|
-
export declare const SelectOptions:
|
|
2239
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2208
2240
|
|
|
2209
2241
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2210
2242
|
as?: AsTag | Component;
|
|
@@ -2218,7 +2250,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2218
2250
|
side?: SelectContentProps['side'];
|
|
2219
2251
|
}
|
|
2220
2252
|
|
|
2221
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2253
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2222
2254
|
|
|
2223
2255
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2224
2256
|
static persist: string[];
|
|
@@ -2285,7 +2317,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2285
2317
|
|
|
2286
2318
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2287
2319
|
|
|
2288
|
-
export declare const Setting:
|
|
2320
|
+
export declare const Setting: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2289
2321
|
|
|
2290
2322
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2291
2323
|
|
|
@@ -2312,9 +2344,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2312
2344
|
|
|
2313
2345
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2314
2346
|
|
|
2315
|
-
export declare const TextArea: DefineComponent<
|
|
2347
|
+
export declare const TextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2316
2348
|
"update:modelValue": (value: unknown) => any;
|
|
2317
|
-
}, string, PublicProps, Readonly<
|
|
2349
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
2318
2350
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2319
2351
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2320
2352
|
$inputRef: ({
|
|
@@ -2397,7 +2429,7 @@ default?(_: {}): any;
|
|
|
2397
2429
|
}) | null;
|
|
2398
2430
|
}, any>;
|
|
2399
2431
|
|
|
2400
|
-
export declare const Toast: DefineComponent<
|
|
2432
|
+
export declare const Toast: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2401
2433
|
|
|
2402
2434
|
export declare interface ToastAction {
|
|
2403
2435
|
label: string;
|
|
@@ -2420,7 +2452,7 @@ export declare interface ToastProps {
|
|
|
2420
2452
|
variant?: ToastVariant;
|
|
2421
2453
|
}
|
|
2422
2454
|
|
|
2423
|
-
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2455
|
+
export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
|
|
2424
2456
|
|
|
2425
2457
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2426
2458
|
|